@smartbit4all/ng-client 3.3.229 → 3.3.230
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 +10 -5
- package/fesm2015/smartbit4all-ng-client.mjs +9 -3
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +9 -4
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.230.tgz +0 -0
- package/smartbit4all-ng-client-3.3.229.tgz +0 -0
|
@@ -15763,7 +15763,9 @@ class SmartComponentApiClient {
|
|
|
15763
15763
|
if (identifier && !this.filterModelChangeSubjects.has(identifier)) {
|
|
15764
15764
|
this.filterModelChangeSubjects.set(identifier, service.modelChanged);
|
|
15765
15765
|
service.modelChanged.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
15766
|
-
this.
|
|
15766
|
+
if (this.getAllFilterUiActionToolbars().length > 0) {
|
|
15767
|
+
this.initActions();
|
|
15768
|
+
}
|
|
15767
15769
|
});
|
|
15768
15770
|
}
|
|
15769
15771
|
}
|
|
@@ -15878,12 +15880,15 @@ class SmartComponentApiClient {
|
|
|
15878
15880
|
?.flatMap((form) => form.getToolbars())
|
|
15879
15881
|
.filter((toolbar) => toolbar !== undefined || toolbar !== null)
|
|
15880
15882
|
.forEach((toolbar) => toolbars.push(toolbar));
|
|
15881
|
-
this.
|
|
15883
|
+
this.getAllFilterUiActionToolbars().forEach((toolbar) => toolbars.push(toolbar));
|
|
15884
|
+
return toolbars;
|
|
15885
|
+
}
|
|
15886
|
+
getAllFilterUiActionToolbars() {
|
|
15887
|
+
return this.getAllSmartFilterEditorContentComponents()
|
|
15882
15888
|
?.filter((filter) => filter.simpleFilterRef?.instance !== undefined)
|
|
15883
15889
|
.flatMap((filter) => filter.simpleFilterRef?.instance.getToolbars())
|
|
15884
15890
|
.filter((toolbar) => toolbar !== undefined || toolbar !== null)
|
|
15885
|
-
.
|
|
15886
|
-
return toolbars;
|
|
15891
|
+
.map((toolbar) => toolbar);
|
|
15887
15892
|
}
|
|
15888
15893
|
initData() {
|
|
15889
15894
|
if (this.model?.data) {
|