ngx-rs-ant 2.1.0 → 2.1.1
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/esm2020/data-grid/cell-component-template/cell-component-template.component.mjs +13 -11
- package/esm2020/data-grid/data-grid.service.mjs +1 -1
- package/fesm2015/ngx-rs-ant.mjs +12 -10
- package/fesm2015/ngx-rs-ant.mjs.map +1 -1
- package/fesm2020/ngx-rs-ant.mjs +12 -10
- package/fesm2020/ngx-rs-ant.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/ngx-rs-ant.mjs
CHANGED
|
@@ -2747,16 +2747,18 @@ class CellComponentTemplateComponent {
|
|
|
2747
2747
|
this.cellComponentRef.createComponent(PluginNotFoundComponent);
|
|
2748
2748
|
return;
|
|
2749
2749
|
}
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2750
|
+
setTimeout(() => {
|
|
2751
|
+
const componentRef = this.cellComponentRef.createComponent(plugin.component);
|
|
2752
|
+
const instance = componentRef.instance;
|
|
2753
|
+
Object.assign(instance, cellComponentConfig);
|
|
2754
|
+
instance.field = this.cellInfo.column.dataField;
|
|
2755
|
+
instance.fieldConfig = fieldConfig;
|
|
2756
|
+
instance.rowData = this.cellInfo.data;
|
|
2757
|
+
instance.columnLookup = this.cellInfo.column.lookup;
|
|
2758
|
+
instance.value = this.cellInfo.value;
|
|
2759
|
+
instance.displayValue = this.cellInfo.displayValue;
|
|
2760
|
+
instance.loaded$ = this.service.cellTemplateLoaded$;
|
|
2761
|
+
});
|
|
2760
2762
|
}
|
|
2761
2763
|
}
|
|
2762
2764
|
CellComponentTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellComponentTemplateComponent, deps: [{ token: DataGridService }], target: i0.ɵɵFactoryTarget.Component });
|