@hybridcore/ui 1.3.4 → 1.3.6

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 (55) hide show
  1. package/dist/{ButtonBase-DJz-TFGO.js → ButtonBase-D6qhsxB0.js} +7 -8
  2. package/dist/{CardContent-DZnCVGy9.js → CardContent-B8hqgH-I.js} +3 -3
  3. package/dist/{Checkbox-DzmWBCrt.js → Checkbox-BFWhj3s-.js} +6 -6
  4. package/dist/{Collapse-NqW0GIK_.js → Collapse-D_TjnyE5.js} +74 -67
  5. package/dist/DialogContent-BCYm_d1s.js +864 -0
  6. package/dist/{FormControl-aXQs42m6.js → FormControl-BMRUQKHh.js} +55 -55
  7. package/dist/{FormControlLabel-hDa-xf_q.js → FormControlLabel-DENNVXWL.js} +9 -9
  8. package/dist/{IconButton-SnBOFQ43.js → IconButton-D8bwME9t.js} +4 -4
  9. package/dist/{Input-CeVb6kjv.js → Input-Dxzguyp5.js} +5 -5
  10. package/dist/{InputAdornment-fM3loNyx.js → InputAdornment-B8ERE7Zv.js} +4 -4
  11. package/dist/{List-DLIiXc6r.js → List-DEWyK9IO.js} +5 -5
  12. package/dist/{MenuItem-BEW28T9O.js → MenuItem-DstAFfik.js} +12 -12
  13. package/dist/Modal-DNGEQJ1M.js +1267 -0
  14. package/dist/{OutlinedInput-DkzLHRTd.js → OutlinedInput-w2Cj9STF.js} +5 -5
  15. package/dist/{Paper-Dp3qO0cK.js → Paper-BseeergJ.js} +8 -8
  16. package/dist/{Select-Cdmu0dQ4.js → Select-NDq3WyLt.js} +51 -51
  17. package/dist/{Typography-CXe5ytr0.js → Typography-Dg-ROiTA.js} +3 -3
  18. package/dist/components/card/index.js +5 -5
  19. package/dist/components/card/styled.js +1 -1
  20. package/dist/components/collapsible-card/style.js +26 -26
  21. package/dist/components/confirm/dialog.js +5 -5
  22. package/dist/components/container/index.js +6 -6
  23. package/dist/components/context-menu/index.js +604 -191
  24. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  25. package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
  26. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  27. package/dist/components/geometry-picker/index.js +3 -3
  28. package/dist/components/icon-button/index.js +1 -1
  29. package/dist/components/map/styled.js +1 -1
  30. package/dist/components/search-input/index.js +4 -4
  31. package/dist/components/template-property-filters/index.js +1 -1
  32. package/dist/components/template-property-filters/property.js +209 -10
  33. package/dist/components/tree-select/index.js +4 -4
  34. package/dist/components/treeview-filter/index.js +8 -8
  35. package/dist/components/treeview-filter/item/index.js +1 -1
  36. package/dist/components/treeview-filter/item-label/index.js +2 -2
  37. package/dist/{createStyled-liRRhQcN.js → createStyled-B96gjom1.js} +461 -484
  38. package/dist/createSvgIcon-B2WT0K4k.js +87 -0
  39. package/dist/{createSvgIcon-Cl8kMTkx.js → createSvgIcon-BNrb7rDY.js} +3 -3
  40. package/dist/{exactProp-CT2wqJXE.js → exactProp-CI_rjX83.js} +2 -2
  41. package/dist/{index-D9TdkXAs.js → index-B3Oj04nl.js} +5 -5
  42. package/dist/{index-DRy8nExS.js → index-CSfSVkKj.js} +5 -6
  43. package/dist/{listItemTextClasses-BrCbmCR1.js → listItemTextClasses-CFiI_U7B.js} +2 -2
  44. package/dist/main.js +150 -144
  45. package/dist/{styled-Dm8rXzIG.js → styled-cPJbqF0E.js} +24 -24
  46. package/dist/{useTheme-CTuK-wFF.js → useTheme-C-T6Qisa.js} +2 -2
  47. package/dist/{useThemeProps-BXn-nVhw.js → useThemeProps-DeftUmqJ.js} +14 -14
  48. package/dist/{utils-DY9Jk4Ah.js → utils-CCkxV0lZ.js} +15 -15
  49. package/package.json +1 -1
  50. package/dist/DialogContent-D51w7KVX.js +0 -2119
  51. package/dist/ListItem-BkxmqFI8.js +0 -428
  52. package/dist/createSvgIcon-B4TFefhd.js +0 -73
  53. package/dist/property-BsU8ijQF.js +0 -6857
  54. package/dist/requirePropFactory-BItwGLRQ.js +0 -18
  55. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
@@ -0,0 +1,87 @@
1
+ import { a as h, k as g } from "./createStyled-B96gjom1.js";
2
+ import { c as b, u as E } from "./createSvgIcon-BNrb7rDY.js";
3
+ import { C as y } from "./styled-cPJbqF0E.js";
4
+ import { c as C, u as N } from "./useId-BHG98T5I.js";
5
+ import { d as S } from "./debounce-46wSf_lW.js";
6
+ import { o as I } from "./ownerWindow-niciwP7I.js";
7
+ import { _ as $ } from "./extends-Cyw62AD_.js";
8
+ import { s as x, u as T, b as q, a as P, c as w } from "./ButtonBase-D6qhsxB0.js";
9
+ import { i as D } from "./isMuiElement-CxT3_ACP.js";
10
+ import { o as O } from "./ownerDocument-CUrv0DIK.js";
11
+ import { u as R } from "./Collapse-D_TjnyE5.js";
12
+ function M(e, t) {
13
+ return process.env.NODE_ENV === "production" ? () => null : (r, s, u, o, n) => {
14
+ const a = u || "<<anonymous>>", i = n || s;
15
+ return typeof r[s] < "u" ? new Error(`The ${o} \`${i}\` of \`${a}\` is deprecated. ${t}`) : null;
16
+ };
17
+ }
18
+ function j(e, t) {
19
+ if (process.env.NODE_ENV === "production")
20
+ return () => null;
21
+ const r = t ? $({}, t.propTypes) : null;
22
+ return (u) => (o, n, a, i, l, ...v) => {
23
+ const f = l || n, p = r == null ? void 0 : r[f];
24
+ if (p) {
25
+ const m = p(o, n, a, i, l, ...v);
26
+ if (m)
27
+ return m;
28
+ }
29
+ return typeof o[n] < "u" && !o[u] ? new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${u}\` prop.`) : null;
30
+ };
31
+ }
32
+ const k = {
33
+ configure: (e) => {
34
+ process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
35
+ `)), y.configure(e);
36
+ }
37
+ }, F = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
38
+ __proto__: null,
39
+ capitalize: h,
40
+ createChainedFunction: C,
41
+ createSvgIcon: b,
42
+ debounce: S,
43
+ deprecatedPropType: M,
44
+ isMuiElement: D,
45
+ ownerDocument: O,
46
+ ownerWindow: I,
47
+ requirePropFactory: j,
48
+ setRef: x,
49
+ unstable_ClassNameGenerator: k,
50
+ unstable_useEnhancedEffect: T,
51
+ unstable_useId: N,
52
+ unsupportedProp: R,
53
+ useControlled: E,
54
+ useEventCallback: q,
55
+ useForkRef: P,
56
+ useIsFocusVisible: w
57
+ }, Symbol.toStringTag, { value: "Module" }));
58
+ var _ = { exports: {} };
59
+ (function(e) {
60
+ function t(r) {
61
+ return r && r.__esModule ? r : {
62
+ default: r
63
+ };
64
+ }
65
+ e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
66
+ })(_);
67
+ var Q = _.exports, c = {};
68
+ const G = /* @__PURE__ */ g(F);
69
+ var d;
70
+ function X() {
71
+ return d || (d = 1, function(e) {
72
+ "use client";
73
+ Object.defineProperty(e, "__esModule", {
74
+ value: !0
75
+ }), Object.defineProperty(e, "default", {
76
+ enumerable: !0,
77
+ get: function() {
78
+ return t.createSvgIcon;
79
+ }
80
+ });
81
+ var t = G;
82
+ }(c)), c;
83
+ }
84
+ export {
85
+ Q as i,
86
+ X as r
87
+ };
@@ -1,9 +1,9 @@
1
1
  import * as l from "react";
2
2
  import { a as z, _ } from "./extends-Cyw62AD_.js";
3
3
  import { jsxs as I, jsx as w } from "react/jsx-runtime";
4
- import { a as S, P as o } from "./createStyled-liRRhQcN.js";
5
- import { g as N, u as T, c as C, a as O } from "./useThemeProps-BXn-nVhw.js";
6
- import { g as R, s as E } from "./styled-Dm8rXzIG.js";
4
+ import { a as S, P as o } from "./createStyled-B96gjom1.js";
5
+ import { g as N, u as T, c as C, a as O } from "./useThemeProps-DeftUmqJ.js";
6
+ import { g as R, s as E } from "./styled-cPJbqF0E.js";
7
7
  function F({
8
8
  controlled: e,
9
9
  default: t,
@@ -1,5 +1,5 @@
1
- import { P as a } from "./createStyled-liRRhQcN.js";
2
- import { d as p } from "./useThemeProps-BXn-nVhw.js";
1
+ import { P as a } from "./createStyled-B96gjom1.js";
2
+ import { b as p } from "./useThemeProps-DeftUmqJ.js";
3
3
  import { _ as f } from "./extends-Cyw62AD_.js";
4
4
  function m(e) {
5
5
  const {
@@ -8,11 +8,11 @@ import $ from "./hooks/useToggle.js";
8
8
  import { GeometryPicker as q } from "./components/geometry-picker/index.js";
9
9
  import { PhoneInput as J } from "./components/phone-input/index.js";
10
10
  import { DateTimePicker as K } from "./components/date-time-picker/index.js";
11
- import { T as D, F as Q } from "./FormControlLabel-hDa-xf_q.js";
12
- import { B as x, C as U } from "./Checkbox-DzmWBCrt.js";
13
- import { F as X, I as Z } from "./FormControl-aXQs42m6.js";
14
- import { S as M } from "./Select-Cdmu0dQ4.js";
15
- import { M as z } from "./MenuItem-BEW28T9O.js";
11
+ import { T as D, F as Q } from "./FormControlLabel-DENNVXWL.js";
12
+ import { B as x, C as U } from "./Checkbox-BFWhj3s-.js";
13
+ import { F as X, I as Z } from "./FormControl-BMRUQKHh.js";
14
+ import { S as M } from "./Select-NDq3WyLt.js";
15
+ import { M as z } from "./MenuItem-DstAFfik.js";
16
16
  import { useState as ee } from "react";
17
17
  function ne({
18
18
  property: m,
@@ -2,12 +2,11 @@ import { jsx as T, jsxs as re } from "react/jsx-runtime";
2
2
  import ye from "./components/treeview-filter/item-label/index.js";
3
3
  import se from "lodash";
4
4
  import * as l from "react";
5
- import { c as ie, g as xe, u as Ie, a as Te } from "./useThemeProps-BXn-nVhw.js";
6
- import { P as n } from "./createStyled-liRRhQcN.js";
7
- import { b as Ee, u as he, e as De } from "./ButtonBase-DJz-TFGO.js";
8
- import { g as ve, s as W, a as $ } from "./styled-Dm8rXzIG.js";
9
- import { C as ce } from "./Collapse-NqW0GIK_.js";
10
- import { u as Ne } from "./unsupportedProp-BuVD30Gh.js";
5
+ import { c as ie, g as xe, u as Ie, a as Te } from "./useThemeProps-DeftUmqJ.js";
6
+ import { P as n } from "./createStyled-B96gjom1.js";
7
+ import { u as Ee, a as he, e as De } from "./ButtonBase-D6qhsxB0.js";
8
+ import { g as ve, s as W, a as $ } from "./styled-cPJbqF0E.js";
9
+ import { C as ce, u as Ne } from "./Collapse-D_TjnyE5.js";
11
10
  import { o as Oe } from "./ownerDocument-CUrv0DIK.js";
12
11
  const z = /* @__PURE__ */ l.createContext({});
13
12
  process.env.NODE_ENV !== "production" && (z.displayName = "TreeViewContext");
@@ -1,5 +1,5 @@
1
- import { g as s } from "./useThemeProps-BXn-nVhw.js";
2
- import { g as e } from "./styled-Dm8rXzIG.js";
1
+ import { g as s } from "./useThemeProps-DeftUmqJ.js";
2
+ import { g as e } from "./styled-cPJbqF0E.js";
3
3
  function n(t) {
4
4
  return e("MuiListItemIcon", t);
5
5
  }
package/dist/main.js CHANGED
@@ -1,61 +1,60 @@
1
- import { Access as Ht } from "./components/access/index.js";
2
- import { Card as Ft } from "./components/card/index.js";
1
+ import { Access as bt } from "./components/access/index.js";
2
+ import { Card as Bt } from "./components/card/index.js";
3
3
  import { ConditionalWrapper as jt } from "./components/conditional-wrapper/index.js";
4
- import { alert as $t, confirm as Pt } from "./components/confirm/index.js";
5
- import { Container as Et } from "./components/container/index.js";
6
- import { ContextMenu as Ut } from "./components/context-menu/index.js";
7
- import { InstanceForm as Nt } from "./components/data-management/instance-form/index.js";
8
- import { DisseminationList as _t } from "./components/data-security-selectors/dissemination-list/index.js";
9
- import { SecurityLevel as qt } from "./components/data-security-selectors/security-level/index.js";
10
- import { DateTimePicker as Kt } from "./components/date-time-picker/index.js";
11
- import { GeometryPicker as Rt } from "./components/geometry-picker/index.js";
12
- import { IconButton as te } from "./components/icon-button/index.js";
13
- import { KeyProtectionMenu as re } from "./components/key-protection/menu.js";
4
+ import { alert as It, confirm as Wt } from "./components/confirm/index.js";
5
+ import { Container as Pt } from "./components/container/index.js";
6
+ import { ContextMenu as zt } from "./components/context-menu/index.js";
7
+ import { InstanceForm as Zt } from "./components/data-management/instance-form/index.js";
8
+ import { DisseminationList as Jt } from "./components/data-security-selectors/dissemination-list/index.js";
9
+ import { SecurityLevel as Vt } from "./components/data-security-selectors/security-level/index.js";
10
+ import { DateTimePicker as Gt } from "./components/date-time-picker/index.js";
11
+ import { GeometryPicker as Qt } from "./components/geometry-picker/index.js";
12
+ import { IconButton as Xt } from "./components/icon-button/index.js";
13
+ import { KeyProtectionMenu as ee } from "./components/key-protection/menu.js";
14
14
  import { S as ne } from "./utils-Bq0ye5vf.js";
15
- import { Loading as ae } from "./components/loading/index.js";
16
- import { i as he } from "./index-JrtqxUdI.js";
17
- import { PhoneInput as ue } from "./components/phone-input/index.js";
18
- import { SearchInput as fe } from "./components/search-input/index.js";
19
- import { TreeSelect as me } from "./components/tree-select/index.js";
20
- import { TreeViewFilter as ye } from "./components/treeview-filter/index.js";
21
- import { CollapsibleCard as De } from "./components/collapsible-card/index.js";
22
- import { TemplatePropertyFilters as Ye } from "./components/template-property-filters/index.js";
23
- import { LocalizationProvider as Le } from "@mui/x-date-pickers";
15
+ import { Loading as oe } from "./components/loading/index.js";
16
+ import { i as ie } from "./index-JrtqxUdI.js";
17
+ import { PhoneInput as de } from "./components/phone-input/index.js";
18
+ import { SearchInput as ce } from "./components/search-input/index.js";
19
+ import { TreeSelect as le } from "./components/tree-select/index.js";
20
+ import { TreeViewFilter as pe } from "./components/treeview-filter/index.js";
21
+ import { CollapsibleCard as Me } from "./components/collapsible-card/index.js";
22
+ import { TemplatePropertyFilters as ge } from "./components/template-property-filters/index.js";
23
+ import { LocalizationProvider as xe } from "@mui/x-date-pickers";
24
24
  import { _ as dt } from "./extends-Cyw62AD_.js";
25
- import C from "dayjs";
26
- import { c as z, g as U } from "./createStyled-liRRhQcN.js";
27
- import { b as ut } from "./property-BsU8ijQF.js";
25
+ import j from "dayjs";
26
+ import { c as z, g as U } from "./createStyled-B96gjom1.js";
28
27
  var tt = { exports: {} };
29
- (function(m, D) {
28
+ (function(l, p) {
30
29
  (function(f, c) {
31
- m.exports = c();
30
+ l.exports = c();
32
31
  })(z, function() {
33
32
  var f = "week", c = "year";
34
- return function(t, e, s) {
33
+ return function(t, e, n) {
35
34
  var o = e.prototype;
36
- o.week = function(n) {
37
- if (n === void 0 && (n = null), n !== null) return this.add(7 * (n - this.week()), "day");
35
+ o.week = function(s) {
36
+ if (s === void 0 && (s = null), s !== null) return this.add(7 * (s - this.week()), "day");
38
37
  var i = this.$locale().yearStart || 1;
39
38
  if (this.month() === 11 && this.date() > 25) {
40
- var a = s(this).startOf(c).add(1, c).date(i), g = s(this).endOf(f);
39
+ var a = n(this).startOf(c).add(1, c).date(i), g = n(this).endOf(f);
41
40
  if (a.isBefore(g)) return 1;
42
41
  }
43
- var p = s(this).startOf(c).date(i).startOf(f).subtract(1, "millisecond"), H = this.diff(p, f, !0);
44
- return H < 0 ? s(this).startOf("week").week() : Math.ceil(H);
45
- }, o.weeks = function(n) {
46
- return n === void 0 && (n = null), this.week(n);
42
+ var y = n(this).startOf(c).date(i).startOf(f).subtract(1, "millisecond"), H = this.diff(y, f, !0);
43
+ return H < 0 ? n(this).startOf("week").week() : Math.ceil(H);
44
+ }, o.weeks = function(s) {
45
+ return s === void 0 && (s = null), this.week(s);
47
46
  };
48
47
  };
49
48
  });
50
49
  })(tt);
51
- var ct = tt.exports;
52
- const ft = /* @__PURE__ */ U(ct);
50
+ var ut = tt.exports;
51
+ const ct = /* @__PURE__ */ U(ut);
53
52
  var et = { exports: {} };
54
- (function(m, D) {
53
+ (function(l, p) {
55
54
  (function(f, c) {
56
- m.exports = c();
55
+ l.exports = c();
57
56
  })(z, function() {
58
- var f = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, c = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, t = /\d/, e = /\d\d/, s = /\d\d?/, o = /\d*[^-_:/,()\s\d]+/, n = {}, i = function(r) {
57
+ var f = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, c = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, t = /\d/, e = /\d\d/, n = /\d\d?/, o = /\d*[^-_:/,()\s\d]+/, s = {}, i = function(r) {
59
58
  return (r = +r) + (r > 68 ? 1900 : 2e3);
60
59
  }, a = function(r) {
61
60
  return function(h) {
@@ -67,11 +66,11 @@ var et = { exports: {} };
67
66
  var d = h.match(/([+-]|\d\d)/g), u = 60 * d[1] + (+d[2] || 0);
68
67
  return u === 0 ? 0 : d[0] === "+" ? -u : u;
69
68
  }(r);
70
- }], p = function(r) {
71
- var h = n[r];
69
+ }], y = function(r) {
70
+ var h = s[r];
72
71
  return h && (h.indexOf ? h : h.s.concat(h.f));
73
72
  }, H = function(r, h) {
74
- var d, u = n.meridiem;
73
+ var d, u = s.meridiem;
75
74
  if (u) {
76
75
  for (var Y = 1; Y <= 24; Y += 1) if (r.indexOf(u(Y, 0, h)) > -1) {
77
76
  d = Y > 12;
@@ -91,17 +90,17 @@ var et = { exports: {} };
91
90
  this.milliseconds = 10 * +r;
92
91
  }], SSS: [/\d{3}/, function(r) {
93
92
  this.milliseconds = +r;
94
- }], s: [s, a("seconds")], ss: [s, a("seconds")], m: [s, a("minutes")], mm: [s, a("minutes")], H: [s, a("hours")], h: [s, a("hours")], HH: [s, a("hours")], hh: [s, a("hours")], D: [s, a("day")], DD: [e, a("day")], Do: [o, function(r) {
95
- var h = n.ordinal, d = r.match(/\d+/);
93
+ }], s: [n, a("seconds")], ss: [n, a("seconds")], m: [n, a("minutes")], mm: [n, a("minutes")], H: [n, a("hours")], h: [n, a("hours")], HH: [n, a("hours")], hh: [n, a("hours")], D: [n, a("day")], DD: [e, a("day")], Do: [o, function(r) {
94
+ var h = s.ordinal, d = r.match(/\d+/);
96
95
  if (this.day = d[0], h) for (var u = 1; u <= 31; u += 1) h(u).replace(/\[|\]/g, "") === r && (this.day = u);
97
- }], w: [s, a("week")], ww: [e, a("week")], M: [s, a("month")], MM: [e, a("month")], MMM: [o, function(r) {
98
- var h = p("months"), d = (p("monthsShort") || h.map(function(u) {
96
+ }], w: [n, a("week")], ww: [e, a("week")], M: [n, a("month")], MM: [e, a("month")], MMM: [o, function(r) {
97
+ var h = y("months"), d = (y("monthsShort") || h.map(function(u) {
99
98
  return u.slice(0, 3);
100
99
  })).indexOf(r) + 1;
101
100
  if (d < 1) throw new Error();
102
101
  this.month = d % 12 || d;
103
102
  }], MMMM: [o, function(r) {
104
- var h = p("months").indexOf(r) + 1;
103
+ var h = y("months").indexOf(r) + 1;
105
104
  if (h < 1) throw new Error();
106
105
  this.month = h % 12 || h;
107
106
  }], Y: [/[+-]?\d+/, a("year")], YY: [e, function(r) {
@@ -109,30 +108,30 @@ var et = { exports: {} };
109
108
  }], YYYY: [/\d{4}/, a("year")], Z: g, ZZ: g };
110
109
  function B(r) {
111
110
  var h, d;
112
- h = r, d = n && n.formats;
113
- for (var u = (r = h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(S, T, M) {
114
- var y = M && M.toUpperCase();
115
- return T || d[M] || f[M] || d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, v, A) {
111
+ h = r, d = s && s.formats;
112
+ for (var u = (r = h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(S, T, D) {
113
+ var M = D && D.toUpperCase();
114
+ return T || d[D] || f[D] || d[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, v, A) {
116
115
  return v || A.slice(1);
117
116
  });
118
117
  })).match(c), Y = u.length, x = 0; x < Y; x += 1) {
119
- var j = u[x], O = Z[j], L = O && O[0], w = O && O[1];
120
- u[x] = w ? { regex: L, parser: w } : j.replace(/^\[|\]$/g, "");
118
+ var C = u[x], O = Z[C], w = O && O[0], L = O && O[1];
119
+ u[x] = L ? { regex: w, parser: L } : C.replace(/^\[|\]$/g, "");
121
120
  }
122
121
  return function(S) {
123
- for (var T = {}, M = 0, y = 0; M < Y; M += 1) {
124
- var k = u[M];
125
- if (typeof k == "string") y += k.length;
122
+ for (var T = {}, D = 0, M = 0; D < Y; D += 1) {
123
+ var k = u[D];
124
+ if (typeof k == "string") M += k.length;
126
125
  else {
127
- var v = k.regex, A = k.parser, I = S.slice(y), F = v.exec(I)[0];
126
+ var v = k.regex, A = k.parser, I = S.slice(M), F = v.exec(I)[0];
128
127
  A.call(T, F), S = S.replace(F, "");
129
128
  }
130
129
  }
131
130
  return function(b) {
132
- var $ = b.afternoon;
133
- if ($ !== void 0) {
134
- var l = b.hours;
135
- $ ? l < 12 && (b.hours += 12) : l === 12 && (b.hours = 0), delete b.afternoon;
131
+ var W = b.afternoon;
132
+ if (W !== void 0) {
133
+ var m = b.hours;
134
+ W ? m < 12 && (b.hours += 12) : m === 12 && (b.hours = 0), delete b.afternoon;
136
135
  }
137
136
  }(T), T;
138
137
  };
@@ -141,25 +140,25 @@ var et = { exports: {} };
141
140
  d.p.customParseFormat = !0, r && r.parseTwoDigitYear && (i = r.parseTwoDigitYear);
142
141
  var u = h.prototype, Y = u.parse;
143
142
  u.parse = function(x) {
144
- var j = x.date, O = x.utc, L = x.args;
143
+ var C = x.date, O = x.utc, w = x.args;
145
144
  this.$u = O;
146
- var w = L[1];
147
- if (typeof w == "string") {
148
- var S = L[2] === !0, T = L[3] === !0, M = S || T, y = L[2];
149
- T && (y = L[2]), n = this.$locale(), !S && y && (n = d.Ls[y]), this.$d = function(I, F, b, $) {
145
+ var L = w[1];
146
+ if (typeof L == "string") {
147
+ var S = w[2] === !0, T = w[3] === !0, D = S || T, M = w[2];
148
+ T && (M = w[2]), s = this.$locale(), !S && M && (s = d.Ls[M]), this.$d = function(I, F, b, W) {
150
149
  try {
151
150
  if (["x", "X"].indexOf(F) > -1) return new Date((F === "X" ? 1e3 : 1) * I);
152
- var l = B(F)(I), N = l.year, P = l.month, nt = l.day, ot = l.hours, at = l.minutes, it = l.seconds, ht = l.milliseconds, R = l.zone, X = l.week, J = /* @__PURE__ */ new Date(), _ = nt || (N || P ? 1 : J.getDate()), V = N || J.getFullYear(), W = 0;
153
- N && !P || (W = P > 0 ? P - 1 : J.getMonth());
151
+ var m = B(F)(I), N = m.year, $ = m.month, st = m.day, ot = m.hours, at = m.minutes, it = m.seconds, ht = m.milliseconds, R = m.zone, X = m.week, J = /* @__PURE__ */ new Date(), _ = st || (N || $ ? 1 : J.getDate()), V = N || J.getFullYear(), P = 0;
152
+ N && !$ || (P = $ > 0 ? $ - 1 : J.getMonth());
154
153
  var E, q = ot || 0, G = at || 0, K = it || 0, Q = ht || 0;
155
- return R ? new Date(Date.UTC(V, W, _, q, G, K, Q + 60 * R.offset * 1e3)) : b ? new Date(Date.UTC(V, W, _, q, G, K, Q)) : (E = new Date(V, W, _, q, G, K, Q), X && (E = $(E).week(X).toDate()), E);
154
+ return R ? new Date(Date.UTC(V, P, _, q, G, K, Q + 60 * R.offset * 1e3)) : b ? new Date(Date.UTC(V, P, _, q, G, K, Q)) : (E = new Date(V, P, _, q, G, K, Q), X && (E = W(E).week(X).toDate()), E);
156
155
  } catch {
157
156
  return /* @__PURE__ */ new Date("");
158
157
  }
159
- }(j, w, O, d), this.init(), y && y !== !0 && (this.$L = this.locale(y).$L), M && j != this.format(w) && (this.$d = /* @__PURE__ */ new Date("")), n = {};
160
- } else if (w instanceof Array) for (var k = w.length, v = 1; v <= k; v += 1) {
161
- L[1] = w[v - 1];
162
- var A = d.apply(this, L);
158
+ }(C, L, O, d), this.init(), M && M !== !0 && (this.$L = this.locale(M).$L), D && C != this.format(L) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
159
+ } else if (L instanceof Array) for (var k = L.length, v = 1; v <= k; v += 1) {
160
+ w[1] = L[v - 1];
161
+ var A = d.apply(this, w);
163
162
  if (A.isValid()) {
164
163
  this.$d = A.$d, this.$L = A.$L, this.init();
165
164
  break;
@@ -171,52 +170,59 @@ var et = { exports: {} };
171
170
  };
172
171
  });
173
172
  })(et);
174
- var lt = et.exports;
175
- const mt = /* @__PURE__ */ U(lt);
173
+ var ft = et.exports;
174
+ const lt = /* @__PURE__ */ U(ft);
176
175
  var rt = { exports: {} };
177
- (function(m, D) {
176
+ (function(l, p) {
178
177
  (function(f, c) {
179
- m.exports = c();
178
+ l.exports = c();
180
179
  })(z, function() {
181
180
  var f = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
182
181
  return function(c, t, e) {
183
- var s = t.prototype, o = s.format;
184
- e.en.formats = f, s.format = function(n) {
185
- n === void 0 && (n = "YYYY-MM-DDTHH:mm:ssZ");
186
- var i = this.$locale().formats, a = function(g, p) {
182
+ var n = t.prototype, o = n.format;
183
+ e.en.formats = f, n.format = function(s) {
184
+ s === void 0 && (s = "YYYY-MM-DDTHH:mm:ssZ");
185
+ var i = this.$locale().formats, a = function(g, y) {
187
186
  return g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, Z, B) {
188
187
  var r = B && B.toUpperCase();
189
- return Z || p[B] || f[B] || p[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(h, d, u) {
188
+ return Z || y[B] || f[B] || y[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(h, d, u) {
190
189
  return d || u.slice(1);
191
190
  });
192
191
  });
193
- }(n, i === void 0 ? {} : i);
192
+ }(s, i === void 0 ? {} : i);
194
193
  return o.call(this, a);
195
194
  };
196
195
  };
197
196
  });
198
197
  })(rt);
199
- var pt = rt.exports;
200
- const yt = /* @__PURE__ */ U(pt);
201
- var st = { exports: {} };
202
- (function(m, D) {
198
+ var mt = rt.exports;
199
+ const pt = /* @__PURE__ */ U(mt);
200
+ var nt = { exports: {} };
201
+ (function(l, p) {
203
202
  (function(f, c) {
204
- m.exports = c();
203
+ l.exports = c();
205
204
  })(z, function() {
206
205
  return function(f, c, t) {
207
- c.prototype.isBetween = function(e, s, o, n) {
208
- var i = t(e), a = t(s), g = (n = n || "()")[0] === "(", p = n[1] === ")";
209
- return (g ? this.isAfter(i, o) : !this.isBefore(i, o)) && (p ? this.isBefore(a, o) : !this.isAfter(a, o)) || (g ? this.isBefore(i, o) : !this.isAfter(i, o)) && (p ? this.isAfter(a, o) : !this.isBefore(a, o));
206
+ c.prototype.isBetween = function(e, n, o, s) {
207
+ var i = t(e), a = t(n), g = (s = s || "()")[0] === "(", y = s[1] === ")";
208
+ return (g ? this.isAfter(i, o) : !this.isBefore(i, o)) && (y ? this.isBefore(a, o) : !this.isAfter(a, o)) || (g ? this.isBefore(i, o) : !this.isAfter(i, o)) && (y ? this.isAfter(a, o) : !this.isBefore(a, o));
210
209
  };
211
210
  };
212
211
  });
213
- })(st);
214
- var Mt = st.exports;
215
- const Dt = /* @__PURE__ */ U(Mt);
216
- C.extend(mt);
217
- C.extend(yt);
218
- C.extend(Dt);
219
- const gt = ut(["Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale", "Or you forget to import the locale with `require('dayjs/locale/{localeUsed}')`", "fallback on English locale"]), Yt = {
212
+ })(nt);
213
+ var yt = nt.exports;
214
+ const Mt = /* @__PURE__ */ U(yt), Dt = (l, p = "warning") => {
215
+ let f = !1;
216
+ const c = Array.isArray(l) ? l.join(`
217
+ `) : l;
218
+ return () => {
219
+ f || (f = !0, p === "error" ? console.error(c) : console.warn(c));
220
+ };
221
+ };
222
+ j.extend(lt);
223
+ j.extend(pt);
224
+ j.extend(Mt);
225
+ const gt = Dt(["Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale", "Or you forget to import the locale with `require('dayjs/locale/{localeUsed}')`", "fallback on English locale"]), Yt = {
220
226
  // Year
221
227
  YY: "year",
222
228
  YYYY: {
@@ -326,10 +332,10 @@ const gt = ut(["Your locale has not been found.", "Either the locale key is not
326
332
  keyboardDateTime: "L LT",
327
333
  keyboardDateTime12h: "L hh:mm A",
328
334
  keyboardDateTime24h: "L HH:mm"
329
- }, Lt = (m, D) => D ? (...f) => m(...f).locale(D) : m;
330
- class St {
335
+ }, wt = (l, p) => p ? (...f) => l(...f).locale(p) : l;
336
+ class Ot {
331
337
  constructor({
332
- locale: D,
338
+ locale: p,
333
339
  formats: f,
334
340
  instance: c
335
341
  } = {}) {
@@ -338,67 +344,67 @@ class St {
338
344
  end: "]"
339
345
  }, this.formatTokenMap = Yt, this.getLocaleFormats = () => {
340
346
  var t;
341
- const e = (t = this.rawDayJsInstance.Ls) != null ? t : C.Ls, s = this.locale || "en";
342
- let o = e[s];
347
+ const e = (t = this.rawDayJsInstance.Ls) != null ? t : j.Ls, n = this.locale || "en";
348
+ let o = e[n];
343
349
  return o === void 0 && (gt(), o = e.en), o.formats;
344
350
  }, this.date = (t) => t === null ? null : this.dayjs(t), this.toJsDate = (t) => t.toDate(), this.parseISO = (t) => this.dayjs(t), this.toISO = (t) => t.toISOString(), this.parse = (t, e) => t === "" ? null : this.dayjs(t, e, this.locale, !0), this.getCurrentLocaleCode = () => this.locale || "en", this.is12HourCycleInCurrentLocale = () => /A|a/.test(this.getLocaleFormats().LT || ""), this.expandFormat = (t) => {
345
- const e = this.getLocaleFormats(), s = (o) => o.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (n, i, a) => i || a.slice(1));
346
- return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (o, n, i) => {
351
+ const e = this.getLocaleFormats(), n = (o) => o.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (s, i, a) => i || a.slice(1));
352
+ return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (o, s, i) => {
347
353
  const a = i && i.toUpperCase();
348
- return n || e[i] || s(e[a]);
354
+ return s || e[i] || n(e[a]);
349
355
  });
350
- }, this.getFormatHelperText = (t) => this.expandFormat(t).replace(/a/gi, "(a|p)m").toLocaleLowerCase(), this.isNull = (t) => t === null, this.isValid = (t) => this.dayjs(t).isValid(), this.format = (t, e) => this.formatByString(t, this.formats[e]), this.formatByString = (t, e) => this.dayjs(t).format(e), this.formatNumber = (t) => t, this.getDiff = (t, e, s) => t.diff(e, s), this.isEqual = (t, e) => t === null && e === null ? !0 : this.dayjs(t).isSame(e), this.isSameYear = (t, e) => t.isSame(e, "year"), this.isSameMonth = (t, e) => t.isSame(e, "month"), this.isSameDay = (t, e) => t.isSame(e, "day"), this.isSameHour = (t, e) => t.isSame(e, "hour"), this.isAfter = (t, e) => t.isAfter(e), this.isAfterYear = (t, e) => t.isAfter(e, "year"), this.isAfterDay = (t, e) => t.isAfter(e, "day"), this.isBefore = (t, e) => t.isBefore(e), this.isBeforeYear = (t, e) => t.isBefore(e, "year"), this.isBeforeDay = (t, e) => t.isBefore(e, "day"), this.isWithinRange = (t, [e, s]) => t.isBetween(e, s, null, "[]"), this.startOfYear = (t) => t.startOf("year"), this.startOfMonth = (t) => t.startOf("month"), this.startOfWeek = (t) => t.startOf("week"), this.startOfDay = (t) => t.startOf("day"), this.endOfYear = (t) => t.endOf("year"), this.endOfMonth = (t) => t.endOf("month"), this.endOfWeek = (t) => t.endOf("week"), this.endOfDay = (t) => t.endOf("day"), this.addYears = (t, e) => e < 0 ? t.subtract(Math.abs(e), "year") : t.add(e, "year"), this.addMonths = (t, e) => e < 0 ? t.subtract(Math.abs(e), "month") : t.add(e, "month"), this.addWeeks = (t, e) => e < 0 ? t.subtract(Math.abs(e), "week") : t.add(e, "week"), this.addDays = (t, e) => e < 0 ? t.subtract(Math.abs(e), "day") : t.add(e, "day"), this.addHours = (t, e) => e < 0 ? t.subtract(Math.abs(e), "hour") : t.add(e, "hour"), this.addMinutes = (t, e) => e < 0 ? t.subtract(Math.abs(e), "minute") : t.add(e, "minute"), this.addSeconds = (t, e) => e < 0 ? t.subtract(Math.abs(e), "second") : t.add(e, "second"), this.getYear = (t) => t.year(), this.getMonth = (t) => t.month(), this.getDate = (t) => t.date(), this.getHours = (t) => t.hour(), this.getMinutes = (t) => t.minute(), this.getSeconds = (t) => t.second(), this.setYear = (t, e) => t.set("year", e), this.setMonth = (t, e) => t.set("month", e), this.setDate = (t, e) => t.set("date", e), this.setHours = (t, e) => t.set("hour", e), this.setMinutes = (t, e) => t.set("minute", e), this.setSeconds = (t, e) => t.set("second", e), this.getDaysInMonth = (t) => t.daysInMonth(), this.getNextMonth = (t) => t.add(1, "month"), this.getPreviousMonth = (t) => t.subtract(1, "month"), this.getMonthArray = (t) => {
351
- const s = [t.startOf("year")];
352
- for (; s.length < 12; ) {
353
- const o = s[s.length - 1];
354
- s.push(this.getNextMonth(o));
356
+ }, this.getFormatHelperText = (t) => this.expandFormat(t).replace(/a/gi, "(a|p)m").toLocaleLowerCase(), this.isNull = (t) => t === null, this.isValid = (t) => this.dayjs(t).isValid(), this.format = (t, e) => this.formatByString(t, this.formats[e]), this.formatByString = (t, e) => this.dayjs(t).format(e), this.formatNumber = (t) => t, this.getDiff = (t, e, n) => t.diff(e, n), this.isEqual = (t, e) => t === null && e === null ? !0 : this.dayjs(t).isSame(e), this.isSameYear = (t, e) => t.isSame(e, "year"), this.isSameMonth = (t, e) => t.isSame(e, "month"), this.isSameDay = (t, e) => t.isSame(e, "day"), this.isSameHour = (t, e) => t.isSame(e, "hour"), this.isAfter = (t, e) => t.isAfter(e), this.isAfterYear = (t, e) => t.isAfter(e, "year"), this.isAfterDay = (t, e) => t.isAfter(e, "day"), this.isBefore = (t, e) => t.isBefore(e), this.isBeforeYear = (t, e) => t.isBefore(e, "year"), this.isBeforeDay = (t, e) => t.isBefore(e, "day"), this.isWithinRange = (t, [e, n]) => t.isBetween(e, n, null, "[]"), this.startOfYear = (t) => t.startOf("year"), this.startOfMonth = (t) => t.startOf("month"), this.startOfWeek = (t) => t.startOf("week"), this.startOfDay = (t) => t.startOf("day"), this.endOfYear = (t) => t.endOf("year"), this.endOfMonth = (t) => t.endOf("month"), this.endOfWeek = (t) => t.endOf("week"), this.endOfDay = (t) => t.endOf("day"), this.addYears = (t, e) => e < 0 ? t.subtract(Math.abs(e), "year") : t.add(e, "year"), this.addMonths = (t, e) => e < 0 ? t.subtract(Math.abs(e), "month") : t.add(e, "month"), this.addWeeks = (t, e) => e < 0 ? t.subtract(Math.abs(e), "week") : t.add(e, "week"), this.addDays = (t, e) => e < 0 ? t.subtract(Math.abs(e), "day") : t.add(e, "day"), this.addHours = (t, e) => e < 0 ? t.subtract(Math.abs(e), "hour") : t.add(e, "hour"), this.addMinutes = (t, e) => e < 0 ? t.subtract(Math.abs(e), "minute") : t.add(e, "minute"), this.addSeconds = (t, e) => e < 0 ? t.subtract(Math.abs(e), "second") : t.add(e, "second"), this.getYear = (t) => t.year(), this.getMonth = (t) => t.month(), this.getDate = (t) => t.date(), this.getHours = (t) => t.hour(), this.getMinutes = (t) => t.minute(), this.getSeconds = (t) => t.second(), this.setYear = (t, e) => t.set("year", e), this.setMonth = (t, e) => t.set("month", e), this.setDate = (t, e) => t.set("date", e), this.setHours = (t, e) => t.set("hour", e), this.setMinutes = (t, e) => t.set("minute", e), this.setSeconds = (t, e) => t.set("second", e), this.getDaysInMonth = (t) => t.daysInMonth(), this.getNextMonth = (t) => t.add(1, "month"), this.getPreviousMonth = (t) => t.subtract(1, "month"), this.getMonthArray = (t) => {
357
+ const n = [t.startOf("year")];
358
+ for (; n.length < 12; ) {
359
+ const o = n[n.length - 1];
360
+ n.push(this.getNextMonth(o));
355
361
  }
356
- return s;
362
+ return n;
357
363
  }, this.mergeDateAndTime = (t, e) => t.hour(e.hour()).minute(e.minute()).second(e.second()), this.getWeekdays = () => {
358
364
  const t = this.dayjs().startOf("week");
359
365
  return [0, 1, 2, 3, 4, 5, 6].map((e) => this.formatByString(t.add(e, "day"), "dd"));
360
366
  }, this.getWeekArray = (t) => {
361
- const e = t.startOf("month").startOf("week"), s = t.endOf("month").endOf("week");
362
- let o = 0, n = e;
367
+ const e = t.startOf("month").startOf("week"), n = t.endOf("month").endOf("week");
368
+ let o = 0, s = e;
363
369
  const i = [];
364
- for (; n.isBefore(s); ) {
370
+ for (; s.isBefore(n); ) {
365
371
  const a = Math.floor(o / 7);
366
- i[a] = i[a] || [], i[a].push(n), n = n.add(1, "day"), o += 1;
372
+ i[a] = i[a] || [], i[a].push(s), s = s.add(1, "day"), o += 1;
367
373
  }
368
374
  return i;
369
375
  }, this.getWeekNumber = (t) => t.week(), this.getYearRange = (t, e) => {
370
- const s = t.startOf("year"), o = e.endOf("year"), n = [];
371
- let i = s;
376
+ const n = t.startOf("year"), o = e.endOf("year"), s = [];
377
+ let i = n;
372
378
  for (; i.isBefore(o); )
373
- n.push(i), i = i.add(1, "year");
374
- return n;
375
- }, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = c || C, this.dayjs = Lt(this.rawDayJsInstance, D), this.locale = D, this.formats = dt({}, xt, f), C.extend(ft);
379
+ s.push(i), i = i.add(1, "year");
380
+ return s;
381
+ }, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = c || j, this.dayjs = wt(this.rawDayJsInstance, p), this.locale = p, this.formats = dt({}, xt, f), j.extend(ct);
376
382
  }
377
383
  }
378
384
  export {
379
- Ht as Access,
380
- St as AdapterDayjs,
381
- Ft as Card,
382
- De as CollapsibleCard,
385
+ bt as Access,
386
+ Ot as AdapterDayjs,
387
+ Bt as Card,
388
+ Me as CollapsibleCard,
383
389
  jt as ConditionalWrapper,
384
- Et as Container,
385
- Ut as ContextMenu,
386
- Kt as DateTimePicker,
387
- _t as DisseminationList,
388
- Rt as GeometryPicker,
389
- te as IconButton,
390
- Nt as InstanceForm,
390
+ Pt as Container,
391
+ zt as ContextMenu,
392
+ Gt as DateTimePicker,
393
+ Jt as DisseminationList,
394
+ Qt as GeometryPicker,
395
+ Xt as IconButton,
396
+ Zt as InstanceForm,
391
397
  ne as KeyProductionUtils,
392
- re as KeyProtectionMenu,
393
- ae as Loading,
394
- Le as LocalizationProvider,
395
- he as Map,
396
- ue as PhoneInput,
397
- fe as SearchInput,
398
- qt as SecurityLevel,
399
- Ye as TemplatePropertyFilters,
400
- me as TreeSelect,
401
- ye as TreeViewFilter,
402
- $t as alert,
403
- Pt as confirm
398
+ ee as KeyProtectionMenu,
399
+ oe as Loading,
400
+ xe as LocalizationProvider,
401
+ ie as Map,
402
+ de as PhoneInput,
403
+ ce as SearchInput,
404
+ Vt as SecurityLevel,
405
+ ge as TemplatePropertyFilters,
406
+ le as TreeSelect,
407
+ pe as TreeViewFilter,
408
+ It as alert,
409
+ Wt as confirm
404
410
  };