@everymatrix/lottery-tipping-page 0.1.0
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/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/general-tooltip_7.cjs.entry.js +11899 -0
- package/dist/cjs/index-335e7b86.js +1376 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/lottery-tipping-page-6e72415a.js +208 -0
- package/dist/cjs/lottery-tipping-page.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +34 -0
- package/dist/collection/components/lottery-tipping-page/index.js +1 -0
- package/dist/collection/components/lottery-tipping-page/lottery-tipping-page.css +46 -0
- package/dist/collection/components/lottery-tipping-page/lottery-tipping-page.js +297 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/index.js +5 -0
- package/dist/collection/utils/locale.utils.js +55 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/general-tooltip_7.entry.js +11890 -0
- package/dist/esm/index-8ab53757.js +1347 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/lottery-tipping-page-5f471e39.js +203 -0
- package/dist/esm/lottery-tipping-page.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/lottery-tipping-page/app-globals-0f993ce5.js +1 -0
- package/dist/lottery-tipping-page/general-tooltip_7.entry.js +7975 -0
- package/dist/lottery-tipping-page/index-8ab53757.js +2 -0
- package/dist/lottery-tipping-page/index.esm.js +1 -0
- package/dist/lottery-tipping-page/lottery-tipping-page-5f471e39.js +1 -0
- package/dist/lottery-tipping-page/lottery-tipping-page.esm.js +1 -0
- package/dist/static/add.svg +8 -0
- package/dist/static/delete.svg +37 -0
- package/dist/static/info.svg +6 -0
- package/dist/static/left-arrow.svg +15 -0
- package/dist/static/loading.svg +10 -0
- package/dist/static/right-arrow.svg +15 -0
- package/dist/static/tipping-full-color.svg +15 -0
- package/dist/stencil.config.dev.js +19 -0
- package/dist/stencil.config.js +19 -0
- package/dist/storybook/main.js +43 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/packages/stencil/lottery-tipping-page/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/packages/stencil/lottery-tipping-page/stencil.config.dev.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/packages/stencil/lottery-tipping-page/storybook/main.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/packages/stencil/lottery-tipping-page/storybook/preview.d.ts +70 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/tools/plugins/index.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-page/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/lottery-tipping-page/index.d.ts +1 -0
- package/dist/types/components/lottery-tipping-page/lottery-tipping-page.d.ts +58 -0
- package/dist/types/components.d.ts +119 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/index.d.ts +14 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +27 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const lotteryTippingPage = require('./lottery-tipping-page-6e72415a.js');
|
|
6
|
+
require('./index-335e7b86.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.LotteryTippingPage = lotteryTippingPage.LotteryTippingPage;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-335e7b86.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
|
+
|
|
8
|
+
const defineCustomElements = async (win, options) => {
|
|
9
|
+
if (typeof window === 'undefined') return undefined;
|
|
10
|
+
await appGlobals.globalScripts();
|
|
11
|
+
return index.bootstrapLazy([["general-tooltip_7.cjs",[[1,"lottery-tipping-page",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[513,"game-id"],"playerId":[514,"player-id"],"sessionId":[513,"session-id"],"drawId":[513,"draw-id"],"activeTab":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-ticket-controller",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"sessionId":[513,"session-id"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"drawId":[513,"draw-id"],"isLoading":[32],"bettingTypeOptions":[32],"playingModeOptions":[32],"selectedBettingType":[32],"selectedPlayingMode":[32],"hasSelectBullet":[32],"hasSelectAllBullet":[32],"totalLineCombination":[32],"submitLoading":[32],"rawData":[32],"dialogConfig":[32]},[[0,"lotteryTippingBulletBetSelect","lotteryTippingBulletGroupSelectionHandler"]],{"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],"limitStylingAppends":[32],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[1,"lottery-tipping-ticket-banner",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"stopTime":[1,"stop-time"],"period":[1]},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-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-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);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
exports.setNonce = index.setNonce;
|
|
15
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-335e7b86.js');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @name setClientStyling
|
|
7
|
+
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
8
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
9
|
+
* @param {string} clientStyling The style content
|
|
10
|
+
*/
|
|
11
|
+
function setClientStyling(stylingContainer, clientStyling) {
|
|
12
|
+
if (stylingContainer) {
|
|
13
|
+
const sheet = document.createElement('style');
|
|
14
|
+
sheet.innerHTML = clientStyling;
|
|
15
|
+
stylingContainer.appendChild(sheet);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @name setClientStylingURL
|
|
21
|
+
* @description Method used to create and append to the passed element of the widget a style element with the content fetched from a given URL
|
|
22
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
23
|
+
* @param {string} clientStylingUrl The URL of the style content
|
|
24
|
+
*/
|
|
25
|
+
function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
26
|
+
const url = new URL(clientStylingUrl);
|
|
27
|
+
|
|
28
|
+
fetch(url.href)
|
|
29
|
+
.then((res) => res.text())
|
|
30
|
+
.then((data) => {
|
|
31
|
+
const cssFile = document.createElement('style');
|
|
32
|
+
cssFile.innerHTML = data;
|
|
33
|
+
if (stylingContainer) {
|
|
34
|
+
stylingContainer.appendChild(cssFile);
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
.catch((err) => {
|
|
38
|
+
console.error('There was an error while trying to load client styling from URL', err);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @name setStreamLibrary
|
|
44
|
+
* @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
|
|
45
|
+
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
46
|
+
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
47
|
+
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
48
|
+
*/
|
|
49
|
+
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
50
|
+
if (window.emMessageBus) {
|
|
51
|
+
const sheet = document.createElement('style');
|
|
52
|
+
|
|
53
|
+
window.emMessageBus.subscribe(domain, (data) => {
|
|
54
|
+
sheet.innerHTML = data;
|
|
55
|
+
if (stylingContainer) {
|
|
56
|
+
stylingContainer.appendChild(sheet);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
var Tab;
|
|
63
|
+
(function (Tab) {
|
|
64
|
+
Tab["BuyTickets"] = "BUY_TICKETS";
|
|
65
|
+
Tab["MyTickets"] = "MY_TICKETS";
|
|
66
|
+
})(Tab || (Tab = {}));
|
|
67
|
+
|
|
68
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
69
|
+
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
70
|
+
const TRANSLATIONS = {
|
|
71
|
+
en: {
|
|
72
|
+
buyTickets: 'Buy Tickets',
|
|
73
|
+
myTickets: 'My Tickets',
|
|
74
|
+
logout: 'Log out'
|
|
75
|
+
},
|
|
76
|
+
ro: {
|
|
77
|
+
buyTickets: 'Cumpără bilete',
|
|
78
|
+
myTickets: 'Biletele mele',
|
|
79
|
+
logout: 'Deconectare'
|
|
80
|
+
},
|
|
81
|
+
fr: {
|
|
82
|
+
buyTickets: 'Acheter des billets',
|
|
83
|
+
myTickets: 'Mes billets',
|
|
84
|
+
logout: 'Se déconnecter'
|
|
85
|
+
},
|
|
86
|
+
ar: {
|
|
87
|
+
buyTickets: 'شراء التذاكر',
|
|
88
|
+
myTickets: 'تذاكري',
|
|
89
|
+
logout: 'تسجيل الخروج'
|
|
90
|
+
},
|
|
91
|
+
hr: {
|
|
92
|
+
buyTickets: 'Kupi ulaznice',
|
|
93
|
+
myTickets: 'Moje ulaznice',
|
|
94
|
+
logout: 'Odjava'
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const translate = (key, customLang) => {
|
|
98
|
+
const lang = customLang;
|
|
99
|
+
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
100
|
+
};
|
|
101
|
+
const getTranslations = (data) => {
|
|
102
|
+
Object.keys(data).forEach((item) => {
|
|
103
|
+
for (let key in data[item]) {
|
|
104
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
};
|
|
108
|
+
const resolveTranslationUrl = async (translationUrl) => {
|
|
109
|
+
if (translationUrl) {
|
|
110
|
+
try {
|
|
111
|
+
const response = await fetch(translationUrl);
|
|
112
|
+
if (!response.ok) {
|
|
113
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
|
114
|
+
}
|
|
115
|
+
const translations = await response.json();
|
|
116
|
+
getTranslations(translations);
|
|
117
|
+
}
|
|
118
|
+
catch (error) {
|
|
119
|
+
console.error('Failed to fetch or parse translations from URL:', error);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const lotteryTippingPageCss = ".lottery-tipping-page {\n container-type: inline-size;\n}\n.lottery-tipping-page-header {\n height: 56px;\n padding: 8px 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.lottery-tipping-page-header .tab-btns {\n display: flex;\n align-items: center;\n gap: 40px;\n flex: 1;\n justify-content: center;\n}\n.lottery-tipping-page-header .tab-btn {\n padding: 0 8px;\n line-height: 40px;\n font-size: 16px;\n cursor: pointer;\n font-weight: 600;\n height: 40px;\n border: 2px solid var(--emw--color-primary, #fed275);\n border-radius: 8px;\n box-shadow: 2px 2px 2px var(--emw--color-gray-400, #000);\n color: var(--emw--color-typography, #555);\n transition: all 0.2s linear;\n}\n.lottery-tipping-page-header .tab-btn.active {\n background-color: var(--emw--color-primary, #fed275);\n color: var(--emw--color-gray-300, #333);\n border: 2px solid var(--emw--color-gray-300, #333);\n}\n\n@container (min-width: 1200px) {\n .tab-btns {\n gap: 40px;\n }\n}\n@container (max-width: 480px) {\n .tab-btns {\n gap: 24px;\n }\n}";
|
|
125
|
+
const LotteryTippingPageStyle0 = lotteryTippingPageCss;
|
|
126
|
+
|
|
127
|
+
const LotteryTippingPage = class {
|
|
128
|
+
constructor(hostRef) {
|
|
129
|
+
index.registerInstance(this, hostRef);
|
|
130
|
+
this.handleTabClick = (tab) => {
|
|
131
|
+
this.activeTab = tab;
|
|
132
|
+
};
|
|
133
|
+
this.mbSource = undefined;
|
|
134
|
+
this.clientStyling = undefined;
|
|
135
|
+
this.clientStylingUrl = undefined;
|
|
136
|
+
this.translationUrl = '';
|
|
137
|
+
this.language = 'en';
|
|
138
|
+
this.endpoint = undefined;
|
|
139
|
+
this.endpointTicket = undefined;
|
|
140
|
+
this.gameId = undefined;
|
|
141
|
+
this.playerId = undefined;
|
|
142
|
+
this.sessionId = undefined;
|
|
143
|
+
this.drawId = undefined;
|
|
144
|
+
this.activeTab = Tab.BuyTickets;
|
|
145
|
+
}
|
|
146
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
147
|
+
if (newValue != oldValue) {
|
|
148
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
152
|
+
if (newValue != oldValue) {
|
|
153
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
handleMbSourceChange(newValue, oldValue) {
|
|
157
|
+
if (newValue != oldValue) {
|
|
158
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
componentWillLoad() {
|
|
162
|
+
if (this.translationUrl) {
|
|
163
|
+
resolveTranslationUrl(this.translationUrl);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
componentDidLoad() {
|
|
167
|
+
if (this.stylingContainer) {
|
|
168
|
+
if (this.mbSource)
|
|
169
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
170
|
+
if (this.clientStyling)
|
|
171
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
172
|
+
if (this.clientStylingUrl)
|
|
173
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
disconnectedCallback() {
|
|
177
|
+
if (this.stylingSubscription) {
|
|
178
|
+
this.stylingSubscription.unsubscribe();
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
renderTabs() {
|
|
182
|
+
const tabOptions = {
|
|
183
|
+
[Tab.BuyTickets]: translate('buyTickets', this.language),
|
|
184
|
+
[Tab.MyTickets]: translate('myTickets', this.language)
|
|
185
|
+
};
|
|
186
|
+
return (index.h("div", { class: "tab-btns" }, Object.values(Tab).map((tab) => (index.h("div", { class: 'tab-btn' + (this.activeTab === tab ? ' active' : ''), onClick: this.handleTabClick.bind(this, tab) }, tabOptions[tab])))));
|
|
187
|
+
}
|
|
188
|
+
renderContent() {
|
|
189
|
+
if (this.activeTab === Tab.BuyTickets) {
|
|
190
|
+
return (index.h("lottery-tipping-ticket-controller", { endpoint: this.endpoint, endpointTicket: this.endpointTicket, gameId: this.gameId, playerId: this.playerId, sessionId: this.sessionId, drawId: this.drawId, language: this.language, "translation-url": this.translationUrl }));
|
|
191
|
+
}
|
|
192
|
+
return null;
|
|
193
|
+
}
|
|
194
|
+
render() {
|
|
195
|
+
return (index.h("div", { key: 'e26cac829a2e2fc44106a53decc9ea76e6e25652', class: "lottery-tipping-page", ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '3f4ebaba74ec3c8fa2b23dfe71215cd28f846724', class: "lottery-tipping-page-header" }, index.h("slot", { key: 'e5ae948d767fe15a783f000d799ebc62df4a2ffa', name: "backBtn" }), this.renderTabs(), index.h("slot", { key: 'be10eb43ad8df3058ccc6adf0b24ecd00a8437f8', name: "logoutBtn" })), index.h("div", { key: 'a143b0cacd7172f8e68451e3bfffab5255f5ea2a', class: "lottery-tipping-content" }, this.renderContent())));
|
|
196
|
+
}
|
|
197
|
+
static get watchers() { return {
|
|
198
|
+
"clientStyling": ["handleClientStylingChange"],
|
|
199
|
+
"clientStylingUrl": ["handleClientStylingUrlChange"],
|
|
200
|
+
"mbSource": ["handleMbSourceChange"]
|
|
201
|
+
}; }
|
|
202
|
+
};
|
|
203
|
+
LotteryTippingPage.style = LotteryTippingPageStyle0;
|
|
204
|
+
|
|
205
|
+
exports.LotteryTippingPage = LotteryTippingPage;
|
|
206
|
+
exports.setClientStyling = setClientStyling;
|
|
207
|
+
exports.setClientStylingURL = setClientStylingURL;
|
|
208
|
+
exports.setStreamStyling = setStreamStyling;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-335e7b86.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
10
|
+
*/
|
|
11
|
+
var patchBrowser = () => {
|
|
12
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lottery-tipping-page.cjs.js', document.baseURI).href));
|
|
13
|
+
const opts = {};
|
|
14
|
+
if (importMeta !== "") {
|
|
15
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
16
|
+
}
|
|
17
|
+
return index.promiseResolve(opts);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
patchBrowser().then(async (options) => {
|
|
21
|
+
await appGlobals.globalScripts();
|
|
22
|
+
return index.bootstrapLazy([["general-tooltip_7.cjs",[[1,"lottery-tipping-page",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[513,"game-id"],"playerId":[514,"player-id"],"sessionId":[513,"session-id"],"drawId":[513,"draw-id"],"activeTab":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"]}],[1,"lottery-tipping-ticket-controller",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"language":[513],"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"sessionId":[513,"session-id"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"drawId":[513,"draw-id"],"isLoading":[32],"bettingTypeOptions":[32],"playingModeOptions":[32],"selectedBettingType":[32],"selectedPlayingMode":[32],"hasSelectBullet":[32],"hasSelectAllBullet":[32],"totalLineCombination":[32],"submitLoading":[32],"rawData":[32],"dialogConfig":[32]},[[0,"lotteryTippingBulletBetSelect","lotteryTippingBulletGroupSelectionHandler"]],{"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],"limitStylingAppends":[32],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[1,"lottery-tipping-ticket-banner",{"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"language":[513],"translationUrl":[513,"translation-url"],"stopTime":[1,"stop-time"],"period":[1]},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-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-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);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
exports.setNonce = index.setNonce;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"components/lottery-tipping-page/lottery-tipping-page.js"
|
|
4
|
+
],
|
|
5
|
+
"compiler": {
|
|
6
|
+
"name": "@stencil/core",
|
|
7
|
+
"version": "4.19.2",
|
|
8
|
+
"typescriptVersion": "5.4.5"
|
|
9
|
+
},
|
|
10
|
+
"collections": [
|
|
11
|
+
{
|
|
12
|
+
"name": "@everymatrix/lottery-tipping-bullet-group",
|
|
13
|
+
"tags": [
|
|
14
|
+
"lottery-tipping-bullet",
|
|
15
|
+
"lottery-tipping-bullet-group"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "@everymatrix/lottery-tipping-ticket-bet",
|
|
20
|
+
"tags": [
|
|
21
|
+
"general-tooltip",
|
|
22
|
+
"lottery-tipping-ticket-bet"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "@everymatrix/lottery-tipping-ticket-controller",
|
|
27
|
+
"tags": [
|
|
28
|
+
"lottery-tipping-ticket-banner",
|
|
29
|
+
"lottery-tipping-ticket-controller"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"bundles": []
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LotteryTippingPage } from './lottery-tipping-page';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.lottery-tipping-page {
|
|
2
|
+
container-type: inline-size;
|
|
3
|
+
}
|
|
4
|
+
.lottery-tipping-page-header {
|
|
5
|
+
height: 56px;
|
|
6
|
+
padding: 8px 10px;
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
align-items: center;
|
|
10
|
+
}
|
|
11
|
+
.lottery-tipping-page-header .tab-btns {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
gap: 40px;
|
|
15
|
+
flex: 1;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
}
|
|
18
|
+
.lottery-tipping-page-header .tab-btn {
|
|
19
|
+
padding: 0 8px;
|
|
20
|
+
line-height: 40px;
|
|
21
|
+
font-size: 16px;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
height: 40px;
|
|
25
|
+
border: 2px solid var(--emw--color-primary, #fed275);
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
box-shadow: 2px 2px 2px var(--emw--color-gray-400, #000);
|
|
28
|
+
color: var(--emw--color-typography, #555);
|
|
29
|
+
transition: all 0.2s linear;
|
|
30
|
+
}
|
|
31
|
+
.lottery-tipping-page-header .tab-btn.active {
|
|
32
|
+
background-color: var(--emw--color-primary, #fed275);
|
|
33
|
+
color: var(--emw--color-gray-300, #333);
|
|
34
|
+
border: 2px solid var(--emw--color-gray-300, #333);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@container (min-width: 1200px) {
|
|
38
|
+
.tab-btns {
|
|
39
|
+
gap: 40px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
@container (max-width: 480px) {
|
|
43
|
+
.tab-btns {
|
|
44
|
+
gap: 24px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import "../../../../../lottery-tipping-ticket-controller/dist/types/index";
|
|
2
|
+
import { h } from "@stencil/core";
|
|
3
|
+
import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
|
|
4
|
+
import { Tab } from "../../models";
|
|
5
|
+
import { resolveTranslationUrl, translate } from "../../utils/locale.utils";
|
|
6
|
+
export class LotteryTippingPage {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.handleTabClick = (tab) => {
|
|
9
|
+
this.activeTab = tab;
|
|
10
|
+
};
|
|
11
|
+
this.mbSource = undefined;
|
|
12
|
+
this.clientStyling = undefined;
|
|
13
|
+
this.clientStylingUrl = undefined;
|
|
14
|
+
this.translationUrl = '';
|
|
15
|
+
this.language = 'en';
|
|
16
|
+
this.endpoint = undefined;
|
|
17
|
+
this.endpointTicket = undefined;
|
|
18
|
+
this.gameId = undefined;
|
|
19
|
+
this.playerId = undefined;
|
|
20
|
+
this.sessionId = undefined;
|
|
21
|
+
this.drawId = undefined;
|
|
22
|
+
this.activeTab = Tab.BuyTickets;
|
|
23
|
+
}
|
|
24
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
25
|
+
if (newValue != oldValue) {
|
|
26
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
30
|
+
if (newValue != oldValue) {
|
|
31
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
handleMbSourceChange(newValue, oldValue) {
|
|
35
|
+
if (newValue != oldValue) {
|
|
36
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
componentWillLoad() {
|
|
40
|
+
if (this.translationUrl) {
|
|
41
|
+
resolveTranslationUrl(this.translationUrl);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
componentDidLoad() {
|
|
45
|
+
if (this.stylingContainer) {
|
|
46
|
+
if (this.mbSource)
|
|
47
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
48
|
+
if (this.clientStyling)
|
|
49
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
50
|
+
if (this.clientStylingUrl)
|
|
51
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
disconnectedCallback() {
|
|
55
|
+
if (this.stylingSubscription) {
|
|
56
|
+
this.stylingSubscription.unsubscribe();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
renderTabs() {
|
|
60
|
+
const tabOptions = {
|
|
61
|
+
[Tab.BuyTickets]: translate('buyTickets', this.language),
|
|
62
|
+
[Tab.MyTickets]: translate('myTickets', this.language)
|
|
63
|
+
};
|
|
64
|
+
return (h("div", { class: "tab-btns" }, Object.values(Tab).map((tab) => (h("div", { class: 'tab-btn' + (this.activeTab === tab ? ' active' : ''), onClick: this.handleTabClick.bind(this, tab) }, tabOptions[tab])))));
|
|
65
|
+
}
|
|
66
|
+
renderContent() {
|
|
67
|
+
if (this.activeTab === Tab.BuyTickets) {
|
|
68
|
+
return (h("lottery-tipping-ticket-controller", { endpoint: this.endpoint, endpointTicket: this.endpointTicket, gameId: this.gameId, playerId: this.playerId, sessionId: this.sessionId, drawId: this.drawId, language: this.language, "translation-url": this.translationUrl }));
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
render() {
|
|
73
|
+
return (h("div", { key: 'e26cac829a2e2fc44106a53decc9ea76e6e25652', class: "lottery-tipping-page", ref: (el) => (this.stylingContainer = el) }, h("div", { key: '3f4ebaba74ec3c8fa2b23dfe71215cd28f846724', class: "lottery-tipping-page-header" }, h("slot", { key: 'e5ae948d767fe15a783f000d799ebc62df4a2ffa', name: "backBtn" }), this.renderTabs(), h("slot", { key: 'be10eb43ad8df3058ccc6adf0b24ecd00a8437f8', name: "logoutBtn" })), h("div", { key: 'a143b0cacd7172f8e68451e3bfffab5255f5ea2a', class: "lottery-tipping-content" }, this.renderContent())));
|
|
74
|
+
}
|
|
75
|
+
static get is() { return "lottery-tipping-page"; }
|
|
76
|
+
static get encapsulation() { return "shadow"; }
|
|
77
|
+
static get originalStyleUrls() {
|
|
78
|
+
return {
|
|
79
|
+
"$": ["lottery-tipping-page.scss"]
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
static get styleUrls() {
|
|
83
|
+
return {
|
|
84
|
+
"$": ["lottery-tipping-page.css"]
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
static get properties() {
|
|
88
|
+
return {
|
|
89
|
+
"mbSource": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "string",
|
|
94
|
+
"resolved": "string",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "Client custom styling via message bus"
|
|
102
|
+
},
|
|
103
|
+
"attribute": "mb-source",
|
|
104
|
+
"reflect": true
|
|
105
|
+
},
|
|
106
|
+
"clientStyling": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "string",
|
|
111
|
+
"resolved": "string",
|
|
112
|
+
"references": {}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": false,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": "Client custom styling via string"
|
|
119
|
+
},
|
|
120
|
+
"attribute": "client-styling",
|
|
121
|
+
"reflect": true
|
|
122
|
+
},
|
|
123
|
+
"clientStylingUrl": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"mutable": false,
|
|
126
|
+
"complexType": {
|
|
127
|
+
"original": "string",
|
|
128
|
+
"resolved": "string",
|
|
129
|
+
"references": {}
|
|
130
|
+
},
|
|
131
|
+
"required": false,
|
|
132
|
+
"optional": false,
|
|
133
|
+
"docs": {
|
|
134
|
+
"tags": [],
|
|
135
|
+
"text": "Client custom styling via css file url"
|
|
136
|
+
},
|
|
137
|
+
"attribute": "client-styling-url",
|
|
138
|
+
"reflect": true
|
|
139
|
+
},
|
|
140
|
+
"translationUrl": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"mutable": false,
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "string",
|
|
145
|
+
"resolved": "string",
|
|
146
|
+
"references": {}
|
|
147
|
+
},
|
|
148
|
+
"required": false,
|
|
149
|
+
"optional": false,
|
|
150
|
+
"docs": {
|
|
151
|
+
"tags": [],
|
|
152
|
+
"text": "Client custom translation via json file url"
|
|
153
|
+
},
|
|
154
|
+
"attribute": "translation-url",
|
|
155
|
+
"reflect": true,
|
|
156
|
+
"defaultValue": "''"
|
|
157
|
+
},
|
|
158
|
+
"language": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"mutable": false,
|
|
161
|
+
"complexType": {
|
|
162
|
+
"original": "string",
|
|
163
|
+
"resolved": "string",
|
|
164
|
+
"references": {}
|
|
165
|
+
},
|
|
166
|
+
"required": false,
|
|
167
|
+
"optional": false,
|
|
168
|
+
"docs": {
|
|
169
|
+
"tags": [],
|
|
170
|
+
"text": "Client custom language for translation"
|
|
171
|
+
},
|
|
172
|
+
"attribute": "language",
|
|
173
|
+
"reflect": true,
|
|
174
|
+
"defaultValue": "'en'"
|
|
175
|
+
},
|
|
176
|
+
"endpoint": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"mutable": false,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "string",
|
|
181
|
+
"resolved": "string",
|
|
182
|
+
"references": {}
|
|
183
|
+
},
|
|
184
|
+
"required": false,
|
|
185
|
+
"optional": false,
|
|
186
|
+
"docs": {
|
|
187
|
+
"tags": [],
|
|
188
|
+
"text": ""
|
|
189
|
+
},
|
|
190
|
+
"attribute": "endpoint",
|
|
191
|
+
"reflect": true
|
|
192
|
+
},
|
|
193
|
+
"endpointTicket": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"mutable": false,
|
|
196
|
+
"complexType": {
|
|
197
|
+
"original": "string",
|
|
198
|
+
"resolved": "string",
|
|
199
|
+
"references": {}
|
|
200
|
+
},
|
|
201
|
+
"required": false,
|
|
202
|
+
"optional": false,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": "EndpointTicket URL for the source of ticket data"
|
|
206
|
+
},
|
|
207
|
+
"attribute": "endpoint-ticket",
|
|
208
|
+
"reflect": true
|
|
209
|
+
},
|
|
210
|
+
"gameId": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"mutable": false,
|
|
213
|
+
"complexType": {
|
|
214
|
+
"original": "string",
|
|
215
|
+
"resolved": "string",
|
|
216
|
+
"references": {}
|
|
217
|
+
},
|
|
218
|
+
"required": false,
|
|
219
|
+
"optional": false,
|
|
220
|
+
"docs": {
|
|
221
|
+
"tags": [],
|
|
222
|
+
"text": "GameID of the lottery game"
|
|
223
|
+
},
|
|
224
|
+
"attribute": "game-id",
|
|
225
|
+
"reflect": true
|
|
226
|
+
},
|
|
227
|
+
"playerId": {
|
|
228
|
+
"type": "number",
|
|
229
|
+
"mutable": false,
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "number",
|
|
232
|
+
"resolved": "number",
|
|
233
|
+
"references": {}
|
|
234
|
+
},
|
|
235
|
+
"required": false,
|
|
236
|
+
"optional": false,
|
|
237
|
+
"docs": {
|
|
238
|
+
"tags": [],
|
|
239
|
+
"text": "Player ID"
|
|
240
|
+
},
|
|
241
|
+
"attribute": "player-id",
|
|
242
|
+
"reflect": true
|
|
243
|
+
},
|
|
244
|
+
"sessionId": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"mutable": false,
|
|
247
|
+
"complexType": {
|
|
248
|
+
"original": "string",
|
|
249
|
+
"resolved": "string",
|
|
250
|
+
"references": {}
|
|
251
|
+
},
|
|
252
|
+
"required": false,
|
|
253
|
+
"optional": false,
|
|
254
|
+
"docs": {
|
|
255
|
+
"tags": [],
|
|
256
|
+
"text": "GIC Session"
|
|
257
|
+
},
|
|
258
|
+
"attribute": "session-id",
|
|
259
|
+
"reflect": true
|
|
260
|
+
},
|
|
261
|
+
"drawId": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"mutable": false,
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "string",
|
|
266
|
+
"resolved": "string",
|
|
267
|
+
"references": {}
|
|
268
|
+
},
|
|
269
|
+
"required": false,
|
|
270
|
+
"optional": false,
|
|
271
|
+
"docs": {
|
|
272
|
+
"tags": [],
|
|
273
|
+
"text": "Draw ID"
|
|
274
|
+
},
|
|
275
|
+
"attribute": "draw-id",
|
|
276
|
+
"reflect": true
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
static get states() {
|
|
281
|
+
return {
|
|
282
|
+
"activeTab": {}
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
static get watchers() {
|
|
286
|
+
return [{
|
|
287
|
+
"propName": "clientStyling",
|
|
288
|
+
"methodName": "handleClientStylingChange"
|
|
289
|
+
}, {
|
|
290
|
+
"propName": "clientStylingUrl",
|
|
291
|
+
"methodName": "handleClientStylingUrlChange"
|
|
292
|
+
}, {
|
|
293
|
+
"propName": "mbSource",
|
|
294
|
+
"methodName": "handleMbSourceChange"
|
|
295
|
+
}];
|
|
296
|
+
}
|
|
297
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/lottery-tipping-page';
|