@smartbit4all/ng-client 3.3.81 → 3.3.83
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/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +9 -2
- package/fesm2015/smartbit4all-ng-client.mjs +8 -1
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +8 -1
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +3 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.83.tgz +0 -0
- package/smartbit4all-ng-client-3.3.81.tgz +0 -0
|
@@ -13634,7 +13634,8 @@ class SmartFilterEditorContentComponent {
|
|
|
13634
13634
|
}
|
|
13635
13635
|
});
|
|
13636
13636
|
}
|
|
13637
|
-
ngOnInit() {
|
|
13637
|
+
ngOnInit() { }
|
|
13638
|
+
ngAfterViewInit() {
|
|
13638
13639
|
this.service.modelChanged.pipe(takeUntil(this._destroy$)).subscribe(() => this.setUp());
|
|
13639
13640
|
this.service.load();
|
|
13640
13641
|
}
|
|
@@ -13645,6 +13646,9 @@ class SmartFilterEditorContentComponent {
|
|
|
13645
13646
|
setupSimpleFilter() {
|
|
13646
13647
|
this.simpleFilterVcRef?.clear();
|
|
13647
13648
|
this.simpleFilterRef?.destroy();
|
|
13649
|
+
if (!this.simpleFilterRef) {
|
|
13650
|
+
return;
|
|
13651
|
+
}
|
|
13648
13652
|
let widgets = [];
|
|
13649
13653
|
let key;
|
|
13650
13654
|
let model = {};
|
|
@@ -13737,6 +13741,9 @@ class SmartFilterEditorContentComponent {
|
|
|
13737
13741
|
constructForm() {
|
|
13738
13742
|
this.vcRef?.clear();
|
|
13739
13743
|
this.formCompRef?.destroy();
|
|
13744
|
+
if (!this.vcRef) {
|
|
13745
|
+
return;
|
|
13746
|
+
}
|
|
13740
13747
|
let generatedWidgets = this.layoutService.render({
|
|
13741
13748
|
layoutDefinitions: this.service.model?.selectedFieldEditor?.layoutDef?.widgets,
|
|
13742
13749
|
});
|