proto-ikons-wc 0.1.12 → 0.1.13

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-D4cjrlCb.js');
3
+ var index = require('./index-DLJhnuH0.js');
4
4
 
5
5
  const acuraIkonCss = "";
6
6
 
@@ -4,7 +4,7 @@ const NAMESPACE = 'proto-ikons-wc';
4
4
  const BUILD = /* proto-ikons-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
5
5
 
6
6
  /*
7
- Stencil Client Platform v4.33.1 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.34.0 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
  var __defProp = Object.defineProperty;
10
10
  var __export = (target, all) => {
@@ -80,7 +80,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
80
80
 
81
81
  // src/client/client-style.ts
82
82
  var styles = /* @__PURE__ */ new Map();
83
- var HYDRATED_STYLE_ID = "sty-id";
84
83
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
85
84
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
86
85
  var XLINK_NS = "http://www.w3.org/1999/xlink";
@@ -292,10 +291,12 @@ var createSupportsRuleRe = (selector) => {
292
291
  createSupportsRuleRe("::slotted");
293
292
  createSupportsRuleRe(":host");
294
293
  createSupportsRuleRe(":host-context");
295
- var parsePropertyValue = (propValue, propType) => {
294
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
296
295
  if (propValue != null && !isComplexType(propValue)) {
297
296
  if (propType & 4 /* Boolean */) {
298
- return propValue === "false" ? false : propValue === "" || !!propValue;
297
+ {
298
+ return propValue === "false" ? false : propValue === "" || !!propValue;
299
+ }
299
300
  }
300
301
  if (propType & 2 /* Number */) {
301
302
  return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
@@ -345,7 +346,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
345
346
  }
346
347
  if (!appliedStyles.has(scopeId2)) {
347
348
  {
348
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
349
+ styleElm = win.document.createElement("style");
349
350
  styleElm.innerHTML = style;
350
351
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
351
352
  if (nonce != null) {
@@ -901,7 +902,9 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
901
902
  const oldVal = hostRef.$instanceValues$.get(propName);
902
903
  const flags = hostRef.$flags$;
903
904
  const instance = hostRef.$lazyInstance$ ;
904
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
905
+ newVal = parsePropertyValue(
906
+ newVal,
907
+ cmpMeta.$members$[propName][0]);
905
908
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
906
909
  const didValueChange = newVal !== oldVal && !areBothNaN;
907
910
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
@@ -957,7 +960,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
957
960
  } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
958
961
  ref.$instanceValues$.set(memberName, currentValue);
959
962
  }
960
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
963
+ origSetter.apply(this, [
964
+ parsePropertyValue(
965
+ newValue,
966
+ memberFlags)
967
+ ]);
961
968
  newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
962
969
  setValue(this, memberName, newValue, cmpMeta);
963
970
  return;
@@ -979,7 +986,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
979
986
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
980
987
  ref.$instanceValues$.set(memberName, currentValue);
981
988
  }
982
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
989
+ ref.$lazyInstance$[memberName] = parsePropertyValue(
990
+ newValue,
991
+ memberFlags);
983
992
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
984
993
  };
985
994
  if (ref.$lazyInstance$) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D4cjrlCb.js');
3
+ var index = require('./index-DLJhnuH0.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D4cjrlCb.js');
3
+ var index = require('./index-DLJhnuH0.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.33.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.34.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -122,7 +122,7 @@
122
122
  ],
123
123
  "compiler": {
124
124
  "name": "@stencil/core",
125
- "version": "4.33.1",
125
+ "version": "4.34.0",
126
126
  "typescriptVersion": "5.5.4"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-oXcsuP4R.js';
1
+ import { r as registerInstance, h } from './index-BbpZ4r8l.js';
2
2
 
3
3
  const acuraIkonCss = "";
4
4
 
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-ikons-wc';
2
2
  const BUILD = /* proto-ikons-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.33.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.34.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -78,7 +78,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
78
78
 
79
79
  // src/client/client-style.ts
80
80
  var styles = /* @__PURE__ */ new Map();
81
- var HYDRATED_STYLE_ID = "sty-id";
82
81
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
83
82
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
84
83
  var XLINK_NS = "http://www.w3.org/1999/xlink";
@@ -290,10 +289,12 @@ var createSupportsRuleRe = (selector) => {
290
289
  createSupportsRuleRe("::slotted");
291
290
  createSupportsRuleRe(":host");
292
291
  createSupportsRuleRe(":host-context");
293
- var parsePropertyValue = (propValue, propType) => {
292
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
294
293
  if (propValue != null && !isComplexType(propValue)) {
295
294
  if (propType & 4 /* Boolean */) {
296
- return propValue === "false" ? false : propValue === "" || !!propValue;
295
+ {
296
+ return propValue === "false" ? false : propValue === "" || !!propValue;
297
+ }
297
298
  }
298
299
  if (propType & 2 /* Number */) {
299
300
  return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
@@ -343,7 +344,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
343
344
  }
344
345
  if (!appliedStyles.has(scopeId2)) {
345
346
  {
346
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
347
+ styleElm = win.document.createElement("style");
347
348
  styleElm.innerHTML = style;
348
349
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
349
350
  if (nonce != null) {
@@ -899,7 +900,9 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
899
900
  const oldVal = hostRef.$instanceValues$.get(propName);
900
901
  const flags = hostRef.$flags$;
901
902
  const instance = hostRef.$lazyInstance$ ;
902
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
903
+ newVal = parsePropertyValue(
904
+ newVal,
905
+ cmpMeta.$members$[propName][0]);
903
906
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
904
907
  const didValueChange = newVal !== oldVal && !areBothNaN;
905
908
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
@@ -955,7 +958,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
955
958
  } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
956
959
  ref.$instanceValues$.set(memberName, currentValue);
957
960
  }
958
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
961
+ origSetter.apply(this, [
962
+ parsePropertyValue(
963
+ newValue,
964
+ memberFlags)
965
+ ]);
959
966
  newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
960
967
  setValue(this, memberName, newValue, cmpMeta);
961
968
  return;
@@ -977,7 +984,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
977
984
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
978
985
  ref.$instanceValues$.set(memberName, currentValue);
979
986
  }
980
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
987
+ ref.$lazyInstance$[memberName] = parsePropertyValue(
988
+ newValue,
989
+ memberFlags);
981
990
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
982
991
  };
983
992
  if (ref.$lazyInstance$) {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-oXcsuP4R.js';
2
- export { s as setNonce } from './index-oXcsuP4R.js';
1
+ import { b as bootstrapLazy } from './index-BbpZ4r8l.js';
2
+ export { s as setNonce } from './index-BbpZ4r8l.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-oXcsuP4R.js';
2
- export { s as setNonce } from './index-oXcsuP4R.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-BbpZ4r8l.js';
2
+ export { s as setNonce } from './index-BbpZ4r8l.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.33.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.34.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {