funnel-gfx-wc 0.1.307 → 0.1.309

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-BDiAZeEY.js');
3
+ var index = require('./index-CrhRZZV_.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-BDiAZeEY.js');
3
+ var index = require('./index-CrhRZZV_.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.45.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.45.1 | 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.45.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.45.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var Build = {
@@ -188,7 +188,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
188
188
 
189
189
  // src/client/client-style.ts
190
190
  var styles = /* @__PURE__ */ new Map();
191
- var modeResolutionChain = [];
191
+ var modeResolver = [];
192
192
  var setScopedSSR = (_opts) => {
193
193
  };
194
194
  var needsScopedSSR = () => false;
@@ -2129,8 +2129,11 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
2129
2129
  };
2130
2130
 
2131
2131
  // src/runtime/mode.ts
2132
- var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
2133
- var setMode = (handler) => modeResolutionChain.push(handler);
2132
+ var computeMode = (elm) => modeResolver.map((h2) => h2(elm)).find((m) => !!m);
2133
+ var setMode = (handler) => {
2134
+ modeResolver.length = 0;
2135
+ modeResolver.push(handler);
2136
+ };
2134
2137
  var getMode = (ref) => {
2135
2138
  var _a;
2136
2139
  return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
@@ -3766,8 +3769,9 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3766
3769
  if (isBooleanTarget) {
3767
3770
  newValue = newValue === null || newValue === "false" ? false : true;
3768
3771
  }
3772
+ const currentValue = BUILD.lazyLoad && propMemberFlags & 4096 /* Setter */ ? hostRef.$instanceValues$.get(propName) : this[propName];
3769
3773
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
3770
- if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
3774
+ if (!isSpuriousBooleanRemoval && newValue != currentValue && (!propDesc.get || !!propDesc.set)) {
3771
3775
  this[propName] = newValue;
3772
3776
  }
3773
3777
  });
@@ -4692,7 +4696,7 @@ var StencilCore = /*#__PURE__*/Object.freeze({
4692
4696
  jsxDEV: jsxDEV,
4693
4697
  jsxs: jsxs,
4694
4698
  loadModule: loadModule,
4695
- modeResolutionChain: modeResolutionChain,
4699
+ modeResolver: modeResolver,
4696
4700
  needsScopedSSR: needsScopedSSR,
4697
4701
  nextTick: nextTick,
4698
4702
  normalizeWatchers: normalizeWatchers,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BDiAZeEY.js');
3
+ var index = require('./index-CrhRZZV_.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.45.0",
8
+ "version": "4.45.1",
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-B8IMz9YW.js';
1
+ import { h, S as StencilCore, r as registerInstance } from './index-Cj6jItjK.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-B8IMz9YW.js';
2
- export { s as setNonce } from './index-B8IMz9YW.js';
1
+ import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-Cj6jItjK.js';
2
+ export { s as setNonce } from './index-Cj6jItjK.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.45.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.45.1 | 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.45.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Platform v4.45.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var Build = {
@@ -186,7 +186,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
186
186
 
187
187
  // src/client/client-style.ts
188
188
  var styles = /* @__PURE__ */ new Map();
189
- var modeResolutionChain = [];
189
+ var modeResolver = [];
190
190
  var setScopedSSR = (_opts) => {
191
191
  };
192
192
  var needsScopedSSR = () => false;
@@ -2127,8 +2127,11 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
2127
2127
  };
2128
2128
 
2129
2129
  // src/runtime/mode.ts
2130
- var computeMode = (elm) => modeResolutionChain.map((h2) => h2(elm)).find((m) => !!m);
2131
- var setMode = (handler) => modeResolutionChain.push(handler);
2130
+ var computeMode = (elm) => modeResolver.map((h2) => h2(elm)).find((m) => !!m);
2131
+ var setMode = (handler) => {
2132
+ modeResolver.length = 0;
2133
+ modeResolver.push(handler);
2134
+ };
2132
2135
  var getMode = (ref) => {
2133
2136
  var _a;
2134
2137
  return (_a = getHostRef(ref)) == null ? void 0 : _a.$modeName$;
@@ -3764,8 +3767,9 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3764
3767
  if (isBooleanTarget) {
3765
3768
  newValue = newValue === null || newValue === "false" ? false : true;
3766
3769
  }
3770
+ const currentValue = BUILD.lazyLoad && propMemberFlags & 4096 /* Setter */ ? hostRef.$instanceValues$.get(propName) : this[propName];
3767
3771
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
3768
- if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
3772
+ if (!isSpuriousBooleanRemoval && newValue != currentValue && (!propDesc.get || !!propDesc.set)) {
3769
3773
  this[propName] = newValue;
3770
3774
  }
3771
3775
  });
@@ -4690,7 +4694,7 @@ var StencilCore = /*#__PURE__*/Object.freeze({
4690
4694
  jsxDEV: jsxDEV,
4691
4695
  jsxs: jsxs,
4692
4696
  loadModule: loadModule,
4693
- modeResolutionChain: modeResolutionChain,
4697
+ modeResolver: modeResolver,
4694
4698
  needsScopedSSR: needsScopedSSR,
4695
4699
  nextTick: nextTick,
4696
4700
  normalizeWatchers: normalizeWatchers,
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-B8IMz9YW.js';
2
- export { s as setNonce } from './index-B8IMz9YW.js';
1
+ import { b as bootstrapLazy } from './index-Cj6jItjK.js';
2
+ export { s as setNonce } from './index-Cj6jItjK.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 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))));
1
+ import{p as t,B as a,c as n,w as e,N as r,H as i,b as o}from"./p-Cj6jItjK.js";export{s as setNonce}from"./p-Cj6jItjK.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 a=t.call(this,!1),n=this.childNodes;if(s)for(let s=0;s<n.length;s++)2!==n[s].nodeType&&a.appendChild(n[s].cloneNode(!0));return a}};(()=>{a.isDev&&!a.isTesting&&n("Running in development mode."),a.cloneNodeFix&&m(i.prototype);const s=a.scriptDataOpts?e.document&&Array.from(e.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=a.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==o&&(p.resourcesUrl=new URL(".",o).href),t(p)})().then((async s=>(await p(),o([["p-3af8f1ae",[[1,"funnel-app",{tag:[1]}]]]],s))));