@everymatrix/lottery-game-page 0.0.7 → 0.0.10
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 +23492 -0
- package/dist/cjs/helper-pagination.cjs.entry.js +188 -0
- package/dist/cjs/{index-af6d701d.js → index-81cb3b3b.js} +70 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/lottery-game-page.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +75 -1
- package/dist/components/helper-accordion.js +6 -0
- package/dist/components/helper-accordion2.js +110 -0
- package/dist/components/helper-filters.js +6 -0
- package/dist/components/helper-filters2.js +22347 -0
- package/dist/components/helper-modal.js +6 -0
- package/dist/components/helper-modal2.js +58 -0
- package/dist/components/helper-pagination.js +215 -0
- package/dist/components/helper-tab.js +6 -0
- package/dist/components/helper-tab2.js +47 -0
- package/dist/components/helper-tabs.js +6 -0
- package/dist/components/helper-tabs2.js +62 -0
- package/dist/components/index.js +13 -0
- package/dist/components/lottery-bullet.js +6 -0
- package/dist/components/lottery-bullet2.js +56 -0
- package/dist/components/lottery-draw-results-history.js +6 -0
- package/dist/components/lottery-draw-results-history2.js +174 -0
- package/dist/components/lottery-draw-results.js +6 -0
- package/dist/components/lottery-draw-results2.js +217 -0
- package/dist/components/lottery-game-details.js +6 -0
- package/dist/components/lottery-game-details2.js +48 -0
- package/dist/components/lottery-game-page.js +73 -6
- package/dist/components/lottery-grid.js +6 -0
- package/dist/components/lottery-grid2.js +196 -0
- package/dist/components/lottery-ticket-controller.js +6 -0
- package/dist/components/lottery-ticket-controller2.js +117 -0
- package/dist/components/lottery-ticket.js +6 -0
- package/dist/components/lottery-ticket2.js +183 -0
- package/dist/esm/helper-accordion_13.entry.js +23476 -0
- package/dist/esm/helper-pagination.entry.js +184 -0
- package/dist/esm/{index-8c700c5e.js → index-be84da79.js} +70 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lottery-game-page.js +2 -2
- package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
- package/dist/lottery-game-page/p-08581ede.entry.js +1 -0
- package/dist/lottery-game-page/p-49bd2864.entry.js +2849 -0
- package/dist/lottery-game-page/p-91420518.js +2 -0
- package/dist/stencil.config.js +6 -0
- package/package.json +1 -1
- package/dist/cjs/lottery-game-page.cjs.entry.js +0 -304
- package/dist/esm/lottery-game-page.entry.js +0 -300
- package/dist/lottery-game-page/p-453db7fa.entry.js +0 -1
- package/dist/lottery-game-page/p-b5969eab.js +0 -2
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-be84da79.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @name isMobile
|
|
5
|
+
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
6
|
+
* @param {String} userAgent window.navigator.userAgent
|
|
7
|
+
* @returns {Boolean} true or false
|
|
8
|
+
*/
|
|
9
|
+
const isMobile = (userAgent) => {
|
|
10
|
+
return !!(userAgent.toLowerCase().match(/android/i) ||
|
|
11
|
+
userAgent.toLowerCase().match(/blackberry|bb/i) ||
|
|
12
|
+
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
13
|
+
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
17
|
+
const SUPPORTED_LANGUAGES = ['ro', 'en'];
|
|
18
|
+
const TRANSLATIONS = {
|
|
19
|
+
en: {
|
|
20
|
+
firstPage: 'First',
|
|
21
|
+
previousPage: 'Previous',
|
|
22
|
+
nextPage: 'Next',
|
|
23
|
+
lastPage: 'Last'
|
|
24
|
+
},
|
|
25
|
+
ro: {
|
|
26
|
+
firstPage: 'Prima',
|
|
27
|
+
previousPage: 'Anterior',
|
|
28
|
+
nextPage: 'Urmatoarea',
|
|
29
|
+
lastPage: 'Ultima'
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
const translate = (key, customLang) => {
|
|
33
|
+
const lang = customLang;
|
|
34
|
+
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
const helperPaginationCss = "@import url(\"https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap\");:host{display:block;font-family:\"Roboto\", sans-serif}#PaginationContainer{width:100%;margin-top:20px;display:inline-flex;justify-content:space-between;align-items:center}.LeftItems button:not(:first-child),.RightItems button:not(:last-child){margin:0 10px}.LeftItems button,.RightItems button{padding:0;background-color:#009993;border-color:#009993}.PaginationArea{display:inline-flex;gap:10px;list-style:none}.PaginationArea li{margin:0;padding:0}.PaginationArea li button{width:24px;height:24px;display:flex;border:0;padding:0;justify-content:center;align-items:center;background-color:transparent;color:#000;cursor:pointer;pointer-events:all}.PaginationItem.ActiveItem button{background:#009993;border-color:#009993;color:#fff}.PaginationItem.ActiveItem button:disabled{pointer-events:none;cursor:not-allowed}.PaginationItem button:hover,.PaginationItem button:active{background:#009993;border-color:#009993;color:#fff;opacity:0.8}button{width:100px;height:32px;border:1px solid #524e52;border-radius:5px;background:#524e52;color:#fff;font-size:14px;font:inherit;cursor:pointer;transition:all 0.1s linear;text-transform:uppercase;text-align:center;letter-spacing:0}button:hover,button:active{background:#004D4A;border-color:#004D4A}button:disabled{background-color:#ccc;border-color:#ccc;color:#fff;cursor:not-allowed}@media screen and (max-width: 720px){button{width:90px;font-size:12px}}@media screen and (max-width: 480px){button{width:70px;font-size:10px}.paginationArea{padding:5px}}@media screen and (max-width: 320px){button{width:58px;font-size:10px}.paginationArea{padding:5px;gap:5px}}@media (hover: none){.paginationItem button:hover{background:inherit;border-color:inherit;color:inherit;opacity:1}.paginationItem.activeItem button:hover{background:#009993;border-color:#009993;color:#fff}}";
|
|
38
|
+
|
|
39
|
+
const HelperPagination = class {
|
|
40
|
+
constructor(hostRef) {
|
|
41
|
+
registerInstance(this, hostRef);
|
|
42
|
+
this.hpPageChange = createEvent(this, "hpPageChange", 7);
|
|
43
|
+
/**
|
|
44
|
+
* First page boolean value - determines if the page is disabled or active
|
|
45
|
+
*/
|
|
46
|
+
this.firstPage = false;
|
|
47
|
+
/**
|
|
48
|
+
* Previous page boolean value - determines if the page is disabled or active
|
|
49
|
+
*/
|
|
50
|
+
this.previousPage = false;
|
|
51
|
+
/**
|
|
52
|
+
* The received offset
|
|
53
|
+
*/
|
|
54
|
+
this.offset = 0;
|
|
55
|
+
/**
|
|
56
|
+
* The received limit for the number of pages
|
|
57
|
+
*/
|
|
58
|
+
this.limit = 1;
|
|
59
|
+
/**
|
|
60
|
+
* The received total number of pages
|
|
61
|
+
*/
|
|
62
|
+
this.total = 1;
|
|
63
|
+
/**
|
|
64
|
+
* Language
|
|
65
|
+
*/
|
|
66
|
+
this.language = 'en';
|
|
67
|
+
/**
|
|
68
|
+
* In component working variable for the array of pages
|
|
69
|
+
*/
|
|
70
|
+
this.pagesArray = [];
|
|
71
|
+
/**
|
|
72
|
+
* In component working variable for last page
|
|
73
|
+
*/
|
|
74
|
+
this.endInt = 0;
|
|
75
|
+
this.userAgent = window.navigator.userAgent;
|
|
76
|
+
this.currentPage = 1;
|
|
77
|
+
/**
|
|
78
|
+
* Navigation logic
|
|
79
|
+
*/
|
|
80
|
+
this.navigateTo = (navigationPage) => {
|
|
81
|
+
switch (navigationPage) {
|
|
82
|
+
case 'firstPage':
|
|
83
|
+
this.offsetInt = 0;
|
|
84
|
+
break;
|
|
85
|
+
case 'lastPage':
|
|
86
|
+
this.offsetInt = this.endInt * this.limitInt;
|
|
87
|
+
break;
|
|
88
|
+
case 'previousPage':
|
|
89
|
+
this.offsetInt -= 10;
|
|
90
|
+
break;
|
|
91
|
+
case 'nextPage':
|
|
92
|
+
this.offsetInt += 10;
|
|
93
|
+
break;
|
|
94
|
+
case 'fivePagesBack':
|
|
95
|
+
this.offsetInt -= 30;
|
|
96
|
+
this.offsetInt = this.offsetInt < 0 ? 0 : this.offsetInt;
|
|
97
|
+
break;
|
|
98
|
+
case 'fivePagesForward':
|
|
99
|
+
this.offsetInt += 30;
|
|
100
|
+
this.offsetInt = this.offsetInt / 10 >= this.endInt ? this.endInt * 10 : this.offsetInt;
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
this.hpPageChange.emit({ offset: this.offsetInt, limit: this.limitInt, total: this.totalInt });
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Handle navigation from here
|
|
107
|
+
*/
|
|
108
|
+
this.paginationNavigation = (pageNumber, index) => {
|
|
109
|
+
if (!isNaN(pageNumber)) {
|
|
110
|
+
if (pageNumber === 1) {
|
|
111
|
+
this.offsetInt = pageNumber - 1;
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
this.offsetInt = (pageNumber - 1) * 10;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
if (index === 0 && this.currentPage <= 4) {
|
|
119
|
+
this.navigateTo('firstPage');
|
|
120
|
+
}
|
|
121
|
+
else if (index === 0 && this.currentPage > 4) {
|
|
122
|
+
this.navigateTo('fivePagesBack');
|
|
123
|
+
}
|
|
124
|
+
else if (index === 4 && this.endInt - this.currentPage >= 2) {
|
|
125
|
+
this.navigateTo('fivePagesForward');
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
this.currentPage = this.offsetInt;
|
|
129
|
+
this.hpPageChange.emit({ offset: this.offsetInt, limit: this.limitInt, total: this.totalInt });
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
componentWillRender() {
|
|
133
|
+
this.offsetInt = this.offset;
|
|
134
|
+
this.currentPage = this.offsetInt / this.limitInt + 1;
|
|
135
|
+
this.limitInt = this.limit;
|
|
136
|
+
this.totalInt = this.total;
|
|
137
|
+
this.endInt = (Math.ceil(this.totalInt / this.limitInt) - 1);
|
|
138
|
+
this.lastPage = (this.offsetInt >= this.endInt * this.limitInt) ? false : true;
|
|
139
|
+
/**
|
|
140
|
+
* Construct numbered navigation area based on current page position
|
|
141
|
+
*/
|
|
142
|
+
if (this.currentPage === 1 || this.currentPage === 2) {
|
|
143
|
+
this.pagesArray = Array.from({ length: 4 }, (_, i) => i + 1);
|
|
144
|
+
this.pagesArray.push('...');
|
|
145
|
+
}
|
|
146
|
+
else if (this.currentPage >= 3 && ((this.endInt - this.currentPage) >= 2)) {
|
|
147
|
+
this.pagesArray = Array.from({ length: 3 }, (_, i) => this.currentPage + i - 1);
|
|
148
|
+
this.pagesArray.push('...');
|
|
149
|
+
this.pagesArray.unshift('...');
|
|
150
|
+
}
|
|
151
|
+
else if ((this.endInt - this.currentPage) < 3) {
|
|
152
|
+
this.pagesArray = Array.from({ length: 4 }, (_, i) => this.endInt - 2 + i);
|
|
153
|
+
this.pagesArray.unshift('...');
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
render() {
|
|
157
|
+
/**
|
|
158
|
+
* Center navigation area
|
|
159
|
+
*/
|
|
160
|
+
let navigationArea = h("ul", { class: "PaginationArea" }, this.pagesArray.map((item, index) => {
|
|
161
|
+
return (h("li", { class: 'PaginationItem' + (item === this.currentPage ? ' ActiveItem' : ' ') + ' ' + (isMobile(this.userAgent) ? 'MobileButtons' : '') }, h("button", { disabled: item === this.currentPage ? true : false, onClick: this.paginationNavigation.bind(this, item, index) }, h("span", null, item))));
|
|
162
|
+
}));
|
|
163
|
+
/**
|
|
164
|
+
* Left navigation area
|
|
165
|
+
*/
|
|
166
|
+
let buttonsLeftSide = h("div", { class: "LeftItems" }, h("button", { disabled: !this.previousPage, onClick: this.navigateTo.bind(this, 'firstPage') }, translate('firstPage', this.language)), h("button", { disabled: !this.previousPage ? true : false, onClick: this.navigateTo.bind(this, 'previousPage') }, translate('previousPage', this.language)));
|
|
167
|
+
if (isMobile(this.userAgent)) {
|
|
168
|
+
buttonsLeftSide =
|
|
169
|
+
h("div", { class: "LeftItems" }, h("button", { disabled: !this.previousPage ? true : false, onClick: this.navigateTo.bind(this, 'previousPage') }, translate('previousPage', this.language)));
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Right navigation area
|
|
173
|
+
*/
|
|
174
|
+
let buttonsRightSide = h("div", { class: "RightItems" }, h("button", { disabled: !this.lastPage ? true : false, onClick: this.navigateTo.bind(this, 'nextPage') }, translate('nextPage', this.language)), h("button", { disabled: !this.lastPage ? true : false, onClick: this.navigateTo.bind(this, 'lastPage') }, translate('lastPage', this.language)));
|
|
175
|
+
if (isMobile(this.userAgent)) {
|
|
176
|
+
buttonsRightSide =
|
|
177
|
+
h("div", { class: "RightItems" }, h("button", { disabled: !this.lastPage ? true : false, onClick: this.navigateTo.bind(this, 'nextPage') }, translate('nextPage', this.language)));
|
|
178
|
+
}
|
|
179
|
+
return (h("div", { id: "PaginationContainer" }, buttonsLeftSide, navigationArea, buttonsRightSide));
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
HelperPagination.style = helperPaginationCss;
|
|
183
|
+
|
|
184
|
+
export { HelperPagination as helper_pagination };
|
|
@@ -28,7 +28,7 @@ const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
|
|
|
28
28
|
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
29
29
|
if (listeners) {
|
|
30
30
|
listeners.map(([flags, name, method]) => {
|
|
31
|
-
const target = elm;
|
|
31
|
+
const target = getHostListenerTarget(elm, flags) ;
|
|
32
32
|
const handler = hostListenerProxy(hostRef, method);
|
|
33
33
|
const opts = hostListenerOpts(flags);
|
|
34
34
|
plt.ael(target, name, handler, opts);
|
|
@@ -52,6 +52,11 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
52
52
|
consoleError(e);
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
|
+
const getHostListenerTarget = (elm, flags) => {
|
|
56
|
+
if (flags & 4 /* TargetDocument */)
|
|
57
|
+
return doc;
|
|
58
|
+
return elm;
|
|
59
|
+
};
|
|
55
60
|
// prettier-ignore
|
|
56
61
|
const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
|
|
57
62
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
@@ -480,11 +485,14 @@ const patch = (oldVNode, newVNode) => {
|
|
|
480
485
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
481
486
|
const oldChildren = oldVNode.$children$;
|
|
482
487
|
const newChildren = newVNode.$children$;
|
|
488
|
+
const tag = newVNode.$tag$;
|
|
483
489
|
const text = newVNode.$text$;
|
|
484
490
|
if (text === null) {
|
|
485
491
|
// element node
|
|
486
492
|
{
|
|
487
|
-
|
|
493
|
+
if (tag === 'slot')
|
|
494
|
+
;
|
|
495
|
+
else {
|
|
488
496
|
// either this is the first render of an element OR it's an update
|
|
489
497
|
// AND we already know it's possible it could have changed
|
|
490
498
|
// this updates the element's css classes, attrs, props, listeners, etc.
|
|
@@ -517,9 +525,14 @@ const patch = (oldVNode, newVNode) => {
|
|
|
517
525
|
};
|
|
518
526
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
519
527
|
const hostElm = hostRef.$hostElement$;
|
|
528
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
520
529
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
521
530
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
522
531
|
hostTagName = hostElm.tagName;
|
|
532
|
+
if (cmpMeta.$attrsToReflect$) {
|
|
533
|
+
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
534
|
+
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
535
|
+
}
|
|
523
536
|
rootVnode.$tag$ = null;
|
|
524
537
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
525
538
|
hostRef.$vnode$ = rootVnode;
|
|
@@ -531,6 +544,19 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
531
544
|
patch(oldVNode, rootVnode);
|
|
532
545
|
};
|
|
533
546
|
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
547
|
+
const createEvent = (ref, name, flags) => {
|
|
548
|
+
const elm = getElement(ref);
|
|
549
|
+
return {
|
|
550
|
+
emit: (detail) => {
|
|
551
|
+
return emitEvent(elm, name, {
|
|
552
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
553
|
+
composed: !!(flags & 2 /* Composed */),
|
|
554
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
555
|
+
detail,
|
|
556
|
+
});
|
|
557
|
+
},
|
|
558
|
+
};
|
|
559
|
+
};
|
|
534
560
|
/**
|
|
535
561
|
* Helper function to create & dispatch a custom Event on a provided target
|
|
536
562
|
* @param elm the target of the Event
|
|
@@ -576,6 +602,9 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
576
602
|
}
|
|
577
603
|
}
|
|
578
604
|
}
|
|
605
|
+
{
|
|
606
|
+
promise = then(promise, () => safeCall(instance, 'componentWillRender'));
|
|
607
|
+
}
|
|
579
608
|
endSchedule();
|
|
580
609
|
return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
|
|
581
610
|
};
|
|
@@ -752,6 +781,7 @@ const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propNam
|
|
|
752
781
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
753
782
|
// check our new property value against our internal value
|
|
754
783
|
const hostRef = getHostRef(ref);
|
|
784
|
+
const elm = hostRef.$hostElement$ ;
|
|
755
785
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
756
786
|
const flags = hostRef.$flags$;
|
|
757
787
|
const instance = hostRef.$lazyInstance$ ;
|
|
@@ -764,6 +794,22 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
764
794
|
// set our new value!
|
|
765
795
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
766
796
|
if (instance) {
|
|
797
|
+
// get an array of method names of watch functions to call
|
|
798
|
+
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
799
|
+
const watchMethods = cmpMeta.$watchers$[propName];
|
|
800
|
+
if (watchMethods) {
|
|
801
|
+
// this instance is watching for when this property changed
|
|
802
|
+
watchMethods.map((watchMethodName) => {
|
|
803
|
+
try {
|
|
804
|
+
// fire off each of the watch methods that are watching this property
|
|
805
|
+
instance[watchMethodName](newVal, oldVal, propName);
|
|
806
|
+
}
|
|
807
|
+
catch (e) {
|
|
808
|
+
consoleError(e, elm);
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
}
|
|
767
813
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
768
814
|
// looks like this value actually changed, so we've got work to do!
|
|
769
815
|
// but only if we've already rendered, otherwise just chill out
|
|
@@ -776,6 +822,9 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
776
822
|
};
|
|
777
823
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
778
824
|
if (cmpMeta.$members$) {
|
|
825
|
+
if (Cstr.watchers) {
|
|
826
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
827
|
+
}
|
|
779
828
|
// It's better to have a const than two Object.entries()
|
|
780
829
|
const members = Object.entries(cmpMeta.$members$);
|
|
781
830
|
const prototype = Cstr.prototype;
|
|
@@ -857,6 +906,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
857
906
|
.map(([propName, m]) => {
|
|
858
907
|
const attrName = m[1] || propName;
|
|
859
908
|
attrNameToPropName.set(attrName, propName);
|
|
909
|
+
if (m[0] & 512 /* ReflectAttr */) {
|
|
910
|
+
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
911
|
+
}
|
|
860
912
|
return attrName;
|
|
861
913
|
});
|
|
862
914
|
}
|
|
@@ -880,6 +932,12 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
880
932
|
endLoad();
|
|
881
933
|
}
|
|
882
934
|
if (!Cstr.isProxied) {
|
|
935
|
+
// we've never proxied this Constructor before
|
|
936
|
+
// let's add the getters/setters to its prototype before
|
|
937
|
+
// the first time we create an instance of the implementation
|
|
938
|
+
{
|
|
939
|
+
cmpMeta.$watchers$ = Cstr.watchers;
|
|
940
|
+
}
|
|
883
941
|
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
884
942
|
Cstr.isProxied = true;
|
|
885
943
|
}
|
|
@@ -903,6 +961,9 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
903
961
|
{
|
|
904
962
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
905
963
|
}
|
|
964
|
+
{
|
|
965
|
+
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
966
|
+
}
|
|
906
967
|
endNewInstance();
|
|
907
968
|
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
908
969
|
}
|
|
@@ -1029,6 +1090,12 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1029
1090
|
{
|
|
1030
1091
|
cmpMeta.$listeners$ = compactMeta[3];
|
|
1031
1092
|
}
|
|
1093
|
+
{
|
|
1094
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1095
|
+
}
|
|
1096
|
+
{
|
|
1097
|
+
cmpMeta.$watchers$ = {};
|
|
1098
|
+
}
|
|
1032
1099
|
const tagName = cmpMeta.$tagName$;
|
|
1033
1100
|
const HostElement = class extends HTMLElement {
|
|
1034
1101
|
// StencilLazyHost
|
|
@@ -1180,4 +1247,4 @@ const flush = () => {
|
|
|
1180
1247
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1181
1248
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1182
1249
|
|
|
1183
|
-
export { bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r };
|
|
1250
|
+
export { bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-be84da79.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
Stencil Client Patch Esm v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["
|
|
13
|
+
return bootstrapLazy([["helper-pagination",[[1,"helper-pagination",{"firstPage":[1540,"first-page"],"previousPage":[1540,"previous-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1],"offsetInt":[32],"lastPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32]}]]],["helper-accordion_13",[[1,"lottery-game-page",{"endpoint":[1],"gameId":[1,"game-id"],"playerId":[2,"player-id"],"sessionId":[1,"session-id"],"language":[1],"autoPick":[4,"auto-pick"],"resetButton":[4,"reset-button"],"tickets":[32],"tabIndex":[32],"hasErrors":[32],"totalAmount":[32],"successVisible":[32],"deleteVisible":[32],"deleteEventData":[32],"daysRemaining":[32],"hoursRemaining":[32],"minutesRemaining":[32],"secondsRemaining":[32],"latestDraw":[32],"totalWinningsAmount":[32],"nextDate":[32]},[[0,"ticketCompleted","gridFilledHandler"],[0,"gridDirty","gridDirtyHandler"],[0,"deleteTicket","deleteTicketHandler"],[0,"modalCloseEvent","modalCloseEvent"],[0,"stakeChange","stakeChangeHandler"],[0,"multiplierChange","multiplierChangeHandler"]]],[1,"lottery-draw-results-history",{"endpoint":[1],"gameId":[1,"game-id"],"numberOfResults":[2,"number-of-results"],"language":[1],"drawData":[32],"displayAllDrawsResults":[32],"showQuickFilters":[32],"winningDataSetsData":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"]]],[1,"lottery-ticket-controller",{"endpoint":[1],"ticketId":[2,"ticket-id"],"ticketDescription":[1,"ticket-description"],"gameId":[1,"game-id"],"postMessage":[4,"post-message"],"eventName":[1,"event-name"],"collapsed":[4],"numberOfGrids":[2,"number-of-grids"],"last":[4],"language":[1],"autoPick":[4,"auto-pick"],"resetButton":[4,"reset-button"]},[[0,"helperAccordionAction","helperAccordionActionHandler"]]],[1,"lottery-game-details"],[1,"lottery-draw-results",{"endpoint":[1],"gameId":[1,"game-id"],"language":[1],"playerId":[1,"player-id"],"drawMode":[4,"draw-mode"],"drawId":[1,"draw-id"],"gameName":[1,"game-name"],"multiplier":[32],"ticketData":[32],"isLoading":[32],"drawResults":[32],"rules":[32],"toggleDrawer":[32],"hasErrors":[32],"errorText":[32]}],[1,"lottery-ticket",{"endpoint":[1],"gameId":[1,"game-id"],"numberOfGrids":[2,"number-of-grids"],"multipleDraws":[4,"multiple-draws"],"ticketId":[2,"ticket-id"],"resetButton":[4,"reset-button"],"autoPick":[4,"auto-pick"],"language":[1],"multiplier":[32],"numberOfDraws":[32],"isLoading":[32],"hasErrors":[32],"ticketDone":[32]},[[0,"gridFilled","gridFilledHandler"]]],[1,"helper-filters",{"showFilterId":[4,"show-filter-id"],"activateTicketSearch":[4,"activate-ticket-search"],"gameId":[1,"game-id"],"playerId":[1,"player-id"],"session":[1],"postMessage":[4,"post-message"],"language":[1],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-accordion",{"headerTitle":[1,"header-title"],"headerSubtitle":[1,"header-subtitle"],"description":[1],"footer":[4],"deleteTab":[4,"delete-tab"],"postMessage":[4,"post-message"],"eventName":[1,"event-name"],"collapsed":[4],"language":[1],"showContent":[32]}],[1,"helper-modal",{"titleModal":[1,"title-modal"],"visible":[1540]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"]}],[1,"lottery-grid",{"ticketId":[2,"ticket-id"],"totalNumbers":[2,"total-numbers"],"gameId":[1,"game-id"],"maximumAllowed":[2,"maximum-allowed"],"minimumAllowed":[2,"minimum-allowed"],"selectable":[4],"selectedNumbers":[1,"selected-numbers"],"displaySelected":[4,"display-selected"],"language":[1],"gridIndex":[2,"grid-index"],"numbers":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{"value":[1],"selectable":[4],"isSelected":[4,"is-selected"]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-be84da79.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
Stencil Client Patch Browser v2.17.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["
|
|
16
|
+
return bootstrapLazy([["helper-pagination",[[1,"helper-pagination",{"firstPage":[1540,"first-page"],"previousPage":[1540,"previous-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1],"offsetInt":[32],"lastPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32]}]]],["helper-accordion_13",[[1,"lottery-game-page",{"endpoint":[1],"gameId":[1,"game-id"],"playerId":[2,"player-id"],"sessionId":[1,"session-id"],"language":[1],"autoPick":[4,"auto-pick"],"resetButton":[4,"reset-button"],"tickets":[32],"tabIndex":[32],"hasErrors":[32],"totalAmount":[32],"successVisible":[32],"deleteVisible":[32],"deleteEventData":[32],"daysRemaining":[32],"hoursRemaining":[32],"minutesRemaining":[32],"secondsRemaining":[32],"latestDraw":[32],"totalWinningsAmount":[32],"nextDate":[32]},[[0,"ticketCompleted","gridFilledHandler"],[0,"gridDirty","gridDirtyHandler"],[0,"deleteTicket","deleteTicketHandler"],[0,"modalCloseEvent","modalCloseEvent"],[0,"stakeChange","stakeChangeHandler"],[0,"multiplierChange","multiplierChangeHandler"]]],[1,"lottery-draw-results-history",{"endpoint":[1],"gameId":[1,"game-id"],"numberOfResults":[2,"number-of-results"],"language":[1],"drawData":[32],"displayAllDrawsResults":[32],"showQuickFilters":[32],"winningDataSetsData":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"]]],[1,"lottery-ticket-controller",{"endpoint":[1],"ticketId":[2,"ticket-id"],"ticketDescription":[1,"ticket-description"],"gameId":[1,"game-id"],"postMessage":[4,"post-message"],"eventName":[1,"event-name"],"collapsed":[4],"numberOfGrids":[2,"number-of-grids"],"last":[4],"language":[1],"autoPick":[4,"auto-pick"],"resetButton":[4,"reset-button"]},[[0,"helperAccordionAction","helperAccordionActionHandler"]]],[1,"lottery-game-details"],[1,"lottery-draw-results",{"endpoint":[1],"gameId":[1,"game-id"],"language":[1],"playerId":[1,"player-id"],"drawMode":[4,"draw-mode"],"drawId":[1,"draw-id"],"gameName":[1,"game-name"],"multiplier":[32],"ticketData":[32],"isLoading":[32],"drawResults":[32],"rules":[32],"toggleDrawer":[32],"hasErrors":[32],"errorText":[32]}],[1,"lottery-ticket",{"endpoint":[1],"gameId":[1,"game-id"],"numberOfGrids":[2,"number-of-grids"],"multipleDraws":[4,"multiple-draws"],"ticketId":[2,"ticket-id"],"resetButton":[4,"reset-button"],"autoPick":[4,"auto-pick"],"language":[1],"multiplier":[32],"numberOfDraws":[32],"isLoading":[32],"hasErrors":[32],"ticketDone":[32]},[[0,"gridFilled","gridFilledHandler"]]],[1,"helper-filters",{"showFilterId":[4,"show-filter-id"],"activateTicketSearch":[4,"activate-ticket-search"],"gameId":[1,"game-id"],"playerId":[1,"player-id"],"session":[1],"postMessage":[4,"post-message"],"language":[1],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-accordion",{"headerTitle":[1,"header-title"],"headerSubtitle":[1,"header-subtitle"],"description":[1],"footer":[4],"deleteTab":[4,"delete-tab"],"postMessage":[4,"post-message"],"eventName":[1,"event-name"],"collapsed":[4],"language":[1],"showContent":[32]}],[1,"helper-modal",{"titleModal":[1,"title-modal"],"visible":[1540]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"]}],[1,"lottery-grid",{"ticketId":[2,"ticket-id"],"totalNumbers":[2,"total-numbers"],"gameId":[1,"game-id"],"maximumAllowed":[2,"maximum-allowed"],"minimumAllowed":[2,"minimum-allowed"],"selectable":[4],"selectedNumbers":[1,"selected-numbers"],"displaySelected":[4,"display-selected"],"language":[1],"gridIndex":[2,"grid-index"],"numbers":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{"value":[1],"selectable":[4],"isSelected":[4,"is-selected"]}]]]], options);
|
|
17
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-
|
|
1
|
+
import{p as e,b as t}from"./p-91420518.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-08581ede",[[1,"helper-pagination",{firstPage:[1540,"first-page"],previousPage:[1540,"previous-page"],offset:[1538],limit:[1538],total:[1538],language:[1],offsetInt:[32],lastPage:[32],limitInt:[32],totalInt:[32],pagesArray:[32],endInt:[32]}]]],["p-49bd2864",[[1,"lottery-game-page",{endpoint:[1],gameId:[1,"game-id"],playerId:[2,"player-id"],sessionId:[1,"session-id"],language:[1],autoPick:[4,"auto-pick"],resetButton:[4,"reset-button"],tickets:[32],tabIndex:[32],hasErrors:[32],totalAmount:[32],successVisible:[32],deleteVisible:[32],deleteEventData:[32],daysRemaining:[32],hoursRemaining:[32],minutesRemaining:[32],secondsRemaining:[32],latestDraw:[32],totalWinningsAmount:[32],nextDate:[32]},[[0,"ticketCompleted","gridFilledHandler"],[0,"gridDirty","gridDirtyHandler"],[0,"deleteTicket","deleteTicketHandler"],[0,"modalCloseEvent","modalCloseEvent"],[0,"stakeChange","stakeChangeHandler"],[0,"multiplierChange","multiplierChangeHandler"]]],[1,"lottery-draw-results-history",{endpoint:[1],gameId:[1,"game-id"],numberOfResults:[2,"number-of-results"],language:[1],drawData:[32],displayAllDrawsResults:[32],showQuickFilters:[32],winningDataSetsData:[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"]]],[1,"lottery-ticket-controller",{endpoint:[1],ticketId:[2,"ticket-id"],ticketDescription:[1,"ticket-description"],gameId:[1,"game-id"],postMessage:[4,"post-message"],eventName:[1,"event-name"],collapsed:[4],numberOfGrids:[2,"number-of-grids"],last:[4],language:[1],autoPick:[4,"auto-pick"],resetButton:[4,"reset-button"]},[[0,"helperAccordionAction","helperAccordionActionHandler"]]],[1,"lottery-game-details"],[1,"lottery-draw-results",{endpoint:[1],gameId:[1,"game-id"],language:[1],playerId:[1,"player-id"],drawMode:[4,"draw-mode"],drawId:[1,"draw-id"],gameName:[1,"game-name"],multiplier:[32],ticketData:[32],isLoading:[32],drawResults:[32],rules:[32],toggleDrawer:[32],hasErrors:[32],errorText:[32]}],[1,"lottery-ticket",{endpoint:[1],gameId:[1,"game-id"],numberOfGrids:[2,"number-of-grids"],multipleDraws:[4,"multiple-draws"],ticketId:[2,"ticket-id"],resetButton:[4,"reset-button"],autoPick:[4,"auto-pick"],language:[1],multiplier:[32],numberOfDraws:[32],isLoading:[32],hasErrors:[32],ticketDone:[32]},[[0,"gridFilled","gridFilledHandler"]]],[1,"helper-filters",{showFilterId:[4,"show-filter-id"],activateTicketSearch:[4,"activate-ticket-search"],gameId:[1,"game-id"],playerId:[1,"player-id"],session:[1],postMessage:[4,"post-message"],language:[1],showFilterModal:[32],showClearButton:[32],filterData:[32],filterDataReset:[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"helper-tabs",{disabled:[4],label:[1],selected:[4],cmsEndpoint:[1,"cms-endpoint"],selectedIndex:[1538,"selected-index"],tabs:[16]}],[1,"helper-accordion",{headerTitle:[1,"header-title"],headerSubtitle:[1,"header-subtitle"],description:[1],footer:[4],deleteTab:[4,"delete-tab"],postMessage:[4,"post-message"],eventName:[1,"event-name"],collapsed:[4],language:[1],showContent:[32]}],[1,"helper-modal",{titleModal:[1,"title-modal"],visible:[1540]}],[1,"helper-tab",{selectedIndex:[2,"selected-index"],cmsEndpoint:[1,"cms-endpoint"]}],[1,"lottery-grid",{ticketId:[2,"ticket-id"],totalNumbers:[2,"total-numbers"],gameId:[1,"game-id"],maximumAllowed:[2,"maximum-allowed"],minimumAllowed:[2,"minimum-allowed"],selectable:[4],selectedNumbers:[1,"selected-numbers"],displaySelected:[4,"display-selected"],language:[1],gridIndex:[2,"grid-index"],numbers:[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{value:[1],selectable:[4],isSelected:[4,"is-selected"]}]]]],e)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s}from"./p-91420518.js";const e=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),o=["ro","en"],a={en:{firstPage:"First",previousPage:"Previous",nextPage:"Next",lastPage:"Last"},ro:{firstPage:"Prima",previousPage:"Anterior",nextPage:"Urmatoarea",lastPage:"Ultima"}},n=(t,i)=>{const s=i;return a[void 0!==s&&o.includes(s)?s:"en"][t]},h=class{constructor(s){t(this,s),this.hpPageChange=i(this,"hpPageChange",7),this.firstPage=!1,this.previousPage=!1,this.offset=0,this.limit=1,this.total=1,this.language="en",this.pagesArray=[],this.endInt=0,this.userAgent=window.navigator.userAgent,this.currentPage=1,this.navigateTo=t=>{switch(t){case"firstPage":this.offsetInt=0;break;case"lastPage":this.offsetInt=this.endInt*this.limitInt;break;case"previousPage":this.offsetInt-=10;break;case"nextPage":this.offsetInt+=10;break;case"fivePagesBack":this.offsetInt-=30,this.offsetInt=this.offsetInt<0?0:this.offsetInt;break;case"fivePagesForward":this.offsetInt+=30,this.offsetInt=this.offsetInt/10>=this.endInt?10*this.endInt:this.offsetInt}this.hpPageChange.emit({offset:this.offsetInt,limit:this.limitInt,total:this.totalInt})},this.paginationNavigation=(t,i)=>{isNaN(t)?0===i&&this.currentPage<=4?this.navigateTo("firstPage"):0===i&&this.currentPage>4?this.navigateTo("fivePagesBack"):4===i&&this.endInt-this.currentPage>=2&&this.navigateTo("fivePagesForward"):this.offsetInt=1===t?t-1:10*(t-1),this.currentPage=this.offsetInt,this.hpPageChange.emit({offset:this.offsetInt,limit:this.limitInt,total:this.totalInt})}}componentWillRender(){this.offsetInt=this.offset,this.currentPage=this.offsetInt/this.limitInt+1,this.limitInt=this.limit,this.totalInt=this.total,this.endInt=Math.ceil(this.totalInt/this.limitInt)-1,this.lastPage=!(this.offsetInt>=this.endInt*this.limitInt),1===this.currentPage||2===this.currentPage?(this.pagesArray=Array.from({length:4},((t,i)=>i+1)),this.pagesArray.push("...")):this.currentPage>=3&&this.endInt-this.currentPage>=2?(this.pagesArray=Array.from({length:3},((t,i)=>this.currentPage+i-1)),this.pagesArray.push("..."),this.pagesArray.unshift("...")):this.endInt-this.currentPage<3&&(this.pagesArray=Array.from({length:4},((t,i)=>this.endInt-2+i)),this.pagesArray.unshift("..."))}render(){let t=s("ul",{class:"PaginationArea"},this.pagesArray.map(((t,i)=>s("li",{class:"PaginationItem"+(t===this.currentPage?" ActiveItem":" ")+" "+(e(this.userAgent)?"MobileButtons":"")},s("button",{disabled:t===this.currentPage,onClick:this.paginationNavigation.bind(this,t,i)},s("span",null,t)))))),i=s("div",{class:"LeftItems"},s("button",{disabled:!this.previousPage,onClick:this.navigateTo.bind(this,"firstPage")},n("firstPage",this.language)),s("button",{disabled:!this.previousPage,onClick:this.navigateTo.bind(this,"previousPage")},n("previousPage",this.language)));e(this.userAgent)&&(i=s("div",{class:"LeftItems"},s("button",{disabled:!this.previousPage,onClick:this.navigateTo.bind(this,"previousPage")},n("previousPage",this.language))));let o=s("div",{class:"RightItems"},s("button",{disabled:!this.lastPage,onClick:this.navigateTo.bind(this,"nextPage")},n("nextPage",this.language)),s("button",{disabled:!this.lastPage,onClick:this.navigateTo.bind(this,"lastPage")},n("lastPage",this.language)));return e(this.userAgent)&&(o=s("div",{class:"RightItems"},s("button",{disabled:!this.lastPage,onClick:this.navigateTo.bind(this,"nextPage")},n("nextPage",this.language)))),s("div",{id:"PaginationContainer"},i,t,o)}};h.style='@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap");:host{display:block;font-family:"Roboto", sans-serif}#PaginationContainer{width:100%;margin-top:20px;display:inline-flex;justify-content:space-between;align-items:center}.LeftItems button:not(:first-child),.RightItems button:not(:last-child){margin:0 10px}.LeftItems button,.RightItems button{padding:0;background-color:#009993;border-color:#009993}.PaginationArea{display:inline-flex;gap:10px;list-style:none}.PaginationArea li{margin:0;padding:0}.PaginationArea li button{width:24px;height:24px;display:flex;border:0;padding:0;justify-content:center;align-items:center;background-color:transparent;color:#000;cursor:pointer;pointer-events:all}.PaginationItem.ActiveItem button{background:#009993;border-color:#009993;color:#fff}.PaginationItem.ActiveItem button:disabled{pointer-events:none;cursor:not-allowed}.PaginationItem button:hover,.PaginationItem button:active{background:#009993;border-color:#009993;color:#fff;opacity:0.8}button{width:100px;height:32px;border:1px solid #524e52;border-radius:5px;background:#524e52;color:#fff;font-size:14px;font:inherit;cursor:pointer;transition:all 0.1s linear;text-transform:uppercase;text-align:center;letter-spacing:0}button:hover,button:active{background:#004D4A;border-color:#004D4A}button:disabled{background-color:#ccc;border-color:#ccc;color:#fff;cursor:not-allowed}@media screen and (max-width: 720px){button{width:90px;font-size:12px}}@media screen and (max-width: 480px){button{width:70px;font-size:10px}.paginationArea{padding:5px}}@media screen and (max-width: 320px){button{width:58px;font-size:10px}.paginationArea{padding:5px;gap:5px}}@media (hover: none){.paginationItem button:hover{background:inherit;border-color:inherit;color:inherit;opacity:1}.paginationItem.activeItem button:hover{background:#009993;border-color:#009993;color:#fff}}';export{h as helper_pagination}
|