@nova-design-system/nova-react 3.21.0 → 3.21.1-beta.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 +92 -0
- package/dist/cjs/grow.animation-24ad5cf8-LUp_ITEx.js +111 -0
- package/dist/cjs/{index-yxDlFA78.js → index-CEKdYnmK.js} +1449 -407
- package/dist/cjs/index.js +11 -1
- package/dist/cjs/{nv-accordion-item.entry-5DF2ffDE.js → nv-accordion-item.entry-zvp8yDql.js} +1 -1
- package/dist/cjs/{nv-accordion.entry-CPB1HBT1.js → nv-accordion.entry-D6gckOF4.js} +1 -1
- package/dist/cjs/{nv-alert.entry-jPxt1obA.js → nv-alert.entry-Df8-nQ-R.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-zmnREEN-.js → nv-avatar.entry-ZOnVWP9L.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-DtkQx_M9.js → nv-badge_2.entry-DgiVv_Yf.js} +2 -2
- package/dist/cjs/{nv-breadcrumb.entry-DHAe5FxQ.js → nv-breadcrumb.entry-IqtE1JL0.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-C7XepUqF.js → nv-breadcrumbs.entry-Be6dz7zI.js} +1 -1
- package/dist/cjs/{nv-button.entry-Dg1knj3Y.js → nv-button.entry-CmswF3Si.js} +1 -1
- package/dist/cjs/{nv-buttongroup.entry-Dlim9p8N.js → nv-buttongroup.entry-Cfe6rFSs.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-rL5_GdQg.js → nv-calendar.entry-q83sS_dN.js} +1 -1
- package/dist/cjs/{nv-col.entry-CnbFx7h1.js → nv-col.entry-Cu-Qi1bi.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-CjUfR4ha.js → nv-datagrid.entry-Cx7SvD5S.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-BiuYIp4q.js → nv-datagridcolumn.entry-B_uXKFLg.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-fDywe5i2.js → nv-dialog.entry-J6Xwi6z1.js} +54 -20
- package/dist/cjs/{nv-dialogfooter_2.entry-CckfZ_QW.js → nv-dialogfooter_2.entry-DOlhqDTh.js} +3 -3
- package/dist/cjs/{nv-fieldcheckbox.entry-WmfLxGad.js → nv-fieldcheckbox.entry-C23dGGX7.js} +5 -5
- package/dist/cjs/{nv-fielddate.entry-GLGb7tzu.js → nv-fielddate.entry-xWi3GpLl.js} +15 -18
- package/dist/cjs/{nv-fielddaterange.entry-C8gXNY2P.js → nv-fielddaterange.entry-BwFtpw9X.js} +8 -10
- package/dist/cjs/{nv-fielddropdown.entry-BX1V8Uef.js → nv-fielddropdown.entry-mnl7mSaK.js} +15 -6
- package/dist/cjs/{nv-fielddropdownitem.entry-BMVFbA1v.js → nv-fielddropdownitem.entry-DjyFlVXw.js} +3 -3
- package/dist/cjs/{nv-fieldmultiselect.entry-BuV-qWbu.js → nv-fieldmultiselect.entry-BtLTG7nM.js} +2 -2
- package/dist/cjs/{nv-fieldnumber.entry-qM1ct5SM.js → nv-fieldnumber.entry-C00Hg70B.js} +4 -4
- package/dist/cjs/{nv-fieldpassword.entry-BnGWErFQ.js → nv-fieldpassword.entry-BLg8tCN0.js} +4 -4
- package/dist/cjs/{nv-fieldradio.entry-EliQYldW.js → nv-fieldradio.entry-2hb1Ur40.js} +4 -4
- package/dist/cjs/{nv-fieldselect.entry-BfPVPmaZ.js → nv-fieldselect.entry-D-eYQpAv.js} +6 -6
- package/dist/cjs/{nv-fieldslider.entry-DBPpL94x.js → nv-fieldslider.entry-BGle1RZR.js} +4 -4
- package/dist/cjs/{nv-fieldtext.entry-BnabKYgq.js → nv-fieldtext.entry-Djg8cqOa.js} +4 -4
- package/dist/cjs/{nv-fieldtextarea.entry-HaELAnJb.js → nv-fieldtextarea.entry-Z32-s901.js} +4 -4
- package/dist/cjs/{nv-fieldtime.entry-CWQM7fza.js → nv-fieldtime.entry-CDFGdfFL.js} +4 -4
- package/dist/cjs/{nv-icon.entry-B5cWNyvf.js → nv-icon.entry-BDq7DKRt.js} +2 -2
- package/dist/cjs/{nv-iconbutton_2.entry-CP1o9IVZ.js → nv-iconbutton_2.entry-DdgEkFLK.js} +3 -3
- package/dist/cjs/{nv-menu.entry-wMwI_sZ3.js → nv-menu.entry-iob0Kve8.js} +2 -2
- package/dist/cjs/{nv-menuitem.entry-C53TrB0_.js → nv-menuitem.entry-C989Ui60.js} +2 -2
- package/dist/cjs/nv-notification-bullet.entry-J8OkAZtU.js +77 -0
- package/dist/cjs/{nv-notification.entry-BPyEusqt.js → nv-notification.entry-BxvJMKxH.js} +2 -2
- package/dist/cjs/{nv-notificationcontainer.entry-MRIJURIS.js → nv-notificationcontainer.entry-CxGCIb96.js} +2 -2
- package/dist/cjs/{nv-popover.entry-fj50OLMu.js → nv-popover.entry-1KsO_KQm.js} +14 -98
- package/dist/cjs/{nv-row.entry-T0OlcSij.js → nv-row.entry-PBLq_BzJ.js} +2 -2
- package/dist/cjs/nv-sidebar.entry-CjLbvLqw.js +177 -0
- package/dist/cjs/nv-sidebarcontent.entry-Cv76IH4W.js +22 -0
- package/dist/cjs/nv-sidebardivider.entry-DYPJ_k73.js +22 -0
- package/dist/cjs/nv-sidebarfooter.entry-mGcMBRmv.js +22 -0
- package/dist/cjs/nv-sidebargroup.entry-DtwFliHZ.js +23 -0
- package/dist/cjs/nv-sidebarheader.entry-BdOYIXCA.js +22 -0
- package/dist/cjs/nv-sidebarlogo.entry-Da0kGsfw.js +32 -0
- package/dist/cjs/nv-sidebarnavitem.entry-D5xLfpwn.js +297 -0
- package/dist/cjs/nv-sidebarnavsubitem.entry-CkeJfHH4.js +35 -0
- package/dist/cjs/{nv-split.entry-DlI7I6Tb.js → nv-split.entry-y66NBf88.js} +2 -2
- package/dist/cjs/{nv-stack.entry-991A3rOk.js → nv-stack.entry-CXjpkpbW.js} +2 -2
- package/dist/cjs/{nv-table.entry-ClSU3-cR.js → nv-table.entry-quaVnLru.js} +2 -2
- package/dist/cjs/{nv-tableheader.entry-DzvbPDBN.js → nv-tableheader.entry-DTBE2XQO.js} +2 -2
- package/dist/cjs/{nv-toggle.entry-Dq5hAoVB.js → nv-toggle.entry-CxUwF0pb.js} +3 -3
- package/dist/cjs/{nv-togglebutton.entry-DI8HQ5Ou.js → nv-togglebutton.entry-w-WEAmE6.js} +2 -2
- package/dist/cjs/{nv-togglebuttongroup.entry-DzGOSBF7.js → nv-togglebuttongroup.entry-UbrE8y7a.js} +2 -2
- package/dist/cjs/{nv-tooltip.entry-CF0-gdZL.js → nv-tooltip.entry-Dq2bkV33.js} +2 -2
- package/dist/generated/components.js +80 -0
- package/dist/generated/components.server.js +82 -0
- package/dist/types/generated/components.d.ts +32 -0
- package/dist/types/generated/components.server.d.ts +32 -0
- package/package.json +1 -1
- package/dist/cjs/events.utils-fe1d907f-01N__3wY.js +0 -23
|
@@ -3732,7 +3732,7 @@ const NvIcon$2 = /*@__PURE__*/ proxyCustomElement(class NvIcon extends H {
|
|
|
3732
3732
|
/****************************************************************************/
|
|
3733
3733
|
//#region RENDER
|
|
3734
3734
|
render() {
|
|
3735
|
-
return (h$1(Host$1, { key: '
|
|
3735
|
+
return (h$1(Host$1, { key: '8cb4ada2454c7e9676cd088397eb4416ccab2d82', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h$1("svg", { key: '4934c79fa096935be509ff6a641361dac44a4a9f', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, h$1("use", { key: 'fd1463bd985a473937d6d3035edf83a8d5baf92d', href: `#nvicon_${this.name}` }))));
|
|
3736
3736
|
}
|
|
3737
3737
|
static get style() { return NvIconStyle0; }
|
|
3738
3738
|
}, [0, "nv-icon", {
|
|
@@ -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$1c() {
|
|
3749
3749
|
if (typeof customElements === "undefined") {
|
|
3750
3750
|
return;
|
|
3751
3751
|
}
|
|
@@ -3758,7 +3758,7 @@ function defineCustomElement$11() {
|
|
|
3758
3758
|
break;
|
|
3759
3759
|
} });
|
|
3760
3760
|
}
|
|
3761
|
-
defineCustomElement$
|
|
3761
|
+
defineCustomElement$1c();
|
|
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;
|
|
@@ -3781,14 +3781,14 @@ const NvLoader$2 = /*@__PURE__*/ proxyCustomElement(class NvLoader extends H {
|
|
|
3781
3781
|
//#region RENDER
|
|
3782
3782
|
/* <slot> empty to force rendering change */
|
|
3783
3783
|
render() {
|
|
3784
|
-
return (h$1(Host$1, { key: '
|
|
3784
|
+
return (h$1(Host$1, { key: '049afa243c1ce99643408d86afa99e69c5468b8b', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
3785
3785
|
}
|
|
3786
3786
|
static get style() { return NvLoaderStyle0; }
|
|
3787
3787
|
}, [0, "nv-loader", {
|
|
3788
3788
|
"size": [513],
|
|
3789
3789
|
"color": [513]
|
|
3790
3790
|
}]);
|
|
3791
|
-
function defineCustomElement$
|
|
3791
|
+
function defineCustomElement$1b() {
|
|
3792
3792
|
if (typeof customElements === "undefined") {
|
|
3793
3793
|
return;
|
|
3794
3794
|
}
|
|
@@ -3801,7 +3801,7 @@ function defineCustomElement$10() {
|
|
|
3801
3801
|
break;
|
|
3802
3802
|
} });
|
|
3803
3803
|
}
|
|
3804
|
-
defineCustomElement$
|
|
3804
|
+
defineCustomElement$1b();
|
|
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;
|
|
@@ -3922,7 +3922,7 @@ const NvIconbutton$2 = /*@__PURE__*/ proxyCustomElement(class NvIconbutton exten
|
|
|
3922
3922
|
/****************************************************************************/
|
|
3923
3923
|
//#region RENDER
|
|
3924
3924
|
render() {
|
|
3925
|
-
return (h$1(Host$1, { key: '
|
|
3925
|
+
return (h$1(Host$1, { key: '81d7f0bfd1e64ecbb640c2f02b7e73cd7b2d3aa4', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 0, disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h$1("nv-loader", { key: 'cec3ee02a7fb0882557c8742c8f9d785835e79d0', size: this.size }), !this.loading && h$1("nv-icon", { key: '4892b3b78b291b159403a63ced6a150dd7def1c0', name: this.name, size: this.size }), h$1("slot", { key: 'b1204bf2dd026c1232b5e8209fd29f21a8aa704f' })));
|
|
3926
3926
|
}
|
|
3927
3927
|
static get formAssociated() { return true; }
|
|
3928
3928
|
get el() { return this; }
|
|
@@ -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$1a() {
|
|
3949
3949
|
if (typeof customElements === "undefined") {
|
|
3950
3950
|
return;
|
|
3951
3951
|
}
|
|
@@ -3958,17 +3958,17 @@ function defineCustomElement$$() {
|
|
|
3958
3958
|
break;
|
|
3959
3959
|
case "nv-icon":
|
|
3960
3960
|
if (!customElements.get(tagName)) {
|
|
3961
|
-
defineCustomElement$
|
|
3961
|
+
defineCustomElement$1c();
|
|
3962
3962
|
}
|
|
3963
3963
|
break;
|
|
3964
3964
|
case "nv-loader":
|
|
3965
3965
|
if (!customElements.get(tagName)) {
|
|
3966
|
-
defineCustomElement$
|
|
3966
|
+
defineCustomElement$1b();
|
|
3967
3967
|
}
|
|
3968
3968
|
break;
|
|
3969
3969
|
} });
|
|
3970
3970
|
}
|
|
3971
|
-
defineCustomElement
|
|
3971
|
+
defineCustomElement$1a();
|
|
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$19() {
|
|
4191
4191
|
if (typeof customElements === "undefined") {
|
|
4192
4192
|
return;
|
|
4193
4193
|
}
|
|
@@ -4200,25 +4200,25 @@ function defineCustomElement$_() {
|
|
|
4200
4200
|
break;
|
|
4201
4201
|
case "nv-icon":
|
|
4202
4202
|
if (!customElements.get(tagName)) {
|
|
4203
|
-
defineCustomElement$
|
|
4203
|
+
defineCustomElement$1c();
|
|
4204
4204
|
}
|
|
4205
4205
|
break;
|
|
4206
4206
|
case "nv-iconbutton":
|
|
4207
4207
|
if (!customElements.get(tagName)) {
|
|
4208
|
-
defineCustomElement
|
|
4208
|
+
defineCustomElement$1a();
|
|
4209
4209
|
}
|
|
4210
4210
|
break;
|
|
4211
4211
|
case "nv-loader":
|
|
4212
4212
|
if (!customElements.get(tagName)) {
|
|
4213
|
-
defineCustomElement$
|
|
4213
|
+
defineCustomElement$1b();
|
|
4214
4214
|
}
|
|
4215
4215
|
break;
|
|
4216
4216
|
} });
|
|
4217
4217
|
}
|
|
4218
|
-
defineCustomElement$
|
|
4218
|
+
defineCustomElement$19();
|
|
4219
4219
|
|
|
4220
4220
|
const NvAccordionItem$1 = NvAccordionItem$2;
|
|
4221
|
-
const defineCustomElement$
|
|
4221
|
+
const defineCustomElement$18 = defineCustomElement$19;
|
|
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$D() {
|
|
4406
4406
|
if (typeof customElements === "undefined") {
|
|
4407
4407
|
return;
|
|
4408
4408
|
}
|
|
@@ -4415,30 +4415,30 @@ function defineCustomElement$1$u() {
|
|
|
4415
4415
|
break;
|
|
4416
4416
|
case "nv-accordion-item":
|
|
4417
4417
|
if (!customElements.get(tagName)) {
|
|
4418
|
-
defineCustomElement$
|
|
4418
|
+
defineCustomElement$19();
|
|
4419
4419
|
}
|
|
4420
4420
|
break;
|
|
4421
4421
|
case "nv-icon":
|
|
4422
4422
|
if (!customElements.get(tagName)) {
|
|
4423
|
-
defineCustomElement$
|
|
4423
|
+
defineCustomElement$1c();
|
|
4424
4424
|
}
|
|
4425
4425
|
break;
|
|
4426
4426
|
case "nv-iconbutton":
|
|
4427
4427
|
if (!customElements.get(tagName)) {
|
|
4428
|
-
defineCustomElement
|
|
4428
|
+
defineCustomElement$1a();
|
|
4429
4429
|
}
|
|
4430
4430
|
break;
|
|
4431
4431
|
case "nv-loader":
|
|
4432
4432
|
if (!customElements.get(tagName)) {
|
|
4433
|
-
defineCustomElement$
|
|
4433
|
+
defineCustomElement$1b();
|
|
4434
4434
|
}
|
|
4435
4435
|
break;
|
|
4436
4436
|
} });
|
|
4437
4437
|
}
|
|
4438
|
-
defineCustomElement$1$
|
|
4438
|
+
defineCustomElement$1$D();
|
|
4439
4439
|
|
|
4440
4440
|
const NvAccordion$2 = NvAccordion$1;
|
|
4441
|
-
const defineCustomElement$
|
|
4441
|
+
const defineCustomElement$17 = defineCustomElement$1$D;
|
|
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$C() {
|
|
5375
5375
|
if (typeof customElements === "undefined") {
|
|
5376
5376
|
return;
|
|
5377
5377
|
}
|
|
@@ -5384,15 +5384,15 @@ function defineCustomElement$1$t() {
|
|
|
5384
5384
|
break;
|
|
5385
5385
|
case "nv-icon":
|
|
5386
5386
|
if (!customElements.get(tagName)) {
|
|
5387
|
-
defineCustomElement$
|
|
5387
|
+
defineCustomElement$1c();
|
|
5388
5388
|
}
|
|
5389
5389
|
break;
|
|
5390
5390
|
} });
|
|
5391
5391
|
}
|
|
5392
|
-
defineCustomElement$1$
|
|
5392
|
+
defineCustomElement$1$C();
|
|
5393
5393
|
|
|
5394
5394
|
const NvAlert$2 = NvAlert$1;
|
|
5395
|
-
const defineCustomElement$
|
|
5395
|
+
const defineCustomElement$16 = defineCustomElement$1$C;
|
|
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$B() {
|
|
5470
5470
|
if (typeof customElements === "undefined") {
|
|
5471
5471
|
return;
|
|
5472
5472
|
}
|
|
@@ -5479,15 +5479,15 @@ function defineCustomElement$1$s() {
|
|
|
5479
5479
|
break;
|
|
5480
5480
|
case "nv-icon":
|
|
5481
5481
|
if (!customElements.get(tagName)) {
|
|
5482
|
-
defineCustomElement$
|
|
5482
|
+
defineCustomElement$1c();
|
|
5483
5483
|
}
|
|
5484
5484
|
break;
|
|
5485
5485
|
} });
|
|
5486
5486
|
}
|
|
5487
|
-
defineCustomElement$1$
|
|
5487
|
+
defineCustomElement$1$B();
|
|
5488
5488
|
|
|
5489
5489
|
const NvAvatar$2 = NvAvatar$1;
|
|
5490
|
-
const defineCustomElement$
|
|
5490
|
+
const defineCustomElement$15 = defineCustomElement$1$B;
|
|
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$14() {
|
|
5651
5651
|
if (typeof customElements === "undefined") {
|
|
5652
5652
|
return;
|
|
5653
5653
|
}
|
|
@@ -5660,15 +5660,34 @@ function defineCustomElement$V() {
|
|
|
5660
5660
|
break;
|
|
5661
5661
|
case "nv-icon":
|
|
5662
5662
|
if (!customElements.get(tagName)) {
|
|
5663
|
-
defineCustomElement$
|
|
5663
|
+
defineCustomElement$1c();
|
|
5664
5664
|
}
|
|
5665
5665
|
break;
|
|
5666
5666
|
} });
|
|
5667
5667
|
}
|
|
5668
|
-
defineCustomElement$
|
|
5668
|
+
defineCustomElement$14();
|
|
5669
5669
|
|
|
5670
5670
|
const NvBadge$1 = NvBadge$2;
|
|
5671
|
-
const defineCustomElement$
|
|
5671
|
+
const defineCustomElement$13 = defineCustomElement$14;
|
|
5672
|
+
|
|
5673
|
+
/**
|
|
5674
|
+
* Adds a set of event listeners to the given target.
|
|
5675
|
+
* @param {EventsAndListeners} events - The events and listeners to add.
|
|
5676
|
+
* @param {Element | Window | Document} target - The target element or window to add the event listeners to.
|
|
5677
|
+
* @param {T} context - The class context to bind the event listeners to.
|
|
5678
|
+
*/
|
|
5679
|
+
function addEventListeners(events, target, context) {
|
|
5680
|
+
events.forEach(([event, listener]) => target.addEventListener(event, listener.bind(context)));
|
|
5681
|
+
}
|
|
5682
|
+
/**
|
|
5683
|
+
* Removes a set of event listeners from the given target.
|
|
5684
|
+
* @param {EventsAndListeners} events - The events and listeners to remove.
|
|
5685
|
+
* @param {Element | Window | Document} target - The target element or window to remove the event listeners from.
|
|
5686
|
+
* @param {T} context - The class context to bind the event listeners to.
|
|
5687
|
+
*/
|
|
5688
|
+
function removeEventListeners(events, target, context) {
|
|
5689
|
+
events.forEach(([event, listener]) => target.removeEventListener(event, listener.bind(context)));
|
|
5690
|
+
}
|
|
5672
5691
|
|
|
5673
5692
|
const useGrow = (node, { duration = 200, amount = 0.8, hasFade = true } = {}) => {
|
|
5674
5693
|
const nodeStyler = index(node);
|
|
@@ -5754,25 +5773,6 @@ const useGrow = (node, { duration = 200, amount = 0.8, hasFade = true } = {}) =>
|
|
|
5754
5773
|
};
|
|
5755
5774
|
};
|
|
5756
5775
|
|
|
5757
|
-
/**
|
|
5758
|
-
* Adds a set of event listeners to the given target.
|
|
5759
|
-
* @param {EventsAndListeners} events - The events and listeners to add.
|
|
5760
|
-
* @param {Element | Window | Document} target - The target element or window to add the event listeners to.
|
|
5761
|
-
* @param {T} context - The class context to bind the event listeners to.
|
|
5762
|
-
*/
|
|
5763
|
-
function addEventListeners(events, target, context) {
|
|
5764
|
-
events.forEach(([event, listener]) => target.addEventListener(event, listener.bind(context)));
|
|
5765
|
-
}
|
|
5766
|
-
/**
|
|
5767
|
-
* Removes a set of event listeners from the given target.
|
|
5768
|
-
* @param {EventsAndListeners} events - The events and listeners to remove.
|
|
5769
|
-
* @param {Element | Window | Document} target - The target element or window to remove the event listeners from.
|
|
5770
|
-
* @param {T} context - The class context to bind the event listeners to.
|
|
5771
|
-
*/
|
|
5772
|
-
function removeEventListeners(events, target, context) {
|
|
5773
|
-
events.forEach(([event, listener]) => target.removeEventListener(event, listener.bind(context)));
|
|
5774
|
-
}
|
|
5775
|
-
|
|
5776
5776
|
const min$2 = Math.min;
|
|
5777
5777
|
const max$2 = Math.max;
|
|
5778
5778
|
const round = Math.round;
|
|
@@ -7657,7 +7657,7 @@ const NvPopover$2 = /*@__PURE__*/ proxyCustomElement(class NvPopover extends H {
|
|
|
7657
7657
|
/****************************************************************************/
|
|
7658
7658
|
//#region RENDER
|
|
7659
7659
|
render() {
|
|
7660
|
-
return (h$1(Host$1, { key: '
|
|
7660
|
+
return (h$1(Host$1, { key: 'c54fc90b90bbe48b0410c750bf4ba97e51eb24e5' }, h$1("slot", { key: 'd957fba61d4e91d8afd85f14b602290c88e5128a', name: "trigger" }), h$1("div", { key: '548c798fc047d41c06d8a84cc9a4f65a4cbf75b5', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h$1("div", { key: 'd3c6e110e2c3f45ba0ed5c69b99f0a60413cbb39', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h$1("slot", { key: '20c2d8e3ff0ed3d3b9957513e19586e4aa4a39ca', name: "content" }))));
|
|
7661
7661
|
}
|
|
7662
7662
|
get el() { return this; }
|
|
7663
7663
|
static get watchers() { return {
|
|
@@ -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$12() {
|
|
7689
7689
|
if (typeof customElements === "undefined") {
|
|
7690
7690
|
return;
|
|
7691
7691
|
}
|
|
@@ -7698,7 +7698,7 @@ function defineCustomElement$T() {
|
|
|
7698
7698
|
break;
|
|
7699
7699
|
} });
|
|
7700
7700
|
}
|
|
7701
|
-
defineCustomElement$
|
|
7701
|
+
defineCustomElement$12();
|
|
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: 'ff1ca24735ec78d279cdc2f98cb54c0d6a7b4103' }, h$1("slot", { key: '3e0676a49b957ecb6eb3e0e6bfc1d8d8f0d2e02a' }), h$1("nv-popover", { key: '063fb414e47a1a6b722ee8b61f3dd68a61c5b7df', triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, h$1("p", { key: 'a8714211a3a5c723d187acdcb23484610bd91a36', slot: "content" }, this.message), h$1("slot", { key: 'edae83eb3c0f5c57b9b7263ccc139463b044f68e', 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$11() {
|
|
7758
7758
|
if (typeof customElements === "undefined") {
|
|
7759
7759
|
return;
|
|
7760
7760
|
}
|
|
@@ -7767,12 +7767,12 @@ function defineCustomElement$S() {
|
|
|
7767
7767
|
break;
|
|
7768
7768
|
case "nv-popover":
|
|
7769
7769
|
if (!customElements.get(tagName)) {
|
|
7770
|
-
defineCustomElement$
|
|
7770
|
+
defineCustomElement$12();
|
|
7771
7771
|
}
|
|
7772
7772
|
break;
|
|
7773
7773
|
} });
|
|
7774
7774
|
}
|
|
7775
|
-
defineCustomElement$
|
|
7775
|
+
defineCustomElement$11();
|
|
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$A() {
|
|
7820
7820
|
if (typeof customElements === "undefined") {
|
|
7821
7821
|
return;
|
|
7822
7822
|
}
|
|
@@ -7829,20 +7829,20 @@ function defineCustomElement$1$r() {
|
|
|
7829
7829
|
break;
|
|
7830
7830
|
case "nv-popover":
|
|
7831
7831
|
if (!customElements.get(tagName)) {
|
|
7832
|
-
defineCustomElement$
|
|
7832
|
+
defineCustomElement$12();
|
|
7833
7833
|
}
|
|
7834
7834
|
break;
|
|
7835
7835
|
case "nv-tooltip":
|
|
7836
7836
|
if (!customElements.get(tagName)) {
|
|
7837
|
-
defineCustomElement$
|
|
7837
|
+
defineCustomElement$11();
|
|
7838
7838
|
}
|
|
7839
7839
|
break;
|
|
7840
7840
|
} });
|
|
7841
7841
|
}
|
|
7842
|
-
defineCustomElement$1$
|
|
7842
|
+
defineCustomElement$1$A();
|
|
7843
7843
|
|
|
7844
7844
|
const NvBreadcrumb$2 = NvBreadcrumb$1;
|
|
7845
|
-
const defineCustomElement$
|
|
7845
|
+
const defineCustomElement$10 = defineCustomElement$1$A;
|
|
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$z() {
|
|
7862
7862
|
if (typeof customElements === "undefined") {
|
|
7863
7863
|
return;
|
|
7864
7864
|
}
|
|
@@ -7871,10 +7871,10 @@ function defineCustomElement$1$q() {
|
|
|
7871
7871
|
break;
|
|
7872
7872
|
} });
|
|
7873
7873
|
}
|
|
7874
|
-
defineCustomElement$1$
|
|
7874
|
+
defineCustomElement$1$z();
|
|
7875
7875
|
|
|
7876
7876
|
const NvBreadcrumbs$2 = NvBreadcrumbs$1;
|
|
7877
|
-
const defineCustomElement
|
|
7877
|
+
const defineCustomElement$$ = defineCustomElement$1$z;
|
|
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$_() {
|
|
8044
8044
|
if (typeof customElements === "undefined") {
|
|
8045
8045
|
return;
|
|
8046
8046
|
}
|
|
@@ -8053,15 +8053,15 @@ function defineCustomElement$P() {
|
|
|
8053
8053
|
break;
|
|
8054
8054
|
case "nv-loader":
|
|
8055
8055
|
if (!customElements.get(tagName)) {
|
|
8056
|
-
defineCustomElement$
|
|
8056
|
+
defineCustomElement$1b();
|
|
8057
8057
|
}
|
|
8058
8058
|
break;
|
|
8059
8059
|
} });
|
|
8060
8060
|
}
|
|
8061
|
-
defineCustomElement$
|
|
8061
|
+
defineCustomElement$_();
|
|
8062
8062
|
|
|
8063
8063
|
const NvButton$1 = NvButton$2;
|
|
8064
|
-
const defineCustomElement$
|
|
8064
|
+
const defineCustomElement$Z = defineCustomElement$_;
|
|
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$y() {
|
|
8265
8265
|
if (typeof customElements === "undefined") {
|
|
8266
8266
|
return;
|
|
8267
8267
|
}
|
|
@@ -8274,10 +8274,10 @@ function defineCustomElement$1$p() {
|
|
|
8274
8274
|
break;
|
|
8275
8275
|
} });
|
|
8276
8276
|
}
|
|
8277
|
-
defineCustomElement$1$
|
|
8277
|
+
defineCustomElement$1$y();
|
|
8278
8278
|
|
|
8279
8279
|
const NvButtongroup$2 = NvButtongroup$1;
|
|
8280
|
-
const defineCustomElement$
|
|
8280
|
+
const defineCustomElement$Y = defineCustomElement$1$y;
|
|
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$X() {
|
|
9721
9721
|
if (typeof customElements === "undefined") {
|
|
9722
9722
|
return;
|
|
9723
9723
|
}
|
|
@@ -9730,10 +9730,10 @@ function defineCustomElement$M() {
|
|
|
9730
9730
|
break;
|
|
9731
9731
|
} });
|
|
9732
9732
|
}
|
|
9733
|
-
defineCustomElement$
|
|
9733
|
+
defineCustomElement$X();
|
|
9734
9734
|
|
|
9735
9735
|
const NvCalendar$1 = NvCalendar$2;
|
|
9736
|
-
const defineCustomElement$
|
|
9736
|
+
const defineCustomElement$W = defineCustomElement$X;
|
|
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$x() {
|
|
9771
9771
|
if (typeof customElements === "undefined") {
|
|
9772
9772
|
return;
|
|
9773
9773
|
}
|
|
@@ -9780,10 +9780,10 @@ function defineCustomElement$1$o() {
|
|
|
9780
9780
|
break;
|
|
9781
9781
|
} });
|
|
9782
9782
|
}
|
|
9783
|
-
defineCustomElement$1$
|
|
9783
|
+
defineCustomElement$1$x();
|
|
9784
9784
|
|
|
9785
9785
|
const NvCol$2 = NvCol$1;
|
|
9786
|
-
const defineCustomElement$
|
|
9786
|
+
const defineCustomElement$V = defineCustomElement$1$x;
|
|
9787
9787
|
|
|
9788
9788
|
/**
|
|
9789
9789
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
@@ -9946,9 +9946,9 @@ const NvFieldtext$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldtext extends
|
|
|
9946
9946
|
/****************************************************************************/
|
|
9947
9947
|
//#region RENDER
|
|
9948
9948
|
render() {
|
|
9949
|
-
return (h$1(Host$1, { key: '
|
|
9950
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
9951
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
9949
|
+
return (h$1(Host$1, { key: '0446a4e7617f7a0dd1d617411f13f7ed9ab457e7' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '3fa66b23875eac14db7a52deb0fb8134cda4747b', htmlFor: this.inputId }, h$1("slot", { key: 'd2d145a273fe7790f6551a4f42564c438c659cbf', name: "label" }, this.label))), h$1("div", { key: 'b6ca6d9125460402ac1cfc0ed5f57b6db3214edf', class: "input-wrapper" }, h$1("slot", { key: '33331c013dd5d981136518045a8a460c3ab96070', name: "before-input" }), h$1("div", { key: '405dc274db9b87fd82f50ecf8653414deb7b1206', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '4b85c02e7c7f7f655c76cac3997d7b4377c9d4b4', name: "leading-input" }), h$1("input", { key: 'f6e083e97ab21e487bb28190a008469ffa282048', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), h$1("slot", { key: '019627575fed51776eeb964dafe85c9a0e2e8efe', name: "trailing-input" }), this.error && (h$1("nv-icon", { key: '0a2952a550e1a3cdc54a97968d8746914ce492d8', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '874f24d0c3522b8d6a2f65069b68d04dba8fae61', name: "circle-check", class: "validation", size: "md" }))), h$1("slot", { key: '38f43d5e912df5adaf8587b8efb9d44cccadec50', name: "after-input" })), (this.description ||
|
|
9950
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'c681d56939dc0068fc12842699e74f87d9446fe7', class: "description" }, h$1("slot", { key: '6b2f715fb44a46efbc3cfb98709173804472499e', name: "description" }, this.description))), (this.errorDescription ||
|
|
9951
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'f5354afc7bfacec7f7ff58e331e9011bb43da399', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'e127f81bf4a9205c94a461fd1555c07783b489a3', name: "error-description" }, this.errorDescription)))));
|
|
9952
9952
|
}
|
|
9953
9953
|
static get formAssociated() { return true; }
|
|
9954
9954
|
get el() { return this; }
|
|
@@ -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$U() {
|
|
9982
9982
|
if (typeof customElements === "undefined") {
|
|
9983
9983
|
return;
|
|
9984
9984
|
}
|
|
@@ -9991,12 +9991,12 @@ function defineCustomElement$J() {
|
|
|
9991
9991
|
break;
|
|
9992
9992
|
case "nv-icon":
|
|
9993
9993
|
if (!customElements.get(tagName)) {
|
|
9994
|
-
defineCustomElement$
|
|
9994
|
+
defineCustomElement$1c();
|
|
9995
9995
|
}
|
|
9996
9996
|
break;
|
|
9997
9997
|
} });
|
|
9998
9998
|
}
|
|
9999
|
-
defineCustomElement$
|
|
9999
|
+
defineCustomElement$U();
|
|
10000
10000
|
|
|
10001
10001
|
/**
|
|
10002
10002
|
* table-core
|
|
@@ -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$w() {
|
|
14549
14549
|
if (typeof customElements === "undefined") {
|
|
14550
14550
|
return;
|
|
14551
14551
|
}
|
|
@@ -14558,20 +14558,20 @@ function defineCustomElement$1$n() {
|
|
|
14558
14558
|
break;
|
|
14559
14559
|
case "nv-fieldtext":
|
|
14560
14560
|
if (!customElements.get(tagName)) {
|
|
14561
|
-
defineCustomElement$
|
|
14561
|
+
defineCustomElement$U();
|
|
14562
14562
|
}
|
|
14563
14563
|
break;
|
|
14564
14564
|
case "nv-icon":
|
|
14565
14565
|
if (!customElements.get(tagName)) {
|
|
14566
|
-
defineCustomElement$
|
|
14566
|
+
defineCustomElement$1c();
|
|
14567
14567
|
}
|
|
14568
14568
|
break;
|
|
14569
14569
|
} });
|
|
14570
14570
|
}
|
|
14571
|
-
defineCustomElement$1$
|
|
14571
|
+
defineCustomElement$1$w();
|
|
14572
14572
|
|
|
14573
14573
|
const NvDatagrid$2 = NvDatagrid$1;
|
|
14574
|
-
const defineCustomElement$
|
|
14574
|
+
const defineCustomElement$T = defineCustomElement$1$w;
|
|
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$v() {
|
|
14598
14598
|
if (typeof customElements === "undefined") {
|
|
14599
14599
|
return;
|
|
14600
14600
|
}
|
|
@@ -14607,10 +14607,10 @@ function defineCustomElement$1$m() {
|
|
|
14607
14607
|
break;
|
|
14608
14608
|
} });
|
|
14609
14609
|
}
|
|
14610
|
-
defineCustomElement$1$
|
|
14610
|
+
defineCustomElement$1$v();
|
|
14611
14611
|
|
|
14612
14612
|
const NvDatagridcolumn$2 = NvDatagridcolumn$1;
|
|
14613
|
-
const defineCustomElement$
|
|
14613
|
+
const defineCustomElement$S = defineCustomElement$1$v;
|
|
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;
|
|
@@ -14695,7 +14695,7 @@ const NvDialogfooter$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogfooter e
|
|
|
14695
14695
|
/****************************************************************************/
|
|
14696
14696
|
//#region RENDER
|
|
14697
14697
|
render() {
|
|
14698
|
-
return (h$1(Host$1, { key: '
|
|
14698
|
+
return (h$1(Host$1, { key: '908abbe8e2e9aa215641dd056c70dc16f36c3ac3' }, !this.hasSlot ? (h$1(Fragment$1, null, !this.undismissable && (h$1("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h$1("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h$1("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h$1("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (h$1("slot", null))));
|
|
14699
14699
|
}
|
|
14700
14700
|
static get formAssociated() { return true; }
|
|
14701
14701
|
get el() { return this; }
|
|
@@ -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$R() {
|
|
14715
14715
|
if (typeof customElements === "undefined") {
|
|
14716
14716
|
return;
|
|
14717
14717
|
}
|
|
@@ -14724,22 +14724,22 @@ function defineCustomElement$G() {
|
|
|
14724
14724
|
break;
|
|
14725
14725
|
case "nv-button":
|
|
14726
14726
|
if (!customElements.get(tagName)) {
|
|
14727
|
-
defineCustomElement$
|
|
14727
|
+
defineCustomElement$_();
|
|
14728
14728
|
}
|
|
14729
14729
|
break;
|
|
14730
14730
|
case "nv-icon":
|
|
14731
14731
|
if (!customElements.get(tagName)) {
|
|
14732
|
-
defineCustomElement$
|
|
14732
|
+
defineCustomElement$1c();
|
|
14733
14733
|
}
|
|
14734
14734
|
break;
|
|
14735
14735
|
case "nv-loader":
|
|
14736
14736
|
if (!customElements.get(tagName)) {
|
|
14737
|
-
defineCustomElement$
|
|
14737
|
+
defineCustomElement$1b();
|
|
14738
14738
|
}
|
|
14739
14739
|
break;
|
|
14740
14740
|
} });
|
|
14741
14741
|
}
|
|
14742
|
-
defineCustomElement$
|
|
14742
|
+
defineCustomElement$R();
|
|
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;
|
|
@@ -14770,7 +14770,7 @@ const NvDialogheader$2 = /*@__PURE__*/ proxyCustomElement(class NvDialogheader e
|
|
|
14770
14770
|
/****************************************************************************/
|
|
14771
14771
|
//#region RENDER
|
|
14772
14772
|
render() {
|
|
14773
|
-
return (h$1(Host$1, { key: '
|
|
14773
|
+
return (h$1(Host$1, { key: 'e3390a18cd40f00dd70f71b436d3603fdcb2b337' }, !this.hasSlot ? (h$1(Fragment$1, null, h$1("div", { class: "heading" }, this.heading), h$1("div", { class: "subheading" }, this.subheading))) : (h$1("slot", null))));
|
|
14774
14774
|
}
|
|
14775
14775
|
get el() { return this; }
|
|
14776
14776
|
static get style() { return NvDialogheaderStyle0; }
|
|
@@ -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$Q() {
|
|
14782
14782
|
if (typeof customElements === "undefined") {
|
|
14783
14783
|
return;
|
|
14784
14784
|
}
|
|
@@ -14791,7 +14791,7 @@ function defineCustomElement$F() {
|
|
|
14791
14791
|
break;
|
|
14792
14792
|
} });
|
|
14793
14793
|
}
|
|
14794
|
-
defineCustomElement$
|
|
14794
|
+
defineCustomElement$Q();
|
|
14795
14795
|
|
|
14796
14796
|
/*!
|
|
14797
14797
|
* tabbable 6.2.0
|
|
@@ -15327,7 +15327,7 @@ var tabbable = function tabbable(container, options) {
|
|
|
15327
15327
|
return sortByOrder(candidates);
|
|
15328
15328
|
};
|
|
15329
15329
|
|
|
15330
|
-
const nvDialogCss = "dialog{
|
|
15330
|
+
const nvDialogCss = "nv-dialog dialog{width:100vw;height:100svh;margin:0;max-height:unset;max-width:unset;padding:0;background:color-mix(in srgb, var(--components-overlay-background) 70%, transparent);backdrop-filter:blur(4px)}nv-dialog dialog.full .content{min-width:90vw;width:90vw;max-width:90vw}nv-dialog .backdrop{display:flex;min-height:100%;padding:var(--spacing-3);box-shadow:0px var(--shadow-y-axis-2xl) var(--shadow-blur-2xl) var(--shadow-spread-2xl) var(--shadow-color-opacity-3) var(--shadow-color-opacity-3)}nv-dialog .backdrop .content{border-radius:var(--radius-rounded-2xl);background:var(--color-level-00-background);min-width:min(90vw, 400px);width:fit-content;max-width:clamp(90vw, min(90vw, 960px), 960px);margin:auto;display:flex;flex-direction:column;align-items:flex-start;height:fit-content;position:relative}nv-dialog .backdrop .content nv-button.close-button{position:absolute;top:var(--dialog-dismissible-position-top);right:var(--dialog-dismissible-position-right);display:flex;padding:var(--button-sm-icon-button-padding);justify-content:flex-end;align-items:flex-start;gap:10px}nv-dialog .backdrop .content .content-body{box-sizing:border-box;padding:var(--dialog-body-padding-y) var(--dialog-body-padding-x);scrollbar-gutter:stable both-edges;font-family:var(--font-family-default), var(--font-family-fallback), sans-serif;font-size:var(--font-size-md);font-style:normal;font-weight:var(--font-weight-low-emphasis);line-height:var(--line-height-base);color:var(--color-content-medium-text);width:100%}nv-dialog .backdrop .content .content-body::-webkit-scrollbar{width:6px;height:6px}nv-dialog .backdrop .content .content-body::-webkit-scrollbar-track{background-color:var(--color-level-10-background);border-radius:9999px}nv-dialog .backdrop .content .content-body::-webkit-scrollbar-thumb{background-color:var(--color-gray-200);border-radius:9999px}";
|
|
15331
15331
|
const NvDialogStyle0 = nvDialogCss;
|
|
15332
15332
|
|
|
15333
15333
|
const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
@@ -15395,13 +15395,30 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15395
15395
|
this.close();
|
|
15396
15396
|
}
|
|
15397
15397
|
};
|
|
15398
|
-
|
|
15399
|
-
|
|
15398
|
+
/**
|
|
15399
|
+
* Handles the click event to close the dialog when clickOutside is true.
|
|
15400
|
+
* @param {MouseEvent} event - The click event.
|
|
15401
|
+
*/
|
|
15402
|
+
this.handleDialogClick = (event) => {
|
|
15403
|
+
if (!this.clickOutside || this.undismissable)
|
|
15404
|
+
return;
|
|
15405
|
+
if (this.checkForOpenPopovers())
|
|
15406
|
+
return;
|
|
15407
|
+
if (event.target === this.backdropElement) {
|
|
15400
15408
|
this.close();
|
|
15401
15409
|
event.preventDefault();
|
|
15402
15410
|
event.stopPropagation();
|
|
15403
15411
|
}
|
|
15404
15412
|
};
|
|
15413
|
+
this.checkForOpenPopovers = () => {
|
|
15414
|
+
let hasOpenPopover = false;
|
|
15415
|
+
this.el.querySelectorAll('nv-popover').forEach(popover => {
|
|
15416
|
+
if (popover.hasAttribute('open')) {
|
|
15417
|
+
hasOpenPopover = true;
|
|
15418
|
+
}
|
|
15419
|
+
});
|
|
15420
|
+
return hasOpenPopover;
|
|
15421
|
+
};
|
|
15405
15422
|
}
|
|
15406
15423
|
//#endregion PROPERTIES
|
|
15407
15424
|
/****************************************************************************/
|
|
@@ -15415,7 +15432,18 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15415
15432
|
/** It is recommended to use the .show() or .showModal() method to render
|
|
15416
15433
|
* dialogs, rather than the open attribute. If a <dialog> is opened using
|
|
15417
15434
|
* the open attribute, it is non-modal. */
|
|
15435
|
+
const { setFadeOut } = useFade(this.dialogElement);
|
|
15436
|
+
setFadeOut();
|
|
15418
15437
|
this.dialogElement.showModal();
|
|
15438
|
+
const { setGrowIn, growIn } = useGrow(this.contentElement, {
|
|
15439
|
+
duration: 100,
|
|
15440
|
+
amount: 0.9,
|
|
15441
|
+
});
|
|
15442
|
+
const { fadeIn } = useFade(this.dialogElement, {
|
|
15443
|
+
duration: 100,
|
|
15444
|
+
});
|
|
15445
|
+
setGrowIn();
|
|
15446
|
+
await parallel(fadeIn, growIn).start();
|
|
15419
15447
|
}
|
|
15420
15448
|
/**
|
|
15421
15449
|
* Call this method to hide the dialog, making it disappear from view.
|
|
@@ -15423,6 +15451,14 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15423
15451
|
async close() {
|
|
15424
15452
|
this.open = false;
|
|
15425
15453
|
this.allowScroll();
|
|
15454
|
+
const { growOut } = useGrow(this.contentElement, {
|
|
15455
|
+
duration: 150,
|
|
15456
|
+
amount: 0.85,
|
|
15457
|
+
});
|
|
15458
|
+
const { fadeOut } = useFade(this.dialogElement, {
|
|
15459
|
+
duration: 150,
|
|
15460
|
+
});
|
|
15461
|
+
await parallel(growOut, fadeOut).start();
|
|
15426
15462
|
this.dialogElement.close();
|
|
15427
15463
|
}
|
|
15428
15464
|
/**
|
|
@@ -15505,23 +15541,17 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15505
15541
|
handleKeyDown(event) {
|
|
15506
15542
|
if (event.key !== 'Escape')
|
|
15507
15543
|
return;
|
|
15508
|
-
if (this.
|
|
15544
|
+
if (!this.open)
|
|
15545
|
+
return;
|
|
15546
|
+
event.preventDefault();
|
|
15547
|
+
event.stopPropagation();
|
|
15548
|
+
const hasOpenPopover = this.checkForOpenPopovers();
|
|
15549
|
+
if (!this.undismissable && !hasOpenPopover) {
|
|
15509
15550
|
event.preventDefault();
|
|
15510
15551
|
event.stopPropagation();
|
|
15511
|
-
}
|
|
15512
|
-
else {
|
|
15513
15552
|
this.close();
|
|
15514
15553
|
}
|
|
15515
15554
|
}
|
|
15516
|
-
/**
|
|
15517
|
-
* Handles the click event to close the dialog when clickOutside is true.
|
|
15518
|
-
* @param {MouseEvent} event - The click event.
|
|
15519
|
-
*/
|
|
15520
|
-
handleDocumentClick(event) {
|
|
15521
|
-
if (!this.clickOutside || this.undismissable)
|
|
15522
|
-
return;
|
|
15523
|
-
this.handleClickOutside(event);
|
|
15524
|
-
}
|
|
15525
15555
|
//#endregion LISTENERS
|
|
15526
15556
|
/****************************************************************************/
|
|
15527
15557
|
//#region LIFECYCLE
|
|
@@ -15559,6 +15589,7 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15559
15589
|
this.attachEventListeners();
|
|
15560
15590
|
// Additional form check in case form was added after initial load
|
|
15561
15591
|
this.checkForForm();
|
|
15592
|
+
// this.setupContentBodyListeners();
|
|
15562
15593
|
}
|
|
15563
15594
|
disconnectedCallback() {
|
|
15564
15595
|
if (this.triggerElement && !this.eventsAttached && !this.controlled) {
|
|
@@ -15572,7 +15603,7 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15572
15603
|
//#region RENDER
|
|
15573
15604
|
render() {
|
|
15574
15605
|
const hasForm = this.form || this.el.querySelector('form');
|
|
15575
|
-
return (h$1(Host$1, { key: '
|
|
15606
|
+
return (h$1(Host$1, { key: '91b36e5daac0251997c7a6794166794f1e89087f' }, h$1("slot", { key: 'abeef317af74093c9b09fa6f2d300c23bbde54a6', name: "trigger" }), h$1("dialog", { key: '1eb417dc921bca7837aa05aad9c252fba7d9d920', ref: el => (this.dialogElement = el), onClose: this.handleDialogClose, onClick: this.handleDialogClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "dialog-header", "aria-describedby": "dialog-content", class: clsx({ full: this.full }) }, h$1("div", { key: '8ec55c461a747ebb4556fbf791ee1d66d3bcc51a', class: "backdrop", ref: el => (this.backdropElement = el) }, h$1("div", { key: '373beedad09464f3473935e0464b3f51133e0372', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (h$1("nv-button", { key: '5e94d056687837b017991f54df6cf350159addcc', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, h$1("nv-icon", { key: '98db7848b9796589b9e7670c62a26417228a15d6', name: "x", size: "sm" }))), this.headerElement ? (h$1("slot", { name: "header" })) : (h$1("nv-dialogheader", { id: "dialog-header" })), h$1("div", { key: '611eb7914b65d5a27513f91eb458a578dbc63734', class: "content-body", id: "dialog-content" }, h$1("slot", { key: 'caf21876e6a33e997eccdc577fb43d6e63fcfc90' })), this.footerElement ? (h$1("slot", { name: "footer" })) : (h$1("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
|
|
15576
15607
|
}
|
|
15577
15608
|
get el() { return this; }
|
|
15578
15609
|
static get watchers() { return {
|
|
@@ -15591,10 +15622,10 @@ const NvDialog$1 = /*@__PURE__*/ proxyCustomElement(class NvDialog extends H {
|
|
|
15591
15622
|
"autofocus": [516],
|
|
15592
15623
|
"show": [64],
|
|
15593
15624
|
"close": [64]
|
|
15594
|
-
}, [[4, "keydown", "handleKeyDown"]
|
|
15625
|
+
}, [[4, "keydown", "handleKeyDown"]], {
|
|
15595
15626
|
"open": ["handleDialogOpenChange"]
|
|
15596
15627
|
}]);
|
|
15597
|
-
function defineCustomElement$1$
|
|
15628
|
+
function defineCustomElement$1$u() {
|
|
15598
15629
|
if (typeof customElements === "undefined") {
|
|
15599
15630
|
return;
|
|
15600
15631
|
}
|
|
@@ -15607,41 +15638,41 @@ function defineCustomElement$1$l() {
|
|
|
15607
15638
|
break;
|
|
15608
15639
|
case "nv-button":
|
|
15609
15640
|
if (!customElements.get(tagName)) {
|
|
15610
|
-
defineCustomElement$
|
|
15641
|
+
defineCustomElement$_();
|
|
15611
15642
|
}
|
|
15612
15643
|
break;
|
|
15613
15644
|
case "nv-dialogfooter":
|
|
15614
15645
|
if (!customElements.get(tagName)) {
|
|
15615
|
-
defineCustomElement$
|
|
15646
|
+
defineCustomElement$R();
|
|
15616
15647
|
}
|
|
15617
15648
|
break;
|
|
15618
15649
|
case "nv-dialogheader":
|
|
15619
15650
|
if (!customElements.get(tagName)) {
|
|
15620
|
-
defineCustomElement$
|
|
15651
|
+
defineCustomElement$Q();
|
|
15621
15652
|
}
|
|
15622
15653
|
break;
|
|
15623
15654
|
case "nv-icon":
|
|
15624
15655
|
if (!customElements.get(tagName)) {
|
|
15625
|
-
defineCustomElement$
|
|
15656
|
+
defineCustomElement$1c();
|
|
15626
15657
|
}
|
|
15627
15658
|
break;
|
|
15628
15659
|
case "nv-loader":
|
|
15629
15660
|
if (!customElements.get(tagName)) {
|
|
15630
|
-
defineCustomElement$
|
|
15661
|
+
defineCustomElement$1b();
|
|
15631
15662
|
}
|
|
15632
15663
|
break;
|
|
15633
15664
|
} });
|
|
15634
15665
|
}
|
|
15635
|
-
defineCustomElement$1$
|
|
15666
|
+
defineCustomElement$1$u();
|
|
15636
15667
|
|
|
15637
15668
|
const NvDialog$2 = NvDialog$1;
|
|
15638
|
-
const defineCustomElement$
|
|
15669
|
+
const defineCustomElement$P = defineCustomElement$1$u;
|
|
15639
15670
|
|
|
15640
15671
|
const NvDialogfooter$1 = NvDialogfooter$2;
|
|
15641
|
-
const defineCustomElement$
|
|
15672
|
+
const defineCustomElement$O = defineCustomElement$R;
|
|
15642
15673
|
|
|
15643
15674
|
const NvDialogheader$1 = NvDialogheader$2;
|
|
15644
|
-
const defineCustomElement$
|
|
15675
|
+
const defineCustomElement$N = defineCustomElement$Q;
|
|
15645
15676
|
|
|
15646
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)}";
|
|
15647
15678
|
const NvFieldcheckboxStyle0 = nvFieldcheckboxCss;
|
|
@@ -15757,13 +15788,13 @@ const NvFieldcheckbox$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldcheckbox
|
|
|
15757
15788
|
/****************************************************************************/
|
|
15758
15789
|
//#region RENDER
|
|
15759
15790
|
render() {
|
|
15760
|
-
return (h$1(Host$1, { key: '
|
|
15791
|
+
return (h$1(Host$1, { key: '4db161f34d188b5370f28a39ec9637d269719b04', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("div", { key: '7608f50840faf35c4da8dbfcc8240becece6f609', class: "input-container" }, h$1("input", { key: '733ad01f2cadd1e17d6bfc40022ef9ab1db93f0a', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !this.required, required: this.required, indeterminate: this.indeterminate, ref: el => {
|
|
15761
15792
|
if (el) {
|
|
15762
15793
|
el.indeterminate = this.indeterminate;
|
|
15763
15794
|
}
|
|
15764
|
-
} }), h$1("span", { key: '
|
|
15765
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
15766
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
15795
|
+
} }), h$1("span", { key: '81da5960abee0aa2c74f10612d05388e427b3a1a', class: "icon" }, this.checked && !this.indeterminate && (h$1("slot", { key: 'e257ebad9a1c23bc77961645dabe6e0fc8c51440', name: "checked-icon" }, h$1("svg", { key: 'd4005dfd634169aa14140c7eba1e0ac63e28342d', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: '1817c25edf09f09d4317d9e41b52484883c7a943', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h$1("slot", { key: '043148db3518e99f2850ffa4b3622f7ae3c654a7', name: "indeterminate-icon" }, h$1("svg", { key: 'b8a67cfa8d0f880657b62b89ddae7a238b22bc26', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h$1("path", { key: 'd63f610ff5cca552d295de18dffeda84cbd370ac', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h$1("slot", { key: 'e4befe30753cd2f76da4af10e648704068f7ce55' }), h$1("div", { key: '281b4046dbeb8b8dcb05fc154b65ed822fa45960', class: "text-container" }, h$1("slot", { key: '8e40b1e52c55fa45b38bec26e6b20da90c8553ed', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'ad2e4a47d1d5a218835b410579e7e93febd08d15', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: '815d03f2c69465e430178c29a885ad770e2c561f', name: "label" }, this.label))), (this.description ||
|
|
15796
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '22159e2cb8c4897507da91ebee09502922093ead', class: "description" }, h$1("slot", { key: '61b277015ecb4e0e3b813e45dbb6cd7ebe89506b', name: "description" }, this.description)))), (this.errorDescription ||
|
|
15797
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '924d333e443c943b5fe37f31e3191d231b9d87e1', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '2469d3f6cf2121b489b637138642417d27556740', name: "error-description" }, this.errorDescription))))));
|
|
15767
15798
|
}
|
|
15768
15799
|
static get formAssociated() { return true; }
|
|
15769
15800
|
get el() { return this; }
|
|
@@ -15793,7 +15824,7 @@ const NvFieldcheckbox$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldcheckbox
|
|
|
15793
15824
|
}, [[0, "change", "handleChange"]], {
|
|
15794
15825
|
"checked": ["onCheckedChanged"]
|
|
15795
15826
|
}]);
|
|
15796
|
-
function defineCustomElement$
|
|
15827
|
+
function defineCustomElement$M() {
|
|
15797
15828
|
if (typeof customElements === "undefined") {
|
|
15798
15829
|
return;
|
|
15799
15830
|
}
|
|
@@ -15806,10 +15837,10 @@ function defineCustomElement$B() {
|
|
|
15806
15837
|
break;
|
|
15807
15838
|
} });
|
|
15808
15839
|
}
|
|
15809
|
-
defineCustomElement$
|
|
15840
|
+
defineCustomElement$M();
|
|
15810
15841
|
|
|
15811
15842
|
const NvFieldcheckbox$1 = NvFieldcheckbox$2;
|
|
15812
|
-
const defineCustomElement$
|
|
15843
|
+
const defineCustomElement$L = defineCustomElement$M;
|
|
15813
15844
|
|
|
15814
15845
|
var inputmask = {exports: {}};
|
|
15815
15846
|
|
|
@@ -19655,17 +19686,17 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19655
19686
|
* @param {MouseEvent} event - The click event.
|
|
19656
19687
|
*/
|
|
19657
19688
|
this.handleClickOutside = (event) => {
|
|
19658
|
-
|
|
19689
|
+
var _a;
|
|
19690
|
+
if (!(event.target instanceof Node))
|
|
19691
|
+
return;
|
|
19692
|
+
if (!((_a = this.el) === null || _a === void 0 ? void 0 : _a.contains(event.target)))
|
|
19659
19693
|
this.open = false;
|
|
19660
|
-
}
|
|
19661
19694
|
};
|
|
19662
19695
|
/**
|
|
19663
19696
|
* Focuses the input when the input container is clicked.
|
|
19664
19697
|
* @param {MouseEvent} event - The click event.
|
|
19665
19698
|
*/
|
|
19666
19699
|
this.handleInputContainerClick = (event) => {
|
|
19667
|
-
// Stop propagation to prevent closing parent dialogs
|
|
19668
|
-
event.stopPropagation();
|
|
19669
19700
|
if (this.readonly || this.disabled) {
|
|
19670
19701
|
event.preventDefault();
|
|
19671
19702
|
return;
|
|
@@ -19728,12 +19759,10 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19728
19759
|
* Toggles the opening/closing of the popover.
|
|
19729
19760
|
* @param {MouseEvent} event - The click event.
|
|
19730
19761
|
*/
|
|
19731
|
-
this.toggleCalendar = (
|
|
19762
|
+
this.toggleCalendar = () => {
|
|
19732
19763
|
if (this.readonly || this.disabled) {
|
|
19733
19764
|
return;
|
|
19734
19765
|
}
|
|
19735
|
-
// Stop propagation to prevent closing parent dialogs
|
|
19736
|
-
event.stopPropagation();
|
|
19737
19766
|
this.open = !this.open;
|
|
19738
19767
|
};
|
|
19739
19768
|
}
|
|
@@ -19810,9 +19839,6 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19810
19839
|
//#endregion METHODS
|
|
19811
19840
|
/****************************************************************************/
|
|
19812
19841
|
//#region LIFECYCLE
|
|
19813
|
-
connectedCallback() {
|
|
19814
|
-
document.addEventListener('click', this.handleClickOutside);
|
|
19815
|
-
}
|
|
19816
19842
|
componentWillLoad() {
|
|
19817
19843
|
if (this.value) {
|
|
19818
19844
|
this.singleValue = this.value;
|
|
@@ -19839,7 +19865,6 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19839
19865
|
}
|
|
19840
19866
|
}
|
|
19841
19867
|
disconnectedCallback() {
|
|
19842
|
-
document.removeEventListener('click', this.handleClickOutside);
|
|
19843
19868
|
if (this.inputElement &&
|
|
19844
19869
|
this.inputElement.inputmask) {
|
|
19845
19870
|
this.inputElement.inputmask.remove();
|
|
@@ -19894,6 +19919,9 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19894
19919
|
handleClosePopover() {
|
|
19895
19920
|
this.open = false;
|
|
19896
19921
|
}
|
|
19922
|
+
handleDocumentClick(event) {
|
|
19923
|
+
this.handleClickOutside(event);
|
|
19924
|
+
}
|
|
19897
19925
|
handleKeyDown(event) {
|
|
19898
19926
|
if (event.key === 'Escape') {
|
|
19899
19927
|
this.open = false;
|
|
@@ -19917,13 +19945,13 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19917
19945
|
/****************************************************************************/
|
|
19918
19946
|
//#region RENDER
|
|
19919
19947
|
render() {
|
|
19920
|
-
return (h$1(Host$1, { key: '
|
|
19921
|
-
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '
|
|
19922
|
-
this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h$1("nv-icon", { key: '
|
|
19948
|
+
return (h$1(Host$1, { key: 'c8b62c90ddfde96e12cb63aafba29d5b507286c6' }, ((this.label && this.label.length > 0) ||
|
|
19949
|
+
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '761e06fd5d55b23946a87b86403105be049bbb4b', htmlFor: this.inputId }, h$1("slot", { key: '73676bbc15ddc90172e0d1a6da0c84bb21e433a1', name: "label" }, this.label))), h$1("nv-popover", { key: 'dddd5f5619c6696b1a7b9991c94fba01e3710199', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: '28bcfe3c9a50b81b1c2565b1dbab0479cf0927c0', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '9ff4bfecd08b05c3425baa16f56da95584a33977', name: "before-input" }), h$1("div", { key: '8cfb31352d12b45d4450fabeb84328bfb9644ee4', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: 'ac99e0f250644eef55a24979f92890b04c03179e', name: "leading-input" }), h$1("input", { key: 'dd490963055df6295d6a04eda58d44857d827255', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
|
|
19950
|
+
this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h$1("nv-icon", { key: '16b6825561152e5157aca753082c7229d15e2c46', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '4780677cf8da9866d2fa4d40557b564b8920b065', name: "circle-check", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: 'c6bd82b770b28f35b6716abc8cba5a28aa13dd56', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
|
|
19923
19951
|
,
|
|
19924
|
-
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '
|
|
19925
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
19926
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
19952
|
+
size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '85ed704fa118dc5087af5ce8e791e91a3c210093', name: "after-input" })), h$1("div", { key: 'ad9eaa9cedb72c56d8d5b201904259798a790aa4', slot: "content" }, h$1("nv-calendar", { key: '79abc83113d0a14bdfcb19e693b6f5d94adaa071', dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
|
|
19953
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '8d3620b3ddb001c5ed1ba0557310a7bf4af4c5e0', class: "description" }, h$1("slot", { key: 'b80b706332d733476feec054737f35a4f008a078', name: "description" }, this.description))), (this.errorDescription ||
|
|
19954
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '976a1e236e6391ef7e8aeac0b56c1fd815bb9640', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: 'eb645c44cde2c175892ed31326d71897e3a5062c' })));
|
|
19927
19955
|
}
|
|
19928
19956
|
get el() { return this; }
|
|
19929
19957
|
static get watchers() { return {
|
|
@@ -19960,11 +19988,11 @@ const NvFielddate$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddate extends
|
|
|
19960
19988
|
"singleValue": [32],
|
|
19961
19989
|
"open": [32],
|
|
19962
19990
|
"clear": [64]
|
|
19963
|
-
}, [[0, "singleDateChange", "handleSingleDateChange"], [0, "closePopover", "handleClosePopover"], [0, "keydown", "handleKeyDown"]], {
|
|
19991
|
+
}, [[0, "singleDateChange", "handleSingleDateChange"], [0, "closePopover", "handleClosePopover"], [4, "click", "handleDocumentClick"], [0, "keydown", "handleKeyDown"]], {
|
|
19964
19992
|
"value": ["handleValueChange"],
|
|
19965
19993
|
"open": ["handleOpenChange"]
|
|
19966
19994
|
}]);
|
|
19967
|
-
function defineCustomElement$1$
|
|
19995
|
+
function defineCustomElement$1$t() {
|
|
19968
19996
|
if (typeof customElements === "undefined") {
|
|
19969
19997
|
return;
|
|
19970
19998
|
}
|
|
@@ -19977,35 +20005,35 @@ function defineCustomElement$1$k() {
|
|
|
19977
20005
|
break;
|
|
19978
20006
|
case "nv-calendar":
|
|
19979
20007
|
if (!customElements.get(tagName)) {
|
|
19980
|
-
defineCustomElement$
|
|
20008
|
+
defineCustomElement$X();
|
|
19981
20009
|
}
|
|
19982
20010
|
break;
|
|
19983
20011
|
case "nv-icon":
|
|
19984
20012
|
if (!customElements.get(tagName)) {
|
|
19985
|
-
defineCustomElement$
|
|
20013
|
+
defineCustomElement$1c();
|
|
19986
20014
|
}
|
|
19987
20015
|
break;
|
|
19988
20016
|
case "nv-iconbutton":
|
|
19989
20017
|
if (!customElements.get(tagName)) {
|
|
19990
|
-
defineCustomElement
|
|
20018
|
+
defineCustomElement$1a();
|
|
19991
20019
|
}
|
|
19992
20020
|
break;
|
|
19993
20021
|
case "nv-loader":
|
|
19994
20022
|
if (!customElements.get(tagName)) {
|
|
19995
|
-
defineCustomElement$
|
|
20023
|
+
defineCustomElement$1b();
|
|
19996
20024
|
}
|
|
19997
20025
|
break;
|
|
19998
20026
|
case "nv-popover":
|
|
19999
20027
|
if (!customElements.get(tagName)) {
|
|
20000
|
-
defineCustomElement$
|
|
20028
|
+
defineCustomElement$12();
|
|
20001
20029
|
}
|
|
20002
20030
|
break;
|
|
20003
20031
|
} });
|
|
20004
20032
|
}
|
|
20005
|
-
defineCustomElement$1$
|
|
20033
|
+
defineCustomElement$1$t();
|
|
20006
20034
|
|
|
20007
20035
|
const NvFielddate$2 = NvFielddate$1;
|
|
20008
|
-
const defineCustomElement$
|
|
20036
|
+
const defineCustomElement$K = defineCustomElement$1$t;
|
|
20009
20037
|
|
|
20010
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)}";
|
|
20011
20039
|
const NvFielddaterangeStyle0 = nvFielddaterangeCss;
|
|
@@ -20228,12 +20256,10 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
20228
20256
|
* Toggles the opening/closing of the popover.
|
|
20229
20257
|
* @param {MouseEvent} event - The click event.
|
|
20230
20258
|
*/
|
|
20231
|
-
this.toggleCalendar = (
|
|
20259
|
+
this.toggleCalendar = () => {
|
|
20232
20260
|
if (this.readonly || this.disabled) {
|
|
20233
20261
|
return;
|
|
20234
20262
|
}
|
|
20235
|
-
// Stop propagation to prevent closing parent dialogs
|
|
20236
|
-
event.stopPropagation();
|
|
20237
20263
|
this.open = !this.open;
|
|
20238
20264
|
};
|
|
20239
20265
|
}
|
|
@@ -20523,12 +20549,12 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
20523
20549
|
/****************************************************************************/
|
|
20524
20550
|
//#region RENDER
|
|
20525
20551
|
render() {
|
|
20526
|
-
return (h$1(Host$1, { key: '
|
|
20527
|
-
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '
|
|
20528
|
-
this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h$1("div", { key: '
|
|
20529
|
-
this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h$1("nv-icon", { key: '
|
|
20530
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
20531
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
20552
|
+
return (h$1(Host$1, { key: '9f0ce8b2e6579ea6225dfbac7cb75cf78ea0c5f5' }, ((this.label && this.label.length > 0) ||
|
|
20553
|
+
this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '9adfefaeda1116c4b3dfa297529aa77a48b66cfe', htmlFor: this.startInputId }, h$1("slot", { key: '819fcfcf8ee7b649e3271d9c8ae24a4b70a60c81', name: "label" }, this.label))), h$1("nv-popover", { key: 'f689f4796b739ca1651cb812c428663e5935fa64', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'c5f3174c497a74205a4ab5e289ededbc2ab6ca3f', slot: "trigger", class: "input-wrapper" }, h$1("slot", { key: '08e0703992304fe911a2ff4eef74023c8832629b', name: "before-input" }), h$1("div", { key: '9bc9c65f34a2de1c9f8054ccc038258982033e1b', class: "input-container" }, h$1("slot", { key: '47dbf93940e9c452d20b67b81fb7abd9b807af0d', name: "leading-input" }), h$1("div", { key: 'ea4587f7c5013cbd8d7e093aa85532438c18b5ab', class: "range-inputs" }, h$1("input", { key: '544297b36fb3646178c663d6aaa22c2cd3e0616b', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
|
|
20554
|
+
this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: this.required, autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h$1("div", { key: '15862aa6acde78f9da8433ded18b5a9ca8508ff5', class: "range-separator" }), h$1("input", { key: 'f481feb34af3f5581f2d97bafaa126f306aae12b', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
|
|
20555
|
+
this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: this.required, value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h$1("nv-icon", { key: '9a4a155d4e6ab389406ad14cc29e8fa25e578ce9', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '19969e5286a666fceb583de8901191595329f380', name: "circle-check", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: '76a17a3d44ce189128467997434e34e82d607363', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '53c374d1628c396015f7006ad63c294932d5e78e', name: "after-input" })), h$1("div", { key: 'f5d53344987a39a54ac933cc94c802212b98c651', slot: "content" }, h$1("nv-calendar", { key: '4992731905d118e806a9a22df0413bdfb350f61e', ref: el => (this.calendarElement = el), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
|
|
20556
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '396e2f1e53b4e7cd6233993c10aac1b1001d6a3c', class: "description" }, h$1("slot", { key: 'fccf3a987ed03560d8eb8a3657ca3ce9f291493c', name: "description" }, this.description))), (this.errorDescription ||
|
|
20557
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'e76e336e460ed64a05fd1748859f159ce3b74120', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h$1("slot", { name: "error-description" })) : (this.errorDescription))), h$1("slot", { key: 'be76d31f0eeaf50e589f0ab317e04bd3be3d9ba4' })));
|
|
20532
20558
|
}
|
|
20533
20559
|
get el() { return this; }
|
|
20534
20560
|
static get watchers() { return {
|
|
@@ -20573,7 +20599,7 @@ const NvFielddaterange$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddateran
|
|
|
20573
20599
|
"value": ["handleValueChange"],
|
|
20574
20600
|
"open": ["onOpenChanged"]
|
|
20575
20601
|
}]);
|
|
20576
|
-
function defineCustomElement$1$
|
|
20602
|
+
function defineCustomElement$1$s() {
|
|
20577
20603
|
if (typeof customElements === "undefined") {
|
|
20578
20604
|
return;
|
|
20579
20605
|
}
|
|
@@ -20586,37 +20612,37 @@ function defineCustomElement$1$j() {
|
|
|
20586
20612
|
break;
|
|
20587
20613
|
case "nv-calendar":
|
|
20588
20614
|
if (!customElements.get(tagName)) {
|
|
20589
|
-
defineCustomElement$
|
|
20615
|
+
defineCustomElement$X();
|
|
20590
20616
|
}
|
|
20591
20617
|
break;
|
|
20592
20618
|
case "nv-icon":
|
|
20593
20619
|
if (!customElements.get(tagName)) {
|
|
20594
|
-
defineCustomElement$
|
|
20620
|
+
defineCustomElement$1c();
|
|
20595
20621
|
}
|
|
20596
20622
|
break;
|
|
20597
20623
|
case "nv-iconbutton":
|
|
20598
20624
|
if (!customElements.get(tagName)) {
|
|
20599
|
-
defineCustomElement
|
|
20625
|
+
defineCustomElement$1a();
|
|
20600
20626
|
}
|
|
20601
20627
|
break;
|
|
20602
20628
|
case "nv-loader":
|
|
20603
20629
|
if (!customElements.get(tagName)) {
|
|
20604
|
-
defineCustomElement$
|
|
20630
|
+
defineCustomElement$1b();
|
|
20605
20631
|
}
|
|
20606
20632
|
break;
|
|
20607
20633
|
case "nv-popover":
|
|
20608
20634
|
if (!customElements.get(tagName)) {
|
|
20609
|
-
defineCustomElement$
|
|
20635
|
+
defineCustomElement$12();
|
|
20610
20636
|
}
|
|
20611
20637
|
break;
|
|
20612
20638
|
} });
|
|
20613
20639
|
}
|
|
20614
|
-
defineCustomElement$1$
|
|
20640
|
+
defineCustomElement$1$s();
|
|
20615
20641
|
|
|
20616
20642
|
const NvFielddaterange$2 = NvFielddaterange$1;
|
|
20617
|
-
const defineCustomElement$
|
|
20643
|
+
const defineCustomElement$J = defineCustomElement$1$s;
|
|
20618
20644
|
|
|
20619
|
-
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;
|
|
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)}";
|
|
20620
20646
|
const NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
|
|
20621
20647
|
|
|
20622
20648
|
const NvFielddropdownitem$2 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdownitem extends H {
|
|
@@ -20676,7 +20702,7 @@ const NvFielddropdownitem$2 = /*@__PURE__*/ proxyCustomElement(class NvFielddrop
|
|
|
20676
20702
|
/****************************************************************************/
|
|
20677
20703
|
//#region RENDER
|
|
20678
20704
|
render() {
|
|
20679
|
-
return (h$1(Host$1, { key: '
|
|
20705
|
+
return (h$1(Host$1, { key: 'd5a70771cd557f33b37766fbbe14cd0a401a3d35', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h$1("slot", { key: 'e824671ec27c1c1e20260ca4d194ee254d6aa390' }), !this.composed && (h$1("div", { key: '60f189d2c990d80fd1e16238c38fc7f065e915e6', class: "text-wrapper" }, h$1("span", { key: '28a2df55dc7b188ce7c6e0e716bef731597c6f28', "data-scope": "text" }, this.label))), this.selected && (h$1("nv-icon", { key: '6d0257c1e7ea842f9880b68f2c6e0a0da38f0b4e', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
|
|
20680
20706
|
}
|
|
20681
20707
|
get el() { return this; }
|
|
20682
20708
|
static get style() { return NvFielddropdownitemStyle0; }
|
|
@@ -20687,7 +20713,7 @@ const NvFielddropdownitem$2 = /*@__PURE__*/ proxyCustomElement(class NvFielddrop
|
|
|
20687
20713
|
"label": [513],
|
|
20688
20714
|
"detached": [516]
|
|
20689
20715
|
}, [[0, "keydown", "handleKeyDown"]]]);
|
|
20690
|
-
function defineCustomElement$
|
|
20716
|
+
function defineCustomElement$I() {
|
|
20691
20717
|
if (typeof customElements === "undefined") {
|
|
20692
20718
|
return;
|
|
20693
20719
|
}
|
|
@@ -20700,14 +20726,14 @@ function defineCustomElement$x() {
|
|
|
20700
20726
|
break;
|
|
20701
20727
|
case "nv-icon":
|
|
20702
20728
|
if (!customElements.get(tagName)) {
|
|
20703
|
-
defineCustomElement$
|
|
20729
|
+
defineCustomElement$1c();
|
|
20704
20730
|
}
|
|
20705
20731
|
break;
|
|
20706
20732
|
} });
|
|
20707
20733
|
}
|
|
20708
|
-
defineCustomElement$
|
|
20734
|
+
defineCustomElement$I();
|
|
20709
20735
|
|
|
20710
|
-
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]{width:100%;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
|
|
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)}";
|
|
20711
20737
|
const NvFielddropdownStyle0 = nvFielddropdownCss;
|
|
20712
20738
|
|
|
20713
20739
|
const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown extends H {
|
|
@@ -20971,7 +20997,9 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
20971
20997
|
this.open = !this.open;
|
|
20972
20998
|
}
|
|
20973
20999
|
setFilterInputToSelectedValue() {
|
|
20974
|
-
if (!this.filterable)
|
|
21000
|
+
if (!this.filterable && !this.disabled && !this.readonly)
|
|
21001
|
+
return;
|
|
21002
|
+
if (!this.inputElement)
|
|
20975
21003
|
return;
|
|
20976
21004
|
if (!this.value)
|
|
20977
21005
|
return (this.inputElement.value = '');
|
|
@@ -21064,14 +21092,21 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
21064
21092
|
disconnectedCallback() {
|
|
21065
21093
|
clearTimeout(this.debounceTimer);
|
|
21066
21094
|
}
|
|
21095
|
+
componentDidRender() {
|
|
21096
|
+
// Make sure to show the value when the field is disabled or readonly
|
|
21097
|
+
// as we switch to an input instead of a p in that case
|
|
21098
|
+
if (!this.filterable && (this.disabled || this.readonly)) {
|
|
21099
|
+
this.inputElement.value = this.getSelectedLabel();
|
|
21100
|
+
}
|
|
21101
|
+
}
|
|
21067
21102
|
//#endregion LIFECYCLE
|
|
21068
21103
|
/****************************************************************************/
|
|
21069
21104
|
//#region RENDER
|
|
21070
21105
|
render() {
|
|
21071
21106
|
var _a;
|
|
21072
|
-
return (h$1(Host$1, { key: '
|
|
21073
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
21074
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
21107
|
+
return (h$1(Host$1, { key: '349904a9bf07fb37c44f0b73c95ae736efb6a3b2', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'c5f8bb31012cac1c671fdca7b77325b28b7f0fad', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, h$1("slot", { key: 'cec5527d93c3742abbe5cb26d452a0ce061998dc', name: "label" }, this.label))), h$1("nv-popover", { key: '6b5c8d8fc0fe2615ac2703e78faa91a4c8e0f792', triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'f07d22a294703544be6687e11b880d01a29c1629', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: '4067e496595f3647c6ab30a858011f38da9fe039', name: "before-input" }), h$1("div", { key: 'e13bf4e23b508a3ce621a677509c2052ce6ee146', class: "input-container" }, h$1("slot", { key: '8f26a1ab3d0c7405e4bc16acfcd6ab7f27336816', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h$1("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (h$1("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (h$1("nv-iconbutton", { key: '715fe5388001e7d005ee4c57f6ea699b2b507dbb', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (h$1("nv-icon", { key: '18d825c0bfd9b6bf528dbf34f7e7a2f90678fa87', name: "alert-circle", class: "validation", size: "md" })), h$1("nv-iconbutton", { key: 'aee8efcaeb022ca3ef73bbd3085755817e6fae12', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), h$1("slot", { key: '403e224fadcb71ad15574a100b9892f3b8bfa209', name: "after-input" })), h$1("div", { key: 'b154f9f5bb6b8bc73c2c0fdfeae096586ca43275', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h$1("ul", { key: 'ae92bb94df44b545ce83644fe3cb4b312f7d3147' }, this.options.map(option => (h$1("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), h$1("slot", { key: '8f8a76ba2cfd23cbff34a579222a2e1f8a635142', name: "content" }))), (this.description ||
|
|
21108
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'c3b288a86fd98c0cf61bf671524f2a5c0d8ccd47', class: "description" }, h$1("slot", { key: '212e58e32660ef43042c418c09b828ed388f4017', name: "description" }, this.description))), (this.errorDescription ||
|
|
21109
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '0baf91460aac3f2ba5b2d41721fc44c5eeb2f6aa', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '134681ffcf2a86b86bac60ff0ebabbba4e89b380', name: "error-description" }, this.errorDescription)))));
|
|
21075
21110
|
}
|
|
21076
21111
|
static get formAssociated() { return true; }
|
|
21077
21112
|
get el() { return this; }
|
|
@@ -21113,7 +21148,7 @@ const NvFielddropdown$1 = /*@__PURE__*/ proxyCustomElement(class NvFielddropdown
|
|
|
21113
21148
|
"value": ["handleValueChange"],
|
|
21114
21149
|
"options": ["handleOptionsChange"]
|
|
21115
21150
|
}]);
|
|
21116
|
-
function defineCustomElement$1$
|
|
21151
|
+
function defineCustomElement$1$r() {
|
|
21117
21152
|
if (typeof customElements === "undefined") {
|
|
21118
21153
|
return;
|
|
21119
21154
|
}
|
|
@@ -21126,38 +21161,38 @@ function defineCustomElement$1$i() {
|
|
|
21126
21161
|
break;
|
|
21127
21162
|
case "nv-fielddropdownitem":
|
|
21128
21163
|
if (!customElements.get(tagName)) {
|
|
21129
|
-
defineCustomElement$
|
|
21164
|
+
defineCustomElement$I();
|
|
21130
21165
|
}
|
|
21131
21166
|
break;
|
|
21132
21167
|
case "nv-icon":
|
|
21133
21168
|
if (!customElements.get(tagName)) {
|
|
21134
|
-
defineCustomElement$
|
|
21169
|
+
defineCustomElement$1c();
|
|
21135
21170
|
}
|
|
21136
21171
|
break;
|
|
21137
21172
|
case "nv-iconbutton":
|
|
21138
21173
|
if (!customElements.get(tagName)) {
|
|
21139
|
-
defineCustomElement
|
|
21174
|
+
defineCustomElement$1a();
|
|
21140
21175
|
}
|
|
21141
21176
|
break;
|
|
21142
21177
|
case "nv-loader":
|
|
21143
21178
|
if (!customElements.get(tagName)) {
|
|
21144
|
-
defineCustomElement$
|
|
21179
|
+
defineCustomElement$1b();
|
|
21145
21180
|
}
|
|
21146
21181
|
break;
|
|
21147
21182
|
case "nv-popover":
|
|
21148
21183
|
if (!customElements.get(tagName)) {
|
|
21149
|
-
defineCustomElement$
|
|
21184
|
+
defineCustomElement$12();
|
|
21150
21185
|
}
|
|
21151
21186
|
break;
|
|
21152
21187
|
} });
|
|
21153
21188
|
}
|
|
21154
|
-
defineCustomElement$1$
|
|
21189
|
+
defineCustomElement$1$r();
|
|
21155
21190
|
|
|
21156
21191
|
const NvFielddropdown$2 = NvFielddropdown$1;
|
|
21157
|
-
const defineCustomElement$
|
|
21192
|
+
const defineCustomElement$H = defineCustomElement$1$r;
|
|
21158
21193
|
|
|
21159
21194
|
const NvFielddropdownitem$1 = NvFielddropdownitem$2;
|
|
21160
|
-
const defineCustomElement$
|
|
21195
|
+
const defineCustomElement$G = defineCustomElement$I;
|
|
21161
21196
|
|
|
21162
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)}";
|
|
21163
21198
|
const NvFielddropdownitemcheckStyle0 = nvFielddropdownitemcheckCss;
|
|
@@ -21212,7 +21247,7 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
|
|
|
21212
21247
|
/****************************************************************************/
|
|
21213
21248
|
//#region RENDER
|
|
21214
21249
|
render() {
|
|
21215
|
-
return (h$1(Host$1, { key: '
|
|
21250
|
+
return (h$1(Host$1, { key: '1687dc92f82edea9c1da273c0bd3c45f788a1d82', onClick: this.handleClick }, h$1("nv-fieldcheckbox", { key: '78c36b53395398068513256f044a10cd44fc8d98', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, h$1("slot", { key: 'af95c41a46d57060b62098cc4735a8aef0326223' }), h$1("slot", { key: '0bf00132a35df36f3a4e8dc40610a107c1786eab', name: "main" }), h$1("slot", { key: '3ce40d59700f4e8b764aeac25e39976329422b67', name: "label" }), h$1("slot", { key: 'edf7025cebd62843b55f92014d12905574166dd7', name: "description" }))));
|
|
21216
21251
|
}
|
|
21217
21252
|
get el() { return this; }
|
|
21218
21253
|
static get style() { return NvFielddropdownitemcheckStyle0; }
|
|
@@ -21224,7 +21259,7 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
|
|
|
21224
21259
|
"group": [513],
|
|
21225
21260
|
"disabled": [516]
|
|
21226
21261
|
}]);
|
|
21227
|
-
function defineCustomElement$
|
|
21262
|
+
function defineCustomElement$F() {
|
|
21228
21263
|
if (typeof customElements === "undefined") {
|
|
21229
21264
|
return;
|
|
21230
21265
|
}
|
|
@@ -21237,17 +21272,17 @@ function defineCustomElement$u() {
|
|
|
21237
21272
|
break;
|
|
21238
21273
|
case "nv-fieldcheckbox":
|
|
21239
21274
|
if (!customElements.get(tagName)) {
|
|
21240
|
-
defineCustomElement$
|
|
21275
|
+
defineCustomElement$M();
|
|
21241
21276
|
}
|
|
21242
21277
|
break;
|
|
21243
21278
|
} });
|
|
21244
21279
|
}
|
|
21245
|
-
defineCustomElement$
|
|
21280
|
+
defineCustomElement$F();
|
|
21246
21281
|
|
|
21247
21282
|
const NvFielddropdownitemcheck$1 = NvFielddropdownitemcheck$2;
|
|
21248
|
-
const defineCustomElement$
|
|
21283
|
+
const defineCustomElement$E = defineCustomElement$F;
|
|
21249
21284
|
|
|
21250
|
-
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]{width:100%;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}";
|
|
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}";
|
|
21251
21286
|
const NvFieldmultiselectStyle0 = nvFieldmultiselectCss;
|
|
21252
21287
|
|
|
21253
21288
|
const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmultiselect extends H {
|
|
@@ -22648,7 +22683,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
22648
22683
|
"value": ["watchValueHandler"],
|
|
22649
22684
|
"open": ["handleOpenChange"]
|
|
22650
22685
|
}]);
|
|
22651
|
-
function defineCustomElement$1$
|
|
22686
|
+
function defineCustomElement$1$q() {
|
|
22652
22687
|
if (typeof customElements === "undefined") {
|
|
22653
22688
|
return;
|
|
22654
22689
|
}
|
|
@@ -22661,45 +22696,45 @@ function defineCustomElement$1$h() {
|
|
|
22661
22696
|
break;
|
|
22662
22697
|
case "nv-badge":
|
|
22663
22698
|
if (!customElements.get(tagName)) {
|
|
22664
|
-
defineCustomElement$
|
|
22699
|
+
defineCustomElement$14();
|
|
22665
22700
|
}
|
|
22666
22701
|
break;
|
|
22667
22702
|
case "nv-fieldcheckbox":
|
|
22668
22703
|
if (!customElements.get(tagName)) {
|
|
22669
|
-
defineCustomElement$
|
|
22704
|
+
defineCustomElement$M();
|
|
22670
22705
|
}
|
|
22671
22706
|
break;
|
|
22672
22707
|
case "nv-fielddropdownitemcheck":
|
|
22673
22708
|
if (!customElements.get(tagName)) {
|
|
22674
|
-
defineCustomElement$
|
|
22709
|
+
defineCustomElement$F();
|
|
22675
22710
|
}
|
|
22676
22711
|
break;
|
|
22677
22712
|
case "nv-icon":
|
|
22678
22713
|
if (!customElements.get(tagName)) {
|
|
22679
|
-
defineCustomElement$
|
|
22714
|
+
defineCustomElement$1c();
|
|
22680
22715
|
}
|
|
22681
22716
|
break;
|
|
22682
22717
|
case "nv-iconbutton":
|
|
22683
22718
|
if (!customElements.get(tagName)) {
|
|
22684
|
-
defineCustomElement
|
|
22719
|
+
defineCustomElement$1a();
|
|
22685
22720
|
}
|
|
22686
22721
|
break;
|
|
22687
22722
|
case "nv-loader":
|
|
22688
22723
|
if (!customElements.get(tagName)) {
|
|
22689
|
-
defineCustomElement$
|
|
22724
|
+
defineCustomElement$1b();
|
|
22690
22725
|
}
|
|
22691
22726
|
break;
|
|
22692
22727
|
case "nv-popover":
|
|
22693
22728
|
if (!customElements.get(tagName)) {
|
|
22694
|
-
defineCustomElement$
|
|
22729
|
+
defineCustomElement$12();
|
|
22695
22730
|
}
|
|
22696
22731
|
break;
|
|
22697
22732
|
} });
|
|
22698
22733
|
}
|
|
22699
|
-
defineCustomElement$1$
|
|
22734
|
+
defineCustomElement$1$q();
|
|
22700
22735
|
|
|
22701
22736
|
const NvFieldmultiselect$2 = NvFieldmultiselect$1;
|
|
22702
|
-
const defineCustomElement$
|
|
22737
|
+
const defineCustomElement$D = defineCustomElement$1$q;
|
|
22703
22738
|
|
|
22704
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}";
|
|
22705
22740
|
const NvFieldnumberStyle0 = nvFieldnumberCss;
|
|
@@ -22830,9 +22865,9 @@ const NvFieldnumber$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldnumber ext
|
|
|
22830
22865
|
/****************************************************************************/
|
|
22831
22866
|
//#region RENDER
|
|
22832
22867
|
render() {
|
|
22833
|
-
return (h$1(Host$1, { key: '
|
|
22834
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
22835
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
22868
|
+
return (h$1(Host$1, { key: '3afce74f50fe43ac056458d04951d17ddddfeabb' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '57b43fe9c0385d1f2f649a559fc1cf5e99441c75', htmlFor: this.inputId }, h$1("slot", { key: 'dbc3019bc04f370571cca5ef33d67ed22e3c4a6e', name: "label" }, this.label))), h$1("div", { key: 'facbb2b93e2057ec061c7a9c612fb09ee5c7687d', class: "input-wrapper" }, h$1("slot", { key: '0fb079215345c8aa91c5718aaf977f9716c19712', name: "before-input" }), h$1("div", { key: '348402a3a6b4e65d2a2fbf1baa35740fbbb243b6', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: '942c7a43a36da7fd4f89826c4e721077987287f6', name: "leading-input" }), h$1("input", { key: 'b8edf56607b26003781bae1eacbc40561917073d', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: this.required, max: this.max, min: this.min, step: this.step, value: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), h$1("slot", { key: 'bc53377f72c4e1c9363c0e6c32c9d9c0ff18cee2', name: "trailing-input" }), this.error && (h$1("nv-icon", { key: '74b9e40d6687c8af506a3fcd365889fb98476050', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: '9ce0589197135d2baae625e2e34f589077e8a1ea', name: "circle-check", class: "validation", size: "md" })), h$1("div", { key: '4c04cb39da4f61a66f94044494cf1f02f8175e11', class: "stepper" }, h$1("nv-iconbutton", { key: 'bd5e034e94e16ea10bd56e23498e648e67ba72eb', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), h$1("nv-iconbutton", { key: 'b398efb51f9e6e297a6368424b3ceddf5f2a93a5', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), h$1("slot", { key: 'fbd610d0e620b253b92cd74791a3bbc02aec2e21', name: "after-input" })), (this.description ||
|
|
22869
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '46740b8b00f374f16559aa7a3310142c7ae5e74c', class: "description" }, h$1("slot", { key: 'ed9c74990d0fbf42f46bf8bb9172ef8b84112ecc', name: "description" }, this.description))), (this.errorDescription ||
|
|
22870
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'cc9c5076c31cffc91f23db0e14eb4fde1072ecd2', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'aa4953c2c12cb7c7605086d72d435507d11b93c7', name: "error-description" }, this.errorDescription)))));
|
|
22836
22871
|
}
|
|
22837
22872
|
static get formAssociated() { return true; }
|
|
22838
22873
|
get el() { return this; }
|
|
@@ -22863,7 +22898,7 @@ const NvFieldnumber$2 = /*@__PURE__*/ proxyCustomElement(class NvFieldnumber ext
|
|
|
22863
22898
|
}, undefined, {
|
|
22864
22899
|
"value": ["watchValueHandler"]
|
|
22865
22900
|
}]);
|
|
22866
|
-
function defineCustomElement$
|
|
22901
|
+
function defineCustomElement$C() {
|
|
22867
22902
|
if (typeof customElements === "undefined") {
|
|
22868
22903
|
return;
|
|
22869
22904
|
}
|
|
@@ -22876,25 +22911,25 @@ function defineCustomElement$r() {
|
|
|
22876
22911
|
break;
|
|
22877
22912
|
case "nv-icon":
|
|
22878
22913
|
if (!customElements.get(tagName)) {
|
|
22879
|
-
defineCustomElement$
|
|
22914
|
+
defineCustomElement$1c();
|
|
22880
22915
|
}
|
|
22881
22916
|
break;
|
|
22882
22917
|
case "nv-iconbutton":
|
|
22883
22918
|
if (!customElements.get(tagName)) {
|
|
22884
|
-
defineCustomElement
|
|
22919
|
+
defineCustomElement$1a();
|
|
22885
22920
|
}
|
|
22886
22921
|
break;
|
|
22887
22922
|
case "nv-loader":
|
|
22888
22923
|
if (!customElements.get(tagName)) {
|
|
22889
|
-
defineCustomElement$
|
|
22924
|
+
defineCustomElement$1b();
|
|
22890
22925
|
}
|
|
22891
22926
|
break;
|
|
22892
22927
|
} });
|
|
22893
22928
|
}
|
|
22894
|
-
defineCustomElement$
|
|
22929
|
+
defineCustomElement$C();
|
|
22895
22930
|
|
|
22896
22931
|
const NvFieldnumber$1 = NvFieldnumber$2;
|
|
22897
|
-
const defineCustomElement$
|
|
22932
|
+
const defineCustomElement$B = defineCustomElement$C;
|
|
22898
22933
|
|
|
22899
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)}";
|
|
22900
22935
|
const NvFieldpasswordStyle0 = nvFieldpasswordCss;
|
|
@@ -22999,9 +23034,9 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
|
|
|
22999
23034
|
/****************************************************************************/
|
|
23000
23035
|
//#region RENDER
|
|
23001
23036
|
render() {
|
|
23002
|
-
return (h$1(Host$1, { key: '
|
|
23003
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
23004
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
23037
|
+
return (h$1(Host$1, { key: '6fa2fc189b9bda9a8b47258c6d9cb99660337ca6' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'a64902154abd0cc8b6530652f3b4559a8f27213b', htmlFor: this.inputId }, h$1("slot", { key: 'cd0f5ce29714942ece0f8182975611d8bd9510bf', name: "label" }, this.label))), h$1("div", { key: '5dbc7fbf9dac95299a396ad4edca17473f314e60', class: "input-wrapper" }, h$1("slot", { key: '329e418fab60ee3095cac5d8a57fe99c5d1080a7', name: "before-input" }), h$1("div", { key: 'f719794bd432e5d0d69e6bc21e6c8e142d1d41c9', class: "input-container", onClick: this.handleInputContainerClick }, h$1("slot", { key: 'abc7a9f5cddd7dcec3b6a56edecde0ba618bfa4b', name: "leading-input" }), h$1("input", { key: '4e6b9f05c7d71c2f496d8550c6442a65947fe546', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h$1("nv-icon", { key: '1d54f3a52cf2824661538abd0e9ed7bf6b56acb8', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h$1("nv-iconbutton", { key: '6e0e6f11feb4a2b6d3e6690cfb10b3ac61b3e362', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h$1("slot", { key: '8791f51ca77c07eb0086c4dcee11a3988700c894', name: "after-input" })), (this.description ||
|
|
23038
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '090713c53a32fb09222bdf8777df7e734e2d2487', class: "description" }, h$1("slot", { key: '28e4b9d15e49654d521c294988ff4b6b2ffd89af', name: "description" }, this.description))), (this.errorDescription ||
|
|
23039
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '25faf9d05d3d1625cf16c488dc14838af551d849', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '6d7d76d881a2a1238d96c4c09a4a9f86d3128c74', name: "error-description" }, this.errorDescription)))));
|
|
23005
23040
|
}
|
|
23006
23041
|
static get formAssociated() { return true; }
|
|
23007
23042
|
get el() { return this; }
|
|
@@ -23035,7 +23070,7 @@ const NvFieldpassword$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldpassword
|
|
|
23035
23070
|
}, undefined, {
|
|
23036
23071
|
"showPassword": ["handleShowPasswordChange"]
|
|
23037
23072
|
}]);
|
|
23038
|
-
function defineCustomElement$1$
|
|
23073
|
+
function defineCustomElement$1$p() {
|
|
23039
23074
|
if (typeof customElements === "undefined") {
|
|
23040
23075
|
return;
|
|
23041
23076
|
}
|
|
@@ -23048,25 +23083,25 @@ function defineCustomElement$1$g() {
|
|
|
23048
23083
|
break;
|
|
23049
23084
|
case "nv-icon":
|
|
23050
23085
|
if (!customElements.get(tagName)) {
|
|
23051
|
-
defineCustomElement$
|
|
23086
|
+
defineCustomElement$1c();
|
|
23052
23087
|
}
|
|
23053
23088
|
break;
|
|
23054
23089
|
case "nv-iconbutton":
|
|
23055
23090
|
if (!customElements.get(tagName)) {
|
|
23056
|
-
defineCustomElement
|
|
23091
|
+
defineCustomElement$1a();
|
|
23057
23092
|
}
|
|
23058
23093
|
break;
|
|
23059
23094
|
case "nv-loader":
|
|
23060
23095
|
if (!customElements.get(tagName)) {
|
|
23061
|
-
defineCustomElement$
|
|
23096
|
+
defineCustomElement$1b();
|
|
23062
23097
|
}
|
|
23063
23098
|
break;
|
|
23064
23099
|
} });
|
|
23065
23100
|
}
|
|
23066
|
-
defineCustomElement$1$
|
|
23101
|
+
defineCustomElement$1$p();
|
|
23067
23102
|
|
|
23068
23103
|
const NvFieldpassword$2 = NvFieldpassword$1;
|
|
23069
|
-
const defineCustomElement$
|
|
23104
|
+
const defineCustomElement$A = defineCustomElement$1$p;
|
|
23070
23105
|
|
|
23071
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}";
|
|
23072
23107
|
const NvFieldradioStyle0 = nvFieldradioCss;
|
|
@@ -23151,9 +23186,9 @@ const NvFieldradio$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldradio exten
|
|
|
23151
23186
|
/****************************************************************************/
|
|
23152
23187
|
//#region RENDER
|
|
23153
23188
|
render() {
|
|
23154
|
-
return (h$1(Host$1, { key: '
|
|
23155
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
23156
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
23189
|
+
return (h$1(Host$1, { key: '87387e9a81489927ca78ffc05e2ebeb13dc900c1', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h$1("input", { key: '4aece4c1213ef2af2af42baf24c29a5285685e95', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h$1("div", { key: '289eb1becce793d9da96c3792b53fe82cc2ec4b3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '5315f69fb91a06437f67cc7a1b664a091f87f114', htmlFor: this.inputId }, h$1("slot", { key: '23364a4093a0b4f5a5ab76cad224049464a41aa2', name: "label" }, this.label))), (this.description ||
|
|
23190
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'd17ff8b61c9a085f36ccd7f4846ff4da6e8e506f', class: "description" }, h$1("slot", { key: '1915dd4d305fbcff26c38fa3b0fbc56ceec23db4', name: "description" }, this.description))), (this.errorDescription ||
|
|
23191
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '2b7c1817fb7a0d26ec7aaece07f8da6851b8d0cc', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '8d9fafceba1a6dafa30ed695c01e26dc956ff51b', name: "error-description" }, this.errorDescription))))));
|
|
23157
23192
|
}
|
|
23158
23193
|
static get formAssociated() { return true; }
|
|
23159
23194
|
get el() { return this; }
|
|
@@ -23178,7 +23213,7 @@ const NvFieldradio$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldradio exten
|
|
|
23178
23213
|
}, [[0, "change", "handleChange"]], {
|
|
23179
23214
|
"checked": ["handleCheckedChange"]
|
|
23180
23215
|
}]);
|
|
23181
|
-
function defineCustomElement$1$
|
|
23216
|
+
function defineCustomElement$1$o() {
|
|
23182
23217
|
if (typeof customElements === "undefined") {
|
|
23183
23218
|
return;
|
|
23184
23219
|
}
|
|
@@ -23191,10 +23226,10 @@ function defineCustomElement$1$f() {
|
|
|
23191
23226
|
break;
|
|
23192
23227
|
} });
|
|
23193
23228
|
}
|
|
23194
|
-
defineCustomElement$1$
|
|
23229
|
+
defineCustomElement$1$o();
|
|
23195
23230
|
|
|
23196
23231
|
const NvFieldradio$2 = NvFieldradio$1;
|
|
23197
|
-
const defineCustomElement$
|
|
23232
|
+
const defineCustomElement$z = defineCustomElement$1$o;
|
|
23198
23233
|
|
|
23199
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)}";
|
|
23200
23235
|
const NvFieldselectStyle0 = nvFieldselectCss;
|
|
@@ -23528,13 +23563,13 @@ const NvFieldselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldselect ext
|
|
|
23528
23563
|
* @returns {HTMLStencilElement} The HTML element to render.
|
|
23529
23564
|
*/
|
|
23530
23565
|
render() {
|
|
23531
|
-
return (h$1(Host$1, { key: '
|
|
23566
|
+
return (h$1(Host$1, { key: '040baa5db03e243169e5ee148cc30d29c4e89984' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'a27e960afe3d71920ba9deacacd74617dfb32941', htmlFor: this.inputId }, h$1("slot", { key: 'd8cd4638a03d8d1efe10c869ae7682f1f983bd72', name: "label" }, this.label))), h$1("div", { key: 'e28b6548efb4b7e8e0837165e0d427574dc31948', class: "select-wrapper" }, h$1("slot", { key: 'caafe9ac5b61ebf8a956363e643c5af43104de3e', name: "before-input" }), h$1("div", { key: '89cd9c355f6620a0d081c04e7785621712de54fe', class: "select-container", onClick: this.handleSelectContainerClick }, h$1("slot", { key: 'e59c29a8b301f804d8a93437bd540b3100d27dba', name: "leading-input" }), this.internalReadonly && (h$1("input", { key: '57aa8ee14544dd181cf438a8e2e8d355fc6946b7', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
|
|
23532
23567
|
? `${this.inputId}-error`
|
|
23533
|
-
: `${this.inputId}-description` })), h$1("select", { key: '
|
|
23568
|
+
: `${this.inputId}-description` })), h$1("select", { key: '55bf13d94976c1ceff668d76e463629555ffea55', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
|
|
23534
23569
|
? `${this.inputId}-error`
|
|
23535
|
-
: `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (h$1("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h$1("slot", null))), h$1("div", { key: '
|
|
23536
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
23537
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
23570
|
+
: `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (h$1("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h$1("slot", null))), h$1("div", { key: 'd810fd3665c88c377b065c40da8ff462294af21f', class: "select-icons" }, this.error && (h$1("nv-icon", { key: '94b6cedfdae5afb932e74e08080365935514e36c', name: "alert-circle", class: "validation", size: "md" })), this.success && (h$1("nv-icon", { key: 'a5184b762837e228aaf3aaf033381a9d757beed5', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (h$1("nv-iconbutton", { key: '3e08d45401ac8c50a2c4c52f88cd1324e49be636', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), h$1("slot", { key: 'b5b10982bb38fe509929b99ebd0a92d8b6687db1', name: "after-input" })), (this.description ||
|
|
23571
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '3b673b645dcc175d70928390c721536d3271ab3c', class: "description", id: `${this.inputId}-description` }, h$1("slot", { key: '296795070aa2679e53ebb0bc0ec056d5eebfaaac', name: "description" }, this.description))), (this.errorDescription ||
|
|
23572
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '73b434da2fa2537468a78e8ae15591688f30c49d', class: "error-description", id: `${this.inputId}-error` }, h$1("slot", { key: '992015d9a5646bb9baad79f74af46b34bd8f0388', name: "error-description" }, this.errorDescription)))));
|
|
23538
23573
|
}
|
|
23539
23574
|
static get formAssociated() { return true; }
|
|
23540
23575
|
get el() { return this; }
|
|
@@ -23572,7 +23607,7 @@ const NvFieldselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldselect ext
|
|
|
23572
23607
|
"readonly": ["handleReadonlyChange"],
|
|
23573
23608
|
"options": ["handleOptionsChange"]
|
|
23574
23609
|
}]);
|
|
23575
|
-
function defineCustomElement$1$
|
|
23610
|
+
function defineCustomElement$1$n() {
|
|
23576
23611
|
if (typeof customElements === "undefined") {
|
|
23577
23612
|
return;
|
|
23578
23613
|
}
|
|
@@ -23585,25 +23620,25 @@ function defineCustomElement$1$e() {
|
|
|
23585
23620
|
break;
|
|
23586
23621
|
case "nv-icon":
|
|
23587
23622
|
if (!customElements.get(tagName)) {
|
|
23588
|
-
defineCustomElement$
|
|
23623
|
+
defineCustomElement$1c();
|
|
23589
23624
|
}
|
|
23590
23625
|
break;
|
|
23591
23626
|
case "nv-iconbutton":
|
|
23592
23627
|
if (!customElements.get(tagName)) {
|
|
23593
|
-
defineCustomElement
|
|
23628
|
+
defineCustomElement$1a();
|
|
23594
23629
|
}
|
|
23595
23630
|
break;
|
|
23596
23631
|
case "nv-loader":
|
|
23597
23632
|
if (!customElements.get(tagName)) {
|
|
23598
|
-
defineCustomElement$
|
|
23633
|
+
defineCustomElement$1b();
|
|
23599
23634
|
}
|
|
23600
23635
|
break;
|
|
23601
23636
|
} });
|
|
23602
23637
|
}
|
|
23603
|
-
defineCustomElement$1$
|
|
23638
|
+
defineCustomElement$1$n();
|
|
23604
23639
|
|
|
23605
23640
|
const NvFieldselect$2 = NvFieldselect$1;
|
|
23606
|
-
const defineCustomElement$
|
|
23641
|
+
const defineCustomElement$y = defineCustomElement$1$n;
|
|
23607
23642
|
|
|
23608
23643
|
/**
|
|
23609
23644
|
* Utility functions for nv-fieldslider.
|
|
@@ -24306,11 +24341,11 @@ const NvFieldslider$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldslider ext
|
|
|
24306
24341
|
/****************************************************************************/
|
|
24307
24342
|
//#region RENDER
|
|
24308
24343
|
render() {
|
|
24309
|
-
return (h$1(Host$1, { key: '
|
|
24344
|
+
return (h$1(Host$1, { key: 'f5e3bce25553db52f6b10c1797466bc5e8582c84' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'd488aa0a66140d7777d2806d90870a5030593ad8', htmlFor: this.startInputId }, h$1("slot", { key: 'e5b9be1525b3298c6edcf373ebb9cc1241c1c68e', name: "label" }, this.label))), h$1("div", { key: 'a05ccf8292ef57359f1104d6369afe10f88be90e', class: "slider-container" }, this.range ? (h$1(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, h$1("div", { key: 'a3367fdb2b2a031860f5c2f84829c2a7d9f18aa2', class: "track-container" }, h$1("div", { key: 'bd71d1c60a9fd684eba6c97cf1e6dde0db714a62', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (h$1(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (h$1(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, step: this.step, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), h$1(TickMarks, { key: '1db13a620a719f39e2401598b21fa462d6ca863e', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (h$1(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (h$1(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
|
|
24310
24345
|
this.description ||
|
|
24311
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
24346
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'e4ee7359a7d539dbf42c8885b09c602f9cffb15c', class: "description" }, this.success && (h$1("nv-icon", { key: 'a46e32115803718d9a7f0f5f3c34002552e56991', name: "circle-check", class: "validation", size: "md" })), h$1("slot", { key: '18a3e1373d15db2e538ae235c288c2ed4e355688', name: "description" }, this.description))), (this.error ||
|
|
24312
24347
|
this.errorDescription ||
|
|
24313
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
24348
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'ad4ed6dfd5f96e95ec0b2bba0f639e36d1c35007', class: "error-description", hidden: !this.error }, this.error && (h$1("nv-icon", { key: '78ec5b1668637a7eea2e5fcd4f6f9cf5bba3a919', name: "alert-circle", class: "validation", size: "md" })), h$1("slot", { key: '46b604afc64460c0b0db1751974c568595e40ae0', name: "error-description" }, this.errorDescription)))));
|
|
24314
24349
|
}
|
|
24315
24350
|
static get formAssociated() { return true; }
|
|
24316
24351
|
get el() { return this; }
|
|
@@ -24370,7 +24405,7 @@ const NvFieldslider$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldslider ext
|
|
|
24370
24405
|
"snapTicks": ["onConfigChange"],
|
|
24371
24406
|
"range": ["onRangeChange"]
|
|
24372
24407
|
}]);
|
|
24373
|
-
function defineCustomElement$1$
|
|
24408
|
+
function defineCustomElement$1$m() {
|
|
24374
24409
|
if (typeof customElements === "undefined") {
|
|
24375
24410
|
return;
|
|
24376
24411
|
}
|
|
@@ -24383,33 +24418,33 @@ function defineCustomElement$1$d() {
|
|
|
24383
24418
|
break;
|
|
24384
24419
|
case "nv-fieldnumber":
|
|
24385
24420
|
if (!customElements.get(tagName)) {
|
|
24386
|
-
defineCustomElement$
|
|
24421
|
+
defineCustomElement$C();
|
|
24387
24422
|
}
|
|
24388
24423
|
break;
|
|
24389
24424
|
case "nv-icon":
|
|
24390
24425
|
if (!customElements.get(tagName)) {
|
|
24391
|
-
defineCustomElement$
|
|
24426
|
+
defineCustomElement$1c();
|
|
24392
24427
|
}
|
|
24393
24428
|
break;
|
|
24394
24429
|
case "nv-iconbutton":
|
|
24395
24430
|
if (!customElements.get(tagName)) {
|
|
24396
|
-
defineCustomElement
|
|
24431
|
+
defineCustomElement$1a();
|
|
24397
24432
|
}
|
|
24398
24433
|
break;
|
|
24399
24434
|
case "nv-loader":
|
|
24400
24435
|
if (!customElements.get(tagName)) {
|
|
24401
|
-
defineCustomElement$
|
|
24436
|
+
defineCustomElement$1b();
|
|
24402
24437
|
}
|
|
24403
24438
|
break;
|
|
24404
24439
|
} });
|
|
24405
24440
|
}
|
|
24406
|
-
defineCustomElement$1$
|
|
24441
|
+
defineCustomElement$1$m();
|
|
24407
24442
|
|
|
24408
24443
|
const NvFieldslider$2 = NvFieldslider$1;
|
|
24409
|
-
const defineCustomElement$
|
|
24444
|
+
const defineCustomElement$x = defineCustomElement$1$m;
|
|
24410
24445
|
|
|
24411
24446
|
const NvFieldtext$1 = NvFieldtext$2;
|
|
24412
|
-
const defineCustomElement$
|
|
24447
|
+
const defineCustomElement$w = defineCustomElement$U;
|
|
24413
24448
|
|
|
24414
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)}";
|
|
24415
24450
|
const NvFieldtextareaStyle0 = nvFieldtextareaCss;
|
|
@@ -24588,9 +24623,9 @@ const NvFieldtextarea$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtextarea
|
|
|
24588
24623
|
/****************************************************************************/
|
|
24589
24624
|
//#region RENDER
|
|
24590
24625
|
render() {
|
|
24591
|
-
return (h$1(Host$1, { key: '
|
|
24592
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
24593
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
24626
|
+
return (h$1(Host$1, { key: '8177d18132823809bc6118b8d5267c7a18c21f36' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: 'a66ea3d0dd7a87cb8a825b83da36ea20251d6eae', htmlFor: this.inputId }, h$1("slot", { key: 'c91403c3686ddd0f8046992c6c4e0ceffc67a552', name: "label" }, this.label))), h$1("div", { key: 'a2a5b24933de9838e00cec2d0b80dba5b93d800a', class: "textarea-wrapper" }, h$1("div", { key: '2f1f3ed08ddaa58198fd0bd609507c8986418686', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h$1("textarea", { key: 'b3579ad8239912b8fbd220aa5a30918624693267', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
|
|
24627
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '3a6380c9e5a7192ed498ebcf05327bde82f3289e', class: "description" }, h$1("slot", { key: '760e6757150c4e536d21aa570a88498c09d2a62b', name: "description" }, this.description))), (this.errorDescription ||
|
|
24628
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'e6983c5ceeabb94a718b5e5b66e8625f0906f0d3', hidden: !this.error, class: "error-description" }, h$1("slot", { key: 'd81e0f8cef3c420412a7e01907dede0787162adc', name: "error-description" }, this.errorDescription)))));
|
|
24594
24629
|
}
|
|
24595
24630
|
static get formAssociated() { return true; }
|
|
24596
24631
|
get el() { return this; }
|
|
@@ -24627,7 +24662,7 @@ const NvFieldtextarea$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtextarea
|
|
|
24627
24662
|
"autosize": ["autosizeChanged"],
|
|
24628
24663
|
"value": ["handleValueChange"]
|
|
24629
24664
|
}]);
|
|
24630
|
-
function defineCustomElement$1$
|
|
24665
|
+
function defineCustomElement$1$l() {
|
|
24631
24666
|
if (typeof customElements === "undefined") {
|
|
24632
24667
|
return;
|
|
24633
24668
|
}
|
|
@@ -24640,10 +24675,10 @@ function defineCustomElement$1$c() {
|
|
|
24640
24675
|
break;
|
|
24641
24676
|
} });
|
|
24642
24677
|
}
|
|
24643
|
-
defineCustomElement$1$
|
|
24678
|
+
defineCustomElement$1$l();
|
|
24644
24679
|
|
|
24645
24680
|
const NvFieldtextarea$2 = NvFieldtextarea$1;
|
|
24646
|
-
const defineCustomElement$
|
|
24681
|
+
const defineCustomElement$v = defineCustomElement$1$l;
|
|
24647
24682
|
|
|
24648
24683
|
/**
|
|
24649
24684
|
* Format configurations for all supported time formats
|
|
@@ -25700,9 +25735,9 @@ const NvFieldtime$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtime extends
|
|
|
25700
25735
|
}, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
|
|
25701
25736
|
}
|
|
25702
25737
|
render() {
|
|
25703
|
-
return (h$1(Host$1, { key: '
|
|
25704
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
25705
|
-
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: '
|
|
25738
|
+
return (h$1(Host$1, { key: '9b33f779d721d68375ddfbf1956982f14967272a', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '871876c71fe0df7bff76e702c229275b3090adbe', htmlFor: this.inputId }, h$1("slot", { key: '100c3f1c159a7b1d5b023204e7dc8697c6f1f43b', name: "label" }, this.label))), h$1("nv-popover", { key: '39d56cba57193b2dfed275384d6cf40e8560227d', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, h$1("div", { key: 'aec6f7f818028bb2584a2d72e1d8af9558420b73', class: "input-wrapper", slot: "trigger" }, h$1("slot", { key: 'ed39cf1ceac3e904250aea8f5b4cd97e792943f1', name: "before-input" }), h$1("div", { key: '89ec8af6fdfa4b2dc4b804de90cc78f06d54c875', class: "input-container" }, h$1("slot", { key: '27f5ea3a67272030552d99d105fa5db124db7a8c', name: "leading-input" }), this.renderTimeInputFields(), h$1("nv-iconbutton", { key: '008060a5a3c08dfb0cb1e71bdce8ce70aa76314d', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (h$1("nv-icon", { key: 'd1aae5841eadcf5fc9c12c3a7ee9872971e57ad8', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h$1("nv-icon", { key: 'bdf4717f3160d81722562296d5fda18df41295c2', name: "circle-check", class: "validation", size: "sm" }))), h$1("slot", { key: 'ff65ecb08c4aa48bd0374123d999a7a2d438ba34', name: "after-input" })), h$1("div", { key: 'c05b0b3e8f0014d6eb5ba95c89e809c920de76b5', class: "time-dropdown", slot: "content" }, h$1("div", { key: '1f33346f4a3a8c241370965a1c419b8d5f7761c0', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
|
|
25739
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '94e101508871bffefcf644683e929d69b5038db3', class: "description" }, h$1("slot", { key: '037c67df4a303a9b59d4f342e9702e38e5ca07f2', name: "description" }, this.description))), (this.errorDescription ||
|
|
25740
|
+
this.el.querySelector('[slot="error-description"]')) && (h$1("div", { key: 'bb19bd9d03da1de56978b66f50db6550ce4b8df5', hidden: !this.error, class: "error-description" }, h$1("slot", { key: '05a8a1c12b6a292d646a43fe1c66a2d8771960da', name: "error-description" }, this.errorDescription)))));
|
|
25706
25741
|
}
|
|
25707
25742
|
static get formAssociated() { return true; }
|
|
25708
25743
|
get el() { return this; }
|
|
@@ -25738,7 +25773,7 @@ const NvFieldtime$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldtime extends
|
|
|
25738
25773
|
"open": ["handleOpenChange"],
|
|
25739
25774
|
"format": ["handleFormatChange"]
|
|
25740
25775
|
}]);
|
|
25741
|
-
function defineCustomElement$1$
|
|
25776
|
+
function defineCustomElement$1$k() {
|
|
25742
25777
|
if (typeof customElements === "undefined") {
|
|
25743
25778
|
return;
|
|
25744
25779
|
}
|
|
@@ -25751,39 +25786,39 @@ function defineCustomElement$1$b() {
|
|
|
25751
25786
|
break;
|
|
25752
25787
|
case "nv-icon":
|
|
25753
25788
|
if (!customElements.get(tagName)) {
|
|
25754
|
-
defineCustomElement$
|
|
25789
|
+
defineCustomElement$1c();
|
|
25755
25790
|
}
|
|
25756
25791
|
break;
|
|
25757
25792
|
case "nv-iconbutton":
|
|
25758
25793
|
if (!customElements.get(tagName)) {
|
|
25759
|
-
defineCustomElement
|
|
25794
|
+
defineCustomElement$1a();
|
|
25760
25795
|
}
|
|
25761
25796
|
break;
|
|
25762
25797
|
case "nv-loader":
|
|
25763
25798
|
if (!customElements.get(tagName)) {
|
|
25764
|
-
defineCustomElement$
|
|
25799
|
+
defineCustomElement$1b();
|
|
25765
25800
|
}
|
|
25766
25801
|
break;
|
|
25767
25802
|
case "nv-popover":
|
|
25768
25803
|
if (!customElements.get(tagName)) {
|
|
25769
|
-
defineCustomElement$
|
|
25804
|
+
defineCustomElement$12();
|
|
25770
25805
|
}
|
|
25771
25806
|
break;
|
|
25772
25807
|
} });
|
|
25773
25808
|
}
|
|
25774
|
-
defineCustomElement$1$
|
|
25809
|
+
defineCustomElement$1$k();
|
|
25775
25810
|
|
|
25776
25811
|
const NvFieldtime$2 = NvFieldtime$1;
|
|
25777
|
-
const defineCustomElement$
|
|
25812
|
+
const defineCustomElement$u = defineCustomElement$1$k;
|
|
25778
25813
|
|
|
25779
25814
|
const NvIcon$1 = NvIcon$2;
|
|
25780
|
-
const defineCustomElement$
|
|
25815
|
+
const defineCustomElement$t = defineCustomElement$1c;
|
|
25781
25816
|
|
|
25782
25817
|
const NvIconbutton$1 = NvIconbutton$2;
|
|
25783
|
-
const defineCustomElement$
|
|
25818
|
+
const defineCustomElement$s = defineCustomElement$1a;
|
|
25784
25819
|
|
|
25785
25820
|
const NvLoader$1 = NvLoader$2;
|
|
25786
|
-
const defineCustomElement$
|
|
25821
|
+
const defineCustomElement$r = defineCustomElement$1b;
|
|
25787
25822
|
|
|
25788
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)}";
|
|
25789
25824
|
const NvMenuitemStyle0 = nvMenuitemCss;
|
|
@@ -25832,7 +25867,7 @@ const NvMenuitem$2 = /*@__PURE__*/ proxyCustomElement(class NvMenuitem extends H
|
|
|
25832
25867
|
/****************************************************************************/
|
|
25833
25868
|
//#region RENDER
|
|
25834
25869
|
render() {
|
|
25835
|
-
return (h$1(Host$1, { key: '
|
|
25870
|
+
return (h$1(Host$1, { key: '327165c89f4e5decf8dc4b7b28e18562e528056d', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h$1("nv-icon", { key: '4247d922bca3797dc3f2917218749a8d3c038df1', name: this.icon }), h$1("slot", { key: '1f81464ccf47a5bd918873ef70d3d3385e870638' }), this.label && h$1("span", { key: '113358a0cacfa53710ec0049a8e1c5e981de5b15', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h$1("kbd", { key: 'ee7c773b89bf1f55876cf297600247883cd54937' }, this.shortcut), this.hasSubmenu && h$1("nv-icon", { key: '70cbe2df51d9fbffe3b474b54e87aa06801acef7', name: "chevron-right" })));
|
|
25836
25871
|
}
|
|
25837
25872
|
get el() { return this; }
|
|
25838
25873
|
static get style() { return NvMenuitemStyle0; }
|
|
@@ -25844,7 +25879,7 @@ const NvMenuitem$2 = /*@__PURE__*/ proxyCustomElement(class NvMenuitem extends H
|
|
|
25844
25879
|
"hasSubmenu": [516, "has-submenu"],
|
|
25845
25880
|
"name": [513]
|
|
25846
25881
|
}, [[2, "click", "handleClick"], [0, "keydown", "handleKeyDown"]]]);
|
|
25847
|
-
function defineCustomElement$
|
|
25882
|
+
function defineCustomElement$q() {
|
|
25848
25883
|
if (typeof customElements === "undefined") {
|
|
25849
25884
|
return;
|
|
25850
25885
|
}
|
|
@@ -25857,12 +25892,12 @@ function defineCustomElement$f() {
|
|
|
25857
25892
|
break;
|
|
25858
25893
|
case "nv-icon":
|
|
25859
25894
|
if (!customElements.get(tagName)) {
|
|
25860
|
-
defineCustomElement$
|
|
25895
|
+
defineCustomElement$1c();
|
|
25861
25896
|
}
|
|
25862
25897
|
break;
|
|
25863
25898
|
} });
|
|
25864
25899
|
}
|
|
25865
|
-
defineCustomElement$
|
|
25900
|
+
defineCustomElement$q();
|
|
25866
25901
|
|
|
25867
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)}";
|
|
25868
25903
|
const NvMenuStyle0 = nvMenuCss;
|
|
@@ -26068,7 +26103,7 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
|
|
|
26068
26103
|
});
|
|
26069
26104
|
}
|
|
26070
26105
|
render() {
|
|
26071
|
-
return (h$1(Host$1, { key: '
|
|
26106
|
+
return (h$1(Host$1, { key: '56a2d1b66805128c7bd26d2f6def4eda4fc3780d' }, h$1("slot", { key: '6bcbd93eebd0b97b95cf52de75ec06750797b042', name: "trigger" }), h$1("nv-popover", { key: 'b2c68d05416e9912dffa6f0804b090a0e80abd71', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.items ? (h$1("ul", { slot: "content" }, this.renderMenuItems())) : (h$1("slot", { name: "content" })))));
|
|
26072
26107
|
}
|
|
26073
26108
|
get el() { return this; }
|
|
26074
26109
|
static get watchers() { return {
|
|
@@ -26086,7 +26121,7 @@ const NvMenu$1 = /*@__PURE__*/ proxyCustomElement(class NvMenu extends H {
|
|
|
26086
26121
|
}, [[0, "menuitemSelected", "handleMenuItemSelect"], [0, "keydown", "handleKeydown"], [0, "openChanged", "handleOpenChanged"]], {
|
|
26087
26122
|
"open": ["handleOpenChange"]
|
|
26088
26123
|
}]);
|
|
26089
|
-
function defineCustomElement$1$
|
|
26124
|
+
function defineCustomElement$1$j() {
|
|
26090
26125
|
if (typeof customElements === "undefined") {
|
|
26091
26126
|
return;
|
|
26092
26127
|
}
|
|
@@ -26099,33 +26134,127 @@ function defineCustomElement$1$a() {
|
|
|
26099
26134
|
break;
|
|
26100
26135
|
case "nv-icon":
|
|
26101
26136
|
if (!customElements.get(tagName)) {
|
|
26102
|
-
defineCustomElement$
|
|
26137
|
+
defineCustomElement$1c();
|
|
26103
26138
|
}
|
|
26104
26139
|
break;
|
|
26105
26140
|
case "nv-menu":
|
|
26106
26141
|
if (!customElements.get(tagName)) {
|
|
26107
|
-
defineCustomElement$1$
|
|
26142
|
+
defineCustomElement$1$j();
|
|
26108
26143
|
}
|
|
26109
26144
|
break;
|
|
26110
26145
|
case "nv-menuitem":
|
|
26111
26146
|
if (!customElements.get(tagName)) {
|
|
26112
|
-
defineCustomElement$
|
|
26147
|
+
defineCustomElement$q();
|
|
26113
26148
|
}
|
|
26114
26149
|
break;
|
|
26115
26150
|
case "nv-popover":
|
|
26116
26151
|
if (!customElements.get(tagName)) {
|
|
26117
|
-
defineCustomElement$
|
|
26152
|
+
defineCustomElement$12();
|
|
26118
26153
|
}
|
|
26119
26154
|
break;
|
|
26120
26155
|
} });
|
|
26121
26156
|
}
|
|
26122
|
-
defineCustomElement$1$
|
|
26157
|
+
defineCustomElement$1$j();
|
|
26123
26158
|
|
|
26124
26159
|
const NvMenu$2 = NvMenu$1;
|
|
26125
|
-
const defineCustomElement$
|
|
26160
|
+
const defineCustomElement$p = defineCustomElement$1$j;
|
|
26126
26161
|
|
|
26127
26162
|
const NvMenuitem$1 = NvMenuitem$2;
|
|
26128
|
-
const defineCustomElement$
|
|
26163
|
+
const defineCustomElement$o = defineCustomElement$q;
|
|
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;
|
|
26129
26258
|
|
|
26130
26259
|
const useSlide = (node, { duration } = { duration: 200 }) => {
|
|
26131
26260
|
const nodeStyler = index(node);
|
|
@@ -26371,7 +26500,7 @@ const NvNotification$1 = /*@__PURE__*/ proxyCustomElement(class NvNotification e
|
|
|
26371
26500
|
//#region RENDER
|
|
26372
26501
|
render() {
|
|
26373
26502
|
var _a, _b, _c;
|
|
26374
|
-
return (h$1(Host$1, { key: '
|
|
26503
|
+
return (h$1(Host$1, { key: '10e49ace93a23660383f9bbfb45460e610320db3', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": (_a = this.getHeadingId()) !== null && _a !== void 0 ? _a : null, "aria-describedby": (_b = this.getMessageId()) !== null && _b !== void 0 ? _b : null, tabindex: "-1" }, h$1("div", { key: '1cce0d5c025e404ad641eed3c0ff07045db12de6', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h$1("button", { key: '64a9e8f95f51908ed82f5c832d5a9738420b574b', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h$1("nv-icon", { key: 'f4f5a742b862a52ebf7e2edc320e4521ad575a29', name: "x", size: "sm" }))), h$1("nv-icon", { key: 'a85552d6f9d81f67643f4a8c428464ed7af2ff90', name: (_c = this.icon) !== null && _c !== void 0 ? _c : this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h$1("div", { key: 'bb7fd2fd626191f53b59507c3d5003369aaa2d70', "data-scope": "content" }, (this.heading || this.headingSlot) && (h$1("p", { key: 'ce333015dc488c8371d2dc90b97461888a28174e', id: this.getHeadingId(), "data-scope": "heading" }, h$1("slot", { key: '32c9d8c3c5a85a60e3993a5963ed019f5900e6c3', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h$1("p", { key: '08d57bf3058e3efcaf6d95de5754c34405ddddfb', id: this.getMessageId(), "data-scope": "message" }, h$1("slot", { key: 'f930fb38f00addf2911fc5401d906ee7c52b0920', name: "content" }, this.message))), this.actionsSlot && (h$1("div", { key: '983c60ec7fdf1ed85d2ef9d1a5c327d0aaf78013', "data-scope": "actions" }, h$1("slot", { key: '521bd4d20db65dc6025a9fb285599dbd7643bed0', name: "actions" })))))));
|
|
26375
26504
|
}
|
|
26376
26505
|
get el() { return this; }
|
|
26377
26506
|
static get style() { return NvNotificationStyle0; }
|
|
@@ -26388,7 +26517,7 @@ const NvNotification$1 = /*@__PURE__*/ proxyCustomElement(class NvNotification e
|
|
|
26388
26517
|
"dismiss": [64],
|
|
26389
26518
|
"show": [64]
|
|
26390
26519
|
}]);
|
|
26391
|
-
function defineCustomElement$1$
|
|
26520
|
+
function defineCustomElement$1$i() {
|
|
26392
26521
|
if (typeof customElements === "undefined") {
|
|
26393
26522
|
return;
|
|
26394
26523
|
}
|
|
@@ -26401,15 +26530,15 @@ function defineCustomElement$1$9() {
|
|
|
26401
26530
|
break;
|
|
26402
26531
|
case "nv-icon":
|
|
26403
26532
|
if (!customElements.get(tagName)) {
|
|
26404
|
-
defineCustomElement$
|
|
26533
|
+
defineCustomElement$1c();
|
|
26405
26534
|
}
|
|
26406
26535
|
break;
|
|
26407
26536
|
} });
|
|
26408
26537
|
}
|
|
26409
|
-
defineCustomElement$1$
|
|
26538
|
+
defineCustomElement$1$i();
|
|
26410
26539
|
|
|
26411
26540
|
const NvNotification$2 = NvNotification$1;
|
|
26412
|
-
const defineCustomElement$
|
|
26541
|
+
const defineCustomElement$l = defineCustomElement$1$i;
|
|
26413
26542
|
|
|
26414
26543
|
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}";
|
|
26415
26544
|
const NvNotificationcontainerStyle0 = nvNotificationcontainerCss;
|
|
@@ -26441,13 +26570,13 @@ const NvNotificationContainer = /*@__PURE__*/ proxyCustomElement(class NvNotific
|
|
|
26441
26570
|
/****************************************************************************/
|
|
26442
26571
|
//#region RENDER
|
|
26443
26572
|
render() {
|
|
26444
|
-
return (h$1(Host$1, { key: '
|
|
26573
|
+
return (h$1(Host$1, { key: 'bf0b7cd02e0d214516f352eb7016d6060d6959c5', class: `position-${this.position}` }, h$1("slot", { key: 'f042e3f11b4d2af4b47aadeba04a332c57889616' })));
|
|
26445
26574
|
}
|
|
26446
26575
|
static get style() { return NvNotificationcontainerStyle0; }
|
|
26447
26576
|
}, [4, "nv-notificationcontainer", {
|
|
26448
26577
|
"position": [513]
|
|
26449
26578
|
}]);
|
|
26450
|
-
function defineCustomElement$1$
|
|
26579
|
+
function defineCustomElement$1$h() {
|
|
26451
26580
|
if (typeof customElements === "undefined") {
|
|
26452
26581
|
return;
|
|
26453
26582
|
}
|
|
@@ -26460,13 +26589,13 @@ function defineCustomElement$1$8() {
|
|
|
26460
26589
|
break;
|
|
26461
26590
|
} });
|
|
26462
26591
|
}
|
|
26463
|
-
defineCustomElement$1$
|
|
26592
|
+
defineCustomElement$1$h();
|
|
26464
26593
|
|
|
26465
26594
|
const NvNotificationcontainer$1 = NvNotificationContainer;
|
|
26466
|
-
const defineCustomElement$
|
|
26595
|
+
const defineCustomElement$k = defineCustomElement$1$h;
|
|
26467
26596
|
|
|
26468
26597
|
const NvPopover$1 = NvPopover$2;
|
|
26469
|
-
const defineCustomElement$
|
|
26598
|
+
const defineCustomElement$j = defineCustomElement$12;
|
|
26470
26599
|
|
|
26471
26600
|
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)}";
|
|
26472
26601
|
const NvRowStyle0 = nvRowCss;
|
|
@@ -26479,11 +26608,11 @@ const NvRow$1 = /*@__PURE__*/ proxyCustomElement(class NvRow extends H {
|
|
|
26479
26608
|
/****************************************************************************/
|
|
26480
26609
|
//#region RENDER
|
|
26481
26610
|
render() {
|
|
26482
|
-
return (h$1(Host$1, { key: '
|
|
26611
|
+
return (h$1(Host$1, { key: '8415bdad0106bd3d836996c617a749294e0c19e2' }, h$1("slot", { key: '77c069ced0dc25c4169945877c388f30d27fdc4f' })));
|
|
26483
26612
|
}
|
|
26484
26613
|
static get style() { return NvRowStyle0; }
|
|
26485
26614
|
}, [4, "nv-row"]);
|
|
26486
|
-
function defineCustomElement$1$
|
|
26615
|
+
function defineCustomElement$1$g() {
|
|
26487
26616
|
if (typeof customElements === "undefined") {
|
|
26488
26617
|
return;
|
|
26489
26618
|
}
|
|
@@ -26496,9 +26625,802 @@ function defineCustomElement$1$7() {
|
|
|
26496
26625
|
break;
|
|
26497
26626
|
} });
|
|
26498
26627
|
}
|
|
26499
|
-
defineCustomElement$1$
|
|
26628
|
+
defineCustomElement$1$g();
|
|
26629
|
+
|
|
26630
|
+
const NvRow$2 = NvRow$1;
|
|
26631
|
+
const defineCustomElement$i = defineCustomElement$1$g;
|
|
26632
|
+
|
|
26633
|
+
const nvSidebarCss = "nv-sidebarnavitem a,nv-sidebarnavitem a:link,nv-sidebarnavitem a:visited,nv-sidebarnavitem a:hover,nv-sidebarnavitem a:active,nv-sidebarnavsubitem a,nv-sidebarnavsubitem a:link,nv-sidebarnavsubitem a:visited,nv-sidebarnavsubitem a:hover,nv-sidebarnavsubitem a:active{color:inherit !important;text-decoration:none !important}nv-sidebar{display:flex;flex-direction:column;position:relative;height:100vh;background-color:var(--color-level-00-background);border-right:var(--sidebar-primary-separator-size) solid var(--color-content-low-border);transition:width 0.3s ease;width:var(--sidebar-width)}nv-sidebar[collapsed]{width:var(--sidebar-reduced-max-width)}nv-sidebar[collapsed] [data-hide-on-collapsed]{display:none !important}nv-sidebar[collapsed] .nv-sidebar-container{padding:var(--spacing-6) var(--spacing-5)}nv-sidebar .nv-sidebar-container{display:flex;flex-direction:column;flex:1;overflow:hidden;padding:var(--spacing-6);gap:var(--sidebar-gap-y)}nv-sidebar .nv-sidebar-toggle{position:absolute;top:var(--spacing-8);right:calc(var(--spacing-8) / -2);display:flex;align-items:center;justify-content:center;width:var(--spacing-8);height:var(--spacing-8);padding:var(--sidebar-collapsible-button-padding);background-color:var(--color-level-00-background);border:var(--sidebar-primary-separator-size) solid var(--color-content-low-border);border-radius:var(--radius-rounded-full);cursor:pointer;transition:transform 0.2s ease;z-index:10}nv-sidebar .nv-sidebar-toggle:hover{background-color:var(--color-level-10-background)}nv-sidebar .nv-sidebar-toggle:focus,nv-sidebar .nv-sidebar-toggle:focus-within{outline:none}nv-sidebar .nv-sidebar-toggle:focus-visible,nv-sidebar .nv-sidebar-toggle:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-sidebar .nv-sidebar-toggle nv-icon{width:var(--sidebar-collapsible-button-icon-size);height:var(--sidebar-collapsible-button-icon-size);color:var(--color-interaction-container-neutral-icon)}";
|
|
26634
|
+
const NvSidebarStyle0 = nvSidebarCss;
|
|
26635
|
+
|
|
26636
|
+
const NvSidebar$1 = /*@__PURE__*/ proxyCustomElement(class NvSidebar extends H {
|
|
26637
|
+
constructor() {
|
|
26638
|
+
super();
|
|
26639
|
+
this.__registerHost();
|
|
26640
|
+
this.openChanged = createEvent$1(this, "openChanged");
|
|
26641
|
+
/****************************************************************************/
|
|
26642
|
+
//#region PROPERTIES
|
|
26643
|
+
/**
|
|
26644
|
+
* The type of sidebar behavior.
|
|
26645
|
+
* - collapsible: Can be toggled open/closed
|
|
26646
|
+
* - persistent: Always visible
|
|
26647
|
+
*/
|
|
26648
|
+
this.type = 'persistent';
|
|
26649
|
+
/**
|
|
26650
|
+
* Whether the sidebar is currently open (only applies to collapsible type).
|
|
26651
|
+
*/
|
|
26652
|
+
// eslint-disable-next-line @stencil-community/ban-default-true
|
|
26653
|
+
this.open = true;
|
|
26654
|
+
/**
|
|
26655
|
+
* Determines the type of notification bullets in the sidebar.
|
|
26656
|
+
* - neutral: Uses neutral colors (gray)
|
|
26657
|
+
* - brand: Uses brand colors (orange/teal depending on theme)
|
|
26658
|
+
*/
|
|
26659
|
+
this.notificationIntention = 'brand';
|
|
26660
|
+
/**
|
|
26661
|
+
* Determines the emphasis of notification bullets in the sidebar.
|
|
26662
|
+
* - high: More prominent appearance
|
|
26663
|
+
* - low: Less prominent appearance
|
|
26664
|
+
*/
|
|
26665
|
+
this.notificationEmphasis = 'high';
|
|
26666
|
+
//#endregion EVENTS
|
|
26667
|
+
/****************************************************************************/
|
|
26668
|
+
//#region METHODS
|
|
26669
|
+
this.handleToggle = () => {
|
|
26670
|
+
if (this.type === 'collapsible') {
|
|
26671
|
+
// Changing open will trigger @Watch which emits the event
|
|
26672
|
+
this.open = !this.open;
|
|
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
|
+
});
|
|
26757
|
+
}
|
|
26758
|
+
//#endregion METHODS
|
|
26759
|
+
/****************************************************************************/
|
|
26760
|
+
//#region WATCHERS
|
|
26761
|
+
onActivePathChanged() {
|
|
26762
|
+
this.setActiveNavItems();
|
|
26763
|
+
}
|
|
26764
|
+
//#endregion WATCHERS
|
|
26765
|
+
/****************************************************************************/
|
|
26766
|
+
//#region LIFECYCLE
|
|
26767
|
+
componentWillLoad() {
|
|
26768
|
+
this.setActiveNavItems();
|
|
26769
|
+
this.setupMutationObserver();
|
|
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();
|
|
26500
27374
|
|
|
26501
|
-
const
|
|
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;
|
|
26502
27424
|
const defineCustomElement$9 = defineCustomElement$1$7;
|
|
26503
27425
|
|
|
26504
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%}";
|
|
@@ -26822,7 +27744,7 @@ const NvSplit$1 = /*@__PURE__*/ proxyCustomElement(class NvSplit extends H {
|
|
|
26822
27744
|
/****************************************************************************/
|
|
26823
27745
|
//#region RENDER
|
|
26824
27746
|
render() {
|
|
26825
|
-
return (h$1(Host$1, { key: '
|
|
27747
|
+
return (h$1(Host$1, { key: 'df6a2141e14d1f691af162d1eae2e2763ffad014', "data-dragging": this.isDragging.toString() }, h$1("slot", { key: 'ce9d941bc73fa6e12161f334d4cd86e9045f6271', name: "pane" }), h$1("slot", { key: 'a70c14b0989a758ad35dc3c611563f7d03be0d02', name: "gutter" })));
|
|
26826
27748
|
}
|
|
26827
27749
|
get el() { return this; }
|
|
26828
27750
|
static get watchers() { return {
|
|
@@ -26881,7 +27803,7 @@ const NvStack$1 = /*@__PURE__*/ proxyCustomElement(class NvStack extends H {
|
|
|
26881
27803
|
/****************************************************************************/
|
|
26882
27804
|
//#region RENDER
|
|
26883
27805
|
render() {
|
|
26884
|
-
return (h$1(Host$1, { key: '
|
|
27806
|
+
return (h$1(Host$1, { key: 'fbdaf5b2fb134b050883a512b4aeb96b070017c1', 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: '6c7c231b8ff2575a1b509539d227468629fae6ab' })));
|
|
26885
27807
|
}
|
|
26886
27808
|
static get style() { return NvStackStyle0; }
|
|
26887
27809
|
}, [4, "nv-stack", {
|
|
@@ -27142,7 +28064,7 @@ const NvTable$1 = /*@__PURE__*/ proxyCustomElement(class NvTable extends H {
|
|
|
27142
28064
|
/****************************************************************************/
|
|
27143
28065
|
//#region RENDER
|
|
27144
28066
|
render() {
|
|
27145
|
-
return (h$1(Host$1, { key: '
|
|
28067
|
+
return (h$1(Host$1, { key: 'ec194bed7ec58642be9f6b52a737e2f9375a152e' }, h$1("slot", { key: '009ce0f20491156ca93141c85683f0be499a9938' })));
|
|
27146
28068
|
}
|
|
27147
28069
|
get host() { return this; }
|
|
27148
28070
|
static get style() { return NvTableStyle0; }
|
|
@@ -27224,7 +28146,7 @@ const NvTableheader$1 = /*@__PURE__*/ proxyCustomElement(class NvTableheader ext
|
|
|
27224
28146
|
/****************************************************************************/
|
|
27225
28147
|
//#region RENDER
|
|
27226
28148
|
render() {
|
|
27227
|
-
return (h$1(Host$1, { key: '
|
|
28149
|
+
return (h$1(Host$1, { key: '6719336a9812b1d1abd161b955b841c1459fb584', 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: 'd559e3b7c74f6dcf8197e2d082310660a23291d6' }), this.sortable && (h$1("span", { key: '540c8c8cf3cccac47a3ece7d9be4e97c4e283690', class: "sort-icon-wrap", "aria-hidden": "true" }, h$1("nv-iconbutton", { key: 'ac713c7af3b5b2e452f02d0d77cb64398b0febd4', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
27228
28150
|
// prevent mousedown from selecting text
|
|
27229
28151
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
27230
28152
|
'is-none': this.sortDirection === 'none',
|
|
@@ -27249,17 +28171,17 @@ function defineCustomElement$1$3() {
|
|
|
27249
28171
|
break;
|
|
27250
28172
|
case "nv-icon":
|
|
27251
28173
|
if (!customElements.get(tagName)) {
|
|
27252
|
-
defineCustomElement$
|
|
28174
|
+
defineCustomElement$1c();
|
|
27253
28175
|
}
|
|
27254
28176
|
break;
|
|
27255
28177
|
case "nv-iconbutton":
|
|
27256
28178
|
if (!customElements.get(tagName)) {
|
|
27257
|
-
defineCustomElement
|
|
28179
|
+
defineCustomElement$1a();
|
|
27258
28180
|
}
|
|
27259
28181
|
break;
|
|
27260
28182
|
case "nv-loader":
|
|
27261
28183
|
if (!customElements.get(tagName)) {
|
|
27262
|
-
defineCustomElement$
|
|
28184
|
+
defineCustomElement$1b();
|
|
27263
28185
|
}
|
|
27264
28186
|
break;
|
|
27265
28187
|
} });
|
|
@@ -27330,8 +28252,8 @@ const NvToggle$1 = /*@__PURE__*/ proxyCustomElement(class NvToggle extends H {
|
|
|
27330
28252
|
/****************************************************************************/
|
|
27331
28253
|
//#region RENDER
|
|
27332
28254
|
render() {
|
|
27333
|
-
return (h$1(Host$1, { key: '
|
|
27334
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
28255
|
+
return (h$1(Host$1, { key: '1a217a31999750cb1c8f26af5407ef2d7277600c', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h$1("div", { key: '35e39e8df6475ffa41cd8b811948454ba956e814', class: "input-container" }, h$1("input", { key: '359a584d868d37affcb7b5fe5c24fef71eae209e', 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: '3bc4c7d7ef8bca23391ede4b08eb596bab68289a', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '61be38f883222b69807c0e8b8540f6ad20ed0cf4', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: 'e5ad1f81fc6e98794931b5e6dc811d9cc6aa9c73', name: "label" }, this.label))), (this.description ||
|
|
28256
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: 'f1f0d41c28be40b24e17d9f6f29224fbb2f9f05e', class: "description" }, h$1("slot", { key: '5418c3c3195045200e9ad0eb4bc6438eee453fd9', name: "description" }, this.description))))));
|
|
27335
28257
|
}
|
|
27336
28258
|
static get formAssociated() { return true; }
|
|
27337
28259
|
get el() { return this; }
|
|
@@ -27416,7 +28338,7 @@ const NvTogglebutton$1 = /*@__PURE__*/ proxyCustomElement(class NvTogglebutton e
|
|
|
27416
28338
|
/****************************************************************************/
|
|
27417
28339
|
//#region RENDER
|
|
27418
28340
|
render() {
|
|
27419
|
-
return (h$1(Host$1, { key: '
|
|
28341
|
+
return (h$1(Host$1, { key: '35199476bd724fe4a6b4dde51b7822bed5c374ff', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, h$1("slot", { key: '864cf0f2550b66b0b34c4f779086d4b4847732e6' })));
|
|
27420
28342
|
}
|
|
27421
28343
|
static get style() { return NvTogglebuttonStyle0; }
|
|
27422
28344
|
}, [4, "nv-togglebutton", {
|
|
@@ -27597,7 +28519,7 @@ const NvTogglebuttongroup$1 = /*@__PURE__*/ proxyCustomElement(class NvTogglebut
|
|
|
27597
28519
|
/****************************************************************************/
|
|
27598
28520
|
//#region RENDER
|
|
27599
28521
|
render() {
|
|
27600
|
-
return (h$1(Host$1, { key: '
|
|
28522
|
+
return (h$1(Host$1, { key: 'b7c5cb46244f10a93330dc601d0347e3cb53c276' }, h$1("slot", { key: '0808ec94f479f52f60b50ac14ce1a4eb989e5778' })));
|
|
27601
28523
|
}
|
|
27602
28524
|
get el() { return this; }
|
|
27603
28525
|
static get watchers() { return {
|
|
@@ -27636,7 +28558,7 @@ const NvTogglebuttongroup$2 = NvTogglebuttongroup$1;
|
|
|
27636
28558
|
const defineCustomElement$2 = defineCustomElement$1;
|
|
27637
28559
|
|
|
27638
28560
|
const NvTooltip$1 = NvTooltip$2;
|
|
27639
|
-
const defineCustomElement = defineCustomElement$
|
|
28561
|
+
const defineCustomElement = defineCustomElement$11;
|
|
27640
28562
|
|
|
27641
28563
|
/**
|
|
27642
28564
|
* @license
|
|
@@ -27655,14 +28577,14 @@ const NvAccordion = r({
|
|
|
27655
28577
|
elementClass: NvAccordion$2,
|
|
27656
28578
|
react: React,
|
|
27657
28579
|
events: { onOpenIndexesChanged: 'openIndexesChanged' },
|
|
27658
|
-
defineCustomElement: defineCustomElement$
|
|
28580
|
+
defineCustomElement: defineCustomElement$17
|
|
27659
28581
|
});
|
|
27660
28582
|
const NvAccordionItem = r({
|
|
27661
28583
|
tagName: 'nv-accordion-item',
|
|
27662
28584
|
elementClass: NvAccordionItem$1,
|
|
27663
28585
|
react: React,
|
|
27664
28586
|
events: { onItemToggle: 'itemToggle' },
|
|
27665
|
-
defineCustomElement: defineCustomElement$
|
|
28587
|
+
defineCustomElement: defineCustomElement$18
|
|
27666
28588
|
});
|
|
27667
28589
|
const NvAlert = r({
|
|
27668
28590
|
tagName: 'nv-alert',
|
|
@@ -27673,14 +28595,14 @@ const NvAlert = r({
|
|
|
27673
28595
|
onHiddenChangedComplete: 'hiddenChangedComplete',
|
|
27674
28596
|
onCloseClicked: 'closeClicked'
|
|
27675
28597
|
},
|
|
27676
|
-
defineCustomElement: defineCustomElement$
|
|
28598
|
+
defineCustomElement: defineCustomElement$16
|
|
27677
28599
|
});
|
|
27678
28600
|
const NvAvatar = r({
|
|
27679
28601
|
tagName: 'nv-avatar',
|
|
27680
28602
|
elementClass: NvAvatar$2,
|
|
27681
28603
|
react: React,
|
|
27682
28604
|
events: {},
|
|
27683
|
-
defineCustomElement: defineCustomElement$
|
|
28605
|
+
defineCustomElement: defineCustomElement$15
|
|
27684
28606
|
});
|
|
27685
28607
|
const NvBadge = r({
|
|
27686
28608
|
tagName: 'nv-badge',
|
|
@@ -27691,35 +28613,35 @@ const NvBadge = r({
|
|
|
27691
28613
|
onHiddenChanged: 'hiddenChanged',
|
|
27692
28614
|
onHiddenChangedComplete: 'hiddenChangedComplete'
|
|
27693
28615
|
},
|
|
27694
|
-
defineCustomElement: defineCustomElement$
|
|
28616
|
+
defineCustomElement: defineCustomElement$13
|
|
27695
28617
|
});
|
|
27696
28618
|
const NvBreadcrumb = r({
|
|
27697
28619
|
tagName: 'nv-breadcrumb',
|
|
27698
28620
|
elementClass: NvBreadcrumb$2,
|
|
27699
28621
|
react: React,
|
|
27700
28622
|
events: {},
|
|
27701
|
-
defineCustomElement: defineCustomElement$
|
|
28623
|
+
defineCustomElement: defineCustomElement$10
|
|
27702
28624
|
});
|
|
27703
28625
|
const NvBreadcrumbs = r({
|
|
27704
28626
|
tagName: 'nv-breadcrumbs',
|
|
27705
28627
|
elementClass: NvBreadcrumbs$2,
|
|
27706
28628
|
react: React,
|
|
27707
28629
|
events: {},
|
|
27708
|
-
defineCustomElement: defineCustomElement
|
|
28630
|
+
defineCustomElement: defineCustomElement$$
|
|
27709
28631
|
});
|
|
27710
28632
|
const NvButton = r({
|
|
27711
28633
|
tagName: 'nv-button',
|
|
27712
28634
|
elementClass: NvButton$1,
|
|
27713
28635
|
react: React,
|
|
27714
28636
|
events: {},
|
|
27715
|
-
defineCustomElement: defineCustomElement$
|
|
28637
|
+
defineCustomElement: defineCustomElement$Z
|
|
27716
28638
|
});
|
|
27717
28639
|
const NvButtongroup = r({
|
|
27718
28640
|
tagName: 'nv-buttongroup',
|
|
27719
28641
|
elementClass: NvButtongroup$2,
|
|
27720
28642
|
react: React,
|
|
27721
28643
|
events: {},
|
|
27722
|
-
defineCustomElement: defineCustomElement$
|
|
28644
|
+
defineCustomElement: defineCustomElement$Y
|
|
27723
28645
|
});
|
|
27724
28646
|
const NvCalendar = r({
|
|
27725
28647
|
tagName: 'nv-calendar',
|
|
@@ -27730,14 +28652,14 @@ const NvCalendar = r({
|
|
|
27730
28652
|
onRangeDateChange: 'rangeDateChange',
|
|
27731
28653
|
onValueChanged: 'valueChanged'
|
|
27732
28654
|
},
|
|
27733
|
-
defineCustomElement: defineCustomElement$
|
|
28655
|
+
defineCustomElement: defineCustomElement$W
|
|
27734
28656
|
});
|
|
27735
28657
|
const NvCol = r({
|
|
27736
28658
|
tagName: 'nv-col',
|
|
27737
28659
|
elementClass: NvCol$2,
|
|
27738
28660
|
react: React,
|
|
27739
28661
|
events: {},
|
|
27740
|
-
defineCustomElement: defineCustomElement$
|
|
28662
|
+
defineCustomElement: defineCustomElement$V
|
|
27741
28663
|
});
|
|
27742
28664
|
const NvDatagrid = r({
|
|
27743
28665
|
tagName: 'nv-datagrid',
|
|
@@ -27748,21 +28670,21 @@ const NvDatagrid = r({
|
|
|
27748
28670
|
onSelectedRows: 'selectedRows',
|
|
27749
28671
|
onStateChanged: 'stateChanged'
|
|
27750
28672
|
},
|
|
27751
|
-
defineCustomElement: defineCustomElement$
|
|
28673
|
+
defineCustomElement: defineCustomElement$T
|
|
27752
28674
|
});
|
|
27753
28675
|
const NvDatagridcolumn = r({
|
|
27754
28676
|
tagName: 'nv-datagridcolumn',
|
|
27755
28677
|
elementClass: NvDatagridcolumn$2,
|
|
27756
28678
|
react: React,
|
|
27757
28679
|
events: {},
|
|
27758
|
-
defineCustomElement: defineCustomElement$
|
|
28680
|
+
defineCustomElement: defineCustomElement$S
|
|
27759
28681
|
});
|
|
27760
28682
|
const NvDialog = r({
|
|
27761
28683
|
tagName: 'nv-dialog',
|
|
27762
28684
|
elementClass: NvDialog$2,
|
|
27763
28685
|
react: React,
|
|
27764
28686
|
events: { onOpenChanged: 'openChanged' },
|
|
27765
|
-
defineCustomElement: defineCustomElement$
|
|
28687
|
+
defineCustomElement: defineCustomElement$P
|
|
27766
28688
|
});
|
|
27767
28689
|
const NvDialogfooter = r({
|
|
27768
28690
|
tagName: 'nv-dialogfooter',
|
|
@@ -27772,28 +28694,28 @@ const NvDialogfooter = r({
|
|
|
27772
28694
|
onDialogCanceled: 'dialogCanceled',
|
|
27773
28695
|
onDialogPrimaryClicked: 'dialogPrimaryClicked'
|
|
27774
28696
|
},
|
|
27775
|
-
defineCustomElement: defineCustomElement$
|
|
28697
|
+
defineCustomElement: defineCustomElement$O
|
|
27776
28698
|
});
|
|
27777
28699
|
const NvDialogheader = r({
|
|
27778
28700
|
tagName: 'nv-dialogheader',
|
|
27779
28701
|
elementClass: NvDialogheader$1,
|
|
27780
28702
|
react: React,
|
|
27781
28703
|
events: {},
|
|
27782
|
-
defineCustomElement: defineCustomElement$
|
|
28704
|
+
defineCustomElement: defineCustomElement$N
|
|
27783
28705
|
});
|
|
27784
28706
|
const NvFieldcheckbox = r({
|
|
27785
28707
|
tagName: 'nv-fieldcheckbox',
|
|
27786
28708
|
elementClass: NvFieldcheckbox$1,
|
|
27787
28709
|
react: React,
|
|
27788
28710
|
events: { onCheckedChanged: 'checkedChanged' },
|
|
27789
|
-
defineCustomElement: defineCustomElement$
|
|
28711
|
+
defineCustomElement: defineCustomElement$L
|
|
27790
28712
|
});
|
|
27791
28713
|
const NvFielddate = r({
|
|
27792
28714
|
tagName: 'nv-fielddate',
|
|
27793
28715
|
elementClass: NvFielddate$2,
|
|
27794
28716
|
react: React,
|
|
27795
28717
|
events: { onValueChanged: 'valueChanged' },
|
|
27796
|
-
defineCustomElement: defineCustomElement$
|
|
28718
|
+
defineCustomElement: defineCustomElement$K
|
|
27797
28719
|
});
|
|
27798
28720
|
const NvFielddaterange = r({
|
|
27799
28721
|
tagName: 'nv-fielddaterange',
|
|
@@ -27803,7 +28725,7 @@ const NvFielddaterange = r({
|
|
|
27803
28725
|
onDateRangeChange: 'dateRangeChange',
|
|
27804
28726
|
onValueChanged: 'valueChanged'
|
|
27805
28727
|
},
|
|
27806
|
-
defineCustomElement: defineCustomElement$
|
|
28728
|
+
defineCustomElement: defineCustomElement$J
|
|
27807
28729
|
});
|
|
27808
28730
|
const NvFielddropdown = r({
|
|
27809
28731
|
tagName: 'nv-fielddropdown',
|
|
@@ -27815,21 +28737,21 @@ const NvFielddropdown = r({
|
|
|
27815
28737
|
onOpenChanged: 'openChanged',
|
|
27816
28738
|
onDropdownItemSelected: 'dropdownItemSelected'
|
|
27817
28739
|
},
|
|
27818
|
-
defineCustomElement: defineCustomElement$
|
|
28740
|
+
defineCustomElement: defineCustomElement$H
|
|
27819
28741
|
});
|
|
27820
28742
|
const NvFielddropdownitem = r({
|
|
27821
28743
|
tagName: 'nv-fielddropdownitem',
|
|
27822
28744
|
elementClass: NvFielddropdownitem$1,
|
|
27823
28745
|
react: React,
|
|
27824
28746
|
events: { onDropdownItemSelected: 'dropdownItemSelected' },
|
|
27825
|
-
defineCustomElement: defineCustomElement$
|
|
28747
|
+
defineCustomElement: defineCustomElement$G
|
|
27826
28748
|
});
|
|
27827
28749
|
const NvFielddropdownitemcheck = r({
|
|
27828
28750
|
tagName: 'nv-fielddropdownitemcheck',
|
|
27829
28751
|
elementClass: NvFielddropdownitemcheck$1,
|
|
27830
28752
|
react: React,
|
|
27831
28753
|
events: { onItemChecked: 'itemChecked' },
|
|
27832
|
-
defineCustomElement: defineCustomElement$
|
|
28754
|
+
defineCustomElement: defineCustomElement$E
|
|
27833
28755
|
});
|
|
27834
28756
|
const NvFieldmultiselect = r({
|
|
27835
28757
|
tagName: 'nv-fieldmultiselect',
|
|
@@ -27839,125 +28761,195 @@ const NvFieldmultiselect = r({
|
|
|
27839
28761
|
onValueChanged: 'valueChanged',
|
|
27840
28762
|
onFilterTextChanged: 'filterTextChanged'
|
|
27841
28763
|
},
|
|
27842
|
-
defineCustomElement: defineCustomElement$
|
|
28764
|
+
defineCustomElement: defineCustomElement$D
|
|
27843
28765
|
});
|
|
27844
28766
|
const NvFieldnumber = r({
|
|
27845
28767
|
tagName: 'nv-fieldnumber',
|
|
27846
28768
|
elementClass: NvFieldnumber$1,
|
|
27847
28769
|
react: React,
|
|
27848
28770
|
events: { onValueChanged: 'valueChanged' },
|
|
27849
|
-
defineCustomElement: defineCustomElement$
|
|
28771
|
+
defineCustomElement: defineCustomElement$B
|
|
27850
28772
|
});
|
|
27851
28773
|
const NvFieldpassword = r({
|
|
27852
28774
|
tagName: 'nv-fieldpassword',
|
|
27853
28775
|
elementClass: NvFieldpassword$2,
|
|
27854
28776
|
react: React,
|
|
27855
28777
|
events: { onValueChanged: 'valueChanged' },
|
|
27856
|
-
defineCustomElement: defineCustomElement$
|
|
28778
|
+
defineCustomElement: defineCustomElement$A
|
|
27857
28779
|
});
|
|
27858
28780
|
const NvFieldradio = r({
|
|
27859
28781
|
tagName: 'nv-fieldradio',
|
|
27860
28782
|
elementClass: NvFieldradio$2,
|
|
27861
28783
|
react: React,
|
|
27862
28784
|
events: { onCheckedChanged: 'checkedChanged' },
|
|
27863
|
-
defineCustomElement: defineCustomElement$
|
|
28785
|
+
defineCustomElement: defineCustomElement$z
|
|
27864
28786
|
});
|
|
27865
28787
|
const NvFieldselect = r({
|
|
27866
28788
|
tagName: 'nv-fieldselect',
|
|
27867
28789
|
elementClass: NvFieldselect$2,
|
|
27868
28790
|
react: React,
|
|
27869
28791
|
events: { onValueChanged: 'valueChanged' },
|
|
27870
|
-
defineCustomElement: defineCustomElement$
|
|
28792
|
+
defineCustomElement: defineCustomElement$y
|
|
27871
28793
|
});
|
|
27872
28794
|
const NvFieldslider = r({
|
|
27873
28795
|
tagName: 'nv-fieldslider',
|
|
27874
28796
|
elementClass: NvFieldslider$2,
|
|
27875
28797
|
react: React,
|
|
27876
28798
|
events: { onValueChanged: 'valueChanged' },
|
|
27877
|
-
defineCustomElement: defineCustomElement$
|
|
28799
|
+
defineCustomElement: defineCustomElement$x
|
|
27878
28800
|
});
|
|
27879
28801
|
const NvFieldtext = r({
|
|
27880
28802
|
tagName: 'nv-fieldtext',
|
|
27881
28803
|
elementClass: NvFieldtext$1,
|
|
27882
28804
|
react: React,
|
|
27883
28805
|
events: { onValueChanged: 'valueChanged' },
|
|
27884
|
-
defineCustomElement: defineCustomElement$
|
|
28806
|
+
defineCustomElement: defineCustomElement$w
|
|
27885
28807
|
});
|
|
27886
28808
|
const NvFieldtextarea = r({
|
|
27887
28809
|
tagName: 'nv-fieldtextarea',
|
|
27888
28810
|
elementClass: NvFieldtextarea$2,
|
|
27889
28811
|
react: React,
|
|
27890
28812
|
events: { onValueChanged: 'valueChanged' },
|
|
27891
|
-
defineCustomElement: defineCustomElement$
|
|
28813
|
+
defineCustomElement: defineCustomElement$v
|
|
27892
28814
|
});
|
|
27893
28815
|
const NvFieldtime = r({
|
|
27894
28816
|
tagName: 'nv-fieldtime',
|
|
27895
28817
|
elementClass: NvFieldtime$2,
|
|
27896
28818
|
react: React,
|
|
27897
28819
|
events: { onValueChanged: 'valueChanged' },
|
|
27898
|
-
defineCustomElement: defineCustomElement$
|
|
28820
|
+
defineCustomElement: defineCustomElement$u
|
|
27899
28821
|
});
|
|
27900
28822
|
const NvIcon = r({
|
|
27901
28823
|
tagName: 'nv-icon',
|
|
27902
28824
|
elementClass: NvIcon$1,
|
|
27903
28825
|
react: React,
|
|
27904
28826
|
events: {},
|
|
27905
|
-
defineCustomElement: defineCustomElement$
|
|
28827
|
+
defineCustomElement: defineCustomElement$t
|
|
27906
28828
|
});
|
|
27907
28829
|
const NvIconbutton = r({
|
|
27908
28830
|
tagName: 'nv-iconbutton',
|
|
27909
28831
|
elementClass: NvIconbutton$1,
|
|
27910
28832
|
react: React,
|
|
27911
28833
|
events: {},
|
|
27912
|
-
defineCustomElement: defineCustomElement$
|
|
28834
|
+
defineCustomElement: defineCustomElement$s
|
|
27913
28835
|
});
|
|
27914
28836
|
const NvLoader = r({
|
|
27915
28837
|
tagName: 'nv-loader',
|
|
27916
28838
|
elementClass: NvLoader$1,
|
|
27917
28839
|
react: React,
|
|
27918
28840
|
events: {},
|
|
27919
|
-
defineCustomElement: defineCustomElement$
|
|
28841
|
+
defineCustomElement: defineCustomElement$r
|
|
27920
28842
|
});
|
|
27921
28843
|
const NvMenu = r({
|
|
27922
28844
|
tagName: 'nv-menu',
|
|
27923
28845
|
elementClass: NvMenu$2,
|
|
27924
28846
|
react: React,
|
|
27925
28847
|
events: { onMenuitemSelected: 'menuitemSelected' },
|
|
27926
|
-
defineCustomElement: defineCustomElement$
|
|
28848
|
+
defineCustomElement: defineCustomElement$p
|
|
27927
28849
|
});
|
|
27928
28850
|
const NvMenuitem = r({
|
|
27929
28851
|
tagName: 'nv-menuitem',
|
|
27930
28852
|
elementClass: NvMenuitem$1,
|
|
27931
28853
|
react: React,
|
|
27932
28854
|
events: { onMenuitemSelected: 'menuitemSelected' },
|
|
27933
|
-
defineCustomElement: defineCustomElement$
|
|
28855
|
+
defineCustomElement: defineCustomElement$o
|
|
27934
28856
|
});
|
|
27935
28857
|
const NvNotification = r({
|
|
27936
28858
|
tagName: 'nv-notification',
|
|
27937
28859
|
elementClass: NvNotification$2,
|
|
27938
28860
|
react: React,
|
|
27939
28861
|
events: { onHiddenChanged: 'hiddenChanged' },
|
|
27940
|
-
defineCustomElement: defineCustomElement$
|
|
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
|
|
27941
28870
|
});
|
|
27942
28871
|
const NvNotificationcontainer = r({
|
|
27943
28872
|
tagName: 'nv-notificationcontainer',
|
|
27944
28873
|
elementClass: NvNotificationcontainer$1,
|
|
27945
28874
|
react: React,
|
|
27946
28875
|
events: {},
|
|
27947
|
-
defineCustomElement: defineCustomElement$
|
|
28876
|
+
defineCustomElement: defineCustomElement$k
|
|
27948
28877
|
});
|
|
27949
28878
|
const NvPopover = r({
|
|
27950
28879
|
tagName: 'nv-popover',
|
|
27951
28880
|
elementClass: NvPopover$1,
|
|
27952
28881
|
react: React,
|
|
27953
28882
|
events: { onOpenChanged: 'openChanged' },
|
|
27954
|
-
defineCustomElement: defineCustomElement$
|
|
28883
|
+
defineCustomElement: defineCustomElement$j
|
|
27955
28884
|
});
|
|
27956
28885
|
const NvRow = r({
|
|
27957
28886
|
tagName: 'nv-row',
|
|
27958
28887
|
elementClass: NvRow$2,
|
|
27959
28888
|
react: React,
|
|
27960
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' },
|
|
28897
|
+
defineCustomElement: defineCustomElement$h
|
|
28898
|
+
});
|
|
28899
|
+
const NvSidebarcontent = r({
|
|
28900
|
+
tagName: 'nv-sidebarcontent',
|
|
28901
|
+
elementClass: NvSidebarcontent$2,
|
|
28902
|
+
react: React,
|
|
28903
|
+
events: {},
|
|
28904
|
+
defineCustomElement: defineCustomElement$g
|
|
28905
|
+
});
|
|
28906
|
+
const NvSidebardivider = r({
|
|
28907
|
+
tagName: 'nv-sidebardivider',
|
|
28908
|
+
elementClass: NvSidebardivider$2,
|
|
28909
|
+
react: React,
|
|
28910
|
+
events: {},
|
|
28911
|
+
defineCustomElement: defineCustomElement$f
|
|
28912
|
+
});
|
|
28913
|
+
const NvSidebarfooter = r({
|
|
28914
|
+
tagName: 'nv-sidebarfooter',
|
|
28915
|
+
elementClass: NvSidebarfooter$2,
|
|
28916
|
+
react: React,
|
|
28917
|
+
events: {},
|
|
28918
|
+
defineCustomElement: defineCustomElement$e
|
|
28919
|
+
});
|
|
28920
|
+
const NvSidebargroup = r({
|
|
28921
|
+
tagName: 'nv-sidebargroup',
|
|
28922
|
+
elementClass: NvSidebargroup$2,
|
|
28923
|
+
react: React,
|
|
28924
|
+
events: {},
|
|
28925
|
+
defineCustomElement: defineCustomElement$d
|
|
28926
|
+
});
|
|
28927
|
+
const NvSidebarheader = r({
|
|
28928
|
+
tagName: 'nv-sidebarheader',
|
|
28929
|
+
elementClass: NvSidebarheader$2,
|
|
28930
|
+
react: React,
|
|
28931
|
+
events: {},
|
|
28932
|
+
defineCustomElement: defineCustomElement$c
|
|
28933
|
+
});
|
|
28934
|
+
const NvSidebarlogo = r({
|
|
28935
|
+
tagName: 'nv-sidebarlogo',
|
|
28936
|
+
elementClass: NvSidebarlogo$2,
|
|
28937
|
+
react: React,
|
|
28938
|
+
events: {},
|
|
28939
|
+
defineCustomElement: defineCustomElement$b
|
|
28940
|
+
});
|
|
28941
|
+
const NvSidebarnavitem = r({
|
|
28942
|
+
tagName: 'nv-sidebarnavitem',
|
|
28943
|
+
elementClass: NvSidebarnavitem$2,
|
|
28944
|
+
react: React,
|
|
28945
|
+
events: {},
|
|
28946
|
+
defineCustomElement: defineCustomElement$a
|
|
28947
|
+
});
|
|
28948
|
+
const NvSidebarnavsubitem = r({
|
|
28949
|
+
tagName: 'nv-sidebarnavsubitem',
|
|
28950
|
+
elementClass: NvSidebarnavsubitem$2,
|
|
28951
|
+
react: React,
|
|
28952
|
+
events: {},
|
|
27961
28953
|
defineCustomElement: defineCustomElement$9
|
|
27962
28954
|
});
|
|
27963
28955
|
const NvSplit = r({
|
|
@@ -28371,183 +29363,223 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
28371
29363
|
case 'nv-accordion':
|
|
28372
29364
|
return Promise.resolve().then(function () { return require(
|
|
28373
29365
|
/* webpackMode: "lazy" */
|
|
28374
|
-
'./nv-accordion.entry-
|
|
29366
|
+
'./nv-accordion.entry-D6gckOF4.js'); }).then(processMod, consoleError);
|
|
28375
29367
|
case 'nv-alert':
|
|
28376
29368
|
return Promise.resolve().then(function () { return require(
|
|
28377
29369
|
/* webpackMode: "lazy" */
|
|
28378
|
-
'./nv-alert.entry-
|
|
29370
|
+
'./nv-alert.entry-Df8-nQ-R.js'); }).then(processMod, consoleError);
|
|
28379
29371
|
case 'nv-avatar':
|
|
28380
29372
|
return Promise.resolve().then(function () { return require(
|
|
28381
29373
|
/* webpackMode: "lazy" */
|
|
28382
|
-
'./nv-avatar.entry-
|
|
29374
|
+
'./nv-avatar.entry-ZOnVWP9L.js'); }).then(processMod, consoleError);
|
|
28383
29375
|
case 'nv-breadcrumb':
|
|
28384
29376
|
return Promise.resolve().then(function () { return require(
|
|
28385
29377
|
/* webpackMode: "lazy" */
|
|
28386
|
-
'./nv-breadcrumb.entry-
|
|
29378
|
+
'./nv-breadcrumb.entry-IqtE1JL0.js'); }).then(processMod, consoleError);
|
|
28387
29379
|
case 'nv-breadcrumbs':
|
|
28388
29380
|
return Promise.resolve().then(function () { return require(
|
|
28389
29381
|
/* webpackMode: "lazy" */
|
|
28390
|
-
'./nv-breadcrumbs.entry-
|
|
29382
|
+
'./nv-breadcrumbs.entry-Be6dz7zI.js'); }).then(processMod, consoleError);
|
|
28391
29383
|
case 'nv-buttongroup':
|
|
28392
29384
|
return Promise.resolve().then(function () { return require(
|
|
28393
29385
|
/* webpackMode: "lazy" */
|
|
28394
|
-
'./nv-buttongroup.entry-
|
|
29386
|
+
'./nv-buttongroup.entry-Cfe6rFSs.js'); }).then(processMod, consoleError);
|
|
28395
29387
|
case 'nv-col':
|
|
28396
29388
|
return Promise.resolve().then(function () { return require(
|
|
28397
29389
|
/* webpackMode: "lazy" */
|
|
28398
|
-
'./nv-col.entry-
|
|
29390
|
+
'./nv-col.entry-Cu-Qi1bi.js'); }).then(processMod, consoleError);
|
|
28399
29391
|
case 'nv-datagrid':
|
|
28400
29392
|
return Promise.resolve().then(function () { return require(
|
|
28401
29393
|
/* webpackMode: "lazy" */
|
|
28402
|
-
'./nv-datagrid.entry-
|
|
29394
|
+
'./nv-datagrid.entry-Cx7SvD5S.js'); }).then(processMod, consoleError);
|
|
28403
29395
|
case 'nv-datagridcolumn':
|
|
28404
29396
|
return Promise.resolve().then(function () { return require(
|
|
28405
29397
|
/* webpackMode: "lazy" */
|
|
28406
|
-
'./nv-datagridcolumn.entry-
|
|
29398
|
+
'./nv-datagridcolumn.entry-B_uXKFLg.js'); }).then(processMod, consoleError);
|
|
28407
29399
|
case 'nv-dialog':
|
|
28408
29400
|
return Promise.resolve().then(function () { return require(
|
|
28409
29401
|
/* webpackMode: "lazy" */
|
|
28410
|
-
'./nv-dialog.entry-
|
|
29402
|
+
'./nv-dialog.entry-J6Xwi6z1.js'); }).then(processMod, consoleError);
|
|
28411
29403
|
case 'nv-fielddate':
|
|
28412
29404
|
return Promise.resolve().then(function () { return require(
|
|
28413
29405
|
/* webpackMode: "lazy" */
|
|
28414
|
-
'./nv-fielddate.entry-
|
|
29406
|
+
'./nv-fielddate.entry-xWi3GpLl.js'); }).then(processMod, consoleError);
|
|
28415
29407
|
case 'nv-fielddaterange':
|
|
28416
29408
|
return Promise.resolve().then(function () { return require(
|
|
28417
29409
|
/* webpackMode: "lazy" */
|
|
28418
|
-
'./nv-fielddaterange.entry-
|
|
29410
|
+
'./nv-fielddaterange.entry-BwFtpw9X.js'); }).then(processMod, consoleError);
|
|
28419
29411
|
case 'nv-fielddropdown':
|
|
28420
29412
|
return Promise.resolve().then(function () { return require(
|
|
28421
29413
|
/* webpackMode: "lazy" */
|
|
28422
|
-
'./nv-fielddropdown.entry-
|
|
29414
|
+
'./nv-fielddropdown.entry-mnl7mSaK.js'); }).then(processMod, consoleError);
|
|
28423
29415
|
case 'nv-fieldmultiselect':
|
|
28424
29416
|
return Promise.resolve().then(function () { return require(
|
|
28425
29417
|
/* webpackMode: "lazy" */
|
|
28426
|
-
'./nv-fieldmultiselect.entry-
|
|
29418
|
+
'./nv-fieldmultiselect.entry-BtLTG7nM.js'); }).then(processMod, consoleError);
|
|
28427
29419
|
case 'nv-fieldpassword':
|
|
28428
29420
|
return Promise.resolve().then(function () { return require(
|
|
28429
29421
|
/* webpackMode: "lazy" */
|
|
28430
|
-
'./nv-fieldpassword.entry-
|
|
29422
|
+
'./nv-fieldpassword.entry-BLg8tCN0.js'); }).then(processMod, consoleError);
|
|
28431
29423
|
case 'nv-fieldradio':
|
|
28432
29424
|
return Promise.resolve().then(function () { return require(
|
|
28433
29425
|
/* webpackMode: "lazy" */
|
|
28434
|
-
'./nv-fieldradio.entry-
|
|
29426
|
+
'./nv-fieldradio.entry-2hb1Ur40.js'); }).then(processMod, consoleError);
|
|
28435
29427
|
case 'nv-fieldselect':
|
|
28436
29428
|
return Promise.resolve().then(function () { return require(
|
|
28437
29429
|
/* webpackMode: "lazy" */
|
|
28438
|
-
'./nv-fieldselect.entry-
|
|
29430
|
+
'./nv-fieldselect.entry-D-eYQpAv.js'); }).then(processMod, consoleError);
|
|
28439
29431
|
case 'nv-fieldslider':
|
|
28440
29432
|
return Promise.resolve().then(function () { return require(
|
|
28441
29433
|
/* webpackMode: "lazy" */
|
|
28442
|
-
'./nv-fieldslider.entry-
|
|
29434
|
+
'./nv-fieldslider.entry-BGle1RZR.js'); }).then(processMod, consoleError);
|
|
28443
29435
|
case 'nv-fieldtextarea':
|
|
28444
29436
|
return Promise.resolve().then(function () { return require(
|
|
28445
29437
|
/* webpackMode: "lazy" */
|
|
28446
|
-
'./nv-fieldtextarea.entry-
|
|
29438
|
+
'./nv-fieldtextarea.entry-Z32-s901.js'); }).then(processMod, consoleError);
|
|
28447
29439
|
case 'nv-fieldtime':
|
|
28448
29440
|
return Promise.resolve().then(function () { return require(
|
|
28449
29441
|
/* webpackMode: "lazy" */
|
|
28450
|
-
'./nv-fieldtime.entry-
|
|
29442
|
+
'./nv-fieldtime.entry-CDFGdfFL.js'); }).then(processMod, consoleError);
|
|
28451
29443
|
case 'nv-notification':
|
|
28452
29444
|
return Promise.resolve().then(function () { return require(
|
|
28453
29445
|
/* webpackMode: "lazy" */
|
|
28454
|
-
'./nv-notification.entry-
|
|
29446
|
+
'./nv-notification.entry-BxvJMKxH.js'); }).then(processMod, consoleError);
|
|
28455
29447
|
case 'nv-notificationcontainer':
|
|
28456
29448
|
return Promise.resolve().then(function () { return require(
|
|
28457
29449
|
/* webpackMode: "lazy" */
|
|
28458
|
-
'./nv-notificationcontainer.entry-
|
|
29450
|
+
'./nv-notificationcontainer.entry-CxGCIb96.js'); }).then(processMod, consoleError);
|
|
28459
29451
|
case 'nv-row':
|
|
28460
29452
|
return Promise.resolve().then(function () { return require(
|
|
28461
29453
|
/* webpackMode: "lazy" */
|
|
28462
|
-
'./nv-row.entry-
|
|
29454
|
+
'./nv-row.entry-PBLq_BzJ.js'); }).then(processMod, consoleError);
|
|
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);
|
|
28463
29491
|
case 'nv-split':
|
|
28464
29492
|
return Promise.resolve().then(function () { return require(
|
|
28465
29493
|
/* webpackMode: "lazy" */
|
|
28466
|
-
'./nv-split.entry-
|
|
29494
|
+
'./nv-split.entry-y66NBf88.js'); }).then(processMod, consoleError);
|
|
28467
29495
|
case 'nv-stack':
|
|
28468
29496
|
return Promise.resolve().then(function () { return require(
|
|
28469
29497
|
/* webpackMode: "lazy" */
|
|
28470
|
-
'./nv-stack.entry-
|
|
29498
|
+
'./nv-stack.entry-CXjpkpbW.js'); }).then(processMod, consoleError);
|
|
28471
29499
|
case 'nv-table':
|
|
28472
29500
|
return Promise.resolve().then(function () { return require(
|
|
28473
29501
|
/* webpackMode: "lazy" */
|
|
28474
|
-
'./nv-table.entry-
|
|
29502
|
+
'./nv-table.entry-quaVnLru.js'); }).then(processMod, consoleError);
|
|
28475
29503
|
case 'nv-tableheader':
|
|
28476
29504
|
return Promise.resolve().then(function () { return require(
|
|
28477
29505
|
/* webpackMode: "lazy" */
|
|
28478
|
-
'./nv-tableheader.entry-
|
|
29506
|
+
'./nv-tableheader.entry-DTBE2XQO.js'); }).then(processMod, consoleError);
|
|
28479
29507
|
case 'nv-toggle':
|
|
28480
29508
|
return Promise.resolve().then(function () { return require(
|
|
28481
29509
|
/* webpackMode: "lazy" */
|
|
28482
|
-
'./nv-toggle.entry-
|
|
29510
|
+
'./nv-toggle.entry-CxUwF0pb.js'); }).then(processMod, consoleError);
|
|
28483
29511
|
case 'nv-togglebutton':
|
|
28484
29512
|
return Promise.resolve().then(function () { return require(
|
|
28485
29513
|
/* webpackMode: "lazy" */
|
|
28486
|
-
'./nv-togglebutton.entry-
|
|
29514
|
+
'./nv-togglebutton.entry-w-WEAmE6.js'); }).then(processMod, consoleError);
|
|
28487
29515
|
case 'nv-togglebuttongroup':
|
|
28488
29516
|
return Promise.resolve().then(function () { return require(
|
|
28489
29517
|
/* webpackMode: "lazy" */
|
|
28490
|
-
'./nv-togglebuttongroup.entry-
|
|
29518
|
+
'./nv-togglebuttongroup.entry-UbrE8y7a.js'); }).then(processMod, consoleError);
|
|
28491
29519
|
case 'nv-accordion-item':
|
|
28492
29520
|
return Promise.resolve().then(function () { return require(
|
|
28493
29521
|
/* webpackMode: "lazy" */
|
|
28494
|
-
'./nv-accordion-item.entry-
|
|
29522
|
+
'./nv-accordion-item.entry-zvp8yDql.js'); }).then(processMod, consoleError);
|
|
28495
29523
|
case 'nv-badge_2':
|
|
28496
29524
|
return Promise.resolve().then(function () { return require(
|
|
28497
29525
|
/* webpackMode: "lazy" */
|
|
28498
|
-
'./nv-badge_2.entry-
|
|
29526
|
+
'./nv-badge_2.entry-DgiVv_Yf.js'); }).then(processMod, consoleError);
|
|
28499
29527
|
case 'nv-dialogfooter_2':
|
|
28500
29528
|
return Promise.resolve().then(function () { return require(
|
|
28501
29529
|
/* webpackMode: "lazy" */
|
|
28502
|
-
'./nv-dialogfooter_2.entry-
|
|
29530
|
+
'./nv-dialogfooter_2.entry-DOlhqDTh.js'); }).then(processMod, consoleError);
|
|
28503
29531
|
case 'nv-fielddropdownitem':
|
|
28504
29532
|
return Promise.resolve().then(function () { return require(
|
|
28505
29533
|
/* webpackMode: "lazy" */
|
|
28506
|
-
'./nv-fielddropdownitem.entry-
|
|
29534
|
+
'./nv-fielddropdownitem.entry-DjyFlVXw.js'); }).then(processMod, consoleError);
|
|
28507
29535
|
case 'nv-fieldnumber':
|
|
28508
29536
|
return Promise.resolve().then(function () { return require(
|
|
28509
29537
|
/* webpackMode: "lazy" */
|
|
28510
|
-
'./nv-fieldnumber.entry-
|
|
29538
|
+
'./nv-fieldnumber.entry-C00Hg70B.js'); }).then(processMod, consoleError);
|
|
28511
29539
|
case 'nv-fieldtext':
|
|
28512
29540
|
return Promise.resolve().then(function () { return require(
|
|
28513
29541
|
/* webpackMode: "lazy" */
|
|
28514
|
-
'./nv-fieldtext.entry-
|
|
29542
|
+
'./nv-fieldtext.entry-Djg8cqOa.js'); }).then(processMod, consoleError);
|
|
28515
29543
|
case 'nv-menu':
|
|
28516
29544
|
return Promise.resolve().then(function () { return require(
|
|
28517
29545
|
/* webpackMode: "lazy" */
|
|
28518
|
-
'./nv-menu.entry-
|
|
29546
|
+
'./nv-menu.entry-iob0Kve8.js'); }).then(processMod, consoleError);
|
|
28519
29547
|
case 'nv-menuitem':
|
|
28520
29548
|
return Promise.resolve().then(function () { return require(
|
|
28521
29549
|
/* webpackMode: "lazy" */
|
|
28522
|
-
'./nv-menuitem.entry-
|
|
29550
|
+
'./nv-menuitem.entry-C989Ui60.js'); }).then(processMod, consoleError);
|
|
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);
|
|
28523
29555
|
case 'nv-tooltip':
|
|
28524
29556
|
return Promise.resolve().then(function () { return require(
|
|
28525
29557
|
/* webpackMode: "lazy" */
|
|
28526
|
-
'./nv-tooltip.entry-
|
|
29558
|
+
'./nv-tooltip.entry-Dq2bkV33.js'); }).then(processMod, consoleError);
|
|
28527
29559
|
case 'nv-button':
|
|
28528
29560
|
return Promise.resolve().then(function () { return require(
|
|
28529
29561
|
/* webpackMode: "lazy" */
|
|
28530
|
-
'./nv-button.entry-
|
|
29562
|
+
'./nv-button.entry-CmswF3Si.js'); }).then(processMod, consoleError);
|
|
28531
29563
|
case 'nv-calendar':
|
|
28532
29564
|
return Promise.resolve().then(function () { return require(
|
|
28533
29565
|
/* webpackMode: "lazy" */
|
|
28534
|
-
'./nv-calendar.entry-
|
|
29566
|
+
'./nv-calendar.entry-q83sS_dN.js'); }).then(processMod, consoleError);
|
|
28535
29567
|
case 'nv-fieldcheckbox':
|
|
28536
29568
|
return Promise.resolve().then(function () { return require(
|
|
28537
29569
|
/* webpackMode: "lazy" */
|
|
28538
|
-
'./nv-fieldcheckbox.entry-
|
|
29570
|
+
'./nv-fieldcheckbox.entry-C23dGGX7.js'); }).then(processMod, consoleError);
|
|
28539
29571
|
case 'nv-popover':
|
|
28540
29572
|
return Promise.resolve().then(function () { return require(
|
|
28541
29573
|
/* webpackMode: "lazy" */
|
|
28542
|
-
'./nv-popover.entry-
|
|
29574
|
+
'./nv-popover.entry-1KsO_KQm.js'); }).then(processMod, consoleError);
|
|
28543
29575
|
case 'nv-iconbutton_2':
|
|
28544
29576
|
return Promise.resolve().then(function () { return require(
|
|
28545
29577
|
/* webpackMode: "lazy" */
|
|
28546
|
-
'./nv-iconbutton_2.entry-
|
|
29578
|
+
'./nv-iconbutton_2.entry-DdgEkFLK.js'); }).then(processMod, consoleError);
|
|
28547
29579
|
case 'nv-icon':
|
|
28548
29580
|
return Promise.resolve().then(function () { return require(
|
|
28549
29581
|
/* webpackMode: "lazy" */
|
|
28550
|
-
'./nv-icon.entry-
|
|
29582
|
+
'./nv-icon.entry-BDq7DKRt.js'); }).then(processMod, consoleError);
|
|
28551
29583
|
}
|
|
28552
29584
|
}
|
|
28553
29585
|
return import(
|
|
@@ -30765,7 +31797,7 @@ const globalScripts = () => {};
|
|
|
30765
31797
|
const defineCustomElements = async (win, options) => {
|
|
30766
31798
|
if (typeof window === 'undefined') return undefined;
|
|
30767
31799
|
await globalScripts();
|
|
30768
|
-
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\"],[4,\"click\",\"handleDocumentClick\"]],{\"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\"],[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);
|
|
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);
|
|
30769
31801
|
};
|
|
30770
31802
|
|
|
30771
31803
|
(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);}})();
|
|
@@ -34283,9 +35315,19 @@ exports.NvLoader = NvLoader;
|
|
|
34283
35315
|
exports.NvMenu = NvMenu;
|
|
34284
35316
|
exports.NvMenuitem = NvMenuitem;
|
|
34285
35317
|
exports.NvNotification = NvNotification;
|
|
35318
|
+
exports.NvNotificationBullet = NvNotificationBullet;
|
|
34286
35319
|
exports.NvNotificationcontainer = NvNotificationcontainer;
|
|
34287
35320
|
exports.NvPopover = NvPopover;
|
|
34288
35321
|
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;
|
|
34289
35331
|
exports.NvSplit = NvSplit;
|
|
34290
35332
|
exports.NvStack = NvStack;
|
|
34291
35333
|
exports.NvTable = NvTable;
|