@everymatrix/lottery-tipping-page 1.80.12 → 1.80.14
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.
|
@@ -9959,7 +9959,7 @@ const generateUUID$1 = () => {
|
|
|
9959
9959
|
return v.toString(16);
|
|
9960
9960
|
});
|
|
9961
9961
|
};
|
|
9962
|
-
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
9962
|
+
function fetchRequest$1(url, method = 'GET', body = null, headers = {}) {
|
|
9963
9963
|
return new Promise((resolve, reject) => {
|
|
9964
9964
|
const uuid = generateUUID$1();
|
|
9965
9965
|
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
@@ -9980,36 +9980,14 @@ function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
|
9980
9980
|
fetch(url, options)
|
|
9981
9981
|
.then((response) => {
|
|
9982
9982
|
if (!response.ok) {
|
|
9983
|
-
|
|
9984
|
-
const error = {
|
|
9985
|
-
status: response.status,
|
|
9986
|
-
statusText: response.statusText,
|
|
9987
|
-
code: errorData.code || 'UNKNOWN_ERROR',
|
|
9988
|
-
message: errorData.message || 'An unknown error occurred',
|
|
9989
|
-
data: errorData.data || null
|
|
9990
|
-
};
|
|
9991
|
-
reject(error);
|
|
9992
|
-
}, () => reject({
|
|
9993
|
-
status: response.status,
|
|
9994
|
-
statusText: response.statusText,
|
|
9995
|
-
code: 'PARSE_ERROR',
|
|
9996
|
-
message: 'Failed to parse error response'
|
|
9997
|
-
}));
|
|
9998
|
-
}
|
|
9999
|
-
else {
|
|
10000
|
-
return response.json();
|
|
9983
|
+
throw new Error(`HTTP error! Status: ${response.status}`);
|
|
10001
9984
|
}
|
|
9985
|
+
return response.json();
|
|
10002
9986
|
})
|
|
10003
|
-
.then((data) => resolve(data)
|
|
9987
|
+
.then((data) => resolve(data))
|
|
9988
|
+
.catch((error) => reject(error));
|
|
10004
9989
|
});
|
|
10005
9990
|
}
|
|
10006
|
-
const fetcher$2 = (url) => fetch(url, {
|
|
10007
|
-
method: 'GET',
|
|
10008
|
-
headers: {
|
|
10009
|
-
'x-scheme': 'application/json',
|
|
10010
|
-
Accept: 'application/json'
|
|
10011
|
-
}
|
|
10012
|
-
}).then((r) => r.json());
|
|
10013
9991
|
function isEmptyValueOfArray(arr) {
|
|
10014
9992
|
if (arr.length === 0) {
|
|
10015
9993
|
return true;
|
|
@@ -10530,13 +10508,37 @@ const formatDate$1 = ({ date, type = 'date', format: format$1 }) => {
|
|
|
10530
10508
|
return '';
|
|
10531
10509
|
}
|
|
10532
10510
|
};
|
|
10533
|
-
const
|
|
10534
|
-
|
|
10535
|
-
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10539
|
-
|
|
10511
|
+
const generateUUID = () => {
|
|
10512
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
10513
|
+
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
10514
|
+
return v.toString(16);
|
|
10515
|
+
});
|
|
10516
|
+
};
|
|
10517
|
+
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
10518
|
+
return new Promise((resolve, reject) => {
|
|
10519
|
+
const uuid = generateUUID();
|
|
10520
|
+
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
10521
|
+
if (method !== 'GET' && method !== 'HEAD') {
|
|
10522
|
+
headersOrigin['X-Idempotency-Key'] = uuid;
|
|
10523
|
+
}
|
|
10524
|
+
const options = {
|
|
10525
|
+
method,
|
|
10526
|
+
headers: headersOrigin
|
|
10527
|
+
};
|
|
10528
|
+
if (body && method !== 'GET' && method !== 'HEAD') {
|
|
10529
|
+
options.body = JSON.stringify(body);
|
|
10530
|
+
}
|
|
10531
|
+
fetch(url, options)
|
|
10532
|
+
.then((response) => {
|
|
10533
|
+
if (!response.ok) {
|
|
10534
|
+
throw new Error(`HTTP error! Status: ${response.status}`);
|
|
10535
|
+
}
|
|
10536
|
+
return response.json();
|
|
10537
|
+
})
|
|
10538
|
+
.then((data) => resolve(data))
|
|
10539
|
+
.catch((error) => reject(error));
|
|
10540
|
+
});
|
|
10541
|
+
}
|
|
10540
10542
|
const showNotification$1 = ({ message, theme = 'success' }) => {
|
|
10541
10543
|
window.postMessage({
|
|
10542
10544
|
type: 'ShowNotificationToast',
|
|
@@ -10556,12 +10558,6 @@ const thousandSeparator = (value) => {
|
|
|
10556
10558
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
10557
10559
|
return parts.join('.');
|
|
10558
10560
|
};
|
|
10559
|
-
const generateUUID = () => {
|
|
10560
|
-
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
10561
|
-
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
10562
|
-
return v.toString(16);
|
|
10563
|
-
});
|
|
10564
|
-
};
|
|
10565
10561
|
const TICKET_INVALID_TOKEN = 'TICKET_INVALID_TOKEN';
|
|
10566
10562
|
// format results to winning numbers
|
|
10567
10563
|
const formatResultsToWinningNumbers = (rawResults) => {
|
|
@@ -11419,7 +11415,7 @@ const LotteryTippingTicketController = class {
|
|
|
11419
11415
|
const fetchData = () => {
|
|
11420
11416
|
let url = new URL(`${this.endpoint}/games/${this.gameId}`);
|
|
11421
11417
|
this.isLoading = true;
|
|
11422
|
-
|
|
11418
|
+
fetchRequest(url.href, 'GET')
|
|
11423
11419
|
.then((res) => {
|
|
11424
11420
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
11425
11421
|
this.rawData = res;
|
|
@@ -11526,7 +11522,7 @@ const LotteryTippingTicketController = class {
|
|
|
11526
11522
|
}
|
|
11527
11523
|
render() {
|
|
11528
11524
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
11529
|
-
return (index.h("div", { key: '
|
|
11525
|
+
return (index.h("div", { key: '337388f1cf75297195a88c3728b865e74f613849', class: "lottery-tipping-ticket-controller__container", ref: (el) => (this.stylingContainer = el) }, index.h("lottery-tipping-ticket-banner", { key: '2cd069a119c2a29773d217d0ad40f985fe05fb14', "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, stopTime: (_b = (_a = this.rawData) === null || _a === void 0 ? void 0 : _a.currentDraw) === null || _b === void 0 ? void 0 : _b.wagerCloseTime, period: (_d = (_c = this.rawData) === null || _c === void 0 ? void 0 : _c.currentDraw) === null || _d === void 0 ? void 0 : _d.date, language: this.language, "translation-url": this.translationUrl, "logo-url": this.logoUrl }), this.renderBettingControls(), index.h("div", { key: '1ab326849e99b9558d1d6bc94985a4c48d74ab4a', class: "flex flex-wrap LotteryTippingTicketController__main" }, index.h("div", { key: 'abfb225ed18d7325555e2cdebd93348e82ae773e', class: "LotteryTippingTicketController__main--left" }, index.h("lottery-tipping-ticket-bet", { key: '19237e4c08ae390801898dd38796a6622255cd94', ref: (el) => (this.childRef = el), endpoint: this.endpoint, "session-id": this.sessionId, "game-id": (_e = this.rawData) === null || _e === void 0 ? void 0 : _e.type, "draw-id": this.drawId, language: this.language, "translation-url": this.translationUrl, "max-total-pages": this.lineNumberRange.maxLineNumber, "min-total-pages": this.lineNumberRange.minLineNumber, "total-pages": this.lineNumberRange.defaultBoards, mode: this.selectedPlayingMode === PlayModeEnum.SingleBet ? 'single' : 'multi', "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl })), this.renderOrderSummary()), this.dialogConfig.visible && (index.h("vaadin-confirm-dialog", { key: 'fa596e199dfc64d23768c739981a4c494c93010c', rejectButtonVisible: true, rejectText: translate$2('cancel', this.language), confirmText: translate$2('confirm', this.language), opened: (_f = this.dialogConfig) === null || _f === void 0 ? void 0 : _f.visible, onConfirm: this.dialogConfig.onConfirm, onReject: this.dialogConfig.onCancel }, (_g = this.dialogConfig) === null || _g === void 0 ? void 0 : _g.content))));
|
|
11530
11526
|
}
|
|
11531
11527
|
static get assetsDirs() { return ["../static"]; }
|
|
11532
11528
|
static get watchers() { return {
|
|
@@ -11654,7 +11650,7 @@ const LotteryTippingTicketHistory = class {
|
|
|
11654
11650
|
try {
|
|
11655
11651
|
this.isLoading = true;
|
|
11656
11652
|
let url = new URL(`${this.endpoint}/games/${this.gameId}`);
|
|
11657
|
-
const res = await
|
|
11653
|
+
const res = await fetchRequest$1(url.href, 'GET');
|
|
11658
11654
|
this.rawData = res;
|
|
11659
11655
|
}
|
|
11660
11656
|
catch (e) {
|
|
@@ -11695,7 +11691,7 @@ const LotteryTippingTicketHistory = class {
|
|
|
11695
11691
|
async fetchTicketList() {
|
|
11696
11692
|
this.isLoading = true;
|
|
11697
11693
|
try {
|
|
11698
|
-
const { items, total } = await fetchRequest(`${this.endpointTicket}/tickets${toQueryParams(this.filterData)}`, 'GET', null, {
|
|
11694
|
+
const { items, total } = await fetchRequest$1(`${this.endpointTicket}/tickets${toQueryParams(this.filterData)}`, 'GET', null, {
|
|
11699
11695
|
Authorization: `Bearer ${this.sessionId}`
|
|
11700
11696
|
});
|
|
11701
11697
|
this.ticketHistory = items;
|
|
@@ -11717,7 +11713,7 @@ const LotteryTippingTicketHistory = class {
|
|
|
11717
11713
|
}
|
|
11718
11714
|
async fetchDrwaResult(gameId, drawId) {
|
|
11719
11715
|
try {
|
|
11720
|
-
const res = await fetchRequest(`${this.endpoint}/games/${gameId}/draws/${drawId}`, 'GET', {});
|
|
11716
|
+
const res = await fetchRequest$1(`${this.endpoint}/games/${gameId}/draws/${drawId}`, 'GET', {});
|
|
11721
11717
|
return res;
|
|
11722
11718
|
}
|
|
11723
11719
|
catch (e) {
|
|
@@ -11876,15 +11872,15 @@ const LotteryTippingTicketHistory = class {
|
|
|
11876
11872
|
return name !== null && name !== void 0 ? name : bettingType;
|
|
11877
11873
|
}
|
|
11878
11874
|
render() {
|
|
11879
|
-
return (index.h("div", { key: '
|
|
11880
|
-
item.drawResults.map((drawResultItem) => (index.h("div", { class: "draw-info-container" }, drawResultItem.tempDrawData ? (index.h("div", { class: "draw-info" }, index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('ticketResult', this.language)), index.h("div", { class: "draw-info-val" }, this.resultMap[drawResultItem.state])), index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('drawId', this.language)), index.h("div", { class: "draw-info-val" }, drawResultItem.drawId)), index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('drawDate', this.language)), index.h("div", { class: "draw-info-val" }, format(new Date(drawResultItem.tempDrawData.date), 'dd/MM/yyyy'))), index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('result', this.language)), index.h("div", { class: "draw-info-val" }, index.h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate$3('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('prize', this.language)), index.h("div", { class: "draw-info-val1" }, index.h("div", { style: { height: '20px' } }), drawResultItem.prizeDetails.map((prizeItem) => (index.h("span", null, index.h("div", null, index.h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.prizeName, prizeItem.times > 1 ? ' x ' + prizeItem.times : '', ":", ' '), index.h("span", { style: { 'margin-right': '4px', color: 'rgb(85, 85, 85)' } }, thousandSeperator(prizeItem.amount)), index.h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.currency)))))))))) : (index.h("div", { class: "draw-info-skeleton" }, [...Array(5)].map(() => (index.h("div", { class: "skeleton-line" })))))))))))))), index.h("lottery-tipping-dialog", { key: '
|
|
11875
|
+
return (index.h("div", { key: '0a8574ec1ba181a07043ec0451dfca73f8aaaf9d', class: "lottery-tipping-ticket-history", ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: 'f6f0f989a7b4e598e2d9c3d18c83d4f8b4595d84', class: "ticket-history-title" }, translate$3('ticketsHistory', this.language)), index.h("div", { key: 'e80a9d6e39d899fe6a210837853aacfea21a6cb3', class: "filter-wrap" }, index.h("div", { key: 'edeaca1e9062a0b9ef264151113bc6130f358017', class: "filter-status" }, this.statusOptions.map((status) => (index.h("div", { class: 'filter-status-btn' + (this.activeStatus == status.value ? ' active' : ''), onClick: () => this.changeStatus(status.value) }, status.label)))), index.h("div", { key: 'fdae8b8a796d62827530955449baf85152b4bd49', class: "filter-operation" }, index.h("lottery-tipping-filter", { key: '004a977ff4460be8e1fbffd22fb6a742401b6597', "quick-filters-active": this.quickFiltersActive, language: this.language, "translation-url": this.translationUrl }))), this.isLoading && (index.h("div", { key: '4142baea434e611b871f7b8712a8ed03961bf929', class: "loading-wrap" }, index.h("section", { key: 'd412ab2648dc168e76d13957b9d654522d0211e4', class: "dots-container" }, index.h("div", { key: '81cca835dff7b6708354d79ecdb804fd768dfdf5', class: "dot" }), index.h("div", { key: '4fd405a231c5560b014bc9dc34e8847daf197ab1', class: "dot" }), index.h("div", { key: 'b89f42119dc855255ffb27b7d12d525dca40ab20', class: "dot" }), index.h("div", { key: 'c9ce133fe12b41639719558922ab0651ed82f605', class: "dot" }), index.h("div", { key: '8a18cbe9892de938f731045c0d8a01a6f58ab19d', class: "dot" })))), !this.isLoading && (!this.ticketHistory || this.ticketHistory.length == 0) && (index.h("div", { key: 'c806d553da2223941f0e1a28a12f96088e0bd45d', class: "empty-wrap" }, translate$3('noData', this.language))), !this.isLoading && this.ticketHistory && this.ticketHistory.length != 0 && (index.h("div", { key: '4ac929f08ef09e5f18cfcb0424c489f8d513bc9b', class: "ticket-list-wrap" }, this.ticketHistory.map((item) => (index.h("lottery-tipping-panel", { "header-title": format(new Date(item.createdAt), 'dd/MM/yyyy HH:mm:ss') + ' ' + item.state }, index.h("div", { class: "panel-content", slot: "content" }, index.h("div", { class: "ticket-info" }, index.h("div", { class: "ticket-info-item" }, index.h("div", { class: "ticket-info-label" }, translate$3('ticketId', this.language)), index.h("div", { class: "ticket-info-val" }, item.id, " ")), index.h("div", { class: "ticket-info-item" }, index.h("div", { class: "ticket-info-label" }, translate$3('ticketType', this.language)), index.h("div", { class: "ticket-info-val" }, this.ticketTypeMap[item.wagerType], " ")), index.h("div", { class: "ticket-info-item" }, index.h("div", { class: "ticket-info-label" }, translate$3('ticketAmount', this.language)), index.h("div", { class: "ticket-info-val" }, `${item.amount} ${item.currency}`)), index.h("div", { class: "ticket-info-item" }, index.h("div", { class: "ticket-info-label" }, translate$3('lineDetail', this.language)), index.h("div", { class: "ticket-info-val" }, index.h("span", { class: "show-detail-link", onClick: () => this.handleShowTicketLineDetial(item) }, translate$3('seeDetails', this.language)))), index.h("div", { class: "ticket-info-item" }, index.h("div", { class: "ticket-info-label" }, translate$3('numberOfDraw', this.language)), index.h("div", { class: "ticket-info-val" }, item.drawCount))), item.state == 'Settled' &&
|
|
11876
|
+
item.drawResults.map((drawResultItem) => (index.h("div", { class: "draw-info-container" }, drawResultItem.tempDrawData ? (index.h("div", { class: "draw-info" }, index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('ticketResult', this.language)), index.h("div", { class: "draw-info-val" }, this.resultMap[drawResultItem.state])), index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('drawId', this.language)), index.h("div", { class: "draw-info-val" }, drawResultItem.drawId)), index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('drawDate', this.language)), index.h("div", { class: "draw-info-val" }, format(new Date(drawResultItem.tempDrawData.date), 'dd/MM/yyyy'))), index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('result', this.language)), index.h("div", { class: "draw-info-val" }, index.h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate$3('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (index.h("div", { class: "draw-info-item" }, index.h("div", { class: "draw-info-label" }, translate$3('prize', this.language)), index.h("div", { class: "draw-info-val1" }, index.h("div", { style: { height: '20px' } }), drawResultItem.prizeDetails.map((prizeItem) => (index.h("span", null, index.h("div", null, index.h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.prizeName, prizeItem.times > 1 ? ' x ' + prizeItem.times : '', ":", ' '), index.h("span", { style: { 'margin-right': '4px', color: 'rgb(85, 85, 85)' } }, thousandSeperator(prizeItem.amount)), index.h("span", { style: { color: 'rgb(85, 85, 85)' } }, prizeItem.currency)))))))))) : (index.h("div", { class: "draw-info-skeleton" }, [...Array(5)].map(() => (index.h("div", { class: "skeleton-line" })))))))))))))), index.h("lottery-tipping-dialog", { key: 'ef4cff5d933545372cef4f6eb4e7dcd1a8f6f111', visible: this.showCurrentTicketLine, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
|
|
11881
11877
|
this.showCurrentTicketLine = false;
|
|
11882
|
-
}, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (index.h("div", { key: '
|
|
11878
|
+
}, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (index.h("div", { key: '817ee1fe2541a4ed62b944b58b7abb1eda7afdbe' }, index.h("div", { key: '68672db719f3cc643d6b17769c0a786b3c931a42', class: "betting-type" }, index.h("div", { key: 'af264555814c9e3262b64722438ecd449f451ceb', class: "betting-type-title" }, translate$3('bettingType', this.language)), index.h("div", { key: '25b9bff20eb5a221bed6d345412dd48964890ae7', class: "betting-type-text" }, this.getBettingTypeName(this.getBettingType(this.curTicketItem.selection[this.curSelectionIdx].betType)))), index.h("lottery-tipping-ticket-bet", { key: '4a01e6f1734e5165b06713d3dbb7484463cc1bf4', 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 })))), index.h("lottery-tipping-dialog", { key: '06fd83f481eb08a4601a96353557a925b1205b66', visible: this.showCurrentDrawResult, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
|
|
11883
11879
|
this.showCurrentDrawResult = false;
|
|
11884
|
-
}, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (index.h("div", { key: '
|
|
11880
|
+
}, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (index.h("div", { key: 'c9161334967e9e5abaae4a3d1df922ee7d8d7945' }, index.h("div", { key: 'c7a3ac60084056b899a2b59a6205cddbc8d4e7fc', class: "betting-type" }, index.h("div", { key: '97aa9e8c9048bb57f70d4230f29f8fde3aa4454a', class: "betting-type-title" }, translate$3('bettingType', this.language)), index.h("div", { key: '64332b20eabf75e9273bb6f16c16436e90b28346', class: "betting-type-text" }, index.h("div", { key: 'cbd1ec9e723c6a369a98141077e4648d802c76ad', class: "LotteryTippingTicketController__segmented-control" }, Object.keys(this.curDrawSelectionMap).map((bettingType) => (index.h("button", { class: {
|
|
11885
11881
|
LotteryTippingTicketController__segment: true,
|
|
11886
11882
|
'LotteryTippingTicketController__segment--active': this.curDrawSelectionBettingType === bettingType
|
|
11887
|
-
}, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), index.h("lottery-tipping-ticket-bet", { key: '
|
|
11883
|
+
}, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), index.h("lottery-tipping-ticket-bet", { key: '8b352410c87858e5629a5524e70134ccc2e1b116', 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 })))), index.h("div", { key: 'e730c86100cb47c4c63051174cd9b33dbb8e6ce4', class: "pagination-wrap" }, index.h("lottery-tipping-pagination", { key: 'dce4d6e9a18e783339d0ff545d1bd47bf1b2a33d', total: this.paginationInfo.total, current: this.paginationInfo.current, "page-size": this.paginationInfo.pageSize, language: this.language, "translation-url": this.translationUrl }))));
|
|
11888
11884
|
}
|
|
11889
11885
|
static get watchers() { return {
|
|
11890
11886
|
"clientStyling": ["handleClientStylingChange"],
|
|
@@ -9956,7 +9956,7 @@ const generateUUID$1 = () => {
|
|
|
9956
9956
|
return v.toString(16);
|
|
9957
9957
|
});
|
|
9958
9958
|
};
|
|
9959
|
-
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
9959
|
+
function fetchRequest$1(url, method = 'GET', body = null, headers = {}) {
|
|
9960
9960
|
return new Promise((resolve, reject) => {
|
|
9961
9961
|
const uuid = generateUUID$1();
|
|
9962
9962
|
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
@@ -9977,36 +9977,14 @@ function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
|
9977
9977
|
fetch(url, options)
|
|
9978
9978
|
.then((response) => {
|
|
9979
9979
|
if (!response.ok) {
|
|
9980
|
-
|
|
9981
|
-
const error = {
|
|
9982
|
-
status: response.status,
|
|
9983
|
-
statusText: response.statusText,
|
|
9984
|
-
code: errorData.code || 'UNKNOWN_ERROR',
|
|
9985
|
-
message: errorData.message || 'An unknown error occurred',
|
|
9986
|
-
data: errorData.data || null
|
|
9987
|
-
};
|
|
9988
|
-
reject(error);
|
|
9989
|
-
}, () => reject({
|
|
9990
|
-
status: response.status,
|
|
9991
|
-
statusText: response.statusText,
|
|
9992
|
-
code: 'PARSE_ERROR',
|
|
9993
|
-
message: 'Failed to parse error response'
|
|
9994
|
-
}));
|
|
9995
|
-
}
|
|
9996
|
-
else {
|
|
9997
|
-
return response.json();
|
|
9980
|
+
throw new Error(`HTTP error! Status: ${response.status}`);
|
|
9998
9981
|
}
|
|
9982
|
+
return response.json();
|
|
9999
9983
|
})
|
|
10000
|
-
.then((data) => resolve(data)
|
|
9984
|
+
.then((data) => resolve(data))
|
|
9985
|
+
.catch((error) => reject(error));
|
|
10001
9986
|
});
|
|
10002
9987
|
}
|
|
10003
|
-
const fetcher$2 = (url) => fetch(url, {
|
|
10004
|
-
method: 'GET',
|
|
10005
|
-
headers: {
|
|
10006
|
-
'x-scheme': 'application/json',
|
|
10007
|
-
Accept: 'application/json'
|
|
10008
|
-
}
|
|
10009
|
-
}).then((r) => r.json());
|
|
10010
9988
|
function isEmptyValueOfArray(arr) {
|
|
10011
9989
|
if (arr.length === 0) {
|
|
10012
9990
|
return true;
|
|
@@ -10527,13 +10505,37 @@ const formatDate$1 = ({ date, type = 'date', format: format$1 }) => {
|
|
|
10527
10505
|
return '';
|
|
10528
10506
|
}
|
|
10529
10507
|
};
|
|
10530
|
-
const
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
|
|
10534
|
-
|
|
10535
|
-
|
|
10536
|
-
|
|
10508
|
+
const generateUUID = () => {
|
|
10509
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
10510
|
+
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
10511
|
+
return v.toString(16);
|
|
10512
|
+
});
|
|
10513
|
+
};
|
|
10514
|
+
function fetchRequest(url, method = 'GET', body = null, headers = {}) {
|
|
10515
|
+
return new Promise((resolve, reject) => {
|
|
10516
|
+
const uuid = generateUUID();
|
|
10517
|
+
const headersOrigin = Object.assign({ 'Content-Type': 'application/json' }, headers);
|
|
10518
|
+
if (method !== 'GET' && method !== 'HEAD') {
|
|
10519
|
+
headersOrigin['X-Idempotency-Key'] = uuid;
|
|
10520
|
+
}
|
|
10521
|
+
const options = {
|
|
10522
|
+
method,
|
|
10523
|
+
headers: headersOrigin
|
|
10524
|
+
};
|
|
10525
|
+
if (body && method !== 'GET' && method !== 'HEAD') {
|
|
10526
|
+
options.body = JSON.stringify(body);
|
|
10527
|
+
}
|
|
10528
|
+
fetch(url, options)
|
|
10529
|
+
.then((response) => {
|
|
10530
|
+
if (!response.ok) {
|
|
10531
|
+
throw new Error(`HTTP error! Status: ${response.status}`);
|
|
10532
|
+
}
|
|
10533
|
+
return response.json();
|
|
10534
|
+
})
|
|
10535
|
+
.then((data) => resolve(data))
|
|
10536
|
+
.catch((error) => reject(error));
|
|
10537
|
+
});
|
|
10538
|
+
}
|
|
10537
10539
|
const showNotification$1 = ({ message, theme = 'success' }) => {
|
|
10538
10540
|
window.postMessage({
|
|
10539
10541
|
type: 'ShowNotificationToast',
|
|
@@ -10553,12 +10555,6 @@ const thousandSeparator = (value) => {
|
|
|
10553
10555
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
10554
10556
|
return parts.join('.');
|
|
10555
10557
|
};
|
|
10556
|
-
const generateUUID = () => {
|
|
10557
|
-
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
10558
|
-
var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
|
|
10559
|
-
return v.toString(16);
|
|
10560
|
-
});
|
|
10561
|
-
};
|
|
10562
10558
|
const TICKET_INVALID_TOKEN = 'TICKET_INVALID_TOKEN';
|
|
10563
10559
|
// format results to winning numbers
|
|
10564
10560
|
const formatResultsToWinningNumbers = (rawResults) => {
|
|
@@ -11416,7 +11412,7 @@ const LotteryTippingTicketController = class {
|
|
|
11416
11412
|
const fetchData = () => {
|
|
11417
11413
|
let url = new URL(`${this.endpoint}/games/${this.gameId}`);
|
|
11418
11414
|
this.isLoading = true;
|
|
11419
|
-
|
|
11415
|
+
fetchRequest(url.href, 'GET')
|
|
11420
11416
|
.then((res) => {
|
|
11421
11417
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
11422
11418
|
this.rawData = res;
|
|
@@ -11523,7 +11519,7 @@ const LotteryTippingTicketController = class {
|
|
|
11523
11519
|
}
|
|
11524
11520
|
render() {
|
|
11525
11521
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
11526
|
-
return (h("div", { key: '
|
|
11522
|
+
return (h("div", { key: '337388f1cf75297195a88c3728b865e74f613849', class: "lottery-tipping-ticket-controller__container", ref: (el) => (this.stylingContainer = el) }, h("lottery-tipping-ticket-banner", { key: '2cd069a119c2a29773d217d0ad40f985fe05fb14', "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, stopTime: (_b = (_a = this.rawData) === null || _a === void 0 ? void 0 : _a.currentDraw) === null || _b === void 0 ? void 0 : _b.wagerCloseTime, period: (_d = (_c = this.rawData) === null || _c === void 0 ? void 0 : _c.currentDraw) === null || _d === void 0 ? void 0 : _d.date, language: this.language, "translation-url": this.translationUrl, "logo-url": this.logoUrl }), this.renderBettingControls(), h("div", { key: '1ab326849e99b9558d1d6bc94985a4c48d74ab4a', class: "flex flex-wrap LotteryTippingTicketController__main" }, h("div", { key: 'abfb225ed18d7325555e2cdebd93348e82ae773e', class: "LotteryTippingTicketController__main--left" }, h("lottery-tipping-ticket-bet", { key: '19237e4c08ae390801898dd38796a6622255cd94', ref: (el) => (this.childRef = el), endpoint: this.endpoint, "session-id": this.sessionId, "game-id": (_e = this.rawData) === null || _e === void 0 ? void 0 : _e.type, "draw-id": this.drawId, language: this.language, "translation-url": this.translationUrl, "max-total-pages": this.lineNumberRange.maxLineNumber, "min-total-pages": this.lineNumberRange.minLineNumber, "total-pages": this.lineNumberRange.defaultBoards, mode: this.selectedPlayingMode === PlayModeEnum.SingleBet ? 'single' : 'multi', "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl })), this.renderOrderSummary()), this.dialogConfig.visible && (h("vaadin-confirm-dialog", { key: 'fa596e199dfc64d23768c739981a4c494c93010c', rejectButtonVisible: true, rejectText: translate$2('cancel', this.language), confirmText: translate$2('confirm', this.language), opened: (_f = this.dialogConfig) === null || _f === void 0 ? void 0 : _f.visible, onConfirm: this.dialogConfig.onConfirm, onReject: this.dialogConfig.onCancel }, (_g = this.dialogConfig) === null || _g === void 0 ? void 0 : _g.content))));
|
|
11527
11523
|
}
|
|
11528
11524
|
static get assetsDirs() { return ["../static"]; }
|
|
11529
11525
|
static get watchers() { return {
|
|
@@ -11651,7 +11647,7 @@ const LotteryTippingTicketHistory = class {
|
|
|
11651
11647
|
try {
|
|
11652
11648
|
this.isLoading = true;
|
|
11653
11649
|
let url = new URL(`${this.endpoint}/games/${this.gameId}`);
|
|
11654
|
-
const res = await
|
|
11650
|
+
const res = await fetchRequest$1(url.href, 'GET');
|
|
11655
11651
|
this.rawData = res;
|
|
11656
11652
|
}
|
|
11657
11653
|
catch (e) {
|
|
@@ -11692,7 +11688,7 @@ const LotteryTippingTicketHistory = class {
|
|
|
11692
11688
|
async fetchTicketList() {
|
|
11693
11689
|
this.isLoading = true;
|
|
11694
11690
|
try {
|
|
11695
|
-
const { items, total } = await fetchRequest(`${this.endpointTicket}/tickets${toQueryParams(this.filterData)}`, 'GET', null, {
|
|
11691
|
+
const { items, total } = await fetchRequest$1(`${this.endpointTicket}/tickets${toQueryParams(this.filterData)}`, 'GET', null, {
|
|
11696
11692
|
Authorization: `Bearer ${this.sessionId}`
|
|
11697
11693
|
});
|
|
11698
11694
|
this.ticketHistory = items;
|
|
@@ -11714,7 +11710,7 @@ const LotteryTippingTicketHistory = class {
|
|
|
11714
11710
|
}
|
|
11715
11711
|
async fetchDrwaResult(gameId, drawId) {
|
|
11716
11712
|
try {
|
|
11717
|
-
const res = await fetchRequest(`${this.endpoint}/games/${gameId}/draws/${drawId}`, 'GET', {});
|
|
11713
|
+
const res = await fetchRequest$1(`${this.endpoint}/games/${gameId}/draws/${drawId}`, 'GET', {});
|
|
11718
11714
|
return res;
|
|
11719
11715
|
}
|
|
11720
11716
|
catch (e) {
|
|
@@ -11873,15 +11869,15 @@ const LotteryTippingTicketHistory = class {
|
|
|
11873
11869
|
return name !== null && name !== void 0 ? name : bettingType;
|
|
11874
11870
|
}
|
|
11875
11871
|
render() {
|
|
11876
|
-
return (h("div", { key: '
|
|
11877
|
-
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$3('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$3('drawId', this.language)), h("div", { class: "draw-info-val" }, drawResultItem.drawId)), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$3('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$3('result', this.language)), h("div", { class: "draw-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate$3('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$3('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: '
|
|
11872
|
+
return (h("div", { key: '0a8574ec1ba181a07043ec0451dfca73f8aaaf9d', class: "lottery-tipping-ticket-history", ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'f6f0f989a7b4e598e2d9c3d18c83d4f8b4595d84', class: "ticket-history-title" }, translate$3('ticketsHistory', this.language)), h("div", { key: 'e80a9d6e39d899fe6a210837853aacfea21a6cb3', class: "filter-wrap" }, h("div", { key: 'edeaca1e9062a0b9ef264151113bc6130f358017', 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: 'fdae8b8a796d62827530955449baf85152b4bd49', class: "filter-operation" }, h("lottery-tipping-filter", { key: '004a977ff4460be8e1fbffd22fb6a742401b6597', "quick-filters-active": this.quickFiltersActive, language: this.language, "translation-url": this.translationUrl }))), this.isLoading && (h("div", { key: '4142baea434e611b871f7b8712a8ed03961bf929', class: "loading-wrap" }, h("section", { key: 'd412ab2648dc168e76d13957b9d654522d0211e4', class: "dots-container" }, h("div", { key: '81cca835dff7b6708354d79ecdb804fd768dfdf5', class: "dot" }), h("div", { key: '4fd405a231c5560b014bc9dc34e8847daf197ab1', class: "dot" }), h("div", { key: 'b89f42119dc855255ffb27b7d12d525dca40ab20', class: "dot" }), h("div", { key: 'c9ce133fe12b41639719558922ab0651ed82f605', class: "dot" }), h("div", { key: '8a18cbe9892de938f731045c0d8a01a6f58ab19d', class: "dot" })))), !this.isLoading && (!this.ticketHistory || this.ticketHistory.length == 0) && (h("div", { key: 'c806d553da2223941f0e1a28a12f96088e0bd45d', class: "empty-wrap" }, translate$3('noData', this.language))), !this.isLoading && this.ticketHistory && this.ticketHistory.length != 0 && (h("div", { key: '4ac929f08ef09e5f18cfcb0424c489f8d513bc9b', 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$3('ticketId', this.language)), h("div", { class: "ticket-info-val" }, item.id, " ")), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$3('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$3('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$3('lineDetail', this.language)), h("div", { class: "ticket-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowTicketLineDetial(item) }, translate$3('seeDetails', this.language)))), h("div", { class: "ticket-info-item" }, h("div", { class: "ticket-info-label" }, translate$3('numberOfDraw', this.language)), h("div", { class: "ticket-info-val" }, item.drawCount))), item.state == 'Settled' &&
|
|
11873
|
+
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$3('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$3('drawId', this.language)), h("div", { class: "draw-info-val" }, drawResultItem.drawId)), h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$3('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$3('result', this.language)), h("div", { class: "draw-info-val" }, h("span", { class: "show-detail-link", onClick: () => this.handleShowCurrentDraw(drawResultItem.tempDrawData) }, translate$3('seeDetails', this.language)))), drawResultItem.state === DrawResult.WON && (h("div", { class: "draw-info-item" }, h("div", { class: "draw-info-label" }, translate$3('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: 'ef4cff5d933545372cef4f6eb4e7dcd1a8f6f111', visible: this.showCurrentTicketLine, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
|
|
11878
11874
|
this.showCurrentTicketLine = false;
|
|
11879
|
-
}, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (h("div", { key: '
|
|
11875
|
+
}, language: this.language, "translation-url": this.translationUrl }, this.curSelection && this.curSelection.length && (h("div", { key: '817ee1fe2541a4ed62b944b58b7abb1eda7afdbe' }, h("div", { key: '68672db719f3cc643d6b17769c0a786b3c931a42', class: "betting-type" }, h("div", { key: 'af264555814c9e3262b64722438ecd449f451ceb', class: "betting-type-title" }, translate$3('bettingType', this.language)), h("div", { key: '25b9bff20eb5a221bed6d345412dd48964890ae7', class: "betting-type-text" }, this.getBettingTypeName(this.getBettingType(this.curTicketItem.selection[this.curSelectionIdx].betType)))), h("lottery-tipping-ticket-bet", { key: '4a01e6f1734e5165b06713d3dbb7484463cc1bf4', 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: '06fd83f481eb08a4601a96353557a925b1205b66', visible: this.showCurrentDrawResult, width: !isMobile(window.navigator.userAgent) ? '720px' : undefined, fullscreen: isMobile(window.navigator.userAgent), closable: true, showFooter: false, onCancel: () => {
|
|
11880
11876
|
this.showCurrentDrawResult = false;
|
|
11881
|
-
}, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (h("div", { key: '
|
|
11877
|
+
}, language: this.language, "translation-url": this.translationUrl }, this.curDrawSelection && this.curDrawSelection.length && (h("div", { key: 'c9161334967e9e5abaae4a3d1df922ee7d8d7945' }, h("div", { key: 'c7a3ac60084056b899a2b59a6205cddbc8d4e7fc', class: "betting-type" }, h("div", { key: '97aa9e8c9048bb57f70d4230f29f8fde3aa4454a', class: "betting-type-title" }, translate$3('bettingType', this.language)), h("div", { key: '64332b20eabf75e9273bb6f16c16436e90b28346', class: "betting-type-text" }, h("div", { key: 'cbd1ec9e723c6a369a98141077e4648d802c76ad', class: "LotteryTippingTicketController__segmented-control" }, Object.keys(this.curDrawSelectionMap).map((bettingType) => (h("button", { class: {
|
|
11882
11878
|
LotteryTippingTicketController__segment: true,
|
|
11883
11879
|
'LotteryTippingTicketController__segment--active': this.curDrawSelectionBettingType === bettingType
|
|
11884
|
-
}, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: '
|
|
11880
|
+
}, onClick: () => this.handleDrawBettingTypeChange(bettingType) }, this.getBettingTypeName(bettingType))))))), h("lottery-tipping-ticket-bet", { key: '8b352410c87858e5629a5524e70134ccc2e1b116', 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: 'e730c86100cb47c4c63051174cd9b33dbb8e6ce4', class: "pagination-wrap" }, h("lottery-tipping-pagination", { key: 'dce4d6e9a18e783339d0ff545d1bd47bf1b2a33d', total: this.paginationInfo.total, current: this.paginationInfo.current, "page-size": this.paginationInfo.pageSize, language: this.language, "translation-url": this.translationUrl }))));
|
|
11885
11881
|
}
|
|
11886
11882
|
static get watchers() { return {
|
|
11887
11883
|
"clientStyling": ["handleClientStylingChange"],
|