@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
@@ -1,21 +1,17 @@
1
1
  const NAMESPACE = 'casino-jackpot-winner';
2
- 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 };
2
+ 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 };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
-
13
- // src/client/client-host-ref.ts
14
12
  var hostRefs = /* @__PURE__ */ new WeakMap();
15
13
  var getHostRef = (ref) => hostRefs.get(ref);
16
- var registerInstance = (lazyInstance, hostRef) => {
17
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
- };
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
19
15
  var registerHost = (hostElement, cmpMeta) => {
20
16
  const hostRef = {
21
17
  $flags$: 0,
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
28
24
  hostElement["s-p"] = [];
29
25
  hostElement["s-rc"] = [];
30
26
  }
31
- const ref = hostRefs.set(hostElement, hostRef);
32
- return ref;
27
+ return hostRefs.set(hostElement, hostRef);
33
28
  };
34
29
  var isMemberInElement = (elm, memberName) => memberName in elm;
35
30
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
66
61
  /* webpackExclude: /\.system\.entry\.js$/ */
67
62
  /* webpackMode: "lazy" */
68
63
  `./${bundleId}.entry.js${""}`
69
- ).then(
70
- (importedModule) => {
71
- {
72
- cmpModules.set(bundleId, importedModule);
73
- }
74
- return importedModule[exportName];
75
- },
76
- (e) => {
77
- consoleError(e, hostRef.$hostElement$);
64
+ ).then((importedModule) => {
65
+ {
66
+ cmpModules.set(bundleId, importedModule);
78
67
  }
79
- );
68
+ return importedModule[exportName];
69
+ }, consoleError);
80
70
  };
81
71
 
82
72
  // src/client/client-style.ts
83
73
  var styles = /* @__PURE__ */ new Map();
84
- var HYDRATED_STYLE_ID = "sty-id";
85
74
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
86
75
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
87
76
  var win = typeof window !== "undefined" ? window : {};
@@ -139,6 +128,12 @@ var flush = () => {
139
128
  };
140
129
  var nextTick = (cb) => promiseResolve().then(cb);
141
130
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
131
+
132
+ // src/utils/constants.ts
133
+ var EMPTY_OBJ = {};
134
+
135
+ // src/utils/helpers.ts
136
+ var isDef = (v) => v != null;
142
137
  var isComplexType = (o) => {
143
138
  o = typeof o;
144
139
  return o === "object" || o === "function";
@@ -352,7 +347,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
352
347
  }
353
348
  if (!appliedStyles.has(scopeId2)) {
354
349
  {
355
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
350
+ styleElm = doc.createElement("style");
356
351
  styleElm.innerHTML = style;
357
352
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
358
353
  if (nonce != null) {
@@ -362,10 +357,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
362
357
  if (styleContainerNode.nodeName === "HEAD") {
363
358
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
364
359
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
365
- styleContainerNode.insertBefore(
366
- styleElm,
367
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
368
- );
360
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
369
361
  } else if ("host" in styleContainerNode) {
370
362
  if (supportsConstructableStylesheets) {
371
363
  const stylesheet = new CSSStyleSheet();
@@ -383,7 +375,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
383
375
  styleContainerNode.append(styleElm);
384
376
  }
385
377
  }
386
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
378
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
387
379
  styleContainerNode.insertBefore(styleElm, null);
388
380
  }
389
381
  }
@@ -408,14 +400,14 @@ var attachStyles = (hostRef) => {
408
400
  const scopeId2 = addStyle(
409
401
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
410
402
  cmpMeta);
411
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
403
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
412
404
  elm["s-sc"] = scopeId2;
413
405
  elm.classList.add(scopeId2 + "-h");
414
406
  }
415
407
  endAttachStyles();
416
408
  };
417
409
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
418
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
410
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
419
411
  if (oldValue !== newValue) {
420
412
  let isProp = isMemberInElement(elm, memberName);
421
413
  memberName.toLowerCase();
@@ -434,7 +426,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
434
426
  elm.setAttribute(memberName, n);
435
427
  }
436
428
  }
437
- } else if (elm[memberName] !== newValue) {
429
+ } else {
438
430
  elm[memberName] = newValue;
439
431
  }
440
432
  } catch (e) {
@@ -457,31 +449,19 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
457
449
  };
458
450
 
459
451
  // src/runtime/vdom/update-element.ts
460
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
452
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
461
453
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
462
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
463
- const newVnodeAttrs = newVnode.$attrs$ || {};
454
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
455
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
464
456
  {
465
457
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
466
458
  if (!(memberName in newVnodeAttrs)) {
467
- setAccessor(
468
- elm,
469
- memberName,
470
- oldVnodeAttrs[memberName],
471
- void 0,
472
- isSvgMode2,
473
- newVnode.$flags$);
459
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
474
460
  }
475
461
  }
476
462
  }
477
463
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
478
- setAccessor(
479
- elm,
480
- memberName,
481
- oldVnodeAttrs[memberName],
482
- newVnodeAttrs[memberName],
483
- isSvgMode2,
484
- newVnode.$flags$);
464
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
485
465
  }
486
466
  };
487
467
  function sortedAttrNames(attrNames) {
@@ -493,10 +473,13 @@ function sortedAttrNames(attrNames) {
493
473
  attrNames
494
474
  );
495
475
  }
476
+
477
+ // src/runtime/vdom/vdom-render.ts
478
+ var scopeId;
496
479
  var hostTagName;
497
480
  var useNativeShadowDom = false;
498
481
  var isSvgMode = false;
499
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
482
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
500
483
  const newVNode2 = newParentVNode.$children$[childIndex];
501
484
  let i2 = 0;
502
485
  let elm;
@@ -508,6 +491,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
508
491
  {
509
492
  updateElement(null, newVNode2, isSvgMode);
510
493
  }
494
+ const rootNode = elm.getRootNode();
495
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
496
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
497
+ elm.classList.add(elm["s-si"] = scopeId);
498
+ }
511
499
  if (newVNode2.$children$) {
512
500
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
513
501
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -636,9 +624,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
636
624
  if (!isInitialRender) {
637
625
  return leftVNode.$key$ === rightVNode.$key$;
638
626
  }
639
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
640
- leftVNode.$key$ = rightVNode.$key$;
641
- }
642
627
  return true;
643
628
  }
644
629
  return false;
@@ -666,9 +651,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
666
651
  }
667
652
  };
668
653
  var insertBefore = (parent, newNode, reference) => {
669
- {
670
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
671
- }
654
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
655
+ return inserted;
672
656
  };
673
657
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
674
658
  const hostElm = hostRef.$hostElement$;
@@ -687,21 +671,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
687
671
  rootVnode.$flags$ |= 4 /* isHost */;
688
672
  hostRef.$vnode$ = rootVnode;
689
673
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
690
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
674
+ {
675
+ scopeId = hostElm["s-sc"];
676
+ }
677
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
691
678
  patch(oldVNode, rootVnode, isInitialLoad);
692
679
  };
693
680
 
694
681
  // src/runtime/update-component.ts
695
682
  var attachToAncestor = (hostRef, ancestorComponent) => {
696
683
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
697
- const index = ancestorComponent["s-p"].push(
698
- new Promise(
699
- (r) => hostRef.$onRenderResolve$ = () => {
700
- ancestorComponent["s-p"].splice(index - 1, 1);
701
- r();
702
- }
703
- )
704
- );
684
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
705
685
  }
706
686
  };
707
687
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -728,7 +708,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
728
708
  let maybePromise;
729
709
  if (isInitialLoad) {
730
710
  {
731
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
711
+ maybePromise = safeCall(instance, "componentWillLoad");
732
712
  }
733
713
  }
734
714
  endSchedule();
@@ -802,7 +782,7 @@ var postUpdateComponent = (hostRef) => {
802
782
  addHydratedFlag(elm);
803
783
  }
804
784
  {
805
- safeCall(instance, "componentDidLoad", void 0, elm);
785
+ safeCall(instance, "componentDidLoad");
806
786
  }
807
787
  endPostUpdate();
808
788
  {
@@ -826,14 +806,17 @@ var postUpdateComponent = (hostRef) => {
826
806
  }
827
807
  };
828
808
  var appDidLoad = (who) => {
809
+ {
810
+ addHydratedFlag(doc.documentElement);
811
+ }
829
812
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
830
813
  };
831
- var safeCall = (instance, method, arg, elm) => {
814
+ var safeCall = (instance, method, arg) => {
832
815
  if (instance && instance[method]) {
833
816
  try {
834
817
  return instance[method](arg);
835
818
  } catch (e) {
836
- consoleError(e, elm);
819
+ consoleError(e);
837
820
  }
838
821
  }
839
822
  return void 0;
@@ -897,68 +880,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
897
880
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
898
881
  members.map(([memberName, [memberFlags]]) => {
899
882
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
900
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
901
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
902
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
903
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
904
- Object.defineProperty(prototype, memberName, {
905
- get() {
906
- {
907
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
908
- return getValue(this, memberName);
909
- }
910
- const ref = getHostRef(this);
911
- const instance = ref ? ref.$lazyInstance$ : prototype;
912
- if (!instance) return;
913
- return instance[memberName];
914
- }
915
- },
916
- configurable: true,
917
- enumerable: true
918
- });
919
- }
920
883
  Object.defineProperty(prototype, memberName, {
884
+ get() {
885
+ return getValue(this, memberName);
886
+ },
921
887
  set(newValue) {
922
- const ref = getHostRef(this);
923
- if (origSetter) {
924
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
925
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
926
- newValue = ref.$instanceValues$.get(memberName);
927
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
928
- ref.$instanceValues$.set(memberName, currentValue);
929
- }
930
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
931
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
932
- setValue(this, memberName, newValue, cmpMeta);
933
- return;
934
- }
935
- {
936
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
937
- setValue(this, memberName, newValue, cmpMeta);
938
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
939
- ref.$onReadyPromise$.then(() => {
940
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
941
- ref.$lazyInstance$[memberName] = newValue;
942
- }
943
- });
944
- }
945
- return;
946
- }
947
- const setterSetVal = () => {
948
- const currentValue = ref.$lazyInstance$[memberName];
949
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
950
- ref.$instanceValues$.set(memberName, currentValue);
951
- }
952
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
953
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
954
- };
955
- if (ref.$lazyInstance$) {
956
- setterSetVal();
957
- } else {
958
- ref.$onReadyPromise$.then(() => setterSetVal());
959
- }
960
- }
961
- }
888
+ setValue(this, memberName, newValue, cmpMeta);
889
+ },
890
+ configurable: true,
891
+ enumerable: true
962
892
  });
963
893
  }
964
894
  });
@@ -968,7 +898,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
968
898
  plt.jmp(() => {
969
899
  var _a2;
970
900
  const propName = attrNameToPropName.get(attrName);
971
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
901
+ if (this.hasOwnProperty(propName)) {
972
902
  newValue = this[propName];
973
903
  delete this[propName];
974
904
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -988,11 +918,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
988
918
  }
989
919
  return;
990
920
  }
991
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
992
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
993
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
994
- this[propName] = newValue;
995
- }
921
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
996
922
  });
997
923
  };
998
924
  Cstr.observedAttributes = Array.from(
@@ -1017,7 +943,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1017
943
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1018
944
  const bundleId = cmpMeta.$lazyBundleId$;
1019
945
  if (bundleId) {
1020
- const CstrImport = loadModule(cmpMeta, hostRef);
946
+ const CstrImport = loadModule(cmpMeta);
1021
947
  if (CstrImport && "then" in CstrImport) {
1022
948
  const endLoad = uniqueTime();
1023
949
  Cstr = await CstrImport;
@@ -1042,7 +968,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1042
968
  try {
1043
969
  new Cstr(hostRef);
1044
970
  } catch (e) {
1045
- consoleError(e, elm);
971
+ consoleError(e);
1046
972
  }
1047
973
  {
1048
974
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1077,7 +1003,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1077
1003
  schedule();
1078
1004
  }
1079
1005
  };
1080
- var fireConnectedCallback = (instance, elm) => {
1006
+ var fireConnectedCallback = (instance) => {
1081
1007
  };
1082
1008
 
1083
1009
  // src/runtime/connected-callback.ts
@@ -1117,7 +1043,7 @@ var connectedCallback = (elm) => {
1117
1043
  endConnected();
1118
1044
  }
1119
1045
  };
1120
- var disconnectInstance = (instance, elm) => {
1046
+ var disconnectInstance = (instance) => {
1121
1047
  };
1122
1048
  var disconnectedCallback = async (elm) => {
1123
1049
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1126,12 +1052,6 @@ var disconnectedCallback = async (elm) => {
1126
1052
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1127
1053
  }
1128
1054
  }
1129
- if (rootAppliedStyles.has(elm)) {
1130
- rootAppliedStyles.delete(elm);
1131
- }
1132
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1133
- rootAppliedStyles.delete(elm.shadowRoot);
1134
- }
1135
1055
  };
1136
1056
 
1137
1057
  // src/runtime/bootstrap-lazy.ts
@@ -1209,17 +1129,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1209
1129
  }
1210
1130
  disconnectedCallback() {
1211
1131
  plt.jmp(() => disconnectedCallback(this));
1212
- plt.raf(() => {
1213
- var _a3;
1214
- const hostRef = getHostRef(this);
1215
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1216
- if (i2 > -1) {
1217
- deferredConnectedCallbacks.splice(i2, 1);
1218
- }
1219
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1220
- delete hostRef.$vnode$.$elm$;
1221
- }
1222
- });
1223
1132
  }
1224
1133
  componentOnReady() {
1225
1134
  return getHostRef(this).$onReadyPromise$;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-8bc5c2e9.js';
2
- export { s as setNonce } from './index-8bc5c2e9.js';
1
+ import { b as bootstrapLazy } from './index-e8ade48c.js';
2
+ export { s as setNonce } from './index-e8ade48c.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-jackpot-winner",
3
- "version": "1.54.12",
3
+ "version": "1.55.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",