@everymatrix/lottery-game-details 1.54.11 → 1.55.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/helper-accordion_4.cjs.entry.js +52 -113
- package/dist/cjs/{index-dd7ec25b.js → index-e12a9319.js} +70 -171
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-game-details.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/lottery-game-details/lottery-game-details.js +9 -29
- package/dist/esm/helper-accordion_4.entry.js +52 -113
- package/dist/esm/{index-c8936d68.js → index-58f248b6.js} +70 -171
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lottery-game-details.js +3 -3
- package/dist/lottery-game-details/lottery-game-details.esm.js +1 -1
- package/dist/lottery-game-details/p-06c7e531.entry.js +1 -0
- package/dist/lottery-game-details/p-eef0a9e5.js +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/lottery-game-details/p-495cbf9c.js +0 -2
- package/dist/lottery-game-details/p-52515ce2.entry.js +0 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -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-e12a9319.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
8
8
|
const SUPPORTED_LANGUAGES$1 = ['ro', 'en', 'hr'];
|
|
@@ -42,67 +42,33 @@ const HelperAccordion = class {
|
|
|
42
42
|
constructor(hostRef) {
|
|
43
43
|
index.registerInstance(this, hostRef);
|
|
44
44
|
this.accordionEvent = index.createEvent(this, "helperAccordionAction", 7);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
this.setClientStyling = () => {
|
|
46
|
+
let sheet = document.createElement('style');
|
|
47
|
+
sheet.innerHTML = this.clientStyling;
|
|
48
|
+
this.stylingContainer.prepend(sheet);
|
|
49
|
+
};
|
|
50
|
+
this.setClientStylingURL = () => {
|
|
51
|
+
let cssFile = document.createElement('style');
|
|
52
|
+
setTimeout(() => {
|
|
53
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
54
|
+
this.stylingContainer.prepend(cssFile);
|
|
55
|
+
}, 1);
|
|
56
|
+
};
|
|
48
57
|
this.ticketHistoryFlag = false;
|
|
49
|
-
/**
|
|
50
|
-
* Title (top header)
|
|
51
|
-
*/
|
|
52
58
|
this.headerTitle = '';
|
|
53
|
-
/**
|
|
54
|
-
* SubTitle (top header)
|
|
55
|
-
*/
|
|
56
59
|
this.headerSubtitle = '';
|
|
57
|
-
/**
|
|
58
|
-
* Description
|
|
59
|
-
*/
|
|
60
60
|
this.description = '';
|
|
61
|
-
/**
|
|
62
|
-
* Enables footer content
|
|
63
|
-
*/
|
|
64
61
|
this.footer = false;
|
|
65
|
-
/**
|
|
66
|
-
* Enables footer button for tab deletion
|
|
67
|
-
*/
|
|
68
62
|
this.deleteTab = false;
|
|
69
|
-
/**
|
|
70
|
-
* Activates postMessages as events for actions from the widget
|
|
71
|
-
*/
|
|
72
63
|
this.postMessage = false;
|
|
73
|
-
/**
|
|
74
|
-
* Name of the event emitter by the action button
|
|
75
|
-
*/
|
|
76
64
|
this.eventName = 'helperAccordionAction';
|
|
77
|
-
/**
|
|
78
|
-
* Collapsed
|
|
79
|
-
*/
|
|
80
65
|
this.collapsed = true;
|
|
81
|
-
/**
|
|
82
|
-
* Language
|
|
83
|
-
*/
|
|
84
66
|
this.language = 'en';
|
|
85
|
-
/**
|
|
86
|
-
* Client custom styling via string
|
|
87
|
-
*/
|
|
88
67
|
this.clientStyling = '';
|
|
89
|
-
/**
|
|
90
|
-
* Client custom styling via url content
|
|
91
|
-
*/
|
|
92
68
|
this.clientStylingUrlContent = '';
|
|
69
|
+
this.translationUrl = undefined;
|
|
70
|
+
this.showContent = undefined;
|
|
93
71
|
this.limitStylingAppends = false;
|
|
94
|
-
this.setClientStyling = () => {
|
|
95
|
-
let sheet = document.createElement('style');
|
|
96
|
-
sheet.innerHTML = this.clientStyling;
|
|
97
|
-
this.stylingContainer.prepend(sheet);
|
|
98
|
-
};
|
|
99
|
-
this.setClientStylingURL = () => {
|
|
100
|
-
let cssFile = document.createElement('style');
|
|
101
|
-
setTimeout(() => {
|
|
102
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
103
|
-
this.stylingContainer.prepend(cssFile);
|
|
104
|
-
}, 1);
|
|
105
|
-
};
|
|
106
72
|
}
|
|
107
73
|
// @TODO fix the `any` type :)
|
|
108
74
|
connectedCallback() {
|
|
@@ -221,24 +187,6 @@ const HelperTabStyle0 = helperTabCss;
|
|
|
221
187
|
const HelperTab = class {
|
|
222
188
|
constructor(hostRef) {
|
|
223
189
|
index.registerInstance(this, hostRef);
|
|
224
|
-
/**
|
|
225
|
-
* Selected index
|
|
226
|
-
*/
|
|
227
|
-
this.selectedIndex = 0;
|
|
228
|
-
/**
|
|
229
|
-
* Client custom styling via string
|
|
230
|
-
*/
|
|
231
|
-
this.clientStyling = '';
|
|
232
|
-
/**
|
|
233
|
-
* Client custom styling via url content
|
|
234
|
-
*/
|
|
235
|
-
this.clientStylingUrlContent = '';
|
|
236
|
-
/**
|
|
237
|
-
* Language of the widget
|
|
238
|
-
*/
|
|
239
|
-
this.language = 'en';
|
|
240
|
-
this.tabContent = '';
|
|
241
|
-
this.limitStylingAppends = false;
|
|
242
190
|
this.setClientStyling = () => {
|
|
243
191
|
let sheet = document.createElement('style');
|
|
244
192
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -251,6 +199,18 @@ const HelperTab = class {
|
|
|
251
199
|
this.stylingContainer.prepend(cssFile);
|
|
252
200
|
}, 1);
|
|
253
201
|
};
|
|
202
|
+
this.selectedIndex = 0;
|
|
203
|
+
this.cmsEndpoint = undefined;
|
|
204
|
+
this.clientStyling = '';
|
|
205
|
+
this.clientStylingUrlContent = '';
|
|
206
|
+
this.lowNumber = undefined;
|
|
207
|
+
this.highNumber = undefined;
|
|
208
|
+
this.minimumAllowed = undefined;
|
|
209
|
+
this.maxinumAllowed = undefined;
|
|
210
|
+
this.language = 'en';
|
|
211
|
+
this.translationUrl = undefined;
|
|
212
|
+
this.tabContent = '';
|
|
213
|
+
this.limitStylingAppends = false;
|
|
254
214
|
}
|
|
255
215
|
componentWillLoad() {
|
|
256
216
|
if (this.translationUrl) {
|
|
@@ -299,39 +259,6 @@ const HelperTabsStyle0 = helperTabsCss;
|
|
|
299
259
|
const HelperTabs = class {
|
|
300
260
|
constructor(hostRef) {
|
|
301
261
|
index.registerInstance(this, hostRef);
|
|
302
|
-
/**
|
|
303
|
-
* Tell me if it is disabled
|
|
304
|
-
*/
|
|
305
|
-
this.disabled = false;
|
|
306
|
-
/**
|
|
307
|
-
* Tell me what tab is selected
|
|
308
|
-
*/
|
|
309
|
-
this.selected = false;
|
|
310
|
-
/**
|
|
311
|
-
* Default selected index
|
|
312
|
-
*/
|
|
313
|
-
this.selectedIndex = 0;
|
|
314
|
-
/**
|
|
315
|
-
* Tabs details
|
|
316
|
-
*/
|
|
317
|
-
this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
|
|
318
|
-
/**
|
|
319
|
-
* Client custom styling via string
|
|
320
|
-
*/
|
|
321
|
-
this.clientStyling = '';
|
|
322
|
-
/**
|
|
323
|
-
* Client custom styling via url
|
|
324
|
-
*/
|
|
325
|
-
this.clientStylingurl = '';
|
|
326
|
-
/**
|
|
327
|
-
* Client custom styling via url content
|
|
328
|
-
*/
|
|
329
|
-
this.clientStylingUrlContent = '';
|
|
330
|
-
/**
|
|
331
|
-
* Language
|
|
332
|
-
*/
|
|
333
|
-
this.language = 'en';
|
|
334
|
-
this.limitStylingAppends = false;
|
|
335
262
|
this.setClientStyling = () => {
|
|
336
263
|
let sheet = document.createElement('style');
|
|
337
264
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -344,6 +271,22 @@ const HelperTabs = class {
|
|
|
344
271
|
this.stylingContainer.prepend(cssFile);
|
|
345
272
|
}, 1);
|
|
346
273
|
};
|
|
274
|
+
this.disabled = false;
|
|
275
|
+
this.label = undefined;
|
|
276
|
+
this.selected = false;
|
|
277
|
+
this.cmsEndpoint = undefined;
|
|
278
|
+
this.selectedIndex = 0;
|
|
279
|
+
this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
|
|
280
|
+
this.clientStyling = '';
|
|
281
|
+
this.clientStylingurl = '';
|
|
282
|
+
this.clientStylingUrlContent = '';
|
|
283
|
+
this.lowNumber = undefined;
|
|
284
|
+
this.highNumber = undefined;
|
|
285
|
+
this.minimumAllowed = undefined;
|
|
286
|
+
this.maxinumAllowed = undefined;
|
|
287
|
+
this.language = 'en';
|
|
288
|
+
this.translationUrl = undefined;
|
|
289
|
+
this.limitStylingAppends = false;
|
|
347
290
|
}
|
|
348
291
|
connectedCallback() {
|
|
349
292
|
}
|
|
@@ -371,19 +314,6 @@ const LotteryGameDetailsStyle0 = lotteryGameDetailsCss;
|
|
|
371
314
|
const LotteryGameDetails = class {
|
|
372
315
|
constructor(hostRef) {
|
|
373
316
|
index.registerInstance(this, hostRef);
|
|
374
|
-
/**
|
|
375
|
-
* Client custom styling via string
|
|
376
|
-
*/
|
|
377
|
-
this.clientStyling = '';
|
|
378
|
-
/**
|
|
379
|
-
* Client custom styling via url content
|
|
380
|
-
*/
|
|
381
|
-
this.clientStylingUrlContent = '';
|
|
382
|
-
/**
|
|
383
|
-
* Language
|
|
384
|
-
*/
|
|
385
|
-
this.language = 'en';
|
|
386
|
-
this.limitStylingAppends = false;
|
|
387
317
|
this.setClientStyling = () => {
|
|
388
318
|
let sheet = document.createElement('style');
|
|
389
319
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -396,6 +326,15 @@ const LotteryGameDetails = class {
|
|
|
396
326
|
this.stylingContainer.prepend(cssFile);
|
|
397
327
|
}, 1);
|
|
398
328
|
};
|
|
329
|
+
this.clientStyling = '';
|
|
330
|
+
this.clientStylingUrlContent = '';
|
|
331
|
+
this.lowNumber = undefined;
|
|
332
|
+
this.highNumber = undefined;
|
|
333
|
+
this.minimumAllowed = undefined;
|
|
334
|
+
this.maxinumAllowed = undefined;
|
|
335
|
+
this.language = 'en';
|
|
336
|
+
this.translationUrl = undefined;
|
|
337
|
+
this.limitStylingAppends = false;
|
|
399
338
|
}
|
|
400
339
|
componentDidRender() {
|
|
401
340
|
// start custom styling area
|