@gct-paas/core 0.1.4-dev.8 → 0.1.4-dev.9
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.min.mjs +3865 -1995
- package/dist/index.min.cjs +383 -11
- package/dist/index.system.min.js +383 -11
- package/es/constants/expression-type/BuiltOperators.d.ts +20 -0
- package/es/constants/expression-type/BuiltOperators.mjs +148 -0
- package/es/constants/expression-type/FunctionKeys.d.ts +1 -0
- package/es/constants/expression-type/FunctionKeys.mjs +81 -0
- package/es/constants/expression-type/editor.d.ts +8 -0
- package/es/constants/expression-type/editor.mjs +4 -0
- package/es/constants/expression-type/function.d.ts +7 -0
- package/es/constants/expression-type/function.mjs +875 -0
- package/es/constants/expression-type/index.d.ts +42 -0
- package/es/constants/expression-type/index.mjs +120 -0
- package/es/constants/expression-type/modeCfg.d.ts +30 -0
- package/es/constants/expression-type/modeCfg.mjs +268 -0
- package/es/constants/expression-type/variable.d.ts +12 -0
- package/es/constants/expression-type/variable.mjs +42 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +5 -0
- package/es/create-app-vue.mjs +3 -10
- package/es/enums/appEnum.d.ts +5 -0
- package/es/enums/appEnum.mjs +6 -1
- package/es/enums/designEnum.d.ts +2 -2
- package/es/enums/designEnum.mjs +31 -31
- package/es/enums/developer-center/index.d.ts +1 -0
- package/es/enums/developer-center/integration.d.ts +4 -0
- package/es/enums/developer-center/integration.mjs +7 -0
- package/es/enums/expressionEnum.d.ts +130 -0
- package/es/enums/expressionEnum.mjs +75 -0
- package/es/enums/index.d.ts +11 -5
- package/es/enums/index.mjs +6 -8
- package/es/enums/page-designer/designer.d.ts +6 -0
- package/es/enums/page-designer/designer.mjs +6 -1
- package/es/enums/page-designer/panel.d.ts +78 -7
- package/es/enums/page-designer/panel.mjs +22 -3
- package/es/enums/processEnum.d.ts +54 -0
- package/es/enums/processEnum.mjs +36 -1
- package/es/global/gct/gct.d.ts +9 -13
- package/es/global/gct/gct.mjs +15 -20
- package/es/hooks/index.d.ts +0 -1
- package/es/hooks/use-overlay-scrollbars/use-overlay-scrollbars.d.ts +11 -0
- package/es/index.d.ts +1 -7
- package/es/index.mjs +26 -11
- package/es/interface/index.d.ts +1 -4
- package/es/interface/open-util/i-message-util/i-message-util.d.ts +54 -0
- package/es/interface/{i-modal → open-util/i-modal}/i-modal.d.ts +9 -10
- package/es/interface/{i-modal-data → open-util/i-modal-data}/i-modal-data.d.ts +6 -0
- package/es/interface/open-util/i-modal-options/i-modal-options.d.ts +12 -0
- package/es/interface/open-util/i-overlay-container/i-overlay-container.d.ts +36 -0
- package/es/interface/open-util/i-overlay-controller/i-overlay-controller.d.ts +36 -0
- package/es/interface/open-util/index.d.ts +7 -0
- package/es/locale/index.mjs +1 -0
- package/es/modules/user-stores/store/user.store.mjs +9 -2
- package/es/register/index.d.ts +0 -7
- package/es/setup-app.d.ts +8 -0
- package/es/setup-app.mjs +30 -0
- package/es/store/global-store.mjs +9 -3
- package/es/types/index.d.ts +4 -0
- package/es/utils/axios/interceptors.mjs +0 -1
- package/es/utils/cache-adapter/cache-adapter.d.ts +2 -0
- package/es/utils/cache-adapter/cache-adapter.mjs +59 -0
- package/es/utils/index.d.ts +6 -1
- package/es/utils/lowcode/utils.d.ts +1 -0
- package/es/utils/lowcode/utils.mjs +20 -0
- package/es/utils/lowcode/validate.d.ts +13 -0
- package/es/utils/lowcode/validate.mjs +29 -0
- package/es/utils/namespace/namespace.d.ts +8 -0
- package/es/utils/namespace/namespace.mjs +4 -1
- package/es/utils/openUtil/index.d.ts +2 -0
- package/es/utils/openUtil/modal/modal.d.ts +61 -0
- package/es/utils/openUtil/modal/modal.mjs +80 -0
- package/es/utils/openUtil/overlay-container/overlay-container.d.ts +100 -0
- package/es/utils/openUtil/overlay-container/overlay-container.mjs +139 -0
- package/es/utils/tools/tools.mjs +4 -0
- package/es/utils/treeHelper/treeHelper.d.ts +7 -0
- package/es/utils/treeHelper/treeHelper.mjs +14 -0
- package/es/utils/uuid/uuid.d.ts +3 -0
- package/es/utils/uuid/uuid.mjs +48 -0
- package/es/utils/value-helper/value-helper.mjs +2 -0
- package/es/utils/width-install/width-install.mjs +4 -0
- package/package.json +4 -3
- package/es/hooks/use-namespace/use-namespace.d.ts +0 -9
- package/es/hooks/use-namespace/use-namespace.mjs +0 -18
- package/es/interface/i-message-util/i-message-util.d.ts +0 -78
- package/es/register/render-register/render-register.d.ts +0 -59
- package/es/register/render-register/render-register.mjs +0 -63
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 消息参数
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @interface IMessageParams
|
|
6
|
-
*/
|
|
7
|
-
export interface IMessageParams {
|
|
8
|
-
/**
|
|
9
|
-
* 类型(默认info)
|
|
10
|
-
*
|
|
11
|
-
* @type {('success' | 'info' | 'warning' | 'error')}
|
|
12
|
-
*/
|
|
13
|
-
type?: 'success' | 'info' | 'warning' | 'error';
|
|
14
|
-
/**
|
|
15
|
-
* 消息内容
|
|
16
|
-
*
|
|
17
|
-
* @type {string}
|
|
18
|
-
*/
|
|
19
|
-
message: string;
|
|
20
|
-
/**
|
|
21
|
-
* 持续时间,单位:秒,默认:1.5
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
*/
|
|
25
|
-
duration?: number;
|
|
26
|
-
/**
|
|
27
|
-
* 显示关闭按钮,默认:false
|
|
28
|
-
*
|
|
29
|
-
* @type {boolean}
|
|
30
|
-
*/
|
|
31
|
-
showClose?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* 预置的样式类型
|
|
34
|
-
*
|
|
35
|
-
* @type {'alert'}
|
|
36
|
-
*/
|
|
37
|
-
styleType?: 'alert';
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* 顶部居中显示,并自动消失
|
|
41
|
-
*
|
|
42
|
-
* @export
|
|
43
|
-
* @interface IMessageUtil
|
|
44
|
-
*/
|
|
45
|
-
export interface IMessageUtil {
|
|
46
|
-
/**
|
|
47
|
-
* 普通信息
|
|
48
|
-
*
|
|
49
|
-
* @param {string} msg
|
|
50
|
-
* @param {number} [duration] 持续时间,单位:秒,默认:1.5
|
|
51
|
-
* @returns {*} {Promise<void>}
|
|
52
|
-
*/
|
|
53
|
-
info(msg: string, duration?: number): Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* 成功消息
|
|
56
|
-
*
|
|
57
|
-
* @param {string} msg
|
|
58
|
-
* @param {number} [duration] 持续时间,单位:秒,默认:1.5
|
|
59
|
-
* @returns {*} {Promise<void>}
|
|
60
|
-
*/
|
|
61
|
-
success(msg: string, duration?: number): Promise<void>;
|
|
62
|
-
/**
|
|
63
|
-
* 警告消息
|
|
64
|
-
*
|
|
65
|
-
* @param {string} msg
|
|
66
|
-
* @param {number} [duration] 持续时间,单位:秒,默认:1.5
|
|
67
|
-
* @returns {*} {Promise<void>}
|
|
68
|
-
*/
|
|
69
|
-
warning(msg: string, duration?: number): Promise<void>;
|
|
70
|
-
/**
|
|
71
|
-
* 错误消息
|
|
72
|
-
*
|
|
73
|
-
* @param {string} msg
|
|
74
|
-
* @param {number} [duration] 持续时间,单位:秒,默认:1.5
|
|
75
|
-
* @returns {*} {Promise<void>}
|
|
76
|
-
*/
|
|
77
|
-
error(msg: string, duration?: number): Promise<void>;
|
|
78
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { SyncSeriesHook } from 'qx-util';
|
|
2
|
-
import { Component } from 'vue';
|
|
3
|
-
/**
|
|
4
|
-
* 绘制组件注册
|
|
5
|
-
*
|
|
6
|
-
* @author zhanghanrui
|
|
7
|
-
* @date 2024-05-25 08:05:52
|
|
8
|
-
* @export
|
|
9
|
-
* @class RenderRegister
|
|
10
|
-
*/
|
|
11
|
-
export declare class RenderRegister {
|
|
12
|
-
/**
|
|
13
|
-
* 组件清单
|
|
14
|
-
*
|
|
15
|
-
* @author zhanghanrui
|
|
16
|
-
* @date 2024-05-25 08:05:03
|
|
17
|
-
* @protected
|
|
18
|
-
* @type {Map<string, Component>}
|
|
19
|
-
*/
|
|
20
|
-
protected map: Map<string, Component>;
|
|
21
|
-
readonly hooks: {
|
|
22
|
-
register: SyncSeriesHook<[string, Component], null>;
|
|
23
|
-
unregister: SyncSeriesHook<string, null>;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* 注册界面绘制组件
|
|
27
|
-
*
|
|
28
|
-
* @author zhanghanrui
|
|
29
|
-
* @date 2024-05-25 08:05:05
|
|
30
|
-
* @param {string} tag
|
|
31
|
-
* @param {Component} com
|
|
32
|
-
*/
|
|
33
|
-
register(tag: string, com: Component): void;
|
|
34
|
-
/**
|
|
35
|
-
* 取消组件注册
|
|
36
|
-
*
|
|
37
|
-
* @author zhanghanrui
|
|
38
|
-
* @date 2024-05-25 08:05:34
|
|
39
|
-
* @param {string} tag
|
|
40
|
-
*/
|
|
41
|
-
unregister(tag: string): void;
|
|
42
|
-
/**
|
|
43
|
-
* 获取注册的组件
|
|
44
|
-
*
|
|
45
|
-
* @author zhanghanrui
|
|
46
|
-
* @date 2024-05-25 08:05:59
|
|
47
|
-
* @param {string} tag
|
|
48
|
-
* @return {*} {(Component | undefined)}
|
|
49
|
-
*/
|
|
50
|
-
get(tag: string): Component | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* 组件标识清单
|
|
53
|
-
*
|
|
54
|
-
* @author zhanghanrui
|
|
55
|
-
* @date 2024-05-25 08:05:19
|
|
56
|
-
* @return {*} {string[]}
|
|
57
|
-
*/
|
|
58
|
-
keys(): string[];
|
|
59
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { SyncSeriesHook } from 'qx-util';
|
|
2
|
-
|
|
3
|
-
class RenderRegister {
|
|
4
|
-
/**
|
|
5
|
-
* 组件清单
|
|
6
|
-
*
|
|
7
|
-
* @author zhanghanrui
|
|
8
|
-
* @date 2024-05-25 08:05:03
|
|
9
|
-
* @protected
|
|
10
|
-
* @type {Map<string, Component>}
|
|
11
|
-
*/
|
|
12
|
-
map = /* @__PURE__ */ new Map();
|
|
13
|
-
hooks = {
|
|
14
|
-
register: new SyncSeriesHook(),
|
|
15
|
-
unregister: new SyncSeriesHook()
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* 注册界面绘制组件
|
|
19
|
-
*
|
|
20
|
-
* @author zhanghanrui
|
|
21
|
-
* @date 2024-05-25 08:05:05
|
|
22
|
-
* @param {string} tag
|
|
23
|
-
* @param {Component} com
|
|
24
|
-
*/
|
|
25
|
-
register(tag, com) {
|
|
26
|
-
this.map.set(tag, com);
|
|
27
|
-
this.hooks.register.callSync(null, tag, com);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* 取消组件注册
|
|
31
|
-
*
|
|
32
|
-
* @author zhanghanrui
|
|
33
|
-
* @date 2024-05-25 08:05:34
|
|
34
|
-
* @param {string} tag
|
|
35
|
-
*/
|
|
36
|
-
unregister(tag) {
|
|
37
|
-
this.map.delete(tag);
|
|
38
|
-
this.hooks.unregister.callSync(null, tag);
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* 获取注册的组件
|
|
42
|
-
*
|
|
43
|
-
* @author zhanghanrui
|
|
44
|
-
* @date 2024-05-25 08:05:59
|
|
45
|
-
* @param {string} tag
|
|
46
|
-
* @return {*} {(Component | undefined)}
|
|
47
|
-
*/
|
|
48
|
-
get(tag) {
|
|
49
|
-
return this.map.get(tag);
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* 组件标识清单
|
|
53
|
-
*
|
|
54
|
-
* @author zhanghanrui
|
|
55
|
-
* @date 2024-05-25 08:05:19
|
|
56
|
-
* @return {*} {string[]}
|
|
57
|
-
*/
|
|
58
|
-
keys() {
|
|
59
|
-
return Array.from(this.map.keys());
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export { RenderRegister };
|