@opexa/portal-components 0.0.190 → 0.0.193
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.
- package/dist/client/hooks/index.d.ts +65 -0
- package/dist/client/hooks/index.js +65 -0
- package/dist/client/hooks/useCreateLibanganDepositMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateLibanganDepositMutation.js +73 -0
- package/dist/client/hooks/useCreateVentajaWithdrawalMutation.d.ts +4 -0
- package/dist/client/hooks/useCreateVentajaWithdrawalMutation.js +28 -0
- package/dist/client/services/index.d.ts +4 -0
- package/dist/client/services/index.js +4 -0
- package/dist/client/utils/index.d.ts +3 -0
- package/dist/client/utils/index.js +3 -0
- package/dist/components/Bonus/Bonus.client.js +1 -1
- package/dist/components/Cashback/Cashback.client.js +1 -1
- package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +2 -0
- package/dist/components/CashbackBonus/CashbackBonus.client.js +9 -0
- package/dist/components/CashbackBonus/CashbackBonus.d.ts +10 -0
- package/dist/components/CashbackBonus/CashbackBonus.js +5 -0
- package/dist/components/CashbackBonus/index.d.ts +1 -0
- package/dist/components/CashbackBonus/index.js +1 -0
- package/dist/components/CustomPromo/CustomPromo.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +8 -1
- package/dist/components/DepositWithdrawal/Deposit/LibanganDeposit/LibanganDeposit.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/LibanganDeposit/LibanganDeposit.js +175 -0
- package/dist/components/DepositWithdrawal/PaymentMethods.js +7 -1
- package/dist/components/DepositWithdrawal/Withdrawal/VentajaWithdrawal/VentajaWithdrawal.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Withdrawal/VentajaWithdrawal/VentajaWithdrawal.js +154 -0
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +8 -1
- package/dist/components/DepositWithdrawal/utils.d.ts +1 -1
- package/dist/components/DepositWithdrawal/utils.js +2 -0
- package/dist/components/Disclaimer/DisclaimerV2.js +7 -5
- package/dist/components/Empty.d.ts +9 -0
- package/dist/components/Empty.js +7 -0
- package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
- package/dist/components/GameProviders/GameProvidersList.js +1 -1
- package/dist/components/Games/GameContext.d.ts +2 -0
- package/dist/components/Games/GameContext.js +2 -0
- package/dist/components/GamesSearch/GamesSearch.js +1 -1
- package/dist/components/InfiniteScroll.d.ts +10 -0
- package/dist/components/InfiniteScroll.js +25 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +2 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.js +66 -0
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +17 -0
- package/dist/components/JackpotCounter/JackpotCounter.js +21 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +18 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.js +109 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -0
- package/dist/components/JackpotCounter/index.d.ts +1 -0
- package/dist/components/JackpotCounter/index.js +1 -0
- package/dist/components/Jackpots/JackpotDesktop.d.ts +1 -0
- package/dist/components/Jackpots/JackpotDesktop.js +45 -0
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +5 -0
- package/dist/components/Jackpots/JackpotGameProviders.js +41 -0
- package/dist/components/Jackpots/JackpotItemDesktop.d.ts +9 -0
- package/dist/components/Jackpots/JackpotItemDesktop.js +43 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +9 -0
- package/dist/components/Jackpots/JackpotItemMobile.js +44 -0
- package/dist/components/Jackpots/JackpotMobile.d.ts +1 -0
- package/dist/components/Jackpots/JackpotMobile.js +46 -0
- package/dist/components/Jackpots/JackpotRules.d.ts +5 -0
- package/dist/components/Jackpots/JackpotRules.js +11 -0
- package/dist/components/Jackpots/Jackpots.client.d.ts +2 -0
- package/dist/components/Jackpots/Jackpots.client.js +29 -0
- package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsContext.d.ts +4 -0
- package/dist/components/Jackpots/JackpotsContext.js +3 -0
- package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
- package/dist/components/Jackpots/JackpotsList/JackpotsListItemGameProviders.js +1 -1
- package/dist/components/Jackpots/useJackpotData.d.ts +14 -0
- package/dist/components/Jackpots/useJackpotData.js +93 -0
- package/dist/components/Jackpots/useJackpotItemData.d.ts +20 -0
- package/dist/components/Jackpots/useJackpotItemData.js +87 -0
- package/dist/components/KYC/Header.d.ts +1 -0
- package/dist/components/KYC/Header.js +8 -0
- package/dist/components/KYC/Step1.d.ts +1 -0
- package/dist/components/KYC/Step1.js +13 -0
- package/dist/components/KYC/Step2.d.ts +1 -0
- package/dist/components/KYC/Step2.js +13 -0
- package/dist/components/KYC/Step3.d.ts +1 -0
- package/dist/components/KYC/Step3.js +13 -0
- package/dist/components/KYC/Step4.d.ts +1 -0
- package/dist/components/KYC/Step4.js +7 -0
- package/dist/components/KYC/utils.js +18 -18
- package/dist/components/Messages/Message.js +2 -3
- package/dist/components/Messages/MessageItem.d.ts +4 -0
- package/dist/components/Messages/MessageItem.js +34 -0
- package/dist/components/Messages/MessagePopup.js +2 -3
- package/dist/components/News/News.js +1 -1
- package/dist/components/Promo/Promo.client.js +1 -1
- package/dist/components/Promo/PromoContent.d.ts +2 -0
- package/dist/components/Promo/PromoContent.js +9 -0
- package/dist/components/Promos/PromoCarousel.d.ts +2 -0
- package/dist/components/Promos/PromoCarousel.js +41 -0
- package/dist/components/Promos/PromoGrid.d.ts +2 -0
- package/dist/components/Promos/PromoGrid.js +12 -0
- package/dist/components/Promos/PromoItem.d.ts +7 -0
- package/dist/components/Promos/PromoItem.js +10 -0
- package/dist/components/Search/Search.lazy.js +2 -2
- package/dist/components/SignUp/SignUpForm.js +4 -0
- package/dist/components/SignUp/SignUpKYC/ImageUploader.js +2 -1
- package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +2 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.js +50 -0
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +8 -0
- package/dist/components/TournamentCounter/TournamentCounter.js +21 -0
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +8 -0
- package/dist/components/TournamentCounter/TournamentCounterItem.js +106 -0
- package/dist/components/TournamentCounter/index.d.ts +1 -0
- package/dist/components/TournamentCounter/index.js +1 -0
- package/dist/components/Tournaments/TournamentDesktop.d.ts +1 -0
- package/dist/components/Tournaments/TournamentDesktop.js +57 -0
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +5 -0
- package/dist/components/Tournaments/TournamentGameProviders.js +38 -0
- package/dist/components/Tournaments/TournamentItemDesktop.d.ts +7 -0
- package/dist/components/Tournaments/TournamentItemDesktop.js +56 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +7 -0
- package/dist/components/Tournaments/TournamentItemMobile.js +54 -0
- package/dist/components/Tournaments/TournamentMobile.d.ts +1 -0
- package/dist/components/Tournaments/TournamentMobile.js +55 -0
- package/dist/components/Tournaments/TournamentRules.d.ts +5 -0
- package/dist/components/Tournaments/TournamentRules.js +11 -0
- package/dist/components/Tournaments/Tournaments.client.d.ts +2 -0
- package/dist/components/Tournaments/Tournaments.client.js +20 -0
- package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsContext.d.ts +4 -0
- package/dist/components/Tournaments/TournamentsContext.js +3 -0
- package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
- package/dist/components/Tournaments/TournamentsList/TournamentsListItemGameProviders.js +1 -1
- package/dist/components/Tournaments/useTournamentData.d.ts +10 -0
- package/dist/components/Tournaments/useTournamentData.js +72 -0
- package/dist/components/Tournaments/useTournamentItemData.d.ts +16 -0
- package/dist/components/Tournaments/useTournamentItemData.js +64 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +33 -0
- package/dist/constants/GameProvider.d.ts +1 -1
- package/dist/constants/GameProvider.js +8 -0
- package/dist/constants/endpoints.d.ts +10 -0
- package/dist/constants/endpoints.js +41 -0
- package/dist/constants/envVars.d.ts +5 -0
- package/dist/constants/envVars.js +28 -0
- package/dist/constants/gameProviders.d.ts +4 -0
- package/dist/constants/gameProviders.js +368 -0
- package/dist/constants/gameTypes.d.ts +3 -0
- package/dist/constants/gameTypes.js +64 -0
- package/dist/constants/headerKeys.d.ts +2 -0
- package/dist/constants/headerKeys.js +2 -0
- package/dist/constants/secretQuestions.d.ts +3 -0
- package/dist/constants/secretQuestions.js +24 -0
- package/dist/constants/storageKeys.d.ts +2 -0
- package/dist/constants/storageKeys.js +2 -0
- package/dist/icons/index.d.ts +65 -0
- package/dist/icons/index.js +65 -0
- package/dist/images/game-providers/BNG.png +0 -0
- package/dist/images/hacksaw-gaming.png +0 -0
- package/dist/images/libangan.png +0 -0
- package/dist/server/services/index.d.ts +4 -0
- package/dist/server/services/index.js +4 -0
- package/dist/server/utils/index.d.ts +29 -0
- package/dist/server/utils/index.js +29 -0
- package/dist/services/queries.d.ts +4 -2
- package/dist/services/queries.js +2436 -2361
- package/dist/services/wallet.d.ts +33 -0
- package/dist/services/wallet.js +21 -1
- package/dist/styles/theme.css +693 -693
- package/dist/types/index.d.ts +3 -1
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +14 -14
- package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
- package/dist/ui/Dialog/dialog.recipe.d.ts +14 -14
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Menu/menu.recipe.d.ts +20 -20
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
- package/dist/ui/Popover/popover.recipe.d.ts +8 -8
- package/dist/ui/Presence.d.ts +2 -0
- package/dist/ui/Presence.js +7 -0
- package/dist/ui/Prose.d.ts +2 -0
- package/dist/ui/Prose.js +5 -0
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Table/table.anatomy.d.ts +1 -1
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +5 -5
- package/dist/ui/index.d.ts +26 -0
- package/dist/ui/index.js +26 -0
- package/dist/utils/createErrorFromCode.d.ts +2 -0
- package/dist/utils/createErrorFromCode.js +11 -0
- package/dist/utils/index.d.ts +17 -0
- package/dist/utils/index.js +17 -0
- package/dist/utils/isMobile.d.ts +5 -0
- package/dist/utils/isMobile.js +9 -0
- package/dist/utils/mutationKeys.d.ts +2 -0
- package/dist/utils/mutationKeys.js +8 -0
- package/dist/utils/resizeImageSize.d.ts +0 -1
- package/dist/utils/resizeImageSize.js +0 -5
- package/package.json +164 -164
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
- package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
- package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
- package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
- package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
package/dist/ui/Prose.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { twMerge } from 'tailwind-merge';
|
|
3
|
+
export function Prose(props) {
|
|
4
|
+
return (_jsx("div", { ...props, className: twMerge('prose', 'prose-invert', 'max-w-none', 'prose-h1:text-text-primary-900', 'prose-h2:text-text-primary-900', 'prose-h3:text-text-primary-900', 'prose-h4:text-text-primary-900', 'prose-h5:text-text-primary-900', 'prose-h6:text-text-primary-900', 'prose-h1:text-4xl', 'prose-h2:text-3xl', 'prose-h3:text-2xl', 'prose-h4:text-xl', 'prose-h5:text-lg', 'prose-h6:text-base', 'prose-headings:font-semibold', 'prose-p:text-text-secondary-700', 'prose-ul:text-text-secondary-700', 'prose-ol:text-text-secondary-700', 'prose-li:text-text-secondary-700', 'prose-li:marker:text-text-secondary-700', 'prose-strong:text-text-secondary-700', 'prose-ul:text-text-secondary-700', 'prose-em:text-text-secondary-700', 'prose-b:text-text-secondary-700', 'prose-u:text-text-secondary-700', 'prose-img:block', 'prose-img:w-full', 'prose-img:h-auto', 'prose-strong:font-medium', 'prose-b:font-medium', props.className) }));
|
|
5
|
+
}
|
|
@@ -10,7 +10,7 @@ export declare const segmentGroupRecipe: import("tailwind-variants").TVReturnTyp
|
|
|
10
10
|
indicator: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
}, Record<"label" | "root" | "
|
|
13
|
+
}, Record<"label" | "root" | "item" | "indicator" | "itemControl" | "itemText", string | string[]>, undefined, {
|
|
14
14
|
size: {
|
|
15
15
|
md: {};
|
|
16
16
|
};
|
|
@@ -22,7 +22,7 @@ export declare const segmentGroupRecipe: import("tailwind-variants").TVReturnTyp
|
|
|
22
22
|
indicator: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
}, Record<"label" | "root" | "
|
|
25
|
+
}, Record<"label" | "root" | "item" | "indicator" | "itemControl" | "itemText", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
26
26
|
size: {
|
|
27
27
|
md: {};
|
|
28
28
|
};
|
|
@@ -34,4 +34,4 @@ export declare const segmentGroupRecipe: import("tailwind-variants").TVReturnTyp
|
|
|
34
34
|
indicator: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
}, Record<"label" | "root" | "
|
|
37
|
+
}, Record<"label" | "root" | "item" | "indicator" | "itemControl" | "itemText", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -14,7 +14,7 @@ export declare const selectRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
14
14
|
trigger: string;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
}, Record<"
|
|
17
|
+
}, Record<"label" | "root" | "item" | "indicator" | "itemText" | "content" | "trigger" | "control" | "positioner" | "clearTrigger" | "list" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "valueText", string | string[]>, undefined, {
|
|
18
18
|
size: {
|
|
19
19
|
sm: {
|
|
20
20
|
trigger: string;
|
|
@@ -30,7 +30,7 @@ export declare const selectRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
30
30
|
trigger: string;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
|
-
}, Record<"
|
|
33
|
+
}, Record<"label" | "root" | "item" | "indicator" | "itemText" | "content" | "trigger" | "control" | "positioner" | "clearTrigger" | "list" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "valueText", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
34
34
|
size: {
|
|
35
35
|
sm: {
|
|
36
36
|
trigger: string;
|
|
@@ -46,4 +46,4 @@ export declare const selectRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
46
46
|
trigger: string;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
}, Record<"
|
|
49
|
+
}, Record<"label" | "root" | "item" | "indicator" | "itemText" | "content" | "trigger" | "control" | "positioner" | "clearTrigger" | "list" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "valueText", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "root" | "
|
|
1
|
+
export declare const tableAnatomy: import("@ark-ui/react/anatomy").AnatomyInstance<"body" | "root" | "footer" | "header" | "row" | "cell" | "heading">;
|
|
@@ -12,7 +12,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
body: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
}, Record<"body" | "root" | "
|
|
15
|
+
}, Record<"body" | "root" | "footer" | "header" | "row" | "cell" | "heading", 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" | "root" | "
|
|
29
|
+
}, Record<"body" | "root" | "footer" | "header" | "row" | "cell" | "heading", 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" | "root" | "
|
|
43
|
+
}, Record<"body" | "root" | "footer" | "header" | "row" | "cell" | "heading", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -10,7 +10,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
10
10
|
trigger: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
}, Record<"
|
|
13
|
+
}, Record<"root" | "indicator" | "content" | "trigger" | "list", 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<"
|
|
25
|
+
}, Record<"root" | "indicator" | "content" | "trigger" | "list", 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<"
|
|
37
|
+
}, Record<"root" | "indicator" | "content" | "trigger" | "list", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -3,9 +3,9 @@ export declare const tooltipRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
3
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
4
|
content?: import("tailwind-variants").ClassValue;
|
|
5
5
|
trigger?: import("tailwind-variants").ClassValue;
|
|
6
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
6
7
|
arrow?: import("tailwind-variants").ClassValue;
|
|
7
8
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
8
|
-
positioner?: import("tailwind-variants").ClassValue;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
} | {
|
|
@@ -13,19 +13,19 @@ export declare const tooltipRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
13
13
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
14
14
|
content?: import("tailwind-variants").ClassValue;
|
|
15
15
|
trigger?: import("tailwind-variants").ClassValue;
|
|
16
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
16
17
|
arrow?: import("tailwind-variants").ClassValue;
|
|
17
18
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
18
|
-
positioner?: import("tailwind-variants").ClassValue;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
} | {}, Record<"content" | "trigger" | "
|
|
21
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, {
|
|
22
22
|
[key: string]: {
|
|
23
23
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
24
24
|
content?: import("tailwind-variants").ClassValue;
|
|
25
25
|
trigger?: import("tailwind-variants").ClassValue;
|
|
26
|
+
positioner?: import("tailwind-variants").ClassValue;
|
|
26
27
|
arrow?: import("tailwind-variants").ClassValue;
|
|
27
28
|
arrowTip?: import("tailwind-variants").ClassValue;
|
|
28
|
-
positioner?: import("tailwind-variants").ClassValue;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
} | {}, Record<"content" | "trigger" | "
|
|
31
|
+
} | {}, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "trigger" | "positioner" | "arrow" | "arrowTip", string | string[]>, undefined, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './AlertDialog';
|
|
2
|
+
export * from './Avatar';
|
|
3
|
+
export * from './Badge';
|
|
4
|
+
export * from './Button';
|
|
5
|
+
export * from './Checkbox';
|
|
6
|
+
export * from './Clipboard';
|
|
7
|
+
export * from './Collapsible';
|
|
8
|
+
export * from './Combobox';
|
|
9
|
+
export * from './DatePicker';
|
|
10
|
+
export * from './Dialog';
|
|
11
|
+
export * from './Drawer';
|
|
12
|
+
export * from './Field';
|
|
13
|
+
export * from './IconButton';
|
|
14
|
+
export * from './Menu';
|
|
15
|
+
export * from './NumberInput';
|
|
16
|
+
export * from './PasswordInput';
|
|
17
|
+
export * from './PinInput';
|
|
18
|
+
export * from './Popover';
|
|
19
|
+
export * from './Presence';
|
|
20
|
+
export * from './Progress';
|
|
21
|
+
export * from './Prose';
|
|
22
|
+
export * from './SegmentGroup';
|
|
23
|
+
export * from './Select';
|
|
24
|
+
export * from './Table';
|
|
25
|
+
export * from './Tabs';
|
|
26
|
+
export * from './Tooltip';
|
package/dist/ui/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from './AlertDialog/index.js';
|
|
2
|
+
export * from './Avatar/index.js';
|
|
3
|
+
export * from './Badge/index.js';
|
|
4
|
+
export * from './Button/index.js';
|
|
5
|
+
export * from './Checkbox/index.js';
|
|
6
|
+
export * from './Clipboard/index.js';
|
|
7
|
+
export * from './Collapsible/index.js';
|
|
8
|
+
export * from './Combobox/index.js';
|
|
9
|
+
export * from './DatePicker/index.js';
|
|
10
|
+
export * from './Dialog/index.js';
|
|
11
|
+
export * from './Drawer/index.js';
|
|
12
|
+
export * from './Field/index.js';
|
|
13
|
+
export * from './IconButton/index.js';
|
|
14
|
+
export * from './Menu/index.js';
|
|
15
|
+
export * from './NumberInput/index.js';
|
|
16
|
+
export * from './PasswordInput/index.js';
|
|
17
|
+
export * from './PinInput/index.js';
|
|
18
|
+
export * from './Popover/index.js';
|
|
19
|
+
export * from './Presence.js';
|
|
20
|
+
export * from './Progress/index.js';
|
|
21
|
+
export * from './Prose.js';
|
|
22
|
+
export * from './SegmentGroup/index.js';
|
|
23
|
+
export * from './Select/index.js';
|
|
24
|
+
export * from './Table/index.js';
|
|
25
|
+
export * from './Tabs/index.js';
|
|
26
|
+
export * from './Tooltip/index.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// ✏️ TODO
|
|
2
|
+
const ERROR_CODES_MAP = {
|
|
3
|
+
'': '',
|
|
4
|
+
};
|
|
5
|
+
export function createErrorFromCode(name, message) {
|
|
6
|
+
const error = new Error();
|
|
7
|
+
error.name = name;
|
|
8
|
+
error.message = ERROR_CODES_MAP[name] ?? message ?? 'Something went wrong';
|
|
9
|
+
Error.captureStackTrace?.(error, createErrorFromCode);
|
|
10
|
+
return error;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './anatomyToRecipeSlots';
|
|
2
|
+
export * from './callIfFn';
|
|
3
|
+
export * from './capitalize';
|
|
4
|
+
export * from './createPoll';
|
|
5
|
+
export * from './createSplitProps';
|
|
6
|
+
export * from './dataAttr';
|
|
7
|
+
export * from './formatNumber';
|
|
8
|
+
export * from './getGameImageUrl';
|
|
9
|
+
export * from './getGameProviderData';
|
|
10
|
+
export * from './getGameTypeData';
|
|
11
|
+
export * from './getLocaleInfo';
|
|
12
|
+
export * from './getPercentage';
|
|
13
|
+
export * from './getQueryClient';
|
|
14
|
+
export * from './isMobile';
|
|
15
|
+
export * from './mask';
|
|
16
|
+
export * from './parseDecimal';
|
|
17
|
+
export * from './queryKeys';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './anatomyToRecipeSlots.js';
|
|
2
|
+
export * from './callIfFn.js';
|
|
3
|
+
export * from './capitalize.js';
|
|
4
|
+
export * from './createPoll.js';
|
|
5
|
+
export * from './createSplitProps.js';
|
|
6
|
+
export * from './dataAttr.js';
|
|
7
|
+
export * from './formatNumber.js';
|
|
8
|
+
export * from './getGameImageUrl.js';
|
|
9
|
+
export * from './getGameProviderData.js';
|
|
10
|
+
export * from './getGameTypeData.js';
|
|
11
|
+
export * from './getLocaleInfo.js';
|
|
12
|
+
export * from './getPercentage.js';
|
|
13
|
+
export * from './getQueryClient.js';
|
|
14
|
+
export * from './isMobile.js';
|
|
15
|
+
export * from './mask.js';
|
|
16
|
+
export * from './parseDecimal.js';
|
|
17
|
+
export * from './queryKeys.js';
|
|
@@ -10,10 +10,12 @@ export declare const getCreateMayaAppDepositMutationKey: () => MutationKey;
|
|
|
10
10
|
export declare const getCreateMayaDepositMutationKey: () => MutationKey;
|
|
11
11
|
export declare const getCreateOnlineBankDepositMutationKey: () => MutationKey;
|
|
12
12
|
export declare const getCreateQRPHDepositMutationKey: () => MutationKey;
|
|
13
|
+
export declare const getCreateLibanganDepositMutationKey: () => MutationKey;
|
|
13
14
|
export declare const getCreateGCashWithdrawalMutationKey: () => MutationKey;
|
|
14
15
|
export declare const getCreateMayaWithdrawalMutationKey: () => MutationKey;
|
|
15
16
|
export declare const getCreateMayaAppWithdrawalMutationKey: () => MutationKey;
|
|
16
17
|
export declare const getCreateInstapayWithdrawalMutationKey: () => MutationKey;
|
|
18
|
+
export declare const getCreateVentajaWithdrawalMutationKey: () => MutationKey;
|
|
17
19
|
export declare const getMarkMessageAsReadMutationKey: () => MutationKey;
|
|
18
20
|
export declare const getCreateMemberVerificationQueryKey: () => MutationKey;
|
|
19
21
|
export declare const getApproveMemberVerificationQueryKey: () => MutationKey;
|
|
@@ -43,6 +43,10 @@ export const getCreateQRPHDepositMutationKey = () => [
|
|
|
43
43
|
PARENT_KEY,
|
|
44
44
|
'createQRPHDeposit',
|
|
45
45
|
];
|
|
46
|
+
export const getCreateLibanganDepositMutationKey = () => [
|
|
47
|
+
PARENT_KEY,
|
|
48
|
+
'createLibanganDeposit',
|
|
49
|
+
];
|
|
46
50
|
export const getCreateGCashWithdrawalMutationKey = () => [
|
|
47
51
|
PARENT_KEY,
|
|
48
52
|
'createGCashWithdrawal',
|
|
@@ -59,6 +63,10 @@ export const getCreateInstapayWithdrawalMutationKey = () => [
|
|
|
59
63
|
PARENT_KEY,
|
|
60
64
|
'createInstapayWithdrawal',
|
|
61
65
|
];
|
|
66
|
+
export const getCreateVentajaWithdrawalMutationKey = () => [
|
|
67
|
+
PARENT_KEY,
|
|
68
|
+
'createVentajaWithdrawal',
|
|
69
|
+
];
|
|
62
70
|
export const getMarkMessageAsReadMutationKey = () => [
|
|
63
71
|
PARENT_KEY,
|
|
64
72
|
'markMessageAsRead',
|
|
@@ -4,8 +4,3 @@ export const resizeFile = (file) => new Promise((resolve) => {
|
|
|
4
4
|
resolve(uri);
|
|
5
5
|
}, 'file');
|
|
6
6
|
});
|
|
7
|
-
export const resizeFileBase64 = (file) => new Promise((resolve) => {
|
|
8
|
-
Resizer.imageFileResizer(file, 1200, 300, 'WEBP', 100, 0, (uri) => {
|
|
9
|
-
resolve(uri);
|
|
10
|
-
}, 'base64');
|
|
11
|
-
});
|