@hybridcore/ui 1.6.1 → 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 (231) 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-C5yquWAB.js +357 -0
  7. package/dist/ButtonBase-BEF7oTOe.js +887 -0
  8. package/dist/{Delete-fBLhTHbF.js → Delete-BdyYpINH.js} +9 -8
  9. package/dist/{DialogContent-CGJ7alb8.js → DialogContent-BvVjD9z3.js} +127 -122
  10. package/dist/FormGroup-CpBsIyYR.js +89 -0
  11. package/dist/{IconButton-_opV1iNK.js → IconButton-BoGwbvrP.js} +26 -26
  12. package/dist/{InputLabel-rEwwnD4_.js → InputLabel-Dd8RrneV.js} +140 -153
  13. package/dist/{MenuItem-DrE50M_p.js → MenuItem-DwqJqzuM.js} +65 -89
  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-B-Z5Y0Xq.js → Typography-DgsSLCFC.js} +28 -26
  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/logic.js +1 -1
  26. package/dist/components/button/index.js +10 -0
  27. package/dist/components/button/logic.js +26 -0
  28. package/dist/components/button/styled.js +9 -0
  29. package/dist/components/charts/_common/chart-error.js +19 -0
  30. package/dist/components/charts/candlestick/index.js +3 -3
  31. package/dist/components/charts/candlestick/logic.js +123 -113
  32. package/dist/components/charts/chart-wrapper/index.js +5 -5
  33. package/dist/components/charts/column-line-mix/index.js +9 -8
  34. package/dist/components/charts/column-line-mix/logic.js +68 -71
  35. package/dist/components/charts/drill-down-treemap/index.js +8 -7
  36. package/dist/components/charts/drill-down-treemap/logic.js +138 -144
  37. package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
  38. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
  39. package/dist/components/charts/heatmap/index.js +9 -8
  40. package/dist/components/charts/heatmap/logic.js +167 -173
  41. package/dist/components/charts/highlighting-line-data/index.js +3 -3
  42. package/dist/components/charts/line/index.js +9 -8
  43. package/dist/components/charts/line/logic.js +74 -79
  44. package/dist/components/charts/logaritmic-scale/index.js +9 -8
  45. package/dist/components/charts/logaritmic-scale/logic.js +63 -69
  46. package/dist/components/charts/multiple-value-axes/index.js +9 -8
  47. package/dist/components/charts/multiple-value-axes/logic.js +101 -107
  48. package/dist/components/charts/nested-pie/index.js +9 -8
  49. package/dist/components/charts/nested-pie/logic.js +62 -68
  50. package/dist/components/charts/packed-circles/index.js +7 -6
  51. package/dist/components/charts/packed-circles/logic.js +50 -56
  52. package/dist/components/charts/pie-chart/index.js +9 -8
  53. package/dist/components/charts/pie-chart/logic.js +49 -54
  54. package/dist/components/charts/stacked-area-radar/index.js +8 -7
  55. package/dist/components/charts/stacked-area-radar/logic.js +113 -118
  56. package/dist/components/charts/stacked-column-chart/index.js +9 -8
  57. package/dist/components/charts/stacked-column-chart/logic.js +78 -84
  58. package/dist/components/charts/xy-chart/index.js +9 -8
  59. package/dist/components/charts/xy-chart/logic.js +56 -60
  60. package/dist/components/collapsible-card/index.js +11 -10
  61. package/dist/components/collapsible-card/styled.js +1 -1
  62. package/dist/components/color-picker/index.js +7120 -0
  63. package/dist/components/color-picker/logic.js +18 -0
  64. package/dist/components/color-picker/styled.js +7 -0
  65. package/dist/components/confirm/dialog.js +3 -3
  66. package/dist/components/confirm/index.js +1 -1
  67. package/dist/components/data-grid/index.js +22 -0
  68. package/dist/components/data-grid/logic.js +15 -0
  69. package/dist/components/data-grid/styled.js +20 -0
  70. package/dist/components/data-map/components/controls/index.js +4 -6
  71. package/dist/components/data-map/index.js +11 -11
  72. package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
  73. package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
  74. package/dist/components/data-security-selectors/security-level/index.js +18 -15
  75. package/dist/components/data-security-selectors/security-level/logic.js +18 -63
  76. package/dist/components/data-security-selectors/security-level/styled.js +23 -17
  77. package/dist/components/date-picker-with-custom-range/index.js +1 -1
  78. package/dist/components/date-range-picker/index.js +2748 -0
  79. package/dist/components/date-range-picker/styled.js +14 -0
  80. package/dist/components/date-time-picker/index.js +45 -46
  81. package/dist/components/divider/index.js +11 -11
  82. package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
  83. package/dist/components/document-viewer/components/navigation/index.js +9 -9
  84. package/dist/components/document-viewer/components/viewer/index.js +31 -35
  85. package/dist/components/document-viewer/index.js +31 -39
  86. package/dist/components/document-viewer/logic.js +41 -34
  87. package/dist/components/document-viewer/styled.js +115 -27
  88. package/dist/components/duration-select/index.js +27 -0
  89. package/dist/components/duration-select/logic.js +21 -0
  90. package/dist/components/duration-select/styled.js +26 -0
  91. package/dist/components/editable-text/index.js +20 -0
  92. package/dist/components/editable-text/logic.js +18 -0
  93. package/dist/components/editable-text/styled.js +22 -0
  94. package/dist/components/geometry-picker/coordinate/index.js +29 -29
  95. package/dist/components/geometry-picker/edit/index.js +18 -18
  96. package/dist/components/geometry-picker/geometry/index.js +67 -67
  97. package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
  98. package/dist/components/geometry-picker/index.js +69 -86
  99. package/dist/components/geometry-picker/kml/index.js +16 -16
  100. package/dist/components/geometry-picker/logic.js +50 -57
  101. package/dist/components/geometry-picker/map/index.js +8 -8
  102. package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
  103. package/dist/components/geometry-picker/parser/index.js +46 -50
  104. package/dist/components/geometry-picker/parser/styled.js +22 -4
  105. package/dist/components/geometry-picker/styled.js +97 -37
  106. package/dist/components/geometry-picker/wkt/index.js +13 -13
  107. package/dist/components/heat-map/components/controls/index.js +4 -6
  108. package/dist/components/heat-map/components/legend/index.js +15 -17
  109. package/dist/components/heat-map/index.js +7 -7
  110. package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
  111. package/dist/components/instance-form/components/composite-list/index.js +5 -3
  112. package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
  113. package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
  114. package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
  115. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
  116. package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
  117. package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
  118. package/dist/components/instance-form/components/policy-list/index.js +47 -81
  119. package/dist/components/instance-form/components/variable/index.js +6 -9
  120. package/dist/components/instance-form/components/variables/index.js +48 -55
  121. package/dist/components/instance-form/helpers.js +9 -0
  122. package/dist/components/instance-form/index.js +402 -518
  123. package/dist/components/instance-form/logic.js +115 -0
  124. package/dist/components/instance-form/styled.js +487 -0
  125. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  126. package/dist/components/instance-variable-list/index.js +11 -11
  127. package/dist/components/map/index.js +28 -6
  128. package/dist/components/map/styled.js +1 -1
  129. package/dist/components/notification/index.js +67 -0
  130. package/dist/components/notification/logic.js +30 -0
  131. package/dist/components/notification/store.js +23 -0
  132. package/dist/components/notification/styled.js +52 -0
  133. package/dist/components/object-profile-card/components/avatar/index.js +9 -10
  134. package/dist/components/object-profile-card/index.js +19 -20
  135. package/dist/components/paginated-list/index.js +2 -3
  136. package/dist/components/placeholder/index.js +10 -0
  137. package/dist/components/placeholder/logic.js +12 -0
  138. package/dist/components/placeholder/styled.js +32 -0
  139. package/dist/components/positional-tooltip/index.js +24 -0
  140. package/dist/components/positional-tooltip/styled.js +17 -0
  141. package/dist/components/property-mapping/index.js +204 -423
  142. package/dist/components/property-mapping/logic.js +156 -0
  143. package/dist/components/property-mapping/styled.js +199 -0
  144. package/dist/components/prr-map/components/controls/index.js +4 -6
  145. package/dist/components/prr-map/components/legend/index.js +26 -28
  146. package/dist/components/prr-map/index.js +5 -5
  147. package/dist/components/range-selector/styled.js +1106 -1034
  148. package/dist/components/raster-grid-map/components/controls/index.js +4 -6
  149. package/dist/components/raster-grid-map/components/legend/index.js +4 -6
  150. package/dist/components/raster-grid-map/index.js +5 -5
  151. package/dist/components/scroll-drag/index.js +22 -0
  152. package/dist/components/scroll-drag/logic.js +39 -0
  153. package/dist/components/scroll-drag/styled.js +17 -0
  154. package/dist/components/search-input/logic.js +35 -33
  155. package/dist/components/simple-pivot-table/index.js +12 -12
  156. package/dist/components/sortable-list/index.js +599 -0
  157. package/dist/components/sortable-list/logic.js +18 -0
  158. package/dist/components/sortable-list/styled.js +38 -0
  159. package/dist/components/static-text/index.js +6 -6
  160. package/dist/components/stats-box/index.js +12 -0
  161. package/dist/components/stats-box/styled.js +36 -0
  162. package/dist/components/template-form/components/property-list/index.js +27 -26
  163. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  164. package/dist/components/template-form/components/property-list/property-list-form.js +758 -12
  165. package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
  166. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  167. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -22
  168. package/dist/components/template-form/components/select-icon/index.js +24 -24
  169. package/dist/components/template-form/helpers.js +17 -0
  170. package/dist/components/template-form/index.js +270 -308
  171. package/dist/components/template-form/logic.js +69 -0
  172. package/dist/components/template-form/styled.js +84 -0
  173. package/dist/components/text-overflow/index.js +6 -0
  174. package/dist/components/text-overflow/styled.js +13 -0
  175. package/dist/components/timeline/index.js +12 -12
  176. package/dist/components/toggle-view-button/index.js +35 -0
  177. package/dist/components/toggle-view-button/logic.js +22 -0
  178. package/dist/components/toggle-view-button/styled.js +11 -0
  179. package/dist/components/tree-select/index.js +1 -1
  180. package/dist/components/visually-hidden-input/index.js +4 -0
  181. package/dist/components/visually-hidden-input/styled.js +18 -0
  182. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  183. package/dist/{createSvgIcon-DX-SqL8M.js → createSvgIcon-Ch_cT8az.js} +68 -65
  184. package/dist/createSvgIcon-DuDuASu1.js +62 -0
  185. package/dist/debounce-46wSf_lW.js +15 -0
  186. package/dist/{dialog-cf4HUXXl.js → dialog-BYRnCztH.js} +30 -29
  187. package/dist/formControlState-vgaj2ksH.js +10 -0
  188. package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
  189. package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
  190. package/dist/index-BtlzPygz.js +470 -0
  191. package/dist/index-DH6qsPBn.js +153 -0
  192. package/dist/{index-C8C3YXle.js → index-e9xTIYWt.js} +139 -137
  193. package/dist/main.d.ts +1054 -330
  194. package/dist/main.js +163 -130
  195. package/dist/ownerWindow-wg6foiOE.js +10 -0
  196. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  197. package/dist/styled-Db1RdcPA.js +323 -0
  198. package/dist/unsupportedProp-DuqR2hj9.js +36 -0
  199. package/dist/useFormControl-CatNKXAi.js +10 -0
  200. package/dist/useId-BW-oWmul.js +19 -0
  201. package/dist/{useMobilePicker-B-M3dnTn.js → useMobilePicker-CY8ndYRL.js} +4777 -4491
  202. package/dist/useSlot-B_Q4vnX5.js +42 -0
  203. package/package.json +15 -7
  204. package/dist/AccordionSummary-CMg08YSA.js +0 -739
  205. package/dist/Add-DuVVJeQU.js +0 -380
  206. package/dist/ButtonBase-sObABYY2.js +0 -965
  207. package/dist/FormControl-BCurCxRj.js +0 -1294
  208. package/dist/FormControlLabel-BkRfrhNy.js +0 -601
  209. package/dist/InputAdornment-C7PEvvYr.js +0 -155
  210. package/dist/Modal-DlB6GH-f.js +0 -1659
  211. package/dist/Paper-q9kKjAKx.js +0 -527
  212. package/dist/TextField-DSDIEEKu.js +0 -3161
  213. package/dist/assertThisInitialized-BUtkG-md.js +0 -13
  214. package/dist/capitalize-quqpGCFu.js +0 -9
  215. package/dist/components/instance-form/components/composite-list/styled.js +0 -73
  216. package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
  217. package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
  218. package/dist/components/key-protection/index.js +0 -47
  219. package/dist/components/key-protection/logic.js +0 -40
  220. package/dist/components/key-protection/styled.js +0 -45
  221. package/dist/components/key-protection/utils.js +0 -10
  222. package/dist/createSvgIcon-BM3-TsGy.js +0 -70
  223. package/dist/index-BMS1Otro.js +0 -183
  224. package/dist/index-DPKUmQnz.js +0 -501
  225. package/dist/index-kCJ_Zvl8.js +0 -34
  226. package/dist/isMuiElement-BkJ72LB3.js +0 -26
  227. package/dist/property-list-form-DL_dEoNn.js +0 -381
  228. package/dist/styled-Bsjp3kFh.js +0 -668
  229. package/dist/unsupportedProp-BND8AB6O.js +0 -25
  230. package/dist/useId-B4-oF9Mq.js +0 -34
  231. package/dist/utils-Cxu-fHjQ.js +0 -115
@@ -1,668 +0,0 @@
1
- import { getContrastRatio as _, lighten as J, darken as K, createTheme as Y, unstable_defaultSxConfig as Q, unstable_styleFunctionSx as X, useThemeProps as Z, shouldForwardProp as W, createStyled as ee } from "@mui/system";
2
- import { a as m, _ as M } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
3
- function S(e) {
4
- if (typeof e != "object" || e === null)
5
- return !1;
6
- const t = Object.getPrototypeOf(e);
7
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
8
- }
9
- function R(e) {
10
- if (!S(e))
11
- return e;
12
- const t = {};
13
- return Object.keys(e).forEach((n) => {
14
- t[n] = R(e[n]);
15
- }), t;
16
- }
17
- function E(e, t, n = {
18
- clone: !0
19
- }) {
20
- const r = n.clone ? m({}, e) : e;
21
- return S(e) && S(t) && Object.keys(t).forEach((a) => {
22
- S(t[a]) && // Avoid prototype pollution
23
- Object.prototype.hasOwnProperty.call(e, a) && S(e[a]) ? r[a] = E(e[a], t[a], n) : n.clone ? r[a] = S(t[a]) ? R(t[a]) : t[a] : r[a] = t[a];
24
- }), r;
25
- }
26
- function j(e) {
27
- let t = "https://mui.com/production-error/?code=" + e;
28
- for (let n = 1; n < arguments.length; n += 1)
29
- t += "&args[]=" + encodeURIComponent(arguments[n]);
30
- return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
31
- }
32
- function Ie(e, t, n = void 0) {
33
- const r = {};
34
- return Object.keys(e).forEach(
35
- // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
36
- // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
37
- (a) => {
38
- r[a] = e[a].reduce((d, i) => {
39
- if (i) {
40
- const l = t(i);
41
- l !== "" && d.push(l), n && n[i] && d.push(n[i]);
42
- }
43
- return d;
44
- }, []).join(" ");
45
- }
46
- ), r;
47
- }
48
- const D = (e) => e, te = () => {
49
- let e = D;
50
- return {
51
- configure(t) {
52
- e = t;
53
- },
54
- generate(t) {
55
- return e(t);
56
- },
57
- reset() {
58
- e = D;
59
- }
60
- };
61
- }, re = te(), ne = {
62
- active: "active",
63
- checked: "checked",
64
- completed: "completed",
65
- disabled: "disabled",
66
- error: "error",
67
- expanded: "expanded",
68
- focused: "focused",
69
- focusVisible: "focusVisible",
70
- open: "open",
71
- readOnly: "readOnly",
72
- required: "required",
73
- selected: "selected"
74
- };
75
- function B(e, t, n = "Mui") {
76
- const r = ne[t];
77
- return r ? `${n}-${r}` : `${re.generate(e)}-${t}`;
78
- }
79
- function je(e, t, n = "Mui") {
80
- const r = {};
81
- return t.forEach((a) => {
82
- r[a] = B(e, a, n);
83
- }), r;
84
- }
85
- function H(e) {
86
- var t, n, r = "";
87
- if (typeof e == "string" || typeof e == "number") r += e;
88
- else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (n = H(e[t])) && (r && (r += " "), r += n);
89
- else for (t in e) e[t] && (r && (r += " "), r += t);
90
- return r;
91
- }
92
- function _e() {
93
- for (var e, t, n = 0, r = ""; n < arguments.length; ) (e = arguments[n++]) && (t = H(e)) && (r && (r += " "), r += t);
94
- return r;
95
- }
96
- function oe(e, t) {
97
- return m({
98
- toolbar: {
99
- minHeight: 56,
100
- [e.up("xs")]: {
101
- "@media (orientation: landscape)": {
102
- minHeight: 48
103
- }
104
- },
105
- [e.up("sm")]: {
106
- minHeight: 64
107
- }
108
- }
109
- }, t);
110
- }
111
- const k = {
112
- black: "#000",
113
- white: "#fff"
114
- }, ae = {
115
- 50: "#fafafa",
116
- 100: "#f5f5f5",
117
- 200: "#eeeeee",
118
- 300: "#e0e0e0",
119
- 400: "#bdbdbd",
120
- 500: "#9e9e9e",
121
- 600: "#757575",
122
- 700: "#616161",
123
- 800: "#424242",
124
- 900: "#212121",
125
- A100: "#f5f5f5",
126
- A200: "#eeeeee",
127
- A400: "#bdbdbd",
128
- A700: "#616161"
129
- }, $ = {
130
- 50: "#f3e5f5",
131
- 100: "#e1bee7",
132
- 200: "#ce93d8",
133
- 300: "#ba68c8",
134
- 400: "#ab47bc",
135
- 500: "#9c27b0",
136
- 600: "#8e24aa",
137
- 700: "#7b1fa2",
138
- 800: "#6a1b9a",
139
- 900: "#4a148c",
140
- A100: "#ea80fc",
141
- A200: "#e040fb",
142
- A400: "#d500f9",
143
- A700: "#aa00ff"
144
- }, A = {
145
- 50: "#ffebee",
146
- 100: "#ffcdd2",
147
- 200: "#ef9a9a",
148
- 300: "#e57373",
149
- 400: "#ef5350",
150
- 500: "#f44336",
151
- 600: "#e53935",
152
- 700: "#d32f2f",
153
- 800: "#c62828",
154
- 900: "#b71c1c",
155
- A100: "#ff8a80",
156
- A200: "#ff5252",
157
- A400: "#ff1744",
158
- A700: "#d50000"
159
- }, T = {
160
- 50: "#fff3e0",
161
- 100: "#ffe0b2",
162
- 200: "#ffcc80",
163
- 300: "#ffb74d",
164
- 400: "#ffa726",
165
- 500: "#ff9800",
166
- 600: "#fb8c00",
167
- 700: "#f57c00",
168
- 800: "#ef6c00",
169
- 900: "#e65100",
170
- A100: "#ffd180",
171
- A200: "#ffab40",
172
- A400: "#ff9100",
173
- A700: "#ff6d00"
174
- }, v = {
175
- 50: "#e3f2fd",
176
- 100: "#bbdefb",
177
- 200: "#90caf9",
178
- 300: "#64b5f6",
179
- 400: "#42a5f5",
180
- 500: "#2196f3",
181
- 600: "#1e88e5",
182
- 700: "#1976d2",
183
- 800: "#1565c0",
184
- 900: "#0d47a1",
185
- A100: "#82b1ff",
186
- A200: "#448aff",
187
- A400: "#2979ff",
188
- A700: "#2962ff"
189
- }, x = {
190
- 50: "#e1f5fe",
191
- 100: "#b3e5fc",
192
- 200: "#81d4fa",
193
- 300: "#4fc3f7",
194
- 400: "#29b6f6",
195
- 500: "#03a9f4",
196
- 600: "#039be5",
197
- 700: "#0288d1",
198
- 800: "#0277bd",
199
- 900: "#01579b",
200
- A100: "#80d8ff",
201
- A200: "#40c4ff",
202
- A400: "#00b0ff",
203
- A700: "#0091ea"
204
- }, w = {
205
- 50: "#e8f5e9",
206
- 100: "#c8e6c9",
207
- 200: "#a5d6a7",
208
- 300: "#81c784",
209
- 400: "#66bb6a",
210
- 500: "#4caf50",
211
- 600: "#43a047",
212
- 700: "#388e3c",
213
- 800: "#2e7d32",
214
- 900: "#1b5e20",
215
- A100: "#b9f6ca",
216
- A200: "#69f0ae",
217
- A400: "#00e676",
218
- A700: "#00c853"
219
- }, ie = ["mode", "contrastThreshold", "tonalOffset"], U = {
220
- // The colors used to style the text.
221
- text: {
222
- // The most important text.
223
- primary: "rgba(0, 0, 0, 0.87)",
224
- // Secondary text.
225
- secondary: "rgba(0, 0, 0, 0.6)",
226
- // Disabled text have even lower visual prominence.
227
- disabled: "rgba(0, 0, 0, 0.38)"
228
- },
229
- // The color used to divide different elements.
230
- divider: "rgba(0, 0, 0, 0.12)",
231
- // The background colors used to style the surfaces.
232
- // Consistency between these values is important.
233
- background: {
234
- paper: k.white,
235
- default: k.white
236
- },
237
- // The colors used to style the action elements.
238
- action: {
239
- // The color of an active action like an icon button.
240
- active: "rgba(0, 0, 0, 0.54)",
241
- // The color of an hovered action.
242
- hover: "rgba(0, 0, 0, 0.04)",
243
- hoverOpacity: 0.04,
244
- // The color of a selected action.
245
- selected: "rgba(0, 0, 0, 0.08)",
246
- selectedOpacity: 0.08,
247
- // The color of a disabled action.
248
- disabled: "rgba(0, 0, 0, 0.26)",
249
- // The background color of a disabled action.
250
- disabledBackground: "rgba(0, 0, 0, 0.12)",
251
- disabledOpacity: 0.38,
252
- focus: "rgba(0, 0, 0, 0.12)",
253
- focusOpacity: 0.12,
254
- activatedOpacity: 0.12
255
- }
256
- }, I = {
257
- text: {
258
- primary: k.white,
259
- secondary: "rgba(255, 255, 255, 0.7)",
260
- disabled: "rgba(255, 255, 255, 0.5)",
261
- icon: "rgba(255, 255, 255, 0.5)"
262
- },
263
- divider: "rgba(255, 255, 255, 0.12)",
264
- background: {
265
- paper: "#121212",
266
- default: "#121212"
267
- },
268
- action: {
269
- active: k.white,
270
- hover: "rgba(255, 255, 255, 0.08)",
271
- hoverOpacity: 0.08,
272
- selected: "rgba(255, 255, 255, 0.16)",
273
- selectedOpacity: 0.16,
274
- disabled: "rgba(255, 255, 255, 0.3)",
275
- disabledBackground: "rgba(255, 255, 255, 0.12)",
276
- disabledOpacity: 0.38,
277
- focus: "rgba(255, 255, 255, 0.12)",
278
- focusOpacity: 0.12,
279
- activatedOpacity: 0.24
280
- }
281
- };
282
- function P(e, t, n, r) {
283
- const a = r.light || r, d = r.dark || r * 1.5;
284
- e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = J(e.main, a) : t === "dark" && (e.dark = K(e.main, d)));
285
- }
286
- function se(e = "light") {
287
- return e === "dark" ? {
288
- main: v[200],
289
- light: v[50],
290
- dark: v[400]
291
- } : {
292
- main: v[700],
293
- light: v[400],
294
- dark: v[800]
295
- };
296
- }
297
- function ce(e = "light") {
298
- return e === "dark" ? {
299
- main: $[200],
300
- light: $[50],
301
- dark: $[400]
302
- } : {
303
- main: $[500],
304
- light: $[300],
305
- dark: $[700]
306
- };
307
- }
308
- function fe(e = "light") {
309
- return e === "dark" ? {
310
- main: A[500],
311
- light: A[300],
312
- dark: A[700]
313
- } : {
314
- main: A[700],
315
- light: A[400],
316
- dark: A[800]
317
- };
318
- }
319
- function ue(e = "light") {
320
- return e === "dark" ? {
321
- main: x[400],
322
- light: x[300],
323
- dark: x[700]
324
- } : {
325
- main: x[700],
326
- light: x[500],
327
- dark: x[900]
328
- };
329
- }
330
- function de(e = "light") {
331
- return e === "dark" ? {
332
- main: w[400],
333
- light: w[300],
334
- dark: w[700]
335
- } : {
336
- main: w[800],
337
- light: w[500],
338
- dark: w[900]
339
- };
340
- }
341
- function le(e = "light") {
342
- return e === "dark" ? {
343
- main: T[400],
344
- light: T[300],
345
- dark: T[700]
346
- } : {
347
- main: "#ed6c02",
348
- // closest to orange[800] that pass 3:1.
349
- light: T[500],
350
- dark: T[900]
351
- };
352
- }
353
- function ge(e) {
354
- const {
355
- mode: t = "light",
356
- contrastThreshold: n = 3,
357
- tonalOffset: r = 0.2
358
- } = e, a = M(e, ie), d = e.primary || se(t), i = e.secondary || ce(t), l = e.error || fe(t), p = e.info || ue(t), f = e.success || de(t), g = e.warning || le(t);
359
- function h(o) {
360
- const u = _(o, I.text.primary) >= n ? I.text.primary : U.text.primary;
361
- if (process.env.NODE_ENV !== "production") {
362
- const b = _(o, u);
363
- b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${u} on ${o}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
364
- `));
365
- }
366
- return u;
367
- }
368
- const c = ({
369
- color: o,
370
- name: u,
371
- mainShade: b = 500,
372
- lightShade: C = 300,
373
- darkShade: N = 700
374
- }) => {
375
- if (o = m({}, o), !o.main && o[b] && (o.main = o[b]), !o.hasOwnProperty("main"))
376
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
377
- The color object needs to have a \`main\` property or a \`${b}\` property.` : j(11, u ? ` (${u})` : "", b));
378
- if (typeof o.main != "string")
379
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
380
- \`color.main\` should be a string, but \`${JSON.stringify(o.main)}\` was provided instead.
381
-
382
- Did you intend to use one of the following approaches?
383
-
384
- import { green } from "@mui/material/colors";
385
-
386
- const theme1 = createTheme({ palette: {
387
- primary: green,
388
- } });
389
-
390
- const theme2 = createTheme({ palette: {
391
- primary: { main: green[500] },
392
- } });` : j(12, u ? ` (${u})` : "", JSON.stringify(o.main)));
393
- return P(o, "light", C, r), P(o, "dark", N, r), o.contrastText || (o.contrastText = h(o.main)), o;
394
- }, O = {
395
- dark: I,
396
- light: U
397
- };
398
- return process.env.NODE_ENV !== "production" && (O[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), E(m({
399
- // A collection of common colors.
400
- common: m({}, k),
401
- // prevent mutable object.
402
- // The palette mode, can be light or dark.
403
- mode: t,
404
- // The colors used to represent primary interface elements for a user.
405
- primary: c({
406
- color: d,
407
- name: "primary"
408
- }),
409
- // The colors used to represent secondary interface elements for a user.
410
- secondary: c({
411
- color: i,
412
- name: "secondary",
413
- mainShade: "A400",
414
- lightShade: "A200",
415
- darkShade: "A700"
416
- }),
417
- // The colors used to represent interface elements that the user should be made aware of.
418
- error: c({
419
- color: l,
420
- name: "error"
421
- }),
422
- // The colors used to represent potentially dangerous actions or important messages.
423
- warning: c({
424
- color: g,
425
- name: "warning"
426
- }),
427
- // The colors used to present information to the user that is neutral and not necessarily important.
428
- info: c({
429
- color: p,
430
- name: "info"
431
- }),
432
- // The colors used to indicate the successful completion of an action that user triggered.
433
- success: c({
434
- color: f,
435
- name: "success"
436
- }),
437
- // The grey colors.
438
- grey: ae,
439
- // Used by `getContrastText()` to maximize the contrast between
440
- // the background and the text.
441
- contrastThreshold: n,
442
- // Takes a background color and returns the text color that maximizes the contrast.
443
- getContrastText: h,
444
- // Generate a rich color object.
445
- augmentColor: c,
446
- // Used by the functions below to shift a color's luminance by approximately
447
- // two indexes within its tonal palette.
448
- // E.g., shift from Red 500 to Red 300 or Red 700.
449
- tonalOffset: r
450
- }, O[t]), a);
451
- }
452
- const he = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
453
- function pe(e) {
454
- return Math.round(e * 1e5) / 1e5;
455
- }
456
- const V = {
457
- textTransform: "uppercase"
458
- }, z = '"Roboto", "Helvetica", "Arial", sans-serif';
459
- function me(e, t) {
460
- const n = typeof t == "function" ? t(e) : t, {
461
- fontFamily: r = z,
462
- // The default font size of the Material Specification.
463
- fontSize: a = 14,
464
- // px
465
- fontWeightLight: d = 300,
466
- fontWeightRegular: i = 400,
467
- fontWeightMedium: l = 500,
468
- fontWeightBold: p = 700,
469
- // Tell MUI what's the font-size on the html element.
470
- // 16px is the default font-size used by browsers.
471
- htmlFontSize: f = 16,
472
- // Apply the CSS properties to all the variants.
473
- allVariants: g,
474
- pxToRem: h
475
- } = n, c = M(n, he);
476
- process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
477
- const O = a / 14, y = h || ((b) => `${b / f * O}rem`), o = (b, C, N, G, L) => m({
478
- fontFamily: r,
479
- fontWeight: b,
480
- fontSize: y(C),
481
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
482
- lineHeight: N
483
- }, r === z ? {
484
- letterSpacing: `${pe(G / C)}em`
485
- } : {}, L, g), u = {
486
- h1: o(d, 96, 1.167, -1.5),
487
- h2: o(d, 60, 1.2, -0.5),
488
- h3: o(i, 48, 1.167, 0),
489
- h4: o(i, 34, 1.235, 0.25),
490
- h5: o(i, 24, 1.334, 0),
491
- h6: o(l, 20, 1.6, 0.15),
492
- subtitle1: o(i, 16, 1.75, 0.15),
493
- subtitle2: o(l, 14, 1.57, 0.1),
494
- body1: o(i, 16, 1.5, 0.15),
495
- body2: o(i, 14, 1.43, 0.15),
496
- button: o(l, 14, 1.75, 0.4, V),
497
- caption: o(i, 12, 1.66, 0.4),
498
- overline: o(i, 12, 2.66, 1, V),
499
- inherit: {
500
- fontFamily: "inherit",
501
- fontWeight: "inherit",
502
- fontSize: "inherit",
503
- lineHeight: "inherit",
504
- letterSpacing: "inherit"
505
- }
506
- };
507
- return E(m({
508
- htmlFontSize: f,
509
- pxToRem: y,
510
- fontFamily: r,
511
- fontSize: a,
512
- fontWeightLight: d,
513
- fontWeightRegular: i,
514
- fontWeightMedium: l,
515
- fontWeightBold: p
516
- }, u), c, {
517
- clone: !1
518
- // No need to clone deep
519
- });
520
- }
521
- const be = 0.2, ye = 0.14, Oe = 0.12;
522
- function s(...e) {
523
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${be})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ye})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Oe})`].join(",");
524
- }
525
- const $e = ["none", s(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), s(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), s(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), s(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), s(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), s(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), s(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), s(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), s(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), s(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), s(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), s(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), s(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), s(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), s(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), s(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), s(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), s(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), s(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), s(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), s(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), s(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), s(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), s(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ae = ["duration", "easing", "delay"], ve = {
526
- // This is the most common easing curve.
527
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
528
- // Objects enter the screen at full velocity from off-screen and
529
- // slowly decelerate to a resting point.
530
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
531
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
532
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
533
- // The sharp curve is used by objects that may return to the screen at any time.
534
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
535
- }, xe = {
536
- shortest: 150,
537
- shorter: 200,
538
- short: 250,
539
- // most basic recommended timing
540
- standard: 300,
541
- // this is to be used in complex animations
542
- complex: 375,
543
- // recommended when something is entering screen
544
- enteringScreen: 225,
545
- // recommended when something is leaving screen
546
- leavingScreen: 195
547
- };
548
- function F(e) {
549
- return `${Math.round(e)}ms`;
550
- }
551
- function we(e) {
552
- if (!e)
553
- return 0;
554
- const t = e / 36;
555
- return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
556
- }
557
- function Se(e) {
558
- const t = m({}, ve, e.easing), n = m({}, xe, e.duration);
559
- return m({
560
- getAutoHeightDuration: we,
561
- create: (a = ["all"], d = {}) => {
562
- const {
563
- duration: i = n.standard,
564
- easing: l = t.easeInOut,
565
- delay: p = 0
566
- } = d, f = M(d, Ae);
567
- if (process.env.NODE_ENV !== "production") {
568
- const g = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
569
- !g(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !h(i) && !g(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), g(l) || console.error('MUI: Argument "easing" must be a string.'), !h(p) && !g(p) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
570
- }
571
- return (Array.isArray(a) ? a : [a]).map((g) => `${g} ${typeof i == "string" ? i : F(i)} ${l} ${typeof p == "string" ? p : F(p)}`).join(",");
572
- }
573
- }, e, {
574
- easing: t,
575
- duration: n
576
- });
577
- }
578
- const Ee = {
579
- mobileStepper: 1e3,
580
- fab: 1050,
581
- speedDial: 1050,
582
- appBar: 1100,
583
- drawer: 1200,
584
- modal: 1300,
585
- snackbar: 1400,
586
- tooltip: 1500
587
- }, Te = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
588
- function ke(e = {}, ...t) {
589
- const {
590
- mixins: n = {},
591
- palette: r = {},
592
- transitions: a = {},
593
- typography: d = {}
594
- } = e, i = M(e, Te);
595
- if (e.vars)
596
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : j(18));
597
- const l = ge(r), p = Y(e);
598
- let f = E(p, {
599
- mixins: oe(p.breakpoints, n),
600
- palette: l,
601
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
602
- shadows: $e.slice(),
603
- typography: me(l, d),
604
- transitions: Se(a),
605
- zIndex: m({}, Ee)
606
- });
607
- if (f = E(f, i), f = t.reduce((g, h) => E(g, h), f), process.env.NODE_ENV !== "production") {
608
- const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, O) => {
609
- let y;
610
- for (y in c) {
611
- const o = c[y];
612
- if (g.indexOf(y) !== -1 && Object.keys(o).length > 0) {
613
- if (process.env.NODE_ENV !== "production") {
614
- const u = B("", y);
615
- console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${u}' syntax:`, JSON.stringify({
616
- root: {
617
- [`&.${u}`]: o
618
- }
619
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
620
- `));
621
- }
622
- c[y] = {};
623
- }
624
- }
625
- };
626
- Object.keys(f.components).forEach((c) => {
627
- const O = f.components[c].styleOverrides;
628
- O && c.indexOf("Mui") === 0 && h(O, c);
629
- });
630
- }
631
- return f.unstable_sxConfig = m({}, Q, i == null ? void 0 : i.unstable_sxConfig), f.unstable_sx = function(h) {
632
- return X({
633
- sx: h,
634
- theme: this
635
- });
636
- }, f;
637
- }
638
- const q = ke();
639
- function De({
640
- props: e,
641
- name: t
642
- }) {
643
- return Z({
644
- props: e,
645
- name: t,
646
- defaultTheme: q
647
- });
648
- }
649
- const Ce = (e) => W(e) && e !== "classes", Ue = W, Pe = ee({
650
- defaultTheme: q,
651
- rootShouldForwardProp: Ce
652
- });
653
- export {
654
- re as C,
655
- Ie as a,
656
- B as b,
657
- _e as c,
658
- ke as d,
659
- q as e,
660
- j as f,
661
- je as g,
662
- E as h,
663
- xe as i,
664
- Ue as j,
665
- Ce as r,
666
- Pe as s,
667
- De as u
668
- };
@@ -1,25 +0,0 @@
1
- import { a as y } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- function E(o, e) {
3
- if (process.env.NODE_ENV === "production")
4
- return () => null;
5
- const t = e ? y({}, e.propTypes) : null;
6
- return (n) => (r, u, f, d, p, ...a) => {
7
- const i = p || u, s = t == null ? void 0 : t[i];
8
- if (s) {
9
- const l = s(r, u, f, d, p, ...a);
10
- if (l)
11
- return l;
12
- }
13
- return typeof r[u] < "u" && !r[n] ? new Error(`The prop \`${i}\` of \`${o}\` can only be used together with the \`${n}\` prop.`) : null;
14
- };
15
- }
16
- function v(o, e, t, c, n) {
17
- if (process.env.NODE_ENV === "production")
18
- return null;
19
- const r = n || e;
20
- return typeof o[e] < "u" ? new Error(`The prop \`${r}\` is not supported. Please remove it.`) : null;
21
- }
22
- export {
23
- E as r,
24
- v as u
25
- };