everest-npm-features 0.0.1 → 0.0.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 (250) hide show
  1. package/dist/ArrowDropDown-DRUQbGft.js +8 -0
  2. package/dist/ArrowRight-t-YgAHUn.js +8 -0
  3. package/dist/{Box-wAem3MQD.js → Box-BOgpENcC.js} +11 -11
  4. package/dist/{Button-fWdSk-yh.js → Button-DXdgxFxa.js} +8 -7
  5. package/dist/{ButtonBase-SYP7klDp.js → ButtonBase-AOLUTpPg.js} +204 -211
  6. package/dist/Cancel-BMPJ8ZAg.js +11 -0
  7. package/dist/CardContent-DEA5pnhr.js +141 -0
  8. package/dist/{CircularProgress-DcXA6nAu.js → CircularProgress-BAEiXRSn.js} +31 -30
  9. package/dist/Close-mXCsZSxZ.js +8 -0
  10. package/dist/{Container-CIMHcpEe.js → Container-BOehNoF1.js} +4 -4
  11. package/dist/{ContentCopy-CexUUXuC.js → ContentCopy-HD_Xx6nx.js} +1 -1
  12. package/dist/{createSimplePaletteValueFilter-CsgjlRAs.js → DefaultPropsProvider-DmUB0SYC.js} +54 -69
  13. package/dist/DefaultPropsProvider-tqUom3mB.js +329 -0
  14. package/dist/{DialogContent-JgT9A6nk.js → DialogContent-zttWtNJM.js} +91 -90
  15. package/dist/{Close-CdRA3xUs.js → DialogTitle-BqL8DXBp.js} +16 -21
  16. package/dist/{ArrowRight-C6tjImpU.js → Divider-EGEkrkBH.js} +50 -55
  17. package/dist/{FormControl-D4QuPCnV.js → FormControl-Nd-4LC8N.js} +60 -69
  18. package/dist/FormControlLabel-BMeMEwyK.js +738 -0
  19. package/dist/{GlobalStyles-BOnEiMUE.js → GlobalStyles-CModZHM-.js} +2 -2
  20. package/dist/{Grid-dtT_MVn3.js → Grid-EISqvBSJ.js} +5 -5
  21. package/dist/Grid2-B0mJbwjl.js +374 -0
  22. package/dist/{Grow-B3Swdn2Z.js → Grow-dkRwE_ok.js} +5 -5
  23. package/dist/{IconButton-CRGy76pJ.js → IconButton-DAR3jsEV.js} +12 -11
  24. package/dist/Info-CkE3Gsf2.js +8 -0
  25. package/dist/InputAdornment-DZJP9Njd.js +169 -0
  26. package/dist/ListItemIcon-JAntieDc.js +82 -0
  27. package/dist/{wallet-DN7ej6mj.js → MenuItem-D12FP5Iq.js} +64 -75
  28. package/dist/{Modal-0q_y4zbS.js → Modal-DceAu_d2.js} +324 -397
  29. package/dist/Paper-L8ipwfkc.js +183 -0
  30. package/dist/PlayArrow-D98xCL5M.js +21 -0
  31. package/dist/Portal-DxdKGEvu.js +86 -0
  32. package/dist/{Select-BNAaKK32.js → Select-DTQDmdn_.js} +39 -33
  33. package/dist/{Slide-BlS6unRJ.js → Slide-CWqC2RDG.js} +4 -3
  34. package/dist/Stack-CkCveRRR.js +174 -0
  35. package/dist/{TextField-CPZo0_di.js → TextField-BqIvz6Zw.js} +23 -21
  36. package/dist/{Typography-kyxogyUq.js → Typography-Dx54MRM5.js} +14 -13
  37. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  38. package/dist/assets/index.css +1 -1
  39. package/dist/assets/index10.css +1 -0
  40. package/dist/assets/index2.css +1 -1
  41. package/dist/assets/index3.css +1 -0
  42. package/dist/assets/index4.css +1 -0
  43. package/dist/assets/index5.css +1 -0
  44. package/dist/assets/index6.css +1 -0
  45. package/dist/assets/index7.css +1 -0
  46. package/dist/assets/index8.css +1 -0
  47. package/dist/assets/index9.css +1 -0
  48. package/dist/assets/{withThemeProvider.css → main.css} +1 -1
  49. package/dist/assets/styles.css +1 -1
  50. package/dist/assets/styles3.css +1 -0
  51. package/dist/auth-AwdxCQXF.js +46 -0
  52. package/dist/axios-BEX6n2A7.js +796 -0
  53. package/dist/bank-D2rGgUDP.js +23 -0
  54. package/dist/components/Account/index.d.ts +4 -0
  55. package/dist/components/Account/index.js +310 -0
  56. package/dist/components/History/index.d.ts +2 -0
  57. package/dist/components/History/index.js +804 -0
  58. package/dist/components/MoveToEthereumOrEverChain/index.d.ts +18 -0
  59. package/dist/components/MoveToEthereumOrEverChain/index.js +345 -0
  60. package/dist/components/Profile/documents.js +19 -14
  61. package/dist/components/Profile/index.js +128 -135
  62. package/dist/components/Receive/index.js +25 -23
  63. package/dist/components/RocketRamp/Buy/cardPayment.d.ts +3 -0
  64. package/dist/components/RocketRamp/Buy/cardPayment.js +17 -0
  65. package/dist/components/RocketRamp/Buy/confirmTransaction.d.ts +3 -0
  66. package/dist/components/RocketRamp/Buy/confirmTransaction.js +16 -0
  67. package/dist/components/RocketRamp/Buy/form.d.ts +3 -0
  68. package/dist/components/RocketRamp/Buy/form.js +26 -0
  69. package/dist/components/RocketRamp/Buy/index.d.ts +6 -0
  70. package/dist/components/RocketRamp/Buy/index.js +29 -0
  71. package/dist/components/RocketRamp/Buy/types.d.ts +32 -0
  72. package/dist/components/RocketRamp/Buy/types.js +1 -0
  73. package/dist/components/RocketRamp/Dashboard/balance.d.ts +9 -0
  74. package/dist/components/RocketRamp/Dashboard/balance.js +75 -0
  75. package/dist/components/RocketRamp/Dashboard/index.d.ts +5 -0
  76. package/dist/components/RocketRamp/Dashboard/index.js +36 -0
  77. package/dist/components/RocketRamp/Dashboard/transaction.d.ts +8 -0
  78. package/dist/components/RocketRamp/Dashboard/transaction.js +28 -0
  79. package/dist/components/RocketRamp/MinimalKyc/index.d.ts +6 -0
  80. package/dist/components/RocketRamp/MinimalKyc/index.js +254 -0
  81. package/dist/components/RocketRamp/Shared/Button/index.d.ts +10 -0
  82. package/dist/components/RocketRamp/Shared/Button/index.js +82 -0
  83. package/dist/components/RocketRamp/Shared/Input/index.d.ts +11 -0
  84. package/dist/components/RocketRamp/Shared/Input/index.js +46 -0
  85. package/dist/components/RocketRamp/Shared/backBtn.d.ts +5 -0
  86. package/dist/components/RocketRamp/Shared/backBtn.js +21 -0
  87. package/dist/components/RocketRamp/Shared/transactionItem.d.ts +7 -0
  88. package/dist/components/RocketRamp/Shared/transactionItem.js +125 -0
  89. package/dist/components/RocketRamp/SignIn/index.d.ts +3 -0
  90. package/dist/components/RocketRamp/SignIn/index.js +82 -0
  91. package/dist/components/RocketRamp/SignIn/loginForm.d.ts +3 -0
  92. package/dist/components/RocketRamp/SignIn/loginForm.js +81 -0
  93. package/dist/components/RocketRamp/SignIn/otpForm.d.ts +3 -0
  94. package/dist/components/RocketRamp/SignIn/otpForm.js +112 -0
  95. package/dist/components/RocketRamp/SignIn/types.d.ts +22 -0
  96. package/dist/components/RocketRamp/SignIn/types.js +1 -0
  97. package/dist/components/RocketRamp/SignUp/email.d.ts +3 -0
  98. package/dist/components/RocketRamp/SignUp/email.js +70 -0
  99. package/dist/components/RocketRamp/SignUp/index.d.ts +3 -0
  100. package/dist/components/RocketRamp/SignUp/index.js +163 -0
  101. package/dist/components/RocketRamp/SignUp/personalInfo.d.ts +3 -0
  102. package/dist/components/RocketRamp/SignUp/personalInfo.js +415 -0
  103. package/dist/components/RocketRamp/SignUp/summary.d.ts +3 -0
  104. package/dist/components/RocketRamp/SignUp/summary.js +57 -0
  105. package/dist/components/RocketRamp/SignUp/types.d.ts +50 -0
  106. package/dist/components/RocketRamp/SignUp/types.js +1 -0
  107. package/dist/components/RocketRamp/SignUp/validateEmail.d.ts +3 -0
  108. package/dist/components/RocketRamp/SignUp/validateEmail.js +99 -0
  109. package/dist/components/RocketRamp/Transactions/index.d.ts +5 -0
  110. package/dist/components/RocketRamp/Transactions/index.js +38 -0
  111. package/dist/components/Send/index.js +62 -51
  112. package/dist/components/Shared/ConnectWallet/index.d.ts +20 -0
  113. package/dist/components/Shared/ConnectWallet/index.js +25364 -0
  114. package/dist/components/Shared/HistoryItem/index.d.ts +5 -0
  115. package/dist/components/Shared/HistoryItem/index.js +120 -0
  116. package/dist/components/Shared/Keyboard/keyboard.js +3 -3
  117. package/dist/components/Shared/TokenModal/index.d.ts +10 -0
  118. package/dist/components/Shared/TokenModal/index.js +104 -0
  119. package/dist/components/Shared/TokenModal/tokenGrid.d.ts +7 -0
  120. package/dist/components/Shared/TokenModal/tokenGrid.js +51 -0
  121. package/dist/components/Shared/addBank.d.ts +2 -0
  122. package/dist/components/Shared/addBank.js +172 -0
  123. package/dist/components/Shared/button.js +1 -1
  124. package/dist/components/Shared/connectPlaidBank.d.ts +2 -0
  125. package/dist/components/Shared/connectPlaidBank.js +57 -0
  126. package/dist/components/Shared/incode.js +34 -32
  127. package/dist/components/Shared/inputField.js +1 -1
  128. package/dist/components/Shared/noData.d.ts +4 -0
  129. package/dist/components/Shared/noData.js +14 -0
  130. package/dist/components/Shared/pin.js +3 -3
  131. package/dist/components/Shared/step.js +2 -2
  132. package/dist/components/Shared/tooltip.d.ts +4 -0
  133. package/dist/components/Shared/tooltip.js +2107 -0
  134. package/dist/components/Shared/transition.js +1 -1
  135. package/dist/components/SignIn/index.js +26 -24
  136. package/dist/components/SignUp/index.js +108 -348
  137. package/dist/components/SignUp/pin.js +116 -844
  138. package/dist/components/SignUp/privacy.js +3 -3
  139. package/dist/components/SignUp/terms.js +3 -3
  140. package/dist/components/SignUp/types.d.ts +0 -1
  141. package/dist/components/SignUp/userInfo.js +4 -4
  142. package/dist/components/Stake/gems/index.d.ts +2 -0
  143. package/dist/components/Stake/gems/index.js +214 -0
  144. package/dist/components/Stake/id/index.d.ts +2 -0
  145. package/dist/components/Stake/id/index.js +233 -0
  146. package/dist/components/Stake/index.d.ts +5 -0
  147. package/dist/components/Stake/index.js +346 -0
  148. package/dist/components/Swap/index.d.ts +2 -0
  149. package/dist/components/Swap/index.js +489 -0
  150. package/dist/components/SwapAndUniSwap/index.d.ts +3 -0
  151. package/dist/components/SwapAndUniSwap/index.js +43 -0
  152. package/dist/components/WalletPortfolio/index.js +191 -263
  153. package/dist/components/WalletPortfolio/tokenRow.js +8 -5
  154. package/dist/constants-d3SWzaRo.js +3981 -0
  155. package/dist/countries-BVn1FubK.js +1925 -0
  156. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  157. package/dist/{createSvgIcon-CAZr4ukt.js → createSvgIcon-jkXneOQN.js} +6 -6
  158. package/dist/{createTheme-NrBCWesw.js → createTheme-F9Dk4FhK.js} +182 -174
  159. package/dist/data/countries.json.d.ts +1925 -0
  160. package/dist/defaultTheme-Bc00Q3Kt.js +5 -0
  161. package/dist/dividerClasses-SUAUDDqL.js +10 -0
  162. package/dist/{documents-CL4Ajr_B.js → documents-2UqIXbDq.js} +130 -129
  163. package/dist/elementTypeAcceptingRef-BufevUW8.js +23 -0
  164. package/dist/emotion-react.browser.esm-CI0uV1W5.js +233 -0
  165. package/dist/{extendSxProp-CuERe1TA.js → extendSxProp-Cm2UBzGf.js} +1 -1
  166. package/dist/generic-token-B_ptO5yb.js +4 -0
  167. package/dist/hoc/withThemeProvider.js +33 -32
  168. package/dist/hooks/useDialog/index.js +4 -4
  169. package/dist/hooks/useSnackBar.js +63 -60
  170. package/dist/icons/buyIcon.d.ts +2 -0
  171. package/dist/icons/buyIcon.js +19 -0
  172. package/dist/icons/canceledBuyIcon.d.ts +2 -0
  173. package/dist/icons/canceledBuyIcon.js +34 -0
  174. package/dist/icons/canceledRedeemIcon.d.ts +2 -0
  175. package/dist/icons/canceledRedeemIcon.js +35 -0
  176. package/dist/icons/failedBuyIcon.d.ts +2 -0
  177. package/dist/icons/failedBuyIcon.js +48 -0
  178. package/dist/icons/failedRedeemIcon.d.ts +2 -0
  179. package/dist/icons/failedRedeemIcon.js +48 -0
  180. package/dist/icons/pendingBuyIcon.d.ts +2 -0
  181. package/dist/icons/pendingBuyIcon.js +38 -0
  182. package/dist/icons/pendingRedeemIcon.d.ts +2 -0
  183. package/dist/icons/pendingRedeemIcon.js +34 -0
  184. package/dist/icons/redeemIcon.d.ts +2 -0
  185. package/dist/icons/redeemIcon.js +19 -0
  186. package/dist/index-B8QKlEgj.js +37095 -0
  187. package/dist/{index-Cq3eHOnB.js → index-BJlsh9ro.js} +1 -1
  188. package/dist/index-C3FYdQkQ.js +4050 -0
  189. package/dist/index-CrajlEO_.js +576 -0
  190. package/dist/index-DxLB0ZV1.js +760 -0
  191. package/dist/index-TElEjliR.js +9 -0
  192. package/dist/{index-iAyNk1r6.js → index-_kqRfgnc.js} +5 -5
  193. package/dist/index-ceeCtFuh.js +136 -0
  194. package/dist/index.esm-BsMAMhYW.js +237 -0
  195. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  196. package/dist/isMuiElement-DnSE4qG4.js +13 -0
  197. package/dist/main.d.ts +99 -0
  198. package/dist/main.js +34 -12
  199. package/dist/moment-h96o7c8I.js +2578 -0
  200. package/dist/order-Cry6kuj8.js +23 -0
  201. package/dist/ownerWindow-C-760D__.js +7 -0
  202. package/dist/providers/metaMask.d.ts +6 -0
  203. package/dist/providers/metaMask.js +24 -0
  204. package/dist/react-redux-B4BZippc.js +255 -0
  205. package/dist/react-webcam-B3cXh1XT.js +267 -0
  206. package/dist/resolveComponentProps-BdTgLKBb.js +80 -0
  207. package/dist/rr-primary-logo-CqI24c8v.js +4 -0
  208. package/dist/stake-Q_O90kTv.js +17 -0
  209. package/dist/store.d.ts +65 -0
  210. package/dist/store.js +1 -0
  211. package/dist/styled-BTIMwpiX.js +5 -0
  212. package/dist/{styles.module-KeND8lCR.js → styles.module-6SB62f3J.js} +1 -1
  213. package/dist/styles.module-O5VVND5e.js +22 -0
  214. package/dist/tokenRow-CgnPD-4U.js +206 -0
  215. package/dist/useControlled-BYdyS7Pn.js +31 -0
  216. package/dist/useFormControl-CfmEP6sW.js +18 -0
  217. package/dist/useSlot-DaP6eodX.js +50 -0
  218. package/dist/useTheme-BghcbbEW.js +9 -0
  219. package/dist/{useTheme-nlj1B_-c.js → useTheme-c0OHvtiA.js} +3 -3
  220. package/dist/{useThemeProps-BqWuFW3z.js → useThemeProps-CV9AmzHf.js} +4 -4
  221. package/dist/{useThemeWithoutDefault-BdYkMk0o.js → useThemeWithoutDefault-D8MaPbCK.js} +1 -1
  222. package/dist/useTimeout-D29bZ7Gz.js +56 -0
  223. package/dist/user-Dzur3Cro.js +24 -0
  224. package/dist/util/constants.d.ts +48 -0
  225. package/dist/util/constants.js +69 -21
  226. package/dist/util/conversions.js +54 -22271
  227. package/dist/util/functions.d.ts +5 -0
  228. package/dist/util/functions.js +81 -24
  229. package/dist/util/regex.d.ts +3 -0
  230. package/dist/util/regex.js +6 -0
  231. package/dist/{utils-_FXWkn40.js → utils-EFg3So7T.js} +163 -168
  232. package/dist/wallet-Dw896DF7.js +35 -0
  233. package/dist/web3-u4qDZYpo.js +22328 -0
  234. package/package.json +8 -3
  235. package/dist/DefaultPropsProvider-Y8MI-J-I.js +0 -555
  236. package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +0 -4
  237. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  238. package/dist/auth-Cj5FKr_m.js +0 -19
  239. package/dist/axios-xPiQW9EP.js +0 -118114
  240. package/dist/defaultTheme-OIfL8Ia7.js +0 -5
  241. package/dist/dividerClasses-Z7VLlu5C.js +0 -10
  242. package/dist/index-DKTkUdik.js +0 -6
  243. package/dist/react-redux-VW99uJjf.js +0 -5908
  244. package/dist/react-webcam-Cov1TP0q.js +0 -639
  245. package/dist/styled-Da6GnxEE.js +0 -5
  246. package/dist/tokenRow-Cdd_jFjp.js +0 -206
  247. package/dist/useFormControl-Bo6Tf_xo.js +0 -46
  248. package/dist/useSlot-CURNJ3JC.js +0 -306
  249. package/dist/useTheme-DWRMvRU8.js +0 -9
  250. package/dist/useTimeout-lr7ryrda.js +0 -75
@@ -0,0 +1,738 @@
1
+ import * as S from "react";
2
+ import { g as H, P as e, f as g, a as X } from "./createTheme-F9Dk4FhK.js";
3
+ import { g as A, s as T, r as ee, c as j, a as _, m as W, u as oe } from "./DefaultPropsProvider-DmUB0SYC.js";
4
+ import { u as te, f as ae } from "./useFormControl-CfmEP6sW.js";
5
+ import { jsxs as L, jsx as u } from "react/jsx-runtime";
6
+ import { B as ne } from "./ButtonBase-AOLUTpPg.js";
7
+ import { u as le } from "./useControlled-BYdyS7Pn.js";
8
+ import { r as G } from "./useTimeout-D29bZ7Gz.js";
9
+ import { c as J } from "./createSvgIcon-jkXneOQN.js";
10
+ import { c as Y } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
11
+ import { u as ce } from "./useSlot-DaP6eodX.js";
12
+ import { T as Z } from "./Typography-Dx54MRM5.js";
13
+ function ie(o) {
14
+ return H("PrivateSwitchBase", o);
15
+ }
16
+ A("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
17
+ const de = (o) => {
18
+ const {
19
+ classes: t,
20
+ checked: r,
21
+ disabled: s,
22
+ edge: a
23
+ } = o, l = {
24
+ root: ["root", r && "checked", s && "disabled", a && `edge${g(a)}`],
25
+ input: ["input"]
26
+ };
27
+ return _(l, ie, t);
28
+ }, pe = T(ne)({
29
+ padding: 9,
30
+ borderRadius: "50%",
31
+ variants: [{
32
+ props: {
33
+ edge: "start",
34
+ size: "small"
35
+ },
36
+ style: {
37
+ marginLeft: -3
38
+ }
39
+ }, {
40
+ props: ({
41
+ edge: o,
42
+ ownerState: t
43
+ }) => o === "start" && t.size !== "small",
44
+ style: {
45
+ marginLeft: -12
46
+ }
47
+ }, {
48
+ props: {
49
+ edge: "end",
50
+ size: "small"
51
+ },
52
+ style: {
53
+ marginRight: -3
54
+ }
55
+ }, {
56
+ props: ({
57
+ edge: o,
58
+ ownerState: t
59
+ }) => o === "end" && t.size !== "small",
60
+ style: {
61
+ marginRight: -12
62
+ }
63
+ }]
64
+ }), ue = T("input", {
65
+ shouldForwardProp: ee
66
+ })({
67
+ cursor: "inherit",
68
+ position: "absolute",
69
+ opacity: 0,
70
+ width: "100%",
71
+ height: "100%",
72
+ top: 0,
73
+ left: 0,
74
+ margin: 0,
75
+ padding: 0,
76
+ zIndex: 1
77
+ }), re = /* @__PURE__ */ S.forwardRef(function(t, r) {
78
+ const {
79
+ autoFocus: s,
80
+ checked: a,
81
+ checkedIcon: l,
82
+ className: d,
83
+ defaultChecked: n,
84
+ disabled: C,
85
+ disableFocusRipple: k = !1,
86
+ edge: v = !1,
87
+ icon: w,
88
+ id: F,
89
+ inputProps: $,
90
+ inputRef: O,
91
+ name: P,
92
+ onBlur: f,
93
+ onChange: h,
94
+ onFocus: q,
95
+ readOnly: M,
96
+ required: x = !1,
97
+ tabIndex: N,
98
+ type: b,
99
+ value: B,
100
+ ...E
101
+ } = t, [y, I] = le({
102
+ controlled: a,
103
+ default: !!n,
104
+ name: "SwitchBase",
105
+ state: "checked"
106
+ }), c = te(), U = (p) => {
107
+ q && q(p), c && c.onFocus && c.onFocus(p);
108
+ }, R = (p) => {
109
+ f && f(p), c && c.onBlur && c.onBlur(p);
110
+ }, m = (p) => {
111
+ if (p.nativeEvent.defaultPrevented)
112
+ return;
113
+ const Q = p.target.checked;
114
+ I(Q), h && h(p, Q);
115
+ };
116
+ let i = C;
117
+ c && typeof i > "u" && (i = c.disabled);
118
+ const se = b === "checkbox" || b === "radio", V = {
119
+ ...t,
120
+ checked: y,
121
+ disabled: i,
122
+ disableFocusRipple: k,
123
+ edge: v
124
+ }, K = de(V);
125
+ return /* @__PURE__ */ L(pe, {
126
+ component: "span",
127
+ className: j(K.root, d),
128
+ centerRipple: !0,
129
+ focusRipple: !k,
130
+ disabled: i,
131
+ tabIndex: null,
132
+ role: void 0,
133
+ onFocus: U,
134
+ onBlur: R,
135
+ ownerState: V,
136
+ ref: r,
137
+ ...E,
138
+ children: [/* @__PURE__ */ u(ue, {
139
+ autoFocus: s,
140
+ checked: a,
141
+ defaultChecked: n,
142
+ className: K.input,
143
+ disabled: i,
144
+ id: se ? F : void 0,
145
+ name: P,
146
+ onChange: m,
147
+ readOnly: M,
148
+ ref: O,
149
+ required: x,
150
+ ownerState: V,
151
+ tabIndex: N,
152
+ type: b,
153
+ ...b === "checkbox" && B === void 0 ? {} : {
154
+ value: B
155
+ },
156
+ ...$
157
+ }), y ? l : w]
158
+ });
159
+ });
160
+ process.env.NODE_ENV !== "production" && (re.propTypes = {
161
+ /**
162
+ * If `true`, the `input` element is focused during the first mount.
163
+ */
164
+ autoFocus: e.bool,
165
+ /**
166
+ * If `true`, the component is checked.
167
+ */
168
+ checked: e.bool,
169
+ /**
170
+ * The icon to display when the component is checked.
171
+ */
172
+ checkedIcon: e.node.isRequired,
173
+ /**
174
+ * Override or extend the styles applied to the component.
175
+ */
176
+ classes: e.object,
177
+ /**
178
+ * @ignore
179
+ */
180
+ className: e.string,
181
+ /**
182
+ * @ignore
183
+ */
184
+ defaultChecked: e.bool,
185
+ /**
186
+ * If `true`, the component is disabled.
187
+ */
188
+ disabled: e.bool,
189
+ /**
190
+ * If `true`, the keyboard focus ripple is disabled.
191
+ * @default false
192
+ */
193
+ disableFocusRipple: e.bool,
194
+ /**
195
+ * If given, uses a negative margin to counteract the padding on one
196
+ * side (this is often helpful for aligning the left or right
197
+ * side of the icon with content above or below, without ruining the border
198
+ * size and shape).
199
+ * @default false
200
+ */
201
+ edge: e.oneOf(["end", "start", !1]),
202
+ /**
203
+ * The icon to display when the component is unchecked.
204
+ */
205
+ icon: e.node.isRequired,
206
+ /**
207
+ * The id of the `input` element.
208
+ */
209
+ id: e.string,
210
+ /**
211
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
212
+ */
213
+ inputProps: e.object,
214
+ /**
215
+ * Pass a ref to the `input` element.
216
+ */
217
+ inputRef: G,
218
+ /*
219
+ * @ignore
220
+ */
221
+ name: e.string,
222
+ /**
223
+ * @ignore
224
+ */
225
+ onBlur: e.func,
226
+ /**
227
+ * Callback fired when the state is changed.
228
+ *
229
+ * @param {object} event The event source of the callback.
230
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
231
+ */
232
+ onChange: e.func,
233
+ /**
234
+ * @ignore
235
+ */
236
+ onFocus: e.func,
237
+ /**
238
+ * It prevents the user from changing the value of the field
239
+ * (not from interacting with the field).
240
+ */
241
+ readOnly: e.bool,
242
+ /**
243
+ * If `true`, the `input` element is required.
244
+ */
245
+ required: e.bool,
246
+ /**
247
+ * The system prop that allows defining system overrides as well as additional CSS styles.
248
+ */
249
+ sx: e.object,
250
+ /**
251
+ * @ignore
252
+ */
253
+ tabIndex: e.oneOfType([e.number, e.string]),
254
+ /**
255
+ * The input component prop `type`.
256
+ */
257
+ type: e.string.isRequired,
258
+ /**
259
+ * The value of the component.
260
+ */
261
+ value: e.any
262
+ });
263
+ const be = J(/* @__PURE__ */ u("path", {
264
+ d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
265
+ }), "CheckBoxOutlineBlank"), me = J(/* @__PURE__ */ u("path", {
266
+ d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
267
+ }), "CheckBox"), fe = J(/* @__PURE__ */ u("path", {
268
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
269
+ }), "IndeterminateCheckBox");
270
+ function he(o) {
271
+ return H("MuiCheckbox", o);
272
+ }
273
+ const D = A("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), ye = (o) => {
274
+ const {
275
+ classes: t,
276
+ indeterminate: r,
277
+ color: s,
278
+ size: a
279
+ } = o, l = {
280
+ root: ["root", r && "indeterminate", `color${g(s)}`, `size${g(a)}`]
281
+ }, d = _(l, he, t);
282
+ return {
283
+ ...t,
284
+ // forward the disabled and checked classes to the SwitchBase
285
+ ...d
286
+ };
287
+ }, ge = T(re, {
288
+ shouldForwardProp: (o) => ee(o) || o === "classes",
289
+ name: "MuiCheckbox",
290
+ slot: "Root",
291
+ overridesResolver: (o, t) => {
292
+ const {
293
+ ownerState: r
294
+ } = o;
295
+ return [t.root, r.indeterminate && t.indeterminate, t[`size${g(r.size)}`], r.color !== "default" && t[`color${g(r.color)}`]];
296
+ }
297
+ })(W(({
298
+ theme: o
299
+ }) => ({
300
+ color: (o.vars || o).palette.text.secondary,
301
+ variants: [{
302
+ props: {
303
+ color: "default",
304
+ disableRipple: !1
305
+ },
306
+ style: {
307
+ "&:hover": {
308
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : X(o.palette.action.active, o.palette.action.hoverOpacity)
309
+ }
310
+ }
311
+ }, ...Object.entries(o.palette).filter(Y()).map(([t]) => ({
312
+ props: {
313
+ color: t,
314
+ disableRipple: !1
315
+ },
316
+ style: {
317
+ "&:hover": {
318
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : X(o.palette[t].main, o.palette.action.hoverOpacity)
319
+ }
320
+ }
321
+ })), ...Object.entries(o.palette).filter(Y()).map(([t]) => ({
322
+ props: {
323
+ color: t
324
+ },
325
+ style: {
326
+ [`&.${D.checked}, &.${D.indeterminate}`]: {
327
+ color: (o.vars || o).palette[t].main
328
+ },
329
+ [`&.${D.disabled}`]: {
330
+ color: (o.vars || o).palette.action.disabled
331
+ }
332
+ }
333
+ })), {
334
+ // Should be last to override other colors
335
+ props: {
336
+ disableRipple: !1
337
+ },
338
+ style: {
339
+ // Reset on touch devices, it doesn't add specificity
340
+ "&:hover": {
341
+ "@media (hover: none)": {
342
+ backgroundColor: "transparent"
343
+ }
344
+ }
345
+ }
346
+ }]
347
+ }))), Ce = /* @__PURE__ */ u(me, {}), ke = /* @__PURE__ */ u(be, {}), ve = /* @__PURE__ */ u(fe, {}), Pe = /* @__PURE__ */ S.forwardRef(function(t, r) {
348
+ const s = oe({
349
+ props: t,
350
+ name: "MuiCheckbox"
351
+ }), {
352
+ checkedIcon: a = Ce,
353
+ color: l = "primary",
354
+ icon: d = ke,
355
+ indeterminate: n = !1,
356
+ indeterminateIcon: C = ve,
357
+ inputProps: k,
358
+ size: v = "medium",
359
+ disableRipple: w = !1,
360
+ className: F,
361
+ ...$
362
+ } = s, O = n ? C : d, P = n ? C : a, f = {
363
+ ...s,
364
+ disableRipple: w,
365
+ color: l,
366
+ indeterminate: n,
367
+ size: v
368
+ }, h = ye(f);
369
+ return /* @__PURE__ */ u(ge, {
370
+ type: "checkbox",
371
+ inputProps: {
372
+ "data-indeterminate": n,
373
+ ...k
374
+ },
375
+ icon: /* @__PURE__ */ S.cloneElement(O, {
376
+ fontSize: O.props.fontSize ?? v
377
+ }),
378
+ checkedIcon: /* @__PURE__ */ S.cloneElement(P, {
379
+ fontSize: P.props.fontSize ?? v
380
+ }),
381
+ ownerState: f,
382
+ ref: r,
383
+ className: j(h.root, F),
384
+ ...$,
385
+ classes: h
386
+ });
387
+ });
388
+ process.env.NODE_ENV !== "production" && (Pe.propTypes = {
389
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
390
+ // │ These PropTypes are generated from the TypeScript type definitions. │
391
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
392
+ // └─────────────────────────────────────────────────────────────────────┘
393
+ /**
394
+ * If `true`, the component is checked.
395
+ */
396
+ checked: e.bool,
397
+ /**
398
+ * The icon to display when the component is checked.
399
+ * @default <CheckBoxIcon />
400
+ */
401
+ checkedIcon: e.node,
402
+ /**
403
+ * Override or extend the styles applied to the component.
404
+ */
405
+ classes: e.object,
406
+ /**
407
+ * @ignore
408
+ */
409
+ className: e.string,
410
+ /**
411
+ * The color of the component.
412
+ * It supports both default and custom theme colors, which can be added as shown in the
413
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
414
+ * @default 'primary'
415
+ */
416
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
417
+ /**
418
+ * The default checked state. Use when the component is not controlled.
419
+ */
420
+ defaultChecked: e.bool,
421
+ /**
422
+ * If `true`, the component is disabled.
423
+ * @default false
424
+ */
425
+ disabled: e.bool,
426
+ /**
427
+ * If `true`, the ripple effect is disabled.
428
+ * @default false
429
+ */
430
+ disableRipple: e.bool,
431
+ /**
432
+ * The icon to display when the component is unchecked.
433
+ * @default <CheckBoxOutlineBlankIcon />
434
+ */
435
+ icon: e.node,
436
+ /**
437
+ * The id of the `input` element.
438
+ */
439
+ id: e.string,
440
+ /**
441
+ * If `true`, the component appears indeterminate.
442
+ * This does not set the native input element to indeterminate due
443
+ * to inconsistent behavior across browsers.
444
+ * However, we set a `data-indeterminate` attribute on the `input`.
445
+ * @default false
446
+ */
447
+ indeterminate: e.bool,
448
+ /**
449
+ * The icon to display when the component is indeterminate.
450
+ * @default <IndeterminateCheckBoxIcon />
451
+ */
452
+ indeterminateIcon: e.node,
453
+ /**
454
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
455
+ */
456
+ inputProps: e.object,
457
+ /**
458
+ * Pass a ref to the `input` element.
459
+ */
460
+ inputRef: G,
461
+ /**
462
+ * Callback fired when the state is changed.
463
+ *
464
+ * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
465
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
466
+ */
467
+ onChange: e.func,
468
+ /**
469
+ * If `true`, the `input` element is required.
470
+ * @default false
471
+ */
472
+ required: e.bool,
473
+ /**
474
+ * The size of the component.
475
+ * `small` is equivalent to the dense checkbox styling.
476
+ * @default 'medium'
477
+ */
478
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
479
+ /**
480
+ * The system prop that allows defining system overrides as well as additional CSS styles.
481
+ */
482
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
483
+ /**
484
+ * The value of the component. The DOM API casts this to a string.
485
+ * The browser uses "on" as the default value.
486
+ */
487
+ value: e.any
488
+ });
489
+ function xe(o) {
490
+ return H("MuiFormControlLabel", o);
491
+ }
492
+ const z = A("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), Re = (o) => {
493
+ const {
494
+ classes: t,
495
+ disabled: r,
496
+ labelPlacement: s,
497
+ error: a,
498
+ required: l
499
+ } = o, d = {
500
+ root: ["root", r && "disabled", `labelPlacement${g(s)}`, a && "error", l && "required"],
501
+ label: ["label", r && "disabled"],
502
+ asterisk: ["asterisk", a && "error"]
503
+ };
504
+ return _(d, xe, t);
505
+ }, Se = T("label", {
506
+ name: "MuiFormControlLabel",
507
+ slot: "Root",
508
+ overridesResolver: (o, t) => {
509
+ const {
510
+ ownerState: r
511
+ } = o;
512
+ return [{
513
+ [`& .${z.label}`]: t.label
514
+ }, t.root, t[`labelPlacement${g(r.labelPlacement)}`]];
515
+ }
516
+ })(W(({
517
+ theme: o
518
+ }) => ({
519
+ display: "inline-flex",
520
+ alignItems: "center",
521
+ cursor: "pointer",
522
+ // For correct alignment with the text.
523
+ verticalAlign: "middle",
524
+ WebkitTapHighlightColor: "transparent",
525
+ marginLeft: -11,
526
+ marginRight: 16,
527
+ // used for row presentation of radio/checkbox
528
+ [`&.${z.disabled}`]: {
529
+ cursor: "default"
530
+ },
531
+ [`& .${z.label}`]: {
532
+ [`&.${z.disabled}`]: {
533
+ color: (o.vars || o).palette.text.disabled
534
+ }
535
+ },
536
+ variants: [{
537
+ props: {
538
+ labelPlacement: "start"
539
+ },
540
+ style: {
541
+ flexDirection: "row-reverse",
542
+ marginRight: -11
543
+ }
544
+ }, {
545
+ props: {
546
+ labelPlacement: "top"
547
+ },
548
+ style: {
549
+ flexDirection: "column-reverse"
550
+ }
551
+ }, {
552
+ props: {
553
+ labelPlacement: "bottom"
554
+ },
555
+ style: {
556
+ flexDirection: "column"
557
+ }
558
+ }, {
559
+ props: ({
560
+ labelPlacement: t
561
+ }) => t === "start" || t === "top" || t === "bottom",
562
+ style: {
563
+ marginLeft: 16
564
+ // used for row presentation of radio/checkbox
565
+ }
566
+ }]
567
+ }))), we = T("span", {
568
+ name: "MuiFormControlLabel",
569
+ slot: "Asterisk",
570
+ overridesResolver: (o, t) => t.asterisk
571
+ })(W(({
572
+ theme: o
573
+ }) => ({
574
+ [`&.${z.error}`]: {
575
+ color: (o.vars || o).palette.error.main
576
+ }
577
+ }))), Fe = /* @__PURE__ */ S.forwardRef(function(t, r) {
578
+ const s = oe({
579
+ props: t,
580
+ name: "MuiFormControlLabel"
581
+ }), {
582
+ checked: a,
583
+ className: l,
584
+ componentsProps: d = {},
585
+ control: n,
586
+ disabled: C,
587
+ disableTypography: k,
588
+ inputRef: v,
589
+ label: w,
590
+ labelPlacement: F = "end",
591
+ name: $,
592
+ onChange: O,
593
+ required: P,
594
+ slots: f = {},
595
+ slotProps: h = {},
596
+ value: q,
597
+ ...M
598
+ } = s, x = te(), N = C ?? n.props.disabled ?? (x == null ? void 0 : x.disabled), b = P ?? n.props.required, B = {
599
+ disabled: N,
600
+ required: b
601
+ };
602
+ ["checked", "name", "onChange", "value", "inputRef"].forEach((i) => {
603
+ typeof n.props[i] > "u" && typeof s[i] < "u" && (B[i] = s[i]);
604
+ });
605
+ const E = ae({
606
+ props: s,
607
+ muiFormControl: x,
608
+ states: ["error"]
609
+ }), y = {
610
+ ...s,
611
+ disabled: N,
612
+ labelPlacement: F,
613
+ required: b,
614
+ error: E.error
615
+ }, I = Re(y), c = {
616
+ slots: f,
617
+ slotProps: {
618
+ ...d,
619
+ ...h
620
+ }
621
+ }, [U, R] = ce("typography", {
622
+ elementType: Z,
623
+ externalForwardedProps: c,
624
+ ownerState: y
625
+ });
626
+ let m = w;
627
+ return m != null && m.type !== Z && !k && (m = /* @__PURE__ */ u(U, {
628
+ component: "span",
629
+ ...R,
630
+ className: j(I.label, R == null ? void 0 : R.className),
631
+ children: m
632
+ })), /* @__PURE__ */ L(Se, {
633
+ className: j(I.root, l),
634
+ ownerState: y,
635
+ ref: r,
636
+ ...M,
637
+ children: [/* @__PURE__ */ S.cloneElement(n, B), b ? /* @__PURE__ */ L("div", {
638
+ children: [m, /* @__PURE__ */ L(we, {
639
+ ownerState: y,
640
+ "aria-hidden": !0,
641
+ className: I.asterisk,
642
+ children: [" ", "*"]
643
+ })]
644
+ }) : m]
645
+ });
646
+ });
647
+ process.env.NODE_ENV !== "production" && (Fe.propTypes = {
648
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
649
+ // │ These PropTypes are generated from the TypeScript type definitions. │
650
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
651
+ // └─────────────────────────────────────────────────────────────────────┘
652
+ /**
653
+ * If `true`, the component appears selected.
654
+ */
655
+ checked: e.bool,
656
+ /**
657
+ * Override or extend the styles applied to the component.
658
+ */
659
+ classes: e.object,
660
+ /**
661
+ * @ignore
662
+ */
663
+ className: e.string,
664
+ /**
665
+ * The props used for each slot inside.
666
+ * @default {}
667
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
668
+ */
669
+ componentsProps: e.shape({
670
+ typography: e.object
671
+ }),
672
+ /**
673
+ * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
674
+ */
675
+ control: e.element.isRequired,
676
+ /**
677
+ * If `true`, the control is disabled.
678
+ */
679
+ disabled: e.bool,
680
+ /**
681
+ * If `true`, the label is rendered as it is passed without an additional typography node.
682
+ */
683
+ disableTypography: e.bool,
684
+ /**
685
+ * Pass a ref to the `input` element.
686
+ */
687
+ inputRef: G,
688
+ /**
689
+ * A text or an element to be used in an enclosing label element.
690
+ */
691
+ label: e.node,
692
+ /**
693
+ * The position of the label.
694
+ * @default 'end'
695
+ */
696
+ labelPlacement: e.oneOf(["bottom", "end", "start", "top"]),
697
+ /**
698
+ * @ignore
699
+ */
700
+ name: e.string,
701
+ /**
702
+ * Callback fired when the state is changed.
703
+ *
704
+ * @param {React.SyntheticEvent} event The event source of the callback.
705
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
706
+ */
707
+ onChange: e.func,
708
+ /**
709
+ * If `true`, the label will indicate that the `input` is required.
710
+ */
711
+ required: e.bool,
712
+ /**
713
+ * The props used for each slot inside.
714
+ * @default {}
715
+ */
716
+ slotProps: e.shape({
717
+ typography: e.oneOfType([e.func, e.object])
718
+ }),
719
+ /**
720
+ * The components used for each slot inside.
721
+ * @default {}
722
+ */
723
+ slots: e.shape({
724
+ typography: e.elementType
725
+ }),
726
+ /**
727
+ * The system prop that allows defining system overrides as well as additional CSS styles.
728
+ */
729
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
730
+ /**
731
+ * The value of the component.
732
+ */
733
+ value: e.any
734
+ });
735
+ export {
736
+ Pe as C,
737
+ Fe as F
738
+ };