@solostylist/ui-kit 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{gradients-90SYkAC0.js → gradients-DSnBONEQ.js} +1 -1
- package/dist/main.js +1 -1
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-Dw3PEYF5.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-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 +184 -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-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-icon-button/s-icon-button.js +15 -16
- 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-label/s-label.js +26 -27
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.js +150 -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-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +12 -2
- package/dist/s-nav-item/s-nav-item.js +16 -16
- package/dist/s-nav-items/index.js +2 -2
- package/dist/s-nav-items/s-nav-items.js +167 -2
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +5 -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-quantity-input/index.js +1 -1
- package/dist/s-quantity-input/s-quantity-input.js +246 -2
- 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-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 +16 -17
- 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-stripe/s-stripe.js +11 -12
- package/dist/s-stripe/stripe-input.js +3 -2
- 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 +216 -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/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-Dt_DT9b5.js → theme-primitives-CRfnMsNy.js} +108 -109
- package/dist/utils/dayjs.js +9 -146
- package/package.json +1 -1
- package/dist/Add-COc9VdNg.js +0 -6
- package/dist/ArrowUpward-D88i2k4q.js +0 -6
- package/dist/Box-9oeZgA1U.js +0 -46
- package/dist/Button-DgIFcM44.js +0 -534
- package/dist/ButtonBase-DxKtpFYs.js +0 -747
- package/dist/Checkbox-BoZu9z2l.js +0 -152
- package/dist/ChevronRight-BxsM4W78.js +0 -6
- package/dist/Close-o4HFfK0I.js +0 -6
- package/dist/Collapse-zgIFP5Sj.js +0 -266
- package/dist/ContentCopy-5unyTYXy.js +0 -6
- package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
- package/dist/DialogContent-CAry6lVf.js +0 -450
- package/dist/Download-DtvoRwpl.js +0 -6
- package/dist/ExpandMore-Ba5bg6s-.js +0 -6
- package/dist/Favorite-B_GsElm0.js +0 -6
- package/dist/FormControl-BxmM9UP6.js +0 -221
- package/dist/FormControlLabel-DzgppcC_.js +0 -173
- package/dist/Grow-zRRuwUl-.js +0 -121
- package/dist/InfoOutlined-VC7X46pc.js +0 -6
- package/dist/List-CnGIAXAS.js +0 -103
- package/dist/ListContext-B1HQt3OD.js +0 -6
- package/dist/Menu-C4Zabc9U.js +0 -504
- package/dist/MenuItem-rXJfQzDC.js +0 -223
- package/dist/MenuList-DDV8J-yd.js +0 -407
- package/dist/Modal-jAiibALV.js +0 -707
- package/dist/Paper-ixxCeml9.js +0 -115
- package/dist/Popper-CVYyMS3c.js +0 -1350
- package/dist/Portal-AnyvFRC4.js +0 -53
- package/dist/RtlProvider-B7uVJXUY.js +0 -19
- package/dist/Skeleton-iZFynl7z.js +0 -220
- package/dist/Stack-UMc4dV4G.js +0 -158
- package/dist/SwitchBase-D7zqrstO.js +0 -198
- package/dist/Tooltip-DbCd6rgF.js +0 -447
- package/dist/Typography-yXjc7kVP.js +0 -168
- package/dist/UnfoldMoreRounded-DsN0HVDV.js +0 -6
- package/dist/appendOwnerState-CELpvdMz.js +0 -17
- package/dist/assets/stripe-input.css +0 -1
- package/dist/autocomplete-B_4y84Ba.js +0 -43
- package/dist/avatar-BHuZu3DN.js +0 -10
- package/dist/buttonBaseClasses-BvBqFLb_.js +0 -13
- package/dist/capitalize-CccCFNpQ.js +0 -5
- package/dist/checkbox-BKMZEVU5.js +0 -88
- package/dist/checkboxClasses-CEsqS4sc.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-WOhYaq1E.js +0 -16
- package/dist/createSimplePaletteValueFilter-C1gWywW_.js +0 -14
- package/dist/createSvgIcon-B0SZlJF1.js +0 -155
- package/dist/createTheme-xB2Em0Na.js +0 -1869
- package/dist/defaultTheme-BaGcIzCh.js +0 -210
- package/dist/elementAcceptingRef-DhkNAkFH.js +0 -472
- package/dist/exactProp-C_IsucXf.js +0 -13
- package/dist/field-label-styles-BOyhp6gw.js +0 -50
- package/dist/formLabelClasses-B0Fa-86T.js +0 -18
- package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
- package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
- package/dist/iconButtonClasses-CkciZuIe.js +0 -27
- package/dist/inputAdornmentClasses-D5yYK5bM.js +0 -19
- package/dist/inputBaseClasses-DuWQGq8Z.js +0 -25
- package/dist/integerPropType-Disnft4a.js +0 -27
- package/dist/isEventHandler-8dPdzK9U.js +0 -7
- package/dist/isFocusVisible-Y7157FQS.js +0 -35
- package/dist/isLayoutSupported-Ceir7nyK.js +0 -21
- package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
- package/dist/memoTheme-qFyKAk7y.js +0 -15
- package/dist/mergeSlotProps-xl1-PgWL.js +0 -45
- package/dist/monthCalendarClasses-BYVHyEfI.js +0 -14
- package/dist/objectWithoutPropertiesLoose-Cpds-4w8.js +0 -23
- package/dist/outlinedInputClasses-DECY98u0.js +0 -17
- package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +0 -12
- package/dist/prop-types-BzYPyWN7.js +0 -516
- package/dist/resolveProps-7jIA45vn.js +0 -30
- package/dist/s-accordion-B8nlrdFc.js +0 -487
- package/dist/s-carousel-Dnjke4JQ.js +0 -1353
- package/dist/s-chat-input-DCS0mJE4.js +0 -419
- package/dist/s-chat-message-9oollJJq.js +0 -315
- package/dist/s-chips-WqGdqHW9.js +0 -176
- package/dist/s-code-block-DzGoGg5e.js +0 -658
- package/dist/s-comment-message-C6kfgRjv.js +0 -191
- package/dist/s-data-table-B1TGVupB.js +0 -805
- package/dist/s-date-picker-BpX4HmBp.js +0 -656
- package/dist/s-datetime-picker-ByzW44E0.js +0 -3878
- package/dist/s-dialog-BLiyjLkx.js +0 -123
- package/dist/s-file-dropzone-CVQpYRdY.js +0 -422
- package/dist/s-image-viewer-DNIEYdtL.js +0 -269
- package/dist/s-language-switcher-D-1nywT3.js +0 -251
- package/dist/s-link-CAMTGfd9.js +0 -234
- package/dist/s-localization-provider-Xw3NO2uP.js +0 -519
- package/dist/s-nav-items-BUp7DddG.js +0 -327
- package/dist/s-no-ssr-D8tPdDfh.js +0 -25
- package/dist/s-pagination-Dt8Pk5Tp.js +0 -606
- package/dist/s-quantity-input-mYCixlJc.js +0 -246
- package/dist/s-review-DSXXtWlL.js +0 -272
- package/dist/s-select-dwY2DYa9.js +0 -204
- package/dist/s-snackbar-message-3Z6VySlB.js +0 -808
- package/dist/s-switch-B8bZAzLh.js +0 -307
- package/dist/s-text-editor-toolbar-D-XgFQix.js +0 -2121
- package/dist/s-text-field-BM4qk0mf.js +0 -51
- package/dist/s-theme-switch-BLMz1_m2.js +0 -60
- package/dist/s-tip-ty41ePQm.js +0 -62
- package/dist/selectClasses-DoUlWfzV.js +0 -22
- package/dist/styled-Bog8QCl3.js +0 -163
- package/dist/svgIconClasses-C8D4AsMj.js +0 -20
- package/dist/switchClasses-eiq1bkQN.js +0 -23
- package/dist/theme-demo-components-section-gtIYRngY.js +0 -267
- package/dist/toggle-button-Cxi5CfXC.js +0 -104
- package/dist/tool-bar-action-buttons-Dt-pV3GA.js +0 -54
- package/dist/tool-bar-image-input-BXlll_hV.js +0 -148
- package/dist/typographyClasses-BLM3NmYd.js +0 -31
- package/dist/useControlled-BeB0W_Ui.js +0 -5
- package/dist/useControlled-C4QJnpiR.js +0 -29
- package/dist/useEnhancedEffect-Bc3gBClC.js +0 -5
- package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
- package/dist/useEventCallback-CVqMfiG_.js +0 -14
- package/dist/useForkRef-CKneCEtr.js +0 -29
- package/dist/useFormControl-iWLrn7Ek.js +0 -18
- package/dist/useMobilePicker-C4UQFvkj.js +0 -7580
- package/dist/useSlot-iIu8ek6E.js +0 -83
- package/dist/useTheme-BIWMbX3i.js +0 -9
- package/dist/useThemeProps-BI9yq95N.js +0 -19
- package/dist/useThemeProps-Cr28OQu3.js +0 -13
- package/dist/utils-oJyTAkZY.js +0 -214
- package/dist/warning-CNkSZkq6.js +0 -98
- package/dist/yearCalendarClasses-CuAQumpz.js +0 -14
- /package/dist/{colors-DKqWMRgW.js → colors-CNjL5fhq.js} +0 -0
- /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-CErW9Slg.js} +0 -0
- /package/dist/{utils-DaSrTYUS.js → utils-CMeAWSRO.js} +0 -0
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./chunk-C_CI6nMA.js";
|
|
2
|
-
import { t } from "./prop-types-BzYPyWN7.js";
|
|
3
|
-
import { r as n, t as r } from "./DefaultPropsProvider-ebWx4_5E.js";
|
|
4
|
-
import { t as i } from "./clsx-DGZSe4Nt.js";
|
|
5
|
-
import { t as a } from "./styled-Bog8QCl3.js";
|
|
6
|
-
import { t as o } from "./Stack-UMc4dV4G.js";
|
|
7
|
-
import { r as s } from "./elementAcceptingRef-DhkNAkFH.js";
|
|
8
|
-
import { t as c } from "./useThemeProps-Cr28OQu3.js";
|
|
9
|
-
import { t as l } from "./appendOwnerState-CELpvdMz.js";
|
|
10
|
-
import { t as u } from "./mergeSlotProps-xl1-PgWL.js";
|
|
11
|
-
import { t as d } from "./Typography-yXjc7kVP.js";
|
|
12
|
-
import { t as f } from "./Close-o4HFfK0I.js";
|
|
13
|
-
import { a as p, i as m, n as h, r as g, t as _ } from "./DialogContent-CAry6lVf.js";
|
|
14
|
-
import * as v from "react";
|
|
15
|
-
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
16
|
-
//#region ../../node_modules/@mui/material/DialogTitle/DialogTitle.mjs
|
|
17
|
-
var x = /* @__PURE__ */ e(t(), 1), S = (e) => {
|
|
18
|
-
let { classes: t } = e;
|
|
19
|
-
return n({ root: ["root"] }, h, t);
|
|
20
|
-
}, C = a(d, {
|
|
21
|
-
name: "MuiDialogTitle",
|
|
22
|
-
slot: "Root"
|
|
23
|
-
})({
|
|
24
|
-
padding: "16px 24px",
|
|
25
|
-
flex: "0 0 auto"
|
|
26
|
-
}), w = /* @__PURE__ */ v.forwardRef(function(e, t) {
|
|
27
|
-
let n = r({
|
|
28
|
-
props: e,
|
|
29
|
-
name: "MuiDialogTitle"
|
|
30
|
-
}), { className: a, id: o, ...s } = n, c = n, l = S(c), { titleId: u = o } = v.useContext(p);
|
|
31
|
-
return /* @__PURE__ */ y(C, {
|
|
32
|
-
component: "h2",
|
|
33
|
-
className: i(l.root, a),
|
|
34
|
-
ownerState: c,
|
|
35
|
-
ref: t,
|
|
36
|
-
variant: "h6",
|
|
37
|
-
id: o ?? u,
|
|
38
|
-
...s
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
42
|
-
children: x.default.node,
|
|
43
|
-
classes: x.default.object,
|
|
44
|
-
className: x.default.string,
|
|
45
|
-
id: x.default.string,
|
|
46
|
-
sx: x.default.oneOfType([
|
|
47
|
-
x.default.arrayOf(x.default.oneOfType([
|
|
48
|
-
x.default.func,
|
|
49
|
-
x.default.object,
|
|
50
|
-
x.default.bool
|
|
51
|
-
])),
|
|
52
|
-
x.default.func,
|
|
53
|
-
x.default.object
|
|
54
|
-
])
|
|
55
|
-
});
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region lib/s-dialog/s-dialog.tsx
|
|
58
|
-
var T = a(m, {
|
|
59
|
-
name: "SDialog",
|
|
60
|
-
slot: "Root"
|
|
61
|
-
})({});
|
|
62
|
-
function E(e, t) {
|
|
63
|
-
return typeof e == "function" ? e(t) : e;
|
|
64
|
-
}
|
|
65
|
-
var D = v.forwardRef(function(e, t) {
|
|
66
|
-
let n = c({
|
|
67
|
-
props: e,
|
|
68
|
-
name: "SDialog"
|
|
69
|
-
}), { actions: r, "aria-labelledby": i, children: a, closeText: p = "Close dialog", disableTypography: m = !1, fullWidth: h = !0, maxWidth: x = "sm", onCloseButtonClick: S, open: C, showCloseButton: D, slotProps: O, slots: k, title: A, ...ee } = n, j = v.useId(), M = A != null, N = {
|
|
70
|
-
...n,
|
|
71
|
-
hasActions: r != null,
|
|
72
|
-
hasTitle: M
|
|
73
|
-
}, P = D ?? S != null, { actions: F = g, closeButton: I = s, content: L = _, title: R = w, titleContent: z = d, ...B } = k ?? {}, { actions: V, closeButton: H, content: U, title: W, titleContent: G, ...K } = O ?? {}, q = l(k?.actions, E(V, N) ?? {}, N), J = l(k?.closeButton, E(H, N) ?? {}, N), Y = l(k?.content, E(U, N) ?? {}, N), X = l(k?.title, E(W, N) ?? {}, N), Z = l(k?.titleContent, E(G, N) ?? {}, N), Q = u(J, { onClick: S }), $ = X.id ?? (M ? j : void 0), te = i ?? $;
|
|
74
|
-
return /* @__PURE__ */ b(T, {
|
|
75
|
-
...ee,
|
|
76
|
-
ref: t,
|
|
77
|
-
"aria-labelledby": te,
|
|
78
|
-
fullWidth: h,
|
|
79
|
-
maxWidth: x,
|
|
80
|
-
onClose: n.onClose,
|
|
81
|
-
open: C,
|
|
82
|
-
ownerState: N,
|
|
83
|
-
slots: B,
|
|
84
|
-
slotProps: K,
|
|
85
|
-
children: [
|
|
86
|
-
(M || P) && /* @__PURE__ */ y(R, {
|
|
87
|
-
...X,
|
|
88
|
-
id: $,
|
|
89
|
-
children: /* @__PURE__ */ b(o, {
|
|
90
|
-
direction: "row",
|
|
91
|
-
spacing: 3,
|
|
92
|
-
sx: {
|
|
93
|
-
alignItems: "center",
|
|
94
|
-
justifyContent: M ? "space-between" : "flex-end"
|
|
95
|
-
},
|
|
96
|
-
children: [M && typeof A == "string" && !m ? /* @__PURE__ */ y(z, {
|
|
97
|
-
variant: "h5",
|
|
98
|
-
...Z,
|
|
99
|
-
children: A
|
|
100
|
-
}) : M && /* @__PURE__ */ y("div", { children: A }), P && /* @__PURE__ */ y(I, {
|
|
101
|
-
"aria-label": p,
|
|
102
|
-
...Q,
|
|
103
|
-
children: /* @__PURE__ */ y(f, {})
|
|
104
|
-
})]
|
|
105
|
-
})
|
|
106
|
-
}),
|
|
107
|
-
a != null && /* @__PURE__ */ y(L, {
|
|
108
|
-
...Y,
|
|
109
|
-
children: typeof a == "string" ? /* @__PURE__ */ y(d, {
|
|
110
|
-
variant: "body1",
|
|
111
|
-
children: a
|
|
112
|
-
}) : a
|
|
113
|
-
}),
|
|
114
|
-
r != null && /* @__PURE__ */ y(F, {
|
|
115
|
-
...q,
|
|
116
|
-
children: r
|
|
117
|
-
})
|
|
118
|
-
]
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
D.displayName = "SDialog";
|
|
122
|
-
//#endregion
|
|
123
|
-
export { D as t };
|
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./chunk-C_CI6nMA.js";
|
|
2
|
-
import { t } from "./prop-types-BzYPyWN7.js";
|
|
3
|
-
import { r as n, t as r } from "./DefaultPropsProvider-ebWx4_5E.js";
|
|
4
|
-
import { t as i } from "./generateUtilityClass-PAIOm1jC.js";
|
|
5
|
-
import { t as a } from "./clsx-DGZSe4Nt.js";
|
|
6
|
-
import { t as o } from "./Box-9oeZgA1U.js";
|
|
7
|
-
import { t as s } from "./generateUtilityClasses-DvX505Gy.js";
|
|
8
|
-
import { t as c } from "./styled-Bog8QCl3.js";
|
|
9
|
-
import { t as l } from "./Stack-UMc4dV4G.js";
|
|
10
|
-
import { r as u } from "./elementAcceptingRef-DhkNAkFH.js";
|
|
11
|
-
import { t as d } from "./memoTheme-qFyKAk7y.js";
|
|
12
|
-
import { t as f } from "./useThemeProps-Cr28OQu3.js";
|
|
13
|
-
import { t as p } from "./utils-DaSrTYUS.js";
|
|
14
|
-
import { toSxArray as m } from "./utils/sx.js";
|
|
15
|
-
import { t as h } from "./useForkRef-CKneCEtr.js";
|
|
16
|
-
import { t as g } from "./appendOwnerState-CELpvdMz.js";
|
|
17
|
-
import { t as _ } from "./useSlot-iIu8ek6E.js";
|
|
18
|
-
import { t as v } from "./createSvgIcon-B0SZlJF1.js";
|
|
19
|
-
import { t as y } from "./Typography-yXjc7kVP.js";
|
|
20
|
-
import { t as b } from "./Tooltip-DbCd6rgF.js";
|
|
21
|
-
import { SForm as x } from "./s-form/s-form.js";
|
|
22
|
-
import { SFileIcon as S } from "./s-file-icon/s-file-icon.js";
|
|
23
|
-
import { t as C } from "./Button-DgIFcM44.js";
|
|
24
|
-
import * as w from "react";
|
|
25
|
-
import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
26
|
-
import { useDropzone as O } from "react-dropzone";
|
|
27
|
-
//#region ../../node_modules/@mui/icons-material/CloseOutlined.mjs
|
|
28
|
-
var k = /* @__PURE__ */ e(t(), 1), A = v(/* @__PURE__ */ E("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "CloseOutlined"), j = v(/* @__PURE__ */ E("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z" }), "CloudUploadOutlined"), M = v(/* @__PURE__ */ E("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }), "Person");
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region ../../node_modules/@mui/material/Avatar/avatarClasses.mjs
|
|
31
|
-
function N(e) {
|
|
32
|
-
return i("MuiAvatar", e);
|
|
33
|
-
}
|
|
34
|
-
s("MuiAvatar", [
|
|
35
|
-
"root",
|
|
36
|
-
"colorDefault",
|
|
37
|
-
"circular",
|
|
38
|
-
"rounded",
|
|
39
|
-
"square",
|
|
40
|
-
"img",
|
|
41
|
-
"fallback"
|
|
42
|
-
]);
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region ../../node_modules/@mui/material/Avatar/Avatar.mjs
|
|
45
|
-
var P = (e) => {
|
|
46
|
-
let { classes: t, variant: r, colorDefault: i } = e;
|
|
47
|
-
return n({
|
|
48
|
-
root: [
|
|
49
|
-
"root",
|
|
50
|
-
r,
|
|
51
|
-
i && "colorDefault"
|
|
52
|
-
],
|
|
53
|
-
img: ["img"],
|
|
54
|
-
fallback: ["fallback"]
|
|
55
|
-
}, N, t);
|
|
56
|
-
}, F = c("div", {
|
|
57
|
-
name: "MuiAvatar",
|
|
58
|
-
slot: "Root",
|
|
59
|
-
overridesResolver: (e, t) => {
|
|
60
|
-
let { ownerState: n } = e;
|
|
61
|
-
return [
|
|
62
|
-
t.root,
|
|
63
|
-
t[n.variant],
|
|
64
|
-
n.colorDefault && t.colorDefault
|
|
65
|
-
];
|
|
66
|
-
}
|
|
67
|
-
})(d(({ theme: e }) => ({
|
|
68
|
-
position: "relative",
|
|
69
|
-
display: "flex",
|
|
70
|
-
alignItems: "center",
|
|
71
|
-
justifyContent: "center",
|
|
72
|
-
flexShrink: 0,
|
|
73
|
-
width: 40,
|
|
74
|
-
height: 40,
|
|
75
|
-
fontFamily: e.typography.fontFamily,
|
|
76
|
-
fontSize: e.typography.pxToRem(20),
|
|
77
|
-
lineHeight: 1,
|
|
78
|
-
borderRadius: "50%",
|
|
79
|
-
overflow: "hidden",
|
|
80
|
-
userSelect: "none",
|
|
81
|
-
variants: [
|
|
82
|
-
{
|
|
83
|
-
props: { variant: "rounded" },
|
|
84
|
-
style: { borderRadius: (e.vars || e).shape.borderRadius }
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
props: { variant: "square" },
|
|
88
|
-
style: { borderRadius: 0 }
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
props: { colorDefault: !0 },
|
|
92
|
-
style: {
|
|
93
|
-
color: (e.vars || e).palette.background.default,
|
|
94
|
-
"@media (forced-colors: active)": {
|
|
95
|
-
boxSizing: "border-box",
|
|
96
|
-
border: "1px solid ButtonBorder"
|
|
97
|
-
},
|
|
98
|
-
...e.vars ? { backgroundColor: e.vars.palette.Avatar.defaultBg } : {
|
|
99
|
-
backgroundColor: e.palette.grey[400],
|
|
100
|
-
...e.applyStyles("dark", { backgroundColor: e.palette.grey[600] })
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}))), I = c("img", {
|
|
106
|
-
name: "MuiAvatar",
|
|
107
|
-
slot: "Img"
|
|
108
|
-
})({
|
|
109
|
-
width: "100%",
|
|
110
|
-
height: "100%",
|
|
111
|
-
textAlign: "center",
|
|
112
|
-
objectFit: "cover",
|
|
113
|
-
color: "transparent",
|
|
114
|
-
textIndent: 1e4
|
|
115
|
-
}), L = c(M, {
|
|
116
|
-
name: "MuiAvatar",
|
|
117
|
-
slot: "Fallback"
|
|
118
|
-
})({
|
|
119
|
-
width: "75%",
|
|
120
|
-
height: "75%"
|
|
121
|
-
});
|
|
122
|
-
function R(e, t, n, r) {
|
|
123
|
-
let [i, a] = w.useState(!1);
|
|
124
|
-
return w.useEffect(() => {
|
|
125
|
-
if (!e && !t) return;
|
|
126
|
-
a(!1);
|
|
127
|
-
let i = !0, o = new Image();
|
|
128
|
-
return o.onload = () => {
|
|
129
|
-
i && a("loaded");
|
|
130
|
-
}, o.onerror = () => {
|
|
131
|
-
i && a("error");
|
|
132
|
-
}, o.crossOrigin = n, o.referrerPolicy = r, o.src = e, t && (o.srcset = t), () => {
|
|
133
|
-
i = !1;
|
|
134
|
-
};
|
|
135
|
-
}, [
|
|
136
|
-
n,
|
|
137
|
-
r,
|
|
138
|
-
e,
|
|
139
|
-
t
|
|
140
|
-
]), i;
|
|
141
|
-
}
|
|
142
|
-
var z = /* @__PURE__ */ w.forwardRef(function(e, t) {
|
|
143
|
-
let n = r({
|
|
144
|
-
props: e,
|
|
145
|
-
name: "MuiAvatar"
|
|
146
|
-
}), { alt: i, children: o, className: s, component: c = "div", slots: l = {}, slotProps: u = {}, sizes: d, src: f, srcSet: p, variant: m = "circular", ...h } = n, g = null, v = {
|
|
147
|
-
...n,
|
|
148
|
-
component: c,
|
|
149
|
-
variant: m
|
|
150
|
-
}, { crossOrigin: y, referrerPolicy: b } = (typeof u.img == "function" ? u.img(v) : u.img) ?? {}, x = R(f, p, y, b), S = f || p, C = S && x !== "error";
|
|
151
|
-
v.colorDefault = !C, delete v.ownerState;
|
|
152
|
-
let w = P(v), T = {
|
|
153
|
-
slots: l,
|
|
154
|
-
slotProps: u
|
|
155
|
-
}, [D, O] = _("root", {
|
|
156
|
-
ref: t,
|
|
157
|
-
className: a(w.root, s),
|
|
158
|
-
elementType: F,
|
|
159
|
-
externalForwardedProps: {
|
|
160
|
-
...T,
|
|
161
|
-
component: c,
|
|
162
|
-
...h
|
|
163
|
-
},
|
|
164
|
-
ownerState: v
|
|
165
|
-
}), [k, A] = _("img", {
|
|
166
|
-
className: w.img,
|
|
167
|
-
elementType: I,
|
|
168
|
-
externalForwardedProps: T,
|
|
169
|
-
additionalProps: {
|
|
170
|
-
alt: i,
|
|
171
|
-
src: f,
|
|
172
|
-
srcSet: p,
|
|
173
|
-
sizes: d
|
|
174
|
-
},
|
|
175
|
-
ownerState: v
|
|
176
|
-
}), [j, M] = _("fallback", {
|
|
177
|
-
className: w.fallback,
|
|
178
|
-
elementType: L,
|
|
179
|
-
externalForwardedProps: T,
|
|
180
|
-
shouldForwardComponentProp: !0,
|
|
181
|
-
ownerState: v
|
|
182
|
-
});
|
|
183
|
-
return g = C ? /* @__PURE__ */ E(k, { ...A }) : o || o === 0 ? o : S && i ? i[0] : /* @__PURE__ */ E(j, { ...M }), /* @__PURE__ */ E(D, {
|
|
184
|
-
...O,
|
|
185
|
-
children: g
|
|
186
|
-
});
|
|
187
|
-
});
|
|
188
|
-
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
189
|
-
alt: k.default.string,
|
|
190
|
-
children: k.default.node,
|
|
191
|
-
classes: k.default.object,
|
|
192
|
-
className: k.default.string,
|
|
193
|
-
component: k.default.elementType,
|
|
194
|
-
sizes: k.default.string,
|
|
195
|
-
slotProps: k.default.shape({
|
|
196
|
-
fallback: k.default.oneOfType([k.default.func, k.default.object]),
|
|
197
|
-
img: k.default.oneOfType([k.default.func, k.default.object]),
|
|
198
|
-
root: k.default.oneOfType([k.default.func, k.default.object])
|
|
199
|
-
}),
|
|
200
|
-
slots: k.default.shape({
|
|
201
|
-
fallback: k.default.elementType,
|
|
202
|
-
img: k.default.elementType,
|
|
203
|
-
root: k.default.elementType
|
|
204
|
-
}),
|
|
205
|
-
src: k.default.string,
|
|
206
|
-
srcSet: k.default.string,
|
|
207
|
-
sx: k.default.oneOfType([
|
|
208
|
-
k.default.arrayOf(k.default.oneOfType([
|
|
209
|
-
k.default.func,
|
|
210
|
-
k.default.object,
|
|
211
|
-
k.default.bool
|
|
212
|
-
])),
|
|
213
|
-
k.default.func,
|
|
214
|
-
k.default.object
|
|
215
|
-
]),
|
|
216
|
-
variant: k.default.oneOfType([k.default.oneOf([
|
|
217
|
-
"circular",
|
|
218
|
-
"rounded",
|
|
219
|
-
"square"
|
|
220
|
-
]), k.default.string])
|
|
221
|
-
});
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region lib/s-file-dropzone/s-file-dropzone.tsx
|
|
224
|
-
var ee = c(x, {
|
|
225
|
-
name: "SFileDropzone",
|
|
226
|
-
slot: "Root"
|
|
227
|
-
})({}), te = "Click to upload or drag and drop your files here";
|
|
228
|
-
function ne(e) {
|
|
229
|
-
return Object.fromEntries(Object.entries(e).filter(([, e]) => e !== void 0));
|
|
230
|
-
}
|
|
231
|
-
function B(e, t) {
|
|
232
|
-
return typeof e == "function" ? e(t) : e;
|
|
233
|
-
}
|
|
234
|
-
var V = w.forwardRef(function(e, t) {
|
|
235
|
-
let { accept: n, autoFocus: r, defaultFiles: i = [], disabled: a = !1, error: s = !1, files: c, getFilesFromEvent: d, inputRef: _, maxFiles: v, maxSize: x, minSize: k, multiple: M, noClick: N, noDrag: P, noDragEventsBubbling: F, noKeyboard: I, onDragEnter: L, onDragLeave: R, onDragOver: V, onDrop: H, onDropAccepted: re, onDropRejected: ie, onError: ae, onFileDialogCancel: oe, onFileDialogOpen: se, onFilesChange: U, onRemove: ce, onRemoveAll: le, preventDropOnDocument: ue, removeAllText: de = "Remove all", removeText: W = "Remove", showRemoveAll: fe = !1, slotProps: pe, slots: G, uploadText: me = te, useFsAccessApi: he, validator: ge, ..._e } = f({
|
|
236
|
-
props: e,
|
|
237
|
-
name: "SFileDropzone"
|
|
238
|
-
}), [ve, ye] = w.useState(i), K = c !== void 0, q = c ?? ve, J = w.useCallback((e, t) => {
|
|
239
|
-
K || ye(t), U?.(e, t);
|
|
240
|
-
}, [K, U]), { getInputProps: be, getRootProps: xe, inputRef: Se, isDragActive: Y } = O(ne({
|
|
241
|
-
accept: n,
|
|
242
|
-
autoFocus: r,
|
|
243
|
-
disabled: a,
|
|
244
|
-
getFilesFromEvent: d,
|
|
245
|
-
maxFiles: v,
|
|
246
|
-
maxSize: x,
|
|
247
|
-
minSize: k,
|
|
248
|
-
multiple: M,
|
|
249
|
-
noClick: N,
|
|
250
|
-
noDrag: P,
|
|
251
|
-
noDragEventsBubbling: F,
|
|
252
|
-
noKeyboard: I,
|
|
253
|
-
onDragEnter: L,
|
|
254
|
-
onDragLeave: R,
|
|
255
|
-
onDragOver: V,
|
|
256
|
-
onDrop: w.useCallback((e, t, n) => {
|
|
257
|
-
e.length > 0 && J(n, M === !1 || v === 1 ? e : [...q, ...e].slice(0, v && v > 0 ? v : void 0)), H?.(e, t, n);
|
|
258
|
-
}, [
|
|
259
|
-
q,
|
|
260
|
-
v,
|
|
261
|
-
M,
|
|
262
|
-
H,
|
|
263
|
-
J
|
|
264
|
-
]),
|
|
265
|
-
onDropAccepted: re,
|
|
266
|
-
onDropRejected: ie,
|
|
267
|
-
onError: ae,
|
|
268
|
-
onFileDialogCancel: oe,
|
|
269
|
-
onFileDialogOpen: se,
|
|
270
|
-
preventDropOnDocument: ue,
|
|
271
|
-
useFsAccessApi: he,
|
|
272
|
-
validator: ge
|
|
273
|
-
})), Ce = h(_, Se), X = {
|
|
274
|
-
disabled: a,
|
|
275
|
-
dragActive: Y,
|
|
276
|
-
error: s,
|
|
277
|
-
hasFiles: q.length > 0
|
|
278
|
-
}, we = G?.dropzone ?? o, Te = G?.fileList ?? l, { dropzone: Ee, fileList: De, input: Z, removeAllButton: Oe, ...ke } = pe ?? {}, { onClick: Ae, ...Q } = Oe ?? {}, je = B(Ee, X), Me = B(De, X), Ne = g(G?.dropzone, je ?? {}, X), Pe = g(G?.fileList, Me ?? {}, X), { sx: Fe, ...$ } = Ne, { sx: Ie, ...Le } = Pe;
|
|
279
|
-
return /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E(ee, {
|
|
280
|
-
..._e,
|
|
281
|
-
ref: t,
|
|
282
|
-
disabled: a,
|
|
283
|
-
error: s,
|
|
284
|
-
ownerState: X,
|
|
285
|
-
slots: G,
|
|
286
|
-
slotProps: ke,
|
|
287
|
-
children: /* @__PURE__ */ D(we, {
|
|
288
|
-
...xe({
|
|
289
|
-
...$,
|
|
290
|
-
"aria-disabled": a || void 0,
|
|
291
|
-
"aria-invalid": s || void 0,
|
|
292
|
-
role: $.role ?? "button"
|
|
293
|
-
}),
|
|
294
|
-
sx: [(e) => {
|
|
295
|
-
let t = (e.vars ?? e).palette, n = s ? t.error : t.primary;
|
|
296
|
-
return {
|
|
297
|
-
alignItems: "center",
|
|
298
|
-
backgroundColor: a ? t.background.default : void 0,
|
|
299
|
-
border: "1px dashed",
|
|
300
|
-
borderColor: a ? t.divider : s ? t.error.main : t.divider,
|
|
301
|
-
borderRadius: 1,
|
|
302
|
-
cursor: a ? "default" : "pointer",
|
|
303
|
-
display: "flex",
|
|
304
|
-
flexWrap: "wrap",
|
|
305
|
-
justifyContent: "center",
|
|
306
|
-
outline: "none",
|
|
307
|
-
p: 4,
|
|
308
|
-
transition: "border 120ms ease-in, background-color 120ms ease-in, outline 120ms ease-in",
|
|
309
|
-
...Y ? {
|
|
310
|
-
backgroundColor: t.action.selected,
|
|
311
|
-
opacity: .5
|
|
312
|
-
} : {},
|
|
313
|
-
"&:hover": !a && !Y ? {
|
|
314
|
-
backgroundColor: t.action.hover,
|
|
315
|
-
borderColor: s ? t.error.main : t.grey[500]
|
|
316
|
-
} : void 0,
|
|
317
|
-
"&:focus-within": a ? void 0 : {
|
|
318
|
-
borderColor: s ? t.error.main : t.primary[400],
|
|
319
|
-
outline: `3px solid rgba(${n.mainChannel} / 0.5)`
|
|
320
|
-
}
|
|
321
|
-
};
|
|
322
|
-
}, ...m(Fe)],
|
|
323
|
-
children: [/* @__PURE__ */ E("input", {
|
|
324
|
-
...be(Z),
|
|
325
|
-
ref: Ce,
|
|
326
|
-
disabled: a || !!Z?.disabled
|
|
327
|
-
}), /* @__PURE__ */ D(l, {
|
|
328
|
-
direction: "row",
|
|
329
|
-
spacing: 1,
|
|
330
|
-
sx: { alignItems: "center" },
|
|
331
|
-
children: [/* @__PURE__ */ E(z, {
|
|
332
|
-
sx: {
|
|
333
|
-
backgroundColor: "transparent",
|
|
334
|
-
border: "1px dashed",
|
|
335
|
-
borderColor: "divider",
|
|
336
|
-
color: a ? "text.disabled" : "text.secondary"
|
|
337
|
-
},
|
|
338
|
-
children: /* @__PURE__ */ E(j, { fontSize: "small" })
|
|
339
|
-
}), /* @__PURE__ */ E(y, {
|
|
340
|
-
variant: "body2",
|
|
341
|
-
sx: { color: a ? "text.disabled" : "text.secondary" },
|
|
342
|
-
children: me
|
|
343
|
-
})]
|
|
344
|
-
})]
|
|
345
|
-
})
|
|
346
|
-
}), q.length > 0 && /* @__PURE__ */ D(Te, {
|
|
347
|
-
spacing: 1,
|
|
348
|
-
...Le,
|
|
349
|
-
sx: [{
|
|
350
|
-
color: a ? "text.disabled" : void 0,
|
|
351
|
-
mt: 1
|
|
352
|
-
}, ...m(Ie)],
|
|
353
|
-
children: [/* @__PURE__ */ E(l, {
|
|
354
|
-
component: "ul",
|
|
355
|
-
spacing: 1,
|
|
356
|
-
sx: {
|
|
357
|
-
listStyle: "none",
|
|
358
|
-
m: 0,
|
|
359
|
-
p: 0
|
|
360
|
-
},
|
|
361
|
-
children: q.map((e, t) => /* @__PURE__ */ D(l, {
|
|
362
|
-
component: "li",
|
|
363
|
-
direction: "row",
|
|
364
|
-
spacing: 1,
|
|
365
|
-
sx: {
|
|
366
|
-
alignItems: "center",
|
|
367
|
-
border: "1px solid",
|
|
368
|
-
borderColor: "divider",
|
|
369
|
-
borderRadius: 1,
|
|
370
|
-
flex: "1 1 auto",
|
|
371
|
-
p: 1
|
|
372
|
-
},
|
|
373
|
-
children: [
|
|
374
|
-
/* @__PURE__ */ E(S, {
|
|
375
|
-
extension: e.name.split(".").pop(),
|
|
376
|
-
sx: (e) => ({ opacity: a ? (e.vars ?? e).palette.action.disabledOpacity : 1 })
|
|
377
|
-
}),
|
|
378
|
-
/* @__PURE__ */ D(o, {
|
|
379
|
-
sx: { flex: "1 1 auto" },
|
|
380
|
-
children: [/* @__PURE__ */ E(y, {
|
|
381
|
-
variant: "body2",
|
|
382
|
-
children: e.name
|
|
383
|
-
}), /* @__PURE__ */ E(y, {
|
|
384
|
-
variant: "caption",
|
|
385
|
-
children: p(e.size)
|
|
386
|
-
})]
|
|
387
|
-
}),
|
|
388
|
-
/* @__PURE__ */ E(b, {
|
|
389
|
-
title: W,
|
|
390
|
-
children: /* @__PURE__ */ E("span", { children: /* @__PURE__ */ E(u, {
|
|
391
|
-
"aria-label": `${W} ${e.name}`,
|
|
392
|
-
disabled: a,
|
|
393
|
-
onClick: (n) => {
|
|
394
|
-
a || (ce?.(n, e), n.defaultPrevented || J(n, q.filter((e, n) => n !== t)));
|
|
395
|
-
},
|
|
396
|
-
children: /* @__PURE__ */ E(A, {})
|
|
397
|
-
}) })
|
|
398
|
-
})
|
|
399
|
-
]
|
|
400
|
-
}, `${e.name}-${e.size}-${t}`))
|
|
401
|
-
}), fe && /* @__PURE__ */ E(l, {
|
|
402
|
-
direction: "row",
|
|
403
|
-
sx: {
|
|
404
|
-
alignItems: "center",
|
|
405
|
-
justifyContent: "flex-end"
|
|
406
|
-
},
|
|
407
|
-
children: /* @__PURE__ */ E(C, {
|
|
408
|
-
type: "button",
|
|
409
|
-
variant: "text",
|
|
410
|
-
...Q,
|
|
411
|
-
disabled: a || !!Q.disabled,
|
|
412
|
-
onClick: (e) => {
|
|
413
|
-
a || (Ae?.(e), !e.defaultPrevented && (le?.(e), e.defaultPrevented || J(e, [])));
|
|
414
|
-
},
|
|
415
|
-
children: de
|
|
416
|
-
})
|
|
417
|
-
})]
|
|
418
|
-
})] });
|
|
419
|
-
});
|
|
420
|
-
V.displayName = "SFileDropzone";
|
|
421
|
-
//#endregion
|
|
422
|
-
export { V as t };
|