funnel-gfx-wc 0.1.299 → 0.1.301

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Btm0iR2V.js');
3
+ var index = require('./index-BDiAZeEY.js');
4
4
 
5
5
  const Radio = props => {
6
6
  const hex = props.hex || 'currentColor';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Btm0iR2V.js');
3
+ var index = require('./index-BDiAZeEY.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.44.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.45.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -5,7 +5,7 @@ const BUILD = /* funnel-gfx-wc */ { allRenderFn: true, appendChildSlotFix: false
5
5
  const Env = /* funnel-gfx-wc */ {};
6
6
 
7
7
  /*
8
- Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.45.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var Build = {
@@ -2016,13 +2016,14 @@ var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) =>
2016
2016
  }
2017
2017
  }).join(", ");
2018
2018
  };
2019
+ var isScopableAtRule = (selector) => selector.startsWith("@media") || selector.startsWith("@supports") || selector.startsWith("@page") || selector.startsWith("@document") || selector.startsWith("@layer");
2019
2020
  var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
2020
2021
  return processRules(cssText, (rule) => {
2021
2022
  let selector = rule.selector;
2022
2023
  let content = rule.content;
2023
2024
  if (rule.selector[0] !== "@") {
2024
2025
  selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
2025
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
2026
+ } else if (isScopableAtRule(rule.selector)) {
2026
2027
  content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
2027
2028
  }
2028
2029
  const cssRule = {
@@ -2101,15 +2102,16 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
2101
2102
  rule.selector = placeholder + rule.selector;
2102
2103
  return rule;
2103
2104
  };
2104
- cssText = processRules(cssText, (rule) => {
2105
+ const commentSelectors = (input) => processRules(input, (rule) => {
2105
2106
  if (rule.selector[0] !== "@") {
2106
2107
  return processCommentedSelector(rule);
2107
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
2108
- rule.content = processRules(rule.content, processCommentedSelector);
2109
- return rule;
2108
+ }
2109
+ if (isScopableAtRule(rule.selector)) {
2110
+ rule.content = commentSelectors(rule.content);
2110
2111
  }
2111
2112
  return rule;
2112
2113
  });
2114
+ cssText = commentSelectors(cssText);
2113
2115
  }
2114
2116
  const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
2115
2117
  cssText = [scoped.cssText, ...commentsWithHash].join("\n");
@@ -2766,7 +2768,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
2766
2768
  if (BUILD.vdomKey && idxInOld >= 0) {
2767
2769
  elmToMove = oldCh[idxInOld];
2768
2770
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
2769
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
2771
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
2770
2772
  } else {
2771
2773
  patch(elmToMove, newStartVnode, isInitialRender);
2772
2774
  oldCh[idxInOld] = void 0;
@@ -3658,23 +3660,28 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3658
3660
  }
3659
3661
  return;
3660
3662
  }
3661
- const setterSetVal = () => {
3663
+ const parsedValue = parsePropertyValue(
3664
+ newValue,
3665
+ memberFlags,
3666
+ BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */)
3667
+ );
3668
+ const setterSetVal = (val) => {
3662
3669
  const currentValue = ref.$lazyInstance$[memberName];
3663
3670
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
3664
3671
  ref.$instanceValues$.set(memberName, currentValue);
3665
3672
  }
3666
- ref.$lazyInstance$[memberName] = parsePropertyValue(
3667
- newValue,
3668
- memberFlags,
3669
- BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */)
3670
- );
3673
+ ref.$lazyInstance$[memberName] = val;
3671
3674
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
3672
3675
  };
3673
3676
  if (ref.$lazyInstance$) {
3674
- setterSetVal();
3677
+ setterSetVal(parsedValue);
3675
3678
  } else {
3679
+ ref.$instanceValues$.set(memberName, parsedValue);
3676
3680
  ref.$fetchedCbList$.push(() => {
3677
- setterSetVal();
3681
+ const pendingValue = ref.$instanceValues$.get(memberName);
3682
+ if (ref.$lazyInstance$[memberName] !== pendingValue) {
3683
+ setterSetVal(pendingValue);
3684
+ }
3678
3685
  });
3679
3686
  }
3680
3687
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Btm0iR2V.js');
3
+ var index = require('./index-BDiAZeEY.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -5,7 +5,7 @@
5
5
  "mixins": [],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.44.2",
8
+ "version": "4.45.0",
9
9
  "typescriptVersion": "5.8.3"
10
10
  },
11
11
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { h, S as StencilCore, r as registerInstance } from './index-DZQJpb5Z.js';
1
+ import { h, S as StencilCore, r as registerInstance } from './index-B8IMz9YW.js';
2
2
 
3
3
  const Radio = props => {
4
4
  const hex = props.hex || 'currentColor';
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-DZQJpb5Z.js';
2
- export { s as setNonce } from './index-DZQJpb5Z.js';
1
+ import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-B8IMz9YW.js';
2
+ export { s as setNonce } from './index-B8IMz9YW.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.44.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.45.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -3,7 +3,7 @@ const BUILD = /* funnel-gfx-wc */ { allRenderFn: true, appendChildSlotFix: false
3
3
  const Env = /* funnel-gfx-wc */ {};
4
4
 
5
5
  /*
6
- Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Platform v4.45.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var Build = {
@@ -2014,13 +2014,14 @@ var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) =>
2014
2014
  }
2015
2015
  }).join(", ");
2016
2016
  };
2017
+ var isScopableAtRule = (selector) => selector.startsWith("@media") || selector.startsWith("@supports") || selector.startsWith("@page") || selector.startsWith("@document") || selector.startsWith("@layer");
2017
2018
  var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
2018
2019
  return processRules(cssText, (rule) => {
2019
2020
  let selector = rule.selector;
2020
2021
  let content = rule.content;
2021
2022
  if (rule.selector[0] !== "@") {
2022
2023
  selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
2023
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
2024
+ } else if (isScopableAtRule(rule.selector)) {
2024
2025
  content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
2025
2026
  }
2026
2027
  const cssRule = {
@@ -2099,15 +2100,16 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
2099
2100
  rule.selector = placeholder + rule.selector;
2100
2101
  return rule;
2101
2102
  };
2102
- cssText = processRules(cssText, (rule) => {
2103
+ const commentSelectors = (input) => processRules(input, (rule) => {
2103
2104
  if (rule.selector[0] !== "@") {
2104
2105
  return processCommentedSelector(rule);
2105
- } else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
2106
- rule.content = processRules(rule.content, processCommentedSelector);
2107
- return rule;
2106
+ }
2107
+ if (isScopableAtRule(rule.selector)) {
2108
+ rule.content = commentSelectors(rule.content);
2108
2109
  }
2109
2110
  return rule;
2110
2111
  });
2112
+ cssText = commentSelectors(cssText);
2111
2113
  }
2112
2114
  const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
2113
2115
  cssText = [scoped.cssText, ...commentsWithHash].join("\n");
@@ -2764,7 +2766,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
2764
2766
  if (BUILD.vdomKey && idxInOld >= 0) {
2765
2767
  elmToMove = oldCh[idxInOld];
2766
2768
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
2767
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
2769
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
2768
2770
  } else {
2769
2771
  patch(elmToMove, newStartVnode, isInitialRender);
2770
2772
  oldCh[idxInOld] = void 0;
@@ -3656,23 +3658,28 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3656
3658
  }
3657
3659
  return;
3658
3660
  }
3659
- const setterSetVal = () => {
3661
+ const parsedValue = parsePropertyValue(
3662
+ newValue,
3663
+ memberFlags,
3664
+ BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */)
3665
+ );
3666
+ const setterSetVal = (val) => {
3660
3667
  const currentValue = ref.$lazyInstance$[memberName];
3661
3668
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
3662
3669
  ref.$instanceValues$.set(memberName, currentValue);
3663
3670
  }
3664
- ref.$lazyInstance$[memberName] = parsePropertyValue(
3665
- newValue,
3666
- memberFlags,
3667
- BUILD.formAssociated && !!(cmpMeta.$flags$ & 64 /* formAssociated */)
3668
- );
3671
+ ref.$lazyInstance$[memberName] = val;
3669
3672
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
3670
3673
  };
3671
3674
  if (ref.$lazyInstance$) {
3672
- setterSetVal();
3675
+ setterSetVal(parsedValue);
3673
3676
  } else {
3677
+ ref.$instanceValues$.set(memberName, parsedValue);
3674
3678
  ref.$fetchedCbList$.push(() => {
3675
- setterSetVal();
3679
+ const pendingValue = ref.$instanceValues$.get(memberName);
3680
+ if (ref.$lazyInstance$[memberName] !== pendingValue) {
3681
+ setterSetVal(pendingValue);
3682
+ }
3676
3683
  });
3677
3684
  }
3678
3685
  }
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-DZQJpb5Z.js';
2
- export { s as setNonce } from './index-DZQJpb5Z.js';
1
+ import { b as bootstrapLazy } from './index-B8IMz9YW.js';
2
+ export { s as setNonce } from './index-B8IMz9YW.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1 +1 @@
1
- import{p as t,B as n,c as e,w as a,N as r,H as p,b as i}from"./p-DZQJpb5Z.js";export{s as setNonce}from"./p-DZQJpb5Z.js";import{g as o}from"./p-DQuL1Twl.js";var c=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const n=t.call(this,!1),e=this.childNodes;if(s)for(let s=0;s<e.length;s++)2!==e[s].nodeType&&n.appendChild(e[s].cloneNode(!0));return n}};(()=>{n.isDev&&!n.isTesting&&e("Running in development mode."),n.cloneNodeFix&&c(p.prototype);const s=n.scriptDataOpts?a.document&&Array.from(a.document.querySelectorAll("script")).find((s=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===r)):null,i=import.meta.url,o=n.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(o.resourcesUrl=new URL(".",i).href),t(o)})().then((async s=>(await o(),i([["p-9e67c773",[[1,"funnel-app",{tag:[1]}]]]],s))));
1
+ import{p as t,B as e,c as n,w as a,N as r,H as i,b as o}from"./p-B8IMz9YW.js";export{s as setNonce}from"./p-B8IMz9YW.js";import{g as p}from"./p-DQuL1Twl.js";var m=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const e=t.call(this,!1),n=this.childNodes;if(s)for(let s=0;s<n.length;s++)2!==n[s].nodeType&&e.appendChild(n[s].cloneNode(!0));return e}};(()=>{e.isDev&&!e.isTesting&&n("Running in development mode."),e.cloneNodeFix&&m(i.prototype);const s=e.scriptDataOpts?a.document&&Array.from(a.document.querySelectorAll("script")).find((s=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===r)):null,o=import.meta.url,p=e.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==o&&(p.resourcesUrl=new URL(".",o).href),t(p)})().then((async s=>(await p(),o([["p-3beb47e8",[[1,"funnel-app",{tag:[1]}]]]],s))));