@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,195 +0,0 @@
1
- import { a as m, _ } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as P from "react";
3
- import { P as e } from "./index-DMSHuq6l.js";
4
- import { g as O, u as D, c as h, a as E } from "./useThemeProps-DRP1dikX.js";
5
- import { s as M } from "./styled-B8ugzvji.js";
6
- import { g as S } from "./createTheme-CNnKNxwL.js";
7
- import { f as U } from "./InputLabel-CBuAYyuT.js";
8
- import { jsx as w, jsxs as W } from "react/jsx-runtime";
9
- import { c as L } from "./createTheme-CyC5HawC.js";
10
- import { u as k } from "./useFormControl-CatNKXAi.js";
11
- import { T as C } from "./Typography-D1t7XuLN.js";
12
- import { r as q } from "./ButtonBase-DsX-jMQJ.js";
13
- function z(l) {
14
- return S("MuiFormControlLabel", l);
15
- }
16
- const c = O("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error"]), A = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"], B = (l) => {
17
- const {
18
- classes: o,
19
- disabled: r,
20
- labelPlacement: n,
21
- error: t
22
- } = l, b = {
23
- root: ["root", r && "disabled", `labelPlacement${L(n)}`, t && "error"],
24
- label: ["label", r && "disabled"]
25
- };
26
- return E(b, z, o);
27
- }, H = M("label", {
28
- name: "MuiFormControlLabel",
29
- slot: "Root",
30
- overridesResolver: (l, o) => {
31
- const {
32
- ownerState: r
33
- } = l;
34
- return [{
35
- [`& .${c.label}`]: o.label
36
- }, o.root, o[`labelPlacement${L(r.labelPlacement)}`]];
37
- }
38
- })(({
39
- theme: l,
40
- ownerState: o
41
- }) => m({
42
- display: "inline-flex",
43
- alignItems: "center",
44
- cursor: "pointer",
45
- // For correct alignment with the text.
46
- verticalAlign: "middle",
47
- WebkitTapHighlightColor: "transparent",
48
- marginLeft: -11,
49
- marginRight: 16,
50
- // used for row presentation of radio/checkbox
51
- [`&.${c.disabled}`]: {
52
- cursor: "default"
53
- }
54
- }, o.labelPlacement === "start" && {
55
- flexDirection: "row-reverse",
56
- marginLeft: 16,
57
- // used for row presentation of radio/checkbox
58
- marginRight: -11
59
- }, o.labelPlacement === "top" && {
60
- flexDirection: "column-reverse",
61
- marginLeft: 16
62
- }, o.labelPlacement === "bottom" && {
63
- flexDirection: "column",
64
- marginLeft: 16
65
- }, {
66
- [`& .${c.label}`]: {
67
- [`&.${c.disabled}`]: {
68
- color: (l.vars || l).palette.text.disabled
69
- }
70
- }
71
- })), I = /* @__PURE__ */ P.forwardRef(function(o, r) {
72
- var n;
73
- const t = D({
74
- props: o,
75
- name: "MuiFormControlLabel"
76
- }), {
77
- className: b,
78
- componentsProps: v = {},
79
- control: i,
80
- disabled: T,
81
- disableTypography: x,
82
- label: F,
83
- labelPlacement: R = "end",
84
- slotProps: j = {}
85
- } = t, N = _(t, A), d = k();
86
- let a = T;
87
- typeof a > "u" && typeof i.props.disabled < "u" && (a = i.props.disabled), typeof a > "u" && d && (a = d.disabled);
88
- const u = {
89
- disabled: a
90
- };
91
- ["checked", "name", "onChange", "value", "inputRef"].forEach((p) => {
92
- typeof i.props[p] > "u" && typeof t[p] < "u" && (u[p] = t[p]);
93
- });
94
- const $ = U({
95
- props: t,
96
- muiFormControl: d,
97
- states: ["error"]
98
- }), y = m({}, t, {
99
- disabled: a,
100
- labelPlacement: R,
101
- error: $.error
102
- }), g = B(y), f = (n = j.typography) != null ? n : v.typography;
103
- let s = F;
104
- return s != null && s.type !== C && !x && (s = /* @__PURE__ */ w(C, m({
105
- component: "span"
106
- }, f, {
107
- className: h(g.label, f == null ? void 0 : f.className),
108
- children: s
109
- }))), /* @__PURE__ */ W(H, m({
110
- className: h(g.root, b),
111
- ownerState: y,
112
- ref: r
113
- }, N, {
114
- children: [/* @__PURE__ */ P.cloneElement(i, u), s]
115
- }));
116
- });
117
- process.env.NODE_ENV !== "production" && (I.propTypes = {
118
- // ----------------------------- Warning --------------------------------
119
- // | These PropTypes are generated from the TypeScript type definitions |
120
- // | To update them edit the d.ts file and run "yarn proptypes" |
121
- // ----------------------------------------------------------------------
122
- /**
123
- * If `true`, the component appears selected.
124
- */
125
- checked: e.bool,
126
- /**
127
- * Override or extend the styles applied to the component.
128
- */
129
- classes: e.object,
130
- /**
131
- * @ignore
132
- */
133
- className: e.string,
134
- /**
135
- * The props used for each slot inside.
136
- * @default {}
137
- */
138
- componentsProps: e.shape({
139
- typography: e.object
140
- }),
141
- /**
142
- * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
143
- */
144
- control: e.element.isRequired,
145
- /**
146
- * If `true`, the control is disabled.
147
- */
148
- disabled: e.bool,
149
- /**
150
- * If `true`, the label is rendered as it is passed without an additional typography node.
151
- */
152
- disableTypography: e.bool,
153
- /**
154
- * Pass a ref to the `input` element.
155
- */
156
- inputRef: q,
157
- /**
158
- * A text or an element to be used in an enclosing label element.
159
- */
160
- label: e.node,
161
- /**
162
- * The position of the label.
163
- * @default 'end'
164
- */
165
- labelPlacement: e.oneOf(["bottom", "end", "start", "top"]),
166
- /**
167
- * @ignore
168
- */
169
- name: e.string,
170
- /**
171
- * Callback fired when the state is changed.
172
- *
173
- * @param {React.SyntheticEvent} event The event source of the callback.
174
- * You can pull out the new checked state by accessing `event.target.checked` (boolean).
175
- */
176
- onChange: e.func,
177
- /**
178
- * The props used for each slot inside.
179
- * @default {}
180
- */
181
- slotProps: e.shape({
182
- typography: e.object
183
- }),
184
- /**
185
- * The system prop that allows defining system overrides as well as additional CSS styles.
186
- */
187
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
188
- /**
189
- * The value of the component.
190
- */
191
- value: e.any
192
- });
193
- export {
194
- I as F
195
- };
@@ -1,326 +0,0 @@
1
- import { a, _ as B } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as U from "react";
3
- import { P as o } from "./index-DMSHuq6l.js";
4
- import { s as y, r as j } from "./styled-B8ugzvji.js";
5
- import { g as _, u as w, a as M } from "./useThemeProps-DRP1dikX.js";
6
- import { i as S, b as W, r as E, c as F, d as N, e as X } from "./InputLabel-CBuAYyuT.js";
7
- import { g as A } from "./createTheme-CNnKNxwL.js";
8
- import { jsx as L } from "react/jsx-runtime";
9
- import { a as V } from "./createTheme-CyC5HawC.js";
10
- import { r as k } from "./ButtonBase-DsX-jMQJ.js";
11
- function q(t) {
12
- return A("MuiInput", t);
13
- }
14
- const r = a({}, S, _("MuiInput", ["root", "underline", "input"])), D = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], z = (t) => {
15
- const {
16
- classes: e,
17
- disableUnderline: s
18
- } = t, i = M({
19
- root: ["root", !s && "underline"],
20
- input: ["input"]
21
- }, q, e);
22
- return a({}, e, i);
23
- }, G = y(W, {
24
- shouldForwardProp: (t) => j(t) || t === "classes",
25
- name: "MuiInput",
26
- slot: "Root",
27
- overridesResolver: (t, e) => {
28
- const {
29
- ownerState: s
30
- } = t;
31
- return [...E(t, e), !s.disableUnderline && e.underline];
32
- }
33
- })(({
34
- theme: t,
35
- ownerState: e
36
- }) => {
37
- let n = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
38
- return t.vars && (n = `rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`), a({
39
- position: "relative"
40
- }, e.formControl && {
41
- "label + &": {
42
- marginTop: 16
43
- }
44
- }, !e.disableUnderline && {
45
- "&:after": {
46
- borderBottom: `2px solid ${(t.vars || t).palette[e.color].main}`,
47
- left: 0,
48
- bottom: 0,
49
- // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
50
- content: '""',
51
- position: "absolute",
52
- right: 0,
53
- transform: "scaleX(0)",
54
- transition: t.transitions.create("transform", {
55
- duration: t.transitions.duration.shorter,
56
- easing: t.transitions.easing.easeOut
57
- }),
58
- pointerEvents: "none"
59
- // Transparent to the hover style.
60
- },
61
- [`&.${r.focused}:after`]: {
62
- // translateX(0) is a workaround for Safari transform scale bug
63
- // See https://github.com/mui/material-ui/issues/31766
64
- transform: "scaleX(1) translateX(0)"
65
- },
66
- [`&.${r.error}`]: {
67
- "&:before, &:after": {
68
- borderBottomColor: (t.vars || t).palette.error.main
69
- }
70
- },
71
- "&:before": {
72
- borderBottom: `1px solid ${n}`,
73
- left: 0,
74
- bottom: 0,
75
- // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
76
- content: '"\\00a0"',
77
- position: "absolute",
78
- right: 0,
79
- transition: t.transitions.create("border-bottom-color", {
80
- duration: t.transitions.duration.shorter
81
- }),
82
- pointerEvents: "none"
83
- // Transparent to the hover style.
84
- },
85
- [`&:hover:not(.${r.disabled}, .${r.error}):before`]: {
86
- borderBottom: `2px solid ${(t.vars || t).palette.text.primary}`,
87
- // Reset on touch devices, it doesn't add specificity
88
- "@media (hover: none)": {
89
- borderBottom: `1px solid ${n}`
90
- }
91
- },
92
- [`&.${r.disabled}:before`]: {
93
- borderBottomStyle: "dotted"
94
- }
95
- });
96
- }), H = y(F, {
97
- name: "MuiInput",
98
- slot: "Input",
99
- overridesResolver: N
100
- })({}), g = /* @__PURE__ */ U.forwardRef(function(e, s) {
101
- var n, i, u, d;
102
- const p = w({
103
- props: e,
104
- name: "MuiInput"
105
- }), {
106
- disableUnderline: v,
107
- components: m = {},
108
- componentsProps: c,
109
- fullWidth: C = !1,
110
- inputComponent: I = "input",
111
- multiline: P = !1,
112
- slotProps: l,
113
- slots: f = {},
114
- type: T = "text"
115
- } = p, R = B(p, D), O = z(p), b = {
116
- root: {
117
- ownerState: {
118
- disableUnderline: v
119
- }
120
- }
121
- }, $ = l ?? c ? V(l ?? c, b) : b, x = (n = (i = f.root) != null ? i : m.Root) != null ? n : G, h = (u = (d = f.input) != null ? d : m.Input) != null ? u : H;
122
- return /* @__PURE__ */ L(X, a({
123
- slots: {
124
- root: x,
125
- input: h
126
- },
127
- slotProps: $,
128
- fullWidth: C,
129
- inputComponent: I,
130
- multiline: P,
131
- ref: s,
132
- type: T
133
- }, R, {
134
- classes: O
135
- }));
136
- });
137
- process.env.NODE_ENV !== "production" && (g.propTypes = {
138
- // ----------------------------- Warning --------------------------------
139
- // | These PropTypes are generated from the TypeScript type definitions |
140
- // | To update them edit the d.ts file and run "yarn proptypes" |
141
- // ----------------------------------------------------------------------
142
- /**
143
- * This prop helps users to fill forms faster, especially on mobile devices.
144
- * The name can be confusing, as it's more like an autofill.
145
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
146
- */
147
- autoComplete: o.string,
148
- /**
149
- * If `true`, the `input` element is focused during the first mount.
150
- */
151
- autoFocus: o.bool,
152
- /**
153
- * Override or extend the styles applied to the component.
154
- */
155
- classes: o.object,
156
- /**
157
- * The color of the component.
158
- * It supports both default and custom theme colors, which can be added as shown in the
159
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
160
- * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
161
- */
162
- color: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
163
- /**
164
- * The components used for each slot inside.
165
- *
166
- * This prop is an alias for the `slots` prop.
167
- * It's recommended to use the `slots` prop instead.
168
- *
169
- * @default {}
170
- */
171
- components: o.shape({
172
- Input: o.elementType,
173
- Root: o.elementType
174
- }),
175
- /**
176
- * The extra props for the slot components.
177
- * You can override the existing props or add new ones.
178
- *
179
- * This prop is an alias for the `slotProps` prop.
180
- * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
181
- *
182
- * @default {}
183
- */
184
- componentsProps: o.shape({
185
- input: o.object,
186
- root: o.object
187
- }),
188
- /**
189
- * The default value. Use when the component is not controlled.
190
- */
191
- defaultValue: o.any,
192
- /**
193
- * If `true`, the component is disabled.
194
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
195
- */
196
- disabled: o.bool,
197
- /**
198
- * If `true`, the `input` will not have an underline.
199
- */
200
- disableUnderline: o.bool,
201
- /**
202
- * End `InputAdornment` for this component.
203
- */
204
- endAdornment: o.node,
205
- /**
206
- * If `true`, the `input` will indicate an error.
207
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
208
- */
209
- error: o.bool,
210
- /**
211
- * If `true`, the `input` will take up the full width of its container.
212
- * @default false
213
- */
214
- fullWidth: o.bool,
215
- /**
216
- * The id of the `input` element.
217
- */
218
- id: o.string,
219
- /**
220
- * The component used for the `input` element.
221
- * Either a string to use a HTML element or a component.
222
- * @default 'input'
223
- */
224
- inputComponent: o.elementType,
225
- /**
226
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
227
- * @default {}
228
- */
229
- inputProps: o.object,
230
- /**
231
- * Pass a ref to the `input` element.
232
- */
233
- inputRef: k,
234
- /**
235
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
236
- * FormControl.
237
- * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
238
- */
239
- margin: o.oneOf(["dense", "none"]),
240
- /**
241
- * Maximum number of rows to display when multiline option is set to true.
242
- */
243
- maxRows: o.oneOfType([o.number, o.string]),
244
- /**
245
- * Minimum number of rows to display when multiline option is set to true.
246
- */
247
- minRows: o.oneOfType([o.number, o.string]),
248
- /**
249
- * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
250
- * @default false
251
- */
252
- multiline: o.bool,
253
- /**
254
- * Name attribute of the `input` element.
255
- */
256
- name: o.string,
257
- /**
258
- * Callback fired when the value is changed.
259
- *
260
- * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
261
- * You can pull out the new value by accessing `event.target.value` (string).
262
- */
263
- onChange: o.func,
264
- /**
265
- * The short hint displayed in the `input` before the user enters a value.
266
- */
267
- placeholder: o.string,
268
- /**
269
- * It prevents the user from changing the value of the field
270
- * (not from interacting with the field).
271
- */
272
- readOnly: o.bool,
273
- /**
274
- * If `true`, the `input` element is required.
275
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
276
- */
277
- required: o.bool,
278
- /**
279
- * Number of rows to display when multiline option is set to true.
280
- */
281
- rows: o.oneOfType([o.number, o.string]),
282
- /**
283
- * The extra props for the slot components.
284
- * You can override the existing props or add new ones.
285
- *
286
- * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
287
- *
288
- * @default {}
289
- */
290
- slotProps: o.shape({
291
- input: o.object,
292
- root: o.object
293
- }),
294
- /**
295
- * The components used for each slot inside.
296
- *
297
- * This prop is an alias for the `components` prop, which will be deprecated in the future.
298
- *
299
- * @default {}
300
- */
301
- slots: o.shape({
302
- input: o.elementType,
303
- root: o.elementType
304
- }),
305
- /**
306
- * Start `InputAdornment` for this component.
307
- */
308
- startAdornment: o.node,
309
- /**
310
- * The system prop that allows defining system overrides as well as additional CSS styles.
311
- */
312
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
313
- /**
314
- * 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).
315
- * @default 'text'
316
- */
317
- type: o.string,
318
- /**
319
- * The value of the `input` element, required for a controlled component.
320
- */
321
- value: o.any
322
- });
323
- g.muiName = "Input";
324
- export {
325
- g as I
326
- };