@ibiz-template/runtime 0.7.41-alpha.157 → 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.
Files changed (25) hide show
  1. package/dist/index.esm.js +11 -4
  2. package/dist/index.system.min.js +1 -1
  3. package/out/config/global-config.d.ts.map +1 -1
  4. package/out/config/global-config.js +1 -0
  5. package/out/controller/notification/async-action.controller.d.ts +1 -1
  6. package/out/controller/notification/async-action.controller.d.ts.map +1 -1
  7. package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +6 -0
  8. package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
  9. package/out/interface/controller/controller/notice/i-async-action.controller.d.ts +7 -0
  10. package/out/interface/controller/controller/notice/i-async-action.controller.d.ts.map +1 -1
  11. package/out/interface/service/service/i-async-action.service.d.ts +2 -2
  12. package/out/interface/service/service/i-async-action.service.d.ts.map +1 -1
  13. package/out/service/service/async-action/async-action.service.d.ts +2 -2
  14. package/out/service/service/async-action/async-action.service.d.ts.map +1 -1
  15. package/out/service/service/async-action/async-action.service.js +1 -1
  16. package/out/service/service/entity/de.service.d.ts.map +1 -1
  17. package/out/service/service/entity/de.service.js +14 -4
  18. package/package.json +2 -2
  19. package/src/config/global-config.ts +1 -0
  20. package/src/controller/notification/async-action.controller.ts +1 -1
  21. package/src/interface/api/common/global-config/i-api-global-common-config.ts +7 -0
  22. package/src/interface/controller/controller/notice/i-async-action.controller.ts +8 -0
  23. package/src/interface/service/service/i-async-action.service.ts +2 -2
  24. package/src/service/service/async-action/async-action.service.ts +3 -3
  25. 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 = {
@@ -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));