funnel-gfx-wc 0.1.105 → 0.1.107

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-Dy3ljJD1.js');
3
+ var index = require('./index-DpUr5qA8.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-Dy3ljJD1.js');
3
+ var index = require('./index-DpUr5qA8.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.37.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.38.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  const NAMESPACE = 'funnel-gfx-wc';
4
- const BUILD = /* funnel-gfx-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
4
+ const BUILD = /* funnel-gfx-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: false, updatable: true};
5
5
 
6
6
  /*
7
- Stencil Client Platform v4.37.1 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.38.0 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
  var __defProp = Object.defineProperty;
10
10
  var __export = (target, all) => {
@@ -33,13 +33,17 @@ var registerHost = (hostElement, cmpMeta) => {
33
33
  $flags$: 0,
34
34
  $hostElement$: hostElement,
35
35
  $cmpMeta$: cmpMeta,
36
- $instanceValues$: /* @__PURE__ */ new Map()
36
+ $instanceValues$: /* @__PURE__ */ new Map(),
37
+ $serializerValues$: /* @__PURE__ */ new Map()
37
38
  };
38
39
  {
39
40
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
40
41
  hostElement["s-p"] = [];
41
42
  hostElement["s-rc"] = [];
42
43
  }
44
+ {
45
+ hostRef.$fetchedCbList$ = [];
46
+ }
43
47
  const ref = hostRef;
44
48
  hostElement.__stencil__getHostRef = () => ref;
45
49
  return ref;
@@ -865,6 +869,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
865
869
  }
866
870
  let maybePromise;
867
871
  if (isInitialLoad) {
872
+ {
873
+ if (hostRef.$fetchedCbList$.length) {
874
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
875
+ }
876
+ }
868
877
  maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
869
878
  } else {
870
879
  maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
@@ -1036,7 +1045,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1036
1045
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1037
1046
  var _a, _b;
1038
1047
  const prototype = Cstr.prototype;
1039
- if (cmpMeta.$members$ || BUILD.watchCallback) {
1048
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
1040
1049
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1041
1050
  members.map(([memberName, [memberFlags]]) => {
1042
1051
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -1070,8 +1079,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1070
1079
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1071
1080
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1072
1081
  newValue = ref.$instanceValues$.get(memberName);
1073
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1074
- ref.$instanceValues$.set(memberName, currentValue);
1075
1082
  }
1076
1083
  origSetter.apply(this, [
1077
1084
  parsePropertyValue(
@@ -1086,7 +1093,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1086
1093
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1087
1094
  setValue(this, memberName, newValue, cmpMeta);
1088
1095
  if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1089
- ref.$onReadyPromise$.then(() => {
1096
+ ref.$fetchedCbList$.push(() => {
1090
1097
  if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1091
1098
  ref.$lazyInstance$[memberName] = newValue;
1092
1099
  }
@@ -1107,7 +1114,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1107
1114
  if (ref.$lazyInstance$) {
1108
1115
  setterSetVal();
1109
1116
  } else {
1110
- ref.$onReadyPromise$.then(() => setterSetVal());
1117
+ ref.$fetchedCbList$.push(() => {
1118
+ setterSetVal();
1119
+ });
1111
1120
  }
1112
1121
  }
1113
1122
  }
@@ -1120,14 +1129,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1120
1129
  plt.jmp(() => {
1121
1130
  var _a2;
1122
1131
  const propName = attrNameToPropName.get(attrName);
1132
+ const hostRef = getHostRef(this);
1123
1133
  if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1124
1134
  newValue = this[propName];
1125
1135
  delete this[propName];
1126
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1136
+ }
1137
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1127
1138
  this[propName] == newValue) {
1128
1139
  return;
1129
1140
  } else if (propName == null) {
1130
- const hostRef = getHostRef(this);
1131
1141
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1132
1142
  if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1133
1143
  const instance = hostRef.$lazyInstance$ ;
@@ -1142,7 +1152,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1142
1152
  }
1143
1153
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1144
1154
  newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1145
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1155
+ if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
1146
1156
  this[propName] = newValue;
1147
1157
  }
1148
1158
  });
@@ -1252,7 +1262,7 @@ var connectedCallback = (elm) => {
1252
1262
  }
1253
1263
  if (cmpMeta.$members$) {
1254
1264
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1255
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1265
+ if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
1256
1266
  const value = elm[memberName];
1257
1267
  delete elm[memberName];
1258
1268
  elm[memberName] = value;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Dy3ljJD1.js');
3
+ var index = require('./index-DpUr5qA8.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.37.1",
7
+ "version": "4.38.0",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -33,7 +33,6 @@ export class FunnelApp {
33
33
  return {
34
34
  "tag": {
35
35
  "type": "string",
36
- "attribute": "tag",
37
36
  "mutable": false,
38
37
  "complexType": {
39
38
  "original": "string",
@@ -49,6 +48,7 @@ export class FunnelApp {
49
48
  "getter": false,
50
49
  "setter": false,
51
50
  "reflect": false,
51
+ "attribute": "tag",
52
52
  "defaultValue": "'funnel-app'"
53
53
  }
54
54
  };
@@ -1,4 +1,4 @@
1
- import { h, g as getRenderingRef, f as forceUpdate, r as registerInstance } from './index-Adpf2ZzO.js';
1
+ import { h, g as getRenderingRef, f as forceUpdate, r as registerInstance } from './index-pozSYYMV.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 bootstrapLazy } from './index-Adpf2ZzO.js';
2
- export { s as setNonce } from './index-Adpf2ZzO.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-pozSYYMV.js';
2
+ export { s as setNonce } from './index-pozSYYMV.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.37.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.38.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -1,8 +1,8 @@
1
1
  const NAMESPACE = 'funnel-gfx-wc';
2
- const BUILD = /* funnel-gfx-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
2
+ const BUILD = /* funnel-gfx-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: false, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.37.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.38.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -31,13 +31,17 @@ var registerHost = (hostElement, cmpMeta) => {
31
31
  $flags$: 0,
32
32
  $hostElement$: hostElement,
33
33
  $cmpMeta$: cmpMeta,
34
- $instanceValues$: /* @__PURE__ */ new Map()
34
+ $instanceValues$: /* @__PURE__ */ new Map(),
35
+ $serializerValues$: /* @__PURE__ */ new Map()
35
36
  };
36
37
  {
37
38
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
38
39
  hostElement["s-p"] = [];
39
40
  hostElement["s-rc"] = [];
40
41
  }
42
+ {
43
+ hostRef.$fetchedCbList$ = [];
44
+ }
41
45
  const ref = hostRef;
42
46
  hostElement.__stencil__getHostRef = () => ref;
43
47
  return ref;
@@ -863,6 +867,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
863
867
  }
864
868
  let maybePromise;
865
869
  if (isInitialLoad) {
870
+ {
871
+ if (hostRef.$fetchedCbList$.length) {
872
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
873
+ }
874
+ }
866
875
  maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
867
876
  } else {
868
877
  maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
@@ -1034,7 +1043,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1034
1043
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1035
1044
  var _a, _b;
1036
1045
  const prototype = Cstr.prototype;
1037
- if (cmpMeta.$members$ || BUILD.watchCallback) {
1046
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
1038
1047
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1039
1048
  members.map(([memberName, [memberFlags]]) => {
1040
1049
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -1068,8 +1077,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1068
1077
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1069
1078
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1070
1079
  newValue = ref.$instanceValues$.get(memberName);
1071
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1072
- ref.$instanceValues$.set(memberName, currentValue);
1073
1080
  }
1074
1081
  origSetter.apply(this, [
1075
1082
  parsePropertyValue(
@@ -1084,7 +1091,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1084
1091
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1085
1092
  setValue(this, memberName, newValue, cmpMeta);
1086
1093
  if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1087
- ref.$onReadyPromise$.then(() => {
1094
+ ref.$fetchedCbList$.push(() => {
1088
1095
  if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1089
1096
  ref.$lazyInstance$[memberName] = newValue;
1090
1097
  }
@@ -1105,7 +1112,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1105
1112
  if (ref.$lazyInstance$) {
1106
1113
  setterSetVal();
1107
1114
  } else {
1108
- ref.$onReadyPromise$.then(() => setterSetVal());
1115
+ ref.$fetchedCbList$.push(() => {
1116
+ setterSetVal();
1117
+ });
1109
1118
  }
1110
1119
  }
1111
1120
  }
@@ -1118,14 +1127,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1118
1127
  plt.jmp(() => {
1119
1128
  var _a2;
1120
1129
  const propName = attrNameToPropName.get(attrName);
1130
+ const hostRef = getHostRef(this);
1121
1131
  if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1122
1132
  newValue = this[propName];
1123
1133
  delete this[propName];
1124
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1134
+ }
1135
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1125
1136
  this[propName] == newValue) {
1126
1137
  return;
1127
1138
  } else if (propName == null) {
1128
- const hostRef = getHostRef(this);
1129
1139
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1130
1140
  if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1131
1141
  const instance = hostRef.$lazyInstance$ ;
@@ -1140,7 +1150,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1140
1150
  }
1141
1151
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1142
1152
  newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1143
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1153
+ if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
1144
1154
  this[propName] = newValue;
1145
1155
  }
1146
1156
  });
@@ -1250,7 +1260,7 @@ var connectedCallback = (elm) => {
1250
1260
  }
1251
1261
  if (cmpMeta.$members$) {
1252
1262
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1253
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1263
+ if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
1254
1264
  const value = elm[memberName];
1255
1265
  delete elm[memberName];
1256
1266
  elm[memberName] = value;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-Adpf2ZzO.js';
2
- export { s as setNonce } from './index-Adpf2ZzO.js';
1
+ import { b as bootstrapLazy } from './index-pozSYYMV.js';
2
+ export { s as setNonce } from './index-pozSYYMV.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,b as a}from"./p-Adpf2ZzO.js";export{s as setNonce}from"./p-Adpf2ZzO.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const s=import.meta.url,a={};return""!==s&&(a.resourcesUrl=new URL(".",s).href),p(a)})().then((async p=>(await t(),a([["p-1cd6c24c",[[257,"funnel-app",{tag:[1]}]]]],p))));
1
+ import{p,b as a}from"./p-pozSYYMV.js";export{s as setNonce}from"./p-pozSYYMV.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,o={};return""!==a&&(o.resourcesUrl=new URL(".",a).href),p(o)})().then((async p=>(await o(),a([["p-a190105e",[[257,"funnel-app",{tag:[1]}]]]],p))));