@nova-design-system/nova-react 3.21.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/grow.animation-24ad5cf8-LUp_ITEx.js +111 -0
- package/dist/cjs/{index-yxDlFA78.js → index-WPRkQD3O.js} +475 -178
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{nv-accordion-item.entry-5DF2ffDE.js → nv-accordion-item.entry-BuTvA6w9.js} +1 -1
- package/dist/cjs/{nv-accordion.entry-CPB1HBT1.js → nv-accordion.entry-Dtsfw6He.js} +1 -1
- package/dist/cjs/{nv-alert.entry-jPxt1obA.js → nv-alert.entry-TIdfdU7Y.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-zmnREEN-.js → nv-avatar.entry-CaxrhPuw.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-DtkQx_M9.js → nv-badge_2.entry-CfYvTZxX.js} +2 -2
- package/dist/cjs/{nv-breadcrumb.entry-DHAe5FxQ.js → nv-breadcrumb.entry-BCZ4MmfD.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-C7XepUqF.js → nv-breadcrumbs.entry-DwzCE7F6.js} +1 -1
- package/dist/cjs/{nv-button.entry-Dg1knj3Y.js → nv-button.entry-Cr_86bcZ.js} +1 -1
- package/dist/cjs/{nv-buttongroup.entry-Dlim9p8N.js → nv-buttongroup.entry-CWjRoHY1.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-rL5_GdQg.js → nv-calendar.entry-CXfwNt6G.js} +1 -1
- package/dist/cjs/{nv-col.entry-CnbFx7h1.js → nv-col.entry-CJLDS3LY.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-CjUfR4ha.js → nv-datagrid.entry-Cns8XSud.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-BiuYIp4q.js → nv-datagridcolumn.entry-CFFAipHF.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-fDywe5i2.js → nv-dialog.entry-CDSK9pUH.js} +54 -20
- package/dist/cjs/{nv-dialogfooter_2.entry-CckfZ_QW.js → nv-dialogfooter_2.entry-To_dGUn4.js} +3 -3
- package/dist/cjs/{nv-fieldcheckbox.entry-WmfLxGad.js → nv-fieldcheckbox.entry-fdonR07Z.js} +5 -5
- package/dist/cjs/{nv-fielddate.entry-GLGb7tzu.js → nv-fielddate.entry-C3pXtMHL.js} +15 -18
- package/dist/cjs/{nv-fielddaterange.entry-C8gXNY2P.js → nv-fielddaterange.entry-CjVVPEK_.js} +8 -10
- package/dist/cjs/{nv-fielddropdown.entry-BX1V8Uef.js → nv-fielddropdown.entry-C9mXuNNj.js} +15 -6
- package/dist/cjs/{nv-fielddropdownitem.entry-BMVFbA1v.js → nv-fielddropdownitem.entry-Dah-PaE8.js} +3 -3
- package/dist/cjs/{nv-fieldmultiselect.entry-BuV-qWbu.js → nv-fieldmultiselect.entry-BMLjhqoJ.js} +2 -2
- package/dist/cjs/{nv-fieldnumber.entry-qM1ct5SM.js → nv-fieldnumber.entry-DBdJviXu.js} +4 -4
- package/dist/cjs/{nv-fieldpassword.entry-BnGWErFQ.js → nv-fieldpassword.entry-Cim_usSM.js} +4 -4
- package/dist/cjs/{nv-fieldradio.entry-EliQYldW.js → nv-fieldradio.entry-X_2VT1Dj.js} +4 -4
- package/dist/cjs/{nv-fieldselect.entry-BfPVPmaZ.js → nv-fieldselect.entry-pSp-2rNn.js} +6 -6
- package/dist/cjs/{nv-fieldslider.entry-DBPpL94x.js → nv-fieldslider.entry-pZf7zzLU.js} +4 -4
- package/dist/cjs/{nv-fieldtext.entry-BnabKYgq.js → nv-fieldtext.entry-DlI_ExaV.js} +4 -4
- package/dist/cjs/{nv-fieldtextarea.entry-HaELAnJb.js → nv-fieldtextarea.entry-t3Ixxi23.js} +4 -4
- package/dist/cjs/{nv-fieldtime.entry-CWQM7fza.js → nv-fieldtime.entry-DY7D5_6K.js} +4 -4
- package/dist/cjs/{nv-icon.entry-B5cWNyvf.js → nv-icon.entry-6oYPSf4c.js} +2 -2
- package/dist/cjs/{nv-iconbutton_2.entry-CP1o9IVZ.js → nv-iconbutton_2.entry-ChULGovr.js} +3 -3
- package/dist/cjs/{nv-menu.entry-wMwI_sZ3.js → nv-menu.entry-sd0tatWq.js} +2 -2
- package/dist/cjs/{nv-menuitem.entry-C53TrB0_.js → nv-menuitem.entry-CCOqR7UF.js} +2 -2
- package/dist/cjs/{nv-notification.entry-BPyEusqt.js → nv-notification.entry-Cc3zE3yY.js} +2 -2
- package/dist/cjs/{nv-notificationcontainer.entry-MRIJURIS.js → nv-notificationcontainer.entry-DV4D6oOH.js} +2 -2
- package/dist/cjs/{nv-popover.entry-fj50OLMu.js → nv-popover.entry-DQSwI2jT.js} +14 -98
- package/dist/cjs/{nv-row.entry-T0OlcSij.js → nv-row.entry-UUuMSAY5.js} +2 -2
- package/dist/cjs/{nv-split.entry-DlI7I6Tb.js → nv-split.entry-CYP2bTTM.js} +2 -2
- package/dist/cjs/{nv-stack.entry-991A3rOk.js → nv-stack.entry-D35-75Vw.js} +2 -2
- package/dist/cjs/{nv-table.entry-ClSU3-cR.js → nv-table.entry-DevWJBnL.js} +2 -2
- package/dist/cjs/{nv-tableheader.entry-DzvbPDBN.js → nv-tableheader.entry-Hs7nUSOC.js} +2 -2
- package/dist/cjs/{nv-toggle.entry-Dq5hAoVB.js → nv-toggle.entry-Eje9d--6.js} +3 -3
- package/dist/cjs/{nv-togglebutton.entry-DI8HQ5Ou.js → nv-togglebutton.entry-LGI7pIeK.js} +2 -2
- package/dist/cjs/{nv-togglebuttongroup.entry-DzGOSBF7.js → nv-togglebuttongroup.entry-CWN_Ucry.js} +2 -2
- package/dist/cjs/{nv-tooltip.entry-CF0-gdZL.js → nv-tooltip.entry-BGkKDEFg.js} +2 -2
- package/dist/components/NvDatatable/NvDatatable.js +77 -4
- package/dist/types/components/NvDatatable/NvDatatable.d.ts +1 -1
- package/dist/types/components/NvDatatable/types.d.ts +17 -1
- 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", {
|
|
@@ -3781,7 +3781,7 @@ 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", {
|
|
@@ -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; }
|
|
@@ -5670,6 +5670,25 @@ defineCustomElement$V();
|
|
|
5670
5670
|
const NvBadge$1 = NvBadge$2;
|
|
5671
5671
|
const defineCustomElement$U = defineCustomElement$V;
|
|
5672
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
|
+
}
|
|
5691
|
+
|
|
5673
5692
|
const useGrow = (node, { duration = 200, amount = 0.8, hasFade = true } = {}) => {
|
|
5674
5693
|
const nodeStyler = index(node);
|
|
5675
5694
|
/**
|
|
@@ -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 {
|
|
@@ -7743,7 +7743,7 @@ const NvTooltip$2 = /*@__PURE__*/ proxyCustomElement(class NvTooltip extends H {
|
|
|
7743
7743
|
/****************************************************************************/
|
|
7744
7744
|
//#region RENDER
|
|
7745
7745
|
render() {
|
|
7746
|
-
return (h$1(Host$1, { key: '
|
|
7746
|
+
return (h$1(Host$1, { key: 'f0560549d1168fed22c4e48a2e11be5dda49f005' }, h$1("slot", { key: '698227e9bea7ea94eff00ff72f124656ed11624d' }), h$1("nv-popover", { key: 'df4ddd77e40b4998a32e166710a2ff27a1e0c216', triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay }, h$1("p", { key: 'b8fc42997671fafc15173bce2fdf7dec667d76e5', slot: "content" }, this.message), h$1("slot", { key: '5b8a27ff474367ba2e5771deb62137e40f5d911d', name: "content" }))));
|
|
7747
7747
|
}
|
|
7748
7748
|
get el() { return this; }
|
|
7749
7749
|
static get style() { return NvTooltipStyle0; }
|
|
@@ -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; }
|
|
@@ -12971,13 +12971,13 @@ function expandRows$1(rowModel) {
|
|
|
12971
12971
|
};
|
|
12972
12972
|
}
|
|
12973
12973
|
|
|
12974
|
-
function filterRows(rows, filterRowImpl, table) {
|
|
12974
|
+
function filterRows$1(rows, filterRowImpl, table) {
|
|
12975
12975
|
if (table.options.filterFromLeafRows) {
|
|
12976
|
-
return filterRowModelFromLeafs(rows, filterRowImpl, table);
|
|
12976
|
+
return filterRowModelFromLeafs$1(rows, filterRowImpl, table);
|
|
12977
12977
|
}
|
|
12978
|
-
return filterRowModelFromRoot(rows, filterRowImpl, table);
|
|
12978
|
+
return filterRowModelFromRoot$1(rows, filterRowImpl, table);
|
|
12979
12979
|
}
|
|
12980
|
-
function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
12980
|
+
function filterRowModelFromLeafs$1(rowsToFilter, filterRow, table) {
|
|
12981
12981
|
var _table$options$maxLea;
|
|
12982
12982
|
const newFilteredFlatRows = [];
|
|
12983
12983
|
const newFilteredRowsById = {};
|
|
@@ -13026,7 +13026,7 @@ function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
|
13026
13026
|
rowsById: newFilteredRowsById
|
|
13027
13027
|
};
|
|
13028
13028
|
}
|
|
13029
|
-
function filterRowModelFromRoot(rowsToFilter, filterRow, table) {
|
|
13029
|
+
function filterRowModelFromRoot$1(rowsToFilter, filterRow, table) {
|
|
13030
13030
|
var _table$options$maxLea2;
|
|
13031
13031
|
const newFilteredFlatRows = [];
|
|
13032
13032
|
const newFilteredRowsById = {};
|
|
@@ -13066,7 +13066,7 @@ function filterRowModelFromRoot(rowsToFilter, filterRow, table) {
|
|
|
13066
13066
|
};
|
|
13067
13067
|
}
|
|
13068
13068
|
|
|
13069
|
-
function getFilteredRowModel() {
|
|
13069
|
+
function getFilteredRowModel$1() {
|
|
13070
13070
|
return table => memo$1(() => [table.getPreFilteredRowModel(), table.getState().columnFilters, table.getState().globalFilter], (rowModel, columnFilters, globalFilter) => {
|
|
13071
13071
|
if (!rowModel.rows.length || !(columnFilters != null && columnFilters.length) && !globalFilter) {
|
|
13072
13072
|
for (let i = 0; i < rowModel.flatRows.length; i++) {
|
|
@@ -13153,7 +13153,7 @@ function getFilteredRowModel() {
|
|
|
13153
13153
|
};
|
|
13154
13154
|
|
|
13155
13155
|
// Filter final rows using all of the active filters
|
|
13156
|
-
return filterRows(rowModel.rows, filterRowsImpl, table);
|
|
13156
|
+
return filterRows$1(rowModel.rows, filterRowsImpl, table);
|
|
13157
13157
|
}, getMemoOptions$1(table.options, 'debugTable', 'getFilteredRowModel', () => table._autoResetPageIndex()));
|
|
13158
13158
|
}
|
|
13159
13159
|
|
|
@@ -13816,7 +13816,7 @@ const NvDatagrid$1 = /*@__PURE__*/ proxyCustomElement(class NvDatagrid extends H
|
|
|
13816
13816
|
}
|
|
13817
13817
|
}
|
|
13818
13818
|
if (this.enableGlobalFilter) {
|
|
13819
|
-
tableOptions.getFilteredRowModel = getFilteredRowModel();
|
|
13819
|
+
tableOptions.getFilteredRowModel = getFilteredRowModel$1();
|
|
13820
13820
|
const globalFilter = this.globalFilterSearchTerm;
|
|
13821
13821
|
// Set the initial global filter value
|
|
13822
13822
|
tableOptions.state.globalFilter = globalFilter;
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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,7 +15622,7 @@ 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
15628
|
function defineCustomElement$1$l() {
|
|
@@ -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; }
|
|
@@ -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,7 +19988,7 @@ 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
|
}]);
|
|
@@ -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 {
|
|
@@ -20616,7 +20642,7 @@ defineCustomElement$1$j();
|
|
|
20616
20642
|
const NvFielddaterange$2 = NvFielddaterange$1;
|
|
20617
20643
|
const defineCustomElement$y = defineCustomElement$1$j;
|
|
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; }
|
|
@@ -20707,7 +20733,7 @@ function defineCustomElement$x() {
|
|
|
20707
20733
|
}
|
|
20708
20734
|
defineCustomElement$x();
|
|
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; }
|
|
@@ -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; }
|
|
@@ -21247,7 +21282,7 @@ defineCustomElement$u();
|
|
|
21247
21282
|
const NvFielddropdownitemcheck$1 = NvFielddropdownitemcheck$2;
|
|
21248
21283
|
const defineCustomElement$t = defineCustomElement$u;
|
|
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 {
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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; }
|
|
@@ -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 {
|
|
@@ -26371,7 +26406,7 @@ const NvNotification$1 = /*@__PURE__*/ proxyCustomElement(class NvNotification e
|
|
|
26371
26406
|
//#region RENDER
|
|
26372
26407
|
render() {
|
|
26373
26408
|
var _a, _b, _c;
|
|
26374
|
-
return (h$1(Host$1, { key: '
|
|
26409
|
+
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
26410
|
}
|
|
26376
26411
|
get el() { return this; }
|
|
26377
26412
|
static get style() { return NvNotificationStyle0; }
|
|
@@ -26441,7 +26476,7 @@ const NvNotificationContainer = /*@__PURE__*/ proxyCustomElement(class NvNotific
|
|
|
26441
26476
|
/****************************************************************************/
|
|
26442
26477
|
//#region RENDER
|
|
26443
26478
|
render() {
|
|
26444
|
-
return (h$1(Host$1, { key: '
|
|
26479
|
+
return (h$1(Host$1, { key: 'bf0b7cd02e0d214516f352eb7016d6060d6959c5', class: `position-${this.position}` }, h$1("slot", { key: 'f042e3f11b4d2af4b47aadeba04a332c57889616' })));
|
|
26445
26480
|
}
|
|
26446
26481
|
static get style() { return NvNotificationcontainerStyle0; }
|
|
26447
26482
|
}, [4, "nv-notificationcontainer", {
|
|
@@ -26479,7 +26514,7 @@ const NvRow$1 = /*@__PURE__*/ proxyCustomElement(class NvRow extends H {
|
|
|
26479
26514
|
/****************************************************************************/
|
|
26480
26515
|
//#region RENDER
|
|
26481
26516
|
render() {
|
|
26482
|
-
return (h$1(Host$1, { key: '
|
|
26517
|
+
return (h$1(Host$1, { key: '8415bdad0106bd3d836996c617a749294e0c19e2' }, h$1("slot", { key: '77c069ced0dc25c4169945877c388f30d27fdc4f' })));
|
|
26483
26518
|
}
|
|
26484
26519
|
static get style() { return NvRowStyle0; }
|
|
26485
26520
|
}, [4, "nv-row"]);
|
|
@@ -26822,7 +26857,7 @@ const NvSplit$1 = /*@__PURE__*/ proxyCustomElement(class NvSplit extends H {
|
|
|
26822
26857
|
/****************************************************************************/
|
|
26823
26858
|
//#region RENDER
|
|
26824
26859
|
render() {
|
|
26825
|
-
return (h$1(Host$1, { key: '
|
|
26860
|
+
return (h$1(Host$1, { key: '6b1fd4447295f209a9b0ea95b7d2a07200204504', "data-dragging": this.isDragging.toString() }, h$1("slot", { key: '67089b66457c4ad64abb80749d64ca67c881a1c0', name: "pane" }), h$1("slot", { key: '2fe9da5dd2aa2ff5b14bdd9ea99e9f0fa027931d', name: "gutter" })));
|
|
26826
26861
|
}
|
|
26827
26862
|
get el() { return this; }
|
|
26828
26863
|
static get watchers() { return {
|
|
@@ -26881,7 +26916,7 @@ const NvStack$1 = /*@__PURE__*/ proxyCustomElement(class NvStack extends H {
|
|
|
26881
26916
|
/****************************************************************************/
|
|
26882
26917
|
//#region RENDER
|
|
26883
26918
|
render() {
|
|
26884
|
-
return (h$1(Host$1, { key: '
|
|
26919
|
+
return (h$1(Host$1, { key: '65adeb492f9eb9b709c809d65b52f4447d1c938d', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h$1("slot", { key: '09773d6affbc9bf3c18e75162d9c096dd31a48e7' })));
|
|
26885
26920
|
}
|
|
26886
26921
|
static get style() { return NvStackStyle0; }
|
|
26887
26922
|
}, [4, "nv-stack", {
|
|
@@ -27142,7 +27177,7 @@ const NvTable$1 = /*@__PURE__*/ proxyCustomElement(class NvTable extends H {
|
|
|
27142
27177
|
/****************************************************************************/
|
|
27143
27178
|
//#region RENDER
|
|
27144
27179
|
render() {
|
|
27145
|
-
return (h$1(Host$1, { key: '
|
|
27180
|
+
return (h$1(Host$1, { key: '684a51e016d83eeb0ab76f07fe6d26a06bf00457' }, h$1("slot", { key: '420b9cbcb641692ed95d54ec2e0af1c0b09776c3' })));
|
|
27146
27181
|
}
|
|
27147
27182
|
get host() { return this; }
|
|
27148
27183
|
static get style() { return NvTableStyle0; }
|
|
@@ -27224,7 +27259,7 @@ const NvTableheader$1 = /*@__PURE__*/ proxyCustomElement(class NvTableheader ext
|
|
|
27224
27259
|
/****************************************************************************/
|
|
27225
27260
|
//#region RENDER
|
|
27226
27261
|
render() {
|
|
27227
|
-
return (h$1(Host$1, { key: '
|
|
27262
|
+
return (h$1(Host$1, { key: '03d7e74c19c0c1ef54f4d6f53eab0964af821f57', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, h$1("slot", { key: '7408d11ba38b59f05bcdcffcb55d11ae36f93a34' }), this.sortable && (h$1("span", { key: 'c76ddbf61861d9cd45eb7b0d8c59095947677135', class: "sort-icon-wrap", "aria-hidden": "true" }, h$1("nv-iconbutton", { key: '6d59b4b14dfe588142ccba2e1dc452754ea5a2f7', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
27228
27263
|
// prevent mousedown from selecting text
|
|
27229
27264
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
27230
27265
|
'is-none': this.sortDirection === 'none',
|
|
@@ -27330,8 +27365,8 @@ const NvToggle$1 = /*@__PURE__*/ proxyCustomElement(class NvToggle extends H {
|
|
|
27330
27365
|
/****************************************************************************/
|
|
27331
27366
|
//#region RENDER
|
|
27332
27367
|
render() {
|
|
27333
|
-
return (h$1(Host$1, { key: '
|
|
27334
|
-
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '
|
|
27368
|
+
return (h$1(Host$1, { key: 'c4307e84431894271a4fbe3ccd236f8b26d8d499', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h$1("div", { key: 'edb8c0ba8d92aa3864ff778a037bfb148601663a', class: "input-container" }, h$1("input", { key: 'f8be6f1936b390acdfaab0a87acea69d479e7a5a', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), h$1("div", { key: 'c9dae62cda7d33fcd3dc4e1a2fd8173295a32ed3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h$1("label", { key: '365ed61ccd3ca72372998b4a3fc58d36de944f3a', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h$1("slot", { key: '77ee33f84756787e0f34507da294abb9514b703d', name: "label" }, this.label))), (this.description ||
|
|
27369
|
+
this.el.querySelector('[slot="description"]')) && (h$1("div", { key: '5076c7b3cbf9f820592bb339df3251e280a9be9c', class: "description" }, h$1("slot", { key: '75f461109ac021aa51e6717ab56b1319a2b7f6ca', name: "description" }, this.description))))));
|
|
27335
27370
|
}
|
|
27336
27371
|
static get formAssociated() { return true; }
|
|
27337
27372
|
get el() { return this; }
|
|
@@ -27416,7 +27451,7 @@ const NvTogglebutton$1 = /*@__PURE__*/ proxyCustomElement(class NvTogglebutton e
|
|
|
27416
27451
|
/****************************************************************************/
|
|
27417
27452
|
//#region RENDER
|
|
27418
27453
|
render() {
|
|
27419
|
-
return (h$1(Host$1, { key: '
|
|
27454
|
+
return (h$1(Host$1, { key: 'ef2adf60f4a453ba0c5c7bd83d3fc52d5c37f5d8', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, h$1("slot", { key: '242d30a2d6f3d0cbaba1ee8cfb4abb2e607b66c4' })));
|
|
27420
27455
|
}
|
|
27421
27456
|
static get style() { return NvTogglebuttonStyle0; }
|
|
27422
27457
|
}, [4, "nv-togglebutton", {
|
|
@@ -27597,7 +27632,7 @@ const NvTogglebuttongroup$1 = /*@__PURE__*/ proxyCustomElement(class NvTogglebut
|
|
|
27597
27632
|
/****************************************************************************/
|
|
27598
27633
|
//#region RENDER
|
|
27599
27634
|
render() {
|
|
27600
|
-
return (h$1(Host$1, { key: '
|
|
27635
|
+
return (h$1(Host$1, { key: '8b42c5392c429b249ccc8be4f97fa6eccf4e2383' }, h$1("slot", { key: '78046dc23352a3fab760cc3c1b53edc47e16d48b' })));
|
|
27601
27636
|
}
|
|
27602
27637
|
get el() { return this; }
|
|
27603
27638
|
static get watchers() { return {
|
|
@@ -28371,183 +28406,183 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
28371
28406
|
case 'nv-accordion':
|
|
28372
28407
|
return Promise.resolve().then(function () { return require(
|
|
28373
28408
|
/* webpackMode: "lazy" */
|
|
28374
|
-
'./nv-accordion.entry-
|
|
28409
|
+
'./nv-accordion.entry-Dtsfw6He.js'); }).then(processMod, consoleError);
|
|
28375
28410
|
case 'nv-alert':
|
|
28376
28411
|
return Promise.resolve().then(function () { return require(
|
|
28377
28412
|
/* webpackMode: "lazy" */
|
|
28378
|
-
'./nv-alert.entry-
|
|
28413
|
+
'./nv-alert.entry-TIdfdU7Y.js'); }).then(processMod, consoleError);
|
|
28379
28414
|
case 'nv-avatar':
|
|
28380
28415
|
return Promise.resolve().then(function () { return require(
|
|
28381
28416
|
/* webpackMode: "lazy" */
|
|
28382
|
-
'./nv-avatar.entry-
|
|
28417
|
+
'./nv-avatar.entry-CaxrhPuw.js'); }).then(processMod, consoleError);
|
|
28383
28418
|
case 'nv-breadcrumb':
|
|
28384
28419
|
return Promise.resolve().then(function () { return require(
|
|
28385
28420
|
/* webpackMode: "lazy" */
|
|
28386
|
-
'./nv-breadcrumb.entry-
|
|
28421
|
+
'./nv-breadcrumb.entry-BCZ4MmfD.js'); }).then(processMod, consoleError);
|
|
28387
28422
|
case 'nv-breadcrumbs':
|
|
28388
28423
|
return Promise.resolve().then(function () { return require(
|
|
28389
28424
|
/* webpackMode: "lazy" */
|
|
28390
|
-
'./nv-breadcrumbs.entry-
|
|
28425
|
+
'./nv-breadcrumbs.entry-DwzCE7F6.js'); }).then(processMod, consoleError);
|
|
28391
28426
|
case 'nv-buttongroup':
|
|
28392
28427
|
return Promise.resolve().then(function () { return require(
|
|
28393
28428
|
/* webpackMode: "lazy" */
|
|
28394
|
-
'./nv-buttongroup.entry-
|
|
28429
|
+
'./nv-buttongroup.entry-CWjRoHY1.js'); }).then(processMod, consoleError);
|
|
28395
28430
|
case 'nv-col':
|
|
28396
28431
|
return Promise.resolve().then(function () { return require(
|
|
28397
28432
|
/* webpackMode: "lazy" */
|
|
28398
|
-
'./nv-col.entry-
|
|
28433
|
+
'./nv-col.entry-CJLDS3LY.js'); }).then(processMod, consoleError);
|
|
28399
28434
|
case 'nv-datagrid':
|
|
28400
28435
|
return Promise.resolve().then(function () { return require(
|
|
28401
28436
|
/* webpackMode: "lazy" */
|
|
28402
|
-
'./nv-datagrid.entry-
|
|
28437
|
+
'./nv-datagrid.entry-Cns8XSud.js'); }).then(processMod, consoleError);
|
|
28403
28438
|
case 'nv-datagridcolumn':
|
|
28404
28439
|
return Promise.resolve().then(function () { return require(
|
|
28405
28440
|
/* webpackMode: "lazy" */
|
|
28406
|
-
'./nv-datagridcolumn.entry-
|
|
28441
|
+
'./nv-datagridcolumn.entry-CFFAipHF.js'); }).then(processMod, consoleError);
|
|
28407
28442
|
case 'nv-dialog':
|
|
28408
28443
|
return Promise.resolve().then(function () { return require(
|
|
28409
28444
|
/* webpackMode: "lazy" */
|
|
28410
|
-
'./nv-dialog.entry-
|
|
28445
|
+
'./nv-dialog.entry-CDSK9pUH.js'); }).then(processMod, consoleError);
|
|
28411
28446
|
case 'nv-fielddate':
|
|
28412
28447
|
return Promise.resolve().then(function () { return require(
|
|
28413
28448
|
/* webpackMode: "lazy" */
|
|
28414
|
-
'./nv-fielddate.entry-
|
|
28449
|
+
'./nv-fielddate.entry-C3pXtMHL.js'); }).then(processMod, consoleError);
|
|
28415
28450
|
case 'nv-fielddaterange':
|
|
28416
28451
|
return Promise.resolve().then(function () { return require(
|
|
28417
28452
|
/* webpackMode: "lazy" */
|
|
28418
|
-
'./nv-fielddaterange.entry-
|
|
28453
|
+
'./nv-fielddaterange.entry-CjVVPEK_.js'); }).then(processMod, consoleError);
|
|
28419
28454
|
case 'nv-fielddropdown':
|
|
28420
28455
|
return Promise.resolve().then(function () { return require(
|
|
28421
28456
|
/* webpackMode: "lazy" */
|
|
28422
|
-
'./nv-fielddropdown.entry-
|
|
28457
|
+
'./nv-fielddropdown.entry-C9mXuNNj.js'); }).then(processMod, consoleError);
|
|
28423
28458
|
case 'nv-fieldmultiselect':
|
|
28424
28459
|
return Promise.resolve().then(function () { return require(
|
|
28425
28460
|
/* webpackMode: "lazy" */
|
|
28426
|
-
'./nv-fieldmultiselect.entry-
|
|
28461
|
+
'./nv-fieldmultiselect.entry-BMLjhqoJ.js'); }).then(processMod, consoleError);
|
|
28427
28462
|
case 'nv-fieldpassword':
|
|
28428
28463
|
return Promise.resolve().then(function () { return require(
|
|
28429
28464
|
/* webpackMode: "lazy" */
|
|
28430
|
-
'./nv-fieldpassword.entry-
|
|
28465
|
+
'./nv-fieldpassword.entry-Cim_usSM.js'); }).then(processMod, consoleError);
|
|
28431
28466
|
case 'nv-fieldradio':
|
|
28432
28467
|
return Promise.resolve().then(function () { return require(
|
|
28433
28468
|
/* webpackMode: "lazy" */
|
|
28434
|
-
'./nv-fieldradio.entry-
|
|
28469
|
+
'./nv-fieldradio.entry-X_2VT1Dj.js'); }).then(processMod, consoleError);
|
|
28435
28470
|
case 'nv-fieldselect':
|
|
28436
28471
|
return Promise.resolve().then(function () { return require(
|
|
28437
28472
|
/* webpackMode: "lazy" */
|
|
28438
|
-
'./nv-fieldselect.entry-
|
|
28473
|
+
'./nv-fieldselect.entry-pSp-2rNn.js'); }).then(processMod, consoleError);
|
|
28439
28474
|
case 'nv-fieldslider':
|
|
28440
28475
|
return Promise.resolve().then(function () { return require(
|
|
28441
28476
|
/* webpackMode: "lazy" */
|
|
28442
|
-
'./nv-fieldslider.entry-
|
|
28477
|
+
'./nv-fieldslider.entry-pZf7zzLU.js'); }).then(processMod, consoleError);
|
|
28443
28478
|
case 'nv-fieldtextarea':
|
|
28444
28479
|
return Promise.resolve().then(function () { return require(
|
|
28445
28480
|
/* webpackMode: "lazy" */
|
|
28446
|
-
'./nv-fieldtextarea.entry-
|
|
28481
|
+
'./nv-fieldtextarea.entry-t3Ixxi23.js'); }).then(processMod, consoleError);
|
|
28447
28482
|
case 'nv-fieldtime':
|
|
28448
28483
|
return Promise.resolve().then(function () { return require(
|
|
28449
28484
|
/* webpackMode: "lazy" */
|
|
28450
|
-
'./nv-fieldtime.entry-
|
|
28485
|
+
'./nv-fieldtime.entry-DY7D5_6K.js'); }).then(processMod, consoleError);
|
|
28451
28486
|
case 'nv-notification':
|
|
28452
28487
|
return Promise.resolve().then(function () { return require(
|
|
28453
28488
|
/* webpackMode: "lazy" */
|
|
28454
|
-
'./nv-notification.entry-
|
|
28489
|
+
'./nv-notification.entry-Cc3zE3yY.js'); }).then(processMod, consoleError);
|
|
28455
28490
|
case 'nv-notificationcontainer':
|
|
28456
28491
|
return Promise.resolve().then(function () { return require(
|
|
28457
28492
|
/* webpackMode: "lazy" */
|
|
28458
|
-
'./nv-notificationcontainer.entry-
|
|
28493
|
+
'./nv-notificationcontainer.entry-DV4D6oOH.js'); }).then(processMod, consoleError);
|
|
28459
28494
|
case 'nv-row':
|
|
28460
28495
|
return Promise.resolve().then(function () { return require(
|
|
28461
28496
|
/* webpackMode: "lazy" */
|
|
28462
|
-
'./nv-row.entry-
|
|
28497
|
+
'./nv-row.entry-UUuMSAY5.js'); }).then(processMod, consoleError);
|
|
28463
28498
|
case 'nv-split':
|
|
28464
28499
|
return Promise.resolve().then(function () { return require(
|
|
28465
28500
|
/* webpackMode: "lazy" */
|
|
28466
|
-
'./nv-split.entry-
|
|
28501
|
+
'./nv-split.entry-CYP2bTTM.js'); }).then(processMod, consoleError);
|
|
28467
28502
|
case 'nv-stack':
|
|
28468
28503
|
return Promise.resolve().then(function () { return require(
|
|
28469
28504
|
/* webpackMode: "lazy" */
|
|
28470
|
-
'./nv-stack.entry-
|
|
28505
|
+
'./nv-stack.entry-D35-75Vw.js'); }).then(processMod, consoleError);
|
|
28471
28506
|
case 'nv-table':
|
|
28472
28507
|
return Promise.resolve().then(function () { return require(
|
|
28473
28508
|
/* webpackMode: "lazy" */
|
|
28474
|
-
'./nv-table.entry-
|
|
28509
|
+
'./nv-table.entry-DevWJBnL.js'); }).then(processMod, consoleError);
|
|
28475
28510
|
case 'nv-tableheader':
|
|
28476
28511
|
return Promise.resolve().then(function () { return require(
|
|
28477
28512
|
/* webpackMode: "lazy" */
|
|
28478
|
-
'./nv-tableheader.entry-
|
|
28513
|
+
'./nv-tableheader.entry-Hs7nUSOC.js'); }).then(processMod, consoleError);
|
|
28479
28514
|
case 'nv-toggle':
|
|
28480
28515
|
return Promise.resolve().then(function () { return require(
|
|
28481
28516
|
/* webpackMode: "lazy" */
|
|
28482
|
-
'./nv-toggle.entry-
|
|
28517
|
+
'./nv-toggle.entry-Eje9d--6.js'); }).then(processMod, consoleError);
|
|
28483
28518
|
case 'nv-togglebutton':
|
|
28484
28519
|
return Promise.resolve().then(function () { return require(
|
|
28485
28520
|
/* webpackMode: "lazy" */
|
|
28486
|
-
'./nv-togglebutton.entry-
|
|
28521
|
+
'./nv-togglebutton.entry-LGI7pIeK.js'); }).then(processMod, consoleError);
|
|
28487
28522
|
case 'nv-togglebuttongroup':
|
|
28488
28523
|
return Promise.resolve().then(function () { return require(
|
|
28489
28524
|
/* webpackMode: "lazy" */
|
|
28490
|
-
'./nv-togglebuttongroup.entry-
|
|
28525
|
+
'./nv-togglebuttongroup.entry-CWN_Ucry.js'); }).then(processMod, consoleError);
|
|
28491
28526
|
case 'nv-accordion-item':
|
|
28492
28527
|
return Promise.resolve().then(function () { return require(
|
|
28493
28528
|
/* webpackMode: "lazy" */
|
|
28494
|
-
'./nv-accordion-item.entry-
|
|
28529
|
+
'./nv-accordion-item.entry-BuTvA6w9.js'); }).then(processMod, consoleError);
|
|
28495
28530
|
case 'nv-badge_2':
|
|
28496
28531
|
return Promise.resolve().then(function () { return require(
|
|
28497
28532
|
/* webpackMode: "lazy" */
|
|
28498
|
-
'./nv-badge_2.entry-
|
|
28533
|
+
'./nv-badge_2.entry-CfYvTZxX.js'); }).then(processMod, consoleError);
|
|
28499
28534
|
case 'nv-dialogfooter_2':
|
|
28500
28535
|
return Promise.resolve().then(function () { return require(
|
|
28501
28536
|
/* webpackMode: "lazy" */
|
|
28502
|
-
'./nv-dialogfooter_2.entry-
|
|
28537
|
+
'./nv-dialogfooter_2.entry-To_dGUn4.js'); }).then(processMod, consoleError);
|
|
28503
28538
|
case 'nv-fielddropdownitem':
|
|
28504
28539
|
return Promise.resolve().then(function () { return require(
|
|
28505
28540
|
/* webpackMode: "lazy" */
|
|
28506
|
-
'./nv-fielddropdownitem.entry-
|
|
28541
|
+
'./nv-fielddropdownitem.entry-Dah-PaE8.js'); }).then(processMod, consoleError);
|
|
28507
28542
|
case 'nv-fieldnumber':
|
|
28508
28543
|
return Promise.resolve().then(function () { return require(
|
|
28509
28544
|
/* webpackMode: "lazy" */
|
|
28510
|
-
'./nv-fieldnumber.entry-
|
|
28545
|
+
'./nv-fieldnumber.entry-DBdJviXu.js'); }).then(processMod, consoleError);
|
|
28511
28546
|
case 'nv-fieldtext':
|
|
28512
28547
|
return Promise.resolve().then(function () { return require(
|
|
28513
28548
|
/* webpackMode: "lazy" */
|
|
28514
|
-
'./nv-fieldtext.entry-
|
|
28549
|
+
'./nv-fieldtext.entry-DlI_ExaV.js'); }).then(processMod, consoleError);
|
|
28515
28550
|
case 'nv-menu':
|
|
28516
28551
|
return Promise.resolve().then(function () { return require(
|
|
28517
28552
|
/* webpackMode: "lazy" */
|
|
28518
|
-
'./nv-menu.entry-
|
|
28553
|
+
'./nv-menu.entry-sd0tatWq.js'); }).then(processMod, consoleError);
|
|
28519
28554
|
case 'nv-menuitem':
|
|
28520
28555
|
return Promise.resolve().then(function () { return require(
|
|
28521
28556
|
/* webpackMode: "lazy" */
|
|
28522
|
-
'./nv-menuitem.entry-
|
|
28557
|
+
'./nv-menuitem.entry-CCOqR7UF.js'); }).then(processMod, consoleError);
|
|
28523
28558
|
case 'nv-tooltip':
|
|
28524
28559
|
return Promise.resolve().then(function () { return require(
|
|
28525
28560
|
/* webpackMode: "lazy" */
|
|
28526
|
-
'./nv-tooltip.entry-
|
|
28561
|
+
'./nv-tooltip.entry-BGkKDEFg.js'); }).then(processMod, consoleError);
|
|
28527
28562
|
case 'nv-button':
|
|
28528
28563
|
return Promise.resolve().then(function () { return require(
|
|
28529
28564
|
/* webpackMode: "lazy" */
|
|
28530
|
-
'./nv-button.entry-
|
|
28565
|
+
'./nv-button.entry-Cr_86bcZ.js'); }).then(processMod, consoleError);
|
|
28531
28566
|
case 'nv-calendar':
|
|
28532
28567
|
return Promise.resolve().then(function () { return require(
|
|
28533
28568
|
/* webpackMode: "lazy" */
|
|
28534
|
-
'./nv-calendar.entry-
|
|
28569
|
+
'./nv-calendar.entry-CXfwNt6G.js'); }).then(processMod, consoleError);
|
|
28535
28570
|
case 'nv-fieldcheckbox':
|
|
28536
28571
|
return Promise.resolve().then(function () { return require(
|
|
28537
28572
|
/* webpackMode: "lazy" */
|
|
28538
|
-
'./nv-fieldcheckbox.entry-
|
|
28573
|
+
'./nv-fieldcheckbox.entry-fdonR07Z.js'); }).then(processMod, consoleError);
|
|
28539
28574
|
case 'nv-popover':
|
|
28540
28575
|
return Promise.resolve().then(function () { return require(
|
|
28541
28576
|
/* webpackMode: "lazy" */
|
|
28542
|
-
'./nv-popover.entry-
|
|
28577
|
+
'./nv-popover.entry-DQSwI2jT.js'); }).then(processMod, consoleError);
|
|
28543
28578
|
case 'nv-iconbutton_2':
|
|
28544
28579
|
return Promise.resolve().then(function () { return require(
|
|
28545
28580
|
/* webpackMode: "lazy" */
|
|
28546
|
-
'./nv-iconbutton_2.entry-
|
|
28581
|
+
'./nv-iconbutton_2.entry-ChULGovr.js'); }).then(processMod, consoleError);
|
|
28547
28582
|
case 'nv-icon':
|
|
28548
28583
|
return Promise.resolve().then(function () { return require(
|
|
28549
28584
|
/* webpackMode: "lazy" */
|
|
28550
|
-
'./nv-icon.entry-
|
|
28585
|
+
'./nv-icon.entry-6oYPSf4c.js'); }).then(processMod, consoleError);
|
|
28551
28586
|
}
|
|
28552
28587
|
}
|
|
28553
28588
|
return import(
|
|
@@ -30765,7 +30800,7 @@ const globalScripts = () => {};
|
|
|
30765
30800
|
const defineCustomElements = async (win, options) => {
|
|
30766
30801
|
if (typeof window === 'undefined') return undefined;
|
|
30767
30802
|
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);
|
|
30803
|
+
return bootstrapLazy(JSON.parse("[[\"nv-fieldmultiselect\",[[68,\"nv-fieldmultiselect\",{\"label\":[513],\"inputId\":[513,\"input-id\"],\"name\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"open\":[1540],\"fluid\":[516],\"options\":[1040],\"value\":[1040],\"filterable\":[516],\"emptyResult\":[513,\"empty-result\"],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"badgeLabel\":[513,\"badge-label\"],\"filterText\":[1537,\"filter-text\"],\"enableSelectAll\":[516,\"enable-select-all\"],\"selectAllLabel\":[513,\"select-all-label\"],\"deselectAllLabel\":[513,\"deselect-all-label\"],\"sortedOptions\":[32],\"isHandlingEscape\":[32],\"hasFilterResults\":[32],\"isSelectAllSectionVisible\":[32],\"getFilterText\":[64],\"resetFilter\":[64],\"getSelectedValues\":[64],\"selectAll\":[64],\"deselectAll\":[64],\"toggleSelectAll\":[64]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"itemChecked\",\"handleItemChecked\"],[0,\"slotchange\",\"handleSlotChange\"],[0,\"keydown\",\"handleKeyDown\"]],{\"options\":[\"handleOptionsChange\"],\"value\":[\"watchValueHandler\"],\"open\":[\"handleOpenChange\"]}]]],[\"nv-dialog\",[[4,\"nv-dialog\",{\"triggerElement\":[1040],\"headerElement\":[1040],\"footerElement\":[1040],\"open\":[1540],\"undismissable\":[516],\"clickOutside\":[516,\"click-outside\"],\"controlled\":[516],\"full\":[516],\"autofocus\":[516],\"show\":[64],\"close\":[64]},[[4,\"keydown\",\"handleKeyDown\"]],{\"open\":[\"handleDialogOpenChange\"]}]]],[\"nv-fielddate\",[[4,\"nv-fielddate\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"autofocus\":[516],\"value\":[1537],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"singleValue\":[32],\"open\":[32],\"clear\":[64]},[[0,\"singleDateChange\",\"handleSingleDateChange\"],[0,\"closePopover\",\"handleClosePopover\"],[4,\"click\",\"handleDocumentClick\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"handleOpenChange\"]}]]],[\"nv-fielddaterange\",[[4,\"nv-fielddaterange\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"description\":[513],\"startPlaceholder\":[513,\"start-placeholder\"],\"endPlaceholder\":[513,\"end-placeholder\"],\"startName\":[513,\"start-name\"],\"endName\":[513,\"end-name\"],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"autofocus\":[516],\"value\":[1537],\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[514,\"number-of-calendars\"],\"min\":[513],\"max\":[513],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"disabledDates\":[16],\"fluid\":[516],\"startValue\":[32],\"endValue\":[32],\"open\":[32],\"clear\":[64]},[[0,\"rangeDateChange\",\"handleRangeDateChange\"],[0,\"valueChanged\",\"handleCalendarValueChanged\"],[0,\"closePopover\",\"handleClosePopover\"],[0,\"applyDateRange\",\"handleApplyDateRange\"],[0,\"singleDateChange\",\"handleDateReset\"],[0,\"rangeDateChange\",\"handleDateReset\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"onOpenChanged\"]}]]],[\"nv-fielddropdown\",[[68,\"nv-fielddropdown\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"label\":[513],\"description\":[513],\"placeholder\":[513],\"autocomplete\":[513],\"value\":[1537],\"required\":[516],\"readonly\":[516],\"disabled\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"maxHeight\":[513,\"max-height\"],\"emptyResult\":[513,\"empty-result\"],\"filterable\":[516],\"openOnSelect\":[516,\"open-on-select\"],\"controlledFilter\":[516,\"controlled-filter\"],\"options\":[16],\"debounceDelay\":[514,\"debounce-delay\"],\"autofocus\":[516],\"fluid\":[516],\"filterText\":[32],\"selectedValues\":[32],\"open\":[32],\"clearFilter\":[64],\"toggleDropdown\":[64]},[[0,\"dropdownItemSelected\",\"handleDropdownItemSelected\"],[3,\"focus\",\"handleFocus\"],[3,\"focusout\",\"handleFocusOut\"],[0,\"keydown\",\"handleKeyDown\"],[4,\"click\",\"handleDocumentClick\"]],{\"open\":[\"handleOpenChange\"],\"value\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-accordion\",[[4,\"nv-accordion\",{\"data\":[16],\"mode\":[513],\"openIndexes\":[1040],\"updatingFromInternal\":[32],\"open\":[64],\"close\":[64]},[[0,\"itemToggle\",\"onItemToggle\"]],{\"openIndexes\":[\"onOpenIndexesChange\"],\"mode\":[\"onModeChange\"]}]]],[\"nv-fieldslider\",[[68,\"nv-fieldslider\",{\"startInputId\":[513,\"start-input-id\"],\"endInputId\":[513,\"end-input-id\"],\"label\":[513],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"hasField\":[516,\"has-field\"],\"range\":[516],\"disabled\":[516],\"readonly\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"value\":[1040],\"step\":[514],\"snap\":[516],\"snapTicks\":[516,\"snap-ticks\"],\"name\":[513],\"endName\":[513,\"end-name\"],\"min\":[514],\"max\":[514],\"showTicks\":[516,\"show-ticks\"],\"ticks\":[16],\"fluid\":[516],\"labelBeforeValue\":[513,\"label-before-value\"],\"labelAfterValue\":[513,\"label-after-value\"],\"isDragging\":[32],\"activeDragThumb\":[32],\"internalTicks\":[32],\"rawPosition\":[32],\"rawRangePosition\":[32],\"valueInternal\":[32],\"rangeValueInternal\":[32]},null,{\"value\":[\"onValueChange\"],\"min\":[\"onConfigChange\"],\"max\":[\"onConfigChange\"],\"step\":[\"onConfigChange\"],\"ticks\":[\"onConfigChange\"],\"showTicks\":[\"onConfigChange\"],\"snap\":[\"onConfigChange\"],\"snapTicks\":[\"onConfigChange\"],\"range\":[\"onRangeChange\"]}]]],[\"nv-fieldtime\",[[68,\"nv-fieldtime\",{\"value\":[1537],\"label\":[513],\"inputId\":[513,\"input-id\"],\"readonly\":[516],\"disabled\":[516],\"required\":[516],\"name\":[513],\"success\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"format\":[513],\"description\":[513],\"open\":[1540],\"step\":[514],\"max\":[513],\"min\":[513],\"autofocus\":[516],\"hours\":[32],\"minutes\":[32],\"seconds\":[32]},[[0,\"openChanged\",\"handleOpenChanged\"],[0,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"handleValueChange\"],\"open\":[\"handleOpenChange\"],\"format\":[\"handleFormatChange\"]}]]],[\"nv-fieldpassword\",[[68,\"nv-fieldpassword\",{\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"mode\":[513],\"autocomplete\":[513],\"hidePasswordIcon\":[516,\"hide-password-icon\"],\"showPassword\":[516,\"show-password\"],\"autofocus\":[516],\"fluid\":[516],\"showPasswordState\":[32]},null,{\"showPassword\":[\"handleShowPasswordChange\"]}]]],[\"nv-fieldselect\",[[68,\"nv-fieldselect\",{\"message\":[513],\"validation\":[513],\"options\":[16],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"multiple\":[516],\"value\":[1537],\"displayValue\":[516,\"display-value\"],\"autofocus\":[516],\"fluid\":[516],\"computedDisplayValue\":[32],\"internalReadonly\":[32]},null,{\"value\":[\"updateDisplayValueWatcher\"],\"displayValue\":[\"handleDisplayValueChange\"],\"readonly\":[\"handleReadonlyChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"nv-tableheader\",[[4,\"nv-tableheader\",{\"sortable\":[516],\"sortDirection\":[1537,\"sort-direction\"]}]]],[\"nv-breadcrumb\",[[4,\"nv-breadcrumb\",{\"type\":[513],\"tooltip\":[513],\"current\":[516]}]]],[\"nv-datagrid\",[[4,\"nv-datagrid\",{\"data\":[16],\"columns\":[16],\"fallbackValue\":[513,\"fallback-value\"],\"noDataMessage\":[513,\"no-data-message\"],\"noColumnsNoDataMessage\":[513,\"no-columns-no-data-message\"],\"autoGenerateColumns\":[516,\"auto-generate-columns\"],\"enableGlobalFilter\":[516,\"enable-global-filter\"],\"globalFilterPosition\":[513,\"global-filter-position\"],\"enablePagination\":[516,\"enable-pagination\"],\"pageSize\":[514,\"page-size\"],\"pageSizes\":[16],\"enableSorting\":[516,\"enable-sorting\"],\"enableRowSelection\":[516,\"enable-row-selection\"],\"state\":[16],\"table\":[32],\"parsedColumns\":[32],\"parsedData\":[32],\"globalFilterSearchTerm\":[32],\"columnData\":[32],\"paginationState\":[32],\"sortingState\":[32],\"rowSelectionState\":[32]},null,{\"columns\":[\"parseColumns\"],\"data\":[\"parseData\"],\"parsedColumns\":[\"handleParsedChange\"],\"parsedData\":[\"handleParsedChange\"],\"globalFilterSearchTerm\":[\"handleGlobalFilterSearchTerm\",\"handleInternalStateChange\"],\"paginationState\":[\"handlePaginationState\",\"handleInternalStateChange\"],\"sortingState\":[\"handleSortingState\",\"handleInternalStateChange\"],\"pageSize\":[\"handlePageSize\"],\"rowSelectionState\":[\"handleRowSelectionState\"],\"state\":[\"handleStateChange\"]}]]],[\"nv-alert\",[[4,\"nv-alert\",{\"color\":[513],\"feedback\":[1537],\"message\":[513],\"heading\":[513],\"icon\":[513],\"dismissible\":[516],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"hidden\":[1540],\"hasNoAnimations\":[516,\"has-no-animations\"]},null,{\"hidden\":[\"handleHiddenChange\"]}]]],[\"nv-avatar\",[[4,\"nv-avatar\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"text\":[513],\"url\":[513],\"alt\":[513],\"src\":[1537],\"initials\":[1537],\"size\":[1537],\"color\":[513]}]]],[\"nv-notification\",[[4,\"nv-notification\",{\"uid\":[513],\"feedback\":[513],\"emphasis\":[513],\"heading\":[513],\"message\":[513],\"icon\":[513],\"dismissible\":[516],\"hidden\":[1540],\"initiallyHidden\":[516,\"initially-hidden\"],\"dismiss\":[64],\"show\":[64]}]]],[\"nv-breadcrumbs\",[[4,\"nv-breadcrumbs\"]]],[\"nv-buttongroup\",[[4,\"nv-buttongroup\",{\"size\":[513],\"emphasis\":[513],\"fluid\":[516],\"orientation\":[513]},null,{\"emphasis\":[\"onEmphasisChange\"],\"size\":[\"onSizeChange\"],\"fluid\":[\"onFluidChange\"]}]]],[\"nv-col\",[[4,\"nv-col\",{\"size\":[514]}]]],[\"nv-datagridcolumn\",[[4,\"nv-datagridcolumn\",{\"header\":[513],\"accessor\":[513],\"repeatTemplate\":[516,\"repeat-template\"],\"group\":[513]}]]],[\"nv-fieldradio\",[[68,\"nv-fieldradio\",{\"message\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"description\":[1537],\"error\":[516],\"errorDescription\":[513,\"error-description\"],\"checked\":[1540],\"disabled\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"handleCheckedChange\"]}]]],[\"nv-fieldtextarea\",[[68,\"nv-fieldtextarea\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"rows\":[514],\"resize\":[513],\"autosize\":[516],\"autofocus\":[516],\"fluid\":[516]},null,{\"rows\":[\"rowsChanged\"],\"autosize\":[\"autosizeChanged\"],\"value\":[\"handleValueChange\"]}]]],[\"nv-notificationcontainer\",[[4,\"nv-notificationcontainer\",{\"position\":[513]}]]],[\"nv-row\",[[4,\"nv-row\"]]],[\"nv-split\",[[4,\"nv-split\",{\"direction\":[513],\"sizes\":[1040],\"minSizes\":[16],\"gutterSize\":[514,\"gutter-size\"],\"isDragging\":[32],\"setSizes\":[64],\"getSizes\":[64],\"collapse\":[64],\"destroy\":[64]},null,{\"sizes\":[\"onSizesChanged\"],\"direction\":[\"onDirectionChanged\"]}]]],[\"nv-stack\",[[4,\"nv-stack\",{\"gutter\":[514],\"fill\":[516],\"flex\":[516],\"full\":[516],\"vertical\":[516]}]]],[\"nv-table\",[[4,\"nv-table\",null,[[1,\"pointerdown\",\"onPointerDown\"],[9,\"pointermove\",\"onPointerMove\"],[9,\"pointerup\",\"onPointerUp\"],[9,\"pointercancel\",\"onPointerUp\"]]]]],[\"nv-toggle\",[[68,\"nv-toggle\",{\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[513,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[513],\"checked\":[1540],\"disabled\":[516],\"readonly\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-togglebutton\",[[4,\"nv-togglebutton\",{\"size\":[513],\"value\":[513],\"disabled\":[516],\"active\":[516],\"emphasis\":[513]}]]],[\"nv-togglebuttongroup\",[[4,\"nv-togglebuttongroup\",{\"value\":[1040],\"exclusive\":[516],\"enforceValue\":[516,\"enforce-value\"],\"emphasis\":[513],\"size\":[513]},[[0,\"toggled\",\"onToggled\"]],{\"value\":[\"onValueChanged\"],\"emphasis\":[\"onEmphasisChanged\"],\"size\":[\"onSizeChanged\"]}]]],[\"nv-icon\",[[0,\"nv-icon\",{\"xsmall\":[516],\"small\":[516],\"medium\":[516],\"large\":[516],\"xlarge\":[516],\"color\":[513],\"name\":[513],\"size\":[1537]}]]],[\"nv-menu\",[[4,\"nv-menu\",{\"open\":[1540],\"nested\":[516],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"placement\":[513],\"items\":[16],\"show\":[64],\"close\":[64]},[[0,\"menuitemSelected\",\"handleMenuItemSelect\"],[0,\"keydown\",\"handleKeydown\"],[0,\"openChanged\",\"handleOpenChanged\"]],{\"open\":[\"handleOpenChange\"]}]]],[\"nv-iconbutton_2\",[[68,\"nv-iconbutton\",{\"size\":[513],\"emphasis\":[513],\"loading\":[1540],\"disabled\":[1540],\"active\":[516],\"name\":[513],\"type\":[513],\"shape\":[513],\"disableTabindex\":[516,\"disable-tabindex\"]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"touchstart\",\"handleTouchStart\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}],[0,\"nv-loader\",{\"size\":[513],\"color\":[513]}]]],[\"nv-accordion-item\",[[4,\"nv-accordion-item\",{\"itemTitle\":[513,\"item-title\"],\"subtitle\":[513],\"open\":[1540],\"disabled\":[516],\"maxContentHeight\":[514,\"max-content-height\"],\"mode\":[513],\"currentOpenState\":[32],\"isInitialized\":[32],\"isAnimating\":[32],\"toggle\":[64]},null,{\"open\":[\"onOpenChanged\"]}]]],[\"nv-fieldnumber\",[[68,\"nv-fieldnumber\",{\"message\":[513],\"validation\":[513],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"max\":[514],\"min\":[514],\"step\":[514],\"value\":[1538],\"autofocus\":[516],\"fluid\":[516]},null,{\"value\":[\"watchValueHandler\"]}]]],[\"nv-fielddropdownitem\",[[4,\"nv-fielddropdownitem\",{\"disabled\":[516],\"selected\":[516],\"value\":[1537],\"label\":[513],\"detached\":[516]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-fieldtext\",[[68,\"nv-fieldtext\",{\"message\":[513],\"validation\":[513],\"textInputType\":[513,\"text-input-type\"],\"inputId\":[513,\"input-id\"],\"label\":[513],\"description\":[1537],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"type\":[1537],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"success\":[516],\"maxlength\":[514],\"minlength\":[514],\"pattern\":[513],\"autocomplete\":[513],\"multiple\":[516],\"autofocus\":[516],\"fluid\":[516]}]]],[\"nv-menuitem\",[[4,\"nv-menuitem\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"shortcut\":[513],\"hasSubmenu\":[516,\"has-submenu\"],\"name\":[513]},[[2,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"nv-tooltip\",[[4,\"nv-tooltip\",{\"triggerElement\":[1040],\"message\":[513],\"placement\":[513],\"enterDelay\":[514,\"enter-delay\"],\"strategy\":[513]}]]],[\"nv-button\",[[68,\"nv-button\",{\"size\":[513],\"emphasis\":[513],\"active\":[516],\"danger\":[516],\"loading\":[1540],\"disabled\":[1540],\"fluid\":[516],\"type\":[513],\"form\":[513],\"disableTabindex\":[516,\"disable-tabindex\"]},[[0,\"keydown\",\"handleKeyDown\"]],{\"loading\":[\"handleLoadingChange\"],\"disabled\":[\"handleDisabledChange\"]}]]],[\"nv-dialogfooter_2\",[[68,\"nv-dialogfooter\",{\"disabled\":[516],\"undismissable\":[516],\"leadingIcon\":[513,\"leading-icon\"],\"trailingIcon\":[513,\"trailing-icon\"],\"danger\":[516],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryButtonType\":[1537,\"primary-button-type\"],\"form\":[513]}],[4,\"nv-dialogheader\",{\"heading\":[513],\"subheading\":[513]}]]],[\"nv-fieldcheckbox\",[[68,\"nv-fieldcheckbox\",{\"message\":[513],\"validation\":[513],\"labelBefore\":[516,\"label-before\"],\"inputId\":[513,\"input-id\"],\"name\":[513],\"value\":[513],\"label\":[513],\"labelPlacement\":[1537,\"label-placement\"],\"hideLabel\":[516,\"hide-label\"],\"description\":[1537],\"error\":[1540],\"errorDescription\":[1537,\"error-description\"],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"readonly\":[516],\"required\":[516],\"autofocus\":[516]},[[0,\"change\",\"handleChange\"]],{\"checked\":[\"onCheckedChanged\"]}]]],[\"nv-badge_2\",[[4,\"nv-badge\",{\"dismissal\":[516],\"icon\":[513],\"iconLocation\":[513,\"icon-location\"],\"color\":[513],\"label\":[513],\"leadIcon\":[1537,\"lead-icon\"],\"dismissible\":[1540],\"hidden\":[1540],\"preventAutoClose\":[516,\"prevent-auto-close\"],\"isIconOnly\":[516,\"is-icon-only\"],\"_isHidden\":[32]},null,{\"dismissal\":[\"handleDismissalChange\"],\"icon\":[\"handleIconChange\"],\"hidden\":[\"handleHiddenChange\"]}],[4,\"nv-fielddropdownitemcheck\",{\"checked\":[1540],\"value\":[513],\"label\":[513],\"description\":[513],\"group\":[513],\"disabled\":[516]}]]],[\"nv-calendar\",[[4,\"nv-calendar\",{\"firstDayOfWeek\":[514,\"first-day-of-week\"],\"numberOfCalendars\":[1538,\"number-of-calendars\"],\"value\":[1537],\"singleValue\":[1537,\"single-value\"],\"rangeValue\":[1040],\"min\":[513],\"max\":[513],\"disabledDates\":[16],\"locale\":[513],\"dateFormat\":[513,\"date-format\"],\"shortcutsPlacement\":[513,\"shortcuts-placement\"],\"selectionType\":[513,\"selection-type\"],\"showActions\":[516,\"show-actions\"],\"shortcuts\":[16],\"showWeekNumbers\":[516,\"show-week-numbers\"],\"cancelLabel\":[513,\"cancel-label\"],\"primaryLabel\":[513,\"primary-label\"],\"currentDate\":[32],\"selectedDate\":[32],\"startDate\":[32],\"endDate\":[32],\"hoverDate\":[32],\"months\":[32],\"clear\":[64]},null,{\"numberOfCalendars\":[\"validateNumberOfCalendars\"],\"rangeValue\":[\"onRangeValueChange\"],\"disabledDates\":[\"handleDisabledDatesChange\"],\"singleValue\":[\"onSingleValueChange\"],\"value\":[\"onValueChange\"]}]]],[\"nv-popover\",[[4,\"nv-popover\",{\"triggerElement\":[1040],\"open\":[1540],\"triggerMode\":[513,\"trigger-mode\"],\"placement\":[513],\"strategy\":[513],\"groupName\":[513,\"group-name\"],\"offset\":[514],\"hasArrow\":[516,\"has-arrow\"],\"disableFlip\":[516,\"disable-flip\"],\"shiftPadding\":[514,\"shift-padding\"],\"enterDelay\":[514,\"enter-delay\"],\"nested\":[516],\"show\":[64],\"hide\":[64],\"toggle\":[64]},[[4,\"openChanged\",\"handleOpenChanged\"]],{\"open\":[\"handleOpenChange\"],\"strategy\":[\"handleStrategyChange\"]}]]]]"), options);
|
|
30769
30804
|
};
|
|
30770
30805
|
|
|
30771
30806
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a);}})();
|
|
@@ -33834,6 +33869,195 @@ function expandRows(rowModel) {
|
|
|
33834
33869
|
};
|
|
33835
33870
|
}
|
|
33836
33871
|
|
|
33872
|
+
function filterRows(rows, filterRowImpl, table) {
|
|
33873
|
+
if (table.options.filterFromLeafRows) {
|
|
33874
|
+
return filterRowModelFromLeafs(rows, filterRowImpl, table);
|
|
33875
|
+
}
|
|
33876
|
+
return filterRowModelFromRoot(rows, filterRowImpl, table);
|
|
33877
|
+
}
|
|
33878
|
+
function filterRowModelFromLeafs(rowsToFilter, filterRow, table) {
|
|
33879
|
+
var _table$options$maxLea;
|
|
33880
|
+
const newFilteredFlatRows = [];
|
|
33881
|
+
const newFilteredRowsById = {};
|
|
33882
|
+
const maxDepth = (_table$options$maxLea = table.options.maxLeafRowFilterDepth) != null ? _table$options$maxLea : 100;
|
|
33883
|
+
const recurseFilterRows = function (rowsToFilter, depth) {
|
|
33884
|
+
if (depth === void 0) {
|
|
33885
|
+
depth = 0;
|
|
33886
|
+
}
|
|
33887
|
+
const rows = [];
|
|
33888
|
+
|
|
33889
|
+
// Filter from children up first
|
|
33890
|
+
for (let i = 0; i < rowsToFilter.length; i++) {
|
|
33891
|
+
var _row$subRows;
|
|
33892
|
+
let row = rowsToFilter[i];
|
|
33893
|
+
const newRow = createRow(table, row.id, row.original, row.index, row.depth, undefined, row.parentId);
|
|
33894
|
+
newRow.columnFilters = row.columnFilters;
|
|
33895
|
+
if ((_row$subRows = row.subRows) != null && _row$subRows.length && depth < maxDepth) {
|
|
33896
|
+
newRow.subRows = recurseFilterRows(row.subRows, depth + 1);
|
|
33897
|
+
row = newRow;
|
|
33898
|
+
if (filterRow(row) && !newRow.subRows.length) {
|
|
33899
|
+
rows.push(row);
|
|
33900
|
+
newFilteredRowsById[row.id] = row;
|
|
33901
|
+
newFilteredFlatRows.push(row);
|
|
33902
|
+
continue;
|
|
33903
|
+
}
|
|
33904
|
+
if (filterRow(row) || newRow.subRows.length) {
|
|
33905
|
+
rows.push(row);
|
|
33906
|
+
newFilteredRowsById[row.id] = row;
|
|
33907
|
+
newFilteredFlatRows.push(row);
|
|
33908
|
+
continue;
|
|
33909
|
+
}
|
|
33910
|
+
} else {
|
|
33911
|
+
row = newRow;
|
|
33912
|
+
if (filterRow(row)) {
|
|
33913
|
+
rows.push(row);
|
|
33914
|
+
newFilteredRowsById[row.id] = row;
|
|
33915
|
+
newFilteredFlatRows.push(row);
|
|
33916
|
+
}
|
|
33917
|
+
}
|
|
33918
|
+
}
|
|
33919
|
+
return rows;
|
|
33920
|
+
};
|
|
33921
|
+
return {
|
|
33922
|
+
rows: recurseFilterRows(rowsToFilter),
|
|
33923
|
+
flatRows: newFilteredFlatRows,
|
|
33924
|
+
rowsById: newFilteredRowsById
|
|
33925
|
+
};
|
|
33926
|
+
}
|
|
33927
|
+
function filterRowModelFromRoot(rowsToFilter, filterRow, table) {
|
|
33928
|
+
var _table$options$maxLea2;
|
|
33929
|
+
const newFilteredFlatRows = [];
|
|
33930
|
+
const newFilteredRowsById = {};
|
|
33931
|
+
const maxDepth = (_table$options$maxLea2 = table.options.maxLeafRowFilterDepth) != null ? _table$options$maxLea2 : 100;
|
|
33932
|
+
|
|
33933
|
+
// Filters top level and nested rows
|
|
33934
|
+
const recurseFilterRows = function (rowsToFilter, depth) {
|
|
33935
|
+
if (depth === void 0) {
|
|
33936
|
+
depth = 0;
|
|
33937
|
+
}
|
|
33938
|
+
// Filter from parents downward first
|
|
33939
|
+
|
|
33940
|
+
const rows = [];
|
|
33941
|
+
|
|
33942
|
+
// Apply the filter to any subRows
|
|
33943
|
+
for (let i = 0; i < rowsToFilter.length; i++) {
|
|
33944
|
+
let row = rowsToFilter[i];
|
|
33945
|
+
const pass = filterRow(row);
|
|
33946
|
+
if (pass) {
|
|
33947
|
+
var _row$subRows2;
|
|
33948
|
+
if ((_row$subRows2 = row.subRows) != null && _row$subRows2.length && depth < maxDepth) {
|
|
33949
|
+
const newRow = createRow(table, row.id, row.original, row.index, row.depth, undefined, row.parentId);
|
|
33950
|
+
newRow.subRows = recurseFilterRows(row.subRows, depth + 1);
|
|
33951
|
+
row = newRow;
|
|
33952
|
+
}
|
|
33953
|
+
rows.push(row);
|
|
33954
|
+
newFilteredFlatRows.push(row);
|
|
33955
|
+
newFilteredRowsById[row.id] = row;
|
|
33956
|
+
}
|
|
33957
|
+
}
|
|
33958
|
+
return rows;
|
|
33959
|
+
};
|
|
33960
|
+
return {
|
|
33961
|
+
rows: recurseFilterRows(rowsToFilter),
|
|
33962
|
+
flatRows: newFilteredFlatRows,
|
|
33963
|
+
rowsById: newFilteredRowsById
|
|
33964
|
+
};
|
|
33965
|
+
}
|
|
33966
|
+
|
|
33967
|
+
function getFilteredRowModel() {
|
|
33968
|
+
return table => memo(() => [table.getPreFilteredRowModel(), table.getState().columnFilters, table.getState().globalFilter], (rowModel, columnFilters, globalFilter) => {
|
|
33969
|
+
if (!rowModel.rows.length || !(columnFilters != null && columnFilters.length) && !globalFilter) {
|
|
33970
|
+
for (let i = 0; i < rowModel.flatRows.length; i++) {
|
|
33971
|
+
rowModel.flatRows[i].columnFilters = {};
|
|
33972
|
+
rowModel.flatRows[i].columnFiltersMeta = {};
|
|
33973
|
+
}
|
|
33974
|
+
return rowModel;
|
|
33975
|
+
}
|
|
33976
|
+
const resolvedColumnFilters = [];
|
|
33977
|
+
const resolvedGlobalFilters = [];
|
|
33978
|
+
(columnFilters != null ? columnFilters : []).forEach(d => {
|
|
33979
|
+
var _filterFn$resolveFilt;
|
|
33980
|
+
const column = table.getColumn(d.id);
|
|
33981
|
+
if (!column) {
|
|
33982
|
+
return;
|
|
33983
|
+
}
|
|
33984
|
+
const filterFn = column.getFilterFn();
|
|
33985
|
+
if (!filterFn) {
|
|
33986
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
33987
|
+
console.warn(`Could not find a valid 'column.filterFn' for column with the ID: ${column.id}.`);
|
|
33988
|
+
}
|
|
33989
|
+
return;
|
|
33990
|
+
}
|
|
33991
|
+
resolvedColumnFilters.push({
|
|
33992
|
+
id: d.id,
|
|
33993
|
+
filterFn,
|
|
33994
|
+
resolvedValue: (_filterFn$resolveFilt = filterFn.resolveFilterValue == null ? void 0 : filterFn.resolveFilterValue(d.value)) != null ? _filterFn$resolveFilt : d.value
|
|
33995
|
+
});
|
|
33996
|
+
});
|
|
33997
|
+
const filterableIds = (columnFilters != null ? columnFilters : []).map(d => d.id);
|
|
33998
|
+
const globalFilterFn = table.getGlobalFilterFn();
|
|
33999
|
+
const globallyFilterableColumns = table.getAllLeafColumns().filter(column => column.getCanGlobalFilter());
|
|
34000
|
+
if (globalFilter && globalFilterFn && globallyFilterableColumns.length) {
|
|
34001
|
+
filterableIds.push('__global__');
|
|
34002
|
+
globallyFilterableColumns.forEach(column => {
|
|
34003
|
+
var _globalFilterFn$resol;
|
|
34004
|
+
resolvedGlobalFilters.push({
|
|
34005
|
+
id: column.id,
|
|
34006
|
+
filterFn: globalFilterFn,
|
|
34007
|
+
resolvedValue: (_globalFilterFn$resol = globalFilterFn.resolveFilterValue == null ? void 0 : globalFilterFn.resolveFilterValue(globalFilter)) != null ? _globalFilterFn$resol : globalFilter
|
|
34008
|
+
});
|
|
34009
|
+
});
|
|
34010
|
+
}
|
|
34011
|
+
let currentColumnFilter;
|
|
34012
|
+
let currentGlobalFilter;
|
|
34013
|
+
|
|
34014
|
+
// Flag the prefiltered row model with each filter state
|
|
34015
|
+
for (let j = 0; j < rowModel.flatRows.length; j++) {
|
|
34016
|
+
const row = rowModel.flatRows[j];
|
|
34017
|
+
row.columnFilters = {};
|
|
34018
|
+
if (resolvedColumnFilters.length) {
|
|
34019
|
+
for (let i = 0; i < resolvedColumnFilters.length; i++) {
|
|
34020
|
+
currentColumnFilter = resolvedColumnFilters[i];
|
|
34021
|
+
const id = currentColumnFilter.id;
|
|
34022
|
+
|
|
34023
|
+
// Tag the row with the column filter state
|
|
34024
|
+
row.columnFilters[id] = currentColumnFilter.filterFn(row, id, currentColumnFilter.resolvedValue, filterMeta => {
|
|
34025
|
+
row.columnFiltersMeta[id] = filterMeta;
|
|
34026
|
+
});
|
|
34027
|
+
}
|
|
34028
|
+
}
|
|
34029
|
+
if (resolvedGlobalFilters.length) {
|
|
34030
|
+
for (let i = 0; i < resolvedGlobalFilters.length; i++) {
|
|
34031
|
+
currentGlobalFilter = resolvedGlobalFilters[i];
|
|
34032
|
+
const id = currentGlobalFilter.id;
|
|
34033
|
+
// Tag the row with the first truthy global filter state
|
|
34034
|
+
if (currentGlobalFilter.filterFn(row, id, currentGlobalFilter.resolvedValue, filterMeta => {
|
|
34035
|
+
row.columnFiltersMeta[id] = filterMeta;
|
|
34036
|
+
})) {
|
|
34037
|
+
row.columnFilters.__global__ = true;
|
|
34038
|
+
break;
|
|
34039
|
+
}
|
|
34040
|
+
}
|
|
34041
|
+
if (row.columnFilters.__global__ !== true) {
|
|
34042
|
+
row.columnFilters.__global__ = false;
|
|
34043
|
+
}
|
|
34044
|
+
}
|
|
34045
|
+
}
|
|
34046
|
+
const filterRowsImpl = row => {
|
|
34047
|
+
// Horizontally filter rows through each column
|
|
34048
|
+
for (let i = 0; i < filterableIds.length; i++) {
|
|
34049
|
+
if (row.columnFilters[filterableIds[i]] === false) {
|
|
34050
|
+
return false;
|
|
34051
|
+
}
|
|
34052
|
+
}
|
|
34053
|
+
return true;
|
|
34054
|
+
};
|
|
34055
|
+
|
|
34056
|
+
// Filter final rows using all of the active filters
|
|
34057
|
+
return filterRows(rowModel.rows, filterRowsImpl, table);
|
|
34058
|
+
}, getMemoOptions(table.options, 'debugTable', 'getFilteredRowModel', () => table._autoResetPageIndex()));
|
|
34059
|
+
}
|
|
34060
|
+
|
|
33837
34061
|
function getPaginationRowModel(opts) {
|
|
33838
34062
|
return table => memo(() => [table.getState().pagination, table.getPrePaginationRowModel(), table.options.paginateExpandedRows ? undefined : table.getState().expanded], (pagination, rowModel) => {
|
|
33839
34063
|
if (!rowModel.rows.length) {
|
|
@@ -34032,13 +34256,39 @@ function useReactTable(options) {
|
|
|
34032
34256
|
return tableRef.current;
|
|
34033
34257
|
}
|
|
34034
34258
|
|
|
34035
|
-
function NvDatatable({ columns, rows, pagination, sorting, renderPagination, stickyHeader, ...htmlProps }) {
|
|
34259
|
+
function NvDatatable({ columns, rows, pagination, sorting, filtering, renderPagination, renderFiltering, stickyHeader, ...htmlProps }) {
|
|
34036
34260
|
const [paginationState, setPaginationState] = React.useState({
|
|
34037
34261
|
pageIndex: 0,
|
|
34038
34262
|
pageSize: pagination?.initialPageSize || 10,
|
|
34039
34263
|
});
|
|
34040
34264
|
const [sortingState, setSortingState] = React.useState(sorting?.sortState || []);
|
|
34265
|
+
const [globalFilterState, setGlobalFilterState] = React.useState(filtering?.filterState);
|
|
34041
34266
|
const lastRowRef = React.useRef(null);
|
|
34267
|
+
const debouncedSetFilter = React.useRef(null);
|
|
34268
|
+
const setGlobalFilterDebounced = React.useCallback((value) => {
|
|
34269
|
+
const debounceMs = filtering?.debounceMs ?? 300;
|
|
34270
|
+
if (debouncedSetFilter.current) {
|
|
34271
|
+
clearTimeout(debouncedSetFilter.current);
|
|
34272
|
+
}
|
|
34273
|
+
debouncedSetFilter.current = setTimeout(() => {
|
|
34274
|
+
setGlobalFilterState(value);
|
|
34275
|
+
if (filtering?.mode === 'server' && filtering.onFilterChange) {
|
|
34276
|
+
filtering.onFilterChange(value);
|
|
34277
|
+
}
|
|
34278
|
+
}, debounceMs);
|
|
34279
|
+
}, [filtering]);
|
|
34280
|
+
React.useEffect(() => {
|
|
34281
|
+
return () => {
|
|
34282
|
+
if (debouncedSetFilter.current) {
|
|
34283
|
+
clearTimeout(debouncedSetFilter.current);
|
|
34284
|
+
}
|
|
34285
|
+
};
|
|
34286
|
+
}, []);
|
|
34287
|
+
React.useEffect(() => {
|
|
34288
|
+
if (filtering?.filterState !== undefined) {
|
|
34289
|
+
setGlobalFilterState(filtering.filterState);
|
|
34290
|
+
}
|
|
34291
|
+
}, [filtering?.filterState]);
|
|
34042
34292
|
const tableColumns = React.useMemo(() => columns
|
|
34043
34293
|
.filter((col) => !col.hidden)
|
|
34044
34294
|
.map((col) => {
|
|
@@ -34095,6 +34345,7 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
34095
34345
|
...(sorting && {
|
|
34096
34346
|
state: {
|
|
34097
34347
|
sorting: sorting.sortState || sortingState,
|
|
34348
|
+
...(filtering && { globalFilter: globalFilterState }),
|
|
34098
34349
|
},
|
|
34099
34350
|
onSortingChange: sorting.mode === 'server'
|
|
34100
34351
|
? (updater) => {
|
|
@@ -34114,6 +34365,23 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
34114
34365
|
isMultiSortEvent: sorting.enableMultiSort ? () => true : undefined,
|
|
34115
34366
|
getSortedRowModel: sorting.mode === 'client' ? getSortedRowModel() : undefined,
|
|
34116
34367
|
}),
|
|
34368
|
+
...(filtering && {
|
|
34369
|
+
state: {
|
|
34370
|
+
...(sorting && { sorting: sorting.sortState || sortingState }),
|
|
34371
|
+
globalFilter: globalFilterState,
|
|
34372
|
+
},
|
|
34373
|
+
onGlobalFilterChange: (updater) => {
|
|
34374
|
+
const newFilter = typeof updater === 'function'
|
|
34375
|
+
? updater(globalFilterState)
|
|
34376
|
+
: updater;
|
|
34377
|
+
setGlobalFilterState(newFilter);
|
|
34378
|
+
if (filtering.mode === 'server' && filtering.onFilterChange) {
|
|
34379
|
+
filtering.onFilterChange(newFilter);
|
|
34380
|
+
}
|
|
34381
|
+
},
|
|
34382
|
+
globalFilterFn: filtering.globalFilterFn,
|
|
34383
|
+
getFilteredRowModel: filtering.mode === 'client' ? getFilteredRowModel() : undefined,
|
|
34384
|
+
}),
|
|
34117
34385
|
};
|
|
34118
34386
|
if (!pagination) {
|
|
34119
34387
|
return baseConfig;
|
|
@@ -34151,7 +34419,16 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
34151
34419
|
};
|
|
34152
34420
|
}
|
|
34153
34421
|
return baseConfig;
|
|
34154
|
-
}, [
|
|
34422
|
+
}, [
|
|
34423
|
+
rows,
|
|
34424
|
+
tableColumns,
|
|
34425
|
+
pagination,
|
|
34426
|
+
paginationState,
|
|
34427
|
+
sorting,
|
|
34428
|
+
sortingState,
|
|
34429
|
+
filtering,
|
|
34430
|
+
globalFilterState,
|
|
34431
|
+
]);
|
|
34155
34432
|
const table = useReactTable(tableConfig);
|
|
34156
34433
|
React.useEffect(() => {
|
|
34157
34434
|
if (pagination?.mode === 'server' && pagination.onPaginationChange) {
|
|
@@ -34211,7 +34488,27 @@ function NvDatatable({ columns, rows, pagination, sorting, renderPagination, sti
|
|
|
34211
34488
|
}, [pagination, table, rows.length, tablePaginationState]);
|
|
34212
34489
|
const tableRows = table.getRowModel().rows;
|
|
34213
34490
|
const isInfiniteScroll = pagination?.mode === 'infinite';
|
|
34491
|
+
const filteringAPI = React.useMemo(() => {
|
|
34492
|
+
if (!filtering) {
|
|
34493
|
+
return null;
|
|
34494
|
+
}
|
|
34495
|
+
const preFilteredRowModel = table.getPreFilteredRowModel();
|
|
34496
|
+
const filteredRowModel = table.getFilteredRowModel();
|
|
34497
|
+
return {
|
|
34498
|
+
filterState: globalFilterState,
|
|
34499
|
+
setGlobalFilter: setGlobalFilterDebounced,
|
|
34500
|
+
resetFilters: () => {
|
|
34501
|
+
setGlobalFilterState(undefined);
|
|
34502
|
+
if (filtering.onFilterChange) {
|
|
34503
|
+
filtering.onFilterChange(undefined);
|
|
34504
|
+
}
|
|
34505
|
+
},
|
|
34506
|
+
totalRows: preFilteredRowModel.rows.length,
|
|
34507
|
+
filteredRows: filteredRowModel.rows.length,
|
|
34508
|
+
};
|
|
34509
|
+
}, [filtering, globalFilterState, table, setGlobalFilterDebounced]);
|
|
34214
34510
|
return (React.createElement(React.Fragment, null,
|
|
34511
|
+
filteringAPI && renderFiltering && renderFiltering(filteringAPI),
|
|
34215
34512
|
React.createElement(NvTable, { ...htmlProps },
|
|
34216
34513
|
React.createElement("table", null,
|
|
34217
34514
|
React.createElement("thead", { "data-sticky-top": stickyHeader ? 'true' : undefined }, table.getHeaderGroups().map((headerGroup) => (React.createElement("tr", { key: headerGroup.id }, headerGroup.headers.map((header) => {
|