@solostylist/ui-kit 1.0.203 → 1.0.205
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/dist/ArrowUpward-CDLbIMHR.js +6 -0
- package/dist/Box-CCxGQYgC.js +46 -0
- package/dist/ButtonBase-BpUvp8ep.js +801 -0
- package/dist/ChevronLeft-C7DUyLoc.js +6 -0
- package/dist/ChevronRight-VFk57Tte.js +6 -0
- package/dist/Close-OtVsJy75.js +6 -0
- package/dist/ContentCopy-DHDP4d6g.js +6 -0
- package/dist/DefaultPropsProvider-DpRXvTbj.js +157 -0
- package/dist/Download-Bbx6BZUJ.js +6 -0
- package/dist/ExpandMore-BTC1yHzp.js +6 -0
- package/dist/Favorite-mcH9KX-m.js +6 -0
- package/dist/Menu-Dhh4e9H1.js +1662 -0
- package/dist/MenuItem-aaIy8lan.js +213 -0
- package/dist/Paper--8Q3qCqb.js +329 -0
- package/dist/Select-B5RvkbDO.js +2545 -0
- package/dist/Stack-D-aoKnaS.js +158 -0
- package/dist/Typography-CswuXQLF.js +187 -0
- package/dist/assets/s-carousel.css +1 -1
- package/dist/assets/s-overlay-scrollbar.css +10 -1
- package/dist/assets/stripe-input.css +1 -1
- package/dist/avatar-BVV8tT0K.js +10 -0
- package/dist/buttonBaseClasses-CzfJbQi5.js +13 -0
- package/dist/checkbox-Dd2nIREk.js +57 -0
- package/dist/chunk-efA98nb6.js +13 -0
- package/dist/createSimplePaletteValueFilter-dAWZ3p3z.js +14 -0
- package/dist/createSvgIcon-KjKEsKNV.js +153 -0
- package/dist/createTheme-DuS5_nJb.js +2430 -0
- package/dist/defaultTheme-DBynruYK.js +5 -0
- package/dist/entries/carousel.js +3 -4
- package/dist/entries/chat.js +3 -4
- package/dist/entries/code.js +3 -4
- package/dist/entries/core.js +56 -122
- package/dist/entries/dates.js +7 -12
- package/dist/entries/dropzone.js +3 -4
- package/dist/entries/editor.js +2 -4
- package/dist/entries/gallery.js +7 -13
- package/dist/entries/i18n.js +3 -7
- package/dist/entries/motion.js +14 -27
- package/dist/entries/scrollbar.js +2 -4
- package/dist/entries/stripe.js +6 -10
- package/dist/extendSxProp-YPyfzlEb.js +29 -0
- package/dist/generateUtilityClass-DdqZpZoW.js +34 -0
- package/dist/generateUtilityClasses-BMwEKe3O.js +10 -0
- package/dist/hooks/index.js +5 -11
- package/dist/hooks/use-count-down.js +85 -76
- package/dist/hooks/use-dialog.js +21 -18
- package/dist/hooks/use-is-passed-position.js +20 -20
- package/dist/hooks/use-popover.js +18 -18
- package/dist/hooks/use-scroll-animation.js +74 -56
- package/dist/iconButtonClasses-ApDUTw5e.js +27 -0
- package/dist/identifier-_S1f0Pg2.js +190 -0
- package/dist/main.js +103 -196
- package/dist/mergeSlotProps-BG-pTgpj.js +48 -0
- package/dist/objectWithoutPropertiesLoose-BdL2_POW.js +23 -0
- package/dist/outlinedInputClasses-bgmdcolQ.js +43 -0
- package/dist/resolveProps-CcZ6Bxlf.js +30 -0
- package/dist/s-accordion/index.js +3 -4
- package/dist/s-accordion/s-accordion.js +3 -949
- package/dist/s-accordion-Da1IZflX.js +712 -0
- package/dist/s-action-overlay/index.js +2 -4
- package/dist/s-action-overlay/s-action-overlay.js +108 -109
- package/dist/s-autocomplete/index.js +2 -4
- package/dist/s-autocomplete/s-autocomplete.js +25 -31
- package/dist/s-avatar/index.js +2 -4
- package/dist/s-avatar/s-avatar.js +32 -22
- package/dist/s-blur-text/index.js +2 -4
- package/dist/s-blur-text/s-blur-text.js +67 -81
- package/dist/s-breadcrumbs/index.js +2 -3
- package/dist/s-breadcrumbs/s-breadcrumbs.js +49 -44
- package/dist/s-button/index.js +2 -4
- package/dist/s-button/s-button.js +11 -9
- package/dist/s-carousel/index.js +3 -4
- package/dist/s-carousel/s-carousel.js +3 -2480
- package/dist/s-carousel-BoDg9pKU.js +125 -0
- package/dist/s-category-card/index.js +1 -3
- package/dist/s-category-card/s-category-card.js +70 -105
- package/dist/s-chat-input/index.js +3 -4
- package/dist/s-chat-input/s-chat-input.js +3 -319
- package/dist/s-chat-input-v_XIZVGk.js +283 -0
- package/dist/s-chat-message/index.js +3 -4
- package/dist/s-chat-message/s-chat-message.js +3 -283
- package/dist/s-chat-message-CWtxsicj.js +281 -0
- package/dist/s-checkbox/index.js +2 -4
- package/dist/s-checkbox/s-checkbox.js +27 -17
- package/dist/s-chip/index.js +2 -4
- package/dist/s-chip/s-chip.js +11 -9
- package/dist/s-chips/index.js +2 -4
- package/dist/s-chips/s-chips.js +91 -86
- package/dist/s-code-block/index.js +3 -4
- package/dist/s-code-block/s-code-block.js +3 -1052
- package/dist/s-code-block-BqYdR0Em.js +608 -0
- package/dist/s-comment-message/index.js +3 -4
- package/dist/s-comment-message/s-comment-message.js +3 -123
- package/dist/s-comment-message-DDAHdQqY.js +195 -0
- package/dist/s-copyable-text/index.js +3 -4
- package/dist/s-copyable-text/s-copyable-text.js +50 -54
- package/dist/s-countdown/index.js +3 -5
- package/dist/s-countdown/s-count-box.js +102 -106
- package/dist/s-countdown/s-count-down.js +101 -109
- package/dist/s-data-table/index.js +3 -4
- package/dist/s-data-table/s-data-table.js +3 -1291
- package/dist/s-data-table-BjqqIsFX.js +893 -0
- package/dist/s-date-picker/index.js +3 -4
- package/dist/s-date-picker/s-date-picker.js +3 -1521
- package/dist/s-date-picker-BYqxsjPU.js +581 -0
- package/dist/s-datetime-picker/index.js +3 -4
- package/dist/s-datetime-picker/s-datetime-picker.js +3 -5180
- package/dist/s-datetime-picker-BtwGoxL3.js +3808 -0
- package/dist/s-dialog/index.js +2 -3
- package/dist/s-dialog/s-dialog.js +44 -36
- package/dist/s-dialog-confirm/index.js +3 -6
- package/dist/s-dialog-confirm/s-dialog-confirm.js +85 -74
- package/dist/s-dialog-message/index.js +3 -6
- package/dist/s-dialog-message/s-dialog-message.js +75 -66
- package/dist/s-empty/index.js +1 -3
- package/dist/s-empty/s-empty.js +13 -8
- package/dist/s-error/index.js +2 -4
- package/dist/s-error/s-error.js +31 -20
- package/dist/s-error-layout/index.js +2 -4
- package/dist/s-error-layout/s-error-layout.js +78 -56
- package/dist/s-file-dropzone/index.js +3 -4
- package/dist/s-file-dropzone/s-file-dropzone.js +3 -124
- package/dist/s-file-dropzone-BJBNFC_b.js +134 -0
- package/dist/s-file-icon/index.js +3 -4
- package/dist/s-file-icon/s-file-icon.js +327 -272
- package/dist/s-flex-box/index.js +3 -4
- package/dist/s-flex-box/s-flex-box.js +12 -8
- package/dist/s-form/index.js +2 -4
- package/dist/s-form/s-form.js +23 -15
- package/dist/s-gallery/index.js +3 -5
- package/dist/s-gallery/s-gallery.js +310 -346
- package/dist/s-glow-button/index.js +3 -4
- package/dist/s-glow-button/s-glow-button.js +29 -42
- package/dist/s-gradient-icon/index.js +2 -4
- package/dist/s-gradient-icon/s-gradient-icon.js +124 -79
- package/dist/s-i18n-provider/index.js +2 -4
- package/dist/s-i18n-provider/s-i18n-provider.js +23 -27
- package/dist/s-icon-button/index.js +2 -4
- package/dist/s-icon-button/s-icon-button.js +11 -8
- package/dist/s-image-comparison/index.js +3 -4
- package/dist/s-image-comparison/s-image-comparison.js +169 -207
- package/dist/s-image-modal/index.js +3 -5
- package/dist/s-image-modal/s-image-modal.js +396 -387
- package/dist/s-item-not-found/index.js +1 -3
- package/dist/s-item-not-found/s-item-not-found.js +240 -262
- package/dist/s-label/index.js +3 -4
- package/dist/s-label/s-label.js +3 -17
- package/dist/s-label-Bt4vQGGN.js +30 -0
- package/dist/s-language-switcher/index.js +3 -6
- package/dist/s-language-switcher/s-language-switcher.js +3 -252
- package/dist/s-language-switcher-BJP1r1la.js +198 -0
- package/dist/s-lazy-image/index.js +2 -4
- package/dist/s-lazy-image/s-lazy-image.js +41 -56
- package/dist/s-link/index.js +2 -4
- package/dist/s-link/s-link.js +30 -37
- package/dist/s-localization-provider/index.js +3 -4
- package/dist/s-localization-provider/s-localization-provider.js +3 -562
- package/dist/s-localization-provider-CeOR72Ti.js +537 -0
- package/dist/s-moving-border/index.js +1 -3
- package/dist/s-moving-border/s-moving-border.js +117 -131
- package/dist/s-multi-select/index.js +3 -4
- package/dist/s-multi-select/s-multi-select.js +3 -82
- package/dist/s-multi-select-xKP4heeG.js +64 -0
- package/dist/s-no-ssr/index.js +2 -4
- package/dist/s-no-ssr/s-no-ssr.js +13 -14
- package/dist/s-overlay-scrollbar/index.js +2 -4
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +34 -37
- package/dist/s-pagination/index.js +2 -4
- package/dist/s-pagination/s-pagination.js +32 -15
- package/dist/s-pixel-reveal/index.js +3 -4
- package/dist/s-pixel-reveal/s-pixel-reveal.js +138 -156
- package/dist/s-radial-pulse-animate/index.js +3 -4
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +80 -122
- package/dist/s-rating/index.js +1 -3
- package/dist/s-rating/s-rating.js +11 -9
- package/dist/s-review/index.js +3 -4
- package/dist/s-review/s-review.js +3 -160
- package/dist/s-review-DOBlCEU2.js +241 -0
- package/dist/s-scroll-reveal/index.js +2 -4
- package/dist/s-scroll-reveal/s-scroll-reveal.js +68 -64
- package/dist/s-scroll-to-top/index.js +3 -4
- package/dist/s-scroll-to-top/s-scroll-to-top.js +45 -44
- package/dist/s-scroll-velocity/index.js +4 -8
- package/dist/s-scroll-velocity/s-scroll-velocity.js +14 -8
- package/dist/s-scroll-velocity/scroll-velocity-container.js +25 -30
- package/dist/s-scroll-velocity/scroll-velocity-row.js +97 -118
- package/dist/s-select/index.js +3 -4
- package/dist/s-select/s-select.js +3 -112
- package/dist/s-select-DXbeZ0CG.js +110 -0
- package/dist/s-select-list/index.js +2 -4
- package/dist/s-select-list/s-select-list.js +44 -49
- package/dist/s-skeleton/index.js +2 -4
- package/dist/s-skeleton/s-skeleton.js +69 -35
- package/dist/s-snackbar-message/index.js +2 -6
- package/dist/s-snackbar-message/s-snackbar-message.js +48 -61
- package/dist/s-spotlight-cursor/index.js +2 -4
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +58 -61
- package/dist/s-stripe/index.js +6 -10
- package/dist/s-stripe/s-stripe-cvc.js +14 -10
- package/dist/s-stripe/s-stripe-expiry.js +14 -10
- package/dist/s-stripe/s-stripe-number.js +14 -10
- package/dist/s-stripe/s-stripe.js +31 -37
- package/dist/s-stripe/stripe-input.js +57 -81
- package/dist/s-switch/index.js +1 -3
- package/dist/s-switch/s-switch.js +27 -17
- package/dist/s-tabs/index.js +4 -8
- package/dist/s-tabs/s-tab-panel.js +23 -29
- package/dist/s-tabs/s-tab.js +11 -8
- package/dist/s-tabs/s-tabs.js +39 -35
- package/dist/s-text-editor/index.js +3 -5
- package/dist/s-text-editor/s-text-editor-toolbar.js +3 -207
- package/dist/s-text-editor/s-text-editor.js +75 -81
- package/dist/s-text-editor-toolbar-BDDttdIt.js +177 -0
- package/dist/s-text-field/index.js +3 -4
- package/dist/s-text-field/s-text-field.js +3 -49
- package/dist/s-text-field-ni42E-1x.js +41 -0
- package/dist/s-text-shimmer/index.js +3 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +31 -32
- package/dist/s-text-truncation/index.js +1 -3
- package/dist/s-text-truncation/s-text-truncation.js +79 -81
- package/dist/s-theme-demo/index.js +3 -4
- package/dist/s-theme-demo/s-theme-demo.js +3 -380
- package/dist/s-theme-demo-B4pz6fse.js +828 -0
- package/dist/s-theme-provider/index.js +3 -4
- package/dist/s-theme-provider/s-theme-provider.js +35 -50
- package/dist/s-theme-switch/index.js +3 -4
- package/dist/s-theme-switch/s-theme-switch.js +3 -41
- package/dist/s-theme-switch-CCEdponC.js +37 -0
- package/dist/s-tip/index.js +3 -4
- package/dist/s-tip/s-tip.js +3 -34
- package/dist/s-tip-CG51Q6oR.js +34 -0
- package/dist/s-tool-bar/index.js +3 -4
- package/dist/s-tool-bar/s-tool-bar.js +3 -478
- package/dist/s-tool-bar-C2lZhhJm.js +404 -0
- package/dist/s-two-pane-layout/index.js +2 -3
- package/dist/s-two-pane-layout/s-two-pane-layout.js +102 -101
- package/dist/s-typewriter-text/index.js +2 -4
- package/dist/s-typewriter-text/s-typewriter-text.js +39 -45
- package/dist/s-zoom-image/index.js +1 -3
- package/dist/s-zoom-image/s-zoom-image.js +62 -88
- package/dist/select-D9KH9LAz.js +11 -0
- package/dist/styled-Dz7rwAje.js +168 -0
- package/dist/svgIconClasses-CygVMw0E.js +20 -0
- package/dist/tabClasses-CIRFQ-PB.js +21 -0
- package/dist/theme/components/accordion-details.js +7 -8
- package/dist/theme/components/accordion-summary.js +12 -17
- package/dist/theme/components/accordion.js +24 -32
- package/dist/theme/components/alert.js +45 -72
- package/dist/theme/components/app-bar.js +12 -18
- package/dist/theme/components/autocomplete.js +19 -30
- package/dist/theme/components/avatar.js +3 -13
- package/dist/theme/components/backdrop.js +13 -12
- package/dist/theme/components/button-base.js +12 -14
- package/dist/theme/components/button.js +92 -138
- package/dist/theme/components/card-actions.js +4 -10
- package/dist/theme/components/card-content.js +4 -11
- package/dist/theme/components/card-header.js +4 -10
- package/dist/theme/components/card.js +23 -35
- package/dist/theme/components/checkbox.js +3 -65
- package/dist/theme/components/chip.js +67 -106
- package/dist/theme/components/components.js +112 -111
- package/dist/theme/components/container.js +4 -6
- package/dist/theme/components/dialog-actions.js +4 -10
- package/dist/theme/components/dialog.js +11 -17
- package/dist/theme/components/drawer.js +4 -10
- package/dist/theme/components/form-control.js +4 -10
- package/dist/theme/components/form-label.js +7 -11
- package/dist/theme/components/icon-button.js +82 -132
- package/dist/theme/components/icon.js +9 -21
- package/dist/theme/components/input-adornment.js +7 -13
- package/dist/theme/components/input-base.js +10 -16
- package/dist/theme/components/linear-progress.js +11 -16
- package/dist/theme/components/link.js +31 -37
- package/dist/theme/components/list-item-button.js +27 -44
- package/dist/theme/components/list-item-icon.js +4 -10
- package/dist/theme/components/list-item-text.js +14 -16
- package/dist/theme/components/list-item.js +12 -20
- package/dist/theme/components/list-subheader.js +10 -14
- package/dist/theme/components/list.js +9 -13
- package/dist/theme/components/menu-item.js +7 -8
- package/dist/theme/components/menu.js +20 -22
- package/dist/theme/components/outlined-input.js +41 -64
- package/dist/theme/components/pagination-item.js +8 -18
- package/dist/theme/components/paper.js +4 -8
- package/dist/theme/components/popover.js +11 -13
- package/dist/theme/components/rating.js +4 -8
- package/dist/theme/components/select.js +3 -13
- package/dist/theme/components/skeleton.js +4 -10
- package/dist/theme/components/slider.js +4 -8
- package/dist/theme/components/step-connector.js +9 -13
- package/dist/theme/components/step-icon.js +39 -46
- package/dist/theme/components/step-label.js +7 -13
- package/dist/theme/components/svg-icon.js +20 -37
- package/dist/theme/components/tab.js +20 -34
- package/dist/theme/components/table-cell.js +4 -10
- package/dist/theme/components/table-pagination.js +14 -18
- package/dist/theme/components/tabs.js +20 -24
- package/dist/theme/components/toggle-button-group.js +3 -23
- package/dist/theme/components/toggle-button.js +3 -21
- package/dist/theme/components/tooltip.js +23 -23
- package/dist/theme/theme-primitives.js +3 -410
- package/dist/theme-primitives-BG66N-x4.js +398 -0
- package/dist/toggle-button-BI6z89CX.js +26 -0
- package/dist/toggle-button-group-Dzzh9mXv.js +28 -0
- package/dist/typographyClasses-C0nDz5e6.js +32 -0
- package/dist/useControlled-CvWtMQJF.js +32 -0
- package/dist/useEnhancedEffect-NLLl34XR.js +5 -0
- package/dist/useFormControl-ngLNi8dL.js +11 -0
- package/dist/useMobilePicker-DdH0AzNe.js +10635 -0
- package/dist/useTheme-BES_k_99.js +34 -0
- package/dist/useThemeProps-CJRFdjVv.js +19 -0
- package/dist/utils/dayjs.js +161 -113
- package/dist/utils/index.js +3 -11
- package/dist/utils/logger.js +45 -46
- package/dist/utils-Cu16ybRR.js +72 -0
- package/dist/warning-D7iWhOZI.js +110 -0
- package/package.json +29 -29
- package/dist/ArrowUpward-D8eqD-si.js +0 -8
- package/dist/Box-BkXoTbe8.js +0 -62
- package/dist/ButtonBase-D73M0QY5.js +0 -1099
- package/dist/ChevronLeft-BmgmPHp9.js +0 -8
- package/dist/ChevronRight-DbWSr8yz.js +0 -8
- package/dist/Close-lHCUMitI.js +0 -8
- package/dist/ContentCopy-D4SuJd86.js +0 -11
- package/dist/DefaultPropsProvider-DPuuPIbS.js +0 -64
- package/dist/Download-BoRQUwCf.js +0 -8
- package/dist/ExpandMore-C7yRQv1-.js +0 -8
- package/dist/Favorite-Bz_HcMgN.js +0 -8
- package/dist/Menu-GVFDMHCN.js +0 -2441
- package/dist/MenuItem-2wG8I2HO.js +0 -269
- package/dist/Paper-CR019bki.js +0 -553
- package/dist/Select-D2l9rDWL.js +0 -3966
- package/dist/Stack-Dfjnuorw.js +0 -174
- package/dist/Typography-PcmlIqm1.js +0 -253
- package/dist/_commonjsHelpers-ByX85dGu.js +0 -33
- package/dist/buttonBaseClasses-jtnoTmPn.js +0 -10
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createSvgIcon-BkbeLOhM.js +0 -242
- package/dist/createTheme-DgoJyWM-.js +0 -2929
- package/dist/defaultTheme-CulFxfLR.js +0 -5
- package/dist/extendSxProp-BJEIxcAx.js +0 -36
- package/dist/generateUtilityClass-BhfUaMgk.js +0 -35
- package/dist/generateUtilityClasses-E9gROIFd.js +0 -10
- package/dist/iconButtonClasses-BMfIhNTh.js +0 -10
- package/dist/identifier-BKLqN993.js +0 -4
- package/dist/index-D3G5Rwl-.js +0 -211
- package/dist/index-DtGYsHSv.js +0 -94
- package/dist/jsx-runtime-tc70JA_2.js +0 -264
- package/dist/mergeSlotProps-CuzBQdlp.js +0 -62
- package/dist/objectWithoutPropertiesLoose-DiWPeE4c.js +0 -22
- package/dist/outlinedInputClasses-DnwW3ujt.js +0 -19
- package/dist/resolveProps-BDH0VJjn.js +0 -39
- package/dist/styled-8Y5KoVix.js +0 -203
- package/dist/svgIconClasses-C6auqaBA.js +0 -10
- package/dist/tabClasses-DFvXsFrN.js +0 -10
- package/dist/typographyClasses-jmoWZuXc.js +0 -10
- package/dist/useControlled-D1L5tREc.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useMobilePicker-B-bNHHXB.js +0 -13498
- package/dist/useTheme-CWPkv7g3.js +0 -18
- package/dist/useThemeProps-XYgXGzjS.js +0 -27
- package/dist/utils-D1UMIV0b.js +0 -40
- package/dist/warning-Ba-7BBAN.js +0 -135
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { a as e } from "./createTheme-DuS5_nJb.js";
|
|
2
|
+
import { n as t } from "./identifier-_S1f0Pg2.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
//#region ../../node_modules/clsx/dist/clsx.mjs
|
|
5
|
+
function r(e) {
|
|
6
|
+
var t, n, i = "";
|
|
7
|
+
if (typeof e == "string" || typeof e == "number") i += e;
|
|
8
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
|
+
var a = e.length;
|
|
10
|
+
for (t = 0; t < a; t++) e[t] && (n = r(e[t])) && (i && (i += " "), i += n);
|
|
11
|
+
} else for (n in e) e[n] && (i && (i += " "), i += n);
|
|
12
|
+
return i;
|
|
13
|
+
}
|
|
14
|
+
function i() {
|
|
15
|
+
for (var e, t, n = 0, i = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = r(e)) && (i && (i += " "), i += t);
|
|
16
|
+
return i;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js
|
|
20
|
+
function a(e) {
|
|
21
|
+
return Object.keys(e).length === 0;
|
|
22
|
+
}
|
|
23
|
+
function o(e = null) {
|
|
24
|
+
let r = n.useContext(t);
|
|
25
|
+
return !r || a(r) ? e : r;
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region ../../node_modules/@mui/system/esm/useTheme/useTheme.js
|
|
29
|
+
var s = e();
|
|
30
|
+
function c(e = s) {
|
|
31
|
+
return o(e);
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { o as n, i as r, c as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as e } from "./useTheme-BES_k_99.js";
|
|
2
|
+
import { t } from "./resolveProps-CcZ6Bxlf.js";
|
|
3
|
+
//#region ../../node_modules/@mui/system/esm/useThemeProps/getThemeProps.js
|
|
4
|
+
function n(e) {
|
|
5
|
+
let { theme: n, name: r, props: i } = e;
|
|
6
|
+
return !n || !n.components || !n.components[r] || !n.components[r].defaultProps ? i : t(n.components[r].defaultProps, i);
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region ../../node_modules/@mui/system/esm/useThemeProps/useThemeProps.js
|
|
10
|
+
function r({ props: t, name: r, defaultTheme: i, themeId: a }) {
|
|
11
|
+
let o = e(i);
|
|
12
|
+
return a && (o = o[a] || o), n({
|
|
13
|
+
theme: o,
|
|
14
|
+
name: r,
|
|
15
|
+
props: t
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { n, r as t };
|
package/dist/utils/dayjs.js
CHANGED
|
@@ -1,114 +1,162 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
})
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
1
|
+
import { n as e, t } from "../chunk-efA98nb6.js";
|
|
2
|
+
import n, { extend as r } from "dayjs";
|
|
3
|
+
//#region ../../node_modules/dayjs/plugin/isToday.js
|
|
4
|
+
var i = /* @__PURE__ */ t(((e, t) => {
|
|
5
|
+
(function(n, r) {
|
|
6
|
+
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isToday = r();
|
|
7
|
+
})(e, (function() {
|
|
8
|
+
return function(e, t, n) {
|
|
9
|
+
t.prototype.isToday = function() {
|
|
10
|
+
var e = "YYYY-MM-DD", t = n();
|
|
11
|
+
return this.format(e) === t.format(e);
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}));
|
|
15
|
+
})), a = /* @__PURE__ */ t(((e, t) => {
|
|
16
|
+
(function(n, r) {
|
|
17
|
+
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_relativeTime = r();
|
|
18
|
+
})(e, (function() {
|
|
19
|
+
return function(e, t, n) {
|
|
20
|
+
e ||= {};
|
|
21
|
+
var r = t.prototype, i = {
|
|
22
|
+
future: "in %s",
|
|
23
|
+
past: "%s ago",
|
|
24
|
+
s: "a few seconds",
|
|
25
|
+
m: "a minute",
|
|
26
|
+
mm: "%d minutes",
|
|
27
|
+
h: "an hour",
|
|
28
|
+
hh: "%d hours",
|
|
29
|
+
d: "a day",
|
|
30
|
+
dd: "%d days",
|
|
31
|
+
M: "a month",
|
|
32
|
+
MM: "%d months",
|
|
33
|
+
y: "a year",
|
|
34
|
+
yy: "%d years"
|
|
35
|
+
};
|
|
36
|
+
function a(e, t, n, i) {
|
|
37
|
+
return r.fromToBase(e, t, n, i);
|
|
38
|
+
}
|
|
39
|
+
n.en.relativeTime = i, r.fromToBase = function(t, r, a, o, s) {
|
|
40
|
+
for (var c, l, u, d = a.$locale().relativeTime || i, f = e.thresholds || [
|
|
41
|
+
{
|
|
42
|
+
l: "s",
|
|
43
|
+
r: 44,
|
|
44
|
+
d: "second"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
l: "m",
|
|
48
|
+
r: 89
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
l: "mm",
|
|
52
|
+
r: 44,
|
|
53
|
+
d: "minute"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
l: "h",
|
|
57
|
+
r: 89
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
l: "hh",
|
|
61
|
+
r: 21,
|
|
62
|
+
d: "hour"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
l: "d",
|
|
66
|
+
r: 35
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
l: "dd",
|
|
70
|
+
r: 25,
|
|
71
|
+
d: "day"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
l: "M",
|
|
75
|
+
r: 45
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
l: "MM",
|
|
79
|
+
r: 10,
|
|
80
|
+
d: "month"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
l: "y",
|
|
84
|
+
r: 17
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
l: "yy",
|
|
88
|
+
d: "year"
|
|
89
|
+
}
|
|
90
|
+
], p = f.length, m = 0; m < p; m += 1) {
|
|
91
|
+
var h = f[m];
|
|
92
|
+
h.d && (c = o ? n(t).diff(a, h.d, !0) : a.diff(t, h.d, !0));
|
|
93
|
+
var g = (e.rounding || Math.round)(Math.abs(c));
|
|
94
|
+
if (u = c > 0, g <= h.r || !h.r) {
|
|
95
|
+
g <= 1 && m > 0 && (h = f[m - 1]);
|
|
96
|
+
var _ = d[h.l];
|
|
97
|
+
s && (g = s("" + g)), l = typeof _ == "string" ? _.replace("%d", g) : _(g, r, h.l, u);
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
if (r) return l;
|
|
102
|
+
var v = u ? d.future : d.past;
|
|
103
|
+
return typeof v == "function" ? v(l) : v.replace("%s", l);
|
|
104
|
+
}, r.to = function(e, t) {
|
|
105
|
+
return a(e, t, this, !0);
|
|
106
|
+
}, r.from = function(e, t) {
|
|
107
|
+
return a(e, t, this);
|
|
108
|
+
};
|
|
109
|
+
var o = function(e) {
|
|
110
|
+
return e.$u ? n.utc() : n();
|
|
111
|
+
};
|
|
112
|
+
r.toNow = function(e) {
|
|
113
|
+
return this.to(o(this), e);
|
|
114
|
+
}, r.fromNow = function(e) {
|
|
115
|
+
return this.from(o(this), e);
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}));
|
|
119
|
+
})), o = /* @__PURE__ */ t(((e, t) => {
|
|
120
|
+
(function(n, r) {
|
|
121
|
+
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_updateLocale = r();
|
|
122
|
+
})(e, (function() {
|
|
123
|
+
function e() {
|
|
124
|
+
return e = Object.assign || function(e) {
|
|
125
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
126
|
+
var n = arguments[t];
|
|
127
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
128
|
+
}
|
|
129
|
+
return e;
|
|
130
|
+
}, e.apply(this, arguments);
|
|
131
|
+
}
|
|
132
|
+
return function(t, n, r) {
|
|
133
|
+
r.updateLocale = function(t, n) {
|
|
134
|
+
var i = r.Ls[t];
|
|
135
|
+
if (i) return (n ? Object.keys(n) : []).forEach((function(t) {
|
|
136
|
+
i[t] && n[t] && typeof i[t] == "object" && typeof n[t] == "object" && !Array.isArray(i[t]) ? i[t] = e({}, i[t], n[t]) : i[t] = n[t];
|
|
137
|
+
})), i;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}));
|
|
141
|
+
})), s = /* @__PURE__ */ e(i(), 1), c = /* @__PURE__ */ e(a(), 1), l = /* @__PURE__ */ e(o(), 1);
|
|
142
|
+
r(c.default), r(l.default), n.extend(c.default), n.extend(s.default), n.updateLocale("en", { relativeTime: {
|
|
143
|
+
future: "in %s",
|
|
144
|
+
past: "%s ago",
|
|
145
|
+
s: "a few sec",
|
|
146
|
+
m: "a min",
|
|
147
|
+
mm: "%d min",
|
|
148
|
+
h: "an hour",
|
|
149
|
+
hh: "%d hours",
|
|
150
|
+
d: "a day",
|
|
151
|
+
dd: "%d days",
|
|
152
|
+
M: "a month",
|
|
153
|
+
MM: "%d months",
|
|
154
|
+
y: "a year",
|
|
155
|
+
yy: "%d years"
|
|
156
|
+
} });
|
|
157
|
+
var u = (e) => {
|
|
158
|
+
let t = n(e), r = n().diff(t, "day");
|
|
159
|
+
return t.isToday() || r === 0 ? "Today" : r < 6 && r > 0 ? `${r}d ago` : t.format("MMM-DD");
|
|
114
160
|
};
|
|
161
|
+
//#endregion
|
|
162
|
+
export { n as dayjs, u as formatDatePosted };
|
package/dist/utils/index.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
import { formatDatePosted as
|
|
2
|
-
import { LogLevel as
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
g as LogLevel,
|
|
6
|
-
a as Logger,
|
|
7
|
-
f as createLogger,
|
|
8
|
-
d as dayjs,
|
|
9
|
-
r as formatDatePosted,
|
|
10
|
-
m as logger
|
|
11
|
-
};
|
|
1
|
+
import { dayjs as e, formatDatePosted as t } from "./dayjs.js";
|
|
2
|
+
import { LogLevel as n, Logger as r, createLogger as i, logger as a } from "./logger.js";
|
|
3
|
+
export { n as LogLevel, r as Logger, i as createLogger, e as dayjs, t as formatDatePosted, a as logger };
|
package/dist/utils/logger.js
CHANGED
|
@@ -1,48 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
//#region lib/utils/logger.ts
|
|
2
|
+
var e = {
|
|
3
|
+
NONE: "NONE",
|
|
4
|
+
ERROR: "ERROR",
|
|
5
|
+
WARN: "WARN",
|
|
6
|
+
DEBUG: "DEBUG",
|
|
7
|
+
ALL: "ALL"
|
|
8
|
+
}, t = {
|
|
9
|
+
NONE: 0,
|
|
10
|
+
ERROR: 1,
|
|
11
|
+
WARN: 2,
|
|
12
|
+
DEBUG: 3,
|
|
13
|
+
ALL: 4
|
|
14
|
+
}, n = class {
|
|
15
|
+
prefix;
|
|
16
|
+
level;
|
|
17
|
+
showLevel;
|
|
18
|
+
levelNumber;
|
|
19
|
+
constructor({ prefix: n = "", level: r = e.ALL, showLevel: i = !0 }) {
|
|
20
|
+
this.prefix = n, this.level = r, this.levelNumber = t[this.level], this.showLevel = i;
|
|
21
|
+
}
|
|
22
|
+
debug = (...t) => {
|
|
23
|
+
this.canWrite(e.DEBUG) && this.write(e.DEBUG, ...t);
|
|
24
|
+
};
|
|
25
|
+
warn = (...t) => {
|
|
26
|
+
this.canWrite(e.WARN) && this.write(e.WARN, ...t);
|
|
27
|
+
};
|
|
28
|
+
error = (...t) => {
|
|
29
|
+
this.canWrite(e.ERROR) && this.write(e.ERROR, ...t);
|
|
30
|
+
};
|
|
31
|
+
canWrite(e) {
|
|
32
|
+
return this.levelNumber >= t[e];
|
|
33
|
+
}
|
|
34
|
+
write(t, ...n) {
|
|
35
|
+
let r = this.prefix;
|
|
36
|
+
this.showLevel && (r = `- ${t} ${r}`), t === e.ERROR ? console.error(r, ...n) : console.log(r, ...n);
|
|
37
|
+
}
|
|
13
38
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
constructor({ prefix: e = "", level: i = r.ALL, showLevel: t = !0 }) {
|
|
20
|
-
this.prefix = e, this.level = i, this.levelNumber = l[this.level], this.showLevel = t;
|
|
21
|
-
}
|
|
22
|
-
debug = (...e) => {
|
|
23
|
-
this.canWrite(r.DEBUG) && this.write(r.DEBUG, ...e);
|
|
24
|
-
};
|
|
25
|
-
warn = (...e) => {
|
|
26
|
-
this.canWrite(r.WARN) && this.write(r.WARN, ...e);
|
|
27
|
-
};
|
|
28
|
-
error = (...e) => {
|
|
29
|
-
this.canWrite(r.ERROR) && this.write(r.ERROR, ...e);
|
|
30
|
-
};
|
|
31
|
-
canWrite(e) {
|
|
32
|
-
return this.levelNumber >= l[e];
|
|
33
|
-
}
|
|
34
|
-
write(e, ...i) {
|
|
35
|
-
let t = this.prefix;
|
|
36
|
-
this.showLevel && (t = `- ${e} ${t}`), e === r.ERROR ? console.error(t, ...i) : console.log(t, ...i);
|
|
37
|
-
}
|
|
39
|
+
function r({ prefix: e, level: t } = {}) {
|
|
40
|
+
return new n({
|
|
41
|
+
prefix: e,
|
|
42
|
+
level: t
|
|
43
|
+
});
|
|
38
44
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
const L = o({ level: r.ALL });
|
|
43
|
-
export {
|
|
44
|
-
r as LogLevel,
|
|
45
|
-
R as Logger,
|
|
46
|
-
o as createLogger,
|
|
47
|
-
L as logger
|
|
48
|
-
};
|
|
45
|
+
var i = r({ level: e.ALL });
|
|
46
|
+
//#endregion
|
|
47
|
+
export { e as LogLevel, n as Logger, r as createLogger, i as logger };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
//#region ../core/dist/utils.js
|
|
2
|
+
var e = (e) => (typeof e == "string" ? new Date(e) : e).toLocaleTimeString("en-US", {
|
|
3
|
+
hour: "2-digit",
|
|
4
|
+
minute: "2-digit",
|
|
5
|
+
hour12: !0
|
|
6
|
+
}), t = (e) => {
|
|
7
|
+
if (!e) return "";
|
|
8
|
+
let t = [
|
|
9
|
+
"Bytes",
|
|
10
|
+
"KB",
|
|
11
|
+
"MB",
|
|
12
|
+
"GB"
|
|
13
|
+
], n = Math.floor(Math.log(e) / Math.log(1024));
|
|
14
|
+
return Math.round(e / 1024 ** n * 100) / 100 + " " + t[n];
|
|
15
|
+
}, n = (e) => {
|
|
16
|
+
let t = /* @__PURE__ */ new Date(), n = typeof e == "string" ? new Date(e) : e, r = Math.floor((t.getTime() - n.getTime()) / 1e3);
|
|
17
|
+
if (r < 60) return "just now";
|
|
18
|
+
for (let { limit: e, divisor: t, singular: n, plural: i } of [
|
|
19
|
+
{
|
|
20
|
+
limit: 3600,
|
|
21
|
+
divisor: 60,
|
|
22
|
+
singular: "1 minute ago",
|
|
23
|
+
plural: "minutes ago"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
limit: 86400,
|
|
27
|
+
divisor: 3600,
|
|
28
|
+
singular: "1 hour ago",
|
|
29
|
+
plural: "hours ago"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
limit: 604800,
|
|
33
|
+
divisor: 86400,
|
|
34
|
+
singular: "1 day ago",
|
|
35
|
+
plural: "days ago"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
limit: 2592e3,
|
|
39
|
+
divisor: 604800,
|
|
40
|
+
singular: "1 week ago",
|
|
41
|
+
plural: "weeks ago"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
limit: 31536e3,
|
|
45
|
+
divisor: 2592e3,
|
|
46
|
+
singular: "1 month ago",
|
|
47
|
+
plural: "months ago"
|
|
48
|
+
}
|
|
49
|
+
]) if (r < e) {
|
|
50
|
+
let e = Math.floor(r / t);
|
|
51
|
+
return e === 1 ? n : `${e} ${i}`;
|
|
52
|
+
}
|
|
53
|
+
let i = Math.floor(r / 31536e3);
|
|
54
|
+
return i === 1 ? "1 year ago" : `${i} years ago`;
|
|
55
|
+
};
|
|
56
|
+
function r(e, t = 2) {
|
|
57
|
+
if (e === 0) return "0 Bytes";
|
|
58
|
+
let n = 1024, r = t < 0 ? 0 : t, i = [
|
|
59
|
+
"Bytes",
|
|
60
|
+
"KB",
|
|
61
|
+
"MB",
|
|
62
|
+
"GB",
|
|
63
|
+
"TB",
|
|
64
|
+
"PB",
|
|
65
|
+
"EB",
|
|
66
|
+
"ZB",
|
|
67
|
+
"YB"
|
|
68
|
+
], a = Math.floor(Math.log(e) / Math.log(n));
|
|
69
|
+
return `${parseFloat((e / n ** +a).toFixed(r))} ${i[a]}`;
|
|
70
|
+
}
|
|
71
|
+
//#endregion
|
|
72
|
+
export { n as i, t as n, e as r, r as t };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { n as e } from "./chunk-efA98nb6.js";
|
|
2
|
+
import { g as t } from "./createTheme-DuS5_nJb.js";
|
|
3
|
+
import { t as n } from "./identifier-_S1f0Pg2.js";
|
|
4
|
+
import { t as r } from "./useThemeProps-CJRFdjVv.js";
|
|
5
|
+
import { t as i } from "./defaultTheme-DBynruYK.js";
|
|
6
|
+
import { n as a, t as o } from "./objectWithoutPropertiesLoose-BdL2_POW.js";
|
|
7
|
+
import * as s from "react";
|
|
8
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
9
|
+
//#region ../../node_modules/@mui/material/esm/styles/useThemeProps.js
|
|
10
|
+
function l({ props: e, name: t }) {
|
|
11
|
+
return r({
|
|
12
|
+
props: e,
|
|
13
|
+
name: t,
|
|
14
|
+
defaultTheme: i,
|
|
15
|
+
themeId: n
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/@mui/x-date-pickers/esm/LocalizationProvider/LocalizationProvider.js
|
|
20
|
+
var u = /* @__PURE__ */ e(t()), d = ["localeText"], f = /* @__PURE__ */ s.createContext(null);
|
|
21
|
+
process.env.NODE_ENV !== "production" && (f.displayName = "PickerAdapterContext");
|
|
22
|
+
var p = function(e) {
|
|
23
|
+
let { localeText: t } = e, n = o(e, d), { adapter: r, localeText: i } = s.useContext(f) ?? {
|
|
24
|
+
utils: void 0,
|
|
25
|
+
adapter: void 0,
|
|
26
|
+
localeText: void 0
|
|
27
|
+
}, { children: u, dateAdapter: p, dateFormats: m, dateLibInstance: h, adapterLocale: g, localeText: _ } = l({
|
|
28
|
+
props: n,
|
|
29
|
+
name: "MuiLocalizationProvider"
|
|
30
|
+
}), v = s.useMemo(() => a({}, _, i, t), [
|
|
31
|
+
_,
|
|
32
|
+
i,
|
|
33
|
+
t
|
|
34
|
+
]), y = s.useMemo(() => {
|
|
35
|
+
if (!p) return r || null;
|
|
36
|
+
let e = new p({
|
|
37
|
+
locale: g,
|
|
38
|
+
formats: m,
|
|
39
|
+
instance: h
|
|
40
|
+
});
|
|
41
|
+
if (!e.isMUIAdapter) throw Error([
|
|
42
|
+
"MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`",
|
|
43
|
+
"For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`",
|
|
44
|
+
"More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation"
|
|
45
|
+
].join("\n"));
|
|
46
|
+
return e;
|
|
47
|
+
}, [
|
|
48
|
+
p,
|
|
49
|
+
g,
|
|
50
|
+
m,
|
|
51
|
+
h,
|
|
52
|
+
r
|
|
53
|
+
]), b = s.useMemo(() => y ? {
|
|
54
|
+
minDate: y.date("1900-01-01T00:00:00.000"),
|
|
55
|
+
maxDate: y.date("2099-12-31T00:00:00.000")
|
|
56
|
+
} : null, [y]), x = s.useMemo(() => ({
|
|
57
|
+
utils: y,
|
|
58
|
+
adapter: y,
|
|
59
|
+
defaultDates: b,
|
|
60
|
+
localeText: v
|
|
61
|
+
}), [
|
|
62
|
+
b,
|
|
63
|
+
y,
|
|
64
|
+
v
|
|
65
|
+
]);
|
|
66
|
+
return /* @__PURE__ */ c(f.Provider, {
|
|
67
|
+
value: x,
|
|
68
|
+
children: u
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
process.env.NODE_ENV !== "production" && (p.displayName = "LocalizationProvider"), process.env.NODE_ENV !== "production" && (p.propTypes = {
|
|
72
|
+
adapterLocale: u.default.any,
|
|
73
|
+
children: u.default.node,
|
|
74
|
+
dateAdapter: u.default.func,
|
|
75
|
+
dateFormats: u.default.shape({
|
|
76
|
+
dayOfMonth: u.default.string,
|
|
77
|
+
dayOfMonthFull: u.default.string,
|
|
78
|
+
fullDate: u.default.string,
|
|
79
|
+
fullTime12h: u.default.string,
|
|
80
|
+
fullTime24h: u.default.string,
|
|
81
|
+
hours12h: u.default.string,
|
|
82
|
+
hours24h: u.default.string,
|
|
83
|
+
keyboardDate: u.default.string,
|
|
84
|
+
keyboardDateTime12h: u.default.string,
|
|
85
|
+
keyboardDateTime24h: u.default.string,
|
|
86
|
+
meridiem: u.default.string,
|
|
87
|
+
minutes: u.default.string,
|
|
88
|
+
month: u.default.string,
|
|
89
|
+
monthShort: u.default.string,
|
|
90
|
+
normalDate: u.default.string,
|
|
91
|
+
normalDateWithWeekday: u.default.string,
|
|
92
|
+
seconds: u.default.string,
|
|
93
|
+
shortDate: u.default.string,
|
|
94
|
+
weekday: u.default.string,
|
|
95
|
+
weekdayShort: u.default.string,
|
|
96
|
+
year: u.default.string
|
|
97
|
+
}),
|
|
98
|
+
dateLibInstance: u.default.any,
|
|
99
|
+
localeText: u.default.object
|
|
100
|
+
});
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region ../../node_modules/@mui/x-internals/esm/warning/warning.js
|
|
103
|
+
var m = /* @__PURE__ */ new Set();
|
|
104
|
+
function h(e, t = "warning") {
|
|
105
|
+
if (process.env.NODE_ENV === "production") return;
|
|
106
|
+
let n = Array.isArray(e) ? e.join("\n") : e;
|
|
107
|
+
m.has(n) || (m.add(n), t === "error" ? console.error(n) : console.warn(n));
|
|
108
|
+
}
|
|
109
|
+
//#endregion
|
|
110
|
+
export { l as i, p as n, f as r, h as t };
|