@opexa/portal-components 0.0.796 → 0.0.797

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 (41) hide show
  1. package/dist/components/AccountInfo/GoogleDisconnect.d.ts +7 -0
  2. package/dist/components/AccountInfo/GoogleDisconnect.js +11 -0
  3. package/dist/components/DepositWithdrawal/Deposit/GCashWebpayDeposit /GCashWebpayDeposit .d.ts +1 -0
  4. package/dist/components/DepositWithdrawal/Deposit/GCashWebpayDeposit /GCashWebpayDeposit .js +191 -0
  5. package/dist/components/Jackpots/Jackpots.module.css +0 -2
  6. package/dist/components/Jackpots/JackpotsCarouselNext/JackpotsCarousel.d.ts +1 -0
  7. package/dist/components/Jackpots/JackpotsCarouselNext/JackpotsCarouselItem.js +2 -2
  8. package/dist/components/Jackpots/JackpotsCarouselNext/JackpotsCarouselStageItem.js +3 -9
  9. package/dist/components/Jackpots/JackpotsListNext/JackpotMultiStageDesktop.js +1 -7
  10. package/dist/components/Jackpots/JackpotsListNext/JackpotsListItemDesktop.js +1 -1
  11. package/dist/components/KYC/KYCVerificationStatus.lazy.js +4 -7
  12. package/dist/components/PortalProvider/CXDTokenObserver.js +11 -11
  13. package/dist/icons/LinkBrokenIcon.d.ts +2 -0
  14. package/dist/icons/LinkBrokenIcon.js +4 -0
  15. package/dist/ui/Menu/Menu.d.ts +144 -144
  16. package/dist/ui/Menu/menu.recipe.d.ts +8 -8
  17. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  18. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  19. package/package.json +1 -1
  20. package/dist/components/Banner/Banner.client.d.ts +0 -12
  21. package/dist/components/Banner/Banner.client.js +0 -49
  22. package/dist/components/PortalProvider/AndroidOnlyComponents.d.ts +0 -1
  23. package/dist/components/PortalProvider/AndroidOnlyComponents.js +0 -12
  24. package/dist/components/SignIn/utils.d.ts +0 -8
  25. package/dist/components/SignIn/utils.js +0 -26
  26. package/dist/constants/Branches.d.ts +0 -2
  27. package/dist/constants/Branches.js +0 -42
  28. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +0 -4
  29. package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -4
  30. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  31. package/dist/third-parties/FacebookPixel/api.js +0 -1
  32. package/dist/third-parties/FacebookPixel/index.d.ts +0 -1
  33. package/dist/third-parties/FacebookPixel/index.js +0 -1
  34. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +0 -4
  35. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -4
  36. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  37. package/dist/third-parties/GoogleRecaptcha/api.js +0 -1
  38. package/dist/third-parties/GoogleRecaptcha/index.d.ts +0 -1
  39. package/dist/third-parties/GoogleRecaptcha/index.js +0 -1
  40. package/dist/third-parties/index.d.ts +0 -2
  41. package/dist/third-parties/index.js +0 -2
@@ -6,13 +6,13 @@ export declare const menuRecipe: import("tailwind-variants").TVReturnType<{
6
6
  item?: import("tailwind-variants").ClassValue;
7
7
  trigger?: import("tailwind-variants").ClassValue;
8
8
  positioner?: import("tailwind-variants").ClassValue;
9
+ arrow?: import("tailwind-variants").ClassValue;
10
+ arrowTip?: import("tailwind-variants").ClassValue;
9
11
  separator?: import("tailwind-variants").ClassValue;
10
12
  itemText?: import("tailwind-variants").ClassValue;
11
13
  itemIndicator?: import("tailwind-variants").ClassValue;
12
14
  itemGroup?: import("tailwind-variants").ClassValue;
13
15
  itemGroupLabel?: import("tailwind-variants").ClassValue;
14
- arrow?: import("tailwind-variants").ClassValue;
15
- arrowTip?: import("tailwind-variants").ClassValue;
16
16
  contextTrigger?: import("tailwind-variants").ClassValue;
17
17
  triggerItem?: import("tailwind-variants").ClassValue;
18
18
  };
@@ -25,18 +25,18 @@ export declare const menuRecipe: import("tailwind-variants").TVReturnType<{
25
25
  item?: import("tailwind-variants").ClassValue;
26
26
  trigger?: import("tailwind-variants").ClassValue;
27
27
  positioner?: import("tailwind-variants").ClassValue;
28
+ arrow?: import("tailwind-variants").ClassValue;
29
+ arrowTip?: import("tailwind-variants").ClassValue;
28
30
  separator?: import("tailwind-variants").ClassValue;
29
31
  itemText?: import("tailwind-variants").ClassValue;
30
32
  itemIndicator?: import("tailwind-variants").ClassValue;
31
33
  itemGroup?: import("tailwind-variants").ClassValue;
32
34
  itemGroupLabel?: import("tailwind-variants").ClassValue;
33
- arrow?: import("tailwind-variants").ClassValue;
34
- arrowTip?: import("tailwind-variants").ClassValue;
35
35
  contextTrigger?: import("tailwind-variants").ClassValue;
36
36
  triggerItem?: import("tailwind-variants").ClassValue;
37
37
  };
38
38
  };
39
- } | {}, Record<"content" | "indicator" | "item" | "trigger" | "positioner" | "separator" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "arrow" | "arrowTip" | "contextTrigger" | "triggerItem", string | string[]>, undefined, {
39
+ } | {}, Record<"content" | "indicator" | "item" | "trigger" | "positioner" | "arrow" | "arrowTip" | "separator" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, undefined, {
40
40
  [key: string]: {
41
41
  [key: string]: import("tailwind-variants").ClassValue | {
42
42
  content?: import("tailwind-variants").ClassValue;
@@ -44,15 +44,15 @@ export declare const menuRecipe: import("tailwind-variants").TVReturnType<{
44
44
  item?: import("tailwind-variants").ClassValue;
45
45
  trigger?: import("tailwind-variants").ClassValue;
46
46
  positioner?: import("tailwind-variants").ClassValue;
47
+ arrow?: import("tailwind-variants").ClassValue;
48
+ arrowTip?: import("tailwind-variants").ClassValue;
47
49
  separator?: import("tailwind-variants").ClassValue;
48
50
  itemText?: import("tailwind-variants").ClassValue;
49
51
  itemIndicator?: import("tailwind-variants").ClassValue;
50
52
  itemGroup?: import("tailwind-variants").ClassValue;
51
53
  itemGroupLabel?: import("tailwind-variants").ClassValue;
52
- arrow?: import("tailwind-variants").ClassValue;
53
- arrowTip?: import("tailwind-variants").ClassValue;
54
54
  contextTrigger?: import("tailwind-variants").ClassValue;
55
55
  triggerItem?: import("tailwind-variants").ClassValue;
56
56
  };
57
57
  };
58
- } | {}, Record<"content" | "indicator" | "item" | "trigger" | "positioner" | "separator" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "arrow" | "arrowTip" | "contextTrigger" | "triggerItem", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "indicator" | "item" | "trigger" | "positioner" | "separator" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "arrow" | "arrowTip" | "contextTrigger" | "triggerItem", string | string[]>, undefined, unknown, unknown, undefined>>;
58
+ } | {}, Record<"content" | "indicator" | "item" | "trigger" | "positioner" | "arrow" | "arrowTip" | "separator" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"content" | "indicator" | "item" | "trigger" | "positioner" | "arrow" | "arrowTip" | "separator" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem", string | string[]>, undefined, unknown, unknown, undefined>>;
@@ -4,8 +4,8 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
4
4
  [key: string]: import("tailwind-variants").ClassValue | {
5
5
  root?: import("tailwind-variants").ClassValue;
6
6
  pattern?: import("tailwind-variants").ClassValue;
7
- frame?: import("tailwind-variants").ClassValue;
8
7
  overlay?: import("tailwind-variants").ClassValue;
8
+ frame?: import("tailwind-variants").ClassValue;
9
9
  downloadTrigger?: import("tailwind-variants").ClassValue;
10
10
  };
11
11
  };
@@ -14,29 +14,29 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
14
14
  [x: string]: import("tailwind-variants").ClassValue | {
15
15
  root?: import("tailwind-variants").ClassValue;
16
16
  pattern?: import("tailwind-variants").ClassValue;
17
- frame?: import("tailwind-variants").ClassValue;
18
17
  overlay?: import("tailwind-variants").ClassValue;
18
+ frame?: import("tailwind-variants").ClassValue;
19
19
  downloadTrigger?: import("tailwind-variants").ClassValue;
20
20
  };
21
21
  };
22
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
22
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
23
23
  [key: string]: {
24
24
  [key: string]: import("tailwind-variants").ClassValue | {
25
25
  root?: import("tailwind-variants").ClassValue;
26
26
  pattern?: import("tailwind-variants").ClassValue;
27
- frame?: import("tailwind-variants").ClassValue;
28
27
  overlay?: import("tailwind-variants").ClassValue;
28
+ frame?: import("tailwind-variants").ClassValue;
29
29
  downloadTrigger?: import("tailwind-variants").ClassValue;
30
30
  };
31
31
  };
32
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
32
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
33
33
  export declare const DownloadTrigger: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.DownloadTriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
34
34
  [key: string]: {
35
35
  [key: string]: import("tailwind-variants").ClassValue | {
36
36
  root?: import("tailwind-variants").ClassValue;
37
37
  pattern?: import("tailwind-variants").ClassValue;
38
- frame?: import("tailwind-variants").ClassValue;
39
38
  overlay?: import("tailwind-variants").ClassValue;
39
+ frame?: import("tailwind-variants").ClassValue;
40
40
  downloadTrigger?: import("tailwind-variants").ClassValue;
41
41
  };
42
42
  };
@@ -45,29 +45,29 @@ export declare const DownloadTrigger: import("react").ComponentType<import("@ark
45
45
  [x: string]: import("tailwind-variants").ClassValue | {
46
46
  root?: import("tailwind-variants").ClassValue;
47
47
  pattern?: import("tailwind-variants").ClassValue;
48
- frame?: import("tailwind-variants").ClassValue;
49
48
  overlay?: import("tailwind-variants").ClassValue;
49
+ frame?: import("tailwind-variants").ClassValue;
50
50
  downloadTrigger?: import("tailwind-variants").ClassValue;
51
51
  };
52
52
  };
53
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
53
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
54
54
  [key: string]: {
55
55
  [key: string]: import("tailwind-variants").ClassValue | {
56
56
  root?: import("tailwind-variants").ClassValue;
57
57
  pattern?: import("tailwind-variants").ClassValue;
58
- frame?: import("tailwind-variants").ClassValue;
59
58
  overlay?: import("tailwind-variants").ClassValue;
59
+ frame?: import("tailwind-variants").ClassValue;
60
60
  downloadTrigger?: import("tailwind-variants").ClassValue;
61
61
  };
62
62
  };
63
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
63
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
64
64
  export declare const Frame: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.FrameProps & import("react").RefAttributes<SVGSVGElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
65
65
  [key: string]: {
66
66
  [key: string]: import("tailwind-variants").ClassValue | {
67
67
  root?: import("tailwind-variants").ClassValue;
68
68
  pattern?: import("tailwind-variants").ClassValue;
69
- frame?: import("tailwind-variants").ClassValue;
70
69
  overlay?: import("tailwind-variants").ClassValue;
70
+ frame?: import("tailwind-variants").ClassValue;
71
71
  downloadTrigger?: import("tailwind-variants").ClassValue;
72
72
  };
73
73
  };
@@ -76,29 +76,29 @@ export declare const Frame: import("react").ComponentType<import("@ark-ui/react"
76
76
  [x: string]: import("tailwind-variants").ClassValue | {
77
77
  root?: import("tailwind-variants").ClassValue;
78
78
  pattern?: import("tailwind-variants").ClassValue;
79
- frame?: import("tailwind-variants").ClassValue;
80
79
  overlay?: import("tailwind-variants").ClassValue;
80
+ frame?: import("tailwind-variants").ClassValue;
81
81
  downloadTrigger?: import("tailwind-variants").ClassValue;
82
82
  };
83
83
  };
84
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
84
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
85
85
  [key: string]: {
86
86
  [key: string]: import("tailwind-variants").ClassValue | {
87
87
  root?: import("tailwind-variants").ClassValue;
88
88
  pattern?: import("tailwind-variants").ClassValue;
89
- frame?: import("tailwind-variants").ClassValue;
90
89
  overlay?: import("tailwind-variants").ClassValue;
90
+ frame?: import("tailwind-variants").ClassValue;
91
91
  downloadTrigger?: import("tailwind-variants").ClassValue;
92
92
  };
93
93
  };
94
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
94
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
95
95
  export declare const Overlay: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.OverlayProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
96
96
  [key: string]: {
97
97
  [key: string]: import("tailwind-variants").ClassValue | {
98
98
  root?: import("tailwind-variants").ClassValue;
99
99
  pattern?: import("tailwind-variants").ClassValue;
100
- frame?: import("tailwind-variants").ClassValue;
101
100
  overlay?: import("tailwind-variants").ClassValue;
101
+ frame?: import("tailwind-variants").ClassValue;
102
102
  downloadTrigger?: import("tailwind-variants").ClassValue;
103
103
  };
104
104
  };
@@ -107,29 +107,29 @@ export declare const Overlay: import("react").ComponentType<import("@ark-ui/reac
107
107
  [x: string]: import("tailwind-variants").ClassValue | {
108
108
  root?: import("tailwind-variants").ClassValue;
109
109
  pattern?: import("tailwind-variants").ClassValue;
110
- frame?: import("tailwind-variants").ClassValue;
111
110
  overlay?: import("tailwind-variants").ClassValue;
111
+ frame?: import("tailwind-variants").ClassValue;
112
112
  downloadTrigger?: import("tailwind-variants").ClassValue;
113
113
  };
114
114
  };
115
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
115
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
116
116
  [key: string]: {
117
117
  [key: string]: import("tailwind-variants").ClassValue | {
118
118
  root?: import("tailwind-variants").ClassValue;
119
119
  pattern?: import("tailwind-variants").ClassValue;
120
- frame?: import("tailwind-variants").ClassValue;
121
120
  overlay?: import("tailwind-variants").ClassValue;
121
+ frame?: import("tailwind-variants").ClassValue;
122
122
  downloadTrigger?: import("tailwind-variants").ClassValue;
123
123
  };
124
124
  };
125
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
125
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
126
126
  export declare const Pattern: import("react").ComponentType<import("@ark-ui/react").Assign<QrCode.PatternProps & import("react").RefAttributes<SVGPathElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
127
127
  [key: string]: {
128
128
  [key: string]: import("tailwind-variants").ClassValue | {
129
129
  root?: import("tailwind-variants").ClassValue;
130
130
  pattern?: import("tailwind-variants").ClassValue;
131
- frame?: import("tailwind-variants").ClassValue;
132
131
  overlay?: import("tailwind-variants").ClassValue;
132
+ frame?: import("tailwind-variants").ClassValue;
133
133
  downloadTrigger?: import("tailwind-variants").ClassValue;
134
134
  };
135
135
  };
@@ -138,20 +138,20 @@ export declare const Pattern: import("react").ComponentType<import("@ark-ui/reac
138
138
  [x: string]: import("tailwind-variants").ClassValue | {
139
139
  root?: import("tailwind-variants").ClassValue;
140
140
  pattern?: import("tailwind-variants").ClassValue;
141
- frame?: import("tailwind-variants").ClassValue;
142
141
  overlay?: import("tailwind-variants").ClassValue;
142
+ frame?: import("tailwind-variants").ClassValue;
143
143
  downloadTrigger?: import("tailwind-variants").ClassValue;
144
144
  };
145
145
  };
146
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
146
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
147
147
  [key: string]: {
148
148
  [key: string]: import("tailwind-variants").ClassValue | {
149
149
  root?: import("tailwind-variants").ClassValue;
150
150
  pattern?: import("tailwind-variants").ClassValue;
151
- frame?: import("tailwind-variants").ClassValue;
152
151
  overlay?: import("tailwind-variants").ClassValue;
152
+ frame?: import("tailwind-variants").ClassValue;
153
153
  downloadTrigger?: import("tailwind-variants").ClassValue;
154
154
  };
155
155
  };
156
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
156
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
157
157
  export declare const Context: (props: QrCode.ContextProps) => import("react").ReactNode;
@@ -3,8 +3,8 @@ export declare const qrCodeRecipe: import("tailwind-variants").TVReturnType<{
3
3
  [key: string]: import("tailwind-variants").ClassValue | {
4
4
  root?: import("tailwind-variants").ClassValue;
5
5
  pattern?: import("tailwind-variants").ClassValue;
6
- frame?: import("tailwind-variants").ClassValue;
7
6
  overlay?: import("tailwind-variants").ClassValue;
7
+ frame?: import("tailwind-variants").ClassValue;
8
8
  downloadTrigger?: import("tailwind-variants").ClassValue;
9
9
  };
10
10
  };
@@ -13,19 +13,19 @@ export declare const qrCodeRecipe: import("tailwind-variants").TVReturnType<{
13
13
  [x: string]: import("tailwind-variants").ClassValue | {
14
14
  root?: import("tailwind-variants").ClassValue;
15
15
  pattern?: import("tailwind-variants").ClassValue;
16
- frame?: import("tailwind-variants").ClassValue;
17
16
  overlay?: import("tailwind-variants").ClassValue;
17
+ frame?: import("tailwind-variants").ClassValue;
18
18
  downloadTrigger?: import("tailwind-variants").ClassValue;
19
19
  };
20
20
  };
21
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, {
21
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, {
22
22
  [key: string]: {
23
23
  [key: string]: import("tailwind-variants").ClassValue | {
24
24
  root?: import("tailwind-variants").ClassValue;
25
25
  pattern?: import("tailwind-variants").ClassValue;
26
- frame?: import("tailwind-variants").ClassValue;
27
26
  overlay?: import("tailwind-variants").ClassValue;
27
+ frame?: import("tailwind-variants").ClassValue;
28
28
  downloadTrigger?: import("tailwind-variants").ClassValue;
29
29
  };
30
30
  };
31
- } | {}, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "frame" | "overlay" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>;
31
+ } | {}, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, import("tailwind-variants").TVReturnType<unknown, Record<"root" | "pattern" | "overlay" | "frame" | "downloadTrigger", string | string[]>, undefined, unknown, unknown, undefined>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.796",
3
+ "version": "0.0.797",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",
@@ -1,12 +0,0 @@
1
- import type { ImageProps } from 'next/image';
2
- export interface BannerEntry {
3
- src: ImageProps['src'];
4
- redirectUrl?: string;
5
- }
6
- export interface BannerProps {
7
- banners: BannerEntry[];
8
- imageWidth?: number | [mobile: number, desktop: number];
9
- imageHeight?: number | [mobile: number, desktop: number];
10
- className?: string;
11
- }
12
- export declare function Banner__client(props: BannerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,49 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import emblaCarouselAutoplay from 'embla-carousel-autoplay';
4
- import useEmblaCarousel, {} from 'embla-carousel-react';
5
- import isMobile from 'is-mobile';
6
- import Image from 'next/image';
7
- import Link from 'next/link';
8
- import { Fragment, useEffect, useState } from 'react';
9
- import { twMerge } from 'tailwind-merge';
10
- import { dataAttr } from '../../utils/dataAttr.js';
11
- export function Banner__client(props) {
12
- const [emblaRef, emblaApi] = useEmblaCarousel({
13
- loop: true,
14
- align: 'start',
15
- }, [
16
- emblaCarouselAutoplay({
17
- playOnInit: true,
18
- delay: 5000,
19
- }),
20
- ]);
21
- const [currentIndex, setCurrentIndex] = useState(0);
22
- useEffect(() => {
23
- function handler(detail) {
24
- setCurrentIndex(detail?.selectedScrollSnap() ?? 0);
25
- }
26
- emblaApi?.on('scroll', handler);
27
- emblaApi?.on('init', handler);
28
- return () => {
29
- emblaApi?.on('init', handler);
30
- emblaApi?.off('scroll', handler);
31
- };
32
- }, [emblaApi]);
33
- const imageWidth = !props.imageWidth
34
- ? [400, 1200]
35
- : Array.isArray(props.imageWidth)
36
- ? props.imageWidth
37
- : [props.imageWidth, props.imageWidth];
38
- const imageHeight = !props.imageHeight
39
- ? [225, 300]
40
- : Array.isArray(props.imageHeight)
41
- ? props.imageHeight
42
- : [props.imageHeight, props.imageHeight];
43
- return (_jsxs("div", { className: twMerge('relative', props.className), children: [_jsx("div", { ref: emblaRef, className: "overflow-hidden", children: _jsx("div", { className: "flex gap-2", children: props.banners.map((banner, index) => {
44
- const img = (_jsx(Image, { src: banner.src, alt: "", width: isMobile() ? imageWidth[0] : imageWidth[1], height: isMobile() ? imageHeight[0] : imageHeight[1], className: "block h-auto w-full", priority: index === 0 }));
45
- return (_jsx(Fragment, { children: !banner.redirectUrl ? (_jsx("div", { className: "w-full shrink-0", children: img })) : (_jsx(Link, { href: banner.redirectUrl, className: "block w-full shrink-0", "aria-label": `Open ${banner.redirectUrl}`, children: img })) }, index));
46
- }) }) }), _jsx("div", { className: "absolute bottom-lg left-1/2 flex w-fit -translate-x-1/2 gap-2", children: props.banners.map((_, index) => (_jsx("button", { type: "button", className: "ui-active:bg-brand-500 bg-gray-300 size-3 shrink-0 rounded-full border border-white transition-all duration-300 ui-active:w-9", onClick: () => {
47
- emblaApi?.scrollTo(index);
48
- }, "aria-label": `Go to slide ${index + 1}`, "data-active": dataAttr(index === currentIndex) }, index))) })] }));
49
- }
@@ -1 +0,0 @@
1
- export declare function AndroidOnlyComponents(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,12 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Capacitor } from '@capacitor/core';
4
- import { AndroidRoutingHandler } from './AndroidRoutingHandler.js';
5
- import PushNotification from './PushNotifications.js';
6
- export function AndroidOnlyComponents() {
7
- const platform = Capacitor.getPlatform();
8
- const isNative = platform === 'android' || platform === 'ios';
9
- if (!isNative)
10
- return null;
11
- return (_jsxs(_Fragment, { children: [_jsx(PushNotification, {}), _jsx(AndroidRoutingHandler, {})] }));
12
- }
@@ -1,8 +0,0 @@
1
- type Options = {
2
- accountName?: string;
3
- siteName?: string;
4
- signInOptions?: 'MOBILE_NUMBER' | 'NAME_AND_PASSWORD';
5
- };
6
- export type ErrorCode = 'MEMBER_ACCOUNT_BLACKLISTED' | 'MEMBER_ACCOUNT_SUSPENDED' | 'INVALID_RECAPTCHA_RESPONSE' | 'MEMBER_NOT_FOUND' | 'RATE_LIMIT_REACH' | 'NOT_READY_TO_SEND_VERIFICATION_ERROR' | 'Forbidden';
7
- export declare function getFriendlyErrorMessage(code: ErrorCode, options?: Options): string;
8
- export {};
@@ -1,26 +0,0 @@
1
- export function getFriendlyErrorMessage(code, options) {
2
- const accountName = options?.accountName ?? '';
3
- const siteName = options?.siteName ?? '';
4
- const signInOptions = options?.signInOptions ?? 'NAME_AND_PASSWORD';
5
- switch (code) {
6
- case 'MEMBER_ACCOUNT_BLACKLISTED':
7
- return `Your account ${accountName} has been blacklisted due to a serious violation of our policies. For more information or to appeal, please contact the ${siteName} Chat Support team.`;
8
- case 'MEMBER_ACCOUNT_SUSPENDED':
9
- return `Your account ${accountName} has been temporarily suspended. Please reach out to the ${siteName} Chat Support team to learn more and get help with resolving the issue.`;
10
- case 'INVALID_RECAPTCHA_RESPONSE':
11
- return 'Invalid reCAPTCHA response';
12
- case 'MEMBER_NOT_FOUND':
13
- return 'Account not found. Please check your username and try again.';
14
- case 'RATE_LIMIT_REACH':
15
- return 'Rate limit exceeded';
16
- case 'NOT_READY_TO_SEND_VERIFICATION_ERROR':
17
- return 'Your account is not ready to send verification requests. Please try again later.';
18
- case 'Forbidden':
19
- if (signInOptions === 'MOBILE_NUMBER') {
20
- return 'Invalid verification code. Please check the code and try again.';
21
- }
22
- return 'Invalid username or password, please try again.';
23
- default:
24
- return 'Something went wrong. Please try again later.';
25
- }
26
- }
@@ -1,2 +0,0 @@
1
- import type { Branch } from '../types';
2
- export declare const BRANCHES: Branch[];
@@ -1,42 +0,0 @@
1
- export const BRANCHES = [
2
- {
3
- code: 'BRCAL',
4
- name: 'Bingo Republic 2nd floor Primark Center Deparo St., Caloocan City',
5
- },
6
- {
7
- code: 'BRNAG',
8
- name: 'Bingo Republic 3rd floor Robinsons Mall, Naga City, Camarines Sur',
9
- },
10
- {
11
- code: 'BRANT',
12
- name: 'Bingo Republic 2nd floor Robinsons Mall, San Vicente,Antique',
13
- },
14
- {
15
- code: 'BRCLA',
16
- name: 'Clark',
17
- },
18
- {
19
- code: 'BRLAG',
20
- name: 'Laguna',
21
- },
22
- {
23
- code: 'BREAS',
24
- name: 'Eastwood City, Quezon City',
25
- },
26
- {
27
- code: 'BRMAR',
28
- name: 'Bingo ng Bayan 4th floor Marikina Public Market, Marikina City',
29
- },
30
- {
31
- code: 'BRILO',
32
- name: 'Iloilo',
33
- },
34
- {
35
- code: 'BRFIM',
36
- name: 'Fisher Mall,Quezon City',
37
- },
38
- {
39
- code: 'BRCAC',
40
- name: 'Villa Caceres Hotel, Naga City,Camsur',
41
- },
42
- ];
@@ -1,4 +0,0 @@
1
- export interface FacebookPixelProps {
2
- fbId: string;
3
- }
4
- export declare function FacebookPixel(props: FacebookPixelProps): null;
@@ -1,4 +0,0 @@
1
- export function FacebookPixel(props) {
2
- console.log(props);
3
- return null;
4
- }
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- export * from './FacebookPixel';
@@ -1 +0,0 @@
1
- export * from './FacebookPixel.js';
@@ -1,4 +0,0 @@
1
- export interface GoogleRecaptchaProps {
2
- siteKey: string;
3
- }
4
- export declare function GoogleRecaptcha(props: GoogleRecaptchaProps): null;
@@ -1,4 +0,0 @@
1
- export function GoogleRecaptcha(props) {
2
- console.log(props);
3
- return null;
4
- }
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- export * from './GoogleRecaptcha';
@@ -1 +0,0 @@
1
- export * from './GoogleRecaptcha.js';
@@ -1,2 +0,0 @@
1
- export * from './FacebookPixel';
2
- export * from './GoogleRecaptcha';
@@ -1,2 +0,0 @@
1
- export * from './FacebookPixel/index.js';
2
- export * from './GoogleRecaptcha/index.js';