@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
@@ -1,8 +1,8 @@
1
1
  const NAMESPACE = 'ix-icons';
2
- 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 };
2
+ const BUILD = /* ix-icons */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.35.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -91,7 +91,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
91
91
 
92
92
  // src/client/client-style.ts
93
93
  var styles = /* @__PURE__ */ new Map();
94
- var HYDRATED_STYLE_ID = "sty-id";
95
94
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
96
95
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
97
96
  var win = typeof window !== "undefined" ? window : {};
@@ -166,6 +165,11 @@ function queryNonceMetaTagContent(doc) {
166
165
  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;
167
166
  }
168
167
 
168
+ // src/utils/regular-expression.ts
169
+ var escapeRegExpSpecialCharacters = (text) => {
170
+ return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
171
+ };
172
+
169
173
  // src/utils/result.ts
170
174
  var result_exports = {};
171
175
  __export(result_exports, {
@@ -214,6 +218,20 @@ var unwrapErr = (result) => {
214
218
  throw result.value;
215
219
  }
216
220
  };
221
+
222
+ // src/utils/style.ts
223
+ function createStyleSheetIfNeededAndSupported(styles2) {
224
+ return void 0;
225
+ }
226
+
227
+ // src/utils/shadow-root.ts
228
+ var globalStyleSheet;
229
+ function createShadowRoot(cmpMeta) {
230
+ var _a;
231
+ const shadowRoot = this.attachShadow({ mode: "open" });
232
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
233
+ if (globalStyleSheet) shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
234
+ }
217
235
  var createTime = (fnName, tagName = "") => {
218
236
  {
219
237
  return () => {
@@ -228,88 +246,6 @@ var uniqueTime = (key, measureText) => {
228
246
  };
229
247
  }
230
248
  };
231
- var h = (nodeName, vnodeData, ...children) => {
232
- let child = null;
233
- let key = null;
234
- let simple = false;
235
- let lastSimple = false;
236
- const vNodeChildren = [];
237
- const walk = (c) => {
238
- for (let i2 = 0; i2 < c.length; i2++) {
239
- child = c[i2];
240
- if (Array.isArray(child)) {
241
- walk(child);
242
- } else if (child != null && typeof child !== "boolean") {
243
- if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
244
- child = String(child);
245
- }
246
- if (simple && lastSimple) {
247
- vNodeChildren[vNodeChildren.length - 1].$text$ += child;
248
- } else {
249
- vNodeChildren.push(simple ? newVNode(null, child) : child);
250
- }
251
- lastSimple = simple;
252
- }
253
- }
254
- };
255
- walk(children);
256
- if (vnodeData) {
257
- if (vnodeData.key) {
258
- key = vnodeData.key;
259
- }
260
- {
261
- const classData = vnodeData.className || vnodeData.class;
262
- if (classData) {
263
- vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
264
- }
265
- }
266
- }
267
- const vnode = newVNode(nodeName, null);
268
- vnode.$attrs$ = vnodeData;
269
- if (vNodeChildren.length > 0) {
270
- vnode.$children$ = vNodeChildren;
271
- }
272
- {
273
- vnode.$key$ = key;
274
- }
275
- return vnode;
276
- };
277
- var newVNode = (tag, text) => {
278
- const vnode = {
279
- $flags$: 0,
280
- $tag$: tag,
281
- $text$: text,
282
- $elm$: null,
283
- $children$: null
284
- };
285
- {
286
- vnode.$attrs$ = null;
287
- }
288
- {
289
- vnode.$key$ = null;
290
- }
291
- return vnode;
292
- };
293
- var Host = {};
294
- var isHost = (node) => node && node.$tag$ === Host;
295
- var parsePropertyValue = (propValue, propType) => {
296
- if (propValue != null && !isComplexType(propValue)) {
297
- if (propType & 4 /* Boolean */) {
298
- return propValue === "false" ? false : propValue === "" || !!propValue;
299
- }
300
- if (propType & 1 /* String */) {
301
- return String(propValue);
302
- }
303
- return propValue;
304
- }
305
- return propValue;
306
- };
307
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
308
- var emitEvent = (elm, name, opts) => {
309
- const ev = plt.ce(name, opts);
310
- elm.dispatchEvent(ev);
311
- return ev;
312
- };
313
249
  var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
314
250
  var registerStyle = (scopeId2, cssText, allowCS) => {
315
251
  let style = styles.get(scopeId2);
@@ -343,7 +279,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
343
279
  }
344
280
  if (!appliedStyles.has(scopeId2)) {
345
281
  {
346
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
282
+ styleElm = win.document.createElement("style");
347
283
  styleElm.innerHTML = style;
348
284
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
349
285
  if (nonce != null) {
@@ -361,7 +297,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
361
297
  if (supportsConstructableStylesheets) {
362
298
  const stylesheet = new CSSStyleSheet();
363
299
  stylesheet.replaceSync(style);
364
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
300
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
365
301
  } else {
366
302
  const existingStyleContainer = styleContainerNode.querySelector("style");
367
303
  if (existingStyleContainer) {
@@ -386,7 +322,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
386
322
  }
387
323
  }
388
324
  } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
389
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
325
+ styleContainerNode.adoptedStyleSheets.push(style);
390
326
  }
391
327
  }
392
328
  return scopeId2;
@@ -399,13 +335,109 @@ var attachStyles = (hostRef) => {
399
335
  const scopeId2 = addStyle(
400
336
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
401
337
  cmpMeta);
402
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
338
+ if (flags & 10 /* needsScopedEncapsulation */) {
403
339
  elm["s-sc"] = scopeId2;
404
340
  elm.classList.add(scopeId2 + "-h");
405
341
  }
406
342
  endAttachStyles();
407
343
  };
408
344
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
345
+ var h = (nodeName, vnodeData, ...children) => {
346
+ let child = null;
347
+ let key = null;
348
+ let simple = false;
349
+ let lastSimple = false;
350
+ const vNodeChildren = [];
351
+ const walk = (c) => {
352
+ for (let i2 = 0; i2 < c.length; i2++) {
353
+ child = c[i2];
354
+ if (Array.isArray(child)) {
355
+ walk(child);
356
+ } else if (child != null && typeof child !== "boolean") {
357
+ if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
358
+ child = String(child);
359
+ }
360
+ if (simple && lastSimple) {
361
+ vNodeChildren[vNodeChildren.length - 1].$text$ += child;
362
+ } else {
363
+ vNodeChildren.push(simple ? newVNode(null, child) : child);
364
+ }
365
+ lastSimple = simple;
366
+ }
367
+ }
368
+ };
369
+ walk(children);
370
+ if (vnodeData) {
371
+ if (vnodeData.key) {
372
+ key = vnodeData.key;
373
+ }
374
+ {
375
+ const classData = vnodeData.className || vnodeData.class;
376
+ if (classData) {
377
+ vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
378
+ }
379
+ }
380
+ }
381
+ const vnode = newVNode(nodeName, null);
382
+ vnode.$attrs$ = vnodeData;
383
+ if (vNodeChildren.length > 0) {
384
+ vnode.$children$ = vNodeChildren;
385
+ }
386
+ {
387
+ vnode.$key$ = key;
388
+ }
389
+ return vnode;
390
+ };
391
+ var newVNode = (tag, text) => {
392
+ const vnode = {
393
+ $flags$: 0,
394
+ $tag$: tag,
395
+ $text$: text,
396
+ $elm$: null,
397
+ $children$: null
398
+ };
399
+ {
400
+ vnode.$attrs$ = null;
401
+ }
402
+ {
403
+ vnode.$key$ = null;
404
+ }
405
+ return vnode;
406
+ };
407
+ var Host = {};
408
+ var isHost = (node) => node && node.$tag$ === Host;
409
+ var createSupportsRuleRe = (selector) => {
410
+ const safeSelector2 = escapeRegExpSpecialCharacters(selector);
411
+ return new RegExp(
412
+ // First capture group: match any context before the selector that's not inside @supports selector()
413
+ // Using negative lookahead to avoid matching inside @supports selector(...) condition
414
+ `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
415
+ "g"
416
+ );
417
+ };
418
+ createSupportsRuleRe("::slotted");
419
+ createSupportsRuleRe(":host");
420
+ createSupportsRuleRe(":host-context");
421
+ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
422
+ if (propValue != null && !isComplexType(propValue)) {
423
+ if (propType & 4 /* Boolean */) {
424
+ {
425
+ return propValue === "false" ? false : propValue === "" || !!propValue;
426
+ }
427
+ }
428
+ if (propType & 1 /* String */) {
429
+ return String(propValue);
430
+ }
431
+ return propValue;
432
+ }
433
+ return propValue;
434
+ };
435
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
436
+ var emitEvent = (elm, name, opts) => {
437
+ const ev = plt.ce(name, opts);
438
+ elm.dispatchEvent(ev);
439
+ return ev;
440
+ };
409
441
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
410
442
  if (oldValue === newValue) {
411
443
  return;
@@ -525,7 +557,6 @@ function sortedAttrNames(attrNames) {
525
557
  );
526
558
  }
527
559
  var hostTagName;
528
- var useNativeShadowDom = false;
529
560
  var isSvgMode = false;
530
561
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
531
562
  const newVNode2 = newParentVNode.$children$[childIndex];
@@ -543,7 +574,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
543
574
  }
544
575
  elm = newVNode2.$elm$ = win.document.createElementNS(
545
576
  isSvgMode ? SVG_NS : HTML_NS,
546
- !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
577
+ newVNode2.$tag$
547
578
  ) ;
548
579
  if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
549
580
  isSvgMode = false;
@@ -714,7 +745,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
714
745
  !isInitialRender && BUILD.updatable && oldChildren !== null
715
746
  ) {
716
747
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
717
- }
748
+ } else ;
718
749
  if (isSvgMode && tag === "svg") {
719
750
  isSvgMode = false;
720
751
  }
@@ -727,9 +758,9 @@ var insertBefore = (parent, newNode, reference) => {
727
758
  };
728
759
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
729
760
  const hostElm = hostRef.$hostElement$;
730
- const cmpMeta = hostRef.$cmpMeta$;
731
761
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
732
- const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
762
+ const isHostElement = isHost(renderFnResults);
763
+ const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
733
764
  hostTagName = hostElm.tagName;
734
765
  if (isInitialLoad && rootVnode.$attrs$) {
735
766
  for (const key of Object.keys(rootVnode.$attrs$)) {
@@ -742,7 +773,6 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
742
773
  rootVnode.$flags$ |= 4 /* isHost */;
743
774
  hostRef.$vnode$ = rootVnode;
744
775
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
745
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
746
776
  patch(oldVNode, rootVnode, isInitialLoad);
747
777
  };
748
778
 
@@ -829,7 +859,7 @@ var callRender = (hostRef, instance, elm, isInitialLoad) => {
829
859
  try {
830
860
  instance = instance.render() ;
831
861
  {
832
- hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
862
+ hostRef.$flags$ &= -17 /* isQueuedForUpdate */;
833
863
  }
834
864
  {
835
865
  hostRef.$flags$ |= 2 /* hasRendered */;
@@ -878,7 +908,7 @@ var postUpdateComponent = (hostRef) => {
878
908
  if (hostRef.$flags$ & 512 /* needsRerender */) {
879
909
  nextTick(() => scheduleUpdate(hostRef, false));
880
910
  }
881
- hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
911
+ hostRef.$flags$ &= -517;
882
912
  }
883
913
  };
884
914
  var appDidLoad = (who) => {
@@ -912,7 +942,9 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
912
942
  const oldVal = hostRef.$instanceValues$.get(propName);
913
943
  const flags = hostRef.$flags$;
914
944
  const instance = hostRef.$lazyInstance$ ;
915
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
945
+ newVal = parsePropertyValue(
946
+ newVal,
947
+ cmpMeta.$members$[propName][0]);
916
948
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
917
949
  const didValueChange = newVal !== oldVal && !areBothNaN;
918
950
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
@@ -983,7 +1015,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
983
1015
  } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
984
1016
  ref.$instanceValues$.set(memberName, currentValue);
985
1017
  }
986
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1018
+ origSetter.apply(this, [
1019
+ parsePropertyValue(
1020
+ newValue,
1021
+ memberFlags)
1022
+ ]);
987
1023
  newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
988
1024
  setValue(this, memberName, newValue, cmpMeta);
989
1025
  return;
@@ -1005,7 +1041,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1005
1041
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
1006
1042
  ref.$instanceValues$.set(memberName, currentValue);
1007
1043
  }
1008
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1044
+ ref.$lazyInstance$[memberName] = parsePropertyValue(
1045
+ newValue,
1046
+ memberFlags);
1009
1047
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1010
1048
  };
1011
1049
  if (ref.$lazyInstance$) {
@@ -1101,7 +1139,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1101
1139
  consoleError(e, elm);
1102
1140
  }
1103
1141
  {
1104
- hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1142
+ hostRef.$flags$ &= -9 /* isConstructingInstance */;
1105
1143
  }
1106
1144
  {
1107
1145
  hostRef.$flags$ |= 128 /* isWatchReady */;
@@ -1250,9 +1288,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1250
1288
  if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1251
1289
  {
1252
1290
  if (!self.shadowRoot) {
1253
- {
1254
- self.attachShadow({ mode: "open" });
1255
- }
1291
+ createShadowRoot.call(self, cmpMeta);
1256
1292
  } else {
1257
1293
  if (self.shadowRoot.mode !== "open") {
1258
1294
  throw new Error(
@@ -1336,6 +1372,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1336
1372
  // src/runtime/nonce.ts
1337
1373
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1338
1374
 
1339
- export { Host as H, setAssetPath as a, bootstrapLazy as b, getElement as c, getAssetPath as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1375
+ export { Host as H, getElement as a, bootstrapLazy as b, setAssetPath as c, getAssetPath as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1376
+ //# sourceMappingURL=index-B9Q9x8eq.js.map
1340
1377
 
1341
- //# sourceMappingURL=index-22f745e9.js.map
1378
+ //# sourceMappingURL=index-B9Q9x8eq.js.map