@hybridcore/ui 1.6.0 → 1.6.2

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 (291) hide show
  1. package/CATALOG.md +179 -0
  2. package/README.md +1 -2
  3. package/dist/AccordionSummary-CJppWeqF.js +781 -0
  4. package/dist/Add-CqcD1PWb.js +403 -0
  5. package/dist/Box-DqUMmZjL.js +31 -0
  6. package/dist/{Button-CvE2gnly.js → Button-C5yquWAB.js} +120 -133
  7. package/dist/ButtonBase-BEF7oTOe.js +887 -0
  8. package/dist/{Delete-CW0UZv1m.js → Delete-BdyYpINH.js} +9 -8
  9. package/dist/{DialogContent-B3nbEbuv.js → DialogContent-BvVjD9z3.js} +127 -124
  10. package/dist/FormGroup-CpBsIyYR.js +89 -0
  11. package/dist/{IconButton-CHwRQF-g.js → IconButton-BoGwbvrP.js} +41 -43
  12. package/dist/InputLabel-Dd8RrneV.js +341 -0
  13. package/dist/{MenuItem-xZx_w7zA.js → MenuItem-DwqJqzuM.js} +51 -53
  14. package/dist/Modal-MUZygjmQ.js +1158 -0
  15. package/dist/Paper-BkQLdsCI.js +582 -0
  16. package/dist/Select-DHUl_uG3.js +3916 -0
  17. package/dist/SwitchBase-DTndTqI8.js +235 -0
  18. package/dist/TextField-e2oKaUN1.js +669 -0
  19. package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
  20. package/dist/{Typography-CxbneZy_.js → Typography-DgsSLCFC.js} +53 -53
  21. package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
  22. package/dist/assets/index4.css +1 -0
  23. package/dist/clsx-OuTLNxxd.js +16 -0
  24. package/dist/components/access/helpers.js +1 -1
  25. package/dist/components/access/index.js +8 -15
  26. package/dist/components/access/logic.js +25 -0
  27. package/dist/components/button/index.js +10 -0
  28. package/dist/components/button/logic.js +26 -0
  29. package/dist/components/button/styled.js +9 -0
  30. package/dist/components/card/index.js +158 -498
  31. package/dist/components/card/logic.js +24 -0
  32. package/dist/components/card/styled.js +226 -51
  33. package/dist/components/card-alternate/index.js +111 -139
  34. package/dist/components/card-alternate/logic.js +17 -0
  35. package/dist/components/card-alternate/styled.js +113 -19
  36. package/dist/components/charts/_common/chart-error.js +19 -0
  37. package/dist/components/charts/candlestick/index.js +3 -3
  38. package/dist/components/charts/candlestick/logic.js +123 -113
  39. package/dist/components/charts/chart-wrapper/index.js +5 -5
  40. package/dist/components/charts/column-line-mix/index.js +9 -8
  41. package/dist/components/charts/column-line-mix/logic.js +68 -71
  42. package/dist/components/charts/drill-down-treemap/index.js +8 -7
  43. package/dist/components/charts/drill-down-treemap/logic.js +138 -144
  44. package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
  45. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
  46. package/dist/components/charts/heatmap/index.js +9 -8
  47. package/dist/components/charts/heatmap/logic.js +167 -173
  48. package/dist/components/charts/highlighting-line-data/index.js +3 -3
  49. package/dist/components/charts/line/index.js +9 -8
  50. package/dist/components/charts/line/logic.js +74 -79
  51. package/dist/components/charts/logaritmic-scale/index.js +9 -8
  52. package/dist/components/charts/logaritmic-scale/logic.js +63 -69
  53. package/dist/components/charts/multiple-value-axes/index.js +9 -8
  54. package/dist/components/charts/multiple-value-axes/logic.js +101 -107
  55. package/dist/components/charts/nested-pie/index.js +9 -8
  56. package/dist/components/charts/nested-pie/logic.js +62 -68
  57. package/dist/components/charts/packed-circles/index.js +7 -6
  58. package/dist/components/charts/packed-circles/logic.js +50 -56
  59. package/dist/components/charts/pie-chart/index.js +9 -8
  60. package/dist/components/charts/pie-chart/logic.js +49 -54
  61. package/dist/components/charts/stacked-area-radar/index.js +8 -7
  62. package/dist/components/charts/stacked-area-radar/logic.js +113 -118
  63. package/dist/components/charts/stacked-column-chart/index.js +9 -8
  64. package/dist/components/charts/stacked-column-chart/logic.js +78 -84
  65. package/dist/components/charts/xy-chart/index.js +9 -8
  66. package/dist/components/charts/xy-chart/logic.js +56 -60
  67. package/dist/components/collapsible-card/index.js +11 -10
  68. package/dist/components/collapsible-card/styled.js +1 -1
  69. package/dist/components/color-picker/index.js +7120 -0
  70. package/dist/components/color-picker/logic.js +18 -0
  71. package/dist/components/color-picker/styled.js +7 -0
  72. package/dist/components/confirm/dialog.js +3 -3
  73. package/dist/components/confirm/index.js +1 -1
  74. package/dist/components/container/index.js +28 -269
  75. package/dist/components/container/logic.js +12 -0
  76. package/dist/components/container/styled.js +29 -0
  77. package/dist/components/context-menu/index.js +25 -457
  78. package/dist/components/context-menu/logic.js +14 -0
  79. package/dist/components/context-menu/styled.js +40 -0
  80. package/dist/components/data-grid/index.js +22 -0
  81. package/dist/components/data-grid/logic.js +15 -0
  82. package/dist/components/data-grid/styled.js +20 -0
  83. package/dist/components/data-map/components/controls/index.js +4 -6
  84. package/dist/components/data-map/index.js +11 -11
  85. package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
  86. package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
  87. package/dist/components/data-security-selectors/security-level/index.js +39 -91
  88. package/dist/components/data-security-selectors/security-level/logic.js +28 -0
  89. package/dist/components/data-security-selectors/security-level/styled.js +53 -0
  90. package/dist/components/date-picker-with-custom-range/index.js +1 -1
  91. package/dist/components/date-range-picker/index.js +2748 -0
  92. package/dist/components/date-range-picker/styled.js +14 -0
  93. package/dist/components/date-time-picker/index.js +45 -46
  94. package/dist/components/divider/index.js +11 -11
  95. package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
  96. package/dist/components/document-viewer/components/navigation/index.js +9 -9
  97. package/dist/components/document-viewer/components/viewer/index.js +31 -35
  98. package/dist/components/document-viewer/index.js +31 -39
  99. package/dist/components/document-viewer/logic.js +41 -34
  100. package/dist/components/document-viewer/styled.js +115 -27
  101. package/dist/components/duration-select/index.js +27 -0
  102. package/dist/components/duration-select/logic.js +21 -0
  103. package/dist/components/duration-select/styled.js +26 -0
  104. package/dist/components/editable-text/index.js +20 -0
  105. package/dist/components/editable-text/logic.js +18 -0
  106. package/dist/components/editable-text/styled.js +22 -0
  107. package/dist/components/geometry-picker/coordinate/index.js +29 -29
  108. package/dist/components/geometry-picker/edit/index.js +18 -18
  109. package/dist/components/geometry-picker/geometry/index.js +67 -67
  110. package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
  111. package/dist/components/geometry-picker/index.js +69 -85
  112. package/dist/components/geometry-picker/kml/index.js +16 -16
  113. package/dist/components/geometry-picker/logic.js +50 -57
  114. package/dist/components/geometry-picker/map/index.js +8 -8
  115. package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
  116. package/dist/components/geometry-picker/parser/index.js +46 -50
  117. package/dist/components/geometry-picker/parser/styled.js +22 -4
  118. package/dist/components/geometry-picker/styled.js +97 -37
  119. package/dist/components/geometry-picker/wkt/index.js +13 -13
  120. package/dist/components/heat-map/components/controls/index.js +4 -6
  121. package/dist/components/heat-map/components/legend/index.js +15 -17
  122. package/dist/components/heat-map/index.js +7 -7
  123. package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
  124. package/dist/components/instance-form/components/composite-list/index.js +5 -3
  125. package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
  126. package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
  127. package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
  128. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
  129. package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
  130. package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
  131. package/dist/components/instance-form/components/policy-list/index.js +47 -81
  132. package/dist/components/instance-form/components/variable/index.js +6 -11
  133. package/dist/components/instance-form/components/variables/index.js +48 -55
  134. package/dist/components/instance-form/helpers.js +9 -0
  135. package/dist/components/instance-form/index.js +402 -518
  136. package/dist/components/instance-form/logic.js +115 -0
  137. package/dist/components/instance-form/styled.js +487 -0
  138. package/dist/components/instance-hierarchy-table/index.js +32 -37
  139. package/dist/components/instance-hierarchy-table/logic.js +16 -0
  140. package/dist/components/instance-hierarchy-table/styled.js +53 -12
  141. package/dist/components/instance-table/index.js +30 -135
  142. package/dist/components/instance-table/logic.js +122 -0
  143. package/dist/components/instance-table/styled.js +53 -11
  144. package/dist/components/instance-variable-list/index.js +11 -11
  145. package/dist/components/loading/index.js +15 -9
  146. package/dist/components/loading/logic.js +15 -0
  147. package/dist/components/loading/styled.js +26 -19
  148. package/dist/components/map/index.js +28 -6
  149. package/dist/components/map/styled.js +1 -1
  150. package/dist/components/notification/index.js +67 -0
  151. package/dist/components/notification/logic.js +30 -0
  152. package/dist/components/notification/store.js +23 -0
  153. package/dist/components/notification/styled.js +52 -0
  154. package/dist/components/object-profile-card/components/avatar/index.js +9 -10
  155. package/dist/components/object-profile-card/index.js +19 -20
  156. package/dist/components/paginated-list/index.js +2 -3
  157. package/dist/components/phone-input/index.js +18 -22
  158. package/dist/components/phone-input/logic.js +14 -0
  159. package/dist/components/phone-input/styled.js +12 -4
  160. package/dist/components/placeholder/index.js +10 -0
  161. package/dist/components/placeholder/logic.js +12 -0
  162. package/dist/components/placeholder/styled.js +32 -0
  163. package/dist/components/positional-tooltip/index.js +24 -0
  164. package/dist/components/positional-tooltip/styled.js +17 -0
  165. package/dist/components/property-mapping/index.js +204 -423
  166. package/dist/components/property-mapping/logic.js +156 -0
  167. package/dist/components/property-mapping/styled.js +199 -0
  168. package/dist/components/prr-map/components/controls/index.js +4 -6
  169. package/dist/components/prr-map/components/legend/index.js +26 -28
  170. package/dist/components/prr-map/index.js +5 -5
  171. package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
  172. package/dist/components/range-selector/components/date-range/index.js +87 -4221
  173. package/dist/components/range-selector/components/geometry-range/index.js +11 -17
  174. package/dist/components/range-selector/components/number-range/index.js +48 -53
  175. package/dist/components/range-selector/components/string-range/index.js +15 -17
  176. package/dist/components/range-selector/index.js +63 -57
  177. package/dist/components/range-selector/logic.js +12 -0
  178. package/dist/components/range-selector/styled.js +4294 -0
  179. package/dist/components/raster-grid-map/components/controls/index.js +4 -6
  180. package/dist/components/raster-grid-map/components/legend/index.js +4 -6
  181. package/dist/components/raster-grid-map/index.js +5 -5
  182. package/dist/components/scroll-drag/index.js +22 -0
  183. package/dist/components/scroll-drag/logic.js +39 -0
  184. package/dist/components/scroll-drag/styled.js +17 -0
  185. package/dist/components/search-input/logic.js +35 -33
  186. package/dist/components/simple-pivot-table/index.js +12 -12
  187. package/dist/components/sortable-list/index.js +599 -0
  188. package/dist/components/sortable-list/logic.js +18 -0
  189. package/dist/components/sortable-list/styled.js +38 -0
  190. package/dist/components/static-text/index.js +6 -6
  191. package/dist/components/stats-box/index.js +12 -0
  192. package/dist/components/stats-box/styled.js +36 -0
  193. package/dist/components/template-filters/components/filter/index.js +13 -18
  194. package/dist/components/template-filters/components/tab-panel/index.js +8 -16
  195. package/dist/components/template-filters/index.js +21 -29
  196. package/dist/components/template-filters/logic.js +18 -0
  197. package/dist/components/template-filters/styled.js +44 -1
  198. package/dist/components/template-form/components/property-list/index.js +27 -26
  199. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  200. package/dist/components/template-form/components/property-list/property-list-form.js +758 -14
  201. package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
  202. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  203. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -23
  204. package/dist/components/template-form/components/select-icon/index.js +24 -24
  205. package/dist/components/template-form/helpers.js +17 -0
  206. package/dist/components/template-form/index.js +270 -309
  207. package/dist/components/template-form/logic.js +69 -0
  208. package/dist/components/template-form/styled.js +84 -0
  209. package/dist/components/template-property-filters/index.js +45 -95
  210. package/dist/components/template-property-filters/logic.js +27 -0
  211. package/dist/components/template-property-filters/property.js +105 -165
  212. package/dist/components/template-property-filters/styled.js +121 -20
  213. package/dist/components/text-overflow/index.js +6 -0
  214. package/dist/components/text-overflow/styled.js +13 -0
  215. package/dist/components/timeline/index.js +12 -12
  216. package/dist/components/toggle-view-button/index.js +35 -0
  217. package/dist/components/toggle-view-button/logic.js +22 -0
  218. package/dist/components/toggle-view-button/styled.js +11 -0
  219. package/dist/components/tree-select/index.js +52 -67
  220. package/dist/components/tree-select/logic.js +59 -0
  221. package/dist/components/tree-select/styled.js +45 -62
  222. package/dist/components/treeview-filter/index.js +43 -65
  223. package/dist/components/treeview-filter/item/index.js +43 -42
  224. package/dist/components/treeview-filter/item-label/index.js +17 -37
  225. package/dist/components/treeview-filter/logic.js +28 -0
  226. package/dist/components/treeview-filter/styled.js +86 -0
  227. package/dist/components/uploader/index.js +532 -567
  228. package/dist/components/uploader/logic.js +74 -0
  229. package/dist/components/uploader/styled.js +93 -46
  230. package/dist/components/visually-hidden-input/index.js +4 -0
  231. package/dist/components/visually-hidden-input/styled.js +18 -0
  232. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  233. package/dist/{createSvgIcon-DrtgaibK.js → createSvgIcon-Ch_cT8az.js} +69 -68
  234. package/dist/createSvgIcon-DuDuASu1.js +62 -0
  235. package/dist/{dialog-DcwXug9J.js → dialog-BYRnCztH.js} +18 -18
  236. package/dist/formControlState-vgaj2ksH.js +10 -0
  237. package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
  238. package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
  239. package/dist/index-BtlzPygz.js +470 -0
  240. package/dist/index-DH6qsPBn.js +153 -0
  241. package/dist/{index-syTc6m_V.js → index-e9xTIYWt.js} +87 -87
  242. package/dist/main.d.ts +1722 -562
  243. package/dist/main.js +161 -128
  244. package/dist/ownerWindow-wg6foiOE.js +10 -0
  245. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  246. package/dist/styled-Db1RdcPA.js +323 -0
  247. package/dist/unsupportedProp-DuqR2hj9.js +36 -0
  248. package/dist/useId-BW-oWmul.js +19 -0
  249. package/dist/useMobilePicker-CY8ndYRL.js +8279 -0
  250. package/dist/useSlot-B_Q4vnX5.js +42 -0
  251. package/package.json +15 -7
  252. package/dist/AccordionSummary-DgAwVTk8.js +0 -742
  253. package/dist/Add-DJLrrVHm.js +0 -382
  254. package/dist/Box-p6OtTUEo.js +0 -30
  255. package/dist/ButtonBase-2bPw77UP.js +0 -961
  256. package/dist/CardContent-CSHh-ZlM.js +0 -74
  257. package/dist/Checkbox-CWRMFTBp.js +0 -421
  258. package/dist/FormControl-BLbrq4C7.js +0 -1636
  259. package/dist/FormControlLabel-C8SPv14J.js +0 -195
  260. package/dist/InputAdornment-DLxWUE6H.js +0 -157
  261. package/dist/List-tqElle9C.js +0 -121
  262. package/dist/ListItem-CfjsIg4B.js +0 -430
  263. package/dist/Modal-DhPpOoGB.js +0 -1299
  264. package/dist/Paper-2B03OBmZ.js +0 -169
  265. package/dist/Select-BgYwkZgI.js +0 -2613
  266. package/dist/TextField-1yCesIbH.js +0 -457
  267. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  268. package/dist/capitalize-ciszXJ7R.js +0 -9
  269. package/dist/components/instance-form/components/composite-list/styled.js +0 -73
  270. package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
  271. package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
  272. package/dist/components/key-protection/index.js +0 -4
  273. package/dist/components/key-protection/menu.js +0 -85
  274. package/dist/components/key-protection/utils.js +0 -10
  275. package/dist/components/treeview-filter/item/styled.js +0 -39
  276. package/dist/createSvgIcon-BjpIhJ30.js +0 -71
  277. package/dist/createTheme-DYxDnE9u.js +0 -612
  278. package/dist/index-BMS1Otro.js +0 -183
  279. package/dist/index-CcdvNlgr.js +0 -503
  280. package/dist/index-kCJ_Zvl8.js +0 -34
  281. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  282. package/dist/isMuiElement-CxT3_ACP.js +0 -13
  283. package/dist/listItemTextClasses-C3lndiXO.js +0 -16
  284. package/dist/property-list-form-zZQfpR0X.js +0 -386
  285. package/dist/styled-eZwjUruw.js +0 -12
  286. package/dist/unsupportedProp-BND8AB6O.js +0 -25
  287. package/dist/useId-B4-oF9Mq.js +0 -34
  288. package/dist/useMobilePicker-BLg3Blg8.js +0 -7589
  289. package/dist/useThemeProps-BzzHcQyd.js +0 -58
  290. package/dist/utils-BDNynJcd.js +0 -365
  291. package/dist/utils-Bq0ye5vf.js +0 -115
@@ -1,457 +0,0 @@
1
- import { a as l, _ as H } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as M from "react";
3
- import { P as e } from "./index-C__OZmYy.js";
4
- import { g as S, u as _, c as L, a as $ } from "./useThemeProps-BzzHcQyd.js";
5
- import { s as E } from "./styled-eZwjUruw.js";
6
- import { g as U } from "./createTheme-DYxDnE9u.js";
7
- import { jsx as p, jsxs as le } from "react/jsx-runtime";
8
- import { f as ie, F as ae, I as de, b as ce } from "./FormControl-BLbrq4C7.js";
9
- import { u as ue } from "./useId-B4-oF9Mq.js";
10
- import { S as pe, F as fe, O as me } from "./Select-BgYwkZgI.js";
11
- import { u as be } from "./useFormControl-CatNKXAi.js";
12
- import { c as V } from "./capitalize-ciszXJ7R.js";
13
- import { r as Te } from "./ButtonBase-2bPw77UP.js";
14
- function xe(o) {
15
- return U("MuiFormHelperText", o);
16
- }
17
- const z = S("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
18
- var q;
19
- const ge = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], he = (o) => {
20
- const {
21
- classes: r,
22
- contained: s,
23
- size: n,
24
- disabled: d,
25
- error: c,
26
- filled: i,
27
- focused: f,
28
- required: u
29
- } = o, t = {
30
- root: ["root", d && "disabled", c && "error", n && `size${V(n)}`, s && "contained", f && "focused", i && "filled", u && "required"]
31
- };
32
- return $(t, xe, r);
33
- }, ye = E("p", {
34
- name: "MuiFormHelperText",
35
- slot: "Root",
36
- overridesResolver: (o, r) => {
37
- const {
38
- ownerState: s
39
- } = o;
40
- return [r.root, s.size && r[`size${V(s.size)}`], s.contained && r.contained, s.filled && r.filled];
41
- }
42
- })(({
43
- theme: o,
44
- ownerState: r
45
- }) => l({
46
- color: (o.vars || o).palette.text.secondary
47
- }, o.typography.caption, {
48
- textAlign: "left",
49
- marginTop: 3,
50
- marginRight: 0,
51
- marginBottom: 0,
52
- marginLeft: 0,
53
- [`&.${z.disabled}`]: {
54
- color: (o.vars || o).palette.text.disabled
55
- },
56
- [`&.${z.error}`]: {
57
- color: (o.vars || o).palette.error.main
58
- }
59
- }, r.size === "small" && {
60
- marginTop: 4
61
- }, r.contained && {
62
- marginLeft: 14,
63
- marginRight: 14
64
- })), B = /* @__PURE__ */ M.forwardRef(function(r, s) {
65
- const n = _({
66
- props: r,
67
- name: "MuiFormHelperText"
68
- }), {
69
- children: d,
70
- className: c,
71
- component: i = "p"
72
- } = n, f = H(n, ge), u = be(), t = ie({
73
- props: n,
74
- muiFormControl: u,
75
- states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
76
- }), m = l({}, n, {
77
- component: i,
78
- contained: t.variant === "filled" || t.variant === "outlined",
79
- variant: t.variant,
80
- size: t.size,
81
- disabled: t.disabled,
82
- error: t.error,
83
- filled: t.filled,
84
- focused: t.focused,
85
- required: t.required
86
- }), x = he(m);
87
- return /* @__PURE__ */ p(ye, l({
88
- as: i,
89
- ownerState: m,
90
- className: L(x.root, c),
91
- ref: s
92
- }, f, {
93
- children: d === " " ? (
94
- // notranslate needed while Google Translate will not fix zero-width space issue
95
- q || (q = /* @__PURE__ */ p("span", {
96
- className: "notranslate",
97
- children: "​"
98
- }))
99
- ) : d
100
- }));
101
- });
102
- process.env.NODE_ENV !== "production" && (B.propTypes = {
103
- // ----------------------------- Warning --------------------------------
104
- // | These PropTypes are generated from the TypeScript type definitions |
105
- // | To update them edit the d.ts file and run "yarn proptypes" |
106
- // ----------------------------------------------------------------------
107
- /**
108
- * The content of the component.
109
- *
110
- * If `' '` is provided, the component reserves one line height for displaying a future message.
111
- */
112
- children: e.node,
113
- /**
114
- * Override or extend the styles applied to the component.
115
- */
116
- classes: e.object,
117
- /**
118
- * @ignore
119
- */
120
- className: e.string,
121
- /**
122
- * The component used for the root node.
123
- * Either a string to use a HTML element or a component.
124
- */
125
- component: e.elementType,
126
- /**
127
- * If `true`, the helper text should be displayed in a disabled state.
128
- */
129
- disabled: e.bool,
130
- /**
131
- * If `true`, helper text should be displayed in an error state.
132
- */
133
- error: e.bool,
134
- /**
135
- * If `true`, the helper text should use filled classes key.
136
- */
137
- filled: e.bool,
138
- /**
139
- * If `true`, the helper text should use focused classes key.
140
- */
141
- focused: e.bool,
142
- /**
143
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
144
- * FormControl.
145
- */
146
- margin: e.oneOf(["dense"]),
147
- /**
148
- * If `true`, the helper text should use required classes key.
149
- */
150
- required: e.bool,
151
- /**
152
- * The system prop that allows defining system overrides as well as additional CSS styles.
153
- */
154
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
155
- /**
156
- * The variant to use.
157
- */
158
- variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
159
- });
160
- function Fe(o) {
161
- return U("MuiTextField", o);
162
- }
163
- S("MuiTextField", ["root"]);
164
- const ve = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], Oe = {
165
- standard: ce,
166
- filled: fe,
167
- outlined: me
168
- }, Re = (o) => {
169
- const {
170
- classes: r
171
- } = o;
172
- return $({
173
- root: ["root"]
174
- }, Fe, r);
175
- }, Ce = E(ae, {
176
- name: "MuiTextField",
177
- slot: "Root",
178
- overridesResolver: (o, r) => r.root
179
- })({}), we = /* @__PURE__ */ M.forwardRef(function(r, s) {
180
- const n = _({
181
- props: r,
182
- name: "MuiTextField"
183
- }), {
184
- autoComplete: d,
185
- autoFocus: c = !1,
186
- children: i,
187
- className: f,
188
- color: u = "primary",
189
- defaultValue: t,
190
- disabled: m = !1,
191
- error: x = !1,
192
- FormHelperTextProps: W,
193
- fullWidth: F = !1,
194
- helperText: v,
195
- id: D,
196
- InputLabelProps: g,
197
- inputProps: k,
198
- InputProps: A,
199
- inputRef: G,
200
- label: b,
201
- maxRows: J,
202
- minRows: K,
203
- multiline: C = !1,
204
- name: Q,
205
- onBlur: X,
206
- onChange: Y,
207
- onFocus: Z,
208
- placeholder: ee,
209
- required: w = !1,
210
- rows: oe,
211
- select: h = !1,
212
- SelectProps: O,
213
- type: re,
214
- value: P,
215
- variant: y = "outlined"
216
- } = n, te = H(n, ve), I = l({}, n, {
217
- autoFocus: c,
218
- color: u,
219
- disabled: m,
220
- error: x,
221
- fullWidth: F,
222
- multiline: C,
223
- required: w,
224
- select: h,
225
- variant: y
226
- }), se = Re(I);
227
- process.env.NODE_ENV !== "production" && h && !i && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
228
- const T = {};
229
- y === "outlined" && (g && typeof g.shrink < "u" && (T.notched = g.shrink), T.label = b), h && ((!O || !O.native) && (T.id = void 0), T["aria-describedby"] = void 0);
230
- const a = ue(D), R = v && a ? `${a}-helper-text` : void 0, N = b && a ? `${a}-label` : void 0, ne = Oe[y], j = /* @__PURE__ */ p(ne, l({
231
- "aria-describedby": R,
232
- autoComplete: d,
233
- autoFocus: c,
234
- defaultValue: t,
235
- fullWidth: F,
236
- multiline: C,
237
- name: Q,
238
- rows: oe,
239
- maxRows: J,
240
- minRows: K,
241
- type: re,
242
- value: P,
243
- id: a,
244
- inputRef: G,
245
- onBlur: X,
246
- onChange: Y,
247
- onFocus: Z,
248
- placeholder: ee,
249
- inputProps: k
250
- }, T, A));
251
- return /* @__PURE__ */ le(Ce, l({
252
- className: L(se.root, f),
253
- disabled: m,
254
- error: x,
255
- fullWidth: F,
256
- ref: s,
257
- required: w,
258
- color: u,
259
- variant: y,
260
- ownerState: I
261
- }, te, {
262
- children: [b != null && b !== "" && /* @__PURE__ */ p(de, l({
263
- htmlFor: a,
264
- id: N
265
- }, g, {
266
- children: b
267
- })), h ? /* @__PURE__ */ p(pe, l({
268
- "aria-describedby": R,
269
- id: a,
270
- labelId: N,
271
- value: P,
272
- input: j
273
- }, O, {
274
- children: i
275
- })) : j, v && /* @__PURE__ */ p(B, l({
276
- id: R
277
- }, W, {
278
- children: v
279
- }))]
280
- }));
281
- });
282
- process.env.NODE_ENV !== "production" && (we.propTypes = {
283
- // ----------------------------- Warning --------------------------------
284
- // | These PropTypes are generated from the TypeScript type definitions |
285
- // | To update them edit the d.ts file and run "yarn proptypes" |
286
- // ----------------------------------------------------------------------
287
- /**
288
- * This prop helps users to fill forms faster, especially on mobile devices.
289
- * The name can be confusing, as it's more like an autofill.
290
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
291
- */
292
- autoComplete: e.string,
293
- /**
294
- * If `true`, the `input` element is focused during the first mount.
295
- * @default false
296
- */
297
- autoFocus: e.bool,
298
- /**
299
- * @ignore
300
- */
301
- children: e.node,
302
- /**
303
- * Override or extend the styles applied to the component.
304
- */
305
- classes: e.object,
306
- /**
307
- * @ignore
308
- */
309
- className: e.string,
310
- /**
311
- * The color of the component.
312
- * It supports both default and custom theme colors, which can be added as shown in the
313
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
314
- * @default 'primary'
315
- */
316
- color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
317
- /**
318
- * The default value. Use when the component is not controlled.
319
- */
320
- defaultValue: e.any,
321
- /**
322
- * If `true`, the component is disabled.
323
- * @default false
324
- */
325
- disabled: e.bool,
326
- /**
327
- * If `true`, the label is displayed in an error state.
328
- * @default false
329
- */
330
- error: e.bool,
331
- /**
332
- * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.
333
- */
334
- FormHelperTextProps: e.object,
335
- /**
336
- * If `true`, the input will take up the full width of its container.
337
- * @default false
338
- */
339
- fullWidth: e.bool,
340
- /**
341
- * The helper text content.
342
- */
343
- helperText: e.node,
344
- /**
345
- * The id of the `input` element.
346
- * Use this prop to make `label` and `helperText` accessible for screen readers.
347
- */
348
- id: e.string,
349
- /**
350
- * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.
351
- * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
352
- */
353
- InputLabelProps: e.object,
354
- /**
355
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
356
- */
357
- inputProps: e.object,
358
- /**
359
- * Props applied to the Input element.
360
- * It will be a [`FilledInput`](/material-ui/api/filled-input/),
361
- * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)
362
- * component depending on the `variant` prop value.
363
- */
364
- InputProps: e.object,
365
- /**
366
- * Pass a ref to the `input` element.
367
- */
368
- inputRef: Te,
369
- /**
370
- * The label content.
371
- */
372
- label: e.node,
373
- /**
374
- * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
375
- * @default 'none'
376
- */
377
- margin: e.oneOf(["dense", "none", "normal"]),
378
- /**
379
- * Maximum number of rows to display when multiline option is set to true.
380
- */
381
- maxRows: e.oneOfType([e.number, e.string]),
382
- /**
383
- * Minimum number of rows to display when multiline option is set to true.
384
- */
385
- minRows: e.oneOfType([e.number, e.string]),
386
- /**
387
- * If `true`, a `textarea` element is rendered instead of an input.
388
- * @default false
389
- */
390
- multiline: e.bool,
391
- /**
392
- * Name attribute of the `input` element.
393
- */
394
- name: e.string,
395
- /**
396
- * @ignore
397
- */
398
- onBlur: e.func,
399
- /**
400
- * Callback fired when the value is changed.
401
- *
402
- * @param {object} event The event source of the callback.
403
- * You can pull out the new value by accessing `event.target.value` (string).
404
- */
405
- onChange: e.func,
406
- /**
407
- * @ignore
408
- */
409
- onFocus: e.func,
410
- /**
411
- * The short hint displayed in the `input` before the user enters a value.
412
- */
413
- placeholder: e.string,
414
- /**
415
- * If `true`, the label is displayed as required and the `input` element is required.
416
- * @default false
417
- */
418
- required: e.bool,
419
- /**
420
- * Number of rows to display when multiline option is set to true.
421
- */
422
- rows: e.oneOfType([e.number, e.string]),
423
- /**
424
- * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
425
- * If this option is set you must pass the options of the select as children.
426
- * @default false
427
- */
428
- select: e.bool,
429
- /**
430
- * Props applied to the [`Select`](/material-ui/api/select/) element.
431
- */
432
- SelectProps: e.object,
433
- /**
434
- * The size of the component.
435
- */
436
- size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
437
- /**
438
- * The system prop that allows defining system overrides as well as additional CSS styles.
439
- */
440
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
441
- /**
442
- * 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).
443
- */
444
- type: e.string,
445
- /**
446
- * The value of the `input` element, required for a controlled component.
447
- */
448
- value: e.any,
449
- /**
450
- * The variant to use.
451
- * @default 'outlined'
452
- */
453
- variant: e.oneOf(["filled", "outlined", "standard"])
454
- });
455
- export {
456
- we as T
457
- };
@@ -1,13 +0,0 @@
1
- function n(e, r) {
2
- return n = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, i) {
3
- return t.__proto__ = i, t;
4
- }, n(e, r);
5
- }
6
- function o(e) {
7
- if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8
- return e;
9
- }
10
- export {
11
- n as _,
12
- o as a
13
- };
@@ -1,9 +0,0 @@
1
- import { f as e } from "./createTheme-DYxDnE9u.js";
2
- function o(r) {
3
- if (typeof r != "string")
4
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : e(7));
5
- return r.charAt(0).toUpperCase() + r.slice(1);
6
- }
7
- export {
8
- o as c
9
- };
@@ -1,73 +0,0 @@
1
- import { styled as i, Box as r, Button as n } from "@mui/material";
2
- const p = i(r)(({ theme: o, variant: t }) => ({
3
- position: "relative",
4
- width: "100%",
5
- boxSizing: "border-box",
6
- ...t === "outlined" ? {
7
- border: "1px solid",
8
- padding: "10px 60px 10px 10px",
9
- borderRadius: o.spacing(0.5),
10
- "& .MuiButton-root": {
11
- margin: "14px 8px"
12
- },
13
- "& .MuiTypography-root": {
14
- position: "absolute",
15
- top: -15,
16
- left: 10,
17
- paddingLeft: 4,
18
- paddingRight: 4,
19
- backgroundColor: o.palette.background.default
20
- }
21
- } : {
22
- borderBottom: "1px solid",
23
- paddingBottom: o.spacing(0.5)
24
- },
25
- borderColor: o.palette.action.disabled,
26
- "&:hover": {
27
- borderColor: o.palette.action.active
28
- }
29
- })), d = i(r)(({ theme: o }) => ({
30
- minHeight: 33,
31
- whiteSpace: "normal",
32
- "& .MuiChip-root": {
33
- marginRight: o.spacing(0.5),
34
- marginTop: o.spacing(0.5)
35
- },
36
- "& .MuiChip-root:first-of-type": {
37
- marginLeft: 0
38
- }
39
- })), e = i(n)(({ theme: o, variant: t }) => ({
40
- position: "absolute",
41
- top: 0,
42
- right: 0,
43
- fontSize: 10,
44
- padding: "3px 8px",
45
- minWidth: "auto",
46
- boxShadow: o.shadows[1],
47
- textTransform: "none",
48
- borderRadius: 13,
49
- marginLeft: o.spacing(0.5),
50
- "& .MuiButton-startIcon": {
51
- marginRight: 0.25,
52
- "& > :nth-of-type(1)": {
53
- fontSize: 14
54
- }
55
- },
56
- ...t === "contained" && {
57
- "&:hover": {
58
- backgroundColor: o.palette.grey[300],
59
- boxShadow: o.shadows[1]
60
- }
61
- },
62
- ...t === "text" && {
63
- backgroundColor: o.palette.common.white,
64
- "&:hover": {
65
- backgroundColor: o.palette.grey[300]
66
- }
67
- }
68
- }));
69
- export {
70
- p as Container,
71
- e as MiniButton,
72
- d as Values
73
- };
@@ -1,69 +0,0 @@
1
- import { styled as t, Box as n, Button as r } from "@mui/material";
2
- const p = t(n)(({ theme: o, variant: i }) => ({
3
- position: "relative",
4
- width: "100%",
5
- height: "100%",
6
- ...i === "outlined" ? {
7
- border: "1px solid",
8
- padding: "2.5px 60px 2.5px 2.5px",
9
- borderRadius: o.spacing(0.5),
10
- "& .MuiButton-root": {
11
- margin: "7px 8px"
12
- }
13
- } : {
14
- borderBottom: "1px solid",
15
- paddingBottom: o.spacing(0.5)
16
- },
17
- borderColor: o.palette.action.disabled,
18
- "&:hover": {
19
- borderColor: o.palette.action.active
20
- }
21
- })), d = t(n)(({ theme: o }) => ({
22
- minHeight: 33,
23
- paddingTop: o.spacing(1),
24
- paddingBottom: o.spacing(1),
25
- overflow: "hidden",
26
- whiteSpace: "nowrap",
27
- textOverflow: "ellipsis",
28
- "& .MuiChip-root": {
29
- marginRight: o.spacing(0.5),
30
- marginTop: o.spacing(0.5)
31
- },
32
- "& .MuiChip-root:first-of-type": {
33
- marginLeft: 0
34
- }
35
- })), e = t(r)(({ theme: o, variant: i }) => ({
36
- position: "absolute",
37
- top: 0,
38
- right: 0,
39
- fontSize: 10,
40
- padding: "3px 8px",
41
- minWidth: "auto",
42
- boxShadow: o.shadows[1],
43
- textTransform: "none",
44
- borderRadius: 13,
45
- marginLeft: o.spacing(0.5),
46
- "& .MuiButton-startIcon": {
47
- marginRight: 0.25,
48
- "& > :nth-of-type(1)": {
49
- fontSize: 14
50
- }
51
- },
52
- ...i === "contained" && {
53
- "&:hover": {
54
- backgroundColor: o.palette.grey[300],
55
- boxShadow: o.shadows[1]
56
- }
57
- },
58
- ...i === "text" && {
59
- backgroundColor: o.palette.common.white,
60
- "&:hover": {
61
- backgroundColor: o.palette.grey[300]
62
- }
63
- }
64
- }));
65
- export {
66
- p as Container,
67
- e as MiniButton,
68
- d as Values
69
- };
@@ -1,4 +0,0 @@
1
- import { S as r } from "../../utils-Bq0ye5vf.js";
2
- export {
3
- r as default
4
- };