@ni/nimble-angular 15.0.1 → 15.0.3
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/directives/table/nimble-table.directive.d.ts +7 -3
- package/esm2020/directives/table/nimble-table.directive.mjs +19 -2
- package/fesm2015/ni-nimble-angular.mjs +18 -1
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +18 -1
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6992,9 +6992,23 @@ class NimbleTableDirective {
|
|
|
6992
6992
|
set data(value) {
|
|
6993
6993
|
this.renderer.setProperty(this.elementRef.nativeElement, 'data', value);
|
|
6994
6994
|
}
|
|
6995
|
+
get idFieldName() {
|
|
6996
|
+
return this.elementRef.nativeElement.idFieldName;
|
|
6997
|
+
}
|
|
6998
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
6999
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
7000
|
+
set idFieldName(value) {
|
|
7001
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'idFieldName', value);
|
|
7002
|
+
}
|
|
7003
|
+
get validity() {
|
|
7004
|
+
return this.elementRef.nativeElement.validity;
|
|
7005
|
+
}
|
|
7006
|
+
checkValidity() {
|
|
7007
|
+
return this.elementRef.nativeElement.checkValidity();
|
|
7008
|
+
}
|
|
6995
7009
|
}
|
|
6996
7010
|
NimbleTableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: NimbleTableDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6997
|
-
NimbleTableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: NimbleTableDirective, selector: "nimble-table", inputs: { data: "data" }, ngImport: i0 });
|
|
7011
|
+
NimbleTableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: NimbleTableDirective, selector: "nimble-table", inputs: { data: "data", idFieldName: ["id-field-name", "idFieldName"] }, ngImport: i0 });
|
|
6998
7012
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: NimbleTableDirective, decorators: [{
|
|
6999
7013
|
type: Directive,
|
|
7000
7014
|
args: [{
|
|
@@ -7002,6 +7016,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImpo
|
|
|
7002
7016
|
}]
|
|
7003
7017
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { data: [{
|
|
7004
7018
|
type: Input
|
|
7019
|
+
}], idFieldName: [{
|
|
7020
|
+
type: Input,
|
|
7021
|
+
args: ['id-field-name']
|
|
7005
7022
|
}] } });
|
|
7006
7023
|
|
|
7007
7024
|
class NimbleTableModule {
|