@opexa/portal-components 0.0.890 → 0.0.891

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 (222) hide show
  1. package/dist/assets/providers/alize.png +0 -0
  2. package/dist/assets/providers/bigtime-gaming.png +0 -0
  3. package/dist/assets/providers/bng.png +0 -0
  4. package/dist/assets/providers/boongo.png +0 -0
  5. package/dist/assets/providers/btg.png +0 -0
  6. package/dist/assets/providers/cq9.png +0 -0
  7. package/dist/assets/providers/darwin.png +0 -0
  8. package/dist/assets/providers/digitain.png +0 -0
  9. package/dist/assets/providers/evolution.png +0 -0
  10. package/dist/assets/providers/fantasma-games.png +0 -0
  11. package/dist/assets/providers/fc.png +0 -0
  12. package/dist/assets/providers/fp.png +0 -0
  13. package/dist/assets/providers/habanero.png +0 -0
  14. package/dist/assets/providers/hacksaw.png +0 -0
  15. package/dist/assets/providers/jdb.png +0 -0
  16. package/dist/assets/providers/jili.png +0 -0
  17. package/dist/assets/providers/leap.png +0 -0
  18. package/dist/assets/providers/live-22-metaverse.png +0 -0
  19. package/dist/assets/providers/netent.png +0 -0
  20. package/dist/assets/providers/no-limit.png +0 -0
  21. package/dist/assets/providers/pg.png +0 -0
  22. package/dist/assets/providers/pgsoft.png +0 -0
  23. package/dist/assets/providers/pragmatic-play.png +0 -0
  24. package/dist/assets/providers/realtime-gaming.png +0 -0
  25. package/dist/assets/providers/redtiger.png +0 -0
  26. package/dist/assets/providers/rtg.png +0 -0
  27. package/dist/assets/providers/sagaming.png +0 -0
  28. package/dist/client/hooks/useAiOGCashDepositMutation.d.ts +4 -0
  29. package/dist/client/hooks/useAiOGCashDepositMutation.js +90 -0
  30. package/dist/client/hooks/useAiOGrabPayDepositMutation.d.ts +4 -0
  31. package/dist/client/hooks/useAiOGrabPayDepositMutation.js +80 -0
  32. package/dist/client/hooks/useAiOPalawanPayDepositMutation.d.ts +4 -0
  33. package/dist/client/hooks/useAiOPalawanPayDepositMutation.js +80 -0
  34. package/dist/client/hooks/useAiOPayMayaDepositMutation.d.ts +4 -0
  35. package/dist/client/hooks/useAiOPayMayaDepositMutation.js +80 -0
  36. package/dist/components/Banner/Banner.client.d.ts +12 -0
  37. package/dist/components/Banner/Banner.client.js +49 -0
  38. package/dist/components/DepositWithdrawal/AiOPaymentMethods.d.ts +11 -0
  39. package/dist/components/DepositWithdrawal/AiOPaymentMethods.js +55 -0
  40. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/AurixPayQRPHDepositContext.d.ts +2 -2
  41. package/dist/components/DepositWithdrawal/Deposit/AurixPayQRPHDeposit/useAurixPayQRPHDeposit.d.ts +1 -1
  42. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  43. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  44. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.d.ts +1 -0
  45. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +99 -0
  46. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
  47. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.d.ts +1 -0
  48. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +17 -0
  49. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +1 -0
  50. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +116 -0
  51. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHQRCode.d.ts +3 -0
  52. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHQRCode.js +69 -0
  53. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  54. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDeposit.d.ts +1 -0
  55. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDeposit.js +10 -0
  56. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositAlert.d.ts +1 -0
  57. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositAlert.js +99 -0
  58. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.d.ts +25 -0
  59. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.js +2 -0
  60. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositDetails.d.ts +1 -0
  61. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositDetails.js +17 -0
  62. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositForm.d.ts +1 -0
  63. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositForm.js +116 -0
  64. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHQRCode.d.ts +3 -0
  65. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHQRCode.js +69 -0
  66. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.d.ts +13 -0
  67. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.js +85 -0
  68. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGCashDeposit/AiOGCashDeposit.d.ts +1 -0
  69. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGCashDeposit/AiOGCashDeposit.js +173 -0
  70. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGrabPayDeposit/AiOGrabPayDeposit.d.ts +1 -0
  71. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGrabPayDeposit/AiOGrabPayDeposit.js +171 -0
  72. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPalawanPayDeposit/AiOPalawanPayDeposit.d.ts +1 -0
  73. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPalawanPayDeposit/AiOPalawanPayDeposit.js +171 -0
  74. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPayMayaDeposit/AiOPayMayaDeposit.d.ts +1 -0
  75. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPayMayaDeposit/AiOPayMayaDeposit.js +171 -0
  76. package/dist/components/DepositWithdrawal/Deposit__legacy/AvailablePromos.d.ts +8 -0
  77. package/dist/components/DepositWithdrawal/Deposit__legacy/AvailablePromos.js +33 -0
  78. package/dist/components/DepositWithdrawal/Deposit__legacy/Deposit.d.ts +1 -0
  79. package/dist/components/DepositWithdrawal/Deposit__legacy/Deposit.js +120 -0
  80. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashDeposit/GCashDeposit.d.ts +1 -0
  81. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashDeposit/GCashDeposit.js +163 -0
  82. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashWebpayDeposit/GCashWebpayDeposit.d.ts +1 -0
  83. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashWebpayDeposit/GCashWebpayDeposit.js +165 -0
  84. package/dist/components/DepositWithdrawal/Deposit__legacy/LibanganDeposit/LibanganDeposit.d.ts +1 -0
  85. package/dist/components/DepositWithdrawal/Deposit__legacy/LibanganDeposit/LibanganDeposit.js +186 -0
  86. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaAppDeposit/MayaAppDeposit.d.ts +1 -0
  87. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaAppDeposit/MayaAppDeposit.js +157 -0
  88. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaDeposit/MayaDeposit.d.ts +1 -0
  89. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaDeposit/MayaDeposit.js +163 -0
  90. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaWebpayDeposit/MayaWebpayDeposit.d.ts +1 -0
  91. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaWebpayDeposit/MayaWebpayDeposit.js +166 -0
  92. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDeposit.d.ts +1 -0
  93. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDeposit.js +10 -0
  94. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositAlert.d.ts +1 -0
  95. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositAlert.js +99 -0
  96. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.d.ts +25 -0
  97. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.js +2 -0
  98. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositDetails.d.ts +1 -0
  99. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositDetails.js +19 -0
  100. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositForm.d.ts +1 -0
  101. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositForm.js +115 -0
  102. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.d.ts +13 -0
  103. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.js +81 -0
  104. package/dist/components/DepositWithdrawal/Deposit__legacy/PisoPayDeposit/PisoPayDeposit.d.ts +1 -0
  105. package/dist/components/DepositWithdrawal/Deposit__legacy/PisoPayDeposit/PisoPayDeposit.js +180 -0
  106. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDeposit.d.ts +1 -0
  107. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDeposit.js +10 -0
  108. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositAlert.d.ts +1 -0
  109. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositAlert.js +99 -0
  110. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.d.ts +25 -0
  111. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.js +2 -0
  112. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositDetails.d.ts +1 -0
  113. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositDetails.js +17 -0
  114. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositForm.d.ts +1 -0
  115. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositForm.js +116 -0
  116. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHQRCode.d.ts +3 -0
  117. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHQRCode.js +69 -0
  118. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.d.ts +13 -0
  119. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.js +85 -0
  120. package/dist/components/DigitainLauncher/Loading.d.ts +1 -0
  121. package/dist/components/DigitainLauncher/Loading.js +5 -0
  122. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -0
  123. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -0
  124. package/dist/components/KYC/BasicInformation.d.ts +1 -0
  125. package/dist/components/KYC/BasicInformation.js +101 -0
  126. package/dist/components/KYC/IdentityVerification.d.ts +1 -0
  127. package/dist/components/KYC/IdentityVerification.js +120 -0
  128. package/dist/components/KYC/Indicator.d.ts +1 -0
  129. package/dist/components/KYC/Indicator.js +8 -0
  130. package/dist/components/KYC/KYC.lazy.d.ts +6 -0
  131. package/dist/components/KYC/KYC.lazy.js +45 -0
  132. package/dist/components/KYC/KYCContext.d.ts +6 -0
  133. package/dist/components/KYC/KYCContext.js +2 -0
  134. package/dist/components/KYC/KYCDefault/BasicInformation.d.ts +1 -0
  135. package/dist/components/KYC/KYCDefault/BasicInformation.js +101 -0
  136. package/dist/components/KYC/KYCVerificationStatus.d.ts +1 -0
  137. package/dist/components/KYC/KYCVerificationStatus.js +10 -0
  138. package/dist/components/KYC/KYCVerificationStatus.lazy.d.ts +1 -0
  139. package/dist/components/KYC/KYCVerificationStatus.lazy.js +36 -0
  140. package/dist/components/KYC/PersonalInformation.d.ts +1 -0
  141. package/dist/components/KYC/PersonalInformation.js +122 -0
  142. package/dist/components/KYC/useKYC.d.ts +25 -0
  143. package/dist/components/KYC/useKYC.js +38 -0
  144. package/dist/components/KYCNotRequired/KYCNotRequired.d.ts +0 -0
  145. package/dist/components/KYCNotRequired/KYCNotRequired.js +1 -0
  146. package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +1 -0
  147. package/dist/components/PortalProvider/AndroidOnlyComponents.js +12 -0
  148. package/dist/components/PortalProvider/CXDTokenObserver.d.ts +1 -0
  149. package/dist/components/PortalProvider/CXDTokenObserver.js +30 -0
  150. package/dist/components/PortalProvider/LinkGoogleAccountObserver.d.ts +1 -0
  151. package/dist/components/PortalProvider/LinkGoogleAccountObserver.js +29 -0
  152. package/dist/components/Quests/MultiWageringQuest.d.ts +1 -0
  153. package/dist/components/Quests/MultiWageringQuest.js +111 -0
  154. package/dist/components/SessionWatcher/SessionWatcher.d.ts +1 -0
  155. package/dist/components/SessionWatcher/SessionWatcher.js +20 -0
  156. package/dist/components/SessionWatcher/index.d.ts +1 -0
  157. package/dist/components/SessionWatcher/index.js +1 -0
  158. package/dist/components/SignIn/utils.d.ts +8 -0
  159. package/dist/components/SignIn/utils.js +26 -0
  160. package/dist/components/Tournaments/TournamentsCarousel/TournamentCarouselItem.Crazywin.d.ts +1 -0
  161. package/dist/components/Tournaments/TournamentsCarousel/TournamentCarouselItem.Crazywin.js +53 -0
  162. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarousel.js +7 -1
  163. package/dist/constants/Branches.d.ts +2 -0
  164. package/dist/constants/Branches.js +42 -0
  165. package/dist/images/game-providers/ALPHACHINKO.png +0 -0
  166. package/dist/images/responsible-gaming-yellow.png +0 -0
  167. package/dist/images/tourna-icon.webp +0 -0
  168. package/dist/services/queries.d.ts +1 -1
  169. package/dist/services/queries.js +30 -28
  170. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
  171. package/dist/third-parties/FacebookPixel/FacebookPixel.js +4 -0
  172. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  173. package/dist/third-parties/FacebookPixel/api.js +1 -0
  174. package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
  175. package/dist/third-parties/FacebookPixel/index.js +1 -0
  176. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
  177. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +4 -0
  178. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  179. package/dist/third-parties/GoogleRecaptcha/api.js +1 -0
  180. package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
  181. package/dist/third-parties/GoogleRecaptcha/index.js +1 -0
  182. package/dist/third-parties/index.d.ts +2 -0
  183. package/dist/third-parties/index.js +2 -0
  184. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  185. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  186. package/dist/ui/Badge/Badge.d.ts +12 -12
  187. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  188. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  189. package/dist/ui/Carousel/Carousel.d.ts +72 -72
  190. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  191. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  192. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  193. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  194. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  195. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  196. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  197. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  198. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  199. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  200. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  201. package/dist/ui/Dialog/Dialog.d.ts +33 -33
  202. package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
  203. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  204. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  205. package/dist/ui/Menu/Menu.d.ts +307 -307
  206. package/dist/ui/Menu/menu.recipe.d.ts +17 -17
  207. package/dist/ui/Popover/Popover.d.ts +88 -88
  208. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  209. package/dist/ui/Progress/Progress.d.ts +27 -27
  210. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  211. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  212. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  213. package/dist/ui/Select/Select.d.ts +45 -45
  214. package/dist/ui/Select/select.recipe.d.ts +3 -3
  215. package/dist/ui/Table/Table.d.ts +21 -21
  216. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  217. package/dist/ui/Table/table.recipe.d.ts +3 -3
  218. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  219. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  220. package/dist/utils/getLocaleInfo.d.ts +79 -0
  221. package/dist/utils/getLocaleInfo.js +175 -0
  222. package/package.json +1 -1
@@ -12,7 +12,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
12
12
  body: string;
13
13
  };
14
14
  };
15
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
15
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
16
16
  size: {
17
17
  md: {
18
18
  root: string;
@@ -26,7 +26,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
26
26
  body: string;
27
27
  };
28
28
  };
29
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
30
30
  size: {
31
31
  md: {
32
32
  root: string;
@@ -40,7 +40,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
40
40
  body: string;
41
41
  };
42
42
  };
43
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
43
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
44
44
  export declare const Header: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
45
45
  size: {
46
46
  md: {
@@ -55,7 +55,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
55
55
  body: string;
56
56
  };
57
57
  };
58
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
58
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
59
59
  size: {
60
60
  md: {
61
61
  root: string;
@@ -69,7 +69,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
69
69
  body: string;
70
70
  };
71
71
  };
72
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
72
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
73
73
  size: {
74
74
  md: {
75
75
  root: string;
@@ -83,7 +83,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
83
83
  body: string;
84
84
  };
85
85
  };
86
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
86
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
87
87
  export declare const Body: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
88
88
  size: {
89
89
  md: {
@@ -98,7 +98,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
98
98
  body: string;
99
99
  };
100
100
  };
101
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
101
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
102
102
  size: {
103
103
  md: {
104
104
  root: string;
@@ -112,7 +112,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
112
112
  body: string;
113
113
  };
114
114
  };
115
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
115
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
116
116
  size: {
117
117
  md: {
118
118
  root: string;
@@ -126,7 +126,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
126
126
  body: string;
127
127
  };
128
128
  };
129
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
129
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
130
130
  export declare const Footer: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
131
131
  size: {
132
132
  md: {
@@ -141,7 +141,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
141
141
  body: string;
142
142
  };
143
143
  };
144
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
144
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
145
145
  size: {
146
146
  md: {
147
147
  root: string;
@@ -155,7 +155,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
155
155
  body: string;
156
156
  };
157
157
  };
158
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
158
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
159
159
  size: {
160
160
  md: {
161
161
  root: string;
@@ -169,7 +169,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
169
169
  body: string;
170
170
  };
171
171
  };
172
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
172
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
173
173
  export declare const Row: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
174
174
  size: {
175
175
  md: {
@@ -184,7 +184,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
184
184
  body: string;
185
185
  };
186
186
  };
187
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
187
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
188
188
  size: {
189
189
  md: {
190
190
  root: string;
@@ -198,7 +198,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
198
198
  body: string;
199
199
  };
200
200
  };
201
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
201
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
202
202
  size: {
203
203
  md: {
204
204
  root: string;
@@ -212,7 +212,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
212
212
  body: string;
213
213
  };
214
214
  };
215
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
215
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
216
216
  export declare const Heading: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableHeaderCellElement> & import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
217
217
  size: {
218
218
  md: {
@@ -227,7 +227,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
227
227
  body: string;
228
228
  };
229
229
  };
230
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
230
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
231
231
  size: {
232
232
  md: {
233
233
  root: string;
@@ -241,7 +241,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
241
241
  body: string;
242
242
  };
243
243
  };
244
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
244
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
245
245
  size: {
246
246
  md: {
247
247
  root: string;
@@ -255,7 +255,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
255
255
  body: string;
256
256
  };
257
257
  };
258
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
258
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
259
259
  export declare const Cell: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
260
260
  size: {
261
261
  md: {
@@ -270,7 +270,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
270
270
  body: string;
271
271
  };
272
272
  };
273
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
273
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
274
274
  size: {
275
275
  md: {
276
276
  root: string;
@@ -284,7 +284,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
284
284
  body: string;
285
285
  };
286
286
  };
287
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
287
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
288
288
  size: {
289
289
  md: {
290
290
  root: string;
@@ -298,4 +298,4 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
298
298
  body: string;
299
299
  };
300
300
  };
301
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
301
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
@@ -1 +1 @@
1
- export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row">;
1
+ export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell">;
@@ -12,7 +12,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
12
12
  body: string;
13
13
  };
14
14
  };
15
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, {
15
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, {
16
16
  size: {
17
17
  md: {
18
18
  root: string;
@@ -26,7 +26,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
26
26
  body: string;
27
27
  };
28
28
  };
29
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, import("tailwind-variants").TVReturnType<{
29
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, import("tailwind-variants").TVReturnType<{
30
30
  size: {
31
31
  md: {
32
32
  root: string;
@@ -40,4 +40,4 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
40
40
  body: string;
41
41
  };
42
42
  };
43
- }, Record<"body" | "footer" | "header" | "root" | "cell" | "heading" | "row", string | string[]>, undefined, unknown, unknown, undefined>>;
43
+ }, Record<"body" | "root" | "footer" | "header" | "heading" | "row" | "cell", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -11,7 +11,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
11
11
  trigger: string;
12
12
  };
13
13
  };
14
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, {
14
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, {
15
15
  size: {
16
16
  md: {};
17
17
  };
@@ -23,7 +23,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
23
23
  trigger: string;
24
24
  };
25
25
  };
26
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
26
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, import("tailwind-variants").TVReturnType<{
27
27
  size: {
28
28
  md: {};
29
29
  };
@@ -35,7 +35,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
35
35
  trigger: string;
36
36
  };
37
37
  };
38
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
38
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
39
39
  export declare const Content: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.ContentProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
40
40
  size: {
41
41
  md: {};
@@ -48,7 +48,7 @@ export declare const Content: import("react").ComponentType<import("@ark-ui/reac
48
48
  trigger: string;
49
49
  };
50
50
  };
51
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, {
51
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, {
52
52
  size: {
53
53
  md: {};
54
54
  };
@@ -60,7 +60,7 @@ export declare const Content: import("react").ComponentType<import("@ark-ui/reac
60
60
  trigger: string;
61
61
  };
62
62
  };
63
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
63
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, import("tailwind-variants").TVReturnType<{
64
64
  size: {
65
65
  md: {};
66
66
  };
@@ -72,7 +72,7 @@ export declare const Content: import("react").ComponentType<import("@ark-ui/reac
72
72
  trigger: string;
73
73
  };
74
74
  };
75
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
75
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
76
76
  export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
77
77
  size: {
78
78
  md: {};
@@ -85,7 +85,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
85
85
  trigger: string;
86
86
  };
87
87
  };
88
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, {
88
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, {
89
89
  size: {
90
90
  md: {};
91
91
  };
@@ -97,7 +97,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
97
97
  trigger: string;
98
98
  };
99
99
  };
100
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
100
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, import("tailwind-variants").TVReturnType<{
101
101
  size: {
102
102
  md: {};
103
103
  };
@@ -109,7 +109,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
109
109
  trigger: string;
110
110
  };
111
111
  };
112
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
112
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
113
113
  export declare const List: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.ListProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
114
114
  size: {
115
115
  md: {};
@@ -122,7 +122,7 @@ export declare const List: import("react").ComponentType<import("@ark-ui/react")
122
122
  trigger: string;
123
123
  };
124
124
  };
125
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, {
125
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, {
126
126
  size: {
127
127
  md: {};
128
128
  };
@@ -134,7 +134,7 @@ export declare const List: import("react").ComponentType<import("@ark-ui/react")
134
134
  trigger: string;
135
135
  };
136
136
  };
137
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
137
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, import("tailwind-variants").TVReturnType<{
138
138
  size: {
139
139
  md: {};
140
140
  };
@@ -146,7 +146,7 @@ export declare const List: import("react").ComponentType<import("@ark-ui/react")
146
146
  trigger: string;
147
147
  };
148
148
  };
149
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
149
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
150
150
  export declare const Trigger: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.TriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
151
151
  size: {
152
152
  md: {};
@@ -159,7 +159,7 @@ export declare const Trigger: import("react").ComponentType<import("@ark-ui/reac
159
159
  trigger: string;
160
160
  };
161
161
  };
162
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, {
162
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, {
163
163
  size: {
164
164
  md: {};
165
165
  };
@@ -171,7 +171,7 @@ export declare const Trigger: import("react").ComponentType<import("@ark-ui/reac
171
171
  trigger: string;
172
172
  };
173
173
  };
174
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
174
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, import("tailwind-variants").TVReturnType<{
175
175
  size: {
176
176
  md: {};
177
177
  };
@@ -183,5 +183,5 @@ export declare const Trigger: import("react").ComponentType<import("@ark-ui/reac
183
183
  trigger: string;
184
184
  };
185
185
  };
186
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
186
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
187
187
  export declare const Context: (props: Tabs.ContextProps) => import("react").ReactNode;
@@ -10,7 +10,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
10
10
  trigger: string;
11
11
  };
12
12
  };
13
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, {
13
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, {
14
14
  size: {
15
15
  md: {};
16
16
  };
@@ -22,7 +22,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
22
22
  trigger: string;
23
23
  };
24
24
  };
25
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
25
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, import("tailwind-variants").TVReturnType<{
26
26
  size: {
27
27
  md: {};
28
28
  };
@@ -34,4 +34,4 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
34
34
  trigger: string;
35
35
  };
36
36
  };
37
- }, Record<"content" | "root" | "trigger" | "list" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
37
+ }, Record<"content" | "root" | "indicator" | "list" | "trigger", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1,79 @@
1
+ import { type ComponentProps, type ComponentType } from 'react';
2
+ export interface CountryInfo {
3
+ /**
4
+ * @description The country code
5
+ * @example 'PHL'
6
+ */
7
+ code: 'IDN' | 'IND' | 'MYS' | 'PHL' | 'VNM';
8
+ /**
9
+ * @description The country name
10
+ * @example 'Philippines'
11
+ */
12
+ name: string;
13
+ /**
14
+ * @description The country flag
15
+ * @usage
16
+ * ```tsx
17
+ * const localeInfo = getLocaleInfo('Asia/Manila');
18
+ * <localeInfo.country.flag />
19
+ * ```
20
+ */
21
+ flag: ComponentType<ComponentProps<'svg'>>;
22
+ }
23
+ export interface CurrencyInfo {
24
+ /**
25
+ * @description The currency code
26
+ * @example 'PHP'
27
+ */
28
+ code: 'IDR' | 'INR' | 'MYR' | 'PHP' | 'USD' | 'VND';
29
+ /**
30
+ * @description The currency name
31
+ * @example 'Philippine Peso'
32
+ */
33
+ name: string;
34
+ /**
35
+ * @description The currency symbol
36
+ * @example '₱'
37
+ */
38
+ symbol: string;
39
+ /**
40
+ * Used in api
41
+ * @example 'VIRTUAL'
42
+ */
43
+ externalCode: 'IDR' | 'INR' | 'MYR' | 'PHP' | 'USD' | 'VIRTUAL' | (string & {});
44
+ }
45
+ export interface MobileNumberInfo {
46
+ /**
47
+ * @description The mobile number area code
48
+ * @example '+63'
49
+ */
50
+ areaCode: string;
51
+ /**
52
+ * @description The mobile number digits count
53
+ * @example 10
54
+ */
55
+ numOfDigits: number;
56
+ /**
57
+ * @description pattern to validate mobile number
58
+ * @usage
59
+ * ```ts
60
+ * const localeInfo = getLocaleInfo('Asia/Manila');
61
+ * const isValid = localeInfo.mobileNumber.pattern.test('9190000000');
62
+ * ```
63
+ */
64
+ pattern: RegExp;
65
+ /**
66
+ * @description The mobile number example
67
+ * @example '9190000000'
68
+ */
69
+ example: string;
70
+ }
71
+ export type Timezone = 'Asia/Manila' | 'Asia/Kolkata' | 'Asia/Jakarta' | 'Asia/Makassar' | 'Asia/Jayapura' | 'Asia/Kuala_Lumpur' | 'Asia/Ho_Chi_Minh' | (string & {});
72
+ export interface LocaleInfo {
73
+ locale: string;
74
+ timezone: Timezone;
75
+ country: CountryInfo;
76
+ currency: CurrencyInfo;
77
+ mobileNumber: MobileNumberInfo;
78
+ }
79
+ export declare const getLocaleInfo: (timezone: Timezone) => LocaleInfo;
@@ -0,0 +1,175 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cache, } from 'react';
3
+ export const getLocaleInfo = cache((timezone) => {
4
+ switch (timezone.toLowerCase()) {
5
+ case 'asia/jakarta':
6
+ return {
7
+ locale: 'id-ID',
8
+ timezone: 'Asia/Jakarta',
9
+ country: {
10
+ name: 'Indonesia',
11
+ code: 'IDN',
12
+ flag: IndonesianFlag,
13
+ },
14
+ currency: {
15
+ code: 'IDR',
16
+ name: 'Indonesian Rupiah',
17
+ symbol: 'Rp',
18
+ externalCode: 'IDR',
19
+ },
20
+ mobileNumber: {
21
+ areaCode: '+62',
22
+ numOfDigits: 10,
23
+ example: `81${''.padStart(8, '0')}`,
24
+ pattern: /^(\+?62|0)?8\d{9}$/,
25
+ },
26
+ };
27
+ case 'asia/jayapura':
28
+ return {
29
+ locale: 'id-ID',
30
+ timezone: 'Asia/Jayapura',
31
+ country: {
32
+ code: 'IDN',
33
+ name: 'Indonesia',
34
+ flag: IndonesianFlag,
35
+ },
36
+ currency: {
37
+ code: 'IDR',
38
+ name: 'Indonesian Rupiah',
39
+ symbol: 'Rp',
40
+ externalCode: 'IDR',
41
+ },
42
+ mobileNumber: {
43
+ areaCode: '+62',
44
+ numOfDigits: 10,
45
+ example: `81${''.padStart(8, '0')}`,
46
+ pattern: /^(\+?62|0)?8\d{9}$/,
47
+ },
48
+ };
49
+ case 'asia/makassar':
50
+ return {
51
+ locale: 'id-ID',
52
+ timezone: 'Asia/Makassar',
53
+ country: {
54
+ code: 'IDN',
55
+ name: 'Indonesia',
56
+ flag: IndonesianFlag,
57
+ },
58
+ currency: {
59
+ code: 'IDR',
60
+ name: 'Indonesian Rupiah',
61
+ symbol: 'Rp',
62
+ externalCode: 'IDR',
63
+ },
64
+ mobileNumber: {
65
+ areaCode: '+62',
66
+ numOfDigits: 10,
67
+ example: `81${''.padStart(8, '0')}`,
68
+ pattern: /^(\+?62|0)?8\d{9}$/,
69
+ },
70
+ };
71
+ case 'asia/kuala_lumpur':
72
+ return {
73
+ locale: 'ms-MY',
74
+ timezone: 'Asia/Kuala_Lumpur',
75
+ country: {
76
+ name: 'Malaysia',
77
+ code: 'MYS',
78
+ flag: MalaysianFlag,
79
+ },
80
+ currency: {
81
+ code: 'MYR',
82
+ name: 'Malaysian Ringgit',
83
+ symbol: 'RM',
84
+ externalCode: 'MYR',
85
+ },
86
+ mobileNumber: {
87
+ areaCode: '+60',
88
+ numOfDigits: 9,
89
+ example: `12${''.padStart(7, '0')}`,
90
+ pattern: /^(\+?60|0)?1[0-9]{1}\d{7}$/,
91
+ },
92
+ };
93
+ case 'asia/kolkata':
94
+ return {
95
+ locale: 'en-IN',
96
+ timezone: 'Asia/Kolkata',
97
+ country: {
98
+ code: 'IND',
99
+ name: 'India',
100
+ flag: IndianFlag,
101
+ },
102
+ currency: {
103
+ code: 'INR',
104
+ name: 'Indian Rupee',
105
+ symbol: '₹',
106
+ externalCode: 'INR',
107
+ },
108
+ mobileNumber: {
109
+ areaCode: '+91',
110
+ numOfDigits: 10,
111
+ example: `919${''.padStart(7, '0')}`,
112
+ pattern: /^(\+?91|0)?[789]\d{9}$/,
113
+ },
114
+ };
115
+ case 'asia/ho_chi_minh':
116
+ return {
117
+ locale: 'vi-VN',
118
+ timezone: 'Asia/Ho_Chi_Minh',
119
+ country: {
120
+ code: 'VNM',
121
+ name: 'Vietnam',
122
+ flag: VietnameseFlag,
123
+ },
124
+ currency: {
125
+ code: 'VND',
126
+ name: 'Vietnamese Dong',
127
+ symbol: '₫',
128
+ externalCode: 'VIRTUAL',
129
+ },
130
+ mobileNumber: {
131
+ areaCode: '+84',
132
+ numOfDigits: 9,
133
+ example: `849${''.padStart(7, '0')}`,
134
+ pattern: /^(\+?84|0)?(3[2-9]|5[6|8|9]|7[0|6-9]|8[1-6|8|9]|9[0-9])\d{7}$/,
135
+ },
136
+ };
137
+ default:
138
+ return {
139
+ locale: 'en-PH',
140
+ timezone: 'Asia/Manila',
141
+ country: {
142
+ code: 'PHL',
143
+ name: 'Philippines',
144
+ flag: PhilippineFlag,
145
+ },
146
+ currency: {
147
+ code: 'PHP',
148
+ name: 'Philippine Peso',
149
+ symbol: '₱',
150
+ externalCode: 'PHP',
151
+ },
152
+ mobileNumber: {
153
+ areaCode: '+63',
154
+ numOfDigits: 10,
155
+ example: `919${''.padStart(7, '0')}`,
156
+ pattern: /^(\+?63|0)?9\d{9}$/,
157
+ },
158
+ };
159
+ }
160
+ });
161
+ const PhilippineFlag = (props) => {
162
+ return (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsxs("g", { clipPath: "url(#clip0_4392_27540)", children: [_jsx("path", { d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z", fill: "#F0F0F0" }), _jsx("path", { d: "M12.0004 0V12L3.51514 20.4853C5.68671 22.6568 8.68671 24 12.0004 24C18.6278 24 24.0004 18.6274 24.0004 12C24.0004 5.37262 12.0004 0 12.0004 0Z", fill: "#D80027" }), _jsx("path", { d: "M12.0004 0C8.68671 0 5.68671 1.34316 3.51514 3.51469C6.45936 6.45891 7.50453 7.50412 12.0004 12H24.0004C24.0004 5.37262 18.6278 0 12.0004 0Z", fill: "#0052B4" }), _jsx("path", { d: "M8.21723 11.9998L6.75173 11.3104L7.53215 9.89111L5.94074 10.1956L5.73909 8.58789L4.63059 9.77027L3.52213 8.58789L3.32043 10.1956L1.72907 9.89106L2.50949 11.3104L1.04395 11.9998L2.50949 12.6891L1.72907 14.1085L3.32057 13.8041L3.52209 15.4117L4.63059 14.2293L5.73909 15.4117L5.94074 13.8041L7.53205 14.1085L6.75168 12.6892L8.21723 11.9998Z", fill: "#FFDA44" }), _jsx("path", { d: "M3.20082 4.69519L3.68851 5.37689L4.48749 5.12382L3.98977 5.79825L4.47746 6.47996L3.68218 6.21507L3.18451 6.88946L3.19074 6.05133L2.39551 5.78639L3.19463 5.53332L3.20082 4.69519Z", fill: "#FFDA44" }), _jsx("path", { d: "M3.20082 17.1095L3.68851 17.7912L4.48749 17.5381L3.98977 18.2126L4.47746 18.8943L3.68218 18.6294L3.18451 19.3038L3.19074 18.4656L2.39551 18.2007L3.19463 17.9476L3.20082 17.1095Z", fill: "#FFDA44" }), _jsx("path", { d: "M10.1563 10.9032L9.66866 11.5849L8.86963 11.3317L9.36735 12.0062L8.87966 12.688L9.67494 12.423L10.1727 13.0974L10.1664 12.2593L10.9616 11.9944L10.1625 11.7413L10.1563 10.9032Z", fill: "#FFDA44" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_4392_27540", children: _jsx("rect", { width: "24", height: "24", fill: "white" }) }) })] }));
163
+ };
164
+ const MalaysianFlag = (props) => {
165
+ return (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsxs("g", { clipPath: "url(#clip0_4392_27547)", children: [_jsx("path", { d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z", fill: "#F0F0F0" }), _jsx("path", { d: "M11.4783 12.0002H24C24 10.9171 23.8556 9.86791 23.5866 8.86975H11.4783V12.0002Z", fill: "#D80027" }), _jsx("path", { d: "M11.4783 5.73873H22.2387C21.5041 4.54004 20.565 3.48053 19.4698 2.60828H11.4783V5.73873Z", fill: "#D80027" }), _jsx("path", { d: "M12.0001 24.0002C14.8243 24.0002 17.4201 23.024 19.47 21.3915H4.53027C6.58016 23.024 9.17596 24.0002 12.0001 24.0002Z", fill: "#D80027" }), _jsx("path", { d: "M1.76146 18.2601H22.2389C22.8286 17.2978 23.2859 16.2459 23.5868 15.1296H0.413574C0.714371 16.2459 1.17173 17.2978 1.76146 18.2601Z", fill: "#D80027" }), _jsx("path", { d: "M12 12C12 5.37262 12 4.59131 12 0C5.37262 0 0 5.37262 0 12H12Z", fill: "#0052B4" }), _jsx("path", { d: "M7.98001 10.2709C6.34117 10.2709 5.01263 8.94229 5.01263 7.30349C5.01263 5.6647 6.34121 4.33612 7.98001 4.33612C8.491 4.33612 8.97179 4.46535 9.39156 4.69279C8.73306 4.04887 7.8325 3.65137 6.8387 3.65137C4.82171 3.65137 3.18652 5.28651 3.18652 7.30354C3.18652 9.32057 4.82171 10.9557 6.8387 10.9557C7.8325 10.9557 8.73306 10.5582 9.39156 9.91429C8.97179 10.1416 8.49104 10.2709 7.98001 10.2709Z", fill: "#FFDA44" }), _jsx("path", { d: "M8.81671 5.21729L9.34354 6.31894L10.5333 6.04407L10.0005 7.14277L10.9573 7.90153L9.76602 8.17008L9.76935 9.39122L8.81671 8.62725L7.86402 9.39122L7.86731 8.17008L6.67603 7.90153L7.63284 7.14277L7.10001 6.04407L8.28984 6.31894L8.81671 5.21729Z", fill: "#FFDA44" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_4392_27547", children: _jsx("rect", { width: "24", height: "24", fill: "white" }) }) })] }));
166
+ };
167
+ const IndianFlag = (props) => {
168
+ return (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsxs("g", { clipPath: "url(#clip0_4392_27553)", children: [_jsx("path", { d: "M1.19023 6.78213C0.427387 8.35976 -0.000488281 10.1296 -0.000488281 11.9995C-0.000488281 13.8694 0.427387 15.6393 1.19023 17.2169L11.9995 18.2604L22.8088 17.2169C23.5716 15.6393 23.9995 13.8694 23.9995 11.9995C23.9995 10.1296 23.5716 8.35976 22.8088 6.78213L11.9995 5.73865L1.19023 6.78213Z", fill: "#F0F0F0" }), _jsx("path", { d: "M1.19092 17.2183C3.13182 21.2322 7.24225 24.0009 11.9998 24.0009C16.7573 24.0009 20.8677 21.2322 22.8086 17.2183H1.19092Z", fill: "#6DA544" }), _jsx("path", { d: "M1.19092 6.78238H22.8086C20.8677 2.76843 16.7573 -0.000244141 11.9998 -0.000244141C7.24229 -0.000244141 3.13182 2.76843 1.19092 6.78238Z", fill: "#FF9811" }), _jsx("path", { d: "M12.0001 16.1742C14.3052 16.1742 16.174 14.3055 16.174 12.0003C16.174 9.69513 14.3052 7.82642 12.0001 7.82642C9.69489 7.82642 7.82617 9.69513 7.82617 12.0003C7.82617 14.3055 9.69489 16.1742 12.0001 16.1742Z", fill: "#FF9811" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_4392_27553", children: _jsx("rect", { width: "24", height: "24", fill: "white" }) }) })] }));
169
+ };
170
+ const IndonesianFlag = (props) => {
171
+ return (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsxs("g", { clipPath: "url(#clip0_4392_27559)", children: [_jsx("path", { d: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z", fill: "#F0F0F0" }), _jsx("path", { d: "M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12", fill: "#A2001D" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_4392_27559", children: _jsx("rect", { width: "24", height: "24", fill: "white" }) }) })] }));
172
+ };
173
+ const VietnameseFlag = (props) => {
174
+ return (_jsxs("svg", { width: "24", height: "24", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsxs("g", { clipPath: "url(#clip0_10544_106556)", children: [_jsx("path", { d: "M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z", fill: "#D80027" }), _jsx("path", { d: "M10.0003 5.2168L11.0795 8.53825H14.5719L11.7464 10.591L12.8257 13.9125L10.0003 11.8597L7.17488 13.9125L8.2541 10.591L5.42871 8.53825H8.92105L10.0003 5.2168Z", fill: "#FFDA44" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_10544_106556", children: _jsx("rect", { width: "20", height: "20", fill: "white" }) }) })] }));
175
+ };