@nova-design-system/nova-angular 3.29.0 → 3.30.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/esm2022/lib/components/nv-datatable.component.mjs +23 -3
- package/dist/nova-components/esm2022/lib/nova-components.module.mjs +2 -2
- package/dist/nova-components/esm2022/lib/stencil-generated/components.mjs +64 -5
- package/dist/nova-components/esm2022/lib/stencil-generated/index.mjs +3 -1
- package/dist/nova-components/fesm2022/nova-components.mjs +87 -8
- package/dist/nova-components/fesm2022/nova-components.mjs.map +1 -1
- package/dist/nova-components/lib/components/nv-datatable.component.d.ts +10 -1
- package/dist/nova-components/lib/nova-components.module.d.ts +1 -1
- package/dist/nova-components/lib/stencil-generated/components.d.ts +34 -1
- package/dist/nova-components/lib/stencil-generated/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,11 @@ export declare class NvDatatable<T> implements AfterViewInit, OnDestroy {
|
|
|
35
35
|
private cellTemplateMap;
|
|
36
36
|
/** Pagination state for server mode */
|
|
37
37
|
private paginationState;
|
|
38
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Sorting state. When sorting.sortState is provided the component is controlled;
|
|
40
|
+
* initialSortState only seeds the uncontrolled state (seeded from the constructor
|
|
41
|
+
* effect below — field initializers run before inputs are bound).
|
|
42
|
+
*/
|
|
39
43
|
private sortingState;
|
|
40
44
|
/** Reference to table rows for infinite scroll observer */
|
|
41
45
|
private tableRows;
|
|
@@ -241,6 +245,11 @@ export interface NvDatatableSortingConfig {
|
|
|
241
245
|
maxMultiSortColCount?: number;
|
|
242
246
|
/** Start with descending sort as first toggle state */
|
|
243
247
|
sortDescFirst?: boolean;
|
|
248
|
+
/**
|
|
249
|
+
* Initial sort state (uncontrolled). Applied on first render only; the user can then
|
|
250
|
+
* freely change sorting via header clicks. Ignored when `sortState` is also provided.
|
|
251
|
+
*/
|
|
252
|
+
initialSortState?: SortingState;
|
|
244
253
|
/** Controlled sort state (for server-side sorting) */
|
|
245
254
|
sortState?: SortingState;
|
|
246
255
|
/** Callback when sorting changes (for server-side sorting) */
|
|
@@ -12,7 +12,7 @@ import * as i4 from "./providers/notification-service.component";
|
|
|
12
12
|
export declare function provideNovaComponents(): Provider;
|
|
13
13
|
export declare class NovaComponentsModule {
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NovaComponentsModule, never>;
|
|
15
|
-
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.NvDatetest, typeof i1.NvDatetimetest, 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.NvPaginationNav, typeof i1.NvPaginationtable, 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.NvTimetest, 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.NvDatetest, typeof i1.NvDatetimetest, 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.NvPaginationNav, typeof i1.NvPaginationtable, 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.NvTimetest, typeof i1.NvToggle, typeof i1.NvTogglebutton, typeof i1.NvTogglebuttongroup, typeof i1.NvTooltip, typeof i2.NvDatatable]>;
|
|
15
|
+
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.NvDatetest, typeof i1.NvDatetimetest, 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.NvPaginationNav, typeof i1.NvPaginationtable, 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.NvStatusindicator, typeof i1.NvTable, typeof i1.NvTableheader, typeof i1.NvTag, typeof i1.NvTimetest, 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.NvDatetest, typeof i1.NvDatetimetest, 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.NvPaginationNav, typeof i1.NvPaginationtable, 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.NvStatusindicator, typeof i1.NvTable, typeof i1.NvTableheader, typeof i1.NvTag, typeof i1.NvTimetest, typeof i1.NvToggle, typeof i1.NvTogglebutton, typeof i1.NvTogglebuttongroup, typeof i1.NvTooltip, typeof i2.NvDatatable]>;
|
|
16
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<NovaComponentsModule>;
|
|
17
17
|
}
|
|
18
18
|
export declare class NovaComponentsValueAccessorModule {
|
|
@@ -817,15 +817,21 @@ export declare class NvSidebar {
|
|
|
817
817
|
protected z: NgZone;
|
|
818
818
|
protected el: HTMLNvSidebarElement;
|
|
819
819
|
openChanged: EventEmitter<CustomEvent<boolean>>;
|
|
820
|
+
widthChanged: EventEmitter<CustomEvent<number>>;
|
|
820
821
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
821
822
|
static ɵfac: i0.ɵɵFactoryDeclaration<NvSidebar, never>;
|
|
822
|
-
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; }; }, { "openChanged": "openChanged"; }, never, ["*"], false, never>;
|
|
823
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NvSidebar, "nv-sidebar", never, { "activePath": { "alias": "activePath"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "notificationEmphasis": { "alias": "notificationEmphasis"; "required": false; }; "notificationIntention": { "alias": "notificationIntention"; "required": false; }; "open": { "alias": "open"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "type": { "alias": "type"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "openChanged": "openChanged"; "widthChanged": "widthChanged"; }, never, ["*"], false, never>;
|
|
823
824
|
}
|
|
824
825
|
export declare interface NvSidebar extends Components.NvSidebar {
|
|
825
826
|
/**
|
|
826
827
|
* Emitted when the open state changes. @bind open
|
|
827
828
|
*/
|
|
828
829
|
openChanged: EventEmitter<CustomEvent<boolean>>;
|
|
830
|
+
/**
|
|
831
|
+
* Emitted when the sidebar width changes via the resize handle.
|
|
832
|
+
Fires at the end of a drag, or after each keyboard adjustment.
|
|
833
|
+
*/
|
|
834
|
+
widthChanged: EventEmitter<CustomEvent<number>>;
|
|
829
835
|
}
|
|
830
836
|
export declare class NvSidebarcontent {
|
|
831
837
|
protected z: NgZone;
|
|
@@ -922,6 +928,15 @@ export declare class NvStack {
|
|
|
922
928
|
}
|
|
923
929
|
export declare interface NvStack extends Components.NvStack {
|
|
924
930
|
}
|
|
931
|
+
export declare class NvStatusindicator {
|
|
932
|
+
protected z: NgZone;
|
|
933
|
+
protected el: HTMLNvStatusindicatorElement;
|
|
934
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
935
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NvStatusindicator, never>;
|
|
936
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NvStatusindicator, "nv-statusindicator", never, { "emphasis": { "alias": "emphasis"; "required": false; }; "label": { "alias": "label"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
937
|
+
}
|
|
938
|
+
export declare interface NvStatusindicator extends Components.NvStatusindicator {
|
|
939
|
+
}
|
|
925
940
|
export declare class NvTable {
|
|
926
941
|
protected z: NgZone;
|
|
927
942
|
protected el: HTMLNvTableElement;
|
|
@@ -946,6 +961,24 @@ export declare interface NvTableheader extends Components.NvTableheader {
|
|
|
946
961
|
*/
|
|
947
962
|
sortDirectionChanged: EventEmitter<CustomEvent<string>>;
|
|
948
963
|
}
|
|
964
|
+
export declare class NvTag {
|
|
965
|
+
protected z: NgZone;
|
|
966
|
+
protected el: HTMLNvTagElement;
|
|
967
|
+
dismissed: EventEmitter<CustomEvent<{
|
|
968
|
+
label?: string | undefined;
|
|
969
|
+
}>>;
|
|
970
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
971
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NvTag, never>;
|
|
972
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NvTag, "nv-tag", never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "href": { "alias": "href"; "required": false; }; "label": { "alias": "label"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "dismissed": "dismissed"; }, never, ["*"], false, never>;
|
|
973
|
+
}
|
|
974
|
+
export declare interface NvTag extends Components.NvTag {
|
|
975
|
+
/**
|
|
976
|
+
* Emitted when the dismiss button is clicked.
|
|
977
|
+
*/
|
|
978
|
+
dismissed: EventEmitter<CustomEvent<{
|
|
979
|
+
label?: string;
|
|
980
|
+
}>>;
|
|
981
|
+
}
|
|
949
982
|
export declare class NvTimetest {
|
|
950
983
|
protected z: NgZone;
|
|
951
984
|
protected el: HTMLNvTimetestElement;
|
|
@@ -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.NvDatetest | typeof d.NvDatetimetest | typeof d.NvDialog | typeof d.NvDialogfooter | typeof d.NvDialogheader | typeof d.NvDrawer | typeof d.NvDrawerfooter | typeof d.NvDrawerheader | 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.NvPaginationNav | typeof d.NvPaginationtable | 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.NvTimetest | 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.NvDatetest | typeof d.NvDatetimetest | typeof d.NvDialog | typeof d.NvDialogfooter | typeof d.NvDialogheader | typeof d.NvDrawer | typeof d.NvDrawerfooter | typeof d.NvDrawerheader | 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.NvPaginationNav | typeof d.NvPaginationtable | 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.NvStatusindicator | typeof d.NvTable | typeof d.NvTableheader | typeof d.NvTag | typeof d.NvTimetest | 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",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.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",
|