@telicent-oss/ds 4.0.0 → 4.1.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/dist/ds.js CHANGED
@@ -1,10 +1,10 @@
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, FormControl, Autocomplete as Autocomplete$1, Switch as Switch$1, FormControlLabel, Checkbox as Checkbox$1, tooltipClasses, Tooltip, Toolbar as Toolbar$1, alpha as alpha$1, ThemeProvider, Avatar, IconButton as IconButton$1, Paper as Paper$1 } from "@mui/material";
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";
5
5
  import { DialogActions as DialogActions2, DialogContent as DialogContent2, DialogTitle } from "@mui/material";
6
6
  import * as React$1 from "react";
7
- import React__default, { useState, useEffect, forwardRef, useContext, useCallback, useId as useId$1, memo, useMemo, PureComponent, createElement as createElement$1, createContext, useRef, useImperativeHandle } from "react";
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";
8
8
  import { useTheme, useThemeProps, styled, alpha, createTheme as createTheme$1 } from "@mui/material/styles";
9
9
  import { alpha as alpha2 } from "@mui/material/styles";
10
10
  import MUISvgIcon from "@mui/material/SvgIcon";
@@ -27,6 +27,11 @@ import MUIChip from "@mui/material/Chip";
27
27
  import MUIDivider from "@mui/material/Divider";
28
28
  import MUIAvatar from "@mui/material/Avatar";
29
29
  import MUIPopOver from "@mui/material/Popover";
30
+ import TableRaw from "@mui/material/Table";
31
+ import TableBodyRaw from "@mui/material/TableBody";
32
+ import TableCellRaw from "@mui/material/TableCell";
33
+ import TableHeadRaw from "@mui/material/TableHead";
34
+ import TableRowRaw from "@mui/material/TableRow";
30
35
  import LinearProgressRaw from "@mui/material/LinearProgress";
31
36
  import MUIButton from "@mui/material/Button";
32
37
  import Alert from "@mui/material/Alert";
@@ -34,12 +39,15 @@ import { default as default2 } from "@mui/material/Alert";
34
39
  import SkeletonRaw from "@mui/material/Skeleton";
35
40
  import { useSnackbar as useSnackbar$1, enqueueSnackbar, SnackbarProvider as SnackbarProvider$1 } from "notistack";
36
41
  import { closeSnackbar } from "notistack";
37
- import MUIToggleButton from "@mui/material/ToggleButton";
38
42
  import MUITooltip from "@mui/material/Tooltip";
43
+ import MUIToggleButton from "@mui/material/ToggleButton";
39
44
  import { DatePicker as DatePicker$1 } from "@mui/x-date-pickers/DatePicker";
40
45
  import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
41
46
  import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
42
47
  import { DateTimePicker as DateTimePicker$1 } from "@mui/x-date-pickers/DateTimePicker";
48
+ import FormControlRaw from "@mui/material/FormControl";
49
+ import FormControlLabelRaw from "@mui/material/FormControlLabel";
50
+ import FormHelperTextRaw from "@mui/material/FormHelperText";
43
51
  import MUICircularProgress from "@mui/material/CircularProgress";
44
52
  import OutlinedInput from "@mui/material/OutlinedInput";
45
53
  import { styled as styled$1 } from "@mui/system";
@@ -48,6 +56,8 @@ import MUIPopper from "@mui/material/Popper";
48
56
  import MUIPaper from "@mui/material/Paper";
49
57
  import { createSvgIcon, useForkRef as useForkRef$2 } from "@mui/material/utils";
50
58
  import InputBase from "@mui/material/InputBase";
59
+ import MuiTabs from "@mui/material/Tabs";
60
+ import MuiTab from "@mui/material/Tab";
51
61
  import MUICard from "@mui/material/Card";
52
62
  import MUICardHeader from "@mui/material/CardHeader";
53
63
  import MUICardContent from "@mui/material/CardContent";
@@ -1813,7 +1823,7 @@ var jsxs = function jsxs2(type, props, key) {
1813
1823
  };
1814
1824
  const BinIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, viewBox: "6 5 12 14", children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5556 6C13.476 6 14.2222 6.80589 14.2222 7.8H17V9H15.8889V16.2C15.8889 17.1941 15.1427 18 14.2222 18H9.77778C8.8573 18 8.11111 17.1941 8.11111 16.2V9H7V7.8H9.77778C9.77778 6.80589 10.524 6 11.4444 6H12.5556ZM9.22222 16.2L9.22494 16.2615C9.25345 16.564 9.49018 16.8 9.77778 16.8H14.2222L14.2792 16.7971C14.5593 16.7663 14.7778 16.5106 14.7778 16.2V9H9.22222V16.2ZM11.4444 7.2C11.1376 7.2 10.8889 7.46863 10.8889 7.8H13.1111C13.1111 7.46863 12.8624 7.2 12.5556 7.2H11.4444Z", fill: "currentColor" }) });
1815
1825
  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" }) });
1816
- const CogIcon = (iconProps) => /* @__PURE__ */ jsx(MUISvgIcon, { ...iconProps, 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" }) });
1826
+ 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" }) }) });
1817
1827
  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" }) });
1818
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: [
1819
1829
  /* @__PURE__ */ jsx("circle", { cx: "1.74976", cy: "22.345", r: "1.40649", transform: "rotate(90 1.74976 22.345)", fill: "currentColor" }),
@@ -6861,7 +6871,7 @@ const faIdCard$1 = {
6861
6871
  icon: [576, 512, [62147, "drivers-license"], "f2c2", "M528 160l0 256c0 8.8-7.2 16-16 16l-192 0c0-44.2-35.8-80-80-80l-64 0c-44.2 0-80 35.8-80 80l-32 0c-8.8 0-16-7.2-16-16l0-256 480 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM272 256a64 64 0 1 0 -128 0 64 64 0 1 0 128 0zm104-48c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-80 0z"]
6862
6872
  };
6863
6873
  const faDriversLicense$1 = faIdCard$1;
6864
- const faSun$1 = {
6874
+ const faSun$2 = {
6865
6875
  prefix: "far",
6866
6876
  iconName: "sun",
6867
6877
  icon: [512, 512, [9728], "f185", "M375.7 19.7c-1.5-8-6.9-14.7-14.4-17.8s-16.1-2.2-22.8 2.4L256 61.1 173.5 4.2c-6.7-4.6-15.3-5.5-22.8-2.4s-12.9 9.8-14.4 17.8l-18.1 98.5L19.7 136.3c-8 1.5-14.7 6.9-17.8 14.4s-2.2 16.1 2.4 22.8L61.1 256 4.2 338.5c-4.6 6.7-5.5 15.3-2.4 22.8s9.8 13 17.8 14.4l98.5 18.1 18.1 98.5c1.5 8 6.9 14.7 14.4 17.8s16.1 2.2 22.8-2.4L256 450.9l82.5 56.9c6.7 4.6 15.3 5.5 22.8 2.4s12.9-9.8 14.4-17.8l18.1-98.5 98.5-18.1c8-1.5 14.7-6.9 17.8-14.4s2.2-16.1-2.4-22.8L450.9 256l56.9-82.5c4.6-6.7 5.5-15.3 2.4-22.8s-9.8-12.9-17.8-14.4l-98.5-18.1L375.7 19.7zM269.6 110l65.6-45.2 14.4 78.3c1.8 9.8 9.5 17.5 19.3 19.3l78.3 14.4L402 242.4c-5.7 8.2-5.7 19 0 27.2l45.2 65.6-78.3 14.4c-9.8 1.8-17.5 9.5-19.3 19.3l-14.4 78.3L269.6 402c-8.2-5.7-19-5.7-27.2 0l-65.6 45.2-14.4-78.3c-1.8-9.8-9.5-17.5-19.3-19.3L64.8 335.2 110 269.6c5.7-8.2 5.7-19 0-27.2L64.8 176.8l78.3-14.4c9.8-1.8 17.5-9.5 19.3-19.3l14.4-78.3L242.4 110c8.2 5.7 19 5.7 27.2 0zM256 368a112 112 0 1 0 0-224 112 112 0 1 0 0 224zM192 256a64 64 0 1 1 128 0 64 64 0 1 1 -128 0z"]
@@ -6991,7 +7001,7 @@ const faFaceGrinBeamSweat$1 = {
6991
7001
  icon: [512, 512, [128517, "grin-beam-sweat"], "f583", "M476.8 126.3C497.1 120.8 512 102.7 512 81c0-20-28.6-60.4-41.6-77.7c-3.2-4.4-9.6-4.4-12.8 0c-9.5 12.6-27.1 37.2-36 57.5c-.3 .7-.6 1.4-.9 2.1C417.8 69.7 416 76 416 81c0 26 21.5 47 48 47c4.4 0 8.7-.6 12.8-1.7zM395.4 41.2C355.3 15.2 307.4 0 256 0C114.6 0 0 114.6 0 256S114.6 512 256 512s256-114.6 256-256c0-35.8-7.3-69.9-20.6-100.8c-8.6 3.1-17.8 4.8-27.4 4.8c-8.9 0-17.6-1.5-25.7-4.2C454.7 185.5 464 219.7 464 256c0 114.9-93.1 208-208 208S48 370.9 48 256S141.1 48 256 48c48.7 0 93.4 16.7 128.9 44.7c-.6-3.8-.9-7.7-.9-11.7c0-11.4 3.8-22.4 7.1-30.5c1.3-3.1 2.7-6.2 4.3-9.3zM375 336.5c10.4-16.1-6.8-32.5-25.5-28.1c-28.9 6.8-60.5 10.5-93.6 10.5s-64.7-3.7-93.6-10.5c-18.7-4.4-35.9 12-25.5 28.1c24.6 38.1 68.7 63.5 119.1 63.5s94.5-25.4 119.1-63.5zM217.6 228.8s0 0 0 0s0 0 0 0s0 0 0 0c2.1 2.8 5.7 3.9 8.9 2.8s5.5-4.1 5.5-7.6c0-17.9-6.7-35.6-16.6-48.8c-9.8-13-23.9-23.2-39.4-23.2s-29.6 10.2-39.4 23.2C126.7 188.4 120 206.1 120 224c0 3.4 2.2 6.5 5.5 7.6s6.9 0 8.9-2.8c0 0 0 0 0 0s0 0 0 0c0 0 0 0 0 0l.2-.2c.2-.2 .4-.5 .7-.9c.6-.8 1.6-2 2.8-3.4c2.5-2.8 6-6.6 10.2-10.3c8.8-7.8 18.8-14 27.7-14s18.9 6.2 27.7 14c4.2 3.7 7.7 7.5 10.2 10.3c1.2 1.4 2.2 2.6 2.8 3.4c.3 .4 .6 .7 .7 .9l.2 .2c0 0 0 0 0 0zm160 0s0 0 0 0s0 0 0 0c2.1 2.8 5.7 3.9 8.9 2.8s5.5-4.1 5.5-7.6c0-17.9-6.7-35.6-16.6-48.8c-9.8-13-23.9-23.2-39.4-23.2s-29.6 10.2-39.4 23.2C286.7 188.4 280 206.1 280 224c0 3.4 2.2 6.5 5.5 7.6s6.9 0 8.9-2.8c0 0 0 0 0 0s0 0 0 0c0 0 0 0 0 0l.2-.2c.2-.2 .4-.5 .7-.9c.6-.8 1.6-2 2.8-3.4c2.5-2.8 6-6.6 10.2-10.3c8.8-7.8 18.8-14 27.7-14s18.9 6.2 27.7 14c4.2 3.7 7.7 7.5 10.2 10.3c1.2 1.4 2.2 2.6 2.8 3.4c.3 .4 .6 .7 .7 .9l.2 .2c0 0 0 0 0 0c0 0 0 0 0 0z"]
6992
7002
  };
6993
7003
  const faGrinBeamSweat$1 = faFaceGrinBeamSweat$1;
6994
- const faMoon$1 = {
7004
+ const faMoon$2 = {
6995
7005
  prefix: "far",
6996
7006
  iconName: "moon",
6997
7007
  icon: [384, 512, [127769, 9214], "f186", "M144.7 98.7c-21 34.1-33.1 74.3-33.1 117.3c0 98 62.8 181.4 150.4 211.7c-12.4 2.8-25.3 4.3-38.6 4.3C126.6 432 48 353.3 48 256c0-68.9 39.4-128.4 96.8-157.3zm62.1-66C91.1 41.2 0 137.9 0 256C0 379.7 100 480 223.5 480c47.8 0 92-15 128.4-40.6c1.9-1.3 3.7-2.7 5.5-4c4.8-3.6 9.4-7.4 13.9-11.4c2.7-2.4 5.3-4.8 7.9-7.3c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-3.7 .6-7.4 1.2-11.1 1.6c-5 .5-10.1 .9-15.3 1c-1.2 0-2.5 0-3.7 0l-.3 0c-96.8-.2-175.2-78.9-175.2-176c0-54.8 24.9-103.7 64.1-136c1-.9 2.1-1.7 3.2-2.6c4-3.2 8.2-6.2 12.5-9c3.1-2 6.3-4 9.6-5.8c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-3.6-.3-7.1-.5-10.7-.6c-2.7-.1-5.5-.1-8.2-.1c-3.3 0-6.5 .1-9.8 .2c-2.3 .1-4.6 .2-6.9 .4z"]
@@ -7283,7 +7293,7 @@ var icons$1 = {
7283
7293
  faMeh: faMeh$1,
7284
7294
  faIdCard: faIdCard$1,
7285
7295
  faDriversLicense: faDriversLicense$1,
7286
- faSun: faSun$1,
7296
+ faSun: faSun$2,
7287
7297
  faFaceLaughWink: faFaceLaughWink$1,
7288
7298
  faLaughWink: faLaughWink$1,
7289
7299
  faCircleDown: faCircleDown$1,
@@ -7317,7 +7327,7 @@ var icons$1 = {
7317
7327
  faBuilding: faBuilding$1,
7318
7328
  faFaceGrinBeamSweat: faFaceGrinBeamSweat$1,
7319
7329
  faGrinBeamSweat: faGrinBeamSweat$1,
7320
- faMoon: faMoon$1,
7330
+ faMoon: faMoon$2,
7321
7331
  faCalendar: faCalendar$1,
7322
7332
  faFaceGrinTongueWink: faFaceGrinTongueWink$1,
7323
7333
  faGrinTongueWink: faGrinTongueWink$1,
@@ -7546,7 +7556,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
7546
7556
  faMinusSquare: faMinusSquare$1,
7547
7557
  faMoneyBill1: faMoneyBill1$1,
7548
7558
  faMoneyBillAlt: faMoneyBillAlt$1,
7549
- faMoon: faMoon$1,
7559
+ faMoon: faMoon$2,
7550
7560
  faNewspaper: faNewspaper$1,
7551
7561
  faNoteSticky: faNoteSticky$1,
7552
7562
  faObjectGroup: faObjectGroup$1,
@@ -7587,7 +7597,7 @@ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
7587
7597
  faStarHalfStroke: faStarHalfStroke$1,
7588
7598
  faStickyNote: faStickyNote$1,
7589
7599
  faStopCircle: faStopCircle$1,
7590
- faSun: faSun$1,
7600
+ faSun: faSun$2,
7591
7601
  faSurprise: faSurprise$1,
7592
7602
  faThumbsDown: faThumbsDown$1,
7593
7603
  faThumbsUp: faThumbsUp$1,
@@ -12952,7 +12962,7 @@ const faRubleSign = {
12952
12962
  const faRouble = faRubleSign;
12953
12963
  const faRub = faRubleSign;
12954
12964
  const faRuble = faRubleSign;
12955
- const faSun = {
12965
+ const faSun$1 = {
12956
12966
  prefix: "fas",
12957
12967
  iconName: "sun",
12958
12968
  icon: [512, 512, [9728], "f185", "M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]
@@ -14265,7 +14275,7 @@ const faCarrot = {
14265
14275
  iconName: "carrot",
14266
14276
  icon: [512, 512, [129365], "f787", "M346.7 6C337.6 17 320 42.3 320 72c0 40 15.3 55.3 40 80s40 40 80 40c29.7 0 55-17.6 66-26.7c4-3.3 6-8.2 6-13.3s-2-10-6-13.2c-11.4-9.1-38.3-26.8-74-26.8c-32 0-40 8-40 8s8-8 8-40c0-35.7-17.7-62.6-26.8-74C370 2 365.1 0 360 0s-10 2-13.3 6zM244.6 136c-40 0-77.1 18.1-101.7 48.2l60.5 60.5c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-55.3-55.3 0 .1L2.2 477.9C-2 487-.1 497.8 7 505s17.9 9 27.1 4.8l134.7-62.4-52.1-52.1c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L199.7 433l100.2-46.4c46.4-21.5 76.2-68 76.2-119.2C376 194.8 317.2 136 244.6 136z"]
14267
14277
  };
14268
- const faMoon = {
14278
+ const faMoon$1 = {
14269
14279
  prefix: "fas",
14270
14280
  iconName: "moon",
14271
14281
  icon: [384, 512, [127769, 9214], "f186", "M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]
@@ -16571,7 +16581,7 @@ var icons = {
16571
16581
  faRouble,
16572
16582
  faRub,
16573
16583
  faRuble,
16574
- faSun,
16584
+ faSun: faSun$1,
16575
16585
  faGuitar,
16576
16586
  faFaceLaughWink,
16577
16587
  faLaughWink,
@@ -16916,7 +16926,7 @@ var icons = {
16916
16926
  faMagic,
16917
16927
  faDog,
16918
16928
  faCarrot,
16919
- faMoon,
16929
+ faMoon: faMoon$1,
16920
16930
  faWineGlassEmpty,
16921
16931
  faWineGlassAlt,
16922
16932
  faCheese,
@@ -18336,7 +18346,7 @@ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
18336
18346
  faMoneyCheckAlt,
18337
18347
  faMoneyCheckDollar,
18338
18348
  faMonument,
18339
- faMoon,
18349
+ faMoon: faMoon$1,
18340
18350
  faMortarBoard,
18341
18351
  faMortarPestle,
18342
18352
  faMosque,
@@ -18808,7 +18818,7 @@ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
18808
18818
  faSuitcase,
18809
18819
  faSuitcaseMedical,
18810
18820
  faSuitcaseRolling,
18811
- faSun,
18821
+ faSun: faSun$1,
18812
18822
  faSunPlantWilt,
18813
18823
  faSuperscript,
18814
18824
  faSurprise,
@@ -26084,43 +26094,56 @@ const UserProfile = ({
26084
26094
  }, children })
26085
26095
  ] });
26086
26096
  };
26087
- const PopOver = (props) => {
26088
- const theme = useTheme$1();
26089
- return /* @__PURE__ */ jsx(MUIPopOver, { elevation: 3, slotProps: {
26090
- paper: {
26091
- sx: {
26092
- backgroundColor: theme.palette.mode === "dark" ? "#2A2A2A" : "#eee",
26093
- backgroundImage: "none",
26094
- width: props.width,
26095
- padding: 2
26096
- }
26097
+ const PopOver = ({
26098
+ width,
26099
+ ...props
26100
+ }) => /* @__PURE__ */ jsx(MUIPopOver, { elevation: 3, slotProps: width ? {
26101
+ paper: {
26102
+ sx: {
26103
+ width
26097
26104
  }
26098
- }, ...props });
26099
- };
26100
- const AppInfo = ({
26101
- id = "app-info",
26102
- ariaLabel = "App information",
26105
+ }
26106
+ } : void 0, ...props });
26107
+ const IconPopover = ({
26108
+ id,
26109
+ ariaLabel,
26110
+ icon: icon2,
26111
+ width = 240,
26103
26112
  children
26104
26113
  }) => {
26105
26114
  const [anchor2, setAnchor] = useState(null);
26106
26115
  const open = Boolean(anchor2);
26107
26116
  return /* @__PURE__ */ jsxs(Fragment, { children: [
26108
- /* @__PURE__ */ jsx(IconButton, { id: `${id}-trigger`, "aria-label": ariaLabel, "aria-haspopup": "dialog", "aria-expanded": open, onClick: (e) => setAnchor(e.currentTarget), color: "inherit", size: "large", children: /* @__PURE__ */ jsx(InfoIcon, { fontSize: "medium", sx: {
26109
- fontSize: 24
26110
- } }) }),
26117
+ /* @__PURE__ */ jsx(IconButton, { id: `${id}-trigger`, "aria-label": ariaLabel, "aria-haspopup": "dialog", "aria-expanded": open, onClick: (e) => setAnchor(e.currentTarget), color: "inherit", size: "large", children: icon2 }),
26111
26118
  /* @__PURE__ */ jsx(PopOver, { id: `${id}-popover`, open, anchorEl: anchor2, onClose: () => setAnchor(null), anchorOrigin: {
26112
26119
  vertical: "bottom",
26113
26120
  horizontal: "right"
26114
26121
  }, transformOrigin: {
26115
26122
  vertical: "top",
26116
26123
  horizontal: "right"
26117
- }, width: 240, children: /* @__PURE__ */ jsx(Box, { role: "dialog", "aria-label": ariaLabel, sx: {
26124
+ }, children: /* @__PURE__ */ jsx(Box, { role: "dialog", "aria-label": ariaLabel, sx: {
26118
26125
  display: "flex",
26119
26126
  flexDirection: "column",
26120
- gap: 1
26127
+ gap: 1,
26128
+ padding: 2,
26129
+ width
26121
26130
  }, children }) })
26122
26131
  ] });
26123
26132
  };
26133
+ const AppInfo = ({
26134
+ id = "app-info",
26135
+ ariaLabel = "App information",
26136
+ children
26137
+ }) => /* @__PURE__ */ jsx(IconPopover, { id, ariaLabel, icon: /* @__PURE__ */ jsx(InfoIcon, { fontSize: "medium", sx: {
26138
+ fontSize: 24
26139
+ } }), width: 240, children });
26140
+ const AppSettings = ({
26141
+ id = "app-settings",
26142
+ ariaLabel = "App settings",
26143
+ children
26144
+ }) => /* @__PURE__ */ jsx(IconPopover, { id, ariaLabel, icon: /* @__PURE__ */ jsx(CogIcon, { fontSize: "medium", sx: {
26145
+ fontSize: 24
26146
+ } }), width: 240, children });
26124
26147
  const AppInfoRow = ({
26125
26148
  label,
26126
26149
  value,
@@ -26247,6 +26270,11 @@ const DropdownButton = ({
26247
26270
  }, 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}`)) })
26248
26271
  ] });
26249
26272
  };
26273
+ const Table = (props) => /* @__PURE__ */ jsx(TableRaw, { ...props });
26274
+ const TableBody = (props) => /* @__PURE__ */ jsx(TableBodyRaw, { ...props });
26275
+ const TableCell = (props) => /* @__PURE__ */ jsx(TableCellRaw, { ...props });
26276
+ const TableHead = (props) => /* @__PURE__ */ jsx(TableHeadRaw, { ...props });
26277
+ const TableRow = (props) => /* @__PURE__ */ jsx(TableRowRaw, { ...props });
26250
26278
  const LinearProgress = ({
26251
26279
  // isActive,
26252
26280
  // transition = 500,
@@ -26519,6 +26547,7 @@ const SnackbarProvider = ({
26519
26547
  ...DEFAULT_COMPONENTS,
26520
26548
  ...Components
26521
26549
  }, ...otherProps, children });
26550
+ const Tooltip = (tooltipProps) => /* @__PURE__ */ jsx(MUITooltip, { ...tooltipProps });
26522
26551
  const StyledToggleButton$1 = styled(MUIToggleButton)({
26523
26552
  border: 0
26524
26553
  });
@@ -26661,7 +26690,7 @@ const Select$1 = React__default.forwardRef(({
26661
26690
  width: "100%"
26662
26691
  }
26663
26692
  }, ...consumerSx];
26664
- return /* @__PURE__ */ jsxs(FormControl, { sx: composedSx, size: "small", error: error2, required, fullWidth, disabled: disabled2, children: [
26693
+ return /* @__PURE__ */ jsxs(FormControl$1, { sx: composedSx, size: "small", error: error2, required, fullWidth, disabled: disabled2, children: [
26665
26694
  label && /* @__PURE__ */ jsx(InputLabel, { id: labelId, required, htmlFor: selectedId, children: label }),
26666
26695
  /* @__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: [
26667
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)),
@@ -26691,7 +26720,7 @@ const Select$1 = React__default.forwardRef(({
26691
26720
  "__ds-select-footer"
26692
26721
  )
26693
26722
  ] }),
26694
- helperText && /* @__PURE__ */ jsx(FormHelperText, { error: error2, id: helperTextId, children: helperText })
26723
+ helperText && /* @__PURE__ */ jsx(FormHelperText$1, { error: error2, id: helperTextId, children: helperText })
26695
26724
  ] });
26696
26725
  });
26697
26726
  const SingleAutocomplete = forwardRef(({
@@ -26744,8 +26773,214 @@ const Switch = forwardRef(({
26744
26773
  if (!label) {
26745
26774
  return switchElement;
26746
26775
  }
26747
- return /* @__PURE__ */ jsx(FormControlLabel, { control: switchElement, label, labelPlacement });
26776
+ return /* @__PURE__ */ jsx(FormControlLabel$1, { control: switchElement, label, labelPlacement });
26748
26777
  });
26778
+ const LabeledSwitch = ({
26779
+ text,
26780
+ subtext,
26781
+ checked,
26782
+ onChange: onChange2,
26783
+ disabled: disabled2,
26784
+ error: error2,
26785
+ helperText,
26786
+ inputProps,
26787
+ ref,
26788
+ ...rest
26789
+ }) => /* @__PURE__ */ jsx(FormControl$1, { error: !!error2, component: "fieldset", variant: "standard", fullWidth: true, children: /* @__PURE__ */ jsxs(FlexBox, { direction: "row", justifyContent: "space-between", alignItems: "center", children: [
26790
+ /* @__PURE__ */ jsxs(FlexBox, { children: [
26791
+ /* @__PURE__ */ jsx(Text$1, { variant: "subtitle1", children: text }),
26792
+ subtext && /* @__PURE__ */ jsx(Text$1, { variant: "body2", children: subtext }),
26793
+ helperText && /* @__PURE__ */ jsx(FormHelperText$1, { error: error2, children: helperText })
26794
+ ] }),
26795
+ /* @__PURE__ */ jsx(Switch, { ref, checked, onChange: (_, val) => onChange2(val), disabled: disabled2, inputProps, name: inputProps == null ? void 0 : inputProps.name, ...rest })
26796
+ ] }) });
26797
+ var faSun = {};
26798
+ (function(exports$1) {
26799
+ Object.defineProperty(exports$1, "__esModule", { value: true });
26800
+ var prefix2 = "fas";
26801
+ var iconName = "sun";
26802
+ var width = 512;
26803
+ var height = 512;
26804
+ var aliases = [9728];
26805
+ var unicode = "f185";
26806
+ var svgPathData = "M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z";
26807
+ exports$1.definition = {
26808
+ prefix: prefix2,
26809
+ iconName,
26810
+ icon: [
26811
+ width,
26812
+ height,
26813
+ aliases,
26814
+ unicode,
26815
+ svgPathData
26816
+ ]
26817
+ };
26818
+ exports$1.faSun = exports$1.definition;
26819
+ exports$1.prefix = prefix2;
26820
+ exports$1.iconName = iconName;
26821
+ exports$1.width = width;
26822
+ exports$1.height = height;
26823
+ exports$1.ligatures = aliases;
26824
+ exports$1.unicode = unicode;
26825
+ exports$1.svgPathData = svgPathData;
26826
+ exports$1.aliases = aliases;
26827
+ })(faSun);
26828
+ var faMoon = {};
26829
+ (function(exports$1) {
26830
+ Object.defineProperty(exports$1, "__esModule", { value: true });
26831
+ var prefix2 = "fas";
26832
+ var iconName = "moon";
26833
+ var width = 384;
26834
+ var height = 512;
26835
+ var aliases = [127769, 9214];
26836
+ var unicode = "f186";
26837
+ var svgPathData = "M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z";
26838
+ exports$1.definition = {
26839
+ prefix: prefix2,
26840
+ iconName,
26841
+ icon: [
26842
+ width,
26843
+ height,
26844
+ aliases,
26845
+ unicode,
26846
+ svgPathData
26847
+ ]
26848
+ };
26849
+ exports$1.faMoon = exports$1.definition;
26850
+ exports$1.prefix = prefix2;
26851
+ exports$1.iconName = iconName;
26852
+ exports$1.width = width;
26853
+ exports$1.height = height;
26854
+ exports$1.ligatures = aliases;
26855
+ exports$1.unicode = unicode;
26856
+ exports$1.svgPathData = svgPathData;
26857
+ exports$1.aliases = aliases;
26858
+ })(faMoon);
26859
+ const Track = styled("button", {
26860
+ shouldForwardProp: (prop) => prop !== "isChecked"
26861
+ })(({
26862
+ theme,
26863
+ isChecked,
26864
+ disabled: disabled2
26865
+ }) => ({
26866
+ position: "relative",
26867
+ boxSizing: "border-box",
26868
+ width: 52,
26869
+ height: 28,
26870
+ padding: 0,
26871
+ borderRadius: 14,
26872
+ border: `1px solid ${theme.palette.divider}`,
26873
+ background: isChecked ? theme.palette.grey[800] : theme.palette.grey[300],
26874
+ cursor: disabled2 ? "default" : "pointer",
26875
+ opacity: disabled2 ? 0.5 : 1,
26876
+ transition: "background 150ms ease-out, border-color 150ms ease-out",
26877
+ outline: "none",
26878
+ "&:hover": disabled2 ? {} : {
26879
+ borderColor: theme.palette.primary.main
26880
+ },
26881
+ "&:focus-visible": {
26882
+ outline: `2px solid ${theme.palette.primary.main}`,
26883
+ outlineOffset: 2
26884
+ },
26885
+ "@media (prefers-reduced-motion: reduce)": {
26886
+ transition: "none"
26887
+ }
26888
+ }));
26889
+ const Knob = styled("span", {
26890
+ shouldForwardProp: (prop) => prop !== "isChecked"
26891
+ })(({
26892
+ theme,
26893
+ isChecked
26894
+ }) => ({
26895
+ position: "absolute",
26896
+ top: 2,
26897
+ left: 2,
26898
+ width: 22,
26899
+ height: 22,
26900
+ borderRadius: 11,
26901
+ display: "flex",
26902
+ alignItems: "center",
26903
+ justifyContent: "center",
26904
+ background: isChecked ? theme.palette.primary.main : theme.palette.background.paper,
26905
+ transform: isChecked ? "translateX(24px)" : "translateX(0)",
26906
+ transition: "transform 150ms ease-out, background 150ms ease-out",
26907
+ "@media (prefers-reduced-motion: reduce)": {
26908
+ transition: "none"
26909
+ }
26910
+ }));
26911
+ const Glyph = styled(FontAwesomeIcon, {
26912
+ shouldForwardProp: (prop) => prop !== "isDisabled"
26913
+ })(({
26914
+ theme,
26915
+ isDisabled
26916
+ }) => ({
26917
+ fontSize: 11,
26918
+ color: isDisabled ? theme.palette.text.disabled : "#0A0A0A"
26919
+ }));
26920
+ const ThemeSwitch = forwardRef(({
26921
+ checked,
26922
+ onChange: onChange2,
26923
+ label = "Theme",
26924
+ labelId,
26925
+ disabled: disabled2,
26926
+ className
26927
+ }, ref) => {
26928
+ const accessibleName = `${label}: currently ${checked ? "dark" : "light"}`;
26929
+ return /* @__PURE__ */ jsx(Track, { ref, type: "button", role: "switch", "aria-checked": checked, "aria-labelledby": labelId, "aria-label": labelId ? void 0 : accessibleName, disabled: disabled2, isChecked: checked, className, onClick: () => {
26930
+ if (!disabled2) onChange2(!checked);
26931
+ }, children: /* @__PURE__ */ jsx(Knob, { isChecked: checked, children: /* @__PURE__ */ jsx(Glyph, { icon: checked ? faMoon.faMoon : faSun.faSun, isDisabled: disabled2 }) }) });
26932
+ });
26933
+ ThemeSwitch.displayName = "ThemeSwitch";
26934
+ const Row = styled("div")(({
26935
+ theme
26936
+ }) => ({
26937
+ display: "flex",
26938
+ alignItems: "center",
26939
+ justifyContent: "space-between"
26940
+ }));
26941
+ const TextBlock = styled("div")({
26942
+ display: "flex",
26943
+ flexDirection: "column",
26944
+ gap: 4,
26945
+ minWidth: 0,
26946
+ flex: "1 1 auto"
26947
+ });
26948
+ const LabelText = styled("span")(({
26949
+ theme
26950
+ }) => ({
26951
+ fontSize: 14,
26952
+ fontWeight: 500,
26953
+ color: theme.palette.text.primary
26954
+ }));
26955
+ const HintText = styled("span")(({
26956
+ theme
26957
+ }) => ({
26958
+ fontSize: 13,
26959
+ fontWeight: 400,
26960
+ color: theme.palette.text.secondary
26961
+ }));
26962
+ const ThemeSwitchRow = forwardRef(({
26963
+ checked,
26964
+ onChange: onChange2,
26965
+ label = "Theme",
26966
+ hint,
26967
+ disabled: disabled2,
26968
+ className,
26969
+ ...rest
26970
+ }, ref) => (
26971
+ // Deliberately don't bind `aria-labelledby` from the visible label. The
26972
+ // switch computes its own state-aware accessible name ("Theme: currently
26973
+ // light") so screen readers hear the mode, while sighted users see the
26974
+ // terser row label.
26975
+ /* @__PURE__ */ jsxs(Row, { className, children: [
26976
+ /* @__PURE__ */ jsxs(TextBlock, { children: [
26977
+ /* @__PURE__ */ jsx(LabelText, { "aria-hidden": "true", children: label }),
26978
+ hint && /* @__PURE__ */ jsx(HintText, { "aria-hidden": "true", children: hint })
26979
+ ] }),
26980
+ /* @__PURE__ */ jsx(ThemeSwitch, { ref, checked, onChange: onChange2, label, disabled: disabled2, ...rest })
26981
+ ] })
26982
+ ));
26983
+ ThemeSwitchRow.displayName = "ThemeSwitchRow";
26749
26984
  const DatePicker = ({
26750
26985
  label = "Select date",
26751
26986
  errorMsg,
@@ -26804,7 +27039,7 @@ const Checkbox = ({
26804
27039
  ...rest
26805
27040
  }) => {
26806
27041
  useExtendedTheme();
26807
- return label ? /* @__PURE__ */ jsx(FormControlLabel, { required, control: /* @__PURE__ */ jsx(Checkbox$1, { checked, id, name, ...rest, color: "primary" }), label }) : /* @__PURE__ */ jsx(Checkbox$1, { checked, id, name, ...rest, color: "primary" });
27042
+ return label ? /* @__PURE__ */ jsx(FormControlLabel$1, { required, control: /* @__PURE__ */ jsx(Checkbox$1, { checked, id, name, ...rest, color: "primary" }), label }) : /* @__PURE__ */ jsx(Checkbox$1, { checked, id, name, ...rest, color: "primary" });
26808
27043
  };
26809
27044
  const CopyToClipboard = ({
26810
27045
  text,
@@ -26839,7 +27074,7 @@ const CopyToClipboard = ({
26839
27074
  setOpen(true);
26840
27075
  }
26841
27076
  };
26842
- return /* @__PURE__ */ jsx(Tooltip, { title: message, onClose: handleTooltipClose, open, leaveDelay: 1400, arrow: true, placement: "right", componentsProps: {
27077
+ return /* @__PURE__ */ jsx(Tooltip$1, { title: message, onClose: handleTooltipClose, open, leaveDelay: 1400, arrow: true, placement: "right", componentsProps: {
26843
27078
  tooltip: {
26844
27079
  sx: {
26845
27080
  bgcolor: message !== successMsg ? theme.palette.error.main : void 0,
@@ -26856,6 +27091,9 @@ const CopyToClipboard = ({
26856
27091
  ...sx
26857
27092
  }, children: /* @__PURE__ */ jsx(FontAwesomeIcon, { icon: icon2 }) }) });
26858
27093
  };
27094
+ const FormControl = (props) => /* @__PURE__ */ jsx(FormControlRaw, { ...props });
27095
+ const FormControlLabel = (props) => /* @__PURE__ */ jsx(FormControlLabelRaw, { ...props });
27096
+ const FormHelperText = (props) => /* @__PURE__ */ jsx(FormHelperTextRaw, { ...props });
26859
27097
  const MiniSearchBox = (props) => {
26860
27098
  const {
26861
27099
  loading = false,
@@ -27033,6 +27271,53 @@ const SearchBox = ({
27033
27271
  height: "100%"
27034
27272
  }, disableElevation: true, children: /* @__PURE__ */ jsx(SearchIcon, { size: "xl" }) })
27035
27273
  ] });
27274
+ const TabsIdContext = createContext(void 0);
27275
+ const tabId = (idPrefix, value) => `${idPrefix}-tab-${value}`;
27276
+ const tabPanelId = (idPrefix, value) => `${idPrefix}-panel-${value}`;
27277
+ const useTabsIdPrefix = () => {
27278
+ const idPrefix = useContext(TabsIdContext);
27279
+ if (idPrefix === void 0) {
27280
+ throw new Error("<Tab> must be rendered inside <Tabs>.");
27281
+ }
27282
+ return idPrefix;
27283
+ };
27284
+ const Tabs = forwardRef(({
27285
+ idPrefix,
27286
+ children,
27287
+ ...props
27288
+ }, ref) => /* @__PURE__ */ jsx(TabsIdContext.Provider, { value: idPrefix, children: /* @__PURE__ */ jsx(MuiTabs, { ref, ...props, children }) }));
27289
+ Tabs.displayName = "Tabs";
27290
+ const Tab = ({
27291
+ value,
27292
+ ...props
27293
+ }) => {
27294
+ const idPrefix = useTabsIdPrefix();
27295
+ return /* @__PURE__ */ jsx(MuiTab, { value, id: tabId(idPrefix, value), "aria-controls": tabPanelId(idPrefix, value), ...props });
27296
+ };
27297
+ const TabPanel = forwardRef(({
27298
+ idPrefix,
27299
+ value,
27300
+ activeValue,
27301
+ keepMounted = false,
27302
+ children,
27303
+ ...props
27304
+ }, ref) => {
27305
+ const selected = value === activeValue;
27306
+ return /* @__PURE__ */ jsx(
27307
+ "div",
27308
+ {
27309
+ ref,
27310
+ role: "tabpanel",
27311
+ hidden: !selected,
27312
+ id: tabPanelId(idPrefix, value),
27313
+ "aria-labelledby": tabId(idPrefix, value),
27314
+ tabIndex: 0,
27315
+ ...props,
27316
+ children: (selected || keepMounted) && children
27317
+ }
27318
+ );
27319
+ });
27320
+ TabPanel.displayName = "TabPanel";
27036
27321
  const Card = ({
27037
27322
  maxWidth,
27038
27323
  ...cardProps
@@ -29837,6 +30122,7 @@ const DocumentPink = {
29837
30122
  }
29838
30123
  };
29839
30124
  const main$2 = "#F2A64B";
30125
+ const mainLight = "#A65200";
29840
30126
  const GraphOrange = {
29841
30127
  dark: {
29842
30128
  primary: {
@@ -29845,16 +30131,48 @@ const GraphOrange = {
29845
30131
  light: alpha(main$2, 0.5),
29846
30132
  contrastText: common.black
29847
30133
  }
30134
+ },
30135
+ light: {
30136
+ // The app colour shifts per mode rather than splitting into a
30137
+ // second token, so components keep reading primary alone.
30138
+ // contrastThreshold 4.5 resolves #FFF on mainLight (5.49:1).
30139
+ //
30140
+ // dark / light are ramp steps, not alpha: over a LIGHT ground
30141
+ // alpha(mainLight, 0.7) resolves lighter than main, so .dark
30142
+ // would read as a tint. Dark mode does not have that problem,
30143
+ // which is why it keeps alpha() above.
30144
+ primary: {
30145
+ main: mainLight,
30146
+ // 700
30147
+ dark: "#874300",
30148
+ // 800 — pressed, link hover
30149
+ light: "#C06806",
30150
+ // 600 — still 4.02:1, safe on borders
30151
+ contrastText: "#FFFFFF"
30152
+ },
30153
+ background: {
30154
+ default: "#F0F2F5",
30155
+ paper: "#FFFFFF"
30156
+ },
30157
+ text: {
30158
+ primary: "#1A1D21",
30159
+ secondary: "#5A6172"
30160
+ // 5.53:1 on default, 6.20:1 on paper
30161
+ },
30162
+ divider: "rgba(26, 29, 33, 0.12)",
30163
+ action: {
30164
+ hover: "rgba(26, 29, 33, 0.04)"
30165
+ }
29848
30166
  }
29849
30167
  };
29850
- const darkMain = "#20BCFA";
30168
+ const darkMain$1 = "#20BCFA";
29851
30169
  const lightMain = "#2F44CA";
29852
30170
  const AdminBlue = {
29853
30171
  dark: {
29854
30172
  primary: {
29855
- main: darkMain,
29856
- dark: alpha(darkMain, 0.7),
29857
- light: alpha(darkMain, 0.5),
30173
+ main: darkMain$1,
30174
+ dark: alpha(darkMain$1, 0.7),
30175
+ light: alpha(darkMain$1, 0.5),
29858
30176
  contrastText: common.black
29859
30177
  }
29860
30178
  },
@@ -29884,6 +30202,7 @@ const GeoGreen = {
29884
30202
  }
29885
30203
  };
29886
30204
  const main = "#000000";
30205
+ const darkMain = "#FFFFFF";
29887
30206
  const Blank = {
29888
30207
  light: {
29889
30208
  primary: {
@@ -29892,6 +30211,14 @@ const Blank = {
29892
30211
  light: alpha(main, 0.5),
29893
30212
  contrastText: common.white
29894
30213
  }
30214
+ },
30215
+ dark: {
30216
+ primary: {
30217
+ main: darkMain,
30218
+ dark: alpha(darkMain, 0.7),
30219
+ light: alpha(darkMain, 0.5),
30220
+ contrastText: common.black
30221
+ }
29895
30222
  }
29896
30223
  };
29897
30224
  const UIThemeSchema = z.enum(["DataNavy", "DocumentPink", "GraphOrange", "AdminBlue", "GeoGreen", "Blank"]);
@@ -30005,6 +30332,24 @@ const generateCardOverrides = (_uiTheme) => ({
30005
30332
  }
30006
30333
  }
30007
30334
  });
30335
+ const generateTabsOverrides = (_uiTheme) => ({
30336
+ MuiTabs: {
30337
+ styleOverrides: {
30338
+ root: ({
30339
+ theme
30340
+ }) => ({
30341
+ borderBottom: `1px solid ${theme.palette.divider}`,
30342
+ // A vertical tab set sits beside its panel, so the divider moves to
30343
+ // the inline edge. A selector rather than a `variants` entry —
30344
+ // MUI v5's theme `variants` support does not cover MuiTabs.
30345
+ "&.MuiTabs-vertical": {
30346
+ borderBottom: "none",
30347
+ borderInlineEnd: `1px solid ${theme.palette.divider}`
30348
+ }
30349
+ })
30350
+ }
30351
+ }
30352
+ });
30008
30353
  const TYPOGRAPHY_TOKENS = {
30009
30354
  h1: {
30010
30355
  fontFamily: '"Space Grotesk"',
@@ -30142,6 +30487,7 @@ const generateComponentOverrides = (uiTheme) => ({
30142
30487
  ...AVATAR_OVERRIDES,
30143
30488
  ...generateButtonOverrides(),
30144
30489
  ...generateCardOverrides(),
30490
+ ...generateTabsOverrides(),
30145
30491
  MuiPaper: {
30146
30492
  styleOverrides: {
30147
30493
  root: {
@@ -31241,7 +31587,7 @@ const SearchAutocomplete = ({
31241
31587
  placeholder = "Search ...",
31242
31588
  width
31243
31589
  }) => {
31244
- return /* @__PURE__ */ jsxs(FormControl, { error: error2, sx: {
31590
+ return /* @__PURE__ */ jsxs(FormControl$1, { error: error2, sx: {
31245
31591
  width
31246
31592
  }, fullWidth, children: [
31247
31593
  /* @__PURE__ */ jsx(Autocomplete$1, { disablePortal: true, autoComplete: true, autoSelect: true, freeSolo: true, id, autoHighlight, openOnFocus, loadingText, clearIcon: /* @__PURE__ */ jsx(CloseIcon, {}), className: "error", size: "small", loading, options, inputValue, getOptionLabel, getOptionKey, onInputChange, onChange: onChange2, isOptionEqualToValue, renderInput: (params) => /* @__PURE__ */ jsx(TextField$1, { ...params, autoFocus, variant: "outlined", label, placeholder, name, InputProps: {
@@ -31265,7 +31611,7 @@ const SearchAutocomplete = ({
31265
31611
  maxHeight: listboxMaxHeight
31266
31612
  }
31267
31613
  } }),
31268
- helperText ? /* @__PURE__ */ jsx(FormHelperText, { children: helperText }) : null
31614
+ helperText ? /* @__PURE__ */ jsx(FormHelperText$1, { children: helperText }) : null
31269
31615
  ] });
31270
31616
  };
31271
31617
  const SearchAutocompleteDialog = ({
@@ -86875,6 +87221,7 @@ export {
86875
87221
  AppChrome,
86876
87222
  AppInfo,
86877
87223
  AppInfoRow,
87224
+ AppSettings,
86878
87225
  AppSwitch,
86879
87226
  AppSwitchLibrarySchema,
86880
87227
  AuthContext,
@@ -86930,6 +87277,9 @@ export {
86930
87277
  FloatingPanelContext,
86931
87278
  FloatingPanelProvider,
86932
87279
  FloppyDiskIcon,
87280
+ FormControl,
87281
+ FormControlLabel,
87282
+ FormHelperText,
86933
87283
  GRAPH_APP,
86934
87284
  GridIcon,
86935
87285
  H1,
@@ -86942,6 +87292,7 @@ export {
86942
87292
  IconButton,
86943
87293
  InfoIcon,
86944
87294
  InsetInMap,
87295
+ LabeledSwitch,
86945
87296
  LayerSelectorV2,
86946
87297
  LinearProgress,
86947
87298
  Link$1 as Link,
@@ -86977,13 +87328,24 @@ export {
86977
87328
  SnackbarProvider,
86978
87329
  Spinner,
86979
87330
  Switch,
87331
+ Tab,
87332
+ TabPanel,
87333
+ Table,
87334
+ TableBody,
87335
+ TableCell,
87336
+ TableHead,
87337
+ TableRow,
87338
+ Tabs,
86980
87339
  TypeIcon as TeliTypeIcon,
86981
87340
  TelicentHorizontalSVG,
86982
87341
  TelicentMark,
86983
87342
  Text$1 as Text,
86984
87343
  TextField,
87344
+ ThemeSwitch,
87345
+ ThemeSwitchRow,
86985
87346
  TitleAndContent,
86986
87347
  Toolbar,
87348
+ Tooltip,
86987
87349
  TooltipToggleButton,
86988
87350
  TreeView,
86989
87351
  UIThemeProvider,