@ibiz-template/runtime 0.7.41-alpha.125 → 0.7.41-alpha.126
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 +39796 -39493
- package/dist/index.system.min.js +1 -1
- package/out/controller/control/app-menu/app-menu.controller.js +1 -1
- package/out/controller/control/toolbar/toolbar.controller.js +1 -1
- package/out/controller/control/tree/tree.service.d.ts.map +1 -1
- package/out/controller/control/tree/tree.service.js +1 -1
- package/out/controller/utils/view-msg/view-msg-controller.d.ts.map +1 -1
- package/out/controller/utils/view-msg/view-msg-controller.js +1 -1
- package/out/de-logic/de-logic-context.d.ts +4 -13
- package/out/de-logic/de-logic-context.d.ts.map +1 -1
- package/out/de-logic/de-logic-context.js +2 -3
- package/out/de-logic/de-logic-link/de-logic-link-cond/de-logic-link-cond.d.ts +15 -5
- package/out/de-logic/de-logic-link/de-logic-link-cond/de-logic-link-cond.d.ts.map +1 -1
- package/out/de-logic/de-logic-link/de-logic-link-cond/de-logic-link-cond.js +3 -4
- package/out/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.d.ts +2 -1
- 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-single-cond/de-logic-link-single-cond.d.ts +2 -1
- 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.d.ts +6 -7
- package/out/de-logic/de-logic-link/de-logic-link.d.ts.map +1 -1
- package/out/de-logic/de-logic-link/de-logic-link.js +3 -4
- package/out/de-logic/de-logic-node/de-logic-node.d.ts +2 -1
- package/out/de-logic/de-logic-node/de-logic-node.d.ts.map +1 -1
- package/out/de-logic/de-logic-node/index.d.ts +1 -0
- package/out/de-logic/de-logic-node/index.d.ts.map +1 -1
- package/out/de-logic/de-logic-node/index.js +1 -0
- package/out/de-logic/de-logic.d.ts +31 -37
- package/out/de-logic/de-logic.d.ts.map +1 -1
- package/out/de-logic/de-logic.js +49 -98
- package/out/de-logic/index.d.ts +31 -40
- package/out/de-logic/index.d.ts.map +1 -1
- package/out/de-logic/index.js +57 -76
- package/out/de-logic/provider.d.ts +6 -0
- package/out/de-logic/provider.d.ts.map +1 -0
- package/out/de-logic/provider.js +25 -0
- package/out/install.d.ts.map +1 -1
- package/out/install.js +6 -0
- package/out/interface/api/common/i-api-de-logic-params.d.ts +9 -0
- package/out/interface/api/common/i-api-de-logic-params.d.ts.map +1 -0
- package/out/interface/api/common/i-api-logic-context.d.ts +83 -0
- package/out/interface/api/common/i-api-logic-context.d.ts.map +1 -0
- package/out/interface/api/common/i-api-logic-context.js +1 -0
- package/out/interface/api/common/i-api-logic-params.d.ts +27 -0
- package/out/interface/api/common/i-api-logic-params.d.ts.map +1 -0
- package/out/interface/api/common/i-api-logic-params.js +1 -0
- package/out/interface/api/common/i-api-ui-logic-params.d.ts +3 -21
- package/out/interface/api/common/i-api-ui-logic-params.d.ts.map +1 -1
- package/out/interface/api/common/index.d.ts +2 -0
- package/out/interface/api/common/index.d.ts.map +1 -1
- package/out/interface/api/controller/control/form-detail/i-api-form-detail.controller.d.ts +1 -1
- package/out/interface/common/i-logic-context/i-logic-context.d.ts +27 -0
- package/out/interface/common/i-logic-context/i-logic-context.d.ts.map +1 -0
- package/out/interface/common/i-logic-context/i-logic-context.js +1 -0
- package/out/interface/common/i-logic-link-cond/i-logic-link-cond.d.ts +18 -0
- package/out/interface/common/i-logic-link-cond/i-logic-link-cond.d.ts.map +1 -0
- package/out/interface/common/i-logic-link-cond/i-logic-link-cond.js +1 -0
- package/out/interface/common/index.d.ts +2 -1
- package/out/interface/common/index.d.ts.map +1 -1
- package/out/interface/de-logic/i-de-logic-context.d.ts +10 -0
- package/out/interface/de-logic/i-de-logic-context.d.ts.map +1 -0
- package/out/interface/de-logic/i-de-logic-context.js +1 -0
- package/out/interface/de-logic/i-de-logic-link-cond.d.ts +33 -0
- package/out/interface/de-logic/i-de-logic-link-cond.d.ts.map +1 -0
- package/out/interface/de-logic/i-de-logic-link-cond.js +1 -0
- package/out/interface/de-logic/i-de-logic-link.d.ts +43 -0
- package/out/interface/de-logic/i-de-logic-link.d.ts.map +1 -0
- package/out/interface/de-logic/i-de-logic-link.js +1 -0
- package/out/interface/de-logic/i-de-logic-node.d.ts +10 -0
- package/out/interface/de-logic/i-de-logic-node.d.ts.map +1 -0
- package/out/interface/de-logic/i-de-logic-node.js +1 -0
- package/out/interface/de-logic/i-de-logic-params.d.ts +10 -0
- package/out/interface/de-logic/i-de-logic-params.d.ts.map +1 -0
- package/out/interface/de-logic/i-de-logic-params.js +1 -0
- package/out/interface/de-logic/i-de-logic.d.ts +23 -0
- package/out/interface/de-logic/i-de-logic.d.ts.map +1 -0
- package/out/interface/de-logic/i-de-logic.js +1 -0
- package/out/interface/de-logic/index.d.ts +7 -0
- package/out/interface/de-logic/index.d.ts.map +1 -0
- package/out/interface/de-logic/index.js +1 -0
- package/out/interface/index.d.ts +1 -0
- package/out/interface/index.d.ts.map +1 -1
- package/out/interface/index.js +1 -0
- package/out/interface/provider/i-de-logic-node.provider.d.ts +29 -0
- package/out/interface/provider/i-de-logic-node.provider.d.ts.map +1 -0
- package/out/interface/provider/i-de-logic-node.provider.js +1 -0
- package/out/interface/provider/i-de-logic.provider.d.ts +22 -0
- package/out/interface/provider/i-de-logic.provider.d.ts.map +1 -0
- package/out/interface/provider/i-de-logic.provider.js +1 -0
- package/out/interface/provider/i-ui-action.provider.d.ts +2 -1
- package/out/interface/provider/i-ui-action.provider.d.ts.map +1 -1
- package/out/interface/provider/i-ui-logic-node.provider.d.ts +20 -14
- package/out/interface/provider/i-ui-logic-node.provider.d.ts.map +1 -1
- package/out/interface/provider/i-ui-logic.provider.d.ts +22 -0
- package/out/interface/provider/i-ui-logic.provider.d.ts.map +1 -0
- package/out/interface/provider/i-ui-logic.provider.js +1 -0
- package/out/interface/provider/index.d.ts +3 -0
- package/out/interface/provider/index.d.ts.map +1 -1
- package/out/interface/register/i-register-params.d.ts +17 -7
- package/out/interface/register/i-register-params.d.ts.map +1 -1
- package/out/interface/ui-logic/i-ui-logic-context.d.ts +8 -83
- package/out/interface/ui-logic/i-ui-logic-context.d.ts.map +1 -1
- package/out/interface/ui-logic/i-ui-logic-link-cond.d.ts +33 -0
- package/out/interface/ui-logic/i-ui-logic-link-cond.d.ts.map +1 -0
- package/out/interface/ui-logic/i-ui-logic-link-cond.js +1 -0
- package/out/interface/ui-logic/i-ui-logic-link.d.ts +43 -0
- package/out/interface/ui-logic/i-ui-logic-link.d.ts.map +1 -0
- package/out/interface/ui-logic/i-ui-logic-link.js +1 -0
- package/out/interface/ui-logic/i-ui-logic-node.d.ts +10 -0
- package/out/interface/ui-logic/i-ui-logic-node.d.ts.map +1 -0
- package/out/interface/ui-logic/i-ui-logic-node.js +1 -0
- package/out/interface/{common/i-ui-logic-params → ui-logic}/i-ui-logic-params.d.ts +3 -5
- package/out/interface/ui-logic/i-ui-logic-params.d.ts.map +1 -0
- package/out/interface/ui-logic/i-ui-logic-params.js +1 -0
- package/out/interface/ui-logic/i-ui-logic.d.ts +23 -0
- package/out/interface/ui-logic/i-ui-logic.d.ts.map +1 -0
- package/out/interface/ui-logic/i-ui-logic.js +1 -0
- package/out/interface/ui-logic/index.d.ts +5 -0
- package/out/interface/ui-logic/index.d.ts.map +1 -1
- package/out/locale/en/index.d.ts +10 -0
- package/out/locale/en/index.d.ts.map +1 -1
- package/out/locale/en/index.js +10 -0
- package/out/locale/zh-CN/index.d.ts +10 -0
- package/out/locale/zh-CN/index.d.ts.map +1 -1
- package/out/locale/zh-CN/index.js +10 -0
- package/out/register/custom-register.d.ts +19 -3
- package/out/register/custom-register.d.ts.map +1 -1
- package/out/register/custom-register.js +55 -6
- package/out/register/helper/app-menu-item-register.d.ts +2 -2
- package/out/register/helper/app-menu-item-register.d.ts.map +1 -1
- package/out/register/helper/app-menu-item-register.js +18 -10
- package/out/register/helper/de-logic-node-register.d.ts +24 -0
- package/out/register/helper/de-logic-node-register.d.ts.map +1 -0
- package/out/register/helper/de-logic-node-register.js +50 -0
- package/out/register/helper/de-logic-register.d.ts +20 -0
- package/out/register/helper/de-logic-register.d.ts.map +1 -0
- package/out/register/helper/de-logic-register.js +41 -0
- package/out/register/helper/index.d.ts +3 -0
- package/out/register/helper/index.d.ts.map +1 -1
- package/out/register/helper/index.js +3 -0
- package/out/register/helper/portlet-register.d.ts +3 -5
- package/out/register/helper/portlet-register.d.ts.map +1 -1
- package/out/register/helper/portlet-register.js +20 -19
- package/out/register/helper/toolbar-item-register.d.ts +5 -7
- package/out/register/helper/toolbar-item-register.d.ts.map +1 -1
- package/out/register/helper/toolbar-item-register.js +24 -16
- package/out/register/helper/ui-logic-node-register.d.ts +13 -9
- package/out/register/helper/ui-logic-node-register.d.ts.map +1 -1
- package/out/register/helper/ui-logic-node-register.js +51 -17
- package/out/register/helper/ui-logic-register.d.ts +20 -0
- package/out/register/helper/ui-logic-register.d.ts.map +1 -0
- package/out/register/helper/ui-logic-register.js +41 -0
- package/out/service/service/entity/method/de-action.d.ts.map +1 -1
- package/out/service/service/entity/method/de-action.js +1 -1
- package/out/ui-logic/index.d.ts +5 -10
- package/out/ui-logic/index.d.ts.map +1 -1
- package/out/ui-logic/index.js +12 -14
- package/out/ui-logic/provider.d.ts +6 -0
- package/out/ui-logic/provider.d.ts.map +1 -0
- package/out/ui-logic/provider.js +32 -0
- package/out/ui-logic/ui-logic-context.d.ts +1 -1
- package/out/ui-logic/ui-logic-context.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-link/ui-logic-link-cond/ui-logic-link-cond.d.ts +16 -5
- package/out/ui-logic/ui-logic-link/ui-logic-link-cond/ui-logic-link-cond.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-link/ui-logic-link-cond/ui-logic-link-cond.js +3 -4
- package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.d.ts +2 -1
- package/out/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.d.ts +2 -1
- package/out/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-link/ui-logic-link.d.ts +6 -8
- package/out/ui-logic/ui-logic-link/ui-logic-link.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-link/ui-logic-link.js +3 -5
- package/out/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.js +3 -3
- package/out/ui-logic/ui-logic-node/ui-logic-node.d.ts +9 -14
- package/out/ui-logic/ui-logic-node/ui-logic-node.d.ts.map +1 -1
- package/out/ui-logic/ui-logic-node/ui-logic-node.js +2 -4
- package/out/ui-logic/ui-logic.d.ts +27 -36
- package/out/ui-logic/ui-logic.d.ts.map +1 -1
- package/out/ui-logic/ui-logic.js +35 -108
- package/out/utils/dr-ctrl-util/index.d.ts.map +1 -1
- package/out/utils/dr-ctrl-util/index.js +1 -1
- package/package.json +2 -2
- package/src/controller/control/app-menu/app-menu.controller.ts +1 -1
- package/src/controller/control/toolbar/toolbar.controller.ts +1 -1
- package/src/controller/control/tree/tree.service.ts +1 -0
- package/src/controller/utils/view-msg/view-msg-controller.ts +7 -1
- package/src/de-logic/de-logic-context.ts +4 -16
- package/src/de-logic/de-logic-link/de-logic-link-cond/de-logic-link-cond.ts +17 -5
- package/src/de-logic/de-logic-link/de-logic-link-group-cond/de-logic-link-group-cond.ts +5 -1
- package/src/de-logic/de-logic-link/de-logic-link-single-cond/de-logic-link-single-cond.ts +5 -1
- package/src/de-logic/de-logic-link/de-logic-link.ts +6 -6
- package/src/de-logic/de-logic-node/de-logic-node.ts +2 -1
- package/src/de-logic/de-logic-node/index.ts +1 -0
- package/src/de-logic/de-logic.ts +60 -123
- package/src/de-logic/index.ts +66 -85
- package/src/de-logic/provider.ts +83 -0
- package/src/install.ts +6 -0
- package/src/interface/api/common/i-api-de-logic-params.ts +8 -0
- package/src/interface/api/common/i-api-logic-context.ts +83 -0
- package/src/interface/api/common/i-api-logic-params.ts +29 -0
- package/src/interface/api/common/i-api-ui-logic-params.ts +3 -24
- package/src/interface/api/common/index.ts +2 -0
- package/src/interface/api/controller/control/form-detail/i-api-form-detail.controller.ts +1 -1
- package/src/interface/common/i-logic-context/i-logic-context.ts +27 -0
- package/src/interface/common/i-logic-link-cond/i-logic-link-cond.ts +18 -0
- package/src/interface/common/index.ts +2 -1
- package/src/interface/de-logic/i-de-logic-context.ts +9 -0
- package/src/interface/de-logic/i-de-logic-link-cond.ts +33 -0
- package/src/interface/de-logic/i-de-logic-link.ts +47 -0
- package/src/interface/de-logic/i-de-logic-node.ts +9 -0
- package/src/interface/de-logic/i-de-logic-params.ts +9 -0
- package/src/interface/de-logic/i-de-logic.ts +23 -0
- package/src/interface/de-logic/index.ts +10 -0
- package/src/interface/index.ts +1 -0
- package/src/interface/provider/i-de-logic-node.provider.ts +29 -0
- package/src/interface/provider/i-de-logic.provider.ts +22 -0
- package/src/interface/provider/i-ui-action.provider.ts +2 -1
- package/src/interface/provider/i-ui-logic-node.provider.ts +20 -14
- package/src/interface/provider/i-ui-logic.provider.ts +22 -0
- package/src/interface/provider/index.ts +3 -0
- package/src/interface/register/i-register-params.ts +31 -7
- package/src/interface/ui-logic/i-ui-logic-context.ts +9 -95
- package/src/interface/ui-logic/i-ui-logic-link-cond.ts +33 -0
- package/src/interface/ui-logic/i-ui-logic-link.ts +47 -0
- package/src/interface/ui-logic/i-ui-logic-node.ts +9 -0
- package/src/interface/{common/i-ui-logic-params → ui-logic}/i-ui-logic-params.ts +3 -5
- package/src/interface/ui-logic/i-ui-logic.ts +23 -0
- package/src/interface/ui-logic/index.ts +9 -0
- package/src/locale/en/index.ts +18 -0
- package/src/locale/zh-CN/index.ts +17 -0
- package/src/register/custom-register.ts +69 -12
- package/src/register/helper/app-menu-item-register.ts +26 -13
- package/src/register/helper/de-logic-node-register.ts +76 -0
- package/src/register/helper/de-logic-register.ts +63 -0
- package/src/register/helper/index.ts +3 -0
- package/src/register/helper/portlet-register.ts +23 -22
- package/src/register/helper/toolbar-item-register.ts +32 -19
- package/src/register/helper/ui-logic-node-register.ts +79 -25
- package/src/register/helper/ui-logic-register.ts +63 -0
- package/src/service/service/entity/method/de-action.ts +7 -1
- package/src/ui-logic/index.ts +17 -16
- package/src/ui-logic/provider.ts +122 -0
- package/src/ui-logic/ui-logic-context.ts +1 -1
- package/src/ui-logic/ui-logic-link/ui-logic-link-cond/ui-logic-link-cond.ts +18 -5
- package/src/ui-logic/ui-logic-link/ui-logic-link-group-cond/ui-logic-link-group-cond.ts +5 -1
- package/src/ui-logic/ui-logic-link/ui-logic-link-single-cond/ui-logic-link-single-cond.ts +5 -1
- package/src/ui-logic/ui-logic-link/ui-logic-link.ts +6 -7
- package/src/ui-logic/ui-logic-node/pf-plugin-node/pf-plugin-node.ts +3 -3
- package/src/ui-logic/ui-logic-node/ui-logic-node.ts +9 -14
- package/src/ui-logic/ui-logic.ts +46 -141
- package/src/utils/dr-ctrl-util/index.ts +7 -1
- package/out/interface/common/i-ui-logic-params/i-ui-logic-params.d.ts.map +0 -1
- /package/out/interface/{common/i-ui-logic-params/i-ui-logic-params.js → api/common/i-api-de-logic-params.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAppDataEntity, IAppDEMethod, IAppUIAction, IAppView, IControl, IControlItem, IEditor } from '@ibiz/model-core';
|
|
1
|
+
import { IAppDataEntity, IAppDELogic, IAppDEMethod, IAppMenuItem, IAppUIAction, IAppView, IControl, IControlItem, IDBPortletPart, IDELogicNode, IDEToolbarItem, IDEUILogic, IDEUILogicNode, IEditor } from '@ibiz/model-core';
|
|
2
2
|
/**
|
|
3
3
|
* 自定义适配器注册参数接口
|
|
4
4
|
*/
|
|
@@ -21,20 +21,30 @@ export interface IRegisterParams {
|
|
|
21
21
|
* @memberof IRegisterParams
|
|
22
22
|
*/
|
|
23
23
|
entity?: IAppDataEntity;
|
|
24
|
+
/**
|
|
25
|
+
* @description 逻辑模型
|
|
26
|
+
* @type {(IDEUILogic | IAppDELogic)}
|
|
27
|
+
* @memberof IRegisterParams
|
|
28
|
+
*/
|
|
29
|
+
logic?: IDEUILogic | IAppDELogic;
|
|
24
30
|
/**
|
|
25
31
|
* @description 主模型
|
|
26
|
-
* @type {
|
|
27
|
-
* | IAppView
|
|
32
|
+
* @type {(IAppView
|
|
28
33
|
* | IAppDataEntity
|
|
29
|
-
* | IAppDEMethod
|
|
30
34
|
* | IAppUIAction
|
|
31
35
|
* | IControl
|
|
32
36
|
* | IControlItem
|
|
33
|
-
* | IEditor
|
|
34
37
|
* | IAppDEMethod
|
|
35
|
-
*
|
|
38
|
+
* | IEditor
|
|
39
|
+
* | IDEUILogic
|
|
40
|
+
* | IAppDELogic
|
|
41
|
+
* | IAppMenuItem
|
|
42
|
+
* | IDBPortletPart
|
|
43
|
+
* | IDEToolbarItem
|
|
44
|
+
* | IDEUILogicNode
|
|
45
|
+
* | IDELogicNode)}
|
|
36
46
|
* @memberof IRegisterParams
|
|
37
47
|
*/
|
|
38
|
-
mainModel: IAppView | IAppDataEntity |
|
|
48
|
+
mainModel: IAppView | IAppDataEntity | IAppUIAction | IControl | IControlItem | IAppDEMethod | IEditor | IDEUILogic | IAppDELogic | IAppMenuItem | IDBPortletPart | IDEToolbarItem | IDEUILogicNode | IDELogicNode;
|
|
39
49
|
}
|
|
40
50
|
//# sourceMappingURL=i-register-params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-register-params.d.ts","sourceRoot":"","sources":["../../../src/interface/register/i-register-params.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,OAAO,EACR,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB
|
|
1
|
+
{"version":3,"file":"i-register-params.d.ts","sourceRoot":"","sources":["../../../src/interface/register/i-register-params.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,EACd,UAAU,EACV,cAAc,EACd,OAAO,EACR,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;;;OAIG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IAEjC;;;;;;;;;;;;;;;;;OAiBG;IACH,SAAS,EACL,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,QAAQ,GACR,YAAY,GACZ,YAAY,GACZ,OAAO,GACP,UAAU,GACV,WAAW,GACX,YAAY,GACZ,cAAc,GACd,cAAc,GACd,cAAc,GACd,YAAY,CAAC;CAClB"}
|
|
@@ -1,85 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly context: IContext;
|
|
10
|
-
/**
|
|
11
|
-
* 数据
|
|
12
|
-
*/
|
|
13
|
-
readonly data: IData;
|
|
14
|
-
/**
|
|
15
|
-
* 视图参数
|
|
16
|
-
*/
|
|
17
|
-
readonly viewParam: IParams;
|
|
18
|
-
/**
|
|
19
|
-
* 界面逻辑参数
|
|
20
|
-
*
|
|
21
|
-
* @author chitanda
|
|
22
|
-
* @date 2023-11-01 17:11:52
|
|
23
|
-
* @type {Record<string, unknown>}
|
|
24
|
-
*/
|
|
25
|
-
readonly params: Record<string, unknown>;
|
|
26
|
-
/**
|
|
27
|
-
* UI 逻辑执行返回值
|
|
28
|
-
*
|
|
29
|
-
* @author chitanda
|
|
30
|
-
* @date 2023-11-01 17:11:29
|
|
31
|
-
* @type {unknown}
|
|
32
|
-
*/
|
|
33
|
-
result: unknown;
|
|
34
|
-
/**
|
|
35
|
-
* 是否存在结束节点
|
|
36
|
-
*
|
|
37
|
-
* @author chitanda
|
|
38
|
-
* @date 2023-11-01 17:11:57
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
*/
|
|
41
|
-
isEndNode: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* 默认参数节点名称
|
|
44
|
-
*
|
|
45
|
-
* @default 'Default'
|
|
46
|
-
* @author chitanda
|
|
47
|
-
* @date 2023-11-01 17:11:31
|
|
48
|
-
* @type {string}
|
|
49
|
-
*/
|
|
50
|
-
defaultParamName: string;
|
|
51
|
-
/**
|
|
52
|
-
* 重置实体逻辑参数
|
|
53
|
-
*
|
|
54
|
-
* @author chitanda
|
|
55
|
-
* @date 2023-11-01 17:11:18
|
|
56
|
-
* @param {string} name
|
|
57
|
-
*/
|
|
58
|
-
resetParam(name: string): void;
|
|
59
|
-
/**
|
|
60
|
-
* 设置上一次返回值
|
|
61
|
-
*
|
|
62
|
-
* @author chitanda
|
|
63
|
-
* @date 2023-11-01 17:11:31
|
|
64
|
-
* @param {string} name
|
|
65
|
-
*/
|
|
66
|
-
renewParam(name: string): void;
|
|
67
|
-
/**
|
|
68
|
-
* 设置上一次返回值
|
|
69
|
-
*
|
|
70
|
-
* @author chitanda
|
|
71
|
-
* @date 2023-11-01 17:11:48
|
|
72
|
-
* @param {unknown} value
|
|
73
|
-
*/
|
|
74
|
-
setLastReturn(value: unknown): void;
|
|
75
|
-
/**
|
|
76
|
-
* 是否是实体参数变量(即后台数据对象)
|
|
77
|
-
*
|
|
78
|
-
* @author chitanda
|
|
79
|
-
* @date 2023-11-01 17:11:01
|
|
80
|
-
* @param {string} paramId
|
|
81
|
-
* @return {*} {boolean}
|
|
82
|
-
*/
|
|
83
|
-
isEntityParam(paramId: string): boolean;
|
|
1
|
+
import { ILogicContext } from '../common';
|
|
2
|
+
/**
|
|
3
|
+
* @description 界面逻辑执行上下文
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IUILogicContext
|
|
6
|
+
* @extends {ILogicContext}
|
|
7
|
+
*/
|
|
8
|
+
export interface IUILogicContext extends ILogicContext {
|
|
84
9
|
}
|
|
85
10
|
//# sourceMappingURL=i-ui-logic-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-ui-logic-context.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/i-ui-logic-context.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"i-ui-logic-context.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/i-ui-logic-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,aAAa;CAAG"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ILogicLinkCond } from '../common';
|
|
2
|
+
import { IUILogicContext } from './i-ui-logic-context';
|
|
3
|
+
/**
|
|
4
|
+
* @description 界面逻辑连接条件接口
|
|
5
|
+
* @export
|
|
6
|
+
* @interface IUILogicLinkCond
|
|
7
|
+
*/
|
|
8
|
+
export interface IUILogicLinkCond extends ILogicLinkCond {
|
|
9
|
+
/**
|
|
10
|
+
* @description 条件判断
|
|
11
|
+
* @param {IUILogicContext} ctx 界面逻辑执行上下文
|
|
12
|
+
* @param {IContext} context 上下文
|
|
13
|
+
* @param {IData} data 数据
|
|
14
|
+
* @returns {*} {boolean}
|
|
15
|
+
* @memberof IUILogicLinkCond
|
|
16
|
+
*/
|
|
17
|
+
test(ctx: IUILogicContext, context: IContext, data: IData): boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @description 界面逻辑连接条件项接口
|
|
21
|
+
* @export
|
|
22
|
+
* @interface IUILogicLinkSingleCond
|
|
23
|
+
*/
|
|
24
|
+
export interface IUILogicLinkSingleCond extends IUILogicLinkCond {
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @description 界面逻辑连接条件组接口
|
|
28
|
+
* @export
|
|
29
|
+
* @interface IUILogicLinkGroupCond
|
|
30
|
+
*/
|
|
31
|
+
export interface IUILogicLinkGroupCond extends IUILogicLinkCond {
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=i-ui-logic-link-cond.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ui-logic-link-cond.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/i-ui-logic-link-cond.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD;;;;;;;OAOG;IACH,IAAI,CAAC,GAAG,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;CACrE;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;CAAG;AAEnE;;;;GAIG;AACH,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IDEUILogicLink } from '@ibiz/model-core';
|
|
2
|
+
import { IUILogicLinkGroupCond } from './i-ui-logic-link-cond';
|
|
3
|
+
import { IUILogicNode } from './i-ui-logic-node';
|
|
4
|
+
import { IUILogicContext } from './i-ui-logic-context';
|
|
5
|
+
/**
|
|
6
|
+
* @description 界面逻辑连线接口
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IUILogicLink
|
|
9
|
+
*/
|
|
10
|
+
export interface IUILogicLink {
|
|
11
|
+
/**
|
|
12
|
+
* @description 源节点
|
|
13
|
+
* @type {(IUILogicNode | null)}
|
|
14
|
+
* @memberof IUILogicLink
|
|
15
|
+
*/
|
|
16
|
+
srcNode: IUILogicNode | null;
|
|
17
|
+
/**
|
|
18
|
+
* @description 目标节点
|
|
19
|
+
* @type {(IUILogicNode | null)}
|
|
20
|
+
* @memberof IUILogicLink
|
|
21
|
+
*/
|
|
22
|
+
dstNode: IUILogicNode | null;
|
|
23
|
+
/**
|
|
24
|
+
* @description 模型
|
|
25
|
+
* @type {IDEUILogicLink}
|
|
26
|
+
* @memberof IUILogicLink
|
|
27
|
+
*/
|
|
28
|
+
model: IDEUILogicLink;
|
|
29
|
+
/**
|
|
30
|
+
* @description 连接条件组
|
|
31
|
+
* @type {(IUILogicLinkGroupCond | null)}
|
|
32
|
+
* @memberof IUILogicLink
|
|
33
|
+
*/
|
|
34
|
+
groupCond: IUILogicLinkGroupCond | null;
|
|
35
|
+
/**
|
|
36
|
+
* @description 执行连接
|
|
37
|
+
* @param {IUILogicContext} ctx 界面逻辑执行上下文
|
|
38
|
+
* @returns {*} {Promise<boolean>}
|
|
39
|
+
* @memberof IUILogicLink
|
|
40
|
+
*/
|
|
41
|
+
exec(ctx: IUILogicContext): Promise<boolean>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=i-ui-logic-link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ui-logic-link.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/i-ui-logic-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAE7B;;;;OAIG;IACH,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAE7B;;;;OAIG;IACH,KAAK,EAAE,cAAc,CAAC;IAEtB;;;;OAIG;IACH,SAAS,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAExC;;;;;OAKG;IACH,IAAI,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IUILogicNodeProvider } from '../provider';
|
|
2
|
+
/**
|
|
3
|
+
* @description 逻辑节点接口
|
|
4
|
+
* @export
|
|
5
|
+
* @interface IUILogicNode
|
|
6
|
+
* @extends {IUILogicNodeProvider}
|
|
7
|
+
*/
|
|
8
|
+
export interface IUILogicNode extends IUILogicNodeProvider {
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=i-ui-logic-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ui-logic-node.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/i-ui-logic-node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,oBAAoB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { IApiUILogicParams } from '
|
|
2
|
-
import { IControlController, IViewController } from '
|
|
1
|
+
import { IApiUILogicParams } from '../api';
|
|
2
|
+
import { IControlController, IViewController } from '../controller';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2023-05-08 09:31:01
|
|
4
|
+
* @description 界面逻辑通用参数接口
|
|
7
5
|
* @export
|
|
8
6
|
* @interface IUILogicParams
|
|
9
7
|
* @extends {IApiUILogicParams}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ui-logic-params.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/i-ui-logic-params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD;;;;;OAKG;IACH,IAAI,EAAE,eAAe,CAAC;IAEtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IAppDataEntity, IDEUILogic } from '@ibiz/model-core';
|
|
2
|
+
import { IUILogicProvider } from '../provider';
|
|
3
|
+
/**
|
|
4
|
+
* @description 界面逻辑接口
|
|
5
|
+
* @export
|
|
6
|
+
* @interface IUILogic
|
|
7
|
+
* @extends {IUILogicProvider}
|
|
8
|
+
*/
|
|
9
|
+
export interface IUILogic extends IUILogicProvider {
|
|
10
|
+
/**
|
|
11
|
+
* @description 模型
|
|
12
|
+
* @type {IDEUILogic}
|
|
13
|
+
* @memberof IUILogic
|
|
14
|
+
*/
|
|
15
|
+
model: IDEUILogic;
|
|
16
|
+
/**
|
|
17
|
+
* @description 实体模型
|
|
18
|
+
* @type {IAppDataEntity}
|
|
19
|
+
* @memberof IUILogic
|
|
20
|
+
*/
|
|
21
|
+
entity: IAppDataEntity;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=i-ui-logic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ui-logic.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/i-ui-logic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;;GAKG;AACH,MAAM,WAAW,QAAS,SAAQ,gBAAgB;IAChD;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,cAAc,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
export type { IUILogicContext } from './i-ui-logic-context';
|
|
2
|
+
export type { IUILogicLink } from './i-ui-logic-link';
|
|
3
|
+
export type { IUILogic } from './i-ui-logic';
|
|
4
|
+
export type { IUILogicNode } from './i-ui-logic-node';
|
|
5
|
+
export type { IUILogicLinkCond, IUILogicLinkGroupCond, IUILogicLinkSingleCond, } from './i-ui-logic-link-cond';
|
|
6
|
+
export type { IUILogicParams } from './i-ui-logic-params';
|
|
2
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/ui-logic/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,YAAY,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,YAAY,EACV,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
|
package/out/locale/en/index.d.ts
CHANGED
|
@@ -453,6 +453,16 @@ export declare const en: {
|
|
|
453
453
|
editorCustomRegistration: string;
|
|
454
454
|
uiactionCustomRegistration: string;
|
|
455
455
|
deMethodCustomRegistration: string;
|
|
456
|
+
uiLogic: string;
|
|
457
|
+
frontEndTypeNode: string;
|
|
458
|
+
uiLogicCustomRegistration: string;
|
|
459
|
+
uiLogicNodeCustomRegistration: string;
|
|
460
|
+
menuItemCustomRegistration: string;
|
|
461
|
+
deLogicCustomRegistration: string;
|
|
462
|
+
deLogic: string;
|
|
463
|
+
deLogicNodeCustomRegistration: string;
|
|
464
|
+
portalCustomRegistration: string;
|
|
465
|
+
toolbarItemCustomRegistration: string;
|
|
456
466
|
};
|
|
457
467
|
};
|
|
458
468
|
service: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locale/en/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locale/en/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAg7Bd,CAAC"}
|
package/out/locale/en/index.js
CHANGED
|
@@ -454,6 +454,16 @@ export const en = {
|
|
|
454
454
|
editorCustomRegistration: '[Custom Extended Editor] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
455
455
|
uiactionCustomRegistration: '[Custom Extended UIAction] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
456
456
|
deMethodCustomRegistration: '[Custom Extended DEMethod] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
457
|
+
uiLogic: 'Cannot find an adapter for the corresponding interface logic',
|
|
458
|
+
frontEndTypeNode: 'Cannot find an adapter for node type {logicNodeType}',
|
|
459
|
+
uiLogicCustomRegistration: '[Custom Extended UILogic] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
460
|
+
uiLogicNodeCustomRegistration: '[Custom Extended UILogic Node] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
461
|
+
menuItemCustomRegistration: '[Custom Extended Menu Item] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
462
|
+
deLogicCustomRegistration: '[Custom Extended DELogic] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
463
|
+
deLogic: 'Cannot find an adapter for the corresponding entity logic',
|
|
464
|
+
deLogicNodeCustomRegistration: '[Custom Extended DELogic Node] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
465
|
+
portalCustomRegistration: '[Custom Extended Portlet] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
466
|
+
toolbarItemCustomRegistration: '[Custom Extended Toolbar Item] Cannot find an adapter with a custom registration ID of [{registerKey}].',
|
|
457
467
|
},
|
|
458
468
|
},
|
|
459
469
|
service: {
|
|
@@ -452,6 +452,16 @@ export declare const zhCn: {
|
|
|
452
452
|
editorCustomRegistration: string;
|
|
453
453
|
uiactionCustomRegistration: string;
|
|
454
454
|
deMethodCustomRegistration: string;
|
|
455
|
+
uiLogic: string;
|
|
456
|
+
frontEndTypeNode: string;
|
|
457
|
+
uiLogicCustomRegistration: string;
|
|
458
|
+
uiLogicNodeCustomRegistration: string;
|
|
459
|
+
menuItemCustomRegistration: string;
|
|
460
|
+
deLogicCustomRegistration: string;
|
|
461
|
+
deLogic: string;
|
|
462
|
+
deLogicNodeCustomRegistration: string;
|
|
463
|
+
portalCustomRegistration: string;
|
|
464
|
+
toolbarItemCustomRegistration: string;
|
|
455
465
|
};
|
|
456
466
|
};
|
|
457
467
|
service: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locale/zh-CN/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locale/zh-CN/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4wBhB,CAAC"}
|
|
@@ -453,6 +453,16 @@ export const zhCn = {
|
|
|
453
453
|
editorCustomRegistration: '[自定义扩展编辑器] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
454
454
|
uiactionCustomRegistration: '[自定义扩展界面行为] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
455
455
|
deMethodCustomRegistration: '[自定义扩展实体方法] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
456
|
+
uiLogic: '找不到界面逻辑对应的适配器',
|
|
457
|
+
frontEndTypeNode: '找不到节点类型{logicNodeType}对应的适配器',
|
|
458
|
+
uiLogicCustomRegistration: '[自定义扩展界面逻辑] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
459
|
+
uiLogicNodeCustomRegistration: '[自定义扩展界面逻辑节点] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
460
|
+
menuItemCustomRegistration: '[自定义扩展菜单项] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
461
|
+
deLogicCustomRegistration: '[自定义扩展实体逻辑] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
462
|
+
deLogic: '找不到实体逻辑对应的适配器',
|
|
463
|
+
deLogicNodeCustomRegistration: '[自定义扩展实体逻辑节点] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
464
|
+
portalCustomRegistration: '[自定义扩展门户部件] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
465
|
+
toolbarItemCustomRegistration: '[自定义扩展工具栏项] 找不到自定义注册标识为[{registerKey}]对应的适配器',
|
|
456
466
|
},
|
|
457
467
|
},
|
|
458
468
|
service: {
|
|
@@ -37,7 +37,7 @@ export declare class CustomRegister {
|
|
|
37
37
|
*/
|
|
38
38
|
static calcExtensionPanelItemKey(opts: IRegisterParams): string;
|
|
39
39
|
/**
|
|
40
|
-
* @description 计算扩展部件项key,(appId/DEFAULT@实体codeName/APP@部件类型@部件codeName@部件项codeName)全大写
|
|
40
|
+
* @description 计算扩展部件项key,(appId/DEFAULT@实体codeName/APP@部件类型@部件codeName@部件项codeName/@部件项id)全大写
|
|
41
41
|
* @static
|
|
42
42
|
* @param {IRegisterParams} opts
|
|
43
43
|
* @returns {*} {string}
|
|
@@ -53,7 +53,7 @@ export declare class CustomRegister {
|
|
|
53
53
|
*/
|
|
54
54
|
static calcExtensionEditorKey(opts: IRegisterParams): string;
|
|
55
55
|
/**
|
|
56
|
-
* @description 计算扩展界面行为key
|
|
56
|
+
* @description 计算扩展界面行为key,(appId/DEFAULT@实体codeName/APP@界面行为标记)全大写
|
|
57
57
|
* @author tony001
|
|
58
58
|
* @date 2026-08-11 17:08:45
|
|
59
59
|
* @static
|
|
@@ -63,12 +63,28 @@ export declare class CustomRegister {
|
|
|
63
63
|
*/
|
|
64
64
|
static calcExtensionUIActionKey(opts: IRegisterParams): string;
|
|
65
65
|
/**
|
|
66
|
-
* @description 计算扩展实体方法key
|
|
66
|
+
* @description 计算扩展实体方法key,(appId/DEFAULT@实体codeName/方法类型/方法codeName)全大写
|
|
67
67
|
* @static
|
|
68
68
|
* @param {IRegisterParams} opts
|
|
69
69
|
* @returns {*} {string}
|
|
70
70
|
* @memberof CustomRegister
|
|
71
71
|
*/
|
|
72
72
|
static calcExtensionMethodKey(opts: IRegisterParams): string;
|
|
73
|
+
/**
|
|
74
|
+
* @description 计算逻辑key,(appId/DEFAULT@实体codeName@逻辑codeName)全大写
|
|
75
|
+
* @static
|
|
76
|
+
* @param {IRegisterParams} opts
|
|
77
|
+
* @returns {*} {string}
|
|
78
|
+
* @memberof CustomRegister
|
|
79
|
+
*/
|
|
80
|
+
static calcExtensionLogicKey(opts: IRegisterParams): string;
|
|
81
|
+
/**
|
|
82
|
+
* @description 计算实体界面逻辑节点key,(appId/DEFAULT@实体codeName@逻辑codeName@逻辑节点codeName)全大写
|
|
83
|
+
* @static
|
|
84
|
+
* @param {IRegisterParams} opts
|
|
85
|
+
* @returns {*} {string}
|
|
86
|
+
* @memberof CustomRegister
|
|
87
|
+
*/
|
|
88
|
+
static calcExtensionLogicNodeKey(opts: IRegisterParams): string;
|
|
73
89
|
}
|
|
74
90
|
//# sourceMappingURL=custom-register.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-register.d.ts","sourceRoot":"","sources":["../../src/register/custom-register.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"custom-register.d.ts","sourceRoot":"","sources":["../../src/register/custom-register.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAoB/C;;GAEG;AACH,qBAAa,cAAc;IACzB;;;;;;;OAOG;IACH,MAAM,CAAC,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,GAAG,MAAM;IA+B1E;;;;;;OAMG;IACH,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAa1D;;;;;;OAMG;IACH,MAAM,CAAC,uBAAuB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAqB7D;;;;;;OAMG;IACH,MAAM,CAAC,yBAAyB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAiB/D;;;;;;OAMG;IACH,MAAM,CAAC,2BAA2B,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAyBjE;;;;;;OAMG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAmB5D;;;;;;;;OAQG;IACH,MAAM,CAAC,wBAAwB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAiB9D;;;;;;OAMG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAe5D;;;;;;OAMG;IACH,MAAM,CAAC,qBAAqB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAY3D;;;;;;OAMG;IACH,MAAM,CAAC,yBAAyB,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;CAchE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CONTROL_PROVIDER_PREFIX, DEMETHOD_PROVIDER_PREFIX,
|
|
1
|
+
import { VIEW_PROVIDER_PREFIX, EDITOR_PROVIDER_PREFIX, PORTLET_PROVIDER_PREFIX, DELOGIC_PROVIDER_PREFIX, UILOGIC_PROVIDER_PREFIX, CONTROL_PROVIDER_PREFIX, DEMETHOD_PROVIDER_PREFIX, UIACTION_PROVIDER_PREFIX, PANELITEM_PROVIDER_PREFIX, FORMDETAIL_PROVIDER_PREFIX, GRIDCOLUMN_PROVIDER_PREFIX, APPMENUITEM_PROVIDER_PREFIX, UILOGICNODE_PROVIDER_PREFIX, DELOGICNODE_PROVIDER_PREFIX, TOOLBAR_ITEM_PROVIDER_PREFIX, } from './helper';
|
|
2
2
|
import { calcDeCodeNameById } from '../model';
|
|
3
3
|
/**
|
|
4
4
|
* 自定义注册
|
|
@@ -17,11 +17,14 @@ export class CustomRegister {
|
|
|
17
17
|
case VIEW_PROVIDER_PREFIX:
|
|
18
18
|
return this.calcExtensionViewKey(opts);
|
|
19
19
|
case CONTROL_PROVIDER_PREFIX:
|
|
20
|
+
case PORTLET_PROVIDER_PREFIX:
|
|
20
21
|
return this.calcExtensionControlKey(opts);
|
|
21
22
|
case PANELITEM_PROVIDER_PREFIX:
|
|
22
23
|
return this.calcExtensionPanelItemKey(opts);
|
|
23
24
|
case FORMDETAIL_PROVIDER_PREFIX:
|
|
24
25
|
case GRIDCOLUMN_PROVIDER_PREFIX:
|
|
26
|
+
case APPMENUITEM_PROVIDER_PREFIX:
|
|
27
|
+
case TOOLBAR_ITEM_PROVIDER_PREFIX:
|
|
25
28
|
return this.calcExtensionControlItemKey(opts);
|
|
26
29
|
case EDITOR_PROVIDER_PREFIX:
|
|
27
30
|
return this.calcExtensionEditorKey(opts);
|
|
@@ -29,6 +32,12 @@ export class CustomRegister {
|
|
|
29
32
|
return this.calcExtensionUIActionKey(opts);
|
|
30
33
|
case DEMETHOD_PROVIDER_PREFIX:
|
|
31
34
|
return this.calcExtensionMethodKey(opts);
|
|
35
|
+
case UILOGIC_PROVIDER_PREFIX:
|
|
36
|
+
case DELOGIC_PROVIDER_PREFIX:
|
|
37
|
+
return this.calcExtensionLogicKey(opts);
|
|
38
|
+
case UILOGICNODE_PROVIDER_PREFIX:
|
|
39
|
+
case DELOGICNODE_PROVIDER_PREFIX:
|
|
40
|
+
return this.calcExtensionLogicNodeKey(opts);
|
|
32
41
|
default:
|
|
33
42
|
return '';
|
|
34
43
|
}
|
|
@@ -101,7 +110,7 @@ export class CustomRegister {
|
|
|
101
110
|
return key;
|
|
102
111
|
}
|
|
103
112
|
/**
|
|
104
|
-
* @description 计算扩展部件项key,(appId/DEFAULT@实体codeName/APP@部件类型@部件codeName@部件项codeName)全大写
|
|
113
|
+
* @description 计算扩展部件项key,(appId/DEFAULT@实体codeName/APP@部件类型@部件codeName@部件项codeName/@部件项id)全大写
|
|
105
114
|
* @static
|
|
106
115
|
* @param {IRegisterParams} opts
|
|
107
116
|
* @returns {*} {string}
|
|
@@ -125,8 +134,9 @@ export class CustomRegister {
|
|
|
125
134
|
if (codeName) {
|
|
126
135
|
key += `@${codeName.toUpperCase()}`;
|
|
127
136
|
}
|
|
128
|
-
|
|
129
|
-
|
|
137
|
+
const _codeName = mainModel.codeName || mainModel.id;
|
|
138
|
+
if (_codeName) {
|
|
139
|
+
key += `@${_codeName.toUpperCase()}`;
|
|
130
140
|
}
|
|
131
141
|
}
|
|
132
142
|
return key;
|
|
@@ -158,7 +168,7 @@ export class CustomRegister {
|
|
|
158
168
|
return key;
|
|
159
169
|
}
|
|
160
170
|
/**
|
|
161
|
-
* @description 计算扩展界面行为key
|
|
171
|
+
* @description 计算扩展界面行为key,(appId/DEFAULT@实体codeName/APP@界面行为标记)全大写
|
|
162
172
|
* @author tony001
|
|
163
173
|
* @date 2026-08-11 17:08:45
|
|
164
174
|
* @static
|
|
@@ -184,7 +194,7 @@ export class CustomRegister {
|
|
|
184
194
|
return key;
|
|
185
195
|
}
|
|
186
196
|
/**
|
|
187
|
-
* @description 计算扩展实体方法key
|
|
197
|
+
* @description 计算扩展实体方法key,(appId/DEFAULT@实体codeName/方法类型/方法codeName)全大写
|
|
188
198
|
* @static
|
|
189
199
|
* @param {IRegisterParams} opts
|
|
190
200
|
* @returns {*} {string}
|
|
@@ -204,4 +214,43 @@ export class CustomRegister {
|
|
|
204
214
|
}
|
|
205
215
|
return key;
|
|
206
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* @description 计算逻辑key,(appId/DEFAULT@实体codeName@逻辑codeName)全大写
|
|
219
|
+
* @static
|
|
220
|
+
* @param {IRegisterParams} opts
|
|
221
|
+
* @returns {*} {string}
|
|
222
|
+
* @memberof CustomRegister
|
|
223
|
+
*/
|
|
224
|
+
static calcExtensionLogicKey(opts) {
|
|
225
|
+
const { mainModel, entity } = opts;
|
|
226
|
+
let key = (mainModel.appId || 'DEFAULT').toUpperCase();
|
|
227
|
+
if (entity === null || entity === void 0 ? void 0 : entity.id) {
|
|
228
|
+
key += `@${calcDeCodeNameById(entity.id).toUpperCase()}`;
|
|
229
|
+
}
|
|
230
|
+
if (mainModel.codeName) {
|
|
231
|
+
key += `@${mainModel.codeName.toUpperCase()}`;
|
|
232
|
+
}
|
|
233
|
+
return key;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @description 计算实体界面逻辑节点key,(appId/DEFAULT@实体codeName@逻辑codeName@逻辑节点codeName)全大写
|
|
237
|
+
* @static
|
|
238
|
+
* @param {IRegisterParams} opts
|
|
239
|
+
* @returns {*} {string}
|
|
240
|
+
* @memberof CustomRegister
|
|
241
|
+
*/
|
|
242
|
+
static calcExtensionLogicNodeKey(opts) {
|
|
243
|
+
const { mainModel, entity, logic } = opts;
|
|
244
|
+
let key = (mainModel.appId || 'DEFAULT').toUpperCase();
|
|
245
|
+
if (entity === null || entity === void 0 ? void 0 : entity.id) {
|
|
246
|
+
key += `@${calcDeCodeNameById(entity.id).toUpperCase()}`;
|
|
247
|
+
}
|
|
248
|
+
if (logic === null || logic === void 0 ? void 0 : logic.codeName) {
|
|
249
|
+
key += `@${logic.codeName.toUpperCase()}`;
|
|
250
|
+
}
|
|
251
|
+
if (mainModel.codeName) {
|
|
252
|
+
key += `@${mainModel.codeName.toUpperCase()}`;
|
|
253
|
+
}
|
|
254
|
+
return key;
|
|
255
|
+
}
|
|
207
256
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAppMenuItem } from '@ibiz/model-core';
|
|
1
|
+
import { IAppMenu, IAppMenuItem } from '@ibiz/model-core';
|
|
2
2
|
import { IAppMenuItemProvider } from '../../interface';
|
|
3
3
|
/** 应用菜单项适配器前缀 */
|
|
4
4
|
export declare const APPMENUITEM_PROVIDER_PREFIX = "APPMENUITEM";
|
|
@@ -21,5 +21,5 @@ export declare function registerAppMenuItemProvider(key: string, callback: () =>
|
|
|
21
21
|
* @param {IAppMenuItem} model
|
|
22
22
|
* @return {*} {Promise<IAppMenuItemProvider>}
|
|
23
23
|
*/
|
|
24
|
-
export declare function getAppMenuItemProvider(model: IAppMenuItem): Promise<IAppMenuItemProvider | undefined>;
|
|
24
|
+
export declare function getAppMenuItemProvider(model: IAppMenuItem, control: IAppMenu): Promise<IAppMenuItemProvider | undefined>;
|
|
25
25
|
//# sourceMappingURL=app-menu-item-register.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-menu-item-register.d.ts","sourceRoot":"","sources":["../../../src/register/helper/app-menu-item-register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"app-menu-item-register.d.ts","sourceRoot":"","sources":["../../../src/register/helper/app-menu-item-register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAGvD,iBAAiB;AACjB,eAAO,MAAM,2BAA2B,gBAAgB,CAAC;AAEzD;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,oBAAoB,GACnC,IAAI,CAEN;AAQD;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,QAAQ,GAChB,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAmC3C"}
|