@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,11 @@
|
|
|
1
|
+
import { b as bootstrapLazy } from './index-8ab53757.js';
|
|
2
|
+
export { s as setNonce } from './index-8ab53757.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
const defineCustomElements = async (win, options) => {
|
|
6
|
+
if (typeof window === 'undefined') return undefined;
|
|
7
|
+
await globalScripts();
|
|
8
|
+
return bootstrapLazy([["general-tooltip_7",[[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);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { defineCustomElements };
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-8ab53757.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @name setClientStyling
|
|
5
|
+
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
6
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
7
|
+
* @param {string} clientStyling The style content
|
|
8
|
+
*/
|
|
9
|
+
function setClientStyling(stylingContainer, clientStyling) {
|
|
10
|
+
if (stylingContainer) {
|
|
11
|
+
const sheet = document.createElement('style');
|
|
12
|
+
sheet.innerHTML = clientStyling;
|
|
13
|
+
stylingContainer.appendChild(sheet);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @name setClientStylingURL
|
|
19
|
+
* @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
|
|
20
|
+
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
21
|
+
* @param {string} clientStylingUrl The URL of the style content
|
|
22
|
+
*/
|
|
23
|
+
function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
24
|
+
const url = new URL(clientStylingUrl);
|
|
25
|
+
|
|
26
|
+
fetch(url.href)
|
|
27
|
+
.then((res) => res.text())
|
|
28
|
+
.then((data) => {
|
|
29
|
+
const cssFile = document.createElement('style');
|
|
30
|
+
cssFile.innerHTML = data;
|
|
31
|
+
if (stylingContainer) {
|
|
32
|
+
stylingContainer.appendChild(cssFile);
|
|
33
|
+
}
|
|
34
|
+
})
|
|
35
|
+
.catch((err) => {
|
|
36
|
+
console.error('There was an error while trying to load client styling from URL', err);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @name setStreamLibrary
|
|
42
|
+
* @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
|
|
43
|
+
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
44
|
+
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
45
|
+
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
46
|
+
*/
|
|
47
|
+
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
48
|
+
if (window.emMessageBus) {
|
|
49
|
+
const sheet = document.createElement('style');
|
|
50
|
+
|
|
51
|
+
window.emMessageBus.subscribe(domain, (data) => {
|
|
52
|
+
sheet.innerHTML = data;
|
|
53
|
+
if (stylingContainer) {
|
|
54
|
+
stylingContainer.appendChild(sheet);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
var Tab;
|
|
61
|
+
(function (Tab) {
|
|
62
|
+
Tab["BuyTickets"] = "BUY_TICKETS";
|
|
63
|
+
Tab["MyTickets"] = "MY_TICKETS";
|
|
64
|
+
})(Tab || (Tab = {}));
|
|
65
|
+
|
|
66
|
+
const DEFAULT_LANGUAGE = 'en';
|
|
67
|
+
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
68
|
+
const TRANSLATIONS = {
|
|
69
|
+
en: {
|
|
70
|
+
buyTickets: 'Buy Tickets',
|
|
71
|
+
myTickets: 'My Tickets',
|
|
72
|
+
logout: 'Log out'
|
|
73
|
+
},
|
|
74
|
+
ro: {
|
|
75
|
+
buyTickets: 'Cumpără bilete',
|
|
76
|
+
myTickets: 'Biletele mele',
|
|
77
|
+
logout: 'Deconectare'
|
|
78
|
+
},
|
|
79
|
+
fr: {
|
|
80
|
+
buyTickets: 'Acheter des billets',
|
|
81
|
+
myTickets: 'Mes billets',
|
|
82
|
+
logout: 'Se déconnecter'
|
|
83
|
+
},
|
|
84
|
+
ar: {
|
|
85
|
+
buyTickets: 'شراء التذاكر',
|
|
86
|
+
myTickets: 'تذاكري',
|
|
87
|
+
logout: 'تسجيل الخروج'
|
|
88
|
+
},
|
|
89
|
+
hr: {
|
|
90
|
+
buyTickets: 'Kupi ulaznice',
|
|
91
|
+
myTickets: 'Moje ulaznice',
|
|
92
|
+
logout: 'Odjava'
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
const translate = (key, customLang) => {
|
|
96
|
+
const lang = customLang;
|
|
97
|
+
return TRANSLATIONS[lang !== undefined && SUPPORTED_LANGUAGES.includes(lang) ? lang : DEFAULT_LANGUAGE][key];
|
|
98
|
+
};
|
|
99
|
+
const getTranslations = (data) => {
|
|
100
|
+
Object.keys(data).forEach((item) => {
|
|
101
|
+
for (let key in data[item]) {
|
|
102
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
const resolveTranslationUrl = async (translationUrl) => {
|
|
107
|
+
if (translationUrl) {
|
|
108
|
+
try {
|
|
109
|
+
const response = await fetch(translationUrl);
|
|
110
|
+
if (!response.ok) {
|
|
111
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
|
112
|
+
}
|
|
113
|
+
const translations = await response.json();
|
|
114
|
+
getTranslations(translations);
|
|
115
|
+
}
|
|
116
|
+
catch (error) {
|
|
117
|
+
console.error('Failed to fetch or parse translations from URL:', error);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
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}";
|
|
123
|
+
const LotteryTippingPageStyle0 = lotteryTippingPageCss;
|
|
124
|
+
|
|
125
|
+
const LotteryTippingPage = class {
|
|
126
|
+
constructor(hostRef) {
|
|
127
|
+
registerInstance(this, hostRef);
|
|
128
|
+
this.handleTabClick = (tab) => {
|
|
129
|
+
this.activeTab = tab;
|
|
130
|
+
};
|
|
131
|
+
this.mbSource = undefined;
|
|
132
|
+
this.clientStyling = undefined;
|
|
133
|
+
this.clientStylingUrl = undefined;
|
|
134
|
+
this.translationUrl = '';
|
|
135
|
+
this.language = 'en';
|
|
136
|
+
this.endpoint = undefined;
|
|
137
|
+
this.endpointTicket = undefined;
|
|
138
|
+
this.gameId = undefined;
|
|
139
|
+
this.playerId = undefined;
|
|
140
|
+
this.sessionId = undefined;
|
|
141
|
+
this.drawId = undefined;
|
|
142
|
+
this.activeTab = Tab.BuyTickets;
|
|
143
|
+
}
|
|
144
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
145
|
+
if (newValue != oldValue) {
|
|
146
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
150
|
+
if (newValue != oldValue) {
|
|
151
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
handleMbSourceChange(newValue, oldValue) {
|
|
155
|
+
if (newValue != oldValue) {
|
|
156
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
componentWillLoad() {
|
|
160
|
+
if (this.translationUrl) {
|
|
161
|
+
resolveTranslationUrl(this.translationUrl);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
componentDidLoad() {
|
|
165
|
+
if (this.stylingContainer) {
|
|
166
|
+
if (this.mbSource)
|
|
167
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
168
|
+
if (this.clientStyling)
|
|
169
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
170
|
+
if (this.clientStylingUrl)
|
|
171
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
disconnectedCallback() {
|
|
175
|
+
if (this.stylingSubscription) {
|
|
176
|
+
this.stylingSubscription.unsubscribe();
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
renderTabs() {
|
|
180
|
+
const tabOptions = {
|
|
181
|
+
[Tab.BuyTickets]: translate('buyTickets', this.language),
|
|
182
|
+
[Tab.MyTickets]: translate('myTickets', this.language)
|
|
183
|
+
};
|
|
184
|
+
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])))));
|
|
185
|
+
}
|
|
186
|
+
renderContent() {
|
|
187
|
+
if (this.activeTab === Tab.BuyTickets) {
|
|
188
|
+
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 }));
|
|
189
|
+
}
|
|
190
|
+
return null;
|
|
191
|
+
}
|
|
192
|
+
render() {
|
|
193
|
+
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())));
|
|
194
|
+
}
|
|
195
|
+
static get watchers() { return {
|
|
196
|
+
"clientStyling": ["handleClientStylingChange"],
|
|
197
|
+
"clientStylingUrl": ["handleClientStylingUrlChange"],
|
|
198
|
+
"mbSource": ["handleMbSourceChange"]
|
|
199
|
+
}; }
|
|
200
|
+
};
|
|
201
|
+
LotteryTippingPage.style = LotteryTippingPageStyle0;
|
|
202
|
+
|
|
203
|
+
export { LotteryTippingPage as L, setClientStylingURL as a, setStreamStyling as b, setClientStyling as s };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-8ab53757.js';
|
|
2
|
+
export { s as setNonce } from './index-8ab53757.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
|
+
*/
|
|
8
|
+
var patchBrowser = () => {
|
|
9
|
+
const importMeta = import.meta.url;
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== "") {
|
|
12
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return promiseResolve(opts);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
patchBrowser().then(async (options) => {
|
|
18
|
+
await globalScripts();
|
|
19
|
+
return bootstrapLazy([["general-tooltip_7",[[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);
|
|
20
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esm/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>{};export{o as g}
|