@siemens/ix-icons 3.1.0 → 3.1.1

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 (68) hide show
  1. package/READMEOSS.html +10 -10
  2. package/components/index.js +1430 -1
  3. package/components/index.js.map +1 -1
  4. package/components/ix-icon.js +2 -1
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  6. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  7. package/dist/cjs/{index-494dae28.js → index-Rt6MP40k.js} +146 -111
  8. package/dist/cjs/index-Rt6MP40k.js.map +1 -0
  9. package/dist/cjs/index.cjs.js +243 -6
  10. package/dist/cjs/index.cjs.js.map +1 -1
  11. package/dist/cjs/ix-icon.cjs.entry.js +4 -5
  12. package/dist/cjs/ix-icon.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ix-icon.entry.cjs.js.map +1 -0
  14. package/dist/cjs/ix-icons.cjs.js +7 -6
  15. package/dist/cjs/ix-icons.cjs.js.map +1 -1
  16. package/dist/cjs/loader.cjs.js +3 -4
  17. package/dist/cjs/loader.cjs.js.map +1 -1
  18. package/dist/collection/collection-manifest.json +1 -1
  19. package/dist/collection/components/icon/icon.js +6 -6
  20. package/dist/collection/components/icon/icon.js.map +1 -1
  21. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  22. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  23. package/dist/esm/{index-22f745e9.js → index-B9Q9x8eq.js} +143 -106
  24. package/dist/esm/index-B9Q9x8eq.js.map +1 -0
  25. package/dist/esm/index.js +246 -2
  26. package/dist/esm/index.js.map +1 -1
  27. package/dist/esm/ix-icon.entry.js +3 -2
  28. package/dist/esm/ix-icon.entry.js.map +1 -1
  29. package/dist/esm/ix-icons.js +6 -4
  30. package/dist/esm/ix-icons.js.map +1 -1
  31. package/dist/esm/loader.js +4 -3
  32. package/dist/esm/loader.js.map +1 -1
  33. package/dist/ix-icons/index.esm.js +1 -1
  34. package/dist/ix-icons/index.esm.js.map +1 -1
  35. package/dist/ix-icons/ix-icon.entry.esm.js.map +1 -0
  36. package/dist/ix-icons/ix-icons.esm.js +1 -1
  37. package/dist/ix-icons/ix-icons.esm.js.map +1 -1
  38. package/dist/ix-icons/loader.esm.js.map +1 -0
  39. package/dist/ix-icons/p-B9Q9x8eq.js +3 -0
  40. package/dist/ix-icons/p-B9Q9x8eq.js.map +1 -0
  41. package/dist/ix-icons/p-DQuL1Twl.js +2 -0
  42. package/dist/ix-icons/p-DQuL1Twl.js.map +1 -0
  43. package/dist/ix-icons/p-dd52e4ef.entry.js +2 -0
  44. package/dist/types/components.d.ts +4 -0
  45. package/dist/types/stencil-public-runtime.d.ts +35 -6
  46. package/icons/package.json +1 -1
  47. package/package.json +8 -8
  48. package/components/p-aee14f18.js +0 -1391
  49. package/components/p-aee14f18.js.map +0 -1
  50. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  51. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  52. package/dist/cjs/icon-1dc6c206.js +0 -251
  53. package/dist/cjs/icon-1dc6c206.js.map +0 -1
  54. package/dist/cjs/index-494dae28.js.map +0 -1
  55. package/dist/esm/app-globals-0f993ce5.js +0 -5
  56. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  57. package/dist/esm/icon-1ecd1404.js +0 -247
  58. package/dist/esm/icon-1ecd1404.js.map +0 -1
  59. package/dist/esm/index-22f745e9.js.map +0 -1
  60. package/dist/ix-icons/p-2a1a6384.entry.js +0 -2
  61. package/dist/ix-icons/p-580c92f7.js +0 -3
  62. package/dist/ix-icons/p-580c92f7.js.map +0 -1
  63. package/dist/ix-icons/p-e1255160.js +0 -2
  64. package/dist/ix-icons/p-e1255160.js.map +0 -1
  65. package/dist/ix-icons/p-f9830889.js +0 -2
  66. package/dist/ix-icons/p-f9830889.js.map +0 -1
  67. package/loader/package.json +0 -11
  68. /package/dist/ix-icons/{p-2a1a6384.entry.js.map → p-dd52e4ef.entry.js.map} +0 -0
@@ -9,22 +9,20 @@ function _interopNamespace(e) {
9
9
  var d = Object.getOwnPropertyDescriptor(e, k);
10
10
  Object.defineProperty(n, k, d.get ? d : {
11
11
  enumerable: true,
12
- get: function () {
13
- return e[k];
14
- }
12
+ get: function () { return e[k]; }
15
13
  });
16
14
  }
17
15
  });
18
16
  }
19
- n['default'] = e;
17
+ n.default = e;
20
18
  return Object.freeze(n);
21
19
  }
22
20
 
23
21
  const NAMESPACE = 'ix-icons';
24
- const BUILD = /* ix-icons */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: true, vdomText: false, vdomXlink: false, watchCallback: true };
22
+ const BUILD = /* ix-icons */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true};
25
23
 
26
24
  /*
27
- Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
25
+ Stencil Client Platform v4.35.3 | MIT Licensed | https://stenciljs.com
28
26
  */
29
27
  var __defProp = Object.defineProperty;
30
28
  var __export = (target, all) => {
@@ -92,13 +90,13 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
90
  './ix-icon.cjs.entry.js')); }).then(processMod, consoleError);
93
91
  }
94
92
  }
95
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
93
+ return (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(
96
94
  /* @vite-ignore */
97
95
  /* webpackInclude: /\.entry\.js$/ */
98
96
  /* webpackExclude: /\.system\.entry\.js$/ */
99
97
  /* webpackMode: "lazy" */
100
98
  `./${bundleId}.entry.js${""}`
101
- )); }).then(
99
+ ).then(
102
100
  (importedModule) => {
103
101
  {
104
102
  cmpModules.set(bundleId, importedModule);
@@ -113,7 +111,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
113
111
 
114
112
  // src/client/client-style.ts
115
113
  var styles = /* @__PURE__ */ new Map();
116
- var HYDRATED_STYLE_ID = "sty-id";
117
114
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
118
115
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
119
116
  var win = typeof window !== "undefined" ? window : {};
@@ -188,6 +185,11 @@ function queryNonceMetaTagContent(doc) {
188
185
  return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
189
186
  }
190
187
 
188
+ // src/utils/regular-expression.ts
189
+ var escapeRegExpSpecialCharacters = (text) => {
190
+ return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
191
+ };
192
+
191
193
  // src/utils/result.ts
192
194
  var result_exports = {};
193
195
  __export(result_exports, {
@@ -236,6 +238,20 @@ var unwrapErr = (result) => {
236
238
  throw result.value;
237
239
  }
238
240
  };
241
+
242
+ // src/utils/style.ts
243
+ function createStyleSheetIfNeededAndSupported(styles2) {
244
+ return void 0;
245
+ }
246
+
247
+ // src/utils/shadow-root.ts
248
+ var globalStyleSheet;
249
+ function createShadowRoot(cmpMeta) {
250
+ var _a;
251
+ const shadowRoot = this.attachShadow({ mode: "open" });
252
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
253
+ if (globalStyleSheet) shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
254
+ }
239
255
  var createTime = (fnName, tagName = "") => {
240
256
  {
241
257
  return () => {
@@ -250,88 +266,6 @@ var uniqueTime = (key, measureText) => {
250
266
  };
251
267
  }
252
268
  };
253
- var h = (nodeName, vnodeData, ...children) => {
254
- let child = null;
255
- let key = null;
256
- let simple = false;
257
- let lastSimple = false;
258
- const vNodeChildren = [];
259
- const walk = (c) => {
260
- for (let i2 = 0; i2 < c.length; i2++) {
261
- child = c[i2];
262
- if (Array.isArray(child)) {
263
- walk(child);
264
- } else if (child != null && typeof child !== "boolean") {
265
- if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
266
- child = String(child);
267
- }
268
- if (simple && lastSimple) {
269
- vNodeChildren[vNodeChildren.length - 1].$text$ += child;
270
- } else {
271
- vNodeChildren.push(simple ? newVNode(null, child) : child);
272
- }
273
- lastSimple = simple;
274
- }
275
- }
276
- };
277
- walk(children);
278
- if (vnodeData) {
279
- if (vnodeData.key) {
280
- key = vnodeData.key;
281
- }
282
- {
283
- const classData = vnodeData.className || vnodeData.class;
284
- if (classData) {
285
- vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
286
- }
287
- }
288
- }
289
- const vnode = newVNode(nodeName, null);
290
- vnode.$attrs$ = vnodeData;
291
- if (vNodeChildren.length > 0) {
292
- vnode.$children$ = vNodeChildren;
293
- }
294
- {
295
- vnode.$key$ = key;
296
- }
297
- return vnode;
298
- };
299
- var newVNode = (tag, text) => {
300
- const vnode = {
301
- $flags$: 0,
302
- $tag$: tag,
303
- $text$: text,
304
- $elm$: null,
305
- $children$: null
306
- };
307
- {
308
- vnode.$attrs$ = null;
309
- }
310
- {
311
- vnode.$key$ = null;
312
- }
313
- return vnode;
314
- };
315
- var Host = {};
316
- var isHost = (node) => node && node.$tag$ === Host;
317
- var parsePropertyValue = (propValue, propType) => {
318
- if (propValue != null && !isComplexType(propValue)) {
319
- if (propType & 4 /* Boolean */) {
320
- return propValue === "false" ? false : propValue === "" || !!propValue;
321
- }
322
- if (propType & 1 /* String */) {
323
- return String(propValue);
324
- }
325
- return propValue;
326
- }
327
- return propValue;
328
- };
329
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
330
- var emitEvent = (elm, name, opts) => {
331
- const ev = plt.ce(name, opts);
332
- elm.dispatchEvent(ev);
333
- return ev;
334
- };
335
269
  var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
336
270
  var registerStyle = (scopeId2, cssText, allowCS) => {
337
271
  let style = styles.get(scopeId2);
@@ -365,7 +299,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
365
299
  }
366
300
  if (!appliedStyles.has(scopeId2)) {
367
301
  {
368
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
302
+ styleElm = win.document.createElement("style");
369
303
  styleElm.innerHTML = style;
370
304
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
371
305
  if (nonce != null) {
@@ -383,7 +317,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
383
317
  if (supportsConstructableStylesheets) {
384
318
  const stylesheet = new CSSStyleSheet();
385
319
  stylesheet.replaceSync(style);
386
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
320
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
387
321
  } else {
388
322
  const existingStyleContainer = styleContainerNode.querySelector("style");
389
323
  if (existingStyleContainer) {
@@ -408,7 +342,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
408
342
  }
409
343
  }
410
344
  } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
411
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
345
+ styleContainerNode.adoptedStyleSheets.push(style);
412
346
  }
413
347
  }
414
348
  return scopeId2;
@@ -421,13 +355,109 @@ var attachStyles = (hostRef) => {
421
355
  const scopeId2 = addStyle(
422
356
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
423
357
  cmpMeta);
424
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
358
+ if (flags & 10 /* needsScopedEncapsulation */) {
425
359
  elm["s-sc"] = scopeId2;
426
360
  elm.classList.add(scopeId2 + "-h");
427
361
  }
428
362
  endAttachStyles();
429
363
  };
430
364
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
365
+ var h = (nodeName, vnodeData, ...children) => {
366
+ let child = null;
367
+ let key = null;
368
+ let simple = false;
369
+ let lastSimple = false;
370
+ const vNodeChildren = [];
371
+ const walk = (c) => {
372
+ for (let i2 = 0; i2 < c.length; i2++) {
373
+ child = c[i2];
374
+ if (Array.isArray(child)) {
375
+ walk(child);
376
+ } else if (child != null && typeof child !== "boolean") {
377
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
378
+ child = String(child);
379
+ }
380
+ if (simple && lastSimple) {
381
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
382
+ } else {
383
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
384
+ }
385
+ lastSimple = simple;
386
+ }
387
+ }
388
+ };
389
+ walk(children);
390
+ if (vnodeData) {
391
+ if (vnodeData.key) {
392
+ key = vnodeData.key;
393
+ }
394
+ {
395
+ const classData = vnodeData.className || vnodeData.class;
396
+ if (classData) {
397
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
398
+ }
399
+ }
400
+ }
401
+ const vnode = newVNode(nodeName, null);
402
+ vnode.$attrs$ = vnodeData;
403
+ if (vNodeChildren.length > 0) {
404
+ vnode.$children$ = vNodeChildren;
405
+ }
406
+ {
407
+ vnode.$key$ = key;
408
+ }
409
+ return vnode;
410
+ };
411
+ var newVNode = (tag, text) => {
412
+ const vnode = {
413
+ $flags$: 0,
414
+ $tag$: tag,
415
+ $text$: text,
416
+ $elm$: null,
417
+ $children$: null
418
+ };
419
+ {
420
+ vnode.$attrs$ = null;
421
+ }
422
+ {
423
+ vnode.$key$ = null;
424
+ }
425
+ return vnode;
426
+ };
427
+ var Host = {};
428
+ var isHost = (node) => node && node.$tag$ === Host;
429
+ var createSupportsRuleRe = (selector) => {
430
+ const safeSelector2 = escapeRegExpSpecialCharacters(selector);
431
+ return new RegExp(
432
+ // First capture group: match any context before the selector that's not inside @supports selector()
433
+ // Using negative lookahead to avoid matching inside @supports selector(...) condition
434
+ `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
435
+ "g"
436
+ );
437
+ };
438
+ createSupportsRuleRe("::slotted");
439
+ createSupportsRuleRe(":host");
440
+ createSupportsRuleRe(":host-context");
441
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
442
+ if (propValue != null && !isComplexType(propValue)) {
443
+ if (propType & 4 /* Boolean */) {
444
+ {
445
+ return propValue === "false" ? false : propValue === "" || !!propValue;
446
+ }
447
+ }
448
+ if (propType & 1 /* String */) {
449
+ return String(propValue);
450
+ }
451
+ return propValue;
452
+ }
453
+ return propValue;
454
+ };
455
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
456
+ var emitEvent = (elm, name, opts) => {
457
+ const ev = plt.ce(name, opts);
458
+ elm.dispatchEvent(ev);
459
+ return ev;
460
+ };
431
461
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
432
462
  if (oldValue === newValue) {
433
463
  return;
@@ -547,7 +577,6 @@ function sortedAttrNames(attrNames) {
547
577
  );
548
578
  }
549
579
  var hostTagName;
550
- var useNativeShadowDom = false;
551
580
  var isSvgMode = false;
552
581
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
553
582
  const newVNode2 = newParentVNode.$children$[childIndex];
@@ -565,7 +594,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
565
594
  }
566
595
  elm = newVNode2.$elm$ = win.document.createElementNS(
567
596
  isSvgMode ? SVG_NS : HTML_NS,
568
- !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
597
+ newVNode2.$tag$
569
598
  ) ;
570
599
  if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
571
600
  isSvgMode = false;
@@ -736,7 +765,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
736
765
  !isInitialRender && BUILD.updatable && oldChildren !== null
737
766
  ) {
738
767
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
739
- }
768
+ } else ;
740
769
  if (isSvgMode && tag === "svg") {
741
770
  isSvgMode = false;
742
771
  }
@@ -749,9 +778,9 @@ var insertBefore = (parent, newNode, reference) => {
749
778
  };
750
779
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
751
780
  const hostElm = hostRef.$hostElement$;
752
- const cmpMeta = hostRef.$cmpMeta$;
753
781
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
754
- const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
782
+ const isHostElement = isHost(renderFnResults);
783
+ const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
755
784
  hostTagName = hostElm.tagName;
756
785
  if (isInitialLoad && rootVnode.$attrs$) {
757
786
  for (const key of Object.keys(rootVnode.$attrs$)) {
@@ -764,7 +793,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
764
793
  rootVnode.$flags$ |= 4 /* isHost */;
765
794
  hostRef.$vnode$ = rootVnode;
766
795
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
767
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
768
796
  patch(oldVNode, rootVnode, isInitialLoad);
769
797
  };
770
798
 
@@ -851,7 +879,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
851
879
  try {
852
880
  instance = instance.render() ;
853
881
  {
854
- hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
882
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
855
883
  }
856
884
  {
857
885
  hostRef.$flags$ |= 2 /* hasRendered */;
@@ -900,7 +928,7 @@ var postUpdateComponent = (hostRef) => {
900
928
  if (hostRef.$flags$ & 512 /* needsRerender */) {
901
929
  nextTick(() => scheduleUpdate(hostRef, false));
902
930
  }
903
- hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
931
+ hostRef.$flags$ &= -517;
904
932
  }
905
933
  };
906
934
  var appDidLoad = (who) => {
@@ -934,7 +962,9 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
934
962
  const oldVal = hostRef.$instanceValues$.get(propName);
935
963
  const flags = hostRef.$flags$;
936
964
  const instance = hostRef.$lazyInstance$ ;
937
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
965
+ newVal = parsePropertyValue(
966
+ newVal,
967
+ cmpMeta.$members$[propName][0]);
938
968
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
939
969
  const didValueChange = newVal !== oldVal && !areBothNaN;
940
970
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
@@ -1005,7 +1035,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1005
1035
  } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1006
1036
  ref.$instanceValues$.set(memberName, currentValue);
1007
1037
  }
1008
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1038
+ origSetter.apply(this, [
1039
+ parsePropertyValue(
1040
+ newValue,
1041
+ memberFlags)
1042
+ ]);
1009
1043
  newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1010
1044
  setValue(this, memberName, newValue, cmpMeta);
1011
1045
  return;
@@ -1027,7 +1061,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1027
1061
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
1028
1062
  ref.$instanceValues$.set(memberName, currentValue);
1029
1063
  }
1030
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1064
+ ref.$lazyInstance$[memberName] = parsePropertyValue(
1065
+ newValue,
1066
+ memberFlags);
1031
1067
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1032
1068
  };
1033
1069
  if (ref.$lazyInstance$) {
@@ -1123,7 +1159,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1123
1159
  consoleError(e, elm);
1124
1160
  }
1125
1161
  {
1126
- hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1162
+ hostRef.$flags$ &= -9 /* isConstructingInstance */;
1127
1163
  }
1128
1164
  {
1129
1165
  hostRef.$flags$ |= 128 /* isWatchReady */;
@@ -1272,9 +1308,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1272
1308
  if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1273
1309
  {
1274
1310
  if (!self.shadowRoot) {
1275
- {
1276
- self.attachShadow({ mode: "open" });
1277
- }
1311
+ createShadowRoot.call(self, cmpMeta);
1278
1312
  } else {
1279
1313
  if (self.shadowRoot.mode !== "open") {
1280
1314
  throw new Error(
@@ -1367,5 +1401,6 @@ exports.promiseResolve = promiseResolve;
1367
1401
  exports.registerInstance = registerInstance;
1368
1402
  exports.setAssetPath = setAssetPath;
1369
1403
  exports.setNonce = setNonce;
1404
+ //# sourceMappingURL=index-Rt6MP40k.js.map
1370
1405
 
1371
- //# sourceMappingURL=index-494dae28.js.map
1406
+ //# sourceMappingURL=index-Rt6MP40k.js.map