@nova-design-system/nova-angular-19 3.22.0 → 3.24.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/nova-components/fesm2022/nova-components.mjs +759 -180
- package/dist/nova-components/fesm2022/nova-components.mjs.map +1 -1
- package/dist/nova-components/lib/components/nv-datatable.component.d.ts +15 -7
- package/dist/nova-components/lib/nova-components.module.d.ts +2 -2
- package/dist/nova-components/lib/stencil-generated/component-value-accessors.d.ts +14 -0
- package/dist/nova-components/lib/stencil-generated/components.d.ts +264 -36
- package/dist/nova-components/lib/stencil-generated/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,12 @@ export declare class NvDatatable<T> implements AfterViewInit, OnDestroy {
|
|
|
11
11
|
columns: import("@angular/core").InputSignal<NvDatatableColumn<T, keyof T, T[keyof T]>[]>;
|
|
12
12
|
/** Row data */
|
|
13
13
|
rows: import("@angular/core").InputSignal<T[]>;
|
|
14
|
+
/**
|
|
15
|
+
* Data handling mode for sorting and filtering operations.
|
|
16
|
+
* - 'client': All operations handled in browser (default)
|
|
17
|
+
* - 'server': Operations trigger callbacks for server-side handling
|
|
18
|
+
*/
|
|
19
|
+
mode: import("@angular/core").InputSignal<"client" | "server">;
|
|
14
20
|
/** Optional pagination configuration */
|
|
15
21
|
pagination: import("@angular/core").InputSignal<NvDatatablePaginationConfig | undefined>;
|
|
16
22
|
/** Optional sorting configuration */
|
|
@@ -60,7 +66,7 @@ export declare class NvDatatable<T> implements AfterViewInit, OnDestroy {
|
|
|
60
66
|
ngAfterViewInit(): void;
|
|
61
67
|
ngOnDestroy(): void;
|
|
62
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<NvDatatable<any>, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NvDatatable<any>, "nv-datatable", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "sorting": { "alias": "sorting"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; }, {}, ["paginationTemplate", "cellTemplates"], never, true, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NvDatatable<any>, "nv-datatable", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "sorting": { "alias": "sorting"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; }, {}, ["paginationTemplate", "cellTemplates"], never, true, never>;
|
|
64
70
|
}
|
|
65
71
|
/********************************* UTILS **************************************/
|
|
66
72
|
/**
|
|
@@ -147,11 +153,15 @@ export interface NvTableValueFormatterParams<Row, Value, Field> {
|
|
|
147
153
|
}
|
|
148
154
|
/**
|
|
149
155
|
* Pagination configuration for NvDatatable.
|
|
150
|
-
*
|
|
156
|
+
* The pagination behavior (client vs server) is derived from the top-level `mode` prop.
|
|
151
157
|
*/
|
|
152
158
|
export interface NvDatatablePaginationConfig {
|
|
153
|
-
/**
|
|
154
|
-
|
|
159
|
+
/**
|
|
160
|
+
* Enable infinite scroll mode.
|
|
161
|
+
* When true, requires the component's top-level `mode` to be set to 'server'.
|
|
162
|
+
* Data is loaded incrementally as the user scrolls.
|
|
163
|
+
*/
|
|
164
|
+
infinite?: boolean;
|
|
155
165
|
/** Initial page size (default: 10) */
|
|
156
166
|
initialPageSize?: number;
|
|
157
167
|
/** Available page size options (default: [10, 20, 50, 100]) */
|
|
@@ -211,11 +221,9 @@ export interface NvDatatableRenderPaginationAPI {
|
|
|
211
221
|
}
|
|
212
222
|
/**
|
|
213
223
|
* Sorting configuration for NvDatatable.
|
|
214
|
-
*
|
|
224
|
+
* The sorting mode (client vs server) is derived from the component's top-level `mode` prop.
|
|
215
225
|
*/
|
|
216
226
|
export interface NvDatatableSortingConfig {
|
|
217
|
-
/** Sorting mode */
|
|
218
|
-
mode: 'client' | 'server';
|
|
219
227
|
/** Enable multi-column sorting with Shift+Click */
|
|
220
228
|
enableMultiSort?: boolean;
|
|
221
229
|
/** Allow cycling through to "no sort" state */
|
|
@@ -4,11 +4,11 @@ import * as i2 from "./components/nv-datatable.component";
|
|
|
4
4
|
import * as i3 from "./stencil-generated/component-value-accessors";
|
|
5
5
|
export declare class NovaComponentsModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NovaComponentsModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NovaComponentsModule, [typeof i1.NvAccordion, typeof i1.NvAccordionItem, typeof i1.NvAlert, typeof i1.NvAvatar, typeof i1.NvBadge, typeof i1.NvBreadcrumb, typeof i1.NvBreadcrumbs, typeof i1.NvButton, typeof i1.NvButtongroup, typeof i1.NvCalendar, typeof i1.NvCol, typeof i1.NvDatagrid, typeof i1.NvDatagridcolumn, typeof i1.NvDialog, typeof i1.NvDialogfooter, typeof i1.NvDialogheader, typeof i1.NvFieldcheckbox, typeof i1.NvFielddate, typeof i1.NvFielddaterange, typeof i1.NvFielddropdown, typeof i1.NvFielddropdownitem, typeof i1.NvFielddropdownitemcheck, typeof i1.NvFieldmultiselect, typeof i1.NvFieldnumber, typeof i1.NvFieldpassword, typeof i1.NvFieldradio, typeof i1.NvFieldselect, typeof i1.NvFieldslider, typeof i1.NvFieldtext, typeof i1.NvFieldtextarea, typeof i1.NvFieldtime, typeof i1.NvIcon, typeof i1.NvIconbutton, typeof i1.NvLoader, typeof i1.NvMenu, typeof i1.NvMenuitem, typeof i1.NvNotification, typeof i1.NvNotificationcontainer, typeof i1.NvPopover, typeof i1.NvRow, typeof i1.NvSplit, typeof i1.NvStack, typeof i1.NvTable, typeof i1.NvTableheader, typeof i1.NvToggle, typeof i1.NvTogglebutton, typeof i1.NvTogglebuttongroup, typeof i1.NvTooltip], [typeof i2.NvDatatable], [typeof i1.NvAccordion, typeof i1.NvAccordionItem, typeof i1.NvAlert, typeof i1.NvAvatar, typeof i1.NvBadge, typeof i1.NvBreadcrumb, typeof i1.NvBreadcrumbs, typeof i1.NvButton, typeof i1.NvButtongroup, typeof i1.NvCalendar, typeof i1.NvCol, typeof i1.NvDatagrid, typeof i1.NvDatagridcolumn, typeof i1.NvDialog, typeof i1.NvDialogfooter, typeof i1.NvDialogheader, typeof i1.NvFieldcheckbox, typeof i1.NvFielddate, typeof i1.NvFielddaterange, typeof i1.NvFielddropdown, typeof i1.NvFielddropdownitem, typeof i1.NvFielddropdownitemcheck, typeof i1.NvFieldmultiselect, typeof i1.NvFieldnumber, typeof i1.NvFieldpassword, typeof i1.NvFieldradio, typeof i1.NvFieldselect, typeof i1.NvFieldslider, typeof i1.NvFieldtext, typeof i1.NvFieldtextarea, typeof i1.NvFieldtime, typeof i1.NvIcon, typeof i1.NvIconbutton, typeof i1.NvLoader, typeof i1.NvMenu, typeof i1.NvMenuitem, typeof i1.NvNotification, typeof i1.NvNotificationcontainer, typeof i1.NvPopover, typeof i1.NvRow, typeof i1.NvSplit, typeof i1.NvStack, typeof i1.NvTable, typeof i1.NvTableheader, typeof i1.NvToggle, typeof i1.NvTogglebutton, typeof i1.NvTogglebuttongroup, typeof i1.NvTooltip, typeof i2.NvDatatable]>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NovaComponentsModule, [typeof i1.NvAccordion, typeof i1.NvAccordionItem, typeof i1.NvAlert, typeof i1.NvAvatar, typeof i1.NvBadge, typeof i1.NvBreadcrumb, typeof i1.NvBreadcrumbs, typeof i1.NvButton, typeof i1.NvButtongroup, typeof i1.NvCalendar, typeof i1.NvCol, typeof i1.NvDatagrid, typeof i1.NvDatagridcolumn, typeof i1.NvDialog, typeof i1.NvDialogfooter, typeof i1.NvDialogheader, typeof i1.NvDrawer, typeof i1.NvDrawerfooter, typeof i1.NvDrawerheader, typeof i1.NvFieldcheckbox, typeof i1.NvFielddate, typeof i1.NvFielddaterange, typeof i1.NvFielddropdown, typeof i1.NvFielddropdownitem, typeof i1.NvFielddropdownitemcheck, typeof i1.NvFieldmultiselect, typeof i1.NvFieldnumber, typeof i1.NvFieldpassword, typeof i1.NvFieldradio, typeof i1.NvFieldselect, typeof i1.NvFieldslider, typeof i1.NvFieldtext, typeof i1.NvFieldtextarea, typeof i1.NvFieldtime, typeof i1.NvIcon, typeof i1.NvIconbutton, typeof i1.NvLoader, typeof i1.NvMenu, typeof i1.NvMenuitem, typeof i1.NvNotification, typeof i1.NvNotificationBullet, typeof i1.NvNotificationcontainer, typeof i1.NvPopover, typeof i1.NvRow, typeof i1.NvSidebar, typeof i1.NvSidebarcontent, typeof i1.NvSidebardivider, typeof i1.NvSidebarfooter, typeof i1.NvSidebargroup, typeof i1.NvSidebarheader, typeof i1.NvSidebarlogo, typeof i1.NvSidebarnavitem, typeof i1.NvSidebarnavsubitem, typeof i1.NvSplit, typeof i1.NvStack, typeof i1.NvTable, typeof i1.NvTableheader, typeof i1.NvToggle, typeof i1.NvTogglebutton, typeof i1.NvTogglebuttongroup, typeof i1.NvTooltip], [typeof i2.NvDatatable], [typeof i1.NvAccordion, typeof i1.NvAccordionItem, typeof i1.NvAlert, typeof i1.NvAvatar, typeof i1.NvBadge, typeof i1.NvBreadcrumb, typeof i1.NvBreadcrumbs, typeof i1.NvButton, typeof i1.NvButtongroup, typeof i1.NvCalendar, typeof i1.NvCol, typeof i1.NvDatagrid, typeof i1.NvDatagridcolumn, typeof i1.NvDialog, typeof i1.NvDialogfooter, typeof i1.NvDialogheader, typeof i1.NvDrawer, typeof i1.NvDrawerfooter, typeof i1.NvDrawerheader, typeof i1.NvFieldcheckbox, typeof i1.NvFielddate, typeof i1.NvFielddaterange, typeof i1.NvFielddropdown, typeof i1.NvFielddropdownitem, typeof i1.NvFielddropdownitemcheck, typeof i1.NvFieldmultiselect, typeof i1.NvFieldnumber, typeof i1.NvFieldpassword, typeof i1.NvFieldradio, typeof i1.NvFieldselect, typeof i1.NvFieldslider, typeof i1.NvFieldtext, typeof i1.NvFieldtextarea, typeof i1.NvFieldtime, typeof i1.NvIcon, typeof i1.NvIconbutton, typeof i1.NvLoader, typeof i1.NvMenu, typeof i1.NvMenuitem, typeof i1.NvNotification, typeof i1.NvNotificationBullet, typeof i1.NvNotificationcontainer, typeof i1.NvPopover, typeof i1.NvRow, typeof i1.NvSidebar, typeof i1.NvSidebarcontent, typeof i1.NvSidebardivider, typeof i1.NvSidebarfooter, typeof i1.NvSidebargroup, typeof i1.NvSidebarheader, typeof i1.NvSidebarlogo, typeof i1.NvSidebarnavitem, typeof i1.NvSidebarnavsubitem, typeof i1.NvSplit, typeof i1.NvStack, typeof i1.NvTable, typeof i1.NvTableheader, typeof i1.NvToggle, typeof i1.NvTogglebutton, typeof i1.NvTogglebuttongroup, typeof i1.NvTooltip, typeof i2.NvDatatable]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<NovaComponentsModule>;
|
|
9
9
|
}
|
|
10
10
|
export declare class NovaComponentsValueAccessorModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NovaComponentsValueAccessorModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NovaComponentsValueAccessorModule, never, [typeof i3.NvAccordionValueAccessor, typeof i3.NvAlertValueAccessor, typeof i3.NvCalendarValueAccessor, typeof i3.NvDatagridValueAccessor, typeof i3.NvDialogValueAccessor, typeof i3.NvFieldcheckboxValueAccessor, typeof i3.NvFielddateValueAccessor, typeof i3.NvFielddaterangeValueAccessor, typeof i3.NvFielddropdownValueAccessor, typeof i3.NvFieldmultiselectValueAccessor, typeof i3.NvFieldnumberValueAccessor, typeof i3.NvFieldpasswordValueAccessor, typeof i3.NvFieldradioValueAccessor, typeof i3.NvFieldselectValueAccessor, typeof i3.NvFieldsliderValueAccessor, typeof i3.NvFieldtextValueAccessor, typeof i3.NvFieldtextareaValueAccessor, typeof i3.NvFieldtimeValueAccessor, typeof i3.NvNotificationValueAccessor, typeof i3.NvPopoverValueAccessor, typeof i3.NvSplitValueAccessor, typeof i3.NvToggleValueAccessor, typeof i3.NvTogglebuttongroupValueAccessor], [typeof i3.NvAccordionValueAccessor, typeof i3.NvAlertValueAccessor, typeof i3.NvCalendarValueAccessor, typeof i3.NvDatagridValueAccessor, typeof i3.NvDialogValueAccessor, typeof i3.NvFieldcheckboxValueAccessor, typeof i3.NvFielddateValueAccessor, typeof i3.NvFielddaterangeValueAccessor, typeof i3.NvFielddropdownValueAccessor, typeof i3.NvFieldmultiselectValueAccessor, typeof i3.NvFieldnumberValueAccessor, typeof i3.NvFieldpasswordValueAccessor, typeof i3.NvFieldradioValueAccessor, typeof i3.NvFieldselectValueAccessor, typeof i3.NvFieldsliderValueAccessor, typeof i3.NvFieldtextValueAccessor, typeof i3.NvFieldtextareaValueAccessor, typeof i3.NvFieldtimeValueAccessor, typeof i3.NvNotificationValueAccessor, typeof i3.NvPopoverValueAccessor, typeof i3.NvSplitValueAccessor, typeof i3.NvToggleValueAccessor, typeof i3.NvTogglebuttongroupValueAccessor]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NovaComponentsValueAccessorModule, never, [typeof i3.NvAccordionValueAccessor, typeof i3.NvAlertValueAccessor, typeof i3.NvCalendarValueAccessor, typeof i3.NvDatagridValueAccessor, typeof i3.NvDialogValueAccessor, typeof i3.NvDrawerValueAccessor, typeof i3.NvFieldcheckboxValueAccessor, typeof i3.NvFielddateValueAccessor, typeof i3.NvFielddaterangeValueAccessor, typeof i3.NvFielddropdownValueAccessor, typeof i3.NvFieldmultiselectValueAccessor, typeof i3.NvFieldnumberValueAccessor, typeof i3.NvFieldpasswordValueAccessor, typeof i3.NvFieldradioValueAccessor, typeof i3.NvFieldselectValueAccessor, typeof i3.NvFieldsliderValueAccessor, typeof i3.NvFieldtextValueAccessor, typeof i3.NvFieldtextareaValueAccessor, typeof i3.NvFieldtimeValueAccessor, typeof i3.NvNotificationValueAccessor, typeof i3.NvPopoverValueAccessor, typeof i3.NvSidebarValueAccessor, typeof i3.NvSplitValueAccessor, typeof i3.NvToggleValueAccessor, typeof i3.NvTogglebuttongroupValueAccessor], [typeof i3.NvAccordionValueAccessor, typeof i3.NvAlertValueAccessor, typeof i3.NvCalendarValueAccessor, typeof i3.NvDatagridValueAccessor, typeof i3.NvDialogValueAccessor, typeof i3.NvDrawerValueAccessor, typeof i3.NvFieldcheckboxValueAccessor, typeof i3.NvFielddateValueAccessor, typeof i3.NvFielddaterangeValueAccessor, typeof i3.NvFielddropdownValueAccessor, typeof i3.NvFieldmultiselectValueAccessor, typeof i3.NvFieldnumberValueAccessor, typeof i3.NvFieldpasswordValueAccessor, typeof i3.NvFieldradioValueAccessor, typeof i3.NvFieldselectValueAccessor, typeof i3.NvFieldsliderValueAccessor, typeof i3.NvFieldtextValueAccessor, typeof i3.NvFieldtextareaValueAccessor, typeof i3.NvFieldtimeValueAccessor, typeof i3.NvNotificationValueAccessor, typeof i3.NvPopoverValueAccessor, typeof i3.NvSidebarValueAccessor, typeof i3.NvSplitValueAccessor, typeof i3.NvToggleValueAccessor, typeof i3.NvTogglebuttongroupValueAccessor]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<NovaComponentsValueAccessorModule>;
|
|
14
14
|
}
|
|
@@ -36,6 +36,13 @@ export declare class NvDialogValueAccessor extends ValueAccessor {
|
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<NvDialogValueAccessor, never>;
|
|
37
37
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NvDialogValueAccessor, "nv-dialog", never, {}, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
39
|
+
export declare class NvDrawerValueAccessor extends ValueAccessor {
|
|
40
|
+
constructor(el: ElementRef);
|
|
41
|
+
handleOpenChanged(event: any): void;
|
|
42
|
+
writeValue(value: any): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NvDrawerValueAccessor, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NvDrawerValueAccessor, "nv-drawer", never, {}, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
39
46
|
export declare class NvFieldcheckboxValueAccessor extends ValueAccessor {
|
|
40
47
|
constructor(el: ElementRef);
|
|
41
48
|
handleCheckedChanged(event: any): void;
|
|
@@ -141,6 +148,13 @@ export declare class NvPopoverValueAccessor extends ValueAccessor {
|
|
|
141
148
|
static ɵfac: i0.ɵɵFactoryDeclaration<NvPopoverValueAccessor, never>;
|
|
142
149
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NvPopoverValueAccessor, "nv-popover", never, {}, {}, never, never, true, never>;
|
|
143
150
|
}
|
|
151
|
+
export declare class NvSidebarValueAccessor extends ValueAccessor {
|
|
152
|
+
constructor(el: ElementRef);
|
|
153
|
+
handleOpenChanged(event: any): void;
|
|
154
|
+
writeValue(value: any): void;
|
|
155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarValueAccessor, never>;
|
|
156
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NvSidebarValueAccessor, "nv-sidebar", never, {}, {}, never, never, true, never>;
|
|
157
|
+
}
|
|
144
158
|
export declare class NvSplitValueAccessor extends ValueAccessor {
|
|
145
159
|
constructor(el: ElementRef);
|
|
146
160
|
handleSizesChanged(event: any): void;
|