@ibiz-template/runtime 0.7.41-alpha.52 → 0.7.41-alpha.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +22 -5
- package/dist/index.system.min.js +1 -1
- package/out/controller/control/chart/chart.controller.d.ts.map +1 -1
- package/out/controller/control/chart/chart.controller.js +3 -2
- package/out/controller/control/form/form/form.controller.d.ts +7 -0
- package/out/controller/control/form/form/form.controller.d.ts.map +1 -1
- package/out/controller/control/form/form/form.controller.js +11 -0
- package/out/controller/control/report-panel/generator/base-generator.d.ts +3 -2
- package/out/controller/control/report-panel/generator/base-generator.d.ts.map +1 -1
- package/out/controller/control/report-panel/generator/base-generator.js +1 -0
- package/out/controller/ctx/ctx.d.ts +6 -4
- package/out/controller/ctx/ctx.d.ts.map +1 -1
- package/out/controller/ctx/ctx.js +1 -0
- package/out/controller/hub.controller.d.ts +8 -4
- package/out/controller/hub.controller.d.ts.map +1 -1
- package/out/controller/hub.controller.js +5 -3
- package/out/interface/api/app/i-api-app-hub-controller.d.ts +23 -19
- package/out/interface/api/app/i-api-app-hub-controller.d.ts.map +1 -1
- package/out/interface/api/app/i-api-app-hub-service.d.ts +9 -9
- package/out/interface/api/app/i-micro-app-config-center.d.ts +3 -3
- package/out/interface/api/call/i-api-data-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-edit-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-grid-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-list-view.call.d.ts +2 -2
- package/out/interface/api/call/i-api-login-view.call.d.ts +21 -5
- package/out/interface/api/call/i-api-login-view.call.d.ts.map +1 -1
- package/out/interface/api/call/i-api-md-custom-view.call.d.ts +3 -3
- package/out/interface/api/call/i-api-md-view.call.d.ts +6 -6
- package/out/interface/api/call/i-api-mob-wf-dyna-edit-view.call.d.ts +1 -1
- package/out/interface/api/call/i-api-tree-exp-view.call.d.ts +4 -4
- package/out/interface/api/call/i-api-tree-grid-ex-view.call.d.ts +1 -1
- package/out/interface/api/call/i-api-tree-grid-view.call.d.ts +4 -7
- package/out/interface/api/call/i-api-tree-grid-view.call.d.ts.map +1 -1
- package/out/interface/api/call/i-api-tree-view.call.d.ts +4 -4
- package/out/interface/api/call/i-api-view.call.d.ts +1 -1
- package/out/interface/api/common/i-api-ctx.d.ts +41 -0
- package/out/interface/api/common/i-api-ctx.d.ts.map +1 -0
- package/out/interface/api/common/i-api-ctx.js +1 -0
- package/out/interface/api/common/i-api-error-handler.d.ts +15 -0
- package/out/interface/api/common/i-api-error-handler.d.ts.map +1 -0
- package/out/interface/api/common/i-api-error-handler.js +1 -0
- package/out/interface/api/common/i-api-modal-option.d.ts +50 -0
- package/out/interface/api/common/i-api-modal-option.d.ts.map +1 -0
- package/out/interface/api/common/i-api-modal-option.js +1 -0
- package/out/interface/api/common/i-api-overlay-container-options.d.ts +3 -3
- package/out/interface/api/common/i-api-overlay-container-options.d.ts.map +1 -1
- package/out/interface/api/common/i-api-ui-action-result.d.ts +51 -0
- package/out/interface/api/common/i-api-ui-action-result.d.ts.map +1 -0
- package/out/interface/api/common/i-api-ui-action-result.js +1 -0
- package/out/interface/api/common/i-api-ui-logic-params.d.ts +52 -0
- package/out/interface/api/common/i-api-ui-logic-params.d.ts.map +1 -0
- package/out/interface/api/common/i-api-ui-logic-params.js +1 -0
- package/out/interface/api/common/index.d.ts +5 -0
- package/out/interface/api/common/index.d.ts.map +1 -1
- package/out/interface/api/controller/common/i-api-enforceable.controller.d.ts +1 -1
- package/out/interface/api/controller/control/form-detail/i-api-form-button-controller.d.ts +3 -3
- package/out/interface/api/controller/control/form-detail/i-api-form-button-list.controller.d.ts +6 -6
- package/out/interface/api/controller/control/form-detail/i-api-form-detail.controller.d.ts +1 -0
- package/out/interface/api/controller/control/form-detail/i-api-form-detail.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/form-detail/i-api-form-group-panel.controller.d.ts +3 -3
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-form.controller.d.ts +1 -7
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl-repeater.controller.d.ts +2 -2
- package/out/interface/api/controller/control/form-detail/i-api-form-mdctrl.controller.d.ts +2 -2
- package/out/interface/api/controller/control/grid-column/i-api-grid-column.controller.d.ts +1 -1
- package/out/interface/api/controller/control/grid-column/i-api-grid-field-column.controller.d.ts +6 -6
- package/out/interface/api/controller/control/grid-column/i-api-grid-field-edit-column.controller.d.ts +3 -3
- package/out/interface/api/controller/control/grid-column/i-api-grid-ua-column.controller.d.ts +3 -3
- package/out/interface/api/controller/control/i-api-calendar.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-control.controller.d.ts +2 -2
- package/out/interface/api/controller/control/i-api-data-view-control.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-drbar.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-drtab.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-edit-form.controller.d.ts +7 -6
- package/out/interface/api/controller/control/i-api-edit-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-exp-bar-control.controller.d.ts +3 -3
- package/out/interface/api/controller/control/i-api-form.controller.d.ts +2 -2
- package/out/interface/api/controller/control/i-api-gantt.controller.d.ts +3 -3
- package/out/interface/api/controller/control/i-api-grid.controller.d.ts +4 -4
- package/out/interface/api/controller/control/i-api-kanban.controller.d.ts +2 -3
- package/out/interface/api/controller/control/i-api-kanban.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-list.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-map.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-md-control.controller.d.ts +7 -7
- package/out/interface/api/controller/control/i-api-medit-view-panel.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-mob-md-ctrl.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-pickup-view-panel.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-report-panel.controller.d.ts +4 -3
- package/out/interface/api/controller/control/i-api-report-panel.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-search-bar.controller.d.ts +2 -2
- package/out/interface/api/controller/control/i-api-search-form.controller.d.ts +2 -1
- package/out/interface/api/controller/control/i-api-search-form.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-tab-exp-panel.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-toolbar.controller.d.ts +4 -4
- package/out/interface/api/controller/control/i-api-tree-grid-ex.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-tree-grid.controller.d.ts +1 -1
- package/out/interface/api/controller/control/i-api-tree.controller.d.ts +3 -3
- package/out/interface/api/controller/control/index.d.ts +2 -1
- package/out/interface/api/controller/control/index.d.ts.map +1 -1
- package/out/interface/api/controller/control/index.js +1 -0
- package/out/interface/api/controller/control/portlet/i-api-portlet.controller.d.ts +11 -7
- package/out/interface/api/controller/control/portlet/i-api-portlet.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.d.ts +33 -0
- package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.d.ts.map +1 -0
- package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.js +1 -0
- package/out/interface/api/controller/control/report-panel/index.d.ts +2 -0
- package/out/interface/api/controller/control/report-panel/index.d.ts.map +1 -0
- package/out/interface/api/controller/control/report-panel/index.js +1 -0
- package/out/interface/api/controller/view/i-api-view.controller.d.ts +3 -3
- package/out/interface/api/service/i-api-app-de.service.d.ts +46 -44
- package/out/interface/api/service/i-api-app-de.service.d.ts.map +1 -1
- package/out/interface/api/service/i-api-auth-result.d.ts +4 -4
- package/out/interface/api/service/i-api-auth-result.d.ts.map +1 -1
- package/out/interface/api/service/i-api-code-list.service.d.ts +5 -5
- package/out/interface/api/service/i-api-de-service-util.d.ts +7 -7
- package/out/interface/api/service/index.d.ts +1 -0
- package/out/interface/api/service/index.d.ts.map +1 -1
- package/out/interface/api/service/vo/i-api-control.vo.d.ts +89 -0
- package/out/interface/api/service/vo/i-api-control.vo.d.ts.map +1 -0
- package/out/interface/api/service/vo/i-api-control.vo.js +1 -0
- package/out/interface/api/service/vo/i-api-ui-map-field.d.ts +54 -0
- package/out/interface/api/service/vo/i-api-ui-map-field.d.ts.map +1 -0
- package/out/interface/api/service/vo/i-api-ui-map-field.js +1 -0
- package/out/interface/api/service/vo/index.d.ts +3 -0
- package/out/interface/api/service/vo/index.d.ts.map +1 -0
- package/out/interface/api/service/vo/index.js +1 -0
- package/out/interface/api/state/common/i-api-button-container.state.d.ts +1 -1
- package/out/interface/api/state/common/i-api-button.state.d.ts +1 -1
- package/out/interface/api/state/control/i-api-app-menu.state.d.ts +1 -1
- package/out/interface/api/state/control/i-api-calendar.state.d.ts +33 -2
- package/out/interface/api/state/control/i-api-calendar.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-chart.state.d.ts +48 -9
- package/out/interface/api/state/control/i-api-chart.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-control.state.d.ts +0 -1
- package/out/interface/api/state/control/i-api-control.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-grid.state.d.ts +4 -3
- package/out/interface/api/state/control/i-api-grid.state.d.ts.map +1 -1
- package/out/interface/api/state/control/i-api-medit-view-panel.state.d.ts +8 -8
- package/out/interface/api/state/control/i-api-medit-view-panel.state.d.ts.map +1 -1
- package/out/interface/api/state/control/portlet/i-api-portlet.state.d.ts +1 -1
- package/out/interface/api/state/view/i-api-view-session.d.ts +1 -1
- package/out/interface/api/util/i-api-ai-chat-util.d.ts +99 -22
- package/out/interface/api/util/i-api-ai-chat-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-app-util.d.ts +31 -27
- package/out/interface/api/util/i-api-app-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-confirm-util.d.ts +4 -4
- package/out/interface/api/util/i-api-encryption-util.d.ts +15 -0
- package/out/interface/api/util/i-api-encryption-util.d.ts.map +1 -0
- package/out/interface/api/util/i-api-encryption-util.js +1 -0
- package/out/interface/api/util/i-api-error-handle-center.d.ts +21 -0
- package/out/interface/api/util/i-api-error-handle-center.d.ts.map +1 -0
- package/out/interface/api/util/i-api-error-handle-center.js +1 -0
- package/out/interface/api/util/i-api-excel-util.d.ts +25 -0
- package/out/interface/api/util/i-api-excel-util.d.ts.map +1 -0
- package/out/interface/api/util/i-api-excel-util.js +1 -0
- package/out/interface/api/util/i-api-file-util.d.ts +17 -17
- package/out/interface/api/util/i-api-file-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-fullscreen-util.d.ts +5 -4
- package/out/interface/api/util/i-api-fullscreen-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-global-util.d.ts +58 -1
- package/out/interface/api/util/i-api-global-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-handlebars-util.d.ts +4 -4
- package/out/interface/api/util/i-api-html2canvas-util.d.ts +4 -4
- package/out/interface/api/util/i-api-inline-ai-util.d.ts +11 -11
- package/out/interface/api/util/i-api-json-util.d.ts +8 -8
- package/out/interface/api/util/i-api-message-util.d.ts +2 -3
- package/out/interface/api/util/i-api-message-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-modal-util.d.ts +6 -6
- package/out/interface/api/util/i-api-notification-util.d.ts +5 -5
- package/out/interface/api/util/i-api-open-view-util.d.ts +33 -29
- package/out/interface/api/util/i-api-open-view-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-qrcode-util.d.ts +5 -4
- package/out/interface/api/util/i-api-qrcode-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-raw-value-util.d.ts +2 -2
- package/out/interface/api/util/i-api-short-cut-util.d.ts +24 -8
- package/out/interface/api/util/i-api-short-cut-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-text-util.d.ts +7 -0
- package/out/interface/api/util/i-api-text-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-ui-action-util.d.ts +36 -0
- package/out/interface/api/util/i-api-ui-action-util.d.ts.map +1 -0
- package/out/interface/api/util/i-api-ui-action-util.js +1 -0
- package/out/interface/api/util/i-api-voice-util.d.ts +3 -4
- package/out/interface/api/util/i-api-voice-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-water-mark-util.d.ts +3 -3
- package/out/interface/api/util/i-api-wechat-util.d.ts +11 -3
- package/out/interface/api/util/i-api-wechat-util.d.ts.map +1 -1
- package/out/interface/api/util/index.d.ts +4 -0
- package/out/interface/api/util/index.d.ts.map +1 -1
- package/out/interface/common/i-error-handler/i-error-handler.d.ts +3 -8
- package/out/interface/common/i-error-handler/i-error-handler.d.ts.map +1 -1
- package/out/interface/common/i-modal-options/i-modal-options.d.ts +2 -55
- package/out/interface/common/i-modal-options/i-modal-options.d.ts.map +1 -1
- package/out/interface/common/i-ui-action-result/i-ui-action-result.d.ts +3 -57
- package/out/interface/common/i-ui-action-result/i-ui-action-result.d.ts.map +1 -1
- package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts +3 -36
- package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts.map +1 -1
- package/out/interface/util/i-encryption-uitl/i-encryption-uitl.d.ts +3 -10
- package/out/interface/util/i-encryption-uitl/i-encryption-uitl.d.ts.map +1 -1
- package/out/interface/util/i-excel-util/i-excel-util.d.ts +3 -12
- package/out/interface/util/i-excel-util/i-excel-util.d.ts.map +1 -1
- package/out/utils/error-handler/error-handler-center.d.ts +3 -2
- package/out/utils/error-handler/error-handler-center.d.ts.map +1 -1
- package/out/utils/error-handler/error-handler-center.js +1 -0
- package/out/utils/open-redirect-view/open-redirect-view.d.ts.map +1 -1
- package/out/utils/open-redirect-view/open-redirect-view.js +4 -0
- package/package.json +3 -3
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IApiData } from '@ibiz-template/core';
|
|
2
|
+
/**
|
|
3
|
+
* @description 报表生成器
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IApiReportPanelGenerator
|
|
6
|
+
*/
|
|
7
|
+
export interface IApiReportPanelGenerator {
|
|
8
|
+
/**
|
|
9
|
+
* @description 报表类型
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof IApiReportPanelGenerator
|
|
12
|
+
*/
|
|
13
|
+
reportType?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @description 加载数据
|
|
16
|
+
* @param {IApiData} [data] 数据
|
|
17
|
+
* @returns {*} {Promise<IApiData>}
|
|
18
|
+
* @memberof IApiReportPanelGenerator
|
|
19
|
+
*/
|
|
20
|
+
load(data?: IApiData): Promise<IApiData>;
|
|
21
|
+
/**
|
|
22
|
+
* @description 生成报表
|
|
23
|
+
* @param {IApiData[]} items 数据集合
|
|
24
|
+
* @returns {*} {({ model: IModel; options: IApiData; data: IApiData[] } | undefined)}
|
|
25
|
+
* @memberof IApiReportPanelGenerator
|
|
26
|
+
*/
|
|
27
|
+
generate(items: IApiData[]): {
|
|
28
|
+
model: IModel;
|
|
29
|
+
options: IApiData;
|
|
30
|
+
data: IApiData[];
|
|
31
|
+
} | undefined;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=i-api-report-panel-generator.d.ts.map
|
package/out/interface/api/controller/control/report-panel/i-api-report-panel-generator.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-report-panel-generator.d.ts","sourceRoot":"","sources":["../../../../../../src/interface/api/controller/control/report-panel/i-api-report-panel-generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,IAAI,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEzC;;;;;OAKG;IACH,QAAQ,CACN,KAAK,EAAE,QAAQ,EAAE,GAChB;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAC;QAAC,IAAI,EAAE,QAAQ,EAAE,CAAA;KAAE,GAAG,SAAS,CAAC;CACvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/interface/api/controller/control/report-panel/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -56,20 +56,20 @@ export interface IApiViewController<T extends IAppView = IAppView, S extends IAp
|
|
|
56
56
|
layoutPanel?: IApiViewLayoutPanelController & IApiData;
|
|
57
57
|
/**
|
|
58
58
|
* @description 父视图数据
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {IApiData[]}
|
|
60
60
|
* @memberof IApiViewController
|
|
61
61
|
*/
|
|
62
62
|
parentData?: IApiData[];
|
|
63
63
|
/**
|
|
64
64
|
* @description 关闭视图
|
|
65
|
-
* @param {IApiModalData} [modalData]
|
|
65
|
+
* @param {IApiModalData} [modalData] 返回数据
|
|
66
66
|
* @returns {*} {Promise<void>}
|
|
67
67
|
* @memberof IApiViewController
|
|
68
68
|
*/
|
|
69
69
|
closeView(modalData?: IApiModalData): Promise<void>;
|
|
70
70
|
/**
|
|
71
71
|
* @description 重绘视图
|
|
72
|
-
* @param {
|
|
72
|
+
* @param {IApiRedrawData} redrawData 重绘数据
|
|
73
73
|
* @memberof IApiViewController
|
|
74
74
|
*/
|
|
75
75
|
redrawView(redrawData: IApiRedrawData): void;
|
|
@@ -27,127 +27,129 @@ export interface IApiAppDEService {
|
|
|
27
27
|
readonly app: IApiAppService;
|
|
28
28
|
/**
|
|
29
29
|
* @description 执行实体服务方法
|
|
30
|
-
* @param {string} id
|
|
31
|
-
* @param {IApiContext} context
|
|
32
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
33
|
-
* @param {IApiParams} [params2]
|
|
34
|
-
* @param {
|
|
30
|
+
* @param {string} id 数据集标识
|
|
31
|
+
* @param {IApiContext} context 应用上下文
|
|
32
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
33
|
+
* @param {IApiParams} [params2] 请求参数
|
|
34
|
+
* @param {IApiParams} [header] Axios 原生请求头类型
|
|
35
35
|
* @returns {*} {Promise<IHttpResponse>}
|
|
36
36
|
* @memberof IApiAppDEService
|
|
37
37
|
*/
|
|
38
|
-
exec(id: string, context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams, header?:
|
|
38
|
+
exec(id: string, context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams, header?: IApiParams): Promise<IHttpResponse>;
|
|
39
39
|
/**
|
|
40
40
|
* @description 获取草稿数据[系统预置]
|
|
41
|
-
* @param {IApiContext} context
|
|
42
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
43
|
-
* @param {IApiParams} [params2]
|
|
41
|
+
* @param {IApiContext} context 应用上下文
|
|
42
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
43
|
+
* @param {IApiParams} [params2] 请求参数
|
|
44
44
|
* @returns {*} {Promise<IHttpResponse>}
|
|
45
45
|
* @memberof IApiAppDEService
|
|
46
46
|
*/
|
|
47
47
|
getDraft(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
48
48
|
/**
|
|
49
49
|
* @description 获取草稿数据[系统预置](临时数据)
|
|
50
|
-
* @param {IApiContext} context
|
|
51
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
52
|
-
* @param {IApiParams} [params2]
|
|
50
|
+
* @param {IApiContext} context 应用上下文
|
|
51
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
52
|
+
* @param {IApiParams} [params2] 请求参数
|
|
53
53
|
* @returns {*} {Promise<IHttpResponse>}
|
|
54
54
|
* @memberof IApiAppDEService
|
|
55
55
|
*/
|
|
56
56
|
getDraftTemp(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
57
57
|
/**
|
|
58
58
|
* @description 创建数据[系统预置]
|
|
59
|
-
* @param {IApiContext} context
|
|
60
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
61
|
-
* @param {IApiParams} [params2]
|
|
59
|
+
* @param {IApiContext} context 应用上下文
|
|
60
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
61
|
+
* @param {IApiParams} [params2] 请求参数
|
|
62
62
|
* @returns {*} {Promise<IHttpResponse>}
|
|
63
63
|
* @memberof IApiAppDEService
|
|
64
64
|
*/
|
|
65
65
|
create(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* @description 创建数据[系统预置](临时数据)
|
|
68
|
-
* @param {IApiContext} context
|
|
69
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
70
|
-
* @param {IApiParams} [params2]
|
|
68
|
+
* @param {IApiContext} context 应用上下文
|
|
69
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
70
|
+
* @param {IApiParams} [params2] 请求参数
|
|
71
71
|
* @returns {*} {Promise<IHttpResponse>}
|
|
72
72
|
* @memberof IApiAppDEService
|
|
73
73
|
*/
|
|
74
74
|
createTemp(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
75
75
|
/**
|
|
76
76
|
* @description 获取数据[系统预置]
|
|
77
|
-
* @param {IApiContext} context
|
|
78
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
79
|
-
* @param {IApiParams} [params2]
|
|
77
|
+
* @param {IApiContext} context 应用上下文
|
|
78
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
79
|
+
* @param {IApiParams} [params2] 请求参数
|
|
80
80
|
* @returns {*} {Promise<IHttpResponse>}
|
|
81
81
|
* @memberof IApiAppDEService
|
|
82
82
|
*/
|
|
83
83
|
get(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
84
84
|
/**
|
|
85
85
|
* @description 获取数据[系统预置](临时数据)
|
|
86
|
-
* @param {IApiContext} context
|
|
87
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
88
|
-
* @param {IApiParams} [params2]
|
|
86
|
+
* @param {IApiContext} context 应用上下文
|
|
87
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
88
|
+
* @param {IApiParams} [params2] 请求参数
|
|
89
89
|
* @returns {*} {Promise<IHttpResponse>}
|
|
90
90
|
* @memberof IApiAppDEService
|
|
91
91
|
*/
|
|
92
92
|
getTemp(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
93
93
|
/**
|
|
94
94
|
* @description 更新数据[系统预置]
|
|
95
|
-
* @param {IApiContext} context
|
|
96
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
97
|
-
* @param {IApiParams} [params2]
|
|
95
|
+
* @param {IApiContext} context 应用上下文
|
|
96
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
97
|
+
* @param {IApiParams} [params2] 请求参数
|
|
98
98
|
* @returns {*} {Promise<IHttpResponse>}
|
|
99
99
|
* @memberof IApiAppDEService
|
|
100
100
|
*/
|
|
101
101
|
update(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
102
102
|
/**
|
|
103
103
|
* @description 更新数据[系统预置](临时数据)
|
|
104
|
-
* @param {IApiContext} context
|
|
105
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
106
|
-
* @param {IApiParams} [params2]
|
|
104
|
+
* @param {IApiContext} context 应用上下文
|
|
105
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
106
|
+
* @param {IApiParams} [params2] 请求参数
|
|
107
107
|
* @returns {*} {Promise<IHttpResponse>}
|
|
108
108
|
* @memberof IApiAppDEService
|
|
109
109
|
*/
|
|
110
110
|
updateTemp(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
111
111
|
/**
|
|
112
112
|
* @description 删除数据[系统预置]
|
|
113
|
-
* @param {IApiContext} context
|
|
114
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
115
|
-
* @param {IApiParams} [params2]
|
|
113
|
+
* @param {IApiContext} context 应用上下文
|
|
114
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
115
|
+
* @param {IApiParams} [params2] 请求参数
|
|
116
116
|
* @returns {*} {Promise<IHttpResponse>}
|
|
117
117
|
* @memberof IApiAppDEService
|
|
118
118
|
*/
|
|
119
119
|
remove(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
120
120
|
/**
|
|
121
121
|
* @description 删除数据[系统预置](临时数据)
|
|
122
|
-
* @param {IApiContext} context
|
|
123
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
124
|
-
* @param {IApiParams} [params2]
|
|
122
|
+
* @param {IApiContext} context 应用上下文
|
|
123
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
124
|
+
* @param {IApiParams} [params2] 请求参数
|
|
125
125
|
* @returns {*} {Promise<IHttpResponse>}
|
|
126
126
|
* @memberof IApiAppDEService
|
|
127
127
|
*/
|
|
128
128
|
removeTemp(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
129
129
|
/**
|
|
130
130
|
* @description 获取默认数据集[系统预置]
|
|
131
|
-
* @param {IApiContext} context
|
|
132
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
133
|
-
* @param {IApiParams} [params2]
|
|
131
|
+
* @param {IApiContext} context 应用上下文
|
|
132
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
133
|
+
* @param {IApiParams} [params2] 请求参数
|
|
134
134
|
* @returns {*} {Promise<IHttpResponse>}
|
|
135
135
|
* @memberof IApiAppDEService
|
|
136
136
|
*/
|
|
137
137
|
fetchDefault(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
138
138
|
/**
|
|
139
139
|
* @description 获取默认数据集[系统预置](临时数据)
|
|
140
|
-
* @param {IApiContext} context
|
|
141
|
-
* @param {(IApiData | IApiData[])} [params]
|
|
142
|
-
* @param {IApiParams} [params2]
|
|
140
|
+
* @param {IApiContext} context 应用上下文
|
|
141
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
142
|
+
* @param {IApiParams} [params2] 请求参数
|
|
143
143
|
* @returns {*} {Promise<IHttpResponse>}
|
|
144
144
|
* @memberof IApiAppDEService
|
|
145
145
|
*/
|
|
146
146
|
fetchTempDefault(context: IApiContext, params?: IApiData | IApiData[], params2?: IApiParams): Promise<IHttpResponse>;
|
|
147
147
|
/**
|
|
148
148
|
* @description 创建下载凭证
|
|
149
|
-
* @param {IApiContext} context
|
|
150
|
-
* @param {{
|
|
149
|
+
* @param {IApiContext} context 应用上下文
|
|
150
|
+
* @param {{
|
|
151
|
+
* srfossfileid: string
|
|
152
|
+
* }} [params] 请求参数:{ 文件标识 }
|
|
151
153
|
* @returns {*} {Promise<IHttpResponse>}
|
|
152
154
|
* @memberof IApiAppDEService
|
|
153
155
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-app-de.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/service/i-api-app-de.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,UAAU,EACV,aAAa,EACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAE/B;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,cAAc,CAAC;IAE7B;;;;;;;;;OASG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,EAAE,EAC9B,OAAO,CAAC,EAAE,UAAU,EACpB,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"i-api-app-de.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/service/i-api-app-de.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IApiData } from '@ibiz-template/core';
|
|
1
|
+
import { IApiData, IApiHttpError, IHttpResponse } from '@ibiz-template/core';
|
|
2
2
|
/**
|
|
3
3
|
* @description 权限结果
|
|
4
4
|
* @export
|
|
@@ -12,10 +12,10 @@ export interface IApiAuthResult {
|
|
|
12
12
|
*/
|
|
13
13
|
ok: boolean;
|
|
14
14
|
/**
|
|
15
|
-
* @description
|
|
16
|
-
* @type {IApiData}
|
|
15
|
+
* @description http请求返回数据
|
|
16
|
+
* @type {(IApiData | IHttpResponse | IApiHttpError)}
|
|
17
17
|
* @memberof IApiAuthResult
|
|
18
18
|
*/
|
|
19
|
-
result: IApiData;
|
|
19
|
+
result: IApiData | IHttpResponse | IApiHttpError;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=i-api-auth-result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-auth-result.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/service/i-api-auth-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"i-api-auth-result.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/service/i-api-auth-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE7E;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,EAAE,EAAE,OAAO,CAAC;IAEZ;;;;OAIG;IACH,MAAM,EAAE,QAAQ,GAAG,aAAa,GAAG,aAAa,CAAC;CAClD"}
|
|
@@ -9,16 +9,16 @@ import { CodeListItem } from './code-list-item/code-list-item';
|
|
|
9
9
|
export interface IApiCodeListService {
|
|
10
10
|
/**
|
|
11
11
|
* @description 获取代码表模型
|
|
12
|
-
* @param {string} tag
|
|
12
|
+
* @param {string} tag 代码表标识
|
|
13
13
|
* @returns {*} {(IAppCodeList | undefined)}
|
|
14
14
|
* @memberof IApiCodeListService
|
|
15
15
|
*/
|
|
16
16
|
getCodeList(tag: string): IAppCodeList | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* @description 获取指定代码表所有代码表项
|
|
19
|
-
* @param {string} tag
|
|
20
|
-
* @param {IApiContext} context
|
|
21
|
-
* @param {IApiParams} [params]
|
|
19
|
+
* @param {string} tag 代码表标识
|
|
20
|
+
* @param {IApiContext} context 应用上下文
|
|
21
|
+
* @param {IApiParams} [params] 视图参数
|
|
22
22
|
* @returns {*} {Promise<readonly}
|
|
23
23
|
* @memberof IApiCodeListService
|
|
24
24
|
*/
|
|
@@ -27,7 +27,7 @@ export interface IApiCodeListService {
|
|
|
27
27
|
* @description 获取指定代码表指定值对应的代码表项
|
|
28
28
|
* @param {string} tag 代码表标识
|
|
29
29
|
* @param {(string | number)} value 代码项值
|
|
30
|
-
* @param {IApiContext} context
|
|
30
|
+
* @param {IApiContext} context 应用上下文
|
|
31
31
|
* @param {IApiParams} [params] 视图参数
|
|
32
32
|
* @returns {*} {Promise<CodeListItem | undefined>}
|
|
33
33
|
* @memberof IApiCodeListService
|
|
@@ -8,7 +8,7 @@ import { IApiAppDEService } from './i-api-app-de.service';
|
|
|
8
8
|
export interface IApiDEServiceUtil {
|
|
9
9
|
/**
|
|
10
10
|
* @description 根据实体标识获取实体服务
|
|
11
|
-
* @param {IApiContext} context
|
|
11
|
+
* @param {IApiContext} context 应用上下文
|
|
12
12
|
* @param {string} id 实体标识,通常是应用标识.实体标识,如:checkinweb.shift
|
|
13
13
|
* @returns {*} {Promise<IApiAppDEService>}
|
|
14
14
|
* @memberof IApiDEServiceUtil
|
|
@@ -16,7 +16,7 @@ export interface IApiDEServiceUtil {
|
|
|
16
16
|
getService(context: IApiContext, id: string): Promise<IApiAppDEService>;
|
|
17
17
|
/**
|
|
18
18
|
* @description 重置服务, 删除指定域下的所有服务缓存
|
|
19
|
-
* @param {IApiContext} context
|
|
19
|
+
* @param {IApiContext} context 应用上下文
|
|
20
20
|
* @memberof IApiDEServiceUtil
|
|
21
21
|
*/
|
|
22
22
|
reset(context: IApiContext): void;
|
|
@@ -24,9 +24,9 @@ export interface IApiDEServiceUtil {
|
|
|
24
24
|
* @description 执行服务方法
|
|
25
25
|
* @param {string} appDataEntityId 实体标识,通常是应用标识.实体标识,如:checkinweb.shift
|
|
26
26
|
* @param {string} methodName 方法名
|
|
27
|
-
* @param {IApiContext} context
|
|
28
|
-
* @param {(IApiData | IApiData[]
|
|
29
|
-
* @param {(IApiParams
|
|
27
|
+
* @param {IApiContext} context 应用上下文
|
|
28
|
+
* @param {(IApiData | IApiData[])} [params] 实体数据
|
|
29
|
+
* @param {(IApiParams)} [params2] 请求参数
|
|
30
30
|
* @param {IApiData} [header]
|
|
31
31
|
* @returns {*} {Promise<IHttpResponse<IApiData>>}
|
|
32
32
|
* @memberof IApiDEServiceUtil
|
|
@@ -35,7 +35,7 @@ export interface IApiDEServiceUtil {
|
|
|
35
35
|
/**
|
|
36
36
|
* @description 记录当前域变更
|
|
37
37
|
* @param {string} srfsessionid 域标识
|
|
38
|
-
* @param {('ADD' | 'RESET' | 'UNDO' | 'REDO')} actionType
|
|
38
|
+
* @param {('ADD' | 'RESET' | 'UNDO' | 'REDO')} actionType 行为类型:添加数据 | 重置数据
|
|
39
39
|
* @returns {*} {void}
|
|
40
40
|
* @memberof IApiDEServiceUtil
|
|
41
41
|
*/
|
|
@@ -43,7 +43,7 @@ export interface IApiDEServiceUtil {
|
|
|
43
43
|
/**
|
|
44
44
|
* @description 取消当前域变更,'UNDO' | 'REDO'暂未支持
|
|
45
45
|
* @param {string} srfsessionid 域标识
|
|
46
|
-
* @param {('INIT' | 'UNDO' | 'REDO')} targetState
|
|
46
|
+
* @param {('INIT' | 'UNDO' | 'REDO')} targetState 目标状态:初始化状态 | 撤销上一步操作 | 重做下一步操作
|
|
47
47
|
* @returns {*} {void}
|
|
48
48
|
* @memberof IApiDEServiceUtil
|
|
49
49
|
*/
|
|
@@ -3,4 +3,5 @@ export type { IApiDEServiceUtil } from './i-api-de-service-util';
|
|
|
3
3
|
export type { IApiCodeListService } from './i-api-code-list.service';
|
|
4
4
|
export type { CodeListItem } from './code-list-item/code-list-item';
|
|
5
5
|
export type { IApiAuthResult } from './i-api-auth-result';
|
|
6
|
+
export type { IApiUIMapField, IApiControlVO } from './vo';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/service/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/service/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { IApiData } from '@ibiz-template/core';
|
|
2
|
+
import { IApiUIMapField } from './i-api-ui-map-field';
|
|
3
|
+
/**
|
|
4
|
+
* @description 部件UI显示层数据转换接口
|
|
5
|
+
* @export
|
|
6
|
+
* @interface IApiControlVO
|
|
7
|
+
*/
|
|
8
|
+
export interface IApiControlVO {
|
|
9
|
+
[key: string | symbol]: any;
|
|
10
|
+
/**
|
|
11
|
+
* @description 原始后台数据
|
|
12
|
+
* @type {IApiData}
|
|
13
|
+
* @memberof IApiControlVO
|
|
14
|
+
*/
|
|
15
|
+
$origin: IApiData;
|
|
16
|
+
/**
|
|
17
|
+
* @description 属性映射集合
|
|
18
|
+
* @type {Map<string, IApiUIMapField>}
|
|
19
|
+
* @memberof IApiControlVO
|
|
20
|
+
*/
|
|
21
|
+
$dataUIMap: Map<string, IApiUIMapField>;
|
|
22
|
+
/**
|
|
23
|
+
* @description 是否是新建数据,0为新建
|
|
24
|
+
* @type {Srfuf}
|
|
25
|
+
* @memberof IApiControlVO
|
|
26
|
+
*/
|
|
27
|
+
srfuf: 0 | 1;
|
|
28
|
+
/**
|
|
29
|
+
* @description 主键
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IApiControlVO
|
|
32
|
+
*/
|
|
33
|
+
srfkey?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @description 临时主键
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof IApiControlVO
|
|
38
|
+
*/
|
|
39
|
+
tempsrfkey: string;
|
|
40
|
+
/**
|
|
41
|
+
* @description 主信息
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof IApiControlVO
|
|
44
|
+
*/
|
|
45
|
+
srfmajortext?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @description 实体模型标识
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof IApiControlVO
|
|
50
|
+
*/
|
|
51
|
+
srfdeid: string;
|
|
52
|
+
/**
|
|
53
|
+
* @description 实体模型代码名称
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof IApiControlVO
|
|
56
|
+
*/
|
|
57
|
+
srfdecodename: string;
|
|
58
|
+
/**
|
|
59
|
+
* @description 实体主键属性
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof IApiControlVO
|
|
62
|
+
*/
|
|
63
|
+
srfkeyfield: string;
|
|
64
|
+
/**
|
|
65
|
+
* @description 实体主信息属性
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof IApiControlVO
|
|
68
|
+
*/
|
|
69
|
+
srfmajorfield: string;
|
|
70
|
+
/**
|
|
71
|
+
* @description 获取原始数据
|
|
72
|
+
* @returns {*} {IApiData}
|
|
73
|
+
* @memberof IApiControlVO
|
|
74
|
+
*/
|
|
75
|
+
getOrigin(): IApiData;
|
|
76
|
+
/**
|
|
77
|
+
* @description 设置原始数据
|
|
78
|
+
* @param {(IApiData | IApiControlVO)} data 原始数据
|
|
79
|
+
* @memberof IApiControlVO
|
|
80
|
+
*/
|
|
81
|
+
setOrigin(data: IApiData | IApiControlVO): void;
|
|
82
|
+
/**
|
|
83
|
+
* @description 克隆新的vo数据
|
|
84
|
+
* @returns {*} {IApiControlVO}
|
|
85
|
+
* @memberof IApiControlVO
|
|
86
|
+
*/
|
|
87
|
+
clone(): IApiControlVO;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=i-api-control.vo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-control.vo.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/service/vo/i-api-control.vo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAE5B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,GAAG,CAAC;IAE5B;;;;OAIG;IACH,OAAO,EAAE,QAAQ,CAAC;IAElB;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAExC;;;;OAIG;IACH,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;IAEb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,SAAS,IAAI,QAAQ,CAAC;IAEtB;;;;OAIG;IACH,SAAS,CAAC,IAAI,EAAE,QAAQ,GAAG,aAAa,GAAG,IAAI,CAAC;IAEhD;;;;OAIG;IACH,KAAK,IAAI,aAAa,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description 界面映射字段信息接口
|
|
3
|
+
* @export
|
|
4
|
+
* @interface IApiUIMapField
|
|
5
|
+
*/
|
|
6
|
+
export interface IApiUIMapField {
|
|
7
|
+
/**
|
|
8
|
+
* @description 界面字段名
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof IApiUIMapField
|
|
11
|
+
*/
|
|
12
|
+
uiKey: string;
|
|
13
|
+
/**
|
|
14
|
+
* @description 映射数据字段名
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof IApiUIMapField
|
|
17
|
+
*/
|
|
18
|
+
dataKey: string;
|
|
19
|
+
/**
|
|
20
|
+
* @description 数据类型
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof IApiUIMapField
|
|
23
|
+
*/
|
|
24
|
+
dataType?: number;
|
|
25
|
+
/**
|
|
26
|
+
* @description 是否存储到origin中
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @default false
|
|
29
|
+
* @memberof IApiUIMapField
|
|
30
|
+
*/
|
|
31
|
+
isOriginField: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @description 当前项数据属性是否对应多个表单项
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @default false
|
|
36
|
+
* @memberof IApiUIMapField
|
|
37
|
+
*/
|
|
38
|
+
isOneToMultiField: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* @description 是否是请求需要的字段
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @default true
|
|
43
|
+
* @memberof IApiUIMapField
|
|
44
|
+
*/
|
|
45
|
+
isRequestNeed: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @description 值转换
|
|
48
|
+
* @param {unknown} value 任意类型的值
|
|
49
|
+
* @returns {*} {unknown}
|
|
50
|
+
* @memberof IApiUIMapField
|
|
51
|
+
*/
|
|
52
|
+
convertVal(value: unknown): unknown;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=i-api-ui-map-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-ui-map-field.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/service/vo/i-api-ui-map-field.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,aAAa,EAAE,OAAO,CAAC;IAEvB;;;;;OAKG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;;;;OAKG;IACH,aAAa,EAAE,OAAO,CAAC;IAEvB;;;;;OAKG;IACH,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;CACrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/service/vo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -26,7 +26,7 @@ export interface IApiButtonContainerState {
|
|
|
26
26
|
/**
|
|
27
27
|
* @description 更新子的状态
|
|
28
28
|
* @param {IApiContext} context 上下文
|
|
29
|
-
* @param {IApiData} [data]
|
|
29
|
+
* @param {IApiData} [data] 实体数据
|
|
30
30
|
* @param {string} [appDeId] 实体标识
|
|
31
31
|
* @returns {*} {Promise<void>}
|
|
32
32
|
* @memberof IApiButtonContainerState
|
|
@@ -32,7 +32,7 @@ export interface IApiButtonState {
|
|
|
32
32
|
/**
|
|
33
33
|
* @description 更新自身状态
|
|
34
34
|
* @param {IApiContext} context 上下文
|
|
35
|
-
* @param {IApiData} [data]
|
|
35
|
+
* @param {IApiData} [data] 实体数据
|
|
36
36
|
* @param {string} [appDeId] 实体标识
|
|
37
37
|
* @returns {*} {Promise<void>}
|
|
38
38
|
* @memberof IApiButtonState
|
|
@@ -11,7 +11,7 @@ import { IApiControlState } from './i-api-control.state';
|
|
|
11
11
|
export interface IApiAppMenuState extends IApiControlState {
|
|
12
12
|
/**
|
|
13
13
|
* @description 菜单项状态
|
|
14
|
-
* @type {{ [p: string]: { visible: boolean; permitted: boolean } }}
|
|
14
|
+
* @type {{ [p: string]: { visible: boolean; permitted: boolean } }} {[菜单标识]: { 是否显示;是否有权限 }}
|
|
15
15
|
* @default {}
|
|
16
16
|
* @memberof IApiAppMenuState
|
|
17
17
|
*/
|
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
import { IApiData } from '@ibiz-template/core';
|
|
2
2
|
import { IApiMDControlState } from './i-api-md-control.state';
|
|
3
|
+
/**
|
|
4
|
+
* @description 图例项数据接口
|
|
5
|
+
* @export
|
|
6
|
+
* @interface IApiLegend
|
|
7
|
+
*/
|
|
8
|
+
export interface IApiLegend {
|
|
9
|
+
/**
|
|
10
|
+
* @description 标识
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @memberof IApiLegend
|
|
13
|
+
*/
|
|
14
|
+
id?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @description 名称
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof IApiLegend
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @description 背景色
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof IApiLegend
|
|
25
|
+
*/
|
|
26
|
+
bkcolor?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @description 字体颜色
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof IApiLegend
|
|
31
|
+
*/
|
|
32
|
+
color?: string;
|
|
33
|
+
}
|
|
3
34
|
/**
|
|
4
35
|
* @description 日历项数据接口
|
|
5
36
|
* @export
|
|
@@ -159,11 +190,11 @@ export interface IApiCalendarState extends IApiMDControlState {
|
|
|
159
190
|
selectedDate: Date;
|
|
160
191
|
/**
|
|
161
192
|
* @description 图例
|
|
162
|
-
* @type {
|
|
193
|
+
* @type {IApiLegend[]}
|
|
163
194
|
* @default []
|
|
164
195
|
* @memberof IApiCalendarState
|
|
165
196
|
*/
|
|
166
|
-
legends:
|
|
197
|
+
legends: IApiLegend[];
|
|
167
198
|
/**
|
|
168
199
|
* @description 日历名称
|
|
169
200
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-calendar.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/state/control/i-api-calendar.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,MAAM,EAAE,QAAQ,CAAC;IAEjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,EAAE,CAAC;CAClC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D;;;;;OAKG;IACH,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAE9B;;;;;OAKG;IACH,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAE5B;;;;;OAKG;IACH,YAAY,EAAE,IAAI,CAAC;IAEnB;;;;;OAKG;IACH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-api-calendar.state.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/state/control/i-api-calendar.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,MAAM,EAAE,QAAQ,CAAC;IAEjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,EAAE,CAAC;CAClC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB;IAC3D;;;;;OAKG;IACH,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAE9B;;;;;OAKG;IACH,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAE5B;;;;;OAKG;IACH,YAAY,EAAE,IAAI,CAAC;IAEnB;;;;;OAKG;IACH,OAAO,EAAE,UAAU,EAAE,CAAC;IAEtB;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB"}
|