@nova-design-system/nova-angular-19 3.29.0 → 3.31.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 +103 -17
- 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 +50 -3
- package/dist/nova-components/lib/stencil-generated/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -785,18 +785,19 @@ let NvFielddropdown = class NvFielddropdown {
|
|
|
785
785
|
this.z = z;
|
|
786
786
|
this.valueChanged = new EventEmitter();
|
|
787
787
|
this.filterTextChanged = new EventEmitter();
|
|
788
|
+
this.cleared = new EventEmitter();
|
|
788
789
|
this.openChanged = new EventEmitter();
|
|
789
790
|
this.dropdownItemSelected = new EventEmitter();
|
|
790
791
|
c.detach();
|
|
791
792
|
this.el = r.nativeElement;
|
|
792
793
|
}
|
|
793
794
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvFielddropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
794
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvFielddropdown, isStandalone: false, selector: "nv-fielddropdown", inputs: { ariaRequiredAttr: "ariaRequiredAttr", autocomplete: "autocomplete", autofocus: "autofocus", controlledFilter: "controlledFilter", debounceDelay: "debounceDelay", description: "description", disabled: "disabled", emptyResult: "emptyResult", error: "error", errorDescription: "errorDescription", filterMode: "filterMode", filterable: "filterable", fluid: "fluid", fuzzyThreshold: "fuzzyThreshold", inputId: "inputId", label: "label", locale: "locale", maxHeight: "maxHeight", maxResults: "maxResults", name: "name", openOnSelect: "openOnSelect", options: "options", placeholder: "placeholder", readonly: "readonly", required: "required", startFilterAt: "startFilterAt", truncatedResultsText: "truncatedResultsText", value: "value", workerThreshold: "workerThreshold" }, outputs: { valueChanged: "valueChanged", filterTextChanged: "filterTextChanged", openChanged: "openChanged", dropdownItemSelected: "dropdownItemSelected" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
795
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvFielddropdown, isStandalone: false, selector: "nv-fielddropdown", inputs: { ariaRequiredAttr: "ariaRequiredAttr", autocomplete: "autocomplete", autofocus: "autofocus", clearable: "clearable", controlledFilter: "controlledFilter", debounceDelay: "debounceDelay", description: "description", disabled: "disabled", emptyResult: "emptyResult", error: "error", errorDescription: "errorDescription", filterMode: "filterMode", filterable: "filterable", fluid: "fluid", fuzzyThreshold: "fuzzyThreshold", inputId: "inputId", label: "label", locale: "locale", maxHeight: "maxHeight", maxResults: "maxResults", name: "name", openOnSelect: "openOnSelect", options: "options", placeholder: "placeholder", readonly: "readonly", required: "required", startFilterAt: "startFilterAt", truncatedResultsText: "truncatedResultsText", value: "value", workerThreshold: "workerThreshold" }, outputs: { valueChanged: "valueChanged", filterTextChanged: "filterTextChanged", cleared: "cleared", openChanged: "openChanged", dropdownItemSelected: "dropdownItemSelected" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
795
796
|
};
|
|
796
797
|
NvFielddropdown = __decorate([
|
|
797
798
|
ProxyCmp({
|
|
798
|
-
inputs: ['ariaRequiredAttr', 'autocomplete', 'autofocus', 'controlledFilter', 'debounceDelay', 'description', 'disabled', 'emptyResult', 'error', 'errorDescription', 'filterMode', 'filterable', 'fluid', 'fuzzyThreshold', 'inputId', 'label', 'locale', 'maxHeight', 'maxResults', 'name', 'openOnSelect', 'options', 'placeholder', 'readonly', 'required', 'startFilterAt', 'truncatedResultsText', 'value', 'workerThreshold'],
|
|
799
|
-
methods: ['clearFilter', 'toggleDropdown']
|
|
799
|
+
inputs: ['ariaRequiredAttr', 'autocomplete', 'autofocus', 'clearable', 'controlledFilter', 'debounceDelay', 'description', 'disabled', 'emptyResult', 'error', 'errorDescription', 'filterMode', 'filterable', 'fluid', 'fuzzyThreshold', 'inputId', 'label', 'locale', 'maxHeight', 'maxResults', 'name', 'openOnSelect', 'options', 'placeholder', 'readonly', 'required', 'startFilterAt', 'truncatedResultsText', 'value', 'workerThreshold'],
|
|
800
|
+
methods: ['clearFilter', 'clear', 'toggleDropdown']
|
|
800
801
|
})
|
|
801
802
|
], NvFielddropdown);
|
|
802
803
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvFielddropdown, decorators: [{
|
|
@@ -806,14 +807,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
806
807
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
807
808
|
template: '<ng-content></ng-content>',
|
|
808
809
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
809
|
-
inputs: ['ariaRequiredAttr', 'autocomplete', 'autofocus', 'controlledFilter', 'debounceDelay', 'description', 'disabled', 'emptyResult', 'error', 'errorDescription', 'filterMode', 'filterable', 'fluid', 'fuzzyThreshold', 'inputId', 'label', 'locale', 'maxHeight', 'maxResults', 'name', 'openOnSelect', 'options', 'placeholder', 'readonly', 'required', 'startFilterAt', 'truncatedResultsText', 'value', 'workerThreshold'],
|
|
810
|
-
outputs: ['valueChanged', 'filterTextChanged', 'openChanged', 'dropdownItemSelected'],
|
|
810
|
+
inputs: ['ariaRequiredAttr', 'autocomplete', 'autofocus', 'clearable', 'controlledFilter', 'debounceDelay', 'description', 'disabled', 'emptyResult', 'error', 'errorDescription', 'filterMode', 'filterable', 'fluid', 'fuzzyThreshold', 'inputId', 'label', 'locale', 'maxHeight', 'maxResults', 'name', 'openOnSelect', 'options', 'placeholder', 'readonly', 'required', 'startFilterAt', 'truncatedResultsText', 'value', 'workerThreshold'],
|
|
811
|
+
outputs: ['valueChanged', 'filterTextChanged', 'cleared', 'openChanged', 'dropdownItemSelected'],
|
|
811
812
|
standalone: false
|
|
812
813
|
}]
|
|
813
814
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { valueChanged: [{
|
|
814
815
|
type: Output
|
|
815
816
|
}], filterTextChanged: [{
|
|
816
817
|
type: Output
|
|
818
|
+
}], cleared: [{
|
|
819
|
+
type: Output
|
|
817
820
|
}], openChanged: [{
|
|
818
821
|
type: Output
|
|
819
822
|
}], dropdownItemSelected: [{
|
|
@@ -1001,15 +1004,17 @@ let NvFieldselect = class NvFieldselect {
|
|
|
1001
1004
|
constructor(c, r, z) {
|
|
1002
1005
|
this.z = z;
|
|
1003
1006
|
this.valueChanged = new EventEmitter();
|
|
1007
|
+
this.cleared = new EventEmitter();
|
|
1004
1008
|
c.detach();
|
|
1005
1009
|
this.el = r.nativeElement;
|
|
1006
1010
|
}
|
|
1007
1011
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvFieldselect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1008
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvFieldselect, isStandalone: false, selector: "nv-fieldselect", inputs: { ariaRequiredAttr: "ariaRequiredAttr", autofocus: "autofocus", description: "description", disabled: "disabled", displayValue: "displayValue", error: "error", errorDescription: "errorDescription", fluid: "fluid", inputId: "inputId", label: "label", message: "message", multiple: "multiple", name: "name", options: "options", readonly: "readonly", required: "required", success: "success", validation: "validation", value: "value" }, outputs: { valueChanged: "valueChanged" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1012
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvFieldselect, isStandalone: false, selector: "nv-fieldselect", inputs: { ariaRequiredAttr: "ariaRequiredAttr", autofocus: "autofocus", clearable: "clearable", description: "description", disabled: "disabled", displayValue: "displayValue", error: "error", errorDescription: "errorDescription", fluid: "fluid", inputId: "inputId", label: "label", message: "message", multiple: "multiple", name: "name", options: "options", readonly: "readonly", required: "required", success: "success", validation: "validation", value: "value" }, outputs: { valueChanged: "valueChanged", cleared: "cleared" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1009
1013
|
};
|
|
1010
1014
|
NvFieldselect = __decorate([
|
|
1011
1015
|
ProxyCmp({
|
|
1012
|
-
inputs: ['ariaRequiredAttr', 'autofocus', 'description', 'disabled', 'displayValue', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'message', 'multiple', 'name', 'options', 'readonly', 'required', 'success', 'validation', 'value']
|
|
1016
|
+
inputs: ['ariaRequiredAttr', 'autofocus', 'clearable', 'description', 'disabled', 'displayValue', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'message', 'multiple', 'name', 'options', 'readonly', 'required', 'success', 'validation', 'value'],
|
|
1017
|
+
methods: ['clear']
|
|
1013
1018
|
})
|
|
1014
1019
|
], NvFieldselect);
|
|
1015
1020
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvFieldselect, decorators: [{
|
|
@@ -1019,12 +1024,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1019
1024
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1020
1025
|
template: '<ng-content></ng-content>',
|
|
1021
1026
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1022
|
-
inputs: ['ariaRequiredAttr', 'autofocus', 'description', 'disabled', 'displayValue', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'message', 'multiple', 'name', 'options', 'readonly', 'required', 'success', 'validation', 'value'],
|
|
1023
|
-
outputs: ['valueChanged'],
|
|
1027
|
+
inputs: ['ariaRequiredAttr', 'autofocus', 'clearable', 'description', 'disabled', 'displayValue', 'error', 'errorDescription', 'fluid', 'inputId', 'label', 'message', 'multiple', 'name', 'options', 'readonly', 'required', 'success', 'validation', 'value'],
|
|
1028
|
+
outputs: ['valueChanged', 'cleared'],
|
|
1024
1029
|
standalone: false
|
|
1025
1030
|
}]
|
|
1026
1031
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { valueChanged: [{
|
|
1027
1032
|
type: Output
|
|
1033
|
+
}], cleared: [{
|
|
1034
|
+
type: Output
|
|
1028
1035
|
}] } });
|
|
1029
1036
|
let NvFieldslider = class NvFieldslider {
|
|
1030
1037
|
constructor(c, r, z) {
|
|
@@ -1475,15 +1482,16 @@ let NvSidebar = class NvSidebar {
|
|
|
1475
1482
|
constructor(c, r, z) {
|
|
1476
1483
|
this.z = z;
|
|
1477
1484
|
this.openChanged = new EventEmitter();
|
|
1485
|
+
this.widthChanged = new EventEmitter();
|
|
1478
1486
|
c.detach();
|
|
1479
1487
|
this.el = r.nativeElement;
|
|
1480
1488
|
}
|
|
1481
1489
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvSidebar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1482
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvSidebar, isStandalone: false, selector: "nv-sidebar", inputs: { activePath: "activePath", notificationEmphasis: "notificationEmphasis", notificationIntention: "notificationIntention", open: "open", type: "type" }, outputs: { openChanged: "openChanged" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1490
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvSidebar, isStandalone: false, selector: "nv-sidebar", inputs: { activePath: "activePath", maxWidth: "maxWidth", minWidth: "minWidth", notificationEmphasis: "notificationEmphasis", notificationIntention: "notificationIntention", open: "open", resizable: "resizable", type: "type", width: "width" }, outputs: { openChanged: "openChanged", widthChanged: "widthChanged" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1483
1491
|
};
|
|
1484
1492
|
NvSidebar = __decorate([
|
|
1485
1493
|
ProxyCmp({
|
|
1486
|
-
inputs: ['activePath', 'notificationEmphasis', 'notificationIntention', 'open', 'type']
|
|
1494
|
+
inputs: ['activePath', 'maxWidth', 'minWidth', 'notificationEmphasis', 'notificationIntention', 'open', 'resizable', 'type', 'width']
|
|
1487
1495
|
})
|
|
1488
1496
|
], NvSidebar);
|
|
1489
1497
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvSidebar, decorators: [{
|
|
@@ -1493,12 +1501,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1493
1501
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1494
1502
|
template: '<ng-content></ng-content>',
|
|
1495
1503
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1496
|
-
inputs: ['activePath', 'notificationEmphasis', 'notificationIntention', 'open', 'type'],
|
|
1497
|
-
outputs: ['openChanged'],
|
|
1504
|
+
inputs: ['activePath', 'maxWidth', 'minWidth', 'notificationEmphasis', 'notificationIntention', 'open', 'resizable', 'type', 'width'],
|
|
1505
|
+
outputs: ['openChanged', 'widthChanged'],
|
|
1498
1506
|
standalone: false
|
|
1499
1507
|
}]
|
|
1500
1508
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { openChanged: [{
|
|
1501
1509
|
type: Output
|
|
1510
|
+
}], widthChanged: [{
|
|
1511
|
+
type: Output
|
|
1502
1512
|
}] } });
|
|
1503
1513
|
let NvSidebarcontent = class NvSidebarcontent {
|
|
1504
1514
|
constructor(c, r, z) {
|
|
@@ -1747,6 +1757,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1747
1757
|
standalone: false
|
|
1748
1758
|
}]
|
|
1749
1759
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1760
|
+
let NvStatusindicator = class NvStatusindicator {
|
|
1761
|
+
constructor(c, r, z) {
|
|
1762
|
+
this.z = z;
|
|
1763
|
+
c.detach();
|
|
1764
|
+
this.el = r.nativeElement;
|
|
1765
|
+
}
|
|
1766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvStatusindicator, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1767
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvStatusindicator, isStandalone: false, selector: "nv-statusindicator", inputs: { emphasis: "emphasis", label: "label", status: "status" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1768
|
+
};
|
|
1769
|
+
NvStatusindicator = __decorate([
|
|
1770
|
+
ProxyCmp({
|
|
1771
|
+
inputs: ['emphasis', 'label', 'status']
|
|
1772
|
+
})
|
|
1773
|
+
], NvStatusindicator);
|
|
1774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvStatusindicator, decorators: [{
|
|
1775
|
+
type: Component,
|
|
1776
|
+
args: [{
|
|
1777
|
+
selector: 'nv-statusindicator',
|
|
1778
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1779
|
+
template: '<ng-content></ng-content>',
|
|
1780
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1781
|
+
inputs: ['emphasis', 'label', 'status'],
|
|
1782
|
+
standalone: false
|
|
1783
|
+
}]
|
|
1784
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
1750
1785
|
let NvTable = class NvTable {
|
|
1751
1786
|
constructor(c, r, z) {
|
|
1752
1787
|
this.z = z;
|
|
@@ -1799,6 +1834,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1799
1834
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { sortDirectionChanged: [{
|
|
1800
1835
|
type: Output
|
|
1801
1836
|
}] } });
|
|
1837
|
+
let NvTag = class NvTag {
|
|
1838
|
+
constructor(c, r, z) {
|
|
1839
|
+
this.z = z;
|
|
1840
|
+
this.dismissed = new EventEmitter();
|
|
1841
|
+
c.detach();
|
|
1842
|
+
this.el = r.nativeElement;
|
|
1843
|
+
}
|
|
1844
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvTag, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1845
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.5", type: NvTag, isStandalone: false, selector: "nv-tag", inputs: { color: "color", disabled: "disabled", dismissible: "dismissible", href: "href", label: "label", rel: "rel", target: "target" }, outputs: { dismissed: "dismissed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1846
|
+
};
|
|
1847
|
+
NvTag = __decorate([
|
|
1848
|
+
ProxyCmp({
|
|
1849
|
+
inputs: ['color', 'disabled', 'dismissible', 'href', 'label', 'rel', 'target']
|
|
1850
|
+
})
|
|
1851
|
+
], NvTag);
|
|
1852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NvTag, decorators: [{
|
|
1853
|
+
type: Component,
|
|
1854
|
+
args: [{
|
|
1855
|
+
selector: 'nv-tag',
|
|
1856
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1857
|
+
template: '<ng-content></ng-content>',
|
|
1858
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1859
|
+
inputs: ['color', 'disabled', 'dismissible', 'href', 'label', 'rel', 'target'],
|
|
1860
|
+
outputs: ['dismissed'],
|
|
1861
|
+
standalone: false
|
|
1862
|
+
}]
|
|
1863
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dismissed: [{
|
|
1864
|
+
type: Output
|
|
1865
|
+
}] } });
|
|
1802
1866
|
let NvTimetest = class NvTimetest {
|
|
1803
1867
|
constructor(c, r, z) {
|
|
1804
1868
|
this.z = z;
|
|
@@ -2014,8 +2078,10 @@ const DIRECTIVES = [
|
|
|
2014
2078
|
NvSidebarnavsubitem,
|
|
2015
2079
|
NvSplit,
|
|
2016
2080
|
NvStack,
|
|
2081
|
+
NvStatusindicator,
|
|
2017
2082
|
NvTable,
|
|
2018
2083
|
NvTableheader,
|
|
2084
|
+
NvTag,
|
|
2019
2085
|
NvTimetest,
|
|
2020
2086
|
NvToggle,
|
|
2021
2087
|
NvTogglebutton,
|
|
@@ -2857,8 +2923,12 @@ class NvDatatable {
|
|
|
2857
2923
|
pageIndex: 0,
|
|
2858
2924
|
pageSize: this.pagination()?.initialPageSize || 10,
|
|
2859
2925
|
});
|
|
2860
|
-
/**
|
|
2861
|
-
|
|
2926
|
+
/**
|
|
2927
|
+
* Sorting state. When sorting.sortState is provided the component is controlled;
|
|
2928
|
+
* initialSortState only seeds the uncontrolled state (seeded from the constructor
|
|
2929
|
+
* effect below — field initializers run before inputs are bound).
|
|
2930
|
+
*/
|
|
2931
|
+
this.sortingState = signal([]);
|
|
2862
2932
|
/** Reference to table rows for infinite scroll observer */
|
|
2863
2933
|
this.tableRows = viewChild('tableRow');
|
|
2864
2934
|
/** Intersection observer for infinite scroll */
|
|
@@ -3056,6 +3126,22 @@ class NvDatatable {
|
|
|
3056
3126
|
hasMore: isInfinite ? paginationConfig.hasMore : undefined,
|
|
3057
3127
|
};
|
|
3058
3128
|
});
|
|
3129
|
+
// Seed sortingState from sortState / initialSortState once the sorting input
|
|
3130
|
+
// is bound. Field initializers run before inputs are set, so we can't do this
|
|
3131
|
+
// inline in the signal definition.
|
|
3132
|
+
let sortingSeeded = false;
|
|
3133
|
+
effect(() => {
|
|
3134
|
+
if (sortingSeeded)
|
|
3135
|
+
return;
|
|
3136
|
+
const sorting = this.sorting();
|
|
3137
|
+
if (sorting === undefined)
|
|
3138
|
+
return;
|
|
3139
|
+
sortingSeeded = true;
|
|
3140
|
+
const seed = sorting.sortState ?? sorting.initialSortState;
|
|
3141
|
+
if (seed && seed.length > 0) {
|
|
3142
|
+
this.sortingState.set(seed);
|
|
3143
|
+
}
|
|
3144
|
+
}, { allowSignalWrites: true });
|
|
3059
3145
|
// Validate infinite scroll requires server mode
|
|
3060
3146
|
effect(() => {
|
|
3061
3147
|
const paginationConfig = this.pagination();
|
|
@@ -4479,7 +4565,7 @@ const VALUE_ACCESSORS = [
|
|
|
4479
4565
|
|
|
4480
4566
|
class NovaComponentsModule {
|
|
4481
4567
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NovaComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4482
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.5", ngImport: i0, type: NovaComponentsModule, declarations: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDatetest, NvDatetimetest, NvDialog, NvDialogfooter, NvDialogheader, NvDrawer, NvDrawerfooter, NvDrawerheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationBullet, NvNotificationcontainer, NvPaginationNav, NvPaginationtable, NvPopover, NvRow, NvSidebar, NvSidebarcontent, NvSidebardivider, NvSidebarfooter, NvSidebargroup, NvSidebarheader, NvSidebarlogo, NvSidebarnavitem, NvSidebarnavsubitem, NvSplit, NvStack, NvTable, NvTableheader, NvTimetest, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip], imports: [NvDatatable], exports: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDatetest, NvDatetimetest, NvDialog, NvDialogfooter, NvDialogheader, NvDrawer, NvDrawerfooter, NvDrawerheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationBullet, NvNotificationcontainer, NvPaginationNav, NvPaginationtable, NvPopover, NvRow, NvSidebar, NvSidebarcontent, NvSidebardivider, NvSidebarfooter, NvSidebargroup, NvSidebarheader, NvSidebarlogo, NvSidebarnavitem, NvSidebarnavsubitem, NvSplit, NvStack, NvTable, NvTableheader, NvTimetest, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip, NvDatatable] }); }
|
|
4568
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.5", ngImport: i0, type: NovaComponentsModule, declarations: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDatetest, NvDatetimetest, NvDialog, NvDialogfooter, NvDialogheader, NvDrawer, NvDrawerfooter, NvDrawerheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationBullet, NvNotificationcontainer, NvPaginationNav, NvPaginationtable, NvPopover, NvRow, NvSidebar, NvSidebarcontent, NvSidebardivider, NvSidebarfooter, NvSidebargroup, NvSidebarheader, NvSidebarlogo, NvSidebarnavitem, NvSidebarnavsubitem, NvSplit, NvStack, NvStatusindicator, NvTable, NvTableheader, NvTag, NvTimetest, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip], imports: [NvDatatable], exports: [NvAccordion, NvAccordionItem, NvAlert, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCol, NvDatagrid, NvDatagridcolumn, NvDatetest, NvDatetimetest, NvDialog, NvDialogfooter, NvDialogheader, NvDrawer, NvDrawerfooter, NvDrawerheader, NvFieldcheckbox, NvFielddate, NvFielddaterange, NvFielddropdown, NvFielddropdownitem, NvFielddropdownitemcheck, NvFieldmultiselect, NvFieldnumber, NvFieldpassword, NvFieldradio, NvFieldselect, NvFieldslider, NvFieldtext, NvFieldtextarea, NvFieldtime, NvIcon, NvIconbutton, NvLoader, NvMenu, NvMenuitem, NvNotification, NvNotificationBullet, NvNotificationcontainer, NvPaginationNav, NvPaginationtable, NvPopover, NvRow, NvSidebar, NvSidebarcontent, NvSidebardivider, NvSidebarfooter, NvSidebargroup, NvSidebarheader, NvSidebarlogo, NvSidebarnavitem, NvSidebarnavsubitem, NvSplit, NvStack, NvStatusindicator, NvTable, NvTableheader, NvTag, NvTimetest, NvToggle, NvTogglebutton, NvTogglebuttongroup, NvTooltip, NvDatatable] }); }
|
|
4483
4569
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NovaComponentsModule, imports: [NvDatatable] }); }
|
|
4484
4570
|
}
|
|
4485
4571
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: NovaComponentsModule, decorators: [{
|
|
@@ -4852,5 +4938,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
4852
4938
|
* Generated bundle index. Do not edit.
|
|
4853
4939
|
*/
|
|
4854
4940
|
|
|
4855
|
-
export { NotificationService, NotificationServiceComponent, NovaComponentsModule, NovaComponentsValueAccessorModule, NvAccordion, NvAccordionItem, NvAccordionValueAccessor, NvAlert, NvAlertValueAccessor, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCalendarValueAccessor, NvCol, NvDatagrid, NvDatagridValueAccessor, NvDatagridcolumn, NvDatatable, NvDatatableCellDirective, NvDatetest, NvDatetestValueAccessor, NvDatetimetest, NvDatetimetestValueAccessor, NvDialog, NvDialogValueAccessor, NvDialogfooter, NvDialogheader, NvDrawer, NvDrawerValueAccessor, NvDrawerfooter, NvDrawerheader, 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, NvNotificationBullet, NvNotificationValueAccessor, NvNotificationcontainer, NvPaginationNav, NvPaginationNavValueAccessor, NvPaginationtable, NvPaginationtableValueAccessor, NvPopover, NvPopoverValueAccessor, NvRow, NvSidebar, NvSidebarValueAccessor, NvSidebarcontent, NvSidebardivider, NvSidebarfooter, NvSidebargroup, NvSidebarheader, NvSidebarlogo, NvSidebarnavitem, NvSidebarnavsubitem, NvSplit, NvSplitValueAccessor, NvStack, NvTable, NvTableheader, NvTimetest, NvTimetestValueAccessor, NvToggle, NvToggleValueAccessor, NvTogglebutton, NvTogglebuttongroup, NvTogglebuttongroupValueAccessor, NvTooltip, VALUE_ACCESSORS, makeColumn, flexRenderComponent as nvDatatableRenderComponent };
|
|
4941
|
+
export { NotificationService, NotificationServiceComponent, NovaComponentsModule, NovaComponentsValueAccessorModule, NvAccordion, NvAccordionItem, NvAccordionValueAccessor, NvAlert, NvAlertValueAccessor, NvAvatar, NvBadge, NvBreadcrumb, NvBreadcrumbs, NvButton, NvButtongroup, NvCalendar, NvCalendarValueAccessor, NvCol, NvDatagrid, NvDatagridValueAccessor, NvDatagridcolumn, NvDatatable, NvDatatableCellDirective, NvDatetest, NvDatetestValueAccessor, NvDatetimetest, NvDatetimetestValueAccessor, NvDialog, NvDialogValueAccessor, NvDialogfooter, NvDialogheader, NvDrawer, NvDrawerValueAccessor, NvDrawerfooter, NvDrawerheader, 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, NvNotificationBullet, NvNotificationValueAccessor, NvNotificationcontainer, NvPaginationNav, NvPaginationNavValueAccessor, NvPaginationtable, NvPaginationtableValueAccessor, NvPopover, NvPopoverValueAccessor, NvRow, NvSidebar, NvSidebarValueAccessor, NvSidebarcontent, NvSidebardivider, NvSidebarfooter, NvSidebargroup, NvSidebarheader, NvSidebarlogo, NvSidebarnavitem, NvSidebarnavsubitem, NvSplit, NvSplitValueAccessor, NvStack, NvStatusindicator, NvTable, NvTableheader, NvTag, NvTimetest, NvTimetestValueAccessor, NvToggle, NvToggleValueAccessor, NvTogglebutton, NvTogglebuttongroup, NvTogglebuttongroupValueAccessor, NvTooltip, VALUE_ACCESSORS, makeColumn, flexRenderComponent as nvDatatableRenderComponent };
|
|
4856
4942
|
//# sourceMappingURL=nova-components.mjs.map
|