@everymatrix/lottery-ticket-controller 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.
@@ -24,7 +24,7 @@ const NAMESPACE = 'lottery-ticket-controller';
24
24
  const BUILD = /* lottery-ticket-controller */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, 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: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, 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.19.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -381,31 +381,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
381
381
  if (nonce != null) {
382
382
  styleElm.setAttribute("nonce", nonce);
383
383
  }
384
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
385
- if (styleContainerNode.nodeName === "HEAD") {
386
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
387
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
388
- styleContainerNode.insertBefore(styleElm, referenceNode2);
389
- } else if ("host" in styleContainerNode) {
390
- if (supportsConstructableStylesheets) {
391
- const stylesheet = new CSSStyleSheet();
392
- stylesheet.replaceSync(style);
393
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
394
- } else {
395
- const existingStyleContainer = styleContainerNode.querySelector("style");
396
- if (existingStyleContainer) {
397
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
398
- } else {
399
- styleContainerNode.prepend(styleElm);
400
- }
401
- }
402
- } else {
403
- styleContainerNode.append(styleElm);
404
- }
405
- }
406
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
407
- styleContainerNode.insertBefore(styleElm, null);
408
- }
384
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
409
385
  }
410
386
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
411
387
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -428,7 +404,7 @@ var attachStyles = (hostRef) => {
428
404
  const scopeId2 = addStyle(
429
405
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
430
406
  cmpMeta);
431
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
407
+ if (flags & 10 /* needsScopedEncapsulation */) {
432
408
  elm["s-sc"] = scopeId2;
433
409
  elm.classList.add(scopeId2 + "-h");
434
410
  }
@@ -497,11 +473,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
497
473
  if (memberName === "list") {
498
474
  isProp = false;
499
475
  } else if (oldValue == null || elm[memberName] != n) {
500
- if (typeof elm.__lookupSetter__(memberName) === "function") {
501
- elm[memberName] = n;
502
- } else {
503
- elm.setAttribute(memberName, n);
504
- }
476
+ elm[memberName] = n;
505
477
  }
506
478
  } else {
507
479
  elm[memberName] = newValue;
@@ -574,9 +546,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
574
546
  {
575
547
  updateElement(null, newVNode2, isSvgMode);
576
548
  }
577
- const rootNode = elm.getRootNode();
578
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
579
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
549
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
580
550
  elm.classList.add(elm["s-si"] = scopeId);
581
551
  }
582
552
  if (newVNode2.$children$) {
@@ -731,10 +701,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
731
701
  elm.textContent = "";
732
702
  }
733
703
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
734
- } else if (
735
- // don't do this on initial render as it can cause non-hydrated content to be removed
736
- !isInitialRender && BUILD.updatable && oldChildren !== null
737
- ) {
704
+ } else if (oldChildren !== null) {
738
705
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
739
706
  }
740
707
  } else if (oldVNode.$text$ !== text) {
@@ -1006,8 +973,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1006
973
  if (this.hasOwnProperty(propName)) {
1007
974
  newValue = this[propName];
1008
975
  delete this[propName];
1009
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1010
- this[propName] == newValue) {
976
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1011
977
  return;
1012
978
  } else if (propName == null) {
1013
979
  const hostRef = getHostRef(this);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e28f68ca.js');
5
+ const index = require('./index-1fc68b7c.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e28f68ca.js');
5
+ const index = require('./index-1fc68b7c.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lottery-ticket-controller.cjs.js', document.baseURI).href));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.22.3",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [
11
11
  {