@smartbit4all/ng-client 1.0.14 → 1.0.16
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 +4 -1
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +6 -2
- package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -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/lib/view-context/smart-ui-action/ui-action.model.d.ts +2 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.0.16.tgz +0 -0
- package/smartbit4all-ng-client-1.0.14.tgz +0 -0
|
@@ -3566,7 +3566,11 @@ class UiActionToolbarComponent {
|
|
|
3566
3566
|
onActionClicked(event, uiActionModel) {
|
|
3567
3567
|
event.stopPropagation();
|
|
3568
3568
|
this.service.uiActionModel = uiActionModel;
|
|
3569
|
-
|
|
3569
|
+
let options = {
|
|
3570
|
+
nodeId: uiActionModel.nodeId,
|
|
3571
|
+
widgetId: uiActionModel.widgetId,
|
|
3572
|
+
};
|
|
3573
|
+
this.service.execute(uiActionModel.uiAction, options);
|
|
3570
3574
|
}
|
|
3571
3575
|
getType(uiActionModel) {
|
|
3572
3576
|
switch (uiActionModel.descriptor?.type) {
|
|
@@ -3754,6 +3758,9 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
3754
3758
|
return this._uuid;
|
|
3755
3759
|
}
|
|
3756
3760
|
set uuid(uuid) {
|
|
3761
|
+
if (this.uuid) {
|
|
3762
|
+
this.viewContext.unfollow(this.uuid);
|
|
3763
|
+
}
|
|
3757
3764
|
this._uuid = uuid;
|
|
3758
3765
|
this.viewContext.follow(this._uuid, this.detectChange);
|
|
3759
3766
|
}
|