@everymatrix/lottery-oddsbom-ticket-bet 0.7.28 → 0.7.30
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/index-b8e9c8e4.js +2 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{lottery-oddsbom-bullet_9.cjs.entry.js → lottery-banner_10.cjs.entry.js} +381 -8
- package/dist/cjs/{lottery-oddsbom-ticket-bet-886fd964.js → lottery-oddsbom-ticket-bet-190283be.js} +8369 -8314
- package/dist/cjs/lottery-oddsbom-ticket-bet.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/lottery-oddsbom-oddschart/lottery-oddsbom-oddschart.js +1 -1
- package/dist/collection/components/lottery-oddsbom-oddschart-input/lottery-oddsbom-oddschart-input.js +1 -1
- package/dist/collection/components/lottery-oddsbom-ticket-bet/lottery-oddsbom-ticket-bet.js +34 -29
- package/dist/collection/components/lottery-oddsbom-ticket-board/lottery-oddsbom-ticket-board.js +4 -4
- package/dist/collection/components/lottery-oddsbom-ticket-selection/lottery-oddsbom-ticket-selection.js +1 -1
- package/dist/collection/model/index.type.js +10 -0
- package/dist/collection/utils/api.js +33 -1
- package/dist/collection/utils/locale.utils.js +1 -0
- package/dist/collection/utils/utils.js +14 -0
- package/dist/esm/index-9dee9d86.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{lottery-oddsbom-bullet_9.entry.js → lottery-banner_10.entry.js} +394 -22
- package/dist/esm/{lottery-oddsbom-ticket-bet-1e36d8ab.js → lottery-oddsbom-ticket-bet-65daa420.js} +8365 -8315
- package/dist/esm/lottery-oddsbom-ticket-bet.js +1 -1
- package/dist/lottery-oddsbom-ticket-bet/index.esm.js +1 -1
- package/dist/lottery-oddsbom-ticket-bet/lottery-banner_10.entry.js +1 -0
- package/dist/lottery-oddsbom-ticket-bet/{lottery-oddsbom-ticket-bet-1e36d8ab.js → lottery-oddsbom-ticket-bet-65daa420.js} +241 -241
- package/dist/lottery-oddsbom-ticket-bet/lottery-oddsbom-ticket-bet.esm.js +1 -1
- package/dist/types/components/lottery-oddsbom-ticket-bet/lottery-oddsbom-ticket-bet.d.ts +5 -2
- package/dist/types/model/index.type.d.ts +97 -1
- package/dist/types/utils/api.d.ts +6 -0
- package/dist/types/utils/utils.d.ts +2 -0
- package/package.json +1 -1
- package/dist/lottery-oddsbom-ticket-bet/lottery-oddsbom-bullet_9.entry.js +0 -1
|
@@ -1,6 +1,378 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9dee9d86.js';
|
|
2
|
-
import { s as setClientStyling, a as setClientStylingURL, b as setStreamStyling, c as showNotification,
|
|
3
|
-
export { L as lottery_oddsbom_ticket_bet } from './lottery-oddsbom-ticket-bet-
|
|
2
|
+
import { r as requiredArgs, t as toDate, p as parseISO, i as isToday, f as format, s as setClientStyling, a as setClientStylingURL, b as setStreamStyling, c as showNotification, d as translate$2, e as stringToBase64, g as resolveTranslationUrl$2, h as formatNumber, j as getTranslations$2, M as MAX_DISPLAY_OPTION_NUM } from './lottery-oddsbom-ticket-bet-65daa420.js';
|
|
3
|
+
export { L as lottery_oddsbom_ticket_bet } from './lottery-oddsbom-ticket-bet-65daa420.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @name differenceInMilliseconds
|
|
7
|
+
* @category Millisecond Helpers
|
|
8
|
+
* @summary Get the number of milliseconds between the given dates.
|
|
9
|
+
*
|
|
10
|
+
* @description
|
|
11
|
+
* Get the number of milliseconds between the given dates.
|
|
12
|
+
*
|
|
13
|
+
* @param {Date|Number} dateLeft - the later date
|
|
14
|
+
* @param {Date|Number} dateRight - the earlier date
|
|
15
|
+
* @returns {Number} the number of milliseconds
|
|
16
|
+
* @throws {TypeError} 2 arguments required
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* // How many milliseconds are between
|
|
20
|
+
* // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?
|
|
21
|
+
* const result = differenceInMilliseconds(
|
|
22
|
+
* new Date(2014, 6, 2, 12, 30, 21, 700),
|
|
23
|
+
* new Date(2014, 6, 2, 12, 30, 20, 600)
|
|
24
|
+
* )
|
|
25
|
+
* //=> 1100
|
|
26
|
+
*/
|
|
27
|
+
function differenceInMilliseconds(dateLeft, dateRight) {
|
|
28
|
+
requiredArgs(2, arguments);
|
|
29
|
+
return toDate(dateLeft).getTime() - toDate(dateRight).getTime();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var roundingMap = {
|
|
33
|
+
ceil: Math.ceil,
|
|
34
|
+
round: Math.round,
|
|
35
|
+
floor: Math.floor,
|
|
36
|
+
trunc: function trunc(value) {
|
|
37
|
+
return value < 0 ? Math.ceil(value) : Math.floor(value);
|
|
38
|
+
} // Math.trunc is not supported by IE
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
var defaultRoundingMethod = 'trunc';
|
|
42
|
+
function getRoundingMethod(method) {
|
|
43
|
+
return method ? roundingMap[method] : roundingMap[defaultRoundingMethod];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @name differenceInSeconds
|
|
48
|
+
* @category Second Helpers
|
|
49
|
+
* @summary Get the number of seconds between the given dates.
|
|
50
|
+
*
|
|
51
|
+
* @description
|
|
52
|
+
* Get the number of seconds between the given dates.
|
|
53
|
+
*
|
|
54
|
+
* @param {Date|Number} dateLeft - the later date
|
|
55
|
+
* @param {Date|Number} dateRight - the earlier date
|
|
56
|
+
* @param {Object} [options] - an object with options.
|
|
57
|
+
* @param {String} [options.roundingMethod='trunc'] - a rounding method (`ceil`, `floor`, `round` or `trunc`)
|
|
58
|
+
* @returns {Number} the number of seconds
|
|
59
|
+
* @throws {TypeError} 2 arguments required
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* // How many seconds are between
|
|
63
|
+
* // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?
|
|
64
|
+
* const result = differenceInSeconds(
|
|
65
|
+
* new Date(2014, 6, 2, 12, 30, 20, 0),
|
|
66
|
+
* new Date(2014, 6, 2, 12, 30, 7, 999)
|
|
67
|
+
* )
|
|
68
|
+
* //=> 12
|
|
69
|
+
*/
|
|
70
|
+
function differenceInSeconds(dateLeft, dateRight, options) {
|
|
71
|
+
requiredArgs(2, arguments);
|
|
72
|
+
var diff = differenceInMilliseconds(dateLeft, dateRight) / 1000;
|
|
73
|
+
return getRoundingMethod(options === null || options === void 0 ? void 0 : options.roundingMethod)(diff);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @name isBefore
|
|
78
|
+
* @category Common Helpers
|
|
79
|
+
* @summary Is the first date before the second one?
|
|
80
|
+
*
|
|
81
|
+
* @description
|
|
82
|
+
* Is the first date before the second one?
|
|
83
|
+
*
|
|
84
|
+
* @param {Date|Number} date - the date that should be before the other one to return true
|
|
85
|
+
* @param {Date|Number} dateToCompare - the date to compare with
|
|
86
|
+
* @returns {Boolean} the first date is before the second date
|
|
87
|
+
* @throws {TypeError} 2 arguments required
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* // Is 10 July 1989 before 11 February 1987?
|
|
91
|
+
* const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
|
92
|
+
* //=> false
|
|
93
|
+
*/
|
|
94
|
+
function isBefore(dirtyDate, dirtyDateToCompare) {
|
|
95
|
+
requiredArgs(2, arguments);
|
|
96
|
+
var date = toDate(dirtyDate);
|
|
97
|
+
var dateToCompare = toDate(dirtyDateToCompare);
|
|
98
|
+
return date.getTime() < dateToCompare.getTime();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @name isWithinInterval
|
|
103
|
+
* @category Interval Helpers
|
|
104
|
+
* @summary Is the given date within the interval?
|
|
105
|
+
*
|
|
106
|
+
* @description
|
|
107
|
+
* Is the given date within the interval? (Including start and end.)
|
|
108
|
+
*
|
|
109
|
+
* @param {Date|Number} date - the date to check
|
|
110
|
+
* @param {Interval} interval - the interval to check
|
|
111
|
+
* @returns {Boolean} the date is within the interval
|
|
112
|
+
* @throws {TypeError} 2 arguments required
|
|
113
|
+
* @throws {RangeError} The start of an interval cannot be after its end
|
|
114
|
+
* @throws {RangeError} Date in interval cannot be `Invalid Date`
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* // For the date within the interval:
|
|
118
|
+
* isWithinInterval(new Date(2014, 0, 3), {
|
|
119
|
+
* start: new Date(2014, 0, 1),
|
|
120
|
+
* end: new Date(2014, 0, 7)
|
|
121
|
+
* })
|
|
122
|
+
* //=> true
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* // For the date outside of the interval:
|
|
126
|
+
* isWithinInterval(new Date(2014, 0, 10), {
|
|
127
|
+
* start: new Date(2014, 0, 1),
|
|
128
|
+
* end: new Date(2014, 0, 7)
|
|
129
|
+
* })
|
|
130
|
+
* //=> false
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* // For date equal to interval start:
|
|
134
|
+
* isWithinInterval(date, { start, end: date }) // => true
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* // For date equal to interval end:
|
|
138
|
+
* isWithinInterval(date, { start: date, end }) // => true
|
|
139
|
+
*/
|
|
140
|
+
function isWithinInterval(dirtyDate, interval) {
|
|
141
|
+
requiredArgs(2, arguments);
|
|
142
|
+
var time = toDate(dirtyDate).getTime();
|
|
143
|
+
var startTime = toDate(interval.start).getTime();
|
|
144
|
+
var endTime = toDate(interval.end).getTime();
|
|
145
|
+
|
|
146
|
+
// Throw an exception if start date is after end date or if any date is `Invalid Date`
|
|
147
|
+
if (!(startTime <= endTime)) {
|
|
148
|
+
throw new RangeError('Invalid interval');
|
|
149
|
+
}
|
|
150
|
+
return time >= startTime && time <= endTime;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
const DEFAULT_LANGUAGE$1 = 'en';
|
|
154
|
+
const SUPPORTED_LANGUAGES$1 = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
155
|
+
const TRANSLATIONS$1 = {
|
|
156
|
+
en: {
|
|
157
|
+
stop: 'Stop',
|
|
158
|
+
at: 'at',
|
|
159
|
+
turnover: 'Turnover: ',
|
|
160
|
+
start: 'Sales Start',
|
|
161
|
+
in: 'in'
|
|
162
|
+
},
|
|
163
|
+
ro: {
|
|
164
|
+
stop: 'Oprește',
|
|
165
|
+
at: 'la'
|
|
166
|
+
},
|
|
167
|
+
fr: {
|
|
168
|
+
stop: 'Arrêtez',
|
|
169
|
+
at: 'à'
|
|
170
|
+
},
|
|
171
|
+
ar: {
|
|
172
|
+
stop: 'توقف',
|
|
173
|
+
at: 'في'
|
|
174
|
+
},
|
|
175
|
+
hr: {
|
|
176
|
+
stop: 'Stop',
|
|
177
|
+
at: 'u'
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
const translate$1 = (key, customLang) => {
|
|
181
|
+
const lang = customLang;
|
|
182
|
+
return TRANSLATIONS$1[lang !== undefined && SUPPORTED_LANGUAGES$1.includes(lang) ? lang : DEFAULT_LANGUAGE$1][key];
|
|
183
|
+
};
|
|
184
|
+
const getTranslations$1 = (data) => {
|
|
185
|
+
Object.keys(data).forEach((item) => {
|
|
186
|
+
for (let key in data[item]) {
|
|
187
|
+
TRANSLATIONS$1[item][key] = data[item][key];
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
};
|
|
191
|
+
const resolveTranslationUrl$1 = async (translationUrl) => {
|
|
192
|
+
if (translationUrl) {
|
|
193
|
+
try {
|
|
194
|
+
const response = await fetch(translationUrl);
|
|
195
|
+
if (!response.ok) {
|
|
196
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
|
197
|
+
}
|
|
198
|
+
const translations = await response.json();
|
|
199
|
+
getTranslations$1(translations);
|
|
200
|
+
}
|
|
201
|
+
catch (error) {
|
|
202
|
+
console.error('Failed to fetch or parse translations from URL:', error);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
const formatDate = ({ date, type = 'date', format: format$1 }) => {
|
|
208
|
+
try {
|
|
209
|
+
const parsedDate = parseISO(date);
|
|
210
|
+
if (isNaN(parsedDate.getTime())) {
|
|
211
|
+
throw new Error(`Invalid date: ${date}`);
|
|
212
|
+
}
|
|
213
|
+
if (format$1)
|
|
214
|
+
return format(parsedDate, format$1);
|
|
215
|
+
let formatStr = 'dd/MM/yyyy';
|
|
216
|
+
if (type === 'time') {
|
|
217
|
+
formatStr = 'dd/MM/yyyy HH:mm:ss';
|
|
218
|
+
}
|
|
219
|
+
else if (type === 'week') {
|
|
220
|
+
formatStr = 'ccc dd/MM/yyyy HH:mm:ss';
|
|
221
|
+
}
|
|
222
|
+
return format(parsedDate, formatStr);
|
|
223
|
+
}
|
|
224
|
+
catch (error) {
|
|
225
|
+
console.error('Error formatting date:', error.message);
|
|
226
|
+
return '';
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
function formatTime(time) {
|
|
230
|
+
if (!time)
|
|
231
|
+
return;
|
|
232
|
+
if (isToday(new Date(time))) {
|
|
233
|
+
return formatDate({ date: time, format: 'HH:mm' });
|
|
234
|
+
}
|
|
235
|
+
return formatDate({ date: time, format: 'dd/MM/yyyy HH:mm' });
|
|
236
|
+
}
|
|
237
|
+
function formatCountdown(stopTime, _now) {
|
|
238
|
+
if (!stopTime)
|
|
239
|
+
return;
|
|
240
|
+
const endTime = typeof stopTime === 'string' ? parseISO(stopTime) : stopTime;
|
|
241
|
+
const now = _now && new Date();
|
|
242
|
+
let totalSeconds = differenceInSeconds(endTime, now);
|
|
243
|
+
if (totalSeconds < 0)
|
|
244
|
+
return '0D 00H 00M 00S';
|
|
245
|
+
const days = Math.floor(totalSeconds / 86400);
|
|
246
|
+
totalSeconds %= 86400;
|
|
247
|
+
const hours = Math.floor(totalSeconds / 3600);
|
|
248
|
+
totalSeconds %= 3600;
|
|
249
|
+
const minutes = Math.floor(totalSeconds / 60);
|
|
250
|
+
const seconds = totalSeconds % 60;
|
|
251
|
+
return `${days}D ${hours.toString().padStart(2, '0')}H ${minutes.toString().padStart(2, '0')}M ${seconds
|
|
252
|
+
.toString()
|
|
253
|
+
.padStart(2, '0')}S`;
|
|
254
|
+
}
|
|
255
|
+
function getWagerTime(startTime, stopTime) {
|
|
256
|
+
const now = new Date();
|
|
257
|
+
if (startTime && isBefore(now, parseISO(startTime))) {
|
|
258
|
+
return { start: formatCountdown(startTime, now) };
|
|
259
|
+
}
|
|
260
|
+
if (startTime &&
|
|
261
|
+
stopTime &&
|
|
262
|
+
isWithinInterval(now, {
|
|
263
|
+
start: parseISO(startTime),
|
|
264
|
+
end: parseISO(stopTime)
|
|
265
|
+
})) {
|
|
266
|
+
return { end: formatTime(stopTime) };
|
|
267
|
+
}
|
|
268
|
+
return {};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
const lotteryBannerCss = ":host {\n display: block;\n container-type: inline-size;\n}\n\n.lottery-banner {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--lottery-banner-gap, 0.5rem);\n padding: var(--lottery-banner-padding, 0px 20px);\n background: var(--lottery-banner-background, var(--emw--color-primary, #fed275));\n border-top: var(--lottery-banner-border-width, 2px) var(--lottery-banner-border-style, solid) var(--lottery-banner-border-color, var(--emw--color-primary, #fed275));\n border-bottom: var(--lottery-banner-border-width, 2px) var(--lottery-banner-border-style, solid) var(--lottery-banner-border-color, var(--emw--color-primary, #fed275));\n border-left: var(--lottery-banner-border-left, none);\n border-right: var(--lottery-banner-border-right, none);\n border-radius: var(--lottery-banner-border-radius, 0);\n white-space: nowrap;\n height: var(--lottery-banner-height, 50px);\n position: relative;\n box-sizing: border-box;\n}\n\n.lottery-banner__logo-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n.lottery-banner__logo-wrapper img {\n height: 100%;\n object-fit: var(--lottery-banner-logo-object-fit, contain);\n}\n\n.lottery-banner__item--center {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n.lottery-banner__title {\n text-align: center;\n font-size: var(--lottery-banner-title-font-size, 1.5rem);\n font-weight: 800;\n font-style: italic;\n letter-spacing: var(--lottery-banner-title-font-letter-spacing, 0.04em);\n color: var(--emw--color-typography, #000);\n}\n\n.lottery-banner__info {\n display: flex;\n align-items: center;\n gap: var(--lottery-banner-info-gap, 0.75rem);\n}\n\n.lottery-banner__info-item {\n font-size: var(--lottery-banner-info-font-size, 0.9rem);\n color: var(--lottery-banner-info-color, var(--emw--color-typography, #000));\n display: inline-flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n.lottery-banner__info-item-label {\n color: var(--lottery-banner-info-label-color, var(--emw--color-typography, #000));\n}\n.lottery-banner__info-item-label__strong {\n font-weight: var(--lottery-banner-info-label-font-weight, 700);\n}\n\n.lottery-banner__info-item-value {\n font-weight: var(--lottery-banner-info-value-font-weight, inherit);\n color: var(--lottery-banner-info-value-color, var(--emw--color-typography, #000));\n}\n\n@container (max-width: 700px) {\n .lottery-banner {\n height: auto;\n padding: var(--lottery-banner-mobile-padding, 0.5rem 1rem);\n }\n .lottery-banner__title {\n flex-basis: 100%;\n text-align: var(--lottery-banner-mobile-title-text-align, left);\n }\n .lottery-banner__info {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--lottery-banner-mobile-info-gap, 0.1rem);\n }\n}";
|
|
272
|
+
const LotteryBannerStyle0 = lotteryBannerCss;
|
|
273
|
+
|
|
274
|
+
const LotteryBanner = class {
|
|
275
|
+
constructor(hostRef) {
|
|
276
|
+
registerInstance(this, hostRef);
|
|
277
|
+
this.lotteryBannerTimerStop = createEvent(this, "lotteryBannerTimerStop", 7);
|
|
278
|
+
this.mbSource = undefined;
|
|
279
|
+
this.clientStyling = undefined;
|
|
280
|
+
this.clientStylingUrl = undefined;
|
|
281
|
+
this.translationUrl = '';
|
|
282
|
+
this.language = 'en';
|
|
283
|
+
this.logoUrl = undefined;
|
|
284
|
+
this.stopTime = '';
|
|
285
|
+
this.startTime = '';
|
|
286
|
+
this.bannerTitle = undefined;
|
|
287
|
+
this.turnover = undefined;
|
|
288
|
+
this.layout = 'logo,title,info';
|
|
289
|
+
this.formattedTime = undefined;
|
|
290
|
+
}
|
|
291
|
+
handleClientStylingChange(newValue, oldValue) {
|
|
292
|
+
if (newValue !== oldValue) {
|
|
293
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
handleClientStylingUrlChange(newValue, oldValue) {
|
|
297
|
+
if (newValue !== oldValue) {
|
|
298
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
handleMbSourceChange(newValue, oldValue) {
|
|
302
|
+
if (newValue !== oldValue) {
|
|
303
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
handleTimeChange() {
|
|
307
|
+
this.startTimer();
|
|
308
|
+
}
|
|
309
|
+
async componentWillLoad() {
|
|
310
|
+
if (this.translationUrl) {
|
|
311
|
+
resolveTranslationUrl$1(this.translationUrl);
|
|
312
|
+
}
|
|
313
|
+
this.startTimer();
|
|
314
|
+
}
|
|
315
|
+
startTimer() {
|
|
316
|
+
if (this.timer) {
|
|
317
|
+
clearInterval(this.timer);
|
|
318
|
+
}
|
|
319
|
+
this.updateTime();
|
|
320
|
+
this.timer = setInterval(() => {
|
|
321
|
+
this.updateTime();
|
|
322
|
+
}, 1000);
|
|
323
|
+
}
|
|
324
|
+
updateTime() {
|
|
325
|
+
var _a;
|
|
326
|
+
this.formattedTime = getWagerTime(this.startTime, this.stopTime);
|
|
327
|
+
if ((_a = this.formattedTime) === null || _a === void 0 ? void 0 : _a.end) {
|
|
328
|
+
this.timer && clearInterval(this.timer);
|
|
329
|
+
this.lotteryBannerTimerStop.emit();
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
componentDidLoad() {
|
|
333
|
+
if (this.stylingContainer) {
|
|
334
|
+
if (this.mbSource)
|
|
335
|
+
setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription);
|
|
336
|
+
if (this.clientStyling)
|
|
337
|
+
setClientStyling(this.stylingContainer, this.clientStyling);
|
|
338
|
+
if (this.clientStylingUrl)
|
|
339
|
+
setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
disconnectedCallback() {
|
|
343
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
344
|
+
this.timer && clearInterval(this.timer);
|
|
345
|
+
}
|
|
346
|
+
renderElement(item, className = '') {
|
|
347
|
+
var _a, _b;
|
|
348
|
+
switch (item) {
|
|
349
|
+
case 'logo':
|
|
350
|
+
return (h("div", { class: `lottery-banner__logo-wrapper ${className}` }, this.logoUrl && h("img", { alt: "logo", src: this.logoUrl, class: "lottery-banner__logo" })));
|
|
351
|
+
case 'title':
|
|
352
|
+
return this.bannerTitle && h("div", { class: `lottery-banner__title ${className}` }, this.bannerTitle);
|
|
353
|
+
case 'info':
|
|
354
|
+
return (h("div", { class: `lottery-banner__info ${className}` }, ((_a = this.formattedTime) === null || _a === void 0 ? void 0 : _a.start) && (h("div", { class: "lottery-banner__info-item" }, h("span", { class: "lottery-banner__info-item-label" }, h("span", { class: "lottery-banner__info-item-label__strong" }, translate$1('start', this.language)), "\u00A0", translate$1('in', this.language)), h("span", { class: "lottery-banner__info-item-value" }, this.formattedTime.start))), ((_b = this.formattedTime) === null || _b === void 0 ? void 0 : _b.end) && (h("div", { class: "lottery-banner__info-item" }, h("span", { class: "lottery-banner__info-item-label" }, h("span", { class: "lottery-banner__info-item-label__strong" }, translate$1('stop', this.language)), "\u00A0", translate$1('at', this.language)), h("span", { class: "lottery-banner__info-item-value" }, this.formattedTime.end))), this.turnover !== null && this.turnover !== undefined && (h("div", { class: "lottery-banner__info-item" }, h("span", { class: "lottery-banner__info-item-label" }, translate$1('turnover', this.language)), h("span", { class: "lottery-banner__info-item-value" }, this.turnover)))));
|
|
355
|
+
default:
|
|
356
|
+
return null;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
render() {
|
|
360
|
+
const layoutItems = this.layout.split(',').map((item) => item.trim());
|
|
361
|
+
return (h("section", { key: '058aa04a8104d393f6066fd2738fb33cb6d832a2', ref: (el) => (this.stylingContainer = el), class: "lottery-banner" }, layoutItems.map((item, index) => {
|
|
362
|
+
const isMiddle = layoutItems.length === 3 && index === 1;
|
|
363
|
+
const className = isMiddle ? 'lottery-banner__item--center' : '';
|
|
364
|
+
return this.renderElement(item, className);
|
|
365
|
+
})));
|
|
366
|
+
}
|
|
367
|
+
static get watchers() { return {
|
|
368
|
+
"clientStyling": ["handleClientStylingChange"],
|
|
369
|
+
"clientStylingUrl": ["handleClientStylingUrlChange"],
|
|
370
|
+
"mbSource": ["handleMbSourceChange"],
|
|
371
|
+
"startTime": ["handleTimeChange"],
|
|
372
|
+
"stopTime": ["handleTimeChange"]
|
|
373
|
+
}; }
|
|
374
|
+
};
|
|
375
|
+
LotteryBanner.style = LotteryBannerStyle0;
|
|
4
376
|
|
|
5
377
|
// This icon file is generated automatically.
|
|
6
378
|
var ArrowUpOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z" } }] }, "name": "arrow-up", "theme": "outlined" };
|
|
@@ -307,7 +679,7 @@ const LotteryOddsbomOddschart = class {
|
|
|
307
679
|
if (values.length != 2 * this.matchInfo.length) {
|
|
308
680
|
showNotification({
|
|
309
681
|
theme: 'warning',
|
|
310
|
-
message: translate$
|
|
682
|
+
message: translate$2('pleaseFillIn', this.language)
|
|
311
683
|
});
|
|
312
684
|
return;
|
|
313
685
|
}
|
|
@@ -420,7 +792,7 @@ const LotteryOddsbomOddschart = class {
|
|
|
420
792
|
}
|
|
421
793
|
componentWillLoad() {
|
|
422
794
|
if (this.translationUrl) {
|
|
423
|
-
resolveTranslationUrl$
|
|
795
|
+
resolveTranslationUrl$2(this.translationUrl);
|
|
424
796
|
}
|
|
425
797
|
}
|
|
426
798
|
componentDidLoad() {
|
|
@@ -453,7 +825,7 @@ const LotteryOddsbomOddschart = class {
|
|
|
453
825
|
return (h("div", { class: "oddsbom-oddschart-selection--group", onClick: this.handleGroupClick.bind(this, groupIndex) }, h("div", { class: "oddsbom-oddschart-selection--group-wrap", style: { flexBasis: `${160 * group.length}px` } }, group.map((item, index) => {
|
|
454
826
|
const selection = item.split(':');
|
|
455
827
|
return (h("div", { class: "oddsbom-oddschart-selection-item", key: index }, h("div", { class: "oddsbom-oddschart-selection-item--1" }, h("lottery-oddsbom-bullet", { text: selection[0], "is-reading": true, "is-selected": isSelected })), h("div", { class: "oddsbom-oddschart-selection-item--2" }, h("lottery-oddsbom-bullet", { text: selection[1], "is-reading": true, "is-selected": isSelected }))));
|
|
456
|
-
})), h("div", { class: "oddsbom-oddschart-selection-odds" }, h("div", { class: "oddsbom-oddschart-selection-odds--text" }, formatNumber(odds)), isSelected && (h("div", { class: "oddsbom-oddschart-selection-odds--fillIn" }, h("lottery-oddsbom-ticket-button", { text: translate$
|
|
828
|
+
})), h("div", { class: "oddsbom-oddschart-selection-odds" }, h("div", { class: "oddsbom-oddschart-selection-odds--text" }, formatNumber(odds)), isSelected && (h("div", { class: "oddsbom-oddschart-selection-odds--fillIn" }, h("lottery-oddsbom-ticket-button", { text: translate$2('fillIn', this.language), size: "small", variant: "outline", onClick: this.handleFillIn.bind(this, group), language: this.language, "translation-url": this.translationUrl, "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl }))))));
|
|
457
829
|
}
|
|
458
830
|
handleFillIn(nums) {
|
|
459
831
|
this.oddschartFillInEvent.emit({ fillInNums: nums });
|
|
@@ -476,13 +848,13 @@ const LotteryOddsbomOddschart = class {
|
|
|
476
848
|
}
|
|
477
849
|
render() {
|
|
478
850
|
var _a, _b;
|
|
479
|
-
return (h("div", { key: '
|
|
851
|
+
return (h("div", { key: 'e7c7c883ae3e911cb828a7076e0cb9fa73ddd2af', class: "oddsbom-oddschart", ref: (el) => (this.stylingContainer = el) }, !((_a = this.matchInfo) === null || _a === void 0 ? void 0 : _a.length) || !((_b = this.oddsInfo) === null || _b === void 0 ? void 0 : _b.length) ? (h("div", { class: "empty-wrap" }, h("span", { innerHTML: infoIcon, style: { marginRight: '6px', height: '18px' } }), h("span", { class: "empty-wrap-text", style: { fontSize: '18px' } }, translate$2('noBets', this.language)))) : (this.matchInfo && (h("div", { class: "oddsbom-oddschart-container" }, h("div", { class: "oddsbom-oddschart-wrap" }, h("div", { class: "oddsbom-oddschart-match", ref: (el) => (this.matchItemsContainer = el) }, this.matchInfo.map((match, idx) => {
|
|
480
852
|
return (h("div", { class: "oddsbom-oddschart-match-item", key: idx }, h("div", { class: "oddsbom-oddschart-match-item-name" }, h("div", { class: "oddsbom-oddschart-match-item-name--home" }, `${idx + 1}. ${match.eventName.split('vs')[0]}`), h("div", { class: "oddsbom-oddschart-match-item-name--delimiter" }, "vs"), h("div", { class: "oddsbom-oddschart-match-item-name--away" }, `${match.eventName.split('vs')[1]}`)), h("div", { class: "oddsbom-oddschart-match-item-input" }, h("lottery-oddsbom-oddschart-input", null), h("lottery-oddsbom-oddschart-input", null))));
|
|
481
|
-
}), h("div", { class: "oddsbom-oddschart-match-search" }, h("lottery-oddsbom-ticket-button", { text: translate$
|
|
853
|
+
}), h("div", { class: "oddsbom-oddschart-match-search" }, h("lottery-oddsbom-ticket-button", { text: translate$2('search', this.language), variant: "outline", onClick: this.handleSearch }))), this.hasFillInSelection &&
|
|
482
854
|
!this.isSearching &&
|
|
483
855
|
(this.filterdOdds ? (h("div", { class: "oddsbom-oddschart-input-wrap" }, h("div", { class: "oddsbom-oddschart-input" }, this.matchSelection.map((arr) => {
|
|
484
856
|
return (h("div", { class: "oddsbom-oddschart-input-item" }, h("lottery-oddsbom-bullet", { text: arr[0], "is-reading": true, "is-selected": true }), h("lottery-oddsbom-bullet", { text: arr[1], "is-reading": true, "is-selected": true })));
|
|
485
|
-
}), h("div", { class: "oddsbom-oddschart-input-odds" }, formatNumber(this.filterdOdds))), h("div", { class: "oddsbom-oddschart-input-operation" }, h("lottery-oddsbom-ticket-button", { text: translate$
|
|
857
|
+
}), h("div", { class: "oddsbom-oddschart-input-odds" }, formatNumber(this.filterdOdds))), h("div", { class: "oddsbom-oddschart-input-operation" }, h("lottery-oddsbom-ticket-button", { text: translate$2('clear', this.language), variant: "outline", size: "small", onClick: this.clearMatchSelection.bind(this) }), h("lottery-oddsbom-ticket-button", { text: translate$2('fillIn', this.language), variant: "outline", size: "small", onClick: this.fillInMatchSelection.bind(this) })))) : (h("div", { class: "oddsbom-oddschart-input-empty" }, h("div", null, h("span", { innerHTML: infoIcon1, style: { marginRight: '6px', height: '16px' } }), h("span", { style: { fontSize: '14px' } }, translate$2('noBets', this.language))), h("div", { class: "oddsbom-oddschart-input-empty-operation" }, h("lottery-oddsbom-ticket-button", { text: translate$2('clear', this.language), variant: "text", size: "small", onClick: this.clearMatchSelection.bind(this) }), h("lottery-oddsbom-ticket-button", { text: translate$2('fillIn', this.language), variant: "text", size: "small", onClick: this.fillInMatchSelection.bind(this) }))))), h("div", { class: "oddsbom-oddschart-match-filter" }, (this.isLoading || this.isSearching) && h("div", { class: "progress-bar" }), h("span", { onClick: this.toggleFilterIcon, class: `arrow ${this.isAscend ? 'ascend' : ''}`, innerHTML: upIcon })), h("div", { class: "oddsbom-oddschart-selection" }, this.oddsInfo.map((oddsItem, idx) => {
|
|
486
858
|
return this.generateBulletGroup(oddsItem.lineSelection, oddsItem.odds, idx);
|
|
487
859
|
})), h("div", { class: "oddsbom-oddschart-pagination" }, h("div", { class: "oddsbom-oddschart-pagination-wrap" }, h("div", { class: `oddsbom-oddschart-pagination-prev ${this.curPage < 1 ? 'disabled' : ''}`, onClick: this.handlePrevPage }, h("div", { class: "oddsbom-oddschart-pagination-icon", innerHTML: leftArrowIcon })), h("div", { class: "oddsbom-oddschart-pagination-page" }, `${this.curPage + 1} / ${this.totalPage}`), h("div", { class: `oddsbom-oddschart-pagination-next ${this.curPage >= this.totalPage - 1 ? 'disabled' : ''}`, onClick: this.handleNextPage }, h("div", { class: "oddsbom-oddschart-pagination-icon", innerHTML: rightArrowIcon }))))))))));
|
|
488
860
|
}
|
|
@@ -555,7 +927,7 @@ const LotteryOddsbomOddschartInput = class {
|
|
|
555
927
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
556
928
|
}
|
|
557
929
|
render() {
|
|
558
|
-
return (h("div", { key: '
|
|
930
|
+
return (h("div", { key: '027256f6e35e605b7a9afb83e81a099343615f96', class: "oddscharts-input", ref: (el) => (this.stylingContainer = el) }, h("input", { key: 'fc8e961ee6701f8bb57349c9ead508af2d2b448f', ref: (el) => (this.inputElement = el), type: "text", inputMode: "numeric", value: this.value, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, autocomplete: "one-time-code" })));
|
|
559
931
|
}
|
|
560
932
|
static get watchers() { return {
|
|
561
933
|
"clientStyling": ["handleClientStylingChange"],
|
|
@@ -608,7 +980,7 @@ const LotteryOddsbomTicketBoard = class {
|
|
|
608
980
|
}
|
|
609
981
|
componentWillLoad() {
|
|
610
982
|
if (this.translationUrl) {
|
|
611
|
-
getTranslations$
|
|
983
|
+
getTranslations$2(JSON.parse(this.translationUrl));
|
|
612
984
|
}
|
|
613
985
|
}
|
|
614
986
|
handleOddsbomBulletGroupToggle(event) {
|
|
@@ -638,18 +1010,18 @@ const LotteryOddsbomTicketBoard = class {
|
|
|
638
1010
|
}
|
|
639
1011
|
handleClearAllSelection() {
|
|
640
1012
|
this.oddsbomBoardClearEvent.emit();
|
|
641
|
-
showNotification({ message: translate$
|
|
1013
|
+
showNotification({ message: translate$2('selectionCleared', this.language), renderOne: true });
|
|
642
1014
|
}
|
|
643
1015
|
validateInput(value) {
|
|
644
1016
|
const numValue = Number(value);
|
|
645
1017
|
if (isNaN(numValue)) {
|
|
646
1018
|
this.isInputInvalid = true;
|
|
647
|
-
this.errorMessage = translate$
|
|
1019
|
+
this.errorMessage = translate$2('enterValidNumber', this.language);
|
|
648
1020
|
return;
|
|
649
1021
|
}
|
|
650
1022
|
if (numValue < MAX_DISPLAY_OPTION_NUM || numValue > this.addSelectionConfig.maxScore) {
|
|
651
1023
|
this.isInputInvalid = true;
|
|
652
|
-
this.errorMessage = translate$
|
|
1024
|
+
this.errorMessage = translate$2('enterNumberBetween', this.language, {
|
|
653
1025
|
min: MAX_DISPLAY_OPTION_NUM,
|
|
654
1026
|
max: this.addSelectionConfig.maxScore
|
|
655
1027
|
});
|
|
@@ -659,7 +1031,7 @@ const LotteryOddsbomTicketBoard = class {
|
|
|
659
1031
|
const selections = this.ticketBoardInfo[matchIdx].addSelections[selectionIdx];
|
|
660
1032
|
if (selections.some((s) => Number(s) === Number(value))) {
|
|
661
1033
|
this.isInputInvalid = true;
|
|
662
|
-
this.errorMessage = translate$
|
|
1034
|
+
this.errorMessage = translate$2('numberAlreadySelected', this.language);
|
|
663
1035
|
return;
|
|
664
1036
|
}
|
|
665
1037
|
this.isInputInvalid = false;
|
|
@@ -685,14 +1057,14 @@ const LotteryOddsbomTicketBoard = class {
|
|
|
685
1057
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
686
1058
|
}
|
|
687
1059
|
render() {
|
|
688
|
-
return (h("div", { key: '
|
|
1060
|
+
return (h("div", { key: 'e5ca4eb7ad8945ab24c8fd400b0b7704bdb69f6e', class: "oddsbomTicketBoard", ref: (el) => (this.stylingContainer = el) }, h("div", { key: '5cf3ab87b72e81a169ffbe65084e86b38cb76ef3', class: "oddsbomTicketBoard-btn" }, h("lottery-oddsbom-ticket-button", { key: 'd8ebcd3faf085333b94d8a61b10c274a075b0d8a', onClick: this.handleClearAllSelection.bind(this), text: translate$2('clearAll', this.language), variant: "outline" })), this.ticketBoardInfo.length ? (h("div", { class: "oddsbomTicketBoard-list" }, this.ticketBoardInfo.map((item, idx) => {
|
|
689
1061
|
return (h("div", { class: "oddsbomTicketBoard-item" }, h("div", { class: "oddsbomTicketBoard-item-header" }, `${idx + 1}. ${item.matchName}`), h("div", { class: "oddsbomTicketBoard-item-match" }, h("div", { class: "oddsbomTicketBoard-item-match--left" }, item.matchName.split('vs')[0]), h("div", { class: "oddsbomTicketBoard-item-match--right" }, h("lottery-oddsbom-bullet-group", { bulletConfigs: item.selections[0], selectionIdx: 0, matchIdx: idx, addSelectionConfig: this.addSelectionConfig }))), h("div", { class: "oddsbomTicketBoard-item-match" }, h("div", { class: "oddsbomTicketBoard-item-match--left" }, item.matchName.split('vs')[1]), h("div", { class: "oddsbomTicketBoard-item-match--right" }, h("lottery-oddsbom-bullet-group", { bulletConfigs: item.selections[1], selectionIdx: 1, matchIdx: idx, addSelectionConfig: this.addSelectionConfig })))));
|
|
690
|
-
}))) : (h("div", { class: "oddsbomTicketBoard-noData" }, translate$
|
|
1062
|
+
}))) : (h("div", { class: "oddsbomTicketBoard-noData" }, translate$2('noTicketBoard', this.language))), h("lottery-tipping-dialog", { key: 'd70640fde439f49c4234b144c25c8a71486477d2', visible: this.dialogConfig.visible, width: this.dialogConfig.width, onCancel: this.handleCloseAddMoreDialog.bind(this) }, h("div", { key: '8f6f15ec60cde94c4074e4b4d8c966e26608e577', class: "addSelectionDialog" }, h("div", { key: '8a78285c454dd4414d167a4ea913df7040646c81', class: "addSelectionDialog-title" }, translate$2('enterScoreUpTo', this.language, {
|
|
691
1063
|
maxScore: this.addSelectionConfig.maxScore
|
|
692
|
-
})), h("input", { key: '
|
|
1064
|
+
})), h("input", { key: '0a9139c2beb9627e14fa811f46f552a0e9a07af0', type: "text", class: {
|
|
693
1065
|
'dialog-input': true,
|
|
694
1066
|
invalid: this.isInputInvalid
|
|
695
|
-
}, value: this.curAddMoreInfo.value, onInput: this.handleInputChange.bind(this) }), h("div", { key: '
|
|
1067
|
+
}, value: this.curAddMoreInfo.value, onInput: this.handleInputChange.bind(this) }), h("div", { key: 'b537f8fd54aa70e043a1e319a4aabef85e8e458a', class: "error-message" }, this.errorMessage)), h("div", { key: '8aa06cf57c03e73fd9c4cead9670d9f8a539d4ca', slot: "footer", class: "addSelectionDialog-footer" }, h("lottery-oddsbom-ticket-button", { key: '9db45725204f7fb16407adbdc7ee77f88c2a2dc8', onClick: this.dialogConfig.onCancel, text: translate$2('cancel', this.language), variant: "outline" }), h("lottery-oddsbom-ticket-button", { key: '10cc96b0f5bd1ef5431e1347b6a142797113d458', onClick: this.dialogConfig.onConfirm, text: translate$2('confirm', this.language), variant: "primary", disabled: !this.curAddMoreInfo.value || this.isInputInvalid })))));
|
|
696
1068
|
}
|
|
697
1069
|
static get watchers() { return {
|
|
698
1070
|
"clientStyling": ["handleClientStylingChange"],
|
|
@@ -761,7 +1133,7 @@ const LotteryOddsbomTicketButton = class {
|
|
|
761
1133
|
}
|
|
762
1134
|
componentWillLoad() {
|
|
763
1135
|
if (this.translationUrl) {
|
|
764
|
-
resolveTranslationUrl$
|
|
1136
|
+
resolveTranslationUrl$2(this.translationUrl);
|
|
765
1137
|
}
|
|
766
1138
|
}
|
|
767
1139
|
render() {
|
|
@@ -772,7 +1144,7 @@ const LotteryOddsbomTicketButton = class {
|
|
|
772
1144
|
[`btn--${variant}`]: true,
|
|
773
1145
|
[`btn--${size}`]: true,
|
|
774
1146
|
'btn--loading': this.loading
|
|
775
|
-
}, disabled: isDisabled, onClick: this.handleClick }, this.loading ? (h("div", { class: "loading-container" }, h("span", { class: "content" }, this.text || translate$
|
|
1147
|
+
}, disabled: isDisabled, onClick: this.handleClick }, this.loading ? (h("div", { class: "loading-container" }, h("span", { class: "content" }, this.text || translate$2('loading', this.language)), h("span", { class: "spinner" }))) : (h("span", { class: "content" }, this.text)), h("div", { key: '8276ad215063ef4217b11f65fb189d6fcccd1f24', class: "ripple-container" }, this.ripples.map((ripple, index) => (h("span", { key: index, class: "ripple", style: {
|
|
776
1148
|
top: `${ripple.top}px`,
|
|
777
1149
|
left: `${ripple.left}px`,
|
|
778
1150
|
width: `${ripple.size}px`,
|
|
@@ -884,7 +1256,7 @@ const LotteryOddsbomTicketSelection = class {
|
|
|
884
1256
|
});
|
|
885
1257
|
}
|
|
886
1258
|
render() {
|
|
887
|
-
return (h("div", { key: '
|
|
1259
|
+
return (h("div", { key: '79091bce57ba35ef7a7758daeae94b9847eb712d', class: "oddsbomSelection", ref: (el) => (this.stylingContainer = el) }, h("div", { key: 'a4913e648d8deb508c68360d572d26b98843f0c5', class: "oddsbomSelection-panel" }, h("div", { key: 'fd6b9551dddd71f5eed648dc1ab8bbf6aeb8a92f', class: "oddsbomSelection-panel--header", onClick: this.togglePanel }, h("div", { key: '88930dc74331ca9f6edec7a23c8d42cf9ca9a0e4', class: "oddsbomSelection-panel--header-title" }, translate$2('myChoices', this.language)), h("div", { key: '94b2bd032ea3b9ebcb9e406e74a52a4d1c55a67f', class: `oddsbomSelection-panel--header-icon ${this.expanded ? 'expanded' : ''}`, innerHTML: downIcon })), h("div", { key: 'cf337fd2477ae140c6d7898f7742c326164f7282', class: `oddsbomSelection-panel--content ${this.expanded ? 'open' : 'closed'}` }, h("div", { key: '8dd02d79a4254278b415ec11bdd1906940cb6074', class: "oddsbomSelection-panel--content-thead" }, h("div", { key: '113407e0f9ee69d449202ab1065623187bce2fbe', class: "oddsbomSelection-panel--content-thead-item" }, translate$2('teams', this.language)), h("div", { key: 'fe38c2ad17fdea759f48938742808e622c4076be', class: "oddsbomSelection-panel--content-thead-item" }, translate$2('scores', this.language))), h("div", { key: 'a750c174d5ac53bc77346907828a4bdc96f60e32', class: "oddsbomSelection-panel--content-tbody" }, this.generateSelectionList())))));
|
|
888
1260
|
}
|
|
889
1261
|
static get watchers() { return {
|
|
890
1262
|
"clientStyling": ["handleClientStylingChange"],
|
|
@@ -1052,4 +1424,4 @@ const LotteryTippingDialog = class {
|
|
|
1052
1424
|
};
|
|
1053
1425
|
LotteryTippingDialog.style = LotteryTippingDialogStyle0;
|
|
1054
1426
|
|
|
1055
|
-
export { LotteryOddsbomBullet as lottery_oddsbom_bullet, LotteryOddsbomBulletGroup as lottery_oddsbom_bullet_group, LotteryOddsbomOddschart as lottery_oddsbom_oddschart, LotteryOddsbomOddschartInput as lottery_oddsbom_oddschart_input, LotteryOddsbomTicketBoard as lottery_oddsbom_ticket_board, LotteryOddsbomTicketButton as lottery_oddsbom_ticket_button, LotteryOddsbomTicketSelection as lottery_oddsbom_ticket_selection, LotteryTippingDialog as lottery_tipping_dialog };
|
|
1427
|
+
export { LotteryBanner as lottery_banner, LotteryOddsbomBullet as lottery_oddsbom_bullet, LotteryOddsbomBulletGroup as lottery_oddsbom_bullet_group, LotteryOddsbomOddschart as lottery_oddsbom_oddschart, LotteryOddsbomOddschartInput as lottery_oddsbom_oddschart_input, LotteryOddsbomTicketBoard as lottery_oddsbom_ticket_board, LotteryOddsbomTicketButton as lottery_oddsbom_ticket_button, LotteryOddsbomTicketSelection as lottery_oddsbom_ticket_selection, LotteryTippingDialog as lottery_tipping_dialog };
|