proto-ikons-wc 0.1.23 → 0.1.25

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.
Files changed (134) hide show
  1. package/dist/cjs/acura-ikon_119.cjs.entry.js +1 -1
  2. package/dist/cjs/{index-rLd0miPk.js → index-DhNHFZP-.js} +26 -13
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/acura-ikon/acura-ikon.js +3 -3
  7. package/dist/collection/components/alfa-romeo-alt-ikon/alfa-romeo-alt-ikon.js +4 -4
  8. package/dist/collection/components/alfa-romeo-ikon/alfa-romeo-ikon.js +3 -3
  9. package/dist/collection/components/alien-icon/alien-icon.js +4 -4
  10. package/dist/collection/components/am-general-ikon/am-general-ikon.js +3 -3
  11. package/dist/collection/components/asterisk-icon/asterisk-icon.js +4 -4
  12. package/dist/collection/components/aston-martin-alt-ikon/aston-martin-alt-ikon.js +4 -4
  13. package/dist/collection/components/aston-martin-ikon/aston-martin-ikon.js +3 -3
  14. package/dist/collection/components/audi-ikon/audi-ikon.js +3 -3
  15. package/dist/collection/components/barcode-icon/barcode-icon.js +4 -4
  16. package/dist/collection/components/barcode-scan-icon/barcode-scan-icon.js +4 -4
  17. package/dist/collection/components/bash-icon/bash-icon.js +4 -4
  18. package/dist/collection/components/beaker-icon/beaker-icon.js +4 -4
  19. package/dist/collection/components/bently-ikon/bently-ikon.js +3 -3
  20. package/dist/collection/components/bmw-ikon/bmw-ikon.js +3 -3
  21. package/dist/collection/components/bugatti-ikon/bugatti-ikon.js +3 -3
  22. package/dist/collection/components/buick-ikon/buick-ikon.js +3 -3
  23. package/dist/collection/components/cadillac-ikon/cadillac-ikon.js +3 -3
  24. package/dist/collection/components/chart-bar-icon/chart-bar-icon.js +4 -4
  25. package/dist/collection/components/chart-bubble-icon/chart-bubble-icon.js +4 -4
  26. package/dist/collection/components/chart-donut-icon/chart-donut-icon.js +4 -4
  27. package/dist/collection/components/chart-donuts-icon/chart-donuts-icon.js +4 -4
  28. package/dist/collection/components/check-icon/check-icon.js +5 -5
  29. package/dist/collection/components/chevrolet-ikon/chevrolet-ikon.js +3 -3
  30. package/dist/collection/components/chevron-double-left-icon/chevron-double-left-icon.js +4 -4
  31. package/dist/collection/components/chrysler-ikon/chrysler-ikon.js +3 -3
  32. package/dist/collection/components/circular-saw-icon/circular-saw-icon.js +4 -4
  33. package/dist/collection/components/citroen-ikon/citroen-ikon.js +3 -3
  34. package/dist/collection/components/close-icon/close-icon.js +4 -4
  35. package/dist/collection/components/daewoo-ikon/daewoo-ikon.js +3 -3
  36. package/dist/collection/components/dodge-ikon/dodge-ikon.js +3 -3
  37. package/dist/collection/components/eagle-ikon/eagle-ikon.js +3 -3
  38. package/dist/collection/components/ferrari-ikon/ferrari-ikon.js +3 -3
  39. package/dist/collection/components/fiat-alt-ikon/fiat-alt-ikon.js +4 -4
  40. package/dist/collection/components/fiat-ikon/fiat-ikon.js +3 -3
  41. package/dist/collection/components/fingerprint-icon/fingerprint-icon.js +4 -4
  42. package/dist/collection/components/fire-icon/fire-icon.js +4 -4
  43. package/dist/collection/components/fisker-ikon/fisker-ikon.js +3 -3
  44. package/dist/collection/components/flask-icon/flask-icon.js +4 -4
  45. package/dist/collection/components/ford-ikon/ford-ikon.js +3 -3
  46. package/dist/collection/components/genesis-ikon/genesis-ikon.js +3 -3
  47. package/dist/collection/components/geo-ikon/geo-ikon.js +3 -3
  48. package/dist/collection/components/git-icon/git-icon.js +4 -4
  49. package/dist/collection/components/gmc-ikon/gmc-ikon.js +3 -3
  50. package/dist/collection/components/honda-ikon/honda-ikon.js +3 -3
  51. package/dist/collection/components/hummer-ikon/hummer-ikon.js +3 -3
  52. package/dist/collection/components/hyundai-ikon/hyundai-ikon.js +3 -3
  53. package/dist/collection/components/infiniti-ikon/infiniti-ikon.js +3 -3
  54. package/dist/collection/components/isuzu-ikon/isuzu-ikon.js +3 -3
  55. package/dist/collection/components/jaguar-alt-ikon/jaguar-alt-ikon.js +4 -4
  56. package/dist/collection/components/jaguar-ikon/jaguar-ikon.js +3 -3
  57. package/dist/collection/components/java-script-icon/java-script-icon.js +4 -4
  58. package/dist/collection/components/jeep-alt-ikon/jeep-alt-ikon.js +4 -4
  59. package/dist/collection/components/jeep-ikon/jeep-ikon.js +3 -3
  60. package/dist/collection/components/kia-ikon/kia-ikon.js +3 -3
  61. package/dist/collection/components/lamborghini-alt-ikon/lamborghini-alt-ikon.js +4 -4
  62. package/dist/collection/components/lamborghini-ikon/lamborghini-ikon.js +3 -3
  63. package/dist/collection/components/land-rover-ikon/land-rover-ikon.js +3 -3
  64. package/dist/collection/components/lexus-ikon/lexus-ikon.js +3 -3
  65. package/dist/collection/components/lincoln-ikon/lincoln-ikon.js +3 -3
  66. package/dist/collection/components/lotus-alt-ikon/lotus-alt-ikon.js +4 -4
  67. package/dist/collection/components/lotus-ikon/lotus-ikon.js +3 -3
  68. package/dist/collection/components/maserati-ikon/maserati-ikon.js +3 -3
  69. package/dist/collection/components/maybach-ikon/maybach-ikon.js +3 -3
  70. package/dist/collection/components/mazda-alt-ikon/mazda-alt-ikon.js +4 -4
  71. package/dist/collection/components/mazda-ikon/mazda-ikon.js +3 -3
  72. package/dist/collection/components/mclaren-alt-ikon/mclaren-alt-ikon.js +4 -4
  73. package/dist/collection/components/mclaren-ikon/mclaren-ikon.js +3 -3
  74. package/dist/collection/components/mercedes-benz-alt-ikon/mercedes-benz-alt-ikon.js +4 -4
  75. package/dist/collection/components/mercedes-benz-ikon/mercedes-benz-ikon.js +3 -3
  76. package/dist/collection/components/mercury-ikon/mercury-ikon.js +3 -3
  77. package/dist/collection/components/mini-alt-ikon/mini-alt-ikon.js +4 -4
  78. package/dist/collection/components/mini-ikon/mini-ikon.js +3 -3
  79. package/dist/collection/components/mitsubishi-ikon/mitsubishi-ikon.js +3 -3
  80. package/dist/collection/components/nissan-ikon/nissan-ikon.js +3 -3
  81. package/dist/collection/components/oldsmobile-ikon/oldsmobile-ikon.js +3 -3
  82. package/dist/collection/components/one-password-icon/one-password-icon.js +4 -4
  83. package/dist/collection/components/opel-ikon/opel-ikon.js +3 -3
  84. package/dist/collection/components/panoz-ikon/panoz-ikon.js +3 -3
  85. package/dist/collection/components/paw-icon/paw-icon.js +4 -4
  86. package/dist/collection/components/peugeot-alt-ikon/peugeot-alt-ikon.js +4 -4
  87. package/dist/collection/components/peugeot-ikon/peugeot-ikon.js +3 -3
  88. package/dist/collection/components/plymouth-ikon/plymouth-ikon.js +3 -3
  89. package/dist/collection/components/pontiac-ikon/pontiac-ikon.js +3 -3
  90. package/dist/collection/components/porsche-ikon/porsche-ikon.js +3 -3
  91. package/dist/collection/components/protocol-icon/protocol-icon.js +4 -4
  92. package/dist/collection/components/pulse-icon/pulse-icon.js +4 -4
  93. package/dist/collection/components/puzzle-icon/puzzle-icon.js +5 -5
  94. package/dist/collection/components/qr-code-icon/qr-code-icon.js +4 -4
  95. package/dist/collection/components/radio-2-icon/radio-2-icon.js +5 -5
  96. package/dist/collection/components/radio-icon/radio-icon.js +5 -5
  97. package/dist/collection/components/ram-alt-ikon/ram-alt-ikon.js +4 -4
  98. package/dist/collection/components/ram-ikon/ram-ikon.js +3 -3
  99. package/dist/collection/components/refresh-icon/refresh-icon.js +4 -4
  100. package/dist/collection/components/renault-alt-ikon/renault-alt-ikon.js +4 -4
  101. package/dist/collection/components/renault-ikon/renault-ikon.js +3 -3
  102. package/dist/collection/components/rolls-royce-ikon/rolls-royce-ikon.js +3 -3
  103. package/dist/collection/components/saab-alt-ikon/saab-alt-ikon.js +4 -4
  104. package/dist/collection/components/saab-ikon/saab-ikon.js +3 -3
  105. package/dist/collection/components/saturn-ikon/saturn-ikon.js +3 -3
  106. package/dist/collection/components/scion-ikon/scion-ikon.js +3 -3
  107. package/dist/collection/components/seat-ikon/seat-ikon.js +3 -3
  108. package/dist/collection/components/skoda-ikon/skoda-ikon.js +3 -3
  109. package/dist/collection/components/slug-icon/slug-icon.js +3 -3
  110. package/dist/collection/components/smart-ikon/smart-ikon.js +3 -3
  111. package/dist/collection/components/spider-icon/spider-icon.js +4 -4
  112. package/dist/collection/components/spyker-alt-ikon/spyker-alt-ikon.js +4 -4
  113. package/dist/collection/components/spyker-ikon/spyker-ikon.js +3 -3
  114. package/dist/collection/components/subaru-alt-ikon/subaru-alt-ikon.js +4 -4
  115. package/dist/collection/components/subaru-ikon/subaru-ikon.js +3 -3
  116. package/dist/collection/components/suzuki-ikon/suzuki-ikon.js +3 -3
  117. package/dist/collection/components/svg-icon/svg-icon.js +4 -4
  118. package/dist/collection/components/tesla-ikon/tesla-ikon.js +3 -3
  119. package/dist/collection/components/toyota-ikon/toyota-ikon.js +3 -3
  120. package/dist/collection/components/vector-curve-icon/vector-curve-icon.js +4 -4
  121. package/dist/collection/components/volkswagen-ikon/volkswagen-ikon.js +3 -3
  122. package/dist/collection/components/volvo-alt-ikon/volvo-alt-ikon.js +4 -4
  123. package/dist/collection/components/volvo-ikon/volvo-ikon.js +3 -3
  124. package/dist/collection/components/webhook-icon/webhook-icon.js +4 -4
  125. package/dist/esm/acura-ikon_119.entry.js +1 -1
  126. package/dist/esm/{index-RFh5kW63.js → index-Dv9z6hXe.js} +26 -13
  127. package/dist/esm/loader.js +2 -2
  128. package/dist/esm/proto-ikons-wc.js +3 -3
  129. package/dist/proto-ikons-wc/{p-6b11a708.entry.js → p-13b289f3.entry.js} +1 -1
  130. package/dist/proto-ikons-wc/p-Dv9z6hXe.js +2 -0
  131. package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
  132. package/dist/types/stencil-public-runtime.d.ts +36 -12
  133. package/package.json +2 -2
  134. package/dist/proto-ikons-wc/p-RFh5kW63.js +0 -2
@@ -1,8 +1,8 @@
1
1
  const NAMESPACE = 'proto-ikons-wc';
2
- const BUILD = /* proto-ikons-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
2
+ const BUILD = /* proto-ikons-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.2 | 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;
@@ -787,6 +791,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
787
791
  }
788
792
  let maybePromise;
789
793
  if (isInitialLoad) {
794
+ {
795
+ if (hostRef.$fetchedCbList$.length) {
796
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
797
+ }
798
+ }
790
799
  maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
791
800
  } else {
792
801
  maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
@@ -943,7 +952,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
943
952
  var proxyComponent = (Cstr, cmpMeta, flags) => {
944
953
  var _a, _b;
945
954
  const prototype = Cstr.prototype;
946
- if (cmpMeta.$members$ || BUILD.watchCallback) {
955
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
947
956
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
948
957
  members.map(([memberName, [memberFlags]]) => {
949
958
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -977,8 +986,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
977
986
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
978
987
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
979
988
  newValue = ref.$instanceValues$.get(memberName);
980
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
981
- ref.$instanceValues$.set(memberName, currentValue);
982
989
  }
983
990
  origSetter.apply(this, [
984
991
  parsePropertyValue(
@@ -993,7 +1000,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
993
1000
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
994
1001
  setValue(this, memberName, newValue, cmpMeta);
995
1002
  if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
996
- ref.$onReadyPromise$.then(() => {
1003
+ ref.$fetchedCbList$.push(() => {
997
1004
  if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
998
1005
  ref.$lazyInstance$[memberName] = newValue;
999
1006
  }
@@ -1014,7 +1021,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1014
1021
  if (ref.$lazyInstance$) {
1015
1022
  setterSetVal();
1016
1023
  } else {
1017
- ref.$onReadyPromise$.then(() => setterSetVal());
1024
+ ref.$fetchedCbList$.push(() => {
1025
+ setterSetVal();
1026
+ });
1018
1027
  }
1019
1028
  }
1020
1029
  }
@@ -1027,14 +1036,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1027
1036
  plt.jmp(() => {
1028
1037
  var _a2;
1029
1038
  const propName = attrNameToPropName.get(attrName);
1039
+ const hostRef = getHostRef(this);
1030
1040
  if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1031
1041
  newValue = this[propName];
1032
1042
  delete this[propName];
1033
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1043
+ }
1044
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1034
1045
  this[propName] == newValue) {
1035
1046
  return;
1036
1047
  } else if (propName == null) {
1037
- const hostRef = getHostRef(this);
1038
1048
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1039
1049
  if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1040
1050
  const instance = hostRef.$lazyInstance$ ;
@@ -1047,9 +1057,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1047
1057
  }
1048
1058
  return;
1049
1059
  }
1060
+ const propFlags = members.find(([m]) => m === propName);
1061
+ if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
1062
+ newValue = newValue === null || newValue === "false" ? false : true;
1063
+ }
1050
1064
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1051
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1052
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1065
+ if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
1053
1066
  this[propName] = newValue;
1054
1067
  }
1055
1068
  });
@@ -1159,7 +1172,7 @@ var connectedCallback = (elm) => {
1159
1172
  }
1160
1173
  if (cmpMeta.$members$) {
1161
1174
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1162
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1175
+ if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
1163
1176
  const value = elm[memberName];
1164
1177
  delete elm[memberName];
1165
1178
  elm[memberName] = value;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-RFh5kW63.js';
2
- export { s as setNonce } from './index-RFh5kW63.js';
1
+ import { b as bootstrapLazy } from './index-Dv9z6hXe.js';
2
+ export { s as setNonce } from './index-Dv9z6hXe.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-RFh5kW63.js';
2
- export { s as setNonce } from './index-RFh5kW63.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-Dv9z6hXe.js';
2
+ export { s as setNonce } from './index-Dv9z6hXe.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.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {