@smartbit4all/ng-client 3.3.80 → 3.3.82
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-client/smart-component-api-client.mjs +3 -2
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +7 -1
- 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/package.json +1 -1
- package/smartbit4all-ng-client-3.3.82.tgz +0 -0
- package/smartbit4all-ng-client-3.3.80.tgz +0 -0
|
@@ -13645,6 +13645,9 @@ class SmartFilterEditorContentComponent {
|
|
|
13645
13645
|
setupSimpleFilter() {
|
|
13646
13646
|
this.simpleFilterVcRef?.clear();
|
|
13647
13647
|
this.simpleFilterRef?.destroy();
|
|
13648
|
+
if (!this.simpleFilterRef) {
|
|
13649
|
+
return;
|
|
13650
|
+
}
|
|
13648
13651
|
let widgets = [];
|
|
13649
13652
|
let key;
|
|
13650
13653
|
let model = {};
|
|
@@ -13737,6 +13740,9 @@ class SmartFilterEditorContentComponent {
|
|
|
13737
13740
|
constructForm() {
|
|
13738
13741
|
this.vcRef?.clear();
|
|
13739
13742
|
this.formCompRef?.destroy();
|
|
13743
|
+
if (!this.vcRef) {
|
|
13744
|
+
return;
|
|
13745
|
+
}
|
|
13740
13746
|
let generatedWidgets = this.layoutService.render({
|
|
13741
13747
|
layoutDefinitions: this.service.model?.selectedFieldEditor?.layoutDef?.widgets,
|
|
13742
13748
|
});
|
|
@@ -15101,7 +15107,8 @@ class SmartComponentApiClient {
|
|
|
15101
15107
|
addModelToWidgetAction(uiActionRequest) {
|
|
15102
15108
|
if (this.sendModelOnWidgetAction) {
|
|
15103
15109
|
this.submitForm(false);
|
|
15104
|
-
|
|
15110
|
+
// mimic ComponentModel
|
|
15111
|
+
uiActionRequest.params['clientPageModel'] = { data: this.getModel() };
|
|
15105
15112
|
}
|
|
15106
15113
|
}
|
|
15107
15114
|
// private async sendModelToServer() {
|