@opexa/portal-components 0.0.16 → 0.0.18

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 (246) hide show
  1. package/dist/client/hooks/index.d.ts +3 -0
  2. package/dist/client/hooks/useGlobalStore.d.ts +11 -1
  3. package/dist/client/hooks/useGlobalStore.js +1 -1
  4. package/dist/client/hooks/useGlobalStore.mjs +81 -35
  5. package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +6 -0
  6. package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -0
  7. package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +39 -0
  8. package/dist/client/hooks/useMessagesQuery.d.ts +3 -0
  9. package/dist/client/hooks/useMessagesQuery.js +1 -0
  10. package/dist/client/hooks/useMessagesQuery.mjs +47 -0
  11. package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +3 -0
  12. package/dist/client/hooks/useUnreadMessagesCountQuery.js +1 -0
  13. package/dist/client/hooks/useUnreadMessagesCountQuery.mjs +38 -0
  14. package/dist/client-hooks.js +1 -1
  15. package/dist/client-hooks.mjs +38 -32
  16. package/dist/components/Account/Account.d.ts +3 -1
  17. package/dist/components/Account/Account.js +1 -1
  18. package/dist/components/Account/Account.mjs +163 -96
  19. package/dist/components/Banner/Banner.js +1 -1
  20. package/dist/components/Banner/Banner.mjs +6 -6
  21. package/dist/components/BetRecords/BetRecords.js +1 -1
  22. package/dist/components/BetRecords/BetRecords.mjs +357 -325
  23. package/dist/components/Bonus/Bonus.client.d.ts +2 -0
  24. package/dist/components/Bonus/Bonus.d.ts +10 -0
  25. package/dist/components/Bonus/index.d.ts +1 -0
  26. package/dist/components/Bonuses/Bonuses.d.ts +15 -0
  27. package/dist/components/Bonuses/Bonuses.js +1 -0
  28. package/dist/components/Bonuses/Bonuses.mjs +125 -0
  29. package/dist/components/Bonuses/index.d.ts +1 -0
  30. package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
  31. package/dist/components/DepositWithdrawal/AmountChoices.mjs +9 -6
  32. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
  33. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +11 -8
  34. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
  35. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +5 -2
  36. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
  37. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +5 -2
  38. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
  39. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +16 -13
  40. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
  41. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +5 -2
  42. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  43. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +9 -6
  44. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
  45. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +18 -15
  46. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  47. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +9 -6
  48. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
  49. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +9 -6
  50. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  51. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +46 -46
  52. package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
  53. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +26 -23
  54. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
  55. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +86 -76
  56. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
  57. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +118 -108
  58. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
  59. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +75 -65
  60. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
  61. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +96 -86
  62. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  63. package/dist/components/Disclaimer/Disclaimer.mjs +11 -8
  64. package/dist/components/Empty/Empty.js +1 -1
  65. package/dist/components/Empty/Empty.mjs +14 -10
  66. package/dist/components/GameLaunch/GameLaunch.js +1 -1
  67. package/dist/components/GameLaunch/GameLaunch.mjs +42 -39
  68. package/dist/components/Games/Games.client.js +1 -1
  69. package/dist/components/Games/Games.client.mjs +47 -44
  70. package/dist/components/Games/Games.d.ts +7 -2
  71. package/dist/components/JackpotCounter/JackpotCounter.d.ts +4 -2
  72. package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
  73. package/dist/components/JackpotCounter/JackpotCounter.mjs +38 -34
  74. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +3 -1
  75. package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
  76. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +282 -124
  77. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
  78. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +11 -8
  79. package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -0
  80. package/dist/components/Jackpots/JackpotItem.d.ts +7 -0
  81. package/dist/components/Jackpots/JackpotItemMobile.d.ts +7 -0
  82. package/dist/components/Jackpots/Jackpots.d.ts +8 -0
  83. package/dist/components/Jackpots/index.d.ts +1 -0
  84. package/dist/components/Marquee/Marquee.js +1 -1
  85. package/dist/components/Marquee/Marquee.mjs +12 -14
  86. package/dist/components/Messages/MessageItem.d.ts +4 -0
  87. package/dist/components/Messages/MessageItem.js +1 -0
  88. package/dist/components/Messages/MessageItem.mjs +66 -0
  89. package/dist/components/Messages/MessagePopup.d.ts +1 -0
  90. package/dist/components/Messages/MessagePopup.js +1 -0
  91. package/dist/components/Messages/MessagePopup.mjs +89 -0
  92. package/dist/components/Messages/Messages.d.ts +1 -0
  93. package/dist/components/Messages/Messages.js +1 -0
  94. package/dist/components/Messages/Messages.mjs +147 -0
  95. package/dist/components/Messages/index.d.ts +1 -0
  96. package/dist/components/Messages/utils.d.ts +3 -0
  97. package/dist/components/Messages/utils.js +1 -0
  98. package/dist/components/Messages/utils.mjs +16 -0
  99. package/dist/components/Promos/PromoCarousel.js +1 -1
  100. package/dist/components/Promos/PromoCarousel.mjs +27 -24
  101. package/dist/components/Promos/PromoGrid.js +1 -1
  102. package/dist/components/Promos/PromoGrid.mjs +7 -7
  103. package/dist/components/Promos/PromoItem.js +1 -1
  104. package/dist/components/Promos/PromoItem.mjs +10 -7
  105. package/dist/components/Promos/Promos.d.ts +4 -2
  106. package/dist/components/SignIn/SignIn.d.ts +0 -1
  107. package/dist/components/SignIn/SignIn.js +1 -1
  108. package/dist/components/SignIn/SignIn.mjs +32 -41
  109. package/dist/components/SignIn/SignInForm.js +1 -1
  110. package/dist/components/SignIn/SignInForm.mjs +167 -160
  111. package/dist/components/SignUp/SignUp.d.ts +0 -1
  112. package/dist/components/SignUp/SignUp.js +1 -1
  113. package/dist/components/SignUp/SignUp.mjs +32 -41
  114. package/dist/components/SignUp/SignUpForm.js +1 -1
  115. package/dist/components/SignUp/SignUpForm.mjs +123 -116
  116. package/dist/components/TopWins/TopWins.client.js +1 -1
  117. package/dist/components/TopWins/TopWins.client.mjs +14 -14
  118. package/dist/components/TopWins/TopWins.d.ts +2 -1
  119. package/dist/components/TournamentCounter/TournamentCounter.d.ts +4 -2
  120. package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
  121. package/dist/components/TournamentCounter/TournamentCounter.mjs +27 -24
  122. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
  123. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +113 -99
  124. package/dist/components/TransactionRecords/TableFilters.d.ts +3 -1
  125. package/dist/components/TransactionRecords/TableFilters.js +1 -1
  126. package/dist/components/TransactionRecords/TableFilters.mjs +193 -132
  127. package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
  128. package/dist/components/TransactionRecords/TransactionRecords.mjs +21 -17
  129. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
  130. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +89 -77
  131. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  132. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +105 -96
  133. package/dist/components/index.d.ts +2 -0
  134. package/dist/components.js +1 -1
  135. package/dist/components.mjs +36 -32
  136. package/dist/icons/ArrowNarrowDownIcon.d.ts +2 -0
  137. package/dist/icons/ArrowNarrowUpIcon.d.ts +2 -0
  138. package/dist/icons/Bell01Icon.d.ts +2 -0
  139. package/dist/icons/Bell01Icon.js +1 -0
  140. package/dist/icons/Bell01Icon.mjs +27 -0
  141. package/dist/icons/BellRingIcon.d.ts +2 -0
  142. package/dist/icons/BellRingIcon.js +1 -0
  143. package/dist/icons/BellRingIcon.mjs +27 -0
  144. package/dist/icons/EyeIcon.d.ts +2 -0
  145. package/dist/icons/EyeIcon.js +1 -0
  146. package/dist/icons/EyeIcon.mjs +25 -0
  147. package/dist/icons/EyeOffIcon.d.ts +2 -0
  148. package/dist/icons/EyeOffIcon.js +1 -0
  149. package/dist/icons/EyeOffIcon.mjs +22 -0
  150. package/dist/icons/StarIcon.d.ts +2 -0
  151. package/dist/icons/StarIcon.js +1 -0
  152. package/dist/icons/StarIcon.mjs +19 -0
  153. package/dist/icons/StopWatchIcon.d.ts +2 -0
  154. package/dist/icons/StopWatchIcon.js +1 -0
  155. package/dist/icons/StopWatchIcon.mjs +22 -0
  156. package/dist/icons/Trophy01Icon.d.ts +2 -0
  157. package/dist/icons/Trophy01Icon.js +1 -0
  158. package/dist/icons/Trophy01Icon.mjs +22 -0
  159. package/dist/icons/index.d.ts +6 -0
  160. package/dist/icons.d.ts +2 -0
  161. package/dist/icons.js +1 -0
  162. package/dist/icons.mjs +62 -0
  163. package/dist/images/first-place.png.js +1 -0
  164. package/dist/images/first-place.png.mjs +4 -0
  165. package/dist/images/leaderboard.png.js +1 -0
  166. package/dist/images/leaderboard.png.mjs +4 -0
  167. package/dist/images/placeholder-avatar.png.js +1 -0
  168. package/dist/images/placeholder-avatar.png.mjs +4 -0
  169. package/dist/images/responsible-gaming.png.js +1 -1
  170. package/dist/images/responsible-gaming.png.mjs +2 -2
  171. package/dist/portal-components.css +1 -1
  172. package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +2 -0
  173. package/dist/theme.css +130 -4
  174. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  175. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +6 -6
  176. package/dist/ui/Badge/Badge.d.ts +274 -27
  177. package/dist/ui/Badge/Badge.js +1 -1
  178. package/dist/ui/Badge/Badge.mjs +14 -10
  179. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  180. package/dist/ui/Badge/badge.anatomy.js +1 -1
  181. package/dist/ui/Badge/badge.anatomy.mjs +1 -0
  182. package/dist/ui/Badge/badge.recipe.d.ts +57 -9
  183. package/dist/ui/Badge/badge.recipe.js +1 -1
  184. package/dist/ui/Badge/badge.recipe.mjs +57 -21
  185. package/dist/ui/Button/button.recipe.d.ts +2 -2
  186. package/dist/ui/Button/button.recipe.js +1 -1
  187. package/dist/ui/Button/button.recipe.mjs +17 -7
  188. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  189. package/dist/ui/Checkbox/checkbox.recipe.mjs +6 -6
  190. package/dist/ui/Collapsible/Collapsible.d.ts +114 -0
  191. package/dist/ui/Collapsible/Collapsible.js +1 -0
  192. package/dist/ui/Collapsible/Collapsible.mjs +13 -0
  193. package/dist/ui/Collapsible/collapsible.recipe.d.ts +28 -0
  194. package/dist/ui/Collapsible/collapsible.recipe.js +1 -0
  195. package/dist/ui/Collapsible/collapsible.recipe.mjs +18 -0
  196. package/dist/ui/Collapsible/index.d.ts +1 -0
  197. package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
  198. package/dist/ui/DatePicker/datePicker.recipe.mjs +37 -6
  199. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  200. package/dist/ui/Dialog/dialog.recipe.mjs +3 -3
  201. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  202. package/dist/ui/Drawer/drawer.recipe.mjs +6 -6
  203. package/dist/ui/Field/field.recipe.js +1 -1
  204. package/dist/ui/Field/field.recipe.mjs +10 -12
  205. package/dist/ui/IconButton/iconButton.recipe.d.ts +2 -2
  206. package/dist/ui/IconButton/iconButton.recipe.js +1 -1
  207. package/dist/ui/IconButton/iconButton.recipe.mjs +6 -6
  208. package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
  209. package/dist/ui/NumberInput/numberInput.recipe.mjs +8 -8
  210. package/dist/ui/PasswordInput/PasswordInput.d.ts +242 -1
  211. package/dist/ui/PasswordInput/PasswordInput.js +1 -0
  212. package/dist/ui/PasswordInput/PasswordInput.mjs +18 -0
  213. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +6 -18
  214. package/dist/ui/PasswordInput/passwordInput.recipe.js +1 -0
  215. package/dist/ui/PasswordInput/passwordInput.recipe.mjs +48 -0
  216. package/dist/ui/PinInput/pinInput.recipe.js +1 -1
  217. package/dist/ui/PinInput/pinInput.recipe.mjs +3 -3
  218. package/dist/ui/Popover/popover.recipe.js +1 -1
  219. package/dist/ui/Popover/popover.recipe.mjs +1 -1
  220. package/dist/ui/Progress/Progress.d.ts +335 -1
  221. package/dist/ui/Progress/Progress.js +1 -1
  222. package/dist/ui/Progress/Progress.mjs +15 -2
  223. package/dist/ui/Progress/progress.recipe.d.ts +37 -1
  224. package/dist/ui/Progress/progress.recipe.js +1 -0
  225. package/dist/ui/Progress/progress.recipe.mjs +41 -0
  226. package/dist/ui/Prose.d.ts +2 -0
  227. package/dist/ui/Prose.js +1 -0
  228. package/dist/ui/Prose.mjs +47 -0
  229. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
  230. package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -3
  231. package/dist/ui/Select/select.recipe.js +1 -1
  232. package/dist/ui/Select/select.recipe.mjs +6 -6
  233. package/dist/ui/Table/table.recipe.js +1 -1
  234. package/dist/ui/Table/table.recipe.mjs +4 -4
  235. package/dist/ui/Tabs/tabs.recipe.js +1 -1
  236. package/dist/ui/Tabs/tabs.recipe.mjs +3 -3
  237. package/dist/ui/index.d.ts +3 -0
  238. package/dist/ui.js +1 -1
  239. package/dist/ui.mjs +36 -30
  240. package/dist/utils/queryKeys.d.ts +4 -1
  241. package/dist/utils/queryKeys.js +1 -1
  242. package/dist/utils/queryKeys.mjs +34 -26
  243. package/dist/utils.js +1 -1
  244. package/dist/utils.mjs +35 -32
  245. package/package.json +11 -5
  246. package/dist/components/Promos/PromosContent.d.ts +0 -2
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { jsxs as t, Fragment as g, jsx as e } from "react/jsx-runtime";
2
+ import { jsxs as t, Fragment as f, jsx as e } from "react/jsx-runtime";
3
3
  import { useDialogContext as k } from "@ark-ui/react";
4
- import { zodResolver as x } from "@hookform/resolvers/zod";
4
+ import { zodResolver as g } from "@hookform/resolvers/zod";
5
5
  import { useState as R } from "react";
6
- import { useForm as N, Controller as v } from "react-hook-form";
6
+ import { useForm as N, Controller as y } from "react-hook-form";
7
7
  import { z as n } from "zod";
8
- import { useShallow as A } from "zustand/shallow";
8
+ import { useShallow as M } from "zustand/shallow";
9
9
  import "@opexa/portal-sdk-core";
10
10
  import "@tanstack/react-query";
11
11
  import "tiny-invariant";
@@ -15,187 +15,193 @@ import "../../utils/parseDecimal.mjs";
15
15
  import "../../utils/getLocaleInfo.mjs";
16
16
  import "../../utils/getQueryClient.mjs";
17
17
  import "../../utils/isMobile.mjs";
18
- import { useCooldown as M } from "../../client/hooks/useCooldown.mjs";
18
+ import { useCooldown as V } from "../../client/hooks/useCooldown.mjs";
19
19
  import "@opexa/portal-sdk-core/object-id";
20
- import { useGlobalStore as P } from "../../client/hooks/useGlobalStore.mjs";
20
+ import { useGlobalStore as L } from "../../client/hooks/useGlobalStore.mjs";
21
21
  import "../../client/hooks/useInfiniteQueryHelper.mjs";
22
- import { useLocaleInfo as V } from "../../client/hooks/useLocaleInfo.mjs";
23
- import { useMobileNumberParser as F } from "../../client/hooks/useMobileNumberParser.mjs";
22
+ import { useLocaleInfo as $ } from "../../client/hooks/useLocaleInfo.mjs";
23
+ import { useMobileNumberParser as A } from "../../client/hooks/useMobileNumberParser.mjs";
24
24
  import "usehooks-ts";
25
- import { useSendVerificationCodeMutation as L } from "../../client/hooks/useSendVerificationCodeMutation.mjs";
26
- import { useSignInMutation as $ } from "../../client/hooks/useSignInMutation.mjs";
27
- import { toaster as y } from "../../client/utils/toaster.mjs";
28
- import { ArrowLeftIcon as O } from "../../icons/ArrowLeftIcon.mjs";
29
- import { CheckIcon as j } from "../../icons/CheckIcon.mjs";
30
- import { FacebookIcon as z } from "../../icons/FacebookIcon.mjs";
25
+ import { useSendVerificationCodeMutation as F } from "../../client/hooks/useSendVerificationCodeMutation.mjs";
26
+ import { useSignInMutation as j } from "../../client/hooks/useSignInMutation.mjs";
27
+ import { toaster as v } from "../../client/utils/toaster.mjs";
28
+ import { ArrowLeftIcon as _ } from "../../icons/ArrowLeftIcon.mjs";
29
+ import { CheckIcon as z } from "../../icons/CheckIcon.mjs";
30
+ import { FacebookIcon as O } from "../../icons/FacebookIcon.mjs";
31
31
  import { GoogleIcon as D } from "../../icons/GoogleIcon.mjs";
32
32
  import "../../ui/AlertDialog/AlertDialog.mjs";
33
33
  import "../../ui/Avatar/Avatar.mjs";
34
34
  import "../../ui/Badge/Badge.mjs";
35
35
  import { Button as d } from "../../ui/Button/Button.mjs";
36
- import { Root as E, Control as G, Indicator as B, Label as U, HiddenInput as H } from "../../ui/Checkbox/Checkbox.mjs";
36
+ import { Root as B, Control as E, Indicator as P, Label as G, HiddenInput as H } from "../../ui/Checkbox/Checkbox.mjs";
37
37
  import "../../ui/Clipboard/Clipboard.mjs";
38
+ import "../../ui/Collapsible/Collapsible.mjs";
38
39
  import "../../ui/DatePicker/DatePicker.mjs";
39
40
  import "../../ui/Dialog/Dialog.mjs";
40
41
  import "../../ui/Drawer/Drawer.mjs";
41
- import { Root as T, Label as W, Input as Z, ErrorText as Y } from "../../ui/Field/Field.mjs";
42
+ import { Root as U, Label as T, Input as W, ErrorText as Z } from "../../ui/Field/Field.mjs";
42
43
  import "../../ui/IconButton/iconButton.recipe.mjs";
43
44
  import "../../ui/NumberInput/NumberInput.mjs";
44
- import { Root as _, Control as q, Input as s, HiddenInput as J } from "../../ui/PinInput/PinInput.mjs";
45
+ import "../../ui/PasswordInput/PasswordInput.mjs";
46
+ import { Root as Y, Control as q, Input as s, HiddenInput as J } from "../../ui/PinInput/PinInput.mjs";
45
47
  import "../../ui/Popover/Popover.mjs";
46
48
  import "tailwind-merge";
49
+ import "../../ui/Progress/Progress.mjs";
47
50
  import "../../ui/SegmentGroup/SegmentGroup.mjs";
48
51
  import "../../ui/Select/Select.mjs";
49
52
  import "../../ui/Table/Table.mjs";
50
53
  import "../../ui/Tabs/Tabs.mjs";
51
- function Ze() {
52
- var b;
53
- const [f, u] = R(1), c = k(), C = P(A((o) => o.signUp)), S = $(), h = L(), p = V(), l = F(), I = n.object({
54
- mobileNumber: n.string().superRefine((o, i) => {
55
- l.validate(o) || i.addIssue({
54
+ function qe() {
55
+ var x;
56
+ const [b, p] = R(1), c = k(), C = L(M((o) => o.signUp)), S = j(), h = F(), u = $(), m = A(), I = n.object({
57
+ mobileNumber: n.string().superRefine((o, r) => {
58
+ m.validate(o) || r.addIssue({
56
59
  code: n.ZodIssueCode.custom,
57
60
  message: "Invalid mobile number"
58
61
  });
59
62
  }),
60
- termsAccepted: n.boolean().superRefine((o, i) => {
61
- o || i.addIssue({
63
+ termsAccepted: n.boolean().superRefine((o, r) => {
64
+ o || r.addIssue({
62
65
  code: n.ZodIssueCode.custom,
63
66
  message: "You must accept the terms and conditions"
64
67
  });
65
68
  })
66
69
  }), w = n.object({
67
70
  verificationCode: n.array(n.string().min(1).max(1).trim()).min(6).max(6)
68
- }), r = N({
69
- resolver: x(I),
71
+ }), i = N({
72
+ resolver: g(I),
70
73
  defaultValues: {
71
74
  mobileNumber: "",
72
75
  termsAccepted: !1
73
76
  }
74
- }), m = N({
75
- resolver: x(w),
77
+ }), l = N({
78
+ resolver: g(w),
76
79
  defaultValues: {
77
80
  verificationCode: Array.from({ length: 6 }).fill("")
78
81
  }
79
- }), a = M({
82
+ }), a = V({
80
83
  max: 60,
81
84
  duration: 1e3 * 60
82
85
  });
83
- return /* @__PURE__ */ t(g, { children: [
84
- f === 1 && /* @__PURE__ */ t(g, { children: [
85
- /* @__PURE__ */ t("div", { className: "w-full grow", children: [
86
- /* @__PURE__ */ e("h2", { className: "mt-xl text-center text-lg font-semibold", children: "Log in to your account" }),
87
- /* @__PURE__ */ e("p", { className: "text-gray-600 mt-xs text-center text-sm", children: "Welcome back! Please enter your details." }),
86
+ return /* @__PURE__ */ t(f, { children: [
87
+ b === 1 && /* @__PURE__ */ t(f, { children: [
88
+ /* @__PURE__ */ e("h2", { className: "mt-xl text-center text-lg font-semibold", children: "Log in to your account" }),
89
+ /* @__PURE__ */ e("p", { className: "text-text-secondary-700 mt-xs text-center text-sm", children: "Welcome back! Please enter your details." }),
90
+ /* @__PURE__ */ t(
91
+ "form",
92
+ {
93
+ className: "mt-3xl",
94
+ onSubmit: i.handleSubmit(async (o) => {
95
+ try {
96
+ await h.mutateAsync({
97
+ channel: "SMS",
98
+ recipient: m.format(o.mobileNumber),
99
+ strict: !0
100
+ }), p(2), a.start();
101
+ } catch (r) {
102
+ v.error({
103
+ description: r instanceof Error ? r.message : "Failed to send verification code"
104
+ });
105
+ }
106
+ }),
107
+ children: [
108
+ /* @__PURE__ */ t(U, { invalid: !!i.formState.errors.mobileNumber, children: [
109
+ /* @__PURE__ */ e(T, { children: "Mobile Number" }),
110
+ /* @__PURE__ */ t("div", { className: "relative", children: [
111
+ /* @__PURE__ */ e(u.country.flag, { className: "absolute left-3.5 top-1/2 size-5 shrink-0 -translate-y-1/2" }),
112
+ /* @__PURE__ */ e(
113
+ W,
114
+ {
115
+ className: "pl-11",
116
+ placeholder: `${u.mobileNumber.areaCode}${u.mobileNumber.example}`,
117
+ ...i.register("mobileNumber")
118
+ }
119
+ )
120
+ ] }),
121
+ /* @__PURE__ */ e(Z, { children: (x = i.formState.errors.mobileNumber) == null ? void 0 : x.message })
122
+ ] }),
123
+ /* @__PURE__ */ e(
124
+ d,
125
+ {
126
+ type: "submit",
127
+ className: "mt-3xl",
128
+ disabled: i.formState.isSubmitting,
129
+ children: "Log In"
130
+ }
131
+ ),
132
+ /* @__PURE__ */ e(
133
+ y,
134
+ {
135
+ control: i.control,
136
+ name: "termsAccepted",
137
+ render: (o) => /* @__PURE__ */ t(
138
+ B,
139
+ {
140
+ className: "mt-xl",
141
+ invalid: o.fieldState.invalid,
142
+ checked: o.field.value,
143
+ onCheckedChange: (r) => {
144
+ o.field.onChange(r.checked);
145
+ },
146
+ children: [
147
+ /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(P, { asChild: !0, children: /* @__PURE__ */ e(z, {}) }) }),
148
+ /* @__PURE__ */ t(G, { children: [
149
+ "I am at least 21 years of age and I accept the",
150
+ " ",
151
+ /* @__PURE__ */ e("span", { className: "text-brand-400 whitespace-nowrap underline underline-offset-2", children: "Terms and Conditions." })
152
+ ] }),
153
+ /* @__PURE__ */ e(H, {})
154
+ ]
155
+ }
156
+ )
157
+ }
158
+ )
159
+ ]
160
+ }
161
+ ),
162
+ /* @__PURE__ */ t("div", { className: "relative mt-6 text-center", children: [
163
+ /* @__PURE__ */ e("hr", { className: "-translte-y-1/2 text-text-tertiary-600/50 absolute top-1/2 w-full" }),
164
+ /* @__PURE__ */ e("span", { className: "text-text-tertiary-600 bg-bg-primary-alt relative px-md text-center text-sm font-semibold", children: "Log in directly with" })
165
+ ] }),
166
+ /* @__PURE__ */ t("div", { className: "mt-6", children: [
88
167
  /* @__PURE__ */ t(
89
- "form",
168
+ d,
90
169
  {
91
- className: "mt-5",
92
- onSubmit: r.handleSubmit(async (o) => {
93
- try {
94
- await h.mutateAsync({
95
- channel: "SMS",
96
- recipient: l.format(o.mobileNumber),
97
- strict: !0
98
- }), u(2), a.start();
99
- } catch (i) {
100
- y.error({
101
- description: i instanceof Error ? i.message : "Failed to send verification code"
102
- });
103
- }
104
- }),
170
+ variant: "outline",
171
+ colorScheme: "gray",
172
+ onClick: () => {
173
+ c.setOpen(!1);
174
+ },
175
+ className: "border-border-primary bg-bg-primary text-text-secondary-700",
105
176
  children: [
106
- /* @__PURE__ */ t(T, { invalid: !!r.formState.errors.mobileNumber, children: [
107
- /* @__PURE__ */ e(W, { children: "Mobile Number" }),
108
- /* @__PURE__ */ t("div", { className: "relative", children: [
109
- /* @__PURE__ */ e(p.country.flag, { className: "absolute left-3.5 top-1/2 size-5 shrink-0 -translate-y-1/2" }),
110
- /* @__PURE__ */ e(
111
- Z,
112
- {
113
- className: "pl-11",
114
- placeholder: `${p.mobileNumber.areaCode}${p.mobileNumber.example}`,
115
- ...r.register("mobileNumber")
116
- }
117
- )
118
- ] }),
119
- /* @__PURE__ */ e(Y, { children: (b = r.formState.errors.mobileNumber) == null ? void 0 : b.message })
120
- ] }),
121
- /* @__PURE__ */ e(
122
- d,
123
- {
124
- type: "submit",
125
- className: "mt-xl",
126
- disabled: r.formState.isSubmitting,
127
- children: "Log In"
128
- }
129
- ),
130
- /* @__PURE__ */ e(
131
- v,
132
- {
133
- control: r.control,
134
- name: "termsAccepted",
135
- render: (o) => /* @__PURE__ */ t(
136
- E,
137
- {
138
- className: "mt-xl",
139
- invalid: o.fieldState.invalid,
140
- checked: o.field.value,
141
- onCheckedChange: (i) => {
142
- o.field.onChange(i.checked);
143
- },
144
- children: [
145
- /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(B, { asChild: !0, children: /* @__PURE__ */ e(j, {}) }) }),
146
- /* @__PURE__ */ e(U, { children: "I confirm that I am at least 21 years old, not listed in the PAGCOR NDRP, not a GEL license holder, government employee, or member of the Armed Forces of the Philippines. I am not playing in a public space and agree to the Terms of Use and Privacy Policy. Ineligible accounts will have their funds forfeited to the government." }),
147
- /* @__PURE__ */ e(H, {})
148
- ]
149
- }
150
- )
151
- }
152
- )
177
+ /* @__PURE__ */ e(D, { className: "size-6" }),
178
+ "Continue with Google"
153
179
  ]
154
180
  }
155
181
  ),
156
- /* @__PURE__ */ t("div", { className: "relative mt-5 text-center", children: [
157
- /* @__PURE__ */ e("hr", { className: "-translte-y-1/2 text-gray-200 absolute top-1/2 w-full" }),
158
- /* @__PURE__ */ e("span", { className: "text-gray-500 relative bg-white px-md text-center text-sm font-semibold", children: "OR" })
159
- ] }),
160
- /* @__PURE__ */ t("div", { className: "mt-5", children: [
161
- /* @__PURE__ */ t(
162
- d,
163
- {
164
- variant: "outline",
165
- colorScheme: "gray",
166
- onClick: () => {
167
- c.setOpen(!1);
168
- },
169
- children: [
170
- /* @__PURE__ */ e(D, { className: "size-6" }),
171
- "Continue with Google"
172
- ]
173
- }
174
- ),
175
- /* @__PURE__ */ t(
176
- d,
177
- {
178
- variant: "outline",
179
- colorScheme: "gray",
180
- className: "mt-lg",
181
- onClick: () => {
182
- c.setOpen(!1);
183
- },
184
- children: [
185
- /* @__PURE__ */ e(z, { className: "size-6" }),
186
- "Continue with Facebook"
187
- ]
188
- }
189
- )
190
- ] })
182
+ /* @__PURE__ */ t(
183
+ d,
184
+ {
185
+ variant: "outline",
186
+ colorScheme: "gray",
187
+ onClick: () => {
188
+ c.setOpen(!1);
189
+ },
190
+ className: "border-border-primary bg-bg-primary text-text-secondary-700 mt-lg",
191
+ children: [
192
+ /* @__PURE__ */ e(O, { className: "size-6" }),
193
+ "Continue with Facebook"
194
+ ]
195
+ }
196
+ )
191
197
  ] }),
192
- /* @__PURE__ */ t("div", { className: "flex w-full items-center justify-center gap-xs text-sm", children: [
193
- /* @__PURE__ */ e("span", { className: "text-gray-500", children: "Don't have an account?" }),
198
+ /* @__PURE__ */ t("div", { className: "mt-6 flex w-full items-center justify-center gap-xs text-sm", children: [
199
+ /* @__PURE__ */ e("span", { className: "text-text-tertiary-600", children: "Don't have an account?" }),
194
200
  /* @__PURE__ */ e(
195
201
  "button",
196
202
  {
197
203
  type: "submit",
198
- className: "text-accent-700 font-semibold",
204
+ className: "text-button-tertiary-fg font-semibold",
199
205
  onClick: () => {
200
206
  c.setOpen(!1), C.setOpen(!0);
201
207
  },
@@ -204,12 +210,12 @@ function Ze() {
204
210
  )
205
211
  ] })
206
212
  ] }),
207
- f === 2 && /* @__PURE__ */ t("div", { className: "w-full grow", children: [
213
+ b === 2 && /* @__PURE__ */ t(f, { children: [
208
214
  /* @__PURE__ */ e("h2", { className: "mt-xl text-center text-lg font-semibold", children: "Check your Phone" }),
209
- /* @__PURE__ */ t("p", { className: "text-gray-600 mt-xs text-center text-sm", children: [
215
+ /* @__PURE__ */ t("p", { className: "text-text-secondary-700 mt-xs text-center text-sm", children: [
210
216
  "We’ve sent a verification code to your mobile number",
211
217
  " ",
212
- /* @__PURE__ */ e("span", { className: "font-semibold", children: l.format(r.getValues("mobileNumber")) }),
218
+ /* @__PURE__ */ e("span", { className: "font-semibold", children: m.format(i.getValues("mobileNumber")) }),
213
219
  " ",
214
220
  "via text"
215
221
  ] }),
@@ -217,40 +223,41 @@ function Ze() {
217
223
  "form",
218
224
  {
219
225
  className: "mt-5",
220
- onSubmit: m.handleSubmit(async ({ verificationCode: o }) => {
221
- const { mobileNumber: i } = r.getValues();
226
+ onSubmit: l.handleSubmit(async ({ verificationCode: o }) => {
227
+ const { mobileNumber: r } = i.getValues();
222
228
  try {
223
229
  await S.mutateAsync({
224
230
  type: "MOBILE_NUMBER",
225
- mobileNumber: l.format(i),
231
+ mobileNumber: m.format(r),
226
232
  verificationCode: o.join("")
227
- }), c.setOpen(!1), r.reset(), m.reset(), u(1);
233
+ }), c.setOpen(!1), i.reset(), l.reset(), p(1);
228
234
  } catch {
229
- y.error({
235
+ v.error({
230
236
  description: "Invalid Verification Code"
231
237
  });
232
238
  }
233
239
  }),
234
240
  children: [
235
241
  /* @__PURE__ */ e(
236
- v,
242
+ y,
237
243
  {
238
244
  name: "verificationCode",
239
- control: m.control,
245
+ control: l.control,
240
246
  render: (o) => /* @__PURE__ */ t(
241
- _,
247
+ Y,
242
248
  {
243
249
  placeholder: "0",
244
250
  invalid: o.fieldState.invalid,
245
251
  value: o.field.value,
246
- onValueChange: (i) => {
247
- o.field.onChange(i.value);
252
+ onValueChange: (r) => {
253
+ o.field.onChange(r.value);
248
254
  },
249
255
  children: [
250
- /* @__PURE__ */ t(q, { children: [
256
+ /* @__PURE__ */ t(q, { className: "grid-cols-[1fr_1fr_1fr_auto_1fr_1fr_1fr] items-center gap-md", children: [
251
257
  /* @__PURE__ */ e(s, { index: 0 }),
252
258
  /* @__PURE__ */ e(s, { index: 1 }),
253
259
  /* @__PURE__ */ e(s, { index: 2 }),
260
+ /* @__PURE__ */ e("span", { className: "text-text-placeholder-subtle text-2xl font-medium", children: "–" }),
254
261
  /* @__PURE__ */ e(s, { index: 3 }),
255
262
  /* @__PURE__ */ e(s, { index: 4 }),
256
263
  /* @__PURE__ */ e(s, { index: 5 })
@@ -265,24 +272,24 @@ function Ze() {
265
272
  d,
266
273
  {
267
274
  type: "submit",
268
- className: "mt-5",
269
- disabled: m.formState.isSubmitting,
270
- children: "Verify and Play"
275
+ className: "mt-4xl",
276
+ disabled: l.formState.isSubmitting,
277
+ children: "Verify"
271
278
  }
272
279
  ),
273
- /* @__PURE__ */ t("div", { className: "mt-5 flex w-full items-center justify-center gap-xs text-sm", children: [
274
- /* @__PURE__ */ e("span", { className: "text-gray-500", children: "Didn't recieve the code?" }),
280
+ /* @__PURE__ */ t("div", { className: "mt-3 flex w-full items-center justify-center gap-xs text-sm", children: [
281
+ /* @__PURE__ */ e("span", { className: "text-text-secondary-700", children: "Didn't recieve the code?" }),
275
282
  /* @__PURE__ */ e(
276
283
  "button",
277
284
  {
278
285
  type: "button",
279
- className: "text-accent-700 font-semibold",
286
+ className: "text-button-secondary-fg font-semibold",
280
287
  disabled: a.cooling,
281
288
  onClick: async () => {
282
289
  await h.mutateAsync({
283
290
  channel: "SMS",
284
- recipient: l.format(
285
- r.getValues("mobileNumber")
291
+ recipient: m.format(
292
+ i.getValues("mobileNumber")
286
293
  )
287
294
  }), a.start();
288
295
  },
@@ -294,12 +301,12 @@ function Ze() {
294
301
  "button",
295
302
  {
296
303
  type: "button",
297
- className: "text-gray-600 mx-auto mt-5 flex w-fit items-center gap-1 text-sm font-semibold",
304
+ className: "text-text-tertiary-600 mx-auto mt-3xl flex w-fit items-center gap-1 text-sm font-semibold",
298
305
  onClick: () => {
299
- u(1), m.reset(), a.stop();
306
+ p(1), l.reset(), a.stop();
300
307
  },
301
308
  children: [
302
- /* @__PURE__ */ e(O, { className: "size-5" }),
309
+ /* @__PURE__ */ e(_, { className: "size-5" }),
303
310
  "Back"
304
311
  ]
305
312
  }
@@ -311,5 +318,5 @@ function Ze() {
311
318
  ] });
312
319
  }
313
320
  export {
314
- Ze as SignInForm
321
+ qe as SignInForm
315
322
  };
@@ -2,7 +2,6 @@ import { ImageProps } from 'next/image';
2
2
  import { ReactNode } from 'react';
3
3
  export interface SignUpProps {
4
4
  logo: ImageProps['src'];
5
- banner: ImageProps['src'];
6
5
  children?: ReactNode;
7
6
  }
8
7
  export declare function SignUp(props: SignUpProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("@ark-ui/react"),s=require("next/image"),n=require("react"),o=require("zustand/shallow");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("lodash-es");require("@opexa/portal-sdk-core/object-id");const c=require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");require("usehooks-ts");const a=require("../../icons/XIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const q=require("../../ui/Button/Button.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/DatePicker/DatePicker.js");const r=require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const g=require("./SignUpForm.js");function h(i){const t=c.useGlobalStore(o.useShallow(u=>u.signUp));return e.jsxs(r.Root,{open:t.open,onOpenChange:u=>{t.setOpen(u.open)},lazyMount:!0,unmountOnExit:!0,closeOnEscape:!1,closeOnInteractOutside:!1,children:[e.jsx(r.Trigger,{asChild:!0,children:i.children??e.jsx(q.Button,{children:"Sign up"})}),e.jsxs(l.Portal,{children:[e.jsx(r.Backdrop,{}),e.jsx(r.Positioner,{children:e.jsxs(r.Content,{className:"mx-auto flex h-full w-full items-start lg:h-auto lg:w-fit",children:[e.jsx(s,{src:i.banner,alt:"h-auto w-[400px]",width:400,height:800,className:"hidden rounded-l-xl lg:block"}),e.jsxs("div",{className:"relative flex w-full flex-col items-start self-stretch bg-white p-3xl lg:w-[400px] lg:rounded-r-xl",children:[e.jsx(r.CloseTrigger,{children:e.jsx(a.XIcon,{})}),e.jsx(s,{src:i.logo,alt:"",width:200,height:100,className:"mx-auto h-auto w-[120px]",draggable:!1}),e.jsx(n.Suspense,{children:e.jsx(g.SignUpForm,{})})]})]})})]})]})}exports.SignUp=h;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("@ark-ui/react"),s=require("next/image"),o=require("react"),l=require("zustand/shallow");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("lodash-es");require("@opexa/portal-sdk-core/object-id");const q=require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");require("usehooks-ts");const c=require("../../icons/XIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const a=require("../../ui/Button/Button.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/DatePicker/DatePicker.js");const r=require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");const g=require("./SignUpForm.js");function x(u){const n=q.useGlobalStore(l.useShallow(i=>i.signUp));return e.jsxs(r.Root,{open:n.open,onOpenChange:i=>{n.setOpen(i.open)},lazyMount:!0,unmountOnExit:!0,closeOnEscape:!1,closeOnInteractOutside:!1,children:[e.jsx(r.Trigger,{asChild:!0,children:u.children??e.jsx(a.Button,{children:"Sign up"})}),e.jsxs(t.Portal,{children:[e.jsx(r.Backdrop,{}),e.jsx(r.Positioner,{children:e.jsxs(r.Content,{className:"bg-bg-primary-alt mx-auto h-full w-full items-start p-3xl pb-4xl lg:h-auto lg:w-[400px] lg:rounded-xl",children:[e.jsx(r.CloseTrigger,{children:e.jsx(c.XIcon,{})}),e.jsx(s,{src:u.logo,alt:"",width:200,height:100,className:"mx-auto h-auto w-[120px]",draggable:!1}),e.jsx(o.Suspense,{children:e.jsx(g.SignUpForm,{})})]})})]})]})}exports.SignUp=x;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
3
- import { Portal as l } from "@ark-ui/react";
4
- import m from "next/image";
5
- import { Suspense as p } from "react";
6
- import { useShallow as n } from "zustand/shallow";
2
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
3
+ import { Portal as p } from "@ark-ui/react";
4
+ import e from "next/image";
5
+ import { Suspense as n } from "react";
6
+ import { useShallow as l } from "zustand/shallow";
7
7
  import "@opexa/portal-sdk-core";
8
8
  import "@tanstack/react-query";
9
9
  import "tiny-invariant";
@@ -22,66 +22,57 @@ import { XIcon as a } from "../../icons/XIcon.mjs";
22
22
  import "../../ui/AlertDialog/AlertDialog.mjs";
23
23
  import "../../ui/Avatar/Avatar.mjs";
24
24
  import "../../ui/Badge/Badge.mjs";
25
- import { Button as c } from "../../ui/Button/Button.mjs";
25
+ import { Button as u } from "../../ui/Button/Button.mjs";
26
26
  import "../../ui/Checkbox/Checkbox.mjs";
27
27
  import "../../ui/Clipboard/Clipboard.mjs";
28
+ import "../../ui/Collapsible/Collapsible.mjs";
28
29
  import "../../ui/DatePicker/DatePicker.mjs";
29
- import { Root as h, Trigger as u, Backdrop as d, Positioner as f, Content as g, CloseTrigger as x } from "../../ui/Dialog/Dialog.mjs";
30
+ import { Root as c, Trigger as g, Backdrop as h, Positioner as d, Content as f, CloseTrigger as x } from "../../ui/Dialog/Dialog.mjs";
30
31
  import "../../ui/Drawer/Drawer.mjs";
31
32
  import "../../ui/Field/Field.mjs";
32
33
  import "../../ui/IconButton/iconButton.recipe.mjs";
33
34
  import "../../ui/NumberInput/NumberInput.mjs";
35
+ import "../../ui/PasswordInput/PasswordInput.mjs";
34
36
  import "../../ui/PinInput/PinInput.mjs";
35
37
  import "../../ui/Popover/Popover.mjs";
36
38
  import "tailwind-merge";
39
+ import "../../ui/Progress/Progress.mjs";
37
40
  import "../../ui/SegmentGroup/SegmentGroup.mjs";
38
41
  import "../../ui/Select/Select.mjs";
39
42
  import "../../ui/Table/Table.mjs";
40
43
  import "../../ui/Tabs/Tabs.mjs";
41
- import { SignUpForm as w } from "./SignUpForm.mjs";
42
- function mr(o) {
43
- const e = s(n((i) => i.signUp));
44
+ import { SignUpForm as S } from "./SignUpForm.mjs";
45
+ function lo(i) {
46
+ const m = s(l((r) => r.signUp));
44
47
  return /* @__PURE__ */ t(
45
- h,
48
+ c,
46
49
  {
47
- open: e.open,
48
- onOpenChange: (i) => {
49
- e.setOpen(i.open);
50
+ open: m.open,
51
+ onOpenChange: (r) => {
52
+ m.setOpen(r.open);
50
53
  },
51
54
  lazyMount: !0,
52
55
  unmountOnExit: !0,
53
56
  closeOnEscape: !1,
54
57
  closeOnInteractOutside: !1,
55
58
  children: [
56
- /* @__PURE__ */ r(u, { asChild: !0, children: o.children ?? /* @__PURE__ */ r(c, { children: "Sign up" }) }),
57
- /* @__PURE__ */ t(l, { children: [
58
- /* @__PURE__ */ r(d, {}),
59
- /* @__PURE__ */ r(f, { children: /* @__PURE__ */ t(g, { className: "mx-auto flex h-full w-full items-start lg:h-auto lg:w-fit", children: [
60
- /* @__PURE__ */ r(
61
- m,
59
+ /* @__PURE__ */ o(g, { asChild: !0, children: i.children ?? /* @__PURE__ */ o(u, { children: "Sign up" }) }),
60
+ /* @__PURE__ */ t(p, { children: [
61
+ /* @__PURE__ */ o(h, {}),
62
+ /* @__PURE__ */ o(d, { children: /* @__PURE__ */ t(f, { className: "bg-bg-primary-alt mx-auto h-full w-full items-start p-3xl pb-4xl lg:h-auto lg:w-[400px] lg:rounded-xl", children: [
63
+ /* @__PURE__ */ o(x, { children: /* @__PURE__ */ o(a, {}) }),
64
+ /* @__PURE__ */ o(
65
+ e,
62
66
  {
63
- src: o.banner,
64
- alt: "h-auto w-[400px]",
65
- width: 400,
66
- height: 800,
67
- className: "hidden rounded-l-xl lg:block"
67
+ src: i.logo,
68
+ alt: "",
69
+ width: 200,
70
+ height: 100,
71
+ className: "mx-auto h-auto w-[120px]",
72
+ draggable: !1
68
73
  }
69
74
  ),
70
- /* @__PURE__ */ t("div", { className: "relative flex w-full flex-col items-start self-stretch bg-white p-3xl lg:w-[400px] lg:rounded-r-xl", children: [
71
- /* @__PURE__ */ r(x, { children: /* @__PURE__ */ r(a, {}) }),
72
- /* @__PURE__ */ r(
73
- m,
74
- {
75
- src: o.logo,
76
- alt: "",
77
- width: 200,
78
- height: 100,
79
- className: "mx-auto h-auto w-[120px]",
80
- draggable: !1
81
- }
82
- ),
83
- /* @__PURE__ */ r(p, { children: /* @__PURE__ */ r(w, {}) })
84
- ] })
75
+ /* @__PURE__ */ o(n, { children: /* @__PURE__ */ o(S, {}) })
85
76
  ] }) })
86
77
  ] })
87
78
  ]
@@ -89,5 +80,5 @@ function mr(o) {
89
80
  );
90
81
  }
91
82
  export {
92
- mr as SignUp
83
+ lo as SignUp
93
84
  };