@everymatrix/lottery-tipping-page 1.77.30 → 1.77.32
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/general-multi-select_13.cjs.entry.js +179 -140
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{lottery-tipping-page-12eecd1a.js → lottery-tipping-page-288fd924.js} +3 -2
- package/dist/cjs/lottery-tipping-page.cjs.js +1 -1
- package/dist/collection/components/lottery-tipping-page/lottery-tipping-page.js +20 -2
- package/dist/esm/general-multi-select_13.entry.js +180 -141
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{lottery-tipping-page-7f79b61d.js → lottery-tipping-page-b611e76d.js} +3 -2
- package/dist/esm/lottery-tipping-page.js +1 -1
- package/dist/lottery-tipping-page/general-multi-select_13.entry.js +58 -58
- package/dist/lottery-tipping-page/index.esm.js +1 -1
- package/dist/lottery-tipping-page/lottery-tipping-page-b611e76d.js +1 -0
- package/dist/lottery-tipping-page/lottery-tipping-page.esm.js +1 -1
- package/dist/types/components/lottery-tipping-page/lottery-tipping-page.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/lottery-tipping-page/lottery-tipping-page-7f79b61d.js +0 -1
- package/dist/static/add.svg +0 -8
- package/dist/static/delete.svg +0 -37
- package/dist/static/info.svg +0 -6
- package/dist/static/left-arrow.svg +0 -15
- package/dist/static/loading.svg +0 -10
- package/dist/static/right-arrow.svg +0 -15
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9d5d8231.js');
|
|
6
|
-
const lotteryTippingPage = require('./lottery-tipping-page-
|
|
6
|
+
const lotteryTippingPage = require('./lottery-tipping-page-288fd924.js');
|
|
7
7
|
|
|
8
|
-
const generalMultiSelectCss = ".multi-select-container{position:relative;font-family:\"Inter\", sans-serif;margin-top:4px;width:100%}.flex-row{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;padding:8px 12px;padding-right:4px;border-radius:4px;background:var(--emw-selector-color-background, #e8ebef);cursor:pointer}.control{flex:1;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.control:focus-within{border-color:var(--emw--color-primary, #fed275);box-shadow:0 0 0 2px var(--emw--button-box-shadow-color-secondary, rgba(0, 0, 0, 0.15))}.chip{display:inline-flex;align-items:center;background:var(--emw--color-gray-50, #f5f5f5);color:var(--emw--color-typography, #
|
|
8
|
+
const generalMultiSelectCss = ".multi-select-container{position:relative;font-family:\"Inter\", sans-serif;margin-top:4px;width:100%}.flex-row{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;padding:8px 12px;padding-right:4px;border-radius:4px;background:var(--emw-selector-color-background, #e8ebef);cursor:pointer}.control{flex:1;display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden}.control:focus-within{border-color:var(--emw--color-primary, #fed275);box-shadow:0 0 0 2px var(--emw--button-box-shadow-color-secondary, rgba(0, 0, 0, 0.15))}.chip{display:inline-flex;align-items:center;background:var(--emw--color-gray-50, #f5f5f5);color:var(--emw--color-dialog-typography, #000);border-radius:4px;padding:2px 8px;margin-right:6px;font-size:0.875rem;line-height:1.2;justify-content:space-between;flex:0 1 auto;min-width:0}.chip-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overflow-chip{background:var(--emw--color-gray-100, #e6e6e6);color:var(--emw--color-gray-300, #333);width:20px;text-align:center;display:block}.remove-btn{background:none;border:none;font-size:1rem;margin-left:6px;cursor:pointer;color:var(--emw--color-gray-150, #6f6f6f)}.remove-btn:hover{color:var(--emw--color-error, red)}.placeholder{color:var(--emw--color-gray-150, #6f6f6f);font-size:0.875rem;padding:3px 8px;line-height:1.2}.arrow{margin-left:auto;font-size:0.8rem;width:20px;color:var(--emw--color-gray-150, #6f6f6f)}.dropdown{position:absolute;top:calc(100% + 4px);left:0;width:100%;max-height:240px;overflow-y:auto;border:1px solid var(--emw--color-gray-100, #e6e6e6);border-radius:6px;background:var(--emw--color-dialog-background, #ffffff);box-shadow:0 4px 12px var(--emw--button-box-shadow-color-secondary, rgba(0, 0, 0, 0.15));z-index:10}.dropdown-item{padding:10px 14px;cursor:pointer;font-size:0.875rem;line-height:1.4;transition:background 0.2s}.dropdown-item:hover{background:var(--emw--color-background-tertiary, #ccc);color:var(--emw--color-typography, #000)}.dropdown-item.selected{background:var(--emw--color-background-secondary, #f5f5f5);color:var(--emw--color-typography, #000);font-weight:500}.overflow-popover{position:absolute;top:var(--overflow-top, 0px);left:var(--overflow-left, 0px);max-width:200px;padding:12px;display:flex;flex-wrap:wrap;gap:6px;border:1px solid var(--emw--color-gray-100, #d0d5dd);border-radius:6px;background:var(--emw--color-background, #ffffff);box-shadow:0 4px 12px var(--emw--button-box-shadow-color-secondary, rgba(0, 0, 0, 0.15));z-index:20}";
|
|
9
9
|
const GeneralMultiSelectStyle0 = generalMultiSelectCss;
|
|
10
10
|
|
|
11
11
|
const GeneralMultiSelect = class {
|
|
@@ -440,7 +440,7 @@ const getTranslations$3 = (data) => {
|
|
|
440
440
|
});
|
|
441
441
|
};
|
|
442
442
|
|
|
443
|
-
const lotteryTippingDialogCss = ".dialog-wrapper{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;visibility:hidden;opacity:1;z-index:199}.dialog-wrapper-visible{visibility:visible}.mask{position:fixed;inset:0;background-color:rgba(0, 0, 0, 0.5);opacity:0;z-index:1000;transition:opacity var(--duration) linear}.mask-enter{opacity:1}.mask-leave{opacity:0}.dialog{position:relative;background:var(--emw--color-dialog-background, #fff);border-radius:12px;box-shadow:0 4px 32px rgba(0, 0, 0, 0.15);opacity:0;transform:scale(0.9);transition:all var(--duration) linear;width:100%;max-width:100vw;min-height:200px;overflow:hidden;z-index:1000}.dialog-enter{opacity:1;transform:scale(1)}.dialog-leave{opacity:0}.dialog.fullscreen{width:100vw !important;height:100vh;overflow:auto;max-height:none;border-radius:0;overflow:hidden}.dialog-header{padding:16px 16px 0 16px;display:flex;justify-content:space-between;align-items:center}.dialog-header .dialog-title{margin:0;font-size:1.25rem;font-weight:500;color:var(--emw--color-dialog-typography, #000)}.dialog-header .close-btn{background:transparent;border:none;font-size:1.5rem;width:2rem;height:2rem;color:var(--emw--color-gray-150, #6f6f6f);cursor:pointer;border-radius:4px}.dialog-header .close-btn:hover{background:var(--emw--color-gray-50, #f5f5f5);color:var(--emw--color-gray-300, #333)}.dialog-content{padding:24px;font-size:0.95rem;line-height:1.6;color:var(--emw--color-dialog-typography, #000);flex:1;overflow-y:auto;max-height:calc(100vh - 200px)}.dialog.fullscreen .dialog-content{max-height:none}.dialog-footer{padding:0 16px 16px 16px;display:flex;justify-content:center;gap:12px}.dialog-footer .cancel-btn,.dialog-footer .confirm-btn{padding:10px 24px;border-radius:6px;font-size:0.9rem;cursor:pointer;transition:all 0.3s linear}.dialog-footer .cancel-btn{border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));color:var(--emw--color-gray-300, #333);background:var(--emw--color-gray-400, #fff)}.dialog-footer .cancel-btn:hover{border-color:var(--emw--color-gray-100, #e6e6e6)}.dialog-footer .confirm-btn{border:none;color:var(--emw--color-gray-400, #fff);background:var(--emw-
|
|
443
|
+
const lotteryTippingDialogCss = ".dialog-wrapper{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;visibility:hidden;opacity:1;z-index:199}.dialog-wrapper-visible{visibility:visible}.mask{position:fixed;inset:0;background-color:rgba(0, 0, 0, 0.5);opacity:0;z-index:1000;transition:opacity var(--duration) linear}.mask-enter{opacity:1}.mask-leave{opacity:0}.dialog{position:relative;background:var(--emw--color-dialog-background, #fff);border-radius:12px;box-shadow:0 4px 32px rgba(0, 0, 0, 0.15);opacity:0;transform:scale(0.9);transition:all var(--duration) linear;width:100%;max-width:100vw;min-height:200px;overflow:hidden;z-index:1000}.dialog-enter{opacity:1;transform:scale(1)}.dialog-leave{opacity:0}.dialog.fullscreen{width:100vw !important;height:100vh;overflow:auto;max-height:none;border-radius:0;overflow:hidden}.dialog-header{padding:16px 16px 0 16px;display:flex;justify-content:space-between;align-items:center}.dialog-header .dialog-title{margin:0;font-size:1.25rem;font-weight:500;color:var(--emw--color-dialog-typography, #000)}.dialog-header .close-btn{background:transparent;border:none;font-size:1.5rem;width:2rem;height:2rem;color:var(--emw--color-gray-150, #6f6f6f);cursor:pointer;border-radius:4px}.dialog-header .close-btn:hover{background:var(--emw--color-gray-50, #f5f5f5);color:var(--emw--color-gray-300, #333)}.dialog-content{padding:24px;font-size:0.95rem;line-height:1.6;color:var(--emw--color-dialog-typography, #000);flex:1;overflow-y:auto;max-height:calc(100vh - 200px)}.dialog.fullscreen .dialog-content{max-height:none}.dialog-footer{padding:0 16px 16px 16px;display:flex;justify-content:center;gap:12px}.dialog-footer .cancel-btn,.dialog-footer .confirm-btn{padding:10px 24px;border-radius:6px;font-size:0.9rem;cursor:pointer;transition:all 0.3s linear}.dialog-footer .cancel-btn{border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));color:var(--emw--color-gray-300, #333);background:var(--emw--color-gray-400, #fff)}.dialog-footer .cancel-btn:hover{border-color:var(--emw--color-gray-100, #e6e6e6)}.dialog-footer .confirm-btn{border:none;color:var(--emw--color-gray-400, #fff);background:var(--emw--color-primary, #009993)}.dialog-footer .confirm-btn:hover{background:var(--emw--color-primary-variant, #004d4a)}@media screen and (max-width: 480px){.dialog.fullscreen .dialog-content{padding:12px}}";
|
|
444
444
|
const LotteryTippingDialogStyle0 = lotteryTippingDialogCss;
|
|
445
445
|
|
|
446
446
|
const LotteryTippingDialog = class {
|
|
@@ -10271,10 +10271,34 @@ const LotteryTippingPagination = class {
|
|
|
10271
10271
|
};
|
|
10272
10272
|
LotteryTippingPagination.style = LotteryTippingPaginationStyle0;
|
|
10273
10273
|
|
|
10274
|
+
// This icon file is generated automatically.
|
|
10275
|
+
var DeleteOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
|
|
10276
|
+
const DeleteOutlined$1 = DeleteOutlined;
|
|
10277
|
+
|
|
10274
10278
|
// This icon file is generated automatically.
|
|
10275
10279
|
var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
10276
10280
|
const DownOutlined$1 = DownOutlined;
|
|
10277
10281
|
|
|
10282
|
+
// This icon file is generated automatically.
|
|
10283
|
+
var EllipsisOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "ellipsis", "theme": "outlined" };
|
|
10284
|
+
const EllipsisOutlined$1 = EllipsisOutlined;
|
|
10285
|
+
|
|
10286
|
+
// This icon file is generated automatically.
|
|
10287
|
+
var InfoCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, "name": "info-circle", "theme": "outlined" };
|
|
10288
|
+
const InfoCircleOutlined$1 = InfoCircleOutlined;
|
|
10289
|
+
|
|
10290
|
+
// This icon file is generated automatically.
|
|
10291
|
+
var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" };
|
|
10292
|
+
const LeftOutlined$1 = LeftOutlined;
|
|
10293
|
+
|
|
10294
|
+
// This icon file is generated automatically.
|
|
10295
|
+
var PlusSquareOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "plus-square", "theme": "outlined" };
|
|
10296
|
+
const PlusSquareOutlined$1 = PlusSquareOutlined;
|
|
10297
|
+
|
|
10298
|
+
// This icon file is generated automatically.
|
|
10299
|
+
var RightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, "name": "right", "theme": "outlined" };
|
|
10300
|
+
const RightOutlined$1 = RightOutlined;
|
|
10301
|
+
|
|
10278
10302
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
10279
10303
|
__assign = Object.assign || function(t) {
|
|
10280
10304
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -10324,7 +10348,7 @@ const lotteryTippingPanelCss = ".panel-container{border:2px solid var(--emw--col
|
|
|
10324
10348
|
const LotteryTippingPanelStyle0 = lotteryTippingPanelCss;
|
|
10325
10349
|
|
|
10326
10350
|
const downIcon = renderIconDefinitionToSVGElement(DownOutlined$1, {
|
|
10327
|
-
extraSVGAttrs: { width: '16px', height: '16px', fill: '' }
|
|
10351
|
+
extraSVGAttrs: { width: '16px', height: '16px', fill: 'currentColor' }
|
|
10328
10352
|
});
|
|
10329
10353
|
const lotteryTippingPanel = class {
|
|
10330
10354
|
constructor(hostRef) {
|
|
@@ -10367,7 +10391,7 @@ const lotteryTippingPanel = class {
|
|
|
10367
10391
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
10368
10392
|
}
|
|
10369
10393
|
render() {
|
|
10370
|
-
return (index.h("div", { key: '
|
|
10394
|
+
return (index.h("div", { key: 'a924b69afd386d9a4eea9cd7e68b7421dd3949fc', class: "panel-container", ref: (el) => (this.stylingContainer = el) }, index.h("div", { key: '250ffcdb2c188a099c3323b8bdb983cb01c56d66', class: { 'panel-header': true, active: this.expanded }, onClick: this.togglePanel }, index.h("div", { key: '09ff482c092c4bc534c9e053bd964ac8aad0311a', class: "header-content" }, index.h("slot", { key: 'eb463418cd334b070272d7f32edef2c63a2ad583', name: "header" }, index.h("span", { key: 'ca745afa0ee74494e17e10cf06430ecdaca04070' }, this.headerTitle))), index.h("span", { key: 'ff58468a38f1d37c9d4fe902e528584c8e43a721', class: `arrow ${this.expanded ? 'expanded' : ''}`, innerHTML: downIcon })), index.h("div", { key: '725f0bc8350e4cc5604b500384c1eca3196c60f3', class: `panel-body ${this.expanded ? 'open' : 'closed'}` }, index.h("slot", { key: 'a10bee4011b55784271817a396eaa8aad64c3c0e', name: "content" }))));
|
|
10371
10395
|
}
|
|
10372
10396
|
get el() { return index.getElement(this); }
|
|
10373
10397
|
static get watchers() { return {
|
|
@@ -10378,6 +10402,112 @@ const lotteryTippingPanel = class {
|
|
|
10378
10402
|
};
|
|
10379
10403
|
lotteryTippingPanel.style = LotteryTippingPanelStyle0;
|
|
10380
10404
|
|
|
10405
|
+
const DEFAULT_LANGUAGE$2 = 'en';
|
|
10406
|
+
const SUPPORTED_LANGUAGES$2 = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
10407
|
+
const TRANSLATIONS$2 = {
|
|
10408
|
+
en: {
|
|
10409
|
+
selectionCleared: 'Your selection will be cleared.',
|
|
10410
|
+
ticketSubmitted: 'Ticket submitted successfully.',
|
|
10411
|
+
ticketFailed: 'Failed to purchase the ticket. Please try again.',
|
|
10412
|
+
lines: 'Lines',
|
|
10413
|
+
line: 'Line',
|
|
10414
|
+
bettingType: 'Betting Type',
|
|
10415
|
+
playingMode: 'Playing Mode',
|
|
10416
|
+
orderSummaryTitle: 'Order Summary',
|
|
10417
|
+
orderSummaryTickets: 'Tickets',
|
|
10418
|
+
orderSummaryTotal: 'Total',
|
|
10419
|
+
orderSummarySubmit: 'Submit',
|
|
10420
|
+
cancel: 'Cancel',
|
|
10421
|
+
confirm: 'Confirm'
|
|
10422
|
+
},
|
|
10423
|
+
ro: {
|
|
10424
|
+
selectionCleared: 'Selecția dvs. va fi ștearsă.',
|
|
10425
|
+
ticketSubmitted: 'Bilet trimis cu succes.',
|
|
10426
|
+
ticketFailed: 'Nu s-a putut achiziționa biletul. Vă rugăm să încercați din nou.',
|
|
10427
|
+
lines: 'Linii',
|
|
10428
|
+
line: 'Linie',
|
|
10429
|
+
bettingType: 'Tip de pariu',
|
|
10430
|
+
playingMode: 'Mod de joc',
|
|
10431
|
+
orderSummaryTitle: 'Sumar comandă',
|
|
10432
|
+
orderSummaryTickets: 'Bilete',
|
|
10433
|
+
orderSummaryTotal: 'Total',
|
|
10434
|
+
orderSummarySubmit: 'Trimite',
|
|
10435
|
+
cancel: 'Anulează',
|
|
10436
|
+
confirm: 'Confirmă'
|
|
10437
|
+
},
|
|
10438
|
+
fr: {
|
|
10439
|
+
selectionCleared: 'Votre sélection sera effacée.',
|
|
10440
|
+
ticketSubmitted: 'Billet soumis avec succès.',
|
|
10441
|
+
ticketFailed: "Échec de l'achat du billet. Veuillez réessayer.",
|
|
10442
|
+
lines: 'Lignes',
|
|
10443
|
+
line: 'Ligne',
|
|
10444
|
+
bettingType: 'Type de pari',
|
|
10445
|
+
playingMode: 'Mode de jeu',
|
|
10446
|
+
orderSummaryTitle: 'Résumé de la commande',
|
|
10447
|
+
orderSummaryTickets: 'Billets',
|
|
10448
|
+
orderSummaryTotal: 'Total',
|
|
10449
|
+
orderSummarySubmit: 'Soumettre',
|
|
10450
|
+
cancel: 'Annuler',
|
|
10451
|
+
confirm: 'Confirmer'
|
|
10452
|
+
},
|
|
10453
|
+
ar: {
|
|
10454
|
+
selectionCleared: 'سيتم مسح اختيارك.',
|
|
10455
|
+
ticketSubmitted: 'تم إرسال التذكرة بنجاح.',
|
|
10456
|
+
ticketFailed: 'فشل شراء التذكرة. يرجى المحاولة مرة أخرى.',
|
|
10457
|
+
lines: 'خطوط',
|
|
10458
|
+
line: 'خط',
|
|
10459
|
+
bettingType: 'نوع الرهان',
|
|
10460
|
+
playingMode: 'وضع اللعب',
|
|
10461
|
+
orderSummaryTitle: 'ملخص الطلب',
|
|
10462
|
+
orderSummaryTickets: 'التذاكر',
|
|
10463
|
+
orderSummaryTotal: 'المجموع',
|
|
10464
|
+
orderSummarySubmit: 'إرسال',
|
|
10465
|
+
cancel: 'إلغاء',
|
|
10466
|
+
confirm: 'تأكيد'
|
|
10467
|
+
},
|
|
10468
|
+
hr: {
|
|
10469
|
+
selectionCleared: 'Vaš odabir bit će obrisan.',
|
|
10470
|
+
ticketSubmitted: 'Listić je uspješno predan.',
|
|
10471
|
+
ticketFailed: 'Kupnja listića nije uspjela. Molimo pokušajte ponovo.',
|
|
10472
|
+
lines: 'Linije',
|
|
10473
|
+
line: 'Linija',
|
|
10474
|
+
bettingType: 'Vrsta oklade',
|
|
10475
|
+
playingMode: 'Način igranja',
|
|
10476
|
+
orderSummaryTitle: 'Sažetak narudžbe',
|
|
10477
|
+
orderSummaryTickets: 'Listići',
|
|
10478
|
+
orderSummaryTotal: 'Ukupno',
|
|
10479
|
+
orderSummarySubmit: 'Pošalji',
|
|
10480
|
+
cancel: 'Odustani',
|
|
10481
|
+
confirm: 'Potvrdi'
|
|
10482
|
+
}
|
|
10483
|
+
};
|
|
10484
|
+
const translate$2 = (key, customLang) => {
|
|
10485
|
+
const lang = customLang;
|
|
10486
|
+
return TRANSLATIONS$2[lang !== undefined && SUPPORTED_LANGUAGES$2.includes(lang) ? lang : DEFAULT_LANGUAGE$2][key];
|
|
10487
|
+
};
|
|
10488
|
+
const getTranslations$1 = (data) => {
|
|
10489
|
+
Object.keys(data).forEach((item) => {
|
|
10490
|
+
for (let key in data[item]) {
|
|
10491
|
+
TRANSLATIONS$2[item][key] = data[item][key];
|
|
10492
|
+
}
|
|
10493
|
+
});
|
|
10494
|
+
};
|
|
10495
|
+
const resolveTranslationUrl = async (translationUrl) => {
|
|
10496
|
+
if (translationUrl) {
|
|
10497
|
+
try {
|
|
10498
|
+
const response = await fetch(translationUrl);
|
|
10499
|
+
if (!response.ok) {
|
|
10500
|
+
throw new Error(`HTTP error! status: ${response.status}`);
|
|
10501
|
+
}
|
|
10502
|
+
const translations = await response.json();
|
|
10503
|
+
getTranslations$1(translations);
|
|
10504
|
+
}
|
|
10505
|
+
catch (error) {
|
|
10506
|
+
console.error('Failed to fetch or parse translations from URL:', error);
|
|
10507
|
+
}
|
|
10508
|
+
}
|
|
10509
|
+
};
|
|
10510
|
+
|
|
10381
10511
|
const formatDate$1 = ({ date, type = 'date', format: format$1 }) => {
|
|
10382
10512
|
try {
|
|
10383
10513
|
const parsedDate = parseISO(date);
|
|
@@ -10505,9 +10635,9 @@ const getPlayTypeConfig = ({ rawData, selectedBettingType, selectedPlayingMode }
|
|
|
10505
10635
|
return { betTypeId, betType };
|
|
10506
10636
|
};
|
|
10507
10637
|
|
|
10508
|
-
const DEFAULT_LANGUAGE$
|
|
10509
|
-
const SUPPORTED_LANGUAGES$
|
|
10510
|
-
const TRANSLATIONS$
|
|
10638
|
+
const DEFAULT_LANGUAGE$1 = 'en';
|
|
10639
|
+
const SUPPORTED_LANGUAGES$1 = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
10640
|
+
const TRANSLATIONS$1 = {
|
|
10511
10641
|
en: {
|
|
10512
10642
|
stop: 'Stop',
|
|
10513
10643
|
at: 'at'
|
|
@@ -10529,118 +10659,12 @@ const TRANSLATIONS$2 = {
|
|
|
10529
10659
|
at: 'u'
|
|
10530
10660
|
}
|
|
10531
10661
|
};
|
|
10532
|
-
const translate$2 = (key, customLang) => {
|
|
10533
|
-
const lang = customLang;
|
|
10534
|
-
return TRANSLATIONS$2[lang !== undefined && SUPPORTED_LANGUAGES$2.includes(lang) ? lang : DEFAULT_LANGUAGE$2][key];
|
|
10535
|
-
};
|
|
10536
|
-
|
|
10537
|
-
const DEFAULT_LANGUAGE$1 = 'en';
|
|
10538
|
-
const SUPPORTED_LANGUAGES$1 = ['ro', 'en', 'fr', 'ar', 'hr'];
|
|
10539
|
-
const TRANSLATIONS$1 = {
|
|
10540
|
-
en: {
|
|
10541
|
-
selectionCleared: 'Your selection will be cleared.',
|
|
10542
|
-
ticketSubmitted: 'Ticket submitted successfully.',
|
|
10543
|
-
ticketFailed: 'Failed to purchase the ticket. Please try again.',
|
|
10544
|
-
lines: 'Lines',
|
|
10545
|
-
line: 'Line',
|
|
10546
|
-
bettingType: 'Betting Type',
|
|
10547
|
-
playingMode: 'Playing Mode',
|
|
10548
|
-
orderSummaryTitle: 'Order Summary',
|
|
10549
|
-
orderSummaryTickets: 'Tickets',
|
|
10550
|
-
orderSummaryTotal: 'Total',
|
|
10551
|
-
orderSummarySubmit: 'Submit',
|
|
10552
|
-
cancel: 'Cancel',
|
|
10553
|
-
confirm: 'Confirm'
|
|
10554
|
-
},
|
|
10555
|
-
ro: {
|
|
10556
|
-
selectionCleared: 'Selecția dvs. va fi ștearsă.',
|
|
10557
|
-
ticketSubmitted: 'Bilet trimis cu succes.',
|
|
10558
|
-
ticketFailed: 'Nu s-a putut achiziționa biletul. Vă rugăm să încercați din nou.',
|
|
10559
|
-
lines: 'Linii',
|
|
10560
|
-
line: 'Linie',
|
|
10561
|
-
bettingType: 'Tip de pariu',
|
|
10562
|
-
playingMode: 'Mod de joc',
|
|
10563
|
-
orderSummaryTitle: 'Sumar comandă',
|
|
10564
|
-
orderSummaryTickets: 'Bilete',
|
|
10565
|
-
orderSummaryTotal: 'Total',
|
|
10566
|
-
orderSummarySubmit: 'Trimite',
|
|
10567
|
-
cancel: 'Anulează',
|
|
10568
|
-
confirm: 'Confirmă'
|
|
10569
|
-
},
|
|
10570
|
-
fr: {
|
|
10571
|
-
selectionCleared: 'Votre sélection sera effacée.',
|
|
10572
|
-
ticketSubmitted: 'Billet soumis avec succès.',
|
|
10573
|
-
ticketFailed: "Échec de l'achat du billet. Veuillez réessayer.",
|
|
10574
|
-
lines: 'Lignes',
|
|
10575
|
-
line: 'Ligne',
|
|
10576
|
-
bettingType: 'Type de pari',
|
|
10577
|
-
playingMode: 'Mode de jeu',
|
|
10578
|
-
orderSummaryTitle: 'Résumé de la commande',
|
|
10579
|
-
orderSummaryTickets: 'Billets',
|
|
10580
|
-
orderSummaryTotal: 'Total',
|
|
10581
|
-
orderSummarySubmit: 'Soumettre',
|
|
10582
|
-
cancel: 'Annuler',
|
|
10583
|
-
confirm: 'Confirmer'
|
|
10584
|
-
},
|
|
10585
|
-
ar: {
|
|
10586
|
-
selectionCleared: 'سيتم مسح اختيارك.',
|
|
10587
|
-
ticketSubmitted: 'تم إرسال التذكرة بنجاح.',
|
|
10588
|
-
ticketFailed: 'فشل شراء التذكرة. يرجى المحاولة مرة أخرى.',
|
|
10589
|
-
lines: 'خطوط',
|
|
10590
|
-
line: 'خط',
|
|
10591
|
-
bettingType: 'نوع الرهان',
|
|
10592
|
-
playingMode: 'وضع اللعب',
|
|
10593
|
-
orderSummaryTitle: 'ملخص الطلب',
|
|
10594
|
-
orderSummaryTickets: 'التذاكر',
|
|
10595
|
-
orderSummaryTotal: 'المجموع',
|
|
10596
|
-
orderSummarySubmit: 'إرسال',
|
|
10597
|
-
cancel: 'إلغاء',
|
|
10598
|
-
confirm: 'تأكيد'
|
|
10599
|
-
},
|
|
10600
|
-
hr: {
|
|
10601
|
-
selectionCleared: 'Vaš odabir bit će obrisan.',
|
|
10602
|
-
ticketSubmitted: 'Listić je uspješno predan.',
|
|
10603
|
-
ticketFailed: 'Kupnja listića nije uspjela. Molimo pokušajte ponovo.',
|
|
10604
|
-
lines: 'Linije',
|
|
10605
|
-
line: 'Linija',
|
|
10606
|
-
bettingType: 'Vrsta oklade',
|
|
10607
|
-
playingMode: 'Način igranja',
|
|
10608
|
-
orderSummaryTitle: 'Sažetak narudžbe',
|
|
10609
|
-
orderSummaryTickets: 'Listići',
|
|
10610
|
-
orderSummaryTotal: 'Ukupno',
|
|
10611
|
-
orderSummarySubmit: 'Pošalji',
|
|
10612
|
-
cancel: 'Odustani',
|
|
10613
|
-
confirm: 'Potvrdi'
|
|
10614
|
-
}
|
|
10615
|
-
};
|
|
10616
10662
|
const translate$1 = (key, customLang) => {
|
|
10617
10663
|
const lang = customLang;
|
|
10618
10664
|
return TRANSLATIONS$1[lang !== undefined && SUPPORTED_LANGUAGES$1.includes(lang) ? lang : DEFAULT_LANGUAGE$1][key];
|
|
10619
10665
|
};
|
|
10620
|
-
const getTranslations$1 = (data) => {
|
|
10621
|
-
Object.keys(data).forEach((item) => {
|
|
10622
|
-
for (let key in data[item]) {
|
|
10623
|
-
TRANSLATIONS$1[item][key] = data[item][key];
|
|
10624
|
-
}
|
|
10625
|
-
});
|
|
10626
|
-
};
|
|
10627
|
-
const resolveTranslationUrl = async (translationUrl) => {
|
|
10628
|
-
if (translationUrl) {
|
|
10629
|
-
try {
|
|
10630
|
-
const response = await fetch(translationUrl);
|
|
10631
|
-
if (!response.ok) {
|
|
10632
|
-
throw new Error(`HTTP error! status: ${response.status}`);
|
|
10633
|
-
}
|
|
10634
|
-
const translations = await response.json();
|
|
10635
|
-
getTranslations$1(translations);
|
|
10636
|
-
}
|
|
10637
|
-
catch (error) {
|
|
10638
|
-
console.error('Failed to fetch or parse translations from URL:', error);
|
|
10639
|
-
}
|
|
10640
|
-
}
|
|
10641
|
-
};
|
|
10642
10666
|
|
|
10643
|
-
const lotteryTippingTicketBannerCss = ".lottery-tipping-ticket-banner__container {\n font-family: system-ui, sans-serif;\n font-size: 14px;\n container-type: inline-size;\n}\n\n.banner {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: 0 1rem;\n background: var(--emw--color-primary, #fed275);\n border-top: 2px solid var(--emw--color-primary, #fed275);\n border-bottom: 2px solid var(--emw--color-primary, #fed275);\n gap: 0.5rem;\n white-space: nowrap;\n position: relative;\n height: 46px;\n}\n\n.left {\n flex: 1;\n gap: 0.4rem;\n}\n.left .logo {\n width: 216px;\n position: absolute;\n top: -7px;\n}\n\n.brand {\n font-weight: 700;\n color: var(--emw--color-typography, #000);\n}\n\n.mid {\n flex: 1;\n font-size: 1.5rem;\n font-weight: 800;\n font-style: italic;\n letter-spacing: 0.04em;\n color: var(--emw--color-typography, #000);\n text-align: center;\n}\n\n.right {\n flex: 1;\n display: flex;\n gap: 0.4rem;\n flex-wrap: wrap;\n justify-content: flex-end;\n}\n\n@container (max-width: 420px) {\n .mid {\n text-align: right;\n }\n .right {\n justify-content: center;\n }\n}\n.pill {\n
|
|
10667
|
+
const lotteryTippingTicketBannerCss = ".lottery-tipping-ticket-banner__container {\n font-family: system-ui, sans-serif;\n font-size: 14px;\n container-type: inline-size;\n}\n\n.banner {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: 0 1rem;\n background: var(--emw--color-primary, #fed275);\n border-top: 2px solid var(--emw--color-primary, #fed275);\n border-bottom: 2px solid var(--emw--color-primary, #fed275);\n gap: 0.5rem;\n white-space: nowrap;\n position: relative;\n height: 46px;\n}\n\n.left {\n flex: 1;\n gap: 0.4rem;\n}\n.left .logo {\n width: 216px;\n position: absolute;\n top: -7px;\n}\n\n.brand {\n font-weight: 700;\n color: var(--emw--color-typography, #000);\n}\n\n.mid {\n flex: 1;\n font-size: 1.5rem;\n font-weight: 800;\n font-style: italic;\n letter-spacing: 0.04em;\n color: var(--emw--color-typography, #000);\n text-align: center;\n}\n\n.right {\n flex: 1;\n display: flex;\n gap: 0.4rem;\n flex-wrap: wrap;\n justify-content: flex-end;\n}\n\n@container (max-width: 420px) {\n .mid {\n text-align: right;\n }\n .right {\n justify-content: center;\n }\n}\n.pill {\n padding: 0.25rem 0.7rem;\n font-size: 0.9rem;\n color: var(--emw--color-gray-400, #000);\n display: inline-flex;\n align-items: baseline;\n}\n\n.pill > strong {\n font-weight: 700;\n}";
|
|
10644
10668
|
const LotteryTippingTicketBannerStyle0 = lotteryTippingTicketBannerCss;
|
|
10645
10669
|
|
|
10646
10670
|
const LotteryTippingTicketBanner = class {
|
|
@@ -10651,6 +10675,7 @@ const LotteryTippingTicketBanner = class {
|
|
|
10651
10675
|
this.clientStylingUrl = undefined;
|
|
10652
10676
|
this.language = 'en';
|
|
10653
10677
|
this.translationUrl = '';
|
|
10678
|
+
this.logoUrl = undefined;
|
|
10654
10679
|
this.stopTime = '';
|
|
10655
10680
|
this.period = undefined;
|
|
10656
10681
|
}
|
|
@@ -10707,8 +10732,7 @@ const LotteryTippingTicketBanner = class {
|
|
|
10707
10732
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
10708
10733
|
}
|
|
10709
10734
|
render() {
|
|
10710
|
-
|
|
10711
|
-
return (index.h("div", { key: '07515ab821761d26edcc285f83f6e81dfab269ca', ref: (el) => (this.stylingContainer = el), class: "lottery-tipping-ticket-banner__container" }, index.h("section", { key: 'bbd8a3ae1b718f77b726dc89be4f901757579541', class: "banner" }, index.h("div", { key: '2b1883da2db0bfae83e5b4997c999fff433eb7a8', class: "left" }, index.h("img", { key: '54b482734d27bdfbbd2983bc95704273195fdd0d', alt: "Betting", src: backgroundImagePath, class: "logo" })), index.h("div", { key: '2a735ea687f0aaea72b0142f7026c9da0e15195d', class: "mid period" }, this.formattedPeriod), index.h("div", { key: '9c797b4a3bc6d2f0a69f4fd8af07f80eb765d0aa', class: "right" }, index.h("span", { key: '8c3abf153cf7f9ee1e2afcd42f67f7d90fe2f2a6', class: "pill" }, index.h("strong", { key: '4b3d99c269b4f494f62cbacc943f93f248004a96' }, translate$2('stop', this.language)), "\u00A0", translate$2('at', this.language), "\u00A0", this.formattedStopTime)))));
|
|
10735
|
+
return (index.h("div", { key: '8b8b9d66021090e8a4f566e11908341fb6a65bad', ref: (el) => (this.stylingContainer = el), class: "lottery-tipping-ticket-banner__container" }, index.h("section", { key: '37d23ad6aca6c4a02283a78e6011d0c6e4f81dff', class: "banner" }, index.h("div", { key: '919a9f7535468d5d75fa21e5c48c56c6c994aea7', class: "left" }, this.logoUrl && index.h("img", { key: '1d8e9f3e9ed7eaec36b604401c0a4045d735c209', alt: "Betting", src: this.logoUrl, class: "logo" })), index.h("div", { key: '3cdc189bcab34d964e6a17339c60e449ba4883d7', class: "mid period" }, this.formattedPeriod), index.h("div", { key: '526f90497ed8a14ba03d04cffbbe7c263b0bd23c', class: "right" }, index.h("span", { key: '00676d5b0fae7ad7b4d2cf549572ae7b3d3091c1', class: "pill" }, index.h("strong", { key: 'dde2bac5a9316cf97d34a19a433e6bcb74d50750' }, translate$1('stop', this.language)), "\u00A0", translate$1('at', this.language), "\u00A0", this.formattedStopTime)))));
|
|
10712
10736
|
}
|
|
10713
10737
|
static get assetsDirs() { return ["../static"]; }
|
|
10714
10738
|
static get watchers() { return {
|
|
@@ -10845,16 +10869,30 @@ const showNotification = ({ message, theme = 'success' }) => {
|
|
|
10845
10869
|
});
|
|
10846
10870
|
};
|
|
10847
10871
|
|
|
10848
|
-
const lotteryTippingTicketBetCss = ".LotteryTippingTicketBet__container {\n display: block; /* Or inline-block, depending on desired layout flow */\n font-size: 14px;\n line-height: 1.5715;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n overflow: hidden;\n min-width: 300px;\n container-type: inline-size;\n}\n@container (max-width: 375px) {\n .LotteryTippingTicketBet__container {\n font-size: 12px;\n }\n}\n\n.table-wrapper {\n overflow-x: auto; /* Handle horizontal scroll if content overflows */\n}\n\n.my-table-component {\n width: 100%;\n border-collapse: collapse; /* Important for borders */\n text-align: left;\n border-radius: 0.1rem; /* Ant Design like subtle rounding */\n border-spacing: 0;\n}\n\n/* Header */\n.my-table-component th {\n background: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n font-weight: 500;\n padding: 0.4rem 0.5rem;\n transition: background 0.3s ease;\n}\n\n/* Cells */\n.my-table-component td {\n padding: 0.4rem 0.5rem;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n transition: background 0.3s;\n}\n@container (max-width: 400px) {\n .my-table-component td {\n padding: 0.3rem 0.3rem;\n }\n}\n\n.my-table-component.bordered th,\n.my-table-component.bordered td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Bordered style */\n.my-table-component.grid th,\n.my-table-component.grid td {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid th {\n border-bottom-width: 1px; /* Ensure bottom border is consistent */\n}\n\n.my-table-component.grid {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6); /* Outer border */\n border-right-width: 0;\n border-bottom-width: 0;\n}\n\n.my-table-component.grid th:last-child,\n.my-table-component.grid td:last-child {\n border-right: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid tr:last-child td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Striped style */\n.my-table-component.striped tbody tr:nth-child(even) td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n/* Hover (optional, but nice) */\n.my-table-component tbody tr:hover td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.flex {\n display: flex;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.gap-1 {\n gap: 4px;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.align-center {\n align-items: center;\n}\n\n.gap-1 {\n gap: 0.5rem;\n}\n\n.btn {\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n font-size: 14px;\n transition: all 0.2s ease;\n}\n.btn:hover {\n cursor: pointer;\n}\n\n.btn:hover {\n background-color: var(--emw--color-gray-100, #e6e6e6);\n}\n\n.btn.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n.btn.disabled:hover {\n cursor: not-allowed !important;\n}\n\n.LotteryTippingTicketBet__tableToolbar {\n width: 100%;\n margin-bottom: 1rem;\n}\n\n.LotteryTippingTicketBet__tableToolbar--item {\n background-color: transparent;\n cursor: pointer;\n font-weight: 500;\n white-space: nowrap;\n display: inline-flex;\n border-radius: 1.6rem;\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 1rem;\n padding-right: 1rem;\n margin-right: 2rem;\n color: var(--emw--color-typography, #000);\n}\n.LotteryTippingTicketBet__tableToolbar--item.mr-0 {\n margin-right: 0rem !important;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup {\n flex-basis: 2rem;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n border-radius: 8px;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 2rem;\n height: 2rem;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n border-radius: 8px;\n transition: all 0.2s ease-in-out;\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item img {\n width: 20px;\n height: 20px;\n transition: filter 0.2s ease-in-out;\n filter: grayscale(0.3);\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover img {\n filter: grayscale(0);\n transform: rotate(3deg);\n}\n\ndiv.border-line {\n margin-top: 1rem;\n height: 1px;\n width: 100%;\n box-sizing: border-box;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n transition: all 0.3s ease;\n}\n\n.LotteryTippingTicketBet__footer {\n padding: 0.5rem;\n}\n\n.my-pagination {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 1rem;\n font-size: 0.8rem;\n color: var(--emw--color-typography-secondary, #333);\n}\n\n.my-pagination span {\n font-weight: 500;\n user-select: none;\n}\n\n.my-pagination .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n transition: all 0.3s ease;\n cursor: pointer;\n opacity: 0.9;\n color: var(--emw--color-typography, #000);\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.my-pagination .btn img {\n width: 20px;\n height: 20px;\n transition: transform 0.2s ease;\n}\n\n.my-pagination .btn:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.my-pagination .btn.disabled {\n background-color: var(--emw--color-background-tertiary, #ccc);\n cursor: not-allowed;\n opacity: 0.5;\n transform: scale(1);\n}\n\n.match-info-item {\n display: flex;\n}\n\n.match-info-item-label {\n margin-right: 6px;\n}\n\n.info-icon:hover {\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__empty p {\n text-align: center;\n}\n\n.no-wrap {\n white-space: nowrap;\n overflow: hidden;\n}\n\n.eventNameContainer__item {\n line-height: 1rem;\n}\n.eventNameContainer__item--title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 300px;\n}\n@container (max-width: 600px) {\n .eventNameContainer__item--title {\n max-width: 180px;\n }\n}\n@container (max-width: 500px) {\n .eventNameContainer__item--title {\n max-width: 150px;\n }\n}\n@container (max-width: 400px) {\n .eventNameContainer__item--title {\n max-width: 100px;\n }\n}\n@container (max-width: 330px) {\n .eventNameContainer__item--title {\n max-width: 70px;\n }\n}\n\n.LotteryTippingTicketBet__main {\n perspective: 800px;\n will-change: transform, opacity;\n backface-visibility: hidden;\n}\n\n@container (max-width: 520px) {\n .LotteryTippingTicketBet__main {\n flex-wrap: wrap;\n justify-content: center;\n }\n .LotteryTippingTicketBet__tableToolbar--item {\n margin-right: 0 !important;\n }\n}\n/* Fade-In Keyframes */\n@keyframes fadeInLeft {\n from {\n opacity: 0;\n transform: translateX(100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* Fade-Out Keyframes */\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes fadeInRight {\n from {\n opacity: 0;\n transform: translateX(-100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fadeInUp {\n from {\n opacity: 0;\n transform: translateY(100%);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n@-webkit-keyframes slide-left {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 100% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n}\n@keyframes slide-left {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n@keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n/* Apply to your card classes */\n.card-in-left {\n -webkit-animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-left {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-right {\n -webkit-animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-right {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-up {\n -webkit-animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-down {\n animation: fadeOut 0.2s ease-out both;\n}";
|
|
10872
|
+
const lotteryTippingTicketBetCss = ".LotteryTippingTicketBet__container {\n display: block; /* Or inline-block, depending on desired layout flow */\n font-size: 14px;\n line-height: 1.5715;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n overflow: hidden;\n min-width: 300px;\n container-type: inline-size;\n}\n@container (max-width: 375px) {\n .LotteryTippingTicketBet__container {\n font-size: 12px;\n }\n}\n\n.table-wrapper {\n overflow-x: auto; /* Handle horizontal scroll if content overflows */\n}\n\n.my-table-component {\n width: 100%;\n border-collapse: collapse; /* Important for borders */\n text-align: left;\n border-radius: 0.1rem; /* Ant Design like subtle rounding */\n border-spacing: 0;\n}\n\n/* Header */\n.my-table-component th {\n background: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n font-weight: 500;\n padding: 0.4rem 0.5rem;\n transition: background 0.3s ease;\n}\n\n/* Cells */\n.my-table-component td {\n padding: 0.4rem 0.5rem;\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n transition: background 0.3s;\n}\n@container (max-width: 400px) {\n .my-table-component td {\n padding: 0.3rem 0.3rem;\n }\n}\n\n.my-table-component.bordered th,\n.my-table-component.bordered td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Bordered style */\n.my-table-component.grid th,\n.my-table-component.grid td {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid th {\n border-bottom-width: 1px; /* Ensure bottom border is consistent */\n}\n\n.my-table-component.grid {\n border: 1px solid var(--emw--color-gray-100, #e6e6e6); /* Outer border */\n border-right-width: 0;\n border-bottom-width: 0;\n}\n\n.my-table-component.grid th:last-child,\n.my-table-component.grid td:last-child {\n border-right: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n.my-table-component.grid tr:last-child td {\n border-bottom: 1px solid var(--emw--color-gray-100, #e6e6e6);\n}\n\n/* Striped style */\n.my-table-component.striped tbody tr:nth-child(even) td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n/* Hover (optional, but nice) */\n.my-table-component tbody tr:hover td {\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.flex {\n display: flex;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.gap-1 {\n gap: 4px;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.align-center {\n align-items: center;\n}\n\n.gap-1 {\n gap: 0.5rem;\n}\n\n.btn {\n color: var(--emw--color-typography, #000);\n background: var(--emw--color-background, #fff);\n font-size: 14px;\n transition: all 0.2s ease;\n}\n.btn:hover {\n cursor: pointer;\n}\n\n.btn:hover {\n background-color: var(--emw--color-gray-100, #e6e6e6);\n}\n\n.btn.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n.btn.disabled:hover {\n cursor: not-allowed !important;\n}\n\n.LotteryTippingTicketBet__tableToolbar {\n width: 100%;\n margin-bottom: 1rem;\n}\n\n.LotteryTippingTicketBet__tableToolbar--item {\n background-color: transparent;\n cursor: pointer;\n font-weight: 500;\n white-space: nowrap;\n display: inline-flex;\n border-radius: 1.6rem;\n border: 1px solid var(--emw--color-gray-100, #e6e6e6);\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 1rem;\n padding-right: 1rem;\n margin-right: 2rem;\n color: var(--emw--color-typography, #000);\n}\n.LotteryTippingTicketBet__tableToolbar--item.mr-0 {\n margin-right: 0rem !important;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup {\n flex-basis: 2rem;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n border-radius: 8px;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 2rem;\n height: 2rem;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n border-radius: 8px;\n transition: all 0.2s ease-in-out;\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item .icon {\n width: 20px;\n height: 20px;\n transition: filter 0.2s ease-in-out;\n filter: grayscale(0.3);\n}\n\n.LotteryTippingTicketBet__lineOperatorGroup--item:hover .icon {\n filter: grayscale(0);\n transform: rotate(3deg);\n}\n\ndiv.border-line {\n margin-top: 1rem;\n height: 1px;\n width: 100%;\n box-sizing: border-box;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n transition: all 0.3s ease;\n}\n\n.LotteryTippingTicketBet__footer {\n padding: 0.5rem;\n}\n\n.my-pagination {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 1rem;\n font-size: 0.8rem;\n color: var(--emw--color-typography-secondary, #333);\n}\n\n.my-pagination span {\n font-weight: 500;\n user-select: none;\n}\n\n.my-pagination .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n transition: all 0.3s ease;\n cursor: pointer;\n opacity: 0.9;\n color: var(--emw--color-typography, #000);\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n}\n\n.my-pagination .btn .icon {\n width: 20px;\n height: 20px;\n transition: transform 0.2s ease;\n}\n\n.my-pagination .btn:hover {\n transform: scale(1.1);\n box-shadow: 0 6px 14px var(--emw-calender-curday-box-shadow, rgba(0, 0, 0, 0.09));\n}\n\n.my-pagination .btn.disabled {\n background-color: var(--emw--color-background-tertiary, #ccc);\n cursor: not-allowed;\n opacity: 0.5;\n transform: scale(1);\n}\n\n.match-info-item {\n display: flex;\n}\n\n.match-info-item-label {\n margin-right: 6px;\n}\n\n.info-icon:hover {\n cursor: pointer;\n}\n\n.LotteryTippingTicketBet__empty p {\n text-align: center;\n}\n\n.no-wrap {\n white-space: nowrap;\n overflow: hidden;\n}\n\n.eventNameContainer__item--title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 300px;\n}\n@container (max-width: 600px) {\n .eventNameContainer__item--title {\n max-width: 180px;\n }\n}\n@container (max-width: 500px) {\n .eventNameContainer__item--title {\n max-width: 150px;\n }\n}\n@container (max-width: 400px) {\n .eventNameContainer__item--title {\n max-width: 100px;\n }\n}\n@container (max-width: 330px) {\n .eventNameContainer__item--title {\n max-width: 70px;\n }\n}\n\n.LotteryTippingTicketBet__main {\n perspective: 800px;\n will-change: transform, opacity;\n backface-visibility: hidden;\n}\n\n@container (max-width: 520px) {\n .LotteryTippingTicketBet__main {\n flex-wrap: wrap;\n justify-content: center;\n }\n .LotteryTippingTicketBet__tableToolbar--item {\n margin-right: 0 !important;\n }\n}\n/* Fade-In Keyframes */\n@keyframes fadeInLeft {\n from {\n opacity: 0;\n transform: translateX(100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n/* Fade-Out Keyframes */\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@keyframes fadeInRight {\n from {\n opacity: 0;\n transform: translateX(-100%);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n}\n@keyframes fadeInUp {\n from {\n opacity: 0;\n transform: translateY(100%);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n@-webkit-keyframes slide-left {\n 0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 100% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n}\n@keyframes slide-left {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@-webkit-keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0px);\n transform: translateX(0px);\n }\n}\n@keyframes slide-right {\n 0% {\n -webkit-transform: translateX(-100px);\n transform: translateX(-100px);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n@keyframes slide-top {\n 0% {\n -webkit-transform: translateY(-100px);\n transform: translateY(-100px);\n }\n 100% {\n -webkit-transform: translateY(0px);\n transform: translateY(0px);\n }\n}\n/* Apply to your card classes */\n.card-in-left {\n -webkit-animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-left {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-right {\n -webkit-animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-right {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.card-in-up {\n -webkit-animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n animation: slide-top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;\n}\n\n.card-out-down {\n animation: fadeOut 0.2s ease-out both;\n}\n\n.loading-wrap {\n margin: 20px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 40vh;\n}\n.loading-wrap .dots-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n.loading-wrap .dot {\n height: 14px;\n width: 14px;\n margin-right: 14px;\n border-radius: 14px;\n background-color: var(--emw--color-gray-300, #333);\n animation: pulse 1.5s infinite ease-in-out;\n}\n.loading-wrap .dot:last-child {\n margin-right: 0;\n}\n.loading-wrap .dot:nth-child(1) {\n animation-delay: -0.3s;\n}\n.loading-wrap .dot:nth-child(2) {\n animation-delay: -0.1s;\n}\n.loading-wrap .dot:nth-child(3) {\n animation-delay: 0.1s;\n}\n@keyframes pulse {\n 0% {\n transform: scale(0.8);\n background-color: var(--emw--color-gray-300, #333);\n }\n 50% {\n transform: scale(1.2);\n background-color: var(--emw--color-gray-100, #e6e6e6);\n }\n 100% {\n transform: scale(0.8);\n background-color: var(--emw--color-gray-150, #6f6f6f);\n }\n}";
|
|
10849
10873
|
const LotteryTippingTicketBetStyle0 = lotteryTippingTicketBetCss;
|
|
10850
10874
|
|
|
10875
|
+
const addImagePath = renderIconDefinitionToSVGElement(PlusSquareOutlined$1, {
|
|
10876
|
+
extraSVGAttrs: { width: '20px', height: '20px', fill: 'currentColor' }
|
|
10877
|
+
});
|
|
10878
|
+
const deleteImagePath = renderIconDefinitionToSVGElement(DeleteOutlined$1, {
|
|
10879
|
+
extraSVGAttrs: { width: '20px', height: '20px', fill: 'currentColor' }
|
|
10880
|
+
});
|
|
10881
|
+
const infoImagePath = renderIconDefinitionToSVGElement(InfoCircleOutlined$1, {
|
|
10882
|
+
extraSVGAttrs: { width: '16px', height: '16px', fill: 'currentColor' }
|
|
10883
|
+
});
|
|
10884
|
+
const leftImagePath = renderIconDefinitionToSVGElement(LeftOutlined$1, {
|
|
10885
|
+
extraSVGAttrs: { width: '20px', height: '20px', fill: 'currentColor' }
|
|
10886
|
+
});
|
|
10887
|
+
const rightImagePath = renderIconDefinitionToSVGElement(RightOutlined$1, {
|
|
10888
|
+
extraSVGAttrs: { width: '20px', height: '20px', fill: 'currentColor' }
|
|
10889
|
+
});
|
|
10851
10890
|
const LotteryTippingTicketBet = class {
|
|
10852
10891
|
constructor(hostRef) {
|
|
10853
10892
|
index.registerInstance(this, hostRef);
|
|
10854
10893
|
this.lotteryTippingBulletBetEvent = index.createEvent(this, "lotteryTippingBulletBetSelect", 7);
|
|
10855
10894
|
this.lotteryTippingCurrentPageChangeEvent = index.createEvent(this, "lotteryTippingCurrentPageChange", 7);
|
|
10856
|
-
this.
|
|
10857
|
-
this.eventNameRender = (item, value) => (index.h("div", { class: "flex gap-1 eventNameContainer__item" }, index.h("span", { class: "eventNameContainer__item--title" }, value), index.h("general-tooltip", null, index.h("img", { slot: "trigger", class: "info-icon", src: this.infoImagePath, style: { width: '18px' } }), index.h("div", { slot: "content" }, index.h("div", { class: "match-info" }, index.h("div", { class: "match-info-item" }, index.h("div", { class: "match-info-item-label" }, translate('homeTeam', this.language)), index.h("div", { class: "match-info-item-value" }, item.homeName)), index.h("div", { class: "match-info-item" }, index.h("div", { class: "match-info-item-label" }, translate('awayTeam', this.language)), index.h("div", { class: "match-info-item-value" }, item.awayName)))))));
|
|
10895
|
+
this.eventNameRender = (item, value) => (index.h("div", { class: "flex gap-1 eventNameContainer__item" }, index.h("span", { class: "eventNameContainer__item--title" }, value), index.h("general-tooltip", null, index.h("span", { slot: "trigger", class: "icon info-icon", innerHTML: infoImagePath, style: { width: '18px' } }), index.h("div", { slot: "content" }, index.h("div", { class: "match-info" }, index.h("div", { class: "match-info-item" }, index.h("div", { class: "match-info-item-label" }, translate('homeTeam', this.language)), index.h("div", { class: "match-info-item-value" }, item.homeName)), index.h("div", { class: "match-info-item" }, index.h("div", { class: "match-info-item-label" }, translate('awayTeam', this.language)), index.h("div", { class: "match-info-item-value" }, item.awayName)))))));
|
|
10858
10896
|
this.columns = [
|
|
10859
10897
|
{ title: '', value: 'index', width: 3 },
|
|
10860
10898
|
{
|
|
@@ -11120,11 +11158,13 @@ const LotteryTippingTicketBet = class {
|
|
|
11120
11158
|
handleCurrentPageChange() {
|
|
11121
11159
|
this.lotteryTippingCurrentPageChangeEvent.emit({ currentPage: this.currentPage });
|
|
11122
11160
|
}
|
|
11161
|
+
renderLoading() {
|
|
11162
|
+
return (index.h("div", { class: "loading-wrap" }, index.h("section", { class: "dots-container" }, index.h("div", { class: "dot" }), index.h("div", { class: "dot" }), index.h("div", { class: "dot" }), index.h("div", { class: "dot" }), index.h("div", { class: "dot" }))));
|
|
11163
|
+
}
|
|
11123
11164
|
render() {
|
|
11124
11165
|
var _a, _b, _c, _d;
|
|
11125
|
-
const loadingImagePath = index.getAssetPath('../static/loading.svg');
|
|
11126
11166
|
if (this.isLoading) {
|
|
11127
|
-
return
|
|
11167
|
+
return this.renderLoading();
|
|
11128
11168
|
}
|
|
11129
11169
|
if (this.hasErrors) {
|
|
11130
11170
|
return (index.h("div", { ref: (el) => (this.stylingContainer = el), class: "LotteryTippingTicketBet__container" }, index.h("p", null, translate('error', this.language))));
|
|
@@ -11133,10 +11173,6 @@ const LotteryTippingTicketBet = class {
|
|
|
11133
11173
|
var _a;
|
|
11134
11174
|
return (index.h("th", { key: column.value, style: { width: column.width + '%', textAlign: column.align } }, typeof column.title === 'string' ? column.title : (_a = column.title) === null || _a === void 0 ? void 0 : _a.call(column)));
|
|
11135
11175
|
})))), index.h("tbody", null, dataSource.map((row, index$1) => (index.h("tr", { key: index$1 }, columns.map((column) => (index.h("td", { key: column.value, style: { width: column.width + '%', textAlign: column.align }, class: { 'no-wrap': column.nowrap } }, column.render ? column.render(row, row[column.value], index$1) : row[column.value])))))))));
|
|
11136
|
-
const deleteImagePath = index.getAssetPath('../static/delete.svg');
|
|
11137
|
-
const addImagePath = index.getAssetPath('../static/add.svg');
|
|
11138
|
-
const leftImagePath = index.getAssetPath('../static/left-arrow.svg');
|
|
11139
|
-
const rightImagePath = index.getAssetPath('../static/right-arrow.svg');
|
|
11140
11176
|
const lineOperatorAddShow = this.totalPages < this.maxTotalPages && this.currentPage === this.totalPages ? true : false;
|
|
11141
11177
|
const lineOperatorRemoveShow = this.totalPages > this.minTotalPages ? true : false;
|
|
11142
11178
|
if (this.ticketDataSource.length === 0 || this.minTotalPages === 0 || this.maxTotalPages === 0) {
|
|
@@ -11146,16 +11182,16 @@ const LotteryTippingTicketBet = class {
|
|
|
11146
11182
|
return (index.h("div", { class: "LotteryTippingTicketBet__container", ref: (el) => (this.stylingContainer = el) }, index.h("div", { class: "LotteryTippingTicketBet__main", ref: (el) => (this.mainContainer = el) }, index.h(MyTable, { columns: this.columns, dataSource: ((_a = this.ticketDataSource) === null || _a === void 0 ? void 0 : _a.map((item, index) => (Object.assign(Object.assign({}, item), { index: index + 1 })))) || [], hideHead: false, grid: false, bordered: false }), this.totalPages > 1 && (index.h("div", null, index.h("div", { class: 'border-line' }), index.h("div", { class: "LotteryTippingTicketBet__footer" }, index.h("div", { class: "my-pagination flex justify-between" }, index.h("span", null, translate('lineInfo', this.language, {
|
|
11147
11183
|
currentPage: this.currentPage,
|
|
11148
11184
|
totalPages: this.totalPages
|
|
11149
|
-
})), index.h("div", { class: 'flex gap-1' }, index.h("span", { class: `btn ${this.currentPage === 1 ? 'disabled' : ''}`, onClick: this.prevPage.bind(this) }, index.h("
|
|
11185
|
+
})), index.h("div", { class: 'flex gap-1' }, index.h("span", { class: `btn ${this.currentPage === 1 ? 'disabled' : ''}`, onClick: this.prevPage.bind(this) }, index.h("span", { class: "icon", innerHTML: leftImagePath })), index.h("span", { class: `btn ${this.currentPage === this.totalPages ? 'disabled' : ''}`, onClick: this.nextPage.bind(this) }, index.h("span", { class: "icon", innerHTML: rightImagePath }))))))))));
|
|
11150
11186
|
}
|
|
11151
11187
|
return (index.h("div", { ref: (el) => (this.stylingContainer = el), class: "LotteryTippingTicketBet__container" }, index.h("div", { class: "LotteryTippingTicketBet__tableToolbar flex justify-end gap-1" }, index.h("button", { class: {
|
|
11152
11188
|
'LotteryTippingTicketBet__tableToolbar--item': true,
|
|
11153
11189
|
'mr-0': !(lineOperatorAddShow || lineOperatorRemoveShow)
|
|
11154
11190
|
}, onClick: this.handleClearAll.bind(this) }, translate('clearAll', this.language))), index.h("div", { class: "flex align-center LotteryTippingTicketBet__main", ref: (el) => (this.mainContainer = el) }, index.h(MyTable, { columns: this.columns, dataSource: ((_b = this.ticketDataSource) === null || _b === void 0 ? void 0 : _b.map((item, index) => (Object.assign(Object.assign({}, item), { index: index + 1 })))) || [], hideHead: false, grid: false, bordered: false }), (lineOperatorAddShow || lineOperatorRemoveShow) && (index.h("div", { class: "LotteryTippingTicketBet__lineOperatorGroup" }, lineOperatorAddShow && (index.h("div", { class: {
|
|
11155
11191
|
'LotteryTippingTicketBet__lineOperatorGroup--item': true
|
|
11156
|
-
}, onClick: this.handleAddLine.bind(this) }, index.h("
|
|
11192
|
+
}, onClick: this.handleAddLine.bind(this) }, index.h("span", { class: "icon", innerHTML: addImagePath }))), lineOperatorRemoveShow && (index.h("div", { class: {
|
|
11157
11193
|
'LotteryTippingTicketBet__lineOperatorGroup--item': true
|
|
11158
|
-
}, onClick: this.handleRemoveLine.bind(this) }, index.h("
|
|
11194
|
+
}, onClick: this.handleRemoveLine.bind(this) }, index.h("span", { class: "icon", innerHTML: deleteImagePath })))))), index.h("div", { class: 'border-line' }), index.h("div", { class: "LotteryTippingTicketBet__footer" }, index.h("div", { class: "my-pagination flex justify-between" }, index.h("span", null, translate('lineInfo', this.language, { currentPage: this.currentPage, totalPages: this.totalPages })), index.h("div", { class: 'flex gap-1' }, index.h("span", { class: `btn ${this.currentPage === 1 ? 'disabled' : ''}`, onClick: this.prevPage.bind(this) }, index.h("span", { class: "icon", innerHTML: leftImagePath })), index.h("span", { class: `btn ${this.currentPage === this.totalPages ? 'disabled' : ''}`, onClick: this.nextPage.bind(this) }, index.h("span", { class: "icon", innerHTML: rightImagePath }))))), this.dialogConfig.visible && (index.h("vaadin-confirm-dialog", { rejectButtonVisible: true, rejectText: translate('cancel', this.language), confirmText: translate('confirm', this.language), opened: (_c = this.dialogConfig) === null || _c === void 0 ? void 0 : _c.visible, onConfirm: this.dialogConfig.onConfirm, onReject: this.dialogConfig.onCancel }, (_d = this.dialogConfig) === null || _d === void 0 ? void 0 : _d.content))));
|
|
11159
11195
|
}
|
|
11160
11196
|
static get assetsDirs() { return ["../static"]; }
|
|
11161
11197
|
static get watchers() { return {
|
|
@@ -11183,19 +11219,22 @@ var BettingTypeEnum;
|
|
|
11183
11219
|
BettingTypeEnum["Both"] = "Both";
|
|
11184
11220
|
})(BettingTypeEnum || (BettingTypeEnum = {}));
|
|
11185
11221
|
|
|
11186
|
-
const lotteryTippingTicketControllerCss = ".lottery-tipping-ticket-controller__container {\n display: block;\n box-sizing: border-box;\n font-size: 14px;\n container-type: inline-size;\n background: var(--emw--color-background, #fff);\n}\n@container (max-width: 375px) {\n .lottery-tipping-ticket-controller__container {\n font-size: 12px;\n }\n}\n\n.LotteryTippingTicketController__top {\n padding: 1.8rem;\n display: flex;\n flex-direction: column;\n gap: 2rem;\n margin: 0 auto;\n max-width: 800px;\n}\n.LotteryTippingTicketController__row {\n display: flex;\n align-items: center;\n gap: 1rem;\n justify-content: space-between;\n flex-wrap: wrap;\n}\n.LotteryTippingTicketController__section {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.LotteryTippingTicketController__label {\n font-weight: 500;\n white-space: nowrap;\n width: 6rem;\n color: var(--emw--color-typography-secondary, #333);\n}\n.LotteryTippingTicketController__segmented-control {\n height: 2.2rem;\n display: inline-flex;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n border-radius: 2rem;\n padding: 0.2rem;\n}\n.LotteryTippingTicketController__segment {\n background-color: transparent;\n border: none;\n padding: 0.3rem 0.8rem;\n cursor: pointer;\n font-weight: 500;\n border-radius: 2rem;\n outline: none;\n transition: background-color 0.25s ease, color 0.25s ease;\n white-space: nowrap;\n color: var(--emw--color-typography, #000);\n}\n.LotteryTippingTicketController__segment--active {\n background-color: var(--emw--color-background, #ffffff);\n color: var(--emw--color-typography, #000);\n font-weight: 600;\n}\n.LotteryTippingTicketController__segment--disabled:hover {\n cursor: not-allowed !important;\n}\n.LotteryTippingTicketController__segment:not(.LotteryTippingTicketController__segment--active):hover {\n background-color: var(--emw--color-background-tertiary, #ccc);\n}\n\n.flex {\n display: flex;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.align-center {\n align-items: center;\n}\n\n.gap-1 {\n gap: 4px;\n}\n\n.LotteryTippingTicketController__main {\n align-items: flex-start;\n justify-content: center;\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n flex-wrap: wrap;\n}\n.LotteryTippingTicketController__main--left {\n border: 1px solid var(--emw--color-gray-50, #f5f5f5);\n padding: 1rem;\n border-radius: 1rem;\n flex: 1.5;\n}\n.LotteryTippingTicketController__main--right {\n padding: 1rem;\n border-radius: 1rem;\n flex: 1;\n}\n\n.order-summary {\n max-width: 360px;\n width: 100%;\n background: var(--emw--color-background, #fff);\n}\n\n.order-summary__title {\n margin-bottom: 16px;\n text-align: center;\n color: var(--emw--color-typography, #000);\n text-transform: uppercase;\n}\n\n.order-summary__ticket-info {\n display: flex;\n align-items: center;\n margin-bottom: 16px;\n gap: 10px;\n color: var(--emw--color-typography, #000);\n}\n\n.order-summary__ticket {\n font-weight: 500;\n width: 50px;\n text-align: right;\n color: var(--emw--color-typography, #000);\n}\n\n.order-summary__details {\n display: flex;\n align-items: center;\n color: var(--emw--color-typography, #000);\n}\n\n.order-summary__multiplier {\n color: var(--emw--color-typography-secondary, #333);\n margin: 0 8px;\n}\n\n.order-summary__divider {\n border: none;\n border-top: 1px solid var(--emw--color-gray-100, #e6e6e6);\n margin: 20px 0;\n}\n\n.order-summary__button-wrapper {\n display: flex;\n justify-content: center;\n}\n\n.order-summary__button {\n cursor: pointer;\n padding: 0.
|
|
11222
|
+
const lotteryTippingTicketControllerCss = ".lottery-tipping-ticket-controller__container {\n display: block;\n box-sizing: border-box;\n font-size: 14px;\n container-type: inline-size;\n background: var(--emw--color-background, #fff);\n}\n@container (max-width: 375px) {\n .lottery-tipping-ticket-controller__container {\n font-size: 12px;\n }\n}\n\n.LotteryTippingTicketController__top {\n padding: 1.8rem;\n display: flex;\n flex-direction: column;\n gap: 2rem;\n margin: 0 auto;\n max-width: 800px;\n}\n.LotteryTippingTicketController__row {\n display: flex;\n align-items: center;\n gap: 1rem;\n justify-content: space-between;\n flex-wrap: wrap;\n}\n.LotteryTippingTicketController__section {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.LotteryTippingTicketController__label {\n font-weight: 500;\n white-space: nowrap;\n width: 6rem;\n color: var(--emw--color-typography-secondary, #333);\n}\n.LotteryTippingTicketController__segmented-control {\n height: 2.2rem;\n display: inline-flex;\n background-color: var(--emw--color-background-secondary, #f5f5f5);\n border-radius: 2rem;\n padding: 0.2rem;\n}\n.LotteryTippingTicketController__segment {\n background-color: transparent;\n border: none;\n padding: 0.3rem 0.8rem;\n cursor: pointer;\n font-weight: 500;\n border-radius: 2rem;\n outline: none;\n transition: background-color 0.25s ease, color 0.25s ease;\n white-space: nowrap;\n color: var(--emw--color-typography, #000);\n}\n.LotteryTippingTicketController__segment--active {\n background-color: var(--emw--color-background, #ffffff);\n color: var(--emw--color-typography, #000);\n font-weight: 600;\n}\n.LotteryTippingTicketController__segment--disabled:hover {\n cursor: not-allowed !important;\n}\n.LotteryTippingTicketController__segment:not(.LotteryTippingTicketController__segment--active):hover {\n background-color: var(--emw--color-background-tertiary, #ccc);\n}\n\n.flex {\n display: flex;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.align-center {\n align-items: center;\n}\n\n.gap-1 {\n gap: 4px;\n}\n\n.LotteryTippingTicketController__main {\n align-items: flex-start;\n justify-content: center;\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n flex-wrap: wrap;\n}\n.LotteryTippingTicketController__main--left {\n border: 1px solid var(--emw--color-gray-50, #f5f5f5);\n padding: 1rem;\n border-radius: 1rem;\n flex: 1.5;\n}\n.LotteryTippingTicketController__main--right {\n padding: 1rem;\n border-radius: 1rem;\n flex: 1;\n}\n\n.order-summary {\n max-width: 360px;\n width: 100%;\n background: var(--emw--color-background, #fff);\n}\n\n.order-summary__title {\n margin-bottom: 16px;\n text-align: center;\n color: var(--emw--color-typography, #000);\n text-transform: uppercase;\n}\n\n.order-summary__ticket-info {\n display: flex;\n align-items: center;\n margin-bottom: 16px;\n gap: 10px;\n color: var(--emw--color-typography, #000);\n}\n\n.order-summary__ticket {\n font-weight: 500;\n width: 50px;\n text-align: right;\n color: var(--emw--color-typography, #000);\n}\n\n.order-summary__details {\n display: flex;\n align-items: center;\n color: var(--emw--color-typography, #000);\n}\n\n.order-summary__multiplier {\n color: var(--emw--color-typography-secondary, #333);\n margin: 0 8px;\n}\n\n.order-summary__divider {\n border: none;\n border-top: 1px solid var(--emw--color-gray-100, #e6e6e6);\n margin: 20px 0;\n}\n\n.order-summary__button-wrapper {\n display: flex;\n justify-content: center;\n}\n\n.order-summary__button {\n cursor: pointer;\n padding: 0.8rem 4rem;\n background: var(--emw--color-primary, #fed275);\n color: var(--emw--color-typography, #000);\n border-radius: var(--emw--button-border-radius, 4px);\n border: none;\n position: relative;\n}\n\n.loading-icon {\n position: absolute;\n right: 40px;\n top: 10px;\n}\n\n.order-summary__button:not(.order-summary__button--disabled):not(.order-summary__button--loading):hover {\n transform: translateY(-1px);\n background: var(--emw--color-primary-variant, #ffe66f);\n}\n\n.order-summary__button--loading {\n background: var(--emw--color-primary-variant, #ffe66f);\n cursor: not-allowed;\n}\n\n.order-summary__button--disabled {\n background: var(--emw--color-background-secondary, #f5f5f5);\n color: var(--emw--color-typography, #000);\n cursor: not-allowed;\n}\n\n.skeleton-content {\n display: flex;\n flex-direction: column;\n gap: 29px;\n align-items: center;\n}\n\n.skeleton-item {\n background: var(--emw--color-background-secondary, #f5f5f5);\n border-radius: 4px;\n height: 40px;\n width: 200px;\n}\n\n.skeleton-animated {\n animation: skeleton-shimmer 1.5s infinite linear;\n background: linear-gradient(90deg, var(--emw--color-background-secondary, #f5f5f5) 25%, var(--emw--color-background-tertiary, #ccc) 37%, var(--emw--color-background-secondary, #f5f5f5) 63%);\n background-size: 200% 100%;\n}\n\n@keyframes skeleton-shimmer {\n to {\n background-position: 100% 0;\n }\n}\n.loading-icon.scale {\n animation: scale 1s infinite ease-in-out;\n}\n\n@keyframes scale {\n 0%, 100% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.2);\n }\n}";
|
|
11187
11223
|
const LotteryTippingTicketControllerStyle0 = lotteryTippingTicketControllerCss;
|
|
11188
11224
|
|
|
11225
|
+
const loadingImagePath = renderIconDefinitionToSVGElement(EllipsisOutlined$1, {
|
|
11226
|
+
extraSVGAttrs: { height: '20px', width: '20px', fill: 'currentColor' }
|
|
11227
|
+
});
|
|
11189
11228
|
const LotteryTippingTicketController = class {
|
|
11190
11229
|
constructor(hostRef) {
|
|
11191
11230
|
index.registerInstance(this, hostRef);
|
|
11192
11231
|
this.logoutEventHandler = index.createEvent(this, "logout", 7);
|
|
11193
|
-
this.loadingImagePath = index.getAssetPath('../static/loading.svg');
|
|
11194
11232
|
this.mbSource = undefined;
|
|
11195
11233
|
this.clientStyling = undefined;
|
|
11196
11234
|
this.clientStylingUrl = undefined;
|
|
11197
11235
|
this.translationUrl = '';
|
|
11198
11236
|
this.language = 'en';
|
|
11237
|
+
this.logoUrl = undefined;
|
|
11199
11238
|
this.endpoint = '';
|
|
11200
11239
|
this.endpointTicket = undefined;
|
|
11201
11240
|
this.sessionId = undefined;
|
|
@@ -11285,7 +11324,7 @@ const LotteryTippingTicketController = class {
|
|
|
11285
11324
|
};
|
|
11286
11325
|
this.dialogConfig = {
|
|
11287
11326
|
visible: true,
|
|
11288
|
-
content: translate$
|
|
11327
|
+
content: translate$2('selectionCleared', this.language),
|
|
11289
11328
|
onConfirm: onConfirm,
|
|
11290
11329
|
onCancel: closeDialog
|
|
11291
11330
|
};
|
|
@@ -11444,7 +11483,7 @@ const LotteryTippingTicketController = class {
|
|
|
11444
11483
|
this.submitLoading = true;
|
|
11445
11484
|
doSubmitTicket({ body, sessionId: this.sessionId, url: url.href })
|
|
11446
11485
|
.then(() => {
|
|
11447
|
-
showNotification$1({ message: translate$
|
|
11486
|
+
showNotification$1({ message: translate$2('ticketSubmitted', this.language) });
|
|
11448
11487
|
this.clearBulletConfig();
|
|
11449
11488
|
})
|
|
11450
11489
|
.catch((res) => {
|
|
@@ -11453,7 +11492,7 @@ const LotteryTippingTicketController = class {
|
|
|
11453
11492
|
showNotification$1({ message: TICKET_INVALID_TOKEN, theme: 'error' });
|
|
11454
11493
|
return;
|
|
11455
11494
|
}
|
|
11456
|
-
showNotification$1({ message: translate$
|
|
11495
|
+
showNotification$1({ message: translate$2('ticketFailed', this.language), theme: 'error' });
|
|
11457
11496
|
})
|
|
11458
11497
|
.finally(() => {
|
|
11459
11498
|
this.submitLoading = false;
|
|
@@ -11461,9 +11500,9 @@ const LotteryTippingTicketController = class {
|
|
|
11461
11500
|
}
|
|
11462
11501
|
get lineCountRender() {
|
|
11463
11502
|
const _ = thousandSeparator(this.totalLineCombination);
|
|
11464
|
-
let unit = translate$
|
|
11503
|
+
let unit = translate$2('lines', this.language);
|
|
11465
11504
|
if ([0, 1].includes(+_))
|
|
11466
|
-
unit = translate$
|
|
11505
|
+
unit = translate$2('line', this.language);
|
|
11467
11506
|
return _ + ' ' + unit;
|
|
11468
11507
|
}
|
|
11469
11508
|
renderBettingControls() {
|
|
@@ -11476,18 +11515,18 @@ const LotteryTippingTicketController = class {
|
|
|
11476
11515
|
LotteryTippingTicketController__segment: true,
|
|
11477
11516
|
'LotteryTippingTicketController__segment--active': this.selectedPlayingMode === item.code
|
|
11478
11517
|
}, onClick: this.handlePlayingModeChange.bind(this, item.code) }, item.name)))));
|
|
11479
|
-
return (index.h("div", { class: "LotteryTippingTicketController__top" }, index.h("div", { class: "LotteryTippingTicketController__row" }, index.h("div", { class: "LotteryTippingTicketController__section" }, index.h("span", { class: "LotteryTippingTicketController__label" }, translate$
|
|
11518
|
+
return (index.h("div", { class: "LotteryTippingTicketController__top" }, index.h("div", { class: "LotteryTippingTicketController__row" }, index.h("div", { class: "LotteryTippingTicketController__section" }, index.h("span", { class: "LotteryTippingTicketController__label" }, translate$2('bettingType', this.language)), !!this.bettingTypeOptions.length ? renderBettingTypeOptions() : renderSkeleton()), index.h("div", { class: "LotteryTippingTicketController__section" }, index.h("span", { class: "LotteryTippingTicketController__label" }, translate$2('playingMode', this.language)), !!this.playingModeOptions.length ? renderPlayingModeOptions() : renderSkeleton()))));
|
|
11480
11519
|
}
|
|
11481
11520
|
renderOrderSummary() {
|
|
11482
|
-
return (index.h("div", { class: "LotteryTippingTicketController__main--right order-summary" }, index.h("h3", { class: "order-summary__title" }, translate$
|
|
11521
|
+
return (index.h("div", { class: "LotteryTippingTicketController__main--right order-summary" }, index.h("h3", { class: "order-summary__title" }, translate$2('orderSummaryTitle', this.language)), index.h("div", { class: "order-summary__ticket-info" }, index.h("div", { class: "order-summary__ticket" }, translate$2('orderSummaryTickets', this.language), ":"), index.h("div", { class: "order-summary__details" }, index.h("span", { class: "order-summary__line-count" }, this.lineCountRender), index.h("div", null, this.currentStake && index.h("span", { class: "order-summary__multiplier" }, "x"), index.h("span", { class: "order-summary__stake" }, this.currentStakeFormatted)), this.isBothBettingType && (index.h("div", null, index.h("span", { class: "order-summary__multiplier" }, "x"), index.h("span", { class: "order-summary__stake" }, "2"))))), index.h("hr", { class: "order-summary__divider" }), index.h("div", { class: "order-summary__ticket-info" }, index.h("div", { class: "order-summary__ticket" }, translate$2('orderSummaryTotal', this.language), ":"), index.h("span", { class: "order-summary__details" }, this.totalAmountFormatted)), index.h("div", { class: "order-summary__button-wrapper" }, index.h("button", { class: {
|
|
11483
11522
|
'order-summary__button': true,
|
|
11484
11523
|
'order-summary__button--disabled': !this.hasSelectAllBullet,
|
|
11485
11524
|
'order-summary__button--loading': this.submitLoading
|
|
11486
|
-
}, onClick: this.handleSubmit.bind(this), disabled: !this.hasSelectAllBullet || this.submitLoading }, index.h("
|
|
11525
|
+
}, onClick: this.handleSubmit.bind(this), disabled: !this.hasSelectAllBullet || this.submitLoading }, index.h("span", { class: "order-summary__button--text" }, translate$2('orderSummarySubmit', this.language)), this.submitLoading && index.h("span", { class: "loading-icon scale", innerHTML: loadingImagePath })))));
|
|
11487
11526
|
}
|
|
11488
11527
|
render() {
|
|
11489
11528
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
11490
|
-
return (index.h("div", { key: '
|
|
11529
|
+
return (index.h("div", { key: '6b7aee4aacf53744bed1b3f3064b3a8357806ce5', class: "lottery-tipping-ticket-controller__container", ref: (el) => (this.stylingContainer = el) }, index.h("lottery-tipping-ticket-banner", { key: '59907469fbee5440485938631bf311476d2649df', "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl, stopTime: (_b = (_a = this.rawData) === null || _a === void 0 ? void 0 : _a.currentDraw) === null || _b === void 0 ? void 0 : _b.wagerCloseTime, period: (_d = (_c = this.rawData) === null || _c === void 0 ? void 0 : _c.currentDraw) === null || _d === void 0 ? void 0 : _d.date, language: this.language, "translation-url": this.translationUrl, "logo-url": this.logoUrl }), this.renderBettingControls(), index.h("div", { key: '891700a5bb16ce5ddb4be8a0c48c824a97710edd', class: "flex flex-wrap LotteryTippingTicketController__main" }, index.h("div", { key: 'bdc6509e6a560bfaa01a730c3967d3e26c3e9dc9', class: "LotteryTippingTicketController__main--left" }, index.h("lottery-tipping-ticket-bet", { key: '8fbfdf48b51ac3aa8faf51da106131d25ed99992', ref: (el) => (this.childRef = el), endpoint: this.endpoint, "session-id": this.sessionId, "game-id": (_e = this.rawData) === null || _e === void 0 ? void 0 : _e.type, "draw-id": this.drawId, language: this.language, "translation-url": this.translationUrl, "max-total-pages": this.lineNumberRange.maxLineNumber, "min-total-pages": this.lineNumberRange.minLineNumber, "total-pages": this.lineNumberRange.defaultBoards, mode: this.selectedPlayingMode === PlayModeEnum.SingleBet ? 'single' : 'multi', "client-styling": this.clientStyling, "client-styling-Url": this.clientStylingUrl })), this.renderOrderSummary()), this.dialogConfig.visible && (index.h("vaadin-confirm-dialog", { key: 'a93fcec56f649438c6f0d3668d322885dd4da7dc', rejectButtonVisible: true, rejectText: translate$2('cancel', this.language), confirmText: translate$2('confirm', this.language), opened: (_f = this.dialogConfig) === null || _f === void 0 ? void 0 : _f.visible, onConfirm: this.dialogConfig.onConfirm, onReject: this.dialogConfig.onCancel }, (_g = this.dialogConfig) === null || _g === void 0 ? void 0 : _g.content))));
|
|
11491
11530
|
}
|
|
11492
11531
|
static get assetsDirs() { return ["../static"]; }
|
|
11493
11532
|
static get watchers() { return {
|