@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,961 +0,0 @@
1
- import { a as Y, _ as ue } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as l from "react";
3
- import X, { Children as qe, isValidElement as G, cloneElement as J } from "react";
4
- import { P as n } from "./index-C__OZmYy.js";
5
- import { b as We, c as v, g as Ce, u as ve, a as He } from "./useThemeProps-BzzHcQyd.js";
6
- import { s as ae } from "./styled-eZwjUruw.js";
7
- import { keyframes as le } from "@mui/system";
8
- import { jsx as $, jsxs as Ge } from "react/jsx-runtime";
9
- import { _ as Je, a as Qe } from "./assertThisInitialized-BUtkG-md.js";
10
- import { g as Ze } from "./createTheme-DYxDnE9u.js";
11
- function et(e) {
12
- const {
13
- prototype: t = {}
14
- } = e;
15
- return !!t.isReactComponent;
16
- }
17
- function tt(e, t, o, a, r) {
18
- const i = e[t], s = r || t;
19
- if (i == null || // When server-side rendering React doesn't warn either.
20
- // This is not an accurate check for SSR.
21
- // This is only in place for emotion compat.
22
- // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
23
- typeof window > "u")
24
- return null;
25
- let c;
26
- return typeof i == "function" && !et(i) && (c = "Did you accidentally provide a plain function component instead?"), c !== void 0 ? new Error(`Invalid ${a} \`${s}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
27
- }
28
- const nt = We(n.elementType, tt), ot = n.oneOfType([n.func, n.object]);
29
- function rt(e, t) {
30
- typeof e == "function" ? e(t) : e && (e.current = t);
31
- }
32
- const it = typeof window < "u" ? l.useLayoutEffect : l.useEffect;
33
- function H(e) {
34
- const t = l.useRef(e);
35
- return it(() => {
36
- t.current = e;
37
- }), l.useRef((...o) => (
38
- // @ts-expect-error hide `this`
39
- (0, t.current)(...o)
40
- )).current;
41
- }
42
- function ye(...e) {
43
- return l.useMemo(() => e.every((t) => t == null) ? null : (t) => {
44
- e.forEach((o) => {
45
- rt(o, t);
46
- });
47
- }, e);
48
- }
49
- class ce {
50
- constructor() {
51
- this.currentId = null, this.clear = () => {
52
- this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
53
- }, this.disposeEffect = () => this.clear;
54
- }
55
- static create() {
56
- return new ce();
57
- }
58
- /**
59
- * Executes `fn` after `delay`, clearing any previously scheduled call.
60
- */
61
- start(t, o) {
62
- this.clear(), this.currentId = setTimeout(() => {
63
- this.currentId = null, o();
64
- }, t);
65
- }
66
- }
67
- let Q = !0, ie = !1;
68
- const st = new ce(), ut = {
69
- text: !0,
70
- search: !0,
71
- url: !0,
72
- tel: !0,
73
- email: !0,
74
- password: !0,
75
- number: !0,
76
- date: !0,
77
- month: !0,
78
- week: !0,
79
- time: !0,
80
- datetime: !0,
81
- "datetime-local": !0
82
- };
83
- function at(e) {
84
- const {
85
- type: t,
86
- tagName: o
87
- } = e;
88
- return !!(o === "INPUT" && ut[t] && !e.readOnly || o === "TEXTAREA" && !e.readOnly || e.isContentEditable);
89
- }
90
- function lt(e) {
91
- e.metaKey || e.altKey || e.ctrlKey || (Q = !0);
92
- }
93
- function re() {
94
- Q = !1;
95
- }
96
- function ct() {
97
- this.visibilityState === "hidden" && ie && (Q = !0);
98
- }
99
- function pt(e) {
100
- e.addEventListener("keydown", lt, !0), e.addEventListener("mousedown", re, !0), e.addEventListener("pointerdown", re, !0), e.addEventListener("touchstart", re, !0), e.addEventListener("visibilitychange", ct, !0);
101
- }
102
- function ft(e) {
103
- const {
104
- target: t
105
- } = e;
106
- try {
107
- return t.matches(":focus-visible");
108
- } catch {
109
- }
110
- return Q || at(t);
111
- }
112
- function dt() {
113
- const e = l.useCallback((r) => {
114
- r != null && pt(r.ownerDocument);
115
- }, []), t = l.useRef(!1);
116
- function o() {
117
- return t.current ? (ie = !0, st.start(100, () => {
118
- ie = !1;
119
- }), t.current = !1, !0) : !1;
120
- }
121
- function a(r) {
122
- return ft(r) ? (t.current = !0, !0) : !1;
123
- }
124
- return {
125
- isFocusVisibleRef: t,
126
- onFocus: a,
127
- onBlur: o,
128
- ref: e
129
- };
130
- }
131
- function ht(e, t) {
132
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Je(e, t);
133
- }
134
- const ge = X.createContext(null);
135
- function pe(e, t) {
136
- var o = function(i) {
137
- return t && G(i) ? t(i) : i;
138
- }, a = /* @__PURE__ */ Object.create(null);
139
- return e && qe.map(e, function(r) {
140
- return r;
141
- }).forEach(function(r) {
142
- a[r.key] = o(r);
143
- }), a;
144
- }
145
- function mt(e, t) {
146
- e = e || {}, t = t || {};
147
- function o(h) {
148
- return h in t ? t[h] : e[h];
149
- }
150
- var a = /* @__PURE__ */ Object.create(null), r = [];
151
- for (var i in e)
152
- i in t ? r.length && (a[i] = r, r = []) : r.push(i);
153
- var s, c = {};
154
- for (var p in t) {
155
- if (a[p])
156
- for (s = 0; s < a[p].length; s++) {
157
- var f = a[p][s];
158
- c[a[p][s]] = o(f);
159
- }
160
- c[p] = o(p);
161
- }
162
- for (s = 0; s < r.length; s++)
163
- c[r[s]] = o(r[s]);
164
- return c;
165
- }
166
- function S(e, t, o) {
167
- return o[t] != null ? o[t] : e.props[t];
168
- }
169
- function bt(e, t) {
170
- return pe(e.children, function(o) {
171
- return J(o, {
172
- onExited: t.bind(null, o),
173
- in: !0,
174
- appear: S(o, "appear", e),
175
- enter: S(o, "enter", e),
176
- exit: S(o, "exit", e)
177
- });
178
- });
179
- }
180
- function yt(e, t, o) {
181
- var a = pe(e.children), r = mt(t, a);
182
- return Object.keys(r).forEach(function(i) {
183
- var s = r[i];
184
- if (G(s)) {
185
- var c = i in t, p = i in a, f = t[i], h = G(f) && !f.props.in;
186
- p && (!c || h) ? r[i] = J(s, {
187
- onExited: o.bind(null, s),
188
- in: !0,
189
- exit: S(s, "exit", e),
190
- enter: S(s, "enter", e)
191
- }) : !p && c && !h ? r[i] = J(s, {
192
- in: !1
193
- }) : p && c && G(f) && (r[i] = J(s, {
194
- onExited: o.bind(null, s),
195
- in: f.props.in,
196
- exit: S(s, "exit", e),
197
- enter: S(s, "enter", e)
198
- }));
199
- }
200
- }), r;
201
- }
202
- var gt = Object.values || function(e) {
203
- return Object.keys(e).map(function(t) {
204
- return e[t];
205
- });
206
- }, Rt = {
207
- component: "div",
208
- childFactory: function(t) {
209
- return t;
210
- }
211
- }, fe = /* @__PURE__ */ function(e) {
212
- ht(t, e);
213
- function t(a, r) {
214
- var i;
215
- i = e.call(this, a, r) || this;
216
- var s = i.handleExited.bind(Qe(i));
217
- return i.state = {
218
- contextValue: {
219
- isMounting: !0
220
- },
221
- handleExited: s,
222
- firstRender: !0
223
- }, i;
224
- }
225
- var o = t.prototype;
226
- return o.componentDidMount = function() {
227
- this.mounted = !0, this.setState({
228
- contextValue: {
229
- isMounting: !1
230
- }
231
- });
232
- }, o.componentWillUnmount = function() {
233
- this.mounted = !1;
234
- }, t.getDerivedStateFromProps = function(r, i) {
235
- var s = i.children, c = i.handleExited, p = i.firstRender;
236
- return {
237
- children: p ? bt(r, c) : yt(r, s, c),
238
- firstRender: !1
239
- };
240
- }, o.handleExited = function(r, i) {
241
- var s = pe(this.props.children);
242
- r.key in s || (r.props.onExited && r.props.onExited(i), this.mounted && this.setState(function(c) {
243
- var p = Y({}, c.children);
244
- return delete p[r.key], {
245
- children: p
246
- };
247
- }));
248
- }, o.render = function() {
249
- var r = this.props, i = r.component, s = r.childFactory, c = ue(r, ["component", "childFactory"]), p = this.state.contextValue, f = gt(this.state.children).map(s);
250
- return delete c.appear, delete c.enter, delete c.exit, i === null ? /* @__PURE__ */ X.createElement(ge.Provider, {
251
- value: p
252
- }, f) : /* @__PURE__ */ X.createElement(ge.Provider, {
253
- value: p
254
- }, /* @__PURE__ */ X.createElement(i, c, f));
255
- }, t;
256
- }(X.Component);
257
- fe.propTypes = process.env.NODE_ENV !== "production" ? {
258
- /**
259
- * `<TransitionGroup>` renders a `<div>` by default. You can change this
260
- * behavior by providing a `component` prop.
261
- * If you use React v16+ and would like to avoid a wrapping `<div>` element
262
- * you can pass in `component={null}`. This is useful if the wrapping div
263
- * borks your css styles.
264
- */
265
- component: n.any,
266
- /**
267
- * A set of `<Transition>` components, that are toggled `in` and out as they
268
- * leave. the `<TransitionGroup>` will inject specific transition props, so
269
- * remember to spread them through if you are wrapping the `<Transition>` as
270
- * with our `<Fade>` example.
271
- *
272
- * While this component is meant for multiple `Transition` or `CSSTransition`
273
- * children, sometimes you may want to have a single transition child with
274
- * content that you want to be transitioned out and in when you change it
275
- * (e.g. routes, images etc.) In that case you can change the `key` prop of
276
- * the transition child as you change its content, this will cause
277
- * `TransitionGroup` to transition the child out and back in.
278
- */
279
- children: n.node,
280
- /**
281
- * A convenience prop that enables or disables appear animations
282
- * for all children. Note that specifying this will override any defaults set
283
- * on individual children Transitions.
284
- */
285
- appear: n.bool,
286
- /**
287
- * A convenience prop that enables or disables enter animations
288
- * for all children. Note that specifying this will override any defaults set
289
- * on individual children Transitions.
290
- */
291
- enter: n.bool,
292
- /**
293
- * A convenience prop that enables or disables exit animations
294
- * for all children. Note that specifying this will override any defaults set
295
- * on individual children Transitions.
296
- */
297
- exit: n.bool,
298
- /**
299
- * You may need to apply reactive updates to a child as it is exiting.
300
- * This is generally done by using `cloneElement` however in the case of an exiting
301
- * child the element has already been removed and not accessible to the consumer.
302
- *
303
- * If you do need to update a child as it leaves you can provide a `childFactory`
304
- * to wrap every child, even the ones that are leaving.
305
- *
306
- * @type Function(child: ReactElement) -> ReactElement
307
- */
308
- childFactory: n.func
309
- } : {};
310
- fe.defaultProps = Rt;
311
- function xe(e) {
312
- const {
313
- className: t,
314
- classes: o,
315
- pulsate: a = !1,
316
- rippleX: r,
317
- rippleY: i,
318
- rippleSize: s,
319
- in: c,
320
- onExited: p,
321
- timeout: f
322
- } = e, [h, R] = l.useState(!1), y = v(t, o.ripple, o.rippleVisible, a && o.ripplePulsate), P = {
323
- width: s,
324
- height: s,
325
- top: -(s / 2) + i,
326
- left: -(s / 2) + r
327
- }, m = v(o.child, h && o.childLeaving, a && o.childPulsate);
328
- return !c && !h && R(!0), l.useEffect(() => {
329
- if (!c && p != null) {
330
- const T = setTimeout(p, f);
331
- return () => {
332
- clearTimeout(T);
333
- };
334
- }
335
- }, [p, c, f]), /* @__PURE__ */ $("span", {
336
- className: y,
337
- style: P,
338
- children: /* @__PURE__ */ $("span", {
339
- className: m
340
- })
341
- });
342
- }
343
- process.env.NODE_ENV !== "production" && (xe.propTypes = {
344
- /**
345
- * Override or extend the styles applied to the component.
346
- * See [CSS API](#css) below for more details.
347
- */
348
- classes: n.object.isRequired,
349
- className: n.string,
350
- /**
351
- * @ignore - injected from TransitionGroup
352
- */
353
- in: n.bool,
354
- /**
355
- * @ignore - injected from TransitionGroup
356
- */
357
- onExited: n.func,
358
- /**
359
- * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
360
- */
361
- pulsate: n.bool,
362
- /**
363
- * Diameter of the ripple.
364
- */
365
- rippleSize: n.number,
366
- /**
367
- * Horizontal position of the ripple center.
368
- */
369
- rippleX: n.number,
370
- /**
371
- * Vertical position of the ripple center.
372
- */
373
- rippleY: n.number,
374
- /**
375
- * exit delay
376
- */
377
- timeout: n.number.isRequired
378
- });
379
- const b = Ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), Tt = ["center", "classes", "className"];
380
- let Z = (e) => e, Re, Te, Ee, Me;
381
- const se = 550, Et = 80, Mt = le(Re || (Re = Z`
382
- 0% {
383
- transform: scale(0);
384
- opacity: 0.1;
385
- }
386
-
387
- 100% {
388
- transform: scale(1);
389
- opacity: 0.3;
390
- }
391
- `)), Ct = le(Te || (Te = Z`
392
- 0% {
393
- opacity: 1;
394
- }
395
-
396
- 100% {
397
- opacity: 0;
398
- }
399
- `)), vt = le(Ee || (Ee = Z`
400
- 0% {
401
- transform: scale(1);
402
- }
403
-
404
- 50% {
405
- transform: scale(0.92);
406
- }
407
-
408
- 100% {
409
- transform: scale(1);
410
- }
411
- `)), xt = ae("span", {
412
- name: "MuiTouchRipple",
413
- slot: "Root"
414
- })({
415
- overflow: "hidden",
416
- pointerEvents: "none",
417
- position: "absolute",
418
- zIndex: 0,
419
- top: 0,
420
- right: 0,
421
- bottom: 0,
422
- left: 0,
423
- borderRadius: "inherit"
424
- }), Vt = ae(xe, {
425
- name: "MuiTouchRipple",
426
- slot: "Ripple"
427
- })(Me || (Me = Z`
428
- opacity: 0;
429
- position: absolute;
430
-
431
- &.${0} {
432
- opacity: 0.3;
433
- transform: scale(1);
434
- animation-name: ${0};
435
- animation-duration: ${0}ms;
436
- animation-timing-function: ${0};
437
- }
438
-
439
- &.${0} {
440
- animation-duration: ${0}ms;
441
- }
442
-
443
- & .${0} {
444
- opacity: 1;
445
- display: block;
446
- width: 100%;
447
- height: 100%;
448
- border-radius: 50%;
449
- background-color: currentColor;
450
- }
451
-
452
- & .${0} {
453
- opacity: 0;
454
- animation-name: ${0};
455
- animation-duration: ${0}ms;
456
- animation-timing-function: ${0};
457
- }
458
-
459
- & .${0} {
460
- position: absolute;
461
- /* @noflip */
462
- left: 0px;
463
- top: 0;
464
- animation-name: ${0};
465
- animation-duration: 2500ms;
466
- animation-timing-function: ${0};
467
- animation-iteration-count: infinite;
468
- animation-delay: 200ms;
469
- }
470
- `), b.rippleVisible, Mt, se, ({
471
- theme: e
472
- }) => e.transitions.easing.easeInOut, b.ripplePulsate, ({
473
- theme: e
474
- }) => e.transitions.duration.shorter, b.child, b.childLeaving, Ct, se, ({
475
- theme: e
476
- }) => e.transitions.easing.easeInOut, b.childPulsate, vt, ({
477
- theme: e
478
- }) => e.transitions.easing.easeInOut), Ve = /* @__PURE__ */ l.forwardRef(function(t, o) {
479
- const a = ve({
480
- props: t,
481
- name: "MuiTouchRipple"
482
- }), {
483
- center: r = !1,
484
- classes: i = {},
485
- className: s
486
- } = a, c = ue(a, Tt), [p, f] = l.useState([]), h = l.useRef(0), R = l.useRef(null);
487
- l.useEffect(() => {
488
- R.current && (R.current(), R.current = null);
489
- }, [p]);
490
- const y = l.useRef(!1), P = l.useRef(null), m = l.useRef(null), T = l.useRef(null);
491
- l.useEffect(() => () => {
492
- clearTimeout(P.current);
493
- }, []);
494
- const U = l.useCallback((d) => {
495
- const {
496
- pulsate: E,
497
- rippleX: M,
498
- rippleY: L,
499
- rippleSize: _,
500
- cb: K
501
- } = d;
502
- f((C) => [...C, /* @__PURE__ */ $(Vt, {
503
- classes: {
504
- ripple: v(i.ripple, b.ripple),
505
- rippleVisible: v(i.rippleVisible, b.rippleVisible),
506
- ripplePulsate: v(i.ripplePulsate, b.ripplePulsate),
507
- child: v(i.child, b.child),
508
- childLeaving: v(i.childLeaving, b.childLeaving),
509
- childPulsate: v(i.childPulsate, b.childPulsate)
510
- },
511
- timeout: se,
512
- pulsate: E,
513
- rippleX: M,
514
- rippleY: L,
515
- rippleSize: _
516
- }, h.current)]), h.current += 1, R.current = K;
517
- }, [i]), I = l.useCallback((d = {}, E = {}, M = () => {
518
- }) => {
519
- const {
520
- pulsate: L = !1,
521
- center: _ = r || E.pulsate,
522
- fakeElement: K = !1
523
- // For test purposes
524
- } = E;
525
- if ((d == null ? void 0 : d.type) === "mousedown" && y.current) {
526
- y.current = !1;
527
- return;
528
- }
529
- (d == null ? void 0 : d.type) === "touchstart" && (y.current = !0);
530
- const C = K ? null : T.current, D = C ? C.getBoundingClientRect() : {
531
- width: 0,
532
- height: 0,
533
- left: 0,
534
- top: 0
535
- };
536
- let x, N, B;
537
- if (_ || d === void 0 || d.clientX === 0 && d.clientY === 0 || !d.clientX && !d.touches)
538
- x = Math.round(D.width / 2), N = Math.round(D.height / 2);
539
- else {
540
- const {
541
- clientX: F,
542
- clientY: V
543
- } = d.touches && d.touches.length > 0 ? d.touches[0] : d;
544
- x = Math.round(F - D.left), N = Math.round(V - D.top);
545
- }
546
- if (_)
547
- B = Math.sqrt((2 * D.width ** 2 + D.height ** 2) / 3), B % 2 === 0 && (B += 1);
548
- else {
549
- const F = Math.max(Math.abs((C ? C.clientWidth : 0) - x), x) * 2 + 2, V = Math.max(Math.abs((C ? C.clientHeight : 0) - N), N) * 2 + 2;
550
- B = Math.sqrt(F ** 2 + V ** 2);
551
- }
552
- d != null && d.touches ? m.current === null && (m.current = () => {
553
- U({
554
- pulsate: L,
555
- rippleX: x,
556
- rippleY: N,
557
- rippleSize: B,
558
- cb: M
559
- });
560
- }, P.current = setTimeout(() => {
561
- m.current && (m.current(), m.current = null);
562
- }, Et)) : U({
563
- pulsate: L,
564
- rippleX: x,
565
- rippleY: N,
566
- rippleSize: B,
567
- cb: M
568
- });
569
- }, [r, U]), j = l.useCallback(() => {
570
- I({}, {
571
- pulsate: !0
572
- });
573
- }, [I]), O = l.useCallback((d, E) => {
574
- if (clearTimeout(P.current), (d == null ? void 0 : d.type) === "touchend" && m.current) {
575
- m.current(), m.current = null, P.current = setTimeout(() => {
576
- O(d, E);
577
- });
578
- return;
579
- }
580
- m.current = null, f((M) => M.length > 0 ? M.slice(1) : M), R.current = E;
581
- }, []);
582
- return l.useImperativeHandle(o, () => ({
583
- pulsate: j,
584
- start: I,
585
- stop: O
586
- }), [j, I, O]), /* @__PURE__ */ $(xt, Y({
587
- className: v(b.root, i.root, s),
588
- ref: T
589
- }, c, {
590
- children: /* @__PURE__ */ $(fe, {
591
- component: null,
592
- exit: !0,
593
- children: p
594
- })
595
- }));
596
- });
597
- process.env.NODE_ENV !== "production" && (Ve.propTypes = {
598
- /**
599
- * If `true`, the ripple starts at the center of the component
600
- * rather than at the point of interaction.
601
- */
602
- center: n.bool,
603
- /**
604
- * Override or extend the styles applied to the component.
605
- * See [CSS API](#css) below for more details.
606
- */
607
- classes: n.object,
608
- /**
609
- * @ignore
610
- */
611
- className: n.string
612
- });
613
- function wt(e) {
614
- return Ze("MuiButtonBase", e);
615
- }
616
- const Pt = Ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), Dt = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], Nt = (e) => {
617
- const {
618
- disabled: t,
619
- focusVisible: o,
620
- focusVisibleClassName: a,
621
- classes: r
622
- } = e, s = He({
623
- root: ["root", t && "disabled", o && "focusVisible"]
624
- }, wt, r);
625
- return o && a && (s.root += ` ${a}`), s;
626
- }, Bt = ae("button", {
627
- name: "MuiButtonBase",
628
- slot: "Root",
629
- overridesResolver: (e, t) => t.root
630
- })({
631
- display: "inline-flex",
632
- alignItems: "center",
633
- justifyContent: "center",
634
- position: "relative",
635
- boxSizing: "border-box",
636
- WebkitTapHighlightColor: "transparent",
637
- backgroundColor: "transparent",
638
- // Reset default value
639
- // We disable the focus ring for mouse, touch and keyboard users.
640
- outline: 0,
641
- border: 0,
642
- margin: 0,
643
- // Remove the margin in Safari
644
- borderRadius: 0,
645
- padding: 0,
646
- // Remove the padding in Firefox
647
- cursor: "pointer",
648
- userSelect: "none",
649
- verticalAlign: "middle",
650
- MozAppearance: "none",
651
- // Reset
652
- WebkitAppearance: "none",
653
- // Reset
654
- textDecoration: "none",
655
- // So we take precedent over the style of a native <a /> element.
656
- color: "inherit",
657
- "&::-moz-focus-inner": {
658
- borderStyle: "none"
659
- // Remove Firefox dotted outline.
660
- },
661
- [`&.${Pt.disabled}`]: {
662
- pointerEvents: "none",
663
- // Disable link interactions
664
- cursor: "default"
665
- },
666
- "@media print": {
667
- colorAdjust: "exact"
668
- }
669
- }), Lt = /* @__PURE__ */ l.forwardRef(function(t, o) {
670
- const a = ve({
671
- props: t,
672
- name: "MuiButtonBase"
673
- }), {
674
- action: r,
675
- centerRipple: i = !1,
676
- children: s,
677
- className: c,
678
- component: p = "button",
679
- disabled: f = !1,
680
- disableRipple: h = !1,
681
- disableTouchRipple: R = !1,
682
- focusRipple: y = !1,
683
- LinkComponent: P = "a",
684
- onBlur: m,
685
- onClick: T,
686
- onContextMenu: U,
687
- onDragLeave: I,
688
- onFocus: j,
689
- onFocusVisible: O,
690
- onKeyDown: d,
691
- onKeyUp: E,
692
- onMouseDown: M,
693
- onMouseLeave: L,
694
- onMouseUp: _,
695
- onTouchEnd: K,
696
- onTouchMove: C,
697
- onTouchStart: D,
698
- tabIndex: x = 0,
699
- TouchRippleProps: N,
700
- touchRippleRef: B,
701
- type: F
702
- } = a, V = ue(a, Dt), z = l.useRef(null), g = l.useRef(null), we = ye(g, B), {
703
- isFocusVisibleRef: de,
704
- onFocus: Pe,
705
- onBlur: De,
706
- ref: Ne
707
- } = dt(), [k, q] = l.useState(!1);
708
- f && k && q(!1), l.useImperativeHandle(r, () => ({
709
- focusVisible: () => {
710
- q(!0), z.current.focus();
711
- }
712
- }), []);
713
- const [ee, Be] = l.useState(!1);
714
- l.useEffect(() => {
715
- Be(!0);
716
- }, []);
717
- const te = ee && !h && !f;
718
- l.useEffect(() => {
719
- k && y && !h && ee && g.current.pulsate();
720
- }, [h, y, k, ee]);
721
- function w(u, me, Ye = R) {
722
- return H((be) => (me && me(be), !Ye && g.current && g.current[u](be), !0));
723
- }
724
- const Le = w("start", M), Fe = w("stop", U), ke = w("stop", I), Se = w("stop", _), Ie = w("stop", (u) => {
725
- k && u.preventDefault(), L && L(u);
726
- }), Oe = w("start", D), _e = w("stop", K), $e = w("stop", C), Ue = w("stop", (u) => {
727
- De(u), de.current === !1 && q(!1), m && m(u);
728
- }, !1), je = H((u) => {
729
- z.current || (z.current = u.currentTarget), Pe(u), de.current === !0 && (q(!0), O && O(u)), j && j(u);
730
- }), ne = () => {
731
- const u = z.current;
732
- return p && p !== "button" && !(u.tagName === "A" && u.href);
733
- }, oe = l.useRef(!1), Ke = H((u) => {
734
- y && !oe.current && k && g.current && u.key === " " && (oe.current = !0, g.current.stop(u, () => {
735
- g.current.start(u);
736
- })), u.target === u.currentTarget && ne() && u.key === " " && u.preventDefault(), d && d(u), u.target === u.currentTarget && ne() && u.key === "Enter" && !f && (u.preventDefault(), T && T(u));
737
- }), ze = H((u) => {
738
- y && u.key === " " && g.current && k && !u.defaultPrevented && (oe.current = !1, g.current.stop(u, () => {
739
- g.current.pulsate(u);
740
- })), E && E(u), T && u.target === u.currentTarget && ne() && u.key === " " && !u.defaultPrevented && T(u);
741
- });
742
- let W = p;
743
- W === "button" && (V.href || V.to) && (W = P);
744
- const A = {};
745
- W === "button" ? (A.type = F === void 0 ? "button" : F, A.disabled = f) : (!V.href && !V.to && (A.role = "button"), f && (A["aria-disabled"] = f));
746
- const Ae = ye(o, Ne, z);
747
- process.env.NODE_ENV !== "production" && l.useEffect(() => {
748
- te && !g.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
749
- `));
750
- }, [te]);
751
- const he = Y({}, a, {
752
- centerRipple: i,
753
- component: p,
754
- disabled: f,
755
- disableRipple: h,
756
- disableTouchRipple: R,
757
- focusRipple: y,
758
- tabIndex: x,
759
- focusVisible: k
760
- }), Xe = Nt(he);
761
- return /* @__PURE__ */ Ge(Bt, Y({
762
- as: W,
763
- className: v(Xe.root, c),
764
- ownerState: he,
765
- onBlur: Ue,
766
- onClick: T,
767
- onContextMenu: Fe,
768
- onFocus: je,
769
- onKeyDown: Ke,
770
- onKeyUp: ze,
771
- onMouseDown: Le,
772
- onMouseLeave: Ie,
773
- onMouseUp: Se,
774
- onDragLeave: ke,
775
- onTouchEnd: _e,
776
- onTouchMove: $e,
777
- onTouchStart: Oe,
778
- ref: Ae,
779
- tabIndex: f ? -1 : x,
780
- type: F
781
- }, A, V, {
782
- children: [s, te ? (
783
- /* TouchRipple is only needed client-side, x2 boost on the server. */
784
- /* @__PURE__ */ $(Ve, Y({
785
- ref: we,
786
- center: i
787
- }, N))
788
- ) : null]
789
- }));
790
- });
791
- process.env.NODE_ENV !== "production" && (Lt.propTypes = {
792
- // ----------------------------- Warning --------------------------------
793
- // | These PropTypes are generated from the TypeScript type definitions |
794
- // | To update them edit the d.ts file and run "yarn proptypes" |
795
- // ----------------------------------------------------------------------
796
- /**
797
- * A ref for imperative actions.
798
- * It currently only supports `focusVisible()` action.
799
- */
800
- action: ot,
801
- /**
802
- * If `true`, the ripples are centered.
803
- * They won't start at the cursor interaction position.
804
- * @default false
805
- */
806
- centerRipple: n.bool,
807
- /**
808
- * The content of the component.
809
- */
810
- children: n.node,
811
- /**
812
- * Override or extend the styles applied to the component.
813
- */
814
- classes: n.object,
815
- /**
816
- * @ignore
817
- */
818
- className: n.string,
819
- /**
820
- * The component used for the root node.
821
- * Either a string to use a HTML element or a component.
822
- */
823
- component: nt,
824
- /**
825
- * If `true`, the component is disabled.
826
- * @default false
827
- */
828
- disabled: n.bool,
829
- /**
830
- * If `true`, the ripple effect is disabled.
831
- *
832
- * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
833
- * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
834
- * @default false
835
- */
836
- disableRipple: n.bool,
837
- /**
838
- * If `true`, the touch ripple effect is disabled.
839
- * @default false
840
- */
841
- disableTouchRipple: n.bool,
842
- /**
843
- * If `true`, the base button will have a keyboard focus ripple.
844
- * @default false
845
- */
846
- focusRipple: n.bool,
847
- /**
848
- * This prop can help identify which element has keyboard focus.
849
- * The class name will be applied when the element gains the focus through keyboard interaction.
850
- * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
851
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
852
- * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
853
- * if needed.
854
- */
855
- focusVisibleClassName: n.string,
856
- /**
857
- * @ignore
858
- */
859
- href: n.any,
860
- /**
861
- * The component used to render a link when the `href` prop is provided.
862
- * @default 'a'
863
- */
864
- LinkComponent: n.elementType,
865
- /**
866
- * @ignore
867
- */
868
- onBlur: n.func,
869
- /**
870
- * @ignore
871
- */
872
- onClick: n.func,
873
- /**
874
- * @ignore
875
- */
876
- onContextMenu: n.func,
877
- /**
878
- * @ignore
879
- */
880
- onDragLeave: n.func,
881
- /**
882
- * @ignore
883
- */
884
- onFocus: n.func,
885
- /**
886
- * Callback fired when the component is focused with a keyboard.
887
- * We trigger a `onFocus` callback too.
888
- */
889
- onFocusVisible: n.func,
890
- /**
891
- * @ignore
892
- */
893
- onKeyDown: n.func,
894
- /**
895
- * @ignore
896
- */
897
- onKeyUp: n.func,
898
- /**
899
- * @ignore
900
- */
901
- onMouseDown: n.func,
902
- /**
903
- * @ignore
904
- */
905
- onMouseLeave: n.func,
906
- /**
907
- * @ignore
908
- */
909
- onMouseUp: n.func,
910
- /**
911
- * @ignore
912
- */
913
- onTouchEnd: n.func,
914
- /**
915
- * @ignore
916
- */
917
- onTouchMove: n.func,
918
- /**
919
- * @ignore
920
- */
921
- onTouchStart: n.func,
922
- /**
923
- * The system prop that allows defining system overrides as well as additional CSS styles.
924
- */
925
- sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
926
- /**
927
- * @default 0
928
- */
929
- tabIndex: n.number,
930
- /**
931
- * Props applied to the `TouchRipple` element.
932
- */
933
- TouchRippleProps: n.object,
934
- /**
935
- * A ref that points to the `TouchRipple` element.
936
- */
937
- touchRippleRef: n.oneOfType([n.func, n.shape({
938
- current: n.shape({
939
- pulsate: n.func.isRequired,
940
- start: n.func.isRequired,
941
- stop: n.func.isRequired
942
- })
943
- })]),
944
- /**
945
- * @ignore
946
- */
947
- type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string])
948
- });
949
- export {
950
- Lt as B,
951
- ge as T,
952
- ht as _,
953
- ye as a,
954
- H as b,
955
- dt as c,
956
- fe as d,
957
- nt as e,
958
- ot as r,
959
- rt as s,
960
- it as u
961
- };