@vue-start/element-pro 0.2.0 → 0.2.1

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,14 @@
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 } 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';
13
12
 
14
13
  interface ModalProps {
15
14
  appendToBody?: boolean;
@@ -43,10 +42,10 @@ declare type TOption = {
43
42
  disabled?: boolean;
44
43
  };
45
44
  declare type TOptions = TOption[];
46
- declare type TColumn$1 = TableColumnCtx<any> & Omit<TTableColumn$1, "formItemProps" | "title" | "dataIndex"> & {
45
+ declare type TColumn = TableColumnCtx<any> & Omit<TTableColumn, "formItemProps" | "title" | "dataIndex"> & {
47
46
  formItemProps?: ProFormItemProps;
48
47
  };
49
- declare type TColumns = TColumn$1[];
48
+ declare type TColumns = TColumn[];
50
49
  interface TableColumnCtx<T> {
51
50
  id?: string;
52
51
  realWidth?: number;
@@ -127,368 +126,16 @@ interface ICol {
127
126
  tag?: string;
128
127
  }
129
128
 
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
- };
129
+ declare type ProGridProps = {
130
+ row?: IRow;
131
+ col?: ICol;
132
+ items?: {
133
+ vNode: VNode;
134
+ rowKey?: string | number;
135
+ col?: ICol;
136
+ }[];
285
137
  };
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
- };
441
- };
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
- }>>>, {}>;
138
+ declare const ProGrid: DefineComponent<ProGridProps>;
492
139
 
493
140
  declare const createLoadingId: (prefix?: string) => string;
494
141
  declare const proLoadingProps: () => {
@@ -585,7 +232,7 @@ declare const proFormItemProps: () => {
585
232
  };
586
233
  };
587
234
  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>, {}>;
235
+ declare const ProFormItem: DefineComponent<ProFormItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProFormItemProps>, {}>;
589
236
  interface FormProps {
590
237
  model?: Record<string, any>;
591
238
  rules?: FormItemRule[];
@@ -606,12 +253,9 @@ declare type ProFormProps = ProFormProps$1 & FormProps & Omit<ProGridProps, "ite
606
253
  onFinish?: (showValues: Record<string, any>, values: Record<string, any>) => void;
607
254
  onFinishFailed?: (invalidFields: Record<string, any>) => void;
608
255
  };
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>, {}>;
256
+ declare const ProForm: DefineComponent<ProFormProps>;
257
+ declare type ProSearchFormProps = ProSearchFormProps$1 & ProFormProps;
258
+ declare const ProSearchForm: DefineComponent<ProSearchFormProps>;
615
259
 
616
260
  declare const ProFormText: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
617
261
  name: {
@@ -1379,234 +1023,50 @@ declare type ProTableProps = Omit<ProTableProps$1, "columns"> & {
1379
1023
  tableLayout?: "fixed" | "auto";
1380
1024
  flexible?: boolean;
1381
1025
  data?: any;
1026
+ loading?: boolean;
1382
1027
  };
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
- }>;
1028
+ declare const ProTable: DefineComponent<ProTableProps>;
1386
1029
 
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;
1030
+ declare type ProCurdFormProps = ProFormProps & ProCurdAddOrEditProps;
1031
+ declare const ProCurdForm: DefineComponent<ProCurdFormProps>;
1032
+ declare const ProCurdFormConnect: DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1033
+
1034
+ interface PaginationProps {
1035
+ total?: number;
1036
+ pageSize?: number;
1037
+ defaultPageSize?: number;
1038
+ currentPage?: number;
1039
+ defaultCurrentPage?: number;
1040
+ pageCount?: number;
1041
+ pagerCount?: number;
1042
+ layout?: string;
1043
+ pageSizes?: number[];
1044
+ popperClass?: string;
1045
+ prevText?: string;
1046
+ nextText?: string;
1047
+ small?: boolean;
1048
+ background?: boolean;
1049
+ disabled?: boolean;
1050
+ hideOnSinglePage?: boolean;
1051
+ onSizeChange?: (val: number) => void;
1052
+ onCurrentChange?: (val: number) => void;
1053
+ }
1054
+ declare type ProCurdListProps = {
1055
+ extraInSearch?: boolean;
1056
+ searchProps?: ProSearchFormProps & {
1057
+ slots?: Slots;
1450
1058
  };
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
- }>>>;
1059
+ tableProps?: ProTableProps & {
1060
+ slots?: Slots;
1477
1061
  };
1062
+ paginationProps?: PaginationProps;
1063
+ pageState?: TPageState;
1478
1064
  };
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
1065
  /**
1484
1066
  * 组合列表
1485
1067
  * SearchForm + Table + Pagination
1486
1068
  */
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
- }>>>, {}>;
1069
+ declare const ProCurdList: vue.DefineComponent<ProCurdListProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ProCurdListProps>, {}>;
1610
1070
  declare const ProCurdListConnect: vue.DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1611
1071
 
1612
1072
  interface DescriptionsProps {
@@ -1617,8 +1077,8 @@ interface DescriptionsProps {
1617
1077
  title?: string;
1618
1078
  extra?: string;
1619
1079
  }
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<{}>>, {}>;
1080
+ declare const ProCurdDesc: DefineComponent<DescriptionsProps>;
1081
+ declare const ProCurdDescConnect: DefineComponent<{}, () => JSX.Element, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
1622
1082
 
1623
1083
  declare const proSelectProps: () => {
1624
1084
  options: PropType<TOptions>;
@@ -1628,4 +1088,4 @@ declare const ProSelect: vue.DefineComponent<any, {}, {}, {}, {}, vue.ComponentO
1628
1088
  [x: string]: any;
1629
1089
  }>;
1630
1090
 
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 };
1091
+ 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, ProSearchForm, ProSearchFormProps, ProSelect, ProSelectProps, ProSubmitButton, ProTable, ProTableProps, createFormItemComponent, createLoadingId };