@everymatrix/lottery-ticket-controller 1.56.0 → 1.56.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/helper-accordion_5.cjs.entry.js +96 -331
- package/dist/cjs/{index-ce57b34d.js → index-1fc68b7c.js} +72 -207
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/lottery-ticket-controller.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/lottery-ticket-controller/lottery-ticket-controller.js +15 -83
- package/dist/esm/helper-accordion_5.entry.js +96 -331
- package/dist/esm/{index-30728886.js → index-bf542936.js} +72 -207
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lottery-ticket-controller.js +3 -3
- package/dist/lottery-ticket-controller/lottery-ticket-controller.esm.js +1 -1
- package/dist/lottery-ticket-controller/p-6880be75.js +2 -0
- package/dist/lottery-ticket-controller/{p-6262cd49.entry.js → p-82d50d23.entry.js} +130 -132
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-ticket-controller/.stencil/packages/stencil/lottery-ticket-controller/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-ticket-controller/.stencil/packages/stencil/lottery-ticket-controller/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-ticket-controller/p-44ec1b95.js +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-ticket-controller/.stencil/packages/stencil/lottery-ticket-controller/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-ticket-controller/.stencil/packages/stencil/lottery-ticket-controller/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-ticket-controller/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-ticket-controller/.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-ticket-controller/.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-ticket-controller/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$2 } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$2 } from './index-bf542936.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE$2 = 'en';
|
|
4
4
|
const SUPPORTED_LANGUAGES$2 = ['ro', 'en', 'hr'];
|
|
@@ -38,67 +38,33 @@ const HelperAccordion = class {
|
|
|
38
38
|
constructor(hostRef) {
|
|
39
39
|
registerInstance(this, hostRef);
|
|
40
40
|
this.accordionEvent = createEvent(this, "helperAccordionAction", 7);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
this.setClientStyling = () => {
|
|
42
|
+
let sheet = document.createElement('style');
|
|
43
|
+
sheet.innerHTML = this.clientStyling;
|
|
44
|
+
this.stylingContainer.prepend(sheet);
|
|
45
|
+
};
|
|
46
|
+
this.setClientStylingURL = () => {
|
|
47
|
+
let cssFile = document.createElement('style');
|
|
48
|
+
setTimeout(() => {
|
|
49
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
50
|
+
this.stylingContainer.prepend(cssFile);
|
|
51
|
+
}, 1);
|
|
52
|
+
};
|
|
44
53
|
this.ticketHistoryFlag = false;
|
|
45
|
-
/**
|
|
46
|
-
* Title (top header)
|
|
47
|
-
*/
|
|
48
54
|
this.headerTitle = '';
|
|
49
|
-
/**
|
|
50
|
-
* SubTitle (top header)
|
|
51
|
-
*/
|
|
52
55
|
this.headerSubtitle = '';
|
|
53
|
-
/**
|
|
54
|
-
* Description
|
|
55
|
-
*/
|
|
56
56
|
this.description = '';
|
|
57
|
-
/**
|
|
58
|
-
* Enables footer content
|
|
59
|
-
*/
|
|
60
57
|
this.footer = false;
|
|
61
|
-
/**
|
|
62
|
-
* Enables footer button for tab deletion
|
|
63
|
-
*/
|
|
64
58
|
this.deleteTab = false;
|
|
65
|
-
/**
|
|
66
|
-
* Activates postMessages as events for actions from the widget
|
|
67
|
-
*/
|
|
68
59
|
this.postMessage = false;
|
|
69
|
-
/**
|
|
70
|
-
* Name of the event emitter by the action button
|
|
71
|
-
*/
|
|
72
60
|
this.eventName = 'helperAccordionAction';
|
|
73
|
-
/**
|
|
74
|
-
* Collapsed
|
|
75
|
-
*/
|
|
76
61
|
this.collapsed = true;
|
|
77
|
-
/**
|
|
78
|
-
* Language
|
|
79
|
-
*/
|
|
80
62
|
this.language = 'en';
|
|
81
|
-
/**
|
|
82
|
-
* Client custom styling via string
|
|
83
|
-
*/
|
|
84
63
|
this.clientStyling = '';
|
|
85
|
-
/**
|
|
86
|
-
* Client custom styling via url content
|
|
87
|
-
*/
|
|
88
64
|
this.clientStylingUrlContent = '';
|
|
65
|
+
this.translationUrl = undefined;
|
|
66
|
+
this.showContent = undefined;
|
|
89
67
|
this.limitStylingAppends = false;
|
|
90
|
-
this.setClientStyling = () => {
|
|
91
|
-
let sheet = document.createElement('style');
|
|
92
|
-
sheet.innerHTML = this.clientStyling;
|
|
93
|
-
this.stylingContainer.prepend(sheet);
|
|
94
|
-
};
|
|
95
|
-
this.setClientStylingURL = () => {
|
|
96
|
-
let cssFile = document.createElement('style');
|
|
97
|
-
setTimeout(() => {
|
|
98
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
99
|
-
this.stylingContainer.prepend(cssFile);
|
|
100
|
-
}, 1);
|
|
101
|
-
};
|
|
102
68
|
}
|
|
103
69
|
// @TODO fix the `any` type :)
|
|
104
70
|
connectedCallback() {
|
|
@@ -146,31 +112,6 @@ const LotteryBullet = class {
|
|
|
146
112
|
constructor(hostRef) {
|
|
147
113
|
registerInstance(this, hostRef);
|
|
148
114
|
this.bulletEvent = createEvent(this, "lotteryBulletSelection", 7);
|
|
149
|
-
/**
|
|
150
|
-
* Value of the bullet
|
|
151
|
-
*/
|
|
152
|
-
this.value = '0';
|
|
153
|
-
/**
|
|
154
|
-
* Marks if the bullet should be selectable
|
|
155
|
-
*/
|
|
156
|
-
this.selectable = true;
|
|
157
|
-
/**
|
|
158
|
-
* Marks if the bullet should be selected
|
|
159
|
-
*/
|
|
160
|
-
this.isSelected = false;
|
|
161
|
-
/**
|
|
162
|
-
* Marks if the number is bonus number.
|
|
163
|
-
*/
|
|
164
|
-
this.isBonus = false;
|
|
165
|
-
/**
|
|
166
|
-
* Client custom styling via string
|
|
167
|
-
*/
|
|
168
|
-
this.clientStyling = '';
|
|
169
|
-
/**
|
|
170
|
-
* Client custom styling via url content
|
|
171
|
-
*/
|
|
172
|
-
this.clientStylingUrlContent = '';
|
|
173
|
-
this.limitStylingAppends = false;
|
|
174
115
|
this.select = () => {
|
|
175
116
|
if (this.selectable) {
|
|
176
117
|
this.isSelected = !this.isSelected;
|
|
@@ -192,6 +133,13 @@ const LotteryBullet = class {
|
|
|
192
133
|
this.stylingContainer.prepend(cssFile);
|
|
193
134
|
}, 1);
|
|
194
135
|
};
|
|
136
|
+
this.value = '0';
|
|
137
|
+
this.selectable = true;
|
|
138
|
+
this.isSelected = false;
|
|
139
|
+
this.isBonus = false;
|
|
140
|
+
this.clientStyling = '';
|
|
141
|
+
this.clientStylingUrlContent = '';
|
|
142
|
+
this.limitStylingAppends = false;
|
|
195
143
|
}
|
|
196
144
|
componentDidRender() {
|
|
197
145
|
// start custom styling area
|
|
@@ -219,88 +167,41 @@ const LotteryGrid = class {
|
|
|
219
167
|
this.gridFilledEvent = createEvent(this, "gridFilled", 7);
|
|
220
168
|
this.gridDirtyEvent = createEvent(this, "gridDirty", 7);
|
|
221
169
|
this.gridClearAllEvent = createEvent(this, "gridClearAllEvent", 7);
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
170
|
+
this.selectedCounter = 0;
|
|
171
|
+
this.setClientStyling = () => {
|
|
172
|
+
let sheet = document.createElement('style');
|
|
173
|
+
sheet.innerHTML = this.clientStyling;
|
|
174
|
+
this.stylingContainer.prepend(sheet);
|
|
175
|
+
};
|
|
176
|
+
this.setClientStylingURL = () => {
|
|
177
|
+
let cssFile = document.createElement('style');
|
|
178
|
+
setTimeout(() => {
|
|
179
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
180
|
+
this.stylingContainer.prepend(cssFile);
|
|
181
|
+
}, 1);
|
|
182
|
+
};
|
|
183
|
+
this.ticketId = undefined;
|
|
225
184
|
this.totalNumbers = 0;
|
|
226
|
-
|
|
227
|
-
* Number of maximum bullets that can be selected
|
|
228
|
-
*/
|
|
185
|
+
this.gameId = undefined;
|
|
229
186
|
this.maximumAllowed = 7;
|
|
230
|
-
/**
|
|
231
|
-
* Minimum allowed of bullets
|
|
232
|
-
*/
|
|
233
187
|
this.minimumAllowed = 3;
|
|
234
|
-
|
|
235
|
-
* Allows the user to select numbers on the grid
|
|
236
|
-
*/
|
|
188
|
+
this.numberRange = undefined;
|
|
237
189
|
this.selectable = true;
|
|
238
|
-
/**
|
|
239
|
-
* Numbers that should be showed as selected on the grid (as a string of those numbers e.g. '1,2,3,4,5,6')
|
|
240
|
-
*/
|
|
241
190
|
this.selectedNumbers = '';
|
|
242
|
-
/**
|
|
243
|
-
* Bonus numbers that should be showed as selected on the grid (as a string of those numbers e.g. '1')
|
|
244
|
-
*/
|
|
245
191
|
this.secondaryNumbers = '';
|
|
246
|
-
/**
|
|
247
|
-
* Show only selected numbers
|
|
248
|
-
*/
|
|
249
192
|
this.displaySelected = false;
|
|
250
|
-
/**
|
|
251
|
-
* Language
|
|
252
|
-
*/
|
|
253
193
|
this.language = 'en';
|
|
254
|
-
|
|
255
|
-
* Personalize grid for ticket
|
|
256
|
-
*/
|
|
194
|
+
this.gridIndex = undefined;
|
|
257
195
|
this.gridType = '';
|
|
258
|
-
/**
|
|
259
|
-
* Client custom styling via string
|
|
260
|
-
*/
|
|
261
196
|
this.clientStyling = '';
|
|
262
|
-
/**
|
|
263
|
-
* Client custom styling via url content
|
|
264
|
-
*/
|
|
265
197
|
this.clientStylingUrlContent = '';
|
|
266
|
-
/**
|
|
267
|
-
* Maximum number of the grid
|
|
268
|
-
*/
|
|
269
198
|
this.highNumber = 47;
|
|
270
|
-
/**
|
|
271
|
-
* Lowest number of the grid
|
|
272
|
-
*/
|
|
273
199
|
this.lowNumber = 1;
|
|
274
|
-
/**
|
|
275
|
-
* Type of selection
|
|
276
|
-
*/
|
|
277
200
|
this.selectionType = 'mainSelection';
|
|
278
|
-
/**
|
|
279
|
-
* Allows partial quickpick or not
|
|
280
|
-
*/
|
|
281
201
|
this.partialQuickpickAvailable = false;
|
|
282
|
-
/**
|
|
283
|
-
* main selection numbers
|
|
284
|
-
*/
|
|
285
202
|
this.numbers = [];
|
|
286
|
-
/**
|
|
287
|
-
* Bonus selection numbers
|
|
288
|
-
*/
|
|
289
203
|
this.bonusNumbers = [];
|
|
290
204
|
this.limitStylingAppends = false;
|
|
291
|
-
this.selectedCounter = 0;
|
|
292
|
-
this.setClientStyling = () => {
|
|
293
|
-
let sheet = document.createElement('style');
|
|
294
|
-
sheet.innerHTML = this.clientStyling;
|
|
295
|
-
this.stylingContainer.prepend(sheet);
|
|
296
|
-
};
|
|
297
|
-
this.setClientStylingURL = () => {
|
|
298
|
-
let cssFile = document.createElement('style');
|
|
299
|
-
setTimeout(() => {
|
|
300
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
301
|
-
this.stylingContainer.prepend(cssFile);
|
|
302
|
-
}, 1);
|
|
303
|
-
};
|
|
304
205
|
}
|
|
305
206
|
connectedCallback() {
|
|
306
207
|
let selected = [];
|
|
@@ -560,55 +461,13 @@ const getTranslations$1 = (data) => {
|
|
|
560
461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
561
462
|
*/
|
|
562
463
|
|
|
563
|
-
|
|
564
|
-
window.Vaadin.featureFlags ||= {};
|
|
565
|
-
|
|
566
|
-
function dashToCamelCase$1(dash) {
|
|
567
|
-
return dash.replace(/-[a-z]/gu, (m) => m[1].toUpperCase());
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
const experimentalMap = {};
|
|
571
|
-
|
|
572
|
-
function defineCustomElement(CustomElement, version = '24.6.5') {
|
|
464
|
+
function defineCustomElement(CustomElement, version = '24.5.10') {
|
|
573
465
|
Object.defineProperty(CustomElement, 'version', {
|
|
574
466
|
get() {
|
|
575
467
|
return version;
|
|
576
468
|
},
|
|
577
469
|
});
|
|
578
470
|
|
|
579
|
-
if (CustomElement.experimental) {
|
|
580
|
-
const featureFlagKey =
|
|
581
|
-
typeof CustomElement.experimental === 'string'
|
|
582
|
-
? CustomElement.experimental
|
|
583
|
-
: `${dashToCamelCase$1(CustomElement.is.split('-').slice(1).join('-'))}Component`;
|
|
584
|
-
|
|
585
|
-
if (!window.Vaadin.featureFlags[featureFlagKey] && !experimentalMap[featureFlagKey]) {
|
|
586
|
-
// Add setter to define experimental component when it's set to true
|
|
587
|
-
experimentalMap[featureFlagKey] = new Set();
|
|
588
|
-
experimentalMap[featureFlagKey].add(CustomElement);
|
|
589
|
-
|
|
590
|
-
Object.defineProperty(window.Vaadin.featureFlags, featureFlagKey, {
|
|
591
|
-
get() {
|
|
592
|
-
return experimentalMap[featureFlagKey].size === 0;
|
|
593
|
-
},
|
|
594
|
-
set(value) {
|
|
595
|
-
if (!!value && experimentalMap[featureFlagKey].size > 0) {
|
|
596
|
-
experimentalMap[featureFlagKey].forEach((elementClass) => {
|
|
597
|
-
customElements.define(elementClass.is, elementClass);
|
|
598
|
-
});
|
|
599
|
-
experimentalMap[featureFlagKey].clear();
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
});
|
|
603
|
-
|
|
604
|
-
return;
|
|
605
|
-
} else if (experimentalMap[featureFlagKey]) {
|
|
606
|
-
// Allow to register multiple components with single flag
|
|
607
|
-
experimentalMap[featureFlagKey].add(CustomElement);
|
|
608
|
-
return;
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
|
|
612
471
|
const defined = customElements.get(CustomElement.is);
|
|
613
472
|
if (!defined) {
|
|
614
473
|
customElements.define(CustomElement.is, CustomElement);
|
|
@@ -1806,7 +1665,7 @@ registerStyles(
|
|
|
1806
1665
|
const fontIcons = i$3`
|
|
1807
1666
|
@font-face {
|
|
1808
1667
|
font-family: 'lumo-icons';
|
|
1809
|
-
src: url(data:application/font-woff;charset=utf-8;base64,
|
|
1668
|
+
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYt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gDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
1810
1669
|
format('woff');
|
|
1811
1670
|
font-weight: normal;
|
|
1812
1671
|
font-style: normal;
|
|
@@ -1836,27 +1695,25 @@ const fontIcons = i$3`
|
|
|
1836
1695
|
--lumo-icons-cog: '\\ea15';
|
|
1837
1696
|
--lumo-icons-cross: '\\ea16';
|
|
1838
1697
|
--lumo-icons-download: '\\ea17';
|
|
1839
|
-
--lumo-icons-
|
|
1840
|
-
--lumo-icons-
|
|
1841
|
-
--lumo-icons-
|
|
1842
|
-
--lumo-icons-
|
|
1843
|
-
--lumo-icons-eye: '\\ea1c';
|
|
1844
|
-
--lumo-icons-
|
|
1845
|
-
--lumo-icons-
|
|
1846
|
-
--lumo-icons-
|
|
1847
|
-
--lumo-icons-
|
|
1848
|
-
--lumo-icons-
|
|
1849
|
-
--lumo-icons-
|
|
1850
|
-
--lumo-icons-
|
|
1851
|
-
--lumo-icons-
|
|
1852
|
-
--lumo-icons-
|
|
1853
|
-
--lumo-icons-
|
|
1854
|
-
--lumo-icons-
|
|
1855
|
-
--lumo-icons-
|
|
1856
|
-
--lumo-icons-
|
|
1857
|
-
--lumo-icons-
|
|
1858
|
-
--lumo-icons-upload: '\\ea2b';
|
|
1859
|
-
--lumo-icons-user: '\\ea2c';
|
|
1698
|
+
--lumo-icons-dropdown: '\\ea18';
|
|
1699
|
+
--lumo-icons-edit: '\\ea19';
|
|
1700
|
+
--lumo-icons-error: '\\ea1a';
|
|
1701
|
+
--lumo-icons-eye: '\\ea1b';
|
|
1702
|
+
--lumo-icons-eye-disabled: '\\ea1c';
|
|
1703
|
+
--lumo-icons-menu: '\\ea1d';
|
|
1704
|
+
--lumo-icons-minus: '\\ea1e';
|
|
1705
|
+
--lumo-icons-ordered-list: '\\ea1f';
|
|
1706
|
+
--lumo-icons-phone: '\\ea20';
|
|
1707
|
+
--lumo-icons-photo: '\\ea21';
|
|
1708
|
+
--lumo-icons-play: '\\ea22';
|
|
1709
|
+
--lumo-icons-plus: '\\ea23';
|
|
1710
|
+
--lumo-icons-redo: '\\ea24';
|
|
1711
|
+
--lumo-icons-reload: '\\ea25';
|
|
1712
|
+
--lumo-icons-search: '\\ea26';
|
|
1713
|
+
--lumo-icons-undo: '\\ea27';
|
|
1714
|
+
--lumo-icons-unordered-list: '\\ea28';
|
|
1715
|
+
--lumo-icons-upload: '\\ea29';
|
|
1716
|
+
--lumo-icons-user: '\\ea2a';
|
|
1860
1717
|
}
|
|
1861
1718
|
`;
|
|
1862
1719
|
|
|
@@ -11041,7 +10898,6 @@ const DisabledMixin = dedupingMixin(
|
|
|
11041
10898
|
value: false,
|
|
11042
10899
|
observer: '_disabledChanged',
|
|
11043
10900
|
reflectToAttribute: true,
|
|
11044
|
-
sync: true,
|
|
11045
10901
|
},
|
|
11046
10902
|
};
|
|
11047
10903
|
}
|
|
@@ -11676,7 +11532,6 @@ const ItemMixin = (superClass) =>
|
|
|
11676
11532
|
value: false,
|
|
11677
11533
|
reflectToAttribute: true,
|
|
11678
11534
|
observer: '_selectedChanged',
|
|
11679
|
-
sync: true,
|
|
11680
11535
|
},
|
|
11681
11536
|
|
|
11682
11537
|
/** @private */
|
|
@@ -12481,7 +12336,6 @@ const ListMixin = (superClass) =>
|
|
|
12481
12336
|
type: Number,
|
|
12482
12337
|
reflectToAttribute: true,
|
|
12483
12338
|
notify: true,
|
|
12484
|
-
sync: true,
|
|
12485
12339
|
},
|
|
12486
12340
|
|
|
12487
12341
|
/**
|
|
@@ -13879,7 +13733,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13879
13733
|
notify: true,
|
|
13880
13734
|
observer: '_openedChanged',
|
|
13881
13735
|
reflectToAttribute: true,
|
|
13882
|
-
sync: true,
|
|
13883
13736
|
},
|
|
13884
13737
|
|
|
13885
13738
|
/**
|
|
@@ -13888,7 +13741,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13888
13741
|
*/
|
|
13889
13742
|
owner: {
|
|
13890
13743
|
type: Object,
|
|
13891
|
-
sync: true,
|
|
13892
13744
|
},
|
|
13893
13745
|
|
|
13894
13746
|
/**
|
|
@@ -13896,7 +13748,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13896
13748
|
*/
|
|
13897
13749
|
model: {
|
|
13898
13750
|
type: Object,
|
|
13899
|
-
sync: true,
|
|
13900
13751
|
},
|
|
13901
13752
|
|
|
13902
13753
|
/**
|
|
@@ -13910,7 +13761,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13910
13761
|
*/
|
|
13911
13762
|
renderer: {
|
|
13912
13763
|
type: Object,
|
|
13913
|
-
sync: true,
|
|
13914
13764
|
},
|
|
13915
13765
|
|
|
13916
13766
|
/**
|
|
@@ -13923,7 +13773,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13923
13773
|
value: false,
|
|
13924
13774
|
reflectToAttribute: true,
|
|
13925
13775
|
observer: '_modelessChanged',
|
|
13926
|
-
sync: true,
|
|
13927
13776
|
},
|
|
13928
13777
|
|
|
13929
13778
|
/**
|
|
@@ -13935,7 +13784,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13935
13784
|
type: Boolean,
|
|
13936
13785
|
reflectToAttribute: true,
|
|
13937
13786
|
observer: '_hiddenChanged',
|
|
13938
|
-
sync: true,
|
|
13939
13787
|
},
|
|
13940
13788
|
|
|
13941
13789
|
/**
|
|
@@ -13946,7 +13794,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13946
13794
|
type: Boolean,
|
|
13947
13795
|
value: false,
|
|
13948
13796
|
reflectToAttribute: true,
|
|
13949
|
-
sync: true,
|
|
13950
13797
|
},
|
|
13951
13798
|
};
|
|
13952
13799
|
}
|
|
@@ -17814,22 +17661,6 @@ const ValidateMixin = dedupingMixin(
|
|
|
17814
17661
|
value: false,
|
|
17815
17662
|
},
|
|
17816
17663
|
|
|
17817
|
-
/**
|
|
17818
|
-
* Set to true to enable manual validation mode. This mode disables automatic
|
|
17819
|
-
* constraint validation, allowing you to control the validation process yourself.
|
|
17820
|
-
* You can still trigger constraint validation manually with the `validate()` method
|
|
17821
|
-
* or use `checkValidity()` to assess the component's validity without affecting
|
|
17822
|
-
* the invalid state. In manual validation mode, you can also manipulate
|
|
17823
|
-
* the `invalid` property directly through your application logic without conflicts
|
|
17824
|
-
* with the component's internal validation.
|
|
17825
|
-
*
|
|
17826
|
-
* @attr {boolean} manual-validation
|
|
17827
|
-
*/
|
|
17828
|
-
manualValidation: {
|
|
17829
|
-
type: Boolean,
|
|
17830
|
-
value: false,
|
|
17831
|
-
},
|
|
17832
|
-
|
|
17833
17664
|
/**
|
|
17834
17665
|
* Specifies that the user must fill in a value.
|
|
17835
17666
|
*/
|
|
@@ -17884,14 +17715,6 @@ const ValidateMixin = dedupingMixin(
|
|
|
17884
17715
|
return true;
|
|
17885
17716
|
}
|
|
17886
17717
|
|
|
17887
|
-
/** @protected */
|
|
17888
|
-
_requestValidation() {
|
|
17889
|
-
if (!this.manualValidation) {
|
|
17890
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
17891
|
-
this.validate();
|
|
17892
|
-
}
|
|
17893
|
-
}
|
|
17894
|
-
|
|
17895
17718
|
/**
|
|
17896
17719
|
* Fired whenever the field is validated.
|
|
17897
17720
|
*
|
|
@@ -18356,7 +18179,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18356
18179
|
super._requiredChanged(required);
|
|
18357
18180
|
|
|
18358
18181
|
if (required === false) {
|
|
18359
|
-
this.
|
|
18182
|
+
this.validate();
|
|
18360
18183
|
}
|
|
18361
18184
|
}
|
|
18362
18185
|
|
|
@@ -18420,7 +18243,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18420
18243
|
// a change event is scheduled, as validation will be
|
|
18421
18244
|
// triggered by `__dispatchChange()` in that case.
|
|
18422
18245
|
if (oldValue !== undefined && !this.__dispatchChangePending) {
|
|
18423
|
-
this.
|
|
18246
|
+
this.validate();
|
|
18424
18247
|
}
|
|
18425
18248
|
}
|
|
18426
18249
|
|
|
@@ -18518,7 +18341,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18518
18341
|
// will be triggered by `__dispatchChange()` in that case.
|
|
18519
18342
|
// Also, skip validation when closed on Escape or Tab keys.
|
|
18520
18343
|
if (!this.__dispatchChangePending && !this._keyboardActive) {
|
|
18521
|
-
this.
|
|
18344
|
+
this.validate();
|
|
18522
18345
|
}
|
|
18523
18346
|
}
|
|
18524
18347
|
|
|
@@ -18591,11 +18414,6 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18591
18414
|
*/
|
|
18592
18415
|
__appendValueItemElement(itemElement, parent) {
|
|
18593
18416
|
parent.appendChild(itemElement);
|
|
18594
|
-
// Trigger observer that sets aria-selected attribute
|
|
18595
|
-
// so that we can then synchronously remove it below.
|
|
18596
|
-
if (itemElement.performUpdate) {
|
|
18597
|
-
itemElement.performUpdate();
|
|
18598
|
-
}
|
|
18599
18417
|
itemElement.removeAttribute('tabindex');
|
|
18600
18418
|
itemElement.removeAttribute('aria-selected');
|
|
18601
18419
|
itemElement.removeAttribute('role');
|
|
@@ -18731,7 +18549,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18731
18549
|
// Do not validate when focusout is caused by document
|
|
18732
18550
|
// losing focus, which happens on browser tab switch.
|
|
18733
18551
|
if (!focused && document.hasFocus()) {
|
|
18734
|
-
this.
|
|
18552
|
+
this.validate();
|
|
18735
18553
|
}
|
|
18736
18554
|
}
|
|
18737
18555
|
|
|
@@ -18776,7 +18594,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18776
18594
|
await this.updateComplete;
|
|
18777
18595
|
}
|
|
18778
18596
|
|
|
18779
|
-
this.
|
|
18597
|
+
this.validate();
|
|
18780
18598
|
this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
|
|
18781
18599
|
this.__dispatchChangePending = false;
|
|
18782
18600
|
}
|
|
@@ -19022,34 +18840,29 @@ const LotteryTicket = class {
|
|
|
19022
18840
|
this.drawMultiplierChange = createEvent(this, "drawMultiplierChange", 7);
|
|
19023
18841
|
this.lineMultiplierChange = createEvent(this, "lineMultiplierChange", 7);
|
|
19024
18842
|
this.betTypeChange = createEvent(this, "betTypeChange", 7);
|
|
19025
|
-
|
|
19026
|
-
|
|
19027
|
-
|
|
18843
|
+
this.setClientStyling = () => {
|
|
18844
|
+
let sheet = document.createElement('style');
|
|
18845
|
+
sheet.innerHTML = this.clientStyling;
|
|
18846
|
+
this.stylingContainer.prepend(sheet);
|
|
18847
|
+
};
|
|
18848
|
+
this.setClientStylingURL = () => {
|
|
18849
|
+
let cssFile = document.createElement('style');
|
|
18850
|
+
setTimeout(() => {
|
|
18851
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
18852
|
+
this.stylingContainer.prepend(cssFile);
|
|
18853
|
+
}, 1);
|
|
18854
|
+
};
|
|
18855
|
+
this.endpoint = undefined;
|
|
18856
|
+
this.gameId = undefined;
|
|
19028
18857
|
this.numberOfGrids = 1;
|
|
19029
|
-
/**
|
|
19030
|
-
* Option to have the ticket registered for multiple draws
|
|
19031
|
-
*/
|
|
19032
18858
|
this.multipleDraws = true;
|
|
19033
|
-
|
|
19034
|
-
* Shows the reset button
|
|
19035
|
-
*/
|
|
18859
|
+
this.ticketId = undefined;
|
|
19036
18860
|
this.resetButton = false;
|
|
19037
|
-
/**
|
|
19038
|
-
* Shows the auto-pick button
|
|
19039
|
-
*/
|
|
19040
18861
|
this.autoPick = false;
|
|
19041
|
-
/**
|
|
19042
|
-
* Language
|
|
19043
|
-
*/
|
|
19044
18862
|
this.language = 'en';
|
|
19045
|
-
/**
|
|
19046
|
-
* Client custom styling via string
|
|
19047
|
-
*/
|
|
19048
18863
|
this.clientStyling = '';
|
|
19049
|
-
/**
|
|
19050
|
-
* Client custom styling via url content
|
|
19051
|
-
*/
|
|
19052
18864
|
this.clientStylingUrlContent = '';
|
|
18865
|
+
this.translationUrl = undefined;
|
|
19053
18866
|
this.isLoading = true;
|
|
19054
18867
|
this.hasErrors = false;
|
|
19055
18868
|
this.ticketDone = [];
|
|
@@ -19075,18 +18888,6 @@ const LotteryTicket = class {
|
|
|
19075
18888
|
this.secondaryMaximumAllowed = 1;
|
|
19076
18889
|
this.minimumAllowed = 6;
|
|
19077
18890
|
this.secondaryMinimumAllowed = 1;
|
|
19078
|
-
this.setClientStyling = () => {
|
|
19079
|
-
let sheet = document.createElement('style');
|
|
19080
|
-
sheet.innerHTML = this.clientStyling;
|
|
19081
|
-
this.stylingContainer.prepend(sheet);
|
|
19082
|
-
};
|
|
19083
|
-
this.setClientStylingURL = () => {
|
|
19084
|
-
let cssFile = document.createElement('style');
|
|
19085
|
-
setTimeout(() => {
|
|
19086
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
19087
|
-
this.stylingContainer.prepend(cssFile);
|
|
19088
|
-
}, 1);
|
|
19089
|
-
};
|
|
19090
18891
|
}
|
|
19091
18892
|
handleLineMultiplierChange(newValue) {
|
|
19092
18893
|
this.grids = Array.from({ length: newValue }, (_, i) => i + 1);
|
|
@@ -19394,71 +19195,35 @@ const LotteryTicketController = class {
|
|
|
19394
19195
|
constructor(hostRef) {
|
|
19395
19196
|
registerInstance(this, hostRef);
|
|
19396
19197
|
this.deleteTicketEvent = createEvent(this, "deleteTicket", 7);
|
|
19397
|
-
|
|
19398
|
-
|
|
19399
|
-
|
|
19198
|
+
this.setClientStyling = () => {
|
|
19199
|
+
let sheet = document.createElement('style');
|
|
19200
|
+
sheet.innerHTML = this.clientStyling;
|
|
19201
|
+
this.stylingContainer.prepend(sheet);
|
|
19202
|
+
};
|
|
19203
|
+
this.setClientStylingURL = () => {
|
|
19204
|
+
let cssFile = document.createElement('style');
|
|
19205
|
+
setTimeout(() => {
|
|
19206
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
19207
|
+
this.stylingContainer.prepend(cssFile);
|
|
19208
|
+
}, 1);
|
|
19209
|
+
};
|
|
19400
19210
|
this.endpoint = '';
|
|
19401
|
-
/**
|
|
19402
|
-
* Ticket number
|
|
19403
|
-
*/
|
|
19404
19211
|
this.ticketId = 1;
|
|
19405
|
-
|
|
19406
|
-
|
|
19407
|
-
*/
|
|
19212
|
+
this.ticketDescription = undefined;
|
|
19213
|
+
this.gameId = undefined;
|
|
19408
19214
|
this.postMessage = false;
|
|
19409
|
-
/**
|
|
19410
|
-
* Name of the event emitter by the action button
|
|
19411
|
-
*/
|
|
19412
19215
|
this.eventName = 'deleteTicketAction';
|
|
19413
|
-
/**
|
|
19414
|
-
* Collapsed
|
|
19415
|
-
*/
|
|
19416
19216
|
this.collapsed = true;
|
|
19417
|
-
/**
|
|
19418
|
-
* Number of grids?
|
|
19419
|
-
*/
|
|
19420
19217
|
this.numberOfGrids = 1;
|
|
19421
|
-
/**
|
|
19422
|
-
* This toggles if the last ticket added should be expanded or not
|
|
19423
|
-
*/
|
|
19424
19218
|
this.last = false;
|
|
19425
|
-
/**
|
|
19426
|
-
* Language
|
|
19427
|
-
*/
|
|
19428
19219
|
this.language = 'en';
|
|
19429
|
-
/**
|
|
19430
|
-
* Shows the auto-pick button
|
|
19431
|
-
*/
|
|
19432
19220
|
this.autoPick = false;
|
|
19433
|
-
/**
|
|
19434
|
-
* Shows the reset button
|
|
19435
|
-
*/
|
|
19436
19221
|
this.resetButton = false;
|
|
19437
|
-
/**
|
|
19438
|
-
* Number of ticket controllers
|
|
19439
|
-
*/
|
|
19440
19222
|
this.totalControllers = 1;
|
|
19441
|
-
/**
|
|
19442
|
-
* Client custom styling via string
|
|
19443
|
-
*/
|
|
19444
19223
|
this.clientStyling = '';
|
|
19445
|
-
/**
|
|
19446
|
-
* Client custom styling via url content
|
|
19447
|
-
*/
|
|
19448
19224
|
this.clientStylingUrlContent = '';
|
|
19225
|
+
this.translationUrl = undefined;
|
|
19449
19226
|
this.limitStylingAppends = false;
|
|
19450
|
-
this.setClientStyling = () => {
|
|
19451
|
-
let sheet = document.createElement('style');
|
|
19452
|
-
sheet.innerHTML = this.clientStyling;
|
|
19453
|
-
this.stylingContainer.prepend(sheet);
|
|
19454
|
-
};
|
|
19455
|
-
this.setClientStylingURL = () => {
|
|
19456
|
-
let cssFile = document.createElement('style');
|
|
19457
|
-
setTimeout(() => {
|
|
19458
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
19459
|
-
this.stylingContainer.prepend(cssFile);
|
|
19460
|
-
}, 1);
|
|
19461
|
-
};
|
|
19462
19227
|
}
|
|
19463
19228
|
// @TODO fix the `any` type
|
|
19464
19229
|
helperAccordionActionHandler() {
|