@everymatrix/lottery-ticket 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.
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5792d6e6.js');
5
+ const index = require('./index-d6e1a914.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.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
  {
@@ -2,7 +2,7 @@ const NAMESPACE = 'lottery-ticket';
2
2
  const BUILD = /* lottery-ticket */ { 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: false, 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 };
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) => {
@@ -359,31 +359,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
359
359
  if (nonce != null) {
360
360
  styleElm.setAttribute("nonce", nonce);
361
361
  }
362
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
363
- if (styleContainerNode.nodeName === "HEAD") {
364
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
365
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
366
- styleContainerNode.insertBefore(styleElm, referenceNode2);
367
- } else if ("host" in styleContainerNode) {
368
- if (supportsConstructableStylesheets) {
369
- const stylesheet = new CSSStyleSheet();
370
- stylesheet.replaceSync(style);
371
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
372
- } else {
373
- const existingStyleContainer = styleContainerNode.querySelector("style");
374
- if (existingStyleContainer) {
375
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
376
- } else {
377
- styleContainerNode.prepend(styleElm);
378
- }
379
- }
380
- } else {
381
- styleContainerNode.append(styleElm);
382
- }
383
- }
384
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
385
- styleContainerNode.insertBefore(styleElm, null);
386
- }
362
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
387
363
  }
388
364
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
389
365
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -406,7 +382,7 @@ var attachStyles = (hostRef) => {
406
382
  const scopeId2 = addStyle(
407
383
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
408
384
  cmpMeta);
409
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
385
+ if (flags & 10 /* needsScopedEncapsulation */) {
410
386
  elm["s-sc"] = scopeId2;
411
387
  elm.classList.add(scopeId2 + "-h");
412
388
  }
@@ -475,11 +451,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
475
451
  if (memberName === "list") {
476
452
  isProp = false;
477
453
  } else if (oldValue == null || elm[memberName] != n) {
478
- if (typeof elm.__lookupSetter__(memberName) === "function") {
479
- elm[memberName] = n;
480
- } else {
481
- elm.setAttribute(memberName, n);
482
- }
454
+ elm[memberName] = n;
483
455
  }
484
456
  } else {
485
457
  elm[memberName] = newValue;
@@ -552,9 +524,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
552
524
  {
553
525
  updateElement(null, newVNode2, isSvgMode);
554
526
  }
555
- const rootNode = elm.getRootNode();
556
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
557
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
527
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
558
528
  elm.classList.add(elm["s-si"] = scopeId);
559
529
  }
560
530
  if (newVNode2.$children$) {
@@ -708,10 +678,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
708
678
  elm.textContent = "";
709
679
  }
710
680
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
711
- } else if (
712
- // don't do this on initial render as it can cause non-hydrated content to be removed
713
- !isInitialRender && BUILD.updatable && oldChildren !== null
714
- ) {
681
+ } else if (oldChildren !== null) {
715
682
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
716
683
  }
717
684
  } else if (oldVNode.$text$ !== text) {
@@ -983,8 +950,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
983
950
  if (this.hasOwnProperty(propName)) {
984
951
  newValue = this[propName];
985
952
  delete this[propName];
986
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
987
- this[propName] == newValue) {
953
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
988
954
  return;
989
955
  } else if (propName == null) {
990
956
  const hostRef = getHostRef(this);
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-7ea73aed.js';
2
- export { s as setNonce } from './index-7ea73aed.js';
1
+ import { b as bootstrapLazy } from './index-09f8a089.js';
2
+ export { s as setNonce } from './index-09f8a089.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {