@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/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,
|
|
@@ -10822,20 +10807,38 @@ var Field = {
|
|
|
10822
10807
|
GooglePlacesAutocomplete: RHFGooglePlacesAutocomplete
|
|
10823
10808
|
};
|
|
10824
10809
|
|
|
10825
|
-
// src/components/
|
|
10810
|
+
// src/components/FormLabel/index.tsx
|
|
10826
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";
|
|
10827
10830
|
import IconButton6 from "@mui/material/IconButton";
|
|
10828
|
-
import { jsx as
|
|
10831
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
10829
10832
|
var CopyButton = ({ text: text2, size = "small" }) => {
|
|
10830
10833
|
const { copy, isCopied } = useCopyToClipboard();
|
|
10831
|
-
return /* @__PURE__ */
|
|
10834
|
+
return /* @__PURE__ */ jsx104(Tooltip2, { title: isCopied ? "Copied" : "Copy", children: /* @__PURE__ */ jsx104(
|
|
10832
10835
|
IconButton6,
|
|
10833
10836
|
{
|
|
10834
10837
|
size,
|
|
10835
10838
|
onClick: () => copy(text2),
|
|
10836
10839
|
"aria-label": "copy token",
|
|
10837
10840
|
sx: { color: "icon.black" },
|
|
10838
|
-
children: /* @__PURE__ */
|
|
10841
|
+
children: /* @__PURE__ */ jsx104(Icon, { icon: isCopied ? "ClipboardCheck" : "Copy", sx: { width: 20, height: 20 } })
|
|
10839
10842
|
}
|
|
10840
10843
|
) });
|
|
10841
10844
|
};
|
|
@@ -10844,9 +10847,9 @@ var CopyButton = ({ text: text2, size = "small" }) => {
|
|
|
10844
10847
|
import Portal2 from "@mui/material/Portal";
|
|
10845
10848
|
import Box25 from "@mui/material/Box";
|
|
10846
10849
|
import LinearProgress from "@mui/material/LinearProgress";
|
|
10847
|
-
import { jsx as
|
|
10850
|
+
import { jsx as jsx105 } from "react/jsx-runtime";
|
|
10848
10851
|
var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
10849
|
-
const content = /* @__PURE__ */
|
|
10852
|
+
const content = /* @__PURE__ */ jsx105(
|
|
10850
10853
|
Box25,
|
|
10851
10854
|
{
|
|
10852
10855
|
sx: {
|
|
@@ -10860,16 +10863,16 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
|
10860
10863
|
...sx
|
|
10861
10864
|
},
|
|
10862
10865
|
...rest,
|
|
10863
|
-
children: /* @__PURE__ */
|
|
10866
|
+
children: /* @__PURE__ */ jsx105(LinearProgress, { color: "primary", sx: { width: 1, maxWidth: 360 } })
|
|
10864
10867
|
}
|
|
10865
10868
|
);
|
|
10866
10869
|
if (portal) {
|
|
10867
|
-
return /* @__PURE__ */
|
|
10870
|
+
return /* @__PURE__ */ jsx105(Portal2, { children: content });
|
|
10868
10871
|
}
|
|
10869
10872
|
return content;
|
|
10870
10873
|
};
|
|
10871
10874
|
var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
10872
|
-
const content = /* @__PURE__ */
|
|
10875
|
+
const content = /* @__PURE__ */ jsx105(
|
|
10873
10876
|
Box25,
|
|
10874
10877
|
{
|
|
10875
10878
|
sx: {
|
|
@@ -10886,17 +10889,17 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
10886
10889
|
...sx
|
|
10887
10890
|
},
|
|
10888
10891
|
...rest,
|
|
10889
|
-
children: /* @__PURE__ */
|
|
10892
|
+
children: /* @__PURE__ */ jsx105(AnimatedLogo, {})
|
|
10890
10893
|
}
|
|
10891
10894
|
);
|
|
10892
10895
|
if (portal) {
|
|
10893
|
-
return /* @__PURE__ */
|
|
10896
|
+
return /* @__PURE__ */ jsx105(Portal2, { children: content });
|
|
10894
10897
|
}
|
|
10895
10898
|
return content;
|
|
10896
10899
|
};
|
|
10897
10900
|
|
|
10898
10901
|
// src/theme/core/components/mui-x-data-grid.tsx
|
|
10899
|
-
import { jsx as
|
|
10902
|
+
import { jsx as jsx106, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
10900
10903
|
var MuiDataGrid = {
|
|
10901
10904
|
/** **************************************
|
|
10902
10905
|
* DEFAULT PROPS
|
|
@@ -10904,9 +10907,9 @@ var MuiDataGrid = {
|
|
|
10904
10907
|
defaultProps: {
|
|
10905
10908
|
slots: {
|
|
10906
10909
|
/* Column */
|
|
10907
|
-
columnSortedAscendingIcon: (props) => /* @__PURE__ */
|
|
10908
|
-
columnSortedDescendingIcon: (props) => /* @__PURE__ */
|
|
10909
|
-
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(
|
|
10910
10913
|
DataGridArrowUpIcon,
|
|
10911
10914
|
{
|
|
10912
10915
|
fontSize: props.fontSize,
|
|
@@ -10914,28 +10917,28 @@ var MuiDataGrid = {
|
|
|
10914
10917
|
sx: { color: "text.disabled" }
|
|
10915
10918
|
}
|
|
10916
10919
|
),
|
|
10917
|
-
columnMenuIcon: (props) => /* @__PURE__ */
|
|
10918
|
-
columnMenuSortAscendingIcon: (props) => /* @__PURE__ */
|
|
10919
|
-
columnMenuSortDescendingIcon: (props) => /* @__PURE__ */
|
|
10920
|
-
columnMenuFilterIcon: (props) => /* @__PURE__ */
|
|
10921
|
-
columnMenuHideIcon: (props) => /* @__PURE__ */
|
|
10922
|
-
columnMenuManageColumnsIcon: (props) => /* @__PURE__ */
|
|
10923
|
-
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 }),
|
|
10924
10927
|
/* Filter */
|
|
10925
|
-
filterPanelDeleteIcon: (props) => /* @__PURE__ */
|
|
10926
|
-
openFilterButtonIcon: (props) => /* @__PURE__ */
|
|
10927
|
-
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 }),
|
|
10928
10931
|
/* Density */
|
|
10929
|
-
densityCompactIcon: (props) => /* @__PURE__ */
|
|
10930
|
-
densityStandardIcon: (props) => /* @__PURE__ */
|
|
10931
|
-
densityComfortableIcon: (props) => /* @__PURE__ */
|
|
10932
|
+
densityCompactIcon: (props) => /* @__PURE__ */ jsx106(DataGridDensityCompactIcon, { ...props }),
|
|
10933
|
+
densityStandardIcon: (props) => /* @__PURE__ */ jsx106(DataGridDensityStandardIcon, { ...props }),
|
|
10934
|
+
densityComfortableIcon: (props) => /* @__PURE__ */ jsx106(DataGridDensityComfortableIcon, { ...props }),
|
|
10932
10935
|
/* Export */
|
|
10933
|
-
exportIcon: (props) => /* @__PURE__ */
|
|
10936
|
+
exportIcon: (props) => /* @__PURE__ */ jsx106(DataGridExportIcon, { ...props }),
|
|
10934
10937
|
/* Quick Filter */
|
|
10935
|
-
quickFilterIcon: (props) => /* @__PURE__ */
|
|
10936
|
-
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 }),
|
|
10937
10940
|
/* Actions Column */
|
|
10938
|
-
moreActionsIcon: (props) => /* @__PURE__ */
|
|
10941
|
+
moreActionsIcon: (props) => /* @__PURE__ */ jsx106(Icon, { icon: "MoreHorizontal", sx: { width: 20, height: 20 }, ...props })
|
|
10939
10942
|
},
|
|
10940
10943
|
slotProps: {
|
|
10941
10944
|
basePopper: { placement: "bottom-end" },
|
|
@@ -11112,15 +11115,15 @@ var MuiDataGrid = {
|
|
|
11112
11115
|
}
|
|
11113
11116
|
};
|
|
11114
11117
|
var dataGrid = { MuiDataGrid };
|
|
11115
|
-
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */
|
|
11116
|
-
/* @__PURE__ */
|
|
11118
|
+
var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ jsxs65(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11119
|
+
/* @__PURE__ */ jsx106(
|
|
11117
11120
|
"path",
|
|
11118
11121
|
{
|
|
11119
11122
|
fill: "currentColor",
|
|
11120
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"
|
|
11121
11124
|
}
|
|
11122
11125
|
),
|
|
11123
|
-
/* @__PURE__ */
|
|
11126
|
+
/* @__PURE__ */ jsx106(
|
|
11124
11127
|
"path",
|
|
11125
11128
|
{
|
|
11126
11129
|
fill: "currentColor",
|
|
@@ -11129,15 +11132,15 @@ var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { s
|
|
|
11129
11132
|
}
|
|
11130
11133
|
)
|
|
11131
11134
|
] });
|
|
11132
|
-
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */
|
|
11133
|
-
/* @__PURE__ */
|
|
11135
|
+
var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ jsxs65(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11136
|
+
/* @__PURE__ */ jsx106(
|
|
11134
11137
|
"path",
|
|
11135
11138
|
{
|
|
11136
11139
|
fill: "currentColor",
|
|
11137
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"
|
|
11138
11141
|
}
|
|
11139
11142
|
),
|
|
11140
|
-
/* @__PURE__ */
|
|
11143
|
+
/* @__PURE__ */ jsx106(
|
|
11141
11144
|
"path",
|
|
11142
11145
|
{
|
|
11143
11146
|
fill: "currentColor",
|
|
@@ -11146,15 +11149,15 @@ var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, {
|
|
|
11146
11149
|
}
|
|
11147
11150
|
)
|
|
11148
11151
|
] });
|
|
11149
|
-
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */
|
|
11152
|
+
var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11150
11153
|
"path",
|
|
11151
11154
|
{
|
|
11152
11155
|
fill: "currentColor",
|
|
11153
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"
|
|
11154
11157
|
}
|
|
11155
11158
|
) });
|
|
11156
|
-
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */
|
|
11157
|
-
/* @__PURE__ */
|
|
11159
|
+
var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs65(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
|
|
11160
|
+
/* @__PURE__ */ jsx106(
|
|
11158
11161
|
"path",
|
|
11159
11162
|
{
|
|
11160
11163
|
fill: "currentColor",
|
|
@@ -11163,7 +11166,7 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { sx
|
|
|
11163
11166
|
clipRule: "evenodd"
|
|
11164
11167
|
}
|
|
11165
11168
|
),
|
|
11166
|
-
/* @__PURE__ */
|
|
11169
|
+
/* @__PURE__ */ jsx106(
|
|
11167
11170
|
"path",
|
|
11168
11171
|
{
|
|
11169
11172
|
fill: "currentColor",
|
|
@@ -11171,9 +11174,9 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { sx
|
|
|
11171
11174
|
}
|
|
11172
11175
|
)
|
|
11173
11176
|
] });
|
|
11174
|
-
var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */
|
|
11175
|
-
/* @__PURE__ */
|
|
11176
|
-
/* @__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(
|
|
11177
11180
|
"path",
|
|
11178
11181
|
{
|
|
11179
11182
|
fill: "currentColor",
|
|
@@ -11183,7 +11186,7 @@ var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ jsxs64(SvgIcon3, { sx: {
|
|
|
11183
11186
|
}
|
|
11184
11187
|
)
|
|
11185
11188
|
] });
|
|
11186
|
-
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */
|
|
11189
|
+
var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11187
11190
|
"path",
|
|
11188
11191
|
{
|
|
11189
11192
|
fill: "currentColor",
|
|
@@ -11192,23 +11195,23 @@ var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx105(SvgIcon3, {
|
|
|
11192
11195
|
clipRule: "evenodd"
|
|
11193
11196
|
}
|
|
11194
11197
|
) });
|
|
11195
|
-
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */
|
|
11198
|
+
var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11196
11199
|
"path",
|
|
11197
11200
|
{
|
|
11198
11201
|
fill: "currentColor",
|
|
11199
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"
|
|
11200
11203
|
}
|
|
11201
11204
|
) });
|
|
11202
|
-
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */
|
|
11205
|
+
var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11203
11206
|
"path",
|
|
11204
11207
|
{
|
|
11205
11208
|
fill: "currentColor",
|
|
11206
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"
|
|
11207
11210
|
}
|
|
11208
11211
|
) });
|
|
11209
|
-
var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */
|
|
11210
|
-
/* @__PURE__ */
|
|
11211
|
-
/* @__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(
|
|
11212
11215
|
"path",
|
|
11213
11216
|
{
|
|
11214
11217
|
fill: "currentColor",
|
|
@@ -11216,16 +11219,16 @@ var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ jsx105(SvgIcon3, { sx:
|
|
|
11216
11219
|
}
|
|
11217
11220
|
)
|
|
11218
11221
|
] }) });
|
|
11219
|
-
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */
|
|
11222
|
+
var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ jsx106(SvgIcon3, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ jsx106(
|
|
11220
11223
|
"path",
|
|
11221
11224
|
{
|
|
11222
11225
|
fill: "currentColor",
|
|
11223
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"
|
|
11224
11227
|
}
|
|
11225
11228
|
) });
|
|
11226
|
-
var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */
|
|
11227
|
-
/* @__PURE__ */
|
|
11228
|
-
/* @__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(
|
|
11229
11232
|
"path",
|
|
11230
11233
|
{
|
|
11231
11234
|
fill: "currentColor",
|
|
@@ -11233,9 +11236,9 @@ var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ jsx105(Sv
|
|
|
11233
11236
|
}
|
|
11234
11237
|
)
|
|
11235
11238
|
] }) });
|
|
11236
|
-
var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */
|
|
11237
|
-
/* @__PURE__ */
|
|
11238
|
-
/* @__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(
|
|
11239
11242
|
"path",
|
|
11240
11243
|
{
|
|
11241
11244
|
fill: "currentColor",
|
|
@@ -11393,19 +11396,25 @@ var MuiButtonGroup = {
|
|
|
11393
11396
|
var buttonGroup = { MuiButtonGroup };
|
|
11394
11397
|
|
|
11395
11398
|
// src/theme/core/components/autocomplete.tsx
|
|
11399
|
+
import { chipClasses as chipClasses2 } from "@mui/material/Chip";
|
|
11396
11400
|
import { svgIconClasses as svgIconClasses3 } from "@mui/material/SvgIcon";
|
|
11401
|
+
import { inputBaseClasses as inputBaseClasses4 } from "@mui/material/InputBase";
|
|
11397
11402
|
import { autocompleteClasses as autocompleteClasses3 } from "@mui/material/Autocomplete";
|
|
11398
|
-
import { jsx as
|
|
11403
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
11399
11404
|
var MuiAutocomplete = {
|
|
11400
11405
|
/** **************************************
|
|
11401
11406
|
* DEFAULT PROPS
|
|
11402
11407
|
*************************************** */
|
|
11403
|
-
defaultProps: {
|
|
11408
|
+
defaultProps: {
|
|
11409
|
+
popupIcon: /* @__PURE__ */ jsx107(Icon, { icon: "NavArrowDown" }),
|
|
11410
|
+
forcePopupIcon: true
|
|
11411
|
+
},
|
|
11404
11412
|
/** **************************************
|
|
11405
11413
|
* STYLE
|
|
11406
11414
|
*************************************** */
|
|
11407
11415
|
styleOverrides: {
|
|
11408
11416
|
root: ({ theme }) => ({
|
|
11417
|
+
// Tag count badge (e.g., "+2")
|
|
11409
11418
|
[`& span.${autocompleteClasses3.tag}`]: {
|
|
11410
11419
|
...theme.typography.subtitle2,
|
|
11411
11420
|
height: 24,
|
|
@@ -11413,9 +11422,65 @@ var MuiAutocomplete = {
|
|
|
11413
11422
|
lineHeight: "24px",
|
|
11414
11423
|
textAlign: "center",
|
|
11415
11424
|
padding: theme.spacing(0, 0.75),
|
|
11416
|
-
color: theme.vars.palette.
|
|
11417
|
-
borderRadius: theme.
|
|
11418
|
-
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`
|
|
11419
11484
|
}
|
|
11420
11485
|
}),
|
|
11421
11486
|
paper: ({ theme }) => ({
|
|
@@ -11427,7 +11492,15 @@ var MuiAutocomplete = {
|
|
|
11427
11492
|
...menuItem(theme)
|
|
11428
11493
|
}
|
|
11429
11494
|
}),
|
|
11430
|
-
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
|
+
})
|
|
11431
11504
|
}
|
|
11432
11505
|
};
|
|
11433
11506
|
var autocomplete = { MuiAutocomplete };
|
|
@@ -11525,11 +11598,11 @@ var toggleButton = { MuiToggleButton, MuiToggleButtonGroup };
|
|
|
11525
11598
|
|
|
11526
11599
|
// src/theme/core/components/mui-x-date-picker.tsx
|
|
11527
11600
|
import IconButton7 from "@mui/material/IconButton";
|
|
11528
|
-
import
|
|
11601
|
+
import Typography15 from "@mui/material/Typography";
|
|
11529
11602
|
import { buttonClasses as buttonClasses3 } from "@mui/material/Button";
|
|
11530
11603
|
import { styled as styled3 } from "@mui/material/styles";
|
|
11531
11604
|
import { dialogActionsClasses } from "@mui/material/DialogActions";
|
|
11532
|
-
import { jsx as
|
|
11605
|
+
import { jsx as jsx108, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
11533
11606
|
var CustomCalendarHeaderRoot = styled3("div")(({ theme }) => ({
|
|
11534
11607
|
display: "flex",
|
|
11535
11608
|
justifyContent: "space-between",
|
|
@@ -11567,10 +11640,10 @@ function CustomCalendarHeader(props) {
|
|
|
11567
11640
|
onViewChange("year");
|
|
11568
11641
|
}
|
|
11569
11642
|
};
|
|
11570
|
-
return /* @__PURE__ */
|
|
11571
|
-
/* @__PURE__ */
|
|
11572
|
-
/* @__PURE__ */
|
|
11573
|
-
|
|
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,
|
|
11574
11647
|
{
|
|
11575
11648
|
variant: "subtitle1",
|
|
11576
11649
|
onClick: handleLabelClick,
|
|
@@ -11584,7 +11657,7 @@ function CustomCalendarHeader(props) {
|
|
|
11584
11657
|
children: monthLabel
|
|
11585
11658
|
}
|
|
11586
11659
|
),
|
|
11587
|
-
/* @__PURE__ */
|
|
11660
|
+
/* @__PURE__ */ jsx108(CustomIconButton, { onClick: selectNextMonth, title: "Next month", size: "small", children: /* @__PURE__ */ jsx108(Icon, { icon: "NavArrowRight", width: 16 }) })
|
|
11588
11661
|
] });
|
|
11589
11662
|
}
|
|
11590
11663
|
var localeText = {
|
|
@@ -11592,13 +11665,13 @@ var localeText = {
|
|
|
11592
11665
|
};
|
|
11593
11666
|
var defaultProps = {
|
|
11594
11667
|
date: {
|
|
11595
|
-
openPickerIcon: () => /* @__PURE__ */
|
|
11668
|
+
openPickerIcon: () => /* @__PURE__ */ jsx108(Icon, { icon: "Calendar", sx: { width: 20, height: 20 } }),
|
|
11596
11669
|
calendarHeader: CustomCalendarHeader
|
|
11597
11670
|
},
|
|
11598
11671
|
time: {
|
|
11599
|
-
openPickerIcon: () => /* @__PURE__ */
|
|
11600
|
-
rightArrowIcon: () => /* @__PURE__ */
|
|
11601
|
-
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" })
|
|
11602
11675
|
}
|
|
11603
11676
|
};
|
|
11604
11677
|
var dateViews = ["year", "month", "day"];
|
|
@@ -12029,18 +12102,18 @@ import "@fontsource/geist/500.css";
|
|
|
12029
12102
|
import "@fontsource/geist/600.css";
|
|
12030
12103
|
import "@fontsource/geist/700.css";
|
|
12031
12104
|
import "./satoshi-4X3TX4PE.css";
|
|
12032
|
-
import { jsx as
|
|
12105
|
+
import { jsx as jsx109, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
12033
12106
|
var ThemeProvider = ({ children }) => {
|
|
12034
12107
|
const settings = useSettings();
|
|
12035
12108
|
const theme = createTheme(settings);
|
|
12036
|
-
return /* @__PURE__ */
|
|
12109
|
+
return /* @__PURE__ */ jsxs67(
|
|
12037
12110
|
MuiThemeProvider,
|
|
12038
12111
|
{
|
|
12039
12112
|
theme,
|
|
12040
12113
|
defaultMode: schemeConfig.defaultMode,
|
|
12041
12114
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
12042
12115
|
children: [
|
|
12043
|
-
/* @__PURE__ */
|
|
12116
|
+
/* @__PURE__ */ jsx109(CssBaseline, {}),
|
|
12044
12117
|
children
|
|
12045
12118
|
]
|
|
12046
12119
|
}
|
|
@@ -12069,6 +12142,7 @@ export {
|
|
|
12069
12142
|
CopyButton,
|
|
12070
12143
|
CustomDialog,
|
|
12071
12144
|
CustomDrawer,
|
|
12145
|
+
CustomFormLabel,
|
|
12072
12146
|
DateRangeDropdown,
|
|
12073
12147
|
DateRangePicker,
|
|
12074
12148
|
Download,
|