@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
@@ -1,49 +0,0 @@
1
- import i, { jsx as r } from "react/jsx-runtime";
2
- import { r as n, i as s } from "../../createSvgIcon-DLPYMuH1.js";
3
- import { s as o } from "../../styled-B8ugzvji.js";
4
- import { A as d, a as c, b as u } from "../../AccordionDetails-DhriPVPP.js";
5
- var t = {}, p = s;
6
- Object.defineProperty(t, "__esModule", {
7
- value: !0
8
- });
9
- var a = t.default = void 0, m = p(n()), l = i;
10
- a = t.default = (0, m.default)(/* @__PURE__ */ (0, l.jsx)("path", {
11
- d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"
12
- }), "ArrowForwardIosSharp");
13
- const A = o((e) => /* @__PURE__ */ r(d, { disableGutters: !0, elevation: 0, square: !0, ...e }))(() => ({
14
- "&:not(:last-child)": {
15
- borderBottom: 0
16
- },
17
- "&:before": {
18
- display: "none"
19
- }
20
- })), S = o((e) => /* @__PURE__ */ r(
21
- c,
22
- {
23
- expandIcon: /* @__PURE__ */ r(a, { sx: { fontSize: 12 } }),
24
- ...e
25
- }
26
- ))(({ theme: e }) => ({
27
- fontSize: "14px",
28
- minHeight: "auto",
29
- height: 44,
30
- flexDirection: "row-reverse",
31
- "& .MuiAccordionSummary-expandIconWrapper.Mui-expanded": {
32
- transform: "rotate(90deg)"
33
- },
34
- "& .MuiAccordionSummary-content": {
35
- display: "flex",
36
- margin: e.spacing(1),
37
- marginRight: 0,
38
- justifyContent: "space-between",
39
- alignItems: "center"
40
- }
41
- })), y = o(u)(({ theme: e }) => ({
42
- padding: e.spacing(2),
43
- paddingTop: 0
44
- }));
45
- export {
46
- A as Accordion,
47
- y as AccordionDetails,
48
- S as AccordionSummary
49
- };
@@ -1,80 +0,0 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { ArrowRight as d } from "@mui/icons-material";
3
- import { Box as l, Typography as n } from "@mui/material";
4
- import p from "lodash";
5
- import x from "react";
6
- import b from "../instance-variable-list/variable.js";
7
- import { useProfileCardLogic as u } from "./logic.js";
8
- import { ProfileCardRoot as v, ProfileCardImage as P, ProfileCardHierarchy as C, ProfileCardVariables as I } from "./styled.js";
9
- function A(s) {
10
- const {
11
- instance: r,
12
- imageUrl: h,
13
- templateHierarchy: m,
14
- propertyNames: c,
15
- ownerState: a,
16
- sx: f,
17
- templateIconUrl: g,
18
- other: y
19
- } = u(s);
20
- return console.log(c, 26), /* @__PURE__ */ i(v, { ownerState: a, sx: f, ...y, children: [
21
- /* @__PURE__ */ e(l, { mb: 2, children: /* @__PURE__ */ e(
22
- P,
23
- {
24
- src: h || "https://picsum.photos/600/400",
25
- alt: "Profile",
26
- ownerState: a
27
- }
28
- ) }),
29
- /* @__PURE__ */ i(l, { display: "flex", alignItems: "center", mb: 1, children: [
30
- /* @__PURE__ */ e("img", { src: g, alt: "Template Icon" }),
31
- /* @__PURE__ */ e(n, { variant: "h5", component: "h2", gutterBottom: !0, children: r.title })
32
- ] }),
33
- r.description && /* @__PURE__ */ e(n, { variant: "body1", paragraph: !0, children: r.description }),
34
- /* @__PURE__ */ i(C, { ownerState: a, children: [
35
- m.map((t, o) => /* @__PURE__ */ i(l, { display: "inline", alignItems: "center", children: [
36
- o > 0 && /* @__PURE__ */ e(
37
- d,
38
- {
39
- sx: { height: 20, verticalAlign: "middle" },
40
- color: "disabled"
41
- }
42
- ),
43
- /* @__PURE__ */ e(n, { variant: "caption", color: "text.secondary", children: t.name })
44
- ] }, t.id || o)),
45
- /* @__PURE__ */ i(l, { display: "inline", alignItems: "center", children: [
46
- m.length > 0 && /* @__PURE__ */ e(
47
- d,
48
- {
49
- sx: { height: 20, verticalAlign: "middle" },
50
- color: "disabled"
51
- }
52
- ),
53
- /* @__PURE__ */ e(
54
- n,
55
- {
56
- variant: "caption",
57
- color: "text.secondary",
58
- fontWeight: "bold",
59
- children: r.template.name
60
- }
61
- )
62
- ] })
63
- ] }),
64
- /* @__PURE__ */ e(I, { ownerState: a, children: p.keys(r.variables).map((t, o) => /* @__PURE__ */ e(
65
- b,
66
- {
67
- type: t,
68
- data: p.get(r.variables, t),
69
- hashPrefix: `${r.template.type}-${r.template.templateKey}-`,
70
- properties: c
71
- },
72
- o
73
- )) })
74
- ] });
75
- }
76
- const V = x.memo(A);
77
- export {
78
- A as ProfileCard,
79
- V as default
80
- };
@@ -1,33 +0,0 @@
1
- import { useThemeProps as g } from "@mui/material";
2
- import { useMemo as n } from "react";
3
- import { getTemplateHierarchy as C } from "../../utils/ontology.js";
4
- const P = (c) => {
5
- const a = g({ props: c, name: "HCProfileCard" }), { instance: t, templates: e, sx: m, ...i } = a, l = t.profileImageUrl, o = e.get(t.template.id), f = o == null ? void 0 : o.icon, h = n(() => {
6
- const r = e.get(t.template.id);
7
- return r ? C(e, r) : [];
8
- }, [e, t.template.id]), u = n(() => {
9
- const r = /* @__PURE__ */ new Map();
10
- return e && e.forEach((s) => {
11
- s.properties.forEach((p) => {
12
- const d = `${s.type}-${s.templateKey}-${p.propertyId}`;
13
- r.set(d, p.name);
14
- });
15
- }), r;
16
- }, [e]), y = {
17
- ...a
18
- };
19
- return {
20
- instance: t,
21
- templates: e,
22
- imageUrl: l,
23
- templateHierarchy: h,
24
- propertyNames: u,
25
- ownerState: y,
26
- sx: m,
27
- templateIconUrl: f,
28
- other: i
29
- };
30
- };
31
- export {
32
- P as useProfileCardLogic
33
- };
@@ -1,43 +0,0 @@
1
- import { styled as e, Container as i, Box as a } from "@mui/material";
2
- const d = e(i, {
3
- name: "HCProfileCard",
4
- slot: "Root",
5
- overridesResolver: (r, o) => o.root
6
- })(({ theme: r }) => ({
7
- display: "flex",
8
- flexDirection: "column",
9
- alignItems: "center",
10
- padding: r.spacing(3),
11
- borderRadius: r.shape.borderRadius * 2,
12
- boxShadow: r.shadows[1],
13
- backgroundColor: r.palette.background.paper
14
- })), l = e("img", {
15
- name: "HCProfileCard",
16
- slot: "Image",
17
- overridesResolver: (r, o) => o.image
18
- })(({ theme: r }) => ({
19
- maxWidth: 200,
20
- borderRadius: "100%",
21
- height: 200,
22
- marginBottom: r.spacing(2)
23
- })), t = e(a, {
24
- name: "HCProfileCard",
25
- slot: "Hierarchy",
26
- overridesResolver: (r, o) => o.hierarchy
27
- })(({ theme: r }) => ({
28
- marginLeft: 0,
29
- marginBottom: r.spacing(2),
30
- textAlign: "left"
31
- })), n = e(a, {
32
- name: "HCProfileCard",
33
- slot: "Variables",
34
- overridesResolver: (r, o) => o.variables
35
- })(({ theme: r }) => ({
36
- paddingTop: r.spacing(2)
37
- }));
38
- export {
39
- t as ProfileCardHierarchy,
40
- l as ProfileCardImage,
41
- d as ProfileCardRoot,
42
- n as ProfileCardVariables
43
- };
@@ -1,55 +0,0 @@
1
- import { styled as t, Tabs as a, Tab as i } from "@mui/material";
2
- const e = t(a)(({ theme: o }) => ({
3
- backgroundColor: o.palette.mode === "light" ? "#DADADA" : o.palette.divider,
4
- borderRadius: 13,
5
- minHeight: 34,
6
- boxShadow: o.shadows[4],
7
- "& .MuiTabs-flexContainer": {
8
- display: "inline-flex",
9
- position: "relative",
10
- zIndex: 1
11
- },
12
- "& .MuiTabs-scroller": {
13
- [o.breakpoints.up("md")]: {
14
- padding: "0 0px"
15
- }
16
- },
17
- "& .MuiTabs-indicator": {
18
- top: 3,
19
- bottom: 3,
20
- right: 3,
21
- height: "auto",
22
- background: "none",
23
- "&:after": {
24
- content: '""',
25
- display: "block",
26
- position: "absolute",
27
- top: 0,
28
- left: 4,
29
- right: 4,
30
- bottom: 0,
31
- borderRadius: 11,
32
- backgroundColor: o.palette.mode === "light" ? "#fff" : o.palette.action.selected,
33
- boxShadow: o.shadows[3]
34
- }
35
- }
36
- })), r = t(i)(({ theme: o }) => ({
37
- minHeight: 30,
38
- minWidth: "auto",
39
- padding: "8px 14.2px",
40
- textTransform: "none",
41
- color: o.palette.mode === "light" ? "#919191" : o.palette.text.primary,
42
- "&:hover": {
43
- opacity: 1
44
- },
45
- "&.Mui-selected": {
46
- // padding: '8px 22px',
47
- color: o.palette.text.primary
48
- }
49
- })), l = {
50
- Tabs: e,
51
- Item: r
52
- };
53
- export {
54
- l as default
55
- };
@@ -1,352 +0,0 @@
1
- import { _ as k, a as R } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import { b as pe, f as ye, s as ve, c as Se, e as Ee, i as _e } from "./createTheme-CyC5HawC.js";
3
- var W = { exports: {} }, o = {};
4
- /**
5
- * @license React
6
- * react-is.production.min.js
7
- *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var G;
14
- function Re() {
15
- if (G) return o;
16
- G = 1;
17
- var r = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), d = Symbol.for("react.context"), S = Symbol.for("react.server_context"), i = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), $;
18
- $ = Symbol.for("react.module.reference");
19
- function y(e) {
20
- if (typeof e == "object" && e !== null) {
21
- var T = e.$$typeof;
22
- switch (T) {
23
- case r:
24
- switch (e = e.type, e) {
25
- case n:
26
- case l:
27
- case f:
28
- case u:
29
- case m:
30
- return e;
31
- default:
32
- switch (e = e && e.$$typeof, e) {
33
- case S:
34
- case d:
35
- case i:
36
- case E:
37
- case h:
38
- case p:
39
- return e;
40
- default:
41
- return T;
42
- }
43
- }
44
- case a:
45
- return T;
46
- }
47
- }
48
- }
49
- return o.ContextConsumer = d, o.ContextProvider = p, o.Element = r, o.ForwardRef = i, o.Fragment = n, o.Lazy = E, o.Memo = h, o.Portal = a, o.Profiler = l, o.StrictMode = f, o.Suspense = u, o.SuspenseList = m, o.isAsyncMode = function() {
50
- return !1;
51
- }, o.isConcurrentMode = function() {
52
- return !1;
53
- }, o.isContextConsumer = function(e) {
54
- return y(e) === d;
55
- }, o.isContextProvider = function(e) {
56
- return y(e) === p;
57
- }, o.isElement = function(e) {
58
- return typeof e == "object" && e !== null && e.$$typeof === r;
59
- }, o.isForwardRef = function(e) {
60
- return y(e) === i;
61
- }, o.isFragment = function(e) {
62
- return y(e) === n;
63
- }, o.isLazy = function(e) {
64
- return y(e) === E;
65
- }, o.isMemo = function(e) {
66
- return y(e) === h;
67
- }, o.isPortal = function(e) {
68
- return y(e) === a;
69
- }, o.isProfiler = function(e) {
70
- return y(e) === l;
71
- }, o.isStrictMode = function(e) {
72
- return y(e) === f;
73
- }, o.isSuspense = function(e) {
74
- return y(e) === u;
75
- }, o.isSuspenseList = function(e) {
76
- return y(e) === m;
77
- }, o.isValidElementType = function(e) {
78
- return typeof e == "string" || typeof e == "function" || e === n || e === l || e === f || e === u || e === m || e === x || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === h || e.$$typeof === p || e.$$typeof === d || e.$$typeof === i || e.$$typeof === $ || e.getModuleId !== void 0);
79
- }, o.typeOf = y, o;
80
- }
81
- var s = {};
82
- /**
83
- * @license React
84
- * react-is.development.js
85
- *
86
- * Copyright (c) Facebook, Inc. and its affiliates.
87
- *
88
- * This source code is licensed under the MIT license found in the
89
- * LICENSE file in the root directory of this source tree.
90
- */
91
- var H;
92
- function he() {
93
- return H || (H = 1, process.env.NODE_ENV !== "production" && function() {
94
- var r = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), d = Symbol.for("react.context"), S = Symbol.for("react.server_context"), i = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), $ = !1, y = !1, e = !1, T = !1, A = !1, M;
95
- M = Symbol.for("react.module.reference");
96
- function O(t) {
97
- return !!(typeof t == "string" || typeof t == "function" || t === n || t === l || A || t === f || t === u || t === m || T || t === x || $ || y || e || typeof t == "object" && t !== null && (t.$$typeof === E || t.$$typeof === h || t.$$typeof === p || t.$$typeof === d || t.$$typeof === i || // This needs to include all possible module reference object
98
- // types supported by any Flight configuration anywhere since
99
- // we don't know which Flight build this will end up being used
100
- // with.
101
- t.$$typeof === M || t.getModuleId !== void 0));
102
- }
103
- function c(t) {
104
- if (typeof t == "object" && t !== null) {
105
- var j = t.$$typeof;
106
- switch (j) {
107
- case r:
108
- var I = t.type;
109
- switch (I) {
110
- case n:
111
- case l:
112
- case f:
113
- case u:
114
- case m:
115
- return I;
116
- default:
117
- var X = I && I.$$typeof;
118
- switch (X) {
119
- case S:
120
- case d:
121
- case i:
122
- case E:
123
- case h:
124
- case p:
125
- return X;
126
- default:
127
- return j;
128
- }
129
- }
130
- case a:
131
- return j;
132
- }
133
- }
134
- }
135
- var b = d, F = p, P = r, L = i, N = n, v = E, _ = h, C = a, w = l, D = f, V = u, Q = m, q = !1, U = !1;
136
- function ee(t) {
137
- return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
138
- }
139
- function re(t) {
140
- return U || (U = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
141
- }
142
- function te(t) {
143
- return c(t) === d;
144
- }
145
- function ne(t) {
146
- return c(t) === p;
147
- }
148
- function oe(t) {
149
- return typeof t == "object" && t !== null && t.$$typeof === r;
150
- }
151
- function se(t) {
152
- return c(t) === i;
153
- }
154
- function ie(t) {
155
- return c(t) === n;
156
- }
157
- function ae(t) {
158
- return c(t) === E;
159
- }
160
- function ce(t) {
161
- return c(t) === h;
162
- }
163
- function ue(t) {
164
- return c(t) === a;
165
- }
166
- function fe(t) {
167
- return c(t) === l;
168
- }
169
- function le(t) {
170
- return c(t) === f;
171
- }
172
- function de(t) {
173
- return c(t) === u;
174
- }
175
- function me(t) {
176
- return c(t) === m;
177
- }
178
- s.ContextConsumer = b, s.ContextProvider = F, s.Element = P, s.ForwardRef = L, s.Fragment = N, s.Lazy = v, s.Memo = _, s.Portal = C, s.Profiler = w, s.StrictMode = D, s.Suspense = V, s.SuspenseList = Q, s.isAsyncMode = ee, s.isConcurrentMode = re, s.isContextConsumer = te, s.isContextProvider = ne, s.isElement = oe, s.isForwardRef = se, s.isFragment = ie, s.isLazy = ae, s.isMemo = ce, s.isPortal = ue, s.isProfiler = fe, s.isStrictMode = le, s.isSuspense = de, s.isSuspenseList = me, s.isValidElementType = O, s.typeOf = c;
179
- }()), s;
180
- }
181
- process.env.NODE_ENV === "production" ? W.exports = Re() : W.exports = he();
182
- var Z = W.exports;
183
- const be = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
184
- function Te(r) {
185
- const a = `${r}`.match(be);
186
- return a && a[1] || "";
187
- }
188
- function K(r, a = "") {
189
- return r.displayName || r.name || Te(r) || a;
190
- }
191
- function B(r, a, n) {
192
- const f = K(a);
193
- return r.displayName || (f !== "" ? `${n}(${f})` : n);
194
- }
195
- function Pe(r) {
196
- if (r != null) {
197
- if (typeof r == "string")
198
- return r;
199
- if (typeof r == "function")
200
- return K(r, "Component");
201
- if (typeof r == "object")
202
- switch (r.$$typeof) {
203
- case Z.ForwardRef:
204
- return B(r, r.render, "ForwardRef");
205
- case Z.Memo:
206
- return B(r, r.type, "memo");
207
- default:
208
- return;
209
- }
210
- }
211
- }
212
- const Ce = ["ownerState"], $e = ["variants"], we = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
213
- function xe(r) {
214
- return Object.keys(r).length === 0;
215
- }
216
- function Ae(r) {
217
- return typeof r == "string" && // 96 is one less than the char code
218
- // for "a" so this is checking that
219
- // it's a lowercase character
220
- r.charCodeAt(0) > 96;
221
- }
222
- function z(r) {
223
- return r !== "ownerState" && r !== "theme" && r !== "sx" && r !== "as";
224
- }
225
- const Me = pe(), J = (r) => r && r.charAt(0).toLowerCase() + r.slice(1);
226
- function g({
227
- defaultTheme: r,
228
- theme: a,
229
- themeId: n
230
- }) {
231
- return xe(a) ? r : a[n] || a;
232
- }
233
- function Fe(r) {
234
- return r ? (a, n) => n[r] : null;
235
- }
236
- function Y(r, a) {
237
- let {
238
- ownerState: n
239
- } = a, f = k(a, Ce);
240
- const l = typeof r == "function" ? r(R({
241
- ownerState: n
242
- }, f)) : r;
243
- if (Array.isArray(l))
244
- return l.flatMap((p) => Y(p, R({
245
- ownerState: n
246
- }, f)));
247
- if (l && typeof l == "object" && Array.isArray(l.variants)) {
248
- const {
249
- variants: p = []
250
- } = l;
251
- let S = k(l, $e);
252
- return p.forEach((i) => {
253
- let u = !0;
254
- typeof i.props == "function" ? u = i.props(R({
255
- ownerState: n
256
- }, f, n)) : Object.keys(i.props).forEach((m) => {
257
- (n == null ? void 0 : n[m]) !== i.props[m] && f[m] !== i.props[m] && (u = !1);
258
- }), u && (Array.isArray(S) || (S = [S]), S.push(typeof i.style == "function" ? i.style(R({
259
- ownerState: n
260
- }, f, n)) : i.style));
261
- }), S;
262
- }
263
- return l;
264
- }
265
- function Le(r = {}) {
266
- const {
267
- themeId: a,
268
- defaultTheme: n = Me,
269
- rootShouldForwardProp: f = z,
270
- slotShouldForwardProp: l = z
271
- } = r, p = (d) => Ee(R({}, d, {
272
- theme: g(R({}, d, {
273
- defaultTheme: n,
274
- themeId: a
275
- }))
276
- }));
277
- return p.__mui_systemSx = !0, (d, S = {}) => {
278
- ye(d, (c) => c.filter((b) => !(b != null && b.__mui_systemSx)));
279
- const {
280
- name: i,
281
- slot: u,
282
- skipVariantsResolver: m,
283
- skipSx: h,
284
- // TODO v6: remove `lowercaseFirstLetter()` in the next major release
285
- // For more details: https://github.com/mui/material-ui/pull/37908
286
- overridesResolver: E = Fe(J(u))
287
- } = S, x = k(S, we), $ = m !== void 0 ? m : (
288
- // TODO v6: remove `Root` in the next major release
289
- // For more details: https://github.com/mui/material-ui/pull/37908
290
- u && u !== "Root" && u !== "root" || !1
291
- ), y = h || !1;
292
- let e;
293
- process.env.NODE_ENV !== "production" && i && (e = `${i}-${J(u || "Root")}`);
294
- let T = z;
295
- u === "Root" || u === "root" ? T = f : u ? T = l : Ae(d) && (T = void 0);
296
- const A = ve(d, R({
297
- shouldForwardProp: T,
298
- label: e
299
- }, x)), M = (c) => typeof c == "function" && c.__emotion_real !== c || _e(c) ? (b) => Y(c, R({}, b, {
300
- theme: g({
301
- theme: b.theme,
302
- defaultTheme: n,
303
- themeId: a
304
- })
305
- })) : c, O = (c, ...b) => {
306
- let F = M(c);
307
- const P = b ? b.map(M) : [];
308
- i && E && P.push((v) => {
309
- const _ = g(R({}, v, {
310
- defaultTheme: n,
311
- themeId: a
312
- }));
313
- if (!_.components || !_.components[i] || !_.components[i].styleOverrides)
314
- return null;
315
- const C = _.components[i].styleOverrides, w = {};
316
- return Object.entries(C).forEach(([D, V]) => {
317
- w[D] = Y(V, R({}, v, {
318
- theme: _
319
- }));
320
- }), E(v, w);
321
- }), i && !$ && P.push((v) => {
322
- var _;
323
- const C = g(R({}, v, {
324
- defaultTheme: n,
325
- themeId: a
326
- })), w = C == null || (_ = C.components) == null || (_ = _[i]) == null ? void 0 : _.variants;
327
- return Y({
328
- variants: w
329
- }, R({}, v, {
330
- theme: C
331
- }));
332
- }), y || P.push(p);
333
- const L = P.length - b.length;
334
- if (Array.isArray(c) && L > 0) {
335
- const v = new Array(L).fill("");
336
- F = [...c, ...v], F.raw = [...c.raw, ...v];
337
- }
338
- const N = A(F, ...P);
339
- if (process.env.NODE_ENV !== "production") {
340
- let v;
341
- i && (v = `${i}${Se(u || "")}`), v === void 0 && (v = `Styled(${Pe(d)})`), N.displayName = v;
342
- }
343
- return d.muiName && (N.muiName = d.muiName), N;
344
- };
345
- return A.withConfig && (O.withConfig = A.withConfig), O;
346
- };
347
- }
348
- export {
349
- Le as c,
350
- Z as r,
351
- z as s
352
- };