@undefine-ui/design-system 3.6.2 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -0
- package/dist/index.cjs +177 -103
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +177 -103
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,6 +62,7 @@ const ThemeSwitcher = () => {
|
|
|
62
62
|
```tsx
|
|
63
63
|
import {
|
|
64
64
|
CopyButton,
|
|
65
|
+
CustomFormLabel,
|
|
65
66
|
Field,
|
|
66
67
|
Form,
|
|
67
68
|
Icon,
|
|
@@ -813,6 +814,65 @@ import { OTPInput, Field } from '@undefine-ui/design-system';
|
|
|
813
814
|
|
|
814
815
|
The `Field.OTP` component automatically integrates with React Hook Form, providing validation and error handling out of the box.
|
|
815
816
|
|
|
817
|
+
### FormLabel
|
|
818
|
+
|
|
819
|
+
A custom form label component with support for optional text, tooltips, and custom icons. Perfect for creating consistent form field labels across your application.
|
|
820
|
+
|
|
821
|
+
**Usage:**
|
|
822
|
+
|
|
823
|
+
```tsx
|
|
824
|
+
import { CustomFormLabel } from '@undefine-ui/design-system';
|
|
825
|
+
|
|
826
|
+
// Basic label
|
|
827
|
+
<CustomFormLabel label="Email Address" />
|
|
828
|
+
|
|
829
|
+
// Optional field label
|
|
830
|
+
<CustomFormLabel label="Phone Number" optional />
|
|
831
|
+
|
|
832
|
+
// With tooltip
|
|
833
|
+
<CustomFormLabel
|
|
834
|
+
label="API Key"
|
|
835
|
+
tooltip="Your API key can be found in the developer settings."
|
|
836
|
+
/>
|
|
837
|
+
|
|
838
|
+
// Optional with tooltip
|
|
839
|
+
<CustomFormLabel
|
|
840
|
+
label="Company Name"
|
|
841
|
+
optional
|
|
842
|
+
tooltip="Enter your company name if applicable."
|
|
843
|
+
/>
|
|
844
|
+
|
|
845
|
+
// With custom icon
|
|
846
|
+
<CustomFormLabel
|
|
847
|
+
label="Password"
|
|
848
|
+
tooltip="Password must be at least 8 characters long."
|
|
849
|
+
icon={<Icon icon="HelpCircle" sx={{ width: 16, height: 16, color: 'primary.main' }} />}
|
|
850
|
+
/>
|
|
851
|
+
|
|
852
|
+
// Complete form example
|
|
853
|
+
<Box>
|
|
854
|
+
<CustomFormLabel label="Full Name" />
|
|
855
|
+
<TextField fullWidth placeholder="Enter your full name" size="small" />
|
|
856
|
+
</Box>
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
**Props:**
|
|
860
|
+
|
|
861
|
+
- `label` - Label text to display (required)
|
|
862
|
+
- `optional` - Show "(Optional)" text after label (default: `false`)
|
|
863
|
+
- `tooltip` - Tooltip text shown on hover of info icon
|
|
864
|
+
- `icon` - Custom icon for tooltip (default: `InfoCircle` icon)
|
|
865
|
+
- `sx` - MUI sx prop for styling
|
|
866
|
+
- All MUI `FormLabelProps` are supported (except `children`)
|
|
867
|
+
|
|
868
|
+
**Features:**
|
|
869
|
+
|
|
870
|
+
- **Optional indicator:** Shows "(Optional)" text for non-required fields
|
|
871
|
+
- **Tooltip support:** Info icon with tooltip for additional context
|
|
872
|
+
- **Custom icons:** Replace default info icon with custom icons
|
|
873
|
+
- **Flexible styling:** Supports all MUI FormLabel props and sx styling
|
|
874
|
+
- **Theme integration:** Uses theme variables for consistent styling
|
|
875
|
+
|
|
816
876
|
### Dialog
|
|
817
877
|
|
|
818
878
|
Custom dialog components with close button and feedback variations. Includes a base `CustomDialog` with a close button positioned on the right, and a `FeedbackDialog` for success, error, and confirmation states.
|
package/dist/index.cjs
CHANGED
|
@@ -50,6 +50,7 @@ __export(index_exports, {
|
|
|
50
50
|
CopyButton: () => CopyButton,
|
|
51
51
|
CustomDialog: () => CustomDialog,
|
|
52
52
|
CustomDrawer: () => CustomDrawer,
|
|
53
|
+
CustomFormLabel: () => CustomFormLabel,
|
|
53
54
|
DateRangeDropdown: () => DateRangeDropdown,
|
|
54
55
|
DateRangePicker: () => DateRangePicker,
|
|
55
56
|
Download: () => Download,
|
|
@@ -6116,7 +6117,7 @@ var MuiTextField = {
|
|
|
6116
6117
|
position: "relative",
|
|
6117
6118
|
fontSize: `${theme.typography.h8.fontSize} !important`,
|
|
6118
6119
|
fontWeight: `${theme.typography.fontWeightMedium} !important`,
|
|
6119
|
-
marginBottom: theme.spacing(
|
|
6120
|
+
marginBottom: theme.spacing(0.5),
|
|
6120
6121
|
color: `${theme.vars.palette.icon.black} !important`,
|
|
6121
6122
|
// Focused state
|
|
6122
6123
|
"&:not(.Mui-error).MuiFormLabel-colorPrimary.Mui-focused": {
|
|
@@ -6257,32 +6258,15 @@ var MuiTextField = {
|
|
|
6257
6258
|
overflowX: "hidden"
|
|
6258
6259
|
}
|
|
6259
6260
|
},
|
|
6260
|
-
// Autocomplete styling
|
|
6261
|
-
[`& .${import_Autocomplete2.autocompleteClasses.input}`]: {
|
|
6262
|
-
paddingLeft: "6px !important",
|
|
6263
|
-
paddingTop: "10px !important",
|
|
6264
|
-
paddingBottom: "10px !important",
|
|
6265
|
-
[`&.${import_InputBase.inputBaseClasses.sizeSmall}`]: {
|
|
6266
|
-
paddingLeft: "6px !important",
|
|
6267
|
-
paddingTop: "2.5px !important",
|
|
6268
|
-
paddingBottom: "2.5px !important"
|
|
6269
|
-
}
|
|
6270
|
-
},
|
|
6261
|
+
// Autocomplete styling - allow flexible height for multiple mode
|
|
6271
6262
|
[`& .${import_Autocomplete2.autocompleteClasses.inputRoot}`]: {
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
paddingBottom: "15.5px !important",
|
|
6275
|
-
"&:not(.MuiInputBase-sizeSmall).MuiInputBase-adornedStart": {
|
|
6276
|
-
paddingLeft: "13px !important"
|
|
6277
|
-
},
|
|
6263
|
+
height: "auto",
|
|
6264
|
+
minHeight: 44,
|
|
6278
6265
|
[`&.${import_InputBase.inputBaseClasses.sizeSmall}`]: {
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
margin: 2,
|
|
6284
|
-
height: 22
|
|
6285
|
-
}
|
|
6266
|
+
minHeight: 36
|
|
6267
|
+
},
|
|
6268
|
+
[`&.MuiInputBase-sizeLarge`]: {
|
|
6269
|
+
minHeight: 48
|
|
6286
6270
|
}
|
|
6287
6271
|
}
|
|
6288
6272
|
})
|
|
@@ -6459,6 +6443,7 @@ __export(components_exports2, {
|
|
|
6459
6443
|
CopyButton: () => CopyButton,
|
|
6460
6444
|
CustomDialog: () => CustomDialog,
|
|
6461
6445
|
CustomDrawer: () => CustomDrawer,
|
|
6446
|
+
CustomFormLabel: () => CustomFormLabel,
|
|
6462
6447
|
DateRangeDropdown: () => DateRangeDropdown,
|
|
6463
6448
|
DateRangePicker: () => DateRangePicker,
|
|
6464
6449
|
Download: () => Download,
|
|
@@ -10811,20 +10796,38 @@ var Field = {
|
|
|
10811
10796
|
GooglePlacesAutocomplete: RHFGooglePlacesAutocomplete
|
|
10812
10797
|
};
|
|
10813
10798
|
|
|
10814
|
-
// src/components/
|
|
10799
|
+
// src/components/FormLabel/index.tsx
|
|
10815
10800
|
var import_Tooltip2 = __toESM(require("@mui/material/Tooltip"), 1);
|
|
10816
|
-
var
|
|
10801
|
+
var import_Typography15 = __toESM(require("@mui/material/Typography"), 1);
|
|
10802
|
+
var import_FormLabel4 = __toESM(require("@mui/material/FormLabel"), 1);
|
|
10817
10803
|
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
10804
|
+
var CustomFormLabel = ({
|
|
10805
|
+
label,
|
|
10806
|
+
tooltip: tooltip2,
|
|
10807
|
+
icon: icon2,
|
|
10808
|
+
optional,
|
|
10809
|
+
sx,
|
|
10810
|
+
...rest
|
|
10811
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_FormLabel4.default, { sx: { mb: 0.5, display: "flex", alignItems: "center", gap: 0.5, ...sx }, ...rest, children: [
|
|
10812
|
+
label,
|
|
10813
|
+
optional && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_Typography15.default, { component: "span", variant: "caption", color: "text.secondary", children: "(Optional)" }),
|
|
10814
|
+
tooltip2 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_Tooltip2.default, { placement: "right", title: tooltip2, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("span", { style: { display: "inline-flex" }, children: icon2 ?? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: "InfoCircle", sx: { width: 16, height: 16, color: "icons.black" } }) }) })
|
|
10815
|
+
] });
|
|
10816
|
+
|
|
10817
|
+
// src/components/CopyButton/index.tsx
|
|
10818
|
+
var import_Tooltip3 = __toESM(require("@mui/material/Tooltip"), 1);
|
|
10819
|
+
var import_IconButton6 = __toESM(require("@mui/material/IconButton"), 1);
|
|
10820
|
+
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
10818
10821
|
var CopyButton = ({ text: text2, size = "small" }) => {
|
|
10819
10822
|
const { copy, isCopied } = useCopyToClipboard();
|
|
10820
|
-
return /* @__PURE__ */ (0,
|
|
10823
|
+
return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_Tooltip3.default, { title: isCopied ? "Copied" : "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
|
|
10821
10824
|
import_IconButton6.default,
|
|
10822
10825
|
{
|
|
10823
10826
|
size,
|
|
10824
10827
|
onClick: () => copy(text2),
|
|
10825
10828
|
"aria-label": "copy token",
|
|
10826
10829
|
sx: { color: "icon.black" },
|
|
10827
|
-
children: /* @__PURE__ */ (0,
|
|
10830
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Icon, { icon: isCopied ? "ClipboardCheck" : "Copy", sx: { width: 20, height: 20 } })
|
|
10828
10831
|
}
|
|
10829
10832
|
) });
|
|
10830
10833
|
};
|
|
@@ -10833,9 +10836,9 @@ var CopyButton = ({ text: text2, size = "small" }) => {
|
|
|
10833
10836
|
var import_Portal2 = __toESM(require("@mui/material/Portal"), 1);
|
|
10834
10837
|
var import_Box25 = __toESM(require("@mui/material/Box"), 1);
|
|
10835
10838
|
var import_LinearProgress = __toESM(require("@mui/material/LinearProgress"), 1);
|
|
10836
|
-
var
|
|
10839
|
+
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
10837
10840
|
var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
10838
|
-
const content = /* @__PURE__ */ (0,
|
|
10841
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
10839
10842
|
import_Box25.default,
|
|
10840
10843
|
{
|
|
10841
10844
|
sx: {
|
|
@@ -10849,16 +10852,16 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
|
10849
10852
|
...sx
|
|
10850
10853
|
},
|
|
10851
10854
|
...rest,
|
|
10852
|
-
children: /* @__PURE__ */ (0,
|
|
10855
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_LinearProgress.default, { color: "primary", sx: { width: 1, maxWidth: 360 } })
|
|
10853
10856
|
}
|
|
10854
10857
|
);
|
|
10855
10858
|
if (portal) {
|
|
10856
|
-
return /* @__PURE__ */ (0,
|
|
10859
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_Portal2.default, { children: content });
|
|
10857
10860
|
}
|
|
10858
10861
|
return content;
|
|
10859
10862
|
};
|
|
10860
10863
|
var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
10861
|
-
const content = /* @__PURE__ */ (0,
|
|
10864
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
|
|
10862
10865
|
import_Box25.default,
|
|
10863
10866
|
{
|
|
10864
10867
|
sx: {
|
|
@@ -10875,17 +10878,17 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
10875
10878
|
...sx
|
|
10876
10879
|
},
|
|
10877
10880
|
...rest,
|
|
10878
|
-
children: /* @__PURE__ */ (0,
|
|
10881
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(AnimatedLogo, {})
|
|
10879
10882
|
}
|
|
10880
10883
|
);
|
|
10881
10884
|
if (portal) {
|
|
10882
|
-
return /* @__PURE__ */ (0,
|
|
10885
|
+
return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_Portal2.default, { children: content });
|
|
10883
10886
|
}
|
|
10884
10887
|
return content;
|
|
10885
10888
|
};
|
|
10886
10889
|
|
|
10887
10890
|
// src/theme/core/components/mui-x-data-grid.tsx
|
|
10888
|
-
var
|
|
10891
|
+
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
10889
10892
|
var MuiDataGrid = {
|
|
10890
10893
|
/** **************************************
|
|
10891
10894
|
* DEFAULT PROPS
|
|
@@ -10893,9 +10896,9 @@ var MuiDataGrid = {
|
|
|
10893
10896
|
defaultProps: {
|
|
10894
10897
|
slots: {
|
|
10895
10898
|
/* Column */
|
|
10896
|
-
columnSortedAscendingIcon: (props) => /* @__PURE__ */ (0,
|
|
10897
|
-
columnSortedDescendingIcon: (props) => /* @__PURE__ */ (0,
|
|
10898
|
-
columnUnsortedIcon: (props) => /* @__PURE__ */ (0,
|
|
10899
|
+
columnSortedAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowUpIcon, { sx: { color: "text.primary" }, ...props }),
|
|
10900
|
+
columnSortedDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowDownIcon, { sx: { color: "text.primary" }, ...props }),
|
|
10901
|
+
columnUnsortedIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
10899
10902
|
DataGridArrowUpIcon,
|
|
10900
10903
|
{
|
|
10901
10904
|
fontSize: props.fontSize,
|
|
@@ -10903,28 +10906,28 @@ var MuiDataGrid = {
|
|
|
10903
10906
|
sx: { color: "text.disabled" }
|
|
10904
10907
|
}
|
|
10905
10908
|
),
|
|
10906
|
-
columnMenuIcon: (props) => /* @__PURE__ */ (0,
|
|
10907
|
-
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ (0,
|
|
10908
|
-
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ (0,
|
|
10909
|
-
columnMenuFilterIcon: (props) => /* @__PURE__ */ (0,
|
|
10910
|
-
columnMenuHideIcon: (props) => /* @__PURE__ */ (0,
|
|
10911
|
-
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ (0,
|
|
10912
|
-
columnSelectorIcon: (props) => /* @__PURE__ */ (0,
|
|
10909
|
+
columnMenuIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridMoreIcon, { width: 20, ...props }),
|
|
10910
|
+
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowUpIcon, { ...props }),
|
|
10911
|
+
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowDownIcon, { ...props }),
|
|
10912
|
+
columnMenuFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridFilterIcon, { ...props }),
|
|
10913
|
+
columnMenuHideIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridEyeCloseIcon, { ...props }),
|
|
10914
|
+
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridEyeIcon, { ...props }),
|
|
10915
|
+
columnSelectorIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridEyeIcon, { ...props }),
|
|
10913
10916
|
/* Filter */
|
|
10914
|
-
filterPanelDeleteIcon: (props) => /* @__PURE__ */ (0,
|
|
10915
|
-
openFilterButtonIcon: (props) => /* @__PURE__ */ (0,
|
|
10916
|
-
columnFilteredIcon: (props) => /* @__PURE__ */ (0,
|
|
10917
|
+
filterPanelDeleteIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridCloseIcon, { ...props }),
|
|
10918
|
+
openFilterButtonIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridFilterIcon, { ...props }),
|
|
10919
|
+
columnFilteredIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridFilterIcon, { sx: { width: 16, color: "text.primary" }, ...props }),
|
|
10917
10920
|
/* Density */
|
|
10918
|
-
densityCompactIcon: (props) => /* @__PURE__ */ (0,
|
|
10919
|
-
densityStandardIcon: (props) => /* @__PURE__ */ (0,
|
|
10920
|
-
densityComfortableIcon: (props) => /* @__PURE__ */ (0,
|
|
10921
|
+
densityCompactIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridDensityCompactIcon, { ...props }),
|
|
10922
|
+
densityStandardIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridDensityStandardIcon, { ...props }),
|
|
10923
|
+
densityComfortableIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridDensityComfortableIcon, { ...props }),
|
|
10921
10924
|
/* Export */
|
|
10922
|
-
exportIcon: (props) => /* @__PURE__ */ (0,
|
|
10925
|
+
exportIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridExportIcon, { ...props }),
|
|
10923
10926
|
/* Quick Filter */
|
|
10924
|
-
quickFilterIcon: (props) => /* @__PURE__ */ (0,
|
|
10925
|
-
quickFilterClearIcon: (props) => /* @__PURE__ */ (0,
|
|
10927
|
+
quickFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridSearchIcon, { sx: { width: 24, height: 24, color: "text.secondary" }, ...props }),
|
|
10928
|
+
quickFilterClearIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridCloseIcon, { ...props }),
|
|
10926
10929
|
/* Actions Column */
|
|
10927
|
-
moreActionsIcon: (props) => /* @__PURE__ */ (0,
|
|
10930
|
+
moreActionsIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Icon, { icon: "MoreHorizontal", sx: { width: 20, height: 20 }, ...props })
|
|
10928
10931
|
},
|
|
10929
10932
|
slotProps: {
|
|
10930
10933
|
basePopper: { placement: "bottom-end" },
|
|
@@ -11101,15 +11104,15 @@ var MuiDataGrid = {
|
|
|
11101
11104
|
}
|
|
11102
11105
|
};
|
|
11103
11106
|
var dataGrid = { MuiDataGrid };
|
|
11104
|
-
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11105
|
-
/* @__PURE__ */ (0,
|
|
11107
|
+
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11108
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11106
11109
|
"path",
|
|
11107
11110
|
{
|
|
11108
11111
|
fill: "currentColor",
|
|
11109
11112
|
d: "m8.303 11.596l3.327-3.431a.499.499 0 0 1 .74 0l6.43 6.63c.401.414.158 1.205-.37 1.205h-5.723z"
|
|
11110
11113
|
}
|
|
11111
11114
|
),
|
|
11112
|
-
/* @__PURE__ */ (0,
|
|
11115
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11113
11116
|
"path",
|
|
11114
11117
|
{
|
|
11115
11118
|
fill: "currentColor",
|
|
@@ -11118,15 +11121,15 @@ var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runti
|
|
|
11118
11121
|
}
|
|
11119
11122
|
)
|
|
11120
11123
|
] });
|
|
11121
|
-
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11122
|
-
/* @__PURE__ */ (0,
|
|
11124
|
+
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11125
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11123
11126
|
"path",
|
|
11124
11127
|
{
|
|
11125
11128
|
fill: "currentColor",
|
|
11126
11129
|
d: "m8.303 12.404l3.327 3.431c.213.22.527.22.74 0l6.43-6.63C19.201 8.79 18.958 8 18.43 8h-5.723z"
|
|
11127
11130
|
}
|
|
11128
11131
|
),
|
|
11129
|
-
/* @__PURE__ */ (0,
|
|
11132
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11130
11133
|
"path",
|
|
11131
11134
|
{
|
|
11132
11135
|
fill: "currentColor",
|
|
@@ -11135,15 +11138,15 @@ var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_run
|
|
|
11135
11138
|
}
|
|
11136
11139
|
)
|
|
11137
11140
|
] });
|
|
11138
|
-
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11141
|
+
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11139
11142
|
"path",
|
|
11140
11143
|
{
|
|
11141
11144
|
fill: "currentColor",
|
|
11142
11145
|
d: "M19 3H5c-1.414 0-2.121 0-2.56.412C2 3.824 2 4.488 2 5.815v.69c0 1.037 0 1.556.26 1.986c.26.43.733.698 1.682 1.232l2.913 1.64c.636.358.955.537 1.183.735c.474.411.766.895.898 1.49c.064.284.064.618.064 1.285v2.67c0 .909 0 1.364.252 1.718c.252.355.7.53 1.594.88c1.879.734 2.818 1.101 3.486.683c.668-.417.668-1.372.668-3.282v-2.67c0-.666 0-1 .064-1.285a2.68 2.68 0 0 1 .899-1.49c.227-.197.546-.376 1.182-.735l2.913-1.64c.948-.533 1.423-.8 1.682-1.23c.26-.43.26-.95.26-1.988v-.69c0-1.326 0-1.99-.44-2.402C21.122 3 20.415 3 19 3"
|
|
11143
11146
|
}
|
|
11144
11147
|
) });
|
|
11145
|
-
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11146
|
-
/* @__PURE__ */ (0,
|
|
11148
|
+
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11149
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11147
11150
|
"path",
|
|
11148
11151
|
{
|
|
11149
11152
|
fill: "currentColor",
|
|
@@ -11152,7 +11155,7 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
11152
11155
|
clipRule: "evenodd"
|
|
11153
11156
|
}
|
|
11154
11157
|
),
|
|
11155
|
-
/* @__PURE__ */ (0,
|
|
11158
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11156
11159
|
"path",
|
|
11157
11160
|
{
|
|
11158
11161
|
fill: "currentColor",
|
|
@@ -11160,9 +11163,9 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
11160
11163
|
}
|
|
11161
11164
|
)
|
|
11162
11165
|
] });
|
|
11163
|
-
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11164
|
-
/* @__PURE__ */ (0,
|
|
11165
|
-
/* @__PURE__ */ (0,
|
|
11166
|
+
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11167
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { fill: "currentColor", d: "M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0" }),
|
|
11168
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11166
11169
|
"path",
|
|
11167
11170
|
{
|
|
11168
11171
|
fill: "currentColor",
|
|
@@ -11172,7 +11175,7 @@ var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime10
|
|
|
11172
11175
|
}
|
|
11173
11176
|
)
|
|
11174
11177
|
] });
|
|
11175
|
-
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11178
|
+
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11176
11179
|
"path",
|
|
11177
11180
|
{
|
|
11178
11181
|
fill: "currentColor",
|
|
@@ -11181,23 +11184,23 @@ var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runt
|
|
|
11181
11184
|
clipRule: "evenodd"
|
|
11182
11185
|
}
|
|
11183
11186
|
) });
|
|
11184
|
-
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11187
|
+
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11185
11188
|
"path",
|
|
11186
11189
|
{
|
|
11187
11190
|
fill: "currentColor",
|
|
11188
11191
|
d: "m20.71 19.29l-3.4-3.39A7.92 7.92 0 0 0 19 11a8 8 0 1 0-8 8a7.92 7.92 0 0 0 4.9-1.69l3.39 3.4a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42M5 11a6 6 0 1 1 6 6a6 6 0 0 1-6-6"
|
|
11189
11192
|
}
|
|
11190
11193
|
) });
|
|
11191
|
-
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11194
|
+
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11192
11195
|
"path",
|
|
11193
11196
|
{
|
|
11194
11197
|
fill: "currentColor",
|
|
11195
11198
|
d: "m13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29l-4.3 4.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4.29-4.3l4.29 4.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z"
|
|
11196
11199
|
}
|
|
11197
11200
|
) });
|
|
11198
|
-
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11199
|
-
/* @__PURE__ */ (0,
|
|
11200
|
-
/* @__PURE__ */ (0,
|
|
11201
|
+
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("g", { fill: "none", children: [
|
|
11202
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
|
|
11203
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11201
11204
|
"path",
|
|
11202
11205
|
{
|
|
11203
11206
|
fill: "currentColor",
|
|
@@ -11205,16 +11208,16 @@ var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime1
|
|
|
11205
11208
|
}
|
|
11206
11209
|
)
|
|
11207
11210
|
] }) });
|
|
11208
|
-
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11211
|
+
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11209
11212
|
"path",
|
|
11210
11213
|
{
|
|
11211
11214
|
fill: "currentColor",
|
|
11212
11215
|
d: "M4 15.5q-.425 0-.712-.288T3 14.5V14q0-.425.288-.712T4 13h16q.425 0 .713.288T21 14v.5q0 .425-.288.713T20 15.5zM4 11q-.425 0-.712-.288T3 10v-.5q0-.425.288-.712T4 8.5h16q.425 0 .713.288T21 9.5v.5q0 .425-.288.713T20 11zm0-4.5q-.425 0-.712-.288T3 5.5V5q0-.425.288-.712T4 4h16q.425 0 .713.288T21 5v.5q0 .425-.288.713T20 6.5zM4 20q-.425 0-.712-.288T3 19v-.5q0-.425.288-.712T4 17.5h16q.425 0 .713.288T21 18.5v.5q0 .425-.288.713T20 20z"
|
|
11213
11216
|
}
|
|
11214
11217
|
) });
|
|
11215
|
-
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11216
|
-
/* @__PURE__ */ (0,
|
|
11217
|
-
/* @__PURE__ */ (0,
|
|
11218
|
+
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("g", { fill: "none", fillRule: "evenodd", children: [
|
|
11219
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
|
|
11220
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11218
11221
|
"path",
|
|
11219
11222
|
{
|
|
11220
11223
|
fill: "currentColor",
|
|
@@ -11222,9 +11225,9 @@ var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0, impor
|
|
|
11222
11225
|
}
|
|
11223
11226
|
)
|
|
11224
11227
|
] }) });
|
|
11225
|
-
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ (0,
|
|
11226
|
-
/* @__PURE__ */ (0,
|
|
11227
|
-
/* @__PURE__ */ (0,
|
|
11228
|
+
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("g", { fill: "none", children: [
|
|
11229
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
|
|
11230
|
+
/* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
|
|
11228
11231
|
"path",
|
|
11229
11232
|
{
|
|
11230
11233
|
fill: "currentColor",
|
|
@@ -11382,19 +11385,25 @@ var MuiButtonGroup = {
|
|
|
11382
11385
|
var buttonGroup = { MuiButtonGroup };
|
|
11383
11386
|
|
|
11384
11387
|
// src/theme/core/components/autocomplete.tsx
|
|
11388
|
+
var import_Chip2 = require("@mui/material/Chip");
|
|
11385
11389
|
var import_SvgIcon4 = require("@mui/material/SvgIcon");
|
|
11390
|
+
var import_InputBase5 = require("@mui/material/InputBase");
|
|
11386
11391
|
var import_Autocomplete5 = require("@mui/material/Autocomplete");
|
|
11387
|
-
var
|
|
11392
|
+
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
11388
11393
|
var MuiAutocomplete = {
|
|
11389
11394
|
/** **************************************
|
|
11390
11395
|
* DEFAULT PROPS
|
|
11391
11396
|
*************************************** */
|
|
11392
|
-
defaultProps: {
|
|
11397
|
+
defaultProps: {
|
|
11398
|
+
popupIcon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "NavArrowDown" }),
|
|
11399
|
+
forcePopupIcon: true
|
|
11400
|
+
},
|
|
11393
11401
|
/** **************************************
|
|
11394
11402
|
* STYLE
|
|
11395
11403
|
*************************************** */
|
|
11396
11404
|
styleOverrides: {
|
|
11397
11405
|
root: ({ theme }) => ({
|
|
11406
|
+
// Tag count badge (e.g., "+2")
|
|
11398
11407
|
[`& span.${import_Autocomplete5.autocompleteClasses.tag}`]: {
|
|
11399
11408
|
...theme.typography.subtitle2,
|
|
11400
11409
|
height: 24,
|
|
@@ -11402,9 +11411,65 @@ var MuiAutocomplete = {
|
|
|
11402
11411
|
lineHeight: "24px",
|
|
11403
11412
|
textAlign: "center",
|
|
11404
11413
|
padding: theme.spacing(0, 0.75),
|
|
11405
|
-
color: theme.vars.palette.
|
|
11406
|
-
borderRadius: theme.
|
|
11407
|
-
backgroundColor:
|
|
11414
|
+
color: theme.vars.palette.neutral[950],
|
|
11415
|
+
borderRadius: theme.radius["radius-sm"],
|
|
11416
|
+
backgroundColor: theme.vars.palette.neutral[100]
|
|
11417
|
+
},
|
|
11418
|
+
// Chip tags in multiple mode
|
|
11419
|
+
[`& .${import_Autocomplete5.autocompleteClasses.tag}.${import_Chip2.chipClasses.root}`]: {
|
|
11420
|
+
height: 26,
|
|
11421
|
+
margin: theme.spacing(0.5, 0.5, 0.5, 0),
|
|
11422
|
+
fontSize: theme.typography.caption.fontSize,
|
|
11423
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
11424
|
+
color: theme.vars.palette.neutral[950],
|
|
11425
|
+
backgroundColor: theme.vars.palette.neutral[100]
|
|
11426
|
+
}
|
|
11427
|
+
}),
|
|
11428
|
+
// Input root - override fixed heights for multiple mode
|
|
11429
|
+
inputRoot: ({ theme }) => ({
|
|
11430
|
+
// Allow flexible height for multiple selections
|
|
11431
|
+
height: "auto",
|
|
11432
|
+
minHeight: 44,
|
|
11433
|
+
flexWrap: "wrap",
|
|
11434
|
+
alignItems: "center",
|
|
11435
|
+
paddingTop: theme.spacing(0.75),
|
|
11436
|
+
paddingBottom: theme.spacing(0.75),
|
|
11437
|
+
paddingLeft: theme.spacing(1),
|
|
11438
|
+
paddingRight: `${theme.spacing(4)} !important`,
|
|
11439
|
+
// Space for clear/popup icons
|
|
11440
|
+
// Size small
|
|
11441
|
+
[`&.${import_InputBase5.inputBaseClasses.sizeSmall}`]: {
|
|
11442
|
+
height: "auto",
|
|
11443
|
+
minHeight: 36,
|
|
11444
|
+
paddingTop: theme.spacing(0.5),
|
|
11445
|
+
paddingBottom: theme.spacing(0.5),
|
|
11446
|
+
[`& .${import_Autocomplete5.autocompleteClasses.tag}.${import_Chip2.chipClasses.root}`]: {
|
|
11447
|
+
height: 22,
|
|
11448
|
+
margin: theme.spacing(0.25, 0.25, 0.25, 0)
|
|
11449
|
+
}
|
|
11450
|
+
},
|
|
11451
|
+
// Size large
|
|
11452
|
+
[`&.MuiInputBase-sizeLarge`]: {
|
|
11453
|
+
height: "auto",
|
|
11454
|
+
minHeight: 48,
|
|
11455
|
+
paddingTop: theme.spacing(1),
|
|
11456
|
+
paddingBottom: theme.spacing(1),
|
|
11457
|
+
[`& .${import_Autocomplete5.autocompleteClasses.tag}.${import_Chip2.chipClasses.root}`]: {
|
|
11458
|
+
height: 28,
|
|
11459
|
+
margin: theme.spacing(0.5, 0.5, 0.5, 0)
|
|
11460
|
+
}
|
|
11461
|
+
},
|
|
11462
|
+
// Adornment adjustments
|
|
11463
|
+
[`&.${import_InputBase5.inputBaseClasses.adornedStart}`]: {
|
|
11464
|
+
paddingLeft: theme.spacing(1.5)
|
|
11465
|
+
}
|
|
11466
|
+
}),
|
|
11467
|
+
// Input field inside autocomplete
|
|
11468
|
+
input: ({ theme }) => ({
|
|
11469
|
+
padding: `${theme.spacing(0.75, 0.75)} !important`,
|
|
11470
|
+
minWidth: 80,
|
|
11471
|
+
[`&.${import_InputBase5.inputBaseClasses.inputSizeSmall}`]: {
|
|
11472
|
+
padding: `${theme.spacing(0.5, 0.5)} !important`
|
|
11408
11473
|
}
|
|
11409
11474
|
}),
|
|
11410
11475
|
paper: ({ theme }) => ({
|
|
@@ -11416,7 +11481,15 @@ var MuiAutocomplete = {
|
|
|
11416
11481
|
...menuItem(theme)
|
|
11417
11482
|
}
|
|
11418
11483
|
}),
|
|
11419
|
-
endAdornment: {
|
|
11484
|
+
endAdornment: ({ theme }) => ({
|
|
11485
|
+
top: "50%",
|
|
11486
|
+
transform: "translateY(-50%)",
|
|
11487
|
+
right: theme.spacing(1),
|
|
11488
|
+
[`& .${import_SvgIcon4.svgIconClasses.root}`]: { width: 24, height: 24 }
|
|
11489
|
+
}),
|
|
11490
|
+
clearIndicator: ({ theme }) => ({
|
|
11491
|
+
marginRight: theme.spacing(0.5)
|
|
11492
|
+
})
|
|
11420
11493
|
}
|
|
11421
11494
|
};
|
|
11422
11495
|
var autocomplete = { MuiAutocomplete };
|
|
@@ -11514,11 +11587,11 @@ var toggleButton = { MuiToggleButton, MuiToggleButtonGroup };
|
|
|
11514
11587
|
|
|
11515
11588
|
// src/theme/core/components/mui-x-date-picker.tsx
|
|
11516
11589
|
var import_IconButton8 = __toESM(require("@mui/material/IconButton"), 1);
|
|
11517
|
-
var
|
|
11590
|
+
var import_Typography16 = __toESM(require("@mui/material/Typography"), 1);
|
|
11518
11591
|
var import_Button5 = require("@mui/material/Button");
|
|
11519
11592
|
var import_styles36 = require("@mui/material/styles");
|
|
11520
11593
|
var import_DialogActions = require("@mui/material/DialogActions");
|
|
11521
|
-
var
|
|
11594
|
+
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
11522
11595
|
var CustomCalendarHeaderRoot = (0, import_styles36.styled)("div")(({ theme }) => ({
|
|
11523
11596
|
display: "flex",
|
|
11524
11597
|
justifyContent: "space-between",
|
|
@@ -11556,10 +11629,10 @@ function CustomCalendarHeader(props) {
|
|
|
11556
11629
|
onViewChange("year");
|
|
11557
11630
|
}
|
|
11558
11631
|
};
|
|
11559
|
-
return /* @__PURE__ */ (0,
|
|
11560
|
-
/* @__PURE__ */ (0,
|
|
11561
|
-
/* @__PURE__ */ (0,
|
|
11562
|
-
|
|
11632
|
+
return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(CustomCalendarHeaderRoot, { children: [
|
|
11633
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(CustomIconButton, { onClick: selectPreviousMonth, title: "Previous month", size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowLeft", width: 16 }) }),
|
|
11634
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
11635
|
+
import_Typography16.default,
|
|
11563
11636
|
{
|
|
11564
11637
|
variant: "subtitle1",
|
|
11565
11638
|
onClick: handleLabelClick,
|
|
@@ -11573,7 +11646,7 @@ function CustomCalendarHeader(props) {
|
|
|
11573
11646
|
children: monthLabel
|
|
11574
11647
|
}
|
|
11575
11648
|
),
|
|
11576
|
-
/* @__PURE__ */ (0,
|
|
11649
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(CustomIconButton, { onClick: selectNextMonth, title: "Next month", size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowRight", width: 16 }) })
|
|
11577
11650
|
] });
|
|
11578
11651
|
}
|
|
11579
11652
|
var localeText = {
|
|
@@ -11581,13 +11654,13 @@ var localeText = {
|
|
|
11581
11654
|
};
|
|
11582
11655
|
var defaultProps = {
|
|
11583
11656
|
date: {
|
|
11584
|
-
openPickerIcon: () => /* @__PURE__ */ (0,
|
|
11657
|
+
openPickerIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "Calendar", sx: { width: 20, height: 20 } }),
|
|
11585
11658
|
calendarHeader: CustomCalendarHeader
|
|
11586
11659
|
},
|
|
11587
11660
|
time: {
|
|
11588
|
-
openPickerIcon: () => /* @__PURE__ */ (0,
|
|
11589
|
-
rightArrowIcon: () => /* @__PURE__ */ (0,
|
|
11590
|
-
switchViewIcon: () => /* @__PURE__ */ (0,
|
|
11661
|
+
openPickerIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "Clock", sx: { width: 20, height: 20 } }),
|
|
11662
|
+
rightArrowIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowRight" }),
|
|
11663
|
+
switchViewIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowDownSolid" })
|
|
11591
11664
|
}
|
|
11592
11665
|
};
|
|
11593
11666
|
var dateViews = ["year", "month", "day"];
|
|
@@ -12018,18 +12091,18 @@ var import__8 = require("@fontsource/geist/500.css");
|
|
|
12018
12091
|
var import__9 = require("@fontsource/geist/600.css");
|
|
12019
12092
|
var import__10 = require("@fontsource/geist/700.css");
|
|
12020
12093
|
var import_satoshi = require("./satoshi-4X3TX4PE.css");
|
|
12021
|
-
var
|
|
12094
|
+
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
12022
12095
|
var ThemeProvider = ({ children }) => {
|
|
12023
12096
|
const settings = useSettings();
|
|
12024
12097
|
const theme = createTheme(settings);
|
|
12025
|
-
return /* @__PURE__ */ (0,
|
|
12098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
12026
12099
|
import_styles41.ThemeProvider,
|
|
12027
12100
|
{
|
|
12028
12101
|
theme,
|
|
12029
12102
|
defaultMode: schemeConfig.defaultMode,
|
|
12030
12103
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
12031
12104
|
children: [
|
|
12032
|
-
/* @__PURE__ */ (0,
|
|
12105
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_CssBaseline.default, {}),
|
|
12033
12106
|
children
|
|
12034
12107
|
]
|
|
12035
12108
|
}
|
|
@@ -12059,6 +12132,7 @@ __reExport(index_exports, components_exports2, module.exports);
|
|
|
12059
12132
|
CopyButton,
|
|
12060
12133
|
CustomDialog,
|
|
12061
12134
|
CustomDrawer,
|
|
12135
|
+
CustomFormLabel,
|
|
12062
12136
|
DateRangeDropdown,
|
|
12063
12137
|
DateRangePicker,
|
|
12064
12138
|
Download,
|