@jenesei-software/jenesei-kit-react 1.3.40 → 2.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 +0 -37
- package/build/AnimatePresence-19yP-TCg.js +134 -0
- package/build/AnimatePresence-19yP-TCg.js.map +1 -0
- package/build/AnimatePresence-BdBJCJuf.cjs +11 -0
- package/build/AnimatePresence-BdBJCJuf.cjs.map +1 -0
- package/build/area-outside.cjs.js +1 -2
- package/build/area-outside.d.ts +2 -28
- package/build/area-outside.es.js +2 -3
- package/build/area-preview.cjs.js +1 -2
- package/build/area-preview.d.ts +2 -48
- package/build/area-preview.es.js +3 -5
- package/build/area-skeleton.cjs.js +1 -2
- package/build/area-skeleton.d.ts +2 -68
- package/build/area-skeleton.es.js +2 -4
- package/build/areas/outside/area.d.ts +7 -0
- package/build/areas/outside/index.d.ts +1 -0
- package/build/areas/preview/area.d.ts +3 -0
- package/build/areas/preview/area.hooks.d.ts +1 -0
- package/build/areas/preview/area.types.d.ts +19 -0
- package/build/areas/preview/index.d.ts +3 -0
- package/build/areas/skeleton/area.d.ts +3 -0
- package/build/areas/skeleton/area.types.d.ts +21 -0
- package/build/areas/skeleton/index.d.ts +2 -0
- package/build/build-info.txt +3 -3
- package/build/button-BbGiFvok.js +102 -0
- package/build/button-BbGiFvok.js.map +1 -0
- package/build/button-BuPpgfL_.cjs +3 -0
- package/build/button-BuPpgfL_.cjs.map +1 -0
- package/build/checkbox-CXxWDklX.js +98 -0
- package/build/checkbox-CXxWDklX.js.map +1 -0
- package/build/checkbox-qgc_Ntc3.cjs +3 -0
- package/build/checkbox-qgc_Ntc3.cjs.map +1 -0
- package/build/chunk-Dd8m0Ver.cjs +1 -0
- package/build/chunk-cI0lbGMq.js +31 -0
- package/build/component-BHyXT2-h.js +71 -0
- package/build/component-BHyXT2-h.js.map +1 -0
- package/build/component-button.cjs.js +1 -2
- package/build/component-button.d.ts +2 -208
- package/build/component-button.es.js +2 -5
- package/build/component-checkbox.cjs.js +1 -2
- package/build/component-checkbox.d.ts +2 -208
- package/build/component-checkbox.es.js +2 -8
- package/build/component-date-picker.cjs.js +1 -2
- package/build/component-date-picker.d.ts +2 -582
- package/build/component-date-picker.es.js +2 -19
- package/build/component-icon.cjs.js +1 -2
- package/build/component-icon.d.ts +2 -136
- package/build/component-icon.es.js +4 -8
- package/build/component-input-otp.cjs.js +1 -2
- package/build/component-input-otp.d.ts +2 -211
- package/build/component-input-otp.es.js +2 -7
- package/build/component-input.cjs.js +1 -2
- package/build/component-input.d.ts +2 -286
- package/build/component-input.es.js +2 -18
- package/build/component-jsn2T8Hu.cjs +3 -0
- package/build/component-jsn2T8Hu.cjs.map +1 -0
- package/build/component-pagination.cjs.js +1 -2
- package/build/component-pagination.d.ts +2 -196
- package/build/component-pagination.es.js +2 -4
- package/build/component-popover.cjs.js +1 -0
- package/build/component-popover.d.ts +2 -0
- package/build/component-popover.es.js +5 -0
- package/build/component-select.cjs.js +1 -2
- package/build/component-select.d.ts +2 -411
- package/build/component-select.es.js +6 -18
- package/build/component-separator.cjs.js +1 -2
- package/build/component-separator.d.ts +2 -49
- package/build/component-separator.es.js +2 -5
- package/build/component-stack.cjs.js +1 -2
- package/build/component-stack.d.ts +2 -72
- package/build/component-stack.es.js +3 -6
- package/build/component-textarea.cjs.js +1 -2
- package/build/component-textarea.d.ts +2 -202
- package/build/component-textarea.es.js +2 -6
- package/build/component-toggle.cjs.js +1 -2
- package/build/component-toggle.d.ts +2 -150
- package/build/component-toggle.es.js +2 -6
- package/build/component-tooltip.cjs.js +1 -2
- package/build/component-tooltip.d.ts +2 -360
- package/build/component-tooltip.es.js +2 -10
- package/build/component-typography.cjs.js +1 -2
- package/build/component-typography.d.ts +2 -316
- package/build/component-typography.es.js +3 -9
- package/build/components/button/component.d.ts +3 -0
- package/build/components/button/component.types.d.ts +41 -0
- package/build/components/button/index.d.ts +2 -0
- package/build/components/checkbox/component.d.ts +3 -0
- package/build/components/checkbox/component.types.d.ts +51 -0
- package/build/components/checkbox/index.d.ts +2 -0
- package/build/components/date-picker/component.d.ts +2 -0
- package/build/components/date-picker/component.types.d.ts +86 -0
- package/build/components/date-picker/index.d.ts +2 -0
- package/build/components/error/component.d.ts +3 -0
- package/build/components/error/component.types.d.ts +11 -0
- package/build/components/error/index.d.ts +2 -0
- package/build/components/icon/component.consts.d.ts +6 -0
- package/build/components/icon/component.d.ts +9 -0
- package/build/components/icon/component.functions.d.ts +2 -0
- package/build/components/icon/component.hooks.d.ts +5 -0
- package/build/components/icon/component.types.d.ts +47 -0
- package/build/components/icon/index.d.ts +4 -0
- package/build/components/input/component.d.ts +6 -0
- package/build/components/input/component.types.d.ts +78 -0
- package/build/components/input/index.d.ts +2 -0
- package/build/components/input-otp/component.d.ts +2 -0
- package/build/components/input-otp/component.types.d.ts +8 -0
- package/build/components/input-otp/index.d.ts +2 -0
- package/build/components/pagination/component.constants.d.ts +1 -0
- package/build/components/pagination/component.d.ts +3 -0
- package/build/components/pagination/component.types.d.ts +22 -0
- package/build/components/pagination/index.d.ts +2 -0
- package/build/components/popover/component.constants.d.ts +3 -0
- package/build/components/popover/component.d.ts +34 -0
- package/build/components/popover/component.types.d.ts +113 -0
- package/build/components/popover/index.d.ts +2 -0
- package/build/components/select/component.d.ts +4 -0
- package/build/components/select/component.examples.d.ts +6 -0
- package/build/components/select/component.types.d.ts +109 -0
- package/build/components/select/index.d.ts +3 -0
- package/build/components/separator/component.d.ts +3 -0
- package/build/components/separator/component.types.d.ts +10 -0
- package/build/components/separator/index.d.ts +2 -0
- package/build/components/stack/component.d.ts +4 -0
- package/build/components/stack/component.types.d.ts +20 -0
- package/build/components/stack/index.d.ts +2 -0
- package/build/components/textarea/component.d.ts +2 -0
- package/build/components/textarea/component.types.d.ts +67 -0
- package/build/components/textarea/index.d.ts +2 -0
- package/build/components/toggle/component.d.ts +2 -0
- package/build/components/toggle/component.types.d.ts +25 -0
- package/build/components/toggle/index.d.ts +2 -0
- package/build/components/tooltip/component.constants.d.ts +3 -0
- package/build/components/tooltip/component.d.ts +4 -0
- package/build/components/tooltip/component.types.d.ts +12 -0
- package/build/components/tooltip/index.d.ts +2 -0
- package/build/components/typography/component.d.ts +3 -0
- package/build/components/typography/component.types.d.ts +18 -0
- package/build/components/typography/index.d.ts +2 -0
- package/build/components-error.cjs.js +1 -0
- package/build/components-error.d.ts +2 -0
- package/build/components-error.es.js +4 -0
- package/build/context-app-CMK9g6MI.js +417 -0
- package/build/context-app-CMK9g6MI.js.map +1 -0
- package/build/context-app-HhFcx1wY.cjs +9 -0
- package/build/context-app-HhFcx1wY.cjs.map +1 -0
- package/build/context-app.cjs.js +1 -2
- package/build/context-app.d.ts +2 -224
- package/build/context-app.es.js +3 -19
- package/build/context-browser-theme-Cb6siWO0.js +35 -0
- package/build/context-browser-theme-Cb6siWO0.js.map +1 -0
- package/build/context-browser-theme-Cso_rAT5.cjs +3 -0
- package/build/context-browser-theme-Cso_rAT5.cjs.map +1 -0
- package/build/context-browser-theme.cjs.js +1 -0
- package/build/context-browser-theme.d.ts +2 -0
- package/build/context-browser-theme.es.js +5 -0
- package/build/context-cookie-5CBhf-gb.js +138 -0
- package/build/context-cookie-5CBhf-gb.js.map +1 -0
- package/build/context-cookie-Btkd2aXy.cjs +3 -0
- package/build/context-cookie-Btkd2aXy.cjs.map +1 -0
- package/build/context-cookie.cjs.js +1 -2
- package/build/context-cookie.d.ts +2 -67
- package/build/context-cookie.es.js +3 -8
- package/build/context-dialog-B67-_jMH.cjs +3 -0
- package/build/context-dialog-B67-_jMH.cjs.map +1 -0
- package/build/context-dialog-CxGGmBqC.js +176 -0
- package/build/context-dialog-CxGGmBqC.js.map +1 -0
- package/build/context-dialog.cjs.js +1 -2
- package/build/context-dialog.d.ts +2 -106
- package/build/context-dialog.es.js +4 -17
- package/build/context-geolocation-C7PYGQ2g.js +42 -0
- package/build/context-geolocation-C7PYGQ2g.js.map +1 -0
- package/build/context-geolocation-CV4hV0NX.cjs +3 -0
- package/build/context-geolocation-CV4hV0NX.cjs.map +1 -0
- package/build/context-geolocation.cjs.js +1 -2
- package/build/context-geolocation.d.ts +2 -22
- package/build/context-geolocation.es.js +3 -6
- package/build/context-local-storage-Bb_vktd8.js +83 -0
- package/build/context-local-storage-Bb_vktd8.js.map +1 -0
- package/build/context-local-storage-DUKHVPAA.cjs +3 -0
- package/build/context-local-storage-DUKHVPAA.cjs.map +1 -0
- package/build/context-local-storage.cjs.js +1 -2
- package/build/context-local-storage.d.ts +2 -54
- package/build/context-local-storage.es.js +3 -8
- package/build/context-permission-Co4BKDOu.js +77 -0
- package/build/context-permission-Co4BKDOu.js.map +1 -0
- package/build/context-permission-DrcIwK9y.cjs +3 -0
- package/build/context-permission-DrcIwK9y.cjs.map +1 -0
- package/build/context-permission.cjs.js +1 -2
- package/build/context-permission.d.ts +2 -28
- package/build/context-permission.es.js +3 -7
- package/build/context-screen-width-CFexCIzV.js +53 -0
- package/build/context-screen-width-CFexCIzV.js.map +1 -0
- package/build/context-screen-width-hcRkxzy7.cjs +3 -0
- package/build/context-screen-width-hcRkxzy7.cjs.map +1 -0
- package/build/context-screen-width.cjs.js +1 -2
- package/build/context-screen-width.d.ts +2 -34
- package/build/context-screen-width.es.js +3 -5
- package/build/context-sonner-4gBa1F7G.cjs +3 -0
- package/build/context-sonner-4gBa1F7G.cjs.map +1 -0
- package/build/context-sonner-qDPLFpD5.js +218 -0
- package/build/context-sonner-qDPLFpD5.js.map +1 -0
- package/build/context-sonner.cjs.js +1 -2
- package/build/context-sonner.d.ts +2 -457
- package/build/context-sonner.es.js +3 -20
- package/build/contexts/context-app/context.d.ts +33 -0
- package/build/contexts/context-app/context.hooks.d.ts +2 -0
- package/build/contexts/context-app/context.styles.d.ts +14 -0
- package/build/contexts/context-app/context.types.d.ts +87 -0
- package/build/contexts/context-app/index.d.ts +2 -0
- package/build/contexts/context-browser-theme/context.d.ts +4 -0
- package/build/contexts/context-browser-theme/context.hooks.d.ts +2 -0
- package/build/contexts/context-browser-theme/context.types.d.ts +12 -0
- package/build/contexts/context-browser-theme/index.d.ts +2 -0
- package/build/contexts/context-cookie/context.d.ts +27 -0
- package/build/contexts/context-cookie/context.functions.d.ts +3 -0
- package/build/contexts/context-cookie/context.hooks.d.ts +9 -0
- package/build/contexts/context-cookie/context.types.d.ts +18 -0
- package/build/contexts/context-cookie/index.d.ts +3 -0
- package/build/contexts/context-dialog/context.constants.d.ts +8 -0
- package/build/contexts/context-dialog/context.d.ts +4 -0
- package/build/contexts/context-dialog/context.hooks.d.ts +3 -0
- package/build/contexts/context-dialog/context.styles.d.ts +9 -0
- package/build/contexts/context-dialog/context.types.d.ts +47 -0
- package/build/contexts/context-dialog/index.d.ts +3 -0
- package/build/contexts/context-geolocation/context.d.ts +4 -0
- package/build/contexts/context-geolocation/context.hooks.d.ts +2 -0
- package/build/contexts/context-geolocation/context.types.d.ts +10 -0
- package/build/contexts/context-geolocation/index.d.ts +2 -0
- package/build/contexts/context-local-storage/context.d.ts +21 -0
- package/build/contexts/context-local-storage/context.functions.d.ts +2 -0
- package/build/contexts/context-local-storage/context.hooks.d.ts +5 -0
- package/build/contexts/context-local-storage/context.types.d.ts +16 -0
- package/build/contexts/context-local-storage/index.d.ts +3 -0
- package/build/contexts/context-permission/context.d.ts +3 -0
- package/build/contexts/context-permission/context.functions.d.ts +1 -0
- package/build/contexts/context-permission/context.hooks.d.ts +5 -0
- package/build/contexts/context-permission/context.types.d.ts +11 -0
- package/build/contexts/context-permission/index.d.ts +2 -0
- package/build/contexts/context-screen-width/context.d.ts +4 -0
- package/build/contexts/context-screen-width/context.hooks.d.ts +2 -0
- package/build/contexts/context-screen-width/context.types.d.ts +11 -0
- package/build/contexts/context-screen-width/index.d.ts +3 -0
- package/build/contexts/context-sonner/context.constants.d.ts +9 -0
- package/build/contexts/context-sonner/context.d.ts +4 -0
- package/build/contexts/context-sonner/context.hooks.d.ts +2 -0
- package/build/contexts/context-sonner/context.styles.d.ts +30 -0
- package/build/contexts/context-sonner/context.types.d.ts +59 -0
- package/build/contexts/context-sonner/index.d.ts +3 -0
- package/build/cores/consts.d.ts +30 -0
- package/build/{functions.d.ts → cores/functions.d.ts} +18 -22
- package/build/cores/logger.d.ts +1 -0
- package/build/cores/types.d.ts +18 -0
- package/build/date-picker-CPNNIEa-.cjs +3 -0
- package/build/date-picker-CPNNIEa-.cjs.map +1 -0
- package/build/date-picker-Uuce_InW.js +689 -0
- package/build/date-picker-Uuce_InW.js.map +1 -0
- package/build/dist-BV0C3tLK.js +483 -0
- package/build/dist-BV0C3tLK.js.map +1 -0
- package/build/dist-DswBAjW1.cjs +3 -0
- package/build/dist-DswBAjW1.cjs.map +1 -0
- package/build/error-DzkkNL2H.cjs +3 -0
- package/build/error-DzkkNL2H.cjs.map +1 -0
- package/build/error-L2fvWcNv.js +50 -0
- package/build/error-L2fvWcNv.js.map +1 -0
- package/build/functions-CLGf7hqw.js +20 -0
- package/build/functions-CLGf7hqw.js.map +1 -0
- package/build/functions-Dwo54amB.cjs +3 -0
- package/build/functions-Dwo54amB.cjs.map +1 -0
- package/build/hooks/use-debounced-callback/index.d.ts +1 -0
- package/build/hooks/use-debounced-callback/use.d.ts +1 -0
- package/build/hooks/use-deep-compare-memoize/index.d.ts +1 -0
- package/build/hooks/use-deep-compare-memoize/use.d.ts +1 -0
- package/build/hooks/use-deep-memo/index.d.ts +1 -0
- package/build/hooks/use-deep-memo/use.d.ts +1 -0
- package/build/hooks/use-merge-refs/index.d.ts +1 -0
- package/build/hooks/use-merge-refs/use.d.ts +2 -0
- package/build/hooks/use-overflowing/index.d.ts +2 -0
- package/build/hooks/use-overflowing/use.d.ts +12 -0
- package/build/hooks/use-overflowing/use.types.d.ts +6 -0
- package/build/hooks/use-overflowing-advanced/index.d.ts +2 -0
- package/build/hooks/use-overflowing-advanced/use.d.ts +7 -0
- package/build/hooks/use-overflowing-advanced/use.types.d.ts +5 -0
- package/build/hooks/use-overflowing-in-container/index.d.ts +2 -0
- package/build/hooks/use-overflowing-in-container/use.d.ts +7 -0
- package/build/hooks/use-overflowing-in-container/use.types.d.ts +7 -0
- package/build/hooks/use-responsive-layout/index.d.ts +1 -0
- package/build/hooks/use-responsive-layout/use.d.ts +2 -0
- package/build/hooks/use-typography-styles/index.d.ts +2 -0
- package/build/hooks/use-typography-styles/use.d.ts +2 -0
- package/build/hooks/use-typography-styles/use.types.d.ts +11 -0
- package/build/hooks-use-debounced-callback.cjs.js +3 -2
- package/build/hooks-use-debounced-callback.cjs.js.map +1 -1
- package/build/hooks-use-debounced-callback.d.ts +2 -3
- package/build/hooks-use-debounced-callback.es.js +12 -3
- package/build/hooks-use-debounced-callback.es.js.map +1 -1
- package/build/hooks-use-deep-compare-memoize.cjs.js +3 -2
- package/build/hooks-use-deep-compare-memoize.cjs.js.map +1 -1
- package/build/hooks-use-deep-compare-memoize.d.ts +2 -3
- package/build/hooks-use-deep-compare-memoize.es.js +10 -3
- package/build/hooks-use-deep-compare-memoize.es.js.map +1 -1
- package/build/hooks-use-deep-memo.cjs.js +3 -0
- package/build/hooks-use-deep-memo.cjs.js.map +1 -0
- package/build/hooks-use-deep-memo.d.ts +2 -0
- package/build/hooks-use-deep-memo.es.js +13 -0
- package/build/hooks-use-deep-memo.es.js.map +1 -0
- package/build/hooks-use-merge-refs.cjs.js +3 -0
- package/build/hooks-use-merge-refs.cjs.js.map +1 -0
- package/build/hooks-use-merge-refs.d.ts +2 -0
- package/build/hooks-use-merge-refs.es.js +13 -0
- package/build/hooks-use-merge-refs.es.js.map +1 -0
- package/build/hooks-use-overflowing-advanced.cjs.js +3 -0
- package/build/hooks-use-overflowing-advanced.cjs.js.map +1 -0
- package/build/hooks-use-overflowing-advanced.d.ts +2 -0
- package/build/hooks-use-overflowing-advanced.es.js +24 -0
- package/build/hooks-use-overflowing-advanced.es.js.map +1 -0
- package/build/hooks-use-overflowing-in-container.cjs.js +3 -0
- package/build/hooks-use-overflowing-in-container.cjs.js.map +1 -0
- package/build/hooks-use-overflowing-in-container.d.ts +2 -0
- package/build/hooks-use-overflowing-in-container.es.js +20 -0
- package/build/hooks-use-overflowing-in-container.es.js.map +1 -0
- package/build/hooks-use-overflowing.cjs.js +3 -0
- package/build/hooks-use-overflowing.cjs.js.map +1 -0
- package/build/hooks-use-overflowing.d.ts +2 -0
- package/build/hooks-use-overflowing.es.js +28 -0
- package/build/hooks-use-overflowing.es.js.map +1 -0
- package/build/hooks-use-responsive-layout.cjs.js +3 -0
- package/build/hooks-use-responsive-layout.cjs.js.map +1 -0
- package/build/hooks-use-responsive-layout.d.ts +2 -0
- package/build/hooks-use-responsive-layout.es.js +22 -0
- package/build/hooks-use-responsive-layout.es.js.map +1 -0
- package/build/hooks-use-typography-styles.cjs.js +3 -0
- package/build/hooks-use-typography-styles.cjs.js.map +1 -0
- package/build/hooks-use-typography-styles.d.ts +2 -0
- package/build/hooks-use-typography-styles.es.js +37 -0
- package/build/hooks-use-typography-styles.es.js.map +1 -0
- package/build/icon-CoIQwke4.cjs +3 -0
- package/build/icon-CoIQwke4.cjs.map +1 -0
- package/build/icon-DzAWOQJg.js +277 -0
- package/build/icon-DzAWOQJg.js.map +1 -0
- package/build/index.cjs.js +1 -2
- package/build/index.d.ts +39 -2494
- package/build/index.es.js +104 -309
- package/build/input-CV02F03L.js +917 -0
- package/build/input-CV02F03L.js.map +1 -0
- package/build/input-otp-B9cYxJ7X.js +106 -0
- package/build/input-otp-B9cYxJ7X.js.map +1 -0
- package/build/input-otp-BVRCfoRK.cjs +3 -0
- package/build/input-otp-BVRCfoRK.cjs.map +1 -0
- package/build/input-zXF5f99Z.cjs +11 -0
- package/build/input-zXF5f99Z.cjs.map +1 -0
- package/build/isEqual-DeC2HFe5.cjs +3 -0
- package/build/isEqual-DeC2HFe5.cjs.map +1 -0
- package/build/isEqual-Qb81B2zH.js +676 -0
- package/build/isEqual-Qb81B2zH.js.map +1 -0
- package/build/logger-BRWLzI5S.js +174 -0
- package/build/logger-BRWLzI5S.js.map +1 -0
- package/build/logger-DZFY33QY.cjs +5 -0
- package/build/logger-DZFY33QY.cjs.map +1 -0
- package/build/motion-CAPq8wSn.cjs +3 -0
- package/build/motion-CAPq8wSn.cjs.map +1 -0
- package/build/motion-Dt6TyEjN.js +128 -0
- package/build/motion-Dt6TyEjN.js.map +1 -0
- package/build/outside-B3nRnDGb.cjs +3 -0
- package/build/outside-B3nRnDGb.cjs.map +1 -0
- package/build/outside-DpK1pI8b.js +24 -0
- package/build/outside-DpK1pI8b.js.map +1 -0
- package/build/pagination-Dbs4Lrpt.cjs +3 -0
- package/build/pagination-Dbs4Lrpt.cjs.map +1 -0
- package/build/pagination-YXSjZsMZ.js +110 -0
- package/build/pagination-YXSjZsMZ.js.map +1 -0
- package/build/popover-1k1MNFwv.js +1948 -0
- package/build/popover-1k1MNFwv.js.map +1 -0
- package/build/popover-CgwGn-55.cjs +3 -0
- package/build/popover-CgwGn-55.cjs.map +1 -0
- package/build/preview-C_yFxoFH.js +65 -0
- package/build/preview-C_yFxoFH.js.map +1 -0
- package/build/preview-dT7fmxcc.cjs +3 -0
- package/build/preview-dT7fmxcc.cjs.map +1 -0
- package/build/proxy-_gZenxVU.cjs +3 -0
- package/build/proxy-_gZenxVU.cjs.map +1 -0
- package/build/proxy-wCWa57J3.js +4354 -0
- package/build/proxy-wCWa57J3.js.map +1 -0
- package/build/select-B0adRX2_.cjs +9 -0
- package/build/select-B0adRX2_.cjs.map +1 -0
- package/build/select-D7EyxR2l.js +3443 -0
- package/build/select-D7EyxR2l.js.map +1 -0
- package/build/separator-CbeH8Lug.cjs +3 -0
- package/build/separator-CbeH8Lug.cjs.map +1 -0
- package/build/separator-hWp-s54-.js +29 -0
- package/build/separator-hWp-s54-.js.map +1 -0
- package/build/skeleton-BoVFwt7y.cjs +3 -0
- package/build/skeleton-BoVFwt7y.cjs.map +1 -0
- package/build/skeleton-DNwTI6w0.js +39 -0
- package/build/skeleton-DNwTI6w0.js.map +1 -0
- package/build/style-motion.cjs.js +1 -2
- package/build/style-motion.d.ts +2 -20
- package/build/style-motion.es.js +5 -6
- package/build/style-utils.cjs.js +1 -0
- package/build/style-utils.d.ts +2 -0
- package/build/style-utils.es.js +7 -0
- package/build/styles/motion/index.d.ts +1 -0
- package/build/styles/motion/motion.d.ts +13 -0
- package/build/styles/utils/constants.d.ts +1797 -0
- package/build/styles/utils/functions.d.ts +3 -0
- package/build/styles/utils/index.d.ts +3 -0
- package/build/styles/utils/types.d.ts +68 -0
- package/build/textarea-CbZSeqGR.cjs +3 -0
- package/build/textarea-CbZSeqGR.cjs.map +1 -0
- package/build/textarea-ChkjV_Ha.js +132 -0
- package/build/textarea-ChkjV_Ha.js.map +1 -0
- package/build/toggle-I6YvEX4w.js +86 -0
- package/build/toggle-I6YvEX4w.js.map +1 -0
- package/build/toggle-gYw5FUp-.cjs +3 -0
- package/build/toggle-gYw5FUp-.cjs.map +1 -0
- package/build/typography-B2KioMfq.js +116 -0
- package/build/typography-B2KioMfq.js.map +1 -0
- package/build/typography-DcxhX_9e.cjs +3 -0
- package/build/typography-DcxhX_9e.cjs.map +1 -0
- package/build/utils-Cona48dZ.js +925 -0
- package/build/utils-Cona48dZ.js.map +1 -0
- package/build/utils-DtinAjAU.cjs +3 -0
- package/build/utils-DtinAjAU.cjs.map +1 -0
- package/build/v4-BDi_Luux.cjs +3 -0
- package/build/v4-BDi_Luux.cjs.map +1 -0
- package/build/v4-CYaPyb-W.js +31 -0
- package/build/v4-CYaPyb-W.js.map +1 -0
- package/package.json +185 -194
- package/build/area-0BNtBqG8.cjs +0 -2
- package/build/area-0BNtBqG8.cjs.map +0 -1
- package/build/area-B6xxVQ87.js +0 -35
- package/build/area-B6xxVQ87.js.map +0 -1
- package/build/area-B7-4IFQB.js +0 -19
- package/build/area-B7-4IFQB.js.map +0 -1
- package/build/area-DxKLtDFZ.cjs +0 -2
- package/build/area-DxKLtDFZ.cjs.map +0 -1
- package/build/area-outside.cjs.js.map +0 -1
- package/build/area-outside.es.js.map +0 -1
- package/build/area-preview.cjs.js.map +0 -1
- package/build/area-preview.es.js.map +0 -1
- package/build/area-scroll.cjs.js +0 -2
- package/build/area-scroll.cjs.js.map +0 -1
- package/build/area-scroll.d.ts +0 -57
- package/build/area-scroll.es.js +0 -7
- package/build/area-scroll.es.js.map +0 -1
- package/build/area-skeleton.cjs.js.map +0 -1
- package/build/area-skeleton.es.js.map +0 -1
- package/build/area-smooth.cjs.js +0 -2
- package/build/area-smooth.cjs.js.map +0 -1
- package/build/area-smooth.d.ts +0 -37
- package/build/area-smooth.es.js +0 -5
- package/build/area-smooth.es.js.map +0 -1
- package/build/area.hooks-Bk04M7mk.js +0 -26
- package/build/area.hooks-Bk04M7mk.js.map +0 -1
- package/build/area.hooks-C_UKZzcb.cjs +0 -2
- package/build/area.hooks-C_UKZzcb.cjs.map +0 -1
- package/build/area.styles-Cpx4H0gc.cjs +0 -27
- package/build/area.styles-Cpx4H0gc.cjs.map +0 -1
- package/build/area.styles-DhCCEhuq.js +0 -32
- package/build/area.styles-DhCCEhuq.js.map +0 -1
- package/build/component-B72M2Tpw.js +0 -84
- package/build/component-B72M2Tpw.js.map +0 -1
- package/build/component-BIxOOifU.cjs +0 -2
- package/build/component-BIxOOifU.cjs.map +0 -1
- package/build/component-BMIqhbpK.js +0 -23
- package/build/component-BMIqhbpK.js.map +0 -1
- package/build/component-BQru5uoj.js +0 -10
- package/build/component-BQru5uoj.js.map +0 -1
- package/build/component-BRCDQbb-.js +0 -50
- package/build/component-BRCDQbb-.js.map +0 -1
- package/build/component-BUkf5TLO.js +0 -170
- package/build/component-BUkf5TLO.js.map +0 -1
- package/build/component-BmccRQ_Y.cjs +0 -2
- package/build/component-BmccRQ_Y.cjs.map +0 -1
- package/build/component-Bvq-fgCN.cjs +0 -2
- package/build/component-Bvq-fgCN.cjs.map +0 -1
- package/build/component-C448kBTA.js +0 -443
- package/build/component-C448kBTA.js.map +0 -1
- package/build/component-C6I01Mel.cjs +0 -2
- package/build/component-C6I01Mel.cjs.map +0 -1
- package/build/component-C8mTuBua.js +0 -74
- package/build/component-C8mTuBua.js.map +0 -1
- package/build/component-CVWsmIlg.cjs +0 -2
- package/build/component-CVWsmIlg.cjs.map +0 -1
- package/build/component-C_6x7Mk8.js +0 -88
- package/build/component-C_6x7Mk8.js.map +0 -1
- package/build/component-CbWtsuhz.js +0 -60
- package/build/component-CbWtsuhz.js.map +0 -1
- package/build/component-Cfs39n8Q.js +0 -21
- package/build/component-Cfs39n8Q.js.map +0 -1
- package/build/component-CoOTSdM5.cjs +0 -28
- package/build/component-CoOTSdM5.cjs.map +0 -1
- package/build/component-Cu2i_-RT.cjs +0 -2
- package/build/component-Cu2i_-RT.cjs.map +0 -1
- package/build/component-CyZbUCkT.js +0 -39
- package/build/component-CyZbUCkT.js.map +0 -1
- package/build/component-D-HMYzXU.js +0 -65
- package/build/component-D-HMYzXU.js.map +0 -1
- package/build/component-D2vDwS60.cjs +0 -2
- package/build/component-D2vDwS60.cjs.map +0 -1
- package/build/component-D3KCIC-G.js +0 -64
- package/build/component-D3KCIC-G.js.map +0 -1
- package/build/component-DJAq34yj.cjs +0 -2
- package/build/component-DJAq34yj.cjs.map +0 -1
- package/build/component-DRMRXUJA.cjs +0 -2
- package/build/component-DRMRXUJA.cjs.map +0 -1
- package/build/component-DfSTPgfj.js +0 -248
- package/build/component-DfSTPgfj.js.map +0 -1
- package/build/component-DqV_-YxZ.cjs +0 -2
- package/build/component-DqV_-YxZ.cjs.map +0 -1
- package/build/component-DrmSI_ni.cjs +0 -2
- package/build/component-DrmSI_ni.cjs.map +0 -1
- package/build/component-Qxjnm7yi.cjs +0 -2
- package/build/component-Qxjnm7yi.cjs.map +0 -1
- package/build/component-WmDPzhcW.cjs +0 -2
- package/build/component-WmDPzhcW.cjs.map +0 -1
- package/build/component-accordion.cjs.js +0 -2
- package/build/component-accordion.cjs.js.map +0 -1
- package/build/component-accordion.d.ts +0 -100
- package/build/component-accordion.es.js +0 -11
- package/build/component-accordion.es.js.map +0 -1
- package/build/component-button-group.cjs.js +0 -2
- package/build/component-button-group.cjs.js.map +0 -1
- package/build/component-button-group.d.ts +0 -195
- package/build/component-button-group.es.js +0 -7
- package/build/component-button-group.es.js.map +0 -1
- package/build/component-button.cjs.js.map +0 -1
- package/build/component-button.es.js.map +0 -1
- package/build/component-checkbox-group.cjs.js +0 -2
- package/build/component-checkbox-group.cjs.js.map +0 -1
- package/build/component-checkbox-group.d.ts +0 -224
- package/build/component-checkbox-group.es.js +0 -12
- package/build/component-checkbox-group.es.js.map +0 -1
- package/build/component-checkbox.cjs.js.map +0 -1
- package/build/component-checkbox.es.js.map +0 -1
- package/build/component-date-picker.cjs.js.map +0 -1
- package/build/component-date-picker.es.js.map +0 -1
- package/build/component-gcvwlILJ.js +0 -76
- package/build/component-gcvwlILJ.js.map +0 -1
- package/build/component-icon.cjs.js.map +0 -1
- package/build/component-icon.es.js.map +0 -1
- package/build/component-image-button.cjs.js +0 -2
- package/build/component-image-button.cjs.js.map +0 -1
- package/build/component-image-button.d.ts +0 -215
- package/build/component-image-button.es.js +0 -5
- package/build/component-image-button.es.js.map +0 -1
- package/build/component-image-select.cjs.js +0 -2
- package/build/component-image-select.cjs.js.map +0 -1
- package/build/component-image-select.d.ts +0 -313
- package/build/component-image-select.es.js +0 -12
- package/build/component-image-select.es.js.map +0 -1
- package/build/component-image-slider.cjs.js +0 -2
- package/build/component-image-slider.cjs.js.map +0 -1
- package/build/component-image-slider.d.ts +0 -108
- package/build/component-image-slider.es.js +0 -9
- package/build/component-image-slider.es.js.map +0 -1
- package/build/component-image.cjs.js +0 -2
- package/build/component-image.cjs.js.map +0 -1
- package/build/component-image.d.ts +0 -51
- package/build/component-image.es.js +0 -7
- package/build/component-image.es.js.map +0 -1
- package/build/component-input-otp.cjs.js.map +0 -1
- package/build/component-input-otp.es.js.map +0 -1
- package/build/component-input.cjs.js.map +0 -1
- package/build/component-input.es.js.map +0 -1
- package/build/component-mFXKTq1K.cjs +0 -2
- package/build/component-mFXKTq1K.cjs.map +0 -1
- package/build/component-pagination.cjs.js.map +0 -1
- package/build/component-pagination.es.js.map +0 -1
- package/build/component-range.cjs.js +0 -2
- package/build/component-range.cjs.js.map +0 -1
- package/build/component-range.d.ts +0 -212
- package/build/component-range.es.js +0 -9
- package/build/component-range.es.js.map +0 -1
- package/build/component-ripple.cjs.js +0 -2
- package/build/component-ripple.cjs.js.map +0 -1
- package/build/component-ripple.d.ts +0 -47
- package/build/component-ripple.es.js +0 -12
- package/build/component-ripple.es.js.map +0 -1
- package/build/component-select.cjs.js.map +0 -1
- package/build/component-select.es.js.map +0 -1
- package/build/component-separator.cjs.js.map +0 -1
- package/build/component-separator.es.js.map +0 -1
- package/build/component-stack.cjs.js.map +0 -1
- package/build/component-stack.es.js.map +0 -1
- package/build/component-textarea.cjs.js.map +0 -1
- package/build/component-textarea.es.js.map +0 -1
- package/build/component-toggle.cjs.js.map +0 -1
- package/build/component-toggle.es.js.map +0 -1
- package/build/component-tooltip.cjs.js.map +0 -1
- package/build/component-tooltip.es.js.map +0 -1
- package/build/component-typography.cjs.js.map +0 -1
- package/build/component-typography.es.js.map +0 -1
- package/build/component.constants-BQOzGr0l.js +0 -757
- package/build/component.constants-BQOzGr0l.js.map +0 -1
- package/build/component.constants-CFLrPu5_.cjs +0 -2
- package/build/component.constants-CFLrPu5_.cjs.map +0 -1
- package/build/component.constants-DI22AYyi.js +0 -142
- package/build/component.constants-DI22AYyi.js.map +0 -1
- package/build/component.constants-DnHO8qFb.cjs +0 -2
- package/build/component.constants-DnHO8qFb.cjs.map +0 -1
- package/build/component.functions-D9ffjEok.cjs +0 -8
- package/build/component.functions-D9ffjEok.cjs.map +0 -1
- package/build/component.functions-DNW6h8kk.js +0 -12
- package/build/component.functions-DNW6h8kk.js.map +0 -1
- package/build/component.styles-BX2Aiqp_.cjs +0 -43
- package/build/component.styles-BX2Aiqp_.cjs.map +0 -1
- package/build/component.styles-C0oU5oX_.js +0 -59
- package/build/component.styles-C0oU5oX_.js.map +0 -1
- package/build/component.styles-CD6ZzRrk.cjs +0 -14
- package/build/component.styles-CD6ZzRrk.cjs.map +0 -1
- package/build/component.styles-SZ5VuhNG.js +0 -20
- package/build/component.styles-SZ5VuhNG.js.map +0 -1
- package/build/component.types-6hyRS9ZB.cjs +0 -2
- package/build/component.types-6hyRS9ZB.cjs.map +0 -1
- package/build/component.types-e2YpVj0l.js +0 -907
- package/build/component.types-e2YpVj0l.js.map +0 -1
- package/build/consts.cjs.js +0 -2
- package/build/consts.cjs.js.map +0 -1
- package/build/consts.d.ts +0 -77
- package/build/consts.es.js +0 -151
- package/build/consts.es.js.map +0 -1
- package/build/context-BK9a46O1.cjs +0 -4
- package/build/context-BK9a46O1.cjs.map +0 -1
- package/build/context-CPZf131N.cjs +0 -2
- package/build/context-CPZf131N.cjs.map +0 -1
- package/build/context-Cr80KOpF.js +0 -122
- package/build/context-Cr80KOpF.js.map +0 -1
- package/build/context-DssNKJ_n.cjs +0 -2
- package/build/context-DssNKJ_n.cjs.map +0 -1
- package/build/context-PFdUnKga.js +0 -44
- package/build/context-PFdUnKga.js.map +0 -1
- package/build/context-app.cjs.js.map +0 -1
- package/build/context-app.es.js.map +0 -1
- package/build/context-cookie.cjs.js.map +0 -1
- package/build/context-cookie.es.js.map +0 -1
- package/build/context-dialog.cjs.js.map +0 -1
- package/build/context-dialog.es.js.map +0 -1
- package/build/context-geolocation.cjs.js.map +0 -1
- package/build/context-geolocation.es.js.map +0 -1
- package/build/context-local-storage.cjs.js.map +0 -1
- package/build/context-local-storage.es.js.map +0 -1
- package/build/context-permission.cjs.js.map +0 -1
- package/build/context-permission.es.js.map +0 -1
- package/build/context-screen-width.cjs.js.map +0 -1
- package/build/context-screen-width.es.js.map +0 -1
- package/build/context-sonner.cjs.js.map +0 -1
- package/build/context-sonner.es.js.map +0 -1
- package/build/context-w9weDPCZ.js +0 -200
- package/build/context-w9weDPCZ.js.map +0 -1
- package/build/context.constants-B14bB8O1.js +0 -254
- package/build/context.constants-B14bB8O1.js.map +0 -1
- package/build/context.constants-BA1u2p1r.cjs +0 -32
- package/build/context.constants-BA1u2p1r.cjs.map +0 -1
- package/build/context.constants-BWLe7YHv.js +0 -12598
- package/build/context.constants-BWLe7YHv.js.map +0 -1
- package/build/context.constants-baqYH-_k.cjs +0 -1742
- package/build/context.constants-baqYH-_k.cjs.map +0 -1
- package/build/context.functions--v7FClEV.cjs +0 -2
- package/build/context.functions--v7FClEV.cjs.map +0 -1
- package/build/context.functions-B8FDl7nJ.js +0 -14
- package/build/context.functions-B8FDl7nJ.js.map +0 -1
- package/build/context.functions-CB6--UcR.js +0 -35
- package/build/context.functions-CB6--UcR.js.map +0 -1
- package/build/context.functions-CHaPcuVS.cjs +0 -2
- package/build/context.functions-CHaPcuVS.cjs.map +0 -1
- package/build/context.functions-CPP8X6so.js +0 -35
- package/build/context.functions-CPP8X6so.js.map +0 -1
- package/build/context.functions-ar41xFVo.cjs +0 -2
- package/build/context.functions-ar41xFVo.cjs.map +0 -1
- package/build/context.hooks-B-YcyJ5E.cjs +0 -2
- package/build/context.hooks-B-YcyJ5E.cjs.map +0 -1
- package/build/context.hooks-B9dsW2kz.js +0 -117
- package/build/context.hooks-B9dsW2kz.js.map +0 -1
- package/build/context.hooks-Bi7spFak.cjs +0 -2
- package/build/context.hooks-Bi7spFak.cjs.map +0 -1
- package/build/context.hooks-BnHnPV_i.js +0 -49
- package/build/context.hooks-BnHnPV_i.js.map +0 -1
- package/build/context.hooks-CDnjxy35.cjs +0 -2
- package/build/context.hooks-CDnjxy35.cjs.map +0 -1
- package/build/context.hooks-DDD8ffJI.cjs +0 -2
- package/build/context.hooks-DDD8ffJI.cjs.map +0 -1
- package/build/context.hooks-Df0m0Voe.js +0 -13
- package/build/context.hooks-Df0m0Voe.js.map +0 -1
- package/build/context.hooks-DjafkFMD.cjs +0 -2
- package/build/context.hooks-DjafkFMD.cjs.map +0 -1
- package/build/context.hooks-DpwnIiRj.cjs +0 -2
- package/build/context.hooks-DpwnIiRj.cjs.map +0 -1
- package/build/context.hooks-HEeFGka7.js +0 -13
- package/build/context.hooks-HEeFGka7.js.map +0 -1
- package/build/context.hooks-NDk5ehgk.js +0 -13
- package/build/context.hooks-NDk5ehgk.js.map +0 -1
- package/build/context.hooks-oclt34zD.js +0 -68
- package/build/context.hooks-oclt34zD.js.map +0 -1
- package/build/functions.cjs.js +0 -2
- package/build/functions.cjs.js.map +0 -1
- package/build/functions.es.js +0 -50
- package/build/functions.es.js.map +0 -1
- package/build/index.cjs.js.map +0 -1
- package/build/index.es.js.map +0 -1
- package/build/jsx-runtime-C6yv_9g1.cjs +0 -11
- package/build/jsx-runtime-C6yv_9g1.cjs.map +0 -1
- package/build/jsx-runtime-DZS36FSE.js +0 -316
- package/build/jsx-runtime-DZS36FSE.js.map +0 -1
- package/build/motion-DrSN18V7.cjs +0 -2
- package/build/motion-DrSN18V7.cjs.map +0 -1
- package/build/motion-K7hUU4gL.js +0 -85
- package/build/motion-K7hUU4gL.js.map +0 -1
- package/build/style-BfuEu91g.js +0 -176
- package/build/style-BfuEu91g.js.map +0 -1
- package/build/style-Drq-Q1Im.cjs +0 -136
- package/build/style-Drq-Q1Im.cjs.map +0 -1
- package/build/style-add.cjs.js +0 -2
- package/build/style-add.cjs.js.map +0 -1
- package/build/style-add.d.ts +0 -88
- package/build/style-add.es.js +0 -17
- package/build/style-add.es.js.map +0 -1
- package/build/style-error.cjs.js +0 -2
- package/build/style-error.cjs.js.map +0 -1
- package/build/style-error.d.ts +0 -99
- package/build/style-error.es.js +0 -7
- package/build/style-error.es.js.map +0 -1
- package/build/style-fRZ6xrVp.cjs +0 -10
- package/build/style-fRZ6xrVp.cjs.map +0 -1
- package/build/style-motion.cjs.js.map +0 -1
- package/build/style-motion.es.js.map +0 -1
- package/build/style-plT9Ah7t.js +0 -33
- package/build/style-plT9Ah7t.js.map +0 -1
- package/build/style-sx.cjs.js +0 -2
- package/build/style-sx.cjs.js.map +0 -1
- package/build/style-sx.d.ts +0 -33
- package/build/style-sx.es.js +0 -5
- package/build/style-sx.es.js.map +0 -1
- package/build/style-theme.cjs.js +0 -2
- package/build/style-theme.cjs.js.map +0 -1
- package/build/style-theme.d.ts +0 -293
- package/build/style-theme.es.js +0 -16
- package/build/style-theme.es.js.map +0 -1
- package/build/types.cjs.js +0 -2
- package/build/types.cjs.js.map +0 -1
- package/build/types.d.ts +0 -27
- package/build/types.es.js +0 -2
- package/build/types.es.js.map +0 -1
- package/build/use-BF8VW4MA.cjs +0 -16
- package/build/use-BF8VW4MA.cjs.map +0 -1
- package/build/use-Bp8UVw4Y.js +0 -16
- package/build/use-Bp8UVw4Y.js.map +0 -1
- package/build/use-C7vngeRk.js +0 -882
- package/build/use-C7vngeRk.js.map +0 -1
- package/build/use-DdGWsOBo.js +0 -1577
- package/build/use-DdGWsOBo.js.map +0 -1
- package/build/use-IhzeVumv.cjs +0 -2
- package/build/use-IhzeVumv.cjs.map +0 -1
- package/build/use-zW3LuRc_.cjs +0 -2
- package/build/use-zW3LuRc_.cjs.map +0 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ICookieContext, ICookieProvider } from './context.types';
|
|
3
|
+
/**
|
|
4
|
+
* Context for managing cookies.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CookieContext: import('react').Context<ICookieContext | null>;
|
|
7
|
+
/**
|
|
8
|
+
* Provider component for managing cookies.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* You should understand which cookies you are changing and whether you have access to them.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* The local storage is typed using the `jenesei-kit-react.d.ts` file:
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import '@jenesei-software/jenesei-kit-react'
|
|
18
|
+
*
|
|
19
|
+
* declare module '@jenesei-software/jenesei-kit-react' {
|
|
20
|
+
* export interface IValidCookieObject {
|
|
21
|
+
* access_token: string
|
|
22
|
+
* refresh_token: string
|
|
23
|
+
* }
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const ProviderCookie: FC<ICookieProvider>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ICookieContext } from './context.types';
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook to access the CookieContext.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* You should understand which cookies you are changing and whether you have access to them.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
export declare const useCookie: () => ICookieContext;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as Cookies } from 'node_modules/@types/js-cookie';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
export type ICookieAttributes = Cookies.CookieAttributes;
|
|
4
|
+
export interface ICookieProvider extends PropsWithChildren {
|
|
5
|
+
validate?: {
|
|
6
|
+
validateKeys: (keyof IValidCookieObject)[];
|
|
7
|
+
getValidateCookieValue: <K extends keyof IValidCookieObject>(key: K, value: IValidCookieObject[K]) => value is IValidCookieObject[K];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export type IValidCookieObject = {};
|
|
11
|
+
export interface ICookieContext {
|
|
12
|
+
getCookie: <K extends keyof IValidCookieObject>(name: K) => IValidCookieObject[K] | undefined;
|
|
13
|
+
setCookie: <K extends keyof IValidCookieObject>(name: K, value: IValidCookieObject[K], options?: ICookieAttributes) => void;
|
|
14
|
+
removeCookieValue: <K extends keyof IValidCookieObject>(name: K, options?: ICookieAttributes) => void;
|
|
15
|
+
removeCookieValues: () => void;
|
|
16
|
+
checkCookie: () => void;
|
|
17
|
+
cookieValues: IValidCookieObject | undefined;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IThemePalette } from '../../styles/utils';
|
|
2
|
+
export declare const DEFAULT_PROVIDER_DIALOG_DURATION_ELEMENT = 0.3;
|
|
3
|
+
export declare const DEFAULT_PROVIDER_DIALOG_DURATION_LAYOUT = 0.4;
|
|
4
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_HEIGHT: string;
|
|
5
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_MAX_WIDTH: string;
|
|
6
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BORDER_RADIUS: string;
|
|
7
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_PADDING: string;
|
|
8
|
+
export declare const DEFAULT_PROVIDER_DIALOG_ELEMENT_BACKGROUND: IThemePalette;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IDialogContext, IDialogItem, IUseDialog, IUseDialogDependencies } from './context.types';
|
|
2
|
+
export declare const useDialogs: (props: IUseDialogDependencies) => IDialogContext;
|
|
3
|
+
export declare const useDialog: <T extends object = Record<string, unknown>>(props?: IUseDialog<T>) => IDialogItem;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { IDialogElementStyle, IDialogLayoutStyle } from './context.types';
|
|
3
|
+
export declare const DialogClass: {
|
|
4
|
+
readonly layout: "context-dialog__layout";
|
|
5
|
+
readonly element: "context-dialog__element";
|
|
6
|
+
};
|
|
7
|
+
export declare const getDialogLayoutClassName: () => "context-dialog__layout";
|
|
8
|
+
export declare const getDialogLayoutStyle: (props: IDialogLayoutStyle) => CSSProperties;
|
|
9
|
+
export declare const getDialogElementStyle: (props: IDialogElementStyle) => CSSProperties;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IThemePalette } from '../../styles/utils';
|
|
2
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
3
|
+
export type IDialogProvider = PropsWithChildren & {
|
|
4
|
+
zIndex: number;
|
|
5
|
+
};
|
|
6
|
+
export type IDialogContext<T extends object = Record<string, unknown>> = {
|
|
7
|
+
add: (dialog: IDialogContent<T>) => void;
|
|
8
|
+
remove: (id: IDialogContent<T>['id']) => void;
|
|
9
|
+
update: (dialog: IDialogContent<T>) => void;
|
|
10
|
+
dialogHistory: IDialogContent<T>[];
|
|
11
|
+
};
|
|
12
|
+
export type IDialogItem = {
|
|
13
|
+
add: () => void;
|
|
14
|
+
remove: () => void;
|
|
15
|
+
id: string | null;
|
|
16
|
+
};
|
|
17
|
+
export type IDialogContent<T extends object = Record<string, unknown>> = {
|
|
18
|
+
props?: IUseDialog<T>;
|
|
19
|
+
id?: string;
|
|
20
|
+
index?: number;
|
|
21
|
+
onRemove?: () => void;
|
|
22
|
+
};
|
|
23
|
+
export type IUseDialogDependencies = (keyof IDialogContext)[];
|
|
24
|
+
export type IUseDialog<T extends object = Record<string, unknown>> = {
|
|
25
|
+
content?: IDialogContentNode<T>;
|
|
26
|
+
propsDialog?: IDialogDialogProps;
|
|
27
|
+
propsCustom?: T;
|
|
28
|
+
onRemove?: () => void;
|
|
29
|
+
};
|
|
30
|
+
type IDialogDialogProps = {
|
|
31
|
+
maxWidth?: string;
|
|
32
|
+
maxHeight?: string;
|
|
33
|
+
padding?: string;
|
|
34
|
+
borderRadius?: string;
|
|
35
|
+
background?: IThemePalette;
|
|
36
|
+
isRemoveOnOutsideClick?: boolean;
|
|
37
|
+
};
|
|
38
|
+
interface IDialogContentNodeProps<T extends object = Record<string, unknown>> {
|
|
39
|
+
remove?: () => void;
|
|
40
|
+
isAnimating?: boolean;
|
|
41
|
+
propsCustom?: T;
|
|
42
|
+
}
|
|
43
|
+
type IDialogContentNode<T extends object> = (props: IDialogContentNodeProps<T>) => ReactNode;
|
|
44
|
+
export type IDialogElement<T extends object> = IDialogContent<T>;
|
|
45
|
+
export type IDialogLayoutStyle = Pick<IDialogProvider, 'zIndex'>;
|
|
46
|
+
export type IDialogElementStyle<T extends object = Record<string, unknown>> = Pick<IUseDialog<T>, 'propsDialog'>;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export type IGeolocationProvider = PropsWithChildren & {
|
|
3
|
+
isAskEntrance?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export interface IGeolocationContext {
|
|
6
|
+
geolocationPermission: PermissionState | null;
|
|
7
|
+
requestGeolocationPermission: () => void;
|
|
8
|
+
location: GeolocationPosition | null;
|
|
9
|
+
error: GeolocationPositionError | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ILocalStorageContext, ILocalStorageProvider } from './context.types';
|
|
3
|
+
export declare const LocalStorageContext: import('react').Context<ILocalStorageContext | null>;
|
|
4
|
+
/**
|
|
5
|
+
* Provider component for managing local storage.
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* The local storage is typed using the `jenesei-kit-react.d.ts` file:
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import '@jenesei-software/jenesei-kit-react'
|
|
12
|
+
*
|
|
13
|
+
* declare module '@jenesei-software/jenesei-kit-react' {
|
|
14
|
+
* export interface IValidLocalStorageObject {
|
|
15
|
+
* access_token: string
|
|
16
|
+
* refresh_token: string
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare const ProviderLocalStorage: FC<ILocalStorageProvider>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export interface ILocalStorageProvider extends PropsWithChildren {
|
|
3
|
+
validate?: {
|
|
4
|
+
validateKeys: (keyof IValidLocalStorageObject)[];
|
|
5
|
+
getValidateLocalStorageValue: <K extends keyof IValidLocalStorageObject>(key: K, value: IValidLocalStorageObject[K]) => value is IValidLocalStorageObject[K];
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export type IValidLocalStorageObject = {};
|
|
9
|
+
export interface ILocalStorageContext {
|
|
10
|
+
getLocalStorage: <K extends keyof IValidLocalStorageObject>(name: K) => IValidLocalStorageObject[K] | undefined;
|
|
11
|
+
setLocalStorage: <K extends keyof IValidLocalStorageObject>(name: K, value: IValidLocalStorageObject[K]) => void;
|
|
12
|
+
removeLocalStorageValue: <K extends keyof IValidLocalStorageObject>(name: K) => void;
|
|
13
|
+
removeLocalStorageValues: () => void;
|
|
14
|
+
checkLocalStorage: () => void;
|
|
15
|
+
localStorageValues: IValidLocalStorageObject | undefined;
|
|
16
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IPermissionContext, IPermissionProvider } from './context.types';
|
|
2
|
+
export declare const PermissionContext: import('react').Context<IPermissionContext | null>;
|
|
3
|
+
export declare const ProviderPermission: (props: IPermissionProvider) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const urlBase64ToUint8Array: (base64String: string) => Uint8Array<ArrayBuffer>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export interface IPermissionContext {
|
|
3
|
+
geolocationPermission: PermissionState | null;
|
|
4
|
+
isBiometricSupported: boolean;
|
|
5
|
+
isNotificationPermissionLoading: boolean;
|
|
6
|
+
notificationPermission: NotificationPermission | null;
|
|
7
|
+
pushNotificationSupported: boolean;
|
|
8
|
+
requestGeolocationPermission: () => void;
|
|
9
|
+
requestNotificationPermission: () => Promise<NotificationPermission | undefined>;
|
|
10
|
+
}
|
|
11
|
+
export type IPermissionProvider = PropsWithChildren;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IScreenWidthContext, IScreenWidthProvider } from './context.types';
|
|
3
|
+
export declare const ScreenWidthContext: import('use-context-selector').Context<IScreenWidthContext | null>;
|
|
4
|
+
export declare const ProviderScreenWidth: FC<IScreenWidthProvider>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IThemeBreakpoint, IThemeOrientation } from '../../styles/utils';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
export type IScreenWidthProvider = PropsWithChildren & {
|
|
4
|
+
type?: 'breakpoint' | 'orientation';
|
|
5
|
+
};
|
|
6
|
+
export interface IScreenWidthContext {
|
|
7
|
+
breakpoint: IThemeBreakpoint | 'default';
|
|
8
|
+
orientation: IThemeOrientation;
|
|
9
|
+
type?: 'breakpoint' | 'orientation';
|
|
10
|
+
}
|
|
11
|
+
export type IUseScreenWidthDependencies = (keyof IScreenWidthContext)[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IThemeGenreSonner } from '../../styles/utils/types';
|
|
2
|
+
import { ISonnerProvider } from './context.types';
|
|
3
|
+
export declare const DEFAULT_PROVIDER_SONNER_Z_INDEX = 100;
|
|
4
|
+
export declare const DEFAULT_PROVIDER_SONNER_SCALE = 0.04;
|
|
5
|
+
export declare const DEFAULT_PROVIDER_SONNER_Y = 100;
|
|
6
|
+
export declare const DEFAULT_PROVIDER_SONNER_DURATION = 0.3;
|
|
7
|
+
export declare const DEFAULT_PROVIDER_SONNER_GENRE: IThemeGenreSonner;
|
|
8
|
+
export declare const DEFAULT_PROVIDER_SONNER_MARGIN_BOTTOM = 65;
|
|
9
|
+
export declare const DEFAULT_PROVIDER_SONNER_BUTTON: ISonnerProvider['default']['button'];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IThemeGenreSonner } from '../../styles/utils/types';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
import { ISonnerProvider } from './context.types';
|
|
4
|
+
export declare const SonnerClass: {
|
|
5
|
+
readonly layout: "context-sonner__layout";
|
|
6
|
+
readonly layoutBottomCenter: "context-sonner__layout--bottom-center";
|
|
7
|
+
readonly layoutBottomLeft: "context-sonner__layout--bottom-left";
|
|
8
|
+
readonly layoutBottomRight: "context-sonner__layout--bottom-right";
|
|
9
|
+
readonly layoutTopRight: "context-sonner__layout--top-right";
|
|
10
|
+
readonly layoutTopLeft: "context-sonner__layout--top-left";
|
|
11
|
+
readonly layoutTopCenter: "context-sonner__layout--top-center";
|
|
12
|
+
readonly elementWrapper: "context-sonner__element-wrapper";
|
|
13
|
+
readonly content: "context-sonner__content";
|
|
14
|
+
readonly icon: "context-sonner__icon";
|
|
15
|
+
readonly contentTitle: "context-sonner__content-title";
|
|
16
|
+
readonly contentDescription: "context-sonner__content-description";
|
|
17
|
+
readonly buttonWrapper: "context-sonner__button-wrapper";
|
|
18
|
+
};
|
|
19
|
+
export declare const SonnerLayout: "context-sonner__layout";
|
|
20
|
+
export declare const SonnerElementWrapper: "context-sonner__element-wrapper";
|
|
21
|
+
export declare const SonnerContent: "context-sonner__content";
|
|
22
|
+
export declare const SonnerIcon: "context-sonner__icon";
|
|
23
|
+
export declare const SonnerContentTitle: "context-sonner__content-title";
|
|
24
|
+
export declare const SonnerContentDescription: "context-sonner__content-description";
|
|
25
|
+
export declare const SonnerButtonWrapper: "context-sonner__button-wrapper";
|
|
26
|
+
type ISonnerStyleWithVars = CSSProperties & Record<string, string>;
|
|
27
|
+
export declare const getSonnerLayoutClassName: (position: ISonnerProvider["position"]) => string;
|
|
28
|
+
export declare const getSonnerLayoutStyle: (props: Pick<ISonnerProvider, "gap" | "zIndex">) => ISonnerStyleWithVars;
|
|
29
|
+
export declare const getSonnerElementWrapperStyle: (genre: IThemeGenreSonner) => ISonnerStyleWithVars;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { IAddIIcon } from '../../components/icon';
|
|
2
|
+
import { IThemeGenreButton, IThemeGenreSonner, ITypography } from '../../styles/utils/types';
|
|
3
|
+
import { PropsWithChildren, ReactNode } from 'react';
|
|
4
|
+
export type ISonnerProvider = PropsWithChildren & {
|
|
5
|
+
gap: number;
|
|
6
|
+
position: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'bottom-center' | 'top-center';
|
|
7
|
+
visibleToasts?: number;
|
|
8
|
+
zIndex?: number;
|
|
9
|
+
default: Omit<ISonnerContentStandard, 'index'>;
|
|
10
|
+
};
|
|
11
|
+
export type ISonnerContext = {
|
|
12
|
+
toast: (content: Omit<ISonnerContentStandard, 'index'>) => void;
|
|
13
|
+
promise: <T>(promise: Promise<T>, expectation: Omit<ISonnerContentStandard, 'index'>, toast: (success: T | undefined, error: any | undefined) => Omit<ISonnerContent, 'index'>) => void;
|
|
14
|
+
remove: (id: ISonnerContentDefault['id']) => void;
|
|
15
|
+
contentHistory: ISonnerContent[];
|
|
16
|
+
};
|
|
17
|
+
export type IUseSonnerDependencies = (keyof ISonnerContext)[];
|
|
18
|
+
export type ISonnerElement = ISonnerElementDefault;
|
|
19
|
+
type ISonnerElementDefault = {
|
|
20
|
+
id: ISonnerContentDefault['id'];
|
|
21
|
+
title: ISonnerContentStandard['title'];
|
|
22
|
+
description: ISonnerContentStandard['description'];
|
|
23
|
+
content: ISonnerContentContent['content'];
|
|
24
|
+
icon?: ISonnerContentDefault['icon'];
|
|
25
|
+
isLoading: ISonnerContentDefault['isLoading'];
|
|
26
|
+
hidingMode: ISonnerContentDefault['hidingMode'];
|
|
27
|
+
button: ISonnerContentDefault['button'];
|
|
28
|
+
index: number;
|
|
29
|
+
handleOnClick: (id: ISonnerContentDefault['id'], hidingMode?: ISonnerContentDefault['hidingMode']) => void;
|
|
30
|
+
isMoreThanLastViewIndexPlusOne: boolean;
|
|
31
|
+
isMoreThanLastViewIndex: boolean;
|
|
32
|
+
isHovered: boolean;
|
|
33
|
+
isLastViewIndex: boolean;
|
|
34
|
+
buttonGenre: IThemeGenreButton;
|
|
35
|
+
isTop: boolean;
|
|
36
|
+
} & Required<Pick<ISonnerContentDefault, 'genre'>>;
|
|
37
|
+
export type ISonnerContent = ISonnerContentContent | ISonnerContentStandard;
|
|
38
|
+
type ISonnerContentDefault = {
|
|
39
|
+
hidingMode?: 'clickOnSonner' | 'clickOnButton';
|
|
40
|
+
hidingTime?: number;
|
|
41
|
+
icon?: IAddIIcon;
|
|
42
|
+
id?: string;
|
|
43
|
+
genre?: IThemeGenreSonner;
|
|
44
|
+
isLoading?: boolean;
|
|
45
|
+
sxTypography?: ITypography;
|
|
46
|
+
button?: {
|
|
47
|
+
content?: string | ReactNode;
|
|
48
|
+
onClick?: () => void;
|
|
49
|
+
} | false;
|
|
50
|
+
index: number;
|
|
51
|
+
};
|
|
52
|
+
type ISonnerContentContent = ISonnerContentDefault & {
|
|
53
|
+
content: ReactNode | false;
|
|
54
|
+
};
|
|
55
|
+
export type ISonnerContentStandard = ISonnerContentDefault & {
|
|
56
|
+
description?: string | ReactNode;
|
|
57
|
+
title?: string | ReactNode;
|
|
58
|
+
};
|
|
59
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IDatePickerTranslateInput, IDatePickerTranslateMonth, IDatePickerTranslateWeek } from '../components/date-picker';
|
|
2
|
+
import { IImageFormat, ILanguage, IService } from './types';
|
|
3
|
+
export declare const OBJECT_LANGUAGE: ILanguage;
|
|
4
|
+
export declare const OBJECT_SERVICE: IService;
|
|
5
|
+
export declare const LIST_LANGUAGE: {
|
|
6
|
+
value: import('./types').ILanguageKeys;
|
|
7
|
+
label: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
search: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const LIST_KEY_LANGUAGE: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const LIST_SERVICE: {
|
|
15
|
+
value: import('./types').IServiceKeys;
|
|
16
|
+
label: string;
|
|
17
|
+
placeholder: string;
|
|
18
|
+
search: string;
|
|
19
|
+
}[];
|
|
20
|
+
export declare const LIST_KEY_SERVICE: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const LOCALE_INPUT: IDatePickerTranslateInput;
|
|
24
|
+
export declare const LOCALE_MONTHS: IDatePickerTranslateMonth[];
|
|
25
|
+
export declare const LOCALE_WEEKS: IDatePickerTranslateWeek[];
|
|
26
|
+
export declare const LIST_IMAGE_SUPPORTED_FORMAT: IImageFormat[];
|
|
27
|
+
export declare const LIST_IMAGE_SUPPORTED_FORMAT_FOR_INPUT: string;
|
|
28
|
+
export declare const LOREM_IPSUM_TEXT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
|
|
29
|
+
export declare const LIBRARY_VERSION: any;
|
|
30
|
+
export declare const ICON_VERSION: any;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
placeholder: string;
|
|
5
|
-
search: string;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[key: string]: T;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export declare function
|
|
13
|
-
|
|
14
|
-
export declare function getScrollbarWidth(): number;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
export declare function transformObjectValuesToKeys<T>(obj: GenericObject<T>): GenericObject<string>;
|
|
21
|
-
|
|
22
|
-
export { }
|
|
1
|
+
type EnumOption = {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
search: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function transformEnumToOptions<T extends Record<string, string>>(enumObj: T): EnumOption[];
|
|
8
|
+
type GenericObject<T> = {
|
|
9
|
+
[key: string]: T;
|
|
10
|
+
};
|
|
11
|
+
export declare function transformObjectToArray<T>(obj: GenericObject<T>): Array<T>;
|
|
12
|
+
export declare function transformObjectValuesToKeys<T>(obj: GenericObject<T>): GenericObject<string>;
|
|
13
|
+
export declare function getContrastYIQ(hexcolor: string): "#000000" | "#FFFFFF";
|
|
14
|
+
export declare function getScrollbarWidth(): number;
|
|
15
|
+
export declare function getHasVerticalScroll(): boolean;
|
|
16
|
+
type AnyObject = Record<string, any>;
|
|
17
|
+
export declare function stringifyCssObject<T extends AnyObject>(obj?: T): AnyObject | undefined;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const logger: import('@jenesei-software/jenesei-library-log').Logger<"error" | "debug" | "info" | "success" | "warn">;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type IAddDollarSign<T> = {
|
|
2
|
+
[K in keyof T as `$${string & K}`]: T[K];
|
|
3
|
+
};
|
|
4
|
+
export type ILanguageKeys = 'eng' | 'rus';
|
|
5
|
+
export type ILanguage = Record<ILanguageKeys, {
|
|
6
|
+
value: ILanguageKeys;
|
|
7
|
+
label: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
search: string;
|
|
10
|
+
}>;
|
|
11
|
+
export type IServiceKeys = 'jenesei_id';
|
|
12
|
+
export type IService = Record<IServiceKeys, {
|
|
13
|
+
value: IServiceKeys;
|
|
14
|
+
label: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
search: string;
|
|
17
|
+
}>;
|
|
18
|
+
export type IImageFormat = 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/avif';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const Fe=require("./chunk-Dd8m0Ver.cjs"),t=require("./utils-DtinAjAU.cjs"),_=require("./functions-Dwo54amB.cjs"),ae=require("./component-jsn2T8Hu.cjs"),oe=require("./hooks-use-typography-styles.cjs.js"),T=require("./button-BuPpgfL_.cjs"),we=require("./error-DzkkNL2H.cjs"),re=require("./popover-CgwGn-55.cjs"),Oe=require("./typography-DcxhX_9e.cjs"),R=require("./select-B0adRX2_.cjs");require("./component-stack.cjs.js");let g=require("react/jsx-runtime"),o=require("react");var s=(function(e){return e.DD="DD",e.MM="MM",e.YYYY="YYYY",e})({}),Be=["mo","tu","we","th","fr","sa","su"],ze=e=>{const{onChange:d}=e,[i,S]=(0,o.useState)(null),[u,f]=(0,o.useState)(R.hooks(e.dateDefault).utc()),[l,C]=(0,o.useState)({[s.DD]:"",[s.MM]:"",[s.YYYY]:""});(0,o.useEffect)(()=>{E.current=l},[l]);const y=(0,o.useMemo)(()=>l[s.DD]!==""||l[s.MM]!==""||l[s.YYYY]!=="",[l]),V=(0,o.useCallback)(()=>{C({[s.DD]:"",[s.MM]:"",[s.YYYY]:""})},[]),[r,b]=(0,o.useState)(null),[ce,D]=(0,o.useState)(!1),x=(0,o.useMemo)(()=>!e.mode||e.mode.length===0?[s.DD,s.MM,s.YYYY]:new Set(e.mode).size!==e.mode.length?[s.DD,s.MM,s.YYYY]:e.mode,[e.mode]),P=(0,o.useMemo)(()=>e.type?e.type:"manualAndSelect",[e.type]),h=(0,o.useMemo)(()=>{const n=[s.DD,s.MM,s.YYYY],a=Object.fromEntries(n.map(c=>[c,{type:c,value:l[c],placeholder:e.locale.inputs[c===s.DD?"day":c===s.MM?"month":"year"],isFirst:x[0]===c,isLast:x[x.length-1]===c,segmentNext:ie(c,x),segmentPrev:se(c,x),onNextSegment:()=>b(ie(c,x)),onPrevSegment:()=>b(se(c,x)),setValue:A=>C(m=>({...m,[c]:A})),setActive:()=>b(c)}]));return{sort:x.map(c=>a[c]).filter(Boolean),default:a}},[e,x,l]),ue=(0,o.useMemo)(()=>Be.map((n,a)=>({index:a,label:e.locale.weeks.find(c=>c.value===n)?.localeShort??n.toUpperCase()})),[e.locale.weeks]),O=(0,o.useMemo)(()=>{const n=R.hooks.utc(),a=i??u,c=a.clone().startOf("month"),A=a.clone().endOf("month"),m=e.dateMin?R.hooks.utc(e.dateMin):null,M=e.dateMax?R.hooks.utc(e.dateMax):null,L=c.clone().subtract(c.isoWeekday()-1,"days"),j=A.clone().add(7-A.isoWeekday(),"days"),w=[],k=L.clone();for(;k<=j;){const q=k.isBetween(c,A,"day","[]");w.push({value:k.valueOf(),labelString:k.format("dd"),labelNumber:k.date(),dayOfWeek:k.isoWeekday(),isWeekend:[6,7].includes(k.isoWeekday()),weekOfMonth:Math.ceil((w.length+1)/7),isToday:k.isSame(n,"day"),isCurrentMonth:q,isChoice:k.valueOf()===i?.valueOf(),isDisabled:!!(m&&k.isBefore(m,"day")||M&&k.isAfter(M,"day"))}),k.add(1,"day")}return w},[i,u,e.dateMax,e.dateMin]),de=(0,o.useMemo)(()=>Ee(O.length)+1,[O]),K=(0,o.useMemo)(()=>t.CSS_VARS.sizeValue[e.size].radius,[e.size]),Se=(0,o.useMemo)(()=>t.CSS_VARS.sizeValue[e.size].padding,[e.size]),N=(0,o.useMemo)(()=>i!==null,[i]),U=(0,o.useMemo)(()=>{const n=(i??u).clone().add(1,"month").startOf("month");return e.dateMax?n.isAfter(R.hooks.utc(e.dateMax),"month"):!1},[i,e.dateMax,u]),X=(0,o.useMemo)(()=>{const n=(i??u).clone().subtract(1,"month").startOf("month");return e.dateMin?n.isBefore(R.hooks.utc(e.dateMin),"month"):!1},[i,e.dateMin,u]),[B,G]=(0,o.useState)(!1),E=(0,o.useRef)(l),z=(0,o.useRef)(!1),Q=(0,o.useRef)(""),Z=(0,o.useRef)(null),J=(0,o.useRef)(null),W=(0,o.useRef)(null),fe=(0,o.useCallback)(()=>{e.onFocus?.()},[e.onFocus]),ge=(0,o.useCallback)(()=>{e.onBlur?.()},[e.onBlur]),Ce=(0,o.useCallback)(()=>{b(null)},[]),{isOpen:Y,refReference:me,refFloating:he,floatingStyles:ye,close:F,toggle:p}=re.usePopover({isFocusTrap:!0,placement:"bottom-start",offset:Se,mode:"independence",isClickOutside:!0,refsExcludeClickOutside:[Z,J],isDisabled:e?.isDisabled||e?.isReadOnly,onFocus:fe,onBlur:ge,onBlurReference:Ce}),H=(0,o.useMemo)(()=>!!(!B&&!N&&e.labelPlaceholder&&(P==="select"||!Y)&&!y&&!r),[B,N,Y,e.labelPlaceholder,y,r,P]),v=(0,o.useCallback)((n,a,c)=>{const A=R.hooks(n).utc(),m=A.clone().date().toString(),M=(A.clone().month()+1).toString(),L=m.padStart(2,"0"),j=M.padStart(2,"0"),w=A.clone().year().toString(),k=c?.[s.DD],q=c?.[s.MM],Ne=c?.[s.YYYY],We=L===k&&j===q&&Ne===w,ne=i?.isSame(A,"day");ne||(S(A),d(A.valueOf())),(!ne||c)&&!We&&C({[s.DD]:a?L:m,[s.MM]:a?j:M,[s.YYYY]:w})},[i,d]),I=(0,o.useCallback)(n=>{const a=n.key,c=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Backspace","Delete","Tab","Enter"],A=/^\d$/.test(a);if(!(A||c.includes(a)||n.ctrlKey||n.metaKey)){n.preventDefault();return}if(r&&h.default[r]){if(A&&(je(a,r,l,h),n.preventDefault(),n.stopPropagation()),a==="Tab"&&(h.default[r].isLast?W?.current?.blur():(n.preventDefault(),h.default[r].onNextSegment())),a==="Enter"&&(n.preventDefault(),n.stopPropagation()),a==="Backspace"||a==="Delete"){if(r===s.DD)if(l.DD!==""){const m=l.DD;if(m.length===1)h.default[r].setValue("");else{const M=m.slice(0,-1);h.default[r].setValue(M)}}else h.default[r].onPrevSegment();else if(r===s.MM)if(l.MM!==""){const m=l.MM;if(m.length===1)h.default[r].setValue("");else{const M=m.slice(0,-1);h.default[r].setValue(M)}}else h.default[r].onPrevSegment();else if(r===s.YYYY)if(l.YYYY!==""){const m=l.YYYY;if(m.length===1)h.default[r].setValue("");else{const M=m.slice(0,-1);h.default[r].setValue(M)}}else h.default[r].onPrevSegment();n.preventDefault(),n.stopPropagation()}(a==="ArrowLeft"||a==="ArrowDown")&&(n.preventDefault(),h.default[r].onPrevSegment()),(a==="ArrowRight"||a==="ArrowUp")&&(n.preventDefault(),h.default[r].onNextSegment())}},[r,l,h.default,h]),Ae=(0,o.useCallback)(()=>{v((i??u).clone().add(1,"month").valueOf(),!0)},[i,v,u]),ke=(0,o.useCallback)(()=>{v((i??u).clone().subtract(1,"month").valueOf(),!0)},[i,v,u]),_e=(0,o.useCallback)(()=>{P!=="select"&&(G(!0),r||b(s.DD))},[r,P]),Re=(0,o.useCallback)(()=>{G(!1),Y||e.onBlur?.()},[Y,e.onBlur]),Ve=(0,o.useCallback)(n=>{const a=n.target.value,c=Te(a);if(c){C({DD:String(c.day).padStart(2,"0"),MM:String(c.month).padStart(2,"0"),YYYY:String(c.year)}),W.current&&(W.current.value="");return}const A=Q.current,m=a.length>A.length?a.slice(-1):null;Q.current=a,m&&/^\d$/.test(m)&&I({key:m,preventDefault:()=>{},stopPropagation:()=>{}}),a.length<A.length&&I({key:"Backspace",preventDefault:()=>{},stopPropagation:()=>{}}),W.current&&(W.current.value="")},[I]);(0,o.useEffect)(()=>{N&&!z.current&&(z.current=!0)},[N]),(0,o.useEffect)(()=>{f(R.hooks(e.dateDefault).utc())},[e.dateDefault]),(0,o.useEffect)(()=>{if(S(e.value||e.defaultValue?R.hooks(e.value??e.defaultValue).utc():null),e.value){const n=R.hooks(e.value).utc();C({[s.DD]:n.date().toString().padStart(2,"0"),[s.MM]:(n.month()+1).toString().padStart(2,"0"),[s.YYYY]:n.year().toString()})}},[e.value,e.defaultValue]),(0,o.useEffect)(()=>{r||$(l,n=>{v(n,!0,l),D(!1)},()=>{d(null),D(!0)},n=>{n||(z.current&&(d(null),z.current=!1),D(!1))})},[v,d,l,r]),(0,o.useEffect)(()=>{!Y&&!B&&y&&!r&&$(l,()=>{},()=>{d(null),V(),D(!1)},()=>{d(null),V(),D(!1)})},[V,l,Y,B,d,y,r]),(0,o.useEffect)(()=>{r&&$(E.current,n=>{v(n,!0,E.current),D(!1)},()=>{D(!0)},n=>{n||D(!1)})},[v,r]),(0,o.useEffect)(()=>{r&&(F(),W?.current?.focus())},[r,F]);const{className:ee,style:te}=oe.useTypographyStyles({sx:{variant:t.EXTRA_VALUE.sizeToController.small,weight:"500",...e?.sxTypography}}),{className:be,style:ve}=oe.useTypographyStyles({sx:{size:16,weight:e.isBold?"700":"400",...e?.sxTypography}}),{className:Me,style:Pe}=(0,o.useMemo)(()=>{const n=_.setClasses([t.CSS_CLASS.component.datePicker.wrapper,e.className]),a={};return a[t.CSS_VARS_RAW.component.datePicker.padding]=t.CSS_VARS.size[e.size].padding,a[t.CSS_VARS_RAW.component.datePicker.inputBackground]=t.CSS_VARS.genre.select[e.genre].background.index,a[t.CSS_VARS_RAW.component.datePicker.inputBackgroundHover]=t.CSS_VARS.genre.input[e.genre].background,a[t.CSS_VARS_RAW.component.datePicker.inputSegmentBackgroundActive]=t.CSS_VARS.palette.fillQuaternaryLight,a[t.CSS_VARS_RAW.component.datePicker.inputBorderColor]=t.CSS_VARS.genre.input[e.genre].border,a[t.CSS_VARS_RAW.component.datePicker.inputBorderColorHover]=t.CSS_VARS.genre.input[e.genre].border,a[t.CSS_VARS_RAW.component.datePicker.inputColor]=t.CSS_VARS.genre.input[e.genre].color,a[t.CSS_VARS_RAW.component.datePicker.inputColorHover]=t.CSS_VARS.genre.input[e.genre].color,a[t.CSS_VARS_RAW.component.datePicker.inputPadding]=H?`0px ${t.CSS_VARS.size[e.size].padding}`:`0px ${t.CSS_VARS.size[e.size].padding} 0px ${t.CSS_VARS.sizeValue[e.size].padding-2}px`,a[t.CSS_VARS_RAW.component.datePicker.inputHeight]=t.CSS_VARS.size[e.size].height,a[t.CSS_VARS_RAW.component.datePicker.inputRadius]=t.CSS_VARS.size[e.size].radius,a[t.CSS_VARS_RAW.component.datePicker.inputValueColor]=t.CSS_VARS.genre.input[e.genre].color,a[t.CSS_VARS_RAW.component.datePicker.inputPlaceholderColor]=t.CSS_VARS.genre.input[e.genre].placeholder,a[t.CSS_VARS_RAW.component.datePicker.buttonToggleRight]=`${t.CSS_VARS.size[e.size].padding}`,a[t.CSS_VARS_RAW.component.datePicker.buttonClearRight]=`${t.CSS_VARS.sizeValue[e.size].padding*2+t.CSS_VARS.sizeValue[e.size].height}px`,{className:n,style:_.setStyles([Object.keys(a).length?a:void 0,e.style])}},[e.className,e.style,H,e.genre,e.size]),{className:De,style:xe}=(0,o.useMemo)(()=>{const n=_.setClasses([e.classNamePopover]),a={};return a[t.CSS_VARS_RAW.component.datePicker.dayRadius]=`${K}px`,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundRest]=t.CSS_VARS.genre.datepicker[e.genre].background.index,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundHover]=t.CSS_VARS.genre.datepicker[e.genre].background.hover,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundWeekend]=t.CSS_VARS.genre.datepicker[e.genre].background.weekend,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundToday]=t.CSS_VARS.genre.datepicker[e.genre].background.today,a[t.CSS_VARS_RAW.component.datePicker.dayBackgroundChoice]=t.CSS_VARS.genre.datepicker[e.genre].background.choice,a[t.CSS_VARS_RAW.component.datePicker.dayBorderRest]=t.CSS_VARS.genre.datepicker[e.genre].border.index,a[t.CSS_VARS_RAW.component.datePicker.dayBorderWeekend]=t.CSS_VARS.genre.datepicker[e.genre].border.weekend,a[t.CSS_VARS_RAW.component.datePicker.dayBorderToday]=t.CSS_VARS.genre.datepicker[e.genre].border.today,a[t.CSS_VARS_RAW.component.datePicker.dayBorderChoice]=t.CSS_VARS.genre.datepicker[e.genre].border.choice,a[t.CSS_VARS_RAW.component.datePicker.dayBorderHover]=t.CSS_VARS.genre.datepicker[e.genre].border.hover,a[t.CSS_VARS_RAW.component.datePicker.dayColorRest]=t.CSS_VARS.genre.datepicker[e.genre].color.index,a[t.CSS_VARS_RAW.component.datePicker.dayColorHover]=t.CSS_VARS.genre.datepicker[e.genre].color.hover,a[t.CSS_VARS_RAW.component.datePicker.dayColorWeekend]=t.CSS_VARS.genre.datepicker[e.genre].color.weekend,a[t.CSS_VARS_RAW.component.datePicker.dayColorToday]=t.CSS_VARS.genre.datepicker[e.genre].color.today,a[t.CSS_VARS_RAW.component.datePicker.dayColorChoice]=t.CSS_VARS.genre.datepicker[e.genre].color.choice,{className:n,style:_.setStyles([Object.keys(a).length?a:void 0,{background:t.CSS_VARS.genre.popover[e.genre].background,border:`solid 1px ${t.CSS_VARS.genre.input[e.genre].border}`},e.stylePopover])}},[e.classNamePopover,e.stylePopover,e.genre,K]),Ye=(0,o.useMemo)(()=>P!=="manual"||e.isShowClearButton&&(N||y)&&!e?.isDisabled&&!e?.isReadOnly,[P,y,N,e.isShowClearButton,e?.isDisabled,e?.isReadOnly]);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:Me,style:Pe,tabIndex:-1,children:(0,g.jsxs)("div",{ref:me,tabIndex:-1,onClick:()=>{if(P==="select"){p();return}!r&&!e?.isReadOnly&&b(s.DD)},className:_.setClasses([t.CSS_CLASS.component.datePicker.inputWrapper,t.CSS_CLASS.transition.color,t.CSS_CLASS.control[e.isDisabled?"none":e.control??(Y||r?"boxShadowSelect":"boxShadowOnlyHover")]]),children:[P!=="select"?(0,g.jsx)("input",{name:e.name,"aria-label":e.ariaLabel??e.name,autoComplete:e.autoComplete,id:e.id,ref:W,type:"tel",inputMode:"numeric",tabIndex:0,disabled:e?.isDisabled||e?.isReadOnly,style:{position:"absolute",left:"-100dvw",top:0,width:"100%",height:"100%",opacity:0,border:"none",background:"transparent"},onKeyDown:I,onChange:Ve,onFocus:_e,onBlur:Re}):null,H?(0,g.jsx)(Oe.Typography,{sx:{size:16,line:1,isNoUserSelect:!0},style:{color:t.CSS_VARS.genre.input[e.genre].placeholder},children:e.labelPlaceholder}):h.sort.map((n,a)=>(0,g.jsxs)(o.Fragment,{children:[(0,g.jsx)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.inputSegment,t.CSS_CLASS.transition.color,be,!!n.value&&t.CSS_CLASS.component.datePicker.inputSegmentHasValue,r===n.type&&t.CSS_CLASS.component.datePicker.inputSegmentIsActive]),style:ve,onClick:c=>{P!=="select"&&(c.preventDefault(),c.stopPropagation(),!(e?.isDisabled||e?.isReadOnly)&&n.setActive())},children:n.value||n.placeholder||""}),a!==h.sort.length-1&&(0,g.jsx)("span",{style:{width:"4px",pointerEvents:"none",textAlign:"center"},children:"."})]},n.type)),Ye?(0,g.jsxs)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.listButton]),children:[e.isShowClearButton&&(N||y)&&!e?.isDisabled&&!e?.isReadOnly?(0,g.jsx)(T.Button,{genre:e.genre,size:"small",isWidthAsHeight:!0,isFullRadius:!0,isFullSize:!0,isHiddenBorder:!0,isOnlyIcon:!0,tabIndex:0,icons:[{name:"Close",type:"id"}],isDisabled:e?.isDisabled||e?.isReadOnly,onFocus:n=>{n.preventDefault(),n.stopPropagation(),b(null)},onClick:n=>{n.preventDefault(),n.stopPropagation(),d(null),V(),D(!1)}}):null,P!=="manual"?(0,g.jsx)(T.Button,{genre:e.genre,size:"small",isWidthAsHeight:!0,isFullRadius:!0,isFullSize:!0,isHiddenBorder:!0,isOnlyIcon:!0,icons:[{name:"Calendar",type:"id"}],isDisabled:e?.isDisabled||e?.isReadOnly,tabIndex:0,onFocus:n=>{n.preventDefault(),n.stopPropagation(),b(null)},onClick:n=>{n.preventDefault(),n.stopPropagation(),p()}}):null]}):null]})}),(0,g.jsx)(re.Popover,{style:xe,className:De,size:e.size,genre:e.genre,isOpen:Y,floatingStyles:ye,ref:he,control:"boxShadowSelect",isDisabledBoxShadow:!0,children:(0,g.jsxs)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.dropdownList]),children:[(0,g.jsxs)(ae.Stack,{style:{justifyContent:"space-between",alignItems:"center"},children:[(0,g.jsx)(T.Button,{type:"button",isFullRadius:!0,icons:[{name:"Arrow2",type:"id",turn:90}],isWidthAsHeight:!0,genre:e.genre,size:"small",onClick:()=>ke(),isHidden:X,isDisabled:X}),(0,g.jsxs)(ae.Stack,{style:{gap:"8px"},children:[(0,g.jsx)(R.SelectMonth,{isToggleWhenClickSelectListOption:!0,monthsLocale:e.locale.months,genre:e.genre,size:"small",value:(i??u).clone().startOf("month").utc().valueOf(),isOnClickOptionClose:!0,isStayValueAfterSelect:!0,isOnlyColorInSelectListOption:!0,isCenter:!0,isShortLabel:!0,refFloating:Z,onChange:n=>{n&&v(n,!0)},dateMin:e.dateMin,dateMax:e.dateMax,style:{width:"60px"}}),(0,g.jsx)(R.SelectYear,{isToggleWhenClickSelectListOption:!0,genre:e.genre,size:"small",refFloating:J,value:(i??u).clone().startOf("year").utc().valueOf(),onChange:n=>{n&&v(n,!0)},isOnClickOptionClose:!0,isStayValueAfterSelect:!0,isOnlyColorInSelectListOption:!0,isCenter:!0,dateMin:e.dateMin,dateMax:e.dateMax,style:{width:"60px"}})]}),(0,g.jsx)(T.Button,{type:"button",onClick:()=>Ae(),isWidthAsHeight:!0,isFullRadius:!0,icons:[{name:"Arrow2",type:"id",turn:-90}],genre:e.genre,size:"small",isDisabled:U,isHidden:U})]}),(0,g.jsxs)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.dropdownListDays]),style:_.setStyles([{[t.CSS_VARS_RAW.component.datePicker.rows]:de}]),children:[ue.map((n,a)=>(0,g.jsx)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.dayOfWeek,ee,t.CSS_CLASS.transition.color]),style:_.setStyles([te,{[t.CSS_VARS_RAW.component.datePicker.row]:O[0]?.weekOfMonth-1,[t.CSS_VARS_RAW.component.datePicker.column]:a+1}]),tabIndex:-1,children:n.label},`${n.label}-${a}`)),O.map(n=>(0,g.jsx)("div",{className:_.setClasses([t.CSS_CLASS.component.datePicker.day,ee,t.CSS_CLASS.control[n.isDisabled||n.isChoice?"none":"boxShadow"],t.CSS_CLASS.transition.color,n.isDisabled&&t.CSS_CLASS.component.datePicker.dayIsHidden,n.isToday&&t.CSS_CLASS.component.datePicker.dayIsToday,n.isWeekend&&t.CSS_CLASS.component.datePicker.dayIsWeekend,n.isChoice&&t.CSS_CLASS.component.datePicker.dayIsChoice,!n.isCurrentMonth&&t.CSS_CLASS.component.datePicker.dayIsNotCurrentMonth]),style:_.setStyles([te,{[t.CSS_VARS_RAW.component.datePicker.row]:n?.weekOfMonth+1,[t.CSS_VARS_RAW.component.datePicker.column]:n.dayOfWeek}]),onClick:()=>{n.isDisabled||(v(n.value,!0),e.isOnClickClose&&F())},tabIndex:n.isDisabled?-1:0,children:n.labelNumber},n.value))]})]})}),(e?.error?.isError||ce)&&(0,g.jsx)(we.ErrorMessage,{size:e?.error?.size??e.size,sxTypography:{size:16,weight:"400",...e?.error?.sxTypography},...e.error})]})},Ie=/^\d{4}-\d{2}-\d{2}$/,Le=/^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;function je(e,d,i,S){const u=e,f=d,l=i[f]??"";if(f===s.DD){if(l.length>=2){S.default[f].setValue(u);return}if(l===""){S.default[f].setValue(u);return}const C=l+u,y=Number(C);if(y>31){S.default[f].setValue(u);return}if(y===0){S.default[f].setValue(u);return}S.default[f].setValue(C),S.default[f].onNextSegment()}else if(f===s.MM){if(l.length>=2){S.default[f].setValue(u);return}if(l===""){S.default[f].setValue(u);return}const C=l+u,y=Number(C);if(y>12){S.default[f].setValue(u);return}if(y===0){S.default[f].setValue(u);return}S.default[f].setValue(C),(C.length===2||C.length===1&&Number(C)>1)&&S.default[f].onNextSegment()}else if(f===s.YYYY){if(l.length>=4){S.default[f].setValue(u);return}const C=l+u;S.default[f].setValue(C)}}function Te(e){if(Ie.test(e)){const[i,S,u]=e.split("-").map(Number);return le(i,S,u)}const d=Le.exec(e);if(d){const[i,S,u,f]=d,l=Number(S),C=Number(u),y=Number(f);let V,r;return l>12?(r=l,V=C):(V=l,r=C),le(y,V,r)}return null}function le(e,d,i){const S=new Date(e,d-1,i);return S.getFullYear()===e&&S.getMonth()===d-1&&S.getDate()===i?{year:e,month:d,day:i}:null}function Ee(e){const i=Math.floor(e/7);return e%7>0?i+1:i}function ie(e,d){const i=d.indexOf(e);return i<d.length-1?d[i+1]:d[0]}function se(e,d){const i=d.indexOf(e);return i>0?d[i-1]:d[d.length-1]}function $(e,d,i,S){const u=e.DD,f=e.MM,l=e.YYYY,C=u===""?NaN:Number(u),y=f===""?NaN:Number(f),V=l===""?NaN:Number(l),r=u!==""||f!==""||l!=="";if(!Number.isNaN(C)&&!Number.isNaN(y)&&!Number.isNaN(V)){const b=R.hooks.utc(`${C}.${y}.${V}`,"D.M.YYYY",!0).startOf("day");b.isValid()?d?.(b.valueOf()):i?.()}else S?.(r)}Object.defineProperty(exports,"DatePicker",{enumerable:!0,get:function(){return ze}});
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=date-picker-CPNNIEa-.cjs.map
|