@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.
@@ -24,7 +24,7 @@ const NAMESPACE = 'helper-filters';
24
24
  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 };
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) => {
@@ -378,31 +378,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
378
378
  if (nonce != null) {
379
379
  styleElm.setAttribute("nonce", nonce);
380
380
  }
381
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
382
- if (styleContainerNode.nodeName === "HEAD") {
383
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
384
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
385
- styleContainerNode.insertBefore(styleElm, referenceNode2);
386
- } else if ("host" in styleContainerNode) {
387
- if (supportsConstructableStylesheets) {
388
- const stylesheet = new CSSStyleSheet();
389
- stylesheet.replaceSync(style);
390
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
391
- } else {
392
- const existingStyleContainer = styleContainerNode.querySelector("style");
393
- if (existingStyleContainer) {
394
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
395
- } else {
396
- styleContainerNode.prepend(styleElm);
397
- }
398
- }
399
- } else {
400
- styleContainerNode.append(styleElm);
401
- }
402
- }
403
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
404
- styleContainerNode.insertBefore(styleElm, null);
405
- }
381
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
406
382
  }
407
383
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
408
384
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -425,7 +401,7 @@ var attachStyles = (hostRef) => {
425
401
  const scopeId2 = addStyle(
426
402
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
427
403
  cmpMeta);
428
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
404
+ if (flags & 10 /* needsScopedEncapsulation */) {
429
405
  elm["s-sc"] = scopeId2;
430
406
  elm.classList.add(scopeId2 + "-h");
431
407
  }
@@ -473,11 +449,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
473
449
  if (memberName === "list") {
474
450
  isProp = false;
475
451
  } else if (oldValue == null || elm[memberName] != n) {
476
- if (typeof elm.__lookupSetter__(memberName) === "function") {
477
- elm[memberName] = n;
478
- } else {
479
- elm.setAttribute(memberName, n);
480
- }
452
+ elm[memberName] = n;
481
453
  }
482
454
  } else {
483
455
  elm[memberName] = newValue;
@@ -550,9 +522,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
550
522
  {
551
523
  updateElement(null, newVNode2, isSvgMode);
552
524
  }
553
- const rootNode = elm.getRootNode();
554
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
555
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
525
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
556
526
  elm.classList.add(elm["s-si"] = scopeId);
557
527
  }
558
528
  if (newVNode2.$children$) {
@@ -707,10 +677,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
707
677
  elm.textContent = "";
708
678
  }
709
679
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
710
- } else if (
711
- // don't do this on initial render as it can cause non-hydrated content to be removed
712
- !isInitialRender && BUILD.updatable && oldChildren !== null
713
- ) {
680
+ } else if (oldChildren !== null) {
714
681
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
715
682
  }
716
683
  } else if (oldVNode.$text$ !== text) {
@@ -966,8 +933,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
966
933
  if (this.hasOwnProperty(propName)) {
967
934
  newValue = this[propName];
968
935
  delete this[propName];
969
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
970
- this[propName] == newValue) {
936
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
971
937
  return;
972
938
  } else if (propName == null) {
973
939
  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-2f1b6083.js');
5
+ const index = require('./index-71fae404.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -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
  {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-92f953e8.js';
2
- export { s as setNonce } from './index-92f953e8.js';
1
+ import { p as promiseResolve, 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
  /*
6
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;