33 lines
1.8 KiB
JavaScript
33 lines
1.8 KiB
JavaScript
// Module ID: 7171
|
|
// Function ID: 7172
|
|
// Name: __INTERNAL_VIEW_CONFIG
|
|
// Dependencies: [106, 65, 114]
|
|
|
|
// Module 7171 (__INTERNAL_VIEW_CONFIG)
|
|
import renderElement from "renderElement" /* 114 */;
|
|
import weakSet from "weakSet" /* 106 */;
|
|
import setRuntimeConfigProvider from "setRuntimeConfigProvider" /* 65 */;
|
|
|
|
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];
|
|
renderElement.dispatchCommand(arg0, "play", items);
|
|
},
|
|
reset(arg0) {
|
|
renderElement.dispatchCommand(arg0, "reset", []);
|
|
},
|
|
pause(arg0) {
|
|
renderElement.dispatchCommand(arg0, "pause", []);
|
|
},
|
|
resume(arg0) {
|
|
renderElement.dispatchCommand(arg0, "resume", []);
|
|
}
|
|
};
|
|
|
|
export default setRuntimeConfigProvider.get("LottieAnimationView", () => obj);
|
|
export const __INTERNAL_VIEW_CONFIG = obj;
|
|
export const Commands = obj;
|