@nova-design-system/nova-react 3.10.0 → 3.11.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/{index-Cm4m8MM1.js → index-9kW3hkgy.js} +164 -118
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{nv-accordion-item.entry-CnpS6CGa.js → nv-accordion-item.entry-77CmzSqs.js} +1 -1
- package/dist/cjs/{nv-accordion.entry-8UIjQG0P.js → nv-accordion.entry-DCspxUr-.js} +1 -1
- package/dist/cjs/{nv-alert.entry-96FaJ9yM.js → nv-alert.entry-4ATJ67O4.js} +2 -2
- package/dist/cjs/{nv-avatar.entry-BcLkxe35.js → nv-avatar.entry-DOI0QFTW.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-CzDec_7j.js → nv-badge_2.entry-h081ah26.js} +8 -2
- package/dist/cjs/{nv-breadcrumb.entry-BvnO7tGb.js → nv-breadcrumb.entry-C6TteX7v.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-Du98f0lC.js → nv-breadcrumbs.entry-CpYRzd4I.js} +1 -1
- package/dist/cjs/{nv-button.entry-D8Ob5YDg.js → nv-button.entry-DUU-LHJM.js} +1 -1
- package/dist/cjs/{nv-buttongroup.entry-BGpQpMD_.js → nv-buttongroup.entry-BDdi1Z66.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-CAINTAPB.js → nv-calendar.entry-DMpLDXJG.js} +1 -1
- package/dist/cjs/{nv-col.entry-5trkPEIg.js → nv-col.entry-WTuI3NnF.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-DqbLtkI4.js → nv-datagrid.entry-BXqZFjrC.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-Dn1u3PFr.js → nv-datagridcolumn.entry-B-M6q2Tk.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-pibB_NBe.js → nv-dialog.entry-DEM7iOao.js} +1 -1
- package/dist/cjs/{nv-dialogfooter_2.entry-0MTTK7Y2.js → nv-dialogfooter_2.entry-B09v2yKV.js} +1 -1
- package/dist/cjs/{nv-fieldcheckbox.entry-DBSUOWI_.js → nv-fieldcheckbox.entry-Z5tjeUuU.js} +1 -1
- package/dist/cjs/{nv-fielddate.entry-DM6ap-c_.js → nv-fielddate.entry-5lSIc9Ek.js} +1 -1
- package/dist/cjs/{nv-fielddaterange.entry-DJEbpwlV.js → nv-fielddaterange.entry-CuhBqqML.js} +1 -1
- package/dist/cjs/{nv-fielddropdown.entry-COGswgIv.js → nv-fielddropdown.entry-BFFr0ATC.js} +1 -1
- package/dist/cjs/{nv-fielddropdownitem.entry-m6TjyMp3.js → nv-fielddropdownitem.entry-BugR9GTU.js} +1 -1
- package/dist/cjs/{nv-fieldmultiselect.entry-PhmD9JYp.js → nv-fieldmultiselect.entry-S7ur1tcN.js} +113 -73
- package/dist/cjs/{nv-fieldnumber.entry-dR0KzTa9.js → nv-fieldnumber.entry-BMpv7Xab.js} +1 -1
- package/dist/cjs/{nv-fieldpassword.entry-CuQO_qjq.js → nv-fieldpassword.entry-B5WsGvF8.js} +1 -1
- package/dist/cjs/{nv-fieldradio.entry-UvL5fKFQ.js → nv-fieldradio.entry-BhojWkU4.js} +1 -1
- package/dist/cjs/{nv-fieldselect.entry-DKMYBCaJ.js → nv-fieldselect.entry-CCM3U7mj.js} +1 -1
- package/dist/cjs/{nv-fieldslider.entry-tOUuTb46.js → nv-fieldslider.entry-XQRuw_C-.js} +1 -1
- package/dist/cjs/{nv-fieldtext.entry-m9XbYLZW.js → nv-fieldtext.entry-DtgMcL9y.js} +1 -1
- package/dist/cjs/{nv-fieldtextarea.entry-DQpfF5ME.js → nv-fieldtextarea.entry-BF4luAgA.js} +1 -1
- package/dist/cjs/{nv-fieldtime.entry-Pmt1E_Hm.js → nv-fieldtime.entry-DyP6QWzm.js} +1 -1
- package/dist/cjs/{nv-icon.entry-C4VmFtRW.js → nv-icon.entry-DlnsNiSG.js} +1 -1
- package/dist/cjs/{nv-iconbutton_2.entry-Cc2xKJb5.js → nv-iconbutton_2.entry-DlLquYC0.js} +1 -1
- package/dist/cjs/{nv-menu.entry-B6kxLiip.js → nv-menu.entry-Dj2paHp_.js} +1 -1
- package/dist/cjs/{nv-menuitem.entry-rYbCnY7o.js → nv-menuitem.entry-DbV-21bC.js} +1 -1
- package/dist/cjs/{nv-popover.entry-CJJjW4Pv.js → nv-popover.entry-mefWRuFR.js} +1 -1
- package/dist/cjs/{nv-row.entry-BMMoJvjb.js → nv-row.entry-Ds7BSvjO.js} +1 -1
- package/dist/cjs/{nv-stack.entry-DI6QCSbS.js → nv-stack.entry-vlegAAKj.js} +1 -1
- package/dist/cjs/{nv-table.entry-BPWQIWyg.js → nv-table.entry-CiZvYc93.js} +1 -1
- package/dist/cjs/{nv-tablecolumn.entry-De81f1e9.js → nv-tablecolumn.entry-ChUzCWVu.js} +1 -1
- package/dist/cjs/{nv-toggle.entry-BTNtBXGR.js → nv-toggle.entry-CLY7TxJv.js} +1 -1
- package/dist/cjs/{nv-togglebutton.entry-vWKwWiQe.js → nv-togglebutton.entry-C6dUap1P.js} +1 -1
- package/dist/cjs/{nv-togglebuttongroup.entry-BmpHIXnd.js → nv-togglebuttongroup.entry-JZNZk6j2.js} +1 -1
- package/dist/cjs/{nv-tooltip.entry-BJHXydMC.js → nv-tooltip.entry-BhwdNKUk.js} +2 -2
- package/package.json +1 -1
|
@@ -4948,7 +4948,7 @@ const timeline = (...animations) => ({
|
|
|
4948
4948
|
},
|
|
4949
4949
|
});
|
|
4950
4950
|
|
|
4951
|
-
const nvAlertCss = "nv-alert{display:flex !important;align-items:flex-start;position:relative;gap:var(--alert-gap-x);border-radius:var(--alert-radius);font-family:\"TT Norms Pro\", \"Montserrat\", sans-serif}nv-alert>nv-icon{margin-left:var(--alert-icon-position-x);margin-top:var(--alert-icon-position-y)}nv-alert.hidden{display:none !important}nv-alert.feedback-information{background-color:var(--components-alert-information-background);border:1px solid var(--components-alert-information-border) !important}nv-alert.feedback-information>.close:focus,nv-alert.feedback-information>.close:focus-within{outline:none}nv-alert.feedback-information>.close:focus-visible,nv-alert.feedback-information>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-information-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-warning{background-color:var(--components-alert-warning-background);border:1px solid var(--components-alert-warning-border) !important}nv-alert.feedback-warning>.close:focus,nv-alert.feedback-warning>.close:focus-within{outline:none}nv-alert.feedback-warning>.close:focus-visible,nv-alert.feedback-warning>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-warning-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-error{background-color:var(--components-alert-error-background);border:1px solid var(--components-alert-error-border) !important}nv-alert.feedback-error>.close:focus,nv-alert.feedback-error>.close:focus-within{outline:none}nv-alert.feedback-error>.close:focus-visible,nv-alert.feedback-error>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-error-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-success{background-color:var(--components-alert-success-background);border:1px solid var(--components-alert-success-border) !important}nv-alert.feedback-success>.close:focus,nv-alert.feedback-success>.close:focus-within{outline:none}nv-alert.feedback-success>.close:focus-visible,nv-alert.feedback-success>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-success-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-neutral{background-color:var(--components-alert-neutral-background);border:1px solid var(--components-alert-neutral-border) !important}nv-alert.feedback-neutral>.close:focus,nv-alert.feedback-neutral>.close:focus-within{outline:none}nv-alert.feedback-neutral>.close:focus-visible,nv-alert.feedback-neutral>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-neutral-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert>nv-icon.icon-information{color:var(--components-alert-information-icon)}nv-alert>nv-icon.icon-warning{color:var(--components-alert-warning-icon)}nv-alert>nv-icon.icon-error{color:var(--components-alert-error-icon)}nv-alert>nv-icon.icon-success{color:var(--components-alert-success-icon)}nv-alert>nv-icon.icon-neutral{color:var(--components-alert-neutral-icon)}nv-alert>.content{display:flex;padding:var(--alert-padding);padding-left:0;flex-direction:column;gap:var(--alert-gap-y)}nv-alert>.content>.heading{color:var(--components-alert-content-title);font-size:var(--alert-heading-font-size);line-height:var(--alert-heading-line-height);font-weight:var(--alert-heading-font-weight)}nv-alert>.content>.message{color:var(--components-alert-content-description);font-size:var(--alert-message-font-size);line-height:var(--alert-message-line-height)}nv-alert>.close{border-radius:var(--alert-radius);position:absolute;display:flex;top:var(--alert-icon-position-y);right:var(--alert-icon-position-x);padding:0;border:none;background:none;cursor:pointer}";
|
|
4951
|
+
const nvAlertCss = "nv-alert{display:flex !important;align-items:flex-start;position:relative;gap:var(--alert-gap-x);border-radius:var(--alert-radius);font-family:\"TT Norms Pro\", \"Montserrat\", sans-serif}nv-alert>nv-icon{margin-left:var(--alert-icon-position-x);margin-top:var(--alert-icon-position-y)}nv-alert.hidden{display:none !important}nv-alert.feedback-information{background-color:var(--components-alert-information-background);border:1px solid var(--components-alert-information-border) !important}nv-alert.feedback-information>.close:focus,nv-alert.feedback-information>.close:focus-within{outline:none}nv-alert.feedback-information>.close:focus-visible,nv-alert.feedback-information>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-information-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-warning{background-color:var(--components-alert-warning-background);border:1px solid var(--components-alert-warning-border) !important}nv-alert.feedback-warning>.close:focus,nv-alert.feedback-warning>.close:focus-within{outline:none}nv-alert.feedback-warning>.close:focus-visible,nv-alert.feedback-warning>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-warning-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-error{background-color:var(--components-alert-error-background);border:1px solid var(--components-alert-error-border) !important}nv-alert.feedback-error>.close:focus,nv-alert.feedback-error>.close:focus-within{outline:none}nv-alert.feedback-error>.close:focus-visible,nv-alert.feedback-error>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-error-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-success{background-color:var(--components-alert-success-background);border:1px solid var(--components-alert-success-border) !important}nv-alert.feedback-success>.close:focus,nv-alert.feedback-success>.close:focus-within{outline:none}nv-alert.feedback-success>.close:focus-visible,nv-alert.feedback-success>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-success-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert.feedback-neutral{background-color:var(--components-alert-neutral-background);border:1px solid var(--components-alert-neutral-border) !important}nv-alert.feedback-neutral>.close:focus,nv-alert.feedback-neutral>.close:focus-within{outline:none}nv-alert.feedback-neutral>.close:focus-visible,nv-alert.feedback-neutral>.close:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--components-alert-neutral-border);outline-offset:calc(var(--focus-outline-offset) * 1);z-index:111}nv-alert>nv-icon.icon-information{color:var(--components-alert-information-icon)}nv-alert>nv-icon.icon-warning{color:var(--components-alert-warning-icon)}nv-alert>nv-icon.icon-error{color:var(--components-alert-error-icon)}nv-alert>nv-icon.icon-success{color:var(--components-alert-success-icon)}nv-alert>nv-icon.icon-neutral{color:var(--components-alert-neutral-icon)}nv-alert>.content{display:flex;padding:var(--alert-padding);padding-right:calc(var(--alert-padding) + var(--icon-md) + var(--spacing-1));padding-left:0;flex-direction:column;gap:var(--alert-gap-y)}nv-alert>.content>.heading{color:var(--components-alert-content-title);font-size:var(--alert-heading-font-size);line-height:var(--alert-heading-line-height);font-weight:var(--alert-heading-font-weight)}nv-alert>.content>.message{color:var(--components-alert-content-description);font-size:var(--alert-message-font-size);line-height:var(--alert-message-line-height)}nv-alert>.close{border-radius:var(--alert-radius);position:absolute;display:flex;top:var(--alert-icon-position-y);right:var(--alert-icon-position-x);padding:0;border:none;background:none;cursor:pointer}";
|
|
4952
4952
|
const NvAlertStyle0 = nvAlertCss;
|
|
4953
4953
|
|
|
4954
4954
|
const NvAlert$1 = /*@__PURE__*/ proxyCustomElement(class NvAlert extends H {
|
|
@@ -7427,7 +7427,7 @@ function defineCustomElement$Q() {
|
|
|
7427
7427
|
}
|
|
7428
7428
|
defineCustomElement$Q();
|
|
7429
7429
|
|
|
7430
|
-
const nvTooltipCss = "nv-tooltip{display:inline-block;position:relative;user-select:none}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip [data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip [data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}";
|
|
7430
|
+
const nvTooltipCss = "nv-tooltip{display:inline-block;position:relative;user-select:none}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip nv-popover>[data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip nv-popover>[data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}";
|
|
7431
7431
|
const NvTooltipStyle0 = nvTooltipCss;
|
|
7432
7432
|
|
|
7433
7433
|
const NvTooltip$2 = /*@__PURE__*/ proxyCustomElement(class NvTooltip extends H {
|
|
@@ -20801,6 +20801,9 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
|
|
|
20801
20801
|
* Disables the item, preventing any user interaction.
|
|
20802
20802
|
*/
|
|
20803
20803
|
this.disabled = false;
|
|
20804
|
+
//#endregion EVENTS
|
|
20805
|
+
/****************************************************************************/
|
|
20806
|
+
//#region METHODS
|
|
20804
20807
|
/**
|
|
20805
20808
|
* when the child <nv-fieldcheckbox> change its `checked` state,
|
|
20806
20809
|
* update `this.checked` and emit `itemChecked`.
|
|
@@ -20829,8 +20832,11 @@ const NvFielddropdownitemcheck$2 = /*@__PURE__*/ proxyCustomElement(class NvFiel
|
|
|
20829
20832
|
}
|
|
20830
20833
|
};
|
|
20831
20834
|
}
|
|
20835
|
+
//#endregion METHODS
|
|
20836
|
+
/****************************************************************************/
|
|
20837
|
+
//#region RENDER
|
|
20832
20838
|
render() {
|
|
20833
|
-
return (h$1(Host$1, { key: '
|
|
20839
|
+
return (h$1(Host$1, { key: 'cb922f0c0224c950ab5a87783028f2909eb1e39c', onClick: this.handleClick }, h$1("nv-fieldcheckbox", { key: '6f8748022131a8cd31b0f69851313f80c330172a', 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: '20d1014accc6cfc00658703057b25037175287af' }), h$1("slot", { key: 'a7e61eed6bc72d3a14096cac2c195629a0ce2928', name: "main" }), h$1("slot", { key: '93f6bce370ac36f1ce3e0f2c1d9cdd598c14cb14', name: "label" }), h$1("slot", { key: '837359fc1fea49e0dea221039dc7466cdc86b757', name: "description" }))));
|
|
20834
20840
|
}
|
|
20835
20841
|
get el() { return this; }
|
|
20836
20842
|
static get style() { return NvFielddropdownitemcheckStyle0; }
|
|
@@ -20874,6 +20880,7 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20874
20880
|
this.__registerHost();
|
|
20875
20881
|
this.valueChanged = createEvent$1(this, "valueChanged");
|
|
20876
20882
|
this.filterTextChanged = createEvent$1(this, "filterTextChanged");
|
|
20883
|
+
this.isBulkOperation = false;
|
|
20877
20884
|
/**
|
|
20878
20885
|
* Sets the ID for the input element and the for attribute of the associated
|
|
20879
20886
|
* label. If no ID is provided, a random one will be automatically generated
|
|
@@ -20981,6 +20988,9 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
20981
20988
|
this.isSelectAllSectionVisible = true;
|
|
20982
20989
|
// Add the flag to the class
|
|
20983
20990
|
this.preventBlurClose = false;
|
|
20991
|
+
this.handleMouseDownPreventBlur = () => {
|
|
20992
|
+
this.preventBlurClose = true;
|
|
20993
|
+
};
|
|
20984
20994
|
/**
|
|
20985
20995
|
* Handle badge close for options mode.
|
|
20986
20996
|
*/
|
|
@@ -21167,6 +21177,11 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21167
21177
|
*/
|
|
21168
21178
|
this.handleInputBlurSlots = () => {
|
|
21169
21179
|
setTimeout(() => {
|
|
21180
|
+
// Honor preventBlurClose to avoid closing when interacting inside the popover
|
|
21181
|
+
if (this.preventBlurClose) {
|
|
21182
|
+
this.preventBlurClose = false;
|
|
21183
|
+
return; // Don't close the popover
|
|
21184
|
+
}
|
|
21170
21185
|
if (!this.el.contains(document.activeElement)) {
|
|
21171
21186
|
// Close the popover without affecting the divider
|
|
21172
21187
|
this.open = false;
|
|
@@ -21203,24 +21218,33 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21203
21218
|
this.toggleSelectAllOptions = (selectAll) => {
|
|
21204
21219
|
if (!this.options)
|
|
21205
21220
|
return;
|
|
21206
|
-
|
|
21207
|
-
|
|
21208
|
-
|
|
21209
|
-
|
|
21210
|
-
|
|
21211
|
-
|
|
21221
|
+
this.isBulkOperation = true; // Set flag to suppress individual emissions
|
|
21222
|
+
try {
|
|
21223
|
+
// Get visible and enabled option values from DOM
|
|
21224
|
+
const visibleOptionValues = this.getVisibleEnabledOptionItems();
|
|
21225
|
+
console.info('[SelectAll][Options] toggleSelectAllOptions called. selectAll:', selectAll, 'visibleOptionValues:', visibleOptionValues, 'Current value:', this.value);
|
|
21226
|
+
if (selectAll) {
|
|
21227
|
+
// Select all visible options - merge with existing selections
|
|
21228
|
+
this.value = [...new Set([...this.value, ...visibleOptionValues])];
|
|
21229
|
+
}
|
|
21230
|
+
else {
|
|
21231
|
+
// Deselect only the visible options, keep others that might be filtered out
|
|
21232
|
+
this.value = this.value.filter(val => !visibleOptionValues.includes(val));
|
|
21233
|
+
}
|
|
21234
|
+
console.info('[SelectAll][Options] New value after toggle:', this.value);
|
|
21235
|
+
// Emit the change event
|
|
21236
|
+
this.valueChanged.emit(this.value);
|
|
21237
|
+
// Synchronize child components
|
|
21238
|
+
this.syncChildComponents();
|
|
21239
|
+
// Reorder content to move selected items to top
|
|
21240
|
+
this.reorderOptionsContent();
|
|
21212
21241
|
}
|
|
21213
|
-
|
|
21214
|
-
//
|
|
21215
|
-
|
|
21242
|
+
finally {
|
|
21243
|
+
// Defer reset to next frame to ensure any async child emissions are ignored
|
|
21244
|
+
requestAnimationFrame(() => {
|
|
21245
|
+
this.isBulkOperation = false; // Reset flag
|
|
21246
|
+
});
|
|
21216
21247
|
}
|
|
21217
|
-
console.info('[SelectAll][Options] New value after toggle:', this.value);
|
|
21218
|
-
// Emit the change event
|
|
21219
|
-
this.valueChanged.emit(this.value);
|
|
21220
|
-
// Synchronize child components
|
|
21221
|
-
this.syncChildComponents();
|
|
21222
|
-
// Reorder content to move selected items to top
|
|
21223
|
-
this.reorderOptionsContent();
|
|
21224
21248
|
};
|
|
21225
21249
|
/**
|
|
21226
21250
|
* Toggles the selection state of all non-disabled slot items.
|
|
@@ -21229,31 +21253,40 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21229
21253
|
this.toggleSelectAllSlots = (selectAll) => {
|
|
21230
21254
|
if (this.options)
|
|
21231
21255
|
return; // Only for slots mode
|
|
21232
|
-
//
|
|
21233
|
-
|
|
21234
|
-
|
|
21235
|
-
|
|
21236
|
-
|
|
21237
|
-
|
|
21238
|
-
|
|
21239
|
-
|
|
21240
|
-
|
|
21256
|
+
this.isBulkOperation = true; // Set flag to suppress individual emissions
|
|
21257
|
+
try {
|
|
21258
|
+
// Get visible and enabled items
|
|
21259
|
+
const items = this.getVisibleEnabledSlotItems();
|
|
21260
|
+
console.info('[SelectAll][Slots] toggleSelectAllSlots called. selectAll:', selectAll, 'visible slot items:', items.map(item => item.getAttribute('value') || item.getAttribute('label')), 'Current value:', this.value);
|
|
21261
|
+
if (selectAll) {
|
|
21262
|
+
// Select all visible items
|
|
21263
|
+
const allActiveValues = items
|
|
21264
|
+
.map(item => item.getAttribute('value') || item.getAttribute('label') || '')
|
|
21265
|
+
.filter(value => value !== '');
|
|
21266
|
+
this.value = [...new Set([...this.value, ...allActiveValues])];
|
|
21267
|
+
}
|
|
21268
|
+
else {
|
|
21269
|
+
// Deselect only the visible items, keep others that might be filtered out
|
|
21270
|
+
const visibleValues = items
|
|
21271
|
+
.map(item => item.getAttribute('value') || item.getAttribute('label') || '')
|
|
21272
|
+
.filter(value => value !== '');
|
|
21273
|
+
this.value = this.value.filter(val => !visibleValues.includes(val));
|
|
21274
|
+
}
|
|
21275
|
+
console.info('[SelectAll][Slots] New value after toggle:', this.value);
|
|
21276
|
+
// Emit the change event
|
|
21277
|
+
this.valueChanged.emit(this.value);
|
|
21278
|
+
// Force synchronization with a small delay to ensure DOM is updated
|
|
21279
|
+
requestAnimationFrame(() => {
|
|
21280
|
+
this.syncChildComponents();
|
|
21281
|
+
this.reorderSlotContent();
|
|
21282
|
+
});
|
|
21283
|
+
}
|
|
21284
|
+
finally {
|
|
21285
|
+
// Defer reset to next frame to ensure any async child emissions are ignored
|
|
21286
|
+
requestAnimationFrame(() => {
|
|
21287
|
+
this.isBulkOperation = false; // Reset flag
|
|
21288
|
+
});
|
|
21241
21289
|
}
|
|
21242
|
-
else {
|
|
21243
|
-
// Deselect only the visible items, keep others that might be filtered out
|
|
21244
|
-
const visibleValues = items
|
|
21245
|
-
.map(item => item.getAttribute('value') || item.getAttribute('label') || '')
|
|
21246
|
-
.filter(value => value !== '');
|
|
21247
|
-
this.value = this.value.filter(val => !visibleValues.includes(val));
|
|
21248
|
-
}
|
|
21249
|
-
console.info('[SelectAll][Slots] New value after toggle:', this.value);
|
|
21250
|
-
// Emit the change event
|
|
21251
|
-
this.valueChanged.emit(this.value);
|
|
21252
|
-
// Force synchronization with a small delay to ensure DOM is updated
|
|
21253
|
-
requestAnimationFrame(() => {
|
|
21254
|
-
this.syncChildComponents();
|
|
21255
|
-
this.reorderSlotContent();
|
|
21256
|
-
});
|
|
21257
21290
|
};
|
|
21258
21291
|
/**
|
|
21259
21292
|
* Handle click on the select all checkbox in options mode.
|
|
@@ -21305,16 +21338,10 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21305
21338
|
width: '0',
|
|
21306
21339
|
height: '0',
|
|
21307
21340
|
pointerEvents: 'none',
|
|
21308
|
-
}, tabIndex: -1, "aria-hidden": "true", autoComplete: this.autocomplete, name: this.name, onFocus: this.handleInputFocusOptions }), h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, "aria-label": this.label, "aria-controls": `${this.inputId}-listbox`, "data-scope": "focusable", role: "button" }, h$1("span", null, this.placeholder)))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), this.filterable && this.filterText.length > 0 && (h$1("nv-iconbutton", { "data-scope": "clear-filter", name: "x", size: "md", emphasis: "lower", "aria-label": "Clear filter text", tabindex: "-1", title: "Clear filter text", onMouseDown: ()
|
|
21309
|
-
this.preventBlurClose = true;
|
|
21310
|
-
}, onClick: this.clearFilterText })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', title: this.open ? 'Hide dropdown' : 'Show dropdown', onMouseDown: () => {
|
|
21311
|
-
this.preventBlurClose = true;
|
|
21312
|
-
}, onClick: this.togglePopoverOptions })), h$1("slot", { name: "after-input" })), h$1("div", { id: `${this.inputId}-listbox`, slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, this.shouldShowToggleAllOptionsButton() && (h$1("div", { class: "select-all-container" }, h$1("div", { class: "select-all-header" }, this.isSelectAllSectionVisible && (h$1("nv-fieldcheckbox", { checked: this.getSelectAllCheckboxStateOptions() === 'checked', indeterminate: this.getSelectAllCheckboxStateOptions() ===
|
|
21341
|
+
}, tabIndex: -1, "aria-hidden": "true", autoComplete: this.autocomplete, name: this.name, onFocus: this.handleInputFocusOptions }), h$1("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, "aria-label": this.label, "aria-controls": `${this.inputId}-listbox`, "data-scope": "focusable", role: "button" }, h$1("span", null, this.placeholder)))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), this.filterable && this.filterText.length > 0 && (h$1("nv-iconbutton", { "data-scope": "clear-filter", name: "x", size: "md", emphasis: "lower", "aria-label": "Clear filter text", tabindex: "-1", title: "Clear filter text", onMouseDown: this.handleMouseDownPreventBlur, onClick: this.clearFilterText })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', title: this.open ? 'Hide dropdown' : 'Show dropdown', onMouseDown: this.handleMouseDownPreventBlur, onClick: this.togglePopoverOptions })), h$1("slot", { name: "after-input" })), h$1("div", { id: `${this.inputId}-listbox`, slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {}, onMouseDown: this.handleMouseDownPreventBlur }, this.shouldShowToggleAllOptionsButton() && (h$1("div", { class: "select-all-container" }, h$1("div", { class: "select-all-header" }, this.isSelectAllSectionVisible && (h$1("nv-fieldcheckbox", { checked: this.getSelectAllCheckboxStateOptions() === 'checked', indeterminate: this.getSelectAllCheckboxStateOptions() ===
|
|
21313
21342
|
'indeterminate', label: this.getSelectAllCheckboxStateOptions() === 'unchecked'
|
|
21314
21343
|
? this.selectAllLabel
|
|
21315
|
-
: this.deselectAllLabel, onMouseDown:
|
|
21316
|
-
this.preventBlurClose = true;
|
|
21317
|
-
}, onClick: this.handleSelectAllCheckboxOptionsClick }))))), h$1("ul", { role: "listbox", "aria-multiselectable": "true" }, this.options.map(option => (h$1("nv-fielddropdownitemcheck", { role: "option", label: option.label, description: option.description, value: option.value, checked: this.value.includes(option.value), disabled: option.disabled })))))), this.renderDescriptions()));
|
|
21344
|
+
: this.deselectAllLabel, onMouseDown: this.handleMouseDownPreventBlur, onClick: this.handleSelectAllCheckboxOptionsClick }))))), h$1("ul", { role: "listbox", "aria-multiselectable": "true" }, this.options.map(option => (h$1("nv-fielddropdownitemcheck", { role: "option", label: option.label, description: option.description, value: option.value, checked: this.value.includes(option.value), disabled: option.disabled })))))), this.renderDescriptions()));
|
|
21318
21345
|
};
|
|
21319
21346
|
/**
|
|
21320
21347
|
* Renders the component in slots mode
|
|
@@ -21327,16 +21354,10 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21327
21354
|
width: '0',
|
|
21328
21355
|
height: '0',
|
|
21329
21356
|
pointerEvents: 'none',
|
|
21330
|
-
}, tabIndex: -1, "aria-hidden": "true", autoComplete: this.autocomplete, name: this.name, onFocus: this.handleInputFocusSlots }), h$1("p", { id: this.inputId, class: "non-filterable-text", "aria-label": this.label, onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, "aria-controls": `${this.inputId}-listbox`, "data-scope": "focusable", role: "button" }, h$1("span", null, this.placeholder)))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), this.filterable && this.filterText.length > 0 && (h$1("nv-iconbutton", { name: "x", size: "md", emphasis: "lower", tabindex: "-1", onMouseDown: ()
|
|
21331
|
-
this.preventBlurClose = true;
|
|
21332
|
-
}, onClick: this.clearFilterText, "aria-label": "Clear filter text" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', title: this.open ? 'Hide dropdown' : 'Show dropdown', onMouseDown: () => {
|
|
21333
|
-
this.preventBlurClose = true;
|
|
21334
|
-
}, onClick: this.togglePopoverSlots })), h$1("slot", { name: "after-input" })), h$1("div", { id: `${this.inputId}-listbox`, slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, this.shouldShowToggleAllSlotButton() && (h$1("div", { class: "select-all-container" }, h$1("div", { class: "select-all-header" }, this.isSelectAllSectionVisible && (h$1("nv-fieldcheckbox", { checked: this.getSelectAllCheckboxStateSlots() === 'checked', indeterminate: this.getSelectAllCheckboxStateSlots() ===
|
|
21357
|
+
}, tabIndex: -1, "aria-hidden": "true", autoComplete: this.autocomplete, name: this.name, onFocus: this.handleInputFocusSlots }), h$1("p", { id: this.inputId, class: "non-filterable-text", "aria-label": this.label, onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, "aria-controls": `${this.inputId}-listbox`, "data-scope": "focusable", role: "button" }, h$1("span", null, this.placeholder)))), this.error && (h$1("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), this.filterable && this.filterText.length > 0 && (h$1("nv-iconbutton", { name: "x", size: "md", emphasis: "lower", tabindex: "-1", onMouseDown: this.handleMouseDownPreventBlur, onClick: this.clearFilterText, "aria-label": "Clear filter text" })), h$1("nv-iconbutton", { "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', title: this.open ? 'Hide dropdown' : 'Show dropdown', onMouseDown: this.handleMouseDownPreventBlur, onClick: this.togglePopoverSlots })), h$1("slot", { name: "after-input" })), h$1("div", { id: `${this.inputId}-listbox`, slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {}, onMouseDown: this.handleMouseDownPreventBlur }, this.shouldShowToggleAllSlotButton() && (h$1("div", { class: "select-all-container" }, h$1("div", { class: "select-all-header" }, this.isSelectAllSectionVisible && (h$1("nv-fieldcheckbox", { checked: this.getSelectAllCheckboxStateSlots() === 'checked', indeterminate: this.getSelectAllCheckboxStateSlots() ===
|
|
21335
21358
|
'indeterminate', label: this.getSelectAllCheckboxStateSlots() === 'unchecked'
|
|
21336
21359
|
? this.selectAllLabel
|
|
21337
|
-
: this.deselectAllLabel, onMouseDown:
|
|
21338
|
-
this.preventBlurClose = true;
|
|
21339
|
-
}, onClick: this.handleSelectAllCheckboxSlotsClick }))))), h$1("slot", { name: "content" }))), this.renderDescriptions()));
|
|
21360
|
+
: this.deselectAllLabel, onMouseDown: this.handleMouseDownPreventBlur, onClick: this.handleSelectAllCheckboxSlotsClick }))))), h$1("slot", { name: "content" }))), this.renderDescriptions()));
|
|
21340
21361
|
};
|
|
21341
21362
|
}
|
|
21342
21363
|
//#endregion EVENTS
|
|
@@ -21365,7 +21386,12 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21365
21386
|
this.reorderOptionsContent();
|
|
21366
21387
|
}
|
|
21367
21388
|
watchValueHandler() {
|
|
21368
|
-
console.info('[Watch:value] Value changed:', this.value);
|
|
21389
|
+
console.info('[Watch:value] Value changed:', this.value, 'isBulkOperation:', this.isBulkOperation);
|
|
21390
|
+
// Skip processing during bulk operations
|
|
21391
|
+
if (this.isBulkOperation) {
|
|
21392
|
+
console.info('[Watch:value] Skipping syncChildComponents and options update due to bulk operation');
|
|
21393
|
+
return;
|
|
21394
|
+
}
|
|
21369
21395
|
// Synchronize child components when value changes programmatically
|
|
21370
21396
|
if (this.el && this.el.isConnected) {
|
|
21371
21397
|
this.syncChildComponents();
|
|
@@ -21410,7 +21436,9 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21410
21436
|
* @param {CustomEvent} event - The event object containing the selected value and its checked state.
|
|
21411
21437
|
*/
|
|
21412
21438
|
handleItemChecked(event) {
|
|
21413
|
-
if (this.disabled || this.readonly) {
|
|
21439
|
+
if (this.disabled || this.readonly || this.isBulkOperation) {
|
|
21440
|
+
// Skip processing itemChecked events during bulk operations
|
|
21441
|
+
console.info('[Event:itemChecked] Skipped due to bulk operation or disabled/readonly', event.detail);
|
|
21414
21442
|
return;
|
|
21415
21443
|
}
|
|
21416
21444
|
const { value, checked } = event.detail;
|
|
@@ -21418,21 +21446,23 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21418
21446
|
if (value !== undefined && value !== null) {
|
|
21419
21447
|
const newValue = [...this.value];
|
|
21420
21448
|
const valueIndex = newValue.indexOf(value);
|
|
21449
|
+
let hasChanged = false;
|
|
21421
21450
|
if (checked && valueIndex === -1) {
|
|
21422
21451
|
newValue.push(value);
|
|
21452
|
+
hasChanged = true;
|
|
21423
21453
|
}
|
|
21424
21454
|
else if (!checked && valueIndex > -1) {
|
|
21425
21455
|
newValue.splice(valueIndex, 1);
|
|
21456
|
+
hasChanged = true;
|
|
21426
21457
|
}
|
|
21427
21458
|
console.info('[Event:itemChecked] newValue after update:', newValue);
|
|
21428
|
-
|
|
21429
|
-
|
|
21430
|
-
|
|
21431
|
-
|
|
21432
|
-
|
|
21459
|
+
if (hasChanged) {
|
|
21460
|
+
this.value = newValue;
|
|
21461
|
+
this.valueChanged.emit(this.value);
|
|
21462
|
+
this.syncChildComponents();
|
|
21463
|
+
}
|
|
21433
21464
|
// Preserve the filter text in the input
|
|
21434
21465
|
if (this.filterable && this.inputElement) {
|
|
21435
|
-
// Keep the current filter text in the input
|
|
21436
21466
|
this.inputElement.value = this.filterText;
|
|
21437
21467
|
}
|
|
21438
21468
|
}
|
|
@@ -21460,7 +21490,11 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21460
21490
|
*/
|
|
21461
21491
|
connectedCallback() {
|
|
21462
21492
|
console.info('[Lifecycle] connectedCallback - value:', this.value);
|
|
21463
|
-
|
|
21493
|
+
// Bind once and reuse the same reference for add/remove to avoid leaks
|
|
21494
|
+
if (!this._boundHandleClickOutside) {
|
|
21495
|
+
this._boundHandleClickOutside = this.handleClickOutside.bind(this);
|
|
21496
|
+
}
|
|
21497
|
+
document.addEventListener('click', this._boundHandleClickOutside);
|
|
21464
21498
|
}
|
|
21465
21499
|
/**
|
|
21466
21500
|
* Set the mode state and handle options change.
|
|
@@ -21518,7 +21552,9 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
21518
21552
|
*/
|
|
21519
21553
|
disconnectedCallback() {
|
|
21520
21554
|
console.info('[Lifecycle] disconnectedCallback - value:', this.value);
|
|
21521
|
-
|
|
21555
|
+
if (this._boundHandleClickOutside) {
|
|
21556
|
+
document.removeEventListener('click', this._boundHandleClickOutside);
|
|
21557
|
+
}
|
|
21522
21558
|
}
|
|
21523
21559
|
//#endregion LIFECYCLE
|
|
21524
21560
|
/****************************************************************************/
|
|
@@ -22047,13 +22083,23 @@ const NvFieldmultiselect$1 = /*@__PURE__*/ proxyCustomElement(class NvFieldmulti
|
|
|
22047
22083
|
const itemValue = item.getAttribute('value') || item.getAttribute('label') || '';
|
|
22048
22084
|
const shouldBeChecked = this.value.includes(itemValue);
|
|
22049
22085
|
console.info('[syncChildComponents] itemValue:', itemValue, 'shouldBeChecked:', shouldBeChecked, 'item.checked(before):', item.checked);
|
|
22050
|
-
if
|
|
22051
|
-
|
|
22052
|
-
|
|
22053
|
-
|
|
22054
|
-
|
|
22055
|
-
|
|
22056
|
-
|
|
22086
|
+
// Only update if the checked state differs to avoid triggering unnecessary events
|
|
22087
|
+
if (item.checked !== shouldBeChecked) {
|
|
22088
|
+
// Set attribute and property, but avoid triggering itemChecked during bulk
|
|
22089
|
+
if (this.isBulkOperation) {
|
|
22090
|
+
// Directly update the DOM attribute to avoid triggering the setter
|
|
22091
|
+
if (shouldBeChecked) {
|
|
22092
|
+
item.setAttribute('checked', '');
|
|
22093
|
+
}
|
|
22094
|
+
else {
|
|
22095
|
+
item.removeAttribute('checked');
|
|
22096
|
+
}
|
|
22097
|
+
// Update internal state without emitting events (assumes nv-fielddropdownitemcheck respects this)
|
|
22098
|
+
item.checked = shouldBeChecked;
|
|
22099
|
+
}
|
|
22100
|
+
else {
|
|
22101
|
+
item.checked = shouldBeChecked;
|
|
22102
|
+
}
|
|
22057
22103
|
}
|
|
22058
22104
|
console.info('[syncChildComponents] itemValue:', itemValue, 'item.checked(after):', item.checked);
|
|
22059
22105
|
});
|
|
@@ -26872,171 +26918,171 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
26872
26918
|
case 'nv-accordion':
|
|
26873
26919
|
return Promise.resolve().then(function () { return require(
|
|
26874
26920
|
/* webpackMode: "lazy" */
|
|
26875
|
-
'./nv-accordion.entry-
|
|
26921
|
+
'./nv-accordion.entry-DCspxUr-.js'); }).then(processMod, consoleError);
|
|
26876
26922
|
case 'nv-alert':
|
|
26877
26923
|
return Promise.resolve().then(function () { return require(
|
|
26878
26924
|
/* webpackMode: "lazy" */
|
|
26879
|
-
'./nv-alert.entry-
|
|
26925
|
+
'./nv-alert.entry-4ATJ67O4.js'); }).then(processMod, consoleError);
|
|
26880
26926
|
case 'nv-avatar':
|
|
26881
26927
|
return Promise.resolve().then(function () { return require(
|
|
26882
26928
|
/* webpackMode: "lazy" */
|
|
26883
|
-
'./nv-avatar.entry-
|
|
26929
|
+
'./nv-avatar.entry-DOI0QFTW.js'); }).then(processMod, consoleError);
|
|
26884
26930
|
case 'nv-breadcrumb':
|
|
26885
26931
|
return Promise.resolve().then(function () { return require(
|
|
26886
26932
|
/* webpackMode: "lazy" */
|
|
26887
|
-
'./nv-breadcrumb.entry-
|
|
26933
|
+
'./nv-breadcrumb.entry-C6TteX7v.js'); }).then(processMod, consoleError);
|
|
26888
26934
|
case 'nv-breadcrumbs':
|
|
26889
26935
|
return Promise.resolve().then(function () { return require(
|
|
26890
26936
|
/* webpackMode: "lazy" */
|
|
26891
|
-
'./nv-breadcrumbs.entry-
|
|
26937
|
+
'./nv-breadcrumbs.entry-CpYRzd4I.js'); }).then(processMod, consoleError);
|
|
26892
26938
|
case 'nv-buttongroup':
|
|
26893
26939
|
return Promise.resolve().then(function () { return require(
|
|
26894
26940
|
/* webpackMode: "lazy" */
|
|
26895
|
-
'./nv-buttongroup.entry-
|
|
26941
|
+
'./nv-buttongroup.entry-BDdi1Z66.js'); }).then(processMod, consoleError);
|
|
26896
26942
|
case 'nv-col':
|
|
26897
26943
|
return Promise.resolve().then(function () { return require(
|
|
26898
26944
|
/* webpackMode: "lazy" */
|
|
26899
|
-
'./nv-col.entry-
|
|
26945
|
+
'./nv-col.entry-WTuI3NnF.js'); }).then(processMod, consoleError);
|
|
26900
26946
|
case 'nv-datagrid':
|
|
26901
26947
|
return Promise.resolve().then(function () { return require(
|
|
26902
26948
|
/* webpackMode: "lazy" */
|
|
26903
|
-
'./nv-datagrid.entry-
|
|
26949
|
+
'./nv-datagrid.entry-BXqZFjrC.js'); }).then(processMod, consoleError);
|
|
26904
26950
|
case 'nv-datagridcolumn':
|
|
26905
26951
|
return Promise.resolve().then(function () { return require(
|
|
26906
26952
|
/* webpackMode: "lazy" */
|
|
26907
|
-
'./nv-datagridcolumn.entry-
|
|
26953
|
+
'./nv-datagridcolumn.entry-B-M6q2Tk.js'); }).then(processMod, consoleError);
|
|
26908
26954
|
case 'nv-dialog':
|
|
26909
26955
|
return Promise.resolve().then(function () { return require(
|
|
26910
26956
|
/* webpackMode: "lazy" */
|
|
26911
|
-
'./nv-dialog.entry-
|
|
26957
|
+
'./nv-dialog.entry-DEM7iOao.js'); }).then(processMod, consoleError);
|
|
26912
26958
|
case 'nv-fielddate':
|
|
26913
26959
|
return Promise.resolve().then(function () { return require(
|
|
26914
26960
|
/* webpackMode: "lazy" */
|
|
26915
|
-
'./nv-fielddate.entry-
|
|
26961
|
+
'./nv-fielddate.entry-5lSIc9Ek.js'); }).then(processMod, consoleError);
|
|
26916
26962
|
case 'nv-fielddaterange':
|
|
26917
26963
|
return Promise.resolve().then(function () { return require(
|
|
26918
26964
|
/* webpackMode: "lazy" */
|
|
26919
|
-
'./nv-fielddaterange.entry-
|
|
26965
|
+
'./nv-fielddaterange.entry-CuhBqqML.js'); }).then(processMod, consoleError);
|
|
26920
26966
|
case 'nv-fielddropdown':
|
|
26921
26967
|
return Promise.resolve().then(function () { return require(
|
|
26922
26968
|
/* webpackMode: "lazy" */
|
|
26923
|
-
'./nv-fielddropdown.entry-
|
|
26969
|
+
'./nv-fielddropdown.entry-BFFr0ATC.js'); }).then(processMod, consoleError);
|
|
26924
26970
|
case 'nv-fieldmultiselect':
|
|
26925
26971
|
return Promise.resolve().then(function () { return require(
|
|
26926
26972
|
/* webpackMode: "lazy" */
|
|
26927
|
-
'./nv-fieldmultiselect.entry-
|
|
26973
|
+
'./nv-fieldmultiselect.entry-S7ur1tcN.js'); }).then(processMod, consoleError);
|
|
26928
26974
|
case 'nv-fieldpassword':
|
|
26929
26975
|
return Promise.resolve().then(function () { return require(
|
|
26930
26976
|
/* webpackMode: "lazy" */
|
|
26931
|
-
'./nv-fieldpassword.entry-
|
|
26977
|
+
'./nv-fieldpassword.entry-B5WsGvF8.js'); }).then(processMod, consoleError);
|
|
26932
26978
|
case 'nv-fieldradio':
|
|
26933
26979
|
return Promise.resolve().then(function () { return require(
|
|
26934
26980
|
/* webpackMode: "lazy" */
|
|
26935
|
-
'./nv-fieldradio.entry-
|
|
26981
|
+
'./nv-fieldradio.entry-BhojWkU4.js'); }).then(processMod, consoleError);
|
|
26936
26982
|
case 'nv-fieldselect':
|
|
26937
26983
|
return Promise.resolve().then(function () { return require(
|
|
26938
26984
|
/* webpackMode: "lazy" */
|
|
26939
|
-
'./nv-fieldselect.entry-
|
|
26985
|
+
'./nv-fieldselect.entry-CCM3U7mj.js'); }).then(processMod, consoleError);
|
|
26940
26986
|
case 'nv-fieldslider':
|
|
26941
26987
|
return Promise.resolve().then(function () { return require(
|
|
26942
26988
|
/* webpackMode: "lazy" */
|
|
26943
|
-
'./nv-fieldslider.entry-
|
|
26989
|
+
'./nv-fieldslider.entry-XQRuw_C-.js'); }).then(processMod, consoleError);
|
|
26944
26990
|
case 'nv-fieldtextarea':
|
|
26945
26991
|
return Promise.resolve().then(function () { return require(
|
|
26946
26992
|
/* webpackMode: "lazy" */
|
|
26947
|
-
'./nv-fieldtextarea.entry-
|
|
26993
|
+
'./nv-fieldtextarea.entry-BF4luAgA.js'); }).then(processMod, consoleError);
|
|
26948
26994
|
case 'nv-fieldtime':
|
|
26949
26995
|
return Promise.resolve().then(function () { return require(
|
|
26950
26996
|
/* webpackMode: "lazy" */
|
|
26951
|
-
'./nv-fieldtime.entry-
|
|
26997
|
+
'./nv-fieldtime.entry-DyP6QWzm.js'); }).then(processMod, consoleError);
|
|
26952
26998
|
case 'nv-row':
|
|
26953
26999
|
return Promise.resolve().then(function () { return require(
|
|
26954
27000
|
/* webpackMode: "lazy" */
|
|
26955
|
-
'./nv-row.entry-
|
|
27001
|
+
'./nv-row.entry-Ds7BSvjO.js'); }).then(processMod, consoleError);
|
|
26956
27002
|
case 'nv-stack':
|
|
26957
27003
|
return Promise.resolve().then(function () { return require(
|
|
26958
27004
|
/* webpackMode: "lazy" */
|
|
26959
|
-
'./nv-stack.entry-
|
|
27005
|
+
'./nv-stack.entry-vlegAAKj.js'); }).then(processMod, consoleError);
|
|
26960
27006
|
case 'nv-table':
|
|
26961
27007
|
return Promise.resolve().then(function () { return require(
|
|
26962
27008
|
/* webpackMode: "lazy" */
|
|
26963
|
-
'./nv-table.entry-
|
|
27009
|
+
'./nv-table.entry-CiZvYc93.js'); }).then(processMod, consoleError);
|
|
26964
27010
|
case 'nv-tablecolumn':
|
|
26965
27011
|
return Promise.resolve().then(function () { return require(
|
|
26966
27012
|
/* webpackMode: "lazy" */
|
|
26967
|
-
'./nv-tablecolumn.entry-
|
|
27013
|
+
'./nv-tablecolumn.entry-ChUzCWVu.js'); }).then(processMod, consoleError);
|
|
26968
27014
|
case 'nv-toggle':
|
|
26969
27015
|
return Promise.resolve().then(function () { return require(
|
|
26970
27016
|
/* webpackMode: "lazy" */
|
|
26971
|
-
'./nv-toggle.entry-
|
|
27017
|
+
'./nv-toggle.entry-CLY7TxJv.js'); }).then(processMod, consoleError);
|
|
26972
27018
|
case 'nv-togglebutton':
|
|
26973
27019
|
return Promise.resolve().then(function () { return require(
|
|
26974
27020
|
/* webpackMode: "lazy" */
|
|
26975
|
-
'./nv-togglebutton.entry-
|
|
27021
|
+
'./nv-togglebutton.entry-C6dUap1P.js'); }).then(processMod, consoleError);
|
|
26976
27022
|
case 'nv-togglebuttongroup':
|
|
26977
27023
|
return Promise.resolve().then(function () { return require(
|
|
26978
27024
|
/* webpackMode: "lazy" */
|
|
26979
|
-
'./nv-togglebuttongroup.entry-
|
|
27025
|
+
'./nv-togglebuttongroup.entry-JZNZk6j2.js'); }).then(processMod, consoleError);
|
|
26980
27026
|
case 'nv-accordion-item':
|
|
26981
27027
|
return Promise.resolve().then(function () { return require(
|
|
26982
27028
|
/* webpackMode: "lazy" */
|
|
26983
|
-
'./nv-accordion-item.entry-
|
|
27029
|
+
'./nv-accordion-item.entry-77CmzSqs.js'); }).then(processMod, consoleError);
|
|
26984
27030
|
case 'nv-badge_2':
|
|
26985
27031
|
return Promise.resolve().then(function () { return require(
|
|
26986
27032
|
/* webpackMode: "lazy" */
|
|
26987
|
-
'./nv-badge_2.entry-
|
|
27033
|
+
'./nv-badge_2.entry-h081ah26.js'); }).then(processMod, consoleError);
|
|
26988
27034
|
case 'nv-dialogfooter_2':
|
|
26989
27035
|
return Promise.resolve().then(function () { return require(
|
|
26990
27036
|
/* webpackMode: "lazy" */
|
|
26991
|
-
'./nv-dialogfooter_2.entry-
|
|
27037
|
+
'./nv-dialogfooter_2.entry-B09v2yKV.js'); }).then(processMod, consoleError);
|
|
26992
27038
|
case 'nv-fielddropdownitem':
|
|
26993
27039
|
return Promise.resolve().then(function () { return require(
|
|
26994
27040
|
/* webpackMode: "lazy" */
|
|
26995
|
-
'./nv-fielddropdownitem.entry-
|
|
27041
|
+
'./nv-fielddropdownitem.entry-BugR9GTU.js'); }).then(processMod, consoleError);
|
|
26996
27042
|
case 'nv-fieldnumber':
|
|
26997
27043
|
return Promise.resolve().then(function () { return require(
|
|
26998
27044
|
/* webpackMode: "lazy" */
|
|
26999
|
-
'./nv-fieldnumber.entry-
|
|
27045
|
+
'./nv-fieldnumber.entry-BMpv7Xab.js'); }).then(processMod, consoleError);
|
|
27000
27046
|
case 'nv-fieldtext':
|
|
27001
27047
|
return Promise.resolve().then(function () { return require(
|
|
27002
27048
|
/* webpackMode: "lazy" */
|
|
27003
|
-
'./nv-fieldtext.entry-
|
|
27049
|
+
'./nv-fieldtext.entry-DtgMcL9y.js'); }).then(processMod, consoleError);
|
|
27004
27050
|
case 'nv-menu':
|
|
27005
27051
|
return Promise.resolve().then(function () { return require(
|
|
27006
27052
|
/* webpackMode: "lazy" */
|
|
27007
|
-
'./nv-menu.entry-
|
|
27053
|
+
'./nv-menu.entry-Dj2paHp_.js'); }).then(processMod, consoleError);
|
|
27008
27054
|
case 'nv-menuitem':
|
|
27009
27055
|
return Promise.resolve().then(function () { return require(
|
|
27010
27056
|
/* webpackMode: "lazy" */
|
|
27011
|
-
'./nv-menuitem.entry-
|
|
27057
|
+
'./nv-menuitem.entry-DbV-21bC.js'); }).then(processMod, consoleError);
|
|
27012
27058
|
case 'nv-tooltip':
|
|
27013
27059
|
return Promise.resolve().then(function () { return require(
|
|
27014
27060
|
/* webpackMode: "lazy" */
|
|
27015
|
-
'./nv-tooltip.entry-
|
|
27061
|
+
'./nv-tooltip.entry-BhwdNKUk.js'); }).then(processMod, consoleError);
|
|
27016
27062
|
case 'nv-button':
|
|
27017
27063
|
return Promise.resolve().then(function () { return require(
|
|
27018
27064
|
/* webpackMode: "lazy" */
|
|
27019
|
-
'./nv-button.entry-
|
|
27065
|
+
'./nv-button.entry-DUU-LHJM.js'); }).then(processMod, consoleError);
|
|
27020
27066
|
case 'nv-calendar':
|
|
27021
27067
|
return Promise.resolve().then(function () { return require(
|
|
27022
27068
|
/* webpackMode: "lazy" */
|
|
27023
|
-
'./nv-calendar.entry-
|
|
27069
|
+
'./nv-calendar.entry-DMpLDXJG.js'); }).then(processMod, consoleError);
|
|
27024
27070
|
case 'nv-fieldcheckbox':
|
|
27025
27071
|
return Promise.resolve().then(function () { return require(
|
|
27026
27072
|
/* webpackMode: "lazy" */
|
|
27027
|
-
'./nv-fieldcheckbox.entry-
|
|
27073
|
+
'./nv-fieldcheckbox.entry-Z5tjeUuU.js'); }).then(processMod, consoleError);
|
|
27028
27074
|
case 'nv-popover':
|
|
27029
27075
|
return Promise.resolve().then(function () { return require(
|
|
27030
27076
|
/* webpackMode: "lazy" */
|
|
27031
|
-
'./nv-popover.entry-
|
|
27077
|
+
'./nv-popover.entry-mefWRuFR.js'); }).then(processMod, consoleError);
|
|
27032
27078
|
case 'nv-iconbutton_2':
|
|
27033
27079
|
return Promise.resolve().then(function () { return require(
|
|
27034
27080
|
/* webpackMode: "lazy" */
|
|
27035
|
-
'./nv-iconbutton_2.entry-
|
|
27081
|
+
'./nv-iconbutton_2.entry-DlLquYC0.js'); }).then(processMod, consoleError);
|
|
27036
27082
|
case 'nv-icon':
|
|
27037
27083
|
return Promise.resolve().then(function () { return require(
|
|
27038
27084
|
/* webpackMode: "lazy" */
|
|
27039
|
-
'./nv-icon.entry-
|
|
27085
|
+
'./nv-icon.entry-DlnsNiSG.js'); }).then(processMod, consoleError);
|
|
27040
27086
|
}
|
|
27041
27087
|
}
|
|
27042
27088
|
return import(
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-9kW3hkgy.js');
|
|
4
4
|
require('react');
|
|
5
5
|
|
|
6
6
|
const nvAccordionCss = "nv-accordion{display:block;border:var(--spacing-px) solid var(--color-content-low-border);border-radius:var(--radius-rounded-lg)}nv-accordion .nv-accordion__footer{padding:var(--spacing-3);background:var(--color-level-05-background);border-radius:0 0 var(--radius-rounded-lg) var(--radius-rounded-lg);margin-top:calc(var(--spacing-px) * -1);border-top:var(--spacing-px) solid var(--color-content-low-border)}nv-accordion .nv-accordion__footer:empty{display:none}";
|