@ibiz-template/runtime 0.4.16 → 0.4.17-dev.0
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 +477 -355
- package/dist/index.system.min.js +2 -2
- package/out/app-hub.d.ts +8 -0
- package/out/app-hub.d.ts.map +1 -1
- package/out/app-hub.js +13 -0
- package/out/controller/common/base.controller.d.ts +1 -0
- package/out/controller/common/base.controller.d.ts.map +1 -1
- package/out/controller/common/base.controller.js +2 -0
- package/out/controller/common/view/view.controller.d.ts.map +1 -1
- package/out/controller/common/view/view.controller.js +9 -3
- package/out/controller/common/view/wf-step-trace-view.controller.d.ts.map +1 -1
- package/out/controller/common/view/wf-step-trace-view.controller.js +3 -2
- package/out/controller/control/calendar/calendar.service.d.ts +3 -3
- package/out/controller/control/calendar/calendar.service.d.ts.map +1 -1
- package/out/controller/control/calendar/calendar.service.js +2 -2
- package/out/controller/control/form/edit-form/edit-form.service.d.ts +18 -18
- package/out/controller/control/form/edit-form/edit-form.service.d.ts.map +1 -1
- package/out/controller/control/form/edit-form/edit-form.service.js +11 -11
- package/out/controller/control/form/form/form.service.d.ts +2 -2
- package/out/controller/control/form/form/form.service.d.ts.map +1 -1
- package/out/controller/control/form/form/form.service.js +1 -1
- package/out/controller/control/form/search-form/search-form.service.d.ts +2 -2
- package/out/controller/control/form/search-form/search-form.service.d.ts.map +1 -1
- package/out/controller/control/form/search-form/search-form.service.js +1 -1
- package/out/controller/control/gantt/gantt.controller.d.ts.map +1 -1
- package/out/controller/control/gantt/gantt.controller.js +1 -0
- package/out/controller/control/grid/grid/grid.controller.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.controller.js +1 -1
- package/out/controller/control/grid/grid/grid.service.d.ts +2 -2
- package/out/controller/control/grid/grid/grid.service.d.ts.map +1 -1
- package/out/controller/control/grid/grid/grid.service.js +2 -2
- package/out/controller/control/kanban/kanban.service.d.ts +2 -2
- package/out/controller/control/kanban/kanban.service.d.ts.map +1 -1
- package/out/controller/control/kanban/kanban.service.js +1 -1
- package/out/controller/control/map/map.service.d.ts +1 -1
- package/out/controller/control/map/map.service.js +1 -1
- package/out/controller/control/report-panel/report-panel.service.d.ts +2 -2
- package/out/controller/control/report-panel/report-panel.service.d.ts.map +1 -1
- package/out/controller/control/report-panel/report-panel.service.js +1 -1
- package/out/controller/control/tree/tree.service.d.ts +2 -2
- package/out/controller/control/tree/tree.service.d.ts.map +1 -1
- package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.d.ts.map +1 -1
- package/out/controller/control/tree-grid-ex/tree-grid-ex.controller.js +1 -0
- package/out/controller/control/wizard-panel/wizard-panel.service.d.ts +4 -4
- package/out/controller/control/wizard-panel/wizard-panel.service.d.ts.map +1 -1
- package/out/controller/control/wizard-panel/wizard-panel.service.js +2 -2
- package/out/controller/utils/value-default/value-default.d.ts +1 -1
- package/out/controller/utils/value-default/value-default.d.ts.map +1 -1
- package/out/de-logic/de-logic-context.d.ts +5 -5
- package/out/de-logic/de-logic-context.d.ts.map +1 -1
- package/out/de-logic/de-logic-context.js +1 -1
- package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.d.ts +2 -2
- package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.d.ts.map +1 -1
- package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.js +1 -1
- package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.d.ts +2 -2
- package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.d.ts.map +1 -1
- package/out/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.js +1 -1
- package/out/de-logic/de-logic-link/de-logic-link.d.ts +1 -1
- package/out/de-logic/de-logic-link/de-logic-link.js +1 -1
- package/out/de-logic/de-logic-node/de-logic-node.d.ts +1 -1
- package/out/de-logic/de-logic-param/de-logic-param.d.ts +1 -1
- package/out/de-logic/de-logic-param/de-logic-param.js +1 -1
- package/out/de-logic/de-logic.d.ts +3 -3
- package/out/de-logic/de-logic.d.ts.map +1 -1
- package/out/de-logic/de-logic.js +2 -2
- package/out/de-logic/index.d.ts +8 -8
- package/out/de-logic/index.d.ts.map +1 -1
- package/out/de-logic/index.js +5 -5
- package/out/install.d.ts.map +1 -1
- package/out/install.js +3 -0
- package/out/interface/common/i-app-hub-service/i-app-hub-service.d.ts +8 -0
- package/out/interface/common/i-app-hub-service/i-app-hub-service.d.ts.map +1 -1
- package/out/interface/common/i-data-ability-params/i-data-ability-params.d.ts +1 -1
- package/out/interface/common/i-data-ability-params/i-data-ability-params.d.ts.map +1 -1
- package/out/interface/controller/controller/i.controller.d.ts +8 -0
- package/out/interface/controller/controller/i.controller.d.ts.map +1 -1
- package/out/interface/provider/i-de-method.provider.d.ts +10 -1
- package/out/interface/provider/i-de-method.provider.d.ts.map +1 -1
- package/out/interface/provider/i-grid-column.provider.d.ts +2 -2
- package/out/interface/provider/i-grid-column.provider.d.ts.map +1 -1
- package/out/interface/service/service/i-app-de.service.d.ts +49 -43
- package/out/interface/service/service/i-app-de.service.d.ts.map +1 -1
- package/out/interface/service/service/i-file.service.d.ts +2 -2
- package/out/interface/service/service/i-file.service.d.ts.map +1 -1
- package/out/interface/service/service/i-wf.service.d.ts +12 -12
- package/out/interface/service/service/i-wf.service.d.ts.map +1 -1
- package/out/register/helper/grid-column-register.d.ts +2 -2
- package/out/register/helper/grid-column-register.d.ts.map +1 -1
- package/out/register/helper/grid-column-register.js +0 -14
- package/out/service/de-service-util.d.ts +26 -13
- package/out/service/de-service-util.d.ts.map +1 -1
- package/out/service/de-service-util.js +45 -16
- package/out/service/dto/method.dto.d.ts +20 -8
- package/out/service/dto/method.dto.d.ts.map +1 -1
- package/out/service/dto/method.dto.js +33 -15
- package/out/service/service/authority/authority.service.d.ts +1 -1
- package/out/service/service/authority/authority.service.js +1 -1
- package/out/service/service/code-list/code-list.service.d.ts +3 -3
- package/out/service/service/code-list/code-list.service.d.ts.map +1 -1
- package/out/service/service/code-list/code-list.service.js +2 -2
- package/out/service/service/control/control.service.d.ts +2 -2
- package/out/service/service/control/control.service.d.ts.map +1 -1
- package/out/service/service/control/control.service.js +1 -1
- package/out/service/service/control/md-control.service.d.ts +13 -13
- package/out/service/service/control/md-control.service.d.ts.map +1 -1
- package/out/service/service/control/md-control.service.js +7 -7
- package/out/service/service/counter/counter.service.d.ts +3 -3
- package/out/service/service/counter/counter.service.d.ts.map +1 -1
- package/out/service/service/counter/counter.service.js +1 -1
- package/out/service/service/entity/de.service.d.ts +46 -28
- package/out/service/service/entity/de.service.d.ts.map +1 -1
- package/out/service/service/entity/de.service.js +35 -71
- package/out/service/service/entity/method/de-action.d.ts +23 -33
- package/out/service/service/entity/method/de-action.d.ts.map +1 -1
- package/out/service/service/entity/method/de-action.js +18 -35
- package/out/service/service/entity/method/fetch.d.ts +3 -4
- package/out/service/service/entity/method/fetch.d.ts.map +1 -1
- package/out/service/service/entity/method/fetch.js +3 -8
- package/out/service/service/entity/method/method-input.d.ts +10 -5
- package/out/service/service/entity/method/method-input.d.ts.map +1 -1
- package/out/service/service/entity/method/method-input.js +9 -8
- package/out/service/service/entity/method/method-renturn.d.ts +10 -7
- package/out/service/service/entity/method/method-renturn.d.ts.map +1 -1
- package/out/service/service/entity/method/method-renturn.js +9 -9
- package/out/service/service/entity/method/method.d.ts +11 -27
- package/out/service/service/entity/method/method.d.ts.map +1 -1
- package/out/service/service/entity/method/method.js +9 -21
- package/out/service/service/entity/method/provider/de-action-de-method.provider.d.ts +2 -2
- package/out/service/service/entity/method/provider/de-action-de-method.provider.d.ts.map +1 -1
- package/out/service/service/entity/method/provider/de-action-de-method.provider.js +2 -2
- package/out/service/service/entity/method/provider/fetch-de-method.provider.d.ts +2 -2
- package/out/service/service/entity/method/provider/fetch-de-method.provider.d.ts.map +1 -1
- package/out/service/service/entity/method/provider/fetch-de-method.provider.js +3 -3
- package/out/service/service/file/file.service.d.ts +2 -2
- package/out/service/service/file/file.service.d.ts.map +1 -1
- package/out/service/service/file/file.service.js +1 -1
- package/out/service/service/work-flow/work-flow.service.d.ts +28 -28
- package/out/service/service/work-flow/work-flow.service.d.ts.map +1 -1
- package/out/service/service/work-flow/work-flow.service.js +15 -15
- package/out/service/utils/app-counter/app-counter.d.ts +7 -7
- package/out/service/utils/app-counter/app-counter.d.ts.map +1 -1
- package/out/service/utils/app-counter/app-counter.js +3 -3
- package/out/service/utils/app-counter/app-de-counter.d.ts +2 -2
- package/out/service/utils/app-counter/app-de-counter.d.ts.map +1 -1
- package/out/service/utils/app-counter/app-de-counter.js +1 -1
- package/out/service/utils/de-cache/de-cache.d.ts +44 -39
- package/out/service/utils/de-cache/de-cache.d.ts.map +1 -1
- package/out/service/utils/de-cache/de-cache.js +115 -75
- package/out/service/utils/dynamic-code-list/dynamic-code-list.d.ts +2 -2
- package/out/service/utils/dynamic-code-list/dynamic-code-list.d.ts.map +1 -1
- package/out/service/utils/dynamic-code-list/dynamic-code-list.js +2 -2
- package/out/service/utils/res-path/res-path.d.ts +4 -4
- package/out/service/utils/res-path/res-path.d.ts.map +1 -1
- package/out/service/utils/res-path/res-path.js +2 -2
- package/out/service/utils/search-filter/search-filter.d.ts +2 -2
- package/out/service/utils/search-filter/search-filter.d.ts.map +1 -1
- package/out/service/utils/service-exist-util/service-exist-util.d.ts +2 -2
- package/out/service/utils/service-exist-util/service-exist-util.d.ts.map +1 -1
- package/out/service/utils/service-exist-util/service-exist-util.js +1 -1
- package/out/types.d.ts +9 -0
- package/out/types.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-param/ui-logic-param.js +1 -1
- package/out/utils/index.d.ts +2 -0
- package/out/utils/index.d.ts.map +1 -1
- package/out/utils/index.js +2 -0
- package/out/utils/nav-params/calc-nav-params.d.ts +2 -2
- package/out/utils/nav-params/calc-nav-params.d.ts.map +1 -1
- package/out/utils/nav-params/calc-nav-params.js +1 -1
- package/out/utils/open-redirect-view/open-redirect-view.js +1 -1
- package/out/utils/ui-domain/ui-domain.d.ts +35 -0
- package/out/utils/ui-domain/ui-domain.d.ts.map +1 -0
- package/out/utils/ui-domain/ui-domain.js +42 -0
- package/out/utils/ui-domain-manager/ui-domain-manager.d.ts +47 -0
- package/out/utils/ui-domain-manager/ui-domain-manager.d.ts.map +1 -0
- package/out/utils/ui-domain-manager/ui-domain-manager.js +62 -0
- package/package.json +3 -3
- package/src/app-hub.ts +14 -0
- package/src/controller/common/base.controller.ts +3 -0
- package/src/controller/common/view/view.controller.ts +9 -3
- package/src/controller/common/view/wf-step-trace-view.controller.ts +4 -2
- package/src/controller/control/calendar/calendar.service.ts +4 -4
- package/src/controller/control/form/edit-form/edit-form.service.ts +23 -18
- package/src/controller/control/form/form/form.service.ts +2 -2
- package/src/controller/control/form/search-form/search-form.service.ts +2 -2
- package/src/controller/control/gantt/gantt.controller.ts +2 -1
- package/src/controller/control/grid/grid/grid.controller.ts +1 -0
- package/src/controller/control/grid/grid/grid.service.ts +3 -2
- package/src/controller/control/kanban/kanban.service.ts +2 -2
- package/src/controller/control/map/map.service.ts +1 -1
- package/src/controller/control/report-panel/report-panel.service.ts +2 -2
- package/src/controller/control/tree/tree.service.ts +2 -2
- package/src/controller/control/tree-grid-ex/tree-grid-ex.controller.ts +2 -1
- package/src/controller/control/wizard-panel/wizard-panel.service.ts +4 -4
- package/src/controller/utils/value-default/value-default.ts +1 -1
- package/src/de-logic/de-logic-context.ts +5 -5
- package/src/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.ts +2 -2
- package/src/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.ts +2 -2
- package/src/de-logic/de-logic-link/de-logic-link.ts +1 -1
- package/src/de-logic/de-logic-node/de-logic-node.ts +1 -1
- package/src/de-logic/de-logic-param/de-logic-param.ts +1 -1
- package/src/de-logic/de-logic.ts +3 -3
- package/src/de-logic/index.ts +10 -10
- package/src/install.ts +3 -0
- package/src/interface/common/i-app-hub-service/i-app-hub-service.ts +9 -0
- package/src/interface/common/i-data-ability-params/i-data-ability-params.ts +1 -1
- package/src/interface/controller/controller/i.controller.ts +9 -0
- package/src/interface/provider/i-de-method.provider.ts +10 -0
- package/src/interface/provider/i-grid-column.provider.ts +2 -7
- package/src/interface/service/service/i-app-de.service.ts +51 -44
- package/src/interface/service/service/i-file.service.ts +2 -2
- package/src/interface/service/service/i-wf.service.ts +12 -12
- package/src/register/helper/grid-column-register.ts +2 -17
- package/src/service/de-service-util.ts +59 -27
- package/src/service/dto/method.dto.ts +39 -19
- package/src/service/service/authority/authority.service.ts +1 -1
- package/src/service/service/code-list/code-list.service.ts +3 -3
- package/src/service/service/control/control.service.ts +2 -2
- package/src/service/service/control/md-control.service.ts +16 -13
- package/src/service/service/counter/counter.service.ts +3 -3
- package/src/service/service/entity/de.service.ts +57 -89
- package/src/service/service/entity/method/de-action.ts +29 -47
- package/src/service/service/entity/method/fetch.ts +5 -11
- package/src/service/service/entity/method/method-input.ts +10 -9
- package/src/service/service/entity/method/method-renturn.ts +10 -11
- package/src/service/service/entity/method/method.ts +12 -35
- package/src/service/service/entity/method/provider/de-action-de-method.provider.ts +4 -2
- package/src/service/service/entity/method/provider/fetch-de-method.provider.ts +4 -2
- package/src/service/service/file/file.service.ts +2 -2
- package/src/service/service/work-flow/work-flow.service.ts +30 -30
- package/src/service/utils/app-counter/app-counter.ts +7 -7
- package/src/service/utils/app-counter/app-de-counter.ts +2 -2
- package/src/service/utils/de-cache/de-cache.ts +124 -85
- package/src/service/utils/dynamic-code-list/dynamic-code-list.ts +2 -5
- package/src/service/utils/res-path/res-path.ts +4 -4
- package/src/service/utils/search-filter/search-filter.ts +2 -2
- package/src/service/utils/service-exist-util/service-exist-util.ts +2 -2
- package/src/types.ts +10 -0
- package/src/ui-logic/ui-logic-param/ui-logic-param.ts +1 -1
- package/src/utils/index.ts +2 -0
- package/src/utils/nav-params/calc-nav-params.ts +2 -2
- package/src/utils/open-redirect-view/open-redirect-view.ts +1 -1
- package/src/utils/ui-domain/ui-domain.ts +52 -0
- package/src/utils/ui-domain-manager/ui-domain-manager.ts +64 -0
- package/out/service/service/entity/util/util.d.ts +0 -13
- package/out/service/service/entity/util/util.d.ts.map +0 -1
- package/out/service/service/entity/util/util.js +0 -14
- package/src/service/service/entity/util/util.ts +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IDEGridColumn } from '@ibiz/model-core';
|
|
2
|
-
import {
|
|
2
|
+
import { IGridColumnController, IGridController } from '../controller';
|
|
3
3
|
/**
|
|
4
4
|
* 表格列适配器的接口
|
|
5
5
|
*
|
|
@@ -26,6 +26,6 @@ export interface IGridColumnProvider {
|
|
|
26
26
|
* @param {GridController} grid 表格控制器
|
|
27
27
|
* @returns {*} {Promise<GridColumnController>}
|
|
28
28
|
*/
|
|
29
|
-
createController(columnModel: IDEGridColumn, grid: IGridController
|
|
29
|
+
createController(columnModel: IDEGridColumn, grid: IGridController): Promise<IGridColumnController>;
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=i-grid-column.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-grid-column.provider.d.ts","sourceRoot":"","sources":["../../../src/interface/provider/i-grid-column.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,
|
|
1
|
+
{"version":3,"file":"i-grid-column.provider.d.ts","sourceRoot":"","sources":["../../../src/interface/provider/i-grid-column.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IAEH,SAAS,EAAE,GAAG,CAAC;IAEf;;;;;;;;OAQG;IACH,gBAAgB,CACd,WAAW,EAAE,aAAa,EAC1B,IAAI,EAAE,eAAe,GAEpB,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACnC"}
|
|
@@ -3,7 +3,6 @@ import { DECache } from '../../../service/utils';
|
|
|
3
3
|
import { IFileService } from './i-file.service';
|
|
4
4
|
import { IWorkFlowService } from './i-wf.service';
|
|
5
5
|
import { IConfigService } from './i-config.service';
|
|
6
|
-
import { IDataEntity } from '../i-data-entity/i-data-entity';
|
|
7
6
|
/**
|
|
8
7
|
* 实体服务
|
|
9
8
|
*
|
|
@@ -13,6 +12,15 @@ import { IDataEntity } from '../i-data-entity/i-data-entity';
|
|
|
13
12
|
* @interface IAppDEService
|
|
14
13
|
*/
|
|
15
14
|
export interface IAppDEService {
|
|
15
|
+
/**
|
|
16
|
+
* 是否本地模式(临时数据模式)
|
|
17
|
+
*
|
|
18
|
+
* @description 由 method.dto.ts 在 DTO 填充,根据是否为子嵌套数据进行设置
|
|
19
|
+
* @author chitanda
|
|
20
|
+
* @date 2023-12-22 16:12:57
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
*/
|
|
23
|
+
isLocalMode: boolean;
|
|
16
24
|
/**
|
|
17
25
|
* 实体本地缓存工具
|
|
18
26
|
*
|
|
@@ -51,188 +59,186 @@ export interface IAppDEService {
|
|
|
51
59
|
* @author chitanda
|
|
52
60
|
* @date 2023-04-23 09:04:16
|
|
53
61
|
* @param {string} id 执行标识
|
|
54
|
-
* @param {
|
|
62
|
+
* @param {IContext} context 上下文
|
|
55
63
|
* @param {IData} [params] 参数
|
|
56
64
|
* @param {IParams} [params2] 参数2
|
|
57
65
|
* @return {*} {Promise<IHttpResponse>}
|
|
58
66
|
*/
|
|
59
|
-
exec(id: string, context:
|
|
67
|
+
exec(id: string, context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
60
68
|
/**
|
|
61
69
|
* 获取草稿数据[系统预置]
|
|
62
70
|
*
|
|
63
71
|
* @author chitanda
|
|
64
72
|
* @date 2023-11-21 16:11:34
|
|
65
|
-
* @param {
|
|
73
|
+
* @param {IContext} context
|
|
66
74
|
* @param {(IData | IData[])} [params]
|
|
67
75
|
* @param {IParams} [params2]
|
|
68
76
|
* @return {*} {Promise<IHttpResponse>}
|
|
69
77
|
*/
|
|
70
|
-
getDraft(context:
|
|
78
|
+
getDraft(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
71
79
|
/**
|
|
72
80
|
* 获取草稿数据[系统预置](临时数据)
|
|
73
81
|
*
|
|
74
82
|
* @author chitanda
|
|
75
83
|
* @date 2023-11-21 16:11:34
|
|
76
|
-
* @param {
|
|
84
|
+
* @param {IContext} context
|
|
77
85
|
* @param {(IData | IData[])} [params]
|
|
78
86
|
* @param {IParams} [params2]
|
|
79
87
|
* @return {*} {Promise<IHttpResponse>}
|
|
80
88
|
*/
|
|
81
|
-
getDraftTemp(context:
|
|
89
|
+
getDraftTemp(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
82
90
|
/**
|
|
83
91
|
* 创建数据[系统预置]
|
|
84
92
|
*
|
|
85
93
|
* @author chitanda
|
|
86
94
|
* @date 2023-11-21 16:11:50
|
|
87
|
-
* @param {
|
|
95
|
+
* @param {IContext} context
|
|
88
96
|
* @param {(IData | IData[])} [params]
|
|
89
97
|
* @param {IParams} [params2]
|
|
90
98
|
* @return {*} {Promise<IHttpResponse>}
|
|
91
99
|
*/
|
|
92
|
-
create(context:
|
|
100
|
+
create(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
93
101
|
/**
|
|
94
102
|
* 创建数据[系统预置](临时数据)
|
|
95
103
|
*
|
|
96
104
|
* @author chitanda
|
|
97
105
|
* @date 2023-11-21 16:11:50
|
|
98
|
-
* @param {
|
|
106
|
+
* @param {IContext} context
|
|
99
107
|
* @param {(IData | IData[])} [params]
|
|
100
108
|
* @param {IParams} [params2]
|
|
101
109
|
* @return {*} {Promise<IHttpResponse>}
|
|
102
110
|
*/
|
|
103
|
-
createTemp(context:
|
|
111
|
+
createTemp(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
104
112
|
/**
|
|
105
113
|
* 获取数据[系统预置]
|
|
106
114
|
*
|
|
107
115
|
* @author chitanda
|
|
108
116
|
* @date 2023-11-21 16:11:00
|
|
109
|
-
* @param {
|
|
117
|
+
* @param {IContext} context
|
|
110
118
|
* @param {(IData | IData[])} [params]
|
|
111
119
|
* @param {IParams} [params2]
|
|
112
120
|
* @return {*} {Promise<IHttpResponse>}
|
|
113
121
|
*/
|
|
114
|
-
get(context:
|
|
122
|
+
get(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
115
123
|
/**
|
|
116
124
|
* 获取数据[系统预置](临时数据)
|
|
117
125
|
*
|
|
118
126
|
* @author chitanda
|
|
119
127
|
* @date 2023-11-21 16:11:00
|
|
120
|
-
* @param {
|
|
128
|
+
* @param {IContext} context
|
|
121
129
|
* @param {(IData | IData[])} [params]
|
|
122
130
|
* @param {IParams} [params2]
|
|
123
131
|
* @return {*} {Promise<IHttpResponse>}
|
|
124
132
|
*/
|
|
125
|
-
getTemp(context:
|
|
133
|
+
getTemp(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
126
134
|
/**
|
|
127
135
|
* 更新数据[系统预置]
|
|
128
136
|
*
|
|
129
137
|
* @author chitanda
|
|
130
138
|
* @date 2023-11-21 16:11:09
|
|
131
|
-
* @param {
|
|
139
|
+
* @param {IContext} context
|
|
132
140
|
* @param {(IData | IData[])} [params]
|
|
133
141
|
* @param {IParams} [params2]
|
|
134
142
|
* @return {*} {Promise<IHttpResponse>}
|
|
135
143
|
*/
|
|
136
|
-
update(context:
|
|
144
|
+
update(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
137
145
|
/**
|
|
138
146
|
* 更新数据[系统预置](临时数据)
|
|
139
147
|
*
|
|
140
148
|
* @author chitanda
|
|
141
149
|
* @date 2023-11-21 16:11:09
|
|
142
|
-
* @param {
|
|
150
|
+
* @param {IContext} context
|
|
143
151
|
* @param {(IData | IData[])} [params]
|
|
144
152
|
* @param {IParams} [params2]
|
|
145
153
|
* @return {*} {Promise<IHttpResponse>}
|
|
146
154
|
*/
|
|
147
|
-
updateTemp(context:
|
|
155
|
+
updateTemp(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
148
156
|
/**
|
|
149
157
|
* 删除数据[系统预置]
|
|
150
158
|
*
|
|
151
159
|
* @author chitanda
|
|
152
160
|
* @date 2023-11-21 16:11:12
|
|
153
|
-
* @param {
|
|
161
|
+
* @param {IContext} context
|
|
154
162
|
* @param {(IData | IData[])} [params]
|
|
155
163
|
* @param {IParams} [params2]
|
|
156
164
|
* @return {*} {Promise<IHttpResponse>}
|
|
157
165
|
*/
|
|
158
|
-
remove(context:
|
|
166
|
+
remove(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
159
167
|
/**
|
|
160
168
|
* 删除数据[系统预置](临时数据)
|
|
161
169
|
*
|
|
162
170
|
* @author chitanda
|
|
163
171
|
* @date 2023-11-21 16:11:12
|
|
164
|
-
* @param {
|
|
172
|
+
* @param {IContext} context
|
|
165
173
|
* @param {(IData | IData[])} [params]
|
|
166
174
|
* @param {IParams} [params2]
|
|
167
175
|
* @return {*} {Promise<IHttpResponse>}
|
|
168
176
|
*/
|
|
169
|
-
removeTemp(context:
|
|
177
|
+
removeTemp(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
170
178
|
/**
|
|
171
179
|
* 获取默认数据集[系统预置]
|
|
172
180
|
*
|
|
173
181
|
* @author chitanda
|
|
174
182
|
* @date 2023-11-21 16:11:06
|
|
175
|
-
* @param {
|
|
183
|
+
* @param {IContext} context
|
|
176
184
|
* @param {(IData | IData[])} [params]
|
|
177
185
|
* @param {IParams} [params2]
|
|
178
186
|
* @return {*} {Promise<IHttpResponse>}
|
|
179
187
|
*/
|
|
180
|
-
fetchDefault(context:
|
|
181
|
-
/**
|
|
182
|
-
* 查询临时数据本地缓存
|
|
183
|
-
*
|
|
184
|
-
* @author chitanda
|
|
185
|
-
* @date 2023-12-18 11:12:11
|
|
186
|
-
* @param {IParams} context
|
|
187
|
-
* @param {IParams} [params]
|
|
188
|
-
* @return {*} {Promise<IDataEntity[]>}
|
|
189
|
-
*/
|
|
190
|
-
selectLocal(context: IParams, params?: IParams): Promise<IDataEntity[]>;
|
|
188
|
+
fetchDefault(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
191
189
|
/**
|
|
192
190
|
* 获取默认数据集[系统预置](临时数据)
|
|
193
191
|
*
|
|
194
192
|
* @author chitanda
|
|
195
193
|
* @date 2023-11-21 16:11:06
|
|
196
|
-
* @param {
|
|
194
|
+
* @param {IContext} context
|
|
197
195
|
* @param {(IData | IData[])} [params]
|
|
198
196
|
* @param {IParams} [params2]
|
|
199
197
|
* @return {*} {Promise<IHttpResponse>}
|
|
200
198
|
*/
|
|
201
|
-
fetchTempDefault(context:
|
|
199
|
+
fetchTempDefault(context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
202
200
|
/**
|
|
203
201
|
* 触发实体服务方法 ac 模式
|
|
204
202
|
*
|
|
205
203
|
* @author chitanda
|
|
206
204
|
* @date 2023-10-12 17:10:27
|
|
207
205
|
* @param {string} id
|
|
208
|
-
* @param {
|
|
206
|
+
* @param {IContext} context
|
|
209
207
|
* @param {(IData | IData[])} [params]
|
|
210
208
|
* @param {IParams} [params2]
|
|
211
209
|
* @return {*} {Promise<IHttpResponse>}
|
|
212
210
|
*/
|
|
213
|
-
execAc(id: string, context:
|
|
211
|
+
execAc(id: string, context: IContext, params?: IData | IData[], params2?: IParams): Promise<IHttpResponse>;
|
|
214
212
|
/**
|
|
215
213
|
* 实体级别 AI 聊天单次会话
|
|
216
214
|
*
|
|
217
215
|
* @author chitanda
|
|
218
216
|
* @date 2023-10-12 16:10:03
|
|
219
217
|
* @param {(data: IPortalAsyncAction) => void} onmessage
|
|
220
|
-
* @param {
|
|
218
|
+
* @param {IContext} context
|
|
221
219
|
* @param {IParams} [params]
|
|
222
220
|
* @param {IData} [data]
|
|
223
221
|
* @return {*} {Promise<void>}
|
|
224
222
|
*/
|
|
225
|
-
aiChatSse(onmessage: (data: IPortalAsyncAction) => void, context:
|
|
223
|
+
aiChatSse(onmessage: (data: IPortalAsyncAction) => void, context: IContext, params?: IParams, data?: IData): Promise<void>;
|
|
226
224
|
/**
|
|
227
225
|
* 获取 AI 聊天会话历史记录
|
|
228
226
|
*
|
|
229
227
|
* @author chitanda
|
|
230
228
|
* @date 2023-10-26 14:10:40
|
|
231
|
-
* @param {
|
|
229
|
+
* @param {IContext} context
|
|
232
230
|
* @param {IParams} [params]
|
|
233
231
|
* @param {IData} [data]
|
|
234
232
|
* @return {*} {Promise<IHttpResponse>}
|
|
235
233
|
*/
|
|
236
|
-
aiChatHistory(context:
|
|
234
|
+
aiChatHistory(context: IContext, params?: IParams, data?: IData): Promise<IHttpResponse>;
|
|
235
|
+
/**
|
|
236
|
+
* 当前实体服务销毁时调用
|
|
237
|
+
*
|
|
238
|
+
* @author chitanda
|
|
239
|
+
* @date 2023-12-22 13:12:42
|
|
240
|
+
* @return {*} {void}
|
|
241
|
+
*/
|
|
242
|
+
destroy(): void;
|
|
237
243
|
}
|
|
238
244
|
//# sourceMappingURL=i-app-de.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-app-de.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/service/service/i-app-de.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"i-app-de.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/service/service/i-app-de.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IAExB;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC;IAErC;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,EAAE,gBAAgB,CAAC;IAE9B;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAE5B;;;;;;;;;;OAUG;IACH,IAAI,CACF,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,QAAQ,EACjB,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,EAAE,EACxB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;;;OASG;IACH,QAAQ,CACN,OAAO,EAAE,QAAQ,EACjB,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,EAAE,EACxB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,aAAa,CAAC,CAAC;IAE1B;;;;;;;;;OASG;IACH,YAAY,CACV,OAAO,EAAE,QAAQ,EACjB,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,EAAE,EACxB,OAAO,CAAC,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param {IDEDataExport} dataExport 导出模型
|
|
17
17
|
* @param {string} fetchAction 查询方法
|
|
18
|
-
* @param {
|
|
18
|
+
* @param {IContext} context 上下文
|
|
19
19
|
* @param {IParams} params 请求参数
|
|
20
20
|
* @returns {*} {Promise<IHttpResponse<Blob>>}
|
|
21
21
|
*/
|
|
22
|
-
exportData(dataExport: IDEDataExport, fetchAction: string, context:
|
|
22
|
+
exportData(dataExport: IDEDataExport, fetchAction: string, context: IContext, params: IParams): Promise<IHttpResponse<Blob>>;
|
|
23
23
|
}
|
|
24
24
|
//# sourceMappingURL=i-file.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-file.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/service/service/i-file.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;OAUG;IACH,UAAU,CACR,UAAU,EAAE,aAAa,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-file.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/service/service/i-file.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;OAUG;IACH,UAAU,CACR,UAAU,EAAE,aAAa,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,GACd,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;CACjC"}
|
|
@@ -5,38 +5,38 @@ export interface IWorkFlowService {
|
|
|
5
5
|
*
|
|
6
6
|
* @author lxm
|
|
7
7
|
* @date 2022-09-29 14:09:45
|
|
8
|
-
* @param {
|
|
8
|
+
* @param {IContext} context
|
|
9
9
|
* @returns {*} {Promise<IHttpResponse<IData>>}
|
|
10
10
|
*/
|
|
11
|
-
getWFStep(context:
|
|
11
|
+
getWFStep(context: IContext): Promise<IHttpResponse<IData>>;
|
|
12
12
|
/**
|
|
13
13
|
* 根据业务主键和当前步骤获取操作路径
|
|
14
14
|
*
|
|
15
15
|
* @author lxm
|
|
16
16
|
* @date 2022-09-29 14:09:52
|
|
17
|
-
* @param {
|
|
17
|
+
* @param {IContext} context 路径参数
|
|
18
18
|
* @param {IData} data 数据
|
|
19
19
|
* @returns {*} {Promise<IHttpResponse<IData>>}
|
|
20
20
|
*/
|
|
21
|
-
getWFLink(context:
|
|
21
|
+
getWFLink(context: IContext, data: IData): Promise<IHttpResponse<IData[]>>;
|
|
22
22
|
/**
|
|
23
23
|
* 根据业务主键获取工作流程进度
|
|
24
24
|
*
|
|
25
25
|
* @author lxm
|
|
26
26
|
* @date 2022-09-29 14:09:45
|
|
27
|
-
* @param {
|
|
27
|
+
* @param {IContext} context
|
|
28
28
|
* @returns {*} {Promise<IHttpResponse<IData>>}
|
|
29
29
|
*/
|
|
30
|
-
getWFHistory(context:
|
|
30
|
+
getWFHistory(context: IContext): Promise<IHttpResponse<IData>>;
|
|
31
31
|
/**
|
|
32
32
|
* 根据业务主键获取工作流流程图片
|
|
33
33
|
*
|
|
34
34
|
* @author lxm
|
|
35
35
|
* @date 2022-10-27 16:10:13
|
|
36
|
-
* @param {
|
|
36
|
+
* @param {IContext} context
|
|
37
37
|
* @returns {*} {Promise<IHttpResponse<IData>>}
|
|
38
38
|
*/
|
|
39
|
-
getWFProcessDiagram(context:
|
|
39
|
+
getWFProcessDiagram(context: IContext): Promise<IHttpResponse<IData>>;
|
|
40
40
|
/**
|
|
41
41
|
* 获取标准工作流版本信息
|
|
42
42
|
*
|
|
@@ -50,23 +50,23 @@ export interface IWorkFlowService {
|
|
|
50
50
|
*
|
|
51
51
|
* @author lxm
|
|
52
52
|
* @date 2022-09-30 17:09:51
|
|
53
|
-
* @param {
|
|
53
|
+
* @param {IContext} context 路径参数
|
|
54
54
|
* @param {IParams} params 请求参数
|
|
55
55
|
* @param {IData} data 数据
|
|
56
56
|
* @returns {*} {Promise<IHttpResponse<IData>>}
|
|
57
57
|
*/
|
|
58
|
-
wfWithdraw(context:
|
|
58
|
+
wfWithdraw(context: IContext, params: IParams, data: IData): Promise<IHttpResponse<IData>>;
|
|
59
59
|
/**
|
|
60
60
|
* 调用工作流接口
|
|
61
61
|
*
|
|
62
62
|
* @author lxm
|
|
63
63
|
* @date 2022-09-30 17:09:38
|
|
64
64
|
* @param {string} methodName 接口名称
|
|
65
|
-
* @param {
|
|
65
|
+
* @param {IContext} context 路径参数
|
|
66
66
|
* @param {IParams} [params={}] 查询参数
|
|
67
67
|
* @param {IData} [data={}] 主数据数据
|
|
68
68
|
* @returns {*} {Promise<IHttpResponse<IData>>}
|
|
69
69
|
*/
|
|
70
|
-
exec(methodName: string, context:
|
|
70
|
+
exec(methodName: string, context: IContext, params?: IParams, data?: IData): Promise<IHttpResponse<IData>>;
|
|
71
71
|
}
|
|
72
72
|
//# sourceMappingURL=i-wf.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-wf.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/service/service/i-wf.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,SAAS,CAAC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"i-wf.service.d.ts","sourceRoot":"","sources":["../../../../src/interface/service/service/i-wf.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,SAAS,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;IAE5D;;;;;;;;OAQG;IACH,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAE3E;;;;;;;OAOG;IACH,YAAY,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;IAE/D;;;;;;;OAOG;IACH,mBAAmB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;IAEtE;;;;;;OAMG;IACH,YAAY,IAAI,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;IAE9C;;;;;;;;;OASG;IACH,UAAU,CACR,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,OAAO,EACf,IAAI,EAAE,KAAK,GACV,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;IAEjC;;;;;;;;;;OAUG;IACH,IAAI,CACF,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,QAAQ,EACjB,MAAM,CAAC,EAAE,OAAO,EAChB,IAAI,CAAC,EAAE,KAAK,GACX,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;CAClC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDEGridColumn
|
|
1
|
+
import { IDEGridColumn } from '@ibiz/model-core';
|
|
2
2
|
import { IGridColumnProvider } from '../../interface';
|
|
3
3
|
/** 表格列适配器前缀 */
|
|
4
4
|
export declare const GRIDCOLUMN_PROVIDER_PREFIX = "GRIDCOLUMN";
|
|
@@ -19,5 +19,5 @@ export declare function registerGridColumnProvider(key: string, callback: () =>
|
|
|
19
19
|
* @param {IAppView} model
|
|
20
20
|
* @return {*} {Promise<IGridColumnProvider>}
|
|
21
21
|
*/
|
|
22
|
-
export declare function getGridColumnProvider(model: IDEGridColumn
|
|
22
|
+
export declare function getGridColumnProvider(model: IDEGridColumn): Promise<IGridColumnProvider | undefined>;
|
|
23
23
|
//# sourceMappingURL=grid-column-register.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-column-register.d.ts","sourceRoot":"","sources":["../../../src/register/helper/grid-column-register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"grid-column-register.d.ts","sourceRoot":"","sources":["../../../src/register/helper/grid-column-register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGtD,eAAe;AACf,eAAO,MAAM,0BAA0B,eAAe,CAAC;AAEvD;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,mBAAmB,GAClC,IAAI,CAEN;AAQD;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACzC,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CA0B1C"}
|
|
@@ -26,7 +26,6 @@ function getProvider(key) {
|
|
|
26
26
|
export async function getGridColumnProvider(model) {
|
|
27
27
|
let provider;
|
|
28
28
|
const { columnType, enableRowEdit, sysPFPluginId, appId } = model;
|
|
29
|
-
const { renderSysPFPluginId } = model;
|
|
30
29
|
// 找插件适配器
|
|
31
30
|
if (sysPFPluginId) {
|
|
32
31
|
const pluginKey = await getPluginRegisterKey(sysPFPluginId, appId);
|
|
@@ -40,19 +39,6 @@ export async function getGridColumnProvider(model) {
|
|
|
40
39
|
return provider;
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
|
-
// 树表格列插件
|
|
44
|
-
if (renderSysPFPluginId) {
|
|
45
|
-
const pluginKey = await getPluginRegisterKey(renderSysPFPluginId, appId);
|
|
46
|
-
if (pluginKey) {
|
|
47
|
-
provider = getProvider(pluginKey);
|
|
48
|
-
}
|
|
49
|
-
if (!provider) {
|
|
50
|
-
ibiz.log.error(`找不到树表格列插件${pluginKey}对应的适配器`);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return provider;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
42
|
const key = enableRowEdit ? `${columnType}_EDIT` : columnType;
|
|
57
43
|
// 找表格列类型
|
|
58
44
|
provider = getProvider(key);
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { IAppDataEntity, IApplication } from '@ibiz/model-core';
|
|
2
2
|
import { IHttpResponse } from '@ibiz-template/core';
|
|
3
3
|
import { IAppDEService } from '../interface';
|
|
4
|
+
/**
|
|
5
|
+
* 实体服务构造方法
|
|
6
|
+
*/
|
|
7
|
+
export type DEServiceConstructor = (srfSessionId: string, entityModel: IAppDataEntity) => Promise<IAppDEService>;
|
|
4
8
|
/**
|
|
5
9
|
* 应用服务工具类
|
|
6
10
|
*
|
|
@@ -17,16 +21,16 @@ export declare class DEServiceUtil {
|
|
|
17
21
|
* @author chitanda
|
|
18
22
|
* @date 2022-08-17 23:08:36
|
|
19
23
|
* @protected
|
|
20
|
-
* @type {Map<string, IAppDEService
|
|
24
|
+
* @type {Map<string, Map<string, IAppDEService>>} Map<域标识, Map<实体标识, 实体服务>>
|
|
21
25
|
*/
|
|
22
|
-
protected cache: Map<string, IAppDEService
|
|
26
|
+
protected cache: Map<string, Map<string, IAppDEService>>;
|
|
23
27
|
/**
|
|
24
28
|
* 实体服务构造方法缓存
|
|
25
29
|
* @author lxm
|
|
26
30
|
* @date 2023-05-15 08:37:13
|
|
27
31
|
* @protected
|
|
28
32
|
*/
|
|
29
|
-
protected constructorCache: Map<string,
|
|
33
|
+
protected constructorCache: Map<string, DEServiceConstructor>;
|
|
30
34
|
/**
|
|
31
35
|
* Creates an instance of DEServiceUtil.
|
|
32
36
|
*
|
|
@@ -40,40 +44,49 @@ export declare class DEServiceUtil {
|
|
|
40
44
|
*
|
|
41
45
|
* @author chitanda
|
|
42
46
|
* @date 2023-06-14 10:06:31
|
|
43
|
-
* @param {string} id
|
|
44
|
-
* @param {
|
|
47
|
+
* @param {string} id 实体标识
|
|
48
|
+
* @param {DEServiceConstructor} constructor
|
|
45
49
|
*/
|
|
46
|
-
register(id: string, constructor:
|
|
50
|
+
register(id: string, constructor: DEServiceConstructor): void;
|
|
47
51
|
/**
|
|
48
52
|
* 根据实体标识获取实体服务
|
|
49
53
|
*
|
|
50
54
|
* @author chitanda
|
|
51
|
-
* @date
|
|
55
|
+
* @date 2023-12-22 10:12:47
|
|
56
|
+
* @param {IContext} context 上下文,用于计算模型所属沙箱环境
|
|
52
57
|
* @param {string} id 实体标识
|
|
53
|
-
* @param {IParams} [context] 上下文,用于计算模型所属沙箱环境
|
|
54
58
|
* @return {*} {Promise<IAppDEService>}
|
|
55
59
|
*/
|
|
56
|
-
getService(id: string): Promise<IAppDEService>;
|
|
60
|
+
getService(context: IContext, id: string): Promise<IAppDEService>;
|
|
61
|
+
/**
|
|
62
|
+
* 重置服务, 删除指定域下的所有服务缓存
|
|
63
|
+
*
|
|
64
|
+
* @author chitanda
|
|
65
|
+
* @date 2023-12-22 13:12:47
|
|
66
|
+
* @param {IContext} context
|
|
67
|
+
* @return {*} {void}
|
|
68
|
+
*/
|
|
69
|
+
reset(context: IContext): void;
|
|
57
70
|
/**
|
|
58
71
|
* 清理所有服务, 当前临时域下的所有临时数据缓存
|
|
59
72
|
*
|
|
60
73
|
* @description 根据 srfsessionid 作为临时数据域
|
|
61
74
|
* @author chitanda
|
|
62
75
|
* @date 2022-08-18 14:08:48
|
|
63
|
-
* @param {
|
|
76
|
+
* @param {IContext} context
|
|
64
77
|
*/
|
|
65
|
-
clearTempCache(context:
|
|
78
|
+
clearTempCache(context: IContext): void;
|
|
66
79
|
/**
|
|
67
80
|
* 执行服务方法
|
|
68
81
|
* @author lxm
|
|
69
82
|
* @date 2023-04-26 02:02:43
|
|
70
83
|
* @param {string} appDataEntityId 实体名称
|
|
71
84
|
* @param {string} methodName 方法名
|
|
72
|
-
* @param {
|
|
85
|
+
* @param {IContext} context 上下文
|
|
73
86
|
* @param {(IData | undefined)} [params] 数据
|
|
74
87
|
* @param {(IParams | undefined)} [params2] 视图参数
|
|
75
88
|
* @return {*} {Promise<IHttpResponse<IData>>}
|
|
76
89
|
*/
|
|
77
|
-
exec(appDataEntityId: string, methodName: string, context:
|
|
90
|
+
exec(appDataEntityId: string, methodName: string, context: IContext, params?: IData | IData[] | undefined, params2?: IParams | undefined): Promise<IHttpResponse<IData>>;
|
|
78
91
|
}
|
|
79
92
|
//# sourceMappingURL=de-service-util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de-service-util.d.ts","sourceRoot":"","sources":["../../src/service/de-service-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAgB,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C;;;;;;;GAOG;AACH,qBAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"de-service-util.d.ts","sourceRoot":"","sources":["../../src/service/de-service-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAgB,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,CACjC,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,cAAc,KACxB,OAAO,CAAC,aAAa,CAAC,CAAC;AAE5B;;;;;;;GAOG;AACH,qBAAa,aAAa;IA0BZ,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