@everymatrix/lottery-tipping-ticket-history 1.77.25 → 1.77.27
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/general-multi-select_10.cjs.entry.js +12 -21
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{lottery-tipping-ticket-history-dc0404e9.js → lottery-tipping-ticket-history-5d5f9bd8.js} +64 -109
- package/dist/cjs/lottery-tipping-ticket-history.cjs.js +1 -1
- package/dist/collection/components/lottery-tipping-filter/lottery-tipping-filter.js +5 -5
- package/dist/collection/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.js +60 -33
- package/dist/collection/utils/locale.utils.js +7 -76
- package/dist/collection/utils/utils.js +7 -0
- package/dist/esm/general-multi-select_10.entry.js +13 -22
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{lottery-tipping-ticket-history-94060ab4.js → lottery-tipping-ticket-history-1c57b065.js} +64 -109
- package/dist/esm/lottery-tipping-ticket-history.js +1 -1
- package/dist/lottery-tipping-ticket-history/general-multi-select_10.entry.js +2 -2
- package/dist/lottery-tipping-ticket-history/index.esm.js +1 -1
- package/dist/lottery-tipping-ticket-history/lottery-tipping-ticket-history-1c57b065.js +1 -0
- package/dist/lottery-tipping-ticket-history/lottery-tipping-ticket-history.esm.js +1 -1
- package/dist/types/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.d.ts +3 -1
- package/dist/types/utils/utils.d.ts +4 -0
- package/package.json +1 -1
- package/dist/lottery-tipping-ticket-history/lottery-tipping-ticket-history-94060ab4.js +0 -1
package/dist/collection/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
|
|
3
|
-
import { fetchRequest, toQueryParams, parseEachLineNumber, thousandSeperator, isMobile, fetcher } from "../../utils/utils";
|
|
3
|
+
import { fetchRequest, toQueryParams, parseEachLineNumber, thousandSeperator, isMobile, fetcher, showNotification } from "../../utils/utils";
|
|
4
4
|
import { DrawResult } from "../../models";
|
|
5
5
|
import { format } from "date-fns";
|
|
6
6
|
import "../../../../../lottery-tipping-dialog/dist/types/index";
|
|
@@ -107,23 +107,49 @@ export class LotteryTippingTicketHistory {
|
|
|
107
107
|
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
async fetchGameData() {
|
|
111
|
+
var _a;
|
|
112
|
+
try {
|
|
113
113
|
this.isLoading = true;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
114
|
+
let url = new URL(`${this.endpoint}/games/${this.gameId}`);
|
|
115
|
+
const res = await fetcher(url.href);
|
|
116
|
+
this.rawData = res;
|
|
117
|
+
}
|
|
118
|
+
catch (e) {
|
|
119
|
+
showNotification({ message: (_a = e.message) !== null && _a !== void 0 ? _a : e, theme: 'error' });
|
|
120
|
+
}
|
|
121
|
+
finally {
|
|
122
|
+
this.isLoading = false;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
connectedCallback() {
|
|
126
|
+
if (this.endpoint && this.gameId) {
|
|
127
|
+
this.fetchGameData();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
handleGameInfoChange(newValue, oldValue) {
|
|
131
|
+
if (newValue && newValue != oldValue) {
|
|
132
|
+
this.fetchGameData();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
handleTicketInfoChange(newValue, oldValue) {
|
|
136
|
+
if (newValue && newValue != oldValue) {
|
|
137
|
+
this.fetchTicketList();
|
|
138
|
+
}
|
|
123
139
|
}
|
|
124
140
|
disconnectedCallback() {
|
|
125
141
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
126
142
|
}
|
|
143
|
+
// fetchGameData() {
|
|
144
|
+
// try {
|
|
145
|
+
// let url: URL = new URL(`${this.endpoint}/games/${this.gameId}`);
|
|
146
|
+
// fetcher(url.href).then((res) => {
|
|
147
|
+
// this.rawData = res;
|
|
148
|
+
// });
|
|
149
|
+
// } catch (e) {
|
|
150
|
+
// this.showNotification(e.message, 'error');
|
|
151
|
+
// }
|
|
152
|
+
// }
|
|
127
153
|
async fetchTicketList() {
|
|
128
154
|
this.isLoading = true;
|
|
129
155
|
try {
|
|
@@ -132,7 +158,6 @@ export class LotteryTippingTicketHistory {
|
|
|
132
158
|
});
|
|
133
159
|
this.ticketHistory = items;
|
|
134
160
|
this.paginationInfo.total = total;
|
|
135
|
-
this.isLoading = false;
|
|
136
161
|
if (items.length > 0) {
|
|
137
162
|
this.getDrawResult();
|
|
138
163
|
}
|
|
@@ -140,7 +165,7 @@ export class LotteryTippingTicketHistory {
|
|
|
140
165
|
catch (e) {
|
|
141
166
|
console.log('in fetchTicketList error is: ', e);
|
|
142
167
|
if (e.status === 401) {
|
|
143
|
-
|
|
168
|
+
showNotification({ message: e.message, theme: 'error' });
|
|
144
169
|
this.logout.emit();
|
|
145
170
|
}
|
|
146
171
|
}
|
|
@@ -157,19 +182,6 @@ export class LotteryTippingTicketHistory {
|
|
|
157
182
|
console.log(e);
|
|
158
183
|
}
|
|
159
184
|
}
|
|
160
|
-
showNotification(message, theme = '', position = 'top-end') {
|
|
161
|
-
const notification = document.createElement('vaadin-notification');
|
|
162
|
-
notification.renderer = (root) => {
|
|
163
|
-
root.textContent = message;
|
|
164
|
-
};
|
|
165
|
-
notification.duration = 5000;
|
|
166
|
-
if (theme) {
|
|
167
|
-
notification.setAttribute('theme', theme);
|
|
168
|
-
}
|
|
169
|
-
notification.setAttribute('position', position);
|
|
170
|
-
document.body.appendChild(notification);
|
|
171
|
-
notification.opened = true;
|
|
172
|
-
}
|
|
173
185
|
getDivision(detail, drawData) {
|
|
174
186
|
var _a;
|
|
175
187
|
let division = detail.division;
|
|
@@ -322,15 +334,15 @@ export class LotteryTippingTicketHistory {
|
|
|
322
334
|
return name !== null && name !== void 0 ? name : bettingType;
|
|
323
335
|
}
|
|
324
336
|
render() {
|
|
325
|
-
return (h("div", { key: '
|
|
326
|
-
item.drawResults.map((drawResultItem) => (h("div", { class: "draw-info-container" }, drawResultItem.tempDrawData ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('ticketResult', this.language)), h("div", { class: "draw-info-val" }, this.resultMap[drawResultItem.state])), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('drawId', this.language)), h("div", { class: "draw-info-val" }, drawResultItem.drawId)), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('drawDate', this.language)), h("div", { class: "draw-info-val" }, format(new Date(drawResultItem.tempDrawData.date), 'dd/MM/yyyy'))), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('result', this.language)), h("div", { class: "draw-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('prize', this.language)), h("div", { class: "draw-info-val1" }, h("div", { style: { height: '20px' } }), drawResultItem.prizeDetails.map((prizeItem) => (h("span", null, h("div", null, h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.prizeName, prizeItem.times > 1 ? ' x ' + prizeItem.times : '', ":", ' '), h("span", { style: { 'margin-right': '4px', color: 'rgb(85, 85, 85)' } }, thousandSeperator(prizeItem.amount)), h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.currency)))))))))) : (h("div", { class: "draw-info-skeleton" }, [...Array(5)].map(() => (h("div", { class: "skeleton-line" })))))))))))))), h("lottery-tipping-dialog", { key: '
|
|
337
|
+
return (h("div", { key: '9dbed4dca8e568a334c63748d1768ace33922270', class: "lottery-tipping-ticket-history", ref: (el) => (this.stylingContainer = el) }, h("div", { key: '4149c4c6f067be28f1334a8642790d9886d219ef', class: "ticket-history-title" }, translate('ticketsHistory', this.language)), h("div", { key: '185ac4ad602e6e8bb0ec025a5cc2c4a9b8418444', class: "filter-wrap" }, h("div", { key: 'd136c367780b696403f075b261f2009cc94edc5d', class: "filter-status" }, this.statusOptions.map((status) => (h("div", { class: 'filter-status-btn' + (this.activeStatus == status.value ? ' active' : ''), onClick: () => this.changeStatus(status.value) }, status.label)))), h("div", { key: 'e6a30ef0f8c957813a7b13238353709cfb9e2dd9', class: "filter-operation" }, h("lottery-tipping-filter", { key: '4e1e0ba0eeafd7e64344c2b8e4e7d0c0f097127b', "quick-filters-active": this.quickFiltersActive, language: this.language, "translation-url": this.translationUrl }))), this.isLoading && (h("div", { key: 'f572e1bd9cbf97948b9a9bda34f34c1407a8007e', class: "loading-wrap" }, h("section", { key: '9198457f400b175e4c9721449e49a987090860d9', class: "dots-container" }, h("div", { key: '0b1196e3ad2b05ef91965b2a52728e5386578e4b', class: "dot" }), h("div", { key: '19a5b0bc39fd931455a7972d66b640ca36685ea9', class: "dot" }), h("div", { key: '8bf3a43540d38c98d27cb7bf61d7595123a4739c', class: "dot" }), h("div", { key: '5ed33ee21018c3b2aae97a6b1345fdec2072fefe', class: "dot" }), h("div", { key: '2d4404c8e0d39dc82bb25554c242d27e091a9932', class: "dot" })))), !this.isLoading && (!this.ticketHistory || this.ticketHistory.length == 0) && (h("div", { key: '4b731612e57d8bde341da7d639dec6f245c7156d', class: "empty-wrap" }, translate('noData', this.language))), !this.isLoading && this.ticketHistory && this.ticketHistory.length != 0 && (h("div", { key: 'c9a17cc74f32ae9277d069a8633f38a8478e642c', class: "ticket-list-wrap" }, this.ticketHistory.map((item) => (h("lottery-tipping-panel", { "header-title": format(new Date(item.createdAt), 'dd/MM/yyyy HH:mm:ss') + ' ' + item.state }, h("div", { class: "panel-content", slot: "content" }, h("div", { class: "ticket-info" }, h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate('ticketId', this.language)), h("div", { class: "ticket-info-val" }, item.id, " ")), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate('ticketType', this.language)), h("div", { class: "ticket-info-val" }, this.ticketTypeMap[item.wagerType], " ")), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate('ticketAmount', this.language)), h("div", { class: "ticket-info-val" }, `${item.amount} ${item.currency}`)), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate('lineDetail', this.language)), h("div", { class: "ticket-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowTicketLineDetial(item) }, translate('seeDetails', this.language)))), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate('numberOfDraw', this.language)), h("div", { class: "ticket-info-val" }, item.drawCount))), item.state == 'Settled' &&
|
|
338
|
+
item.drawResults.map((drawResultItem) => (h("div", { class: "draw-info-container" }, drawResultItem.tempDrawData ? (h("div", { class: "draw-info" }, h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('ticketResult', this.language)), h("div", { class: "draw-info-val" }, this.resultMap[drawResultItem.state])), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('drawId', this.language)), h("div", { class: "draw-info-val" }, drawResultItem.drawId)), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('drawDate', this.language)), h("div", { class: "draw-info-val" }, format(new Date(drawResultItem.tempDrawData.date), 'dd/MM/yyyy'))), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('result', this.language)), h("div", { class: "draw-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate('prize', this.language)), h("div", { class: "draw-info-val1" }, h("div", { style: { height: '20px' } }), drawResultItem.prizeDetails.map((prizeItem) => (h("span", null, h("div", null, h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.prizeName, prizeItem.times > 1 ? ' x ' + prizeItem.times : '', ":", ' '), h("span", { style: { 'margin-right': '4px', color: 'rgb(85, 85, 85)' } }, thousandSeperator(prizeItem.amount)), h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.currency)))))))))) : (h("div", { class: "draw-info-skeleton" }, [...Array(5)].map(() => (h("div", { class: "skeleton-line" })))))))))))))), h("lottery-tipping-dialog", { key: '4ef7d281084bc6441e6a3e666ac52a7df3dfd28c', visible: this.showCurrentTicketLine, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
|
|
327
339
|
this.showCurrentTicketLine = false;
|
|
328
|
-
}, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (h("div", { key: '
|
|
340
|
+
}, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (h("div", { key: '0fe7ae0f7deceb8b3c939a401efafe70124411dd' }, h("div", { key: '5418df176032a83dbd05ee545fffc255694413a2', class: "betting-type" }, h("div", { key: '8fb74f2041677fe8876a54773451d00f53abe0df', class: "betting-type-title" }, translate('bettingType', this.language)), h("div", { key: 'b9bc169c4df854a59606d0ddf330707677720263', class: "betting-type-text" }, this.getBettingTypeName(this.getBettingType(this.curTicketItem.selection[this.curSelectionIdx].betType)))), h("lottery-tipping-ticket-bet", { key: 'e76e8c1a24b22668d82f54bfed708afb676f23c9', endpoint: this.endpoint, "session-id": this.sessionId, "game-id": this.curTicketItem.vendorGameId, "draw-id": this.curTicketItem.startingDrawId, "default-bullet-config-line-group": JSON.stringify(this.curSelection), "read-pretty": true, "total-pages": this.curSelection.length, language: this.language, "translation-url": this.translationUrl })))), h("lottery-tipping-dialog", { key: 'cf4220d7b9ef7a174ab059574e1d758096cf6f6c', visible: this.showCurrentDrawResult, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
|
|
329
341
|
this.showCurrentDrawResult = false;
|
|
330
|
-
}, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (h("div", { key: '
|
|
342
|
+
}, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (h("div", { key: '61214e66f20708cf92fa12d9b3afa3feee2e4335' }, h("div", { key: '589010058422524a0b3478cee60fa13703d921e9', class: "betting-type" }, h("div", { key: '657e2cede56274839d1e56784e7f85e61c5b3a42', class: "betting-type-title" }, translate('bettingType', this.language)), h("div", { key: 'b2b77770d0d439d7a2d062943c1cb114a7e54574', class: "betting-type-text" }, h("div", { key: '8a9e0821b8165a9cc04c5be4b3eb7286bdcef21f', class: "LotteryTippingTicketController__segmented-control" }, Object.keys(this.curDrawSelectionMap).map((bettingType) => (h("button", { class: {
|
|
331
343
|
LotteryTippingTicketController__segment: true,
|
|
332
344
|
'LotteryTippingTicketController__segment--active': this.curDrawSelectionBettingType === bettingType
|
|
333
|
-
}, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: '
|
|
345
|
+
}, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: '313e81c7d8181316896a2a46211d12ede72b5353', endpoint: this.endpoint, "session-id": this.sessionId, "game-id": this.curDrawItem.vendorGameId, "draw-id": this.curDrawItem.id, "default-bullet-config-line-group": JSON.stringify(this.curDrawSelection), "read-pretty": true, "total-pages": this.curDrawSelection.length, language: this.language, "translation-url": this.translationUrl })))), h("div", { key: '374d4a579f634ae631392b9e16a3a9acd0cf029c', class: "pagination-wrap" }, h("lottery-tipping-pagination", { key: '0a22fb6a1d59c391f2db3a2e20774a1b19491739', total: this.paginationInfo.total, current: this.paginationInfo.current, "page-size": this.paginationInfo.pageSize, language: this.language, "translation-url": this.translationUrl }))));
|
|
334
346
|
}
|
|
335
347
|
static get is() { return "lottery-tipping-ticket-history"; }
|
|
336
348
|
static get encapsulation() { return "shadow"; }
|
|
@@ -587,6 +599,21 @@ export class LotteryTippingTicketHistory {
|
|
|
587
599
|
}, {
|
|
588
600
|
"propName": "mbSource",
|
|
589
601
|
"methodName": "handleMbSourceChange"
|
|
602
|
+
}, {
|
|
603
|
+
"propName": "gameId",
|
|
604
|
+
"methodName": "handleGameInfoChange"
|
|
605
|
+
}, {
|
|
606
|
+
"propName": "endpoint",
|
|
607
|
+
"methodName": "handleGameInfoChange"
|
|
608
|
+
}, {
|
|
609
|
+
"propName": "endpointTicket",
|
|
610
|
+
"methodName": "handleTicketInfoChange"
|
|
611
|
+
}, {
|
|
612
|
+
"propName": "playerId",
|
|
613
|
+
"methodName": "handleTicketInfoChange"
|
|
614
|
+
}, {
|
|
615
|
+
"propName": "sessionId",
|
|
616
|
+
"methodName": "handleTicketInfoChange"
|
|
590
617
|
}];
|
|
591
618
|
}
|
|
592
619
|
static get listeners() {
|
|
@@ -2,6 +2,9 @@ const DEFAULT_LANGUAGE = 'en';
|
|
|
2
2
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
3
3
|
const TRANSLATIONS = {
|
|
4
4
|
en: {
|
|
5
|
+
totalItems: 'Total {total} items',
|
|
6
|
+
perPage: '{size} / page',
|
|
7
|
+
goTo: 'Go to',
|
|
5
8
|
filter: 'Filter',
|
|
6
9
|
clear: 'Clear',
|
|
7
10
|
searchByTicketId: 'Search by Ticket ID',
|
|
@@ -31,82 +34,10 @@ const TRANSLATIONS = {
|
|
|
31
34
|
prize: 'Prize:',
|
|
32
35
|
bettingType: 'Betting Type:'
|
|
33
36
|
},
|
|
34
|
-
ro: {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
canceled: 'Anulat',
|
|
39
|
-
noData: 'Nu sunt date disponibile.',
|
|
40
|
-
ticketId: 'ID bilet:',
|
|
41
|
-
ticketType: 'Tip bilet:',
|
|
42
|
-
ticketAmount: 'Suma biletului:',
|
|
43
|
-
lineDetail: 'Detaliu linie:',
|
|
44
|
-
seeDetails: 'Vezi detalii',
|
|
45
|
-
numberOfDraw: 'Număr de extrageri:',
|
|
46
|
-
ticketResult: 'Rezultat bilet:',
|
|
47
|
-
drawId: 'ID extragere:',
|
|
48
|
-
drawDate: 'Data extragerii:',
|
|
49
|
-
result: 'Rezultat:',
|
|
50
|
-
prize: 'Premiu:',
|
|
51
|
-
bettingType: 'Tip de pariu:'
|
|
52
|
-
},
|
|
53
|
-
fr: {
|
|
54
|
-
ticketsHistory: 'Historique des billets',
|
|
55
|
-
settled: 'Réglé',
|
|
56
|
-
purchased: 'Acheté',
|
|
57
|
-
canceled: 'Annulé',
|
|
58
|
-
noData: 'Aucune donnée disponible.',
|
|
59
|
-
ticketId: 'ID du billet:',
|
|
60
|
-
ticketType: 'Type de billet:',
|
|
61
|
-
ticketAmount: 'Montant du billet:',
|
|
62
|
-
lineDetail: 'Détail de la ligne:',
|
|
63
|
-
seeDetails: 'Voir les détails',
|
|
64
|
-
numberOfDraw: 'Nombre de tirages:',
|
|
65
|
-
ticketResult: 'Résultat du billet:',
|
|
66
|
-
drawId: 'ID du tirage:',
|
|
67
|
-
drawDate: 'Date du tirage:',
|
|
68
|
-
result: 'Résultat:',
|
|
69
|
-
prize: 'Prix:',
|
|
70
|
-
bettingType: 'Type de pari:'
|
|
71
|
-
},
|
|
72
|
-
ar: {
|
|
73
|
-
ticketsHistory: 'سجل التذاكر',
|
|
74
|
-
settled: 'تمت التسوية',
|
|
75
|
-
purchased: 'تم شراؤها',
|
|
76
|
-
canceled: 'تم الإلغاء',
|
|
77
|
-
noData: 'لا توجد بيانات متاحة.',
|
|
78
|
-
ticketId: 'معرف التذكرة:',
|
|
79
|
-
ticketType: 'نوع التذكرة:',
|
|
80
|
-
ticketAmount: 'مبلغ التذكرة:',
|
|
81
|
-
lineDetail: 'تفاصيل الخط:',
|
|
82
|
-
seeDetails: 'انظر التفاصيل',
|
|
83
|
-
numberOfDraw: 'عدد السحوبات:',
|
|
84
|
-
ticketResult: 'نتيجة التذكرة:',
|
|
85
|
-
drawId: 'معرف السحب:',
|
|
86
|
-
drawDate: 'تاريخ السحب:',
|
|
87
|
-
result: 'النتيجة:',
|
|
88
|
-
prize: 'الجائزة:',
|
|
89
|
-
bettingType: 'نوع الرهان:'
|
|
90
|
-
},
|
|
91
|
-
hr: {
|
|
92
|
-
ticketsHistory: 'Povijest listića',
|
|
93
|
-
settled: 'Riješeno',
|
|
94
|
-
purchased: 'Kupljeno',
|
|
95
|
-
canceled: 'Otkazano',
|
|
96
|
-
noData: 'Nema dostupnih podataka.',
|
|
97
|
-
ticketId: 'ID listića:',
|
|
98
|
-
ticketType: 'Vrsta listića:',
|
|
99
|
-
ticketAmount: 'Iznos listića:',
|
|
100
|
-
lineDetail: 'Detalji linije:',
|
|
101
|
-
seeDetails: 'Vidi detalje',
|
|
102
|
-
numberOfDraw: 'Broj izvlačenja:',
|
|
103
|
-
ticketResult: 'Rezultat listića:',
|
|
104
|
-
drawId: 'ID izvlačenja:',
|
|
105
|
-
drawDate: 'Datum izvlačenja:',
|
|
106
|
-
result: 'Rezultat:',
|
|
107
|
-
prize: 'Nagrada:',
|
|
108
|
-
bettingType: 'Vrsta oklade:'
|
|
109
|
-
}
|
|
37
|
+
ro: {},
|
|
38
|
+
fr: {},
|
|
39
|
+
ar: {},
|
|
40
|
+
hr: {}
|
|
110
41
|
};
|
|
111
42
|
export const translate = (key, customLang, replacements) => {
|
|
112
43
|
const lang = customLang;
|
|
@@ -175,3 +175,10 @@ export const isMobile = (userAgent) => {
|
|
|
175
175
|
userAgent.toLowerCase().match(/iphone|ipad|ipod/i) ||
|
|
176
176
|
userAgent.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
177
177
|
};
|
|
178
|
+
export const showNotification = ({ message, theme = 'success' }) => {
|
|
179
|
+
window.postMessage({
|
|
180
|
+
type: 'ShowNotificationToast',
|
|
181
|
+
message,
|
|
182
|
+
theme
|
|
183
|
+
});
|
|
184
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getAssetPath, h, a as getElement } from './index-4e926388.js';
|
|
2
|
-
import { r as requiredArgs, t as toInteger, s as setClientStyling, a as setClientStylingURL, b as setStreamStyling, g as getTranslations$2, c as translate$2, f as format, i as isMobile } from './lottery-tipping-ticket-history-
|
|
3
|
-
export { L as lottery_tipping_ticket_history } from './lottery-tipping-ticket-history-
|
|
2
|
+
import { r as requiredArgs, t as toInteger, s as setClientStyling, a as setClientStylingURL, b as setStreamStyling, g as getTranslations$2, c as translate$2, f as format, i as isMobile } from './lottery-tipping-ticket-history-1c57b065.js';
|
|
3
|
+
export { L as lottery_tipping_ticket_history } from './lottery-tipping-ticket-history-1c57b065.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Days in 1 week.
|
|
@@ -7588,16 +7588,16 @@ const LotteryTippingFilter = class {
|
|
|
7588
7588
|
render() {
|
|
7589
7589
|
return (h("div", { key: '74aa590f6f92b9df971fd17cb3f573cc6a0a68e9', class: "lottery-tipping-filter", ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'ebf385371627466c5eb06a5ef75a14a467b1badd', class: "operate-btns" }, !this.showClearButton && (h("div", { key: '55c709034e124b51e8b9057980f5a3c3b8c6d5ce', class: "operate-btn", onClick: () => {
|
|
7590
7590
|
this.isOpen = true;
|
|
7591
|
-
} }, translate$2('filter', this.language))), (this.showClearButton || this.quickFiltersActive) && (h("div", { key: 'aa747af2461e72fbacc16decd7fc75cd6f640c47', class: "operate-btn", onClick: () => this.resetSearch() }, translate$2('clear', this.language)))), h("lottery-tipping-dialog", { key: '
|
|
7591
|
+
} }, translate$2('filter', this.language))), (this.showClearButton || this.quickFiltersActive) && (h("div", { key: 'aa747af2461e72fbacc16decd7fc75cd6f640c47', class: "operate-btn", onClick: () => this.resetSearch() }, translate$2('clear', this.language)))), h("lottery-tipping-dialog", { key: '9a9472dee498db7acc83fd96db89b635be07a837', "dialog-title": translate$2('ticketResult', this.language), visible: this.isOpen, onCancel: () => {
|
|
7592
7592
|
this.isOpen = false;
|
|
7593
|
-
}, onConfirm: this.handleDialogConfirm(), animationDuration: 300, language: this.language, "translation-url": this.translationUrl }, h("div", { key: '
|
|
7593
|
+
}, onConfirm: this.handleDialogConfirm.bind(this), animationDuration: 300, language: this.language, "translation-url": this.translationUrl }, h("div", { key: 'a7bfe435c8f7a43abf2c2d500d7e31fe62123787', class: "dialog-content" }, h("div", { key: '4fcf5f1d3da61ba5e3e8c09b4a97339c1eafaf64', class: "filter-item" }, h("div", { key: '397bb60af15071331c46c0b83366475ef66205fd', class: "filter-item-label" }, translate$2('searchByTicketId', this.language)), h("div", { key: '657e0014bb0d8af52ed273149bad534b2cd035b6', class: "filter-item-val" }, h("vaadin-text-field", { key: 'e1d5c688281bf52ad5d90b81e66a495418c484ba', placeholder: translate$2('enterTicketId', this.language), value: this.filterData.ticketId, onInput: (event) => {
|
|
7594
7594
|
this.filterData.ticketId = event.target.value;
|
|
7595
|
-
} }))), h("div", { key: '
|
|
7595
|
+
} }))), h("div", { key: '3a49c0cb8361f19610be76c831320b9506414569', class: "filter-item" }, h("div", { key: 'abb2c02f3bf1c84d439499430696aa11f78c1ba7', class: "filter-item-label" }, translate$2('searchByTicketType', this.language)), h("div", { key: '1f8212f290fc32407b6cf5122099be2b2ee9a867', class: "general-multi-select-container" }, h("general-multi-select", { key: 'b79ebc1f60722e38436309b5699591368d2cb396', ref: (el) => (this.comboBox = el), placeholder: translate$2('selectTicketType', this.language), "max-visible-chips": "2", options: this.ticketTypeList.map((item) => ({
|
|
7596
7596
|
text: item.label,
|
|
7597
7597
|
value: item.value
|
|
7598
|
-
})), onChange: this.handleTicketType, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource }))), h("div", { key: '
|
|
7598
|
+
})), onChange: this.handleTicketType, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource }))), h("div", { key: '29c515bff2771f2fc542ec19308bab60b249873f', class: "filter-item" }, h("div", { key: 'bae8243eb9a551c545d8f78a83bd9f2717d282cb', class: "filter-item-label" }, translate$2('searchByDate', this.language)), h("div", { key: '96eaf18f338ccaca9088fb8517a3992dd188dcbf', class: "filter-item-val" }, h("vaadin-date-picker", { key: 'b49512011902e9f5c9993901a1533fecb2425e3a', value: this.filterData.filterFromCalendar, max: this.filterData.filterToCalendar === undefined
|
|
7599
7599
|
? undefined
|
|
7600
|
-
: this.changeFormate(this.filterData.filterToCalendar), onChange: this.handleFilterFrom, placeholder: translate$2('from', this.language), ref: (el) => this.setDateFormate(el), class: "VaadinDatePicker" }), h("vaadin-date-picker", { key: '
|
|
7600
|
+
: this.changeFormate(this.filterData.filterToCalendar), onChange: this.handleFilterFrom, placeholder: translate$2('from', this.language), ref: (el) => this.setDateFormate(el), class: "VaadinDatePicker" }), h("vaadin-date-picker", { key: 'a4132154143d20e048a526a3947d00bb9533e0b3', value: this.filterData.filterToCalendar, min: this.filterData.filterFromCalendar === undefined
|
|
7601
7601
|
? undefined
|
|
7602
7602
|
: this.changeFormate(this.filterData.filterFromCalendar), onChange: this.handleFilterTo, placeholder: translate$2('to', this.language), ref: (el) => this.setDateFormate(el), class: "VaadinDatePicker" })))))));
|
|
7603
7603
|
}
|
|
@@ -7970,21 +7970,12 @@ const DEFAULT_BULLET_CONFIG = [
|
|
|
7970
7970
|
}
|
|
7971
7971
|
];
|
|
7972
7972
|
const SPLIT_TOKEN = '-';
|
|
7973
|
-
const showNotification = ({ message, theme = 'success'
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
root.textContent = message;
|
|
7980
|
-
};
|
|
7981
|
-
notification.duration = duration;
|
|
7982
|
-
if (theme) {
|
|
7983
|
-
notification.setAttribute('theme', theme);
|
|
7984
|
-
}
|
|
7985
|
-
notification.setAttribute('position', position);
|
|
7986
|
-
document.body.appendChild(notification);
|
|
7987
|
-
notification.opened = true;
|
|
7973
|
+
const showNotification = ({ message, theme = 'success' }) => {
|
|
7974
|
+
window.postMessage({
|
|
7975
|
+
type: 'ShowNotificationToast',
|
|
7976
|
+
message,
|
|
7977
|
+
theme
|
|
7978
|
+
});
|
|
7988
7979
|
};
|
|
7989
7980
|
|
|
7990
7981
|
const lotteryTippingTicketBetCss = ".LotteryTippingTicketBet__container {\n display: block; /* Or inline-block, depending on desired layout flow */\n font-size: 14px;\n line-height: 1.5715;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n overflow: hidden;\n min-width: 300px;\n container-type: inline-size;\n}\n@container (max-width: 375px) {\n .LotteryTippingTicketBet__container {\n font-size: 12px;\n }\n}\n\n.table-wrapper {\n overflow-x: auto; /* Handle horizontal scroll if content overflows */\n}\n\n.my-table-component {\n width: 100%;\n border-collapse: collapse; /* Important for borders */\n text-align: left;\n border-radius: 0.1rem; /* Ant Design like subtle rounding */\n border-spacing: 0;\n}\n\n/* Header */\n.my-table-component th {\n background: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n font-weight: 500;\n padding: 0.4rem 0.5rem;\n transition: background 0.3s ease;\n}\n\n/* Cells */\n.my-table-component td {\n padding: 0.4rem 0.5rem;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n transition: background 0.3s;\n}\n@container (max-width: 400px) {\n .my-table-component td {\n padding: 0.3rem 0.3rem;\n }\n}\n\n.my-table-component.bordered th,\n.my-table-component.bordered td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Bordered style */\n.my-table-component.grid th,\n.my-table-component.grid td {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid th {\n border-bottom-width: 1px; /* Ensure bottom border is consistent */\n}\n\n.my-table-component.grid {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6); /* Outer border */\n border-right-width: 0;\n border-bottom-width: 0;\n}\n\n.my-table-component.grid th:last-child,\n.my-table-component.grid td:last-child {\n border-right: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid tr:last-child td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Striped style */\n.my-table-component.striped tbody tr:nth-child(even) td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n/* Hover (optional, but nice) */\n.my-table-component tbody tr:hover td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.flex {\n display: flex;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.gap-1 {\n gap: 4px;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.align-center {\n align-items: center;\n}\n\n.gap-1 {\n gap: 0.5rem;\n}\n\n.btn {\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n font-size: 14px;\n transition: all 0.2s ease;\n}\n.btn:hover {\n cursor: pointer;\n}\n\n.btn:hover {\n background-color: var(--emw--color-gray-100, #e6e6e6);\n}\n\n.btn.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n.btn.disabled:hover {\n cursor: not-allowed !important;\n}\n\n.LotteryTippingTicketBet__tableToolbar {\n width: 100%;\n margin-bottom: 1rem;\n}\n\n.LotteryTippingTicketBet__tableToolbar--item {\n background-color: transparent;\n cursor: pointer;\n font-weight: 500;\n white-space: nowrap;\n display: inline-flex;\n border-radius: 1.6rem;\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 1rem;\n padding-right: 1rem;\n margin-right: 2rem;\n color: var(--emw--color-typography, #000);\n}\n.LotteryTippingTicketBet__tableToolbar--item.mr-0 {\n margin-right: 0rem !important;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup {\n flex-basis: 2rem;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n border-radius: 8px;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 2rem;\n height: 2rem;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n border-radius: 8px;\n transition: all 0.2s ease-in-out;\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item img {\n width: 20px;\n height: 20px;\n transition: filter 0.2s ease-in-out;\n filter: grayscale(0.3);\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover img {\n filter: grayscale(0);\n transform: rotate(3deg);\n}\n\ndiv.border-line {\n margin-top: 1rem;\n height: 1px;\n width: 100%;\n box-sizing: border-box;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n transition: all 0.3s ease;\n}\n\n.LotteryTippingTicketBet__footer {\n padding: 0.5rem;\n}\n\n.my-pagination {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 1rem;\n font-size: 0.8rem;\n color: var(--emw--color-typography-secondary, #333);\n}\n\n.my-pagination span {\n font-weight: 500;\n user-select: none;\n}\n\n.my-pagination .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n transition: all 0.3s ease;\n cursor: pointer;\n opacity: 0.9;\n color: var(--emw--color-typography, #000);\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.my-pagination .btn img {\n width: 20px;\n height: 20px;\n transition: transform 0.2s ease;\n}\n\n.my-pagination .btn:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.my-pagination .btn.disabled {\n background-color: var(--emw--color-background-tertiary, #ccc);\n cursor: not-allowed;\n opacity: 0.5;\n transform: scale(1);\n}\n\n.match-info-item {\n display: flex;\n}\n\n.match-info-item-label {\n margin-right: 6px;\n}\n\n.info-icon:hover {\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__empty p {\n text-align: center;\n}\n\n.no-wrap {\n white-space: nowrap;\n overflow: hidden;\n}\n\n.eventNameContainer__item {\n line-height: 1rem;\n}\n.eventNameContainer__item--title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 300px;\n}\n@container (max-width: 600px) {\n .eventNameContainer__item--title {\n max-width: 180px;\n }\n}\n@container (max-width: 500px) {\n .eventNameContainer__item--title {\n max-width: 150px;\n }\n}\n@container (max-width: 400px) {\n .eventNameContainer__item--title {\n max-width: 100px;\n }\n}\n@container (max-width: 330px) {\n .eventNameContainer__item--title {\n max-width: 70px;\n }\n}\n\n.LotteryTippingTicketBet__main {\n perspective: 800px;\n will-change: transform, opacity;\n backface-visibility: hidden;\n}\n\n@container (max-width: 520px) {\n .LotteryTippingTicketBet__main {\n flex-wrap: wrap;\n justify-content: center;\n }\n .LotteryTippingTicketBet__tableToolbar--item {\n margin-right: 0 !important;\n }\n}\n/* Fade-In Keyframes */\n@keyframes fadeInLeft {\n from {\n opacity: 0;\n transform: translateX(100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* Fade-Out Keyframes */\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes fadeInRight {\n from {\n opacity: 0;\n transform: translateX(-100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fadeInUp {\n from {\n opacity: 0;\n transform: translateY(100%);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n@-webkit-keyframes slide-left {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 100% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n}\n@keyframes slide-left {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n@keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n/* Apply to your card classes */\n.card-in-left {\n -webkit-animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-left {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-right {\n -webkit-animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-right {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-up {\n -webkit-animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-down {\n animation: fadeOut 0.2s ease-out both;\n}";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { L as LotteryTippingTicketHistory } from './lottery-tipping-ticket-history-
|
|
1
|
+
export { L as LotteryTippingTicketHistory } from './lottery-tipping-ticket-history-1c57b065.js';
|
|
2
2
|
import './index-4e926388.js';
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["general-multi-select_10",[[1,"lottery-tipping-ticket-history",{"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[1537,"game-id"],"playerId":[1538,"player-id"],"sessionId":[1537,"session-id"],"drawId":[513,"draw-id"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"ticketHistory":[32],"activeStatus":[32],"statusOptions":[32],"isLoading":[32],"rawData":[32],"filterData":[32],"paginationInfo":[32],"quickFiltersActive":[32],"showCurrentTicketLine":[32],"curTicketItem":[32],"curSelection":[32],"curSelectionIdx":[32],"showCurrentDrawResult":[32],"curDrawItem":[32],"curDrawSelection":[32],"curDrawSelectionBettingType":[32],"curDrawSelectionMap":[32]},[[0,"pageSizeChange","handlePageSizeChange"],[0,"pageChange","handlePageChange"],[0,"filterChange","handleFilterChange"],[0,"filterClear","handleFilterClear"],[0,"poolGameCurrentPageChange","handlePoolGameCurrentPageChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-ticket-bet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"sessionId":[513,"session-id"],"endpoint":[513],"gameId":[513,"game-id"],"drawId":[513,"draw-id"],"totalPages":[1538,"total-pages"],"minTotalPages":[514,"min-total-pages"],"maxTotalPages":[514,"max-total-pages"],"mode":[513],"readPretty":[516,"read-pretty"],"defaultBulletConfigLineGroup":[513,"default-bullet-config-line-group"],"translationData":[32],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[1,"lottery-tipping-filter",{"quickFiltersActive":[516,"quick-filters-active"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[520,"translation-url"],"isOpen":[32],"filterData":[32],"ticketTypeList":[32],"showClearButton":[32]},[[0,"modalCloseEvent","handleModalClose"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-pagination",{"total":[2],"pageSizeOptions":[16],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[520,"translation-url"],"current":[2],"pageSize":[32],"totalPages":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"total":["updateTotalPages"],"pageSize":["updateTotalPages"]}],[1,"lottery-tipping-panel",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"headerTitle":[1,"header-title"],"expanded":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-bullet-group",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[513,"position-idx"],"theme":[513],"mode":[513],"bulletConfigContent":[513,"bullet-config-content"]},[[0,"lotteryTippingBulletToggle","lotteryTippingBulletSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"general-multi-select",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"options":[16],"maxVisibleChips":[2,"max-visible-chips"],"placeholder":[1],"selectedValues":[32],"dropdownOpen":[32],"overflowOpen":[32],"popoverStyle":[32],"clear":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"general-tooltip",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"position":[1],"delay":[2],"isVisible":[32],"_tooltipId":[32]},[[1,"mouseenter","handleMouseEnterOrFocus"],[0,"focusin","handleMouseEnterOrFocus"],[1,"mouseleave","handleMouseLeaveOrBlur"],[0,"focusout","handleMouseLeaveOrBlur"],[0,"keydown","handleKeyDown"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-dialog",{"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"visible":[516],"dialogTitle":[1,"dialog-title"],"width":[1],"closable":[4],"mask":[4],"maskClosable":[4,"mask-closable"],"animationDuration":[2,"animation-duration"],"fullscreen":[4],"showFooter":[4,"show-footer"],"showCancelBtn":[4,"show-cancel-btn"],"language":[513],"translationUrl":[520,"translation-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-bullet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[514,"position-idx"],"theme":[513],"value":[513],"disabled":[516],"isSelected":[516,"is-selected"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
|
|
8
|
+
return bootstrapLazy([["general-multi-select_10",[[1,"lottery-tipping-ticket-history",{"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[1537,"game-id"],"playerId":[1538,"player-id"],"sessionId":[1537,"session-id"],"drawId":[513,"draw-id"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"ticketHistory":[32],"activeStatus":[32],"statusOptions":[32],"isLoading":[32],"rawData":[32],"filterData":[32],"paginationInfo":[32],"quickFiltersActive":[32],"showCurrentTicketLine":[32],"curTicketItem":[32],"curSelection":[32],"curSelectionIdx":[32],"showCurrentDrawResult":[32],"curDrawItem":[32],"curDrawSelection":[32],"curDrawSelectionBettingType":[32],"curDrawSelectionMap":[32]},[[0,"pageSizeChange","handlePageSizeChange"],[0,"pageChange","handlePageChange"],[0,"filterChange","handleFilterChange"],[0,"filterClear","handleFilterClear"],[0,"poolGameCurrentPageChange","handlePoolGameCurrentPageChange"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["handleGameInfoChange"],"endpoint":["handleGameInfoChange"],"endpointTicket":["handleTicketInfoChange"],"playerId":["handleTicketInfoChange"],"sessionId":["handleTicketInfoChange"]}],[1,"lottery-tipping-ticket-bet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"sessionId":[513,"session-id"],"endpoint":[513],"gameId":[513,"game-id"],"drawId":[513,"draw-id"],"totalPages":[1538,"total-pages"],"minTotalPages":[514,"min-total-pages"],"maxTotalPages":[514,"max-total-pages"],"mode":[513],"readPretty":[516,"read-pretty"],"defaultBulletConfigLineGroup":[513,"default-bullet-config-line-group"],"translationData":[32],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[1,"lottery-tipping-filter",{"quickFiltersActive":[516,"quick-filters-active"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[520,"translation-url"],"isOpen":[32],"filterData":[32],"ticketTypeList":[32],"showClearButton":[32]},[[0,"modalCloseEvent","handleModalClose"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-pagination",{"total":[2],"pageSizeOptions":[16],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[520,"translation-url"],"current":[2],"pageSize":[32],"totalPages":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"total":["updateTotalPages"],"pageSize":["updateTotalPages"]}],[1,"lottery-tipping-panel",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"headerTitle":[1,"header-title"],"expanded":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-bullet-group",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[513,"position-idx"],"theme":[513],"mode":[513],"bulletConfigContent":[513,"bullet-config-content"]},[[0,"lotteryTippingBulletToggle","lotteryTippingBulletSelectionHandler"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"general-multi-select",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"options":[16],"maxVisibleChips":[2,"max-visible-chips"],"placeholder":[1],"selectedValues":[32],"dropdownOpen":[32],"overflowOpen":[32],"popoverStyle":[32],"clear":[64]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"general-tooltip",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"position":[1],"delay":[2],"isVisible":[32],"_tooltipId":[32]},[[1,"mouseenter","handleMouseEnterOrFocus"],[0,"focusin","handleMouseEnterOrFocus"],[1,"mouseleave","handleMouseLeaveOrBlur"],[0,"focusout","handleMouseLeaveOrBlur"],[0,"keydown","handleKeyDown"]],{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-dialog",{"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"visible":[516],"dialogTitle":[1,"dialog-title"],"width":[1],"closable":[4],"mask":[4],"maskClosable":[4,"mask-closable"],"animationDuration":[2,"animation-duration"],"fullscreen":[4],"showFooter":[4,"show-footer"],"showCancelBtn":[4,"show-cancel-btn"],"language":[513],"translationUrl":[520,"translation-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-bullet",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"positionIdx":[514,"position-idx"],"theme":[513],"value":[513],"disabled":[516],"isSelected":[516,"is-selected"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|