@ni/nimble-angular 16.5.4 → 16.5.6
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 +1 -1
- package/esm2020/directives/table/nimble-table.directive.mjs +6 -4
- package/fesm2015/ni-nimble-angular.mjs +6 -2
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +5 -3
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -7503,7 +7503,9 @@ class NimbleTableDirective {
|
|
|
7503
7503
|
this.dataSubscription?.unsubscribe();
|
|
7504
7504
|
this.dataObservable = value;
|
|
7505
7505
|
if (value) {
|
|
7506
|
-
this.dataSubscription = value.subscribe(next =>
|
|
7506
|
+
this.dataSubscription = value.subscribe(next => {
|
|
7507
|
+
void this.setData(next);
|
|
7508
|
+
});
|
|
7507
7509
|
}
|
|
7508
7510
|
}
|
|
7509
7511
|
get idFieldName() {
|
|
@@ -7523,8 +7525,8 @@ class NimbleTableDirective {
|
|
|
7523
7525
|
checkValidity() {
|
|
7524
7526
|
return this.elementRef.nativeElement.checkValidity();
|
|
7525
7527
|
}
|
|
7526
|
-
setData(data) {
|
|
7527
|
-
this.elementRef.nativeElement.setData(data);
|
|
7528
|
+
async setData(data) {
|
|
7529
|
+
return this.elementRef.nativeElement.setData(data);
|
|
7528
7530
|
}
|
|
7529
7531
|
}
|
|
7530
7532
|
NimbleTableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|