@smartbit4all/ng-client 1.0.2 → 1.0.4
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.subject.mjs +11 -3
- package/esm2020/lib/view-context/smart-view-context.service.mjs +2 -1
- package/fesm2015/smartbit4all-ng-client.mjs +11 -2
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +11 -2
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart.subject.d.ts +2 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.0.4.tgz +0 -0
- package/smartbit4all-ng-client-1.0.2.tgz +0 -0
|
@@ -2177,6 +2177,7 @@ class SmartViewContextService {
|
|
|
2177
2177
|
async performAction(uuid, uiActionRequest) {
|
|
2178
2178
|
let viewContextChange = await this.view.performAction(uuid, uiActionRequest).toPromise();
|
|
2179
2179
|
this.viewContext = viewContextChange?.viewContext;
|
|
2180
|
+
this.syncView();
|
|
2180
2181
|
if (viewContextChange?.changes) {
|
|
2181
2182
|
this.handleChanges(viewContextChange.changes);
|
|
2182
2183
|
}
|
|
@@ -3607,8 +3608,16 @@ class SmartSubject extends Subject {
|
|
|
3607
3608
|
super();
|
|
3608
3609
|
this.unsubscribe$ = unsubscribe$;
|
|
3609
3610
|
}
|
|
3610
|
-
subscribe(
|
|
3611
|
-
|
|
3611
|
+
subscribe(observerOrNext, error, complete) {
|
|
3612
|
+
if (typeof observerOrNext === "object") {
|
|
3613
|
+
const next = observerOrNext.next;
|
|
3614
|
+
observerOrNext.next = (value) => {
|
|
3615
|
+
if (next) {
|
|
3616
|
+
next.call(observerOrNext, value);
|
|
3617
|
+
}
|
|
3618
|
+
};
|
|
3619
|
+
}
|
|
3620
|
+
const subscription = super.subscribe(observerOrNext, error, complete);
|
|
3612
3621
|
subscription.add(this.unsubscribe$.subscribe());
|
|
3613
3622
|
return subscription;
|
|
3614
3623
|
}
|