@vue-start/element-pro 0.2.0 → 0.2.3

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,368 +127,16 @@ 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
- };
154
- };
155
- /**
156
- * 组件Map
157
- */
158
- declare type TElementMap = Record<string, any>;
159
-
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">;
193
- };
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: {
226
- type: BooleanConstructor;
227
- default: undefined;
228
- };
229
- searchProps: {
230
- type: PropType<ProSearchFormProps>;
231
- };
232
- tableProps: {
233
- type: PropType<Omit<Partial<ExtractPropTypes<{
234
- operate: {
235
- type: PropType<ITableOperate>;
236
- };
237
- columnEmptyText: {
238
- type: StringConstructor;
239
- };
240
- column: {
241
- type: PropType<TTableColumn>;
242
- };
243
- columns: {
244
- type: PropType<TTableColumns>;
245
- };
246
- columnState: {
247
- type: PropType<Record<string, any>>;
248
- };
249
- elementMap: {
250
- type: PropType<TElementMap>;
251
- };
252
- loading: {
253
- type: BooleanConstructor;
254
- };
255
- serialNumber: {
256
- type: BooleanConstructor;
257
- };
258
- pagination: {
259
- type: PropType<{
260
- page?: number | undefined;
261
- pageSize?: number | undefined;
262
- }>;
263
- };
264
- provideExtra: {
265
- type: PropType<IProTableProvideExtra>;
266
- };
267
- }>>, "columns"> & {
268
- columns?: TColumns | undefined;
269
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
270
- tableLayout?: "fixed" | "auto" | undefined;
271
- flexible?: boolean | undefined;
272
- data?: any;
273
- } & {
274
- slots?: Readonly<{
275
- [name: string]: vue.Slot | undefined;
276
- }> | undefined;
277
- }>;
278
- };
279
- paginationProps: {
280
- type: PropType<PaginationProps>;
281
- };
282
- pageState: {
283
- type: PropType<TPageState>;
284
- };
285
- };
286
- declare type ProListProps = Partial<ExtractPropTypes<ReturnType<typeof proListProps>>>;
287
- declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
288
- /**
289
- * extra 是否放到SearchForm中
290
- */
291
- extraInSearch: {
292
- type: BooleanConstructor;
293
- default: undefined;
294
- };
295
- searchProps: {
296
- type: PropType<ProSearchFormProps>;
297
- };
298
- tableProps: {
299
- type: PropType<Omit<Partial<ExtractPropTypes<{
300
- operate: {
301
- type: PropType<ITableOperate>;
302
- };
303
- columnEmptyText: {
304
- type: StringConstructor;
305
- };
306
- column: {
307
- type: PropType<TTableColumn>;
308
- };
309
- columns: {
310
- type: PropType<TTableColumns>;
311
- };
312
- columnState: {
313
- type: PropType<Record<string, any>>;
314
- };
315
- elementMap: {
316
- type: PropType<TElementMap>;
317
- };
318
- loading: {
319
- type: BooleanConstructor;
320
- };
321
- serialNumber: {
322
- type: BooleanConstructor;
323
- };
324
- pagination: {
325
- type: PropType<{
326
- page?: number | undefined;
327
- pageSize?: number | undefined;
328
- }>;
329
- };
330
- provideExtra: {
331
- type: PropType<IProTableProvideExtra>;
332
- };
333
- }>>, "columns"> & {
334
- columns?: TColumns | undefined;
335
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
336
- tableLayout?: "fixed" | "auto" | undefined;
337
- flexible?: boolean | undefined;
338
- data?: any;
339
- } & {
340
- slots?: Readonly<{
341
- [name: string]: vue.Slot | undefined;
342
- }> | undefined;
343
- }>;
344
- };
345
- paginationProps: {
346
- type: PropType<PaginationProps>;
347
- };
348
- pageState: {
349
- type: PropType<TPageState>;
350
- };
351
- }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
352
- /**
353
- * extra 是否放到SearchForm中
354
- */
355
- extraInSearch: {
356
- type: BooleanConstructor;
357
- default: undefined;
358
- };
359
- searchProps: {
360
- type: PropType<ProSearchFormProps>;
361
- };
362
- tableProps: {
363
- type: PropType<Omit<Partial<ExtractPropTypes<{
364
- operate: {
365
- type: PropType<ITableOperate>;
366
- };
367
- columnEmptyText: {
368
- type: StringConstructor;
369
- };
370
- column: {
371
- type: PropType<TTableColumn>;
372
- };
373
- columns: {
374
- type: PropType<TTableColumns>;
375
- };
376
- columnState: {
377
- type: PropType<Record<string, any>>;
378
- };
379
- elementMap: {
380
- type: PropType<TElementMap>;
381
- };
382
- loading: {
383
- type: BooleanConstructor;
384
- };
385
- serialNumber: {
386
- type: BooleanConstructor;
387
- };
388
- pagination: {
389
- type: PropType<{
390
- page?: number | undefined;
391
- pageSize?: number | undefined;
392
- }>;
393
- };
394
- provideExtra: {
395
- type: PropType<IProTableProvideExtra>;
396
- };
397
- }>>, "columns"> & {
398
- columns?: TColumns | undefined;
399
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
400
- tableLayout?: "fixed" | "auto" | undefined;
401
- flexible?: boolean | undefined;
402
- data?: any;
403
- } & {
404
- slots?: Readonly<{
405
- [name: string]: vue.Slot | undefined;
406
- }> | undefined;
407
- }>;
408
- };
409
- paginationProps: {
410
- type: PropType<PaginationProps>;
411
- };
412
- pageState: {
413
- type: PropType<TPageState>;
414
- };
415
- }>>>, {}>;
416
-
417
- declare const proGridProps: () => {
418
- /**
419
- * row属性
420
- */
421
- row: {
422
- type: PropType<IRow>;
423
- default: undefined;
424
- };
425
- /**
426
- * 公共col属性
427
- */
428
- col: {
429
- type: PropType<ICol>;
430
- };
431
- /**
432
- *
433
- */
434
- items: {
435
- type: PropType<{
436
- vNode: VNode;
437
- rowKey?: string | number | undefined;
438
- col?: ICol | undefined;
439
- }[]>;
440
- };
130
+ declare type ProGridProps = {
131
+ row?: IRow;
132
+ col?: ICol;
133
+ items?: {
134
+ vNode: VNode;
135
+ rowKey?: string | number;
136
+ col?: ICol;
137
+ }[];
441
138
  };
442
- declare type ProGridProps = Partial<ExtractPropTypes<ReturnType<typeof proGridProps>>>;
443
- declare const ProGrid: vue.DefineComponent<Partial<ExtractPropTypes<{
444
- /**
445
- * row属性
446
- */
447
- row: {
448
- type: PropType<IRow>;
449
- default: undefined;
450
- };
451
- /**
452
- * 公共col属性
453
- */
454
- col: {
455
- type: PropType<ICol>;
456
- };
457
- /**
458
- *
459
- */
460
- items: {
461
- type: PropType<{
462
- vNode: VNode;
463
- rowKey?: string | number | undefined;
464
- col?: ICol | undefined;
465
- }[]>;
466
- };
467
- }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
468
- /**
469
- * row属性
470
- */
471
- row: {
472
- type: PropType<IRow>;
473
- default: undefined;
474
- };
475
- /**
476
- * 公共col属性
477
- */
478
- col: {
479
- type: PropType<ICol>;
480
- };
481
- /**
482
- *
483
- */
484
- items: {
485
- type: PropType<{
486
- vNode: VNode;
487
- rowKey?: string | number | undefined;
488
- col?: ICol | undefined;
489
- }[]>;
490
- };
491
- }>>>, {}>;
139
+ declare const ProGrid: DefineComponent<ProGridProps>;
492
140
 
493
141
  declare const createLoadingId: (prefix?: string) => string;
494
142
  declare const proLoadingProps: () => {
@@ -585,7 +233,7 @@ declare const proFormItemProps: () => {
585
233
  };
586
234
  };
587
235
  declare type ProFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof proFormItemProps>>> & FormItemProps;
588
- 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>, {}>;
589
237
  interface FormProps {
590
238
  model?: Record<string, any>;
591
239
  rules?: FormItemRule[];
@@ -602,16 +250,14 @@ interface FormProps {
602
250
  hideRequiredAsterisk?: boolean;
603
251
  scrollToError?: boolean;
604
252
  }
253
+ declare const FormMethods: string[];
605
254
  declare type ProFormProps = ProFormProps$1 & FormProps & Omit<ProGridProps, "items"> & {
606
255
  onFinish?: (showValues: Record<string, any>, values: Record<string, any>) => void;
607
256
  onFinishFailed?: (invalidFields: Record<string, any>) => void;
608
257
  };
609
- declare const ProForm: vue.DefineComponent<ProFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormProps>, {}>;
610
-
611
- declare type ProSearchFormProps = ProSearchFormProps$1 & Omit<ProFormProps, "inline"> & {
612
- inline?: boolean;
613
- };
614
- declare const ProSearchForm: vue.DefineComponent<ProSearchFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProSearchFormProps>, {}>;
258
+ declare const ProForm: DefineComponent<ProFormProps>;
259
+ declare type ProSearchFormProps = ProSearchFormProps$1 & ProFormProps;
260
+ declare const ProSearchForm: DefineComponent<ProSearchFormProps>;
615
261
 
616
262
  declare const ProFormText: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
617
263
  name: {
@@ -644,7 +290,21 @@ declare const ProFormText: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
644
290
  slots: {
645
291
  type: ObjectConstructor;
646
292
  };
647
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
293
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
294
+ readonly: {
295
+ type: BooleanConstructor;
296
+ default: undefined;
297
+ };
298
+ fieldProps: {
299
+ type: ObjectConstructor;
300
+ };
301
+ showProps: {
302
+ type: ObjectConstructor;
303
+ };
304
+ slots: {
305
+ type: ObjectConstructor;
306
+ };
307
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
648
308
  name: {
649
309
  type: vue.PropType<string | (string | number)[]>;
650
310
  };
@@ -675,7 +335,21 @@ declare const ProFormText: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
675
335
  slots: {
676
336
  type: ObjectConstructor;
677
337
  };
678
- }>> & Record<string, any>>>, {
338
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
339
+ readonly: {
340
+ type: BooleanConstructor;
341
+ default: undefined;
342
+ };
343
+ fieldProps: {
344
+ type: ObjectConstructor;
345
+ };
346
+ showProps: {
347
+ type: ObjectConstructor;
348
+ };
349
+ slots: {
350
+ type: ObjectConstructor;
351
+ };
352
+ }>>>>, {
679
353
  [x: string]: any;
680
354
  }>;
681
355
  declare const ProFormTextNumber: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -709,7 +383,21 @@ declare const ProFormTextNumber: vue.DefineComponent<Partial<vue.ExtractPropType
709
383
  slots: {
710
384
  type: ObjectConstructor;
711
385
  };
712
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
386
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
387
+ readonly: {
388
+ type: BooleanConstructor;
389
+ default: undefined;
390
+ };
391
+ fieldProps: {
392
+ type: ObjectConstructor;
393
+ };
394
+ showProps: {
395
+ type: ObjectConstructor;
396
+ };
397
+ slots: {
398
+ type: ObjectConstructor;
399
+ };
400
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
713
401
  name: {
714
402
  type: vue.PropType<string | (string | number)[]>;
715
403
  };
@@ -740,7 +428,21 @@ declare const ProFormTextNumber: vue.DefineComponent<Partial<vue.ExtractPropType
740
428
  slots: {
741
429
  type: ObjectConstructor;
742
430
  };
743
- }>> & Record<string, any>>>, {
431
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
432
+ readonly: {
433
+ type: BooleanConstructor;
434
+ default: undefined;
435
+ };
436
+ fieldProps: {
437
+ type: ObjectConstructor;
438
+ };
439
+ showProps: {
440
+ type: ObjectConstructor;
441
+ };
442
+ slots: {
443
+ type: ObjectConstructor;
444
+ };
445
+ }>>>>, {
744
446
  [x: string]: any;
745
447
  }>;
746
448
  declare const ProFormDatePicker: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -774,7 +476,21 @@ declare const ProFormDatePicker: vue.DefineComponent<Partial<vue.ExtractPropType
774
476
  slots: {
775
477
  type: ObjectConstructor;
776
478
  };
777
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
479
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
480
+ readonly: {
481
+ type: BooleanConstructor;
482
+ default: undefined;
483
+ };
484
+ fieldProps: {
485
+ type: ObjectConstructor;
486
+ };
487
+ showProps: {
488
+ type: ObjectConstructor;
489
+ };
490
+ slots: {
491
+ type: ObjectConstructor;
492
+ };
493
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
778
494
  name: {
779
495
  type: vue.PropType<string | (string | number)[]>;
780
496
  };
@@ -805,7 +521,21 @@ declare const ProFormDatePicker: vue.DefineComponent<Partial<vue.ExtractPropType
805
521
  slots: {
806
522
  type: ObjectConstructor;
807
523
  };
808
- }>> & Record<string, any>>>, {
524
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
525
+ readonly: {
526
+ type: BooleanConstructor;
527
+ default: undefined;
528
+ };
529
+ fieldProps: {
530
+ type: ObjectConstructor;
531
+ };
532
+ showProps: {
533
+ type: ObjectConstructor;
534
+ };
535
+ slots: {
536
+ type: ObjectConstructor;
537
+ };
538
+ }>>>>, {
809
539
  [x: string]: any;
810
540
  }>;
811
541
  declare const ProFormTimePicker: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -839,7 +569,21 @@ declare const ProFormTimePicker: vue.DefineComponent<Partial<vue.ExtractPropType
839
569
  slots: {
840
570
  type: ObjectConstructor;
841
571
  };
842
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
572
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
573
+ readonly: {
574
+ type: BooleanConstructor;
575
+ default: undefined;
576
+ };
577
+ fieldProps: {
578
+ type: ObjectConstructor;
579
+ };
580
+ showProps: {
581
+ type: ObjectConstructor;
582
+ };
583
+ slots: {
584
+ type: ObjectConstructor;
585
+ };
586
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
843
587
  name: {
844
588
  type: vue.PropType<string | (string | number)[]>;
845
589
  };
@@ -870,7 +614,21 @@ declare const ProFormTimePicker: vue.DefineComponent<Partial<vue.ExtractPropType
870
614
  slots: {
871
615
  type: ObjectConstructor;
872
616
  };
873
- }>> & Record<string, any>>>, {
617
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
618
+ readonly: {
619
+ type: BooleanConstructor;
620
+ default: undefined;
621
+ };
622
+ fieldProps: {
623
+ type: ObjectConstructor;
624
+ };
625
+ showProps: {
626
+ type: ObjectConstructor;
627
+ };
628
+ slots: {
629
+ type: ObjectConstructor;
630
+ };
631
+ }>>>>, {
874
632
  [x: string]: any;
875
633
  }>;
876
634
  declare const ProFormSelect: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -904,7 +662,21 @@ declare const ProFormSelect: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
904
662
  slots: {
905
663
  type: ObjectConstructor;
906
664
  };
907
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
665
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
666
+ readonly: {
667
+ type: BooleanConstructor;
668
+ default: undefined;
669
+ };
670
+ fieldProps: {
671
+ type: ObjectConstructor;
672
+ };
673
+ showProps: {
674
+ type: ObjectConstructor;
675
+ };
676
+ slots: {
677
+ type: ObjectConstructor;
678
+ };
679
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
908
680
  name: {
909
681
  type: vue.PropType<string | (string | number)[]>;
910
682
  };
@@ -935,7 +707,21 @@ declare const ProFormSelect: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
935
707
  slots: {
936
708
  type: ObjectConstructor;
937
709
  };
938
- }>> & Record<string, any>>>, {
710
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
711
+ readonly: {
712
+ type: BooleanConstructor;
713
+ default: undefined;
714
+ };
715
+ fieldProps: {
716
+ type: ObjectConstructor;
717
+ };
718
+ showProps: {
719
+ type: ObjectConstructor;
720
+ };
721
+ slots: {
722
+ type: ObjectConstructor;
723
+ };
724
+ }>>>>, {
939
725
  [x: string]: any;
940
726
  }>;
941
727
  declare const ProFormTreeSelect: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -969,7 +755,21 @@ declare const ProFormTreeSelect: vue.DefineComponent<Partial<vue.ExtractPropType
969
755
  slots: {
970
756
  type: ObjectConstructor;
971
757
  };
972
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
758
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
759
+ readonly: {
760
+ type: BooleanConstructor;
761
+ default: undefined;
762
+ };
763
+ fieldProps: {
764
+ type: ObjectConstructor;
765
+ };
766
+ showProps: {
767
+ type: ObjectConstructor;
768
+ };
769
+ slots: {
770
+ type: ObjectConstructor;
771
+ };
772
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
973
773
  name: {
974
774
  type: vue.PropType<string | (string | number)[]>;
975
775
  };
@@ -1000,7 +800,21 @@ declare const ProFormTreeSelect: vue.DefineComponent<Partial<vue.ExtractPropType
1000
800
  slots: {
1001
801
  type: ObjectConstructor;
1002
802
  };
1003
- }>> & Record<string, any>>>, {
803
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
804
+ readonly: {
805
+ type: BooleanConstructor;
806
+ default: undefined;
807
+ };
808
+ fieldProps: {
809
+ type: ObjectConstructor;
810
+ };
811
+ showProps: {
812
+ type: ObjectConstructor;
813
+ };
814
+ slots: {
815
+ type: ObjectConstructor;
816
+ };
817
+ }>>>>, {
1004
818
  [x: string]: any;
1005
819
  }>;
1006
820
  declare const ProFormCheckbox: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -1034,7 +848,21 @@ declare const ProFormCheckbox: vue.DefineComponent<Partial<vue.ExtractPropTypes<
1034
848
  slots: {
1035
849
  type: ObjectConstructor;
1036
850
  };
1037
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
851
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
852
+ readonly: {
853
+ type: BooleanConstructor;
854
+ default: undefined;
855
+ };
856
+ fieldProps: {
857
+ type: ObjectConstructor;
858
+ };
859
+ showProps: {
860
+ type: ObjectConstructor;
861
+ };
862
+ slots: {
863
+ type: ObjectConstructor;
864
+ };
865
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1038
866
  name: {
1039
867
  type: vue.PropType<string | (string | number)[]>;
1040
868
  };
@@ -1065,7 +893,21 @@ declare const ProFormCheckbox: vue.DefineComponent<Partial<vue.ExtractPropTypes<
1065
893
  slots: {
1066
894
  type: ObjectConstructor;
1067
895
  };
1068
- }>> & Record<string, any>>>, {
896
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
897
+ readonly: {
898
+ type: BooleanConstructor;
899
+ default: undefined;
900
+ };
901
+ fieldProps: {
902
+ type: ObjectConstructor;
903
+ };
904
+ showProps: {
905
+ type: ObjectConstructor;
906
+ };
907
+ slots: {
908
+ type: ObjectConstructor;
909
+ };
910
+ }>>>>, {
1069
911
  [x: string]: any;
1070
912
  }>;
1071
913
  declare const ProFormRadio: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -1099,7 +941,21 @@ declare const ProFormRadio: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
1099
941
  slots: {
1100
942
  type: ObjectConstructor;
1101
943
  };
1102
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
944
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
945
+ readonly: {
946
+ type: BooleanConstructor;
947
+ default: undefined;
948
+ };
949
+ fieldProps: {
950
+ type: ObjectConstructor;
951
+ };
952
+ showProps: {
953
+ type: ObjectConstructor;
954
+ };
955
+ slots: {
956
+ type: ObjectConstructor;
957
+ };
958
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1103
959
  name: {
1104
960
  type: vue.PropType<string | (string | number)[]>;
1105
961
  };
@@ -1130,7 +986,21 @@ declare const ProFormRadio: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
1130
986
  slots: {
1131
987
  type: ObjectConstructor;
1132
988
  };
1133
- }>> & Record<string, any>>>, {
989
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
990
+ readonly: {
991
+ type: BooleanConstructor;
992
+ default: undefined;
993
+ };
994
+ fieldProps: {
995
+ type: ObjectConstructor;
996
+ };
997
+ showProps: {
998
+ type: ObjectConstructor;
999
+ };
1000
+ slots: {
1001
+ type: ObjectConstructor;
1002
+ };
1003
+ }>>>>, {
1134
1004
  [x: string]: any;
1135
1005
  }>;
1136
1006
  declare const ProFormSwitch: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -1164,7 +1034,21 @@ declare const ProFormSwitch: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
1164
1034
  slots: {
1165
1035
  type: ObjectConstructor;
1166
1036
  };
1167
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1037
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
1038
+ readonly: {
1039
+ type: BooleanConstructor;
1040
+ default: undefined;
1041
+ };
1042
+ fieldProps: {
1043
+ type: ObjectConstructor;
1044
+ };
1045
+ showProps: {
1046
+ type: ObjectConstructor;
1047
+ };
1048
+ slots: {
1049
+ type: ObjectConstructor;
1050
+ };
1051
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1168
1052
  name: {
1169
1053
  type: vue.PropType<string | (string | number)[]>;
1170
1054
  };
@@ -1195,7 +1079,21 @@ declare const ProFormSwitch: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
1195
1079
  slots: {
1196
1080
  type: ObjectConstructor;
1197
1081
  };
1198
- }>> & Record<string, any>>>, {
1082
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
1083
+ readonly: {
1084
+ type: BooleanConstructor;
1085
+ default: undefined;
1086
+ };
1087
+ fieldProps: {
1088
+ type: ObjectConstructor;
1089
+ };
1090
+ showProps: {
1091
+ type: ObjectConstructor;
1092
+ };
1093
+ slots: {
1094
+ type: ObjectConstructor;
1095
+ };
1096
+ }>>>>, {
1199
1097
  [x: string]: any;
1200
1098
  }>;
1201
1099
  declare const ProFormCascader: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
@@ -1229,7 +1127,21 @@ declare const ProFormCascader: vue.DefineComponent<Partial<vue.ExtractPropTypes<
1229
1127
  slots: {
1230
1128
  type: ObjectConstructor;
1231
1129
  };
1232
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1130
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
1131
+ readonly: {
1132
+ type: BooleanConstructor;
1133
+ default: undefined;
1134
+ };
1135
+ fieldProps: {
1136
+ type: ObjectConstructor;
1137
+ };
1138
+ showProps: {
1139
+ type: ObjectConstructor;
1140
+ };
1141
+ slots: {
1142
+ type: ObjectConstructor;
1143
+ };
1144
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1233
1145
  name: {
1234
1146
  type: vue.PropType<string | (string | number)[]>;
1235
1147
  };
@@ -1260,7 +1172,21 @@ declare const ProFormCascader: vue.DefineComponent<Partial<vue.ExtractPropTypes<
1260
1172
  slots: {
1261
1173
  type: ObjectConstructor;
1262
1174
  };
1263
- }>> & Record<string, any>>>, {
1175
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
1176
+ readonly: {
1177
+ type: BooleanConstructor;
1178
+ default: undefined;
1179
+ };
1180
+ fieldProps: {
1181
+ type: ObjectConstructor;
1182
+ };
1183
+ showProps: {
1184
+ type: ObjectConstructor;
1185
+ };
1186
+ slots: {
1187
+ type: ObjectConstructor;
1188
+ };
1189
+ }>>>>, {
1264
1190
  [x: string]: any;
1265
1191
  }>;
1266
1192
  interface ButtonProps {
@@ -1338,7 +1264,21 @@ declare const createFormItemComponent: ({ InputComp, valueType, name }: {
1338
1264
  slots: {
1339
1265
  type: ObjectConstructor;
1340
1266
  };
1341
- }>> & Record<string, any>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1267
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
1268
+ readonly: {
1269
+ type: BooleanConstructor;
1270
+ default: undefined;
1271
+ };
1272
+ fieldProps: {
1273
+ type: ObjectConstructor;
1274
+ };
1275
+ showProps: {
1276
+ type: ObjectConstructor;
1277
+ };
1278
+ slots: {
1279
+ type: ObjectConstructor;
1280
+ };
1281
+ }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<Partial<vue.ExtractPropTypes<{
1342
1282
  name: {
1343
1283
  type: vue.PropType<string | (string | number)[]>;
1344
1284
  };
@@ -1369,7 +1309,21 @@ declare const createFormItemComponent: ({ InputComp, valueType, name }: {
1369
1309
  slots: {
1370
1310
  type: ObjectConstructor;
1371
1311
  };
1372
- }>> & Record<string, any>>>, {
1312
+ }>> & Record<string, any> & Partial<vue.ExtractPropTypes<{
1313
+ readonly: {
1314
+ type: BooleanConstructor;
1315
+ default: undefined;
1316
+ };
1317
+ fieldProps: {
1318
+ type: ObjectConstructor;
1319
+ };
1320
+ showProps: {
1321
+ type: ObjectConstructor;
1322
+ };
1323
+ slots: {
1324
+ type: ObjectConstructor;
1325
+ };
1326
+ }>>>>, {
1373
1327
  [x: string]: any;
1374
1328
  }>;
1375
1329
 
@@ -1379,234 +1333,51 @@ declare type ProTableProps = Omit<ProTableProps$1, "columns"> & {
1379
1333
  tableLayout?: "fixed" | "auto";
1380
1334
  flexible?: boolean;
1381
1335
  data?: any;
1336
+ loading?: boolean;
1382
1337
  };
1383
- declare const ProTable: vue.DefineComponent<ProTableProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProTableProps>, {
1384
- data?: any;
1385
- }>;
1338
+ declare const TableMethods: string[];
1339
+ declare const ProTable: DefineComponent<ProTableProps>;
1386
1340
 
1387
- /**
1388
- * 添加 和 修改 时候的确定按钮
1389
- */
1390
- declare const OkButton: vue.DefineComponent<ButtonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ButtonProps>, {}>;
1391
- /**
1392
- * 添加 时候的 确定并继续添加按钮
1393
- */
1394
- declare const ContinueAddButton: vue.DefineComponent<ButtonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ButtonProps>, {}>;
1395
- declare const proOperateButtonProps: () => {
1396
- showContinueAdd: {
1397
- type: BooleanConstructor;
1398
- default: boolean;
1399
- };
1400
- okText: {
1401
- type: StringConstructor;
1402
- default: string;
1403
- };
1404
- okButtonProps: {
1405
- type: PropType<ButtonProps>;
1406
- };
1407
- continueText: {
1408
- type: StringConstructor;
1409
- default: string;
1410
- };
1411
- continueButtonProps: {
1412
- type: PropType<ButtonProps>;
1413
- };
1414
- };
1415
- declare type ProOperateButtonProps = Partial<ExtractPropTypes<ReturnType<typeof proOperateButtonProps>>>;
1416
- declare const ProOperateButton: vue.DefineComponent<Partial<ExtractPropTypes<{
1417
- showContinueAdd: {
1418
- type: BooleanConstructor;
1419
- default: boolean;
1420
- };
1421
- okText: {
1422
- type: StringConstructor;
1423
- default: string;
1424
- };
1425
- okButtonProps: {
1426
- type: PropType<ButtonProps>;
1427
- };
1428
- continueText: {
1429
- type: StringConstructor;
1430
- default: string;
1431
- };
1432
- continueButtonProps: {
1433
- type: PropType<ButtonProps>;
1434
- };
1435
- }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<ExtractPropTypes<{
1436
- showContinueAdd: {
1437
- type: BooleanConstructor;
1438
- default: boolean;
1439
- };
1440
- okText: {
1441
- type: StringConstructor;
1442
- default: string;
1443
- };
1444
- okButtonProps: {
1445
- type: PropType<ButtonProps>;
1446
- };
1447
- continueText: {
1448
- type: StringConstructor;
1449
- default: string;
1341
+ declare type ProCurdFormProps = ProFormProps & ProCurdAddOrEditProps;
1342
+ declare const ProCurdForm: DefineComponent<ProCurdFormProps>;
1343
+ declare const ProCurdFormConnect: DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1344
+
1345
+ interface PaginationProps {
1346
+ total?: number;
1347
+ pageSize?: number;
1348
+ defaultPageSize?: number;
1349
+ currentPage?: number;
1350
+ defaultCurrentPage?: number;
1351
+ pageCount?: number;
1352
+ pagerCount?: number;
1353
+ layout?: string;
1354
+ pageSizes?: number[];
1355
+ popperClass?: string;
1356
+ prevText?: string;
1357
+ nextText?: string;
1358
+ small?: boolean;
1359
+ background?: boolean;
1360
+ disabled?: boolean;
1361
+ hideOnSinglePage?: boolean;
1362
+ onSizeChange?: (val: number) => void;
1363
+ onCurrentChange?: (val: number) => void;
1364
+ }
1365
+ declare type ProCurdListProps = {
1366
+ extraInSearch?: boolean;
1367
+ searchProps?: ProSearchFormProps & {
1368
+ slots?: Slots;
1450
1369
  };
1451
- continueButtonProps: {
1452
- type: PropType<ButtonProps>;
1453
- };
1454
- }>>>, {}>;
1455
- declare const proCurdFormProps: () => {
1456
- operateButtonProps: {
1457
- type: PropType<Partial<ExtractPropTypes<{
1458
- showContinueAdd: {
1459
- type: BooleanConstructor;
1460
- default: boolean;
1461
- };
1462
- okText: {
1463
- type: StringConstructor;
1464
- default: string;
1465
- };
1466
- okButtonProps: {
1467
- type: PropType<ButtonProps>;
1468
- };
1469
- continueText: {
1470
- type: StringConstructor;
1471
- default: string;
1472
- };
1473
- continueButtonProps: {
1474
- type: PropType<ButtonProps>;
1475
- };
1476
- }>>>;
1370
+ tableProps?: ProTableProps & {
1371
+ slots?: Slots;
1477
1372
  };
1373
+ paginationProps?: PaginationProps;
1374
+ pageState?: TPageState;
1478
1375
  };
1479
- declare type ProCurdFormProps = Partial<ExtractPropTypes<ReturnType<typeof proCurdFormProps>>> & ProFormProps;
1480
- declare const ProCurdForm: vue.DefineComponent<ProCurdFormProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProCurdFormProps>, {}>;
1481
- declare const ProCurdFormConnect: vue.DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
1482
-
1483
1376
  /**
1484
1377
  * 组合列表
1485
1378
  * SearchForm + Table + Pagination
1486
1379
  */
1487
- declare const ProCurdList: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
1488
- extraInSearch: {
1489
- type: BooleanConstructor;
1490
- default: undefined;
1491
- };
1492
- searchProps: {
1493
- type: vue.PropType<ProSearchFormProps>;
1494
- };
1495
- tableProps: {
1496
- type: vue.PropType<Omit<Partial<vue.ExtractPropTypes<{
1497
- operate: {
1498
- type: vue.PropType<_vue_start_pro.ITableOperate>;
1499
- };
1500
- columnEmptyText: {
1501
- type: StringConstructor;
1502
- };
1503
- column: {
1504
- type: vue.PropType<_vue_start_pro.TTableColumn>;
1505
- };
1506
- columns: {
1507
- type: vue.PropType<_vue_start_pro.TTableColumns>;
1508
- };
1509
- columnState: {
1510
- type: vue.PropType<Record<string, any>>;
1511
- };
1512
- elementMap: {
1513
- type: vue.PropType<_vue_start_pro.TElementMap>;
1514
- };
1515
- loading: {
1516
- type: BooleanConstructor;
1517
- };
1518
- serialNumber: {
1519
- type: BooleanConstructor;
1520
- };
1521
- pagination: {
1522
- type: vue.PropType<{
1523
- page?: number | undefined;
1524
- pageSize?: number | undefined;
1525
- }>;
1526
- };
1527
- provideExtra: {
1528
- type: vue.PropType<_vue_start_pro.IProTableProvideExtra>;
1529
- };
1530
- }>>, "columns"> & {
1531
- columns?: TColumns | undefined;
1532
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
1533
- tableLayout?: "fixed" | "auto" | undefined;
1534
- flexible?: boolean | undefined;
1535
- data?: any;
1536
- } & {
1537
- slots?: Readonly<{
1538
- [name: string]: vue.Slot | undefined;
1539
- }> | undefined;
1540
- }>;
1541
- };
1542
- paginationProps: {
1543
- type: vue.PropType<PaginationProps>;
1544
- };
1545
- pageState: {
1546
- type: vue.PropType<TPageState>;
1547
- };
1548
- }>>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<Partial<vue.ExtractPropTypes<{
1549
- extraInSearch: {
1550
- type: BooleanConstructor;
1551
- default: undefined;
1552
- };
1553
- searchProps: {
1554
- type: vue.PropType<ProSearchFormProps>;
1555
- };
1556
- tableProps: {
1557
- type: vue.PropType<Omit<Partial<vue.ExtractPropTypes<{
1558
- operate: {
1559
- type: vue.PropType<_vue_start_pro.ITableOperate>;
1560
- };
1561
- columnEmptyText: {
1562
- type: StringConstructor;
1563
- };
1564
- column: {
1565
- type: vue.PropType<_vue_start_pro.TTableColumn>;
1566
- };
1567
- columns: {
1568
- type: vue.PropType<_vue_start_pro.TTableColumns>;
1569
- };
1570
- columnState: {
1571
- type: vue.PropType<Record<string, any>>;
1572
- };
1573
- elementMap: {
1574
- type: vue.PropType<_vue_start_pro.TElementMap>;
1575
- };
1576
- loading: {
1577
- type: BooleanConstructor;
1578
- };
1579
- serialNumber: {
1580
- type: BooleanConstructor;
1581
- };
1582
- pagination: {
1583
- type: vue.PropType<{
1584
- page?: number | undefined;
1585
- pageSize?: number | undefined;
1586
- }>;
1587
- };
1588
- provideExtra: {
1589
- type: vue.PropType<_vue_start_pro.IProTableProvideExtra>;
1590
- };
1591
- }>>, "columns"> & {
1592
- columns?: TColumns | undefined;
1593
- } & Omit<element_plus_es_components_table_src_table_defaults.TableProps<any>, "data" | "tableLayout" | "flexible"> & {
1594
- tableLayout?: "fixed" | "auto" | undefined;
1595
- flexible?: boolean | undefined;
1596
- data?: any;
1597
- } & {
1598
- slots?: Readonly<{
1599
- [name: string]: vue.Slot | undefined;
1600
- }> | undefined;
1601
- }>;
1602
- };
1603
- paginationProps: {
1604
- type: vue.PropType<PaginationProps>;
1605
- };
1606
- pageState: {
1607
- type: vue.PropType<TPageState>;
1608
- };
1609
- }>>>, {}>;
1380
+ declare const ProCurdList: vue.DefineComponent<ProCurdListProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProCurdListProps>, {}>;
1610
1381
  declare const ProCurdListConnect: vue.DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1611
1382
 
1612
1383
  interface DescriptionsProps {
@@ -1617,8 +1388,8 @@ interface DescriptionsProps {
1617
1388
  title?: string;
1618
1389
  extra?: string;
1619
1390
  }
1620
- declare const ProCurdDesc: vue.DefineComponent<DescriptionsProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<DescriptionsProps>, {}>;
1621
- declare const ProCurdDescConnect: vue.DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1391
+ declare const ProCurdDesc: DefineComponent<DescriptionsProps>;
1392
+ declare const ProCurdDescConnect: DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1622
1393
 
1623
1394
  declare const proSelectProps: () => {
1624
1395
  options: PropType<TOptions>;
@@ -1628,4 +1399,16 @@ declare const ProSelect: vue.DefineComponent<any, {}, {}, {}, {}, vue.ComponentO
1628
1399
  [x: string]: any;
1629
1400
  }>;
1630
1401
 
1631
- 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, ProLoading, ProLoadingProps, ProOperateButton, ProOperateButtonProps, ProSearchForm, ProSearchFormProps, ProSelect, ProSelectProps, ProSubmitButton, ProTable, ProTableProps, TPageState, createFormItemComponent, createLoadingId, defaultPage };
1402
+ declare const proRadioProps: () => {
1403
+ options: {
1404
+ type: PropType<TOptions$1>;
1405
+ };
1406
+ buttonStyle: {
1407
+ type: PropType<"default" | "button">;
1408
+ default: string;
1409
+ };
1410
+ };
1411
+ declare type ProRadioProps = Partial<ExtractPropTypes<ReturnType<typeof proRadioProps>>> & RadioGroupProps;
1412
+ declare const ProRadio: vue.DefineComponent<ProRadioProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProRadioProps>, {}>;
1413
+
1414
+ export { ButtonProps, DescriptionsProps, FormMethods, 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, TableMethods, createFormItemComponent, createLoadingId };