@nova-design-system/nova-react 3.0.0-beta.45 → 3.0.0-beta.47

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 (43) hide show
  1. package/dist/cjs/{index-S09Gr7Tw.js → index-Byv3Vmev.js} +654 -526
  2. package/dist/cjs/index.js +1 -2
  3. package/dist/cjs/{nv-alert.entry-DH8Qd2s2.js → nv-alert.entry-BXY4KXbF.js} +1 -1
  4. package/dist/cjs/{nv-avatar.entry-B3-elLZC.js → nv-avatar.entry-BnPSKkJJ.js} +1 -1
  5. package/dist/cjs/{nv-badge_2.entry-D15EDzX0.js → nv-badge_2.entry-BsI3B8Rr.js} +5 -5
  6. package/dist/cjs/{nv-breadcrumb.entry-DG49Nj1L.js → nv-breadcrumb.entry-D5vGHLOG.js} +2 -2
  7. package/dist/cjs/{nv-breadcrumbs.entry-BqJO5pbN.js → nv-breadcrumbs.entry-CsaqAsnb.js} +2 -2
  8. package/dist/cjs/{nv-button.entry-CN9kB98T.js → nv-button.entry-DzZfGZGy.js} +2 -2
  9. package/dist/cjs/{nv-calendar.entry-CMEgSU64.js → nv-calendar.entry-CGKv_-gO.js} +49 -20
  10. package/dist/cjs/{nv-col.entry-wcZ9HHAb.js → nv-col.entry-Cng8NaTW.js} +2 -2
  11. package/dist/cjs/{nv-datagrid.entry-GCLeN2qT.js → nv-datagrid.entry-BbAOzpiO.js} +379 -86
  12. package/dist/cjs/nv-datagridcolumn.entry-CRogHbVM.js +22 -0
  13. package/dist/cjs/{nv-dialog.entry-DfY0TaYp.js → nv-dialog.entry-BSIZGYGF.js} +2 -2
  14. package/dist/cjs/{nv-dialogfooter_2.entry-OByWsulH.js → nv-dialogfooter_2.entry-Q4_li_QU.js} +3 -3
  15. package/dist/cjs/{nv-fieldcheckbox.entry-Bqpe9BK3.js → nv-fieldcheckbox.entry-DmgzfmRd.js} +5 -5
  16. package/dist/cjs/{nv-fielddate.entry-DJePv6tR.js → nv-fielddate.entry-qAvLX_Ru.js} +6 -6
  17. package/dist/cjs/{nv-fielddaterange.entry--YC750sX.js → nv-fielddaterange.entry-DVB8Rwxk.js} +5 -5
  18. package/dist/cjs/{nv-fielddropdown.entry-BPlTlc_S.js → nv-fielddropdown.entry-DKXmoXeW.js} +16 -36
  19. package/dist/cjs/{nv-fielddropdownitem.entry-zwoGySum.js → nv-fielddropdownitem.entry-BVLVXi0e.js} +2 -2
  20. package/dist/cjs/{nv-fieldmultiselect.entry-Bg_v0LUF.js → nv-fieldmultiselect.entry-DrTbd3Dj.js} +31 -87
  21. package/dist/cjs/{nv-fieldnumber.entry-BLNaq7yr.js → nv-fieldnumber.entry-DegbEHRL.js} +4 -4
  22. package/dist/cjs/{nv-fieldpassword.entry-iSEdS5R8.js → nv-fieldpassword.entry-gqjlEl7a.js} +10 -8
  23. package/dist/cjs/{nv-fieldradio.entry-Dov4vZkh.js → nv-fieldradio.entry-CVEY4v6F.js} +4 -4
  24. package/dist/cjs/{nv-fieldselect.entry-NmpesarX.js → nv-fieldselect.entry-BrCUuRWa.js} +6 -6
  25. package/dist/cjs/{nv-fieldtext.entry-r6oQajRS.js → nv-fieldtext.entry-q9NnqL5c.js} +4 -4
  26. package/dist/cjs/{nv-fieldtextarea.entry-CJ2yQkfi.js → nv-fieldtextarea.entry-B4qiLmX1.js} +4 -4
  27. package/dist/cjs/{nv-fieldtime.entry-Bxoj6N53.js → nv-fieldtime.entry-Bp2IWjhN.js} +10 -10
  28. package/dist/cjs/{nv-icon.entry-CWKRt8F0.js → nv-icon.entry-B1ax9cJS.js} +2 -2
  29. package/dist/cjs/{nv-iconbutton_2.entry-CnbscpNn.js → nv-iconbutton_2.entry-BRPAGl2S.js} +3 -3
  30. package/dist/cjs/{nv-menu.entry-wC7oSruP.js → nv-menu.entry-BiWiIZAm.js} +19 -45
  31. package/dist/cjs/{nv-menuitem.entry-BVSa1vrS.js → nv-menuitem.entry-CFkXoZ_r.js} +2 -2
  32. package/dist/cjs/{nv-popover.entry-ChP1we3l.js → nv-popover.entry-KT1iQUJk.js} +2 -2
  33. package/dist/cjs/{nv-row.entry-D6FeFpzG.js → nv-row.entry-Cs2GDrcu.js} +2 -2
  34. package/dist/cjs/{nv-stack.entry-zjJmztkO.js → nv-stack.entry-Ci7pxGSo.js} +2 -2
  35. package/dist/cjs/{nv-table.entry-CGX0jsR3.js → nv-table.entry-N4MV8Y6E.js} +3 -3
  36. package/dist/cjs/{nv-tablecolumn.entry-Cwdmo_RY.js → nv-tablecolumn.entry-CTz4jsZl.js} +1 -1
  37. package/dist/cjs/{nv-toggle.entry-BvToMkI2.js → nv-toggle.entry-m10-ncYR.js} +3 -3
  38. package/dist/cjs/{nv-tooltip.entry-DZ7_lB-p.js → nv-tooltip.entry-B6aRDto3.js} +2 -2
  39. package/dist/generated/components.js +0 -8
  40. package/dist/types/generated/components.d.ts +0 -3
  41. package/package.json +1 -1
  42. package/dist/cjs/nv-base.entry-D-_RUZTX.js +0 -71
  43. package/dist/cjs/nv-datagridcolumn.entry-lgIz71UU.js +0 -18
@@ -4435,7 +4435,7 @@ const NvIcon$2 = /*@__PURE__*/ proxyCustomElement(class NvIcon extends H {
4435
4435
  /****************************************************************************/
4436
4436
  //#region RENDER
4437
4437
  render() {
4438
- return (h$1(Host$1, { key: '75b6f4f23483a5a1974c683081f47d6382e37230', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h$1("svg", { key: 'bfc8a74c5a62ddf0f218fd55b108aecb2652343a', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, h$1("use", { key: '627f3dd7d5348c1e7fe060e447e4d0d08a03b0c0', href: `#${this.name}` }))));
4438
+ return (h$1(Host$1, { key: '5d5988e7c0f49781b57b86da6e46e38eeac5ddae', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h$1("svg", { key: 'ab4007e92d6a13245293dbbb7dc746ab21cdbe33', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, h$1("use", { key: 'c9cb4fea1695e81c4e9e775c217dfb9ac3b7c9ec', href: `#${this.name}` }))));
4439
4439
  }
4440
4440
  static get style() { return NvIconStyle0; }
4441
4441
  }, [0, "nv-icon", {
@@ -4448,7 +4448,7 @@ const NvIcon$2 = /*@__PURE__*/ proxyCustomElement(class NvIcon extends H {
4448
4448
  "name": [513],
4449
4449
  "size": [1537]
4450
4450
  }]);
4451
- function defineCustomElement$S() {
4451
+ function defineCustomElement$R() {
4452
4452
  if (typeof customElements === "undefined") {
4453
4453
  return;
4454
4454
  }
@@ -4461,7 +4461,7 @@ function defineCustomElement$S() {
4461
4461
  break;
4462
4462
  } });
4463
4463
  }
4464
- defineCustomElement$S();
4464
+ defineCustomElement$R();
4465
4465
 
4466
4466
  const nvAlertCss = "nv-alert{display:flex !important;align-items:flex-start;position:relative;gap:var(--alert-gap-x);border-radius:var(--alert-radius);font-family:\"TT Norms Pro\", \"Montserrat\", sans-serif}nv-alert>nv-icon{margin-left:var(--alert-icon-position-x);margin-top:var(--alert-icon-position-y)}nv-alert.feedback-information{background-color:var(--components-alert-information-background);border:1px solid var(--components-alert-information-border) !important}nv-alert.feedback-information>.close:focus,nv-alert.feedback-information>.close:focus-within{outline:none}nv-alert.feedback-information>.close:focus-visible,nv-alert.feedback-information>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-information-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-warning{background-color:var(--components-alert-warning-background);border:1px solid var(--components-alert-warning-border) !important}nv-alert.feedback-warning>.close:focus,nv-alert.feedback-warning>.close:focus-within{outline:none}nv-alert.feedback-warning>.close:focus-visible,nv-alert.feedback-warning>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-warning-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-error{background-color:var(--components-alert-error-background);border:1px solid var(--components-alert-error-border) !important}nv-alert.feedback-error>.close:focus,nv-alert.feedback-error>.close:focus-within{outline:none}nv-alert.feedback-error>.close:focus-visible,nv-alert.feedback-error>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-error-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-success{background-color:var(--components-alert-success-background);border:1px solid var(--components-alert-success-border) !important}nv-alert.feedback-success>.close:focus,nv-alert.feedback-success>.close:focus-within{outline:none}nv-alert.feedback-success>.close:focus-visible,nv-alert.feedback-success>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-success-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert.feedback-neutral{background-color:var(--components-alert-neutral-background);border:1px solid var(--components-alert-neutral-border) !important}nv-alert.feedback-neutral>.close:focus,nv-alert.feedback-neutral>.close:focus-within{outline:none}nv-alert.feedback-neutral>.close:focus-visible,nv-alert.feedback-neutral>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-neutral-border);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-alert>nv-icon.icon-information{color:var(--components-alert-information-icon)}nv-alert>nv-icon.icon-warning{color:var(--components-alert-warning-icon)}nv-alert>nv-icon.icon-error{color:var(--components-alert-error-icon)}nv-alert>nv-icon.icon-success{color:var(--components-alert-success-icon)}nv-alert>nv-icon.icon-neutral{color:var(--components-alert-neutral-icon)}nv-alert>.content{display:flex;padding:var(--alert-padding);padding-left:0;flex-direction:column;gap:var(--alert-gap-y)}nv-alert>.content>.heading{color:var(--components-alert-content-title);font-size:var(--alert-heading-font-size);line-height:var(--alert-heading-line-height);font-weight:var(--alert-heading-font-weight)}nv-alert>.content>.message{color:var(--components-alert-content-description);font-size:var(--alert-message-font-size);line-height:var(--alert-message-line-height)}nv-alert>.close{border-radius:var(--alert-radius);position:absolute;display:flex;top:var(--alert-icon-position-y);right:var(--alert-icon-position-x);padding:0;border:none;background:none;cursor:pointer}";
4467
4467
  const NvAlertStyle0 = nvAlertCss;
@@ -4638,7 +4638,7 @@ const NvAlert$1 = /*@__PURE__*/ proxyCustomElement(class NvAlert extends H {
4638
4638
  }, undefined, {
4639
4639
  "hidden": ["handleHiddenChange"]
4640
4640
  }]);
4641
- function defineCustomElement$1$p() {
4641
+ function defineCustomElement$1$o() {
4642
4642
  if (typeof customElements === "undefined") {
4643
4643
  return;
4644
4644
  }
@@ -4651,15 +4651,15 @@ function defineCustomElement$1$p() {
4651
4651
  break;
4652
4652
  case "nv-icon":
4653
4653
  if (!customElements.get(tagName)) {
4654
- defineCustomElement$S();
4654
+ defineCustomElement$R();
4655
4655
  }
4656
4656
  break;
4657
4657
  } });
4658
4658
  }
4659
- defineCustomElement$1$p();
4659
+ defineCustomElement$1$o();
4660
4660
 
4661
4661
  const NvAlert$2 = NvAlert$1;
4662
- const defineCustomElement$R = defineCustomElement$1$p;
4662
+ const defineCustomElement$Q = defineCustomElement$1$o;
4663
4663
 
4664
4664
  const nvAvatarCss = "nv-avatar{align-items:center !important;background-color:var(--components-avatar-background-1);border-radius:var(--radius-rounded-full) !important;display:flex !important;flex-shrink:0 !important;font-family:\"TT Norms Pro\", sans-serif;font-style:normal;font-weight:var(--font-weight-medium-emphasis);justify-content:center !important;leading-trim:both;line-height:1 !important;text-align:center;text-edge:cap;text-transform:uppercase}nv-avatar.avatar-color-1{background-color:var(--components-avatar-background-1);color:var(--components-avatar-content-1)}nv-avatar.avatar-color-2{background-color:var(--components-avatar-background-2);color:var(--components-avatar-content-2)}nv-avatar.avatar-color-3{background-color:var(--components-avatar-background-3);color:var(--components-avatar-content-3)}nv-avatar.avatar-color-4{background-color:var(--components-avatar-background-4);color:var(--components-avatar-content-4)}nv-avatar.avatar-color-5{background-color:var(--components-avatar-background-5);color:var(--components-avatar-content-5)}nv-avatar.avatar-color-6{background-color:var(--components-avatar-background-6);color:var(--components-avatar-content-6)}nv-avatar.avatar-color-7{background-color:var(--components-avatar-background-7);color:var(--components-avatar-content-7)}nv-avatar.avatar-color-8{background-color:var(--components-avatar-background-8);color:var(--components-avatar-content-8)}nv-avatar.avatar-color-9{background-color:var(--components-avatar-background-9);color:var(--components-avatar-content-9)}nv-avatar.avatar-color-10{background-color:var(--components-avatar-background-10);color:var(--components-avatar-content-10)}nv-avatar img{height:100%;width:100%;object-fit:cover;object-position:center;border-radius:50%}nv-avatar.avatar-xs{width:var(--avatar-xs-size);height:var(--avatar-xs-size);font-size:var(--avatar-xs-font-size);line-height:var(--avatar-xs-font-size)}nv-avatar.avatar-xs nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-avatar.avatar-sm{width:var(--avatar-sm-size);height:var(--avatar-sm-size);font-size:var(--avatar-sm-font-size);line-height:var(--avatar-sm-font-size)}nv-avatar.avatar-sm nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-avatar.avatar-md{width:var(--avatar-md-size);height:var(--avatar-md-size);font-size:var(--avatar-md-font-size);line-height:var(--avatar-md-font-size)}nv-avatar.avatar-md nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-avatar.avatar-lg{width:var(--avatar-lg-size);height:var(--avatar-lg-size);font-size:var(--avatar-lg-font-size);line-height:var(--avatar-lg-font-size)}nv-avatar.avatar-lg nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-avatar.avatar-xl{width:var(--avatar-xl-size);height:var(--avatar-xl-size);font-size:var(--avatar-xl-font-size);line-height:var(--avatar-xl-font-size)}nv-avatar.avatar-xl nv-icon>svg{width:var(--spacing-7);height:var(--spacing-7);stroke-width:1.9px}";
4665
4665
  const NvAvatarStyle0 = nvAvatarCss;
@@ -4733,7 +4733,7 @@ const NvAvatar$1 = /*@__PURE__*/ proxyCustomElement(class NvAvatar extends H {
4733
4733
  "size": [1537],
4734
4734
  "color": [513]
4735
4735
  }]);
4736
- function defineCustomElement$1$o() {
4736
+ function defineCustomElement$1$n() {
4737
4737
  if (typeof customElements === "undefined") {
4738
4738
  return;
4739
4739
  }
@@ -4746,15 +4746,15 @@ function defineCustomElement$1$o() {
4746
4746
  break;
4747
4747
  case "nv-icon":
4748
4748
  if (!customElements.get(tagName)) {
4749
- defineCustomElement$S();
4749
+ defineCustomElement$R();
4750
4750
  }
4751
4751
  break;
4752
4752
  } });
4753
4753
  }
4754
- defineCustomElement$1$o();
4754
+ defineCustomElement$1$n();
4755
4755
 
4756
4756
  const NvAvatar$2 = NvAvatar$1;
4757
- const defineCustomElement$Q = defineCustomElement$1$o;
4757
+ const defineCustomElement$P = defineCustomElement$1$n;
4758
4758
 
4759
4759
  const nvBadgeCss = "nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.with-gap{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content;gap:var(--badge-gap-x)}nv-badge.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-badge:not(.with-gap){padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;vertical-align:middle;align-items:center;border-radius:var(--radius-rounded-full);border-style:solid;border-width:0.5px;height:fit-content;width:fit-content}nv-badge.badge-1{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-1 .close:focus,nv-badge.badge-1 .close:focus-within{outline:none}nv-badge.badge-1 .close:focus-visible,nv-badge.badge-1 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-1-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-1 nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-2{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-2 .close:focus,nv-badge.badge-2 .close:focus-within{outline:none}nv-badge.badge-2 .close:focus-visible,nv-badge.badge-2 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-2-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-2 nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-3{color:var(--color-rainbow-3-text);background-color:var(--color-rainbow-3-background);border-color:var(--color-rainbow-3-border)}nv-badge.badge-3 .close:focus,nv-badge.badge-3 .close:focus-within{outline:none}nv-badge.badge-3 .close:focus-visible,nv-badge.badge-3 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-3-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-3 nv-icon{color:var(--color-rainbow-3-icon)}nv-badge.badge-4{color:var(--color-rainbow-4-text);background-color:var(--color-rainbow-4-background);border-color:var(--color-rainbow-4-border)}nv-badge.badge-4 .close:focus,nv-badge.badge-4 .close:focus-within{outline:none}nv-badge.badge-4 .close:focus-visible,nv-badge.badge-4 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-4-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-4 nv-icon{color:var(--color-rainbow-4-icon)}nv-badge.badge-5{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-5 .close:focus,nv-badge.badge-5 .close:focus-within{outline:none}nv-badge.badge-5 .close:focus-visible,nv-badge.badge-5 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-5-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-5 nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-6{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-6 .close:focus,nv-badge.badge-6 .close:focus-within{outline:none}nv-badge.badge-6 .close:focus-visible,nv-badge.badge-6 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-6-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-6 nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-7{color:var(--color-rainbow-7-text);background-color:var(--color-rainbow-7-background);border-color:var(--color-rainbow-7-border)}nv-badge.badge-7 .close:focus,nv-badge.badge-7 .close:focus-within{outline:none}nv-badge.badge-7 .close:focus-visible,nv-badge.badge-7 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-7-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-7 nv-icon{color:var(--color-rainbow-7-icon)}nv-badge.badge-8{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-8 .close:focus,nv-badge.badge-8 .close:focus-within{outline:none}nv-badge.badge-8 .close:focus-visible,nv-badge.badge-8 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-8-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-8 nv-icon{color:var(--color-rainbow-8-icon)}nv-badge.badge-9{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-9 .close:focus,nv-badge.badge-9 .close:focus-within{outline:none}nv-badge.badge-9 .close:focus-visible,nv-badge.badge-9 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-9-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-9 nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-10{color:var(--color-rainbow-10-text);background-color:var(--color-rainbow-10-background);border-color:var(--color-rainbow-10-border)}nv-badge.badge-10 .close:focus,nv-badge.badge-10 .close:focus-within{outline:none}nv-badge.badge-10 .close:focus-visible,nv-badge.badge-10 .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-rainbow-10-content);outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-10 nv-icon{color:var(--color-rainbow-10-icon)}nv-badge span{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important}nv-badge nv-icon>svg.icon-xs{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-sm{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-md{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-lg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge nv-icon>svg.icon-xl{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-badge .close{padding:0;line-height:0;border:none;background:none;cursor:pointer;color:inherit;display:inline-flex;align-items:center;aspect-ratio:1/1;border-radius:var(--radius-rounded-full)}";
4760
4760
  const NvBadgeStyle0 = nvBadgeCss;
@@ -4796,7 +4796,6 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
4796
4796
  * Controls the visibility of the badge. Will animate with fade and collapse.
4797
4797
  */
4798
4798
  this.hidden = false; // eslint-disable-line @stencil-community/reserved-member-names
4799
- this._isHidden = this.hidden;
4800
4799
  /**
4801
4800
  * When true, the alert does not automatically close upon dismissing.
4802
4801
  * Useful for externally controlled component behavior.
@@ -4865,6 +4864,7 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
4865
4864
  this.leadIcon = this.icon;
4866
4865
  }
4867
4866
  if (this.hidden) {
4867
+ this._isHidden = true;
4868
4868
  const { setCollapsed } = useCollapse(this.ref);
4869
4869
  const { setFadeOut } = useFade(this.ref);
4870
4870
  setCollapsed();
@@ -4875,11 +4875,11 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
4875
4875
  /****************************************************************************/
4876
4876
  //#region RENDER
4877
4877
  render() {
4878
- return (h$1(Host$1, { key: '63f256c6711546ca5304d46c2624e52f35dc2b46', class: clsx(`badge-${this.color}`, {
4878
+ return (h$1(Host$1, { key: '8d97eed4a84f2f913e4f8cd64d08c806d9724f33', class: clsx(`badge-${this.color}`, {
4879
4879
  'has-close': this.dismissible,
4880
4880
  'with-gap': this.dismissible || this.label,
4881
4881
  'visually-hidden': this._isHidden,
4882
- }) }, h$1("slot", { key: '181e608d22c697517ef55dbc4432ac06cdf6892e', name: "leading-icon" }, this.leadIcon && (h$1("nv-icon", { key: '914d75ef9d54e2c8c94c9c99a4efeb59aa654f1c', slot: "leading-icon", name: this.leadIcon, size: "sm" }))), this.label && h$1("span", { key: 'd32ff92840bba1cc983b24a4fee95af065ffef0e' }, this.label), this.dismissible && (h$1("button", { key: '1dbd1e432774e26936f93f7207e1f6eb93fa0819', onClick: this.handleClose, class: "close", type: "button" }, h$1("nv-icon", { key: '8372fb5ba1dafd5758807485a5be3880a009567d', name: "x", size: "sm" })))));
4882
+ }) }, h$1("slot", { key: '34c2c387727e6b68d37fe2b2ac68c82799356e3d', name: "leading-icon" }, this.leadIcon && h$1("nv-icon", { key: '0c23dd58e48fce39d7935549c6289f87f1fb66af', name: this.leadIcon, size: "sm" })), h$1("slot", { key: '7485f570aa3cf519b030bedfa8ccf6a6d37d2c1b' }, this.label && h$1("span", { key: 'eb7afa0eb52582c6d782d2383dfe2eeb41a9649b' }, this.label)), this.dismissible && (h$1("button", { key: 'bc07eed3e1328a8009cb2c8add026a7f8a5335da', onClick: this.handleClose, class: "close", type: "button" }, h$1("nv-icon", { key: 'ab0b2c6224f4b8b147e8158856acbf1ab987b392', name: "x", size: "sm" })))));
4883
4883
  }
4884
4884
  get ref() { return this; }
4885
4885
  static get watchers() { return {
@@ -4904,7 +4904,7 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
4904
4904
  "icon": ["handleIconChange"],
4905
4905
  "hidden": ["handleHiddenChange"]
4906
4906
  }]);
4907
- function defineCustomElement$P() {
4907
+ function defineCustomElement$O() {
4908
4908
  if (typeof customElements === "undefined") {
4909
4909
  return;
4910
4910
  }
@@ -4917,98 +4917,15 @@ function defineCustomElement$P() {
4917
4917
  break;
4918
4918
  case "nv-icon":
4919
4919
  if (!customElements.get(tagName)) {
4920
- defineCustomElement$S();
4920
+ defineCustomElement$R();
4921
4921
  }
4922
4922
  break;
4923
4923
  } });
4924
4924
  }
4925
- defineCustomElement$P();
4925
+ defineCustomElement$O();
4926
4926
 
4927
4927
  const NvBadge$1 = NvBadge$2;
4928
- const defineCustomElement$O = defineCustomElement$P;
4929
-
4930
- const classes = {
4931
- 'w-full': 'w-full',
4932
- 'wFull': 'w-full',
4933
- 'is-active': 'is-active',
4934
- 'is-selected': 'is-selected',
4935
- };
4936
- const NvBaseComponent = /*@__PURE__*/ proxyCustomElement(class NvBaseComponent extends H {
4937
- constructor() {
4938
- super();
4939
- this.__registerHost();
4940
- }
4941
- /****************************************************************************/
4942
- //#region LIFECYCLE
4943
- componentWillLoad() {
4944
- this.applyClassesOnInitialRender();
4945
- }
4946
- componentDidLoad() {
4947
- this.mutationObserver = new MutationObserver(mutations => {
4948
- mutations.forEach(mutation => {
4949
- if (mutation.type === 'attributes') {
4950
- const target = mutation.target;
4951
- Object.keys(classes).forEach(attributeName => {
4952
- if (target.hasAttribute(attributeName)) {
4953
- target.classList.add(classes[attributeName]);
4954
- }
4955
- else {
4956
- target.classList.remove(classes[attributeName]);
4957
- }
4958
- });
4959
- }
4960
- });
4961
- });
4962
- this.observeElements();
4963
- }
4964
- disconnectedCallback() {
4965
- if (this.mutationObserver) {
4966
- this.mutationObserver.disconnect();
4967
- }
4968
- }
4969
- //#endregion LIFECYCLE
4970
- /****************************************************************************/
4971
- //#region METHODS
4972
- applyClassesOnInitialRender() {
4973
- Object.keys(classes).forEach(attributeName => {
4974
- const elements = this.el.querySelectorAll(`[${attributeName}]`);
4975
- elements.forEach(element => {
4976
- element.classList.add(classes[attributeName]);
4977
- });
4978
- });
4979
- }
4980
- observeElements() {
4981
- this.mutationObserver.observe(this.el, {
4982
- attributes: true,
4983
- attributeFilter: Object.keys(classes),
4984
- subtree: true,
4985
- });
4986
- }
4987
- //#endregion METHODS
4988
- /****************************************************************************/
4989
- //#region RENDER
4990
- render() {
4991
- return (h$1(Host$1, { key: '81da4e7fd653192079ab22a607d1f525b504f3e4', style: { display: 'block' } }, h$1("slot", { key: 'e766e4b073b16d367c473b02c94448cf835a4921' })));
4992
- }
4993
- get el() { return this; }
4994
- }, [4, "nv-base"]);
4995
- function defineCustomElement$1$n() {
4996
- if (typeof customElements === "undefined") {
4997
- return;
4998
- }
4999
- const components = ["nv-base"];
5000
- components.forEach(tagName => { switch (tagName) {
5001
- case "nv-base":
5002
- if (!customElements.get(tagName)) {
5003
- customElements.define(tagName, NvBaseComponent);
5004
- }
5005
- break;
5006
- } });
5007
- }
5008
- defineCustomElement$1$n();
5009
-
5010
- const NvBase$1 = NvBaseComponent;
5011
- const defineCustomElement$N = defineCustomElement$1$n;
4928
+ const defineCustomElement$N = defineCustomElement$O;
5012
4929
 
5013
4930
  const useGrow = (node, { duration = 200, amount = 0.8, hasFade = true } = {}) => {
5014
4931
  const nodeStyler = index(node);
@@ -6975,7 +6892,7 @@ const NvPopover$2 = /*@__PURE__*/ proxyCustomElement(class NvPopover extends H {
6975
6892
  /****************************************************************************/
6976
6893
  //#region RENDER
6977
6894
  render() {
6978
- return (h$1(Host$1, { key: '6c72a8b8adc53dea2bd79b4b68afbeebc0281453' }, h$1("slot", { key: 'c9b7c7327346a53a5e0183785c2ae7f908a46826', name: "trigger" }), h$1("div", { key: 'd95998b8efc7e3f1c346d4dc516ccdf08bcceb48', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h$1("div", { key: '59a84c8daa368251b10a1f64a4e1335b9f5716dd', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h$1("slot", { key: '1ab56763bc4ff602d83042a10c67d633b81e5ae9', name: "content" }))));
6895
+ return (h$1(Host$1, { key: '830051c35f7e10dfa4e31d401663bd5727ac988f' }, h$1("slot", { key: 'a49852a712bf6ab9c8557035ca4618d007939f03', name: "trigger" }), h$1("div", { key: '6d9cd4bd873cb92b1716a8ea88a3877a029cbe9c', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h$1("div", { key: 'f935c9248b602aa1c39e7d28c5503a24067fb744', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h$1("slot", { key: '6b682de05037b2d3b60c9139c448620fab963ea1', name: "content" }))));
6979
6896
  }
6980
6897
  get el() { return this; }
6981
6898
  static get watchers() { return {
@@ -7048,7 +6965,7 @@ const NvTooltip$2 = /*@__PURE__*/ proxyCustomElement(class NvTooltip extends H {
7048
6965
  /****************************************************************************/
7049
6966
  //#region RENDER
7050
6967
  render() {
7051
- return (h$1(Host$1, { key: '8cd2c98bb131f251183acb9af66c9f6f9756ea95' }, h$1("slot", { key: 'fe6b19ecbf81c75579d2eda7f420dba67d17f6b1' }), h$1("nv-popover", { key: '4bb59ab06f861d3892de8122ef12eacacb8b4ad5', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, h$1("p", { key: '1f6eca5114ef857086f1263adb806894d5e8e49e', slot: "content" }, this.message), h$1("slot", { key: '7a359b89785621df4fb4f1c499d4a295f4112aed', name: "content" }))));
6968
+ return (h$1(Host$1, { key: '8309e08944469fad76997a6dfcb8b434461aa5a3' }, h$1("slot", { key: 'f3da94e2f2f581f7b8c93f4b3e70de67e305508a' }), h$1("nv-popover", { key: 'a28c50f59f9a781afd8a8ab60260d065dcadf96d', triggerMode: "hover", hasArrow: true, placement: this.placement, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, h$1("p", { key: '76f63a5f220de640f4eeada8aeba97e9ead73fc9', slot: "content" }, this.message), h$1("slot", { key: 'f55f71b357b23c29b40b9c022a5a1718c4c8c8fb', name: "content" }))));
7052
6969
  }
7053
6970
  get el() { return this; }
7054
6971
  static get style() { return NvTooltipStyle0; }
@@ -7111,7 +7028,7 @@ const NvBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class NvBreadcrumb exten
7111
7028
  /****************************************************************************/
7112
7029
  //#region RENDER
7113
7030
  render() {
7114
- return (h$1(Host$1, { key: 'c985863a0ffdcd051abd712c357110cfa056c382', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (h$1("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (h$1("slot", null)), this.tooltip && (h$1("nv-tooltip", { key: '4f7ad5175285ea442cd42581e292d2d430eb8770', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (h$1("nv-popover", { key: '29aba9e64f0d1785852dc4b830959dcbbd7dfc8b', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, h$1("ul", { key: '0fde9dac023e6a77cb1524cbfcdf58d11e5a21f3', slot: "content" }, h$1("slot", { key: 'c263990647dc304a37971168669ced00bf46c588' })))), h$1("span", { key: 'f9f96fb13c67e4d3844007342c931ccd690ca7f5', "data-scope": "separator" }, "/")));
7031
+ return (h$1(Host$1, { key: '50f858dc015ef2cd51f54a08fa53ec88ee42ac41', role: "listitem", "aria-current": this.current ? 'location' : undefined, class: clsx({ 'visually-hidden': this.current }) }, this.type === 'collapsed' ? (h$1("button", { ref: el => (this.popoverTrigger = el) }, "...")) : (h$1("slot", null)), this.tooltip && (h$1("nv-tooltip", { key: '1df40faa4a483d4abf8895def5db87696cf0d08e', message: this.tooltip, triggerElement: this.popoverTrigger, placement: "top" })), this.type === 'collapsed' && (h$1("nv-popover", { key: '90174908cdcf1b3e1f8a8a82a01cfa505311c930', triggerMode: "click", groupName: "breadcrumbs", triggerElement: this.popoverTrigger }, h$1("ul", { key: '72282abd41c80bb8edf0c6b19506be32bf5ed688', slot: "content" }, h$1("slot", { key: '4b9c325c0d27162c4856796f6a7d7c9b39edf993' })))), h$1("span", { key: '62316fc8efc09067a0a64d4e90e76d57b329ee81', "data-scope": "separator" }, "/")));
7115
7032
  }
7116
7033
  get el() { return this; }
7117
7034
  static get style() { return NvBreadcrumbStyle0; }
@@ -7158,7 +7075,7 @@ const NvBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class NvBreadcrumbs ext
7158
7075
  }
7159
7076
  //#region RENDER
7160
7077
  render() {
7161
- return (h$1(Host$1, { key: 'd54bb25f9f34ea0f5ea58da6a60261aed57fefef', role: "navigation", "aria-label": "breadcrumbs" }, h$1("ol", { key: '660c31fbb8860ce0639b475875dd720f3876549b' }, h$1("slot", { key: 'c77828910bfb759839d04b5ac28e11cebec7c937' }))));
7078
+ return (h$1(Host$1, { key: '19ad2bb41f4254a98a571cbadb50ba5ed7d29f62', role: "navigation", "aria-label": "breadcrumbs" }, h$1("ol", { key: '11b77f0f11c6b1dc2ce5ab3f4f7b23e8ec728b61' }, h$1("slot", { key: 'c0c683f93c6874aa5f84fb735d13c1b5eabcd951' }))));
7162
7079
  }
7163
7080
  static get style() { return NvBreadcrumbsStyle0; }
7164
7081
  }, [4, "nv-breadcrumbs"]);
@@ -7201,7 +7118,7 @@ const NvLoader$2 = /*@__PURE__*/ proxyCustomElement(class NvLoader extends H {
7201
7118
  //#region RENDER
7202
7119
  /* <slot> empty to force rendering change */
7203
7120
  render() {
7204
- return (h$1(Host$1, { key: 'b6b029b8231c2d4a1a6a7f074f42a27b85dff71b', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
7121
+ return (h$1(Host$1, { key: 'f3094e46eb7072534f497694d3c28030f0118acc', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
7205
7122
  }
7206
7123
  static get style() { return NvLoaderStyle0; }
7207
7124
  }, [0, "nv-loader", {
@@ -7364,7 +7281,7 @@ const NvButton$2 = /*@__PURE__*/ proxyCustomElement(class NvButton extends H {
7364
7281
  /****************************************************************************/
7365
7282
  //#region RENDER
7366
7283
  render() {
7367
- return (h$1(Host$1, { key: '2e0084462020783fc79f59bb8f9700efde5326f9', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (h$1("nv-loader", { key: '71f6b82ad0a48bd1e80f12685e0513acdb2b5431', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), h$1("slot", { key: 'eaeb55591a8f5e25707e12e62c0a85d6bd869fad', name: "leading-icon" }), h$1("slot", { key: 'ad6e7d861a3becdf31643c6cbc49a122f89d36eb' }), h$1("slot", { key: '6c3eeecc5a2c99d01a7b555b8f7d314d6f985012', name: "trailing-icon" })));
7284
+ return (h$1(Host$1, { key: 'f8b20f9052d71f93eaf03f98550a7237225cadf2', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (h$1("nv-loader", { key: 'c1cefa72ee24dad9ce16bbfe1f51e6cec6dc7fbc', size: this.size === ButtonSize.Large ? 'sm' : 'xs' })), h$1("slot", { key: '36a311494e45ebc23b1133923a676d58e87f3800', name: "leading-icon" }), h$1("slot", { key: 'f6fea826cda9a09f7152f4e30cc6981c89e73ebe' }), h$1("slot", { key: 'd59c23ff85ea7efc16c69c5adbeb0e91786f1f68', name: "trailing-icon" })));
7368
7285
  }
7369
7286
  static get formAssociated() { return true; }
7370
7287
  get el() { return this; }
@@ -7524,7 +7441,7 @@ const NvIconbutton$2 = /*@__PURE__*/ proxyCustomElement(class NvIconbutton exten
7524
7441
  /****************************************************************************/
7525
7442
  //#region RENDER
7526
7443
  render() {
7527
- return (h$1(Host$1, { key: '4c8d155b8feb2c43c71075facd4aba91187859e0', role: "button", type: this.type, tabindex: "0", disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h$1("nv-loader", { key: '98e022b368e278aed21335cf593aeea19dba29ee', size: this.size }), !this.loading && h$1("nv-icon", { key: '5298a3d0a85e97826693e47e04ed9eddcb4f9cd3', name: this.name, size: this.size }), h$1("slot", { key: '7e239aacae35715d4dc309919a21f0def9c0fa5d' })));
7444
+ return (h$1(Host$1, { key: 'f678bd976942aa35ae36c536fdd86cd65a43263a', role: "button", type: this.type, tabindex: "0", disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h$1("nv-loader", { key: 'b874de8701de163c1f4235c2034a13da30279191', size: this.size }), !this.loading && h$1("nv-icon", { key: '222ccc93e3af3dcec81308b3b90ca724ecdfa2fb', name: this.name, size: this.size }), h$1("slot", { key: 'c7a257f7715a9320ffe46e09b59a2d570d1f052c' })));
7528
7445
  }
7529
7446
  static get formAssociated() { return true; }
7530
7447
  get el() { return this; }
@@ -7559,7 +7476,7 @@ function defineCustomElement$F() {
7559
7476
  break;
7560
7477
  case "nv-icon":
7561
7478
  if (!customElements.get(tagName)) {
7562
- defineCustomElement$S();
7479
+ defineCustomElement$R();
7563
7480
  }
7564
7481
  break;
7565
7482
  case "nv-loader":
@@ -7798,11 +7715,11 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
7798
7715
  /**
7799
7716
  * Change the displayed month
7800
7717
  * @param {number} offset - Month offset (-1 for previous, 1 for next)
7801
- * @param {number} calendarOffset - Month offset for the calendar (0 by default)
7802
7718
  */
7803
- changeMonth(offset, calendarOffset = 0) {
7719
+ changeMonth(offset) {
7804
7720
  const newDate = new Date(this.currentDate);
7805
- newDate.setUTCMonth(newDate.getUTCMonth() + offset + calendarOffset);
7721
+ // Ensure we only move by one month at a time
7722
+ newDate.setUTCMonth(newDate.getUTCMonth() + offset);
7806
7723
  // Add the appropriate animation class
7807
7724
  const containers = this.el.querySelectorAll('.calendar-grid');
7808
7725
  containers.forEach(container => {
@@ -7960,10 +7877,13 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
7960
7877
  const firstDay = new Date(Date.UTC(year, month, 1));
7961
7878
  const lastDay = new Date(Date.UTC(year, month + 1, 0));
7962
7879
  const days = [];
7963
- // Calculate the offset to include the days of the previous month only for the first calendar
7964
- const offsetDays = offset === 0 ? (firstDay.getUTCDay() - this.firstDayOfWeek + 7) % 7 : 0;
7880
+ // Correct calculation of offset for previous month days
7881
+ // Use getUTCDay to stay consistent with UTC timezone
7882
+ const dayOfWeekIndex = firstDay.getUTCDay(); // 0 = Sunday, 1 = Monday, etc.
7883
+ // Adjust based on firstDayOfWeek (if week starts on Monday, offset is different)
7884
+ const offsetDays = (dayOfWeekIndex - this.firstDayOfWeek + 7) % 7;
7965
7885
  // Add the days of the previous month for the first calendar
7966
- if (offset === 0) {
7886
+ if (offset === 0 && offsetDays > 0) {
7967
7887
  const prevMonthLastDay = new Date(Date.UTC(year, month, 0)).getUTCDate();
7968
7888
  for (let i = offsetDays; i > 0; i--) {
7969
7889
  const date = new Date(Date.UTC(year, month - 1, prevMonthLastDay - i + 1));
@@ -8153,6 +8073,21 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
8153
8073
  parseDate(dateInput) {
8154
8074
  if (dateInput instanceof Date)
8155
8075
  return dateInput;
8076
+ // Attempt to automatically detect ISO 8601 format (generated by toISOString())
8077
+ // The regex checks the standard ISO format: YYYY-MM-DDTHH:mm:ss.sssZ
8078
+ if (typeof dateInput === 'string' &&
8079
+ /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/.test(dateInput)) {
8080
+ try {
8081
+ const parsedDate = new Date(dateInput);
8082
+ if (!isNaN(parsedDate.getTime())) {
8083
+ return parsedDate;
8084
+ }
8085
+ }
8086
+ catch (error) {
8087
+ // If it fails, continue with other methods
8088
+ console.error('Error parsing ISO date:', error);
8089
+ }
8090
+ }
8156
8091
  // Handling Unix Seconds ("X") formats
8157
8092
  if (this.dateFormat === 'X') {
8158
8093
  const unixSeconds = Number(dateInput);
@@ -8199,6 +8134,20 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
8199
8134
  }
8200
8135
  return parsed.toDate();
8201
8136
  }
8137
+ /**
8138
+ * Checks if the date format is in UTC mode
8139
+ * @returns {boolean} true if the date format is in UTC mode
8140
+ */
8141
+ get isUTCMode() {
8142
+ return this.dateFormat.includes('Z');
8143
+ }
8144
+ /**
8145
+ * Checks if the date format is ISO 8601
8146
+ * @returns {boolean} true if the format is ISO 8601
8147
+ */
8148
+ get isISO8601Format() {
8149
+ return this.dateFormat === 'YYYY-MM-DD[T]HH:mm:ss[Z]';
8150
+ }
8202
8151
  /**
8203
8152
  * Formats a date to a string according to the format
8204
8153
  * @param {Date} date - Date to format
@@ -8207,6 +8156,11 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
8207
8156
  formatDate(date) {
8208
8157
  if (!date)
8209
8158
  return '';
8159
+ // Special case for ISO 8601
8160
+ if (this.isISO8601Format) {
8161
+ // For the ISO 8601 format, use directly toISOString() which is standard
8162
+ return date.toISOString();
8163
+ }
8210
8164
  // If the format is "Ticks", convert the time to C# ticks
8211
8165
  if (this.dateFormat === 'Ticks') {
8212
8166
  const ticks = date.getTime() * 10000 + 621355968000000000;
@@ -8402,11 +8356,10 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
8402
8356
  /**
8403
8357
  * Handles month change with an offset
8404
8358
  * @param {number} direction - Direction (-1 for previous, 1 for next)
8405
- * @param {number} offset - Month offset (0 by default)
8406
8359
  * @returns {Function} Change month handler
8407
8360
  */
8408
- getChangeMonthHandler(direction, offset) {
8409
- return () => this.changeMonth(direction, offset);
8361
+ getChangeMonthHandler(direction) {
8362
+ return () => this.changeMonth(direction);
8410
8363
  }
8411
8364
  /**
8412
8365
  * Handles month change from an event (ex: dropdown)
@@ -8468,13 +8421,6 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
8468
8421
  return [];
8469
8422
  }
8470
8423
  }
8471
- /**
8472
- * Checks if the date format is in UTC mode
8473
- * @returns {boolean} true if the date format is in UTC mode
8474
- */
8475
- get isUTCMode() {
8476
- return this.dateFormat.includes('Z');
8477
- }
8478
8424
  /**
8479
8425
  * Checks if shortcuts are visible
8480
8426
  * @returns {boolean} true if shortcuts are visible
@@ -8500,8 +8446,8 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
8500
8446
  * @description Renders the header of the calendar
8501
8447
  */
8502
8448
  renderHeader(offset, index) {
8503
- return (h$1("div", { class: "header" }, this.numberOfCalendars > 1 && index === 0 && (h$1("nv-iconbutton", { class: "nav-left", emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1, offset) })), h$1("div", { class: "date-controls" }, h$1("select", { class: "month-select mr-4", onChange: this.getHandleMonthChange(offset) }, this.months.map(month => (h$1("option", { key: month.value, value: month.value, selected: month.value === (this.currentDate.getUTCMonth() + offset) % 12 }, month.label)))), h$1("input", { type: "number", class: "year-input", min: "1950", max: "2100", value: this.currentDate.getUTCFullYear() +
8504
- Math.floor((this.currentDate.getUTCMonth() + offset) / 12), onChange: this.getHandleYearChange(offset) })), this.numberOfCalendars === 1 && (h$1("div", { class: "nav-buttons" }, h$1("nv-iconbutton", { emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1, offset) }), h$1("nv-iconbutton", { emphasis: "lower", name: "chevron-right", onClick: this.getChangeMonthHandler(1, offset) }))), this.numberOfCalendars > 1 && index === this.numberOfCalendars - 1 && (h$1("nv-iconbutton", { emphasis: "lower", name: "chevron-right", onClick: this.getChangeMonthHandler(1, offset), class: "nav-right" }))));
8449
+ return (h$1("div", { class: "header" }, this.numberOfCalendars > 1 && index === 0 && (h$1("nv-iconbutton", { class: "nav-left", emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1) })), h$1("div", { class: "date-controls" }, h$1("select", { class: "month-select mr-4", onChange: this.getHandleMonthChange(offset) }, this.months.map(month => (h$1("option", { key: month.value, value: month.value, selected: month.value === (this.currentDate.getUTCMonth() + offset) % 12 }, month.label)))), h$1("input", { type: "number", class: "year-input", min: "1950", max: "2100", value: this.currentDate.getUTCFullYear() +
8450
+ Math.floor((this.currentDate.getUTCMonth() + offset) / 12), onChange: this.getHandleYearChange(offset) })), this.numberOfCalendars === 1 && (h$1("div", { class: "nav-buttons" }, h$1("nv-iconbutton", { emphasis: "lower", name: "chevron-left", onClick: this.getChangeMonthHandler(-1) }), h$1("nv-iconbutton", { emphasis: "lower", name: "chevron-right", onClick: this.getChangeMonthHandler(1) }))), this.numberOfCalendars > 1 && index === this.numberOfCalendars - 1 && (h$1("nv-iconbutton", { emphasis: "lower", name: "chevron-right", onClick: this.getChangeMonthHandler(1), class: "nav-right" }))));
8505
8451
  }
8506
8452
  /**
8507
8453
  * Renders the week numbers
@@ -8594,7 +8540,7 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
8594
8540
  * @slot default - Child content of the component.
8595
8541
  */
8596
8542
  render() {
8597
- return (h$1(Host$1, { key: '43c78a6ec3df4b8e8c909a84ba11172081c87757' }, h$1("div", { key: 'd60d2695e78a5361af1365d10482d74734adc35e', class: "datepicker-root" }, h$1("div", { key: '6fd36abda10808660474a9473e45344162f5f34a', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, h$1("div", { key: '443a6ca08d7ba5d7cc1f3a261f9173e7aa3ab037', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), (this.hasShortcuts || this.hasActions) && (h$1("div", { key: '3fddbf390693d2f291f1a834447c24e26a2900cc', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), h$1("slot", { key: 'ec40ab4d4ac408554b700deff08d1b202718963a' })));
8543
+ return (h$1(Host$1, { key: '89300da9f694aa926855452414e7e036f75f2de6' }, h$1("div", { key: '467ef9fc9d6523eec3712bf779d49fdf50c55617', class: "datepicker-root" }, h$1("div", { key: '990f2cb18dcad96cab0f8dfb62e6c57049475440', class: `datepicker-container ${this.numberOfCalendars === 1 ? 'datepicker-container-single' : ''}` }, h$1("div", { key: 'c0dedf1007cbc6a87bd591925c9994474c876afc', class: `datepicker-wrapper ${this.numberOfCalendars === 1 ? 'single' : ''}` }, this.shortcutsPlacement === 'left' && this.renderShortcuts(), Array.from({ length: this.numberOfCalendars }, (_, index) => this.renderCalendar(index, index)), this.shortcutsPlacement === 'right' && this.renderShortcuts()), (this.hasShortcuts || this.hasActions) && (h$1("div", { key: 'ef81eaf952fbe569be7e1d3ee6cb59de0e137fe4', class: "datepicker-controls" }, this.hasShortcuts && this.renderShortcuts(), this.hasActions && this.renderActions())))), h$1("slot", { key: 'e1281217950b5cb02952a69b081d4fcce5863b4d' })));
8598
8544
  }
8599
8545
  get el() { return this; }
8600
8546
  static get watchers() { return {
@@ -8648,7 +8594,7 @@ function defineCustomElement$E() {
8648
8594
  break;
8649
8595
  case "nv-icon":
8650
8596
  if (!customElements.get(tagName)) {
8651
- defineCustomElement$S();
8597
+ defineCustomElement$R();
8652
8598
  }
8653
8599
  break;
8654
8600
  case "nv-iconbutton":
@@ -8694,7 +8640,7 @@ const NvCol$1 = /*@__PURE__*/ proxyCustomElement(class NvCol extends H {
8694
8640
  /****************************************************************************/
8695
8641
  //#region RENDER
8696
8642
  render() {
8697
- return (h$1(Host$1, { key: 'f9a8dd28d7675648ecb3b9cf4d1e196040f4237f', class: clsx(this.getColSize()) }, h$1("slot", { key: '94c16b6e2df73cb21263423d378ab5fe285a7859' })));
8643
+ return (h$1(Host$1, { key: '8f7112dc8ce8896d9e7265741f06b7449dd508df', class: clsx(this.getColSize()) }, h$1("slot", { key: '3bedff11752d04db2615a5f26d4d910d95dee76c' })));
8698
8644
  }
8699
8645
  static get style() { return NvColStyle0; }
8700
8646
  }, [4, "nv-col", {
@@ -11834,6 +11780,22 @@ function getCoreRowModel() {
11834
11780
  return rowModel;
11835
11781
  }, getMemoOptions(table.options, 'debugTable', 'getRowModel', () => table._autoResetPageIndex()));
11836
11782
  }
11783
+ function expandRows(rowModel) {
11784
+ const expandedRows = [];
11785
+ const handleRow = row => {
11786
+ var _row$subRows;
11787
+ expandedRows.push(row);
11788
+ if ((_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
11789
+ row.subRows.forEach(handleRow);
11790
+ }
11791
+ };
11792
+ rowModel.rows.forEach(handleRow);
11793
+ return {
11794
+ rows: expandedRows,
11795
+ flatRows: rowModel.flatRows,
11796
+ rowsById: rowModel.rowsById
11797
+ };
11798
+ }
11837
11799
 
11838
11800
  function filterRows(rows, filterRowImpl, table) {
11839
11801
  if (table.options.filterFromLeafRows) {
@@ -12021,6 +11983,49 @@ function getFilteredRowModel() {
12021
11983
  }, getMemoOptions(table.options, 'debugTable', 'getFilteredRowModel', () => table._autoResetPageIndex()));
12022
11984
  }
12023
11985
 
11986
+ function getPaginationRowModel(opts) {
11987
+ return table => memo(() => [table.getState().pagination, table.getPrePaginationRowModel(), table.options.paginateExpandedRows ? undefined : table.getState().expanded], (pagination, rowModel) => {
11988
+ if (!rowModel.rows.length) {
11989
+ return rowModel;
11990
+ }
11991
+ const {
11992
+ pageSize,
11993
+ pageIndex
11994
+ } = pagination;
11995
+ let {
11996
+ rows,
11997
+ flatRows,
11998
+ rowsById
11999
+ } = rowModel;
12000
+ const pageStart = pageSize * pageIndex;
12001
+ const pageEnd = pageStart + pageSize;
12002
+ rows = rows.slice(pageStart, pageEnd);
12003
+ let paginatedRowModel;
12004
+ if (!table.options.paginateExpandedRows) {
12005
+ paginatedRowModel = expandRows({
12006
+ rows,
12007
+ flatRows,
12008
+ rowsById
12009
+ });
12010
+ } else {
12011
+ paginatedRowModel = {
12012
+ rows,
12013
+ flatRows,
12014
+ rowsById
12015
+ };
12016
+ }
12017
+ paginatedRowModel.flatRows = [];
12018
+ const handleRow = row => {
12019
+ paginatedRowModel.flatRows.push(row);
12020
+ if (row.subRows.length) {
12021
+ row.subRows.forEach(handleRow);
12022
+ }
12023
+ };
12024
+ paginatedRowModel.rows.forEach(handleRow);
12025
+ return paginatedRowModel;
12026
+ }, getMemoOptions(table.options, 'debugTable'));
12027
+ }
12028
+
12024
12029
  /* eslint-disable @typescript-eslint/no-explicit-any */
12025
12030
  /**
12026
12031
  * Debounce function to prevent multiple calls in a short
@@ -12051,12 +12056,15 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12051
12056
  this.action = createEvent$1(this, "action");
12052
12057
  this.templateCache = new Map();
12053
12058
  this.headerTemplateCache = new Map();
12059
+ this.minPageIndex = 1;
12054
12060
  /****************************************************************************/
12055
12061
  //#region STATES
12056
12062
  this.table = null;
12057
12063
  this.parsedColumns = []; // Parsed array
12058
12064
  this.parsedData = []; // Parsed array
12059
- this.globalFilter = '';
12065
+ this.globalFilterSearchTerm = '';
12066
+ this.columnData = [];
12067
+ this.paginationState = null;
12060
12068
  //#endregion STATES
12061
12069
  /****************************************************************************/
12062
12070
  //#region PROPERTIES
@@ -12106,8 +12114,24 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12106
12114
  * @default false
12107
12115
  */
12108
12116
  this.autoGenerateColumns = false;
12117
+ /**
12118
+ * Whether to enable pagination for the data grid.
12119
+ * @default false
12120
+ */
12121
+ this.enablePagination = false;
12122
+ /**
12123
+ * The number of rows to display per page.
12124
+ * @default 10
12125
+ */
12126
+ this.pageSize = 10;
12127
+ /**
12128
+ * The array of page sizes to display in the pagination dropdown.
12129
+ * @default [10, 20, 30, 40, 50]
12130
+ */
12131
+ this.pageSizes = [10, 20, 30, 40, 50];
12109
12132
  this.debouncedFilter = debounce((value) => {
12110
- this.globalFilter = value;
12133
+ var _a;
12134
+ (_a = this.table) === null || _a === void 0 ? void 0 : _a.setGlobalFilter(value);
12111
12135
  }, 300);
12112
12136
  /**
12113
12137
  * Handles global filtering on input event for the search input.
@@ -12123,6 +12147,23 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12123
12147
  this.debouncedFilter(value);
12124
12148
  }
12125
12149
  };
12150
+ this.flexRender = (comp, props) => {
12151
+ if (typeof comp === 'function') {
12152
+ return comp(props);
12153
+ }
12154
+ return comp;
12155
+ };
12156
+ this.handlePageIndexChange = (event) => {
12157
+ const target = event.target;
12158
+ const page = target.value ? Number(target.value) - 1 : 0;
12159
+ // Simply use `setPageIndex` to update the page index directly
12160
+ this.paginationState = Object.assign(Object.assign({}, this.paginationState), { pageIndex: page }); // This triggers the paginationState watcher
12161
+ };
12162
+ this.handlePageSizeChange = (event) => {
12163
+ const target = event.target;
12164
+ // Simply use `setPageSize` to update the page size directly
12165
+ this.paginationState = Object.assign(Object.assign({}, this.paginationState), { pageSize: Number(target.value) }); // This triggers the paginationState watcher
12166
+ };
12126
12167
  }
12127
12168
  //#endregion PROPERTIES
12128
12169
  /****************************************************************************/
@@ -12132,6 +12173,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12132
12173
  */
12133
12174
  cacheTemplates() {
12134
12175
  const columns = Array.from(this.el.querySelectorAll('nv-datagridcolumn'));
12176
+ this.columnData = [];
12135
12177
  columns.forEach((col) => {
12136
12178
  const key = col.accessor;
12137
12179
  const cellSlot = col.querySelector('[slot="cell"]');
@@ -12152,6 +12194,12 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12152
12194
  this.headerTemplateCache.set(key, headerDiv);
12153
12195
  }
12154
12196
  }
12197
+ const colData = {
12198
+ header: col.header,
12199
+ accessor: col.accessor,
12200
+ repeatTemplate: col.hasAttribute('repeat-template'),
12201
+ };
12202
+ this.columnData.push(colData);
12155
12203
  });
12156
12204
  }
12157
12205
  parseDataAndColumns() {
@@ -12217,6 +12265,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12217
12265
  this.parsedColumns = safeNewValue;
12218
12266
  }
12219
12267
  initializeTable() {
12268
+ var _a, _b, _c, _d;
12220
12269
  // Clear the previous table instance (if any)
12221
12270
  this.table = null;
12222
12271
  // Set default options for the table
@@ -12250,26 +12299,9 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12250
12299
  }, // Default: no column sizing info
12251
12300
  },
12252
12301
  };
12253
- if (this.enableGlobalFilter) {
12254
- tableOptions.getFilteredRowModel = getFilteredRowModel();
12255
- // Set the initial global filter value
12256
- tableOptions.state.globalFilter = this.globalFilter;
12257
- // Define the callback for global filter changes
12258
- tableOptions.onGlobalFilterChange = value => {
12259
- this.globalFilter = value;
12260
- };
12261
- tableOptions.globalFilterFn = (row, columnId, filterValue) => {
12262
- const response = row
12263
- .getValue(columnId)
12264
- .toString()
12265
- .toLowerCase()
12266
- .includes(filterValue.toLowerCase());
12267
- return response;
12268
- };
12269
- }
12270
12302
  if (this.parsedColumns.length > 0) {
12271
12303
  // Validate and generate column definitions
12272
- const validColumns = this.parsedColumns.filter(column => (column === null || column === void 0 ? void 0 : column.accessor) && (column === null || column === void 0 ? void 0 : column.header));
12304
+ const validColumns = this.parsedColumns.filter(column => column === null || column === void 0 ? void 0 : column.accessor);
12273
12305
  // Update tableOptions based on parsed data and columns
12274
12306
  const hasColumns = validColumns && Array.isArray(validColumns) && validColumns.length > 0;
12275
12307
  const hasData = this.parsedData &&
@@ -12277,22 +12309,22 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12277
12309
  this.parsedData.length > 0;
12278
12310
  if (!hasColumns && !hasData) ;
12279
12311
  else if (hasColumns && !hasData) {
12312
+ // Has columns but no data
12280
12313
  tableOptions.columns = this.generateColumns(validColumns, tableOptions);
12281
12314
  }
12282
12315
  else {
12283
12316
  // Both columns and data are available
12284
- // No columns and data is available
12285
12317
  tableOptions.data = this.getTableData();
12286
12318
  tableOptions.columns = this.generateColumns(validColumns, tableOptions);
12287
12319
  }
12288
12320
  }
12289
12321
  else {
12290
- // No columns and data is available
12322
+ // No parsed columns and data is available
12291
12323
  const hasData = this.parsedData &&
12292
12324
  Array.isArray(this.parsedData) &&
12293
12325
  this.parsedData.length > 0;
12294
12326
  if (hasData) {
12295
- // No columns and data is available
12327
+ // No parsed columns and data is available
12296
12328
  const firstRow = this.parsedData[0];
12297
12329
  const arrayColumnsConfig = Object.keys(firstRow).map(key => ({
12298
12330
  accessor: key,
@@ -12305,26 +12337,116 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12305
12337
  tableOptions.columns = this.generateColumns(arrayColumnsConfig, tableOptions);
12306
12338
  }
12307
12339
  }
12340
+ if (this.enableGlobalFilter) {
12341
+ tableOptions.getFilteredRowModel = getFilteredRowModel();
12342
+ const globalFilter = this.globalFilterSearchTerm;
12343
+ // Set the initial global filter value
12344
+ tableOptions.state.globalFilter = globalFilter;
12345
+ // Define the callback for global filter changes
12346
+ tableOptions.onGlobalFilterChange = updater => {
12347
+ const newFilter = typeof updater === 'function'
12348
+ ? updater(this.globalFilterSearchTerm)
12349
+ : updater;
12350
+ this.globalFilterSearchTerm = newFilter; // Will automatically trigger the searchTerm watcher and update the table
12351
+ };
12352
+ tableOptions.globalFilterFn = this.globalFilterFn;
12353
+ }
12354
+ if (this.enablePagination) {
12355
+ tableOptions.getPaginationRowModel = getPaginationRowModel();
12356
+ const pagination = {
12357
+ pageIndex: (_b = (_a = this.paginationState) === null || _a === void 0 ? void 0 : _a.pageIndex) !== null && _b !== void 0 ? _b : 0,
12358
+ pageSize: (_d = (_c = this.paginationState) === null || _c === void 0 ? void 0 : _c.pageSize) !== null && _d !== void 0 ? _d : 10,
12359
+ };
12360
+ // Set the initial pagination value with safeguards
12361
+ tableOptions.state.pagination = pagination;
12362
+ tableOptions.onPaginationChange = updater => {
12363
+ const newPagination = typeof updater === 'function'
12364
+ ? updater(this.paginationState)
12365
+ : updater;
12366
+ this.paginationState = newPagination;
12367
+ };
12368
+ }
12308
12369
  // Initialize the table
12309
12370
  this.table = createTable(tableOptions);
12310
12371
  }
12372
+ /**
12373
+ * Global filter function for the table.
12374
+ * This function checks if the specified filter value is present in any of the row's original values,
12375
+ * including nested objects and arrays. It is used to filter the rows based on the global filter value,
12376
+ * allowing for case-insensitive matching.
12377
+ *
12378
+ * @param {Row<any>} row - The row object containing the data to be filtered.
12379
+ * @param {string} _columnId - The ID of the column being filtered (not used in this function).
12380
+ * @param {string} filterValue - The value to filter the rows by. This value is checked against the row's data.
12381
+ * @returns {boolean} - Returns true if the row should be included in the filtered results, false otherwise.
12382
+ * If the filter value is empty, all rows are included.
12383
+ */
12384
+ globalFilterFn(row, _columnId, filterValue) {
12385
+ const safeFilterValue = String(filterValue).toLowerCase().trim();
12386
+ // If no filter value, return true for all rows
12387
+ if (!safeFilterValue)
12388
+ return true;
12389
+ // More robust filtering across all columns
12390
+ const checkValue = (value) => {
12391
+ if (typeof value === 'object' && value !== null) {
12392
+ // If it's an array, check each item
12393
+ if (Array.isArray(value)) {
12394
+ return value.some(item => checkValue(item));
12395
+ }
12396
+ // If it's an object, check each property
12397
+ return Object.values(value).some(val => checkValue(val));
12398
+ }
12399
+ return String(value).toLowerCase().includes(safeFilterValue);
12400
+ };
12401
+ return checkValue(row.original);
12402
+ }
12311
12403
  // Helper function to generate column definitions
12312
12404
  generateColumns(validColumns, tableOptions) {
12313
12405
  const columnHelper = createColumnHelper();
12314
12406
  if (validColumns.length > 0) {
12315
12407
  // Use defined columns
12316
- return validColumns.map(column => columnHelper.accessor(column.accessor, {
12317
- header: column.header,
12318
- cell: info => info.getValue(),
12319
- enableGlobalFilter: this.enableGlobalFilter,
12320
- }));
12408
+ return validColumns.map(column => {
12409
+ var _a, _b;
12410
+ return columnHelper.accessor(column.accessor, {
12411
+ header: (_b = (this.renderTemplate(this.headerTemplateCache.get(column.accessor), (_a = column.header) !== null && _a !== void 0 ? _a : column.accessor, null) ||
12412
+ column.header)) !== null && _b !== void 0 ? _b : column.accessor,
12413
+ cell: (info) => {
12414
+ var _a, _b, _c;
12415
+ const value = info.getValue();
12416
+ const cellAccessors = column.accessor;
12417
+ const row = info.row;
12418
+ return ((_a = this.columnData.find(x => x.accessor === cellAccessors)) === null || _a === void 0 ? void 0 : _a.repeatTemplate) && Array.isArray(value)
12419
+ ? value.map((item) => {
12420
+ var _a, _b;
12421
+ return (_b = (_a = (this.renderTemplate(this.templateCache.get(cellAccessors), item, row) ||
12422
+ item)) !== null && _a !== void 0 ? _a : value) !== null && _b !== void 0 ? _b : this.fallbackValue;
12423
+ })
12424
+ : (_c = (_b = (this.renderTemplate(this.templateCache.get(cellAccessors), value, row) ||
12425
+ value)) !== null && _b !== void 0 ? _b : value) !== null && _c !== void 0 ? _c : this.fallbackValue;
12426
+ },
12427
+ enableGlobalFilter: this.enableGlobalFilter,
12428
+ });
12429
+ });
12321
12430
  }
12322
12431
  else if (tableOptions.data && tableOptions.data.length > 0) {
12323
12432
  // Generate columns from data keys
12324
12433
  const sampleRow = tableOptions.data[0];
12325
12434
  return Object.keys(sampleRow).map(key => columnHelper.accessor(key, {
12326
- header: key.charAt(0).toUpperCase() + key.slice(1), // Capitalize key for header
12327
- cell: info => info.getValue(),
12435
+ header: this.renderTemplate(this.headerTemplateCache.get(key), key.charAt(0).toUpperCase() + key.slice(1), null) || key.charAt(0).toUpperCase() + key.slice(1), // Capitalize key for header
12436
+ cell: (info) => {
12437
+ var _a, _b, _c;
12438
+ const value = info.getValue();
12439
+ const cellAccessors = key;
12440
+ const row = info.row;
12441
+ return ((_a = this.columnData.find(x => x.accessor === cellAccessors)) === null || _a === void 0 ? void 0 : _a.repeatTemplate) && Array.isArray(value)
12442
+ ? value.map((item) => {
12443
+ var _a, _b;
12444
+ return (_b = (_a = (this.renderTemplate(this.templateCache.get(cellAccessors), item, row) ||
12445
+ item)) !== null && _a !== void 0 ? _a : value) !== null && _b !== void 0 ? _b : this.fallbackValue;
12446
+ })
12447
+ : (_c = (_b = (this.renderTemplate(this.templateCache.get(cellAccessors), value, row) ||
12448
+ value)) !== null && _b !== void 0 ? _b : value) !== null && _c !== void 0 ? _c : this.fallbackValue;
12449
+ },
12328
12450
  enableGlobalFilter: this.enableGlobalFilter,
12329
12451
  }));
12330
12452
  }
@@ -12353,11 +12475,11 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12353
12475
  // Replace placeholders in text content, attributes, and properties
12354
12476
  element.querySelectorAll('*').forEach(el => {
12355
12477
  // Replace placeholders in text content
12356
- this.replacePlaceholdersTextContent(el, cellValue);
12478
+ this.replacePlaceholdersTextContent(el, cellValue, row);
12357
12479
  // Replace placeholders in attributes
12358
- this.replacePlaceholdersAttributes(el, cellValue);
12480
+ this.replacePlaceholdersAttributes(el, cellValue, row);
12359
12481
  // Replace placeholders in properties
12360
- this.replacePlaceholdersProperties(el, cellValue);
12482
+ this.replacePlaceholdersProperties(el, cellValue, row);
12361
12483
  });
12362
12484
  // Handle `data-bind-event`
12363
12485
  element.querySelectorAll('[data-bind-event]').forEach(el => {
@@ -12433,56 +12555,151 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12433
12555
  }
12434
12556
  }
12435
12557
  // Handle single-level key lookup
12436
- return key in cellValue ? String(cellValue[key]) : this.fallbackValue;
12558
+ if (key in cellValue) {
12559
+ return String(cellValue[key]);
12560
+ }
12561
+ else if (Array.isArray(cellValue)) {
12562
+ // Handle array of objects
12563
+ const response = cellValue.map((item) => {
12564
+ if (typeof item !== 'object') {
12565
+ return item.toString();
12566
+ }
12567
+ else if (key in item) {
12568
+ return item[key];
12569
+ }
12570
+ else {
12571
+ return item.toString();
12572
+ }
12573
+ });
12574
+ return response.join(', ');
12575
+ }
12576
+ return this.fallbackValue;
12437
12577
  }
12438
12578
  // If cellValue is a primitive (string, number, boolean, etc.), return it as a string
12439
12579
  return (_a = cellValue === null || cellValue === void 0 ? void 0 : cellValue.toString()) !== null && _a !== void 0 ? _a : this.fallbackValue;
12440
12580
  }
12441
- replacePlaceholdersTextContent(element, cellValue) {
12442
- // Replace placeholders in text content
12443
- element.childNodes.forEach(node => {
12444
- if (node.nodeType === Node.TEXT_NODE) {
12445
- node.textContent = node.textContent.replace(/__([\w.]+)__/g, (_, key) => this.replaceKeyWithValue(key, cellValue));
12446
- }
12447
- });
12448
- }
12449
- replacePlaceholdersAttributes(element, cellValue) {
12450
- // Replace placeholders in attributes
12451
- Array.from(element.attributes).forEach(attr => {
12452
- if (attr.value.includes('__')) {
12453
- attr.value = attr.value.replace(/__([\w.]+)__/g, (_, key) => this.replaceKeyWithValue(key, cellValue));
12454
- }
12455
- });
12581
+ replacePlaceholdersTextContent(element, cellValue, row) {
12582
+ if (!cellValue) {
12583
+ // Replace placeholders in text content with the row original value
12584
+ // but first get the original value
12585
+ const originalValue = row.original;
12586
+ element.childNodes.forEach(node => {
12587
+ if (node.nodeType === Node.TEXT_NODE) {
12588
+ node.textContent = node.textContent.replace(/__([\w.]+)__/g, (_, key) => {
12589
+ if (key in originalValue) {
12590
+ return this.replaceKeyWithValue(key, originalValue[key]);
12591
+ }
12592
+ else {
12593
+ console.warn(`Key ${key} not found in originalValue`);
12594
+ return '';
12595
+ }
12596
+ });
12597
+ }
12598
+ });
12599
+ }
12600
+ else {
12601
+ // ✅ Replace placeholders in text content
12602
+ element.childNodes.forEach(node => {
12603
+ if (node.nodeType === Node.TEXT_NODE) {
12604
+ node.textContent = node.textContent.replace(/__([\w.]+)__/g, (_, key) => this.replaceKeyWithValue(key, cellValue));
12605
+ }
12606
+ });
12607
+ }
12456
12608
  }
12457
- replacePlaceholdersProperties(element, cellValue) {
12458
- // Dynamically extract relevant properties
12459
- const properties = new Set();
12460
- // Collect only own enumerable properties
12461
- Object.keys(element).forEach(key => properties.add(key));
12462
- // Collect inherited properties from prototypes (HTMLElement -> Element -> Node)
12463
- let proto = Object.getPrototypeOf(element);
12464
- while (proto && proto !== H.prototype) {
12465
- Object.keys(proto).forEach(key => properties.add(key));
12466
- proto = Object.getPrototypeOf(proto);
12609
+ replacePlaceholdersAttributes(element, cellValue, row) {
12610
+ if (!cellValue) {
12611
+ // Replace placeholders in attributes with the row original value
12612
+ // but first get the original value
12613
+ const originalValue = row.original;
12614
+ Array.from(element.attributes).forEach(attr => {
12615
+ if (attr.value.includes('__')) {
12616
+ attr.value = attr.value.replace(/__([\w.]+)__/g, (_, key) => {
12617
+ if (key in originalValue) {
12618
+ return this.replaceKeyWithValue(key, originalValue[key]);
12619
+ }
12620
+ else {
12621
+ console.warn(`Key ${key} not found in originalValue`);
12622
+ return '';
12623
+ }
12624
+ });
12625
+ }
12626
+ });
12467
12627
  }
12468
- // ✅ Filter and copy only non-function properties and exclude irrelevant ones
12469
- properties.forEach(prop => {
12470
- if (typeof element[prop] !== 'function' && // Ignore methods
12471
- !prop.startsWith('on') && // Ignore event listeners (onclick, oninput, etc.)
12472
- !excludedProps.has(prop) // 🚨 Prevent text duplication and irrelevant props
12473
- ) {
12474
- try {
12628
+ else {
12629
+ // Replace placeholders in attributes
12630
+ Array.from(element.attributes).forEach(attr => {
12631
+ if (attr.value.includes('__')) {
12632
+ attr.value = attr.value.replace(/__([\w.]+)__/g, (_, key) => this.replaceKeyWithValue(key, cellValue));
12633
+ }
12634
+ });
12635
+ }
12636
+ }
12637
+ replacePlaceholdersProperties(element, cellValue, row) {
12638
+ if (!cellValue) {
12639
+ // ✅ Replace placeholders in properties with the row original value
12640
+ // but first get the original value
12641
+ const originalValue = row.original;
12642
+ // ✅ Dynamically extract relevant properties
12643
+ const properties = new Set();
12644
+ // Collect only own enumerable properties
12645
+ Object.keys(originalValue).forEach(key => properties.add(key));
12646
+ // Collect inherited properties from prototypes (HTMLElement -> Element -> Node)
12647
+ let proto = Object.getPrototypeOf(originalValue);
12648
+ while (proto && proto !== H.prototype) {
12649
+ Object.keys(proto).forEach(key => properties.add(key));
12650
+ proto = Object.getPrototypeOf(proto);
12651
+ }
12652
+ // ✅ Filter and copy only non-function properties and exclude irrelevant ones
12653
+ properties.forEach(prop => {
12654
+ if (typeof element[prop] !== 'function' && // Ignore methods
12655
+ !prop.startsWith('on') && // Ignore event listeners (onclick, oninput, etc.)
12656
+ !excludedProps.has(prop) // 🚨 Prevent text duplication and irrelevant props
12657
+ ) {
12475
12658
  const propValue = element[prop];
12476
- // ✅ Replace placeholders only if the value is a string
12477
12659
  if (typeof propValue === 'string' && propValue.includes('__')) {
12478
- element[prop] = propValue.replace(/__([\w.]+)__/g, (_, key) => this.replaceKeyWithValue(key, cellValue)); // ✅ TypeScript safe
12660
+ element[prop] = propValue.replace(/__([\w.]+)__/g, (_, key) => {
12661
+ if (key in originalValue) {
12662
+ return this.replaceKeyWithValue(key, originalValue[key]);
12663
+ }
12664
+ else {
12665
+ console.warn(`Key ${key} not found in originalValue`);
12666
+ return '';
12667
+ }
12668
+ });
12479
12669
  }
12480
12670
  }
12481
- catch (error) {
12482
- console.warn(`Could not assign property ${prop}:`, error.message);
12671
+ });
12672
+ }
12673
+ else {
12674
+ // ✅ Dynamically extract relevant properties
12675
+ const properties = new Set();
12676
+ // Collect only own enumerable properties
12677
+ Object.keys(element).forEach(key => properties.add(key));
12678
+ // Collect inherited properties from prototypes (HTMLElement -> Element -> Node)
12679
+ let proto = Object.getPrototypeOf(element);
12680
+ while (proto && proto !== H.prototype) {
12681
+ Object.keys(proto).forEach(key => properties.add(key));
12682
+ proto = Object.getPrototypeOf(proto);
12683
+ }
12684
+ // ✅ Filter and copy only non-function properties and exclude irrelevant ones
12685
+ properties.forEach(prop => {
12686
+ if (typeof element[prop] !== 'function' && // Ignore methods
12687
+ !prop.startsWith('on') && // Ignore event listeners (onclick, oninput, etc.)
12688
+ !excludedProps.has(prop) // 🚨 Prevent text duplication and irrelevant props
12689
+ ) {
12690
+ try {
12691
+ const propValue = element[prop];
12692
+ // ✅ Replace placeholders only if the value is a string
12693
+ if (typeof propValue === 'string' && propValue.includes('__')) {
12694
+ element[prop] = propValue.replace(/__([\w.]+)__/g, (_, key) => this.replaceKeyWithValue(key, cellValue)); // ✅ TypeScript safe
12695
+ }
12696
+ }
12697
+ catch (error) {
12698
+ console.warn(`Could not assign property ${prop}:`, error.message);
12699
+ }
12483
12700
  }
12484
- }
12485
- });
12701
+ });
12702
+ }
12486
12703
  }
12487
12704
  //#endregion METHODS
12488
12705
  /****************************************************************************/
@@ -12516,14 +12733,30 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12516
12733
  handleParsedChange() {
12517
12734
  this.initializeTable();
12518
12735
  }
12519
- handleGlobalFilter(newValue) {
12736
+ handleGlobalFilterSearchTerm(newValue) {
12520
12737
  if (!this.table) {
12521
12738
  console.warn('Table is not initialized yet.');
12522
12739
  return;
12523
12740
  }
12524
- // 🚨 Manually update state before calling filter
12525
- this.table.options.state = Object.assign(Object.assign({}, this.table.options.state), { globalFilter: newValue });
12526
- this.table.setGlobalFilter(newValue);
12741
+ // Not working
12742
+ /*// Set the global filter for the table
12743
+ this.table.setGlobalFilter(newValue);*/
12744
+ // Manually update the globalFilter state
12745
+ this.table.options.state.globalFilter = newValue;
12746
+ }
12747
+ handlePaginationState(newValue, oldValue) {
12748
+ if (!this.table) {
12749
+ console.warn('Table is not initialized yet.');
12750
+ return;
12751
+ }
12752
+ // Only update if there is a meaningful change
12753
+ if (JSON.stringify(newValue) !== JSON.stringify(oldValue)) {
12754
+ // Not working
12755
+ /*// Set the pagination for the table
12756
+ this.table.setPagination(newValue);*/
12757
+ // Manually update the pagination state
12758
+ this.table.options.state.pagination = newValue;
12759
+ }
12527
12760
  }
12528
12761
  //#endregion WATCHERS
12529
12762
  /****************************************************************************/
@@ -12532,34 +12765,39 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12532
12765
  this.cacheTemplates();
12533
12766
  this.parseDataAndColumns();
12534
12767
  this.initializeTable();
12768
+ if (this.enablePagination) {
12769
+ // Ensure a valid page size
12770
+ const effectivePageSize = this.pageSize > 0 ? this.pageSize : 10;
12771
+ this.paginationState = {
12772
+ pageIndex: Math.max(0, this.minPageIndex - 1),
12773
+ pageSize: effectivePageSize,
12774
+ };
12775
+ }
12535
12776
  }
12536
12777
  //#endregion EVENTS
12537
12778
  /****************************************************************************/
12538
12779
  //#region RENDER
12539
12780
  render() {
12540
- var _a, _b, _c, _d;
12781
+ var _a, _b, _c, _d, _e;
12541
12782
  const headerGroups = !this.table || this.table === undefined || this.parsedColumns.length === 0
12542
12783
  ? []
12543
12784
  : (_a = this.table) === null || _a === void 0 ? void 0 : _a.getHeaderGroups();
12544
12785
  const rows = !this.table || this.table === undefined || this.parsedData.length === 0
12545
12786
  ? []
12546
12787
  : (_c = (_b = this.table) === null || _b === void 0 ? void 0 : _b.getRowModel()) === null || _c === void 0 ? void 0 : _c.rows;
12547
- return (h$1(Host$1, { key: '6768db58f6a19cbb64e2206957ca27c18c408e46' }, h$1("div", { key: 'e262922097ae61025e13f8fe685ed7b38063e82c', class: "hidden" }, h$1("slot", { key: '9025f410bc3e6b409d6225a53a97d13aa3629200' })), h$1("slot", { key: '684876205d7092a4edf325c8897e97a491b77c6a', name: "before" }), this.enableGlobalFilter && this.table && (h$1("div", { key: 'b2fe6dd4a97d978617d404134286e6048eb8ddc2', class: "search-container" }, h$1("input", { key: '82c5d3b73b0bff0c2415ad896a6a4504bb1bb92c', type: "text", value: (_d = this.globalFilter) !== null && _d !== void 0 ? _d : '', onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns...", class: "search-input", "aria-label": "Search all columns" }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (h$1("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (h$1("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (h$1("thead", null, this.parsedColumns.length > 0 && headerGroups
12788
+ return (h$1(Host$1, { key: 'b3886397a5e6694611636d4da7d61ae5ccbe1903' }, h$1("div", { key: '8fa71d83f4cfa79cf7fb334bcf6115e4cf253c5d', class: "hidden" }, h$1("slot", { key: '9aad5956b5973cafc486f3a854a66ae86038ef4a' })), h$1("slot", { key: '7a1ca93223567faffabb3473df2176cd02654247', name: "before" }), this.enableGlobalFilter && this.table && (h$1("div", { key: '0020880c229d8ed9070c15182191e86b8b3fed1d', class: "search-container" }, h$1("input", { key: 'cefc47330a7d770c3668d1406930b9ac50992a10', type: "text", value: (_d = this.globalFilterSearchTerm) !== null && _d !== void 0 ? _d : '', onInput: this.handleGlobalFilteringOnInput, placeholder: "Search all columns...", class: "search-input", "aria-label": "Search all columns" }))), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (h$1("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (h$1("div", null, h$1("table", null, this.parsedColumns.length > 0 && headerGroups.length > 0 && (h$1("thead", null, this.parsedColumns.length > 0 && headerGroups
12548
12789
  ? headerGroups === null || headerGroups === void 0 ? void 0 : headerGroups.map(headerGroup => (h$1("tr", { key: headerGroup.id }, headerGroup.headers.map(header => {
12549
12790
  return (h$1("th", { key: header.id }, header.isPlaceholder
12550
12791
  ? null
12551
- : this.renderTemplate(this.headerTemplateCache.get(header.id), {}) || header.column.columnDef.header));
12792
+ : this.flexRender(header.column.columnDef.header, header.getContext())));
12552
12793
  }))))
12553
12794
  : null)), h$1("tbody", null, !rows || rows.length === 0 || this.parsedData.length === 0 ? (h$1("tr", null, h$1("td", { colSpan: this.parsedColumns.length || 12, class: "no-data" }, this.noDataMessage))) : (rows.map(row => {
12554
12795
  const rowId = row.id;
12555
12796
  const visibleCells = row === null || row === void 0 ? void 0 : row.getVisibleCells();
12556
12797
  return (h$1("tr", { key: rowId }, visibleCells.map(cell => {
12557
- const cellAccessors = cell.column.id;
12558
- const cellValue = cell.getValue();
12559
- return (h$1("td", { key: cell.id, "data-row-id": rowId }, this.renderTemplate(this.templateCache.get(cellAccessors), cellValue, row) ||
12560
- (cellValue !== null && cellValue !== void 0 ? cellValue : this.fallbackValue)));
12798
+ return (h$1("td", { key: cell.id, "data-row-id": rowId }, this.flexRender(cell.column.columnDef.cell, cell.getContext())));
12561
12799
  })));
12562
- }))))), h$1("slot", { key: '4bda5737d7917a508b97cf38b764000f8c5d368d', name: "after" })));
12800
+ })))), this.enablePagination && (h$1("div", { class: "flex items-center gap-2" }, h$1("button", { class: "border rounded p-1", disabled: !this.table.getCanPreviousPage(), onClick: this.table.firstPage }, "<<"), h$1("button", { class: "border rounded p-1", disabled: !this.table.getCanPreviousPage(), onClick: this.table.previousPage }, "<"), h$1("button", { class: "border rounded p-1", disabled: !this.table.getCanNextPage(), onClick: this.table.nextPage }, ">"), h$1("button", { class: "border rounded p-1", disabled: !this.table.getCanNextPage(), onClick: this.table.lastPage }, ">>"), h$1("span", { class: "flex items-center gap-1" }, h$1("div", null, "Page"), h$1("strong", null, this.table.getState().pagination.pageIndex + 1, " of", ' ', this.table.getPageCount().toLocaleString())), h$1("span", { class: "flex items-center gap-1" }, "| Go to page:", ' ', h$1("input", { type: "number", min: this.minPageIndex, max: this.table.getPageCount(), value: this.table.getState().pagination.pageIndex + 1, class: "border p-1 rounded w-16", "aria-label": "Go to page", onInput: this.handlePageIndexChange })), (_e = this.pageSizes) !== null && _e !== void 0 ? _e : (h$1("select", { "aria-label": "Rows per page", onChange: this.handlePageSizeChange }, this.pageSizes.map(pageSize => (h$1("option", { value: String(pageSize), selected: this.table.getState().pagination.pageSize === pageSize }, "Show ", pageSize))))))))), h$1("slot", { key: '2030fdc2b38a293e749f2ffd4645987e834fee76', name: "after" })));
12563
12801
  }
12564
12802
  get el() { return this; }
12565
12803
  static get watchers() { return {
@@ -12569,7 +12807,8 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12569
12807
  "dataJson": ["parseJsonData"],
12570
12808
  "parsedColumns": ["handleParsedChange"],
12571
12809
  "parsedData": ["handleParsedChange"],
12572
- "globalFilter": ["handleGlobalFilter"]
12810
+ "globalFilterSearchTerm": ["handleGlobalFilterSearchTerm"],
12811
+ "paginationState": ["handlePaginationState"]
12573
12812
  }; }
12574
12813
  static get style() { return NvDatagridStyle0; }
12575
12814
  }, [4, "nv-datagrid", {
@@ -12582,10 +12821,15 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12582
12821
  "noColumnsNoDataMessage": [513, "no-columns-no-data-message"],
12583
12822
  "enableGlobalFilter": [516, "enable-global-filter"],
12584
12823
  "autoGenerateColumns": [516, "auto-generate-columns"],
12824
+ "enablePagination": [516, "enable-pagination"],
12825
+ "pageSize": [514, "page-size"],
12826
+ "pageSizes": [16],
12585
12827
  "table": [32],
12586
12828
  "parsedColumns": [32],
12587
12829
  "parsedData": [32],
12588
- "globalFilter": [32]
12830
+ "globalFilterSearchTerm": [32],
12831
+ "columnData": [32],
12832
+ "paginationState": [32]
12589
12833
  }, undefined, {
12590
12834
  "columns": ["parseColumns"],
12591
12835
  "columnsJson": ["parseJsonColumns"],
@@ -12593,7 +12837,8 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
12593
12837
  "dataJson": ["parseJsonData"],
12594
12838
  "parsedColumns": ["handleParsedChange"],
12595
12839
  "parsedData": ["handleParsedChange"],
12596
- "globalFilter": ["handleGlobalFilter"]
12840
+ "globalFilterSearchTerm": ["handleGlobalFilterSearchTerm"],
12841
+ "paginationState": ["handlePaginationState"]
12597
12842
  }]);
12598
12843
  function defineCustomElement$1$j() {
12599
12844
  if (typeof customElements === "undefined") {
@@ -12617,16 +12862,21 @@ const NvDatagridcolumn$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagridcolu
12617
12862
  constructor() {
12618
12863
  super();
12619
12864
  this.__registerHost();
12865
+ /**
12866
+ * Whether the column need to be repeated with the template.
12867
+ */
12868
+ this.repeatTemplate = false;
12620
12869
  }
12621
12870
  //#endregion PROPERTIES
12622
12871
  /****************************************************************************/
12623
12872
  //#region RENDER
12624
12873
  render() {
12625
- return (h$1(Host$1, { key: '2152d749763187f6b423094fd7f9bffeea9e5581' }, h$1("slot", { key: '101690ca4e853b28543796c5e74a38e142c38978', name: "header" }), h$1("slot", { key: '78ad0c0a78ad12418d3fcba33ae8ec476af8f6b9', name: "cell" })));
12874
+ return (h$1(Host$1, { key: '20839d4a0abfa07e55a49b434ad26e3ddaebb66b' }, h$1("slot", { key: '2c1b24aef73e9be8e500d48741e4dc6a42ed6f06', name: "header" }), h$1("slot", { key: 'cbc4bcbb080f8647c6f702e4a52411fe9be1f6ca', name: "cell" })));
12626
12875
  }
12627
12876
  }, [4, "nv-datagridcolumn", {
12628
12877
  "header": [513],
12629
- "accessor": [513]
12878
+ "accessor": [513],
12879
+ "repeatTemplate": [516, "repeat-template"]
12630
12880
  }]);
12631
12881
  function defineCustomElement$1$i() {
12632
12882
  if (typeof customElements === "undefined") {
@@ -12726,7 +12976,7 @@ const NvDialogfooter$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogfooter e
12726
12976
  /****************************************************************************/
12727
12977
  //#region RENDER
12728
12978
  render() {
12729
- return (h$1(Host$1, { key: 'eda5ae29872e57688e5557f17baa87ea6f0cab87' }, !this.hasSlot ? (h$1(Fragment$1, null, !this.undismissable && (h$1("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h$1("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h$1("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h$1("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (h$1("slot", null))));
12979
+ return (h$1(Host$1, { key: '5756a0cc697188c3fdee2930b1c6ae7922af71cc' }, !this.hasSlot ? (h$1(Fragment$1, null, !this.undismissable && (h$1("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h$1("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h$1("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h$1("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (h$1("slot", null))));
12730
12980
  }
12731
12981
  static get formAssociated() { return true; }
12732
12982
  get el() { return this; }
@@ -12760,7 +13010,7 @@ function defineCustomElement$z() {
12760
13010
  break;
12761
13011
  case "nv-icon":
12762
13012
  if (!customElements.get(tagName)) {
12763
- defineCustomElement$S();
13013
+ defineCustomElement$R();
12764
13014
  }
12765
13015
  break;
12766
13016
  case "nv-loader":
@@ -12801,7 +13051,7 @@ const NvDialogheader$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogheader e
12801
13051
  /****************************************************************************/
12802
13052
  //#region RENDER
12803
13053
  render() {
12804
- return (h$1(Host$1, { key: '539e18fe0cca582002a55fbf4a72f1dccdc09a06' }, !this.hasSlot ? (h$1(Fragment$1, null, h$1("div", { class: "heading" }, this.heading), h$1("div", { class: "subheading" }, this.subheading))) : (h$1("slot", null))));
13054
+ return (h$1(Host$1, { key: '850e2408cb7a35903be3bc51fbee000fc58f4a76' }, !this.hasSlot ? (h$1(Fragment$1, null, h$1("div", { class: "heading" }, this.heading), h$1("div", { class: "subheading" }, this.subheading))) : (h$1("slot", null))));
12805
13055
  }
12806
13056
  get el() { return this; }
12807
13057
  static get style() { return NvDialogheaderStyle0; }
@@ -13647,7 +13897,7 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
13647
13897
  //#region RENDER
13648
13898
  render() {
13649
13899
  const hasForm = this.form || this.el.querySelector('form');
13650
- return (h$1(Host$1, { key: '0d1971821d9b2246e34266f14a5ac5b821fac49f' }, h$1("slot", { key: 'a606aad42659ca51f37a06e1a423e1ecab1d11d3', name: "trigger" }), h$1("dialog", { key: '08eb4d75656c6b231bbeb5e9e9e769f923cd8827', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, h$1("div", { key: '4b0a03d468ef0a9abac1ed023ba6c98998a5166d', class: "content" }, !this.undismissable && (h$1("nv-button", { key: '3e18e13147d82594a3ce690dd34b600240bebc0a', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleCloseButton, "aria-label": "Close dialog" }, h$1("nv-icon", { key: '7e1ac2679a70e5c0c256bdbe3b6ea85ed02cb1d3', name: "x", size: "sm" }))), this.headerElement ? (h$1("slot", { name: "header" })) : (h$1("nv-dialogheader", { id: "dialog-header" })), h$1("div", { key: '440b69a2e068c233aad49876a70c03ed49a9f6ea', class: "content-body", id: "dialog-content" }, h$1("slot", { key: 'a959c6e941613e150372891a5e5ca4a5ff19f4d7' })), this.footerElement ? (h$1("slot", { name: "footer" })) : (h$1("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleCancelButton, undismissable: this.undismissable }))))));
13900
+ return (h$1(Host$1, { key: '97fcd67a39e1ade8b2c85280d98aa756e693fdaf' }, h$1("slot", { key: 'cd2126fc88215305b1229e03c70ee8efbd4bd518', name: "trigger" }), h$1("dialog", { key: 'f7d40530e0f0646e1d8c415c0ec341e959e142e6', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, h$1("div", { key: '44c81193f1946a1ae0819e96d0217bf986c6e99a', class: "content" }, !this.undismissable && (h$1("nv-button", { key: '5c2cf4e7434903f72ba814af716ce93826caaa3a', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleCloseButton, "aria-label": "Close dialog" }, h$1("nv-icon", { key: '97b57d2340aaf1cd04e49d0f4e594b2de5295809', name: "x", size: "sm" }))), this.headerElement ? (h$1("slot", { name: "header" })) : (h$1("nv-dialogheader", { id: "dialog-header" })), h$1("div", { key: '27cd8b2058505be1e0ee0e380bf44582c37c525f', class: "content-body", id: "dialog-content" }, h$1("slot", { key: 'cef88d8a7fe28518842c206761adc2fd753b2648' })), this.footerElement ? (h$1("slot", { name: "footer" })) : (h$1("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleCancelButton, undismissable: this.undismissable }))))));
13651
13901
  }
13652
13902
  get el() { return this; }
13653
13903
  static get watchers() { return {
@@ -13696,7 +13946,7 @@ function defineCustomElement$1$h() {
13696
13946
  break;
13697
13947
  case "nv-icon":
13698
13948
  if (!customElements.get(tagName)) {
13699
- defineCustomElement$S();
13949
+ defineCustomElement$R();
13700
13950
  }
13701
13951
  break;
13702
13952
  case "nv-loader":
@@ -13831,13 +14081,13 @@ const NvFieldcheckbox$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldcheckbox
13831
14081
  /****************************************************************************/
13832
14082
  //#region RENDER
13833
14083
  render() {
13834
- return (h$1(Host$1, { key: 'b116295489cba9239b5d6392c6518b0c57af5191', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("div", { key: 'b769f372a3f69899ec1cc76a4d4b2dbc7766252f', class: "input-container" }, h$1("input", { key: 'd35876f83b8a57bfd19243de1e0db8202270e3c5', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !this.required, required: this.required, indeterminate: this.indeterminate, ref: el => {
14084
+ return (h$1(Host$1, { key: '98f9dfdadab534193e7076f929c9820a231fecba', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("div", { key: '5a4d02d46b7c8c8930c24f794452180d58604ffe', class: "input-container" }, h$1("input", { key: 'f7a4002a5fb9800ed4036638773ac42c49d4ae0f', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !this.required, required: this.required, indeterminate: this.indeterminate, ref: el => {
13835
14085
  if (el) {
13836
14086
  el.indeterminate = this.indeterminate;
13837
14087
  }
13838
- } }), h$1("span", { key: '1ee167d0b2ce274d04d1e4b2be6413073b22c8c6', class: "icon" }, this.checked && !this.indeterminate && (h$1("slot", { key: 'c30cb3412f622ef77eb063818f5a3747f9d17978', name: "checked-icon" }, h$1("svg", { key: 'ae0629aac32ecd36393c2de7e492ede9d040ae78', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: '882eef5ea011863ebe1c48a0b2b08e409f248b99', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h$1("slot", { key: '5776848166e3f332eb010739fa6406fb23820f6b', name: "indeterminate-icon" }, h$1("svg", { key: '8668230cf4c31efb7c314bb32e22b3e7062184c1', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: '7b2cd078b8eabcd3c45c7dfd71754ed1f5c3a77d', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h$1("div", { key: 'ace39a1b99e5eb521b6612bd9d52d788d77815e3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '2361d3fef97b97b07c96243d56b6f3d86703347e', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: '8f49928ebf77fd0ee1eda81640a57d5d4788440b', name: "label" }, this.label))), (this.description ||
13839
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'f0555ef436450adcad6cce6037f69d40403e99d1', class: "description" }, h$1("slot", { key: 'bb18fbebf918d035f3eb42ac4d58c631d4146261', name: "description" }, this.description))), (this.errorDescription ||
13840
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '804306abacc16d0fdf79fc7826d19a3934ee1e3f', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '8288bc5c84368072278d5ad61d0b0b09f455749d', name: "error-description" }, this.errorDescription))))));
14088
+ } }), h$1("span", { key: '56a2547ecf96ef3f7f28054592471323497cb94f', class: "icon" }, this.checked && !this.indeterminate && (h$1("slot", { key: 'af4e10bd52b42850c8348e0aed8c90a7e700d64a', name: "checked-icon" }, h$1("svg", { key: '105847f526c391566cef42fa35d94fbaba0e8984', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: '41e221d5f3eab7a4cc88d4ed9454f198d69ec815', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h$1("slot", { key: '3a1f5ffdc34a1ecdc1bb7f1b5347e1f12f5f690d', name: "indeterminate-icon" }, h$1("svg", { key: '1b68c27172d5b6b9ba2419d278c0ac0299d7a4b7', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: '7b2f4e5fe1d961fad290aade639b9807446f34ba', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h$1("div", { key: 'd472d7d8901ff7de37fe370bf5d637fc8ae6069d', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'c8dbda4d6f9cb757476c9a96934599171f6ea7ae', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: '3c0ec17aeb856457b63981fd0e21ead69ca3af0f', name: "label" }, this.label))), (this.description ||
14089
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'dff6c3a69496324cabcf25ae7639c98a7d908769', class: "description" }, h$1("slot", { key: '498c8216c9a0a537f1aa2a542b3caa688b76e55d', name: "description" }, this.description))), (this.errorDescription ||
14090
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '6c584da0ad93e7f0ad62610d760c36d77b1a6fc6', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '93df382e666707cdde3133daae7aa66914215149', name: "error-description" }, this.errorDescription))))));
13841
14091
  }
13842
14092
  static get formAssociated() { return true; }
13843
14093
  get el() { return this; }
@@ -17885,12 +18135,12 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
17885
18135
  /****************************************************************************/
17886
18136
  //#region RENDER
17887
18137
  render() {
17888
- return (h$1(Host$1, { key: 'df11f4f395a48f6288b20a242cccdacc9d7b397c' }, ((this.label && this.label.length > 0) ||
17889
- this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'bebb3787dcef1ea73bada36586bdd678f0ce0556', htmlFor: this.inputId }, h$1("slot", { key: '52be6fb452bcd9471708376e708e9a8126af73c2', name: "label" }, this.label))), h$1("nv-popover", { key: '6e1cc0a602641ec43be99ca990d64f175ff7bac8', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '7cc0bcc9df49252d209caa22b61358c230d2f0dd', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '13037bdfe258561afd35c23fd1cb94ed96bbba9d', name: "before-input" }), h$1("div", { key: '5a0c1bce690feb834f6183c57772d7b2eed0a8a6', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '73842b222ba5059f1f09a4ce57b662710a1e341a', name: "leading-input" }), h$1("input", { key: '2e4de521b0d1d735fd4170eefacfe4e8f5bbcf33', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus }), h$1("nv-iconbutton", { key: 'dff7fe7f4a49a3da8ed44235ef719e726a40db87', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
18138
+ return (h$1(Host$1, { key: '817d7baa3525b53962f9afe3d1eb56d7fcbcaf0e' }, ((this.label && this.label.length > 0) ||
18139
+ this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '00faded19c22c4883b7ef4de71d90c13c287d60d', htmlFor: this.inputId }, h$1("slot", { key: '48b7e470d654b9f07c3eba400145b8936c9eb27e', name: "label" }, this.label))), h$1("nv-popover", { key: '5b8e57124c0a08097874ac9ad0280908c3f2e330', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '902097ce5a7f208ac97f72a847d68b80cd16419a', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '909ff8453e9e48516582c64dae0762987cbd5986', name: "before-input" }), h$1("div", { key: 'e62714e613e9bffc5a6a302d72cdfea75555756a', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '9d4e6bd15fe09bee974676032d4b75a73f733674', name: "leading-input" }), h$1("input", { key: '4565589e720150706096cbdeeadefb84ee836c39', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.singleValue, onInput: this.handleInput, onFocus: this.handleFocus }), h$1("nv-iconbutton", { key: '115ba5c4e9bbd502c51d04894a5cf88f98167231', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
17890
18140
  ,
17891
- size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: 'aafa39739ae3f907cef45d95094ef643833d50ad', name: "after-input" })), h$1("div", { key: '38cbef48ee7b053ad7c277e8125fcbf6d11c636c', slot: "content" }, h$1("nv-calendar", { key: 'dd5f1b3f1d7fcb17a47d90be58949fffe89e3ad4', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates }))), ((this.description && this.description.length > 0) ||
17892
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '92526d3d8ed3bce713a5b30097df182b0ea22d4f', class: "description" }, h$1("slot", { key: 'd2a3a35577c08e3dd21c1c48eb6c6e3959abb7da', name: "description" }, this.description))), (this.errorDescription ||
17893
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'd4ba884604a01e2376691d382fb530576c02f029', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: '443c990302fa9aaef0e6fe732738d4f8e4570717' })));
18141
+ size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '3df2883ebe71fa1dd437f5dc62d82019b3550b88', name: "after-input" })), h$1("div", { key: '61241669d9599d23f2cf024d8e65becdafe58847', slot: "content" }, h$1("nv-calendar", { key: 'dd3c67a46e8addbf1017eaf578447a09a3dd9e66', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates }))), ((this.description && this.description.length > 0) ||
18142
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'f835c89363c45529512e156b313cb35f71ef5264', class: "description" }, h$1("slot", { key: '738d49ee6e525310375eba5da057573104d3c2ed', name: "description" }, this.description))), (this.errorDescription ||
18143
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '7c5c07db1af3423efc9a1b1127c1b3cbdede0a28', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: 'ccfd311cbbb56b9b336317d0e543fc57676a60d3' })));
17894
18144
  }
17895
18145
  get el() { return this; }
17896
18146
  static get watchers() { return {
@@ -17950,7 +18200,7 @@ function defineCustomElement$1$g() {
17950
18200
  break;
17951
18201
  case "nv-icon":
17952
18202
  if (!customElements.get(tagName)) {
17953
- defineCustomElement$S();
18203
+ defineCustomElement$R();
17954
18204
  }
17955
18205
  break;
17956
18206
  case "nv-iconbutton":
@@ -18305,15 +18555,15 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
18305
18555
  /****************************************************************************/
18306
18556
  //#region RENDER
18307
18557
  render() {
18308
- return (h$1(Host$1, { key: '47a61852ed7771a2248727193570aa2c4654b3bc' }, ((this.label && this.label.length > 0) ||
18309
- this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'a32f8796a15c40712bc0b751ab89fcf84c81dfa3', htmlFor: this.startInputId }, h$1("slot", { key: '549420faa870d7e8f37c4c864de00aae1682f1f9', name: "label" }, this.label))), h$1("nv-popover", { key: 'c93290824f1e7179f7777ef2d9d42146015ec10a', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '67d798f2c57bf7cd979386fa2c3d0eb836253af6', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '53f700e97f16b40cb3e077460d41ab955cf4e86e', name: "before-input" }), h$1("div", { key: '5829a9716c09fc65b8300b0fe5d590a3e4d1af40', class: "input-container" }, h$1("slot", { key: '401508780bbac13d792d62d8368c47b4fe9fb0c1', name: "leading-input" }), h$1("div", { key: '2e29bd53c161d7bdf5a20e17f7b114f421bf2684', class: "range-inputs" }, h$1("input", { key: 'd1fed6969b96a950e6c73779ac31e7f197cdf122', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.shouldAutoFocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus }), h$1("svg", { key: '04aefcadb20a07f023c973a8ee0ce1c90e2eecd4', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "icon icon-tabler icons-tabler-outline icon-tabler-arrows-move-horizontal" }, h$1("path", { key: '372bb4b2ea27cf6aba7d9753dc25b3c9217a05c0', stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), h$1("path", { key: 'ae5d178f8d00efc52317b8e44df3225c48f50571', d: "M18 9l3 3l-3 3" }), h$1("path", { key: '2669cb7bca3c10769fa8b7907d722e6892744dce', d: "M15 12h6" }), h$1("path", { key: '835d2de77d676af9806d93f9ec0e9a4a451b2463', d: "M6 9l-3 3l3 3" }), h$1("path", { key: '8aef1d99e102825729c4466bf57166529e927c09', d: "M3 12h6" })), h$1("input", { key: 'e40d1202015132524aa3d485641b9cd34d8a20a6', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus })), h$1("nv-iconbutton", { key: '8ec3ebfb4647e5fb9d89ea9f1e6a60eaa5bb1214', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: 'e6ff4ed90757947d58dfde04c7063d123a3fd9e2', name: "after-input" })), h$1("div", { key: 'cf7a11988d84dac287b2c524e6005aee29f05ca3', slot: "content" }, h$1("nv-calendar", { key: '3c896e58ba52b0dd82f73f37beb8f70b6ac3f426', dateFormat: this.dateFormat, rangeValue: this.startValue && this.endValue
18558
+ return (h$1(Host$1, { key: '965223047219ae767b07ccecb0a00580ea39c232' }, ((this.label && this.label.length > 0) ||
18559
+ this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '096d6a34148da30d61686024b5891e7e15cd92e2', htmlFor: this.startInputId }, h$1("slot", { key: 'ee6e84ef1927ad809e7dddb2f4ad5ef7380d0bca', name: "label" }, this.label))), h$1("nv-popover", { key: '1a0549e85ab73157b379fcbcee014a7d85be9752', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'd9fc4c8f379e3c1884867c87bcaa67b2da1c64ae', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '4189696f3e877c19d4c24b09377b2ab0ce9aa437', name: "before-input" }), h$1("div", { key: '98025c8fc29121c736deb3042e961ef0eb1442fe', class: "input-container" }, h$1("slot", { key: '897481f836e33fd70a7c3b083a4e9b3db87637f2', name: "leading-input" }), h$1("div", { key: '788df58693fafaf8c78645b81d1b09a828138ccf', class: "range-inputs" }, h$1("input", { key: '7966b844668ca4cb02ac34886b62ee24cb7b1399', id: this.startInputId, type: "text", placeholder: this.startPlaceholder, name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.shouldAutoFocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus }), h$1("svg", { key: '67c0b68f0fb32ce122f9d4e5b1240440f3b649d0', xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "icon icon-tabler icons-tabler-outline icon-tabler-arrows-move-horizontal" }, h$1("path", { key: 'eb68f32a768c1c48b51a45ddba3f85357b8045e6', stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), h$1("path", { key: 'b8ccaf592dc2d36719a8418800a736b06d1c1775', d: "M18 9l3 3l-3 3" }), h$1("path", { key: 'c4b8d8e8ffad9a339abcde63a9a0feb2ddc771d3', d: "M15 12h6" }), h$1("path", { key: '7a28c7086d7085163ff8d885acd7434b4e5ea69a', d: "M6 9l-3 3l3 3" }), h$1("path", { key: '39917978c25b13a270f0852818b31868f2034832', d: "M3 12h6" })), h$1("input", { key: 'aaad42e407d1fe8e31a7e7c153e2d4cd35d8d2df', id: this.endInputId, type: "text", placeholder: this.endPlaceholder, name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus })), h$1("nv-iconbutton", { key: '04701e7bdf80a869f8a5f519141ac99c0077c20b', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', "aria-pressed": this.open.toString(), onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: 'cf1a48dcd20b4e363a746c9f26ecae8085e8ebbd', name: "after-input" })), h$1("div", { key: 'a36a223b6d5edd30bb9a4590d059caede5412b6a', slot: "content" }, h$1("nv-calendar", { key: '1ff22f214d648c4bb35455cf477529251c436e2d', dateFormat: this.dateFormat, rangeValue: this.startValue && this.endValue
18310
18560
  ? JSON.stringify({
18311
18561
  start: this.startValue,
18312
18562
  end: this.endValue,
18313
18563
  })
18314
18564
  : '', firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range" }))), ((this.description && this.description.length > 0) ||
18315
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'f3a968ed2314ec6b0b8f1f5fed8e901e3df10402', class: "description" }, h$1("slot", { key: 'bdfb89b5f462046c1bcbcffdbe46b067868bb077', name: "description" }, this.description))), (this.errorDescription ||
18316
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'b7a01679e7d1315e3040c8b166f79affbe74d409', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: 'b318420f0dba209ec8dcebc06f37d94ade46ccea' })));
18565
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '780f82060de810eb394285f4799511d2223312a3', class: "description" }, h$1("slot", { key: '326cbf626387738b9997f3b4d452c50ea2b3d5b2', name: "description" }, this.description))), (this.errorDescription ||
18566
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '6043f611a60f14976b8572e975621fac57b18f89', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: '129fe5bcd6c5bd9449242dc6b4f0e1c90ae31082' })));
18317
18567
  }
18318
18568
  get el() { return this; }
18319
18569
  static get watchers() { return {
@@ -18377,7 +18627,7 @@ function defineCustomElement$1$f() {
18377
18627
  break;
18378
18628
  case "nv-icon":
18379
18629
  if (!customElements.get(tagName)) {
18380
- defineCustomElement$S();
18630
+ defineCustomElement$R();
18381
18631
  }
18382
18632
  break;
18383
18633
  case "nv-iconbutton":
@@ -18459,7 +18709,7 @@ const NvFielddropdownitem$2 = /*@__PURE__*/ proxyCustomElement(class NvFielddrop
18459
18709
  /****************************************************************************/
18460
18710
  //#region RENDER
18461
18711
  render() {
18462
- return (h$1(Host$1, { key: '8f867e8c456eae541561024d5194e1582504e85b', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h$1("slot", { key: '2f26847b783458cde7a99d69269b0e15f381cdb8' }), !this.composed && (h$1("div", { key: '22229450f3e1492d1f71cbd9e89c6e0204cee201', class: "text-wrapper" }, h$1("span", { key: 'a5c691f3addf577acd848b6fe72c23388d116584', "data-scope": "text" }, this.label))), this.selected && (h$1("nv-icon", { key: '02232856ec60e9b741ced372a9d05def5d822cc6', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
18712
+ return (h$1(Host$1, { key: '86699901e52c35392ae5e60013f542427973a626', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h$1("slot", { key: 'f2d893f0692821fc0e918da9283eb174c3429173' }), !this.composed && (h$1("div", { key: '5e62842ee3b0e79333f99a3ec8d92dd843ebd96e', class: "text-wrapper" }, h$1("span", { key: 'baa00ac59b5d85d912f34fc16fbf82d87af849e2', "data-scope": "text" }, this.label))), this.selected && (h$1("nv-icon", { key: 'f9a5082e4cee6b68531809f9861e3da83b3001d6', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
18463
18713
  }
18464
18714
  get el() { return this; }
18465
18715
  static get style() { return NvFielddropdownitemStyle0; }
@@ -18482,7 +18732,7 @@ function defineCustomElement$q() {
18482
18732
  break;
18483
18733
  case "nv-icon":
18484
18734
  if (!customElements.get(tagName)) {
18485
- defineCustomElement$S();
18735
+ defineCustomElement$R();
18486
18736
  }
18487
18737
  break;
18488
18738
  } });
@@ -18560,12 +18810,7 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
18560
18810
  //#region STATE
18561
18811
  /** The text entered by the user for filtering dropdown items. */
18562
18812
  this.filterText = '';
18563
- this.isFilterable = this.filterable;
18564
18813
  this.selectedValues = new Set();
18565
- /**
18566
- * Options configuration for the dropdown items.
18567
- */
18568
- this.parsedOptions = [];
18569
18814
  this.handleInputContainerClick = (event) => {
18570
18815
  if (this.disabled || this.readonly) {
18571
18816
  return;
@@ -18608,17 +18853,17 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
18608
18853
  this.open = !this.open;
18609
18854
  };
18610
18855
  this.getSelectedLabel = () => {
18611
- var _a, _b, _c, _d, _e;
18856
+ var _a, _b, _c, _d, _e, _f;
18612
18857
  if (!this.value)
18613
18858
  return '';
18614
- if (this.parsedOptions.length > 1) {
18615
- const matchingItem = this.parsedOptions.find(option => option.value === this.value);
18616
- return (_b = (_a = matchingItem === null || matchingItem === void 0 ? void 0 : matchingItem.label) !== null && _a !== void 0 ? _a : matchingItem === null || matchingItem === void 0 ? void 0 : matchingItem.value) !== null && _b !== void 0 ? _b : this.value;
18859
+ if (((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 1) {
18860
+ const matchingItem = this.options.find(option => option.value === this.value);
18861
+ return (_c = (_b = matchingItem === null || matchingItem === void 0 ? void 0 : matchingItem.label) !== null && _b !== void 0 ? _b : matchingItem === null || matchingItem === void 0 ? void 0 : matchingItem.value) !== null && _c !== void 0 ? _c : this.value;
18617
18862
  }
18618
18863
  const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitem'));
18619
18864
  const matchingItem = items.find(item => item.value === this.value);
18620
18865
  const selectedLabel = matchingItem
18621
- ? (_e = (_c = matchingItem.label) !== null && _c !== void 0 ? _c : (_d = matchingItem.textContent) === null || _d === void 0 ? void 0 : _d.trim()) !== null && _e !== void 0 ? _e : matchingItem.value
18866
+ ? (_f = (_d = matchingItem.label) !== null && _d !== void 0 ? _d : (_e = matchingItem.textContent) === null || _e === void 0 ? void 0 : _e.trim()) !== null && _f !== void 0 ? _f : matchingItem.value
18622
18867
  : '';
18623
18868
  return selectedLabel;
18624
18869
  };
@@ -18650,32 +18895,17 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
18650
18895
  handleOpenChanged(event) {
18651
18896
  this.open = event.detail; // Update `open` based on the popover state
18652
18897
  }
18653
- watchFilterableHandler(newValue) {
18654
- this.isFilterable = newValue;
18655
- this.filterable = newValue;
18656
- }
18657
18898
  watchValueHandler(newValue) {
18658
18899
  this.valueChanged.emit(newValue);
18659
18900
  }
18660
18901
  handleOptionsChange(newValue) {
18661
18902
  var _a;
18662
- if (newValue) {
18663
- try {
18664
- const parsedOpts = JSON.parse(newValue);
18665
- this.parsedOptions = [...parsedOpts];
18666
- if (!this.value) {
18667
- const defaultValue = parsedOpts.find(option => option.selected);
18668
- this.value = (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.value) !== null && _a !== void 0 ? _a : '';
18669
- this.updateSelectedItem(this.value);
18670
- }
18671
- }
18672
- catch (error) {
18673
- console.error('nv-fielddropdown: error parsing options:', error);
18674
- this.parsedOptions = [];
18675
- }
18676
- }
18677
- else {
18678
- this.parsedOptions = [];
18903
+ if (!newValue)
18904
+ return;
18905
+ if (!this.value) {
18906
+ const defaultValue = newValue.find(option => option.selected);
18907
+ this.value = (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.value) !== null && _a !== void 0 ? _a : '';
18908
+ this.updateSelectedItem(this.value);
18679
18909
  }
18680
18910
  }
18681
18911
  handleBlur(event) {
@@ -18830,14 +19060,14 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
18830
19060
  /****************************************************************************/
18831
19061
  //#region RENDER
18832
19062
  render() {
18833
- return (h$1(Host$1, { key: '0fb1d2326cefd85ffd337307a0a0dd74acda8a14', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'bf6f4116b86cca549e7f9b65a17e1cb35b06ef60', htmlFor: this.inputId }, h$1("slot", { key: 'a81ad465e6a08e1bc9463c9d91c5d2cd05805e39', name: "label" }, this.label))), h$1("nv-popover", { key: '8c90cf3f3f08455b41b31681c4377d5404dd4b31', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '756eb9ff31134ece738ea9748a88837ec4979ddf', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: '1853a781eedfeea6aae57ed94c452524e4e69e83', name: "before-input" }), h$1("div", { key: '26c839ffc62cb1747de5099725695de6c213a220', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '8685a92ee488f99dda4cbfe6bdd59e347e3ce0ce', name: "leading-input" }), this.isFilterable || this.disabled || this.readonly ? (h$1("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (h$1("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.isFilterable && this.filterText && this.open && (h$1("nv-iconbutton", { key: '1fa4ea0ef878980847d667431c9e52b18de1a4b1', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (h$1("nv-icon", { key: '77aa0f468d8c6488595ffc2305480174c18d3069', name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: '9954a5b1910693b0be417d27da8f9005467d99f3', "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopover, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '0e258c9b03e4dbcfe94b577ffaf77f2379a9c9a3', name: "after-input" })), h$1("div", { key: 'b697df1d8c64c9d2eaf09e427cd49c9d5ec0a323', slot: "content" }, this.parsedOptions.length > 0 ? (h$1("ul", null, this.parsedOptions.map(option => (h$1("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (h$1("slot", { name: "content" })))), (this.description ||
18834
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '7a783fcd4da5623ad478e4a03fb454e093e7fc8e', class: "description" }, h$1("slot", { key: '93c4c95ca8e8e4bf50086fb861b126aa7f5f828a', name: "description" }, this.description))), (this.errorDescription ||
18835
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '8a0de0edb2a7855d478a40059e19f2f26f2ed681', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '93b87131ac4e8371815e7c82ef6e15ebcff2bc88', name: "error-description" }, this.errorDescription)))));
19063
+ var _a;
19064
+ return (h$1(Host$1, { key: '6c23d4cfd361e1f40a2181db66692eb0d6326bfe', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'db9a30ece9e669c70b18193b3cc7d14967a5e071', htmlFor: this.inputId }, h$1("slot", { key: 'b7a721b25b82646d34ce141526775f24a9849f4b', name: "label" }, this.label))), h$1("nv-popover", { key: '724756cb69b4b6ef8837e6f7f53a65eb42a43b5e', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '0092cd2b78234ec2e0cdc70433246a2985b7e57f', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: '519c1a407c8309861673b9eadb723edb0c70ae68', name: "before-input" }), h$1("div", { key: 'd88af43846337d9bfd6aeb4f28ab2dc7e56de4e8', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '8e91459d89acbf7a1cde5e75c520b11b109e810d', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h$1("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (h$1("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && this.open && (h$1("nv-iconbutton", { key: '55efb1100997af6b9b4ee41c489a9e628d36b749', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (h$1("nv-icon", { key: '69cfcac7b21d0e9faf9bad7f306bab187a761758', name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: '5b773edca6a5028eb8cedb42632a9c5b6e8b3d36', "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopover, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: 'c225279e1ec938e2fbe672ce02e8d2a79cb7ff1e', name: "after-input" })), h$1("div", { key: '94905d2f6a0b7faae17540139c0bd2458e4c98ae', slot: "content" }, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (h$1("ul", null, this.options.map(option => (h$1("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (h$1("slot", { name: "content" })))), (this.description ||
19065
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '5d0b74de616aefa056d17cb70fab0d36ab9b41c3', class: "description" }, h$1("slot", { key: 'bab9d8222164d2227c6024ac2bd5675142ccb964', name: "description" }, this.description))), (this.errorDescription ||
19066
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '58596e0c753e8bb90f9d21432607427b0a029d64', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '6062d632aee6e825cd2d17a22180cb24d66e2864', name: "error-description" }, this.errorDescription)))));
18836
19067
  }
18837
19068
  static get formAssociated() { return true; }
18838
19069
  get el() { return this; }
18839
19070
  static get watchers() { return {
18840
- "filterable": ["watchFilterableHandler"],
18841
19071
  "value": ["watchValueHandler"],
18842
19072
  "options": ["handleOptionsChange"]
18843
19073
  }; }
@@ -18857,16 +19087,13 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
18857
19087
  "readonly": [516],
18858
19088
  "disabled": [516],
18859
19089
  "emptyResult": [513, "empty-result"],
18860
- "filterable": [1540],
18861
- "options": [513],
19090
+ "filterable": [516],
19091
+ "options": [16],
18862
19092
  "autofocus": [516],
18863
19093
  "filterText": [32],
18864
- "isFilterable": [32],
18865
19094
  "selectedValues": [32],
18866
- "parsedOptions": [32],
18867
19095
  "getFilterText": [64]
18868
19096
  }, [[0, "dropdownItemSelected", "handleDropdownItemSelected"], [0, "openChanged", "handleOpenChanged"], [2, "blur", "handleBlur"], [0, "keydown", "handleKeyDown"]], {
18869
- "filterable": ["watchFilterableHandler"],
18870
19097
  "value": ["watchValueHandler"],
18871
19098
  "options": ["handleOptionsChange"]
18872
19099
  }]);
@@ -18888,7 +19115,7 @@ function defineCustomElement$1$e() {
18888
19115
  break;
18889
19116
  case "nv-icon":
18890
19117
  if (!customElements.get(tagName)) {
18891
- defineCustomElement$S();
19118
+ defineCustomElement$R();
18892
19119
  }
18893
19120
  break;
18894
19121
  case "nv-iconbutton":
@@ -18963,7 +19190,7 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
18963
19190
  };
18964
19191
  }
18965
19192
  render() {
18966
- return (h$1(Host$1, { key: 'f9445369d2703e0a5fe4417b1968f9a25dc94743', onClick: this.handleClick }, h$1("nv-fieldcheckbox", { key: 'a64195d14834b2a83d3b4c3f1451272fb97ff46a', checked: this.checked, name: this.label || this.value, label: this.label || this.value, "label-placement": "after", description: this.description, disabled: this.disabled, tabindex: "-1", role: "option", onCheckedChanged: this.onFieldcheckboxChanged })));
19193
+ return (h$1(Host$1, { key: '93a97fb36d69bd837b27cdbfa31adc5a7a71dab4', onClick: this.handleClick }, h$1("nv-fieldcheckbox", { key: '7afd9b55ce6911c327fae658304fa313fc908d45', checked: this.checked, name: this.label || this.value, label: this.label || this.value, "label-placement": "after", description: this.description, disabled: this.disabled, tabindex: "-1", role: "option", onCheckedChanged: this.onFieldcheckboxChanged })));
18967
19194
  }
18968
19195
  get el() { return this; }
18969
19196
  static get style() { return NvFielddropdownitemcheckStyle0; }
@@ -19058,10 +19285,6 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19058
19285
  * State of the multiselect popover.
19059
19286
  */
19060
19287
  this.open = false;
19061
- /**
19062
- * Options configuration for the multiselect items.
19063
- */
19064
- this.parsedOptions = [];
19065
19288
  /**
19066
19289
  * List of selected values in the multiselect.
19067
19290
  */
@@ -19074,21 +19297,11 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19074
19297
  * The text entered by the user for filtering multiselect items.
19075
19298
  */
19076
19299
  this.filterText = '';
19077
- /**
19078
- * Determines whether the multiselect is filterable.
19079
- */
19080
- this.isFilterable = this.filterable;
19081
19300
  /**
19082
19301
  * Delay in milliseconds before the search is triggered when typing in the filter input.
19083
19302
  * @default 300
19084
19303
  */
19085
19304
  this.debounceDelay = 300;
19086
- /**
19087
- * State for the mode of the multiselect.
19088
- * @type {'options' | 'slots'}
19089
- * @default 'options'
19090
- */
19091
- this.modeState = 'options'; // Default value
19092
19305
  this.isHandlingEscape = false;
19093
19306
  /**
19094
19307
  * Applies focus to the input field as soon as the component is mounted. This
@@ -19109,7 +19322,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19109
19322
  item.style.display = '';
19110
19323
  });
19111
19324
  // Reorder options without the divider since there are no selected elements
19112
- this.parsedOptions = this.parsedOptions.filter(option => !option.isDivider);
19325
+ this.options = this.options.filter(option => !option.isDivider);
19113
19326
  // Reorder options without the divider since there are no selected elements
19114
19327
  this.reorderOptionsContent();
19115
19328
  };
@@ -19137,13 +19350,6 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19137
19350
  return;
19138
19351
  }
19139
19352
  this.filterText = '';
19140
- // Only reorder based on the mode
19141
- if (this.modeState === 'options') {
19142
- this.reorderOptionsContent();
19143
- }
19144
- else {
19145
- this.reorderSlotContent();
19146
- }
19147
19353
  // Reset filter if needed
19148
19354
  if (this.filterable) {
19149
19355
  this.resetFilter();
@@ -19312,14 +19518,14 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19312
19518
  * @returns {any} The JSX for options mode
19313
19519
  */
19314
19520
  this.renderOptionsMode = () => {
19315
- return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect" }, h$1("slot", { name: "leading-input" }), h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, hidden: this.selectedValues.length <= 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions }), this.isFilterable || this.disabled || this.readonly ? (h$1("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, h$1("span", null, this.value || this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverOptions })), h$1("slot", { name: "after-input" })), h$1("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h$1("ul", { role: "content" }, this.parsedOptions.map(option => (h$1("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), h$1("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
19521
+ return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect" }, h$1("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions })), this.filterable || this.disabled || this.readonly ? (h$1("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, h$1("span", null, this.value || this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverOptions })), h$1("slot", { name: "after-input" })), h$1("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h$1("ul", { role: "content" }, this.options.map(option => (h$1("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), h$1("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
19316
19522
  };
19317
19523
  /**
19318
19524
  * Renders the component in slots mode
19319
19525
  * @returns {any} The JSX for slots mode
19320
19526
  */
19321
19527
  this.renderSlotsMode = () => {
19322
- return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, h$1("slot", { name: "leading-input" }), h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, hidden: this.selectedValues.length <= 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots }), this.isFilterable || this.disabled || this.readonly ? (h$1("input", { id: this.inputId, ref: e => (this.inputElement = e), autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, h$1("span", null, this.value || this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverSlots })), h$1("slot", { name: "after-input" })), h$1("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h$1("slot", { name: "content" }))), this.renderDescriptions()));
19528
+ return (h$1(Host$1, null, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { htmlFor: this.inputId }, h$1("slot", { name: "label" }, this.label))), h$1("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { class: "input-wrapper-multiselect", slot: "trigger" }, h$1("slot", { name: "before-input" }), h$1("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, h$1("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (h$1("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots })), this.filterable || this.disabled || this.readonly ? (h$1("input", { id: this.inputId, ref: e => (this.inputElement = e), autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, h$1("span", null, this.value || this.placeholder))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopoverSlots })), h$1("slot", { name: "after-input" })), h$1("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, h$1("slot", { name: "content" }))), this.renderDescriptions()));
19323
19529
  };
19324
19530
  }
19325
19531
  //#endregion PROPERTIES
@@ -19335,13 +19541,13 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19335
19541
  * Set the mode state and handle options change.
19336
19542
  */
19337
19543
  componentWillLoad() {
19338
- this.modeState = this.options ? 'options' : 'slots';
19544
+ var _a;
19339
19545
  // Don't call handleOptionsChange if we are in slots mode
19340
- if (this.modeState === 'options') {
19546
+ if (this.options) {
19341
19547
  this.handleOptionsChange(this.options);
19342
19548
  }
19343
19549
  // Specific initialization for slots mode
19344
- if (this.modeState === 'slots') {
19550
+ if (!this.options) {
19345
19551
  Promise.resolve().then(() => {
19346
19552
  const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitemcheck'));
19347
19553
  // Initialize selectedValues with checked items
@@ -19355,8 +19561,8 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19355
19561
  });
19356
19562
  }
19357
19563
  // Initialize the sorted options array with the parsed options for initial rendering
19358
- if (this.modeState === 'options') {
19359
- this.sortedOptions = [...this.parsedOptions];
19564
+ if (this.options) {
19565
+ this.sortedOptions = [...((_a = this.options) !== null && _a !== void 0 ? _a : [])];
19360
19566
  }
19361
19567
  // Apply filtering if the multiselect is filterable and there is a value
19362
19568
  if (this.filterable && this.value) {
@@ -19372,10 +19578,8 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19372
19578
  * Force reorder if options mode in componentDidLoad because of the initial render not trigger @watch
19373
19579
  */
19374
19580
  componentDidLoad() {
19375
- if (this.modeState === 'options') {
19376
- requestAnimationFrame(() => {
19377
- this.reorderOptionsContent();
19378
- });
19581
+ if (this.options) {
19582
+ this.handleOptionsChange(this.options);
19379
19583
  }
19380
19584
  }
19381
19585
  /**
@@ -19400,6 +19604,12 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19400
19604
  else {
19401
19605
  this.handlePopoverClose();
19402
19606
  }
19607
+ if (this.options) {
19608
+ this.reorderOptionsContent();
19609
+ }
19610
+ else {
19611
+ this.reorderSlotContent();
19612
+ }
19403
19613
  }
19404
19614
  /**
19405
19615
  * Listen for the `itemChecked` event emitted by child items.
@@ -19433,41 +19643,13 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19433
19643
  console.warn('Received itemChecked event with undefined or null value'); // Warning log
19434
19644
  }
19435
19645
  }
19436
- /**
19437
- * Emitted when the options change.
19438
- * @param {string | Array<{label: string, value: string, isDivider?: boolean, disabled?: boolean, description?: string, checked?: boolean}>} newValue - The new value of the options.
19439
- */
19440
19646
  handleOptionsChange(newValue) {
19441
- if (typeof newValue === 'string') {
19442
- try {
19443
- const parsedOpts = JSON.parse(newValue);
19444
- this.selectedValues = parsedOpts
19445
- .filter(option => option.checked)
19446
- .map(option => option.value);
19447
- this.parsedOptions = [...parsedOpts];
19448
- }
19449
- catch (error) {
19450
- console.error('Error parsing options:', error);
19451
- this.parsedOptions = [];
19452
- }
19453
- }
19454
- else if (Array.isArray(newValue)) {
19455
- this.selectedValues = newValue
19456
- .filter(option => option.checked)
19457
- .map(option => option.value);
19458
- this.parsedOptions = [...newValue];
19459
- }
19460
- else {
19461
- this.parsedOptions = [];
19462
- }
19463
- // Wait for the options to be fully loaded
19464
- Promise.resolve().then(() => {
19465
- requestAnimationFrame(() => {
19466
- if (this.modeState === 'options') {
19467
- this.reorderOptionsContent();
19468
- }
19469
- });
19470
- });
19647
+ if (!newValue)
19648
+ return;
19649
+ this.selectedValues = newValue
19650
+ .filter(option => option.checked)
19651
+ .map(option => option.value);
19652
+ this.reorderOptionsContent();
19471
19653
  }
19472
19654
  /**
19473
19655
  * Emitted when the value changes.
@@ -19476,14 +19658,6 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19476
19658
  // Handle value change and update the corresponding multiselect item if it exists
19477
19659
  this.setInitialSelection();
19478
19660
  }
19479
- /**
19480
- * Emitted when the filterable property changes.
19481
- * @param {boolean} newValue - The new value of the filterable property.
19482
- */
19483
- watchFilterableHandler(newValue) {
19484
- this.isFilterable = newValue;
19485
- this.filterable = newValue;
19486
- }
19487
19661
  // Add a listener for the slot content
19488
19662
  handleSlotChange(event) {
19489
19663
  // Check: we only want to reorder if it's the "content" slot
@@ -19572,7 +19746,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19572
19746
  * Reorder the content of the slot.
19573
19747
  */
19574
19748
  reorderSlotContent() {
19575
- if (this.modeState === 'options')
19749
+ if (this.options)
19576
19750
  return;
19577
19751
  const ul = this.el.querySelector('ul');
19578
19752
  if (!ul)
@@ -19636,7 +19810,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19636
19810
  existingEmptyMessage.remove();
19637
19811
  }
19638
19812
  if (!this.filterText.trim()) {
19639
- if (this.parsedOptions && this.parsedOptions.length > 0) {
19813
+ if (this.options && this.options.length > 0) {
19640
19814
  // Reset options display
19641
19815
  const items = Array.from(ul.querySelectorAll('nv-fielddropdownitemcheck'));
19642
19816
  items.forEach(item => {
@@ -19659,11 +19833,11 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19659
19833
  }
19660
19834
  const normalizedFilter = this.normalizeText(this.filterText);
19661
19835
  let hasVisibleItems = false;
19662
- if (this.parsedOptions && this.parsedOptions.length > 0) {
19836
+ if (this.options && this.options.length > 0) {
19663
19837
  // Filter options mode
19664
19838
  const items = Array.from(ul.querySelectorAll('nv-fielddropdownitemcheck'));
19665
19839
  items.forEach(item => {
19666
- const option = this.parsedOptions.find(opt => opt.value === item.getAttribute('value'));
19840
+ const option = this.options.find(opt => opt.value === item.getAttribute('value'));
19667
19841
  if (option && !option.isDivider) {
19668
19842
  const matchesFilter = this.normalizeText(option.label).includes(normalizedFilter) ||
19669
19843
  this.normalizeText(option.value).includes(normalizedFilter);
@@ -19748,7 +19922,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19748
19922
  * Filter multiselect items in slots mode
19749
19923
  */
19750
19924
  filterSlotsItems() {
19751
- if (this.modeState === 'options')
19925
+ if (this.options)
19752
19926
  return;
19753
19927
  const ul = this.el.querySelector('ul');
19754
19928
  if (!ul)
@@ -19884,7 +20058,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19884
20058
  // Do the reorder and wait a bit before closing
19885
20059
  const handleEscape = async () => {
19886
20060
  this.isHandlingEscape = true; // Disable the hide listener
19887
- if (this.modeState === 'options') {
20061
+ if (this.options) {
19888
20062
  this.reorderOptionsContent();
19889
20063
  }
19890
20064
  else {
@@ -19996,16 +20170,13 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
19996
20170
  * @returns {any} The JSX for the component
19997
20171
  */
19998
20172
  render() {
19999
- return this.modeState === 'options'
20000
- ? this.renderOptionsMode()
20001
- : this.renderSlotsMode();
20173
+ return this.options ? this.renderOptionsMode() : this.renderSlotsMode();
20002
20174
  }
20003
20175
  static get formAssociated() { return true; }
20004
20176
  get el() { return this; }
20005
20177
  static get watchers() { return {
20006
20178
  "options": ["handleOptionsChange"],
20007
- "value": ["watchValueHandler"],
20008
- "filterable": ["watchFilterableHandler"]
20179
+ "value": ["watchValueHandler"]
20009
20180
  }; }
20010
20181
  static get style() { return NvFieldmultiselectStyle0; }
20011
20182
  }, [68, "nv-fieldmultiselect", {
@@ -20023,26 +20194,22 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
20023
20194
  "readonly": [516],
20024
20195
  "disabled": [516],
20025
20196
  "autocomplete": [513],
20026
- "filterable": [1540],
20197
+ "filterable": [516],
20027
20198
  "value": [1537],
20028
20199
  "open": [1540],
20029
- "options": [513],
20200
+ "options": [1040],
20030
20201
  "debounceDelay": [514, "debounce-delay"],
20031
20202
  "autofocus": [516],
20032
- "parsedOptions": [32],
20033
20203
  "selectedValues": [32],
20034
20204
  "sortedOptions": [32],
20035
20205
  "filterText": [32],
20036
- "isFilterable": [32],
20037
- "modeState": [32],
20038
20206
  "isHandlingEscape": [32],
20039
20207
  "getFilterText": [64],
20040
20208
  "resetFilter": [64],
20041
20209
  "getSelectedValues": [64]
20042
20210
  }, [[0, "openChanged", "handleOpenChanged"], [0, "itemChecked", "handleItemChecked"], [0, "slotchange", "handleSlotChange"], [0, "keydown", "handleKeyDown"]], {
20043
20211
  "options": ["handleOptionsChange"],
20044
- "value": ["watchValueHandler"],
20045
- "filterable": ["watchFilterableHandler"]
20212
+ "value": ["watchValueHandler"]
20046
20213
  }]);
20047
20214
  function defineCustomElement$1$d() {
20048
20215
  if (typeof customElements === "undefined") {
@@ -20057,7 +20224,7 @@ function defineCustomElement$1$d() {
20057
20224
  break;
20058
20225
  case "nv-badge":
20059
20226
  if (!customElements.get(tagName)) {
20060
- defineCustomElement$P();
20227
+ defineCustomElement$O();
20061
20228
  }
20062
20229
  break;
20063
20230
  case "nv-fieldcheckbox":
@@ -20072,7 +20239,7 @@ function defineCustomElement$1$d() {
20072
20239
  break;
20073
20240
  case "nv-icon":
20074
20241
  if (!customElements.get(tagName)) {
20075
- defineCustomElement$S();
20242
+ defineCustomElement$R();
20076
20243
  }
20077
20244
  break;
20078
20245
  case "nv-iconbutton":
@@ -20205,9 +20372,9 @@ const NvFieldnumber$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldnumber ext
20205
20372
  /****************************************************************************/
20206
20373
  //#region RENDER
20207
20374
  render() {
20208
- return (h$1(Host$1, { key: '14de76d6ddda9977fa3ad28d6e9d2acf613565fa' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '22131a183df8f9612d7d1fc4c7904f7e9e3fba71', htmlFor: this.inputId }, h$1("slot", { key: '48cca38b15579499662018d593bd9e73129565da', name: "label" }, this.label))), h$1("div", { key: '9a0a40a370f879f0685a62fb7360419db1245738', class: "input-wrapper" }, h$1("slot", { key: '05bcbc8bd7311f3e6ae467b40af269e373e7ef26', name: "before-input" }), h$1("div", { key: '81861b40c527dde0b7629914e70f7ee1b3389f06', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: 'dc64fe00dd75120daedfdc51fc2d5d955f3e3348', name: "leading-input" }), h$1("input", { key: '01593dfe3c0331acec3ec765cb1673d6a0536f1f', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: this.value, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), this.error && (h$1("nv-icon", { key: 'f253f726e6ad61e0b49389f38d1b6c519bd7ade6', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '11968ad93087be6813e99e2b781fa8d3d7f7b772', name: "circle-check", class: "validation", size: "md" })), h$1("div", { key: '900d860455ced0a97dbdad044c83578f680e2d1c', class: "stepper" }, h$1("nv-iconbutton", { key: '1c6f95596b862dad92ca2006e983fbf4b45fa9ee', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }), h$1("nv-iconbutton", { key: '2f08e682805b4c9cf6f09b71c885460ca697de5f', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabIndex: -1 }))), h$1("slot", { key: 'b63dbbaeb358b73105f552de15a0226906f5e547', name: "after-input" })), (this.description ||
20209
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '43c3f1bd58a36095e69283151ac4d7edcd0eef4a', class: "description" }, h$1("slot", { key: '0c91c8198be73d7285065d86c1ca1340d3517e0d', name: "description" }, this.description))), (this.errorDescription ||
20210
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'ecb9e02f67241294215ee3e570006dcf98539537', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '763ddc2a238b85022d72e046d9665fbb433f8476', name: "error-description" }, this.errorDescription)))));
20375
+ return (h$1(Host$1, { key: 'e054d1e05c0623bf3d5d78c2bafb6d096dbcbd08' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '0743432faff56e8256b2a30fab68ced0592bbf6a', htmlFor: this.inputId }, h$1("slot", { key: '709f68c3f4bf6ade475cd6afbee5c9912c782c43', name: "label" }, this.label))), h$1("div", { key: '5798b0faf23bc671aeda3273dcfff7c1d1ca4109', class: "input-wrapper" }, h$1("slot", { key: '47b9f0ef000d2d98e2e3ad1c1f4191ce91c69266', name: "before-input" }), h$1("div", { key: '082d2ab64b892cc994955b723d1ab342414061fb', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '34511207a7ebc1cc5fe8cc91d05f4fa549fda316', name: "leading-input" }), h$1("input", { key: '20f96b319b6e7528d738bdc31152649575409dd1', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: this.value, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), this.error && (h$1("nv-icon", { key: '2b05afbbc94bd39dd82a270511e4372536ee80ba', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '95d74e6298e49d422b19bf080d3e2de25c2ad8e2', name: "circle-check", class: "validation", size: "md" })), h$1("div", { key: '5c665de10e9650003b127997cd6010e35d7d0b7a', class: "stepper" }, h$1("nv-iconbutton", { key: '9702ee4778623862e67d29a56f7790af364786bf', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), h$1("nv-iconbutton", { key: '20fc509c42230f6768d98e4144db12afae3649ef', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), h$1("slot", { key: 'd432d4e6fb8c4fd67c6c972b5c967e093cadfe68', name: "after-input" })), (this.description ||
20376
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'e1d585c32f4cff50d84f5d1b6696856c8c875ef7', class: "description" }, h$1("slot", { key: '860b5fb8ba3e24fc728021b238b371178ae54ead', name: "description" }, this.description))), (this.errorDescription ||
20377
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'aaa707753b98415ca4e329fab9b45bfc3b42525a', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'f8c0910451550baa82663500a7c0339064720428', name: "error-description" }, this.errorDescription)))));
20211
20378
  }
20212
20379
  static get formAssociated() { return true; }
20213
20380
  get el() { return this; }
@@ -20250,7 +20417,7 @@ function defineCustomElement$1$c() {
20250
20417
  break;
20251
20418
  case "nv-icon":
20252
20419
  if (!customElements.get(tagName)) {
20253
- defineCustomElement$S();
20420
+ defineCustomElement$R();
20254
20421
  }
20255
20422
  break;
20256
20423
  case "nv-iconbutton":
@@ -20335,10 +20502,6 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
20335
20502
  * Show/hide the password programmatically.
20336
20503
  */
20337
20504
  this.showPassword = false;
20338
- /**
20339
- * Defines whether the password is visible or not.
20340
- */
20341
- this.showPasswordState = this.showPassword;
20342
20505
  /**
20343
20506
  * Applies focus to the input field as soon as the component is mounted. This
20344
20507
  * is equivalent to setting the native autofocus attribute on an <input>
@@ -20365,11 +20528,17 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
20365
20528
  }
20366
20529
  //#endregion METHODS
20367
20530
  /****************************************************************************/
20531
+ //#region LIFECYCLE
20532
+ componentWillLoad() {
20533
+ this.showPasswordState = this.showPassword;
20534
+ }
20535
+ //#endregion LIFECYCLE
20536
+ /****************************************************************************/
20368
20537
  //#region RENDER
20369
20538
  render() {
20370
- return (h$1(Host$1, { key: 'a41ed0f04b926fc622c76487c3108d7ee43209bc' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '3550a9382c0a5ca66251a364e05b75f0ed6f42ef', htmlFor: this.inputId }, h$1("slot", { key: 'cb5970e496815804ebdc3ed2cb56a5a8b6b4cb7a', name: "label" }, this.label))), h$1("div", { key: 'a84fa1d8b7d42a2c3bdd0a4b9baef0a62cb6ff10', class: "input-wrapper" }, h$1("slot", { key: '18a93e01e9ae700c4bc634cc75dc15b48f1467de', name: "before-input" }), h$1("div", { key: '902ecacf5d73e9014bffbb3cab058317142d73bc', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '65bacd0ae1d74bf24492961707338b42de8db414', name: "leading-input" }), h$1("input", { key: '0ee6c86114923f170bd4733d966901c4eaec096a', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h$1("nv-icon", { key: '366cd1b889f59207bf6d4969a993b259281e8155', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h$1("nv-iconbutton", { key: '6f1d513c9320436d7f362a6323591925817ec7b1', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h$1("slot", { key: 'a427f1476ffc5070de6e6ce6158d7d50ce08ab59', name: "after-input" })), (this.description ||
20371
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '069e32d0137aef7aa8ccb6a56d26aceb1d9f91d6', class: "description" }, h$1("slot", { key: 'e2cef4e7859979f807b05bdedc0324563313c962', name: "description" }, this.description))), (this.errorDescription ||
20372
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'e38bba2cd6d438544b883c4e51149039f099faa9', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '1c972064f301444e5774bce210b8868ed01c320b', name: "error-description" }, this.errorDescription)))));
20539
+ return (h$1(Host$1, { key: '4a6de90f24bd6607293d616d60f6d742c46b04a9' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '715f5935de3aa0f0f7b6aa9aa72c409a3875a849', htmlFor: this.inputId }, h$1("slot", { key: 'da11187833b12acfae578024bb67d717efbafaa1', name: "label" }, this.label))), h$1("div", { key: 'a669823e6c5aea5b4e0aacf0bfc1c8f7dbe67bab', class: "input-wrapper" }, h$1("slot", { key: '98b2b6eaaa867228a667bec2920c640ff0b829c7', name: "before-input" }), h$1("div", { key: 'fc896f9018563e80ea0f2aa1e2eb7992fd4a854c', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '715814e77d1ba40463253d12751129f2c0d05407', name: "leading-input" }), h$1("input", { key: '8101af836f80da56ac9e2b859ab9fd5b6d254b91', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h$1("nv-icon", { key: 'fdf5caa936a43961bd3f00f5d50635124b57ff0b', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h$1("nv-iconbutton", { key: '9b9e70d855fca2ea1ff2769609af05fc7d3fd1c2', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h$1("slot", { key: '4458e83104562509b53b05faf3a316a5502b76b7', name: "after-input" })), (this.description ||
20540
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '91dcddd8a80abccaaffda9cd583759bebf376456', class: "description" }, h$1("slot", { key: 'fe6da6eb725b3866faf138e848f89152f0f24a00', name: "description" }, this.description))), (this.errorDescription ||
20541
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'bfe57a6b0f199c3b371a2036a7b8787f40f639a4', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '529e34f2197c64ac768df11251bb285fec1f2cd5', name: "error-description" }, this.errorDescription)))));
20373
20542
  }
20374
20543
  static get formAssociated() { return true; }
20375
20544
  get el() { return this; }
@@ -20415,7 +20584,7 @@ function defineCustomElement$1$b() {
20415
20584
  break;
20416
20585
  case "nv-icon":
20417
20586
  if (!customElements.get(tagName)) {
20418
- defineCustomElement$S();
20587
+ defineCustomElement$R();
20419
20588
  }
20420
20589
  break;
20421
20590
  case "nv-iconbutton":
@@ -20518,9 +20687,9 @@ const NvFieldradio$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldradio exten
20518
20687
  /****************************************************************************/
20519
20688
  //#region RENDER
20520
20689
  render() {
20521
- return (h$1(Host$1, { key: 'cab4d25a83792d8f0d3f5de48073a621f8b1823e', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("input", { key: 'a923e6ad8e76b90c5e00ae17a353614b8f7390b1', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h$1("div", { key: '585cc5389b0190e2291447d188637e8325d937aa', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '7e16f9cd7078e11661685a141afbd46472683e0f', htmlFor: this.inputId }, h$1("slot", { key: '3e9aab3f47e1a0c96a6e3b6f2495428bce324962', name: "label" }, this.label))), (this.description ||
20522
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '0c2b8b8e49dd877131c37bb23d450e254c58fcdc', class: "description" }, h$1("slot", { key: 'fd3d99a005667b46260dde7d84f4c6b82e4e4853', name: "description" }, this.description))), (this.errorDescription ||
20523
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'd524f91210f3e28627e68f380484d1c28ab962d9', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '416222f3b3db021de57b35697a64270582f6bad7', name: "error-description" }, this.errorDescription))))));
20690
+ return (h$1(Host$1, { key: 'e1a92204a7d3e07de9485873906ed57dc2f4dfb1', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("input", { key: '8161b36c31b960a4ca4f7a1291a9cdbdd830429c', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h$1("div", { key: '8d5ff5b5742a96dc9d1167298859a7a97347eeab', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '7417fe1c5041e20fd63abca907fd75fe7d3b49d2', htmlFor: this.inputId }, h$1("slot", { key: 'e29a092dbd19c912c496e1ae56d9f46bcb44208c', name: "label" }, this.label))), (this.description ||
20691
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'a894108a6e5235010d18547a39daf526e066e432', class: "description" }, h$1("slot", { key: 'c67b5b5a5d2ef1f27e69eb251e9a15c98909db85', name: "description" }, this.description))), (this.errorDescription ||
20692
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '18ea2ae58994289900f28c0e6220e113b45b2a92', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '52a10763fb7bf688e5a1de5e854aa0d80bc996f4', name: "error-description" }, this.errorDescription))))));
20524
20693
  }
20525
20694
  static get formAssociated() { return true; }
20526
20695
  get el() { return this; }
@@ -20903,13 +21072,13 @@ const NvFieldselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldselect ext
20903
21072
  * @returns {HTMLStencilElement} The HTML element to render.
20904
21073
  */
20905
21074
  render() {
20906
- return (h$1(Host$1, { key: 'e447f10faacbd9107b3636b711745655b234daaf' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '6949ffbfa4a3d055689aa384521456277336eb31', htmlFor: this.inputId }, h$1("slot", { key: 'c46be62ffca373acaa64555dd055d0e506731ff8', name: "label" }, this.label))), h$1("div", { key: '73173b60885c479e76c9d089f40033ac73641597', class: "select-wrapper" }, h$1("slot", { key: 'a64bbdef05fd860d1534bea9c5d8143abe2aa688', name: "before-input" }), h$1("div", { key: 'c8d5503afd194397a0385959fbe557544208f7e9', class: "select-container", onClick: this.handleSelectContainerClick }, h$1("slot", { key: '82456f7f21d552459af03787b26363acb9d77cb8', name: "leading-input" }), this.internalReadonly && (h$1("input", { key: '2b02c5f82fd43d2f12d2473ebe68704e7aac2c52', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
21075
+ return (h$1(Host$1, { key: '38cb85c6698c5541793a1e5d34b36417cd743759' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'd81b9837c43c1a19a2d87b51cede9e7c32bda50c', htmlFor: this.inputId }, h$1("slot", { key: '9d7c10281b117f2006ca1997f91e4e0b99fc5ab5', name: "label" }, this.label))), h$1("div", { key: '2796a31f2aac0604054c4542564fca77c2ac4272', class: "select-wrapper" }, h$1("slot", { key: '0407c6379597b09e1bb11ee6b43110b1d5fb98ea', name: "before-input" }), h$1("div", { key: 'c0ae999fc017fb0352b0a1cfe2ff75e313955f23', class: "select-container", onClick: this.handleSelectContainerClick }, h$1("slot", { key: 'ea2b63ddb3b70521b63e15efd1c3daf06c38cc0a', name: "leading-input" }), this.internalReadonly && (h$1("input", { key: 'f543f67c0360ac315ed873eb14a93af35dd90670', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
20907
21076
  ? `${this.inputId}-error`
20908
- : `${this.inputId}-description` })), h$1("select", { key: '597815200ff13a3a94c5f8cf2f31f292630831a1', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
21077
+ : `${this.inputId}-description` })), h$1("select", { key: 'b2ae3854c40ea798069417127cd763c8a0db040e', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
20909
21078
  ? `${this.inputId}-error`
20910
- : `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (h$1("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h$1("slot", null))), h$1("div", { key: 'e7315331865264cfceefc37333f29f503cfaca60', class: "select-icons" }, this.error && (h$1("nv-icon", { key: '20b2a3b436a31b4528c0a6336433baa20f1dade7', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '6ddb9ce572a0e66670ea3a3f084c08b465a1054f', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (h$1("nv-iconbutton", { key: '7df5645e762451036ba84e8ae7e533f6d9c9e89e', name: "chevron-down", size: "md", emphasis: "lower", tabIndex: -1 })))), h$1("slot", { key: '43220cb3c92d9876e2f22645ed695c076439999a', name: "after-input" })), (this.description ||
20911
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '7ca06f0ec81f82cce825045bef226bdaeaa2774d', class: "description", id: `${this.inputId}-description` }, h$1("slot", { key: '008a54ac423cfe534214d0f32d5b557419d60aaf', name: "description" }, this.description))), (this.errorDescription ||
20912
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '1c5d34d7441cdaa28c463f062c74070b8193433e', class: "error-description", id: `${this.inputId}-error` }, h$1("slot", { key: '98a88b41c33a87541d2b3833ca95fc5dff7a8d2e', name: "error-description" }, this.errorDescription)))));
21079
+ : `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (h$1("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h$1("slot", null))), h$1("div", { key: 'dd59af14105272eaa77218136f5b7b0b40a5b40b', class: "select-icons" }, this.error && (h$1("nv-icon", { key: '719e239472f6b697298682cc8d1b10933d3504ec', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '5d63d5ddbcd8f46296bc067afd45f3921f4f3917', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (h$1("nv-iconbutton", { key: '978a540682409a88ce55d2219dbeb9f2fc82cd51', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), h$1("slot", { key: '3483846a9f38be08caaf6f2b02332caefae0cbed', name: "after-input" })), (this.description ||
21080
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '5b47c05942549b6e2238696132ab2f3c9af5b7f0', class: "description", id: `${this.inputId}-description` }, h$1("slot", { key: '46b7f053ae343949b540240e1ec438850bb9a015', name: "description" }, this.description))), (this.errorDescription ||
21081
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '6126ab6967fc430c6a1d3ddfb191a98a8c2ecce9', class: "error-description", id: `${this.inputId}-error` }, h$1("slot", { key: 'afc6a0443c6fe1175213d36a2c59ffefe2923eab', name: "error-description" }, this.errorDescription)))));
20913
21082
  }
20914
21083
  static get formAssociated() { return true; }
20915
21084
  get el() { return this; }
@@ -20960,7 +21129,7 @@ function defineCustomElement$1$9() {
20960
21129
  break;
20961
21130
  case "nv-icon":
20962
21131
  if (!customElements.get(tagName)) {
20963
- defineCustomElement$S();
21132
+ defineCustomElement$R();
20964
21133
  }
20965
21134
  break;
20966
21135
  case "nv-iconbutton":
@@ -21084,9 +21253,9 @@ const NvFieldtext$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtext extends
21084
21253
  /****************************************************************************/
21085
21254
  //#region RENDER
21086
21255
  render() {
21087
- return (h$1(Host$1, { key: '9979c9c835f414965a4ae1ee3db398ee6223c3a9' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '899abb4f3faaa65e1f32738e7ab91440dcc32fd2', htmlFor: this.inputId }, h$1("slot", { key: 'f82bb9e2e63d56afb8078ffcdaee8da6d2b3df87', name: "label" }, this.label))), h$1("div", { key: 'b75dfdfc0c875db7019a23c084133b90d957ed8e', class: "input-wrapper" }, h$1("slot", { key: 'cf4cd32cd106bee88c662fd0960e67ba87dddbc9', name: "before-input" }), h$1("div", { key: '2f005ef34a722424dcf86c9e189d1ab001bd2495', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '0d554159f716ed6a4dae76a6b0befd05cdf97173', name: "leading-input" }), h$1("input", { key: '8dbba6bce4617cbd3d9168b897c0101c83fb6e1e', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), this.error && (h$1("nv-icon", { key: 'cb4a0028e53aefcaf9b3127488811ea9d66cd305', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '307fa39a19684d92b5e64ce83301dac337948822', name: "circle-check", class: "validation", size: "md" }))), h$1("slot", { key: 'a8eb4186286fd472b7c0d515be544e6331bad33c', name: "after-input" })), (this.description ||
21088
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'f5bd9926035d6d8829382adea3f68eb633bbf738', class: "description" }, h$1("slot", { key: '561c28cc04225e9d84a86b161714efde4882debe', name: "description" }, this.description))), (this.errorDescription ||
21089
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '09e08c344f477d70f698a9c11e38c737667c4ef6', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '117cd688cb63f5411225d468ca2071b19c1be39f', name: "error-description" }, this.errorDescription)))));
21256
+ return (h$1(Host$1, { key: 'e4891525becd4b0757ec380d45d9694ebc6c3318' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '1157e609be8150d014e9190dcf53f74bcee20119', htmlFor: this.inputId }, h$1("slot", { key: '888fb12e994f6f4f47bc2be496cd74aeedb628c0', name: "label" }, this.label))), h$1("div", { key: '0555b12dbbe5fa81f5af464d3b48c35b243aec32', class: "input-wrapper" }, h$1("slot", { key: '5210a9b903c560775453741d8815286dbe8bbb53', name: "before-input" }), h$1("div", { key: '7bc11232dfa46706982bf3645054a7a1f67832f9', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '87abc6976b432a3dc51246c97564108f9baccff8', name: "leading-input" }), h$1("input", { key: 'b0c3e30bc5363f6b49ea1361005e125826184016', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), this.error && (h$1("nv-icon", { key: '5e359bc40906bbf2c63eb7d196dd8294b15dd672', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '4812b31e512bf388fa84f9d35a949de5f9b86d59', name: "circle-check", class: "validation", size: "md" }))), h$1("slot", { key: '06922c63f02470be6c74ee6ba4bf93baabd03e57', name: "after-input" })), (this.description ||
21257
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '960bcb53a55aed3e1b8cd1b193ad26f5c6b151fd', class: "description" }, h$1("slot", { key: '07c09b8543e9b91928821a100869943de94a65a7', name: "description" }, this.description))), (this.errorDescription ||
21258
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '456d00a47f01f70938d99faa774da1a9e51b036d', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '590aef8c37efd2fa472c9b7b92fd82d29c4e6d39', name: "error-description" }, this.errorDescription)))));
21090
21259
  }
21091
21260
  static get formAssociated() { return true; }
21092
21261
  get el() { return this; }
@@ -21128,7 +21297,7 @@ function defineCustomElement$1$8() {
21128
21297
  break;
21129
21298
  case "nv-icon":
21130
21299
  if (!customElements.get(tagName)) {
21131
- defineCustomElement$S();
21300
+ defineCustomElement$R();
21132
21301
  }
21133
21302
  break;
21134
21303
  } });
@@ -21311,9 +21480,9 @@ const NvFieldtextarea$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtextarea
21311
21480
  /****************************************************************************/
21312
21481
  //#region RENDER
21313
21482
  render() {
21314
- return (h$1(Host$1, { key: '967dc1eda269d0e3df1351d3e34b8be14f9cb639' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '4337acb56fc6712eb0a3e509b2a551043b43eadf', htmlFor: this.inputId }, h$1("slot", { key: 'c7229aad2d78f79fad1f103908976efefe282b01', name: "label" }, this.label))), h$1("div", { key: 'a33155dbb4d6b5d481503225136435690eebf819', class: "textarea-wrapper" }, h$1("div", { key: '14dbd33038acef44773bcf925dcb1fa9531bb6e9', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h$1("textarea", { key: 'eee274bac197d25f99114f95684996e1fa933b57', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
21315
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'f3f214c3a3e3ee03b3ac44d7dcf6224f3d58585d', class: "description" }, h$1("slot", { key: '803bf10aec909ab4c55098818df6bcd3e22a1957', name: "description" }, this.description))), (this.errorDescription ||
21316
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'aefd1d3ed4ed2535b06cd314ffe0b19506f7510d', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'e43344938bda4acb4523998e9d21f5b6d8300d1a', name: "error-description" }, this.errorDescription)))));
21483
+ return (h$1(Host$1, { key: '606902cda67b3f523ab32d8e9c6fd11b6bc0f3a7' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '3167dfd5f17028ad20a82b5646ccfa788a5bbb86', htmlFor: this.inputId }, h$1("slot", { key: 'ae98d87f3e1b7cb2864b6b7e7183d3a37c1a7e14', name: "label" }, this.label))), h$1("div", { key: '8f25bdadd8f94938dc9b6c631b0586fc6bcbc37c', class: "textarea-wrapper" }, h$1("div", { key: '6568df9f332e8bca84445ba596d6eceaaed64b9e', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h$1("textarea", { key: 'fca9ba5bd6925cc1a201625e5785ad451fc8849b', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
21484
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'c5c8c1999105df446a603a3e02f431ad37de4c5e', class: "description" }, h$1("slot", { key: 'bbcea14c7585e1ff1c995eb4f21cb532a160ed40', name: "description" }, this.description))), (this.errorDescription ||
21485
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '2d43d92b5c9b93faeac45bdcfa142d4dfd70511a', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '33514ea705969b353f11c49ca65090706e6aadf8', name: "error-description" }, this.errorDescription)))));
21317
21486
  }
21318
21487
  static get formAssociated() { return true; }
21319
21488
  get el() { return this; }
@@ -22342,26 +22511,26 @@ const NvFieldtime$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtime extends
22342
22511
  }, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
22343
22512
  }
22344
22513
  render() {
22345
- return (h$1(Host$1, { key: '1ef0b47c6886db0b91833d4680638eeafe886894', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '7f0c658c7ad89e2f0fb5100a4de46d368b8edf85', htmlFor: this.inputId }, h$1("slot", { key: '2378b6f07660bb1c536e52a9e48b7a633f9d8bca', name: "label" }, this.label))), h$1("nv-popover", { key: 'cc543c978adc3a58c343688b3b579240abfd244d', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '776927c5aec228f04c0079cc51d7772e50425dae', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: '9d5324592d1a1e9aed17a4bcdcdfcd0e5be88632', name: "before-input" }), h$1("div", { key: 'ed804b5a42ac0bff1c142f2374d5b32c45d3f5bb', class: "input-container" }, h$1("slot", { key: 'a2085ff4c458cd9cbf5d5824bd2f3624b71560b3', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
22346
- h$1("input", { key: 'a21fb6c62075b878dd849d9860bdee7cf8d56e61', ref: el => (this.inputElements[TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Hours), name: this.name
22514
+ return (h$1(Host$1, { key: 'fb5bc4740731089bf81ab7b24e57f24f966c5f92', onclick: e => this.handleHostClick(e) }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'd9f44f4ab94a13a620df743979d95b1f59572bfe', htmlFor: this.inputId }, h$1("slot", { key: 'fbc8176ea3443511764b2993939d1110fd932a5a', name: "label" }, this.label))), h$1("nv-popover", { key: 'ea376ec38db428db158c998e8963e27048ef03b0', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'fa825918cea4a64db76324f953645f6db7cb81b9', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: '37d7fd2eae40e4f47e9b626c226d060cf5e350e2', name: "before-input" }), h$1("div", { key: '6b73d8c9598bfaf470b5c5a455db0b08397cc8c8', class: "input-container" }, h$1("slot", { key: '88f20151d7ccc1e3ad6f6aba4b5926cccc22c19c', name: "leading-input" }), startsWithIgnoreCase(this.format, 'HH') && [
22515
+ h$1("input", { key: '292ee8c62fd248b28fb46275ba06846d69b3b602', ref: el => (this.inputElements[TimeType.Hours] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.hours, onInput: e => this.handleInputChange(e, TimeType.Hours), placeholder: this.format.includes('hh') ? 'hh' : 'HH', inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Hours), name: this.name
22347
22516
  ? `${TimeType.Hours}-${this.name}`
22348
22517
  : TimeType.Hours, id: this.inputId, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
22349
22518
  ], this.format.includes('mm') && [
22350
- h$1("span", { key: 'cb0a76c804e60fb918980271cc2e19c389f6ffbc' }, ":"),
22351
- h$1("input", { key: '5ea428290a17350d74e3038728d0992c6fdad28e', ref: el => (this.inputElements[TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Minutes), name: this.name
22519
+ h$1("span", { key: 'c7de2283771d60e1e9f756257e34da0eefcf27f3' }, ":"),
22520
+ h$1("input", { key: '521fad8cc60c9ced2ba634441b789fba15340ae7', ref: el => (this.inputElements[TimeType.Minutes] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.minutes, onInput: e => this.handleInputChange(e, TimeType.Minutes), placeholder: "mm", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Minutes), name: this.name
22352
22521
  ? `${TimeType.Minutes}-${this.name}`
22353
22522
  : TimeType.Minutes, id: `${this.inputId}-minutes`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
22354
22523
  ], this.format.includes('ss') && [
22355
- h$1("span", { key: '68c7d188eee595668066e82fbfa60f387d1078f6' }, ":"),
22356
- h$1("input", { key: '23345802e5b7b9ea2e98fc47ca0ed88fec1f2176', ref: el => (this.inputElements[TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Seconds), name: this.name
22524
+ h$1("span", { key: 'ceef993e3efdc2fa01d466033522e09ee78683b1' }, ":"),
22525
+ h$1("input", { key: '9c51f0fcecb86a913e9ae4cd3c5bcfbf34ac4ab8', ref: el => (this.inputElements[TimeType.Seconds] = el), type: "number", autofocus: this.autofocus, class: "time-input", pattern: "[0-9]*", maxlength: "3", value: this.seconds, onInput: e => this.handleInputChange(e, TimeType.Seconds), placeholder: "ss", inputMode: "numeric", onFocus: () => this.handleFocus(TimeType.Seconds), name: this.name
22357
22526
  ? `${TimeType.Seconds}-${this.name}`
22358
22527
  : TimeType.Seconds, id: `${this.inputId}-seconds`, readonly: this.readonly, disabled: this.disabled, required: this.required, onKeyDown: e => this.handleKeyDown(e), onBlur: () => this.handleInputBlur() }),
22359
- ], h$1("nv-iconbutton", { key: '103fc264c69cf3f8cac073d7815d24b3fdf9a821', name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', "aria-pressed": this.open.toString(), onClick: () => this.HandleDropdownIconClick() }), this.error && (h$1("nv-icon", { key: 'c78ec167b3f228a03172eee52fe888a8456f5851', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h$1("nv-icon", { key: '845802ea8ebe47b66701a11663c1b5052a51a7e8', name: "circle-check", class: "validation", size: "sm" }))), h$1("slot", { key: 'd07b15d6baf4960bf12dec9cc883e89a969c08ea', name: "after-input" })), h$1("div", { key: 'c165f47781a106f0b586f7e39e30902c873faa07', class: "time-dropdown", slot: "content" }, h$1("div", { key: '2c544ba696b3ed2dc1db98ecc99b00d00f7b1531', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
22528
+ ], h$1("nv-iconbutton", { key: '7a5516b7d91dc99f6963ee9daacee9305b16dfb0', name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', "aria-pressed": this.open.toString(), onClick: () => this.HandleDropdownIconClick() }), this.error && (h$1("nv-icon", { key: 'a9a9a02e312caf25a52b91e1d4db6b6ee9d850d6', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h$1("nv-icon", { key: '93a69f343771dbdb8c6bd694ea9f5ddeeba39801', name: "circle-check", class: "validation", size: "sm" }))), h$1("slot", { key: '678d9af754b860ac99a50d70cb9b975e79f164c9', name: "after-input" })), h$1("div", { key: '2bd255e97d8b34b66fa0af2f209d5175e67b62a3', class: "time-dropdown", slot: "content" }, h$1("div", { key: '017b58a9a7ccb44918a408fb680fa1c18d8f5672', class: "time-columns" }, startsWithIgnoreCase(this.format, 'HH') &&
22360
22529
  this.RenderTimeOptionsColumn(TimeType.Hours), this.format.includes('mm') &&
22361
22530
  this.RenderTimeOptionsColumn(TimeType.Minutes), this.format.includes('ss') &&
22362
22531
  this.RenderTimeOptionsColumn(TimeType.Seconds)))), (this.description ||
22363
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'f096bace0439c56e5707e385df02cd0c8d76665c', class: "description" }, h$1("slot", { key: '2a90719cfeb9f95ca9f298a1dce3383bbbb99f47', name: "description" }, this.description))), (this.errorDescription ||
22364
- this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '62d7d553ac6ad2f1d86d241a3042093a1b95d5d0', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '03ff68aae8a2433f791da59721fd090f2573eebf', name: "error-description" }, this.errorDescription)))));
22532
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '35f5fb47bfeb9cde2c3551df391cf52ccaf10c72', class: "description" }, h$1("slot", { key: 'b450124765db5b2337f03a5f68c4a9466c80ca85', name: "description" }, this.description))), (this.errorDescription ||
22533
+ this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '87d441f595f7ba8be04ca749235ec3918e9a80b0', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '35717f533b4a4c310f4fb805c3989398f340b8b1', name: "error-description" }, this.errorDescription)))));
22365
22534
  }
22366
22535
  static get formAssociated() { return true; }
22367
22536
  get el() { return this; }
@@ -22406,7 +22575,7 @@ function defineCustomElement$1$6() {
22406
22575
  break;
22407
22576
  case "nv-icon":
22408
22577
  if (!customElements.get(tagName)) {
22409
- defineCustomElement$S();
22578
+ defineCustomElement$R();
22410
22579
  }
22411
22580
  break;
22412
22581
  case "nv-iconbutton":
@@ -22432,7 +22601,7 @@ const NvFieldtime$2 = NvFieldtime$1;
22432
22601
  const defineCustomElement$e = defineCustomElement$1$6;
22433
22602
 
22434
22603
  const NvIcon$1 = NvIcon$2;
22435
- const defineCustomElement$d = defineCustomElement$S;
22604
+ const defineCustomElement$d = defineCustomElement$R;
22436
22605
 
22437
22606
  const NvIconbutton$1 = NvIconbutton$2;
22438
22607
  const defineCustomElement$c = defineCustomElement$F;
@@ -22487,7 +22656,7 @@ const NvMenuitem$2 = /*@__PURE__*/ proxyCustomElement(class NvMenuitem extends H
22487
22656
  /****************************************************************************/
22488
22657
  //#region RENDER
22489
22658
  render() {
22490
- return (h$1(Host$1, { key: '2b59ea1b8582c9d5beac1e22c9547bebca9a19c0', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h$1("nv-icon", { key: 'bd72a3c8ffb0f2bfcecb11017493ee7476a8b34a', name: this.icon }), h$1("slot", { key: 'a3f396ca95fcb14fba1861f641e11abac06c7fe8' }), this.label && h$1("span", { key: 'ffffe933ab348dc617bb2d76f96e6e11e6ea5900', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h$1("kbd", { key: 'cc76611b2a113cfa309ba3655d5c335d996380b3' }, this.shortcut), this.hasSubmenu && h$1("nv-icon", { key: '3e90fdb722f845e24d6588b604f292dd7ee2ea4a', name: "chevron-right" })));
22659
+ return (h$1(Host$1, { key: 'd736bc00759cb97fe52d2d6dc091667057a5585c', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h$1("nv-icon", { key: 'cf29c75feedcb61d16d33433f834751c821a4256', name: this.icon }), h$1("slot", { key: '0ebe8b2faac9981023c224e3c5cd4f131e088c0e' }), this.label && h$1("span", { key: 'd2659aceb0ecc1cad794ae16d15432379677012c', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h$1("kbd", { key: '7d7772b6efda6faccafc425772c905d4aabd2ef5' }, this.shortcut), this.hasSubmenu && h$1("nv-icon", { key: 'c756d3ceffc907fa0c37338595a7fd09f8238a7b', name: "chevron-right" })));
22491
22660
  }
22492
22661
  get el() { return this; }
22493
22662
  static get style() { return NvMenuitemStyle0; }
@@ -22512,7 +22681,7 @@ function defineCustomElement$a() {
22512
22681
  break;
22513
22682
  case "nv-icon":
22514
22683
  if (!customElements.get(tagName)) {
22515
- defineCustomElement$S();
22684
+ defineCustomElement$R();
22516
22685
  }
22517
22686
  break;
22518
22687
  } });
@@ -22546,30 +22715,28 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
22546
22715
  */
22547
22716
  this.disableCloseOnSelect = false;
22548
22717
  /**
22549
- * Decides where the menu shows up next to the button its linked to (above,
22550
- * below, to the sides). If there isnt enough room, it will adjust its
22718
+ * Decides where the menu shows up next to the button it's linked to (above,
22719
+ * below, to the sides). If there isn't enough room, it will adjust its
22551
22720
  * position on the axis to fit on the screen, so users can always see it.
22552
22721
  */
22553
22722
  this.placement = 'bottom-end';
22723
+ //#endregion LIFECYCLE
22724
+ /****************************************************************************/
22725
+ //#region RENDER
22554
22726
  /**
22555
- * Parsed items stored in state.
22727
+ * Generates menu items from the `items` property.
22728
+ * @param {MenuItem[]} items - The items to display in the menu.
22729
+ * @returns {HTMLElement[]} The rendered items.
22556
22730
  */
22557
- this.parsedItems = [];
22558
- }
22559
- /**
22560
- * Watcher to parse the items when the `items` property changes.
22561
- * @param {string} newValue - The new value of the `items` property.
22562
- */
22563
- handleItemsChange(newValue) {
22564
- if (typeof newValue === 'string') {
22565
- try {
22566
- this.parsedItems = JSON.parse(newValue);
22567
- }
22568
- catch (error) {
22569
- console.error('Error parsing menu items:', error);
22570
- this.parsedItems = [];
22571
- }
22572
- }
22731
+ this.renderMenuItems = () => {
22732
+ return this.items.map(item => {
22733
+ var _a;
22734
+ if (item.hasSubmenu && ((_a = item.submenuItems) === null || _a === void 0 ? void 0 : _a.length) > 0) {
22735
+ return (h$1("nv-menu", { nested: true, placement: "right-start", items: item.submenuItems }, h$1("nv-menuitem", { slot: "trigger", hasSubmenu: true, disabled: item.disabled, icon: item.icon, shortcut: item.shortcut, id: item.value, name: item.label, label: item.label })));
22736
+ }
22737
+ return (h$1("nv-menuitem", { disabled: item.disabled, icon: item.icon, shortcut: item.shortcut, id: item.value, name: item.label, label: item.label }));
22738
+ });
22739
+ };
22573
22740
  }
22574
22741
  //#endregion PROPERTIES
22575
22742
  /****************************************************************************/
@@ -22709,48 +22876,21 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
22709
22876
  this.triggerElement = Array.from(this.el.children).find(child => {
22710
22877
  return child.getAttribute('slot') === 'trigger';
22711
22878
  });
22712
- // If the items attribute is provided, parse its value.
22713
- if (this.items) {
22714
- this.handleItemsChange(this.items);
22715
- }
22716
- }
22717
- //#endregion LIFECYCLE
22718
- /****************************************************************************/
22719
- //#region RENDER
22720
- /**
22721
- * Generates menu items from the `items` property.
22722
- * @param {MenuItem[]} items - The items to display in the menu.
22723
- * @returns {HTMLElement[]} The rendered items.
22724
- */
22725
- renderMenuItems(items) {
22726
- return items.map(item => {
22727
- var _a;
22728
- if (item.hasSubmenu && ((_a = item.submenuItems) === null || _a === void 0 ? void 0 : _a.length) > 0) {
22729
- return (h$1("nv-menu", { nested: true, placement: "right-start", items: JSON.stringify(item.submenuItems) }, h$1("nv-menuitem", { slot: "trigger", "has-submenu": true, disabled: item.disabled, icon: item.icon, shortcut: item.shortcut, id: item.value, name: item.label, label: item.label })));
22730
- }
22731
- return (h$1("nv-menuitem", { disabled: item.disabled, icon: item.icon, shortcut: item.shortcut, id: item.value, name: item.label, label: item.label }));
22732
- });
22733
22879
  }
22734
22880
  render() {
22735
- return (h$1(Host$1, { key: '848044034b707f29f791fa984cc51b606498b162' }, h$1("slot", { key: '385c9081f84034215745ea79d096cf8e3cebbf8e', name: "trigger" }), h$1("nv-popover", { key: 'b47a09258a76f608e0eba173039ec8ec49b6186a', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.parsedItems.length > 0 ? (h$1("ul", { slot: "content" }, this.renderMenuItems(this.parsedItems))) : (h$1("slot", { name: "content" })))));
22881
+ return (h$1(Host$1, { key: 'b66fd4f51c7f754d2d49265fe6175cc1a2c0b03a' }, h$1("slot", { key: 'acd3dc4ad3ed94a4bcbef735049e59bf37a8f67d', name: "trigger" }), h$1("nv-popover", { key: '28218c78f3fa21a9dcfd5ea13d3416eda11efc49', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.items ? (h$1("ul", { slot: "content" }, this.renderMenuItems())) : (h$1("slot", { name: "content" })))));
22736
22882
  }
22737
22883
  get el() { return this; }
22738
- static get watchers() { return {
22739
- "items": ["handleItemsChange"]
22740
- }; }
22741
22884
  static get style() { return NvMenuStyle0; }
22742
22885
  }, [4, "nv-menu", {
22743
22886
  "open": [1540],
22744
22887
  "nested": [516],
22745
22888
  "disableCloseOnSelect": [516, "disable-close-on-select"],
22746
22889
  "placement": [513],
22747
- "items": [513],
22748
- "parsedItems": [32],
22890
+ "items": [16],
22749
22891
  "show": [64],
22750
22892
  "close": [64]
22751
- }, [[0, "menuitemSelected", "handleMenuItemSelect"], [0, "keydown", "handleKeydown"], [0, "openChanged", "handleOpenChanged"]], {
22752
- "items": ["handleItemsChange"]
22753
- }]);
22893
+ }, [[0, "menuitemSelected", "handleMenuItemSelect"], [0, "keydown", "handleKeydown"], [0, "openChanged", "handleOpenChanged"]]]);
22754
22894
  function defineCustomElement$1$5() {
22755
22895
  if (typeof customElements === "undefined") {
22756
22896
  return;
@@ -22764,7 +22904,7 @@ function defineCustomElement$1$5() {
22764
22904
  break;
22765
22905
  case "nv-icon":
22766
22906
  if (!customElements.get(tagName)) {
22767
- defineCustomElement$S();
22907
+ defineCustomElement$R();
22768
22908
  }
22769
22909
  break;
22770
22910
  case "nv-menu":
@@ -22806,7 +22946,7 @@ const NvRow$1 = /*@__PURE__*/ proxyCustomElement(class NvRow extends H {
22806
22946
  /****************************************************************************/
22807
22947
  //#region RENDER
22808
22948
  render() {
22809
- return (h$1(Host$1, { key: 'd6f9bbc1ed59bfc59a97728896c0443c8e104e59' }, h$1("slot", { key: '3d9c1c809524d0a4b9d8ad541ead8978d246c998' })));
22949
+ return (h$1(Host$1, { key: '7daaa109808165553e69707c72550f284e087011' }, h$1("slot", { key: 'a00fd8c81352b485d8508f9bd68af4dd81d959e1' })));
22810
22950
  }
22811
22951
  static get style() { return NvRowStyle0; }
22812
22952
  }, [4, "nv-row"]);
@@ -22847,7 +22987,7 @@ const NvStack$1 = /*@__PURE__*/ proxyCustomElement(class NvStack extends H {
22847
22987
  /****************************************************************************/
22848
22988
  //#region RENDER
22849
22989
  render() {
22850
- return (h$1(Host$1, { key: 'aef0e6f873f68880d20b5ae9f4f56ece40e8a0ee', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gutter-x-${this.gutter}`, this.gutter && this.vertical && `gutter-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h$1("slot", { key: 'd003e23ec3c9b4a5c4496bc9f4c170af467b311e' })));
22990
+ return (h$1(Host$1, { key: '02e184fbc9e9ddd4b02b107baf093047fa3697b0', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h$1("slot", { key: '1a501fcc419f97f2714be822120072b49590e5ea' })));
22851
22991
  }
22852
22992
  static get style() { return NvStackStyle0; }
22853
22993
  }, [4, "nv-stack", {
@@ -23186,14 +23326,14 @@ const NvTable$1 = /*@__PURE__*/ proxyCustomElement(class NvTable extends H {
23186
23326
  const rows = !this.table || this.table === undefined || this.parsedData.length === 0
23187
23327
  ? []
23188
23328
  : this.table.data;
23189
- return (h$1(Host$1, { key: 'bf96a7c40a0960fc68778c33ec63a1d574993408' }, h$1("div", { key: '77e4ace0a9925ef6f5f7e1f51a2abc0c381d8ba5', class: "hidden" }, h$1("slot", { key: 'cdeb4abdd65d0e5de7064af63b1a39e661d4b49b' })), h$1("slot", { key: '4322aeb2858716be200a8d6851ef1d47ee0c44bb', name: "before" }), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (h$1("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (h$1("table", { class: "table" }, this.parsedColumns.length > 0 && headerGroups.length > 0 && (h$1("thead", { class: "table-header" }, h$1("tr", null, headerGroups &&
23329
+ return (h$1(Host$1, { key: 'b2962fba4d5a12aa660d0c0f69298c93947ef592' }, h$1("div", { key: 'f60e5c09d57c0ccf5cb9996ca85fcc8792270b85', class: "hidden" }, h$1("slot", { key: '9c4aefff542478535b3f342b1c75f68d717c3bf8' })), h$1("slot", { key: 'bfd0f5406187bcad69d9ed41e2f294314a3572f1', name: "before" }), this.parsedColumns.length === 0 && this.parsedData.length === 0 ? (h$1("div", { class: "no-data" }, this.noColumnsNoDataMessage)) : (h$1("table", { class: "table" }, this.parsedColumns.length > 0 && headerGroups.length > 0 && (h$1("thead", { class: "table-header" }, h$1("tr", null, headerGroups &&
23190
23330
  headerGroups.map(col => {
23191
23331
  return (h$1("th", { key: col.name }, this.renderTemplate(this.headerTemplateCache.get(col.name), {}) || col.header));
23192
23332
  })))), h$1("tbody", { class: "table-body" }, !rows || rows.length === 0 ? (h$1("tr", null, h$1("td", { colSpan: headerGroups.length || 12, class: "no-data" }, this.noDataMessage))) : (rows.map(row => (h$1("tr", { key: JSON.stringify(row) }, headerGroups.map(col => {
23193
23333
  var _a;
23194
23334
  return (h$1("td", null, this.renderTemplate(this.templateCache.get(col.name), row) ||
23195
23335
  ((_a = row[col.name]) !== null && _a !== void 0 ? _a : this.fallbackValue)));
23196
- })))))))), h$1("slot", { key: 'e5e490de2ff568c962368f39dbcd5c119e814b0d', name: "after" })));
23336
+ })))))))), h$1("slot", { key: 'e0039c9af9506bc8f2ded8cc81bbd2667ee1f2c1', name: "after" })));
23197
23337
  }
23198
23338
  get el() { return this; }
23199
23339
  static get watchers() { return {
@@ -23336,8 +23476,8 @@ const NvToggle$1 = /*@__PURE__*/ proxyCustomElement(class NvToggle extends H {
23336
23476
  /****************************************************************************/
23337
23477
  //#region RENDER
23338
23478
  render() {
23339
- return (h$1(Host$1, { key: '6728159c0c7f622fbcc5017a116ec0dd1fe28b39', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h$1("div", { key: '2155eacf39771790ca730f264f9c490f6e93794b', class: "input-container" }, h$1("input", { key: '588a638b678c7d26fd0050a54fbd86ab029c18d0', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), h$1("div", { key: 'ba543a1282f8244449c3682bc43c8481d0c588dd', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'beab39ef75d445e43bf4d127ea9f0c7130bae25f', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: 'fd60c679cf1514fc2d01c39a8e13e6dc6fd3287e', name: "label" }, this.label))), (this.description ||
23340
- this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '42582783ac08557d55bf8f80fa68f2f565f7208f', class: "description" }, h$1("slot", { key: '889f7408fd401816ffb6dff0c264e265911e3b79', name: "description" }, this.description))))));
23479
+ return (h$1(Host$1, { key: 'e80390a43bab3d55373f6b05db1516210f90c3b5', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h$1("div", { key: '66156f05cc18bb63a8625cdff72d9c177e4cf86b', class: "input-container" }, h$1("input", { key: 'db0c2c078c23431605befb8dd972a29bfdefb16f', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), h$1("div", { key: '576df464b48fa11bf8a46bede5f1d822db569636', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'f529b009876a5de5061747f78372a66ccfdcac61', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: '3ace029242d920b783fe0038f8721b416f54633f', name: "label" }, this.label))), (this.description ||
23480
+ this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '2eeb41266ee52ef40c1600750084fda0fac8dc6f', class: "description" }, h$1("slot", { key: '605541594fcc7f3192766a5395c5a81f42de7728', name: "description" }, this.description))))));
23341
23481
  }
23342
23482
  static get formAssociated() { return true; }
23343
23483
  get el() { return this; }
@@ -23425,14 +23565,14 @@ const NvAlert = E({
23425
23565
  onHiddenChangedComplete: 'hiddenChangedComplete',
23426
23566
  onCloseClicked: 'closeClicked'
23427
23567
  },
23428
- defineCustomElement: defineCustomElement$R
23568
+ defineCustomElement: defineCustomElement$Q
23429
23569
  });
23430
23570
  const NvAvatar = E({
23431
23571
  tagName: 'nv-avatar',
23432
23572
  elementClass: NvAvatar$2,
23433
23573
  react: React,
23434
23574
  events: {},
23435
- defineCustomElement: defineCustomElement$Q
23575
+ defineCustomElement: defineCustomElement$P
23436
23576
  });
23437
23577
  const NvBadge = E({
23438
23578
  tagName: 'nv-badge',
@@ -23443,13 +23583,6 @@ const NvBadge = E({
23443
23583
  onHiddenChanged: 'hiddenChanged',
23444
23584
  onHiddenChangedComplete: 'hiddenChangedComplete'
23445
23585
  },
23446
- defineCustomElement: defineCustomElement$O
23447
- });
23448
- const NvBase = E({
23449
- tagName: 'nv-base',
23450
- elementClass: NvBase$1,
23451
- react: React,
23452
- events: {},
23453
23586
  defineCustomElement: defineCustomElement$N
23454
23587
  });
23455
23588
  const NvBreadcrumb = E({
@@ -23789,151 +23922,147 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
23789
23922
  case 'nv-alert':
23790
23923
  return Promise.resolve().then(function () { return require(
23791
23924
  /* webpackMode: "lazy" */
23792
- './nv-alert.entry-DH8Qd2s2.js'); }).then(processMod, consoleError);
23925
+ './nv-alert.entry-BXY4KXbF.js'); }).then(processMod, consoleError);
23793
23926
  case 'nv-avatar':
23794
23927
  return Promise.resolve().then(function () { return require(
23795
23928
  /* webpackMode: "lazy" */
23796
- './nv-avatar.entry-B3-elLZC.js'); }).then(processMod, consoleError);
23797
- case 'nv-base':
23798
- return Promise.resolve().then(function () { return require(
23799
- /* webpackMode: "lazy" */
23800
- './nv-base.entry-D-_RUZTX.js'); }).then(processMod, consoleError);
23929
+ './nv-avatar.entry-BnPSKkJJ.js'); }).then(processMod, consoleError);
23801
23930
  case 'nv-breadcrumb':
23802
23931
  return Promise.resolve().then(function () { return require(
23803
23932
  /* webpackMode: "lazy" */
23804
- './nv-breadcrumb.entry-DG49Nj1L.js'); }).then(processMod, consoleError);
23933
+ './nv-breadcrumb.entry-D5vGHLOG.js'); }).then(processMod, consoleError);
23805
23934
  case 'nv-breadcrumbs':
23806
23935
  return Promise.resolve().then(function () { return require(
23807
23936
  /* webpackMode: "lazy" */
23808
- './nv-breadcrumbs.entry-BqJO5pbN.js'); }).then(processMod, consoleError);
23937
+ './nv-breadcrumbs.entry-CsaqAsnb.js'); }).then(processMod, consoleError);
23809
23938
  case 'nv-col':
23810
23939
  return Promise.resolve().then(function () { return require(
23811
23940
  /* webpackMode: "lazy" */
23812
- './nv-col.entry-wcZ9HHAb.js'); }).then(processMod, consoleError);
23941
+ './nv-col.entry-Cng8NaTW.js'); }).then(processMod, consoleError);
23813
23942
  case 'nv-datagrid':
23814
23943
  return Promise.resolve().then(function () { return require(
23815
23944
  /* webpackMode: "lazy" */
23816
- './nv-datagrid.entry-GCLeN2qT.js'); }).then(processMod, consoleError);
23945
+ './nv-datagrid.entry-BbAOzpiO.js'); }).then(processMod, consoleError);
23817
23946
  case 'nv-datagridcolumn':
23818
23947
  return Promise.resolve().then(function () { return require(
23819
23948
  /* webpackMode: "lazy" */
23820
- './nv-datagridcolumn.entry-lgIz71UU.js'); }).then(processMod, consoleError);
23949
+ './nv-datagridcolumn.entry-CRogHbVM.js'); }).then(processMod, consoleError);
23821
23950
  case 'nv-dialog':
23822
23951
  return Promise.resolve().then(function () { return require(
23823
23952
  /* webpackMode: "lazy" */
23824
- './nv-dialog.entry-DfY0TaYp.js'); }).then(processMod, consoleError);
23953
+ './nv-dialog.entry-BSIZGYGF.js'); }).then(processMod, consoleError);
23825
23954
  case 'nv-fielddate':
23826
23955
  return Promise.resolve().then(function () { return require(
23827
23956
  /* webpackMode: "lazy" */
23828
- './nv-fielddate.entry-DJePv6tR.js'); }).then(processMod, consoleError);
23957
+ './nv-fielddate.entry-qAvLX_Ru.js'); }).then(processMod, consoleError);
23829
23958
  case 'nv-fielddaterange':
23830
23959
  return Promise.resolve().then(function () { return require(
23831
23960
  /* webpackMode: "lazy" */
23832
- './nv-fielddaterange.entry--YC750sX.js'); }).then(processMod, consoleError);
23961
+ './nv-fielddaterange.entry-DVB8Rwxk.js'); }).then(processMod, consoleError);
23833
23962
  case 'nv-fielddropdown':
23834
23963
  return Promise.resolve().then(function () { return require(
23835
23964
  /* webpackMode: "lazy" */
23836
- './nv-fielddropdown.entry-BPlTlc_S.js'); }).then(processMod, consoleError);
23965
+ './nv-fielddropdown.entry-DKXmoXeW.js'); }).then(processMod, consoleError);
23837
23966
  case 'nv-fieldmultiselect':
23838
23967
  return Promise.resolve().then(function () { return require(
23839
23968
  /* webpackMode: "lazy" */
23840
- './nv-fieldmultiselect.entry-Bg_v0LUF.js'); }).then(processMod, consoleError);
23969
+ './nv-fieldmultiselect.entry-DrTbd3Dj.js'); }).then(processMod, consoleError);
23841
23970
  case 'nv-fieldnumber':
23842
23971
  return Promise.resolve().then(function () { return require(
23843
23972
  /* webpackMode: "lazy" */
23844
- './nv-fieldnumber.entry-BLNaq7yr.js'); }).then(processMod, consoleError);
23973
+ './nv-fieldnumber.entry-DegbEHRL.js'); }).then(processMod, consoleError);
23845
23974
  case 'nv-fieldpassword':
23846
23975
  return Promise.resolve().then(function () { return require(
23847
23976
  /* webpackMode: "lazy" */
23848
- './nv-fieldpassword.entry-iSEdS5R8.js'); }).then(processMod, consoleError);
23977
+ './nv-fieldpassword.entry-gqjlEl7a.js'); }).then(processMod, consoleError);
23849
23978
  case 'nv-fieldradio':
23850
23979
  return Promise.resolve().then(function () { return require(
23851
23980
  /* webpackMode: "lazy" */
23852
- './nv-fieldradio.entry-Dov4vZkh.js'); }).then(processMod, consoleError);
23981
+ './nv-fieldradio.entry-CVEY4v6F.js'); }).then(processMod, consoleError);
23853
23982
  case 'nv-fieldselect':
23854
23983
  return Promise.resolve().then(function () { return require(
23855
23984
  /* webpackMode: "lazy" */
23856
- './nv-fieldselect.entry-NmpesarX.js'); }).then(processMod, consoleError);
23985
+ './nv-fieldselect.entry-BrCUuRWa.js'); }).then(processMod, consoleError);
23857
23986
  case 'nv-fieldtext':
23858
23987
  return Promise.resolve().then(function () { return require(
23859
23988
  /* webpackMode: "lazy" */
23860
- './nv-fieldtext.entry-r6oQajRS.js'); }).then(processMod, consoleError);
23989
+ './nv-fieldtext.entry-q9NnqL5c.js'); }).then(processMod, consoleError);
23861
23990
  case 'nv-fieldtextarea':
23862
23991
  return Promise.resolve().then(function () { return require(
23863
23992
  /* webpackMode: "lazy" */
23864
- './nv-fieldtextarea.entry-CJ2yQkfi.js'); }).then(processMod, consoleError);
23993
+ './nv-fieldtextarea.entry-B4qiLmX1.js'); }).then(processMod, consoleError);
23865
23994
  case 'nv-fieldtime':
23866
23995
  return Promise.resolve().then(function () { return require(
23867
23996
  /* webpackMode: "lazy" */
23868
- './nv-fieldtime.entry-Bxoj6N53.js'); }).then(processMod, consoleError);
23997
+ './nv-fieldtime.entry-Bp2IWjhN.js'); }).then(processMod, consoleError);
23869
23998
  case 'nv-row':
23870
23999
  return Promise.resolve().then(function () { return require(
23871
24000
  /* webpackMode: "lazy" */
23872
- './nv-row.entry-D6FeFpzG.js'); }).then(processMod, consoleError);
24001
+ './nv-row.entry-Cs2GDrcu.js'); }).then(processMod, consoleError);
23873
24002
  case 'nv-stack':
23874
24003
  return Promise.resolve().then(function () { return require(
23875
24004
  /* webpackMode: "lazy" */
23876
- './nv-stack.entry-zjJmztkO.js'); }).then(processMod, consoleError);
24005
+ './nv-stack.entry-Ci7pxGSo.js'); }).then(processMod, consoleError);
23877
24006
  case 'nv-table':
23878
24007
  return Promise.resolve().then(function () { return require(
23879
24008
  /* webpackMode: "lazy" */
23880
- './nv-table.entry-CGX0jsR3.js'); }).then(processMod, consoleError);
24009
+ './nv-table.entry-N4MV8Y6E.js'); }).then(processMod, consoleError);
23881
24010
  case 'nv-tablecolumn':
23882
24011
  return Promise.resolve().then(function () { return require(
23883
24012
  /* webpackMode: "lazy" */
23884
- './nv-tablecolumn.entry-Cwdmo_RY.js'); }).then(processMod, consoleError);
24013
+ './nv-tablecolumn.entry-CTz4jsZl.js'); }).then(processMod, consoleError);
23885
24014
  case 'nv-toggle':
23886
24015
  return Promise.resolve().then(function () { return require(
23887
24016
  /* webpackMode: "lazy" */
23888
- './nv-toggle.entry-BvToMkI2.js'); }).then(processMod, consoleError);
24017
+ './nv-toggle.entry-m10-ncYR.js'); }).then(processMod, consoleError);
23889
24018
  case 'nv-badge_2':
23890
24019
  return Promise.resolve().then(function () { return require(
23891
24020
  /* webpackMode: "lazy" */
23892
- './nv-badge_2.entry-D15EDzX0.js'); }).then(processMod, consoleError);
24021
+ './nv-badge_2.entry-BsI3B8Rr.js'); }).then(processMod, consoleError);
23893
24022
  case 'nv-dialogfooter_2':
23894
24023
  return Promise.resolve().then(function () { return require(
23895
24024
  /* webpackMode: "lazy" */
23896
- './nv-dialogfooter_2.entry-OByWsulH.js'); }).then(processMod, consoleError);
24025
+ './nv-dialogfooter_2.entry-Q4_li_QU.js'); }).then(processMod, consoleError);
23897
24026
  case 'nv-fielddropdownitem':
23898
24027
  return Promise.resolve().then(function () { return require(
23899
24028
  /* webpackMode: "lazy" */
23900
- './nv-fielddropdownitem.entry-zwoGySum.js'); }).then(processMod, consoleError);
24029
+ './nv-fielddropdownitem.entry-BVLVXi0e.js'); }).then(processMod, consoleError);
23901
24030
  case 'nv-menu':
23902
24031
  return Promise.resolve().then(function () { return require(
23903
24032
  /* webpackMode: "lazy" */
23904
- './nv-menu.entry-wC7oSruP.js'); }).then(processMod, consoleError);
24033
+ './nv-menu.entry-BiWiIZAm.js'); }).then(processMod, consoleError);
23905
24034
  case 'nv-menuitem':
23906
24035
  return Promise.resolve().then(function () { return require(
23907
24036
  /* webpackMode: "lazy" */
23908
- './nv-menuitem.entry-BVSa1vrS.js'); }).then(processMod, consoleError);
24037
+ './nv-menuitem.entry-CFkXoZ_r.js'); }).then(processMod, consoleError);
23909
24038
  case 'nv-tooltip':
23910
24039
  return Promise.resolve().then(function () { return require(
23911
24040
  /* webpackMode: "lazy" */
23912
- './nv-tooltip.entry-DZ7_lB-p.js'); }).then(processMod, consoleError);
24041
+ './nv-tooltip.entry-B6aRDto3.js'); }).then(processMod, consoleError);
23913
24042
  case 'nv-calendar':
23914
24043
  return Promise.resolve().then(function () { return require(
23915
24044
  /* webpackMode: "lazy" */
23916
- './nv-calendar.entry-CMEgSU64.js'); }).then(processMod, consoleError);
24045
+ './nv-calendar.entry-CGKv_-gO.js'); }).then(processMod, consoleError);
23917
24046
  case 'nv-fieldcheckbox':
23918
24047
  return Promise.resolve().then(function () { return require(
23919
24048
  /* webpackMode: "lazy" */
23920
- './nv-fieldcheckbox.entry-Bqpe9BK3.js'); }).then(processMod, consoleError);
24049
+ './nv-fieldcheckbox.entry-DmgzfmRd.js'); }).then(processMod, consoleError);
23921
24050
  case 'nv-button':
23922
24051
  return Promise.resolve().then(function () { return require(
23923
24052
  /* webpackMode: "lazy" */
23924
- './nv-button.entry-CN9kB98T.js'); }).then(processMod, consoleError);
24053
+ './nv-button.entry-DzZfGZGy.js'); }).then(processMod, consoleError);
23925
24054
  case 'nv-popover':
23926
24055
  return Promise.resolve().then(function () { return require(
23927
24056
  /* webpackMode: "lazy" */
23928
- './nv-popover.entry-ChP1we3l.js'); }).then(processMod, consoleError);
24057
+ './nv-popover.entry-KT1iQUJk.js'); }).then(processMod, consoleError);
23929
24058
  case 'nv-iconbutton_2':
23930
24059
  return Promise.resolve().then(function () { return require(
23931
24060
  /* webpackMode: "lazy" */
23932
- './nv-iconbutton_2.entry-CnbscpNn.js'); }).then(processMod, consoleError);
24061
+ './nv-iconbutton_2.entry-BRPAGl2S.js'); }).then(processMod, consoleError);
23933
24062
  case 'nv-icon':
23934
24063
  return Promise.resolve().then(function () { return require(
23935
24064
  /* webpackMode: "lazy" */
23936
- './nv-icon.entry-CWKRt8F0.js'); }).then(processMod, consoleError);
24065
+ './nv-icon.entry-B1ax9cJS.js'); }).then(processMod, consoleError);
23937
24066
  }
23938
24067
  }
23939
24068
  return import(
@@ -26311,7 +26440,7 @@ const globalScripts = () => {};
26311
26440
  const defineCustomElements = async (win, options) => {
26312
26441
  if (typeof window === 'undefined') return undefined;
26313
26442
  await globalScripts();
26314
- return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"maxHeight\":[513,\"max-height\"],\"badgeLabel\":[513,\"badge-label\"],\"emptyResult\":[513,\"empty-result\"],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"autocomplete\":[513],\"filterable\":[1540],\"value\":[1537],\"open\":[1540],\"options\":[513],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"parsedOptions\":[32],\"selectedValues\":[32],\"sortedOptions\":[32],\"filterText\":[32],\"isFilterable\":[32],\"modeState\":[32],\"isHandlingEscape\":[32],\"getFilterText\":[64],\"resetFilter\":[64],\"getSelectedValues\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"itemChecked\",\"handleItemChecked\"],[0,\"slotchange\",\"handleSlotChange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"],\"filterable\":[\"watchFilterableHandler\"]}]]],[\"nv-fielddate\",[[4,\"nv-fielddate\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"autofocus\":[516],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"singleValue\":[32],\"open\":[32]},[[0,\"singleDateChange\",\"handleSingleDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fielddaterange\",[[4,\"nv-fielddaterange\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"description\":[513],\"startPlaceholder\":[513,\"start-placeholder\"],\"endPlaceholder\":[513,\"end-placeholder\"],\"startName\":[513,\"start-name\"],\"endName\":[513,\"end-name\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"shouldAutoFocus\":[516,\"should-auto-focus\"],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"startValue\":[32],\"endValue\":[32],\"open\":[32]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"],[5,\"touchstart\",\"handleDocumentTouch\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"open\":[1540],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[1540],\"options\":[513],\"autofocus\":[516],\"filterText\":[32],\"isFilterable\":[32],\"selectedValues\":[32],\"parsedOptions\":[32],\"getFilterText\":[64]},[[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[0,\"openChanged\",\"handleOpenChanged\"],[2,\"blur\",\"handleBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"filterable\":[\"watchFilterableHandler\"],\"value\":[\"watchValueHandler\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-fieldtime\",[[68,\"nv-fieldtime\",{\"value\":[1537],\"label\":[513],\"inputId\":[513,\"input-id\"],\"readonly\":[516],\"disabled\":[516],\"required\":[516],\"name\":[513],\"success\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"format\":[513],\"description\":[513],\"open\":[1540],\"step\":[514],\"max\":[513],\"min\":[513],\"autofocus\":[516],\"hours\":[32],\"minutes\":[32],\"seconds\":[32]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fieldnumber\",[[68,\"nv-fieldnumber\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"max\":[514],\"min\":[514],\"step\":[514],\"value\":[1538],\"autofocus\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fieldpassword\",[[68,\"nv-fieldpassword\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"mode\":[513],\"autocomplete\":[513],\"hidePasswordIcon\":[516,\"hide-password-icon\"],\"showPassword\":[516,\"show-password\"],\"autofocus\":[516],\"showPasswordState\":[32]},null,{\"showPassword\":[\"handleShowPasswordChange\"]}]]],[\"nv-fieldselect\",[[68,\"nv-fieldselect\",{\"message\":[513],\"validation\":[513],\"options\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"multiple\":[516],\"value\":[1537],\"displayValue\":[516,\"display-value\"],\"autofocus\":[516],\"computedDisplayValue\":[32],\"internalReadonly\":[32],\"parsedOptions\":[32]},null,{\"value\":[\"updateDisplayValueWatcher\"],\"displayValue\":[\"handleDisplayValueChange\"],\"readonly\":[\"handleReadonlyChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-breadcrumb\",[[4,\"nv-breadcrumb\",{\"type\":[513],\"tooltip\":[513],\"current\":[516]}]]],[\"nv-alert\",[[4,\"nv-alert\",{\"color\":[513],\"feedback\":[1537],\"message\":[513],\"heading\":[513],\"icon\":[513],\"dismissible\":[516],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"hidden\":[1540],\"hasNoAnimations\":[516,\"has-no-animations\"]},null,{\"hidden\":[\"handleHiddenChange\"]}]]],[\"nv-avatar\",[[4,\"nv-avatar\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"text\":[513],\"url\":[513],\"alt\":[513],\"src\":[1537],\"initials\":[1537],\"size\":[1537],\"color\":[513]}]]],[\"nv-fieldtext\",[[68,\"nv-fieldtext\",{\"message\":[513],\"validation\":[513],\"textInputType\":[513,\"text-input-type\"],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"type\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"autocomplete\":[513],\"multiple\":[516],\"autofocus\":[516]}]]],[\"nv-base\",[[4,\"nv-base\"]]],[\"nv-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"dataJson\":[513,\"data-json\"],\"columnsJson\":[513,\"columns-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilter\":[32]},null,{\"columns\":[\"parseColumns\"],\"columnsJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilter\":[\"handleGlobalFilter\"]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513]}]]],[\"nv-fieldradio\",[[68,\"nv-fieldradio\",{\"message\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"description\":[1537],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"checked\":[1540],\"disabled\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"handleCheckedChange\"]}]]],[\"nv-fieldtextarea\",[[68,\"nv-fieldtextarea\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"rows\":[514],\"resize\":[513],\"autosize\":[516],\"autofocus\":[516]},null,{\"rows\":[\"rowsChanged\"],\"autosize\":[\"autosizeChanged\"],\"value\":[\"handleValueChange\"]}]]],[\"nv-row\",[[4,\"nv-row\"]]],[\"nv-stack\",[[4,\"nv-stack\",{\"gutter\":[514],\"fill\":[516],\"flex\":[516],\"full\":[516],\"vertical\":[516]}]]],[\"nv-table\",[[4,\"nv-table\",{\"data\":[16],\"columnsConfig\":[16],\"dataJson\":[513,\"data-json\"],\"columnsConfigJson\":[513,\"columns-config-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"parsedColumns\":[32],\"parsedData\":[32],\"table\":[32]},null,{\"columnsConfig\":[\"parseColumns\"],\"columnsConfigJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"]}]]],[\"nv-tablecolumn\",[[0,\"nv-tablecolumn\",{\"name\":[513],\"header\":[513]}]]],[\"nv-toggle\",[[68,\"nv-toggle\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[513,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"checked\":[1540],\"disabled\":[516],\"readonly\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-icon\",[[0,\"nv-icon\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"color\":[513],\"name\":[513],\"size\":[1537]}]]],[\"nv-menu\",[[4,\"nv-menu\",{\"open\":[1540],\"nested\":[516],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"placement\":[513],\"items\":[513],\"parsedItems\":[32],\"show\":[64],\"close\":[64]},[[0,\"menuitemSelected\",\"handleMenuItemSelect\"],[0,\"keydown\",\"handleKeydown\"],[0,\"openChanged\",\"handleOpenChanged\"]],{\"items\":[\"handleItemsChange\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-menuitem\",[[4,\"nv-menuitem\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"shortcut\":[513],\"hasSubmenu\":[516,\"has-submenu\"],\"name\":[513]},[[2,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-tooltip\",[[4,\"nv-tooltip\",{\"triggerElement\":[1040],\"message\":[513],\"placement\":[513],\"enterDelay\":[514,\"enter-delay\"]}]]],[\"nv-iconbutton_2\",[[68,\"nv-iconbutton\",{\"size\":[513],\"emphasis\":[513],\"loading\":[1540],\"disabled\":[1540],\"active\":[516],\"name\":[513],\"type\":[513],\"shape\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}],[0,\"nv-loader\",{\"size\":[513],\"color\":[513]}]]],[\"nv-button\",[[68,\"nv-button\",{\"size\":[513],\"emphasis\":[513],\"active\":[516],\"danger\":[516],\"loading\":[1540],\"disabled\":[1540],\"fluid\":[516],\"type\":[513],\"form\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1537,\"range-value\"],\"min\":[513],\"max\":[513],\"disabledDates\":[513,\"disabled-dates\"],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"months\":[32]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"]}]]],[\"nv-dialogfooter_2\",[[68,\"nv-dialogfooter\",{\"disabled\":[516],\"undismissable\":[516],\"leadingIcon\":[513,\"leading-icon\"],\"trailingIcon\":[513,\"trailing-icon\"],\"danger\":[516],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryButtonType\":[513,\"primary-button-type\"],\"form\":[513]}],[4,\"nv-dialogheader\",{\"heading\":[513],\"subheading\":[513]}]]],[\"nv-fieldcheckbox\",[[68,\"nv-fieldcheckbox\",{\"message\":[513],\"validation\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[1537],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-badge_2\",[[4,\"nv-badge\",{\"dismissal\":[516],\"icon\":[513],\"iconLocation\":[513,\"icon-location\"],\"color\":[513],\"label\":[513],\"leadIcon\":[1537,\"lead-icon\"],\"dismissible\":[1540],\"hidden\":[1540],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[0,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-popover\",[[4,\"nv-popover\",{\"triggerElement\":[1040],\"open\":[1540],\"triggerMode\":[513,\"trigger-mode\"],\"placement\":[513],\"groupName\":[513,\"group-name\"],\"offset\":[514],\"hasArrow\":[516,\"has-arrow\"],\"disableFlip\":[516,\"disable-flip\"],\"shiftPadding\":[514,\"shift-padding\"],\"enterDelay\":[514,\"enter-delay\"],\"nested\":[516],\"show\":[64],\"hide\":[64],\"toggle\":[64]},[[4,\"openChanged\",\"handleOpenChanged\"]],{\"open\":[\"handleOpenChange\"]}]]]]"), options);
26443
+ return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"maxHeight\":[513,\"max-height\"],\"badgeLabel\":[513,\"badge-label\"],\"emptyResult\":[513,\"empty-result\"],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"autocomplete\":[513],\"filterable\":[516],\"value\":[1537],\"open\":[1540],\"options\":[1040],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"selectedValues\":[32],\"sortedOptions\":[32],\"filterText\":[32],\"isHandlingEscape\":[32],\"getFilterText\":[64],\"resetFilter\":[64],\"getSelectedValues\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"itemChecked\",\"handleItemChecked\"],[0,\"slotchange\",\"handleSlotChange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"]}]]],[\"nv-fielddate\",[[4,\"nv-fielddate\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"autofocus\":[516],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"singleValue\":[32],\"open\":[32]},[[0,\"singleDateChange\",\"handleSingleDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fielddaterange\",[[4,\"nv-fielddaterange\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"description\":[513],\"startPlaceholder\":[513,\"start-placeholder\"],\"endPlaceholder\":[513,\"end-placeholder\"],\"startName\":[513,\"start-name\"],\"endName\":[513,\"end-name\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"shouldAutoFocus\":[516,\"should-auto-focus\"],\"value\":[513],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[513,\"disabled-dates\"],\"startValue\":[32],\"endValue\":[32],\"open\":[32]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"],[5,\"touchstart\",\"handleDocumentTouch\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"open\":[1540],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"readonly\":[516],\"disabled\":[516],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"options\":[16],\"autofocus\":[516],\"filterText\":[32],\"selectedValues\":[32],\"getFilterText\":[64]},[[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[0,\"openChanged\",\"handleOpenChanged\"],[2,\"blur\",\"handleBlur\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"watchValueHandler\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-fieldtime\",[[68,\"nv-fieldtime\",{\"value\":[1537],\"label\":[513],\"inputId\":[513,\"input-id\"],\"readonly\":[516],\"disabled\":[516],\"required\":[516],\"name\":[513],\"success\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"format\":[513],\"description\":[513],\"open\":[1540],\"step\":[514],\"max\":[513],\"min\":[513],\"autofocus\":[516],\"hours\":[32],\"minutes\":[32],\"seconds\":[32]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"]}]]],[\"nv-fieldnumber\",[[68,\"nv-fieldnumber\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"max\":[514],\"min\":[514],\"step\":[514],\"value\":[1538],\"autofocus\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fieldpassword\",[[68,\"nv-fieldpassword\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"mode\":[513],\"autocomplete\":[513],\"hidePasswordIcon\":[516,\"hide-password-icon\"],\"showPassword\":[516,\"show-password\"],\"autofocus\":[516],\"showPasswordState\":[32]},null,{\"showPassword\":[\"handleShowPasswordChange\"]}]]],[\"nv-fieldselect\",[[68,\"nv-fieldselect\",{\"message\":[513],\"validation\":[513],\"options\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"multiple\":[516],\"value\":[1537],\"displayValue\":[516,\"display-value\"],\"autofocus\":[516],\"computedDisplayValue\":[32],\"internalReadonly\":[32],\"parsedOptions\":[32]},null,{\"value\":[\"updateDisplayValueWatcher\"],\"displayValue\":[\"handleDisplayValueChange\"],\"readonly\":[\"handleReadonlyChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-breadcrumb\",[[4,\"nv-breadcrumb\",{\"type\":[513],\"tooltip\":[513],\"current\":[516]}]]],[\"nv-alert\",[[4,\"nv-alert\",{\"color\":[513],\"feedback\":[1537],\"message\":[513],\"heading\":[513],\"icon\":[513],\"dismissible\":[516],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"hidden\":[1540],\"hasNoAnimations\":[516,\"has-no-animations\"]},null,{\"hidden\":[\"handleHiddenChange\"]}]]],[\"nv-avatar\",[[4,\"nv-avatar\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"text\":[513],\"url\":[513],\"alt\":[513],\"src\":[1537],\"initials\":[1537],\"size\":[1537],\"color\":[513]}]]],[\"nv-fieldtext\",[[68,\"nv-fieldtext\",{\"message\":[513],\"validation\":[513],\"textInputType\":[513,\"text-input-type\"],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"type\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"autocomplete\":[513],\"multiple\":[516],\"autofocus\":[516]}]]],[\"nv-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"dataJson\":[513,\"data-json\"],\"columnsJson\":[513,\"columns-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"enablePagination\":[516,\"enable-pagination\"],\"pageSize\":[514,\"page-size\"],\"pageSizes\":[16],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilterSearchTerm\":[32],\"columnData\":[32],\"paginationState\":[32]},null,{\"columns\":[\"parseColumns\"],\"columnsJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilterSearchTerm\":[\"handleGlobalFilterSearchTerm\"],\"paginationState\":[\"handlePaginationState\"]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513],\"repeatTemplate\":[516,\"repeat-template\"]}]]],[\"nv-fieldradio\",[[68,\"nv-fieldradio\",{\"message\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"description\":[1537],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"checked\":[1540],\"disabled\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"handleCheckedChange\"]}]]],[\"nv-fieldtextarea\",[[68,\"nv-fieldtextarea\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"rows\":[514],\"resize\":[513],\"autosize\":[516],\"autofocus\":[516]},null,{\"rows\":[\"rowsChanged\"],\"autosize\":[\"autosizeChanged\"],\"value\":[\"handleValueChange\"]}]]],[\"nv-row\",[[4,\"nv-row\"]]],[\"nv-stack\",[[4,\"nv-stack\",{\"gutter\":[514],\"fill\":[516],\"flex\":[516],\"full\":[516],\"vertical\":[516]}]]],[\"nv-table\",[[4,\"nv-table\",{\"data\":[16],\"columnsConfig\":[16],\"dataJson\":[513,\"data-json\"],\"columnsConfigJson\":[513,\"columns-config-json\"],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"parsedColumns\":[32],\"parsedData\":[32],\"table\":[32]},null,{\"columnsConfig\":[\"parseColumns\"],\"columnsConfigJson\":[\"parseJsonColumns\"],\"data\":[\"parseData\"],\"dataJson\":[\"parseJsonData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"]}]]],[\"nv-tablecolumn\",[[0,\"nv-tablecolumn\",{\"name\":[513],\"header\":[513]}]]],[\"nv-toggle\",[[68,\"nv-toggle\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[513,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"checked\":[1540],\"disabled\":[516],\"readonly\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-icon\",[[0,\"nv-icon\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"color\":[513],\"name\":[513],\"size\":[1537]}]]],[\"nv-menu\",[[4,\"nv-menu\",{\"open\":[1540],\"nested\":[516],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"placement\":[513],\"items\":[16],\"show\":[64],\"close\":[64]},[[0,\"menuitemSelected\",\"handleMenuItemSelect\"],[0,\"keydown\",\"handleKeydown\"],[0,\"openChanged\",\"handleOpenChanged\"]]]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-menuitem\",[[4,\"nv-menuitem\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"shortcut\":[513],\"hasSubmenu\":[516,\"has-submenu\"],\"name\":[513]},[[2,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-tooltip\",[[4,\"nv-tooltip\",{\"triggerElement\":[1040],\"message\":[513],\"placement\":[513],\"enterDelay\":[514,\"enter-delay\"]}]]],[\"nv-iconbutton_2\",[[68,\"nv-iconbutton\",{\"size\":[513],\"emphasis\":[513],\"loading\":[1540],\"disabled\":[1540],\"active\":[516],\"name\":[513],\"type\":[513],\"shape\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}],[0,\"nv-loader\",{\"size\":[513],\"color\":[513]}]]],[\"nv-button\",[[68,\"nv-button\",{\"size\":[513],\"emphasis\":[513],\"active\":[516],\"danger\":[516],\"loading\":[1540],\"disabled\":[1540],\"fluid\":[516],\"type\":[513],\"form\":[513]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1537,\"range-value\"],\"min\":[513],\"max\":[513],\"disabledDates\":[513,\"disabled-dates\"],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[513],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"months\":[32]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"]}]]],[\"nv-dialogfooter_2\",[[68,\"nv-dialogfooter\",{\"disabled\":[516],\"undismissable\":[516],\"leadingIcon\":[513,\"leading-icon\"],\"trailingIcon\":[513,\"trailing-icon\"],\"danger\":[516],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryButtonType\":[513,\"primary-button-type\"],\"form\":[513]}],[4,\"nv-dialogheader\",{\"heading\":[513],\"subheading\":[513]}]]],[\"nv-fieldcheckbox\",[[68,\"nv-fieldcheckbox\",{\"message\":[513],\"validation\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[1537],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-badge_2\",[[4,\"nv-badge\",{\"dismissal\":[516],\"icon\":[513],\"iconLocation\":[513,\"icon-location\"],\"color\":[513],\"label\":[513],\"leadIcon\":[1537,\"lead-icon\"],\"dismissible\":[1540],\"hidden\":[1540],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[0,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-popover\",[[4,\"nv-popover\",{\"triggerElement\":[1040],\"open\":[1540],\"triggerMode\":[513,\"trigger-mode\"],\"placement\":[513],\"groupName\":[513,\"group-name\"],\"offset\":[514],\"hasArrow\":[516,\"has-arrow\"],\"disableFlip\":[516,\"disable-flip\"],\"shiftPadding\":[514,\"shift-padding\"],\"enterDelay\":[514,\"enter-delay\"],\"nested\":[516],\"show\":[64],\"hide\":[64],\"toggle\":[64]},[[4,\"openChanged\",\"handleOpenChanged\"]],{\"open\":[\"handleOpenChange\"]}]]]]"), options);
26315
26444
  };
26316
26445
 
26317
26446
  (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a);}})();
@@ -26321,7 +26450,6 @@ exports.Host = Host;
26321
26450
  exports.NvAlert = NvAlert;
26322
26451
  exports.NvAvatar = NvAvatar;
26323
26452
  exports.NvBadge = NvBadge;
26324
- exports.NvBase = NvBase;
26325
26453
  exports.NvBreadcrumb = NvBreadcrumb;
26326
26454
  exports.NvBreadcrumbs = NvBreadcrumbs;
26327
26455
  exports.NvButton = NvButton;