@ibiz-template/runtime 0.7.41-alpha.52 → 0.7.41-alpha.54

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 (211) hide show
  1. package/dist/index.esm.js +53 -11
  2. package/dist/index.system.min.js +1 -1
  3. package/out/controller/control/chart/chart.controller.d.ts.map +1 -1
  4. package/out/controller/control/chart/chart.controller.js +3 -2
  5. package/out/controller/control/form/form/form.controller.d.ts +7 -0
  6. package/out/controller/control/form/form/form.controller.d.ts.map +1 -1
  7. package/out/controller/control/form/form/form.controller.js +11 -0
  8. package/out/controller/control/form/form-detail/form-button/form-button.controller.d.ts.map +1 -1
  9. package/out/controller/control/form/form-detail/form-button/form-button.controller.js +31 -7
  10. package/out/controller/control/report-panel/generator/base-generator.d.ts +3 -2
  11. package/out/controller/control/report-panel/generator/base-generator.d.ts.map +1 -1
  12. package/out/controller/control/report-panel/generator/base-generator.js +1 -0
  13. package/out/controller/ctx/ctx.d.ts +6 -4
  14. package/out/controller/ctx/ctx.d.ts.map +1 -1
  15. package/out/controller/ctx/ctx.js +1 -0
  16. package/out/controller/hub.controller.d.ts +8 -4
  17. package/out/controller/hub.controller.d.ts.map +1 -1
  18. package/out/controller/hub.controller.js +5 -3
  19. package/out/interface/api/app/i-api-app-hub-controller.d.ts +23 -19
  20. package/out/interface/api/app/i-api-app-hub-controller.d.ts.map +1 -1
  21. package/out/interface/api/app/i-api-app-hub-service.d.ts +9 -9
  22. package/out/interface/api/app/i-micro-app-config-center.d.ts +3 -3
  23. package/out/interface/api/call/i-api-data-view.call.d.ts +2 -2
  24. package/out/interface/api/call/i-api-edit-view.call.d.ts +2 -2
  25. package/out/interface/api/call/i-api-grid-view.call.d.ts +2 -2
  26. package/out/interface/api/call/i-api-list-view.call.d.ts +2 -2
  27. package/out/interface/api/call/i-api-login-view.call.d.ts +21 -5
  28. package/out/interface/api/call/i-api-login-view.call.d.ts.map +1 -1
  29. package/out/interface/api/call/i-api-md-custom-view.call.d.ts +3 -3
  30. package/out/interface/api/call/i-api-md-view.call.d.ts +6 -6
  31. package/out/interface/api/call/i-api-mob-wf-dyna-edit-view.call.d.ts +1 -1
  32. package/out/interface/api/call/i-api-tree-exp-view.call.d.ts +4 -4
  33. package/out/interface/api/call/i-api-tree-grid-ex-view.call.d.ts +1 -1
  34. package/out/interface/api/call/i-api-tree-grid-view.call.d.ts +4 -7
  35. package/out/interface/api/call/i-api-tree-grid-view.call.d.ts.map +1 -1
  36. package/out/interface/api/call/i-api-tree-view.call.d.ts +4 -4
  37. package/out/interface/api/call/i-api-view.call.d.ts +1 -1
  38. package/out/interface/api/common/i-api-ctx.d.ts +41 -0
  39. package/out/interface/api/common/i-api-ctx.d.ts.map +1 -0
  40. package/out/interface/api/common/i-api-ctx.js +1 -0
  41. package/out/interface/api/common/i-api-error-handler.d.ts +15 -0
  42. package/out/interface/api/common/i-api-error-handler.d.ts.map +1 -0
  43. package/out/interface/api/common/i-api-error-handler.js +1 -0
  44. package/out/interface/api/common/i-api-modal-option.d.ts +50 -0
  45. package/out/interface/api/common/i-api-modal-option.d.ts.map +1 -0
  46. package/out/interface/api/common/i-api-modal-option.js +1 -0
  47. package/out/interface/api/common/i-api-overlay-container-options.d.ts +3 -3
  48. package/out/interface/api/common/i-api-overlay-container-options.d.ts.map +1 -1
  49. package/out/interface/api/common/i-api-ui-action-result.d.ts +51 -0
  50. package/out/interface/api/common/i-api-ui-action-result.d.ts.map +1 -0
  51. package/out/interface/api/common/i-api-ui-action-result.js +1 -0
  52. package/out/interface/api/common/i-api-ui-logic-params.d.ts +52 -0
  53. package/out/interface/api/common/i-api-ui-logic-params.d.ts.map +1 -0
  54. package/out/interface/api/common/i-api-ui-logic-params.js +1 -0
  55. package/out/interface/api/common/index.d.ts +5 -0
  56. package/out/interface/api/common/index.d.ts.map +1 -1
  57. package/out/interface/api/controller/common/i-api-enforceable.controller.d.ts +1 -1
  58. package/out/interface/api/controller/control/form-detail/i-api-form-button-controller.d.ts +3 -3
  59. package/out/interface/api/controller/control/form-detail/i-api-form-button-list.controller.d.ts +6 -6
  60. package/out/interface/api/controller/control/form-detail/i-api-form-detail.controller.d.ts +1 -0
  61. package/out/interface/api/controller/control/form-detail/i-api-form-detail.controller.d.ts.map +1 -1
  62. package/out/interface/api/controller/control/form-detail/i-api-form-group-panel.controller.d.ts +3 -3
  63. package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-form.controller.d.ts +1 -7
  64. package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-form.controller.d.ts.map +1 -1
  65. package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-repeater.controller.d.ts +2 -2
  66. package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl.controller.d.ts +2 -2
  67. package/out/interface/api/controller/control/grid-column/i-api-grid-column.controller.d.ts +1 -1
  68. package/out/interface/api/controller/control/grid-column/i-api-grid-field-column.controller.d.ts +6 -6
  69. package/out/interface/api/controller/control/grid-column/i-api-grid-field-edit-column.controller.d.ts +3 -3
  70. package/out/interface/api/controller/control/grid-column/i-api-grid-ua-column.controller.d.ts +3 -3
  71. package/out/interface/api/controller/control/i-api-calendar.controller.d.ts +1 -1
  72. package/out/interface/api/controller/control/i-api-control.controller.d.ts +2 -2
  73. package/out/interface/api/controller/control/i-api-data-view-control.controller.d.ts +1 -1
  74. package/out/interface/api/controller/control/i-api-drbar.controller.d.ts +1 -1
  75. package/out/interface/api/controller/control/i-api-drtab.controller.d.ts +1 -1
  76. package/out/interface/api/controller/control/i-api-edit-form.controller.d.ts +7 -6
  77. package/out/interface/api/controller/control/i-api-edit-form.controller.d.ts.map +1 -1
  78. package/out/interface/api/controller/control/i-api-exp-bar-control.controller.d.ts +3 -3
  79. package/out/interface/api/controller/control/i-api-form.controller.d.ts +2 -2
  80. package/out/interface/api/controller/control/i-api-gantt.controller.d.ts +3 -3
  81. package/out/interface/api/controller/control/i-api-grid.controller.d.ts +4 -4
  82. package/out/interface/api/controller/control/i-api-grid.controller.d.ts.map +1 -1
  83. package/out/interface/api/controller/control/i-api-kanban.controller.d.ts +2 -3
  84. package/out/interface/api/controller/control/i-api-kanban.controller.d.ts.map +1 -1
  85. package/out/interface/api/controller/control/i-api-list.controller.d.ts +1 -1
  86. package/out/interface/api/controller/control/i-api-map.controller.d.ts +1 -1
  87. package/out/interface/api/controller/control/i-api-md-control.controller.d.ts +7 -7
  88. package/out/interface/api/controller/control/i-api-medit-view-panel.controller.d.ts +1 -1
  89. package/out/interface/api/controller/control/i-api-mob-md-ctrl.controller.d.ts +1 -1
  90. package/out/interface/api/controller/control/i-api-mob-md-ctrl.controller.d.ts.map +1 -1
  91. package/out/interface/api/controller/control/i-api-pickup-view-panel.controller.d.ts +1 -1
  92. package/out/interface/api/controller/control/i-api-report-panel.controller.d.ts +4 -3
  93. package/out/interface/api/controller/control/i-api-report-panel.controller.d.ts.map +1 -1
  94. package/out/interface/api/controller/control/i-api-search-bar.controller.d.ts +2 -2
  95. package/out/interface/api/controller/control/i-api-search-form.controller.d.ts +2 -1
  96. package/out/interface/api/controller/control/i-api-search-form.controller.d.ts.map +1 -1
  97. package/out/interface/api/controller/control/i-api-tab-exp-panel.controller.d.ts +1 -1
  98. package/out/interface/api/controller/control/i-api-toolbar.controller.d.ts +4 -4
  99. package/out/interface/api/controller/control/i-api-tree-grid-ex.controller.d.ts +1 -1
  100. package/out/interface/api/controller/control/i-api-tree-grid.controller.d.ts +1 -1
  101. package/out/interface/api/controller/control/i-api-tree-grid.controller.d.ts.map +1 -1
  102. package/out/interface/api/controller/control/i-api-tree.controller.d.ts +3 -3
  103. package/out/interface/api/controller/control/index.d.ts +2 -1
  104. package/out/interface/api/controller/control/index.d.ts.map +1 -1
  105. package/out/interface/api/controller/control/index.js +1 -0
  106. package/out/interface/api/controller/control/portlet/i-api-portlet.controller.d.ts +11 -7
  107. package/out/interface/api/controller/control/portlet/i-api-portlet.controller.d.ts.map +1 -1
  108. package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.d.ts +33 -0
  109. package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.d.ts.map +1 -0
  110. package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.js +1 -0
  111. package/out/interface/api/controller/control/report-panel/index.d.ts +2 -0
  112. package/out/interface/api/controller/control/report-panel/index.d.ts.map +1 -0
  113. package/out/interface/api/controller/control/report-panel/index.js +1 -0
  114. package/out/interface/api/controller/view/i-api-view.controller.d.ts +3 -3
  115. package/out/interface/api/service/i-api-app-de.service.d.ts +46 -44
  116. package/out/interface/api/service/i-api-app-de.service.d.ts.map +1 -1
  117. package/out/interface/api/service/i-api-auth-result.d.ts +4 -4
  118. package/out/interface/api/service/i-api-auth-result.d.ts.map +1 -1
  119. package/out/interface/api/service/i-api-code-list.service.d.ts +5 -5
  120. package/out/interface/api/service/i-api-de-service-util.d.ts +7 -7
  121. package/out/interface/api/service/index.d.ts +1 -0
  122. package/out/interface/api/service/index.d.ts.map +1 -1
  123. package/out/interface/api/service/vo/i-api-control.vo.d.ts +89 -0
  124. package/out/interface/api/service/vo/i-api-control.vo.d.ts.map +1 -0
  125. package/out/interface/api/service/vo/i-api-control.vo.js +1 -0
  126. package/out/interface/api/service/vo/i-api-ui-map-field.d.ts +54 -0
  127. package/out/interface/api/service/vo/i-api-ui-map-field.d.ts.map +1 -0
  128. package/out/interface/api/service/vo/i-api-ui-map-field.js +1 -0
  129. package/out/interface/api/service/vo/index.d.ts +3 -0
  130. package/out/interface/api/service/vo/index.d.ts.map +1 -0
  131. package/out/interface/api/service/vo/index.js +1 -0
  132. package/out/interface/api/state/common/i-api-button-container.state.d.ts +1 -1
  133. package/out/interface/api/state/common/i-api-button.state.d.ts +1 -1
  134. package/out/interface/api/state/control/i-api-app-menu.state.d.ts +1 -1
  135. package/out/interface/api/state/control/i-api-calendar.state.d.ts +33 -2
  136. package/out/interface/api/state/control/i-api-calendar.state.d.ts.map +1 -1
  137. package/out/interface/api/state/control/i-api-chart.state.d.ts +48 -9
  138. package/out/interface/api/state/control/i-api-chart.state.d.ts.map +1 -1
  139. package/out/interface/api/state/control/i-api-control.state.d.ts +0 -1
  140. package/out/interface/api/state/control/i-api-control.state.d.ts.map +1 -1
  141. package/out/interface/api/state/control/i-api-grid.state.d.ts +4 -3
  142. package/out/interface/api/state/control/i-api-grid.state.d.ts.map +1 -1
  143. package/out/interface/api/state/control/i-api-medit-view-panel.state.d.ts +8 -8
  144. package/out/interface/api/state/control/i-api-medit-view-panel.state.d.ts.map +1 -1
  145. package/out/interface/api/state/control/portlet/i-api-portlet.state.d.ts +1 -1
  146. package/out/interface/api/state/view/i-api-view-session.d.ts +1 -1
  147. package/out/interface/api/util/i-api-ai-chat-util.d.ts +99 -22
  148. package/out/interface/api/util/i-api-ai-chat-util.d.ts.map +1 -1
  149. package/out/interface/api/util/i-api-app-util.d.ts +31 -27
  150. package/out/interface/api/util/i-api-app-util.d.ts.map +1 -1
  151. package/out/interface/api/util/i-api-confirm-util.d.ts +4 -4
  152. package/out/interface/api/util/i-api-encryption-util.d.ts +15 -0
  153. package/out/interface/api/util/i-api-encryption-util.d.ts.map +1 -0
  154. package/out/interface/api/util/i-api-encryption-util.js +1 -0
  155. package/out/interface/api/util/i-api-error-handle-center.d.ts +21 -0
  156. package/out/interface/api/util/i-api-error-handle-center.d.ts.map +1 -0
  157. package/out/interface/api/util/i-api-error-handle-center.js +1 -0
  158. package/out/interface/api/util/i-api-excel-util.d.ts +25 -0
  159. package/out/interface/api/util/i-api-excel-util.d.ts.map +1 -0
  160. package/out/interface/api/util/i-api-excel-util.js +1 -0
  161. package/out/interface/api/util/i-api-file-util.d.ts +17 -17
  162. package/out/interface/api/util/i-api-file-util.d.ts.map +1 -1
  163. package/out/interface/api/util/i-api-fullscreen-util.d.ts +5 -4
  164. package/out/interface/api/util/i-api-fullscreen-util.d.ts.map +1 -1
  165. package/out/interface/api/util/i-api-global-util.d.ts +58 -1
  166. package/out/interface/api/util/i-api-global-util.d.ts.map +1 -1
  167. package/out/interface/api/util/i-api-handlebars-util.d.ts +4 -4
  168. package/out/interface/api/util/i-api-html2canvas-util.d.ts +4 -4
  169. package/out/interface/api/util/i-api-inline-ai-util.d.ts +11 -11
  170. package/out/interface/api/util/i-api-json-util.d.ts +8 -8
  171. package/out/interface/api/util/i-api-message-util.d.ts +2 -3
  172. package/out/interface/api/util/i-api-message-util.d.ts.map +1 -1
  173. package/out/interface/api/util/i-api-modal-util.d.ts +6 -6
  174. package/out/interface/api/util/i-api-notification-util.d.ts +5 -5
  175. package/out/interface/api/util/i-api-open-view-util.d.ts +33 -29
  176. package/out/interface/api/util/i-api-open-view-util.d.ts.map +1 -1
  177. package/out/interface/api/util/i-api-qrcode-util.d.ts +5 -4
  178. package/out/interface/api/util/i-api-qrcode-util.d.ts.map +1 -1
  179. package/out/interface/api/util/i-api-raw-value-util.d.ts +2 -2
  180. package/out/interface/api/util/i-api-short-cut-util.d.ts +24 -8
  181. package/out/interface/api/util/i-api-short-cut-util.d.ts.map +1 -1
  182. package/out/interface/api/util/i-api-text-util.d.ts +7 -0
  183. package/out/interface/api/util/i-api-text-util.d.ts.map +1 -1
  184. package/out/interface/api/util/i-api-ui-action-util.d.ts +36 -0
  185. package/out/interface/api/util/i-api-ui-action-util.d.ts.map +1 -0
  186. package/out/interface/api/util/i-api-ui-action-util.js +1 -0
  187. package/out/interface/api/util/i-api-voice-util.d.ts +3 -4
  188. package/out/interface/api/util/i-api-voice-util.d.ts.map +1 -1
  189. package/out/interface/api/util/i-api-water-mark-util.d.ts +3 -3
  190. package/out/interface/api/util/i-api-wechat-util.d.ts +11 -3
  191. package/out/interface/api/util/i-api-wechat-util.d.ts.map +1 -1
  192. package/out/interface/api/util/index.d.ts +4 -0
  193. package/out/interface/api/util/index.d.ts.map +1 -1
  194. package/out/interface/common/i-error-handler/i-error-handler.d.ts +3 -8
  195. package/out/interface/common/i-error-handler/i-error-handler.d.ts.map +1 -1
  196. package/out/interface/common/i-modal-options/i-modal-options.d.ts +2 -55
  197. package/out/interface/common/i-modal-options/i-modal-options.d.ts.map +1 -1
  198. package/out/interface/common/i-ui-action-result/i-ui-action-result.d.ts +3 -57
  199. package/out/interface/common/i-ui-action-result/i-ui-action-result.d.ts.map +1 -1
  200. package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts +3 -36
  201. package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts.map +1 -1
  202. package/out/interface/util/i-encryption-uitl/i-encryption-uitl.d.ts +3 -10
  203. package/out/interface/util/i-encryption-uitl/i-encryption-uitl.d.ts.map +1 -1
  204. package/out/interface/util/i-excel-util/i-excel-util.d.ts +3 -12
  205. package/out/interface/util/i-excel-util/i-excel-util.d.ts.map +1 -1
  206. package/out/utils/error-handler/error-handler-center.d.ts +3 -2
  207. package/out/utils/error-handler/error-handler-center.d.ts.map +1 -1
  208. package/out/utils/error-handler/error-handler-center.js +1 -0
  209. package/out/utils/open-redirect-view/open-redirect-view.d.ts.map +1 -1
  210. package/out/utils/open-redirect-view/open-redirect-view.js +4 -0
  211. package/package.json +3 -3
@@ -62,42 +62,42 @@ export interface IApiModalParams {
62
62
  export interface IApiModalUtil {
63
63
  /**
64
64
  * @description 弹出普通信息
65
- * @param {IApiModalParams} params
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
71
  * @description 弹出成功信息
72
- * @param {IApiModalParams} params
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
78
  * @description 弹出警告信息
79
- * @param {IApiModalParams} params
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
85
  * @description 弹出错误信息
86
- * @param {IApiModalParams} params
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
92
  * @description 弹出确认操作
93
- * @param {IApiModalParams} params
93
+ * @param {IApiModalParams} params 确认框参数
94
94
  * @returns {*} {Promise<boolean>}
95
95
  * @memberof IApiModalUtil
96
96
  */
97
97
  confirm(params: IApiModalParams): Promise<boolean>;
98
98
  /**
99
99
  * @description 弹出确认操作,返回确认结果(yes | no | cancel)
100
- * @param {IApiModalParams} params
100
+ * @param {IApiModalParams} params 确认框参数
101
101
  * @returns {*} {(Promise<'yes' | 'no' | 'cancel'>)}
102
102
  * @memberof IApiModalUtil
103
103
  */
@@ -54,31 +54,31 @@ export interface IApiNotificationParams {
54
54
  export interface IApiNotificationUtil {
55
55
  /**
56
56
  * @description 弹出默认通知
57
- * @param {IApiNotificationParams} params
57
+ * @param {IApiNotificationParams} params 通知参数
58
58
  * @memberof IApiNotificationUtil
59
59
  */
60
60
  default(params: IApiNotificationParams): void;
61
61
  /**
62
62
  * @description 弹出普通通知
63
- * @param {IApiNotificationParams} params
63
+ * @param {IApiNotificationParams} params 通知参数
64
64
  * @memberof IApiNotificationUtil
65
65
  */
66
66
  info(params: IApiNotificationParams): void;
67
67
  /**
68
68
  * @description 弹出成功通知
69
- * @param {IApiNotificationParams} params
69
+ * @param {IApiNotificationParams} params 通知参数
70
70
  * @memberof IApiNotificationUtil
71
71
  */
72
72
  success(params: IApiNotificationParams): void;
73
73
  /**
74
74
  * @description 弹出警告通知
75
- * @param {IApiNotificationParams} params
75
+ * @param {IApiNotificationParams} params 通知参数
76
76
  * @memberof IApiNotificationUtil
77
77
  */
78
78
  warning(params: IApiNotificationParams): void;
79
79
  /**
80
80
  * @description 弹出失败通知
81
- * @param {IApiNotificationParams} params
81
+ * @param {IApiNotificationParams} params 通知参数
82
82
  * @memberof IApiNotificationUtil
83
83
  */
84
84
  error(params: IApiNotificationParams): void;
@@ -1,4 +1,4 @@
1
- import { IApiContext, IApiData, IApiParams } from '@ibiz-template/core';
1
+ import { IApiContext, IApiParams } from '@ibiz-template/core';
2
2
  import { IApiModalData, IApiOverlayContainerOptions, IApiPopoverOptions } from '../common';
3
3
  /**
4
4
  * @description 打开视图工具类
@@ -8,75 +8,79 @@ import { IApiModalData, IApiOverlayContainerOptions, IApiPopoverOptions } from '
8
8
  export interface IApiOpenViewUtil {
9
9
  /**
10
10
  * @description 直接路径打开视图
11
- * @param {string} path
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
17
  * @description 打开顶级视图(一般为路由打开)
18
- * @param {string} appViewId
19
- * @param {IApiContext} context
20
- * @param {IApiParams} [params]
21
- * @param {IApiData} [modalOptions]
18
+ * @param {string} appViewId 应用视图id
19
+ * @param {IApiContext} context 上下文参数
20
+ * @param {IApiParams} [params] 视图参数
21
+ * @param {{
22
+ * replace?: boolean; // 是否替换当前路由
23
+ * }} [modalOptions] 配置
22
24
  * @returns {*} {Promise<IApiModalData>}
23
25
  * @memberof IApiOpenViewUtil
24
26
  */
25
- root(appViewId: string, context: IApiContext, params?: IApiParams, modalOptions?: IApiData): Promise<IApiModalData>;
27
+ root(appViewId: string, context: IApiContext, params?: IApiParams, modalOptions?: {
28
+ replace?: boolean;
29
+ }): Promise<IApiModalData>;
26
30
  /**
27
31
  * @description 打开顶级视图(模态方式打开)
28
- * @param {string} appViewId
29
- * @param {IApiContext} context
30
- * @param {IApiParams} [params]
32
+ * @param {string} appViewId 应用视图id
33
+ * @param {IApiContext} context 上下文参数
34
+ * @param {IApiParams} [params] 视图参数
31
35
  * @returns {*} {Promise<IApiModalData>}
32
36
  * @memberof IApiOpenViewUtil
33
37
  */
34
38
  rootByModal(appViewId: string, context: IApiContext, params?: IApiParams): Promise<IApiModalData>;
35
39
  /**
36
40
  * @description 打开模态视图
37
- * @param {string} appViewId
38
- * @param {IApiContext} context
39
- * @param {IApiParams} [params]
40
- * @param {IApiOverlayContainerOptions} [options]
41
+ * @param {string} appViewId 应用视图id
42
+ * @param {IApiContext} context 上下文参数
43
+ * @param {IApiParams} [params] 视图参数
44
+ * @param {IApiOverlayContainerOptions} [options] 模态配置
41
45
  * @returns {*} {Promise<IApiModalData>}
42
46
  * @memberof IApiOpenViewUtil
43
47
  */
44
48
  modal(appViewId: string, context: IApiContext, params?: IApiParams, options?: IApiOverlayContainerOptions): Promise<IApiModalData>;
45
49
  /**
46
50
  * @description 气泡模式打开
47
- * @param {string} appViewId
48
- * @param {MouseEvent} event
49
- * @param {IApiContext} context
50
- * @param {IApiParams} [params]
51
- * @param {(IApiPopoverOptions & IApiOverlayContainerOptions)} [options]
51
+ * @param {string} appViewId 应用视图id
52
+ * @param {MouseEvent} event 鼠标事件
53
+ * @param {IApiContext} context 上下文参数
54
+ * @param {IApiParams} [params] 视图参数
55
+ * @param {(IApiPopoverOptions & IApiOverlayContainerOptions)} [options] 气泡飘窗配置
52
56
  * @returns {*} {Promise<IApiModalData>}
53
57
  * @memberof IApiOpenViewUtil
54
58
  */
55
59
  popover(appViewId: string, event: MouseEvent, context: IApiContext, params?: IApiParams, options?: IApiPopoverOptions & IApiOverlayContainerOptions): Promise<IApiModalData>;
56
60
  /**
57
61
  * @description 抽屉模式打开
58
- * @param {string} appViewId
59
- * @param {IApiContext} context
60
- * @param {IApiParams} [params]
61
- * @param {IApiOverlayContainerOptions} [options]
62
+ * @param {string} appViewId 应用视图id
63
+ * @param {IApiContext} context 上下文参数
64
+ * @param {IApiParams} [params] 视图参数
65
+ * @param {IApiOverlayContainerOptions} [options] 抽屉配置
62
66
  * @returns {*} {Promise<IApiModalData>}
63
67
  * @memberof IApiOpenViewUtil
64
68
  */
65
69
  drawer(appViewId: string, context: IApiContext, params?: IApiParams, options?: IApiOverlayContainerOptions): Promise<IApiModalData>;
66
70
  /**
67
71
  * @description 自定义打开方式
68
- * @param {string} appViewId
69
- * @param {IApiContext} context
70
- * @param {IApiParams} [params]
72
+ * @param {string} appViewId 应用视图id
73
+ * @param {IApiContext} context 上下文参数
74
+ * @param {IApiParams} [params] 视图参数
71
75
  * @returns {*} {Promise<IApiModalData>}
72
76
  * @memberof IApiOpenViewUtil
73
77
  */
74
78
  custom(appViewId: string, context: IApiContext, params?: IApiParams): Promise<IApiModalData>;
75
79
  /**
76
80
  * @description 独立程序打开
77
- * @param {string} appViewId
78
- * @param {IApiContext} context
79
- * @param {IApiParams} [params]
81
+ * @param {string} appViewId 应用视图id
82
+ * @param {IApiContext} context 上下文参数
83
+ * @param {IApiParams} [params] 视图参数
80
84
  * @returns {*} {Promise<void>}
81
85
  * @memberof IApiOpenViewUtil
82
86
  */
@@ -1 +1 @@
1
- {"version":3,"file":"i-api-open-view-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-open-view-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EACL,aAAa,EACb,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAEnB;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAE3C;;;;;;;;OAQG;IACH,IAAI,CACF,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,UAAU,EACnB,YAAY,CAAC,EAAE,QAAQ,GACtB,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;OAOG;IACH,WAAW,CACT,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,UAAU,GAClB,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;;OAQG;IACH,KAAK,CACH,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;;;OASG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,kBAAkB,GAAG,2BAA2B,GACzD,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;;OAQG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;OAOG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,UAAU,GAClB,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;OAOG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,UAAU,GAClB,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"i-api-open-view-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-open-view-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,aAAa,EACb,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAEnB;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CA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
@@ -1,4 +1,5 @@
1
1
  import { IApiData, IApiParams } from '@ibiz-template/core';
2
+ import { IApiModalOptions } from '../common';
2
3
  /**
3
4
  * @description 二维码工具
4
5
  * @export
@@ -7,18 +8,18 @@ import { IApiData, IApiParams } from '@ibiz-template/core';
7
8
  export interface IApiQrcodeUtil {
8
9
  /**
9
10
  * @description 扫描二维码
10
- * @param {(IApiParams | undefined)} [options] 创建二维码参数配置
11
+ * @param {IApiModalOptions} [options] 模态配置
11
12
  * @returns {*} {Promise<IApiData>}
12
13
  * @memberof IApiQrcodeUtil
13
14
  */
14
- scanQrcode(options?: IApiParams | undefined): Promise<IApiData>;
15
+ scanQrcode(options?: IApiModalOptions): Promise<IApiData>;
15
16
  /**
16
17
  * @description 创建二维码
17
18
  * @param {string} value 创建二维码需要的文本值
18
- * @param {(IApiParams | undefined)} [options] 创建二维码参数配置
19
+ * @param {IApiParams} [options] 创建二维码参数配置
19
20
  * @returns {*} {IApiParams}
20
21
  * @memberof IApiQrcodeUtil
21
22
  */
22
- createQrcode(value: string, options?: IApiParams | undefined): IApiParams;
23
+ createQrcode(value: string, options?: IApiParams): IApiParams;
23
24
  }
24
25
  //# sourceMappingURL=i-api-qrcode-util.d.ts.map
@@ -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;AAE3D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEhE;;;;;;OAMG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;CAC3E"}
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"}
@@ -6,14 +6,14 @@
6
6
  export interface IApiRawValueUtil {
7
7
  /**
8
8
  * @description 字符串是否完全由整数/浮点数组成
9
- * @param {string} str
9
+ * @param {string} str 字符串
10
10
  * @returns {*} {boolean}
11
11
  * @memberof IApiRawValueUtil
12
12
  */
13
13
  isNumber(str: string): boolean;
14
14
  /**
15
15
  * @description 转换直接值
16
- * @param {(string | undefined)} val
16
+ * @param {(string | undefined)} val 直接值
17
17
  * @returns {*} {(number | boolean | string | undefined)}
18
18
  * @memberof IApiRawValueUtil
19
19
  */
@@ -75,44 +75,60 @@ export interface IApiShortCutUtil {
75
75
  mode: 'horizontal' | 'vertical';
76
76
  /**
77
77
  * @description 设置快捷方式模式
78
- * @param {('horizontal' | 'vertical')} mode
78
+ * @param {('horizontal' | 'vertical')} mode 快捷方式模式
79
79
  * @memberof IApiShortCutUtil
80
80
  */
81
81
  setShortCutMode(mode: 'horizontal' | 'vertical'): void;
82
82
  /**
83
83
  * @description 订阅数据改变事件
84
- * @param {(data: IApiShortCutData[]) => void} callback
84
+ * @param {(data: IApiShortCutData[]) => void} callback 回调函数
85
85
  * @memberof IApiShortCutUtil
86
86
  */
87
87
  onChange(callback: (data: IApiShortCutData[]) => void): void;
88
88
  /**
89
89
  * @description 取消订阅数据改变事件
90
- * @param {(data: IApiShortCutData[]) => void} callback
90
+ * @param {(data: IApiShortCutData[]) => void} callback 回调函数
91
91
  * @memberof IApiShortCutUtil
92
92
  */
93
93
  offChange(callback: (data: IApiShortCutData[]) => void): void;
94
+ /**
95
+ * @description 计算快捷方式key
96
+ * @param {{
97
+ * context: IApiContext; // 上下文参数
98
+ * appViewId: string; // 应用视图id
99
+ * }} {
100
+ * context,
101
+ * appViewId,
102
+ * }
103
+ * @returns {*} {Promise<string>}
104
+ * @memberof IApiShortCutUtil
105
+ */
106
+ calcShortCutKey({ context, appViewId, }: {
107
+ context: IApiContext;
108
+ appViewId: string;
109
+ }): Promise<string>;
94
110
  /**
95
111
  * @description 添加快捷方式
96
- * @param {IApiShortCutData} shortCut
112
+ * @param {IApiShortCutData} shortCut 快捷方式数据
97
113
  * @memberof IApiShortCutUtil
98
114
  */
99
115
  addShortCut(shortCut: IApiShortCutData): void;
100
116
  /**
101
117
  * @description 删除快捷方式
102
- * @param {string} key
118
+ * @param {string} key 快捷方式数据标识
103
119
  * @memberof IApiShortCutUtil
104
120
  */
105
121
  removeShortCut(key: string): void;
106
122
  /**
107
123
  * @description 改变顺序
108
- * @param {number} newIndex
109
- * @param {number} oldIndex
124
+ * @param {number} newIndex 新索引
125
+ * @param {number} oldIndex 旧索引
110
126
  * @memberof IApiShortCutUtil
111
127
  */
112
128
  changeIndex(newIndex: number, oldIndex: number): void;
113
129
  /**
114
130
  * @description 是否存在最小化
115
- * @param {string} key
131
+ * @param {string} key 快捷方式数据标识
116
132
  * @returns {*} {boolean}
117
133
  * @memberof IApiShortCutUtil
118
134
  */
@@ -1 +1 @@
1
- {"version":3,"file":"i-api-short-cut-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-short-cut-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C;;;;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C,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAE9C;;;;OAIG;IACH,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;;;;OAKG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtD;;;;;OAKG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC/B"}
@@ -40,5 +40,12 @@ export interface IApiTextUtil {
40
40
  * @memberof IApiTextUtil
41
41
  */
42
42
  stringToHexColor(text: string): string;
43
+ /**
44
+ * @description 获取文本缩写
45
+ * @param {string} text 文本
46
+ * @returns {*} {(string | void)}
47
+ * @memberof IApiTextUtil
48
+ */
49
+ abbreviation(text: string): string | void;
43
50
  }
44
51
  //# sourceMappingURL=i-api-text-util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-api-text-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-text-util.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IAE9C;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IAE7B;;;;;OAKG;IACH,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAEzC;;;;;OAKG;IACH,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE3C;;;;;OAKG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACxC"}
1
+ {"version":3,"file":"i-api-text-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-text-util.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IAE9C;;;;;OAKG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IAE7B;;;;;OAKG;IACH,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAEzC;;;;;OAKG;IACH,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE3C;;;;;OAKG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAEvC;;;;;OAKG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAC3C"}
@@ -0,0 +1,36 @@
1
+ import { IApiUIActionResult, IApiUILogicParams } from '../common';
2
+ /**
3
+ * @description 界面行为工具类
4
+ * @export
5
+ * @interface IApiUIActionUtil
6
+ */
7
+ export interface IApiUIActionUtil {
8
+ /**
9
+ * @description 执行界面行为
10
+ * @param {string} actionId 界面行为id
11
+ * @param {IApiUILogicParams} params 界面行为参数
12
+ * @param {string} appId 应用标识
13
+ * @returns {*} {Promise<IApiUIActionResult>}
14
+ * @memberof IApiUIActionUtil
15
+ */
16
+ exec(actionId: string, params: IApiUILogicParams, appId: string): Promise<IApiUIActionResult>;
17
+ /**
18
+ * @description 执行界面逻辑
19
+ * @param {string} appDEUILogicId 界面逻辑id
20
+ * @param {string} appDataEntityId 实体标识
21
+ * @param {IApiUILogicParams} args 界面逻辑参数
22
+ * @returns {*} {Promise<unknown>}
23
+ * @memberof IApiUIActionUtil
24
+ */
25
+ execUILogic(appDEUILogicId: string, appDataEntityId: string, args: IApiUILogicParams): Promise<unknown>;
26
+ /**
27
+ * @description 执行界面行为并处理返回值
28
+ * @param {string} actionId 界面行为id
29
+ * @param {IApiUILogicParams} params 界面行为参数
30
+ * @param {string} appId 应用标识
31
+ * @returns {*} {Promise<void>}
32
+ * @memberof IApiUIActionUtil
33
+ */
34
+ execAndResolved(actionId: string, params: IApiUILogicParams, appId: string): Promise<void>;
35
+ }
36
+ //# sourceMappingURL=i-api-ui-action-util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-api-ui-action-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-ui-action-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAElE;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE/B;;;;;;;OAOG;IACH,WAAW,CACT,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,OAAO,CAAC,CAAC;IAEpB;;;;;;;OAOG;IACH,eAAe,CACb,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,iBAAiB,EACzB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,3 @@
1
- import { IApiParams } from '@ibiz-template/core';
2
1
  /**
3
2
  * @description 语音工具类
4
3
  * @export
@@ -7,11 +6,11 @@ import { IApiParams } from '@ibiz-template/core';
7
6
  export interface IApiVoiceUtil {
8
7
  /**
9
8
  * @description 文字转语音
10
- * @param {string} text
11
- * @param {IApiParams} [options]
9
+ * @param {string} text 文字
10
+ * @param {SpeechSynthesisUtterance} [options] 语音配置
12
11
  * @returns {*} {Promise<boolean>}
13
12
  * @memberof IApiVoiceUtil
14
13
  */
15
- textToSpeech(text: string, options?: IApiParams): Promise<boolean>;
14
+ textToSpeech(text: string, options?: SpeechSynthesisUtterance): Promise<boolean>;
16
15
  }
17
16
  //# sourceMappingURL=i-api-voice-util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-api-voice-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-voice-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;OAMG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACpE"}
1
+ {"version":3,"file":"i-api-voice-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-voice-util.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;OAMG;IACH,YAAY,CACV,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB"}
@@ -10,9 +10,9 @@ export interface IApiWaterMarkUtil {
10
10
  * @description 挂载水印至指定元素上
11
11
  * @param {Partial<IApiGlobalWaterMarkConfig>} option 水印参数
12
12
  * @param {HTMLElement} [container] 指定html元素,无值则附加到body上
13
- * @param {IApiContext} [context]
14
- * @param {IApiParams} [params]
15
- * @param {IApiData} [data]
13
+ * @param {IApiContext} [context] 上下文参数
14
+ * @param {IApiParams} [params] 视图参数
15
+ * @param {IApiData} [data] 视图数据
16
16
  * @returns {*} {(null | (() => void))}
17
17
  * @memberof IApiWaterMarkUtil
18
18
  */
@@ -7,7 +7,7 @@ import { IApiData } from '@ibiz-template/core';
7
7
  export interface IApiWeChatUtil {
8
8
  /**
9
9
  * @description 获取微信授权签名
10
- * @param {IApiData} data
10
+ * @param {IApiData} data 请求数据
11
11
  * @returns {*} {(Promise<IApiData | undefined>)}
12
12
  * @memberof IApiWeChatUtil
13
13
  */
@@ -16,10 +16,18 @@ export interface IApiWeChatUtil {
16
16
  * @description 配置微信授权
17
17
  * @param {string[]} [jsApiList=[]] 使用js-sdk的api列表
18
18
  * @param {IApiData} signData 获取授权签名请求数据
19
- * @param {IApiData} [fieldMap={}] 授权签名数据与ws.config的属性映射表,分别为timestamp(时间戳属性)、nonceStr(随机字符串属性)、signature(签名属性)
19
+ * @param {{
20
+ * timestamp?: string;
21
+ * nonceStr?: string;
22
+ * signature?: string;
23
+ * }} [fieldMap] 授权签名数据与ws.config的属性映射表,分别为timestamp(时间戳属性)、nonceStr(随机字符串属性)、signature(签名属性)
20
24
  * @returns {*} {Promise<IApiData>}
21
25
  * @memberof IApiWeChatUtil
22
26
  */
23
- config(jsApiList?: string[], signData?: IApiData, fieldMap?: IApiData): Promise<IApiData>;
27
+ config(jsApiList?: string[], signData?: IApiData, fieldMap?: {
28
+ timestamp?: string;
29
+ nonceStr?: string;
30
+ signature?: string;
31
+ }): Promise<IApiData>;
24
32
  }
25
33
  //# sourceMappingURL=i-api-wechat-util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-api-wechat-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-wechat-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAEvD;;;;;;;OAOG;IACH,MAAM,CACJ,SAAS,CAAC,EAAE,MAAM,EAAE,EACpB,QAAQ,CAAC,EAAE,QAAQ,EACnB,QAAQ,CAAC,EAAE,QAAQ,GAClB,OAAO,CAAC,QAAQ,CAAC,CAAC;CACtB"}
1
+ {"version":3,"file":"i-api-wechat-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/i-api-wechat-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAEvD;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,SAAS,CAAC,EAAE,MAAM,EAAE,EACpB,QAAQ,CAAC,EAAE,QAAQ,EACnB,QAAQ,CAAC,EAAE;QACT,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACA,OAAO,CAAC,QAAQ,CAAC,CAAC;CACtB"}
@@ -22,4 +22,8 @@ export type { IApiInLineAiChatOptions, IApiInLineAIUtil, } from './i-api-inline-
22
22
  export type { IApiAIToolbarItem, IApiAIChatUtil } from './i-api-ai-chat-util';
23
23
  export type { IApiJsonUtil, IApiJsonRepairOption, IApiJsonRepairResult, } from './i-api-json-util';
24
24
  export type { IApiScreenShotUtil } from './i-api-screen-shot-util';
25
+ export type { IApiUIActionUtil } from './i-api-ui-action-util';
26
+ export type { IApiErrorHandlerCenter } from './i-api-error-handle-center';
27
+ export type { IApiEncryptionUtil } from './i-api-encryption-util';
28
+ export type { IApiExcelUtil } from './i-api-excel-util';
25
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/util/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACzE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC/E,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC/E,YAAY,EACV,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,gBAA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AAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC9E,YAAY,EACV,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACnE,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,YAAY,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,YAAY,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,17 +1,12 @@
1
+ import { IApiErrorHandler } from '../../api';
1
2
  /**
2
3
  * 错误处理器接口
3
4
  * @author lxm
4
5
  * @date 2023-09-26 04:51:18
5
6
  * @export
6
7
  * @interface IErrorHandler
8
+ * @extends {IApiErrorHandler}
7
9
  */
8
- export interface IErrorHandler {
9
- /**
10
- * 处理错误,如果处理了该异常则返回true,后续处理器的就不会处理该异常
11
- * @author lxm
12
- * @date 2023-09-26 04:48:57
13
- * @param {unknown} error
14
- */
15
- handle(error: unknown): boolean | undefined;
10
+ export interface IErrorHandler extends IApiErrorHandler {
16
11
  }
17
12
  //# sourceMappingURL=i-error-handler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-error-handler.d.ts","sourceRoot":"","sources":["../../../../src/interface/common/i-error-handler/i-error-handler.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;CAC7C"}
1
+ {"version":3,"file":"i-error-handler.d.ts","sourceRoot":"","sources":["../../../../src/interface/common/i-error-handler/i-error-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;;;;;;GAOG;AACH,MAAM,WAAW,aAAc,SAAQ,gBAAgB;CAAG"}
@@ -1,57 +1,4 @@
1
- export interface IModalOptions {
2
- /**
3
- * 宽度 数字0-100的时候算百分比,100以上算像素px,字符串原样设置
4
- *
5
- * @author lxm
6
- * @date 2022-09-12 20:09:20
7
- * @type {string | number}
8
- */
9
- width?: string | number;
10
- /**
11
- * 高度 数字0-100的时候算百分比,100以上算像素px,字符串原样设置
12
- *
13
- * @author lxm
14
- * @date 2022-09-12 20:09:22
15
- * @type {string | number}
16
- */
17
- height?: string | number;
18
- /**
19
- * 是否隐藏底部按钮(默认false)
20
- *
21
- * @author lxm
22
- * @date 2022-09-12 20:09:23
23
- * @type {boolean}
24
- */
25
- footerHide?: boolean;
26
- /**
27
- * 显示位置
28
- *
29
- * @author lxm
30
- * @date 2022-11-08 16:11:38
31
- * @type {'center'}
32
- */
33
- placement?: 'center';
34
- /**
35
- * 自定义模态的类名,用来自定义模态样式
36
- *
37
- * @author lxm
38
- * @date 2022-11-21 15:11:29
39
- * @type {string}
40
- */
41
- modalClass?: string;
42
- /**
43
- * 是否为路由模态模式
44
- *
45
- * @author chitanda
46
- * @date 2024-02-29 10:02:00
47
- * @type {boolean}
48
- */
49
- isRouteModal?: boolean;
50
- /**
51
- * @description 是否开启数据切换指示器
52
- * @type {boolean}
53
- * @memberof IModalOptions
54
- */
55
- openIndicator?: boolean;
1
+ import { IApiModalOptions } from '../../api';
2
+ export interface IModalOptions extends IApiModalOptions {
56
3
  }
57
4
  //# sourceMappingURL=i-modal-options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i-modal-options.d.ts","sourceRoot":"","sources":["../../../../src/interface/common/i-modal-options/i-modal-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC;IAErB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"i-modal-options.d.ts","sourceRoot":"","sources":["../../../../src/interface/common/i-modal-options/i-modal-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,WAAW,aAAc,SAAQ,gBAAgB;CAAG"}