@everymatrix/helper-filters 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,7 +2,7 @@ const NAMESPACE = 'helper-filters';
2
2
  const BUILD = /* helper-filters */ { 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: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, 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: true, propMutable: true, propNumber: false, 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: false, vdomText: true, vdomXlink: false, watchCallback: false };
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) => {
@@ -356,31 +356,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
356
356
  if (nonce != null) {
357
357
  styleElm.setAttribute("nonce", nonce);
358
358
  }
359
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
360
- if (styleContainerNode.nodeName === "HEAD") {
361
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
362
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
363
- styleContainerNode.insertBefore(styleElm, referenceNode2);
364
- } else if ("host" in styleContainerNode) {
365
- if (supportsConstructableStylesheets) {
366
- const stylesheet = new CSSStyleSheet();
367
- stylesheet.replaceSync(style);
368
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
369
- } else {
370
- const existingStyleContainer = styleContainerNode.querySelector("style");
371
- if (existingStyleContainer) {
372
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
373
- } else {
374
- styleContainerNode.prepend(styleElm);
375
- }
376
- }
377
- } else {
378
- styleContainerNode.append(styleElm);
379
- }
380
- }
381
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
382
- styleContainerNode.insertBefore(styleElm, null);
383
- }
359
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
384
360
  }
385
361
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
386
362
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -403,7 +379,7 @@ var attachStyles = (hostRef) => {
403
379
  const scopeId2 = addStyle(
404
380
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
405
381
  cmpMeta);
406
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
382
+ if (flags & 10 /* needsScopedEncapsulation */) {
407
383
  elm["s-sc"] = scopeId2;
408
384
  elm.classList.add(scopeId2 + "-h");
409
385
  }
@@ -451,11 +427,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
451
427
  if (memberName === "list") {
452
428
  isProp = false;
453
429
  } else if (oldValue == null || elm[memberName] != n) {
454
- if (typeof elm.__lookupSetter__(memberName) === "function") {
455
- elm[memberName] = n;
456
- } else {
457
- elm.setAttribute(memberName, n);
458
- }
430
+ elm[memberName] = n;
459
431
  }
460
432
  } else {
461
433
  elm[memberName] = newValue;
@@ -528,9 +500,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
528
500
  {
529
501
  updateElement(null, newVNode2, isSvgMode);
530
502
  }
531
- const rootNode = elm.getRootNode();
532
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
533
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
503
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
534
504
  elm.classList.add(elm["s-si"] = scopeId);
535
505
  }
536
506
  if (newVNode2.$children$) {
@@ -685,10 +655,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
685
655
  elm.textContent = "";
686
656
  }
687
657
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
688
- } else if (
689
- // don't do this on initial render as it can cause non-hydrated content to be removed
690
- !isInitialRender && BUILD.updatable && oldChildren !== null
691
- ) {
658
+ } else if (oldChildren !== null) {
692
659
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
693
660
  }
694
661
  } else if (oldVNode.$text$ !== text) {
@@ -944,8 +911,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
944
911
  if (this.hasOwnProperty(propName)) {
945
912
  newValue = this[propName];
946
913
  delete this[propName];
947
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
948
- this[propName] == newValue) {
914
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
949
915
  return;
950
916
  } else if (propName == null) {
951
917
  const hostRef = getHostRef(this);
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-92f953e8.js';
2
- export { s as setNonce } from './index-92f953e8.js';
1
+ import { b as bootstrapLazy } from './index-0fad714f.js';
2
+ export { s as setNonce } from './index-0fad714f.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1 +1 @@
1
- import{p as t,b as e}from"./p-188cfbf7.js";export{s as setNonce}from"./p-188cfbf7.js";import{g as l}from"./p-e1255160.js";(()=>{const e=import.meta.url,l={};return""!==e&&(l.resourcesUrl=new URL(".",e).href),t(l)})().then((async t=>(await l(),e([["p-d692ab77",[[1,"helper-filters",{showFilterId:[516,"show-filter-id"],activateTicketSearch:[516,"activate-ticket-search"],gameId:[513,"game-id"],playerId:[513,"player-id"],session:[513],postMessage:[516,"post-message"],language:[513],quickFiltersActive:[516,"quick-filters-active"],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],translationUrl:[520,"translation-url"],showFilterModal:[32],showClearButton:[32],filterData:[32],filterDataReset:[32],limitStylingAppends:[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"helper-modal",{titleModal:[513,"title-modal"],visible:[1540],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],limitStylingAppends:[32]}]]]],t))));
1
+ import{p as t,b as e}from"./p-a730a9fa.js";export{s as setNonce}from"./p-a730a9fa.js";import{g as l}from"./p-e1255160.js";(()=>{const e=import.meta.url,l={};return""!==e&&(l.resourcesUrl=new URL(".",e).href),t(l)})().then((async t=>(await l(),e([["p-185df28e",[[1,"helper-filters",{showFilterId:[516,"show-filter-id"],activateTicketSearch:[516,"activate-ticket-search"],gameId:[513,"game-id"],playerId:[513,"player-id"],session:[513],postMessage:[516,"post-message"],language:[513],quickFiltersActive:[516,"quick-filters-active"],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],translationUrl:[520,"translation-url"],showFilterModal:[32],showClearButton:[32],filterData:[32],filterDataReset:[32],limitStylingAppends:[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"helper-modal",{titleModal:[513,"title-modal"],visible:[1540],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],limitStylingAppends:[32]}]]]],t))));