@everymatrix/lottery-game-page 1.52.6 → 1.53.0
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/cjs/{helper-accordion_13.cjs.entry.js → helper-accordion_14.cjs.entry.js} +3896 -439
- package/dist/cjs/index-3ecbfc1b.js +2 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-game-page.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/lottery-game-page/lottery-game-page.css +70 -53
- package/dist/collection/components/lottery-game-page/lottery-game-page.js +210 -154
- package/dist/collection/components/static/chrono_desktop.png +0 -0
- package/dist/collection/components/static/chrono_lottery_mobile.png +0 -0
- package/dist/collection/utils/locale.utils.js +16 -1
- package/dist/collection/utils/utils.js +6 -0
- package/dist/esm/{helper-accordion_13.entry.js → helper-accordion_14.entry.js} +3896 -440
- package/dist/esm/index-7ea78a23.js +2 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/lottery-game-page.js +1 -1
- package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
- package/dist/lottery-game-page/{p-41527e32.entry.js → p-dee70ec2.entry.js} +1061 -137
- package/dist/static/chrono_desktop.png +0 -0
- package/dist/static/chrono_lottery_mobile.png +0 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/lottery-game-page/lottery-game-page.d.ts +17 -17
- package/dist/types/components.d.ts +8 -16
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/helper-pagination.cjs.entry.js +0 -227
- package/dist/esm/helper-pagination.entry.js +0 -223
- package/dist/lottery-game-page/p-dd23f58f.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.dev.d.ts +0 -2
|
@@ -13,6 +13,7 @@ const TRANSLATIONS = {
|
|
|
13
13
|
viewLatest: 'View latest results',
|
|
14
14
|
createTicket: 'Create Ticket',
|
|
15
15
|
modalSuccess: 'Purchase successfully completed!',
|
|
16
|
+
submitSuccess: 'Submit successfully!',
|
|
16
17
|
deleteTicketModalTitle: 'Delete Ticket',
|
|
17
18
|
deleteTicketModalText: 'Are you sure you want to delete this ticket?',
|
|
18
19
|
deleteTicketModalCancel: 'Cancel',
|
|
@@ -23,6 +24,8 @@ const TRANSLATIONS = {
|
|
|
23
24
|
orderSummarySubmit: 'Submit',
|
|
24
25
|
lastDrawResultsTitle: 'Last Draw Results',
|
|
25
26
|
modalLogin: 'Please login to submit a ticket',
|
|
27
|
+
loading: 'Please wait, loading...',
|
|
28
|
+
submitError: 'Please select numbers to complete purchase!'
|
|
26
29
|
},
|
|
27
30
|
ro: {
|
|
28
31
|
error: 'Eroare',
|
|
@@ -36,6 +39,7 @@ const TRANSLATIONS = {
|
|
|
36
39
|
viewLatest: 'Ultimile extrageri',
|
|
37
40
|
createTicket: 'Creeaza bilet',
|
|
38
41
|
modalSuccess: 'Achizitie efectuata cu succes',
|
|
42
|
+
submitSuccess: 'Submit successfully!',
|
|
39
43
|
deleteTicketModalTitle: 'Sterge biletul',
|
|
40
44
|
deleteTicketModalText: 'Esti sigur ca vrei sa stergi acest bilet?',
|
|
41
45
|
deleteTicketModalCancel: 'Anuleaza',
|
|
@@ -46,6 +50,8 @@ const TRANSLATIONS = {
|
|
|
46
50
|
orderSummarySubmit: 'Trimite',
|
|
47
51
|
lastDrawResultsTitle: 'Cele mai recente extrageri',
|
|
48
52
|
modalLogin: 'Please login to submit a ticket',
|
|
53
|
+
loading: 'Se incarca, va rugam asteptati ...',
|
|
54
|
+
submitError: 'Vă rugăm să selectați numerele pentru a finaliza achiziția!'
|
|
49
55
|
},
|
|
50
56
|
fr: {
|
|
51
57
|
error: 'Error',
|
|
@@ -59,6 +65,7 @@ const TRANSLATIONS = {
|
|
|
59
65
|
viewLatest: 'View latest results',
|
|
60
66
|
createTicket: 'Create Ticket',
|
|
61
67
|
modalSuccess: 'Purchase successfully completed!',
|
|
68
|
+
submitSuccess: 'Submit successfully!',
|
|
62
69
|
deleteTicketModalTitle: 'Delete Ticket',
|
|
63
70
|
deleteTicketModalText: 'Are you sure you want to delete this ticket?',
|
|
64
71
|
deleteTicketModalCancel: 'Cancel',
|
|
@@ -69,6 +76,8 @@ const TRANSLATIONS = {
|
|
|
69
76
|
orderSummarySubmit: 'Submit',
|
|
70
77
|
lastDrawResultsTitle: 'Résultats du dernier tirage',
|
|
71
78
|
modalLogin: 'Please login to submit a ticket',
|
|
79
|
+
loading: 'Loading, please wait ...',
|
|
80
|
+
submitError: 'Veuillez sélectionner les numéros pour finaliser votre achat !'
|
|
72
81
|
},
|
|
73
82
|
ar: {
|
|
74
83
|
error: 'خطأ',
|
|
@@ -82,6 +91,7 @@ const TRANSLATIONS = {
|
|
|
82
91
|
viewLatest: 'عرض أحدث النتائج',
|
|
83
92
|
createTicket: 'إنشاء تذكرة',
|
|
84
93
|
modalSuccess: '!سيتم الشراء بنجاح قريبًا',
|
|
94
|
+
submitSuccess: 'Submit successfully!',
|
|
85
95
|
deleteTicketModalTitle: 'حذف التذكرة',
|
|
86
96
|
deleteTicketModalText: 'هل أنت متأكد أنك تريد حذف هذه التذكرة؟',
|
|
87
97
|
deleteTicketModalCancel: 'يلغي',
|
|
@@ -91,7 +101,9 @@ const TRANSLATIONS = {
|
|
|
91
101
|
orderSummaryTotal: 'المجموع',
|
|
92
102
|
orderSummarySubmit: 'يُقدِّم',
|
|
93
103
|
lastDrawResultsTitle: 'نتائج آخر سحب',
|
|
94
|
-
modalLogin: 'الرجاء تسجيل الدخول لتقديم تذكرة'
|
|
104
|
+
modalLogin: 'الرجاء تسجيل الدخول لتقديم تذكرة',
|
|
105
|
+
loading: 'Loading, please wait ...',
|
|
106
|
+
submitError: 'الرجاء اختيار الأرقام لإكمال الشراء!'
|
|
95
107
|
},
|
|
96
108
|
hr: {
|
|
97
109
|
error: 'Greška',
|
|
@@ -105,6 +117,7 @@ const TRANSLATIONS = {
|
|
|
105
117
|
viewLatest: 'Pogledajte najnovije rezultate',
|
|
106
118
|
createTicket: 'Uplati listić',
|
|
107
119
|
modalSuccess: 'Kupnja uspješno obavljena!',
|
|
120
|
+
submitSuccess: 'Submit successfully!',
|
|
108
121
|
deleteTicketModalTitle: 'Izbriši listić',
|
|
109
122
|
deleteTicketModalText: 'Are you sure you want to delete this ticket?',
|
|
110
123
|
deleteTicketModalCancel: 'Otkaži',
|
|
@@ -115,6 +128,8 @@ const TRANSLATIONS = {
|
|
|
115
128
|
orderSummarySubmit: 'Podnijeti',
|
|
116
129
|
lastDrawResultsTitle: 'Rezultati posljednjeg izvlačenja',
|
|
117
130
|
modalLogin: 'Molimo prijavite se da uplatite listić',
|
|
131
|
+
loading: 'Učitavanje, molimo pričekajte ...',
|
|
132
|
+
submitError: 'Molim odaberite brojke da biste dovršili kupnju!'
|
|
118
133
|
}
|
|
119
134
|
};
|
|
120
135
|
export const translate = (key, customLang) => {
|
|
@@ -10,3 +10,9 @@ export const isMobile = (userAgent) => {
|
|
|
10
10
|
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
11
11
|
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
12
12
|
};
|
|
13
|
+
export const generateUUID = () => {
|
|
14
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
15
|
+
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
|
|
16
|
+
return v.toString(16);
|
|
17
|
+
});
|
|
18
|
+
};
|