@hybridcore/ui 1.5.90 → 1.6.1

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 (325) hide show
  1. package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-CMg08YSA.js} +91 -95
  2. package/dist/{Add-CMz4N2zT.js → Add-DuVVJeQU.js} +35 -36
  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/Bullet-DVczI2TD.js +41 -0
  7. package/dist/Button-CcsPEIDh.js +35 -0
  8. package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-sObABYY2.js} +62 -58
  9. package/dist/CategoryAxis-CwnfaGc8.js +458 -0
  10. package/dist/Circle-Cy5s-pVc.js +27 -0
  11. package/dist/ColorSet-C7vpNXhM.js +2957 -0
  12. package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
  13. package/dist/DataProcessor-CHDO51q4.js +83 -0
  14. package/dist/DateAxis-YX3QNIB-.js +569 -0
  15. package/dist/{Delete-86TO0fMo.js → Delete-fBLhTHbF.js} +1 -1
  16. package/dist/{DialogContent-CqTojymQ.js → DialogContent-CGJ7alb8.js} +10 -13
  17. package/dist/FormControl-BCurCxRj.js +1294 -0
  18. package/dist/FormControlLabel-BkRfrhNy.js +601 -0
  19. package/dist/Hierarchy-Bihj0S61.js +925 -0
  20. package/dist/{IconButton-DJ-31-Fd.js → IconButton-_opV1iNK.js} +18 -19
  21. package/dist/IconPlus-yPkff_Vj.js +19 -0
  22. package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-C7PEvvYr.js} +17 -19
  23. package/dist/InputLabel-rEwwnD4_.js +354 -0
  24. package/dist/Legend-Dp_MKfS4.js +178 -0
  25. package/dist/LineSeries-Uiv5o56b.js +472 -0
  26. package/dist/{MenuItem-C6qlUyV3.js → MenuItem-DrE50M_p.js} +92 -69
  27. package/dist/Modal-DlB6GH-f.js +1659 -0
  28. package/dist/Paper-q9kKjAKx.js +527 -0
  29. package/dist/PieSeries-B2fW3z0s.js +693 -0
  30. package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
  31. package/dist/Scrollbar-D86MJyr2.js +171 -0
  32. package/dist/Slice-B19rbYDZ.js +261 -0
  33. package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
  34. package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
  35. package/dist/TextField-DSDIEEKu.js +3161 -0
  36. package/dist/Tick-2bcLyHpF.js +162 -0
  37. package/dist/{Typography-D1t7XuLN.js → Typography-B-Z5Y0Xq.js} +48 -50
  38. package/dist/Vector-BmuhQO4p.js +3606 -0
  39. package/dist/Vector-DfTqQEln.js +1735 -0
  40. package/dist/WKT-2wsDT-nq.js +2310 -0
  41. package/dist/XYCursor-C8WktvKM.js +362 -0
  42. package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
  43. package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
  44. package/dist/capitalize-quqpGCFu.js +9 -0
  45. package/dist/components/access/helpers.js +1 -1
  46. package/dist/components/access/index.js +8 -15
  47. package/dist/components/access/logic.js +25 -0
  48. package/dist/components/card/index.js +158 -498
  49. package/dist/components/card/logic.js +24 -0
  50. package/dist/components/card/styled.js +226 -51
  51. package/dist/components/card-alternate/index.js +111 -139
  52. package/dist/components/card-alternate/logic.js +17 -0
  53. package/dist/components/card-alternate/styled.js +113 -19
  54. package/dist/components/charts/_common/utils.js +20 -0
  55. package/dist/components/charts/candlestick/logic.js +170 -140
  56. package/dist/components/charts/chart-wrapper/helpers.js +27 -0
  57. package/dist/components/charts/chart-wrapper/index.js +44 -0
  58. package/dist/components/charts/chart-wrapper/logic.js +47 -0
  59. package/dist/components/charts/chart-wrapper/styled.js +44 -0
  60. package/dist/components/charts/column-line-mix/index.js +10 -0
  61. package/dist/components/charts/column-line-mix/logic.js +162 -0
  62. package/dist/components/charts/column-line-mix/styled.js +12 -0
  63. package/dist/components/charts/drill-down-treemap/index.js +10 -0
  64. package/dist/components/charts/drill-down-treemap/logic.js +391 -0
  65. package/dist/components/charts/drill-down-treemap/styled.js +12 -0
  66. package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
  67. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
  68. package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
  69. package/dist/components/charts/heatmap/index.js +10 -0
  70. package/dist/components/charts/heatmap/logic.js +361 -0
  71. package/dist/components/charts/heatmap/styled.js +12 -0
  72. package/dist/components/charts/highlighting-line-data/logic.js +89 -256
  73. package/dist/components/charts/line/index.js +10 -0
  74. package/dist/components/charts/line/logic.js +148 -0
  75. package/dist/components/charts/line/styled.js +12 -0
  76. package/dist/components/charts/logaritmic-scale/index.js +10 -0
  77. package/dist/components/charts/logaritmic-scale/logic.js +119 -0
  78. package/dist/components/charts/logaritmic-scale/styled.js +12 -0
  79. package/dist/components/charts/multiple-value-axes/index.js +10 -0
  80. package/dist/components/charts/multiple-value-axes/logic.js +191 -0
  81. package/dist/components/charts/multiple-value-axes/styled.js +12 -0
  82. package/dist/components/charts/nested-pie/index.js +10 -0
  83. package/dist/components/charts/nested-pie/logic.js +110 -0
  84. package/dist/components/charts/nested-pie/styled.js +12 -0
  85. package/dist/components/charts/packed-circles/index.js +10 -0
  86. package/dist/components/charts/packed-circles/logic.js +423 -0
  87. package/dist/components/charts/packed-circles/styled.js +12 -0
  88. package/dist/components/charts/pie-chart/index.js +10 -0
  89. package/dist/components/charts/pie-chart/logic.js +70 -0
  90. package/dist/components/charts/pie-chart/styled.js +12 -0
  91. package/dist/components/charts/stacked-area-radar/index.js +10 -0
  92. package/dist/components/charts/stacked-area-radar/logic.js +868 -0
  93. package/dist/components/charts/stacked-area-radar/styled.js +12 -0
  94. package/dist/components/charts/stacked-column-chart/index.js +10 -0
  95. package/dist/components/charts/stacked-column-chart/logic.js +148 -0
  96. package/dist/components/charts/stacked-column-chart/styled.js +12 -0
  97. package/dist/components/charts/xy-chart/index.js +10 -0
  98. package/dist/components/charts/xy-chart/logic.js +170 -0
  99. package/dist/components/charts/xy-chart/styled.js +12 -0
  100. package/dist/components/collapsible-card/index.js +58 -32
  101. package/dist/components/collapsible-card/logic.js +20 -0
  102. package/dist/components/collapsible-card/styled.js +52 -0
  103. package/dist/components/confirm/dialog.js +3 -3
  104. package/dist/components/confirm/index.js +1 -1
  105. package/dist/components/container/index.js +28 -269
  106. package/dist/components/container/logic.js +12 -0
  107. package/dist/components/container/styled.js +29 -0
  108. package/dist/components/context-menu/index.js +25 -557
  109. package/dist/components/context-menu/logic.js +14 -0
  110. package/dist/components/context-menu/styled.js +40 -0
  111. package/dist/components/data-map/components/controls/index.js +12 -0
  112. package/dist/components/data-map/components/controls/styled.js +34 -0
  113. package/dist/components/data-map/index.js +51 -0
  114. package/dist/components/data-map/logic.js +108 -0
  115. package/dist/components/data-map/styled.js +32 -0
  116. package/dist/components/data-security-selectors/security-level/index.js +36 -91
  117. package/dist/components/data-security-selectors/security-level/logic.js +73 -0
  118. package/dist/components/data-security-selectors/security-level/styled.js +47 -0
  119. package/dist/components/date-picker-with-custom-range/index.js +9 -0
  120. package/dist/components/date-picker-with-custom-range/logic.js +66 -0
  121. package/dist/components/date-picker-with-custom-range/styled.js +43 -0
  122. package/dist/components/divider/index.js +18 -0
  123. package/dist/components/divider/logic.js +13 -0
  124. package/dist/components/divider/styled.js +14 -0
  125. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  126. package/dist/components/geometry-picker/edit/index.js +1 -1
  127. package/dist/components/geometry-picker/geometry/index.js +1 -1
  128. package/dist/components/geometry-picker/index.js +8 -8
  129. package/dist/components/geometry-picker/kml/index.js +1 -1
  130. package/dist/components/geometry-picker/map/index.js +1 -1
  131. package/dist/components/geometry-picker/map/logic.js +65 -62
  132. package/dist/components/geometry-picker/map/style.js +1 -1
  133. package/dist/components/heat-map/components/controls/index.js +12 -0
  134. package/dist/components/heat-map/components/controls/styled.js +34 -0
  135. package/dist/components/heat-map/components/legend/index.js +26 -0
  136. package/dist/components/heat-map/components/legend/styled.js +14 -0
  137. package/dist/components/heat-map/index.js +37 -0
  138. package/dist/components/heat-map/logic.js +1945 -0
  139. package/dist/components/heat-map/styled.js +32 -0
  140. package/dist/components/icon-button/index.js +22 -15
  141. package/dist/components/icon-button/logic.js +15 -0
  142. package/dist/components/icon-button/styled.js +22 -10
  143. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  144. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
  145. package/dist/components/instance-form/components/variable/index.js +7 -9
  146. package/dist/components/instance-form/components/variables/index.js +1 -1
  147. package/dist/components/instance-form/index.js +1 -1
  148. package/dist/components/instance-hierarchy-table/index.js +32 -37
  149. package/dist/components/instance-hierarchy-table/logic.js +16 -0
  150. package/dist/components/instance-hierarchy-table/styled.js +53 -12
  151. package/dist/components/instance-table/index.js +30 -135
  152. package/dist/components/instance-table/logic.js +122 -0
  153. package/dist/components/instance-table/styled.js +53 -11
  154. package/dist/components/instance-variable-list/index.js +34 -29
  155. package/dist/components/instance-variable-list/styled.js +21 -21
  156. package/dist/components/instance-variable-list/variable.js +44 -74
  157. package/dist/components/key-protection/index.js +45 -2
  158. package/dist/components/key-protection/logic.js +40 -0
  159. package/dist/components/key-protection/styled.js +45 -0
  160. package/dist/components/key-protection/utils.js +1 -1
  161. package/dist/components/linear-indicator/index.js +10 -67
  162. package/dist/components/linear-indicator/logic.js +47 -0
  163. package/dist/components/linear-indicator/styled.js +39 -40
  164. package/dist/components/loading/index.js +15 -9
  165. package/dist/components/loading/logic.js +15 -0
  166. package/dist/components/loading/styled.js +26 -19
  167. package/dist/components/map/helpers/kml.js +1 -1
  168. package/dist/components/map/helpers/mapbox.js +14 -14
  169. package/dist/components/map/helpers/ol.js +23 -19
  170. package/dist/components/map/helpers/wkt.js +26 -1314
  171. package/dist/components/map/index.js +1 -1
  172. package/dist/components/map/logic.js +113 -101
  173. package/dist/components/map/styled.js +39 -31
  174. package/dist/components/metric-card/MetricChart.js +50 -498
  175. package/dist/components/metric-card/index.js +94 -115
  176. package/dist/components/metric-card/logic.js +70 -131
  177. package/dist/components/object-profile-card/components/avatar/index.js +44 -0
  178. package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
  179. package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
  180. package/dist/components/object-profile-card/index.js +90 -0
  181. package/dist/components/object-profile-card/logic.js +33 -0
  182. package/dist/components/object-profile-card/styled.js +48 -0
  183. package/dist/components/paginated-list/index.js +93 -89
  184. package/dist/components/paginated-list/logic.js +51 -40
  185. package/dist/components/paginated-list/styled.js +25 -21
  186. package/dist/components/phone-input/index.js +18 -22
  187. package/dist/components/phone-input/logic.js +14 -0
  188. package/dist/components/phone-input/styled.js +12 -4
  189. package/dist/components/property-mapping/index.js +2 -2
  190. package/dist/components/prr-map/components/controls/index.js +12 -0
  191. package/dist/components/prr-map/components/controls/styled.js +34 -0
  192. package/dist/components/prr-map/components/legend/index.js +36 -0
  193. package/dist/components/prr-map/components/legend/styled.js +21 -0
  194. package/dist/components/prr-map/index.js +38 -0
  195. package/dist/components/prr-map/logic.js +104 -0
  196. package/dist/components/prr-map/styled.js +32 -0
  197. package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
  198. package/dist/components/range-selector/components/date-range/index.js +148 -7
  199. package/dist/components/range-selector/components/geometry-range/index.js +11 -17
  200. package/dist/components/range-selector/components/number-range/index.js +48 -53
  201. package/dist/components/range-selector/components/string-range/index.js +15 -17
  202. package/dist/components/range-selector/index.js +63 -57
  203. package/dist/components/range-selector/logic.js +12 -0
  204. package/dist/components/range-selector/styled.js +4222 -0
  205. package/dist/components/raster-grid-map/components/controls/index.js +12 -0
  206. package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
  207. package/dist/components/raster-grid-map/components/legend/index.js +14 -0
  208. package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
  209. package/dist/components/raster-grid-map/helpers.js +190 -0
  210. package/dist/components/raster-grid-map/index.js +38 -0
  211. package/dist/components/raster-grid-map/logic.js +172 -0
  212. package/dist/components/raster-grid-map/styled.js +32 -0
  213. package/dist/components/search-input/index.js +62 -140
  214. package/dist/components/search-input/logic.js +43 -0
  215. package/dist/components/search-input/styled.js +33 -0
  216. package/dist/components/simple-pivot-table/index.js +66 -0
  217. package/dist/components/simple-pivot-table/logic.js +51 -0
  218. package/dist/components/simple-pivot-table/styled.js +45 -0
  219. package/dist/components/static-text/index.js +18 -0
  220. package/dist/components/static-text/logic.js +13 -0
  221. package/dist/components/static-text/styled.js +45 -0
  222. package/dist/components/tabs/index.js +56 -2160
  223. package/dist/components/tabs/logic.js +36 -0
  224. package/dist/components/tabs/styled.js +94 -16
  225. package/dist/components/tabs/tab-panel.js +11 -10
  226. package/dist/components/template-filters/components/filter/index.js +13 -18
  227. package/dist/components/template-filters/components/tab-panel/index.js +8 -16
  228. package/dist/components/template-filters/index.js +21 -29
  229. package/dist/components/template-filters/logic.js +18 -0
  230. package/dist/components/template-filters/styled.js +44 -1
  231. package/dist/components/template-form/components/property-list/index.js +8 -8
  232. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  233. package/dist/components/template-form/components/property-list/property-list-form.js +8 -10
  234. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  235. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  236. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +8 -9
  237. package/dist/components/template-form/index.js +32 -33
  238. package/dist/components/template-property-filters/index.js +45 -95
  239. package/dist/components/template-property-filters/logic.js +27 -0
  240. package/dist/components/template-property-filters/property.js +105 -165
  241. package/dist/components/template-property-filters/styled.js +121 -20
  242. package/dist/components/timeline/index.js +61 -0
  243. package/dist/components/timeline/logic.js +40 -0
  244. package/dist/components/timeline/styled.js +48 -0
  245. package/dist/components/tree-select/index.js +52 -67
  246. package/dist/components/tree-select/logic.js +59 -0
  247. package/dist/components/tree-select/styled.js +45 -62
  248. package/dist/components/treeview-filter/index.js +43 -65
  249. package/dist/components/treeview-filter/item/index.js +43 -42
  250. package/dist/components/treeview-filter/item-label/index.js +17 -37
  251. package/dist/components/treeview-filter/logic.js +28 -0
  252. package/dist/components/treeview-filter/styled.js +86 -0
  253. package/dist/components/uploader/index.js +532 -567
  254. package/dist/components/uploader/logic.js +74 -0
  255. package/dist/components/uploader/styled.js +93 -46
  256. package/dist/constant-BiOGvlZc.js +21 -0
  257. package/dist/createReactComponent-C7L-DMHj.js +60 -0
  258. package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BM3-TsGy.js} +33 -36
  259. package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DX-SqL8M.js} +24 -26
  260. package/dist/{dialog-BE4D6swf.js → dialog-cf4HUXXl.js} +27 -28
  261. package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
  262. package/dist/index-BMS1Otro.js +183 -0
  263. package/dist/index-C8C3YXle.js +1932 -0
  264. package/dist/index-C__OZmYy.js +663 -0
  265. package/dist/{index-CGNxsLVm.js → index-DPKUmQnz.js} +11 -13
  266. package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
  267. package/dist/index.es-CHNMhaMi.js +2067 -0
  268. package/dist/index.esm-BLLrbTzY.js +318 -0
  269. package/dist/isMuiElement-BkJ72LB3.js +26 -0
  270. package/dist/main.d.ts +1869 -565
  271. package/dist/main.js +141 -443
  272. package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
  273. package/dist/ol-yOE-NV0X.js +7465 -0
  274. package/dist/path-CNVruS--.js +84 -0
  275. package/dist/{property-list-form-C5hcK2y2.js → property-list-form-DL_dEoNn.js} +57 -62
  276. package/dist/{createTheme-CNnKNxwL.js → styled-Bsjp3kFh.js} +275 -278
  277. package/dist/useId-B4-oF9Mq.js +34 -0
  278. package/dist/useMobilePicker-B-M3dnTn.js +7993 -0
  279. package/dist/{utils-Bq0ye5vf.js → utils-Cxu-fHjQ.js} +7 -7
  280. package/package.json +11 -2
  281. package/dist/AxisRendererY-kADUad00.js +0 -18370
  282. package/dist/Box-B1AVyJ_s.js +0 -71
  283. package/dist/Button-eqWvpDuh.js +0 -356
  284. package/dist/CardContent-DsYqqPeJ.js +0 -74
  285. package/dist/Checkbox-CrU2hpWB.js +0 -420
  286. package/dist/DateAxis-CMum47iz.js +0 -924
  287. package/dist/FormControlLabel-BrdX4R71.js +0 -195
  288. package/dist/Input-CoIrGZAh.js +0 -326
  289. package/dist/InputLabel-CBuAYyuT.js +0 -1367
  290. package/dist/LineSeries-CfcpoYla.js +0 -549
  291. package/dist/List-DOD5kSk3.js +0 -121
  292. package/dist/ListItem-r8PbsvCz.js +0 -429
  293. package/dist/Modal-CkcFEpHa.js +0 -1284
  294. package/dist/OutlinedInput-B-iZoc9l.js +0 -450
  295. package/dist/Paper-CjqLScHA.js +0 -163
  296. package/dist/Select-t3ewnSdf.js +0 -2180
  297. package/dist/Tabs-Cn42Z5QI.js +0 -789
  298. package/dist/TextField-BQ8a50fA.js +0 -459
  299. package/dist/components/collapsible-card/style.js +0 -49
  300. package/dist/components/key-protection/menu.js +0 -85
  301. package/dist/components/profile-card/index.js +0 -80
  302. package/dist/components/profile-card/logic.js +0 -33
  303. package/dist/components/profile-card/styled.js +0 -43
  304. package/dist/components/tabs/appleTabs.style.js +0 -55
  305. package/dist/components/treeview-filter/item/styled.js +0 -39
  306. package/dist/createStyled-BGx1I94c.js +0 -352
  307. package/dist/createTheme-CyC5HawC.js +0 -879
  308. package/dist/debounce-46wSf_lW.js +0 -15
  309. package/dist/exactProp-cjT0t_Pt.js +0 -36
  310. package/dist/extendSxProp-FEpqY5_S.js +0 -30
  311. package/dist/index-DMSHuq6l.js +0 -688
  312. package/dist/index-SpeaLUQD.js +0 -10963
  313. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  314. package/dist/isMuiElement-CxT3_ACP.js +0 -13
  315. package/dist/listItemTextClasses-CNjn41Of.js +0 -16
  316. package/dist/ol-lGwSyEIV.js +0 -15050
  317. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  318. package/dist/ownerWindow-niciwP7I.js +0 -7
  319. package/dist/styled-B8ugzvji.js +0 -12
  320. package/dist/useFormControl-CatNKXAi.js +0 -10
  321. package/dist/useId-BHG98T5I.js +0 -26
  322. package/dist/useTheme-C15Eq8KG.js +0 -18
  323. package/dist/useTheme-D-uii9iX.js +0 -10
  324. package/dist/useThemeProps-DRP1dikX.js +0 -95
  325. package/dist/utils-CsOZUsQj.js +0 -365
@@ -1,459 +0,0 @@
1
- import { a as l, _ as H } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as M from "react";
3
- import { P as e } from "./index-DMSHuq6l.js";
4
- import { g as S, u as _, c as L, a as $ } from "./useThemeProps-DRP1dikX.js";
5
- import { s as E } from "./styled-B8ugzvji.js";
6
- import { g as U } from "./createTheme-CNnKNxwL.js";
7
- import { jsx as p, jsxs as le } from "react/jsx-runtime";
8
- import { f as ie, F as ae, I as de } from "./InputLabel-CBuAYyuT.js";
9
- import { u as ce } from "./useId-BHG98T5I.js";
10
- import { S as ue, F as pe } from "./Select-t3ewnSdf.js";
11
- import { u as fe } from "./useFormControl-CatNKXAi.js";
12
- import { c as V } from "./createTheme-CyC5HawC.js";
13
- import { r as me } from "./ButtonBase-DsX-jMQJ.js";
14
- import { I as be } from "./Input-CoIrGZAh.js";
15
- import { O as Te } from "./OutlinedInput-B-iZoc9l.js";
16
- function xe(o) {
17
- return U("MuiFormHelperText", o);
18
- }
19
- const z = S("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
20
- var q;
21
- const ge = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], he = (o) => {
22
- const {
23
- classes: r,
24
- contained: s,
25
- size: n,
26
- disabled: d,
27
- error: c,
28
- filled: i,
29
- focused: f,
30
- required: u
31
- } = o, t = {
32
- root: ["root", d && "disabled", c && "error", n && `size${V(n)}`, s && "contained", f && "focused", i && "filled", u && "required"]
33
- };
34
- return $(t, xe, r);
35
- }, ye = E("p", {
36
- name: "MuiFormHelperText",
37
- slot: "Root",
38
- overridesResolver: (o, r) => {
39
- const {
40
- ownerState: s
41
- } = o;
42
- return [r.root, s.size && r[`size${V(s.size)}`], s.contained && r.contained, s.filled && r.filled];
43
- }
44
- })(({
45
- theme: o,
46
- ownerState: r
47
- }) => l({
48
- color: (o.vars || o).palette.text.secondary
49
- }, o.typography.caption, {
50
- textAlign: "left",
51
- marginTop: 3,
52
- marginRight: 0,
53
- marginBottom: 0,
54
- marginLeft: 0,
55
- [`&.${z.disabled}`]: {
56
- color: (o.vars || o).palette.text.disabled
57
- },
58
- [`&.${z.error}`]: {
59
- color: (o.vars || o).palette.error.main
60
- }
61
- }, r.size === "small" && {
62
- marginTop: 4
63
- }, r.contained && {
64
- marginLeft: 14,
65
- marginRight: 14
66
- })), B = /* @__PURE__ */ M.forwardRef(function(r, s) {
67
- const n = _({
68
- props: r,
69
- name: "MuiFormHelperText"
70
- }), {
71
- children: d,
72
- className: c,
73
- component: i = "p"
74
- } = n, f = H(n, ge), u = fe(), t = ie({
75
- props: n,
76
- muiFormControl: u,
77
- states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
78
- }), m = l({}, n, {
79
- component: i,
80
- contained: t.variant === "filled" || t.variant === "outlined",
81
- variant: t.variant,
82
- size: t.size,
83
- disabled: t.disabled,
84
- error: t.error,
85
- filled: t.filled,
86
- focused: t.focused,
87
- required: t.required
88
- }), x = he(m);
89
- return /* @__PURE__ */ p(ye, l({
90
- as: i,
91
- ownerState: m,
92
- className: L(x.root, c),
93
- ref: s
94
- }, f, {
95
- children: d === " " ? (
96
- // notranslate needed while Google Translate will not fix zero-width space issue
97
- q || (q = /* @__PURE__ */ p("span", {
98
- className: "notranslate",
99
- children: "​"
100
- }))
101
- ) : d
102
- }));
103
- });
104
- process.env.NODE_ENV !== "production" && (B.propTypes = {
105
- // ----------------------------- Warning --------------------------------
106
- // | These PropTypes are generated from the TypeScript type definitions |
107
- // | To update them edit the d.ts file and run "yarn proptypes" |
108
- // ----------------------------------------------------------------------
109
- /**
110
- * The content of the component.
111
- *
112
- * If `' '` is provided, the component reserves one line height for displaying a future message.
113
- */
114
- children: e.node,
115
- /**
116
- * Override or extend the styles applied to the component.
117
- */
118
- classes: e.object,
119
- /**
120
- * @ignore
121
- */
122
- className: e.string,
123
- /**
124
- * The component used for the root node.
125
- * Either a string to use a HTML element or a component.
126
- */
127
- component: e.elementType,
128
- /**
129
- * If `true`, the helper text should be displayed in a disabled state.
130
- */
131
- disabled: e.bool,
132
- /**
133
- * If `true`, helper text should be displayed in an error state.
134
- */
135
- error: e.bool,
136
- /**
137
- * If `true`, the helper text should use filled classes key.
138
- */
139
- filled: e.bool,
140
- /**
141
- * If `true`, the helper text should use focused classes key.
142
- */
143
- focused: e.bool,
144
- /**
145
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
146
- * FormControl.
147
- */
148
- margin: e.oneOf(["dense"]),
149
- /**
150
- * If `true`, the helper text should use required classes key.
151
- */
152
- required: e.bool,
153
- /**
154
- * The system prop that allows defining system overrides as well as additional CSS styles.
155
- */
156
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
157
- /**
158
- * The variant to use.
159
- */
160
- variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
161
- });
162
- function Fe(o) {
163
- return U("MuiTextField", o);
164
- }
165
- S("MuiTextField", ["root"]);
166
- const ve = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], Oe = {
167
- standard: be,
168
- filled: pe,
169
- outlined: Te
170
- }, Re = (o) => {
171
- const {
172
- classes: r
173
- } = o;
174
- return $({
175
- root: ["root"]
176
- }, Fe, r);
177
- }, Ce = E(ae, {
178
- name: "MuiTextField",
179
- slot: "Root",
180
- overridesResolver: (o, r) => r.root
181
- })({}), we = /* @__PURE__ */ M.forwardRef(function(r, s) {
182
- const n = _({
183
- props: r,
184
- name: "MuiTextField"
185
- }), {
186
- autoComplete: d,
187
- autoFocus: c = !1,
188
- children: i,
189
- className: f,
190
- color: u = "primary",
191
- defaultValue: t,
192
- disabled: m = !1,
193
- error: x = !1,
194
- FormHelperTextProps: W,
195
- fullWidth: F = !1,
196
- helperText: v,
197
- id: D,
198
- InputLabelProps: g,
199
- inputProps: k,
200
- InputProps: A,
201
- inputRef: G,
202
- label: b,
203
- maxRows: J,
204
- minRows: K,
205
- multiline: C = !1,
206
- name: Q,
207
- onBlur: X,
208
- onChange: Y,
209
- onFocus: Z,
210
- placeholder: ee,
211
- required: w = !1,
212
- rows: oe,
213
- select: h = !1,
214
- SelectProps: O,
215
- type: re,
216
- value: I,
217
- variant: y = "outlined"
218
- } = n, te = H(n, ve), P = l({}, n, {
219
- autoFocus: c,
220
- color: u,
221
- disabled: m,
222
- error: x,
223
- fullWidth: F,
224
- multiline: C,
225
- required: w,
226
- select: h,
227
- variant: y
228
- }), se = Re(P);
229
- process.env.NODE_ENV !== "production" && h && !i && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
230
- const T = {};
231
- y === "outlined" && (g && typeof g.shrink < "u" && (T.notched = g.shrink), T.label = b), h && ((!O || !O.native) && (T.id = void 0), T["aria-describedby"] = void 0);
232
- const a = ce(D), R = v && a ? `${a}-helper-text` : void 0, N = b && a ? `${a}-label` : void 0, ne = Oe[y], j = /* @__PURE__ */ p(ne, l({
233
- "aria-describedby": R,
234
- autoComplete: d,
235
- autoFocus: c,
236
- defaultValue: t,
237
- fullWidth: F,
238
- multiline: C,
239
- name: Q,
240
- rows: oe,
241
- maxRows: J,
242
- minRows: K,
243
- type: re,
244
- value: I,
245
- id: a,
246
- inputRef: G,
247
- onBlur: X,
248
- onChange: Y,
249
- onFocus: Z,
250
- placeholder: ee,
251
- inputProps: k
252
- }, T, A));
253
- return /* @__PURE__ */ le(Ce, l({
254
- className: L(se.root, f),
255
- disabled: m,
256
- error: x,
257
- fullWidth: F,
258
- ref: s,
259
- required: w,
260
- color: u,
261
- variant: y,
262
- ownerState: P
263
- }, te, {
264
- children: [b != null && b !== "" && /* @__PURE__ */ p(de, l({
265
- htmlFor: a,
266
- id: N
267
- }, g, {
268
- children: b
269
- })), h ? /* @__PURE__ */ p(ue, l({
270
- "aria-describedby": R,
271
- id: a,
272
- labelId: N,
273
- value: I,
274
- input: j
275
- }, O, {
276
- children: i
277
- })) : j, v && /* @__PURE__ */ p(B, l({
278
- id: R
279
- }, W, {
280
- children: v
281
- }))]
282
- }));
283
- });
284
- process.env.NODE_ENV !== "production" && (we.propTypes = {
285
- // ----------------------------- Warning --------------------------------
286
- // | These PropTypes are generated from the TypeScript type definitions |
287
- // | To update them edit the d.ts file and run "yarn proptypes" |
288
- // ----------------------------------------------------------------------
289
- /**
290
- * This prop helps users to fill forms faster, especially on mobile devices.
291
- * The name can be confusing, as it's more like an autofill.
292
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
293
- */
294
- autoComplete: e.string,
295
- /**
296
- * If `true`, the `input` element is focused during the first mount.
297
- * @default false
298
- */
299
- autoFocus: e.bool,
300
- /**
301
- * @ignore
302
- */
303
- children: e.node,
304
- /**
305
- * Override or extend the styles applied to the component.
306
- */
307
- classes: e.object,
308
- /**
309
- * @ignore
310
- */
311
- className: e.string,
312
- /**
313
- * The color of the component.
314
- * It supports both default and custom theme colors, which can be added as shown in the
315
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
316
- * @default 'primary'
317
- */
318
- color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
319
- /**
320
- * The default value. Use when the component is not controlled.
321
- */
322
- defaultValue: e.any,
323
- /**
324
- * If `true`, the component is disabled.
325
- * @default false
326
- */
327
- disabled: e.bool,
328
- /**
329
- * If `true`, the label is displayed in an error state.
330
- * @default false
331
- */
332
- error: e.bool,
333
- /**
334
- * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.
335
- */
336
- FormHelperTextProps: e.object,
337
- /**
338
- * If `true`, the input will take up the full width of its container.
339
- * @default false
340
- */
341
- fullWidth: e.bool,
342
- /**
343
- * The helper text content.
344
- */
345
- helperText: e.node,
346
- /**
347
- * The id of the `input` element.
348
- * Use this prop to make `label` and `helperText` accessible for screen readers.
349
- */
350
- id: e.string,
351
- /**
352
- * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.
353
- * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
354
- */
355
- InputLabelProps: e.object,
356
- /**
357
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
358
- */
359
- inputProps: e.object,
360
- /**
361
- * Props applied to the Input element.
362
- * It will be a [`FilledInput`](/material-ui/api/filled-input/),
363
- * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)
364
- * component depending on the `variant` prop value.
365
- */
366
- InputProps: e.object,
367
- /**
368
- * Pass a ref to the `input` element.
369
- */
370
- inputRef: me,
371
- /**
372
- * The label content.
373
- */
374
- label: e.node,
375
- /**
376
- * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
377
- * @default 'none'
378
- */
379
- margin: e.oneOf(["dense", "none", "normal"]),
380
- /**
381
- * Maximum number of rows to display when multiline option is set to true.
382
- */
383
- maxRows: e.oneOfType([e.number, e.string]),
384
- /**
385
- * Minimum number of rows to display when multiline option is set to true.
386
- */
387
- minRows: e.oneOfType([e.number, e.string]),
388
- /**
389
- * If `true`, a `textarea` element is rendered instead of an input.
390
- * @default false
391
- */
392
- multiline: e.bool,
393
- /**
394
- * Name attribute of the `input` element.
395
- */
396
- name: e.string,
397
- /**
398
- * @ignore
399
- */
400
- onBlur: e.func,
401
- /**
402
- * Callback fired when the value is changed.
403
- *
404
- * @param {object} event The event source of the callback.
405
- * You can pull out the new value by accessing `event.target.value` (string).
406
- */
407
- onChange: e.func,
408
- /**
409
- * @ignore
410
- */
411
- onFocus: e.func,
412
- /**
413
- * The short hint displayed in the `input` before the user enters a value.
414
- */
415
- placeholder: e.string,
416
- /**
417
- * If `true`, the label is displayed as required and the `input` element is required.
418
- * @default false
419
- */
420
- required: e.bool,
421
- /**
422
- * Number of rows to display when multiline option is set to true.
423
- */
424
- rows: e.oneOfType([e.number, e.string]),
425
- /**
426
- * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
427
- * If this option is set you must pass the options of the select as children.
428
- * @default false
429
- */
430
- select: e.bool,
431
- /**
432
- * Props applied to the [`Select`](/material-ui/api/select/) element.
433
- */
434
- SelectProps: e.object,
435
- /**
436
- * The size of the component.
437
- */
438
- size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
439
- /**
440
- * The system prop that allows defining system overrides as well as additional CSS styles.
441
- */
442
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
443
- /**
444
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
445
- */
446
- type: e.string,
447
- /**
448
- * The value of the `input` element, required for a controlled component.
449
- */
450
- value: e.any,
451
- /**
452
- * The variant to use.
453
- * @default 'outlined'
454
- */
455
- variant: e.oneOf(["filled", "outlined", "standard"])
456
- });
457
- export {
458
- we as T
459
- };
@@ -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,85 +0,0 @@
1
- import { jsxs as n, Fragment as p, jsx as e } from "react/jsx-runtime";
2
- import h from "lodash";
3
- import m from "../../hooks/useMenuLogic.js";
4
- import { Key as c, Add as g } from "@mui/icons-material";
5
- import { IconButton as f, Menu as y, MenuItem as l, ListItemIcon as s } from "@mui/material";
6
- import { r as b, a as k } from "../../utils-Bq0ye5vf.js";
7
- import { alert as i } from "../confirm/index.js";
8
- let a;
9
- const M = () => {
10
- const { state: r, action: t } = m(), d = async () => {
11
- t.close();
12
- const o = await b();
13
- o ? (a = h.get(o, "rawId"), new Uint8Array(a).toString(), i("Successfull", "Key successfully registered")) : i("Error!", "The key couldn't be registered!");
14
- }, u = async () => {
15
- t.close();
16
- try {
17
- await k(a), i("Successfull", "Successfully authenticated");
18
- } catch (o) {
19
- i("Error!", "Couldn't be authenticated!"), console.log(o);
20
- }
21
- };
22
- return /* @__PURE__ */ n(p, { children: [
23
- /* @__PURE__ */ e(
24
- f,
25
- {
26
- size: "large",
27
- "aria-label": "account of current user",
28
- onClick: t.open,
29
- color: "inherit",
30
- "aria-controls": r.isOpen ? "key-protection-menu" : void 0,
31
- "aria-haspopup": "true",
32
- "aria-expanded": r.isOpen ? "true" : void 0,
33
- children: /* @__PURE__ */ e(c, {})
34
- }
35
- ),
36
- /* @__PURE__ */ n(
37
- y,
38
- {
39
- id: "key-protection-menu",
40
- anchorEl: r.anchorEl,
41
- keepMounted: !0,
42
- anchorOrigin: {
43
- vertical: "bottom",
44
- horizontal: "right"
45
- },
46
- transformOrigin: { horizontal: "right", vertical: "top" },
47
- open: r.isOpen,
48
- onClose: t.close,
49
- PaperProps: {
50
- elevation: 0,
51
- sx: {
52
- overflow: "visible",
53
- filter: "drop-shadow(0px 2px 8px rgba(0,0,0,0.32))",
54
- mt: 1.5,
55
- "&:before": {
56
- content: '""',
57
- display: "block",
58
- position: "absolute",
59
- top: 0,
60
- right: 14,
61
- width: 10,
62
- height: 10,
63
- bgcolor: "background.paper",
64
- transform: "translateY(-50%) rotate(45deg)",
65
- zIndex: 0
66
- }
67
- }
68
- },
69
- children: [
70
- /* @__PURE__ */ n(l, { onClick: d, children: [
71
- /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(g, { fontSize: "small" }) }),
72
- "Register Key"
73
- ] }),
74
- /* @__PURE__ */ n(l, { onClick: u, children: [
75
- /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(c, { fontSize: "small" }) }),
76
- "Authenticate"
77
- ] })
78
- ]
79
- }
80
- )
81
- ] });
82
- };
83
- export {
84
- M as KeyProtectionMenu
85
- };
@@ -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
- };