proto-ikons-wc 0.1.17 → 0.1.18

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-C2e8bSNx.js');
3
+ var index = require('./index-EeHTh_yP.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.36.1 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.36.2 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
  var __defProp = Object.defineProperty;
10
10
  var __export = (target, all) => {
@@ -392,6 +392,12 @@ createSupportsRuleRe("::slotted");
392
392
  createSupportsRuleRe(":host");
393
393
  createSupportsRuleRe(":host-context");
394
394
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
395
+ if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
396
+ try {
397
+ return JSON.parse(propValue);
398
+ } catch (e) {
399
+ }
400
+ }
395
401
  if (propValue != null && !isComplexType(propValue)) {
396
402
  if (propType & 4 /* Boolean */) {
397
403
  {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-C2e8bSNx.js');
3
+ var index = require('./index-EeHTh_yP.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-C2e8bSNx.js');
3
+ var index = require('./index-EeHTh_yP.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.36.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.36.2 | 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.36.1",
125
+ "version": "4.36.2",
126
126
  "typescriptVersion": "5.5.4"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BznxxTi8.js';
1
+ import { r as registerInstance, h } from './index-arLQjFTn.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.36.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.36.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -390,6 +390,12 @@ createSupportsRuleRe("::slotted");
390
390
  createSupportsRuleRe(":host");
391
391
  createSupportsRuleRe(":host-context");
392
392
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
393
+ if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
394
+ try {
395
+ return JSON.parse(propValue);
396
+ } catch (e) {
397
+ }
398
+ }
393
399
  if (propValue != null && !isComplexType(propValue)) {
394
400
  if (propType & 4 /* Boolean */) {
395
401
  {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-BznxxTi8.js';
2
- export { s as setNonce } from './index-BznxxTi8.js';
1
+ import { b as bootstrapLazy } from './index-arLQjFTn.js';
2
+ export { s as setNonce } from './index-arLQjFTn.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-BznxxTi8.js';
2
- export { s as setNonce } from './index-BznxxTi8.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-arLQjFTn.js';
2
+ export { s as setNonce } from './index-arLQjFTn.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.36.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.36.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {