@everymatrix/casino-jackpot-winner 1.55.0 → 1.56.0

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 (24) hide show
  1. package/dist/casino-jackpot-winner/casino-jackpot-winner.esm.js +1 -1
  2. package/dist/casino-jackpot-winner/p-87493cd4.entry.js +1 -0
  3. package/dist/casino-jackpot-winner/p-96cbf2e8.js +2 -0
  4. package/dist/cjs/casino-jackpot-winner.cjs.entry.js +207 -26
  5. package/dist/cjs/casino-jackpot-winner.cjs.js +2 -2
  6. package/dist/cjs/{index-ebf58fc5.js → index-a6322576.js} +153 -62
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/casino-jackpot-winner/casino-jackpot-winner.js +43 -3
  10. package/dist/esm/casino-jackpot-winner.entry.js +207 -26
  11. package/dist/esm/casino-jackpot-winner.js +3 -3
  12. package/dist/esm/{index-e8ade48c.js → index-8bc5c2e9.js} +153 -62
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/packages/stencil/casino-jackpot-winner/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/packages/stencil/casino-jackpot-winner/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/casino-jackpot-winner/p-0a14a6b5.entry.js +0 -1
  18. package/dist/casino-jackpot-winner/p-caf0a01d.js +0 -2
  19. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/packages/stencil/casino-jackpot-winner/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/packages/stencil/casino-jackpot-winner/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-jackpot-winner/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,19 +21,23 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'casino-jackpot-winner';
24
- const BUILD = /* casino-jackpot-winner */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, 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: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: true, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* casino-jackpot-winner */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, 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: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: true, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
31
31
  for (var name in all)
32
32
  __defProp(target, name, { get: all[name], enumerable: true });
33
33
  };
34
+
35
+ // src/client/client-host-ref.ts
34
36
  var hostRefs = /* @__PURE__ */ new WeakMap();
35
37
  var getHostRef = (ref) => hostRefs.get(ref);
36
- var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
38
+ var registerInstance = (lazyInstance, hostRef) => {
39
+ hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
40
+ };
37
41
  var registerHost = (hostElement, cmpMeta) => {
38
42
  const hostRef = {
39
43
  $flags$: 0,
@@ -46,7 +50,8 @@ var registerHost = (hostElement, cmpMeta) => {
46
50
  hostElement["s-p"] = [];
47
51
  hostElement["s-rc"] = [];
48
52
  }
49
- return hostRefs.set(hostElement, hostRef);
53
+ const ref = hostRefs.set(hostElement, hostRef);
54
+ return ref;
50
55
  };
51
56
  var isMemberInElement = (elm, memberName) => memberName in elm;
52
57
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -83,16 +88,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
83
88
  /* webpackExclude: /\.system\.entry\.js$/ */
84
89
  /* webpackMode: "lazy" */
85
90
  `./${bundleId}.entry.js${""}`
86
- )); }).then((importedModule) => {
87
- {
88
- cmpModules.set(bundleId, importedModule);
91
+ )); }).then(
92
+ (importedModule) => {
93
+ {
94
+ cmpModules.set(bundleId, importedModule);
95
+ }
96
+ return importedModule[exportName];
97
+ },
98
+ (e) => {
99
+ consoleError(e, hostRef.$hostElement$);
89
100
  }
90
- return importedModule[exportName];
91
- }, consoleError);
101
+ );
92
102
  };
93
103
 
94
104
  // src/client/client-style.ts
95
105
  var styles = /* @__PURE__ */ new Map();
106
+ var HYDRATED_STYLE_ID = "sty-id";
96
107
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
97
108
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
98
109
  var win = typeof window !== "undefined" ? window : {};
@@ -150,12 +161,6 @@ var flush = () => {
150
161
  };
151
162
  var nextTick = (cb) => promiseResolve().then(cb);
152
163
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
153
-
154
- // src/utils/constants.ts
155
- var EMPTY_OBJ = {};
156
-
157
- // src/utils/helpers.ts
158
- var isDef = (v) => v != null;
159
164
  var isComplexType = (o) => {
160
165
  o = typeof o;
161
166
  return o === "object" || o === "function";
@@ -369,7 +374,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
369
374
  }
370
375
  if (!appliedStyles.has(scopeId2)) {
371
376
  {
372
- styleElm = doc.createElement("style");
377
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
373
378
  styleElm.innerHTML = style;
374
379
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
375
380
  if (nonce != null) {
@@ -379,7 +384,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
379
384
  if (styleContainerNode.nodeName === "HEAD") {
380
385
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
381
386
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
382
- styleContainerNode.insertBefore(styleElm, referenceNode2);
387
+ styleContainerNode.insertBefore(
388
+ styleElm,
389
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
390
+ );
383
391
  } else if ("host" in styleContainerNode) {
384
392
  if (supportsConstructableStylesheets) {
385
393
  const stylesheet = new CSSStyleSheet();
@@ -397,7 +405,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
397
405
  styleContainerNode.append(styleElm);
398
406
  }
399
407
  }
400
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
408
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
401
409
  styleContainerNode.insertBefore(styleElm, null);
402
410
  }
403
411
  }
@@ -422,14 +430,14 @@ var attachStyles = (hostRef) => {
422
430
  const scopeId2 = addStyle(
423
431
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
424
432
  cmpMeta);
425
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
433
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
426
434
  elm["s-sc"] = scopeId2;
427
435
  elm.classList.add(scopeId2 + "-h");
428
436
  }
429
437
  endAttachStyles();
430
438
  };
431
439
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
432
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
440
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
433
441
  if (oldValue !== newValue) {
434
442
  let isProp = isMemberInElement(elm, memberName);
435
443
  memberName.toLowerCase();
@@ -448,7 +456,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
448
456
  elm.setAttribute(memberName, n);
449
457
  }
450
458
  }
451
- } else {
459
+ } else if (elm[memberName] !== newValue) {
452
460
  elm[memberName] = newValue;
453
461
  }
454
462
  } catch (e) {
@@ -471,19 +479,31 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
471
479
  };
472
480
 
473
481
  // src/runtime/vdom/update-element.ts
474
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
482
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
475
483
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
476
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
477
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
484
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
485
+ const newVnodeAttrs = newVnode.$attrs$ || {};
478
486
  {
479
487
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
480
488
  if (!(memberName in newVnodeAttrs)) {
481
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
489
+ setAccessor(
490
+ elm,
491
+ memberName,
492
+ oldVnodeAttrs[memberName],
493
+ void 0,
494
+ isSvgMode2,
495
+ newVnode.$flags$);
482
496
  }
483
497
  }
484
498
  }
485
499
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
486
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
500
+ setAccessor(
501
+ elm,
502
+ memberName,
503
+ oldVnodeAttrs[memberName],
504
+ newVnodeAttrs[memberName],
505
+ isSvgMode2,
506
+ newVnode.$flags$);
487
507
  }
488
508
  };
489
509
  function sortedAttrNames(attrNames) {
@@ -495,13 +515,10 @@ function sortedAttrNames(attrNames) {
495
515
  attrNames
496
516
  );
497
517
  }
498
-
499
- // src/runtime/vdom/vdom-render.ts
500
- var scopeId;
501
518
  var hostTagName;
502
519
  var useNativeShadowDom = false;
503
520
  var isSvgMode = false;
504
- var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
521
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
505
522
  const newVNode2 = newParentVNode.$children$[childIndex];
506
523
  let i2 = 0;
507
524
  let elm;
@@ -513,11 +530,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
513
530
  {
514
531
  updateElement(null, newVNode2, isSvgMode);
515
532
  }
516
- const rootNode = elm.getRootNode();
517
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
518
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
519
- elm.classList.add(elm["s-si"] = scopeId);
520
- }
521
533
  if (newVNode2.$children$) {
522
534
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
523
535
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -646,6 +658,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
646
658
  if (!isInitialRender) {
647
659
  return leftVNode.$key$ === rightVNode.$key$;
648
660
  }
661
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
662
+ leftVNode.$key$ = rightVNode.$key$;
663
+ }
649
664
  return true;
650
665
  }
651
666
  return false;
@@ -673,8 +688,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
673
688
  }
674
689
  };
675
690
  var insertBefore = (parent, newNode, reference) => {
676
- const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
677
- return inserted;
691
+ {
692
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
693
+ }
678
694
  };
679
695
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
680
696
  const hostElm = hostRef.$hostElement$;
@@ -693,17 +709,21 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
693
709
  rootVnode.$flags$ |= 4 /* isHost */;
694
710
  hostRef.$vnode$ = rootVnode;
695
711
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
696
- {
697
- scopeId = hostElm["s-sc"];
698
- }
699
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
712
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
700
713
  patch(oldVNode, rootVnode, isInitialLoad);
701
714
  };
702
715
 
703
716
  // src/runtime/update-component.ts
704
717
  var attachToAncestor = (hostRef, ancestorComponent) => {
705
718
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
706
- ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
719
+ const index = ancestorComponent["s-p"].push(
720
+ new Promise(
721
+ (r) => hostRef.$onRenderResolve$ = () => {
722
+ ancestorComponent["s-p"].splice(index - 1, 1);
723
+ r();
724
+ }
725
+ )
726
+ );
707
727
  }
708
728
  };
709
729
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -730,7 +750,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
730
750
  let maybePromise;
731
751
  if (isInitialLoad) {
732
752
  {
733
- maybePromise = safeCall(instance, "componentWillLoad");
753
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
734
754
  }
735
755
  }
736
756
  endSchedule();
@@ -804,7 +824,7 @@ var postUpdateComponent = (hostRef) => {
804
824
  addHydratedFlag(elm);
805
825
  }
806
826
  {
807
- safeCall(instance, "componentDidLoad");
827
+ safeCall(instance, "componentDidLoad", void 0, elm);
808
828
  }
809
829
  endPostUpdate();
810
830
  {
@@ -828,17 +848,14 @@ var postUpdateComponent = (hostRef) => {
828
848
  }
829
849
  };
830
850
  var appDidLoad = (who) => {
831
- {
832
- addHydratedFlag(doc.documentElement);
833
- }
834
851
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
835
852
  };
836
- var safeCall = (instance, method, arg) => {
853
+ var safeCall = (instance, method, arg, elm) => {
837
854
  if (instance && instance[method]) {
838
855
  try {
839
856
  return instance[method](arg);
840
857
  } catch (e) {
841
- consoleError(e);
858
+ consoleError(e, elm);
842
859
  }
843
860
  }
844
861
  return void 0;
@@ -902,15 +919,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
902
919
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
903
920
  members.map(([memberName, [memberFlags]]) => {
904
921
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
922
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
923
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
924
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
925
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
926
+ Object.defineProperty(prototype, memberName, {
927
+ get() {
928
+ {
929
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
930
+ return getValue(this, memberName);
931
+ }
932
+ const ref = getHostRef(this);
933
+ const instance = ref ? ref.$lazyInstance$ : prototype;
934
+ if (!instance) return;
935
+ return instance[memberName];
936
+ }
937
+ },
938
+ configurable: true,
939
+ enumerable: true
940
+ });
941
+ }
905
942
  Object.defineProperty(prototype, memberName, {
906
- get() {
907
- return getValue(this, memberName);
908
- },
909
943
  set(newValue) {
910
- setValue(this, memberName, newValue, cmpMeta);
911
- },
912
- configurable: true,
913
- enumerable: true
944
+ const ref = getHostRef(this);
945
+ if (origSetter) {
946
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
947
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
948
+ newValue = ref.$instanceValues$.get(memberName);
949
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
950
+ ref.$instanceValues$.set(memberName, currentValue);
951
+ }
952
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
953
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
954
+ setValue(this, memberName, newValue, cmpMeta);
955
+ return;
956
+ }
957
+ {
958
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
959
+ setValue(this, memberName, newValue, cmpMeta);
960
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
961
+ ref.$onReadyPromise$.then(() => {
962
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
963
+ ref.$lazyInstance$[memberName] = newValue;
964
+ }
965
+ });
966
+ }
967
+ return;
968
+ }
969
+ const setterSetVal = () => {
970
+ const currentValue = ref.$lazyInstance$[memberName];
971
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
972
+ ref.$instanceValues$.set(memberName, currentValue);
973
+ }
974
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
975
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
976
+ };
977
+ if (ref.$lazyInstance$) {
978
+ setterSetVal();
979
+ } else {
980
+ ref.$onReadyPromise$.then(() => setterSetVal());
981
+ }
982
+ }
983
+ }
914
984
  });
915
985
  }
916
986
  });
@@ -920,7 +990,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
920
990
  plt.jmp(() => {
921
991
  var _a2;
922
992
  const propName = attrNameToPropName.get(attrName);
923
- if (this.hasOwnProperty(propName)) {
993
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
924
994
  newValue = this[propName];
925
995
  delete this[propName];
926
996
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -940,7 +1010,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
940
1010
  }
941
1011
  return;
942
1012
  }
943
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1013
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1014
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1015
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1016
+ this[propName] = newValue;
1017
+ }
944
1018
  });
945
1019
  };
946
1020
  Cstr.observedAttributes = Array.from(
@@ -965,7 +1039,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
965
1039
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
966
1040
  const bundleId = cmpMeta.$lazyBundleId$;
967
1041
  if (bundleId) {
968
- const CstrImport = loadModule(cmpMeta);
1042
+ const CstrImport = loadModule(cmpMeta, hostRef);
969
1043
  if (CstrImport && "then" in CstrImport) {
970
1044
  const endLoad = uniqueTime();
971
1045
  Cstr = await CstrImport;
@@ -990,7 +1064,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
990
1064
  try {
991
1065
  new Cstr(hostRef);
992
1066
  } catch (e) {
993
- consoleError(e);
1067
+ consoleError(e, elm);
994
1068
  }
995
1069
  {
996
1070
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1025,7 +1099,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1025
1099
  schedule();
1026
1100
  }
1027
1101
  };
1028
- var fireConnectedCallback = (instance) => {
1102
+ var fireConnectedCallback = (instance, elm) => {
1029
1103
  };
1030
1104
 
1031
1105
  // src/runtime/connected-callback.ts
@@ -1065,7 +1139,7 @@ var connectedCallback = (elm) => {
1065
1139
  endConnected();
1066
1140
  }
1067
1141
  };
1068
- var disconnectInstance = (instance) => {
1142
+ var disconnectInstance = (instance, elm) => {
1069
1143
  };
1070
1144
  var disconnectedCallback = async (elm) => {
1071
1145
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1074,6 +1148,12 @@ var disconnectedCallback = async (elm) => {
1074
1148
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1075
1149
  }
1076
1150
  }
1151
+ if (rootAppliedStyles.has(elm)) {
1152
+ rootAppliedStyles.delete(elm);
1153
+ }
1154
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1155
+ rootAppliedStyles.delete(elm.shadowRoot);
1156
+ }
1077
1157
  };
1078
1158
 
1079
1159
  // src/runtime/bootstrap-lazy.ts
@@ -1151,6 +1231,17 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1151
1231
  }
1152
1232
  disconnectedCallback() {
1153
1233
  plt.jmp(() => disconnectedCallback(this));
1234
+ plt.raf(() => {
1235
+ var _a3;
1236
+ const hostRef = getHostRef(this);
1237
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1238
+ if (i2 > -1) {
1239
+ deferredConnectedCallbacks.splice(i2, 1);
1240
+ }
1241
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1242
+ delete hostRef.$vnode$.$elm$;
1243
+ }
1244
+ });
1154
1245
  }
1155
1246
  componentOnReady() {
1156
1247
  return getHostRef(this).$onReadyPromise$;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ebf58fc5.js');
5
+ const index = require('./index-a6322576.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.22.3",
7
+ "version": "4.26.0",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -1,19 +1,35 @@
1
+ import { __decorate, __metadata } from "tslib";
1
2
  import { h } from "@stencil/core";
3
+ import { Style } from "../../decorators/style.decorator";
4
+ import { Locale } from "../../decorators/locale.decorator";
2
5
  import { RenderJackpotWinner } from "../../renders";
3
6
  import { getWinners } from "../../utils/business";
4
7
  import { setDefaultStyle } from "../../renders/images";
5
8
  export class CasinoJackpotWinner {
6
9
  constructor() {
7
- this.isComponentLoaded = false;
8
- this.endpoint = undefined;
10
+ /**
11
+ * Language of the widget
12
+ */
9
13
  this.language = 'en';
14
+ /**
15
+ * Client custom styling via string
16
+ */
10
17
  this.clientStyling = '';
18
+ /**
19
+ * Client custom styling via url
20
+ */
11
21
  this.clientStylingUrl = '';
22
+ /**
23
+ * translation via url
24
+ */
12
25
  this.translationUrl = '';
26
+ /**
27
+ * Currency of the widget
28
+ */
13
29
  this.currency = 'EUR';
14
- this.locale = undefined;
15
30
  this.users = [];
16
31
  this.isLoading = true;
32
+ this.isComponentLoaded = false;
17
33
  }
18
34
  render() {
19
35
  const { isLoading, users, currency, locale } = this;
@@ -75,6 +91,8 @@ export class CasinoJackpotWinner {
75
91
  "tags": [],
76
92
  "text": "Endpoint URL for the source of data"
77
93
  },
94
+ "getter": false,
95
+ "setter": false,
78
96
  "attribute": "endpoint",
79
97
  "reflect": false
80
98
  },
@@ -92,6 +110,8 @@ export class CasinoJackpotWinner {
92
110
  "tags": [],
93
111
  "text": "Language of the widget"
94
112
  },
113
+ "getter": false,
114
+ "setter": false,
95
115
  "attribute": "language",
96
116
  "reflect": false,
97
117
  "defaultValue": "'en'"
@@ -110,6 +130,8 @@ export class CasinoJackpotWinner {
110
130
  "tags": [],
111
131
  "text": "Client custom styling via string"
112
132
  },
133
+ "getter": false,
134
+ "setter": false,
113
135
  "attribute": "client-styling",
114
136
  "reflect": false,
115
137
  "defaultValue": "''"
@@ -128,6 +150,8 @@ export class CasinoJackpotWinner {
128
150
  "tags": [],
129
151
  "text": "Client custom styling via url"
130
152
  },
153
+ "getter": false,
154
+ "setter": false,
131
155
  "attribute": "client-styling-url",
132
156
  "reflect": false,
133
157
  "defaultValue": "''"
@@ -146,6 +170,8 @@ export class CasinoJackpotWinner {
146
170
  "tags": [],
147
171
  "text": "translation via url"
148
172
  },
173
+ "getter": false,
174
+ "setter": false,
149
175
  "attribute": "translation-url",
150
176
  "reflect": false,
151
177
  "defaultValue": "''"
@@ -164,6 +190,8 @@ export class CasinoJackpotWinner {
164
190
  "tags": [],
165
191
  "text": "Currency of the widget"
166
192
  },
193
+ "getter": false,
194
+ "setter": false,
167
195
  "attribute": "currency",
168
196
  "reflect": false,
169
197
  "defaultValue": "'EUR'"
@@ -188,3 +216,15 @@ export class CasinoJackpotWinner {
188
216
  }];
189
217
  }
190
218
  }
219
+ __decorate([
220
+ Locale(),
221
+ __metadata("design:type", String)
222
+ ], CasinoJackpotWinner.prototype, "language", void 0);
223
+ __decorate([
224
+ Style(),
225
+ __metadata("design:type", String)
226
+ ], CasinoJackpotWinner.prototype, "clientStyling", void 0);
227
+ __decorate([
228
+ Style(),
229
+ __metadata("design:type", String)
230
+ ], CasinoJackpotWinner.prototype, "clientStylingUrl", void 0);