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
@@ -1,22 +1,21 @@
1
1
  import * as A from "react";
2
- import { f as R, P as r } from "./createTheme-NrBCWesw.js";
3
- import { s as b, m, u as D, a as S, b as T } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
4
- import { g as C } from "./dividerClasses-Z7VLlu5C.js";
5
- import { jsx as f } from "react/jsx-runtime";
6
- import { c as I } from "./createSvgIcon-CAZr4ukt.js";
2
+ import { a as D, P as i } from "./createTheme-F9Dk4FhK.js";
3
+ import { s as b, m as u, u as T, c as R, a as S } from "./DefaultPropsProvider-DmUB0SYC.js";
4
+ import { g as C } from "./dividerClasses-SUAUDDqL.js";
5
+ import { jsx as v } from "react/jsx-runtime";
7
6
  const L = (e) => {
8
7
  const {
9
8
  absolute: t,
10
- children: i,
9
+ children: r,
11
10
  classes: s,
12
11
  flexItem: p,
13
- light: l,
12
+ light: n,
14
13
  orientation: o,
15
14
  textAlign: a,
16
- variant: n
15
+ variant: l
17
16
  } = e;
18
- return T({
19
- root: ["root", t && "absolute", n, l && "light", o === "vertical" && "vertical", p && "flexItem", i && "withChildren", i && o === "vertical" && "withChildrenVertical", a === "right" && o !== "vertical" && "textAlignRight", a === "left" && o !== "vertical" && "textAlignLeft"],
17
+ return S({
18
+ root: ["root", t && "absolute", l, n && "light", o === "vertical" && "vertical", p && "flexItem", r && "withChildren", r && o === "vertical" && "withChildrenVertical", a === "right" && o !== "vertical" && "textAlignRight", a === "left" && o !== "vertical" && "textAlignLeft"],
20
19
  wrapper: ["wrapper", o === "vertical" && "wrapperVertical"]
21
20
  }, C, s);
22
21
  }, O = b("div", {
@@ -24,11 +23,11 @@ const L = (e) => {
24
23
  slot: "Root",
25
24
  overridesResolver: (e, t) => {
26
25
  const {
27
- ownerState: i
26
+ ownerState: r
28
27
  } = e;
29
- return [t.root, i.absolute && t.absolute, t[i.variant], i.light && t.light, i.orientation === "vertical" && t.vertical, i.flexItem && t.flexItem, i.children && t.withChildren, i.children && i.orientation === "vertical" && t.withChildrenVertical, i.textAlign === "right" && i.orientation !== "vertical" && t.textAlignRight, i.textAlign === "left" && i.orientation !== "vertical" && t.textAlignLeft];
28
+ return [t.root, r.absolute && t.absolute, t[r.variant], r.light && t.light, r.orientation === "vertical" && t.vertical, r.flexItem && t.flexItem, r.children && t.withChildren, r.children && r.orientation === "vertical" && t.withChildrenVertical, r.textAlign === "right" && r.orientation !== "vertical" && t.textAlignRight, r.textAlign === "left" && r.orientation !== "vertical" && t.textAlignLeft];
30
29
  }
31
- })(m(({
30
+ })(u(({
32
31
  theme: e
33
32
  }) => ({
34
33
  margin: 0,
@@ -53,7 +52,7 @@ const L = (e) => {
53
52
  light: !0
54
53
  },
55
54
  style: {
56
- borderColor: e.vars ? `rgba(${e.vars.palette.dividerChannel} / 0.08)` : R(e.palette.divider, 0.08)
55
+ borderColor: e.vars ? `rgba(${e.vars.palette.dividerChannel} / 0.08)` : D(e.palette.divider, 0.08)
57
56
  }
58
57
  }, {
59
58
  props: {
@@ -166,11 +165,11 @@ const L = (e) => {
166
165
  slot: "Wrapper",
167
166
  overridesResolver: (e, t) => {
168
167
  const {
169
- ownerState: i
168
+ ownerState: r
170
169
  } = e;
171
- return [t.wrapper, i.orientation === "vertical" && t.wrapperVertical];
170
+ return [t.wrapper, r.orientation === "vertical" && t.wrapperVertical];
172
171
  }
173
- })(m(({
172
+ })(u(({
174
173
  theme: e
175
174
  }) => ({
176
175
  display: "inline-block",
@@ -185,50 +184,50 @@ const L = (e) => {
185
184
  paddingBottom: `calc(${e.spacing(1)} * 1.2)`
186
185
  }
187
186
  }]
188
- }))), g = /* @__PURE__ */ A.forwardRef(function(t, i) {
189
- const s = D({
187
+ }))), f = /* @__PURE__ */ A.forwardRef(function(t, r) {
188
+ const s = T({
190
189
  props: t,
191
190
  name: "MuiDivider"
192
191
  }), {
193
192
  absolute: p = !1,
194
- children: l,
193
+ children: n,
195
194
  className: o,
196
195
  orientation: a = "horizontal",
197
- component: n = l || a === "vertical" ? "div" : "hr",
198
- flexItem: h = !1,
199
- light: u = !1,
200
- role: c = n !== "hr" ? "separator" : void 0,
196
+ component: l = n || a === "vertical" ? "div" : "hr",
197
+ flexItem: g = !1,
198
+ light: m = !1,
199
+ role: c = l !== "hr" ? "separator" : void 0,
201
200
  textAlign: x = "center",
202
201
  variant: w = "fullWidth",
203
202
  ...y
204
203
  } = s, d = {
205
204
  ...s,
206
205
  absolute: p,
207
- component: n,
208
- flexItem: h,
209
- light: u,
206
+ component: l,
207
+ flexItem: g,
208
+ light: m,
210
209
  orientation: a,
211
210
  role: c,
212
211
  textAlign: x,
213
212
  variant: w
214
- }, v = L(d);
215
- return /* @__PURE__ */ f(O, {
216
- as: n,
217
- className: S(v.root, o),
213
+ }, h = L(d);
214
+ return /* @__PURE__ */ v(O, {
215
+ as: l,
216
+ className: R(h.root, o),
218
217
  role: c,
219
- ref: i,
218
+ ref: r,
220
219
  ownerState: d,
221
- "aria-orientation": c === "separator" && (n !== "hr" || a === "vertical") ? a : void 0,
220
+ "aria-orientation": c === "separator" && (l !== "hr" || a === "vertical") ? a : void 0,
222
221
  ...y,
223
- children: l ? /* @__PURE__ */ f(W, {
224
- className: v.wrapper,
222
+ children: n ? /* @__PURE__ */ v(W, {
223
+ className: h.wrapper,
225
224
  ownerState: d,
226
- children: l
225
+ children: n
227
226
  }) : null
228
227
  });
229
228
  });
230
- g && (g.muiSkipListHighlight = !0);
231
- process.env.NODE_ENV !== "production" && (g.propTypes = {
229
+ f && (f.muiSkipListHighlight = !0);
230
+ process.env.NODE_ENV !== "production" && (f.propTypes = {
232
231
  // ┌────────────────────────────── Warning ──────────────────────────────┐
233
232
  // │ These PropTypes are generated from the TypeScript type definitions. │
234
233
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -237,64 +236,60 @@ process.env.NODE_ENV !== "production" && (g.propTypes = {
237
236
  * Absolutely position the element.
238
237
  * @default false
239
238
  */
240
- absolute: r.bool,
239
+ absolute: i.bool,
241
240
  /**
242
241
  * The content of the component.
243
242
  */
244
- children: r.node,
243
+ children: i.node,
245
244
  /**
246
245
  * Override or extend the styles applied to the component.
247
246
  */
248
- classes: r.object,
247
+ classes: i.object,
249
248
  /**
250
249
  * @ignore
251
250
  */
252
- className: r.string,
251
+ className: i.string,
253
252
  /**
254
253
  * The component used for the root node.
255
254
  * Either a string to use a HTML element or a component.
256
255
  */
257
- component: r.elementType,
256
+ component: i.elementType,
258
257
  /**
259
258
  * If `true`, a vertical divider will have the correct height when used in flex container.
260
259
  * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
261
260
  * @default false
262
261
  */
263
- flexItem: r.bool,
262
+ flexItem: i.bool,
264
263
  /**
265
264
  * If `true`, the divider will have a lighter color.
266
265
  * @default false
267
266
  * @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
268
267
  */
269
- light: r.bool,
268
+ light: i.bool,
270
269
  /**
271
270
  * The component orientation.
272
271
  * @default 'horizontal'
273
272
  */
274
- orientation: r.oneOf(["horizontal", "vertical"]),
273
+ orientation: i.oneOf(["horizontal", "vertical"]),
275
274
  /**
276
275
  * @ignore
277
276
  */
278
- role: r.string,
277
+ role: i.string,
279
278
  /**
280
279
  * The system prop that allows defining system overrides as well as additional CSS styles.
281
280
  */
282
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
281
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
283
282
  /**
284
283
  * The text alignment.
285
284
  * @default 'center'
286
285
  */
287
- textAlign: r.oneOf(["center", "left", "right"]),
286
+ textAlign: i.oneOf(["center", "left", "right"]),
288
287
  /**
289
288
  * The variant to use.
290
289
  * @default 'fullWidth'
291
290
  */
292
- variant: r.oneOfType([r.oneOf(["fullWidth", "inset", "middle"]), r.string])
291
+ variant: i.oneOfType([i.oneOf(["fullWidth", "inset", "middle"]), i.string])
293
292
  });
294
- const B = I(/* @__PURE__ */ f("path", {
295
- d: "m10 17 5-5-5-5z"
296
- }), "ArrowRight");
297
293
  export {
298
- B as A,
299
- g as D
294
+ f as D
300
295
  };
@@ -1,40 +1,32 @@
1
- import * as n from "react";
2
- import { g as z, e as j, P as e } from "./createTheme-NrBCWesw.js";
3
- import { g as V, s as _, u as q, a as L, b as $ } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
4
- import { i as k, a as I } from "./Select-BNAaKK32.js";
5
- import { F as G } from "./useFormControl-Bo6Tf_xo.js";
1
+ import * as r from "react";
2
+ import { g as z, f as j, P as e } from "./createTheme-F9Dk4FhK.js";
3
+ import { g as q, s as L, u as V, c as _, a as $ } from "./DefaultPropsProvider-DmUB0SYC.js";
4
+ import { i as k, a as I } from "./Select-DTQDmdn_.js";
5
+ import { F as G } from "./useFormControl-CfmEP6sW.js";
6
6
  import { jsx as R } from "react/jsx-runtime";
7
- function b(o, t) {
8
- var i, l, r;
9
- return /* @__PURE__ */ n.isValidElement(o) && t.indexOf(
10
- // For server components `muiName` is avaialble in element.type._payload.value.muiName
11
- // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
12
- // eslint-disable-next-line no-underscore-dangle
13
- o.type.muiName ?? ((r = (l = (i = o.type) == null ? void 0 : i._payload) == null ? void 0 : l.value) == null ? void 0 : r.muiName)
14
- ) !== -1;
7
+ import { i as b } from "./isMuiElement-DnSE4qG4.js";
8
+ function H(t) {
9
+ return z("MuiFormControl", t);
15
10
  }
16
- function H(o) {
17
- return z("MuiFormControl", o);
18
- }
19
- V("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
20
- const J = (o) => {
11
+ q("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
12
+ const J = (t) => {
21
13
  const {
22
- classes: t,
23
- margin: i,
24
- fullWidth: l
25
- } = o, r = {
26
- root: ["root", i !== "none" && `margin${j(i)}`, l && "fullWidth"]
14
+ classes: n,
15
+ margin: a,
16
+ fullWidth: u
17
+ } = t, s = {
18
+ root: ["root", a !== "none" && `margin${j(a)}`, u && "fullWidth"]
27
19
  };
28
- return $(r, H, t);
29
- }, K = _("div", {
20
+ return $(s, H, n);
21
+ }, K = L("div", {
30
22
  name: "MuiFormControl",
31
23
  slot: "Root",
32
24
  overridesResolver: ({
33
- ownerState: o
34
- }, t) => ({
35
- ...t.root,
36
- ...t[`margin${j(o.margin)}`],
37
- ...o.fullWidth && t.fullWidth
25
+ ownerState: t
26
+ }, n) => ({
27
+ ...n.root,
28
+ ...n[`margin${j(t.margin)}`],
29
+ ...t.fullWidth && n.fullWidth
38
30
  })
39
31
  })({
40
32
  display: "inline-flex",
@@ -71,18 +63,18 @@ const J = (o) => {
71
63
  width: "100%"
72
64
  }
73
65
  }]
74
- }), Q = /* @__PURE__ */ n.forwardRef(function(t, i) {
75
- const l = q({
76
- props: t,
66
+ }), Q = /* @__PURE__ */ r.forwardRef(function(n, a) {
67
+ const u = V({
68
+ props: n,
77
69
  name: "MuiFormControl"
78
70
  }), {
79
- children: r,
71
+ children: s,
80
72
  className: B,
81
73
  color: d = "primary",
82
74
  component: v = "div",
83
- disabled: a = !1,
75
+ disabled: i = !1,
84
76
  error: f = !1,
85
- focused: O,
77
+ focused: S,
86
78
  fullWidth: c = !1,
87
79
  hiddenLabel: m = !1,
88
80
  margin: D = "none",
@@ -90,11 +82,11 @@ const J = (o) => {
90
82
  size: g = "medium",
91
83
  variant: y = "outlined",
92
84
  ...P
93
- } = l, S = {
94
- ...l,
85
+ } = u, O = {
86
+ ...u,
95
87
  color: d,
96
88
  component: v,
97
- disabled: a,
89
+ disabled: i,
98
90
  error: f,
99
91
  fullWidth: c,
100
92
  hiddenLabel: m,
@@ -102,36 +94,36 @@ const J = (o) => {
102
94
  required: p,
103
95
  size: g,
104
96
  variant: y
105
- }, U = J(S), [N, w] = n.useState(() => {
106
- let u = !1;
107
- return r && n.Children.forEach(r, (s) => {
108
- if (!b(s, ["Input", "Select"]))
97
+ }, U = J(O), [T, w] = r.useState(() => {
98
+ let l = !1;
99
+ return s && r.Children.forEach(s, (o) => {
100
+ if (!b(o, ["Input", "Select"]))
109
101
  return;
110
- const M = b(s, ["Select"]) ? s.props.input : s;
111
- M && k(M.props) && (u = !0);
112
- }), u;
113
- }), [T, E] = n.useState(() => {
114
- let u = !1;
115
- return r && n.Children.forEach(r, (s) => {
116
- b(s, ["Input", "Select"]) && (I(s.props, !0) || I(s.props.inputProps, !0)) && (u = !0);
117
- }), u;
118
- }), [x, h] = n.useState(!1);
119
- a && x && h(!1);
120
- const W = O !== void 0 && !a ? O : x;
102
+ const M = b(o, ["Select"]) ? o.props.input : o;
103
+ M && k(M.props) && (l = !0);
104
+ }), l;
105
+ }), [E, N] = r.useState(() => {
106
+ let l = !1;
107
+ return s && r.Children.forEach(s, (o) => {
108
+ b(o, ["Input", "Select"]) && (I(o.props, !0) || I(o.props.inputProps, !0)) && (l = !0);
109
+ }), l;
110
+ }), [W, h] = r.useState(!1);
111
+ i && W && h(!1);
112
+ const x = S !== void 0 && !i ? S : W;
121
113
  let C;
122
- const F = n.useRef(!1);
114
+ const F = r.useRef(!1);
123
115
  process.env.NODE_ENV !== "production" && (C = () => (F.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
124
116
  `)), F.current = !0, () => {
125
117
  F.current = !1;
126
118
  }));
127
- const A = n.useMemo(() => ({
128
- adornedStart: N,
119
+ const A = r.useMemo(() => ({
120
+ adornedStart: T,
129
121
  setAdornedStart: w,
130
122
  color: d,
131
- disabled: a,
123
+ disabled: i,
132
124
  error: f,
133
- filled: T,
134
- focused: W,
125
+ filled: E,
126
+ focused: x,
135
127
  fullWidth: c,
136
128
  hiddenLabel: m,
137
129
  size: g,
@@ -139,10 +131,10 @@ const J = (o) => {
139
131
  h(!1);
140
132
  },
141
133
  onEmpty: () => {
142
- E(!1);
134
+ N(!1);
143
135
  },
144
136
  onFilled: () => {
145
- E(!0);
137
+ N(!0);
146
138
  },
147
139
  onFocus: () => {
148
140
  h(!0);
@@ -150,16 +142,16 @@ const J = (o) => {
150
142
  registerEffect: C,
151
143
  required: p,
152
144
  variant: y
153
- }), [N, d, a, f, T, W, c, m, C, p, g, y]);
145
+ }), [T, d, i, f, E, x, c, m, C, p, g, y]);
154
146
  return /* @__PURE__ */ R(G.Provider, {
155
147
  value: A,
156
148
  children: /* @__PURE__ */ R(K, {
157
149
  as: v,
158
- ownerState: S,
159
- className: L(U.root, B),
160
- ref: i,
150
+ ownerState: O,
151
+ className: _(U.root, B),
152
+ ref: a,
161
153
  ...P,
162
- children: r
154
+ children: s
163
155
  })
164
156
  });
165
157
  });
@@ -244,6 +236,5 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
244
236
  variant: e.oneOf(["filled", "outlined", "standard"])
245
237
  });
246
238
  export {
247
- Q as F,
248
- b as i
239
+ Q as F
249
240
  };