decord/source/5589___INTERNAL_VIEW_CONFIG.js
2026-08-05 07:35:12 +00:00

32 lines
1.8 KiB
JavaScript

// Module ID: 5589
// Function ID: 5590
// Name: __INTERNAL_VIEW_CONFIG
// Dependencies: [106, 65, 114]
// Module 5589 (__INTERNAL_VIEW_CONFIG)
import weakSet from "weakSet";
import setRuntimeConfigProvider from "setRuntimeConfigProvider";
let obj = { uiViewClassName: "LottieAnimationView", bubblingEventTypes: { topAnimationFinish: { phasedRegistrationNames: { captured: "onAnimationFinishCapture", bubbled: "onAnimationFinish" } }, topAnimationFailure: { phasedRegistrationNames: { captured: "onAnimationFailureCapture", bubbled: "onAnimationFailure" } }, topAnimationLoaded: { phasedRegistrationNames: { captured: "onAnimationLoadedCapture", bubbled: "onAnimationLoaded" } } }, validAttributes: null };
obj = { resizeMode: true, renderMode: true, sourceName: true, sourceJson: true, sourceURL: true, sourceDotLottieURI: true, imageAssetsFolder: true, progress: true, speed: true, loop: true, autoPlay: true, enableMergePathsAndroidForKitKatAndAbove: true, enableSafeModeAndroid: true, hardwareAccelerationAndroid: true, cacheComposition: true, colorFilters: true, dummy: true, textFiltersAndroid: true, textFiltersIOS: true };
const merged = Object.assign(weakSet.ConditionallyIgnoredEventHandlers({ onAnimationFinish: true, onAnimationFailure: true, onAnimationLoaded: true }));
obj[2] = obj;
obj = {
play(arg0, arg1, arg2) {
const items = [arg1, arg2];
require(114) /* renderElement */.dispatchCommand(arg0, "play", items);
},
reset(arg0) {
require(114) /* renderElement */.dispatchCommand(arg0, "reset", []);
},
pause(arg0) {
require(114) /* renderElement */.dispatchCommand(arg0, "pause", []);
},
resume(arg0) {
require(114) /* renderElement */.dispatchCommand(arg0, "resume", []);
}
};
export default setRuntimeConfigProvider.get("LottieAnimationView", () => obj);
export const __INTERNAL_VIEW_CONFIG = obj;
export const Commands = obj;