@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,11 +1,11 @@
1
- import { _ as M, a as d } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import { _ as V, d as w, c as L } from "./TransitionGroupContext-BDAp2T0O.js";
3
- import { P as a } from "./index-C__OZmYy.js";
1
+ import { _ as M, a as d } from "./extends-C3382pL0.js";
2
+ import { _ as V, d as w, c as L } from "./TransitionGroupContext-Ja2CgIob.js";
3
+ import { P as a } from "./index-CblbdqjE.js";
4
4
  import * as $ from "react";
5
- import b from "react";
6
- import y from "react-dom";
5
+ import y from "react";
6
+ import N from "react-dom";
7
7
  import { c as O } from "./clsx-OuTLNxxd.js";
8
- import { m as j, T as H, g as A, a as F, s as G, f as P, u as W, c as X } from "./generateUtilityClasses-C3ivN9Ie.js";
8
+ import { m as j, T as H, g as A, a as F, s as G, d as P, u as W, c as X } from "./generateUtilityClasses-Cc-owZ4J.js";
9
9
  import { useTheme as Z } from "@mui/system";
10
10
  import { jsx as B } from "react/jsx-runtime";
11
11
  const k = {
@@ -15,7 +15,8 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
15
15
  enter: a.number,
16
16
  exit: a.number,
17
17
  appear: a.number
18
- }).isRequired]) : null, xe = process.env.NODE_ENV !== "production" ? a.oneOfType([a.string, a.shape({
18
+ }).isRequired]) : null;
19
+ process.env.NODE_ENV !== "production" && a.oneOfType([a.string, a.shape({
19
20
  enter: a.string,
20
21
  exit: a.string,
21
22
  active: a.string
@@ -26,21 +27,22 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
26
27
  exit: a.string,
27
28
  exitDone: a.string,
28
29
  exitActive: a.string
29
- })]) : null, J = function(o) {
30
+ })]);
31
+ var J = function(o) {
30
32
  return o.scrollTop;
31
- }, N = "unmounted", m = "exited", h = "entering", g = "entered", S = "exiting", p = /* @__PURE__ */ function(e) {
33
+ }, b = "unmounted", m = "exited", E = "entering", g = "entered", S = "exiting", p = /* @__PURE__ */ function(e) {
32
34
  V(o, e);
33
35
  function o(r, n) {
34
36
  var t;
35
37
  t = e.call(this, r, n) || this;
36
38
  var s = n, l = s && !s.isMounting ? r.enter : r.appear, u;
37
- return t.appearStatus = null, r.in ? l ? (u = m, t.appearStatus = h) : u = g : r.unmountOnExit || r.mountOnEnter ? u = N : u = m, t.state = {
39
+ return t.appearStatus = null, r.in ? l ? (u = m, t.appearStatus = E) : u = g : r.unmountOnExit || r.mountOnEnter ? u = b : u = m, t.state = {
38
40
  status: u
39
41
  }, t.nextCallback = null, t;
40
42
  }
41
43
  o.getDerivedStateFromProps = function(n, t) {
42
44
  var s = n.in;
43
- return s && t.status === N ? {
45
+ return s && t.status === b ? {
44
46
  status: m
45
47
  } : null;
46
48
  };
@@ -51,7 +53,7 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
51
53
  var t = null;
52
54
  if (n !== this.props) {
53
55
  var s = this.state.status;
54
- this.props.in ? s !== h && s !== g && (t = h) : (s === h || s === g) && (t = S);
56
+ this.props.in ? s !== E && s !== g && (t = E) : (s === E || s === g) && (t = S);
55
57
  }
56
58
  this.updateStatus(!1, t);
57
59
  }, i.componentWillUnmount = function() {
@@ -65,19 +67,19 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
65
67
  };
66
68
  }, i.updateStatus = function(n, t) {
67
69
  if (n === void 0 && (n = !1), t !== null)
68
- if (this.cancelNextCallback(), t === h) {
70
+ if (this.cancelNextCallback(), t === E) {
69
71
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
70
- var s = this.props.nodeRef ? this.props.nodeRef.current : y.findDOMNode(this);
72
+ var s = this.props.nodeRef ? this.props.nodeRef.current : N.findDOMNode(this);
71
73
  s && J(s);
72
74
  }
73
75
  this.performEnter(n);
74
76
  } else
75
77
  this.performExit();
76
78
  else this.props.unmountOnExit && this.state.status === m && this.setState({
77
- status: N
79
+ status: b
78
80
  });
79
81
  }, i.performEnter = function(n) {
80
- var t = this, s = this.props.enter, l = this.context ? this.context.isMounting : n, u = this.props.nodeRef ? [l] : [y.findDOMNode(this), l], c = u[0], f = u[1], v = this.getTimeouts(), E = l ? v.appear : v.enter;
82
+ var t = this, s = this.props.enter, l = this.context ? this.context.isMounting : n, u = this.props.nodeRef ? [l] : [N.findDOMNode(this), l], c = u[0], f = u[1], v = this.getTimeouts(), h = l ? v.appear : v.enter;
81
83
  if (!n && !s || k.disabled) {
82
84
  this.safeSetState({
83
85
  status: g
@@ -87,9 +89,9 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
87
89
  return;
88
90
  }
89
91
  this.props.onEnter(c, f), this.safeSetState({
90
- status: h
92
+ status: E
91
93
  }, function() {
92
- t.props.onEntering(c, f), t.onTransitionEnd(E, function() {
94
+ t.props.onEntering(c, f), t.onTransitionEnd(h, function() {
93
95
  t.safeSetState({
94
96
  status: g
95
97
  }, function() {
@@ -98,7 +100,7 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
98
100
  });
99
101
  });
100
102
  }, i.performExit = function() {
101
- var n = this, t = this.props.exit, s = this.getTimeouts(), l = this.props.nodeRef ? void 0 : y.findDOMNode(this);
103
+ var n = this, t = this.props.exit, s = this.getTimeouts(), l = this.props.nodeRef ? void 0 : N.findDOMNode(this);
102
104
  if (!t || k.disabled) {
103
105
  this.safeSetState({
104
106
  status: m
@@ -131,7 +133,7 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
131
133
  }, this.nextCallback;
132
134
  }, i.onTransitionEnd = function(n, t) {
133
135
  this.setNextCallback(t);
134
- var s = this.props.nodeRef ? this.props.nodeRef.current : y.findDOMNode(this), l = n == null && !this.props.addEndListener;
136
+ var s = this.props.nodeRef ? this.props.nodeRef.current : N.findDOMNode(this), l = n == null && !this.props.addEndListener;
135
137
  if (!s || l) {
136
138
  setTimeout(this.nextCallback, 0);
137
139
  return;
@@ -143,19 +145,19 @@ var z = process.env.NODE_ENV !== "production" ? a.oneOfType([a.number, a.shape({
143
145
  n != null && setTimeout(this.nextCallback, n);
144
146
  }, i.render = function() {
145
147
  var n = this.state.status;
146
- if (n === N)
148
+ if (n === b)
147
149
  return null;
148
150
  var t = this.props, s = t.children;
149
151
  t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
150
152
  var l = M(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
151
153
  return (
152
154
  // allows for nested Transitions
153
- /* @__PURE__ */ b.createElement(w.Provider, {
155
+ /* @__PURE__ */ y.createElement(w.Provider, {
154
156
  value: null
155
- }, typeof s == "function" ? s(n, l) : b.cloneElement(b.Children.only(s), l))
157
+ }, typeof s == "function" ? s(n, l) : y.cloneElement(y.Children.only(s), l))
156
158
  );
157
159
  }, o;
158
- }(b.Component);
160
+ }(y.Component);
159
161
  p.contextType = w;
160
162
  p.propTypes = process.env.NODE_ENV !== "production" ? {
161
163
  /**
@@ -342,9 +344,9 @@ p.defaultProps = {
342
344
  onExiting: x,
343
345
  onExited: x
344
346
  };
345
- p.UNMOUNTED = N;
347
+ p.UNMOUNTED = b;
346
348
  p.EXITED = m;
347
- p.ENTERING = h;
349
+ p.ENTERING = E;
348
350
  p.ENTERED = g;
349
351
  p.EXITING = S;
350
352
  function K(e) {
@@ -382,7 +384,7 @@ const ee = process.env.NODE_ENV === "production" ? D : U;
382
384
  function te(e) {
383
385
  return typeof e == "string";
384
386
  }
385
- function ge(e, o, i) {
387
+ function xe(e, o, i) {
386
388
  return e === void 0 || te(e) ? o : d({}, o, {
387
389
  ownerState: d({}, o.ownerState, i)
388
390
  });
@@ -403,7 +405,7 @@ function _(e) {
403
405
  o[i] = e[i];
404
406
  }), o;
405
407
  }
406
- function Ne(e) {
408
+ function ge(e) {
407
409
  const {
408
410
  getSlotProps: o,
409
411
  additionalProps: i,
@@ -418,9 +420,9 @@ function Ne(e) {
418
420
  internalRef: void 0
419
421
  };
420
422
  }
421
- const s = ne(d({}, n, r)), l = _(r), u = _(n), c = o(s), f = O(c == null ? void 0 : c.className, i == null ? void 0 : i.className, t, n == null ? void 0 : n.className, r == null ? void 0 : r.className), v = d({}, c == null ? void 0 : c.style, i == null ? void 0 : i.style, n == null ? void 0 : n.style, r == null ? void 0 : r.style), E = d({}, c, i, u, l);
422
- return f.length > 0 && (E.className = f), Object.keys(v).length > 0 && (E.style = v), {
423
- props: E,
423
+ const s = ne(d({}, n, r)), l = _(r), u = _(n), c = o(s), f = O(c == null ? void 0 : c.className, i == null ? void 0 : i.className, t, n == null ? void 0 : n.className, r == null ? void 0 : r.className), v = d({}, c == null ? void 0 : c.style, i == null ? void 0 : i.style, n == null ? void 0 : n.style, r == null ? void 0 : r.style), h = d({}, c, i, u, l);
424
+ return f.length > 0 && (h.className = f), Object.keys(v).length > 0 && (h.style = v), {
425
+ props: h,
424
426
  internalRef: c.ref
425
427
  };
426
428
  }
@@ -428,7 +430,7 @@ function be(e, o, i) {
428
430
  return typeof e == "function" ? e(o, i) : e;
429
431
  }
430
432
  const ye = (e) => e.scrollTop;
431
- function Te(e, o) {
433
+ function Ne(e, o) {
432
434
  var i, r;
433
435
  const {
434
436
  timeout: n,
@@ -568,15 +570,13 @@ process.env.NODE_ENV !== "production" && (le.propTypes = {
568
570
  export {
569
571
  le as P,
570
572
  p as T,
571
- ge as a,
573
+ xe as a,
572
574
  ye as b,
573
575
  ee as c,
574
- xe as d,
575
576
  ne as e,
576
- J as f,
577
- Te as g,
577
+ Ne as g,
578
578
  te as i,
579
- Ne as m,
579
+ ge as m,
580
580
  be as r,
581
581
  ie as u
582
582
  };