@smartbit4all/ng-client 3.3.172 → 3.3.174
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 +17 -10
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +4 -1
- package/fesm2015/smartbit4all-ng-client.mjs +21 -12
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +19 -9
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +3 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.174.tgz +0 -0
- package/smartbit4all-ng-client-3.3.172.tgz +0 -0
|
@@ -5176,6 +5176,9 @@ class UiActionToolbarComponent {
|
|
|
5176
5176
|
}
|
|
5177
5177
|
this.setUp();
|
|
5178
5178
|
}
|
|
5179
|
+
ngAfterViewInit() {
|
|
5180
|
+
this.changeDetector.detectChanges();
|
|
5181
|
+
}
|
|
5179
5182
|
ngOnChanges(changes) {
|
|
5180
5183
|
if (changes['uiActionModels']) {
|
|
5181
5184
|
let uiActionModels = changes['uiActionModels'].currentValue;
|
|
@@ -15444,17 +15447,24 @@ class SmartComponentApiClient {
|
|
|
15444
15447
|
actionModel.push(action);
|
|
15445
15448
|
});
|
|
15446
15449
|
this.uiActionModels = globalUiActionModels;
|
|
15447
|
-
|
|
15450
|
+
toolbars.forEach(async (toolbar) => {
|
|
15448
15451
|
toolbar.uiActionModels = toolbarModels.get(toolbar.id);
|
|
15449
|
-
|
|
15450
|
-
}))
|
|
15451
|
-
.then(() => {
|
|
15452
|
-
// continue code here if needed
|
|
15453
|
-
this.changeDetector?.detectChanges();
|
|
15454
|
-
})
|
|
15455
|
-
.catch((error) => {
|
|
15456
|
-
console.error('An error occurred during toolbar setup:', error);
|
|
15452
|
+
await toolbar.setUp();
|
|
15457
15453
|
});
|
|
15454
|
+
this.changeDetector?.detectChanges();
|
|
15455
|
+
// Promise.all(
|
|
15456
|
+
// toolbars.map((toolbar) => {
|
|
15457
|
+
// toolbar.uiActionModels = toolbarModels.get(toolbar.id!);
|
|
15458
|
+
// return toolbar.setUp();
|
|
15459
|
+
// })
|
|
15460
|
+
// )
|
|
15461
|
+
// .then(() => {
|
|
15462
|
+
// // continue code here if needed
|
|
15463
|
+
// this.changeDetector?.detectChanges();
|
|
15464
|
+
// })
|
|
15465
|
+
// .catch((error) => {
|
|
15466
|
+
// console.error('An error occurred during toolbar setup:', error);
|
|
15467
|
+
// });
|
|
15458
15468
|
}
|
|
15459
15469
|
}
|
|
15460
15470
|
run() {
|