@smartbit4all/ng-client 4.2.109 → 4.2.111
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/esm2022/lib/smart-grid/components/generic-component/expanded-row-renderer.component.mjs +4 -4
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +1 -2
- package/fesm2022/smartbit4all-ng-client.mjs +3 -4
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.111.tgz +0 -0
- package/smartbit4all-ng-client-4.2.109.tgz +0 -0
|
@@ -12993,9 +12993,9 @@ class ExpandedRowRendererComponent {
|
|
|
12993
12993
|
async refreshRowData() {
|
|
12994
12994
|
if (!this.componentRef)
|
|
12995
12995
|
return;
|
|
12996
|
-
|
|
12997
|
-
this.componentRef.
|
|
12998
|
-
this.componentRef.
|
|
12996
|
+
let rowData = await this.rowExpander.expandAsync(this.rowId);
|
|
12997
|
+
this.componentRef.setInput('rowData', rowData);
|
|
12998
|
+
this.componentRef.setInput('smartGrid', this.smartGrid);
|
|
12999
12999
|
}
|
|
13000
13000
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: ExpandedRowRendererComponent, deps: [{ token: ComponentFactoryService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13001
13001
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: ExpandedRowRendererComponent, selector: "lib-expanded-row-renderer-component", inputs: { rowId: "rowId", rowExpander: "rowExpander", expandedComponent: "expandedComponent", smartGrid: "smartGrid" }, viewQueries: [{ propertyName: "vcRef", first: true, predicate: ["component"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<ng-template #component></ng-template>\r\n", styles: [""] }); }
|
|
@@ -13157,7 +13157,6 @@ class SmartGridComponent {
|
|
|
13157
13157
|
this.smartGrid.gridModel = this.service.gridModel;
|
|
13158
13158
|
this.render();
|
|
13159
13159
|
//Refresh expanded sections data
|
|
13160
|
-
console.log(this.expandedRowsComps);
|
|
13161
13160
|
if (this.smartGrid.expandable) {
|
|
13162
13161
|
this.expandedRowsComps.forEach((rowComp) => rowComp.refreshRowData());
|
|
13163
13162
|
}
|