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