@nova-design-system/nova-angular-19 3.20.0 → 3.21.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { TemplateRef, QueryList, AfterViewInit, OnDestroy } from '@angular/core';
2
2
  import { NvDatatableCellDirective } from './nv-datatable-cell.directive';
3
- import { type FlexRenderComponent, type ColumnDef, type CellContext, type NoInfer } from './datatable.utils';
3
+ import { type FlexRenderComponent, type ColumnDef, type CellContext, type SortingState, type NoInfer } from './datatable.utils';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
6
6
  * A powerful, flexible datatable component built on TanStack Table.
@@ -13,6 +13,8 @@ export declare class NvDatatable<T> implements AfterViewInit, OnDestroy {
13
13
  rows: import("@angular/core").InputSignal<T[]>;
14
14
  /** Optional pagination configuration */
15
15
  pagination: import("@angular/core").InputSignal<NvDatatablePaginationConfig | undefined>;
16
+ /** Optional sorting configuration */
17
+ sorting: import("@angular/core").InputSignal<NvDatatableSortingConfig | undefined>;
16
18
  /** Should the header stick to the top of the table when scrolling? */
17
19
  stickyHeader: import("@angular/core").InputSignal<boolean>;
18
20
  /** Template for custom pagination UI */
@@ -27,6 +29,8 @@ export declare class NvDatatable<T> implements AfterViewInit, OnDestroy {
27
29
  private cellTemplateMap;
28
30
  /** Pagination state for server mode */
29
31
  private paginationState;
32
+ /** Sorting state for controlled sorting (server mode) */
33
+ private sortingState;
30
34
  /** Reference to table rows for infinite scroll observer */
31
35
  private tableRows;
32
36
  /** Intersection observer for infinite scroll */
@@ -39,13 +43,24 @@ export declare class NvDatatable<T> implements AfterViewInit, OnDestroy {
39
43
  private tableInstance;
40
44
  /** Public getter for table instance. */
41
45
  table(): import("@tanstack/table-core").Table<T>;
46
+ /**
47
+ * Handle sort direction change from table header
48
+ * @param {Event} event The sort direction change event or direction string
49
+ * @param {object} header The table header object
50
+ */
51
+ handleSortDirectionChanged(event: Event | CustomEvent<string> | string, header: {
52
+ column: {
53
+ clearSorting: () => void;
54
+ toggleSorting: (desc?: boolean, multi?: boolean) => void;
55
+ };
56
+ }): void;
42
57
  /** Build pagination API for template */
43
58
  paginationAPI: import("@angular/core").Signal<NvDatatableRenderPaginationAPI | null>;
44
59
  constructor();
45
60
  ngAfterViewInit(): void;
46
61
  ngOnDestroy(): void;
47
62
  static ɵfac: i0.ɵɵFactoryDeclaration<NvDatatable<any>, never>;
48
- 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; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; }, {}, ["paginationTemplate", "cellTemplates"], never, true, 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>;
49
64
  }
50
65
  /********************************* UTILS **************************************/
51
66
  /**
@@ -97,6 +112,16 @@ export interface NvDatatableColumn<Row, K extends keyof Row = keyof Row, F = Row
97
112
  renderCell?: (context: CellContext<Row, F>) => string | FlexRenderComponent | TemplateRef<{
98
113
  $implicit: CellContext<Row, F>;
99
114
  }>;
115
+ /** Enable/disable sorting for this column */
116
+ sortable?: boolean;
117
+ /** Custom sorting function or built-in function name */
118
+ sortingFn?: ((rowA: any, rowB: any, columnId: string) => number) | string;
119
+ /** Start with descending sort for this column */
120
+ sortDescFirst?: boolean;
121
+ /** Invert the sort order (useful for rankings) */
122
+ invertSorting?: boolean;
123
+ /** Where to place undefined values in sort */
124
+ sortUndefined?: 'first' | 'last' | false | -1 | 1;
100
125
  }
101
126
  /** Parameters for custom cell rendering function. */
102
127
  export interface NvTableRenderCellParams<Row, Value, Field> {
@@ -184,3 +209,27 @@ export interface NvDatatableRenderPaginationAPI {
184
209
  /** Whether more items are available (only for infinite scroll) */
185
210
  hasMore?: boolean;
186
211
  }
212
+ /**
213
+ * Sorting configuration for NvDatatable.
214
+ * Supports both client-side and server-side sorting.
215
+ */
216
+ export interface NvDatatableSortingConfig {
217
+ /** Sorting mode */
218
+ mode: 'client' | 'server';
219
+ /** Enable multi-column sorting with Shift+Click */
220
+ enableMultiSort?: boolean;
221
+ /** Allow cycling through to "no sort" state */
222
+ enableSortingRemoval?: boolean;
223
+ /** Maximum number of columns for multi-sort */
224
+ maxMultiSortColCount?: number;
225
+ /** Start with descending sort as first toggle state */
226
+ sortDescFirst?: boolean;
227
+ /** Controlled sort state (for server-side sorting) */
228
+ sortState?: SortingState;
229
+ /** Callback when sorting changes (for server-side sorting) */
230
+ onSortingChange?: (sorting: SortingState) => void;
231
+ }
232
+ /**
233
+ * Sorting state type - array of sort descriptors
234
+ */
235
+ export type NvDataTableSortingState = SortingState;
@@ -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.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.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.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.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.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.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
  }
@@ -35,6 +35,8 @@ export interface NotificationOptions {
35
35
  actions?: NotificationAction[];
36
36
  /** Custom components for the notification actions. */
37
37
  actionSlot?: Type<unknown>;
38
+ /** Duration in milliseconds before auto-dismissing. 0 = sticky (no auto-dismiss). Default: 0 */
39
+ duration?: number;
38
40
  }
39
41
  /**
40
42
  * A notification with all required fields populated.
@@ -60,6 +62,7 @@ export interface NotificationServiceConfig {
60
62
  export declare class NotificationService {
61
63
  private readonly _notifications;
62
64
  private readonly _config;
65
+ private readonly timers;
63
66
  /**
64
67
  * Observable stream of active notifications.
65
68
  */
@@ -87,6 +90,10 @@ export declare class NotificationService {
87
90
  registerRef(id: string, el: HTMLNvNotificationElement): void;
88
91
  unregisterRef(id: string): void;
89
92
  clearRefs(): void;
93
+ /**
94
+ * Clean up all timers and references.
95
+ */
96
+ ngOnDestroy(): void;
90
97
  /**
91
98
  * Show a new notification.
92
99
  *
@@ -141,6 +141,13 @@ export declare class NvPopoverValueAccessor extends ValueAccessor {
141
141
  static ɵfac: i0.ɵɵFactoryDeclaration<NvPopoverValueAccessor, never>;
142
142
  static ɵdir: i0.ɵɵDirectiveDeclaration<NvPopoverValueAccessor, "nv-popover", never, {}, {}, never, never, true, never>;
143
143
  }
144
+ export declare class NvSidebarValueAccessor extends ValueAccessor {
145
+ constructor(el: ElementRef);
146
+ handleOpenChanged(event: any): void;
147
+ writeValue(value: any): void;
148
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarValueAccessor, never>;
149
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NvSidebarValueAccessor, "nv-sidebar", never, {}, {}, never, never, true, never>;
150
+ }
144
151
  export declare class NvSplitValueAccessor extends ValueAccessor {
145
152
  constructor(el: ElementRef);
146
153
  handleSizesChanged(event: any): void;
@@ -103,7 +103,7 @@ export declare class NvButton {
103
103
  protected el: HTMLNvButtonElement;
104
104
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
105
105
  static ɵfac: i0.ɵɵFactoryDeclaration<NvButton, never>;
106
- static ɵcmp: i0.ɵɵComponentDeclaration<NvButton, "nv-button", never, { "active": { "alias": "active"; "required": false; }; "danger": { "alias": "danger"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "form": { "alias": "form"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvButton, "nv-button", never, { "active": { "alias": "active"; "required": false; }; "danger": { "alias": "danger"; "required": false; }; "disableTabindex": { "alias": "disableTabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "form": { "alias": "form"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
107
107
  }
108
108
  export declare interface NvButton extends Components.NvButton {
109
109
  }
@@ -468,7 +468,7 @@ export declare class NvIconbutton {
468
468
  protected el: HTMLNvIconbuttonElement;
469
469
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
470
470
  static ɵfac: i0.ɵɵFactoryDeclaration<NvIconbutton, never>;
471
- static ɵcmp: i0.ɵɵComponentDeclaration<NvIconbutton, "nv-iconbutton", never, { "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "name": { "alias": "name"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
471
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvIconbutton, "nv-iconbutton", never, { "active": { "alias": "active"; "required": false; }; "disableTabindex": { "alias": "disableTabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "name": { "alias": "name"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
472
472
  }
473
473
  export declare interface NvIconbutton extends Components.NvIconbutton {
474
474
  }
@@ -528,6 +528,15 @@ export declare interface NvNotification extends Components.NvNotification {
528
528
  */
529
529
  hiddenChanged: EventEmitter<CustomEvent<boolean>>;
530
530
  }
531
+ export declare class NvNotificationBullet {
532
+ protected z: NgZone;
533
+ protected el: HTMLNvNotificationBulletElement;
534
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
535
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvNotificationBullet, never>;
536
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvNotificationBullet, "nv-notification-bullet", never, { "contrastingBorder": { "alias": "contrastingBorder"; "required": false; }; "count": { "alias": "count"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "intention": { "alias": "intention"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
537
+ }
538
+ export declare interface NvNotificationBullet extends Components.NvNotificationBullet {
539
+ }
531
540
  export declare class NvNotificationcontainer {
532
541
  protected z: NgZone;
533
542
  protected el: HTMLNvNotificationcontainerElement;
@@ -559,6 +568,91 @@ export declare class NvRow {
559
568
  }
560
569
  export declare interface NvRow extends Components.NvRow {
561
570
  }
571
+ export declare class NvSidebar {
572
+ protected z: NgZone;
573
+ protected el: HTMLNvSidebarElement;
574
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
575
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebar, never>;
576
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebar, "nv-sidebar", never, { "activePath": { "alias": "activePath"; "required": false; }; "notificationEmphasis": { "alias": "notificationEmphasis"; "required": false; }; "notificationIntention": { "alias": "notificationIntention"; "required": false; }; "open": { "alias": "open"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
577
+ }
578
+ export declare interface NvSidebar extends Components.NvSidebar {
579
+ /**
580
+ * Emitted when the open state changes. @bind open
581
+ */
582
+ openChanged: EventEmitter<CustomEvent<boolean>>;
583
+ }
584
+ export declare class NvSidebarcontent {
585
+ protected z: NgZone;
586
+ protected el: HTMLNvSidebarcontentElement;
587
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
588
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarcontent, never>;
589
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebarcontent, "nv-sidebarcontent", never, {}, {}, never, ["*"], false, never>;
590
+ }
591
+ export declare interface NvSidebarcontent extends Components.NvSidebarcontent {
592
+ }
593
+ export declare class NvSidebardivider {
594
+ protected z: NgZone;
595
+ protected el: HTMLNvSidebardividerElement;
596
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
597
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebardivider, never>;
598
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebardivider, "nv-sidebardivider", never, {}, {}, never, ["*"], false, never>;
599
+ }
600
+ export declare interface NvSidebardivider extends Components.NvSidebardivider {
601
+ }
602
+ export declare class NvSidebarfooter {
603
+ protected z: NgZone;
604
+ protected el: HTMLNvSidebarfooterElement;
605
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
606
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarfooter, never>;
607
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebarfooter, "nv-sidebarfooter", never, {}, {}, never, ["*"], false, never>;
608
+ }
609
+ export declare interface NvSidebarfooter extends Components.NvSidebarfooter {
610
+ }
611
+ export declare class NvSidebargroup {
612
+ protected z: NgZone;
613
+ protected el: HTMLNvSidebargroupElement;
614
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
615
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebargroup, never>;
616
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebargroup, "nv-sidebargroup", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], false, never>;
617
+ }
618
+ export declare interface NvSidebargroup extends Components.NvSidebargroup {
619
+ }
620
+ export declare class NvSidebarheader {
621
+ protected z: NgZone;
622
+ protected el: HTMLNvSidebarheaderElement;
623
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
624
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarheader, never>;
625
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebarheader, "nv-sidebarheader", never, {}, {}, never, ["*"], false, never>;
626
+ }
627
+ export declare interface NvSidebarheader extends Components.NvSidebarheader {
628
+ }
629
+ export declare class NvSidebarlogo {
630
+ protected z: NgZone;
631
+ protected el: HTMLNvSidebarlogoElement;
632
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
633
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarlogo, never>;
634
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebarlogo, "nv-sidebarlogo", never, { "collapsedLogo": { "alias": "collapsedLogo"; "required": false; }; "label": { "alias": "label"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; }, {}, never, ["*"], false, never>;
635
+ }
636
+ export declare interface NvSidebarlogo extends Components.NvSidebarlogo {
637
+ }
638
+ export declare class NvSidebarnavitem {
639
+ protected z: NgZone;
640
+ protected el: HTMLNvSidebarnavitemElement;
641
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
642
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarnavitem, never>;
643
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebarnavitem, "nv-sidebarnavitem", never, { "active": { "alias": "active"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "notificationCount": { "alias": "notificationCount"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, {}, never, ["*"], false, never>;
644
+ }
645
+ export declare interface NvSidebarnavitem extends Components.NvSidebarnavitem {
646
+ }
647
+ export declare class NvSidebarnavsubitem {
648
+ protected z: NgZone;
649
+ protected el: HTMLNvSidebarnavsubitemElement;
650
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
651
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebarnavsubitem, never>;
652
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebarnavsubitem, "nv-sidebarnavsubitem", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], false, never>;
653
+ }
654
+ export declare interface NvSidebarnavsubitem extends Components.NvSidebarnavsubitem {
655
+ }
562
656
  export declare class NvSplit {
563
657
  protected z: NgZone;
564
658
  protected el: HTMLNvSplitElement;
@@ -590,6 +684,20 @@ export declare class NvTable {
590
684
  }
591
685
  export declare interface NvTable extends Components.NvTable {
592
686
  }
687
+ export declare class NvTableheader {
688
+ protected z: NgZone;
689
+ protected el: HTMLNvTableheaderElement;
690
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
691
+ static ɵfac: i0.ɵɵFactoryDeclaration<NvTableheader, never>;
692
+ static ɵcmp: i0.ɵɵComponentDeclaration<NvTableheader, "nv-tableheader", never, { "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; }, {}, never, ["*"], false, never>;
693
+ }
694
+ export declare interface NvTableheader extends Components.NvTableheader {
695
+ /**
696
+ * Event emitted when the sort direction changes. Payload is the new sort
697
+ direction.
698
+ */
699
+ sortDirectionChanged: EventEmitter<CustomEvent<string>>;
700
+ }
593
701
  export declare class NvToggle {
594
702
  protected z: NgZone;
595
703
  protected el: HTMLNvToggleElement;
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.NvAccordion | typeof d.NvAccordionItem | typeof d.NvAlert | typeof d.NvAvatar | typeof d.NvBadge | typeof d.NvBreadcrumb | typeof d.NvBreadcrumbs | typeof d.NvButton | typeof d.NvButtongroup | typeof d.NvCalendar | typeof d.NvCol | typeof d.NvDatagrid | typeof d.NvDatagridcolumn | typeof d.NvDialog | typeof d.NvDialogfooter | typeof d.NvDialogheader | typeof d.NvFieldcheckbox | typeof d.NvFielddate | typeof d.NvFielddaterange | typeof d.NvFielddropdown | typeof d.NvFielddropdownitem | typeof d.NvFielddropdownitemcheck | typeof d.NvFieldmultiselect | typeof d.NvFieldnumber | typeof d.NvFieldpassword | typeof d.NvFieldradio | typeof d.NvFieldselect | typeof d.NvFieldslider | typeof d.NvFieldtext | typeof d.NvFieldtextarea | typeof d.NvFieldtime | typeof d.NvIcon | typeof d.NvIconbutton | typeof d.NvLoader | typeof d.NvMenu | typeof d.NvMenuitem | typeof d.NvNotification | typeof d.NvNotificationcontainer | typeof d.NvPopover | typeof d.NvRow | typeof d.NvSplit | typeof d.NvStack | typeof d.NvTable | typeof d.NvToggle | typeof d.NvTogglebutton | typeof d.NvTogglebuttongroup | typeof d.NvTooltip)[];
2
+ export declare const DIRECTIVES: (typeof d.NvAccordion | typeof d.NvAccordionItem | typeof d.NvAlert | typeof d.NvAvatar | typeof d.NvBadge | typeof d.NvBreadcrumb | typeof d.NvBreadcrumbs | typeof d.NvButton | typeof d.NvButtongroup | typeof d.NvCalendar | typeof d.NvCol | typeof d.NvDatagrid | typeof d.NvDatagridcolumn | typeof d.NvDialog | typeof d.NvDialogfooter | typeof d.NvDialogheader | typeof d.NvFieldcheckbox | typeof d.NvFielddate | typeof d.NvFielddaterange | typeof d.NvFielddropdown | typeof d.NvFielddropdownitem | typeof d.NvFielddropdownitemcheck | typeof d.NvFieldmultiselect | typeof d.NvFieldnumber | typeof d.NvFieldpassword | typeof d.NvFieldradio | typeof d.NvFieldselect | typeof d.NvFieldslider | typeof d.NvFieldtext | typeof d.NvFieldtextarea | typeof d.NvFieldtime | typeof d.NvIcon | typeof d.NvIconbutton | typeof d.NvLoader | typeof d.NvMenu | typeof d.NvMenuitem | typeof d.NvNotification | typeof d.NvNotificationBullet | typeof d.NvNotificationcontainer | typeof d.NvPopover | typeof d.NvRow | typeof d.NvSidebar | typeof d.NvSidebarcontent | typeof d.NvSidebardivider | typeof d.NvSidebarfooter | typeof d.NvSidebargroup | typeof d.NvSidebarheader | typeof d.NvSidebarlogo | typeof d.NvSidebarnavitem | typeof d.NvSidebarnavsubitem | typeof d.NvSplit | typeof d.NvStack | typeof d.NvTable | typeof d.NvTableheader | typeof d.NvToggle | typeof d.NvTogglebutton | typeof d.NvTogglebuttongroup | typeof d.NvTooltip)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nova-design-system/nova-angular-19",
3
- "version": "3.20.0",
3
+ "version": "3.21.1-beta.0",
4
4
  "description": "Nova is a design system created by Elia Group to empower creators to efficiently build solutions that people love to use.",
5
5
  "author": "Elia Group",
6
6
  "homepage": "https://nova.eliagroup.io",