react-native-package-fast 0.2.2 → 0.2.4-rc.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/README.md +19 -52
- package/lib/commonjs/assets/icons/IconApp.js +19 -0
- package/lib/commonjs/assets/icons/IconApp.js.map +1 -0
- package/lib/commonjs/carousel/carousel/Carousel.js +1311 -0
- package/lib/commonjs/carousel/carousel/Carousel.js.map +1 -0
- package/lib/commonjs/carousel/pagination/Pagination.js +153 -0
- package/lib/commonjs/carousel/pagination/Pagination.js.map +1 -0
- package/lib/commonjs/carousel/pagination/Pagination.style.js +29 -0
- package/lib/commonjs/carousel/pagination/Pagination.style.js.map +1 -0
- package/lib/commonjs/carousel/pagination/PaginationDot.js +150 -0
- package/lib/commonjs/carousel/pagination/PaginationDot.js.map +1 -0
- package/lib/commonjs/carousel/parallaximage/ParallaxImage.js +225 -0
- package/lib/commonjs/carousel/parallaximage/ParallaxImage.js.map +1 -0
- package/lib/commonjs/carousel/parallaximage/ParallaxImage.style.js +26 -0
- package/lib/commonjs/carousel/parallaximage/ParallaxImage.style.js.map +1 -0
- package/lib/commonjs/carousel/shallow-compare.js +38 -0
- package/lib/commonjs/carousel/shallow-compare.js.map +1 -0
- package/lib/commonjs/carousel/utils/animations.js +273 -0
- package/lib/commonjs/carousel/utils/animations.js.map +1 -0
- package/lib/commonjs/cores/ButtonApp.js +64 -0
- package/lib/commonjs/cores/ButtonApp.js.map +1 -0
- package/lib/commonjs/cores/CheckVersionApp.js +129 -0
- package/lib/commonjs/cores/CheckVersionApp.js.map +1 -0
- package/lib/commonjs/cores/DeviceUtils.js +19 -0
- package/lib/commonjs/cores/DeviceUtils.js.map +1 -0
- package/lib/commonjs/cores/ImageApp.js +37 -0
- package/lib/commonjs/cores/ImageApp.js.map +1 -0
- package/lib/commonjs/cores/ImageFastApp.js +30 -0
- package/lib/commonjs/cores/ImageFastApp.js.map +1 -0
- package/lib/commonjs/cores/InputApp.js +147 -0
- package/lib/commonjs/cores/InputApp.js.map +1 -0
- package/lib/commonjs/cores/InputMultiApp.js +27 -0
- package/lib/commonjs/cores/InputMultiApp.js.map +1 -0
- package/lib/commonjs/cores/LoadingApp.js +48 -0
- package/lib/commonjs/cores/LoadingApp.js.map +1 -0
- package/lib/commonjs/cores/LogUtils.js +136 -0
- package/lib/commonjs/cores/LogUtils.js.map +1 -0
- package/lib/commonjs/cores/RatingApp.js +66 -0
- package/lib/commonjs/cores/RatingApp.js.map +1 -0
- package/lib/commonjs/cores/SliderApp.js +156 -0
- package/lib/commonjs/cores/SliderApp.js.map +1 -0
- package/lib/commonjs/cores/StoresProviderApp.js +64 -0
- package/lib/commonjs/cores/StoresProviderApp.js.map +1 -0
- package/lib/commonjs/cores/TextApp.js +38 -0
- package/lib/commonjs/cores/TextApp.js.map +1 -0
- package/lib/commonjs/cores/Utils.js +648 -0
- package/lib/commonjs/cores/Utils.js.map +1 -0
- package/lib/commonjs/cores/ViewApp.js +32 -0
- package/lib/commonjs/cores/ViewApp.js.map +1 -0
- package/lib/commonjs/crypto/CryptoCore.js +42 -0
- package/lib/commonjs/crypto/CryptoCore.js.map +1 -0
- package/lib/commonjs/crypto/CryptoJS.js +662 -0
- package/lib/commonjs/crypto/CryptoJS.js.map +1 -0
- package/lib/commonjs/fab/FAB.js +179 -0
- package/lib/commonjs/fab/FAB.js.map +1 -0
- package/lib/commonjs/fab/FAB.styles.js +22 -0
- package/lib/commonjs/fab/FAB.styles.js.map +1 -0
- package/lib/commonjs/fab/FAB.types.js +6 -0
- package/lib/commonjs/fab/FAB.types.js.map +1 -0
- package/lib/commonjs/float-button/FABGroupDragApp.js +149 -0
- package/lib/commonjs/float-button/FABGroupDragApp.js.map +1 -0
- package/lib/commonjs/index.js +339 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/indicators/ball-indicator/index.js +90 -0
- package/lib/commonjs/indicators/ball-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/ball-indicator/styles.js +21 -0
- package/lib/commonjs/indicators/ball-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/bar-indicator/index.js +109 -0
- package/lib/commonjs/indicators/bar-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/bar-indicator/styles.js +16 -0
- package/lib/commonjs/indicators/bar-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/dot-indicator/index.js +71 -0
- package/lib/commonjs/indicators/dot-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/dot-indicator/styles.js +16 -0
- package/lib/commonjs/indicators/dot-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/index.js +77 -0
- package/lib/commonjs/indicators/index.js.map +1 -0
- package/lib/commonjs/indicators/indicator/index.js +203 -0
- package/lib/commonjs/indicators/indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/material-indicator/index.js +136 -0
- package/lib/commonjs/indicators/material-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/material-indicator/styles.js +20 -0
- package/lib/commonjs/indicators/material-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/pacman-indicator/index.js +147 -0
- package/lib/commonjs/indicators/pacman-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/pacman-indicator/styles.js +15 -0
- package/lib/commonjs/indicators/pacman-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/pulse-indicator/index.js +81 -0
- package/lib/commonjs/indicators/pulse-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/pulse-indicator/styles.js +20 -0
- package/lib/commonjs/indicators/pulse-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/skype-indicator/index.js +98 -0
- package/lib/commonjs/indicators/skype-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/skype-indicator/styles.js +20 -0
- package/lib/commonjs/indicators/skype-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/ui-activity-indicator/index.js +87 -0
- package/lib/commonjs/indicators/ui-activity-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/ui-activity-indicator/styles.js +20 -0
- package/lib/commonjs/indicators/ui-activity-indicator/styles.js.map +1 -0
- package/lib/commonjs/indicators/wave-indicator/index.js +93 -0
- package/lib/commonjs/indicators/wave-indicator/index.js.map +1 -0
- package/lib/commonjs/indicators/wave-indicator/styles.js +20 -0
- package/lib/commonjs/indicators/wave-indicator/styles.js.map +1 -0
- package/lib/commonjs/json-tree/ItemRange.js +56 -0
- package/lib/commonjs/json-tree/ItemRange.js.map +1 -0
- package/lib/commonjs/json-tree/JSONArrow.js +42 -0
- package/lib/commonjs/json-tree/JSONArrow.js.map +1 -0
- package/lib/commonjs/json-tree/Nodes.js +387 -0
- package/lib/commonjs/json-tree/Nodes.js.map +1 -0
- package/lib/commonjs/json-tree/createStylingFromTheme.js +147 -0
- package/lib/commonjs/json-tree/createStylingFromTheme.js.map +1 -0
- package/lib/commonjs/json-tree/getCollectionEntries.js +108 -0
- package/lib/commonjs/json-tree/getCollectionEntries.js.map +1 -0
- package/lib/commonjs/json-tree/index.js +119 -0
- package/lib/commonjs/json-tree/index.js.map +1 -0
- package/lib/commonjs/json-tree/objType.js +13 -0
- package/lib/commonjs/json-tree/objType.js.map +1 -0
- package/lib/commonjs/json-tree/themes/solarized.js +27 -0
- package/lib/commonjs/json-tree/themes/solarized.js.map +1 -0
- package/lib/commonjs/logger/FloatButtonLogger.js +155 -0
- package/lib/commonjs/logger/FloatButtonLogger.js.map +1 -0
- package/lib/commonjs/logger/Logger.js +156 -0
- package/lib/commonjs/logger/Logger.js.map +1 -0
- package/lib/commonjs/logger/Mock.js +2206 -0
- package/lib/commonjs/logger/Mock.js.map +1 -0
- package/lib/commonjs/logger/NetworkRequestInfo.js +108 -0
- package/lib/commonjs/logger/NetworkRequestInfo.js.map +1 -0
- package/lib/commonjs/logger/TouchKey.js +88 -0
- package/lib/commonjs/logger/TouchKey.js.map +1 -0
- package/lib/commonjs/logger/XHRInterceptor.js +27 -0
- package/lib/commonjs/logger/XHRInterceptor.js.map +1 -0
- package/lib/commonjs/logger/backHandler.js +47 -0
- package/lib/commonjs/logger/backHandler.js.map +1 -0
- package/lib/commonjs/logger/components/Button.js +41 -0
- package/lib/commonjs/logger/components/Button.js.map +1 -0
- package/lib/commonjs/logger/components/ColorsLog.js +49 -0
- package/lib/commonjs/logger/components/ColorsLog.js.map +1 -0
- package/lib/commonjs/logger/components/Header.js +63 -0
- package/lib/commonjs/logger/components/Header.js.map +1 -0
- package/lib/commonjs/logger/components/NetworkLogger.js +152 -0
- package/lib/commonjs/logger/components/NetworkLogger.js.map +1 -0
- package/lib/commonjs/logger/components/Options.js +100 -0
- package/lib/commonjs/logger/components/Options.js.map +1 -0
- package/lib/commonjs/logger/components/RequestDetails.js +196 -0
- package/lib/commonjs/logger/components/RequestDetails.js.map +1 -0
- package/lib/commonjs/logger/components/RequestList.js +219 -0
- package/lib/commonjs/logger/components/RequestList.js.map +1 -0
- package/lib/commonjs/logger/components/ResultItem.js +435 -0
- package/lib/commonjs/logger/components/ResultItem.js.map +1 -0
- package/lib/commonjs/logger/components/SearchBar.js +86 -0
- package/lib/commonjs/logger/components/SearchBar.js.map +1 -0
- package/lib/commonjs/logger/components/Unmounted.js +50 -0
- package/lib/commonjs/logger/components/Unmounted.js.map +1 -0
- package/lib/commonjs/logger/components/images/ic_copy.png +0 -0
- package/lib/commonjs/logger/components/images/ic_down.png +0 -0
- package/lib/commonjs/logger/components/images/ic_left.png +0 -0
- package/lib/commonjs/logger/components/images/ic_send.png +0 -0
- package/lib/commonjs/logger/components/images/more.png +0 -0
- package/lib/commonjs/logger/components/images/search.png +0 -0
- package/lib/commonjs/logger/components/images/share.png +0 -0
- package/lib/commonjs/logger/libs.js +25 -0
- package/lib/commonjs/logger/libs.js.map +1 -0
- package/lib/commonjs/logger/loggerSingleton.js +11 -0
- package/lib/commonjs/logger/loggerSingleton.js.map +1 -0
- package/lib/commonjs/logger/theme.js +57 -0
- package/lib/commonjs/logger/theme.js.map +1 -0
- package/lib/commonjs/logger/types.js +6 -0
- package/lib/commonjs/logger/types.js.map +1 -0
- package/lib/commonjs/logger/utils/createHar.js +78 -0
- package/lib/commonjs/logger/utils/createHar.js.map +1 -0
- package/lib/commonjs/logger/utils/extractHost.js +12 -0
- package/lib/commonjs/logger/utils/extractHost.js.map +1 -0
- package/lib/commonjs/logger/utils/fromEntries.js +12 -0
- package/lib/commonjs/logger/utils/fromEntries.js.map +1 -0
- package/lib/commonjs/logger/utils/logger.js +9 -0
- package/lib/commonjs/logger/utils/logger.js.map +1 -0
- package/lib/commonjs/navigation/NavigationApp.js +165 -0
- package/lib/commonjs/navigation/NavigationApp.js.map +1 -0
- package/lib/commonjs/navigation/NavigatorStack.js +226 -0
- package/lib/commonjs/navigation/NavigatorStack.js.map +1 -0
- package/lib/commonjs/navigation/header/HeaderView.js +24 -0
- package/lib/commonjs/navigation/header/HeaderView.js.map +1 -0
- package/lib/commonjs/navigation/index.js +21 -0
- package/lib/commonjs/navigation/index.js.map +1 -0
- package/lib/commonjs/navigation/leftMenu/LeftMenuApp.js +99 -0
- package/lib/commonjs/navigation/leftMenu/LeftMenuApp.js.map +1 -0
- package/lib/commonjs/navigation/navigator/Navigator.js +24 -0
- package/lib/commonjs/navigation/navigator/Navigator.js.map +1 -0
- package/lib/commonjs/navigation/rightMenu/RightMenuApp.js +97 -0
- package/lib/commonjs/navigation/rightMenu/RightMenuApp.js.map +1 -0
- package/lib/commonjs/navigation/stack/ModalSecondStack.js +105 -0
- package/lib/commonjs/navigation/stack/ModalSecondStack.js.map +1 -0
- package/lib/commonjs/navigation/stack/ModalStack.js +246 -0
- package/lib/commonjs/navigation/stack/ModalStack.js.map +1 -0
- package/lib/commonjs/navigation/stack/ToastAnimationView.js +50 -0
- package/lib/commonjs/navigation/stack/ToastAnimationView.js.map +1 -0
- package/lib/commonjs/navigation/stack/ToastStack.js +162 -0
- package/lib/commonjs/navigation/stack/ToastStack.js.map +1 -0
- package/lib/commonjs/navigation/tab/RouterAppCustomer.js +71 -0
- package/lib/commonjs/navigation/tab/RouterAppCustomer.js.map +1 -0
- package/lib/commonjs/navigation/tab/StackAppCustomer.js +58 -0
- package/lib/commonjs/navigation/tab/StackAppCustomer.js.map +1 -0
- package/lib/commonjs/navigation/tabBar/RouterApp.js +112 -0
- package/lib/commonjs/navigation/tabBar/RouterApp.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/skeleton/SkeletonApp.js +107 -0
- package/lib/commonjs/skeleton/SkeletonApp.js.map +1 -0
- package/lib/commonjs/tooltip/Helper.js +75 -0
- package/lib/commonjs/tooltip/Helper.js.map +1 -0
- package/lib/commonjs/tooltip/TooltipApp.js +1234 -0
- package/lib/commonjs/tooltip/TooltipApp.js.map +1 -0
- package/lib/commonjs/top-tab/TabBarApp.js +96 -0
- package/lib/commonjs/top-tab/TabBarApp.js.map +1 -0
- package/lib/commonjs/top-tab/TabScrollApp.js +91 -0
- package/lib/commonjs/top-tab/TabScrollApp.js.map +1 -0
- package/lib/commonjs/utils/CommonUtils.js +22 -0
- package/lib/commonjs/utils/CommonUtils.js.map +1 -0
- package/lib/module/assets/icons/IconApp.js +15 -0
- package/lib/module/assets/icons/IconApp.js.map +1 -0
- package/lib/module/assets/icons/ic_close.png +0 -0
- package/lib/module/assets/icons/ic_exit.png +0 -0
- package/lib/module/assets/icons/ic_rate_empty.png +0 -0
- package/lib/module/assets/icons/ic_rate_full.png +0 -0
- package/lib/module/assets/icons/ic_rate_half.png +0 -0
- package/lib/module/assets/icons/ic_toast_error.png +0 -0
- package/lib/module/assets/icons/ic_toast_info.png +0 -0
- package/lib/module/assets/icons/ic_toast_success.png +0 -0
- package/lib/module/assets/icons/ic_toast_warning.png +0 -0
- package/lib/module/carousel/carousel/Carousel.js +1304 -0
- package/lib/module/carousel/carousel/Carousel.js.map +1 -0
- package/lib/module/carousel/pagination/Pagination.js +146 -0
- package/lib/module/carousel/pagination/Pagination.js.map +1 -0
- package/lib/module/carousel/pagination/Pagination.style.js +25 -0
- package/lib/module/carousel/pagination/Pagination.style.js.map +1 -0
- package/lib/module/carousel/pagination/PaginationDot.js +143 -0
- package/lib/module/carousel/pagination/PaginationDot.js.map +1 -0
- package/lib/module/carousel/parallaximage/ParallaxImage.js +218 -0
- package/lib/module/carousel/parallaximage/ParallaxImage.js.map +1 -0
- package/lib/module/carousel/parallaximage/ParallaxImage.style.js +22 -0
- package/lib/module/carousel/parallaximage/ParallaxImage.style.js.map +1 -0
- package/lib/module/carousel/shallow-compare.js +34 -0
- package/lib/module/carousel/shallow-compare.js.map +1 -0
- package/lib/module/carousel/utils/animations.js +262 -0
- package/lib/module/carousel/utils/animations.js.map +1 -0
- package/lib/module/cores/ButtonApp.js +59 -0
- package/lib/module/cores/ButtonApp.js.map +1 -0
- package/lib/module/cores/CheckVersionApp.js +123 -0
- package/lib/module/cores/CheckVersionApp.js.map +1 -0
- package/lib/module/cores/DeviceUtils.js +14 -0
- package/lib/module/cores/DeviceUtils.js.map +1 -0
- package/lib/module/cores/ImageApp.js +32 -0
- package/lib/module/cores/ImageApp.js.map +1 -0
- package/lib/module/cores/ImageFastApp.js +25 -0
- package/lib/module/cores/ImageFastApp.js.map +1 -0
- package/lib/module/cores/InputApp.js +140 -0
- package/lib/module/cores/InputApp.js.map +1 -0
- package/lib/module/cores/InputMultiApp.js +22 -0
- package/lib/module/cores/InputMultiApp.js.map +1 -0
- package/lib/module/cores/LoadingApp.js +43 -0
- package/lib/module/cores/LoadingApp.js.map +1 -0
- package/lib/module/cores/LogUtils.js +131 -0
- package/lib/module/cores/LogUtils.js.map +1 -0
- package/lib/module/cores/RatingApp.js +60 -0
- package/lib/module/cores/RatingApp.js.map +1 -0
- package/lib/module/cores/SliderApp.js +151 -0
- package/lib/module/cores/SliderApp.js.map +1 -0
- package/lib/module/cores/StoresProviderApp.js +58 -0
- package/lib/module/cores/StoresProviderApp.js.map +1 -0
- package/lib/module/cores/TextApp.js +34 -0
- package/lib/module/cores/TextApp.js.map +1 -0
- package/lib/module/cores/Utils.js +642 -0
- package/lib/module/cores/Utils.js.map +1 -0
- package/lib/module/cores/ViewApp.js +27 -0
- package/lib/module/cores/ViewApp.js.map +1 -0
- package/lib/module/crypto/CryptoCore.js +36 -0
- package/lib/module/crypto/CryptoCore.js.map +1 -0
- package/lib/module/crypto/CryptoJS.js +662 -0
- package/lib/module/crypto/CryptoJS.js.map +1 -0
- package/lib/module/fab/FAB.js +172 -0
- package/lib/module/fab/FAB.js.map +1 -0
- package/lib/module/fab/FAB.styles.js +16 -0
- package/lib/module/fab/FAB.styles.js.map +1 -0
- package/lib/module/fab/FAB.types.js +4 -0
- package/lib/module/fab/FAB.types.js.map +1 -0
- package/lib/module/float-button/FABGroupDragApp.js +143 -0
- package/lib/module/float-button/FABGroupDragApp.js.map +1 -0
- package/lib/module/index.js +63 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/indicators/ball-indicator/index.js +83 -0
- package/lib/module/indicators/ball-indicator/index.js.map +1 -0
- package/lib/module/indicators/ball-indicator/styles.js +17 -0
- package/lib/module/indicators/ball-indicator/styles.js.map +1 -0
- package/lib/module/indicators/bar-indicator/index.js +102 -0
- package/lib/module/indicators/bar-indicator/index.js.map +1 -0
- package/lib/module/indicators/bar-indicator/styles.js +12 -0
- package/lib/module/indicators/bar-indicator/styles.js.map +1 -0
- package/lib/module/indicators/dot-indicator/index.js +64 -0
- package/lib/module/indicators/dot-indicator/index.js.map +1 -0
- package/lib/module/indicators/dot-indicator/styles.js +12 -0
- package/lib/module/indicators/dot-indicator/styles.js.map +1 -0
- package/lib/module/indicators/index.js +14 -0
- package/lib/module/indicators/index.js.map +1 -0
- package/lib/module/indicators/indicator/index.js +196 -0
- package/lib/module/indicators/indicator/index.js.map +1 -0
- package/lib/module/indicators/material-indicator/index.js +129 -0
- package/lib/module/indicators/material-indicator/index.js.map +1 -0
- package/lib/module/indicators/material-indicator/styles.js +16 -0
- package/lib/module/indicators/material-indicator/styles.js.map +1 -0
- package/lib/module/indicators/pacman-indicator/index.js +140 -0
- package/lib/module/indicators/pacman-indicator/index.js.map +1 -0
- package/lib/module/indicators/pacman-indicator/styles.js +11 -0
- package/lib/module/indicators/pacman-indicator/styles.js.map +1 -0
- package/lib/module/indicators/pulse-indicator/index.js +74 -0
- package/lib/module/indicators/pulse-indicator/index.js.map +1 -0
- package/lib/module/indicators/pulse-indicator/styles.js +16 -0
- package/lib/module/indicators/pulse-indicator/styles.js.map +1 -0
- package/lib/module/indicators/skype-indicator/index.js +91 -0
- package/lib/module/indicators/skype-indicator/index.js.map +1 -0
- package/lib/module/indicators/skype-indicator/styles.js +16 -0
- package/lib/module/indicators/skype-indicator/styles.js.map +1 -0
- package/lib/module/indicators/ui-activity-indicator/index.js +80 -0
- package/lib/module/indicators/ui-activity-indicator/index.js.map +1 -0
- package/lib/module/indicators/ui-activity-indicator/styles.js +16 -0
- package/lib/module/indicators/ui-activity-indicator/styles.js.map +1 -0
- package/lib/module/indicators/wave-indicator/index.js +86 -0
- package/lib/module/indicators/wave-indicator/index.js.map +1 -0
- package/lib/module/indicators/wave-indicator/styles.js +16 -0
- package/lib/module/indicators/wave-indicator/styles.js.map +1 -0
- package/lib/module/json-tree/ItemRange.js +49 -0
- package/lib/module/json-tree/ItemRange.js.map +1 -0
- package/lib/module/json-tree/JSONArrow.js +37 -0
- package/lib/module/json-tree/JSONArrow.js.map +1 -0
- package/lib/module/json-tree/Nodes.js +375 -0
- package/lib/module/json-tree/Nodes.js.map +1 -0
- package/lib/module/json-tree/createStylingFromTheme.js +142 -0
- package/lib/module/json-tree/createStylingFromTheme.js.map +1 -0
- package/lib/module/json-tree/getCollectionEntries.js +104 -0
- package/lib/module/json-tree/getCollectionEntries.js.map +1 -0
- package/lib/module/json-tree/index.js +114 -0
- package/lib/module/json-tree/index.js.map +1 -0
- package/lib/module/json-tree/objType.js +9 -0
- package/lib/module/json-tree/objType.js.map +1 -0
- package/lib/module/json-tree/themes/solarized.js +23 -0
- package/lib/module/json-tree/themes/solarized.js.map +1 -0
- package/lib/module/logger/FloatButtonLogger.js +145 -0
- package/lib/module/logger/FloatButtonLogger.js.map +1 -0
- package/lib/module/logger/Logger.js +150 -0
- package/lib/module/logger/Logger.js.map +1 -0
- package/lib/module/logger/Mock.js +2206 -0
- package/lib/module/logger/Mock.js.map +1 -0
- package/lib/module/logger/NetworkRequestInfo.js +103 -0
- package/lib/module/logger/NetworkRequestInfo.js.map +1 -0
- package/lib/module/logger/TouchKey.js +82 -0
- package/lib/module/logger/TouchKey.js.map +1 -0
- package/lib/module/logger/XHRInterceptor.js +23 -0
- package/lib/module/logger/XHRInterceptor.js.map +1 -0
- package/lib/module/logger/backHandler.js +40 -0
- package/lib/module/logger/backHandler.js.map +1 -0
- package/lib/module/logger/components/Button.js +36 -0
- package/lib/module/logger/components/Button.js.map +1 -0
- package/lib/module/logger/components/ColorsLog.js +45 -0
- package/lib/module/logger/components/ColorsLog.js.map +1 -0
- package/lib/module/logger/components/Header.js +58 -0
- package/lib/module/logger/components/Header.js.map +1 -0
- package/lib/module/logger/components/NetworkLogger.js +146 -0
- package/lib/module/logger/components/NetworkLogger.js.map +1 -0
- package/lib/module/logger/components/Options.js +94 -0
- package/lib/module/logger/components/Options.js.map +1 -0
- package/lib/module/logger/components/RequestDetails.js +190 -0
- package/lib/module/logger/components/RequestDetails.js.map +1 -0
- package/lib/module/logger/components/RequestList.js +212 -0
- package/lib/module/logger/components/RequestList.js.map +1 -0
- package/lib/module/logger/components/ResultItem.js +428 -0
- package/lib/module/logger/components/ResultItem.js.map +1 -0
- package/lib/module/logger/components/SearchBar.js +81 -0
- package/lib/module/logger/components/SearchBar.js.map +1 -0
- package/lib/module/logger/components/Unmounted.js +45 -0
- package/lib/module/logger/components/Unmounted.js.map +1 -0
- package/lib/module/logger/components/images/ic_copy.png +0 -0
- package/lib/module/logger/components/images/ic_down.png +0 -0
- package/lib/module/logger/components/images/ic_left.png +0 -0
- package/lib/module/logger/components/images/ic_send.png +0 -0
- package/lib/module/logger/components/images/more.png +0 -0
- package/lib/module/logger/components/images/search.png +0 -0
- package/lib/module/logger/components/images/share.png +0 -0
- package/lib/module/logger/libs.js +19 -0
- package/lib/module/logger/libs.js.map +1 -0
- package/lib/module/logger/loggerSingleton.js +6 -0
- package/lib/module/logger/loggerSingleton.js.map +1 -0
- package/lib/module/logger/theme.js +50 -0
- package/lib/module/logger/theme.js.map +1 -0
- package/lib/module/logger/types.js +4 -0
- package/lib/module/logger/types.js.map +1 -0
- package/lib/module/logger/utils/createHar.js +74 -0
- package/lib/module/logger/utils/createHar.js.map +1 -0
- package/lib/module/logger/utils/extractHost.js +8 -0
- package/lib/module/logger/utils/extractHost.js.map +1 -0
- package/lib/module/logger/utils/fromEntries.js +8 -0
- package/lib/module/logger/utils/fromEntries.js.map +1 -0
- package/lib/module/logger/utils/logger.js +4 -0
- package/lib/module/logger/utils/logger.js.map +1 -0
- package/lib/module/navigation/NavigationApp.js +161 -0
- package/lib/module/navigation/NavigationApp.js.map +1 -0
- package/lib/module/navigation/NavigatorStack.js +219 -0
- package/lib/module/navigation/NavigatorStack.js.map +1 -0
- package/lib/module/navigation/header/HeaderView.js +19 -0
- package/lib/module/navigation/header/HeaderView.js.map +1 -0
- package/lib/module/navigation/index.js +6 -0
- package/lib/module/navigation/index.js.map +1 -0
- package/lib/module/navigation/leftMenu/LeftMenuApp.js +93 -0
- package/lib/module/navigation/leftMenu/LeftMenuApp.js.map +1 -0
- package/lib/module/navigation/navigator/Navigator.js +19 -0
- package/lib/module/navigation/navigator/Navigator.js.map +1 -0
- package/lib/module/navigation/rightMenu/RightMenuApp.js +91 -0
- package/lib/module/navigation/rightMenu/RightMenuApp.js.map +1 -0
- package/lib/module/navigation/stack/ModalSecondStack.js +99 -0
- package/lib/module/navigation/stack/ModalSecondStack.js.map +1 -0
- package/lib/module/navigation/stack/ModalStack.js +245 -0
- package/lib/module/navigation/stack/ModalStack.js.map +1 -0
- package/lib/module/navigation/stack/ToastAnimationView.js +45 -0
- package/lib/module/navigation/stack/ToastAnimationView.js.map +1 -0
- package/lib/module/navigation/stack/ToastStack.js +156 -0
- package/lib/module/navigation/stack/ToastStack.js.map +1 -0
- package/lib/module/navigation/tab/RouterAppCustomer.js +65 -0
- package/lib/module/navigation/tab/RouterAppCustomer.js.map +1 -0
- package/lib/module/navigation/tab/StackAppCustomer.js +52 -0
- package/lib/module/navigation/tab/StackAppCustomer.js.map +1 -0
- package/lib/module/navigation/tabBar/RouterApp.js +107 -0
- package/lib/module/navigation/tabBar/RouterApp.js.map +1 -0
- package/lib/module/skeleton/SkeletonApp.js +101 -0
- package/lib/module/skeleton/SkeletonApp.js.map +1 -0
- package/lib/module/tooltip/Helper.js +60 -0
- package/lib/module/tooltip/Helper.js.map +1 -0
- package/lib/module/tooltip/TooltipApp.js +1229 -0
- package/lib/module/tooltip/TooltipApp.js.map +1 -0
- package/lib/module/top-tab/TabBarApp.js +91 -0
- package/lib/module/top-tab/TabBarApp.js.map +1 -0
- package/lib/module/top-tab/TabScrollApp.js +85 -0
- package/lib/module/top-tab/TabScrollApp.js.map +1 -0
- package/lib/module/utils/CommonUtils.js +16 -0
- package/lib/module/utils/CommonUtils.js.map +1 -0
- package/lib/typescript/assets/icons/IconApp.d.ts.map +1 -0
- package/lib/typescript/carousel/shallow-compare.d.ts.map +1 -0
- package/lib/typescript/cores/ButtonApp.d.ts.map +1 -0
- package/lib/typescript/cores/CheckVersionApp.d.ts +13 -0
- package/lib/typescript/cores/CheckVersionApp.d.ts.map +1 -0
- package/lib/typescript/cores/DeviceUtils.d.ts +4 -0
- package/lib/typescript/cores/DeviceUtils.d.ts.map +1 -0
- package/lib/typescript/cores/ImageApp.d.ts.map +1 -0
- package/lib/typescript/cores/ImageFastApp.d.ts.map +1 -0
- package/lib/typescript/cores/InputApp.d.ts.map +1 -0
- package/lib/typescript/cores/InputMultiApp.d.ts.map +1 -0
- package/lib/typescript/cores/LoadingApp.d.ts.map +1 -0
- package/lib/typescript/cores/LogUtils.d.ts.map +1 -0
- package/{src → lib}/typescript/cores/RatingApp.d.ts +1 -1
- package/lib/typescript/cores/RatingApp.d.ts.map +1 -0
- package/lib/typescript/cores/SliderApp.d.ts.map +1 -0
- package/{src → lib}/typescript/cores/StoresProviderApp.d.ts +1 -1
- package/lib/typescript/cores/StoresProviderApp.d.ts.map +1 -0
- package/lib/typescript/cores/TextApp.d.ts.map +1 -0
- package/{src → lib}/typescript/cores/Utils.d.ts +4 -1
- package/lib/typescript/cores/Utils.d.ts.map +1 -0
- package/lib/typescript/cores/ViewApp.d.ts.map +1 -0
- package/lib/typescript/crypto/CryptoCore.d.ts +7 -0
- package/lib/typescript/crypto/CryptoCore.d.ts.map +1 -0
- package/lib/typescript/fab/FAB.d.ts.map +1 -0
- package/lib/typescript/fab/FAB.styles.d.ts.map +1 -0
- package/{src → lib}/typescript/fab/FAB.types.d.ts +1 -1
- package/lib/typescript/fab/FAB.types.d.ts.map +1 -0
- package/lib/typescript/float-button/FABGroupDragApp.d.ts +4 -0
- package/lib/typescript/float-button/FABGroupDragApp.d.ts.map +1 -0
- package/{src → lib}/typescript/index.d.ts +15 -1
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/indicators/ball-indicator/index.d.ts +24 -0
- package/lib/typescript/indicators/ball-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/ball-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/bar-indicator/index.d.ts +25 -0
- package/lib/typescript/indicators/bar-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/bar-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/dot-indicator/index.d.ts +25 -0
- package/lib/typescript/indicators/dot-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/dot-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/index.d.ts.map +1 -0
- package/{src → lib}/typescript/indicators/indicator/index.d.ts +8 -9
- package/lib/typescript/indicators/indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/material-indicator/index.d.ts +24 -0
- package/lib/typescript/indicators/material-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/material-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/pacman-indicator/index.d.ts +25 -0
- package/lib/typescript/indicators/pacman-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/pacman-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/pulse-indicator/index.d.ts +24 -0
- package/lib/typescript/indicators/pulse-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/pulse-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/skype-indicator/index.d.ts +29 -0
- package/lib/typescript/indicators/skype-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/skype-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/ui-activity-indicator/index.d.ts +24 -0
- package/lib/typescript/indicators/ui-activity-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/ui-activity-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/indicators/wave-indicator/index.d.ts +30 -0
- package/lib/typescript/indicators/wave-indicator/index.d.ts.map +1 -0
- package/lib/typescript/indicators/wave-indicator/styles.d.ts.map +1 -0
- package/lib/typescript/json-tree/ItemRange.d.ts +16 -0
- package/lib/typescript/json-tree/ItemRange.d.ts.map +1 -0
- package/lib/typescript/json-tree/JSONArrow.d.ts +16 -0
- package/lib/typescript/json-tree/JSONArrow.d.ts.map +1 -0
- package/lib/typescript/json-tree/Nodes.d.ts +52 -0
- package/lib/typescript/json-tree/Nodes.d.ts.map +1 -0
- package/lib/typescript/json-tree/createStylingFromTheme.d.ts +3 -0
- package/lib/typescript/json-tree/createStylingFromTheme.d.ts.map +1 -0
- package/lib/typescript/json-tree/getCollectionEntries.d.ts +2 -0
- package/lib/typescript/json-tree/getCollectionEntries.d.ts.map +1 -0
- package/lib/typescript/json-tree/index.d.ts +24 -0
- package/lib/typescript/json-tree/index.d.ts.map +1 -0
- package/lib/typescript/json-tree/objType.d.ts +2 -0
- package/lib/typescript/json-tree/objType.d.ts.map +1 -0
- package/lib/typescript/json-tree/themes/solarized.d.ts +22 -0
- package/lib/typescript/json-tree/themes/solarized.d.ts.map +1 -0
- package/lib/typescript/logger/FloatButtonLogger.d.ts +9 -0
- package/lib/typescript/logger/FloatButtonLogger.d.ts.map +1 -0
- package/lib/typescript/logger/Logger.d.ts +43 -0
- package/lib/typescript/logger/Logger.d.ts.map +1 -0
- package/lib/typescript/logger/Mock.d.ts +2 -0
- package/lib/typescript/logger/Mock.d.ts.map +1 -0
- package/lib/typescript/logger/NetworkRequestInfo.d.ts +35 -0
- package/lib/typescript/logger/NetworkRequestInfo.d.ts.map +1 -0
- package/lib/typescript/logger/TouchKey.d.ts +4 -0
- package/lib/typescript/logger/TouchKey.d.ts.map +1 -0
- package/lib/typescript/logger/XHRInterceptor.d.ts +13 -0
- package/lib/typescript/logger/XHRInterceptor.d.ts.map +1 -0
- package/lib/typescript/logger/backHandler.d.ts +22 -0
- package/lib/typescript/logger/backHandler.d.ts.map +1 -0
- package/lib/typescript/logger/components/Button.d.ts +11 -0
- package/lib/typescript/logger/components/Button.d.ts.map +1 -0
- package/lib/typescript/logger/components/ColorsLog.d.ts +43 -0
- package/lib/typescript/logger/components/ColorsLog.d.ts.map +1 -0
- package/lib/typescript/logger/components/Header.d.ts +8 -0
- package/lib/typescript/logger/components/Header.d.ts.map +1 -0
- package/lib/typescript/logger/components/NetworkLogger.d.ts +11 -0
- package/lib/typescript/logger/components/NetworkLogger.d.ts.map +1 -0
- package/lib/typescript/logger/components/Options.d.ts +10 -0
- package/lib/typescript/logger/components/Options.d.ts.map +1 -0
- package/lib/typescript/logger/components/RequestDetails.d.ts +9 -0
- package/lib/typescript/logger/components/RequestDetails.d.ts.map +1 -0
- package/lib/typescript/logger/components/RequestList.d.ts +27 -0
- package/lib/typescript/logger/components/RequestList.d.ts.map +1 -0
- package/lib/typescript/logger/components/ResultItem.d.ts +13 -0
- package/lib/typescript/logger/components/ResultItem.d.ts.map +1 -0
- package/lib/typescript/logger/components/SearchBar.d.ts +12 -0
- package/lib/typescript/logger/components/SearchBar.d.ts.map +1 -0
- package/lib/typescript/logger/components/Unmounted.d.ts +4 -0
- package/lib/typescript/logger/components/Unmounted.d.ts.map +1 -0
- package/lib/typescript/logger/libs.d.ts +5 -0
- package/lib/typescript/logger/libs.d.ts.map +1 -0
- package/lib/typescript/logger/loggerSingleton.d.ts +4 -0
- package/lib/typescript/logger/loggerSingleton.d.ts.map +1 -0
- package/lib/typescript/logger/theme.d.ts +21 -0
- package/lib/typescript/logger/theme.d.ts.map +1 -0
- package/lib/typescript/logger/types.d.ts +32 -0
- package/lib/typescript/logger/types.d.ts.map +1 -0
- package/lib/typescript/logger/utils/createHar.d.ts +61 -0
- package/lib/typescript/logger/utils/createHar.d.ts.map +1 -0
- package/lib/typescript/logger/utils/extractHost.d.ts +3 -0
- package/lib/typescript/logger/utils/extractHost.d.ts.map +1 -0
- package/lib/typescript/logger/utils/fromEntries.d.ts +3 -0
- package/lib/typescript/logger/utils/fromEntries.d.ts.map +1 -0
- package/lib/typescript/logger/utils/logger.d.ts +2 -0
- package/lib/typescript/logger/utils/logger.d.ts.map +1 -0
- package/lib/typescript/navigation/NavigationApp.d.ts.map +1 -0
- package/lib/typescript/navigation/NavigatorStack.d.ts.map +1 -0
- package/{src → lib}/typescript/navigation/header/HeaderView.d.ts +1 -1
- package/lib/typescript/navigation/header/HeaderView.d.ts.map +1 -0
- package/lib/typescript/navigation/index.d.ts.map +1 -0
- package/{src → lib}/typescript/navigation/leftMenu/LeftMenuApp.d.ts +1 -1
- package/lib/typescript/navigation/leftMenu/LeftMenuApp.d.ts.map +1 -0
- package/lib/typescript/navigation/navigator/Navigator.d.ts.map +1 -0
- package/{src → lib}/typescript/navigation/rightMenu/RightMenuApp.d.ts +1 -1
- package/lib/typescript/navigation/rightMenu/RightMenuApp.d.ts.map +1 -0
- package/{src → lib}/typescript/navigation/stack/ModalSecondStack.d.ts +4 -4
- package/lib/typescript/navigation/stack/ModalSecondStack.d.ts.map +1 -0
- package/{src → lib}/typescript/navigation/stack/ModalStack.d.ts +1 -1
- package/lib/typescript/navigation/stack/ModalStack.d.ts.map +1 -0
- package/{src → lib}/typescript/navigation/stack/ToastAnimationView.d.ts +1 -1
- package/lib/typescript/navigation/stack/ToastAnimationView.d.ts.map +1 -0
- package/lib/typescript/navigation/stack/ToastStack.d.ts.map +1 -0
- package/lib/typescript/navigation/tab/RouterAppCustomer.d.ts.map +1 -0
- package/lib/typescript/navigation/tab/StackAppCustomer.d.ts.map +1 -0
- package/{src → lib}/typescript/navigation/tabBar/RouterApp.d.ts +4 -3
- package/lib/typescript/navigation/tabBar/RouterApp.d.ts.map +1 -0
- package/lib/typescript/skeleton/SkeletonApp.d.ts.map +1 -0
- package/lib/typescript/top-tab/TabBarApp.d.ts.map +1 -0
- package/lib/typescript/top-tab/TabScrollApp.d.ts.map +1 -0
- package/lib/typescript/utils/CommonUtils.d.ts.map +1 -0
- package/package.json +24 -6
- package/src/module/assets/icons/IconApp.js +0 -1
- package/src/module/carousel/carousel/Carousel.js +0 -1
- package/src/module/carousel/pagination/Pagination.js +0 -1
- package/src/module/carousel/pagination/Pagination.style.js +0 -1
- package/src/module/carousel/pagination/PaginationDot.js +0 -1
- package/src/module/carousel/parallaximage/ParallaxImage.js +0 -1
- package/src/module/carousel/parallaximage/ParallaxImage.style.js +0 -1
- package/src/module/carousel/shallow-compare.js +0 -1
- package/src/module/carousel/utils/animations.js +0 -1
- package/src/module/cores/ButtonApp.js +0 -1
- package/src/module/cores/DeviceUtils.js +0 -1
- package/src/module/cores/ImageApp.js +0 -1
- package/src/module/cores/ImageFastApp.js +0 -1
- package/src/module/cores/InputApp.js +0 -1
- package/src/module/cores/InputMultiApp.js +0 -1
- package/src/module/cores/LoadingApp.js +0 -1
- package/src/module/cores/LogUtils.js +0 -1
- package/src/module/cores/RatingApp.js +0 -1
- package/src/module/cores/SliderApp.js +0 -1
- package/src/module/cores/StoresProviderApp.js +0 -1
- package/src/module/cores/TextApp.js +0 -1
- package/src/module/cores/Utils.js +0 -1
- package/src/module/cores/ViewApp.js +0 -1
- package/src/module/fab/FAB.js +0 -1
- package/src/module/fab/FAB.styles.js +0 -1
- package/src/module/fab/FAB.types.js +0 -1
- package/src/module/float-button/FABGroupDragApp.js +0 -1
- package/src/module/index.js +0 -1
- package/src/module/indicators/ball-indicator/index.js +0 -1
- package/src/module/indicators/ball-indicator/styles.js +0 -1
- package/src/module/indicators/bar-indicator/index.js +0 -1
- package/src/module/indicators/bar-indicator/styles.js +0 -1
- package/src/module/indicators/dot-indicator/index.js +0 -1
- package/src/module/indicators/dot-indicator/styles.js +0 -1
- package/src/module/indicators/index.js +0 -1
- package/src/module/indicators/indicator/index.js +0 -1
- package/src/module/indicators/material-indicator/index.js +0 -1
- package/src/module/indicators/material-indicator/styles.js +0 -1
- package/src/module/indicators/pacman-indicator/index.js +0 -1
- package/src/module/indicators/pacman-indicator/styles.js +0 -1
- package/src/module/indicators/pulse-indicator/index.js +0 -1
- package/src/module/indicators/pulse-indicator/styles.js +0 -1
- package/src/module/indicators/skype-indicator/index.js +0 -1
- package/src/module/indicators/skype-indicator/styles.js +0 -1
- package/src/module/indicators/ui-activity-indicator/index.js +0 -1
- package/src/module/indicators/ui-activity-indicator/styles.js +0 -1
- package/src/module/indicators/wave-indicator/index.js +0 -1
- package/src/module/indicators/wave-indicator/styles.js +0 -1
- package/src/module/navigation/NavigationApp.js +0 -1
- package/src/module/navigation/NavigatorStack.js +0 -1
- package/src/module/navigation/header/HeaderView.js +0 -1
- package/src/module/navigation/index.js +0 -1
- package/src/module/navigation/leftMenu/LeftMenuApp.js +0 -1
- package/src/module/navigation/navigator/Navigator.js +0 -1
- package/src/module/navigation/rightMenu/RightMenuApp.js +0 -1
- package/src/module/navigation/stack/ModalSecondStack.js +0 -1
- package/src/module/navigation/stack/ModalStack.js +0 -1
- package/src/module/navigation/stack/ToastAnimationView.js +0 -1
- package/src/module/navigation/stack/ToastStack.js +0 -1
- package/src/module/navigation/tab/RouterAppCustomer.js +0 -1
- package/src/module/navigation/tab/StackAppCustomer.js +0 -1
- package/src/module/navigation/tabBar/RouterApp.js +0 -1
- package/src/module/skeleton/SkeletonApp.js +0 -1
- package/src/module/tooltip/Helper.js +0 -1
- package/src/module/tooltip/TooltipApp.js +0 -1
- package/src/module/top-tab/TabBarApp.js +0 -1
- package/src/module/top-tab/TabScrollApp.js +0 -1
- package/src/module/utils/CommonUtils.js +0 -1
- package/src/typescript/cores/DeviceUtils.d.ts +0 -4
- package/src/typescript/float-button/FABGroupDragApp.d.ts +0 -4
- package/src/typescript/indicators/ball-indicator/index.d.ts +0 -25
- package/src/typescript/indicators/bar-indicator/index.d.ts +0 -26
- package/src/typescript/indicators/dot-indicator/index.d.ts +0 -26
- package/src/typescript/indicators/material-indicator/index.d.ts +0 -25
- package/src/typescript/indicators/pacman-indicator/index.d.ts +0 -26
- package/src/typescript/indicators/pulse-indicator/index.d.ts +0 -25
- package/src/typescript/indicators/skype-indicator/index.d.ts +0 -30
- package/src/typescript/indicators/ui-activity-indicator/index.d.ts +0 -25
- package/src/typescript/indicators/wave-indicator/index.d.ts +0 -31
- /package/{src/module → lib/commonjs}/assets/icons/ic_close.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_exit.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_rate_empty.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_rate_full.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_rate_half.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_toast_error.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_toast_info.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_toast_success.png +0 -0
- /package/{src/module → lib/commonjs}/assets/icons/ic_toast_warning.png +0 -0
- /package/{src → lib}/typescript/assets/icons/IconApp.d.ts +0 -0
- /package/{src → lib}/typescript/carousel/shallow-compare.d.ts +0 -0
- /package/{src → lib}/typescript/cores/ButtonApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/ImageApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/ImageFastApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/InputApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/InputMultiApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/LoadingApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/LogUtils.d.ts +0 -0
- /package/{src → lib}/typescript/cores/SliderApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/TextApp.d.ts +0 -0
- /package/{src → lib}/typescript/cores/ViewApp.d.ts +0 -0
- /package/{src → lib}/typescript/fab/FAB.d.ts +0 -0
- /package/{src → lib}/typescript/fab/FAB.styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/ball-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/bar-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/dot-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/index.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/material-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/pacman-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/pulse-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/skype-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/ui-activity-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/indicators/wave-indicator/styles.d.ts +0 -0
- /package/{src → lib}/typescript/navigation/NavigationApp.d.ts +0 -0
- /package/{src → lib}/typescript/navigation/NavigatorStack.d.ts +0 -0
- /package/{src → lib}/typescript/navigation/index.d.ts +0 -0
- /package/{src → lib}/typescript/navigation/navigator/Navigator.d.ts +0 -0
- /package/{src → lib}/typescript/navigation/stack/ToastStack.d.ts +0 -0
- /package/{src → lib}/typescript/navigation/tab/RouterAppCustomer.d.ts +0 -0
- /package/{src → lib}/typescript/navigation/tab/StackAppCustomer.d.ts +0 -0
- /package/{src → lib}/typescript/skeleton/SkeletonApp.d.ts +0 -0
- /package/{src → lib}/typescript/top-tab/TabBarApp.d.ts +0 -0
- /package/{src → lib}/typescript/top-tab/TabScrollApp.d.ts +0 -0
- /package/{src → lib}/typescript/utils/CommonUtils.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
export default StyleSheet.create({
|
|
5
|
+
container: {
|
|
6
|
+
flex: 1,
|
|
7
|
+
justifyContent: 'center',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
flexDirection: 'row'
|
|
10
|
+
},
|
|
11
|
+
layer: {
|
|
12
|
+
...StyleSheet.absoluteFillObject,
|
|
13
|
+
justifyContent: 'flex-start',
|
|
14
|
+
alignItems: 'flex-start'
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","create","container","flex","justifyContent","alignItems","flexDirection","layer","absoluteFillObject"],"sourceRoot":"../../../../src","sources":["indicators/ball-indicator/styles.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,eAAeA,UAAU,CAACC,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE;EACjB,CAAC;EAEDC,KAAK,EAAE;IACL,GAAGP,UAAU,CAACQ,kBAAkB;IAEhCJ,cAAc,EAAE,YAAY;IAC5BC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import React, { PureComponent } from "react";
|
|
5
|
+
import { Animated, View } from "react-native";
|
|
6
|
+
import Indicator from "../indicator";
|
|
7
|
+
import styles from "./styles";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export default class BarIndicator extends PureComponent {
|
|
10
|
+
static defaultProps = {
|
|
11
|
+
count: 3,
|
|
12
|
+
color: "rgb(0, 0, 0)",
|
|
13
|
+
size: 40
|
|
14
|
+
};
|
|
15
|
+
static propTypes = {
|
|
16
|
+
...Indicator.propTypes,
|
|
17
|
+
color: PropTypes.string,
|
|
18
|
+
size: PropTypes.number
|
|
19
|
+
};
|
|
20
|
+
constructor(props) {
|
|
21
|
+
super(props);
|
|
22
|
+
this.renderComponent = this.renderComponent.bind(this);
|
|
23
|
+
}
|
|
24
|
+
outputRange(base, index, count, samples) {
|
|
25
|
+
let range = Array.from(new Array(samples), (_, index) => base * Math.abs(Math.cos(Math.PI * index / (samples - 1))));
|
|
26
|
+
for (let j = 0; j < index * (samples / count); j++) {
|
|
27
|
+
range.unshift(range?.pop());
|
|
28
|
+
}
|
|
29
|
+
range.unshift(...range.slice(-1));
|
|
30
|
+
return range;
|
|
31
|
+
}
|
|
32
|
+
renderComponent({
|
|
33
|
+
index,
|
|
34
|
+
count,
|
|
35
|
+
progress
|
|
36
|
+
}) {
|
|
37
|
+
let {
|
|
38
|
+
color: backgroundColor,
|
|
39
|
+
size,
|
|
40
|
+
animationDuration
|
|
41
|
+
} = this.props;
|
|
42
|
+
let frames = 60 * animationDuration / 1000;
|
|
43
|
+
let samples = 0;
|
|
44
|
+
do samples += count; while (samples < frames);
|
|
45
|
+
let inputRange = Array.from(new Array(samples + 1), (_, index) => index / samples);
|
|
46
|
+
let width = Math.floor(size / 5),
|
|
47
|
+
height = Math.floor(size / 2),
|
|
48
|
+
radius = Math.ceil(width / 2);
|
|
49
|
+
let containerStyle = {
|
|
50
|
+
height: size,
|
|
51
|
+
width: width,
|
|
52
|
+
marginHorizontal: radius
|
|
53
|
+
};
|
|
54
|
+
let topStyle = {
|
|
55
|
+
width,
|
|
56
|
+
height,
|
|
57
|
+
backgroundColor,
|
|
58
|
+
borderTopLeftRadius: radius,
|
|
59
|
+
borderTopRightRadius: radius,
|
|
60
|
+
transform: [{
|
|
61
|
+
translateY: progress.interpolate({
|
|
62
|
+
inputRange,
|
|
63
|
+
outputRange: this.outputRange(+(height - radius) / 2, index, count, samples)
|
|
64
|
+
})
|
|
65
|
+
}]
|
|
66
|
+
};
|
|
67
|
+
let bottomStyle = {
|
|
68
|
+
width,
|
|
69
|
+
height,
|
|
70
|
+
backgroundColor,
|
|
71
|
+
borderBottomLeftRadius: radius,
|
|
72
|
+
borderBottomRightRadius: radius,
|
|
73
|
+
transform: [{
|
|
74
|
+
translateY: progress.interpolate({
|
|
75
|
+
inputRange,
|
|
76
|
+
outputRange: this.outputRange(-(height - radius) / 2, index, count, samples)
|
|
77
|
+
})
|
|
78
|
+
}]
|
|
79
|
+
};
|
|
80
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
81
|
+
style: containerStyle,
|
|
82
|
+
key: index,
|
|
83
|
+
children: [/*#__PURE__*/_jsx(Animated.View, {
|
|
84
|
+
style: topStyle
|
|
85
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
86
|
+
style: bottomStyle
|
|
87
|
+
})]
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
render() {
|
|
91
|
+
let {
|
|
92
|
+
style,
|
|
93
|
+
...props
|
|
94
|
+
} = this.props;
|
|
95
|
+
return /*#__PURE__*/_jsx(Indicator, {
|
|
96
|
+
style: [styles.container, style],
|
|
97
|
+
renderComponent: this.renderComponent,
|
|
98
|
+
...props
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PropTypes","React","PureComponent","Animated","View","Indicator","styles","jsx","_jsx","jsxs","_jsxs","BarIndicator","defaultProps","count","color","size","propTypes","string","number","constructor","props","renderComponent","bind","outputRange","base","index","samples","range","Array","from","_","Math","abs","cos","PI","j","unshift","pop","slice","progress","backgroundColor","animationDuration","frames","inputRange","width","floor","height","radius","ceil","containerStyle","marginHorizontal","topStyle","borderTopLeftRadius","borderTopRightRadius","transform","translateY","interpolate","bottomStyle","borderBottomLeftRadius","borderBottomRightRadius","style","key","children","render","container"],"sourceRoot":"../../../../src","sources":["indicators/bar-indicator/index.tsx"],"mappings":";;AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,SAASC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAE7C,OAAOC,SAAS,MAAM,cAAc;AACpC,OAAOC,MAAM,MAAM,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE9B,eAAe,MAAMC,YAAY,SAAST,aAAa,CAAC;EACtD,OAAOU,YAAY,GAAG;IACpBC,KAAK,EAAE,CAAC;IAERC,KAAK,EAAE,cAAc;IACrBC,IAAI,EAAE;EACR,CAAC;EAED,OAAOC,SAAS,GAAG;IACjB,GAAGX,SAAS,CAACW,SAAS;IAEtBF,KAAK,EAAEd,SAAS,CAACiB,MAAM;IACvBF,IAAI,EAAEf,SAAS,CAACkB;EAClB,CAAC;EAEDC,WAAWA,CAACC,KAAU,EAAE;IACtB,KAAK,CAACA,KAAK,CAAC;IAEZ,IAAI,CAACC,eAAe,GAAG,IAAI,CAACA,eAAe,CAACC,IAAI,CAAC,IAAI,CAAC;EACxD;EAEAC,WAAWA,CAACC,IAAS,EAAEC,KAAU,EAAEZ,KAAU,EAAEa,OAAY,EAAE;IAC3D,IAAIC,KAAU,GAAGC,KAAK,CAACC,IAAI,CACzB,IAAID,KAAK,CAACF,OAAO,CAAC,EAClB,CAACI,CAAC,EAAEL,KAAU,KACZD,IAAI,GAAGO,IAAI,CAACC,GAAG,CAACD,IAAI,CAACE,GAAG,CAAEF,IA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AAE,IAAI,CAACA,eAAgB;MAAA,GAClCD;IAAK,CACV,CAAC;EAEN;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","create","container","flex","justifyContent","alignItems","flexDirection"],"sourceRoot":"../../../../src","sources":["indicators/bar-indicator/styles.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,eAAeA,UAAU,CAACC,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import React, { PureComponent } from "react";
|
|
5
|
+
import { Animated, Easing } from "react-native";
|
|
6
|
+
import Indicator from "../indicator";
|
|
7
|
+
import styles from "./styles";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
export default class DotIndicator extends PureComponent {
|
|
10
|
+
static defaultProps = {
|
|
11
|
+
animationEasing: Easing.inOut(Easing.ease),
|
|
12
|
+
color: "rgb(0, 0, 0)",
|
|
13
|
+
count: 4,
|
|
14
|
+
size: 16
|
|
15
|
+
};
|
|
16
|
+
static propTypes = {
|
|
17
|
+
...Indicator.propTypes,
|
|
18
|
+
color: PropTypes.string,
|
|
19
|
+
size: PropTypes.number
|
|
20
|
+
};
|
|
21
|
+
constructor(props) {
|
|
22
|
+
super(props);
|
|
23
|
+
this.renderComponent = this.renderComponent.bind(this);
|
|
24
|
+
}
|
|
25
|
+
renderComponent({
|
|
26
|
+
index,
|
|
27
|
+
count,
|
|
28
|
+
progress
|
|
29
|
+
}) {
|
|
30
|
+
let {
|
|
31
|
+
size,
|
|
32
|
+
color: backgroundColor
|
|
33
|
+
} = this.props;
|
|
34
|
+
let style = {
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
margin: size / 2,
|
|
38
|
+
borderRadius: size / 2,
|
|
39
|
+
backgroundColor,
|
|
40
|
+
transform: [{
|
|
41
|
+
scale: progress.interpolate({
|
|
42
|
+
inputRange: [0.0, (index + 0.5) / (count + 1), (index + 1.0) / (count + 1), (index + 1.5) / (count + 1), 1.0],
|
|
43
|
+
outputRange: [1.0, 1.36, 1.56, 1.06, 1.0]
|
|
44
|
+
})
|
|
45
|
+
}]
|
|
46
|
+
};
|
|
47
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
48
|
+
style: style,
|
|
49
|
+
key: index
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
let {
|
|
54
|
+
style,
|
|
55
|
+
...props
|
|
56
|
+
} = this.props;
|
|
57
|
+
return /*#__PURE__*/_jsx(Indicator, {
|
|
58
|
+
style: [styles.container, style],
|
|
59
|
+
renderComponent: this.renderComponent,
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PropTypes","React","PureComponent","Animated","Easing","Indicator","styles","jsx","_jsx","DotIndicator","defaultProps","animationEasing","inOut","ease","color","count","size","propTypes","string","number","constructor","props","renderComponent","bind","index","progress","backgroundColor","style","width","height","margin","borderRadius","transform","scale","interpolate","inputRange","outputRange","View","key","render","container"],"sourceRoot":"../../../../src","sources":["indicators/dot-indicator/index.tsx"],"mappings":";;AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,SAASC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;AAE/C,OAAOC,SAAS,MAAM,cAAc;AACpC,OAAOC,MAAM,MAAM,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE9B,eAAe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L,CAAC;IAED,oBAAO5B,IAAA,CAACL,QAAQ,CAACkC,IAAI;MAACV,KAAK,EAAEA,KAAM;MAAOW,GAAG,EAAEd;IAAK,CAAK,CAAC;EAC5D;EAEAe,MAAMA,CAAA,EAAG;IACP,IAAI;MAAEZ,KAAK;MAAE,GAAGN;IAAW,CAAC,GAAG,IAAI,CAACA,KAAK;IAEzC,oBACEb,IAAA,CAACH,SAAS;MACRsB,KAAK,EAAE,CAACrB,MAAM,CAACkC,SAAS,EAAEb,KAAK,CAAE;MACjCL,eAAe,EAAE,IAAI,CAACA,eAAgB;MAAA,GAClCD;IAAK,CACV,CAAC;EAEN;AACF","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","create","container","flex","justifyContent","alignItems","flexDirection"],"sourceRoot":"../../../../src","sources":["indicators/dot-indicator/styles.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,eAAeA,UAAU,CAACC,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import Indicator from './indicator';
|
|
4
|
+
import BallIndicator from './ball-indicator';
|
|
5
|
+
import BarIndicator from './bar-indicator';
|
|
6
|
+
import DotIndicator from './dot-indicator';
|
|
7
|
+
import MaterialIndicator from './material-indicator';
|
|
8
|
+
import PacmanIndicator from './pacman-indicator';
|
|
9
|
+
import PulseIndicator from './pulse-indicator';
|
|
10
|
+
import SkypeIndicator from './skype-indicator';
|
|
11
|
+
import UIActivityIndicator from './ui-activity-indicator';
|
|
12
|
+
import WaveIndicator from './wave-indicator';
|
|
13
|
+
export { Indicator, BarIndicator, BallIndicator, DotIndicator, MaterialIndicator, PacmanIndicator, PulseIndicator, SkypeIndicator, UIActivityIndicator, WaveIndicator };
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Indicator","BallIndicator","BarIndicator","DotIndicator","MaterialIndicator","PacmanIndicator","PulseIndicator","SkypeIndicator","UIActivityIndicator","WaveIndicator"],"sourceRoot":"../../../src","sources":["indicators/index.tsx"],"mappings":";;AAAA,OAAOA,SAAS,MAAM,aAAa;AACnC,OAAOC,aAAa,MAAM,kBAAkB;AAC5C,OAAOC,YAAY,MAAM,iBAAiB;AAC1C,OAAOC,YAAY,MAAM,iBAAiB;AAC1C,OAAOC,iBAAiB,MAAM,sBAAsB;AACpD,OAAOC,eAAe,MAAM,oBAAoB;AAChD,OAAOC,cAAc,MAAM,mBAAmB;AAC9C,OAAOC,cAAc,MAAM,mBAAmB;AAC9C,OAAOC,mBAAmB,MAAM,yBAAyB;AACzD,OAAOC,aAAa,MAAM,kBAAkB;AAE5C,SACET,SAAS,EACTE,YAAY,EACZD,aAAa,EACbE,YAAY,EACZC,iBAAiB,EACjBC,eAAe,EACfC,cAAc,EACdC,cAAc,EACdC,mBAAmB,EACnBC,aAAa","ignoreList":[]}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import React, { PureComponent } from "react";
|
|
5
|
+
import { Animated, Easing } from "react-native";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export default class Indicator extends PureComponent {
|
|
8
|
+
static defaultProps = {
|
|
9
|
+
animationEasing: Easing.linear,
|
|
10
|
+
animationDuration: 1200,
|
|
11
|
+
hideAnimationDuration: 200,
|
|
12
|
+
animating: true,
|
|
13
|
+
interaction: true,
|
|
14
|
+
hidesWhenStopped: true,
|
|
15
|
+
count: 1
|
|
16
|
+
};
|
|
17
|
+
static propTypes = {
|
|
18
|
+
animationEasing: PropTypes.func,
|
|
19
|
+
animationDuration: PropTypes.number,
|
|
20
|
+
hideAnimationDuration: PropTypes.number,
|
|
21
|
+
animating: PropTypes.bool,
|
|
22
|
+
interaction: PropTypes.bool,
|
|
23
|
+
hidesWhenStopped: PropTypes.bool,
|
|
24
|
+
renderComponent: PropTypes.func,
|
|
25
|
+
count: PropTypes.number
|
|
26
|
+
};
|
|
27
|
+
constructor(props) {
|
|
28
|
+
super(props);
|
|
29
|
+
|
|
30
|
+
/*
|
|
31
|
+
* 0 -> 1
|
|
32
|
+
* | startAnimation
|
|
33
|
+
* | resumeAnimation
|
|
34
|
+
*
|
|
35
|
+
* 1 -> -1
|
|
36
|
+
* | stopAnimation
|
|
37
|
+
*
|
|
38
|
+
* -1 -> 0
|
|
39
|
+
* | saveAnimation
|
|
40
|
+
*/
|
|
41
|
+
this.animationState = 0;
|
|
42
|
+
this.savedValue = 0;
|
|
43
|
+
let {
|
|
44
|
+
animating
|
|
45
|
+
} = this.props;
|
|
46
|
+
this.state = {
|
|
47
|
+
progress: new Animated.Value(0),
|
|
48
|
+
hideAnimation: new Animated.Value(animating ? 1 : 0)
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
componentDidMount() {
|
|
52
|
+
let {
|
|
53
|
+
animating
|
|
54
|
+
} = this.props;
|
|
55
|
+
if (animating) {
|
|
56
|
+
this.startAnimation();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
componentDidUpdate(prevProps) {
|
|
60
|
+
let {
|
|
61
|
+
animating
|
|
62
|
+
} = this.props;
|
|
63
|
+
if (animating && !prevProps.animating) {
|
|
64
|
+
this.resumeAnimation();
|
|
65
|
+
}
|
|
66
|
+
if (!animating && prevProps.animating) {
|
|
67
|
+
this.stopAnimation();
|
|
68
|
+
}
|
|
69
|
+
if (animating ^ prevProps.animating) {
|
|
70
|
+
let {
|
|
71
|
+
hideAnimation
|
|
72
|
+
} = this.state;
|
|
73
|
+
let {
|
|
74
|
+
hideAnimationDuration: duration
|
|
75
|
+
} = this.props;
|
|
76
|
+
Animated.timing(hideAnimation, {
|
|
77
|
+
toValue: animating ? 1 : 0,
|
|
78
|
+
duration,
|
|
79
|
+
useNativeDriver: false
|
|
80
|
+
}).start();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
startAnimation() {
|
|
84
|
+
let {
|
|
85
|
+
progress
|
|
86
|
+
} = this.state;
|
|
87
|
+
let {
|
|
88
|
+
interaction,
|
|
89
|
+
animationEasing,
|
|
90
|
+
animationDuration
|
|
91
|
+
} = this.props;
|
|
92
|
+
if (0 !== this.animationState) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
let animation = Animated.timing(progress, {
|
|
96
|
+
duration: animationDuration,
|
|
97
|
+
easing: animationEasing,
|
|
98
|
+
useNativeDriver: true,
|
|
99
|
+
isInteraction: interaction,
|
|
100
|
+
toValue: 1
|
|
101
|
+
});
|
|
102
|
+
Animated.loop(animation).start();
|
|
103
|
+
this.animationState = 1;
|
|
104
|
+
}
|
|
105
|
+
stopAnimation() {
|
|
106
|
+
let {
|
|
107
|
+
progress
|
|
108
|
+
} = this.state;
|
|
109
|
+
if (1 !== this.animationState) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
let listener = progress.addListener(({
|
|
113
|
+
value
|
|
114
|
+
}) => {
|
|
115
|
+
progress.removeListener(listener);
|
|
116
|
+
progress.stopAnimation(() => this.saveAnimation(value));
|
|
117
|
+
});
|
|
118
|
+
this.animationState = -1;
|
|
119
|
+
}
|
|
120
|
+
saveAnimation(value) {
|
|
121
|
+
let {
|
|
122
|
+
animating
|
|
123
|
+
} = this.props;
|
|
124
|
+
this.savedValue = value;
|
|
125
|
+
this.animationState = 0;
|
|
126
|
+
if (animating) {
|
|
127
|
+
this.resumeAnimation();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
resumeAnimation() {
|
|
131
|
+
let {
|
|
132
|
+
progress
|
|
133
|
+
} = this.state;
|
|
134
|
+
let {
|
|
135
|
+
interaction,
|
|
136
|
+
animationDuration
|
|
137
|
+
} = this.props;
|
|
138
|
+
if (0 !== this.animationState) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
Animated.timing(progress, {
|
|
142
|
+
useNativeDriver: true,
|
|
143
|
+
isInteraction: interaction,
|
|
144
|
+
duration: (1 - this.savedValue) * animationDuration,
|
|
145
|
+
toValue: 1
|
|
146
|
+
}).start(({
|
|
147
|
+
finished
|
|
148
|
+
}) => {
|
|
149
|
+
if (finished) {
|
|
150
|
+
progress.setValue(0);
|
|
151
|
+
this.animationState = 0;
|
|
152
|
+
this.startAnimation();
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
this.savedValue = 0;
|
|
156
|
+
this.animationState = 1;
|
|
157
|
+
}
|
|
158
|
+
renderComponent(_, index) {
|
|
159
|
+
let {
|
|
160
|
+
progress
|
|
161
|
+
} = this.state;
|
|
162
|
+
let {
|
|
163
|
+
renderComponent,
|
|
164
|
+
count
|
|
165
|
+
} = this.props;
|
|
166
|
+
if ("function" === typeof renderComponent) {
|
|
167
|
+
return renderComponent({
|
|
168
|
+
index,
|
|
169
|
+
count,
|
|
170
|
+
progress
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
return null;
|
|
174
|
+
}
|
|
175
|
+
render() {
|
|
176
|
+
let {
|
|
177
|
+
hideAnimation
|
|
178
|
+
} = this.state;
|
|
179
|
+
let {
|
|
180
|
+
count,
|
|
181
|
+
hidesWhenStopped,
|
|
182
|
+
...props
|
|
183
|
+
} = this.props;
|
|
184
|
+
if (hidesWhenStopped) {
|
|
185
|
+
const _style = {
|
|
186
|
+
opacity: hideAnimation
|
|
187
|
+
};
|
|
188
|
+
props.style = [].concat(props.style || [], _style);
|
|
189
|
+
}
|
|
190
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
191
|
+
...props,
|
|
192
|
+
children: Array.from(new Array(count), this.renderComponent, this)
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PropTypes","React","PureComponent","Animated","Easing","jsx","_jsx","Indicator","defaultProps","animationEasing","linear","animationDuration","hideAnimationDuration","animating","interaction","hidesWhenStopped","count","propTypes","func","number","bool","renderComponent","constructor","props","animationState","savedValue","state","progress","Value","hideAnimation","componentDidMount","startAnimation","componentDidUpdate","prevProps","resumeAnimation","stopAnimation","duration","timing","toValue","useNativeDriver","start","animation","easing","isInteraction","loop","listener","addListener","value","removeListener","saveAnimation","finished","setValue","_","index","render","_style","opacity","style","concat","View","children","Array","from"],"sourceRoot":"../../../../src","sources":["indicators/indicator/index.tsx"],"mappings":";;AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,SAASC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEhD,eAAe,MAAMC,SAAS,SAASL,aAAa,CAAC;EACnD,OAAOM,YAAY,GAAG;IACpBC,eAAe,EAAEL,MAAM,CAACM,MAAM;IAC9BC,iBAAiB,EAAE,IAAI;IACvBC,qBAAqB,EAAE,GAAG;IAE1BC,SAAS,EAAE,IAAI;IACfC,WAAW,EAAE,IAAI;IACjBC,gBAAgB,EAAE,IAAI;IAEtBC,KAAK,EAAE;EACT,CAAC;EAED,OAAOC,SAAS,GAAG;IACjBR,eAAe,EAAET,SAAS,CAACkB,IAAI;IAC/BP,iBAAiB,EAAEX,SAAS,CAACmB,MAAM;IACnCP,qBAAqB,EAAEZ,SAAS,CAACmB,MAAM;IAEvCN,SAAS,EAAEb,SAAS,CAACoB,IAAI;IACzBN,WAAW,EAAEd,SAAS,CAACoB,IAAI;IAC3BL,gBAAgB,EAAEf,SAAS,CAACoB,IAAI;IAEhCC,eAAe,EAAErB,SAAS,CAACkB,IAAI;IAC/BF,KAAK,EAAEhB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,gBAAgB;MAAE,GAAGQ;IAAW,CAAC,GAAG,IAAI,CAACA,KAAK;IAE3D,IAAIR,gBAAgB,EAAE;MACpB,MAAMwC,MAAW,GAAG;QAAEC,OAAO,EAAE3B;MAAc,CAAC;MAC9CN,KAAK,CAACkC,KAAK,GAAG,EAAE,CAACC,MAAM,CAACnC,KAAK,CAACkC,KAAK,IAAI,EAAE,EAAEF,MAAM,CAAC;IACpD;IAEA,oBACEjD,IAAA,CAACH,QAAQ,CAACwD,IAAI;MAAA,GAAKpC,KAAK;MAAAqC,QAAA,EACrBC,KAAK,CAACC,IAAI,CAAC,IAAID,KAAK,CAAC7C,KAAK,CAAC,EAAE,IAAI,CAACK,eAAe,EAAE,IAAI;IAAC,CAC5C,CAAC;EAEpB;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import React, { PureComponent } from "react";
|
|
5
|
+
import { Animated, Easing } from "react-native";
|
|
6
|
+
import Indicator from "../indicator";
|
|
7
|
+
import styles from "./styles";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
export default class MaterialIndicator extends PureComponent {
|
|
10
|
+
static defaultProps = {
|
|
11
|
+
animationDuration: 4000,
|
|
12
|
+
color: "rgb(0, 0, 0)",
|
|
13
|
+
size: 40
|
|
14
|
+
};
|
|
15
|
+
static propTypes = {
|
|
16
|
+
...Indicator.propTypes,
|
|
17
|
+
trackWidth: PropTypes.number,
|
|
18
|
+
color: PropTypes.string,
|
|
19
|
+
size: PropTypes.number
|
|
20
|
+
};
|
|
21
|
+
_renderComponent = ({
|
|
22
|
+
index,
|
|
23
|
+
progress
|
|
24
|
+
}) => {
|
|
25
|
+
let {
|
|
26
|
+
size,
|
|
27
|
+
color,
|
|
28
|
+
trackWidth: borderWidth = size / 10,
|
|
29
|
+
animationDuration
|
|
30
|
+
} = this.props;
|
|
31
|
+
let frames = 60 * animationDuration / 1000;
|
|
32
|
+
let easing = Easing.bezier(0.4, 0.0, 0.7, 1.0);
|
|
33
|
+
let sa = 7.5;
|
|
34
|
+
let ea = 30;
|
|
35
|
+
let sequences = 3;
|
|
36
|
+
let rotations = 5;
|
|
37
|
+
let inputRange = Array.from(new Array(frames), (_, frameIndex) => frameIndex / (frames - 1));
|
|
38
|
+
let outputRange = Array.from(new Array(frames), (_, frameIndex) => {
|
|
39
|
+
let progress = 2 * sequences * frameIndex / (frames - 1);
|
|
40
|
+
let rotation = index ? +(360 - sa) : -(180 - sa);
|
|
41
|
+
let sequence = Math.ceil(progress);
|
|
42
|
+
if (sequence % 2) {
|
|
43
|
+
progress = progress - sequence + 1;
|
|
44
|
+
} else {
|
|
45
|
+
progress = sequence - progress;
|
|
46
|
+
}
|
|
47
|
+
let direction = index ? -1 : +1;
|
|
48
|
+
return direction * (180 - (sa + ea)) * easing(progress) + rotation + "deg";
|
|
49
|
+
});
|
|
50
|
+
let layerStyle = {
|
|
51
|
+
width: size,
|
|
52
|
+
height: size,
|
|
53
|
+
transform: [{
|
|
54
|
+
rotate: 90 - sa + "deg"
|
|
55
|
+
}, {
|
|
56
|
+
rotate: progress.interpolate({
|
|
57
|
+
inputRange: [0, 1],
|
|
58
|
+
outputRange: ["0deg", 360 * rotations + "deg"]
|
|
59
|
+
})
|
|
60
|
+
}]
|
|
61
|
+
};
|
|
62
|
+
let viewportStyle = {
|
|
63
|
+
width: size,
|
|
64
|
+
height: size,
|
|
65
|
+
transform: [{
|
|
66
|
+
translateY: index ? -size / 2 : 0
|
|
67
|
+
}, {
|
|
68
|
+
rotate: progress.interpolate({
|
|
69
|
+
inputRange,
|
|
70
|
+
outputRange
|
|
71
|
+
})
|
|
72
|
+
}]
|
|
73
|
+
};
|
|
74
|
+
let containerStyle = {
|
|
75
|
+
width: size,
|
|
76
|
+
height: size / 2,
|
|
77
|
+
overflow: "hidden"
|
|
78
|
+
};
|
|
79
|
+
let offsetStyle = index ? {
|
|
80
|
+
top: size / 2
|
|
81
|
+
} : null;
|
|
82
|
+
let lineStyle = {
|
|
83
|
+
width: size,
|
|
84
|
+
height: size,
|
|
85
|
+
borderColor: color,
|
|
86
|
+
borderRadius: size / 2,
|
|
87
|
+
borderWidth
|
|
88
|
+
};
|
|
89
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
90
|
+
style: styles.layer,
|
|
91
|
+
key: index,
|
|
92
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
93
|
+
style: layerStyle,
|
|
94
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
95
|
+
style: [containerStyle, offsetStyle],
|
|
96
|
+
collapsable: false,
|
|
97
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
98
|
+
style: viewportStyle,
|
|
99
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
100
|
+
style: containerStyle,
|
|
101
|
+
collapsable: false,
|
|
102
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
103
|
+
style: lineStyle
|
|
104
|
+
})
|
|
105
|
+
})
|
|
106
|
+
})
|
|
107
|
+
})
|
|
108
|
+
})
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
render() {
|
|
112
|
+
let {
|
|
113
|
+
style,
|
|
114
|
+
size: width,
|
|
115
|
+
size: height,
|
|
116
|
+
...props
|
|
117
|
+
} = this.props;
|
|
118
|
+
return /*#__PURE__*/_jsx(Indicator, {
|
|
119
|
+
style: {
|
|
120
|
+
width,
|
|
121
|
+
height
|
|
122
|
+
},
|
|
123
|
+
renderComponent: this._renderComponent,
|
|
124
|
+
...props,
|
|
125
|
+
count: 2
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PropTypes","React","PureComponent","Animated","Easing","Indicator","styles","jsx","_jsx","MaterialIndicator","defaultProps","animationDuration","color","size","propTypes","trackWidth","number","string","_renderComponent","index","progress","borderWidth","props","frames","easing","bezier","sa","ea","sequences","rotations","inputRange","Array","from","_","frameIndex","outputRange","rotation","sequence","Math","ceil","direction","layerStyle","width","height","transform","rotate","interpolate","viewportStyle","translateY","containerStyle","overflow","offsetStyle","top","lineStyle","borderColor","borderRadius","View","style","layer","key","children","collapsable","render","renderComponent","count"],"sourceRoot":"../../../../src","sources":["indicators/material-indicator/index.tsx"],"mappings":";;AAAA,OAAOA,SAAS,MAAM,YAAY;AAClC,OAAOC,KAAK,IAAIC,aAAa,QAAQ,OAAO;AAC5C,SAASC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;AAE/C,OAAOC,SAAS,MAAM,cAAc;AACpC,OAAOC,MAAM,MAAM,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE9B,eAAe,MAAMC,iBAAiB,SAASP,aAAa,CAAC;EAC3D,OAAOQ,YAAY,GAAG;IACpBC,iBAAiB,EAAE,IAAI;IAEvBC,KAAK,EAAE,cAAc;IACrBC,IAAI,EAAE;EACR,CAAC;EAED,OAAOC,SAAS,GAAG;IACjB,GAAGT,SAAS,CAACS,SAAS;IAEtBC,UAAU,EAAEf,SAAS,CAACgB,MAAM;IAC5BJ,KAAK,EAAEZ,SAAS,CAACiB,MAAM;IACvBJ,IAAI,EAAEb,SAAS,CAACgB;EAClB,CAAC;EAEDE,gBAAgB,GAAGA,CAAC;IAAEC,KAAK;IAAEC;EAAc,CAAC,KAAK;IAC/C,IAAI;MACFP,IAAI;MACJD,KAAK;MACLG,UAAU,EAAEM,WAAW,GAAGR,IAAI,GAAG,EAAE;MACnCF;IACG,CAAC,GAAG,IAAI,CAACW,KAAK;IAEnB,IAAIC,MAAM,GAAI,EAAE,GAAGZ,iBAAiB,GAAI,IAAI;IAC5C,IAAIa,MAAM,GAAGpB,MAAM,CAACqB,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAE9C,IAAIC,EAAE,GAA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,CAACqD,IAAI;YAACC,KAAK,EAAEV,aAAc;YAAAa,QAAA,eAClCpD,IAAA,CAACL,QAAQ,CAACqD,IAAI;cAACC,KAAK,EAAER,cAAe;cAACY,WAAW,EAAE,KAAM;cAAAD,QAAA,eACvDpD,IAAA,CAACL,QAAQ,CAACqD,IAAI;gBAACC,KAAK,EAAEJ;cAAU,CAAE;YAAC,CACtB;UAAC,CACH;QAAC,CACH;MAAC,CACH;IAAC,CACH,CAAC;EAEpB,CAAC;EAEDS,MAAMA,CAAA,EAAG;IACP,IAAI;MAAEL,KAAK;MAAE5C,IAAI,EAAE6B,KAAK;MAAE7B,IAAI,EAAE8B,MAAM;MAAE,GAAGrB;IAAW,CAAC,GAAG,IAAI,CAACA,KAAK;IAEpE,oBACEd,IAAA,CAACH,SAAS;MACRoD,KAAK,EAAE;QAAEf,KAAK;QAAEC;MAAO,CAAE;MACzBoB,eAAe,EAAE,IAAI,CAAC7C,gBAAiB;MAAA,GACnCI,KAAK;MACT0C,KAAK,EAAE;IAAE,CACV,CAAC;EAEN;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
export default StyleSheet.create({
|
|
5
|
+
container: {
|
|
6
|
+
flex: 1,
|
|
7
|
+
justifyContent: 'center',
|
|
8
|
+
alignItems: 'center'
|
|
9
|
+
},
|
|
10
|
+
layer: {
|
|
11
|
+
...StyleSheet.absoluteFillObject,
|
|
12
|
+
justifyContent: 'center',
|
|
13
|
+
alignItems: 'center'
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","create","container","flex","justifyContent","alignItems","layer","absoluteFillObject"],"sourceRoot":"../../../../src","sources":["indicators/material-indicator/styles.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,eAAeA,UAAU,CAACC,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd,CAAC;EAEDC,KAAK,EAAE;IACL,GAAGN,UAAU,CAACO,kBAAkB;IAEhCH,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC","ignoreList":[]}
|