@everymatrix/lottery-game-details 1.56.0 → 1.56.3
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 +39 -98
- package/dist/cjs/{index-099339a6.js → index-b3fda73d.js} +74 -209
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-game-details.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/lottery-game-details/lottery-game-details.js +9 -29
- package/dist/esm/helper-accordion_4.entry.js +39 -98
- package/dist/esm/{index-ec9ae966.js → index-b2fc78ab.js} +74 -209
- 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-34234672.js +2 -0
- package/dist/lottery-game-details/p-6cdd4410.entry.js +1 -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/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/lottery-game-details/p-1cd44e8d.js +0 -2
- package/dist/lottery-game-details/p-65d99443.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/packages/stencil/lottery-game-details/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-details/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → 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-b3fda73d.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() {
|
|
@@ -278,22 +244,17 @@ const HelperTabStyle0 = helperTabCss;
|
|
|
278
244
|
const HelperTab = class {
|
|
279
245
|
constructor(hostRef) {
|
|
280
246
|
index.registerInstance(this, hostRef);
|
|
281
|
-
/**
|
|
282
|
-
* Selected index
|
|
283
|
-
*/
|
|
284
247
|
this.selectedIndex = 0;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
*/
|
|
248
|
+
this.cmsEndpoint = undefined;
|
|
249
|
+
this.mbSource = undefined;
|
|
288
250
|
this.clientStyling = '';
|
|
289
|
-
/**
|
|
290
|
-
* Client custom styling via url content
|
|
291
|
-
*/
|
|
292
251
|
this.clientStylingUrl = '';
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
252
|
+
this.lowNumber = undefined;
|
|
253
|
+
this.highNumber = undefined;
|
|
254
|
+
this.minimumAllowed = undefined;
|
|
255
|
+
this.maxinumAllowed = undefined;
|
|
296
256
|
this.language = 'en';
|
|
257
|
+
this.translationUrl = undefined;
|
|
297
258
|
this.tabContent = '';
|
|
298
259
|
}
|
|
299
260
|
handleClientStylingChange(newValue, oldValue) {
|
|
@@ -363,38 +324,22 @@ const HelperTabsStyle0 = helperTabsCss;
|
|
|
363
324
|
const HelperTabs = class {
|
|
364
325
|
constructor(hostRef) {
|
|
365
326
|
index.registerInstance(this, hostRef);
|
|
366
|
-
/**
|
|
367
|
-
* Tell me if it is disabled
|
|
368
|
-
*/
|
|
369
327
|
this.disabled = false;
|
|
370
|
-
|
|
371
|
-
* Tell me what tab is selected
|
|
372
|
-
*/
|
|
328
|
+
this.label = undefined;
|
|
373
329
|
this.selected = false;
|
|
374
|
-
|
|
375
|
-
* Default selected index
|
|
376
|
-
*/
|
|
330
|
+
this.cmsEndpoint = undefined;
|
|
377
331
|
this.selectedIndex = 0;
|
|
378
|
-
/**
|
|
379
|
-
* Tabs details
|
|
380
|
-
*/
|
|
381
332
|
this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
|
|
382
|
-
/**
|
|
383
|
-
* Client custom styling via string
|
|
384
|
-
*/
|
|
385
333
|
this.clientStyling = '';
|
|
386
|
-
|
|
387
|
-
* Client custom styling via url
|
|
388
|
-
*/
|
|
334
|
+
this.mbSource = undefined;
|
|
389
335
|
this.clientStylingurl = '';
|
|
390
|
-
/**
|
|
391
|
-
* Client custom styling via url content
|
|
392
|
-
*/
|
|
393
336
|
this.clientStylingUrl = '';
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
337
|
+
this.lowNumber = undefined;
|
|
338
|
+
this.highNumber = undefined;
|
|
339
|
+
this.minimumAllowed = undefined;
|
|
340
|
+
this.maxinumAllowed = undefined;
|
|
397
341
|
this.language = 'en';
|
|
342
|
+
this.translationUrl = undefined;
|
|
398
343
|
}
|
|
399
344
|
connectedCallback() {
|
|
400
345
|
}
|
|
@@ -442,19 +387,6 @@ const LotteryGameDetailsStyle0 = lotteryGameDetailsCss;
|
|
|
442
387
|
const LotteryGameDetails = class {
|
|
443
388
|
constructor(hostRef) {
|
|
444
389
|
index.registerInstance(this, hostRef);
|
|
445
|
-
/**
|
|
446
|
-
* Client custom styling via string
|
|
447
|
-
*/
|
|
448
|
-
this.clientStyling = '';
|
|
449
|
-
/**
|
|
450
|
-
* Client custom styling via url content
|
|
451
|
-
*/
|
|
452
|
-
this.clientStylingUrlContent = '';
|
|
453
|
-
/**
|
|
454
|
-
* Language
|
|
455
|
-
*/
|
|
456
|
-
this.language = 'en';
|
|
457
|
-
this.limitStylingAppends = false;
|
|
458
390
|
this.setClientStyling = () => {
|
|
459
391
|
let sheet = document.createElement('style');
|
|
460
392
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -467,6 +399,15 @@ const LotteryGameDetails = class {
|
|
|
467
399
|
this.stylingContainer.prepend(cssFile);
|
|
468
400
|
}, 1);
|
|
469
401
|
};
|
|
402
|
+
this.clientStyling = '';
|
|
403
|
+
this.clientStylingUrlContent = '';
|
|
404
|
+
this.lowNumber = undefined;
|
|
405
|
+
this.highNumber = undefined;
|
|
406
|
+
this.minimumAllowed = undefined;
|
|
407
|
+
this.maxinumAllowed = undefined;
|
|
408
|
+
this.language = 'en';
|
|
409
|
+
this.translationUrl = undefined;
|
|
410
|
+
this.limitStylingAppends = false;
|
|
470
411
|
}
|
|
471
412
|
componentDidRender() {
|
|
472
413
|
// start custom styling area
|