@webority-technologies/mobile 0.0.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 +399 -0
- package/lib/commonjs/api/publicClient.js +73 -0
- package/lib/commonjs/api/userClient.js +290 -0
- package/lib/commonjs/auth/authStore.js +107 -0
- package/lib/commonjs/auth/index.js +44 -0
- package/lib/commonjs/auth/jwt.js +84 -0
- package/lib/commonjs/components/Accordion/Accordion.js +257 -0
- package/lib/commonjs/components/Accordion/index.js +26 -0
- package/lib/commonjs/components/Avatar/Avatar.js +283 -0
- package/lib/commonjs/components/Avatar/index.js +26 -0
- package/lib/commonjs/components/Badge/Badge.js +212 -0
- package/lib/commonjs/components/Badge/index.js +20 -0
- package/lib/commonjs/components/Banner/Banner.js +276 -0
- package/lib/commonjs/components/Banner/index.js +20 -0
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +288 -0
- package/lib/commonjs/components/BottomNavigation/index.js +20 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +367 -0
- package/lib/commonjs/components/BottomSheet/index.js +20 -0
- package/lib/commonjs/components/Button/Button.js +281 -0
- package/lib/commonjs/components/Button/index.js +20 -0
- package/lib/commonjs/components/Card/Card.js +194 -0
- package/lib/commonjs/components/Card/index.js +20 -0
- package/lib/commonjs/components/Carousel/Carousel.js +475 -0
- package/lib/commonjs/components/Carousel/index.js +20 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +165 -0
- package/lib/commonjs/components/Checkbox/index.js +20 -0
- package/lib/commonjs/components/Chip/Chip.js +272 -0
- package/lib/commonjs/components/Chip/index.js +20 -0
- package/lib/commonjs/components/DatePicker/DatePicker.js +813 -0
- package/lib/commonjs/components/DatePicker/index.js +20 -0
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +622 -0
- package/lib/commonjs/components/DateRangePicker/index.js +20 -0
- package/lib/commonjs/components/Dialog/Dialog.js +215 -0
- package/lib/commonjs/components/Dialog/index.js +20 -0
- package/lib/commonjs/components/Divider/Divider.js +118 -0
- package/lib/commonjs/components/Divider/index.js +20 -0
- package/lib/commonjs/components/Drawer/Drawer.js +344 -0
- package/lib/commonjs/components/Drawer/index.js +20 -0
- package/lib/commonjs/components/EmptyState/EmptyState.js +201 -0
- package/lib/commonjs/components/EmptyState/index.js +20 -0
- package/lib/commonjs/components/FAB/FAB.js +457 -0
- package/lib/commonjs/components/FAB/index.js +26 -0
- package/lib/commonjs/components/Field/Field.js +127 -0
- package/lib/commonjs/components/Field/index.js +20 -0
- package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +81 -0
- package/lib/commonjs/components/ForceUpdateDialog/index.js +20 -0
- package/lib/commonjs/components/Header/Header.js +339 -0
- package/lib/commonjs/components/Header/index.js +20 -0
- package/lib/commonjs/components/Icon/Icon.js +120 -0
- package/lib/commonjs/components/Icon/index.js +20 -0
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +463 -0
- package/lib/commonjs/components/ImageGallery/index.js +20 -0
- package/lib/commonjs/components/Input/Input.js +390 -0
- package/lib/commonjs/components/Input/index.js +20 -0
- package/lib/commonjs/components/ListItem/ListItem.js +241 -0
- package/lib/commonjs/components/ListItem/index.js +20 -0
- package/lib/commonjs/components/LoadingSpinner/LoadingSpinner.js +183 -0
- package/lib/commonjs/components/LoadingSpinner/index.js +20 -0
- package/lib/commonjs/components/Modal/Modal.js +239 -0
- package/lib/commonjs/components/Modal/index.js +20 -0
- package/lib/commonjs/components/NumberInput/NumberInput.js +392 -0
- package/lib/commonjs/components/NumberInput/index.js +20 -0
- package/lib/commonjs/components/OTPInput/OTPInput.js +375 -0
- package/lib/commonjs/components/OTPInput/index.js +20 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +149 -0
- package/lib/commonjs/components/ProgressBar/index.js +20 -0
- package/lib/commonjs/components/Radio/Radio.js +160 -0
- package/lib/commonjs/components/Radio/RadioGroup.js +43 -0
- package/lib/commonjs/components/Radio/index.js +39 -0
- package/lib/commonjs/components/Rating/Rating.js +236 -0
- package/lib/commonjs/components/Rating/index.js +20 -0
- package/lib/commonjs/components/SearchBar/SearchBar.js +274 -0
- package/lib/commonjs/components/SearchBar/index.js +20 -0
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +184 -0
- package/lib/commonjs/components/SegmentedControl/index.js +20 -0
- package/lib/commonjs/components/Select/Select.js +540 -0
- package/lib/commonjs/components/Select/index.js +20 -0
- package/lib/commonjs/components/SkeletonLoader/SkeletonContent.js +191 -0
- package/lib/commonjs/components/SkeletonLoader/SkeletonLoader.js +311 -0
- package/lib/commonjs/components/SkeletonLoader/index.js +57 -0
- package/lib/commonjs/components/Slider/Slider.js +443 -0
- package/lib/commonjs/components/Slider/index.js +20 -0
- package/lib/commonjs/components/Stepper/Stepper.js +403 -0
- package/lib/commonjs/components/Stepper/index.js +20 -0
- package/lib/commonjs/components/Swipeable/Swipeable.js +349 -0
- package/lib/commonjs/components/Swipeable/index.js +20 -0
- package/lib/commonjs/components/Switch/Switch.js +173 -0
- package/lib/commonjs/components/Switch/index.js +20 -0
- package/lib/commonjs/components/Tabs/Tabs.js +204 -0
- package/lib/commonjs/components/Tabs/index.js +20 -0
- package/lib/commonjs/components/TimePicker/TimePicker.js +551 -0
- package/lib/commonjs/components/TimePicker/index.js +20 -0
- package/lib/commonjs/components/Toast/Toast.js +273 -0
- package/lib/commonjs/components/Toast/ToastProvider.js +195 -0
- package/lib/commonjs/components/Toast/index.js +39 -0
- package/lib/commonjs/components/Tooltip/Tooltip.js +363 -0
- package/lib/commonjs/components/Tooltip/index.js +20 -0
- package/lib/commonjs/components/index.js +392 -0
- package/lib/commonjs/config/index.js +63 -0
- package/lib/commonjs/formatters/currency.js +61 -0
- package/lib/commonjs/formatters/date.js +156 -0
- package/lib/commonjs/formatters/index.js +77 -0
- package/lib/commonjs/formatters/initials.js +28 -0
- package/lib/commonjs/formatters/number.js +76 -0
- package/lib/commonjs/formatters/phone.js +59 -0
- package/lib/commonjs/hooks/index.js +27 -0
- package/lib/commonjs/hooks/useDebounce.js +17 -0
- package/lib/commonjs/hooks/usePressAnimation.js +44 -0
- package/lib/commonjs/hooks/useToggle.js +22 -0
- package/lib/commonjs/index.js +628 -0
- package/lib/commonjs/initSDK.js +47 -0
- package/lib/commonjs/initUI.js +24 -0
- package/lib/commonjs/initUserAuth.js +40 -0
- package/lib/commonjs/logger/index.js +127 -0
- package/lib/commonjs/network/NetworkStatusBanner.js +89 -0
- package/lib/commonjs/network/index.js +32 -0
- package/lib/commonjs/network/networkStatus.js +88 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/permissions/index.js +180 -0
- package/lib/commonjs/storage/index.js +187 -0
- package/lib/commonjs/theme/ThemeContext.js +73 -0
- package/lib/commonjs/theme/index.js +93 -0
- package/lib/commonjs/theme/merge.js +30 -0
- package/lib/commonjs/theme/tokens.js +319 -0
- package/lib/commonjs/theme/types.js +6 -0
- package/lib/commonjs/types/vector-icons.d.js +2 -0
- package/lib/commonjs/utils/dimensions.js +31 -0
- package/lib/commonjs/utils/hapticUtils.js +57 -0
- package/lib/commonjs/utils/imageCompression.js +51 -0
- package/lib/commonjs/utils/index.js +83 -0
- package/lib/commonjs/utils/responsive.js +48 -0
- package/lib/commonjs/utils/shadows.js +12 -0
- package/lib/commonjs/utils/spacing.js +86 -0
- package/lib/commonjs/validators/index.js +165 -0
- package/lib/commonjs/versionCheck/index.js +338 -0
- package/lib/module/api/publicClient.js +69 -0
- package/lib/module/api/userClient.js +283 -0
- package/lib/module/auth/authStore.js +100 -0
- package/lib/module/auth/index.js +5 -0
- package/lib/module/auth/jwt.js +78 -0
- package/lib/module/components/Accordion/Accordion.js +251 -0
- package/lib/module/components/Accordion/index.js +4 -0
- package/lib/module/components/Avatar/Avatar.js +278 -0
- package/lib/module/components/Avatar/index.js +4 -0
- package/lib/module/components/Badge/Badge.js +208 -0
- package/lib/module/components/Badge/index.js +4 -0
- package/lib/module/components/Banner/Banner.js +272 -0
- package/lib/module/components/Banner/index.js +4 -0
- package/lib/module/components/BottomNavigation/BottomNavigation.js +284 -0
- package/lib/module/components/BottomNavigation/index.js +4 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +363 -0
- package/lib/module/components/BottomSheet/index.js +4 -0
- package/lib/module/components/Button/Button.js +277 -0
- package/lib/module/components/Button/index.js +4 -0
- package/lib/module/components/Card/Card.js +190 -0
- package/lib/module/components/Card/index.js +4 -0
- package/lib/module/components/Carousel/Carousel.js +471 -0
- package/lib/module/components/Carousel/index.js +4 -0
- package/lib/module/components/Checkbox/Checkbox.js +161 -0
- package/lib/module/components/Checkbox/index.js +4 -0
- package/lib/module/components/Chip/Chip.js +268 -0
- package/lib/module/components/Chip/index.js +4 -0
- package/lib/module/components/DatePicker/DatePicker.js +808 -0
- package/lib/module/components/DatePicker/index.js +4 -0
- package/lib/module/components/DateRangePicker/DateRangePicker.js +618 -0
- package/lib/module/components/DateRangePicker/index.js +4 -0
- package/lib/module/components/Dialog/Dialog.js +210 -0
- package/lib/module/components/Dialog/index.js +4 -0
- package/lib/module/components/Divider/Divider.js +114 -0
- package/lib/module/components/Divider/index.js +4 -0
- package/lib/module/components/Drawer/Drawer.js +340 -0
- package/lib/module/components/Drawer/index.js +4 -0
- package/lib/module/components/EmptyState/EmptyState.js +197 -0
- package/lib/module/components/EmptyState/index.js +4 -0
- package/lib/module/components/FAB/FAB.js +452 -0
- package/lib/module/components/FAB/index.js +4 -0
- package/lib/module/components/Field/Field.js +123 -0
- package/lib/module/components/Field/index.js +4 -0
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +75 -0
- package/lib/module/components/ForceUpdateDialog/index.js +4 -0
- package/lib/module/components/Header/Header.js +335 -0
- package/lib/module/components/Header/index.js +4 -0
- package/lib/module/components/Icon/Icon.js +111 -0
- package/lib/module/components/Icon/index.js +4 -0
- package/lib/module/components/ImageGallery/ImageGallery.js +458 -0
- package/lib/module/components/ImageGallery/index.js +4 -0
- package/lib/module/components/Input/Input.js +384 -0
- package/lib/module/components/Input/index.js +4 -0
- package/lib/module/components/ListItem/ListItem.js +237 -0
- package/lib/module/components/ListItem/index.js +4 -0
- package/lib/module/components/LoadingSpinner/LoadingSpinner.js +179 -0
- package/lib/module/components/LoadingSpinner/index.js +4 -0
- package/lib/module/components/Modal/Modal.js +235 -0
- package/lib/module/components/Modal/index.js +4 -0
- package/lib/module/components/NumberInput/NumberInput.js +388 -0
- package/lib/module/components/NumberInput/index.js +4 -0
- package/lib/module/components/OTPInput/OTPInput.js +371 -0
- package/lib/module/components/OTPInput/index.js +4 -0
- package/lib/module/components/ProgressBar/ProgressBar.js +145 -0
- package/lib/module/components/ProgressBar/index.js +4 -0
- package/lib/module/components/Radio/Radio.js +155 -0
- package/lib/module/components/Radio/RadioGroup.js +38 -0
- package/lib/module/components/Radio/index.js +5 -0
- package/lib/module/components/Rating/Rating.js +232 -0
- package/lib/module/components/Rating/index.js +4 -0
- package/lib/module/components/SearchBar/SearchBar.js +270 -0
- package/lib/module/components/SearchBar/index.js +4 -0
- package/lib/module/components/SegmentedControl/SegmentedControl.js +180 -0
- package/lib/module/components/SegmentedControl/index.js +4 -0
- package/lib/module/components/Select/Select.js +536 -0
- package/lib/module/components/Select/index.js +4 -0
- package/lib/module/components/SkeletonLoader/SkeletonContent.js +186 -0
- package/lib/module/components/SkeletonLoader/SkeletonLoader.js +301 -0
- package/lib/module/components/SkeletonLoader/index.js +5 -0
- package/lib/module/components/Slider/Slider.js +439 -0
- package/lib/module/components/Slider/index.js +4 -0
- package/lib/module/components/Stepper/Stepper.js +399 -0
- package/lib/module/components/Stepper/index.js +4 -0
- package/lib/module/components/Swipeable/Swipeable.js +344 -0
- package/lib/module/components/Swipeable/index.js +4 -0
- package/lib/module/components/Switch/Switch.js +169 -0
- package/lib/module/components/Switch/index.js +4 -0
- package/lib/module/components/Tabs/Tabs.js +200 -0
- package/lib/module/components/Tabs/index.js +4 -0
- package/lib/module/components/TimePicker/TimePicker.js +545 -0
- package/lib/module/components/TimePicker/index.js +4 -0
- package/lib/module/components/Toast/Toast.js +268 -0
- package/lib/module/components/Toast/ToastProvider.js +187 -0
- package/lib/module/components/Toast/index.js +5 -0
- package/lib/module/components/Tooltip/Tooltip.js +358 -0
- package/lib/module/components/Tooltip/index.js +4 -0
- package/lib/module/components/index.js +47 -0
- package/lib/module/config/index.js +55 -0
- package/lib/module/formatters/currency.js +56 -0
- package/lib/module/formatters/date.js +148 -0
- package/lib/module/formatters/index.js +8 -0
- package/lib/module/formatters/initials.js +23 -0
- package/lib/module/formatters/number.js +69 -0
- package/lib/module/formatters/phone.js +53 -0
- package/lib/module/hooks/index.js +6 -0
- package/lib/module/hooks/useDebounce.js +12 -0
- package/lib/module/hooks/usePressAnimation.js +39 -0
- package/lib/module/hooks/useToggle.js +17 -0
- package/lib/module/index.js +37 -0
- package/lib/module/initSDK.js +42 -0
- package/lib/module/initUI.js +19 -0
- package/lib/module/initUserAuth.js +36 -0
- package/lib/module/logger/index.js +123 -0
- package/lib/module/network/NetworkStatusBanner.js +83 -0
- package/lib/module/network/index.js +5 -0
- package/lib/module/network/networkStatus.js +81 -0
- package/lib/module/package.json +1 -0
- package/lib/module/permissions/index.js +177 -0
- package/lib/module/storage/index.js +183 -0
- package/lib/module/theme/ThemeContext.js +65 -0
- package/lib/module/theme/index.js +48 -0
- package/lib/module/theme/merge.js +25 -0
- package/lib/module/theme/tokens.js +315 -0
- package/lib/module/theme/types.js +4 -0
- package/lib/module/types/vector-icons.d.js +2 -0
- package/lib/module/utils/dimensions.js +4 -0
- package/lib/module/utils/hapticUtils.js +51 -0
- package/lib/module/utils/imageCompression.js +46 -0
- package/lib/module/utils/index.js +8 -0
- package/lib/module/utils/responsive.js +42 -0
- package/lib/module/utils/shadows.js +7 -0
- package/lib/module/utils/spacing.js +82 -0
- package/lib/module/validators/index.js +143 -0
- package/lib/module/versionCheck/index.js +334 -0
- package/lib/typescript/commonjs/api/publicClient.d.ts +11 -0
- package/lib/typescript/commonjs/api/userClient.d.ts +18 -0
- package/lib/typescript/commonjs/auth/authStore.d.ts +20 -0
- package/lib/typescript/commonjs/auth/index.d.ts +5 -0
- package/lib/typescript/commonjs/auth/jwt.d.ts +31 -0
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +33 -0
- package/lib/typescript/commonjs/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +42 -0
- package/lib/typescript/commonjs/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +27 -0
- package/lib/typescript/commonjs/components/Badge/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +27 -0
- package/lib/typescript/commonjs/components/Banner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +34 -0
- package/lib/typescript/commonjs/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +45 -0
- package/lib/typescript/commonjs/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Button/Button.d.ts +29 -0
- package/lib/typescript/commonjs/components/Button/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts +29 -0
- package/lib/typescript/commonjs/components/Card/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Carousel/Carousel.d.ts +66 -0
- package/lib/typescript/commonjs/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +24 -0
- package/lib/typescript/commonjs/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +25 -0
- package/lib/typescript/commonjs/components/Chip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +25 -0
- package/lib/typescript/commonjs/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +32 -0
- package/lib/typescript/commonjs/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +25 -0
- package/lib/typescript/commonjs/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Divider/Divider.d.ts +21 -0
- package/lib/typescript/commonjs/components/Divider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +53 -0
- package/lib/typescript/commonjs/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +25 -0
- package/lib/typescript/commonjs/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/FAB/FAB.d.ts +53 -0
- package/lib/typescript/commonjs/components/FAB/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Field/Field.d.ts +28 -0
- package/lib/typescript/commonjs/components/Field/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +39 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Header/Header.d.ts +36 -0
- package/lib/typescript/commonjs/components/Header/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Icon/Icon.d.ts +20 -0
- package/lib/typescript/commonjs/components/Icon/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ImageGallery/ImageGallery.d.ts +41 -0
- package/lib/typescript/commonjs/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Input/Input.d.ts +34 -0
- package/lib/typescript/commonjs/components/Input/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +30 -0
- package/lib/typescript/commonjs/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/LoadingSpinner/LoadingSpinner.d.ts +20 -0
- package/lib/typescript/commonjs/components/LoadingSpinner/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +29 -0
- package/lib/typescript/commonjs/components/Modal/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +35 -0
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +29 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +21 -0
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +32 -0
- package/lib/typescript/commonjs/components/Radio/RadioGroup.d.ts +16 -0
- package/lib/typescript/commonjs/components/Radio/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +22 -0
- package/lib/typescript/commonjs/components/Rating/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +28 -0
- package/lib/typescript/commonjs/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +36 -0
- package/lib/typescript/commonjs/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Select/Select.d.ts +48 -0
- package/lib/typescript/commonjs/components/Select/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SkeletonLoader/SkeletonContent.d.ts +29 -0
- package/lib/typescript/commonjs/components/SkeletonLoader/SkeletonLoader.d.ts +42 -0
- package/lib/typescript/commonjs/components/SkeletonLoader/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +33 -0
- package/lib/typescript/commonjs/components/Slider/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +25 -0
- package/lib/typescript/commonjs/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Swipeable/Swipeable.d.ts +45 -0
- package/lib/typescript/commonjs/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +24 -0
- package/lib/typescript/commonjs/components/Switch/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +37 -0
- package/lib/typescript/commonjs/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +26 -0
- package/lib/typescript/commonjs/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Toast/Toast.d.ts +30 -0
- package/lib/typescript/commonjs/components/Toast/ToastProvider.d.ts +26 -0
- package/lib/typescript/commonjs/components/Toast/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +22 -0
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/index.d.ts +89 -0
- package/lib/typescript/commonjs/config/index.d.ts +40 -0
- package/lib/typescript/commonjs/formatters/currency.d.ts +24 -0
- package/lib/typescript/commonjs/formatters/date.d.ts +22 -0
- package/lib/typescript/commonjs/formatters/index.d.ts +8 -0
- package/lib/typescript/commonjs/formatters/initials.d.ts +11 -0
- package/lib/typescript/commonjs/formatters/number.d.ts +15 -0
- package/lib/typescript/commonjs/formatters/phone.d.ts +13 -0
- package/lib/typescript/commonjs/hooks/index.d.ts +6 -0
- package/lib/typescript/commonjs/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/commonjs/hooks/usePressAnimation.d.ts +14 -0
- package/lib/typescript/commonjs/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/commonjs/index.d.ts +37 -0
- package/lib/typescript/commonjs/initSDK.d.ts +40 -0
- package/lib/typescript/commonjs/initUI.d.ts +12 -0
- package/lib/typescript/commonjs/initUserAuth.d.ts +22 -0
- package/lib/typescript/commonjs/logger/index.d.ts +42 -0
- package/lib/typescript/commonjs/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/commonjs/network/index.d.ts +5 -0
- package/lib/typescript/commonjs/network/networkStatus.d.ts +27 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/permissions/index.d.ts +20 -0
- package/lib/typescript/commonjs/storage/index.d.ts +42 -0
- package/lib/typescript/commonjs/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/commonjs/theme/index.d.ts +13 -0
- package/lib/typescript/commonjs/theme/merge.d.ts +3 -0
- package/lib/typescript/commonjs/theme/tokens.d.ts +4 -0
- package/lib/typescript/commonjs/theme/types.d.ts +161 -0
- package/lib/typescript/commonjs/utils/dimensions.d.ts +3 -0
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +4 -0
- package/lib/typescript/commonjs/utils/imageCompression.d.ts +15 -0
- package/lib/typescript/commonjs/utils/index.d.ts +10 -0
- package/lib/typescript/commonjs/utils/responsive.d.ts +23 -0
- package/lib/typescript/commonjs/utils/shadows.d.ts +4 -0
- package/lib/typescript/commonjs/utils/spacing.d.ts +61 -0
- package/lib/typescript/commonjs/validators/index.d.ts +46 -0
- package/lib/typescript/commonjs/versionCheck/index.d.ts +59 -0
- package/lib/typescript/module/api/publicClient.d.ts +11 -0
- package/lib/typescript/module/api/userClient.d.ts +18 -0
- package/lib/typescript/module/auth/authStore.d.ts +20 -0
- package/lib/typescript/module/auth/index.d.ts +5 -0
- package/lib/typescript/module/auth/jwt.d.ts +31 -0
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +33 -0
- package/lib/typescript/module/components/Accordion/index.d.ts +3 -0
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +42 -0
- package/lib/typescript/module/components/Avatar/index.d.ts +3 -0
- package/lib/typescript/module/components/Badge/Badge.d.ts +27 -0
- package/lib/typescript/module/components/Badge/index.d.ts +3 -0
- package/lib/typescript/module/components/Banner/Banner.d.ts +27 -0
- package/lib/typescript/module/components/Banner/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +34 -0
- package/lib/typescript/module/components/BottomNavigation/index.d.ts +3 -0
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +45 -0
- package/lib/typescript/module/components/BottomSheet/index.d.ts +3 -0
- package/lib/typescript/module/components/Button/Button.d.ts +29 -0
- package/lib/typescript/module/components/Button/index.d.ts +3 -0
- package/lib/typescript/module/components/Card/Card.d.ts +29 -0
- package/lib/typescript/module/components/Card/index.d.ts +3 -0
- package/lib/typescript/module/components/Carousel/Carousel.d.ts +66 -0
- package/lib/typescript/module/components/Carousel/index.d.ts +3 -0
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +24 -0
- package/lib/typescript/module/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/module/components/Chip/Chip.d.ts +25 -0
- package/lib/typescript/module/components/Chip/index.d.ts +3 -0
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +25 -0
- package/lib/typescript/module/components/DatePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +32 -0
- package/lib/typescript/module/components/DateRangePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +25 -0
- package/lib/typescript/module/components/Dialog/index.d.ts +3 -0
- package/lib/typescript/module/components/Divider/Divider.d.ts +21 -0
- package/lib/typescript/module/components/Divider/index.d.ts +3 -0
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +53 -0
- package/lib/typescript/module/components/Drawer/index.d.ts +3 -0
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +25 -0
- package/lib/typescript/module/components/EmptyState/index.d.ts +3 -0
- package/lib/typescript/module/components/FAB/FAB.d.ts +53 -0
- package/lib/typescript/module/components/FAB/index.d.ts +3 -0
- package/lib/typescript/module/components/Field/Field.d.ts +28 -0
- package/lib/typescript/module/components/Field/index.d.ts +3 -0
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +39 -0
- package/lib/typescript/module/components/ForceUpdateDialog/index.d.ts +3 -0
- package/lib/typescript/module/components/Header/Header.d.ts +36 -0
- package/lib/typescript/module/components/Header/index.d.ts +3 -0
- package/lib/typescript/module/components/Icon/Icon.d.ts +20 -0
- package/lib/typescript/module/components/Icon/index.d.ts +3 -0
- package/lib/typescript/module/components/ImageGallery/ImageGallery.d.ts +41 -0
- package/lib/typescript/module/components/ImageGallery/index.d.ts +3 -0
- package/lib/typescript/module/components/Input/Input.d.ts +34 -0
- package/lib/typescript/module/components/Input/index.d.ts +3 -0
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +30 -0
- package/lib/typescript/module/components/ListItem/index.d.ts +4 -0
- package/lib/typescript/module/components/LoadingSpinner/LoadingSpinner.d.ts +20 -0
- package/lib/typescript/module/components/LoadingSpinner/index.d.ts +3 -0
- package/lib/typescript/module/components/Modal/Modal.d.ts +29 -0
- package/lib/typescript/module/components/Modal/index.d.ts +3 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +35 -0
- package/lib/typescript/module/components/NumberInput/index.d.ts +3 -0
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +29 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts +3 -0
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +21 -0
- package/lib/typescript/module/components/ProgressBar/index.d.ts +3 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +32 -0
- package/lib/typescript/module/components/Radio/RadioGroup.d.ts +16 -0
- package/lib/typescript/module/components/Radio/index.d.ts +5 -0
- package/lib/typescript/module/components/Rating/Rating.d.ts +22 -0
- package/lib/typescript/module/components/Rating/index.d.ts +3 -0
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +28 -0
- package/lib/typescript/module/components/SearchBar/index.d.ts +3 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +36 -0
- package/lib/typescript/module/components/SegmentedControl/index.d.ts +3 -0
- package/lib/typescript/module/components/Select/Select.d.ts +48 -0
- package/lib/typescript/module/components/Select/index.d.ts +3 -0
- package/lib/typescript/module/components/SkeletonLoader/SkeletonContent.d.ts +29 -0
- package/lib/typescript/module/components/SkeletonLoader/SkeletonLoader.d.ts +42 -0
- package/lib/typescript/module/components/SkeletonLoader/index.d.ts +5 -0
- package/lib/typescript/module/components/Slider/Slider.d.ts +33 -0
- package/lib/typescript/module/components/Slider/index.d.ts +3 -0
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +25 -0
- package/lib/typescript/module/components/Stepper/index.d.ts +3 -0
- package/lib/typescript/module/components/Swipeable/Swipeable.d.ts +45 -0
- package/lib/typescript/module/components/Swipeable/index.d.ts +3 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +24 -0
- package/lib/typescript/module/components/Switch/index.d.ts +3 -0
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +37 -0
- package/lib/typescript/module/components/Tabs/index.d.ts +3 -0
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +26 -0
- package/lib/typescript/module/components/TimePicker/index.d.ts +3 -0
- package/lib/typescript/module/components/Toast/Toast.d.ts +30 -0
- package/lib/typescript/module/components/Toast/ToastProvider.d.ts +26 -0
- package/lib/typescript/module/components/Toast/index.d.ts +5 -0
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +22 -0
- package/lib/typescript/module/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/module/components/index.d.ts +89 -0
- package/lib/typescript/module/config/index.d.ts +40 -0
- package/lib/typescript/module/formatters/currency.d.ts +24 -0
- package/lib/typescript/module/formatters/date.d.ts +22 -0
- package/lib/typescript/module/formatters/index.d.ts +8 -0
- package/lib/typescript/module/formatters/initials.d.ts +11 -0
- package/lib/typescript/module/formatters/number.d.ts +15 -0
- package/lib/typescript/module/formatters/phone.d.ts +13 -0
- package/lib/typescript/module/hooks/index.d.ts +6 -0
- package/lib/typescript/module/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/module/hooks/usePressAnimation.d.ts +14 -0
- package/lib/typescript/module/hooks/useToggle.d.ts +9 -0
- package/lib/typescript/module/index.d.ts +37 -0
- package/lib/typescript/module/initSDK.d.ts +40 -0
- package/lib/typescript/module/initUI.d.ts +12 -0
- package/lib/typescript/module/initUserAuth.d.ts +22 -0
- package/lib/typescript/module/logger/index.d.ts +42 -0
- package/lib/typescript/module/network/NetworkStatusBanner.d.ts +19 -0
- package/lib/typescript/module/network/index.d.ts +5 -0
- package/lib/typescript/module/network/networkStatus.d.ts +27 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/permissions/index.d.ts +20 -0
- package/lib/typescript/module/storage/index.d.ts +42 -0
- package/lib/typescript/module/theme/ThemeContext.d.ts +18 -0
- package/lib/typescript/module/theme/index.d.ts +13 -0
- package/lib/typescript/module/theme/merge.d.ts +3 -0
- package/lib/typescript/module/theme/tokens.d.ts +4 -0
- package/lib/typescript/module/theme/types.d.ts +161 -0
- package/lib/typescript/module/utils/dimensions.d.ts +3 -0
- package/lib/typescript/module/utils/hapticUtils.d.ts +4 -0
- package/lib/typescript/module/utils/imageCompression.d.ts +15 -0
- package/lib/typescript/module/utils/index.d.ts +10 -0
- package/lib/typescript/module/utils/responsive.d.ts +23 -0
- package/lib/typescript/module/utils/shadows.d.ts +4 -0
- package/lib/typescript/module/utils/spacing.d.ts +61 -0
- package/lib/typescript/module/validators/index.d.ts +46 -0
- package/lib/typescript/module/versionCheck/index.d.ts +59 -0
- package/package.json +137 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Returns up to `maxChars` uppercase initials from a name.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* getInitials('Navneet Singh') // 'NS'
|
|
8
|
+
* getInitials('mary anne lee', 3) // 'MAL'
|
|
9
|
+
* getInitials('navneet') // 'NA'
|
|
10
|
+
* getInitials(' ') // ''
|
|
11
|
+
*/
|
|
12
|
+
export const getInitials = (name, maxChars = 2) => {
|
|
13
|
+
if (!name) return '';
|
|
14
|
+
const trimmed = name.trim();
|
|
15
|
+
if (!trimmed) return '';
|
|
16
|
+
const parts = trimmed.split(/\s+/);
|
|
17
|
+
if (parts.length === 1) {
|
|
18
|
+
const single = parts[0] ?? '';
|
|
19
|
+
return single.slice(0, maxChars).toUpperCase();
|
|
20
|
+
}
|
|
21
|
+
return parts.slice(0, maxChars).map(p => (p[0] ?? '').toUpperCase()).join('');
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=initials.js.map
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const hasIntlNumber = () => typeof Intl !== 'undefined' && typeof Intl.NumberFormat === 'function';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Locale-aware number formatter. Defaults to `'en-IN'` (Indian grouping).
|
|
7
|
+
*/
|
|
8
|
+
export const formatNumber = (value, fractionDigits, locale = 'en-IN') => {
|
|
9
|
+
if (value == null || Number.isNaN(value)) return '';
|
|
10
|
+
if (hasIntlNumber()) {
|
|
11
|
+
try {
|
|
12
|
+
const opts = {};
|
|
13
|
+
if (fractionDigits != null) {
|
|
14
|
+
opts.minimumFractionDigits = fractionDigits;
|
|
15
|
+
opts.maximumFractionDigits = fractionDigits;
|
|
16
|
+
}
|
|
17
|
+
return new Intl.NumberFormat(locale, opts).format(value);
|
|
18
|
+
} catch {
|
|
19
|
+
/* fall through */
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return fractionDigits != null ? value.toFixed(fractionDigits) : String(value);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Format a 0–1 ratio (or 0–100 percent) as a percent string.
|
|
27
|
+
* Pass `asRatio: false` if your input is already on the 0–100 scale.
|
|
28
|
+
*/
|
|
29
|
+
export const formatPercent = (value, fractionDigits = 0, asRatio = true, locale = 'en-IN') => {
|
|
30
|
+
if (value == null || Number.isNaN(value)) return '';
|
|
31
|
+
const ratio = asRatio ? value : value / 100;
|
|
32
|
+
if (hasIntlNumber()) {
|
|
33
|
+
try {
|
|
34
|
+
return new Intl.NumberFormat(locale, {
|
|
35
|
+
style: 'percent',
|
|
36
|
+
minimumFractionDigits: fractionDigits,
|
|
37
|
+
maximumFractionDigits: fractionDigits
|
|
38
|
+
}).format(ratio);
|
|
39
|
+
} catch {
|
|
40
|
+
/* fall through */
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return `${(ratio * 100).toFixed(fractionDigits)}%`;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Format a number compactly (1.2K, 3.4M, 1.5L, 2.3Cr).
|
|
48
|
+
* Defaults to Indian compact notation via `'en-IN'` locale (lakh / crore).
|
|
49
|
+
*/
|
|
50
|
+
export const formatCompactNumber = (value, locale = 'en-IN') => {
|
|
51
|
+
if (value == null || Number.isNaN(value)) return '';
|
|
52
|
+
if (hasIntlNumber()) {
|
|
53
|
+
try {
|
|
54
|
+
return new Intl.NumberFormat(locale, {
|
|
55
|
+
notation: 'compact',
|
|
56
|
+
maximumFractionDigits: 1
|
|
57
|
+
}).format(value);
|
|
58
|
+
} catch {
|
|
59
|
+
/* fall through */
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
const abs = Math.abs(value);
|
|
63
|
+
const sign = value < 0 ? '-' : '';
|
|
64
|
+
if (abs >= 1e7) return `${sign}${(abs / 1e7).toFixed(1)}Cr`;
|
|
65
|
+
if (abs >= 1e5) return `${sign}${(abs / 1e5).toFixed(1)}L`;
|
|
66
|
+
if (abs >= 1e3) return `${sign}${(abs / 1e3).toFixed(1)}K`;
|
|
67
|
+
return `${value}`;
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=number.js.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Strip everything except digits and a leading `+` (preserved if present).
|
|
5
|
+
*/
|
|
6
|
+
export const normalizePhone = input => {
|
|
7
|
+
if (!input) return '';
|
|
8
|
+
const trimmed = input.trim();
|
|
9
|
+
const hasPlus = trimmed.startsWith('+');
|
|
10
|
+
const digits = trimmed.replace(/\D/g, '');
|
|
11
|
+
return hasPlus ? `+${digits}` : digits;
|
|
12
|
+
};
|
|
13
|
+
const groupIndianMobile = digits => {
|
|
14
|
+
// Indian mobile is 10 digits: format as `XXXXX XXXXX`.
|
|
15
|
+
if (digits.length !== 10) return digits;
|
|
16
|
+
return `${digits.slice(0, 5)} ${digits.slice(5)}`;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Format a phone number for human display.
|
|
21
|
+
*
|
|
22
|
+
* - Indian mobile (10 digits) → `XXXXX XXXXX`
|
|
23
|
+
* - With `+91` country code → `+91 XXXXX XXXXX`
|
|
24
|
+
* - Other inputs are returned as `+CC NNNN NNNN…` best-effort grouping.
|
|
25
|
+
*/
|
|
26
|
+
export const formatPhone = (input, defaultCountryCode = '+91') => {
|
|
27
|
+
if (!input) return '';
|
|
28
|
+
const normalized = normalizePhone(input);
|
|
29
|
+
if (!normalized) return '';
|
|
30
|
+
|
|
31
|
+
// Already starts with +
|
|
32
|
+
if (normalized.startsWith('+')) {
|
|
33
|
+
const rest = normalized.slice(1);
|
|
34
|
+
// Indian
|
|
35
|
+
if (rest.startsWith('91') && rest.length === 12) {
|
|
36
|
+
return `+91 ${groupIndianMobile(rest.slice(2))}`;
|
|
37
|
+
}
|
|
38
|
+
// Generic — split country code (first 1–3 digits) and group the rest in 4s.
|
|
39
|
+
const ccLen = rest.length > 11 ? 3 : rest.length > 10 ? 2 : 1;
|
|
40
|
+
const cc = rest.slice(0, ccLen);
|
|
41
|
+
const number = rest.slice(ccLen);
|
|
42
|
+
const grouped = number.replace(/(.{4})(?=.)/g, '$1 ').trim();
|
|
43
|
+
return `+${cc} ${grouped}`.trim();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// No country code; assume default if length matches Indian mobile.
|
|
47
|
+
if (normalized.length === 10) {
|
|
48
|
+
return `${defaultCountryCode} ${groupIndianMobile(normalized)}`;
|
|
49
|
+
}
|
|
50
|
+
// Otherwise just return groups of 4.
|
|
51
|
+
return normalized.replace(/(.{4})(?=.)/g, '$1 ').trim();
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=phone.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useState } from 'react';
|
|
4
|
+
export const useDebounce = (value, delay = 300) => {
|
|
5
|
+
const [debounced, setDebounced] = useState(value);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
const handle = setTimeout(() => setDebounced(value), delay);
|
|
8
|
+
return () => clearTimeout(handle);
|
|
9
|
+
}, [value, delay]);
|
|
10
|
+
return debounced;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useDebounce.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useCallback, useRef } from 'react';
|
|
4
|
+
import { Animated, Easing } from 'react-native';
|
|
5
|
+
import { useTheme } from "../theme/index.js";
|
|
6
|
+
export const usePressAnimation = ({
|
|
7
|
+
scaleTo = 0.97,
|
|
8
|
+
pressDuration,
|
|
9
|
+
releaseDuration,
|
|
10
|
+
enabled = true
|
|
11
|
+
} = {}) => {
|
|
12
|
+
const theme = useTheme();
|
|
13
|
+
const scale = useRef(new Animated.Value(1)).current;
|
|
14
|
+
const pressIn = useCallback(() => {
|
|
15
|
+
if (!enabled) return;
|
|
16
|
+
Animated.timing(scale, {
|
|
17
|
+
toValue: scaleTo,
|
|
18
|
+
duration: pressDuration ?? theme.motion.duration.fast,
|
|
19
|
+
easing: Easing.bezier(...theme.motion.easing.standard),
|
|
20
|
+
useNativeDriver: true
|
|
21
|
+
}).start();
|
|
22
|
+
}, [enabled, scale, scaleTo, pressDuration, theme]);
|
|
23
|
+
const pressOut = useCallback(() => {
|
|
24
|
+
if (!enabled) return;
|
|
25
|
+
Animated.spring(scale, {
|
|
26
|
+
toValue: 1,
|
|
27
|
+
damping: theme.motion.spring.snappy.damping,
|
|
28
|
+
stiffness: theme.motion.spring.snappy.stiffness,
|
|
29
|
+
mass: theme.motion.spring.snappy.mass,
|
|
30
|
+
useNativeDriver: true
|
|
31
|
+
}).start();
|
|
32
|
+
}, [enabled, scale, theme]);
|
|
33
|
+
return {
|
|
34
|
+
scale,
|
|
35
|
+
pressIn,
|
|
36
|
+
pressOut
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=usePressAnimation.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useCallback, useState } from 'react';
|
|
4
|
+
export const useToggle = (initial = false) => {
|
|
5
|
+
const [value, setValue] = useState(initial);
|
|
6
|
+
const toggle = useCallback(() => setValue(v => !v), []);
|
|
7
|
+
const setOn = useCallback(() => setValue(true), []);
|
|
8
|
+
const setOff = useCallback(() => setValue(false), []);
|
|
9
|
+
return {
|
|
10
|
+
value,
|
|
11
|
+
toggle,
|
|
12
|
+
setOn,
|
|
13
|
+
setOff,
|
|
14
|
+
setValue
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=useToggle.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// Initialization
|
|
4
|
+
export { initWebority } from "./initSDK.js";
|
|
5
|
+
export { initUserAuth } from "./initUserAuth.js";
|
|
6
|
+
export { initUI } from "./initUI.js";
|
|
7
|
+
// Configuration
|
|
8
|
+
export { setConfig, getConfig, getConfigValue, resetConfig } from "./config/index.js";
|
|
9
|
+
// API clients
|
|
10
|
+
export { default as publicClient } from "./api/publicClient.js";
|
|
11
|
+
export { default as userClient, injectStore, injectAuthActions } from "./api/userClient.js";
|
|
12
|
+
// Auth / token storage
|
|
13
|
+
export { storeToken, getToken, removeToken } from "./auth/authStore.js";
|
|
14
|
+
export { decodeJWT, isJWTExpired, getJWTExpiry } from "./auth/jwt.js";
|
|
15
|
+
// Storage
|
|
16
|
+
export { Storage, setStorageImplementation } from "./storage/index.js";
|
|
17
|
+
// Logger
|
|
18
|
+
export { Logger, setRemoteLogger } from "./logger/index.js";
|
|
19
|
+
// Version check
|
|
20
|
+
export { VersionCheck, useVersionCheck } from "./versionCheck/index.js";
|
|
21
|
+
// Theme
|
|
22
|
+
export { ThemeProvider, useTheme, useThemeMode, setTheme, setColorMode, getColorMode, getTheme, resetTheme, subscribeTheme, mergeTheme, lightTheme, darkTheme } from "./theme/index.js";
|
|
23
|
+
// Hooks
|
|
24
|
+
export { useToggle, useDebounce, usePressAnimation } from "./hooks/index.js";
|
|
25
|
+
// Utils
|
|
26
|
+
export { ScreenDimensions, Breakpoints, Responsive, isScreenSize, isTablet, Spacing, Padding, Margin, triggerHaptic, setHapticImplementation, shadowStyle, compressImage } from "./utils/index.js";
|
|
27
|
+
// Formatters
|
|
28
|
+
export { formatDate, formatTime, formatDateTime, formatRelativeTime, formatPhone, normalizePhone, formatCurrency, formatNumber, formatPercent, formatCompactNumber, getInitials } from "./formatters/index.js";
|
|
29
|
+
// Validators
|
|
30
|
+
export { isNonEmpty, isEmail, isIndianMobile, isPhone, isUrl, isNumeric, isInteger, isAlphanumeric, isStrongPassword, isIndianPincode, isPan, isGstin, isAadhaar, isIfsc, isHexColor, isBetween, minLength, maxLength } from "./validators/index.js";
|
|
31
|
+
// Network
|
|
32
|
+
export { useNetworkStatus, getNetworkStatus, addNetworkStatusListener, NetworkStatusBanner } from "./network/index.js";
|
|
33
|
+
// Permissions
|
|
34
|
+
export { Permissions } from "./permissions/index.js";
|
|
35
|
+
// Components
|
|
36
|
+
export * from "./components/index.js";
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Simple initialization API for Webority packages
|
|
5
|
+
* One function to configure everything needed
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { setConfig } from "./config/index.js";
|
|
9
|
+
/**
|
|
10
|
+
* Initialize Webority packages with your project configuration.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* // Basic setup
|
|
14
|
+
* initWebority({
|
|
15
|
+
* baseUrl: 'https://api.myapp.com'
|
|
16
|
+
* });
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* // Full configuration
|
|
20
|
+
* initWebority({
|
|
21
|
+
* baseUrl: 'https://api.myapp.com',
|
|
22
|
+
* loggingEnabled: __DEV__,
|
|
23
|
+
* logLevel: 'warn',
|
|
24
|
+
* environment: __DEV__ ? 'Development' : 'Production'
|
|
25
|
+
* });
|
|
26
|
+
*/
|
|
27
|
+
export const initWebority = config => {
|
|
28
|
+
if (!config.baseUrl) {
|
|
29
|
+
throw new Error('baseUrl is required for Webority packages initialization');
|
|
30
|
+
}
|
|
31
|
+
setConfig({
|
|
32
|
+
baseUrl: config.baseUrl,
|
|
33
|
+
loggingEnabled: config.loggingEnabled ?? true,
|
|
34
|
+
logLevel: config.logLevel || 'info',
|
|
35
|
+
environment: config.environment || 'Development',
|
|
36
|
+
country: (config.country || 'in').toLowerCase()
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
// eslint-disable-next-line no-console
|
|
40
|
+
console.log('✅ Webority packages initialized successfully');
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=initSDK.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { setColorMode, setTheme } from "./theme/index.js";
|
|
4
|
+
/**
|
|
5
|
+
* Configure the global functional theme API used outside of React tree
|
|
6
|
+
* (use ThemeProvider for React-tree consumers; both can coexist).
|
|
7
|
+
*/
|
|
8
|
+
export const initUI = (options = {}) => {
|
|
9
|
+
if (options.defaultMode) {
|
|
10
|
+
setColorMode(options.defaultMode);
|
|
11
|
+
}
|
|
12
|
+
if (options.light) {
|
|
13
|
+
setTheme(options.light, 'light');
|
|
14
|
+
}
|
|
15
|
+
if (options.dark) {
|
|
16
|
+
setTheme(options.dark, 'dark');
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=initUI.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Simple initialization API for Webority User package
|
|
5
|
+
* Easy setup for Redux integration
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { injectStore, injectAuthActions } from "./api/userClient.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Auth action creators required by the user package.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Initialize user package with Redux store and auth actions.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* import store from './store';
|
|
19
|
+
* import { logout, refreshToken } from './actions/authActions';
|
|
20
|
+
*
|
|
21
|
+
* initUserAuth(store, { logout, refreshToken });
|
|
22
|
+
*/
|
|
23
|
+
export const initUserAuth = (store, authActions) => {
|
|
24
|
+
if (!store) {
|
|
25
|
+
throw new Error('Redux store is required for user package initialization');
|
|
26
|
+
}
|
|
27
|
+
if (!authActions.logout || !authActions.refreshToken) {
|
|
28
|
+
throw new Error('Both logout and refreshToken actions are required');
|
|
29
|
+
}
|
|
30
|
+
injectStore(store);
|
|
31
|
+
injectAuthActions(authActions);
|
|
32
|
+
|
|
33
|
+
// eslint-disable-next-line no-console
|
|
34
|
+
console.log('✅ Webority User package initialized with Redux');
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=initUserAuth.js.map
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { getConfigValue } from "../config/index.js";
|
|
4
|
+
|
|
5
|
+
// ANSI color codes
|
|
6
|
+
const Colors = {
|
|
7
|
+
RESET: '\x1b[0m',
|
|
8
|
+
BLUE: '\x1b[34m',
|
|
9
|
+
YELLOW: '\x1b[33m',
|
|
10
|
+
RED_BOLD: '\x1b[31;1m'
|
|
11
|
+
};
|
|
12
|
+
const LogLevels = {
|
|
13
|
+
INFO: {
|
|
14
|
+
level: 'info',
|
|
15
|
+
color: Colors.BLUE
|
|
16
|
+
},
|
|
17
|
+
WARN: {
|
|
18
|
+
level: 'warn',
|
|
19
|
+
color: Colors.YELLOW
|
|
20
|
+
},
|
|
21
|
+
ERROR: {
|
|
22
|
+
level: 'error',
|
|
23
|
+
color: Colors.RED_BOLD
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// Check if a specific log level is allowed
|
|
28
|
+
const isLogLevelAllowed = level => {
|
|
29
|
+
const levels = ['info', 'warn', 'error'];
|
|
30
|
+
const current = getConfigValue('logLevel', 'info');
|
|
31
|
+
return levels.indexOf(level) >= levels.indexOf(current);
|
|
32
|
+
};
|
|
33
|
+
const isEnabled = () => getConfigValue('loggingEnabled', true);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Optional remote sink. Apps wire this via `setRemoteLogger()` to forward errors
|
|
37
|
+
* and breadcrumbs to Crashlytics, Sentry, Bugsnag, etc. — without making the
|
|
38
|
+
* library depend on any of them.
|
|
39
|
+
*
|
|
40
|
+
* Every method is optional; the library calls only what the adapter implements.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
let remote = null;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Inject a remote logger adapter (e.g. Firebase Crashlytics, Sentry).
|
|
47
|
+
* Pass `null` to detach. Safe to call before or after `initWebority`.
|
|
48
|
+
*/
|
|
49
|
+
export const setRemoteLogger = impl => {
|
|
50
|
+
remote = impl;
|
|
51
|
+
};
|
|
52
|
+
const safe = fn => {
|
|
53
|
+
if (!fn) return;
|
|
54
|
+
try {
|
|
55
|
+
fn();
|
|
56
|
+
} catch {
|
|
57
|
+
/* never let the remote sink break the caller */
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
const toErrorObject = input => {
|
|
61
|
+
if (input instanceof Error) return input;
|
|
62
|
+
if (typeof input === 'string') return new Error(input);
|
|
63
|
+
try {
|
|
64
|
+
return new Error(JSON.stringify(input));
|
|
65
|
+
} catch {
|
|
66
|
+
return new Error(String(input));
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
const logInfo = (message, ...optionalParams) => {
|
|
70
|
+
if (!isEnabled() || !isLogLevelAllowed(LogLevels.INFO.level)) return;
|
|
71
|
+
console.info(`${LogLevels.INFO.color}[INFO]: ${message}${Colors.RESET}`, ...optionalParams);
|
|
72
|
+
safe(() => remote?.log?.('info', message, optionalParams));
|
|
73
|
+
};
|
|
74
|
+
const logWarning = (message, ...optionalParams) => {
|
|
75
|
+
if (!isEnabled() || !isLogLevelAllowed(LogLevels.WARN.level)) return;
|
|
76
|
+
console.warn(`${LogLevels.WARN.color}[WARNING]: ${message}${Colors.RESET}`, ...optionalParams);
|
|
77
|
+
safe(() => remote?.log?.('warn', message, optionalParams));
|
|
78
|
+
};
|
|
79
|
+
const logError = (message, ...optionalParams) => {
|
|
80
|
+
if (isEnabled() && isLogLevelAllowed(LogLevels.ERROR.level)) {
|
|
81
|
+
console.error(`${LogLevels.ERROR.color}[ERROR]: ${message}${Colors.RESET}`, ...optionalParams);
|
|
82
|
+
}
|
|
83
|
+
// Always forward errors to the remote sink — even when console logging is muted —
|
|
84
|
+
// so production crash reporting still works with `loggingEnabled: false`.
|
|
85
|
+
safe(() => remote?.log?.('error', message, optionalParams));
|
|
86
|
+
// First optional param is treated as the underlying error if it looks like one.
|
|
87
|
+
const candidate = optionalParams[0];
|
|
88
|
+
if (candidate !== undefined) {
|
|
89
|
+
safe(() => remote?.recordError?.(toErrorObject(candidate), {
|
|
90
|
+
source: 'Logger.error',
|
|
91
|
+
message
|
|
92
|
+
}));
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
const breadcrumb = (message, data) => {
|
|
96
|
+
if (isEnabled() && isLogLevelAllowed('info')) {
|
|
97
|
+
console.info(`${Colors.BLUE}[BREADCRUMB]: ${message}${Colors.RESET}`, data ?? '');
|
|
98
|
+
}
|
|
99
|
+
safe(() => remote?.breadcrumb?.(message, data));
|
|
100
|
+
};
|
|
101
|
+
const recordError = (error, context) => {
|
|
102
|
+
const err = toErrorObject(error);
|
|
103
|
+
if (isEnabled() && isLogLevelAllowed('error')) {
|
|
104
|
+
console.error(`${Colors.RED_BOLD}[RECORDED]: ${err.message}${Colors.RESET}`, context ?? '');
|
|
105
|
+
}
|
|
106
|
+
safe(() => remote?.recordError?.(err, context));
|
|
107
|
+
};
|
|
108
|
+
const setUser = (id, attrs) => {
|
|
109
|
+
safe(() => remote?.setUser?.(id, attrs));
|
|
110
|
+
};
|
|
111
|
+
const setAttribute = (key, value) => {
|
|
112
|
+
safe(() => remote?.setAttribute?.(key, value));
|
|
113
|
+
};
|
|
114
|
+
export const Logger = {
|
|
115
|
+
info: logInfo,
|
|
116
|
+
warn: logWarning,
|
|
117
|
+
error: logError,
|
|
118
|
+
breadcrumb,
|
|
119
|
+
recordError,
|
|
120
|
+
setUser,
|
|
121
|
+
setAttribute
|
|
122
|
+
};
|
|
123
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useEffect, useMemo, useRef } from 'react';
|
|
4
|
+
import { Animated, StyleSheet, Text } from 'react-native';
|
|
5
|
+
import { useTheme } from "../theme/index.js";
|
|
6
|
+
import { useNetworkStatus } from "./networkStatus.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
/**
|
|
9
|
+
* A subtle animated banner that slides in when the device goes offline.
|
|
10
|
+
* Mount once near the app root (above your navigation tree).
|
|
11
|
+
*/
|
|
12
|
+
export const NetworkStatusBanner = ({
|
|
13
|
+
message = 'You are offline. Some features may be unavailable.',
|
|
14
|
+
position = 'top',
|
|
15
|
+
style,
|
|
16
|
+
disabled = false
|
|
17
|
+
}) => {
|
|
18
|
+
const theme = useTheme();
|
|
19
|
+
const {
|
|
20
|
+
isConnected,
|
|
21
|
+
isInternetReachable
|
|
22
|
+
} = useNetworkStatus();
|
|
23
|
+
const offline = !disabled && (!isConnected || isInternetReachable === false);
|
|
24
|
+
const slide = useRef(new Animated.Value(0)).current;
|
|
25
|
+
const opacity = useRef(new Animated.Value(0)).current;
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
Animated.parallel([Animated.timing(slide, {
|
|
28
|
+
toValue: offline ? 1 : 0,
|
|
29
|
+
duration: theme.motion.duration.normal,
|
|
30
|
+
useNativeDriver: true
|
|
31
|
+
}), Animated.timing(opacity, {
|
|
32
|
+
toValue: offline ? 1 : 0,
|
|
33
|
+
duration: theme.motion.duration.normal,
|
|
34
|
+
useNativeDriver: true
|
|
35
|
+
})]).start();
|
|
36
|
+
}, [offline, slide, opacity, theme.motion.duration.normal]);
|
|
37
|
+
const styles = useMemo(() => buildStyles(), []);
|
|
38
|
+
const translateY = slide.interpolate({
|
|
39
|
+
inputRange: [0, 1],
|
|
40
|
+
outputRange: [position === 'top' ? -56 : 56, 0]
|
|
41
|
+
});
|
|
42
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
43
|
+
pointerEvents: offline ? 'auto' : 'none',
|
|
44
|
+
accessibilityRole: "alert",
|
|
45
|
+
accessibilityLiveRegion: offline ? 'polite' : 'none',
|
|
46
|
+
style: [styles.container, position === 'top' ? styles.top : styles.bottom, {
|
|
47
|
+
backgroundColor: theme.colors.error,
|
|
48
|
+
opacity,
|
|
49
|
+
transform: [{
|
|
50
|
+
translateY
|
|
51
|
+
}]
|
|
52
|
+
}, style],
|
|
53
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
54
|
+
style: {
|
|
55
|
+
color: theme.colors.text.inverse,
|
|
56
|
+
fontSize: theme.typography.fontSize.sm,
|
|
57
|
+
fontWeight: theme.typography.fontWeight.semibold,
|
|
58
|
+
textAlign: 'center'
|
|
59
|
+
},
|
|
60
|
+
numberOfLines: 2,
|
|
61
|
+
children: message
|
|
62
|
+
})
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
const buildStyles = () => StyleSheet.create({
|
|
66
|
+
container: {
|
|
67
|
+
position: 'absolute',
|
|
68
|
+
left: 0,
|
|
69
|
+
right: 0,
|
|
70
|
+
paddingVertical: 10,
|
|
71
|
+
paddingHorizontal: 16,
|
|
72
|
+
zIndex: 1000,
|
|
73
|
+
elevation: 8
|
|
74
|
+
},
|
|
75
|
+
top: {
|
|
76
|
+
top: 0
|
|
77
|
+
},
|
|
78
|
+
bottom: {
|
|
79
|
+
bottom: 0
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
export default NetworkStatusBanner;
|
|
83
|
+
//# sourceMappingURL=NetworkStatusBanner.js.map
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useState } from 'react';
|
|
4
|
+
import { Logger } from "../logger/index.js";
|
|
5
|
+
const DEFAULT_STATUS = {
|
|
6
|
+
isConnected: true,
|
|
7
|
+
isInternetReachable: null,
|
|
8
|
+
type: 'unknown'
|
|
9
|
+
};
|
|
10
|
+
let netInfo = null;
|
|
11
|
+
let resolved = false;
|
|
12
|
+
const resolveNetInfo = () => {
|
|
13
|
+
if (resolved) return netInfo;
|
|
14
|
+
resolved = true;
|
|
15
|
+
try {
|
|
16
|
+
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
17
|
+
const mod = require('@react-native-community/netinfo');
|
|
18
|
+
/* eslint-enable */
|
|
19
|
+
netInfo = mod.default ?? mod;
|
|
20
|
+
} catch {
|
|
21
|
+
Logger.warn('[network] @react-native-community/netinfo is not installed; ' + 'useNetworkStatus() will report a default "online" status.');
|
|
22
|
+
netInfo = null;
|
|
23
|
+
}
|
|
24
|
+
return netInfo;
|
|
25
|
+
};
|
|
26
|
+
const normalize = state => {
|
|
27
|
+
if (!state) return DEFAULT_STATUS;
|
|
28
|
+
return {
|
|
29
|
+
isConnected: state.isConnected !== false,
|
|
30
|
+
isInternetReachable: state.isInternetReachable,
|
|
31
|
+
type: state.type ?? 'unknown'
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Imperative one-shot fetch of current network status. Resolves to the default
|
|
37
|
+
* online status when NetInfo is unavailable so callers never crash.
|
|
38
|
+
*/
|
|
39
|
+
export const getNetworkStatus = async () => {
|
|
40
|
+
const ni = resolveNetInfo();
|
|
41
|
+
if (!ni) return DEFAULT_STATUS;
|
|
42
|
+
try {
|
|
43
|
+
const state = await ni.fetch();
|
|
44
|
+
return normalize(state);
|
|
45
|
+
} catch (error) {
|
|
46
|
+
Logger.error('[network] getNetworkStatus failed', error);
|
|
47
|
+
return DEFAULT_STATUS;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Subscribe to network status changes. Returns an unsubscribe function.
|
|
53
|
+
*/
|
|
54
|
+
export const addNetworkStatusListener = listener => {
|
|
55
|
+
const ni = resolveNetInfo();
|
|
56
|
+
if (!ni) return () => undefined;
|
|
57
|
+
return ni.addEventListener(state => listener(normalize(state)));
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* React hook that returns the current network status and re-renders on change.
|
|
62
|
+
* Reports an optimistic online default when NetInfo is not installed.
|
|
63
|
+
*/
|
|
64
|
+
export const useNetworkStatus = () => {
|
|
65
|
+
const [status, setStatus] = useState(DEFAULT_STATUS);
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
let mounted = true;
|
|
68
|
+
void getNetworkStatus().then(s => {
|
|
69
|
+
if (mounted) setStatus(s);
|
|
70
|
+
});
|
|
71
|
+
const unsubscribe = addNetworkStatusListener(s => {
|
|
72
|
+
if (mounted) setStatus(s);
|
|
73
|
+
});
|
|
74
|
+
return () => {
|
|
75
|
+
mounted = false;
|
|
76
|
+
unsubscribe();
|
|
77
|
+
};
|
|
78
|
+
}, []);
|
|
79
|
+
return status;
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=networkStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|