@ibiz-template/runtime 0.7.41-alpha.156 → 0.7.41-alpha.158
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/dist/index.esm.js +12 -5
- package/dist/index.system.min.js +1 -1
- package/out/config/global-config.d.ts.map +1 -1
- package/out/config/global-config.js +1 -0
- package/out/controller/control/caption-bar/caption-bar.controller.js +1 -1
- package/out/controller/notification/async-action.controller.d.ts +1 -1
- package/out/controller/notification/async-action.controller.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +6 -0
- package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
- package/out/interface/controller/controller/notice/i-async-action.controller.d.ts +7 -0
- package/out/interface/controller/controller/notice/i-async-action.controller.d.ts.map +1 -1
- package/out/interface/service/service/i-async-action.service.d.ts +2 -2
- package/out/interface/service/service/i-async-action.service.d.ts.map +1 -1
- package/out/service/service/async-action/async-action.service.d.ts +2 -2
- package/out/service/service/async-action/async-action.service.d.ts.map +1 -1
- package/out/service/service/async-action/async-action.service.js +1 -1
- package/out/service/service/entity/de.service.d.ts.map +1 -1
- package/out/service/service/entity/de.service.js +14 -4
- package/package.json +2 -2
- package/src/config/global-config.ts +1 -0
- package/src/controller/control/caption-bar/caption-bar.controller.ts +1 -1
- package/src/controller/notification/async-action.controller.ts +1 -1
- package/src/interface/api/common/global-config/i-api-global-common-config.ts +7 -0
- package/src/interface/controller/controller/notice/i-async-action.controller.ts +8 -0
- package/src/interface/service/service/i-async-action.service.ts +2 -2
- package/src/service/service/async-action/async-action.service.ts +3 -3
- package/src/service/service/entity/de.service.ts +54 -44
package/dist/index.esm.js
CHANGED
|
@@ -20028,7 +20028,8 @@ var GlobalConfig = class {
|
|
|
20028
20028
|
isEmbedAiHeaderHidden: false,
|
|
20029
20029
|
aiEnableBasicGroup: true,
|
|
20030
20030
|
aiNewTopicParamMode: "ACTIVATED",
|
|
20031
|
-
aiProjectSelectPlaceholder: void 0
|
|
20031
|
+
aiProjectSelectPlaceholder: void 0,
|
|
20032
|
+
aiKnowledgeBaseView: void 0
|
|
20032
20033
|
};
|
|
20033
20034
|
// 全局分页流布局配置
|
|
20034
20035
|
this.drtab = {
|
|
@@ -40233,7 +40234,7 @@ var CaptionBarController = class extends ControlController {
|
|
|
40233
40234
|
const { showDataInfoBar } = this.view.model;
|
|
40234
40235
|
if (ibiz.config.view.onlyShowDataInfo && showDataInfoBar && dataInfo) {
|
|
40235
40236
|
this.state.caption = dataInfo;
|
|
40236
|
-
} else if (!ibiz.config.view.enableDataInfoBar) {
|
|
40237
|
+
} else if (!ibiz.config.view.enableDataInfoBar || !showDataInfoBar) {
|
|
40237
40238
|
this.state.caption = "".concat(this.view.model.caption);
|
|
40238
40239
|
} else {
|
|
40239
40240
|
this.state.caption = "".concat(this.view.model.caption).concat(showDataInfoBar && dataInfo ? "-".concat(dataInfo) : "");
|
|
@@ -73127,12 +73128,15 @@ var DEService = class {
|
|
|
73127
73128
|
onclose: () => {
|
|
73128
73129
|
resolve();
|
|
73129
73130
|
},
|
|
73131
|
+
// reject 后必须再抛出错误,否则 fetch-event-source 会按默认间隔无限自动重连,
|
|
73132
|
+
// 重试节奏由上层业务(如网络中断自动续传)自行控制
|
|
73130
73133
|
onerror: (e) => {
|
|
73131
73134
|
reject(e);
|
|
73135
|
+
throw e;
|
|
73132
73136
|
},
|
|
73133
73137
|
signal
|
|
73134
73138
|
}
|
|
73135
|
-
);
|
|
73139
|
+
).catch(() => void 0);
|
|
73136
73140
|
});
|
|
73137
73141
|
}
|
|
73138
73142
|
/**
|
|
@@ -73170,12 +73174,15 @@ var DEService = class {
|
|
|
73170
73174
|
onclose: () => {
|
|
73171
73175
|
resolve();
|
|
73172
73176
|
},
|
|
73177
|
+
// reject 后必须再抛出错误,否则 fetch-event-source 会按默认间隔无限自动重连,
|
|
73178
|
+
// 重试节奏由上层业务(如网络中断自动续传)自行控制
|
|
73173
73179
|
onerror: (e) => {
|
|
73174
73180
|
reject(e);
|
|
73181
|
+
throw e;
|
|
73175
73182
|
},
|
|
73176
73183
|
signal
|
|
73177
73184
|
}
|
|
73178
|
-
);
|
|
73185
|
+
).catch(() => void 0);
|
|
73179
73186
|
});
|
|
73180
73187
|
}
|
|
73181
73188
|
/**
|
|
@@ -74010,7 +74017,7 @@ var AsyncActionService = class {
|
|
|
74010
74017
|
* @author lxm
|
|
74011
74018
|
* @date 2023-11-15 10:57:08
|
|
74012
74019
|
* @param {string} actionID
|
|
74013
|
-
* @return {*} {Promise<IHttpResponse<IPortalAsyncAction
|
|
74020
|
+
* @return {*} {Promise<IHttpResponse<IPortalAsyncAction>>}
|
|
74014
74021
|
*/
|
|
74015
74022
|
async get(actionID) {
|
|
74016
74023
|
const res = await ibiz.net.get("/portal/asyncaction/".concat(actionID));
|