@a2simcode/ui 0.0.73 → 0.0.74
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.
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { LayerParamType } from '../../dynamic-layer/src/interface';
|
|
2
2
|
import { ButtonProps } from '../../button/src/button.vue';
|
|
3
|
+
export interface ButtonClickScope {
|
|
4
|
+
data?: Record<string, any>;
|
|
5
|
+
openLayer: (options: LayerParamType) => void;
|
|
6
|
+
}
|
|
3
7
|
export interface ButtonCompActionType {
|
|
4
8
|
/**
|
|
5
9
|
* @zh 按钮配置
|
|
@@ -8,10 +12,7 @@ export interface ButtonCompActionType {
|
|
|
8
12
|
/**
|
|
9
13
|
* @zh 按钮点击方法
|
|
10
14
|
*/
|
|
11
|
-
click?: (scope:
|
|
12
|
-
data?: Record<string, any>;
|
|
13
|
-
openLayer: (options: LayerParamType) => void;
|
|
14
|
-
}) => void;
|
|
15
|
+
click?: (scope: ButtonClickScope) => void;
|
|
15
16
|
}
|
|
16
17
|
export interface ButtonCompType extends ButtonCompActionType {
|
|
17
18
|
/**
|
|
@@ -88,7 +88,7 @@ export type { WorkflowViewerProps } from './workflow-viewer/src/workflow-viewer.
|
|
|
88
88
|
export type { WorkflowProps } from './workflow-viewer/src/workflow.vue';
|
|
89
89
|
export type { PanelProps } from './panel/src/panel.vue';
|
|
90
90
|
export type { TreeSelectProps } from './tree-select/src/tree-select.vue';
|
|
91
|
-
export type { ButtonCompActionType, ButtonCompType } from './buttons/src/interface';
|
|
91
|
+
export type { ButtonCompActionType, ButtonCompType, ButtonClickScope, } from './buttons/src/interface';
|
|
92
92
|
export type { LayerParamType } from './dynamic-layer/src/interface';
|
|
93
93
|
export type { SchemaConfig } from './comp/src/interface';
|
|
94
94
|
export type { FormSchemaConfig, RuleType } from './form/src/interface';
|