@undefine-ui/design-system 3.6.1 → 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 +212 -0
- package/dist/index.cjs +198 -104
- 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 +198 -104
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38,6 +38,7 @@ __export(index_exports, {
|
|
|
38
38
|
CopyButton: () => CopyButton,
|
|
39
39
|
CustomDialog: () => CustomDialog,
|
|
40
40
|
CustomDrawer: () => CustomDrawer,
|
|
41
|
+
CustomFormLabel: () => CustomFormLabel,
|
|
41
42
|
DateRangeDropdown: () => DateRangeDropdown,
|
|
42
43
|
DateRangePicker: () => DateRangePicker,
|
|
43
44
|
Download: () => Download,
|
|
@@ -6103,7 +6104,7 @@ var MuiTextField = {
|
|
|
6103
6104
|
position: "relative",
|
|
6104
6105
|
fontSize: `${theme.typography.h8.fontSize} !important`,
|
|
6105
6106
|
fontWeight: `${theme.typography.fontWeightMedium} !important`,
|
|
6106
|
-
marginBottom: theme.spacing(
|
|
6107
|
+
marginBottom: theme.spacing(0.5),
|
|
6107
6108
|
color: `${theme.vars.palette.icon.black} !important`,
|
|
6108
6109
|
// Focused state
|
|
6109
6110
|
"&:not(.Mui-error).MuiFormLabel-colorPrimary.Mui-focused": {
|
|
@@ -6244,32 +6245,15 @@ var MuiTextField = {
|
|
|
6244
6245
|
overflowX: "hidden"
|
|
6245
6246
|
}
|
|
6246
6247
|
},
|
|
6247
|
-
// Autocomplete styling
|
|
6248
|
-
[`& .${autocompleteClasses2.input}`]: {
|
|
6249
|
-
paddingLeft: "6px !important",
|
|
6250
|
-
paddingTop: "10px !important",
|
|
6251
|
-
paddingBottom: "10px !important",
|
|
6252
|
-
[`&.${inputBaseClasses.sizeSmall}`]: {
|
|
6253
|
-
paddingLeft: "6px !important",
|
|
6254
|
-
paddingTop: "2.5px !important",
|
|
6255
|
-
paddingBottom: "2.5px !important"
|
|
6256
|
-
}
|
|
6257
|
-
},
|
|
6248
|
+
// Autocomplete styling - allow flexible height for multiple mode
|
|
6258
6249
|
[`& .${autocompleteClasses2.inputRoot}`]: {
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
paddingBottom: "15.5px !important",
|
|
6262
|
-
"&:not(.MuiInputBase-sizeSmall).MuiInputBase-adornedStart": {
|
|
6263
|
-
paddingLeft: "13px !important"
|
|
6264
|
-
},
|
|
6250
|
+
height: "auto",
|
|
6251
|
+
minHeight: 44,
|
|
6265
6252
|
[`&.${inputBaseClasses.sizeSmall}`]: {
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
margin: 2,
|
|
6271
|
-
height: 22
|
|
6272
|
-
}
|
|
6253
|
+
minHeight: 36
|
|
6254
|
+
},
|
|
6255
|
+
[`&.MuiInputBase-sizeLarge`]: {
|
|
6256
|
+
minHeight: 48
|
|
6273
6257
|
}
|
|
6274
6258
|
}
|
|
6275
6259
|
})
|
|
@@ -6446,6 +6430,7 @@ __export(components_exports2, {
|
|
|
6446
6430
|
CopyButton: () => CopyButton,
|
|
6447
6431
|
CustomDialog: () => CustomDialog,
|
|
6448
6432
|
CustomDrawer: () => CustomDrawer,
|
|
6433
|
+
CustomFormLabel: () => CustomFormLabel,
|
|
6449
6434
|
DateRangeDropdown: () => DateRangeDropdown,
|
|
6450
6435
|
DateRangePicker: () => DateRangePicker,
|
|
6451
6436
|
Download: () => Download,
|
|
@@ -10558,7 +10543,27 @@ var RHFGooglePlacesAutocomplete = ({
|
|
|
10558
10543
|
}
|
|
10559
10544
|
};
|
|
10560
10545
|
}
|
|
10561
|
-
|
|
10546
|
+
if (field.value.address || field.value.city || field.value.country) {
|
|
10547
|
+
const addressParts = [
|
|
10548
|
+
field.value.address,
|
|
10549
|
+
field.value.city,
|
|
10550
|
+
field.value.state,
|
|
10551
|
+
field.value.country
|
|
10552
|
+
].filter(Boolean);
|
|
10553
|
+
const displayText = addressParts.join(", ");
|
|
10554
|
+
return {
|
|
10555
|
+
description: displayText,
|
|
10556
|
+
structured_formatting: {
|
|
10557
|
+
main_text: field.value.address || field.value.city || displayText,
|
|
10558
|
+
main_text_matched_substrings: [],
|
|
10559
|
+
secondary_text: addressParts.slice(1).join(", ")
|
|
10560
|
+
}
|
|
10561
|
+
};
|
|
10562
|
+
}
|
|
10563
|
+
if (field.value.description) {
|
|
10564
|
+
return field.value;
|
|
10565
|
+
}
|
|
10566
|
+
return null;
|
|
10562
10567
|
};
|
|
10563
10568
|
const handleChange = (newValue) => {
|
|
10564
10569
|
onValueChange?.(newValue);
|
|
@@ -10802,20 +10807,38 @@ var Field = {
|
|
|
10802
10807
|
GooglePlacesAutocomplete: RHFGooglePlacesAutocomplete
|
|
10803
10808
|
};
|
|
10804
10809
|
|
|
10805
|
-
// src/components/
|
|
10810
|
+
// src/components/FormLabel/index.tsx
|
|
10806
10811
|
import Tooltip from "@mui/material/Tooltip";
|
|
10812
|
+
import Typography14 from "@mui/material/Typography";
|
|
10813
|
+
import FormLabel4 from "@mui/material/FormLabel";
|
|
10814
|
+
import { jsx as jsx103, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
10815
|
+
var CustomFormLabel = ({
|
|
10816
|
+
label,
|
|
10817
|
+
tooltip: tooltip2,
|
|
10818
|
+
icon: icon2,
|
|
10819
|
+
optional,
|
|
10820
|
+
sx,
|
|
10821
|
+
...rest
|
|
10822
|
+
}) => /* @__PURE__ */ jsxs64(FormLabel4, { sx: { mb: 0.5, display: "flex", alignItems: "center", gap: 0.5, ...sx }, ...rest, children: [
|
|
10823
|
+
label,
|
|
10824
|
+
optional && /* @__PURE__ */ jsx103(Typography14, { component: "span", variant: "caption", color: "text.secondary", children: "(Optional)" }),
|
|
10825
|
+
tooltip2 && /* @__PURE__ */ jsx103(Tooltip, { placement: "right", title: tooltip2, children: /* @__PURE__ */ jsx103("span", { style: { display: "inline-flex" }, children: icon2 ?? /* @__PURE__ */ jsx103(Icon, { icon: "InfoCircle", sx: { width: 16, height: 16, color: "icons.black" } }) }) })
|
|
10826
|
+
] });
|
|
10827
|
+
|
|
10828
|
+
// src/components/CopyButton/index.tsx
|
|
10829
|
+
import Tooltip2 from "@mui/material/Tooltip";
|
|
10807
10830
|
import IconButton6 from "@mui/material/IconButton";
|
|
10808
|
-
import { jsx as
|
|
10831
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
10809
10832
|
var CopyButton = ({ text: text2, size = "small" }) => {
|
|
10810
10833
|
const { copy, isCopied } = useCopyToClipboard();
|
|
10811
|
-
return /* @__PURE__ */
|
|
10834
|
+
return /* @__PURE__ */ jsx104(Tooltip2, { title: isCopied ? "Copied" : "Copy", children: /* @__PURE__ */ jsx104(
|
|
10812
10835
|
IconButton6,
|
|
10813
10836
|
{
|
|
10814
10837
|
size,
|
|
10815
10838
|
onClick: () => copy(text2),
|
|
10816
10839
|
"aria-label": "copy token",
|
|
10817
10840
|
sx: { color: "icon.black" },
|
|
10818
|
-
children: /* @__PURE__ */
|
|
10841
|
+
children: /* @__PURE__ */ jsx104(Icon, { icon: isCopied ? "ClipboardCheck" : "Copy", sx: { width: 20, height: 20 } })
|
|
10819
10842
|
}
|
|
10820
10843
|
) });
|
|
10821
10844
|
};
|
|
@@ -10824,9 +10847,9 @@ var CopyButton = ({ text: text2, size = "small" }) => {
|
|
|
10824
10847
|
import Portal2 from "@mui/material/Portal";
|
|
10825
10848
|
import Box25 from "@mui/material/Box";
|
|
10826
10849
|
import LinearProgress from "@mui/material/LinearProgress";
|
|
10827
|
-
import { jsx as
|
|
10850
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
10828
10851
|
var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
10829
|
-
const content = /* @__PURE__ */
|
|
10852
|
+
const content = /* @__PURE__ */ jsx105(
|
|
10830
10853
|
Box25,
|
|
10831
10854
|
{
|
|
10832
10855
|
sx: {
|
|
@@ -10840,16 +10863,16 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
|
10840
10863
|
...sx
|
|
10841
10864
|
},
|
|
10842
10865
|
...rest,
|
|
10843
|
-
children: /* @__PURE__ */
|
|
10866
|
+
children: /* @__PURE__ */ jsx105(LinearProgress, { color: "primary", sx: { width: 1, maxWidth: 360 } })
|
|
10844
10867
|
}
|
|
10845
10868
|
);
|
|
10846
10869
|
if (portal) {
|
|
10847
|
-
return /* @__PURE__ */
|
|
10870
|
+
return /* @__PURE__ */ jsx105(Portal2, { children: content });
|
|
10848
10871
|
}
|
|
10849
10872
|
return content;
|
|
10850
10873
|
};
|
|
10851
10874
|
var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
10852
|
-
const content = /* @__PURE__ */
|
|
10875
|
+
const content = /* @__PURE__ */ jsx105(
|
|
10853
10876
|
Box25,
|
|
10854
10877
|
{
|
|
10855
10878
|
sx: {
|
|
@@ -10866,17 +10889,17 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
10866
10889
|
...sx
|
|
10867
10890
|
},
|
|
10868
10891
|
...rest,
|
|
10869
|
-
children: /* @__PURE__ */
|
|
10892
|
+
children: /* @__PURE__ */ jsx105(AnimatedLogo, {})
|
|
10870
10893
|
}
|
|
10871
10894
|
);
|
|
10872
10895
|
if (portal) {
|
|
10873
|
-
return /* @__PURE__ */
|
|
10896
|
+
return /* @__PURE__ */ jsx105(Portal2, { children: content });
|
|
10874
10897
|
}
|
|
10875
10898
|
return content;
|
|
10876
10899
|
};
|
|
10877
10900
|
|
|
10878
10901
|
// src/theme/core/components/mui-x-data-grid.tsx
|
|
10879
|
-
import { jsx as
|
|
10902
|
+
import { jsx as jsx106, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
10880
10903
|
var MuiDataGrid = {
|
|
10881
10904
|
/** **************************************
|
|
10882
10905
|
* DEFAULT PROPS
|
|
@@ -10884,9 +10907,9 @@ var MuiDataGrid = {
|
|
|
10884
10907
|
defaultProps: {
|
|
10885
10908
|
slots: {
|
|
10886
10909
|
/* Column */
|
|
10887
|
-
columnSortedAscendingIcon: (props) => /* @__PURE__ */
|
|
10888
|
-
columnSortedDescendingIcon: (props) => /* @__PURE__ */
|
|
10889
|
-
columnUnsortedIcon: (props) => /* @__PURE__ */
|
|
10910
|
+
columnSortedAscendingIcon: (props) => /* @__PURE__ */ jsx106(DataGridArrowUpIcon, { sx: { color: "text.primary" }, ...props }),
|
|
10911
|
+
columnSortedDescendingIcon: (props) => /* @__PURE__ */ jsx106(DataGridArrowDownIcon, { sx: { color: "text.primary" }, ...props }),
|
|
10912
|
+
columnUnsortedIcon: (props) => /* @__PURE__ */ jsx106(
|
|
10890
10913
|
DataGridArrowUpIcon,
|
|
10891
10914
|
{
|
|
10892
10915
|
fontSize: props.fontSize,
|
|
@@ -10894,28 +10917,28 @@ var MuiDataGrid = {
|
|
|
10894
10917
|
sx: { color: "text.disabled" }
|
|
10895
10918
|
}
|
|
10896
10919
|
),
|
|
10897
|
-
columnMenuIcon: (props) => /* @__PURE__ */
|
|
10898
|
-
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */
|
|
10899
|
-
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */
|
|
10900
|
-
columnMenuFilterIcon: (props) => /* @__PURE__ */
|
|
10901
|
-
columnMenuHideIcon: (props) => /* @__PURE__ */
|
|
10902
|
-
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */
|
|
10903
|
-
columnSelectorIcon: (props) => /* @__PURE__ */
|
|
10920
|
+
columnMenuIcon: (props) => /* @__PURE__ */ jsx106(DataGridMoreIcon, { width: 20, ...props }),
|
|
10921
|
+
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ jsx106(DataGridArrowUpIcon, { ...props }),
|
|
10922
|
+
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ jsx106(DataGridArrowDownIcon, { ...props }),
|
|
10923
|
+
columnMenuFilterIcon: (props) => /* @__PURE__ */ jsx106(DataGridFilterIcon, { ...props }),
|
|
10924
|
+
columnMenuHideIcon: (props) => /* @__PURE__ */ jsx106(DataGridEyeCloseIcon, { ...props }),
|
|
10925
|
+
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ jsx106(DataGridEyeIcon, { ...props }),
|
|
10926
|
+
columnSelectorIcon: (props) => /* @__PURE__ */ jsx106(DataGridEyeIcon, { ...props }),
|
|
10904
10927
|
/* Filter */
|
|
10905
|
-
filterPanelDeleteIcon: (props) => /* @__PURE__ */
|
|
10906
|
-
openFilterButtonIcon: (props) => /* @__PURE__ */
|
|
10907
|
-
columnFilteredIcon: (props) => /* @__PURE__ */
|
|
10928
|
+
filterPanelDeleteIcon: (props) => /* @__PURE__ */ jsx106(DataGridCloseIcon, { ...props }),
|
|
10929
|
+
openFilterButtonIcon: (props) => /* @__PURE__ */ jsx106(DataGridFilterIcon, { ...props }),
|
|
10930
|
+
columnFilteredIcon: (props) => /* @__PURE__ */ jsx106(DataGridFilterIcon, { sx: { width: 16, color: "text.primary" }, ...props }),
|
|
10908
10931
|
/* Density */
|
|
10909
|
-
densityCompactIcon: (props) => /* @__PURE__ */
|
|
10910
|
-
densityStandardIcon: (props) => /* @__PURE__ */
|
|
10911
|
-
densityComfortableIcon: (props) => /* @__PURE__ */
|
|
10932
|
+
densityCompactIcon: (props) => /* @__PURE__ */ jsx106(DataGridDensityCompactIcon, { ...props }),
|
|
10933
|
+
densityStandardIcon: (props) => /* @__PURE__ */ jsx106(DataGridDensityStandardIcon, { ...props }),
|
|
10934
|
+
densityComfortableIcon: (props) => /* @__PURE__ */ jsx106(DataGridDensityComfortableIcon, { ...props }),
|
|
10912
10935
|
/* Export */
|
|
10913
|
-
exportIcon: (props) => /* @__PURE__ */
|
|
10936
|
+
exportIcon: (props) => /* @__PURE__ */ jsx106(DataGridExportIcon, { ...props }),
|
|
10914
10937
|
/* Quick Filter */
|
|
10915
|
-
quickFilterIcon: (props) => /* @__PURE__ */
|
|
10916
|
-
quickFilterClearIcon: (props) => /* @__PURE__ */
|
|
10938
|
+
quickFilterIcon: (props) => /* @__PURE__ */ jsx106(DataGridSearchIcon, { sx: { width: 24, height: 24, color: "text.secondary" }, ...props }),
|
|
10939
|
+
quickFilterClearIcon: (props) => /* @__PURE__ */ jsx106(DataGridCloseIcon, { ...props }),
|
|
10917
10940
|
/* Actions Column */
|
|
10918
|
-
moreActionsIcon: (props) => /* @__PURE__ */
|
|
10941
|
+
moreActionsIcon: (props) => /* @__PURE__ */ jsx106(Icon, { icon: "MoreHorizontal", sx: { width: 20, height: 20 }, ...props })
|
|
10919
10942
|
},
|
|
10920
10943
|
slotProps: {
|
|
10921
10944
|
basePopper: { placement: "bottom-end" },
|
|
@@ -11092,15 +11115,15 @@ var MuiDataGrid = {
|
|
|
11092
11115
|
}
|
|
11093
11116
|
};
|
|
11094
11117
|
var dataGrid = { MuiDataGrid };
|
|
11095
|
-
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */
|
|
11096
|
-
/* @__PURE__ */
|
|
11118
|
+
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ jsxs65(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11119
|
+
/* @__PURE__ */ jsx106(
|
|
11097
11120
|
"path",
|
|
11098
11121
|
{
|
|
11099
11122
|
fill: "currentColor",
|
|
11100
11123
|
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"
|
|
11101
11124
|
}
|
|
11102
11125
|
),
|
|
11103
|
-
/* @__PURE__ */
|
|
11126
|
+
/* @__PURE__ */ jsx106(
|
|
11104
11127
|
"path",
|
|
11105
11128
|
{
|
|
11106
11129
|
fill: "currentColor",
|
|
@@ -11109,15 +11132,15 @@ var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { s
|
|
|
11109
11132
|
}
|
|
11110
11133
|
)
|
|
11111
11134
|
] });
|
|
11112
|
-
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */
|
|
11113
|
-
/* @__PURE__ */
|
|
11135
|
+
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ jsxs65(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11136
|
+
/* @__PURE__ */ jsx106(
|
|
11114
11137
|
"path",
|
|
11115
11138
|
{
|
|
11116
11139
|
fill: "currentColor",
|
|
11117
11140
|
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"
|
|
11118
11141
|
}
|
|
11119
11142
|
),
|
|
11120
|
-
/* @__PURE__ */
|
|
11143
|
+
/* @__PURE__ */ jsx106(
|
|
11121
11144
|
"path",
|
|
11122
11145
|
{
|
|
11123
11146
|
fill: "currentColor",
|
|
@@ -11126,15 +11149,15 @@ var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, {
|
|
|
11126
11149
|
}
|
|
11127
11150
|
)
|
|
11128
11151
|
] });
|
|
11129
|
-
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */
|
|
11152
|
+
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11130
11153
|
"path",
|
|
11131
11154
|
{
|
|
11132
11155
|
fill: "currentColor",
|
|
11133
11156
|
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"
|
|
11134
11157
|
}
|
|
11135
11158
|
) });
|
|
11136
|
-
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */
|
|
11137
|
-
/* @__PURE__ */
|
|
11159
|
+
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs65(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11160
|
+
/* @__PURE__ */ jsx106(
|
|
11138
11161
|
"path",
|
|
11139
11162
|
{
|
|
11140
11163
|
fill: "currentColor",
|
|
@@ -11143,7 +11166,7 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { sx
|
|
|
11143
11166
|
clipRule: "evenodd"
|
|
11144
11167
|
}
|
|
11145
11168
|
),
|
|
11146
|
-
/* @__PURE__ */
|
|
11169
|
+
/* @__PURE__ */ jsx106(
|
|
11147
11170
|
"path",
|
|
11148
11171
|
{
|
|
11149
11172
|
fill: "currentColor",
|
|
@@ -11151,9 +11174,9 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { sx
|
|
|
11151
11174
|
}
|
|
11152
11175
|
)
|
|
11153
11176
|
] });
|
|
11154
|
-
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */
|
|
11155
|
-
/* @__PURE__ */
|
|
11156
|
-
/* @__PURE__ */
|
|
11177
|
+
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ jsxs65(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11178
|
+
/* @__PURE__ */ jsx106("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" }),
|
|
11179
|
+
/* @__PURE__ */ jsx106(
|
|
11157
11180
|
"path",
|
|
11158
11181
|
{
|
|
11159
11182
|
fill: "currentColor",
|
|
@@ -11163,7 +11186,7 @@ var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { sx: {
|
|
|
11163
11186
|
}
|
|
11164
11187
|
)
|
|
11165
11188
|
] });
|
|
11166
|
-
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */
|
|
11189
|
+
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11167
11190
|
"path",
|
|
11168
11191
|
{
|
|
11169
11192
|
fill: "currentColor",
|
|
@@ -11172,23 +11195,23 @@ var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx105(SvgIcon3, {
|
|
|
11172
11195
|
clipRule: "evenodd"
|
|
11173
11196
|
}
|
|
11174
11197
|
) });
|
|
11175
|
-
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */
|
|
11198
|
+
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11176
11199
|
"path",
|
|
11177
11200
|
{
|
|
11178
11201
|
fill: "currentColor",
|
|
11179
11202
|
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"
|
|
11180
11203
|
}
|
|
11181
11204
|
) });
|
|
11182
|
-
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */
|
|
11205
|
+
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11183
11206
|
"path",
|
|
11184
11207
|
{
|
|
11185
11208
|
fill: "currentColor",
|
|
11186
11209
|
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"
|
|
11187
11210
|
}
|
|
11188
11211
|
) });
|
|
11189
|
-
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */
|
|
11190
|
-
/* @__PURE__ */
|
|
11191
|
-
/* @__PURE__ */
|
|
11212
|
+
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsxs65("g", { fill: "none", children: [
|
|
11213
|
+
/* @__PURE__ */ jsx106("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" }),
|
|
11214
|
+
/* @__PURE__ */ jsx106(
|
|
11192
11215
|
"path",
|
|
11193
11216
|
{
|
|
11194
11217
|
fill: "currentColor",
|
|
@@ -11196,16 +11219,16 @@ var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ jsx105(SvgIcon3, { sx:
|
|
|
11196
11219
|
}
|
|
11197
11220
|
)
|
|
11198
11221
|
] }) });
|
|
11199
|
-
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */
|
|
11222
|
+
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11200
11223
|
"path",
|
|
11201
11224
|
{
|
|
11202
11225
|
fill: "currentColor",
|
|
11203
11226
|
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"
|
|
11204
11227
|
}
|
|
11205
11228
|
) });
|
|
11206
|
-
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */
|
|
11207
|
-
/* @__PURE__ */
|
|
11208
|
-
/* @__PURE__ */
|
|
11229
|
+
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsxs65("g", { fill: "none", fillRule: "evenodd", children: [
|
|
11230
|
+
/* @__PURE__ */ jsx106("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" }),
|
|
11231
|
+
/* @__PURE__ */ jsx106(
|
|
11209
11232
|
"path",
|
|
11210
11233
|
{
|
|
11211
11234
|
fill: "currentColor",
|
|
@@ -11213,9 +11236,9 @@ var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ jsx105(Sv
|
|
|
11213
11236
|
}
|
|
11214
11237
|
)
|
|
11215
11238
|
] }) });
|
|
11216
|
-
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */
|
|
11217
|
-
/* @__PURE__ */
|
|
11218
|
-
/* @__PURE__ */
|
|
11239
|
+
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsxs65("g", { fill: "none", children: [
|
|
11240
|
+
/* @__PURE__ */ jsx106("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" }),
|
|
11241
|
+
/* @__PURE__ */ jsx106(
|
|
11219
11242
|
"path",
|
|
11220
11243
|
{
|
|
11221
11244
|
fill: "currentColor",
|
|
@@ -11373,19 +11396,25 @@ var MuiButtonGroup = {
|
|
|
11373
11396
|
var buttonGroup = { MuiButtonGroup };
|
|
11374
11397
|
|
|
11375
11398
|
// src/theme/core/components/autocomplete.tsx
|
|
11399
|
+
import { chipClasses as chipClasses2 } from "@mui/material/Chip";
|
|
11376
11400
|
import { svgIconClasses as svgIconClasses3 } from "@mui/material/SvgIcon";
|
|
11401
|
+
import { inputBaseClasses as inputBaseClasses4 } from "@mui/material/InputBase";
|
|
11377
11402
|
import { autocompleteClasses as autocompleteClasses3 } from "@mui/material/Autocomplete";
|
|
11378
|
-
import { jsx as
|
|
11403
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
11379
11404
|
var MuiAutocomplete = {
|
|
11380
11405
|
/** **************************************
|
|
11381
11406
|
* DEFAULT PROPS
|
|
11382
11407
|
*************************************** */
|
|
11383
|
-
defaultProps: {
|
|
11408
|
+
defaultProps: {
|
|
11409
|
+
popupIcon: /* @__PURE__ */ jsx107(Icon, { icon: "NavArrowDown" }),
|
|
11410
|
+
forcePopupIcon: true
|
|
11411
|
+
},
|
|
11384
11412
|
/** **************************************
|
|
11385
11413
|
* STYLE
|
|
11386
11414
|
*************************************** */
|
|
11387
11415
|
styleOverrides: {
|
|
11388
11416
|
root: ({ theme }) => ({
|
|
11417
|
+
// Tag count badge (e.g., "+2")
|
|
11389
11418
|
[`& span.${autocompleteClasses3.tag}`]: {
|
|
11390
11419
|
...theme.typography.subtitle2,
|
|
11391
11420
|
height: 24,
|
|
@@ -11393,9 +11422,65 @@ var MuiAutocomplete = {
|
|
|
11393
11422
|
lineHeight: "24px",
|
|
11394
11423
|
textAlign: "center",
|
|
11395
11424
|
padding: theme.spacing(0, 0.75),
|
|
11396
|
-
color: theme.vars.palette.
|
|
11397
|
-
borderRadius: theme.
|
|
11398
|
-
backgroundColor:
|
|
11425
|
+
color: theme.vars.palette.neutral[950],
|
|
11426
|
+
borderRadius: theme.radius["radius-sm"],
|
|
11427
|
+
backgroundColor: theme.vars.palette.neutral[100]
|
|
11428
|
+
},
|
|
11429
|
+
// Chip tags in multiple mode
|
|
11430
|
+
[`& .${autocompleteClasses3.tag}.${chipClasses2.root}`]: {
|
|
11431
|
+
height: 26,
|
|
11432
|
+
margin: theme.spacing(0.5, 0.5, 0.5, 0),
|
|
11433
|
+
fontSize: theme.typography.caption.fontSize,
|
|
11434
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
11435
|
+
color: theme.vars.palette.neutral[950],
|
|
11436
|
+
backgroundColor: theme.vars.palette.neutral[100]
|
|
11437
|
+
}
|
|
11438
|
+
}),
|
|
11439
|
+
// Input root - override fixed heights for multiple mode
|
|
11440
|
+
inputRoot: ({ theme }) => ({
|
|
11441
|
+
// Allow flexible height for multiple selections
|
|
11442
|
+
height: "auto",
|
|
11443
|
+
minHeight: 44,
|
|
11444
|
+
flexWrap: "wrap",
|
|
11445
|
+
alignItems: "center",
|
|
11446
|
+
paddingTop: theme.spacing(0.75),
|
|
11447
|
+
paddingBottom: theme.spacing(0.75),
|
|
11448
|
+
paddingLeft: theme.spacing(1),
|
|
11449
|
+
paddingRight: `${theme.spacing(4)} !important`,
|
|
11450
|
+
// Space for clear/popup icons
|
|
11451
|
+
// Size small
|
|
11452
|
+
[`&.${inputBaseClasses4.sizeSmall}`]: {
|
|
11453
|
+
height: "auto",
|
|
11454
|
+
minHeight: 36,
|
|
11455
|
+
paddingTop: theme.spacing(0.5),
|
|
11456
|
+
paddingBottom: theme.spacing(0.5),
|
|
11457
|
+
[`& .${autocompleteClasses3.tag}.${chipClasses2.root}`]: {
|
|
11458
|
+
height: 22,
|
|
11459
|
+
margin: theme.spacing(0.25, 0.25, 0.25, 0)
|
|
11460
|
+
}
|
|
11461
|
+
},
|
|
11462
|
+
// Size large
|
|
11463
|
+
[`&.MuiInputBase-sizeLarge`]: {
|
|
11464
|
+
height: "auto",
|
|
11465
|
+
minHeight: 48,
|
|
11466
|
+
paddingTop: theme.spacing(1),
|
|
11467
|
+
paddingBottom: theme.spacing(1),
|
|
11468
|
+
[`& .${autocompleteClasses3.tag}.${chipClasses2.root}`]: {
|
|
11469
|
+
height: 28,
|
|
11470
|
+
margin: theme.spacing(0.5, 0.5, 0.5, 0)
|
|
11471
|
+
}
|
|
11472
|
+
},
|
|
11473
|
+
// Adornment adjustments
|
|
11474
|
+
[`&.${inputBaseClasses4.adornedStart}`]: {
|
|
11475
|
+
paddingLeft: theme.spacing(1.5)
|
|
11476
|
+
}
|
|
11477
|
+
}),
|
|
11478
|
+
// Input field inside autocomplete
|
|
11479
|
+
input: ({ theme }) => ({
|
|
11480
|
+
padding: `${theme.spacing(0.75, 0.75)} !important`,
|
|
11481
|
+
minWidth: 80,
|
|
11482
|
+
[`&.${inputBaseClasses4.inputSizeSmall}`]: {
|
|
11483
|
+
padding: `${theme.spacing(0.5, 0.5)} !important`
|
|
11399
11484
|
}
|
|
11400
11485
|
}),
|
|
11401
11486
|
paper: ({ theme }) => ({
|
|
@@ -11407,7 +11492,15 @@ var MuiAutocomplete = {
|
|
|
11407
11492
|
...menuItem(theme)
|
|
11408
11493
|
}
|
|
11409
11494
|
}),
|
|
11410
|
-
endAdornment: {
|
|
11495
|
+
endAdornment: ({ theme }) => ({
|
|
11496
|
+
top: "50%",
|
|
11497
|
+
transform: "translateY(-50%)",
|
|
11498
|
+
right: theme.spacing(1),
|
|
11499
|
+
[`& .${svgIconClasses3.root}`]: { width: 24, height: 24 }
|
|
11500
|
+
}),
|
|
11501
|
+
clearIndicator: ({ theme }) => ({
|
|
11502
|
+
marginRight: theme.spacing(0.5)
|
|
11503
|
+
})
|
|
11411
11504
|
}
|
|
11412
11505
|
};
|
|
11413
11506
|
var autocomplete = { MuiAutocomplete };
|
|
@@ -11505,11 +11598,11 @@ var toggleButton = { MuiToggleButton, MuiToggleButtonGroup };
|
|
|
11505
11598
|
|
|
11506
11599
|
// src/theme/core/components/mui-x-date-picker.tsx
|
|
11507
11600
|
import IconButton7 from "@mui/material/IconButton";
|
|
11508
|
-
import
|
|
11601
|
+
import Typography15 from "@mui/material/Typography";
|
|
11509
11602
|
import { buttonClasses as buttonClasses3 } from "@mui/material/Button";
|
|
11510
11603
|
import { styled as styled3 } from "@mui/material/styles";
|
|
11511
11604
|
import { dialogActionsClasses } from "@mui/material/DialogActions";
|
|
11512
|
-
import { jsx as
|
|
11605
|
+
import { jsx as jsx108, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
11513
11606
|
var CustomCalendarHeaderRoot = styled3("div")(({ theme }) => ({
|
|
11514
11607
|
display: "flex",
|
|
11515
11608
|
justifyContent: "space-between",
|
|
@@ -11547,10 +11640,10 @@ function CustomCalendarHeader(props) {
|
|
|
11547
11640
|
onViewChange("year");
|
|
11548
11641
|
}
|
|
11549
11642
|
};
|
|
11550
|
-
return /* @__PURE__ */
|
|
11551
|
-
/* @__PURE__ */
|
|
11552
|
-
/* @__PURE__ */
|
|
11553
|
-
|
|
11643
|
+
return /* @__PURE__ */ jsxs66(CustomCalendarHeaderRoot, { children: [
|
|
11644
|
+
/* @__PURE__ */ jsx108(CustomIconButton, { onClick: selectPreviousMonth, title: "Previous month", size: "small", children: /* @__PURE__ */ jsx108(Icon, { icon: "NavArrowLeft", width: 16 }) }),
|
|
11645
|
+
/* @__PURE__ */ jsx108(
|
|
11646
|
+
Typography15,
|
|
11554
11647
|
{
|
|
11555
11648
|
variant: "subtitle1",
|
|
11556
11649
|
onClick: handleLabelClick,
|
|
@@ -11564,7 +11657,7 @@ function CustomCalendarHeader(props) {
|
|
|
11564
11657
|
children: monthLabel
|
|
11565
11658
|
}
|
|
11566
11659
|
),
|
|
11567
|
-
/* @__PURE__ */
|
|
11660
|
+
/* @__PURE__ */ jsx108(CustomIconButton, { onClick: selectNextMonth, title: "Next month", size: "small", children: /* @__PURE__ */ jsx108(Icon, { icon: "NavArrowRight", width: 16 }) })
|
|
11568
11661
|
] });
|
|
11569
11662
|
}
|
|
11570
11663
|
var localeText = {
|
|
@@ -11572,13 +11665,13 @@ var localeText = {
|
|
|
11572
11665
|
};
|
|
11573
11666
|
var defaultProps = {
|
|
11574
11667
|
date: {
|
|
11575
|
-
openPickerIcon: () => /* @__PURE__ */
|
|
11668
|
+
openPickerIcon: () => /* @__PURE__ */ jsx108(Icon, { icon: "Calendar", sx: { width: 20, height: 20 } }),
|
|
11576
11669
|
calendarHeader: CustomCalendarHeader
|
|
11577
11670
|
},
|
|
11578
11671
|
time: {
|
|
11579
|
-
openPickerIcon: () => /* @__PURE__ */
|
|
11580
|
-
rightArrowIcon: () => /* @__PURE__ */
|
|
11581
|
-
switchViewIcon: () => /* @__PURE__ */
|
|
11672
|
+
openPickerIcon: () => /* @__PURE__ */ jsx108(Icon, { icon: "Clock", sx: { width: 20, height: 20 } }),
|
|
11673
|
+
rightArrowIcon: () => /* @__PURE__ */ jsx108(Icon, { icon: "NavArrowRight" }),
|
|
11674
|
+
switchViewIcon: () => /* @__PURE__ */ jsx108(Icon, { icon: "NavArrowDownSolid" })
|
|
11582
11675
|
}
|
|
11583
11676
|
};
|
|
11584
11677
|
var dateViews = ["year", "month", "day"];
|
|
@@ -12009,18 +12102,18 @@ import "@fontsource/geist/500.css";
|
|
|
12009
12102
|
import "@fontsource/geist/600.css";
|
|
12010
12103
|
import "@fontsource/geist/700.css";
|
|
12011
12104
|
import "./satoshi-4X3TX4PE.css";
|
|
12012
|
-
import { jsx as
|
|
12105
|
+
import { jsx as jsx109, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
12013
12106
|
var ThemeProvider = ({ children }) => {
|
|
12014
12107
|
const settings = useSettings();
|
|
12015
12108
|
const theme = createTheme(settings);
|
|
12016
|
-
return /* @__PURE__ */
|
|
12109
|
+
return /* @__PURE__ */ jsxs67(
|
|
12017
12110
|
MuiThemeProvider,
|
|
12018
12111
|
{
|
|
12019
12112
|
theme,
|
|
12020
12113
|
defaultMode: schemeConfig.defaultMode,
|
|
12021
12114
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
12022
12115
|
children: [
|
|
12023
|
-
/* @__PURE__ */
|
|
12116
|
+
/* @__PURE__ */ jsx109(CssBaseline, {}),
|
|
12024
12117
|
children
|
|
12025
12118
|
]
|
|
12026
12119
|
}
|
|
@@ -12049,6 +12142,7 @@ export {
|
|
|
12049
12142
|
CopyButton,
|
|
12050
12143
|
CustomDialog,
|
|
12051
12144
|
CustomDrawer,
|
|
12145
|
+
CustomFormLabel,
|
|
12052
12146
|
DateRangeDropdown,
|
|
12053
12147
|
DateRangePicker,
|
|
12054
12148
|
Download,
|