xv-webcomponents 1.0.6-qa.0 → 1.0.6

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 (83) hide show
  1. package/dist/cjs/{index-Dhn61jyG.js → index-CjhPTfz8.js} +115 -164
  2. package/dist/cjs/index-CjhPTfz8.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +3 -4
  4. package/dist/cjs/loader.cjs.js.map +1 -1
  5. package/dist/cjs/{xv-accordion-v2_41.cjs.entry.js → xv-accordion-v2_40.cjs.entry.js} +45 -510
  6. package/dist/cjs/xv-accordion-v2_40.cjs.entry.js.map +1 -0
  7. package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +1 -1
  8. package/dist/cjs/xv-webcomponents.cjs.js +4 -5
  9. package/dist/cjs/xv-webcomponents.cjs.js.map +1 -1
  10. package/dist/collection/collection-manifest.json +1 -2
  11. package/dist/collection/components/xv-footer/xv-footer.js +10 -2
  12. package/dist/collection/components/xv-footer/xv-footer.js.map +1 -1
  13. package/dist/collection/components/xv-header/xv-header.css +0 -111
  14. package/dist/collection/components/xv-header/xv-header.js +4 -15
  15. package/dist/collection/components/xv-header/xv-header.js.map +1 -1
  16. package/dist/collection/components/xv-link/xv-link.js +1 -1
  17. package/dist/collection/components/xv-modal/xv-modal.js +1 -1
  18. package/dist/collection/components/xv-notification/xv-notification.js +1 -1
  19. package/dist/collection/components/xv-number-input/xv-number-input.js +2 -2
  20. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +1 -1
  21. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +2 -2
  22. package/dist/collection/components/xv-pagination/xv-pagination.js +1 -1
  23. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
  24. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +1 -1
  25. package/dist/collection/components/xv-slider/xv-slider.js +1 -1
  26. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +1 -1
  27. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +1 -1
  28. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +1 -1
  29. package/dist/collection/components/xv-table/xv-table.js +1 -1
  30. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
  31. package/dist/collection/components/xv-tag/xv-tag.js +1 -1
  32. package/dist/collection/components/xv-text-input/xv-text-input.js +2 -2
  33. package/dist/collection/components/xv-textarea/xv-textarea.js +2 -2
  34. package/dist/collection/components/xv-tile/xv-tile.js +2 -2
  35. package/dist/collection/components/xv-toggle/xv-toggle.js +1 -1
  36. package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +1 -1
  37. package/dist/collection/components/xv-tooltip/xv-tooltip.js +2 -2
  38. package/dist/esm/{index--DUErNf0.js → index-BQoQLd_U.js} +115 -165
  39. package/dist/esm/index-BQoQLd_U.js.map +1 -0
  40. package/dist/esm/loader.js +3 -4
  41. package/dist/esm/loader.js.map +1 -1
  42. package/dist/esm/{xv-accordion-v2_41.entry.js → xv-accordion-v2_40.entry.js} +46 -510
  43. package/dist/esm/xv-accordion-v2_40.entry.js.map +1 -0
  44. package/dist/esm/xv-breadcrumbs-v2.entry.js +1 -1
  45. package/dist/esm/xv-webcomponents.js +4 -5
  46. package/dist/esm/xv-webcomponents.js.map +1 -1
  47. package/dist/types/components/xv-header/xv-header.d.ts +0 -4
  48. package/dist/types/components.d.ts +0 -37
  49. package/dist/types/stencil-public-runtime.d.ts +5 -12
  50. package/dist/xv-webcomponents/loader.esm.js.map +1 -1
  51. package/dist/xv-webcomponents/p-35bd674b.entry.js +2 -0
  52. package/dist/xv-webcomponents/p-35bd674b.entry.js.map +1 -0
  53. package/dist/xv-webcomponents/p-BQoQLd_U.js +3 -0
  54. package/dist/xv-webcomponents/p-BQoQLd_U.js.map +1 -0
  55. package/dist/xv-webcomponents/{p-e180628a.entry.js → p-a8d785da.entry.js} +2 -2
  56. package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
  57. package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
  58. package/package.json +2 -2
  59. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
  60. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  61. package/dist/cjs/index-Dhn61jyG.js.map +0 -1
  62. package/dist/cjs/xv-accordion-v2_41.cjs.entry.js.map +0 -1
  63. package/dist/collection/components/xv-mega-menu/xv-mega-menu.config.js +0 -408
  64. package/dist/collection/components/xv-mega-menu/xv-mega-menu.config.js.map +0 -1
  65. package/dist/collection/components/xv-mega-menu/xv-mega-menu.css +0 -539
  66. package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +0 -121
  67. package/dist/collection/components/xv-mega-menu/xv-mega-menu.js.map +0 -1
  68. package/dist/collection/components/xv-mega-menu/xv-mega-menu.model.js +0 -2
  69. package/dist/collection/components/xv-mega-menu/xv-mega-menu.model.js.map +0 -1
  70. package/dist/esm/app-globals-DQuL1Twl.js +0 -6
  71. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  72. package/dist/esm/index--DUErNf0.js.map +0 -1
  73. package/dist/esm/xv-accordion-v2_41.entry.js.map +0 -1
  74. package/dist/types/components/xv-mega-menu/xv-mega-menu.config.d.ts +0 -2
  75. package/dist/types/components/xv-mega-menu/xv-mega-menu.d.ts +0 -18
  76. package/dist/types/components/xv-mega-menu/xv-mega-menu.model.d.ts +0 -37
  77. package/dist/xv-webcomponents/p--DUErNf0.js +0 -3
  78. package/dist/xv-webcomponents/p--DUErNf0.js.map +0 -1
  79. package/dist/xv-webcomponents/p-158c9ff0.entry.js +0 -2
  80. package/dist/xv-webcomponents/p-158c9ff0.entry.js.map +0 -1
  81. package/dist/xv-webcomponents/p-DQuL1Twl.js +0 -2
  82. package/dist/xv-webcomponents/p-DQuL1Twl.js.map +0 -1
  83. /package/dist/xv-webcomponents/{p-e180628a.entry.js.map → p-a8d785da.entry.js.map} +0 -0
@@ -3,8 +3,11 @@
3
3
  const NAMESPACE = 'xv-webcomponents';
4
4
  const BUILD = /* xv-webcomponents */ { hydratedSelectorName: "hydrated", lazyLoad: true, slotRelocation: true, updatable: true};
5
5
 
6
+ const globalScripts = () => {};
7
+ const globalStyles = "";
8
+
6
9
  /*
7
- Stencil Client Platform v4.36.3 | MIT Licensed | https://stenciljs.com
10
+ Stencil Client Platform v4.35.1 | MIT Licensed | https://stenciljs.com
8
11
  */
9
12
  var __defProp = Object.defineProperty;
10
13
  var __export = (target, all) => {
@@ -127,7 +130,6 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
127
130
  }
128
131
  return false;
129
132
  })() ;
130
- var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
131
133
  var queuePending = false;
132
134
  var queueDomReads = [];
133
135
  var queueDomWrites = [];
@@ -227,24 +229,12 @@ var unwrapErr = (result) => {
227
229
  throw result.value;
228
230
  }
229
231
  };
230
-
231
- // src/utils/style.ts
232
- function createStyleSheetIfNeededAndSupported(styles2) {
233
- return void 0;
234
- }
235
-
236
- // src/utils/shadow-root.ts
237
- var globalStyleSheet;
238
232
  function createShadowRoot(cmpMeta) {
239
- var _a;
240
233
  const shadowRoot = this.attachShadow({ mode: "open" });
241
- if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
242
- if (globalStyleSheet) {
243
- if (supportsMutableAdoptedStyleSheets) {
244
- shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
245
- } else {
246
- shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
247
- }
234
+ if (supportsConstructableStylesheets) {
235
+ const sheet = new CSSStyleSheet();
236
+ sheet.replaceSync(globalStyles);
237
+ shadowRoot.adoptedStyleSheets.push(sheet);
248
238
  }
249
239
  }
250
240
  var updateFallbackSlotVisibility = (elm) => {
@@ -367,110 +357,6 @@ var uniqueTime = (key, measureText) => {
367
357
  };
368
358
  }
369
359
  };
370
- var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
371
- var registerStyle = (scopeId2, cssText, allowCS) => {
372
- let style = styles.get(scopeId2);
373
- if (supportsConstructableStylesheets && allowCS) {
374
- style = style || new CSSStyleSheet();
375
- if (typeof style === "string") {
376
- style = cssText;
377
- } else {
378
- style.replaceSync(cssText);
379
- }
380
- } else {
381
- style = cssText;
382
- }
383
- styles.set(scopeId2, style);
384
- };
385
- var addStyle = (styleContainerNode, cmpMeta, mode) => {
386
- var _a;
387
- const scopeId2 = getScopeId(cmpMeta);
388
- const style = styles.get(scopeId2);
389
- if (!win.document) {
390
- return scopeId2;
391
- }
392
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
393
- if (style) {
394
- if (typeof style === "string") {
395
- styleContainerNode = styleContainerNode.head || styleContainerNode;
396
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
397
- let styleElm;
398
- if (!appliedStyles) {
399
- rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
400
- }
401
- if (!appliedStyles.has(scopeId2)) {
402
- {
403
- styleElm = win.document.createElement("style");
404
- styleElm.innerHTML = style;
405
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
406
- if (nonce != null) {
407
- styleElm.setAttribute("nonce", nonce);
408
- }
409
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
410
- if (styleContainerNode.nodeName === "HEAD") {
411
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
412
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
413
- styleContainerNode.insertBefore(
414
- styleElm,
415
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
416
- );
417
- } else if ("host" in styleContainerNode) {
418
- if (supportsConstructableStylesheets) {
419
- const stylesheet = new CSSStyleSheet();
420
- stylesheet.replaceSync(style);
421
- if (supportsMutableAdoptedStyleSheets) {
422
- styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
423
- } else {
424
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
425
- }
426
- } else {
427
- const existingStyleContainer = styleContainerNode.querySelector("style");
428
- if (existingStyleContainer) {
429
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
430
- } else {
431
- styleContainerNode.prepend(styleElm);
432
- }
433
- }
434
- } else {
435
- styleContainerNode.append(styleElm);
436
- }
437
- }
438
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
439
- styleContainerNode.insertBefore(styleElm, null);
440
- }
441
- }
442
- if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
443
- styleElm.innerHTML += SLOT_FB_CSS;
444
- }
445
- if (appliedStyles) {
446
- appliedStyles.add(scopeId2);
447
- }
448
- }
449
- } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
450
- if (supportsMutableAdoptedStyleSheets) {
451
- styleContainerNode.adoptedStyleSheets.push(style);
452
- } else {
453
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
454
- }
455
- }
456
- }
457
- return scopeId2;
458
- };
459
- var attachStyles = (hostRef) => {
460
- const cmpMeta = hostRef.$cmpMeta$;
461
- const elm = hostRef.$hostElement$;
462
- const flags = cmpMeta.$flags$;
463
- const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
464
- const scopeId2 = addStyle(
465
- elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
466
- cmpMeta);
467
- if (flags & 10 /* needsScopedEncapsulation */) {
468
- elm["s-sc"] = scopeId2;
469
- elm.classList.add(scopeId2 + "-h");
470
- }
471
- endAttachStyles();
472
- };
473
- var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
474
360
  var h = (nodeName, vnodeData, ...children) => {
475
361
  let child = null;
476
362
  let key = null;
@@ -595,12 +481,6 @@ createSupportsRuleRe("::slotted");
595
481
  createSupportsRuleRe(":host");
596
482
  createSupportsRuleRe(":host-context");
597
483
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
598
- if (typeof propValue === "string" && (propType & 16 /* Unknown */ || propType & 8 /* Any */) && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
599
- try {
600
- return JSON.parse(propValue);
601
- } catch (e) {
602
- }
603
- }
604
484
  if (propValue != null && !isComplexType(propValue)) {
605
485
  if (propType & 4 /* Boolean */) {
606
486
  if (isFormAssociated && typeof propValue === "string") {
@@ -619,10 +499,7 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
619
499
  }
620
500
  return propValue;
621
501
  };
622
- var getElement = (ref) => {
623
- var _a;
624
- return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
625
- };
502
+ var getElement = (ref) => getHostRef(ref).$hostElement$ ;
626
503
 
627
504
  // src/runtime/event-emitter.ts
628
505
  var createEvent = (ref, name, flags) => {
@@ -643,6 +520,102 @@ var emitEvent = (elm, name, opts) => {
643
520
  elm.dispatchEvent(ev);
644
521
  return ev;
645
522
  };
523
+ var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
524
+ var registerStyle = (scopeId2, cssText, allowCS) => {
525
+ let style = styles.get(scopeId2);
526
+ if (supportsConstructableStylesheets && allowCS) {
527
+ style = style || new CSSStyleSheet();
528
+ if (typeof style === "string") {
529
+ style = cssText;
530
+ } else {
531
+ style.replaceSync(cssText);
532
+ }
533
+ } else {
534
+ style = cssText;
535
+ }
536
+ styles.set(scopeId2, style);
537
+ };
538
+ var addStyle = (styleContainerNode, cmpMeta, mode) => {
539
+ var _a;
540
+ const scopeId2 = getScopeId(cmpMeta);
541
+ const style = styles.get(scopeId2);
542
+ if (!win.document) {
543
+ return scopeId2;
544
+ }
545
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
546
+ if (style) {
547
+ if (typeof style === "string") {
548
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
549
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
550
+ let styleElm;
551
+ if (!appliedStyles) {
552
+ rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
553
+ }
554
+ if (!appliedStyles.has(scopeId2)) {
555
+ {
556
+ styleElm = win.document.createElement("style");
557
+ styleElm.innerHTML = style;
558
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
559
+ if (nonce != null) {
560
+ styleElm.setAttribute("nonce", nonce);
561
+ }
562
+ if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
563
+ if (styleContainerNode.nodeName === "HEAD") {
564
+ const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
565
+ const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
566
+ styleContainerNode.insertBefore(
567
+ styleElm,
568
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
569
+ );
570
+ } else if ("host" in styleContainerNode) {
571
+ if (supportsConstructableStylesheets) {
572
+ const stylesheet = new CSSStyleSheet();
573
+ stylesheet.replaceSync(style);
574
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
575
+ } else {
576
+ const existingStyleContainer = styleContainerNode.querySelector("style");
577
+ if (existingStyleContainer) {
578
+ existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
579
+ } else {
580
+ styleContainerNode.prepend(styleElm);
581
+ }
582
+ }
583
+ } else {
584
+ styleContainerNode.append(styleElm);
585
+ }
586
+ }
587
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
588
+ styleContainerNode.insertBefore(styleElm, null);
589
+ }
590
+ }
591
+ if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
592
+ styleElm.innerHTML += SLOT_FB_CSS;
593
+ }
594
+ if (appliedStyles) {
595
+ appliedStyles.add(scopeId2);
596
+ }
597
+ }
598
+ } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
599
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
600
+ }
601
+ }
602
+ return scopeId2;
603
+ };
604
+ var attachStyles = (hostRef) => {
605
+ const cmpMeta = hostRef.$cmpMeta$;
606
+ const elm = hostRef.$hostElement$;
607
+ const flags = cmpMeta.$flags$;
608
+ const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
609
+ const scopeId2 = addStyle(
610
+ elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
611
+ cmpMeta);
612
+ if (flags & 10 /* needsScopedEncapsulation */) {
613
+ elm["s-sc"] = scopeId2;
614
+ elm.classList.add(scopeId2 + "-h");
615
+ }
616
+ endAttachStyles();
617
+ };
618
+ var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
646
619
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
647
620
  if (oldValue === newValue) {
648
621
  return;
@@ -1063,7 +1036,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
1063
1036
  !isInitialRender && BUILD.updatable && oldChildren !== null
1064
1037
  ) {
1065
1038
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
1066
- } else ;
1039
+ }
1067
1040
  if (isSvgMode && tag === "svg") {
1068
1041
  isSvgMode = false;
1069
1042
  }
@@ -1256,12 +1229,6 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
1256
1229
  }
1257
1230
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1258
1231
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1259
- if (isInitialLoad) {
1260
- queueMicrotask(() => {
1261
- dispatch();
1262
- });
1263
- return;
1264
- }
1265
1232
  return writeTask(dispatch) ;
1266
1233
  };
1267
1234
  var dispatchHooks = (hostRef, isInitialLoad) => {
@@ -1406,9 +1373,6 @@ var addHydratedFlag = (elm) => {
1406
1373
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1407
1374
  var setValue = (ref, propName, newVal, cmpMeta) => {
1408
1375
  const hostRef = getHostRef(ref);
1409
- if (!hostRef) {
1410
- return;
1411
- }
1412
1376
  if (!hostRef) {
1413
1377
  throw new Error(
1414
1378
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
@@ -1460,11 +1424,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1460
1424
  FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS.forEach((cbName) => {
1461
1425
  Object.defineProperty(prototype, cbName, {
1462
1426
  value(...args) {
1463
- var _a2;
1464
1427
  const hostRef = getHostRef(this);
1465
- const instance = hostRef == null ? void 0 : hostRef.$lazyInstance$ ;
1428
+ const instance = hostRef.$lazyInstance$ ;
1466
1429
  if (!instance) {
1467
- (_a2 = hostRef == null ? void 0 : hostRef.$onReadyPromise$) == null ? void 0 : _a2.then((asyncInstance) => {
1430
+ hostRef.$onReadyPromise$.then((asyncInstance) => {
1468
1431
  const cb = asyncInstance[cbName];
1469
1432
  typeof cb === "function" && cb.call(asyncInstance, ...args);
1470
1433
  });
@@ -1506,9 +1469,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1506
1469
  Object.defineProperty(prototype, memberName, {
1507
1470
  set(newValue) {
1508
1471
  const ref = getHostRef(this);
1509
- if (!ref) {
1510
- return;
1511
- }
1512
1472
  if (origSetter) {
1513
1473
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1514
1474
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
@@ -1587,7 +1547,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1587
1547
  } else if (propName == null) {
1588
1548
  const hostRef = getHostRef(this);
1589
1549
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1590
- if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1550
+ if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1591
1551
  const instance = hostRef.$lazyInstance$ ;
1592
1552
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1593
1553
  entry == null ? void 0 : entry.forEach((callbackName) => {
@@ -1608,7 +1568,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1608
1568
  Cstr.observedAttributes = Array.from(
1609
1569
  /* @__PURE__ */ new Set([
1610
1570
  ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
1611
- ...members.filter(([_, m]) => m[0] & 31 /* HasAttribute */).map(([propName, m]) => {
1571
+ ...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
1612
1572
  var _a2;
1613
1573
  const attrName = m[1] || propName;
1614
1574
  attrNameToPropName.set(attrName, propName);
@@ -1702,9 +1662,6 @@ var fireConnectedCallback = (instance, elm) => {
1702
1662
  var connectedCallback = (elm) => {
1703
1663
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1704
1664
  const hostRef = getHostRef(elm);
1705
- if (!hostRef) {
1706
- return;
1707
- }
1708
1665
  const cmpMeta = hostRef.$cmpMeta$;
1709
1666
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1710
1667
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
@@ -1766,7 +1723,7 @@ var disconnectedCallback = async (elm) => {
1766
1723
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1767
1724
  const hostRef = getHostRef(elm);
1768
1725
  {
1769
- if (hostRef == null ? void 0 : hostRef.$rmListeners$) {
1726
+ if (hostRef.$rmListeners$) {
1770
1727
  hostRef.$rmListeners$.map((rmListener) => rmListener());
1771
1728
  hostRef.$rmListeners$ = void 0;
1772
1729
  }
@@ -1853,9 +1810,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1853
1810
  }
1854
1811
  connectedCallback() {
1855
1812
  const hostRef = getHostRef(this);
1856
- if (!hostRef) {
1857
- return;
1858
- }
1859
1813
  if (!this.hasRegisteredEventListeners) {
1860
1814
  this.hasRegisteredEventListeners = true;
1861
1815
  addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
@@ -1875,9 +1829,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1875
1829
  plt.raf(() => {
1876
1830
  var _a3;
1877
1831
  const hostRef = getHostRef(this);
1878
- if (!hostRef) {
1879
- return;
1880
- }
1881
1832
  const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1882
1833
  if (i2 > -1) {
1883
1834
  deferredConnectedCallbacks.splice(i2, 1);
@@ -1888,8 +1839,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1888
1839
  });
1889
1840
  }
1890
1841
  componentOnReady() {
1891
- var _a3;
1892
- return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
1842
+ return getHostRef(this).$onReadyPromise$;
1893
1843
  }
1894
1844
  };
1895
1845
  if (cmpMeta.$flags$ & 64 /* formAssociated */) {
@@ -1984,10 +1934,11 @@ exports.Host = Host;
1984
1934
  exports.bootstrapLazy = bootstrapLazy;
1985
1935
  exports.createEvent = createEvent;
1986
1936
  exports.getElement = getElement;
1937
+ exports.globalScripts = globalScripts;
1987
1938
  exports.h = h;
1988
1939
  exports.promiseResolve = promiseResolve;
1989
1940
  exports.registerInstance = registerInstance;
1990
1941
  exports.setNonce = setNonce;
1991
- //# sourceMappingURL=index-Dhn61jyG.js.map
1942
+ //# sourceMappingURL=index-CjhPTfz8.js.map
1992
1943
 
1993
- //# sourceMappingURL=index-Dhn61jyG.js.map
1944
+ //# sourceMappingURL=index-CjhPTfz8.js.map