@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
@@ -0,0 +1,32 @@
1
+ import { styled as o, Paper as a, Box as t } from "@mui/material";
2
+ const r = o(a, {
3
+ name: "HCHeatMap",
4
+ slot: "Root",
5
+ shouldForwardProp: (e) => e !== "ownerState"
6
+ })(() => ({
7
+ height: "100%",
8
+ display: "flex",
9
+ flexDirection: "column"
10
+ })), l = o(t, {
11
+ name: "HCHeatMap",
12
+ slot: "Header",
13
+ shouldForwardProp: (e) => e !== "ownerState"
14
+ })(({ theme: e }) => ({
15
+ flex: "0 0 auto",
16
+ padding: e.spacing(1.25, 2)
17
+ })), p = o(t, {
18
+ name: "HCHeatMap",
19
+ slot: "Content",
20
+ shouldForwardProp: (e) => e !== "ownerState"
21
+ })(() => ({
22
+ position: "relative",
23
+ display: "flex",
24
+ flexDirection: "column",
25
+ flex: "1 1 auto",
26
+ minHeight: 0
27
+ }));
28
+ export {
29
+ p as HeatMapContent,
30
+ l as HeatMapHeader,
31
+ r as HeatMapRoot
32
+ };
@@ -1,18 +1,25 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { VerticalButton as m, MiniButton as c } from "./styled.js";
3
- import { I as e } from "../../IconButton-DJ-31-Fd.js";
4
- const a = ({
5
- variant: i = "default",
6
- startIcon: f,
7
- onclick: n,
8
- children: o,
9
- ...r
10
- }) => {
11
- const u = () => {
12
- n !== void 0 && n();
13
- };
14
- return i === "vertical" ? /* @__PURE__ */ t(m, { ...r, children: o }) : i === "mini" ? /* @__PURE__ */ t(c, { color: "inherit", startIcon: f, onClick: u, children: o }) : /* @__PURE__ */ t(e, { onClick: u, ...r, children: o });
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { useIconButtonLogic as m } from "./logic.js";
3
+ import { VerticalRoot as l, MiniRoot as u, DefaultRoot as f } from "./styled.js";
4
+ const x = (i) => {
5
+ const { state: e } = m(i), { ownerState: t, variant: c } = e, { startIcon: a, children: o, variant: v, ...r } = i;
6
+ if (c === "vertical")
7
+ return /* @__PURE__ */ n(l, { ownerState: t, ...r, children: o });
8
+ if (c === "mini") {
9
+ const { color: R, ...s } = r;
10
+ return /* @__PURE__ */ n(
11
+ u,
12
+ {
13
+ ownerState: t,
14
+ color: "inherit",
15
+ startIcon: a,
16
+ ...s,
17
+ children: o
18
+ }
19
+ );
20
+ }
21
+ return /* @__PURE__ */ n(f, { ownerState: t, ...r, children: o });
15
22
  };
16
23
  export {
17
- a as IconButton
24
+ x as IconButton
18
25
  };
@@ -0,0 +1,15 @@
1
+ import { useThemeProps as s } from "@mui/material";
2
+ const c = (n) => {
3
+ const t = s({ props: n, name: "HCIconButton" }), { variant: o = "default" } = t, e = {
4
+ ...t,
5
+ variant: o
6
+ };
7
+ return {
8
+ refs: {},
9
+ state: { ownerState: e, variant: o },
10
+ actions: {}
11
+ };
12
+ };
13
+ export {
14
+ c as useIconButtonLogic
15
+ };
@@ -1,11 +1,19 @@
1
- import { styled as o, ButtonBase as n, Button as a } from "@mui/material";
2
- const r = o(n)(({ theme: t, color: i }) => ({
1
+ import { styled as i, IconButton as r, ButtonBase as a, Button as l } from "@mui/material";
2
+ const n = (o) => o !== "ownerState", c = i(r, {
3
+ name: "HCIconButton",
4
+ slot: "root",
5
+ shouldForwardProp: n
6
+ })({}), s = i(a, {
7
+ name: "HCIconButton",
8
+ slot: "verticalRoot",
9
+ shouldForwardProp: n
10
+ })(({ ownerState: o, theme: t }) => ({
3
11
  position: "relative",
4
12
  display: "flex",
5
13
  flexDirection: "column",
6
14
  width: 130,
7
15
  height: 140,
8
- color: i ? t.palette.text.primary : "inherit",
16
+ color: o.color ? t.palette.text.primary : "inherit",
9
17
  borderRadius: 10,
10
18
  transition: "all .3s",
11
19
  "&:after": {
@@ -15,15 +23,14 @@ const r = o(n)(({ theme: t, color: i }) => ({
15
23
  left: 30,
16
24
  right: 30,
17
25
  height: 2,
18
- // @ts-ignore
19
- backgroundColor: i ? t.palette[i].dark : "inherit",
26
+ backgroundColor: o.color && o.color !== "inherit" && o.color !== "default" ? t.palette[o.color].dark : "inherit",
20
27
  borderRadius: 2,
21
28
  opacity: 0,
22
29
  transition: "all .3s"
23
30
  },
24
31
  "&:hover": {
25
32
  boxShadow: t.shadows[4],
26
- color: i ? t.palette.text.primary : "inherit",
33
+ color: o.color ? t.palette.text.primary : "inherit",
27
34
  "&:after": {
28
35
  opacity: 1
29
36
  }
@@ -31,11 +38,15 @@ const r = o(n)(({ theme: t, color: i }) => ({
31
38
  "& .MuiSvgIcon-root": {
32
39
  fontSize: 50
33
40
  }
34
- })), s = o(a)(({ theme: t }) => ({
41
+ })), d = i(l, {
42
+ name: "HCIconButton",
43
+ slot: "miniRoot",
44
+ shouldForwardProp: n
45
+ })(({ theme: o }) => ({
35
46
  fontSize: 10,
36
47
  padding: "2px 6px",
37
48
  minWidth: "auto",
38
- boxShadow: t.shadows[1],
49
+ boxShadow: o.shadows[1],
39
50
  "& .MuiButton-startIcon": {
40
51
  marginRight: 0.25,
41
52
  "& > :nth-of-type(1)": {
@@ -44,6 +55,7 @@ const r = o(n)(({ theme: t, color: i }) => ({
44
55
  }
45
56
  }));
46
57
  export {
47
- s as MiniButton,
48
- r as VerticalButton
58
+ c as DefaultRoot,
59
+ d as MiniRoot,
60
+ s as VerticalRoot
49
61
  };
@@ -6,7 +6,7 @@ import "lodash";
6
6
  import "react";
7
7
  import "../../../../hooks/useToggle.js";
8
8
  import "../../../conditional-wrapper/index.js";
9
- import { C as s } from "../../../../index-CGNxsLVm.js";
9
+ import { C as s } from "../../../../index-DPKUmQnz.js";
10
10
  import "./styled.js";
11
11
  export {
12
12
  s as default
@@ -1,6 +1,7 @@
1
1
  import { jsxs as io, jsx as Ii } from "react/jsx-runtime";
2
- import { c as Ne, a as na, p as qi } from "../../../../../../index-DMSHuq6l.js";
3
- import er, { useState as ro } from "react";
2
+ import { c as Ne, a as na } from "../../../../../../_commonjsHelpers-BVfed4GL.js";
3
+ import qi, { useState as ro } from "react";
4
+ import { p as er } from "../../../../../../index-C__OZmYy.js";
4
5
  import { Alert as ia, AlertTitle as ra, Box as oa } from "@mui/material";
5
6
  import { FlexCol as sa } from "../../../../../flex-col/index.js";
6
7
  var Bi = { exports: {} }, Po = {}, gt = {}, vn = {}, Bn = {}, me = {}, zn = {};
@@ -18527,7 +18528,7 @@ var Cu = Ne && Ne.__extends || /* @__PURE__ */ function() {
18527
18528
  }, Xi.apply(this, arguments);
18528
18529
  };
18529
18530
  Object.defineProperty(jr, "__esModule", { value: !0 });
18530
- var _u = vi, ae = qi, To = er, ai = Es, pn = pt, ko = (0, pn.getAceInstance)(), Au = (
18531
+ var _u = vi, ae = er, To = qi, ai = Es, pn = pt, ko = (0, pn.getAceInstance)(), Au = (
18531
18532
  /** @class */
18532
18533
  function(u) {
18533
18534
  Cu(f, u);
@@ -19067,7 +19068,7 @@ var Cd = Sd, _d = Ne && Ne.__extends || /* @__PURE__ */ function() {
19067
19068
  }, Ji.apply(this, arguments);
19068
19069
  };
19069
19070
  Object.defineProperty(_i, "__esModule", { value: !0 });
19070
- var Xt = pt, zi = (0, Xt.getAceInstance)(), Ad = vi, Ed = Eu, le = qi, Oo = er, Hi = Es, kt = Cd, Md = (
19071
+ var Xt = pt, zi = (0, Xt.getAceInstance)(), Ad = vi, Ed = Eu, le = er, Oo = qi, Hi = Es, kt = Cd, Md = (
19071
19072
  /** @class */
19072
19073
  function(u) {
19073
19074
  _d(f, u);
@@ -19931,7 +19932,7 @@ var Td = Ns.exports, kd = Ne && Ne.__extends || /* @__PURE__ */ function() {
19931
19932
  };
19932
19933
  }();
19933
19934
  Object.defineProperty(Ur, "__esModule", { value: !0 });
19934
- var $e = qi, Do = er, Ld = _i, Rd = Td, xd = (
19935
+ var $e = er, Do = qi, Ld = _i, Rd = Td, xd = (
19935
19936
  /** @class */
19936
19937
  function(u) {
19937
19938
  kd(f, u);
@@ -20495,7 +20496,7 @@ const No = new yu({ allErrors: !0 }), Wd = {
20495
20496
  };
20496
20497
  return { valid: !0 };
20497
20498
  };
20498
- function Gd({ data: u, onChange: f }) {
20499
+ function Kd({ data: u, onChange: f }) {
20499
20500
  const [h, g] = ro(JSON.stringify(u, null, 2)), [_, d] = ro(
20500
20501
  null
20501
20502
  ), m = No.compile(Wd), v = (s) => {
@@ -20547,5 +20548,5 @@ function Gd({ data: u, onChange: f }) {
20547
20548
  ] });
20548
20549
  }
20549
20550
  export {
20550
- Gd as default
20551
+ Kd as default
20551
20552
  };
@@ -3,20 +3,18 @@ import "@mui/icons-material";
3
3
  import "@mui/material";
4
4
  import "dayjs";
5
5
  import "lodash";
6
- import { V as k } from "../../../../index-CGNxsLVm.js";
6
+ import { V as h } from "../../../../index-DPKUmQnz.js";
7
7
  import "../../../date-time-picker/index.js";
8
8
  import "../../../geometry-picker/index.js";
9
9
  import "../../../phone-input/index.js";
10
10
  import "../../../conditional-wrapper/index.js";
11
11
  import "../TopLabelWrapper.js";
12
12
  import "../composite-matrix/index.js";
13
- import "../../../../Box-B1AVyJ_s.js";
14
- import "../../../../TextField-BQ8a50fA.js";
15
- import "../../../../FormControlLabel-BrdX4R71.js";
16
- import "../../../../Checkbox-CrU2hpWB.js";
17
- import "../../../../InputLabel-CBuAYyuT.js";
18
- import "../../../../Select-t3ewnSdf.js";
19
- import "../../../../MenuItem-C6qlUyV3.js";
13
+ import "../../../../MenuItem-DrE50M_p.js";
14
+ import "../../../../TextField-DSDIEEKu.js";
15
+ import "../../../../FormControlLabel-BkRfrhNy.js";
16
+ import "../../../../FormControl-BCurCxRj.js";
17
+ import "../../../../InputLabel-rEwwnD4_.js";
20
18
  export {
21
- k as default
19
+ h as default
22
20
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as u, Fragment as I, jsxs as _ } from "react/jsx-runtime";
2
2
  import b from "react";
3
- import { V as g } from "../../../../index-CGNxsLVm.js";
3
+ import { V as g } from "../../../../index-DPKUmQnz.js";
4
4
  import p from "lodash";
5
5
  import { Box as i } from "@mui/material";
6
6
  function C({
@@ -8,7 +8,7 @@ import { ConditionalWrapper as m } from "../conditional-wrapper/index.js";
8
8
  import { Container as Be } from "../container/index.js";
9
9
  import { DisseminationList as Ae } from "../data-security-selectors/dissemination-list/index.js";
10
10
  import { SecurityLevel as De } from "../data-security-selectors/security-level/index.js";
11
- import { i as Ne, d as _e } from "../../utils-Bq0ye5vf.js";
11
+ import { i as Ne, d as _e } from "../../utils-Cxu-fHjQ.js";
12
12
  import { TreeSelect as We } from "../tree-select/index.js";
13
13
  import qe from "./components/policy-list/index.js";
14
14
  import L from "./components/TopLabelWrapper.js";
@@ -1,58 +1,53 @@
1
- import { jsx as r, Fragment as c, jsxs as m } from "react/jsx-runtime";
2
- import { Accordion as d, AccordionSummary as u, AccordionDetails as g } from "./styled.js";
3
- import { Typography as l, Chip as f } from "@mui/material";
4
- import { ChevronRight as y } from "@mui/icons-material";
5
- import { getPageIcon as I, getTemplateHierarchy as x } from "../../utils/ontology.js";
6
- import { InstanceTable as b } from "../instance-table/index.js";
7
- const W = ({
8
- data: n,
9
- templates: i,
10
- ...s
11
- }) => {
12
- const h = (t) => t ? x(i, t).map((e) => e.name).join(" / ") : " ";
13
- return !n || !n.results ? /* @__PURE__ */ r(c, {}) : n.results.map((t, o) => {
14
- const e = i.get(t.templateId);
15
- if (!e) return /* @__PURE__ */ r(c, {});
16
- const a = I(i, e.id);
17
- return /* @__PURE__ */ m(
18
- d,
1
+ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
+ import { ChevronRight as h } from "@mui/icons-material";
3
+ import { getPageIcon as I } from "../../utils/ontology.js";
4
+ import { InstanceTable as f } from "../instance-table/index.js";
5
+ import { useInstanceHierarchyTableLogic as x } from "./logic.js";
6
+ import { HierarchyRoot as y, Accordion as b, AccordionSummary as g, TemplateIcon as H, TemplateName as T, CountChip as C, HierarchyLabel as v, AccordionDetails as A } from "./styled.js";
7
+ const z = (r) => {
8
+ const { state: l, actions: s } = x(r), { ownerState: m } = l, { data: a, templates: o, ...d } = r;
9
+ return !a || !a.results ? null : /* @__PURE__ */ e(y, { ownerState: m, sx: r.sx, children: a.results.map((n, p) => {
10
+ const t = o.get(n.templateId);
11
+ if (!t) return null;
12
+ const c = I(o, t.id);
13
+ return /* @__PURE__ */ i(
14
+ b,
19
15
  {
20
16
  defaultExpanded: !0,
21
17
  disableGutters: !0,
22
18
  elevation: 0,
23
19
  square: !0,
24
20
  children: [
25
- /* @__PURE__ */ m(u, { expandIcon: /* @__PURE__ */ r(y, {}), children: [
26
- /* @__PURE__ */ r("img", { src: a, height: 22, style: { maxWidth: 22 } }),
27
- /* @__PURE__ */ r(l, { fontWeight: "500", ml: 2, children: e.name }),
28
- /* @__PURE__ */ r(
29
- f,
21
+ /* @__PURE__ */ i(g, { expandIcon: /* @__PURE__ */ e(h, {}), children: [
22
+ /* @__PURE__ */ e(H, { src: c }),
23
+ /* @__PURE__ */ e(T, { children: t.name }),
24
+ /* @__PURE__ */ e(
25
+ C,
30
26
  {
31
27
  color: "primary",
32
- label: t.totalInstanceCount,
33
- size: "small",
34
- sx: { height: 20, ml: 1 }
28
+ label: n.totalInstanceCount,
29
+ size: "small"
35
30
  }
36
31
  ),
37
- /* @__PURE__ */ r(l, { variant: "caption", ml: 2, children: h(e) })
32
+ /* @__PURE__ */ e(v, { variant: "caption", children: s.getHierarchy(t) })
38
33
  ] }),
39
- /* @__PURE__ */ r(g, { children: /* @__PURE__ */ r(
40
- b,
34
+ /* @__PURE__ */ e(A, { children: /* @__PURE__ */ e(
35
+ f,
41
36
  {
42
- data: t.instances.map((p) => ({
43
- ...p,
44
- templateId: e.id
37
+ data: n.instances.map((u) => ({
38
+ ...u,
39
+ templateId: t.id
45
40
  })),
46
- template: { ...e, icon: a },
47
- ...s
41
+ template: { ...t, icon: c },
42
+ ...d
48
43
  }
49
44
  ) })
50
45
  ]
51
46
  },
52
- o
47
+ p
53
48
  );
54
- });
49
+ }) });
55
50
  };
56
51
  export {
57
- W as InstanceHierarchyTable
52
+ z as InstanceHierarchyTable
58
53
  };
@@ -0,0 +1,16 @@
1
+ import { useThemeProps as o } from "@mui/material";
2
+ import { getTemplateHierarchy as c } from "../../utils/ontology.js";
3
+ const m = (t) => {
4
+ const e = o({
5
+ props: t,
6
+ name: "HCInstanceHierarchyTable"
7
+ }), a = { ...e };
8
+ return {
9
+ refs: {},
10
+ state: { ownerState: a },
11
+ actions: { getHierarchy: (r) => r ? c(e.templates, r).map((n) => n.name).join(" / ") : " " }
12
+ };
13
+ };
14
+ export {
15
+ m as useInstanceHierarchyTableLogic
16
+ };
@@ -1,29 +1,70 @@
1
- import { styled as r } from "@mui/material";
2
- import { A as e, a as i, b as n } from "../../AccordionDetails-DhriPVPP.js";
3
- const c = r(e)(({ theme: o }) => ({
4
- borderBottom: `1px solid ${o.palette.divider}`,
1
+ import { styled as a, Box as n, Typography as o, Chip as r } from "@mui/material";
2
+ import { A as t, a as c, b as i } from "../../AccordionSummary-CMg08YSA.js";
3
+ const s = (e) => e !== "ownerState", l = a(n, {
4
+ name: "HCInstanceHierarchyTable",
5
+ slot: "root",
6
+ shouldForwardProp: s
7
+ })({}), p = a(t, {
8
+ name: "HCInstanceHierarchyTable",
9
+ slot: "accordion"
10
+ })(({ theme: e }) => ({
11
+ borderBottom: `1px solid ${e.palette.divider}`,
5
12
  "&:before": {
6
13
  display: "none"
7
14
  }
8
- })), t = r(i)(({ theme: o }) => ({
15
+ })), g = a(c, {
16
+ name: "HCInstanceHierarchyTable",
17
+ slot: "summary"
18
+ })(({ theme: e }) => ({
9
19
  flexDirection: "row-reverse",
10
20
  paddingLeft: 0,
11
21
  "& .MuiAccordionSummary-expandIconWrapper.Mui-expanded": {
12
22
  transform: "rotate(90deg)"
13
23
  },
14
24
  "& .MuiAccordionSummary-content": {
15
- marginLeft: o.spacing(1),
25
+ marginLeft: e.spacing(1),
16
26
  alignItems: "center"
17
27
  }
18
- })), p = r(n)(({ theme: o }) => ({
19
- padding: o.spacing(2),
28
+ })), h = a(i, {
29
+ name: "HCInstanceHierarchyTable",
30
+ slot: "details"
31
+ })(({ theme: e }) => ({
32
+ padding: e.spacing(2),
20
33
  paddingTop: 0,
21
34
  paddingBottom: 0,
22
35
  borderTop: "1px solid rgba(0, 0, 0, .125)",
23
- background: o.palette.grey[100]
36
+ background: e.palette.grey[100]
37
+ })), y = a("img", {
38
+ name: "HCInstanceHierarchyTable",
39
+ slot: "templateIcon"
40
+ })({
41
+ height: 22,
42
+ maxWidth: 22
43
+ }), H = a(o, {
44
+ name: "HCInstanceHierarchyTable",
45
+ slot: "templateName"
46
+ })(({ theme: e }) => ({
47
+ fontWeight: 500,
48
+ marginLeft: e.spacing(2)
49
+ })), b = a(r, {
50
+ name: "HCInstanceHierarchyTable",
51
+ slot: "countChip"
52
+ })(({ theme: e }) => ({
53
+ height: 20,
54
+ marginLeft: e.spacing(1)
55
+ })), T = a(o, {
56
+ name: "HCInstanceHierarchyTable",
57
+ slot: "hierarchyLabel"
58
+ })(({ theme: e }) => ({
59
+ marginLeft: e.spacing(2)
24
60
  }));
25
61
  export {
26
- c as Accordion,
27
- p as AccordionDetails,
28
- t as AccordionSummary
62
+ p as Accordion,
63
+ h as AccordionDetails,
64
+ g as AccordionSummary,
65
+ b as CountChip,
66
+ T as HierarchyLabel,
67
+ l as HierarchyRoot,
68
+ y as TemplateIcon,
69
+ H as TemplateName
29
70
  };
@@ -1,160 +1,55 @@
1
- import { jsx as o, Fragment as D, jsxs as Y } from "react/jsx-runtime";
2
- import { useMemo as j } from "react";
3
- import { DataGrid as G, GridActionsCellItem as A } from "@mui/x-data-grid";
4
- import { ButtonBase as B, Box as S } from "@mui/material";
5
- import { DataGridActions as $ } from "./styled.js";
6
- import i from "dayjs";
7
- import E from "lodash";
8
- const L = ({
9
- template: n,
10
- data: w,
11
- selectedIds: M = [],
12
- sortColumnsBy: N = "type",
13
- actions: h,
14
- actionsWidth: y = 50,
15
- enableCheckboxSelection: R = !1,
16
- fieldOptions: e,
17
- onSelect: s,
18
- onTitleClick: C
19
- }) => {
20
- const k = j(() => {
21
- var l, c, d, g, v, b, x, I;
22
- return [
23
- ...(l = e == null ? void 0 : e.templateIcon) != null && l.hidden ? [] : [
24
- {
25
- field: "template",
26
- headerName: "",
27
- sortable: !1,
28
- filterable: !1,
29
- align: "center",
30
- width: 30,
31
- renderCell: (c = e == null ? void 0 : e.templateIcon) != null && c.renderCell ? (d = e == null ? void 0 : e.templateIcon) == null ? void 0 : d.renderCell : () => n ? /* @__PURE__ */ o(
32
- "img",
33
- {
34
- src: n.icon,
35
- height: 20,
36
- style: { display: "inline", maxWidth: 20 }
37
- }
38
- ) : /* @__PURE__ */ o(D, {})
39
- }
40
- ],
41
- ...(g = e == null ? void 0 : e.title) != null && g.hidden ? [] : [
42
- {
43
- field: "title",
44
- headerName: "Title",
45
- width: 400,
46
- sortable: !1,
47
- filterable: !1,
48
- valueGetter: (r) => r.row.title,
49
- renderCell: (v = e == null ? void 0 : e.title) != null && v.renderCell ? (b = e == null ? void 0 : e.title) == null ? void 0 : b.renderCell : (r) => {
50
- const { row: a, value: u } = r;
51
- return C ? /* @__PURE__ */ o(
52
- B,
53
- {
54
- onClick: () => C(a),
55
- sx: { "&:hover": { textDecoration: "underline" } },
56
- disableRipple: !0,
57
- children: u
58
- }
59
- ) : u;
60
- }
61
- }
62
- ],
63
- ...(x = e == null ? void 0 : e.description) != null && x.hidden ? [] : [
64
- {
65
- field: "description",
66
- headerName: "Description",
67
- width: 400,
68
- sortable: !1,
69
- filterable: !1,
70
- valueGetter: (r) => r.row.description,
71
- renderCell: (I = e == null ? void 0 : e.description) == null ? void 0 : I.renderCell
72
- }
73
- ],
74
- ...n ? [
75
- ...n.properties.filter(
76
- (r) => (!e || !e[r.propertyId] || !e[r.propertyId].hidden) && r.visible && r.type !== "geometry" && r.type !== "coordinate"
77
- ).sort(
78
- (r, a) => N === "type" ? r.type < a.type ? -1 : r.type > a.type ? 1 : 0 : r.name < a.name ? -1 : 1
79
- ).map((r) => {
80
- var u;
81
- const a = `variables.${r.type}.${r.propertyId}`;
82
- return {
83
- field: a,
84
- headerName: r.name,
85
- sortable: !1,
86
- filterable: !1,
87
- width: 150,
88
- valueFormatter: (m) => m.value && r.type === "date" ? i(m.value).format("DD/MM/YYYY HH:mm") : m.value,
89
- valueGetter: (m) => E.get(m.row, a),
90
- renderCell: e && ((u = e[r.propertyId]) == null ? void 0 : u.renderCell)
91
- };
92
- })
93
- ] : []
94
- ];
95
- }, [n]), F = (t) => {
96
- s && s(t);
97
- }, H = (t) => h ? h.map((l) => {
98
- const { showInMenu: c, ...d } = l;
99
- return /* @__PURE__ */ o(
100
- A,
101
- {
102
- ...d,
103
- ...c ? { showInMenu: c } : void 0,
104
- onClick: () => {
105
- l.onClick && l.onClick(t);
106
- }
107
- }
108
- );
109
- }) : [];
110
- return /* @__PURE__ */ Y(S, { position: "relative", children: [
111
- /* @__PURE__ */ o(
112
- G,
1
+ import { jsxs as h, jsx as n } from "react/jsx-runtime";
2
+ import { useInstanceTableLogic as u } from "./logic.js";
3
+ import { InstanceTableRoot as m, InstanceDataGrid as w, ActionsContainer as g, ActionsDataGrid as x } from "./styled.js";
4
+ const I = () => null, A = (e) => {
5
+ const { state: s, actions: i } = u(e), {
6
+ ownerState: t,
7
+ columns: a,
8
+ selectedIds: c,
9
+ enableCheckboxSelection: r,
10
+ hasActions: d,
11
+ resolvedActionsWidth: l
12
+ } = s;
13
+ return /* @__PURE__ */ h(m, { ownerState: t, sx: e.sx, children: [
14
+ /* @__PURE__ */ n(
15
+ w,
113
16
  {
114
- columns: k,
115
- rows: w,
17
+ ownerState: t,
18
+ columns: a,
19
+ rows: e.data,
116
20
  autoHeight: !0,
117
21
  density: "compact",
118
- sx: {
119
- border: "none",
120
- "& .MuiDataGrid-main": {
121
- marginRight: h ? `${y}px` : 0
122
- }
123
- },
124
- getRowId: (t) => t.id,
22
+ getRowId: (o) => o.id,
125
23
  hideFooterPagination: !0,
126
24
  hideFooter: !0,
127
- checkboxSelection: R,
128
- rowSelectionModel: M,
129
- onRowSelectionModelChange: F,
25
+ checkboxSelection: r,
26
+ rowSelectionModel: c,
27
+ onRowSelectionModelChange: i.onRowSelectionModelChange,
130
28
  keepNonExistentRowsSelected: !0
131
29
  }
132
30
  ),
133
- h !== void 0 && /* @__PURE__ */ o($, { width: y, children: /* @__PURE__ */ o(
134
- G,
31
+ d && /* @__PURE__ */ n(g, { ownerState: t, children: /* @__PURE__ */ n(
32
+ x,
135
33
  {
136
34
  columns: [
137
35
  {
138
36
  field: "actions",
139
37
  type: "actions",
140
- width: y,
38
+ width: l,
141
39
  headerClassName: "pinned",
142
- getActions: H
40
+ getActions: i.getActions
143
41
  }
144
42
  ],
145
- rows: w,
43
+ rows: e.data,
146
44
  autoHeight: !0,
147
45
  density: "compact",
148
46
  hideFooter: !0,
149
- sx: { border: "none" },
150
- slots: {
151
- noRowsOverlay: () => /* @__PURE__ */ o(D, {})
152
- },
153
- getRowId: (t) => t.id
47
+ slots: { noRowsOverlay: I },
48
+ getRowId: (o) => o.id
154
49
  }
155
50
  ) })
156
51
  ] });
157
52
  };
158
53
  export {
159
- L as InstanceTable
54
+ A as InstanceTable
160
55
  };