@gct-paas/render 0.1.4-dev.11 → 0.1.4-dev.12
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.js +6118 -0
- package/es/Event/Dependency/controller.mjs +81 -94
- package/es/Event/Dependency/displayRule.mjs +65 -67
- package/es/Event/Dependency/useDependency.mjs +117 -0
- package/es/Event/Dependency/useDependencyToShow.mjs +100 -96
- package/es/Event/baseEvent.d.ts +6 -5
- package/es/Event/baseEvent.mjs +382 -423
- package/es/Event/bizServiceRequest.mjs +28 -40
- package/es/Event/index.d.ts +2 -1
- package/es/Event/index.mjs +4 -0
- package/es/Event/utils/appRedis.mjs +39 -49
- package/es/Event/utils/globalLoading.mjs +95 -94
- package/es/Event/utils/processRovedInfo.mjs +228 -294
- package/es/Event/utils/runGlobalByPage.mjs +296 -300
- package/es/Event/utils/verificationVar.mjs +32 -38
- package/es/_virtual/_rolldown/runtime.mjs +13 -0
- package/es/enums/index.mjs +17 -5
- package/es/hooks/useStorageRef.mjs +35 -31
- package/es/index.mjs +18 -21
- package/es/register/render-register/render-register.mjs +63 -58
- package/es/utils/cacheAdapter.mjs +62 -54
- package/es/utils/expression/index.mjs +105 -122
- package/es/utils/expression/regularExpression/methods.mjs +426 -567
- package/es/utils/field-attrs/basicAttrs.mjs +56 -80
- package/es/utils/field-attrs/index.mjs +16 -13
- package/es/utils/get-ref-data.mjs +41 -59
- package/es/utils/getFieldSchema.mjs +66 -80
- package/es/utils/index.d.ts +1 -1
- package/es/utils/index.mjs +6 -0
- package/es/utils/model-transformer.mjs +74 -64
- package/es/utils/useStyle.mjs +12 -15
- package/package.json +7 -7
- package/dist/index.esm.min.mjs +0 -7042
- package/dist/index.min.cjs +0 -17
- package/dist/index.system.min.js +0 -17
package/es/Event/baseEvent.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProcessOperateRequest } from '@gct-paas/api/apaas';
|
|
2
2
|
import { pageLayoutModeEnum } from '@gct-paas/core';
|
|
3
3
|
import { LowCodeWidget } from '@gct-paas/schema';
|
|
4
|
-
import { Ref } from 'vue';
|
|
4
|
+
import { ComponentPublicInstance, Ref } from 'vue';
|
|
5
5
|
import { $httpBizService, $request } from './bizServiceRequest';
|
|
6
6
|
import { EventsConstructor, FunctionType, InitNodeOptions } from './eventType';
|
|
7
7
|
import { ProcessAppRovedData } from './utils/processRovedInfo';
|
|
@@ -9,6 +9,10 @@ type ContextConstructor<T extends Context> = new (args: {
|
|
|
9
9
|
$ref: (key: string) => GctComponent | undefined;
|
|
10
10
|
$asyncRef: (key: string) => Promise<GctComponent>;
|
|
11
11
|
}) => T;
|
|
12
|
+
export type ModalInstance = null | undefined | (ComponentPublicInstance & {
|
|
13
|
+
open: Fn;
|
|
14
|
+
close: Fn;
|
|
15
|
+
});
|
|
12
16
|
export declare class Events<TContext extends Context = Context> {
|
|
13
17
|
#private;
|
|
14
18
|
context: TContext;
|
|
@@ -79,10 +83,7 @@ export declare class Context {
|
|
|
79
83
|
/**根据key异步获取获取组件 */
|
|
80
84
|
$asyncRef: (key: string) => Promise<GctComponent>;
|
|
81
85
|
/**根据id获取模态框 */
|
|
82
|
-
$getModal?: (key: string) =>
|
|
83
|
-
open: FunctionType;
|
|
84
|
-
close: FunctionType;
|
|
85
|
-
};
|
|
86
|
+
$getModal?: (key: string) => ModalInstance;
|
|
86
87
|
/**关闭当前上下文模态框 */
|
|
87
88
|
$closeModal?: () => void;
|
|
88
89
|
/**调用第三方服务 */
|