@smartbit4all/ng-client 3.3.183 → 3.3.184
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 +9 -5
- package/fesm2015/smartbit4all-ng-client.mjs +8 -4
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +8 -4
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.184.tgz +0 -0
- package/smartbit4all-ng-client-3.3.183.tgz +0 -0
|
@@ -15811,21 +15811,25 @@ class SmartComponentApiClient {
|
|
|
15811
15811
|
this.model = change.value;
|
|
15812
15812
|
}
|
|
15813
15813
|
}
|
|
15814
|
-
handleChangeWidgets(changedWidgets,
|
|
15814
|
+
handleChangeWidgets(changedWidgets, skipLoad = false) {
|
|
15815
15815
|
let widgets = this.getWidgets();
|
|
15816
15816
|
changedWidgets.forEach((key) => {
|
|
15817
15817
|
const reference = widgets.get(key);
|
|
15818
15818
|
if (reference instanceof SmartGridComponent) {
|
|
15819
15819
|
this.setupGridServices(reference);
|
|
15820
|
-
if (!
|
|
15820
|
+
if (!skipLoad) {
|
|
15821
15821
|
reference.refresh();
|
|
15822
15822
|
}
|
|
15823
15823
|
}
|
|
15824
15824
|
else if (reference instanceof SmarttreeGenericService) {
|
|
15825
|
-
|
|
15825
|
+
if (!skipLoad) {
|
|
15826
|
+
reference.initialize();
|
|
15827
|
+
}
|
|
15826
15828
|
}
|
|
15827
15829
|
else if (reference instanceof SmartFilterEditorService) {
|
|
15828
|
-
|
|
15830
|
+
if (!skipLoad) {
|
|
15831
|
+
reference.load();
|
|
15832
|
+
}
|
|
15829
15833
|
}
|
|
15830
15834
|
else if (reference === undefined) {
|
|
15831
15835
|
console.error(`Provided reference for ${key} is undefined.`);
|