@hybridcore/ui 1.6.12 → 1.6.14

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.
Files changed (68) hide show
  1. package/dist/{AccordionSummary-CJppWeqF.js → AccordionSummary-DUtr16g6.js} +7 -7
  2. package/dist/{Add-CqcD1PWb.js → Add-Bk8R160M.js} +9 -9
  3. package/dist/{Button-C5yquWAB.js → Button-Cem3nbwc.js} +12 -12
  4. package/dist/{ButtonBase-BEF7oTOe.js → ButtonBase-DObmf4Q_.js} +4 -5
  5. package/dist/{IconButton-BoGwbvrP.js → Delete-CVJ6FeDn.js} +91 -72
  6. package/dist/{FormGroup-CpBsIyYR.js → FormGroup-BRj1o7-E.js} +3 -3
  7. package/dist/{InputLabel-Dd8RrneV.js → InputLabel-CjD30ZHz.js} +3 -3
  8. package/dist/{MenuItem-DwqJqzuM.js → MenuItem-BKvRGLvM.js} +6 -6
  9. package/dist/{Modal-MUZygjmQ.js → Modal-BVYydOr5.js} +7 -9
  10. package/dist/{Paper-BkQLdsCI.js → Paper-B1HV8GyO.js} +37 -37
  11. package/dist/{Select-DHUl_uG3.js → Select-Bfhvigsx.js} +2793 -2795
  12. package/dist/{SwitchBase-DTndTqI8.js → SwitchBase-BEK49kdS.js} +5 -5
  13. package/dist/{TextField-e2oKaUN1.js → TextField-Ca9ykixI.js} +166 -139
  14. package/dist/{TransitionGroupContext-BDAp2T0O.js → TransitionGroupContext-Ja2CgIob.js} +1 -1
  15. package/dist/{Typography-DgsSLCFC.js → Typography-D3X-Y5fh.js} +3 -3
  16. package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
  17. package/dist/components/button/styled.js +1 -1
  18. package/dist/components/charts/_common/format.js +193 -41
  19. package/dist/components/charts/_common/utils.js +16 -11
  20. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
  21. package/dist/components/collapsible-card/index.js +2 -2
  22. package/dist/components/collapsible-card/styled.js +1 -1
  23. package/dist/components/color-picker/index.js +7 -7
  24. package/dist/components/color-picker/styled.js +1 -1
  25. package/dist/components/confirm/dialog.js +3 -4
  26. package/dist/components/confirm/index.js +1 -1
  27. package/dist/components/data-map/index.js +1 -1
  28. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  29. package/dist/components/date-picker-with-custom-range/index.js +86 -7
  30. package/dist/components/date-range-picker/index.js +2 -2
  31. package/dist/components/duration-select/index.js +1 -1
  32. package/dist/components/duration-select/styled.js +1 -1
  33. package/dist/components/heat-map/index.js +1 -1
  34. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2 -2
  35. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  36. package/dist/components/metric-card/logic.js +46 -49
  37. package/dist/components/prr-map/index.js +1 -1
  38. package/dist/components/range-selector/styled.js +65 -4228
  39. package/dist/components/raster-grid-map/index.js +1 -1
  40. package/dist/components/simple-pivot-table/index.js +17 -17
  41. package/dist/components/simple-pivot-table/logic.js +67 -76
  42. package/dist/components/sortable-list/index.js +5 -5
  43. package/dist/components/template-form/components/property-list/index.js +11 -12
  44. package/dist/components/template-form/components/property-list/property-list-columns.js +4 -5
  45. package/dist/components/template-form/components/property-list/property-list-form.js +25 -26
  46. package/dist/components/template-form/components/recognition-property-list/index.js +16 -17
  47. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +3 -4
  48. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +21 -22
  49. package/dist/components/tree-select/index.js +1 -1
  50. package/dist/createSvgIcon-BghzB2Y9.js +93 -0
  51. package/dist/{createSvgIcon-Ch_cT8az.js → createSvgIcon-D7U1nd99.js} +3 -3
  52. package/dist/{DialogContent-BvVjD9z3.js → dialog-BtJhjyF5.js} +326 -185
  53. package/dist/{generateUtilityClasses-C3ivN9Ie.js → generateUtilityClasses-Cc-owZ4J.js} +9 -11
  54. package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
  55. package/dist/{index.esm-BLLrbTzY.js → index.esm-DAf19hyR.js} +1 -1
  56. package/dist/main.d.ts +54 -8
  57. package/dist/main.js +176 -175
  58. package/dist/{styled-SoqbyrkW.js → styled-DD4BkuVf.js} +6 -6
  59. package/dist/{useSlot-B_Q4vnX5.js → useSlot-u4t0X96G.js} +3 -3
  60. package/package.json +1 -1
  61. package/dist/Box-DqUMmZjL.js +0 -31
  62. package/dist/Delete-BdyYpINH.js +0 -23
  63. package/dist/createSvgIcon-DuDuASu1.js +0 -62
  64. package/dist/dialog-BYRnCztH.js +0 -154
  65. package/dist/index-e9xTIYWt.js +0 -1934
  66. package/dist/unsupportedProp-DuqR2hj9.js +0 -36
  67. package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
  68. package/dist/{objectWithoutPropertiesLoose-DJteAcBH.js → extends-C3382pL0.js} +9 -9
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { Typography as d } from "@mui/material";
3
3
  import { useEffect as l } from "react";
4
- import { u as h } from "../../index.esm-BLLrbTzY.js";
4
+ import { u as h } from "../../index.esm-DAf19hyR.js";
5
5
  import { Map as u } from "../map/index.js";
6
6
  import { Controls as R } from "./components/controls/index.js";
7
7
  import { Legend as M } from "./components/legend/index.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { Typography as i, Divider as f, TableContainer as I, Table as R, TableHead as j, TableRow as g, TableCell as r, TableBody as w, Box as D, IconButton as G } from "@mui/material";
2
+ import { Typography as a, Divider as f, TableContainer as I, Table as R, TableHead as j, TableRow as g, TableCell as r, TableBody as w, Box as D, IconButton as G } from "@mui/material";
3
3
  import { useSimplePivotTableLogic as J } from "./logic.js";
4
4
  import { SimplePivotTableRoot as M, SimplePivotTableHeader as O, SimplePivotTableContent as V, SimplePivotTableFooter as X, SimplePivotTableScrollHint as q } from "./styled.js";
5
5
  import { I as A } from "../../IconX-C2wmVYSK.js";
@@ -41,11 +41,11 @@ const Z = (s) => {
41
41
  "data-snapshot": JSON.stringify(W),
42
42
  ...L,
43
43
  children: [
44
- /* @__PURE__ */ e(O, { ownerState: o, children: /* @__PURE__ */ e(i, { sx: { paddingLeft: "0.5rem" }, variant: "h3", children: m }) }),
44
+ /* @__PURE__ */ e(O, { ownerState: o, children: /* @__PURE__ */ e(a, { sx: { paddingLeft: "0.5rem" }, variant: "h3", children: m }) }),
45
45
  /* @__PURE__ */ e(f, {}),
46
46
  /* @__PURE__ */ e(V, { ownerState: o, children: /* @__PURE__ */ e(I, { ref: N, children: /* @__PURE__ */ t(R, { size: "small", stickyHeader: !0, children: [
47
47
  /* @__PURE__ */ e(j, { children: /* @__PURE__ */ t(g, { children: [
48
- n.map((l) => /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(i, { variant: "caption", fontWeight: 600, children: x(l) }) }, l.value)),
48
+ n.map((l) => /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(a, { variant: "caption", fontWeight: 600, children: x(l) }) }, l.value)),
49
49
  c.map((l) => /* @__PURE__ */ e(
50
50
  r,
51
51
  {
@@ -57,7 +57,7 @@ const Z = (s) => {
57
57
  backgroundColor: "action.selected"
58
58
  }
59
59
  },
60
- children: /* @__PURE__ */ e(i, { variant: "caption", fontWeight: 600, children: T(l) })
60
+ children: /* @__PURE__ */ e(a, { variant: "caption", fontWeight: 600, children: T(l) })
61
61
  },
62
62
  l.dataFieldName
63
63
  ))
@@ -68,17 +68,17 @@ const Z = (s) => {
68
68
  hover: !0,
69
69
  sx: { "&:last-child td": { borderBottom: 0 } },
70
70
  children: [
71
- n.map((a) => /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(i, { variant: "body2", children: y(l[a.value], a) }) }, a.value)),
72
- c.map((a) => {
71
+ n.map((i) => /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(a, { variant: "body2", children: y(l[i.value], i) }) }, i.value)),
72
+ c.map((i) => {
73
73
  const u = F(
74
- l[a.dataFieldName],
75
- a.format
76
- ), B = p === a.dataFieldName;
74
+ l[i.dataFieldName],
75
+ i.format
76
+ ), B = p === i.dataFieldName;
77
77
  return /* @__PURE__ */ e(
78
78
  r,
79
79
  {
80
80
  align: "right",
81
- onClick: () => b(a.dataFieldName),
81
+ onClick: () => b(i.dataFieldName),
82
82
  sx: {
83
83
  cursor: "pointer",
84
84
  // Conditional background wins; otherwise tint the
@@ -86,16 +86,16 @@ const Z = (s) => {
86
86
  backgroundColor: u.backgroundColor ?? (B ? "action.hover" : void 0)
87
87
  },
88
88
  children: /* @__PURE__ */ e(
89
- i,
89
+ a,
90
90
  {
91
91
  variant: "body2",
92
92
  fontWeight: 500,
93
93
  color: u.color ?? "text.primary",
94
- children: C(l[a.dataFieldName], a.format)
94
+ children: C(l[i.dataFieldName], i)
95
95
  }
96
96
  )
97
97
  },
98
- a.dataFieldName
98
+ i.dataFieldName
99
99
  );
100
100
  })
101
101
  ]
@@ -105,7 +105,7 @@ const Z = (s) => {
105
105
  ] }) }) }),
106
106
  /* @__PURE__ */ e(f, {}),
107
107
  /* @__PURE__ */ t(X, { ownerState: o, children: [
108
- k && /* @__PURE__ */ e(q, { ownerState: o, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
108
+ k && /* @__PURE__ */ e(q, { ownerState: o, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
109
109
  "Hold ",
110
110
  P,
111
111
  " to scroll"
@@ -121,8 +121,8 @@ const Z = (s) => {
121
121
  rowGap: 0.5
122
122
  },
123
123
  children: [
124
- /* @__PURE__ */ e(i, { variant: "caption", fontWeight: 600, children: d.name }),
125
- d.items.map((l) => /* @__PURE__ */ t(i, { variant: "caption", color: "text.secondary", children: [
124
+ /* @__PURE__ */ e(a, { variant: "caption", fontWeight: 600, children: d.name }),
125
+ d.items.map((l) => /* @__PURE__ */ t(a, { variant: "caption", color: "text.secondary", children: [
126
126
  l.label,
127
127
  ": ",
128
128
  l.value
@@ -130,7 +130,7 @@ const Z = (s) => {
130
130
  /* @__PURE__ */ e(G, { size: "small", onClick: S, sx: { p: 0.25 }, children: /* @__PURE__ */ e(A, { size: 14 }) })
131
131
  ]
132
132
  }
133
- ) : /* @__PURE__ */ e(i, { variant: "caption", color: "text.disabled", children: "Select a column to summarize" })
133
+ ) : /* @__PURE__ */ e(a, { variant: "caption", color: "text.disabled", children: "Select a column to summarize" })
134
134
  ] })
135
135
  ]
136
136
  }
@@ -1,65 +1,56 @@
1
- import { useThemeProps as z } from "@mui/material";
2
- import j from "dayjs";
3
- import { useRef as A, useState as h, useMemo as M, useEffect as w } from "react";
4
- import { humanizeLabel as y, formatValue as Y, resolveConditionalStyle as O } from "../charts/_common/format.js";
5
- const U = (t) => {
6
- const n = t.toLowerCase();
7
- return n.includes("year") ? "YYYY" : n.includes("month") ? "MMM YYYY" : n.includes("hour") || n.includes("minute") || n.includes("time") ? "DD MMM YYYY HH:mm" : "DD MMM YYYY";
8
- }, W = (t) => {
9
- var n;
10
- return ((n = t.label) == null ? void 0 : n.trim()) || y(t.value);
11
- }, g = (t) => {
12
- var n;
13
- return ((n = t.label) == null ? void 0 : n.trim()) || y(t.name);
14
- }, X = (t, n) => {
15
- if (t == null || t === "") return "—";
16
- if (n.type !== "date") return String(t);
17
- const s = j(t);
18
- return s.isValid() ? s.format(n.dateFormat || U(n.value)) : String(t);
19
- }, L = (t, n) => {
20
- const s = t.map((a) => Number(a[n])).filter((a) => Number.isFinite(a));
21
- if (s.length === 0) return null;
22
- const f = s.length, i = s.reduce((a, u) => a + u, 0);
1
+ import { useThemeProps as A } from "@mui/material";
2
+ import { useRef as O, useState as g, useMemo as w, useEffect as h } from "react";
3
+ import { humanizeLabel as y, formatDateValue as U, formatValue as L, resolveConditionalStyle as W } from "../charts/_common/format.js";
4
+ const X = (n) => {
5
+ var o;
6
+ return ((o = n.label) == null ? void 0 : o.trim()) || y(n.value);
7
+ }, M = (n) => {
8
+ var o;
9
+ return ((o = n.label) == null ? void 0 : o.trim()) || y(n.name);
10
+ }, Y = (n, o) => n == null || n === "" ? "—" : o.type !== "date" ? String(n) : U(n, o.dateFormat, o.value), C = (n, o) => {
11
+ const c = n.map((i) => Number(i[o])).filter((i) => Number.isFinite(i));
12
+ if (c.length === 0) return null;
13
+ const f = c.length, s = c.reduce((i, a) => i + a, 0);
23
14
  return {
24
15
  count: f,
25
- sum: i,
26
- avg: i / f,
27
- min: Math.min(...s),
28
- max: Math.max(...s)
16
+ sum: s,
17
+ avg: s / f,
18
+ min: Math.min(...c),
19
+ max: Math.max(...c)
29
20
  };
30
- }, C = (t) => t.key === "Meta" || t.key === "Control", J = (t) => {
31
- const n = z({ props: t, name: "HCSimplePivotTable" }), {
32
- title: s,
21
+ }, E = (n) => n.key === "Meta" || n.key === "Control", G = (n) => {
22
+ const o = A({ props: n, name: "HCSimplePivotTable" }), {
23
+ title: c,
33
24
  description: f,
34
- data: i = [],
35
- dimensions: a = [],
36
- values: u = [],
37
- sx: E,
38
- ...x
39
- } = n, b = A(null), [D, F] = h(!1), [c, S] = h(null), k = M(() => typeof navigator < "u" && /Mac|iPhone|iPad/.test(navigator.platform) ? "⌘" : "Ctrl", []);
40
- w(() => {
25
+ data: s = [],
26
+ dimensions: i = [],
27
+ values: a = [],
28
+ sx: x,
29
+ ...F
30
+ } = o, b = O(null), [k, P] = g(!1), [u, S] = g(null), N = w(() => typeof navigator < "u" && /Mac|iPhone|iPad/.test(navigator.platform) ? "⌘" : "Ctrl", []);
31
+ h(() => {
41
32
  const e = b.current;
42
33
  if (!e) return;
43
- const o = () => F(e.scrollHeight > e.clientHeight + 1);
44
- o();
45
- const l = new ResizeObserver(o);
34
+ const t = () => P(e.scrollHeight > e.clientHeight + 1);
35
+ t();
36
+ const l = new ResizeObserver(t);
46
37
  return l.observe(e), () => l.disconnect();
47
- }, [i, a, u]), w(() => {
38
+ }, [s, i, a]), h(() => {
48
39
  const e = b.current;
49
40
  if (!e) return;
50
- const o = () => {
41
+ const t = () => {
51
42
  e.style.overflow = "auto";
52
43
  }, l = () => {
53
44
  e.style.overflow = "hidden";
54
45
  };
55
46
  l();
56
47
  const m = (r) => {
57
- C(r) && o();
48
+ E(r) && t();
58
49
  }, v = (r) => {
59
- C(r) && l();
50
+ E(r) && l();
60
51
  }, p = (r) => {
61
52
  if (!(r.ctrlKey || r.metaKey)) return;
62
- r.preventDefault(), o();
53
+ r.preventDefault(), t();
63
54
  const d = r.deltaMode === 1 ? 16 : 1;
64
55
  e.scrollTop += r.deltaY * d, e.scrollLeft += r.deltaX * d;
65
56
  };
@@ -67,51 +58,51 @@ const U = (t) => {
67
58
  window.removeEventListener("keydown", m), window.removeEventListener("keyup", v), window.removeEventListener("blur", l), e.removeEventListener("wheel", p);
68
59
  };
69
60
  }, []);
70
- const P = M(
71
- () => u.map((e) => {
72
- const o = L(i, e.dataFieldName);
73
- return o ? { field: e.dataFieldName, name: e.name, ...o } : null;
61
+ const D = w(
62
+ () => a.map((e) => {
63
+ const t = C(s, e.dataFieldName);
64
+ return t ? { field: e.dataFieldName, name: e.name, ...t } : null;
74
65
  }).filter((e) => e !== null),
75
- [u, i]
76
- ), H = M(() => {
66
+ [a, s]
67
+ ), K = w(() => {
77
68
  var r;
78
- if (!c) return null;
79
- const e = u.find((d) => d.dataFieldName === c), o = e ? g(e) : y(c), l = L(i, c);
69
+ if (!u) return null;
70
+ const e = a.find((d) => d.dataFieldName === u), t = e ? M(e) : y(u), l = C(s, u);
80
71
  if (!l)
81
- return { field: c, name: o, items: [{ label: "Count", value: String(i.length) }] };
82
- const m = (d) => Y(d, e == null ? void 0 : e.format), v = !!((r = e == null ? void 0 : e.format) != null && r.suffix) && e.format.suffix.includes("%"), p = [
72
+ return { field: u, name: t, items: [{ label: "Count", value: String(s.length) }] };
73
+ const m = (d) => L(d, e == null ? void 0 : e.format), v = !!((r = e == null ? void 0 : e.format) != null && r.suffix) && e.format.suffix.includes("%"), p = [
83
74
  { label: "Count", value: String(l.count) },
84
75
  ...v ? [] : [{ label: "Sum", value: m(l.sum) }],
85
76
  { label: "Avg", value: m(l.avg) },
86
77
  { label: "Min", value: m(l.min) },
87
78
  { label: "Max", value: m(l.max) }
88
79
  ];
89
- return { field: c, name: o, items: p };
90
- }, [c, u, i]), N = (e, o) => Y(e, o), K = (e, o) => O(e, o), T = (e) => S((o) => o === e ? null : e), R = () => S(null), V = { ...n };
80
+ return { field: u, name: t, items: p };
81
+ }, [u, a, s]), T = (e, t) => L(e, t == null ? void 0 : t.format, void 0, t == null ? void 0 : t.name), H = (e, t) => W(e, t), R = (e) => S((t) => t === e ? null : e), V = () => S(null), z = { ...o };
91
82
  return {
92
- title: s,
83
+ title: c,
93
84
  description: f,
94
- dimensions: a,
95
- values: u,
96
- data: i,
97
- summaries: P,
98
- selectedField: c,
99
- selectedSummary: H,
100
- selectColumn: T,
101
- clearSelection: R,
102
- dimensionLabel: W,
103
- valueLabel: g,
104
- formatDimensionValue: X,
105
- formatCell: N,
106
- getCellStyle: K,
107
- ownerState: V,
85
+ dimensions: i,
86
+ values: a,
87
+ data: s,
88
+ summaries: D,
89
+ selectedField: u,
90
+ selectedSummary: K,
91
+ selectColumn: R,
92
+ clearSelection: V,
93
+ dimensionLabel: X,
94
+ valueLabel: M,
95
+ formatDimensionValue: Y,
96
+ formatCell: T,
97
+ getCellStyle: H,
98
+ ownerState: z,
108
99
  scrollRef: b,
109
- canScroll: D,
110
- scrollModifierLabel: k,
111
- sx: E,
112
- other: x
100
+ canScroll: k,
101
+ scrollModifierLabel: N,
102
+ sx: x,
103
+ other: F
113
104
  };
114
105
  };
115
106
  export {
116
- J as useSimplePivotTableLogic
107
+ G as useSimplePivotTableLogic
117
108
  };
@@ -2,16 +2,16 @@ var pn = Object.defineProperty;
2
2
  var hn = (n, e, t) => e in n ? pn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var $t = (n, e, t) => hn(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { jsx as ge, jsxs as Rt } from "react/jsx-runtime";
5
- import { g as Kt } from "../../_commonjsHelpers-BVfed4GL.js";
5
+ import { a as Kt } from "../../_commonjsHelpers-BkfeUUK-.js";
6
6
  import * as gn from "react";
7
7
  import mn from "react";
8
8
  import { useSortableListLogic as bn } from "./logic.js";
9
9
  import { SortableListRoot as vn, SortableListItem as yn } from "./styled.js";
10
- import { a as Me, _ as wn } from "../../objectWithoutPropertiesLoose-DJteAcBH.js";
11
- import { P as z } from "../../index-C__OZmYy.js";
10
+ import { a as Me, _ as wn } from "../../extends-C3382pL0.js";
11
+ import { P as z } from "../../index-CblbdqjE.js";
12
12
  import { c as En } from "../../clsx-OuTLNxxd.js";
13
- import { g as Sn, a as Dn, s as ct, u as _n, c as Cn } from "../../generateUtilityClasses-C3ivN9Ie.js";
14
- import { T as We } from "../../Typography-DgsSLCFC.js";
13
+ import { g as Sn, a as Dn, s as ct, u as _n, c as Cn } from "../../generateUtilityClasses-Cc-owZ4J.js";
14
+ import { T as We } from "../../Typography-D3X-Y5fh.js";
15
15
  function xn(n) {
16
16
  return Dn("MuiCardHeader", n);
17
17
  }
@@ -1,15 +1,14 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import { DataGrid as d } from "@mui/x-data-grid";
3
- import { A as n, a as m, d as s } from "../../../../Add-CqcD1PWb.js";
3
+ import { A as n, a as s, d as m } from "../../../../Add-Bk8R160M.js";
4
4
  import p from "./property-list-columns.js";
5
5
  import c from "./property-list-form.js";
6
6
  import u from "./property-list-logic.js";
7
- import { B as y } from "../../../../Box-DqUMmZjL.js";
8
- import { T as h } from "../../../../Typography-DgsSLCFC.js";
9
- import { B as f } from "../../../../Button-C5yquWAB.js";
10
- import { D as g, a as b } from "../../../../DialogContent-BvVjD9z3.js";
11
- import { a as P } from "../../../../dialog-BYRnCztH.js";
12
- const v = (t) => {
7
+ import { B as y } from "../../../../TextField-Ca9ykixI.js";
8
+ import { T as h } from "../../../../Typography-D3X-Y5fh.js";
9
+ import { B as f } from "../../../../Button-Cem3nbwc.js";
10
+ import { a as g, b, c as P } from "../../../../dialog-BtJhjyF5.js";
11
+ const T = (t) => {
13
12
  var l;
14
13
  const { state: r, action: o } = u(t);
15
14
  return /* @__PURE__ */ i(y, { children: [
@@ -27,7 +26,7 @@ const v = (t) => {
27
26
  autoHeight: !0
28
27
  }
29
28
  ) : /* @__PURE__ */ i(n, { severity: "info", children: [
30
- /* @__PURE__ */ e(m, { children: "No Property Added!" }),
29
+ /* @__PURE__ */ e(s, { children: "No Property Added!" }),
31
30
  "Add least one property before save the template!"
32
31
  ] }),
33
32
  /* @__PURE__ */ e(
@@ -36,7 +35,7 @@ const v = (t) => {
36
35
  color: "primary",
37
36
  onClick: o.handleOnAddClick,
38
37
  sx: { mt: 2 },
39
- startIcon: /* @__PURE__ */ e(s, {}),
38
+ startIcon: /* @__PURE__ */ e(m, {}),
40
39
  children: "Add Property"
41
40
  }
42
41
  ),
@@ -51,8 +50,8 @@ const v = (t) => {
51
50
  maxWidth: "sm",
52
51
  scroll: "body",
53
52
  children: [
54
- /* @__PURE__ */ e(P, { id: "alert-dialog-title", children: r.propertyForm.title }),
55
- /* @__PURE__ */ e(b, { className: "pb-30", children: /* @__PURE__ */ e(
53
+ /* @__PURE__ */ e(b, { id: "alert-dialog-title", children: r.propertyForm.title }),
54
+ /* @__PURE__ */ e(P, { className: "pb-30", children: /* @__PURE__ */ e(
56
55
  c,
57
56
  {
58
57
  inputVariant: t.inputVariant,
@@ -69,5 +68,5 @@ const v = (t) => {
69
68
  ] });
70
69
  };
71
70
  export {
72
- v as PropertyList
71
+ T as PropertyList
73
72
  };
@@ -1,8 +1,7 @@
1
1
  import { jsxs as d, jsx as r, Fragment as s } from "react/jsx-runtime";
2
- import { d as u, a as b } from "../../../../Delete-BdyYpINH.js";
3
- import { T as l } from "../../../../Typography-DgsSLCFC.js";
4
- import { I as p } from "../../../../IconButton-BoGwbvrP.js";
5
- const y = (o) => [
2
+ import { I as p, d as u, a as b } from "../../../../Delete-CVJ6FeDn.js";
3
+ import { T as l } from "../../../../Typography-D3X-Y5fh.js";
4
+ const v = (o) => [
6
5
  { field: "name", headerName: "Name", flex: 1 },
7
6
  { field: "propertyId", headerName: "Property ID", flex: 1 },
8
7
  {
@@ -121,5 +120,5 @@ const y = (o) => [
121
120
  }
122
121
  ];
123
122
  export {
124
- y as default
123
+ v as default
125
124
  };
@@ -2,27 +2,26 @@ import de, { jsx as t, jsxs as f, Fragment as pe } from "react/jsx-runtime";
2
2
  import * as z from "react";
3
3
  import V from "react";
4
4
  import me from "lodash";
5
- import { g as te, a as ae, s as G, r as ue, b as _, f as fe, u as Q, c as le, i as be } from "../../../../generateUtilityClasses-C3ivN9Ie.js";
6
- import { r as he } from "../../../../createSvgIcon-DuDuASu1.js";
5
+ import { g as te, a as ae, s as G, r as ue, b as _, d as fe, u as Q, c as le, i as be } from "../../../../generateUtilityClasses-Cc-owZ4J.js";
6
+ import { r as he } from "../../../../createSvgIcon-BghzB2Y9.js";
7
7
  import { DATA_TYPES as Y, COORDINATE_FORMAT as ye, PRIVACY_PRESERVATION_METHOD as ee } from "../../../../constants/index.js";
8
8
  import { LabeledField as I } from "../../helpers.js";
9
- import { T as B, F as A } from "../../../../TextField-e2oKaUN1.js";
10
- import { I as W } from "../../../../InputLabel-Dd8RrneV.js";
11
- import { S as H } from "../../../../Select-DHUl_uG3.js";
12
- import { M as U } from "../../../../MenuItem-DwqJqzuM.js";
13
- import { F as ve } from "../../../../FormGroup-CpBsIyYR.js";
14
- import { a as v, _ as ne } from "../../../../objectWithoutPropertiesLoose-DJteAcBH.js";
15
- import { P as e } from "../../../../index-C__OZmYy.js";
9
+ import { T as B, F as A, B as ve } from "../../../../TextField-Ca9ykixI.js";
10
+ import { I as W } from "../../../../InputLabel-CjD30ZHz.js";
11
+ import { S as H } from "../../../../Select-Bfhvigsx.js";
12
+ import { M as U } from "../../../../MenuItem-BKvRGLvM.js";
13
+ import { F as Te } from "../../../../FormGroup-BRj1o7-E.js";
14
+ import { a as v, _ as ne } from "../../../../extends-C3382pL0.js";
15
+ import { P as e } from "../../../../index-CblbdqjE.js";
16
16
  import { c as J } from "../../../../clsx-OuTLNxxd.js";
17
- import { f as Te } from "../../../../formControlState-vgaj2ksH.js";
18
- import { u as Ce } from "../../../../useFormControl-CatNKXAi.js";
19
- import { T as oe } from "../../../../Typography-DgsSLCFC.js";
20
- import { createStack as xe } from "@mui/system";
21
- import { r as ie } from "../../../../TransitionGroupContext-BDAp2T0O.js";
22
- import { S as Ie } from "../../../../SwitchBase-DTndTqI8.js";
23
- import { c as X } from "../../../../createSvgIcon-Ch_cT8az.js";
24
- import { B as ge } from "../../../../Box-DqUMmZjL.js";
25
- import { B as re } from "../../../../Button-C5yquWAB.js";
17
+ import { f as Ce } from "../../../../formControlState-vgaj2ksH.js";
18
+ import { u as xe } from "../../../../useFormControl-CatNKXAi.js";
19
+ import { T as oe } from "../../../../Typography-D3X-Y5fh.js";
20
+ import { createStack as Ie } from "@mui/system";
21
+ import { r as ie } from "../../../../TransitionGroupContext-Ja2CgIob.js";
22
+ import { S as ge } from "../../../../SwitchBase-BEK49kdS.js";
23
+ import { c as X } from "../../../../createSvgIcon-D7U1nd99.js";
24
+ import { B as re } from "../../../../Button-Cem3nbwc.js";
26
25
  const ke = X(/* @__PURE__ */ t("path", {
27
26
  d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
28
27
  }), "CheckBoxOutlineBlank"), Oe = X(/* @__PURE__ */ t("path", {
@@ -43,7 +42,7 @@ const K = te("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "co
43
42
  root: ["root", i && "indeterminate", `color${_(p)}`, `size${_(d)}`]
44
43
  }, a = le(s, Re, o);
45
44
  return v({}, o, a);
46
- }, Se = G(Ie, {
45
+ }, Se = G(ge, {
47
46
  shouldForwardProp: (r) => ue(r) || r === "classes",
48
47
  name: "MuiCheckbox",
49
48
  slot: "Root",
@@ -211,7 +210,7 @@ process.env.NODE_ENV !== "production" && (P.propTypes = {
211
210
  */
212
211
  value: e.any
213
212
  });
214
- const se = xe({
213
+ const se = Ie({
215
214
  createStyledComponent: G("div", {
216
215
  name: "MuiStack",
217
216
  slot: "Root",
@@ -351,14 +350,14 @@ const E = te("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacem
351
350
  labelPlacement: T = "end",
352
351
  required: k,
353
352
  slotProps: F = {}
354
- } = s, O = ne(s, Ee), b = Ce(), C = (p = u ?? m.props.disabled) != null ? p : b == null ? void 0 : b.disabled, h = k ?? m.props.required, j = {
353
+ } = s, O = ne(s, Ee), b = xe(), C = (p = u ?? m.props.disabled) != null ? p : b == null ? void 0 : b.disabled, h = k ?? m.props.required, j = {
355
354
  disabled: C,
356
355
  required: h
357
356
  };
358
357
  ["checked", "name", "onChange", "value", "inputRef"].forEach((l) => {
359
358
  typeof m.props[l] > "u" && typeof s[l] < "u" && (j[l] = s[l]);
360
359
  });
361
- const N = Te({
360
+ const N = Ce({
362
361
  props: s,
363
362
  muiFormControl: b,
364
363
  states: ["error"]
@@ -478,7 +477,7 @@ var ce = Z.default = void 0, De = we(he()), Ve = de;
478
477
  ce = Z.default = (0, De.default)(/* @__PURE__ */ (0, Ve.jsx)("path", {
479
478
  d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
480
479
  }), "Check");
481
- function uo({
480
+ function mo({
482
481
  inputVariant: r,
483
482
  labelPosition: o = "default",
484
483
  defaultValues: i = {
@@ -656,7 +655,7 @@ function uo({
656
655
  }
657
656
  )
658
657
  ] }) }),
659
- /* @__PURE__ */ f(ve, { row: !0, sx: { mb: 2 }, children: [
658
+ /* @__PURE__ */ f(Te, { row: !0, sx: { mb: 2 }, children: [
660
659
  /* @__PURE__ */ t(
661
660
  R,
662
661
  {
@@ -741,7 +740,7 @@ function uo({
741
740
  }
742
741
  )
743
742
  ] }),
744
- /* @__PURE__ */ f(ge, { display: "flex", justifyContent: "flex-end", children: [
743
+ /* @__PURE__ */ f(ve, { display: "flex", justifyContent: "flex-end", children: [
745
744
  /* @__PURE__ */ t(re, { variant: "contained", onClick: s, sx: { marginRight: 2 }, children: "Cancel" }),
746
745
  /* @__PURE__ */ t(
747
746
  re,
@@ -756,5 +755,5 @@ function uo({
756
755
  ] });
757
756
  }
758
757
  export {
759
- uo as default
758
+ mo as default
760
759
  };
@@ -1,23 +1,22 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { DataGrid as a } from "@mui/x-data-grid";
3
- import { A as n, a as d, d as s } from "../../../../Add-CqcD1PWb.js";
4
- import m from "./recognition-property-list-columns.js";
5
- import c from "./recognition-property-list-form.js";
6
- import p from "./recognition-property-list-logic.js";
7
- import { B as g } from "../../../../Box-DqUMmZjL.js";
8
- import { T as h } from "../../../../Typography-DgsSLCFC.js";
9
- import { B as u } from "../../../../Button-C5yquWAB.js";
10
- import { D as f, a as y } from "../../../../DialogContent-BvVjD9z3.js";
11
- import { a as b } from "../../../../dialog-BYRnCztH.js";
12
- const L = (i) => {
13
- const { state: l, action: t } = p(i);
14
- return /* @__PURE__ */ r(g, { children: [
3
+ import { A as n, a as d, d as s } from "../../../../Add-Bk8R160M.js";
4
+ import c from "./recognition-property-list-columns.js";
5
+ import m from "./recognition-property-list-form.js";
6
+ import g from "./recognition-property-list-logic.js";
7
+ import { B as p } from "../../../../TextField-Ca9ykixI.js";
8
+ import { T as h } from "../../../../Typography-D3X-Y5fh.js";
9
+ import { B as u } from "../../../../Button-Cem3nbwc.js";
10
+ import { a as f, b as y, c as b } from "../../../../dialog-BtJhjyF5.js";
11
+ const F = (i) => {
12
+ const { state: l, action: t } = g(i);
13
+ return /* @__PURE__ */ r(p, { children: [
15
14
  /* @__PURE__ */ e(h, { variant: "h6", marginY: 2, children: "Recognition Property List" }),
16
15
  i.list.length > 0 ? /* @__PURE__ */ e(
17
16
  a,
18
17
  {
19
18
  rows: i.list,
20
- columns: m({
19
+ columns: c({
21
20
  onEdit: t.handleOnEditClick,
22
21
  onDelete: t.handleOnDeleteClick
23
22
  }),
@@ -49,9 +48,9 @@ const L = (i) => {
49
48
  maxWidth: "sm",
50
49
  scroll: "body",
51
50
  children: [
52
- /* @__PURE__ */ e(b, { id: "alert-dialog-title", children: "Add Recognition Property" }),
53
- /* @__PURE__ */ e(y, { className: "pb-30", children: /* @__PURE__ */ e(
54
- c,
51
+ /* @__PURE__ */ e(y, { id: "alert-dialog-title", children: "Add Recognition Property" }),
52
+ /* @__PURE__ */ e(b, { className: "pb-30", children: /* @__PURE__ */ e(
53
+ m,
55
54
  {
56
55
  defaultValues: l.recPropertyForm.defaultValues,
57
56
  getFormValues: i.getFormValues,
@@ -65,5 +64,5 @@ const L = (i) => {
65
64
  ] });
66
65
  };
67
66
  export {
68
- L as RecognitionPropertyList
67
+ F as RecognitionPropertyList
69
68
  };
@@ -1,6 +1,5 @@
1
1
  import { jsxs as i, Fragment as t, jsx as e } from "react/jsx-runtime";
2
- import { d as o, a as l } from "../../../../Delete-BdyYpINH.js";
3
- import { I as d } from "../../../../IconButton-BoGwbvrP.js";
2
+ import { I as d, d as l, a as o } from "../../../../Delete-CVJ6FeDn.js";
4
3
  const h = (r) => [
5
4
  { field: "ownerType", headerName: "Owner Type", width: 120 },
6
5
  { field: "owner", headerName: "Owner", width: 120 },
@@ -31,7 +30,7 @@ const h = (r) => [
31
30
  {
32
31
  size: "medium",
33
32
  onClick: () => r.onEdit(a.row),
34
- children: /* @__PURE__ */ e(o, { color: "secondary" })
33
+ children: /* @__PURE__ */ e(l, { color: "secondary" })
35
34
  }
36
35
  ),
37
36
  /* @__PURE__ */ e(
@@ -39,7 +38,7 @@ const h = (r) => [
39
38
  {
40
39
  size: "medium",
41
40
  onClick: () => r.onDelete(a.row),
42
- children: /* @__PURE__ */ e(l, {})
41
+ children: /* @__PURE__ */ e(o, {})
43
42
  }
44
43
  )
45
44
  ] })