@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,6 +0,0 @@
1
- function o(n) {
2
- return n && n.ownerDocument || document;
3
- }
4
- export {
5
- o
6
- };
@@ -1,7 +0,0 @@
1
- import { o as n } from "./ownerDocument-CUrv0DIK.js";
2
- function t(o) {
3
- return n(o).defaultView || window;
4
- }
5
- export {
6
- t as o
7
- };
@@ -1,12 +0,0 @@
1
- import { c as r } from "./createTheme-CNnKNxwL.js";
2
- import { c as a, s } from "./createStyled-BGx1I94c.js";
3
- const t = r(), e = (o) => s(o) && o !== "classes", l = s, m = a({
4
- defaultTheme: t,
5
- rootShouldForwardProp: e
6
- });
7
- export {
8
- l as a,
9
- t as d,
10
- e as r,
11
- m as s
12
- };
@@ -1,10 +0,0 @@
1
- import * as o from "react";
2
- const t = /* @__PURE__ */ o.createContext(void 0);
3
- process.env.NODE_ENV !== "production" && (t.displayName = "FormControlContext");
4
- function e() {
5
- return o.useContext(t);
6
- }
7
- export {
8
- t as F,
9
- e as u
10
- };
@@ -1,26 +0,0 @@
1
- import * as u from "react";
2
- function f(...t) {
3
- return t.reduce((n, e) => e == null ? n : function(...a) {
4
- n.apply(this, a), e.apply(this, a);
5
- }, () => {
6
- });
7
- }
8
- let c = 0;
9
- function s(t) {
10
- const [n, e] = u.useState(t), o = t || n;
11
- return u.useEffect(() => {
12
- n == null && (c += 1, e(`mui-${c}`));
13
- }, [n]), o;
14
- }
15
- const l = u.useId;
16
- function i(t) {
17
- if (l !== void 0) {
18
- const n = l();
19
- return t ?? n;
20
- }
21
- return s(t);
22
- }
23
- export {
24
- f as c,
25
- i as u
26
- };
@@ -1,18 +0,0 @@
1
- import * as n from "react";
2
- import { ThemeContext as o } from "@emotion/react";
3
- import { b as m } from "./createTheme-CyC5HawC.js";
4
- function r(e) {
5
- return Object.keys(e).length === 0;
6
- }
7
- function s(e = null) {
8
- const t = n.useContext(o);
9
- return !t || r(t) ? e : t;
10
- }
11
- const u = m();
12
- function f(e = u) {
13
- return s(e);
14
- }
15
- export {
16
- s as a,
17
- f as u
18
- };
@@ -1,10 +0,0 @@
1
- import * as o from "react";
2
- import { d as r } from "./styled-B8ugzvji.js";
3
- import { u as t } from "./useTheme-C15Eq8KG.js";
4
- function s() {
5
- const e = t(r);
6
- return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e;
7
- }
8
- export {
9
- s as u
10
- };
@@ -1,95 +0,0 @@
1
- import { g as h } from "./createTheme-CNnKNxwL.js";
2
- import { d as a } from "./styled-B8ugzvji.js";
3
- import { a as u } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
4
- import { u as g } from "./useTheme-C15Eq8KG.js";
5
- function c(n) {
6
- var e, s, t = "";
7
- if (typeof n == "string" || typeof n == "number") t += n;
8
- else if (typeof n == "object") if (Array.isArray(n)) for (e = 0; e < n.length; e++) n[e] && (s = c(n[e])) && (t && (t += " "), t += s);
9
- else for (e in n) n[e] && (t && (t += " "), t += e);
10
- return t;
11
- }
12
- function E() {
13
- for (var n, e, s = 0, t = ""; s < arguments.length; ) (n = arguments[s++]) && (e = c(n)) && (t && (t += " "), t += e);
14
- return t;
15
- }
16
- function O(n, e) {
17
- return process.env.NODE_ENV === "production" ? () => null : function(...t) {
18
- return n(...t) || e(...t);
19
- };
20
- }
21
- function l(n, e) {
22
- const s = u({}, e);
23
- return Object.keys(n).forEach((t) => {
24
- if (t.toString().match(/^(components|slots)$/))
25
- s[t] = u({}, n[t], s[t]);
26
- else if (t.toString().match(/^(componentsProps|slotProps)$/)) {
27
- const r = n[t] || {}, o = e[t];
28
- s[t] = {}, !o || !Object.keys(o) ? s[t] = r : !r || !Object.keys(r) ? s[t] = o : (s[t] = u({}, o), Object.keys(r).forEach((i) => {
29
- s[t][i] = l(r[i], o[i]);
30
- }));
31
- } else s[t] === void 0 && (s[t] = n[t]);
32
- }), s;
33
- }
34
- function T(n, e, s = void 0) {
35
- const t = {};
36
- return Object.keys(n).forEach(
37
- // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
38
- // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
39
- (r) => {
40
- t[r] = n[r].reduce((o, i) => {
41
- if (i) {
42
- const f = e(i);
43
- f !== "" && o.push(f), s && s[i] && o.push(s[i]);
44
- }
45
- return o;
46
- }, []).join(" ");
47
- }
48
- ), t;
49
- }
50
- function v(n, e, s = "Mui") {
51
- const t = {};
52
- return e.forEach((r) => {
53
- t[r] = h(n, r, s);
54
- }), t;
55
- }
56
- function m(n) {
57
- const {
58
- theme: e,
59
- name: s,
60
- props: t
61
- } = n;
62
- return !e || !e.components || !e.components[s] || !e.components[s].defaultProps ? t : l(e.components[s].defaultProps, t);
63
- }
64
- function d({
65
- props: n,
66
- name: e,
67
- defaultTheme: s,
68
- themeId: t
69
- }) {
70
- let r = g(s);
71
- return t && (r = r[t] || r), m({
72
- theme: r,
73
- name: e,
74
- props: n
75
- });
76
- }
77
- function C({
78
- props: n,
79
- name: e
80
- }) {
81
- return d({
82
- props: n,
83
- name: e,
84
- defaultTheme: a
85
- });
86
- }
87
- export {
88
- T as a,
89
- O as b,
90
- E as c,
91
- m as d,
92
- v as g,
93
- l as r,
94
- C as u
95
- };
@@ -1,365 +0,0 @@
1
- import { _ as D } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import { _ as C, T as S } from "./ButtonBase-DsX-jMQJ.js";
3
- import { P as i } from "./index-DMSHuq6l.js";
4
- import v from "react";
5
- import b from "react-dom";
6
- const N = {
7
- disabled: !1
8
- };
9
- var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
10
- enter: i.number,
11
- exit: i.number,
12
- appear: i.number
13
- }).isRequired]) : null, P = process.env.NODE_ENV !== "production" ? i.oneOfType([i.string, i.shape({
14
- enter: i.string,
15
- exit: i.string,
16
- active: i.string
17
- }), i.shape({
18
- enter: i.string,
19
- enterDone: i.string,
20
- enterActive: i.string,
21
- exit: i.string,
22
- exitDone: i.string,
23
- exitActive: i.string
24
- })]) : null, y = function(a) {
25
- return a.scrollTop;
26
- }, x = "unmounted", f = "exited", c = "entering", h = "entered", T = "exiting", l = /* @__PURE__ */ function(u) {
27
- C(a, u);
28
- function a(r, e) {
29
- var t;
30
- t = u.call(this, r, e) || this;
31
- var n = e, s = n && !n.isMounting ? r.enter : r.appear, p;
32
- return t.appearStatus = null, r.in ? s ? (p = f, t.appearStatus = c) : p = h : r.unmountOnExit || r.mountOnEnter ? p = x : p = f, t.state = {
33
- status: p
34
- }, t.nextCallback = null, t;
35
- }
36
- a.getDerivedStateFromProps = function(e, t) {
37
- var n = e.in;
38
- return n && t.status === x ? {
39
- status: f
40
- } : null;
41
- };
42
- var o = a.prototype;
43
- return o.componentDidMount = function() {
44
- this.updateStatus(!0, this.appearStatus);
45
- }, o.componentDidUpdate = function(e) {
46
- var t = null;
47
- if (e !== this.props) {
48
- var n = this.state.status;
49
- this.props.in ? n !== c && n !== h && (t = c) : (n === c || n === h) && (t = T);
50
- }
51
- this.updateStatus(!1, t);
52
- }, o.componentWillUnmount = function() {
53
- this.cancelNextCallback();
54
- }, o.getTimeouts = function() {
55
- var e = this.props.timeout, t, n, s;
56
- return t = n = s = e, e != null && typeof e != "number" && (t = e.exit, n = e.enter, s = e.appear !== void 0 ? e.appear : n), {
57
- exit: t,
58
- enter: n,
59
- appear: s
60
- };
61
- }, o.updateStatus = function(e, t) {
62
- if (e === void 0 && (e = !1), t !== null)
63
- if (this.cancelNextCallback(), t === c) {
64
- if (this.props.unmountOnExit || this.props.mountOnEnter) {
65
- var n = this.props.nodeRef ? this.props.nodeRef.current : b.findDOMNode(this);
66
- n && y(n);
67
- }
68
- this.performEnter(e);
69
- } else
70
- this.performExit();
71
- else this.props.unmountOnExit && this.state.status === f && this.setState({
72
- status: x
73
- });
74
- }, o.performEnter = function(e) {
75
- var t = this, n = this.props.enter, s = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [s] : [b.findDOMNode(this), s], d = p[0], m = p[1], g = this.getTimeouts(), O = s ? g.appear : g.enter;
76
- if (!e && !n || N.disabled) {
77
- this.safeSetState({
78
- status: h
79
- }, function() {
80
- t.props.onEntered(d);
81
- });
82
- return;
83
- }
84
- this.props.onEnter(d, m), this.safeSetState({
85
- status: c
86
- }, function() {
87
- t.props.onEntering(d, m), t.onTransitionEnd(O, function() {
88
- t.safeSetState({
89
- status: h
90
- }, function() {
91
- t.props.onEntered(d, m);
92
- });
93
- });
94
- });
95
- }, o.performExit = function() {
96
- var e = this, t = this.props.exit, n = this.getTimeouts(), s = this.props.nodeRef ? void 0 : b.findDOMNode(this);
97
- if (!t || N.disabled) {
98
- this.safeSetState({
99
- status: f
100
- }, function() {
101
- e.props.onExited(s);
102
- });
103
- return;
104
- }
105
- this.props.onExit(s), this.safeSetState({
106
- status: T
107
- }, function() {
108
- e.props.onExiting(s), e.onTransitionEnd(n.exit, function() {
109
- e.safeSetState({
110
- status: f
111
- }, function() {
112
- e.props.onExited(s);
113
- });
114
- });
115
- });
116
- }, o.cancelNextCallback = function() {
117
- this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
118
- }, o.safeSetState = function(e, t) {
119
- t = this.setNextCallback(t), this.setState(e, t);
120
- }, o.setNextCallback = function(e) {
121
- var t = this, n = !0;
122
- return this.nextCallback = function(s) {
123
- n && (n = !1, t.nextCallback = null, e(s));
124
- }, this.nextCallback.cancel = function() {
125
- n = !1;
126
- }, this.nextCallback;
127
- }, o.onTransitionEnd = function(e, t) {
128
- this.setNextCallback(t);
129
- var n = this.props.nodeRef ? this.props.nodeRef.current : b.findDOMNode(this), s = e == null && !this.props.addEndListener;
130
- if (!n || s) {
131
- setTimeout(this.nextCallback, 0);
132
- return;
133
- }
134
- if (this.props.addEndListener) {
135
- var p = this.props.nodeRef ? [this.nextCallback] : [n, this.nextCallback], d = p[0], m = p[1];
136
- this.props.addEndListener(d, m);
137
- }
138
- e != null && setTimeout(this.nextCallback, e);
139
- }, o.render = function() {
140
- var e = this.state.status;
141
- if (e === x)
142
- return null;
143
- var t = this.props, n = t.children;
144
- t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
145
- var s = D(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
146
- return (
147
- // allows for nested Transitions
148
- /* @__PURE__ */ v.createElement(S.Provider, {
149
- value: null
150
- }, typeof n == "function" ? n(e, s) : v.cloneElement(v.Children.only(n), s))
151
- );
152
- }, a;
153
- }(v.Component);
154
- l.contextType = S;
155
- l.propTypes = process.env.NODE_ENV !== "production" ? {
156
- /**
157
- * A React reference to DOM element that need to transition:
158
- * https://stackoverflow.com/a/51127130/4671932
159
- *
160
- * - When `nodeRef` prop is used, `node` is not passed to callback functions
161
- * (e.g. `onEnter`) because user already has direct access to the node.
162
- * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
163
- * `nodeRef` need to be provided to `Transition` with changed `key` prop
164
- * (see
165
- * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
166
- */
167
- nodeRef: i.shape({
168
- current: typeof Element > "u" ? i.any : function(u, a, o, r, e, t) {
169
- var n = u[a];
170
- return i.instanceOf(n && "ownerDocument" in n ? n.ownerDocument.defaultView.Element : Element)(u, a, o, r, e, t);
171
- }
172
- }),
173
- /**
174
- * A `function` child can be used instead of a React element. This function is
175
- * called with the current transition status (`'entering'`, `'entered'`,
176
- * `'exiting'`, `'exited'`), which can be used to apply context
177
- * specific props to a component.
178
- *
179
- * ```jsx
180
- * <Transition in={this.state.in} timeout={150}>
181
- * {state => (
182
- * <MyComponent className={`fade fade-${state}`} />
183
- * )}
184
- * </Transition>
185
- * ```
186
- */
187
- children: i.oneOfType([i.func.isRequired, i.element.isRequired]).isRequired,
188
- /**
189
- * Show the component; triggers the enter or exit states
190
- */
191
- in: i.bool,
192
- /**
193
- * By default the child component is mounted immediately along with
194
- * the parent `Transition` component. If you want to "lazy mount" the component on the
195
- * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
196
- * mounted, even on "exited", unless you also specify `unmountOnExit`.
197
- */
198
- mountOnEnter: i.bool,
199
- /**
200
- * By default the child component stays mounted after it reaches the `'exited'` state.
201
- * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
202
- */
203
- unmountOnExit: i.bool,
204
- /**
205
- * By default the child component does not perform the enter transition when
206
- * it first mounts, regardless of the value of `in`. If you want this
207
- * behavior, set both `appear` and `in` to `true`.
208
- *
209
- * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
210
- * > only adds an additional enter transition. However, in the
211
- * > `<CSSTransition>` component that first enter transition does result in
212
- * > additional `.appear-*` classes, that way you can choose to style it
213
- * > differently.
214
- */
215
- appear: i.bool,
216
- /**
217
- * Enable or disable enter transitions.
218
- */
219
- enter: i.bool,
220
- /**
221
- * Enable or disable exit transitions.
222
- */
223
- exit: i.bool,
224
- /**
225
- * The duration of the transition, in milliseconds.
226
- * Required unless `addEndListener` is provided.
227
- *
228
- * You may specify a single timeout for all transitions:
229
- *
230
- * ```jsx
231
- * timeout={500}
232
- * ```
233
- *
234
- * or individually:
235
- *
236
- * ```jsx
237
- * timeout={{
238
- * appear: 500,
239
- * enter: 300,
240
- * exit: 500,
241
- * }}
242
- * ```
243
- *
244
- * - `appear` defaults to the value of `enter`
245
- * - `enter` defaults to `0`
246
- * - `exit` defaults to `0`
247
- *
248
- * @type {number | { enter?: number, exit?: number, appear?: number }}
249
- */
250
- timeout: function(a) {
251
- var o = R;
252
- a.addEndListener || (o = o.isRequired);
253
- for (var r = arguments.length, e = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
254
- e[t - 1] = arguments[t];
255
- return o.apply(void 0, [a].concat(e));
256
- },
257
- /**
258
- * Add a custom transition end trigger. Called with the transitioning
259
- * DOM node and a `done` callback. Allows for more fine grained transition end
260
- * logic. Timeouts are still used as a fallback if provided.
261
- *
262
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
263
- *
264
- * ```jsx
265
- * addEndListener={(node, done) => {
266
- * // use the css transitionend event to mark the finish of a transition
267
- * node.addEventListener('transitionend', done, false);
268
- * }}
269
- * ```
270
- */
271
- addEndListener: i.func,
272
- /**
273
- * Callback fired before the "entering" status is applied. An extra parameter
274
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
275
- *
276
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
277
- *
278
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
279
- */
280
- onEnter: i.func,
281
- /**
282
- * Callback fired after the "entering" status is applied. An extra parameter
283
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
284
- *
285
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
286
- *
287
- * @type Function(node: HtmlElement, isAppearing: bool)
288
- */
289
- onEntering: i.func,
290
- /**
291
- * Callback fired after the "entered" status is applied. An extra parameter
292
- * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
293
- *
294
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
295
- *
296
- * @type Function(node: HtmlElement, isAppearing: bool) -> void
297
- */
298
- onEntered: i.func,
299
- /**
300
- * Callback fired before the "exiting" status is applied.
301
- *
302
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
303
- *
304
- * @type Function(node: HtmlElement) -> void
305
- */
306
- onExit: i.func,
307
- /**
308
- * Callback fired after the "exiting" status is applied.
309
- *
310
- * **Note**: when `nodeRef` prop is passed, `node` is not passed.
311
- *
312
- * @type Function(node: HtmlElement) -> void
313
- */
314
- onExiting: i.func,
315
- /**
316
- * Callback fired after the "exited" status is applied.
317
- *
318
- * **Note**: when `nodeRef` prop is passed, `node` is not passed
319
- *
320
- * @type Function(node: HtmlElement) -> void
321
- */
322
- onExited: i.func
323
- } : {};
324
- function E() {
325
- }
326
- l.defaultProps = {
327
- in: !1,
328
- mountOnEnter: !1,
329
- unmountOnExit: !1,
330
- appear: !1,
331
- enter: !0,
332
- exit: !0,
333
- onEnter: E,
334
- onEntering: E,
335
- onEntered: E,
336
- onExit: E,
337
- onExiting: E,
338
- onExited: E
339
- };
340
- l.UNMOUNTED = x;
341
- l.EXITED = f;
342
- l.ENTERING = c;
343
- l.ENTERED = h;
344
- l.EXITING = T;
345
- const U = (u) => u.scrollTop;
346
- function w(u, a) {
347
- var o, r;
348
- const {
349
- timeout: e,
350
- easing: t,
351
- style: n = {}
352
- } = u;
353
- return {
354
- duration: (o = n.transitionDuration) != null ? o : typeof e == "number" ? e : e[a.mode] || 0,
355
- easing: (r = n.transitionTimingFunction) != null ? r : typeof t == "object" ? t[a.mode] : t,
356
- delay: n.transitionDelay
357
- };
358
- }
359
- export {
360
- l as T,
361
- P as c,
362
- y as f,
363
- w as g,
364
- U as r
365
- };