@hybridcore/ui 1.5.89 → 1.6.0

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 (267) hide show
  1. package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-DgAwVTk8.js} +81 -82
  2. package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
  3. package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
  4. package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
  5. package/dist/AxisRendererY-C_ItLPNV.js +445 -0
  6. package/dist/Box-p6OtTUEo.js +30 -0
  7. package/dist/Bullet-DVczI2TD.js +41 -0
  8. package/dist/Button-CcsPEIDh.js +35 -0
  9. package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
  10. package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
  11. package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
  12. package/dist/CategoryAxis-CwnfaGc8.js +458 -0
  13. package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
  14. package/dist/Circle-Cy5s-pVc.js +27 -0
  15. package/dist/ColorSet-C7vpNXhM.js +2957 -0
  16. package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
  17. package/dist/DataProcessor-CHDO51q4.js +83 -0
  18. package/dist/DateAxis-YX3QNIB-.js +569 -0
  19. package/dist/{Delete-86TO0fMo.js → Delete-CW0UZv1m.js} +1 -1
  20. package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
  21. package/dist/FormControl-BLbrq4C7.js +1636 -0
  22. package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
  23. package/dist/Hierarchy-Bihj0S61.js +925 -0
  24. package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
  25. package/dist/IconPlus-yPkff_Vj.js +19 -0
  26. package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
  27. package/dist/Legend-Dp_MKfS4.js +178 -0
  28. package/dist/LineSeries-Uiv5o56b.js +472 -0
  29. package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
  30. package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
  31. package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
  32. package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
  33. package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
  34. package/dist/PieSeries-B2fW3z0s.js +693 -0
  35. package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
  36. package/dist/Scrollbar-D86MJyr2.js +171 -0
  37. package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
  38. package/dist/Slice-B19rbYDZ.js +261 -0
  39. package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
  40. package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
  41. package/dist/{TextField-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
  42. package/dist/Tick-2bcLyHpF.js +162 -0
  43. package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
  44. package/dist/Vector-BmuhQO4p.js +3606 -0
  45. package/dist/Vector-DfTqQEln.js +1735 -0
  46. package/dist/WKT-2wsDT-nq.js +2310 -0
  47. package/dist/XYCursor-C8WktvKM.js +362 -0
  48. package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
  49. package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
  50. package/dist/capitalize-ciszXJ7R.js +9 -0
  51. package/dist/components/access/helpers.js +1 -1
  52. package/dist/components/access/index.js +1 -1
  53. package/dist/components/card/index.js +6 -6
  54. package/dist/components/card/styled.js +1 -1
  55. package/dist/components/charts/_common/utils.js +20 -0
  56. package/dist/components/charts/candlestick/logic.js +170 -140
  57. package/dist/components/charts/chart-wrapper/helpers.js +27 -0
  58. package/dist/components/charts/chart-wrapper/index.js +44 -0
  59. package/dist/components/charts/chart-wrapper/logic.js +47 -0
  60. package/dist/components/charts/chart-wrapper/styled.js +44 -0
  61. package/dist/components/charts/column-line-mix/index.js +10 -0
  62. package/dist/components/charts/column-line-mix/logic.js +162 -0
  63. package/dist/components/charts/column-line-mix/styled.js +12 -0
  64. package/dist/components/charts/drill-down-treemap/index.js +10 -0
  65. package/dist/components/charts/drill-down-treemap/logic.js +391 -0
  66. package/dist/components/charts/drill-down-treemap/styled.js +12 -0
  67. package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
  68. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
  69. package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
  70. package/dist/components/charts/heatmap/index.js +10 -0
  71. package/dist/components/charts/heatmap/logic.js +361 -0
  72. package/dist/components/charts/heatmap/styled.js +12 -0
  73. package/dist/components/charts/highlighting-line-data/logic.js +89 -256
  74. package/dist/components/charts/line/index.js +10 -0
  75. package/dist/components/charts/line/logic.js +148 -0
  76. package/dist/components/charts/line/styled.js +12 -0
  77. package/dist/components/charts/logaritmic-scale/index.js +10 -0
  78. package/dist/components/charts/logaritmic-scale/logic.js +119 -0
  79. package/dist/components/charts/logaritmic-scale/styled.js +12 -0
  80. package/dist/components/charts/multiple-value-axes/index.js +10 -0
  81. package/dist/components/charts/multiple-value-axes/logic.js +191 -0
  82. package/dist/components/charts/multiple-value-axes/styled.js +12 -0
  83. package/dist/components/charts/nested-pie/index.js +10 -0
  84. package/dist/components/charts/nested-pie/logic.js +110 -0
  85. package/dist/components/charts/nested-pie/styled.js +12 -0
  86. package/dist/components/charts/packed-circles/index.js +10 -0
  87. package/dist/components/charts/packed-circles/logic.js +423 -0
  88. package/dist/components/charts/packed-circles/styled.js +12 -0
  89. package/dist/components/charts/pie-chart/index.js +10 -0
  90. package/dist/components/charts/pie-chart/logic.js +70 -0
  91. package/dist/components/charts/pie-chart/styled.js +12 -0
  92. package/dist/components/charts/stacked-area-radar/index.js +10 -0
  93. package/dist/components/charts/stacked-area-radar/logic.js +868 -0
  94. package/dist/components/charts/stacked-area-radar/styled.js +12 -0
  95. package/dist/components/charts/stacked-column-chart/index.js +10 -0
  96. package/dist/components/charts/stacked-column-chart/logic.js +148 -0
  97. package/dist/components/charts/stacked-column-chart/styled.js +12 -0
  98. package/dist/components/charts/xy-chart/index.js +10 -0
  99. package/dist/components/charts/xy-chart/logic.js +170 -0
  100. package/dist/components/charts/xy-chart/styled.js +12 -0
  101. package/dist/components/collapsible-card/index.js +58 -32
  102. package/dist/components/collapsible-card/logic.js +20 -0
  103. package/dist/components/collapsible-card/styled.js +52 -0
  104. package/dist/components/confirm/dialog.js +3 -3
  105. package/dist/components/confirm/index.js +1 -1
  106. package/dist/components/container/index.js +7 -7
  107. package/dist/components/context-menu/index.js +153 -253
  108. package/dist/components/data-map/components/controls/index.js +12 -0
  109. package/dist/components/data-map/components/controls/styled.js +34 -0
  110. package/dist/components/data-map/index.js +51 -0
  111. package/dist/components/data-map/logic.js +108 -0
  112. package/dist/components/data-map/styled.js +32 -0
  113. package/dist/components/data-security-selectors/security-level/index.js +5 -5
  114. package/dist/components/date-picker-with-custom-range/index.js +9 -0
  115. package/dist/components/date-picker-with-custom-range/logic.js +66 -0
  116. package/dist/components/date-picker-with-custom-range/styled.js +43 -0
  117. package/dist/components/divider/index.js +18 -0
  118. package/dist/components/divider/logic.js +13 -0
  119. package/dist/components/divider/styled.js +14 -0
  120. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  121. package/dist/components/geometry-picker/edit/index.js +1 -1
  122. package/dist/components/geometry-picker/geometry/index.js +1 -1
  123. package/dist/components/geometry-picker/index.js +7 -8
  124. package/dist/components/geometry-picker/kml/index.js +1 -1
  125. package/dist/components/geometry-picker/map/index.js +1 -1
  126. package/dist/components/geometry-picker/map/logic.js +65 -62
  127. package/dist/components/geometry-picker/map/style.js +1 -1
  128. package/dist/components/heat-map/components/controls/index.js +12 -0
  129. package/dist/components/heat-map/components/controls/styled.js +34 -0
  130. package/dist/components/heat-map/components/legend/index.js +26 -0
  131. package/dist/components/heat-map/components/legend/styled.js +14 -0
  132. package/dist/components/heat-map/index.js +37 -0
  133. package/dist/components/heat-map/logic.js +1945 -0
  134. package/dist/components/heat-map/styled.js +32 -0
  135. package/dist/components/icon-button/index.js +22 -15
  136. package/dist/components/icon-button/logic.js +15 -0
  137. package/dist/components/icon-button/styled.js +22 -10
  138. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  139. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
  140. package/dist/components/instance-form/components/variable/index.js +8 -8
  141. package/dist/components/instance-form/components/variables/index.js +1 -1
  142. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  143. package/dist/components/instance-variable-list/index.js +34 -29
  144. package/dist/components/instance-variable-list/styled.js +21 -21
  145. package/dist/components/instance-variable-list/variable.js +44 -74
  146. package/dist/components/linear-indicator/index.js +10 -67
  147. package/dist/components/linear-indicator/logic.js +47 -0
  148. package/dist/components/linear-indicator/styled.js +39 -40
  149. package/dist/components/map/helpers/kml.js +1 -1
  150. package/dist/components/map/helpers/mapbox.js +14 -14
  151. package/dist/components/map/helpers/ol.js +23 -19
  152. package/dist/components/map/helpers/wkt.js +26 -1314
  153. package/dist/components/map/index.js +1 -1
  154. package/dist/components/map/logic.js +113 -101
  155. package/dist/components/map/styled.js +39 -31
  156. package/dist/components/metric-card/MetricChart.js +50 -498
  157. package/dist/components/metric-card/index.js +94 -115
  158. package/dist/components/metric-card/logic.js +70 -131
  159. package/dist/components/object-profile-card/components/avatar/index.js +44 -0
  160. package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
  161. package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
  162. package/dist/components/object-profile-card/index.js +90 -0
  163. package/dist/components/object-profile-card/logic.js +33 -0
  164. package/dist/components/object-profile-card/styled.js +48 -0
  165. package/dist/components/paginated-list/index.js +93 -89
  166. package/dist/components/paginated-list/logic.js +51 -40
  167. package/dist/components/paginated-list/styled.js +25 -21
  168. package/dist/components/property-mapping/index.js +2 -2
  169. package/dist/components/prr-map/components/controls/index.js +12 -0
  170. package/dist/components/prr-map/components/controls/styled.js +34 -0
  171. package/dist/components/prr-map/components/legend/index.js +36 -0
  172. package/dist/components/prr-map/components/legend/styled.js +21 -0
  173. package/dist/components/prr-map/index.js +38 -0
  174. package/dist/components/prr-map/logic.js +104 -0
  175. package/dist/components/prr-map/styled.js +32 -0
  176. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  177. package/dist/components/range-selector/components/date-range/index.js +4282 -7
  178. package/dist/components/range-selector/index.js +1 -1
  179. package/dist/components/raster-grid-map/components/controls/index.js +12 -0
  180. package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
  181. package/dist/components/raster-grid-map/components/legend/index.js +14 -0
  182. package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
  183. package/dist/components/raster-grid-map/helpers.js +190 -0
  184. package/dist/components/raster-grid-map/index.js +38 -0
  185. package/dist/components/raster-grid-map/logic.js +172 -0
  186. package/dist/components/raster-grid-map/styled.js +32 -0
  187. package/dist/components/search-input/index.js +62 -140
  188. package/dist/components/search-input/logic.js +43 -0
  189. package/dist/components/search-input/styled.js +33 -0
  190. package/dist/components/simple-pivot-table/index.js +66 -0
  191. package/dist/components/simple-pivot-table/logic.js +51 -0
  192. package/dist/components/simple-pivot-table/styled.js +45 -0
  193. package/dist/components/static-text/index.js +18 -0
  194. package/dist/components/static-text/logic.js +13 -0
  195. package/dist/components/static-text/styled.js +45 -0
  196. package/dist/components/tabs/index.js +56 -2160
  197. package/dist/components/tabs/logic.js +36 -0
  198. package/dist/components/tabs/styled.js +94 -16
  199. package/dist/components/tabs/tab-panel.js +11 -10
  200. package/dist/components/template-filters/components/tab-panel/index.js +1 -1
  201. package/dist/components/template-form/components/property-list/index.js +7 -7
  202. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  203. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  204. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  205. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  206. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  207. package/dist/components/template-form/index.js +5 -5
  208. package/dist/components/template-property-filters/property.js +5 -5
  209. package/dist/components/timeline/index.js +61 -0
  210. package/dist/components/timeline/logic.js +40 -0
  211. package/dist/components/timeline/styled.js +48 -0
  212. package/dist/components/tree-select/index.js +5 -5
  213. package/dist/components/treeview-filter/item-label/index.js +3 -3
  214. package/dist/constant-BiOGvlZc.js +21 -0
  215. package/dist/createReactComponent-C7L-DMHj.js +60 -0
  216. package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
  217. package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
  218. package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
  219. package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
  220. package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
  221. package/dist/index-BMS1Otro.js +183 -0
  222. package/dist/index-C__OZmYy.js +663 -0
  223. package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
  224. package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
  225. package/dist/index-syTc6m_V.js +1934 -0
  226. package/dist/index.es-CHNMhaMi.js +2067 -0
  227. package/dist/index.esm-BLLrbTzY.js +318 -0
  228. package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
  229. package/dist/main.d.ts +1226 -358
  230. package/dist/main.js +141 -443
  231. package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
  232. package/dist/ol-yOE-NV0X.js +7465 -0
  233. package/dist/path-CNVruS--.js +84 -0
  234. package/dist/{property-list-form-C5hcK2y2.js → property-list-form-zZQfpR0X.js} +13 -13
  235. package/dist/styled-eZwjUruw.js +12 -0
  236. package/dist/useId-B4-oF9Mq.js +34 -0
  237. package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
  238. package/dist/useThemeProps-BzzHcQyd.js +58 -0
  239. package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
  240. package/package.json +42 -9
  241. package/dist/AxisRendererY-kADUad00.js +0 -18370
  242. package/dist/Box-B1AVyJ_s.js +0 -71
  243. package/dist/DateAxis-CMum47iz.js +0 -924
  244. package/dist/Input-CoIrGZAh.js +0 -326
  245. package/dist/InputLabel-CBuAYyuT.js +0 -1367
  246. package/dist/LineSeries-CfcpoYla.js +0 -549
  247. package/dist/OutlinedInput-B-iZoc9l.js +0 -450
  248. package/dist/Tabs-Cn42Z5QI.js +0 -789
  249. package/dist/components/collapsible-card/style.js +0 -49
  250. package/dist/components/profile-card/index.js +0 -80
  251. package/dist/components/profile-card/logic.js +0 -33
  252. package/dist/components/profile-card/styled.js +0 -43
  253. package/dist/components/tabs/appleTabs.style.js +0 -55
  254. package/dist/createStyled-BGx1I94c.js +0 -352
  255. package/dist/createTheme-CyC5HawC.js +0 -879
  256. package/dist/exactProp-cjT0t_Pt.js +0 -36
  257. package/dist/extendSxProp-FEpqY5_S.js +0 -30
  258. package/dist/index-DMSHuq6l.js +0 -688
  259. package/dist/index-SpeaLUQD.js +0 -10963
  260. package/dist/ol-lGwSyEIV.js +0 -15050
  261. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  262. package/dist/ownerWindow-niciwP7I.js +0 -7
  263. package/dist/styled-B8ugzvji.js +0 -12
  264. package/dist/useId-BHG98T5I.js +0 -26
  265. package/dist/useTheme-C15Eq8KG.js +0 -18
  266. package/dist/useTheme-D-uii9iX.js +0 -10
  267. package/dist/useThemeProps-DRP1dikX.js +0 -95
@@ -0,0 +1,36 @@
1
+ import { useThemeProps as S } from "@mui/material";
2
+ import { useState as g } from "react";
3
+ const T = (r) => {
4
+ const c = S({ props: r, name: "HCTabs" }), {
5
+ id: t = "tab",
6
+ defaultActive: e = 0,
7
+ tabContents: h,
8
+ styleVariant: d = "DEFAULT",
9
+ tabPanelStyle: f,
10
+ bottomOffset: w = 0,
11
+ disableHashState: o = !1,
12
+ onChange: n
13
+ } = c, b = typeof window < "u" ? new URLSearchParams(window.location.hash.substring(1)) : new URLSearchParams(), l = Number(b.get(t) ?? e), [m, p] = g(l), s = n !== void 0 ? e : m;
14
+ return {
15
+ refs: {},
16
+ state: { ownerState: {
17
+ id: t,
18
+ defaultActive: e,
19
+ tabContents: h,
20
+ styleVariant: d,
21
+ tabPanelStyle: f,
22
+ bottomOffset: w,
23
+ disableHashState: o,
24
+ activeTab: s
25
+ }, activeTab: s },
26
+ actions: { handleChange: (C, a) => {
27
+ if (p(a), n && n(a), !o && typeof window < "u") {
28
+ const i = new URLSearchParams(window.location.hash.substring(1));
29
+ i.set(t, String(a)), window.location.hash = `#${i.toString()}`;
30
+ }
31
+ } }
32
+ };
33
+ };
34
+ export {
35
+ T as useTabsLogic
36
+ };
@@ -1,20 +1,98 @@
1
- import { styled as t, Box as o } from "@mui/material";
2
- const e = t(o, {
3
- name: "SNTabs",
4
- // The component name
5
- slot: "root"
6
- // The slot name
7
- })(() => ({
1
+ import { styled as o, Box as e, Tabs as n, Tab as s, Badge as i } from "@mui/material";
2
+ const a = (t) => t !== "ownerState", d = o(e, {
3
+ name: "HCTabs",
4
+ slot: "root",
5
+ shouldForwardProp: a
6
+ })({
8
7
  width: "100%"
9
- })), s = t(o, {
10
- name: "SNTabs",
11
- // The component name
12
- slot: "tabContentContainer"
13
- // The slot name
14
- })(({ bottomoffset: n = 0 }) => ({
15
- maxHeight: `calc(100vh - ${n}px)`
8
+ }), b = o(n, {
9
+ name: "HCTabs",
10
+ slot: "tabs",
11
+ shouldForwardProp: a
12
+ })({}), r = o(s, {
13
+ name: "HCTabs",
14
+ slot: "tab"
15
+ })({}), p = o(n, {
16
+ name: "HCTabs",
17
+ slot: "appleTabs",
18
+ shouldForwardProp: a
19
+ })(({ theme: t }) => ({
20
+ backgroundColor: t.palette.mode === "light" ? "#DADADA" : t.palette.divider,
21
+ borderRadius: 13,
22
+ minHeight: 34,
23
+ boxShadow: t.shadows[4],
24
+ "& .MuiTabs-flexContainer": {
25
+ display: "inline-flex",
26
+ position: "relative",
27
+ zIndex: 1
28
+ },
29
+ "& .MuiTabs-scroller": {
30
+ [t.breakpoints.up("md")]: {
31
+ padding: "0 0px"
32
+ }
33
+ },
34
+ "& .MuiTabs-indicator": {
35
+ top: 3,
36
+ bottom: 3,
37
+ right: 3,
38
+ height: "auto",
39
+ background: "none",
40
+ "&:after": {
41
+ content: '""',
42
+ display: "block",
43
+ position: "absolute",
44
+ top: 0,
45
+ left: 4,
46
+ right: 4,
47
+ bottom: 0,
48
+ borderRadius: 11,
49
+ backgroundColor: t.palette.mode === "light" ? "#fff" : t.palette.action.selected,
50
+ boxShadow: t.shadows[3]
51
+ }
52
+ }
53
+ })), c = o(s, {
54
+ name: "HCTabs",
55
+ slot: "appleTab"
56
+ })(({ theme: t }) => ({
57
+ minHeight: 30,
58
+ minWidth: "auto",
59
+ padding: "8px 14.2px",
60
+ textTransform: "none",
61
+ color: t.palette.mode === "light" ? "#919191" : t.palette.text.primary,
62
+ "&:hover": {
63
+ opacity: 1
64
+ },
65
+ "&.Mui-selected": {
66
+ color: t.palette.text.primary
67
+ }
68
+ })), T = o(i, {
69
+ name: "HCTabs",
70
+ slot: "badge"
71
+ })({
72
+ "& .MuiBadge-badge": {
73
+ right: -7,
74
+ fontSize: 10,
75
+ width: 14,
76
+ height: 14,
77
+ minWidth: 14
78
+ }
79
+ }), g = o("div", {
80
+ name: "HCTabs",
81
+ slot: "panel"
82
+ })({}), u = o(e, {
83
+ name: "HCTabs",
84
+ slot: "panelContent",
85
+ shouldForwardProp: (t) => t !== "ownerState" && t !== "bottomOffset"
86
+ })(({ bottomOffset: t = 0 }) => ({
87
+ maxHeight: `calc(100vh - ${t}px)`
16
88
  }));
17
89
  export {
18
- s as TabContentContainer,
19
- e as TabsRoot
90
+ c as AppleTab,
91
+ p as AppleTabs,
92
+ r as DefaultTab,
93
+ b as DefaultTabs,
94
+ T as TabBadge,
95
+ u as TabPanelContent,
96
+ g as TabPanelRoot,
97
+ d as TabsRoot
20
98
  };
@@ -1,18 +1,19 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- function d(l) {
3
- const { children: i, value: a, index: e, ...n } = l;
4
- return /* @__PURE__ */ r(
5
- "div",
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { TabPanelRoot as i } from "./styled.js";
3
+ const d = (a) => {
4
+ const { children: n, value: l, index: e, style: r } = a;
5
+ return /* @__PURE__ */ t(
6
+ i,
6
7
  {
7
8
  role: "tabpanel",
8
- hidden: a !== e,
9
+ hidden: l !== e,
9
10
  id: `simple-tabpanel-${e}`,
10
11
  "aria-labelledby": `simple-tab-${e}`,
11
- ...n,
12
- children: a === e && i
12
+ style: r,
13
+ children: l === e && n
13
14
  }
14
15
  );
15
- }
16
+ };
16
17
  export {
17
- d as default
18
+ d as TabPanel
18
19
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { B as t } from "../../../../Box-B1AVyJ_s.js";
2
+ import { B as t } from "../../../../Box-p6OtTUEo.js";
3
3
  function p(i) {
4
4
  const { children: r, value: a, index: e, ...n } = i;
5
5
  return /* @__PURE__ */ l(
@@ -1,14 +1,14 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import { DataGrid as d } from "@mui/x-data-grid";
3
- import { A as n, a as m, d as s } from "../../../../Add-CMz4N2zT.js";
3
+ import { A as n, a as m, d as s } from "../../../../Add-DJLrrVHm.js";
4
4
  import p from "./property-list-columns.js";
5
- import { a as c } from "../../../../property-list-form-C5hcK2y2.js";
5
+ import { a as c } from "../../../../property-list-form-zZQfpR0X.js";
6
6
  import u from "./property-list-logic.js";
7
- import { B as f } from "../../../../Box-B1AVyJ_s.js";
8
- import { T as y } from "../../../../Typography-D1t7XuLN.js";
9
- import { B as h } from "../../../../Button-eqWvpDuh.js";
10
- import { D as g, a as b } from "../../../../DialogContent-CqTojymQ.js";
11
- import { D } from "../../../../dialog-BE4D6swf.js";
7
+ import { B as f } from "../../../../Box-p6OtTUEo.js";
8
+ import { T as y } from "../../../../Typography-CxbneZy_.js";
9
+ import { B as h } from "../../../../Button-CvE2gnly.js";
10
+ import { D as g, a as b } from "../../../../DialogContent-B3nbEbuv.js";
11
+ import { D } from "../../../../dialog-DcwXug9J.js";
12
12
  function v(t) {
13
13
  var a;
14
14
  const { state: o, action: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsxs as d, jsx as r, Fragment as s } from "react/jsx-runtime";
2
- import { d as u, a as b } from "../../../../Delete-86TO0fMo.js";
3
- import { T as l } from "../../../../Typography-D1t7XuLN.js";
4
- import { I as p } from "../../../../IconButton-DJ-31-Fd.js";
2
+ import { d as u, a as b } from "../../../../Delete-CW0UZv1m.js";
3
+ import { T as l } from "../../../../Typography-CxbneZy_.js";
4
+ import { I as p } from "../../../../IconButton-CHwRQF-g.js";
5
5
  const y = (o) => [
6
6
  { field: "name", headerName: "Name", flex: 1 },
7
7
  { field: "propertyId", headerName: "Property ID", flex: 1 },
@@ -1,16 +1,16 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "lodash";
4
- import { a as b } from "../../../../property-list-form-C5hcK2y2.js";
4
+ import { a as b } from "../../../../property-list-form-zZQfpR0X.js";
5
5
  import "../../../../constants/index.js";
6
- import "../../../../TextField-BQ8a50fA.js";
7
- import "../../../../InputLabel-CBuAYyuT.js";
8
- import "../../../../Select-t3ewnSdf.js";
9
- import "../../../../MenuItem-C6qlUyV3.js";
10
- import "../../../../FormControlLabel-BrdX4R71.js";
11
- import "../../../../Checkbox-CrU2hpWB.js";
12
- import "../../../../Box-B1AVyJ_s.js";
13
- import "../../../../Button-eqWvpDuh.js";
6
+ import "../../../../TextField-1yCesIbH.js";
7
+ import "../../../../FormControl-BLbrq4C7.js";
8
+ import "../../../../Select-BgYwkZgI.js";
9
+ import "../../../../MenuItem-xZx_w7zA.js";
10
+ import "../../../../FormControlLabel-C8SPv14J.js";
11
+ import "../../../../Checkbox-CWRMFTBp.js";
12
+ import "../../../../Box-p6OtTUEo.js";
13
+ import "../../../../Button-CvE2gnly.js";
14
14
  export {
15
15
  b as default
16
16
  };
@@ -1,14 +1,14 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { DataGrid as a } from "@mui/x-data-grid";
3
- import { A as n, a as d, d as s } from "../../../../Add-CMz4N2zT.js";
3
+ import { A as n, a as d, d as s } from "../../../../Add-DJLrrVHm.js";
4
4
  import m from "./recognition-property-list-columns.js";
5
5
  import c from "./recognition-property-list-form.js";
6
6
  import p from "./recognition-property-list-logic.js";
7
- import { B as g } from "../../../../Box-B1AVyJ_s.js";
8
- import { T as u } from "../../../../Typography-D1t7XuLN.js";
9
- import { B as h } from "../../../../Button-eqWvpDuh.js";
10
- import { D as f, a as y } from "../../../../DialogContent-CqTojymQ.js";
11
- import { D as b } from "../../../../dialog-BE4D6swf.js";
7
+ import { B as g } from "../../../../Box-p6OtTUEo.js";
8
+ import { T as u } from "../../../../Typography-CxbneZy_.js";
9
+ import { B as h } from "../../../../Button-CvE2gnly.js";
10
+ import { D as f, a as y } from "../../../../DialogContent-B3nbEbuv.js";
11
+ import { D as b } from "../../../../dialog-DcwXug9J.js";
12
12
  function L(i) {
13
13
  const { state: l, action: t } = p(i);
14
14
  return /* @__PURE__ */ r(g, { children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, Fragment as t, jsx as e } from "react/jsx-runtime";
2
- import { d as o, a as l } from "../../../../Delete-86TO0fMo.js";
3
- import { I as d } from "../../../../IconButton-DJ-31-Fd.js";
2
+ import { d as o, a as l } from "../../../../Delete-CW0UZv1m.js";
3
+ import { I as d } from "../../../../IconButton-CHwRQF-g.js";
4
4
  const h = (r) => [
5
5
  { field: "ownerType", headerName: "Owner Type", width: 120 },
6
6
  { field: "owner", headerName: "Owner", width: 120 },
@@ -1,13 +1,13 @@
1
1
  import V, { jsxs as i, Fragment as S, jsx as t } from "react/jsx-runtime";
2
2
  import o from "react";
3
- import { r as C, i as g } from "../../../../createSvgIcon-DLPYMuH1.js";
3
+ import { r as C, i as g } from "../../../../createSvgIcon-BjpIhJ30.js";
4
4
  import { RECOGNITION_PROPERTY_OWNER_TYPE as h, RECOGNITION_PROPERTY_TYPE as T, RECOGNITION_PROPERTY_TERM_MATCH as v } from "../../../../constants/index.js";
5
- import { F as c, I as u } from "../../../../InputLabel-CBuAYyuT.js";
6
- import { S as d } from "../../../../Select-t3ewnSdf.js";
7
- import { M as m } from "../../../../MenuItem-C6qlUyV3.js";
8
- import { T as b } from "../../../../TextField-BQ8a50fA.js";
9
- import { B as M } from "../../../../Box-B1AVyJ_s.js";
10
- import { B as y } from "../../../../Button-eqWvpDuh.js";
5
+ import { F as c, I as u } from "../../../../FormControl-BLbrq4C7.js";
6
+ import { S as d } from "../../../../Select-BgYwkZgI.js";
7
+ import { M as m } from "../../../../MenuItem-xZx_w7zA.js";
8
+ import { T as b } from "../../../../TextField-1yCesIbH.js";
9
+ import { B as M } from "../../../../Box-p6OtTUEo.js";
10
+ import { B as y } from "../../../../Button-CvE2gnly.js";
11
11
  var p = {}, q = g;
12
12
  Object.defineProperty(p, "__esModule", {
13
13
  value: !0
@@ -9,11 +9,11 @@ import { FormLabel as L, Button as g } from "@mui/material";
9
9
  import { getNestedChildrenFromMap as _ } from "../../utils/ontology.js";
10
10
  import { TreeSelect as w } from "../tree-select/index.js";
11
11
  import A from "./components/select-icon/index.js";
12
- import { T as m } from "../../TextField-BQ8a50fA.js";
13
- import { F as h } from "../../property-list-form-C5hcK2y2.js";
14
- import { F as d } from "../../FormControlLabel-BrdX4R71.js";
15
- import { C as c } from "../../Checkbox-CrU2hpWB.js";
16
- import { B as p } from "../../Box-B1AVyJ_s.js";
12
+ import { T as m } from "../../TextField-1yCesIbH.js";
13
+ import { F as h } from "../../property-list-form-zZQfpR0X.js";
14
+ import { F as d } from "../../FormControlLabel-C8SPv14J.js";
15
+ import { C as c } from "../../Checkbox-CWRMFTBp.js";
16
+ import { B as p } from "../../Box-p6OtTUEo.js";
17
17
  function B(e, x) {
18
18
  const {
19
19
  register: s,
@@ -4,11 +4,11 @@ import { KeyboardArrowUp as k, KeyboardArrowDown as w } from "@mui/icons-materia
4
4
  import { Typography as c, FormLabel as Y, FormGroup as D, Button as W } from "@mui/material";
5
5
  import { DatePicker as C } from "@mui/x-date-pickers";
6
6
  import f from "dayjs";
7
- import { B as r } from "../../Box-B1AVyJ_s.js";
8
- import { T as b } from "../../TextField-BQ8a50fA.js";
9
- import { F as O } from "../../FormControlLabel-BrdX4R71.js";
10
- import { C as z } from "../../Checkbox-CrU2hpWB.js";
11
- import { F as B } from "../../InputLabel-CBuAYyuT.js";
7
+ import { B as r } from "../../Box-p6OtTUEo.js";
8
+ import { T as b } from "../../TextField-1yCesIbH.js";
9
+ import { F as O } from "../../FormControlLabel-C8SPv14J.js";
10
+ import { C as z } from "../../Checkbox-CWRMFTBp.js";
11
+ import { F as B } from "../../FormControl-BLbrq4C7.js";
12
12
  const R = ({
13
13
  property: e,
14
14
  value: a,
@@ -0,0 +1,61 @@
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
+ import { Timeline as C, TimelineItem as v, TimelineOppositeContent as M, TimelineSeparator as S, TimelineConnector as d, TimelineContent as W } from "@mui/lab";
3
+ import { Skeleton as b, Typography as o, Divider as c, Box as k, Button as w } from "@mui/material";
4
+ import { useTimelineLogic as D } from "./logic.js";
5
+ import { TimelineRoot as h, TimelineContentWrap as m, TimelineHeader as L, TimelineDotStyled as j, LoadMoreWrap as B } from "./styled.js";
6
+ function q(p) {
7
+ const {
8
+ items: s,
9
+ hasMore: T,
10
+ loadMore: x,
11
+ formatDate: g,
12
+ title: t,
13
+ loading: u,
14
+ dotIcon: f,
15
+ ownerState: i,
16
+ sx: l,
17
+ other: a
18
+ } = D(p);
19
+ return u ? /* @__PURE__ */ e(h, { ownerState: i, sx: l, ...a, children: /* @__PURE__ */ e(m, { ownerState: i, children: /* @__PURE__ */ e(b, { variant: "rectangular", width: "100%", height: "100%" }) }) }) : /* @__PURE__ */ n(h, { ownerState: i, sx: l, ...a, children: [
20
+ t && /* @__PURE__ */ e(L, { ownerState: i, children: /* @__PURE__ */ e(o, { variant: "h2", children: t }) }),
21
+ /* @__PURE__ */ n(m, { ownerState: i, children: [
22
+ /* @__PURE__ */ e(c, {}),
23
+ /* @__PURE__ */ e(C, { children: s.map((r) => /* @__PURE__ */ n(v, { children: [
24
+ /* @__PURE__ */ e(
25
+ M,
26
+ {
27
+ sx: { m: "auto 0", flex: 0.5 },
28
+ align: "right",
29
+ variant: "caption",
30
+ color: "text.secondary",
31
+ children: g(r)
32
+ }
33
+ ),
34
+ /* @__PURE__ */ n(S, { children: [
35
+ /* @__PURE__ */ e(d, {}),
36
+ /* @__PURE__ */ e(j, { children: f || /* @__PURE__ */ e(
37
+ k,
38
+ {
39
+ sx: (y) => ({
40
+ width: 12,
41
+ height: 12,
42
+ borderRadius: "50%",
43
+ backgroundColor: y.palette.primary.main
44
+ })
45
+ }
46
+ ) }),
47
+ /* @__PURE__ */ e(d, {})
48
+ ] }),
49
+ /* @__PURE__ */ n(W, { sx: { py: "12px", px: 2 }, children: [
50
+ /* @__PURE__ */ e(o, { variant: "body2", component: "span", children: r.title }),
51
+ /* @__PURE__ */ e(o, { component: "span", children: r.description })
52
+ ] })
53
+ ] }, r.id)) }),
54
+ /* @__PURE__ */ e(c, {}),
55
+ T && /* @__PURE__ */ e(B, { ownerState: i, children: /* @__PURE__ */ e(w, { onClick: x, fullWidth: !0, size: "large", children: "Load More" }) })
56
+ ] })
57
+ ] });
58
+ }
59
+ export {
60
+ q as TimelineWidget
61
+ };
@@ -0,0 +1,40 @@
1
+ import { useThemeProps as M } from "@mui/material";
2
+ import w from "lodash";
3
+ import { useState as y, useMemo as C } from "react";
4
+ const i = {
5
+ day: "numeric",
6
+ month: "long",
7
+ year: "numeric",
8
+ hour: "numeric",
9
+ minute: "2-digit",
10
+ hour12: !0
11
+ }, x = (c) => {
12
+ const e = M({ props: c, name: "HCTimeline" }), {
13
+ data: o,
14
+ title: m,
15
+ loading: u,
16
+ pageSize: r = 5,
17
+ dotIcon: l,
18
+ locale: n = "en-US",
19
+ sx: p,
20
+ ...d
21
+ } = e, [s, g] = y(r), a = C(
22
+ () => w.orderBy(o ?? [], ["startDate"], ["desc"]),
23
+ [o]
24
+ ), S = a.slice(0, s), h = s < a.length, D = () => g((t) => t + r), f = (t) => t.startDate ? new Date(t.startDate).toLocaleString(n, i) : t.timestamp ? new Date(t.timestamp).toLocaleString(n, i) : "No date", T = { ...e };
25
+ return {
26
+ items: S,
27
+ hasMore: h,
28
+ loadMore: D,
29
+ formatDate: f,
30
+ title: m,
31
+ loading: u,
32
+ dotIcon: l,
33
+ ownerState: T,
34
+ sx: p,
35
+ other: d
36
+ };
37
+ };
38
+ export {
39
+ x as useTimelineLogic
40
+ };
@@ -0,0 +1,48 @@
1
+ import { TimelineDot as n } from "@mui/lab";
2
+ import { styled as o, Paper as r, Box as t } from "@mui/material";
3
+ const a = o(r, {
4
+ name: "HCTimeline",
5
+ slot: "Root",
6
+ shouldForwardProp: (e) => e !== "ownerState"
7
+ })(() => ({
8
+ height: "100%",
9
+ display: "flex",
10
+ flexDirection: "column"
11
+ })), d = o(t, {
12
+ name: "HCTimeline",
13
+ slot: "Header",
14
+ shouldForwardProp: (e) => e !== "ownerState"
15
+ })(({ theme: e }) => ({
16
+ flex: "0 0 auto",
17
+ padding: e.spacing(1.25, 2)
18
+ })), m = o(t, {
19
+ name: "HCTimeline",
20
+ slot: "Content",
21
+ shouldForwardProp: (e) => e !== "ownerState"
22
+ })(() => ({
23
+ display: "flex",
24
+ flexDirection: "column",
25
+ flex: "1 1 auto",
26
+ minHeight: 0,
27
+ overflow: "auto"
28
+ })), s = o(n, {
29
+ name: "HCTimeline",
30
+ slot: "Dot"
31
+ })(() => ({
32
+ padding: 0,
33
+ backgroundColor: "transparent",
34
+ boxShadow: "none"
35
+ })), p = o(t, {
36
+ name: "HCTimeline",
37
+ slot: "LoadMore",
38
+ shouldForwardProp: (e) => e !== "ownerState"
39
+ })(() => ({
40
+ textAlign: "center"
41
+ }));
42
+ export {
43
+ p as LoadMoreWrap,
44
+ m as TimelineContentWrap,
45
+ s as TimelineDotStyled,
46
+ d as TimelineHeader,
47
+ a as TimelineRoot
48
+ };
@@ -3,11 +3,11 @@ import m from "react";
3
3
  import { TreeViewFilter as b } from "../treeview-filter/index.js";
4
4
  import i from "lodash";
5
5
  import { flattenNestedTemplates as A } from "../../utils/ontology.js";
6
- import { a as M, F as j, I as k } from "../../InputLabel-CBuAYyuT.js";
7
- import { S as B } from "../../Select-t3ewnSdf.js";
8
- import { M as L } from "../../MenuItem-C6qlUyV3.js";
9
- import { D as w, a as y, b as N } from "../../DialogContent-CqTojymQ.js";
10
- import { B as R } from "../../Button-eqWvpDuh.js";
6
+ import { a as M, F as j, I as k } from "../../FormControl-BLbrq4C7.js";
7
+ import { S as B } from "../../Select-BgYwkZgI.js";
8
+ import { M as L } from "../../MenuItem-xZx_w7zA.js";
9
+ import { D as w, a as y, b as N } from "../../DialogContent-B3nbEbuv.js";
10
+ import { B as R } from "../../Button-CvE2gnly.js";
11
11
  const Z = ({
12
12
  data: g,
13
13
  label: a,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { B as s } from "../../../Box-B1AVyJ_s.js";
3
- import { C as p } from "../../../Checkbox-CrU2hpWB.js";
4
- import { T as h } from "../../../Typography-D1t7XuLN.js";
2
+ import { B as s } from "../../../Box-p6OtTUEo.js";
3
+ import { C as p } from "../../../Checkbox-CWRMFTBp.js";
4
+ import { T as h } from "../../../Typography-CxbneZy_.js";
5
5
  function u({
6
6
  id: o,
7
7
  name: n,
@@ -0,0 +1,21 @@
1
+ function t(n) {
2
+ return n == null ? null : r(n);
3
+ }
4
+ function r(n) {
5
+ if (typeof n != "function") throw new Error();
6
+ return n;
7
+ }
8
+ function o() {
9
+ return 0;
10
+ }
11
+ function u(n) {
12
+ return function() {
13
+ return n;
14
+ };
15
+ }
16
+ export {
17
+ u as a,
18
+ o as c,
19
+ t as o,
20
+ r
21
+ };
@@ -0,0 +1,60 @@
1
+ import { forwardRef as u, createElement as e } from "react";
2
+ /**
3
+ * @license @tabler/icons-react v3.44.0 - MIT
4
+ *
5
+ * This source code is licensed under the MIT license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ var k = {
9
+ outline: {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ width: 24,
12
+ height: 24,
13
+ viewBox: "0 0 24 24",
14
+ fill: "none",
15
+ stroke: "currentColor",
16
+ strokeWidth: 2,
17
+ strokeLinecap: "round",
18
+ strokeLinejoin: "round"
19
+ },
20
+ filled: {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: 24,
23
+ height: 24,
24
+ viewBox: "0 0 24 24",
25
+ fill: "currentColor",
26
+ stroke: "none"
27
+ }
28
+ };
29
+ /**
30
+ * @license @tabler/icons-react v3.44.0 - MIT
31
+ *
32
+ * This source code is licensed under the MIT license.
33
+ * See the LICENSE file in the root directory of this source tree.
34
+ */
35
+ const v = (i, s, a, l) => {
36
+ const o = u(
37
+ ({ color: w = "currentColor", size: r = 24, stroke: c = 2, title: n, className: h, children: t, ...m }, d) => e(
38
+ "svg",
39
+ {
40
+ ref: d,
41
+ ...k[i],
42
+ width: r,
43
+ height: r,
44
+ className: ["tabler-icon", `tabler-icon-${s}`, h].join(" "),
45
+ strokeWidth: c,
46
+ stroke: w,
47
+ ...m
48
+ },
49
+ [
50
+ n && e("title", { key: "svg-title" }, n),
51
+ ...l.map(([g, p]) => e(g, p)),
52
+ ...Array.isArray(t) ? t : [t]
53
+ ]
54
+ )
55
+ );
56
+ return o.displayName = `${a}`, o;
57
+ };
58
+ export {
59
+ v as c
60
+ };