@ibiz-template/runtime 0.7.41-alpha.51 → 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 +272 -86
- package/dist/index.system.min.js +1 -1
- package/out/controller/common/control/md-control.controller.d.ts +6 -0
- package/out/controller/common/control/md-control.controller.d.ts.map +1 -1
- package/out/controller/common/control/md-control.controller.js +7 -0
- 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/grid/grid/grid.controller.d.ts +6 -0
- package/out/controller/control/grid/grid/grid.controller.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +19 -1
- 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/control/toolbar/toolbar.controller.d.ts.map +1 -1
- package/out/controller/control/toolbar/toolbar.controller.js +16 -8
- 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/global-config/i-api-global-form-config.d.ts +0 -1
- package/out/interface/api/common/global-config/i-api-global-form-config.d.ts.map +1 -1
- package/out/interface/api/common/global-config/i-api-global-search-form-config.d.ts +1 -0
- package/out/interface/api/common/global-config/i-api-global-search-form-config.d.ts.map +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-chart.controller.d.ts +2 -2
- 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 +4 -3
- package/out/interface/api/controller/control/i-api-search-bar.controller.d.ts.map +1 -1
- package/out/interface/api/controller/control/i-api-search-form.controller.d.ts +3 -2
- 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 +12 -12
- package/out/interface/api/util/i-api-inline-ai-util.d.ts.map +1 -1
- package/out/interface/api/util/i-api-json-util.d.ts +15 -14
- package/out/interface/api/util/i-api-json-util.d.ts.map +1 -1
- 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/controller/controller/i.controller.d.ts +6 -0
- package/out/interface/controller/controller/i.controller.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/model/utils/util.d.ts +28 -1
- package/out/model/utils/util.d.ts.map +1 -1
- package/out/model/utils/util.js +138 -0
- package/out/ui-action/uiaction-util.d.ts +8 -0
- package/out/ui-action/uiaction-util.d.ts.map +1 -1
- package/out/ui-action/uiaction-util.js +12 -0
- 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
|
@@ -147,7 +147,7 @@ export interface IApiEditViewCall extends IApiViewCall {
|
|
|
147
147
|
args: undefined;
|
|
148
148
|
};
|
|
149
149
|
/**
|
|
150
|
-
* @description
|
|
150
|
+
* @description 展开表单分组,srfcollapsetag: 表单分组标识,srfgroupid: 表单分组标识,优先取srfcollapsetag参数
|
|
151
151
|
* @type {{
|
|
152
152
|
* args: { params: { srfcollapsetag?: string; srfgroupid?: string } };
|
|
153
153
|
* }}
|
|
@@ -162,7 +162,7 @@ export interface IApiEditViewCall extends IApiViewCall {
|
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
164
|
/**
|
|
165
|
-
* @description
|
|
165
|
+
* @description 收缩表单分组,srfcollapsetag: 表单分组标识,srfgroupid: 表单分组标识,优先取srfcollapsetag参数
|
|
166
166
|
* @type {{
|
|
167
167
|
* args: { params: { srfcollapsetag?: string; srfgroupid?: string } };
|
|
168
168
|
* }}
|
|
@@ -47,7 +47,7 @@ export interface IApiGridViewCall extends IApiMDViewCall {
|
|
|
47
47
|
args: undefined;
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
|
-
* @description
|
|
50
|
+
* @description 展开表格分组,srfcollapsetag: 表格分组标识
|
|
51
51
|
* @type {{
|
|
52
52
|
* args: { params?: { srfcollapsetag?: string } };
|
|
53
53
|
* }}
|
|
@@ -61,7 +61,7 @@ export interface IApiGridViewCall extends IApiMDViewCall {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
|
-
* @description
|
|
64
|
+
* @description 收缩表格分组,srfcollapsetag: 表格分组标识
|
|
65
65
|
* @type {{
|
|
66
66
|
* args: { params?: { srfcollapsetag?: string } };
|
|
67
67
|
* }}
|
|
@@ -7,7 +7,7 @@ import { IApiMDViewCall } from './i-api-md-view.call';
|
|
|
7
7
|
*/
|
|
8
8
|
export interface IApiListViewCall extends IApiMDViewCall {
|
|
9
9
|
/**
|
|
10
|
-
* @description
|
|
10
|
+
* @description 展开列表分组,srfcollapsetag: 列表分组标识,srfgroup: 列表分组标识,优先取srfcollapsetag参数
|
|
11
11
|
* @type {{
|
|
12
12
|
* args: { params: { srfcollapsetag?: string; srfgroup?: string } };
|
|
13
13
|
* }}
|
|
@@ -22,7 +22,7 @@ export interface IApiListViewCall extends IApiMDViewCall {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
|
-
* @description
|
|
25
|
+
* @description 收缩列表分组,srfcollapsetag: 列表分组标识,srfgroup: 列表分组标识,优先取srfcollapsetag参数
|
|
26
26
|
* @type {{
|
|
27
27
|
* args: { params: { srfcollapsetag?: string; srfgroup?: string } };
|
|
28
28
|
* }}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IApiData } from '@ibiz-template/core';
|
|
2
1
|
import { IApiViewCall } from './i-api-view.call';
|
|
3
2
|
/**
|
|
4
3
|
* @description 应用登录视图能力
|
|
@@ -8,16 +7,33 @@ import { IApiViewCall } from './i-api-view.call';
|
|
|
8
7
|
*/
|
|
9
8
|
export interface IApiLoginViewCall extends IApiViewCall {
|
|
10
9
|
/**
|
|
11
|
-
* @description
|
|
10
|
+
* @description 登录,username: 用户名,password: 密码,captcha: 验证码,orgid: 组织id,panelDataParent: 数据父容器标识
|
|
12
11
|
* @type {{
|
|
13
|
-
* args: {
|
|
12
|
+
* args: {
|
|
13
|
+
* data: [
|
|
14
|
+
* {
|
|
15
|
+
* username: string;
|
|
16
|
+
* password: string;
|
|
17
|
+
* captcha?: string;
|
|
18
|
+
* orgid?: string;
|
|
19
|
+
* },
|
|
20
|
+
* ];
|
|
21
|
+
* params?: { panelDataParent: string };
|
|
22
|
+
* };
|
|
14
23
|
* }}
|
|
15
24
|
* @memberof IApiLoginViewCall
|
|
16
25
|
*/
|
|
17
26
|
Login: {
|
|
18
27
|
args: {
|
|
19
|
-
data:
|
|
20
|
-
|
|
28
|
+
data: [
|
|
29
|
+
{
|
|
30
|
+
username: string;
|
|
31
|
+
password: string;
|
|
32
|
+
captcha?: string;
|
|
33
|
+
orgid?: string;
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
params?: {
|
|
21
37
|
panelDataParent: string;
|
|
22
38
|
};
|
|
23
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-login-view.call.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/call/i-api-login-view.call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-api-login-view.call.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/call/i-api-login-view.call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,IAAI,EAAE;gBACJ;oBACE,QAAQ,EAAE,MAAM,CAAC;oBACjB,QAAQ,EAAE,MAAM,CAAC;oBACjB,OAAO,CAAC,EAAE,MAAM,CAAC;oBACjB,KAAK,CAAC,EAAE,MAAM,CAAC;iBAChB;aACF,CAAC;YACF,MAAM,CAAC,EAAE;gBAAE,eAAe,EAAE,MAAM,CAAA;aAAE,CAAC;SACtC,CAAC;KACH,CAAC;CACH"}
|
|
@@ -18,7 +18,7 @@ export interface IApiMDCustomViewCall extends IApiViewCall {
|
|
|
18
18
|
args: undefined;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* @description
|
|
21
|
+
* @description 打开编辑数据视图,data: 实体数据,event: 鼠标事件,context: 上下文参数,params: 视图参数
|
|
22
22
|
* @type {{
|
|
23
23
|
* args: {
|
|
24
24
|
* data: IApiData[];
|
|
@@ -38,7 +38,7 @@ export interface IApiMDCustomViewCall extends IApiViewCall {
|
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
* @description
|
|
41
|
+
* @description 查看,data: 实体数据,event: 鼠标事件,context: 上下文参数,params: 视图参数
|
|
42
42
|
* @type {{
|
|
43
43
|
* args: {
|
|
44
44
|
* data: IApiData[];
|
|
@@ -58,7 +58,7 @@ export interface IApiMDCustomViewCall extends IApiViewCall {
|
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
|
-
* @description
|
|
61
|
+
* @description 打开新建数据视图,data: 实体数据,event: 鼠标事件,copyMode: 是否是拷贝模式
|
|
62
62
|
* @type {{
|
|
63
63
|
* args: {
|
|
64
64
|
* data: IApiData[];
|
|
@@ -9,7 +9,7 @@ import { IApiMDCtrlLoadParams, IApiMDCtrlRemoveParams } from '../controller';
|
|
|
9
9
|
*/
|
|
10
10
|
export interface IApiMDViewCall extends IApiViewCall {
|
|
11
11
|
/**
|
|
12
|
-
* @description
|
|
12
|
+
* @description 打开编辑数据视图,data: 实体数据,event: 鼠标事件,context: 上下文参数,params: 视图参数
|
|
13
13
|
* @type {{
|
|
14
14
|
* args: {
|
|
15
15
|
* data: IApiData[];
|
|
@@ -29,7 +29,7 @@ export interface IApiMDViewCall extends IApiViewCall {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* @description
|
|
32
|
+
* @description 查看,data: 实体数据,event: 鼠标事件,context: 上下文参数,params: 视图参数
|
|
33
33
|
* @type {{
|
|
34
34
|
* args: {
|
|
35
35
|
* data: IApiData[];
|
|
@@ -49,7 +49,7 @@ export interface IApiMDViewCall extends IApiViewCall {
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
|
-
* @description
|
|
52
|
+
* @description 打开新建数据视图,data: 实体数据,event: 鼠标事件,copyMode: 是否是拷贝模式
|
|
53
53
|
* @type {{
|
|
54
54
|
* args: {
|
|
55
55
|
* data: IApiData[];
|
|
@@ -97,7 +97,7 @@ export interface IApiMDViewCall extends IApiViewCall {
|
|
|
97
97
|
args: undefined;
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
100
|
-
* @description
|
|
100
|
+
* @description 数据导出,event: 鼠标事件
|
|
101
101
|
* @type {{
|
|
102
102
|
* args: { event: MouseEvent };
|
|
103
103
|
* }}
|
|
@@ -109,7 +109,7 @@ export interface IApiMDViewCall extends IApiViewCall {
|
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
112
|
-
* @description
|
|
112
|
+
* @description 拷贝,data: 实体数据,event: 鼠标事件
|
|
113
113
|
* @type {{
|
|
114
114
|
* args: { data: IApiData[]; event?: MouseEvent };
|
|
115
115
|
* }}
|
|
@@ -142,7 +142,7 @@ export interface IApiMDViewCall extends IApiViewCall {
|
|
|
142
142
|
args: undefined;
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
145
|
-
* @description
|
|
145
|
+
* @description 设置选中数据,data:实体数据集合
|
|
146
146
|
* @type {{
|
|
147
147
|
* args: {
|
|
148
148
|
* data: IApiData[];
|
|
@@ -19,7 +19,7 @@ export interface IApiTreeExpViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
19
19
|
args: undefined;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
|
-
* @description
|
|
22
|
+
* @description 刷新视图,data:树节点数据
|
|
23
23
|
* @type {{
|
|
24
24
|
* args?: { data?: (IApiTreeNodeData | IApiData)[] };
|
|
25
25
|
* }}
|
|
@@ -31,7 +31,7 @@ export interface IApiTreeExpViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* @description 树界面_
|
|
34
|
+
* @description 树界面_刷新父节点操作,data:树节点数据
|
|
35
35
|
* @type {{
|
|
36
36
|
* args: { data: (IApiTreeNodeData | IApiData)[] };
|
|
37
37
|
* }}
|
|
@@ -43,7 +43,7 @@ export interface IApiTreeExpViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
* @description
|
|
46
|
+
* @description 展开节点,data:树节点数据,srfcollapsetag:树节点标识
|
|
47
47
|
* @type {{
|
|
48
48
|
* args: { data?: IApiData[]; params?: { srfcollapsetag?: string } };
|
|
49
49
|
* }}
|
|
@@ -58,7 +58,7 @@ export interface IApiTreeExpViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
|
-
* @description
|
|
61
|
+
* @description 收缩节点,data:树节点数据,srfcollapsetag:树节点标识
|
|
62
62
|
* @type {{
|
|
63
63
|
* args: { data?: IApiData[]; params?: { srfcollapsetag?: string } };
|
|
64
64
|
* }}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IApiData } from '@ibiz-template/core';
|
|
2
1
|
import { IApiGridViewCall } from './i-api-grid-view.call';
|
|
3
2
|
/**
|
|
4
3
|
* @description 实体树表格视图能力
|
|
@@ -8,30 +7,28 @@ import { IApiGridViewCall } from './i-api-grid-view.call';
|
|
|
8
7
|
*/
|
|
9
8
|
export interface IApiTreeGridViewCall extends IApiGridViewCall {
|
|
10
9
|
/**
|
|
11
|
-
* @description
|
|
10
|
+
* @description 展开表格分组,srfcollapsetag: 表格分组标识
|
|
12
11
|
* @type {{
|
|
13
|
-
* args: {
|
|
12
|
+
* args: { params?: { srfcollapsetag?: string } };
|
|
14
13
|
* }}
|
|
15
14
|
* @memberof IApiTreeGridViewCall
|
|
16
15
|
*/
|
|
17
16
|
Expand: {
|
|
18
17
|
args: {
|
|
19
|
-
data?: IApiData[];
|
|
20
18
|
params?: {
|
|
21
19
|
srfcollapsetag?: string;
|
|
22
20
|
};
|
|
23
21
|
};
|
|
24
22
|
};
|
|
25
23
|
/**
|
|
26
|
-
* @description
|
|
24
|
+
* @description 收缩表格分组,srfcollapsetag: 表格分组标识
|
|
27
25
|
* @type {{
|
|
28
|
-
* args: {
|
|
26
|
+
* args: { params?: { srfcollapsetag?: string } };
|
|
29
27
|
* }}
|
|
30
28
|
* @memberof IApiTreeGridViewCall
|
|
31
29
|
*/
|
|
32
30
|
Collapse: {
|
|
33
31
|
args: {
|
|
34
|
-
data?: IApiData[];
|
|
35
32
|
params?: {
|
|
36
33
|
srfcollapsetag?: string;
|
|
37
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-tree-grid-view.call.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/call/i-api-tree-grid-view.call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-api-tree-grid-view.call.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/call/i-api-tree-grid-view.call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D;;;;;GAKG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D;;;;;;OAMG;IACH,MAAM,EAAE;QACN,IAAI,EAAE;YAAE,MAAM,CAAC,EAAE;gBAAE,cAAc,CAAC,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,CAAC;KAChD,CAAC;IACF;;;;;;OAMG;IACH,QAAQ,EAAE;QACR,IAAI,EAAE;YAAE,MAAM,CAAC,EAAE;gBAAE,cAAc,CAAC,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,CAAC;KAChD,CAAC;IACF;;;;;;OAMG;IACH,SAAS,EAAE;QACT,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF;;;;;;OAMG;IACH,WAAW,EAAE;QACX,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;CACH"}
|
|
@@ -19,7 +19,7 @@ export interface IApiTreeViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
19
19
|
args: undefined;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
|
-
* @description
|
|
22
|
+
* @description 刷新视图,data: 树节点数据
|
|
23
23
|
* @type {{
|
|
24
24
|
* args?: { data?: (IApiTreeNodeData | IApiData)[] };
|
|
25
25
|
* }}
|
|
@@ -31,7 +31,7 @@ export interface IApiTreeViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* @description 树界面_
|
|
34
|
+
* @description 树界面_刷新父节点操作,data: 树节点数据
|
|
35
35
|
* @type {{
|
|
36
36
|
* args: { data: (IApiTreeNodeData | IApiData)[] };
|
|
37
37
|
* }}
|
|
@@ -43,7 +43,7 @@ export interface IApiTreeViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
* @description
|
|
46
|
+
* @description 展开节点,data:树节点数据,srfcollapsetag:树节点标识
|
|
47
47
|
* @type {{
|
|
48
48
|
* args: { data?: IApiData[]; params?: { srfcollapsetag?: string } };
|
|
49
49
|
* }}
|
|
@@ -58,7 +58,7 @@ export interface IApiTreeViewCall extends Omit<IApiMDViewCall, 'Refresh'> {
|
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
|
-
* @description
|
|
61
|
+
* @description 收缩节点,data:树节点数据,srfcollapsetag:树节点标识
|
|
62
62
|
* @type {{
|
|
63
63
|
* args: { data?: IApiData[]; params?: { srfcollapsetag?: string } };
|
|
64
64
|
* }}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-global-form-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-form-config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,yBAAyB,EAAE,OAAO,CAAC;IAEnC;;;;;;OAMG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAE1B;;;;;OAKG;IACH,oBAAoB,EAAE,OAAO,GAAG,MAAM,GAAG,EAAE,CAAC;IAE5C;;;;;;OAMG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;;;OAMG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB;;;;;;OAMG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB
|
|
1
|
+
{"version":3,"file":"i-api-global-form-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-form-config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,yBAAyB,EAAE,OAAO,CAAC;IAEnC;;;;;;OAMG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAE1B;;;;;OAKG;IACH,oBAAoB,EAAE,OAAO,GAAG,MAAM,GAAG,EAAE,CAAC;IAE5C;;;;;;OAMG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;;;OAMG;IACH,eAAe,EAAE,OAAO,CAAC;IAEzB;;;;;;OAMG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB;;;;;;OAMG;IACH,YAAY,EAAE,SAAS,GAAG,cAAc,CAAC;IAEzC;;;;;;OAMG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;;;;;OAOG;IACH,wBAAwB,EAAE,OAAO,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-global-search-form-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-search-form-config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;;OAMG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B
|
|
1
|
+
{"version":3,"file":"i-api-global-search-form-config.d.ts","sourceRoot":"","sources":["../../../../../src/interface/api/common/global-config/i-api-global-search-form-config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;;OAMG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;;;;OAOG;IACH,gBAAgB,EAAE,SAAS,GAAG,aAAa,CAAC;CAC7C"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IApiController, IApiViewController } from '../controller';
|
|
2
|
+
/**
|
|
3
|
+
* @description 上下文环境对象
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IApiCtx
|
|
6
|
+
*/
|
|
7
|
+
export interface IApiCtx {
|
|
8
|
+
/**
|
|
9
|
+
* @description 当前视图的控制器
|
|
10
|
+
* @type {IApiViewController}
|
|
11
|
+
* @memberof IApiCtx
|
|
12
|
+
*/
|
|
13
|
+
view: IApiViewController;
|
|
14
|
+
/**
|
|
15
|
+
* @description 是否已经销毁
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
* @memberof IApiCtx
|
|
18
|
+
*/
|
|
19
|
+
isDestroyed: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @description 父级上下文环境对象
|
|
22
|
+
* @type {IApiCtx}
|
|
23
|
+
* @memberof IApiCtx
|
|
24
|
+
*/
|
|
25
|
+
parentCtx?: IApiCtx;
|
|
26
|
+
/**
|
|
27
|
+
* @description 获取指定名称的控制器
|
|
28
|
+
* @param {string} name 控制器名称
|
|
29
|
+
* @param {boolean} [traceRoot] 是否跨越视图作用域,一路向根上找
|
|
30
|
+
* @returns {*} {(IApiController | undefined)}
|
|
31
|
+
* @memberof IApiCtx
|
|
32
|
+
*/
|
|
33
|
+
getController(name: string, traceRoot?: boolean): IApiController | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @description 获取顶级视图
|
|
36
|
+
* @returns {*} {IApiViewController}
|
|
37
|
+
* @memberof IApiCtx
|
|
38
|
+
*/
|
|
39
|
+
getTopView(): IApiViewController;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=i-api-ctx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-ctx.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/common/i-api-ctx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACtB;;;;OAIG;IACH,IAAI,EAAE,kBAAkB,CAAC;IAEzB;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,GAAG,cAAc,GAAG,SAAS,CAAC;IAE7E;;;;OAIG;IACH,UAAU,IAAI,kBAAkB,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description 错误处理器接口
|
|
3
|
+
* @export
|
|
4
|
+
* @interface IApiErrorHandler
|
|
5
|
+
*/
|
|
6
|
+
export interface IApiErrorHandler {
|
|
7
|
+
/**
|
|
8
|
+
* @description 处理错误,如果处理了该异常则返回true,后续的处理器就不会处理该异常
|
|
9
|
+
* @param {unknown} error 错误
|
|
10
|
+
* @returns {*} {(boolean | undefined)}
|
|
11
|
+
* @memberof IApiErrorHandler
|
|
12
|
+
*/
|
|
13
|
+
handle(error: unknown): boolean | undefined;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=i-api-error-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-error-handler.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/common/i-api-error-handler.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;CAC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description 模态配置
|
|
3
|
+
* @export
|
|
4
|
+
* @interface IApiModalOptions
|
|
5
|
+
*/
|
|
6
|
+
export interface IApiModalOptions {
|
|
7
|
+
/**
|
|
8
|
+
* @description 宽度 数字0-100的时候算百分比,100以上算像素px,字符串原样设置
|
|
9
|
+
* @type {(string | number)}
|
|
10
|
+
* @memberof IApiModalOptions
|
|
11
|
+
*/
|
|
12
|
+
width?: string | number;
|
|
13
|
+
/**
|
|
14
|
+
* @description 高度 数字0-100的时候算百分比,100以上算像素px,字符串原样设置
|
|
15
|
+
* @type {(string | number)}
|
|
16
|
+
* @memberof IApiModalOptions
|
|
17
|
+
*/
|
|
18
|
+
height?: string | number;
|
|
19
|
+
/**
|
|
20
|
+
* @description 是否隐藏底部按钮(默认false)
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof IApiModalOptions
|
|
23
|
+
*/
|
|
24
|
+
footerHide?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @description 显示位置
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof IApiModalOptions
|
|
29
|
+
*/
|
|
30
|
+
placement?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @description 自定义模态的类名,用来自定义模态样式
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof IApiModalOptions
|
|
35
|
+
*/
|
|
36
|
+
modalClass?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @description 是否为路由模态模式
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof IApiModalOptions
|
|
41
|
+
*/
|
|
42
|
+
isRouteModal?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @description 是否开启数据切换指示器
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IApiModalOptions
|
|
47
|
+
*/
|
|
48
|
+
openIndicator?: boolean;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=i-api-modal-option.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-modal-option.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/common/i-api-modal-option.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAExB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IApiCtx } from './i-api-ctx';
|
|
2
2
|
/**
|
|
3
3
|
* @description 覆盖容器配置参数
|
|
4
4
|
* @export
|
|
@@ -7,9 +7,9 @@ import { IApiData } from '@ibiz-template/core';
|
|
|
7
7
|
export interface IApiOverlayContainerOptions {
|
|
8
8
|
/**
|
|
9
9
|
* @description 上下文环境对象,一般为当前视图的ctx对象
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {IApiCtx}
|
|
11
11
|
* @memberof IApiOverlayContainerOptions
|
|
12
12
|
*/
|
|
13
|
-
ctx?:
|
|
13
|
+
ctx?: IApiCtx;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=i-api-overlay-container-options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-api-overlay-container-options.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/common/i-api-overlay-container-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-api-overlay-container-options.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/common/i-api-overlay-container-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { IApiContext, IApiData, IApiParams } from '@ibiz-template/core';
|
|
2
|
+
/**
|
|
3
|
+
* @description 界面行为执行返回值
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IApiUIActionResult
|
|
6
|
+
*/
|
|
7
|
+
export interface IApiUIActionResult {
|
|
8
|
+
/**
|
|
9
|
+
* @description 是否刷新界面
|
|
10
|
+
* @type {boolean}
|
|
11
|
+
* @memberof IApiUIActionResult
|
|
12
|
+
*/
|
|
13
|
+
refresh?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @description 刷新引用视图模式,0:无、 1:引用视图或树节点、 2:引用树节点父节点、 3:引用树节点根节点,默认无刷新
|
|
16
|
+
* @type {(number | 0 | 1 | 2 | 3)}
|
|
17
|
+
* @memberof IApiUIActionResult
|
|
18
|
+
*/
|
|
19
|
+
refreshMode?: number | 0 | 1 | 2 | 3;
|
|
20
|
+
/**
|
|
21
|
+
* @description 是否关闭界面
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof IApiUIActionResult
|
|
24
|
+
*/
|
|
25
|
+
closeView?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @description 是否中途取消操作
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof IApiUIActionResult
|
|
30
|
+
*/
|
|
31
|
+
cancel?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @description 返回的数据
|
|
34
|
+
* @type {IApiData[]}
|
|
35
|
+
* @memberof IApiUIActionResult
|
|
36
|
+
*/
|
|
37
|
+
data?: IApiData[];
|
|
38
|
+
/**
|
|
39
|
+
* @description 后续逻辑使用的上下文参数
|
|
40
|
+
* @type {IApiContext}
|
|
41
|
+
* @memberof IApiUIActionResult
|
|
42
|
+
*/
|
|
43
|
+
nextContext?: IApiContext;
|
|
44
|
+
/**
|
|
45
|
+
* @description 后续逻辑使用的视图参数
|
|
46
|
+
* @type {IApiParams}
|
|
47
|
+
* @memberof IApiUIActionResult
|
|
48
|
+
*/
|
|
49
|
+
nextParams?: IApiParams;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=i-api-ui-action-result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-ui-action-result.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/common/i-api-ui-action-result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAErC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAElB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IApiContext, IApiData, IApiParams } from '@ibiz-template/core';
|
|
2
|
+
import { IApiControlController, IApiViewController } from '../controller';
|
|
3
|
+
/**
|
|
4
|
+
* @description 界面逻辑通用参数(界面行为,事件,界面逻辑,实体逻辑等)
|
|
5
|
+
* @export
|
|
6
|
+
* @interface IApiUILogicParams
|
|
7
|
+
*/
|
|
8
|
+
export interface IApiUILogicParams {
|
|
9
|
+
/**
|
|
10
|
+
* @description 上下文参数
|
|
11
|
+
* @type {IApiContext}
|
|
12
|
+
* @memberof IApiUILogicParams
|
|
13
|
+
*/
|
|
14
|
+
context: IApiContext;
|
|
15
|
+
/**
|
|
16
|
+
* @description 视图参数
|
|
17
|
+
* @type {IApiParams}
|
|
18
|
+
* @memberof IApiUILogicParams
|
|
19
|
+
*/
|
|
20
|
+
params: IApiParams;
|
|
21
|
+
/**
|
|
22
|
+
* @description 数据集合
|
|
23
|
+
* @type {IApiData[]}
|
|
24
|
+
* @memberof IApiUILogicParams
|
|
25
|
+
*/
|
|
26
|
+
data: IApiData[];
|
|
27
|
+
/**
|
|
28
|
+
* @description 当前上下文对应的视图控制器
|
|
29
|
+
* @type {IApiViewController}
|
|
30
|
+
* @memberof IApiUILogicParams
|
|
31
|
+
*/
|
|
32
|
+
view: IApiViewController;
|
|
33
|
+
/**
|
|
34
|
+
* @description 当前部件控制器
|
|
35
|
+
* @type {IApiControlController}
|
|
36
|
+
* @memberof IApiUILogicParams
|
|
37
|
+
*/
|
|
38
|
+
ctrl?: IApiControlController;
|
|
39
|
+
/**
|
|
40
|
+
* @description 鼠标事件
|
|
41
|
+
* @type {MouseEvent}
|
|
42
|
+
* @memberof IApiUILogicParams
|
|
43
|
+
*/
|
|
44
|
+
event?: MouseEvent;
|
|
45
|
+
/**
|
|
46
|
+
* @description 是否不等待路由打开
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof IApiUILogicParams
|
|
49
|
+
*/
|
|
50
|
+
noWaitRoute?: boolean;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=i-api-ui-logic-params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-api-ui-logic-params.d.ts","sourceRoot":"","sources":["../../../../src/interface/api/common/i-api-ui-logic-params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE1E;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,OAAO,EAAE,WAAW,CAAC;IAErB;;;;OAIG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;;;OAIG;IACH,IAAI,EAAE,QAAQ,EAAE,CAAC;IAEjB;;;;OAIG;IACH,IAAI,EAAE,kBAAkB,CAAC;IAEzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAE7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IAEnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,4 +11,9 @@ export type { IApiFormMDCtrlFormItem } from './i-api-from-mdctrl-form-item';
|
|
|
11
11
|
export type { IAPiMapOptions } from './i-api-map-options';
|
|
12
12
|
export type { IApiDownloadTicket } from './i-api-download-ticket';
|
|
13
13
|
export type { IApiExportParams } from './i-api-export-params';
|
|
14
|
+
export type { IApiCtx } from './i-api-ctx';
|
|
15
|
+
export type { IApiModalOptions } from './i-api-modal-option';
|
|
16
|
+
export type { IApiUILogicParams } from './i-api-ui-logic-params';
|
|
17
|
+
export type { IApiUIActionResult } from './i-api-ui-action-result';
|
|
18
|
+
export type { IApiErrorHandler } from './i-api-error-handler';
|
|
14
19
|
//# sourceMappingURL=index.d.ts.map
|