@mc20230601/keep-up 1.0.41 → 1.0.48
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/es/components/codeEditor/index.d.ts +4 -4
- package/es/components/codeEditor/index.mjs +2 -2
- package/es/components/codeEditor/index.mjs.map +1 -1
- package/es/components/commonEditor/constants.mjs.map +1 -1
- package/es/components/commonEditor/index.d.ts +2 -2
- package/es/components/commonEditor/index.mjs +4 -3
- package/es/components/commonEditor/index.mjs.map +1 -1
- package/es/components/commonEditor/interfaces.d.ts +5 -1
- package/es/components/commonFilter/constants.mjs.map +1 -1
- package/es/components/commonFilter/index.d.ts +6 -6
- package/es/components/commonFilter/index.mjs +6 -4
- package/es/components/commonFilter/index.mjs.map +1 -1
- package/es/components/commonFilter/interfaces.d.ts +3 -1
- package/es/components/commonFilter/useFieldsParser.mjs +22 -19
- package/es/components/commonFilter/useFieldsParser.mjs.map +1 -1
- package/es/components/commonFilter/useKeepFilter.d.ts +1 -1
- package/es/components/commonFilter/useKeepFilter.mjs +21 -3
- package/es/components/commonFilter/useKeepFilter.mjs.map +1 -1
- package/es/components/commonJsonPretty/index.mjs +6 -11
- package/es/components/commonJsonPretty/index.mjs.map +1 -1
- package/es/components/commonLocations/index.d.ts +1 -1
- package/es/components/commonLocations/index.mjs +2 -2
- package/es/components/commonLocations/index.mjs.map +1 -1
- package/es/components/commonLocations/useLocations.mjs +8 -2
- package/es/components/commonLocations/useLocations.mjs.map +1 -1
- package/es/components/commonLocations/utils.mjs +3 -1
- package/es/components/commonLocations/utils.mjs.map +1 -1
- package/es/components/commonModal/index.mjs.map +1 -1
- package/es/components/commonPage/index.d.ts +4 -2
- package/es/components/commonPage/index.mjs +16 -9
- package/es/components/commonPage/index.mjs.map +1 -1
- package/es/components/commonPage/interfaces.d.ts +4 -0
- package/es/components/commonPage/useAsyncDataSource.d.ts +1 -1
- package/es/components/commonPage/useAsyncDataSource.mjs +11 -4
- package/es/components/commonPage/useAsyncDataSource.mjs.map +1 -1
- package/es/components/commonPage/usePage.mjs +37 -32
- package/es/components/commonPage/usePage.mjs.map +1 -1
- package/es/components/commonPage/usePageActions.mjs +19 -13
- package/es/components/commonPage/usePageActions.mjs.map +1 -1
- package/es/components/commonPage/usePagePreferences.mjs +28 -10
- package/es/components/commonPage/usePagePreferences.mjs.map +1 -1
- package/es/components/commonPage/utils.mjs.map +1 -1
- package/es/components/commonSetter/components/draggableList/index.mjs +6 -5
- package/es/components/commonSetter/components/draggableList/index.mjs.map +1 -1
- package/es/components/commonSetter/index.mjs.map +1 -1
- package/es/components/commonTable/constants.d.ts +6 -2
- package/es/components/commonTable/constants.mjs +3 -4
- package/es/components/commonTable/constants.mjs.map +1 -1
- package/es/components/commonTable/index.mjs +13 -7
- package/es/components/commonTable/index.mjs.map +1 -1
- package/es/components/commonTable/index.module.mjs +2 -2
- package/es/components/commonTable/props.mjs.map +1 -1
- package/es/components/commonTable/usePagination.mjs +0 -1
- package/es/components/commonTable/usePagination.mjs.map +1 -1
- package/es/components/commonTable/utils.d.ts +1 -1
- package/es/components/commonTable/utils.mjs +1 -6
- package/es/components/commonTable/utils.mjs.map +1 -1
- package/es/components/formTabs/index.mjs +0 -1
- package/es/components/formTabs/index.mjs.map +1 -1
- package/es/components/formilyCmps/formTab/index.mjs +1 -5
- package/es/components/formilyCmps/formTab/index.mjs.map +1 -1
- package/es/components/formilyCmps/formilyForm/index.d.ts +1 -1
- package/es/components/formilyCmps/formilyForm/index.mjs +18 -0
- package/es/components/formilyCmps/formilyForm/index.mjs.map +1 -1
- package/es/components/formilyCmps/formilyForm/interfaces.d.ts +2 -2
- package/es/components/formilyCmps/index.d.ts +1 -0
- package/es/components/formilyCmps/index.mjs +1 -0
- package/es/components/formilyCmps/index.mjs.map +1 -1
- package/es/components/formilyCmps/sectionTitle/index.mjs +2 -2
- package/es/components/formilyCmps/sectionTitle/index.mjs.map +1 -1
- package/es/components/formilyCmps/title/index.d.ts +2 -0
- package/es/components/formilyCmps/title/index.mjs +19 -0
- package/es/components/formilyCmps/title/index.mjs.map +1 -0
- package/es/components/formilyCmps/title/index.module.mjs +4 -0
- package/es/components/formilyCmps/title/index.module.mjs.map +1 -0
- package/es/components/formilyCmps/virtualizedSelect/index.d.ts +1 -0
- package/es/components/formilyCmps/virtualizedSelect/index.mjs +15 -0
- package/es/components/formilyCmps/virtualizedSelect/index.mjs.map +1 -0
- package/es/components/index.d.ts +1 -1
- package/es/components/index.mjs +1 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/radioGroup/index.d.ts +15 -15
- package/es/components/radioGroup/index.mjs +1 -0
- package/es/components/radioGroup/index.mjs.map +1 -1
- package/es/components/space/index.d.ts +1 -1
- package/es/components/upload/formilyUpload.d.ts +1 -1
- package/es/components/upload/index.d.ts +4 -4
- package/es/components/upload/upload.d.ts +1 -1
- package/es/index.d.ts +2334 -18
- package/es/index.mjs +1 -20
- package/es/index.mjs.map +1 -1
- package/es/styles/index.css +169 -135
- package/package.json +1 -1
package/es/index.d.ts
CHANGED
|
@@ -1,18 +1,2334 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import type { Column } from 'element-plus';
|
|
3
|
+
import type { Component } from 'vue';
|
|
4
|
+
import { ComponentCustomProps } from 'vue';
|
|
5
|
+
import { ComponentOptionsBase } from 'vue';
|
|
6
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
7
|
+
import { ComponentProvideOptions } from 'vue';
|
|
8
|
+
import type { ComputedRef } from 'vue';
|
|
9
|
+
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
10
|
+
import { DataField } from '@formily/core';
|
|
11
|
+
import { DefineComponent } from 'vue';
|
|
12
|
+
import type { DrawerProps } from 'element-plus';
|
|
13
|
+
import { ExtractPropTypes } from 'vue';
|
|
14
|
+
import { Form } from '@formily/core';
|
|
15
|
+
import { FormPathPattern } from '@formily/core';
|
|
16
|
+
import { GeneralField } from '@formily/core';
|
|
17
|
+
import { GlobalComponents } from 'vue';
|
|
18
|
+
import { GlobalDirectives } from 'vue';
|
|
19
|
+
import { ISchema } from '@formily/json-schema';
|
|
20
|
+
import type { ISchema as ISchema_2 } from '@formily/vue';
|
|
21
|
+
import { JSX } from 'vue/jsx-runtime';
|
|
22
|
+
import { onFieldChange } from '@formily/core';
|
|
23
|
+
import { onFieldInit } from '@formily/core';
|
|
24
|
+
import { onFieldReact } from '@formily/core';
|
|
25
|
+
import { onFormReact } from '@formily/core';
|
|
26
|
+
import { PropType } from 'vue';
|
|
27
|
+
import { PublicProps } from 'vue';
|
|
28
|
+
import type { Ref } from 'vue';
|
|
29
|
+
import type { RemovableRef } from '@vueuse/core';
|
|
30
|
+
import { RendererElement } from 'vue';
|
|
31
|
+
import { RendererNode } from 'vue';
|
|
32
|
+
import type { RouteLocationNormalizedLoadedGeneric } from 'vue-router';
|
|
33
|
+
import { SchemaEnum } from '@formily/json-schema';
|
|
34
|
+
import { SchemaItems } from '@formily/json-schema';
|
|
35
|
+
import { SchemaKey } from '@formily/json-schema';
|
|
36
|
+
import { SchemaProperties } from '@formily/json-schema';
|
|
37
|
+
import { SchemaReactions } from '@formily/json-schema';
|
|
38
|
+
import { SchemaTypes } from '@formily/json-schema';
|
|
39
|
+
import { Stringify } from '@formily/json-schema';
|
|
40
|
+
import type { TableProps } from 'element-plus';
|
|
41
|
+
import type { TableRefs } from 'element-plus';
|
|
42
|
+
import type { UnwrapNestedRefs } from 'vue';
|
|
43
|
+
import { UploadFile } from 'element-plus';
|
|
44
|
+
import { VNode } from 'vue';
|
|
45
|
+
import { VNodeProps } from 'vue';
|
|
46
|
+
|
|
47
|
+
export declare type CardProps = ExtractPropTypes<typeof props_2> & Omit<Partial<DrawerProps>, 'title' | 'size'>;
|
|
48
|
+
|
|
49
|
+
export declare const CodeEditor: {
|
|
50
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
51
|
+
/** v-model体系-内容 */
|
|
52
|
+
modelValue: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
/** formily体系-内容 */
|
|
57
|
+
value: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
/** 语言 */
|
|
62
|
+
language: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
/** 主题 */
|
|
67
|
+
theme: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
}>> & Readonly<{
|
|
72
|
+
onChange?: (...args: any[]) => any;
|
|
73
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
74
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:modelValue")[], PublicProps, {
|
|
77
|
+
value: string;
|
|
78
|
+
theme: string;
|
|
79
|
+
modelValue: string;
|
|
80
|
+
language: string;
|
|
81
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
82
|
+
P: {};
|
|
83
|
+
B: {};
|
|
84
|
+
D: {};
|
|
85
|
+
C: {};
|
|
86
|
+
M: {};
|
|
87
|
+
Defaults: {};
|
|
88
|
+
}, Readonly<ExtractPropTypes< {
|
|
89
|
+
/** v-model体系-内容 */
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
/** formily体系-内容 */
|
|
95
|
+
value: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
/** 语言 */
|
|
100
|
+
language: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
/** 主题 */
|
|
105
|
+
theme: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
}>> & Readonly<{
|
|
110
|
+
onChange?: (...args: any[]) => any;
|
|
111
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
112
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
}>, {}, {}, {}, {
|
|
115
|
+
value: string;
|
|
116
|
+
theme: string;
|
|
117
|
+
modelValue: string;
|
|
118
|
+
language: string;
|
|
119
|
+
}>;
|
|
120
|
+
__isFragment?: never;
|
|
121
|
+
__isTeleport?: never;
|
|
122
|
+
__isSuspense?: never;
|
|
123
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
124
|
+
/** v-model体系-内容 */
|
|
125
|
+
modelValue: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
/** formily体系-内容 */
|
|
130
|
+
value: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
/** 语言 */
|
|
135
|
+
language: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
/** 主题 */
|
|
140
|
+
theme: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
}>> & Readonly<{
|
|
145
|
+
onChange?: (...args: any[]) => any;
|
|
146
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
147
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
148
|
+
[key: string]: any;
|
|
149
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
|
150
|
+
value: string;
|
|
151
|
+
theme: string;
|
|
152
|
+
modelValue: string;
|
|
153
|
+
language: string;
|
|
154
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
155
|
+
FormilyCodeEditor: DefineComponent<ExtractPropTypes< {
|
|
156
|
+
/** v-model体系-内容 */
|
|
157
|
+
modelValue: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
/** formily体系-内容 */
|
|
162
|
+
value: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
/** 语言 */
|
|
167
|
+
language: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
/** 主题 */
|
|
172
|
+
theme: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
default: string;
|
|
175
|
+
};
|
|
176
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
179
|
+
/** v-model体系-内容 */
|
|
180
|
+
modelValue: {
|
|
181
|
+
type: StringConstructor;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
/** formily体系-内容 */
|
|
185
|
+
value: {
|
|
186
|
+
type: StringConstructor;
|
|
187
|
+
default: string;
|
|
188
|
+
};
|
|
189
|
+
/** 语言 */
|
|
190
|
+
language: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
/** 主题 */
|
|
195
|
+
theme: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
}>> & Readonly<{
|
|
200
|
+
onChange?: (...args: any[]) => any;
|
|
201
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
202
|
+
}>, {
|
|
203
|
+
value: string;
|
|
204
|
+
theme: string;
|
|
205
|
+
modelValue: string;
|
|
206
|
+
language: string;
|
|
207
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
/** commonFilter的provide key */
|
|
211
|
+
export declare const COMMON_FILTER_INJECTION_KEY = "COMMON_FILTER_INJECTION_KEY";
|
|
212
|
+
|
|
213
|
+
/** 页面偏好类型 */
|
|
214
|
+
export declare enum Common_Page_Preferences_Type {
|
|
215
|
+
/** 筛选项 */
|
|
216
|
+
FILTER = "FILTER",
|
|
217
|
+
/** 表格列 */
|
|
218
|
+
COLUMN = "COLUMN"
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export declare const CommonDrawer: DefineComponent<
|
|
222
|
+
/** props */
|
|
223
|
+
CardProps,
|
|
224
|
+
/** setup return */
|
|
225
|
+
{},
|
|
226
|
+
/** 没人用,vue2的data */
|
|
227
|
+
{},
|
|
228
|
+
/** 没人用,vue2的computed */
|
|
229
|
+
{},
|
|
230
|
+
/** 没人用,vue2的method */
|
|
231
|
+
{},
|
|
232
|
+
/** 没人用,mixin */
|
|
233
|
+
{},
|
|
234
|
+
/** 没人用,extends */
|
|
235
|
+
{},
|
|
236
|
+
/** emits */
|
|
237
|
+
{
|
|
238
|
+
close: () => void;
|
|
239
|
+
}>;
|
|
240
|
+
|
|
241
|
+
export declare const CommonEditor: DefineComponent<ExtractPropTypes< {
|
|
242
|
+
/** 创建Api */
|
|
243
|
+
createApi: {
|
|
244
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
245
|
+
default: any;
|
|
246
|
+
};
|
|
247
|
+
/** 编辑Api */
|
|
248
|
+
editApi: {
|
|
249
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
250
|
+
default: any;
|
|
251
|
+
};
|
|
252
|
+
/** 格式化列表接口入参 */
|
|
253
|
+
formatEditParams: {
|
|
254
|
+
type: PropType<(p: any) => any>;
|
|
255
|
+
default: any;
|
|
256
|
+
};
|
|
257
|
+
/** 编辑器字段 */
|
|
258
|
+
editFields: {
|
|
259
|
+
type: PropType<ISchema_2>;
|
|
260
|
+
default: () => {};
|
|
261
|
+
};
|
|
262
|
+
/** 标题 */
|
|
263
|
+
title: {
|
|
264
|
+
type: StringConstructor;
|
|
265
|
+
default: string;
|
|
266
|
+
};
|
|
267
|
+
/** 宽度 */
|
|
268
|
+
size: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
272
|
+
/** layout */
|
|
273
|
+
layout: {
|
|
274
|
+
type: PropType<IEditorLayout>;
|
|
275
|
+
default: () => {
|
|
276
|
+
columns: number;
|
|
277
|
+
labelStyle: {
|
|
278
|
+
width: string;
|
|
279
|
+
margin: string;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
/** effectHooks */
|
|
284
|
+
effectHooks: {
|
|
285
|
+
type: PropType<IEffectHooks>;
|
|
286
|
+
default: () => {};
|
|
287
|
+
};
|
|
288
|
+
/** 需要注册的组件 */
|
|
289
|
+
components: {
|
|
290
|
+
type: ObjectConstructor;
|
|
291
|
+
default: () => {};
|
|
292
|
+
};
|
|
293
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "confirmSuccess"[], "confirmSuccess", PublicProps, Readonly<ExtractPropTypes< {
|
|
294
|
+
/** 创建Api */
|
|
295
|
+
createApi: {
|
|
296
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
297
|
+
default: any;
|
|
298
|
+
};
|
|
299
|
+
/** 编辑Api */
|
|
300
|
+
editApi: {
|
|
301
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
302
|
+
default: any;
|
|
303
|
+
};
|
|
304
|
+
/** 格式化列表接口入参 */
|
|
305
|
+
formatEditParams: {
|
|
306
|
+
type: PropType<(p: any) => any>;
|
|
307
|
+
default: any;
|
|
308
|
+
};
|
|
309
|
+
/** 编辑器字段 */
|
|
310
|
+
editFields: {
|
|
311
|
+
type: PropType<ISchema_2>;
|
|
312
|
+
default: () => {};
|
|
313
|
+
};
|
|
314
|
+
/** 标题 */
|
|
315
|
+
title: {
|
|
316
|
+
type: StringConstructor;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
/** 宽度 */
|
|
320
|
+
size: {
|
|
321
|
+
type: StringConstructor;
|
|
322
|
+
default: string;
|
|
323
|
+
};
|
|
324
|
+
/** layout */
|
|
325
|
+
layout: {
|
|
326
|
+
type: PropType<IEditorLayout>;
|
|
327
|
+
default: () => {
|
|
328
|
+
columns: number;
|
|
329
|
+
labelStyle: {
|
|
330
|
+
width: string;
|
|
331
|
+
margin: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
/** effectHooks */
|
|
336
|
+
effectHooks: {
|
|
337
|
+
type: PropType<IEffectHooks>;
|
|
338
|
+
default: () => {};
|
|
339
|
+
};
|
|
340
|
+
/** 需要注册的组件 */
|
|
341
|
+
components: {
|
|
342
|
+
type: ObjectConstructor;
|
|
343
|
+
default: () => {};
|
|
344
|
+
};
|
|
345
|
+
}>> & Readonly<{
|
|
346
|
+
onConfirmSuccess?: (...args: any[]) => any;
|
|
347
|
+
}>, {
|
|
348
|
+
title: string;
|
|
349
|
+
size: string;
|
|
350
|
+
components: Record<string, any>;
|
|
351
|
+
effectHooks: IEffectHooks;
|
|
352
|
+
layout: IEditorLayout;
|
|
353
|
+
createApi: (p: ICommonObj) => Promise<ICommonObj>;
|
|
354
|
+
editApi: (p: ICommonObj) => Promise<ICommonObj>;
|
|
355
|
+
formatEditParams: (p: any) => any;
|
|
356
|
+
editFields: Stringify< {
|
|
357
|
+
[key: symbol]: any;
|
|
358
|
+
[key: `x-${string}`]: any;
|
|
359
|
+
[key: `x-${number}`]: any;
|
|
360
|
+
version?: string;
|
|
361
|
+
name?: SchemaKey;
|
|
362
|
+
title?: any;
|
|
363
|
+
description?: any;
|
|
364
|
+
default?: any;
|
|
365
|
+
readOnly?: boolean;
|
|
366
|
+
writeOnly?: boolean;
|
|
367
|
+
type?: SchemaTypes;
|
|
368
|
+
enum?: SchemaEnum<any>;
|
|
369
|
+
const?: any;
|
|
370
|
+
multipleOf?: number;
|
|
371
|
+
maximum?: number;
|
|
372
|
+
exclusiveMaximum?: number;
|
|
373
|
+
minimum?: number;
|
|
374
|
+
exclusiveMinimum?: number;
|
|
375
|
+
maxLength?: number;
|
|
376
|
+
minLength?: number;
|
|
377
|
+
pattern?: string | RegExp;
|
|
378
|
+
maxItems?: number;
|
|
379
|
+
minItems?: number;
|
|
380
|
+
uniqueItems?: boolean;
|
|
381
|
+
maxProperties?: number;
|
|
382
|
+
minProperties?: number;
|
|
383
|
+
required?: string[] | boolean | string;
|
|
384
|
+
format?: string;
|
|
385
|
+
$ref?: string;
|
|
386
|
+
$namespace?: string;
|
|
387
|
+
definitions?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
388
|
+
properties?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
389
|
+
items?: SchemaItems<any, any, any, any, any, any, any, any>;
|
|
390
|
+
additionalItems?: Stringify<any>;
|
|
391
|
+
patternProperties?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
392
|
+
additionalProperties?: Stringify<any>;
|
|
393
|
+
"x-value"?: any;
|
|
394
|
+
"x-index"?: number;
|
|
395
|
+
"x-pattern"?: any;
|
|
396
|
+
"x-display"?: any;
|
|
397
|
+
"x-validator"?: any;
|
|
398
|
+
"x-decorator"?: any;
|
|
399
|
+
"x-decorator-props"?: any;
|
|
400
|
+
"x-component"?: any;
|
|
401
|
+
"x-component-props"?: any;
|
|
402
|
+
"x-reactions"?: SchemaReactions<any>;
|
|
403
|
+
"x-content"?: any;
|
|
404
|
+
"x-data"?: any;
|
|
405
|
+
"x-visible"?: boolean;
|
|
406
|
+
"x-hidden"?: boolean;
|
|
407
|
+
"x-disabled"?: boolean;
|
|
408
|
+
"x-editable"?: boolean;
|
|
409
|
+
"x-read-only"?: boolean;
|
|
410
|
+
"x-read-pretty"?: boolean;
|
|
411
|
+
"x-compile-omitted"?: string[];
|
|
412
|
+
}>;
|
|
413
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
414
|
+
|
|
415
|
+
export declare const CommonFilter: DefineComponent<ExtractPropTypes< {
|
|
416
|
+
filterFields: {
|
|
417
|
+
type: PropType<ISchema>;
|
|
418
|
+
default: () => {};
|
|
419
|
+
};
|
|
420
|
+
maxColumns: {
|
|
421
|
+
type: NumberConstructor;
|
|
422
|
+
default: number;
|
|
423
|
+
};
|
|
424
|
+
operateActions: {
|
|
425
|
+
type: PropType<IOperateActions>;
|
|
426
|
+
default: () => {};
|
|
427
|
+
};
|
|
428
|
+
effectHooks: {
|
|
429
|
+
type: PropType<IEffectHooks>;
|
|
430
|
+
default: () => {};
|
|
431
|
+
};
|
|
432
|
+
pageKey: {
|
|
433
|
+
type: StringConstructor;
|
|
434
|
+
default: string;
|
|
435
|
+
};
|
|
436
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
437
|
+
filterFields: {
|
|
438
|
+
type: PropType<ISchema>;
|
|
439
|
+
default: () => {};
|
|
440
|
+
};
|
|
441
|
+
maxColumns: {
|
|
442
|
+
type: NumberConstructor;
|
|
443
|
+
default: number;
|
|
444
|
+
};
|
|
445
|
+
operateActions: {
|
|
446
|
+
type: PropType<IOperateActions>;
|
|
447
|
+
default: () => {};
|
|
448
|
+
};
|
|
449
|
+
effectHooks: {
|
|
450
|
+
type: PropType<IEffectHooks>;
|
|
451
|
+
default: () => {};
|
|
452
|
+
};
|
|
453
|
+
pageKey: {
|
|
454
|
+
type: StringConstructor;
|
|
455
|
+
default: string;
|
|
456
|
+
};
|
|
457
|
+
}>> & Readonly<{}>, {
|
|
458
|
+
maxColumns: number;
|
|
459
|
+
pageKey: string;
|
|
460
|
+
effectHooks: IEffectHooks;
|
|
461
|
+
filterFields: Stringify< {
|
|
462
|
+
[key: symbol]: any;
|
|
463
|
+
[key: `x-${string}`]: any;
|
|
464
|
+
[key: `x-${number}`]: any;
|
|
465
|
+
version?: string;
|
|
466
|
+
name?: SchemaKey;
|
|
467
|
+
title?: any;
|
|
468
|
+
description?: any;
|
|
469
|
+
default?: any;
|
|
470
|
+
readOnly?: boolean;
|
|
471
|
+
writeOnly?: boolean;
|
|
472
|
+
type?: SchemaTypes;
|
|
473
|
+
enum?: SchemaEnum<any>;
|
|
474
|
+
const?: any;
|
|
475
|
+
multipleOf?: number;
|
|
476
|
+
maximum?: number;
|
|
477
|
+
exclusiveMaximum?: number;
|
|
478
|
+
minimum?: number;
|
|
479
|
+
exclusiveMinimum?: number;
|
|
480
|
+
maxLength?: number;
|
|
481
|
+
minLength?: number;
|
|
482
|
+
pattern?: string | RegExp;
|
|
483
|
+
maxItems?: number;
|
|
484
|
+
minItems?: number;
|
|
485
|
+
uniqueItems?: boolean;
|
|
486
|
+
maxProperties?: number;
|
|
487
|
+
minProperties?: number;
|
|
488
|
+
required?: string[] | boolean | string;
|
|
489
|
+
format?: string;
|
|
490
|
+
$ref?: string;
|
|
491
|
+
$namespace?: string;
|
|
492
|
+
definitions?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
493
|
+
properties?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
494
|
+
items?: SchemaItems<any, any, any, any, any, any, any, any>;
|
|
495
|
+
additionalItems?: Stringify<any>;
|
|
496
|
+
patternProperties?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
497
|
+
additionalProperties?: Stringify<any>;
|
|
498
|
+
"x-value"?: any;
|
|
499
|
+
"x-index"?: number;
|
|
500
|
+
"x-pattern"?: any;
|
|
501
|
+
"x-display"?: any;
|
|
502
|
+
"x-validator"?: any;
|
|
503
|
+
"x-decorator"?: any;
|
|
504
|
+
"x-decorator-props"?: any;
|
|
505
|
+
"x-component"?: any;
|
|
506
|
+
"x-component-props"?: any;
|
|
507
|
+
"x-reactions"?: SchemaReactions<any>;
|
|
508
|
+
"x-content"?: any;
|
|
509
|
+
"x-data"?: any;
|
|
510
|
+
"x-visible"?: boolean;
|
|
511
|
+
"x-hidden"?: boolean;
|
|
512
|
+
"x-disabled"?: boolean;
|
|
513
|
+
"x-editable"?: boolean;
|
|
514
|
+
"x-read-only"?: boolean;
|
|
515
|
+
"x-read-pretty"?: boolean;
|
|
516
|
+
"x-compile-omitted"?: string[];
|
|
517
|
+
}>;
|
|
518
|
+
operateActions: IOperateActions;
|
|
519
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
520
|
+
|
|
521
|
+
export declare const CommonJsonPretty: DefineComponent< {}, () => VNode<RendererNode, RendererElement, {
|
|
522
|
+
[key: string]: any;
|
|
523
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
524
|
+
|
|
525
|
+
export declare const CommonLocations: DefineComponent<ExtractPropTypes< {
|
|
526
|
+
/** value */
|
|
527
|
+
value: {
|
|
528
|
+
type: PropType<string[]>;
|
|
529
|
+
default: () => any[];
|
|
530
|
+
};
|
|
531
|
+
/** 主要用于做数据回显 */
|
|
532
|
+
options: {
|
|
533
|
+
type: PropType<ILocationItem[]>;
|
|
534
|
+
default: () => any[];
|
|
535
|
+
};
|
|
536
|
+
/** 禁用 */
|
|
537
|
+
disabled: {
|
|
538
|
+
type: BooleanConstructor;
|
|
539
|
+
default: boolean;
|
|
540
|
+
};
|
|
541
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
542
|
+
/** value */
|
|
543
|
+
value: {
|
|
544
|
+
type: PropType<string[]>;
|
|
545
|
+
default: () => any[];
|
|
546
|
+
};
|
|
547
|
+
/** 主要用于做数据回显 */
|
|
548
|
+
options: {
|
|
549
|
+
type: PropType<ILocationItem[]>;
|
|
550
|
+
default: () => any[];
|
|
551
|
+
};
|
|
552
|
+
/** 禁用 */
|
|
553
|
+
disabled: {
|
|
554
|
+
type: BooleanConstructor;
|
|
555
|
+
default: boolean;
|
|
556
|
+
};
|
|
557
|
+
}>> & Readonly<{}>, {
|
|
558
|
+
value: string[];
|
|
559
|
+
disabled: boolean;
|
|
560
|
+
options: ILocationItem[];
|
|
561
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
562
|
+
|
|
563
|
+
export declare const CommonModal: DefineComponent<ExtractPropTypes< {
|
|
564
|
+
/** 标题 */
|
|
565
|
+
title: {
|
|
566
|
+
type: StringConstructor;
|
|
567
|
+
default: string;
|
|
568
|
+
};
|
|
569
|
+
/** 宽度 */
|
|
570
|
+
size: {
|
|
571
|
+
type: StringConstructor;
|
|
572
|
+
default: string;
|
|
573
|
+
};
|
|
574
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "close"[], "close", PublicProps, Readonly<ExtractPropTypes< {
|
|
575
|
+
/** 标题 */
|
|
576
|
+
title: {
|
|
577
|
+
type: StringConstructor;
|
|
578
|
+
default: string;
|
|
579
|
+
};
|
|
580
|
+
/** 宽度 */
|
|
581
|
+
size: {
|
|
582
|
+
type: StringConstructor;
|
|
583
|
+
default: string;
|
|
584
|
+
};
|
|
585
|
+
}>> & Readonly<{
|
|
586
|
+
onClose?: (...args: any[]) => any;
|
|
587
|
+
}>, {
|
|
588
|
+
title: string;
|
|
589
|
+
size: string;
|
|
590
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
591
|
+
|
|
592
|
+
export declare const CommonPage: DefineComponent<ExtractPropTypes< {
|
|
593
|
+
/** fields */
|
|
594
|
+
fields: {
|
|
595
|
+
type: PropType<IField[] | Ref<IField[]>>;
|
|
596
|
+
default: () => any[];
|
|
597
|
+
};
|
|
598
|
+
/** 获取列表 */
|
|
599
|
+
listApi: {
|
|
600
|
+
type: PropType<IListApi>;
|
|
601
|
+
default: any;
|
|
602
|
+
};
|
|
603
|
+
/** 创建 */
|
|
604
|
+
createApi: {
|
|
605
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
606
|
+
default: any;
|
|
607
|
+
};
|
|
608
|
+
/** 编辑 */
|
|
609
|
+
editApi: {
|
|
610
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
611
|
+
default: any;
|
|
612
|
+
};
|
|
613
|
+
/** 下载 */
|
|
614
|
+
downloadApi: {
|
|
615
|
+
type: PropType<(p?: ICommonObj) => Promise<ICommonObj>>;
|
|
616
|
+
default: any;
|
|
617
|
+
};
|
|
618
|
+
/** 导出 */
|
|
619
|
+
exportApi: {
|
|
620
|
+
type: PropType<(p?: ICommonObj) => Promise<ICommonObj>>;
|
|
621
|
+
default: any;
|
|
622
|
+
};
|
|
623
|
+
/** 格式化列表接口入参 */
|
|
624
|
+
formatListParams: {
|
|
625
|
+
type: PropType<(p: any) => any>;
|
|
626
|
+
default: any;
|
|
627
|
+
};
|
|
628
|
+
/** 格式化创建&编辑接口入参 */
|
|
629
|
+
formatEditParams: {
|
|
630
|
+
type: PropType<(p: any) => any>;
|
|
631
|
+
default: any;
|
|
632
|
+
};
|
|
633
|
+
/** 格式化创建&编辑接口入参 */
|
|
634
|
+
formatExportParams: {
|
|
635
|
+
type: PropType<(p: any) => any>;
|
|
636
|
+
default: any;
|
|
637
|
+
};
|
|
638
|
+
/** 页面标识 */
|
|
639
|
+
pageKey: {
|
|
640
|
+
type: StringConstructor;
|
|
641
|
+
default: string;
|
|
642
|
+
};
|
|
643
|
+
/** 行标识 */
|
|
644
|
+
rowKey: {
|
|
645
|
+
type: StringConstructor;
|
|
646
|
+
default: string;
|
|
647
|
+
};
|
|
648
|
+
/** 可选择 */
|
|
649
|
+
selectable: {
|
|
650
|
+
type: BooleanConstructor;
|
|
651
|
+
default: boolean;
|
|
652
|
+
};
|
|
653
|
+
/** 选择配置 */
|
|
654
|
+
selectOptions: {
|
|
655
|
+
type: PropType<(row?: any, index?: number) => boolean>;
|
|
656
|
+
default: () => boolean;
|
|
657
|
+
};
|
|
658
|
+
/** 选中值 */
|
|
659
|
+
selected: {
|
|
660
|
+
type: ArrayConstructor;
|
|
661
|
+
default: () => any[];
|
|
662
|
+
};
|
|
663
|
+
/** 表格展开区域渲染器 */
|
|
664
|
+
expandedRowRender: {
|
|
665
|
+
type: PropType<(p: IExpandedRowRenderParams) => VNode>;
|
|
666
|
+
default: any;
|
|
667
|
+
};
|
|
668
|
+
/** 需要分页 */
|
|
669
|
+
needPagination: {
|
|
670
|
+
type: BooleanConstructor;
|
|
671
|
+
default: boolean;
|
|
672
|
+
};
|
|
673
|
+
/** 分页配置 */
|
|
674
|
+
paginationConfig: {
|
|
675
|
+
type: ObjectConstructor;
|
|
676
|
+
default: () => {};
|
|
677
|
+
};
|
|
678
|
+
/** 筛选区域栅格数量 */
|
|
679
|
+
filterColumns: {
|
|
680
|
+
type: NumberConstructor;
|
|
681
|
+
default: number;
|
|
682
|
+
};
|
|
683
|
+
/** 编辑器样式 */
|
|
684
|
+
editorLayout: {
|
|
685
|
+
type: PropType<IEditorLayout>;
|
|
686
|
+
default: () => {
|
|
687
|
+
size: string;
|
|
688
|
+
columns: number;
|
|
689
|
+
labelStyle: {
|
|
690
|
+
width: string;
|
|
691
|
+
margin: string;
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
/** 刷新 */
|
|
696
|
+
refreshable: {
|
|
697
|
+
type: BooleanConstructor;
|
|
698
|
+
default: boolean;
|
|
699
|
+
};
|
|
700
|
+
/** 单行操作栏 */
|
|
701
|
+
singleActionBar: {
|
|
702
|
+
type: BooleanConstructor;
|
|
703
|
+
default: boolean;
|
|
704
|
+
};
|
|
705
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
706
|
+
/** fields */
|
|
707
|
+
fields: {
|
|
708
|
+
type: PropType<IField[] | Ref<IField[]>>;
|
|
709
|
+
default: () => any[];
|
|
710
|
+
};
|
|
711
|
+
/** 获取列表 */
|
|
712
|
+
listApi: {
|
|
713
|
+
type: PropType<IListApi>;
|
|
714
|
+
default: any;
|
|
715
|
+
};
|
|
716
|
+
/** 创建 */
|
|
717
|
+
createApi: {
|
|
718
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
719
|
+
default: any;
|
|
720
|
+
};
|
|
721
|
+
/** 编辑 */
|
|
722
|
+
editApi: {
|
|
723
|
+
type: PropType<(p: ICommonObj) => Promise<ICommonObj>>;
|
|
724
|
+
default: any;
|
|
725
|
+
};
|
|
726
|
+
/** 下载 */
|
|
727
|
+
downloadApi: {
|
|
728
|
+
type: PropType<(p?: ICommonObj) => Promise<ICommonObj>>;
|
|
729
|
+
default: any;
|
|
730
|
+
};
|
|
731
|
+
/** 导出 */
|
|
732
|
+
exportApi: {
|
|
733
|
+
type: PropType<(p?: ICommonObj) => Promise<ICommonObj>>;
|
|
734
|
+
default: any;
|
|
735
|
+
};
|
|
736
|
+
/** 格式化列表接口入参 */
|
|
737
|
+
formatListParams: {
|
|
738
|
+
type: PropType<(p: any) => any>;
|
|
739
|
+
default: any;
|
|
740
|
+
};
|
|
741
|
+
/** 格式化创建&编辑接口入参 */
|
|
742
|
+
formatEditParams: {
|
|
743
|
+
type: PropType<(p: any) => any>;
|
|
744
|
+
default: any;
|
|
745
|
+
};
|
|
746
|
+
/** 格式化创建&编辑接口入参 */
|
|
747
|
+
formatExportParams: {
|
|
748
|
+
type: PropType<(p: any) => any>;
|
|
749
|
+
default: any;
|
|
750
|
+
};
|
|
751
|
+
/** 页面标识 */
|
|
752
|
+
pageKey: {
|
|
753
|
+
type: StringConstructor;
|
|
754
|
+
default: string;
|
|
755
|
+
};
|
|
756
|
+
/** 行标识 */
|
|
757
|
+
rowKey: {
|
|
758
|
+
type: StringConstructor;
|
|
759
|
+
default: string;
|
|
760
|
+
};
|
|
761
|
+
/** 可选择 */
|
|
762
|
+
selectable: {
|
|
763
|
+
type: BooleanConstructor;
|
|
764
|
+
default: boolean;
|
|
765
|
+
};
|
|
766
|
+
/** 选择配置 */
|
|
767
|
+
selectOptions: {
|
|
768
|
+
type: PropType<(row?: any, index?: number) => boolean>;
|
|
769
|
+
default: () => boolean;
|
|
770
|
+
};
|
|
771
|
+
/** 选中值 */
|
|
772
|
+
selected: {
|
|
773
|
+
type: ArrayConstructor;
|
|
774
|
+
default: () => any[];
|
|
775
|
+
};
|
|
776
|
+
/** 表格展开区域渲染器 */
|
|
777
|
+
expandedRowRender: {
|
|
778
|
+
type: PropType<(p: IExpandedRowRenderParams) => VNode>;
|
|
779
|
+
default: any;
|
|
780
|
+
};
|
|
781
|
+
/** 需要分页 */
|
|
782
|
+
needPagination: {
|
|
783
|
+
type: BooleanConstructor;
|
|
784
|
+
default: boolean;
|
|
785
|
+
};
|
|
786
|
+
/** 分页配置 */
|
|
787
|
+
paginationConfig: {
|
|
788
|
+
type: ObjectConstructor;
|
|
789
|
+
default: () => {};
|
|
790
|
+
};
|
|
791
|
+
/** 筛选区域栅格数量 */
|
|
792
|
+
filterColumns: {
|
|
793
|
+
type: NumberConstructor;
|
|
794
|
+
default: number;
|
|
795
|
+
};
|
|
796
|
+
/** 编辑器样式 */
|
|
797
|
+
editorLayout: {
|
|
798
|
+
type: PropType<IEditorLayout>;
|
|
799
|
+
default: () => {
|
|
800
|
+
size: string;
|
|
801
|
+
columns: number;
|
|
802
|
+
labelStyle: {
|
|
803
|
+
width: string;
|
|
804
|
+
margin: string;
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
/** 刷新 */
|
|
809
|
+
refreshable: {
|
|
810
|
+
type: BooleanConstructor;
|
|
811
|
+
default: boolean;
|
|
812
|
+
};
|
|
813
|
+
/** 单行操作栏 */
|
|
814
|
+
singleActionBar: {
|
|
815
|
+
type: BooleanConstructor;
|
|
816
|
+
default: boolean;
|
|
817
|
+
};
|
|
818
|
+
}>> & Readonly<{}>, {
|
|
819
|
+
pageKey: string;
|
|
820
|
+
selected: unknown[];
|
|
821
|
+
fields: IField[] | Ref<IField[], IField[]>;
|
|
822
|
+
rowKey: string;
|
|
823
|
+
listApi: IListApi;
|
|
824
|
+
formatListParams: (p: any) => any;
|
|
825
|
+
selectable: boolean;
|
|
826
|
+
selectOptions: (row?: any, index?: number) => boolean;
|
|
827
|
+
expandedRowRender: (p: IExpandedRowRenderParams) => VNode;
|
|
828
|
+
paginationConfig: Record<string, any>;
|
|
829
|
+
needPagination: boolean;
|
|
830
|
+
createApi: (p: ICommonObj) => Promise<ICommonObj>;
|
|
831
|
+
editApi: (p: ICommonObj) => Promise<ICommonObj>;
|
|
832
|
+
formatEditParams: (p: any) => any;
|
|
833
|
+
downloadApi: (p?: ICommonObj) => Promise<ICommonObj>;
|
|
834
|
+
exportApi: (p?: ICommonObj) => Promise<ICommonObj>;
|
|
835
|
+
formatExportParams: (p: any) => any;
|
|
836
|
+
filterColumns: number;
|
|
837
|
+
editorLayout: IEditorLayout;
|
|
838
|
+
refreshable: boolean;
|
|
839
|
+
singleActionBar: boolean;
|
|
840
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
841
|
+
|
|
842
|
+
export declare const CommonTable: DefineComponent<
|
|
843
|
+
/** props */
|
|
844
|
+
typeof props & {
|
|
845
|
+
key: any;
|
|
846
|
+
} & Partial<TableProps<any>>,
|
|
847
|
+
/** setup return */
|
|
848
|
+
{},
|
|
849
|
+
/** 没人用,vue2的data */
|
|
850
|
+
{},
|
|
851
|
+
/** 没人用,vue2的computed */
|
|
852
|
+
{},
|
|
853
|
+
/** 没人用,vue2的method */
|
|
854
|
+
{},
|
|
855
|
+
/** 没人用,mixin */
|
|
856
|
+
{},
|
|
857
|
+
/** 没人用,extends */
|
|
858
|
+
{},
|
|
859
|
+
/** emits */
|
|
860
|
+
["update:selected", "rowClick"]>;
|
|
861
|
+
|
|
862
|
+
declare const composeFormTab: {
|
|
863
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
864
|
+
formTab: {
|
|
865
|
+
type: PropType<IFormTab>;
|
|
866
|
+
};
|
|
867
|
+
value: {
|
|
868
|
+
type: StringConstructor;
|
|
869
|
+
};
|
|
870
|
+
customValue: {
|
|
871
|
+
type: StringConstructor;
|
|
872
|
+
};
|
|
873
|
+
disabled: {
|
|
874
|
+
type: BooleanConstructor;
|
|
875
|
+
};
|
|
876
|
+
}>> & Readonly<{
|
|
877
|
+
onInput?: (...args: any[]) => any;
|
|
878
|
+
}>, () => any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "input"[], PublicProps, {
|
|
879
|
+
disabled: boolean;
|
|
880
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
881
|
+
P: {};
|
|
882
|
+
B: {};
|
|
883
|
+
D: {};
|
|
884
|
+
C: {};
|
|
885
|
+
M: {};
|
|
886
|
+
Defaults: {};
|
|
887
|
+
}, Readonly<ExtractPropTypes< {
|
|
888
|
+
formTab: {
|
|
889
|
+
type: PropType<IFormTab>;
|
|
890
|
+
};
|
|
891
|
+
value: {
|
|
892
|
+
type: StringConstructor;
|
|
893
|
+
};
|
|
894
|
+
customValue: {
|
|
895
|
+
type: StringConstructor;
|
|
896
|
+
};
|
|
897
|
+
disabled: {
|
|
898
|
+
type: BooleanConstructor;
|
|
899
|
+
};
|
|
900
|
+
}>> & Readonly<{
|
|
901
|
+
onInput?: (...args: any[]) => any;
|
|
902
|
+
}>, () => any, {}, {}, {}, {
|
|
903
|
+
disabled: boolean;
|
|
904
|
+
}>;
|
|
905
|
+
__isFragment?: never;
|
|
906
|
+
__isTeleport?: never;
|
|
907
|
+
__isSuspense?: never;
|
|
908
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
909
|
+
formTab: {
|
|
910
|
+
type: PropType<IFormTab>;
|
|
911
|
+
};
|
|
912
|
+
value: {
|
|
913
|
+
type: StringConstructor;
|
|
914
|
+
};
|
|
915
|
+
customValue: {
|
|
916
|
+
type: StringConstructor;
|
|
917
|
+
};
|
|
918
|
+
disabled: {
|
|
919
|
+
type: BooleanConstructor;
|
|
920
|
+
};
|
|
921
|
+
}>> & Readonly<{
|
|
922
|
+
onInput?: (...args: any[]) => any;
|
|
923
|
+
}>, () => any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "input"[], "input", {
|
|
924
|
+
disabled: boolean;
|
|
925
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
926
|
+
TabPane: DefineComponent<IFormTabPaneProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IFormTabPaneProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
927
|
+
createFormTab: (defaultActiveKey?: string) => {
|
|
928
|
+
activeKey: string;
|
|
929
|
+
setActiveKey(key: string): void;
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
export { composeFormTab as FormTab }
|
|
933
|
+
export { composeFormTab }
|
|
934
|
+
|
|
935
|
+
/** 布局默认值 */
|
|
936
|
+
export declare const defaultLayout: {
|
|
937
|
+
columns: number;
|
|
938
|
+
labelStyle: {
|
|
939
|
+
width: string;
|
|
940
|
+
margin: string;
|
|
941
|
+
};
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
export declare const ElIconPlus: DefineComponent<ExtractPropTypes< {
|
|
945
|
+
icon: {
|
|
946
|
+
type: PropType<VNode | Component>;
|
|
947
|
+
default: DefineComponent< {}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
948
|
+
};
|
|
949
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
950
|
+
icon: {
|
|
951
|
+
type: PropType<VNode | Component>;
|
|
952
|
+
default: DefineComponent< {}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
953
|
+
};
|
|
954
|
+
}>> & Readonly<{}>, {
|
|
955
|
+
icon: DefineComponent< {}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
956
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
957
|
+
|
|
958
|
+
/** fieldEffectsMap */
|
|
959
|
+
declare const fieldEffectsMap: {
|
|
960
|
+
readonly onFieldInit: typeof onFieldInit;
|
|
961
|
+
readonly onFieldMount: (pattern: FormPathPattern, callback: (field: GeneralField, form: Form) => void) => void;
|
|
962
|
+
readonly onFieldUnmount: (pattern: FormPathPattern, callback: (field: GeneralField, form: Form) => void) => void;
|
|
963
|
+
readonly onFieldReact: typeof onFieldReact;
|
|
964
|
+
readonly onFieldChange: typeof onFieldChange;
|
|
965
|
+
readonly onFieldValueChange: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;
|
|
966
|
+
readonly onFieldInitialValueChange: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;
|
|
967
|
+
readonly onFieldInputValueChange: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;
|
|
968
|
+
readonly onFieldValidateStart: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;
|
|
969
|
+
readonly onFieldValidateEnd: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;
|
|
970
|
+
readonly onFieldValidateFailed: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;
|
|
971
|
+
readonly onFieldValidateSuccess: (pattern: FormPathPattern, callback: (field: DataField, form: Form) => void) => void;
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
/** formEffectsMap */
|
|
975
|
+
declare const formEffectsMap: {
|
|
976
|
+
readonly onFormInit: (callback: (form: Form) => void) => void;
|
|
977
|
+
readonly onFormMount: (callback: (form: Form) => void) => void;
|
|
978
|
+
readonly onFormUnmount: (callback: (form: Form) => void) => void;
|
|
979
|
+
readonly onFormReact: typeof onFormReact;
|
|
980
|
+
readonly onFormValuesChange: (callback: (form: Form) => void) => void;
|
|
981
|
+
readonly onFormInitialValuesChange: (callback: (form: Form) => void) => void;
|
|
982
|
+
readonly onFormInputChange: (callback: (form: Form) => void) => void;
|
|
983
|
+
readonly onFormSubmit: (callback: (form: Form) => void) => void;
|
|
984
|
+
readonly onFormSubmitStart: (callback: (form: Form) => void) => void;
|
|
985
|
+
readonly onFormSubmitEnd: (callback: (form: Form) => void) => void;
|
|
986
|
+
readonly onFormSubmitFailed: (callback: (form: Form) => void) => void;
|
|
987
|
+
readonly onFormSubmitSuccess: (callback: (form: Form) => void) => void;
|
|
988
|
+
readonly onFormSubmitValidateStart: (callback: (form: Form) => void) => void;
|
|
989
|
+
readonly onFormSubmitValidateEnd: (callback: (form: Form) => void) => void;
|
|
990
|
+
readonly onFormSubmitValidateFailed: (callback: (form: Form) => void) => void;
|
|
991
|
+
readonly onFormSubmitValidateSuccess: (callback: (form: Form) => void) => void;
|
|
992
|
+
readonly onFormValidateStart: (callback: (form: Form) => void) => void;
|
|
993
|
+
readonly onFormValidateEnd: (callback: (form: Form) => void) => void;
|
|
994
|
+
readonly onFormValidateFailed: (callback: (form: Form) => void) => void;
|
|
995
|
+
readonly onFormValidateSuccess: (callback: (form: Form) => void) => void;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
export declare const FormilyCommonJsonPretty: DefineComponent< {}, () => VNode<RendererNode, RendererElement, {
|
|
999
|
+
[key: string]: any;
|
|
1000
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1001
|
+
|
|
1002
|
+
export declare const FormilyForm: DefineComponent<ExtractPropTypes< {
|
|
1003
|
+
/** schema配置 */
|
|
1004
|
+
config: {
|
|
1005
|
+
type: PropType<ISchema_2>;
|
|
1006
|
+
default: () => {};
|
|
1007
|
+
};
|
|
1008
|
+
/** 初始值 */
|
|
1009
|
+
initialValues: {
|
|
1010
|
+
type: ObjectConstructor;
|
|
1011
|
+
default: () => {};
|
|
1012
|
+
};
|
|
1013
|
+
/** effectHooks */
|
|
1014
|
+
effectHooks: {
|
|
1015
|
+
type: PropType<IEffectHooks>;
|
|
1016
|
+
default: () => {};
|
|
1017
|
+
};
|
|
1018
|
+
/** effects 原生effects,满足高阶场景 */
|
|
1019
|
+
effects: {
|
|
1020
|
+
type: FunctionConstructor;
|
|
1021
|
+
default: any;
|
|
1022
|
+
};
|
|
1023
|
+
/** 需要注册的组件 */
|
|
1024
|
+
components: {
|
|
1025
|
+
type: ObjectConstructor;
|
|
1026
|
+
default: () => {};
|
|
1027
|
+
};
|
|
1028
|
+
/** 额外能力 */
|
|
1029
|
+
scope: {
|
|
1030
|
+
type: ObjectConstructor;
|
|
1031
|
+
default: () => {};
|
|
1032
|
+
};
|
|
1033
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1034
|
+
/** schema配置 */
|
|
1035
|
+
config: {
|
|
1036
|
+
type: PropType<ISchema_2>;
|
|
1037
|
+
default: () => {};
|
|
1038
|
+
};
|
|
1039
|
+
/** 初始值 */
|
|
1040
|
+
initialValues: {
|
|
1041
|
+
type: ObjectConstructor;
|
|
1042
|
+
default: () => {};
|
|
1043
|
+
};
|
|
1044
|
+
/** effectHooks */
|
|
1045
|
+
effectHooks: {
|
|
1046
|
+
type: PropType<IEffectHooks>;
|
|
1047
|
+
default: () => {};
|
|
1048
|
+
};
|
|
1049
|
+
/** effects 原生effects,满足高阶场景 */
|
|
1050
|
+
effects: {
|
|
1051
|
+
type: FunctionConstructor;
|
|
1052
|
+
default: any;
|
|
1053
|
+
};
|
|
1054
|
+
/** 需要注册的组件 */
|
|
1055
|
+
components: {
|
|
1056
|
+
type: ObjectConstructor;
|
|
1057
|
+
default: () => {};
|
|
1058
|
+
};
|
|
1059
|
+
/** 额外能力 */
|
|
1060
|
+
scope: {
|
|
1061
|
+
type: ObjectConstructor;
|
|
1062
|
+
default: () => {};
|
|
1063
|
+
};
|
|
1064
|
+
}>> & Readonly<{}>, {
|
|
1065
|
+
components: Record<string, any>;
|
|
1066
|
+
config: Stringify< {
|
|
1067
|
+
[key: symbol]: any;
|
|
1068
|
+
[key: `x-${string}`]: any;
|
|
1069
|
+
[key: `x-${number}`]: any;
|
|
1070
|
+
version?: string;
|
|
1071
|
+
name?: SchemaKey;
|
|
1072
|
+
title?: any;
|
|
1073
|
+
description?: any;
|
|
1074
|
+
default?: any;
|
|
1075
|
+
readOnly?: boolean;
|
|
1076
|
+
writeOnly?: boolean;
|
|
1077
|
+
type?: SchemaTypes;
|
|
1078
|
+
enum?: SchemaEnum<any>;
|
|
1079
|
+
const?: any;
|
|
1080
|
+
multipleOf?: number;
|
|
1081
|
+
maximum?: number;
|
|
1082
|
+
exclusiveMaximum?: number;
|
|
1083
|
+
minimum?: number;
|
|
1084
|
+
exclusiveMinimum?: number;
|
|
1085
|
+
maxLength?: number;
|
|
1086
|
+
minLength?: number;
|
|
1087
|
+
pattern?: string | RegExp;
|
|
1088
|
+
maxItems?: number;
|
|
1089
|
+
minItems?: number;
|
|
1090
|
+
uniqueItems?: boolean;
|
|
1091
|
+
maxProperties?: number;
|
|
1092
|
+
minProperties?: number;
|
|
1093
|
+
required?: string[] | boolean | string;
|
|
1094
|
+
format?: string;
|
|
1095
|
+
$ref?: string;
|
|
1096
|
+
$namespace?: string;
|
|
1097
|
+
definitions?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
1098
|
+
properties?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
1099
|
+
items?: SchemaItems<any, any, any, any, any, any, any, any>;
|
|
1100
|
+
additionalItems?: Stringify<any>;
|
|
1101
|
+
patternProperties?: SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
1102
|
+
additionalProperties?: Stringify<any>;
|
|
1103
|
+
"x-value"?: any;
|
|
1104
|
+
"x-index"?: number;
|
|
1105
|
+
"x-pattern"?: any;
|
|
1106
|
+
"x-display"?: any;
|
|
1107
|
+
"x-validator"?: any;
|
|
1108
|
+
"x-decorator"?: any;
|
|
1109
|
+
"x-decorator-props"?: any;
|
|
1110
|
+
"x-component"?: any;
|
|
1111
|
+
"x-component-props"?: any;
|
|
1112
|
+
"x-reactions"?: SchemaReactions<any>;
|
|
1113
|
+
"x-content"?: any;
|
|
1114
|
+
"x-data"?: any;
|
|
1115
|
+
"x-visible"?: boolean;
|
|
1116
|
+
"x-hidden"?: boolean;
|
|
1117
|
+
"x-disabled"?: boolean;
|
|
1118
|
+
"x-editable"?: boolean;
|
|
1119
|
+
"x-read-only"?: boolean;
|
|
1120
|
+
"x-read-pretty"?: boolean;
|
|
1121
|
+
"x-compile-omitted"?: string[];
|
|
1122
|
+
}>;
|
|
1123
|
+
initialValues: Record<string, any>;
|
|
1124
|
+
effectHooks: IEffectHooks;
|
|
1125
|
+
effects: Function;
|
|
1126
|
+
scope: Record<string, any>;
|
|
1127
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1128
|
+
|
|
1129
|
+
export declare const FormTabs: DefineComponent<ExtractPropTypes< {
|
|
1130
|
+
/**
|
|
1131
|
+
* formTabs的结构模型
|
|
1132
|
+
* @description 注意:ElTabPane的name就是当前ISchema['properties']的key
|
|
1133
|
+
*/
|
|
1134
|
+
schema: {
|
|
1135
|
+
type: PropType<ISchema["properties"]>;
|
|
1136
|
+
default: () => {};
|
|
1137
|
+
};
|
|
1138
|
+
/** ElTabPane的组件的data,可以为任意类型 */
|
|
1139
|
+
tabPaneData: {
|
|
1140
|
+
type: (ObjectConstructor | ArrayConstructor)[];
|
|
1141
|
+
default: any;
|
|
1142
|
+
};
|
|
1143
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1144
|
+
/**
|
|
1145
|
+
* formTabs的结构模型
|
|
1146
|
+
* @description 注意:ElTabPane的name就是当前ISchema['properties']的key
|
|
1147
|
+
*/
|
|
1148
|
+
schema: {
|
|
1149
|
+
type: PropType<ISchema["properties"]>;
|
|
1150
|
+
default: () => {};
|
|
1151
|
+
};
|
|
1152
|
+
/** ElTabPane的组件的data,可以为任意类型 */
|
|
1153
|
+
tabPaneData: {
|
|
1154
|
+
type: (ObjectConstructor | ArrayConstructor)[];
|
|
1155
|
+
default: any;
|
|
1156
|
+
};
|
|
1157
|
+
}>> & Readonly<{}>, {
|
|
1158
|
+
schema: (string & {}) | SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
1159
|
+
tabPaneData: Record<string, any> | unknown[];
|
|
1160
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1161
|
+
|
|
1162
|
+
export declare const Fragment: DefineComponent< {}, () => VNode<RendererNode, RendererElement, {
|
|
1163
|
+
[key: string]: any;
|
|
1164
|
+
}>[], {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1165
|
+
|
|
1166
|
+
/** 全选节点 */
|
|
1167
|
+
export declare interface IAllNode extends Omit<IBasicGroupNode, 'children'> {
|
|
1168
|
+
type: Type.IS_ALL;
|
|
1169
|
+
/** 子节点 */
|
|
1170
|
+
children: IIspNode[];
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
/** 根节点 */
|
|
1174
|
+
declare interface IBasicGroupNode extends Partial<Omit<ILocationItem, 'nodeId' | 'regionName' | 'subdivision' | 'city' | 'ispName' | 'friendlyArea'>> {
|
|
1175
|
+
/** 标题 */
|
|
1176
|
+
label: string;
|
|
1177
|
+
/** 选中部分 */
|
|
1178
|
+
isHalfChecked: boolean;
|
|
1179
|
+
/** 全选 */
|
|
1180
|
+
isAllChecked: boolean;
|
|
1181
|
+
/** 节点类型 */
|
|
1182
|
+
type: Type;
|
|
1183
|
+
/** 子节点 */
|
|
1184
|
+
children: ILeafNode[];
|
|
1185
|
+
/** 选中的子节点 */
|
|
1186
|
+
selectedChildren: string[];
|
|
1187
|
+
/** 根据子节点选中状态,检查更新自身的选中状态 */
|
|
1188
|
+
onCheck: () => void;
|
|
1189
|
+
/** 选中状态手动改变 */
|
|
1190
|
+
onChange: (p?: any) => void;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/** 展开收起所需数据 */
|
|
1194
|
+
export declare interface ICollapseData {
|
|
1195
|
+
/** 全量字段 */
|
|
1196
|
+
allFields: ISchema_2;
|
|
1197
|
+
/** 全量字段keys */
|
|
1198
|
+
allFieldKeys: string[];
|
|
1199
|
+
/** 可见字段keys */
|
|
1200
|
+
visibleFieldKeys: string[];
|
|
1201
|
+
/** 全量字段占位 */
|
|
1202
|
+
totalGridSpan: number;
|
|
1203
|
+
/** 可折叠 */
|
|
1204
|
+
collapsible: boolean;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/** 列配置 */
|
|
1208
|
+
declare interface IColumnConfig {
|
|
1209
|
+
/** 列宽度 */
|
|
1210
|
+
width?: number;
|
|
1211
|
+
/** 最小列宽 */
|
|
1212
|
+
minWidth?: number;
|
|
1213
|
+
/** 允许拖拽改变列宽 */
|
|
1214
|
+
resizable?: boolean;
|
|
1215
|
+
/** 最小可拖拽列宽 */
|
|
1216
|
+
resizeMinWidth?: number;
|
|
1217
|
+
/** 固定列 */
|
|
1218
|
+
fixed?: 'left' | 'right';
|
|
1219
|
+
/** 自定义单元格 */
|
|
1220
|
+
render?: ({ rowData, rowIndex }: IRowData) => VNode;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
/** ICommonDrawerExpose */
|
|
1224
|
+
export declare type ICommonDrawerExpose = {
|
|
1225
|
+
/** 打开抽屉 */
|
|
1226
|
+
open: () => void;
|
|
1227
|
+
/** 关闭抽屉 */
|
|
1228
|
+
close: () => void;
|
|
1229
|
+
};
|
|
1230
|
+
|
|
1231
|
+
/** CommonEditor出参 */
|
|
1232
|
+
export declare type ICommonEditorExpose = {
|
|
1233
|
+
/** 打开抽屉 */
|
|
1234
|
+
open: (p: IOpenParams) => Promise<void>;
|
|
1235
|
+
/** 获取Form实例 */
|
|
1236
|
+
getForm: () => Form;
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
/** CommonFilter出参 */
|
|
1240
|
+
export declare type ICommonFilterExpose = {
|
|
1241
|
+
/** 可折叠 */
|
|
1242
|
+
collapseData: ICollapseData;
|
|
1243
|
+
/** 展开收起 */
|
|
1244
|
+
visible: boolean;
|
|
1245
|
+
/** 展开收起 */
|
|
1246
|
+
collapse: () => void;
|
|
1247
|
+
/** 缓存筛选项数据 */
|
|
1248
|
+
keepFilter: (params: ICommonObj) => void;
|
|
1249
|
+
/** 获取form实例 */
|
|
1250
|
+
getForm: () => Form;
|
|
1251
|
+
/** 重置筛选条件 */
|
|
1252
|
+
reset: () => Promise<void>;
|
|
1253
|
+
/** 获取筛选器高度 */
|
|
1254
|
+
getCommonFilterHeight: () => number;
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
/** 获取列表出参 */
|
|
1258
|
+
declare interface ICommonGetListRes<L> {
|
|
1259
|
+
/** list */
|
|
1260
|
+
list: L;
|
|
1261
|
+
/** 分页信息 */
|
|
1262
|
+
pagination: {
|
|
1263
|
+
/** 页码 */
|
|
1264
|
+
page: number;
|
|
1265
|
+
/** 每页展示条数 */
|
|
1266
|
+
pageSize: number;
|
|
1267
|
+
/** 总条目 */
|
|
1268
|
+
total: number;
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/** CommonModal出参 */
|
|
1273
|
+
export declare interface ICommonModalExpose {
|
|
1274
|
+
/** 打开 */
|
|
1275
|
+
open: () => void;
|
|
1276
|
+
/** 关闭 */
|
|
1277
|
+
close: () => void;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/** 对象 */
|
|
1281
|
+
declare interface ICommonObj {
|
|
1282
|
+
[k: string]: any;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/** commonTable出参 */
|
|
1286
|
+
export declare interface ICommonTableExpose {
|
|
1287
|
+
/** page信息 会自动解包,所以无需Ref */
|
|
1288
|
+
pagination: IPagination | null;
|
|
1289
|
+
/** CommonTable内获取列表方法 */
|
|
1290
|
+
getList: IGetList;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
export declare const IconFont: DefineComponent<ExtractPropTypes< {
|
|
1294
|
+
/** 标识 */
|
|
1295
|
+
name: {
|
|
1296
|
+
type: StringConstructor;
|
|
1297
|
+
default: string;
|
|
1298
|
+
};
|
|
1299
|
+
/** font-size */
|
|
1300
|
+
size: {
|
|
1301
|
+
type: StringConstructor;
|
|
1302
|
+
default: string;
|
|
1303
|
+
};
|
|
1304
|
+
color: {
|
|
1305
|
+
type: StringConstructor;
|
|
1306
|
+
default: string;
|
|
1307
|
+
};
|
|
1308
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1309
|
+
/** 标识 */
|
|
1310
|
+
name: {
|
|
1311
|
+
type: StringConstructor;
|
|
1312
|
+
default: string;
|
|
1313
|
+
};
|
|
1314
|
+
/** font-size */
|
|
1315
|
+
size: {
|
|
1316
|
+
type: StringConstructor;
|
|
1317
|
+
default: string;
|
|
1318
|
+
};
|
|
1319
|
+
color: {
|
|
1320
|
+
type: StringConstructor;
|
|
1321
|
+
default: string;
|
|
1322
|
+
};
|
|
1323
|
+
}>> & Readonly<{}>, {
|
|
1324
|
+
name: string;
|
|
1325
|
+
size: string;
|
|
1326
|
+
color: string;
|
|
1327
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1328
|
+
|
|
1329
|
+
/** IEditorLayout */
|
|
1330
|
+
export declare interface IEditorLayout {
|
|
1331
|
+
/** 编辑器宽度 */
|
|
1332
|
+
size: string;
|
|
1333
|
+
/** 栅格列数 */
|
|
1334
|
+
columns: number;
|
|
1335
|
+
/** labelStyle */
|
|
1336
|
+
labelStyle: {
|
|
1337
|
+
/** 宽度 */
|
|
1338
|
+
width: string;
|
|
1339
|
+
/** 外边距 */
|
|
1340
|
+
margin: string;
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/** effectHooks【组件自定义】 */
|
|
1345
|
+
export declare interface IEffectHooks {
|
|
1346
|
+
/** IFormEffectHooks */
|
|
1347
|
+
formEffects?: IFormEffects;
|
|
1348
|
+
/** IFieldEffectHooks */
|
|
1349
|
+
fieldEffects?: IFieldEffects;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/** 展开区域渲染器props */
|
|
1353
|
+
export declare interface IExpandedRowRenderParams {
|
|
1354
|
+
/** index */
|
|
1355
|
+
$index: number;
|
|
1356
|
+
/** 展开 */
|
|
1357
|
+
expanded: boolean;
|
|
1358
|
+
/** 行信息 */
|
|
1359
|
+
row: ICommonObj;
|
|
1360
|
+
/** 暂时不知道作用 */
|
|
1361
|
+
store: ICommonObj;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
/** CommonPage出参 */
|
|
1365
|
+
export declare interface IExpose {
|
|
1366
|
+
/** 查询 */
|
|
1367
|
+
query: (p?: IQueryParams) => Promise<void>;
|
|
1368
|
+
/** 获取筛选区域表单实例 */
|
|
1369
|
+
getFilterForm: () => Form;
|
|
1370
|
+
/** 获取编辑区域表单实例 */
|
|
1371
|
+
getEditorForm: () => Form;
|
|
1372
|
+
/** page信息 */
|
|
1373
|
+
getPagination: () => IPagination;
|
|
1374
|
+
/** 更新table高度 */
|
|
1375
|
+
updateTableHeight: () => void;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/** 请求配置 */
|
|
1379
|
+
declare interface IFetchConfig {
|
|
1380
|
+
/** api */
|
|
1381
|
+
api: (p: any) => Promise<any>;
|
|
1382
|
+
/** 入参 */
|
|
1383
|
+
params?: any;
|
|
1384
|
+
/** 远程搜索 */
|
|
1385
|
+
remote?: boolean;
|
|
1386
|
+
/** 请求出参过滤器 */
|
|
1387
|
+
formatter?: (p: any) => any;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/** field完整配置 */
|
|
1391
|
+
export declare type IField = IFieldBase & ({
|
|
1392
|
+
columnConfig?: undefined;
|
|
1393
|
+
} | {
|
|
1394
|
+
/** 列 */
|
|
1395
|
+
isColumn: boolean;
|
|
1396
|
+
/** 列配置 */
|
|
1397
|
+
columnConfig: IColumnConfig;
|
|
1398
|
+
}) & ({
|
|
1399
|
+
editConfig?: undefined;
|
|
1400
|
+
} | {
|
|
1401
|
+
/** 编辑项 */
|
|
1402
|
+
isEdit: boolean;
|
|
1403
|
+
/** 编辑项配置(用于侧边栏的新增/查看/编辑状态) */
|
|
1404
|
+
editConfig: IFilterOrEditConfig;
|
|
1405
|
+
}) & ({
|
|
1406
|
+
filterConfig?: undefined;
|
|
1407
|
+
} | {
|
|
1408
|
+
/** 筛选项 */
|
|
1409
|
+
isFilter: boolean;
|
|
1410
|
+
/** 筛选项配置 */
|
|
1411
|
+
filterConfig: IFilterOrEditConfig;
|
|
1412
|
+
});
|
|
1413
|
+
|
|
1414
|
+
/** field基础配置 */
|
|
1415
|
+
declare interface IFieldBase {
|
|
1416
|
+
/** 字段标识 */
|
|
1417
|
+
prop: string;
|
|
1418
|
+
/** 字段label */
|
|
1419
|
+
label: string;
|
|
1420
|
+
/** 是列 */
|
|
1421
|
+
isColumn?: boolean;
|
|
1422
|
+
/** 列配置 */
|
|
1423
|
+
columnConfig?: IColumnConfig;
|
|
1424
|
+
/** 是筛选项 */
|
|
1425
|
+
isFilter?: boolean;
|
|
1426
|
+
/** 筛选项配置 */
|
|
1427
|
+
filterConfig?: IFilterOrEditConfig;
|
|
1428
|
+
/** 是编辑项 */
|
|
1429
|
+
isEdit?: boolean;
|
|
1430
|
+
/** 编辑项配置(用于侧边栏的新增/查看/编辑状态) */
|
|
1431
|
+
editConfig?: IFilterOrEditConfig;
|
|
1432
|
+
/** 请求配置 */
|
|
1433
|
+
fetchConfig?: IFetchConfig;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/** 字段归类 */
|
|
1437
|
+
export declare interface IFieldCategorize {
|
|
1438
|
+
/** 筛选项 */
|
|
1439
|
+
curFilterFields: ISchema_2['properties'];
|
|
1440
|
+
/** 筛选项 */
|
|
1441
|
+
curEditFields: ISchema_2['properties'];
|
|
1442
|
+
/** 表格列 */
|
|
1443
|
+
curColumns: IField[];
|
|
1444
|
+
/** 远程搜索配置 */
|
|
1445
|
+
curFetchEffects: IFieldEffects;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
/** fieldEffectsMap【formily api】 */
|
|
1449
|
+
export declare type IFieldEffect = {
|
|
1450
|
+
[K in keyof typeof fieldEffectsMap]?: (typeof fieldEffectsMap)[K];
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
/** IFieldEffectHooks【组件自定义】 */
|
|
1454
|
+
export declare interface IFieldEffects {
|
|
1455
|
+
[K: string]: IFieldEffect;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/** 筛选项/编辑项配置 */
|
|
1459
|
+
declare interface IFilterOrEditConfig extends Partial<ISchema_2> {
|
|
1460
|
+
/** 组件 */
|
|
1461
|
+
component?: DefineComponent;
|
|
1462
|
+
/** 组件props */
|
|
1463
|
+
componentProps?: ICommonObj;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/** formEffectsMap【formily api】 */
|
|
1467
|
+
export declare type IFormEffects = {
|
|
1468
|
+
[K in keyof typeof formEffectsMap]?: (typeof formEffectsMap)[K];
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
/** formilyFormExpose */
|
|
1472
|
+
export declare type IFormilyFormExpose = {
|
|
1473
|
+
/** form实例 */
|
|
1474
|
+
formRef: Form;
|
|
1475
|
+
/** 获取container容器 */
|
|
1476
|
+
getContainerRef: () => HTMLElement;
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
export declare interface IFormTab {
|
|
1480
|
+
activeKey: string;
|
|
1481
|
+
setActiveKey(key: string): void;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
export declare interface IFormTabPaneProps {
|
|
1485
|
+
key: string | number;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
export declare interface IFormTabProps {
|
|
1489
|
+
formTab?: IFormTab;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
/** CommonTable内获取列表方法 */
|
|
1493
|
+
declare type IGetList = (currentPage?: number, pageSize?: number, text?: string) => Promise<void>;
|
|
1494
|
+
|
|
1495
|
+
/** 叶子节点的父节点(唯一) */
|
|
1496
|
+
export declare interface IGroupNode extends IBasicGroupNode {
|
|
1497
|
+
/** 节点类型 */
|
|
1498
|
+
type: Type.IS_GROUP;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
/** 运营商节点 */
|
|
1502
|
+
export declare interface IIspNode extends IBasicGroupNode {
|
|
1503
|
+
type: Type.IS_ISP;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
/** 转换后数据 */
|
|
1507
|
+
/** 叶子节点 */
|
|
1508
|
+
export declare interface ILeafNode extends Partial<ILocationItem> {
|
|
1509
|
+
/** 标题 */
|
|
1510
|
+
label: string;
|
|
1511
|
+
/** 是否选中(废弃) */
|
|
1512
|
+
selected: boolean;
|
|
1513
|
+
/** 节点类型 */
|
|
1514
|
+
type: Type.IS_LEAF;
|
|
1515
|
+
/** 子节点 */
|
|
1516
|
+
children: [];
|
|
1517
|
+
/** 选中的子节点 */
|
|
1518
|
+
selectedChildren: [];
|
|
1519
|
+
/** 选中状态改变 */
|
|
1520
|
+
onChange: () => void;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
/** 获取列表 */
|
|
1524
|
+
declare type IListApi = (p?: ICommonObj) => Promise<ICommonGetListRes<any[]>>;
|
|
1525
|
+
|
|
1526
|
+
/** 位置(接口数据) */
|
|
1527
|
+
export declare interface ILocationItem {
|
|
1528
|
+
/** 节点id */
|
|
1529
|
+
nodeId: string;
|
|
1530
|
+
/** 所属地区id */
|
|
1531
|
+
regionId: string;
|
|
1532
|
+
/** 所属地区名称 */
|
|
1533
|
+
regionName: string;
|
|
1534
|
+
/** 所属省份 */
|
|
1535
|
+
subdivision: string;
|
|
1536
|
+
/** 所属城市 */
|
|
1537
|
+
city: string;
|
|
1538
|
+
/** 运营商唯一标识 */
|
|
1539
|
+
asn: string;
|
|
1540
|
+
/** 运营商 */
|
|
1541
|
+
ispName: string;
|
|
1542
|
+
/** 用于前端友好展示的区域名称,比如:浙江杭州电信 */
|
|
1543
|
+
friendlyArea: string;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/** 用于渲染的数据结构 */
|
|
1547
|
+
export declare type ILocations = {
|
|
1548
|
+
all?: IAllNode;
|
|
1549
|
+
} & {
|
|
1550
|
+
[K in Exclude<string, 'all'>]: IGroupNode;
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
/** 打开侧边栏入参 */
|
|
1554
|
+
export declare interface IOpenParams {
|
|
1555
|
+
/** 查看/创建/编辑态 */
|
|
1556
|
+
mode: 'VIEW' | 'CREATE' | 'EDIT';
|
|
1557
|
+
/** 行内容 */
|
|
1558
|
+
rowData?: any;
|
|
1559
|
+
/** 行下标 */
|
|
1560
|
+
rowIndex?: number;
|
|
1561
|
+
/** 额外的小体积配置项,可以存入formRef实例的data中 */
|
|
1562
|
+
extra?: ICommonObj;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
/** 操作 */
|
|
1566
|
+
export declare interface IOperateActions {
|
|
1567
|
+
/** 查询 */
|
|
1568
|
+
query: (p: ICommonObj) => Promise<void>;
|
|
1569
|
+
/** 重置 */
|
|
1570
|
+
reset: () => Promise<void>;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
/** 选项item */
|
|
1574
|
+
declare interface IOptionsItem {
|
|
1575
|
+
/** 标题 */
|
|
1576
|
+
label: string;
|
|
1577
|
+
/** 值 */
|
|
1578
|
+
value: string;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
/** 页面偏好字段 */
|
|
1582
|
+
export declare interface IPagePreferenceItem {
|
|
1583
|
+
/** 字段标识 */
|
|
1584
|
+
key: string;
|
|
1585
|
+
/** 标题 */
|
|
1586
|
+
label: string;
|
|
1587
|
+
/** 选中 */
|
|
1588
|
+
selected: boolean;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
/** 页面偏好 */
|
|
1592
|
+
export declare type IPagePreferences = {
|
|
1593
|
+
[K in (typeof pagePreferencesToKeyMap)[keyof typeof pagePreferencesToKeyMap]]: IPagePreferenceItem[];
|
|
1594
|
+
};
|
|
1595
|
+
|
|
1596
|
+
/** page信息 */
|
|
1597
|
+
export declare interface IPagination {
|
|
1598
|
+
/** 当前页码 */
|
|
1599
|
+
page: number;
|
|
1600
|
+
/** 每页展示的条数 */
|
|
1601
|
+
pageSize: number;
|
|
1602
|
+
/** 总条数 */
|
|
1603
|
+
total?: number;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
/** props */
|
|
1607
|
+
export declare interface IProps {
|
|
1608
|
+
/** value */
|
|
1609
|
+
value: string[];
|
|
1610
|
+
/** options,主要用于触发渲染时机 */
|
|
1611
|
+
options: ILocationItem[];
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
/** query入参 */
|
|
1615
|
+
export declare interface IQueryParams {
|
|
1616
|
+
/** 页码 */
|
|
1617
|
+
page?: number;
|
|
1618
|
+
/** query接口成功态提示文案的前缀 */
|
|
1619
|
+
text?: string;
|
|
1620
|
+
/** 保持页码 */
|
|
1621
|
+
keepPage?: boolean;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/** 行数据 */
|
|
1625
|
+
declare interface IRowData {
|
|
1626
|
+
/** rowData */
|
|
1627
|
+
rowData: ICommonObj;
|
|
1628
|
+
/** rowIndex */
|
|
1629
|
+
rowIndex: number;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
/** 转换后数据 */
|
|
1633
|
+
/** 不同维度归类的数据Map */
|
|
1634
|
+
export declare interface ISelectedData {
|
|
1635
|
+
/** 所有可选的叶子结点 */
|
|
1636
|
+
children: ILeafNode[];
|
|
1637
|
+
/** 所有选中的叶子结点 */
|
|
1638
|
+
selectedChildren: string[];
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
/** 设置选中值入参 */
|
|
1642
|
+
export declare interface ISetSelectedParams {
|
|
1643
|
+
/** tableRef */
|
|
1644
|
+
tableRef: Ref<TableRefs>;
|
|
1645
|
+
/** 选中值 */
|
|
1646
|
+
selected: any[];
|
|
1647
|
+
/** 行标识 */
|
|
1648
|
+
rowKey: string;
|
|
1649
|
+
/** table数据源 */
|
|
1650
|
+
data: any[];
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
/** useCollapse入参 */
|
|
1654
|
+
export declare interface IUseCollapseParams {
|
|
1655
|
+
formRef: Ref<Form>;
|
|
1656
|
+
collapseData: Ref<ICollapseData>;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
/** useCollapse出参 */
|
|
1660
|
+
export declare interface IUseCollapseRes {
|
|
1661
|
+
/** 展开 */
|
|
1662
|
+
visible: Ref<boolean>;
|
|
1663
|
+
/** 展开收起 */
|
|
1664
|
+
collapse: () => void;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
/** useFieldsParser出参 */
|
|
1668
|
+
export declare interface IUseFieldsParserRes {
|
|
1669
|
+
/** 展开收起所需所有数据 */
|
|
1670
|
+
collapseData: ComputedRef<ICollapseData>;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
/** useKeepFilter入参 */
|
|
1674
|
+
export declare interface IUseKeepFilterParams {
|
|
1675
|
+
/** pageKey */
|
|
1676
|
+
pageKey: string;
|
|
1677
|
+
/** form实例 */
|
|
1678
|
+
formRef: Ref<Form>;
|
|
1679
|
+
route: RouteLocationNormalizedLoadedGeneric;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
/** useKeepFilter出参 */
|
|
1683
|
+
export declare interface IUseKeepFilterRes {
|
|
1684
|
+
/** 筛选数据 */
|
|
1685
|
+
filterParams: RemovableRef<{}>;
|
|
1686
|
+
/** 保存筛选数据 */
|
|
1687
|
+
keepFilter: (p: ICommonObj) => void;
|
|
1688
|
+
/** 初始化 */
|
|
1689
|
+
init: () => void;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
/** useLocations出参 */
|
|
1693
|
+
export declare interface IUseLocationsRes {
|
|
1694
|
+
/** 格式化后的位置数据 */
|
|
1695
|
+
locations: Ref<ILocations>;
|
|
1696
|
+
/** 所有选中的和可选的leaf节点 */
|
|
1697
|
+
allLocations: ComputedRef<ISelectedData>;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/** useModeMap入参 */
|
|
1701
|
+
export declare interface IUseModeMapParams {
|
|
1702
|
+
/** 创建Api */
|
|
1703
|
+
createApi: (p: ICommonObj) => Promise<ICommonObj>;
|
|
1704
|
+
/** 编辑Api */
|
|
1705
|
+
editApi: (p: ICommonObj) => Promise<ICommonObj>;
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
/** useModeMap出参 */
|
|
1709
|
+
export declare type IUseModeMapRes = Record<'VIEW' | 'CREATE' | 'EDIT', IUseModeMapResItem>;
|
|
1710
|
+
|
|
1711
|
+
/** useModeMap item */
|
|
1712
|
+
export declare interface IUseModeMapResItem {
|
|
1713
|
+
/** 文案 */
|
|
1714
|
+
text: string;
|
|
1715
|
+
/** api */
|
|
1716
|
+
api: (p: ICommonObj) => Promise<ICommonObj>;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
/** usePageActions出参 */
|
|
1720
|
+
export declare interface IUsePageActionsExpose {
|
|
1721
|
+
/** 查询 */
|
|
1722
|
+
query: ({ page, text }: IQueryParams) => Promise<void>;
|
|
1723
|
+
/** 打开侧边栏 */
|
|
1724
|
+
openEditor: (params: IOpenParams) => void;
|
|
1725
|
+
/** 创建 */
|
|
1726
|
+
create: () => void;
|
|
1727
|
+
/** 重置筛选条件 */
|
|
1728
|
+
filterReset: () => Promise<void>;
|
|
1729
|
+
/** 下载 */
|
|
1730
|
+
download: () => Promise<void>;
|
|
1731
|
+
/** 导出 */
|
|
1732
|
+
exportFn: () => Promise<void>;
|
|
1733
|
+
/** target改变时触发listApi */
|
|
1734
|
+
watchList: (target: Ref<ICommonObj[]>) => void;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/** usePagePreferencesParams入参 */
|
|
1738
|
+
export declare interface IUsePagePreferencesParams {
|
|
1739
|
+
/** 页面标识 */
|
|
1740
|
+
pageKey: string;
|
|
1741
|
+
/** 全量筛选项 */
|
|
1742
|
+
allFilterFields: Ref<ISchema_2['properties']>;
|
|
1743
|
+
/** 全量表格列 */
|
|
1744
|
+
allColumns: Ref<Column[]>;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
/** usePagePreferencesParams出参 */
|
|
1748
|
+
export declare interface IUsePagePreferencesRes {
|
|
1749
|
+
/** 显示的筛选项 */
|
|
1750
|
+
visibleFilterFields: ComputedRef<ISchema_2['properties']>;
|
|
1751
|
+
/** 显示的表格列 */
|
|
1752
|
+
visibleColumns: ComputedRef<Column[]>;
|
|
1753
|
+
/** 全量用户偏好-筛选项 */
|
|
1754
|
+
allVisibleFilterFields: IPagePreferenceItem[];
|
|
1755
|
+
/** 全量用户偏好-表格列 */
|
|
1756
|
+
allVisibleColumnFields: IPagePreferenceItem[];
|
|
1757
|
+
/** 设置页面偏好 */
|
|
1758
|
+
setPagePreferences: (p: IPagePreferences) => void;
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
/** usePages出参 */
|
|
1762
|
+
export declare interface IUsePageRes extends IUsePagePreferencesRes {
|
|
1763
|
+
/** 筛选项 */
|
|
1764
|
+
allFilterFields: Ref<ISchema_2['properties']>;
|
|
1765
|
+
/** 编辑项 */
|
|
1766
|
+
allEditFields: Ref<ISchema_2['properties']>;
|
|
1767
|
+
/** 列表项 */
|
|
1768
|
+
allColumns: Ref<Column[]>;
|
|
1769
|
+
/** 配置有fetchConfig字段的effects(副作用) */
|
|
1770
|
+
fetchEffects: Ref<IEffectHooks>;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
/** usePagination入参 */
|
|
1774
|
+
export declare interface IUsePaginationParams {
|
|
1775
|
+
/** 当前页码 */
|
|
1776
|
+
currentPage: Ref<number>;
|
|
1777
|
+
/** commonFilterRef */
|
|
1778
|
+
commonFilterRef: Ref<ICommonFilterExpose>;
|
|
1779
|
+
/** 设置选中值 */
|
|
1780
|
+
setSelected: (p: any[]) => void;
|
|
1781
|
+
/** props */
|
|
1782
|
+
props: ExtractPropTypes<typeof props>;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/** usePagination出参 */
|
|
1786
|
+
export declare interface IUsePaginationRes {
|
|
1787
|
+
/** loading */
|
|
1788
|
+
loading: Ref<boolean>;
|
|
1789
|
+
/** table数据源 */
|
|
1790
|
+
data: Ref<any[]>;
|
|
1791
|
+
/** page信息 */
|
|
1792
|
+
pagination: UnwrapNestedRefs<IPagination | null>;
|
|
1793
|
+
/** CommonTable内获取列表方法 */
|
|
1794
|
+
getList: IGetList;
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
/** 模式 */
|
|
1798
|
+
export declare enum MODE {
|
|
1799
|
+
/** 查看 */
|
|
1800
|
+
VIEW = "VIEW",
|
|
1801
|
+
/** 创建 */
|
|
1802
|
+
CREATE = "CREATE",
|
|
1803
|
+
/** 编辑 */
|
|
1804
|
+
EDIT = "EDIT"
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
/** 页面偏好标识 */
|
|
1808
|
+
export declare const PAGE_PREFERENCES_KEY = "PagePreferences";
|
|
1809
|
+
|
|
1810
|
+
/** 页面偏好类型到key的映射 */
|
|
1811
|
+
export declare const pagePreferencesToKeyMap: {
|
|
1812
|
+
/** 筛选项 */
|
|
1813
|
+
readonly FILTER: "filters";
|
|
1814
|
+
/** 表格列 */
|
|
1815
|
+
readonly COLUMN: "columns";
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
declare const props: {
|
|
1819
|
+
/** 行标识 */
|
|
1820
|
+
rowKey: {
|
|
1821
|
+
type: StringConstructor;
|
|
1822
|
+
default: string;
|
|
1823
|
+
};
|
|
1824
|
+
/** columns */
|
|
1825
|
+
columns: {
|
|
1826
|
+
type: PropType<Ref<Column[]>>;
|
|
1827
|
+
default: () => Ref<any[], any[]>;
|
|
1828
|
+
};
|
|
1829
|
+
/** 获取列表 */
|
|
1830
|
+
listApi: {
|
|
1831
|
+
type: PropType<IListApi>;
|
|
1832
|
+
default: any;
|
|
1833
|
+
};
|
|
1834
|
+
/** 格式化列表接口入参 */
|
|
1835
|
+
formatListParams: {
|
|
1836
|
+
type: PropType<(p: any) => any>;
|
|
1837
|
+
default: any;
|
|
1838
|
+
};
|
|
1839
|
+
/** getList前置钩子 */
|
|
1840
|
+
beforeFetch: {
|
|
1841
|
+
type: PropType<(p: Record<"formData" | "pagination", ICommonObj | undefined>) => Promise<void> | void>;
|
|
1842
|
+
default: any;
|
|
1843
|
+
};
|
|
1844
|
+
/** 可选择 */
|
|
1845
|
+
selectable: {
|
|
1846
|
+
type: BooleanConstructor;
|
|
1847
|
+
default: boolean;
|
|
1848
|
+
};
|
|
1849
|
+
/** 选择配置 */
|
|
1850
|
+
selectOptions: {
|
|
1851
|
+
type: PropType<(row?: any, index?: number) => boolean>;
|
|
1852
|
+
default: () => boolean;
|
|
1853
|
+
};
|
|
1854
|
+
/** 选中值 */
|
|
1855
|
+
selected: {
|
|
1856
|
+
type: ArrayConstructor;
|
|
1857
|
+
default: () => any[];
|
|
1858
|
+
};
|
|
1859
|
+
/** 表格展开区域渲染器 */
|
|
1860
|
+
expandedRowRender: {
|
|
1861
|
+
type: PropType<(p: IExpandedRowRenderParams) => VNode>;
|
|
1862
|
+
default: any;
|
|
1863
|
+
};
|
|
1864
|
+
/** 分页配置 */
|
|
1865
|
+
paginationConfig: {
|
|
1866
|
+
type: ObjectConstructor;
|
|
1867
|
+
default: () => {};
|
|
1868
|
+
};
|
|
1869
|
+
/** 需要分页 */
|
|
1870
|
+
needPagination: {
|
|
1871
|
+
type: BooleanConstructor;
|
|
1872
|
+
default: boolean;
|
|
1873
|
+
};
|
|
1874
|
+
/** class */
|
|
1875
|
+
class: {
|
|
1876
|
+
type: StringConstructor;
|
|
1877
|
+
default: any;
|
|
1878
|
+
};
|
|
1879
|
+
/** style */
|
|
1880
|
+
style: {
|
|
1881
|
+
type: ObjectConstructor;
|
|
1882
|
+
default: () => {};
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
|
|
1886
|
+
declare const props_2: {
|
|
1887
|
+
/** 默认标题 */
|
|
1888
|
+
title: {
|
|
1889
|
+
type: StringConstructor;
|
|
1890
|
+
default: string;
|
|
1891
|
+
};
|
|
1892
|
+
/** 宽度 */
|
|
1893
|
+
size: {
|
|
1894
|
+
type: StringConstructor;
|
|
1895
|
+
default: string;
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1898
|
+
|
|
1899
|
+
/** radioGroup */
|
|
1900
|
+
export declare const RadioGroup: {
|
|
1901
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
1902
|
+
/** 值 */
|
|
1903
|
+
modelValue: {
|
|
1904
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
1905
|
+
default: string;
|
|
1906
|
+
};
|
|
1907
|
+
/** 下拉框options */
|
|
1908
|
+
options: {
|
|
1909
|
+
type: PropType<IOptionsItem[]>;
|
|
1910
|
+
default: () => any[];
|
|
1911
|
+
};
|
|
1912
|
+
/** 选项dom类型 */
|
|
1913
|
+
optionRenderType: {
|
|
1914
|
+
type: PropType<"RADIO" | "BUTTON">;
|
|
1915
|
+
default: string;
|
|
1916
|
+
};
|
|
1917
|
+
}>> & Readonly<{}>, () => VNode<RendererNode, RendererElement, {
|
|
1918
|
+
[key: string]: any;
|
|
1919
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1920
|
+
options: IOptionsItem[];
|
|
1921
|
+
modelValue: string | boolean;
|
|
1922
|
+
optionRenderType: "RADIO" | "BUTTON";
|
|
1923
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1924
|
+
P: {};
|
|
1925
|
+
B: {};
|
|
1926
|
+
D: {};
|
|
1927
|
+
C: {};
|
|
1928
|
+
M: {};
|
|
1929
|
+
Defaults: {};
|
|
1930
|
+
}, Readonly<ExtractPropTypes< {
|
|
1931
|
+
/** 值 */
|
|
1932
|
+
modelValue: {
|
|
1933
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
1934
|
+
default: string;
|
|
1935
|
+
};
|
|
1936
|
+
/** 下拉框options */
|
|
1937
|
+
options: {
|
|
1938
|
+
type: PropType<IOptionsItem[]>;
|
|
1939
|
+
default: () => any[];
|
|
1940
|
+
};
|
|
1941
|
+
/** 选项dom类型 */
|
|
1942
|
+
optionRenderType: {
|
|
1943
|
+
type: PropType<"RADIO" | "BUTTON">;
|
|
1944
|
+
default: string;
|
|
1945
|
+
};
|
|
1946
|
+
}>> & Readonly<{}>, () => VNode<RendererNode, RendererElement, {
|
|
1947
|
+
[key: string]: any;
|
|
1948
|
+
}>, {}, {}, {}, {
|
|
1949
|
+
options: IOptionsItem[];
|
|
1950
|
+
modelValue: string | boolean;
|
|
1951
|
+
optionRenderType: "RADIO" | "BUTTON";
|
|
1952
|
+
}>;
|
|
1953
|
+
__isFragment?: never;
|
|
1954
|
+
__isTeleport?: never;
|
|
1955
|
+
__isSuspense?: never;
|
|
1956
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
1957
|
+
/** 值 */
|
|
1958
|
+
modelValue: {
|
|
1959
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
1960
|
+
default: string;
|
|
1961
|
+
};
|
|
1962
|
+
/** 下拉框options */
|
|
1963
|
+
options: {
|
|
1964
|
+
type: PropType<IOptionsItem[]>;
|
|
1965
|
+
default: () => any[];
|
|
1966
|
+
};
|
|
1967
|
+
/** 选项dom类型 */
|
|
1968
|
+
optionRenderType: {
|
|
1969
|
+
type: PropType<"RADIO" | "BUTTON">;
|
|
1970
|
+
default: string;
|
|
1971
|
+
};
|
|
1972
|
+
}>> & Readonly<{}>, () => VNode<RendererNode, RendererElement, {
|
|
1973
|
+
[key: string]: any;
|
|
1974
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1975
|
+
options: IOptionsItem[];
|
|
1976
|
+
modelValue: string | boolean;
|
|
1977
|
+
optionRenderType: "RADIO" | "BUTTON";
|
|
1978
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
1979
|
+
FormilyRadioGroup: DefineComponent<ExtractPropTypes< {
|
|
1980
|
+
/** 值 */
|
|
1981
|
+
modelValue: {
|
|
1982
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
1983
|
+
default: string;
|
|
1984
|
+
};
|
|
1985
|
+
/** 下拉框options */
|
|
1986
|
+
options: {
|
|
1987
|
+
type: PropType<IOptionsItem[]>;
|
|
1988
|
+
default: () => any[];
|
|
1989
|
+
};
|
|
1990
|
+
/** 选项dom类型 */
|
|
1991
|
+
optionRenderType: {
|
|
1992
|
+
type: PropType<"RADIO" | "BUTTON">;
|
|
1993
|
+
default: string;
|
|
1994
|
+
};
|
|
1995
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
1996
|
+
[key: string]: any;
|
|
1997
|
+
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1998
|
+
/** 值 */
|
|
1999
|
+
modelValue: {
|
|
2000
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
2001
|
+
default: string;
|
|
2002
|
+
};
|
|
2003
|
+
/** 下拉框options */
|
|
2004
|
+
options: {
|
|
2005
|
+
type: PropType<IOptionsItem[]>;
|
|
2006
|
+
default: () => any[];
|
|
2007
|
+
};
|
|
2008
|
+
/** 选项dom类型 */
|
|
2009
|
+
optionRenderType: {
|
|
2010
|
+
type: PropType<"RADIO" | "BUTTON">;
|
|
2011
|
+
default: string;
|
|
2012
|
+
};
|
|
2013
|
+
}>> & Readonly<{}>, {
|
|
2014
|
+
options: IOptionsItem[];
|
|
2015
|
+
modelValue: string | boolean;
|
|
2016
|
+
optionRenderType: "RADIO" | "BUTTON";
|
|
2017
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2018
|
+
};
|
|
2019
|
+
|
|
2020
|
+
export declare const Space: DefineComponent<ExtractPropTypes< {
|
|
2021
|
+
/** 方向 */
|
|
2022
|
+
direction: {
|
|
2023
|
+
type: PropType<"row" | "column" | "row-reverse" | "column-reverse">;
|
|
2024
|
+
default: string;
|
|
2025
|
+
};
|
|
2026
|
+
/** 交叉轴对齐方式 */
|
|
2027
|
+
align: {
|
|
2028
|
+
type: StringConstructor;
|
|
2029
|
+
default: string;
|
|
2030
|
+
};
|
|
2031
|
+
/** 主轴对齐方式 */
|
|
2032
|
+
justify: {
|
|
2033
|
+
type: PropType<"start" | "center" | "end" | "space-around" | "space-between">;
|
|
2034
|
+
default: string;
|
|
2035
|
+
};
|
|
2036
|
+
/** 当前space宽度是否占满父容器 */
|
|
2037
|
+
fill: {
|
|
2038
|
+
type: BooleanConstructor;
|
|
2039
|
+
default: boolean;
|
|
2040
|
+
};
|
|
2041
|
+
/** 间距 */
|
|
2042
|
+
size: {
|
|
2043
|
+
type: NumberConstructor;
|
|
2044
|
+
default: number;
|
|
2045
|
+
};
|
|
2046
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2047
|
+
/** 方向 */
|
|
2048
|
+
direction: {
|
|
2049
|
+
type: PropType<"row" | "column" | "row-reverse" | "column-reverse">;
|
|
2050
|
+
default: string;
|
|
2051
|
+
};
|
|
2052
|
+
/** 交叉轴对齐方式 */
|
|
2053
|
+
align: {
|
|
2054
|
+
type: StringConstructor;
|
|
2055
|
+
default: string;
|
|
2056
|
+
};
|
|
2057
|
+
/** 主轴对齐方式 */
|
|
2058
|
+
justify: {
|
|
2059
|
+
type: PropType<"start" | "center" | "end" | "space-around" | "space-between">;
|
|
2060
|
+
default: string;
|
|
2061
|
+
};
|
|
2062
|
+
/** 当前space宽度是否占满父容器 */
|
|
2063
|
+
fill: {
|
|
2064
|
+
type: BooleanConstructor;
|
|
2065
|
+
default: boolean;
|
|
2066
|
+
};
|
|
2067
|
+
/** 间距 */
|
|
2068
|
+
size: {
|
|
2069
|
+
type: NumberConstructor;
|
|
2070
|
+
default: number;
|
|
2071
|
+
};
|
|
2072
|
+
}>> & Readonly<{}>, {
|
|
2073
|
+
size: number;
|
|
2074
|
+
fill: boolean;
|
|
2075
|
+
direction: "row" | "column" | "row-reverse" | "column-reverse";
|
|
2076
|
+
align: string;
|
|
2077
|
+
justify: "center" | "start" | "end" | "space-around" | "space-between";
|
|
2078
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2079
|
+
|
|
2080
|
+
/** locations节点种类 */
|
|
2081
|
+
declare enum Type {
|
|
2082
|
+
/** 运营商 全选 */
|
|
2083
|
+
IS_ISP = "IS_ISP",
|
|
2084
|
+
/** 组 全选 */
|
|
2085
|
+
IS_GROUP = "IS_GROUP",
|
|
2086
|
+
/** 全选 */
|
|
2087
|
+
IS_ALL = "IS_ALL",
|
|
2088
|
+
/** 叶子结点 */
|
|
2089
|
+
IS_LEAF = "IS_LEAF"
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
export declare const Upload: {
|
|
2093
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
2094
|
+
fileList: {
|
|
2095
|
+
type: PropType<UploadFile[]>;
|
|
2096
|
+
default: () => any[];
|
|
2097
|
+
};
|
|
2098
|
+
uploadApi: {
|
|
2099
|
+
type: PropType<(p: any) => Promise<any>>;
|
|
2100
|
+
default: any;
|
|
2101
|
+
};
|
|
2102
|
+
limit: {
|
|
2103
|
+
type: NumberConstructor;
|
|
2104
|
+
default: number;
|
|
2105
|
+
};
|
|
2106
|
+
style: {
|
|
2107
|
+
type: ObjectConstructor;
|
|
2108
|
+
default: () => {};
|
|
2109
|
+
};
|
|
2110
|
+
disabled: {
|
|
2111
|
+
type: BooleanConstructor;
|
|
2112
|
+
default: boolean;
|
|
2113
|
+
};
|
|
2114
|
+
readonly: {
|
|
2115
|
+
type: BooleanConstructor;
|
|
2116
|
+
default: boolean;
|
|
2117
|
+
};
|
|
2118
|
+
}>> & Readonly<{
|
|
2119
|
+
onRemove?: (...args: any[]) => any;
|
|
2120
|
+
"onUpdate:fileList"?: (...args: any[]) => any;
|
|
2121
|
+
}>, () => JSX.Element | JSX.Element[], {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("remove" | "update:fileList")[], PublicProps, {
|
|
2122
|
+
disabled: boolean;
|
|
2123
|
+
style: Record<string, any>;
|
|
2124
|
+
fileList: UploadFile[];
|
|
2125
|
+
uploadApi: (p: any) => Promise<any>;
|
|
2126
|
+
limit: number;
|
|
2127
|
+
readonly: boolean;
|
|
2128
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
2129
|
+
P: {};
|
|
2130
|
+
B: {};
|
|
2131
|
+
D: {};
|
|
2132
|
+
C: {};
|
|
2133
|
+
M: {};
|
|
2134
|
+
Defaults: {};
|
|
2135
|
+
}, Readonly<ExtractPropTypes< {
|
|
2136
|
+
fileList: {
|
|
2137
|
+
type: PropType<UploadFile[]>;
|
|
2138
|
+
default: () => any[];
|
|
2139
|
+
};
|
|
2140
|
+
uploadApi: {
|
|
2141
|
+
type: PropType<(p: any) => Promise<any>>;
|
|
2142
|
+
default: any;
|
|
2143
|
+
};
|
|
2144
|
+
limit: {
|
|
2145
|
+
type: NumberConstructor;
|
|
2146
|
+
default: number;
|
|
2147
|
+
};
|
|
2148
|
+
style: {
|
|
2149
|
+
type: ObjectConstructor;
|
|
2150
|
+
default: () => {};
|
|
2151
|
+
};
|
|
2152
|
+
disabled: {
|
|
2153
|
+
type: BooleanConstructor;
|
|
2154
|
+
default: boolean;
|
|
2155
|
+
};
|
|
2156
|
+
readonly: {
|
|
2157
|
+
type: BooleanConstructor;
|
|
2158
|
+
default: boolean;
|
|
2159
|
+
};
|
|
2160
|
+
}>> & Readonly<{
|
|
2161
|
+
onRemove?: (...args: any[]) => any;
|
|
2162
|
+
"onUpdate:fileList"?: (...args: any[]) => any;
|
|
2163
|
+
}>, () => JSX.Element | JSX.Element[], {}, {}, {}, {
|
|
2164
|
+
disabled: boolean;
|
|
2165
|
+
style: Record<string, any>;
|
|
2166
|
+
fileList: UploadFile[];
|
|
2167
|
+
uploadApi: (p: any) => Promise<any>;
|
|
2168
|
+
limit: number;
|
|
2169
|
+
readonly: boolean;
|
|
2170
|
+
}>;
|
|
2171
|
+
__isFragment?: never;
|
|
2172
|
+
__isTeleport?: never;
|
|
2173
|
+
__isSuspense?: never;
|
|
2174
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
2175
|
+
fileList: {
|
|
2176
|
+
type: PropType<UploadFile[]>;
|
|
2177
|
+
default: () => any[];
|
|
2178
|
+
};
|
|
2179
|
+
uploadApi: {
|
|
2180
|
+
type: PropType<(p: any) => Promise<any>>;
|
|
2181
|
+
default: any;
|
|
2182
|
+
};
|
|
2183
|
+
limit: {
|
|
2184
|
+
type: NumberConstructor;
|
|
2185
|
+
default: number;
|
|
2186
|
+
};
|
|
2187
|
+
style: {
|
|
2188
|
+
type: ObjectConstructor;
|
|
2189
|
+
default: () => {};
|
|
2190
|
+
};
|
|
2191
|
+
disabled: {
|
|
2192
|
+
type: BooleanConstructor;
|
|
2193
|
+
default: boolean;
|
|
2194
|
+
};
|
|
2195
|
+
readonly: {
|
|
2196
|
+
type: BooleanConstructor;
|
|
2197
|
+
default: boolean;
|
|
2198
|
+
};
|
|
2199
|
+
}>> & Readonly<{
|
|
2200
|
+
onRemove?: (...args: any[]) => any;
|
|
2201
|
+
"onUpdate:fileList"?: (...args: any[]) => any;
|
|
2202
|
+
}>, () => JSX.Element | JSX.Element[], {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("remove" | "update:fileList")[], "remove" | "update:fileList", {
|
|
2203
|
+
disabled: boolean;
|
|
2204
|
+
style: Record<string, any>;
|
|
2205
|
+
fileList: UploadFile[];
|
|
2206
|
+
uploadApi: (p: any) => Promise<any>;
|
|
2207
|
+
limit: number;
|
|
2208
|
+
readonly: boolean;
|
|
2209
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
2210
|
+
FormilyUpload: DefineComponent<ExtractPropTypes< {
|
|
2211
|
+
value: {
|
|
2212
|
+
type: PropType<UploadFile[]>;
|
|
2213
|
+
default: () => any[];
|
|
2214
|
+
};
|
|
2215
|
+
uploadApi: {
|
|
2216
|
+
type: PropType<(p: any) => Promise<any>>;
|
|
2217
|
+
default: any;
|
|
2218
|
+
};
|
|
2219
|
+
limit: {
|
|
2220
|
+
type: NumberConstructor;
|
|
2221
|
+
default: number;
|
|
2222
|
+
};
|
|
2223
|
+
style: {
|
|
2224
|
+
type: ObjectConstructor;
|
|
2225
|
+
default: () => {};
|
|
2226
|
+
};
|
|
2227
|
+
disabled: {
|
|
2228
|
+
type: BooleanConstructor;
|
|
2229
|
+
default: boolean;
|
|
2230
|
+
};
|
|
2231
|
+
readonly: {
|
|
2232
|
+
type: BooleanConstructor;
|
|
2233
|
+
default: boolean;
|
|
2234
|
+
};
|
|
2235
|
+
}>, () => JSX.Element | JSX.Element[], {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2236
|
+
value: {
|
|
2237
|
+
type: PropType<UploadFile[]>;
|
|
2238
|
+
default: () => any[];
|
|
2239
|
+
};
|
|
2240
|
+
uploadApi: {
|
|
2241
|
+
type: PropType<(p: any) => Promise<any>>;
|
|
2242
|
+
default: any;
|
|
2243
|
+
};
|
|
2244
|
+
limit: {
|
|
2245
|
+
type: NumberConstructor;
|
|
2246
|
+
default: number;
|
|
2247
|
+
};
|
|
2248
|
+
style: {
|
|
2249
|
+
type: ObjectConstructor;
|
|
2250
|
+
default: () => {};
|
|
2251
|
+
};
|
|
2252
|
+
disabled: {
|
|
2253
|
+
type: BooleanConstructor;
|
|
2254
|
+
default: boolean;
|
|
2255
|
+
};
|
|
2256
|
+
readonly: {
|
|
2257
|
+
type: BooleanConstructor;
|
|
2258
|
+
default: boolean;
|
|
2259
|
+
};
|
|
2260
|
+
}>> & Readonly<{}>, {
|
|
2261
|
+
value: UploadFile[];
|
|
2262
|
+
disabled: boolean;
|
|
2263
|
+
style: Record<string, any>;
|
|
2264
|
+
uploadApi: (p: any) => Promise<any>;
|
|
2265
|
+
limit: number;
|
|
2266
|
+
readonly: boolean;
|
|
2267
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2268
|
+
ModalUpload: DefineComponent<ExtractPropTypes< {
|
|
2269
|
+
fileList: {
|
|
2270
|
+
type: PropType<UploadFile[]>;
|
|
2271
|
+
default: () => any[];
|
|
2272
|
+
};
|
|
2273
|
+
title: {
|
|
2274
|
+
type: StringConstructor;
|
|
2275
|
+
default: string;
|
|
2276
|
+
};
|
|
2277
|
+
tip: {
|
|
2278
|
+
type: StringConstructor;
|
|
2279
|
+
default: string;
|
|
2280
|
+
};
|
|
2281
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2282
|
+
fileList: {
|
|
2283
|
+
type: PropType<UploadFile[]>;
|
|
2284
|
+
default: () => any[];
|
|
2285
|
+
};
|
|
2286
|
+
title: {
|
|
2287
|
+
type: StringConstructor;
|
|
2288
|
+
default: string;
|
|
2289
|
+
};
|
|
2290
|
+
tip: {
|
|
2291
|
+
type: StringConstructor;
|
|
2292
|
+
default: string;
|
|
2293
|
+
};
|
|
2294
|
+
}>> & Readonly<{}>, {
|
|
2295
|
+
title: string;
|
|
2296
|
+
fileList: UploadFile[];
|
|
2297
|
+
tip: string;
|
|
2298
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2299
|
+
FormilyModalUpload: DefineComponent<ExtractPropTypes< {
|
|
2300
|
+
fileList: {
|
|
2301
|
+
type: PropType<UploadFile[]>;
|
|
2302
|
+
default: () => any[];
|
|
2303
|
+
};
|
|
2304
|
+
title: {
|
|
2305
|
+
type: StringConstructor;
|
|
2306
|
+
default: string;
|
|
2307
|
+
};
|
|
2308
|
+
tip: {
|
|
2309
|
+
type: StringConstructor;
|
|
2310
|
+
default: string;
|
|
2311
|
+
};
|
|
2312
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2313
|
+
fileList: {
|
|
2314
|
+
type: PropType<UploadFile[]>;
|
|
2315
|
+
default: () => any[];
|
|
2316
|
+
};
|
|
2317
|
+
title: {
|
|
2318
|
+
type: StringConstructor;
|
|
2319
|
+
default: string;
|
|
2320
|
+
};
|
|
2321
|
+
tip: {
|
|
2322
|
+
type: StringConstructor;
|
|
2323
|
+
default: string;
|
|
2324
|
+
};
|
|
2325
|
+
}>> & Readonly<{}>, {
|
|
2326
|
+
title: string;
|
|
2327
|
+
fileList: UploadFile[];
|
|
2328
|
+
tip: string;
|
|
2329
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2330
|
+
};
|
|
2331
|
+
|
|
2332
|
+
export declare const VirtualizedSelect: any;
|
|
2333
|
+
|
|
2334
|
+
export { }
|