@ibiz-template/core 0.7.41-alpha.7 → 0.7.41-alpha.78

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 (54) hide show
  1. package/dist/index.esm.js +70 -38
  2. package/dist/index.system.min.js +1 -1
  3. package/out/context/index.d.ts +0 -6
  4. package/out/context/index.d.ts.map +1 -1
  5. package/out/context/index.js +0 -29
  6. package/out/environment/environment.d.ts.map +1 -1
  7. package/out/environment/environment.js +7 -0
  8. package/out/error/http-error/http-error.d.ts +2 -2
  9. package/out/error/http-error/http-error.d.ts.map +1 -1
  10. package/out/interface/api/chat-message/i-api-chat-message.d.ts +63 -0
  11. package/out/interface/api/chat-message/i-api-chat-message.d.ts.map +1 -0
  12. package/out/interface/api/chat-message/i-api-chat-message.js +1 -0
  13. package/out/interface/api/chat-message/index.d.ts +2 -0
  14. package/out/interface/api/chat-message/index.d.ts.map +1 -0
  15. package/out/interface/api/chat-message/index.js +1 -0
  16. package/out/interface/api/environment/i-devtool-config.d.ts +11 -1
  17. package/out/interface/api/environment/i-devtool-config.d.ts.map +1 -1
  18. package/out/interface/api/environment/i-environment.d.ts +138 -1
  19. package/out/interface/api/environment/i-environment.d.ts.map +1 -1
  20. package/out/interface/api/index.d.ts +1 -0
  21. package/out/interface/api/index.d.ts.map +1 -1
  22. package/out/interface/api/index.js +1 -0
  23. package/out/interface/api/utils/i-api-i18n.d.ts +9 -9
  24. package/out/interface/api/utils/index.d.ts +1 -0
  25. package/out/interface/api/utils/index.d.ts.map +1 -1
  26. package/out/interface/api/utils/message-center/base/i-message-base.d.ts +3 -3
  27. package/out/interface/api/utils/message-center/command/add-in-changed/i-command-add-in-changed.d.ts +1 -1
  28. package/out/interface/api/utils/message-center/command/async-action/i-command-async-action.d.ts +1 -1
  29. package/out/interface/api/utils/message-center/command/i-message-command.d.ts +1 -1
  30. package/out/interface/api/utils/message-center/command/internal-message/i-command-internal-message.d.ts +1 -1
  31. package/out/interface/api/utils/message-center/command/mark-open-data/i-command-mark-open-data.d.ts +1 -1
  32. package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts +5 -0
  33. package/out/interface/api/utils/message-center/common/i-message-center-event.d.ts.map +1 -1
  34. package/out/interface/api/utils/message-center/console/i-message-console.d.ts +1 -1
  35. package/out/interface/api/utils/message-center/error/i-message-error.d.ts +1 -1
  36. package/out/interface/api/utils/message-center/i-message-center.d.ts +2 -2
  37. package/out/interface/api/utils/net/i-api-http-error.d.ts +39 -0
  38. package/out/interface/api/utils/net/i-api-http-error.d.ts.map +1 -0
  39. package/out/interface/api/utils/net/i-api-http-error.js +1 -0
  40. package/out/interface/context/index.d.ts +0 -6
  41. package/out/interface/context/index.d.ts.map +1 -1
  42. package/out/interface/i-chat-message/i-chat-message.d.ts +2 -49
  43. package/out/interface/i-chat-message/i-chat-message.d.ts.map +1 -1
  44. package/out/utils/download-file/download-file.d.ts.map +1 -1
  45. package/out/utils/download-file/download-file.js +11 -1
  46. package/out/utils/interceptor/core-interceptor.js +2 -1
  47. package/out/utils/net/net.d.ts +1 -1
  48. package/out/utils/net/net.d.ts.map +1 -1
  49. package/out/utils/recursive/find-recursive-child.d.ts +20 -0
  50. package/out/utils/recursive/find-recursive-child.d.ts.map +1 -1
  51. package/out/utils/recursive/find-recursive-child.js +69 -7
  52. package/out/utils/string-util/string-util.d.ts.map +1 -1
  53. package/out/utils/string-util/string-util.js +2 -4
  54. package/package.json +4 -4
@@ -3,4 +3,5 @@ export * from './environment';
3
3
  export * from './global-param';
4
4
  export * from './ibizsys';
5
5
  export * from './utils';
6
+ export * from './chat-message';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -3,3 +3,4 @@ export * from './environment';
3
3
  export * from './global-param';
4
4
  export * from './ibizsys';
5
5
  export * from './utils';
6
+ export * from './chat-message';
@@ -7,7 +7,7 @@ import { IApiParams } from '../global-param';
7
7
  export interface IApiI18n {
8
8
  /**
9
9
  * @description 设置当前语言
10
- * @param {string} lang
10
+ * @param {string} lang 语言
11
11
  * @memberof IApiI18n
12
12
  */
13
13
  setLang(lang: string): void;
@@ -19,31 +19,31 @@ export interface IApiI18n {
19
19
  getLang(): string;
20
20
  /**
21
21
  * @description 消息格式化
22
- * @param {string} tag
23
- * @param {IApiParams} [options]
22
+ * @param {string} tag 消息key
23
+ * @param {IApiParams} [options] 翻译配置
24
24
  * @returns {*} {string}
25
25
  * @memberof IApiI18n
26
26
  */
27
27
  t(tag: string, options?: IApiParams): string;
28
28
  /**
29
29
  * @description 消息格式化
30
- * @param {string} tag
31
- * @param {string} [defaultMsg]
32
- * @param {IApiParams} [options]
30
+ * @param {string} tag 消息key
31
+ * @param {string} [defaultMsg] 未找到翻译时默认呈现的消息
32
+ * @param {IApiParams} [options] 翻译配置
33
33
  * @returns {*} {string}
34
34
  * @memberof IApiI18n
35
35
  */
36
36
  t(tag: string, defaultMsg?: string, options?: IApiParams): string;
37
37
  /**
38
38
  * @description 合并指定语言语言资源
39
- * @param {string} lang
40
- * @param {IApiParams} data
39
+ * @param {string} lang 语言
40
+ * @param {IApiParams} data 语言资源
41
41
  * @memberof IApiI18n
42
42
  */
43
43
  mergeLocaleMessage(lang: string, data: IApiParams): void;
44
44
  /**
45
45
  * @description 合并语言资源
46
- * @param {IApiParams} data
46
+ * @param {IApiParams} data 语言资源
47
47
  * @memberof IApiI18n
48
48
  */
49
49
  mergeLocaleMessage(data: IApiParams): void;
@@ -2,4 +2,5 @@ export * from './message-center';
2
2
  export type { IApiI18n } from './i-api-i18n';
3
3
  export type { IApiNet } from './net/i-api-net';
4
4
  export type { IHttpResponse } from './net/i-http-response';
5
+ export type { IApiHttpError } from './net/i-api-http-error';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC"}
@@ -7,19 +7,19 @@ import { IPortalMessage } from '../common';
7
7
  export interface IMessageBase {
8
8
  /**
9
9
  * @description 推送标准结构消息
10
- * @param {IPortalMessage} msg
10
+ * @param {IPortalMessage} msg 消息
11
11
  * @memberof IMessageBase
12
12
  */
13
13
  next(msg: IPortalMessage): void;
14
14
  /**
15
15
  * @description 订阅消息
16
- * @param {(msg: IPortalMessage) => void} cb
16
+ * @param {(msg: IPortalMessage) => void} cb 回调函数
17
17
  * @memberof IMessageBase
18
18
  */
19
19
  on(cb: (msg: IPortalMessage) => void): void;
20
20
  /**
21
21
  * @description 取消订阅消息
22
- * @param {(msg: IPortalMessage) => void} cb
22
+ * @param {(msg: IPortalMessage) => void} cb 回调函数
23
23
  * @memberof IMessageBase
24
24
  */
25
25
  off(cb: (msg: IPortalMessage) => void): void;
@@ -9,7 +9,7 @@ import { IAddInChanged } from './i-add-in-changed';
9
9
  export interface ICommandAddInChanged extends ICommandBase {
10
10
  /**
11
11
  * @description 发送消息
12
- * @param {IAddInChanged} data
12
+ * @param {IAddInChanged} data 添加的变更数据
13
13
  * @memberof ICommandAddInChanged
14
14
  */
15
15
  send(data: IAddInChanged): void;
@@ -9,7 +9,7 @@ import { ICommandBase } from '../i-command-base';
9
9
  export interface ICommandAsyncAction extends ICommandBase {
10
10
  /**
11
11
  * @description 发送消息
12
- * @param {IPortalAsyncAction} data
12
+ * @param {IPortalAsyncAction} data 异步作业数据
13
13
  * @memberof ICommandAsyncAction
14
14
  */
15
15
  send(data: IPortalAsyncAction): void;
@@ -66,7 +66,7 @@ export interface IMessageCommand extends IMessageBase {
66
66
  readonly addInChanged: ICommandAddInChanged;
67
67
  /**
68
68
  * @description 推送指令消息
69
- * @param {IPortalMessage} msg
69
+ * @param {IPortalMessage} msg 消息
70
70
  * @memberof IMessageCommand
71
71
  */
72
72
  next(msg: IPortalMessage): void;
@@ -9,7 +9,7 @@ import { IInternalMessage } from './i-internal-message';
9
9
  export interface ICommandInternalMessage extends ICommandBase {
10
10
  /**
11
11
  * @description 发送消息
12
- * @param {IInternalMessage} data
12
+ * @param {IInternalMessage} data 站内信数据
13
13
  * @memberof ICommandInternalMessage
14
14
  */
15
15
  send(data: IInternalMessage): void;
@@ -9,7 +9,7 @@ import { IMarkOpenData } from './i-mark-open-data';
9
9
  export interface ICommandMarkOpenData extends ICommandBase {
10
10
  /**
11
11
  * @description 发送消息
12
- * @param {IMarkOpenData} data
12
+ * @param {IMarkOpenData} data 协同数据
13
13
  * @memberof ICommandMarkOpenData
14
14
  */
15
15
  send(data: IMarkOpenData): void;
@@ -5,6 +5,11 @@ import { IPortalMessage } from './i-portal-message';
5
5
  * @interface IMessageCenterEvent
6
6
  */
7
7
  export interface IMessageCenterEvent {
8
+ /**
9
+ * @description 所有消息事件
10
+ * @param {IPortalMessage} msg 消息
11
+ * @memberof IMessageCenterEvent
12
+ */
8
13
  all: (msg: IPortalMessage) => void;
9
14
  }
10
15
  //# sourceMappingURL=i-message-center-event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-message-center-event.d.ts","sourceRoot":"","sources":["../../../../../../src/interface/api/utils/message-center/common/i-message-center-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,CAAC;CACpC"}
1
+ {"version":3,"file":"i-message-center-event.d.ts","sourceRoot":"","sources":["../../../../../../src/interface/api/utils/message-center/common/i-message-center-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,GAAG,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,CAAC;CACpC"}
@@ -9,7 +9,7 @@ import { IMessageBase } from '../base';
9
9
  export interface IMessageConsole extends IMessageBase {
10
10
  /**
11
11
  * @description 发送消息
12
- * @param {(IApiData | string)} data
12
+ * @param {(IApiData | string)} data 日志数据
13
13
  * @memberof IMessageConsole
14
14
  */
15
15
  send(data: IApiData | string): void;
@@ -9,7 +9,7 @@ import { IMessageBase } from '../base';
9
9
  export interface IMessageError extends IMessageBase {
10
10
  /**
11
11
  * @description 发送消息
12
- * @param {(IApiData | string)} data
12
+ * @param {(IApiData | string)} data 错误数据
13
13
  * @memberof IMessageError
14
14
  */
15
15
  send(data: IApiData | string): void;
@@ -34,13 +34,13 @@ export interface IMessageCenter {
34
34
  next(msg: IPortalMessage): void;
35
35
  /**
36
36
  * @description 订阅消息
37
- * @param {(msg: IPortalMessage) => void} callback
37
+ * @param {(msg: IPortalMessage) => void} callback 回调函数
38
38
  * @memberof IMessageCenter
39
39
  */
40
40
  on(callback: (msg: IPortalMessage) => void): void;
41
41
  /**
42
42
  * @description 取消订阅
43
- * @param {(msg: IPortalMessage) => void} callback
43
+ * @param {(msg: IPortalMessage) => void} callback 回调函数
44
44
  * @memberof IMessageCenter
45
45
  */
46
46
  off(callback: (msg: IPortalMessage) => void): void;
@@ -0,0 +1,39 @@
1
+ import { AxiosResponse } from 'axios';
2
+ /**
3
+ * @description Http错误接口
4
+ * @export
5
+ * @interface IApiHttpError
6
+ */
7
+ export interface IApiHttpError {
8
+ /**
9
+ * @description 错误名称
10
+ * @type {string}
11
+ * @memberof IApiHttpError
12
+ */
13
+ name: string;
14
+ /**
15
+ * @description 错误消息
16
+ * @type {string}
17
+ * @memberof IApiHttpError
18
+ */
19
+ message: string;
20
+ /**
21
+ * @description 状态码
22
+ * @type {number}
23
+ * @memberof IApiHttpError
24
+ */
25
+ status: number;
26
+ /**
27
+ * @description 错误标识
28
+ * @type {string}
29
+ * @memberof IApiHttpError
30
+ */
31
+ tag: string;
32
+ /**
33
+ * @description axios响应对象
34
+ * @type {AxiosResponse}
35
+ * @memberof IApiHttpError
36
+ */
37
+ response?: AxiosResponse;
38
+ }
39
+ //# sourceMappingURL=i-api-http-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-api-http-error.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/utils/net/i-api-http-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B"}
@@ -0,0 +1 @@
1
+ export {};
@@ -11,12 +11,6 @@ export interface IIBizContext extends IContext {
11
11
  * @memberof IIBizContext
12
12
  */
13
13
  getOwnContext(): IData;
14
- /**
15
- * @description 返回没有预置字段的上下文
16
- * @returns {*} {IData}
17
- * @memberof IIBizContext
18
- */
19
- getTempContext(): IData;
20
14
  /**
21
15
  * @description 销毁当前上下文
22
16
  * @memberof IIBizContext
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/context/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C;;;;OAIG;IACH,aAAa,IAAI,KAAK,CAAC;IAEvB;;;;OAIG;IACH,cAAc,IAAI,KAAK,CAAC;IAExB;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;IAEhB;;;;OAIG;IACH,KAAK,IAAI,QAAQ,CAAC;IAElB;;;;OAIG;IACH,SAAS,IAAI,KAAK,CAAC;IAEnB;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACjD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/context/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C;;;;OAIG;IACH,aAAa,IAAI,KAAK,CAAC;IAEvB;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAC;IAEhB;;;;OAIG;IACH,KAAK,IAAI,QAAQ,CAAC;IAElB;;;;OAIG;IACH,SAAS,IAAI,KAAK,CAAC;IAEnB;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACjD"}
@@ -1,63 +1,16 @@
1
1
  import { IPortalAsyncAction } from '../api';
2
+ import { IApiChatMessage } from '../api/chat-message';
2
3
  /**
3
4
  * @description AI聊天消息
4
5
  * @export
5
6
  * @interface IChatMessage
6
7
  */
7
- export interface IChatMessage {
8
- /**
9
- * @description 消息标识
10
- * @type {string}
11
- * @memberof IChatMessage
12
- */
13
- messageid?: string;
14
- /**
15
- * @description 消息名称
16
- * @type {string}
17
- * @memberof IChatMessage
18
- */
19
- messagename?: string;
20
- /**
21
- * @description 消息类型
22
- * @type {string}
23
- * @memberof IChatMessage
24
- */
25
- type?: string;
26
- /**
27
- * @description 消息子类型
28
- * @type {string}
29
- * @memberof IChatMessage
30
- */
31
- subtype?: string;
32
- /**
33
- * @description 消息角色
34
- * @type {('ASSISTANT' | 'USER' | 'SYSTEM')} 助手 | 用户 | 系统
35
- * @memberof IChatMessage
36
- */
37
- role: 'ASSISTANT' | 'USER' | 'SYSTEM';
38
- /**
39
- * @description 内容摘要
40
- * @type {string}
41
- * @memberof IChatMessage
42
- */
43
- content: string;
8
+ export interface IChatMessage extends IApiChatMessage {
44
9
  /**
45
10
  * @description 消息数据
46
11
  * @type {(IPortalAsyncAction | IData | string | unknown)}
47
12
  * @memberof IChatMessage
48
13
  */
49
14
  data?: IPortalAsyncAction | IData | string | unknown;
50
- /**
51
- * @description 消息路径
52
- * @type {string}
53
- * @memberof IChatMessage
54
- */
55
- url?: string;
56
- /**
57
- * @description 内容(排除排除think、resources、suggesions内容)
58
- * @type {string}
59
- * @memberof IChatMessage
60
- */
61
- realcontent?: string;
62
15
  }
63
16
  //# sourceMappingURL=i-chat-message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-chat-message.d.ts","sourceRoot":"","sources":["../../../src/interface/i-chat-message/i-chat-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,WAAW,GAAG,MAAM,GAAG,QAAQ,CAAC;IAEtC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;IAErD;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"i-chat-message.d.ts","sourceRoot":"","sources":["../../../src/interface/i-chat-message/i-chat-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD;;;;OAIG;IACH,IAAI,CAAC,EAAE,kBAAkB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;CACtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.d.ts","sourceRoot":"","sources":["../../../src/utils/download-file/download-file.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAmD3D;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAOjD;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAmBvE"}
1
+ {"version":3,"file":"download-file.d.ts","sourceRoot":"","sources":["../../../src/utils/download-file/download-file.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CA6D3D;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAOjD;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAmBvE"}
@@ -48,9 +48,19 @@ export function calcMimeByFileName(fileName) {
48
48
  case 'tar':
49
49
  mime = 'application/x-tar';
50
50
  break;
51
- case 'xlsx':
51
+ case 'xls':
52
52
  mime = 'application/vnd.ms-excel';
53
53
  break;
54
+ case 'xlsx':
55
+ mime =
56
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
57
+ break;
58
+ case 'pdf':
59
+ mime = 'application/pdf';
60
+ break;
61
+ case 'html':
62
+ mime = 'text/html';
63
+ break;
54
64
  default:
55
65
  mime = '';
56
66
  }
@@ -46,6 +46,7 @@ export class CoreInterceptor extends Interceptor {
46
46
  * @memberof CoreInterceptor
47
47
  */
48
48
  async onResponseError(error) {
49
+ var _a;
49
50
  const { config, response } = error;
50
51
  if (this.instance &&
51
52
  (response === null || response === void 0 ? void 0 : response.status) === 401 &&
@@ -77,7 +78,7 @@ export class CoreInterceptor extends Interceptor {
77
78
  await ibiz.auth.refreshToken();
78
79
  }
79
80
  // 重新加载应用数据
80
- const res = await ibiz.net.get('/appdata', ibiz.appUtil.getAppContext());
81
+ const res = await ibiz.net.get('/appdata', (_a = ibiz.appUtil) === null || _a === void 0 ? void 0 : _a.getAppContext());
81
82
  if (res && res.ok) {
82
83
  ibiz.appData = res.data;
83
84
  }
@@ -27,7 +27,7 @@ export declare class Net implements IApiNet {
27
27
  * @protected
28
28
  * @memberof Net
29
29
  */
30
- protected waitRequest: Map<string, Promise<AxiosResponse<any, any>>>;
30
+ protected waitRequest: Map<string, Promise<AxiosResponse<any, any, {}>>>;
31
31
  protected get baseUrl(): string;
32
32
  /**
33
33
  * Creates an instance of Net.
@@ -1 +1 @@
1
- {"version":3,"file":"net.d.ts","sourceRoot":"","sources":["../../../src/utils/net/net.ts"],"names":[],"mappings":"AAAA,OAAc,EAEZ,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,mBAAmB,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,oBAAoB,EAErB,MAAM,+BAA+B,CAAC;AAOvC,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,qBAAa,GAAI,YAAW,OAAO;IACjC;;;;;OAKG;IACH,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC;IAElC;;;;OAIG;IACH,SAAS,CAAC,MAAM,SAA0B;IAE1C;;;;OAIG;IACH,SAAS,CAAC,WAAW,gDAA6C;IAElE,SAAS,KAAK,OAAO,IAAI,MAAM,CAI9B;IAED;;;;OAIG;gBACS,MAAM,CAAC,EAAE,mBAAmB;IAKxC;;;;OAIG;IACH,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAa;IAEnD;;;;;OAKG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAG,IAAI;IAK5D;;;;OAIG;IACH,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQrC;;;;;;OAMG;IACH,SAAS,KAAK,YAAY,IAAI,kBAAkB,CAS/C;IAED;;;;;;OAMG;IACH,SAAS,CAAC,WAAW,CAAC,GAAG,OAAO,EAAE,kBAAkB,EAAE,GAAG,kBAAkB;IAY3E;;;;;;;;OAQG;IACG,IAAI,CACR,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,KAAK,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAczB;;;;;;;;OAQG;IACG,GAAG,CACP,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,EACpC,MAAM,GAAE,kBAAuB,GAC9B,OAAO,CAAC,aAAa,CAAC;IAazB;;;;;;;OAOG;IACG,MAAM,CACV,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAUzB;;;;;;;;OAQG;IACG,GAAG,CACP,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,KAAK,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAczB;;;;;;OAMG;IACG,QAAQ,CACZ,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAWzB;;;;;;OAMG;IACG,OAAO,CACX,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,kBAAuB,GAC9B,OAAO,CAAC,aAAa,CAAC;IA4BzB;;;;;OAKG;IACH,KAAK,CAAC,MAAM,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAIhE;;;;;;;OAOG;IACG,GAAG,CACP,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,OAAO,EACf,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,IAAI,CAAC;IAmChB;;;;;;OAMG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;IAuB5B;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;CAgCvB"}
1
+ {"version":3,"file":"net.d.ts","sourceRoot":"","sources":["../../../src/utils/net/net.ts"],"names":[],"mappings":"AAAA,OAAc,EAEZ,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,mBAAmB,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,oBAAoB,EAErB,MAAM,+BAA+B,CAAC;AAOvC,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,qBAAa,GAAI,YAAW,OAAO;IACjC;;;;;OAKG;IACH,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC;IAElC;;;;OAIG;IACH,SAAS,CAAC,MAAM,SAA0B;IAE1C;;;;OAIG;IACH,SAAS,CAAC,WAAW,oDAA6C;IAElE,SAAS,KAAK,OAAO,IAAI,MAAM,CAI9B;IAED;;;;OAIG;gBACS,MAAM,CAAC,EAAE,mBAAmB;IAKxC;;;;OAIG;IACH,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAa;IAEnD;;;;;OAKG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAG,IAAI;IAK5D;;;;OAIG;IACH,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQrC;;;;;;OAMG;IACH,SAAS,KAAK,YAAY,IAAI,kBAAkB,CAS/C;IAED;;;;;;OAMG;IACH,SAAS,CAAC,WAAW,CAAC,GAAG,OAAO,EAAE,kBAAkB,EAAE,GAAG,kBAAkB;IAY3E;;;;;;;;OAQG;IACG,IAAI,CACR,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,KAAK,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAczB;;;;;;;;OAQG;IACG,GAAG,CACP,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,EACpC,MAAM,GAAE,kBAAuB,GAC9B,OAAO,CAAC,aAAa,CAAC;IAazB;;;;;;;OAOG;IACG,MAAM,CACV,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAUzB;;;;;;;;OAQG;IACG,GAAG,CACP,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,KAAK,EACX,MAAM,GAAE,OAAY,EACpB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAczB;;;;;;OAMG;IACG,QAAQ,CACZ,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,aAAa,CAAC;IAWzB;;;;;;OAMG;IACG,OAAO,CACX,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,kBAAuB,GAC9B,OAAO,CAAC,aAAa,CAAC;IA4BzB;;;;;OAKG;IACH,KAAK,CAAC,MAAM,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAIhE;;;;;;;OAOG;IACG,GAAG,CACP,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,OAAO,EACf,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,IAAI,CAAC;IAmChB;;;;;;OAMG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;;;;;;;OAQG;IACH,OAAO,CAAC,oBAAoB;IAuB5B;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;CAgCvB"}
@@ -2,6 +2,8 @@
2
2
  declare const IterateOpts: {
3
3
  /** 子集合属性数组 */
4
4
  childrenFields: string[];
5
+ /** 是否跳出当前操作 */
6
+ isBreak: boolean;
5
7
  };
6
8
  /**
7
9
  * @description 递归遍历子元素,递归遍历子元素 用法:传入数组和回调函数 无返回值
@@ -32,12 +34,30 @@ declare const IterateOpts: {
32
34
  * @param {Partial<typeof IterateOpts>} [opts]
33
35
  */
34
36
  export declare function recursiveIterate(parent: IData, callback: (item: any, _parent: any) => boolean | void, opts?: Partial<typeof IterateOpts>): void;
37
+ /**
38
+ * @description 递归执行,处理对象结构
39
+ * @export
40
+ * @param {IData} parent
41
+ * @param {((item: any, _parent?: any) => boolean | void)} callback
42
+ * @param {Partial<typeof IterateOpts>} [opts]
43
+ */
44
+ export declare function _recursiveExecute(parent: IData, callback: (item: any, _parent?: any) => boolean | void, opts?: Partial<typeof IterateOpts>): void;
45
+ /**
46
+ * @description 递归执行,处理对象结构
47
+ * @export
48
+ * @param {IData} parent
49
+ * @param {((item: any, _parent: any) => boolean | void)} callback
50
+ * @param {Partial<typeof IterateOpts>} [opts]
51
+ */
52
+ export declare function recursiveExecute(parent: IData, callback: (item: any, _parent: any) => boolean | void, opts?: Partial<typeof IterateOpts>): void;
35
53
  /** 默认配置参数 */
36
54
  declare const CompareOpts: {
37
55
  /** 比较的属性 */
38
56
  compareField: string;
39
57
  /** 子集合属性数组 */
40
58
  childrenFields: string[];
59
+ /** 是否跳出当前操作 */
60
+ isBreak: boolean;
41
61
  };
42
62
  type ICompareOpts = Partial<typeof CompareOpts> & {
43
63
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"find-recursive-child.d.ts","sourceRoot":"","sources":["../../../src/utils/recursive/find-recursive-child.ts"],"names":[],"mappings":"AAGA,aAAa;AACb,QAAA,MAAM,WAAW;IACf,cAAc;;CAEf,CAAC;AAuCF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,KAAK,OAAO,GAAG,IAAI,EACrD,IAAI,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,GACjC,IAAI,CAQN;AAED,aAAa;AACb,QAAA,MAAM,WAAW;IAEf,YAAY;;IAtFZ,cAAc;;CAwFf,CAAC;AAEF,KAAK,YAAY,GAAG,OAAO,CAAC,OAAO,WAAW,CAAC,GAAG;IAChD;;;;OAIG;IACH,eAAe,CAAC,EAAE,CAChB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,MAAM,KACjB,OAAO,CAAC;CACd,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,KAAK,EACb,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,YAAY,GAClB,KAAK,GAAG,SAAS,CA0BnB"}
1
+ {"version":3,"file":"find-recursive-child.d.ts","sourceRoot":"","sources":["../../../src/utils/recursive/find-recursive-child.ts"],"names":[],"mappings":"AAGA,aAAa;AACb,QAAA,MAAM,WAAW;IACf,cAAc;;IAEd,eAAe;;CAEhB,CAAC;AA2DF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,KAAK,OAAO,GAAG,IAAI,EACrD,IAAI,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,GACjC,IAAI,CAQN;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,OAAO,GAAG,IAAI,EACtD,IAAI,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,GACjC,IAAI,CAkBN;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,KAAK,OAAO,GAAG,IAAI,EACrD,IAAI,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,GACjC,IAAI,CAQN;AAED,aAAa;AACb,QAAA,MAAM,WAAW;IAEf,YAAY;;IAhKZ,cAAc;;IAEd,eAAe;;CAgKhB,CAAC;AAEF,KAAK,YAAY,GAAG,OAAO,CAAC,OAAO,WAAW,CAAC,GAAG;IAChD;;;;OAIG;IACH,eAAe,CAAC,EAAE,CAChB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,MAAM,KACjB,OAAO,CAAC;CACd,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,KAAK,EACb,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,YAAY,GAClB,KAAK,GAAG,SAAS,CA0BnB"}
@@ -4,8 +4,10 @@ import { mergeDeepRight } from 'ramda';
4
4
  const IterateOpts = {
5
5
  /** 子集合属性数组 */
6
6
  childrenFields: ['children'],
7
+ /** 是否跳出当前操作 */
8
+ isBreak: false,
7
9
  };
8
- const BreakError = new Error('中断操作');
10
+ const ReturnError = new Error('中断操作');
9
11
  /**
10
12
  * @description 获取子属性集合
11
13
  * @param {IData} parent
@@ -20,16 +22,33 @@ function getChildField(parent, fields) {
20
22
  }
21
23
  }
22
24
  }
25
+ /**
26
+ * @description 获取子属性对象
27
+ * @param {IData} parent
28
+ * @param {string[]} fields
29
+ * @returns {*} {(IData[] | undefined)}
30
+ */
31
+ function getChildFieldObj(parent, fields) {
32
+ for (const field of fields) {
33
+ if (parent[field]) {
34
+ return parent[field];
35
+ }
36
+ }
37
+ }
23
38
  function _recursiveIterate(parent, callback, opts) {
24
39
  const { childrenFields } = mergeDeepRight(IterateOpts, opts || {});
25
40
  const children = getChildField(parent, childrenFields);
26
41
  if (children === null || children === void 0 ? void 0 : children.length) {
27
- for (const child of children) {
42
+ for (let i = 0; i < children.length; i++) {
43
+ const child = children[i];
28
44
  // 递归自身的子成员
29
- const isBreak = callback(child, parent);
30
- // 如果回调返回true则退出
31
- if (isBreak) {
32
- throw BreakError;
45
+ const result = callback(child, parent);
46
+ // 回调返回true若未启用跳出当次操作则退出,启用跳出当次操作则跳出本次循环
47
+ if (result) {
48
+ if (opts === null || opts === void 0 ? void 0 : opts.isBreak) {
49
+ break;
50
+ }
51
+ throw ReturnError;
33
52
  }
34
53
  // 递归孙的成员
35
54
  recursiveIterate(child, callback, opts);
@@ -69,7 +88,50 @@ export function recursiveIterate(parent, callback, opts) {
69
88
  _recursiveIterate(parent, callback, opts);
70
89
  }
71
90
  catch (error) {
72
- if (error !== BreakError) {
91
+ if (error !== ReturnError) {
92
+ throw error;
93
+ }
94
+ }
95
+ }
96
+ /**
97
+ * @description 递归执行,处理对象结构
98
+ * @export
99
+ * @param {IData} parent
100
+ * @param {((item: any, _parent?: any) => boolean | void)} callback
101
+ * @param {Partial<typeof IterateOpts>} [opts]
102
+ */
103
+ export function _recursiveExecute(parent, callback, opts) {
104
+ const { childrenFields } = mergeDeepRight(IterateOpts, opts || {});
105
+ const children = getChildFieldObj(parent, childrenFields);
106
+ if (children) {
107
+ for (let i = 0; i < Object.values(children).length; i++) {
108
+ const child = Object.values(children)[i];
109
+ const result = callback(child, parent);
110
+ // 回调返回true若未启用跳出当次操作则退出,启用跳出当次操作则跳出本次循环
111
+ if (result) {
112
+ if (opts === null || opts === void 0 ? void 0 : opts.isBreak) {
113
+ break;
114
+ }
115
+ throw ReturnError;
116
+ }
117
+ // 递归孙的成员
118
+ _recursiveExecute(child, callback, opts);
119
+ }
120
+ }
121
+ }
122
+ /**
123
+ * @description 递归执行,处理对象结构
124
+ * @export
125
+ * @param {IData} parent
126
+ * @param {((item: any, _parent: any) => boolean | void)} callback
127
+ * @param {Partial<typeof IterateOpts>} [opts]
128
+ */
129
+ export function recursiveExecute(parent, callback, opts) {
130
+ try {
131
+ _recursiveExecute(parent, callback, opts);
132
+ }
133
+ catch (error) {
134
+ if (error !== ReturnError) {
73
135
  throw error;
74
136
  }
75
137
  }
@@ -1 +1 @@
1
- {"version":3,"file":"string-util.d.ts","sourceRoot":"","sources":["../../../src/utils/string-util/string-util.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,qBAAa,UAAU;IACrB;;;;OAIG;IACH,MAAM,CAAC,UAAU,SAAgD;IAEjE;;;;OAIG;IACH,MAAM,CAAC,OAAO,SAA6C;IAE3D;;;;OAIG;IACH,MAAM,CAAC,SAAS,SAA+C;IAE/D;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,CACT,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,QAAQ,EAClB,MAAM,CAAC,EAAE,OAAO,EAChB,IAAI,CAAC,EAAE,KAAK,GACX,MAAM;CA4BV"}
1
+ {"version":3,"file":"string-util.d.ts","sourceRoot":"","sources":["../../../src/utils/string-util/string-util.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,qBAAa,UAAU;IACrB;;;;OAIG;IACH,MAAM,CAAC,UAAU,SAAgD;IAEjE;;;;OAIG;IACH,MAAM,CAAC,OAAO,SAA6C;IAE3D;;;;OAIG;IACH,MAAM,CAAC,SAAS,SAA+C;IAE/D;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,CACT,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,QAAQ,EAClB,MAAM,CAAC,EAAE,OAAO,EAChB,IAAI,CAAC,EAAE,KAAK,GACX,MAAM;CA0BV"}
@@ -32,10 +32,8 @@ export class StringUtil {
32
32
  if (notNilEmpty(params)) {
33
33
  const strArr = str.match(this.paramsReg);
34
34
  strArr === null || strArr === void 0 ? void 0 : strArr.forEach(_key => {
35
- const key = _key.slice(8, _key.length - 1);
36
- if (params[key]) {
37
- str = str.replace(`\${params.${key}}`, params[key]);
38
- }
35
+ const key = _key.slice(9, _key.length - 1);
36
+ str = str.replace(`\${params.${key}}`, params[key] || '');
39
37
  });
40
38
  }
41
39
  if (notNilEmpty(data)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/core",
3
- "version": "0.7.41-alpha.7",
3
+ "version": "0.7.41-alpha.78",
4
4
  "description": "运行时核心库",
5
5
  "type": "module",
6
6
  "main": "out/index.js",
@@ -32,7 +32,7 @@
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
34
  "@microsoft/fetch-event-source": "^2.0.1",
35
- "axios": "^1.6.5",
35
+ "axios": "^1.8.2",
36
36
  "lodash-es": "^4.17.21",
37
37
  "loglevel": "^1.8.1",
38
38
  "loglevel-plugin-prefix": "^0.8.4",
@@ -44,11 +44,11 @@
44
44
  "@types/qs": "^6.9.11"
45
45
  },
46
46
  "peerDependencies": {
47
- "axios": "^1.4.0",
47
+ "axios": "^1.8.2",
48
48
  "lodash-es": "^4.17.21",
49
49
  "qs": "^6.11.0",
50
50
  "qx-util": "^0.4.8",
51
51
  "ramda": "^0.29.0"
52
52
  },
53
- "gitHead": "79a6a1ef6d1b814b2a2b19e85bf1238d14a9d026"
53
+ "gitHead": "38afd6a27e57380b9240b87a849b874aa64d4c05"
54
54
  }