@telicent-oss/ds 4.1.0 → 4.3.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 +2 -0
- package/dist/ds.js +215 -115
- package/dist/ds.js.map +1 -1
- package/dist/ds.umd.cjs +217 -112
- package/dist/ds.umd.cjs.map +1 -1
- package/dist/export.d.ts +180 -72
- package/dist/llms.txt +947 -0
- package/package.json +8 -6
package/dist/ds.umd.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(global2, factory) {
|
|
2
|
-
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@mui/material"), require("react"), require("@mui/material/styles"), require("@mui/material/SvgIcon"), require("@mui/material/Container"), require("@mui/material/AppBar"), require("@mui/material/Box"), require("@mui/material/Stack"), require("@mui/material/Typography"), require("@mui/material/Grid"), require("@emotion/react"), require("@mui/material/List"), require("@mui/material/ListItem"), require("@mui/material/ListItemButton"), require("@mui/material/ListItemIcon"), require("@mui/material/ListItemText"), require("@mui/material/Menu"), require("@mui/material/MenuItem"), require("@mui/material/IconButton"), require("@mui/material/Chip"), require("@mui/material/Divider"), require("@mui/material/Avatar"), require("@mui/material/Popover"), require("@mui/material/Table"), require("@mui/material/TableBody"), require("@mui/material/TableCell"), require("@mui/material/TableHead"), require("@mui/material/TableRow"), require("@mui/material/LinearProgress"), require("@mui/material/Button"), require("@mui/material/Alert"), require("@mui/material/Skeleton"), require("notistack"), require("@mui/material/Tooltip"), require("@mui/material/ToggleButton"), require("@mui/x-date-pickers/DatePicker"), require("@mui/x-date-pickers/LocalizationProvider"), require("@mui/x-date-pickers/AdapterDayjs"), require("@mui/x-date-pickers/DateTimePicker"), require("@mui/material/FormControl"), require("@mui/material/FormControlLabel"), require("@mui/material/FormHelperText"), require("@mui/material/CircularProgress"), require("@mui/material/OutlinedInput"), require("@mui/system"), require("@mui/material/useAutocomplete"), require("@mui/material/Popper"), require("@mui/material/Paper"), require("@mui/material/utils"), require("@mui/material/InputBase"), require("@mui/material/Tabs"), require("@mui/material/Tab"), require("@mui/material/Card"), require("@mui/material/CardHeader"), require("@mui/material/CardContent"), require("@mui/material/CardActions"), require("react-dom"), require("@mui/material/colors"), require("@mui/material/CssBaseline"), require("@mui/material/Modal"), require("@mui/material/Drawer"), require("@mui/material/Collapse")) : typeof define === "function" && define.amd ? define(["exports", "@mui/material", "react", "@mui/material/styles", "@mui/material/SvgIcon", "@mui/material/Container", "@mui/material/AppBar", "@mui/material/Box", "@mui/material/Stack", "@mui/material/Typography", "@mui/material/Grid", "@emotion/react", "@mui/material/List", "@mui/material/ListItem", "@mui/material/ListItemButton", "@mui/material/ListItemIcon", "@mui/material/ListItemText", "@mui/material/Menu", "@mui/material/MenuItem", "@mui/material/IconButton", "@mui/material/Chip", "@mui/material/Divider", "@mui/material/Avatar", "@mui/material/Popover", "@mui/material/Table", "@mui/material/TableBody", "@mui/material/TableCell", "@mui/material/TableHead", "@mui/material/TableRow", "@mui/material/LinearProgress", "@mui/material/Button", "@mui/material/Alert", "@mui/material/Skeleton", "notistack", "@mui/material/Tooltip", "@mui/material/ToggleButton", "@mui/x-date-pickers/DatePicker", "@mui/x-date-pickers/LocalizationProvider", "@mui/x-date-pickers/AdapterDayjs", "@mui/x-date-pickers/DateTimePicker", "@mui/material/FormControl", "@mui/material/FormControlLabel", "@mui/material/FormHelperText", "@mui/material/CircularProgress", "@mui/material/OutlinedInput", "@mui/system", "@mui/material/useAutocomplete", "@mui/material/Popper", "@mui/material/Paper", "@mui/material/utils", "@mui/material/InputBase", "@mui/material/Tabs", "@mui/material/Tab", "@mui/material/Card", "@mui/material/CardHeader", "@mui/material/CardContent", "@mui/material/CardActions", "react-dom", "@mui/material/colors", "@mui/material/CssBaseline", "@mui/material/Modal", "@mui/material/Drawer", "@mui/material/Collapse"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2["@telicent-oss/ds"] = {}, global2.material, global2.React, global2.styles$3, global2.MUISvgIcon, global2.MUIContainer, global2.MUIAppBar, global2.MUIBox, global2.MUIStack, global2.Typography, global2.MUIGrid, global2.react, global2.MUIList, global2.MUIListItem, global2.MUIListItemButton, global2.MUIListItemIcon, global2.MUIListItemText, global2.MUIMenu, global2.MUIMenuItem, global2.MUIIconButton, global2.MUIChip, global2.MUIDivider, global2.MUIAvatar, global2.MUIPopOver, global2.TableRaw, global2.TableBodyRaw, global2.TableCellRaw, global2.TableHeadRaw, global2.TableRowRaw, global2.LinearProgressRaw, global2.MUIButton, global2.Alert, global2.SkeletonRaw, global2.notistack, global2.MUITooltip, global2.MUIToggleButton, global2.DatePicker$1, global2.LocalizationProvider, global2.AdapterDayjs, global2.DateTimePicker$1, global2.FormControlRaw, global2.FormControlLabelRaw, global2.FormHelperTextRaw, global2.MUICircularProgress, global2.OutlinedInput, global2.system, global2.useAutocomplete, global2.MUIPopper, global2.MUIPaper, global2.utils$2, global2.InputBase, global2.MuiTabs, global2.MuiTab, global2.MUICard, global2.MUICardHeader, global2.MUICardContent, global2.MUICardAction, global2.ReactDOM, global2.colors, global2.MUICssBaseline, global2.MUIModal, global2.MuiDrawer, global2.Collapse));
|
|
3
|
-
})(this, function(exports2, material, React$1, styles$3, MUISvgIcon, MUIContainer, MUIAppBar, MUIBox, MUIStack, Typography, MUIGrid, react, MUIList, MUIListItem, MUIListItemButton, MUIListItemIcon, MUIListItemText, MUIMenu, MUIMenuItem, MUIIconButton, MUIChip, MUIDivider, MUIAvatar, MUIPopOver, TableRaw, TableBodyRaw, TableCellRaw, TableHeadRaw, TableRowRaw, LinearProgressRaw, MUIButton, Alert, SkeletonRaw, notistack, MUITooltip, MUIToggleButton, DatePicker$1, LocalizationProvider, AdapterDayjs, DateTimePicker$1, FormControlRaw, FormControlLabelRaw, FormHelperTextRaw, MUICircularProgress, OutlinedInput, system, useAutocomplete, MUIPopper, MUIPaper, utils$2, InputBase, MuiTabs, MuiTab, MUICard, MUICardHeader, MUICardContent, MUICardAction, ReactDOM, colors, MUICssBaseline, MUIModal, MuiDrawer, Collapse) {
|
|
2
|
+
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("@mui/material"), require("react"), require("@mui/material/styles"), require("@mui/material/SvgIcon"), require("@mui/material/Container"), require("@mui/material/AppBar"), require("@mui/material/Box"), require("@mui/material/Stack"), require("@mui/material/Typography"), require("@mui/material/Grid"), require("@emotion/react"), require("@mui/material/List"), require("@mui/material/ListItem"), require("@mui/material/ListItemButton"), require("@mui/material/ListItemIcon"), require("@mui/material/ListItemText"), require("@mui/material/Menu"), require("@mui/material/MenuItem"), require("@mui/material/IconButton"), require("@mui/material/Chip"), require("@mui/material/Divider"), require("@mui/material/Avatar"), require("@mui/material/Popover"), require("@mui/material/Table"), require("@mui/material/TableBody"), require("@mui/material/TableCell"), require("@mui/material/TableHead"), require("@mui/material/TableRow"), require("@mui/material/LinearProgress"), require("@mui/material/Button"), require("@mui/material/Alert"), require("@mui/material/AlertTitle"), require("@mui/material/Skeleton"), require("notistack"), require("@mui/material/Tooltip"), require("@mui/material/ToggleButton"), require("@mui/x-date-pickers/DatePicker"), require("@mui/x-date-pickers/LocalizationProvider"), require("@mui/x-date-pickers/AdapterDayjs"), require("@mui/x-date-pickers/DateTimePicker"), require("@mui/material/FormControl"), require("@mui/material/FormControlLabel"), require("@mui/material/FormHelperText"), require("@mui/material/CircularProgress"), require("@mui/material/OutlinedInput"), require("@mui/system"), require("@mui/material/useAutocomplete"), require("@mui/material/Popper"), require("@mui/material/Paper"), require("@mui/material/utils"), require("@mui/material/InputBase"), require("@mui/material/Tabs"), require("@mui/material/Tab"), require("@mui/material/Accordion"), require("@mui/material/AccordionSummary"), require("@mui/material/AccordionDetails"), require("@mui/material/Card"), require("@mui/material/CardHeader"), require("@mui/material/CardContent"), require("@mui/material/CardActions"), require("react-dom"), require("@mui/material/colors"), require("@mui/material/CssBaseline"), require("@mui/material/Modal"), require("@mui/material/Drawer"), require("@mui/material/Collapse")) : typeof define === "function" && define.amd ? define(["exports", "@mui/material", "react", "@mui/material/styles", "@mui/material/SvgIcon", "@mui/material/Container", "@mui/material/AppBar", "@mui/material/Box", "@mui/material/Stack", "@mui/material/Typography", "@mui/material/Grid", "@emotion/react", "@mui/material/List", "@mui/material/ListItem", "@mui/material/ListItemButton", "@mui/material/ListItemIcon", "@mui/material/ListItemText", "@mui/material/Menu", "@mui/material/MenuItem", "@mui/material/IconButton", "@mui/material/Chip", "@mui/material/Divider", "@mui/material/Avatar", "@mui/material/Popover", "@mui/material/Table", "@mui/material/TableBody", "@mui/material/TableCell", "@mui/material/TableHead", "@mui/material/TableRow", "@mui/material/LinearProgress", "@mui/material/Button", "@mui/material/Alert", "@mui/material/AlertTitle", "@mui/material/Skeleton", "notistack", "@mui/material/Tooltip", "@mui/material/ToggleButton", "@mui/x-date-pickers/DatePicker", "@mui/x-date-pickers/LocalizationProvider", "@mui/x-date-pickers/AdapterDayjs", "@mui/x-date-pickers/DateTimePicker", "@mui/material/FormControl", "@mui/material/FormControlLabel", "@mui/material/FormHelperText", "@mui/material/CircularProgress", "@mui/material/OutlinedInput", "@mui/system", "@mui/material/useAutocomplete", "@mui/material/Popper", "@mui/material/Paper", "@mui/material/utils", "@mui/material/InputBase", "@mui/material/Tabs", "@mui/material/Tab", "@mui/material/Accordion", "@mui/material/AccordionSummary", "@mui/material/AccordionDetails", "@mui/material/Card", "@mui/material/CardHeader", "@mui/material/CardContent", "@mui/material/CardActions", "react-dom", "@mui/material/colors", "@mui/material/CssBaseline", "@mui/material/Modal", "@mui/material/Drawer", "@mui/material/Collapse"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2["@telicent-oss/ds"] = {}, global2.material, global2.React, global2.styles$3, global2.MUISvgIcon, global2.MUIContainer, global2.MUIAppBar, global2.MUIBox, global2.MUIStack, global2.Typography, global2.MUIGrid, global2.react, global2.MUIList, global2.MUIListItem, global2.MUIListItemButton, global2.MUIListItemIcon, global2.MUIListItemText, global2.MUIMenu, global2.MUIMenuItem, global2.MUIIconButton, global2.MUIChip, global2.MUIDivider, global2.MUIAvatar, global2.MUIPopOver, global2.TableRaw, global2.TableBodyRaw, global2.TableCellRaw, global2.TableHeadRaw, global2.TableRowRaw, global2.LinearProgressRaw, global2.MUIButton, global2.Alert, global2.AlertTitle, global2.SkeletonRaw, global2.notistack, global2.MUITooltip, global2.MUIToggleButton, global2.DatePicker$1, global2.LocalizationProvider, global2.AdapterDayjs, global2.DateTimePicker$1, global2.FormControlRaw, global2.FormControlLabelRaw, global2.FormHelperTextRaw, global2.MUICircularProgress, global2.OutlinedInput, global2.system, global2.useAutocomplete, global2.MUIPopper, global2.MUIPaper, global2.utils$2, global2.InputBase, global2.MuiTabs, global2.MuiTab, global2.MuiAccordion, global2.MuiAccordionSummary, global2.MuiAccordionDetails, global2.MUICard, global2.MUICardHeader, global2.MUICardContent, global2.MUICardAction, global2.ReactDOM, global2.colors, global2.MUICssBaseline, global2.MUIModal, global2.MuiDrawer, global2.Collapse));
|
|
3
|
+
})(this, function(exports2, material, React$1, styles$3, MUISvgIcon, MUIContainer, MUIAppBar, MUIBox, MUIStack, Typography, MUIGrid, react, MUIList, MUIListItem, MUIListItemButton, MUIListItemIcon, MUIListItemText, MUIMenu, MUIMenuItem, MUIIconButton, MUIChip, MUIDivider, MUIAvatar, MUIPopOver, TableRaw, TableBodyRaw, TableCellRaw, TableHeadRaw, TableRowRaw, LinearProgressRaw, MUIButton, Alert, AlertTitle, SkeletonRaw, notistack, MUITooltip, MUIToggleButton, DatePicker$1, LocalizationProvider, AdapterDayjs, DateTimePicker$1, FormControlRaw, FormControlLabelRaw, FormHelperTextRaw, MUICircularProgress, OutlinedInput, system, useAutocomplete, MUIPopper, MUIPaper, utils$2, InputBase, MuiTabs, MuiTab, MuiAccordion, MuiAccordionSummary, MuiAccordionDetails, MUICard, MUICardHeader, MUICardContent, MUICardAction, ReactDOM, colors, MUICssBaseline, MUIModal, MuiDrawer, Collapse) {
|
|
4
4
|
"use strict";var __defProp = Object.defineProperty;
|
|
5
5
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
6
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -51,6 +51,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
51
51
|
const LinearProgressRaw__default = /* @__PURE__ */ _interopDefault(LinearProgressRaw);
|
|
52
52
|
const MUIButton__default = /* @__PURE__ */ _interopDefault(MUIButton);
|
|
53
53
|
const Alert__default = /* @__PURE__ */ _interopDefault(Alert);
|
|
54
|
+
const AlertTitle__default = /* @__PURE__ */ _interopDefault(AlertTitle);
|
|
54
55
|
const SkeletonRaw__default = /* @__PURE__ */ _interopDefault(SkeletonRaw);
|
|
55
56
|
const MUITooltip__default = /* @__PURE__ */ _interopDefault(MUITooltip);
|
|
56
57
|
const MUIToggleButton__default = /* @__PURE__ */ _interopDefault(MUIToggleButton);
|
|
@@ -65,6 +66,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
65
66
|
const InputBase__default = /* @__PURE__ */ _interopDefault(InputBase);
|
|
66
67
|
const MuiTabs__default = /* @__PURE__ */ _interopDefault(MuiTabs);
|
|
67
68
|
const MuiTab__default = /* @__PURE__ */ _interopDefault(MuiTab);
|
|
69
|
+
const MuiAccordion__default = /* @__PURE__ */ _interopDefault(MuiAccordion);
|
|
70
|
+
const MuiAccordionSummary__default = /* @__PURE__ */ _interopDefault(MuiAccordionSummary);
|
|
71
|
+
const MuiAccordionDetails__default = /* @__PURE__ */ _interopDefault(MuiAccordionDetails);
|
|
68
72
|
const MUICard__default = /* @__PURE__ */ _interopDefault(MUICard);
|
|
69
73
|
const MUICardHeader__default = /* @__PURE__ */ _interopDefault(MUICardHeader);
|
|
70
74
|
const MUICardContent__default = /* @__PURE__ */ _interopDefault(MUICardContent);
|
|
@@ -2068,6 +2072,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2068
2072
|
/* @__PURE__ */ jsx("circle", { cx: "18", cy: "13.5", r: "3.375", stroke: "currentColor", strokeWidth: "2.25" }),
|
|
2069
2073
|
/* @__PURE__ */ jsx("path", { d: "M12 25.5V23.25C12 21.5931 13.3431 20.25 15 20.25H21C22.6569 20.25 24 21.5931 24 23.25V25.5", stroke: "currentColor", strokeWidth: "2.25", strokeLinecap: "round" })
|
|
2070
2074
|
] }) });
|
|
2075
|
+
const ExpandMoreIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon__default.default, { ...iconProps, children: /* @__PURE__ */ jsx("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z", fill: "currentColor" }) });
|
|
2076
|
+
const ExpandLessIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon__default.default, { ...iconProps, children: /* @__PURE__ */ jsx("path", { d: "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.59L18 14z", fill: "currentColor" }) });
|
|
2071
2077
|
const AddIcon = utils$2.createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
|
|
2072
2078
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
2073
2079
|
}), "Add");
|
|
@@ -23370,14 +23376,17 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
23370
23376
|
id: z.string(),
|
|
23371
23377
|
name: z.string(),
|
|
23372
23378
|
url: z.string(),
|
|
23373
|
-
|
|
23379
|
+
/** @deprecated Use `iconDark` and `iconLight` for theme-aware icons. */
|
|
23380
|
+
icon: z.string().optional(),
|
|
23381
|
+
iconDark: z.string().optional(),
|
|
23382
|
+
iconLight: z.string().optional()
|
|
23374
23383
|
});
|
|
23375
23384
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
23376
23385
|
name: "1k1rh22",
|
|
23377
23386
|
styles: "width:25px;height:25px"
|
|
23378
23387
|
} : {
|
|
23379
23388
|
name: "9qz4wy-AppSwitch",
|
|
23380
|
-
styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
23389
|
+
styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE0RzhEIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB6b2QgZnJvbSBcInpvZFwiO1xuaW1wb3J0IE1VSU1lbnUgZnJvbSBcIkBtdWkvbWF0ZXJpYWwvTWVudVwiO1xuaW1wb3J0IE1VSU1lbnVJdGVtIGZyb20gXCJAbXVpL21hdGVyaWFsL01lbnVJdGVtXCI7XG5cbmltcG9ydCB7IFRleHQgfSBmcm9tIFwiLi4vVGV4dC9UZXh0XCI7XG5pbXBvcnQgSWNvbkJ1dHRvbiBmcm9tIFwiLi4vLi4vYnV0dG9ucy9CdXR0b24vSWNvbkJ1dHRvblwiO1xuaW1wb3J0IEdyaWRJY29uIGZyb20gXCIuLi9JY29ucy9HcmlkSWNvblwiO1xuaW1wb3J0IEZsZXhCb3ggZnJvbSBcIi4uLy4uL2xheW91dC9GbGV4Qm94XCI7XG5pbXBvcnQgTVVJVHlwb2dyYXBoeSBmcm9tIFwiQG11aS9tYXRlcmlhbC9UeX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Xh0PlxuICAgICAgICAgICAgICA8L0ZsZXhCb3g+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGNvbnN0IHRoZW1lZEljb24gPSB0aGVtZS5wYWxldHRlLm1vZGUgPT09IFwiZGFya1wiID8gYXBwLmljb25EYXJrIDogYXBwLmljb25MaWdodDtcbiAgICAgICAgICBjb25zdCBpY29uU3JjID0gdGhlbWVkSWNvbiA/PyBhcHAuaWNvbjtcblxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8TVVJTWVudUl0ZW1cbiAgICAgICAgICAgICAga2V5PXthcHAuaWR9XG4gICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHtcbiAgICAgICAgICAgICAgICB3aW5kb3cub3BlbihhcHAudXJsLCBcIl9ibGFua1wiKTtcbiAgICAgICAgICAgICAgICBoYW5kbGVDbG9zZSgpO1xuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBzeD17e1xuICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gICAgICAgICAgICAgICAgbWFyZ2luWDogMSxcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IFwiNHB4XCIsXG4gICAgICAgICAgICAgICAgYm9yZGVyOiBcIjFweCBzb2xpZCByZ2JhKDAsIDAsIDAsIDApXCIsXG4gICAgICAgICAgICAgICAgXCImOmhvdmVyXCI6IHtcbiAgICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjpcbiAgICAgICAgICAgICAgICAgICAgdGhlbWUucGFsZXR0ZS5tb2RlID09PSBcImRhcmtcIiA/IHRoZW1lLnBhbGV0dGUuYmFja2dyb3VuZC5kZWZhdWx0IDogXCJyZ2JhKDAsIDAsIDAsIDAuMDQpXCIsXG4gICAgICAgICAgICAgICAgICBib3JkZXI6IGAxcHggc29saWQgJHt0aGVtZS5wYWxldHRlLnByaW1hcnkubWFpbn1gLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtpY29uU3JjICYmIChcbiAgICAgICAgICAgICAgICA8TVVJTGlzdEl0ZW1JY29uPlxuICAgICAgICAgICAgICAgICAgPGltZyBzcmM9e2ljb25TcmN9IGFsdD17YCR7YXBwLm5hbWV9IGljb25gfSBjc3M9e3sgd2lkdGg6IDI1LCBoZWlnaHQ6IDI1IH19IC8+XG4gICAgICAgICAgICAgICAgPC9NVUlMaXN0SXRlbUljb24+XG4gICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgIDxNVUlMaXN0SXRlbVRleHQ+XG4gICAgICAgICAgICAgICAgPE1VSVR5cG9ncmFwaHlcbiAgICAgICAgICAgICAgICAgIHZhcmlhbnQ9XCJoMVwiXG4gICAgICAgICAgICAgICAgICBzeD17e1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW5Ub3A6IDAuNSxcbiAgICAgICAgICAgICAgICAgICAgZm9udEZhbWlseTogXCJGaWd0cmVlXCIsXG4gICAgICAgICAgICAgICAgICAgIGZvbnRTaXplOiAxNixcbiAgICAgICAgICAgICAgICAgICAgZm9udFdlaWdodDogNDAwLFxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogXCJwcmltYXJ5XCIsXG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgICAgICBhbGlnbkl0ZW1zOiBcImNlbnRlclwiLFxuICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICB7YXBwLm5hbWUudG9VcHBlckNhc2UoKX1cbiAgICAgICAgICAgICAgICA8L01VSVR5cG9ncmFwaHk+XG4gICAgICAgICAgICAgIDwvTVVJTGlzdEl0ZW1UZXh0PlxuICAgICAgICAgICAgPC9NVUlNZW51SXRlbT5cbiAgICAgICAgICApO1xuICAgICAgICB9KX1cbiAgICAgIDwvTVVJTWVudT5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEFwcFN3aXRjaDtcbiJdfQ== */",
|
|
23381
23390
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23382
23391
|
};
|
|
23383
23392
|
const AppSwitch = ({
|
|
@@ -23418,6 +23427,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
23418
23427
|
/* @__PURE__ */ jsx(Text$1, { children: errorMsg })
|
|
23419
23428
|
] }, errorMsg);
|
|
23420
23429
|
}
|
|
23430
|
+
const themedIcon = theme.palette.mode === "dark" ? app.iconDark : app.iconLight;
|
|
23431
|
+
const iconSrc = themedIcon ?? app.icon;
|
|
23421
23432
|
return /* @__PURE__ */ jsxs(MUIMenuItem__default.default, { onClick: () => {
|
|
23422
23433
|
window.open(app.url, "_blank");
|
|
23423
23434
|
handleClose();
|
|
@@ -23432,7 +23443,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
23432
23443
|
border: `1px solid ${theme.palette.primary.main}`
|
|
23433
23444
|
}
|
|
23434
23445
|
}, children: [
|
|
23435
|
-
/* @__PURE__ */ jsx(MUIListItemIcon__default.default, { children: /* @__PURE__ */ jsx("img", { src:
|
|
23446
|
+
iconSrc && /* @__PURE__ */ jsx(MUIListItemIcon__default.default, { children: /* @__PURE__ */ jsx("img", { src: iconSrc, alt: `${app.name} icon`, css: _ref }) }),
|
|
23436
23447
|
/* @__PURE__ */ jsx(MUIListItemText__default.default, { children: /* @__PURE__ */ jsx(Typography__default.default, { variant: "h1", sx: {
|
|
23437
23448
|
marginTop: 0.5,
|
|
23438
23449
|
fontFamily: "Figtree",
|
|
@@ -26042,10 +26053,13 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
26042
26053
|
};
|
|
26043
26054
|
const UserProfile = ({
|
|
26044
26055
|
fullName,
|
|
26045
|
-
children
|
|
26056
|
+
children,
|
|
26057
|
+
id = "user-profile",
|
|
26058
|
+
ariaLabel = "User menu"
|
|
26046
26059
|
}) => {
|
|
26047
26060
|
const [anchorEl, setAnchorEl] = React$1.useState(null);
|
|
26048
26061
|
const open = Boolean(anchorEl);
|
|
26062
|
+
const menuId = `${id}-menu`;
|
|
26049
26063
|
const handleClick = (event) => {
|
|
26050
26064
|
setAnchorEl(event.currentTarget);
|
|
26051
26065
|
};
|
|
@@ -26053,10 +26067,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
26053
26067
|
setAnchorEl(null);
|
|
26054
26068
|
};
|
|
26055
26069
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26056
|
-
/* @__PURE__ */ jsxs(MUIStack__default.default, { onClick: handleClick, width: "max-content", direction: "row", alignItems: "center", spacing: 1, sx: {
|
|
26070
|
+
/* @__PURE__ */ jsxs(MUIStack__default.default, { component: "button", type: "button", id, "aria-label": ariaLabel, "aria-haspopup": "menu", "aria-expanded": open, "aria-controls": open ? menuId : void 0, onClick: handleClick, width: "max-content", direction: "row", alignItems: "center", spacing: 1, sx: {
|
|
26071
|
+
background: "none",
|
|
26072
|
+
border: "none",
|
|
26073
|
+
padding: 0,
|
|
26074
|
+
color: "inherit",
|
|
26075
|
+
font: "inherit",
|
|
26076
|
+
textAlign: "inherit",
|
|
26057
26077
|
cursor: "pointer"
|
|
26058
26078
|
}, children: [
|
|
26059
|
-
/* @__PURE__ */ jsx(Text$1, { variant: "subtitle1", component: "h2", sx: {
|
|
26079
|
+
fullName && /* @__PURE__ */ jsx(Text$1, { variant: "subtitle1", component: "h2", sx: {
|
|
26060
26080
|
display: {
|
|
26061
26081
|
xs: "none",
|
|
26062
26082
|
sm: "block"
|
|
@@ -26076,9 +26096,20 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
26076
26096
|
height: 32,
|
|
26077
26097
|
borderColor: "inherit"
|
|
26078
26098
|
}, children: /* @__PURE__ */ jsx(UserIcon, { color: "inherit" }) }),
|
|
26079
|
-
/* @__PURE__ */ jsx(
|
|
26099
|
+
/* @__PURE__ */ jsx(MUIBox__default.default, { component: "span", "aria-hidden": true, sx: {
|
|
26100
|
+
display: "inline-flex",
|
|
26101
|
+
alignItems: "center",
|
|
26102
|
+
justifyContent: "center",
|
|
26103
|
+
padding: 1,
|
|
26104
|
+
borderRadius: 1,
|
|
26105
|
+
color: "inherit",
|
|
26106
|
+
transition: "background-color 150ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
26107
|
+
"&:hover": {
|
|
26108
|
+
backgroundColor: (theme) => theme.palette.action.hover
|
|
26109
|
+
}
|
|
26110
|
+
}, children: /* @__PURE__ */ jsx(DownArrow, { rotation: open ? 180 : void 0, size: "sm", color: "primary" }) })
|
|
26080
26111
|
] }),
|
|
26081
|
-
/* @__PURE__ */ jsx(MUIMenu__default.default, { anchorEl, id:
|
|
26112
|
+
/* @__PURE__ */ jsx(MUIMenu__default.default, { anchorEl, id: menuId, open, onClose: handleClose, onClick: handleClose, MenuListProps: {
|
|
26082
26113
|
component: "div",
|
|
26083
26114
|
sx: {
|
|
26084
26115
|
padding: 0
|
|
@@ -26276,6 +26307,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
26276
26307
|
}, icon: menuItem == null ? void 0 : menuItem.icon, faIcon: menuItem == null ? void 0 : menuItem.faIcon, value: menuItem.value, selected: menuItem.value === selectedMenuItem.value }, `${id}-item-${index2}`)) })
|
|
26277
26308
|
] });
|
|
26278
26309
|
};
|
|
26310
|
+
const SvgIcon = (props) => /* @__PURE__ */ jsx(MUISvgIcon__default.default, { ...props });
|
|
26279
26311
|
const Table = (props) => /* @__PURE__ */ jsx(TableRaw__default.default, { ...props });
|
|
26280
26312
|
const TableBody = (props) => /* @__PURE__ */ jsx(TableBodyRaw__default.default, { ...props });
|
|
26281
26313
|
const TableCell = (props) => /* @__PURE__ */ jsx(TableCellRaw__default.default, { ...props });
|
|
@@ -26294,7 +26326,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
26294
26326
|
);
|
|
26295
26327
|
};
|
|
26296
26328
|
const Spinner = (props) => {
|
|
26297
|
-
return /* @__PURE__ */ jsx(material.CircularProgress, { ...props });
|
|
26329
|
+
return /* @__PURE__ */ jsx(material.CircularProgress, { "aria-label": "Loading", ...props });
|
|
26298
26330
|
};
|
|
26299
26331
|
const Dialog = ({
|
|
26300
26332
|
open,
|
|
@@ -26330,7 +26362,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
26330
26362
|
const theme = useExtendedTheme();
|
|
26331
26363
|
return /* @__PURE__ */ jsx(MUIButton__default.default, { variant: "contained", ref, ...buttonProps, sx: {
|
|
26332
26364
|
border: `1px solid ${(_a = theme.palette.tertiary) == null ? void 0 : _a.main}`,
|
|
26333
|
-
color: (_b = theme.palette.tertiary) == null ? void 0 : _b.
|
|
26365
|
+
color: (_b = theme.palette.tertiary) == null ? void 0 : _b.main,
|
|
26334
26366
|
backgroundColor: theme.palette.mode === "dark" ? "#080808" : "#FFFFFF",
|
|
26335
26367
|
"&:hover": {
|
|
26336
26368
|
backgroundColor: `${(_c = theme.palette.tertiary) == null ? void 0 : _c.main}14`,
|
|
@@ -26554,6 +26586,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
26554
26586
|
...Components
|
|
26555
26587
|
}, ...otherProps, children });
|
|
26556
26588
|
const Tooltip = (tooltipProps) => /* @__PURE__ */ jsx(MUITooltip__default.default, { ...tooltipProps });
|
|
26589
|
+
const ToggleButton = (props) => /* @__PURE__ */ jsx(MUIToggleButton__default.default, { ...props });
|
|
26557
26590
|
const StyledToggleButton$1 = styles$3.styled(MUIToggleButton__default.default)({
|
|
26558
26591
|
border: 0
|
|
26559
26592
|
});
|
|
@@ -27083,9 +27116,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
27083
27116
|
return /* @__PURE__ */ jsx(material.Tooltip, { title: message, onClose: handleTooltipClose, open, leaveDelay: 1400, arrow: true, placement: "right", componentsProps: {
|
|
27084
27117
|
tooltip: {
|
|
27085
27118
|
sx: {
|
|
27086
|
-
|
|
27119
|
+
// Read `error.dark` (not `.main`): MUI Tooltip's text is
|
|
27120
|
+
// hardcoded white, and `.dark` is pinned in both palettes to
|
|
27121
|
+
// the deep red that passes AA white-on-red (7.78:1 dark,
|
|
27122
|
+
// ~8:1 light). `error.main` is tuned for FormLabel text
|
|
27123
|
+
// contrast on page bg and would fail here in dark mode.
|
|
27124
|
+
bgcolor: message !== successMsg ? theme.palette.error.dark : void 0,
|
|
27087
27125
|
[`& .${material.tooltipClasses.arrow}`]: {
|
|
27088
|
-
color: message !== successMsg ? theme.palette.error.
|
|
27126
|
+
color: message !== successMsg ? theme.palette.error.dark : void 0
|
|
27089
27127
|
},
|
|
27090
27128
|
fontSize: "0.75rem"
|
|
27091
27129
|
}
|
|
@@ -27324,6 +27362,67 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
27324
27362
|
);
|
|
27325
27363
|
});
|
|
27326
27364
|
TabPanel.displayName = "TabPanel";
|
|
27365
|
+
const Menu = ({
|
|
27366
|
+
"aria-label": ariaLabel,
|
|
27367
|
+
button,
|
|
27368
|
+
options,
|
|
27369
|
+
onSelect,
|
|
27370
|
+
onOpenChange,
|
|
27371
|
+
menuId = "menu",
|
|
27372
|
+
anchorOrigin = {
|
|
27373
|
+
vertical: "bottom",
|
|
27374
|
+
horizontal: "right"
|
|
27375
|
+
},
|
|
27376
|
+
transformOrigin = {
|
|
27377
|
+
vertical: "top",
|
|
27378
|
+
horizontal: "right"
|
|
27379
|
+
},
|
|
27380
|
+
autoFocusSelected = true,
|
|
27381
|
+
sx
|
|
27382
|
+
}) => {
|
|
27383
|
+
const [anchorEl, setAnchorEl] = React__namespace.useState(null);
|
|
27384
|
+
const open = Boolean(anchorEl);
|
|
27385
|
+
const selectedIndex = React__namespace.useMemo(() => options.findIndex((o2) => o2.selected), [options]);
|
|
27386
|
+
const handleOpen = (e) => {
|
|
27387
|
+
setAnchorEl(e.currentTarget);
|
|
27388
|
+
onOpenChange == null ? void 0 : onOpenChange(true);
|
|
27389
|
+
};
|
|
27390
|
+
const handleClose = () => {
|
|
27391
|
+
setAnchorEl(null);
|
|
27392
|
+
onOpenChange == null ? void 0 : onOpenChange(false);
|
|
27393
|
+
};
|
|
27394
|
+
const ariaControls = open ? menuId : void 0;
|
|
27395
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
27396
|
+
button({
|
|
27397
|
+
onClick: handleOpen,
|
|
27398
|
+
"aria-controls": ariaControls,
|
|
27399
|
+
"aria-haspopup": true,
|
|
27400
|
+
"aria-expanded": open ? true : void 0
|
|
27401
|
+
}),
|
|
27402
|
+
/* @__PURE__ */ jsx(MUIMenu__default.default, { id: menuId, anchorEl, open, onClose: handleClose, anchorOrigin, transformOrigin, MenuListProps: {
|
|
27403
|
+
"aria-label": ariaLabel,
|
|
27404
|
+
...autoFocusSelected && selectedIndex >= 0 ? {
|
|
27405
|
+
autoFocusItem: true
|
|
27406
|
+
} : {}
|
|
27407
|
+
}, sx, children: options.flatMap((opt, idx) => {
|
|
27408
|
+
const item = /* @__PURE__ */ jsxs(MUIMenuItem__default.default, { disabled: opt.disabled, selected: Boolean(opt.selected), autoFocus: autoFocusSelected && idx === selectedIndex, "aria-selected": opt.selected ? "true" : void 0, onClick: () => {
|
|
27409
|
+
var _a;
|
|
27410
|
+
if (opt.href) window.open(opt.href, opt.target ?? "_self");
|
|
27411
|
+
(_a = opt.onClick) == null ? void 0 : _a.call(opt);
|
|
27412
|
+
onSelect == null ? void 0 : onSelect(opt);
|
|
27413
|
+
handleClose();
|
|
27414
|
+
}, children: [
|
|
27415
|
+
opt.icon ? /* @__PURE__ */ jsx(MUIListItemIcon__default.default, { children: opt.icon }) : null,
|
|
27416
|
+
/* @__PURE__ */ jsx(MUIListItemText__default.default, { children: opt.label })
|
|
27417
|
+
] }, opt.id);
|
|
27418
|
+
return opt.dividerAbove ? [/* @__PURE__ */ jsx(MUIDivider__default.default, { component: "li", role: "separator" }, `${opt.id}-divider`), item] : [item];
|
|
27419
|
+
}) })
|
|
27420
|
+
] });
|
|
27421
|
+
};
|
|
27422
|
+
const MenuItem = (props) => /* @__PURE__ */ jsx(MUIMenuItem__default.default, { ...props });
|
|
27423
|
+
const Accordion = (props) => /* @__PURE__ */ jsx(MuiAccordion__default.default, { ...props });
|
|
27424
|
+
const AccordionSummary = (props) => /* @__PURE__ */ jsx(MuiAccordionSummary__default.default, { expandIcon: /* @__PURE__ */ jsx(ExpandMoreIcon, {}), ...props });
|
|
27425
|
+
const AccordionDetails = (props) => /* @__PURE__ */ jsx(MuiAccordionDetails__default.default, { ...props });
|
|
27327
27426
|
const Card = ({
|
|
27328
27427
|
maxWidth,
|
|
27329
27428
|
...cardProps
|
|
@@ -30089,6 +30188,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
30089
30188
|
}, children: !(context == null ? void 0 : context.get(targetId, "minimised")) && children })
|
|
30090
30189
|
] });
|
|
30091
30190
|
};
|
|
30191
|
+
const Popper = (props) => /* @__PURE__ */ jsx(MUIPopper__default.default, { ...props });
|
|
30092
30192
|
const Toolbar = ({
|
|
30093
30193
|
children,
|
|
30094
30194
|
sx,
|
|
@@ -30097,6 +30197,8 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
30097
30197
|
const theme = material.useTheme();
|
|
30098
30198
|
return /* @__PURE__ */ jsx(material.Toolbar, { disableGutters: true, variant: "dense", sx: {
|
|
30099
30199
|
backgroundColor: theme.palette.mode === "dark" ? "#2e2e2e" : "#FFFFFF",
|
|
30200
|
+
borderTop: theme.palette.mode === "dark" ? "none" : "1px solid #DEDEDE",
|
|
30201
|
+
borderBottom: theme.palette.mode === "dark" ? "none" : "1px solid #DEDEDE",
|
|
30100
30202
|
paddingX: 2,
|
|
30101
30203
|
paddingY: 1,
|
|
30102
30204
|
...sx
|
|
@@ -30117,43 +30219,66 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
30117
30219
|
}
|
|
30118
30220
|
};
|
|
30119
30221
|
const main$3 = "#F56AAA";
|
|
30222
|
+
const mainLight$1 = "#B70071";
|
|
30120
30223
|
const DocumentPink = {
|
|
30121
30224
|
dark: {
|
|
30122
30225
|
primary: {
|
|
30123
30226
|
main: main$3,
|
|
30124
|
-
dark:
|
|
30125
|
-
light:
|
|
30227
|
+
dark: "#C45488",
|
|
30228
|
+
light: "#F787BB",
|
|
30126
30229
|
contrastText: colors.common.black
|
|
30127
30230
|
}
|
|
30231
|
+
},
|
|
30232
|
+
light: {
|
|
30233
|
+
primary: {
|
|
30234
|
+
main: mainLight$1,
|
|
30235
|
+
dark: "#92005A",
|
|
30236
|
+
light: "#C5338D",
|
|
30237
|
+
contrastText: "#FFFFFF"
|
|
30238
|
+
},
|
|
30239
|
+
background: {
|
|
30240
|
+
default: "#F9F9F9",
|
|
30241
|
+
paper: "#FFFFFF"
|
|
30242
|
+
},
|
|
30243
|
+
text: {
|
|
30244
|
+
primary: "#1A1D21",
|
|
30245
|
+
secondary: "#5A6172"
|
|
30246
|
+
},
|
|
30247
|
+
divider: "rgba(26, 29, 33, 0.12)",
|
|
30248
|
+
action: {
|
|
30249
|
+
hover: "rgba(26, 29, 33, 0.04)"
|
|
30250
|
+
}
|
|
30128
30251
|
}
|
|
30129
30252
|
};
|
|
30130
30253
|
const main$2 = "#F2A64B";
|
|
30131
|
-
const mainLight = "#
|
|
30254
|
+
const mainLight = "#C24D00";
|
|
30132
30255
|
const GraphOrange = {
|
|
30133
30256
|
dark: {
|
|
30134
30257
|
primary: {
|
|
30135
30258
|
main: main$2,
|
|
30136
|
-
dark:
|
|
30137
|
-
light:
|
|
30259
|
+
dark: "#C1843C",
|
|
30260
|
+
light: "#F4B76F",
|
|
30138
30261
|
contrastText: colors.common.black
|
|
30139
30262
|
}
|
|
30140
30263
|
},
|
|
30141
30264
|
light: {
|
|
30142
|
-
//
|
|
30143
|
-
//
|
|
30144
|
-
//
|
|
30265
|
+
// Known trade-off: `mainLight` is tuned for brand recognition and does
|
|
30266
|
+
// not clear WCAG 2.2 AA (4.5:1) in every component context — notably
|
|
30267
|
+
// established patterns like the Secondary button variant where it
|
|
30268
|
+
// renders as foreground on light surfaces. Shipped per explicit product
|
|
30269
|
+
// direction, prioritising brand fidelity over universal AA
|
|
30270
|
+
// conformance for this specific token. The gap is documented here
|
|
30271
|
+
// rather than silently carried; revisit against the system-wide target
|
|
30272
|
+
// in docs/adr/0001-wcag-2.2-aa.md if a brand or component update
|
|
30273
|
+
// closes it.
|
|
30145
30274
|
//
|
|
30146
|
-
//
|
|
30147
|
-
//
|
|
30148
|
-
//
|
|
30149
|
-
// which is why it keeps alpha() above.
|
|
30275
|
+
// The app colour shifts per mode rather than splitting into a second
|
|
30276
|
+
// token, so components keep reading primary alone. contrastThreshold
|
|
30277
|
+
// 4.5 resolves #FFF on mainLight (5.49:1).
|
|
30150
30278
|
primary: {
|
|
30151
30279
|
main: mainLight,
|
|
30152
|
-
|
|
30153
|
-
|
|
30154
|
-
// 800 — pressed, link hover
|
|
30155
|
-
light: "#C06806",
|
|
30156
|
-
// 600 — still 4.02:1, safe on borders
|
|
30280
|
+
dark: "#9B3D00",
|
|
30281
|
+
light: "#CE7033",
|
|
30157
30282
|
contrastText: "#FFFFFF"
|
|
30158
30283
|
},
|
|
30159
30284
|
background: {
|
|
@@ -30177,16 +30302,16 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
30177
30302
|
dark: {
|
|
30178
30303
|
primary: {
|
|
30179
30304
|
main: darkMain$1,
|
|
30180
|
-
dark:
|
|
30181
|
-
light:
|
|
30305
|
+
dark: "#1F8CB8",
|
|
30306
|
+
light: "#1F6D8C",
|
|
30182
30307
|
contrastText: colors.common.black
|
|
30183
30308
|
}
|
|
30184
30309
|
},
|
|
30185
30310
|
light: {
|
|
30186
30311
|
primary: {
|
|
30187
30312
|
main: lightMain,
|
|
30188
|
-
dark:
|
|
30189
|
-
light:
|
|
30313
|
+
dark: "#6C7AD8",
|
|
30314
|
+
light: "#949FE2",
|
|
30190
30315
|
contrastText: "#FFFFFF"
|
|
30191
30316
|
}
|
|
30192
30317
|
}
|
|
@@ -30255,6 +30380,22 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
30255
30380
|
}]
|
|
30256
30381
|
}
|
|
30257
30382
|
};
|
|
30383
|
+
const generateAccordionOverrides = (_uiTheme) => ({
|
|
30384
|
+
MuiAccordion: {
|
|
30385
|
+
defaultProps: {
|
|
30386
|
+
elevation: 0,
|
|
30387
|
+
disableGutters: true
|
|
30388
|
+
},
|
|
30389
|
+
styleOverrides: {
|
|
30390
|
+
root: {
|
|
30391
|
+
backgroundColor: "transparent",
|
|
30392
|
+
"&:before": {
|
|
30393
|
+
display: "none"
|
|
30394
|
+
}
|
|
30395
|
+
}
|
|
30396
|
+
}
|
|
30397
|
+
}
|
|
30398
|
+
});
|
|
30258
30399
|
const generateButtonOverrides = (_uiTheme) => ({
|
|
30259
30400
|
MuiButton: {
|
|
30260
30401
|
styleOverrides: {
|
|
@@ -30491,6 +30632,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
30491
30632
|
`;
|
|
30492
30633
|
const generateComponentOverrides = (uiTheme) => ({
|
|
30493
30634
|
...AVATAR_OVERRIDES,
|
|
30635
|
+
...generateAccordionOverrides(),
|
|
30494
30636
|
...generateButtonOverrides(),
|
|
30495
30637
|
...generateCardOverrides(),
|
|
30496
30638
|
...generateTabsOverrides(),
|
|
@@ -31302,11 +31444,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
31302
31444
|
const CONTRAST_THRESHOLD = 4.5;
|
|
31303
31445
|
const baseLightPalette = {
|
|
31304
31446
|
contrastThreshold: CONTRAST_THRESHOLD,
|
|
31447
|
+
// Tertiary is a theme-agnostic neutral grey; pinned here rather than
|
|
31448
|
+
// re-stated in every theme file. `main` reads at 6.20:1 as text on white
|
|
31449
|
+
// and 5.97:1 as filled bg behind white — passes AA in both roles.
|
|
31305
31450
|
tertiary: {
|
|
31306
|
-
main: "#
|
|
31307
|
-
dark:
|
|
31308
|
-
light:
|
|
31309
|
-
contrastText: "#
|
|
31451
|
+
main: "#5A6172",
|
|
31452
|
+
dark: "#454B59",
|
|
31453
|
+
light: "#767E90",
|
|
31454
|
+
contrastText: "#FFFFFF"
|
|
31310
31455
|
},
|
|
31311
31456
|
text: {
|
|
31312
31457
|
primary: "#000000",
|
|
@@ -31315,15 +31460,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
31315
31460
|
},
|
|
31316
31461
|
background: {
|
|
31317
31462
|
default: "#F9F9F9"
|
|
31463
|
+
},
|
|
31464
|
+
error: {
|
|
31465
|
+
main: "#d32f2f",
|
|
31466
|
+
dark: "#b71c1c"
|
|
31318
31467
|
}
|
|
31319
31468
|
};
|
|
31320
31469
|
const baseDarkPalette = {
|
|
31321
31470
|
contrastThreshold: CONTRAST_THRESHOLD,
|
|
31471
|
+
// Mirrors the light-mode tertiary role: `main` reads at 7.66:1 as text on
|
|
31472
|
+
// the dark page bg (#1D1D1D) and 6.93:1 as filled bg behind dark text.
|
|
31322
31473
|
tertiary: {
|
|
31323
|
-
main: "#
|
|
31324
|
-
dark:
|
|
31325
|
-
light:
|
|
31326
|
-
contrastText: "#
|
|
31474
|
+
main: "#A0A0A0",
|
|
31475
|
+
dark: "#808080",
|
|
31476
|
+
light: "#BFBFBF",
|
|
31477
|
+
contrastText: "#1A1A1A"
|
|
31327
31478
|
},
|
|
31328
31479
|
text: {
|
|
31329
31480
|
primary: "#ececec",
|
|
@@ -31334,22 +31485,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
31334
31485
|
default: "#1D1D1D",
|
|
31335
31486
|
paper: "#252525"
|
|
31336
31487
|
},
|
|
31337
|
-
// MUI's dark-mode default
|
|
31338
|
-
//
|
|
31339
|
-
// green[800] gives ~5.35:1 to white, so getContrastText resolves to #fff
|
|
31340
|
-
// and filled Alert renders success with white text + icon. Restores
|
|
31341
|
-
// pre-3.6.0 catalog behaviour without a component-level override.
|
|
31488
|
+
// Darker than MUI's dark-mode default so getContrastText picks white on
|
|
31489
|
+
// filled success Alerts.
|
|
31342
31490
|
success: {
|
|
31343
31491
|
main: "#2e7d32"
|
|
31344
31492
|
},
|
|
31345
|
-
// MUI's dark-mode default error.main is red[500] (#f44336). Contrast to
|
|
31346
|
-
// white is 3.76:1 — with the 4.5 threshold, getContrastText would flip to
|
|
31347
|
-
// dark text on red, changing error's long-standing visual identity.
|
|
31348
|
-
// Overriding main to red[700] (#d32f2f, contrast 5.36:1) keeps white text
|
|
31349
|
-
// and pushes the actual filled-Alert background (which paints .dark in
|
|
31350
|
-
// dark mode) to a slightly deeper red — no component override needed.
|
|
31351
31493
|
error: {
|
|
31352
|
-
main: "#
|
|
31494
|
+
main: "#ff5252",
|
|
31495
|
+
dark: "#c62828"
|
|
31353
31496
|
},
|
|
31354
31497
|
grey: colors.grey
|
|
31355
31498
|
};
|
|
@@ -79464,63 +79607,6 @@ ${family}`
|
|
|
79464
79607
|
width: 25,
|
|
79465
79608
|
height: 20
|
|
79466
79609
|
} }) });
|
|
79467
|
-
const Menu = ({
|
|
79468
|
-
"aria-label": ariaLabel,
|
|
79469
|
-
button,
|
|
79470
|
-
options,
|
|
79471
|
-
onSelect,
|
|
79472
|
-
onOpenChange,
|
|
79473
|
-
menuId = "menu",
|
|
79474
|
-
anchorOrigin = {
|
|
79475
|
-
vertical: "bottom",
|
|
79476
|
-
horizontal: "right"
|
|
79477
|
-
},
|
|
79478
|
-
transformOrigin = {
|
|
79479
|
-
vertical: "top",
|
|
79480
|
-
horizontal: "right"
|
|
79481
|
-
},
|
|
79482
|
-
autoFocusSelected = true,
|
|
79483
|
-
sx
|
|
79484
|
-
}) => {
|
|
79485
|
-
const [anchorEl, setAnchorEl] = React__namespace.useState(null);
|
|
79486
|
-
const open = Boolean(anchorEl);
|
|
79487
|
-
const selectedIndex = React__namespace.useMemo(() => options.findIndex((o2) => o2.selected), [options]);
|
|
79488
|
-
const handleOpen = (e) => {
|
|
79489
|
-
setAnchorEl(e.currentTarget);
|
|
79490
|
-
onOpenChange == null ? void 0 : onOpenChange(true);
|
|
79491
|
-
};
|
|
79492
|
-
const handleClose = () => {
|
|
79493
|
-
setAnchorEl(null);
|
|
79494
|
-
onOpenChange == null ? void 0 : onOpenChange(false);
|
|
79495
|
-
};
|
|
79496
|
-
const ariaControls = open ? menuId : void 0;
|
|
79497
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
79498
|
-
button({
|
|
79499
|
-
onClick: handleOpen,
|
|
79500
|
-
"aria-controls": ariaControls,
|
|
79501
|
-
"aria-haspopup": true,
|
|
79502
|
-
"aria-expanded": open ? true : void 0
|
|
79503
|
-
}),
|
|
79504
|
-
/* @__PURE__ */ jsx(MUIMenu__default.default, { id: menuId, anchorEl, open, onClose: handleClose, anchorOrigin, transformOrigin, MenuListProps: {
|
|
79505
|
-
"aria-label": ariaLabel,
|
|
79506
|
-
...autoFocusSelected && selectedIndex >= 0 ? {
|
|
79507
|
-
autoFocusItem: true
|
|
79508
|
-
} : {}
|
|
79509
|
-
}, sx, children: options.flatMap((opt, idx) => {
|
|
79510
|
-
const item = /* @__PURE__ */ jsxs(MUIMenuItem__default.default, { disabled: opt.disabled, selected: Boolean(opt.selected), autoFocus: autoFocusSelected && idx === selectedIndex, "aria-selected": opt.selected ? "true" : void 0, onClick: () => {
|
|
79511
|
-
var _a;
|
|
79512
|
-
if (opt.href) window.open(opt.href, opt.target ?? "_self");
|
|
79513
|
-
(_a = opt.onClick) == null ? void 0 : _a.call(opt);
|
|
79514
|
-
onSelect == null ? void 0 : onSelect(opt);
|
|
79515
|
-
handleClose();
|
|
79516
|
-
}, children: [
|
|
79517
|
-
opt.icon ? /* @__PURE__ */ jsx(MUIListItemIcon__default.default, { children: opt.icon }) : null,
|
|
79518
|
-
/* @__PURE__ */ jsx(MUIListItemText__default.default, { children: opt.label })
|
|
79519
|
-
] }, opt.id);
|
|
79520
|
-
return opt.dividerAbove ? [/* @__PURE__ */ jsx(MUIDivider__default.default, { component: "li", role: "separator" }, `${opt.id}-divider`), item] : [item];
|
|
79521
|
-
}) })
|
|
79522
|
-
] });
|
|
79523
|
-
};
|
|
79524
79610
|
const resolveVisibleBaseLayerIndex = (layers) => {
|
|
79525
79611
|
const storedLabel = localStorage.getItem("map.baselayer");
|
|
79526
79612
|
const baseLayers = layers.filter((l) => l.get("kind") !== "overlay-vector");
|
|
@@ -87237,14 +87323,25 @@ ${family}`
|
|
|
87237
87323
|
enumerable: true,
|
|
87238
87324
|
get: () => styles$3.alpha
|
|
87239
87325
|
});
|
|
87326
|
+
Object.defineProperty(exports2, "dividerClasses", {
|
|
87327
|
+
enumerable: true,
|
|
87328
|
+
get: () => MUIDivider.dividerClasses
|
|
87329
|
+
});
|
|
87240
87330
|
Object.defineProperty(exports2, "Alert", {
|
|
87241
87331
|
enumerable: true,
|
|
87242
87332
|
get: () => Alert__default.default
|
|
87243
87333
|
});
|
|
87334
|
+
Object.defineProperty(exports2, "AlertTitle", {
|
|
87335
|
+
enumerable: true,
|
|
87336
|
+
get: () => AlertTitle__default.default
|
|
87337
|
+
});
|
|
87244
87338
|
Object.defineProperty(exports2, "closeSnackbar", {
|
|
87245
87339
|
enumerable: true,
|
|
87246
87340
|
get: () => notistack.closeSnackbar
|
|
87247
87341
|
});
|
|
87342
|
+
exports2.Accordion = Accordion;
|
|
87343
|
+
exports2.AccordionDetails = AccordionDetails;
|
|
87344
|
+
exports2.AccordionSummary = AccordionSummary;
|
|
87248
87345
|
exports2.AppBar = AppBar;
|
|
87249
87346
|
exports2.AppChrome = AppChrome;
|
|
87250
87347
|
exports2.AppInfo = AppInfo;
|
|
@@ -87271,6 +87368,7 @@ ${family}`
|
|
|
87271
87368
|
exports2.CardContent = CardContent;
|
|
87272
87369
|
exports2.CardHeader = CardHeader;
|
|
87273
87370
|
exports2.Checkbox = Checkbox;
|
|
87371
|
+
exports2.ChevronRightIcon = ChevronRightIcon;
|
|
87274
87372
|
exports2.Chip = Chip;
|
|
87275
87373
|
exports2.ClockIcon = ClockIcon;
|
|
87276
87374
|
exports2.CloseIcon = CloseIcon;
|
|
@@ -87294,6 +87392,8 @@ ${family}`
|
|
|
87294
87392
|
exports2.ErrorFallback = ErrorFallback;
|
|
87295
87393
|
exports2.ErrorFallbackText = ErrorFallbackText;
|
|
87296
87394
|
exports2.ErrorFallbackWrapper = ErrorFallbackWrapper;
|
|
87395
|
+
exports2.ExpandLessIcon = ExpandLessIcon;
|
|
87396
|
+
exports2.ExpandMoreIcon = ExpandMoreIcon;
|
|
87297
87397
|
exports2.FixedPanel = Panel;
|
|
87298
87398
|
exports2.FlexBox = FlexBox;
|
|
87299
87399
|
exports2.FlexGrid = FlexGrid;
|
|
@@ -87333,6 +87433,8 @@ ${family}`
|
|
|
87333
87433
|
exports2.MapIcon = MapIcon;
|
|
87334
87434
|
exports2.MapToggleButtonPresentational = MapToggleButtonPresentational;
|
|
87335
87435
|
exports2.MarkerAnchor = MarkerAnchor;
|
|
87436
|
+
exports2.Menu = Menu;
|
|
87437
|
+
exports2.MenuItem = MenuItem;
|
|
87336
87438
|
exports2.MiniSearchAutocomplete = MiniSearchAutocomplete;
|
|
87337
87439
|
exports2.MiniSearchBox = MiniSearchBox;
|
|
87338
87440
|
exports2.MinusCircleIcon = MinusCircleIcon;
|
|
@@ -87341,6 +87443,7 @@ ${family}`
|
|
|
87341
87443
|
exports2.PlayIcon = PlayIcon;
|
|
87342
87444
|
exports2.PlusCircleIcon = PlusCircleIcon;
|
|
87343
87445
|
exports2.PopOver = PopOver;
|
|
87446
|
+
exports2.Popper = Popper;
|
|
87344
87447
|
exports2.PreferredLabelCache = PreferredLabelCache;
|
|
87345
87448
|
exports2.QuestionIcon = QuestionIcon;
|
|
87346
87449
|
exports2.RecentSearches = RecentSearches;
|
|
@@ -87352,6 +87455,7 @@ ${family}`
|
|
|
87352
87455
|
exports2.Skeleton = Skeleton;
|
|
87353
87456
|
exports2.SnackbarProvider = SnackbarProvider;
|
|
87354
87457
|
exports2.Spinner = Spinner;
|
|
87458
|
+
exports2.SvgIcon = SvgIcon;
|
|
87355
87459
|
exports2.Switch = Switch;
|
|
87356
87460
|
exports2.Tab = Tab;
|
|
87357
87461
|
exports2.TabPanel = TabPanel;
|
|
@@ -87369,6 +87473,7 @@ ${family}`
|
|
|
87369
87473
|
exports2.ThemeSwitch = ThemeSwitch;
|
|
87370
87474
|
exports2.ThemeSwitchRow = ThemeSwitchRow;
|
|
87371
87475
|
exports2.TitleAndContent = TitleAndContent;
|
|
87476
|
+
exports2.ToggleButton = ToggleButton;
|
|
87372
87477
|
exports2.Toolbar = Toolbar;
|
|
87373
87478
|
exports2.Tooltip = Tooltip;
|
|
87374
87479
|
exports2.TooltipToggleButton = TooltipToggleButton;
|