@ibiz-template/runtime 0.7.41-alpha.87 → 0.7.41-alpha.89

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 (67) hide show
  1. package/dist/index.esm.js +108 -31
  2. package/dist/index.system.min.js +1 -1
  3. package/out/config/global-config.js +2 -2
  4. package/out/controller/common/view/view.controller.js +2 -1
  5. package/out/controller/control/app-menu/app-menu.controller.js +4 -4
  6. package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.d.ts +7 -0
  7. package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.d.ts.map +1 -1
  8. package/out/controller/control/dashboard/portlet/portlet-part/portlet-part.controller.js +20 -13
  9. package/out/controller/control/form/form-detail/form-druipart/form-druipart.state.d.ts +2 -1
  10. package/out/controller/control/form/form-detail/form-druipart/form-druipart.state.d.ts.map +1 -1
  11. package/out/controller/control/grid/grid/grid.controller.js +2 -1
  12. package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts +6 -0
  13. package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.d.ts.map +1 -1
  14. package/out/controller/control/tab-exp-panel/tab-exp-panel.controller.js +13 -0
  15. package/out/controller/control/toolbar/toolbar.controller.d.ts.map +1 -1
  16. package/out/controller/control/toolbar/toolbar.controller.js +9 -7
  17. package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +2 -1
  18. package/out/controller/control/wizard-panel/wizard-panel.controller.d.ts +6 -0
  19. package/out/controller/control/wizard-panel/wizard-panel.controller.d.ts.map +1 -1
  20. package/out/controller/control/wizard-panel/wizard-panel.controller.js +22 -0
  21. package/out/interface/api/app/i-api-app-hub-service.d.ts +7 -7
  22. package/out/interface/api/app/i-api-app-service.d.ts +1 -1
  23. package/out/interface/api/common/global-config/i-api-global-common-config.d.ts +4 -6
  24. package/out/interface/api/common/global-config/i-api-global-common-config.d.ts.map +1 -1
  25. package/out/interface/api/common/global-config/i-api-global-config.d.ts +15 -15
  26. package/out/interface/api/common/global-config/i-api-global-img-compress-config.d.ts +3 -3
  27. package/out/interface/api/common/global-config/i-api-global-mob-config.d.ts +4 -4
  28. package/out/interface/api/common/global-config/i-api-global-view-config.d.ts +5 -5
  29. package/out/interface/api/common/global-config/i-api-global-water-mark-config.d.ts +14 -14
  30. package/out/interface/api/common/i-api-data-ability-params.d.ts +4 -4
  31. package/out/interface/api/common/i-api-modal-data.d.ts +1 -1
  32. package/out/interface/api/common/i-api-ui-action-result.d.ts +1 -1
  33. package/out/interface/api/controller/common/i-api.controller.d.ts +2 -2
  34. package/out/interface/api/controller/control/form-detail/i-api-form-item.controller.d.ts +5 -5
  35. package/out/interface/api/controller/control/i-api-form.controller.d.ts +7 -6
  36. package/out/interface/api/controller/control/i-api-form.controller.d.ts.map +1 -1
  37. package/out/interface/api/controller/view/i-api-view.controller.d.ts +1 -1
  38. package/out/interface/api/i-api-runtime-ibizsys.d.ts +12 -12
  39. package/out/interface/api/service/i-api-code-list.service.d.ts +1 -1
  40. package/out/interface/api/service/i-api-de-service-util.d.ts +1 -1
  41. package/out/interface/api/state/common/i-api-button-container.state.d.ts +3 -3
  42. package/out/interface/api/state/common/i-api-button.state.d.ts +3 -3
  43. package/out/interface/api/state/control/i-api-form.state.d.ts +2 -2
  44. package/out/interface/api/state/view/i-api-view-session.d.ts +1 -1
  45. package/out/interface/api/util/i-api-app-util.d.ts +7 -7
  46. package/out/interface/api/util/i-api-confirm-util.d.ts +4 -4
  47. package/out/interface/api/util/i-api-file-util.d.ts +6 -6
  48. package/out/interface/api/util/i-api-fullscreen-util.d.ts +2 -2
  49. package/out/interface/api/util/i-api-global-util.d.ts +11 -11
  50. package/out/interface/api/util/i-api-html2canvas-util.d.ts +2 -2
  51. package/out/interface/api/util/i-api-inline-ai-util.d.ts +1 -1
  52. package/out/interface/api/util/i-api-message-util.d.ts +5 -5
  53. package/out/interface/api/util/i-api-modal-util.d.ts +9 -9
  54. package/out/interface/api/util/i-api-notification-util.d.ts +5 -5
  55. package/out/interface/api/util/i-api-open-view-util.d.ts +7 -7
  56. package/out/interface/api/util/i-api-print-preview-util.d.ts +5 -5
  57. package/out/interface/api/util/i-api-print-preview-util.d.ts.map +1 -1
  58. package/out/interface/api/util/i-api-qrcode-util.d.ts +4 -5
  59. package/out/interface/api/util/i-api-qrcode-util.d.ts.map +1 -1
  60. package/out/interface/api/util/i-api-raw-value-util.d.ts +2 -2
  61. package/out/interface/api/util/i-api-text-util.d.ts +6 -6
  62. package/out/interface/api/util/i-api-theme-util.d.ts +3 -3
  63. package/out/interface/api/util/i-api-ui-action-util.d.ts +3 -3
  64. package/out/interface/api/util/i-api-water-mark-util.d.ts +1 -1
  65. package/out/model/utils/util.d.ts.map +1 -1
  66. package/out/model/utils/util.js +7 -3
  67. package/package.json +3 -3
@@ -79,7 +79,7 @@ export interface IApiFileUtil {
79
79
  */
80
80
  getFileName(response: IHttpResponse): string;
81
81
  /**
82
- * @description 文件下载
82
+ * @description 下载指定文件,支持上下文参数及权限校验
83
83
  * @param {string} url 下载地址
84
84
  * @param {string} [name] 文件名
85
85
  * @param {({
@@ -132,7 +132,7 @@ export interface IApiFileUtil {
132
132
  */
133
133
  setDownloadTicket(fileId: string, downloadTicket: IApiData): void;
134
134
  /**
135
- * @description 文件上传
135
+ * @description 上传文件至指定地址,并返回服务端响应数据
136
136
  * @param {string} uploadUrl 上传地址
137
137
  * @param {Blob} file 文件
138
138
  * @param {IApiData} headers 请求头
@@ -141,7 +141,7 @@ export interface IApiFileUtil {
141
141
  */
142
142
  fileUpload(uploadUrl: string, file: Blob, headers: IApiData): Promise<IApiData>;
143
143
  /**
144
- * @description 选择并上传文件
144
+ * @description 打开文件选择窗口并自动执行上传流程
145
145
  * @param {IApiContext} context 上下文参数
146
146
  * @param {IApiParams} params 视图参数
147
147
  * @param {IApiData} data 业务数据
@@ -161,7 +161,7 @@ export interface IApiFileUtil {
161
161
  extraParams?: IApiFileUpDownExtraParams;
162
162
  }): Promise<IApiData[] | undefined>;
163
163
  /**
164
- * @description 选择文件
164
+ * @description 打开文件选择窗口,返回所选文件列表
165
165
  * @param {string} [accept] 选择文件类型
166
166
  * @param {boolean} [multiple] 是否多选,默认为false
167
167
  * @returns {*} {Promise<FileList | undefined>}
@@ -198,7 +198,7 @@ export interface IApiFileUtil {
198
198
  };
199
199
  }, enableDownloadTicket?: boolean, enableNoAccess?: boolean): Promise<IApiData>;
200
200
  /**
201
- * @description 图片压缩
201
+ * @description 压缩图片文件,支持控制最大宽度及质量
202
202
  * @param {File} file 原始文件
203
203
  * @param {number} maxW 最大宽度(默认 1280)
204
204
  * @param {number} quality 压缩质量 0~1(默认 0.8)
@@ -207,7 +207,7 @@ export interface IApiFileUtil {
207
207
  */
208
208
  compressImg(file: File, maxW: number, quality: number): Promise<File>;
209
209
  /**
210
- * @description base64转Blob对象
210
+ * @description 将 Base64 编码数据转换为 Blob 对象
211
211
  * @param {string} base64 base64 字符串
212
212
  * @returns {*} {Blob} Blob对象
213
213
  * @memberof IApiFileUtil
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export interface IApiFullscreenUtil {
7
7
  /**
8
- * @description 指定元素全屏
8
+ * @description 将指定元素切换为全屏显示
9
9
  * @param {HTMLDivElement} div 元素
10
10
  * @param {{ class?: string }} [data] 全屏配置,class: 全屏CSS类名
11
11
  * @memberof IApiFullscreenUtil
@@ -14,7 +14,7 @@ export interface IApiFullscreenUtil {
14
14
  class?: string;
15
15
  }): void;
16
16
  /**
17
- * @description 退出全屏
17
+ * @description 退出当前全屏状态
18
18
  * @memberof IApiFullscreenUtil
19
19
  */
20
20
  closeElementFullscreen(): void;
@@ -22,13 +22,13 @@ import { IApiExcelUtil } from './i-api-excel-util';
22
22
  */
23
23
  export interface IApiGlobalUtil {
24
24
  /**
25
- * @description 主题工具
25
+ * @description 主题工具,用于管理应用主题切换及自定义主题配置
26
26
  * @type {IApiThemeUtil}
27
27
  * @memberof IApiGlobalUtil
28
28
  */
29
29
  readonly theme: IApiThemeUtil;
30
30
  /**
31
- * @description 文本工具
31
+ * @description 文本处理工具,提供字符串格式化、检测及转换能力
32
32
  * @type {IApiTextUtil}
33
33
  * @memberof IApiGlobalUtil
34
34
  */
@@ -46,13 +46,13 @@ export interface IApiGlobalUtil {
46
46
  */
47
47
  readonly base64: typeof Base64;
48
48
  /**
49
- * @description 直接值工具
49
+ * @description 原始值处理工具,用于解析和转换字符串类型的基础数据
50
50
  * @type {IApiRawValueUtil}
51
51
  * @memberof IApiGlobalUtil
52
52
  */
53
53
  readonly rawValue: IApiRawValueUtil;
54
54
  /**
55
- * @description 界面行为工具
55
+ * @description 界面行为工具,用于执行 UI 行为或逻辑操作
56
56
  * @type {IApiUIActionUtil}
57
57
  * @memberof IApiGlobalUtil
58
58
  */
@@ -70,13 +70,13 @@ export interface IApiGlobalUtil {
70
70
  */
71
71
  readonly shortCut: IApiShortCutUtil;
72
72
  /**
73
- * @description 文件工具类
73
+ * @description 文件处理工具,提供文件上传、下载及选择等能力
74
74
  * @type {IApiFileUtil}
75
75
  * @memberof IApiGlobalUtil
76
76
  */
77
77
  readonly file: IApiFileUtil;
78
78
  /**
79
- * @description Html2Canvas工具类
79
+ * @description DOM 转 Canvas 工具,用于页面截图或导出图像
80
80
  * @type {IApiHtml2canvasUtil}
81
81
  * @memberof IApiGlobalUtil
82
82
  */
@@ -94,7 +94,7 @@ export interface IApiGlobalUtil {
94
94
  */
95
95
  readonly encryption: IApiEncryptionUtil;
96
96
  /**
97
- * @description 水印工具类
97
+ * @description 水印处理工具,用于动态挂载或移除页面水印
98
98
  * @type {IApiWaterMarkUtil}
99
99
  * @memberof IApiGlobalUtil
100
100
  */
@@ -117,17 +117,17 @@ export interface IApiGlobalUtil {
117
117
  */
118
118
  getExcelUtil?: () => Promise<IApiExcelUtil>;
119
119
  /**
120
- * @description 显示应用级别的加载提示
120
+ * @description 显示应用级全局加载提示,通常用于长时间操作开始时
121
121
  * @memberof IApiGlobalUtil
122
122
  */
123
123
  showAppLoading(): void;
124
124
  /**
125
- * @description 隐藏应用级别的加载提示
125
+ * @description 隐藏应用级全局加载提示
126
126
  * @memberof IApiGlobalUtil
127
127
  */
128
128
  hiddenAppLoading(): void;
129
129
  /**
130
- * @description 设置浏览器标题
130
+ * @description 设置浏览器页面标题
131
131
  * @param {string} title 浏览器标题
132
132
  * @memberof IApiGlobalUtil
133
133
  */
@@ -139,7 +139,7 @@ export interface IApiGlobalUtil {
139
139
  */
140
140
  getGlobalParam(): IApiParams;
141
141
  /**
142
- * @description 获取视图路由参数变量
142
+ * @description 获取当前视图的路由参数集合,基于路由解析出来的,每个对象里面都有context和params属性
143
143
  * @returns {*} {IApiParams[]}
144
144
  * @memberof IApiGlobalUtil
145
145
  */
@@ -137,7 +137,7 @@ export interface IApiHtml2canvasOption {
137
137
  */
138
138
  export interface IApiHtml2canvasUtil {
139
139
  /**
140
- * @description 导出canvas
140
+ * @description 将指定 DOM 转换为 Canvas 并导出图像文件
141
141
  * @param {HTMLElement} dom 元素
142
142
  * @param {IApiHtml2canvasOption} [option] html2canvas配置
143
143
  * @returns {*} {Promise<void>}
@@ -145,7 +145,7 @@ export interface IApiHtml2canvasUtil {
145
145
  */
146
146
  exportCanvas(dom: HTMLElement, option?: IApiHtml2canvasOption): Promise<void>;
147
147
  /**
148
- * @description 获取节点转化的canvas
148
+ * @description 获取指定 DOM 渲染后的 Canvas 对象
149
149
  * @param {HTMLElement} dom 元素
150
150
  * @param {IApiHtml2canvasOption} [option] html2canvas配置
151
151
  * @returns {*} {Promise<HTMLCanvasElement>}
@@ -54,7 +54,7 @@ export interface IApiInLineAIUtil {
54
54
  * @param {number} x 距离左侧距离
55
55
  * @param {number} y 距离上方距离
56
56
  * @param {IApiData[]} menus 菜单集合
57
- * @param {IData} [options] 菜单配置
57
+ * @param {IApiData} [options] 菜单配置
58
58
  * @memberof IApiInLineAIUtil
59
59
  */
60
60
  showContextMenus(x: number, y: number, menus: IApiData[], options?: IApiData): void;
@@ -42,7 +42,7 @@ export interface IApiMessageParams {
42
42
  */
43
43
  export interface IApiMessageUtil {
44
44
  /**
45
- * @description 弹出普通消息
45
+ * @description 显示普通提示消息
46
46
  * @param {string} msg 消息内容
47
47
  * @param {number} [duration] 持续时间,单位:秒,默认:1.5
48
48
  * @param {boolean} [closable] 显示关闭按钮,默认:false
@@ -50,7 +50,7 @@ export interface IApiMessageUtil {
50
50
  */
51
51
  info(msg: string, duration?: number, closable?: boolean): void;
52
52
  /**
53
- * @description 弹出成功消息
53
+ * @description 显示成功提示消息
54
54
  * @param {string} msg 消息内容
55
55
  * @param {number} [duration] 持续时间,单位:秒,默认:1.5
56
56
  * @param {boolean} [closable] 显示关闭按钮,默认:false
@@ -58,7 +58,7 @@ export interface IApiMessageUtil {
58
58
  */
59
59
  success(msg: string, duration?: number, closable?: boolean): void;
60
60
  /**
61
- * @description 弹出警告消息
61
+ * @description 显示警告提示消息
62
62
  * @param {string} msg 消息内容
63
63
  * @param {number} [duration] 持续时间,单位:秒,默认:1.5
64
64
  * @param {boolean} [closable] 显示关闭按钮,默认:false
@@ -66,7 +66,7 @@ export interface IApiMessageUtil {
66
66
  */
67
67
  warning(msg: string, duration?: number, closable?: boolean): void;
68
68
  /**
69
- * @description 弹出错误消息
69
+ * @description 显示错误提示消息
70
70
  * @param {string} msg 消息内容
71
71
  * @param {number} [duration] 持续时间,单位:秒,默认:1.5
72
72
  * @param {boolean} [closable] 显示关闭按钮,默认:false
@@ -74,7 +74,7 @@ export interface IApiMessageUtil {
74
74
  */
75
75
  error(msg: string, duration?: number, closable?: boolean): void;
76
76
  /**
77
- * @description 通用消息方法
77
+ * @description 通用消息方法,支持自定义图标、持续时间等参数
78
78
  * @param {IApiMessageParams} params 配置详细的参数,详情参见:https://element-plus.org/zh-CN/component/message.html#message-%E9%85%8D%E7%BD%AE%E9%A1%B9
79
79
  * @memberof IApiMessageUtil
80
80
  */
@@ -24,19 +24,19 @@ export interface IApiModalParams {
24
24
  */
25
25
  showConfirmButton?: boolean;
26
26
  /**
27
- * @description 是否显示取消按钮
27
+ * @description 是否显示取消按钮(默认不显示)
28
28
  * @type {boolean}
29
29
  * @memberof IApiModalParams
30
30
  */
31
31
  showCancelButton?: boolean;
32
32
  /**
33
- * @description 确认按钮显示文本
33
+ * @description 确认按钮显示文本(默认确定)
34
34
  * @type {string}
35
35
  * @memberof IApiModalParams
36
36
  */
37
37
  confirmButtonText?: string;
38
38
  /**
39
- * @description 取消按钮显示文本
39
+ * @description 取消按钮显示文本(默认取消)
40
40
  * @type {string}
41
41
  * @memberof IApiModalParams
42
42
  */
@@ -55,41 +55,41 @@ export interface IApiModalParams {
55
55
  options?: IApiParams;
56
56
  }
57
57
  /**
58
- * @description 消息提示,当用户进行操作时会被触发,该对话框中断用户操作,直到用户确认知晓后才可关闭。
58
+ * @description 消息弹框,当用户进行操作时会被触发,该对话框中断用户操作,直到用户确认知晓后才可关闭。
59
59
  * @export
60
60
  * @interface IApiModalUtil
61
61
  */
62
62
  export interface IApiModalUtil {
63
63
  /**
64
- * @description 弹出普通信息
64
+ * @description 显示普通信息提示对话框,通常用于展示说明性内容
65
65
  * @param {IApiModalParams} params 确认框参数
66
66
  * @returns {*} {Promise<void>}
67
67
  * @memberof IApiModalUtil
68
68
  */
69
69
  info(params: IApiModalParams): Promise<void>;
70
70
  /**
71
- * @description 弹出成功信息
71
+ * @description 显示成功提示对话框,表示操作成功完成
72
72
  * @param {IApiModalParams} params 确认框参数
73
73
  * @returns {*} {Promise<void>}
74
74
  * @memberof IApiModalUtil
75
75
  */
76
76
  success(params: IApiModalParams): Promise<void>;
77
77
  /**
78
- * @description 弹出警告信息
78
+ * @description 显示警告提示对话框,用于提示潜在风险或异常情况
79
79
  * @param {IApiModalParams} params 确认框参数
80
80
  * @returns {*} {Promise<void>}
81
81
  * @memberof IApiModalUtil
82
82
  */
83
83
  warning(params: IApiModalParams): Promise<void>;
84
84
  /**
85
- * @description 弹出错误信息
85
+ * @description 显示错误提示对话框,用于提示操作失败或系统异常
86
86
  * @param {IApiModalParams} params 确认框参数
87
87
  * @returns {*} {Promise<void>}
88
88
  * @memberof IApiModalUtil
89
89
  */
90
90
  error(params: IApiModalParams): Promise<void>;
91
91
  /**
92
- * @description 弹出确认操作
92
+ * @description 显示确认对话框,用户确认返回 true,取消返回 false
93
93
  * @param {IApiModalParams} params 确认框参数
94
94
  * @returns {*} {Promise<boolean>}
95
95
  * @memberof IApiModalUtil
@@ -53,31 +53,31 @@ export interface IApiNotificationParams {
53
53
  */
54
54
  export interface IApiNotificationUtil {
55
55
  /**
56
- * @description 弹出默认通知
56
+ * @description 显示默认样式通知
57
57
  * @param {IApiNotificationParams} params 通知参数
58
58
  * @memberof IApiNotificationUtil
59
59
  */
60
60
  default(params: IApiNotificationParams): void;
61
61
  /**
62
- * @description 弹出普通通知
62
+ * @description 显示普通信息通知
63
63
  * @param {IApiNotificationParams} params 通知参数
64
64
  * @memberof IApiNotificationUtil
65
65
  */
66
66
  info(params: IApiNotificationParams): void;
67
67
  /**
68
- * @description 弹出成功通知
68
+ * @description 显示成功通知
69
69
  * @param {IApiNotificationParams} params 通知参数
70
70
  * @memberof IApiNotificationUtil
71
71
  */
72
72
  success(params: IApiNotificationParams): void;
73
73
  /**
74
- * @description 弹出警告通知
74
+ * @description 显示警告通知
75
75
  * @param {IApiNotificationParams} params 通知参数
76
76
  * @memberof IApiNotificationUtil
77
77
  */
78
78
  warning(params: IApiNotificationParams): void;
79
79
  /**
80
- * @description 弹出失败通知
80
+ * @description 显示失败通知
81
81
  * @param {IApiNotificationParams} params 通知参数
82
82
  * @memberof IApiNotificationUtil
83
83
  */
@@ -7,14 +7,14 @@ import { IApiModalData, IApiOverlayContainerOptions, IApiPopoverOptions } from '
7
7
  */
8
8
  export interface IApiOpenViewUtil {
9
9
  /**
10
- * @description 直接路径打开视图
10
+ * @description 根据指定路径打开视图,通常用于简单路由跳转
11
11
  * @param {string} path 视图路径
12
12
  * @returns {*} {Promise<IApiModalData>}
13
13
  * @memberof IApiOpenViewUtil
14
14
  */
15
15
  push(path: string): Promise<IApiModalData>;
16
16
  /**
17
- * @description 打开顶级视图(一般为路由打开)
17
+ * @description 打开顶级视图(一般为路由打开),支持控制是否替换当前路由
18
18
  * @param {string} appViewId 应用视图id
19
19
  * @param {IApiContext} context 上下文参数
20
20
  * @param {IApiParams} [params] 视图参数
@@ -28,7 +28,7 @@ export interface IApiOpenViewUtil {
28
28
  replace?: boolean;
29
29
  }): Promise<IApiModalData>;
30
30
  /**
31
- * @description 打开顶级视图(模态方式打开)
31
+ * @description 以模态窗口方式打开顶级视图
32
32
  * @param {string} appViewId 应用视图id
33
33
  * @param {IApiContext} context 上下文参数
34
34
  * @param {IApiParams} [params] 视图参数
@@ -37,7 +37,7 @@ export interface IApiOpenViewUtil {
37
37
  */
38
38
  rootByModal(appViewId: string, context: IApiContext, params?: IApiParams): Promise<IApiModalData>;
39
39
  /**
40
- * @description 打开模态视图
40
+ * @description 以模态对话框方式打开视图
41
41
  * @param {string} appViewId 应用视图id
42
42
  * @param {IApiContext} context 上下文参数
43
43
  * @param {IApiParams} [params] 视图参数
@@ -47,7 +47,7 @@ export interface IApiOpenViewUtil {
47
47
  */
48
48
  modal(appViewId: string, context: IApiContext, params?: IApiParams, options?: IApiOverlayContainerOptions): Promise<IApiModalData>;
49
49
  /**
50
- * @description 气泡模式打开
50
+ * @description 以气泡(Popover)方式打开视图,依附触发事件位置
51
51
  * @param {string} appViewId 应用视图id
52
52
  * @param {MouseEvent} event 鼠标事件
53
53
  * @param {IApiContext} context 上下文参数
@@ -58,7 +58,7 @@ export interface IApiOpenViewUtil {
58
58
  */
59
59
  popover(appViewId: string, event: MouseEvent, context: IApiContext, params?: IApiParams, options?: IApiPopoverOptions & IApiOverlayContainerOptions): Promise<IApiModalData>;
60
60
  /**
61
- * @description 抽屉模式打开
61
+ * @description 以抽屉方式打开视图
62
62
  * @param {string} appViewId 应用视图id
63
63
  * @param {IApiContext} context 上下文参数
64
64
  * @param {IApiParams} [params] 视图参数
@@ -77,7 +77,7 @@ export interface IApiOpenViewUtil {
77
77
  */
78
78
  custom(appViewId: string, context: IApiContext, params?: IApiParams): Promise<IApiModalData>;
79
79
  /**
80
- * @description 独立程序打开
80
+ * @description 在独立应用窗口中打开指定视图
81
81
  * @param {string} appViewId 应用视图id
82
82
  * @param {IApiContext} context 上下文参数
83
83
  * @param {IApiParams} [params] 视图参数
@@ -1,4 +1,4 @@
1
- import { IApiContext, IApiParams } from '@ibiz-template/core';
1
+ import { IApiContext, IApiData, IApiParams } from '@ibiz-template/core';
2
2
  /**
3
3
  * @description pdf导出参数
4
4
  * @export
@@ -99,7 +99,7 @@ export interface IApiPrintPreviewUtil {
99
99
  */
100
100
  execPrint(context: IApiContext, params: IApiParams, data: Blob): Promise<boolean>;
101
101
  /**
102
- * @description 打印
102
+ * @description 将指定内容导出为 PDF 文件并触发打印或下载。
103
103
  * @param {string} filename pdf导出文件名,必须以.pdf结尾
104
104
  * @param {string} content pdf导出内容
105
105
  * @param {IApiPdfExportOptions} [options]
@@ -108,13 +108,13 @@ export interface IApiPrintPreviewUtil {
108
108
  */
109
109
  printPdf(filename: string, content: string, options?: IApiPdfExportOptions): Promise<boolean>;
110
110
  /**
111
- * @description 导出HTML文件
111
+ * @description 将指定内容导出为 HTML 文件。
112
112
  * @param {string} filename 导出html文件名,需以.html结尾
113
113
  * @param {string} content 导出html内容,为body标签中的html字符串
114
- * @param {IData} [style] 导出html样式,会添加到style标签中
114
+ * @param {IApiData} [style] 导出html样式,会添加到style标签中
115
115
  * @returns {*} {Promise<boolean>}
116
116
  * @memberof IApiPrintPreviewUtil
117
117
  */
118
- printHtml2(filename: string, content: string, style?: IData): Promise<boolean>;
118
+ printHtml2(filename: string, content: string, style?: IApiData): Promise<boolean>;
119
119
  }
120
120
  //# sourceMappingURL=i-api-print-preview-util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-api-print-preview-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-print-preview-util.ts"],"names":[],"m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AAK,CAAC,EAAE,KAAK,GACZ,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB"}
1
+ {"version":3,"file":"i-api-print-preview-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-print-preview-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IAEvC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,QAAQ,CAAC;IAElC;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAEF;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IAExC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,SAAS,CACP,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,EAClB,IAAI,EAAE,IAAI,GACT,OAAO,CAAC,OAAO,CAAC,CAAC;IAEpB;;;;;;;OAOG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,OAAO,CAAC,CAAC;IAEpB;;;;;;;OAOG;IACH,UAAU,CACR,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,QAAQ,GACf,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB"}
@@ -1,5 +1,4 @@
1
1
  import { IApiData, IApiParams } from '@ibiz-template/core';
2
- import { IApiModalOptions } from '../common';
3
2
  /**
4
3
  * @description 二维码工具
5
4
  * @export
@@ -7,14 +6,14 @@ import { IApiModalOptions } from '../common';
7
6
  */
8
7
  export interface IApiQrcodeUtil {
9
8
  /**
10
- * @description 扫描二维码
11
- * @param {IApiModalOptions} [options] 模态配置
9
+ * @description 打开二维码扫描界面并返回扫描结果
10
+ * @param {IApiParams} [options] 模态配置
12
11
  * @returns {*} {Promise<IApiData>}
13
12
  * @memberof IApiQrcodeUtil
14
13
  */
15
- scanQrcode(options?: IApiModalOptions): Promise<IApiData>;
14
+ scanQrcode(options?: IApiParams): Promise<IApiData>;
16
15
  /**
17
- * @description 创建二维码
16
+ * @description 根据指定内容生成二维码配置数据
18
17
  * @param {string} value 创建二维码需要的文本值
19
18
  * @param {IApiParams} [options] 创建二维码参数配置
20
19
  * @returns {*} {IApiParams}
@@ -1 +1 @@
1
- {"version":3,"file":"i-api-qrcode-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-qrcode-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE1D;;;;;;OAMG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;CAC/D"}
1
+ {"version":3,"file":"i-api-qrcode-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-qrcode-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEpD;;;;;;OAMG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;CAC/D"}
@@ -5,14 +5,14 @@
5
5
  */
6
6
  export interface IApiRawValueUtil {
7
7
  /**
8
- * @description 字符串是否完全由整数/浮点数组成
8
+ * @description 判断字符串是否为合法数值(支持整数及浮点数)
9
9
  * @param {string} str 字符串
10
10
  * @returns {*} {boolean}
11
11
  * @memberof IApiRawValueUtil
12
12
  */
13
13
  isNumber(str: string): boolean;
14
14
  /**
15
- * @description 转换直接值
15
+ * @description 根据内容自动转换为对应基础类型(如 number、boolean 等)
16
16
  * @param {(string | undefined)} val 直接值
17
17
  * @returns {*} {(number | boolean | string | undefined)}
18
18
  * @memberof IApiRawValueUtil
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export interface IApiTextUtil {
7
7
  /**
8
- * @description 格式化文本,遵循excel格式化标准
8
+ * @description 按指定格式规则格式化文本(遵循 Excel 格式化规则)
9
9
  * @param {string} value 文本值
10
10
  * @param {string} format 格式
11
11
  * @returns {*} {string}
@@ -13,35 +13,35 @@ export interface IApiTextUtil {
13
13
  */
14
14
  format(value: string, format: string): string;
15
15
  /**
16
- * @description 拷贝文本到剪切板
16
+ * @description 将文本复制到系统剪贴板,成功返回 true
17
17
  * @param {string} value 拷贝文本值
18
18
  * @returns {*} {boolean}
19
19
  * @memberof IApiTextUtil
20
20
  */
21
21
  copy(value: string): boolean;
22
22
  /**
23
- * @description 文本是否包含中文字符
23
+ * @description 判断字符串中是否包含中文字符
24
24
  * @param {string} str 文本
25
25
  * @returns {*} {boolean}
26
26
  * @memberof IApiTextUtil
27
27
  */
28
28
  isChineseCharacter(str: string): boolean;
29
29
  /**
30
- * @description 文本是否包含中文和英文字符
30
+ * @description 判断字符串是否同时包含中文和英文字符
31
31
  * @param {string} str 文本
32
32
  * @returns {*} {boolean}
33
33
  * @memberof IApiTextUtil
34
34
  */
35
35
  hasChineseAndEnglish(str: string): boolean;
36
36
  /**
37
- * @description 文本转十六进制颜色
37
+ * @description 根据文本内容生成对应的十六进制颜色值
38
38
  * @param {string} text 颜色字符串
39
39
  * @returns {*} {string}
40
40
  * @memberof IApiTextUtil
41
41
  */
42
42
  stringToHexColor(text: string): string;
43
43
  /**
44
- * @description 获取文本缩写
44
+ * @description 生成文本缩写(通常用于头像或标识展示)
45
45
  * @param {string} text 文本
46
46
  * @returns {*} {(string | void)}
47
47
  * @memberof IApiTextUtil
@@ -5,19 +5,19 @@
5
5
  */
6
6
  export interface IApiThemeUtil {
7
7
  /**
8
- * @description 设置主题
8
+ * @description 根据主题标识切换当前应用主题
9
9
  * @param {string} tag 主题标识
10
10
  * @memberof IApiThemeUtil
11
11
  */
12
12
  setTheme(tag: string): void;
13
13
  /**
14
- * @description 获取当前主题标识
14
+ * @description 获取当前正在使用的主题标识
15
15
  * @returns {*} {string}
16
16
  * @memberof IApiThemeUtil
17
17
  */
18
18
  getTheme(): string;
19
19
  /**
20
- * @description 打开自定义主题配置面板
20
+ * @description 打开自定义主题配置界面
21
21
  * @memberof IApiThemeUtil
22
22
  */
23
23
  customTheme(): void;
@@ -6,7 +6,7 @@ import { IApiUIActionResult, IApiUILogicParams } from '../common';
6
6
  */
7
7
  export interface IApiUIActionUtil {
8
8
  /**
9
- * @description 执行界面行为
9
+ * @description 根据行为标识执行指定界面行为,并返回执行结果,需自行判断 actionResult(closeView/refresh 等)时使用
10
10
  * @param {string} actionId 界面行为id
11
11
  * @param {IApiUILogicParams} params 界面行为参数
12
12
  * @param {string} appId 应用标识
@@ -15,7 +15,7 @@ export interface IApiUIActionUtil {
15
15
  */
16
16
  exec(actionId: string, params: IApiUILogicParams, appId: string): Promise<IApiUIActionResult>;
17
17
  /**
18
- * @description 执行界面逻辑
18
+ * @description 执行指定实体的界面逻辑,不经行为路由,返回值结构不固定
19
19
  * @param {string} appDEUILogicId 界面逻辑id
20
20
  * @param {string} appDataEntityId 实体标识
21
21
  * @param {IApiUILogicParams} args 界面逻辑参数
@@ -24,7 +24,7 @@ export interface IApiUIActionUtil {
24
24
  */
25
25
  execUILogic(appDEUILogicId: string, appDataEntityId: string, args: IApiUILogicParams): Promise<unknown>;
26
26
  /**
27
- * @description 执行界面行为并处理返回值
27
+ * @description 执行界面行为并处理返回值,自动处理 closeView/refresh,无需手动判断,无返回值
28
28
  * @param {string} actionId 界面行为id
29
29
  * @param {IApiUILogicParams} params 界面行为参数
30
30
  * @param {string} appId 应用标识
@@ -7,7 +7,7 @@ import { IApiGlobalWaterMarkConfig } from '../common';
7
7
  */
8
8
  export interface IApiWaterMarkUtil {
9
9
  /**
10
- * @description 挂载水印至指定元素上
10
+ * @description 在指定容器中挂载水印,返回卸载函数;失败时返回 null
11
11
  * @param {Partial<IApiGlobalWaterMarkConfig>} option 水印参数
12
12
  * @param {HTMLElement} [container] 指定html元素,无值则附加到body上
13
13
  * @param {IApiContext} [context] 上下文参数
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/model/utils/util.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,YAAY,EAEZ,YAAY,EAEZ,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,oBAAoB,EACpB,yBAAyB,EACzB,gBAAgB,EAGjB,MAAM,k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B,EAAE,CAAC,CAyBnC;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CACrC,aAAa,EAAE,gBAAgB,EAC/B,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,gBAAgB,CAAC,CA2B3B;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,sBAAsB,EAAO,GACrC,sBAAsB,EAAE,CAa1B"}
@@ -302,11 +302,15 @@ export async function calcUIActionDetails(uiactionGroupDetails, context, params)
302
302
  // 筛选需要替换的项(保留原始索引)
303
303
  const refActionDetails = [];
304
304
  uiactionGroupDetails.forEach((detail, index) => {
305
- var _a, _b;
305
+ var _a, _b, _c, _d;
306
+ if ((_a = detail.capLanguageRes) === null || _a === void 0 ? void 0 : _a.lanResTag)
307
+ detail.caption = ibiz.i18n.t(detail.capLanguageRes.lanResTag, detail.caption);
308
+ if ((_b = detail.tooltipLanguageRes) === null || _b === void 0 ? void 0 : _b.lanResTag)
309
+ detail.tooltip = ibiz.i18n.t(detail.tooltipLanguageRes.lanResTag, detail.tooltip);
306
310
  // 过滤静态界面行为组
307
311
  if (detail.detailType === 'DEUIACTIONGROUP' &&
308
- ((_a = detail.refUIActionGroup) === null || _a === void 0 ? void 0 : _a.dynamicMode) === 1 &&
309
- !((_b = detail.refUIActionGroup) === null || _b === void 0 ? void 0 : _b.uiactionGroupDetails)) {
312
+ ((_c = detail.refUIActionGroup) === null || _c === void 0 ? void 0 : _c.dynamicMode) === 1 &&
313
+ !((_d = detail.refUIActionGroup) === null || _d === void 0 ? void 0 : _d.uiactionGroupDetails)) {
310
314
  refActionDetails.push({ detail, index });
311
315
  }
312
316
  });