@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.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { SvgIcon, useTheme as useTheme$1, CircularProgress, Dialog as Dialog$1, Button as Button$1, ButtonBase, DialogContent, DialogActions, TextField as TextField$1, Typography as Typography$1, Box as Box$1, InputLabel, Select as Select$2, MenuItem, Divider as Divider$1, FormHelperText as FormHelperText$1, FormControl as FormControl$1, Autocomplete as Autocomplete$1, Switch as Switch$1, FormControlLabel as FormControlLabel$1, Checkbox as Checkbox$1, tooltipClasses, Tooltip as Tooltip$1, Toolbar as Toolbar$1, alpha as alpha$1, ThemeProvider, Avatar, IconButton as IconButton$1, Paper as Paper$1 } from "@mui/material";
|
|
4
|
+
import { SvgIcon as SvgIcon$1, useTheme as useTheme$1, CircularProgress, Dialog as Dialog$1, Button as Button$1, ButtonBase, DialogContent, DialogActions, TextField as TextField$1, Typography as Typography$1, Box as Box$1, InputLabel, Select as Select$2, MenuItem as MenuItem$1, Divider as Divider$1, FormHelperText as FormHelperText$1, FormControl as FormControl$1, Autocomplete as Autocomplete$1, Switch as Switch$1, FormControlLabel as FormControlLabel$1, Checkbox as Checkbox$1, tooltipClasses, Tooltip as Tooltip$1, Toolbar as Toolbar$1, alpha as alpha$1, ThemeProvider, Avatar, IconButton as IconButton$1, Paper as Paper$1 } from "@mui/material";
|
|
5
5
|
import { DialogActions as DialogActions2, DialogContent as DialogContent2, DialogTitle } from "@mui/material";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import React__default, { useState, useEffect, forwardRef, useContext, useCallback, useId as useId$1, createContext, memo, useMemo, PureComponent, createElement as createElement$1, useRef, useImperativeHandle } from "react";
|
|
@@ -25,6 +25,7 @@ import MUIMenuItem from "@mui/material/MenuItem";
|
|
|
25
25
|
import MUIIconButton from "@mui/material/IconButton";
|
|
26
26
|
import MUIChip from "@mui/material/Chip";
|
|
27
27
|
import MUIDivider from "@mui/material/Divider";
|
|
28
|
+
import { dividerClasses } from "@mui/material/Divider";
|
|
28
29
|
import MUIAvatar from "@mui/material/Avatar";
|
|
29
30
|
import MUIPopOver from "@mui/material/Popover";
|
|
30
31
|
import TableRaw from "@mui/material/Table";
|
|
@@ -36,6 +37,7 @@ import LinearProgressRaw from "@mui/material/LinearProgress";
|
|
|
36
37
|
import MUIButton from "@mui/material/Button";
|
|
37
38
|
import Alert from "@mui/material/Alert";
|
|
38
39
|
import { default as default2 } from "@mui/material/Alert";
|
|
40
|
+
import { default as default3 } from "@mui/material/AlertTitle";
|
|
39
41
|
import SkeletonRaw from "@mui/material/Skeleton";
|
|
40
42
|
import { useSnackbar as useSnackbar$1, enqueueSnackbar, SnackbarProvider as SnackbarProvider$1 } from "notistack";
|
|
41
43
|
import { closeSnackbar } from "notistack";
|
|
@@ -58,6 +60,9 @@ import { createSvgIcon, useForkRef as useForkRef$2 } from "@mui/material/utils";
|
|
|
58
60
|
import InputBase from "@mui/material/InputBase";
|
|
59
61
|
import MuiTabs from "@mui/material/Tabs";
|
|
60
62
|
import MuiTab from "@mui/material/Tab";
|
|
63
|
+
import MuiAccordion from "@mui/material/Accordion";
|
|
64
|
+
import MuiAccordionSummary from "@mui/material/AccordionSummary";
|
|
65
|
+
import MuiAccordionDetails from "@mui/material/AccordionDetails";
|
|
61
66
|
import MUICard from "@mui/material/Card";
|
|
62
67
|
import MUICardHeader from "@mui/material/CardHeader";
|
|
63
68
|
import MUICardContent from "@mui/material/CardContent";
|
|
@@ -1825,7 +1830,7 @@ const BinIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, v
|
|
|
1825
1830
|
const CloseIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, viewBox: "0 0 12 13", children: /* @__PURE__ */ jsx("path", { d: "M11.9997 1.84102L10.8247 0.666016L6.16634 5.32435L1.50801 0.666016L0.333008 1.84102L4.99134 6.49935L0.333008 11.1577L1.50801 12.3327L6.16634 7.67435L10.8247 12.3327L11.9997 11.1577L7.34134 6.49935L11.9997 1.84102Z", fill: "currentColor" }) });
|
|
1826
1831
|
const CogIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, children: /* @__PURE__ */ jsx("g", { transform: "translate(-2.106 -0.351) scale(1.1755)", children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.4142 2C13.7472 2 14.0331 2.23578 14.0964 2.5626L14.4482 4.3773C15.0779 4.60095 15.6666 4.9124 16.1975 5.29804L17.9247 4.66643C18.2371 4.55212 18.5872 4.68036 18.7537 4.96876L20.1679 7.41772C20.3345 7.70616 20.2678 8.07248 20.0104 8.28338L18.5896 9.44811C18.6608 9.79007 18.6982 10.1443 18.6982 10.5073C18.6982 10.8703 18.6608 11.2245 18.5896 11.5665L20.0104 12.7312C20.2678 12.9421 20.3345 13.3084 20.1679 13.5969L18.7537 16.0458C18.5872 16.3342 18.2371 16.4625 17.9247 16.3482L16.1975 15.7166C15.6666 16.1022 15.0779 16.4137 14.4482 16.6373L14.0964 18.452C14.0331 18.7788 13.7472 19.0146 13.4142 19.0146H10.5858C10.2528 19.0146 9.9669 18.7788 9.90361 18.452L9.55176 16.6373C8.92209 16.4137 8.33338 16.1022 7.80253 15.7166L6.0753 16.3482C5.76288 16.4625 5.41283 16.3342 5.24631 16.0458L3.83208 13.5969C3.66551 13.3084 3.73217 12.9421 3.98964 12.7312L5.4104 11.5665C5.33921 11.2245 5.30177 10.8703 5.30177 10.5073C5.30177 10.1443 5.33921 9.79007 5.4104 9.44811L3.98964 8.28338C3.73217 8.07248 3.66551 7.70616 3.83208 7.41772L5.24631 4.96876C5.41283 4.68036 5.76288 4.55212 6.0753 4.66643L7.80253 5.29804C8.33338 4.9124 8.92209 4.60095 9.55176 4.3773L9.90361 2.5626C9.9669 2.23578 10.2528 2 10.5858 2H13.4142ZM12.7592 3.56679H11.2408L10.9401 5.11751C10.8871 5.39093 10.6929 5.61587 10.4272 5.70389C9.7188 5.93858 9.06819 6.28901 8.49443 6.72979C8.27923 6.89513 7.99093 6.94061 7.73326 6.84636L6.25758 6.30662L5.4964 7.62497L6.71075 8.6208C6.9227 8.79458 7.02026 9.07091 6.9662 9.34093C6.90506 9.64593 6.86855 9.96035 6.86855 10.5073C6.86855 11.0543 6.90506 11.3687 6.9662 11.6737C7.02026 11.9437 6.9227 12.22 6.71075 12.3938L5.4964 13.3897L6.25758 14.708L7.73326 14.1683C7.99093 14.074 8.27923 14.1195 8.49443 14.2848C9.06819 14.7256 9.7188 15.076 10.4272 15.3107C10.6929 15.3988 10.8871 15.6237 10.9401 15.8971L11.2408 17.4478H12.7592L13.0599 15.8971C13.1129 15.6237 13.3071 15.3988 13.5728 15.3107C14.2812 15.076 14.9318 14.7256 15.5056 14.2848C15.7208 14.1195 16.0091 14.074 16.2667 14.1683L17.7424 14.708L18.5036 13.3897L17.2893 12.3938C17.0773 12.22 16.9797 11.9437 17.0338 11.6737C17.0949 11.3687 17.1315 11.0543 17.1315 10.5073C17.1315 9.96035 17.0949 9.64593 17.0338 9.34093C16.9797 9.07091 17.0773 8.79458 17.2893 8.6208L18.5036 7.62497L17.7424 6.30662L16.2667 6.84636C16.0091 6.94061 15.7208 6.89513 15.5056 6.72979C14.9318 6.28901 14.2812 5.93858 13.5728 5.70389C13.3071 5.61587 13.1129 5.39093 13.0599 5.11751L12.7592 3.56679ZM12 7.83398C13.6478 7.83398 14.9834 9.16957 14.9834 10.8174C14.9834 12.4653 13.6478 13.8008 12 13.8008C10.3522 13.8008 9.01659 12.4653 9.01659 10.8174C9.01659 9.16957 10.3522 7.83398 12 7.83398ZM12 9.40077C11.2175 9.40077 10.5834 10.0349 10.5834 10.8174C10.5834 11.5999 11.2175 12.234 12 12.234C12.7825 12.234 13.4166 11.5999 13.4166 10.8174C13.4166 10.0349 12.7825 9.40077 12 9.40077Z", fill: "currentColor" }) }) });
|
|
1827
1832
|
const XIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, viewBox: "0 0 640 640", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M183.1 137.4C170.6 124.9 150.3 124.9 137.8 137.4C125.3 149.9 125.3 170.2 137.8 182.7L275.2 320L137.9 457.4C125.4 469.9 125.4 490.2 137.9 502.7C150.4 515.2 170.7 515.2 183.2 502.7L320.5 365.3L457.9 502.6C470.4 515.1 490.7 515.1 503.2 502.6C515.7 490.1 515.7 469.8 503.2 457.3L365.8 320L503.1 182.6C515.6 170.1 515.6 149.8 503.1 137.3C490.6 124.8 470.3 124.8 457.8 137.3L320.5 274.7L183.1 137.4z" }) });
|
|
1828
|
-
const DataServiceIcon = (svgIconProps) => /* @__PURE__ */ jsx(SvgIcon, { ...svgIconProps, children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "27", viewBox: "0 0 15 27", fill: "none", children: [
|
|
1833
|
+
const DataServiceIcon = (svgIconProps) => /* @__PURE__ */ jsx(SvgIcon$1, { ...svgIconProps, children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "27", viewBox: "0 0 15 27", fill: "none", children: [
|
|
1829
1834
|
/* @__PURE__ */ jsx("circle", { cx: "1.74976", cy: "22.345", r: "1.40649", transform: "rotate(90 1.74976 22.345)", fill: "currentColor" }),
|
|
1830
1835
|
/* @__PURE__ */ jsx("circle", { cx: "13.2517", cy: "18.658", r: "1.40649", transform: "rotate(90 13.2517 18.658)", fill: "currentColor" }),
|
|
1831
1836
|
/* @__PURE__ */ jsx("circle", { cx: "7.80444", cy: "25.158", r: "1.40649", transform: "rotate(90 7.80444 25.158)", fill: "currentColor" }),
|
|
@@ -1836,7 +1841,7 @@ const DataServiceIcon = (svgIconProps) => /* @__PURE__ */ jsx(SvgIcon, { ...svgI
|
|
|
1836
1841
|
/* @__PURE__ */ jsx("path", { d: "M4.40039 12.5454L1.91399 15.3954L1.91399 21.3954", stroke: "currentColor", strokeWidth: "1.5" }),
|
|
1837
1842
|
/* @__PURE__ */ jsx("path", { d: "M7.9043 13.0649L7.9043 24.2749", stroke: "currentColor", strokeWidth: "1.5" })
|
|
1838
1843
|
] }) });
|
|
1839
|
-
const DataSetIcon = (iconProps) => /* @__PURE__ */ jsx(SvgIcon, { ...iconProps, children: /* @__PURE__ */ jsx("svg", { width: "19", height: "25", viewBox: "0 0 19 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsxs("g", { id: "dataset icon", children: [
|
|
1844
|
+
const DataSetIcon = (iconProps) => /* @__PURE__ */ jsx(SvgIcon$1, { ...iconProps, children: /* @__PURE__ */ jsx("svg", { width: "19", height: "25", viewBox: "0 0 19 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsxs("g", { id: "dataset icon", children: [
|
|
1840
1845
|
/* @__PURE__ */ jsx("rect", { id: "Rectangle 2", x: "1.0332", y: "1.90381", width: "16.9326", height: "22.0233", stroke: "currentColor", strokeWidth: "2" }),
|
|
1841
1846
|
/* @__PURE__ */ jsx("rect", { id: "Rectangle 3", x: "3.82031", y: "20.3071", width: "11.3596", height: "0.923972", fill: "currentColor" }),
|
|
1842
1847
|
/* @__PURE__ */ jsx("rect", { id: "Rectangle 4", x: "3.82031", y: "18.4595", width: "11.3596", height: "0.923972", fill: "currentColor" }),
|
|
@@ -2058,10 +2063,12 @@ const TelicentHorizontalSVG = ({
|
|
|
2058
2063
|
/* @__PURE__ */ jsx("path", { d: "M95.1909 7.93852V11.7937H95.541C96.2426 9.55004 98.3098 7.51756 101.744 7.51756C106.37 7.51756 109.489 11.5478 109.489 16.6992V25.4613H105.88V16.6992C105.88 13.0899 103.532 10.742 100.623 10.742C97.5734 10.742 95.1909 13.3358 95.1909 16.6992V25.4613H91.5469V7.93852H95.1909Z", fill: "currentColor" }),
|
|
2059
2064
|
/* @__PURE__ */ jsx("path", { d: "M114.747 4.2587V2.68189H118.462V4.46846C118.462 6.15087 118.462 7.58735 116.079 7.58735V7.93888H123.578V11.1634H118.356V20.3103C118.356 22.0621 118.496 22.3428 120.25 22.3428H123.228V25.4617H119.058C116.043 25.4617 114.747 24.2349 114.747 21.1161V11.1634H110.576V7.93888C114.956 7.93888 114.747 6.53711 114.747 4.2587Z", fill: "currentColor" })
|
|
2060
2065
|
] });
|
|
2061
|
-
const UserIcon = (iconProps) => /* @__PURE__ */ jsx(SvgIcon, { ...iconProps, children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "36", height: "36", viewBox: "0 0 36 36", fill: "none", children: [
|
|
2066
|
+
const UserIcon = (iconProps) => /* @__PURE__ */ jsx(SvgIcon$1, { ...iconProps, children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "36", height: "36", viewBox: "0 0 36 36", fill: "none", children: [
|
|
2062
2067
|
/* @__PURE__ */ jsx("circle", { cx: "18", cy: "13.5", r: "3.375", stroke: "currentColor", strokeWidth: "2.25" }),
|
|
2063
2068
|
/* @__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" })
|
|
2064
2069
|
] }) });
|
|
2070
|
+
const ExpandMoreIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, children: /* @__PURE__ */ jsx("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z", fill: "currentColor" }) });
|
|
2071
|
+
const ExpandLessIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, children: /* @__PURE__ */ jsx("path", { d: "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.59L18 14z", fill: "currentColor" }) });
|
|
2065
2072
|
const AddIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
|
|
2066
2073
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
2067
2074
|
}), "Add");
|
|
@@ -23364,14 +23371,17 @@ const AppSwitchLibrarySchema = z.object({
|
|
|
23364
23371
|
id: z.string(),
|
|
23365
23372
|
name: z.string(),
|
|
23366
23373
|
url: z.string(),
|
|
23367
|
-
|
|
23374
|
+
/** @deprecated Use `iconDark` and `iconLight` for theme-aware icons. */
|
|
23375
|
+
icon: z.string().optional(),
|
|
23376
|
+
iconDark: z.string().optional(),
|
|
23377
|
+
iconLight: z.string().optional()
|
|
23368
23378
|
});
|
|
23369
23379
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
23370
23380
|
name: "1k1rh22",
|
|
23371
23381
|
styles: "width:25px;height:25px"
|
|
23372
23382
|
} : {
|
|
23373
23383
|
name: "9qz4wy-AppSwitch",
|
|
23374
|
-
styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
23384
|
+
styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdG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biAgICAgICAgICBpZiAoIXZhbGlkYXRlQXBwc1NjaGVtYS5zdWNjZXNzKSB7XG4gICAgICAgICAgICBjb25zdCBmb3JtYXR0ZWRFcnJvcnMgPSB2YWxpZGF0ZUFwcHNTY2hlbWEuZXJyb3IuaXNzdWVzLm1hcCgoaXNzdWUpID0+IHtcbiAgICAgICAgICAgICAgcmV0dXJuIGAke2lzc3VlLnBhdGgudG9TdHJpbmcoKS5yZXBsYWNlKFwiLFwiLCBcIiA+IFwiKX06ICR7aXNzdWUubWVzc2FnZX1gO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBjb25zdCBlcnJvck1zZyA9IGZvcm1hdHRlZEVycm9ycy5qb2luKFwiXFxuXCIpO1xuICAgICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgICAgPEZsZXhCb3gga2V5PXtlcnJvck1zZ30gcm9sZT1cIm1lbnVpdGVtXCI+XG4gICAgICAgICAgICAgICAgPFRleHQ+XG4gICAgICAgICAgICAgICAgICBNaXNjb25maWd1cmF0aW9uIGVycm9yOiBBcHAgU3dpdGNoIGxpYnJhcnkge2FwcD8uaWQgPyBgZm9yIGlkICR7YXBwLmlkfWAgOiBgYXQgaW5kZXggJHtpbmRleH1gfVxuICAgICAgICAgICAgICAgIDwvVGV4dD5cbiAgICAgICAgICAgICAgICA8VGV4dD57ZXJyb3JNc2d9PC9UZXh0PlxuICAgICAgICAgICAgICA8L0ZsZXhCb3g+XG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGNvbnN0IHRoZW1lZEljb24gPSB0aGVtZS5wYWxldHRlLm1vZGUgPT09IFwiZGFya1wiID8gYXBwLmljb25EYXJrIDogYXBwLmljb25MaWdodDtcbiAgICAgICAgICBjb25zdCBpY29uU3JjID0gdGhlbWVkSWNvbiA/PyBhcHAuaWNvbjtcblxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8TVVJTWVudUl0ZW1cbiAgICAgICAgICAgICAga2V5PXthcHAuaWR9XG4gICAgICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHtcbiAgICAgICAgICAgICAgICB3aW5kb3cub3BlbihhcHAudXJsLCBcIl9ibGFua1wiKTtcbiAgICAgICAgICAgICAgICBoYW5kbGVDbG9zZSgpO1xuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICBzeD17e1xuICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gICAgICAgICAgICAgICAgbWFyZ2luWDogMSxcbiAgICAgICAgICAgICAgICBib3JkZXJSYWRpdXM6IFwiNHB4XCIsXG4gICAgICAgICAgICAgICAgYm9yZGVyOiBcIjFweCBzb2xpZCByZ2JhKDAsIDAsIDAsIDApXCIsXG4gICAgICAgICAgICAgICAgXCImOmhvdmVyXCI6IHtcbiAgICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjpcbiAgICAgICAgICAgICAgICAgICAgdGhlbWUucGFsZXR0ZS5tb2RlID09PSBcImRhcmtcIiA/IHRoZW1lLnBhbGV0dGUuYmFja2dyb3VuZC5kZWZhdWx0IDogXCJyZ2JhKDAsIDAsIDAsIDAuMDQpXCIsXG4gICAgICAgICAgICAgICAgICBib3JkZXI6IGAxcHggc29saWQgJHt0aGVtZS5wYWxldHRlLnByaW1hcnkubWFpbn1gLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIH19XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtpY29uU3JjICYmIChcbiAgICAgICAgICAgICAgICA8TVVJTGlzdEl0ZW1JY29uPlxuICAgICAgICAgICAgICAgICAgPGltZyBzcmM9e2ljb25TcmN9IGFsdD17YCR7YXBwLm5hbWV9IGljb25gfSBjc3M9e3sgd2lkdGg6IDI1LCBoZWlnaHQ6IDI1IH19IC8+XG4gICAgICAgICAgICAgICAgPC9NVUlMaXN0SXRlbUljb24+XG4gICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgIDxNVUlMaXN0SXRlbVRleHQ+XG4gICAgICAgICAgICAgICAgPE1VSVR5cG9ncmFwaHlcbiAgICAgICAgICAgICAgICAgIHZhcmlhbnQ9XCJoMVwiXG4gICAgICAgICAgICAgICAgICBzeD17e1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW5Ub3A6IDAuNSxcbiAgICAgICAgICAgICAgICAgICAgZm9udEZhbWlseTogXCJGaWd0cmVlXCIsXG4gICAgICAgICAgICAgICAgICAgIGZvbnRTaXplOiAxNixcbiAgICAgICAgICAgICAgICAgICAgZm9udFdlaWdodDogNDAwLFxuICAgICAgICAgICAgICAgICAgICBjb2xvcjogXCJwcmltYXJ5XCIsXG4gICAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgICAgICBhbGlnbkl0ZW1zOiBcImNlbnRlclwiLFxuICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICB7YXBwLm5hbWUudG9VcHBlckNhc2UoKX1cbiAgICAgICAgICAgICAgICA8L01VSVR5cG9ncmFwaHk+XG4gICAgICAgICAgICAgIDwvTVVJTGlzdEl0ZW1UZXh0PlxuICAgICAgICAgICAgPC9NVUlNZW51SXRlbT5cbiAgICAgICAgICApO1xuICAgICAgICB9KX1cbiAgICAgIDwvTVVJTWVudT5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEFwcFN3aXRjaDtcbiJdfQ== */",
|
|
23375
23385
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23376
23386
|
};
|
|
23377
23387
|
const AppSwitch = ({
|
|
@@ -23412,6 +23422,8 @@ const AppSwitch = ({
|
|
|
23412
23422
|
/* @__PURE__ */ jsx(Text$1, { children: errorMsg })
|
|
23413
23423
|
] }, errorMsg);
|
|
23414
23424
|
}
|
|
23425
|
+
const themedIcon = theme.palette.mode === "dark" ? app.iconDark : app.iconLight;
|
|
23426
|
+
const iconSrc = themedIcon ?? app.icon;
|
|
23415
23427
|
return /* @__PURE__ */ jsxs(MUIMenuItem, { onClick: () => {
|
|
23416
23428
|
window.open(app.url, "_blank");
|
|
23417
23429
|
handleClose();
|
|
@@ -23426,7 +23438,7 @@ const AppSwitch = ({
|
|
|
23426
23438
|
border: `1px solid ${theme.palette.primary.main}`
|
|
23427
23439
|
}
|
|
23428
23440
|
}, children: [
|
|
23429
|
-
/* @__PURE__ */ jsx(MUIListItemIcon, { children: /* @__PURE__ */ jsx("img", { src:
|
|
23441
|
+
iconSrc && /* @__PURE__ */ jsx(MUIListItemIcon, { children: /* @__PURE__ */ jsx("img", { src: iconSrc, alt: `${app.name} icon`, css: _ref }) }),
|
|
23430
23442
|
/* @__PURE__ */ jsx(MUIListItemText, { children: /* @__PURE__ */ jsx(Typography, { variant: "h1", sx: {
|
|
23431
23443
|
marginTop: 0.5,
|
|
23432
23444
|
fontFamily: "Figtree",
|
|
@@ -26036,10 +26048,13 @@ const TreeView = ({
|
|
|
26036
26048
|
};
|
|
26037
26049
|
const UserProfile = ({
|
|
26038
26050
|
fullName,
|
|
26039
|
-
children
|
|
26051
|
+
children,
|
|
26052
|
+
id = "user-profile",
|
|
26053
|
+
ariaLabel = "User menu"
|
|
26040
26054
|
}) => {
|
|
26041
26055
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
26042
26056
|
const open = Boolean(anchorEl);
|
|
26057
|
+
const menuId = `${id}-menu`;
|
|
26043
26058
|
const handleClick = (event) => {
|
|
26044
26059
|
setAnchorEl(event.currentTarget);
|
|
26045
26060
|
};
|
|
@@ -26047,10 +26062,16 @@ const UserProfile = ({
|
|
|
26047
26062
|
setAnchorEl(null);
|
|
26048
26063
|
};
|
|
26049
26064
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26050
|
-
/* @__PURE__ */ jsxs(MUIStack, { onClick: handleClick, width: "max-content", direction: "row", alignItems: "center", spacing: 1, sx: {
|
|
26065
|
+
/* @__PURE__ */ jsxs(MUIStack, { 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: {
|
|
26066
|
+
background: "none",
|
|
26067
|
+
border: "none",
|
|
26068
|
+
padding: 0,
|
|
26069
|
+
color: "inherit",
|
|
26070
|
+
font: "inherit",
|
|
26071
|
+
textAlign: "inherit",
|
|
26051
26072
|
cursor: "pointer"
|
|
26052
26073
|
}, children: [
|
|
26053
|
-
/* @__PURE__ */ jsx(Text$1, { variant: "subtitle1", component: "h2", sx: {
|
|
26074
|
+
fullName && /* @__PURE__ */ jsx(Text$1, { variant: "subtitle1", component: "h2", sx: {
|
|
26054
26075
|
display: {
|
|
26055
26076
|
xs: "none",
|
|
26056
26077
|
sm: "block"
|
|
@@ -26070,9 +26091,20 @@ const UserProfile = ({
|
|
|
26070
26091
|
height: 32,
|
|
26071
26092
|
borderColor: "inherit"
|
|
26072
26093
|
}, children: /* @__PURE__ */ jsx(UserIcon, { color: "inherit" }) }),
|
|
26073
|
-
/* @__PURE__ */ jsx(
|
|
26094
|
+
/* @__PURE__ */ jsx(MUIBox, { component: "span", "aria-hidden": true, sx: {
|
|
26095
|
+
display: "inline-flex",
|
|
26096
|
+
alignItems: "center",
|
|
26097
|
+
justifyContent: "center",
|
|
26098
|
+
padding: 1,
|
|
26099
|
+
borderRadius: 1,
|
|
26100
|
+
color: "inherit",
|
|
26101
|
+
transition: "background-color 150ms cubic-bezier(0.4, 0, 0.2, 1)",
|
|
26102
|
+
"&:hover": {
|
|
26103
|
+
backgroundColor: (theme) => theme.palette.action.hover
|
|
26104
|
+
}
|
|
26105
|
+
}, children: /* @__PURE__ */ jsx(DownArrow, { rotation: open ? 180 : void 0, size: "sm", color: "primary" }) })
|
|
26074
26106
|
] }),
|
|
26075
|
-
/* @__PURE__ */ jsx(MUIMenu, { anchorEl, id:
|
|
26107
|
+
/* @__PURE__ */ jsx(MUIMenu, { anchorEl, id: menuId, open, onClose: handleClose, onClick: handleClose, MenuListProps: {
|
|
26076
26108
|
component: "div",
|
|
26077
26109
|
sx: {
|
|
26078
26110
|
padding: 0
|
|
@@ -26270,6 +26302,7 @@ const DropdownButton = ({
|
|
|
26270
26302
|
}, 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}`)) })
|
|
26271
26303
|
] });
|
|
26272
26304
|
};
|
|
26305
|
+
const SvgIcon = (props) => /* @__PURE__ */ jsx(MUISvgIcon, { ...props });
|
|
26273
26306
|
const Table = (props) => /* @__PURE__ */ jsx(TableRaw, { ...props });
|
|
26274
26307
|
const TableBody = (props) => /* @__PURE__ */ jsx(TableBodyRaw, { ...props });
|
|
26275
26308
|
const TableCell = (props) => /* @__PURE__ */ jsx(TableCellRaw, { ...props });
|
|
@@ -26288,7 +26321,7 @@ const LinearProgress = ({
|
|
|
26288
26321
|
);
|
|
26289
26322
|
};
|
|
26290
26323
|
const Spinner = (props) => {
|
|
26291
|
-
return /* @__PURE__ */ jsx(CircularProgress, { ...props });
|
|
26324
|
+
return /* @__PURE__ */ jsx(CircularProgress, { "aria-label": "Loading", ...props });
|
|
26292
26325
|
};
|
|
26293
26326
|
const Dialog = ({
|
|
26294
26327
|
open,
|
|
@@ -26324,7 +26357,7 @@ const TertiaryButton = forwardRef((buttonProps, ref) => {
|
|
|
26324
26357
|
const theme = useExtendedTheme();
|
|
26325
26358
|
return /* @__PURE__ */ jsx(MUIButton, { variant: "contained", ref, ...buttonProps, sx: {
|
|
26326
26359
|
border: `1px solid ${(_a = theme.palette.tertiary) == null ? void 0 : _a.main}`,
|
|
26327
|
-
color: (_b = theme.palette.tertiary) == null ? void 0 : _b.
|
|
26360
|
+
color: (_b = theme.palette.tertiary) == null ? void 0 : _b.main,
|
|
26328
26361
|
backgroundColor: theme.palette.mode === "dark" ? "#080808" : "#FFFFFF",
|
|
26329
26362
|
"&:hover": {
|
|
26330
26363
|
backgroundColor: `${(_c = theme.palette.tertiary) == null ? void 0 : _c.main}14`,
|
|
@@ -26548,6 +26581,7 @@ const SnackbarProvider = ({
|
|
|
26548
26581
|
...Components
|
|
26549
26582
|
}, ...otherProps, children });
|
|
26550
26583
|
const Tooltip = (tooltipProps) => /* @__PURE__ */ jsx(MUITooltip, { ...tooltipProps });
|
|
26584
|
+
const ToggleButton = (props) => /* @__PURE__ */ jsx(MUIToggleButton, { ...props });
|
|
26551
26585
|
const StyledToggleButton$1 = styled(MUIToggleButton)({
|
|
26552
26586
|
border: 0
|
|
26553
26587
|
});
|
|
@@ -26693,7 +26727,7 @@ const Select$1 = React__default.forwardRef(({
|
|
|
26693
26727
|
return /* @__PURE__ */ jsxs(FormControl$1, { sx: composedSx, size: "small", error: error2, required, fullWidth, disabled: disabled2, children: [
|
|
26694
26728
|
label && /* @__PURE__ */ jsx(InputLabel, { id: labelId, required, htmlFor: selectedId, children: label }),
|
|
26695
26729
|
/* @__PURE__ */ jsxs(Select$2, { ...rest, open: openProp, onOpen: handleOpen, onClose: handleClose, color: "primary", variant: "outlined", labelId, label, id: selectedId, value, onChange: onChange2, inputRef: ref, "aria-describedby": helperText ? helperTextId : void 0, children: [
|
|
26696
|
-
options.map((option) => /* @__PURE__ */ jsx(MenuItem, { value: option.value, "aria-label": renderOption ? option.label : void 0, disableRipple: true, disabled: option.disabled, children: renderOption ? renderOption(option) : option.label }, option.value)),
|
|
26730
|
+
options.map((option) => /* @__PURE__ */ jsx(MenuItem$1, { value: option.value, "aria-label": renderOption ? option.label : void 0, disableRipple: true, disabled: option.disabled, children: renderOption ? renderOption(option) : option.label }, option.value)),
|
|
26697
26731
|
footer && options.length > 0 && /* @__PURE__ */ jsx(Divider$1, { component: "li", role: "separator", sx: {
|
|
26698
26732
|
my: 0.5
|
|
26699
26733
|
} }, "__ds-select-footer-divider"),
|
|
@@ -27077,9 +27111,14 @@ const CopyToClipboard = ({
|
|
|
27077
27111
|
return /* @__PURE__ */ jsx(Tooltip$1, { title: message, onClose: handleTooltipClose, open, leaveDelay: 1400, arrow: true, placement: "right", componentsProps: {
|
|
27078
27112
|
tooltip: {
|
|
27079
27113
|
sx: {
|
|
27080
|
-
|
|
27114
|
+
// Read `error.dark` (not `.main`): MUI Tooltip's text is
|
|
27115
|
+
// hardcoded white, and `.dark` is pinned in both palettes to
|
|
27116
|
+
// the deep red that passes AA white-on-red (7.78:1 dark,
|
|
27117
|
+
// ~8:1 light). `error.main` is tuned for FormLabel text
|
|
27118
|
+
// contrast on page bg and would fail here in dark mode.
|
|
27119
|
+
bgcolor: message !== successMsg ? theme.palette.error.dark : void 0,
|
|
27081
27120
|
[`& .${tooltipClasses.arrow}`]: {
|
|
27082
|
-
color: message !== successMsg ? theme.palette.error.
|
|
27121
|
+
color: message !== successMsg ? theme.palette.error.dark : void 0
|
|
27083
27122
|
},
|
|
27084
27123
|
fontSize: "0.75rem"
|
|
27085
27124
|
}
|
|
@@ -27318,6 +27357,67 @@ const TabPanel = forwardRef(({
|
|
|
27318
27357
|
);
|
|
27319
27358
|
});
|
|
27320
27359
|
TabPanel.displayName = "TabPanel";
|
|
27360
|
+
const Menu = ({
|
|
27361
|
+
"aria-label": ariaLabel,
|
|
27362
|
+
button,
|
|
27363
|
+
options,
|
|
27364
|
+
onSelect,
|
|
27365
|
+
onOpenChange,
|
|
27366
|
+
menuId = "menu",
|
|
27367
|
+
anchorOrigin = {
|
|
27368
|
+
vertical: "bottom",
|
|
27369
|
+
horizontal: "right"
|
|
27370
|
+
},
|
|
27371
|
+
transformOrigin = {
|
|
27372
|
+
vertical: "top",
|
|
27373
|
+
horizontal: "right"
|
|
27374
|
+
},
|
|
27375
|
+
autoFocusSelected = true,
|
|
27376
|
+
sx
|
|
27377
|
+
}) => {
|
|
27378
|
+
const [anchorEl, setAnchorEl] = React$1.useState(null);
|
|
27379
|
+
const open = Boolean(anchorEl);
|
|
27380
|
+
const selectedIndex = React$1.useMemo(() => options.findIndex((o2) => o2.selected), [options]);
|
|
27381
|
+
const handleOpen = (e) => {
|
|
27382
|
+
setAnchorEl(e.currentTarget);
|
|
27383
|
+
onOpenChange == null ? void 0 : onOpenChange(true);
|
|
27384
|
+
};
|
|
27385
|
+
const handleClose = () => {
|
|
27386
|
+
setAnchorEl(null);
|
|
27387
|
+
onOpenChange == null ? void 0 : onOpenChange(false);
|
|
27388
|
+
};
|
|
27389
|
+
const ariaControls = open ? menuId : void 0;
|
|
27390
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
27391
|
+
button({
|
|
27392
|
+
onClick: handleOpen,
|
|
27393
|
+
"aria-controls": ariaControls,
|
|
27394
|
+
"aria-haspopup": true,
|
|
27395
|
+
"aria-expanded": open ? true : void 0
|
|
27396
|
+
}),
|
|
27397
|
+
/* @__PURE__ */ jsx(MUIMenu, { id: menuId, anchorEl, open, onClose: handleClose, anchorOrigin, transformOrigin, MenuListProps: {
|
|
27398
|
+
"aria-label": ariaLabel,
|
|
27399
|
+
...autoFocusSelected && selectedIndex >= 0 ? {
|
|
27400
|
+
autoFocusItem: true
|
|
27401
|
+
} : {}
|
|
27402
|
+
}, sx, children: options.flatMap((opt, idx) => {
|
|
27403
|
+
const item = /* @__PURE__ */ jsxs(MUIMenuItem, { disabled: opt.disabled, selected: Boolean(opt.selected), autoFocus: autoFocusSelected && idx === selectedIndex, "aria-selected": opt.selected ? "true" : void 0, onClick: () => {
|
|
27404
|
+
var _a;
|
|
27405
|
+
if (opt.href) window.open(opt.href, opt.target ?? "_self");
|
|
27406
|
+
(_a = opt.onClick) == null ? void 0 : _a.call(opt);
|
|
27407
|
+
onSelect == null ? void 0 : onSelect(opt);
|
|
27408
|
+
handleClose();
|
|
27409
|
+
}, children: [
|
|
27410
|
+
opt.icon ? /* @__PURE__ */ jsx(MUIListItemIcon, { children: opt.icon }) : null,
|
|
27411
|
+
/* @__PURE__ */ jsx(MUIListItemText, { children: opt.label })
|
|
27412
|
+
] }, opt.id);
|
|
27413
|
+
return opt.dividerAbove ? [/* @__PURE__ */ jsx(MUIDivider, { component: "li", role: "separator" }, `${opt.id}-divider`), item] : [item];
|
|
27414
|
+
}) })
|
|
27415
|
+
] });
|
|
27416
|
+
};
|
|
27417
|
+
const MenuItem = (props) => /* @__PURE__ */ jsx(MUIMenuItem, { ...props });
|
|
27418
|
+
const Accordion = (props) => /* @__PURE__ */ jsx(MuiAccordion, { ...props });
|
|
27419
|
+
const AccordionSummary = (props) => /* @__PURE__ */ jsx(MuiAccordionSummary, { expandIcon: /* @__PURE__ */ jsx(ExpandMoreIcon, {}), ...props });
|
|
27420
|
+
const AccordionDetails = (props) => /* @__PURE__ */ jsx(MuiAccordionDetails, { ...props });
|
|
27321
27421
|
const Card = ({
|
|
27322
27422
|
maxWidth,
|
|
27323
27423
|
...cardProps
|
|
@@ -30083,6 +30183,7 @@ const Panel = ({
|
|
|
30083
30183
|
}, children: !(context == null ? void 0 : context.get(targetId, "minimised")) && children })
|
|
30084
30184
|
] });
|
|
30085
30185
|
};
|
|
30186
|
+
const Popper = (props) => /* @__PURE__ */ jsx(MUIPopper, { ...props });
|
|
30086
30187
|
const Toolbar = ({
|
|
30087
30188
|
children,
|
|
30088
30189
|
sx,
|
|
@@ -30091,6 +30192,8 @@ const Toolbar = ({
|
|
|
30091
30192
|
const theme = useTheme$1();
|
|
30092
30193
|
return /* @__PURE__ */ jsx(Toolbar$1, { disableGutters: true, variant: "dense", sx: {
|
|
30093
30194
|
backgroundColor: theme.palette.mode === "dark" ? "#2e2e2e" : "#FFFFFF",
|
|
30195
|
+
borderTop: theme.palette.mode === "dark" ? "none" : "1px solid #DEDEDE",
|
|
30196
|
+
borderBottom: theme.palette.mode === "dark" ? "none" : "1px solid #DEDEDE",
|
|
30094
30197
|
paddingX: 2,
|
|
30095
30198
|
paddingY: 1,
|
|
30096
30199
|
...sx
|
|
@@ -30111,43 +30214,66 @@ const DataNavy = {
|
|
|
30111
30214
|
}
|
|
30112
30215
|
};
|
|
30113
30216
|
const main$3 = "#F56AAA";
|
|
30217
|
+
const mainLight$1 = "#B70071";
|
|
30114
30218
|
const DocumentPink = {
|
|
30115
30219
|
dark: {
|
|
30116
30220
|
primary: {
|
|
30117
30221
|
main: main$3,
|
|
30118
|
-
dark:
|
|
30119
|
-
light:
|
|
30222
|
+
dark: "#C45488",
|
|
30223
|
+
light: "#F787BB",
|
|
30120
30224
|
contrastText: common.black
|
|
30121
30225
|
}
|
|
30226
|
+
},
|
|
30227
|
+
light: {
|
|
30228
|
+
primary: {
|
|
30229
|
+
main: mainLight$1,
|
|
30230
|
+
dark: "#92005A",
|
|
30231
|
+
light: "#C5338D",
|
|
30232
|
+
contrastText: "#FFFFFF"
|
|
30233
|
+
},
|
|
30234
|
+
background: {
|
|
30235
|
+
default: "#F9F9F9",
|
|
30236
|
+
paper: "#FFFFFF"
|
|
30237
|
+
},
|
|
30238
|
+
text: {
|
|
30239
|
+
primary: "#1A1D21",
|
|
30240
|
+
secondary: "#5A6172"
|
|
30241
|
+
},
|
|
30242
|
+
divider: "rgba(26, 29, 33, 0.12)",
|
|
30243
|
+
action: {
|
|
30244
|
+
hover: "rgba(26, 29, 33, 0.04)"
|
|
30245
|
+
}
|
|
30122
30246
|
}
|
|
30123
30247
|
};
|
|
30124
30248
|
const main$2 = "#F2A64B";
|
|
30125
|
-
const mainLight = "#
|
|
30249
|
+
const mainLight = "#C24D00";
|
|
30126
30250
|
const GraphOrange = {
|
|
30127
30251
|
dark: {
|
|
30128
30252
|
primary: {
|
|
30129
30253
|
main: main$2,
|
|
30130
|
-
dark:
|
|
30131
|
-
light:
|
|
30254
|
+
dark: "#C1843C",
|
|
30255
|
+
light: "#F4B76F",
|
|
30132
30256
|
contrastText: common.black
|
|
30133
30257
|
}
|
|
30134
30258
|
},
|
|
30135
30259
|
light: {
|
|
30136
|
-
//
|
|
30137
|
-
//
|
|
30138
|
-
//
|
|
30260
|
+
// Known trade-off: `mainLight` is tuned for brand recognition and does
|
|
30261
|
+
// not clear WCAG 2.2 AA (4.5:1) in every component context — notably
|
|
30262
|
+
// established patterns like the Secondary button variant where it
|
|
30263
|
+
// renders as foreground on light surfaces. Shipped per explicit product
|
|
30264
|
+
// direction, prioritising brand fidelity over universal AA
|
|
30265
|
+
// conformance for this specific token. The gap is documented here
|
|
30266
|
+
// rather than silently carried; revisit against the system-wide target
|
|
30267
|
+
// in docs/adr/0001-wcag-2.2-aa.md if a brand or component update
|
|
30268
|
+
// closes it.
|
|
30139
30269
|
//
|
|
30140
|
-
//
|
|
30141
|
-
//
|
|
30142
|
-
//
|
|
30143
|
-
// which is why it keeps alpha() above.
|
|
30270
|
+
// The app colour shifts per mode rather than splitting into a second
|
|
30271
|
+
// token, so components keep reading primary alone. contrastThreshold
|
|
30272
|
+
// 4.5 resolves #FFF on mainLight (5.49:1).
|
|
30144
30273
|
primary: {
|
|
30145
30274
|
main: mainLight,
|
|
30146
|
-
|
|
30147
|
-
|
|
30148
|
-
// 800 — pressed, link hover
|
|
30149
|
-
light: "#C06806",
|
|
30150
|
-
// 600 — still 4.02:1, safe on borders
|
|
30275
|
+
dark: "#9B3D00",
|
|
30276
|
+
light: "#CE7033",
|
|
30151
30277
|
contrastText: "#FFFFFF"
|
|
30152
30278
|
},
|
|
30153
30279
|
background: {
|
|
@@ -30171,16 +30297,16 @@ const AdminBlue = {
|
|
|
30171
30297
|
dark: {
|
|
30172
30298
|
primary: {
|
|
30173
30299
|
main: darkMain$1,
|
|
30174
|
-
dark:
|
|
30175
|
-
light:
|
|
30300
|
+
dark: "#1F8CB8",
|
|
30301
|
+
light: "#1F6D8C",
|
|
30176
30302
|
contrastText: common.black
|
|
30177
30303
|
}
|
|
30178
30304
|
},
|
|
30179
30305
|
light: {
|
|
30180
30306
|
primary: {
|
|
30181
30307
|
main: lightMain,
|
|
30182
|
-
dark:
|
|
30183
|
-
light:
|
|
30308
|
+
dark: "#6C7AD8",
|
|
30309
|
+
light: "#949FE2",
|
|
30184
30310
|
contrastText: "#FFFFFF"
|
|
30185
30311
|
}
|
|
30186
30312
|
}
|
|
@@ -30249,6 +30375,22 @@ const AVATAR_OVERRIDES = {
|
|
|
30249
30375
|
}]
|
|
30250
30376
|
}
|
|
30251
30377
|
};
|
|
30378
|
+
const generateAccordionOverrides = (_uiTheme) => ({
|
|
30379
|
+
MuiAccordion: {
|
|
30380
|
+
defaultProps: {
|
|
30381
|
+
elevation: 0,
|
|
30382
|
+
disableGutters: true
|
|
30383
|
+
},
|
|
30384
|
+
styleOverrides: {
|
|
30385
|
+
root: {
|
|
30386
|
+
backgroundColor: "transparent",
|
|
30387
|
+
"&:before": {
|
|
30388
|
+
display: "none"
|
|
30389
|
+
}
|
|
30390
|
+
}
|
|
30391
|
+
}
|
|
30392
|
+
}
|
|
30393
|
+
});
|
|
30252
30394
|
const generateButtonOverrides = (_uiTheme) => ({
|
|
30253
30395
|
MuiButton: {
|
|
30254
30396
|
styleOverrides: {
|
|
@@ -30485,6 +30627,7 @@ const FONT_FACES_CSS = `
|
|
|
30485
30627
|
`;
|
|
30486
30628
|
const generateComponentOverrides = (uiTheme) => ({
|
|
30487
30629
|
...AVATAR_OVERRIDES,
|
|
30630
|
+
...generateAccordionOverrides(),
|
|
30488
30631
|
...generateButtonOverrides(),
|
|
30489
30632
|
...generateCardOverrides(),
|
|
30490
30633
|
...generateTabsOverrides(),
|
|
@@ -31296,11 +31439,14 @@ const merge$1 = /* @__PURE__ */ getDefaultExportFromCjs$1(lodash_mergeExports);
|
|
|
31296
31439
|
const CONTRAST_THRESHOLD = 4.5;
|
|
31297
31440
|
const baseLightPalette = {
|
|
31298
31441
|
contrastThreshold: CONTRAST_THRESHOLD,
|
|
31442
|
+
// Tertiary is a theme-agnostic neutral grey; pinned here rather than
|
|
31443
|
+
// re-stated in every theme file. `main` reads at 6.20:1 as text on white
|
|
31444
|
+
// and 5.97:1 as filled bg behind white — passes AA in both roles.
|
|
31299
31445
|
tertiary: {
|
|
31300
|
-
main: "#
|
|
31301
|
-
dark:
|
|
31302
|
-
light:
|
|
31303
|
-
contrastText: "#
|
|
31446
|
+
main: "#5A6172",
|
|
31447
|
+
dark: "#454B59",
|
|
31448
|
+
light: "#767E90",
|
|
31449
|
+
contrastText: "#FFFFFF"
|
|
31304
31450
|
},
|
|
31305
31451
|
text: {
|
|
31306
31452
|
primary: "#000000",
|
|
@@ -31309,15 +31455,21 @@ const baseLightPalette = {
|
|
|
31309
31455
|
},
|
|
31310
31456
|
background: {
|
|
31311
31457
|
default: "#F9F9F9"
|
|
31458
|
+
},
|
|
31459
|
+
error: {
|
|
31460
|
+
main: "#d32f2f",
|
|
31461
|
+
dark: "#b71c1c"
|
|
31312
31462
|
}
|
|
31313
31463
|
};
|
|
31314
31464
|
const baseDarkPalette = {
|
|
31315
31465
|
contrastThreshold: CONTRAST_THRESHOLD,
|
|
31466
|
+
// Mirrors the light-mode tertiary role: `main` reads at 7.66:1 as text on
|
|
31467
|
+
// the dark page bg (#1D1D1D) and 6.93:1 as filled bg behind dark text.
|
|
31316
31468
|
tertiary: {
|
|
31317
|
-
main: "#
|
|
31318
|
-
dark:
|
|
31319
|
-
light:
|
|
31320
|
-
contrastText: "#
|
|
31469
|
+
main: "#A0A0A0",
|
|
31470
|
+
dark: "#808080",
|
|
31471
|
+
light: "#BFBFBF",
|
|
31472
|
+
contrastText: "#1A1A1A"
|
|
31321
31473
|
},
|
|
31322
31474
|
text: {
|
|
31323
31475
|
primary: "#ececec",
|
|
@@ -31328,22 +31480,14 @@ const baseDarkPalette = {
|
|
|
31328
31480
|
default: "#1D1D1D",
|
|
31329
31481
|
paper: "#252525"
|
|
31330
31482
|
},
|
|
31331
|
-
// MUI's dark-mode default
|
|
31332
|
-
//
|
|
31333
|
-
// green[800] gives ~5.35:1 to white, so getContrastText resolves to #fff
|
|
31334
|
-
// and filled Alert renders success with white text + icon. Restores
|
|
31335
|
-
// pre-3.6.0 catalog behaviour without a component-level override.
|
|
31483
|
+
// Darker than MUI's dark-mode default so getContrastText picks white on
|
|
31484
|
+
// filled success Alerts.
|
|
31336
31485
|
success: {
|
|
31337
31486
|
main: "#2e7d32"
|
|
31338
31487
|
},
|
|
31339
|
-
// MUI's dark-mode default error.main is red[500] (#f44336). Contrast to
|
|
31340
|
-
// white is 3.76:1 — with the 4.5 threshold, getContrastText would flip to
|
|
31341
|
-
// dark text on red, changing error's long-standing visual identity.
|
|
31342
|
-
// Overriding main to red[700] (#d32f2f, contrast 5.36:1) keeps white text
|
|
31343
|
-
// and pushes the actual filled-Alert background (which paints .dark in
|
|
31344
|
-
// dark mode) to a slightly deeper red — no component override needed.
|
|
31345
31488
|
error: {
|
|
31346
|
-
main: "#
|
|
31489
|
+
main: "#ff5252",
|
|
31490
|
+
dark: "#c62828"
|
|
31347
31491
|
},
|
|
31348
31492
|
grey
|
|
31349
31493
|
};
|
|
@@ -79458,63 +79602,6 @@ const Image$1 = ({
|
|
|
79458
79602
|
width: 25,
|
|
79459
79603
|
height: 20
|
|
79460
79604
|
} }) });
|
|
79461
|
-
const Menu = ({
|
|
79462
|
-
"aria-label": ariaLabel,
|
|
79463
|
-
button,
|
|
79464
|
-
options,
|
|
79465
|
-
onSelect,
|
|
79466
|
-
onOpenChange,
|
|
79467
|
-
menuId = "menu",
|
|
79468
|
-
anchorOrigin = {
|
|
79469
|
-
vertical: "bottom",
|
|
79470
|
-
horizontal: "right"
|
|
79471
|
-
},
|
|
79472
|
-
transformOrigin = {
|
|
79473
|
-
vertical: "top",
|
|
79474
|
-
horizontal: "right"
|
|
79475
|
-
},
|
|
79476
|
-
autoFocusSelected = true,
|
|
79477
|
-
sx
|
|
79478
|
-
}) => {
|
|
79479
|
-
const [anchorEl, setAnchorEl] = React$1.useState(null);
|
|
79480
|
-
const open = Boolean(anchorEl);
|
|
79481
|
-
const selectedIndex = React$1.useMemo(() => options.findIndex((o2) => o2.selected), [options]);
|
|
79482
|
-
const handleOpen = (e) => {
|
|
79483
|
-
setAnchorEl(e.currentTarget);
|
|
79484
|
-
onOpenChange == null ? void 0 : onOpenChange(true);
|
|
79485
|
-
};
|
|
79486
|
-
const handleClose = () => {
|
|
79487
|
-
setAnchorEl(null);
|
|
79488
|
-
onOpenChange == null ? void 0 : onOpenChange(false);
|
|
79489
|
-
};
|
|
79490
|
-
const ariaControls = open ? menuId : void 0;
|
|
79491
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
79492
|
-
button({
|
|
79493
|
-
onClick: handleOpen,
|
|
79494
|
-
"aria-controls": ariaControls,
|
|
79495
|
-
"aria-haspopup": true,
|
|
79496
|
-
"aria-expanded": open ? true : void 0
|
|
79497
|
-
}),
|
|
79498
|
-
/* @__PURE__ */ jsx(MUIMenu, { id: menuId, anchorEl, open, onClose: handleClose, anchorOrigin, transformOrigin, MenuListProps: {
|
|
79499
|
-
"aria-label": ariaLabel,
|
|
79500
|
-
...autoFocusSelected && selectedIndex >= 0 ? {
|
|
79501
|
-
autoFocusItem: true
|
|
79502
|
-
} : {}
|
|
79503
|
-
}, sx, children: options.flatMap((opt, idx) => {
|
|
79504
|
-
const item = /* @__PURE__ */ jsxs(MUIMenuItem, { disabled: opt.disabled, selected: Boolean(opt.selected), autoFocus: autoFocusSelected && idx === selectedIndex, "aria-selected": opt.selected ? "true" : void 0, onClick: () => {
|
|
79505
|
-
var _a;
|
|
79506
|
-
if (opt.href) window.open(opt.href, opt.target ?? "_self");
|
|
79507
|
-
(_a = opt.onClick) == null ? void 0 : _a.call(opt);
|
|
79508
|
-
onSelect == null ? void 0 : onSelect(opt);
|
|
79509
|
-
handleClose();
|
|
79510
|
-
}, children: [
|
|
79511
|
-
opt.icon ? /* @__PURE__ */ jsx(MUIListItemIcon, { children: opt.icon }) : null,
|
|
79512
|
-
/* @__PURE__ */ jsx(MUIListItemText, { children: opt.label })
|
|
79513
|
-
] }, opt.id);
|
|
79514
|
-
return opt.dividerAbove ? [/* @__PURE__ */ jsx(MUIDivider, { component: "li", role: "separator" }, `${opt.id}-divider`), item] : [item];
|
|
79515
|
-
}) })
|
|
79516
|
-
] });
|
|
79517
|
-
};
|
|
79518
79605
|
const resolveVisibleBaseLayerIndex = (layers) => {
|
|
79519
79606
|
const storedLabel = localStorage.getItem("map.baselayer");
|
|
79520
79607
|
const baseLayers = layers.filter((l) => l.get("kind") !== "overlay-vector");
|
|
@@ -87216,7 +87303,11 @@ const mui = {
|
|
|
87216
87303
|
Box: Box$1
|
|
87217
87304
|
};
|
|
87218
87305
|
export {
|
|
87306
|
+
Accordion,
|
|
87307
|
+
AccordionDetails,
|
|
87308
|
+
AccordionSummary,
|
|
87219
87309
|
default2 as Alert,
|
|
87310
|
+
default3 as AlertTitle,
|
|
87220
87311
|
AppBar,
|
|
87221
87312
|
AppChrome,
|
|
87222
87313
|
AppInfo,
|
|
@@ -87243,6 +87334,7 @@ export {
|
|
|
87243
87334
|
CardContent,
|
|
87244
87335
|
CardHeader,
|
|
87245
87336
|
Checkbox,
|
|
87337
|
+
ChevronRightIcon,
|
|
87246
87338
|
Chip,
|
|
87247
87339
|
ClockIcon,
|
|
87248
87340
|
CloseIcon,
|
|
@@ -87269,6 +87361,8 @@ export {
|
|
|
87269
87361
|
ErrorFallback,
|
|
87270
87362
|
ErrorFallbackText,
|
|
87271
87363
|
ErrorFallbackWrapper,
|
|
87364
|
+
ExpandLessIcon,
|
|
87365
|
+
ExpandMoreIcon,
|
|
87272
87366
|
Panel as FixedPanel,
|
|
87273
87367
|
FlexBox,
|
|
87274
87368
|
FlexGrid,
|
|
@@ -87308,6 +87402,8 @@ export {
|
|
|
87308
87402
|
MapIcon,
|
|
87309
87403
|
MapToggleButtonPresentational,
|
|
87310
87404
|
MarkerAnchor,
|
|
87405
|
+
Menu,
|
|
87406
|
+
MenuItem,
|
|
87311
87407
|
MiniSearchAutocomplete,
|
|
87312
87408
|
MiniSearchBox,
|
|
87313
87409
|
MinusCircleIcon,
|
|
@@ -87316,6 +87412,7 @@ export {
|
|
|
87316
87412
|
PlayIcon,
|
|
87317
87413
|
PlusCircleIcon,
|
|
87318
87414
|
PopOver,
|
|
87415
|
+
Popper,
|
|
87319
87416
|
PreferredLabelCache,
|
|
87320
87417
|
QuestionIcon,
|
|
87321
87418
|
RecentSearches,
|
|
@@ -87327,6 +87424,7 @@ export {
|
|
|
87327
87424
|
Skeleton,
|
|
87328
87425
|
SnackbarProvider,
|
|
87329
87426
|
Spinner,
|
|
87427
|
+
SvgIcon,
|
|
87330
87428
|
Switch,
|
|
87331
87429
|
Tab,
|
|
87332
87430
|
TabPanel,
|
|
@@ -87344,6 +87442,7 @@ export {
|
|
|
87344
87442
|
ThemeSwitch,
|
|
87345
87443
|
ThemeSwitchRow,
|
|
87346
87444
|
TitleAndContent,
|
|
87445
|
+
ToggleButton,
|
|
87347
87446
|
Toolbar,
|
|
87348
87447
|
Tooltip,
|
|
87349
87448
|
TooltipToggleButton,
|
|
@@ -87363,6 +87462,7 @@ export {
|
|
|
87363
87462
|
closeSnackbar,
|
|
87364
87463
|
createApi,
|
|
87365
87464
|
createRequestApi,
|
|
87465
|
+
dividerClasses,
|
|
87366
87466
|
ensureFaIconPath,
|
|
87367
87467
|
getCodec,
|
|
87368
87468
|
workspace as insetInMap,
|