UNPKG

@tamagui/react-native-web-lite

Version:
92 lines (91 loc) 3.6 kB
"use strict"; var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: !0 }); }, __copyProps = (to, from, except, desc) => { if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target, mod )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod); var NativeAnimatedTurboModule_exports = {}; __export(NativeAnimatedTurboModule_exports, { AnimatedNodeConfig: () => AnimatedNodeConfig, AnimatingNodeConfig: () => AnimatingNodeConfig, EndCallback: () => EndCallback, EventMapping: () => EventMapping, SaveValueCallback: () => SaveValueCallback, default: () => NativeAnimatedTurboModule_default }); module.exports = __toCommonJS(NativeAnimatedTurboModule_exports); var TurboModuleRegistry = __toESM(require("../TurboModule/TurboModuleRegistry")), EventMapping = {}, AnimatedNodeConfig = {}, AnimatingNodeConfig = {}, SaveValueCallback = function() { }, EndCallback = function() { }, spec = { startOperationBatch: function() { }, finishOperationBatch: function() { }, createAnimatedNode: function(tag, config) { }, getValue: function(tag, saveValueCallback) { }, startListeningToAnimatedNodeValue: function(tag) { }, stopListeningToAnimatedNodeValue: function(tag) { }, connectAnimatedNodes: function(parentTag, childTag) { }, disconnectAnimatedNodes: function(parentTag, childTag) { }, startAnimatingNode: function(animationId, nodeTag, config, endCallback) { }, stopAnimation: function(animationId) { }, setAnimatedNodeValue: function(nodeTag, value) { }, setAnimatedNodeOffset: function(nodeTag, offset) { }, flattenAnimatedNodeOffset: function(nodeTag) { }, extractAnimatedNodeOffset: function(nodeTag) { }, connectAnimatedNodeToView: function(nodeTag, viewTag) { }, disconnectAnimatedNodeFromView: function(nodeTag, viewTag) { }, restoreDefaultValues: function(nodeTag) { }, dropAnimatedNode: function(tag) { }, addAnimatedEventToView: function(viewTag, eventName, eventMapping) { }, removeAnimatedEventFromView: function(viewTag, eventName, animatedNodeTag) { }, // Events addListener: function(eventName) { }, removeListeners: function(count) { } }, NativeAnimatedTurboModule_default = TurboModuleRegistry.get("NativeAnimatedTurboModule") || spec; // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { AnimatedNodeConfig, AnimatingNodeConfig, EndCallback, EventMapping, SaveValueCallback }); //# sourceMappingURL=NativeAnimatedTurboModule.js.map