@everymatrix/casino-game-thumb-view 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +1 -1
  2. package/dist/casino-game-thumb-view/{p-c9da4e8b.entry.js → p-0f03c743.entry.js} +1 -1
  3. package/dist/casino-game-thumb-view/{p-3ac1ceb2.entry.js → p-358a4af8.entry.js} +1 -1
  4. package/dist/casino-game-thumb-view/p-4ece4698.js +8 -0
  5. package/dist/casino-game-thumb-view/{p-6f25852e.entry.js → p-74a4ae4a.entry.js} +1 -1
  6. package/dist/casino-game-thumb-view/{p-cbb0566f.entry.js → p-a0c26052.entry.js} +1 -1
  7. package/dist/casino-game-thumb-view/p-b5a64db5.js +2 -0
  8. package/dist/casino-game-thumb-view/{p-c7ae1205.entry.js → p-d6ec6d6a.entry.js} +1 -1
  9. package/dist/casino-game-thumb-view/{p-cfd13ff8.entry.js → p-fd38189d.entry.js} +1 -1
  10. package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +1 -1
  11. package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +1 -1
  12. package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +1 -1
  13. package/dist/cjs/casino-game-thumb-view.cjs.js +2 -2
  14. package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +2 -2
  15. package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +2 -2
  16. package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +1 -1
  17. package/dist/cjs/{index-0892a7c6.js → index-81c5b70d.js} +7 -50
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/{utils-c4ed3adc.js → utils-21e506f8.js} +365 -368
  20. package/dist/collection/collection-manifest.json +2 -2
  21. package/dist/esm/casino-extrainfo-baccarat.entry.js +1 -1
  22. package/dist/esm/casino-extrainfo-blackjack.entry.js +1 -1
  23. package/dist/esm/casino-extrainfo-roulette.entry.js +1 -1
  24. package/dist/esm/casino-game-thumb-view.js +3 -3
  25. package/dist/esm/casino-game-thumb-view_2.entry.js +2 -2
  26. package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +2 -2
  27. package/dist/esm/casino-normal-game-thumbnail.entry.js +1 -1
  28. package/dist/esm/{index-bbccad17.js → index-8058a16f.js} +7 -50
  29. package/dist/esm/loader.js +2 -2
  30. package/dist/esm/{utils-090ac2e9.js → utils-d11d0845.js} +365 -368
  31. package/dist/types/stencil-public-runtime.d.ts +0 -6
  32. package/package.json +1 -1
  33. package/dist/casino-game-thumb-view/p-89d09251.js +0 -2
  34. package/dist/casino-game-thumb-view/p-d2580653.js +0 -8
@@ -11,8 +11,8 @@
11
11
  ],
12
12
  "compiler": {
13
13
  "name": "@stencil/core",
14
- "version": "4.22.3",
15
- "typescriptVersion": "5.5.4"
14
+ "version": "4.19.2",
15
+ "typescriptVersion": "5.4.5"
16
16
  },
17
17
  "collections": [],
18
18
  "bundles": []
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8058a16f.js';
2
2
  import { b as WINNER_COLOR } from './game-thumbnail-035e97e2.js';
3
3
 
4
4
  var CasinoGameCategory;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8058a16f.js';
2
2
  import { D as DEFAULT_BLACKJACK_TOTAL_SEATS } from './game-thumbnail-035e97e2.js';
3
3
  import { t as translate } from './locale.utils-0c514ca8.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8058a16f.js';
2
2
  import { R as ROULETTE_COLOR_MAP, W as WIDGETTYPE_GAMECATEGORY } from './game-thumbnail-035e97e2.js';
3
3
 
4
4
  const casinoExtrainfoRouletteCss = ":host{display:block;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}";
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-bbccad17.js';
2
- export { s as setNonce } from './index-bbccad17.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-8058a16f.js';
2
+ export { s as setNonce } from './index-8058a16f.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-bbccad17.js';
2
- import { c as convertGicBaccaratUpdateItem, i as isMobile } from './utils-090ac2e9.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-8058a16f.js';
2
+ import { c as convertGicBaccaratUpdateItem, i as isMobile } from './utils-d11d0845.js';
3
3
  import { G as GAME_CATEGORY, a as GAME_TYPE, W as WIDGETTYPE_GAMECATEGORY } from './game-thumbnail-035e97e2.js';
4
4
  import { t as translate } from './locale.utils-0c514ca8.js';
5
5
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h } from './index-bbccad17.js';
2
- import { n as numberWithSeparators, a as addGameTag, h as hooks } from './utils-090ac2e9.js';
1
+ import { r as registerInstance, h } from './index-8058a16f.js';
2
+ import { n as numberWithSeparators, a as addGameTag, h as hooks } from './utils-d11d0845.js';
3
3
  import { t as translate } from './locale.utils-0c514ca8.js';
4
4
  import { W as WIDGETTYPE_GAMECATEGORY, c as WIDGETTYPE_CLASS } from './game-thumbnail-035e97e2.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-bbccad17.js';
1
+ import { r as registerInstance, h, H as Host } from './index-8058a16f.js';
2
2
 
3
3
  const casinoNormalGameThumbnailCss = ":host{display:block}";
4
4
  const CasinoNormalGameThumbnailStyle0 = casinoNormalGameThumbnailCss;
@@ -2,7 +2,7 @@ const NAMESPACE = 'casino-game-thumb-view';
2
2
  const BUILD = /* casino-game-thumb-view */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -432,31 +432,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
432
432
  if (nonce != null) {
433
433
  styleElm.setAttribute("nonce", nonce);
434
434
  }
435
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
436
- if (styleContainerNode.nodeName === "HEAD") {
437
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
438
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
439
- styleContainerNode.insertBefore(styleElm, referenceNode2);
440
- } else if ("host" in styleContainerNode) {
441
- if (supportsConstructableStylesheets) {
442
- const stylesheet = new CSSStyleSheet();
443
- stylesheet.replaceSync(style);
444
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
445
- } else {
446
- const existingStyleContainer = styleContainerNode.querySelector("style");
447
- if (existingStyleContainer) {
448
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
449
- } else {
450
- styleContainerNode.prepend(styleElm);
451
- }
452
- }
453
- } else {
454
- styleContainerNode.append(styleElm);
455
- }
456
- }
457
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
458
- styleContainerNode.insertBefore(styleElm, null);
459
- }
435
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
460
436
  }
461
437
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
462
438
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -479,7 +455,7 @@ var attachStyles = (hostRef) => {
479
455
  const scopeId2 = addStyle(
480
456
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
481
457
  cmpMeta);
482
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
458
+ if (flags & 10 /* needsScopedEncapsulation */) {
483
459
  elm["s-sc"] = scopeId2;
484
460
  elm.classList.add(scopeId2 + "-h");
485
461
  }
@@ -548,11 +524,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
548
524
  if (memberName === "list") {
549
525
  isProp = false;
550
526
  } else if (oldValue == null || elm[memberName] != n) {
551
- if (typeof elm.__lookupSetter__(memberName) === "function") {
552
- elm[memberName] = n;
553
- } else {
554
- elm.setAttribute(memberName, n);
555
- }
527
+ elm[memberName] = n;
556
528
  }
557
529
  } else {
558
530
  elm[memberName] = newValue;
@@ -668,9 +640,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
668
640
  {
669
641
  updateElement(null, newVNode2, isSvgMode);
670
642
  }
671
- const rootNode = elm.getRootNode();
672
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
673
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
643
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
674
644
  elm.classList.add(elm["s-si"] = scopeId);
675
645
  }
676
646
  if (newVNode2.$children$) {
@@ -861,15 +831,6 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
861
831
  var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
862
832
  if (leftVNode.$tag$ === rightVNode.$tag$) {
863
833
  if (leftVNode.$tag$ === "slot") {
864
- if (
865
- // The component gets hydrated and no VDOM has been initialized.
866
- // Here the comparison can't happen as $name$ property is not set for `leftNode`.
867
- "$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
868
- // hydration comments to be removed
869
- leftVNode.$elm$.nodeType !== 8
870
- ) {
871
- return false;
872
- }
873
834
  return leftVNode.$name$ === rightVNode.$name$;
874
835
  }
875
836
  if (!isInitialRender) {
@@ -906,10 +867,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
906
867
  elm.textContent = "";
907
868
  }
908
869
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
909
- } else if (
910
- // don't do this on initial render as it can cause non-hydrated content to be removed
911
- !isInitialRender && BUILD.updatable && oldChildren !== null
912
- ) {
870
+ } else if (oldChildren !== null) {
913
871
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
914
872
  }
915
873
  if (isSvgMode && tag === "svg") {
@@ -1360,8 +1318,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1360
1318
  if (this.hasOwnProperty(propName)) {
1361
1319
  newValue = this[propName];
1362
1320
  delete this[propName];
1363
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1364
- this[propName] == newValue) {
1321
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1365
1322
  return;
1366
1323
  } else if (propName == null) {
1367
1324
  const hostRef = getHostRef(this);
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-bbccad17.js';
2
- export { s as setNonce } from './index-bbccad17.js';
1
+ import { b as bootstrapLazy } from './index-8058a16f.js';
2
+ export { s as setNonce } from './index-8058a16f.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {