@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,13 +1,13 @@
1
- import { jsxs as i, jsx as e, Fragment as ue } from "react/jsx-runtime";
2
- import { createListCollection as h, Portal as m, parseDate as he } from "@ark-ui/react";
3
- import { endOfDay as se, startOfDay as Ce } from "date-fns";
4
- import { useState as ge } from "react";
1
+ import { jsxs as i, jsx as e, Fragment as ve } from "react/jsx-runtime";
2
+ import { createListCollection as s, Portal as m, parseDate as pe } from "@ark-ui/react";
3
+ import { endOfDay as Ee, startOfDay as Se } from "date-fns";
4
+ import { useState as we } from "react";
5
5
  import { z as u } from "zod";
6
6
  import "@opexa/portal-sdk-core";
7
7
  import "@tanstack/react-query";
8
8
  import "tiny-invariant";
9
9
  import "../../constants/index.mjs";
10
- import { capitalize as r } from "../../utils/capitalize.mjs";
10
+ import { capitalize as n } from "../../utils/capitalize.mjs";
11
11
  import "../../utils/parseDecimal.mjs";
12
12
  import "../../utils/getLocaleInfo.mjs";
13
13
  import "../../utils/getQueryClient.mjs";
@@ -18,30 +18,33 @@ import "@opexa/portal-sdk-core/object-id";
18
18
  import "../../client/hooks/useGlobalStore.mjs";
19
19
  import "../../client/hooks/useInfiniteQueryHelper.mjs";
20
20
  import "usehooks-ts";
21
- import { CheckIcon as s } from "../../icons/CheckIcon.mjs";
22
- import { ChevronDownIcon as C } from "../../icons/ChevronDownIcon.mjs";
23
- import { ChevronLeftIcon as Te } from "../../icons/ChevronLeftIcon.mjs";
24
- import { ChevronRightIcon as ve } from "../../icons/ChevronRightIcon.mjs";
21
+ import { CheckIcon as h } from "../../icons/CheckIcon.mjs";
22
+ import { ChevronDownIcon as g } from "../../icons/ChevronDownIcon.mjs";
23
+ import { ChevronLeftIcon as De } from "../../icons/ChevronLeftIcon.mjs";
24
+ import { ChevronRightIcon as Re } from "../../icons/ChevronRightIcon.mjs";
25
25
  import "../../ui/AlertDialog/AlertDialog.mjs";
26
26
  import "../../ui/Avatar/Avatar.mjs";
27
27
  import "../../ui/Badge/Badge.mjs";
28
28
  import "../../ui/Button/button.recipe.mjs";
29
29
  import "../../ui/Checkbox/Checkbox.mjs";
30
30
  import "../../ui/Clipboard/Clipboard.mjs";
31
- import { Root as pe, Context as ee, Control as Ee, Positioner as fe, Content as Se, View as De, ViewControl as Re, PrevTrigger as Ie, ViewTrigger as Pe, RangeText as Ve, NextTrigger as we, Table as Oe, TableHead as be, TableRow as te, TableHeader as ye, TableBody as Ne, TableCell as Ae, TableCellTrigger as xe } from "../../ui/DatePicker/DatePicker.mjs";
31
+ import "../../ui/Collapsible/Collapsible.mjs";
32
+ import { Root as Ne, Context as ne, Control as Ie, Positioner as Ve, Content as Pe, View as ye, ViewControl as Oe, PrevTrigger as be, ViewTrigger as Ae, RangeText as xe, NextTrigger as Fe, Table as Ue, TableHead as Le, TableRow as re, TableHeader as We, TableBody as ze, TableCell as Me, TableCellTrigger as Ge } from "../../ui/DatePicker/DatePicker.mjs";
32
33
  import "../../ui/Dialog/Dialog.mjs";
33
34
  import "../../ui/Drawer/Drawer.mjs";
34
35
  import "../../ui/Field/Field.mjs";
35
36
  import "../../ui/IconButton/iconButton.recipe.mjs";
36
37
  import "../../ui/NumberInput/NumberInput.mjs";
38
+ import "../../ui/PasswordInput/PasswordInput.mjs";
37
39
  import "../../ui/PinInput/PinInput.mjs";
38
40
  import "../../ui/Popover/Popover.mjs";
39
41
  import "tailwind-merge";
40
- import { Root as Fe, Item as y, ItemText as N, ItemControl as A, ItemHiddenInput as x, Indicator as Ue } from "../../ui/SegmentGroup/SegmentGroup.mjs";
41
- import { Root as g, Trigger as T, ValueText as v, Indicator as p, Positioner as E, Content as f, ItemGroup as S, Item as D, ItemText as R, ItemIndicator as I } from "../../ui/Select/Select.mjs";
42
+ import "../../ui/Progress/Progress.mjs";
43
+ import { Root as $e, Item as O, ItemText as b, ItemControl as A, ItemHiddenInput as x, Indicator as ke } from "../../ui/SegmentGroup/SegmentGroup.mjs";
44
+ import { Root as C, Trigger as T, ValueText as f, Indicator as v, Positioner as p, Content as E, ItemGroup as S, Item as w, ItemText as D, ItemIndicator as R } from "../../ui/Select/Select.mjs";
42
45
  import "../../ui/Table/Table.mjs";
43
46
  import "../../ui/Tabs/Tabs.mjs";
44
- const Le = u.enum(["all", "today", "custom"]).catch("all"), le = [
47
+ const He = u.enum(["all", "today", "custom"]).catch("all"), oe = [
45
48
  "ACCEPTED",
46
49
  "APPROVED",
47
50
  "CANCELLED",
@@ -49,7 +52,7 @@ const Le = u.enum(["all", "today", "custom"]).catch("all"), le = [
49
52
  "FAILED",
50
53
  "PENDING",
51
54
  "REJECTED"
52
- ], ie = [
55
+ ], de = [
53
56
  "ACCEPTED",
54
57
  "APPROVED",
55
58
  "CANCELLED",
@@ -57,89 +60,105 @@ const Le = u.enum(["all", "today", "custom"]).catch("all"), le = [
57
60
  "FAILED",
58
61
  "PENDING",
59
62
  "REJECTED"
60
- ], ae = Intl.DateTimeFormat().resolvedOptions().timeZone;
61
- function Vt(l) {
62
- var G, $, k, H, W, j, B, J, _, Z, q, K, Q, X;
63
- const F = h({
63
+ ], me = [
64
+ "DEPOSIT",
65
+ "WITHDRAWAL",
66
+ "BET"
67
+ ], ce = Intl.DateTimeFormat().resolvedOptions().timeZone;
68
+ function Lt(l) {
69
+ var $, k, H, B, _, j, J, Y, Z, q, K, Q, X, ee, te, le, ie;
70
+ const F = s({
64
71
  items: l.gameTypeOptions ?? [],
65
72
  itemToValue: (t) => t,
66
- itemToString: (t) => r(t, {
67
- delimiter: r.delimiters.UNDERSCORE
73
+ itemToString: (t) => n(t, {
74
+ delimiter: n.delimiters.UNDERSCORE
68
75
  })
69
- }), U = h({
76
+ }), U = s({
70
77
  items: l.gameProviderOptions ?? [],
71
78
  itemToValue: (t) => t,
72
- itemToString: (t) => r(t, {
73
- delimiter: r.delimiters.UNDERSCORE
79
+ itemToString: (t) => n(t, {
80
+ delimiter: n.delimiters.UNDERSCORE
74
81
  })
75
- }), L = h({
76
- items: le,
82
+ }), L = s({
83
+ items: oe,
77
84
  itemToValue: (t) => t,
78
- itemToString: (t) => r(t, {
79
- delimiter: r.delimiters.UNDERSCORE
85
+ itemToString: (t) => n(t, {
86
+ delimiter: n.delimiters.UNDERSCORE
80
87
  })
81
- }), z = h({
82
- items: ie,
88
+ }), W = s({
89
+ items: de,
83
90
  itemToValue: (t) => t,
84
- itemToString: (t) => r(t, {
85
- delimiter: r.delimiters.UNDERSCORE
91
+ itemToString: (t) => n(t, {
92
+ delimiter: n.delimiters.UNDERSCORE
86
93
  })
87
- }), [re, M] = ge("all"), d = (t) => {
88
- var n;
94
+ }), z = s({
95
+ items: me,
96
+ itemToValue: (t) => t,
97
+ itemToString: (t) => n(t, {
98
+ delimiter: n.delimiters.UNDERSCORE
99
+ })
100
+ }), [ue, M] = we("all"), d = (t) => {
101
+ var r;
89
102
  const a = {
90
103
  timestamp: o,
91
- gameType: V,
92
- gameProvider: w,
93
- depositStatus: O,
94
- withdrawalStatus: b
104
+ gameType: I,
105
+ gameProvider: V,
106
+ depositStatus: P,
107
+ withdrawalStatus: y
95
108
  };
96
- (n = l.onChange) == null || n.call(l, {
109
+ (r = l.onChange) == null || r.call(l, {
97
110
  ...a,
98
111
  ...t
99
112
  });
100
- }, [o, P] = c({
101
- value: (G = l.value) == null ? void 0 : G.timestamp,
102
- defaultValue: (($ = l.defaultValue) == null ? void 0 : $.timestamp) ?? null,
113
+ }, [o, N] = c({
114
+ value: ($ = l.value) == null ? void 0 : $.timestamp,
115
+ defaultValue: ((k = l.defaultValue) == null ? void 0 : k.timestamp) ?? null,
103
116
  onChange(t) {
104
117
  d({ timestamp: t });
105
118
  }
106
- }), [V, ne] = c({
107
- value: (k = l.value) == null ? void 0 : k.gameType,
108
- defaultValue: ((H = l.defaultValue) == null ? void 0 : H.gameType) ?? null,
119
+ }), [I, se] = c({
120
+ value: (H = l.value) == null ? void 0 : H.gameType,
121
+ defaultValue: ((B = l.defaultValue) == null ? void 0 : B.gameType) ?? null,
109
122
  onChange(t) {
110
123
  d({ gameType: t });
111
124
  }
112
- }), [w, oe] = c({
113
- value: (W = l.value) == null ? void 0 : W.gameProvider,
125
+ }), [V, he] = c({
126
+ value: (_ = l.value) == null ? void 0 : _.gameProvider,
114
127
  defaultValue: ((j = l.defaultValue) == null ? void 0 : j.gameProvider) ?? null,
115
128
  onChange(t) {
116
129
  d({ gameProvider: t });
117
130
  }
118
- }), [O, de] = c({
119
- value: (B = l.value) == null ? void 0 : B.depositStatus,
120
- defaultValue: ((J = l.defaultValue) == null ? void 0 : J.depositStatus) ?? null,
131
+ }), [P, ge] = c({
132
+ value: (J = l.value) == null ? void 0 : J.depositStatus,
133
+ defaultValue: ((Y = l.defaultValue) == null ? void 0 : Y.depositStatus) ?? null,
121
134
  onChange(t) {
122
135
  d({ depositStatus: t });
123
136
  }
124
- }), [b, me] = c({
125
- value: (_ = l.value) == null ? void 0 : _.withdrawalStatus,
126
- defaultValue: ((Z = l.defaultValue) == null ? void 0 : Z.withdrawalStatus) ?? null,
137
+ }), [y, Ce] = c({
138
+ value: (Z = l.value) == null ? void 0 : Z.withdrawalStatus,
139
+ defaultValue: ((q = l.defaultValue) == null ? void 0 : q.withdrawalStatus) ?? null,
127
140
  onChange(t) {
128
141
  d({ withdrawalStatus: t });
129
142
  }
143
+ }), [G, Te] = c({
144
+ value: (K = l.value) == null ? void 0 : K.transactionType,
145
+ defaultValue: ((Q = l.defaultValue) == null ? void 0 : Q.transactionType) ?? null,
146
+ onChange(t) {
147
+ d({ transactionType: t });
148
+ }
130
149
  });
131
- return /* @__PURE__ */ i("div", { className: "flex items-center gap-lg", children: [
150
+ return /* @__PURE__ */ i("div", { className: "flex flex-col gap-lg lg:flex-row lg:items-center", children: [
132
151
  /* @__PURE__ */ i(
133
- pe,
152
+ Ne,
134
153
  {
135
154
  lazyMount: !0,
136
155
  unmountOnExit: !0,
137
- value: [o == null ? void 0 : o.start, o == null ? void 0 : o.end].filter(Boolean).map((t) => he(t)),
156
+ value: [o == null ? void 0 : o.start, o == null ? void 0 : o.end].filter(Boolean).map((t) => pe(t)),
138
157
  onValueChange: (t) => {
139
- var a, n;
140
- P({
141
- start: (a = t.value.at(0)) == null ? void 0 : a.toDate(ae),
142
- end: (n = t.value.at(1)) == null ? void 0 : n.toDate(ae)
158
+ var a, r;
159
+ N({
160
+ start: (a = t.value.at(0)) == null ? void 0 : a.toDate(ce),
161
+ end: (r = t.value.at(1)) == null ? void 0 : r.toDate(ce)
143
162
  });
144
163
  },
145
164
  onOpenChange: (t) => {
@@ -153,159 +172,201 @@ function Vt(l) {
153
172
  },
154
173
  children: [
155
174
  /* @__PURE__ */ i(
156
- Fe,
175
+ $e,
157
176
  {
158
- value: re,
177
+ value: ue,
159
178
  onValueChange: (t) => {
160
- const a = Le.parse(t.value);
179
+ const a = He.parse(t.value);
161
180
  if (a === "today") {
162
- const n = /* @__PURE__ */ new Date();
163
- P({
164
- start: Ce(n),
165
- end: se(n)
181
+ const r = /* @__PURE__ */ new Date();
182
+ N({
183
+ start: Se(r),
184
+ end: Ee(r)
166
185
  });
167
186
  } else
168
- P(null);
187
+ N(null);
169
188
  M(a);
170
189
  },
190
+ className: "w-full lg:w-fit",
171
191
  children: [
172
- /* @__PURE__ */ i(y, { value: "all", children: [
173
- /* @__PURE__ */ e(N, { children: "All" }),
192
+ /* @__PURE__ */ i(O, { value: "all", className: "w-full lg:w-auto", children: [
193
+ /* @__PURE__ */ e(b, { children: "All" }),
174
194
  /* @__PURE__ */ e(A, {}),
175
195
  /* @__PURE__ */ e(x, {})
176
196
  ] }),
177
- /* @__PURE__ */ i(y, { value: "today", children: [
178
- /* @__PURE__ */ e(N, { children: "Today" }),
197
+ /* @__PURE__ */ i(O, { value: "today", className: "w-full lg:w-auto", children: [
198
+ /* @__PURE__ */ e(b, { children: "Today" }),
179
199
  /* @__PURE__ */ e(A, {}),
180
200
  /* @__PURE__ */ e(x, {})
181
201
  ] }),
182
- /* @__PURE__ */ e(ee, { children: (t) => /* @__PURE__ */ e(
183
- y,
202
+ /* @__PURE__ */ e(ne, { children: (t) => /* @__PURE__ */ e(
203
+ O,
184
204
  {
185
205
  value: "custom",
186
206
  onClick: () => t.setOpen(!0),
187
- children: /* @__PURE__ */ i(Ee, { children: [
188
- /* @__PURE__ */ e(N, { children: "Custom" }),
207
+ className: "w-full lg:w-auto",
208
+ children: /* @__PURE__ */ i(Ie, { children: [
209
+ /* @__PURE__ */ e(b, { children: "Custom" }),
189
210
  /* @__PURE__ */ e(A, {}),
190
211
  /* @__PURE__ */ e(x, {})
191
212
  ] })
192
213
  }
193
214
  ) }),
194
- /* @__PURE__ */ e(Ue, {})
215
+ /* @__PURE__ */ e(ke, {})
195
216
  ]
196
217
  }
197
218
  ),
198
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ e(Se, { children: /* @__PURE__ */ e(De, { view: "day", children: /* @__PURE__ */ e(ee, { children: (t) => /* @__PURE__ */ i(ue, { children: [
199
- /* @__PURE__ */ i(Re, { children: [
200
- /* @__PURE__ */ e(Ie, { children: /* @__PURE__ */ e(Te, {}) }),
201
- /* @__PURE__ */ e(Pe, { children: /* @__PURE__ */ e(Ve, {}) }),
202
- /* @__PURE__ */ e(we, { children: /* @__PURE__ */ e(ve, {}) })
203
- ] }),
219
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(Ve, { children: /* @__PURE__ */ e(Pe, { children: /* @__PURE__ */ e(ye, { view: "day", children: /* @__PURE__ */ e(ne, { children: (t) => /* @__PURE__ */ i(ve, { children: [
204
220
  /* @__PURE__ */ i(Oe, { children: [
205
- /* @__PURE__ */ e(be, { children: /* @__PURE__ */ e(te, { children: t.weekDays.map((a, n) => /* @__PURE__ */ e(ye, { children: a.short.substring(0, 2) }, n)) }) }),
206
- /* @__PURE__ */ e(Ne, { children: t.weeks.map((a, n) => /* @__PURE__ */ e(te, { children: a.map((Y, ce) => /* @__PURE__ */ e(Ae, { value: Y, children: /* @__PURE__ */ e(xe, { children: Y.day }) }, ce)) }, n)) })
221
+ /* @__PURE__ */ e(be, { children: /* @__PURE__ */ e(De, {}) }),
222
+ /* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(xe, {}) }),
223
+ /* @__PURE__ */ e(Fe, { children: /* @__PURE__ */ e(Re, {}) })
224
+ ] }),
225
+ /* @__PURE__ */ i(Ue, { children: [
226
+ /* @__PURE__ */ e(Le, { children: /* @__PURE__ */ e(re, { children: t.weekDays.map((a, r) => /* @__PURE__ */ e(We, { children: a.short.substring(0, 2) }, r)) }) }),
227
+ /* @__PURE__ */ e(ze, { children: t.weeks.map((a, r) => /* @__PURE__ */ e(re, { children: a.map((ae, fe) => /* @__PURE__ */ e(Me, { value: ae, children: /* @__PURE__ */ e(Ge, { children: ae.day }) }, fe)) }, r)) })
207
228
  ] })
208
229
  ] }) }) }) }) }) })
209
230
  ]
210
231
  }
211
232
  ),
212
- /* @__PURE__ */ e("div", { className: "grow" }),
213
- ((q = l.enabledFilters) == null ? void 0 : q.gameType) && /* @__PURE__ */ i(
214
- g,
233
+ /* @__PURE__ */ e("div", { className: "hidden grow lg:block" }),
234
+ ((X = l.enabledFilters) == null ? void 0 : X.gameType) && /* @__PURE__ */ i(
235
+ C,
215
236
  {
216
237
  collection: F,
217
- value: V ? [V] : [],
238
+ value: I ? [I] : [],
218
239
  onValueChange: (t) => {
219
240
  const a = u.enum(l.gameTypeOptions ?? []).safeParse(t.value.at(0)).data;
220
- ne(a ?? null);
241
+ se(a ?? null);
221
242
  },
222
243
  lazyMount: !0,
223
244
  deselectable: !0,
245
+ positioning: {
246
+ sameWidth: !0
247
+ },
224
248
  children: [
225
- /* @__PURE__ */ i(T, { children: [
226
- /* @__PURE__ */ e(v, { placeholder: "Game Type" }),
227
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
249
+ /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
250
+ /* @__PURE__ */ e(f, { placeholder: "Game Type" }),
251
+ /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
228
252
  ] }),
229
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(S, { children: F.items.map((t) => /* @__PURE__ */ i(D, { item: t, children: [
230
- /* @__PURE__ */ e(R, { children: r(t, {
231
- delimiter: r.delimiters.UNDERSCORE
253
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: F.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
254
+ /* @__PURE__ */ e(D, { children: n(t, {
255
+ delimiter: n.delimiters.UNDERSCORE
232
256
  }) }),
233
- /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(s, {}) })
257
+ /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
234
258
  ] }, t)) }) }) }) })
235
259
  ]
236
260
  }
237
261
  ),
238
- ((K = l.enabledFilters) == null ? void 0 : K.gameProvider) && /* @__PURE__ */ i(
239
- g,
262
+ ((ee = l.enabledFilters) == null ? void 0 : ee.gameProvider) && /* @__PURE__ */ i(
263
+ C,
240
264
  {
241
265
  collection: U,
242
- value: w ? [w] : [],
266
+ value: V ? [V] : [],
243
267
  onValueChange: (t) => {
244
268
  const a = u.enum(l.gameProviderOptions ?? []).safeParse(t.value.at(0)).data;
245
- oe(a ?? null);
269
+ he(a ?? null);
246
270
  },
247
271
  lazyMount: !0,
248
272
  deselectable: !0,
273
+ positioning: {
274
+ sameWidth: !0
275
+ },
249
276
  children: [
250
- /* @__PURE__ */ i(T, { children: [
251
- /* @__PURE__ */ e(v, { placeholder: "Game Vendor" }),
252
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
277
+ /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
278
+ /* @__PURE__ */ e(f, { placeholder: "Game Vendor" }),
279
+ /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
253
280
  ] }),
254
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(S, { children: U.items.map((t) => /* @__PURE__ */ i(D, { item: t, children: [
255
- /* @__PURE__ */ e(R, { children: r(t, {
256
- delimiter: r.delimiters.UNDERSCORE
281
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: U.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
282
+ /* @__PURE__ */ e(D, { children: n(t, {
283
+ delimiter: n.delimiters.UNDERSCORE
257
284
  }) }),
258
- /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(s, {}) })
285
+ /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
259
286
  ] }, t)) }) }) }) })
260
287
  ]
261
288
  }
262
289
  ),
263
- ((Q = l.enabledFilters) == null ? void 0 : Q.depositStatus) && /* @__PURE__ */ i(
264
- g,
290
+ ((te = l.enabledFilters) == null ? void 0 : te.depositStatus) && /* @__PURE__ */ i(
291
+ C,
265
292
  {
266
293
  collection: L,
267
- value: O ? [O] : [],
294
+ value: P ? [P] : [],
295
+ onValueChange: (t) => {
296
+ const a = u.enum(oe).safeParse(t.value.at(0)).data;
297
+ ge(a ?? null);
298
+ },
299
+ lazyMount: !0,
300
+ deselectable: !0,
301
+ positioning: {
302
+ sameWidth: !0
303
+ },
304
+ children: [
305
+ /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
306
+ /* @__PURE__ */ e(f, { placeholder: "Status" }),
307
+ /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
308
+ ] }),
309
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: W.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
310
+ /* @__PURE__ */ e(D, { children: n(t, {
311
+ delimiter: n.delimiters.UNDERSCORE
312
+ }) }),
313
+ /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
314
+ ] }, t)) }) }) }) })
315
+ ]
316
+ }
317
+ ),
318
+ ((le = l.enabledFilters) == null ? void 0 : le.withdrawalStatus) && /* @__PURE__ */ i(
319
+ C,
320
+ {
321
+ collection: W,
322
+ value: y ? [y] : [],
268
323
  onValueChange: (t) => {
269
- const a = u.enum(le).safeParse(t.value.at(0)).data;
270
- de(a ?? null);
324
+ const a = u.enum(de).safeParse(t.value.at(0)).data;
325
+ Ce(a ?? null);
271
326
  },
272
327
  lazyMount: !0,
273
328
  deselectable: !0,
329
+ positioning: {
330
+ sameWidth: !0
331
+ },
274
332
  children: [
275
- /* @__PURE__ */ i(T, { children: [
276
- /* @__PURE__ */ e(v, { placeholder: "Status" }),
277
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
333
+ /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
334
+ /* @__PURE__ */ e(f, { placeholder: "Status" }),
335
+ /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
278
336
  ] }),
279
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(S, { children: z.items.map((t) => /* @__PURE__ */ i(D, { item: t, children: [
280
- /* @__PURE__ */ e(R, { children: r(t, {
281
- delimiter: r.delimiters.UNDERSCORE
337
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: L.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
338
+ /* @__PURE__ */ e(D, { children: n(t, {
339
+ delimiter: n.delimiters.UNDERSCORE
282
340
  }) }),
283
- /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(s, {}) })
341
+ /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
284
342
  ] }, t)) }) }) }) })
285
343
  ]
286
344
  }
287
345
  ),
288
- ((X = l.enabledFilters) == null ? void 0 : X.withdrawalStatus) && /* @__PURE__ */ i(
289
- g,
346
+ ((ie = l.enabledFilters) == null ? void 0 : ie.transactionType) && /* @__PURE__ */ i(
347
+ C,
290
348
  {
291
349
  collection: z,
292
- value: b ? [b] : [],
350
+ value: G ? [G] : [],
293
351
  onValueChange: (t) => {
294
- const a = u.enum(ie).safeParse(t.value.at(0)).data;
295
- me(a ?? null);
352
+ const a = u.enum(me).safeParse(t.value.at(0)).data;
353
+ Te(a ?? null);
296
354
  },
297
355
  lazyMount: !0,
298
356
  deselectable: !0,
357
+ positioning: {
358
+ sameWidth: !0
359
+ },
299
360
  children: [
300
- /* @__PURE__ */ i(T, { children: [
301
- /* @__PURE__ */ e(v, { placeholder: "Status" }),
302
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(C, {}) })
361
+ /* @__PURE__ */ i(T, { className: "w-full lg:w-[14rem]", children: [
362
+ /* @__PURE__ */ e(f, { placeholder: "Type" }),
363
+ /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(g, {}) })
303
364
  ] }),
304
- /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(S, { children: L.items.map((t) => /* @__PURE__ */ i(D, { item: t, children: [
305
- /* @__PURE__ */ e(R, { children: r(t, {
306
- delimiter: r.delimiters.UNDERSCORE
365
+ /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(S, { children: z.items.map((t) => /* @__PURE__ */ i(w, { item: t, children: [
366
+ /* @__PURE__ */ e(D, { children: n(t, {
367
+ delimiter: n.delimiters.UNDERSCORE
307
368
  }) }),
308
- /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e(s, {}) })
369
+ /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(h, {}) })
309
370
  ] }, t)) }) }) }) })
310
371
  ]
311
372
  }
@@ -313,5 +374,5 @@ function Vt(l) {
313
374
  ] });
314
375
  }
315
376
  export {
316
- Vt as TableFilters
377
+ Lt as TableFilters
317
378
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/DatePicker/DatePicker.js");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");const r=require("../../ui/Tabs/Tabs.js"),i=require("./DepositRecordsTable.js"),a=require("./TransactionRecordsTable.js"),t=require("./WithdrawalRecordsTable.js");function n(s){return e.jsxs("div",{className:s.className,children:[e.jsx("h2",{className:"text-lg font-semibold",children:"Transaction Records"}),e.jsx("p",{className:"text-gray-600 mt-xs text-xs",children:"View your transaction records"}),e.jsxs(r.Root,{className:"mt-2xl",defaultValue:"transactions",lazyMount:!0,unmountOnExit:!0,children:[e.jsx("div",{className:"pb-2xl",children:e.jsxs(r.List,{children:[e.jsx(r.Trigger,{value:"transactions",children:"Transactions"}),e.jsx(r.Trigger,{value:"deposits",children:"Deposits"}),e.jsx(r.Trigger,{value:"withdrawals",children:"Withdrawals"}),e.jsx(r.Indicator,{})]})}),e.jsx(r.Content,{value:"transactions",className:"mt-4xl",children:e.jsx(a.TransactionRecordsTable,{})}),e.jsx(r.Content,{value:"deposits",className:"mt-4xl",children:e.jsx(i.DepositRecordsTable,{})}),e.jsx(r.Content,{value:"withdrawals",className:"mt-4xl",children:e.jsx(t.WithdrawalRecordsTable,{})})]})]})}exports.TransactionRecords=n;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("tailwind-merge");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/Button/button.recipe.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/DatePicker/DatePicker.js");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("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");const r=require("../../ui/Tabs/Tabs.js"),i=require("./DepositRecordsTable.js"),a=require("./TransactionRecordsTable.js"),n=require("./WithdrawalRecordsTable.js");function l(s){return e.jsxs("div",{className:t.twMerge("px-4 pb-3xl pt-4",s.className),children:[e.jsx("h2",{className:"text-text-secondary-700 text-sm font-semibold leading-tight",children:"Transaction Records"}),e.jsx("p",{className:"text-text-tertiary-600 mt-xs text-sm leading-tight",children:"View your transaction records"}),e.jsxs(r.Root,{className:"mt-lg",defaultValue:"transactions",lazyMount:!0,unmountOnExit:!0,children:[e.jsxs(r.List,{children:[e.jsx(r.Trigger,{value:"transactions",children:"Transactions"}),e.jsx(r.Trigger,{value:"deposits",children:"Deposits"}),e.jsx(r.Trigger,{value:"withdrawals",children:"Withdrawals"}),e.jsx(r.Indicator,{})]}),e.jsx("h3",{className:"text-text-secondary-700 mt-3xl text-sm font-semibold",children:"Table"}),e.jsx(r.Content,{value:"transactions",className:"mt-xl",children:e.jsx(a.TransactionRecordsTable,{})}),e.jsx(r.Content,{value:"deposits",className:"mt-xl",children:e.jsx(i.DepositRecordsTable,{})}),e.jsx(r.Content,{value:"withdrawals",className:"mt-xl",children:e.jsx(n.WithdrawalRecordsTable,{})})]})]})}exports.TransactionRecords=l;
@@ -1,5 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as r, jsx as t } from "react/jsx-runtime";
3
+ import { twMerge as a } from "tailwind-merge";
3
4
  import "../../ui/AlertDialog/AlertDialog.mjs";
4
5
  import "../../ui/Avatar/Avatar.mjs";
5
6
  import "../../ui/Badge/Badge.mjs";
@@ -13,48 +14,51 @@ import "../../utils/isMobile.mjs";
13
14
  import "../../ui/Button/button.recipe.mjs";
14
15
  import "../../ui/Checkbox/Checkbox.mjs";
15
16
  import "../../ui/Clipboard/Clipboard.mjs";
17
+ import "../../ui/Collapsible/Collapsible.mjs";
16
18
  import "../../ui/DatePicker/DatePicker.mjs";
17
19
  import "../../ui/Dialog/Dialog.mjs";
18
20
  import "../../ui/Drawer/Drawer.mjs";
19
21
  import "../../ui/Field/Field.mjs";
20
22
  import "../../ui/IconButton/iconButton.recipe.mjs";
21
23
  import "../../ui/NumberInput/NumberInput.mjs";
24
+ import "../../ui/PasswordInput/PasswordInput.mjs";
22
25
  import "../../ui/PinInput/PinInput.mjs";
23
26
  import "../../ui/Popover/Popover.mjs";
24
- import "tailwind-merge";
27
+ import "../../ui/Progress/Progress.mjs";
25
28
  import "../../ui/SegmentGroup/SegmentGroup.mjs";
26
29
  import "../../ui/Select/Select.mjs";
27
30
  import "../../ui/Table/Table.mjs";
28
- import { Root as e, List as s, Trigger as i, Indicator as m, Content as o } from "../../ui/Tabs/Tabs.mjs";
29
- import { DepositRecordsTable as l } from "./DepositRecordsTable.mjs";
30
- import { TransactionRecordsTable as n } from "./TransactionRecordsTable.mjs";
31
+ import { Root as m, List as s, Trigger as i, Indicator as l, Content as o } from "../../ui/Tabs/Tabs.mjs";
32
+ import { DepositRecordsTable as n } from "./DepositRecordsTable.mjs";
33
+ import { TransactionRecordsTable as p } from "./TransactionRecordsTable.mjs";
31
34
  import { WithdrawalRecordsTable as c } from "./WithdrawalRecordsTable.mjs";
32
- function G(a) {
33
- return /* @__PURE__ */ r("div", { className: a.className, children: [
34
- /* @__PURE__ */ t("h2", { className: "text-lg font-semibold", children: "Transaction Records" }),
35
- /* @__PURE__ */ t("p", { className: "text-gray-600 mt-xs text-xs", children: "View your transaction records" }),
35
+ function P(e) {
36
+ return /* @__PURE__ */ r("div", { className: a("px-4 pb-3xl pt-4", e.className), children: [
37
+ /* @__PURE__ */ t("h2", { className: "text-text-secondary-700 text-sm font-semibold leading-tight", children: "Transaction Records" }),
38
+ /* @__PURE__ */ t("p", { className: "text-text-tertiary-600 mt-xs text-sm leading-tight", children: "View your transaction records" }),
36
39
  /* @__PURE__ */ r(
37
- e,
40
+ m,
38
41
  {
39
- className: "mt-2xl",
42
+ className: "mt-lg",
40
43
  defaultValue: "transactions",
41
44
  lazyMount: !0,
42
45
  unmountOnExit: !0,
43
46
  children: [
44
- /* @__PURE__ */ t("div", { className: "pb-2xl", children: /* @__PURE__ */ r(s, { children: [
47
+ /* @__PURE__ */ r(s, { children: [
45
48
  /* @__PURE__ */ t(i, { value: "transactions", children: "Transactions" }),
46
49
  /* @__PURE__ */ t(i, { value: "deposits", children: "Deposits" }),
47
50
  /* @__PURE__ */ t(i, { value: "withdrawals", children: "Withdrawals" }),
48
- /* @__PURE__ */ t(m, {})
49
- ] }) }),
50
- /* @__PURE__ */ t(o, { value: "transactions", className: "mt-4xl", children: /* @__PURE__ */ t(n, {}) }),
51
- /* @__PURE__ */ t(o, { value: "deposits", className: "mt-4xl", children: /* @__PURE__ */ t(l, {}) }),
52
- /* @__PURE__ */ t(o, { value: "withdrawals", className: "mt-4xl", children: /* @__PURE__ */ t(c, {}) })
51
+ /* @__PURE__ */ t(l, {})
52
+ ] }),
53
+ /* @__PURE__ */ t("h3", { className: "text-text-secondary-700 mt-3xl text-sm font-semibold", children: "Table" }),
54
+ /* @__PURE__ */ t(o, { value: "transactions", className: "mt-xl", children: /* @__PURE__ */ t(p, {}) }),
55
+ /* @__PURE__ */ t(o, { value: "deposits", className: "mt-xl", children: /* @__PURE__ */ t(n, {}) }),
56
+ /* @__PURE__ */ t(o, { value: "withdrawals", className: "mt-xl", children: /* @__PURE__ */ t(c, {}) })
53
57
  ]
54
58
  }
55
59
  )
56
60
  ] });
57
61
  }
58
62
  export {
59
- G as TransactionRecords
63
+ P as TransactionRecords
60
64
  };