@everymatrix/lottery-game-page 1.87.30 → 1.87.32
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.
|
@@ -15502,7 +15502,7 @@ const LotteryDrawResultsHistory = class {
|
|
|
15502
15502
|
let url = new URL(`${this.endpoint}/games/${this.gameId}/draws`);
|
|
15503
15503
|
url.searchParams.append('limit', this.limit.toString());
|
|
15504
15504
|
url.searchParams.append('offset', this.offset.toString());
|
|
15505
|
-
url.searchParams.append('status', '
|
|
15505
|
+
url.searchParams.append('status', 'CLOSED');
|
|
15506
15506
|
if (this.dateFiltersFrom)
|
|
15507
15507
|
url.searchParams.append('from', this.dateFiltersFrom);
|
|
15508
15508
|
if (this.dateFiltersTo)
|
|
@@ -15611,9 +15611,9 @@ const LotteryDrawResultsHistory = class {
|
|
|
15611
15611
|
clearInterval(this.interval);
|
|
15612
15612
|
}
|
|
15613
15613
|
render() {
|
|
15614
|
-
let gridHeader = index.h("div", { key: '
|
|
15615
|
-
return index.h("section", { key: '
|
|
15616
|
-
index.h("p", { key: '
|
|
15614
|
+
let gridHeader = index.h("div", { key: '72acbc970af5b1a036e0a8ea14663db0976a74c8', class: "DrawResultsHeader" }, index.h("div", { key: '72425da8513e4d6dbd77be5401989f86bb311142', class: "DrawResultsHeaderContent" }, index.h("h4", { key: 'e1384b90952829f7901c4902a1a70590dec9816d' }, translate$5('drawResultsHeader', this.language)), index.h("div", { key: '36f27b349ce66c6666bb9fa8f51562772b86a977', class: "FilterSection" }, index.h("helper-filters", { key: 'b5f1e7af2f0cc625de6a489e22933fa46c6877f3', "activate-ticket-search": "false", "game-id": this.gameId, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))));
|
|
15615
|
+
return index.h("section", { key: '7d0806bd2c6a1ba0f1fe9156725b0bdce2f3a5c3', class: "GridWrapper", ref: el => this.stylingContainer = el }, index.h("div", { key: '3dba02fb66ae9dde255519ed56e7abacc14c81ef', class: "DrawResultsSection" }, index.h("div", { key: '3d638b6eea89d23ff948f6c589d29a415cb08a9c', class: "DrawResultsAreaHistory" }, gridHeader, index.h("div", { key: 'ee7526abebb96a0d3b6ec9e60d781cdd42919d22', class: "HistoryGridWrapper" }, index.h("div", { key: '50fb1dc5e88ab1f01b36df45e6f4f2172c718f4f', class: "HistoryGrid" }, this.isLoading &&
|
|
15616
|
+
index.h("p", { key: '73c72137af98c395606386d0b5c3c15cd70db89c' }, translate$5('loading', this.language)), !this.isLoading && !this.noResults && this.drawData.map((item) => index.h("lottery-draw-results", { endpoint: this.endpoint, "game-id": this.gameId, "draw-id": item.id, "draw-mode": true, language: this.language, "history-draw-data": this.transDataToString(item), "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), !this.isLoading && this.noResults && (index.h("p", { key: '93dd230728c90acaebb973a2251443133c4df180', class: "errorText" }, translate$5('noResults', this.language))))), index.h("div", { key: 'cc9b735aed978c5e6cb6ca130501b015dc1c2217', class: "DrawHistoryPaginationWrapper" }, (this.totalResults > this.limit) && index.h("lottery-pagination", { key: 'b5ac8b4e6005b74975abbefd3a1be5ce33f17004', arrowsActive: true, numberedNavActive: true, "is-reset": this.isReset, "first-page": false, "prev-page": true, "next-page": true, offset: this.offset, limit: this.limit, total: this.totalResults, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })))));
|
|
15617
15617
|
}
|
|
15618
15618
|
static get watchers() { return {
|
|
15619
15619
|
"clientStyling": ["handleClientStylingChange"],
|
|
@@ -15498,7 +15498,7 @@ const LotteryDrawResultsHistory = class {
|
|
|
15498
15498
|
let url = new URL(`${this.endpoint}/games/${this.gameId}/draws`);
|
|
15499
15499
|
url.searchParams.append('limit', this.limit.toString());
|
|
15500
15500
|
url.searchParams.append('offset', this.offset.toString());
|
|
15501
|
-
url.searchParams.append('status', '
|
|
15501
|
+
url.searchParams.append('status', 'CLOSED');
|
|
15502
15502
|
if (this.dateFiltersFrom)
|
|
15503
15503
|
url.searchParams.append('from', this.dateFiltersFrom);
|
|
15504
15504
|
if (this.dateFiltersTo)
|
|
@@ -15607,9 +15607,9 @@ const LotteryDrawResultsHistory = class {
|
|
|
15607
15607
|
clearInterval(this.interval);
|
|
15608
15608
|
}
|
|
15609
15609
|
render() {
|
|
15610
|
-
let gridHeader = h("div", { key: '
|
|
15611
|
-
return h("section", { key: '
|
|
15612
|
-
h("p", { key: '
|
|
15610
|
+
let gridHeader = h("div", { key: '72acbc970af5b1a036e0a8ea14663db0976a74c8', class: "DrawResultsHeader" }, h("div", { key: '72425da8513e4d6dbd77be5401989f86bb311142', class: "DrawResultsHeaderContent" }, h("h4", { key: 'e1384b90952829f7901c4902a1a70590dec9816d' }, translate$5('drawResultsHeader', this.language)), h("div", { key: '36f27b349ce66c6666bb9fa8f51562772b86a977', class: "FilterSection" }, h("helper-filters", { key: 'b5f1e7af2f0cc625de6a489e22933fa46c6877f3', "activate-ticket-search": "false", "game-id": this.gameId, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource }))));
|
|
15611
|
+
return h("section", { key: '7d0806bd2c6a1ba0f1fe9156725b0bdce2f3a5c3', class: "GridWrapper", ref: el => this.stylingContainer = el }, h("div", { key: '3dba02fb66ae9dde255519ed56e7abacc14c81ef', class: "DrawResultsSection" }, h("div", { key: '3d638b6eea89d23ff948f6c589d29a415cb08a9c', class: "DrawResultsAreaHistory" }, gridHeader, h("div", { key: 'ee7526abebb96a0d3b6ec9e60d781cdd42919d22', class: "HistoryGridWrapper" }, h("div", { key: '50fb1dc5e88ab1f01b36df45e6f4f2172c718f4f', class: "HistoryGrid" }, this.isLoading &&
|
|
15612
|
+
h("p", { key: '73c72137af98c395606386d0b5c3c15cd70db89c' }, translate$5('loading', this.language)), !this.isLoading && !this.noResults && this.drawData.map((item) => h("lottery-draw-results", { endpoint: this.endpoint, "game-id": this.gameId, "draw-id": item.id, "draw-mode": true, language: this.language, "history-draw-data": this.transDataToString(item), "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })), !this.isLoading && this.noResults && (h("p", { key: '93dd230728c90acaebb973a2251443133c4df180', class: "errorText" }, translate$5('noResults', this.language))))), h("div", { key: 'cc9b735aed978c5e6cb6ca130501b015dc1c2217', class: "DrawHistoryPaginationWrapper" }, (this.totalResults > this.limit) && h("lottery-pagination", { key: 'b5ac8b4e6005b74975abbefd3a1be5ce33f17004', arrowsActive: true, numberedNavActive: true, "is-reset": this.isReset, "first-page": false, "prev-page": true, "next-page": true, offset: this.offset, limit: this.limit, total: this.totalResults, language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-url": this.clientStylingUrl, "mb-source": this.mbSource })))));
|
|
15613
15613
|
}
|
|
15614
15614
|
static get watchers() { return {
|
|
15615
15615
|
"clientStyling": ["handleClientStylingChange"],
|