@vue-start/element-pro 0.1.2 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import * as vue from 'vue';
2
- import { VNode, ExtractPropTypes, PropType, Component } from 'vue';
2
+ import { VNode, DefineComponent, ExtractPropTypes, PropType, Component } from 'vue';
3
3
  import * as element_plus from 'element-plus';
4
4
  import { FormItemProps, ButtonProps as ButtonProps$1, ElSelect } from 'element-plus';
5
5
  import { FormItemRule } from 'element-plus/es/tokens/form';
6
- import * as _vue_start_pro from '@vue-start/pro';
7
- import { TTableColumn as TTableColumn$1, ProFormProps as ProFormProps$1, ProSearchFormProps as ProSearchFormProps$1, ProFormListProps as ProFormListProps$1, ProTableProps as ProTableProps$1 } from '@vue-start/pro';
6
+ import { TTableColumn, ProFormProps as ProFormProps$1, ProSearchFormProps as ProSearchFormProps$1, ProFormListProps as ProFormListProps$1, ProTableProps as ProTableProps$1, ProCurdAddOrEditProps, TPageState, TOptions as TOptions$1 } from '@vue-start/pro';
8
7
  import { FilterMethods, Filters } from 'element-plus/es/components/table/src/table-column/defaults';
9
8
  import { ColSizeObject } from 'element-plus/es/components/col/src/col';
10
9
  import * as element_plus_es_utils from 'element-plus/es/utils';
11
- import * as element_plus_es_components_table_src_table_defaults from 'element-plus/es/components/table/src/table/defaults';
12
10
  import { TableProps } from 'element-plus/es/components/table/src/table/defaults';
11
+ import { Slots } from '@vue/runtime-core';
12
+ import { RadioGroupProps } from 'element-plus/es/components/radio/src/radio-group';
13
13
 
14
14
  interface ModalProps {
15
15
  appendToBody?: boolean;
@@ -43,10 +43,10 @@ declare type TOption = {
43
43
  disabled?: boolean;
44
44
  };
45
45
  declare type TOptions = TOption[];
46
- declare type TColumn$1 = TableColumnCtx<any> & Omit<TTableColumn$1, "formItemProps" | "title" | "dataIndex"> & {
46
+ declare type TColumn = TableColumnCtx<any> & Omit<TTableColumn, "formItemProps" | "title" | "dataIndex"> & {
47
47
  formItemProps?: ProFormItemProps;
48
48
  };
49
- declare type TColumns = TColumn$1[];
49
+ declare type TColumns = TColumn[];
50
50
  interface TableColumnCtx<T> {
51
51
  id?: string;
52
52
  realWidth?: number;
@@ -127,330 +127,103 @@ interface ICol {
127
127
  tag?: string;
128
128
  }
129
129
 
130
- declare type TDefaultValueType = "text" | "textarea" | "password" | "digit" | "date" | "dateRange" | "time" | "timeRange" | "select" | "treeSelect" | "checkbox" | "radio" | "slider" | "switch" | "rate" | "cascader";
131
- declare type TValueType = TDefaultValueType | string;
132
- declare type TColumn = {
133
- title?: string | VNode;
134
- dataIndex?: string | number;
135
- valueType?: TValueType;
136
- formValueType?: TValueType;
137
- showProps?: Record<string, any>;
138
- formItemProps?: {
139
- name?: string;
140
- label?: string;
141
- };
142
- formFieldProps?: Record<string, any>;
143
- search?: boolean;
144
- hideInTable?: boolean;
145
- hideInForm?: boolean;
146
- hideInDetail?: boolean;
147
- searchSort?: boolean;
148
- tableSort?: boolean;
149
- formSort?: boolean;
150
- descSort?: boolean;
151
- extra?: {
152
- desc?: any;
153
- };
130
+ declare type ProGridProps = {
131
+ row?: IRow;
132
+ col?: ICol;
133
+ items?: {
134
+ vNode: VNode;
135
+ rowKey?: string | number;
136
+ col?: ICol;
137
+ }[];
154
138
  };
155
- /**
156
- * 组件Map
157
- */
158
- declare type TElementMap = Record<string, any>;
139
+ declare const ProGrid: DefineComponent<ProGridProps>;
159
140
 
160
- interface IProTableProvideExtra extends Record<string, any> {
161
- }
162
- declare type TTableColumn = {
163
- customRender?: (opt: {
164
- value: any;
165
- text: any;
166
- record: Record<string, any>;
167
- index: number;
168
- column: TTableColumn;
169
- }) => VNode;
170
- fixed?: boolean | string;
171
- } & TColumn;
172
- declare type TTableColumns = TTableColumn[];
173
- /**
174
- * 单个操作描述
175
- */
176
- interface IOperateItem {
177
- value: string | number;
178
- label?: string | VNode;
179
- element?: (record: Record<string, any>, item: IOperateItem) => VNode;
180
- show?: boolean | ((record: Record<string, any>) => boolean);
181
- disabled?: boolean | ((record: Record<string, any>) => boolean);
182
- onClick?: (record: Record<string, any>) => void;
183
- sort?: number;
184
- }
185
- /**
186
- * 整个操作栏描述
187
- */
188
- interface ITableOperate {
189
- column?: TColumn;
190
- items?: IOperateItem[];
191
- itemState?: {
192
- [key: string]: Omit<IOperateItem, "value">;
141
+ declare const createLoadingId: (prefix?: string) => string;
142
+ declare const proLoadingProps: () => {
143
+ loading: {
144
+ type: BooleanConstructor;
193
145
  };
194
- }
195
-
196
- interface PaginationProps {
197
- total?: number;
198
- pageSize?: number;
199
- defaultPageSize?: number;
200
- currentPage?: number;
201
- defaultCurrentPage?: number;
202
- pageCount?: number;
203
- pagerCount?: number;
204
- layout?: string;
205
- pageSizes?: number[];
206
- popperClass?: string;
207
- prevText?: string;
208
- nextText?: string;
209
- small?: boolean;
210
- background?: boolean;
211
- disabled?: boolean;
212
- hideOnSinglePage?: boolean;
213
- onSizeChange?: (val: number) => void;
214
- onCurrentChange?: (val: number) => void;
215
- }
216
- declare type TPageState = {
217
- page: number;
218
- pageSize: number;
219
- };
220
- declare const defaultPage: TPageState;
221
- declare const proListProps: () => {
222
- /**
223
- * extra 是否放到SearchForm中
224
- */
225
- extraInSearch: {
146
+ target: {
147
+ type: PropType<string | HTMLElement>;
148
+ };
149
+ body: {
226
150
  type: BooleanConstructor;
227
- default: undefined;
228
151
  };
229
- searchProps: {
230
- type: PropType<ProSearchFormProps>;
231
- };
232
- tableProps: {
233
- type: PropType<Omit<Partial<ExtractPropTypes<{
234
- operate: {
235
- type: PropType<ITableOperate>; /******************* search pagination ********************/
236
- };
237
- columnEmptyText: {
238
- type: StringConstructor;
239
- };
240
- column: {
241
- type: PropType<TTableColumn>;
242
- };
243
- columns: {
244
- type: PropType<TTableColumns>;
245
- };
246
- elementMap: {
247
- type: PropType<TElementMap>;
248
- };
249
- loading: {
250
- type: BooleanConstructor;
251
- };
252
- provideExtra: {
253
- type: PropType<IProTableProvideExtra>;
254
- };
255
- }>>, "columns"> & {
256
- columns?: TColumns | undefined;
257
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
258
- tableLayout?: "fixed" | "auto" | undefined;
259
- flexible?: boolean | undefined;
260
- data?: any;
261
- } & {
262
- slots?: Readonly<{
263
- [name: string]: vue.Slot | undefined;
264
- }> | undefined;
265
- }>;
266
- };
267
- paginationProps: {
268
- type: PropType<PaginationProps>;
269
- };
270
- pageState: {
271
- type: PropType<TPageState>;
152
+ fullscreen: {
153
+ type: BooleanConstructor;
154
+ };
155
+ lock: {
156
+ type: BooleanConstructor;
157
+ };
158
+ text: {
159
+ type: StringConstructor;
160
+ };
161
+ spinner: {
162
+ type: StringConstructor;
163
+ };
164
+ background: {
165
+ type: StringConstructor;
166
+ };
167
+ customClass: {
168
+ type: StringConstructor;
272
169
  };
273
170
  };
274
- declare type ProListProps = Partial<ExtractPropTypes<ReturnType<typeof proListProps>>>;
275
- declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
276
- /**
277
- * extra 是否放到SearchForm中
278
- */
279
- extraInSearch: {
171
+ declare type ProLoadingProps = Partial<ExtractPropTypes<ReturnType<typeof proLoadingProps>>>;
172
+ declare const ProLoading: vue.DefineComponent<Partial<ExtractPropTypes<{
173
+ loading: {
280
174
  type: BooleanConstructor;
281
- default: undefined;
282
175
  };
283
- searchProps: {
284
- type: PropType<ProSearchFormProps>;
285
- };
286
- tableProps: {
287
- type: PropType<Omit<Partial<ExtractPropTypes<{
288
- operate: {
289
- type: PropType<ITableOperate>; /******************* search pagination ********************/
290
- };
291
- columnEmptyText: {
292
- type: StringConstructor;
293
- };
294
- column: {
295
- type: PropType<TTableColumn>;
296
- };
297
- columns: {
298
- type: PropType<TTableColumns>;
299
- };
300
- elementMap: {
301
- type: PropType<TElementMap>;
302
- };
303
- loading: {
304
- type: BooleanConstructor;
305
- };
306
- provideExtra: {
307
- type: PropType<IProTableProvideExtra>;
308
- };
309
- }>>, "columns"> & {
310
- columns?: TColumns | undefined;
311
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
312
- tableLayout?: "fixed" | "auto" | undefined;
313
- flexible?: boolean | undefined;
314
- data?: any;
315
- } & {
316
- slots?: Readonly<{
317
- [name: string]: vue.Slot | undefined;
318
- }> | undefined;
319
- }>;
320
- };
321
- paginationProps: {
322
- type: PropType<PaginationProps>;
323
- };
324
- pageState: {
325
- type: PropType<TPageState>;
176
+ target: {
177
+ type: PropType<string | HTMLElement>;
326
178
  };
327
- }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
328
- /**
329
- * extra 是否放到SearchForm中
330
- */
331
- extraInSearch: {
179
+ body: {
332
180
  type: BooleanConstructor;
333
- default: undefined;
334
181
  };
335
- searchProps: {
336
- type: PropType<ProSearchFormProps>;
337
- };
338
- tableProps: {
339
- type: PropType<Omit<Partial<ExtractPropTypes<{
340
- operate: {
341
- type: PropType<ITableOperate>; /******************* search pagination ********************/
342
- };
343
- columnEmptyText: {
344
- type: StringConstructor;
345
- };
346
- column: {
347
- type: PropType<TTableColumn>;
348
- };
349
- columns: {
350
- type: PropType<TTableColumns>;
351
- };
352
- elementMap: {
353
- type: PropType<TElementMap>;
354
- };
355
- loading: {
356
- type: BooleanConstructor;
357
- };
358
- provideExtra: {
359
- type: PropType<IProTableProvideExtra>;
360
- };
361
- }>>, "columns"> & {
362
- columns?: TColumns | undefined;
363
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
364
- tableLayout?: "fixed" | "auto" | undefined;
365
- flexible?: boolean | undefined;
366
- data?: any;
367
- } & {
368
- slots?: Readonly<{
369
- [name: string]: vue.Slot | undefined;
370
- }> | undefined;
371
- }>;
372
- };
373
- paginationProps: {
374
- type: PropType<PaginationProps>;
375
- };
376
- pageState: {
377
- type: PropType<TPageState>;
182
+ fullscreen: {
183
+ type: BooleanConstructor;
378
184
  };
379
- }>>>, {}>;
380
-
381
- declare const proGridProps: () => {
382
- /**
383
- * row属性
384
- */
385
- row: {
386
- type: PropType<IRow>;
387
- default: undefined;
185
+ lock: {
186
+ type: BooleanConstructor;
388
187
  };
389
- /**
390
- * 公共col属性
391
- */
392
- col: {
393
- type: PropType<ICol>;
394
- };
395
- /**
396
- *
397
- */
398
- items: {
399
- type: PropType<{
400
- vNode: VNode;
401
- rowKey?: string | number | undefined;
402
- col?: ICol | undefined;
403
- }[]>;
188
+ text: {
189
+ type: StringConstructor;
404
190
  };
405
- };
406
- declare type ProGridProps = Partial<ExtractPropTypes<ReturnType<typeof proGridProps>>>;
407
- declare const ProGrid: vue.DefineComponent<Partial<ExtractPropTypes<{
408
- /**
409
- * row属性
410
- */
411
- row: {
412
- type: PropType<IRow>;
413
- default: undefined;
191
+ spinner: {
192
+ type: StringConstructor;
414
193
  };
415
- /**
416
- * 公共col属性
417
- */
418
- col: {
419
- type: PropType<ICol>;
420
- };
421
- /**
422
- *
423
- */
424
- items: {
425
- type: PropType<{
426
- vNode: VNode;
427
- rowKey?: string | number | undefined;
428
- col?: ICol | undefined;
429
- }[]>;
194
+ background: {
195
+ type: StringConstructor;
196
+ };
197
+ customClass: {
198
+ type: StringConstructor;
430
199
  };
431
200
  }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
432
- /**
433
- * row属性
434
- */
435
- row: {
436
- type: PropType<IRow>;
437
- default: undefined;
201
+ loading: {
202
+ type: BooleanConstructor;
203
+ };
204
+ target: {
205
+ type: PropType<string | HTMLElement>;
206
+ };
207
+ body: {
208
+ type: BooleanConstructor;
438
209
  };
439
- /**
440
- * 公共col属性
441
- */
442
- col: {
443
- type: PropType<ICol>;
444
- };
445
- /**
446
- *
447
- */
448
- items: {
449
- type: PropType<{
450
- vNode: VNode;
451
- rowKey?: string | number | undefined;
452
- col?: ICol | undefined;
453
- }[]>;
210
+ fullscreen: {
211
+ type: BooleanConstructor;
212
+ };
213
+ lock: {
214
+ type: BooleanConstructor;
215
+ };
216
+ text: {
217
+ type: StringConstructor;
218
+ };
219
+ spinner: {
220
+ type: StringConstructor;
221
+ };
222
+ background: {
223
+ type: StringConstructor;
224
+ };
225
+ customClass: {
226
+ type: StringConstructor;
454
227
  };
455
228
  }>>>, {}>;
456
229
 
@@ -460,7 +233,7 @@ declare const proFormItemProps: () => {
460
233
  };
461
234
  };
462
235
  declare type ProFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof proFormItemProps>>> & FormItemProps;
463
- declare const ProFormItem: vue.DefineComponent<ProFormItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormItemProps>, {}>;
236
+ declare const ProFormItem: DefineComponent<ProFormItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormItemProps>, {}>;
464
237
  interface FormProps {
465
238
  model?: Record<string, any>;
466
239
  rules?: FormItemRule[];
@@ -481,12 +254,9 @@ declare type ProFormProps = ProFormProps$1 & FormProps & Omit<ProGridProps, "ite
481
254
  onFinish?: (showValues: Record<string, any>, values: Record<string, any>) => void;
482
255
  onFinishFailed?: (invalidFields: Record<string, any>) => void;
483
256
  };
484
- declare const ProForm: vue.DefineComponent<ProFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormProps>, {}>;
485
-
486
- declare type ProSearchFormProps = ProSearchFormProps$1 & Omit<ProFormProps, "inline"> & {
487
- inline?: boolean;
488
- };
489
- declare const ProSearchForm: vue.DefineComponent<ProSearchFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProSearchFormProps>, {}>;
257
+ declare const ProForm: DefineComponent<ProFormProps>;
258
+ declare type ProSearchFormProps = ProSearchFormProps$1 & ProFormProps;
259
+ declare const ProSearchForm: DefineComponent<ProSearchFormProps>;
490
260
 
491
261
  declare const ProFormText: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
492
262
  name: {
@@ -1254,210 +1024,50 @@ declare type ProTableProps = Omit<ProTableProps$1, "columns"> & {
1254
1024
  tableLayout?: "fixed" | "auto";
1255
1025
  flexible?: boolean;
1256
1026
  data?: any;
1027
+ loading?: boolean;
1257
1028
  };
1258
- declare const ProTable: vue.DefineComponent<ProTableProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProTableProps>, {
1259
- data?: any;
1260
- }>;
1029
+ declare const ProTable: DefineComponent<ProTableProps>;
1261
1030
 
1262
- /**
1263
- * 添加 和 修改 时候的确定按钮
1264
- */
1265
- declare const OkButton: vue.DefineComponent<ButtonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ButtonProps>, {}>;
1266
- /**
1267
- * 添加 时候的 确定并继续添加按钮
1268
- */
1269
- declare const ContinueAddButton: vue.DefineComponent<ButtonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ButtonProps>, {}>;
1270
- declare const proOperateButtonProps: () => {
1271
- showContinueAdd: {
1272
- type: BooleanConstructor;
1273
- default: boolean;
1274
- };
1275
- okText: {
1276
- type: StringConstructor;
1277
- default: string;
1278
- };
1279
- okButtonProps: {
1280
- type: PropType<ButtonProps>;
1281
- };
1282
- continueText: {
1283
- type: StringConstructor;
1284
- default: string;
1285
- };
1286
- continueButtonProps: {
1287
- type: PropType<ButtonProps>;
1288
- };
1289
- };
1290
- declare type ProOperateButtonProps = Partial<ExtractPropTypes<ReturnType<typeof proOperateButtonProps>>>;
1291
- declare const ProOperateButton: vue.DefineComponent<Partial<ExtractPropTypes<{
1292
- showContinueAdd: {
1293
- type: BooleanConstructor;
1294
- default: boolean;
1295
- };
1296
- okText: {
1297
- type: StringConstructor;
1298
- default: string;
1299
- };
1300
- okButtonProps: {
1301
- type: PropType<ButtonProps>;
1302
- };
1303
- continueText: {
1304
- type: StringConstructor;
1305
- default: string;
1306
- };
1307
- continueButtonProps: {
1308
- type: PropType<ButtonProps>;
1309
- };
1310
- }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
1311
- showContinueAdd: {
1312
- type: BooleanConstructor;
1313
- default: boolean;
1314
- };
1315
- okText: {
1316
- type: StringConstructor;
1317
- default: string;
1318
- };
1319
- okButtonProps: {
1320
- type: PropType<ButtonProps>;
1321
- };
1322
- continueText: {
1323
- type: StringConstructor;
1324
- default: string;
1031
+ declare type ProCurdFormProps = ProFormProps & ProCurdAddOrEditProps;
1032
+ declare const ProCurdForm: DefineComponent<ProCurdFormProps>;
1033
+ declare const ProCurdFormConnect: DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1034
+
1035
+ interface PaginationProps {
1036
+ total?: number;
1037
+ pageSize?: number;
1038
+ defaultPageSize?: number;
1039
+ currentPage?: number;
1040
+ defaultCurrentPage?: number;
1041
+ pageCount?: number;
1042
+ pagerCount?: number;
1043
+ layout?: string;
1044
+ pageSizes?: number[];
1045
+ popperClass?: string;
1046
+ prevText?: string;
1047
+ nextText?: string;
1048
+ small?: boolean;
1049
+ background?: boolean;
1050
+ disabled?: boolean;
1051
+ hideOnSinglePage?: boolean;
1052
+ onSizeChange?: (val: number) => void;
1053
+ onCurrentChange?: (val: number) => void;
1054
+ }
1055
+ declare type ProCurdListProps = {
1056
+ extraInSearch?: boolean;
1057
+ searchProps?: ProSearchFormProps & {
1058
+ slots?: Slots;
1325
1059
  };
1326
- continueButtonProps: {
1327
- type: PropType<ButtonProps>;
1328
- };
1329
- }>>>, {}>;
1330
- declare const proCurdFormProps: () => {
1331
- operateButtonProps: {
1332
- type: PropType<Partial<ExtractPropTypes<{
1333
- showContinueAdd: {
1334
- type: BooleanConstructor;
1335
- default: boolean;
1336
- };
1337
- okText: {
1338
- type: StringConstructor;
1339
- default: string;
1340
- };
1341
- okButtonProps: {
1342
- type: PropType<ButtonProps>;
1343
- };
1344
- continueText: {
1345
- type: StringConstructor;
1346
- default: string;
1347
- };
1348
- continueButtonProps: {
1349
- type: PropType<ButtonProps>;
1350
- };
1351
- }>>>;
1060
+ tableProps?: ProTableProps & {
1061
+ slots?: Slots;
1352
1062
  };
1063
+ paginationProps?: PaginationProps;
1064
+ pageState?: TPageState;
1353
1065
  };
1354
- declare type ProCurdFormProps = Partial<ExtractPropTypes<ReturnType<typeof proCurdFormProps>>> & ProFormProps;
1355
- declare const ProCurdForm: vue.DefineComponent<ProCurdFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProCurdFormProps>, {}>;
1356
- declare const ProCurdFormConnect: vue.DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
1357
-
1358
1066
  /**
1359
1067
  * 组合列表
1360
1068
  * SearchForm + Table + Pagination
1361
1069
  */
1362
- declare const ProCurdList: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
1363
- extraInSearch: {
1364
- type: BooleanConstructor;
1365
- default: undefined;
1366
- };
1367
- searchProps: {
1368
- type: vue.PropType<ProSearchFormProps>;
1369
- };
1370
- tableProps: {
1371
- type: vue.PropType<Omit<Partial<vue.ExtractPropTypes<{
1372
- operate: {
1373
- type: vue.PropType<_vue_start_pro.ITableOperate>;
1374
- };
1375
- columnEmptyText: {
1376
- type: StringConstructor;
1377
- };
1378
- column: {
1379
- type: vue.PropType<_vue_start_pro.TTableColumn>;
1380
- };
1381
- columns: {
1382
- type: vue.PropType<_vue_start_pro.TTableColumns>;
1383
- };
1384
- elementMap: {
1385
- type: vue.PropType<_vue_start_pro.TElementMap>;
1386
- };
1387
- loading: {
1388
- type: BooleanConstructor;
1389
- };
1390
- provideExtra: {
1391
- type: vue.PropType<_vue_start_pro.IProTableProvideExtra>;
1392
- };
1393
- }>>, "columns"> & {
1394
- columns?: TColumns | undefined;
1395
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
1396
- tableLayout?: "fixed" | "auto" | undefined;
1397
- flexible?: boolean | undefined;
1398
- data?: any;
1399
- } & {
1400
- slots?: Readonly<{
1401
- [name: string]: vue.Slot | undefined;
1402
- }> | undefined;
1403
- }>;
1404
- };
1405
- paginationProps: {
1406
- type: vue.PropType<PaginationProps>;
1407
- };
1408
- pageState: {
1409
- type: vue.PropType<TPageState>;
1410
- };
1411
- }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<vue.ExtractPropTypes<{
1412
- extraInSearch: {
1413
- type: BooleanConstructor;
1414
- default: undefined;
1415
- };
1416
- searchProps: {
1417
- type: vue.PropType<ProSearchFormProps>;
1418
- };
1419
- tableProps: {
1420
- type: vue.PropType<Omit<Partial<vue.ExtractPropTypes<{
1421
- operate: {
1422
- type: vue.PropType<_vue_start_pro.ITableOperate>;
1423
- };
1424
- columnEmptyText: {
1425
- type: StringConstructor;
1426
- };
1427
- column: {
1428
- type: vue.PropType<_vue_start_pro.TTableColumn>;
1429
- };
1430
- columns: {
1431
- type: vue.PropType<_vue_start_pro.TTableColumns>;
1432
- };
1433
- elementMap: {
1434
- type: vue.PropType<_vue_start_pro.TElementMap>;
1435
- };
1436
- loading: {
1437
- type: BooleanConstructor;
1438
- };
1439
- provideExtra: {
1440
- type: vue.PropType<_vue_start_pro.IProTableProvideExtra>;
1441
- };
1442
- }>>, "columns"> & {
1443
- columns?: TColumns | undefined;
1444
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
1445
- tableLayout?: "fixed" | "auto" | undefined;
1446
- flexible?: boolean | undefined;
1447
- data?: any;
1448
- } & {
1449
- slots?: Readonly<{
1450
- [name: string]: vue.Slot | undefined;
1451
- }> | undefined;
1452
- }>;
1453
- };
1454
- paginationProps: {
1455
- type: vue.PropType<PaginationProps>;
1456
- };
1457
- pageState: {
1458
- type: vue.PropType<TPageState>;
1459
- };
1460
- }>>>, {}>;
1070
+ declare const ProCurdList: vue.DefineComponent<ProCurdListProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProCurdListProps>, {}>;
1461
1071
  declare const ProCurdListConnect: vue.DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1462
1072
 
1463
1073
  interface DescriptionsProps {
@@ -1468,8 +1078,8 @@ interface DescriptionsProps {
1468
1078
  title?: string;
1469
1079
  extra?: string;
1470
1080
  }
1471
- declare const ProCurdDesc: vue.DefineComponent<DescriptionsProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<DescriptionsProps>, {}>;
1472
- declare const ProCurdDescConnect: vue.DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1081
+ declare const ProCurdDesc: DefineComponent<DescriptionsProps>;
1082
+ declare const ProCurdDescConnect: DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1473
1083
 
1474
1084
  declare const proSelectProps: () => {
1475
1085
  options: PropType<TOptions>;
@@ -1479,4 +1089,16 @@ declare const ProSelect: vue.DefineComponent<any, {}, {}, {}, {}, vue.ComponentO
1479
1089
  [x: string]: any;
1480
1090
  }>;
1481
1091
 
1482
- export { ButtonProps, ContinueAddButton, DescriptionsProps, ModalProps, OkButton, PaginationProps, ProCurdDesc, ProCurdDescConnect, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdModal, ProCurdModalConnect, ProForm, ProFormCascader, ProFormCheckbox, ProFormDatePicker, ProFormItem, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProFormRadio, ProFormSelect, ProFormSwitch, ProFormText, ProFormTextNumber, ProFormTimePicker, ProFormTreeSelect, ProGrid, ProGridProps, ProList, ProListProps, ProOperateButton, ProOperateButtonProps, ProSearchForm, ProSearchFormProps, ProSelect, ProSelectProps, ProSubmitButton, ProTable, ProTableProps, TPageState, createFormItemComponent, defaultPage };
1092
+ declare const proRadioProps: () => {
1093
+ options: {
1094
+ type: PropType<TOptions$1>;
1095
+ };
1096
+ buttonStyle: {
1097
+ type: PropType<"default" | "button">;
1098
+ default: string;
1099
+ };
1100
+ };
1101
+ declare type ProRadioProps = Partial<ExtractPropTypes<ReturnType<typeof proRadioProps>>> & RadioGroupProps;
1102
+ declare const ProRadio: vue.DefineComponent<ProRadioProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProRadioProps>, {}>;
1103
+
1104
+ export { ButtonProps, DescriptionsProps, ModalProps, PaginationProps, ProCurdDesc, ProCurdDescConnect, ProCurdForm, ProCurdFormConnect, ProCurdFormProps, ProCurdList, ProCurdListConnect, ProCurdListProps, ProCurdModal, ProCurdModalConnect, ProForm, ProFormCascader, ProFormCheckbox, ProFormDatePicker, ProFormItem, ProFormItemProps, ProFormList, ProFormListProps, ProFormProps, ProFormRadio, ProFormSelect, ProFormSwitch, ProFormText, ProFormTextNumber, ProFormTimePicker, ProFormTreeSelect, ProGrid, ProGridProps, ProLoading, ProLoadingProps, ProRadio, ProRadioProps, ProSearchForm, ProSearchFormProps, ProSelect, ProSelectProps, ProSubmitButton, ProTable, ProTableProps, createFormItemComponent, createLoadingId };