@nova-design-system/nova-angular-18 3.20.0 → 3.21.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 +143 -39
- package/dist/nova-components/esm2022/lib/nova-components.module.mjs +2 -2
- package/dist/nova-components/esm2022/lib/providers/notification.service.mjs +33 -1
- package/dist/nova-components/esm2022/lib/stencil-generated/components.mjs +34 -7
- package/dist/nova-components/esm2022/lib/stencil-generated/index.mjs +2 -1
- package/dist/nova-components/fesm2022/nova-components.mjs +209 -46
- package/dist/nova-components/fesm2022/nova-components.mjs.map +1 -1
- package/dist/nova-components/lib/components/nv-datatable.component.d.ts +51 -2
- package/dist/nova-components/lib/nova-components.module.d.ts +1 -1
- package/dist/nova-components/lib/providers/notification.service.d.ts +7 -0
- package/dist/nova-components/lib/stencil-generated/components.d.ts +16 -2
- package/dist/nova-components/lib/stencil-generated/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -43,9 +43,10 @@ export const DIRECTIVES = [
|
|
|
43
43
|
d.NvSplit,
|
|
44
44
|
d.NvStack,
|
|
45
45
|
d.NvTable,
|
|
46
|
+
d.NvTableheader,
|
|
46
47
|
d.NvToggle,
|
|
47
48
|
d.NvTogglebutton,
|
|
48
49
|
d.NvTogglebuttongroup,
|
|
49
50
|
d.NvTooltip
|
|
50
51
|
];
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ub3ZhLWNvbXBvbmVudHMvc3JjL2xpYi9zdGVuY2lsLWdlbmVyYXRlZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEtBQUssQ0FBQyxNQUFNLGNBQWMsQ0FBQztBQUVsQyxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQUc7SUFDeEIsQ0FBQyxDQUFDLFdBQVc7SUFDYixDQUFDLENBQUMsZUFBZTtJQUNqQixDQUFDLENBQUMsT0FBTztJQUNULENBQUMsQ0FBQyxRQUFRO0lBQ1YsQ0FBQyxDQUFDLE9BQU87SUFDVCxDQUFDLENBQUMsWUFBWTtJQUNkLENBQUMsQ0FBQyxhQUFhO0lBQ2YsQ0FBQyxDQUFDLFFBQVE7SUFDVixDQUFDLENBQUMsYUFBYTtJQUNmLENBQUMsQ0FBQyxVQUFVO0lBQ1osQ0FBQyxDQUFDLEtBQUs7SUFDUCxDQUFDLENBQUMsVUFBVTtJQUNaLENBQUMsQ0FBQyxnQkFBZ0I7SUFDbEIsQ0FBQyxDQUFDLFFBQVE7SUFDVixDQUFDLENBQUMsY0FBYztJQUNoQixDQUFDLENBQUMsY0FBYztJQUNoQixDQUFDLENBQUMsZUFBZTtJQUNqQixDQUFDLENBQUMsV0FBVztJQUNiLENBQUMsQ0FBQyxnQkFBZ0I7SUFDbEIsQ0FBQyxDQUFDLGVBQWU7SUFDakIsQ0FBQyxDQUFDLG1CQUFtQjtJQUNyQixDQUFDLENBQUMsd0JBQXdCO0lBQzFCLENBQUMsQ0FBQyxrQkFBa0I7SUFDcEIsQ0FBQyxDQUFDLGFBQWE7SUFDZixDQUFDLENBQUMsZUFBZTtJQUNqQixDQUFDLENBQUMsWUFBWTtJQUNkLENBQUMsQ0FBQyxhQUFhO0lBQ2YsQ0FBQyxDQUFDLGFBQWE7SUFDZixDQUFDLENBQUMsV0FBVztJQUNiLENBQUMsQ0FBQyxlQUFlO0lBQ2pCLENBQUMsQ0FBQyxXQUFXO0lBQ2IsQ0FBQyxDQUFDLE1BQU07SUFDUixDQUFDLENBQUMsWUFBWTtJQUNkLENBQUMsQ0FBQyxRQUFRO0lBQ1YsQ0FBQyxDQUFDLE1BQU07SUFDUixDQUFDLENBQUMsVUFBVTtJQUNaLENBQUMsQ0FBQyxjQUFjO0lBQ2hCLENBQUMsQ0FBQyx1QkFBdUI7SUFDekIsQ0FBQyxDQUFDLFNBQVM7SUFDWCxDQUFDLENBQUMsS0FBSztJQUNQLENBQUMsQ0FBQyxPQUFPO0lBQ1QsQ0FBQyxDQUFDLE9BQU87SUFDVCxDQUFDLENBQUMsT0FBTztJQUNULENBQUMsQ0FBQyxhQUFhO0lBQ2YsQ0FBQyxDQUFDLFFBQVE7SUFDVixDQUFDLENBQUMsY0FBYztJQUNoQixDQUFDLENBQUMsbUJBQW1CO0lBQ3JCLENBQUMsQ0FBQyxTQUFTO0NBQ1osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0ICogYXMgZCBmcm9tICcuL2NvbXBvbmVudHMnO1xuXG5leHBvcnQgY29uc3QgRElSRUNUSVZFUyA9IFtcbiAgZC5OdkFjY29yZGlvbixcbiAgZC5OdkFjY29yZGlvbkl0ZW0sXG4gIGQuTnZBbGVydCxcbiAgZC5OdkF2YXRhcixcbiAgZC5OdkJhZGdlLFxuICBkLk52QnJlYWRjcnVtYixcbiAgZC5OdkJyZWFkY3J1bWJzLFxuICBkLk52QnV0dG9uLFxuICBkLk52QnV0dG9uZ3JvdXAsXG4gIGQuTnZDYWxlbmRhcixcbiAgZC5OdkNvbCxcbiAgZC5OdkRhdGFncmlkLFxuICBkLk52RGF0YWdyaWRjb2x1bW4sXG4gIGQuTnZEaWFsb2csXG4gIGQuTnZEaWFsb2dmb290ZXIsXG4gIGQuTnZEaWFsb2doZWFkZXIsXG4gIGQuTnZGaWVsZGNoZWNrYm94LFxuICBkLk52RmllbGRkYXRlLFxuICBkLk52RmllbGRkYXRlcmFuZ2UsXG4gIGQuTnZGaWVsZGRyb3Bkb3duLFxuICBkLk52RmllbGRkcm9wZG93bml0ZW0sXG4gIGQuTnZGaWVsZGRyb3Bkb3duaXRlbWNoZWNrLFxuICBkLk52RmllbGRtdWx0aXNlbGVjdCxcbiAgZC5OdkZpZWxkbnVtYmVyLFxuICBkLk52RmllbGRwYXNzd29yZCxcbiAgZC5OdkZpZWxkcmFkaW8sXG4gIGQuTnZGaWVsZHNlbGVjdCxcbiAgZC5OdkZpZWxkc2xpZGVyLFxuICBkLk52RmllbGR0ZXh0LFxuICBkLk52RmllbGR0ZXh0YXJlYSxcbiAgZC5OdkZpZWxkdGltZSxcbiAgZC5Odkljb24sXG4gIGQuTnZJY29uYnV0dG9uLFxuICBkLk52TG9hZGVyLFxuICBkLk52TWVudSxcbiAgZC5Odk1lbnVpdGVtLFxuICBkLk52Tm90aWZpY2F0aW9uLFxuICBkLk52Tm90aWZpY2F0aW9uY29udGFpbmVyLFxuICBkLk52UG9wb3ZlcixcbiAgZC5OdlJvdyxcbiAgZC5OdlNwbGl0LFxuICBkLk52U3RhY2ssXG4gIGQuTnZUYWJsZSxcbiAgZC5OdlRhYmxlaGVhZGVyLFxuICBkLk52VG9nZ2xlLFxuICBkLk52VG9nZ2xlYnV0dG9uLFxuICBkLk52VG9nZ2xlYnV0dG9uZ3JvdXAsXG4gIGQuTnZUb29sdGlwXG5dO1xuIl19
|
|
@@ -5,7 +5,7 @@ import { __decorate } from 'tslib';
|
|
|
5
5
|
import { fromEvent, BehaviorSubject } from 'rxjs';
|
|
6
6
|
import * as i2 from '@angular/common';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
|
-
import { memo, createTable, getCoreRowModel, getPaginationRowModel } from '@tanstack/table-core';
|
|
8
|
+
import { memo, createTable, getSortedRowModel, getCoreRowModel, getPaginationRowModel } from '@tanstack/table-core';
|
|
9
9
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
10
10
|
export * from '@nova-design-system/nova-webcomponents/constants';
|
|
11
11
|
|
|
@@ -253,11 +253,11 @@ let NvButton = class NvButton {
|
|
|
253
253
|
this.el = r.nativeElement;
|
|
254
254
|
}
|
|
255
255
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
256
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvButton, selector: "nv-button", inputs: { active: "active", danger: "danger", disabled: "disabled", emphasis: "emphasis", fluid: "fluid", form: "form", loading: "loading", size: "size", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
256
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvButton, selector: "nv-button", inputs: { active: "active", danger: "danger", disableTabindex: "disableTabindex", disabled: "disabled", emphasis: "emphasis", fluid: "fluid", form: "form", loading: "loading", size: "size", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
257
257
|
};
|
|
258
258
|
NvButton = __decorate([
|
|
259
259
|
ProxyCmp({
|
|
260
|
-
inputs: ['active', 'danger', 'disabled', 'emphasis', 'fluid', 'form', 'loading', 'size', 'type']
|
|
260
|
+
inputs: ['active', 'danger', 'disableTabindex', 'disabled', 'emphasis', 'fluid', 'form', 'loading', 'size', 'type']
|
|
261
261
|
})
|
|
262
262
|
], NvButton);
|
|
263
263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvButton, decorators: [{
|
|
@@ -267,7 +267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
267
267
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
268
268
|
template: '<ng-content></ng-content>',
|
|
269
269
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
270
|
-
inputs: ['active', 'danger', 'disabled', 'emphasis', 'fluid', 'form', 'loading', 'size', 'type'],
|
|
270
|
+
inputs: ['active', 'danger', 'disableTabindex', 'disabled', 'emphasis', 'fluid', 'form', 'loading', 'size', 'type'],
|
|
271
271
|
standalone: false
|
|
272
272
|
}]
|
|
273
273
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
@@ -903,11 +903,11 @@ let NvIconbutton = class NvIconbutton {
|
|
|
903
903
|
this.el = r.nativeElement;
|
|
904
904
|
}
|
|
905
905
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvIconbutton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
906
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvIconbutton, selector: "nv-iconbutton", inputs: { active: "active", disabled: "disabled", emphasis: "emphasis", loading: "loading", name: "name", shape: "shape", size: "size", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
906
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvIconbutton, selector: "nv-iconbutton", inputs: { active: "active", disableTabindex: "disableTabindex", disabled: "disabled", emphasis: "emphasis", loading: "loading", name: "name", shape: "shape", size: "size", type: "type" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
907
907
|
};
|
|
908
908
|
NvIconbutton = __decorate([
|
|
909
909
|
ProxyCmp({
|
|
910
|
-
inputs: ['active', 'disabled', 'emphasis', 'loading', 'name', 'shape', 'size', 'type']
|
|
910
|
+
inputs: ['active', 'disableTabindex', 'disabled', 'emphasis', 'loading', 'name', 'shape', 'size', 'type']
|
|
911
911
|
})
|
|
912
912
|
], NvIconbutton);
|
|
913
913
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvIconbutton, decorators: [{
|
|
@@ -917,7 +917,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
917
917
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
918
918
|
template: '<ng-content></ng-content>',
|
|
919
919
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
920
|
-
inputs: ['active', 'disabled', 'emphasis', 'loading', 'name', 'shape', 'size', 'type'],
|
|
920
|
+
inputs: ['active', 'disableTabindex', 'disabled', 'emphasis', 'loading', 'name', 'shape', 'size', 'type'],
|
|
921
921
|
standalone: false
|
|
922
922
|
}]
|
|
923
923
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
@@ -1176,6 +1176,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1176
1176
|
standalone: false
|
|
1177
1177
|
}]
|
|
1178
1178
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1179
|
+
let NvTableheader = class NvTableheader {
|
|
1180
|
+
constructor(c, r, z) {
|
|
1181
|
+
this.z = z;
|
|
1182
|
+
c.detach();
|
|
1183
|
+
this.el = r.nativeElement;
|
|
1184
|
+
proxyOutputs(this, this.el, ['sortDirectionChanged']);
|
|
1185
|
+
}
|
|
1186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvTableheader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1187
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NvTableheader, selector: "nv-tableheader", inputs: { sortDirection: "sortDirection", sortable: "sortable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1188
|
+
};
|
|
1189
|
+
NvTableheader = __decorate([
|
|
1190
|
+
ProxyCmp({
|
|
1191
|
+
inputs: ['sortDirection', 'sortable']
|
|
1192
|
+
})
|
|
1193
|
+
], NvTableheader);
|
|
1194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvTableheader, decorators: [{
|
|
1195
|
+
type: Component,
|
|
1196
|
+
args: [{
|
|
1197
|
+
selector: 'nv-tableheader',
|
|
1198
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1199
|
+
template: '<ng-content></ng-content>',
|
|
1200
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1201
|
+
inputs: ['sortDirection', 'sortable'],
|
|
1202
|
+
standalone: false
|
|
1203
|
+
}]
|
|
1204
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1179
1205
|
let NvToggle = class NvToggle {
|
|
1180
1206
|
constructor(c, r, z) {
|
|
1181
1207
|
this.z = z;
|
|
@@ -1325,6 +1351,7 @@ const DIRECTIVES = [
|
|
|
1325
1351
|
NvSplit,
|
|
1326
1352
|
NvStack,
|
|
1327
1353
|
NvTable,
|
|
1354
|
+
NvTableheader,
|
|
1328
1355
|
NvToggle,
|
|
1329
1356
|
NvTogglebutton,
|
|
1330
1357
|
NvTogglebuttongroup,
|
|
@@ -2093,6 +2120,7 @@ function createAngularTable(options) {
|
|
|
2093
2120
|
|
|
2094
2121
|
/* eslint-disable jsdoc/require-jsdoc */
|
|
2095
2122
|
/* eslint-disable jsdoc/require-returns */
|
|
2123
|
+
/* eslint-disable jsdoc/require-param */
|
|
2096
2124
|
/**
|
|
2097
2125
|
* A powerful, flexible datatable component built on TanStack Table.
|
|
2098
2126
|
* Supports custom cell rendering, column configuration, pagination, and full TypeScript typing.
|
|
@@ -2102,6 +2130,37 @@ class NvDatatable {
|
|
|
2102
2130
|
table() {
|
|
2103
2131
|
return this.tableInstance();
|
|
2104
2132
|
}
|
|
2133
|
+
/**
|
|
2134
|
+
* Handle sort direction change from table header
|
|
2135
|
+
* @param {Event} event The sort direction change event or direction string
|
|
2136
|
+
* @param {object} header The table header object
|
|
2137
|
+
*/
|
|
2138
|
+
handleSortDirectionChanged(event, header) {
|
|
2139
|
+
// Extract direction from event or use directly if string
|
|
2140
|
+
let direction;
|
|
2141
|
+
if (typeof event === 'string') {
|
|
2142
|
+
direction = event;
|
|
2143
|
+
}
|
|
2144
|
+
else if ('detail' in event && typeof event.detail === 'string') {
|
|
2145
|
+
direction = event.detail;
|
|
2146
|
+
}
|
|
2147
|
+
else {
|
|
2148
|
+
// Fallback - shouldn't happen but handle gracefully
|
|
2149
|
+
console.warn('Unexpected event type in handleSortDirectionChanged:', event);
|
|
2150
|
+
return;
|
|
2151
|
+
}
|
|
2152
|
+
const sortingConfig = this.sorting();
|
|
2153
|
+
// Check if multi-sort is enabled
|
|
2154
|
+
const isMultiSort = sortingConfig?.enableMultiSort ?? false;
|
|
2155
|
+
if (direction === 'none') {
|
|
2156
|
+
// Clear this column's sort
|
|
2157
|
+
header.column.clearSorting();
|
|
2158
|
+
}
|
|
2159
|
+
else {
|
|
2160
|
+
// Toggle sort - TanStack will handle the logic internally
|
|
2161
|
+
header.column.toggleSorting(direction === 'desc', isMultiSort);
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2105
2164
|
constructor() {
|
|
2106
2165
|
/** Column definitions */
|
|
2107
2166
|
this.columns = input([]);
|
|
@@ -2109,6 +2168,8 @@ class NvDatatable {
|
|
|
2109
2168
|
this.rows = input([]);
|
|
2110
2169
|
/** Optional pagination configuration */
|
|
2111
2170
|
this.pagination = input(undefined);
|
|
2171
|
+
/** Optional sorting configuration */
|
|
2172
|
+
this.sorting = input(undefined);
|
|
2112
2173
|
/** Should the header stick to the top of the table when scrolling? */
|
|
2113
2174
|
this.stickyHeader = input(false);
|
|
2114
2175
|
/** Signal to track cell templates array */
|
|
@@ -2126,6 +2187,8 @@ class NvDatatable {
|
|
|
2126
2187
|
pageIndex: 0,
|
|
2127
2188
|
pageSize: this.pagination()?.initialPageSize || 10,
|
|
2128
2189
|
});
|
|
2190
|
+
/** Sorting state for controlled sorting (server mode) */
|
|
2191
|
+
this.sortingState = signal(this.sorting()?.sortState || []);
|
|
2129
2192
|
/** Reference to table rows for infinite scroll observer */
|
|
2130
2193
|
this.tableRows = viewChild('tableRow');
|
|
2131
2194
|
/** Intersection observer for infinite scroll */
|
|
@@ -2154,7 +2217,7 @@ class NvDatatable {
|
|
|
2154
2217
|
// Default: just return the value (formatted if valueFormatter was used)
|
|
2155
2218
|
return context.getValue();
|
|
2156
2219
|
};
|
|
2157
|
-
|
|
2220
|
+
const columnDef = {
|
|
2158
2221
|
accessorKey: col.field,
|
|
2159
2222
|
accessorFn: col.valueFormatter
|
|
2160
2223
|
? (row) => {
|
|
@@ -2169,27 +2232,82 @@ class NvDatatable {
|
|
|
2169
2232
|
header: col.headerName || String(col.field),
|
|
2170
2233
|
size: col.width,
|
|
2171
2234
|
enableResizing: col.resizable ?? true,
|
|
2235
|
+
// Sorting configuration
|
|
2236
|
+
enableSorting: this.sorting() ? col.sortable ?? true : false,
|
|
2172
2237
|
cell: cellRenderer,
|
|
2173
2238
|
};
|
|
2239
|
+
// Add optional sorting properties only if defined
|
|
2240
|
+
if (col.sortingFn !== undefined) {
|
|
2241
|
+
// @ts-expect-error - TanStack typing is strict but this works at runtime
|
|
2242
|
+
columnDef.sortingFn = col.sortingFn;
|
|
2243
|
+
}
|
|
2244
|
+
if (col.sortDescFirst !== undefined) {
|
|
2245
|
+
columnDef.sortDescFirst = col.sortDescFirst;
|
|
2246
|
+
}
|
|
2247
|
+
if (col.invertSorting !== undefined) {
|
|
2248
|
+
columnDef.invertSorting = col.invertSorting;
|
|
2249
|
+
}
|
|
2250
|
+
if (col.sortUndefined !== undefined) {
|
|
2251
|
+
columnDef.sortUndefined = col.sortUndefined;
|
|
2252
|
+
}
|
|
2253
|
+
return columnDef;
|
|
2174
2254
|
});
|
|
2175
2255
|
});
|
|
2176
2256
|
/** TanStack table instance with Signals */
|
|
2177
2257
|
this.tableInstance = createAngularTable(() => {
|
|
2178
2258
|
const paginationConfig = this.pagination();
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2259
|
+
const sortingConfig = this.sorting();
|
|
2260
|
+
// Determine base table configuration with sorting
|
|
2261
|
+
const getBaseTableConfig = () => {
|
|
2262
|
+
const baseConfig = {
|
|
2182
2263
|
data: this.rows(),
|
|
2183
2264
|
columns: this.tableColumns(),
|
|
2184
2265
|
getCoreRowModel: getCoreRowModel(),
|
|
2266
|
+
// Sorting configuration
|
|
2267
|
+
...(sortingConfig && {
|
|
2268
|
+
state: {
|
|
2269
|
+
sorting: sortingConfig.mode === 'server' && sortingConfig.sortState
|
|
2270
|
+
? sortingConfig.sortState
|
|
2271
|
+
: this.sortingState(),
|
|
2272
|
+
},
|
|
2273
|
+
onSortingChange: (updaterOrValue) => {
|
|
2274
|
+
const currentSort = sortingConfig.mode === 'server' && sortingConfig.sortState
|
|
2275
|
+
? sortingConfig.sortState
|
|
2276
|
+
: this.sortingState();
|
|
2277
|
+
const newSort = typeof updaterOrValue === 'function'
|
|
2278
|
+
? updaterOrValue(currentSort)
|
|
2279
|
+
: updaterOrValue;
|
|
2280
|
+
// Always update internal state for reactivity
|
|
2281
|
+
this.sortingState.set(newSort);
|
|
2282
|
+
// For server-side sorting, also call the callback
|
|
2283
|
+
if (sortingConfig?.mode === 'server' &&
|
|
2284
|
+
sortingConfig.onSortingChange) {
|
|
2285
|
+
sortingConfig.onSortingChange(newSort);
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2288
|
+
manualSorting: sortingConfig.mode === 'server',
|
|
2289
|
+
enableSorting: true,
|
|
2290
|
+
enableMultiSort: sortingConfig.enableMultiSort ?? false,
|
|
2291
|
+
enableSortingRemoval: sortingConfig.enableSortingRemoval ?? true,
|
|
2292
|
+
maxMultiSortColCount: sortingConfig.maxMultiSortColCount,
|
|
2293
|
+
sortDescFirst: sortingConfig.sortDescFirst ?? false,
|
|
2294
|
+
// When multi-sort is enabled, treat all clicks as multi-sort events
|
|
2295
|
+
isMultiSortEvent: sortingConfig.enableMultiSort
|
|
2296
|
+
? () => true
|
|
2297
|
+
: undefined,
|
|
2298
|
+
getSortedRowModel: sortingConfig.mode === 'client' ? getSortedRowModel() : undefined,
|
|
2299
|
+
}),
|
|
2185
2300
|
};
|
|
2301
|
+
return baseConfig;
|
|
2302
|
+
};
|
|
2303
|
+
if (!paginationConfig || paginationConfig.mode === 'infinite') {
|
|
2304
|
+
// No pagination or infinite scroll - simple config
|
|
2305
|
+
return getBaseTableConfig();
|
|
2186
2306
|
}
|
|
2187
2307
|
else if (paginationConfig.mode === 'client') {
|
|
2188
2308
|
// Client-side pagination
|
|
2189
2309
|
return {
|
|
2190
|
-
|
|
2191
|
-
columns: this.tableColumns(),
|
|
2192
|
-
getCoreRowModel: getCoreRowModel(),
|
|
2310
|
+
...getBaseTableConfig(),
|
|
2193
2311
|
getPaginationRowModel: getPaginationRowModel(),
|
|
2194
2312
|
initialState: {
|
|
2195
2313
|
pagination: {
|
|
@@ -2200,12 +2318,11 @@ class NvDatatable {
|
|
|
2200
2318
|
};
|
|
2201
2319
|
}
|
|
2202
2320
|
else {
|
|
2203
|
-
// Server-side pagination
|
|
2321
|
+
// Server-side pagination - manual pagination with reactive state
|
|
2322
|
+
const baseConfig = getBaseTableConfig();
|
|
2204
2323
|
const pageSize = this.paginationState().pageSize;
|
|
2205
2324
|
return {
|
|
2206
|
-
|
|
2207
|
-
columns: this.tableColumns(),
|
|
2208
|
-
getCoreRowModel: getCoreRowModel(),
|
|
2325
|
+
...baseConfig,
|
|
2209
2326
|
manualPagination: true,
|
|
2210
2327
|
pageCount: paginationConfig.totalPageCount !== undefined
|
|
2211
2328
|
? paginationConfig.totalPageCount
|
|
@@ -2214,13 +2331,19 @@ class NvDatatable {
|
|
|
2214
2331
|
: -1,
|
|
2215
2332
|
state: {
|
|
2216
2333
|
pagination: this.paginationState(),
|
|
2334
|
+
...(baseConfig.state && { sorting: baseConfig.state.sorting }),
|
|
2217
2335
|
},
|
|
2218
2336
|
onPaginationChange: (updaterOrValue) => {
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2337
|
+
const newState = typeof updaterOrValue === 'function'
|
|
2338
|
+
? updaterOrValue(this.paginationState())
|
|
2339
|
+
: updaterOrValue;
|
|
2340
|
+
this.paginationState.set(newState);
|
|
2341
|
+
// Call user's callback for server-side pagination
|
|
2342
|
+
if (paginationConfig.onPaginationChange) {
|
|
2343
|
+
paginationConfig.onPaginationChange({
|
|
2344
|
+
pageIndex: newState.pageIndex,
|
|
2345
|
+
pageSize: newState.pageSize,
|
|
2346
|
+
});
|
|
2224
2347
|
}
|
|
2225
2348
|
},
|
|
2226
2349
|
};
|
|
@@ -2259,18 +2382,6 @@ class NvDatatable {
|
|
|
2259
2382
|
: undefined,
|
|
2260
2383
|
};
|
|
2261
2384
|
});
|
|
2262
|
-
// Watch pagination state changes for server mode
|
|
2263
|
-
effect(() => {
|
|
2264
|
-
const paginationConfig = this.pagination();
|
|
2265
|
-
const state = this.paginationState();
|
|
2266
|
-
if (paginationConfig?.mode === 'server' &&
|
|
2267
|
-
paginationConfig.onPaginationChange) {
|
|
2268
|
-
paginationConfig.onPaginationChange({
|
|
2269
|
-
pageIndex: state.pageIndex,
|
|
2270
|
-
pageSize: state.pageSize,
|
|
2271
|
-
});
|
|
2272
|
-
}
|
|
2273
|
-
}, { allowSignalWrites: true });
|
|
2274
2385
|
// Set up intersection observer for infinite scroll
|
|
2275
2386
|
effect(() => {
|
|
2276
2387
|
const paginationConfig = this.pagination();
|
|
@@ -2329,7 +2440,7 @@ class NvDatatable {
|
|
|
2329
2440
|
}
|
|
2330
2441
|
}
|
|
2331
2442
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NvDatatable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2332
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: NvDatatable, isStandalone: true, selector: "nv-datatable", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, stickyHeader: { classPropertyName: "stickyHeader", publicName: "stickyHeader", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "paginationTemplate", first: true, predicate: ["paginationTemplate"], descendants: true, read: TemplateRef }, { propertyName: "cellTemplates", predicate: NvDatatableCellDirective }], viewQueries: [{ propertyName: "tableRows", first: true, predicate: ["tableRow"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
2443
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: NvDatatable, isStandalone: true, selector: "nv-datatable", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, pagination: { classPropertyName: "pagination", publicName: "pagination", isSignal: true, isRequired: false, transformFunction: null }, sorting: { classPropertyName: "sorting", publicName: "sorting", isSignal: true, isRequired: false, transformFunction: null }, stickyHeader: { classPropertyName: "stickyHeader", publicName: "stickyHeader", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "paginationTemplate", first: true, predicate: ["paginationTemplate"], descendants: true, read: TemplateRef }, { propertyName: "cellTemplates", predicate: NvDatatableCellDirective }], viewQueries: [{ propertyName: "tableRows", first: true, predicate: ["tableRow"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
2333
2444
|
<nv-table>
|
|
2334
2445
|
<table>
|
|
2335
2446
|
<thead [attr.data-sticky-top]="stickyHeader() ? 'true' : null">
|
|
@@ -2348,9 +2459,19 @@ class NvDatatable {
|
|
|
2348
2459
|
!header.column.columnDef.enableResizing ? 'true' : null
|
|
2349
2460
|
"
|
|
2350
2461
|
>
|
|
2351
|
-
@if (!header.isPlaceholder) {
|
|
2462
|
+
@if (!header.isPlaceholder) { @if (header.column.getCanSort()) {
|
|
2463
|
+
<nv-tableheader
|
|
2464
|
+
[sortable]="true"
|
|
2465
|
+
[sortDirection]="header.column.getIsSorted() || 'none'"
|
|
2466
|
+
(sortDirectionChanged)="
|
|
2467
|
+
handleSortDirectionChanged($event, header)
|
|
2468
|
+
"
|
|
2469
|
+
>
|
|
2470
|
+
{{ header.column.columnDef.header }}
|
|
2471
|
+
</nv-tableheader>
|
|
2472
|
+
} @else {
|
|
2352
2473
|
{{ header.column.columnDef.header }}
|
|
2353
|
-
}
|
|
2474
|
+
} }
|
|
2354
2475
|
</th>
|
|
2355
2476
|
}
|
|
2356
2477
|
</tr>
|
|
@@ -2361,7 +2482,7 @@ class NvDatatable {
|
|
|
2361
2482
|
@for (row of table().getRowModel().rows; track row.id; let i = $index)
|
|
2362
2483
|
{
|
|
2363
2484
|
<tr
|
|
2364
|
-
[attr.data-testid]="'datatable-row-' +
|
|
2485
|
+
[attr.data-testid]="'datatable-row-' + i"
|
|
2365
2486
|
#tableRow
|
|
2366
2487
|
[attr.data-is-last]="
|
|
2367
2488
|
isInfiniteScroll() && i === table().getRowModel().rows.length - 1
|
|
@@ -2370,7 +2491,7 @@ class NvDatatable {
|
|
|
2370
2491
|
"
|
|
2371
2492
|
>
|
|
2372
2493
|
@for (cell of row.getVisibleCells(); track cell.id) {
|
|
2373
|
-
<td [attr.data-testid]="'datatable-cell-' + cell.id">
|
|
2494
|
+
<td [attr.data-testid]="'datatable-cell-' + cell.column.id">
|
|
2374
2495
|
<ng-container
|
|
2375
2496
|
*flexRender="
|
|
2376
2497
|
cell.column.columnDef.cell;
|
|
@@ -2425,9 +2546,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2425
2546
|
!header.column.columnDef.enableResizing ? 'true' : null
|
|
2426
2547
|
"
|
|
2427
2548
|
>
|
|
2428
|
-
@if (!header.isPlaceholder) {
|
|
2549
|
+
@if (!header.isPlaceholder) { @if (header.column.getCanSort()) {
|
|
2550
|
+
<nv-tableheader
|
|
2551
|
+
[sortable]="true"
|
|
2552
|
+
[sortDirection]="header.column.getIsSorted() || 'none'"
|
|
2553
|
+
(sortDirectionChanged)="
|
|
2554
|
+
handleSortDirectionChanged($event, header)
|
|
2555
|
+
"
|
|
2556
|
+
>
|
|
2557
|
+
{{ header.column.columnDef.header }}
|
|
2558
|
+
</nv-tableheader>
|
|
2559
|
+
} @else {
|
|
2429
2560
|
{{ header.column.columnDef.header }}
|
|
2430
|
-
}
|
|
2561
|
+
} }
|
|
2431
2562
|
</th>
|
|
2432
2563
|
}
|
|
2433
2564
|
</tr>
|
|
@@ -2438,7 +2569,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2438
2569
|
@for (row of table().getRowModel().rows; track row.id; let i = $index)
|
|
2439
2570
|
{
|
|
2440
2571
|
<tr
|
|
2441
|
-
[attr.data-testid]="'datatable-row-' +
|
|
2572
|
+
[attr.data-testid]="'datatable-row-' + i"
|
|
2442
2573
|
#tableRow
|
|
2443
2574
|
[attr.data-is-last]="
|
|
2444
2575
|
isInfiniteScroll() && i === table().getRowModel().rows.length - 1
|
|
@@ -2447,7 +2578,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2447
2578
|
"
|
|
2448
2579
|
>
|
|
2449
2580
|
@for (cell of row.getVisibleCells(); track cell.id) {
|
|
2450
|
-
<td [attr.data-testid]="'datatable-cell-' + cell.id">
|
|
2581
|
+
<td [attr.data-testid]="'datatable-cell-' + cell.column.id">
|
|
2451
2582
|
<ng-container
|
|
2452
2583
|
*flexRender="
|
|
2453
2584
|
cell.column.columnDef.cell;
|
|
@@ -3393,7 +3524,7 @@ function provideNovaComponents() {
|
|
|
3393
3524
|
}
|
|
3394
3525
|
class NovaComponentsModule {
|
|
3395
3526
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3396
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsModule, declarations: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDialog, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationcontainer, NvPopover, NvRow, NvSplit, NvStack, NvTable, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip], imports: [NvDatatable], exports: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDialog, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationcontainer, NvPopover, NvRow, NvSplit, NvStack, NvTable, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip, NvDatatable] }); }
|
|
3527
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsModule, declarations: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDialog, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationcontainer, NvPopover, NvRow, NvSplit, NvStack, NvTable, NvTableheader, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip], imports: [NvDatatable], exports: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDialog, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationcontainer, NvPopover, NvRow, NvSplit, NvStack, NvTable, NvTableheader, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip, NvDatatable] }); }
|
|
3397
3528
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsModule, providers: [provideNovaComponents()], imports: [NvDatatable] }); }
|
|
3398
3529
|
}
|
|
3399
3530
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NovaComponentsModule, decorators: [{
|
|
@@ -3442,6 +3573,7 @@ class NotificationService {
|
|
|
3442
3573
|
}
|
|
3443
3574
|
constructor() {
|
|
3444
3575
|
this._notifications = new BehaviorSubject([]);
|
|
3576
|
+
this.timers = new Map();
|
|
3445
3577
|
/**
|
|
3446
3578
|
* Observable stream of active notifications.
|
|
3447
3579
|
*/
|
|
@@ -3479,6 +3611,14 @@ class NotificationService {
|
|
|
3479
3611
|
clearRefs() {
|
|
3480
3612
|
this.elRefs.clear();
|
|
3481
3613
|
}
|
|
3614
|
+
/**
|
|
3615
|
+
* Clean up all timers and references.
|
|
3616
|
+
*/
|
|
3617
|
+
ngOnDestroy() {
|
|
3618
|
+
this.timers.forEach((timer) => clearTimeout(timer));
|
|
3619
|
+
this.timers.clear();
|
|
3620
|
+
this.clearRefs();
|
|
3621
|
+
}
|
|
3482
3622
|
/**
|
|
3483
3623
|
* Show a new notification.
|
|
3484
3624
|
*
|
|
@@ -3497,6 +3637,7 @@ class NotificationService {
|
|
|
3497
3637
|
icon: options.icon,
|
|
3498
3638
|
actions: options.actions ?? [],
|
|
3499
3639
|
actionSlot: options.actionSlot,
|
|
3640
|
+
duration: options.duration ?? 0,
|
|
3500
3641
|
createdAt: Date.now(),
|
|
3501
3642
|
};
|
|
3502
3643
|
const currentNotifications = this._notifications.value;
|
|
@@ -3511,6 +3652,13 @@ class NotificationService {
|
|
|
3511
3652
|
setTimeout(() => {
|
|
3512
3653
|
const ref = this.elRefs.get(id);
|
|
3513
3654
|
ref?.show();
|
|
3655
|
+
// Set up auto-dismiss timer if duration > 0
|
|
3656
|
+
if (notification.duration && notification.duration > 0) {
|
|
3657
|
+
const timer = setTimeout(() => {
|
|
3658
|
+
this.dismiss(id);
|
|
3659
|
+
}, notification.duration);
|
|
3660
|
+
this.timers.set(id, timer);
|
|
3661
|
+
}
|
|
3514
3662
|
}, 0);
|
|
3515
3663
|
return id;
|
|
3516
3664
|
}
|
|
@@ -3521,6 +3669,12 @@ class NotificationService {
|
|
|
3521
3669
|
* @param {string} id The notification ID to dismiss
|
|
3522
3670
|
*/
|
|
3523
3671
|
dismiss(id) {
|
|
3672
|
+
// Clear timer if exists
|
|
3673
|
+
const timer = this.timers.get(id);
|
|
3674
|
+
if (timer) {
|
|
3675
|
+
clearTimeout(timer);
|
|
3676
|
+
this.timers.delete(id);
|
|
3677
|
+
}
|
|
3524
3678
|
this.elRefs.get(id)?.dismiss?.();
|
|
3525
3679
|
}
|
|
3526
3680
|
/**
|
|
@@ -3529,6 +3683,12 @@ class NotificationService {
|
|
|
3529
3683
|
* @param {string} id The notification ID to dismiss
|
|
3530
3684
|
*/
|
|
3531
3685
|
remove(id) {
|
|
3686
|
+
// Clear timer if exists
|
|
3687
|
+
const timer = this.timers.get(id);
|
|
3688
|
+
if (timer) {
|
|
3689
|
+
clearTimeout(timer);
|
|
3690
|
+
this.timers.delete(id);
|
|
3691
|
+
}
|
|
3532
3692
|
const currentNotifications = this._notifications.value;
|
|
3533
3693
|
const filteredNotifications = currentNotifications.filter((notification) => notification.id !== id);
|
|
3534
3694
|
this._notifications.next(filteredNotifications);
|
|
@@ -3537,6 +3697,9 @@ class NotificationService {
|
|
|
3537
3697
|
* Immediately remove all active notifications.
|
|
3538
3698
|
*/
|
|
3539
3699
|
removeAll() {
|
|
3700
|
+
// Clear all timers
|
|
3701
|
+
this.timers.forEach((timer) => clearTimeout(timer));
|
|
3702
|
+
this.timers.clear();
|
|
3540
3703
|
this._notifications.next([]);
|
|
3541
3704
|
}
|
|
3542
3705
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
@@ -3735,5 +3898,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3735
3898
|
* Generated bundle index. Do not edit.
|
|
3736
3899
|
*/
|
|
3737
3900
|
|
|
3738
|
-
export { NotificationService, NotificationServiceComponent, NovaComponentsModule, NovaComponentsValueAccessorModule, NvAccordion, NvAccordionItem, NvAccordionValueAccessor, NvAlert, NvAlertValueAccessor, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCalendarValueAccessor, NvCol, NvDatagrid, NvDatagridValueAccessor, NvDatagridcolumn, NvDatatable, NvDatatableCellDirective, NvDialog, NvDialogValueAccessor, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFieldcheckboxValueAccessor, NvFielddate, NvFielddateValueAccessor, NvFielddaterange, NvFielddaterangeValueAccessor, NvFielddropdown, NvFielddropdownValueAccessor, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldmultiselectValueAccessor, NvFieldnumber, NvFieldnumberValueAccessor, NvFieldpassword, NvFieldpasswordValueAccessor, NvFieldradio, NvFieldradioValueAccessor, NvFieldselect, NvFieldselectValueAccessor, NvFieldslider, NvFieldsliderValueAccessor, NvFieldtext, NvFieldtextValueAccessor, NvFieldtextarea, NvFieldtextareaValueAccessor, NvFieldtime, NvFieldtimeValueAccessor, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationValueAccessor, NvNotificationcontainer, NvPopover, NvPopoverValueAccessor, NvRow, NvSplit, NvSplitValueAccessor, NvStack, NvTable, NvToggle, NvToggleValueAccessor, NvTogglebutton, NvTogglebuttongroup, NvTogglebuttongroupValueAccessor, NvTooltip, VALUE_ACCESSORS, makeColumn, flexRenderComponent as nvDatatableRenderComponent, provideNovaComponents };
|
|
3901
|
+
export { NotificationService, NotificationServiceComponent, NovaComponentsModule, NovaComponentsValueAccessorModule, NvAccordion, NvAccordionItem, NvAccordionValueAccessor, NvAlert, NvAlertValueAccessor, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCalendarValueAccessor, NvCol, NvDatagrid, NvDatagridValueAccessor, NvDatagridcolumn, NvDatatable, NvDatatableCellDirective, NvDialog, NvDialogValueAccessor, NvDialogfooter, NvDialogheader, NvFieldcheckbox, NvFieldcheckboxValueAccessor, NvFielddate, NvFielddateValueAccessor, NvFielddaterange, NvFielddaterangeValueAccessor, NvFielddropdown, NvFielddropdownValueAccessor, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldmultiselectValueAccessor, NvFieldnumber, NvFieldnumberValueAccessor, NvFieldpassword, NvFieldpasswordValueAccessor, NvFieldradio, NvFieldradioValueAccessor, NvFieldselect, NvFieldselectValueAccessor, NvFieldslider, NvFieldsliderValueAccessor, NvFieldtext, NvFieldtextValueAccessor, NvFieldtextarea, NvFieldtextareaValueAccessor, NvFieldtime, NvFieldtimeValueAccessor, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationValueAccessor, NvNotificationcontainer, NvPopover, NvPopoverValueAccessor, NvRow, NvSplit, NvSplitValueAccessor, NvStack, NvTable, NvTableheader, NvToggle, NvToggleValueAccessor, NvTogglebutton, NvTogglebuttongroup, NvTogglebuttongroupValueAccessor, NvTooltip, VALUE_ACCESSORS, makeColumn, flexRenderComponent as nvDatatableRenderComponent, provideNovaComponents };
|
|
3739
3902
|
//# sourceMappingURL=nova-components.mjs.map
|