@everymatrix/lottery-tipping-ticket-bet 0.3.0 → 0.3.2
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-tooltip_4.cjs.entry.js +20 -77
- package/dist/cjs/{index-1e2543a3.js → index-44841509.js} +1 -4
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{lottery-tipping-ticket-bet-7bf360c0.js → lottery-tipping-ticket-bet-624b0f58.js} +85 -30
- package/dist/cjs/lottery-tipping-ticket-bet.cjs.js +2 -2
- package/dist/collection/components/lottery-tipping-ticket-bet/lottery-tipping-ticket-bet.js +32 -31
- package/dist/esm/general-tooltip_4.entry.js +3 -59
- package/dist/esm/{index-220905ab.js → index-30c68028.js} +1 -4
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{lottery-tipping-ticket-bet-f293161f.js → lottery-tipping-ticket-bet-60d37358.js} +83 -31
- package/dist/esm/lottery-tipping-ticket-bet.js +3 -3
- package/dist/lottery-tipping-ticket-bet/general-tooltip_4.entry.js +1 -1
- package/dist/lottery-tipping-ticket-bet/{index-220905ab.js → index-30c68028.js} +2 -2
- package/dist/lottery-tipping-ticket-bet/index.esm.js +1 -1
- package/dist/lottery-tipping-ticket-bet/{lottery-tipping-ticket-bet-f293161f.js → lottery-tipping-ticket-bet-60d37358.js} +241 -241
- package/dist/lottery-tipping-ticket-bet/lottery-tipping-ticket-bet.esm.js +1 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-tipping-ticket-bet/.stencil/tools/plugins/index.d.ts +1 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-tipping-ticket-bet/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/components/lottery-tipping-ticket-bet/lottery-tipping-ticket-bet.d.ts +6 -3
- package/package.json +1 -1
|
@@ -2,65 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const lotteryTippingTicketBet = require('./lottery-tipping-ticket-bet-
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @name setClientStyling
|
|
10
|
-
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
11
|
-
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
12
|
-
* @param {string} clientStyling The style content
|
|
13
|
-
*/
|
|
14
|
-
function setClientStyling(stylingContainer, clientStyling) {
|
|
15
|
-
if (stylingContainer) {
|
|
16
|
-
const sheet = document.createElement('style');
|
|
17
|
-
sheet.innerHTML = clientStyling;
|
|
18
|
-
stylingContainer.appendChild(sheet);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @name setClientStylingURL
|
|
24
|
-
* @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
|
|
25
|
-
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
26
|
-
* @param {string} clientStylingUrl The URL of the style content
|
|
27
|
-
*/
|
|
28
|
-
function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
29
|
-
const url = new URL(clientStylingUrl);
|
|
30
|
-
|
|
31
|
-
fetch(url.href)
|
|
32
|
-
.then((res) => res.text())
|
|
33
|
-
.then((data) => {
|
|
34
|
-
const cssFile = document.createElement('style');
|
|
35
|
-
cssFile.innerHTML = data;
|
|
36
|
-
if (stylingContainer) {
|
|
37
|
-
stylingContainer.appendChild(cssFile);
|
|
38
|
-
}
|
|
39
|
-
})
|
|
40
|
-
.catch((err) => {
|
|
41
|
-
console.error('There was an error while trying to load client styling from URL', err);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @name setStreamLibrary
|
|
47
|
-
* @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
|
|
48
|
-
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
49
|
-
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
50
|
-
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
51
|
-
*/
|
|
52
|
-
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
53
|
-
if (window.emMessageBus) {
|
|
54
|
-
const sheet = document.createElement('style');
|
|
55
|
-
|
|
56
|
-
window.emMessageBus.subscribe(domain, (data) => {
|
|
57
|
-
sheet.innerHTML = data;
|
|
58
|
-
if (stylingContainer) {
|
|
59
|
-
stylingContainer.appendChild(sheet);
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
5
|
+
const index = require('./index-44841509.js');
|
|
6
|
+
const lotteryTippingTicketBet = require('./lottery-tipping-ticket-bet-624b0f58.js');
|
|
64
7
|
|
|
65
8
|
const generalTooltipCss = ".general-tooltip-wrapper{display:inline-block;position:relative;line-height:0}.general-tooltip-container{display:contents;}.general-tooltip-popup{position:absolute;background-color:var(--emw--color-gray-300, #333);color:var(--emw--color-background, #fff);padding:8px 12px;border-radius:4px;font-size:0.875em;line-height:1.4;z-index:1000;opacity:0;visibility:hidden;transition:opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;white-space:nowrap;pointer-events:none;}.general-tooltip-popup.visible{opacity:1;visibility:visible}.general-tooltip-arrow{position:absolute;width:0;height:0;border-style:solid}.general-tooltip-top{bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:8px;}.general-tooltip-top .general-tooltip-arrow{top:100%;left:50%;transform:translateX(-50%);border-width:6px 6px 0 6px;border-color:var(--emw--color-gray-300, #333) transparent transparent transparent}.general-tooltip-bottom{top:100%;left:50%;transform:translateX(-50%);margin-top:8px;}.general-tooltip-bottom .general-tooltip-arrow{bottom:100%;left:50%;transform:translateX(-50%);border-width:0 6px 6px 6px;border-color:transparent transparent var(--emw--color-gray-300, #333) transparent}.general-tooltip-left{right:100%;top:50%;transform:translateY(-50%);margin-right:8px;}.general-tooltip-left .general-tooltip-arrow{left:100%;top:50%;transform:translateY(-50%);border-width:6px 0 6px 6px;border-color:transparent transparent transparent var(--emw--color-gray-300, #333)}.general-tooltip-right{left:100%;top:50%;transform:translateY(-50%);margin-left:8px;}.general-tooltip-right .general-tooltip-arrow{right:100%;top:50%;transform:translateY(-50%);border-width:6px 6px 6px 0;border-color:transparent var(--emw--color-gray-300, #333) transparent transparent}";
|
|
66
9
|
const GeneralTooltipStyle0 = generalTooltipCss;
|
|
@@ -78,17 +21,17 @@ const GeneralTooltip = class {
|
|
|
78
21
|
}
|
|
79
22
|
handleClientStylingChange(newValue, oldValue) {
|
|
80
23
|
if (newValue != oldValue) {
|
|
81
|
-
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
24
|
+
lotteryTippingTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
|
|
82
25
|
}
|
|
83
26
|
}
|
|
84
27
|
handleClientStylingUrlChange(newValue, oldValue) {
|
|
85
28
|
if (newValue != oldValue) {
|
|
86
|
-
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
29
|
+
lotteryTippingTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
87
30
|
}
|
|
88
31
|
}
|
|
89
32
|
handleMbSourceChange(newValue, oldValue) {
|
|
90
33
|
if (newValue != oldValue) {
|
|
91
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
34
|
+
lotteryTippingTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
92
35
|
}
|
|
93
36
|
}
|
|
94
37
|
componentWillLoad() {
|
|
@@ -97,11 +40,11 @@ const GeneralTooltip = class {
|
|
|
97
40
|
componentDidLoad() {
|
|
98
41
|
if (this.stylingContainer) {
|
|
99
42
|
if (this.mbSource)
|
|
100
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
43
|
+
lotteryTippingTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
101
44
|
if (this.clientStyling)
|
|
102
|
-
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
45
|
+
lotteryTippingTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
|
|
103
46
|
if (this.clientStylingUrl)
|
|
104
|
-
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
47
|
+
lotteryTippingTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
105
48
|
}
|
|
106
49
|
}
|
|
107
50
|
handleMouseEnterOrFocus() {
|
|
@@ -164,27 +107,27 @@ const LotteryTippingBullet = class {
|
|
|
164
107
|
}
|
|
165
108
|
handleClientStylingChange(newValue, oldValue) {
|
|
166
109
|
if (newValue != oldValue) {
|
|
167
|
-
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
110
|
+
lotteryTippingTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
|
|
168
111
|
}
|
|
169
112
|
}
|
|
170
113
|
handleClientStylingUrlChange(newValue, oldValue) {
|
|
171
114
|
if (newValue != oldValue) {
|
|
172
|
-
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
115
|
+
lotteryTippingTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
173
116
|
}
|
|
174
117
|
}
|
|
175
118
|
handleMbSourceChange(newValue, oldValue) {
|
|
176
119
|
if (newValue != oldValue) {
|
|
177
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
120
|
+
lotteryTippingTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
178
121
|
}
|
|
179
122
|
}
|
|
180
123
|
componentDidLoad() {
|
|
181
124
|
if (this.stylingContainer) {
|
|
182
125
|
if (this.mbSource)
|
|
183
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
126
|
+
lotteryTippingTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
184
127
|
if (this.clientStyling)
|
|
185
|
-
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
128
|
+
lotteryTippingTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
|
|
186
129
|
if (this.clientStylingUrl)
|
|
187
|
-
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
130
|
+
lotteryTippingTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
188
131
|
}
|
|
189
132
|
}
|
|
190
133
|
handleClick() {
|
|
@@ -256,27 +199,27 @@ const LotteryTippingBulletGroup = class {
|
|
|
256
199
|
}
|
|
257
200
|
handleClientStylingChange(newValue, oldValue) {
|
|
258
201
|
if (newValue != oldValue) {
|
|
259
|
-
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
202
|
+
lotteryTippingTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
|
|
260
203
|
}
|
|
261
204
|
}
|
|
262
205
|
handleClientStylingUrlChange(newValue, oldValue) {
|
|
263
206
|
if (newValue != oldValue) {
|
|
264
|
-
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
207
|
+
lotteryTippingTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
265
208
|
}
|
|
266
209
|
}
|
|
267
210
|
handleMbSourceChange(newValue, oldValue) {
|
|
268
211
|
if (newValue != oldValue) {
|
|
269
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
212
|
+
lotteryTippingTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
270
213
|
}
|
|
271
214
|
}
|
|
272
215
|
componentDidLoad() {
|
|
273
216
|
if (this.stylingContainer) {
|
|
274
217
|
if (this.mbSource)
|
|
275
|
-
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
218
|
+
lotteryTippingTicketBet.setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
276
219
|
if (this.clientStyling)
|
|
277
|
-
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
220
|
+
lotteryTippingTicketBet.setClientStyling(this.stylingContainer, this.clientStyling);
|
|
278
221
|
if (this.clientStylingUrl)
|
|
279
|
-
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
222
|
+
lotteryTippingTicketBet.setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
280
223
|
}
|
|
281
224
|
}
|
|
282
225
|
disconnectedCallback() {
|
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'lottery-tipping-ticket-bet';
|
|
24
|
-
const BUILD = /* lottery-tipping-ticket-bet */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender:
|
|
24
|
+
const BUILD = /* lottery-tipping-ticket-bet */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -899,9 +899,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
899
899
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
900
900
|
const instance = hostRef.$lazyInstance$ ;
|
|
901
901
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
902
|
-
{
|
|
903
|
-
safeCall(instance, "componentDidRender");
|
|
904
|
-
}
|
|
905
902
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
906
903
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
907
904
|
{
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const lotteryTippingTicketBet = require('./lottery-tipping-ticket-bet-
|
|
6
|
-
require('./index-
|
|
5
|
+
const lotteryTippingTicketBet = require('./lottery-tipping-ticket-bet-624b0f58.js');
|
|
6
|
+
require('./index-44841509.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-44841509.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy([["general-tooltip_4.cjs",[[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],"
|
|
11
|
+
return index.bootstrapLazy([["general-tooltip_4.cjs",[[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],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[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
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
package/dist/cjs/{lottery-tipping-ticket-bet-7bf360c0.js → lottery-tipping-ticket-bet-624b0f58.js}
RENAMED
|
@@ -1,6 +1,63 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-44841509.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
|
+
}
|
|
4
61
|
|
|
5
62
|
const DEFAULT_LANGUAGE = 'en';
|
|
6
63
|
const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
@@ -9289,7 +9346,6 @@ const LotteryTippingTicketBet = class {
|
|
|
9289
9346
|
this.translationUrl = '';
|
|
9290
9347
|
this.language = 'en';
|
|
9291
9348
|
this.translationData = undefined;
|
|
9292
|
-
this.limitStylingAppends = false;
|
|
9293
9349
|
this.clientStylingUrlContent = '';
|
|
9294
9350
|
this.sessionId = undefined;
|
|
9295
9351
|
this.endpoint = '';
|
|
@@ -9313,42 +9369,35 @@ const LotteryTippingTicketBet = class {
|
|
|
9313
9369
|
getTranslations(JSON.parse(this.translationUrl));
|
|
9314
9370
|
this.isLoading = false;
|
|
9315
9371
|
}
|
|
9372
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
9373
|
+
if (newValue != oldValue) {
|
|
9374
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
9375
|
+
}
|
|
9376
|
+
}
|
|
9377
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
9378
|
+
if (newValue != oldValue) {
|
|
9379
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
9380
|
+
}
|
|
9381
|
+
}
|
|
9382
|
+
handleMbSourceChange(newValue, oldValue) {
|
|
9383
|
+
if (newValue != oldValue) {
|
|
9384
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
9385
|
+
}
|
|
9386
|
+
}
|
|
9316
9387
|
componentWillLoad() {
|
|
9317
9388
|
if (this.translationUrl) {
|
|
9318
9389
|
getTranslations(JSON.parse(this.translationUrl));
|
|
9319
9390
|
}
|
|
9320
9391
|
}
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
let sheet = document.createElement('style');
|
|
9326
|
-
sheet.innerHTML = this.clientStyling;
|
|
9327
|
-
this.stylingContainer.prepend(sheet);
|
|
9328
|
-
};
|
|
9329
|
-
const setClientStylingURL = () => {
|
|
9330
|
-
let url = new URL(this.clientStylingUrl);
|
|
9331
|
-
let cssFile = document.createElement('style');
|
|
9332
|
-
fetch(url.href)
|
|
9333
|
-
.then((res) => res.text())
|
|
9334
|
-
.then((data) => {
|
|
9335
|
-
this.clientStylingUrlContent = data;
|
|
9336
|
-
cssFile.innerHTML = data;
|
|
9337
|
-
setTimeout(() => {
|
|
9338
|
-
this.stylingContainer.prepend(cssFile);
|
|
9339
|
-
}, 1);
|
|
9340
|
-
})
|
|
9341
|
-
.catch((err) => {
|
|
9342
|
-
console.log('error ', err);
|
|
9343
|
-
});
|
|
9344
|
-
};
|
|
9392
|
+
componentDidLoad() {
|
|
9393
|
+
if (this.stylingContainer) {
|
|
9394
|
+
if (this.mbSource)
|
|
9395
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
|
|
9345
9396
|
if (this.clientStyling)
|
|
9346
|
-
setClientStyling();
|
|
9397
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
9347
9398
|
if (this.clientStylingUrl)
|
|
9348
|
-
setClientStylingURL();
|
|
9349
|
-
this.limitStylingAppends = true;
|
|
9399
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
9350
9400
|
}
|
|
9351
|
-
// end custom styling area
|
|
9352
9401
|
}
|
|
9353
9402
|
get parsedDefaultBulletConfigLineGroup() {
|
|
9354
9403
|
if (typeof this.defaultBulletConfigLineGroup === 'string' && this.defaultBulletConfigLineGroup) {
|
|
@@ -9566,6 +9615,9 @@ const LotteryTippingTicketBet = class {
|
|
|
9566
9615
|
static get assetsDirs() { return ["../static"]; }
|
|
9567
9616
|
static get watchers() { return {
|
|
9568
9617
|
"translationUrl": ["handleNewTranslations"],
|
|
9618
|
+
"clientStyling": ["handleClientStylingChange"],
|
|
9619
|
+
"clientStylingUrl": ["handleClientStylingUrlChange"],
|
|
9620
|
+
"mbSource": ["handleMbSourceChange"],
|
|
9569
9621
|
"gameId": ["fetchMatchData"],
|
|
9570
9622
|
"sessionId": ["fetchMatchData"],
|
|
9571
9623
|
"drawId": ["fetchMatchData"],
|
|
@@ -9575,3 +9627,6 @@ const LotteryTippingTicketBet = class {
|
|
|
9575
9627
|
LotteryTippingTicketBet.style = LotteryTippingTicketBetStyle0;
|
|
9576
9628
|
|
|
9577
9629
|
exports.LotteryTippingTicketBet = LotteryTippingTicketBet;
|
|
9630
|
+
exports.setClientStyling = setClientStyling;
|
|
9631
|
+
exports.setClientStylingURL = setClientStylingURL;
|
|
9632
|
+
exports.setStreamStyling = setStreamStyling;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-44841509.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["general-tooltip_4.cjs",[[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],"
|
|
22
|
+
return index.bootstrapLazy([["general-tooltip_4.cjs",[[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],"clientStylingUrlContent":[32],"bulletConfigLineGroup":[32],"currentPage":[32],"isLoading":[32],"hasErrors":[32],"dialogConfig":[32],"ticketDataSource":[32],"resetBulletConfig":[64],"getData":[64]},[[0,"lotteryTippingBulletGroupToggle","lotteryTippingBulletGroupSelectionHandler"]],{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"],"mbSource":["handleMbSourceChange"],"gameId":["fetchMatchData"],"sessionId":["fetchMatchData"],"drawId":["fetchMatchData"],"currentPage":["handleCurrentPageChange"]}],[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
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getAssetPath, h } from "@stencil/core";
|
|
2
|
-
import "
|
|
2
|
+
import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
|
|
3
3
|
import { getTranslations, translate } from "../../utils/locale.utils";
|
|
4
4
|
import { DEFAULT_BULLET_CONFIG, fetcher, formatDate, showNotification, SPLIT_TOKEN } from "../../utils/utils";
|
|
5
|
+
import "../../../../../lottery-tipping-bullet-group/dist/types/index";
|
|
5
6
|
import "../../../../../../../libs/vaadin-facade/index";
|
|
6
7
|
export class LotteryTippingTicketBet {
|
|
7
8
|
constructor() {
|
|
@@ -39,7 +40,6 @@ export class LotteryTippingTicketBet {
|
|
|
39
40
|
this.translationUrl = '';
|
|
40
41
|
this.language = 'en';
|
|
41
42
|
this.translationData = undefined;
|
|
42
|
-
this.limitStylingAppends = false;
|
|
43
43
|
this.clientStylingUrlContent = '';
|
|
44
44
|
this.sessionId = undefined;
|
|
45
45
|
this.endpoint = '';
|
|
@@ -63,42 +63,35 @@ export class LotteryTippingTicketBet {
|
|
|
63
63
|
getTranslations(JSON.parse(this.translationUrl));
|
|
64
64
|
this.isLoading = false;
|
|
65
65
|
}
|
|
66
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
67
|
+
if (newValue != oldValue) {
|
|
68
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
72
|
+
if (newValue != oldValue) {
|
|
73
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
handleMbSourceChange(newValue, oldValue) {
|
|
77
|
+
if (newValue != oldValue) {
|
|
78
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
66
81
|
componentWillLoad() {
|
|
67
82
|
if (this.translationUrl) {
|
|
68
83
|
getTranslations(JSON.parse(this.translationUrl));
|
|
69
84
|
}
|
|
70
85
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
let sheet = document.createElement('style');
|
|
76
|
-
sheet.innerHTML = this.clientStyling;
|
|
77
|
-
this.stylingContainer.prepend(sheet);
|
|
78
|
-
};
|
|
79
|
-
const setClientStylingURL = () => {
|
|
80
|
-
let url = new URL(this.clientStylingUrl);
|
|
81
|
-
let cssFile = document.createElement('style');
|
|
82
|
-
fetch(url.href)
|
|
83
|
-
.then((res) => res.text())
|
|
84
|
-
.then((data) => {
|
|
85
|
-
this.clientStylingUrlContent = data;
|
|
86
|
-
cssFile.innerHTML = data;
|
|
87
|
-
setTimeout(() => {
|
|
88
|
-
this.stylingContainer.prepend(cssFile);
|
|
89
|
-
}, 1);
|
|
90
|
-
})
|
|
91
|
-
.catch((err) => {
|
|
92
|
-
console.log('error ', err);
|
|
93
|
-
});
|
|
94
|
-
};
|
|
86
|
+
componentDidLoad() {
|
|
87
|
+
if (this.stylingContainer) {
|
|
88
|
+
if (this.mbSource)
|
|
89
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
95
90
|
if (this.clientStyling)
|
|
96
|
-
setClientStyling();
|
|
91
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
97
92
|
if (this.clientStylingUrl)
|
|
98
|
-
setClientStylingURL();
|
|
99
|
-
this.limitStylingAppends = true;
|
|
93
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
100
94
|
}
|
|
101
|
-
// end custom styling area
|
|
102
95
|
}
|
|
103
96
|
get parsedDefaultBulletConfigLineGroup() {
|
|
104
97
|
if (typeof this.defaultBulletConfigLineGroup === 'string' && this.defaultBulletConfigLineGroup) {
|
|
@@ -595,7 +588,6 @@ export class LotteryTippingTicketBet {
|
|
|
595
588
|
static get states() {
|
|
596
589
|
return {
|
|
597
590
|
"translationData": {},
|
|
598
|
-
"limitStylingAppends": {},
|
|
599
591
|
"clientStylingUrlContent": {},
|
|
600
592
|
"bulletConfigLineGroup": {},
|
|
601
593
|
"currentPage": {},
|
|
@@ -684,6 +676,15 @@ export class LotteryTippingTicketBet {
|
|
|
684
676
|
return [{
|
|
685
677
|
"propName": "translationUrl",
|
|
686
678
|
"methodName": "handleNewTranslations"
|
|
679
|
+
}, {
|
|
680
|
+
"propName": "clientStyling",
|
|
681
|
+
"methodName": "handleClientStylingChange"
|
|
682
|
+
}, {
|
|
683
|
+
"propName": "clientStylingUrl",
|
|
684
|
+
"methodName": "handleClientStylingUrlChange"
|
|
685
|
+
}, {
|
|
686
|
+
"propName": "mbSource",
|
|
687
|
+
"methodName": "handleMbSourceChange"
|
|
687
688
|
}, {
|
|
688
689
|
"propName": "gameId",
|
|
689
690
|
"methodName": "fetchMatchData"
|
|
@@ -1,62 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement, c as createEvent } from './index-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @name setClientStyling
|
|
6
|
-
* @description Method used to create and append to the passed element of the widget a style element with the content received
|
|
7
|
-
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
8
|
-
* @param {string} clientStyling The style content
|
|
9
|
-
*/
|
|
10
|
-
function setClientStyling(stylingContainer, clientStyling) {
|
|
11
|
-
if (stylingContainer) {
|
|
12
|
-
const sheet = document.createElement('style');
|
|
13
|
-
sheet.innerHTML = clientStyling;
|
|
14
|
-
stylingContainer.appendChild(sheet);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @name setClientStylingURL
|
|
20
|
-
* @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
|
|
21
|
-
* @param {HTMLElement} stylingContainer The reference element of the widget
|
|
22
|
-
* @param {string} clientStylingUrl The URL of the style content
|
|
23
|
-
*/
|
|
24
|
-
function setClientStylingURL(stylingContainer, clientStylingUrl) {
|
|
25
|
-
const url = new URL(clientStylingUrl);
|
|
26
|
-
|
|
27
|
-
fetch(url.href)
|
|
28
|
-
.then((res) => res.text())
|
|
29
|
-
.then((data) => {
|
|
30
|
-
const cssFile = document.createElement('style');
|
|
31
|
-
cssFile.innerHTML = data;
|
|
32
|
-
if (stylingContainer) {
|
|
33
|
-
stylingContainer.appendChild(cssFile);
|
|
34
|
-
}
|
|
35
|
-
})
|
|
36
|
-
.catch((err) => {
|
|
37
|
-
console.error('There was an error while trying to load client styling from URL', err);
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @name setStreamLibrary
|
|
43
|
-
* @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
|
|
44
|
-
* @param {HTMLElement} stylingContainer The highest element of the widget
|
|
45
|
-
* @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
|
|
46
|
-
* @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
|
|
47
|
-
*/
|
|
48
|
-
function setStreamStyling(stylingContainer, domain, subscription) {
|
|
49
|
-
if (window.emMessageBus) {
|
|
50
|
-
const sheet = document.createElement('style');
|
|
51
|
-
|
|
52
|
-
window.emMessageBus.subscribe(domain, (data) => {
|
|
53
|
-
sheet.innerHTML = data;
|
|
54
|
-
if (stylingContainer) {
|
|
55
|
-
stylingContainer.appendChild(sheet);
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
import { r as registerInstance, h, a as getElement, c as createEvent } from './index-30c68028.js';
|
|
2
|
+
import { s as setClientStyling, a as setClientStylingURL, b as setStreamStyling } from './lottery-tipping-ticket-bet-60d37358.js';
|
|
3
|
+
export { L as lottery_tipping_ticket_bet } from './lottery-tipping-ticket-bet-60d37358.js';
|
|
60
4
|
|
|
61
5
|
const generalTooltipCss = ".general-tooltip-wrapper{display:inline-block;position:relative;line-height:0}.general-tooltip-container{display:contents;}.general-tooltip-popup{position:absolute;background-color:var(--emw--color-gray-300, #333);color:var(--emw--color-background, #fff);padding:8px 12px;border-radius:4px;font-size:0.875em;line-height:1.4;z-index:1000;opacity:0;visibility:hidden;transition:opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;white-space:nowrap;pointer-events:none;}.general-tooltip-popup.visible{opacity:1;visibility:visible}.general-tooltip-arrow{position:absolute;width:0;height:0;border-style:solid}.general-tooltip-top{bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:8px;}.general-tooltip-top .general-tooltip-arrow{top:100%;left:50%;transform:translateX(-50%);border-width:6px 6px 0 6px;border-color:var(--emw--color-gray-300, #333) transparent transparent transparent}.general-tooltip-bottom{top:100%;left:50%;transform:translateX(-50%);margin-top:8px;}.general-tooltip-bottom .general-tooltip-arrow{bottom:100%;left:50%;transform:translateX(-50%);border-width:0 6px 6px 6px;border-color:transparent transparent var(--emw--color-gray-300, #333) transparent}.general-tooltip-left{right:100%;top:50%;transform:translateY(-50%);margin-right:8px;}.general-tooltip-left .general-tooltip-arrow{left:100%;top:50%;transform:translateY(-50%);border-width:6px 0 6px 6px;border-color:transparent transparent transparent var(--emw--color-gray-300, #333)}.general-tooltip-right{left:100%;top:50%;transform:translateY(-50%);margin-left:8px;}.general-tooltip-right .general-tooltip-arrow{right:100%;top:50%;transform:translateY(-50%);border-width:6px 6px 6px 0;border-color:transparent var(--emw--color-gray-300, #333) transparent transparent}";
|
|
62
6
|
const GeneralTooltipStyle0 = generalTooltipCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const NAMESPACE = 'lottery-tipping-ticket-bet';
|
|
2
|
-
const BUILD = /* lottery-tipping-ticket-bet */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender:
|
|
2
|
+
const BUILD = /* lottery-tipping-ticket-bet */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -877,9 +877,6 @@ var postUpdateComponent = (hostRef) => {
|
|
|
877
877
|
const endPostUpdate = createTime("postUpdate", tagName);
|
|
878
878
|
const instance = hostRef.$lazyInstance$ ;
|
|
879
879
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
880
|
-
{
|
|
881
|
-
safeCall(instance, "componentDidRender");
|
|
882
|
-
}
|
|
883
880
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
884
881
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
885
882
|
{
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { L as LotteryTippingTicketBet } from './lottery-tipping-ticket-bet-
|
|
2
|
-
import './index-
|
|
1
|
+
export { L as LotteryTippingTicketBet } from './lottery-tipping-ticket-bet-60d37358.js';
|
|
2
|
+
import './index-30c68028.js';
|