@everymatrix/lottery-draw-results-history 1.83.9 → 1.83.11
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_8.cjs.entry.js +5 -5
- package/dist/collection/components/lottery-draw-results-history/lottery-draw-results-history.js +5 -5
- package/dist/esm/general-multi-select_8.entry.js +5 -5
- package/dist/lottery-draw-results-history/general-multi-select_8.entry.js +94 -94
- package/package.json +1 -1
|
@@ -9800,7 +9800,7 @@ const LotteryDrawResultsHistory = class {
|
|
|
9800
9800
|
let url = new URL(`${this.endpoint}/games/${this.gameId}/draws`);
|
|
9801
9801
|
url.searchParams.append('limit', this.limit.toString());
|
|
9802
9802
|
url.searchParams.append('offset', this.offset.toString());
|
|
9803
|
-
url.searchParams.append('
|
|
9803
|
+
url.searchParams.append('status', 'PAYABLE');
|
|
9804
9804
|
if (this.dateFiltersFrom)
|
|
9805
9805
|
url.searchParams.append('from', this.dateFiltersFrom);
|
|
9806
9806
|
if (this.dateFiltersTo)
|
|
@@ -9813,7 +9813,7 @@ const LotteryDrawResultsHistory = class {
|
|
|
9813
9813
|
return res.json();
|
|
9814
9814
|
})
|
|
9815
9815
|
.then((data) => {
|
|
9816
|
-
this.winningDataSetsData = data.items
|
|
9816
|
+
this.winningDataSetsData = data.items || [];
|
|
9817
9817
|
this.drawData = this.winningDataSetsData.map((item) => item);
|
|
9818
9818
|
this.totalResults = data.total;
|
|
9819
9819
|
})
|
|
@@ -9909,9 +9909,9 @@ const LotteryDrawResultsHistory = class {
|
|
|
9909
9909
|
clearInterval(this.interval);
|
|
9910
9910
|
}
|
|
9911
9911
|
render() {
|
|
9912
|
-
let gridHeader = index.h("div", { key: '
|
|
9913
|
-
return index.h("section", { key: '
|
|
9914
|
-
index.h("p", { key: '
|
|
9912
|
+
let gridHeader = index.h("div", { key: '43dea3d7f12d1ac0b4df84ee15f3ff5192a16837', class: "DrawResultsHeader" }, index.h("div", { key: '3ee231127221e0c6dfef0e94a4b2bec613aa25f7', class: "DrawResultsHeaderContent" }, index.h("h4", { key: '7bc26099b3bb593b6e9229322e19941ecd38e093' }, translate$1('drawResultsHeader', this.language)), index.h("div", { key: '047d1f6718d26512801de33656a803435234eab1', class: "FilterSection" }, index.h("helper-filters", { key: '2f6ffe2fd2ae0d1a544a57d330991fd72a043a78', "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 }))));
|
|
9913
|
+
return index.h("section", { key: '007d8200c91e7a99b911ea4e2b65be8932716a8e', class: "GridWrapper", ref: el => this.stylingContainer = el }, index.h("div", { key: 'aa947a1455794d7719fb17098743ea60e84d6eb1', class: "DrawResultsSection" }, index.h("div", { key: 'ab8019f6591d773e8e9d52bfd8ca11d61dd74b89', class: "DrawResultsAreaHistory" }, gridHeader, index.h("div", { key: '2a3fc14445339ba4895e8a9c7e99bcece2a54ca5', class: "HistoryGridWrapper" }, index.h("div", { key: '90a5560b549fcd9ae871084ff5a5ab998af686cd', class: "HistoryGrid" }, this.isLoading &&
|
|
9914
|
+
index.h("p", { key: 'af0bdfd22c48844da0942b128ee304b2168571b5' }, translate$1('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: 'e0691b0f79b53410a4d4cba4439fb907552473f8', class: "errorText" }, translate$1('noResults', this.language))))), index.h("div", { key: '814919c0ea3baf1286ba2ef13fd405d21e417b19', class: "DrawHistoryPaginationWrapper" }, (this.totalResults > this.limit) && index.h("lottery-pagination", { key: '29f57cc28abab4a76fecb28a3039cf4f56d3f6f3', 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 })))));
|
|
9915
9915
|
}
|
|
9916
9916
|
static get watchers() { return {
|
|
9917
9917
|
"clientStyling": ["handleClientStylingChange"],
|
package/dist/collection/components/lottery-draw-results-history/lottery-draw-results-history.js
CHANGED
|
@@ -14,7 +14,7 @@ export class LotteryDrawResultsHistory {
|
|
|
14
14
|
let url = new URL(`${this.endpoint}/games/${this.gameId}/draws`);
|
|
15
15
|
url.searchParams.append('limit', this.limit.toString());
|
|
16
16
|
url.searchParams.append('offset', this.offset.toString());
|
|
17
|
-
url.searchParams.append('
|
|
17
|
+
url.searchParams.append('status', 'PAYABLE');
|
|
18
18
|
if (this.dateFiltersFrom)
|
|
19
19
|
url.searchParams.append('from', this.dateFiltersFrom);
|
|
20
20
|
if (this.dateFiltersTo)
|
|
@@ -27,7 +27,7 @@ export class LotteryDrawResultsHistory {
|
|
|
27
27
|
return res.json();
|
|
28
28
|
})
|
|
29
29
|
.then((data) => {
|
|
30
|
-
this.winningDataSetsData = data.items
|
|
30
|
+
this.winningDataSetsData = data.items || [];
|
|
31
31
|
this.drawData = this.winningDataSetsData.map((item) => item);
|
|
32
32
|
this.totalResults = data.total;
|
|
33
33
|
})
|
|
@@ -123,9 +123,9 @@ export class LotteryDrawResultsHistory {
|
|
|
123
123
|
clearInterval(this.interval);
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
let gridHeader = h("div", { key: '
|
|
127
|
-
return h("section", { key: '
|
|
128
|
-
h("p", { key: '
|
|
126
|
+
let gridHeader = h("div", { key: '43dea3d7f12d1ac0b4df84ee15f3ff5192a16837', class: "DrawResultsHeader" }, h("div", { key: '3ee231127221e0c6dfef0e94a4b2bec613aa25f7', class: "DrawResultsHeaderContent" }, h("h4", { key: '7bc26099b3bb593b6e9229322e19941ecd38e093' }, translate('drawResultsHeader', this.language)), h("div", { key: '047d1f6718d26512801de33656a803435234eab1', class: "FilterSection" }, h("helper-filters", { key: '2f6ffe2fd2ae0d1a544a57d330991fd72a043a78', "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 }))));
|
|
127
|
+
return h("section", { key: '007d8200c91e7a99b911ea4e2b65be8932716a8e', class: "GridWrapper", ref: el => this.stylingContainer = el }, h("div", { key: 'aa947a1455794d7719fb17098743ea60e84d6eb1', class: "DrawResultsSection" }, h("div", { key: 'ab8019f6591d773e8e9d52bfd8ca11d61dd74b89', class: "DrawResultsAreaHistory" }, gridHeader, h("div", { key: '2a3fc14445339ba4895e8a9c7e99bcece2a54ca5', class: "HistoryGridWrapper" }, h("div", { key: '90a5560b549fcd9ae871084ff5a5ab998af686cd', class: "HistoryGrid" }, this.isLoading &&
|
|
128
|
+
h("p", { key: 'af0bdfd22c48844da0942b128ee304b2168571b5' }, translate('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: 'e0691b0f79b53410a4d4cba4439fb907552473f8', class: "errorText" }, translate('noResults', this.language))))), h("div", { key: '814919c0ea3baf1286ba2ef13fd405d21e417b19', class: "DrawHistoryPaginationWrapper" }, (this.totalResults > this.limit) && h("lottery-pagination", { key: '29f57cc28abab4a76fecb28a3039cf4f56d3f6f3', 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 })))));
|
|
129
129
|
}
|
|
130
130
|
static get is() { return "lottery-draw-results-history"; }
|
|
131
131
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9796,7 +9796,7 @@ const LotteryDrawResultsHistory = class {
|
|
|
9796
9796
|
let url = new URL(`${this.endpoint}/games/${this.gameId}/draws`);
|
|
9797
9797
|
url.searchParams.append('limit', this.limit.toString());
|
|
9798
9798
|
url.searchParams.append('offset', this.offset.toString());
|
|
9799
|
-
url.searchParams.append('
|
|
9799
|
+
url.searchParams.append('status', 'PAYABLE');
|
|
9800
9800
|
if (this.dateFiltersFrom)
|
|
9801
9801
|
url.searchParams.append('from', this.dateFiltersFrom);
|
|
9802
9802
|
if (this.dateFiltersTo)
|
|
@@ -9809,7 +9809,7 @@ const LotteryDrawResultsHistory = class {
|
|
|
9809
9809
|
return res.json();
|
|
9810
9810
|
})
|
|
9811
9811
|
.then((data) => {
|
|
9812
|
-
this.winningDataSetsData = data.items
|
|
9812
|
+
this.winningDataSetsData = data.items || [];
|
|
9813
9813
|
this.drawData = this.winningDataSetsData.map((item) => item);
|
|
9814
9814
|
this.totalResults = data.total;
|
|
9815
9815
|
})
|
|
@@ -9905,9 +9905,9 @@ const LotteryDrawResultsHistory = class {
|
|
|
9905
9905
|
clearInterval(this.interval);
|
|
9906
9906
|
}
|
|
9907
9907
|
render() {
|
|
9908
|
-
let gridHeader = h("div", { key: '
|
|
9909
|
-
return h("section", { key: '
|
|
9910
|
-
h("p", { key: '
|
|
9908
|
+
let gridHeader = h("div", { key: '43dea3d7f12d1ac0b4df84ee15f3ff5192a16837', class: "DrawResultsHeader" }, h("div", { key: '3ee231127221e0c6dfef0e94a4b2bec613aa25f7', class: "DrawResultsHeaderContent" }, h("h4", { key: '7bc26099b3bb593b6e9229322e19941ecd38e093' }, translate$1('drawResultsHeader', this.language)), h("div", { key: '047d1f6718d26512801de33656a803435234eab1', class: "FilterSection" }, h("helper-filters", { key: '2f6ffe2fd2ae0d1a544a57d330991fd72a043a78', "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 }))));
|
|
9909
|
+
return h("section", { key: '007d8200c91e7a99b911ea4e2b65be8932716a8e', class: "GridWrapper", ref: el => this.stylingContainer = el }, h("div", { key: 'aa947a1455794d7719fb17098743ea60e84d6eb1', class: "DrawResultsSection" }, h("div", { key: 'ab8019f6591d773e8e9d52bfd8ca11d61dd74b89', class: "DrawResultsAreaHistory" }, gridHeader, h("div", { key: '2a3fc14445339ba4895e8a9c7e99bcece2a54ca5', class: "HistoryGridWrapper" }, h("div", { key: '90a5560b549fcd9ae871084ff5a5ab998af686cd', class: "HistoryGrid" }, this.isLoading &&
|
|
9910
|
+
h("p", { key: 'af0bdfd22c48844da0942b128ee304b2168571b5' }, translate$1('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: 'e0691b0f79b53410a4d4cba4439fb907552473f8', class: "errorText" }, translate$1('noResults', this.language))))), h("div", { key: '814919c0ea3baf1286ba2ef13fd405d21e417b19', class: "DrawHistoryPaginationWrapper" }, (this.totalResults > this.limit) && h("lottery-pagination", { key: '29f57cc28abab4a76fecb28a3039cf4f56d3f6f3', 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 })))));
|
|
9911
9911
|
}
|
|
9912
9912
|
static get watchers() { return {
|
|
9913
9913
|
"clientStyling": ["handleClientStylingChange"],
|