decord/source/5456___INTERNAL_VIEW_CONFIG.js
2026-07-27 11:26:19 +00:00

30 lines
1.9 KiB
JavaScript

// Module ID: 5456
// Function ID: 46647
// Name: __INTERNAL_VIEW_CONFIG
// Dependencies: [110, 42, 117]
// Module 5456 (__INTERNAL_VIEW_CONFIG)
import weakSet from "weakSet";
import get from "get";
let obj = { uiViewClassName: "LottieAnimationView", bubblingEventTypes: { topAnimationFinish: { phasedRegistrationNames: { captured: "onAnimationFinishCapture", bubbled: "onAnimationFinish" } }, topAnimationFailure: { phasedRegistrationNames: { captured: "onAnimationFailureCapture", bubbled: "onAnimationFailure" } }, topAnimationLoaded: { phasedRegistrationNames: { captured: "onAnimationLoadedCapture", bubbled: "onAnimationLoaded" } } } };
obj.validAttributes = Object.assign({ 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 }, weakSet.ConditionallyIgnoredEventHandlers({ onAnimationFinish: true, onAnimationFailure: true, onAnimationLoaded: true }));
obj = {
play(nodeFromPublicInstance) {
const items = [arg1, arg2];
require(117) /* renderElement */.dispatchCommand(nodeFromPublicInstance, "play", items);
},
reset(nodeFromPublicInstance) {
require(117) /* renderElement */.dispatchCommand(nodeFromPublicInstance, "reset", []);
},
pause(nodeFromPublicInstance) {
require(117) /* renderElement */.dispatchCommand(nodeFromPublicInstance, "pause", []);
},
resume(nodeFromPublicInstance) {
require(117) /* renderElement */.dispatchCommand(nodeFromPublicInstance, "resume", []);
}
};
export default get.get("LottieAnimationView", () => obj);
export const __INTERNAL_VIEW_CONFIG = obj;
export const Commands = obj;