@a2simcode/ui 0.0.137 → 0.0.139

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.
@@ -8,6 +8,7 @@ export declare const JForm: {
8
8
  gutter: number;
9
9
  span: number;
10
10
  codeInit: string;
11
+ codeChange: string;
11
12
  }>;
12
13
  default: () => {};
13
14
  };
@@ -23,6 +24,10 @@ export declare const JForm: {
23
24
  type: BooleanConstructor;
24
25
  default: boolean;
25
26
  };
27
+ actions: {
28
+ type: import('vue').PropType<Record<string, any>>;
29
+ default: () => {};
30
+ };
26
31
  }>> & Readonly<{
27
32
  onChange?: ((...args: any[]) => any) | undefined;
28
33
  }>, {
@@ -56,9 +61,11 @@ export declare const JForm: {
56
61
  gutter: number;
57
62
  span: number;
58
63
  codeInit: string;
64
+ codeChange: string;
59
65
  };
60
66
  readonly: boolean;
61
67
  schema: any[];
68
+ actions: Record<string, any>;
62
69
  isAutoSize: boolean;
63
70
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
64
71
  P: {};
@@ -76,6 +83,7 @@ export declare const JForm: {
76
83
  gutter: number;
77
84
  span: number;
78
85
  codeInit: string;
86
+ codeChange: string;
79
87
  }>;
80
88
  default: () => {};
81
89
  };
@@ -91,6 +99,10 @@ export declare const JForm: {
91
99
  type: BooleanConstructor;
92
100
  default: boolean;
93
101
  };
102
+ actions: {
103
+ type: import('vue').PropType<Record<string, any>>;
104
+ default: () => {};
105
+ };
94
106
  }>> & Readonly<{
95
107
  onChange?: ((...args: any[]) => any) | undefined;
96
108
  }>, {
@@ -122,9 +134,11 @@ export declare const JForm: {
122
134
  gutter: number;
123
135
  span: number;
124
136
  codeInit: string;
137
+ codeChange: string;
125
138
  };
126
139
  readonly: boolean;
127
140
  schema: any[];
141
+ actions: Record<string, any>;
128
142
  isAutoSize: boolean;
129
143
  }>;
130
144
  __isFragment?: never;
@@ -139,6 +153,7 @@ export declare const JForm: {
139
153
  gutter: number;
140
154
  span: number;
141
155
  codeInit: string;
156
+ codeChange: string;
142
157
  }>;
143
158
  default: () => {};
144
159
  };
@@ -154,6 +169,10 @@ export declare const JForm: {
154
169
  type: BooleanConstructor;
155
170
  default: boolean;
156
171
  };
172
+ actions: {
173
+ type: import('vue').PropType<Record<string, any>>;
174
+ default: () => {};
175
+ };
157
176
  }>> & Readonly<{
158
177
  onChange?: ((...args: any[]) => any) | undefined;
159
178
  }>, {
@@ -187,9 +206,11 @@ export declare const JForm: {
187
206
  gutter: number;
188
207
  span: number;
189
208
  codeInit: string;
209
+ codeChange: string;
190
210
  };
191
211
  readonly: boolean;
192
212
  schema: any[];
213
+ actions: Record<string, any>;
193
214
  isAutoSize: boolean;
194
215
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
195
216
  install: (app: import('vue').App) => void;
@@ -12,6 +12,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
12
  gutter: number;
13
13
  span: number;
14
14
  codeInit: string;
15
+ codeChange: string;
15
16
  }>;
16
17
  default: () => {};
17
18
  };
@@ -33,6 +34,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
33
34
  type: BooleanConstructor;
34
35
  default: boolean;
35
36
  };
37
+ /**
38
+ * @zh 事件编排执行动作
39
+ */
40
+ actions: {
41
+ type: PropType<Record<string, any>>;
42
+ default: () => {};
43
+ };
36
44
  }>, {
37
45
  init: (schemas: FormSchemaConfig[], _data?: Record<string, any>) => Promise<void>;
38
46
  reset: () => void;
@@ -68,6 +76,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
68
76
  gutter: number;
69
77
  span: number;
70
78
  codeInit: string;
79
+ codeChange: string;
71
80
  }>;
72
81
  default: () => {};
73
82
  };
@@ -89,6 +98,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
89
98
  type: BooleanConstructor;
90
99
  default: boolean;
91
100
  };
101
+ /**
102
+ * @zh 事件编排执行动作
103
+ */
104
+ actions: {
105
+ type: PropType<Record<string, any>>;
106
+ default: () => {};
107
+ };
92
108
  }>> & Readonly<{
93
109
  onChange?: ((...args: any[]) => any) | undefined;
94
110
  }>, {
@@ -99,9 +115,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
99
115
  gutter: number;
100
116
  span: number;
101
117
  codeInit: string;
118
+ codeChange: string;
102
119
  };
103
120
  readonly: boolean;
104
121
  schema: any[];
122
+ actions: Record<string, any>;
105
123
  isAutoSize: boolean;
106
124
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
107
125
  export default _default;
@@ -59,6 +59,8 @@ export interface FormProvideType {
59
59
  id: string;
60
60
  i?: number;
61
61
  }) => any;
62
+ runFlow: (data: Record<string, any>[], inputParams: Record<string, any>) => any;
63
+ runFlowByNotRunActions: (id: string) => any;
62
64
  }
63
65
  /**
64
66
  * 表格提供者类型
@@ -5,7 +5,7 @@ export declare function setGroupMap(data: any[], idKey: string, pidKey: string):
5
5
  group: Record<string, any>;
6
6
  map: Record<string, any>;
7
7
  };
8
- export declare function toTree(data: any[], _idKey?: string, pidKey?: string, valueKey?: string, labelKey?: string, filterIds?: any): any[];
8
+ export declare function toTree(data: any[], _idKey?: string, pidKey?: string, valueKey?: string, labelKey?: string, filterIds?: string[]): any[];
9
9
  export declare const toArray: (data: any[], filterIds?: string[]) => any[];
10
10
  export declare const toSimpleTree: (data: any[], valueKey?: string, labelKey?: string) => any[];
11
11
  export declare const toLeafArray: (data: any[], getLabel: (item: any) => string, filterIds?: string[]) => any[];