@nova-design-system/nova-react 3.21.1-beta.0 → 3.22.0
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.
- package/dist/cjs/generated/components.server.js +0 -92
- package/dist/cjs/{index-CEKdYnmK.js → index-WPRkQD3O.js} +619 -1364
- package/dist/cjs/index.js +1 -11
- package/dist/cjs/{nv-accordion-item.entry-zvp8yDql.js → nv-accordion-item.entry-BuTvA6w9.js} +1 -1
- package/dist/cjs/{nv-accordion.entry-D6gckOF4.js → nv-accordion.entry-Dtsfw6He.js} +1 -1
- package/dist/cjs/{nv-alert.entry-Df8-nQ-R.js → nv-alert.entry-TIdfdU7Y.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-ZOnVWP9L.js → nv-avatar.entry-CaxrhPuw.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-DgiVv_Yf.js → nv-badge_2.entry-CfYvTZxX.js} +1 -1
- package/dist/cjs/{nv-breadcrumb.entry-IqtE1JL0.js → nv-breadcrumb.entry-BCZ4MmfD.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-Be6dz7zI.js → nv-breadcrumbs.entry-DwzCE7F6.js} +1 -1
- package/dist/cjs/{nv-button.entry-CmswF3Si.js → nv-button.entry-Cr_86bcZ.js} +1 -1
- package/dist/cjs/{nv-buttongroup.entry-Cfe6rFSs.js → nv-buttongroup.entry-CWjRoHY1.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-q83sS_dN.js → nv-calendar.entry-CXfwNt6G.js} +1 -1
- package/dist/cjs/{nv-col.entry-Cu-Qi1bi.js → nv-col.entry-CJLDS3LY.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-Cx7SvD5S.js → nv-datagrid.entry-Cns8XSud.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-B_uXKFLg.js → nv-datagridcolumn.entry-CFFAipHF.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-J6Xwi6z1.js → nv-dialog.entry-CDSK9pUH.js} +1 -1
- package/dist/cjs/{nv-dialogfooter_2.entry-DOlhqDTh.js → nv-dialogfooter_2.entry-To_dGUn4.js} +1 -1
- package/dist/cjs/{nv-fieldcheckbox.entry-C23dGGX7.js → nv-fieldcheckbox.entry-fdonR07Z.js} +1 -1
- package/dist/cjs/{nv-fielddate.entry-xWi3GpLl.js → nv-fielddate.entry-C3pXtMHL.js} +1 -1
- package/dist/cjs/{nv-fielddaterange.entry-BwFtpw9X.js → nv-fielddaterange.entry-CjVVPEK_.js} +1 -1
- package/dist/cjs/{nv-fielddropdown.entry-mnl7mSaK.js → nv-fielddropdown.entry-C9mXuNNj.js} +1 -1
- package/dist/cjs/{nv-fielddropdownitem.entry-DjyFlVXw.js → nv-fielddropdownitem.entry-Dah-PaE8.js} +1 -1
- package/dist/cjs/{nv-fieldmultiselect.entry-BtLTG7nM.js → nv-fieldmultiselect.entry-BMLjhqoJ.js} +1 -1
- package/dist/cjs/{nv-fieldnumber.entry-C00Hg70B.js → nv-fieldnumber.entry-DBdJviXu.js} +1 -1
- package/dist/cjs/{nv-fieldpassword.entry-BLg8tCN0.js → nv-fieldpassword.entry-Cim_usSM.js} +1 -1
- package/dist/cjs/{nv-fieldradio.entry-2hb1Ur40.js → nv-fieldradio.entry-X_2VT1Dj.js} +1 -1
- package/dist/cjs/{nv-fieldselect.entry-D-eYQpAv.js → nv-fieldselect.entry-pSp-2rNn.js} +1 -1
- package/dist/cjs/{nv-fieldslider.entry-BGle1RZR.js → nv-fieldslider.entry-pZf7zzLU.js} +1 -1
- package/dist/cjs/{nv-fieldtext.entry-Djg8cqOa.js → nv-fieldtext.entry-DlI_ExaV.js} +1 -1
- package/dist/cjs/{nv-fieldtextarea.entry-Z32-s901.js → nv-fieldtextarea.entry-t3Ixxi23.js} +1 -1
- package/dist/cjs/{nv-fieldtime.entry-CDFGdfFL.js → nv-fieldtime.entry-DY7D5_6K.js} +1 -1
- package/dist/cjs/{nv-icon.entry-BDq7DKRt.js → nv-icon.entry-6oYPSf4c.js} +1 -1
- package/dist/cjs/{nv-iconbutton_2.entry-DdgEkFLK.js → nv-iconbutton_2.entry-ChULGovr.js} +1 -1
- package/dist/cjs/{nv-menu.entry-iob0Kve8.js → nv-menu.entry-sd0tatWq.js} +1 -1
- package/dist/cjs/{nv-menuitem.entry-C989Ui60.js → nv-menuitem.entry-CCOqR7UF.js} +1 -1
- package/dist/cjs/{nv-notification.entry-BxvJMKxH.js → nv-notification.entry-Cc3zE3yY.js} +1 -1
- package/dist/cjs/{nv-notificationcontainer.entry-CxGCIb96.js → nv-notificationcontainer.entry-DV4D6oOH.js} +1 -1
- package/dist/cjs/{nv-popover.entry-1KsO_KQm.js → nv-popover.entry-DQSwI2jT.js} +1 -1
- package/dist/cjs/{nv-row.entry-PBLq_BzJ.js → nv-row.entry-UUuMSAY5.js} +1 -1
- package/dist/cjs/{nv-split.entry-y66NBf88.js → nv-split.entry-CYP2bTTM.js} +2 -2
- package/dist/cjs/{nv-stack.entry-CXjpkpbW.js → nv-stack.entry-D35-75Vw.js} +2 -2
- package/dist/cjs/{nv-table.entry-quaVnLru.js → nv-table.entry-DevWJBnL.js} +2 -2
- package/dist/cjs/{nv-tableheader.entry-DTBE2XQO.js → nv-tableheader.entry-Hs7nUSOC.js} +2 -2
- package/dist/cjs/{nv-toggle.entry-CxUwF0pb.js → nv-toggle.entry-Eje9d--6.js} +3 -3
- package/dist/cjs/{nv-togglebutton.entry-w-WEAmE6.js → nv-togglebutton.entry-LGI7pIeK.js} +2 -2
- package/dist/cjs/{nv-togglebuttongroup.entry-UbrE8y7a.js → nv-togglebuttongroup.entry-CWN_Ucry.js} +2 -2
- package/dist/cjs/{nv-tooltip.entry-Dq2bkV33.js → nv-tooltip.entry-BGkKDEFg.js} +2 -2
- package/dist/components/NvDatatable/NvDatatable.js +77 -4
- package/dist/generated/components.js +0 -80
- package/dist/generated/components.server.js +0 -82
- package/dist/types/components/NvDatatable/NvDatatable.d.ts +1 -1
- package/dist/types/components/NvDatatable/types.d.ts +17 -1
- package/dist/types/generated/components.d.ts +0 -32
- package/dist/types/generated/components.server.d.ts +0 -32
- package/package.json +1 -1
- package/dist/cjs/nv-notification-bullet.entry-J8OkAZtU.js +0 -77
- package/dist/cjs/nv-sidebar.entry-CjLbvLqw.js +0 -177
- package/dist/cjs/nv-sidebarcontent.entry-Cv76IH4W.js +0 -22
- package/dist/cjs/nv-sidebardivider.entry-DYPJ_k73.js +0 -22
- package/dist/cjs/nv-sidebarfooter.entry-mGcMBRmv.js +0 -22
- package/dist/cjs/nv-sidebargroup.entry-DtwFliHZ.js +0 -23
- package/dist/cjs/nv-sidebarheader.entry-BdOYIXCA.js +0 -22
- package/dist/cjs/nv-sidebarlogo.entry-Da0kGsfw.js +0 -32
- package/dist/cjs/nv-sidebarnavitem.entry-D5xLfpwn.js +0 -297
- package/dist/cjs/nv-sidebarnavsubitem.entry-CkeJfHH4.js +0 -35
|
@@ -3745,7 +3745,7 @@ const NvIcon$2 = /*@__PURE__*/ proxyCustomElement(class NvIcon extends H {
|
|
|
3745
3745
|
"name": [513],
|
|
3746
3746
|
"size": [1537]
|
|
3747
3747
|
}]);
|
|
3748
|
-
function defineCustomElement$
|
|
3748
|
+
function defineCustomElement$11() {
|
|
3749
3749
|
if (typeof customElements === "undefined") {
|
|
3750
3750
|
return;
|
|
3751
3751
|
}
|
|
@@ -3758,7 +3758,7 @@ function defineCustomElement$1c() {
|
|
|
3758
3758
|
break;
|
|
3759
3759
|
} });
|
|
3760
3760
|
}
|
|
3761
|
-
defineCustomElement$
|
|
3761
|
+
defineCustomElement$11();
|
|
3762
3762
|
|
|
3763
3763
|
const nvLoaderCss = "@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}nv-loader{display:inline-block;position:relative;aspect-ratio:1/1;border-radius:9999px;color:inherit}nv-loader.size-xs{width:var(--loader-size-xs);height:var(--loader-size-xs)}nv-loader.size-xs::before,nv-loader.size-xs::after{content:\" \";position:absolute;top:0;left:0;border-radius:inherit;width:100%;height:100%}nv-loader.size-xs::before{content:\" \";border:calc(var(--loader-size-xs) / 10) solid;opacity:0.3}nv-loader.size-xs::after{content:\" \";border-top:calc(var(--loader-size-xs) / 10) solid transparent;border-left:calc(var(--loader-size-xs) / 10) solid transparent;border-right:calc(var(--loader-size-xs) / 10) solid transparent;border-bottom:calc(var(--loader-size-xs) / 10) solid;animation:rotation 1s linear infinite}nv-loader.size-sm{width:var(--loader-size-sm);height:var(--loader-size-sm)}nv-loader.size-sm::before,nv-loader.size-sm::after{content:\" \";position:absolute;top:0;left:0;border-radius:inherit;width:100%;height:100%}nv-loader.size-sm::before{content:\" \";border:calc(var(--loader-size-sm) / 10) solid;opacity:0.3}nv-loader.size-sm::after{content:\" \";border-top:calc(var(--loader-size-sm) / 10) solid transparent;border-left:calc(var(--loader-size-sm) / 10) solid transparent;border-right:calc(var(--loader-size-sm) / 10) solid transparent;border-bottom:calc(var(--loader-size-sm) / 10) solid;animation:rotation 1s linear infinite}nv-loader.size-md{width:var(--loader-size-md);height:var(--loader-size-md)}nv-loader.size-md::before,nv-loader.size-md::after{content:\" \";position:absolute;top:0;left:0;border-radius:inherit;width:100%;height:100%}nv-loader.size-md::before{content:\" \";border:calc(var(--loader-size-md) / 10) solid;opacity:0.3}nv-loader.size-md::after{content:\" \";border-top:calc(var(--loader-size-md) / 10) solid transparent;border-left:calc(var(--loader-size-md) / 10) solid transparent;border-right:calc(var(--loader-size-md) / 10) solid transparent;border-bottom:calc(var(--loader-size-md) / 10) solid;animation:rotation 1s linear infinite}nv-loader.size-lg{width:var(--loader-size-lg);height:var(--loader-size-lg)}nv-loader.size-lg::before,nv-loader.size-lg::after{content:\" \";position:absolute;top:0;left:0;border-radius:inherit;width:100%;height:100%}nv-loader.size-lg::before{content:\" \";border:calc(var(--loader-size-lg) / 10) solid;opacity:0.3}nv-loader.size-lg::after{content:\" \";border-top:calc(var(--loader-size-lg) / 10) solid transparent;border-left:calc(var(--loader-size-lg) / 10) solid transparent;border-right:calc(var(--loader-size-lg) / 10) solid transparent;border-bottom:calc(var(--loader-size-lg) / 10) solid;animation:rotation 1s linear infinite}nv-loader.size-xl{width:var(--loader-size-xl);height:var(--loader-size-xl)}nv-loader.size-xl::before,nv-loader.size-xl::after{content:\" \";position:absolute;top:0;left:0;border-radius:inherit;width:100%;height:100%}nv-loader.size-xl::before{content:\" \";border:calc(var(--loader-size-xl) / 10) solid;opacity:0.3}nv-loader.size-xl::after{content:\" \";border-top:calc(var(--loader-size-xl) / 10) solid transparent;border-left:calc(var(--loader-size-xl) / 10) solid transparent;border-right:calc(var(--loader-size-xl) / 10) solid transparent;border-bottom:calc(var(--loader-size-xl) / 10) solid;animation:rotation 1s linear infinite}nv-loader.color-brand::before{border-color:var(--components-loader-brand-background);opacity:1}nv-loader.color-brand::after{border-bottom-color:var(--components-loader-brand-foreground)}nv-loader.color-white::before{border-color:var(--components-loader-white-background);opacity:1}nv-loader.color-white::after{border-bottom-color:var(--components-loader-white-foreground)}";
|
|
3764
3764
|
const NvLoaderStyle0 = nvLoaderCss;
|
|
@@ -3788,7 +3788,7 @@ const NvLoader$2 = /*@__PURE__*/ proxyCustomElement(class NvLoader extends H {
|
|
|
3788
3788
|
"size": [513],
|
|
3789
3789
|
"color": [513]
|
|
3790
3790
|
}]);
|
|
3791
|
-
function defineCustomElement$
|
|
3791
|
+
function defineCustomElement$10() {
|
|
3792
3792
|
if (typeof customElements === "undefined") {
|
|
3793
3793
|
return;
|
|
3794
3794
|
}
|
|
@@ -3801,7 +3801,7 @@ function defineCustomElement$1b() {
|
|
|
3801
3801
|
break;
|
|
3802
3802
|
} });
|
|
3803
3803
|
}
|
|
3804
|
-
defineCustomElement$
|
|
3804
|
+
defineCustomElement$10();
|
|
3805
3805
|
|
|
3806
3806
|
const nvIconbuttonCss = "nv-iconbutton.root{display:inline-flex;justify-content:center;align-items:center;font-style:normal;font-weight:var(--font-weight-medium-emphasis);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;transition:background-color 150ms ease-out;height:fit-content;width:fit-content}nv-iconbutton.size-xs{padding:var(--button-xs-icon-button-padding);gap:var(--button-xs-gap);border-radius:var(--button-xs-border-radius);line-height:var(--button-xs-line-height);font-size:var(--button-xs-font-size)}nv-iconbutton.size-sm{padding:var(--button-sm-icon-button-padding);gap:var(--button-sm-gap);border-radius:var(--button-sm-border-radius);line-height:var(--button-sm-line-height);font-size:var(--button-sm-font-size)}nv-iconbutton.size-md{padding:var(--button-md-icon-button-padding);gap:var(--button-md-gap);border-radius:var(--button-md-border-radius);line-height:var(--button-md-line-height);font-size:var(--button-md-font-size)}nv-iconbutton.size-lg{padding:var(--button-lg-icon-button-padding);gap:var(--button-lg-gap);border-radius:var(--button-lg-border-radius);line-height:var(--button-lg-line-height);font-size:var(--button-lg-font-size)}nv-iconbutton.emphasis-high{background:var(--components-button-high-background);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text)}nv-iconbutton.emphasis-high:hover{background:var(--components-button-high-background-hover);color:var(--components-button-high-text-hover)}nv-iconbutton.emphasis-high:focus,nv-iconbutton.emphasis-high:focus-within{outline:none}nv-iconbutton.emphasis-high:focus-visible,nv-iconbutton.emphasis-high:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-high:disabled{background:var(--components-button-high-background);color:var(--components-button-high-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-high nv-icon>svg{color:var(--components-button-high-icon)}nv-iconbutton.emphasis-medium{background:var(--components-button-medium-background);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text)}nv-iconbutton.emphasis-medium:hover{background:var(--components-button-medium-background-hover);color:var(--components-button-medium-text-hover)}nv-iconbutton.emphasis-medium:focus,nv-iconbutton.emphasis-medium:focus-within{outline:none}nv-iconbutton.emphasis-medium:focus-visible,nv-iconbutton.emphasis-medium:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-medium:disabled{background:var(--components-button-medium-background);color:var(--components-button-medium-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-medium nv-icon>svg{color:var(--components-button-medium-icon)}nv-iconbutton.emphasis-low{background:var(--components-button-low-background);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text)}nv-iconbutton.emphasis-low:hover{background:var(--components-button-low-background-hover);color:var(--components-button-low-text-hover)}nv-iconbutton.emphasis-low:focus,nv-iconbutton.emphasis-low:focus-within{outline:none}nv-iconbutton.emphasis-low:focus-visible,nv-iconbutton.emphasis-low:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-low:disabled{background:var(--components-button-low-background);color:var(--components-button-low-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-low nv-icon>svg{color:var(--components-button-low-icon)}nv-iconbutton.emphasis-lower{background:var(--components-button-lower-background);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text)}nv-iconbutton.emphasis-lower:hover{background:var(--components-button-lower-background-hover);color:var(--components-button-lower-text-hover)}nv-iconbutton.emphasis-lower:focus,nv-iconbutton.emphasis-lower:focus-within{outline:none}nv-iconbutton.emphasis-lower:focus-visible,nv-iconbutton.emphasis-lower:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-iconbutton.emphasis-lower:disabled{background:var(--components-button-lower-background);color:var(--components-button-lower-text);opacity:0.5;cursor:not-allowed;box-shadow:none}nv-iconbutton.emphasis-lower nv-icon>svg{color:var(--components-button-lower-icon)}nv-iconbutton.loading [slot=leading-icon]{display:none}nv-iconbutton.shape-rounded{border-radius:var(--radius-rounded-full)}";
|
|
3807
3807
|
const NvIconbuttonStyle0 = nvIconbuttonCss;
|
|
@@ -3945,7 +3945,7 @@ const NvIconbutton$2 = /*@__PURE__*/ proxyCustomElement(class NvIconbutton exten
|
|
|
3945
3945
|
"loading": ["handleLoadingChange"],
|
|
3946
3946
|
"disabled": ["handleDisabledChange"]
|
|
3947
3947
|
}]);
|
|
3948
|
-
function defineCustomElement
|
|
3948
|
+
function defineCustomElement$$() {
|
|
3949
3949
|
if (typeof customElements === "undefined") {
|
|
3950
3950
|
return;
|
|
3951
3951
|
}
|
|
@@ -3958,17 +3958,17 @@ function defineCustomElement$1a() {
|
|
|
3958
3958
|
break;
|
|
3959
3959
|
case "nv-icon":
|
|
3960
3960
|
if (!customElements.get(tagName)) {
|
|
3961
|
-
defineCustomElement$
|
|
3961
|
+
defineCustomElement$11();
|
|
3962
3962
|
}
|
|
3963
3963
|
break;
|
|
3964
3964
|
case "nv-loader":
|
|
3965
3965
|
if (!customElements.get(tagName)) {
|
|
3966
|
-
defineCustomElement$
|
|
3966
|
+
defineCustomElement$10();
|
|
3967
3967
|
}
|
|
3968
3968
|
break;
|
|
3969
3969
|
} });
|
|
3970
3970
|
}
|
|
3971
|
-
defineCustomElement
|
|
3971
|
+
defineCustomElement$$();
|
|
3972
3972
|
|
|
3973
3973
|
const nvAccordionItemCss = "nv-accordion-item{display:block;border-bottom:var(--spacing-px) solid var(--color-content-low-border)}nv-accordion-item:last-child{border-bottom:none}nv-accordion-item .nv-accordion-item__header{cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-4)}nv-accordion-item .nv-accordion-item__header .nv-accordion-item__chevron{margin-left:var(--spacing-2);flex-shrink:0}nv-accordion-item .nv-accordion-item__header .nv-accordion-item__header-content{display:flex;flex-direction:column;gap:var(--spacing-0-5);flex:1;min-width:0}nv-accordion-item .nv-accordion-item__header .nv-accordion-item__title{color:var(--color-content-high-text);font-size:var(--font-size-lg);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--line-height-lg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}nv-accordion-item .nv-accordion-item__header .nv-accordion-item__subtitle{color:var(--color-content-low-text);font-size:var(--font-size-md);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--line-height-base);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}nv-accordion-item .nv-accordion-item__content{background:var(--color-level-10-background)}nv-accordion-item .nv-accordion-item__content .nv-accordion-item__content-inner{padding:var(--spacing-4);color:var(--color-content-low-text);font-size:var(--font-size-md);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--line-height-base);}nv-accordion-item.is-disabled{opacity:var(--opacity-disabled);pointer-events:none}nv-accordion-item.is-open .nv-accordion-item__header{border-bottom:var(--spacing-px) solid var(--color-content-low-border)}nv-accordion-item:last-child .nv-accordion-item__content{border-radius:0 0 calc(var(--radius-rounded-lg) - var(--spacing-px)) calc(var(--radius-rounded-lg) - var(--spacing-px))}";
|
|
3974
3974
|
const NvAccordionItemStyle0 = nvAccordionItemCss;
|
|
@@ -4187,7 +4187,7 @@ const NvAccordionItem$2 = /*@__PURE__*/ proxyCustomElement(class NvAccordionItem
|
|
|
4187
4187
|
}, undefined, {
|
|
4188
4188
|
"open": ["onOpenChanged"]
|
|
4189
4189
|
}]);
|
|
4190
|
-
function defineCustomElement$
|
|
4190
|
+
function defineCustomElement$_() {
|
|
4191
4191
|
if (typeof customElements === "undefined") {
|
|
4192
4192
|
return;
|
|
4193
4193
|
}
|
|
@@ -4200,25 +4200,25 @@ function defineCustomElement$19() {
|
|
|
4200
4200
|
break;
|
|
4201
4201
|
case "nv-icon":
|
|
4202
4202
|
if (!customElements.get(tagName)) {
|
|
4203
|
-
defineCustomElement$
|
|
4203
|
+
defineCustomElement$11();
|
|
4204
4204
|
}
|
|
4205
4205
|
break;
|
|
4206
4206
|
case "nv-iconbutton":
|
|
4207
4207
|
if (!customElements.get(tagName)) {
|
|
4208
|
-
defineCustomElement
|
|
4208
|
+
defineCustomElement$$();
|
|
4209
4209
|
}
|
|
4210
4210
|
break;
|
|
4211
4211
|
case "nv-loader":
|
|
4212
4212
|
if (!customElements.get(tagName)) {
|
|
4213
|
-
defineCustomElement$
|
|
4213
|
+
defineCustomElement$10();
|
|
4214
4214
|
}
|
|
4215
4215
|
break;
|
|
4216
4216
|
} });
|
|
4217
4217
|
}
|
|
4218
|
-
defineCustomElement$
|
|
4218
|
+
defineCustomElement$_();
|
|
4219
4219
|
|
|
4220
4220
|
const NvAccordionItem$1 = NvAccordionItem$2;
|
|
4221
|
-
const defineCustomElement$
|
|
4221
|
+
const defineCustomElement$Z = defineCustomElement$_;
|
|
4222
4222
|
|
|
4223
4223
|
const nvAccordionCss = "nv-accordion{display:block;border:var(--spacing-px) solid var(--color-content-low-border);border-radius:var(--radius-rounded-lg)}nv-accordion .nv-accordion__footer{padding:var(--spacing-3);background:var(--color-level-05-background);border-radius:0 0 var(--radius-rounded-lg) var(--radius-rounded-lg);margin-top:calc(var(--spacing-px) * -1);border-top:var(--spacing-px) solid var(--color-content-low-border)}nv-accordion .nv-accordion__footer:empty{display:none}";
|
|
4224
4224
|
const NvAccordionStyle0 = nvAccordionCss;
|
|
@@ -4402,7 +4402,7 @@ const NvAccordion$1 = /*@__PURE__*/ proxyCustomElement(class NvAccordion extends
|
|
|
4402
4402
|
"openIndexes": ["onOpenIndexesChange"],
|
|
4403
4403
|
"mode": ["onModeChange"]
|
|
4404
4404
|
}]);
|
|
4405
|
-
function defineCustomElement$1$
|
|
4405
|
+
function defineCustomElement$1$u() {
|
|
4406
4406
|
if (typeof customElements === "undefined") {
|
|
4407
4407
|
return;
|
|
4408
4408
|
}
|
|
@@ -4415,30 +4415,30 @@ function defineCustomElement$1$D() {
|
|
|
4415
4415
|
break;
|
|
4416
4416
|
case "nv-accordion-item":
|
|
4417
4417
|
if (!customElements.get(tagName)) {
|
|
4418
|
-
defineCustomElement$
|
|
4418
|
+
defineCustomElement$_();
|
|
4419
4419
|
}
|
|
4420
4420
|
break;
|
|
4421
4421
|
case "nv-icon":
|
|
4422
4422
|
if (!customElements.get(tagName)) {
|
|
4423
|
-
defineCustomElement$
|
|
4423
|
+
defineCustomElement$11();
|
|
4424
4424
|
}
|
|
4425
4425
|
break;
|
|
4426
4426
|
case "nv-iconbutton":
|
|
4427
4427
|
if (!customElements.get(tagName)) {
|
|
4428
|
-
defineCustomElement
|
|
4428
|
+
defineCustomElement$$();
|
|
4429
4429
|
}
|
|
4430
4430
|
break;
|
|
4431
4431
|
case "nv-loader":
|
|
4432
4432
|
if (!customElements.get(tagName)) {
|
|
4433
|
-
defineCustomElement$
|
|
4433
|
+
defineCustomElement$10();
|
|
4434
4434
|
}
|
|
4435
4435
|
break;
|
|
4436
4436
|
} });
|
|
4437
4437
|
}
|
|
4438
|
-
defineCustomElement$1$
|
|
4438
|
+
defineCustomElement$1$u();
|
|
4439
4439
|
|
|
4440
4440
|
const NvAccordion$2 = NvAccordion$1;
|
|
4441
|
-
const defineCustomElement$
|
|
4441
|
+
const defineCustomElement$Y = defineCustomElement$1$u;
|
|
4442
4442
|
|
|
4443
4443
|
var prevTime = 0;
|
|
4444
4444
|
var onNextFrame = typeof window !== 'undefined' && window.requestAnimationFrame !== undefined ? function (callback) {
|
|
@@ -5371,7 +5371,7 @@ const NvAlert$1 = /*@__PURE__*/ proxyCustomElement(class NvAlert extends H {
|
|
|
5371
5371
|
}, undefined, {
|
|
5372
5372
|
"hidden": ["handleHiddenChange"]
|
|
5373
5373
|
}]);
|
|
5374
|
-
function defineCustomElement$1$
|
|
5374
|
+
function defineCustomElement$1$t() {
|
|
5375
5375
|
if (typeof customElements === "undefined") {
|
|
5376
5376
|
return;
|
|
5377
5377
|
}
|
|
@@ -5384,15 +5384,15 @@ function defineCustomElement$1$C() {
|
|
|
5384
5384
|
break;
|
|
5385
5385
|
case "nv-icon":
|
|
5386
5386
|
if (!customElements.get(tagName)) {
|
|
5387
|
-
defineCustomElement$
|
|
5387
|
+
defineCustomElement$11();
|
|
5388
5388
|
}
|
|
5389
5389
|
break;
|
|
5390
5390
|
} });
|
|
5391
5391
|
}
|
|
5392
|
-
defineCustomElement$1$
|
|
5392
|
+
defineCustomElement$1$t();
|
|
5393
5393
|
|
|
5394
5394
|
const NvAlert$2 = NvAlert$1;
|
|
5395
|
-
const defineCustomElement$
|
|
5395
|
+
const defineCustomElement$X = defineCustomElement$1$t;
|
|
5396
5396
|
|
|
5397
5397
|
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:var(--font-family-default), var(--font-family-fallback), 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}";
|
|
5398
5398
|
const NvAvatarStyle0 = nvAvatarCss;
|
|
@@ -5466,7 +5466,7 @@ const NvAvatar$1 = /*@__PURE__*/ proxyCustomElement(class NvAvatar extends H {
|
|
|
5466
5466
|
"size": [1537],
|
|
5467
5467
|
"color": [513]
|
|
5468
5468
|
}]);
|
|
5469
|
-
function defineCustomElement$1$
|
|
5469
|
+
function defineCustomElement$1$s() {
|
|
5470
5470
|
if (typeof customElements === "undefined") {
|
|
5471
5471
|
return;
|
|
5472
5472
|
}
|
|
@@ -5479,15 +5479,15 @@ function defineCustomElement$1$B() {
|
|
|
5479
5479
|
break;
|
|
5480
5480
|
case "nv-icon":
|
|
5481
5481
|
if (!customElements.get(tagName)) {
|
|
5482
|
-
defineCustomElement$
|
|
5482
|
+
defineCustomElement$11();
|
|
5483
5483
|
}
|
|
5484
5484
|
break;
|
|
5485
5485
|
} });
|
|
5486
5486
|
}
|
|
5487
|
-
defineCustomElement$1$
|
|
5487
|
+
defineCustomElement$1$s();
|
|
5488
5488
|
|
|
5489
5489
|
const NvAvatar$2 = NvAvatar$1;
|
|
5490
|
-
const defineCustomElement$
|
|
5490
|
+
const defineCustomElement$W = defineCustomElement$1$s;
|
|
5491
5491
|
|
|
5492
5492
|
const nvBadgeCss = "nv-badge{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);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.is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}nv-badge.with-gap{padding:var(--badge-padding-y) var(--badge-padding-x);display:inline-flex !important;gap:var(--badge-gap-x);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.is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-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;gap:var(--badge-gap-x);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:not(.with-gap).is-icon-only{padding:var(--badge-padding-y) var(--badge-padding-icon-only-x);gap:var(--badge-gap-icon-only-x)}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.badge-error{color:var(--color-feedback-error-low-text);background-color:var(--color-feedback-error-low-background);border-color:var(--color-feedback-error-low-border)}nv-badge.badge-error .close:focus,nv-badge.badge-error .close:focus-within{outline:none}nv-badge.badge-error .close:focus-visible,nv-badge.badge-error .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-error-low-content, var(--color-feedback-error-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-error nv-icon{color:var(--color-feedback-error-low-icon)}nv-badge.badge-information{color:var(--color-feedback-information-low-text);background-color:var(--color-feedback-information-low-background);border-color:var(--color-feedback-information-low-border)}nv-badge.badge-information .close:focus,nv-badge.badge-information .close:focus-within{outline:none}nv-badge.badge-information .close:focus-visible,nv-badge.badge-information .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-information-low-content, var(--color-feedback-information-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-information nv-icon{color:var(--color-feedback-information-low-icon)}nv-badge.badge-neutral{color:var(--color-feedback-neutral-low-text);background-color:var(--color-feedback-neutral-low-background);border-color:var(--color-feedback-neutral-low-border)}nv-badge.badge-neutral .close:focus,nv-badge.badge-neutral .close:focus-within{outline:none}nv-badge.badge-neutral .close:focus-visible,nv-badge.badge-neutral .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-neutral-low-content, var(--color-feedback-neutral-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-neutral nv-icon{color:var(--color-feedback-neutral-low-icon)}nv-badge.badge-success{color:var(--color-feedback-success-low-text);background-color:var(--color-feedback-success-low-background);border-color:var(--color-feedback-success-low-border)}nv-badge.badge-success .close:focus,nv-badge.badge-success .close:focus-within{outline:none}nv-badge.badge-success .close:focus-visible,nv-badge.badge-success .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-success-low-content, var(--color-feedback-success-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-success nv-icon{color:var(--color-feedback-success-low-icon)}nv-badge.badge-warning{color:var(--color-feedback-warning-low-text);background-color:var(--color-feedback-warning-low-background);border-color:var(--color-feedback-warning-low-border)}nv-badge.badge-warning .close:focus,nv-badge.badge-warning .close:focus-within{outline:none}nv-badge.badge-warning .close:focus-visible,nv-badge.badge-warning .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-feedback-warning-low-content, var(--color-feedback-warning-low-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-warning nv-icon{color:var(--color-feedback-warning-low-icon)}nv-badge.badge-amber{color:var(--color-rainbow-1-text);background-color:var(--color-rainbow-1-background);border-color:var(--color-rainbow-1-border)}nv-badge.badge-amber .close:focus,nv-badge.badge-amber .close:focus-within{outline:none}nv-badge.badge-amber .close:focus-visible,nv-badge.badge-amber .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-amber-content, var(--color-rainbow-1-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-amber nv-icon{color:var(--color-rainbow-1-icon)}nv-badge.badge-orange{color:var(--color-rainbow-2-text);background-color:var(--color-rainbow-2-background);border-color:var(--color-rainbow-2-border)}nv-badge.badge-orange .close:focus,nv-badge.badge-orange .close:focus-within{outline:none}nv-badge.badge-orange .close:focus-visible,nv-badge.badge-orange .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-orange-content, var(--color-rainbow-2-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-orange nv-icon{color:var(--color-rainbow-2-icon)}nv-badge.badge-turquoise{color:var(--color-rainbow-5-text);background-color:var(--color-rainbow-5-background);border-color:var(--color-rainbow-5-border)}nv-badge.badge-turquoise .close:focus,nv-badge.badge-turquoise .close:focus-within{outline:none}nv-badge.badge-turquoise .close:focus-visible,nv-badge.badge-turquoise .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-turquoise-content, var(--color-rainbow-5-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-turquoise nv-icon{color:var(--color-rainbow-5-icon)}nv-badge.badge-crimson{color:var(--color-rainbow-6-text);background-color:var(--color-rainbow-6-background);border-color:var(--color-rainbow-6-border)}nv-badge.badge-crimson .close:focus,nv-badge.badge-crimson .close:focus-within{outline:none}nv-badge.badge-crimson .close:focus-visible,nv-badge.badge-crimson .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-crimson-content, var(--color-rainbow-6-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-crimson nv-icon{color:var(--color-rainbow-6-icon)}nv-badge.badge-lime{color:var(--color-rainbow-9-text);background-color:var(--color-rainbow-9-background);border-color:var(--color-rainbow-9-border)}nv-badge.badge-lime .close:focus,nv-badge.badge-lime .close:focus-within{outline:none}nv-badge.badge-lime .close:focus-visible,nv-badge.badge-lime .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-lime-content, var(--color-rainbow-9-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-lime nv-icon{color:var(--color-rainbow-9-icon)}nv-badge.badge-petrol{color:var(--color-rainbow-8-text);background-color:var(--color-rainbow-8-background);border-color:var(--color-rainbow-8-border)}nv-badge.badge-petrol .close:focus,nv-badge.badge-petrol .close:focus-within{outline:none}nv-badge.badge-petrol .close:focus-visible,nv-badge.badge-petrol .close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-petrol-content, var(--color-rainbow-8-text));outline-offset:calc(var(--focus-outline-offset) * 0.2)}nv-badge.badge-petrol nv-icon{color:var(--color-rainbow-8-icon)}nv-badge span{font-size:var(--font-size-xs);line-height:var(--line-height-xs) !important;text-align:center}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)}";
|
|
5493
5493
|
const NvBadgeStyle0 = nvBadgeCss;
|
|
@@ -5647,7 +5647,7 @@ const NvBadge$2 = /*@__PURE__*/ proxyCustomElement(class NvBadge extends H {
|
|
|
5647
5647
|
"icon": ["handleIconChange"],
|
|
5648
5648
|
"hidden": ["handleHiddenChange"]
|
|
5649
5649
|
}]);
|
|
5650
|
-
function defineCustomElement$
|
|
5650
|
+
function defineCustomElement$V() {
|
|
5651
5651
|
if (typeof customElements === "undefined") {
|
|
5652
5652
|
return;
|
|
5653
5653
|
}
|
|
@@ -5660,15 +5660,15 @@ function defineCustomElement$14() {
|
|
|
5660
5660
|
break;
|
|
5661
5661
|
case "nv-icon":
|
|
5662
5662
|
if (!customElements.get(tagName)) {
|
|
5663
|
-
defineCustomElement$
|
|
5663
|
+
defineCustomElement$11();
|
|
5664
5664
|
}
|
|
5665
5665
|
break;
|
|
5666
5666
|
} });
|
|
5667
5667
|
}
|
|
5668
|
-
defineCustomElement$
|
|
5668
|
+
defineCustomElement$V();
|
|
5669
5669
|
|
|
5670
5670
|
const NvBadge$1 = NvBadge$2;
|
|
5671
|
-
const defineCustomElement$
|
|
5671
|
+
const defineCustomElement$U = defineCustomElement$V;
|
|
5672
5672
|
|
|
5673
5673
|
/**
|
|
5674
5674
|
* Adds a set of event listeners to the given target.
|
|
@@ -7685,7 +7685,7 @@ const NvPopover$2 = /*@__PURE__*/ proxyCustomElement(class NvPopover extends H {
|
|
|
7685
7685
|
"open": ["handleOpenChange"],
|
|
7686
7686
|
"strategy": ["handleStrategyChange"]
|
|
7687
7687
|
}]);
|
|
7688
|
-
function defineCustomElement$
|
|
7688
|
+
function defineCustomElement$T() {
|
|
7689
7689
|
if (typeof customElements === "undefined") {
|
|
7690
7690
|
return;
|
|
7691
7691
|
}
|
|
@@ -7698,7 +7698,7 @@ function defineCustomElement$12() {
|
|
|
7698
7698
|
break;
|
|
7699
7699
|
} });
|
|
7700
7700
|
}
|
|
7701
|
-
defineCustomElement$
|
|
7701
|
+
defineCustomElement$T();
|
|
7702
7702
|
|
|
7703
7703
|
const nvTooltipCss = "nv-tooltip{display:inline-block;position:relative;user-select:none}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip nv-popover>[data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip nv-popover>[data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}";
|
|
7704
7704
|
const NvTooltipStyle0 = nvTooltipCss;
|
|
@@ -7743,7 +7743,7 @@ const NvTooltip$2 = /*@__PURE__*/ proxyCustomElement(class NvTooltip extends H {
|
|
|
7743
7743
|
/****************************************************************************/
|
|
7744
7744
|
//#region RENDER
|
|
7745
7745
|
render() {
|
|
7746
|
-
return (h$1(Host$1, { key: '
|
|
7746
|
+
return (h$1(Host$1, { key: 'f0560549d1168fed22c4e48a2e11be5dda49f005' }, h$1("slot", { key: '698227e9bea7ea94eff00ff72f124656ed11624d' }), h$1("nv-popover", { key: 'df4ddd77e40b4998a32e166710a2ff27a1e0c216', triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, h$1("p", { key: 'b8fc42997671fafc15173bce2fdf7dec667d76e5', slot: "content" }, this.message), h$1("slot", { key: '5b8a27ff474367ba2e5771deb62137e40f5d911d', name: "content" }))));
|
|
7747
7747
|
}
|
|
7748
7748
|
get el() { return this; }
|
|
7749
7749
|
static get style() { return NvTooltipStyle0; }
|
|
@@ -7754,7 +7754,7 @@ const NvTooltip$2 = /*@__PURE__*/ proxyCustomElement(class NvTooltip extends H {
|
|
|
7754
7754
|
"enterDelay": [514, "enter-delay"],
|
|
7755
7755
|
"strategy": [513]
|
|
7756
7756
|
}]);
|
|
7757
|
-
function defineCustomElement$
|
|
7757
|
+
function defineCustomElement$S() {
|
|
7758
7758
|
if (typeof customElements === "undefined") {
|
|
7759
7759
|
return;
|
|
7760
7760
|
}
|
|
@@ -7767,12 +7767,12 @@ function defineCustomElement$11() {
|
|
|
7767
7767
|
break;
|
|
7768
7768
|
case "nv-popover":
|
|
7769
7769
|
if (!customElements.get(tagName)) {
|
|
7770
|
-
defineCustomElement$
|
|
7770
|
+
defineCustomElement$T();
|
|
7771
7771
|
}
|
|
7772
7772
|
break;
|
|
7773
7773
|
} });
|
|
7774
7774
|
}
|
|
7775
|
-
defineCustomElement$
|
|
7775
|
+
defineCustomElement$S();
|
|
7776
7776
|
|
|
7777
7777
|
const nvBreadcrumbCss = "nv-breadcrumb{display:flex;align-items:center;color:var(--components-breadcrumb-text);font-size:var(--font-size-sm);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--line-height-sm)}nv-breadcrumb.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-breadcrumb ul{display:flex;flex-direction:column;gap:var(--spacing-1-5);padding:var(--spacing-1)}nv-breadcrumb ul a,nv-breadcrumb ul button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb ul a:focus,nv-breadcrumb ul a:focus-within,nv-breadcrumb ul button:focus,nv-breadcrumb ul button:focus-within{outline:none}nv-breadcrumb ul a:focus-visible,nv-breadcrumb ul a:has(:focus-visible),nv-breadcrumb ul button:focus-visible,nv-breadcrumb ul button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb ul a:hover,nv-breadcrumb ul button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb>a,nv-breadcrumb>button{display:inline-flex;align-self:center;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}nv-breadcrumb>a:focus,nv-breadcrumb>a:focus-within,nv-breadcrumb>button:focus,nv-breadcrumb>button:focus-within{outline:none}nv-breadcrumb>a:focus-visible,nv-breadcrumb>a:has(:focus-visible),nv-breadcrumb>button:focus-visible,nv-breadcrumb>button:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 0.5) solid var(--components-breadcrumb-text-hover);outline-offset:calc(var(--focus-outline-offset) * 0.3)}nv-breadcrumb>a:hover,nv-breadcrumb>button:hover{text-decoration:underline;color:var(--components-breadcrumb-text-hover)}nv-breadcrumb span[data-scope=separator]{display:inline-flex;padding-left:var(--breadcrumb-padding-y)}";
|
|
7778
7778
|
const NvBreadcrumbStyle0 = nvBreadcrumbCss;
|
|
@@ -7816,7 +7816,7 @@ const NvBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class NvBreadcrumb exten
|
|
|
7816
7816
|
"tooltip": [513],
|
|
7817
7817
|
"current": [516]
|
|
7818
7818
|
}]);
|
|
7819
|
-
function defineCustomElement$1$
|
|
7819
|
+
function defineCustomElement$1$r() {
|
|
7820
7820
|
if (typeof customElements === "undefined") {
|
|
7821
7821
|
return;
|
|
7822
7822
|
}
|
|
@@ -7829,20 +7829,20 @@ function defineCustomElement$1$A() {
|
|
|
7829
7829
|
break;
|
|
7830
7830
|
case "nv-popover":
|
|
7831
7831
|
if (!customElements.get(tagName)) {
|
|
7832
|
-
defineCustomElement$
|
|
7832
|
+
defineCustomElement$T();
|
|
7833
7833
|
}
|
|
7834
7834
|
break;
|
|
7835
7835
|
case "nv-tooltip":
|
|
7836
7836
|
if (!customElements.get(tagName)) {
|
|
7837
|
-
defineCustomElement$
|
|
7837
|
+
defineCustomElement$S();
|
|
7838
7838
|
}
|
|
7839
7839
|
break;
|
|
7840
7840
|
} });
|
|
7841
7841
|
}
|
|
7842
|
-
defineCustomElement$1$
|
|
7842
|
+
defineCustomElement$1$r();
|
|
7843
7843
|
|
|
7844
7844
|
const NvBreadcrumb$2 = NvBreadcrumb$1;
|
|
7845
|
-
const defineCustomElement$
|
|
7845
|
+
const defineCustomElement$R = defineCustomElement$1$r;
|
|
7846
7846
|
|
|
7847
7847
|
const nvBreadcrumbsCss = "nv-breadcrumbs{display:block}nv-breadcrumbs>ol{display:flex;flex-wrap:wrap;align-items:center;gap:var(--breadcrumb-padding-y)}nv-breadcrumbs nv-breadcrumb:last-child [data-scope=separator],nv-breadcrumbs nv-breadcrumb:last-child [slot=separator]{display:none}";
|
|
7848
7848
|
const NvBreadcrumbsStyle0 = nvBreadcrumbsCss;
|
|
@@ -7858,7 +7858,7 @@ const NvBreadcrumbs$1 = /*@__PURE__*/ proxyCustomElement(class NvBreadcrumbs ext
|
|
|
7858
7858
|
}
|
|
7859
7859
|
static get style() { return NvBreadcrumbsStyle0; }
|
|
7860
7860
|
}, [4, "nv-breadcrumbs"]);
|
|
7861
|
-
function defineCustomElement$1$
|
|
7861
|
+
function defineCustomElement$1$q() {
|
|
7862
7862
|
if (typeof customElements === "undefined") {
|
|
7863
7863
|
return;
|
|
7864
7864
|
}
|
|
@@ -7871,10 +7871,10 @@ function defineCustomElement$1$z() {
|
|
|
7871
7871
|
break;
|
|
7872
7872
|
} });
|
|
7873
7873
|
}
|
|
7874
|
-
defineCustomElement$1$
|
|
7874
|
+
defineCustomElement$1$q();
|
|
7875
7875
|
|
|
7876
7876
|
const NvBreadcrumbs$2 = NvBreadcrumbs$1;
|
|
7877
|
-
const defineCustomElement
|
|
7877
|
+
const defineCustomElement$Q = defineCustomElement$1$q;
|
|
7878
7878
|
|
|
7879
7879
|
const nvButtonCss = "nv-button{text-decoration:none;display:inline-flex;justify-content:center;align-items:center;font-style:normal;font-weight:var(--font-weight-medium-emphasis);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;transition:background-color 150ms ease-out;user-select:none;cursor:pointer;height:fit-content;width:fit-content}nv-button[size=xs]{padding:var(--button-xs-padding-y) var(--button-xs-padding-x);gap:var(--button-xs-gap);border-radius:var(--button-xs-border-radius);line-height:var(--button-xs-line-height);height:var(--button-xs-height);font-size:var(--button-xs-font-size)}nv-button[size=xs] nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-button[size=sm]{padding:var(--button-sm-padding-y) var(--button-sm-padding-x);gap:var(--button-sm-gap);border-radius:var(--button-sm-border-radius);line-height:var(--button-sm-line-height);height:var(--button-sm-height);font-size:var(--button-sm-font-size)}nv-button[size=sm] nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-button[size=md]{padding:var(--button-md-padding-y) var(--button-md-padding-x);gap:var(--button-md-gap);border-radius:var(--button-md-border-radius);line-height:var(--button-md-line-height);height:var(--button-md-height);font-size:var(--button-md-font-size)}nv-button[size=md] nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-button[size=lg]{padding:var(--button-lg-padding-y) var(--button-lg-padding-x);gap:var(--button-lg-gap);border-radius:var(--button-lg-border-radius);line-height:var(--button-lg-line-height);height:var(--button-lg-height);font-size:var(--button-lg-font-size)}nv-button[size=lg] nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-button[emphasis=high]{background:var(--components-button-high-background);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text)}nv-button[emphasis=high]:hover{background:var(--components-button-high-background-hover);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text-hover)}nv-button[emphasis=high]:active{background:var(--components-button-high-background-active);border:1px solid var(--components-button-high-border-active);color:var(--components-button-high-text-active)}nv-button[emphasis=high]:focus,nv-button[emphasis=high]:focus-within{outline:none}nv-button[emphasis=high]:focus-visible,nv-button[emphasis=high]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=high]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=high][active]:not([active=false]){background:var(--components-button-high-background-active);border:1px solid var(--components-button-high-border-active);color:var(--components-button-high-text-active)}nv-button[emphasis=high][danger]:not([danger=false]){background:var(--components-button-destructive-high-background);border:1px solid transparent;color:var(--components-button-destructive-high-text)}nv-button[emphasis=high][danger]:not([danger=false]):hover{background:var(--components-button-destructive-high-background-hover);border:1px solid transparent;color:var(--components-button-destructive-high-text-hover)}nv-button[emphasis=high][danger]:not([danger=false]):focus,nv-button[emphasis=high][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=high][danger]:not([danger=false]):focus-visible,nv-button[emphasis=high][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=medium]{background:var(--components-button-medium-background);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text)}nv-button[emphasis=medium]:hover{background:var(--components-button-medium-background-hover);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text-hover)}nv-button[emphasis=medium]:active{background:var(--components-button-medium-background-active);border:1px solid var(--components-button-medium-border-active);color:var(--components-button-medium-text-active)}nv-button[emphasis=medium]:focus,nv-button[emphasis=medium]:focus-within{outline:none}nv-button[emphasis=medium]:focus-visible,nv-button[emphasis=medium]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=medium]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=medium][active]:not([active=false]){background:var(--components-button-medium-background-active);border:1px solid var(--components-button-medium-border-active);color:var(--components-button-medium-text-active)}nv-button[emphasis=medium][danger]:not([danger=false]){background:var(--components-button-destructive-medium-background);border:1px solid var(--components-button-destructive-medium-border);color:var(--components-button-destructive-medium-text)}nv-button[emphasis=medium][danger]:not([danger=false]):hover{background:var(--components-button-destructive-medium-background-hover);border:1px solid var(--components-button-destructive-medium-border);color:var(--components-button-destructive-medium-text-hover)}nv-button[emphasis=medium][danger]:not([danger=false]):focus,nv-button[emphasis=medium][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=medium][danger]:not([danger=false]):focus-visible,nv-button[emphasis=medium][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=low]{background:var(--components-button-low-background);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text)}nv-button[emphasis=low]:hover{background:var(--components-button-low-background-hover);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text-hover)}nv-button[emphasis=low]:active{background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-button[emphasis=low]:focus,nv-button[emphasis=low]:focus-within{outline:none}nv-button[emphasis=low]:focus-visible,nv-button[emphasis=low]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=low]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=low][active]:not([active=false]){background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-button[emphasis=low][danger]:not([danger=false]){background:var(--components-button-destructive-low-background);border:1px solid var(--components-button-destructive-low-border);color:var(--components-button-destructive-low-text)}nv-button[emphasis=low][danger]:not([danger=false]):hover{background:var(--components-button-destructive-low-background-hover);border:1px solid var(--components-button-destructive-low-border);color:var(--components-button-destructive-low-text-hover)}nv-button[emphasis=low][danger]:not([danger=false]):focus,nv-button[emphasis=low][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=low][danger]:not([danger=false]):focus-visible,nv-button[emphasis=low][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=lower]{background:var(--components-button-lower-background);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text)}nv-button[emphasis=lower]:hover{background:var(--components-button-lower-background-hover);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text-hover)}nv-button[emphasis=lower]:active{background:var(--components-button-lower-background-active);border:1px solid var(--components-button-lower-border-active);color:var(--components-button-lower-text-active)}nv-button[emphasis=lower]:focus,nv-button[emphasis=lower]:focus-within{outline:none}nv-button[emphasis=lower]:focus-visible,nv-button[emphasis=lower]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=lower]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=lower][active]:not([active=false]){background:var(--components-button-lower-background-active);border:1px solid var(--components-button-lower-border-active);color:var(--components-button-lower-text-active)}nv-button[emphasis=lower][danger]:not([danger=false]){background:var(--components-button-destructive-lower-background);border:1px solid var(--components-button-destructive-lower-border);color:var(--components-button-destructive-lower-text)}nv-button[emphasis=lower][danger]:not([danger=false]):hover{background:var(--components-button-destructive-lower-background-hover);border:1px solid var(--components-button-destructive-lower-border);color:var(--components-button-destructive-lower-text-hover)}nv-button[emphasis=lower][danger]:not([danger=false]):focus,nv-button[emphasis=lower][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=lower][danger]:not([danger=false]):focus-visible,nv-button[emphasis=lower][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[fluid]:not([fluid=false]){width:100%}nv-button[loading]:not([loading=false]) [slot=leading-icon]{display:none}";
|
|
7880
7880
|
const NvButtonStyle0 = nvButtonCss;
|
|
@@ -8040,7 +8040,7 @@ const NvButton$2 = /*@__PURE__*/ proxyCustomElement(class NvButton extends H {
|
|
|
8040
8040
|
"loading": ["handleLoadingChange"],
|
|
8041
8041
|
"disabled": ["handleDisabledChange"]
|
|
8042
8042
|
}]);
|
|
8043
|
-
function defineCustomElement$
|
|
8043
|
+
function defineCustomElement$P() {
|
|
8044
8044
|
if (typeof customElements === "undefined") {
|
|
8045
8045
|
return;
|
|
8046
8046
|
}
|
|
@@ -8053,15 +8053,15 @@ function defineCustomElement$_() {
|
|
|
8053
8053
|
break;
|
|
8054
8054
|
case "nv-loader":
|
|
8055
8055
|
if (!customElements.get(tagName)) {
|
|
8056
|
-
defineCustomElement$
|
|
8056
|
+
defineCustomElement$10();
|
|
8057
8057
|
}
|
|
8058
8058
|
break;
|
|
8059
8059
|
} });
|
|
8060
8060
|
}
|
|
8061
|
-
defineCustomElement$
|
|
8061
|
+
defineCustomElement$P();
|
|
8062
8062
|
|
|
8063
8063
|
const NvButton$1 = NvButton$2;
|
|
8064
|
-
const defineCustomElement$
|
|
8064
|
+
const defineCustomElement$O = defineCustomElement$P;
|
|
8065
8065
|
|
|
8066
8066
|
/**
|
|
8067
8067
|
* Utility functions for nv-buttongroup.
|
|
@@ -8261,7 +8261,7 @@ const NvButtongroup$1 = /*@__PURE__*/ proxyCustomElement(class NvButtongroup ext
|
|
|
8261
8261
|
"size": ["onSizeChange"],
|
|
8262
8262
|
"fluid": ["onFluidChange"]
|
|
8263
8263
|
}]);
|
|
8264
|
-
function defineCustomElement$1$
|
|
8264
|
+
function defineCustomElement$1$p() {
|
|
8265
8265
|
if (typeof customElements === "undefined") {
|
|
8266
8266
|
return;
|
|
8267
8267
|
}
|
|
@@ -8274,10 +8274,10 @@ function defineCustomElement$1$y() {
|
|
|
8274
8274
|
break;
|
|
8275
8275
|
} });
|
|
8276
8276
|
}
|
|
8277
|
-
defineCustomElement$1$
|
|
8277
|
+
defineCustomElement$1$p();
|
|
8278
8278
|
|
|
8279
8279
|
const NvButtongroup$2 = NvButtongroup$1;
|
|
8280
|
-
const defineCustomElement$
|
|
8280
|
+
const defineCustomElement$N = defineCustomElement$1$p;
|
|
8281
8281
|
|
|
8282
8282
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8283
8283
|
|
|
@@ -9717,7 +9717,7 @@ const NvCalendar$2 = /*@__PURE__*/ proxyCustomElement(class NvCalendar extends H
|
|
|
9717
9717
|
"singleValue": ["onSingleValueChange"],
|
|
9718
9718
|
"value": ["onValueChange"]
|
|
9719
9719
|
}]);
|
|
9720
|
-
function defineCustomElement$
|
|
9720
|
+
function defineCustomElement$M() {
|
|
9721
9721
|
if (typeof customElements === "undefined") {
|
|
9722
9722
|
return;
|
|
9723
9723
|
}
|
|
@@ -9730,10 +9730,10 @@ function defineCustomElement$X() {
|
|
|
9730
9730
|
break;
|
|
9731
9731
|
} });
|
|
9732
9732
|
}
|
|
9733
|
-
defineCustomElement$
|
|
9733
|
+
defineCustomElement$M();
|
|
9734
9734
|
|
|
9735
9735
|
const NvCalendar$1 = NvCalendar$2;
|
|
9736
|
-
const defineCustomElement$
|
|
9736
|
+
const defineCustomElement$L = defineCustomElement$M;
|
|
9737
9737
|
|
|
9738
9738
|
const nvColCss = "nv-col{display:block;flex:1 1 0%;padding-left:calc(var(--spacing-4) / 2);padding-right:calc(var(--spacing-4) / 2)}nv-col[class*=w-]{flex:none}nv-col.w-1\\/12{width:calc(100% * 1 / 12)}nv-col.w-2\\/12{width:calc(100% * 2 / 12)}nv-col.w-3\\/12{width:calc(100% * 3 / 12)}nv-col.w-4\\/12{width:calc(100% * 4 / 12)}nv-col.w-5\\/12{width:calc(100% * 5 / 12)}nv-col.w-6\\/12{width:calc(100% * 6 / 12)}nv-col.w-7\\/12{width:calc(100% * 7 / 12)}nv-col.w-8\\/12{width:calc(100% * 8 / 12)}nv-col.w-9\\/12{width:calc(100% * 9 / 12)}nv-col.w-10\\/12{width:calc(100% * 10 / 12)}nv-col.w-11\\/12{width:calc(100% * 11 / 12)}nv-col.w-12\\/12{width:calc(100% * 12 / 12)}";
|
|
9739
9739
|
const NvColStyle0 = nvColCss;
|
|
@@ -9767,7 +9767,7 @@ const NvCol$1 = /*@__PURE__*/ proxyCustomElement(class NvCol extends H {
|
|
|
9767
9767
|
}, [4, "nv-col", {
|
|
9768
9768
|
"size": [514]
|
|
9769
9769
|
}]);
|
|
9770
|
-
function defineCustomElement$1$
|
|
9770
|
+
function defineCustomElement$1$o() {
|
|
9771
9771
|
if (typeof customElements === "undefined") {
|
|
9772
9772
|
return;
|
|
9773
9773
|
}
|
|
@@ -9780,10 +9780,10 @@ function defineCustomElement$1$x() {
|
|
|
9780
9780
|
break;
|
|
9781
9781
|
} });
|
|
9782
9782
|
}
|
|
9783
|
-
defineCustomElement$1$
|
|
9783
|
+
defineCustomElement$1$o();
|
|
9784
9784
|
|
|
9785
9785
|
const NvCol$2 = NvCol$1;
|
|
9786
|
-
const defineCustomElement$
|
|
9786
|
+
const defineCustomElement$K = defineCustomElement$1$o;
|
|
9787
9787
|
|
|
9788
9788
|
/**
|
|
9789
9789
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
@@ -9978,7 +9978,7 @@ const NvFieldtext$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldtext extends
|
|
|
9978
9978
|
"autofocus": [516],
|
|
9979
9979
|
"fluid": [516]
|
|
9980
9980
|
}]);
|
|
9981
|
-
function defineCustomElement$
|
|
9981
|
+
function defineCustomElement$J() {
|
|
9982
9982
|
if (typeof customElements === "undefined") {
|
|
9983
9983
|
return;
|
|
9984
9984
|
}
|
|
@@ -9991,12 +9991,12 @@ function defineCustomElement$U() {
|
|
|
9991
9991
|
break;
|
|
9992
9992
|
case "nv-icon":
|
|
9993
9993
|
if (!customElements.get(tagName)) {
|
|
9994
|
-
defineCustomElement$
|
|
9994
|
+
defineCustomElement$11();
|
|
9995
9995
|
}
|
|
9996
9996
|
break;
|
|
9997
9997
|
} });
|
|
9998
9998
|
}
|
|
9999
|
-
defineCustomElement$
|
|
9999
|
+
defineCustomElement$J();
|
|
10000
10000
|
|
|
10001
10001
|
/**
|
|
10002
10002
|
* table-core
|
|
@@ -12971,13 +12971,13 @@ function expandRows$1(rowModel) {
|
|
|
12971
12971
|
};
|
|
12972
12972
|
}
|
|
12973
12973
|
|
|
12974
|
-
function filterRows(rows, filterRowImpl, table) {
|
|
12974
|
+
function filterRows$1(rows, filterRowImpl, table) {
|
|
12975
12975
|
if (table.options.filterFromLeafRows) {
|
|
12976
|
-
return filterRowModelFromLeafs(rows, filterRowImpl, table);
|
|
12976
|
+
return filterRowModelFromLeafs$1(rows, filterRowImpl, table);
|
|
12977
12977
|
}
|
|
12978
|
-
return filterRowModelFromRoot(rows, filterRowImpl, table);
|
|
12978
|
+
return filterRowModelFromRoot$1(rows, filterRowImpl, table);
|
|
12979
12979
|
}
|
|
12980
|
-
function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
12980
|
+
function filterRowModelFromLeafs$1(rowsToFilter, filterRow, table) {
|
|
12981
12981
|
var _table$options$maxLea;
|
|
12982
12982
|
const newFilteredFlatRows = [];
|
|
12983
12983
|
const newFilteredRowsById = {};
|
|
@@ -13026,7 +13026,7 @@ function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
|
13026
13026
|
rowsById: newFilteredRowsById
|
|
13027
13027
|
};
|
|
13028
13028
|
}
|
|
13029
|
-
function filterRowModelFromRoot(rowsToFilter, filterRow, table) {
|
|
13029
|
+
function filterRowModelFromRoot$1(rowsToFilter, filterRow, table) {
|
|
13030
13030
|
var _table$options$maxLea2;
|
|
13031
13031
|
const newFilteredFlatRows = [];
|
|
13032
13032
|
const newFilteredRowsById = {};
|
|
@@ -13066,7 +13066,7 @@ function filterRowModelFromRoot(rowsToFilter, filterRow, table) {
|
|
|
13066
13066
|
};
|
|
13067
13067
|
}
|
|
13068
13068
|
|
|
13069
|
-
function getFilteredRowModel() {
|
|
13069
|
+
function getFilteredRowModel$1() {
|
|
13070
13070
|
return table => memo$1(() => [table.getPreFilteredRowModel(), table.getState().columnFilters, table.getState().globalFilter], (rowModel, columnFilters, globalFilter) => {
|
|
13071
13071
|
if (!rowModel.rows.length || !(columnFilters != null && columnFilters.length) && !globalFilter) {
|
|
13072
13072
|
for (let i = 0; i < rowModel.flatRows.length; i++) {
|
|
@@ -13153,7 +13153,7 @@ function getFilteredRowModel() {
|
|
|
13153
13153
|
};
|
|
13154
13154
|
|
|
13155
13155
|
// Filter final rows using all of the active filters
|
|
13156
|
-
return filterRows(rowModel.rows, filterRowsImpl, table);
|
|
13156
|
+
return filterRows$1(rowModel.rows, filterRowsImpl, table);
|
|
13157
13157
|
}, getMemoOptions$1(table.options, 'debugTable', 'getFilteredRowModel', () => table._autoResetPageIndex()));
|
|
13158
13158
|
}
|
|
13159
13159
|
|
|
@@ -13816,7 +13816,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
13816
13816
|
}
|
|
13817
13817
|
}
|
|
13818
13818
|
if (this.enableGlobalFilter) {
|
|
13819
|
-
tableOptions.getFilteredRowModel = getFilteredRowModel();
|
|
13819
|
+
tableOptions.getFilteredRowModel = getFilteredRowModel$1();
|
|
13820
13820
|
const globalFilter = this.globalFilterSearchTerm;
|
|
13821
13821
|
// Set the initial global filter value
|
|
13822
13822
|
tableOptions.state.globalFilter = globalFilter;
|
|
@@ -14545,7 +14545,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
14545
14545
|
"rowSelectionState": ["handleRowSelectionState"],
|
|
14546
14546
|
"state": ["handleStateChange"]
|
|
14547
14547
|
}]);
|
|
14548
|
-
function defineCustomElement$1$
|
|
14548
|
+
function defineCustomElement$1$n() {
|
|
14549
14549
|
if (typeof customElements === "undefined") {
|
|
14550
14550
|
return;
|
|
14551
14551
|
}
|
|
@@ -14558,20 +14558,20 @@ function defineCustomElement$1$w() {
|
|
|
14558
14558
|
break;
|
|
14559
14559
|
case "nv-fieldtext":
|
|
14560
14560
|
if (!customElements.get(tagName)) {
|
|
14561
|
-
defineCustomElement$
|
|
14561
|
+
defineCustomElement$J();
|
|
14562
14562
|
}
|
|
14563
14563
|
break;
|
|
14564
14564
|
case "nv-icon":
|
|
14565
14565
|
if (!customElements.get(tagName)) {
|
|
14566
|
-
defineCustomElement$
|
|
14566
|
+
defineCustomElement$11();
|
|
14567
14567
|
}
|
|
14568
14568
|
break;
|
|
14569
14569
|
} });
|
|
14570
14570
|
}
|
|
14571
|
-
defineCustomElement$1$
|
|
14571
|
+
defineCustomElement$1$n();
|
|
14572
14572
|
|
|
14573
14573
|
const NvDatagrid$2 = NvDatagrid$1;
|
|
14574
|
-
const defineCustomElement$
|
|
14574
|
+
const defineCustomElement$I = defineCustomElement$1$n;
|
|
14575
14575
|
|
|
14576
14576
|
const NvDatagridcolumn$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagridcolumn extends H {
|
|
14577
14577
|
constructor() {
|
|
@@ -14594,7 +14594,7 @@ const NvDatagridcolumn$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagridcolu
|
|
|
14594
14594
|
"repeatTemplate": [516, "repeat-template"],
|
|
14595
14595
|
"group": [513]
|
|
14596
14596
|
}]);
|
|
14597
|
-
function defineCustomElement$1$
|
|
14597
|
+
function defineCustomElement$1$m() {
|
|
14598
14598
|
if (typeof customElements === "undefined") {
|
|
14599
14599
|
return;
|
|
14600
14600
|
}
|
|
@@ -14607,10 +14607,10 @@ function defineCustomElement$1$v() {
|
|
|
14607
14607
|
break;
|
|
14608
14608
|
} });
|
|
14609
14609
|
}
|
|
14610
|
-
defineCustomElement$1$
|
|
14610
|
+
defineCustomElement$1$m();
|
|
14611
14611
|
|
|
14612
14612
|
const NvDatagridcolumn$2 = NvDatagridcolumn$1;
|
|
14613
|
-
const defineCustomElement$
|
|
14613
|
+
const defineCustomElement$H = defineCustomElement$1$m;
|
|
14614
14614
|
|
|
14615
14615
|
const nvDialogfooterCss = "nv-dialogfooter{display:flex;padding:var(--dialog-footer-padding-top) var(--dialog-footer-padding-x) var(--dialog-footer-padding-bottom) var(--dialog-footer-padding-x);justify-content:flex-end;align-items:flex-end;gap:var(--dialog-footer-gap-y);align-self:stretch}";
|
|
14616
14616
|
const NvDialogfooterStyle0 = nvDialogfooterCss;
|
|
@@ -14711,7 +14711,7 @@ const NvDialogfooter$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogfooter e
|
|
|
14711
14711
|
"primaryButtonType": [1537, "primary-button-type"],
|
|
14712
14712
|
"form": [513]
|
|
14713
14713
|
}]);
|
|
14714
|
-
function defineCustomElement$
|
|
14714
|
+
function defineCustomElement$G() {
|
|
14715
14715
|
if (typeof customElements === "undefined") {
|
|
14716
14716
|
return;
|
|
14717
14717
|
}
|
|
@@ -14724,22 +14724,22 @@ function defineCustomElement$R() {
|
|
|
14724
14724
|
break;
|
|
14725
14725
|
case "nv-button":
|
|
14726
14726
|
if (!customElements.get(tagName)) {
|
|
14727
|
-
defineCustomElement$
|
|
14727
|
+
defineCustomElement$P();
|
|
14728
14728
|
}
|
|
14729
14729
|
break;
|
|
14730
14730
|
case "nv-icon":
|
|
14731
14731
|
if (!customElements.get(tagName)) {
|
|
14732
|
-
defineCustomElement$
|
|
14732
|
+
defineCustomElement$11();
|
|
14733
14733
|
}
|
|
14734
14734
|
break;
|
|
14735
14735
|
case "nv-loader":
|
|
14736
14736
|
if (!customElements.get(tagName)) {
|
|
14737
|
-
defineCustomElement$
|
|
14737
|
+
defineCustomElement$10();
|
|
14738
14738
|
}
|
|
14739
14739
|
break;
|
|
14740
14740
|
} });
|
|
14741
14741
|
}
|
|
14742
|
-
defineCustomElement$
|
|
14742
|
+
defineCustomElement$G();
|
|
14743
14743
|
|
|
14744
14744
|
const nvDialogheaderCss = "nv-dialogheader{padding:var(--dialog-header-padding-top) var(--dialog-header-padding-x) var(--dialog-header-padding-bottom) var(--dialog-header-padding-x);justify-content:space-between;align-items:flex-start;align-self:stretch}nv-dialogheader .heading{color:var(--color-content-high-text);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--font-size-lg);font-style:normal;font-weight:var(--font-weight-medium-emphasis);padding-right:var(--spacing-7);line-height:var(--leading-px-6);letter-spacing:var(--letter-spacing-heading-xs)}nv-dialogheader .subheading{color:var(--color-content-low-text);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--font-size-sm);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--line-height-sm);}";
|
|
14745
14745
|
const NvDialogheaderStyle0 = nvDialogheaderCss;
|
|
@@ -14778,7 +14778,7 @@ const NvDialogheader$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogheader e
|
|
|
14778
14778
|
"heading": [513],
|
|
14779
14779
|
"subheading": [513]
|
|
14780
14780
|
}]);
|
|
14781
|
-
function defineCustomElement$
|
|
14781
|
+
function defineCustomElement$F() {
|
|
14782
14782
|
if (typeof customElements === "undefined") {
|
|
14783
14783
|
return;
|
|
14784
14784
|
}
|
|
@@ -14791,7 +14791,7 @@ function defineCustomElement$Q() {
|
|
|
14791
14791
|
break;
|
|
14792
14792
|
} });
|
|
14793
14793
|
}
|
|
14794
|
-
defineCustomElement$
|
|
14794
|
+
defineCustomElement$F();
|
|
14795
14795
|
|
|
14796
14796
|
/*!
|
|
14797
14797
|
* tabbable 6.2.0
|
|
@@ -15625,7 +15625,7 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15625
15625
|
}, [[4, "keydown", "handleKeyDown"]], {
|
|
15626
15626
|
"open": ["handleDialogOpenChange"]
|
|
15627
15627
|
}]);
|
|
15628
|
-
function defineCustomElement$1$
|
|
15628
|
+
function defineCustomElement$1$l() {
|
|
15629
15629
|
if (typeof customElements === "undefined") {
|
|
15630
15630
|
return;
|
|
15631
15631
|
}
|
|
@@ -15638,41 +15638,41 @@ function defineCustomElement$1$u() {
|
|
|
15638
15638
|
break;
|
|
15639
15639
|
case "nv-button":
|
|
15640
15640
|
if (!customElements.get(tagName)) {
|
|
15641
|
-
defineCustomElement$
|
|
15641
|
+
defineCustomElement$P();
|
|
15642
15642
|
}
|
|
15643
15643
|
break;
|
|
15644
15644
|
case "nv-dialogfooter":
|
|
15645
15645
|
if (!customElements.get(tagName)) {
|
|
15646
|
-
defineCustomElement$
|
|
15646
|
+
defineCustomElement$G();
|
|
15647
15647
|
}
|
|
15648
15648
|
break;
|
|
15649
15649
|
case "nv-dialogheader":
|
|
15650
15650
|
if (!customElements.get(tagName)) {
|
|
15651
|
-
defineCustomElement$
|
|
15651
|
+
defineCustomElement$F();
|
|
15652
15652
|
}
|
|
15653
15653
|
break;
|
|
15654
15654
|
case "nv-icon":
|
|
15655
15655
|
if (!customElements.get(tagName)) {
|
|
15656
|
-
defineCustomElement$
|
|
15656
|
+
defineCustomElement$11();
|
|
15657
15657
|
}
|
|
15658
15658
|
break;
|
|
15659
15659
|
case "nv-loader":
|
|
15660
15660
|
if (!customElements.get(tagName)) {
|
|
15661
|
-
defineCustomElement$
|
|
15661
|
+
defineCustomElement$10();
|
|
15662
15662
|
}
|
|
15663
15663
|
break;
|
|
15664
15664
|
} });
|
|
15665
15665
|
}
|
|
15666
|
-
defineCustomElement$1$
|
|
15666
|
+
defineCustomElement$1$l();
|
|
15667
15667
|
|
|
15668
15668
|
const NvDialog$2 = NvDialog$1;
|
|
15669
|
-
const defineCustomElement$
|
|
15669
|
+
const defineCustomElement$E = defineCustomElement$1$l;
|
|
15670
15670
|
|
|
15671
15671
|
const NvDialogfooter$1 = NvDialogfooter$2;
|
|
15672
|
-
const defineCustomElement$
|
|
15672
|
+
const defineCustomElement$D = defineCustomElement$G;
|
|
15673
15673
|
|
|
15674
15674
|
const NvDialogheader$1 = NvDialogheader$2;
|
|
15675
|
-
const defineCustomElement$
|
|
15675
|
+
const defineCustomElement$C = defineCustomElement$F;
|
|
15676
15676
|
|
|
15677
15677
|
const nvFieldcheckboxCss = "nv-fieldcheckbox{--nv-fieldcheckbox-border-default:var(\n --components-form-field-border-default\n );--nv-fieldcheckbox-border-hover:var(--components-form-field-border-hover);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-default);--nv-fieldcheckbox-background-default:var(\n --components-form-field-background-default\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-checked\n );--nv-fieldcheckbox-background-disabled:var(\n --components-form-field-background-disabled\n );--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-brand);--nv-fieldcheckbox-color-checked:var(\n --components-form-shape-foreground-default\n );--nv-fieldcheckbox-color-disabled:var(\n --components-form-shape-foreground-disabled\n );--nv-fieldcheckbox-outline-color:var(--color-focus-brand);display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-fieldcheckbox:not([disabled],[readonly]) input,nv-fieldcheckbox:not([disabled],[readonly]) label{cursor:pointer}nv-fieldcheckbox.error>.input-container{--nv-fieldcheckbox-border-default:var(--components-form-field-border-error);--nv-fieldcheckbox-border-hover:var(--nv-fieldcheckbox-border-default);--nv-fieldcheckbox-border-focus:var(--components-form-field-border-error);--nv-fieldcheckbox-focus-box-shadow:var(--color-focus-destructive);--nv-fieldcheckbox-color-disabled:var(\n --components-form-shape-foreground-disabled-error\n );--nv-fieldcheckbox-background-checked:var(\n --components-form-field-background-error\n );--nv-fieldcheckbox-outline-color:var(--color-focus-destructive)}nv-fieldcheckbox.label-placement-before{flex-direction:row-reverse}nv-fieldcheckbox[disabled]:not([disabled=false]){opacity:0.5}nv-fieldcheckbox>.input-container{position:relative;color:var(--nv-fieldcheckbox-color-checked)}nv-fieldcheckbox>.input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox>.input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--nv-fieldcheckbox-color-disabled)}nv-fieldcheckbox>.input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-checkbox-size);height:var(--form-checkbox-size);flex-direction:column;align-items:flex-start;border-radius:var(--form-checkbox-radius);border-width:var(--form-checkbox-border-width);border-style:solid;border-color:var(--nv-fieldcheckbox-border-default);background:var(--nv-fieldcheckbox-background-default)}nv-fieldcheckbox>.input-container input[type=checkbox]:hover{border-color:var(--nv-fieldcheckbox-border-hover)}nv-fieldcheckbox>.input-container input[type=checkbox]:focus{border-color:var(--nv-fieldcheckbox-border-focus)}nv-fieldcheckbox>.input-container input[type=checkbox]:focus,nv-fieldcheckbox>.input-container input[type=checkbox]:focus-within{outline:none}nv-fieldcheckbox>.input-container input[type=checkbox]:focus-visible,nv-fieldcheckbox>.input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--nv-fieldcheckbox-outline-color);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-fieldcheckbox>.input-container input[type=checkbox]:checked,nv-fieldcheckbox>.input-container input[type=checkbox]:indeterminate{background:var(--nv-fieldcheckbox-background-checked);border-color:var(--nv-fieldcheckbox-background-checked)}nv-fieldcheckbox>.input-container input[type=checkbox]:disabled:not([readonly]){background:var(--nv-fieldcheckbox-background-disabled);border-color:var(--nv-fieldcheckbox-border-default)}nv-fieldcheckbox>.input-container input[type=checkbox][readonly]{opacity:0.5}nv-fieldcheckbox>.input-container .icon{pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}nv-fieldcheckbox>.input-container .icon svg{width:var(--form-checkbox-icon-size);height:var(--form-checkbox-icon-size);fill:none;stroke:currentcolor;stroke-width:var(--form-checkbox-icon-stroke);flex-shrink:0}nv-fieldcheckbox>.text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}nv-fieldcheckbox>.text-container label{align-self:stretch;text-align:left;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}nv-fieldcheckbox>.text-container label.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-fieldcheckbox>.text-container .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height)}nv-fieldcheckbox>.text-container .error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
|
|
15678
15678
|
const NvFieldcheckboxStyle0 = nvFieldcheckboxCss;
|
|
@@ -15824,7 +15824,7 @@ const NvFieldcheckbox$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldcheckbox
|
|
|
15824
15824
|
}, [[0, "change", "handleChange"]], {
|
|
15825
15825
|
"checked": ["onCheckedChanged"]
|
|
15826
15826
|
}]);
|
|
15827
|
-
function defineCustomElement$
|
|
15827
|
+
function defineCustomElement$B() {
|
|
15828
15828
|
if (typeof customElements === "undefined") {
|
|
15829
15829
|
return;
|
|
15830
15830
|
}
|
|
@@ -15837,10 +15837,10 @@ function defineCustomElement$M() {
|
|
|
15837
15837
|
break;
|
|
15838
15838
|
} });
|
|
15839
15839
|
}
|
|
15840
|
-
defineCustomElement$
|
|
15840
|
+
defineCustomElement$B();
|
|
15841
15841
|
|
|
15842
15842
|
const NvFieldcheckbox$1 = NvFieldcheckbox$2;
|
|
15843
|
-
const defineCustomElement$
|
|
15843
|
+
const defineCustomElement$A = defineCustomElement$B;
|
|
15844
15844
|
|
|
15845
15845
|
var inputmask = {exports: {}};
|
|
15846
15846
|
|
|
@@ -19992,7 +19992,7 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19992
19992
|
"value": ["handleValueChange"],
|
|
19993
19993
|
"open": ["handleOpenChange"]
|
|
19994
19994
|
}]);
|
|
19995
|
-
function defineCustomElement$1$
|
|
19995
|
+
function defineCustomElement$1$k() {
|
|
19996
19996
|
if (typeof customElements === "undefined") {
|
|
19997
19997
|
return;
|
|
19998
19998
|
}
|
|
@@ -20005,35 +20005,35 @@ function defineCustomElement$1$t() {
|
|
|
20005
20005
|
break;
|
|
20006
20006
|
case "nv-calendar":
|
|
20007
20007
|
if (!customElements.get(tagName)) {
|
|
20008
|
-
defineCustomElement$
|
|
20008
|
+
defineCustomElement$M();
|
|
20009
20009
|
}
|
|
20010
20010
|
break;
|
|
20011
20011
|
case "nv-icon":
|
|
20012
20012
|
if (!customElements.get(tagName)) {
|
|
20013
|
-
defineCustomElement$
|
|
20013
|
+
defineCustomElement$11();
|
|
20014
20014
|
}
|
|
20015
20015
|
break;
|
|
20016
20016
|
case "nv-iconbutton":
|
|
20017
20017
|
if (!customElements.get(tagName)) {
|
|
20018
|
-
defineCustomElement
|
|
20018
|
+
defineCustomElement$$();
|
|
20019
20019
|
}
|
|
20020
20020
|
break;
|
|
20021
20021
|
case "nv-loader":
|
|
20022
20022
|
if (!customElements.get(tagName)) {
|
|
20023
|
-
defineCustomElement$
|
|
20023
|
+
defineCustomElement$10();
|
|
20024
20024
|
}
|
|
20025
20025
|
break;
|
|
20026
20026
|
case "nv-popover":
|
|
20027
20027
|
if (!customElements.get(tagName)) {
|
|
20028
|
-
defineCustomElement$
|
|
20028
|
+
defineCustomElement$T();
|
|
20029
20029
|
}
|
|
20030
20030
|
break;
|
|
20031
20031
|
} });
|
|
20032
20032
|
}
|
|
20033
|
-
defineCustomElement$1$
|
|
20033
|
+
defineCustomElement$1$k();
|
|
20034
20034
|
|
|
20035
20035
|
const NvFielddate$2 = NvFielddate$1;
|
|
20036
|
-
const defineCustomElement$
|
|
20036
|
+
const defineCustomElement$z = defineCustomElement$1$k;
|
|
20037
20037
|
|
|
20038
20038
|
const nvFielddaterangeCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fielddaterange{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fielddaterange[fluid]:not([fluid=false]){max-width:unset}nv-fielddaterange[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fielddaterange[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fielddaterange[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fielddaterange[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fielddaterange label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fielddaterange nv-popover{width:100%;display:block}nv-fielddaterange nv-popover [data-scope=popover]{padding:0;background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border);width:auto;z-index:2}nv-fielddaterange nv-popover [slot=content]{display:block;width:100%}nv-fielddaterange .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;display:flex;align-items:center;gap:8px}nv-fielddaterange .input-wrapper .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out}nv-fielddaterange .input-wrapper .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fielddaterange .input-wrapper .input-container:focus-within,nv-fielddaterange .input-wrapper .input-container:focus-within:hover,nv-fielddaterange .input-wrapper .input-container:focus,nv-fielddaterange .input-wrapper .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fielddaterange .input-wrapper .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fielddaterange .input-wrapper .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fielddaterange .input-wrapper .input-container:focus-within,nv-fielddaterange .input-wrapper .input-container:focus-within:hover,nv-fielddaterange .input-wrapper .input-container:focus,nv-fielddaterange .input-wrapper .input-container:focus:hover{box-shadow:none;border-color:var(--nv-field-border-default)}nv-fielddaterange .input-wrapper .input-container input{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;width:100%}nv-fielddaterange .input-wrapper .input-container input:focus{outline:none}nv-fielddaterange .input-wrapper .input-container input::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fielddaterange .input-wrapper .input-container input[type=password]::-ms-clear,nv-fielddaterange .input-wrapper .input-container input[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fielddaterange .input-wrapper .input-container input:focus-within,nv-fielddaterange .input-wrapper .input-container input:focus-within:hover,nv-fielddaterange .input-wrapper .input-container input:focus,nv-fielddaterange .input-wrapper .input-container input:focus:hover{outline:var(--focus-outline-stroke) solid var(--nv-field-border-focus);outline-offset:0px}nv-fielddaterange .input-wrapper .input-container input:focus-within~.range-separator,nv-fielddaterange .input-wrapper .input-container input:focus-within:hover~.range-separator,nv-fielddaterange .input-wrapper .input-container input:focus~.range-separator,nv-fielddaterange .input-wrapper .input-container input:focus:hover~.range-separator{background-color:transparent}nv-fielddaterange .input-wrapper .input-container>nv-iconbutton{border:0px;border-radius:0px}nv-fielddaterange .input-wrapper .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fielddaterange .input-wrapper .input-container>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fielddaterange .input-wrapper .input-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fielddaterange .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fielddaterange .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fielddaterange .range-inputs{display:flex;align-items:center;gap:0;width:100%}nv-fielddaterange .range-inputs:focus-within{z-index:1}nv-fielddaterange .range-inputs input{flex:1;border:none;outline:none;padding:0;font-size:var(--form-field-font-size);color:var(--components-form-field-content-text);background:transparent;min-width:0}nv-fielddaterange .range-inputs input::placeholder{color:var(--components-form-field-content-placeholder)}nv-fielddaterange .range-inputs input:disabled{cursor:not-allowed;color:var(--components-form-field-content-text);background-color:var(--components-form-field-background-disabled)}nv-fielddaterange .range-inputs .range-separator{width:1px;height:1.5rem;background-color:var(--color-content-medium-border)}";
|
|
20039
20039
|
const NvFielddaterangeStyle0 = nvFielddaterangeCss;
|
|
@@ -20599,7 +20599,7 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
20599
20599
|
"value": ["handleValueChange"],
|
|
20600
20600
|
"open": ["onOpenChanged"]
|
|
20601
20601
|
}]);
|
|
20602
|
-
function defineCustomElement$1$
|
|
20602
|
+
function defineCustomElement$1$j() {
|
|
20603
20603
|
if (typeof customElements === "undefined") {
|
|
20604
20604
|
return;
|
|
20605
20605
|
}
|
|
@@ -20612,35 +20612,35 @@ function defineCustomElement$1$s() {
|
|
|
20612
20612
|
break;
|
|
20613
20613
|
case "nv-calendar":
|
|
20614
20614
|
if (!customElements.get(tagName)) {
|
|
20615
|
-
defineCustomElement$
|
|
20615
|
+
defineCustomElement$M();
|
|
20616
20616
|
}
|
|
20617
20617
|
break;
|
|
20618
20618
|
case "nv-icon":
|
|
20619
20619
|
if (!customElements.get(tagName)) {
|
|
20620
|
-
defineCustomElement$
|
|
20620
|
+
defineCustomElement$11();
|
|
20621
20621
|
}
|
|
20622
20622
|
break;
|
|
20623
20623
|
case "nv-iconbutton":
|
|
20624
20624
|
if (!customElements.get(tagName)) {
|
|
20625
|
-
defineCustomElement
|
|
20625
|
+
defineCustomElement$$();
|
|
20626
20626
|
}
|
|
20627
20627
|
break;
|
|
20628
20628
|
case "nv-loader":
|
|
20629
20629
|
if (!customElements.get(tagName)) {
|
|
20630
|
-
defineCustomElement$
|
|
20630
|
+
defineCustomElement$10();
|
|
20631
20631
|
}
|
|
20632
20632
|
break;
|
|
20633
20633
|
case "nv-popover":
|
|
20634
20634
|
if (!customElements.get(tagName)) {
|
|
20635
|
-
defineCustomElement$
|
|
20635
|
+
defineCustomElement$T();
|
|
20636
20636
|
}
|
|
20637
20637
|
break;
|
|
20638
20638
|
} });
|
|
20639
20639
|
}
|
|
20640
|
-
defineCustomElement$1$
|
|
20640
|
+
defineCustomElement$1$j();
|
|
20641
20641
|
|
|
20642
20642
|
const NvFielddaterange$2 = NvFielddaterange$1;
|
|
20643
|
-
const defineCustomElement$
|
|
20643
|
+
const defineCustomElement$y = defineCustomElement$1$j;
|
|
20644
20644
|
|
|
20645
20645
|
const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;word-break:break-word;overflow-wrap:break-word;padding-right:var(--spacing-5)}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto;position:absolute;right:var(--list-dropdown-item-padding-y)}";
|
|
20646
20646
|
const NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
|
|
@@ -20713,7 +20713,7 @@ const NvFielddropdownitem$2 = /*@__PURE__*/ proxyCustomElement(class NvFielddrop
|
|
|
20713
20713
|
"label": [513],
|
|
20714
20714
|
"detached": [516]
|
|
20715
20715
|
}, [[0, "keydown", "handleKeyDown"]]]);
|
|
20716
|
-
function defineCustomElement$
|
|
20716
|
+
function defineCustomElement$x() {
|
|
20717
20717
|
if (typeof customElements === "undefined") {
|
|
20718
20718
|
return;
|
|
20719
20719
|
}
|
|
@@ -20726,12 +20726,12 @@ function defineCustomElement$I() {
|
|
|
20726
20726
|
break;
|
|
20727
20727
|
case "nv-icon":
|
|
20728
20728
|
if (!customElements.get(tagName)) {
|
|
20729
|
-
defineCustomElement$
|
|
20729
|
+
defineCustomElement$11();
|
|
20730
20730
|
}
|
|
20731
20731
|
break;
|
|
20732
20732
|
} });
|
|
20733
20733
|
}
|
|
20734
|
-
defineCustomElement$
|
|
20734
|
+
defineCustomElement$x();
|
|
20735
20735
|
|
|
20736
20736
|
const nvFielddropdownCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fielddropdown{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fielddropdown[fluid]:not([fluid=false]){max-width:unset}nv-fielddropdown[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fielddropdown[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fielddropdown[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fielddropdown[hidden]:not([hidden=false]) label{display:none}nv-fielddropdown label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fielddropdown nv-popover{width:100%;display:block}nv-fielddropdown nv-popover [data-scope=popover]{min-width:100%;width:max-content;max-width:400px;padding:var(--list-dropdown-padding);border-radius:var(--list-dropdown-radius);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border)}nv-fielddropdown nv-popover [slot=content]{gap:var(--list-dropdown-gap-y);display:flex;flex-direction:column}nv-fielddropdown nv-popover hr{color:var(--components-list-dropdown-separator)}nv-fielddropdown nv-popover div[slot=content]{max-height:calc(90vh - var(--list-dropdown-padding) * 2);overflow-y:auto;position:relative}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar{width:6px;height:6px}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fielddropdown nv-popover div[slot=content]::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fielddropdown .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fielddropdown .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;position:relative;width:100%;min-height:40px}nv-fielddropdown .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fielddropdown .input-container:focus-within,nv-fielddropdown .input-container:focus-within:hover,nv-fielddropdown .input-container:focus,nv-fielddropdown .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fielddropdown .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fielddropdown .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fielddropdown .input-container input[type=search]::-webkit-search-decoration,nv-fielddropdown .input-container input[type=search]::-webkit-search-cancel-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}nv-fielddropdown .input-container input,nv-fielddropdown .input-container p.non-filterable-text{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;}nv-fielddropdown .input-container input:focus,nv-fielddropdown .input-container p.non-filterable-text:focus{outline:none}nv-fielddropdown .input-container input::placeholder,nv-fielddropdown .input-container p.non-filterable-text::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fielddropdown .input-container input[type=password]::-ms-clear,nv-fielddropdown .input-container input[type=password]::-ms-reveal,nv-fielddropdown .input-container p.non-filterable-text[type=password]::-ms-clear,nv-fielddropdown .input-container p.non-filterable-text[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fielddropdown .input-container p.non-filterable-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fielddropdown .input-container p.non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fielddropdown .input-container>nv-iconbutton{border:0px;border-radius:0px}nv-fielddropdown .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fielddropdown .input-container>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fielddropdown .input-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fielddropdown .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fielddropdown .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
|
|
20737
20737
|
const NvFielddropdownStyle0 = nvFielddropdownCss;
|
|
@@ -21148,7 +21148,7 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
21148
21148
|
"value": ["handleValueChange"],
|
|
21149
21149
|
"options": ["handleOptionsChange"]
|
|
21150
21150
|
}]);
|
|
21151
|
-
function defineCustomElement$1$
|
|
21151
|
+
function defineCustomElement$1$i() {
|
|
21152
21152
|
if (typeof customElements === "undefined") {
|
|
21153
21153
|
return;
|
|
21154
21154
|
}
|
|
@@ -21161,38 +21161,38 @@ function defineCustomElement$1$r() {
|
|
|
21161
21161
|
break;
|
|
21162
21162
|
case "nv-fielddropdownitem":
|
|
21163
21163
|
if (!customElements.get(tagName)) {
|
|
21164
|
-
defineCustomElement$
|
|
21164
|
+
defineCustomElement$x();
|
|
21165
21165
|
}
|
|
21166
21166
|
break;
|
|
21167
21167
|
case "nv-icon":
|
|
21168
21168
|
if (!customElements.get(tagName)) {
|
|
21169
|
-
defineCustomElement$
|
|
21169
|
+
defineCustomElement$11();
|
|
21170
21170
|
}
|
|
21171
21171
|
break;
|
|
21172
21172
|
case "nv-iconbutton":
|
|
21173
21173
|
if (!customElements.get(tagName)) {
|
|
21174
|
-
defineCustomElement
|
|
21174
|
+
defineCustomElement$$();
|
|
21175
21175
|
}
|
|
21176
21176
|
break;
|
|
21177
21177
|
case "nv-loader":
|
|
21178
21178
|
if (!customElements.get(tagName)) {
|
|
21179
|
-
defineCustomElement$
|
|
21179
|
+
defineCustomElement$10();
|
|
21180
21180
|
}
|
|
21181
21181
|
break;
|
|
21182
21182
|
case "nv-popover":
|
|
21183
21183
|
if (!customElements.get(tagName)) {
|
|
21184
|
-
defineCustomElement$
|
|
21184
|
+
defineCustomElement$T();
|
|
21185
21185
|
}
|
|
21186
21186
|
break;
|
|
21187
21187
|
} });
|
|
21188
21188
|
}
|
|
21189
|
-
defineCustomElement$1$
|
|
21189
|
+
defineCustomElement$1$i();
|
|
21190
21190
|
|
|
21191
21191
|
const NvFielddropdown$2 = NvFielddropdown$1;
|
|
21192
|
-
const defineCustomElement$
|
|
21192
|
+
const defineCustomElement$w = defineCustomElement$1$i;
|
|
21193
21193
|
|
|
21194
21194
|
const NvFielddropdownitem$1 = NvFielddropdownitem$2;
|
|
21195
|
-
const defineCustomElement$
|
|
21195
|
+
const defineCustomElement$v = defineCustomElement$x;
|
|
21196
21196
|
|
|
21197
21197
|
const nvFielddropdownitemcheckCss = "nv-fielddropdownitemcheck{cursor:pointer;display:flex;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);border-radius:var(--list-dropdown-item-radius)}nv-fielddropdownitemcheck slot-fb,nv-fielddropdownitemcheck span{all:unset}nv-fielddropdownitemcheck:hover{background-color:var(--components-list-dropdown-item-background-hover)}";
|
|
21198
21198
|
const NvFielddropdownitemcheckStyle0 = nvFielddropdownitemcheckCss;
|
|
@@ -21259,7 +21259,7 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
|
|
|
21259
21259
|
"group": [513],
|
|
21260
21260
|
"disabled": [516]
|
|
21261
21261
|
}]);
|
|
21262
|
-
function defineCustomElement$
|
|
21262
|
+
function defineCustomElement$u() {
|
|
21263
21263
|
if (typeof customElements === "undefined") {
|
|
21264
21264
|
return;
|
|
21265
21265
|
}
|
|
@@ -21272,15 +21272,15 @@ function defineCustomElement$F() {
|
|
|
21272
21272
|
break;
|
|
21273
21273
|
case "nv-fieldcheckbox":
|
|
21274
21274
|
if (!customElements.get(tagName)) {
|
|
21275
|
-
defineCustomElement$
|
|
21275
|
+
defineCustomElement$B();
|
|
21276
21276
|
}
|
|
21277
21277
|
break;
|
|
21278
21278
|
} });
|
|
21279
21279
|
}
|
|
21280
|
-
defineCustomElement$
|
|
21280
|
+
defineCustomElement$u();
|
|
21281
21281
|
|
|
21282
21282
|
const NvFielddropdownitemcheck$1 = NvFielddropdownitemcheck$2;
|
|
21283
|
-
const defineCustomElement$
|
|
21283
|
+
const defineCustomElement$t = defineCustomElement$u;
|
|
21284
21284
|
|
|
21285
21285
|
const nvFieldmultiselectCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldmultiselect{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldmultiselect[fluid]:not([fluid=false]){max-width:unset}nv-fieldmultiselect[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldmultiselect[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldmultiselect[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldmultiselect label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fieldmultiselect nv-popover{width:100%;display:block}nv-fieldmultiselect nv-popover [data-scope=popover]{min-width:100%;width:max-content;max-width:400px;padding:var(--list-dropdown-padding);border-radius:var(--list-dropdown-radius);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border)}nv-fieldmultiselect nv-popover [slot=content]{gap:var(--list-dropdown-gap-y);display:flex;flex-direction:column}nv-fieldmultiselect nv-popover hr{color:var(--components-list-dropdown-separator)}nv-fieldmultiselect nv-popover div[slot=content]{max-height:calc(90vh - var(--list-dropdown-padding) * 2);overflow-y:auto;position:relative}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar{width:6px;height:6px}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fieldmultiselect nv-popover div[slot=content]::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fieldmultiselect .input-wrapper-multiselect{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fieldmultiselect .input-container-multiselect{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;position:relative;width:100%;min-height:40px}nv-fieldmultiselect .input-container-multiselect:hover{border-color:var(--nv-field-border-hover)}nv-fieldmultiselect .input-container-multiselect:focus-within,nv-fieldmultiselect .input-container-multiselect:focus-within:hover,nv-fieldmultiselect .input-container-multiselect:focus,nv-fieldmultiselect .input-container-multiselect:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldmultiselect .input-container-multiselect:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldmultiselect .input-container-multiselect:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldmultiselect .input-container-multiselect>nv-badge{margin-left:var(--form-field-padding-x)}nv-fieldmultiselect .input-container-multiselect input,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;width:100%;flex-grow:1;margin:0;min-height:100%;box-sizing:border-box}nv-fieldmultiselect .input-container-multiselect input:focus,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text:focus{outline:none}nv-fieldmultiselect .input-container-multiselect input::placeholder,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fieldmultiselect .input-container-multiselect input[type=password]::-ms-clear,nv-fieldmultiselect .input-container-multiselect input[type=password]::-ms-reveal,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text[type=password]::-ms-clear,nv-fieldmultiselect .input-container-multiselect p.non-filterable-text[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton{border:0px;border-radius:0px}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fieldmultiselect .input-container-multiselect>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fieldmultiselect .input-container-multiselect nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldmultiselect .non-filterable-text{display:block;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fieldmultiselect .non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fieldmultiselect .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldmultiselect .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}.no-results-message{cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled);padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x)}.multiselect-divider{display:block;width:100%;height:1px;background-color:var(--components-list-dropdown-separator);margin:var(--list-dropdown-item-padding-y) 0;border:0}.select-all-container{position:sticky;top:0;background-color:var(--components-list-dropdown-background);border-bottom:1px solid var(--components-list-dropdown-separator);padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);z-index:10;margin-bottom:0}.select-all-container .select-all-header{display:flex;align-items:center;gap:var(--form-field-gap)}.select-all-container .select-all-header nv-fieldcheckbox{flex:1;margin:0}.select-all-container .select-all-header nv-iconbutton,.select-all-container .select-all-header nv-button{flex-shrink:0;margin-left:auto}.select-all-container .select-all-header nv-button{justify-content:center}";
|
|
21286
21286
|
const NvFieldmultiselectStyle0 = nvFieldmultiselectCss;
|
|
@@ -22683,7 +22683,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
22683
22683
|
"value": ["watchValueHandler"],
|
|
22684
22684
|
"open": ["handleOpenChange"]
|
|
22685
22685
|
}]);
|
|
22686
|
-
function defineCustomElement$1$
|
|
22686
|
+
function defineCustomElement$1$h() {
|
|
22687
22687
|
if (typeof customElements === "undefined") {
|
|
22688
22688
|
return;
|
|
22689
22689
|
}
|
|
@@ -22696,45 +22696,45 @@ function defineCustomElement$1$q() {
|
|
|
22696
22696
|
break;
|
|
22697
22697
|
case "nv-badge":
|
|
22698
22698
|
if (!customElements.get(tagName)) {
|
|
22699
|
-
defineCustomElement$
|
|
22699
|
+
defineCustomElement$V();
|
|
22700
22700
|
}
|
|
22701
22701
|
break;
|
|
22702
22702
|
case "nv-fieldcheckbox":
|
|
22703
22703
|
if (!customElements.get(tagName)) {
|
|
22704
|
-
defineCustomElement$
|
|
22704
|
+
defineCustomElement$B();
|
|
22705
22705
|
}
|
|
22706
22706
|
break;
|
|
22707
22707
|
case "nv-fielddropdownitemcheck":
|
|
22708
22708
|
if (!customElements.get(tagName)) {
|
|
22709
|
-
defineCustomElement$
|
|
22709
|
+
defineCustomElement$u();
|
|
22710
22710
|
}
|
|
22711
22711
|
break;
|
|
22712
22712
|
case "nv-icon":
|
|
22713
22713
|
if (!customElements.get(tagName)) {
|
|
22714
|
-
defineCustomElement$
|
|
22714
|
+
defineCustomElement$11();
|
|
22715
22715
|
}
|
|
22716
22716
|
break;
|
|
22717
22717
|
case "nv-iconbutton":
|
|
22718
22718
|
if (!customElements.get(tagName)) {
|
|
22719
|
-
defineCustomElement
|
|
22719
|
+
defineCustomElement$$();
|
|
22720
22720
|
}
|
|
22721
22721
|
break;
|
|
22722
22722
|
case "nv-loader":
|
|
22723
22723
|
if (!customElements.get(tagName)) {
|
|
22724
|
-
defineCustomElement$
|
|
22724
|
+
defineCustomElement$10();
|
|
22725
22725
|
}
|
|
22726
22726
|
break;
|
|
22727
22727
|
case "nv-popover":
|
|
22728
22728
|
if (!customElements.get(tagName)) {
|
|
22729
|
-
defineCustomElement$
|
|
22729
|
+
defineCustomElement$T();
|
|
22730
22730
|
}
|
|
22731
22731
|
break;
|
|
22732
22732
|
} });
|
|
22733
22733
|
}
|
|
22734
|
-
defineCustomElement$1$
|
|
22734
|
+
defineCustomElement$1$h();
|
|
22735
22735
|
|
|
22736
22736
|
const NvFieldmultiselect$2 = NvFieldmultiselect$1;
|
|
22737
|
-
const defineCustomElement$
|
|
22737
|
+
const defineCustomElement$s = defineCustomElement$1$h;
|
|
22738
22738
|
|
|
22739
22739
|
const nvFieldnumberCss = "/* TODO: integrate this logic in the proper structure */\nnv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range {\n background: var(--components-slider-track-filled-hover);\n}\nnv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb {\n border-color: var(--components-slider-track-filled-hover);\n}\nnv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range {\n background: var(--components-slider-track-filled-focus);\n}\nnv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb {\n border-color: var(--components-slider-track-filled-focus);\n}\nnv-fieldslider[error] .slider-container .track-container .track .track-range {\n background: var(--components-slider-track-filled-error);\n}\nnv-fieldslider[error] .slider-container .track-container .track .thumb {\n border-color: var(--components-slider-track-filled-error);\n}\nnv-fieldslider[error] .slider-container .track-container .track .thumb:hover {\n border-color: var(--components-slider-track-filled-error);\n outline: calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);\n outline-offset: calc(var(--focus-outline-offset) * 1);\n background-color: var(--components-slider-handler-background-error);\n}\nnv-fieldslider[error] .slider-container .track-container .track .thumb:focus {\n border-color: var(--components-slider-track-filled-error);\n outline: calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);\n outline-offset: calc(var(--focus-outline-offset) * 1);\n background-color: var(--components-slider-track-filled-error);\n}\nnv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range {\n background: var(--components-slider-track-filled-error);\n}\nnv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb {\n border-color: var(--components-slider-track-filled-error);\n}\n\nnv-fieldnumber {\n --nv-field-border-default: var(--components-form-field-border-default);\n --nv-field-border-hover: var(--components-form-field-border-hover);\n --nv-field-border-focus: var(--components-form-field-border-focus);\n --nv-field-border-disabled: var(--components-form-field-border-default);\n --nv-field-border-readonly: var(--components-form-field-border-default);\n --nv-field-focus-box-shadow: var(--color-focus-brand);\n --nv-field-background: var(--components-form-field-background-default);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--form-gap-y);\n box-sizing: border-box;\n max-width: 480px;\n}\nnv-fieldnumber[fluid]:not([fluid=false]) {\n max-width: unset;\n}\nnv-fieldnumber[readonly]:not([readonly=false]) {\n --nv-field-border-default: var(--components-form-field-border-readonly);\n --nv-field-border-hover: var(--nv-field-border-default);\n --nv-field-border-focus: var(--components-form-field-border-focus);\n --nv-field-border-disabled: var(--nv-field-border-default);\n --nv-field-border-readonly: var(--nv-field-border-default);\n --nv-field-background: var(--components-form-field-background-readonly);\n}\nnv-fieldnumber[error]:not([error=false]) {\n --nv-field-border-default: var(--components-form-field-border-error);\n --nv-field-border-hover: var(--nv-field-border-default);\n --nv-field-border-focus: var(--nv-field-border-default);\n --nv-field-border-disabled: var(--nv-field-border-default);\n --nv-field-border-readonly: var(--nv-field-border-default);\n --nv-field-focus-box-shadow: var(--color-focus-destructive-in-field);\n}\nnv-fieldnumber[success]:not([success=false]) {\n --nv-field-border-default: var(--components-form-field-border-success);\n --nv-field-border-hover: var(--nv-field-border-default);\n --nv-field-border-focus: var(--nv-field-border-default);\n --nv-field-border-disabled: var(--nv-field-border-default);\n --nv-field-border-readonly: var(--nv-field-border-default);\n --nv-field-focus-box-shadow: var(--color-focus-success);\n}\nnv-fieldnumber[required]:not([required=false]) label::after {\n content: \"*\";\n color: var(--components-form-text-required);\n font-weight: var(--font-weight-high-emphasis);\n}\nnv-fieldnumber label {\n display: flex;\n align-items: center;\n gap: var(--form-label-gap);\n align-self: stretch;\n color: var(--components-form-text-label-default);\n font-family: var(--font-family-default), var(--font-family-fallback), sans-serif;\n font-size: var(--form-label-font-size);\n font-style: normal;\n font-weight: var(--font-weight-medium-emphasis);\n line-height: var(--form-label-line-height);\n}\nnv-fieldnumber .input-wrapper {\n display: flex;\n flex-wrap: wrap;\n gap: var(--form-gap-x);\n align-items: stretch;\n align-self: stretch;\n}\nnv-fieldnumber .input-wrapper .input-container {\n display: flex;\n flex-grow: 1;\n justify-content: center;\n align-items: center;\n align-self: stretch;\n border-radius: var(--form-field-radius);\n border-width: 1px;\n border-style: solid;\n border-color: var(--nv-field-border-default);\n opacity: var(--components-form-opacity-default, 1);\n background: var(--nv-field-background);\n transition: all 150ms ease-out;\n container-type: inline-size;\n container-name: field-number-input-container;\n overflow: hidden;\n position: relative;\n}\nnv-fieldnumber .input-wrapper .input-container:hover {\n border-color: var(--nv-field-border-hover);\n}\nnv-fieldnumber .input-wrapper .input-container:focus-within, nv-fieldnumber .input-wrapper .input-container:focus-within:hover, nv-fieldnumber .input-wrapper .input-container:focus, nv-fieldnumber .input-wrapper .input-container:focus:hover {\n border-color: var(--nv-field-border-focus);\n box-shadow: 0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow);\n}\nnv-fieldnumber .input-wrapper .input-container:has(input:read-only) {\n opacity: 0.5;\n background-color: var(--components-form-field-background-readonly);\n border-color: var(--nv-field-border-readonly);\n}\nnv-fieldnumber .input-wrapper .input-container:has(input:disabled) {\n opacity: 0.5;\n background-color: var(--components-form-field-background-disabled);\n border-color: var(--nv-field-border-disabled);\n}\nnv-fieldnumber .input-wrapper .input-container input {\n display: flex;\n align-items: center;\n flex: 1 0 0;\n overflow: hidden;\n background-color: transparent;\n color: var(--components-form-field-content-text);\n padding: var(--form-field-padding-y) var(--form-field-padding-x);\n font-size: var(--form-field-font-size);\n font-style: normal;\n font-weight: var(--font-weight-medium-emphasis);\n line-height: var(--form-field-line-height);\n width: 100%;\n /* Hide Edge built-in password reveal and clear icons */\n width: 100%;\n appearance: textfield;\n}\nnv-fieldnumber .input-wrapper .input-container input:focus {\n outline: none;\n}\nnv-fieldnumber .input-wrapper .input-container input::placeholder {\n overflow: hidden;\n color: var(--components-form-field-content-placeholder);\n text-overflow: ellipsis;\n font-family: var(--font-family-default), var(--font-family-fallback), sans-serif;\n font-size: var(--form-field-font-size);\n font-style: normal;\n font-weight: var(--font-weight-low-emphasis);\n line-height: var(--form-field-line-height);\n}\nnv-fieldnumber .input-wrapper .input-container input[type=password]::-ms-clear, nv-fieldnumber .input-wrapper .input-container input[type=password]::-ms-reveal {\n display: none;\n width: 0;\n height: 0;\n}\nnv-fieldnumber .input-wrapper .input-container input::-webkit-inner-spin-button, nv-fieldnumber .input-wrapper .input-container input::-webkit-outer-spin-button {\n appearance: none;\n margin: 0;\n}\nnv-fieldnumber .input-wrapper .input-container nv-icon.validation {\n color: var(--nv-field-border-default);\n margin-right: var(--form-field-gap);\n}\nnv-fieldnumber .input-wrapper .input-container > nv-iconbutton {\n border: 0px;\n border-radius: 0px;\n}\nnv-fieldnumber .input-wrapper .input-container > nv-iconbutton:focus-visible {\n border-radius: var(--button-md-border-radius);\n outline-offset: -3px;\n}\nnv-fieldnumber .input-wrapper .input-container > nv-iconbutton:last-of-type {\n border-top-right-radius: var(--form-field-radius);\n border-bottom-right-radius: var(--form-field-radius);\n}\nnv-fieldnumber .input-wrapper .input-container .stepper {\n display: flex;\n border-left: var(--notification-border-width-low-emphasis) solid var(--components-form-field-border-readonly);\n}\nnv-fieldnumber .input-wrapper .input-container .stepper > nv-iconbutton {\n border: 0px;\n border-radius: 0px;\n border-radius: 0px;\n}\nnv-fieldnumber .input-wrapper .input-container .stepper > nv-iconbutton:focus-visible {\n border-radius: var(--button-md-border-radius);\n outline-offset: -3px;\n}\nnv-fieldnumber .input-wrapper .input-container .stepper > nv-iconbutton:last-of-type {\n border-top-right-radius: var(--form-field-radius);\n border-bottom-right-radius: var(--form-field-radius);\n}\n@container field-number-input-container (width < 150px) {\n nv-fieldnumber .input-wrapper .input-container .stepper-spacer {\n display: none;\n }\n nv-fieldnumber .input-wrapper .input-container .stepper {\n display: none;\n }\n}\nnv-fieldnumber .description {\n display: flex;\n align-items: center;\n align-self: stretch;\n gap: var(--spacing-1);\n color: var(--components-form-text-description-default);\n font-family: var(--font-family-default), var(--font-family-fallback), sans-serif;\n font-size: var(--form-description-font-size);\n font-style: normal;\n line-height: var(--form-description-line-height);\n}\nnv-fieldnumber .error-description {\n display: flex;\n align-items: center;\n align-self: stretch;\n gap: var(--spacing-1);\n color: var(--components-form-text-description-default);\n font-family: var(--font-family-default), var(--font-family-fallback), sans-serif;\n font-size: var(--form-description-font-size);\n font-style: normal;\n line-height: var(--form-description-line-height);\n color: var(--components-form-text-description-error);\n}";
|
|
22740
22740
|
const NvFieldnumberStyle0 = nvFieldnumberCss;
|
|
@@ -22898,7 +22898,7 @@ const NvFieldnumber$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldnumber ext
|
|
|
22898
22898
|
}, undefined, {
|
|
22899
22899
|
"value": ["watchValueHandler"]
|
|
22900
22900
|
}]);
|
|
22901
|
-
function defineCustomElement$
|
|
22901
|
+
function defineCustomElement$r() {
|
|
22902
22902
|
if (typeof customElements === "undefined") {
|
|
22903
22903
|
return;
|
|
22904
22904
|
}
|
|
@@ -22911,25 +22911,25 @@ function defineCustomElement$C() {
|
|
|
22911
22911
|
break;
|
|
22912
22912
|
case "nv-icon":
|
|
22913
22913
|
if (!customElements.get(tagName)) {
|
|
22914
|
-
defineCustomElement$
|
|
22914
|
+
defineCustomElement$11();
|
|
22915
22915
|
}
|
|
22916
22916
|
break;
|
|
22917
22917
|
case "nv-iconbutton":
|
|
22918
22918
|
if (!customElements.get(tagName)) {
|
|
22919
|
-
defineCustomElement
|
|
22919
|
+
defineCustomElement$$();
|
|
22920
22920
|
}
|
|
22921
22921
|
break;
|
|
22922
22922
|
case "nv-loader":
|
|
22923
22923
|
if (!customElements.get(tagName)) {
|
|
22924
|
-
defineCustomElement$
|
|
22924
|
+
defineCustomElement$10();
|
|
22925
22925
|
}
|
|
22926
22926
|
break;
|
|
22927
22927
|
} });
|
|
22928
22928
|
}
|
|
22929
|
-
defineCustomElement$
|
|
22929
|
+
defineCustomElement$r();
|
|
22930
22930
|
|
|
22931
22931
|
const NvFieldnumber$1 = NvFieldnumber$2;
|
|
22932
|
-
const defineCustomElement$
|
|
22932
|
+
const defineCustomElement$q = defineCustomElement$r;
|
|
22933
22933
|
|
|
22934
22934
|
const nvFieldpasswordCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldpassword{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldpassword[fluid]:not([fluid=false]){max-width:unset}nv-fieldpassword[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldpassword[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldpassword[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldpassword[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldpassword label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fieldpassword .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch}nv-fieldpassword .input-wrapper .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out;position:relative}nv-fieldpassword .input-wrapper .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldpassword .input-wrapper .input-container:focus-within,nv-fieldpassword .input-wrapper .input-container:focus-within:hover,nv-fieldpassword .input-wrapper .input-container:focus,nv-fieldpassword .input-wrapper .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldpassword .input-wrapper .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldpassword .input-wrapper .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldpassword .input-wrapper .input-container input{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;}nv-fieldpassword .input-wrapper .input-container input:focus{outline:none}nv-fieldpassword .input-wrapper .input-container input::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fieldpassword .input-wrapper .input-container input[type=password]::-ms-clear,nv-fieldpassword .input-wrapper .input-container input[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fieldpassword .input-wrapper .input-container>nv-iconbutton{border:0px;border-radius:0px}nv-fieldpassword .input-wrapper .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fieldpassword .input-wrapper .input-container>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fieldpassword .input-wrapper .input-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldpassword .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldpassword .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
|
|
22935
22935
|
const NvFieldpasswordStyle0 = nvFieldpasswordCss;
|
|
@@ -23070,7 +23070,7 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
|
|
|
23070
23070
|
}, undefined, {
|
|
23071
23071
|
"showPassword": ["handleShowPasswordChange"]
|
|
23072
23072
|
}]);
|
|
23073
|
-
function defineCustomElement$1$
|
|
23073
|
+
function defineCustomElement$1$g() {
|
|
23074
23074
|
if (typeof customElements === "undefined") {
|
|
23075
23075
|
return;
|
|
23076
23076
|
}
|
|
@@ -23083,25 +23083,25 @@ function defineCustomElement$1$p() {
|
|
|
23083
23083
|
break;
|
|
23084
23084
|
case "nv-icon":
|
|
23085
23085
|
if (!customElements.get(tagName)) {
|
|
23086
|
-
defineCustomElement$
|
|
23086
|
+
defineCustomElement$11();
|
|
23087
23087
|
}
|
|
23088
23088
|
break;
|
|
23089
23089
|
case "nv-iconbutton":
|
|
23090
23090
|
if (!customElements.get(tagName)) {
|
|
23091
|
-
defineCustomElement
|
|
23091
|
+
defineCustomElement$$();
|
|
23092
23092
|
}
|
|
23093
23093
|
break;
|
|
23094
23094
|
case "nv-loader":
|
|
23095
23095
|
if (!customElements.get(tagName)) {
|
|
23096
|
-
defineCustomElement$
|
|
23096
|
+
defineCustomElement$10();
|
|
23097
23097
|
}
|
|
23098
23098
|
break;
|
|
23099
23099
|
} });
|
|
23100
23100
|
}
|
|
23101
|
-
defineCustomElement$1$
|
|
23101
|
+
defineCustomElement$1$g();
|
|
23102
23102
|
|
|
23103
23103
|
const NvFieldpassword$2 = NvFieldpassword$1;
|
|
23104
|
-
const defineCustomElement$
|
|
23104
|
+
const defineCustomElement$p = defineCustomElement$1$g;
|
|
23105
23105
|
|
|
23106
23106
|
const nvFieldradioCss = "nv-fieldradio{--nv-fieldradio-border-default:var(--components-form-field-border-default);--nv-fieldradio-border-hover:var(--components-form-field-border-hover);--nv-fieldradio-border-focus:var(--components-form-field-border-default);--nv-fieldradio-background-default:var(--components-form-field-background-default);--nv-fieldradio-background-checked:var(--components-form-field-background-checked);--nv-fieldradio-background-disabled:var(--components-form-field-background-disabled);--nv-fieldradio-focus-box-shadow:var(--color-focus-brand);--nv-fieldradio-dot-color-checked:var(--components-form-shape-foreground-default);--nv-fieldradio-dot-color-disabled:var(--components-form-shape-foreground-disabled);--nv-fieldradio-outline-color:var(--color-focus-brand);display:inline-flex;align-items:flex-start;gap:var(--form-gap-x)}nv-fieldradio:not([disabled]) input,nv-fieldradio:not([disabled]) label,nv-fieldradio[disabled=false] input,nv-fieldradio[disabled=false] label{cursor:pointer}nv-fieldradio.error{--nv-fieldradio-border-default:var(--components-form-field-border-error);--nv-fieldradio-border-hover:var(--nv-fieldradio-border-default);--nv-fieldradio-border-focus:var(--components-form-field-border-error);--nv-fieldradio-background-checked:var(--components-form-field-background-error);--nv-fieldradio-focus-box-shadow:var(--color-focus-destructive);--nv-fieldradio-dot-color-checked:var(--components-form-shape-foreground-default);--nv-fieldradio-dot-color-disabled:var(--components-form-field-border-error);--nv-fieldradio-outline-color:var(--color-focus-destructive)}nv-fieldradio.label-placement-before{flex-direction:row-reverse}nv-fieldradio[disabled]{opacity:0.5}nv-fieldradio label{align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}nv-fieldradio input[type=radio]{appearance:none;position:relative;display:flex;width:var(--form-radio-size);height:var(--form-radio-size);padding:var(--form-radio-inner-circle-padding);flex-direction:column;align-items:flex-start;border-radius:var(--radius-rounded-full);border-width:var(--form-radio-border-width);border-style:solid;border-color:var(--nv-fieldradio-border-default);background:var(--nv-fieldradio-background-default)}nv-fieldradio input[type=radio]:hover{border-color:var(--nv-fieldradio-border-hover)}nv-fieldradio input[type=radio]:focus{border-color:var(--nv-fieldradio-border-focus)}nv-fieldradio input[type=radio]:focus,nv-fieldradio input[type=radio]:focus-within{outline:none}nv-fieldradio input[type=radio]:focus-visible,nv-fieldradio input[type=radio]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--nv-fieldradio-outline-color);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-fieldradio input[type=radio]:checked{background:var(--nv-fieldradio-background-checked);border-color:var(--nv-fieldradio-background-checked)}nv-fieldradio input[type=radio]:checked:hover,nv-fieldradio input[type=radio]:checked:focus{border-color:var(--nv-fieldradio-background-checked);background:var(--nv-fieldradio-background-checked)}nv-fieldradio input[type=radio]:checked::before{content:\"\";position:absolute;top:50%;right:50%;transform:translate(50%, -50%);left:0;width:var(--form-radio-inner-circle-size);height:var(--form-radio-inner-circle-size);flex-shrink:0;border-radius:var(--radius-rounded-full);background:var(--nv-fieldradio-dot-color-checked)}nv-fieldradio input[type=radio]:disabled{border-radius:var(--radius-rounded-full);border-width:var(--form-radio-border-width);border-style:solid;border-color:var(--nv-fieldradio-border-default);background:var(--nv-fieldradio-background-disabled)}nv-fieldradio input[type=radio]:disabled:checked::before{background:var(--nv-fieldradio-dot-color-disabled)}nv-fieldradio input[type=radio]:disabled:hover{border-color:var(--nv-fieldradio-border-default);background:var(--nv-fieldradio-background-disabled)}nv-fieldradio .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height)}nv-fieldradio .error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;font-weight:var(--form-description-font-weight);line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}nv-fieldradio .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}";
|
|
23107
23107
|
const NvFieldradioStyle0 = nvFieldradioCss;
|
|
@@ -23213,7 +23213,7 @@ const NvFieldradio$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldradio exten
|
|
|
23213
23213
|
}, [[0, "change", "handleChange"]], {
|
|
23214
23214
|
"checked": ["handleCheckedChange"]
|
|
23215
23215
|
}]);
|
|
23216
|
-
function defineCustomElement$1$
|
|
23216
|
+
function defineCustomElement$1$f() {
|
|
23217
23217
|
if (typeof customElements === "undefined") {
|
|
23218
23218
|
return;
|
|
23219
23219
|
}
|
|
@@ -23226,10 +23226,10 @@ function defineCustomElement$1$o() {
|
|
|
23226
23226
|
break;
|
|
23227
23227
|
} });
|
|
23228
23228
|
}
|
|
23229
|
-
defineCustomElement$1$
|
|
23229
|
+
defineCustomElement$1$f();
|
|
23230
23230
|
|
|
23231
23231
|
const NvFieldradio$2 = NvFieldradio$1;
|
|
23232
|
-
const defineCustomElement$
|
|
23232
|
+
const defineCustomElement$o = defineCustomElement$1$f;
|
|
23233
23233
|
|
|
23234
23234
|
const nvFieldselectCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldselect{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldselect[fluid]:not([fluid=false]){max-width:unset}nv-fieldselect[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldselect[display-value]:not([display-value=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldselect[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldselect[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldselect[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldselect[multiple]:not([multiple=false]) .select-wrapper>.select-container>.select-icons{top:var(--form-field-padding-y);right:var(--form-field-padding-x)}nv-fieldselect[multiple]:not([multiple=false]) .select-wrapper>.select-container>select{height:100%;box-sizing:border-box;background-color:var(--color-level-05-background);border-radius:var(--form-field-radius)}nv-fieldselect label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fieldselect .select-wrapper{display:flex;flex-wrap:wrap;align-items:stretch;align-self:stretch}nv-fieldselect .select-wrapper .select-container{position:relative;display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default);background:var(--nv-field-background);transition:all 150ms ease-out}nv-fieldselect .select-wrapper .select-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldselect .select-wrapper .select-container:focus-within{border-color:var(--nv-field-border-focus);box-shadow:0 0 0 var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldselect .select-wrapper .select-container:has(select:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldselect .select-wrapper .select-container>.select-icons{position:absolute;right:0;top:0;pointer-events:none}nv-fieldselect .select-wrapper .select-container>.select-icons>nv-iconbutton{border:0px;border-radius:0px}nv-fieldselect .select-wrapper .select-container>.select-icons>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fieldselect .select-wrapper .select-container>.select-icons>nv-iconbutton:last-of-type{border-top-right-radius:var(--form-field-radius);border-bottom-right-radius:var(--form-field-radius)}nv-fieldselect .select-wrapper .select-container input{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height);width:100%;}nv-fieldselect .select-wrapper .select-container input:focus{outline:none}nv-fieldselect .select-wrapper .select-container input::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fieldselect .select-wrapper .select-container input[type=password]::-ms-clear,nv-fieldselect .select-wrapper .select-container input[type=password]::-ms-reveal{display:none;width:0;height:0}nv-fieldselect .select-wrapper .select-container input:read-only{opacity:0.5;background-color:var(--components-form-field-background-readonly, rgba(0, 0, 0, 0.1));border-color:var(--nv-field-border-readonly)}nv-fieldselect .select-wrapper .select-container select{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);text-overflow:ellipsis;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);height:var(--form-field-line-height);padding:var(--form-field-padding-y) var(--form-field-padding-x);box-sizing:content-box;-webkit-appearance:none;-moz-appearance:none;cursor:pointer}nv-fieldselect .select-wrapper .select-container select:focus{outline:none}nv-fieldselect .select-wrapper .select-container select::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fieldselect .select-wrapper .select-container select option{font-size:var(--form-field-font-size, 16px);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height, 24px);background-color:var(--color-level-05-background);color:var(--components-form-field-content-text)}nv-fieldselect .select-wrapper .select-container select.hidden{display:none}nv-fieldselect .select-wrapper .select-container nv-icon.readonly-icon{color:var(--nv-field-border-default)}nv-fieldselect .select-wrapper .select-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldselect .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldselect .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
|
|
23235
23235
|
const NvFieldselectStyle0 = nvFieldselectCss;
|
|
@@ -23607,7 +23607,7 @@ const NvFieldselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldselect ext
|
|
|
23607
23607
|
"readonly": ["handleReadonlyChange"],
|
|
23608
23608
|
"options": ["handleOptionsChange"]
|
|
23609
23609
|
}]);
|
|
23610
|
-
function defineCustomElement$1$
|
|
23610
|
+
function defineCustomElement$1$e() {
|
|
23611
23611
|
if (typeof customElements === "undefined") {
|
|
23612
23612
|
return;
|
|
23613
23613
|
}
|
|
@@ -23620,25 +23620,25 @@ function defineCustomElement$1$n() {
|
|
|
23620
23620
|
break;
|
|
23621
23621
|
case "nv-icon":
|
|
23622
23622
|
if (!customElements.get(tagName)) {
|
|
23623
|
-
defineCustomElement$
|
|
23623
|
+
defineCustomElement$11();
|
|
23624
23624
|
}
|
|
23625
23625
|
break;
|
|
23626
23626
|
case "nv-iconbutton":
|
|
23627
23627
|
if (!customElements.get(tagName)) {
|
|
23628
|
-
defineCustomElement
|
|
23628
|
+
defineCustomElement$$();
|
|
23629
23629
|
}
|
|
23630
23630
|
break;
|
|
23631
23631
|
case "nv-loader":
|
|
23632
23632
|
if (!customElements.get(tagName)) {
|
|
23633
|
-
defineCustomElement$
|
|
23633
|
+
defineCustomElement$10();
|
|
23634
23634
|
}
|
|
23635
23635
|
break;
|
|
23636
23636
|
} });
|
|
23637
23637
|
}
|
|
23638
|
-
defineCustomElement$1$
|
|
23638
|
+
defineCustomElement$1$e();
|
|
23639
23639
|
|
|
23640
23640
|
const NvFieldselect$2 = NvFieldselect$1;
|
|
23641
|
-
const defineCustomElement$
|
|
23641
|
+
const defineCustomElement$n = defineCustomElement$1$e;
|
|
23642
23642
|
|
|
23643
23643
|
/**
|
|
23644
23644
|
* Utility functions for nv-fieldslider.
|
|
@@ -24405,7 +24405,7 @@ const NvFieldslider$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldslider ext
|
|
|
24405
24405
|
"snapTicks": ["onConfigChange"],
|
|
24406
24406
|
"range": ["onRangeChange"]
|
|
24407
24407
|
}]);
|
|
24408
|
-
function defineCustomElement$1$
|
|
24408
|
+
function defineCustomElement$1$d() {
|
|
24409
24409
|
if (typeof customElements === "undefined") {
|
|
24410
24410
|
return;
|
|
24411
24411
|
}
|
|
@@ -24418,33 +24418,33 @@ function defineCustomElement$1$m() {
|
|
|
24418
24418
|
break;
|
|
24419
24419
|
case "nv-fieldnumber":
|
|
24420
24420
|
if (!customElements.get(tagName)) {
|
|
24421
|
-
defineCustomElement$
|
|
24421
|
+
defineCustomElement$r();
|
|
24422
24422
|
}
|
|
24423
24423
|
break;
|
|
24424
24424
|
case "nv-icon":
|
|
24425
24425
|
if (!customElements.get(tagName)) {
|
|
24426
|
-
defineCustomElement$
|
|
24426
|
+
defineCustomElement$11();
|
|
24427
24427
|
}
|
|
24428
24428
|
break;
|
|
24429
24429
|
case "nv-iconbutton":
|
|
24430
24430
|
if (!customElements.get(tagName)) {
|
|
24431
|
-
defineCustomElement
|
|
24431
|
+
defineCustomElement$$();
|
|
24432
24432
|
}
|
|
24433
24433
|
break;
|
|
24434
24434
|
case "nv-loader":
|
|
24435
24435
|
if (!customElements.get(tagName)) {
|
|
24436
|
-
defineCustomElement$
|
|
24436
|
+
defineCustomElement$10();
|
|
24437
24437
|
}
|
|
24438
24438
|
break;
|
|
24439
24439
|
} });
|
|
24440
24440
|
}
|
|
24441
|
-
defineCustomElement$1$
|
|
24441
|
+
defineCustomElement$1$d();
|
|
24442
24442
|
|
|
24443
24443
|
const NvFieldslider$2 = NvFieldslider$1;
|
|
24444
|
-
const defineCustomElement$
|
|
24444
|
+
const defineCustomElement$m = defineCustomElement$1$d;
|
|
24445
24445
|
|
|
24446
24446
|
const NvFieldtext$1 = NvFieldtext$2;
|
|
24447
|
-
const defineCustomElement$
|
|
24447
|
+
const defineCustomElement$l = defineCustomElement$J;
|
|
24448
24448
|
|
|
24449
24449
|
const nvFieldtextareaCss = "nv-fieldslider .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-hover)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .track-range{background:var(--components-slider-track-filled-focus)}nv-fieldslider .slider-container .track-container:has(.thumb:focus) .thumb{border-color:var(--components-slider-track-filled-focus)}nv-fieldslider[error] .slider-container .track-container .track .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:hover{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-handler-background-error)}nv-fieldslider[error] .slider-container .track-container .track .thumb:focus{border-color:var(--components-slider-track-filled-error);outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-slider-track-filled-error);outline-offset:calc(var(--focus-outline-offset) * 1);background-color:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .track-range{background:var(--components-slider-track-filled-error)}nv-fieldslider[error] .slider-container .track-container:has(.thumb:hover) .thumb{border-color:var(--components-slider-track-filled-error)}nv-fieldtextarea{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box;max-width:480px}nv-fieldtextarea[fluid]:not([fluid=false]){max-width:unset}nv-fieldtextarea[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldtextarea[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive-in-field)}nv-fieldtextarea[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldtextarea[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:var(--font-weight-high-emphasis)}nv-fieldtextarea label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-label-line-height)}nv-fieldtextarea .textarea-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch}nv-fieldtextarea .textarea-wrapper .textarea-container{display:flex;flex-grow:1;padding:calc(var(--form-field-padding-y) - 1px) var(--form-field-padding-x);justify-content:center;align-items:center;gap:var(--form-field-gap);align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default);background:var(--nv-field-background);transition:all 150ms ease-out}nv-fieldtextarea .textarea-wrapper .textarea-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldtextarea .textarea-wrapper .textarea-container:focus-within{border-color:var(--nv-field-border-focus);box-shadow:0 0 0 var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldtextarea .textarea-wrapper .textarea-container:has(textarea:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldtextarea .textarea-wrapper .textarea-container:has(textarea:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldtextarea .textarea-wrapper .textarea-container textarea{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);text-overflow:ellipsis;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-medium-emphasis);line-height:var(--form-field-line-height)}nv-fieldtextarea .textarea-wrapper .textarea-container textarea::-webkit-scrollbar{width:6px;height:6px}nv-fieldtextarea .textarea-wrapper .textarea-container textarea::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-fieldtextarea .textarea-wrapper .textarea-container textarea::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}nv-fieldtextarea .textarea-wrapper .textarea-container textarea:focus{outline:none}nv-fieldtextarea .textarea-wrapper .textarea-container textarea::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--form-field-line-height)}nv-fieldtextarea .textarea-wrapper .textarea-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldtextarea .description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldtextarea .error-description{display:flex;align-items:center;align-self:stretch;gap:var(--spacing-1);color:var(--components-form-text-description-default);font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
|
|
24450
24450
|
const NvFieldtextareaStyle0 = nvFieldtextareaCss;
|
|
@@ -24662,7 +24662,7 @@ const NvFieldtextarea$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtextarea
|
|
|
24662
24662
|
"autosize": ["autosizeChanged"],
|
|
24663
24663
|
"value": ["handleValueChange"]
|
|
24664
24664
|
}]);
|
|
24665
|
-
function defineCustomElement$1$
|
|
24665
|
+
function defineCustomElement$1$c() {
|
|
24666
24666
|
if (typeof customElements === "undefined") {
|
|
24667
24667
|
return;
|
|
24668
24668
|
}
|
|
@@ -24675,10 +24675,10 @@ function defineCustomElement$1$l() {
|
|
|
24675
24675
|
break;
|
|
24676
24676
|
} });
|
|
24677
24677
|
}
|
|
24678
|
-
defineCustomElement$1$
|
|
24678
|
+
defineCustomElement$1$c();
|
|
24679
24679
|
|
|
24680
24680
|
const NvFieldtextarea$2 = NvFieldtextarea$1;
|
|
24681
|
-
const defineCustomElement$
|
|
24681
|
+
const defineCustomElement$k = defineCustomElement$1$c;
|
|
24682
24682
|
|
|
24683
24683
|
/**
|
|
24684
24684
|
* Format configurations for all supported time formats
|
|
@@ -25773,7 +25773,7 @@ const NvFieldtime$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtime extends
|
|
|
25773
25773
|
"open": ["handleOpenChange"],
|
|
25774
25774
|
"format": ["handleFormatChange"]
|
|
25775
25775
|
}]);
|
|
25776
|
-
function defineCustomElement$1$
|
|
25776
|
+
function defineCustomElement$1$b() {
|
|
25777
25777
|
if (typeof customElements === "undefined") {
|
|
25778
25778
|
return;
|
|
25779
25779
|
}
|
|
@@ -25786,39 +25786,39 @@ function defineCustomElement$1$k() {
|
|
|
25786
25786
|
break;
|
|
25787
25787
|
case "nv-icon":
|
|
25788
25788
|
if (!customElements.get(tagName)) {
|
|
25789
|
-
defineCustomElement$
|
|
25789
|
+
defineCustomElement$11();
|
|
25790
25790
|
}
|
|
25791
25791
|
break;
|
|
25792
25792
|
case "nv-iconbutton":
|
|
25793
25793
|
if (!customElements.get(tagName)) {
|
|
25794
|
-
defineCustomElement
|
|
25794
|
+
defineCustomElement$$();
|
|
25795
25795
|
}
|
|
25796
25796
|
break;
|
|
25797
25797
|
case "nv-loader":
|
|
25798
25798
|
if (!customElements.get(tagName)) {
|
|
25799
|
-
defineCustomElement$
|
|
25799
|
+
defineCustomElement$10();
|
|
25800
25800
|
}
|
|
25801
25801
|
break;
|
|
25802
25802
|
case "nv-popover":
|
|
25803
25803
|
if (!customElements.get(tagName)) {
|
|
25804
|
-
defineCustomElement$
|
|
25804
|
+
defineCustomElement$T();
|
|
25805
25805
|
}
|
|
25806
25806
|
break;
|
|
25807
25807
|
} });
|
|
25808
25808
|
}
|
|
25809
|
-
defineCustomElement$1$
|
|
25809
|
+
defineCustomElement$1$b();
|
|
25810
25810
|
|
|
25811
25811
|
const NvFieldtime$2 = NvFieldtime$1;
|
|
25812
|
-
const defineCustomElement$
|
|
25812
|
+
const defineCustomElement$j = defineCustomElement$1$b;
|
|
25813
25813
|
|
|
25814
25814
|
const NvIcon$1 = NvIcon$2;
|
|
25815
|
-
const defineCustomElement$
|
|
25815
|
+
const defineCustomElement$i = defineCustomElement$11;
|
|
25816
25816
|
|
|
25817
25817
|
const NvIconbutton$1 = NvIconbutton$2;
|
|
25818
|
-
const defineCustomElement$
|
|
25818
|
+
const defineCustomElement$h = defineCustomElement$$;
|
|
25819
25819
|
|
|
25820
25820
|
const NvLoader$1 = NvLoader$2;
|
|
25821
|
-
const defineCustomElement$
|
|
25821
|
+
const defineCustomElement$g = defineCustomElement$10;
|
|
25822
25822
|
|
|
25823
25823
|
const nvMenuitemCss = "nv-menuitem{display:flex;align-items:center;max-width:300px;width:100vw;font-size:var(--menu-contextual-item-font-size);font-weight:var(--menu-contextual-item-font-weight);color:var(--components-menu-contextual-item-content);border-radius:var(--menu-contextual-item-radius);gap:var(--menu-contextual-item-gap-x);padding:var(--menu-contextual-item-padding-y) var(--menu-contextual-item-padding-x);transition:background-color 150ms ease-out;cursor:pointer}nv-menuitem:hover,nv-menuitem:focus,nv-menuitem:focus-within{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menuitem *{pointer-events:none}nv-menuitem kbd{color:var(--components-menu-contextual-item-shortcut)}nv-menuitem [data-scope=text]{margin-right:auto}nv-menuitem[disabled]:not([disabled=false]){cursor:unset;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}";
|
|
25824
25824
|
const NvMenuitemStyle0 = nvMenuitemCss;
|
|
@@ -25879,7 +25879,7 @@ const NvMenuitem$2 = /*@__PURE__*/ proxyCustomElement(class NvMenuitem extends H
|
|
|
25879
25879
|
"hasSubmenu": [516, "has-submenu"],
|
|
25880
25880
|
"name": [513]
|
|
25881
25881
|
}, [[2, "click", "handleClick"], [0, "keydown", "handleKeyDown"]]]);
|
|
25882
|
-
function defineCustomElement$
|
|
25882
|
+
function defineCustomElement$f() {
|
|
25883
25883
|
if (typeof customElements === "undefined") {
|
|
25884
25884
|
return;
|
|
25885
25885
|
}
|
|
@@ -25892,12 +25892,12 @@ function defineCustomElement$q() {
|
|
|
25892
25892
|
break;
|
|
25893
25893
|
case "nv-icon":
|
|
25894
25894
|
if (!customElements.get(tagName)) {
|
|
25895
|
-
defineCustomElement$
|
|
25895
|
+
defineCustomElement$11();
|
|
25896
25896
|
}
|
|
25897
25897
|
break;
|
|
25898
25898
|
} });
|
|
25899
25899
|
}
|
|
25900
|
-
defineCustomElement$
|
|
25900
|
+
defineCustomElement$f();
|
|
25901
25901
|
|
|
25902
25902
|
const nvMenuCss = "nv-menuitem{display:flex;align-items:center;max-width:300px;width:100vw;font-size:var(--menu-contextual-item-font-size);font-weight:var(--menu-contextual-item-font-weight);color:var(--components-menu-contextual-item-content);border-radius:var(--menu-contextual-item-radius);gap:var(--menu-contextual-item-gap-x);padding:var(--menu-contextual-item-padding-y) var(--menu-contextual-item-padding-x);transition:background-color 150ms ease-out;cursor:pointer}nv-menuitem:hover,nv-menuitem:focus,nv-menuitem:focus-within{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menuitem *{pointer-events:none}nv-menuitem kbd{color:var(--components-menu-contextual-item-shortcut)}nv-menuitem [data-scope=text]{margin-right:auto}nv-menuitem[disabled]:not([disabled=false]){cursor:unset;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-menu{display:inline-block;position:relative}nv-menu:has([fluid]:not([fluid=false])){display:block}nv-menu nv-popover{display:unset}nv-menu nv-popover [data-scope=popover]{background-color:transparent !important;padding:0 !important}nv-menu [slot=content]{padding:var(--menu-contextual-padding-y) var(--menu-contextual-padding-x);border-radius:var(--menu-contextual-radius);gap:var(--menu-contextual-gap-y);background-color:var(--components-menu-contextual-background);border-color:var(--components-menu-contextual-border);display:flex;flex-direction:column}nv-menu nv-menu[open]:not([open=false])>nv-menuitem{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menu hr{display:block;margin:var(--menu-contextual-divider-padding-top) var(--menu-contextual-divider-padding-x) var(--menu-contextual-divider-padding-bottom) var(--menu-contextual-divider-padding-x)}";
|
|
25903
25903
|
const NvMenuStyle0 = nvMenuCss;
|
|
@@ -26121,7 +26121,7 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
|
|
|
26121
26121
|
}, [[0, "menuitemSelected", "handleMenuItemSelect"], [0, "keydown", "handleKeydown"], [0, "openChanged", "handleOpenChanged"]], {
|
|
26122
26122
|
"open": ["handleOpenChange"]
|
|
26123
26123
|
}]);
|
|
26124
|
-
function defineCustomElement$1$
|
|
26124
|
+
function defineCustomElement$1$a() {
|
|
26125
26125
|
if (typeof customElements === "undefined") {
|
|
26126
26126
|
return;
|
|
26127
26127
|
}
|
|
@@ -26134,127 +26134,33 @@ function defineCustomElement$1$j() {
|
|
|
26134
26134
|
break;
|
|
26135
26135
|
case "nv-icon":
|
|
26136
26136
|
if (!customElements.get(tagName)) {
|
|
26137
|
-
defineCustomElement$
|
|
26137
|
+
defineCustomElement$11();
|
|
26138
26138
|
}
|
|
26139
26139
|
break;
|
|
26140
26140
|
case "nv-menu":
|
|
26141
26141
|
if (!customElements.get(tagName)) {
|
|
26142
|
-
defineCustomElement$1$
|
|
26142
|
+
defineCustomElement$1$a();
|
|
26143
26143
|
}
|
|
26144
26144
|
break;
|
|
26145
26145
|
case "nv-menuitem":
|
|
26146
26146
|
if (!customElements.get(tagName)) {
|
|
26147
|
-
defineCustomElement$
|
|
26147
|
+
defineCustomElement$f();
|
|
26148
26148
|
}
|
|
26149
26149
|
break;
|
|
26150
26150
|
case "nv-popover":
|
|
26151
26151
|
if (!customElements.get(tagName)) {
|
|
26152
|
-
defineCustomElement$
|
|
26152
|
+
defineCustomElement$T();
|
|
26153
26153
|
}
|
|
26154
26154
|
break;
|
|
26155
26155
|
} });
|
|
26156
26156
|
}
|
|
26157
|
-
defineCustomElement$1$
|
|
26157
|
+
defineCustomElement$1$a();
|
|
26158
26158
|
|
|
26159
26159
|
const NvMenu$2 = NvMenu$1;
|
|
26160
|
-
const defineCustomElement$
|
|
26160
|
+
const defineCustomElement$e = defineCustomElement$1$a;
|
|
26161
26161
|
|
|
26162
26162
|
const NvMenuitem$1 = NvMenuitem$2;
|
|
26163
|
-
const defineCustomElement$
|
|
26164
|
-
|
|
26165
|
-
const nvNotificationBulletCss = "nv-notification-bullet{display:inline-flex;align-items:center;position:relative;}nv-notification-bullet .nv-notification-bullet{display:inline-flex;align-items:center;justify-content:center;min-width:var(--sidebar-primary-notification-bullet-size);max-width:var(--sidebar-primary-notification-bullet-size);min-height:var(--sidebar-primary-notification-bullet-size);max-height:var(--sidebar-primary-notification-bullet-size);padding:0 var(--spacing-1);border-radius:var(--radius-rounded-full);font-size:var(--sidebar-primary-notification-bullet-font-size);font-weight:var(--sidebar-primary-notification-bullet-font-weight);white-space:nowrap;flex-shrink:0}nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-high{background-color:var(--color-brand-500);color:var(--color-feedback-error-high-contrast-title)}nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-low{background-color:var(--color-brand-50);color:var(--color-brand-600);border:1px solid var(--color-brand-600)}nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-high{background-color:var(--color-interaction-container-neutral-background);color:var(--color-interaction-container-neutral-text)}nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-low{background-color:var(--color-interaction-container-neutral-background);color:var(--color-interaction-container-neutral-text)}nv-notification-bullet.nv-notification-bullet-with-cross-border::before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:calc(var(--sidebar-primary-notification-bullet-size) * 1.5);height:calc(var(--sidebar-primary-notification-bullet-size) * 1.5);border-radius:var(--radius-rounded-full);background-color:var(--nv-component-background, var(--nv-sidebarnavitem-background, var(--color-interaction-container-neutral-background)));z-index:-1;pointer-events:none}nv-sidebar[collapsed] nv-notification-bullet.nv-notification-bullet-with-cross-border::before{width:calc(var(--sidebar-primary-notification-bullet-size-reduced) * 1.5);height:calc(var(--sidebar-primary-notification-bullet-size-reduced) * 1.5)}nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-with-border{}nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-reduced,nv-sidebar[collapsed] nv-notification-bullet .nv-notification-bullet{min-width:var(--sidebar-primary-notification-bullet-size-reduced);max-width:var(--sidebar-primary-notification-bullet-size-reduced);min-height:var(--sidebar-primary-notification-bullet-size-reduced);max-height:var(--sidebar-primary-notification-bullet-size-reduced);padding:0;font-size:0;}nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-reduced.nv-notification-bullet-with-border,nv-sidebar[collapsed] nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-with-border{}";
|
|
26166
|
-
const NvNotificationBulletStyle0 = nvNotificationBulletCss;
|
|
26167
|
-
|
|
26168
|
-
const NvNotificationBullet$2 = /*@__PURE__*/ proxyCustomElement(class NvNotificationBullet extends H {
|
|
26169
|
-
constructor() {
|
|
26170
|
-
super();
|
|
26171
|
-
this.__registerHost();
|
|
26172
|
-
/**
|
|
26173
|
-
* Determines the size of the notification bullet.
|
|
26174
|
-
* - default: Normal size with text visible
|
|
26175
|
-
* - reduced: Smaller size, text hidden (just a dot)
|
|
26176
|
-
*/
|
|
26177
|
-
this.size = 'default';
|
|
26178
|
-
/**
|
|
26179
|
-
* Allows to add a border to add contrast on background.
|
|
26180
|
-
*/
|
|
26181
|
-
this.contrastingBorder = false;
|
|
26182
|
-
}
|
|
26183
|
-
//#endregion PROPERTIES
|
|
26184
|
-
/****************************************************************************/
|
|
26185
|
-
//#region METHODS
|
|
26186
|
-
getIntention() {
|
|
26187
|
-
if (this.intention) {
|
|
26188
|
-
return this.intention;
|
|
26189
|
-
}
|
|
26190
|
-
// Inherit from parent nv-sidebar
|
|
26191
|
-
const sidebar = this.el.closest('nv-sidebar');
|
|
26192
|
-
if (sidebar) {
|
|
26193
|
-
const sidebarIntention = sidebar.getAttribute('notification-intention');
|
|
26194
|
-
if (sidebarIntention === 'neutral' || sidebarIntention === 'brand') {
|
|
26195
|
-
return sidebarIntention;
|
|
26196
|
-
}
|
|
26197
|
-
}
|
|
26198
|
-
return 'brand'; // Default fallback
|
|
26199
|
-
}
|
|
26200
|
-
getEmphasis() {
|
|
26201
|
-
if (this.emphasis) {
|
|
26202
|
-
return this.emphasis;
|
|
26203
|
-
}
|
|
26204
|
-
// Inherit from parent nv-sidebar
|
|
26205
|
-
const sidebar = this.el.closest('nv-sidebar');
|
|
26206
|
-
if (sidebar) {
|
|
26207
|
-
const sidebarEmphasis = sidebar.getAttribute('notification-emphasis');
|
|
26208
|
-
if (sidebarEmphasis === 'high' || sidebarEmphasis === 'low') {
|
|
26209
|
-
return sidebarEmphasis;
|
|
26210
|
-
}
|
|
26211
|
-
}
|
|
26212
|
-
return 'high'; // Default fallback
|
|
26213
|
-
}
|
|
26214
|
-
//#region RENDER
|
|
26215
|
-
render() {
|
|
26216
|
-
var _a;
|
|
26217
|
-
const displayCount = (_a = this.count) !== null && _a !== void 0 ? _a : 0;
|
|
26218
|
-
const displayText = displayCount > 99 ? '99+' : String(displayCount);
|
|
26219
|
-
if (displayCount <= 0) {
|
|
26220
|
-
return null;
|
|
26221
|
-
}
|
|
26222
|
-
const sizeClass = this.size === 'reduced' ? 'nv-notification-bullet-reduced' : '';
|
|
26223
|
-
const intention = this.getIntention();
|
|
26224
|
-
const emphasis = this.getEmphasis();
|
|
26225
|
-
const intentionClass = `nv-notification-bullet-${intention}`;
|
|
26226
|
-
const emphasisClass = `nv-notification-bullet-${emphasis}`;
|
|
26227
|
-
const borderClass = this.contrastingBorder
|
|
26228
|
-
? 'nv-notification-bullet-with-border'
|
|
26229
|
-
: '';
|
|
26230
|
-
return (h$1(Host$1, { class: `${intentionClass} ${borderClass ? 'nv-notification-bullet-with-cross-border' : ''}` }, h$1("span", { class: `nv-notification-bullet ${emphasisClass} ${sizeClass} ${borderClass}`, "aria-label": `${displayCount} notifications` }, displayText)));
|
|
26231
|
-
}
|
|
26232
|
-
get el() { return this; }
|
|
26233
|
-
static get style() { return NvNotificationBulletStyle0; }
|
|
26234
|
-
}, [0, "nv-notification-bullet", {
|
|
26235
|
-
"count": [514],
|
|
26236
|
-
"intention": [513],
|
|
26237
|
-
"emphasis": [513],
|
|
26238
|
-
"size": [513],
|
|
26239
|
-
"contrastingBorder": [516, "contrasting-border"]
|
|
26240
|
-
}]);
|
|
26241
|
-
function defineCustomElement$n() {
|
|
26242
|
-
if (typeof customElements === "undefined") {
|
|
26243
|
-
return;
|
|
26244
|
-
}
|
|
26245
|
-
const components = ["nv-notification-bullet"];
|
|
26246
|
-
components.forEach(tagName => { switch (tagName) {
|
|
26247
|
-
case "nv-notification-bullet":
|
|
26248
|
-
if (!customElements.get(tagName)) {
|
|
26249
|
-
customElements.define(tagName, NvNotificationBullet$2);
|
|
26250
|
-
}
|
|
26251
|
-
break;
|
|
26252
|
-
} });
|
|
26253
|
-
}
|
|
26254
|
-
defineCustomElement$n();
|
|
26255
|
-
|
|
26256
|
-
const NvNotificationBullet$1 = NvNotificationBullet$2;
|
|
26257
|
-
const defineCustomElement$m = defineCustomElement$n;
|
|
26163
|
+
const defineCustomElement$d = defineCustomElement$f;
|
|
26258
26164
|
|
|
26259
26165
|
const useSlide = (node, { duration } = { duration: 200 }) => {
|
|
26260
26166
|
const nodeStyler = index(node);
|
|
@@ -26517,7 +26423,7 @@ const NvNotification$1 = /*@__PURE__*/ proxyCustomElement(class NvNotification e
|
|
|
26517
26423
|
"dismiss": [64],
|
|
26518
26424
|
"show": [64]
|
|
26519
26425
|
}]);
|
|
26520
|
-
function defineCustomElement$1$
|
|
26426
|
+
function defineCustomElement$1$9() {
|
|
26521
26427
|
if (typeof customElements === "undefined") {
|
|
26522
26428
|
return;
|
|
26523
26429
|
}
|
|
@@ -26530,15 +26436,15 @@ function defineCustomElement$1$i() {
|
|
|
26530
26436
|
break;
|
|
26531
26437
|
case "nv-icon":
|
|
26532
26438
|
if (!customElements.get(tagName)) {
|
|
26533
|
-
defineCustomElement$
|
|
26439
|
+
defineCustomElement$11();
|
|
26534
26440
|
}
|
|
26535
26441
|
break;
|
|
26536
26442
|
} });
|
|
26537
26443
|
}
|
|
26538
|
-
defineCustomElement$1$
|
|
26444
|
+
defineCustomElement$1$9();
|
|
26539
26445
|
|
|
26540
26446
|
const NvNotification$2 = NvNotification$1;
|
|
26541
|
-
const defineCustomElement$
|
|
26447
|
+
const defineCustomElement$c = defineCustomElement$1$9;
|
|
26542
26448
|
|
|
26543
26449
|
const nvNotificationcontainerCss = "nv-notificationcontainer{position:fixed;display:flex;flex-direction:column;padding:var(--spacing-2);padding-top:0;z-index:9999;pointer-events:none;width:100%;max-width:512px}nv-notificationcontainer.position-top-right{top:0;right:0}nv-notificationcontainer.position-top-right nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-top-left{top:0;left:0}nv-notificationcontainer.position-top-left nv-notification{margin-bottom:var(--spacing-2)}nv-notificationcontainer.position-top-center{top:0;left:50%;transform:translateX(-50%)}nv-notificationcontainer.position-top-center nv-notification{margin-bottom:var(--spacing-2)}nv-notificationcontainer.position-bottom-right{bottom:0;right:0;flex-direction:column-reverse}nv-notificationcontainer.position-bottom-right nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-bottom-left{bottom:0;left:0;flex-direction:column-reverse}nv-notificationcontainer.position-bottom-left nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer.position-bottom-center{bottom:0;left:50%;transform:translateX(-50%);flex-direction:column-reverse}nv-notificationcontainer.position-bottom-center nv-notification{margin-top:var(--spacing-2)}nv-notificationcontainer>*{pointer-events:auto}";
|
|
26544
26450
|
const NvNotificationcontainerStyle0 = nvNotificationcontainerCss;
|
|
@@ -26576,7 +26482,7 @@ const NvNotificationContainer = /*@__PURE__*/ proxyCustomElement(class NvNotific
|
|
|
26576
26482
|
}, [4, "nv-notificationcontainer", {
|
|
26577
26483
|
"position": [513]
|
|
26578
26484
|
}]);
|
|
26579
|
-
function defineCustomElement$1$
|
|
26485
|
+
function defineCustomElement$1$8() {
|
|
26580
26486
|
if (typeof customElements === "undefined") {
|
|
26581
26487
|
return;
|
|
26582
26488
|
}
|
|
@@ -26589,13 +26495,13 @@ function defineCustomElement$1$h() {
|
|
|
26589
26495
|
break;
|
|
26590
26496
|
} });
|
|
26591
26497
|
}
|
|
26592
|
-
defineCustomElement$1$
|
|
26498
|
+
defineCustomElement$1$8();
|
|
26593
26499
|
|
|
26594
26500
|
const NvNotificationcontainer$1 = NvNotificationContainer;
|
|
26595
|
-
const defineCustomElement$
|
|
26501
|
+
const defineCustomElement$b = defineCustomElement$1$8;
|
|
26596
26502
|
|
|
26597
26503
|
const NvPopover$1 = NvPopover$2;
|
|
26598
|
-
const defineCustomElement$
|
|
26504
|
+
const defineCustomElement$a = defineCustomElement$T;
|
|
26599
26505
|
|
|
26600
26506
|
const nvRowCss = "nv-row{display:flex;flex-wrap:wrap;margin-right:calc(var(--spacing-4) * -1);margin-left:calc(var(--spacing-4) * -1);row-gap:var(--spacing-4)}";
|
|
26601
26507
|
const NvRowStyle0 = nvRowCss;
|
|
@@ -26612,7 +26518,7 @@ const NvRow$1 = /*@__PURE__*/ proxyCustomElement(class NvRow extends H {
|
|
|
26612
26518
|
}
|
|
26613
26519
|
static get style() { return NvRowStyle0; }
|
|
26614
26520
|
}, [4, "nv-row"]);
|
|
26615
|
-
function defineCustomElement$1$
|
|
26521
|
+
function defineCustomElement$1$7() {
|
|
26616
26522
|
if (typeof customElements === "undefined") {
|
|
26617
26523
|
return;
|
|
26618
26524
|
}
|
|
@@ -26625,855 +26531,62 @@ function defineCustomElement$1$g() {
|
|
|
26625
26531
|
break;
|
|
26626
26532
|
} });
|
|
26627
26533
|
}
|
|
26628
|
-
defineCustomElement$1$
|
|
26534
|
+
defineCustomElement$1$7();
|
|
26629
26535
|
|
|
26630
26536
|
const NvRow$2 = NvRow$1;
|
|
26631
|
-
const defineCustomElement$
|
|
26537
|
+
const defineCustomElement$9 = defineCustomElement$1$7;
|
|
26632
26538
|
|
|
26633
|
-
const
|
|
26634
|
-
const
|
|
26539
|
+
const nvSplitCss = "nv-split{display:flex;width:100%;height:100%;position:relative}nv-split[direction=horizontal]{flex-direction:row}nv-split[direction=vertical]{flex-direction:column}nv-split .nv-split-gutter{position:absolute;z-index:10;background:transparent;display:flex;align-items:center;justify-content:center;flex:0 0 auto;transition:background-color 0.2s ease}nv-split .nv-split-gutter::after{content:\"\";position:absolute;background:var(--nv-color-neutral-400, #ccc);border-radius:2px;transition:background-color 0.2s ease}nv-split .nv-split-gutter:hover::after{background:var(--nv-color-brand-primary, #0066cc)}nv-split .nv-split-gutter::before{content:\"\";position:absolute;background-repeat:no-repeat;background-position:center;opacity:0.4;transition:opacity 0.2s ease;pointer-events:none}nv-split .nv-split-gutter:hover::before{opacity:0.7}nv-split[direction=horizontal]>.nv-split-gutter{width:var(--nv-split-gutter-size, 24px);top:0;bottom:0;transform:translateX(-50%);cursor:col-resize}nv-split[direction=horizontal]>.nv-split-gutter::after{width:2px;height:60%;left:50%;top:20%;transform:translateX(-50%)}nv-split[direction=horizontal]>.nv-split-gutter::before{width:16px;height:16px}nv-split[direction=vertical]>.nv-split-gutter{height:var(--nv-split-gutter-size, 24px);left:0;right:0;transform:translateY(-50%);cursor:row-resize}nv-split[direction=vertical]>.nv-split-gutter::after{height:2px;width:60%;top:50%;left:20%;transform:translateY(-50%)}nv-split[direction=vertical]>.nv-split-gutter::before{width:16px;height:16px}nv-split[data-dragging=true]>.nv-split-gutter::after{background:var(--nv-color-neutral-500, #9ca3af)}nv-split>[slot=pane]{flex:1 1 auto;overflow:hidden;min-width:0;min-height:0;display:flex;flex-direction:column}nv-split>[slot=pane]>nv-split{flex:1 1 auto;width:100%;height:100%}";
|
|
26540
|
+
const NvSplitStyle0 = nvSplitCss;
|
|
26635
26541
|
|
|
26636
|
-
const
|
|
26542
|
+
const NvSplit$1 = /*@__PURE__*/ proxyCustomElement(class NvSplit extends H {
|
|
26637
26543
|
constructor() {
|
|
26638
26544
|
super();
|
|
26639
26545
|
this.__registerHost();
|
|
26640
|
-
this.
|
|
26546
|
+
this.sizesChanged = createEvent$1(this, "sizesChanged");
|
|
26641
26547
|
/****************************************************************************/
|
|
26642
26548
|
//#region PROPERTIES
|
|
26643
26549
|
/**
|
|
26644
|
-
*
|
|
26645
|
-
* -
|
|
26646
|
-
* -
|
|
26647
|
-
*/
|
|
26648
|
-
this.type = 'persistent';
|
|
26649
|
-
/**
|
|
26650
|
-
* Whether the sidebar is currently open (only applies to collapsible type).
|
|
26550
|
+
* Direction of the split layout.
|
|
26551
|
+
* - `horizontal`: panes side by side
|
|
26552
|
+
* - `vertical`: panes stacked
|
|
26651
26553
|
*/
|
|
26652
|
-
|
|
26653
|
-
this.open = true;
|
|
26554
|
+
this.direction = 'horizontal';
|
|
26654
26555
|
/**
|
|
26655
|
-
*
|
|
26656
|
-
*
|
|
26657
|
-
*
|
|
26556
|
+
* Initial sizes of the panes in percentages.
|
|
26557
|
+
* Example: `[50, 50]` means two equal panes.
|
|
26558
|
+
* Explicitly `reflect: false` (array) for framework compatibility.
|
|
26658
26559
|
*/
|
|
26659
|
-
this.
|
|
26560
|
+
this.sizes = [];
|
|
26660
26561
|
/**
|
|
26661
|
-
*
|
|
26662
|
-
*
|
|
26663
|
-
* - low: Less prominent appearance
|
|
26562
|
+
* Width or height of the gutter (in px) depending on the split direction.
|
|
26563
|
+
* Default is 24px to meet WCAG 2.2 target size requirements for touch accessibility.
|
|
26664
26564
|
*/
|
|
26665
|
-
this.
|
|
26666
|
-
//#endregion
|
|
26565
|
+
this.gutterSize = 24;
|
|
26566
|
+
//#endregion
|
|
26667
26567
|
/****************************************************************************/
|
|
26668
|
-
//#region
|
|
26669
|
-
this.
|
|
26670
|
-
|
|
26671
|
-
|
|
26672
|
-
|
|
26673
|
-
|
|
26674
|
-
|
|
26675
|
-
|
|
26676
|
-
* Sets the active state of navigation items based on activePath
|
|
26677
|
-
*/
|
|
26678
|
-
this.setActiveNavItems = () => {
|
|
26679
|
-
if (!this.activePath)
|
|
26680
|
-
return;
|
|
26681
|
-
// First, check all subitems to find if any matches exactly
|
|
26682
|
-
const activeSubitemHrefs = new Set();
|
|
26683
|
-
this.el.querySelectorAll('nv-sidebarnavsubitem').forEach(subItem => {
|
|
26684
|
-
const link = subItem.querySelector('a');
|
|
26685
|
-
const href = link === null || link === void 0 ? void 0 : link.getAttribute('href');
|
|
26686
|
-
if (href) {
|
|
26687
|
-
const isActive = this.activePath === href;
|
|
26688
|
-
subItem.active = isActive;
|
|
26689
|
-
if (isActive) {
|
|
26690
|
-
activeSubitemHrefs.add(href);
|
|
26691
|
-
}
|
|
26692
|
-
}
|
|
26693
|
-
});
|
|
26694
|
-
// Then, set nav items active only if:
|
|
26695
|
-
// 1. Exact match with activePath AND no subitem matches
|
|
26696
|
-
// 2. OR the navitem has no subitems and activePath starts with its href
|
|
26697
|
-
this.el.querySelectorAll('nv-sidebarnavitem').forEach(navItem => {
|
|
26698
|
-
const link = navItem.querySelector(':scope > a, :scope > .nv-sidebarnavitem-trigger a, .nv-sidebarnavitem-content > a');
|
|
26699
|
-
const href = link === null || link === void 0 ? void 0 : link.getAttribute('href');
|
|
26700
|
-
const hasSubitems = navItem.querySelector('nv-sidebarnavsubitem') !== null;
|
|
26701
|
-
if (href) {
|
|
26702
|
-
if (hasSubitems) {
|
|
26703
|
-
// Parent with subitems: only active if exact match (not when subitem is active)
|
|
26704
|
-
navItem.active = this.activePath === href;
|
|
26705
|
-
}
|
|
26706
|
-
else {
|
|
26707
|
-
// Item without subitems: active on exact match
|
|
26708
|
-
navItem.active = this.activePath === href;
|
|
26709
|
-
}
|
|
26710
|
-
}
|
|
26711
|
-
});
|
|
26712
|
-
};
|
|
26713
|
-
this.pendingActiveUpdate = null;
|
|
26714
|
-
/**
|
|
26715
|
-
* Sets up the MutationObserver to watch for changes in child elements.
|
|
26716
|
-
* Only triggers on new nav items being added, not on attribute changes.
|
|
26717
|
-
*/
|
|
26718
|
-
this.setupMutationObserver = () => {
|
|
26719
|
-
this.mutationObserver = new MutationObserver(mutations => {
|
|
26720
|
-
// Only react to new nav items being added, ignore other mutations
|
|
26721
|
-
const hasNewNavItems = mutations.some(mutation => {
|
|
26722
|
-
if (mutation.type !== 'childList')
|
|
26723
|
-
return false;
|
|
26724
|
-
return Array.from(mutation.addedNodes).some(node => {
|
|
26725
|
-
if (node.nodeType !== Node.ELEMENT_NODE)
|
|
26726
|
-
return false;
|
|
26727
|
-
const el = node;
|
|
26728
|
-
return (el.tagName.toLowerCase() === 'nv-sidebarnavitem' ||
|
|
26729
|
-
el.tagName.toLowerCase() === 'nv-sidebarnavsubitem' ||
|
|
26730
|
-
el.querySelector('nv-sidebarnavitem, nv-sidebarnavsubitem'));
|
|
26731
|
-
});
|
|
26732
|
-
});
|
|
26733
|
-
if (hasNewNavItems) {
|
|
26734
|
-
// Debounce to prevent multiple rapid calls
|
|
26735
|
-
if (this.pendingActiveUpdate) {
|
|
26736
|
-
clearTimeout(this.pendingActiveUpdate);
|
|
26737
|
-
}
|
|
26738
|
-
this.pendingActiveUpdate = window.setTimeout(() => {
|
|
26739
|
-
this.setActiveNavItems();
|
|
26740
|
-
this.pendingActiveUpdate = null;
|
|
26741
|
-
}, 50);
|
|
26742
|
-
}
|
|
26743
|
-
});
|
|
26744
|
-
this.mutationObserver.observe(this.el, {
|
|
26745
|
-
childList: true,
|
|
26746
|
-
subtree: true,
|
|
26747
|
-
});
|
|
26748
|
-
};
|
|
26749
|
-
}
|
|
26750
|
-
handleCollapsedSideEffects(isCollapsed) {
|
|
26751
|
-
if (!isCollapsed) {
|
|
26752
|
-
return;
|
|
26753
|
-
}
|
|
26754
|
-
this.el.querySelectorAll('nv-sidebarnavitem[open]').forEach(navItem => {
|
|
26755
|
-
navItem.open = false;
|
|
26756
|
-
});
|
|
26568
|
+
//#region STATE
|
|
26569
|
+
this.isDragging = false;
|
|
26570
|
+
this.dragIndex = -1;
|
|
26571
|
+
this.startPos = 0;
|
|
26572
|
+
this.startSizes = [];
|
|
26573
|
+
// Handlers stored to be able to detach them
|
|
26574
|
+
this.onDocMove = (ev) => this.handleMouseMove(ev);
|
|
26575
|
+
this.onDocUp = () => this.stopDragging();
|
|
26757
26576
|
}
|
|
26758
|
-
//#endregion
|
|
26577
|
+
//#endregion
|
|
26759
26578
|
/****************************************************************************/
|
|
26760
26579
|
//#region WATCHERS
|
|
26761
|
-
|
|
26762
|
-
|
|
26580
|
+
onSizesChanged() {
|
|
26581
|
+
// Re-apply sizes if modified from the outside
|
|
26582
|
+
this.applySizes();
|
|
26763
26583
|
}
|
|
26764
|
-
|
|
26765
|
-
|
|
26766
|
-
|
|
26767
|
-
|
|
26768
|
-
|
|
26769
|
-
|
|
26770
|
-
this.handleCollapsedSideEffects(this.type === 'collapsible' && !this.open);
|
|
26771
|
-
}
|
|
26772
|
-
onOpenChanged(newValue, oldValue) {
|
|
26773
|
-
this.handleCollapsedSideEffects(this.type === 'collapsible' && !newValue);
|
|
26774
|
-
// Only emit event when open state actually changes (not on re-render with same value)
|
|
26775
|
-
if (this.type === 'collapsible' && newValue !== oldValue) {
|
|
26776
|
-
this.openChanged.emit(newValue);
|
|
26777
|
-
}
|
|
26778
|
-
}
|
|
26779
|
-
disconnectedCallback() {
|
|
26780
|
-
if (this.mutationObserver) {
|
|
26781
|
-
this.mutationObserver.disconnect();
|
|
26782
|
-
}
|
|
26783
|
-
if (this.pendingActiveUpdate) {
|
|
26784
|
-
clearTimeout(this.pendingActiveUpdate);
|
|
26785
|
-
}
|
|
26786
|
-
}
|
|
26787
|
-
//#endregion LIFECYCLE
|
|
26788
|
-
/****************************************************************************/
|
|
26789
|
-
//#region RENDER
|
|
26790
|
-
render() {
|
|
26791
|
-
const isCollapsed = this.type === 'collapsible' && !this.open;
|
|
26792
|
-
return (h$1(Host$1, { key: 'af78cae6f6cd895dbef098e549e63ac8baace243', role: "navigation", collapsed: isCollapsed ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, h$1("div", { key: '28a2ec38d36308d803362d361a243dc5c1b6083e', class: "nv-sidebar-container" }, h$1("slot", { key: 'c4d85987d256e89508392b6e28fdb74be9140ccb' })), this.type === 'collapsible' && (h$1("button", { key: 'a34c2b6a0be9b1bd494ac542db3ed096c81e32f9', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, h$1("nv-icon", { key: '8905351a55b339106a4c7bb5cf61582a98dd31a5', name: this.open
|
|
26793
|
-
? 'layout-sidebar-left-collapse'
|
|
26794
|
-
: 'layout-sidebar-right-collapse', size: "sm" })))));
|
|
26795
|
-
}
|
|
26796
|
-
get el() { return this; }
|
|
26797
|
-
static get watchers() { return {
|
|
26798
|
-
"activePath": ["onActivePathChanged"],
|
|
26799
|
-
"open": ["onOpenChanged"]
|
|
26800
|
-
}; }
|
|
26801
|
-
static get style() { return NvSidebarStyle0; }
|
|
26802
|
-
}, [4, "nv-sidebar", {
|
|
26803
|
-
"type": [513],
|
|
26804
|
-
"open": [1540],
|
|
26805
|
-
"activePath": [513, "active-path"],
|
|
26806
|
-
"notificationIntention": [513, "notification-intention"],
|
|
26807
|
-
"notificationEmphasis": [513, "notification-emphasis"]
|
|
26808
|
-
}, undefined, {
|
|
26809
|
-
"activePath": ["onActivePathChanged"],
|
|
26810
|
-
"open": ["onOpenChanged"]
|
|
26811
|
-
}]);
|
|
26812
|
-
function defineCustomElement$1$f() {
|
|
26813
|
-
if (typeof customElements === "undefined") {
|
|
26814
|
-
return;
|
|
26815
|
-
}
|
|
26816
|
-
const components = ["nv-sidebar", "nv-icon"];
|
|
26817
|
-
components.forEach(tagName => { switch (tagName) {
|
|
26818
|
-
case "nv-sidebar":
|
|
26819
|
-
if (!customElements.get(tagName)) {
|
|
26820
|
-
customElements.define(tagName, NvSidebar$1);
|
|
26821
|
-
}
|
|
26822
|
-
break;
|
|
26823
|
-
case "nv-icon":
|
|
26824
|
-
if (!customElements.get(tagName)) {
|
|
26825
|
-
defineCustomElement$1c();
|
|
26826
|
-
}
|
|
26827
|
-
break;
|
|
26828
|
-
} });
|
|
26829
|
-
}
|
|
26830
|
-
defineCustomElement$1$f();
|
|
26831
|
-
|
|
26832
|
-
const NvSidebar$2 = NvSidebar$1;
|
|
26833
|
-
const defineCustomElement$h = defineCustomElement$1$f;
|
|
26834
|
-
|
|
26835
|
-
const nvSidebarcontentCss = "nv-sidebarcontent{display:flex;flex-direction:column;flex:1;overflow-y:auto;overflow-x:hidden}";
|
|
26836
|
-
const NvSidebarcontentStyle0 = nvSidebarcontentCss;
|
|
26837
|
-
|
|
26838
|
-
const NvSidebarcontent$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebarcontent extends H {
|
|
26839
|
-
constructor() {
|
|
26840
|
-
super();
|
|
26841
|
-
this.__registerHost();
|
|
26842
|
-
}
|
|
26843
|
-
/****************************************************************************/
|
|
26844
|
-
//#region RENDER
|
|
26845
|
-
render() {
|
|
26846
|
-
return (h$1(Host$1, { key: 'd960a2c2abe06db605980bf35d2c7cc74f4e0dba', role: "list" }, h$1("slot", { key: '7c0b0ad872d1afc279bfd9c9d381097207f055e2' })));
|
|
26847
|
-
}
|
|
26848
|
-
static get style() { return NvSidebarcontentStyle0; }
|
|
26849
|
-
}, [4, "nv-sidebarcontent"]);
|
|
26850
|
-
function defineCustomElement$1$e() {
|
|
26851
|
-
if (typeof customElements === "undefined") {
|
|
26852
|
-
return;
|
|
26853
|
-
}
|
|
26854
|
-
const components = ["nv-sidebarcontent"];
|
|
26855
|
-
components.forEach(tagName => { switch (tagName) {
|
|
26856
|
-
case "nv-sidebarcontent":
|
|
26857
|
-
if (!customElements.get(tagName)) {
|
|
26858
|
-
customElements.define(tagName, NvSidebarcontent$1);
|
|
26859
|
-
}
|
|
26860
|
-
break;
|
|
26861
|
-
} });
|
|
26862
|
-
}
|
|
26863
|
-
defineCustomElement$1$e();
|
|
26864
|
-
|
|
26865
|
-
const NvSidebarcontent$2 = NvSidebarcontent$1;
|
|
26866
|
-
const defineCustomElement$g = defineCustomElement$1$e;
|
|
26867
|
-
|
|
26868
|
-
const nvSidebardividerCss = "nv-sidebardivider{display:block;height:var(--sidebar-primary-separator-size);background-color:var(--color-content-low-border);margin:var(--spacing-2) 0}";
|
|
26869
|
-
const NvSidebardividerStyle0 = nvSidebardividerCss;
|
|
26870
|
-
|
|
26871
|
-
const NvSidebardivider$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebardivider extends H {
|
|
26872
|
-
constructor() {
|
|
26873
|
-
super();
|
|
26874
|
-
this.__registerHost();
|
|
26875
|
-
}
|
|
26876
|
-
/****************************************************************************/
|
|
26877
|
-
//#region RENDER
|
|
26878
|
-
render() {
|
|
26879
|
-
return h$1(Host$1, { key: 'a4328b357b750232920c8b5e24e91503bba7e235', role: "separator", "aria-orientation": "horizontal" });
|
|
26880
|
-
}
|
|
26881
|
-
static get style() { return NvSidebardividerStyle0; }
|
|
26882
|
-
}, [0, "nv-sidebardivider"]);
|
|
26883
|
-
function defineCustomElement$1$d() {
|
|
26884
|
-
if (typeof customElements === "undefined") {
|
|
26885
|
-
return;
|
|
26886
|
-
}
|
|
26887
|
-
const components = ["nv-sidebardivider"];
|
|
26888
|
-
components.forEach(tagName => { switch (tagName) {
|
|
26889
|
-
case "nv-sidebardivider":
|
|
26890
|
-
if (!customElements.get(tagName)) {
|
|
26891
|
-
customElements.define(tagName, NvSidebardivider$1);
|
|
26892
|
-
}
|
|
26893
|
-
break;
|
|
26894
|
-
} });
|
|
26895
|
-
}
|
|
26896
|
-
defineCustomElement$1$d();
|
|
26897
|
-
|
|
26898
|
-
const NvSidebardivider$2 = NvSidebardivider$1;
|
|
26899
|
-
const defineCustomElement$f = defineCustomElement$1$d;
|
|
26900
|
-
|
|
26901
|
-
const nvSidebarfooterCss = "nv-sidebarfooter{display:block;margin-top:auto}";
|
|
26902
|
-
const NvSidebarfooterStyle0 = nvSidebarfooterCss;
|
|
26903
|
-
|
|
26904
|
-
const NvSidebarfooter$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebarfooter extends H {
|
|
26905
|
-
constructor() {
|
|
26906
|
-
super();
|
|
26907
|
-
this.__registerHost();
|
|
26908
|
-
}
|
|
26909
|
-
/****************************************************************************/
|
|
26910
|
-
//#region RENDER
|
|
26911
|
-
render() {
|
|
26912
|
-
return (h$1(Host$1, { key: '73ce5246f93d982caf0d65f2cde8156dfbe565da' }, h$1("slot", { key: '92a297a59988ce6e70875eedd50227cdf011d4bf' })));
|
|
26913
|
-
}
|
|
26914
|
-
static get style() { return NvSidebarfooterStyle0; }
|
|
26915
|
-
}, [4, "nv-sidebarfooter"]);
|
|
26916
|
-
function defineCustomElement$1$c() {
|
|
26917
|
-
if (typeof customElements === "undefined") {
|
|
26918
|
-
return;
|
|
26919
|
-
}
|
|
26920
|
-
const components = ["nv-sidebarfooter"];
|
|
26921
|
-
components.forEach(tagName => { switch (tagName) {
|
|
26922
|
-
case "nv-sidebarfooter":
|
|
26923
|
-
if (!customElements.get(tagName)) {
|
|
26924
|
-
customElements.define(tagName, NvSidebarfooter$1);
|
|
26925
|
-
}
|
|
26926
|
-
break;
|
|
26927
|
-
} });
|
|
26928
|
-
}
|
|
26929
|
-
defineCustomElement$1$c();
|
|
26930
|
-
|
|
26931
|
-
const NvSidebarfooter$2 = NvSidebarfooter$1;
|
|
26932
|
-
const defineCustomElement$e = defineCustomElement$1$c;
|
|
26933
|
-
|
|
26934
|
-
const nvSidebargroupCss = "nv-sidebargroup{display:flex;flex-direction:column;gap:var(--spacing-1)}nv-sidebargroup .nv-sidebargroup-label{display:block;font-size:var(--font-size-sm);line-height:var(--line-height-sm);font-weight:var(--font-weight-medium-emphasis);color:var(--color-content-lower-text);letter-spacing:0;padding:var(--sidebar-primary-title-padding-y) var(--sidebar-primary-title-padding-x)}nv-sidebar[collapsed] nv-sidebargroup .nv-sidebargroup-label{display:none}";
|
|
26935
|
-
const NvSidebargroupStyle0 = nvSidebargroupCss;
|
|
26936
|
-
|
|
26937
|
-
const NvSidebargroup$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebargroup extends H {
|
|
26938
|
-
constructor() {
|
|
26939
|
-
super();
|
|
26940
|
-
this.__registerHost();
|
|
26941
|
-
}
|
|
26942
|
-
//#endregion PROPERTIES
|
|
26943
|
-
/****************************************************************************/
|
|
26944
|
-
//#region RENDER
|
|
26945
|
-
render() {
|
|
26946
|
-
return (h$1(Host$1, { key: 'c7b4e34d8237dc93adaa33f12d7cfda36a8ac269', role: "group", "aria-label": this.label }, this.label && h$1("div", { key: '7cafdf840b12c89604efda7895b764331c8054b7', class: "nv-sidebargroup-label" }, this.label), h$1("slot", { key: 'b6567a223f7cc05ce2874a632d38d6665c255659' })));
|
|
26947
|
-
}
|
|
26948
|
-
static get style() { return NvSidebargroupStyle0; }
|
|
26949
|
-
}, [4, "nv-sidebargroup", {
|
|
26950
|
-
"label": [513]
|
|
26951
|
-
}]);
|
|
26952
|
-
function defineCustomElement$1$b() {
|
|
26953
|
-
if (typeof customElements === "undefined") {
|
|
26954
|
-
return;
|
|
26955
|
-
}
|
|
26956
|
-
const components = ["nv-sidebargroup"];
|
|
26957
|
-
components.forEach(tagName => { switch (tagName) {
|
|
26958
|
-
case "nv-sidebargroup":
|
|
26959
|
-
if (!customElements.get(tagName)) {
|
|
26960
|
-
customElements.define(tagName, NvSidebargroup$1);
|
|
26961
|
-
}
|
|
26962
|
-
break;
|
|
26963
|
-
} });
|
|
26964
|
-
}
|
|
26965
|
-
defineCustomElement$1$b();
|
|
26966
|
-
|
|
26967
|
-
const NvSidebargroup$2 = NvSidebargroup$1;
|
|
26968
|
-
const defineCustomElement$d = defineCustomElement$1$b;
|
|
26969
|
-
|
|
26970
|
-
const nvSidebarheaderCss = "nv-sidebarheader{display:block}";
|
|
26971
|
-
const NvSidebarheaderStyle0 = nvSidebarheaderCss;
|
|
26972
|
-
|
|
26973
|
-
const NvSidebarheader$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebarheader extends H {
|
|
26974
|
-
constructor() {
|
|
26975
|
-
super();
|
|
26976
|
-
this.__registerHost();
|
|
26977
|
-
}
|
|
26978
|
-
/****************************************************************************/
|
|
26979
|
-
//#region RENDER
|
|
26980
|
-
render() {
|
|
26981
|
-
return (h$1(Host$1, { key: '42d91f8325df19e8208ab045a057657c97bf3ff4' }, h$1("slot", { key: '42b4e5952fd55b95fe2934297929cef3bd1b226c' })));
|
|
26982
|
-
}
|
|
26983
|
-
static get style() { return NvSidebarheaderStyle0; }
|
|
26984
|
-
}, [4, "nv-sidebarheader"]);
|
|
26985
|
-
function defineCustomElement$1$a() {
|
|
26986
|
-
if (typeof customElements === "undefined") {
|
|
26987
|
-
return;
|
|
26988
|
-
}
|
|
26989
|
-
const components = ["nv-sidebarheader"];
|
|
26990
|
-
components.forEach(tagName => { switch (tagName) {
|
|
26991
|
-
case "nv-sidebarheader":
|
|
26992
|
-
if (!customElements.get(tagName)) {
|
|
26993
|
-
customElements.define(tagName, NvSidebarheader$1);
|
|
26994
|
-
}
|
|
26995
|
-
break;
|
|
26996
|
-
} });
|
|
26997
|
-
}
|
|
26998
|
-
defineCustomElement$1$a();
|
|
26999
|
-
|
|
27000
|
-
const NvSidebarheader$2 = NvSidebarheader$1;
|
|
27001
|
-
const defineCustomElement$c = defineCustomElement$1$a;
|
|
27002
|
-
|
|
27003
|
-
const nvSidebarlogoCss = "nv-sidebarlogo{display:block}nv-sidebarlogo .nv-sidebarlogo-container{display:flex;align-items:center;gap:var(--spacing-3)}nv-sidebarlogo .nv-sidebarlogo-full,nv-sidebarlogo .nv-sidebarlogo-collapsed{height:var(--spacing-8);width:auto;object-fit:contain}nv-sidebarlogo .nv-sidebarlogo-collapsed{display:none}nv-sidebarlogo .nv-sidebarlogo-title{font-size:var(--nv-sidebarlogo-font-size, var(--font-size-md));font-weight:var(--nv-sidebarlogo-font-weight, var(--font-weight-high-emphasis));font-family:var(--nv-sidebarlogo-font-family, inherit);color:var(--color-content-high-text);white-space:nowrap;overflow:hidden;transition:opacity 0.2s ease, max-width 0.3s ease, margin-left 0.3s ease;max-width:200px;opacity:1}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-full{display:none}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-collapsed{display:block}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-title{max-width:0;opacity:0;margin-left:0}nv-sidebar[collapsed] nv-sidebarlogo .nv-sidebarlogo-container{justify-content:center;align-items:center;gap:0;width:100%;min-height:var(--spacing-12);padding:0}";
|
|
27004
|
-
const NvSidebarlogoStyle0 = nvSidebarlogoCss;
|
|
27005
|
-
|
|
27006
|
-
const NvSidebarlogo$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebarlogo extends H {
|
|
27007
|
-
constructor() {
|
|
27008
|
-
super();
|
|
27009
|
-
this.__registerHost();
|
|
27010
|
-
//#endregion PROPERTIES
|
|
27011
|
-
/****************************************************************************/
|
|
27012
|
-
//#region CONSTANTS
|
|
27013
|
-
// Default Nova logo SVG (expanded - icon only, text comes from label prop)
|
|
27014
|
-
this.defaultLogo = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"%3E%3Cstyle%3E.cls-1{fill:%23f0801a;}%3C/style%3E%3Cpath class="cls-1" d="M25.71,2.13l-5.08,11.39c-.39.88-.38,1.92.13,2.73.74,1.17,2.19,1.59,3.42,1.07l14.26-6-3.14-2.27-10.89,4.66c-.15.06-.3-.09-.23-.24l4.34-9.31-2.81-2.03Z"/%3E%3Cpath class="cls-1" d="M4.29,10l9.22,8.4c.71.65,1.7.97,2.63.73,1.34-.34,2.2-1.58,2.09-2.91l-1.22-15.43-3.14,2.27,1.01,11.8c.01.16-.18.26-.3.15l-7.48-7.04-2.81,2.03Z"/%3E%3Cpath class="cls-1" d="M26.95,39.15l-2.59-12.2c-.2-.94-.82-1.78-1.71-2.13-1.29-.51-2.71,0-3.4,1.14l-8.01,13.24h3.87s6.07-10.18,6.07-10.18c.08-.14.3-.1.33.06l1.97,10.08h3.47Z"/%3E%3Cpath class="cls-1" d="M4.85,32.76l10.82-6.19c.83-.48,1.44-1.32,1.5-2.28.09-1.38-.83-2.58-2.13-2.89L0,17.82l1.2,3.68,11.54,2.67c.16.04.19.25.05.33l-9,4.96,1.07,3.3Z"/%3E%3Cpath class="cls-1" d="M40,20.11l-12.4-1.35c-.95-.1-1.94.22-2.56.96-.89,1.07-.84,2.58.03,3.58l10.08,11.74,1.2-3.69-7.77-8.94c-.11-.12,0-.32.16-.3l10.19,1.28,1.07-3.3Z"/%3E%3C/svg%3E';
|
|
27015
|
-
// Default Nova icon (collapsed - same logo but will be displayed smaller)
|
|
27016
|
-
this.defaultCollapsedLogo = 'data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"%3E%3Cstyle%3E.cls-1{fill:%23f0801a;}%3C/style%3E%3Cpath class="cls-1" d="M25.71,2.13l-5.08,11.39c-.39.88-.38,1.92.13,2.73.74,1.17,2.19,1.59,3.42,1.07l14.26-6-3.14-2.27-10.89,4.66c-.15.06-.3-.09-.23-.24l4.34-9.31-2.81-2.03Z"/%3E%3Cpath class="cls-1" d="M4.29,10l9.22,8.4c.71.65,1.7.97,2.63.73,1.34-.34,2.2-1.58,2.09-2.91l-1.22-15.43-3.14,2.27,1.01,11.8c.01.16-.18.26-.3.15l-7.48-7.04-2.81,2.03Z"/%3E%3Cpath class="cls-1" d="M26.95,39.15l-2.59-12.2c-.2-.94-.82-1.78-1.71-2.13-1.29-.51-2.71,0-3.4,1.14l-8.01,13.24h3.87s6.07-10.18,6.07-10.18c.08-.14.3-.1.33.06l1.97,10.08h3.47Z"/%3E%3Cpath class="cls-1" d="M4.85,32.76l10.82-6.19c.83-.48,1.44-1.32,1.5-2.28.09-1.38-.83-2.58-2.13-2.89L0,17.82l1.2,3.68,11.54,2.67c.16.04.19.25.05.33l-9,4.96,1.07,3.3Z"/%3E%3Cpath class="cls-1" d="M40,20.11l-12.4-1.35c-.95-.1-1.94.22-2.56.96-.89,1.07-.84,2.58.03,3.58l10.08,11.74,1.2-3.69-7.77-8.94c-.11-.12,0-.32.16-.3l10.19,1.28,1.07-3.3Z"/%3E%3C/svg%3E';
|
|
27017
|
-
}
|
|
27018
|
-
//#endregion CONSTANTS
|
|
27019
|
-
/****************************************************************************/
|
|
27020
|
-
//#region RENDER
|
|
27021
|
-
render() {
|
|
27022
|
-
const logoSrc = this.logo || this.defaultLogo;
|
|
27023
|
-
const collapsedLogoSrc = this.collapsedLogo || this.defaultCollapsedLogo;
|
|
27024
|
-
return (h$1(Host$1, { key: 'ec2aba08293e4def2fe083c311b69cafe005cf5e' }, h$1("div", { key: '3a24d832a0bb5aa44264fe1fc3091878556649bd', class: "nv-sidebarlogo-container" }, h$1("img", { key: 'a9a08e7c5dd51902d9ffbda0d9216a4ffb186756', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), h$1("img", { key: 'daef311e11c8d5ee6b823a4896be36ea5bd696cc', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), this.label && h$1("span", { key: '9685e4c110e7bb7356f5d49b615105033a32a736', class: "nv-sidebarlogo-title" }, this.label))));
|
|
27025
|
-
}
|
|
27026
|
-
static get style() { return NvSidebarlogoStyle0; }
|
|
27027
|
-
}, [0, "nv-sidebarlogo", {
|
|
27028
|
-
"label": [513],
|
|
27029
|
-
"logo": [513],
|
|
27030
|
-
"collapsedLogo": [513, "collapsed-logo"]
|
|
27031
|
-
}]);
|
|
27032
|
-
function defineCustomElement$1$9() {
|
|
27033
|
-
if (typeof customElements === "undefined") {
|
|
27034
|
-
return;
|
|
27035
|
-
}
|
|
27036
|
-
const components = ["nv-sidebarlogo"];
|
|
27037
|
-
components.forEach(tagName => { switch (tagName) {
|
|
27038
|
-
case "nv-sidebarlogo":
|
|
27039
|
-
if (!customElements.get(tagName)) {
|
|
27040
|
-
customElements.define(tagName, NvSidebarlogo$1);
|
|
27041
|
-
}
|
|
27042
|
-
break;
|
|
27043
|
-
} });
|
|
27044
|
-
}
|
|
27045
|
-
defineCustomElement$1$9();
|
|
27046
|
-
|
|
27047
|
-
const NvSidebarlogo$2 = NvSidebarlogo$1;
|
|
27048
|
-
const defineCustomElement$b = defineCustomElement$1$9;
|
|
27049
|
-
|
|
27050
|
-
const nvSidebarnavitemCss = "nv-sidebarnavitem{display:flex;flex-direction:column;gap:0}nv-sidebarnavitem .nv-sidebarnavitem-trigger{display:flex;align-items:center;gap:var(--sidebar-primary-item-gap-x);padding:var(--sidebar-primary-item-padding-y) var(--sidebar-primary-item-padding-x);border-radius:var(--sidebar-primary-item-radius);cursor:pointer;transition:all 0.15s ease;font-size:var(--sidebar-primary-item-font-size);font-weight:var(--font-weight-medium-emphasis);color:var(--color-content-low-text);background:var(--color-interaction-container-neutral-background);text-decoration:none;--nv-component-background:var(--color-interaction-container-neutral-background);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background)}nv-sidebarnavitem .nv-sidebarnavitem-trigger:hover{background-color:var(--color-interaction-container-neutral-background-hover);color:var(--color-content-medium-text);--nv-component-background:var(--color-interaction-container-neutral-background-hover);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background-hover)}nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus,nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus-within{outline:none}nv-sidebarnavitem .nv-sidebarnavitem-trigger:focus-visible,nv-sidebarnavitem .nv-sidebarnavitem-trigger:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebarnavitem[active] .nv-sidebarnavitem-trigger{background-color:var(--color-interaction-container-neutral-background-active);color:var(--color-interaction-container-neutral-text-active);font-weight:var(--font-weight-medium-emphasis);--nv-component-background:var(--color-interaction-container-neutral-background-active);--nv-sidebarnavitem-background:var(--color-interaction-container-neutral-background-active)}nv-sidebarnavitem .nv-sidebarnavitem-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit;width:var(--sidebar-primary-item-icon-size);height:var(--sidebar-primary-item-icon-size);position:relative}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-icon{overflow:visible;margin:0;justify-content:center}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-icon nv-notification-bullet{position:absolute;transform:translate(50%, -50%);z-index:1;--sidebar-primary-notification-bullet-size-reduced:calc(\n var(--sidebar-primary-item-icon-size) * 0.4\n )}nv-sidebarnavitem .nv-sidebarnavitem-content{flex:1;display:flex;align-items:center}nv-sidebarnavitem .nv-sidebarnavitem-content a{color:inherit !important;text-decoration:none !important;font-weight:var(--font-weight-medium-emphasis) !important;flex:1}nv-sidebarnavitem .nv-sidebarnavitem-trailing{display:flex;align-items:center;gap:var(--spacing-2);margin-left:auto}nv-sidebarnavitem .nv-sidebarnavitem-chevron{transition:transform 0.2s ease;color:inherit}nv-sidebarnavitem[open] .nv-sidebarnavitem-chevron{transform:rotate(180deg)}nv-sidebarnavitem .nv-sidebarnavitem-subitems{display:flex;flex-direction:column;gap:0;max-height:0;overflow:hidden;opacity:0;transition:max-height 0.3s ease, opacity 0.2s ease;padding-left:0}nv-sidebarnavitem[open] .nv-sidebarnavitem-subitems{opacity:1;margin-top:var(--spacing-1)}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-trigger{justify-content:center;gap:0;width:100%}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-content{display:none}nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-trailing,nv-sidebar[collapsed] nv-sidebarnavitem .nv-sidebarnavitem-chevron{display:none}";
|
|
27051
|
-
const NvSidebarnavitemStyle0 = nvSidebarnavitemCss;
|
|
27052
|
-
|
|
27053
|
-
const NvSidebarnavitem$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebarnavitem extends H {
|
|
27054
|
-
constructor() {
|
|
27055
|
-
super();
|
|
27056
|
-
this.__registerHost();
|
|
27057
|
-
/**
|
|
27058
|
-
* Whether this item represents the active/current page.
|
|
27059
|
-
* Can be set automatically when a sub-item becomes active.
|
|
27060
|
-
*/
|
|
27061
|
-
this.active = false;
|
|
27062
|
-
/**
|
|
27063
|
-
* Whether this item can be collapsed/expanded (has sub-items).
|
|
27064
|
-
*/
|
|
27065
|
-
this.collapsible = false;
|
|
27066
|
-
/**
|
|
27067
|
-
* Whether the collapsible item is currently open (showing sub-items).
|
|
27068
|
-
*/
|
|
27069
|
-
this.open = false;
|
|
27070
|
-
//#endregion PROPERTIES
|
|
27071
|
-
/****************************************************************************/
|
|
27072
|
-
//#region STATE
|
|
27073
|
-
this.hasSubitems = false;
|
|
27074
|
-
this.isSidebarCollapsed = false;
|
|
27075
|
-
this.wasActiveFromSubitem = false; // Track if active was set by subitem logic
|
|
27076
|
-
//#endregion STATE
|
|
27077
|
-
/****************************************************************************/
|
|
27078
|
-
//#region METHODS
|
|
27079
|
-
this.handleToggle = (event) => {
|
|
27080
|
-
// Ignore clicks that originated from subitems (they bubble up but shouldn't toggle)
|
|
27081
|
-
const target = event.target;
|
|
27082
|
-
if (target.closest('nv-sidebarnavsubitem')) {
|
|
27083
|
-
return; // Let the subitem's link handle navigation normally
|
|
27084
|
-
}
|
|
27085
|
-
// In collapsed sidebar mode, navigate to the main link instead of toggling
|
|
27086
|
-
if (this.isSidebarCollapsed) {
|
|
27087
|
-
// Find the first link that is NOT inside subitems
|
|
27088
|
-
const link = this.el.querySelector('.nv-sidebarnavitem-content a, :scope > a');
|
|
27089
|
-
if (link === null || link === void 0 ? void 0 : link.href) {
|
|
27090
|
-
// Check if click was directly on the link - if so, let it handle naturally
|
|
27091
|
-
if (target.closest('a')) {
|
|
27092
|
-
return;
|
|
27093
|
-
}
|
|
27094
|
-
// Trigger navigation by clicking the link programmatically
|
|
27095
|
-
link.click();
|
|
27096
|
-
}
|
|
27097
|
-
return;
|
|
27098
|
-
}
|
|
27099
|
-
// Only handle toggle for collapsible items when sidebar is expanded
|
|
27100
|
-
if (this.collapsible) {
|
|
27101
|
-
event.preventDefault();
|
|
27102
|
-
event.stopPropagation();
|
|
27103
|
-
this.open = !this.open;
|
|
27104
|
-
}
|
|
27105
|
-
// For non-collapsible items in expanded mode, let the link handle the navigation
|
|
27106
|
-
// Don't prevent default or stop propagation - allow the link to work normally
|
|
27107
|
-
};
|
|
27108
|
-
this.isAnimating = false;
|
|
27109
|
-
this.hasInitializedHeight = false;
|
|
27110
|
-
/** Tracks the last open state that was animated to, to prevent redundant animations */
|
|
27111
|
-
this.lastAnimatedOpenState = null;
|
|
27112
|
-
this.updateSubitemsHeight = (force = false) => {
|
|
27113
|
-
if (!this.subitemsRef)
|
|
27114
|
-
return;
|
|
27115
|
-
// Skip animation if we're already in the target state (prevents animation on active change)
|
|
27116
|
-
// Only animate if:
|
|
27117
|
-
// 1. forced (explicit toggle by user via @Watch)
|
|
27118
|
-
// 2. OR this is the first animation (lastAnimatedOpenState is null)
|
|
27119
|
-
// 3. OR the open state has actually changed since last animation
|
|
27120
|
-
if (!force &&
|
|
27121
|
-
this.lastAnimatedOpenState !== null &&
|
|
27122
|
-
this.lastAnimatedOpenState === this.open) {
|
|
27123
|
-
return;
|
|
27124
|
-
}
|
|
27125
|
-
// Don't re-animate if already animating and not forced
|
|
27126
|
-
if (this.isAnimating && !force) {
|
|
27127
|
-
return;
|
|
27128
|
-
}
|
|
27129
|
-
this.isAnimating = true;
|
|
27130
|
-
this.lastAnimatedOpenState = this.open;
|
|
27131
|
-
if (this.open) {
|
|
27132
|
-
// Calculate real height and animate to it
|
|
27133
|
-
this.subitemsRef.style.transition = 'none';
|
|
27134
|
-
this.subitemsRef.style.maxHeight = '0px';
|
|
27135
|
-
requestAnimationFrame(() => {
|
|
27136
|
-
if (this.subitemsRef) {
|
|
27137
|
-
this.subitemsRef.style.transition =
|
|
27138
|
-
'max-height 0.3s ease, opacity 0.2s ease';
|
|
27139
|
-
this.subitemsRef.style.maxHeight =
|
|
27140
|
-
this.subitemsRef.scrollHeight + 'px';
|
|
27141
|
-
// Reset animation flag after animation completes
|
|
27142
|
-
setTimeout(() => {
|
|
27143
|
-
this.isAnimating = false;
|
|
27144
|
-
}, 300); // Match animation duration
|
|
27145
|
-
}
|
|
27146
|
-
});
|
|
27147
|
-
}
|
|
27148
|
-
else {
|
|
27149
|
-
// Animate to 0
|
|
27150
|
-
this.subitemsRef.style.transition = 'none';
|
|
27151
|
-
this.subitemsRef.style.maxHeight = this.subitemsRef.scrollHeight + 'px';
|
|
27152
|
-
requestAnimationFrame(() => {
|
|
27153
|
-
if (this.subitemsRef) {
|
|
27154
|
-
this.subitemsRef.style.transition =
|
|
27155
|
-
'max-height 0.3s ease, opacity 0.2s ease';
|
|
27156
|
-
this.subitemsRef.style.maxHeight = '0px';
|
|
27157
|
-
// Reset animation flag after animation completes
|
|
27158
|
-
setTimeout(() => {
|
|
27159
|
-
this.isAnimating = false;
|
|
27160
|
-
}, 300); // Match animation duration
|
|
27161
|
-
}
|
|
27162
|
-
});
|
|
27163
|
-
}
|
|
27164
|
-
};
|
|
27165
|
-
this.checkSidebarCollapsed = () => {
|
|
27166
|
-
var _a;
|
|
27167
|
-
const sidebar = this.el.closest('nv-sidebar');
|
|
27168
|
-
const wasCollapsed = this.isSidebarCollapsed;
|
|
27169
|
-
this.isSidebarCollapsed = (_a = sidebar === null || sidebar === void 0 ? void 0 : sidebar.hasAttribute('collapsed')) !== null && _a !== void 0 ? _a : false;
|
|
27170
|
-
// When sidebar collapse state changes, update active state based on subitems
|
|
27171
|
-
if (wasCollapsed !== this.isSidebarCollapsed) {
|
|
27172
|
-
this.updateActiveFromSubitems();
|
|
27173
|
-
}
|
|
27174
|
-
};
|
|
27175
|
-
/**
|
|
27176
|
-
* Checks if any sub-item is active and updates parent active state.
|
|
27177
|
-
* - When sidebar is collapsed: if a sub-item is active, parent should be active
|
|
27178
|
-
* - When sidebar is expanded: if a sub-item is active AND parent is not open, parent should be active
|
|
27179
|
-
* (because sub-items are hidden, we need to indicate the parent contains an active child)
|
|
27180
|
-
*/
|
|
27181
|
-
this.updateActiveFromSubitems = () => {
|
|
27182
|
-
if (!this.hasSubitems)
|
|
27183
|
-
return;
|
|
27184
|
-
// Find all sub-items
|
|
27185
|
-
const subItems = Array.from(this.el.querySelectorAll('nv-sidebarnavsubitem'));
|
|
27186
|
-
// Check if any sub-item is active
|
|
27187
|
-
const hasActiveSubitem = subItems.some(subItem => subItem.active);
|
|
27188
|
-
if (this.isSidebarCollapsed) {
|
|
27189
|
-
// When sidebar is collapsed AND a sub-item is active, make parent active
|
|
27190
|
-
if (hasActiveSubitem) {
|
|
27191
|
-
this.active = true;
|
|
27192
|
-
this.wasActiveFromSubitem = true;
|
|
27193
|
-
}
|
|
27194
|
-
else {
|
|
27195
|
-
// When collapsed and no sub-item is active, remove active state only if we set it
|
|
27196
|
-
if (this.wasActiveFromSubitem) {
|
|
27197
|
-
this.active = false;
|
|
27198
|
-
this.wasActiveFromSubitem = false;
|
|
27199
|
-
}
|
|
27200
|
-
}
|
|
27201
|
-
}
|
|
27202
|
-
else {
|
|
27203
|
-
// When sidebar is expanded
|
|
27204
|
-
if (hasActiveSubitem && !this.open) {
|
|
27205
|
-
// If a sub-item is active AND parent is not open (sub-items hidden),
|
|
27206
|
-
// make parent active to indicate it contains an active child
|
|
27207
|
-
this.active = true;
|
|
27208
|
-
this.wasActiveFromSubitem = true;
|
|
27209
|
-
}
|
|
27210
|
-
else if (hasActiveSubitem && this.open) {
|
|
27211
|
-
// If a sub-item is active BUT parent is open (sub-items visible),
|
|
27212
|
-
// remove active state from parent (only sub-item should be active)
|
|
27213
|
-
if (this.wasActiveFromSubitem) {
|
|
27214
|
-
this.active = false;
|
|
27215
|
-
this.wasActiveFromSubitem = false;
|
|
27216
|
-
}
|
|
27217
|
-
}
|
|
27218
|
-
else {
|
|
27219
|
-
// No active sub-item, remove active state if we set it
|
|
27220
|
-
if (this.wasActiveFromSubitem) {
|
|
27221
|
-
this.active = false;
|
|
27222
|
-
this.wasActiveFromSubitem = false;
|
|
27223
|
-
}
|
|
27224
|
-
}
|
|
27225
|
-
// Note: activePath logic in nv-sidebar can also manage parent active state
|
|
27226
|
-
// (when parent href matches activePath exactly)
|
|
27227
|
-
}
|
|
27228
|
-
};
|
|
27229
|
-
}
|
|
27230
|
-
//#endregion METHODS
|
|
27231
|
-
/****************************************************************************/
|
|
27232
|
-
//#region LIFECYCLE
|
|
27233
|
-
componentWillLoad() {
|
|
27234
|
-
// Check if there are sub-items in any slot
|
|
27235
|
-
const subItems = Array.from(this.el.children).filter(child => child.tagName.toLowerCase() === 'nv-sidebarnavsubitem');
|
|
27236
|
-
this.hasSubitems = subItems.length > 0;
|
|
27237
|
-
// Move sub-items to the subitems slot
|
|
27238
|
-
if (this.hasSubitems) {
|
|
27239
|
-
subItems.forEach(item => {
|
|
27240
|
-
item.setAttribute('slot', 'subitems');
|
|
27241
|
-
});
|
|
27242
|
-
}
|
|
27243
|
-
// Check sidebar collapsed state
|
|
27244
|
-
this.checkSidebarCollapsed();
|
|
27245
|
-
// Watch for sidebar state changes
|
|
27246
|
-
const sidebar = this.el.closest('nv-sidebar');
|
|
27247
|
-
if (sidebar) {
|
|
27248
|
-
this.mutationObserver = new MutationObserver(() => {
|
|
27249
|
-
this.checkSidebarCollapsed();
|
|
27250
|
-
});
|
|
27251
|
-
this.mutationObserver.observe(sidebar, {
|
|
27252
|
-
attributes: true,
|
|
27253
|
-
attributeFilter: ['collapsed'],
|
|
27254
|
-
});
|
|
27255
|
-
}
|
|
27256
|
-
// Watch for sub-items active state changes
|
|
27257
|
-
if (this.hasSubitems) {
|
|
27258
|
-
// Observe the subitems container for changes (including new sub-items being added)
|
|
27259
|
-
// Using subtree: true to catch all attribute changes in descendants
|
|
27260
|
-
const subitemsContainer = this.el.querySelector('.nv-sidebarnavitem-subitems');
|
|
27261
|
-
if (subitemsContainer) {
|
|
27262
|
-
this.subitemsMutationObserver = new MutationObserver(() => {
|
|
27263
|
-
this.updateActiveFromSubitems();
|
|
27264
|
-
});
|
|
27265
|
-
// Observe the container for child list changes and attribute changes in descendants
|
|
27266
|
-
this.subitemsMutationObserver.observe(subitemsContainer, {
|
|
27267
|
-
childList: true,
|
|
27268
|
-
subtree: true,
|
|
27269
|
-
attributes: true,
|
|
27270
|
-
attributeFilter: ['active'],
|
|
27271
|
-
});
|
|
27272
|
-
}
|
|
27273
|
-
else {
|
|
27274
|
-
// If container doesn't exist yet (not collapsible or not rendered), observe the element itself
|
|
27275
|
-
// This handles cases where sub-items are direct children
|
|
27276
|
-
this.subitemsMutationObserver = new MutationObserver(() => {
|
|
27277
|
-
this.updateActiveFromSubitems();
|
|
27278
|
-
});
|
|
27279
|
-
this.subitemsMutationObserver.observe(this.el, {
|
|
27280
|
-
childList: true,
|
|
27281
|
-
subtree: true,
|
|
27282
|
-
attributes: true,
|
|
27283
|
-
attributeFilter: ['active'],
|
|
27284
|
-
});
|
|
27285
|
-
}
|
|
27286
|
-
}
|
|
27287
|
-
// Initial check for active subitems
|
|
27288
|
-
this.updateActiveFromSubitems();
|
|
27289
|
-
}
|
|
27290
|
-
disconnectedCallback() {
|
|
27291
|
-
if (this.mutationObserver) {
|
|
27292
|
-
this.mutationObserver.disconnect();
|
|
27293
|
-
}
|
|
27294
|
-
if (this.subitemsMutationObserver) {
|
|
27295
|
-
this.subitemsMutationObserver.disconnect();
|
|
27296
|
-
}
|
|
27297
|
-
}
|
|
27298
|
-
//#endregion LIFECYCLE
|
|
27299
|
-
/****************************************************************************/
|
|
27300
|
-
//#region WATCHERS
|
|
27301
|
-
onOpenChanged(newValue, oldValue) {
|
|
27302
|
-
// Only animate if the value actually changed (prevents false triggers from React re-renders)
|
|
27303
|
-
if (newValue === oldValue) {
|
|
27304
|
-
return;
|
|
27305
|
-
}
|
|
27306
|
-
// Force update when open state changes (user clicked toggle)
|
|
27307
|
-
this.updateSubitemsHeight(true);
|
|
27308
|
-
// Update active state based on subitems when open state changes
|
|
27309
|
-
this.updateActiveFromSubitems();
|
|
27310
|
-
}
|
|
27311
|
-
//#endregion WATCHERS
|
|
27312
|
-
/****************************************************************************/
|
|
27313
|
-
//#region RENDER
|
|
27314
|
-
render() {
|
|
27315
|
-
const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
|
|
27316
|
-
const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
|
|
27317
|
-
return (h$1(Host$1, { key: 'c0c9c63cb295441389b5ced9a4b0a0d5a1af99cd', role: "listitem" }, h$1("div", { key: '6673c3f4c14762bff8512ecc430febddfa74b307', class: "nv-sidebarnavitem-trigger", onClick: this.handleToggle, "aria-expanded": this.collapsible ? String(this.open) : undefined, "aria-current": this.active && !this.collapsible ? 'page' : undefined }, this.icon && (h$1("div", { key: '25f703e9fb7375b8b562be54f080120ae037dd9f', class: "nv-sidebarnavitem-icon" }, h$1("nv-icon", { key: '1a4e345c90afcec159890db6c6b0e22d53dd673d', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (h$1("nv-notification-bullet", { key: '15b69d1a2325daed7d6583ed10906fe4e91809e5', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), h$1("div", { key: 'c717c09f39eab07616de419a35b11a5b7dfce5d1', class: "nv-sidebarnavitem-content" }, h$1("slot", { key: '9f8687f151fd082a6737e7fbe6036cc3ebff3cc2' })), h$1("div", { key: 'b2c3d7a4c30ce96273731a05a1d361f5654582de', class: "nv-sidebarnavitem-trailing" }, h$1("slot", { key: 'acf2dddbbbc7d2e83703c731a244237e0dc81153', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (h$1("nv-notification-bullet", { key: 'adca5c7418a3b58afa5ef21ddd3fa9b2d880a56c', count: this.notificationCount, size: notificationSize })), this.collapsible && (h$1("nv-icon", { key: 'a4a4369d4ba76f567cca439d1b4c7e95ad5ba98c', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (h$1("div", { key: '2d4fadb0b547eb369a702bb8210b3312dde505b2', class: "nv-sidebarnavitem-subitems", ref: el => {
|
|
27318
|
-
// Only update ref and initialize if element changed or not yet initialized
|
|
27319
|
-
if (el !== this.subitemsRef) {
|
|
27320
|
-
this.subitemsRef = el;
|
|
27321
|
-
if (el && !this.hasInitializedHeight) {
|
|
27322
|
-
// Initialize height only on first mount, not on re-renders
|
|
27323
|
-
this.hasInitializedHeight = true;
|
|
27324
|
-
requestAnimationFrame(() => {
|
|
27325
|
-
// Only animate if item is open, otherwise it will animate when opened
|
|
27326
|
-
if (this.open) {
|
|
27327
|
-
this.updateSubitemsHeight();
|
|
27328
|
-
}
|
|
27329
|
-
});
|
|
27330
|
-
}
|
|
27331
|
-
}
|
|
27332
|
-
} }, h$1("slot", { key: 'f0ffb970aa2d84580205ba110858d3f1c27875a3', name: "subitems" })))));
|
|
27333
|
-
}
|
|
27334
|
-
get el() { return this; }
|
|
27335
|
-
static get watchers() { return {
|
|
27336
|
-
"open": ["onOpenChanged"]
|
|
27337
|
-
}; }
|
|
27338
|
-
static get style() { return NvSidebarnavitemStyle0; }
|
|
27339
|
-
}, [4, "nv-sidebarnavitem", {
|
|
27340
|
-
"icon": [513],
|
|
27341
|
-
"active": [1540],
|
|
27342
|
-
"collapsible": [516],
|
|
27343
|
-
"open": [1540],
|
|
27344
|
-
"notificationCount": [514, "notification-count"],
|
|
27345
|
-
"hasSubitems": [32],
|
|
27346
|
-
"isSidebarCollapsed": [32]
|
|
27347
|
-
}, undefined, {
|
|
27348
|
-
"open": ["onOpenChanged"]
|
|
27349
|
-
}]);
|
|
27350
|
-
function defineCustomElement$1$8() {
|
|
27351
|
-
if (typeof customElements === "undefined") {
|
|
27352
|
-
return;
|
|
27353
|
-
}
|
|
27354
|
-
const components = ["nv-sidebarnavitem", "nv-icon", "nv-notification-bullet"];
|
|
27355
|
-
components.forEach(tagName => { switch (tagName) {
|
|
27356
|
-
case "nv-sidebarnavitem":
|
|
27357
|
-
if (!customElements.get(tagName)) {
|
|
27358
|
-
customElements.define(tagName, NvSidebarnavitem$1);
|
|
27359
|
-
}
|
|
27360
|
-
break;
|
|
27361
|
-
case "nv-icon":
|
|
27362
|
-
if (!customElements.get(tagName)) {
|
|
27363
|
-
defineCustomElement$1c();
|
|
27364
|
-
}
|
|
27365
|
-
break;
|
|
27366
|
-
case "nv-notification-bullet":
|
|
27367
|
-
if (!customElements.get(tagName)) {
|
|
27368
|
-
defineCustomElement$n();
|
|
27369
|
-
}
|
|
27370
|
-
break;
|
|
27371
|
-
} });
|
|
27372
|
-
}
|
|
27373
|
-
defineCustomElement$1$8();
|
|
27374
|
-
|
|
27375
|
-
const NvSidebarnavitem$2 = NvSidebarnavitem$1;
|
|
27376
|
-
const defineCustomElement$a = defineCustomElement$1$8;
|
|
27377
|
-
|
|
27378
|
-
const nvSidebarnavsubitemCss = "nv-sidebarnavsubitem{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--spacing-2) var(--spacing-3) var(--spacing-2) var(--list-dropdown-sub-item-padding-left);cursor:pointer;transition:all 0.15s ease;position:relative;min-height:var(--spacing-10);background-color:var(--color-interaction-container-neutral-background);border-radius:var(--sidebar-primary-item-radius);--nv-component-background:var(--color-interaction-container-neutral-background)}nv-sidebarnavsubitem:hover{background-color:var(--color-interaction-container-neutral-background-hover);--nv-component-background:var(--color-interaction-container-neutral-background-hover)}nv-sidebarnavsubitem:focus,nv-sidebarnavsubitem:focus-within{outline:none}nv-sidebarnavsubitem:focus-visible,nv-sidebarnavsubitem:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{display:none}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{flex:1;display:flex;align-items:center;gap:var(--spacing-2);font-size:var(--font-size-sm);color:var(--color-content-medium-text);text-decoration:none;font-weight:var(--font-weight-medium-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-content a{color:inherit !important;text-decoration:none !important;font-weight:var(--font-weight-medium-emphasis) !important;flex:1}nv-sidebarnavsubitem:hover .nv-sidebarnavsubitem-content{color:var(--color-content-medium-text)}nv-sidebarnavsubitem[active]{background-color:var(--color-interaction-container-neutral-background-active);--nv-component-background:var(--color-interaction-container-neutral-background-active)}nv-sidebarnavsubitem[active] .nv-sidebarnavsubitem-content{color:var(--color-orange-600);font-weight:var(--font-weight-high-emphasis)}nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:flex;align-items:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-content{max-width:0;opacity:0;margin:0;overflow:hidden;transition:opacity 0.2s ease, max-width 0.2s ease}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-indicator{margin-right:0;width:var(--spacing-6);justify-content:center}nv-sidebar[collapsed] nv-sidebarnavsubitem .nv-sidebarnavsubitem-trailing{display:none}";
|
|
27379
|
-
const NvSidebarnavsubitemStyle0 = nvSidebarnavsubitemCss;
|
|
27380
|
-
|
|
27381
|
-
const NvSidebarnavsubitem$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebarnavsubitem extends H {
|
|
27382
|
-
constructor() {
|
|
27383
|
-
super();
|
|
27384
|
-
this.__registerHost();
|
|
27385
|
-
/****************************************************************************/
|
|
27386
|
-
//#region PROPERTIES
|
|
27387
|
-
/**
|
|
27388
|
-
* Whether this sub-item represents the active/current page.
|
|
27389
|
-
*/
|
|
27390
|
-
this.active = false;
|
|
27391
|
-
}
|
|
27392
|
-
//#endregion PROPERTIES
|
|
27393
|
-
/****************************************************************************/
|
|
27394
|
-
//#region METHODS
|
|
27395
|
-
// Note: We no longer use stopPropagation() here because it prevents React Router
|
|
27396
|
-
// (and other SPA routers) from receiving the click event due to event delegation.
|
|
27397
|
-
// Instead, the parent nv-sidebarnavitem checks if clicks originate from subitems.
|
|
27398
|
-
//#endregion METHODS
|
|
27399
|
-
/****************************************************************************/
|
|
27400
|
-
//#region RENDER
|
|
27401
|
-
render() {
|
|
27402
|
-
return (h$1(Host$1, { key: '8ae8c5e2038145bd458a35d237495a06fde97294', role: "listitem", "aria-current": this.active ? 'page' : undefined }, h$1("div", { key: '559a99d72973f7af43091c5c920e77d8cad3944c', class: "nv-sidebarnavsubitem-indicator" }), h$1("div", { key: '204c7ad681d51310f43b618ef14a12d0ccc93ddc', class: "nv-sidebarnavsubitem-content" }, h$1("slot", { key: 'f4717aee216fbeac4dbfe0d98b34fe7e83476701' })), h$1("div", { key: 'b5db84c75ae4e51d8a048000a49697eaf4b20f1d', class: "nv-sidebarnavsubitem-trailing" }, h$1("slot", { key: 'b6d0afcd6b4ace60b32f531f414b70aba513a274', name: "trailing" }))));
|
|
27403
|
-
}
|
|
27404
|
-
static get style() { return NvSidebarnavsubitemStyle0; }
|
|
27405
|
-
}, [4, "nv-sidebarnavsubitem", {
|
|
27406
|
-
"active": [516]
|
|
27407
|
-
}]);
|
|
27408
|
-
function defineCustomElement$1$7() {
|
|
27409
|
-
if (typeof customElements === "undefined") {
|
|
27410
|
-
return;
|
|
27411
|
-
}
|
|
27412
|
-
const components = ["nv-sidebarnavsubitem"];
|
|
27413
|
-
components.forEach(tagName => { switch (tagName) {
|
|
27414
|
-
case "nv-sidebarnavsubitem":
|
|
27415
|
-
if (!customElements.get(tagName)) {
|
|
27416
|
-
customElements.define(tagName, NvSidebarnavsubitem$1);
|
|
27417
|
-
}
|
|
27418
|
-
break;
|
|
27419
|
-
} });
|
|
27420
|
-
}
|
|
27421
|
-
defineCustomElement$1$7();
|
|
27422
|
-
|
|
27423
|
-
const NvSidebarnavsubitem$2 = NvSidebarnavsubitem$1;
|
|
27424
|
-
const defineCustomElement$9 = defineCustomElement$1$7;
|
|
27425
|
-
|
|
27426
|
-
const nvSplitCss = "nv-split{display:flex;width:100%;height:100%;position:relative}nv-split[direction=horizontal]{flex-direction:row}nv-split[direction=vertical]{flex-direction:column}nv-split .nv-split-gutter{position:absolute;z-index:10;background:transparent;display:flex;align-items:center;justify-content:center;flex:0 0 auto;transition:background-color 0.2s ease}nv-split .nv-split-gutter::after{content:\"\";position:absolute;background:var(--nv-color-neutral-400, #ccc);border-radius:2px;transition:background-color 0.2s ease}nv-split .nv-split-gutter:hover::after{background:var(--nv-color-brand-primary, #0066cc)}nv-split .nv-split-gutter::before{content:\"\";position:absolute;background-repeat:no-repeat;background-position:center;opacity:0.4;transition:opacity 0.2s ease;pointer-events:none}nv-split .nv-split-gutter:hover::before{opacity:0.7}nv-split[direction=horizontal]>.nv-split-gutter{width:var(--nv-split-gutter-size, 24px);top:0;bottom:0;transform:translateX(-50%);cursor:col-resize}nv-split[direction=horizontal]>.nv-split-gutter::after{width:2px;height:60%;left:50%;top:20%;transform:translateX(-50%)}nv-split[direction=horizontal]>.nv-split-gutter::before{width:16px;height:16px}nv-split[direction=vertical]>.nv-split-gutter{height:var(--nv-split-gutter-size, 24px);left:0;right:0;transform:translateY(-50%);cursor:row-resize}nv-split[direction=vertical]>.nv-split-gutter::after{height:2px;width:60%;top:50%;left:20%;transform:translateY(-50%)}nv-split[direction=vertical]>.nv-split-gutter::before{width:16px;height:16px}nv-split[data-dragging=true]>.nv-split-gutter::after{background:var(--nv-color-neutral-500, #9ca3af)}nv-split>[slot=pane]{flex:1 1 auto;overflow:hidden;min-width:0;min-height:0;display:flex;flex-direction:column}nv-split>[slot=pane]>nv-split{flex:1 1 auto;width:100%;height:100%}";
|
|
27427
|
-
const NvSplitStyle0 = nvSplitCss;
|
|
27428
|
-
|
|
27429
|
-
const NvSplit$1 = /*@__PURE__*/ proxyCustomElement(class NvSplit extends H {
|
|
27430
|
-
constructor() {
|
|
27431
|
-
super();
|
|
27432
|
-
this.__registerHost();
|
|
27433
|
-
this.sizesChanged = createEvent$1(this, "sizesChanged");
|
|
27434
|
-
/****************************************************************************/
|
|
27435
|
-
//#region PROPERTIES
|
|
27436
|
-
/**
|
|
27437
|
-
* Direction of the split layout.
|
|
27438
|
-
* - `horizontal`: panes side by side
|
|
27439
|
-
* - `vertical`: panes stacked
|
|
27440
|
-
*/
|
|
27441
|
-
this.direction = 'horizontal';
|
|
27442
|
-
/**
|
|
27443
|
-
* Initial sizes of the panes in percentages.
|
|
27444
|
-
* Example: `[50, 50]` means two equal panes.
|
|
27445
|
-
* Explicitly `reflect: false` (array) for framework compatibility.
|
|
27446
|
-
*/
|
|
27447
|
-
this.sizes = [];
|
|
27448
|
-
/**
|
|
27449
|
-
* Width or height of the gutter (in px) depending on the split direction.
|
|
27450
|
-
* Default is 24px to meet WCAG 2.2 target size requirements for touch accessibility.
|
|
27451
|
-
*/
|
|
27452
|
-
this.gutterSize = 24;
|
|
27453
|
-
//#endregion
|
|
27454
|
-
/****************************************************************************/
|
|
27455
|
-
//#region STATE
|
|
27456
|
-
this.isDragging = false;
|
|
27457
|
-
this.dragIndex = -1;
|
|
27458
|
-
this.startPos = 0;
|
|
27459
|
-
this.startSizes = [];
|
|
27460
|
-
// Handlers stored to be able to detach them
|
|
27461
|
-
this.onDocMove = (ev) => this.handleMouseMove(ev);
|
|
27462
|
-
this.onDocUp = () => this.stopDragging();
|
|
27463
|
-
}
|
|
27464
|
-
//#endregion
|
|
27465
|
-
/****************************************************************************/
|
|
27466
|
-
//#region WATCHERS
|
|
27467
|
-
onSizesChanged() {
|
|
27468
|
-
// Re-apply sizes if modified from the outside
|
|
27469
|
-
this.applySizes();
|
|
27470
|
-
}
|
|
27471
|
-
onDirectionChanged() {
|
|
27472
|
-
// Update the orientation and the cursors of the gutters
|
|
27473
|
-
this.ensureGutters();
|
|
27474
|
-
this.applySizes();
|
|
27475
|
-
}
|
|
27476
|
-
//#endregion
|
|
26584
|
+
onDirectionChanged() {
|
|
26585
|
+
// Update the orientation and the cursors of the gutters
|
|
26586
|
+
this.ensureGutters();
|
|
26587
|
+
this.applySizes();
|
|
26588
|
+
}
|
|
26589
|
+
//#endregion
|
|
27477
26590
|
/****************************************************************************/
|
|
27478
26591
|
//#region LIFECYCLE
|
|
27479
26592
|
componentDidLoad() {
|
|
@@ -27744,7 +26857,7 @@ const NvSplit$1 = /*@__PURE__*/ proxyCustomElement(class NvSplit extends H {
|
|
|
27744
26857
|
/****************************************************************************/
|
|
27745
26858
|
//#region RENDER
|
|
27746
26859
|
render() {
|
|
27747
|
-
return (h$1(Host$1, { key: '
|
|
26860
|
+
return (h$1(Host$1, { key: '6b1fd4447295f209a9b0ea95b7d2a07200204504', "data-dragging": this.isDragging.toString() }, h$1("slot", { key: '67089b66457c4ad64abb80749d64ca67c881a1c0', name: "pane" }), h$1("slot", { key: '2fe9da5dd2aa2ff5b14bdd9ea99e9f0fa027931d', name: "gutter" })));
|
|
27748
26861
|
}
|
|
27749
26862
|
get el() { return this; }
|
|
27750
26863
|
static get watchers() { return {
|
|
@@ -27803,7 +26916,7 @@ const NvStack$1 = /*@__PURE__*/ proxyCustomElement(class NvStack extends H {
|
|
|
27803
26916
|
/****************************************************************************/
|
|
27804
26917
|
//#region RENDER
|
|
27805
26918
|
render() {
|
|
27806
|
-
return (h$1(Host$1, { key: '
|
|
26919
|
+
return (h$1(Host$1, { key: '65adeb492f9eb9b709c809d65b52f4447d1c938d', 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: '09773d6affbc9bf3c18e75162d9c096dd31a48e7' })));
|
|
27807
26920
|
}
|
|
27808
26921
|
static get style() { return NvStackStyle0; }
|
|
27809
26922
|
}, [4, "nv-stack", {
|
|
@@ -28064,7 +27177,7 @@ const NvTable$1 = /*@__PURE__*/ proxyCustomElement(class NvTable extends H {
|
|
|
28064
27177
|
/****************************************************************************/
|
|
28065
27178
|
//#region RENDER
|
|
28066
27179
|
render() {
|
|
28067
|
-
return (h$1(Host$1, { key: '
|
|
27180
|
+
return (h$1(Host$1, { key: '684a51e016d83eeb0ab76f07fe6d26a06bf00457' }, h$1("slot", { key: '420b9cbcb641692ed95d54ec2e0af1c0b09776c3' })));
|
|
28068
27181
|
}
|
|
28069
27182
|
get host() { return this; }
|
|
28070
27183
|
static get style() { return NvTableStyle0; }
|
|
@@ -28146,7 +27259,7 @@ const NvTableheader$1 = /*@__PURE__*/ proxyCustomElement(class NvTableheader ext
|
|
|
28146
27259
|
/****************************************************************************/
|
|
28147
27260
|
//#region RENDER
|
|
28148
27261
|
render() {
|
|
28149
|
-
return (h$1(Host$1, { key: '
|
|
27262
|
+
return (h$1(Host$1, { key: '03d7e74c19c0c1ef54f4d6f53eab0964af821f57', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, h$1("slot", { key: '7408d11ba38b59f05bcdcffcb55d11ae36f93a34' }), this.sortable && (h$1("span", { key: 'c76ddbf61861d9cd45eb7b0d8c59095947677135', class: "sort-icon-wrap", "aria-hidden": "true" }, h$1("nv-iconbutton", { key: '6d59b4b14dfe588142ccba2e1dc452754ea5a2f7', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
28150
27263
|
// prevent mousedown from selecting text
|
|
28151
27264
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
28152
27265
|
'is-none': this.sortDirection === 'none',
|
|
@@ -28171,17 +27284,17 @@ function defineCustomElement$1$3() {
|
|
|
28171
27284
|
break;
|
|
28172
27285
|
case "nv-icon":
|
|
28173
27286
|
if (!customElements.get(tagName)) {
|
|
28174
|
-
defineCustomElement$
|
|
27287
|
+
defineCustomElement$11();
|
|
28175
27288
|
}
|
|
28176
27289
|
break;
|
|
28177
27290
|
case "nv-iconbutton":
|
|
28178
27291
|
if (!customElements.get(tagName)) {
|
|
28179
|
-
defineCustomElement
|
|
27292
|
+
defineCustomElement$$();
|
|
28180
27293
|
}
|
|
28181
27294
|
break;
|
|
28182
27295
|
case "nv-loader":
|
|
28183
27296
|
if (!customElements.get(tagName)) {
|
|
28184
|
-
defineCustomElement$
|
|
27297
|
+
defineCustomElement$10();
|
|
28185
27298
|
}
|
|
28186
27299
|
break;
|
|
28187
27300
|
} });
|
|
@@ -28252,8 +27365,8 @@ const NvToggle$1 = /*@__PURE__*/ proxyCustomElement(class NvToggle extends H {
|
|
|
28252
27365
|
/****************************************************************************/
|
|
28253
27366
|
//#region RENDER
|
|
28254
27367
|
render() {
|
|
28255
|
-
return (h$1(Host$1, { key: '
|
|
28256
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
27368
|
+
return (h$1(Host$1, { key: 'c4307e84431894271a4fbe3ccd236f8b26d8d499', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h$1("div", { key: 'edb8c0ba8d92aa3864ff778a037bfb148601663a', class: "input-container" }, h$1("input", { key: 'f8be6f1936b390acdfaab0a87acea69d479e7a5a', 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: 'c9dae62cda7d33fcd3dc4e1a2fd8173295a32ed3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '365ed61ccd3ca72372998b4a3fc58d36de944f3a', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: '77ee33f84756787e0f34507da294abb9514b703d', name: "label" }, this.label))), (this.description ||
|
|
27369
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '5076c7b3cbf9f820592bb339df3251e280a9be9c', class: "description" }, h$1("slot", { key: '75f461109ac021aa51e6717ab56b1319a2b7f6ca', name: "description" }, this.description))))));
|
|
28257
27370
|
}
|
|
28258
27371
|
static get formAssociated() { return true; }
|
|
28259
27372
|
get el() { return this; }
|
|
@@ -28338,7 +27451,7 @@ const NvTogglebutton$1 = /*@__PURE__*/ proxyCustomElement(class NvTogglebutton e
|
|
|
28338
27451
|
/****************************************************************************/
|
|
28339
27452
|
//#region RENDER
|
|
28340
27453
|
render() {
|
|
28341
|
-
return (h$1(Host$1, { key: '
|
|
27454
|
+
return (h$1(Host$1, { key: 'ef2adf60f4a453ba0c5c7bd83d3fc52d5c37f5d8', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, h$1("slot", { key: '242d30a2d6f3d0cbaba1ee8cfb4abb2e607b66c4' })));
|
|
28342
27455
|
}
|
|
28343
27456
|
static get style() { return NvTogglebuttonStyle0; }
|
|
28344
27457
|
}, [4, "nv-togglebutton", {
|
|
@@ -28519,7 +27632,7 @@ const NvTogglebuttongroup$1 = /*@__PURE__*/ proxyCustomElement(class NvTogglebut
|
|
|
28519
27632
|
/****************************************************************************/
|
|
28520
27633
|
//#region RENDER
|
|
28521
27634
|
render() {
|
|
28522
|
-
return (h$1(Host$1, { key: '
|
|
27635
|
+
return (h$1(Host$1, { key: '8b42c5392c429b249ccc8be4f97fa6eccf4e2383' }, h$1("slot", { key: '78046dc23352a3fab760cc3c1b53edc47e16d48b' })));
|
|
28523
27636
|
}
|
|
28524
27637
|
get el() { return this; }
|
|
28525
27638
|
static get watchers() { return {
|
|
@@ -28558,7 +27671,7 @@ const NvTogglebuttongroup$2 = NvTogglebuttongroup$1;
|
|
|
28558
27671
|
const defineCustomElement$2 = defineCustomElement$1;
|
|
28559
27672
|
|
|
28560
27673
|
const NvTooltip$1 = NvTooltip$2;
|
|
28561
|
-
const defineCustomElement = defineCustomElement$
|
|
27674
|
+
const defineCustomElement = defineCustomElement$S;
|
|
28562
27675
|
|
|
28563
27676
|
/**
|
|
28564
27677
|
* @license
|
|
@@ -28577,14 +27690,14 @@ const NvAccordion = r({
|
|
|
28577
27690
|
elementClass: NvAccordion$2,
|
|
28578
27691
|
react: React,
|
|
28579
27692
|
events: { onOpenIndexesChanged: 'openIndexesChanged' },
|
|
28580
|
-
defineCustomElement: defineCustomElement$
|
|
27693
|
+
defineCustomElement: defineCustomElement$Y
|
|
28581
27694
|
});
|
|
28582
27695
|
const NvAccordionItem = r({
|
|
28583
27696
|
tagName: 'nv-accordion-item',
|
|
28584
27697
|
elementClass: NvAccordionItem$1,
|
|
28585
27698
|
react: React,
|
|
28586
27699
|
events: { onItemToggle: 'itemToggle' },
|
|
28587
|
-
defineCustomElement: defineCustomElement$
|
|
27700
|
+
defineCustomElement: defineCustomElement$Z
|
|
28588
27701
|
});
|
|
28589
27702
|
const NvAlert = r({
|
|
28590
27703
|
tagName: 'nv-alert',
|
|
@@ -28595,14 +27708,14 @@ const NvAlert = r({
|
|
|
28595
27708
|
onHiddenChangedComplete: 'hiddenChangedComplete',
|
|
28596
27709
|
onCloseClicked: 'closeClicked'
|
|
28597
27710
|
},
|
|
28598
|
-
defineCustomElement: defineCustomElement$
|
|
27711
|
+
defineCustomElement: defineCustomElement$X
|
|
28599
27712
|
});
|
|
28600
27713
|
const NvAvatar = r({
|
|
28601
27714
|
tagName: 'nv-avatar',
|
|
28602
27715
|
elementClass: NvAvatar$2,
|
|
28603
27716
|
react: React,
|
|
28604
27717
|
events: {},
|
|
28605
|
-
defineCustomElement: defineCustomElement$
|
|
27718
|
+
defineCustomElement: defineCustomElement$W
|
|
28606
27719
|
});
|
|
28607
27720
|
const NvBadge = r({
|
|
28608
27721
|
tagName: 'nv-badge',
|
|
@@ -28613,35 +27726,35 @@ const NvBadge = r({
|
|
|
28613
27726
|
onHiddenChanged: 'hiddenChanged',
|
|
28614
27727
|
onHiddenChangedComplete: 'hiddenChangedComplete'
|
|
28615
27728
|
},
|
|
28616
|
-
defineCustomElement: defineCustomElement$
|
|
27729
|
+
defineCustomElement: defineCustomElement$U
|
|
28617
27730
|
});
|
|
28618
27731
|
const NvBreadcrumb = r({
|
|
28619
27732
|
tagName: 'nv-breadcrumb',
|
|
28620
27733
|
elementClass: NvBreadcrumb$2,
|
|
28621
27734
|
react: React,
|
|
28622
27735
|
events: {},
|
|
28623
|
-
defineCustomElement: defineCustomElement$
|
|
27736
|
+
defineCustomElement: defineCustomElement$R
|
|
28624
27737
|
});
|
|
28625
27738
|
const NvBreadcrumbs = r({
|
|
28626
27739
|
tagName: 'nv-breadcrumbs',
|
|
28627
27740
|
elementClass: NvBreadcrumbs$2,
|
|
28628
27741
|
react: React,
|
|
28629
27742
|
events: {},
|
|
28630
|
-
defineCustomElement: defineCustomElement
|
|
27743
|
+
defineCustomElement: defineCustomElement$Q
|
|
28631
27744
|
});
|
|
28632
27745
|
const NvButton = r({
|
|
28633
27746
|
tagName: 'nv-button',
|
|
28634
27747
|
elementClass: NvButton$1,
|
|
28635
27748
|
react: React,
|
|
28636
27749
|
events: {},
|
|
28637
|
-
defineCustomElement: defineCustomElement$
|
|
27750
|
+
defineCustomElement: defineCustomElement$O
|
|
28638
27751
|
});
|
|
28639
27752
|
const NvButtongroup = r({
|
|
28640
27753
|
tagName: 'nv-buttongroup',
|
|
28641
27754
|
elementClass: NvButtongroup$2,
|
|
28642
27755
|
react: React,
|
|
28643
27756
|
events: {},
|
|
28644
|
-
defineCustomElement: defineCustomElement$
|
|
27757
|
+
defineCustomElement: defineCustomElement$N
|
|
28645
27758
|
});
|
|
28646
27759
|
const NvCalendar = r({
|
|
28647
27760
|
tagName: 'nv-calendar',
|
|
@@ -28652,14 +27765,14 @@ const NvCalendar = r({
|
|
|
28652
27765
|
onRangeDateChange: 'rangeDateChange',
|
|
28653
27766
|
onValueChanged: 'valueChanged'
|
|
28654
27767
|
},
|
|
28655
|
-
defineCustomElement: defineCustomElement$
|
|
27768
|
+
defineCustomElement: defineCustomElement$L
|
|
28656
27769
|
});
|
|
28657
27770
|
const NvCol = r({
|
|
28658
27771
|
tagName: 'nv-col',
|
|
28659
27772
|
elementClass: NvCol$2,
|
|
28660
27773
|
react: React,
|
|
28661
27774
|
events: {},
|
|
28662
|
-
defineCustomElement: defineCustomElement$
|
|
27775
|
+
defineCustomElement: defineCustomElement$K
|
|
28663
27776
|
});
|
|
28664
27777
|
const NvDatagrid = r({
|
|
28665
27778
|
tagName: 'nv-datagrid',
|
|
@@ -28670,21 +27783,21 @@ const NvDatagrid = r({
|
|
|
28670
27783
|
onSelectedRows: 'selectedRows',
|
|
28671
27784
|
onStateChanged: 'stateChanged'
|
|
28672
27785
|
},
|
|
28673
|
-
defineCustomElement: defineCustomElement$
|
|
27786
|
+
defineCustomElement: defineCustomElement$I
|
|
28674
27787
|
});
|
|
28675
27788
|
const NvDatagridcolumn = r({
|
|
28676
27789
|
tagName: 'nv-datagridcolumn',
|
|
28677
27790
|
elementClass: NvDatagridcolumn$2,
|
|
28678
27791
|
react: React,
|
|
28679
27792
|
events: {},
|
|
28680
|
-
defineCustomElement: defineCustomElement$
|
|
27793
|
+
defineCustomElement: defineCustomElement$H
|
|
28681
27794
|
});
|
|
28682
27795
|
const NvDialog = r({
|
|
28683
27796
|
tagName: 'nv-dialog',
|
|
28684
27797
|
elementClass: NvDialog$2,
|
|
28685
27798
|
react: React,
|
|
28686
27799
|
events: { onOpenChanged: 'openChanged' },
|
|
28687
|
-
defineCustomElement: defineCustomElement$
|
|
27800
|
+
defineCustomElement: defineCustomElement$E
|
|
28688
27801
|
});
|
|
28689
27802
|
const NvDialogfooter = r({
|
|
28690
27803
|
tagName: 'nv-dialogfooter',
|
|
@@ -28694,28 +27807,28 @@ const NvDialogfooter = r({
|
|
|
28694
27807
|
onDialogCanceled: 'dialogCanceled',
|
|
28695
27808
|
onDialogPrimaryClicked: 'dialogPrimaryClicked'
|
|
28696
27809
|
},
|
|
28697
|
-
defineCustomElement: defineCustomElement$
|
|
27810
|
+
defineCustomElement: defineCustomElement$D
|
|
28698
27811
|
});
|
|
28699
27812
|
const NvDialogheader = r({
|
|
28700
27813
|
tagName: 'nv-dialogheader',
|
|
28701
27814
|
elementClass: NvDialogheader$1,
|
|
28702
27815
|
react: React,
|
|
28703
27816
|
events: {},
|
|
28704
|
-
defineCustomElement: defineCustomElement$
|
|
27817
|
+
defineCustomElement: defineCustomElement$C
|
|
28705
27818
|
});
|
|
28706
27819
|
const NvFieldcheckbox = r({
|
|
28707
27820
|
tagName: 'nv-fieldcheckbox',
|
|
28708
27821
|
elementClass: NvFieldcheckbox$1,
|
|
28709
27822
|
react: React,
|
|
28710
27823
|
events: { onCheckedChanged: 'checkedChanged' },
|
|
28711
|
-
defineCustomElement: defineCustomElement$
|
|
27824
|
+
defineCustomElement: defineCustomElement$A
|
|
28712
27825
|
});
|
|
28713
27826
|
const NvFielddate = r({
|
|
28714
27827
|
tagName: 'nv-fielddate',
|
|
28715
27828
|
elementClass: NvFielddate$2,
|
|
28716
27829
|
react: React,
|
|
28717
27830
|
events: { onValueChanged: 'valueChanged' },
|
|
28718
|
-
defineCustomElement: defineCustomElement$
|
|
27831
|
+
defineCustomElement: defineCustomElement$z
|
|
28719
27832
|
});
|
|
28720
27833
|
const NvFielddaterange = r({
|
|
28721
27834
|
tagName: 'nv-fielddaterange',
|
|
@@ -28725,7 +27838,7 @@ const NvFielddaterange = r({
|
|
|
28725
27838
|
onDateRangeChange: 'dateRangeChange',
|
|
28726
27839
|
onValueChanged: 'valueChanged'
|
|
28727
27840
|
},
|
|
28728
|
-
defineCustomElement: defineCustomElement$
|
|
27841
|
+
defineCustomElement: defineCustomElement$y
|
|
28729
27842
|
});
|
|
28730
27843
|
const NvFielddropdown = r({
|
|
28731
27844
|
tagName: 'nv-fielddropdown',
|
|
@@ -28737,21 +27850,21 @@ const NvFielddropdown = r({
|
|
|
28737
27850
|
onOpenChanged: 'openChanged',
|
|
28738
27851
|
onDropdownItemSelected: 'dropdownItemSelected'
|
|
28739
27852
|
},
|
|
28740
|
-
defineCustomElement: defineCustomElement$
|
|
27853
|
+
defineCustomElement: defineCustomElement$w
|
|
28741
27854
|
});
|
|
28742
27855
|
const NvFielddropdownitem = r({
|
|
28743
27856
|
tagName: 'nv-fielddropdownitem',
|
|
28744
27857
|
elementClass: NvFielddropdownitem$1,
|
|
28745
27858
|
react: React,
|
|
28746
27859
|
events: { onDropdownItemSelected: 'dropdownItemSelected' },
|
|
28747
|
-
defineCustomElement: defineCustomElement$
|
|
27860
|
+
defineCustomElement: defineCustomElement$v
|
|
28748
27861
|
});
|
|
28749
27862
|
const NvFielddropdownitemcheck = r({
|
|
28750
27863
|
tagName: 'nv-fielddropdownitemcheck',
|
|
28751
27864
|
elementClass: NvFielddropdownitemcheck$1,
|
|
28752
27865
|
react: React,
|
|
28753
27866
|
events: { onItemChecked: 'itemChecked' },
|
|
28754
|
-
defineCustomElement: defineCustomElement$
|
|
27867
|
+
defineCustomElement: defineCustomElement$t
|
|
28755
27868
|
});
|
|
28756
27869
|
const NvFieldmultiselect = r({
|
|
28757
27870
|
tagName: 'nv-fieldmultiselect',
|
|
@@ -28761,193 +27874,123 @@ const NvFieldmultiselect = r({
|
|
|
28761
27874
|
onValueChanged: 'valueChanged',
|
|
28762
27875
|
onFilterTextChanged: 'filterTextChanged'
|
|
28763
27876
|
},
|
|
28764
|
-
defineCustomElement: defineCustomElement$
|
|
27877
|
+
defineCustomElement: defineCustomElement$s
|
|
28765
27878
|
});
|
|
28766
27879
|
const NvFieldnumber = r({
|
|
28767
27880
|
tagName: 'nv-fieldnumber',
|
|
28768
27881
|
elementClass: NvFieldnumber$1,
|
|
28769
27882
|
react: React,
|
|
28770
27883
|
events: { onValueChanged: 'valueChanged' },
|
|
28771
|
-
defineCustomElement: defineCustomElement$
|
|
27884
|
+
defineCustomElement: defineCustomElement$q
|
|
28772
27885
|
});
|
|
28773
27886
|
const NvFieldpassword = r({
|
|
28774
27887
|
tagName: 'nv-fieldpassword',
|
|
28775
27888
|
elementClass: NvFieldpassword$2,
|
|
28776
27889
|
react: React,
|
|
28777
27890
|
events: { onValueChanged: 'valueChanged' },
|
|
28778
|
-
defineCustomElement: defineCustomElement$
|
|
27891
|
+
defineCustomElement: defineCustomElement$p
|
|
28779
27892
|
});
|
|
28780
27893
|
const NvFieldradio = r({
|
|
28781
27894
|
tagName: 'nv-fieldradio',
|
|
28782
27895
|
elementClass: NvFieldradio$2,
|
|
28783
27896
|
react: React,
|
|
28784
27897
|
events: { onCheckedChanged: 'checkedChanged' },
|
|
28785
|
-
defineCustomElement: defineCustomElement$
|
|
27898
|
+
defineCustomElement: defineCustomElement$o
|
|
28786
27899
|
});
|
|
28787
27900
|
const NvFieldselect = r({
|
|
28788
27901
|
tagName: 'nv-fieldselect',
|
|
28789
27902
|
elementClass: NvFieldselect$2,
|
|
28790
27903
|
react: React,
|
|
28791
27904
|
events: { onValueChanged: 'valueChanged' },
|
|
28792
|
-
defineCustomElement: defineCustomElement$
|
|
27905
|
+
defineCustomElement: defineCustomElement$n
|
|
28793
27906
|
});
|
|
28794
27907
|
const NvFieldslider = r({
|
|
28795
27908
|
tagName: 'nv-fieldslider',
|
|
28796
27909
|
elementClass: NvFieldslider$2,
|
|
28797
27910
|
react: React,
|
|
28798
27911
|
events: { onValueChanged: 'valueChanged' },
|
|
28799
|
-
defineCustomElement: defineCustomElement$
|
|
27912
|
+
defineCustomElement: defineCustomElement$m
|
|
28800
27913
|
});
|
|
28801
27914
|
const NvFieldtext = r({
|
|
28802
27915
|
tagName: 'nv-fieldtext',
|
|
28803
27916
|
elementClass: NvFieldtext$1,
|
|
28804
27917
|
react: React,
|
|
28805
27918
|
events: { onValueChanged: 'valueChanged' },
|
|
28806
|
-
defineCustomElement: defineCustomElement$
|
|
27919
|
+
defineCustomElement: defineCustomElement$l
|
|
28807
27920
|
});
|
|
28808
27921
|
const NvFieldtextarea = r({
|
|
28809
27922
|
tagName: 'nv-fieldtextarea',
|
|
28810
27923
|
elementClass: NvFieldtextarea$2,
|
|
28811
27924
|
react: React,
|
|
28812
27925
|
events: { onValueChanged: 'valueChanged' },
|
|
28813
|
-
defineCustomElement: defineCustomElement$
|
|
27926
|
+
defineCustomElement: defineCustomElement$k
|
|
28814
27927
|
});
|
|
28815
27928
|
const NvFieldtime = r({
|
|
28816
27929
|
tagName: 'nv-fieldtime',
|
|
28817
27930
|
elementClass: NvFieldtime$2,
|
|
28818
27931
|
react: React,
|
|
28819
27932
|
events: { onValueChanged: 'valueChanged' },
|
|
28820
|
-
defineCustomElement: defineCustomElement$
|
|
27933
|
+
defineCustomElement: defineCustomElement$j
|
|
28821
27934
|
});
|
|
28822
27935
|
const NvIcon = r({
|
|
28823
27936
|
tagName: 'nv-icon',
|
|
28824
27937
|
elementClass: NvIcon$1,
|
|
28825
27938
|
react: React,
|
|
28826
27939
|
events: {},
|
|
28827
|
-
defineCustomElement: defineCustomElement$
|
|
27940
|
+
defineCustomElement: defineCustomElement$i
|
|
28828
27941
|
});
|
|
28829
27942
|
const NvIconbutton = r({
|
|
28830
27943
|
tagName: 'nv-iconbutton',
|
|
28831
27944
|
elementClass: NvIconbutton$1,
|
|
28832
27945
|
react: React,
|
|
28833
|
-
events: {},
|
|
28834
|
-
defineCustomElement: defineCustomElement$s
|
|
28835
|
-
});
|
|
28836
|
-
const NvLoader = r({
|
|
28837
|
-
tagName: 'nv-loader',
|
|
28838
|
-
elementClass: NvLoader$1,
|
|
28839
|
-
react: React,
|
|
28840
|
-
events: {},
|
|
28841
|
-
defineCustomElement: defineCustomElement$r
|
|
28842
|
-
});
|
|
28843
|
-
const NvMenu = r({
|
|
28844
|
-
tagName: 'nv-menu',
|
|
28845
|
-
elementClass: NvMenu$2,
|
|
28846
|
-
react: React,
|
|
28847
|
-
events: { onMenuitemSelected: 'menuitemSelected' },
|
|
28848
|
-
defineCustomElement: defineCustomElement$p
|
|
28849
|
-
});
|
|
28850
|
-
const NvMenuitem = r({
|
|
28851
|
-
tagName: 'nv-menuitem',
|
|
28852
|
-
elementClass: NvMenuitem$1,
|
|
28853
|
-
react: React,
|
|
28854
|
-
events: { onMenuitemSelected: 'menuitemSelected' },
|
|
28855
|
-
defineCustomElement: defineCustomElement$o
|
|
28856
|
-
});
|
|
28857
|
-
const NvNotification = r({
|
|
28858
|
-
tagName: 'nv-notification',
|
|
28859
|
-
elementClass: NvNotification$2,
|
|
28860
|
-
react: React,
|
|
28861
|
-
events: { onHiddenChanged: 'hiddenChanged' },
|
|
28862
|
-
defineCustomElement: defineCustomElement$l
|
|
28863
|
-
});
|
|
28864
|
-
const NvNotificationBullet = r({
|
|
28865
|
-
tagName: 'nv-notification-bullet',
|
|
28866
|
-
elementClass: NvNotificationBullet$1,
|
|
28867
|
-
react: React,
|
|
28868
|
-
events: {},
|
|
28869
|
-
defineCustomElement: defineCustomElement$m
|
|
28870
|
-
});
|
|
28871
|
-
const NvNotificationcontainer = r({
|
|
28872
|
-
tagName: 'nv-notificationcontainer',
|
|
28873
|
-
elementClass: NvNotificationcontainer$1,
|
|
28874
|
-
react: React,
|
|
28875
|
-
events: {},
|
|
28876
|
-
defineCustomElement: defineCustomElement$k
|
|
28877
|
-
});
|
|
28878
|
-
const NvPopover = r({
|
|
28879
|
-
tagName: 'nv-popover',
|
|
28880
|
-
elementClass: NvPopover$1,
|
|
28881
|
-
react: React,
|
|
28882
|
-
events: { onOpenChanged: 'openChanged' },
|
|
28883
|
-
defineCustomElement: defineCustomElement$j
|
|
28884
|
-
});
|
|
28885
|
-
const NvRow = r({
|
|
28886
|
-
tagName: 'nv-row',
|
|
28887
|
-
elementClass: NvRow$2,
|
|
28888
|
-
react: React,
|
|
28889
|
-
events: {},
|
|
28890
|
-
defineCustomElement: defineCustomElement$i
|
|
28891
|
-
});
|
|
28892
|
-
const NvSidebar = r({
|
|
28893
|
-
tagName: 'nv-sidebar',
|
|
28894
|
-
elementClass: NvSidebar$2,
|
|
28895
|
-
react: React,
|
|
28896
|
-
events: { onOpenChanged: 'openChanged' },
|
|
27946
|
+
events: {},
|
|
28897
27947
|
defineCustomElement: defineCustomElement$h
|
|
28898
27948
|
});
|
|
28899
|
-
const
|
|
28900
|
-
tagName: 'nv-
|
|
28901
|
-
elementClass:
|
|
27949
|
+
const NvLoader = r({
|
|
27950
|
+
tagName: 'nv-loader',
|
|
27951
|
+
elementClass: NvLoader$1,
|
|
28902
27952
|
react: React,
|
|
28903
27953
|
events: {},
|
|
28904
27954
|
defineCustomElement: defineCustomElement$g
|
|
28905
27955
|
});
|
|
28906
|
-
const
|
|
28907
|
-
tagName: 'nv-
|
|
28908
|
-
elementClass:
|
|
28909
|
-
react: React,
|
|
28910
|
-
events: {},
|
|
28911
|
-
defineCustomElement: defineCustomElement$f
|
|
28912
|
-
});
|
|
28913
|
-
const NvSidebarfooter = r({
|
|
28914
|
-
tagName: 'nv-sidebarfooter',
|
|
28915
|
-
elementClass: NvSidebarfooter$2,
|
|
27956
|
+
const NvMenu = r({
|
|
27957
|
+
tagName: 'nv-menu',
|
|
27958
|
+
elementClass: NvMenu$2,
|
|
28916
27959
|
react: React,
|
|
28917
|
-
events: {},
|
|
27960
|
+
events: { onMenuitemSelected: 'menuitemSelected' },
|
|
28918
27961
|
defineCustomElement: defineCustomElement$e
|
|
28919
27962
|
});
|
|
28920
|
-
const
|
|
28921
|
-
tagName: 'nv-
|
|
28922
|
-
elementClass:
|
|
27963
|
+
const NvMenuitem = r({
|
|
27964
|
+
tagName: 'nv-menuitem',
|
|
27965
|
+
elementClass: NvMenuitem$1,
|
|
28923
27966
|
react: React,
|
|
28924
|
-
events: {},
|
|
27967
|
+
events: { onMenuitemSelected: 'menuitemSelected' },
|
|
28925
27968
|
defineCustomElement: defineCustomElement$d
|
|
28926
27969
|
});
|
|
28927
|
-
const
|
|
28928
|
-
tagName: 'nv-
|
|
28929
|
-
elementClass:
|
|
27970
|
+
const NvNotification = r({
|
|
27971
|
+
tagName: 'nv-notification',
|
|
27972
|
+
elementClass: NvNotification$2,
|
|
28930
27973
|
react: React,
|
|
28931
|
-
events: {},
|
|
27974
|
+
events: { onHiddenChanged: 'hiddenChanged' },
|
|
28932
27975
|
defineCustomElement: defineCustomElement$c
|
|
28933
27976
|
});
|
|
28934
|
-
const
|
|
28935
|
-
tagName: 'nv-
|
|
28936
|
-
elementClass:
|
|
27977
|
+
const NvNotificationcontainer = r({
|
|
27978
|
+
tagName: 'nv-notificationcontainer',
|
|
27979
|
+
elementClass: NvNotificationcontainer$1,
|
|
28937
27980
|
react: React,
|
|
28938
27981
|
events: {},
|
|
28939
27982
|
defineCustomElement: defineCustomElement$b
|
|
28940
27983
|
});
|
|
28941
|
-
const
|
|
28942
|
-
tagName: 'nv-
|
|
28943
|
-
elementClass:
|
|
27984
|
+
const NvPopover = r({
|
|
27985
|
+
tagName: 'nv-popover',
|
|
27986
|
+
elementClass: NvPopover$1,
|
|
28944
27987
|
react: React,
|
|
28945
|
-
events: {},
|
|
27988
|
+
events: { onOpenChanged: 'openChanged' },
|
|
28946
27989
|
defineCustomElement: defineCustomElement$a
|
|
28947
27990
|
});
|
|
28948
|
-
const
|
|
28949
|
-
tagName: 'nv-
|
|
28950
|
-
elementClass:
|
|
27991
|
+
const NvRow = r({
|
|
27992
|
+
tagName: 'nv-row',
|
|
27993
|
+
elementClass: NvRow$2,
|
|
28951
27994
|
react: React,
|
|
28952
27995
|
events: {},
|
|
28953
27996
|
defineCustomElement: defineCustomElement$9
|
|
@@ -29363,223 +28406,183 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
29363
28406
|
case 'nv-accordion':
|
|
29364
28407
|
return Promise.resolve().then(function () { return require(
|
|
29365
28408
|
/* webpackMode: "lazy" */
|
|
29366
|
-
'./nv-accordion.entry-
|
|
28409
|
+
'./nv-accordion.entry-Dtsfw6He.js'); }).then(processMod, consoleError);
|
|
29367
28410
|
case 'nv-alert':
|
|
29368
28411
|
return Promise.resolve().then(function () { return require(
|
|
29369
28412
|
/* webpackMode: "lazy" */
|
|
29370
|
-
'./nv-alert.entry-
|
|
28413
|
+
'./nv-alert.entry-TIdfdU7Y.js'); }).then(processMod, consoleError);
|
|
29371
28414
|
case 'nv-avatar':
|
|
29372
28415
|
return Promise.resolve().then(function () { return require(
|
|
29373
28416
|
/* webpackMode: "lazy" */
|
|
29374
|
-
'./nv-avatar.entry-
|
|
28417
|
+
'./nv-avatar.entry-CaxrhPuw.js'); }).then(processMod, consoleError);
|
|
29375
28418
|
case 'nv-breadcrumb':
|
|
29376
28419
|
return Promise.resolve().then(function () { return require(
|
|
29377
28420
|
/* webpackMode: "lazy" */
|
|
29378
|
-
'./nv-breadcrumb.entry-
|
|
28421
|
+
'./nv-breadcrumb.entry-BCZ4MmfD.js'); }).then(processMod, consoleError);
|
|
29379
28422
|
case 'nv-breadcrumbs':
|
|
29380
28423
|
return Promise.resolve().then(function () { return require(
|
|
29381
28424
|
/* webpackMode: "lazy" */
|
|
29382
|
-
'./nv-breadcrumbs.entry-
|
|
28425
|
+
'./nv-breadcrumbs.entry-DwzCE7F6.js'); }).then(processMod, consoleError);
|
|
29383
28426
|
case 'nv-buttongroup':
|
|
29384
28427
|
return Promise.resolve().then(function () { return require(
|
|
29385
28428
|
/* webpackMode: "lazy" */
|
|
29386
|
-
'./nv-buttongroup.entry-
|
|
28429
|
+
'./nv-buttongroup.entry-CWjRoHY1.js'); }).then(processMod, consoleError);
|
|
29387
28430
|
case 'nv-col':
|
|
29388
28431
|
return Promise.resolve().then(function () { return require(
|
|
29389
28432
|
/* webpackMode: "lazy" */
|
|
29390
|
-
'./nv-col.entry-
|
|
28433
|
+
'./nv-col.entry-CJLDS3LY.js'); }).then(processMod, consoleError);
|
|
29391
28434
|
case 'nv-datagrid':
|
|
29392
28435
|
return Promise.resolve().then(function () { return require(
|
|
29393
28436
|
/* webpackMode: "lazy" */
|
|
29394
|
-
'./nv-datagrid.entry-
|
|
28437
|
+
'./nv-datagrid.entry-Cns8XSud.js'); }).then(processMod, consoleError);
|
|
29395
28438
|
case 'nv-datagridcolumn':
|
|
29396
28439
|
return Promise.resolve().then(function () { return require(
|
|
29397
28440
|
/* webpackMode: "lazy" */
|
|
29398
|
-
'./nv-datagridcolumn.entry-
|
|
28441
|
+
'./nv-datagridcolumn.entry-CFFAipHF.js'); }).then(processMod, consoleError);
|
|
29399
28442
|
case 'nv-dialog':
|
|
29400
28443
|
return Promise.resolve().then(function () { return require(
|
|
29401
28444
|
/* webpackMode: "lazy" */
|
|
29402
|
-
'./nv-dialog.entry-
|
|
28445
|
+
'./nv-dialog.entry-CDSK9pUH.js'); }).then(processMod, consoleError);
|
|
29403
28446
|
case 'nv-fielddate':
|
|
29404
28447
|
return Promise.resolve().then(function () { return require(
|
|
29405
28448
|
/* webpackMode: "lazy" */
|
|
29406
|
-
'./nv-fielddate.entry-
|
|
28449
|
+
'./nv-fielddate.entry-C3pXtMHL.js'); }).then(processMod, consoleError);
|
|
29407
28450
|
case 'nv-fielddaterange':
|
|
29408
28451
|
return Promise.resolve().then(function () { return require(
|
|
29409
28452
|
/* webpackMode: "lazy" */
|
|
29410
|
-
'./nv-fielddaterange.entry-
|
|
28453
|
+
'./nv-fielddaterange.entry-CjVVPEK_.js'); }).then(processMod, consoleError);
|
|
29411
28454
|
case 'nv-fielddropdown':
|
|
29412
28455
|
return Promise.resolve().then(function () { return require(
|
|
29413
28456
|
/* webpackMode: "lazy" */
|
|
29414
|
-
'./nv-fielddropdown.entry-
|
|
28457
|
+
'./nv-fielddropdown.entry-C9mXuNNj.js'); }).then(processMod, consoleError);
|
|
29415
28458
|
case 'nv-fieldmultiselect':
|
|
29416
28459
|
return Promise.resolve().then(function () { return require(
|
|
29417
28460
|
/* webpackMode: "lazy" */
|
|
29418
|
-
'./nv-fieldmultiselect.entry-
|
|
28461
|
+
'./nv-fieldmultiselect.entry-BMLjhqoJ.js'); }).then(processMod, consoleError);
|
|
29419
28462
|
case 'nv-fieldpassword':
|
|
29420
28463
|
return Promise.resolve().then(function () { return require(
|
|
29421
28464
|
/* webpackMode: "lazy" */
|
|
29422
|
-
'./nv-fieldpassword.entry-
|
|
28465
|
+
'./nv-fieldpassword.entry-Cim_usSM.js'); }).then(processMod, consoleError);
|
|
29423
28466
|
case 'nv-fieldradio':
|
|
29424
28467
|
return Promise.resolve().then(function () { return require(
|
|
29425
28468
|
/* webpackMode: "lazy" */
|
|
29426
|
-
'./nv-fieldradio.entry-
|
|
28469
|
+
'./nv-fieldradio.entry-X_2VT1Dj.js'); }).then(processMod, consoleError);
|
|
29427
28470
|
case 'nv-fieldselect':
|
|
29428
28471
|
return Promise.resolve().then(function () { return require(
|
|
29429
28472
|
/* webpackMode: "lazy" */
|
|
29430
|
-
'./nv-fieldselect.entry-
|
|
28473
|
+
'./nv-fieldselect.entry-pSp-2rNn.js'); }).then(processMod, consoleError);
|
|
29431
28474
|
case 'nv-fieldslider':
|
|
29432
28475
|
return Promise.resolve().then(function () { return require(
|
|
29433
28476
|
/* webpackMode: "lazy" */
|
|
29434
|
-
'./nv-fieldslider.entry-
|
|
28477
|
+
'./nv-fieldslider.entry-pZf7zzLU.js'); }).then(processMod, consoleError);
|
|
29435
28478
|
case 'nv-fieldtextarea':
|
|
29436
28479
|
return Promise.resolve().then(function () { return require(
|
|
29437
28480
|
/* webpackMode: "lazy" */
|
|
29438
|
-
'./nv-fieldtextarea.entry-
|
|
28481
|
+
'./nv-fieldtextarea.entry-t3Ixxi23.js'); }).then(processMod, consoleError);
|
|
29439
28482
|
case 'nv-fieldtime':
|
|
29440
28483
|
return Promise.resolve().then(function () { return require(
|
|
29441
28484
|
/* webpackMode: "lazy" */
|
|
29442
|
-
'./nv-fieldtime.entry-
|
|
28485
|
+
'./nv-fieldtime.entry-DY7D5_6K.js'); }).then(processMod, consoleError);
|
|
29443
28486
|
case 'nv-notification':
|
|
29444
28487
|
return Promise.resolve().then(function () { return require(
|
|
29445
28488
|
/* webpackMode: "lazy" */
|
|
29446
|
-
'./nv-notification.entry-
|
|
28489
|
+
'./nv-notification.entry-Cc3zE3yY.js'); }).then(processMod, consoleError);
|
|
29447
28490
|
case 'nv-notificationcontainer':
|
|
29448
28491
|
return Promise.resolve().then(function () { return require(
|
|
29449
28492
|
/* webpackMode: "lazy" */
|
|
29450
|
-
'./nv-notificationcontainer.entry-
|
|
28493
|
+
'./nv-notificationcontainer.entry-DV4D6oOH.js'); }).then(processMod, consoleError);
|
|
29451
28494
|
case 'nv-row':
|
|
29452
28495
|
return Promise.resolve().then(function () { return require(
|
|
29453
28496
|
/* webpackMode: "lazy" */
|
|
29454
|
-
'./nv-row.entry-
|
|
29455
|
-
case 'nv-sidebar':
|
|
29456
|
-
return Promise.resolve().then(function () { return require(
|
|
29457
|
-
/* webpackMode: "lazy" */
|
|
29458
|
-
'./nv-sidebar.entry-CjLbvLqw.js'); }).then(processMod, consoleError);
|
|
29459
|
-
case 'nv-sidebarcontent':
|
|
29460
|
-
return Promise.resolve().then(function () { return require(
|
|
29461
|
-
/* webpackMode: "lazy" */
|
|
29462
|
-
'./nv-sidebarcontent.entry-Cv76IH4W.js'); }).then(processMod, consoleError);
|
|
29463
|
-
case 'nv-sidebardivider':
|
|
29464
|
-
return Promise.resolve().then(function () { return require(
|
|
29465
|
-
/* webpackMode: "lazy" */
|
|
29466
|
-
'./nv-sidebardivider.entry-DYPJ_k73.js'); }).then(processMod, consoleError);
|
|
29467
|
-
case 'nv-sidebarfooter':
|
|
29468
|
-
return Promise.resolve().then(function () { return require(
|
|
29469
|
-
/* webpackMode: "lazy" */
|
|
29470
|
-
'./nv-sidebarfooter.entry-mGcMBRmv.js'); }).then(processMod, consoleError);
|
|
29471
|
-
case 'nv-sidebargroup':
|
|
29472
|
-
return Promise.resolve().then(function () { return require(
|
|
29473
|
-
/* webpackMode: "lazy" */
|
|
29474
|
-
'./nv-sidebargroup.entry-DtwFliHZ.js'); }).then(processMod, consoleError);
|
|
29475
|
-
case 'nv-sidebarheader':
|
|
29476
|
-
return Promise.resolve().then(function () { return require(
|
|
29477
|
-
/* webpackMode: "lazy" */
|
|
29478
|
-
'./nv-sidebarheader.entry-BdOYIXCA.js'); }).then(processMod, consoleError);
|
|
29479
|
-
case 'nv-sidebarlogo':
|
|
29480
|
-
return Promise.resolve().then(function () { return require(
|
|
29481
|
-
/* webpackMode: "lazy" */
|
|
29482
|
-
'./nv-sidebarlogo.entry-Da0kGsfw.js'); }).then(processMod, consoleError);
|
|
29483
|
-
case 'nv-sidebarnavitem':
|
|
29484
|
-
return Promise.resolve().then(function () { return require(
|
|
29485
|
-
/* webpackMode: "lazy" */
|
|
29486
|
-
'./nv-sidebarnavitem.entry-D5xLfpwn.js'); }).then(processMod, consoleError);
|
|
29487
|
-
case 'nv-sidebarnavsubitem':
|
|
29488
|
-
return Promise.resolve().then(function () { return require(
|
|
29489
|
-
/* webpackMode: "lazy" */
|
|
29490
|
-
'./nv-sidebarnavsubitem.entry-CkeJfHH4.js'); }).then(processMod, consoleError);
|
|
28497
|
+
'./nv-row.entry-UUuMSAY5.js'); }).then(processMod, consoleError);
|
|
29491
28498
|
case 'nv-split':
|
|
29492
28499
|
return Promise.resolve().then(function () { return require(
|
|
29493
28500
|
/* webpackMode: "lazy" */
|
|
29494
|
-
'./nv-split.entry-
|
|
28501
|
+
'./nv-split.entry-CYP2bTTM.js'); }).then(processMod, consoleError);
|
|
29495
28502
|
case 'nv-stack':
|
|
29496
28503
|
return Promise.resolve().then(function () { return require(
|
|
29497
28504
|
/* webpackMode: "lazy" */
|
|
29498
|
-
'./nv-stack.entry-
|
|
28505
|
+
'./nv-stack.entry-D35-75Vw.js'); }).then(processMod, consoleError);
|
|
29499
28506
|
case 'nv-table':
|
|
29500
28507
|
return Promise.resolve().then(function () { return require(
|
|
29501
28508
|
/* webpackMode: "lazy" */
|
|
29502
|
-
'./nv-table.entry-
|
|
28509
|
+
'./nv-table.entry-DevWJBnL.js'); }).then(processMod, consoleError);
|
|
29503
28510
|
case 'nv-tableheader':
|
|
29504
28511
|
return Promise.resolve().then(function () { return require(
|
|
29505
28512
|
/* webpackMode: "lazy" */
|
|
29506
|
-
'./nv-tableheader.entry-
|
|
28513
|
+
'./nv-tableheader.entry-Hs7nUSOC.js'); }).then(processMod, consoleError);
|
|
29507
28514
|
case 'nv-toggle':
|
|
29508
28515
|
return Promise.resolve().then(function () { return require(
|
|
29509
28516
|
/* webpackMode: "lazy" */
|
|
29510
|
-
'./nv-toggle.entry-
|
|
28517
|
+
'./nv-toggle.entry-Eje9d--6.js'); }).then(processMod, consoleError);
|
|
29511
28518
|
case 'nv-togglebutton':
|
|
29512
28519
|
return Promise.resolve().then(function () { return require(
|
|
29513
28520
|
/* webpackMode: "lazy" */
|
|
29514
|
-
'./nv-togglebutton.entry-
|
|
28521
|
+
'./nv-togglebutton.entry-LGI7pIeK.js'); }).then(processMod, consoleError);
|
|
29515
28522
|
case 'nv-togglebuttongroup':
|
|
29516
28523
|
return Promise.resolve().then(function () { return require(
|
|
29517
28524
|
/* webpackMode: "lazy" */
|
|
29518
|
-
'./nv-togglebuttongroup.entry-
|
|
28525
|
+
'./nv-togglebuttongroup.entry-CWN_Ucry.js'); }).then(processMod, consoleError);
|
|
29519
28526
|
case 'nv-accordion-item':
|
|
29520
28527
|
return Promise.resolve().then(function () { return require(
|
|
29521
28528
|
/* webpackMode: "lazy" */
|
|
29522
|
-
'./nv-accordion-item.entry-
|
|
28529
|
+
'./nv-accordion-item.entry-BuTvA6w9.js'); }).then(processMod, consoleError);
|
|
29523
28530
|
case 'nv-badge_2':
|
|
29524
28531
|
return Promise.resolve().then(function () { return require(
|
|
29525
28532
|
/* webpackMode: "lazy" */
|
|
29526
|
-
'./nv-badge_2.entry-
|
|
28533
|
+
'./nv-badge_2.entry-CfYvTZxX.js'); }).then(processMod, consoleError);
|
|
29527
28534
|
case 'nv-dialogfooter_2':
|
|
29528
28535
|
return Promise.resolve().then(function () { return require(
|
|
29529
28536
|
/* webpackMode: "lazy" */
|
|
29530
|
-
'./nv-dialogfooter_2.entry-
|
|
28537
|
+
'./nv-dialogfooter_2.entry-To_dGUn4.js'); }).then(processMod, consoleError);
|
|
29531
28538
|
case 'nv-fielddropdownitem':
|
|
29532
28539
|
return Promise.resolve().then(function () { return require(
|
|
29533
28540
|
/* webpackMode: "lazy" */
|
|
29534
|
-
'./nv-fielddropdownitem.entry-
|
|
28541
|
+
'./nv-fielddropdownitem.entry-Dah-PaE8.js'); }).then(processMod, consoleError);
|
|
29535
28542
|
case 'nv-fieldnumber':
|
|
29536
28543
|
return Promise.resolve().then(function () { return require(
|
|
29537
28544
|
/* webpackMode: "lazy" */
|
|
29538
|
-
'./nv-fieldnumber.entry-
|
|
28545
|
+
'./nv-fieldnumber.entry-DBdJviXu.js'); }).then(processMod, consoleError);
|
|
29539
28546
|
case 'nv-fieldtext':
|
|
29540
28547
|
return Promise.resolve().then(function () { return require(
|
|
29541
28548
|
/* webpackMode: "lazy" */
|
|
29542
|
-
'./nv-fieldtext.entry-
|
|
28549
|
+
'./nv-fieldtext.entry-DlI_ExaV.js'); }).then(processMod, consoleError);
|
|
29543
28550
|
case 'nv-menu':
|
|
29544
28551
|
return Promise.resolve().then(function () { return require(
|
|
29545
28552
|
/* webpackMode: "lazy" */
|
|
29546
|
-
'./nv-menu.entry-
|
|
28553
|
+
'./nv-menu.entry-sd0tatWq.js'); }).then(processMod, consoleError);
|
|
29547
28554
|
case 'nv-menuitem':
|
|
29548
28555
|
return Promise.resolve().then(function () { return require(
|
|
29549
28556
|
/* webpackMode: "lazy" */
|
|
29550
|
-
'./nv-menuitem.entry-
|
|
29551
|
-
case 'nv-notification-bullet':
|
|
29552
|
-
return Promise.resolve().then(function () { return require(
|
|
29553
|
-
/* webpackMode: "lazy" */
|
|
29554
|
-
'./nv-notification-bullet.entry-J8OkAZtU.js'); }).then(processMod, consoleError);
|
|
28557
|
+
'./nv-menuitem.entry-CCOqR7UF.js'); }).then(processMod, consoleError);
|
|
29555
28558
|
case 'nv-tooltip':
|
|
29556
28559
|
return Promise.resolve().then(function () { return require(
|
|
29557
28560
|
/* webpackMode: "lazy" */
|
|
29558
|
-
'./nv-tooltip.entry-
|
|
28561
|
+
'./nv-tooltip.entry-BGkKDEFg.js'); }).then(processMod, consoleError);
|
|
29559
28562
|
case 'nv-button':
|
|
29560
28563
|
return Promise.resolve().then(function () { return require(
|
|
29561
28564
|
/* webpackMode: "lazy" */
|
|
29562
|
-
'./nv-button.entry-
|
|
28565
|
+
'./nv-button.entry-Cr_86bcZ.js'); }).then(processMod, consoleError);
|
|
29563
28566
|
case 'nv-calendar':
|
|
29564
28567
|
return Promise.resolve().then(function () { return require(
|
|
29565
28568
|
/* webpackMode: "lazy" */
|
|
29566
|
-
'./nv-calendar.entry-
|
|
28569
|
+
'./nv-calendar.entry-CXfwNt6G.js'); }).then(processMod, consoleError);
|
|
29567
28570
|
case 'nv-fieldcheckbox':
|
|
29568
28571
|
return Promise.resolve().then(function () { return require(
|
|
29569
28572
|
/* webpackMode: "lazy" */
|
|
29570
|
-
'./nv-fieldcheckbox.entry-
|
|
28573
|
+
'./nv-fieldcheckbox.entry-fdonR07Z.js'); }).then(processMod, consoleError);
|
|
29571
28574
|
case 'nv-popover':
|
|
29572
28575
|
return Promise.resolve().then(function () { return require(
|
|
29573
28576
|
/* webpackMode: "lazy" */
|
|
29574
|
-
'./nv-popover.entry-
|
|
28577
|
+
'./nv-popover.entry-DQSwI2jT.js'); }).then(processMod, consoleError);
|
|
29575
28578
|
case 'nv-iconbutton_2':
|
|
29576
28579
|
return Promise.resolve().then(function () { return require(
|
|
29577
28580
|
/* webpackMode: "lazy" */
|
|
29578
|
-
'./nv-iconbutton_2.entry-
|
|
28581
|
+
'./nv-iconbutton_2.entry-ChULGovr.js'); }).then(processMod, consoleError);
|
|
29579
28582
|
case 'nv-icon':
|
|
29580
28583
|
return Promise.resolve().then(function () { return require(
|
|
29581
28584
|
/* webpackMode: "lazy" */
|
|
29582
|
-
'./nv-icon.entry-
|
|
28585
|
+
'./nv-icon.entry-6oYPSf4c.js'); }).then(processMod, consoleError);
|
|
29583
28586
|
}
|
|
29584
28587
|
}
|
|
29585
28588
|
return import(
|
|
@@ -31797,7 +30800,7 @@ const globalScripts = () => {};
|
|
|
31797
30800
|
const defineCustomElements = async (win, options) => {
|
|
31798
30801
|
if (typeof window === 'undefined') return undefined;
|
|
31799
30802
|
await globalScripts();
|
|
31800
|
-
return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"label\":[513],\"inputId\":[513,\"input-id\"],\"name\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"open\":[1540],\"fluid\":[516],\"options\":[1040],\"value\":[1040],\"filterable\":[516],\"emptyResult\":[513,\"empty-result\"],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"badgeLabel\":[513,\"badge-label\"],\"filterText\":[1537,\"filter-text\"],\"enableSelectAll\":[516,\"enable-select-all\"],\"selectAllLabel\":[513,\"select-all-label\"],\"deselectAllLabel\":[513,\"deselect-all-label\"],\"sortedOptions\":[32],\"isHandlingEscape\":[32],\"hasFilterResults\":[32],\"isSelectAllSectionVisible\":[32],\"getFilterText\":[64],\"resetFilter\":[64],\"getSelectedValues\":[64],\"selectAll\":[64],\"deselectAll\":[64],\"toggleSelectAll\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"itemChecked\",\"handleItemChecked\"],[0,\"slotchange\",\"handleSlotChange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"],\"open\":[\"handleOpenChange\"]}]]],[\"nv-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"autofocus\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"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\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"singleValue\":[32],\"open\":[32],\"clear\":[64]},[[0,\"singleDateChange\",\"handleSingleDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[4,\"click\",\"handleDocumentClick\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"handleOpenChange\"]}]]],[\"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],\"autofocus\":[516],\"value\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"startValue\":[32],\"endValue\":[32],\"open\":[32],\"clear\":[64]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"valueChanged\",\"handleCalendarValueChanged\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"singleDateChange\",\"handleDateReset\"],[0,\"rangeDateChange\",\"handleDateReset\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"onOpenChanged\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"openOnSelect\":[516,\"open-on-select\"],\"controlledFilter\":[516,\"controlled-filter\"],\"options\":[16],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"fluid\":[516],\"filterText\":[32],\"selectedValues\":[32],\"open\":[32],\"clearFilter\":[64],\"toggleDropdown\":[64]},[[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[3,\"focus\",\"handleFocus\"],[3,\"focusout\",\"handleFocusOut\"],[0,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"]],{\"open\":[\"handleOpenChange\"],\"value\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-accordion\",[[4,\"nv-accordion\",{\"data\":[16],\"mode\":[513],\"openIndexes\":[1040],\"updatingFromInternal\":[32],\"open\":[64],\"close\":[64]},[[0,\"itemToggle\",\"onItemToggle\"]],{\"openIndexes\":[\"onOpenIndexesChange\"],\"mode\":[\"onModeChange\"]}]]],[\"nv-fieldslider\",[[68,\"nv-fieldslider\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"hasField\":[516,\"has-field\"],\"range\":[516],\"disabled\":[516],\"readonly\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"value\":[1040],\"step\":[514],\"snap\":[516],\"snapTicks\":[516,\"snap-ticks\"],\"name\":[513],\"endName\":[513,\"end-name\"],\"min\":[514],\"max\":[514],\"showTicks\":[516,\"show-ticks\"],\"ticks\":[16],\"fluid\":[516],\"labelBeforeValue\":[513,\"label-before-value\"],\"labelAfterValue\":[513,\"label-after-value\"],\"isDragging\":[32],\"activeDragThumb\":[32],\"internalTicks\":[32],\"rawPosition\":[32],\"rawRangePosition\":[32],\"valueInternal\":[32],\"rangeValueInternal\":[32]},null,{\"value\":[\"onValueChange\"],\"min\":[\"onConfigChange\"],\"max\":[\"onConfigChange\"],\"step\":[\"onConfigChange\"],\"ticks\":[\"onConfigChange\"],\"showTicks\":[\"onConfigChange\"],\"snap\":[\"onConfigChange\"],\"snapTicks\":[\"onConfigChange\"],\"range\":[\"onRangeChange\"]}]]],[\"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\"],\"open\":[\"handleOpenChange\"],\"format\":[\"handleFormatChange\"]}]]],[\"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],\"fluid\":[516],\"showPasswordState\":[32]},null,{\"showPassword\":[\"handleShowPasswordChange\"]}]]],[\"nv-fieldselect\",[[68,\"nv-fieldselect\",{\"message\":[513],\"validation\":[513],\"options\":[16],\"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],\"fluid\":[516],\"computedDisplayValue\":[32],\"internalReadonly\":[32]},null,{\"value\":[\"updateDisplayValueWatcher\"],\"displayValue\":[\"handleDisplayValueChange\"],\"readonly\":[\"handleReadonlyChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-tableheader\",[[4,\"nv-tableheader\",{\"sortable\":[516],\"sortDirection\":[1537,\"sort-direction\"]}]]],[\"nv-breadcrumb\",[[4,\"nv-breadcrumb\",{\"type\":[513],\"tooltip\":[513],\"current\":[516]}]]],[\"nv-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"globalFilterPosition\":[513,\"global-filter-position\"],\"enablePagination\":[516,\"enable-pagination\"],\"pageSize\":[514,\"page-size\"],\"pageSizes\":[16],\"enableSorting\":[516,\"enable-sorting\"],\"enableRowSelection\":[516,\"enable-row-selection\"],\"state\":[16],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilterSearchTerm\":[32],\"columnData\":[32],\"paginationState\":[32],\"sortingState\":[32],\"rowSelectionState\":[32]},null,{\"columns\":[\"parseColumns\"],\"data\":[\"parseData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilterSearchTerm\":[\"handleGlobalFilterSearchTerm\",\"handleInternalStateChange\"],\"paginationState\":[\"handlePaginationState\",\"handleInternalStateChange\"],\"sortingState\":[\"handleSortingState\",\"handleInternalStateChange\"],\"pageSize\":[\"handlePageSize\"],\"rowSelectionState\":[\"handleRowSelectionState\"],\"state\":[\"handleStateChange\"]}]]],[\"nv-sidebarnavitem\",[[4,\"nv-sidebarnavitem\",{\"icon\":[513],\"active\":[1540],\"collapsible\":[516],\"open\":[1540],\"notificationCount\":[514,\"notification-count\"],\"hasSubitems\":[32],\"isSidebarCollapsed\":[32]},null,{\"open\":[\"onOpenChanged\"]}]]],[\"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-notification\",[[4,\"nv-notification\",{\"uid\":[513],\"feedback\":[513],\"emphasis\":[513],\"heading\":[513],\"message\":[513],\"icon\":[513],\"dismissible\":[516],\"hidden\":[1540],\"initiallyHidden\":[516,\"initially-hidden\"],\"dismiss\":[64],\"show\":[64]}]]],[\"nv-sidebar\",[[4,\"nv-sidebar\",{\"type\":[513],\"open\":[1540],\"activePath\":[513,\"active-path\"],\"notificationIntention\":[513,\"notification-intention\"],\"notificationEmphasis\":[513,\"notification-emphasis\"]},null,{\"activePath\":[\"onActivePathChanged\"],\"open\":[\"onOpenChanged\"]}]]],[\"nv-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-buttongroup\",[[4,\"nv-buttongroup\",{\"size\":[513],\"emphasis\":[513],\"fluid\":[516],\"orientation\":[513]},null,{\"emphasis\":[\"onEmphasisChange\"],\"size\":[\"onSizeChange\"],\"fluid\":[\"onFluidChange\"]}]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513],\"repeatTemplate\":[516,\"repeat-template\"],\"group\":[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],\"fluid\":[516]},null,{\"rows\":[\"rowsChanged\"],\"autosize\":[\"autosizeChanged\"],\"value\":[\"handleValueChange\"]}]]],[\"nv-notificationcontainer\",[[4,\"nv-notificationcontainer\",{\"position\":[513]}]]],[\"nv-row\",[[4,\"nv-row\"]]],[\"nv-sidebarcontent\",[[4,\"nv-sidebarcontent\"]]],[\"nv-sidebardivider\",[[0,\"nv-sidebardivider\"]]],[\"nv-sidebarfooter\",[[4,\"nv-sidebarfooter\"]]],[\"nv-sidebargroup\",[[4,\"nv-sidebargroup\",{\"label\":[513]}]]],[\"nv-sidebarheader\",[[4,\"nv-sidebarheader\"]]],[\"nv-sidebarlogo\",[[0,\"nv-sidebarlogo\",{\"label\":[513],\"logo\":[513],\"collapsedLogo\":[513,\"collapsed-logo\"]}]]],[\"nv-sidebarnavsubitem\",[[4,\"nv-sidebarnavsubitem\",{\"active\":[516]}]]],[\"nv-split\",[[4,\"nv-split\",{\"direction\":[513],\"sizes\":[1040],\"minSizes\":[16],\"gutterSize\":[514,\"gutter-size\"],\"isDragging\":[32],\"setSizes\":[64],\"getSizes\":[64],\"collapse\":[64],\"destroy\":[64]},null,{\"sizes\":[\"onSizesChanged\"],\"direction\":[\"onDirectionChanged\"]}]]],[\"nv-stack\",[[4,\"nv-stack\",{\"gutter\":[514],\"fill\":[516],\"flex\":[516],\"full\":[516],\"vertical\":[516]}]]],[\"nv-table\",[[4,\"nv-table\",null,[[1,\"pointerdown\",\"onPointerDown\"],[9,\"pointermove\",\"onPointerMove\"],[9,\"pointerup\",\"onPointerUp\"],[9,\"pointercancel\",\"onPointerUp\"]]]]],[\"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-togglebutton\",[[4,\"nv-togglebutton\",{\"size\":[513],\"value\":[513],\"disabled\":[516],\"active\":[516],\"emphasis\":[513]}]]],[\"nv-togglebuttongroup\",[[4,\"nv-togglebuttongroup\",{\"value\":[1040],\"exclusive\":[516],\"enforceValue\":[516,\"enforce-value\"],\"emphasis\":[513],\"size\":[513]},[[0,\"toggled\",\"onToggled\"]],{\"value\":[\"onValueChanged\"],\"emphasis\":[\"onEmphasisChanged\"],\"size\":[\"onSizeChanged\"]}]]],[\"nv-popover\",[[4,\"nv-popover\",{\"triggerElement\":[1040],\"open\":[1540],\"triggerMode\":[513,\"trigger-mode\"],\"placement\":[513],\"strategy\":[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\"],\"strategy\":[\"handleStrategyChange\"]}]]],[\"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\"]],{\"open\":[\"handleOpenChange\"]}]]],[\"nv-accordion-item\",[[4,\"nv-accordion-item\",{\"itemTitle\":[513,\"item-title\"],\"subtitle\":[513],\"open\":[1540],\"disabled\":[516],\"maxContentHeight\":[514,\"max-content-height\"],\"mode\":[513],\"currentOpenState\":[32],\"isInitialized\":[32],\"isAnimating\":[32],\"toggle\":[64]},null,{\"open\":[\"onOpenChanged\"]}]]],[\"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],\"fluid\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513],\"detached\":[516]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"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],\"fluid\":[516]}]]],[\"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\"],\"strategy\":[513]}]]],[\"nv-notification-bullet\",[[0,\"nv-notification-bullet\",{\"count\":[514],\"intention\":[513],\"emphasis\":[513],\"size\":[513],\"contrastingBorder\":[516,\"contrasting-border\"]}]]],[\"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\":[1537,\"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\"],\"isIconOnly\":[516,\"is-icon-only\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[4,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-button\",[[68,\"nv-button\",{\"size\":[513],\"emphasis\":[513],\"active\":[516],\"danger\":[516],\"loading\":[1540],\"disabled\":[1540],\"fluid\":[516],\"type\":[513],\"form\":[513],\"disableTabindex\":[516,\"disable-tabindex\"]},[[0,\"keydown\",\"handleKeyDown\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"value\":[1537],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1040],\"min\":[513],\"max\":[513],\"disabledDates\":[16],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"hoverDate\":[32],\"months\":[32],\"clear\":[64]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"],\"value\":[\"onValueChange\"]}]]],[\"nv-iconbutton_2\",[[68,\"nv-iconbutton\",{\"size\":[513],\"emphasis\":[513],\"loading\":[1540],\"disabled\":[1540],\"active\":[516],\"name\":[513],\"type\":[513],\"shape\":[513],\"disableTabindex\":[516,\"disable-tabindex\"]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}],[0,\"nv-loader\",{\"size\":[513],\"color\":[513]}]]]]"), options);
|
|
30803
|
+
return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"label\":[513],\"inputId\":[513,\"input-id\"],\"name\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"open\":[1540],\"fluid\":[516],\"options\":[1040],\"value\":[1040],\"filterable\":[516],\"emptyResult\":[513,\"empty-result\"],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"badgeLabel\":[513,\"badge-label\"],\"filterText\":[1537,\"filter-text\"],\"enableSelectAll\":[516,\"enable-select-all\"],\"selectAllLabel\":[513,\"select-all-label\"],\"deselectAllLabel\":[513,\"deselect-all-label\"],\"sortedOptions\":[32],\"isHandlingEscape\":[32],\"hasFilterResults\":[32],\"isSelectAllSectionVisible\":[32],\"getFilterText\":[64],\"resetFilter\":[64],\"getSelectedValues\":[64],\"selectAll\":[64],\"deselectAll\":[64],\"toggleSelectAll\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"itemChecked\",\"handleItemChecked\"],[0,\"slotchange\",\"handleSlotChange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"],\"open\":[\"handleOpenChange\"]}]]],[\"nv-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"autofocus\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"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\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"singleValue\":[32],\"open\":[32],\"clear\":[64]},[[0,\"singleDateChange\",\"handleSingleDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[4,\"click\",\"handleDocumentClick\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"handleOpenChange\"]}]]],[\"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],\"autofocus\":[516],\"value\":[1537],\"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\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"startValue\":[32],\"endValue\":[32],\"open\":[32],\"clear\":[64]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"valueChanged\",\"handleCalendarValueChanged\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"singleDateChange\",\"handleDateReset\"],[0,\"rangeDateChange\",\"handleDateReset\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"onOpenChanged\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"openOnSelect\":[516,\"open-on-select\"],\"controlledFilter\":[516,\"controlled-filter\"],\"options\":[16],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"fluid\":[516],\"filterText\":[32],\"selectedValues\":[32],\"open\":[32],\"clearFilter\":[64],\"toggleDropdown\":[64]},[[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[3,\"focus\",\"handleFocus\"],[3,\"focusout\",\"handleFocusOut\"],[0,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"]],{\"open\":[\"handleOpenChange\"],\"value\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-accordion\",[[4,\"nv-accordion\",{\"data\":[16],\"mode\":[513],\"openIndexes\":[1040],\"updatingFromInternal\":[32],\"open\":[64],\"close\":[64]},[[0,\"itemToggle\",\"onItemToggle\"]],{\"openIndexes\":[\"onOpenIndexesChange\"],\"mode\":[\"onModeChange\"]}]]],[\"nv-fieldslider\",[[68,\"nv-fieldslider\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"hasField\":[516,\"has-field\"],\"range\":[516],\"disabled\":[516],\"readonly\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"value\":[1040],\"step\":[514],\"snap\":[516],\"snapTicks\":[516,\"snap-ticks\"],\"name\":[513],\"endName\":[513,\"end-name\"],\"min\":[514],\"max\":[514],\"showTicks\":[516,\"show-ticks\"],\"ticks\":[16],\"fluid\":[516],\"labelBeforeValue\":[513,\"label-before-value\"],\"labelAfterValue\":[513,\"label-after-value\"],\"isDragging\":[32],\"activeDragThumb\":[32],\"internalTicks\":[32],\"rawPosition\":[32],\"rawRangePosition\":[32],\"valueInternal\":[32],\"rangeValueInternal\":[32]},null,{\"value\":[\"onValueChange\"],\"min\":[\"onConfigChange\"],\"max\":[\"onConfigChange\"],\"step\":[\"onConfigChange\"],\"ticks\":[\"onConfigChange\"],\"showTicks\":[\"onConfigChange\"],\"snap\":[\"onConfigChange\"],\"snapTicks\":[\"onConfigChange\"],\"range\":[\"onRangeChange\"]}]]],[\"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\"],\"open\":[\"handleOpenChange\"],\"format\":[\"handleFormatChange\"]}]]],[\"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],\"fluid\":[516],\"showPasswordState\":[32]},null,{\"showPassword\":[\"handleShowPasswordChange\"]}]]],[\"nv-fieldselect\",[[68,\"nv-fieldselect\",{\"message\":[513],\"validation\":[513],\"options\":[16],\"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],\"fluid\":[516],\"computedDisplayValue\":[32],\"internalReadonly\":[32]},null,{\"value\":[\"updateDisplayValueWatcher\"],\"displayValue\":[\"handleDisplayValueChange\"],\"readonly\":[\"handleReadonlyChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-tableheader\",[[4,\"nv-tableheader\",{\"sortable\":[516],\"sortDirection\":[1537,\"sort-direction\"]}]]],[\"nv-breadcrumb\",[[4,\"nv-breadcrumb\",{\"type\":[513],\"tooltip\":[513],\"current\":[516]}]]],[\"nv-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"globalFilterPosition\":[513,\"global-filter-position\"],\"enablePagination\":[516,\"enable-pagination\"],\"pageSize\":[514,\"page-size\"],\"pageSizes\":[16],\"enableSorting\":[516,\"enable-sorting\"],\"enableRowSelection\":[516,\"enable-row-selection\"],\"state\":[16],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilterSearchTerm\":[32],\"columnData\":[32],\"paginationState\":[32],\"sortingState\":[32],\"rowSelectionState\":[32]},null,{\"columns\":[\"parseColumns\"],\"data\":[\"parseData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilterSearchTerm\":[\"handleGlobalFilterSearchTerm\",\"handleInternalStateChange\"],\"paginationState\":[\"handlePaginationState\",\"handleInternalStateChange\"],\"sortingState\":[\"handleSortingState\",\"handleInternalStateChange\"],\"pageSize\":[\"handlePageSize\"],\"rowSelectionState\":[\"handleRowSelectionState\"],\"state\":[\"handleStateChange\"]}]]],[\"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-notification\",[[4,\"nv-notification\",{\"uid\":[513],\"feedback\":[513],\"emphasis\":[513],\"heading\":[513],\"message\":[513],\"icon\":[513],\"dismissible\":[516],\"hidden\":[1540],\"initiallyHidden\":[516,\"initially-hidden\"],\"dismiss\":[64],\"show\":[64]}]]],[\"nv-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-buttongroup\",[[4,\"nv-buttongroup\",{\"size\":[513],\"emphasis\":[513],\"fluid\":[516],\"orientation\":[513]},null,{\"emphasis\":[\"onEmphasisChange\"],\"size\":[\"onSizeChange\"],\"fluid\":[\"onFluidChange\"]}]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513],\"repeatTemplate\":[516,\"repeat-template\"],\"group\":[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],\"fluid\":[516]},null,{\"rows\":[\"rowsChanged\"],\"autosize\":[\"autosizeChanged\"],\"value\":[\"handleValueChange\"]}]]],[\"nv-notificationcontainer\",[[4,\"nv-notificationcontainer\",{\"position\":[513]}]]],[\"nv-row\",[[4,\"nv-row\"]]],[\"nv-split\",[[4,\"nv-split\",{\"direction\":[513],\"sizes\":[1040],\"minSizes\":[16],\"gutterSize\":[514,\"gutter-size\"],\"isDragging\":[32],\"setSizes\":[64],\"getSizes\":[64],\"collapse\":[64],\"destroy\":[64]},null,{\"sizes\":[\"onSizesChanged\"],\"direction\":[\"onDirectionChanged\"]}]]],[\"nv-stack\",[[4,\"nv-stack\",{\"gutter\":[514],\"fill\":[516],\"flex\":[516],\"full\":[516],\"vertical\":[516]}]]],[\"nv-table\",[[4,\"nv-table\",null,[[1,\"pointerdown\",\"onPointerDown\"],[9,\"pointermove\",\"onPointerMove\"],[9,\"pointerup\",\"onPointerUp\"],[9,\"pointercancel\",\"onPointerUp\"]]]]],[\"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-togglebutton\",[[4,\"nv-togglebutton\",{\"size\":[513],\"value\":[513],\"disabled\":[516],\"active\":[516],\"emphasis\":[513]}]]],[\"nv-togglebuttongroup\",[[4,\"nv-togglebuttongroup\",{\"value\":[1040],\"exclusive\":[516],\"enforceValue\":[516,\"enforce-value\"],\"emphasis\":[513],\"size\":[513]},[[0,\"toggled\",\"onToggled\"]],{\"value\":[\"onValueChanged\"],\"emphasis\":[\"onEmphasisChanged\"],\"size\":[\"onSizeChanged\"]}]]],[\"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\"]],{\"open\":[\"handleOpenChange\"]}]]],[\"nv-iconbutton_2\",[[68,\"nv-iconbutton\",{\"size\":[513],\"emphasis\":[513],\"loading\":[1540],\"disabled\":[1540],\"active\":[516],\"name\":[513],\"type\":[513],\"shape\":[513],\"disableTabindex\":[516,\"disable-tabindex\"]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}],[0,\"nv-loader\",{\"size\":[513],\"color\":[513]}]]],[\"nv-accordion-item\",[[4,\"nv-accordion-item\",{\"itemTitle\":[513,\"item-title\"],\"subtitle\":[513],\"open\":[1540],\"disabled\":[516],\"maxContentHeight\":[514,\"max-content-height\"],\"mode\":[513],\"currentOpenState\":[32],\"isInitialized\":[32],\"isAnimating\":[32],\"toggle\":[64]},null,{\"open\":[\"onOpenChanged\"]}]]],[\"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],\"fluid\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513],\"detached\":[516]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"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],\"fluid\":[516]}]]],[\"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\"],\"strategy\":[513]}]]],[\"nv-button\",[[68,\"nv-button\",{\"size\":[513],\"emphasis\":[513],\"active\":[516],\"danger\":[516],\"loading\":[1540],\"disabled\":[1540],\"fluid\":[516],\"type\":[513],\"form\":[513],\"disableTabindex\":[516,\"disable-tabindex\"]},[[0,\"keydown\",\"handleKeyDown\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"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\":[1537,\"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\"],\"isIconOnly\":[516,\"is-icon-only\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[4,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"value\":[1537],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1040],\"min\":[513],\"max\":[513],\"disabledDates\":[16],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"hoverDate\":[32],\"months\":[32],\"clear\":[64]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"],\"value\":[\"onValueChange\"]}]]],[\"nv-popover\",[[4,\"nv-popover\",{\"triggerElement\":[1040],\"open\":[1540],\"triggerMode\":[513,\"trigger-mode\"],\"placement\":[513],\"strategy\":[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\"],\"strategy\":[\"handleStrategyChange\"]}]]]]"), options);
|
|
31801
30804
|
};
|
|
31802
30805
|
|
|
31803
30806
|
(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);}})();
|
|
@@ -34866,6 +33869,195 @@ function expandRows(rowModel) {
|
|
|
34866
33869
|
};
|
|
34867
33870
|
}
|
|
34868
33871
|
|
|
33872
|
+
function filterRows(rows, filterRowImpl, table) {
|
|
33873
|
+
if (table.options.filterFromLeafRows) {
|
|
33874
|
+
return filterRowModelFromLeafs(rows, filterRowImpl, table);
|
|
33875
|
+
}
|
|
33876
|
+
return filterRowModelFromRoot(rows, filterRowImpl, table);
|
|
33877
|
+
}
|
|
33878
|
+
function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
33879
|
+
var _table$options$maxLea;
|
|
33880
|
+
const newFilteredFlatRows = [];
|
|
33881
|
+
const newFilteredRowsById = {};
|
|
33882
|
+
const maxDepth = (_table$options$maxLea = table.options.maxLeafRowFilterDepth) != null ? _table$options$maxLea : 100;
|
|
33883
|
+
const recurseFilterRows = function (rowsToFilter, depth) {
|
|
33884
|
+
if (depth === void 0) {
|
|
33885
|
+
depth = 0;
|
|
33886
|
+
}
|
|
33887
|
+
const rows = [];
|
|
33888
|
+
|
|
33889
|
+
// Filter from children up first
|
|
33890
|
+
for (let i = 0; i < rowsToFilter.length; i++) {
|
|
33891
|
+
var _row$subRows;
|
|
33892
|
+
let row = rowsToFilter[i];
|
|
33893
|
+
const newRow = createRow(table, row.id, row.original, row.index, row.depth, undefined, row.parentId);
|
|
33894
|
+
newRow.columnFilters = row.columnFilters;
|
|
33895
|
+
if ((_row$subRows = row.subRows) != null && _row$subRows.length && depth < maxDepth) {
|
|
33896
|
+
newRow.subRows = recurseFilterRows(row.subRows, depth + 1);
|
|
33897
|
+
row = newRow;
|
|
33898
|
+
if (filterRow(row) && !newRow.subRows.length) {
|
|
33899
|
+
rows.push(row);
|
|
33900
|
+
newFilteredRowsById[row.id] = row;
|
|
33901
|
+
newFilteredFlatRows.push(row);
|
|
33902
|
+
continue;
|
|
33903
|
+
}
|
|
33904
|
+
if (filterRow(row) || newRow.subRows.length) {
|
|
33905
|
+
rows.push(row);
|
|
33906
|
+
newFilteredRowsById[row.id] = row;
|
|
33907
|
+
newFilteredFlatRows.push(row);
|
|
33908
|
+
continue;
|
|
33909
|
+
}
|
|
33910
|
+
} else {
|
|
33911
|
+
row = newRow;
|
|
33912
|
+
if (filterRow(row)) {
|
|
33913
|
+
rows.push(row);
|
|
33914
|
+
newFilteredRowsById[row.id] = row;
|
|
33915
|
+
newFilteredFlatRows.push(row);
|
|
33916
|
+
}
|
|
33917
|
+
}
|
|
33918
|
+
}
|
|
33919
|
+
return rows;
|
|
33920
|
+
};
|
|
33921
|
+
return {
|
|
33922
|
+
rows: recurseFilterRows(rowsToFilter),
|
|
33923
|
+
flatRows: newFilteredFlatRows,
|
|
33924
|
+
rowsById: newFilteredRowsById
|
|
33925
|
+
};
|
|
33926
|
+
}
|
|
33927
|
+
function filterRowModelFromRoot(rowsToFilter, filterRow, table) {
|
|
33928
|
+
var _table$options$maxLea2;
|
|
33929
|
+
const newFilteredFlatRows = [];
|
|
33930
|
+
const newFilteredRowsById = {};
|
|
33931
|
+
const maxDepth = (_table$options$maxLea2 = table.options.maxLeafRowFilterDepth) != null ? _table$options$maxLea2 : 100;
|
|
33932
|
+
|
|
33933
|
+
// Filters top level and nested rows
|
|
33934
|
+
const recurseFilterRows = function (rowsToFilter, depth) {
|
|
33935
|
+
if (depth === void 0) {
|
|
33936
|
+
depth = 0;
|
|
33937
|
+
}
|
|
33938
|
+
// Filter from parents downward first
|
|
33939
|
+
|
|
33940
|
+
const rows = [];
|
|
33941
|
+
|
|
33942
|
+
// Apply the filter to any subRows
|
|
33943
|
+
for (let i = 0; i < rowsToFilter.length; i++) {
|
|
33944
|
+
let row = rowsToFilter[i];
|
|
33945
|
+
const pass = filterRow(row);
|
|
33946
|
+
if (pass) {
|
|
33947
|
+
var _row$subRows2;
|
|
33948
|
+
if ((_row$subRows2 = row.subRows) != null && _row$subRows2.length && depth < maxDepth) {
|
|
33949
|
+
const newRow = createRow(table, row.id, row.original, row.index, row.depth, undefined, row.parentId);
|
|
33950
|
+
newRow.subRows = recurseFilterRows(row.subRows, depth + 1);
|
|
33951
|
+
row = newRow;
|
|
33952
|
+
}
|
|
33953
|
+
rows.push(row);
|
|
33954
|
+
newFilteredFlatRows.push(row);
|
|
33955
|
+
newFilteredRowsById[row.id] = row;
|
|
33956
|
+
}
|
|
33957
|
+
}
|
|
33958
|
+
return rows;
|
|
33959
|
+
};
|
|
33960
|
+
return {
|
|
33961
|
+
rows: recurseFilterRows(rowsToFilter),
|
|
33962
|
+
flatRows: newFilteredFlatRows,
|
|
33963
|
+
rowsById: newFilteredRowsById
|
|
33964
|
+
};
|
|
33965
|
+
}
|
|
33966
|
+
|
|
33967
|
+
function getFilteredRowModel() {
|
|
33968
|
+
return table => memo(() => [table.getPreFilteredRowModel(), table.getState().columnFilters, table.getState().globalFilter], (rowModel, columnFilters, globalFilter) => {
|
|
33969
|
+
if (!rowModel.rows.length || !(columnFilters != null && columnFilters.length) && !globalFilter) {
|
|
33970
|
+
for (let i = 0; i < rowModel.flatRows.length; i++) {
|
|
33971
|
+
rowModel.flatRows[i].columnFilters = {};
|
|
33972
|
+
rowModel.flatRows[i].columnFiltersMeta = {};
|
|
33973
|
+
}
|
|
33974
|
+
return rowModel;
|
|
33975
|
+
}
|
|
33976
|
+
const resolvedColumnFilters = [];
|
|
33977
|
+
const resolvedGlobalFilters = [];
|
|
33978
|
+
(columnFilters != null ? columnFilters : []).forEach(d => {
|
|
33979
|
+
var _filterFn$resolveFilt;
|
|
33980
|
+
const column = table.getColumn(d.id);
|
|
33981
|
+
if (!column) {
|
|
33982
|
+
return;
|
|
33983
|
+
}
|
|
33984
|
+
const filterFn = column.getFilterFn();
|
|
33985
|
+
if (!filterFn) {
|
|
33986
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
33987
|
+
console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${column.id}.`);
|
|
33988
|
+
}
|
|
33989
|
+
return;
|
|
33990
|
+
}
|
|
33991
|
+
resolvedColumnFilters.push({
|
|
33992
|
+
id: d.id,
|
|
33993
|
+
filterFn,
|
|
33994
|
+
resolvedValue: (_filterFn$resolveFilt = filterFn.resolveFilterValue == null ? void 0 : filterFn.resolveFilterValue(d.value)) != null ? _filterFn$resolveFilt : d.value
|
|
33995
|
+
});
|
|
33996
|
+
});
|
|
33997
|
+
const filterableIds = (columnFilters != null ? columnFilters : []).map(d => d.id);
|
|
33998
|
+
const globalFilterFn = table.getGlobalFilterFn();
|
|
33999
|
+
const globallyFilterableColumns = table.getAllLeafColumns().filter(column => column.getCanGlobalFilter());
|
|
34000
|
+
if (globalFilter && globalFilterFn && globallyFilterableColumns.length) {
|
|
34001
|
+
filterableIds.push('__global__');
|
|
34002
|
+
globallyFilterableColumns.forEach(column => {
|
|
34003
|
+
var _globalFilterFn$resol;
|
|
34004
|
+
resolvedGlobalFilters.push({
|
|
34005
|
+
id: column.id,
|
|
34006
|
+
filterFn: globalFilterFn,
|
|
34007
|
+
resolvedValue: (_globalFilterFn$resol = globalFilterFn.resolveFilterValue == null ? void 0 : globalFilterFn.resolveFilterValue(globalFilter)) != null ? _globalFilterFn$resol : globalFilter
|
|
34008
|
+
});
|
|
34009
|
+
});
|
|
34010
|
+
}
|
|
34011
|
+
let currentColumnFilter;
|
|
34012
|
+
let currentGlobalFilter;
|
|
34013
|
+
|
|
34014
|
+
// Flag the prefiltered row model with each filter state
|
|
34015
|
+
for (let j = 0; j < rowModel.flatRows.length; j++) {
|
|
34016
|
+
const row = rowModel.flatRows[j];
|
|
34017
|
+
row.columnFilters = {};
|
|
34018
|
+
if (resolvedColumnFilters.length) {
|
|
34019
|
+
for (let i = 0; i < resolvedColumnFilters.length; i++) {
|
|
34020
|
+
currentColumnFilter = resolvedColumnFilters[i];
|
|
34021
|
+
const id = currentColumnFilter.id;
|
|
34022
|
+
|
|
34023
|
+
// Tag the row with the column filter state
|
|
34024
|
+
row.columnFilters[id] = currentColumnFilter.filterFn(row, id, currentColumnFilter.resolvedValue, filterMeta => {
|
|
34025
|
+
row.columnFiltersMeta[id] = filterMeta;
|
|
34026
|
+
});
|
|
34027
|
+
}
|
|
34028
|
+
}
|
|
34029
|
+
if (resolvedGlobalFilters.length) {
|
|
34030
|
+
for (let i = 0; i < resolvedGlobalFilters.length; i++) {
|
|
34031
|
+
currentGlobalFilter = resolvedGlobalFilters[i];
|
|
34032
|
+
const id = currentGlobalFilter.id;
|
|
34033
|
+
// Tag the row with the first truthy global filter state
|
|
34034
|
+
if (currentGlobalFilter.filterFn(row, id, currentGlobalFilter.resolvedValue, filterMeta => {
|
|
34035
|
+
row.columnFiltersMeta[id] = filterMeta;
|
|
34036
|
+
})) {
|
|
34037
|
+
row.columnFilters.__global__ = true;
|
|
34038
|
+
break;
|
|
34039
|
+
}
|
|
34040
|
+
}
|
|
34041
|
+
if (row.columnFilters.__global__ !== true) {
|
|
34042
|
+
row.columnFilters.__global__ = false;
|
|
34043
|
+
}
|
|
34044
|
+
}
|
|
34045
|
+
}
|
|
34046
|
+
const filterRowsImpl = row => {
|
|
34047
|
+
// Horizontally filter rows through each column
|
|
34048
|
+
for (let i = 0; i < filterableIds.length; i++) {
|
|
34049
|
+
if (row.columnFilters[filterableIds[i]] === false) {
|
|
34050
|
+
return false;
|
|
34051
|
+
}
|
|
34052
|
+
}
|
|
34053
|
+
return true;
|
|
34054
|
+
};
|
|
34055
|
+
|
|
34056
|
+
// Filter final rows using all of the active filters
|
|
34057
|
+
return filterRows(rowModel.rows, filterRowsImpl, table);
|
|
34058
|
+
}, getMemoOptions(table.options, 'debugTable', 'getFilteredRowModel', () => table._autoResetPageIndex()));
|
|
34059
|
+
}
|
|
34060
|
+
|
|
34869
34061
|
function getPaginationRowModel(opts) {
|
|
34870
34062
|
return table => memo(() => [table.getState().pagination, table.getPrePaginationRowModel(), table.options.paginateExpandedRows ? undefined : table.getState().expanded], (pagination, rowModel) => {
|
|
34871
34063
|
if (!rowModel.rows.length) {
|
|
@@ -35064,13 +34256,39 @@ function useReactTable(options) {
|
|
|
35064
34256
|
return tableRef.current;
|
|
35065
34257
|
}
|
|
35066
34258
|
|
|
35067
|
-
function NvDatatable({ columns, rows, pagination, sorting, renderPagination, stickyHeader, ...htmlProps }) {
|
|
34259
|
+
function NvDatatable({ columns, rows, pagination, sorting, filtering, renderPagination, renderFiltering, stickyHeader, ...htmlProps }) {
|
|
35068
34260
|
const [paginationState, setPaginationState] = React.useState({
|
|
35069
34261
|
pageIndex: 0,
|
|
35070
34262
|
pageSize: pagination?.initialPageSize || 10,
|
|
35071
34263
|
});
|
|
35072
34264
|
const [sortingState, setSortingState] = React.useState(sorting?.sortState || []);
|
|
34265
|
+
const [globalFilterState, setGlobalFilterState] = React.useState(filtering?.filterState);
|
|
35073
34266
|
const lastRowRef = React.useRef(null);
|
|
34267
|
+
const debouncedSetFilter = React.useRef(null);
|
|
34268
|
+
const setGlobalFilterDebounced = React.useCallback((value) => {
|
|
34269
|
+
const debounceMs = filtering?.debounceMs ?? 300;
|
|
34270
|
+
if (debouncedSetFilter.current) {
|
|
34271
|
+
clearTimeout(debouncedSetFilter.current);
|
|
34272
|
+
}
|
|
34273
|
+
debouncedSetFilter.current = setTimeout(() => {
|
|
34274
|
+
setGlobalFilterState(value);
|
|
34275
|
+
if (filtering?.mode === 'server' && filtering.onFilterChange) {
|
|
34276
|
+
filtering.onFilterChange(value);
|
|
34277
|
+
}
|
|
34278
|
+
}, debounceMs);
|
|
34279
|
+
}, [filtering]);
|
|
34280
|
+
React.useEffect(() => {
|
|
34281
|
+
return () => {
|
|
34282
|
+
if (debouncedSetFilter.current) {
|
|
34283
|
+
clearTimeout(debouncedSetFilter.current);
|
|
34284
|
+
}
|
|
34285
|
+
};
|
|
34286
|
+
}, []);
|
|
34287
|
+
React.useEffect(() => {
|
|
34288
|
+
if (filtering?.filterState !== undefined) {
|
|
34289
|
+
setGlobalFilterState(filtering.filterState);
|
|
34290
|
+
}
|
|
34291
|
+
}, [filtering?.filterState]);
|
|
35074
34292
|
const tableColumns = React.useMemo(() => columns
|
|
35075
34293
|
.filter((col) => !col.hidden)
|
|
35076
34294
|
.map((col) => {
|
|
@@ -35127,6 +34345,7 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
35127
34345
|
...(sorting && {
|
|
35128
34346
|
state: {
|
|
35129
34347
|
sorting: sorting.sortState || sortingState,
|
|
34348
|
+
...(filtering && { globalFilter: globalFilterState }),
|
|
35130
34349
|
},
|
|
35131
34350
|
onSortingChange: sorting.mode === 'server'
|
|
35132
34351
|
? (updater) => {
|
|
@@ -35146,6 +34365,23 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
35146
34365
|
isMultiSortEvent: sorting.enableMultiSort ? () => true : undefined,
|
|
35147
34366
|
getSortedRowModel: sorting.mode === 'client' ? getSortedRowModel() : undefined,
|
|
35148
34367
|
}),
|
|
34368
|
+
...(filtering && {
|
|
34369
|
+
state: {
|
|
34370
|
+
...(sorting && { sorting: sorting.sortState || sortingState }),
|
|
34371
|
+
globalFilter: globalFilterState,
|
|
34372
|
+
},
|
|
34373
|
+
onGlobalFilterChange: (updater) => {
|
|
34374
|
+
const newFilter = typeof updater === 'function'
|
|
34375
|
+
? updater(globalFilterState)
|
|
34376
|
+
: updater;
|
|
34377
|
+
setGlobalFilterState(newFilter);
|
|
34378
|
+
if (filtering.mode === 'server' && filtering.onFilterChange) {
|
|
34379
|
+
filtering.onFilterChange(newFilter);
|
|
34380
|
+
}
|
|
34381
|
+
},
|
|
34382
|
+
globalFilterFn: filtering.globalFilterFn,
|
|
34383
|
+
getFilteredRowModel: filtering.mode === 'client' ? getFilteredRowModel() : undefined,
|
|
34384
|
+
}),
|
|
35149
34385
|
};
|
|
35150
34386
|
if (!pagination) {
|
|
35151
34387
|
return baseConfig;
|
|
@@ -35183,7 +34419,16 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
35183
34419
|
};
|
|
35184
34420
|
}
|
|
35185
34421
|
return baseConfig;
|
|
35186
|
-
}, [
|
|
34422
|
+
}, [
|
|
34423
|
+
rows,
|
|
34424
|
+
tableColumns,
|
|
34425
|
+
pagination,
|
|
34426
|
+
paginationState,
|
|
34427
|
+
sorting,
|
|
34428
|
+
sortingState,
|
|
34429
|
+
filtering,
|
|
34430
|
+
globalFilterState,
|
|
34431
|
+
]);
|
|
35187
34432
|
const table = useReactTable(tableConfig);
|
|
35188
34433
|
React.useEffect(() => {
|
|
35189
34434
|
if (pagination?.mode === 'server' && pagination.onPaginationChange) {
|
|
@@ -35243,7 +34488,27 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
35243
34488
|
}, [pagination, table, rows.length, tablePaginationState]);
|
|
35244
34489
|
const tableRows = table.getRowModel().rows;
|
|
35245
34490
|
const isInfiniteScroll = pagination?.mode === 'infinite';
|
|
34491
|
+
const filteringAPI = React.useMemo(() => {
|
|
34492
|
+
if (!filtering) {
|
|
34493
|
+
return null;
|
|
34494
|
+
}
|
|
34495
|
+
const preFilteredRowModel = table.getPreFilteredRowModel();
|
|
34496
|
+
const filteredRowModel = table.getFilteredRowModel();
|
|
34497
|
+
return {
|
|
34498
|
+
filterState: globalFilterState,
|
|
34499
|
+
setGlobalFilter: setGlobalFilterDebounced,
|
|
34500
|
+
resetFilters: () => {
|
|
34501
|
+
setGlobalFilterState(undefined);
|
|
34502
|
+
if (filtering.onFilterChange) {
|
|
34503
|
+
filtering.onFilterChange(undefined);
|
|
34504
|
+
}
|
|
34505
|
+
},
|
|
34506
|
+
totalRows: preFilteredRowModel.rows.length,
|
|
34507
|
+
filteredRows: filteredRowModel.rows.length,
|
|
34508
|
+
};
|
|
34509
|
+
}, [filtering, globalFilterState, table, setGlobalFilterDebounced]);
|
|
35246
34510
|
return (React.createElement(React.Fragment, null,
|
|
34511
|
+
filteringAPI && renderFiltering && renderFiltering(filteringAPI),
|
|
35247
34512
|
React.createElement(NvTable, { ...htmlProps },
|
|
35248
34513
|
React.createElement("table", null,
|
|
35249
34514
|
React.createElement("thead", { "data-sticky-top": stickyHeader ? 'true' : undefined }, table.getHeaderGroups().map((headerGroup) => (React.createElement("tr", { key: headerGroup.id }, headerGroup.headers.map((header) => {
|
|
@@ -35315,19 +34580,9 @@ exports.NvLoader = NvLoader;
|
|
|
35315
34580
|
exports.NvMenu = NvMenu;
|
|
35316
34581
|
exports.NvMenuitem = NvMenuitem;
|
|
35317
34582
|
exports.NvNotification = NvNotification;
|
|
35318
|
-
exports.NvNotificationBullet = NvNotificationBullet;
|
|
35319
34583
|
exports.NvNotificationcontainer = NvNotificationcontainer;
|
|
35320
34584
|
exports.NvPopover = NvPopover;
|
|
35321
34585
|
exports.NvRow = NvRow;
|
|
35322
|
-
exports.NvSidebar = NvSidebar;
|
|
35323
|
-
exports.NvSidebarcontent = NvSidebarcontent;
|
|
35324
|
-
exports.NvSidebardivider = NvSidebardivider;
|
|
35325
|
-
exports.NvSidebarfooter = NvSidebarfooter;
|
|
35326
|
-
exports.NvSidebargroup = NvSidebargroup;
|
|
35327
|
-
exports.NvSidebarheader = NvSidebarheader;
|
|
35328
|
-
exports.NvSidebarlogo = NvSidebarlogo;
|
|
35329
|
-
exports.NvSidebarnavitem = NvSidebarnavitem;
|
|
35330
|
-
exports.NvSidebarnavsubitem = NvSidebarnavsubitem;
|
|
35331
34586
|
exports.NvSplit = NvSplit;
|
|
35332
34587
|
exports.NvStack = NvStack;
|
|
35333
34588
|
exports.NvTable = NvTable;
|