@hybridcore/ui 1.6.0 → 1.6.2

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 (291) hide show
  1. package/CATALOG.md +179 -0
  2. package/README.md +1 -2
  3. package/dist/AccordionSummary-CJppWeqF.js +781 -0
  4. package/dist/Add-CqcD1PWb.js +403 -0
  5. package/dist/Box-DqUMmZjL.js +31 -0
  6. package/dist/{Button-CvE2gnly.js → Button-C5yquWAB.js} +120 -133
  7. package/dist/ButtonBase-BEF7oTOe.js +887 -0
  8. package/dist/{Delete-CW0UZv1m.js → Delete-BdyYpINH.js} +9 -8
  9. package/dist/{DialogContent-B3nbEbuv.js → DialogContent-BvVjD9z3.js} +127 -124
  10. package/dist/FormGroup-CpBsIyYR.js +89 -0
  11. package/dist/{IconButton-CHwRQF-g.js → IconButton-BoGwbvrP.js} +41 -43
  12. package/dist/InputLabel-Dd8RrneV.js +341 -0
  13. package/dist/{MenuItem-xZx_w7zA.js → MenuItem-DwqJqzuM.js} +51 -53
  14. package/dist/Modal-MUZygjmQ.js +1158 -0
  15. package/dist/Paper-BkQLdsCI.js +582 -0
  16. package/dist/Select-DHUl_uG3.js +3916 -0
  17. package/dist/SwitchBase-DTndTqI8.js +235 -0
  18. package/dist/TextField-e2oKaUN1.js +669 -0
  19. package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
  20. package/dist/{Typography-CxbneZy_.js → Typography-DgsSLCFC.js} +53 -53
  21. package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
  22. package/dist/assets/index4.css +1 -0
  23. package/dist/clsx-OuTLNxxd.js +16 -0
  24. package/dist/components/access/helpers.js +1 -1
  25. package/dist/components/access/index.js +8 -15
  26. package/dist/components/access/logic.js +25 -0
  27. package/dist/components/button/index.js +10 -0
  28. package/dist/components/button/logic.js +26 -0
  29. package/dist/components/button/styled.js +9 -0
  30. package/dist/components/card/index.js +158 -498
  31. package/dist/components/card/logic.js +24 -0
  32. package/dist/components/card/styled.js +226 -51
  33. package/dist/components/card-alternate/index.js +111 -139
  34. package/dist/components/card-alternate/logic.js +17 -0
  35. package/dist/components/card-alternate/styled.js +113 -19
  36. package/dist/components/charts/_common/chart-error.js +19 -0
  37. package/dist/components/charts/candlestick/index.js +3 -3
  38. package/dist/components/charts/candlestick/logic.js +123 -113
  39. package/dist/components/charts/chart-wrapper/index.js +5 -5
  40. package/dist/components/charts/column-line-mix/index.js +9 -8
  41. package/dist/components/charts/column-line-mix/logic.js +68 -71
  42. package/dist/components/charts/drill-down-treemap/index.js +8 -7
  43. package/dist/components/charts/drill-down-treemap/logic.js +138 -144
  44. package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
  45. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
  46. package/dist/components/charts/heatmap/index.js +9 -8
  47. package/dist/components/charts/heatmap/logic.js +167 -173
  48. package/dist/components/charts/highlighting-line-data/index.js +3 -3
  49. package/dist/components/charts/line/index.js +9 -8
  50. package/dist/components/charts/line/logic.js +74 -79
  51. package/dist/components/charts/logaritmic-scale/index.js +9 -8
  52. package/dist/components/charts/logaritmic-scale/logic.js +63 -69
  53. package/dist/components/charts/multiple-value-axes/index.js +9 -8
  54. package/dist/components/charts/multiple-value-axes/logic.js +101 -107
  55. package/dist/components/charts/nested-pie/index.js +9 -8
  56. package/dist/components/charts/nested-pie/logic.js +62 -68
  57. package/dist/components/charts/packed-circles/index.js +7 -6
  58. package/dist/components/charts/packed-circles/logic.js +50 -56
  59. package/dist/components/charts/pie-chart/index.js +9 -8
  60. package/dist/components/charts/pie-chart/logic.js +49 -54
  61. package/dist/components/charts/stacked-area-radar/index.js +8 -7
  62. package/dist/components/charts/stacked-area-radar/logic.js +113 -118
  63. package/dist/components/charts/stacked-column-chart/index.js +9 -8
  64. package/dist/components/charts/stacked-column-chart/logic.js +78 -84
  65. package/dist/components/charts/xy-chart/index.js +9 -8
  66. package/dist/components/charts/xy-chart/logic.js +56 -60
  67. package/dist/components/collapsible-card/index.js +11 -10
  68. package/dist/components/collapsible-card/styled.js +1 -1
  69. package/dist/components/color-picker/index.js +7120 -0
  70. package/dist/components/color-picker/logic.js +18 -0
  71. package/dist/components/color-picker/styled.js +7 -0
  72. package/dist/components/confirm/dialog.js +3 -3
  73. package/dist/components/confirm/index.js +1 -1
  74. package/dist/components/container/index.js +28 -269
  75. package/dist/components/container/logic.js +12 -0
  76. package/dist/components/container/styled.js +29 -0
  77. package/dist/components/context-menu/index.js +25 -457
  78. package/dist/components/context-menu/logic.js +14 -0
  79. package/dist/components/context-menu/styled.js +40 -0
  80. package/dist/components/data-grid/index.js +22 -0
  81. package/dist/components/data-grid/logic.js +15 -0
  82. package/dist/components/data-grid/styled.js +20 -0
  83. package/dist/components/data-map/components/controls/index.js +4 -6
  84. package/dist/components/data-map/index.js +11 -11
  85. package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
  86. package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
  87. package/dist/components/data-security-selectors/security-level/index.js +39 -91
  88. package/dist/components/data-security-selectors/security-level/logic.js +28 -0
  89. package/dist/components/data-security-selectors/security-level/styled.js +53 -0
  90. package/dist/components/date-picker-with-custom-range/index.js +1 -1
  91. package/dist/components/date-range-picker/index.js +2748 -0
  92. package/dist/components/date-range-picker/styled.js +14 -0
  93. package/dist/components/date-time-picker/index.js +45 -46
  94. package/dist/components/divider/index.js +11 -11
  95. package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
  96. package/dist/components/document-viewer/components/navigation/index.js +9 -9
  97. package/dist/components/document-viewer/components/viewer/index.js +31 -35
  98. package/dist/components/document-viewer/index.js +31 -39
  99. package/dist/components/document-viewer/logic.js +41 -34
  100. package/dist/components/document-viewer/styled.js +115 -27
  101. package/dist/components/duration-select/index.js +27 -0
  102. package/dist/components/duration-select/logic.js +21 -0
  103. package/dist/components/duration-select/styled.js +26 -0
  104. package/dist/components/editable-text/index.js +20 -0
  105. package/dist/components/editable-text/logic.js +18 -0
  106. package/dist/components/editable-text/styled.js +22 -0
  107. package/dist/components/geometry-picker/coordinate/index.js +29 -29
  108. package/dist/components/geometry-picker/edit/index.js +18 -18
  109. package/dist/components/geometry-picker/geometry/index.js +67 -67
  110. package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
  111. package/dist/components/geometry-picker/index.js +69 -85
  112. package/dist/components/geometry-picker/kml/index.js +16 -16
  113. package/dist/components/geometry-picker/logic.js +50 -57
  114. package/dist/components/geometry-picker/map/index.js +8 -8
  115. package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
  116. package/dist/components/geometry-picker/parser/index.js +46 -50
  117. package/dist/components/geometry-picker/parser/styled.js +22 -4
  118. package/dist/components/geometry-picker/styled.js +97 -37
  119. package/dist/components/geometry-picker/wkt/index.js +13 -13
  120. package/dist/components/heat-map/components/controls/index.js +4 -6
  121. package/dist/components/heat-map/components/legend/index.js +15 -17
  122. package/dist/components/heat-map/index.js +7 -7
  123. package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
  124. package/dist/components/instance-form/components/composite-list/index.js +5 -3
  125. package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
  126. package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
  127. package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
  128. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
  129. package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
  130. package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
  131. package/dist/components/instance-form/components/policy-list/index.js +47 -81
  132. package/dist/components/instance-form/components/variable/index.js +6 -11
  133. package/dist/components/instance-form/components/variables/index.js +48 -55
  134. package/dist/components/instance-form/helpers.js +9 -0
  135. package/dist/components/instance-form/index.js +402 -518
  136. package/dist/components/instance-form/logic.js +115 -0
  137. package/dist/components/instance-form/styled.js +487 -0
  138. package/dist/components/instance-hierarchy-table/index.js +32 -37
  139. package/dist/components/instance-hierarchy-table/logic.js +16 -0
  140. package/dist/components/instance-hierarchy-table/styled.js +53 -12
  141. package/dist/components/instance-table/index.js +30 -135
  142. package/dist/components/instance-table/logic.js +122 -0
  143. package/dist/components/instance-table/styled.js +53 -11
  144. package/dist/components/instance-variable-list/index.js +11 -11
  145. package/dist/components/loading/index.js +15 -9
  146. package/dist/components/loading/logic.js +15 -0
  147. package/dist/components/loading/styled.js +26 -19
  148. package/dist/components/map/index.js +28 -6
  149. package/dist/components/map/styled.js +1 -1
  150. package/dist/components/notification/index.js +67 -0
  151. package/dist/components/notification/logic.js +30 -0
  152. package/dist/components/notification/store.js +23 -0
  153. package/dist/components/notification/styled.js +52 -0
  154. package/dist/components/object-profile-card/components/avatar/index.js +9 -10
  155. package/dist/components/object-profile-card/index.js +19 -20
  156. package/dist/components/paginated-list/index.js +2 -3
  157. package/dist/components/phone-input/index.js +18 -22
  158. package/dist/components/phone-input/logic.js +14 -0
  159. package/dist/components/phone-input/styled.js +12 -4
  160. package/dist/components/placeholder/index.js +10 -0
  161. package/dist/components/placeholder/logic.js +12 -0
  162. package/dist/components/placeholder/styled.js +32 -0
  163. package/dist/components/positional-tooltip/index.js +24 -0
  164. package/dist/components/positional-tooltip/styled.js +17 -0
  165. package/dist/components/property-mapping/index.js +204 -423
  166. package/dist/components/property-mapping/logic.js +156 -0
  167. package/dist/components/property-mapping/styled.js +199 -0
  168. package/dist/components/prr-map/components/controls/index.js +4 -6
  169. package/dist/components/prr-map/components/legend/index.js +26 -28
  170. package/dist/components/prr-map/index.js +5 -5
  171. package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
  172. package/dist/components/range-selector/components/date-range/index.js +87 -4221
  173. package/dist/components/range-selector/components/geometry-range/index.js +11 -17
  174. package/dist/components/range-selector/components/number-range/index.js +48 -53
  175. package/dist/components/range-selector/components/string-range/index.js +15 -17
  176. package/dist/components/range-selector/index.js +63 -57
  177. package/dist/components/range-selector/logic.js +12 -0
  178. package/dist/components/range-selector/styled.js +4294 -0
  179. package/dist/components/raster-grid-map/components/controls/index.js +4 -6
  180. package/dist/components/raster-grid-map/components/legend/index.js +4 -6
  181. package/dist/components/raster-grid-map/index.js +5 -5
  182. package/dist/components/scroll-drag/index.js +22 -0
  183. package/dist/components/scroll-drag/logic.js +39 -0
  184. package/dist/components/scroll-drag/styled.js +17 -0
  185. package/dist/components/search-input/logic.js +35 -33
  186. package/dist/components/simple-pivot-table/index.js +12 -12
  187. package/dist/components/sortable-list/index.js +599 -0
  188. package/dist/components/sortable-list/logic.js +18 -0
  189. package/dist/components/sortable-list/styled.js +38 -0
  190. package/dist/components/static-text/index.js +6 -6
  191. package/dist/components/stats-box/index.js +12 -0
  192. package/dist/components/stats-box/styled.js +36 -0
  193. package/dist/components/template-filters/components/filter/index.js +13 -18
  194. package/dist/components/template-filters/components/tab-panel/index.js +8 -16
  195. package/dist/components/template-filters/index.js +21 -29
  196. package/dist/components/template-filters/logic.js +18 -0
  197. package/dist/components/template-filters/styled.js +44 -1
  198. package/dist/components/template-form/components/property-list/index.js +27 -26
  199. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  200. package/dist/components/template-form/components/property-list/property-list-form.js +758 -14
  201. package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
  202. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  203. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -23
  204. package/dist/components/template-form/components/select-icon/index.js +24 -24
  205. package/dist/components/template-form/helpers.js +17 -0
  206. package/dist/components/template-form/index.js +270 -309
  207. package/dist/components/template-form/logic.js +69 -0
  208. package/dist/components/template-form/styled.js +84 -0
  209. package/dist/components/template-property-filters/index.js +45 -95
  210. package/dist/components/template-property-filters/logic.js +27 -0
  211. package/dist/components/template-property-filters/property.js +105 -165
  212. package/dist/components/template-property-filters/styled.js +121 -20
  213. package/dist/components/text-overflow/index.js +6 -0
  214. package/dist/components/text-overflow/styled.js +13 -0
  215. package/dist/components/timeline/index.js +12 -12
  216. package/dist/components/toggle-view-button/index.js +35 -0
  217. package/dist/components/toggle-view-button/logic.js +22 -0
  218. package/dist/components/toggle-view-button/styled.js +11 -0
  219. package/dist/components/tree-select/index.js +52 -67
  220. package/dist/components/tree-select/logic.js +59 -0
  221. package/dist/components/tree-select/styled.js +45 -62
  222. package/dist/components/treeview-filter/index.js +43 -65
  223. package/dist/components/treeview-filter/item/index.js +43 -42
  224. package/dist/components/treeview-filter/item-label/index.js +17 -37
  225. package/dist/components/treeview-filter/logic.js +28 -0
  226. package/dist/components/treeview-filter/styled.js +86 -0
  227. package/dist/components/uploader/index.js +532 -567
  228. package/dist/components/uploader/logic.js +74 -0
  229. package/dist/components/uploader/styled.js +93 -46
  230. package/dist/components/visually-hidden-input/index.js +4 -0
  231. package/dist/components/visually-hidden-input/styled.js +18 -0
  232. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  233. package/dist/{createSvgIcon-DrtgaibK.js → createSvgIcon-Ch_cT8az.js} +69 -68
  234. package/dist/createSvgIcon-DuDuASu1.js +62 -0
  235. package/dist/{dialog-DcwXug9J.js → dialog-BYRnCztH.js} +18 -18
  236. package/dist/formControlState-vgaj2ksH.js +10 -0
  237. package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
  238. package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
  239. package/dist/index-BtlzPygz.js +470 -0
  240. package/dist/index-DH6qsPBn.js +153 -0
  241. package/dist/{index-syTc6m_V.js → index-e9xTIYWt.js} +87 -87
  242. package/dist/main.d.ts +1722 -562
  243. package/dist/main.js +161 -128
  244. package/dist/ownerWindow-wg6foiOE.js +10 -0
  245. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  246. package/dist/styled-Db1RdcPA.js +323 -0
  247. package/dist/unsupportedProp-DuqR2hj9.js +36 -0
  248. package/dist/useId-BW-oWmul.js +19 -0
  249. package/dist/useMobilePicker-CY8ndYRL.js +8279 -0
  250. package/dist/useSlot-B_Q4vnX5.js +42 -0
  251. package/package.json +15 -7
  252. package/dist/AccordionSummary-DgAwVTk8.js +0 -742
  253. package/dist/Add-DJLrrVHm.js +0 -382
  254. package/dist/Box-p6OtTUEo.js +0 -30
  255. package/dist/ButtonBase-2bPw77UP.js +0 -961
  256. package/dist/CardContent-CSHh-ZlM.js +0 -74
  257. package/dist/Checkbox-CWRMFTBp.js +0 -421
  258. package/dist/FormControl-BLbrq4C7.js +0 -1636
  259. package/dist/FormControlLabel-C8SPv14J.js +0 -195
  260. package/dist/InputAdornment-DLxWUE6H.js +0 -157
  261. package/dist/List-tqElle9C.js +0 -121
  262. package/dist/ListItem-CfjsIg4B.js +0 -430
  263. package/dist/Modal-DhPpOoGB.js +0 -1299
  264. package/dist/Paper-2B03OBmZ.js +0 -169
  265. package/dist/Select-BgYwkZgI.js +0 -2613
  266. package/dist/TextField-1yCesIbH.js +0 -457
  267. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  268. package/dist/capitalize-ciszXJ7R.js +0 -9
  269. package/dist/components/instance-form/components/composite-list/styled.js +0 -73
  270. package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
  271. package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
  272. package/dist/components/key-protection/index.js +0 -4
  273. package/dist/components/key-protection/menu.js +0 -85
  274. package/dist/components/key-protection/utils.js +0 -10
  275. package/dist/components/treeview-filter/item/styled.js +0 -39
  276. package/dist/createSvgIcon-BjpIhJ30.js +0 -71
  277. package/dist/createTheme-DYxDnE9u.js +0 -612
  278. package/dist/index-BMS1Otro.js +0 -183
  279. package/dist/index-CcdvNlgr.js +0 -503
  280. package/dist/index-kCJ_Zvl8.js +0 -34
  281. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  282. package/dist/isMuiElement-CxT3_ACP.js +0 -13
  283. package/dist/listItemTextClasses-C3lndiXO.js +0 -16
  284. package/dist/property-list-form-zZQfpR0X.js +0 -386
  285. package/dist/styled-eZwjUruw.js +0 -12
  286. package/dist/unsupportedProp-BND8AB6O.js +0 -25
  287. package/dist/useId-B4-oF9Mq.js +0 -34
  288. package/dist/useMobilePicker-BLg3Blg8.js +0 -7589
  289. package/dist/useThemeProps-BzzHcQyd.js +0 -58
  290. package/dist/utils-BDNynJcd.js +0 -365
  291. package/dist/utils-Bq0ye5vf.js +0 -115
@@ -1,50 +1,44 @@
1
- import { R as U, A as q, T as S, L as I } from "../../../AnimatedTheme-jnasw6rT.js";
2
- import { useThemeProps as N, useTheme as P } from "@mui/material";
3
- import V from "dayjs";
4
- import y from "lodash";
5
- import { useId as H, useRef as _, useEffect as $ } from "react";
6
- import { colorSetFromPalette as z } from "../_common/utils.js";
7
- import { c as p, a as u, p as G } from "../../../ColorSet-C7vpNXhM.js";
8
- import { X as J, V as K } from "../../../AxisRenderer-DTyLLA6c.js";
9
- import { A as Q, a as W } from "../../../AxisRendererY-C_ItLPNV.js";
10
- import { C as R } from "../../../CategoryAxis-CwnfaGc8.js";
11
- import { L as Z } from "../../../Legend-Dp_MKfS4.js";
12
- import { C as ee } from "../../../ColumnSeries-CjgdJ2QL.js";
13
- import { B as te } from "../../../Bullet-DVczI2TD.js";
14
- const xe = (L) => {
15
- const A = N({
16
- props: L,
1
+ import { R as q, A as I, T as R, L as N } from "../../../AnimatedTheme-jnasw6rT.js";
2
+ import { useThemeProps as P, useTheme as V } from "@mui/material";
3
+ import H from "dayjs";
4
+ import A from "lodash";
5
+ import { useId as _, useRef as $, useEffect as z } from "react";
6
+ import { colorSetFromPalette as G } from "../_common/utils.js";
7
+ import { c as p, a as f, p as J } from "../../../ColorSet-C7vpNXhM.js";
8
+ import { X as K, V as Q } from "../../../AxisRenderer-DTyLLA6c.js";
9
+ import { A as W, a as Z } from "../../../AxisRendererY-C_ItLPNV.js";
10
+ import { C as L } from "../../../CategoryAxis-CwnfaGc8.js";
11
+ import { L as ee } from "../../../Legend-Dp_MKfS4.js";
12
+ import { C as te } from "../../../ColumnSeries-CjgdJ2QL.js";
13
+ import { B as re } from "../../../Bullet-DVczI2TD.js";
14
+ const Ye = (D) => {
15
+ const w = P({
16
+ props: D,
17
17
  name: "HCStackedColumnChart"
18
18
  }), {
19
19
  dimensions: m,
20
20
  values: d,
21
- data: w,
22
- initDelay: D = 0,
23
- baseInterval: f,
24
- colors: C,
25
- sx: O,
26
- ...B
27
- } = A, n = P(), k = `hc-stacked-column-chart-${H().replace(/:/g, "")}`, h = _(null);
28
- $(() => {
29
- let x;
30
- return x = setTimeout(() => {
31
- var X, F;
32
- if (m.length < 2) {
33
- console.error("StackedColumnChart requires at least 2 dimensions");
34
- return;
35
- }
36
- if (d.length < 1) {
37
- console.error("StackedColumnChart requires at least 1 value");
38
- return;
39
- }
40
- const e = U.new(k);
41
- h.current = e, e.setThemes([q.new(e)]), e.interfaceColors.setAll({
21
+ data: C,
22
+ initDelay: O = 0,
23
+ baseInterval: h,
24
+ colors: k,
25
+ sx: B,
26
+ ...E
27
+ } = w, n = V(), T = `hc-stacked-column-chart-${_().replace(/:/g, "")}`, x = $(null);
28
+ let u = null;
29
+ m.length < 2 ? u = "StackedColumnChart requires at least 2 dimensions" : d.length < 1 && (u = "StackedColumnChart requires at least 1 value"), z(() => {
30
+ if (u) return;
31
+ let Y;
32
+ return Y = setTimeout(() => {
33
+ var F, S;
34
+ const e = q.new(T);
35
+ x.current = e, e.setThemes([I.new(e)]), e.interfaceColors.setAll({
42
36
  text: p(n.palette.text.primary),
43
37
  grid: p(n.palette.divider),
44
38
  stroke: p(n.palette.divider)
45
39
  });
46
40
  const s = e.container.children.push(
47
- J.new(e, {
41
+ K.new(e, {
48
42
  panX: !1,
49
43
  panY: !1,
50
44
  wheelX: "none",
@@ -52,97 +46,97 @@ const xe = (L) => {
52
46
  layout: e.verticalLayout
53
47
  })
54
48
  );
55
- s.set("colors", z(e, C)), s.get("colors", {}).set("step", 2);
56
- const Y = Q.new(e, {});
57
- Y.grid.template.setAll({ location: 1 });
58
- const o = m[0], M = m[1];
59
- let i, c = w;
49
+ s.set("colors", G(e, k)), s.get("colors", {}).set("step", 2);
50
+ const g = W.new(e, {});
51
+ g.grid.template.setAll({ location: 1 });
52
+ const o = m[0], b = m[1];
53
+ let i, c = C;
60
54
  if (o.type === "date") {
61
- const t = (f == null ? void 0 : f.timeUnit) || "day";
55
+ const t = (h == null ? void 0 : h.timeUnit) || "day";
62
56
  let a = "DD/MM/YYYY";
63
57
  t === "month" ? a = "MM YYYY" : t === "year" && (a = "YYYY"), i = s.xAxes.push(
64
- R.new(e, {
58
+ L.new(e, {
65
59
  categoryField: o.value,
66
- renderer: Y,
67
- tooltip: S.new(e, {})
60
+ renderer: g,
61
+ tooltip: R.new(e, {})
68
62
  })
69
- ), c = y.orderBy(c, [o.value]), c = c.map((r) => ({
63
+ ), c = A.orderBy(c, [o.value]), c = c.map((r) => ({
70
64
  ...r,
71
- [o.value]: V(r[o.value]).format(a)
65
+ [o.value]: H(r[o.value]).format(a)
72
66
  }));
73
67
  } else
74
68
  i = s.xAxes.push(
75
- R.new(e, {
69
+ L.new(e, {
76
70
  categoryField: o.value,
77
- renderer: Y,
78
- tooltip: S.new(e, {})
71
+ renderer: g,
72
+ tooltip: R.new(e, {})
79
73
  })
80
74
  );
81
- const l = [], g = y.groupBy(c, M.value);
82
- Object.keys(g).forEach((t) => {
83
- g[t].forEach((a) => {
84
- const r = a[o.value], v = y.findIndex(l, { [o.value]: r });
85
- v === -1 ? l.push({
75
+ const l = [], v = A.groupBy(c, b.value);
76
+ Object.keys(v).forEach((t) => {
77
+ v[t].forEach((a) => {
78
+ const r = a[o.value], y = A.findIndex(l, { [o.value]: r });
79
+ y === -1 ? l.push({
86
80
  [o.value]: r,
87
81
  [t]: a[d[0].dataFieldName]
88
- }) : l[v] = {
89
- ...l[v],
82
+ }) : l[y] = {
83
+ ...l[y],
90
84
  [t]: a[d[0].dataFieldName]
91
85
  };
92
86
  });
93
87
  }), i.data.setAll(l);
94
- const T = s.yAxes.push(
95
- K.new(e, {
88
+ const X = s.yAxes.push(
89
+ Q.new(e, {
96
90
  min: 0,
97
- renderer: W.new(e, { strokeOpacity: 0.1 })
91
+ renderer: Z.new(e, { strokeOpacity: 0.1 })
98
92
  })
99
- ), b = s.children.push(
100
- Z.new(e, {
101
- centerX: u,
102
- x: u
93
+ ), j = s.children.push(
94
+ ee.new(e, {
95
+ centerX: f,
96
+ x: f
103
97
  })
104
98
  );
105
- (X = i.get("renderer")) == null || X.grid.template.setAll({
99
+ (F = i.get("renderer")) == null || F.grid.template.setAll({
106
100
  stroke: p(n.palette.divider),
107
101
  strokeOpacity: 1
108
- }), (F = T.get("renderer")) == null || F.grid.template.setAll({
102
+ }), (S = X.get("renderer")) == null || S.grid.template.setAll({
109
103
  stroke: p(n.palette.divider),
110
104
  strokeOpacity: 1
111
105
  });
112
- function j(t, a) {
106
+ function U(t, a) {
113
107
  const r = s.series.push(
114
- ee.new(e, {
108
+ te.new(e, {
115
109
  name: t,
116
110
  stacked: !0,
117
111
  xAxis: i,
118
- yAxis: T,
112
+ yAxis: X,
119
113
  valueYField: a,
120
114
  categoryXField: o.value
121
115
  })
122
116
  );
123
117
  r.columns.template.setAll({
124
118
  tooltipText: "{name}, {categoryX}: {valueY}",
125
- tooltipY: G(10)
119
+ tooltipY: J(10)
126
120
  }), r.data.setAll(l), r.appear(), r.bullets.push(function() {
127
- return te.new(e, {
128
- sprite: I.new(e, {
121
+ return re.new(e, {
122
+ sprite: N.new(e, {
129
123
  fill: e.interfaceColors.get("alternativeText"),
130
- centerY: u,
131
- centerX: u,
124
+ centerY: f,
125
+ centerX: f,
132
126
  populateText: !0
133
127
  })
134
128
  });
135
- }), b.data.push(r);
129
+ }), j.data.push(r);
136
130
  }
137
- Object.keys(g).forEach((t) => j(t, t)), s.appear(1e3, 100);
138
- }, D), () => {
131
+ Object.keys(v).forEach((t) => U(t, t)), s.appear(1e3, 100);
132
+ }, O), () => {
139
133
  var e;
140
- x && clearTimeout(x), (e = h.current) == null || e.dispose(), h.current = null;
134
+ Y && clearTimeout(Y), (e = x.current) == null || e.dispose(), x.current = null;
141
135
  };
142
- }, [w, m, d, n.palette.mode, C]);
143
- const E = { ...A };
144
- return { chartId: k, ownerState: E, sx: O, other: B };
136
+ }, [C, m, d, n.palette.mode, k]);
137
+ const M = { ...w };
138
+ return { chartId: T, ownerState: M, sx: B, error: u, other: E };
145
139
  };
146
140
  export {
147
- xe as useStackedColumnChartLogic
141
+ Ye as useStackedColumnChartLogic
148
142
  };
@@ -1,10 +1,11 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { useXYChartLogic as m } from "./logic.js";
3
- import { XYChartRoot as n } from "./styled.js";
4
- function s(r) {
5
- const { chartId: o, ownerState: i, sx: e, other: h } = m(r);
6
- return /* @__PURE__ */ t(n, { ownerState: i, sx: e, ...h, children: /* @__PURE__ */ t("div", { id: o, style: { width: "100%", height: "100%" } }) });
7
- }
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { ChartError as s } from "../_common/chart-error.js";
3
+ import { useXYChartLogic as a } from "./logic.js";
4
+ import { XYChartRoot as c } from "./styled.js";
5
+ const C = (o) => {
6
+ const { chartId: e, ownerState: h, sx: i, error: t, other: m } = a(o);
7
+ return /* @__PURE__ */ r(c, { ownerState: h, sx: i, ...m, children: t ? /* @__PURE__ */ r(s, { message: t }) : /* @__PURE__ */ r("div", { id: e, style: { width: "100%", height: "100%" } }) });
8
+ };
8
9
  export {
9
- s as XYChart
10
+ C as XYChart
10
11
  };
@@ -1,40 +1,41 @@
1
- import { R as E, A as I, T as x, b as P, L as W } from "../../../AnimatedTheme-jnasw6rT.js";
2
- import { useThemeProps as G, useTheme as N } from "@mui/material";
1
+ import { R as I, A as P, T as x, b as W, L as G } from "../../../AnimatedTheme-jnasw6rT.js";
2
+ import { useThemeProps as N, useTheme as V } from "@mui/material";
3
3
  import g from "lodash";
4
- import { useId as V, useRef as j, useEffect as z } from "react";
5
- import { colorSetFromPalette as H } from "../_common/utils.js";
6
- import { c as l, a as w, p as M } from "../../../ColorSet-C7vpNXhM.js";
7
- import { X as U, V as _ } from "../../../AxisRenderer-DTyLLA6c.js";
8
- import { L as $ } from "../../../Legend-Dp_MKfS4.js";
9
- import { D as q } from "../../../DateAxis-YX3QNIB-.js";
10
- import { A as D, a as J } from "../../../AxisRendererY-C_ItLPNV.js";
11
- import { C as K } from "../../../CategoryAxis-CwnfaGc8.js";
12
- import { C as Q } from "../../../ColumnSeries-CjgdJ2QL.js";
13
- import { D as Z } from "../../../DataProcessor-CHDO51q4.js";
14
- import { B as ee } from "../../../Bullet-DVczI2TD.js";
15
- const xe = (X) => {
16
- const y = G({ props: X, name: "HCXYChart" }), {
4
+ import { useId as j, useRef as z, useEffect as H } from "react";
5
+ import { colorSetFromPalette as M } from "../_common/utils.js";
6
+ import { c as l, a as w, p as U } from "../../../ColorSet-C7vpNXhM.js";
7
+ import { X as _, V as $ } from "../../../AxisRenderer-DTyLLA6c.js";
8
+ import { L as q } from "../../../Legend-Dp_MKfS4.js";
9
+ import { D as J } from "../../../DateAxis-YX3QNIB-.js";
10
+ import { A as X, a as K } from "../../../AxisRendererY-C_ItLPNV.js";
11
+ import { C as Q } from "../../../CategoryAxis-CwnfaGc8.js";
12
+ import { C as Z } from "../../../ColumnSeries-CjgdJ2QL.js";
13
+ import { D as ee } from "../../../DataProcessor-CHDO51q4.js";
14
+ import { B as te } from "../../../Bullet-DVczI2TD.js";
15
+ const ge = (k) => {
16
+ const y = N({ props: k, name: "HCXYChart" }), {
17
17
  dimensions: c,
18
18
  values: m,
19
19
  data: d,
20
- initDelay: k = 0,
21
- baseInterval: F,
20
+ initDelay: F = 0,
21
+ baseInterval: L,
22
22
  colors: A,
23
- sx: L,
24
- ...R
25
- } = y, n = N(), v = `hc-xy-chart-${V().replace(/:/g, "")}`, u = j(null);
26
- z(() => {
23
+ sx: R,
24
+ ...O
25
+ } = y, n = V(), v = `hc-xy-chart-${j().replace(/:/g, "")}`, u = z(null), b = c.length < 1 ? "Missing dimensions config!" : null;
26
+ H(() => {
27
+ if (b) return;
27
28
  let f;
28
29
  return f = setTimeout(() => {
29
- var T, Y;
30
- const e = E.new(v);
31
- u.current = e, e.setThemes([I.new(e)]), e.interfaceColors.setAll({
30
+ var Y, D;
31
+ const e = I.new(v);
32
+ u.current = e, e.setThemes([P.new(e)]), e.interfaceColors.setAll({
32
33
  text: l(n.palette.text.primary),
33
34
  grid: l(n.palette.divider),
34
35
  stroke: l(n.palette.divider)
35
36
  });
36
37
  const o = e.container.children.push(
37
- U.new(e, {
38
+ _.new(e, {
38
39
  panX: !1,
39
40
  panY: !1,
40
41
  wheelX: "none",
@@ -42,36 +43,31 @@ const xe = (X) => {
42
43
  layout: e.verticalLayout
43
44
  })
44
45
  );
45
- o.set("colors", H(e, A));
46
- const B = o.children.push(
47
- $.new(e, {
46
+ o.set("colors", M(e, A));
47
+ const S = o.children.push(
48
+ q.new(e, {
48
49
  centerX: w,
49
50
  x: w
50
51
  })
51
- );
52
- if (c.length < 1) {
53
- console.error("Missing dimensions config!");
54
- return;
55
- }
56
- const a = c[0];
52
+ ), a = c[0];
57
53
  let s, p = d;
58
54
  if (a.type === "date")
59
55
  s = o.xAxes.push(
60
- q.new(e, {
56
+ J.new(e, {
61
57
  maxDeviation: 0,
62
- baseInterval: F || { timeUnit: "day", count: 1 },
63
- renderer: D.new(e, { minGridDistance: 60 }),
58
+ baseInterval: L || { timeUnit: "day", count: 1 },
59
+ renderer: X.new(e, { minGridDistance: 60 }),
64
60
  tooltip: x.new(e, {})
65
61
  })
66
62
  ), p = g.orderBy(d, [a.value]);
67
63
  else {
68
- const t = D.new(e, {
64
+ const t = X.new(e, {
69
65
  cellStartLocation: 0.1,
70
66
  cellEndLocation: 0.9,
71
67
  minGridDistance: 30
72
68
  });
73
69
  s = o.xAxes.push(
74
- K.new(e, {
70
+ Q.new(e, {
75
71
  categoryField: a.value,
76
72
  renderer: t,
77
73
  tooltip: x.new(e, {})
@@ -86,7 +82,7 @@ const xe = (X) => {
86
82
  }), t.labels.template.setup = function(r) {
87
83
  r.set(
88
84
  "background",
89
- P.new(e, {
85
+ W.new(e, {
90
86
  fill: l(0),
91
87
  fillOpacity: 0
92
88
  })
@@ -98,40 +94,40 @@ const xe = (X) => {
98
94
  numericFields: ["valueX"]
99
95
  }), s.data.setAll(p);
100
96
  }
101
- const b = o.yAxes.push(
102
- _.new(e, {
103
- renderer: J.new(e, { strokeOpacity: 0.1 })
97
+ const C = o.yAxes.push(
98
+ $.new(e, {
99
+ renderer: K.new(e, { strokeOpacity: 0.1 })
104
100
  })
105
101
  );
106
- (T = s.get("renderer")) == null || T.grid.template.setAll({
102
+ (Y = s.get("renderer")) == null || Y.grid.template.setAll({
107
103
  stroke: l(n.palette.divider),
108
104
  strokeOpacity: 1
109
- }), (Y = b.get("renderer")) == null || Y.grid.template.setAll({
105
+ }), (D = C.get("renderer")) == null || D.grid.template.setAll({
110
106
  stroke: l(n.palette.divider),
111
107
  strokeOpacity: 1
112
108
  });
113
- function C(t, r, h, S) {
109
+ function T(t, r, h, E) {
114
110
  const i = o.series.push(
115
- Q.new(e, {
111
+ Z.new(e, {
116
112
  name: t,
117
113
  xAxis: s,
118
- yAxis: b,
119
- valueYField: S,
114
+ yAxis: C,
115
+ valueYField: E,
120
116
  ...a.type === "date" ? { valueXField: h } : { categoryXField: h }
121
117
  })
122
118
  );
123
119
  i.columns.template.setAll({
124
120
  tooltipText: "{name}, {categoryX}:{valueY}",
125
- width: M(90),
121
+ width: U(90),
126
122
  tooltipY: 0,
127
123
  strokeOpacity: 0
128
- }), a.type === "date" && (i.data.processor = Z.new(e, {
124
+ }), a.type === "date" && (i.data.processor = ee.new(e, {
129
125
  dateFormat: "i",
130
126
  dateFields: [h]
131
127
  })), i.data.setAll(r), i.appear(), i.bullets.push(function() {
132
- return ee.new(e, {
128
+ return te.new(e, {
133
129
  locationY: 0,
134
- sprite: W.new(e, {
130
+ sprite: G.new(e, {
135
131
  text: "{valueY}",
136
132
  fill: e.interfaceColors.get("alternativeText"),
137
133
  centerY: 0,
@@ -139,16 +135,16 @@ const xe = (X) => {
139
135
  populateText: !0
140
136
  })
141
137
  });
142
- }), B.data.push(i);
138
+ }), S.data.push(i);
143
139
  }
144
140
  if (c.length === 1)
145
141
  m.forEach((t) => {
146
- C(t.name, p, a.value, t.dataFieldName);
142
+ T(t.name, p, a.value, t.dataFieldName);
147
143
  });
148
144
  else {
149
145
  const t = g.groupBy(p, c[1].value);
150
146
  Object.keys(t).forEach((r) => {
151
- C(
147
+ T(
152
148
  g.startCase(r),
153
149
  t[r],
154
150
  a.value,
@@ -157,14 +153,14 @@ const xe = (X) => {
157
153
  });
158
154
  }
159
155
  o.appear(1e3, 100);
160
- }, k), () => {
156
+ }, F), () => {
161
157
  var e;
162
158
  f && clearTimeout(f), (e = u.current) == null || e.dispose(), u.current = null;
163
159
  };
164
160
  }, [d, c, m, n.palette.mode, A]);
165
- const O = { ...y };
166
- return { chartId: v, ownerState: O, sx: L, other: R };
161
+ const B = { ...y };
162
+ return { chartId: v, ownerState: B, sx: R, error: b, other: O };
167
163
  };
168
164
  export {
169
- xe as useXYChartLogic
165
+ ge as useXYChartLogic
170
166
  };
@@ -1,13 +1,14 @@
1
- import i, { jsx as r, jsxs as n } from "react/jsx-runtime";
2
- import { r as c, i as l } from "../../createSvgIcon-BjpIhJ30.js";
1
+ import d, { jsx as r, jsxs as n } from "react/jsx-runtime";
2
+ import { i as c } from "../../generateUtilityClasses-C3ivN9Ie.js";
3
+ import { r as l } from "../../createSvgIcon-DuDuASu1.js";
3
4
  import { Container as u } from "../container/index.js";
4
5
  import { useCollapsibleCardLogic as s } from "./logic.js";
5
- import { Accordion as x, AccordionSummary as m, SummaryHeader as f, SummaryActions as h, AccordionDetails as S } from "./styled.js";
6
- var a = {}, p = l;
6
+ import { Accordion as m, AccordionSummary as x, SummaryHeader as f, SummaryActions as h, AccordionDetails as S } from "./styled.js";
7
+ var a = {}, p = c;
7
8
  Object.defineProperty(a, "__esModule", {
8
9
  value: !0
9
10
  });
10
- var o = a.default = void 0, v = p(c()), C = i;
11
+ var o = a.default = void 0, v = p(l()), C = d;
11
12
  o = a.default = (0, v.default)(/* @__PURE__ */ (0, C.jsx)("path", {
12
13
  d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"
13
14
  }), "ArrowForwardIosSharp");
@@ -15,8 +16,8 @@ const A = { marginTop: 1, borderRadius: "13px" }, b = {
15
16
  p: "0 !important",
16
17
  m: 0,
17
18
  "& .MuiPaper-root": { borderRadius: "13px" }
18
- }, w = (e) => {
19
- const { state: d } = s(e), { ownerState: t } = d;
19
+ }, I = (e) => {
20
+ const { state: i } = s(e), { ownerState: t } = i;
20
21
  return /* @__PURE__ */ r(
21
22
  u,
22
23
  {
@@ -27,7 +28,7 @@ const A = { marginTop: 1, borderRadius: "13px" }, b = {
27
28
  ],
28
29
  contentSx: b,
29
30
  children: /* @__PURE__ */ n(
30
- x,
31
+ m,
31
32
  {
32
33
  disableGutters: !0,
33
34
  elevation: 0,
@@ -37,7 +38,7 @@ const A = { marginTop: 1, borderRadius: "13px" }, b = {
37
38
  onChange: e.onChange,
38
39
  children: [
39
40
  /* @__PURE__ */ n(
40
- m,
41
+ x,
41
42
  {
42
43
  expandIcon: /* @__PURE__ */ r(o, { sx: { fontSize: 12 } }),
43
44
  "aria-controls": "panel1d-content",
@@ -56,5 +57,5 @@ const A = { marginTop: 1, borderRadius: "13px" }, b = {
56
57
  );
57
58
  };
58
59
  export {
59
- w as CollapsibleCard
60
+ I as CollapsibleCard
60
61
  };
@@ -1,5 +1,5 @@
1
1
  import { styled as a, Box as e } from "@mui/material";
2
- import { A as n, a as t, b as i } from "../../AccordionSummary-DgAwVTk8.js";
2
+ import { A as n, a as t, b as i } from "../../AccordionSummary-CJppWeqF.js";
3
3
  const r = (o) => o !== "ownerState", m = a(n, {
4
4
  name: "HCCollapsibleCard",
5
5
  slot: "accordion"