@solostylist/ui-kit 1.0.62 → 1.0.64
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/{Box-59IuS_L5.js → Box-6v9dDzdR.js} +21 -20
- package/dist/{Close-je3Um4HX.js → Close-Cq0bfDqS.js} +1 -1
- package/dist/{HelpOutlineOutlined-KaKitLEg.js → HelpOutlineOutlined-CrsJM_1C.js} +1 -1
- package/dist/{Menu-BryWw38A.js → Menu-C3Ku2lqS.js} +10 -9
- package/dist/{MenuItem-C960l-k0.js → MenuItem-ODcKB-fe.js} +25 -24
- package/dist/{Select-Dn200g2G.js → Select-CukDtghB.js} +24 -23
- package/dist/{Stack-pbzhmSem.js → Stack-DvJ0EY9Z.js} +24 -23
- package/dist/{TransitionGroup-SMeOIin5.js → TransitionGroup-D2o-MIVr.js} +1 -1
- package/dist/{Typography-TjZNaHX9.js → Typography-BnBI5JmA.js} +27 -26
- package/dist/{buttonBaseClasses-CZ6KQy34.js → buttonBaseClasses-jvvoR1a5.js} +2 -2
- package/dist/{chipClasses-C2-PvwSn.js → chipClasses-DCs-mJQc.js} +2 -2
- package/dist/chunk-GIMSRCVW-DUi-T6vz.js +10072 -0
- package/dist/{createSvgIcon-BeTgaSim.js → createSvgIcon-BTLVR-ad.js} +21 -20
- package/dist/createTheme-BlQh0eyI.js +2268 -0
- package/dist/{defaultTheme-kN8jLC95.js → defaultTheme-CkLTWyeE.js} +1 -1
- package/dist/{extendSxProp-BuqOAkIB.js → extendSxProp-B_wB9j9Z.js} +1 -1
- package/dist/{generateUtilityClasses-CTfRViuv.js → generateUtilityClasses-DMkCz287.js} +1 -1
- package/dist/{iconButtonClasses-Bjc802it.js → iconButtonClasses-FfLS-X2M.js} +2 -2
- package/dist/index-5OJKu9qh.js +667 -0
- package/dist/{index-CUjJ3gl6.js → index-Bs0mGmsj.js} +4 -4
- package/dist/main.d.ts +2 -0
- package/dist/main.js +44 -42
- package/dist/{outlinedInputClasses-CBivYvoh.js → outlinedInputClasses-rfxFh721.js} +2 -2
- package/dist/s-copilot-kit-provider/index.d.ts +2 -0
- package/dist/s-copilot-kit-provider/index.js +4 -0
- package/dist/s-copilot-kit-provider/package.json +5 -0
- package/dist/s-copilot-kit-provider/s-copilot-kit-provider.d.ts +7 -0
- package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +9 -0
- package/dist/s-data-table/s-data-table.js +46 -45
- package/dist/s-date-picker/s-date-picker.js +26 -25
- package/dist/s-datetime-picker/s-datetime-picker.js +73 -72
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-form/s-form.js +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +3 -3
- package/dist/s-smart-text-field/s-smart-text-field.d.ts +1 -3
- package/dist/s-smart-text-field/s-smart-text-field.js +9259 -18849
- package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{tabClasses-ENprUfJ-.js → tabClasses-PH6lKUvl.js} +2 -2
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/customizations/data-display.js +7 -7
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +4 -4
- package/dist/theme/customizations/navigation.js +3 -3
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-DiFekpbX.js → typographyClasses-ZiwLh_jE.js} +2 -2
- package/dist/{useMobilePicker-DV2vFPGZ.js → useMobilePicker-BzxyifzK.js} +56 -55
- package/dist/{useSlot-Cciih_p6.js → useSlot-C4SHe-Bx.js} +5 -5
- package/dist/{useTheme-BM5dU4pp.js → useTheme-Bn9C3FUK.js} +1 -1
- package/dist/{useThemeProps-hdzu913B.js → useThemeProps-BUFb1TtB.js} +2 -2
- package/dist/{warning-BeMCQpXj.js → warning-D7W5-6D5.js} +3 -3
- package/package.json +2 -2
- package/dist/createTheme-CozHbEju.js +0 -2932
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { j as p } from "./jsx-runtime-C5mzlN2N.js";
|
|
3
|
-
import { e as f } from "./extendSxProp-
|
|
4
|
-
import { P as e } from "./
|
|
5
|
-
import { d as a } from "./defaultTheme-
|
|
3
|
+
import { e as f } from "./extendSxProp-B_wB9j9Z.js";
|
|
4
|
+
import { P as e } from "./index-5OJKu9qh.js";
|
|
5
|
+
import { d as a } from "./defaultTheme-CkLTWyeE.js";
|
|
6
6
|
import { T as c } from "./identifier-CGgVMHib.js";
|
|
7
|
-
import { u as m } from "./useTheme-
|
|
7
|
+
import { u as m } from "./useTheme-Bn9C3FUK.js";
|
|
8
8
|
import { Global as y } from "@emotion/react";
|
|
9
9
|
function d(o) {
|
|
10
10
|
return o == null || Object.keys(o).length === 0;
|
package/dist/main.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export { default as SForm } from './s-form/index';
|
|
|
50
50
|
export type { SFormProps } from './s-form/index';
|
|
51
51
|
export { default as SSmartTextField } from './s-smart-text-field/index';
|
|
52
52
|
export type { SSmartTextFieldProps } from './s-smart-text-field/index';
|
|
53
|
+
export { default as SCopilotKitProvider } from './s-copilot-kit-provider/index';
|
|
54
|
+
export type { SCopilotKitProviderProps } from './s-copilot-kit-provider/index';
|
|
53
55
|
export { SStripeNumber, SStripeExpiry, SStripeCVC, StripeTextField } from './s-stripe/index';
|
|
54
56
|
export type { StripeTextFieldProps, StripeElement } from './s-stripe/index';
|
|
55
57
|
export { default as SThemeProvider } from './s-theme-provider/index';
|
package/dist/main.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { default as r } from "./s-autocomplete/s-autocomplete.js";
|
|
2
2
|
import { default as a } from "./s-button-link/s-button-link.js";
|
|
3
3
|
import { default as l } from "./s-text-editor/s-text-editor.js";
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as p } from "./s-checkbox/s-checkbox.js";
|
|
5
5
|
import { default as S } from "./s-chips/s-chips.js";
|
|
6
6
|
import { default as d } from "./s-data-table/s-data-table.js";
|
|
7
|
-
import { DialogConfirmProvider as
|
|
7
|
+
import { DialogConfirmProvider as u, default as g, useDialogConfirm as n } from "./s-dialog-confirm/s-dialog-confirm.js";
|
|
8
8
|
import { DialogMessageProvider as D, default as P, useDialogMessage as T } from "./s-dialog-message/s-dialog-message.js";
|
|
9
|
-
import { default as
|
|
9
|
+
import { default as b } from "./s-error/s-error.js";
|
|
10
10
|
import { default as C } from "./s-empty/s-empty.js";
|
|
11
11
|
import { default as M } from "./s-dialog/s-dialog.js";
|
|
12
12
|
import { default as y } from "./s-file-dropzone/s-file-dropzone.js";
|
|
@@ -15,8 +15,8 @@ import { default as z } from "./s-i18n-provider/s-i18n-provider.js";
|
|
|
15
15
|
import { default as G } from "./s-icon-button/s-icon-button.js";
|
|
16
16
|
import { default as j } from "./s-label/s-label.js";
|
|
17
17
|
import { default as A } from "./s-multi-select/s-multi-select.js";
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
18
|
+
import { default as V } from "./s-no-ssr/s-no-ssr.js";
|
|
19
|
+
import { default as H } from "./s-text-field/s-text-field.js";
|
|
20
20
|
import { default as O } from "./s-pagination/s-pagination.js";
|
|
21
21
|
import { default as R } from "./s-select/s-select.js";
|
|
22
22
|
import { default as W } from "./s-skeleton/s-skeleton.js";
|
|
@@ -25,70 +25,72 @@ import { default as _ } from "./s-text-truncation/s-text-truncation.js";
|
|
|
25
25
|
import { default as ee, SnackbarMessageProvider as oe, useSnackbarMessage as re } from "./s-snackbar-message/s-snackbar-message.js";
|
|
26
26
|
import { default as ae } from "./s-form/s-form.js";
|
|
27
27
|
import { SSmartTextField as le } from "./s-smart-text-field/s-smart-text-field.js";
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { default as ge } from "./s-
|
|
31
|
-
import { default as ce } from "./s-
|
|
32
|
-
import { default as Pe } from "./s-
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
28
|
+
import { SCopilotKitProvider as pe } from "./s-copilot-kit-provider/s-copilot-kit-provider.js";
|
|
29
|
+
import { SStripeCVC as Se, SStripeExpiry as xe, SStripeNumber as de, StripeTextField as ie } from "./s-stripe/s-stripe.js";
|
|
30
|
+
import { default as ge } from "./s-theme-provider/s-theme-provider.js";
|
|
31
|
+
import { default as ce } from "./s-datetime-picker/s-datetime-picker.js";
|
|
32
|
+
import { default as Pe } from "./s-date-picker/s-date-picker.js";
|
|
33
|
+
import { default as ve } from "./s-localization-provider/s-localization-provider.js";
|
|
34
|
+
import { default as ke } from "./s-gradient-icon/s-gradient-icon.js";
|
|
35
|
+
import { default as Le } from "./s-glow-button/s-glow-button.js";
|
|
36
|
+
import { useDialog as Fe } from "./hooks/use-dialog.js";
|
|
37
|
+
import { usePopover as Ee } from "./hooks/use-popover.js";
|
|
38
|
+
import { formatDatePosted as he } from "./utils/dayjs.js";
|
|
39
|
+
import { bytesToSize as Be } from "./utils/bytes-to-size.js";
|
|
40
|
+
import { LogLevel as Ne, Logger as je, createLogger as we, logger as Ae } from "./utils/logger.js";
|
|
41
|
+
import { default as Ve } from "dayjs";
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
+
u as DialogConfirmProvider,
|
|
43
44
|
D as DialogMessageProvider,
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
Ne as LogLevel,
|
|
46
|
+
je as Logger,
|
|
46
47
|
r as SAutocomplete,
|
|
47
48
|
a as SButtonLink,
|
|
48
|
-
|
|
49
|
+
p as SCheckbox,
|
|
49
50
|
S as SChips,
|
|
51
|
+
pe as SCopilotKitProvider,
|
|
50
52
|
d as SDataTable,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
Pe as SDatePicker,
|
|
54
|
+
ce as SDateTimePicker,
|
|
53
55
|
M as SDialog,
|
|
54
56
|
g as SDialogConfirm,
|
|
55
57
|
P as SDialogMessage,
|
|
56
58
|
C as SEmpty,
|
|
57
|
-
|
|
59
|
+
b as SError,
|
|
58
60
|
y as SFileDropzone,
|
|
59
61
|
I as SFileIcon,
|
|
60
62
|
ae as SForm,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
Le as SGlowButton,
|
|
64
|
+
ke as SGradientIcon,
|
|
63
65
|
z as SI18nProvider,
|
|
64
66
|
G as SIconButton,
|
|
65
67
|
j as SLabel,
|
|
66
|
-
|
|
68
|
+
ve as SLocalizationProvider,
|
|
67
69
|
A as SMultiSelect,
|
|
68
|
-
|
|
70
|
+
V as SNoSsr,
|
|
69
71
|
O as SPagination,
|
|
70
72
|
R as SSelect,
|
|
71
73
|
W as SSkeleton,
|
|
72
74
|
le as SSmartTextField,
|
|
73
75
|
ee as SSnackbarMessage,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
Se as SStripeCVC,
|
|
77
|
+
xe as SStripeExpiry,
|
|
78
|
+
de as SStripeNumber,
|
|
77
79
|
l as STextEditor,
|
|
78
|
-
|
|
80
|
+
H as STextField,
|
|
79
81
|
_ as STextTruncation,
|
|
80
|
-
|
|
82
|
+
ge as SThemeProvider,
|
|
81
83
|
Y as STip,
|
|
82
84
|
oe as SnackbarMessageProvider,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
ie as StripeTextField,
|
|
86
|
+
Be as bytesToSize,
|
|
87
|
+
we as createLogger,
|
|
88
|
+
Ve as dayjs,
|
|
89
|
+
he as formatDatePosted,
|
|
90
|
+
Ae as logger,
|
|
91
|
+
Fe as useDialog,
|
|
90
92
|
n as useDialogConfirm,
|
|
91
93
|
T as useDialogMessage,
|
|
92
|
-
|
|
94
|
+
Ee as usePopover,
|
|
93
95
|
re as useSnackbarMessage
|
|
94
96
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as n } from "./generateUtilityClasses-
|
|
2
|
-
import { g as e } from "./createTheme-
|
|
1
|
+
import { g as n } from "./generateUtilityClasses-DMkCz287.js";
|
|
2
|
+
import { g as e } from "./createTheme-BlQh0eyI.js";
|
|
3
3
|
function l(t) {
|
|
4
4
|
return e("MuiInputBase", t);
|
|
5
5
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CopilotKitProps } from '@copilotkit/react-core';
|
|
3
|
+
export type SCopilotKitProviderProps = Omit<CopilotKitProps, 'children'> & {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare function SCopilotKitProvider({ children, ...copilotKitProps }: SCopilotKitProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SCopilotKitProvider;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { C as i } from "../chunk-GIMSRCVW-DUi-T6vz.js";
|
|
3
|
+
function e({ children: o, ...t }) {
|
|
4
|
+
return /* @__PURE__ */ r.jsx(i, { ...t, children: o });
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
e as SCopilotKitProvider,
|
|
8
|
+
e as default
|
|
9
|
+
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import * as y from "react";
|
|
3
3
|
import Ce from "../s-empty/s-empty.js";
|
|
4
|
-
import {
|
|
4
|
+
import { P as e } from "../index-5OJKu9qh.js";
|
|
5
5
|
import { c as I } from "../identifier-CGgVMHib.js";
|
|
6
|
-
import { a as S, b as
|
|
7
|
-
import { g as
|
|
6
|
+
import { a as S, b as N, r as se, c as J, u as E, m as W } from "../createSvgIcon-BTLVR-ad.js";
|
|
7
|
+
import { g as $, c as j, a as M, n as Te, o as ke } from "../createTheme-BlQh0eyI.js";
|
|
8
|
+
import { g as B } from "../generateUtilityClasses-DMkCz287.js";
|
|
8
9
|
import { u as je, a as Oe } from "../useFormControl-B3RPiDsz.js";
|
|
9
|
-
import { b as A, B as Re, r as we, m as Pe } from "../useSlot-
|
|
10
|
+
import { b as A, B as Re, r as we, m as Pe } from "../useSlot-C4SHe-Bx.js";
|
|
10
11
|
import { c as Y } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
11
12
|
function Se(o) {
|
|
12
|
-
return
|
|
13
|
+
return $("PrivateSwitchBase", o);
|
|
13
14
|
}
|
|
14
15
|
B("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
15
16
|
const ze = (o) => {
|
|
@@ -22,7 +23,7 @@ const ze = (o) => {
|
|
|
22
23
|
root: ["root", a && "checked", s && "disabled", i && `edge${j(i)}`],
|
|
23
24
|
input: ["input"]
|
|
24
25
|
};
|
|
25
|
-
return
|
|
26
|
+
return N(n, Se, t);
|
|
26
27
|
}, Ne = S(Re)({
|
|
27
28
|
padding: 9,
|
|
28
29
|
borderRadius: "50%",
|
|
@@ -84,11 +85,11 @@ const ze = (o) => {
|
|
|
84
85
|
icon: l,
|
|
85
86
|
id: x,
|
|
86
87
|
inputProps: O,
|
|
87
|
-
inputRef:
|
|
88
|
+
inputRef: m,
|
|
88
89
|
name: C,
|
|
89
90
|
onBlur: c,
|
|
90
91
|
onChange: v,
|
|
91
|
-
onFocus:
|
|
92
|
+
onFocus: h,
|
|
92
93
|
readOnly: T,
|
|
93
94
|
required: f = !1,
|
|
94
95
|
tabIndex: z,
|
|
@@ -103,7 +104,7 @@ const ze = (o) => {
|
|
|
103
104
|
name: "SwitchBase",
|
|
104
105
|
state: "checked"
|
|
105
106
|
}), w = Oe(), fe = (b) => {
|
|
106
|
-
|
|
107
|
+
h && h(b), w && w.onFocus && w.onFocus(b);
|
|
107
108
|
}, be = (b) => {
|
|
108
109
|
c && c(b), w && w.onBlur && w.onBlur(b);
|
|
109
110
|
}, ye = (b) => {
|
|
@@ -126,7 +127,7 @@ const ze = (o) => {
|
|
|
126
127
|
input: O,
|
|
127
128
|
...pe
|
|
128
129
|
}
|
|
129
|
-
}, [
|
|
130
|
+
}, [me, he] = A("root", {
|
|
130
131
|
ref: a,
|
|
131
132
|
elementType: Ne,
|
|
132
133
|
className: Q.root,
|
|
@@ -156,7 +157,7 @@ const ze = (o) => {
|
|
|
156
157
|
tabIndex: null
|
|
157
158
|
}
|
|
158
159
|
}), [xe, ve] = A("input", {
|
|
159
|
-
ref:
|
|
160
|
+
ref: m,
|
|
160
161
|
elementType: $e,
|
|
161
162
|
className: Q.input,
|
|
162
163
|
externalForwardedProps: X,
|
|
@@ -184,8 +185,8 @@ const ze = (o) => {
|
|
|
184
185
|
}
|
|
185
186
|
}
|
|
186
187
|
});
|
|
187
|
-
return /* @__PURE__ */ r.jsxs(
|
|
188
|
-
...
|
|
188
|
+
return /* @__PURE__ */ r.jsxs(me, {
|
|
189
|
+
...he,
|
|
189
190
|
children: [/* @__PURE__ */ r.jsx(xe, {
|
|
190
191
|
...ve
|
|
191
192
|
}), K ? n : l]
|
|
@@ -318,7 +319,7 @@ const Be = J(/* @__PURE__ */ r.jsx("path", {
|
|
|
318
319
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
319
320
|
}), "IndeterminateCheckBox");
|
|
320
321
|
function Ie(o) {
|
|
321
|
-
return
|
|
322
|
+
return $("MuiCheckbox", o);
|
|
322
323
|
}
|
|
323
324
|
const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ee = (o) => {
|
|
324
325
|
const {
|
|
@@ -328,7 +329,7 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
328
329
|
size: i
|
|
329
330
|
} = o, n = {
|
|
330
331
|
root: ["root", a && "indeterminate", `color${j(s)}`, `size${j(i)}`]
|
|
331
|
-
}, p =
|
|
332
|
+
}, p = N(n, Ie, t);
|
|
332
333
|
return {
|
|
333
334
|
...t,
|
|
334
335
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -408,10 +409,10 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
408
409
|
size: l = "medium",
|
|
409
410
|
disableRipple: x = !1,
|
|
410
411
|
className: O,
|
|
411
|
-
slots:
|
|
412
|
+
slots: m = {},
|
|
412
413
|
slotProps: C = {},
|
|
413
414
|
...c
|
|
414
|
-
} = s, v = d ? u : p,
|
|
415
|
+
} = s, v = d ? u : p, h = d ? u : i, T = {
|
|
415
416
|
...s,
|
|
416
417
|
disableRipple: x,
|
|
417
418
|
color: n,
|
|
@@ -423,7 +424,7 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
423
424
|
className: I(f.root, O),
|
|
424
425
|
shouldForwardComponentProp: !0,
|
|
425
426
|
externalForwardedProps: {
|
|
426
|
-
slots:
|
|
427
|
+
slots: m,
|
|
427
428
|
slotProps: C,
|
|
428
429
|
...c
|
|
429
430
|
},
|
|
@@ -433,11 +434,11 @@ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
433
434
|
icon: /* @__PURE__ */ y.cloneElement(v, {
|
|
434
435
|
fontSize: v.props.fontSize ?? l
|
|
435
436
|
}),
|
|
436
|
-
checkedIcon: /* @__PURE__ */ y.cloneElement(
|
|
437
|
-
fontSize:
|
|
437
|
+
checkedIcon: /* @__PURE__ */ y.cloneElement(h, {
|
|
438
|
+
fontSize: h.props.fontSize ?? l
|
|
438
439
|
}),
|
|
439
440
|
disableRipple: x,
|
|
440
|
-
slots:
|
|
441
|
+
slots: m,
|
|
441
442
|
slotProps: {
|
|
442
443
|
input: Pe(typeof z == "function" ? z(T) : z, {
|
|
443
444
|
"data-indeterminate": d
|
|
@@ -567,7 +568,7 @@ process.env.NODE_ENV !== "production" && (q.propTypes = {
|
|
|
567
568
|
const G = /* @__PURE__ */ y.createContext();
|
|
568
569
|
process.env.NODE_ENV !== "production" && (G.displayName = "TableContext");
|
|
569
570
|
function We(o) {
|
|
570
|
-
return
|
|
571
|
+
return $("MuiTable", o);
|
|
571
572
|
}
|
|
572
573
|
B("MuiTable", ["root", "stickyHeader"]);
|
|
573
574
|
const De = (o) => {
|
|
@@ -575,7 +576,7 @@ const De = (o) => {
|
|
|
575
576
|
classes: t,
|
|
576
577
|
stickyHeader: a
|
|
577
578
|
} = o;
|
|
578
|
-
return
|
|
579
|
+
return N({
|
|
579
580
|
root: ["root", a && "stickyHeader"]
|
|
580
581
|
}, We, t);
|
|
581
582
|
}, Le = S("table", {
|
|
@@ -688,14 +689,14 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
|
|
|
688
689
|
const U = /* @__PURE__ */ y.createContext();
|
|
689
690
|
process.env.NODE_ENV !== "production" && (U.displayName = "Tablelvl2Context");
|
|
690
691
|
function Ae(o) {
|
|
691
|
-
return
|
|
692
|
+
return $("MuiTableBody", o);
|
|
692
693
|
}
|
|
693
694
|
B("MuiTableBody", ["root"]);
|
|
694
695
|
const qe = (o) => {
|
|
695
696
|
const {
|
|
696
697
|
classes: t
|
|
697
698
|
} = o;
|
|
698
|
-
return
|
|
699
|
+
return N({
|
|
699
700
|
root: ["root"]
|
|
700
701
|
}, Ae, t);
|
|
701
702
|
}, Je = S("tbody", {
|
|
@@ -757,7 +758,7 @@ process.env.NODE_ENV !== "production" && (ie.propTypes = {
|
|
|
757
758
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
758
759
|
});
|
|
759
760
|
function Ke(o) {
|
|
760
|
-
return
|
|
761
|
+
return $("MuiTableCell", o);
|
|
761
762
|
}
|
|
762
763
|
const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "sizeMedium", "paddingCheckbox", "paddingNone", "alignLeft", "alignCenter", "alignRight", "alignJustify", "stickyHeader"]), Xe = (o) => {
|
|
763
764
|
const {
|
|
@@ -770,7 +771,7 @@ const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
|
|
|
770
771
|
} = o, d = {
|
|
771
772
|
root: ["root", a, p && "stickyHeader", s !== "inherit" && `align${j(s)}`, i !== "normal" && `padding${j(i)}`, `size${j(n)}`]
|
|
772
773
|
};
|
|
773
|
-
return
|
|
774
|
+
return N(d, Ke, t);
|
|
774
775
|
}, Ye = S("td", {
|
|
775
776
|
name: "MuiTableCell",
|
|
776
777
|
slot: "Root",
|
|
@@ -902,19 +903,19 @@ const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
|
|
|
902
903
|
sortDirection: l,
|
|
903
904
|
variant: x,
|
|
904
905
|
...O
|
|
905
|
-
} = s,
|
|
906
|
+
} = s, m = y.useContext(G), C = y.useContext(U), c = C && C.variant === "head";
|
|
906
907
|
let v;
|
|
907
908
|
p ? v = p : v = c ? "th" : "td";
|
|
908
|
-
let
|
|
909
|
-
v === "td" ?
|
|
909
|
+
let h = u;
|
|
910
|
+
v === "td" ? h = void 0 : !h && c && (h = "col");
|
|
910
911
|
const T = x || C && C.variant, f = {
|
|
911
912
|
...s,
|
|
912
913
|
align: i,
|
|
913
914
|
component: v,
|
|
914
|
-
padding: d || (
|
|
915
|
-
size: g || (
|
|
915
|
+
padding: d || (m && m.padding ? m.padding : "normal"),
|
|
916
|
+
size: g || (m && m.size ? m.size : "medium"),
|
|
916
917
|
sortDirection: l,
|
|
917
|
-
stickyHeader: T === "head" &&
|
|
918
|
+
stickyHeader: T === "head" && m && m.stickyHeader,
|
|
918
919
|
variant: T
|
|
919
920
|
}, z = Xe(f);
|
|
920
921
|
let R = null;
|
|
@@ -923,7 +924,7 @@ const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
|
|
|
923
924
|
ref: a,
|
|
924
925
|
className: I(z.root, n),
|
|
925
926
|
"aria-sort": R,
|
|
926
|
-
scope:
|
|
927
|
+
scope: h,
|
|
927
928
|
ownerState: f,
|
|
928
929
|
...O
|
|
929
930
|
});
|
|
@@ -987,14 +988,14 @@ process.env.NODE_ENV !== "production" && (H.propTypes = {
|
|
|
987
988
|
variant: e.oneOfType([e.oneOf(["body", "footer", "head"]), e.string])
|
|
988
989
|
});
|
|
989
990
|
function Ze(o) {
|
|
990
|
-
return
|
|
991
|
+
return $("MuiTableHead", o);
|
|
991
992
|
}
|
|
992
993
|
B("MuiTableHead", ["root"]);
|
|
993
994
|
const eo = (o) => {
|
|
994
995
|
const {
|
|
995
996
|
classes: t
|
|
996
997
|
} = o;
|
|
997
|
-
return
|
|
998
|
+
return N({
|
|
998
999
|
root: ["root"]
|
|
999
1000
|
}, Ze, t);
|
|
1000
1001
|
}, oo = S("thead", {
|
|
@@ -1056,7 +1057,7 @@ process.env.NODE_ENV !== "production" && (le.propTypes = {
|
|
|
1056
1057
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
1057
1058
|
});
|
|
1058
1059
|
function ao(o) {
|
|
1059
|
-
return
|
|
1060
|
+
return $("MuiTableRow", o);
|
|
1060
1061
|
}
|
|
1061
1062
|
const te = B("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), so = (o) => {
|
|
1062
1063
|
const {
|
|
@@ -1066,7 +1067,7 @@ const te = B("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), so
|
|
|
1066
1067
|
head: i,
|
|
1067
1068
|
footer: n
|
|
1068
1069
|
} = o;
|
|
1069
|
-
return
|
|
1070
|
+
return N({
|
|
1070
1071
|
root: ["root", a && "selected", s && "hover", i && "head", n && "footer"]
|
|
1071
1072
|
}, ao, t);
|
|
1072
1073
|
}, no = S("tr", {
|
|
@@ -1159,7 +1160,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
1159
1160
|
*/
|
|
1160
1161
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
1161
1162
|
});
|
|
1162
|
-
function
|
|
1163
|
+
function mo({
|
|
1163
1164
|
columns: o,
|
|
1164
1165
|
hideHead: t,
|
|
1165
1166
|
hover: a,
|
|
@@ -1174,7 +1175,7 @@ function go({
|
|
|
1174
1175
|
uniqueRowId: x,
|
|
1175
1176
|
...O
|
|
1176
1177
|
}) {
|
|
1177
|
-
const
|
|
1178
|
+
const m = ((l == null ? void 0 : l.size) ?? 0) > 0 && ((l == null ? void 0 : l.size) ?? 0) < u.length, C = u.length > 0 && (l == null ? void 0 : l.size) === u.length;
|
|
1178
1179
|
return /* @__PURE__ */ r.jsxs(re, { ...O, sx: { mt: 1 }, children: [
|
|
1179
1180
|
/* @__PURE__ */ r.jsx(
|
|
1180
1181
|
le,
|
|
@@ -1190,7 +1191,7 @@ function go({
|
|
|
1190
1191
|
q,
|
|
1191
1192
|
{
|
|
1192
1193
|
checked: C,
|
|
1193
|
-
indeterminate:
|
|
1194
|
+
indeterminate: m,
|
|
1194
1195
|
onChange: (c) => {
|
|
1195
1196
|
C ? i == null || i(c) : d == null || d(c);
|
|
1196
1197
|
}
|
|
@@ -1215,7 +1216,7 @@ function go({
|
|
|
1215
1216
|
}
|
|
1216
1217
|
),
|
|
1217
1218
|
/* @__PURE__ */ r.jsx(ie, { children: u.length ? u.map((c, v) => {
|
|
1218
|
-
const
|
|
1219
|
+
const h = c.id ? c.id : x == null ? void 0 : x(c), T = h ? l == null ? void 0 : l.has(h) : !1;
|
|
1219
1220
|
return /* @__PURE__ */ r.jsxs(
|
|
1220
1221
|
_,
|
|
1221
1222
|
{
|
|
@@ -1231,7 +1232,7 @@ function go({
|
|
|
1231
1232
|
g ? /* @__PURE__ */ r.jsx(H, { padding: "checkbox", children: /* @__PURE__ */ r.jsx(
|
|
1232
1233
|
q,
|
|
1233
1234
|
{
|
|
1234
|
-
checked:
|
|
1235
|
+
checked: h ? T : !1,
|
|
1235
1236
|
onChange: (f) => {
|
|
1236
1237
|
T ? n == null || n(f, c) : p == null || p(f, c);
|
|
1237
1238
|
},
|
|
@@ -1245,11 +1246,11 @@ function go({
|
|
|
1245
1246
|
)
|
|
1246
1247
|
]
|
|
1247
1248
|
},
|
|
1248
|
-
|
|
1249
|
+
h ?? v
|
|
1249
1250
|
);
|
|
1250
1251
|
}) : /* @__PURE__ */ r.jsx(_, { children: /* @__PURE__ */ r.jsx(H, { align: "center", colSpan: o.length, children: /* @__PURE__ */ r.jsx(Ce, {}) }) }) })
|
|
1251
1252
|
] });
|
|
1252
1253
|
}
|
|
1253
1254
|
export {
|
|
1254
|
-
|
|
1255
|
+
mo as default
|
|
1255
1256
|
};
|
|
@@ -3,22 +3,23 @@ import { TextField as z } from "@mui/material";
|
|
|
3
3
|
import I from "../s-form/s-form.js";
|
|
4
4
|
import { _ as h, a as s } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
|
|
5
5
|
import * as p from "react";
|
|
6
|
-
import {
|
|
7
|
-
import { u as P, a as
|
|
8
|
-
import { u as y } from "../warning-
|
|
9
|
-
import { c as
|
|
10
|
-
import { g as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
6
|
+
import { P as e } from "../index-5OJKu9qh.js";
|
|
7
|
+
import { u as P, a as L, b as Y, c as U, r as T, P as Q, d as q, e as B, f as H, g as $, h as K, i as Z, C as G, j as m, k as M, l as J, v as F, s as N, m as X, D as ee, n as oe } from "../useMobilePicker-BzxyifzK.js";
|
|
8
|
+
import { u as y } from "../warning-D7W5-6D5.js";
|
|
9
|
+
import { c as te } from "../identifier-CGgVMHib.js";
|
|
10
|
+
import { g as ae } from "../createTheme-BlQh0eyI.js";
|
|
11
|
+
import { g as se } from "../generateUtilityClasses-DMkCz287.js";
|
|
12
|
+
import { a as R, b as ne } from "../createSvgIcon-BTLVR-ad.js";
|
|
13
|
+
import { T as re } from "../Typography-BnBI5JmA.js";
|
|
14
|
+
import { r as D, a as C } from "../useSlot-C4SHe-Bx.js";
|
|
14
15
|
function le(l) {
|
|
15
|
-
return
|
|
16
|
+
return ae("MuiDatePickerToolbar", l);
|
|
16
17
|
}
|
|
17
18
|
se("MuiDatePickerToolbar", ["root", "title"]);
|
|
18
19
|
const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce = (l) => ne({
|
|
19
20
|
root: ["root"],
|
|
20
21
|
title: ["title"]
|
|
21
|
-
}, le, l), ue = R(
|
|
22
|
+
}, le, l), ue = R(Q, {
|
|
22
23
|
name: "MuiDatePickerToolbar",
|
|
23
24
|
slot: "Root"
|
|
24
25
|
})({}), de = R(re, {
|
|
@@ -46,7 +47,7 @@ const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce =
|
|
|
46
47
|
value: c,
|
|
47
48
|
views: x,
|
|
48
49
|
orientation: E
|
|
49
|
-
} =
|
|
50
|
+
} = L(), V = Y(), _ = U(), v = ce(f), A = p.useMemo(() => {
|
|
50
51
|
if (!d.isValid(c))
|
|
51
52
|
return a;
|
|
52
53
|
const W = T(d, {
|
|
@@ -58,7 +59,7 @@ const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce =
|
|
|
58
59
|
return /* @__PURE__ */ b.jsx(ue, s({
|
|
59
60
|
ref: t,
|
|
60
61
|
toolbarTitle: V.datePickerToolbarTitle,
|
|
61
|
-
className:
|
|
62
|
+
className: te(v.root, u)
|
|
62
63
|
}, i, {
|
|
63
64
|
children: /* @__PURE__ */ b.jsx(de, {
|
|
64
65
|
variant: "h4",
|
|
@@ -104,7 +105,7 @@ function S(l, n) {
|
|
|
104
105
|
const t = y({
|
|
105
106
|
props: l,
|
|
106
107
|
name: n
|
|
107
|
-
}), r =
|
|
108
|
+
}), r = q(t), o = p.useMemo(() => {
|
|
108
109
|
var a;
|
|
109
110
|
return ((a = t.localeText) == null ? void 0 : a.toolbarTitle) == null ? t.localeText : s({}, t.localeText, {
|
|
110
111
|
datePickerToolbarTitle: t.localeText.toolbarTitle
|
|
@@ -112,7 +113,7 @@ function S(l, n) {
|
|
|
112
113
|
}, [t.localeText]);
|
|
113
114
|
return s({}, t, r, {
|
|
114
115
|
localeText: o
|
|
115
|
-
},
|
|
116
|
+
}, B({
|
|
116
117
|
views: t.views,
|
|
117
118
|
openTo: t.openTo,
|
|
118
119
|
defaultViews: ["year", "day"],
|
|
@@ -124,8 +125,8 @@ function S(l, n) {
|
|
|
124
125
|
});
|
|
125
126
|
}
|
|
126
127
|
const fe = (l) => {
|
|
127
|
-
const n =
|
|
128
|
-
return
|
|
128
|
+
const n = H(l);
|
|
129
|
+
return $({
|
|
129
130
|
manager: n,
|
|
130
131
|
props: l
|
|
131
132
|
});
|
|
@@ -136,16 +137,16 @@ const fe = (l) => {
|
|
|
136
137
|
}), {
|
|
137
138
|
slots: o,
|
|
138
139
|
slotProps: a
|
|
139
|
-
} = r, u = h(r, be), f =
|
|
140
|
+
} = r, u = h(r, be), f = K({
|
|
140
141
|
slotProps: a,
|
|
141
142
|
ref: t,
|
|
142
143
|
externalForwardedProps: u
|
|
143
144
|
}), i = fe(f);
|
|
144
|
-
return /* @__PURE__ */ b.jsx(
|
|
145
|
+
return /* @__PURE__ */ b.jsx(Z, {
|
|
145
146
|
slots: o,
|
|
146
147
|
slotProps: a,
|
|
147
148
|
fieldResponse: i,
|
|
148
|
-
defaultOpenPickerIcon:
|
|
149
|
+
defaultOpenPickerIcon: G
|
|
149
150
|
});
|
|
150
151
|
});
|
|
151
152
|
process.env.NODE_ENV !== "production" && (O.displayName = "DateField");
|
|
@@ -455,7 +456,7 @@ const k = /* @__PURE__ */ p.forwardRef(function(n, t) {
|
|
|
455
456
|
})
|
|
456
457
|
}), {
|
|
457
458
|
renderPicker: f
|
|
458
|
-
} =
|
|
459
|
+
} = J({
|
|
459
460
|
ref: t,
|
|
460
461
|
props: u,
|
|
461
462
|
valueManager: N,
|
|
@@ -803,7 +804,7 @@ const j = /* @__PURE__ */ p.forwardRef(function(n, t) {
|
|
|
803
804
|
})
|
|
804
805
|
}), {
|
|
805
806
|
renderPicker: f
|
|
806
|
-
} =
|
|
807
|
+
} = X({
|
|
807
808
|
ref: t,
|
|
808
809
|
props: u,
|
|
809
810
|
valueManager: N,
|
|
@@ -1133,9 +1134,9 @@ const pe = ["desktopModeMediaQuery"], w = /* @__PURE__ */ p.forwardRef(function(
|
|
|
1133
1134
|
props: n,
|
|
1134
1135
|
name: "MuiDatePicker"
|
|
1135
1136
|
}), {
|
|
1136
|
-
desktopModeMediaQuery: o =
|
|
1137
|
+
desktopModeMediaQuery: o = ee
|
|
1137
1138
|
} = r, a = h(r, pe);
|
|
1138
|
-
return
|
|
1139
|
+
return oe(o, {
|
|
1139
1140
|
defaultMatches: !0
|
|
1140
1141
|
}) ? /* @__PURE__ */ b.jsx(k, s({
|
|
1141
1142
|
ref: t
|
|
@@ -1464,7 +1465,7 @@ process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
|
1464
1465
|
*/
|
|
1465
1466
|
yearsPerRow: e.oneOf([3, 4])
|
|
1466
1467
|
});
|
|
1467
|
-
function
|
|
1468
|
+
function Me({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...a }) {
|
|
1468
1469
|
return /* @__PURE__ */ b.jsx(I, { label: l, required: n, error: t, htmlFor: r, hint: o, children: /* @__PURE__ */ b.jsx(
|
|
1469
1470
|
w,
|
|
1470
1471
|
{
|
|
@@ -1479,5 +1480,5 @@ function ve({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...a })
|
|
|
1479
1480
|
) });
|
|
1480
1481
|
}
|
|
1481
1482
|
export {
|
|
1482
|
-
|
|
1483
|
+
Me as default
|
|
1483
1484
|
};
|