@everymatrix/lottery-tipping-entrance 1.77.29 → 1.77.31
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/draw-selection_17.cjs.entry.js +183 -147
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{lottery-tipping-entrance-85842582.js → lottery-tipping-entrance-e50e77ae.js} +5 -5
- package/dist/cjs/lottery-tipping-entrance.cjs.js +1 -1
- package/dist/collection/components/draw-selection/draw-selection.css +230 -4
- package/dist/collection/components/draw-selection/draw-selection.js +26 -5
- package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.css +15 -5
- package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.js +23 -6
- package/dist/esm/draw-selection_17.entry.js +184 -148
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{lottery-tipping-entrance-841a2ba1.js → lottery-tipping-entrance-ded99035.js} +6 -6
- package/dist/esm/lottery-tipping-entrance.js +1 -1
- package/dist/lottery-tipping-entrance/draw-selection_17.entry.js +1 -1
- package/dist/lottery-tipping-entrance/index.esm.js +1 -1
- package/dist/lottery-tipping-entrance/{lottery-tipping-entrance-841a2ba1.js → lottery-tipping-entrance-ded99035.js} +241 -241
- package/dist/lottery-tipping-entrance/lottery-tipping-entrance.esm.js +1 -1
- package/dist/stencil.config.dev.js +2 -1
- package/dist/stencil.config.js +2 -1
- package/dist/types/components/draw-selection/draw-selection.d.ts +5 -0
- package/dist/types/components/lottery-tipping-entrance/lottery-tipping-entrance.d.ts +5 -1
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/dist/collection/components/static/bg.webp +0 -0
- package/dist/collection/components/static/poolgame-bg.webp +0 -0
- package/dist/static/add.svg +0 -8
- package/dist/static/bg.webp +0 -0
- package/dist/static/delete.svg +0 -37
- package/dist/static/empty-info.svg +0 -1
- package/dist/static/info.svg +0 -6
- package/dist/static/left-arrow.svg +0 -15
- package/dist/static/loading.svg +0 -10
- package/dist/static/right-arrow.svg +0 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getAssetPath, h } from "@stencil/core";
|
|
2
|
-
import "../../../../../../../libs/vaadin-facade/index";
|
|
3
1
|
import "../../../../../lottery-tipping-latest-result/dist/types/index";
|
|
4
2
|
import "../../../../../lottery-tipping-page/dist/types/index";
|
|
3
|
+
import { h } from "@stencil/core";
|
|
4
|
+
import "../../../../../../../libs/vaadin-facade/index";
|
|
5
5
|
import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
|
|
6
6
|
import { fetchGameInfo } from "../../utils/api";
|
|
7
7
|
import { getTranslations, translate } from "../../utils/locale.utils";
|
|
@@ -17,6 +17,7 @@ export class LotteryTippingEntrance {
|
|
|
17
17
|
this.gameId = undefined;
|
|
18
18
|
this.playerId = undefined;
|
|
19
19
|
this.sessionId = undefined;
|
|
20
|
+
this.logoUrl = undefined;
|
|
20
21
|
this.date = undefined;
|
|
21
22
|
this.drawId = undefined;
|
|
22
23
|
this.playTypes = null;
|
|
@@ -83,10 +84,9 @@ export class LotteryTippingEntrance {
|
|
|
83
84
|
this.showSelectDrawPage = true;
|
|
84
85
|
}
|
|
85
86
|
render() {
|
|
86
|
-
|
|
87
|
-
return (h("div", { key: 'c277bc4598810d4c379043259e45f3de2b46fac2', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: 'fcaa9410ccbb2e4f3088e31c4bbffd44fb61e153', class: "select-draw-page" }, h("div", { key: 'af2cc3d3f11106269a0f1fc50ebccb48684a75a9', class: "lottery-tipping-entrance__header" }, h("div", { key: '922517a2f4deede0ef2ad2e7086e2b4b41b7c1aa', class: "header" }, h("div", { key: '0474224b516ce9e1c2948b81b7c69b2996ce0626', class: "header-logo" }, h("img", { key: '3c4729f0892a410fa6c44a7bf6f64b9b18a25038', src: logoImagePath, class: "logo" })), h("div", { key: '7c04508ca5956e42ba2a65f4cf713726c404270c', class: "header-btn" }, h("slot", { key: '72929174b9e5f7ce11f31be18f6d4d1f0efcd78e', name: "themeBtn" }), h("slot", { key: 'fe700224e5c86936f0fce3be1369a8fe36497955', name: "logoutBtn" }))), h("div", { key: '2a5bf1f2eeb6c39b9b4e7e702bdd202dc5650bdd', class: "tabs-wrap" }, h("vaadin-tabs", { key: 'f906c7cd69e82f345d4c2618c43142e7a91e7689', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
|
|
87
|
+
return (h("div", { key: 'dca8e524dab5d828460ebdeffaa0218d74cb9bec', class: "lottery-tipping-entrance", ref: (el) => (this.stylingContainer = el) }, this.showSelectDrawPage && (h("div", { key: '04ce9da3d9fec1dbdb95adaf11dba5057551ef13', class: "select-draw-page" }, h("div", { key: 'e92486eb044f785ef8fa618cbb632fde150a6e3d', class: "lottery-tipping-entrance__header" }, h("div", { key: '71f5ab8d77354b371fc42ed4b2e128a8768e790b', class: "header" }, h("div", { key: '1b1811ca5f27048e966d04a8533cdd3bd53791e7', class: "header-logo" }, this.logoUrl && h("img", { key: 'af7aaae73db8dfc1eca18258d8df8cfa379b3991', class: "logo", src: this.logoUrl })), h("div", { key: 'd0f4cecdbda9934b4a7d7033383163150697bc67', class: "header-btns" }, h("div", { key: '086c0691f099c798f348ac0fa1493e8fb93def04', class: "header-btns--left" }, h("slot", { key: '25399060895d061e95f5fe9b28de3b9c4616528b', name: "backGameSelectionBtn" })), h("div", { key: 'df371aec19551da9c9a1c0ff025acd30365cfd5e', class: "header-btns--right" }, h("slot", { key: '6f90aeb471289fda8211886556705c106b39e7d7', name: "themeBtn" }), h("slot", { key: '3c30f16b92ab910313190d9532421b6afd6f022f', name: "logoutBtn" })))), h("div", { key: '073f3cebf19388e65836c25ee35fe303ffa3371f', class: "tabs-wrap" }, h("vaadin-tabs", { key: 'c9376ce368ff3e0bc1e2fde48bf8969abc274149', theme: "equal-width-tabs", selected: this.selectedTabIndex, "on-selected-changed": (e) => {
|
|
88
88
|
this.selectedTabIndex = e.detail.value;
|
|
89
|
-
} }, h("vaadin-tab", { key: '
|
|
89
|
+
} }, h("vaadin-tab", { key: 'c9bf4c283d48652effc0733f2654d45e0a6a66d0', value: "0" }, translate('draws', this.language)), h("vaadin-tab", { key: '9f69a7ff8882bc0f6683ac3313338ce029a9bf8c', value: "1" }, translate('latestResults', this.language)), h("vaadin-tab", { key: '1427bde46937892a53605b29829a44660efd6863', value: "2" }, translate('instruction', this.language))))), h("div", { key: '233e5b219b1e25a447949c6969e10237d99ab153', class: "tabs-content" }, this.selectedTabIndex === 0 && (h("draw-selection", { key: '40aaee914fdf40a9d55b4c74c586c4fc4946ab2c', date: this.date, "is-loading": this.isLoading, language: this.language, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl })), this.selectedTabIndex === 1 && (h("lottery-tipping-latest-result", { key: 'a4cfa01d3d8ed2b4272235f2e38f7289f2eb3bf3', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, language: this.language, "translation-url": this.translationUrl })), this.selectedTabIndex === 2 && (h("div", { key: '07495a5e676dee5f1c0753f95236507ae212a322', class: "instruction-content-wrapper" }, translate('instructionContent', this.language)))))), !this.showSelectDrawPage && (h("lottery-tipping-page", { key: 'de9577e560cc1b441c24ed5551ce5fb98cbe7823', endpoint: this.endpoint, "endpoint-ticket": this.endpointTicket, "game-id": this.gameId, "player-id": this.playerId, "session-id": this.sessionId, "draw-id": this.drawId, playTypes: this.playTypes, bettingTypes: this.bettingTypes, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, "mb-source": this.mbSource, "translation-url": this.translationUrl, language: this.language, "logo-url": this.logoUrl }, h("slot", { key: 'cad777da411ea6e5bba5744311030217ac8d0db3', name: "backBtn", slot: "backBtn" }), h("slot", { key: '91c5ee8a78e94d765b834eaeac251bb666ad9ebb', name: "themeBtn", slot: "themeBtn" }), h("slot", { key: '0cbeddc1c26bf935ecd298f69805ddf8cede1f13', name: "logoutBtn", slot: "logoutBtn" })))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "lottery-tipping-entrance"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -100,7 +100,7 @@ export class LotteryTippingEntrance {
|
|
|
100
100
|
"$": ["lottery-tipping-entrance.css"]
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
static get assetsDirs() { return ["
|
|
103
|
+
static get assetsDirs() { return ["static"]; }
|
|
104
104
|
static get properties() {
|
|
105
105
|
return {
|
|
106
106
|
"mbSource": {
|
|
@@ -274,6 +274,23 @@ export class LotteryTippingEntrance {
|
|
|
274
274
|
},
|
|
275
275
|
"attribute": "session-id",
|
|
276
276
|
"reflect": true
|
|
277
|
+
},
|
|
278
|
+
"logoUrl": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"mutable": false,
|
|
281
|
+
"complexType": {
|
|
282
|
+
"original": "string",
|
|
283
|
+
"resolved": "string",
|
|
284
|
+
"references": {}
|
|
285
|
+
},
|
|
286
|
+
"required": false,
|
|
287
|
+
"optional": false,
|
|
288
|
+
"docs": {
|
|
289
|
+
"tags": [],
|
|
290
|
+
"text": "logo image URL for the header section"
|
|
291
|
+
},
|
|
292
|
+
"attribute": "logo-url",
|
|
293
|
+
"reflect": true
|
|
277
294
|
}
|
|
278
295
|
};
|
|
279
296
|
}
|