@everymatrix/casino-tournament-banner 1.37.5 → 1.37.6
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/casino-tournament-banner/casino-tournament-banner.esm.js +1 -1
- package/dist/casino-tournament-banner/p-4576b686.js +1 -0
- package/dist/casino-tournament-banner/p-dea6aa45.entry.js +9 -0
- package/dist/cjs/casino-tournament-banner.cjs.js +2 -2
- package/dist/cjs/{casino-tournament-banner.cjs.entry.js → casino-tournament-banner_2.cjs.entry.js} +582 -24
- package/dist/cjs/{index-6fc9425f.js → index-3a4744d8.js} +14 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +8 -1
- package/dist/components/casino-tournament-banner.js +7 -2
- package/dist/components/casino-tournament-buttons.js +6 -0
- package/dist/components/casino-tournament-buttons2.js +596 -0
- package/dist/esm/casino-tournament-banner.js +2 -2
- package/dist/esm/{casino-tournament-banner.entry.js → casino-tournament-banner_2.entry.js} +582 -25
- package/dist/esm/{index-8fa39ce1.js → index-1ea7f13c.js} +14 -1
- package/dist/esm/loader.js +2 -2
- package/package.json +1 -1
- package/dist/casino-tournament-banner/p-2cd4cacc.entry.js +0 -9
- package/dist/casino-tournament-banner/p-be0b9fde.js +0 -1
|
@@ -594,6 +594,19 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
594
594
|
patch(oldVNode, rootVnode);
|
|
595
595
|
};
|
|
596
596
|
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
597
|
+
const createEvent = (ref, name, flags) => {
|
|
598
|
+
const elm = getElement(ref);
|
|
599
|
+
return {
|
|
600
|
+
emit: (detail) => {
|
|
601
|
+
return emitEvent(elm, name, {
|
|
602
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
603
|
+
composed: !!(flags & 2 /* Composed */),
|
|
604
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
605
|
+
detail,
|
|
606
|
+
});
|
|
607
|
+
},
|
|
608
|
+
};
|
|
609
|
+
};
|
|
597
610
|
/**
|
|
598
611
|
* Helper function to create & dispatch a custom Event on a provided target
|
|
599
612
|
* @param elm the target of the Event
|
|
@@ -1271,6 +1284,7 @@ const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
|
1271
1284
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1272
1285
|
|
|
1273
1286
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1287
|
+
exports.createEvent = createEvent;
|
|
1274
1288
|
exports.getElement = getElement;
|
|
1275
1289
|
exports.h = h;
|
|
1276
1290
|
exports.promiseResolve = promiseResolve;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-3a4744d8.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["casino-tournament-
|
|
17
|
+
return index.bootstrapLazy([["casino-tournament-banner_2.cjs",[[1,"casino-tournament-banner",{"useEvent":[1,"use-event"],"endpoint":[1],"state":[1],"enrolled":[4],"startTime":[1,"start-time"],"endTime":[1,"end-time"],"thumbnail":[1],"language":[1],"showCalendar":[4,"show-calendar"],"shortStart":[4,"short-start"],"shortstartformat":[1],"showDate":[4,"show-date"],"showRunningDate":[4,"show-running-date"],"showCheck":[4,"show-check"],"cardMode":[4,"card-mode"],"nameOrTitle":[1,"name-or-title"],"tournamentId":[1,"tournament-id"],"session":[1],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"currency":[1],"bonusCode":[1,"bonus-code"],"showReadMore":[4,"show-read-more"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"stateText":[32],"limitStylingAppends":[32],"startdate":[32],"tournamentLeftDays":[32],"showRemain":[32],"durationInterval":[32]},[[8,"getTournamentInfoCompleted","infoCompletedHandler"],[8,"TournamentUserEnrolled","userEnrolledHandler"]]],[1,"casino-tournament-buttons",{"language":[1],"tournamentId":[1,"tournament-id"],"session":[1],"loginEvent":[1,"login-event"],"loginUrl":[1,"login-url"],"registerEvent":[1,"register-event"],"registerUrl":[1,"register-url"],"endpoint":[1],"currency":[1],"bonusCode":[1,"bonus-code"],"enrolled":[4],"showReadMore":[4,"show-read-more"],"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationData":[520,"translation-data"],"limitStylingAppends":[32],"joinButtonLoading":[32],"errorJoin":[32],"errorJoinConcurrently":[32]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import '
|
|
2
|
+
import { d as defineCustomElement$2 } from './casino-tournament-buttons2.js';
|
|
3
3
|
|
|
4
4
|
const DEFAULT_LANGUAGE = 'en';
|
|
5
5
|
const TRANSLATIONS = {
|
|
@@ -6330,13 +6330,18 @@ function defineCustomElement$1() {
|
|
|
6330
6330
|
if (typeof customElements === "undefined") {
|
|
6331
6331
|
return;
|
|
6332
6332
|
}
|
|
6333
|
-
const components = ["casino-tournament-banner"];
|
|
6333
|
+
const components = ["casino-tournament-banner", "casino-tournament-buttons"];
|
|
6334
6334
|
components.forEach(tagName => { switch (tagName) {
|
|
6335
6335
|
case "casino-tournament-banner":
|
|
6336
6336
|
if (!customElements.get(tagName)) {
|
|
6337
6337
|
customElements.define(tagName, CasinoTournamentBanner$1);
|
|
6338
6338
|
}
|
|
6339
6339
|
break;
|
|
6340
|
+
case "casino-tournament-buttons":
|
|
6341
|
+
if (!customElements.get(tagName)) {
|
|
6342
|
+
defineCustomElement$2();
|
|
6343
|
+
}
|
|
6344
|
+
break;
|
|
6340
6345
|
} });
|
|
6341
6346
|
}
|
|
6342
6347
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { C as CasinoTournamentButtons$1, d as defineCustomElement$1 } from './casino-tournament-buttons2.js';
|
|
2
|
+
|
|
3
|
+
const CasinoTournamentButtons = CasinoTournamentButtons$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { CasinoTournamentButtons, defineCustomElement };
|