@ibiz-template/runtime 0.0.1-alpha.9 → 0.0.1-beta.16
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/system/index.system.js +1 -0
- package/out/command/app/app-func/app-func.js +3 -3
- package/out/command/app/open-app-view/open-app-view.d.ts +2 -13
- package/out/command/app/open-app-view/open-app-view.d.ts.map +1 -1
- package/out/command/app/open-app-view/open-app-view.js +6 -18
- package/out/config/global-config.d.ts +14 -0
- package/out/config/global-config.d.ts.map +1 -0
- package/out/config/global-config.js +14 -0
- package/out/index.d.ts +3 -1
- package/out/index.d.ts.map +1 -1
- package/out/index.js +3 -1
- package/out/install.d.ts.map +1 -1
- package/out/install.js +8 -2
- package/out/interface/i-drawer-options/i-drawer-options.d.ts +29 -0
- package/out/interface/i-drawer-options/i-drawer-options.d.ts.map +1 -0
- package/out/interface/{provider/i-editor-provider.js → i-drawer-options/i-drawer-options.js} +0 -0
- package/out/interface/i-global-config/i-global-config.d.ts +21 -0
- package/out/interface/i-global-config/i-global-config.d.ts.map +1 -0
- package/out/interface/{register/i-editor-register.js → i-global-config/i-global-config.js} +0 -0
- package/out/interface/i-modal-data/i-modal-data.d.ts +1 -1
- package/out/interface/i-modal-data/i-modal-data.d.ts.map +1 -1
- package/out/interface/i-modal-options/i-modal-options.d.ts +43 -0
- package/out/interface/i-modal-options/i-modal-options.d.ts.map +1 -0
- package/out/interface/i-modal-options/i-modal-options.js +1 -0
- package/out/interface/i-plugin-factory/i-plugin-factory.d.ts +39 -0
- package/out/interface/i-plugin-factory/i-plugin-factory.d.ts.map +1 -0
- package/out/interface/i-plugin-factory/i-plugin-factory.js +1 -0
- package/out/interface/i-popover-options/i-popover-options.d.ts +84 -0
- package/out/interface/i-popover-options/i-popover-options.d.ts.map +1 -0
- package/out/interface/i-popover-options/i-popover-options.js +1 -0
- package/out/interface/i-ui-action-handler/i-ui-action-handler.d.ts +27 -0
- package/out/interface/i-ui-action-handler/i-ui-action-handler.d.ts.map +1 -0
- package/out/interface/i-ui-action-handler/i-ui-action-handler.js +1 -0
- package/out/interface/index.d.ts +8 -3
- package/out/interface/index.d.ts.map +1 -1
- package/out/interface/index.js +2 -3
- package/out/interface/provider/i-ui-action-provider.d.ts +20 -0
- package/out/interface/provider/i-ui-action-provider.d.ts.map +1 -0
- package/out/interface/provider/i-ui-action-provider.js +1 -0
- package/out/interface/provider/index.d.ts +2 -0
- package/out/interface/provider/index.d.ts.map +1 -0
- package/out/interface/provider/index.js +1 -0
- package/out/interface/register/i-register.d.ts +8 -1
- package/out/interface/register/i-register.d.ts.map +1 -1
- package/out/interface/register/i-ui-action-register.d.ts +15 -0
- package/out/interface/register/i-ui-action-register.d.ts.map +1 -0
- package/out/interface/register/i-ui-action-register.js +1 -0
- package/out/interface/register/index.d.ts +3 -0
- package/out/interface/register/index.d.ts.map +1 -0
- package/out/interface/register/index.js +2 -0
- package/out/interface/util/i-loading-util/i-loading-util.d.ts +14 -0
- package/out/interface/util/i-loading-util/i-loading-util.d.ts.map +1 -1
- package/out/interface/util/i-open-view-util/i-open-view-util.d.ts +1 -1
- package/out/interface/util/i-open-view-util/i-open-view-util.d.ts.map +1 -1
- package/out/interface/util/i-overlay-container/i-overlay-container.d.ts +37 -0
- package/out/interface/util/i-overlay-container/i-overlay-container.d.ts.map +1 -0
- package/out/interface/util/i-overlay-container/i-overlay-container.js +1 -0
- package/out/interface/util/i-overlay-controller/i-overlay-controller.d.ts +86 -0
- package/out/interface/util/i-overlay-controller/i-overlay-controller.d.ts.map +1 -0
- package/out/interface/util/i-overlay-controller/i-overlay-controller.js +1 -0
- package/out/interface/util/i-overlay-popover-container/i-overlay-popover-container.d.ts +23 -0
- package/out/interface/util/i-overlay-popover-container/i-overlay-popover-container.d.ts.map +1 -0
- package/out/interface/util/i-overlay-popover-container/i-overlay-popover-container.js +1 -0
- package/out/interface/util/index.d.ts +3 -0
- package/out/interface/util/index.d.ts.map +1 -1
- package/out/plugin/index.d.ts +3 -0
- package/out/plugin/index.d.ts.map +1 -0
- package/out/plugin/index.js +2 -0
- package/out/plugin/plugin-static-resource/plugin-static-resource.d.ts +37 -0
- package/out/plugin/plugin-static-resource/plugin-static-resource.d.ts.map +1 -0
- package/out/plugin/plugin-static-resource/plugin-static-resource.js +31 -0
- package/out/plugin/remote-plugin-item/remote-plugin-item.d.ts +102 -0
- package/out/plugin/remote-plugin-item/remote-plugin-item.d.ts.map +1 -0
- package/out/plugin/remote-plugin-item/remote-plugin-item.js +22 -0
- package/out/provider/index.d.ts +2 -0
- package/out/provider/index.d.ts.map +1 -0
- package/out/provider/index.js +1 -0
- package/out/provider/ui-action/backend-ui-action-provider.d.ts +15 -0
- package/out/provider/ui-action/backend-ui-action-provider.d.ts.map +1 -0
- package/out/provider/ui-action/backend-ui-action-provider.js +18 -0
- package/out/provider/ui-action/common-sys-ui-action-provider.d.ts +15 -0
- package/out/provider/ui-action/common-sys-ui-action-provider.d.ts.map +1 -0
- package/out/provider/ui-action/common-sys-ui-action-provider.js +18 -0
- package/out/provider/ui-action/front-ui-action-provider.d.ts +15 -0
- package/out/provider/ui-action/front-ui-action-provider.d.ts.map +1 -0
- package/out/provider/ui-action/front-ui-action-provider.js +18 -0
- package/out/provider/ui-action/index.d.ts +14 -0
- package/out/provider/ui-action/index.d.ts.map +1 -0
- package/out/provider/ui-action/index.js +48 -0
- package/out/provider/ui-action/wf-withdraw-ui-action-provider.d.ts +15 -0
- package/out/provider/ui-action/wf-withdraw-ui-action-provider.d.ts.map +1 -0
- package/out/provider/ui-action/wf-withdraw-ui-action-provider.js +18 -0
- package/out/register/index.d.ts +4 -0
- package/out/register/index.d.ts.map +1 -0
- package/out/register/index.js +3 -0
- package/out/register/register-base.d.ts +18 -0
- package/out/register/register-base.d.ts.map +1 -0
- package/out/register/register-base.js +24 -0
- package/out/register/register-center.d.ts +20 -0
- package/out/register/register-center.d.ts.map +1 -0
- package/out/register/register-center.js +21 -0
- package/out/register/ui-action-register.d.ts +17 -0
- package/out/register/ui-action-register.d.ts.map +1 -0
- package/out/register/ui-action-register.js +41 -0
- package/out/types.d.ts +27 -3
- package/out/types.d.ts.map +1 -1
- package/out/utils/app-de-ui-action-util/app-de-ui-action-util.d.ts +3 -61
- package/out/utils/app-de-ui-action-util/app-de-ui-action-util.d.ts.map +1 -1
- package/out/utils/app-de-ui-action-util/app-de-ui-action-util.js +4 -241
- package/out/utils/app-de-ui-action-util/handler/backend-ui-action-handler.d.ts +17 -0
- package/out/utils/app-de-ui-action-util/handler/backend-ui-action-handler.d.ts.map +1 -0
- package/out/utils/app-de-ui-action-util/handler/backend-ui-action-handler.js +28 -0
- package/out/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.d.ts +17 -0
- package/out/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.d.ts.map +1 -0
- package/out/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.js +103 -0
- package/out/utils/app-de-ui-action-util/handler/front-ui-action-handler.d.ts +17 -0
- package/out/utils/app-de-ui-action-util/handler/front-ui-action-handler.d.ts.map +1 -0
- package/out/utils/app-de-ui-action-util/handler/front-ui-action-handler.js +24 -0
- package/out/utils/app-de-ui-action-util/handler/index.d.ts +6 -0
- package/out/utils/app-de-ui-action-util/handler/index.d.ts.map +1 -0
- package/out/utils/app-de-ui-action-util/handler/index.js +5 -0
- package/out/utils/app-de-ui-action-util/handler/ui-action-handler.d.ts +82 -0
- package/out/utils/app-de-ui-action-util/handler/ui-action-handler.d.ts.map +1 -0
- package/out/utils/app-de-ui-action-util/handler/ui-action-handler.js +144 -0
- package/out/utils/app-de-ui-action-util/handler/wf-withdraw-handler.d.ts +17 -0
- package/out/utils/app-de-ui-action-util/handler/wf-withdraw-handler.d.ts.map +1 -0
- package/out/utils/app-de-ui-action-util/handler/wf-withdraw-handler.js +27 -0
- package/out/utils/app-de-ui-action-util/index.d.ts +3 -0
- package/out/utils/app-de-ui-action-util/index.d.ts.map +1 -0
- package/out/utils/app-de-ui-action-util/index.js +2 -0
- package/out/utils/index.d.ts +2 -1
- package/out/utils/index.d.ts.map +1 -1
- package/out/utils/index.js +2 -1
- package/out/utils/nav-params/nav-params.js +4 -4
- package/out/utils/open-redirect-view/open-redirect-view.d.ts +43 -0
- package/out/utils/open-redirect-view/open-redirect-view.d.ts.map +1 -0
- package/out/utils/open-redirect-view/open-redirect-view.js +139 -0
- package/out/view-logic/view-logic.d.ts +7 -6
- package/out/view-logic/view-logic.d.ts.map +1 -1
- package/out/view-logic/view-logic.js +19 -13
- package/package.json +25 -16
- package/src/command/app/app-func/app-func.ts +3 -3
- package/src/command/app/open-app-view/open-app-view.ts +12 -28
- package/src/config/global-config.ts +14 -0
- package/src/index.ts +3 -1
- package/src/install.ts +8 -2
- package/src/interface/i-drawer-options/i-drawer-options.ts +28 -0
- package/src/interface/i-global-config/i-global-config.ts +20 -0
- package/src/interface/i-modal-data/i-modal-data.ts +1 -1
- package/src/interface/i-modal-options/i-modal-options.ts +44 -0
- package/src/interface/i-plugin-factory/i-plugin-factory.ts +39 -0
- package/src/interface/i-popover-options/i-popover-options.ts +85 -0
- package/src/interface/i-ui-action-handler/i-ui-action-handler.ts +33 -0
- package/src/interface/index.ts +12 -3
- package/src/interface/provider/i-ui-action-provider.ts +20 -0
- package/src/interface/provider/index.ts +1 -0
- package/src/interface/register/i-register.ts +8 -1
- package/src/interface/register/i-ui-action-register.ts +15 -0
- package/src/interface/register/index.ts +2 -0
- package/src/interface/util/i-loading-util/i-loading-util.ts +14 -0
- package/src/interface/util/i-open-view-util/i-open-view-util.ts +1 -0
- package/src/interface/util/i-overlay-container/i-overlay-container.ts +38 -0
- package/src/interface/util/i-overlay-controller/i-overlay-controller.ts +116 -0
- package/src/interface/util/i-overlay-popover-container/i-overlay-popover-container.ts +23 -0
- package/src/interface/util/index.ts +3 -0
- package/src/plugin/index.ts +5 -0
- package/src/plugin/plugin-static-resource/plugin-static-resource.ts +42 -0
- package/src/plugin/remote-plugin-item/remote-plugin-item.ts +107 -0
- package/src/provider/index.ts +1 -0
- package/src/provider/ui-action/backend-ui-action-provider.ts +22 -0
- package/src/provider/ui-action/common-sys-ui-action-provider.ts +22 -0
- package/src/provider/ui-action/front-ui-action-provider.ts +22 -0
- package/src/provider/ui-action/index.ts +56 -0
- package/src/provider/ui-action/wf-withdraw-ui-action-provider.ts +22 -0
- package/src/register/index.ts +3 -0
- package/src/register/register-base.ts +27 -0
- package/src/register/register-center.ts +20 -0
- package/src/register/ui-action-register.ts +48 -0
- package/src/types.ts +30 -3
- package/src/utils/app-de-ui-action-util/app-de-ui-action-util.ts +6 -330
- package/src/utils/app-de-ui-action-util/handler/backend-ui-action-handler.ts +43 -0
- package/src/utils/app-de-ui-action-util/handler/common-sys-ui-action-handler.ts +125 -0
- package/src/utils/app-de-ui-action-util/handler/front-ui-action-handler.ts +46 -0
- package/src/utils/app-de-ui-action-util/handler/index.ts +5 -0
- package/src/utils/app-de-ui-action-util/handler/ui-action-handler.ts +216 -0
- package/src/utils/app-de-ui-action-util/handler/wf-withdraw-handler.ts +37 -0
- package/src/utils/app-de-ui-action-util/index.ts +2 -0
- package/src/utils/index.ts +2 -1
- package/src/utils/nav-params/nav-params.ts +4 -4
- package/src/utils/open-redirect-view/open-redirect-view.ts +180 -0
- package/src/view-logic/view-logic.ts +30 -17
- package/LICENSE +0 -21
- package/out/interface/provider/i-editor-provider.d.ts +0 -38
- package/out/interface/provider/i-editor-provider.d.ts.map +0 -1
- package/out/interface/register/i-editor-register.d.ts +0 -23
- package/out/interface/register/i-editor-register.d.ts.map +0 -1
- package/out/register/register.d.ts +0 -20
- package/out/register/register.d.ts.map +0 -1
- package/out/register/register.js +0 -10
- package/src/interface/provider/i-editor-provider.ts +0 -44
- package/src/interface/register/i-editor-register.ts +0 -23
- package/src/register/register.ts +0 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/provider/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './i-ui-action-provider';
|
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
* @interface IRegister
|
|
8
8
|
*/
|
|
9
9
|
export interface IRegister<T> {
|
|
10
|
+
/**
|
|
11
|
+
* 适配器集合
|
|
12
|
+
*
|
|
13
|
+
* @author lxm
|
|
14
|
+
* @date 2022-10-17 16:10:54
|
|
15
|
+
* @type {Map<string, T>}
|
|
16
|
+
*/
|
|
10
17
|
providers: Map<string, T>;
|
|
11
18
|
/**
|
|
12
19
|
* 注册适配器
|
|
@@ -33,6 +40,6 @@ export interface IRegister<T> {
|
|
|
33
40
|
* @param {string} key
|
|
34
41
|
* @returns {*} {T}
|
|
35
42
|
*/
|
|
36
|
-
|
|
43
|
+
getByKey(key: string): T | undefined;
|
|
37
44
|
}
|
|
38
45
|
//# sourceMappingURL=i-register.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-register.d.ts","sourceRoot":"","sources":["../../../src/interface/register/i-register.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAE1B;;;;;;;OAOG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,CAAC;IAEzC;;;;;;OAMG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;;;;;;OAOG;IACH,
|
|
1
|
+
{"version":3,"file":"i-register.d.ts","sourceRoot":"","sources":["../../../src/interface/register/i-register.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS,CAAC,CAAC;IAC1B;;;;;;OAMG;IACH,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAE1B;;;;;;;OAOG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,CAAC;IAEzC;;;;;;OAMG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;;;;;;OAOG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;CACtC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IPSAppUIAction } from '@ibiz-template/model';
|
|
2
|
+
import { IUIActionProvider } from '../provider';
|
|
3
|
+
import { IRegister } from './i-register';
|
|
4
|
+
export interface IUIActionRegister extends IRegister<IUIActionProvider> {
|
|
5
|
+
/**
|
|
6
|
+
* 获取适配器
|
|
7
|
+
*
|
|
8
|
+
* @author lxm
|
|
9
|
+
* @date 2022-09-20 00:09:57
|
|
10
|
+
* @param {IPSAppUIAction} model 界面行为模型
|
|
11
|
+
* @returns {*} {(IEditorProvider)}
|
|
12
|
+
*/
|
|
13
|
+
get(model: IPSAppUIAction): Promise<IUIActionProvider>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=i-ui-action-register.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-ui-action-register.d.ts","sourceRoot":"","sources":["../../../src/interface/register/i-ui-action-register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,WAAW,iBAAkB,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IACrE;;;;;;;OAOG;IACH,GAAG,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/register/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC"}
|
|
@@ -22,5 +22,19 @@ export interface ILoadingUtil {
|
|
|
22
22
|
* @date 2022-08-17 17:08:48
|
|
23
23
|
*/
|
|
24
24
|
hide(): void;
|
|
25
|
+
/**
|
|
26
|
+
* 显示顶部全局加载动画
|
|
27
|
+
*
|
|
28
|
+
* @author chitanda
|
|
29
|
+
* @date 2022-10-08 16:10:18
|
|
30
|
+
*/
|
|
31
|
+
showRedirect(): void;
|
|
32
|
+
/**
|
|
33
|
+
* 隐藏顶部全局加载动画
|
|
34
|
+
*
|
|
35
|
+
* @author chitanda
|
|
36
|
+
* @date 2022-10-08 16:10:29
|
|
37
|
+
*/
|
|
38
|
+
hideRedirect(): void;
|
|
25
39
|
}
|
|
26
40
|
//# sourceMappingURL=i-loading-util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-loading-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-loading-util/i-loading-util.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;;OAKG;IACH,IAAI,IAAI,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"i-loading-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-loading-util/i-loading-util.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;;OAKG;IACH,IAAI,IAAI,IAAI,CAAC;IACb;;;;;OAKG;IACH,YAAY,IAAI,IAAI,CAAC;IACrB;;;;;OAKG;IACH,YAAY,IAAI,IAAI,CAAC;CACtB"}
|
|
@@ -42,7 +42,7 @@ export interface IOpenViewUtil {
|
|
|
42
42
|
* @param {IParams} [params]
|
|
43
43
|
* @return {*} {Promise<IModalData>}
|
|
44
44
|
*/
|
|
45
|
-
popover(appView: IPSAppView, context?: IBizContext, params?: IParams): Promise<IModalData>;
|
|
45
|
+
popover(appView: IPSAppView, event: MouseEvent, context?: IBizContext, params?: IParams): Promise<IModalData>;
|
|
46
46
|
/**
|
|
47
47
|
* 抽屉模式打开
|
|
48
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-open-view-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-open-view-util/i-open-view-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEzE;;;;;;;;;OASG;IACH,KAAK,CACH,OAAO,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvB;;;;;;;;;OASG;IACH,OAAO,CACL,OAAO,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvB;;;;;;;;;OASG;IACH,MAAM,CACJ,OAAO,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvB;;;;;;;;;OASG;IACH,MAAM,CACJ,OAAO,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;CACxB"}
|
|
1
|
+
{"version":3,"file":"i-open-view-util.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-open-view-util/i-open-view-util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEzE;;;;;;;;;OASG;IACH,KAAK,CACH,OAAO,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvB;;;;;;;;;OASG;IACH,OAAO,CACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,UAAU,EACjB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvB;;;;;;;;;OASG;IACH,MAAM,CACJ,OAAO,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvB;;;;;;;;;OASG;IACH,MAAM,CACJ,OAAO,EAAE,UAAU,EACnB,OAAO,CAAC,EAAE,WAAW,EACrB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAAC;CACxB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 全局呈现容器
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2022-11-09 14:11:59
|
|
6
|
+
* @export
|
|
7
|
+
* @interface IOverlayContainer
|
|
8
|
+
*/
|
|
9
|
+
export interface IOverlayContainer {
|
|
10
|
+
/**
|
|
11
|
+
* 展示容器
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2022-11-09 14:11:10
|
|
15
|
+
* @return {*} {Promise<void>}
|
|
16
|
+
*/
|
|
17
|
+
present(): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* 关闭容器
|
|
20
|
+
*
|
|
21
|
+
* @author chitanda
|
|
22
|
+
* @date 2022-11-09 14:11:17
|
|
23
|
+
* @param {unknown} [data]
|
|
24
|
+
* @return {*} {Promise<void>}
|
|
25
|
+
*/
|
|
26
|
+
dismiss(data?: unknown): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* 等待容器关闭并返回返回值
|
|
29
|
+
*
|
|
30
|
+
* @author chitanda
|
|
31
|
+
* @date 2022-11-09 14:11:21
|
|
32
|
+
* @template T
|
|
33
|
+
* @return {*} {Promise<T>}
|
|
34
|
+
*/
|
|
35
|
+
onWillDismiss<T = unknown>(): Promise<T>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=i-overlay-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-overlay-container.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-overlay-container/i-overlay-container.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;;;;OAOG;IACH,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;;;;OAOG;IACH,aAAa,CAAC,CAAC,GAAG,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { IDrawerOptions } from '../../i-drawer-options/i-drawer-options';
|
|
2
|
+
import { IPopoverOptions } from '../../i-popover-options/i-popover-options';
|
|
3
|
+
import { IModalOptions } from '../../i-modal-options/i-modal-options';
|
|
4
|
+
import { IOverlayContainer } from '../i-overlay-container/i-overlay-container';
|
|
5
|
+
import { IOverlayPopoverContainer } from '../i-overlay-popover-container/i-overlay-popover-container';
|
|
6
|
+
/**
|
|
7
|
+
* 全局呈现容器控制器
|
|
8
|
+
*
|
|
9
|
+
* @author chitanda
|
|
10
|
+
* @date 2022-11-08 14:11:27
|
|
11
|
+
* @export
|
|
12
|
+
* @interface IOverlayController
|
|
13
|
+
*/
|
|
14
|
+
export interface IOverlayController {
|
|
15
|
+
/**
|
|
16
|
+
* 飘窗
|
|
17
|
+
*
|
|
18
|
+
* @author chitanda
|
|
19
|
+
* @date 2022-11-09 12:11:22
|
|
20
|
+
* @template T
|
|
21
|
+
* @param {HTMLElement} element
|
|
22
|
+
* @param {unknown} component 组件名称,组件对象,或者绘制函数
|
|
23
|
+
* @param {IParams} [props] 组件props
|
|
24
|
+
* @param {IPopoverOptions} [opts]
|
|
25
|
+
* @return {*} {Promise<T>}
|
|
26
|
+
*/
|
|
27
|
+
popover<T = void>(element: HTMLElement, component: unknown, props?: IParams, opts?: IPopoverOptions): Promise<T>;
|
|
28
|
+
/**
|
|
29
|
+
* 创建飘窗全局容器
|
|
30
|
+
*
|
|
31
|
+
* @author chitanda
|
|
32
|
+
* @date 2022-11-09 15:11:13
|
|
33
|
+
* @param {unknown} component 组件名称,组件对象,或者绘制函数
|
|
34
|
+
* @param {IParams} [props] 组件props
|
|
35
|
+
* @param {IPopoverOptions} [opts]
|
|
36
|
+
* @return {*} {IOverlayPopoverContainer}
|
|
37
|
+
*/
|
|
38
|
+
createPopover(component: unknown, props?: IParams, opts?: IPopoverOptions): IOverlayPopoverContainer;
|
|
39
|
+
/**
|
|
40
|
+
* 抽屉
|
|
41
|
+
*
|
|
42
|
+
* @author chitanda
|
|
43
|
+
* @date 2022-11-08 15:11:45
|
|
44
|
+
* @template T
|
|
45
|
+
* @param {unknown} component 组件名称,组件对象,或者绘制函数
|
|
46
|
+
* @param {IParams} [props] 组件props
|
|
47
|
+
* @param {IDrawerOptions} [opts]
|
|
48
|
+
* @return {*} {Promise<T>}
|
|
49
|
+
*/
|
|
50
|
+
drawer<T = void>(component: unknown, props?: IParams, opts?: IDrawerOptions): Promise<T>;
|
|
51
|
+
/**
|
|
52
|
+
* 创建全局抽屉容器
|
|
53
|
+
*
|
|
54
|
+
* @author chitanda
|
|
55
|
+
* @date 2022-11-09 15:11:49
|
|
56
|
+
* @param {unknown} component 组件名称,组件对象,或者绘制函数
|
|
57
|
+
* @param {IParams} [props] 组件props
|
|
58
|
+
* @param {IDrawerOptions} [opts]
|
|
59
|
+
* @return {*} {IOverlayContainer}
|
|
60
|
+
*/
|
|
61
|
+
createDrawer(component: unknown, props?: IParams, opts?: IDrawerOptions): IOverlayContainer;
|
|
62
|
+
/**
|
|
63
|
+
* 模态
|
|
64
|
+
*
|
|
65
|
+
* @author chitanda
|
|
66
|
+
* @date 2022-11-08 15:11:40
|
|
67
|
+
* @template T
|
|
68
|
+
* @param {unknown} component 组件名称,组件对象,或者绘制函数
|
|
69
|
+
* @param {IParams} [props] 组件props
|
|
70
|
+
* @param {IModalOptions} [opts]
|
|
71
|
+
* @return {*} {Promise<T>}
|
|
72
|
+
*/
|
|
73
|
+
modal<T = void>(component: unknown, props?: IParams, opts?: IModalOptions): Promise<T>;
|
|
74
|
+
/**
|
|
75
|
+
* 创建全局模态容器
|
|
76
|
+
*
|
|
77
|
+
* @author chitanda
|
|
78
|
+
* @date 2022-11-09 15:11:58
|
|
79
|
+
* @param {unknown} component 组件名称,组件对象,或者绘制函数
|
|
80
|
+
* @param {IParams} [props] 组件props
|
|
81
|
+
* @param {IModalOptions} [opts]
|
|
82
|
+
* @return {*} {IOverlayContainer}
|
|
83
|
+
*/
|
|
84
|
+
createModal(component: unknown, props?: IParams, opts?: IModalOptions): IOverlayContainer;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=i-overlay-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-overlay-controller.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-overlay-controller/i-overlay-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AAEtG;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,CAAC,GAAG,IAAI,EACd,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,OAAO,EAClB,KAAK,CAAC,EAAE,OAAO,EACf,IAAI,CAAC,EAAE,eAAe,GACrB,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd;;;;;;;;;OASG;IACH,aAAa,CACX,SAAS,EAAE,OAAO,EAClB,KAAK,CAAC,EAAE,OAAO,EACf,IAAI,CAAC,EAAE,eAAe,GACrB,wBAAwB,CAAC;IAE5B;;;;;;;;;;OAUG;IACH,MAAM,CAAC,CAAC,GAAG,IAAI,EACb,SAAS,EAAE,OAAO,EAClB,KAAK,CAAC,EAAE,OAAO,EACf,IAAI,CAAC,EAAE,cAAc,GACpB,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd;;;;;;;;;OASG;IACH,YAAY,CACV,SAAS,EAAE,OAAO,EAClB,KAAK,CAAC,EAAE,OAAO,EACf,IAAI,CAAC,EAAE,cAAc,GACpB,iBAAiB,CAAC;IAErB;;;;;;;;;;OAUG;IACH,KAAK,CAAC,CAAC,GAAG,IAAI,EACZ,SAAS,EAAE,OAAO,EAClB,KAAK,CAAC,EAAE,OAAO,EACf,IAAI,CAAC,EAAE,aAAa,GACnB,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd;;;;;;;;;OASG;IACH,WAAW,CACT,SAAS,EAAE,OAAO,EAClB,KAAK,CAAC,EAAE,OAAO,EACf,IAAI,CAAC,EAAE,aAAa,GACnB,iBAAiB,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IOverlayContainer } from '../i-overlay-container/i-overlay-container';
|
|
2
|
+
/**
|
|
3
|
+
* 飘窗容器
|
|
4
|
+
*
|
|
5
|
+
* @author chitanda
|
|
6
|
+
* @date 2022-11-09 14:11:39
|
|
7
|
+
* @export
|
|
8
|
+
* @interface IOverlayPopoverContainer
|
|
9
|
+
* @extends {IOverlayContainer}
|
|
10
|
+
*/
|
|
11
|
+
export interface IOverlayPopoverContainer extends IOverlayContainer {
|
|
12
|
+
/**
|
|
13
|
+
* 展示飘窗容器
|
|
14
|
+
*
|
|
15
|
+
* @author chitanda
|
|
16
|
+
* @date 2022-11-09 14:11:47
|
|
17
|
+
* @param {HTMLElement} target
|
|
18
|
+
* @return {*} {Promise<void>}
|
|
19
|
+
*/
|
|
20
|
+
present(target: HTMLElement): Promise<void>;
|
|
21
|
+
present(): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=i-overlay-popover-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-overlay-popover-container.d.ts","sourceRoot":"","sources":["../../../../src/interface/util/i-overlay-popover-container/i-overlay-popover-container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAE/E;;;;;;;;GAQG;AACH,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,4 +3,7 @@ export { IMessageUtil } from './i-message-util/i-message-util';
|
|
|
3
3
|
export { IModalUtil, ModalParams } from './i-modal-util/i-modal-util';
|
|
4
4
|
export { INotificationUtil, NotificationParams, } from './i-notification-util/i-notification-util';
|
|
5
5
|
export { IOpenViewUtil } from './i-open-view-util/i-open-view-util';
|
|
6
|
+
export { IOverlayContainer } from './i-overlay-container/i-overlay-container';
|
|
7
|
+
export { IOverlayController } from './i-overlay-controller/i-overlay-controller';
|
|
8
|
+
export { IOverlayPopoverContainer } from './i-overlay-popover-container/i-overlay-popover-container';
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/util/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EACL,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interface/util/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EACL,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2DAA2D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 插件静态资源工具类
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2022-11-03 10:11:08
|
|
6
|
+
* @export
|
|
7
|
+
* @class PluginStaticResource
|
|
8
|
+
*/
|
|
9
|
+
export declare class PluginStaticResource {
|
|
10
|
+
/**
|
|
11
|
+
* 计算出的静态资源跟路径
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2022-11-03 10:11:08
|
|
15
|
+
* @protected
|
|
16
|
+
* @type {string}
|
|
17
|
+
*/
|
|
18
|
+
protected baseDir: string;
|
|
19
|
+
/**
|
|
20
|
+
* 插件静态资源工具类.
|
|
21
|
+
*
|
|
22
|
+
* @author chitanda
|
|
23
|
+
* @date 2022-11-03 10:11:41
|
|
24
|
+
* @param {string} mateUrl import.mate.url
|
|
25
|
+
*/
|
|
26
|
+
constructor(mateUrl: string);
|
|
27
|
+
/**
|
|
28
|
+
* 合并输出静态资源目录
|
|
29
|
+
*
|
|
30
|
+
* @author chitanda
|
|
31
|
+
* @date 2022-11-03 10:11:39
|
|
32
|
+
* @param {string} path
|
|
33
|
+
* @return {*} {string}
|
|
34
|
+
*/
|
|
35
|
+
dir(path: string): string;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=plugin-static-resource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-static-resource.d.ts","sourceRoot":"","sources":["../../../src/plugin/plugin-static-resource/plugin-static-resource.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,qBAAa,oBAAoB;IAC/B;;;;;;;OAOG;IACH,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC;IAE1B;;;;;;OAMG;gBACS,OAAO,EAAE,MAAM;IAI3B;;;;;;;OAOG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;CAG1B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 插件静态资源工具类
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2022-11-03 10:11:08
|
|
6
|
+
* @export
|
|
7
|
+
* @class PluginStaticResource
|
|
8
|
+
*/
|
|
9
|
+
export class PluginStaticResource {
|
|
10
|
+
/**
|
|
11
|
+
* 插件静态资源工具类.
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2022-11-03 10:11:41
|
|
15
|
+
* @param {string} mateUrl import.mate.url
|
|
16
|
+
*/
|
|
17
|
+
constructor(mateUrl) {
|
|
18
|
+
this.baseDir = mateUrl.substring(0, mateUrl.lastIndexOf('/'));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 合并输出静态资源目录
|
|
22
|
+
*
|
|
23
|
+
* @author chitanda
|
|
24
|
+
* @date 2022-11-03 10:11:39
|
|
25
|
+
* @param {string} path
|
|
26
|
+
* @return {*} {string}
|
|
27
|
+
*/
|
|
28
|
+
dir(path) {
|
|
29
|
+
return this.baseDir + path;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 远程插件配置
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2022-10-31 16:10:34
|
|
6
|
+
* @export
|
|
7
|
+
* @interface RemotePluginConfig
|
|
8
|
+
*/
|
|
9
|
+
export interface RemotePluginConfig {
|
|
10
|
+
/**
|
|
11
|
+
* 所有配置文件基础路径
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2022-11-02 14:11:06
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
17
|
+
baseUrl: string;
|
|
18
|
+
/**
|
|
19
|
+
* 包名称
|
|
20
|
+
*
|
|
21
|
+
* @author chitanda
|
|
22
|
+
* @date 2022-10-31 16:10:42
|
|
23
|
+
* @type {string}
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* 版本
|
|
28
|
+
*
|
|
29
|
+
* @author chitanda
|
|
30
|
+
* @date 2022-11-02 15:11:03
|
|
31
|
+
* @type {string}
|
|
32
|
+
*/
|
|
33
|
+
version: string;
|
|
34
|
+
/**
|
|
35
|
+
* system js 入口脚本
|
|
36
|
+
*
|
|
37
|
+
* @author chitanda
|
|
38
|
+
* @date 2022-11-02 15:11:28
|
|
39
|
+
* @type {string}
|
|
40
|
+
*/
|
|
41
|
+
system: string;
|
|
42
|
+
/**
|
|
43
|
+
* 模块文件 入口脚本
|
|
44
|
+
*
|
|
45
|
+
* @author chitanda
|
|
46
|
+
* @date 2022-11-02 16:11:50
|
|
47
|
+
* @type {string}
|
|
48
|
+
*/
|
|
49
|
+
module: string;
|
|
50
|
+
/**
|
|
51
|
+
* 样式地址
|
|
52
|
+
*
|
|
53
|
+
* @author chitanda
|
|
54
|
+
* @date 2022-10-31 16:10:46
|
|
55
|
+
* @type {(string | string[])}
|
|
56
|
+
*/
|
|
57
|
+
styles: string | string[];
|
|
58
|
+
/**
|
|
59
|
+
* 是否为应用级
|
|
60
|
+
*
|
|
61
|
+
* @author chitanda
|
|
62
|
+
* @date 2022-10-31 16:10:51
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
*/
|
|
65
|
+
app?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* 远程插件项
|
|
69
|
+
*
|
|
70
|
+
* @author chitanda
|
|
71
|
+
* @date 2022-10-31 12:10:41
|
|
72
|
+
* @export
|
|
73
|
+
* @class RemotePluginItem
|
|
74
|
+
*/
|
|
75
|
+
export declare class RemotePluginItem {
|
|
76
|
+
/**
|
|
77
|
+
* 唯一标识
|
|
78
|
+
*
|
|
79
|
+
* @author chitanda
|
|
80
|
+
* @date 2022-10-31 12:10:48
|
|
81
|
+
* @type {string}
|
|
82
|
+
*/
|
|
83
|
+
readonly tag: string;
|
|
84
|
+
/**
|
|
85
|
+
* 配置参数
|
|
86
|
+
*
|
|
87
|
+
* @author chitanda
|
|
88
|
+
* @date 2022-11-02 15:11:38
|
|
89
|
+
* @type {RemotePluginConfig}
|
|
90
|
+
*/
|
|
91
|
+
readonly config: RemotePluginConfig;
|
|
92
|
+
/**
|
|
93
|
+
* Creates an instance of RemotePluginItem.
|
|
94
|
+
*
|
|
95
|
+
* @author chitanda
|
|
96
|
+
* @date 2022-10-31 12:10:28
|
|
97
|
+
* @param {string} tag 插件唯一标识
|
|
98
|
+
* @param {RemotePluginConfig} config
|
|
99
|
+
*/
|
|
100
|
+
constructor(tag: string, config: RemotePluginConfig);
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=remote-plugin-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-plugin-item.d.ts","sourceRoot":"","sources":["../../../src/plugin/remote-plugin-item/remote-plugin-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED;;;;;;;GAOG;AACH,qBAAa,gBAAgB;IAC3B;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;IAEpC;;;;;;;OAOG;gBACS,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB;CAIpD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 远程插件项
|
|
3
|
+
*
|
|
4
|
+
* @author chitanda
|
|
5
|
+
* @date 2022-10-31 12:10:41
|
|
6
|
+
* @export
|
|
7
|
+
* @class RemotePluginItem
|
|
8
|
+
*/
|
|
9
|
+
export class RemotePluginItem {
|
|
10
|
+
/**
|
|
11
|
+
* Creates an instance of RemotePluginItem.
|
|
12
|
+
*
|
|
13
|
+
* @author chitanda
|
|
14
|
+
* @date 2022-10-31 12:10:28
|
|
15
|
+
* @param {string} tag 插件唯一标识
|
|
16
|
+
* @param {RemotePluginConfig} config
|
|
17
|
+
*/
|
|
18
|
+
constructor(tag, config) {
|
|
19
|
+
this.tag = tag;
|
|
20
|
+
this.config = config;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/provider/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui-action';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IUIActionHandler, IUIActionProvider } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 后台调用界面行为适配器
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2022-10-25 15:10:51
|
|
7
|
+
* @export
|
|
8
|
+
* @class BackendUIActionProvider
|
|
9
|
+
* @implements {IUIActionProvider}
|
|
10
|
+
*/
|
|
11
|
+
export declare class BackendUIActionProvider implements IUIActionProvider {
|
|
12
|
+
private handler?;
|
|
13
|
+
getHandler(): Promise<IUIActionHandler>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=backend-ui-action-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backend-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../src/provider/ui-action/backend-ui-action-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGtE;;;;;;;;GAQG;AACH,qBAAa,uBAAwB,YAAW,iBAAiB;IAC/D,OAAO,CAAC,OAAO,CAAC,CAAmB;IAE7B,UAAU,IAAI,OAAO,CAAC,gBAAgB,CAAC;CAM9C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BackendUIActionHandler } from '../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* 后台调用界面行为适配器
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2022-10-25 15:10:51
|
|
7
|
+
* @export
|
|
8
|
+
* @class BackendUIActionProvider
|
|
9
|
+
* @implements {IUIActionProvider}
|
|
10
|
+
*/
|
|
11
|
+
export class BackendUIActionProvider {
|
|
12
|
+
async getHandler() {
|
|
13
|
+
if (!this.handler) {
|
|
14
|
+
this.handler = new BackendUIActionHandler();
|
|
15
|
+
}
|
|
16
|
+
return this.handler;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IUIActionHandler, IUIActionProvider } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 常用系统预置界面行为适配器
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2022-10-25 15:10:51
|
|
7
|
+
* @export
|
|
8
|
+
* @class CommonSysUIActionProvider
|
|
9
|
+
* @implements {IUIActionProvider}
|
|
10
|
+
*/
|
|
11
|
+
export declare class CommonSysUIActionProvider implements IUIActionProvider {
|
|
12
|
+
private handler?;
|
|
13
|
+
getHandler(): Promise<IUIActionHandler>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=common-sys-ui-action-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-sys-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../src/provider/ui-action/common-sys-ui-action-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGtE;;;;;;;;GAQG;AACH,qBAAa,yBAA0B,YAAW,iBAAiB;IACjE,OAAO,CAAC,OAAO,CAAC,CAAmB;IAE7B,UAAU,IAAI,OAAO,CAAC,gBAAgB,CAAC;CAM9C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CommonSysUIActionHandler } from '../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* 常用系统预置界面行为适配器
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2022-10-25 15:10:51
|
|
7
|
+
* @export
|
|
8
|
+
* @class CommonSysUIActionProvider
|
|
9
|
+
* @implements {IUIActionProvider}
|
|
10
|
+
*/
|
|
11
|
+
export class CommonSysUIActionProvider {
|
|
12
|
+
async getHandler() {
|
|
13
|
+
if (!this.handler) {
|
|
14
|
+
this.handler = new CommonSysUIActionHandler();
|
|
15
|
+
}
|
|
16
|
+
return this.handler;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IUIActionHandler, IUIActionProvider } from '../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* 前台调用界面行为适配器
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2022-10-25 15:10:51
|
|
7
|
+
* @export
|
|
8
|
+
* @class FrontUIActionProvider
|
|
9
|
+
* @implements {IUIActionProvider}
|
|
10
|
+
*/
|
|
11
|
+
export declare class FrontUIActionProvider implements IUIActionProvider {
|
|
12
|
+
private handler?;
|
|
13
|
+
getHandler(): Promise<IUIActionHandler>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=front-ui-action-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"front-ui-action-provider.d.ts","sourceRoot":"","sources":["../../../src/provider/ui-action/front-ui-action-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGtE;;;;;;;;GAQG;AACH,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,OAAO,CAAC,CAAmB;IAE7B,UAAU,IAAI,OAAO,CAAC,gBAAgB,CAAC;CAM9C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FrontUIActionHandler } from '../../utils';
|
|
2
|
+
/**
|
|
3
|
+
* 前台调用界面行为适配器
|
|
4
|
+
*
|
|
5
|
+
* @author lxm
|
|
6
|
+
* @date 2022-10-25 15:10:51
|
|
7
|
+
* @export
|
|
8
|
+
* @class FrontUIActionProvider
|
|
9
|
+
* @implements {IUIActionProvider}
|
|
10
|
+
*/
|
|
11
|
+
export class FrontUIActionProvider {
|
|
12
|
+
async getHandler() {
|
|
13
|
+
if (!this.handler) {
|
|
14
|
+
this.handler = new FrontUIActionHandler();
|
|
15
|
+
}
|
|
16
|
+
return this.handler;
|
|
17
|
+
}
|
|
18
|
+
}
|