@jenesei-software/jenesei-kit-react 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +102 -0
- package/build/area-9NUxwBGc.cjs +2 -0
- package/build/area-9NUxwBGc.cjs.map +1 -0
- package/build/area-BnAddPtl.js +114 -0
- package/build/area-BnAddPtl.js.map +1 -0
- package/build/area-C2sWYH-e.js +47 -0
- package/build/area-C2sWYH-e.js.map +1 -0
- package/build/area-CD10k19W.cjs +27 -0
- package/build/area-CD10k19W.cjs.map +1 -0
- package/build/area-ClrrGVJG.cjs +40 -0
- package/build/area-ClrrGVJG.cjs.map +1 -0
- package/build/area-D7906bXA.cjs +2 -0
- package/build/area-D7906bXA.cjs.map +1 -0
- package/build/area-DRqAofd0.js +35 -0
- package/build/area-DRqAofd0.js.map +1 -0
- package/build/area-DfCAwCiZ.js +69 -0
- package/build/area-DfCAwCiZ.js.map +1 -0
- package/build/area-outside.cjs.js +2 -0
- package/build/area-outside.cjs.js.map +1 -0
- package/build/area-outside.d.ts +28 -0
- package/build/area-outside.es.js +5 -0
- package/build/area-outside.es.js.map +1 -0
- package/build/area-preview.cjs.js +2 -0
- package/build/area-preview.cjs.js.map +1 -0
- package/build/area-preview.d.ts +48 -0
- package/build/area-preview.es.js +7 -0
- package/build/area-preview.es.js.map +1 -0
- package/build/area-scroll.cjs.js +2 -0
- package/build/area-scroll.cjs.js.map +1 -0
- package/build/area-scroll.d.ts +58 -0
- package/build/area-scroll.es.js +6 -0
- package/build/area-scroll.es.js.map +1 -0
- package/build/area-skeleton.cjs.js +2 -0
- package/build/area-skeleton.cjs.js.map +1 -0
- package/build/area-skeleton.d.ts +64 -0
- package/build/area-skeleton.es.js +6 -0
- package/build/area-skeleton.es.js.map +1 -0
- package/build/area-smooth.cjs.js +2 -0
- package/build/area-smooth.cjs.js.map +1 -0
- package/build/area-smooth.d.ts +37 -0
- package/build/area-smooth.es.js +5 -0
- package/build/area-smooth.es.js.map +1 -0
- package/build/area.hooks-Bk04M7mk.js +26 -0
- package/build/area.hooks-Bk04M7mk.js.map +1 -0
- package/build/area.hooks-C_UKZzcb.cjs +2 -0
- package/build/area.hooks-C_UKZzcb.cjs.map +1 -0
- package/build/build-info.txt +3 -0
- package/build/component--Oo5_3xq.cjs +2 -0
- package/build/component--Oo5_3xq.cjs.map +1 -0
- package/build/component-BV_7tGiu.cjs +28 -0
- package/build/component-BV_7tGiu.cjs.map +1 -0
- package/build/component-BcHiCCC9.js +23 -0
- package/build/component-BcHiCCC9.js.map +1 -0
- package/build/component-BnI7BIp-.cjs +2 -0
- package/build/component-BnI7BIp-.cjs.map +1 -0
- package/build/component-ByY_9Ryc.js +65 -0
- package/build/component-ByY_9Ryc.js.map +1 -0
- package/build/component-C2JFFh-k.js +2372 -0
- package/build/component-C2JFFh-k.js.map +1 -0
- package/build/component-C52VCES6.cjs +247 -0
- package/build/component-C52VCES6.cjs.map +1 -0
- package/build/component-CBshLNEf.js +50 -0
- package/build/component-CBshLNEf.js.map +1 -0
- package/build/component-CFMlaYj1.js +66 -0
- package/build/component-CFMlaYj1.js.map +1 -0
- package/build/component-CuiUpH8H.js +207 -0
- package/build/component-CuiUpH8H.js.map +1 -0
- package/build/component-D1NPhRuV.cjs +90 -0
- package/build/component-D1NPhRuV.cjs.map +1 -0
- package/build/component-DZxbW_Jz.js +237 -0
- package/build/component-DZxbW_Jz.js.map +1 -0
- package/build/component-UW1VzyvB.cjs +52 -0
- package/build/component-UW1VzyvB.cjs.map +1 -0
- package/build/component-accordion.cjs.js +2 -0
- package/build/component-accordion.cjs.js.map +1 -0
- package/build/component-accordion.d.ts +94 -0
- package/build/component-accordion.es.js +10 -0
- package/build/component-accordion.es.js.map +1 -0
- package/build/component-button-group.cjs.js +2 -0
- package/build/component-button-group.cjs.js.map +1 -0
- package/build/component-button-group.d.ts +320 -0
- package/build/component-button-group.es.js +6 -0
- package/build/component-button-group.es.js.map +1 -0
- package/build/component-button.cjs.js +2 -0
- package/build/component-button.cjs.js.map +1 -0
- package/build/component-button.d.ts +347 -0
- package/build/component-button.es.js +9 -0
- package/build/component-button.es.js.map +1 -0
- package/build/component-checkbox-group.cjs.js +2 -0
- package/build/component-checkbox-group.cjs.js.map +1 -0
- package/build/component-checkbox-group.d.ts +337 -0
- package/build/component-checkbox-group.es.js +11 -0
- package/build/component-checkbox-group.es.js.map +1 -0
- package/build/component-checkbox.cjs.js +2 -0
- package/build/component-checkbox.cjs.js.map +1 -0
- package/build/component-checkbox.d.ts +342 -0
- package/build/component-checkbox.es.js +10 -0
- package/build/component-checkbox.es.js.map +1 -0
- package/build/component-date-picker.cjs.js +2 -0
- package/build/component-date-picker.cjs.js.map +1 -0
- package/build/component-date-picker.d.ts +415 -0
- package/build/component-date-picker.es.js +17 -0
- package/build/component-date-picker.es.js.map +1 -0
- package/build/component-icon.cjs.js +2 -0
- package/build/component-icon.cjs.js.map +1 -0
- package/build/component-icon.d.ts +198 -0
- package/build/component-icon.es.js +12 -0
- package/build/component-icon.es.js.map +1 -0
- package/build/component-image-button.cjs.js +2 -0
- package/build/component-image-button.cjs.js.map +1 -0
- package/build/component-image-button.d.ts +340 -0
- package/build/component-image-button.es.js +5 -0
- package/build/component-image-button.es.js.map +1 -0
- package/build/component-image-select.cjs.js +2 -0
- package/build/component-image-select.cjs.js.map +1 -0
- package/build/component-image-select.d.ts +436 -0
- package/build/component-image-select.es.js +11 -0
- package/build/component-image-select.es.js.map +1 -0
- package/build/component-image-slider.cjs.js +2 -0
- package/build/component-image-slider.cjs.js.map +1 -0
- package/build/component-image-slider.d.ts +108 -0
- package/build/component-image-slider.es.js +8 -0
- package/build/component-image-slider.es.js.map +1 -0
- package/build/component-image.cjs.js +2 -0
- package/build/component-image.cjs.js.map +1 -0
- package/build/component-image.d.ts +51 -0
- package/build/component-image.es.js +6 -0
- package/build/component-image.es.js.map +1 -0
- package/build/component-input-otp.cjs.js +2 -0
- package/build/component-input-otp.cjs.js.map +1 -0
- package/build/component-input-otp.d.ts +150 -0
- package/build/component-input-otp.es.js +8 -0
- package/build/component-input-otp.es.js.map +1 -0
- package/build/component-input.cjs.js +2 -0
- package/build/component-input.cjs.js.map +1 -0
- package/build/component-input.d.ts +226 -0
- package/build/component-input.es.js +20 -0
- package/build/component-input.es.js.map +1 -0
- package/build/component-jPZYT5iL.js +76 -0
- package/build/component-jPZYT5iL.js.map +1 -0
- package/build/component-map.cjs.js +2 -0
- package/build/component-map.cjs.js.map +1 -0
- package/build/component-map.d.ts +97 -0
- package/build/component-map.es.js +18 -0
- package/build/component-map.es.js.map +1 -0
- package/build/component-nFn_uOy_.cjs +2 -0
- package/build/component-nFn_uOy_.cjs.map +1 -0
- package/build/component-pagination.cjs.js +2 -0
- package/build/component-pagination.cjs.js.map +1 -0
- package/build/component-pagination.d.ts +321 -0
- package/build/component-pagination.es.js +6 -0
- package/build/component-pagination.es.js.map +1 -0
- package/build/component-range.cjs.js +2 -0
- package/build/component-range.cjs.js.map +1 -0
- package/build/component-range.d.ts +153 -0
- package/build/component-range.es.js +8 -0
- package/build/component-range.es.js.map +1 -0
- package/build/component-ripple.cjs.js +2 -0
- package/build/component-ripple.cjs.js.map +1 -0
- package/build/component-ripple.d.ts +45 -0
- package/build/component-ripple.es.js +12 -0
- package/build/component-ripple.es.js.map +1 -0
- package/build/component-select.cjs.js +2 -0
- package/build/component-select.cjs.js.map +1 -0
- package/build/component-select.d.ts +406 -0
- package/build/component-select.es.js +25 -0
- package/build/component-select.es.js.map +1 -0
- package/build/component-separator.cjs.js +2 -0
- package/build/component-separator.cjs.js.map +1 -0
- package/build/component-separator.d.ts +46 -0
- package/build/component-separator.es.js +6 -0
- package/build/component-separator.es.js.map +1 -0
- package/build/component-stack.cjs.js +2 -0
- package/build/component-stack.cjs.js.map +1 -0
- package/build/component-stack.d.ts +72 -0
- package/build/component-stack.es.js +8 -0
- package/build/component-stack.es.js.map +1 -0
- package/build/component-textarea.cjs.js +2 -0
- package/build/component-textarea.cjs.js.map +1 -0
- package/build/component-textarea.d.ts +131 -0
- package/build/component-textarea.es.js +12 -0
- package/build/component-textarea.es.js.map +1 -0
- package/build/component-toggle.cjs.js +2 -0
- package/build/component-toggle.cjs.js.map +1 -0
- package/build/component-toggle.d.ts +101 -0
- package/build/component-toggle.es.js +7 -0
- package/build/component-toggle.es.js.map +1 -0
- package/build/component-tooltip.cjs.js +2 -0
- package/build/component-tooltip.cjs.js.map +1 -0
- package/build/component-tooltip.d.ts +170 -0
- package/build/component-tooltip.es.js +12 -0
- package/build/component-tooltip.es.js.map +1 -0
- package/build/component-typography.cjs.js +2 -0
- package/build/component-typography.cjs.js.map +1 -0
- package/build/component-typography.d.ts +183 -0
- package/build/component-typography.es.js +10 -0
- package/build/component-typography.es.js.map +1 -0
- package/build/component-xnEaYd4a.cjs +2 -0
- package/build/component-xnEaYd4a.cjs.map +1 -0
- package/build/component.components-BAAT5GTH.js +363 -0
- package/build/component.components-BAAT5GTH.js.map +1 -0
- package/build/component.components-CaR5gfQW.cjs +16 -0
- package/build/component.components-CaR5gfQW.cjs.map +1 -0
- package/build/component.constants-BeWW8Ijx.cjs +2 -0
- package/build/component.constants-BeWW8Ijx.cjs.map +1 -0
- package/build/component.constants-D9wVZ3zy.cjs +22 -0
- package/build/component.constants-D9wVZ3zy.cjs.map +1 -0
- package/build/component.constants-DRvp5Bez.js +142 -0
- package/build/component.constants-DRvp5Bez.js.map +1 -0
- package/build/component.constants-DbNhxh0k.js +759 -0
- package/build/component.constants-DbNhxh0k.js.map +1 -0
- package/build/component.styles-B0L4jbOO.js +59 -0
- package/build/component.styles-B0L4jbOO.js.map +1 -0
- package/build/component.styles-B1DIataj.cjs +10 -0
- package/build/component.styles-B1DIataj.cjs.map +1 -0
- package/build/component.styles-BFwkFWkd.cjs +39 -0
- package/build/component.styles-BFwkFWkd.cjs.map +1 -0
- package/build/component.styles-BSEA2Dqn.cjs +8 -0
- package/build/component.styles-BSEA2Dqn.cjs.map +1 -0
- package/build/component.styles-BapdQNhL.js +2166 -0
- package/build/component.styles-BapdQNhL.js.map +1 -0
- package/build/component.styles-BfvB83xM.cjs +22 -0
- package/build/component.styles-BfvB83xM.cjs.map +1 -0
- package/build/component.styles-Bn6ylF83.js +859 -0
- package/build/component.styles-Bn6ylF83.js.map +1 -0
- package/build/component.styles-BsZIuwWJ.cjs +140 -0
- package/build/component.styles-BsZIuwWJ.cjs.map +1 -0
- package/build/component.styles-C6LohBfF.js +81 -0
- package/build/component.styles-C6LohBfF.js.map +1 -0
- package/build/component.styles-CEBh8X5q.js +20 -0
- package/build/component.styles-CEBh8X5q.js.map +1 -0
- package/build/component.styles-CPsxMKVK.cjs +73 -0
- package/build/component.styles-CPsxMKVK.cjs.map +1 -0
- package/build/component.styles-CTo5NC52.js +71 -0
- package/build/component.styles-CTo5NC52.js.map +1 -0
- package/build/component.styles-CV7jTFCg.js +758 -0
- package/build/component.styles-CV7jTFCg.js.map +1 -0
- package/build/component.styles-CVBpx4fw.js +474 -0
- package/build/component.styles-CVBpx4fw.js.map +1 -0
- package/build/component.styles-CZu2m0O4.cjs +21 -0
- package/build/component.styles-CZu2m0O4.cjs.map +1 -0
- package/build/component.styles-CmBcHREH.cjs +13 -0
- package/build/component.styles-CmBcHREH.cjs.map +1 -0
- package/build/component.styles-CmEFZfA5.js +120 -0
- package/build/component.styles-CmEFZfA5.js.map +1 -0
- package/build/component.styles-DHIw8p8e.cjs +158 -0
- package/build/component.styles-DHIw8p8e.cjs.map +1 -0
- package/build/component.styles-DOPCUXcr.js +158 -0
- package/build/component.styles-DOPCUXcr.js.map +1 -0
- package/build/component.styles-Dj3h7jd9.cjs +165 -0
- package/build/component.styles-Dj3h7jd9.cjs.map +1 -0
- package/build/component.styles-Do1NYZEO.js +86 -0
- package/build/component.styles-Do1NYZEO.js.map +1 -0
- package/build/component.styles-Dok17vPl.js +126 -0
- package/build/component.styles-Dok17vPl.js.map +1 -0
- package/build/component.styles-Dpg-__rn.cjs +43 -0
- package/build/component.styles-Dpg-__rn.cjs.map +1 -0
- package/build/component.styles-DpkFoWEh.cjs +81 -0
- package/build/component.styles-DpkFoWEh.cjs.map +1 -0
- package/build/component.styles-DqsBDAEo.js +202 -0
- package/build/component.styles-DqsBDAEo.js.map +1 -0
- package/build/component.styles-Du2y0R4W.js +177 -0
- package/build/component.styles-Du2y0R4W.js.map +1 -0
- package/build/component.styles-DxeG9Opm.cjs +47 -0
- package/build/component.styles-DxeG9Opm.cjs.map +1 -0
- package/build/component.styles-DyGfo9t0.cjs +32 -0
- package/build/component.styles-DyGfo9t0.cjs.map +1 -0
- package/build/component.styles-RkQwTlwG.js +170 -0
- package/build/component.styles-RkQwTlwG.js.map +1 -0
- package/build/component.styles-ZtwHuL4x.cjs +75 -0
- package/build/component.styles-ZtwHuL4x.cjs.map +1 -0
- package/build/component.types-D05KdxnZ.js +132 -0
- package/build/component.types-D05KdxnZ.js.map +1 -0
- package/build/component.types-gy5Q9qHX.cjs +2 -0
- package/build/component.types-gy5Q9qHX.cjs.map +1 -0
- package/build/consts.cjs.js +2 -0
- package/build/consts.cjs.js.map +1 -0
- package/build/consts.d.ts +86 -0
- package/build/consts.es.js +177 -0
- package/build/consts.es.js.map +1 -0
- package/build/context-app.cjs.js +2 -0
- package/build/context-app.cjs.js.map +1 -0
- package/build/context-app.d.ts +223 -0
- package/build/context-app.es.js +20 -0
- package/build/context-app.es.js.map +1 -0
- package/build/context-cookie.cjs.js +2 -0
- package/build/context-cookie.cjs.js.map +1 -0
- package/build/context-cookie.d.ts +67 -0
- package/build/context-cookie.es.js +9 -0
- package/build/context-cookie.es.js.map +1 -0
- package/build/context-dialog.cjs.js +2 -0
- package/build/context-dialog.cjs.js.map +1 -0
- package/build/context-dialog.d.ts +92 -0
- package/build/context-dialog.es.js +18 -0
- package/build/context-dialog.es.js.map +1 -0
- package/build/context-geolocation.cjs.js +2 -0
- package/build/context-geolocation.cjs.js.map +1 -0
- package/build/context-geolocation.d.ts +22 -0
- package/build/context-geolocation.es.js +7 -0
- package/build/context-geolocation.es.js.map +1 -0
- package/build/context-local-storage.cjs.js +2 -0
- package/build/context-local-storage.cjs.js.map +1 -0
- package/build/context-local-storage.d.ts +54 -0
- package/build/context-local-storage.es.js +9 -0
- package/build/context-local-storage.es.js.map +1 -0
- package/build/context-permission.cjs.js +2 -0
- package/build/context-permission.cjs.js.map +1 -0
- package/build/context-permission.d.ts +28 -0
- package/build/context-permission.es.js +9 -0
- package/build/context-permission.es.js.map +1 -0
- package/build/context-screen-width.cjs.js +2 -0
- package/build/context-screen-width.cjs.js.map +1 -0
- package/build/context-screen-width.d.ts +34 -0
- package/build/context-screen-width.es.js +7 -0
- package/build/context-screen-width.es.js.map +1 -0
- package/build/context-sonner.cjs.js +2 -0
- package/build/context-sonner.cjs.js.map +1 -0
- package/build/context-sonner.d.ts +449 -0
- package/build/context-sonner.es.js +21 -0
- package/build/context-sonner.es.js.map +1 -0
- package/build/context.constants-B29-_8v3.cjs +32 -0
- package/build/context.constants-B29-_8v3.cjs.map +1 -0
- package/build/context.constants-BaD7xj_m.cjs +100 -0
- package/build/context.constants-BaD7xj_m.cjs.map +1 -0
- package/build/context.constants-CsZRZ7gH.js +228 -0
- package/build/context.constants-CsZRZ7gH.js.map +1 -0
- package/build/context.constants-DqYjo5m4.js +375 -0
- package/build/context.constants-DqYjo5m4.js.map +1 -0
- package/build/context.functions-80N-5MqM.cjs +2 -0
- package/build/context.functions-80N-5MqM.cjs.map +1 -0
- package/build/context.functions-B8FDl7nJ.js +14 -0
- package/build/context.functions-B8FDl7nJ.js.map +1 -0
- package/build/context.functions-BD15C8_y.js +128 -0
- package/build/context.functions-BD15C8_y.js.map +1 -0
- package/build/context.functions-CQ9GerPb.js +147 -0
- package/build/context.functions-CQ9GerPb.js.map +1 -0
- package/build/context.functions-ar41xFVo.cjs +2 -0
- package/build/context.functions-ar41xFVo.cjs.map +1 -0
- package/build/context.functions-ohI9H54j.cjs +2 -0
- package/build/context.functions-ohI9H54j.cjs.map +1 -0
- package/build/context.hooks-7ydA7mGj.js +117 -0
- package/build/context.hooks-7ydA7mGj.js.map +1 -0
- package/build/context.hooks-BIsapq-0.cjs +2 -0
- package/build/context.hooks-BIsapq-0.cjs.map +1 -0
- package/build/context.hooks-BmwyZ1p3.js +68 -0
- package/build/context.hooks-BmwyZ1p3.js.map +1 -0
- package/build/context.hooks-BzMTkJNv.js +52 -0
- package/build/context.hooks-BzMTkJNv.js.map +1 -0
- package/build/context.hooks-CTi-CVKx.cjs +72 -0
- package/build/context.hooks-CTi-CVKx.cjs.map +1 -0
- package/build/context.hooks-D13tbrva.cjs +2 -0
- package/build/context.hooks-D13tbrva.cjs.map +1 -0
- package/build/context.hooks-gyzZSaVi.js +527 -0
- package/build/context.hooks-gyzZSaVi.js.map +1 -0
- package/build/context.hooks-u408Pxw8.cjs +2 -0
- package/build/context.hooks-u408Pxw8.cjs.map +1 -0
- package/build/functions.cjs.js +2 -0
- package/build/functions.cjs.js.map +1 -0
- package/build/functions.d.ts +22 -0
- package/build/functions.es.js +47 -0
- package/build/functions.es.js.map +1 -0
- package/build/hooks-use-debounced-callback.cjs.js +2 -0
- package/build/hooks-use-debounced-callback.cjs.js.map +1 -0
- package/build/hooks-use-debounced-callback.d.ts +3 -0
- package/build/hooks-use-debounced-callback.es.js +5 -0
- package/build/hooks-use-debounced-callback.es.js.map +1 -0
- package/build/hooks-use-deep-compare-memoize.cjs.js +2 -0
- package/build/hooks-use-deep-compare-memoize.cjs.js.map +1 -0
- package/build/hooks-use-deep-compare-memoize.d.ts +3 -0
- package/build/hooks-use-deep-compare-memoize.es.js +5 -0
- package/build/hooks-use-deep-compare-memoize.es.js.map +1 -0
- package/build/index.cjs.js +2 -0
- package/build/index.cjs.js.map +1 -0
- package/build/index.d.ts +2540 -0
- package/build/index.es.js +329 -0
- package/build/index.es.js.map +1 -0
- package/build/jsx-runtime-BcGej2Kr.cjs +11 -0
- package/build/jsx-runtime-BcGej2Kr.cjs.map +1 -0
- package/build/jsx-runtime-BrDlu8eK.js +320 -0
- package/build/jsx-runtime-BrDlu8eK.js.map +1 -0
- package/build/motion-CIQfrLky.js +85 -0
- package/build/motion-CIQfrLky.js.map +1 -0
- package/build/motion-DgB7M2Hn.cjs +2 -0
- package/build/motion-DgB7M2Hn.cjs.map +1 -0
- package/build/style-CEGJOjRW.js +107 -0
- package/build/style-CEGJOjRW.js.map +1 -0
- package/build/style-CtGd1JVB.cjs +32 -0
- package/build/style-CtGd1JVB.cjs.map +1 -0
- package/build/style-DeAgDHyI.js +52 -0
- package/build/style-DeAgDHyI.js.map +1 -0
- package/build/style-Dm74EPGE.cjs +87 -0
- package/build/style-Dm74EPGE.cjs.map +1 -0
- package/build/style-add.cjs.js +2 -0
- package/build/style-add.cjs.js.map +1 -0
- package/build/style-add.d.ts +21 -0
- package/build/style-add.es.js +13 -0
- package/build/style-add.es.js.map +1 -0
- package/build/style-error.cjs.js +2 -0
- package/build/style-error.cjs.js.map +1 -0
- package/build/style-error.d.ts +56 -0
- package/build/style-error.es.js +7 -0
- package/build/style-error.es.js.map +1 -0
- package/build/style-fRZ6xrVp.cjs +10 -0
- package/build/style-fRZ6xrVp.cjs.map +1 -0
- package/build/style-motion.cjs.js +2 -0
- package/build/style-motion.cjs.js.map +1 -0
- package/build/style-motion.d.ts +20 -0
- package/build/style-motion.es.js +8 -0
- package/build/style-motion.es.js.map +1 -0
- package/build/style-plT9Ah7t.js +33 -0
- package/build/style-plT9Ah7t.js.map +1 -0
- package/build/style-sx.cjs.js +2 -0
- package/build/style-sx.cjs.js.map +1 -0
- package/build/style-sx.d.ts +31 -0
- package/build/style-sx.es.js +5 -0
- package/build/style-sx.es.js.map +1 -0
- package/build/style-theme.cjs.js +2 -0
- package/build/style-theme.cjs.js.map +1 -0
- package/build/style-theme.d.ts +263 -0
- package/build/style-theme.es.js +10 -0
- package/build/style-theme.es.js.map +1 -0
- package/build/style.css +1 -0
- package/build/theme.global-D6XU05Et.cjs +169 -0
- package/build/theme.global-D6XU05Et.cjs.map +1 -0
- package/build/theme.global-bN9HlSWE.js +1080 -0
- package/build/theme.global-bN9HlSWE.js.map +1 -0
- package/build/types.cjs.js +2 -0
- package/build/types.cjs.js.map +1 -0
- package/build/types.d.ts +27 -0
- package/build/types.es.js +2 -0
- package/build/types.es.js.map +1 -0
- package/build/use-BVj4dgbW.js +1547 -0
- package/build/use-BVj4dgbW.js.map +1 -0
- package/build/use-BhofoOgk.cjs +16 -0
- package/build/use-BhofoOgk.cjs.map +1 -0
- package/build/use-Bp8UVw4Y.js +16 -0
- package/build/use-Bp8UVw4Y.js.map +1 -0
- package/build/use-C1l0O0Qo.cjs +2 -0
- package/build/use-C1l0O0Qo.cjs.map +1 -0
- package/build/use-DT0XgvJT.js +25 -0
- package/build/use-DT0XgvJT.js.map +1 -0
- package/build/use-IhzeVumv.cjs +2 -0
- package/build/use-IhzeVumv.cjs.map +1 -0
- package/package.json +360 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { AddDollarSign } from '../..';
|
|
2
|
+
import { ClipboardEventHandler } from 'react';
|
|
3
|
+
import { CSSObject } from 'styled-components';
|
|
4
|
+
import { DefaultTheme } from 'styled-components';
|
|
5
|
+
import { DetailedHTMLProps } from 'react';
|
|
6
|
+
import { FocusEventHandler } from 'react';
|
|
7
|
+
import { HTMLAttributes } from 'react';
|
|
8
|
+
import { HTMLInputAutoCompleteAttribute } from 'react';
|
|
9
|
+
import { HTMLInputTypeAttribute } from 'react';
|
|
10
|
+
import { InputOTPProps as InputOTPProps_2 } from './component.types';
|
|
11
|
+
import { IStyledComponentBase } from 'styled-components/dist/types';
|
|
12
|
+
import { JSX } from 'react/jsx-runtime';
|
|
13
|
+
import { KeyboardEventHandler } from 'react';
|
|
14
|
+
import { PropsWithChildren } from 'react';
|
|
15
|
+
import { Ref } from 'react';
|
|
16
|
+
import { RuleSet } from 'styled-components';
|
|
17
|
+
import { Substitute } from 'styled-components/dist/types';
|
|
18
|
+
|
|
19
|
+
declare type AddDollarSign_2<T> = {
|
|
20
|
+
[K in keyof T as `$${string & K}`]: T[K];
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
declare interface addErrorProps {
|
|
24
|
+
error?: ErrorMessageProps;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare interface addSXProps {
|
|
28
|
+
sx?: SXProps;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare type ErrorMessageProps = {
|
|
32
|
+
errorMessage?: string;
|
|
33
|
+
isError?: boolean;
|
|
34
|
+
isErrorAbsolute?: boolean;
|
|
35
|
+
size?: IThemeSize;
|
|
36
|
+
sx?: addSXProps['sx'];
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
declare interface InputChildrenProps extends PropsWithChildren {
|
|
40
|
+
left: string;
|
|
41
|
+
right: string;
|
|
42
|
+
width: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare type InputDefaultProps = addErrorProps & addSXProps & {
|
|
46
|
+
ref?: Ref<HTMLInputElement | null>;
|
|
47
|
+
name?: string;
|
|
48
|
+
id?: string;
|
|
49
|
+
className?: string;
|
|
50
|
+
defaultValue?: string;
|
|
51
|
+
isNotShowHoverStyle?: boolean;
|
|
52
|
+
autocomplete?: HTMLInputAutoCompleteAttribute;
|
|
53
|
+
isAllowEmptyFormatting?: boolean;
|
|
54
|
+
genre: TInputGenre;
|
|
55
|
+
size: IThemeSize;
|
|
56
|
+
tabIndex?: number;
|
|
57
|
+
isWidthAsHeight?: boolean;
|
|
58
|
+
isNiceNumber?: boolean;
|
|
59
|
+
isDisabled?: boolean;
|
|
60
|
+
isLoading?: boolean;
|
|
61
|
+
isReadOnly?: boolean;
|
|
62
|
+
isInputEffect?: boolean;
|
|
63
|
+
isRequired?: boolean;
|
|
64
|
+
isCenter?: boolean;
|
|
65
|
+
isNoSpaces?: boolean;
|
|
66
|
+
onBlur?: FocusEventHandler<HTMLInputElement>;
|
|
67
|
+
onPaste?: ClipboardEventHandler<HTMLInputElement>;
|
|
68
|
+
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
69
|
+
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
70
|
+
placeholder?: string;
|
|
71
|
+
isBold?: boolean;
|
|
72
|
+
postfixChildren?: InputChildrenProps;
|
|
73
|
+
prefixChildren?: InputChildrenProps;
|
|
74
|
+
value?: string | null | number;
|
|
75
|
+
inputMode?: 'text' | 'none' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
76
|
+
maxLength?: number;
|
|
77
|
+
minLength?: number;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export declare const InputOTP: (props: InputOTPProps) => JSX.Element;
|
|
81
|
+
|
|
82
|
+
export declare type InputOTPProps = {
|
|
83
|
+
length: number;
|
|
84
|
+
onComplete?: (otp: string) => void;
|
|
85
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
86
|
+
} & Pick<InputStandardProps, 'size' | 'genre' | 'id' | 'sx' | 'error' | 'onChange'>;
|
|
87
|
+
|
|
88
|
+
/****************************************** Size *************************************************/
|
|
89
|
+
export declare const InputOTPSize: RuleSet<AddDollarSign<Pick<InputOTPProps_2, "size" | "sx" | "error">>>;
|
|
90
|
+
|
|
91
|
+
export declare const InputOTPSizeConstructor: (props: IThemeSizePropertyDefault & InputOTPWrapperProps) => RuleSet<object>;
|
|
92
|
+
|
|
93
|
+
export declare const InputOTPWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<InputOTPProps_2, "size" | "sx" | "error">>>> & string;
|
|
94
|
+
|
|
95
|
+
export declare type InputOTPWrapperProps = AddDollarSign_2<Pick<InputOTPProps, 'size' | 'sx' | 'error'>>;
|
|
96
|
+
|
|
97
|
+
declare type InputStandardProps = InputDefaultProps & {
|
|
98
|
+
variety: 'standard';
|
|
99
|
+
onChange?: (value: string) => void;
|
|
100
|
+
type?: HTMLInputTypeAttribute;
|
|
101
|
+
min?: number;
|
|
102
|
+
max?: number;
|
|
103
|
+
step?: number;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
|
|
107
|
+
|
|
108
|
+
declare type IThemeGenreInput = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'blackBorder' | 'realebail-white'>, IThemeGenreTypeDefault>;
|
|
109
|
+
|
|
110
|
+
declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white';
|
|
111
|
+
|
|
112
|
+
declare interface IThemeGenreTypeDefault {
|
|
113
|
+
background: {
|
|
114
|
+
rest: string;
|
|
115
|
+
hover: string;
|
|
116
|
+
};
|
|
117
|
+
border: {
|
|
118
|
+
rest: string;
|
|
119
|
+
hover: string;
|
|
120
|
+
};
|
|
121
|
+
color: {
|
|
122
|
+
rest: string;
|
|
123
|
+
hover: string;
|
|
124
|
+
placeholder: string;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
|
|
129
|
+
|
|
130
|
+
declare interface IThemeSizePropertyDefault {
|
|
131
|
+
font: number;
|
|
132
|
+
height: number;
|
|
133
|
+
heightIcon: number;
|
|
134
|
+
padding: number;
|
|
135
|
+
radius: number;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare type SXProps = ({
|
|
139
|
+
default: CSSObject;
|
|
140
|
+
} & {
|
|
141
|
+
[K in IThemeDevice]?: CSSObject;
|
|
142
|
+
}) | ((theme: DefaultTheme) => {
|
|
143
|
+
default: CSSObject;
|
|
144
|
+
} & {
|
|
145
|
+
[K in IThemeDevice]?: CSSObject;
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
declare type TInputGenre = keyof IThemeGenreInput;
|
|
149
|
+
|
|
150
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-input-otp.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./component-BnI7BIp-.cjs"),e=require("./component.styles-BsZIuwWJ.cjs");exports.Input=t.Input,exports.formatPhoneNumber=t.formatPhoneNumber,exports.InputIsInputEffect=e.InputIsInputEffect,exports.InputPlaceholder=e.InputPlaceholder,exports.InputPlaceholderNiceNumber=e.InputPlaceholderNiceNumber,exports.InputPostfixChildren=e.InputPostfixChildren,exports.InputPrefixChildren=e.InputPrefixChildren,exports.InputSize=e.InputSize,exports.InputSizeConstructor=e.InputSizeConstructor,exports.StyledInput=e.StyledInput,exports.StyledInputCSS=e.StyledInputCSS,exports.StyledInputNumeric=e.StyledInputNumeric,exports.StyledInputPattern=e.StyledInputPattern,exports.StyledInputWrapper=e.StyledInputWrapper,exports.StyledMotionInput=e.StyledMotionInput;
|
|
2
|
+
//# sourceMappingURL=component-input.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-input.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { AddDollarSign } from '../..';
|
|
2
|
+
import { ClipboardEventHandler } from 'react';
|
|
3
|
+
import { Component } from 'react';
|
|
4
|
+
import { ComponentType } from 'react';
|
|
5
|
+
import { CSSObject } from 'styled-components';
|
|
6
|
+
import { DefaultTheme } from 'styled-components';
|
|
7
|
+
import { DetailedHTMLProps } from 'react';
|
|
8
|
+
import { FocusEventHandler } from 'react';
|
|
9
|
+
import { ForwardRefComponent } from 'framer-motion';
|
|
10
|
+
import { HTMLAttributes } from 'react';
|
|
11
|
+
import { HTMLInputAutoCompleteAttribute } from 'react';
|
|
12
|
+
import { HTMLInputTypeAttribute } from 'react';
|
|
13
|
+
import { HTMLMotionProps } from 'framer-motion';
|
|
14
|
+
import { InputAttributes } from 'react-number-format';
|
|
15
|
+
import { InputChildrenProps as InputChildrenProps_2 } from './component.types';
|
|
16
|
+
import { InputHTMLAttributes } from 'react';
|
|
17
|
+
import { InputProps as InputProps_2 } from './component.types';
|
|
18
|
+
import { InternalNumberFormatBase } from 'react-number-format/types/types';
|
|
19
|
+
import { IStyledComponentBase } from 'styled-components/dist/types';
|
|
20
|
+
import { JSX } from 'react/jsx-runtime';
|
|
21
|
+
import { KeyboardEventHandler } from 'react';
|
|
22
|
+
import { NumberFormatValues } from 'react-number-format';
|
|
23
|
+
import { NumericFormat } from 'react-number-format';
|
|
24
|
+
import { NumericFormatProps } from 'react-number-format';
|
|
25
|
+
import { PatternFormat } from 'react-number-format';
|
|
26
|
+
import { PatternFormatProps } from 'react-number-format';
|
|
27
|
+
import { PropsWithChildren } from 'react';
|
|
28
|
+
import { Ref } from 'react';
|
|
29
|
+
import { RefAttributes } from 'react';
|
|
30
|
+
import { RuleSet } from 'styled-components';
|
|
31
|
+
import { Substitute } from 'styled-components/dist/types';
|
|
32
|
+
|
|
33
|
+
declare type AddDollarSign_2<T> = {
|
|
34
|
+
[K in keyof T as `$${string & K}`]: T[K];
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
declare interface addErrorProps {
|
|
38
|
+
error?: ErrorMessageProps;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare interface addSXProps {
|
|
42
|
+
sx?: SXProps;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare type ErrorMessageProps = {
|
|
46
|
+
errorMessage?: string;
|
|
47
|
+
isError?: boolean;
|
|
48
|
+
isErrorAbsolute?: boolean;
|
|
49
|
+
size?: IThemeSize;
|
|
50
|
+
sx?: addSXProps['sx'];
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export declare function formatPhoneNumber(dialCode: string, international: string): {
|
|
54
|
+
format: string;
|
|
55
|
+
placeholder: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export declare const Input: (props: InputProps) => JSX.Element;
|
|
59
|
+
|
|
60
|
+
export declare interface InputChildrenProps extends PropsWithChildren {
|
|
61
|
+
left: string;
|
|
62
|
+
right: string;
|
|
63
|
+
width: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare type InputDefaultProps = addErrorProps & addSXProps & {
|
|
67
|
+
ref?: Ref<HTMLInputElement | null>;
|
|
68
|
+
name?: string;
|
|
69
|
+
id?: string;
|
|
70
|
+
className?: string;
|
|
71
|
+
defaultValue?: string;
|
|
72
|
+
isNotShowHoverStyle?: boolean;
|
|
73
|
+
autocomplete?: HTMLInputAutoCompleteAttribute;
|
|
74
|
+
isAllowEmptyFormatting?: boolean;
|
|
75
|
+
genre: TInputGenre;
|
|
76
|
+
size: IThemeSize;
|
|
77
|
+
tabIndex?: number;
|
|
78
|
+
isWidthAsHeight?: boolean;
|
|
79
|
+
isNiceNumber?: boolean;
|
|
80
|
+
isDisabled?: boolean;
|
|
81
|
+
isLoading?: boolean;
|
|
82
|
+
isReadOnly?: boolean;
|
|
83
|
+
isInputEffect?: boolean;
|
|
84
|
+
isRequired?: boolean;
|
|
85
|
+
isCenter?: boolean;
|
|
86
|
+
isNoSpaces?: boolean;
|
|
87
|
+
onBlur?: FocusEventHandler<HTMLInputElement>;
|
|
88
|
+
onPaste?: ClipboardEventHandler<HTMLInputElement>;
|
|
89
|
+
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
90
|
+
onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
91
|
+
placeholder?: string;
|
|
92
|
+
isBold?: boolean;
|
|
93
|
+
postfixChildren?: InputChildrenProps;
|
|
94
|
+
prefixChildren?: InputChildrenProps;
|
|
95
|
+
value?: string | null | number;
|
|
96
|
+
inputMode?: 'text' | 'none' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
97
|
+
maxLength?: number;
|
|
98
|
+
minLength?: number;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/****************************************** is isInputEffect *************************************************/
|
|
102
|
+
export declare const InputIsInputEffect: RuleSet<Pick<AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>, "$isInputEffect">>;
|
|
103
|
+
|
|
104
|
+
export declare type InputNumericProps = InputDefaultProps & {
|
|
105
|
+
variety: 'numeric';
|
|
106
|
+
onChange?: (value: NumberFormatValues) => void;
|
|
107
|
+
propsNumeric: Pick<NumericFormatProps, 'allowLeadingZeros' | 'thousandSeparator' | 'allowNegative' | 'allowedDecimalSeparators' | 'decimalScale' | 'decimalSeparator' | 'fixedDecimalScale' | 'prefix' | 'thousandsGroupStyle' | 'isAllowed' | 'suffix'>;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export declare type InputPatternProps = InputDefaultProps & {
|
|
111
|
+
variety: 'pattern';
|
|
112
|
+
onChange?: (value: NumberFormatValues) => void;
|
|
113
|
+
propsPattern: Pick<PatternFormatProps, 'format' | 'mask' | 'allowEmptyFormatting' | 'patternChar' | 'valueIsNumericString' | 'type'>;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/****************************************** Placeholder *************************************************/
|
|
117
|
+
export declare const InputPlaceholder: RuleSet<AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>;
|
|
118
|
+
|
|
119
|
+
export declare const InputPlaceholderNiceNumber: RuleSet<AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>;
|
|
120
|
+
|
|
121
|
+
export declare const InputPostfixChildren: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<InputProps_2, "isDisabled"> & Pick<InputChildrenProps_2, "left" | "right" | "width">>>> & string;
|
|
122
|
+
|
|
123
|
+
/****************************************** Children *************************************************/
|
|
124
|
+
export declare const InputPrefixChildren: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<InputProps_2, "isDisabled"> & Pick<InputChildrenProps_2, "left" | "right" | "width">>>> & string;
|
|
125
|
+
|
|
126
|
+
export declare type InputProps = InputStandardProps | InputPatternProps | InputNumericProps;
|
|
127
|
+
|
|
128
|
+
/****************************************** Size *************************************************/
|
|
129
|
+
export declare const InputSize: RuleSet<AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>;
|
|
130
|
+
|
|
131
|
+
export declare const InputSizeConstructor: (props: IThemeSizePropertyDefault) => RuleSet<object>;
|
|
132
|
+
|
|
133
|
+
export declare type InputStandardProps = InputDefaultProps & {
|
|
134
|
+
variety: 'standard';
|
|
135
|
+
onChange?: (value: string) => void;
|
|
136
|
+
type?: HTMLInputTypeAttribute;
|
|
137
|
+
min?: number;
|
|
138
|
+
max?: number;
|
|
139
|
+
step?: number;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
declare type IThemeDevice = 'default' | 'tablet' | 'mobile';
|
|
143
|
+
|
|
144
|
+
declare type IThemeGenreInput = Record<Extract<IThemeGenreName, 'gray' | 'grayBorder' | 'blackBorder' | 'realebail-white'>, IThemeGenreTypeDefault>;
|
|
145
|
+
|
|
146
|
+
declare type IThemeGenreName = 'gray' | 'grayBorder' | 'black' | 'blackBorder' | 'product' | 'productBorder' | 'white' | 'greenTransparent' | 'redTransparent' | 'yellowTransparent' | 'realebail-product' | 'realebail-gray' | 'realebail-white';
|
|
147
|
+
|
|
148
|
+
declare interface IThemeGenreTypeDefault {
|
|
149
|
+
background: {
|
|
150
|
+
rest: string;
|
|
151
|
+
hover: string;
|
|
152
|
+
};
|
|
153
|
+
border: {
|
|
154
|
+
rest: string;
|
|
155
|
+
hover: string;
|
|
156
|
+
};
|
|
157
|
+
color: {
|
|
158
|
+
rest: string;
|
|
159
|
+
hover: string;
|
|
160
|
+
placeholder: string;
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare type IThemeSize = 'large' | 'largeMedium' | 'medium' | 'mediumSmall' | 'small';
|
|
165
|
+
|
|
166
|
+
declare interface IThemeSizePropertyDefault {
|
|
167
|
+
font: number;
|
|
168
|
+
height: number;
|
|
169
|
+
heightIcon: number;
|
|
170
|
+
padding: number;
|
|
171
|
+
radius: number;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export declare const StyledInput: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>> & string;
|
|
175
|
+
|
|
176
|
+
export declare type StyledInputChildrenProps = AddDollarSign_2<Pick<InputProps, 'isDisabled'> & Pick<InputChildrenProps, 'left' | 'right' | 'width'>>;
|
|
177
|
+
|
|
178
|
+
/****************************************** Default *************************************************/
|
|
179
|
+
export declare const StyledInputCSS: RuleSet<AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>;
|
|
180
|
+
|
|
181
|
+
export declare const StyledInputNumeric: IStyledComponentBase<"web", Substitute<InternalNumberFormatBase & {
|
|
182
|
+
thousandSeparator?: boolean | string;
|
|
183
|
+
decimalSeparator?: string;
|
|
184
|
+
allowedDecimalSeparators?: Array<string>;
|
|
185
|
+
thousandsGroupStyle?: "thousand" | "lakh" | "wan" | "none";
|
|
186
|
+
decimalScale?: number;
|
|
187
|
+
fixedDecimalScale?: boolean;
|
|
188
|
+
allowNegative?: boolean;
|
|
189
|
+
allowLeadingZeros?: boolean;
|
|
190
|
+
suffix?: string;
|
|
191
|
+
prefix?: string;
|
|
192
|
+
} & Omit<InputAttributes, never> & Omit<unknown, "value" | "ref" | "defaultValue" | "prefix" | "inputMode" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onMouseUp" | "type" | "displayType" | "renderText" | "getInputRef" | "valueIsNumericString" | "onValueChange" | "isAllowed" | "thousandSeparator" | "decimalSeparator" | "allowedDecimalSeparators" | "thousandsGroupStyle" | "decimalScale" | "fixedDecimalScale" | "allowNegative" | "allowLeadingZeros" | "suffix"> & {
|
|
193
|
+
customInput?: ComponentType<unknown> | undefined;
|
|
194
|
+
}, AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>> & string & Omit<typeof NumericFormat, keyof Component<any, {}, any>>;
|
|
195
|
+
|
|
196
|
+
export declare const StyledInputPattern: IStyledComponentBase<"web", Substitute<InternalNumberFormatBase & {
|
|
197
|
+
format: string;
|
|
198
|
+
mask?: string | string[];
|
|
199
|
+
allowEmptyFormatting?: boolean;
|
|
200
|
+
patternChar?: string;
|
|
201
|
+
} & Omit<InputAttributes, never> & Omit<unknown, "value" | "mask" | "ref" | "defaultValue" | "inputMode" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onMouseUp" | "type" | "format" | "displayType" | "renderText" | "getInputRef" | "valueIsNumericString" | "onValueChange" | "isAllowed" | "allowEmptyFormatting" | "patternChar"> & {
|
|
202
|
+
customInput?: ComponentType<unknown> | undefined;
|
|
203
|
+
}, AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>> & string & Omit<typeof PatternFormat, keyof Component<any, {}, any>>;
|
|
204
|
+
|
|
205
|
+
export declare type StyledInputProps = AddDollarSign_2<Pick<InputProps, 'genre' | 'size' | 'error' | 'isLoading' | 'isInputEffect' | 'isDisabled' | 'postfixChildren' | 'prefixChildren' | 'isBold' | 'isNiceNumber' | 'isNotShowHoverStyle' | 'sx' | 'isCenter'>>;
|
|
206
|
+
|
|
207
|
+
/****************************************** Wrapper *************************************************/
|
|
208
|
+
export declare const StyledInputWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "isWidthAsHeight" | "isInputEffect">>>> & string;
|
|
209
|
+
|
|
210
|
+
export declare type StyledInputWrapperProps = AddDollarSign_2<Pick<InputProps, 'isDisabled' | 'isInputEffect' | 'sx' | 'size' | 'isWidthAsHeight'>>;
|
|
211
|
+
|
|
212
|
+
export declare const StyledMotionInput: IStyledComponentBase<"web", Substitute<Omit<HTMLMotionProps<"input">, "ref"> & RefAttributes<HTMLInputElement>, AddDollarSign<Pick<InputProps_2, "size" | "sx" | "isDisabled" | "error" | "genre" | "isLoading" | "isInputEffect" | "postfixChildren" | "prefixChildren" | "isBold" | "isNiceNumber" | "isNotShowHoverStyle" | "isCenter">>>> & string & Omit<ForwardRefComponent<HTMLInputElement, HTMLMotionProps<"input">>, keyof Component<any, {}, any>>;
|
|
213
|
+
|
|
214
|
+
declare type SXProps = ({
|
|
215
|
+
default: CSSObject;
|
|
216
|
+
} & {
|
|
217
|
+
[K in IThemeDevice]?: CSSObject;
|
|
218
|
+
}) | ((theme: DefaultTheme) => {
|
|
219
|
+
default: CSSObject;
|
|
220
|
+
} & {
|
|
221
|
+
[K in IThemeDevice]?: CSSObject;
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
export declare type TInputGenre = keyof IThemeGenreInput;
|
|
225
|
+
|
|
226
|
+
export { }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { I, f } from "./component-CuiUpH8H.js";
|
|
2
|
+
import { d, I as I2, a, k, j, b, c, f as f2, e, i, h, S, g } from "./component.styles-Du2y0R4W.js";
|
|
3
|
+
export {
|
|
4
|
+
I as Input,
|
|
5
|
+
d as InputIsInputEffect,
|
|
6
|
+
I2 as InputPlaceholder,
|
|
7
|
+
a as InputPlaceholderNiceNumber,
|
|
8
|
+
k as InputPostfixChildren,
|
|
9
|
+
j as InputPrefixChildren,
|
|
10
|
+
b as InputSize,
|
|
11
|
+
c as InputSizeConstructor,
|
|
12
|
+
f2 as StyledInput,
|
|
13
|
+
e as StyledInputCSS,
|
|
14
|
+
i as StyledInputNumeric,
|
|
15
|
+
h as StyledInputPattern,
|
|
16
|
+
S as StyledInputWrapper,
|
|
17
|
+
g as StyledMotionInput,
|
|
18
|
+
f as formatPhoneNumber
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=component-input.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-input.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-BrDlu8eK.js";
|
|
2
|
+
import { motion } from "framer-motion";
|
|
3
|
+
import styled, { css } from "styled-components";
|
|
4
|
+
import { a as addSX } from "./style-plT9Ah7t.js";
|
|
5
|
+
import { c as addRipple } from "./component.styles-B0L4jbOO.js";
|
|
6
|
+
import "react";
|
|
7
|
+
const StyledStack = styled.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
${addSX}
|
|
10
|
+
|
|
11
|
+
${(props) => props.$isHover && css`
|
|
12
|
+
transition:
|
|
13
|
+
background-color ${(props2) => props2.theme.transition.default},
|
|
14
|
+
outline 0s;
|
|
15
|
+
&:hover {
|
|
16
|
+
background-color: ${(props2) => props2.theme.palette.black05};
|
|
17
|
+
}
|
|
18
|
+
`};
|
|
19
|
+
${addRipple};
|
|
20
|
+
`;
|
|
21
|
+
const StyledStackMotion = styled(motion.div)`
|
|
22
|
+
display: flex;
|
|
23
|
+
${addSX}
|
|
24
|
+
|
|
25
|
+
${(props) => props.$isHover && css`
|
|
26
|
+
transition:
|
|
27
|
+
background-color ${(props2) => props2.theme.transition.default},
|
|
28
|
+
outline 0s;
|
|
29
|
+
&:hover {
|
|
30
|
+
background-color: ${(props2) => props2.theme.palette.black05};
|
|
31
|
+
}
|
|
32
|
+
`};
|
|
33
|
+
${addRipple};
|
|
34
|
+
`;
|
|
35
|
+
const Stack = (props) => {
|
|
36
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
37
|
+
StyledStack,
|
|
38
|
+
{
|
|
39
|
+
ref: props.ref,
|
|
40
|
+
onClick: props.onClick,
|
|
41
|
+
onDrop: props.onDrop,
|
|
42
|
+
onDragOver: props.onDragOver,
|
|
43
|
+
className: props.className,
|
|
44
|
+
$sx: props.sx,
|
|
45
|
+
$isHover: props.isHover,
|
|
46
|
+
$isRipple: props.isRipple,
|
|
47
|
+
children: props.children
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
const StackMotion = (props) => {
|
|
52
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
53
|
+
StyledStackMotion,
|
|
54
|
+
{
|
|
55
|
+
ref: props.ref,
|
|
56
|
+
layout: props.layout,
|
|
57
|
+
initial: props.initial,
|
|
58
|
+
animate: props.animate,
|
|
59
|
+
exit: props.exit,
|
|
60
|
+
transition: props.transition,
|
|
61
|
+
onClick: props.onClick,
|
|
62
|
+
className: props.className,
|
|
63
|
+
$sx: props.sx,
|
|
64
|
+
$isHover: props.isHover,
|
|
65
|
+
$isRipple: props.isRipple,
|
|
66
|
+
children: props.children
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
StyledStack as S,
|
|
72
|
+
StyledStackMotion as a,
|
|
73
|
+
Stack as b,
|
|
74
|
+
StackMotion as c
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=component-jPZYT5iL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-jPZYT5iL.js","sources":["../src/components/stack/component.styles.tsx","../src/components/stack/component.tsx"],"sourcesContent":["import { motion } from 'framer-motion'\nimport styled, { css } from 'styled-components'\n\nimport { addSX } from '@local/styles/sx'\n\nimport { StyledStackProps } from '.'\nimport { addRipple } from '../ripple'\n\nexport const StyledStack = styled.div<StyledStackProps>`\n display: flex;\n ${addSX}\n\n ${props =>\n props.$isHover &&\n css`\n transition:\n background-color ${props => props.theme.transition.default},\n outline 0s;\n &:hover {\n background-color: ${props => props.theme.palette.black05};\n }\n `};\n ${addRipple};\n`\n\nexport const StyledStackMotion = styled(motion.div)<StyledStackProps>`\n display: flex;\n ${addSX}\n\n ${props =>\n props.$isHover &&\n css`\n transition:\n background-color ${props => props.theme.transition.default},\n outline 0s;\n &:hover {\n background-color: ${props => props.theme.palette.black05};\n }\n `};\n ${addRipple};\n`\n","import { FC } from 'react'\n\nimport { StackMotionProps, StackProps, StyledStack, StyledStackMotion } from '.'\n\nexport const Stack: FC<StackProps> = props => {\n return (\n <StyledStack\n ref={props.ref}\n onClick={props.onClick}\n onDrop={props.onDrop}\n onDragOver={props.onDragOver}\n className={props.className}\n $sx={props.sx}\n $isHover={props.isHover}\n $isRipple={props.isRipple}\n >\n {props.children}\n </StyledStack>\n )\n}\n\nexport const StackMotion: FC<StackMotionProps> = props => {\n return (\n <StyledStackMotion\n ref={props.ref}\n layout={props.layout}\n initial={props.initial}\n animate={props.animate}\n exit={props.exit}\n transition={props.transition}\n onClick={props.onClick}\n className={props.className}\n $sx={props.sx}\n $isHover={props.isHover}\n $isRipple={props.isRipple}\n >\n {props.children}\n </StyledStackMotion>\n )\n}\n"],"names":["props","jsx"],"mappings":";;;;;;AAQO,MAAM,cAAc,OAAO;AAAA;AAAA,IAE9B,KAAK;AAAA;AAAA,IAEL,CAAA,UACA,MAAM,YACN;AAAA;AAAA,2BAEuB,CAAAA,WAASA,OAAM,MAAM,WAAW,OAAO;AAAA;AAAA;AAAA,4BAGtC,CAAAA,WAASA,OAAM,MAAM,QAAQ,OAAO;AAAA;AAAA,KAE3D;AAAA,IACD,SAAS;AAAA;AAGN,MAAM,oBAAoB,OAAO,OAAO,GAAG;AAAA;AAAA,IAE9C,KAAK;AAAA;AAAA,IAEL,CAAA,UACA,MAAM,YACN;AAAA;AAAA,2BAEuB,CAAAA,WAASA,OAAM,MAAM,WAAW,OAAO;AAAA;AAAA;AAAA,4BAGtC,CAAAA,WAASA,OAAM,MAAM,QAAQ,OAAO;AAAA;AAAA,KAE3D;AAAA,IACD,SAAS;AAAA;ACnCN,MAAM,QAAwB,CAAA,UAAS;AAC5C,SACEC,kCAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK,MAAM;AAAA,MACX,SAAS,MAAM;AAAA,MACf,QAAQ,MAAM;AAAA,MACd,YAAY,MAAM;AAAA,MAClB,WAAW,MAAM;AAAA,MACjB,KAAK,MAAM;AAAA,MACX,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,MAEhB,UAAA,MAAM;AAAA,IAAA;AAAA,EAAA;AAGb;AAEO,MAAM,cAAoC,CAAA,UAAS;AACxD,SACEA,kCAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAK,MAAM;AAAA,MACX,QAAQ,MAAM;AAAA,MACd,SAAS,MAAM;AAAA,MACf,SAAS,MAAM;AAAA,MACf,MAAM,MAAM;AAAA,MACZ,YAAY,MAAM;AAAA,MAClB,SAAS,MAAM;AAAA,MACf,WAAW,MAAM;AAAA,MACjB,KAAK,MAAM;AAAA,MACX,UAAU,MAAM;AAAA,MAChB,WAAW,MAAM;AAAA,MAEhB,UAAA,MAAM;AAAA,IAAA;AAAA,EAAA;AAGb;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./component.components-CaR5gfQW.cjs");exports.CustomZoomControl=t.CustomZoomControl,exports.DEFAULT_MAP_CENTER=t.DEFAULT_MAP_CENTER,exports.DEFAULT_MAP_MAX_ZOOM=t.DEFAULT_MAP_MAX_ZOOM,exports.DEFAULT_MAP_MIN_ZOOM=t.DEFAULT_MAP_MIN_ZOOM,exports.DEFAULT_MAP_THEME=t.DEFAULT_MAP_THEME,exports.DEFAULT_MAP_ZOOM=t.DEFAULT_MAP_ZOOM,exports.Map=t.Map,exports.MapDot=t.MapDot,exports.MapWrapper=t.MapWrapper,exports.MarkerCluster=t.MarkerCluster,exports.UpdateMapSettings=t.UpdateMapSettings,exports.createClusterIcon=t.createClusterIcon,exports.customDefaultIcon=t.customDefaultIcon,exports.customTextIcon=t.customTextIcon;
|
|
2
|
+
//# sourceMappingURL=component-map.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-map.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { default as default_2 } from 'leaflet';
|
|
2
|
+
import { DetailedHTMLProps } from 'react';
|
|
3
|
+
import { HTMLAttributes } from 'react';
|
|
4
|
+
import { IStyledComponentBase } from 'styled-components/dist/types';
|
|
5
|
+
import { JSX } from 'react/jsx-runtime';
|
|
6
|
+
import { PopupProps } from 'react-leaflet';
|
|
7
|
+
import { ReactNode } from 'react';
|
|
8
|
+
import { Styles } from 'styled-components/dist/types';
|
|
9
|
+
import { Substitute } from 'styled-components/dist/types';
|
|
10
|
+
|
|
11
|
+
export declare const createClusterIcon: <T extends object>(cluster: default_2.MarkerCluster, getCustomClusterLabel?: (markers: T[]) => string) => default_2.DivIcon;
|
|
12
|
+
|
|
13
|
+
export declare const customDefaultIcon: () => default_2.DivIcon;
|
|
14
|
+
|
|
15
|
+
export declare const customTextIcon: (text: string) => default_2.DivIcon;
|
|
16
|
+
|
|
17
|
+
export declare function CustomZoomControl(): JSX.Element;
|
|
18
|
+
|
|
19
|
+
export declare const DEFAULT_MAP_CENTER: [number, number];
|
|
20
|
+
|
|
21
|
+
export declare const DEFAULT_MAP_MAX_ZOOM = 18;
|
|
22
|
+
|
|
23
|
+
export declare const DEFAULT_MAP_MIN_ZOOM = 2;
|
|
24
|
+
|
|
25
|
+
export declare const DEFAULT_MAP_THEME: MapTheme;
|
|
26
|
+
|
|
27
|
+
export declare const DEFAULT_MAP_ZOOM = 13;
|
|
28
|
+
|
|
29
|
+
declare const Map_2: <T extends object>(props: MapProps<T>) => JSX.Element | undefined;
|
|
30
|
+
export { Map_2 as Map }
|
|
31
|
+
|
|
32
|
+
export declare const MapDot: (props: MapDotProps) => JSX.Element | undefined;
|
|
33
|
+
|
|
34
|
+
export declare interface MapDotProps {
|
|
35
|
+
center?: [number, number];
|
|
36
|
+
onSelect: (coords: [number, number]) => void;
|
|
37
|
+
coords?: [number, number] | null;
|
|
38
|
+
theme: MapTheme;
|
|
39
|
+
zoom?: number;
|
|
40
|
+
maxBounds?: [[number, number], [number, number]];
|
|
41
|
+
maxBoundsViscosity?: number;
|
|
42
|
+
maxZoom?: number;
|
|
43
|
+
minZoom?: number;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export declare interface MapProps<T extends object> {
|
|
47
|
+
center?: [number, number];
|
|
48
|
+
zoom?: number;
|
|
49
|
+
theme: MapTheme;
|
|
50
|
+
markers: MarkerProps<T>[];
|
|
51
|
+
getCustomClusterLabel?: (markers: T[]) => string;
|
|
52
|
+
maxBounds?: [[number, number], [number, number]];
|
|
53
|
+
maxBoundsViscosity?: number;
|
|
54
|
+
maxZoom?: number;
|
|
55
|
+
minZoom?: number;
|
|
56
|
+
style?: {
|
|
57
|
+
popupWrapper?: Styles<object>;
|
|
58
|
+
popupContent?: Styles<object>;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export declare interface MapTheme {
|
|
63
|
+
name: string;
|
|
64
|
+
url: string;
|
|
65
|
+
attribution: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export declare const MapWrapper: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
69
|
+
style?: MapProps<object>["style"];
|
|
70
|
+
}>> & string;
|
|
71
|
+
|
|
72
|
+
export declare const MarkerCluster: <T extends object>(props: MarkerClusterProps<T>) => JSX.Element;
|
|
73
|
+
|
|
74
|
+
export declare type MarkerClusterProps<T extends object> = {
|
|
75
|
+
markers: MarkerProps<T>[];
|
|
76
|
+
} & Pick<MapProps<T>, 'getCustomClusterLabel'>;
|
|
77
|
+
|
|
78
|
+
export declare interface MarkerProps<T extends object> {
|
|
79
|
+
position: {
|
|
80
|
+
lat: number;
|
|
81
|
+
lng: number;
|
|
82
|
+
};
|
|
83
|
+
options?: T;
|
|
84
|
+
id: string;
|
|
85
|
+
popupProps?: PopupProps;
|
|
86
|
+
popupContent: ReactNode;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export declare function UpdateMapSettings(props: UpdateMapSettingsProps): null;
|
|
90
|
+
|
|
91
|
+
export declare interface UpdateMapSettingsProps {
|
|
92
|
+
maxBounds?: [[number, number], [number, number]];
|
|
93
|
+
center?: [number, number];
|
|
94
|
+
zoom?: number;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export { }
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { C, c, D, a, d, b, M, e, g, f, U, h, j, i } from "./component.components-BAAT5GTH.js";
|
|
2
|
+
export {
|
|
3
|
+
C as CustomZoomControl,
|
|
4
|
+
c as DEFAULT_MAP_CENTER,
|
|
5
|
+
D as DEFAULT_MAP_MAX_ZOOM,
|
|
6
|
+
a as DEFAULT_MAP_MIN_ZOOM,
|
|
7
|
+
d as DEFAULT_MAP_THEME,
|
|
8
|
+
b as DEFAULT_MAP_ZOOM,
|
|
9
|
+
M as Map,
|
|
10
|
+
e as MapDot,
|
|
11
|
+
g as MapWrapper,
|
|
12
|
+
f as MarkerCluster,
|
|
13
|
+
U as UpdateMapSettings,
|
|
14
|
+
h as createClusterIcon,
|
|
15
|
+
j as customDefaultIcon,
|
|
16
|
+
i as customTextIcon
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=component-map.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-map.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("./jsx-runtime-BcGej2Kr.cjs"),t=require("react"),n=require("./consts.cjs.js"),s=require("./use-BhofoOgk.cjs"),r=require("./component-D1NPhRuV.cjs");exports.ImageButton=l=>{const o=t.useRef(null),u=t.useCallback(()=>{var e;null==(e=o.current)||e.click()},[]),{handleAddFiles:i}=s.useImageCrop({onSave:l.onSave,locale:l.locale,dialog:l.dialog,imageSettings:l.imageSettings,refInput:o});return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(r.Button,{...l.button,onClick:e=>{var t,n;null==(n=(t=l.button).onClick)||n.call(t,e),u()},children:l.button.children||l.locale.buttonAdd}),e.jsxRuntimeExports.jsx("input",{ref:o,type:"file",accept:n.ImageSupportedFormatsForInput,multiple:!0,style:{display:"none"},onChange:e=>{e.target.files&&i(e.target.files)}})]})};
|
|
2
|
+
//# sourceMappingURL=component-nFn_uOy_.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-nFn_uOy_.cjs","sources":["../src/components/image-button/component.tsx"],"sourcesContent":["import { FC, useCallback, useRef } from 'react'\n\nimport { ImageSupportedFormatsForInput } from '@local/consts'\nimport { useImageCrop } from '@local/hooks/use-image-crop'\n\nimport { ImageButtonProps } from '.'\nimport { Button } from '../button'\n\nexport const ImageButton: FC<ImageButtonProps> = props => {\n const refInput = useRef<HTMLInputElement | null>(null)\n\n const handleOpenFileDialog = useCallback(() => {\n refInput.current?.click()\n }, [])\n\n const { handleAddFiles } = useImageCrop({\n onSave: props.onSave,\n locale: props.locale,\n dialog: props.dialog,\n imageSettings: props.imageSettings,\n refInput: refInput\n })\n\n return (\n <>\n <Button\n {...props.button}\n onClick={e => {\n props.button.onClick?.(e)\n handleOpenFileDialog()\n }}\n >\n {props.button.children || props.locale.buttonAdd}\n </Button>\n <input\n ref={refInput}\n type=\"file\"\n accept={ImageSupportedFormatsForInput}\n multiple\n style={{ display: 'none' }}\n onChange={e => {\n if (e.target.files) handleAddFiles(e.target.files)\n }}\n />\n </>\n )\n}\n"],"names":["props","refInput","useRef","handleOpenFileDialog","useCallback","_a","current","click","handleAddFiles","useImageCrop","onSave","locale","dialog","imageSettings","jsxs","Fragment","children","jsx","Button","button","onClick","e","_b","call","buttonAdd","ref","type","accept","ImageSupportedFormatsForInput","multiple","style","display","onChange","target","files"],"mappings":"qMAQiDA,IAC/C,MAAMC,EAAWC,EAAAA,OAAgC,MAE3CC,EAAuBC,EAAAA,YAAY,WACvC,OAAAC,EAAAJ,EAASK,UAATD,EAAkBE,SACjB,KAEGC,eAAEA,GAAmBC,eAAa,CACtCC,OAAQV,EAAMU,OACdC,OAAQX,EAAMW,OACdC,OAAQZ,EAAMY,OACdC,cAAeb,EAAMa,cACrBZ,aAGF,SACEa,kBAAAA,KAAAC,6BAAA,CACEC,SAAA,GAAAC,kBAAAA,IAACC,EAAAA,OAAA,IACKlB,EAAMmB,OACVC,QAASC,YACP,OAAAC,GAAAjB,EAAAL,EAAMmB,QAAOC,UAAbE,EAAAC,KAAAlB,EAAuBgB,GACvBlB,KAGDa,SAAAhB,EAAMmB,OAAOH,UAAYhB,EAAMW,OAAOa,cAEzCP,kBAAAA,IAAC,QAAA,CACCQ,IAAKxB,EACLyB,KAAK,OACLC,OAAQC,EAAAA,8BACRC,UAAQ,EACRC,MAAO,CAAEC,QAAS,QAClBC,SAAUX,IACJA,EAAEY,OAAOC,OAAO1B,EAAea,EAAEY,OAAOC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./component.constants-BeWW8Ijx.cjs");exports.DEFAULT_COMPONENT_PAGINATION_GAP=t.DEFAULT_COMPONENT_PAGINATION_GAP,exports.Pagination=t.Pagination;
|
|
2
|
+
//# sourceMappingURL=component-pagination.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-pagination.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|