@solostylist/ui-kit 2.0.2 → 2.0.3
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/{gradients-mQAYCK0_.js → gradients-DSnBONEQ.js} +1 -1
- package/dist/main.js +1 -1
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-B1FcGUYs.js → palettes-CJLuEy1m.js} +163 -163
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +70 -2
- package/dist/s-action-overlay/s-action-overlay.js +21 -21
- package/dist/s-animated-gradient-text/s-animated-gradient-text.js +18 -19
- package/dist/s-announcement-bar/s-announcement-bar.js +50 -53
- package/dist/s-autocomplete/s-autocomplete.js +1 -1
- package/dist/s-avatar/s-avatar.js +17 -17
- package/dist/s-blur-text/s-blur-text.js +16 -16
- package/dist/s-brand-logo/index.js +1 -1
- package/dist/s-brand-logo/s-brand-logo.js +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +186 -2
- package/dist/s-category-card/s-category-card.js +22 -22
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +398 -2
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +314 -2
- package/dist/s-checkbox/s-checkbox.js +18 -19
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +174 -2
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +103 -2
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +189 -2
- package/dist/s-copyable-text/s-copyable-text.js +18 -18
- package/dist/s-countdown/s-count-box.js +18 -18
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +213 -2
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +106 -2
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.js +80 -2
- package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
- package/dist/s-dialog-message/s-dialog-message.js +31 -32
- package/dist/s-drawer/index.js +1 -1
- package/dist/s-drawer/s-drawer.js +139 -2
- package/dist/s-empty/s-empty.js +13 -14
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
- package/dist/s-file-icon/s-file-icon.js +87 -88
- package/dist/s-flex-box/s-flex-box.js +11 -12
- package/dist/s-form/s-form.js +15 -15
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +9 -10
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +23 -24
- package/dist/s-icon-button/s-icon-button.js +13 -14
- package/dist/s-image-comparison/s-image-comparison.js +29 -31
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
- package/dist/s-image-viewer/index.js +3 -3
- package/dist/s-image-viewer/s-image-viewer.js +266 -2
- package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
- package/dist/s-interactive-card/s-interactive-card.js +39 -41
- package/dist/s-label/s-label.js +25 -26
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.js +145 -2
- package/dist/s-lazy-image/s-lazy-image.js +17 -18
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.js +5 -2
- package/dist/s-list-action-item/s-list-action-item.js +38 -39
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +12 -2
- package/dist/s-mega-menu/mega-menu-panel.js +132 -134
- package/dist/s-mega-menu/mega-menu-trigger.js +49 -2
- package/dist/s-mega-menu/s-mega-menu.js +80 -83
- package/dist/s-mobile-dock/index.js +1 -1
- package/dist/s-mobile-dock/s-mobile-dock.js +145 -2
- package/dist/s-nav-item/s-nav-item.js +19 -20
- package/dist/s-nav-items/s-nav-items.js +51 -52
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +5 -2
- package/dist/s-number-range/index.js +1 -1
- package/dist/s-number-range/s-number-range.js +250 -2
- package/dist/s-pagination/index.js +1 -1
- package/dist/s-pagination/s-pagination.js +85 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
- package/dist/s-popover/s-popover-content.js +11 -12
- package/dist/s-popover/s-popover.js +22 -24
- package/dist/s-product-card/s-product-card.js +177 -180
- package/dist/s-product-gallery/index.js +1 -1
- package/dist/s-product-gallery/s-product-gallery.js +427 -2
- package/dist/s-quantity-input/s-quantity-input.js +24 -24
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +272 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
- package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
- package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
- package/dist/s-segmented-control/s-segmented-control.js +64 -68
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +201 -2
- package/dist/s-select-list/s-select-list.js +47 -50
- package/dist/s-skeleton/s-skeleton.js +12 -13
- package/dist/s-snackbar-message/index.js +2 -2
- package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
- package/dist/s-status-illustration/s-status-illustration.js +74 -74
- package/dist/s-stepper/index.js +1 -1
- package/dist/s-stepper/s-stepper.js +102 -2
- package/dist/s-stripe/s-stripe.js +11 -12
- package/dist/s-stripe/stripe-input.js +3 -2
- package/dist/s-swatch/s-swatch.js +34 -35
- package/dist/s-switch/index.js +1 -1
- package/dist/s-switch/s-switch.js +48 -2
- package/dist/s-tabs/s-tabs.js +48 -50
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +213 -2
- package/dist/s-text-editor/s-text-editor.js +25 -26
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +52 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
- package/dist/s-text-truncation/s-text-truncation.js +20 -20
- package/dist/s-theme-demo/s-theme-demo.js +8 -8
- package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
- package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +60 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +61 -2
- package/dist/s-tool-bar/s-tool-bar.js +28 -28
- package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
- package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
- package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
- package/dist/s-tool-item/s-tool-item.js +22 -22
- package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
- package/dist/s-zoom-image/s-zoom-image.js +18 -19
- package/dist/theme/components/autocomplete.js +43 -2
- package/dist/theme/components/avatar.js +9 -2
- package/dist/theme/components/card.js +3 -3
- package/dist/theme/components/checkbox.js +90 -2
- package/dist/theme/components/chip.js +3 -3
- package/dist/theme/components/components.js +20 -20
- package/dist/theme/components/date-calendar.js +1 -0
- package/dist/theme/components/day-calendar.js +1 -0
- package/dist/theme/components/drawer.js +1 -1
- package/dist/theme/components/field-label-styles.js +19 -2
- package/dist/theme/components/form-label.js +1 -1
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +7 -7
- package/dist/theme/components/month-calendar.js +14 -13
- package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
- package/dist/theme/components/outlined-input.js +6 -6
- package/dist/theme/components/picker-day.js +1 -0
- package/dist/theme/components/pickers-arrow-switcher.js +1 -0
- package/dist/theme/components/pickers-calendar-header.js +3 -2
- package/dist/theme/components/select.js +6 -6
- package/dist/theme/components/switch.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button.js +93 -2
- package/dist/theme/components/year-calendar.js +14 -13
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/{theme-primitives-CXtaMdVj.js → theme-primitives-CRfnMsNy.js} +108 -109
- package/dist/utils/dayjs.js +9 -146
- package/package.json +7 -2
- package/dist/Add-CEnTWsXs.js +0 -6
- package/dist/ArrowUpward-udL1ltj2.js +0 -6
- package/dist/Box-9oeZgA1U.js +0 -46
- package/dist/Button-DaLr1m20.js +0 -534
- package/dist/ButtonBase-DovDC6-1.js +0 -700
- package/dist/Checkbox-C-Xjbzzh.js +0 -152
- package/dist/ChevronRight-DsPfsFKB.js +0 -6
- package/dist/Close-CIYOM-Sc.js +0 -6
- package/dist/Collapse-DPUr1cbP.js +0 -266
- package/dist/ContentCopy-Hlh3azVb.js +0 -6
- package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
- package/dist/DialogContent-b3xbJVC6.js +0 -450
- package/dist/Download-D9PkFi7a.js +0 -6
- package/dist/ExpandMore-sOgvEha9.js +0 -6
- package/dist/Favorite-BP343hjM.js +0 -6
- package/dist/FavoriteBorder-D15j9xEL.js +0 -6
- package/dist/FormControl-DwMfZCiz.js +0 -215
- package/dist/FormControlLabel-Ihga1FTB.js +0 -173
- package/dist/Grow-BQR7x52V.js +0 -121
- package/dist/IconButton-CE-4GamO.js +0 -448
- package/dist/InfoOutlined-lpvhO6P8.js +0 -6
- package/dist/List-RNcZhRdr.js +0 -105
- package/dist/Menu-CnyB4SDS.js +0 -180
- package/dist/MenuItem-Ck30dBOR.js +0 -224
- package/dist/MenuList-Cc98uWXq.js +0 -160
- package/dist/Modal-CD2EBfU8.js +0 -702
- package/dist/Paper-_3qggtBp.js +0 -115
- package/dist/Popover-BFdKSYI5.js +0 -340
- package/dist/Popper-DYNAMSDd.js +0 -1351
- package/dist/Portal-i_wgIe9-.js +0 -49
- package/dist/Remove-DDEn8ek8.js +0 -6
- package/dist/RtlProvider-B7uVJXUY.js +0 -19
- package/dist/Skeleton-iZFynl7z.js +0 -220
- package/dist/Stack-C0LGzM4c.js +0 -158
- package/dist/SwitchBase-CjWtDdmE.js +0 -198
- package/dist/Tooltip-B1sn94L0.js +0 -448
- package/dist/Typography-_P0svrkO.js +0 -168
- package/dist/UnfoldMoreRounded-CuCrdxoy.js +0 -6
- package/dist/appendOwnerState-CFQTq3pb.js +0 -17
- package/dist/assets/stripe-input.css +0 -1
- package/dist/autocomplete-BgARERpp.js +0 -43
- package/dist/avatar-XNOdbbRz.js +0 -10
- package/dist/buttonBaseClasses-B90LjsNK.js +0 -13
- package/dist/capitalize-C0baBJCm.js +0 -5
- package/dist/chainPropTypes-CkMRtDjQ.js +0 -8
- package/dist/checkbox-D1U_JKqs.js +0 -88
- package/dist/checkboxClasses-B1up2lUn.js +0 -18
- package/dist/chunk-C_CI6nMA.js +0 -13
- package/dist/clsx-DGZSe4Nt.js +0 -16
- package/dist/colorManipulator-DmUjcif3.js +0 -129
- package/dist/contains-DnqPQsQU.js +0 -16
- package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +0 -14
- package/dist/createSvgIcon-3y-gS0r1.js +0 -155
- package/dist/createTheme-xB2Em0Na.js +0 -1869
- package/dist/defaultTheme-BaGcIzCh.js +0 -210
- package/dist/elementAcceptingRef-pKEY6jPR.js +0 -25
- package/dist/elementTypeAcceptingRef-xl_04Y5-.js +0 -19
- package/dist/exactProp-C_IsucXf.js +0 -13
- package/dist/extends-DXMyyJCW.js +0 -12
- package/dist/field-label-styles-4praXMaE.js +0 -50
- package/dist/formLabelClasses-AuZHWfTs.js +0 -18
- package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
- package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
- package/dist/getActiveElement-BfBkhgy6.js +0 -8
- package/dist/iconButtonClasses-CVVRFXRo.js +0 -27
- package/dist/inputAdornmentClasses-BbB8s-Z4.js +0 -19
- package/dist/inputBaseClasses-Ce_jjdp9.js +0 -25
- package/dist/integerPropType-CCkQD1JY.js +0 -27
- package/dist/isEventHandler-QShLXBxE.js +0 -7
- package/dist/isFocusVisible-4OIE8TST.js +0 -11
- package/dist/isLayoutSupported-Btg2X3QE.js +0 -6
- package/dist/isMuiElement-CPjhi284.js +0 -10
- package/dist/mega-menu-trigger-BcOo8I5_.js +0 -53
- package/dist/memoTheme-qFyKAk7y.js +0 -15
- package/dist/mergeSlotProps-DC8r4QzS.js +0 -45
- package/dist/monthCalendarClasses-b964KRbc.js +0 -14
- package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +0 -12
- package/dist/outlinedInputClasses-ci1zDasn.js +0 -17
- package/dist/ownerDocument-CJjQZweZ.js +0 -6
- package/dist/ownerDocument-pYjJiXem.js +0 -5
- package/dist/ownerWindow-SSeeoqPT.js +0 -18
- package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +0 -12
- package/dist/prop-types-BzYPyWN7.js +0 -516
- package/dist/refType-j5S9pc_e.js +0 -6
- package/dist/resolveProps-7jIA45vn.js +0 -30
- package/dist/s-accordion-1oLxQhod.js +0 -487
- package/dist/s-carousel-CAyAl3ka.js +0 -1355
- package/dist/s-chat-input-T3gyan60.js +0 -419
- package/dist/s-chat-message-NFTpNgt5.js +0 -315
- package/dist/s-chips-Dqq1fgz-.js +0 -176
- package/dist/s-code-block-DyDtctGG.js +0 -658
- package/dist/s-comment-message-DpCVBKiE.js +0 -192
- package/dist/s-data-table-D4V58HFR.js +0 -805
- package/dist/s-date-picker-BFIQOA8C.js +0 -657
- package/dist/s-datetime-picker-zfg7BEOW.js +0 -3886
- package/dist/s-dialog-BNlXsVVP.js +0 -123
- package/dist/s-drawer-4h5ZyoM8.js +0 -562
- package/dist/s-file-dropzone-Cfzv1Cm8.js +0 -422
- package/dist/s-image-viewer-CjK67-rs.js +0 -269
- package/dist/s-language-switcher-PaMgHWc2.js +0 -246
- package/dist/s-link-Db1aabHh.js +0 -235
- package/dist/s-localization-provider-CeyB_SGz.js +0 -519
- package/dist/s-mobile-dock-8F3UWAb8.js +0 -615
- package/dist/s-no-ssr-DH57_uP_.js +0 -25
- package/dist/s-number-range-Low5QjuD.js +0 -253
- package/dist/s-pagination-s46hBifh.js +0 -606
- package/dist/s-product-gallery-Dj9eGg5i.js +0 -430
- package/dist/s-review--Q2C0ngO.js +0 -272
- package/dist/s-select-CtVKEOZ5.js +0 -204
- package/dist/s-snackbar-message-DsfJlDYd.js +0 -810
- package/dist/s-stepper-BtODHVro.js +0 -892
- package/dist/s-switch-BCeBoxWf.js +0 -307
- package/dist/s-text-editor-toolbar-D5eQ-jCs.js +0 -2124
- package/dist/s-text-field-HYyDf1Jo.js +0 -51
- package/dist/s-theme-switch-BFWpADh3.js +0 -60
- package/dist/s-tip-jbL7vtoU.js +0 -62
- package/dist/selectClasses-CPxME5jE.js +0 -22
- package/dist/setRef-BWPyWnrr.js +0 -6
- package/dist/styled-Bog8QCl3.js +0 -163
- package/dist/svgIconClasses-1kWGzgux.js +0 -20
- package/dist/switchClasses-BtweO7PC.js +0 -23
- package/dist/theme-demo-components-section-C7l_2KAo.js +0 -267
- package/dist/toggle-button-BsGb-tOr.js +0 -104
- package/dist/tool-bar-action-buttons-v1koaasr.js +0 -54
- package/dist/tool-bar-image-input-DtXTyEe1.js +0 -148
- package/dist/typographyClasses-BH_-zLwg.js +0 -31
- package/dist/unsupportedProp-whMV_uOi.js +0 -11
- package/dist/useControlled-DqNPBJNp.js +0 -5
- package/dist/useControlled-uxVKygk1.js +0 -29
- package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
- package/dist/useEnhancedEffect-dBFfkm1e.js +0 -5
- package/dist/useEventCallback-DGCsaRIu.js +0 -5
- package/dist/useEventCallback-DhCPBxRG.js +0 -11
- package/dist/useForkRef-BuNFTXxE.js +0 -29
- package/dist/useFormControl-gXwNeUM1.js +0 -18
- package/dist/useMobilePicker-CdrT935R.js +0 -7584
- package/dist/useRovingTabIndex-DPlW997R.js +0 -242
- package/dist/useSlot-BG8ReOxN.js +0 -83
- package/dist/useSlotProps-BOO3qaI9.js +0 -16
- package/dist/useTheme-BIWMbX3i.js +0 -9
- package/dist/useThemeProps-Dw9dmKyT.js +0 -29
- package/dist/useTimeout-CoK-Khfm.js +0 -49
- package/dist/utils-Bfqbev5I.js +0 -248
- package/dist/warning-D5YhCbje.js +0 -99
- package/dist/yearCalendarClasses-D9k_KT38.js +0 -14
- /package/dist/{colors-Bik9qOU9.js → colors-CNjL5fhq.js} +0 -0
- /package/dist/{s-brand-logo-D7Jovf5K.js → s-brand-logo-CErW9Slg.js} +0 -0
- /package/dist/{utils-DOY6v6ln.js → utils-CMeAWSRO.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
-
import { t } from "../
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
2
|
+
import { SOverlayScrollbar as t } from "../s-overlay-scrollbar/s-overlay-scrollbar.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import { Box as a, styled as o, useThemeProps as s } from "@mui/material";
|
|
6
|
+
import c from "@mui/utils/appendOwnerState";
|
|
7
7
|
//#region lib/s-two-pane-layout/s-two-pane-layout.tsx
|
|
8
8
|
var l = () => ({
|
|
9
9
|
display: "flex",
|
|
@@ -39,32 +39,32 @@ var l = () => ({
|
|
|
39
39
|
}), m = ({ ownerState: e, theme: t }) => ({
|
|
40
40
|
padding: t.spacing(2),
|
|
41
41
|
...!e.scrollContent && { height: "100%" }
|
|
42
|
-
}), h =
|
|
42
|
+
}), h = o(a, {
|
|
43
43
|
name: "STwoPaneLayout",
|
|
44
44
|
slot: "Root",
|
|
45
45
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
46
|
-
})(l), g =
|
|
46
|
+
})(l), g = o(a, {
|
|
47
47
|
name: "STwoPaneLayout",
|
|
48
48
|
slot: "Sidebar"
|
|
49
|
-
})(u), ee =
|
|
49
|
+
})(u), ee = o(a, {
|
|
50
50
|
name: "STwoPaneLayout",
|
|
51
51
|
slot: "SidebarHeader"
|
|
52
|
-
})(d), _ =
|
|
52
|
+
})(d), _ = o(a, {
|
|
53
53
|
name: "STwoPaneLayout",
|
|
54
54
|
slot: "SidebarViewport"
|
|
55
|
-
})(f), v =
|
|
55
|
+
})(f), v = o(t, {
|
|
56
56
|
name: "STwoPaneLayout",
|
|
57
57
|
slot: "SidebarScroller"
|
|
58
|
-
})({}), y =
|
|
58
|
+
})({}), y = o(a, {
|
|
59
59
|
name: "STwoPaneLayout",
|
|
60
60
|
slot: "Content"
|
|
61
|
-
})(p), te =
|
|
61
|
+
})(p), te = o(a, {
|
|
62
62
|
name: "STwoPaneLayout",
|
|
63
63
|
slot: "ContentHeader"
|
|
64
|
-
})(d), ne =
|
|
64
|
+
})(d), ne = o(a, {
|
|
65
65
|
name: "STwoPaneLayout",
|
|
66
66
|
slot: "ContentViewport"
|
|
67
|
-
})(m), b =
|
|
67
|
+
})(m), b = o(t, {
|
|
68
68
|
name: "STwoPaneLayout",
|
|
69
69
|
slot: "ContentScroller"
|
|
70
70
|
})({});
|
|
@@ -84,9 +84,9 @@ function C(e, t, n) {
|
|
|
84
84
|
theme: e
|
|
85
85
|
}) : void 0;
|
|
86
86
|
}
|
|
87
|
-
var w =
|
|
88
|
-
let l =
|
|
89
|
-
props:
|
|
87
|
+
var w = n.forwardRef(function(t, o) {
|
|
88
|
+
let l = s({
|
|
89
|
+
props: t,
|
|
90
90
|
name: "STwoPaneLayout"
|
|
91
91
|
}), { children: w, contentHeader: T, disableDivider: E = !1, scrollContent: D = !1, scrollSidebar: O = !0, sidebar: k, sidebarHeader: A, sidebarPosition: j = "left", sidebarWidth: M = 280, slotProps: N, slots: P, sx: F, ...I } = l, L = {
|
|
92
92
|
...l,
|
|
@@ -95,62 +95,62 @@ var w = r.forwardRef(function(n, s) {
|
|
|
95
95
|
scrollSidebar: O,
|
|
96
96
|
sidebarPosition: j,
|
|
97
97
|
sidebarWidth: M
|
|
98
|
-
}, R = P?.sidebar ?? g, z = P?.sidebarHeader ?? ee, B = P?.sidebarViewport ?? _, V = P?.sidebarScroller ?? v, H = P?.content ?? y, U = P?.contentHeader ?? te, W = P?.contentViewport ?? ne, G = P?.contentScroller ?? b, K = S(
|
|
98
|
+
}, R = P?.sidebar ?? g, z = P?.sidebarHeader ?? ee, B = P?.sidebarViewport ?? _, V = P?.sidebarScroller ?? v, H = P?.content ?? y, U = P?.contentHeader ?? te, W = P?.contentViewport ?? ne, G = P?.contentScroller ?? b, K = S(c(P?.sidebar, x(N?.sidebar, L) ?? {}, L)), q = S(c(P?.sidebarHeader, x(N?.sidebarHeader, L) ?? {}, L)), J = S(c(P?.sidebarViewport, x(N?.sidebarViewport, L) ?? {}, L)), Y = S(c(P?.content, x(N?.content, L) ?? {}, L)), X = S(c(P?.contentHeader, x(N?.contentHeader, L) ?? {}, L)), Z = S(c(P?.contentViewport, x(N?.contentViewport, L) ?? {}, L)), re = c(P?.sidebarScroller, x(N?.sidebarScroller, L) ?? {}, L), ie = c(P?.contentScroller, x(N?.contentScroller, L) ?? {}, L), Q = /* @__PURE__ */ i(R, {
|
|
99
99
|
...K.other,
|
|
100
100
|
...!P?.sidebar && { ownerState: L },
|
|
101
101
|
sx: [...e(C(P?.sidebar, u, L)), ...e(K.sx)],
|
|
102
|
-
children: [A == null ? null : /* @__PURE__ */
|
|
102
|
+
children: [A == null ? null : /* @__PURE__ */ r(z, {
|
|
103
103
|
...q.other,
|
|
104
104
|
...!P?.sidebarHeader && { ownerState: L },
|
|
105
105
|
sx: [...e(C(P?.sidebarHeader, d, L)), ...e(q.sx)],
|
|
106
106
|
children: A
|
|
107
|
-
}), /* @__PURE__ */
|
|
107
|
+
}), /* @__PURE__ */ r(a, {
|
|
108
108
|
sx: {
|
|
109
109
|
flex: 1,
|
|
110
110
|
minHeight: 0,
|
|
111
111
|
overflow: "hidden"
|
|
112
112
|
},
|
|
113
|
-
children: O ? /* @__PURE__ */
|
|
113
|
+
children: O ? /* @__PURE__ */ r(V, {
|
|
114
114
|
...re,
|
|
115
115
|
...!P?.sidebarScroller && { ownerState: L },
|
|
116
|
-
children: /* @__PURE__ */
|
|
116
|
+
children: /* @__PURE__ */ r(B, {
|
|
117
117
|
...J.other,
|
|
118
118
|
...!P?.sidebarViewport && { ownerState: L },
|
|
119
119
|
sx: [...e(C(P?.sidebarViewport, f, L)), ...e(J.sx)],
|
|
120
120
|
children: k
|
|
121
121
|
})
|
|
122
|
-
}) : /* @__PURE__ */
|
|
122
|
+
}) : /* @__PURE__ */ r(B, {
|
|
123
123
|
...J.other,
|
|
124
124
|
...!P?.sidebarViewport && { ownerState: L },
|
|
125
125
|
sx: [...e(C(P?.sidebarViewport, f, L)), ...e(J.sx)],
|
|
126
126
|
children: k
|
|
127
127
|
})
|
|
128
128
|
})]
|
|
129
|
-
}), $ = /* @__PURE__ */
|
|
129
|
+
}), $ = /* @__PURE__ */ i(H, {
|
|
130
130
|
...Y.other,
|
|
131
131
|
...!P?.content && { ownerState: L },
|
|
132
132
|
sx: [...e(C(P?.content, p, L)), ...e(Y.sx)],
|
|
133
|
-
children: [T == null ? null : /* @__PURE__ */
|
|
133
|
+
children: [T == null ? null : /* @__PURE__ */ r(U, {
|
|
134
134
|
...X.other,
|
|
135
135
|
...!P?.contentHeader && { ownerState: L },
|
|
136
136
|
sx: [...e(C(P?.contentHeader, d, L)), ...e(X.sx)],
|
|
137
137
|
children: T
|
|
138
|
-
}), /* @__PURE__ */
|
|
138
|
+
}), /* @__PURE__ */ r(a, {
|
|
139
139
|
sx: {
|
|
140
140
|
flex: 1,
|
|
141
141
|
minHeight: 0,
|
|
142
142
|
overflow: "hidden"
|
|
143
143
|
},
|
|
144
|
-
children: D ? /* @__PURE__ */
|
|
144
|
+
children: D ? /* @__PURE__ */ r(G, {
|
|
145
145
|
...ie,
|
|
146
146
|
...!P?.contentScroller && { ownerState: L },
|
|
147
|
-
children: /* @__PURE__ */
|
|
147
|
+
children: /* @__PURE__ */ r(W, {
|
|
148
148
|
...Z.other,
|
|
149
149
|
...!P?.contentViewport && { ownerState: L },
|
|
150
150
|
sx: [...e(C(P?.contentViewport, m, L)), ...e(Z.sx)],
|
|
151
151
|
children: w
|
|
152
152
|
})
|
|
153
|
-
}) : /* @__PURE__ */
|
|
153
|
+
}) : /* @__PURE__ */ r(W, {
|
|
154
154
|
...Z.other,
|
|
155
155
|
...!P?.contentViewport && { ownerState: L },
|
|
156
156
|
sx: [...e(C(P?.contentViewport, m, L)), ...e(Z.sx)],
|
|
@@ -158,12 +158,12 @@ var w = r.forwardRef(function(n, s) {
|
|
|
158
158
|
})
|
|
159
159
|
})]
|
|
160
160
|
});
|
|
161
|
-
return /* @__PURE__ */
|
|
161
|
+
return /* @__PURE__ */ r(h, {
|
|
162
162
|
...I,
|
|
163
163
|
ownerState: L,
|
|
164
|
-
ref:
|
|
164
|
+
ref: o,
|
|
165
165
|
sx: e(F),
|
|
166
|
-
children: j === "left" ? /* @__PURE__ */
|
|
166
|
+
children: j === "left" ? /* @__PURE__ */ i(n.Fragment, { children: [Q, $] }) : /* @__PURE__ */ i(n.Fragment, { children: [$, Q] })
|
|
167
167
|
});
|
|
168
168
|
});
|
|
169
169
|
w.displayName = "STwoPaneLayout";
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import { Box as c } from "@mui/material";
|
|
1
|
+
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
+
import { SLazyImage as t } from "../s-lazy-image/s-lazy-image.js";
|
|
3
|
+
import { styled as n, useThemeProps as r } from "@mui/material/styles";
|
|
4
|
+
import i, { useState as a } from "react";
|
|
5
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
6
|
+
import { Box as s } from "@mui/material";
|
|
7
|
+
import { mergeSlotProps as c } from "@mui/material/utils";
|
|
9
8
|
import { motion as l, useMotionValue as u, useReducedMotion as d, useSpring as f, useTransform as p } from "framer-motion";
|
|
10
9
|
//#region lib/s-zoom-image/s-zoom-image.tsx
|
|
11
|
-
var m =
|
|
10
|
+
var m = n(s, {
|
|
12
11
|
name: "SZoomImage",
|
|
13
12
|
slot: "Root"
|
|
14
|
-
})({}), h =
|
|
15
|
-
let h =
|
|
16
|
-
props:
|
|
13
|
+
})({}), h = i.forwardRef((n, i) => {
|
|
14
|
+
let h = r({
|
|
15
|
+
props: n,
|
|
17
16
|
name: "SZoomImage"
|
|
18
|
-
}), { src: g, alt: _, zoomScale: v = 1.2, transitionDuration: y = .3, borderRadius: b = 1, skeletonVariant: x = "rounded", height: S = "100%", width: C = "100%", slots: w, slotProps: T, onMouseLeave: E, onMouseMove: D, sx: O, ...k } = h, [A, j] =
|
|
17
|
+
}), { src: g, alt: _, zoomScale: v = 1.2, transitionDuration: y = .3, borderRadius: b = 1, skeletonVariant: x = "rounded", height: S = "100%", width: C = "100%", slots: w, slotProps: T, onMouseLeave: E, onMouseMove: D, sx: O, ...k } = h, [A, j] = a(null), M = A === g, N = d(), P = u(50), F = u(50), I = {
|
|
19
18
|
damping: 20,
|
|
20
19
|
stiffness: 150,
|
|
21
20
|
mass: .5
|
|
@@ -33,7 +32,7 @@ var m = e(c, {
|
|
|
33
32
|
transitionDuration: y,
|
|
34
33
|
width: C,
|
|
35
34
|
zoomScale: v
|
|
36
|
-
}, V =
|
|
35
|
+
}, V = c(T?.image, {
|
|
37
36
|
onLoad: () => j(g),
|
|
38
37
|
sx: {
|
|
39
38
|
borderRadius: "inherit",
|
|
@@ -41,8 +40,8 @@ var m = e(c, {
|
|
|
41
40
|
objectFit: "cover"
|
|
42
41
|
}
|
|
43
42
|
});
|
|
44
|
-
return /* @__PURE__ */
|
|
45
|
-
ref:
|
|
43
|
+
return /* @__PURE__ */ o(m, {
|
|
44
|
+
ref: i,
|
|
46
45
|
ownerState: B,
|
|
47
46
|
onMouseMove: R,
|
|
48
47
|
onMouseLeave: z,
|
|
@@ -52,9 +51,9 @@ var m = e(c, {
|
|
|
52
51
|
height: "auto",
|
|
53
52
|
overflow: "hidden",
|
|
54
53
|
borderRadius: b
|
|
55
|
-
}, ...
|
|
54
|
+
}, ...e(O)],
|
|
56
55
|
...k,
|
|
57
|
-
children: /* @__PURE__ */ s
|
|
56
|
+
children: /* @__PURE__ */ o(s, {
|
|
58
57
|
component: l.div,
|
|
59
58
|
style: { transformOrigin: N ? "50% 50%" : L },
|
|
60
59
|
animate: { scale: 1 },
|
|
@@ -64,7 +63,7 @@ var m = e(c, {
|
|
|
64
63
|
duration: y,
|
|
65
64
|
bounce: 0
|
|
66
65
|
},
|
|
67
|
-
children: /* @__PURE__ */
|
|
66
|
+
children: /* @__PURE__ */ o(t, {
|
|
68
67
|
src: g,
|
|
69
68
|
alt: _,
|
|
70
69
|
variant: x,
|
|
@@ -1,2 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import e from "@mui/icons-material/UnfoldMoreRounded";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { autocompleteClasses as n } from "@mui/material/Autocomplete";
|
|
4
|
+
//#region lib/theme/components/autocomplete.tsx
|
|
5
|
+
var r = {
|
|
6
|
+
defaultProps: {
|
|
7
|
+
popupIcon: /* @__PURE__ */ t(e, { fontSize: "small" }),
|
|
8
|
+
slotProps: { clearIndicator: {
|
|
9
|
+
edge: "end",
|
|
10
|
+
size: "small"
|
|
11
|
+
} }
|
|
12
|
+
},
|
|
13
|
+
styleOverrides: {
|
|
14
|
+
paper: ({ theme: e }) => ({
|
|
15
|
+
marginTop: 2,
|
|
16
|
+
border: "1px solid",
|
|
17
|
+
borderColor: (e.vars ?? e).palette.divider
|
|
18
|
+
}),
|
|
19
|
+
popupIndicator: {
|
|
20
|
+
pointerEvents: "none",
|
|
21
|
+
background: "none",
|
|
22
|
+
"&:hover": { background: "none" }
|
|
23
|
+
},
|
|
24
|
+
popupIndicatorOpen: { transform: "none" },
|
|
25
|
+
endAdornment: ({ theme: e }) => ({
|
|
26
|
+
display: "flex",
|
|
27
|
+
alignItems: "center",
|
|
28
|
+
right: e.spacing(1),
|
|
29
|
+
color: "inherit",
|
|
30
|
+
".MuiAutocomplete-inputRoot:has(input:placeholder-shown) &": { color: (e.vars ?? e).palette.text.secondary },
|
|
31
|
+
".Mui-disabled &": { color: (e.vars ?? e).palette.text.disabled }
|
|
32
|
+
}),
|
|
33
|
+
inputRoot: ({ theme: e }) => ({
|
|
34
|
+
"&.MuiOutlinedInput-root": { padding: `${e.spacing(1)} ${e.spacing(1.5)} !important` },
|
|
35
|
+
[`& .${n.endAdornment}`]: { right: `${e.spacing(1)} !important` },
|
|
36
|
+
[`&.${n.hasPopupIcon}, &.${n.hasClearIcon}`]: { paddingRight: `${e.spacing(4.5)} !important` },
|
|
37
|
+
[`&.${n.hasPopupIcon}.${n.hasClearIcon}`]: { paddingRight: `${e.spacing(8)} !important` },
|
|
38
|
+
"& .MuiAutocomplete-input": { padding: 0 }
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { r as MuiAutocomplete };
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Person as t } from "@mui/icons-material";
|
|
3
|
+
//#region lib/theme/components/avatar.tsx
|
|
4
|
+
var n = {
|
|
5
|
+
defaultProps: { children: /* @__PURE__ */ e(t, { sx: { color: "text.primary" } }) },
|
|
6
|
+
styleOverrides: { rounded: ({ theme: e }) => ({ borderRadius: e.radius.lg }) }
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as MuiAvatar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as e } from "../../colors-CNjL5fhq.js";
|
|
2
|
+
import { alpha as t } from "@mui/material/styles";
|
|
3
3
|
//#region lib/theme/components/card.tsx
|
|
4
4
|
var n = { styleOverrides: { root: ({ theme: n }) => ({
|
|
5
5
|
gap: 16,
|
|
@@ -16,7 +16,7 @@ var n = { styleOverrides: { root: ({ theme: n }) => ({
|
|
|
16
16
|
border: `1px solid ${(n.vars ?? n).palette.divider}`,
|
|
17
17
|
boxShadow: "none",
|
|
18
18
|
background: "rgb(255, 255, 255)",
|
|
19
|
-
...n.applyStyles("dark", { background: e
|
|
19
|
+
...n.applyStyles("dark", { background: t(e[900], .4) })
|
|
20
20
|
}
|
|
21
21
|
}]
|
|
22
22
|
}) } };
|
|
@@ -1,2 +1,90 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { r as e } from "../../colors-CNjL5fhq.js";
|
|
2
|
+
import { alpha as t } from "@mui/material/styles";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import r from "@mui/icons-material/CheckBoxOutlineBlankRounded";
|
|
5
|
+
import i from "@mui/icons-material/CheckRounded";
|
|
6
|
+
import a from "@mui/icons-material/RemoveRounded";
|
|
7
|
+
import { checkboxClasses as o } from "@mui/material/Checkbox";
|
|
8
|
+
//#region lib/theme/components/checkbox.tsx
|
|
9
|
+
var s = {
|
|
10
|
+
defaultProps: {
|
|
11
|
+
disableRipple: !0,
|
|
12
|
+
icon: /* @__PURE__ */ n(r, { sx: { color: "hsla(210, 0%, 0%, 0.0)" } }),
|
|
13
|
+
checkedIcon: /* @__PURE__ */ n(i, { sx: {
|
|
14
|
+
height: 14,
|
|
15
|
+
width: 14
|
|
16
|
+
} }),
|
|
17
|
+
indeterminateIcon: /* @__PURE__ */ n(a, { sx: {
|
|
18
|
+
height: 14,
|
|
19
|
+
width: 14
|
|
20
|
+
} })
|
|
21
|
+
},
|
|
22
|
+
styleOverrides: { root: ({ theme: n }) => ({
|
|
23
|
+
margin: 8,
|
|
24
|
+
marginLeft: 0,
|
|
25
|
+
height: 16,
|
|
26
|
+
width: 16,
|
|
27
|
+
borderRadius: n.radius.sm,
|
|
28
|
+
border: "1px solid",
|
|
29
|
+
borderColor: t(e[300], .8),
|
|
30
|
+
boxShadow: "0 0 0 1.5px hsla(210, 0%, 0%, 0.04) inset",
|
|
31
|
+
backgroundColor: t(e[100], .4),
|
|
32
|
+
transition: "border-color, background-color, 120ms ease-in",
|
|
33
|
+
"&:hover": { borderColor: (n.vars ?? n).palette.primary[300] },
|
|
34
|
+
"&.Mui-focusVisible": {
|
|
35
|
+
outline: `3px solid rgba(${(n.vars ?? n).palette.primary.mainChannel} / 0.5)`,
|
|
36
|
+
outlineOffset: "2px",
|
|
37
|
+
borderColor: (n.vars ?? n).palette.primary[400]
|
|
38
|
+
},
|
|
39
|
+
[`&.Mui-checked, &.${o.indeterminate}`]: {
|
|
40
|
+
color: "white",
|
|
41
|
+
backgroundColor: (n.vars ?? n).palette.primary[500],
|
|
42
|
+
borderColor: (n.vars ?? n).palette.primary[500],
|
|
43
|
+
boxShadow: "none",
|
|
44
|
+
"&:hover": { backgroundColor: (n.vars ?? n).palette.primary[600] }
|
|
45
|
+
},
|
|
46
|
+
[`&.${o.disabled}`]: {
|
|
47
|
+
color: (n.vars ?? n).palette.grey[100],
|
|
48
|
+
borderColor: (n.vars ?? n).palette.grey[300],
|
|
49
|
+
backgroundColor: (n.vars ?? n).palette.grey[100],
|
|
50
|
+
boxShadow: "none",
|
|
51
|
+
cursor: "not-allowed",
|
|
52
|
+
"&:hover": {
|
|
53
|
+
borderColor: (n.vars ?? n).palette.grey[300],
|
|
54
|
+
backgroundColor: (n.vars ?? n).palette.grey[100]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
[`&.${o.checked}.${o.disabled}, &.${o.indeterminate}.${o.disabled}`]: {
|
|
58
|
+
color: (n.vars ?? n).palette.grey[100],
|
|
59
|
+
borderColor: (n.vars ?? n).palette.grey[300],
|
|
60
|
+
backgroundColor: (n.vars ?? n).palette.grey[300]
|
|
61
|
+
},
|
|
62
|
+
...n.applyStyles("dark", {
|
|
63
|
+
borderColor: t(e[700], .8),
|
|
64
|
+
boxShadow: "0 0 0 1.5px hsl(210, 0%, 0%) inset",
|
|
65
|
+
backgroundColor: t(e[900], .8),
|
|
66
|
+
"&:hover": { borderColor: (n.vars ?? n).palette.primary[300] },
|
|
67
|
+
"&.Mui-focusVisible": {
|
|
68
|
+
borderColor: (n.vars ?? n).palette.primary[400],
|
|
69
|
+
outline: `3px solid rgba(${(n.vars ?? n).palette.primary.mainChannel} / 0.5)`,
|
|
70
|
+
outlineOffset: "2px"
|
|
71
|
+
},
|
|
72
|
+
[`&.${o.disabled}`]: {
|
|
73
|
+
color: (n.vars ?? n).palette.grey[700],
|
|
74
|
+
borderColor: (n.vars ?? n).palette.grey[600],
|
|
75
|
+
backgroundColor: (n.vars ?? n).palette.grey[700],
|
|
76
|
+
"&:hover": {
|
|
77
|
+
borderColor: (n.vars ?? n).palette.grey[600],
|
|
78
|
+
backgroundColor: (n.vars ?? n).palette.grey[700]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
[`&.${o.checked}.${o.disabled}, &.${o.indeterminate}.${o.disabled}`]: {
|
|
82
|
+
color: (n.vars ?? n).palette.grey[700],
|
|
83
|
+
borderColor: (n.vars ?? n).palette.grey[600],
|
|
84
|
+
backgroundColor: (n.vars ?? n).palette.grey[600]
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
}) }
|
|
88
|
+
};
|
|
89
|
+
//#endregion
|
|
90
|
+
export { s as MuiCheckbox };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { actionHoverMedia as e, getFocusVisibleStyle as t, getSemanticActionTokens as n, isSemanticActionColor as r } from "./action-styles.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { Close as a } from "@mui/icons-material";
|
|
4
4
|
import { chipClasses as o } from "@mui/material";
|
|
5
5
|
//#region lib/theme/components/chip.tsx
|
|
6
6
|
var s = (e, t) => {
|
|
@@ -80,7 +80,7 @@ var s = (e, t) => {
|
|
|
80
80
|
defaultProps: {
|
|
81
81
|
variant: "filled",
|
|
82
82
|
size: "small",
|
|
83
|
-
deleteIcon: /* @__PURE__ */ a
|
|
83
|
+
deleteIcon: /* @__PURE__ */ i(a, {})
|
|
84
84
|
},
|
|
85
85
|
styleOverrides: { root: ({ theme: e }) => ({
|
|
86
86
|
border: "1px solid",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MuiYearCalendar as e } from "./year-calendar.js";
|
|
2
2
|
import { MuiTooltip as t } from "./tooltip.js";
|
|
3
|
-
import {
|
|
3
|
+
import { MuiToggleButton as n } from "./toggle-button.js";
|
|
4
4
|
import { MuiToggleButtonGroup as r } from "./toggle-button-group.js";
|
|
5
5
|
import { MuiTabs as i } from "./tabs.js";
|
|
6
6
|
import { MuiTablePagination as a } from "./table-pagination.js";
|
|
@@ -55,16 +55,16 @@ import { MuiAccordionDetails as $ } from "./accordion-details.js";
|
|
|
55
55
|
import { MuiAccordionSummary as ee } from "./accordion-summary.js";
|
|
56
56
|
import { MuiAlert as te } from "./alert.js";
|
|
57
57
|
import { MuiAppBar as ne } from "./app-bar.js";
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
58
|
+
import { MuiAutocomplete as re } from "./autocomplete.js";
|
|
59
|
+
import { MuiAvatar as ie } from "./avatar.js";
|
|
60
|
+
import { MuiBackdrop as ae } from "./backdrop.js";
|
|
61
|
+
import { MuiButton as oe } from "./button.js";
|
|
62
|
+
import { MuiButtonBase as se } from "./button-base.js";
|
|
63
|
+
import { MuiCard as ce } from "./card.js";
|
|
64
|
+
import { MuiCardActions as le } from "./card-actions.js";
|
|
65
|
+
import { MuiCardContent as ue } from "./card-content.js";
|
|
66
|
+
import { MuiCardHeader as de } from "./card-header.js";
|
|
67
|
+
import { MuiCheckbox as fe } from "./checkbox.js";
|
|
68
68
|
import { MuiChip as pe } from "./chip.js";
|
|
69
69
|
//#region lib/theme/components/components.ts
|
|
70
70
|
var me = {
|
|
@@ -74,15 +74,15 @@ var me = {
|
|
|
74
74
|
MuiAlert: te,
|
|
75
75
|
MuiAppBar: ne,
|
|
76
76
|
MuiAutocomplete: re,
|
|
77
|
-
MuiAvatar:
|
|
78
|
-
MuiBackdrop:
|
|
79
|
-
MuiButton:
|
|
80
|
-
MuiButtonBase:
|
|
81
|
-
MuiCard:
|
|
82
|
-
MuiCardActions:
|
|
83
|
-
MuiCardContent:
|
|
84
|
-
MuiCardHeader:
|
|
85
|
-
MuiCheckbox:
|
|
77
|
+
MuiAvatar: ie,
|
|
78
|
+
MuiBackdrop: ae,
|
|
79
|
+
MuiButton: oe,
|
|
80
|
+
MuiButtonBase: se,
|
|
81
|
+
MuiCard: ce,
|
|
82
|
+
MuiCardActions: le,
|
|
83
|
+
MuiCardContent: ue,
|
|
84
|
+
MuiCardHeader: de,
|
|
85
|
+
MuiCheckbox: fe,
|
|
86
86
|
MuiChip: pe,
|
|
87
87
|
MuiContainer: Z,
|
|
88
88
|
MuiCssBaseline: X,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region lib/theme/components/drawer.tsx
|
|
2
2
|
var e = { styleOverrides: { paper: ({ theme: e }) => ({
|
|
3
|
-
backgroundColor: (e.vars ?? e).palette.background.
|
|
3
|
+
backgroundColor: (e.vars ?? e).palette.background.default,
|
|
4
4
|
backgroundImage: "none"
|
|
5
5
|
}) } };
|
|
6
6
|
//#endregion
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { inputClasses as e } from "@mui/material/Input";
|
|
2
|
+
import { inputLabelClasses as t } from "@mui/material/InputLabel";
|
|
3
|
+
//#region lib/theme/components/field-label-styles.ts
|
|
4
|
+
var n = {
|
|
5
|
+
[`& .${t.root}`]: {
|
|
6
|
+
maxWidth: "100%",
|
|
7
|
+
pointerEvents: "auto",
|
|
8
|
+
position: "static",
|
|
9
|
+
transform: "none",
|
|
10
|
+
transformOrigin: "initial"
|
|
11
|
+
},
|
|
12
|
+
[`& .${t.shrink}`]: {
|
|
13
|
+
maxWidth: "100%",
|
|
14
|
+
transform: "none"
|
|
15
|
+
},
|
|
16
|
+
[`& .${t.root} + .${e.root}`]: { marginTop: 0 }
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { n as staticFieldLabelStyles };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { formLabelClasses as e } from "@mui/material/FormLabel";
|
|
2
2
|
//#region lib/theme/components/form-label.tsx
|
|
3
3
|
var t = { styleOverrides: { root: ({ theme: t }) => ({
|
|
4
4
|
color: (t.vars ?? t).palette.text.primary,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { actionHoverMedia as e, getFocusVisibleStyle as t } from "./action-styles.js";
|
|
2
|
-
import { n } from "
|
|
2
|
+
import { svgIconClasses as n } from "@mui/material/SvgIcon";
|
|
3
3
|
//#region lib/theme/components/list-item-button.tsx
|
|
4
4
|
var r = (r) => ({
|
|
5
5
|
alignItems: "center",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n } from "
|
|
4
|
-
import {
|
|
1
|
+
import { listItemButtonStyles as e } from "./list-item-button.js";
|
|
2
|
+
import { buttonBaseClasses as t } from "@mui/material/ButtonBase";
|
|
3
|
+
import { svgIconClasses as n } from "@mui/material/SvgIcon";
|
|
4
|
+
import { typographyClasses as r } from "@mui/material/Typography";
|
|
5
5
|
//#region lib/theme/components/list-item.tsx
|
|
6
6
|
var i = { styleOverrides: { root: ({ theme: i }) => ({
|
|
7
|
-
[`& .${
|
|
8
|
-
[`& .${
|
|
9
|
-
[`& .${
|
|
7
|
+
[`& .${n.root}`]: { color: (i.vars ?? i).palette.text.secondary },
|
|
8
|
+
[`& .${r.root}`]: { fontWeight: 500 },
|
|
9
|
+
[`& .${t.root}`]: e(i)
|
|
10
10
|
}) } };
|
|
11
11
|
//#endregion
|
|
12
12
|
export { i as MuiListItem };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { actionHoverMedia as e, getFocusVisibleStyle as t, getSelectedActionStyle as n } from "./action-styles.js";
|
|
2
|
+
import { styled as r } from "@mui/material/styles";
|
|
3
|
+
import i from "@mui/material/ButtonBase";
|
|
4
|
+
import "@mui/x-date-pickers/themeAugmentation";
|
|
5
|
+
import { monthCalendarClasses as a } from "@mui/x-date-pickers/MonthCalendar";
|
|
5
6
|
var o = {
|
|
6
7
|
defaultProps: {
|
|
7
8
|
monthsPerRow: 4,
|
|
8
|
-
slots: { monthButton:
|
|
9
|
+
slots: { monthButton: r(i, {
|
|
9
10
|
name: "MuiMonthCalendar",
|
|
10
11
|
slot: "Button"
|
|
11
12
|
})(({ theme: e }) => ({
|
|
@@ -24,14 +25,14 @@ var o = {
|
|
|
24
25
|
paddingTop: 0,
|
|
25
26
|
paddingBottom: 0
|
|
26
27
|
}),
|
|
27
|
-
button: ({ theme:
|
|
28
|
-
height:
|
|
29
|
-
width: `calc((100% - ${
|
|
30
|
-
borderRadius: (
|
|
31
|
-
[
|
|
32
|
-
"&.Mui-focusVisible": r
|
|
33
|
-
"&.Mui-disabled": { color: (
|
|
34
|
-
[`&.${a.selected}`]: { ...
|
|
28
|
+
button: ({ theme: r }) => ({
|
|
29
|
+
height: r.spacing(4),
|
|
30
|
+
width: `calc((100% - ${r.spacing(3)}) / 4)`,
|
|
31
|
+
borderRadius: (r.vars ?? r).shape.borderRadius,
|
|
32
|
+
[e]: { "&:hover": { backgroundColor: (r.vars ?? r).palette.action.hover } },
|
|
33
|
+
"&.Mui-focusVisible": t(r),
|
|
34
|
+
"&.Mui-disabled": { color: (r.vars ?? r).palette.action.disabled },
|
|
35
|
+
[`&.${a.selected}`]: { ...n(r, "primary") }
|
|
35
36
|
})
|
|
36
37
|
}
|
|
37
38
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { actionHoverMedia as e, getFocusVisibleStyle as t, getSelectedActionStyle as n } from "./action-styles.js";
|
|
2
|
+
import "@mui/x-date-pickers/themeAugmentation";
|
|
2
3
|
//#region lib/theme/components/multi-section-digital-clock-section.tsx
|
|
3
4
|
var r = { styleOverrides: {
|
|
4
5
|
root: ({ theme: e }) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { inputAdornmentClasses as e } from "@mui/material/InputAdornment";
|
|
2
|
+
import { outlinedInputClasses as t } from "@mui/material/OutlinedInput";
|
|
3
3
|
//#region lib/theme/components/outlined-input.tsx
|
|
4
4
|
var n = { styleOverrides: {
|
|
5
5
|
input: ({ theme: e }) => ({
|
|
@@ -30,16 +30,16 @@ var n = { styleOverrides: {
|
|
|
30
30
|
"&:hover": { borderColor: (n.vars ?? n).palette.grey[500] },
|
|
31
31
|
"&:not(.MuiInputBase-sizeSmall)": { minHeight: n.spacing(5) },
|
|
32
32
|
"&.MuiInputBase-sizeSmall": { height: n.spacing(4.5) },
|
|
33
|
-
[`&:has(input:placeholder-shown) .${
|
|
34
|
-
[`&.${
|
|
33
|
+
[`&:has(input:placeholder-shown) .${e.root}`]: { color: (n.vars ?? n).palette.text.secondary },
|
|
34
|
+
[`&.${t.focused}`]: {
|
|
35
35
|
outline: `3px solid rgba(${(n.vars ?? n).palette.primary.mainChannel} / 0.5)`,
|
|
36
36
|
borderColor: (n.vars ?? n).palette.primary[400]
|
|
37
37
|
},
|
|
38
|
-
[`&.${
|
|
38
|
+
[`&.${t.error}:not(.${t.disabled})`]: {
|
|
39
39
|
borderColor: (n.vars ?? n).palette.error.main,
|
|
40
40
|
"&:hover": { borderColor: (n.vars ?? n).palette.error.main }
|
|
41
41
|
},
|
|
42
|
-
[`&.${
|
|
42
|
+
[`&.${t.error}.${t.focused}`]: {
|
|
43
43
|
outline: `3px solid rgba(${(n.vars ?? n).palette.error.mainChannel} / 0.5)`,
|
|
44
44
|
borderColor: (n.vars ?? n).palette.error.main
|
|
45
45
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { actionHoverMedia as e, getFocusVisibleStyle as t, getSelectedActionStyle as n } from "./action-styles.js";
|
|
2
|
+
import "@mui/x-date-pickers/themeAugmentation";
|
|
2
3
|
//#region lib/theme/components/picker-day.tsx
|
|
3
4
|
var r = { styleOverrides: { root: ({ theme: r }) => ({
|
|
4
5
|
fontSize: r.typography.subtitle1.fontSize,
|