@hybridcore/ui 1.6.11 → 1.6.13

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 (150) hide show
  1. package/dist/{AnimatedTheme-D3VZKKNV.js → AnimatedTheme-ktdO3Bel.js} +6 -6
  2. package/dist/{AxisRenderer-Doyw-FTI.js → AxisRenderer-BCQoUJw6.js} +6 -6
  3. package/dist/{AxisRendererY-BylCU67e.js → AxisRendererY-AXWvGU6r.js} +3 -3
  4. package/dist/{Bullet-C6357hTv.js → Bullet-Djj7Vs9T.js} +1 -1
  5. package/dist/{Button-DGOT8RcT.js → Button-BLY4PVJC.js} +3 -3
  6. package/dist/{CategoryAxis-B5uTZjhL.js → CategoryAxis-B6NqW8qd.js} +3 -3
  7. package/dist/{Circle-DhzVdFBd.js → Circle-BnfBNKBD.js} +1 -1
  8. package/dist/{ColorSet-DGLMpbL3.js → ColorSet-cyPmWGwh.js} +1 -1
  9. package/dist/{ColumnSeries-CqJ-563p.js → ColumnSeries-CtRTsn-E.js} +28 -28
  10. package/dist/{DateAxis-lJZjbAS-.js → DateAxis-DEXKps1S.js} +4 -4
  11. package/dist/{Entity-4Lr2piVN.js → Entity-BJCuhdq_.js} +14 -14
  12. package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
  13. package/dist/{Hierarchy-DPEcTr0v.js → Hierarchy-CEOK8Gzh.js} +4 -4
  14. package/dist/{Legend-CTb6rZz_.js → Legend-CFvQiIfn.js} +4 -4
  15. package/dist/{LineSeries-Dg1aytHA.js → LineSeries-D_IL2qGF.js} +4 -4
  16. package/dist/{LinearGradient-D1hzMjaW.js → LinearGradient-CxQyCSEB.js} +2 -2
  17. package/dist/{PieSeries-C9YUWMnA.js → PieSeries-CMH0Z7pz.js} +8 -8
  18. package/dist/{RoundedRectangle-B23Oh_r6.js → RoundedRectangle-BKLX1LKM.js} +2 -2
  19. package/dist/{Scrollbar-CSoXoZSe.js → Scrollbar-CTI7_8Qw.js} +4 -4
  20. package/dist/{Slice-CIP7Vmzu.js → Slice-BUncQh1B.js} +11 -11
  21. package/dist/{Tick-CRu6rQQy.js → Tick--VhF0xlz.js} +2 -2
  22. package/dist/{Tooltip-RhAldW7s.js → Tooltip-vyZRZWih.js} +1 -1
  23. package/dist/{XYCursor-Z-Ral42q.js → XYCursor-CVUSpqb9.js} +3 -3
  24. package/dist/{ZoomableContainer-D1laxHnA.js → ZoomableContainer-Ca_pDVYQ.js} +2 -2
  25. package/dist/assets/index.css +1 -1
  26. package/dist/assets/index2.css +1 -1
  27. package/dist/components/button/styled.js +1 -1
  28. package/dist/components/charts/_common/format.js +149 -41
  29. package/dist/components/charts/_common/tooltip.js +2 -2
  30. package/dist/components/charts/_common/utils.js +16 -11
  31. package/dist/components/charts/candlestick/logic.js +34 -35
  32. package/dist/components/charts/column-line-mix/logic.js +40 -41
  33. package/dist/components/charts/donut-chart/logic.js +4 -4
  34. package/dist/components/charts/drill-down-treemap/logic.js +5 -5
  35. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
  36. package/dist/components/charts/forecast-cone/logic.js +134 -120
  37. package/dist/components/charts/heatmap/logic.js +9 -9
  38. package/dist/components/charts/highlighting-line-data/logic.js +10 -10
  39. package/dist/components/charts/line/logic.js +19 -20
  40. package/dist/components/charts/logaritmic-scale/logic.js +30 -31
  41. package/dist/components/charts/multiple-value-axes/logic.js +18 -19
  42. package/dist/components/charts/nested-pie/logic.js +3 -3
  43. package/dist/components/charts/packed-circles/logic.js +7 -7
  44. package/dist/components/charts/pie-chart/logic.js +4 -4
  45. package/dist/components/charts/stacked-area-radar/logic.js +9 -9
  46. package/dist/components/charts/stacked-column-chart/logic.js +10 -10
  47. package/dist/components/charts/xy-chart/logic.js +28 -29
  48. package/dist/components/collapsible-card/index.js +21 -30
  49. package/dist/components/collapsible-card/styled.js +16 -14
  50. package/dist/components/color-picker/index.js +2227 -3357
  51. package/dist/components/color-picker/styled.js +87 -7
  52. package/dist/components/confirm/dialog.js +89 -8
  53. package/dist/components/confirm/index.js +1 -1
  54. package/dist/components/data-map/index.js +1 -1
  55. package/dist/components/data-map/logic.js +20 -20
  56. package/dist/components/data-security-selectors/dissemination-list/index.js +32 -3117
  57. package/dist/components/date-picker-with-custom-range/index.js +86 -7
  58. package/dist/components/date-range-picker/index.js +464 -452
  59. package/dist/components/document-viewer/components/viewer/index.js +1 -1
  60. package/dist/components/duration-select/index.js +10 -10
  61. package/dist/components/duration-select/styled.js +1 -1
  62. package/dist/components/geometry-picker/coordinate/index.js +14 -14
  63. package/dist/components/geometry-picker/edit/index.js +1 -1
  64. package/dist/components/geometry-picker/geometry/index.js +1 -1
  65. package/dist/components/geometry-picker/kml/index.js +11 -11
  66. package/dist/components/geometry-picker/map/logic.js +145 -3656
  67. package/dist/components/geometry-picker/map/style.js +18 -17
  68. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +43 -1255
  69. package/dist/components/heat-map/index.js +1 -1
  70. package/dist/components/heat-map/logic.js +77 -1924
  71. package/dist/components/instance-hierarchy-table/styled.js +18 -16
  72. package/dist/components/map/helpers/mapbox.js +17 -15
  73. package/dist/components/map/helpers/ol.js +386 -27
  74. package/dist/components/map/index.js +11 -10
  75. package/dist/components/map/logic.js +22 -22
  76. package/dist/components/map/styled.js +31 -27
  77. package/dist/components/metric-card/MetricChart.js +9 -9
  78. package/dist/components/metric-card/logic.js +46 -49
  79. package/dist/components/phone-input/index.js +10 -9
  80. package/dist/components/property-mapping/index.js +1 -1
  81. package/dist/components/prr-map/index.js +1 -1
  82. package/dist/components/prr-map/logic.js +27 -26
  83. package/dist/components/range-selector/styled.js +65 -4228
  84. package/dist/components/raster-grid-map/index.js +1 -1
  85. package/dist/components/raster-grid-map/logic.js +60 -57
  86. package/dist/components/simple-pivot-table/index.js +17 -17
  87. package/dist/components/simple-pivot-table/logic.js +67 -76
  88. package/dist/components/sortable-list/index.js +1091 -1264
  89. package/dist/components/template-form/components/property-list/index.js +36 -33
  90. package/dist/components/template-form/components/property-list/property-list-columns.js +19 -18
  91. package/dist/components/template-form/components/property-list/property-list-form.js +137 -601
  92. package/dist/components/template-form/components/recognition-property-list/index.js +40 -37
  93. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +11 -10
  94. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +55 -63
  95. package/dist/components/tree-select/index.js +16 -16
  96. package/dist/index.esm-UfGMjYOL.js +197 -0
  97. package/dist/main.d.ts +67 -8
  98. package/dist/main.js +176 -175
  99. package/package.json +1 -1
  100. package/dist/AccordionSummary-CJppWeqF.js +0 -781
  101. package/dist/Add-CqcD1PWb.js +0 -403
  102. package/dist/Box-DqUMmZjL.js +0 -31
  103. package/dist/Button-C5yquWAB.js +0 -357
  104. package/dist/ButtonBase-BEF7oTOe.js +0 -887
  105. package/dist/DataProcessor-WXzhvIg6.js +0 -83
  106. package/dist/Delete-BdyYpINH.js +0 -23
  107. package/dist/DialogContent-BvVjD9z3.js +0 -523
  108. package/dist/FormGroup-CpBsIyYR.js +0 -89
  109. package/dist/GaplessDateAxis-DowssQ6y.js +0 -296
  110. package/dist/IconButton-BoGwbvrP.js +0 -184
  111. package/dist/InputLabel-Dd8RrneV.js +0 -341
  112. package/dist/MenuItem-DwqJqzuM.js +0 -233
  113. package/dist/Modal-MUZygjmQ.js +0 -1158
  114. package/dist/Paper-BkQLdsCI.js +0 -582
  115. package/dist/Select-DHUl_uG3.js +0 -3916
  116. package/dist/Source-BSZST_GH.js +0 -4410
  117. package/dist/SwitchBase-DTndTqI8.js +0 -235
  118. package/dist/Text-ChJRuaD8.js +0 -2197
  119. package/dist/TextField-e2oKaUN1.js +0 -669
  120. package/dist/TransitionGroupContext-BDAp2T0O.js +0 -96
  121. package/dist/Typography-DgsSLCFC.js +0 -178
  122. package/dist/Vector-BmuhQO4p.js +0 -3606
  123. package/dist/Vector-DfTqQEln.js +0 -1735
  124. package/dist/WKT-2wsDT-nq.js +0 -2310
  125. package/dist/assertThisInitialized-C1dAyb4j.js +0 -7
  126. package/dist/assets/index3.css +0 -1
  127. package/dist/assets/index4.css +0 -1
  128. package/dist/clsx-OuTLNxxd.js +0 -16
  129. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  130. package/dist/createSvgIcon-Ch_cT8az.js +0 -185
  131. package/dist/createSvgIcon-DuDuASu1.js +0 -62
  132. package/dist/debounce-46wSf_lW.js +0 -15
  133. package/dist/dialog-BYRnCztH.js +0 -154
  134. package/dist/formControlState-vgaj2ksH.js +0 -10
  135. package/dist/generateUtilityClasses-C3ivN9Ie.js +0 -2973
  136. package/dist/index-DH6qsPBn.js +0 -153
  137. package/dist/index-e9xTIYWt.js +0 -1934
  138. package/dist/index.esm-BLLrbTzY.js +0 -318
  139. package/dist/math-Bvt2Ubuz.js +0 -704
  140. package/dist/objectWithoutPropertiesLoose-DJteAcBH.js +0 -22
  141. package/dist/ol-yOE-NV0X.js +0 -7465
  142. package/dist/ownerWindow-wg6foiOE.js +0 -10
  143. package/dist/setPrototypeOf-NPgp4cYc.js +0 -8
  144. package/dist/styled-SoqbyrkW.js +0 -350
  145. package/dist/unsupportedProp-DuqR2hj9.js +0 -36
  146. package/dist/useControlled-BYdyS7Pn.js +0 -31
  147. package/dist/useFormControl-CatNKXAi.js +0 -10
  148. package/dist/useId-BW-oWmul.js +0 -19
  149. package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
  150. package/dist/useSlot-B_Q4vnX5.js +0 -42
@@ -1,47 +1,50 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
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";
4
- import p from "./property-list-columns.js";
5
- import c from "./property-list-form.js";
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) => {
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import d from "@mui/material/Alert";
3
+ import n from "@mui/material/AlertTitle";
4
+ import m from "@mui/material/Box";
5
+ import p from "@mui/material/Button";
6
+ import s from "@mui/material/Dialog";
7
+ import c from "@mui/material/DialogContent";
8
+ import f from "@mui/material/DialogTitle";
9
+ import y from "@mui/material/Typography";
10
+ import { DataGrid as h } from "@mui/x-data-grid";
11
+ import u from "@mui/icons-material/Add";
12
+ import g from "./property-list-columns.js";
13
+ import b from "./property-list-form.js";
14
+ import P from "./property-list-logic.js";
15
+ const E = (e) => {
13
16
  var l;
14
- const { state: r, action: o } = u(t);
15
- return /* @__PURE__ */ i(y, { children: [
16
- /* @__PURE__ */ e(h, { variant: "h6", marginY: 2, children: "Properties" }),
17
- t.list.length > 0 ? /* @__PURE__ */ e(
18
- d,
17
+ const { state: r, action: o } = P(e);
18
+ return /* @__PURE__ */ i(m, { children: [
19
+ /* @__PURE__ */ t(y, { variant: "h6", marginY: 2, children: "Properties" }),
20
+ e.list.length > 0 ? /* @__PURE__ */ t(
21
+ h,
19
22
  {
20
- rows: t.list,
21
- columns: p({
22
- templateId: t.templateId,
23
+ rows: e.list,
24
+ columns: g({
25
+ templateId: e.templateId,
23
26
  onEdit: o.handleOnEditClick,
24
27
  onDelete: o.handleOnDeleteClick
25
28
  }),
26
29
  getRowId: (a) => a.id || a.propertyId,
27
30
  autoHeight: !0
28
31
  }
29
- ) : /* @__PURE__ */ i(n, { severity: "info", children: [
30
- /* @__PURE__ */ e(m, { children: "No Property Added!" }),
32
+ ) : /* @__PURE__ */ i(d, { severity: "info", children: [
33
+ /* @__PURE__ */ t(n, { children: "No Property Added!" }),
31
34
  "Add least one property before save the template!"
32
35
  ] }),
33
- /* @__PURE__ */ e(
34
- f,
36
+ /* @__PURE__ */ t(
37
+ p,
35
38
  {
36
39
  color: "primary",
37
40
  onClick: o.handleOnAddClick,
38
41
  sx: { mt: 2 },
39
- startIcon: /* @__PURE__ */ e(s, {}),
42
+ startIcon: /* @__PURE__ */ t(u, {}),
40
43
  children: "Add Property"
41
44
  }
42
45
  ),
43
46
  /* @__PURE__ */ i(
44
- g,
47
+ s,
45
48
  {
46
49
  open: r.dialog.isOpen,
47
50
  onClose: o.dialog.close,
@@ -51,14 +54,14 @@ const v = (t) => {
51
54
  maxWidth: "sm",
52
55
  scroll: "body",
53
56
  children: [
54
- /* @__PURE__ */ e(P, { id: "alert-dialog-title", children: r.propertyForm.title }),
55
- /* @__PURE__ */ e(b, { className: "pb-30", children: /* @__PURE__ */ e(
56
- c,
57
+ /* @__PURE__ */ t(f, { id: "alert-dialog-title", children: r.propertyForm.title }),
58
+ /* @__PURE__ */ t(c, { className: "pb-30", children: /* @__PURE__ */ t(
59
+ b,
57
60
  {
58
- inputVariant: t.inputVariant,
59
- labelPosition: t.labelPosition,
61
+ inputVariant: e.inputVariant,
62
+ labelPosition: e.labelPosition,
60
63
  defaultValues: r.propertyForm.defaultValues,
61
- disablePropertyId: t.disablePropertyId && r.propertyForm.type === "edit" && !!((l = r.propertyForm.defaultValues) != null && l.id),
64
+ disablePropertyId: e.disablePropertyId && r.propertyForm.type === "edit" && !!((l = r.propertyForm.defaultValues) != null && l.id),
62
65
  onSubmit: o.handleSubmit,
63
66
  onCancel: o.dialog.close
64
67
  }
@@ -69,5 +72,5 @@ const v = (t) => {
69
72
  ] });
70
73
  };
71
74
  export {
72
- v as PropertyList
75
+ E as PropertyList
73
76
  };
@@ -1,8 +1,9 @@
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) => [
1
+ import { jsxs as o, jsx as r, Fragment as p } from "react/jsx-runtime";
2
+ import s from "@mui/material/IconButton";
3
+ import b from "@mui/icons-material/Edit";
4
+ import u from "@mui/icons-material/Delete";
5
+ import l from "@mui/material/Typography";
6
+ const F = (d) => [
6
7
  { field: "name", headerName: "Name", flex: 1 },
7
8
  { field: "propertyId", headerName: "Property ID", flex: 1 },
8
9
  {
@@ -13,19 +14,19 @@ const y = (o) => [
13
14
  var n, m, f, h;
14
15
  const { dataTypeInfo: e, defaultValue: a } = t.row;
15
16
  let i = t.value;
16
- return e != null && e.datePattern && (i += ` ${e.datePattern}`), e != null && e.coordinateFormat && (i += ` ${e.coordinateFormat}`), e != null && e.enumValues && (i += ` ${e.enumValues.join(",")}`), a && (i += ` ${a}`), /* @__PURE__ */ d("div", { className: "MuiDataGrid-cellContent", title: i, children: [
17
+ return e != null && e.datePattern && (i += ` ${e.datePattern}`), e != null && e.coordinateFormat && (i += ` ${e.coordinateFormat}`), e != null && e.enumValues && (i += ` ${e.enumValues.join(",")}`), a && (i += ` ${a}`), /* @__PURE__ */ o("div", { className: "MuiDataGrid-cellContent", title: i, children: [
17
18
  t.value,
18
- ((n = t.row.dataTypeInfo) == null ? void 0 : n.datePattern) && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
19
+ ((n = t.row.dataTypeInfo) == null ? void 0 : n.datePattern) && /* @__PURE__ */ o(l, { variant: "caption", ml: 1, children: [
19
20
  "(",
20
21
  (m = t.row.dataTypeInfo) == null ? void 0 : m.datePattern,
21
22
  ")"
22
23
  ] }),
23
- ((f = t.row.dataTypeInfo) == null ? void 0 : f.coordinateFormat) && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
24
+ ((f = t.row.dataTypeInfo) == null ? void 0 : f.coordinateFormat) && /* @__PURE__ */ o(l, { variant: "caption", ml: 1, children: [
24
25
  "(",
25
26
  (h = t.row.dataTypeInfo) == null ? void 0 : h.coordinateFormat,
26
27
  ")"
27
28
  ] }),
28
- t.row.defaultValue !== null && t.row.defaultValue !== "" && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
29
+ t.row.defaultValue !== null && t.row.defaultValue !== "" && /* @__PURE__ */ o(l, { variant: "caption", ml: 1, children: [
29
30
  "(",
30
31
  t.row.defaultValue,
31
32
  ")"
@@ -99,27 +100,27 @@ const y = (o) => [
99
100
  filterable: !1,
100
101
  renderCell: (t) => {
101
102
  const { inheritedFrom: e } = t.row;
102
- return !e || !e.templateId || e.templateId === o.templateId ? /* @__PURE__ */ d(s, { children: [
103
+ return !e || !e.templateId || e.templateId === d.templateId ? /* @__PURE__ */ o(p, { children: [
103
104
  /* @__PURE__ */ r(
104
- p,
105
+ s,
105
106
  {
106
107
  size: "medium",
107
- onClick: () => o.onEdit(t.row),
108
- children: /* @__PURE__ */ r(u, { color: "primary" })
108
+ onClick: () => d.onEdit(t.row),
109
+ children: /* @__PURE__ */ r(b, { color: "primary" })
109
110
  }
110
111
  ),
111
112
  /* @__PURE__ */ r(
112
- p,
113
+ s,
113
114
  {
114
115
  size: "medium",
115
- onClick: () => o.onDelete(t.row),
116
- children: /* @__PURE__ */ r(b, {})
116
+ onClick: () => d.onDelete(t.row),
117
+ children: /* @__PURE__ */ r(u, {})
117
118
  }
118
119
  )
119
- ] }) : /* @__PURE__ */ r(s, {});
120
+ ] }) : /* @__PURE__ */ r(p, {});
120
121
  }
121
122
  }
122
123
  ];
123
124
  export {
124
- y as default
125
+ F as default
125
126
  };