@smartbit4all/ng-client 3.1.46 → 3.1.47
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/view-context/api/api/view.service.mjs +4 -2
- package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
- package/esm2020/lib/view-context/smart-view-context.service.mjs +4 -4
- package/fesm2015/smartbit4all-ng-client.mjs +5 -4
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +6 -4
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/view-context/api/api/view.service.d.ts +6 -6
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.47.tgz +0 -0
- package/smartbit4all-ng-client-3.1.46.tgz +0 -0
|
@@ -1555,7 +1555,9 @@ class ViewService {
|
|
|
1555
1555
|
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
1556
1556
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
1557
1557
|
// to determine the Accept header
|
|
1558
|
-
const httpHeaderAccepts = [
|
|
1558
|
+
const httpHeaderAccepts = [
|
|
1559
|
+
'application/json'
|
|
1560
|
+
];
|
|
1559
1561
|
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1560
1562
|
}
|
|
1561
1563
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
@@ -2949,10 +2951,10 @@ class SmartViewContextService {
|
|
|
2949
2951
|
return uuid;
|
|
2950
2952
|
}
|
|
2951
2953
|
async message(messageData, messageResult) {
|
|
2952
|
-
await this.view
|
|
2954
|
+
return await this.handlePerformActionResponse(await this.view
|
|
2953
2955
|
.message(messageData.viewUuid ?? '', messageData.uuid, messageResult)
|
|
2954
|
-
.toPromise();
|
|
2955
|
-
|
|
2956
|
+
.toPromise());
|
|
2957
|
+
// in future use this.apiQueueService.addToQueue
|
|
2956
2958
|
}
|
|
2957
2959
|
async getSmartViewContextApiErrorByCode(code) {
|
|
2958
2960
|
let buttonLabel;
|