@everymatrix/lottery-ticket-controller 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_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
|
@@ -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-1fc68b7c.js');
|
|
6
6
|
|
|
7
7
|
const DEFAULT_LANGUAGE$2 = 'en';
|
|
8
8
|
const SUPPORTED_LANGUAGES$2 = ['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() {
|
|
@@ -150,31 +116,6 @@ const LotteryBullet = class {
|
|
|
150
116
|
constructor(hostRef) {
|
|
151
117
|
index.registerInstance(this, hostRef);
|
|
152
118
|
this.bulletEvent = index.createEvent(this, "lotteryBulletSelection", 7);
|
|
153
|
-
/**
|
|
154
|
-
* Value of the bullet
|
|
155
|
-
*/
|
|
156
|
-
this.value = '0';
|
|
157
|
-
/**
|
|
158
|
-
* Marks if the bullet should be selectable
|
|
159
|
-
*/
|
|
160
|
-
this.selectable = true;
|
|
161
|
-
/**
|
|
162
|
-
* Marks if the bullet should be selected
|
|
163
|
-
*/
|
|
164
|
-
this.isSelected = false;
|
|
165
|
-
/**
|
|
166
|
-
* Marks if the number is bonus number.
|
|
167
|
-
*/
|
|
168
|
-
this.isBonus = false;
|
|
169
|
-
/**
|
|
170
|
-
* Client custom styling via string
|
|
171
|
-
*/
|
|
172
|
-
this.clientStyling = '';
|
|
173
|
-
/**
|
|
174
|
-
* Client custom styling via url content
|
|
175
|
-
*/
|
|
176
|
-
this.clientStylingUrlContent = '';
|
|
177
|
-
this.limitStylingAppends = false;
|
|
178
119
|
this.select = () => {
|
|
179
120
|
if (this.selectable) {
|
|
180
121
|
this.isSelected = !this.isSelected;
|
|
@@ -196,6 +137,13 @@ const LotteryBullet = class {
|
|
|
196
137
|
this.stylingContainer.prepend(cssFile);
|
|
197
138
|
}, 1);
|
|
198
139
|
};
|
|
140
|
+
this.value = '0';
|
|
141
|
+
this.selectable = true;
|
|
142
|
+
this.isSelected = false;
|
|
143
|
+
this.isBonus = false;
|
|
144
|
+
this.clientStyling = '';
|
|
145
|
+
this.clientStylingUrlContent = '';
|
|
146
|
+
this.limitStylingAppends = false;
|
|
199
147
|
}
|
|
200
148
|
componentDidRender() {
|
|
201
149
|
// start custom styling area
|
|
@@ -223,88 +171,41 @@ const LotteryGrid = class {
|
|
|
223
171
|
this.gridFilledEvent = index.createEvent(this, "gridFilled", 7);
|
|
224
172
|
this.gridDirtyEvent = index.createEvent(this, "gridDirty", 7);
|
|
225
173
|
this.gridClearAllEvent = index.createEvent(this, "gridClearAllEvent", 7);
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
174
|
+
this.selectedCounter = 0;
|
|
175
|
+
this.setClientStyling = () => {
|
|
176
|
+
let sheet = document.createElement('style');
|
|
177
|
+
sheet.innerHTML = this.clientStyling;
|
|
178
|
+
this.stylingContainer.prepend(sheet);
|
|
179
|
+
};
|
|
180
|
+
this.setClientStylingURL = () => {
|
|
181
|
+
let cssFile = document.createElement('style');
|
|
182
|
+
setTimeout(() => {
|
|
183
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
184
|
+
this.stylingContainer.prepend(cssFile);
|
|
185
|
+
}, 1);
|
|
186
|
+
};
|
|
187
|
+
this.ticketId = undefined;
|
|
229
188
|
this.totalNumbers = 0;
|
|
230
|
-
|
|
231
|
-
* Number of maximum bullets that can be selected
|
|
232
|
-
*/
|
|
189
|
+
this.gameId = undefined;
|
|
233
190
|
this.maximumAllowed = 7;
|
|
234
|
-
/**
|
|
235
|
-
* Minimum allowed of bullets
|
|
236
|
-
*/
|
|
237
191
|
this.minimumAllowed = 3;
|
|
238
|
-
|
|
239
|
-
* Allows the user to select numbers on the grid
|
|
240
|
-
*/
|
|
192
|
+
this.numberRange = undefined;
|
|
241
193
|
this.selectable = true;
|
|
242
|
-
/**
|
|
243
|
-
* Numbers that should be showed as selected on the grid (as a string of those numbers e.g. '1,2,3,4,5,6')
|
|
244
|
-
*/
|
|
245
194
|
this.selectedNumbers = '';
|
|
246
|
-
/**
|
|
247
|
-
* Bonus numbers that should be showed as selected on the grid (as a string of those numbers e.g. '1')
|
|
248
|
-
*/
|
|
249
195
|
this.secondaryNumbers = '';
|
|
250
|
-
/**
|
|
251
|
-
* Show only selected numbers
|
|
252
|
-
*/
|
|
253
196
|
this.displaySelected = false;
|
|
254
|
-
/**
|
|
255
|
-
* Language
|
|
256
|
-
*/
|
|
257
197
|
this.language = 'en';
|
|
258
|
-
|
|
259
|
-
* Personalize grid for ticket
|
|
260
|
-
*/
|
|
198
|
+
this.gridIndex = undefined;
|
|
261
199
|
this.gridType = '';
|
|
262
|
-
/**
|
|
263
|
-
* Client custom styling via string
|
|
264
|
-
*/
|
|
265
200
|
this.clientStyling = '';
|
|
266
|
-
/**
|
|
267
|
-
* Client custom styling via url content
|
|
268
|
-
*/
|
|
269
201
|
this.clientStylingUrlContent = '';
|
|
270
|
-
/**
|
|
271
|
-
* Maximum number of the grid
|
|
272
|
-
*/
|
|
273
202
|
this.highNumber = 47;
|
|
274
|
-
/**
|
|
275
|
-
* Lowest number of the grid
|
|
276
|
-
*/
|
|
277
203
|
this.lowNumber = 1;
|
|
278
|
-
/**
|
|
279
|
-
* Type of selection
|
|
280
|
-
*/
|
|
281
204
|
this.selectionType = 'mainSelection';
|
|
282
|
-
/**
|
|
283
|
-
* Allows partial quickpick or not
|
|
284
|
-
*/
|
|
285
205
|
this.partialQuickpickAvailable = false;
|
|
286
|
-
/**
|
|
287
|
-
* main selection numbers
|
|
288
|
-
*/
|
|
289
206
|
this.numbers = [];
|
|
290
|
-
/**
|
|
291
|
-
* Bonus selection numbers
|
|
292
|
-
*/
|
|
293
207
|
this.bonusNumbers = [];
|
|
294
208
|
this.limitStylingAppends = false;
|
|
295
|
-
this.selectedCounter = 0;
|
|
296
|
-
this.setClientStyling = () => {
|
|
297
|
-
let sheet = document.createElement('style');
|
|
298
|
-
sheet.innerHTML = this.clientStyling;
|
|
299
|
-
this.stylingContainer.prepend(sheet);
|
|
300
|
-
};
|
|
301
|
-
this.setClientStylingURL = () => {
|
|
302
|
-
let cssFile = document.createElement('style');
|
|
303
|
-
setTimeout(() => {
|
|
304
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
305
|
-
this.stylingContainer.prepend(cssFile);
|
|
306
|
-
}, 1);
|
|
307
|
-
};
|
|
308
209
|
}
|
|
309
210
|
connectedCallback() {
|
|
310
211
|
let selected = [];
|
|
@@ -564,55 +465,13 @@ const getTranslations$1 = (data) => {
|
|
|
564
465
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
565
466
|
*/
|
|
566
467
|
|
|
567
|
-
|
|
568
|
-
window.Vaadin.featureFlags ||= {};
|
|
569
|
-
|
|
570
|
-
function dashToCamelCase$1(dash) {
|
|
571
|
-
return dash.replace(/-[a-z]/gu, (m) => m[1].toUpperCase());
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
const experimentalMap = {};
|
|
575
|
-
|
|
576
|
-
function defineCustomElement(CustomElement, version = '24.6.5') {
|
|
468
|
+
function defineCustomElement(CustomElement, version = '24.5.10') {
|
|
577
469
|
Object.defineProperty(CustomElement, 'version', {
|
|
578
470
|
get() {
|
|
579
471
|
return version;
|
|
580
472
|
},
|
|
581
473
|
});
|
|
582
474
|
|
|
583
|
-
if (CustomElement.experimental) {
|
|
584
|
-
const featureFlagKey =
|
|
585
|
-
typeof CustomElement.experimental === 'string'
|
|
586
|
-
? CustomElement.experimental
|
|
587
|
-
: `${dashToCamelCase$1(CustomElement.is.split('-').slice(1).join('-'))}Component`;
|
|
588
|
-
|
|
589
|
-
if (!window.Vaadin.featureFlags[featureFlagKey] && !experimentalMap[featureFlagKey]) {
|
|
590
|
-
// Add setter to define experimental component when it's set to true
|
|
591
|
-
experimentalMap[featureFlagKey] = new Set();
|
|
592
|
-
experimentalMap[featureFlagKey].add(CustomElement);
|
|
593
|
-
|
|
594
|
-
Object.defineProperty(window.Vaadin.featureFlags, featureFlagKey, {
|
|
595
|
-
get() {
|
|
596
|
-
return experimentalMap[featureFlagKey].size === 0;
|
|
597
|
-
},
|
|
598
|
-
set(value) {
|
|
599
|
-
if (!!value && experimentalMap[featureFlagKey].size > 0) {
|
|
600
|
-
experimentalMap[featureFlagKey].forEach((elementClass) => {
|
|
601
|
-
customElements.define(elementClass.is, elementClass);
|
|
602
|
-
});
|
|
603
|
-
experimentalMap[featureFlagKey].clear();
|
|
604
|
-
}
|
|
605
|
-
},
|
|
606
|
-
});
|
|
607
|
-
|
|
608
|
-
return;
|
|
609
|
-
} else if (experimentalMap[featureFlagKey]) {
|
|
610
|
-
// Allow to register multiple components with single flag
|
|
611
|
-
experimentalMap[featureFlagKey].add(CustomElement);
|
|
612
|
-
return;
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
|
|
616
475
|
const defined = customElements.get(CustomElement.is);
|
|
617
476
|
if (!defined) {
|
|
618
477
|
customElements.define(CustomElement.is, CustomElement);
|
|
@@ -1810,7 +1669,7 @@ registerStyles(
|
|
|
1810
1669
|
const fontIcons = i$3`
|
|
1811
1670
|
@font-face {
|
|
1812
1671
|
font-family: 'lumo-icons';
|
|
1813
|
-
src: url(data:application/font-woff;charset=utf-8;base64,
|
|
1672
|
+
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMAB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HicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
1814
1673
|
format('woff');
|
|
1815
1674
|
font-weight: normal;
|
|
1816
1675
|
font-style: normal;
|
|
@@ -1840,27 +1699,25 @@ const fontIcons = i$3`
|
|
|
1840
1699
|
--lumo-icons-cog: '\\ea15';
|
|
1841
1700
|
--lumo-icons-cross: '\\ea16';
|
|
1842
1701
|
--lumo-icons-download: '\\ea17';
|
|
1843
|
-
--lumo-icons-
|
|
1844
|
-
--lumo-icons-
|
|
1845
|
-
--lumo-icons-
|
|
1846
|
-
--lumo-icons-
|
|
1847
|
-
--lumo-icons-eye: '\\ea1c';
|
|
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-
|
|
1859
|
-
--lumo-icons-
|
|
1860
|
-
--lumo-icons-
|
|
1861
|
-
--lumo-icons-
|
|
1862
|
-
--lumo-icons-upload: '\\ea2b';
|
|
1863
|
-
--lumo-icons-user: '\\ea2c';
|
|
1702
|
+
--lumo-icons-dropdown: '\\ea18';
|
|
1703
|
+
--lumo-icons-edit: '\\ea19';
|
|
1704
|
+
--lumo-icons-error: '\\ea1a';
|
|
1705
|
+
--lumo-icons-eye: '\\ea1b';
|
|
1706
|
+
--lumo-icons-eye-disabled: '\\ea1c';
|
|
1707
|
+
--lumo-icons-menu: '\\ea1d';
|
|
1708
|
+
--lumo-icons-minus: '\\ea1e';
|
|
1709
|
+
--lumo-icons-ordered-list: '\\ea1f';
|
|
1710
|
+
--lumo-icons-phone: '\\ea20';
|
|
1711
|
+
--lumo-icons-photo: '\\ea21';
|
|
1712
|
+
--lumo-icons-play: '\\ea22';
|
|
1713
|
+
--lumo-icons-plus: '\\ea23';
|
|
1714
|
+
--lumo-icons-redo: '\\ea24';
|
|
1715
|
+
--lumo-icons-reload: '\\ea25';
|
|
1716
|
+
--lumo-icons-search: '\\ea26';
|
|
1717
|
+
--lumo-icons-undo: '\\ea27';
|
|
1718
|
+
--lumo-icons-unordered-list: '\\ea28';
|
|
1719
|
+
--lumo-icons-upload: '\\ea29';
|
|
1720
|
+
--lumo-icons-user: '\\ea2a';
|
|
1864
1721
|
}
|
|
1865
1722
|
`;
|
|
1866
1723
|
|
|
@@ -11045,7 +10902,6 @@ const DisabledMixin = dedupingMixin(
|
|
|
11045
10902
|
value: false,
|
|
11046
10903
|
observer: '_disabledChanged',
|
|
11047
10904
|
reflectToAttribute: true,
|
|
11048
|
-
sync: true,
|
|
11049
10905
|
},
|
|
11050
10906
|
};
|
|
11051
10907
|
}
|
|
@@ -11680,7 +11536,6 @@ const ItemMixin = (superClass) =>
|
|
|
11680
11536
|
value: false,
|
|
11681
11537
|
reflectToAttribute: true,
|
|
11682
11538
|
observer: '_selectedChanged',
|
|
11683
|
-
sync: true,
|
|
11684
11539
|
},
|
|
11685
11540
|
|
|
11686
11541
|
/** @private */
|
|
@@ -12485,7 +12340,6 @@ const ListMixin = (superClass) =>
|
|
|
12485
12340
|
type: Number,
|
|
12486
12341
|
reflectToAttribute: true,
|
|
12487
12342
|
notify: true,
|
|
12488
|
-
sync: true,
|
|
12489
12343
|
},
|
|
12490
12344
|
|
|
12491
12345
|
/**
|
|
@@ -13883,7 +13737,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13883
13737
|
notify: true,
|
|
13884
13738
|
observer: '_openedChanged',
|
|
13885
13739
|
reflectToAttribute: true,
|
|
13886
|
-
sync: true,
|
|
13887
13740
|
},
|
|
13888
13741
|
|
|
13889
13742
|
/**
|
|
@@ -13892,7 +13745,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13892
13745
|
*/
|
|
13893
13746
|
owner: {
|
|
13894
13747
|
type: Object,
|
|
13895
|
-
sync: true,
|
|
13896
13748
|
},
|
|
13897
13749
|
|
|
13898
13750
|
/**
|
|
@@ -13900,7 +13752,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13900
13752
|
*/
|
|
13901
13753
|
model: {
|
|
13902
13754
|
type: Object,
|
|
13903
|
-
sync: true,
|
|
13904
13755
|
},
|
|
13905
13756
|
|
|
13906
13757
|
/**
|
|
@@ -13914,7 +13765,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13914
13765
|
*/
|
|
13915
13766
|
renderer: {
|
|
13916
13767
|
type: Object,
|
|
13917
|
-
sync: true,
|
|
13918
13768
|
},
|
|
13919
13769
|
|
|
13920
13770
|
/**
|
|
@@ -13927,7 +13777,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13927
13777
|
value: false,
|
|
13928
13778
|
reflectToAttribute: true,
|
|
13929
13779
|
observer: '_modelessChanged',
|
|
13930
|
-
sync: true,
|
|
13931
13780
|
},
|
|
13932
13781
|
|
|
13933
13782
|
/**
|
|
@@ -13939,7 +13788,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13939
13788
|
type: Boolean,
|
|
13940
13789
|
reflectToAttribute: true,
|
|
13941
13790
|
observer: '_hiddenChanged',
|
|
13942
|
-
sync: true,
|
|
13943
13791
|
},
|
|
13944
13792
|
|
|
13945
13793
|
/**
|
|
@@ -13950,7 +13798,6 @@ const OverlayMixin = (superClass) =>
|
|
|
13950
13798
|
type: Boolean,
|
|
13951
13799
|
value: false,
|
|
13952
13800
|
reflectToAttribute: true,
|
|
13953
|
-
sync: true,
|
|
13954
13801
|
},
|
|
13955
13802
|
};
|
|
13956
13803
|
}
|
|
@@ -17818,22 +17665,6 @@ const ValidateMixin = dedupingMixin(
|
|
|
17818
17665
|
value: false,
|
|
17819
17666
|
},
|
|
17820
17667
|
|
|
17821
|
-
/**
|
|
17822
|
-
* Set to true to enable manual validation mode. This mode disables automatic
|
|
17823
|
-
* constraint validation, allowing you to control the validation process yourself.
|
|
17824
|
-
* You can still trigger constraint validation manually with the `validate()` method
|
|
17825
|
-
* or use `checkValidity()` to assess the component's validity without affecting
|
|
17826
|
-
* the invalid state. In manual validation mode, you can also manipulate
|
|
17827
|
-
* the `invalid` property directly through your application logic without conflicts
|
|
17828
|
-
* with the component's internal validation.
|
|
17829
|
-
*
|
|
17830
|
-
* @attr {boolean} manual-validation
|
|
17831
|
-
*/
|
|
17832
|
-
manualValidation: {
|
|
17833
|
-
type: Boolean,
|
|
17834
|
-
value: false,
|
|
17835
|
-
},
|
|
17836
|
-
|
|
17837
17668
|
/**
|
|
17838
17669
|
* Specifies that the user must fill in a value.
|
|
17839
17670
|
*/
|
|
@@ -17888,14 +17719,6 @@ const ValidateMixin = dedupingMixin(
|
|
|
17888
17719
|
return true;
|
|
17889
17720
|
}
|
|
17890
17721
|
|
|
17891
|
-
/** @protected */
|
|
17892
|
-
_requestValidation() {
|
|
17893
|
-
if (!this.manualValidation) {
|
|
17894
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
17895
|
-
this.validate();
|
|
17896
|
-
}
|
|
17897
|
-
}
|
|
17898
|
-
|
|
17899
17722
|
/**
|
|
17900
17723
|
* Fired whenever the field is validated.
|
|
17901
17724
|
*
|
|
@@ -18360,7 +18183,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18360
18183
|
super._requiredChanged(required);
|
|
18361
18184
|
|
|
18362
18185
|
if (required === false) {
|
|
18363
|
-
this.
|
|
18186
|
+
this.validate();
|
|
18364
18187
|
}
|
|
18365
18188
|
}
|
|
18366
18189
|
|
|
@@ -18424,7 +18247,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18424
18247
|
// a change event is scheduled, as validation will be
|
|
18425
18248
|
// triggered by `__dispatchChange()` in that case.
|
|
18426
18249
|
if (oldValue !== undefined && !this.__dispatchChangePending) {
|
|
18427
|
-
this.
|
|
18250
|
+
this.validate();
|
|
18428
18251
|
}
|
|
18429
18252
|
}
|
|
18430
18253
|
|
|
@@ -18522,7 +18345,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18522
18345
|
// will be triggered by `__dispatchChange()` in that case.
|
|
18523
18346
|
// Also, skip validation when closed on Escape or Tab keys.
|
|
18524
18347
|
if (!this.__dispatchChangePending && !this._keyboardActive) {
|
|
18525
|
-
this.
|
|
18348
|
+
this.validate();
|
|
18526
18349
|
}
|
|
18527
18350
|
}
|
|
18528
18351
|
|
|
@@ -18595,11 +18418,6 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18595
18418
|
*/
|
|
18596
18419
|
__appendValueItemElement(itemElement, parent) {
|
|
18597
18420
|
parent.appendChild(itemElement);
|
|
18598
|
-
// Trigger observer that sets aria-selected attribute
|
|
18599
|
-
// so that we can then synchronously remove it below.
|
|
18600
|
-
if (itemElement.performUpdate) {
|
|
18601
|
-
itemElement.performUpdate();
|
|
18602
|
-
}
|
|
18603
18421
|
itemElement.removeAttribute('tabindex');
|
|
18604
18422
|
itemElement.removeAttribute('aria-selected');
|
|
18605
18423
|
itemElement.removeAttribute('role');
|
|
@@ -18735,7 +18553,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18735
18553
|
// Do not validate when focusout is caused by document
|
|
18736
18554
|
// losing focus, which happens on browser tab switch.
|
|
18737
18555
|
if (!focused && document.hasFocus()) {
|
|
18738
|
-
this.
|
|
18556
|
+
this.validate();
|
|
18739
18557
|
}
|
|
18740
18558
|
}
|
|
18741
18559
|
|
|
@@ -18780,7 +18598,7 @@ const SelectBaseMixin = (superClass) =>
|
|
|
18780
18598
|
await this.updateComplete;
|
|
18781
18599
|
}
|
|
18782
18600
|
|
|
18783
|
-
this.
|
|
18601
|
+
this.validate();
|
|
18784
18602
|
this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
|
|
18785
18603
|
this.__dispatchChangePending = false;
|
|
18786
18604
|
}
|
|
@@ -19026,34 +18844,29 @@ const LotteryTicket = class {
|
|
|
19026
18844
|
this.drawMultiplierChange = index.createEvent(this, "drawMultiplierChange", 7);
|
|
19027
18845
|
this.lineMultiplierChange = index.createEvent(this, "lineMultiplierChange", 7);
|
|
19028
18846
|
this.betTypeChange = index.createEvent(this, "betTypeChange", 7);
|
|
19029
|
-
|
|
19030
|
-
|
|
19031
|
-
|
|
18847
|
+
this.setClientStyling = () => {
|
|
18848
|
+
let sheet = document.createElement('style');
|
|
18849
|
+
sheet.innerHTML = this.clientStyling;
|
|
18850
|
+
this.stylingContainer.prepend(sheet);
|
|
18851
|
+
};
|
|
18852
|
+
this.setClientStylingURL = () => {
|
|
18853
|
+
let cssFile = document.createElement('style');
|
|
18854
|
+
setTimeout(() => {
|
|
18855
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
18856
|
+
this.stylingContainer.prepend(cssFile);
|
|
18857
|
+
}, 1);
|
|
18858
|
+
};
|
|
18859
|
+
this.endpoint = undefined;
|
|
18860
|
+
this.gameId = undefined;
|
|
19032
18861
|
this.numberOfGrids = 1;
|
|
19033
|
-
/**
|
|
19034
|
-
* Option to have the ticket registered for multiple draws
|
|
19035
|
-
*/
|
|
19036
18862
|
this.multipleDraws = true;
|
|
19037
|
-
|
|
19038
|
-
* Shows the reset button
|
|
19039
|
-
*/
|
|
18863
|
+
this.ticketId = undefined;
|
|
19040
18864
|
this.resetButton = false;
|
|
19041
|
-
/**
|
|
19042
|
-
* Shows the auto-pick button
|
|
19043
|
-
*/
|
|
19044
18865
|
this.autoPick = false;
|
|
19045
|
-
/**
|
|
19046
|
-
* Language
|
|
19047
|
-
*/
|
|
19048
18866
|
this.language = 'en';
|
|
19049
|
-
/**
|
|
19050
|
-
* Client custom styling via string
|
|
19051
|
-
*/
|
|
19052
18867
|
this.clientStyling = '';
|
|
19053
|
-
/**
|
|
19054
|
-
* Client custom styling via url content
|
|
19055
|
-
*/
|
|
19056
18868
|
this.clientStylingUrlContent = '';
|
|
18869
|
+
this.translationUrl = undefined;
|
|
19057
18870
|
this.isLoading = true;
|
|
19058
18871
|
this.hasErrors = false;
|
|
19059
18872
|
this.ticketDone = [];
|
|
@@ -19079,18 +18892,6 @@ const LotteryTicket = class {
|
|
|
19079
18892
|
this.secondaryMaximumAllowed = 1;
|
|
19080
18893
|
this.minimumAllowed = 6;
|
|
19081
18894
|
this.secondaryMinimumAllowed = 1;
|
|
19082
|
-
this.setClientStyling = () => {
|
|
19083
|
-
let sheet = document.createElement('style');
|
|
19084
|
-
sheet.innerHTML = this.clientStyling;
|
|
19085
|
-
this.stylingContainer.prepend(sheet);
|
|
19086
|
-
};
|
|
19087
|
-
this.setClientStylingURL = () => {
|
|
19088
|
-
let cssFile = document.createElement('style');
|
|
19089
|
-
setTimeout(() => {
|
|
19090
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
19091
|
-
this.stylingContainer.prepend(cssFile);
|
|
19092
|
-
}, 1);
|
|
19093
|
-
};
|
|
19094
18895
|
}
|
|
19095
18896
|
handleLineMultiplierChange(newValue) {
|
|
19096
18897
|
this.grids = Array.from({ length: newValue }, (_, i) => i + 1);
|
|
@@ -19398,71 +19199,35 @@ const LotteryTicketController = class {
|
|
|
19398
19199
|
constructor(hostRef) {
|
|
19399
19200
|
index.registerInstance(this, hostRef);
|
|
19400
19201
|
this.deleteTicketEvent = index.createEvent(this, "deleteTicket", 7);
|
|
19401
|
-
|
|
19402
|
-
|
|
19403
|
-
|
|
19202
|
+
this.setClientStyling = () => {
|
|
19203
|
+
let sheet = document.createElement('style');
|
|
19204
|
+
sheet.innerHTML = this.clientStyling;
|
|
19205
|
+
this.stylingContainer.prepend(sheet);
|
|
19206
|
+
};
|
|
19207
|
+
this.setClientStylingURL = () => {
|
|
19208
|
+
let cssFile = document.createElement('style');
|
|
19209
|
+
setTimeout(() => {
|
|
19210
|
+
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
19211
|
+
this.stylingContainer.prepend(cssFile);
|
|
19212
|
+
}, 1);
|
|
19213
|
+
};
|
|
19404
19214
|
this.endpoint = '';
|
|
19405
|
-
/**
|
|
19406
|
-
* Ticket number
|
|
19407
|
-
*/
|
|
19408
19215
|
this.ticketId = 1;
|
|
19409
|
-
|
|
19410
|
-
|
|
19411
|
-
*/
|
|
19216
|
+
this.ticketDescription = undefined;
|
|
19217
|
+
this.gameId = undefined;
|
|
19412
19218
|
this.postMessage = false;
|
|
19413
|
-
/**
|
|
19414
|
-
* Name of the event emitter by the action button
|
|
19415
|
-
*/
|
|
19416
19219
|
this.eventName = 'deleteTicketAction';
|
|
19417
|
-
/**
|
|
19418
|
-
* Collapsed
|
|
19419
|
-
*/
|
|
19420
19220
|
this.collapsed = true;
|
|
19421
|
-
/**
|
|
19422
|
-
* Number of grids?
|
|
19423
|
-
*/
|
|
19424
19221
|
this.numberOfGrids = 1;
|
|
19425
|
-
/**
|
|
19426
|
-
* This toggles if the last ticket added should be expanded or not
|
|
19427
|
-
*/
|
|
19428
19222
|
this.last = false;
|
|
19429
|
-
/**
|
|
19430
|
-
* Language
|
|
19431
|
-
*/
|
|
19432
19223
|
this.language = 'en';
|
|
19433
|
-
/**
|
|
19434
|
-
* Shows the auto-pick button
|
|
19435
|
-
*/
|
|
19436
19224
|
this.autoPick = false;
|
|
19437
|
-
/**
|
|
19438
|
-
* Shows the reset button
|
|
19439
|
-
*/
|
|
19440
19225
|
this.resetButton = false;
|
|
19441
|
-
/**
|
|
19442
|
-
* Number of ticket controllers
|
|
19443
|
-
*/
|
|
19444
19226
|
this.totalControllers = 1;
|
|
19445
|
-
/**
|
|
19446
|
-
* Client custom styling via string
|
|
19447
|
-
*/
|
|
19448
19227
|
this.clientStyling = '';
|
|
19449
|
-
/**
|
|
19450
|
-
* Client custom styling via url content
|
|
19451
|
-
*/
|
|
19452
19228
|
this.clientStylingUrlContent = '';
|
|
19229
|
+
this.translationUrl = undefined;
|
|
19453
19230
|
this.limitStylingAppends = false;
|
|
19454
|
-
this.setClientStyling = () => {
|
|
19455
|
-
let sheet = document.createElement('style');
|
|
19456
|
-
sheet.innerHTML = this.clientStyling;
|
|
19457
|
-
this.stylingContainer.prepend(sheet);
|
|
19458
|
-
};
|
|
19459
|
-
this.setClientStylingURL = () => {
|
|
19460
|
-
let cssFile = document.createElement('style');
|
|
19461
|
-
setTimeout(() => {
|
|
19462
|
-
cssFile.innerHTML = this.clientStylingUrlContent;
|
|
19463
|
-
this.stylingContainer.prepend(cssFile);
|
|
19464
|
-
}, 1);
|
|
19465
|
-
};
|
|
19466
19231
|
}
|
|
19467
19232
|
// @TODO fix the `any` type
|
|
19468
19233
|
helperAccordionActionHandler() {
|