@jamadd/react-native-template-ui 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/README.md +272 -0
- package/lib/commonjs/components/btn/AnimatedPressable.js +14 -0
- package/lib/commonjs/components/btn/AnimatedPressable.js.map +1 -0
- package/lib/commonjs/components/btn/AnimatedThemedPressable.js +36 -0
- package/lib/commonjs/components/btn/AnimatedThemedPressable.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedBtn.js +97 -0
- package/lib/commonjs/components/btn/ThemedBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedIconBtn.js +81 -0
- package/lib/commonjs/components/btn/ThemedIconBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js +146 -0
- package/lib/commonjs/components/btn/ThemedIconTextBtn.js.map +1 -0
- package/lib/commonjs/components/btn/ThemedPressable.js +35 -0
- package/lib/commonjs/components/btn/ThemedPressable.js.map +1 -0
- package/lib/commonjs/components/icon/ThemedIcon.js +71 -0
- package/lib/commonjs/components/icon/ThemedIcon.js.map +1 -0
- package/lib/commonjs/components/list/List.js +143 -0
- package/lib/commonjs/components/list/List.js.map +1 -0
- package/lib/commonjs/components/loading/ThemedLoading.js +64 -0
- package/lib/commonjs/components/loading/ThemedLoading.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js +80 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheet.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js +34 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js +119 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js +84 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListView.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js +57 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js +82 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js +67 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js +92 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js +89 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js +64 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js +167 -0
- package/lib/commonjs/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/Alert.js +160 -0
- package/lib/commonjs/components/overlay/alert/Alert.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertBtn.js +82 -0
- package/lib/commonjs/components/overlay/alert/AlertBtn.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertBtns.js +71 -0
- package/lib/commonjs/components/overlay/alert/AlertBtns.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertContent.js +61 -0
- package/lib/commonjs/components/overlay/alert/AlertContent.js.map +1 -0
- package/lib/commonjs/components/overlay/alert/AlertWrap.js +157 -0
- package/lib/commonjs/components/overlay/alert/AlertWrap.js.map +1 -0
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js +122 -0
- package/lib/commonjs/components/overlay/modal/ThemedLoadingModal.js.map +1 -0
- package/lib/commonjs/components/overlay/modal/ThemedModal.js +94 -0
- package/lib/commonjs/components/overlay/modal/ThemedModal.js.map +1 -0
- package/lib/commonjs/components/overlay/toast/ThemedToast.js +362 -0
- package/lib/commonjs/components/overlay/toast/ThemedToast.js.map +1 -0
- package/lib/commonjs/components/provider/GestureProvider.js +25 -0
- package/lib/commonjs/components/provider/GestureProvider.js.map +1 -0
- package/lib/commonjs/components/provider/InsetsProvider.js +25 -0
- package/lib/commonjs/components/provider/InsetsProvider.js.map +1 -0
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js +38 -0
- package/lib/commonjs/components/provider/ReactNativeTemplateProviders.js.map +1 -0
- package/lib/commonjs/components/provider/ThemeProvider.js +25 -0
- package/lib/commonjs/components/provider/ThemeProvider.js.map +1 -0
- package/lib/commonjs/components/separator/ThemedSeparator.js +66 -0
- package/lib/commonjs/components/separator/ThemedSeparator.js.map +1 -0
- package/lib/commonjs/components/switch/ThemedSwitch.js +114 -0
- package/lib/commonjs/components/switch/ThemedSwitch.js.map +1 -0
- package/lib/commonjs/components/text/Text.js +12 -0
- package/lib/commonjs/components/text/Text.js.map +1 -0
- package/lib/commonjs/components/text/ThemedIconText.js +143 -0
- package/lib/commonjs/components/text/ThemedIconText.js.map +1 -0
- package/lib/commonjs/components/text/ThemedText.js +26 -0
- package/lib/commonjs/components/text/ThemedText.js.map +1 -0
- package/lib/commonjs/components/view/AnimatedBox.js +14 -0
- package/lib/commonjs/components/view/AnimatedBox.js.map +1 -0
- package/lib/commonjs/components/view/AnimatedThemedView.js +45 -0
- package/lib/commonjs/components/view/AnimatedThemedView.js.map +1 -0
- package/lib/commonjs/components/view/Box.js +12 -0
- package/lib/commonjs/components/view/Box.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.js +124 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js +126 -0
- package/lib/commonjs/components/view/ThemedScreenWrap.web.js.map +1 -0
- package/lib/commonjs/components/view/ThemedScrollView.js +141 -0
- package/lib/commonjs/components/view/ThemedScrollView.js.map +1 -0
- package/lib/commonjs/components/view/ThemedView.js +45 -0
- package/lib/commonjs/components/view/ThemedView.js.map +1 -0
- package/lib/commonjs/hooks/btn.js +158 -0
- package/lib/commonjs/hooks/btn.js.map +1 -0
- package/lib/commonjs/hooks/list.js +66 -0
- package/lib/commonjs/hooks/list.js.map +1 -0
- package/lib/commonjs/hooks/overlay.js +656 -0
- package/lib/commonjs/hooks/overlay.js.map +1 -0
- package/lib/commonjs/hooks/reanimated.js +11 -0
- package/lib/commonjs/hooks/reanimated.js.map +1 -0
- package/lib/commonjs/hooks/separator.js +22 -0
- package/lib/commonjs/hooks/separator.js.map +1 -0
- package/lib/commonjs/hooks/style.js +92 -0
- package/lib/commonjs/hooks/style.js.map +1 -0
- package/lib/commonjs/hooks/switch.js +209 -0
- package/lib/commonjs/hooks/switch.js.map +1 -0
- package/lib/commonjs/hooks/theme.js +71 -0
- package/lib/commonjs/hooks/theme.js.map +1 -0
- package/lib/commonjs/hooks/view.js +11 -0
- package/lib/commonjs/hooks/view.js.map +1 -0
- package/lib/commonjs/index.js +533 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/test/utils/const.js +19 -0
- package/lib/commonjs/test/utils/const.js.map +1 -0
- package/lib/commonjs/test/utils/func.js +60 -0
- package/lib/commonjs/test/utils/func.js.map +1 -0
- package/lib/commonjs/test/utils/testingLib.js +38 -0
- package/lib/commonjs/test/utils/testingLib.js.map +1 -0
- package/lib/commonjs/types/btn.js +6 -0
- package/lib/commonjs/types/btn.js.map +1 -0
- package/lib/commonjs/types/global.d.js +6 -0
- package/lib/commonjs/types/global.d.js.map +1 -0
- package/lib/commonjs/types/icon.js +6 -0
- package/lib/commonjs/types/icon.js.map +1 -0
- package/lib/commonjs/types/list.js +6 -0
- package/lib/commonjs/types/list.js.map +1 -0
- package/lib/commonjs/types/loading.js +6 -0
- package/lib/commonjs/types/loading.js.map +1 -0
- package/lib/commonjs/types/overlay.js +6 -0
- package/lib/commonjs/types/overlay.js.map +1 -0
- package/lib/commonjs/types/provider.js +6 -0
- package/lib/commonjs/types/provider.js.map +1 -0
- package/lib/commonjs/types/react.js +6 -0
- package/lib/commonjs/types/react.js.map +1 -0
- package/lib/commonjs/types/reanimated.js +6 -0
- package/lib/commonjs/types/reanimated.js.map +1 -0
- package/lib/commonjs/types/separator.js +6 -0
- package/lib/commonjs/types/separator.js.map +1 -0
- package/lib/commonjs/types/style.js +6 -0
- package/lib/commonjs/types/style.js.map +1 -0
- package/lib/commonjs/types/switch.js +6 -0
- package/lib/commonjs/types/switch.js.map +1 -0
- package/lib/commonjs/types/text.js +6 -0
- package/lib/commonjs/types/text.js.map +1 -0
- package/lib/commonjs/types/theme.js +6 -0
- package/lib/commonjs/types/theme.js.map +1 -0
- package/lib/commonjs/types/view.js +6 -0
- package/lib/commonjs/types/view.js.map +1 -0
- package/lib/commonjs/utils/btn/const.js +17 -0
- package/lib/commonjs/utils/btn/const.js.map +1 -0
- package/lib/commonjs/utils/overlay/const.js +73 -0
- package/lib/commonjs/utils/overlay/const.js.map +1 -0
- package/lib/commonjs/utils/overlay/func.js +63 -0
- package/lib/commonjs/utils/overlay/func.js.map +1 -0
- package/lib/commonjs/utils/reanimated/func.js +77 -0
- package/lib/commonjs/utils/reanimated/func.js.map +1 -0
- package/lib/commonjs/utils/style/const.js +12 -0
- package/lib/commonjs/utils/style/const.js.map +1 -0
- package/lib/commonjs/utils/style/func.js +35 -0
- package/lib/commonjs/utils/style/func.js.map +1 -0
- package/lib/commonjs/utils/switch/const.js +9 -0
- package/lib/commonjs/utils/switch/const.js.map +1 -0
- package/lib/commonjs/utils/theme/const.js +189 -0
- package/lib/commonjs/utils/theme/const.js.map +1 -0
- package/lib/commonjs/utils/theme/restyle.js +22 -0
- package/lib/commonjs/utils/theme/restyle.js.map +1 -0
- package/lib/module/components/btn/AnimatedPressable.js +8 -0
- package/lib/module/components/btn/AnimatedPressable.js.map +1 -0
- package/lib/module/components/btn/AnimatedThemedPressable.js +31 -0
- package/lib/module/components/btn/AnimatedThemedPressable.js.map +1 -0
- package/lib/module/components/btn/ThemedBtn.js +92 -0
- package/lib/module/components/btn/ThemedBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedIconBtn.js +76 -0
- package/lib/module/components/btn/ThemedIconBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedIconTextBtn.js +141 -0
- package/lib/module/components/btn/ThemedIconTextBtn.js.map +1 -0
- package/lib/module/components/btn/ThemedPressable.js +31 -0
- package/lib/module/components/btn/ThemedPressable.js.map +1 -0
- package/lib/module/components/icon/ThemedIcon.js +66 -0
- package/lib/module/components/icon/ThemedIcon.js.map +1 -0
- package/lib/module/components/list/List.js +139 -0
- package/lib/module/components/list/List.js.map +1 -0
- package/lib/module/components/loading/ThemedLoading.js +60 -0
- package/lib/module/components/loading/ThemedLoading.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheet.js +76 -0
- package/lib/module/components/overlay/actionSheet/ActionSheet.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js +29 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetContentGesture.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js +113 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetHeader.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +79 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +52 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js +76 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptList.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js +61 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOptListItem.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js +86 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetOpts.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +83 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js +58 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollViewContent.js.map +1 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +162 -0
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -0
- package/lib/module/components/overlay/alert/Alert.js +155 -0
- package/lib/module/components/overlay/alert/Alert.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertBtn.js +77 -0
- package/lib/module/components/overlay/alert/AlertBtn.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertBtns.js +66 -0
- package/lib/module/components/overlay/alert/AlertBtns.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertContent.js +56 -0
- package/lib/module/components/overlay/alert/AlertContent.js.map +1 -0
- package/lib/module/components/overlay/alert/AlertWrap.js +152 -0
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -0
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js +117 -0
- package/lib/module/components/overlay/modal/ThemedLoadingModal.js.map +1 -0
- package/lib/module/components/overlay/modal/ThemedModal.js +89 -0
- package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -0
- package/lib/module/components/overlay/toast/ThemedToast.js +358 -0
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -0
- package/lib/module/components/provider/GestureProvider.js +21 -0
- package/lib/module/components/provider/GestureProvider.js.map +1 -0
- package/lib/module/components/provider/InsetsProvider.js +21 -0
- package/lib/module/components/provider/InsetsProvider.js.map +1 -0
- package/lib/module/components/provider/ReactNativeTemplateProviders.js +33 -0
- package/lib/module/components/provider/ReactNativeTemplateProviders.js.map +1 -0
- package/lib/module/components/provider/ThemeProvider.js +21 -0
- package/lib/module/components/provider/ThemeProvider.js.map +1 -0
- package/lib/module/components/separator/ThemedSeparator.js +61 -0
- package/lib/module/components/separator/ThemedSeparator.js.map +1 -0
- package/lib/module/components/switch/ThemedSwitch.js +109 -0
- package/lib/module/components/switch/ThemedSwitch.js.map +1 -0
- package/lib/module/components/text/Text.js +7 -0
- package/lib/module/components/text/Text.js.map +1 -0
- package/lib/module/components/text/ThemedIconText.js +138 -0
- package/lib/module/components/text/ThemedIconText.js.map +1 -0
- package/lib/module/components/text/ThemedText.js +21 -0
- package/lib/module/components/text/ThemedText.js.map +1 -0
- package/lib/module/components/view/AnimatedBox.js +8 -0
- package/lib/module/components/view/AnimatedBox.js.map +1 -0
- package/lib/module/components/view/AnimatedThemedView.js +40 -0
- package/lib/module/components/view/AnimatedThemedView.js.map +1 -0
- package/lib/module/components/view/Box.js +7 -0
- package/lib/module/components/view/Box.js.map +1 -0
- package/lib/module/components/view/ThemedScreenWrap.js +119 -0
- package/lib/module/components/view/ThemedScreenWrap.js.map +1 -0
- package/lib/module/components/view/ThemedScreenWrap.web.js +121 -0
- package/lib/module/components/view/ThemedScreenWrap.web.js.map +1 -0
- package/lib/module/components/view/ThemedScrollView.js +137 -0
- package/lib/module/components/view/ThemedScrollView.js.map +1 -0
- package/lib/module/components/view/ThemedView.js +40 -0
- package/lib/module/components/view/ThemedView.js.map +1 -0
- package/lib/module/hooks/btn.js +153 -0
- package/lib/module/hooks/btn.js.map +1 -0
- package/lib/module/hooks/list.js +61 -0
- package/lib/module/hooks/list.js.map +1 -0
- package/lib/module/hooks/overlay.js +641 -0
- package/lib/module/hooks/overlay.js.map +1 -0
- package/lib/module/hooks/reanimated.js +7 -0
- package/lib/module/hooks/reanimated.js.map +1 -0
- package/lib/module/hooks/separator.js +19 -0
- package/lib/module/hooks/separator.js.map +1 -0
- package/lib/module/hooks/style.js +82 -0
- package/lib/module/hooks/style.js.map +1 -0
- package/lib/module/hooks/switch.js +206 -0
- package/lib/module/hooks/switch.js.map +1 -0
- package/lib/module/hooks/theme.js +58 -0
- package/lib/module/hooks/theme.js.map +1 -0
- package/lib/module/hooks/view.js +7 -0
- package/lib/module/hooks/view.js.map +1 -0
- package/lib/module/index.js +55 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/test/utils/const.js +13 -0
- package/lib/module/test/utils/const.js.map +1 -0
- package/lib/module/test/utils/func.js +50 -0
- package/lib/module/test/utils/func.js.map +1 -0
- package/lib/module/test/utils/testingLib.js +19 -0
- package/lib/module/test/utils/testingLib.js.map +1 -0
- package/lib/module/types/btn.js +4 -0
- package/lib/module/types/btn.js.map +1 -0
- package/lib/module/types/global.d.js +4 -0
- package/lib/module/types/global.d.js.map +1 -0
- package/lib/module/types/icon.js +4 -0
- package/lib/module/types/icon.js.map +1 -0
- package/lib/module/types/list.js +4 -0
- package/lib/module/types/list.js.map +1 -0
- package/lib/module/types/loading.js +4 -0
- package/lib/module/types/loading.js.map +1 -0
- package/lib/module/types/overlay.js +4 -0
- package/lib/module/types/overlay.js.map +1 -0
- package/lib/module/types/provider.js +4 -0
- package/lib/module/types/provider.js.map +1 -0
- package/lib/module/types/react.js +4 -0
- package/lib/module/types/react.js.map +1 -0
- package/lib/module/types/reanimated.js +4 -0
- package/lib/module/types/reanimated.js.map +1 -0
- package/lib/module/types/separator.js +4 -0
- package/lib/module/types/separator.js.map +1 -0
- package/lib/module/types/style.js +4 -0
- package/lib/module/types/style.js.map +1 -0
- package/lib/module/types/switch.js +4 -0
- package/lib/module/types/switch.js.map +1 -0
- package/lib/module/types/text.js +4 -0
- package/lib/module/types/text.js.map +1 -0
- package/lib/module/types/theme.js +4 -0
- package/lib/module/types/theme.js.map +1 -0
- package/lib/module/types/view.js +4 -0
- package/lib/module/types/view.js.map +1 -0
- package/lib/module/utils/btn/const.js +13 -0
- package/lib/module/utils/btn/const.js.map +1 -0
- package/lib/module/utils/overlay/const.js +72 -0
- package/lib/module/utils/overlay/const.js.map +1 -0
- package/lib/module/utils/overlay/func.js +52 -0
- package/lib/module/utils/overlay/func.js.map +1 -0
- package/lib/module/utils/reanimated/func.js +73 -0
- package/lib/module/utils/reanimated/func.js.map +1 -0
- package/lib/module/utils/style/const.js +8 -0
- package/lib/module/utils/style/const.js.map +1 -0
- package/lib/module/utils/style/func.js +25 -0
- package/lib/module/utils/style/func.js.map +1 -0
- package/lib/module/utils/switch/const.js +5 -0
- package/lib/module/utils/switch/const.js.map +1 -0
- package/lib/module/utils/theme/const.js +192 -0
- package/lib/module/utils/theme/const.js.map +1 -0
- package/lib/module/utils/theme/restyle.js +17 -0
- package/lib/module/utils/theme/restyle.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedPressable.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedThemedPressable.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/AnimatedThemedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconTextBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedIconTextBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedPressable.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/btn/ThemedPressable.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/icon/ThemedIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/list/List.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/list/List.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/loading/ThemedLoading.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/Alert.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtn.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertBtns.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts +12 -0
- package/lib/typescript/commonjs/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/GestureProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/InsetsProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/separator/ThemedSeparator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/switch/ThemedSwitch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/Text.d.ts +1951 -0
- package/lib/typescript/commonjs/src/components/text/Text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/text/ThemedIconText.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/text/ThemedText.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts +1009 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedBox.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/AnimatedThemedView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/Box.d.ts +2017 -0
- package/lib/typescript/commonjs/src/components/view/Box.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts +5 -0
- package/lib/typescript/commonjs/src/components/view/ThemedView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/btn.d.ts +1647 -0
- package/lib/typescript/commonjs/src/hooks/btn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/list.d.ts +4 -0
- package/lib/typescript/commonjs/src/hooks/list.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/overlay.d.ts +16 -0
- package/lib/typescript/commonjs/src/hooks/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/reanimated.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/reanimated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/separator.d.ts +5 -0
- package/lib/typescript/commonjs/src/hooks/separator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/style.d.ts +11 -0
- package/lib/typescript/commonjs/src/hooks/style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/switch.d.ts +2 -0
- package/lib/typescript/commonjs/src/hooks/switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/theme.d.ts +217 -0
- package/lib/typescript/commonjs/src/hooks/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/view.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/view.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +53 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/const.d.ts +4 -0
- package/lib/typescript/commonjs/src/test/utils/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/func.d.ts +106 -0
- package/lib/typescript/commonjs/src/test/utils/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts +6 -0
- package/lib/typescript/commonjs/src/test/utils/testingLib.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/btn.d.ts +24 -0
- package/lib/typescript/commonjs/src/types/btn.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/icon.d.ts +10 -0
- package/lib/typescript/commonjs/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/list.d.ts +29 -0
- package/lib/typescript/commonjs/src/types/list.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/loading.d.ts +12 -0
- package/lib/typescript/commonjs/src/types/loading.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/overlay.d.ts +89 -0
- package/lib/typescript/commonjs/src/types/overlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/provider.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/react.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/react.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/reanimated.d.ts +5 -0
- package/lib/typescript/commonjs/src/types/reanimated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/separator.d.ts +7 -0
- package/lib/typescript/commonjs/src/types/separator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/style.d.ts +18 -0
- package/lib/typescript/commonjs/src/types/style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/switch.d.ts +27 -0
- package/lib/typescript/commonjs/src/types/switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/text.d.ts +15 -0
- package/lib/typescript/commonjs/src/types/text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/theme.d.ts +15 -0
- package/lib/typescript/commonjs/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/view.d.ts +19 -0
- package/lib/typescript/commonjs/src/types/view.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/btn/const.d.ts +9 -0
- package/lib/typescript/commonjs/src/utils/btn/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/overlay/const.d.ts +24 -0
- package/lib/typescript/commonjs/src/utils/overlay/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/overlay/func.d.ts +11 -0
- package/lib/typescript/commonjs/src/utils/overlay/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/reanimated/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/style/const.d.ts +5 -0
- package/lib/typescript/commonjs/src/utils/style/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/style/func.d.ts +9 -0
- package/lib/typescript/commonjs/src/utils/style/func.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/switch/const.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/switch/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts +120 -0
- package/lib/typescript/commonjs/src/utils/theme/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts +1184 -0
- package/lib/typescript/commonjs/src/utils/theme/restyle.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/components/btn/AnimatedPressable.d.ts +3 -0
- package/lib/typescript/module/src/components/btn/AnimatedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/AnimatedThemedPressable.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/AnimatedThemedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedIconBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedIconBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedIconTextBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedIconTextBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/btn/ThemedPressable.d.ts +5 -0
- package/lib/typescript/module/src/components/btn/ThemedPressable.d.ts.map +1 -0
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts +5 -0
- package/lib/typescript/module/src/components/icon/ThemedIcon.d.ts.map +1 -0
- package/lib/typescript/module/src/components/list/List.d.ts +4 -0
- package/lib/typescript/module/src/components/list/List.d.ts.map +1 -0
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts +5 -0
- package/lib/typescript/module/src/components/loading/ThemedLoading.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptList.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOptListItem.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetOpts.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +4 -0
- package/lib/typescript/module/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/Alert.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtn.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtn.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertBtns.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertContent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts +12 -0
- package/lib/typescript/module/src/components/overlay/alert/AlertWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/modal/ThemedModal.d.ts.map +1 -0
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts +5 -0
- package/lib/typescript/module/src/components/overlay/toast/ThemedToast.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/GestureProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/InsetsProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -0
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts +5 -0
- package/lib/typescript/module/src/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts +5 -0
- package/lib/typescript/module/src/components/separator/ThemedSeparator.d.ts.map +1 -0
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts +5 -0
- package/lib/typescript/module/src/components/switch/ThemedSwitch.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/Text.d.ts +1951 -0
- package/lib/typescript/module/src/components/text/Text.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts +5 -0
- package/lib/typescript/module/src/components/text/ThemedIconText.d.ts.map +1 -0
- package/lib/typescript/module/src/components/text/ThemedText.d.ts +5 -0
- package/lib/typescript/module/src/components/text/ThemedText.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts +1009 -0
- package/lib/typescript/module/src/components/view/AnimatedBox.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/AnimatedThemedView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/Box.d.ts +2017 -0
- package/lib/typescript/module/src/components/view/Box.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedScrollView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/view/ThemedView.d.ts +5 -0
- package/lib/typescript/module/src/components/view/ThemedView.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/btn.d.ts +1647 -0
- package/lib/typescript/module/src/hooks/btn.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/list.d.ts +4 -0
- package/lib/typescript/module/src/hooks/list.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/overlay.d.ts +16 -0
- package/lib/typescript/module/src/hooks/overlay.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/reanimated.d.ts +3 -0
- package/lib/typescript/module/src/hooks/reanimated.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/separator.d.ts +5 -0
- package/lib/typescript/module/src/hooks/separator.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/style.d.ts +11 -0
- package/lib/typescript/module/src/hooks/style.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/switch.d.ts +2 -0
- package/lib/typescript/module/src/hooks/switch.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/theme.d.ts +217 -0
- package/lib/typescript/module/src/hooks/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/view.d.ts +3 -0
- package/lib/typescript/module/src/hooks/view.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +53 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/const.d.ts +4 -0
- package/lib/typescript/module/src/test/utils/const.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/func.d.ts +106 -0
- package/lib/typescript/module/src/test/utils/func.d.ts.map +1 -0
- package/lib/typescript/module/src/test/utils/testingLib.d.ts +6 -0
- package/lib/typescript/module/src/test/utils/testingLib.d.ts.map +1 -0
- package/lib/typescript/module/src/types/btn.d.ts +24 -0
- package/lib/typescript/module/src/types/btn.d.ts.map +1 -0
- package/lib/typescript/module/src/types/icon.d.ts +10 -0
- package/lib/typescript/module/src/types/icon.d.ts.map +1 -0
- package/lib/typescript/module/src/types/list.d.ts +29 -0
- package/lib/typescript/module/src/types/list.d.ts.map +1 -0
- package/lib/typescript/module/src/types/loading.d.ts +12 -0
- package/lib/typescript/module/src/types/loading.d.ts.map +1 -0
- package/lib/typescript/module/src/types/overlay.d.ts +89 -0
- package/lib/typescript/module/src/types/overlay.d.ts.map +1 -0
- package/lib/typescript/module/src/types/provider.d.ts +6 -0
- package/lib/typescript/module/src/types/provider.d.ts.map +1 -0
- package/lib/typescript/module/src/types/react.d.ts +6 -0
- package/lib/typescript/module/src/types/react.d.ts.map +1 -0
- package/lib/typescript/module/src/types/reanimated.d.ts +5 -0
- package/lib/typescript/module/src/types/reanimated.d.ts.map +1 -0
- package/lib/typescript/module/src/types/separator.d.ts +7 -0
- package/lib/typescript/module/src/types/separator.d.ts.map +1 -0
- package/lib/typescript/module/src/types/style.d.ts +18 -0
- package/lib/typescript/module/src/types/style.d.ts.map +1 -0
- package/lib/typescript/module/src/types/switch.d.ts +27 -0
- package/lib/typescript/module/src/types/switch.d.ts.map +1 -0
- package/lib/typescript/module/src/types/text.d.ts +15 -0
- package/lib/typescript/module/src/types/text.d.ts.map +1 -0
- package/lib/typescript/module/src/types/theme.d.ts +15 -0
- package/lib/typescript/module/src/types/theme.d.ts.map +1 -0
- package/lib/typescript/module/src/types/view.d.ts +19 -0
- package/lib/typescript/module/src/types/view.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/btn/const.d.ts +9 -0
- package/lib/typescript/module/src/utils/btn/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/overlay/const.d.ts +24 -0
- package/lib/typescript/module/src/utils/overlay/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/overlay/func.d.ts +11 -0
- package/lib/typescript/module/src/utils/overlay/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/reanimated/func.d.ts +2 -0
- package/lib/typescript/module/src/utils/reanimated/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/style/const.d.ts +5 -0
- package/lib/typescript/module/src/utils/style/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/style/func.d.ts +9 -0
- package/lib/typescript/module/src/utils/style/func.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/switch/const.d.ts +2 -0
- package/lib/typescript/module/src/utils/switch/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/theme/const.d.ts +120 -0
- package/lib/typescript/module/src/utils/theme/const.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/theme/restyle.d.ts +1184 -0
- package/lib/typescript/module/src/utils/theme/restyle.d.ts.map +1 -0
- package/package.json +214 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _reactNativeReanimated = require("react-native-reanimated");
|
|
9
|
+
var _overlay = require("../../../hooks/overlay.js");
|
|
10
|
+
var _func = require("../../../utils/overlay/func.js");
|
|
11
|
+
var _AnimatedThemedView = _interopRequireDefault(require("../../view/AnimatedThemedView.js"));
|
|
12
|
+
var _ThemedModal = _interopRequireDefault(require("../modal/ThemedModal.js"));
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
/** @internal */
|
|
16
|
+
const _worklet_4065181187102_init_data = {
|
|
17
|
+
code: "function ActionSheetWrapTsx1(){const{wrapViewProps,heightSharedVal,translateYSharedVal}=this.__closure;var _wrapViewProps,_heightSharedVal$get,_heightSharedVal,_translateYSharedVal$,_translateYSharedVal;return{...((_wrapViewProps=wrapViewProps)===null||_wrapViewProps===void 0?void 0:_wrapViewProps.style),height:(_heightSharedVal$get=(_heightSharedVal=heightSharedVal)===null||_heightSharedVal===void 0?void 0:_heightSharedVal.get())!==null&&_heightSharedVal$get!==void 0?_heightSharedVal$get:0,transform:[{translateY:(_translateYSharedVal$=(_translateYSharedVal=translateYSharedVal)===null||_translateYSharedVal===void 0?void 0:_translateYSharedVal.get())!==null&&_translateYSharedVal$!==void 0?_translateYSharedVal$:0}]};}",
|
|
18
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx",
|
|
19
|
+
sourceMap: "{\"version\":3,\"names\":[\"wrapViewProps\",\"_wrapViewProps\",\"style\",\"height\",\"_heightSharedVal$get\",\"_heightSharedVal\",\"heightSharedVal\",\"get\",\"transform\",\"translateY\",\"_translateYSharedVal$\",\"_translateYSharedVal\",\"translateYSharedVal\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx\"],\"mappings\":\"sOA6BSA,aAAa,UAAAC,cAAA,iBAAbA,cAAA,CAAaC,KAAA,EAAAC,MAAA,EAAAC,oBAAA,EAAAC,gBAAA,CACRC,eAAe,UAAAD,gBAAA,iBAAfA,gBAAA,CAAeE,GAAA,YAAAH,oBAAA,UAAAA,oBAAA,EAAY,CAAAI,SAAA,GAAAC,UAAA,EAAAC,qBAAA,EAAAC,oBAAA,CACTC,mBAAmB,UAAAD,oBAAA,iBAAnBA,oBAAA,CAAmBJ,GAAA,YAAAG,qBAAA,UAAAA,qBAAA,EAAY\",\"ignoreList\":[]}"
|
|
20
|
+
};
|
|
21
|
+
const _worklet_1284727352979_init_data = {
|
|
22
|
+
code: "function ActionSheetWrapTsx2(){const{expandable,expandableHeightSharedVal,heightSharedVal}=this.__closure;var _expandableHeightShar,_expandableHeightShar2,_heightSharedVal$get,_heightSharedVal;return{height:expandable?(_expandableHeightShar=(_expandableHeightShar2=expandableHeightSharedVal)===null||_expandableHeightShar2===void 0?void 0:_expandableHeightShar2.get())!==null&&_expandableHeightShar!==void 0?_expandableHeightShar:0:(_heightSharedVal$get=(_heightSharedVal=heightSharedVal)===null||_heightSharedVal===void 0?void 0:_heightSharedVal.get())!==null&&_heightSharedVal$get!==void 0?_heightSharedVal$get:0};}",
|
|
23
|
+
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx",
|
|
24
|
+
sourceMap: "{\"version\":3,\"names\":[\"expandable\",\"_expandableHeightShar\",\"_expandableHeightShar2\",\"expandableHeightSharedVal\",\"get\",\"_heightSharedVal$get\",\"_heightSharedVal\",\"heightSharedVal\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/components/overlay/actionSheet/ActionSheetWrap.tsx\"],\"mappings\":\"+MAqCcA,UAAU,EAAAC,qBAAA,EAAAC,sBAAA,CACbC,yBAAyB,UAAAD,sBAAA,iBAAzBA,sBAAA,CAAyBE,GAAA,YAAAH,qBAAA,UAAAA,qBAAA,EAAY,EAAAI,oBAAA,EAAAC,gBAAA,CACrCC,eAAe,UAAAD,gBAAA,iBAAfA,gBAAA,CAAeF,GAAA,YAAAC,oBAAA,UAAAA,oBAAA,EAAa\",\"ignoreList\":[]}"
|
|
25
|
+
};
|
|
26
|
+
const ActionSheetWrap = t0 => {
|
|
27
|
+
const $ = (0, _compilerRuntime.c)(14);
|
|
28
|
+
const {
|
|
29
|
+
wrapViewProps,
|
|
30
|
+
children
|
|
31
|
+
} = t0;
|
|
32
|
+
let t1;
|
|
33
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
34
|
+
t1 = (0, _func.getActionSheetContext)();
|
|
35
|
+
$[0] = t1;
|
|
36
|
+
} else {
|
|
37
|
+
t1 = $[0];
|
|
38
|
+
}
|
|
39
|
+
const {
|
|
40
|
+
expandable,
|
|
41
|
+
dismissable,
|
|
42
|
+
translateYSharedVal,
|
|
43
|
+
heightSharedVal,
|
|
44
|
+
expandableHeightSharedVal
|
|
45
|
+
} = t1;
|
|
46
|
+
const onDismiss = (0, _overlay.useActionSheetOnDismiss)();
|
|
47
|
+
const outerWrapAnimatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(function ActionSheetWrapTsx1Factory({
|
|
48
|
+
_worklet_4065181187102_init_data,
|
|
49
|
+
wrapViewProps,
|
|
50
|
+
heightSharedVal,
|
|
51
|
+
translateYSharedVal
|
|
52
|
+
}) {
|
|
53
|
+
const _e = [new global.Error(), -4, -27];
|
|
54
|
+
const ActionSheetWrapTsx1 = () => ({
|
|
55
|
+
...wrapViewProps?.style,
|
|
56
|
+
height: heightSharedVal?.get() ?? 0,
|
|
57
|
+
transform: [{
|
|
58
|
+
translateY: translateYSharedVal?.get() ?? 0
|
|
59
|
+
}]
|
|
60
|
+
});
|
|
61
|
+
ActionSheetWrapTsx1.__closure = {
|
|
62
|
+
wrapViewProps,
|
|
63
|
+
heightSharedVal,
|
|
64
|
+
translateYSharedVal
|
|
65
|
+
};
|
|
66
|
+
ActionSheetWrapTsx1.__workletHash = 4065181187102;
|
|
67
|
+
ActionSheetWrapTsx1.__pluginVersion = "0.5.1";
|
|
68
|
+
ActionSheetWrapTsx1.__initData = _worklet_4065181187102_init_data;
|
|
69
|
+
ActionSheetWrapTsx1.__stackDetails = _e;
|
|
70
|
+
return ActionSheetWrapTsx1;
|
|
71
|
+
}({
|
|
72
|
+
_worklet_4065181187102_init_data,
|
|
73
|
+
wrapViewProps,
|
|
74
|
+
heightSharedVal,
|
|
75
|
+
translateYSharedVal
|
|
76
|
+
}), [wrapViewProps, translateYSharedVal, heightSharedVal]);
|
|
77
|
+
const innerWrapAnimatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(function ActionSheetWrapTsx2Factory({
|
|
78
|
+
_worklet_1284727352979_init_data,
|
|
79
|
+
expandable,
|
|
80
|
+
expandableHeightSharedVal,
|
|
81
|
+
heightSharedVal
|
|
82
|
+
}) {
|
|
83
|
+
const _e = [new global.Error(), -4, -27];
|
|
84
|
+
const ActionSheetWrapTsx2 = () => ({
|
|
85
|
+
height: expandable ? expandableHeightSharedVal?.get() ?? 0 : heightSharedVal?.get() ?? 0
|
|
86
|
+
});
|
|
87
|
+
ActionSheetWrapTsx2.__closure = {
|
|
88
|
+
expandable,
|
|
89
|
+
expandableHeightSharedVal,
|
|
90
|
+
heightSharedVal
|
|
91
|
+
};
|
|
92
|
+
ActionSheetWrapTsx2.__workletHash = 1284727352979;
|
|
93
|
+
ActionSheetWrapTsx2.__pluginVersion = "0.5.1";
|
|
94
|
+
ActionSheetWrapTsx2.__initData = _worklet_1284727352979_init_data;
|
|
95
|
+
ActionSheetWrapTsx2.__stackDetails = _e;
|
|
96
|
+
return ActionSheetWrapTsx2;
|
|
97
|
+
}({
|
|
98
|
+
_worklet_1284727352979_init_data,
|
|
99
|
+
expandable,
|
|
100
|
+
expandableHeightSharedVal,
|
|
101
|
+
heightSharedVal
|
|
102
|
+
}), [expandable, heightSharedVal, expandableHeightSharedVal]);
|
|
103
|
+
let t2;
|
|
104
|
+
if ($[1] !== onDismiss) {
|
|
105
|
+
t2 = () => {
|
|
106
|
+
onDismiss();
|
|
107
|
+
};
|
|
108
|
+
$[1] = onDismiss;
|
|
109
|
+
$[2] = t2;
|
|
110
|
+
} else {
|
|
111
|
+
t2 = $[2];
|
|
112
|
+
}
|
|
113
|
+
const onModalDismiss = t2;
|
|
114
|
+
let t3;
|
|
115
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
116
|
+
t3 = (0, _func.getActionSheetMaxHeight)(expandable);
|
|
117
|
+
$[3] = t3;
|
|
118
|
+
} else {
|
|
119
|
+
t3 = $[3];
|
|
120
|
+
}
|
|
121
|
+
let t4;
|
|
122
|
+
if ($[4] !== children || $[5] !== innerWrapAnimatedStyle) {
|
|
123
|
+
t4 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedThemedView.default, {
|
|
124
|
+
style: innerWrapAnimatedStyle,
|
|
125
|
+
children: children
|
|
126
|
+
});
|
|
127
|
+
$[4] = children;
|
|
128
|
+
$[5] = innerWrapAnimatedStyle;
|
|
129
|
+
$[6] = t4;
|
|
130
|
+
} else {
|
|
131
|
+
t4 = $[6];
|
|
132
|
+
}
|
|
133
|
+
let t5;
|
|
134
|
+
if ($[7] !== outerWrapAnimatedStyle || $[8] !== t4 || $[9] !== wrapViewProps) {
|
|
135
|
+
t5 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_AnimatedThemedView.default, {
|
|
136
|
+
alignSelf: "stretch",
|
|
137
|
+
maxHeight: t3,
|
|
138
|
+
overflow: "hidden",
|
|
139
|
+
...wrapViewProps,
|
|
140
|
+
style: outerWrapAnimatedStyle,
|
|
141
|
+
children: t4
|
|
142
|
+
});
|
|
143
|
+
$[7] = outerWrapAnimatedStyle;
|
|
144
|
+
$[8] = t4;
|
|
145
|
+
$[9] = wrapViewProps;
|
|
146
|
+
$[10] = t5;
|
|
147
|
+
} else {
|
|
148
|
+
t5 = $[10];
|
|
149
|
+
}
|
|
150
|
+
let t6;
|
|
151
|
+
if ($[11] !== onModalDismiss || $[12] !== t5) {
|
|
152
|
+
t6 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedModal.default, {
|
|
153
|
+
onDismiss: onModalDismiss,
|
|
154
|
+
dismissable: dismissable,
|
|
155
|
+
justifyContent: "flex-end",
|
|
156
|
+
children: t5
|
|
157
|
+
});
|
|
158
|
+
$[11] = onModalDismiss;
|
|
159
|
+
$[12] = t5;
|
|
160
|
+
$[13] = t6;
|
|
161
|
+
} else {
|
|
162
|
+
t6 = $[13];
|
|
163
|
+
}
|
|
164
|
+
return t6;
|
|
165
|
+
};
|
|
166
|
+
var _default = exports.default = ActionSheetWrap;
|
|
167
|
+
//# sourceMappingURL=ActionSheetWrap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNativeReanimated","require","_overlay","_func","_AnimatedThemedView","_interopRequireDefault","_ThemedModal","_jsxRuntime","e","__esModule","default","_worklet_4065181187102_init_data","code","location","sourceMap","_worklet_1284727352979_init_data","ActionSheetWrap","t0","$","_compilerRuntime","c","wrapViewProps","children","t1","Symbol","for","getActionSheetContext","expandable","dismissable","translateYSharedVal","heightSharedVal","expandableHeightSharedVal","onDismiss","useActionSheetOnDismiss","outerWrapAnimatedStyle","useAnimatedStyle","ActionSheetWrapTsx1Factory","_e","global","Error","ActionSheetWrapTsx1","style","height","get","transform","translateY","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","innerWrapAnimatedStyle","ActionSheetWrapTsx2Factory","ActionSheetWrapTsx2","t2","onModalDismiss","t3","getActionSheetMaxHeight","t4","jsx","t5","alignSelf","maxHeight","overflow","t6","justifyContent","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetWrap.tsx"],"mappings":";;;;;;;AAEA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAKA,IAAAE,KAAA,GAAAF,OAAA;AAIA,IAAAG,mBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAD,sBAAA,CAAAJ,OAAA;AAA+C,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAI,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAb/C;AAAA,MAAAG,gCAAA;EAAAC,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AAAA,MAAAC,gCAAA;EAAAH,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AAeA,MAAME,eAAyC,GAAGC,EAAA;EAAA,MAAAC,CAAA,OAAAC,gBAAA,CAAAC,CAAA;EAAC;IAAAC,aAAA;IAAAC;EAAA,IAAAL,EAGlD;EAAA,IAAAM,EAAA;EAAA,IAAAL,CAAA,QAAAM,MAAA,CAAAC,GAAA;IAOKF,EAAA,OAAApB,KAAA,CAAAuB,qBAAA,EAAsB,CAAC;IAAAR,CAAA,MAAAK,EAAA;EAAA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;IATvBuC,EAAA,oBAAArD,WAAA,CAAAoD,GAAA,EAACvD,mBAAA,CAAAM,OAAkB;MACNmD,SAAS,EAAT,SAAS;MACTC,SAAmC,EAAnCN,EAAmC;MACpCO,QAAQ,EAAR,QAAQ;MAAA,GACd1C,aAAa;MACVa,KAAsB,EAAtBA,sBAAsB;MAAAZ,QAAA,EAE7BoC;IAEqB,CACH,CAAC;IAAAxC,CAAA,MAAAgB,sBAAA;IAAAhB,CAAA,MAAAwC,EAAA;IAAAxC,CAAA,MAAAG,aAAA;IAAAH,CAAA,OAAA0C,EAAA;EAAA;IAAAA,EAAA,GAAA1C,CAAA;EAAA;EAAA,IAAA8C,EAAA;EAAA,IAAA9C,CAAA,SAAAqC,cAAA,IAAArC,CAAA,SAAA0C,EAAA;IAfvBI,EAAA,oBAAAzD,WAAA,CAAAoD,GAAA,EAACrD,YAAA,CAAAI,OAAW;MACC6C,SAAc,EAAdA,cAAc;MACZ3B,WAAW,EAAXA,WAAW;MACRqC,cAAU,EAAV,UAAU;MAAA3C,QAAA,EAE1BsC;IAUqB,CACV,CAAC;IAAA1C,CAAA,OAAAqC,cAAA;IAAArC,CAAA,OAAA0C,EAAA;IAAA1C,CAAA,OAAA8C,EAAA;EAAA;IAAAA,EAAA,GAAA9C,CAAA;EAAA;EAAA,OAhBd8C,EAgBc;AAAA,CAEjB;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAAzD,OAAA,GAEaM,eAAe","ignoreList":[]}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
var _reanimated = require("../../../hooks/reanimated.js");
|
|
10
|
+
var _const = require("../../../utils/overlay/const.js");
|
|
11
|
+
var _AlertBtns = _interopRequireDefault(require("./AlertBtns.js"));
|
|
12
|
+
var _AlertContent = _interopRequireDefault(require("./AlertContent.js"));
|
|
13
|
+
var _AlertWrap = _interopRequireDefault(require("./AlertWrap.js"));
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
const Alert = t0 => {
|
|
17
|
+
const $ = (0, _compilerRuntime.c)(33);
|
|
18
|
+
const {
|
|
19
|
+
customShowAnimation,
|
|
20
|
+
customHideAnimation,
|
|
21
|
+
wrapProps,
|
|
22
|
+
title,
|
|
23
|
+
titleTextProps,
|
|
24
|
+
desc,
|
|
25
|
+
descTextProps,
|
|
26
|
+
btns,
|
|
27
|
+
btnsWrapProps,
|
|
28
|
+
btnProps,
|
|
29
|
+
onDismiss,
|
|
30
|
+
dismissable
|
|
31
|
+
} = t0;
|
|
32
|
+
const [visible, setVisible] = (0, _react.useState)(true);
|
|
33
|
+
const showSharedVal = (0, _reanimated.useAnimationSharedVal)();
|
|
34
|
+
let t1;
|
|
35
|
+
if ($[0] !== desc || $[1] !== onDismiss || $[2] !== title) {
|
|
36
|
+
t1 = result => {
|
|
37
|
+
const tempResult = {
|
|
38
|
+
resultType: _const.OverlayDismissResultType.Alert,
|
|
39
|
+
title,
|
|
40
|
+
desc,
|
|
41
|
+
text: _const.overlayDismissResultDefaultText
|
|
42
|
+
};
|
|
43
|
+
onDismiss?.(result ? {
|
|
44
|
+
...tempResult,
|
|
45
|
+
...result
|
|
46
|
+
} : tempResult);
|
|
47
|
+
setVisible(false);
|
|
48
|
+
};
|
|
49
|
+
$[0] = desc;
|
|
50
|
+
$[1] = onDismiss;
|
|
51
|
+
$[2] = title;
|
|
52
|
+
$[3] = t1;
|
|
53
|
+
} else {
|
|
54
|
+
t1 = $[3];
|
|
55
|
+
}
|
|
56
|
+
const handleDismiss = t1;
|
|
57
|
+
let t2;
|
|
58
|
+
if ($[4] !== customHideAnimation || $[5] !== handleDismiss || $[6] !== showSharedVal) {
|
|
59
|
+
t2 = result_0 => {
|
|
60
|
+
if (customHideAnimation) {
|
|
61
|
+
customHideAnimation(showSharedVal, 0, () => {
|
|
62
|
+
handleDismiss(result_0);
|
|
63
|
+
});
|
|
64
|
+
} else {
|
|
65
|
+
showSharedVal.set(0);
|
|
66
|
+
handleDismiss(result_0);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
$[4] = customHideAnimation;
|
|
70
|
+
$[5] = handleDismiss;
|
|
71
|
+
$[6] = showSharedVal;
|
|
72
|
+
$[7] = t2;
|
|
73
|
+
} else {
|
|
74
|
+
t2 = $[7];
|
|
75
|
+
}
|
|
76
|
+
let t3;
|
|
77
|
+
if ($[8] !== btnProps || $[9] !== t2) {
|
|
78
|
+
t3 = {
|
|
79
|
+
btnProps,
|
|
80
|
+
onDismiss: t2
|
|
81
|
+
};
|
|
82
|
+
$[8] = btnProps;
|
|
83
|
+
$[9] = t2;
|
|
84
|
+
$[10] = t3;
|
|
85
|
+
} else {
|
|
86
|
+
t3 = $[10];
|
|
87
|
+
}
|
|
88
|
+
const alertContextVal = t3;
|
|
89
|
+
let t4;
|
|
90
|
+
if ($[11] !== desc || $[12] !== descTextProps || $[13] !== title || $[14] !== titleTextProps) {
|
|
91
|
+
t4 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_AlertContent.default, {
|
|
92
|
+
title: title,
|
|
93
|
+
titleTextProps: titleTextProps,
|
|
94
|
+
desc: desc,
|
|
95
|
+
descTextProps: descTextProps
|
|
96
|
+
});
|
|
97
|
+
$[11] = desc;
|
|
98
|
+
$[12] = descTextProps;
|
|
99
|
+
$[13] = title;
|
|
100
|
+
$[14] = titleTextProps;
|
|
101
|
+
$[15] = t4;
|
|
102
|
+
} else {
|
|
103
|
+
t4 = $[15];
|
|
104
|
+
}
|
|
105
|
+
let t5;
|
|
106
|
+
if ($[16] !== btns || $[17] !== btnsWrapProps) {
|
|
107
|
+
t5 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_AlertBtns.default, {
|
|
108
|
+
btns: btns,
|
|
109
|
+
btnsWrapProps: btnsWrapProps
|
|
110
|
+
});
|
|
111
|
+
$[16] = btns;
|
|
112
|
+
$[17] = btnsWrapProps;
|
|
113
|
+
$[18] = t5;
|
|
114
|
+
} else {
|
|
115
|
+
t5 = $[18];
|
|
116
|
+
}
|
|
117
|
+
let t6;
|
|
118
|
+
if ($[19] !== btns || $[20] !== customShowAnimation || $[21] !== desc || $[22] !== dismissable || $[23] !== showSharedVal || $[24] !== t4 || $[25] !== t5 || $[26] !== title || $[27] !== visible || $[28] !== wrapProps) {
|
|
119
|
+
t6 = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_AlertWrap.default, {
|
|
120
|
+
customShowAnimation: customShowAnimation,
|
|
121
|
+
wrapProps: wrapProps,
|
|
122
|
+
title: title,
|
|
123
|
+
desc: desc,
|
|
124
|
+
btns: btns,
|
|
125
|
+
dismissable: dismissable,
|
|
126
|
+
visible: visible,
|
|
127
|
+
setVisible: setVisible,
|
|
128
|
+
showSharedVal: showSharedVal,
|
|
129
|
+
children: [t4, t5]
|
|
130
|
+
});
|
|
131
|
+
$[19] = btns;
|
|
132
|
+
$[20] = customShowAnimation;
|
|
133
|
+
$[21] = desc;
|
|
134
|
+
$[22] = dismissable;
|
|
135
|
+
$[23] = showSharedVal;
|
|
136
|
+
$[24] = t4;
|
|
137
|
+
$[25] = t5;
|
|
138
|
+
$[26] = title;
|
|
139
|
+
$[27] = visible;
|
|
140
|
+
$[28] = wrapProps;
|
|
141
|
+
$[29] = t6;
|
|
142
|
+
} else {
|
|
143
|
+
t6 = $[29];
|
|
144
|
+
}
|
|
145
|
+
let t7;
|
|
146
|
+
if ($[30] !== alertContextVal || $[31] !== t6) {
|
|
147
|
+
t7 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_const.AlertContext.Provider, {
|
|
148
|
+
value: alertContextVal,
|
|
149
|
+
children: t6
|
|
150
|
+
});
|
|
151
|
+
$[30] = alertContextVal;
|
|
152
|
+
$[31] = t6;
|
|
153
|
+
$[32] = t7;
|
|
154
|
+
} else {
|
|
155
|
+
t7 = $[32];
|
|
156
|
+
}
|
|
157
|
+
return t7;
|
|
158
|
+
};
|
|
159
|
+
var _default = exports.default = Alert;
|
|
160
|
+
//# sourceMappingURL=Alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reanimated","_const","_AlertBtns","_interopRequireDefault","_AlertContent","_AlertWrap","_jsxRuntime","e","__esModule","default","Alert","t0","$","_compilerRuntime","c","customShowAnimation","customHideAnimation","wrapProps","title","titleTextProps","desc","descTextProps","btns","btnsWrapProps","btnProps","onDismiss","dismissable","visible","setVisible","useState","showSharedVal","useAnimationSharedVal","t1","result","tempResult","resultType","OverlayDismissResultType","text","overlayDismissResultDefaultText","handleDismiss","t2","result_0","set","t3","alertContextVal","t4","jsx","t5","t6","jsxs","children","t7","AlertContext","Provider","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/overlay/alert/Alert.tsx"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAMA,IAAAE,MAAA,GAAAF,OAAA;AAKA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAD,sBAAA,CAAAJ,OAAA;AACA,IAAAM,UAAA,GAAAF,sBAAA,CAAAJ,OAAA;AAAoC,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAI,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpC,MAAMG,KAAqB,GAAGC,EAAA;EAAA,MAAAC,CAAA,OAAAC,gBAAA,CAAAC,CAAA;EAAC;IAAAC,mBAAA;IAAAC,mBAAA;IAAAC,SAAA;IAAAC,KAAA;IAAAC,cAAA;IAAAC,IAAA;IAAAC,aAAA;IAA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AhC,CAAA,OAAAoC,EAAA;IAAApC,CAAA,OAAAuC,EAAA;EAAA;IAAAA,EAAA,GAAAvC,CAAA;EAAA;EAAA,OApBxBuC,EAoBwB;AAAA,CAE3B;AAAC,IAAAG,QAAA,GAAAC,OAAA,CAAA9C,OAAA,GAEaC,KAAK","ignoreList":[]}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _const = require("../../../utils/overlay/const.js");
|
|
9
|
+
var _func = require("../../../utils/overlay/func.js");
|
|
10
|
+
var _const2 = require("../../../utils/theme/const.js");
|
|
11
|
+
var _ThemedBtn = _interopRequireDefault(require("../../btn/ThemedBtn.js"));
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
const AlertBtn = t0 => {
|
|
15
|
+
const $ = (0, _compilerRuntime.c)(12);
|
|
16
|
+
const {
|
|
17
|
+
type: t1,
|
|
18
|
+
text,
|
|
19
|
+
onPress,
|
|
20
|
+
props
|
|
21
|
+
} = t0;
|
|
22
|
+
const type = t1 === undefined ? _const.AlertBtnType.Primary : t1;
|
|
23
|
+
let t2;
|
|
24
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
25
|
+
t2 = (0, _func.getAlertContext)();
|
|
26
|
+
$[0] = t2;
|
|
27
|
+
} else {
|
|
28
|
+
t2 = $[0];
|
|
29
|
+
}
|
|
30
|
+
const {
|
|
31
|
+
btnProps,
|
|
32
|
+
onDismiss
|
|
33
|
+
} = t2;
|
|
34
|
+
let t3;
|
|
35
|
+
if ($[1] !== onPress || $[2] !== text || $[3] !== type) {
|
|
36
|
+
t3 = event => {
|
|
37
|
+
onPress?.(event);
|
|
38
|
+
onDismiss?.({
|
|
39
|
+
type,
|
|
40
|
+
text
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
$[1] = onPress;
|
|
44
|
+
$[2] = text;
|
|
45
|
+
$[3] = type;
|
|
46
|
+
$[4] = t3;
|
|
47
|
+
} else {
|
|
48
|
+
t3 = $[4];
|
|
49
|
+
}
|
|
50
|
+
const themedBtnOnPress = t3;
|
|
51
|
+
const isPrimary = type === _const.AlertBtnType.Primary;
|
|
52
|
+
const isDestructive = type === _const.AlertBtnType.Destructive;
|
|
53
|
+
const backgroundColor = isPrimary ? "theme" : "background";
|
|
54
|
+
const t4 = type === _const.AlertBtnType.Destructive ? "err" : backgroundColor;
|
|
55
|
+
const t5 = isDestructive ? "err" : isPrimary ? "background" : "theme";
|
|
56
|
+
let t6;
|
|
57
|
+
if ($[5] !== backgroundColor || $[6] !== props || $[7] !== t4 || $[8] !== t5 || $[9] !== text || $[10] !== themedBtnOnPress) {
|
|
58
|
+
t6 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedBtn.default, {
|
|
59
|
+
onPress: themedBtnOnPress,
|
|
60
|
+
flex: 1,
|
|
61
|
+
borderWidth: _const2.BorderSize.S,
|
|
62
|
+
borderColor: t4,
|
|
63
|
+
backgroundColor: backgroundColor,
|
|
64
|
+
text: text,
|
|
65
|
+
textColor: t5,
|
|
66
|
+
...btnProps,
|
|
67
|
+
...props
|
|
68
|
+
});
|
|
69
|
+
$[5] = backgroundColor;
|
|
70
|
+
$[6] = props;
|
|
71
|
+
$[7] = t4;
|
|
72
|
+
$[8] = t5;
|
|
73
|
+
$[9] = text;
|
|
74
|
+
$[10] = themedBtnOnPress;
|
|
75
|
+
$[11] = t6;
|
|
76
|
+
} else {
|
|
77
|
+
t6 = $[11];
|
|
78
|
+
}
|
|
79
|
+
return t6;
|
|
80
|
+
};
|
|
81
|
+
var _default = exports.default = AlertBtn;
|
|
82
|
+
//# sourceMappingURL=AlertBtn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_const","require","_func","_const2","_ThemedBtn","_interopRequireDefault","_jsxRuntime","e","__esModule","default","AlertBtn","t0","$","_compilerRuntime","c","type","t1","text","onPress","props","undefined","AlertBtnType","Primary","t2","Symbol","for","getAlertContext","btnProps","onDismiss","t3","event","themedBtnOnPress","isPrimary","isDestructive","Destructive","backgroundColor","t4","t5","t6","jsx","flex","borderWidth","BorderSize","S","borderColor","textColor","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/overlay/alert/AlertBtn.tsx"],"mappings":";;;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAA4C,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAI,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE5C,MAAMG,QAA2B,GAAGC,EAAA;EAAA,MAAAC,CAAA,OAAAC,gBAAA,CAAAC,CAAA;EAAC;IAAAC,IAAA,EAAAC,EAAA;IAAAC,IAAA;IAAAC,OAAA;IAAAC;EAAA,IAAAR,EAKpC;EAJC,MAAAI,IAAA,GAAAC,EAA2B,KAAAI,SAAA,GAAApB,MAAA,CAAAqB,YAAA,CAAAC,OAAA,GAA3BN,EAA2B;EAAA,IAAAO,EAAA;EAAA,IAAAX,CAAA,QAAAY,MAAA,CAAAC,GAAA;IAKKF,EAAA,OAAArB,KAAA,CAAAwB,eAAA,EAAgB,CAAC;IAAAd,CAAA,MAAAW,EAAA;EAAA;IAAAA,EAAA,GAAAX,CAAA;EAAA;EAAjD;IAAAe,QAAA;IAAAC;EAAA,IAAgCL,EAAiB;EAAC,IAAAM,EAAA;EAAA,IAAAjB,CAAA,QAAAM,OAAA,IAAAN,CAAA,QAAAK,IAA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C;IAAAP,CAAA,MAAAuB,eAAA;IAAAvB,CAAA,MAAAO,KAAA;IAAAP,CAAA,MAAAwB,EAAA;IAAAxB,CAAA,MAAAyB,EAAA;IAAAzB,CAAA,MAAAK,IAAA;IAAAL,CAAA,OAAAmB,gBAAA;IAAAnB,CAAA,OAAA0B,EAAA;EAAA;IAAAA,EAAA,GAAA1B,CAAA;EAAA;EAAA,OAVF0B,EAUE;AAAA,CAEL;AAAC,IAAAQ,QAAA,GAAAC,OAAA,CAAAtC,OAAA,GAEaC,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _ThemedView = _interopRequireDefault(require("../../view/ThemedView.js"));
|
|
9
|
+
var _AlertBtn = _interopRequireDefault(require("./AlertBtn.js"));
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
const AlertBtns = t0 => {
|
|
13
|
+
const $ = (0, _compilerRuntime.c)(7);
|
|
14
|
+
const {
|
|
15
|
+
btns,
|
|
16
|
+
btnsWrapProps
|
|
17
|
+
} = t0;
|
|
18
|
+
let t1;
|
|
19
|
+
if ($[0] !== btns) {
|
|
20
|
+
t1 = btns ?? [[{
|
|
21
|
+
text: "OK"
|
|
22
|
+
}]];
|
|
23
|
+
$[0] = btns;
|
|
24
|
+
$[1] = t1;
|
|
25
|
+
} else {
|
|
26
|
+
t1 = $[1];
|
|
27
|
+
}
|
|
28
|
+
const alertBtns = t1;
|
|
29
|
+
let t2;
|
|
30
|
+
if ($[2] !== alertBtns) {
|
|
31
|
+
t2 = alertBtns.map(_temp2);
|
|
32
|
+
$[2] = alertBtns;
|
|
33
|
+
$[3] = t2;
|
|
34
|
+
} else {
|
|
35
|
+
t2 = $[3];
|
|
36
|
+
}
|
|
37
|
+
let t3;
|
|
38
|
+
if ($[4] !== btnsWrapProps || $[5] !== t2) {
|
|
39
|
+
t3 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedView.default, {
|
|
40
|
+
marginTop: "m",
|
|
41
|
+
gap: "s",
|
|
42
|
+
...btnsWrapProps,
|
|
43
|
+
children: t2
|
|
44
|
+
});
|
|
45
|
+
$[4] = btnsWrapProps;
|
|
46
|
+
$[5] = t2;
|
|
47
|
+
$[6] = t3;
|
|
48
|
+
} else {
|
|
49
|
+
t3 = $[6];
|
|
50
|
+
}
|
|
51
|
+
return t3;
|
|
52
|
+
};
|
|
53
|
+
var _default = exports.default = AlertBtns;
|
|
54
|
+
function _temp(t0, btnIndex) {
|
|
55
|
+
const {
|
|
56
|
+
text,
|
|
57
|
+
...props
|
|
58
|
+
} = t0;
|
|
59
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_AlertBtn.default, {
|
|
60
|
+
text: text,
|
|
61
|
+
...props
|
|
62
|
+
}, `btn_${text}_${btnIndex}`);
|
|
63
|
+
}
|
|
64
|
+
function _temp2(row, rowIndex) {
|
|
65
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedView.default, {
|
|
66
|
+
flexDirection: "row",
|
|
67
|
+
gap: "s",
|
|
68
|
+
children: row.map(_temp)
|
|
69
|
+
}, `row_${row[0]?.text}_${rowIndex}`);
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=AlertBtns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ThemedView","_interopRequireDefault","require","_AlertBtn","_jsxRuntime","e","__esModule","default","AlertBtns","t0","$","_compilerRuntime","c","btns","btnsWrapProps","t1","text","alertBtns","t2","map","_temp2","t3","jsx","marginTop","gap","children","_default","exports","_temp","btnIndex","props","row","rowIndex","flexDirection"],"sourceRoot":"../../../../../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AA,OAZbW,EAYa;AAAA,CAEhB;AAAC,IAAAK,QAAA,GAAAC,OAAA,CAAApB,OAAA,GAEaC,SAAS;AAvB0C,SAAAoB,MAAAnB,EAAA,EAAAoB,QAAA;EAc9C;IAAAb,IAAA;IAAA,GAAAc;EAAA,IAAArB,EAAkB;EAAA,oBAC1B,IAAAL,WAAA,CAAAkB,GAAA,EAACnB,SAAA,CAAAI,OAAQ;IAAuCS,IAAI,EAAJA,IAAI;IAAA,GAAMc;EAAK,GAAhD,OAAOd,IAAI,IAAIa,QAAQ,EAA4B,CAAC;AAAA;AAfb,SAAAT,OAAAW,GAAA,EAAAC,QAAA;EAAA,oBAS1D,IAAA5B,WAAA,CAAAkB,GAAA,EAACtB,WAAA,CAAAO,OAAU;IAEM0B,aAAK,EAAL,KAAK;IACfT,GAAG,EAAH,GAAG;IAAAC,QAAA,EAEPM,GAAG,CAAAZ,GAAA,CAAAS,KAEH;EAAC,GANG,OAAOG,GAAG,KAAAf,IAAA,IAAagB,QAAQ,EAO1B,CAAC;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _compilerRuntime = require("react/compiler-runtime");
|
|
8
|
+
var _ThemedText = _interopRequireDefault(require("../../text/ThemedText.js"));
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const AlertContent = t0 => {
|
|
12
|
+
const $ = (0, _compilerRuntime.c)(9);
|
|
13
|
+
const {
|
|
14
|
+
title,
|
|
15
|
+
titleTextProps,
|
|
16
|
+
desc,
|
|
17
|
+
descTextProps
|
|
18
|
+
} = t0;
|
|
19
|
+
let t1;
|
|
20
|
+
if ($[0] !== title || $[1] !== titleTextProps) {
|
|
21
|
+
t1 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedText.default, {
|
|
22
|
+
textAlign: "center",
|
|
23
|
+
fontWeight: "bold",
|
|
24
|
+
...titleTextProps,
|
|
25
|
+
children: title
|
|
26
|
+
});
|
|
27
|
+
$[0] = title;
|
|
28
|
+
$[1] = titleTextProps;
|
|
29
|
+
$[2] = t1;
|
|
30
|
+
} else {
|
|
31
|
+
t1 = $[2];
|
|
32
|
+
}
|
|
33
|
+
let t2;
|
|
34
|
+
if ($[3] !== desc || $[4] !== descTextProps) {
|
|
35
|
+
t2 = !!desc && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemedText.default, {
|
|
36
|
+
textAlign: "center",
|
|
37
|
+
variant: "textS",
|
|
38
|
+
...descTextProps,
|
|
39
|
+
children: desc
|
|
40
|
+
});
|
|
41
|
+
$[3] = desc;
|
|
42
|
+
$[4] = descTextProps;
|
|
43
|
+
$[5] = t2;
|
|
44
|
+
} else {
|
|
45
|
+
t2 = $[5];
|
|
46
|
+
}
|
|
47
|
+
let t3;
|
|
48
|
+
if ($[6] !== t1 || $[7] !== t2) {
|
|
49
|
+
t3 = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
50
|
+
children: [t1, t2]
|
|
51
|
+
});
|
|
52
|
+
$[6] = t1;
|
|
53
|
+
$[7] = t2;
|
|
54
|
+
$[8] = t3;
|
|
55
|
+
} else {
|
|
56
|
+
t3 = $[8];
|
|
57
|
+
}
|
|
58
|
+
return t3;
|
|
59
|
+
};
|
|
60
|
+
var _default = exports.default = AlertContent;
|
|
61
|
+
//# sourceMappingURL=AlertContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_ThemedText","_interopRequireDefault","require","_jsxRuntime","e","__esModule","default","AlertContent","t0","$","_compilerRuntime","c","title","titleTextProps","desc","descTextProps","t1","jsx","textAlign","fontWeight","children","t2","variant","t3","jsxs","Fragment","_default","exports"],"sourceR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