@dt-frames/ui 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/curd/src/components/dialog.d.ts +4 -7
- package/es/components/curd/src/types/curd.type.d.ts +2 -2
- package/es/components/forms/src/components/formIcon.d.ts +23 -23
- package/es/components/forms/src/components/formInputUseDialog.d.ts +18 -18
- package/es/components/forms/src/types/form.type.d.ts +1 -0
- package/es/components/icons/src/pick-icon.d.ts +5 -5
- package/es/components/source/src/hooks/useDownload.d.ts +2 -1
- package/es/components/source/src/types/source.type.d.ts +2 -1
- package/es/components/table/index.d.ts +2 -1
- package/es/components/table/index.less +4 -0
- package/es/components/table/src/components/TableActions.d.ts +1 -0
- package/es/components/table/src/components/editable/EditTableCell.d.ts +0 -6
- package/es/components/table/src/components/editable/index.d.ts +1 -1
- package/es/components/table/src/components/setting/Column.d.ts +1 -0
- package/es/components/table/src/components/setting/Download.d.ts +1 -0
- package/es/components/table/src/components/setting/Fullscreen.d.ts +1 -0
- package/es/components/table/src/components/setting/Size.d.ts +1 -0
- package/es/components/table/src/hooks/useColumns.d.ts +4 -2
- package/es/components/table/src/hooks/useLoading.d.ts +12 -1
- package/es/components/table/src/hooks/useTableInstance.d.ts +1 -0
- package/es/components/table/src/hooks/useTableScroll.d.ts +2 -2
- package/es/components/table/src/index.d.ts +106 -7
- package/es/components/table/src/props.d.ts +4 -0
- package/es/components/table/src/types/table.type.d.ts +2 -1
- package/es/components/upload/src/props.d.ts +4 -0
- package/es/components/upload/src/upload.d.ts +119 -7
- package/es/index.js +481 -429
- package/es/theme/theme.less +2 -0
- package/es/theme/transition.less +6 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BasicColumn } from "../../types/table.type";
|
|
2
|
-
declare function renderEditCell(column: BasicColumn
|
|
2
|
+
declare function renderEditCell(column: BasicColumn): ({ text: value, record, index }: {
|
|
3
3
|
text: any;
|
|
4
4
|
record: any;
|
|
5
5
|
index: any;
|
|
@@ -10,6 +10,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
10
10
|
table: Omit<import("../../types/table.type").TableActionType & {
|
|
11
11
|
tableElRef: import("vue").Ref<HTMLElement>;
|
|
12
12
|
getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
13
|
+
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
13
14
|
}, "getBind"> & {
|
|
14
15
|
getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
15
16
|
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
@@ -8,6 +8,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
table: Omit<import("../../types/table.type").TableActionType & {
|
|
9
9
|
tableElRef: import("vue").Ref<HTMLElement>;
|
|
10
10
|
getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
11
|
+
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
11
12
|
}, "getBind"> & {
|
|
12
13
|
getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
13
14
|
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
@@ -2,6 +2,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2
2
|
table: Omit<import("../../types/table.type").TableActionType & {
|
|
3
3
|
tableElRef: import("vue").Ref<HTMLElement>;
|
|
4
4
|
getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
5
|
+
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
5
6
|
}, "getBind"> & {
|
|
6
7
|
getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
7
8
|
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
@@ -5,6 +5,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
table: Omit<import("../../types/table.type").TableActionType & {
|
|
6
6
|
tableElRef: import("vue").Ref<HTMLElement>;
|
|
7
7
|
getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
8
|
+
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
8
9
|
}, "getBind"> & {
|
|
9
10
|
getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
10
11
|
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { PaginationProps } from 'ant-design-vue/lib/pagination';
|
|
2
|
-
import { ComputedRef } from "vue";
|
|
2
|
+
import { ComputedRef, Ref } from "vue";
|
|
3
3
|
import { BasicColumn, BasicTableProps } from "../types/table.type";
|
|
4
4
|
import { SetColumnsParams } from '../types/tableHeader.type';
|
|
5
|
-
export declare function useColumns(propsRef: ComputedRef<BasicTableProps>, getPaginationRef: ComputedRef<boolean | PaginationProps
|
|
5
|
+
export declare function useColumns(propsRef: ComputedRef<BasicTableProps>, getPaginationRef: ComputedRef<boolean | PaginationProps>, tableElRef: Ref<HTMLDivElement & {
|
|
6
|
+
$el: any;
|
|
7
|
+
} | null>): {
|
|
6
8
|
getViewColumns: ComputedRef<BasicColumn[]>;
|
|
7
9
|
getColumnsRef: ComputedRef<BasicColumn[]>;
|
|
8
10
|
getColumns: (opt?: SetColumnsParams) => BasicColumn[];
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { ComputedRef } from "vue";
|
|
2
2
|
import { BasicTableProps } from "../types/table.type";
|
|
3
3
|
export declare function useLoading(props: ComputedRef<BasicTableProps>): {
|
|
4
|
-
getLoading: ComputedRef<boolean
|
|
4
|
+
getLoading: ComputedRef<(boolean | Partial<import("vue").ExtractPropTypes<{
|
|
5
|
+
prefixCls: StringConstructor;
|
|
6
|
+
spinning: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: any;
|
|
9
|
+
};
|
|
10
|
+
size: import("vue").PropType<import("ant-design-vue/lib/spin/Spin").SpinSize>;
|
|
11
|
+
wrapperClassName: StringConstructor;
|
|
12
|
+
tip: import("vue-types").VueTypeValidableDef<any>;
|
|
13
|
+
delay: NumberConstructor;
|
|
14
|
+
indicator: import("vue-types").VueTypeValidableDef<any>;
|
|
15
|
+
}>>) & boolean>;
|
|
5
16
|
setLoading: (loading: boolean) => void;
|
|
6
17
|
};
|
|
@@ -4,6 +4,7 @@ import { BasicTableProps, TableActionType } from "../types/table.type";
|
|
|
4
4
|
declare type Instance = TableActionType & {
|
|
5
5
|
tableElRef: Ref<Nullable<HTMLElement>>;
|
|
6
6
|
getBind: ComputedRef<Recordable>;
|
|
7
|
+
getProps: ComputedRef<Recordable>;
|
|
7
8
|
};
|
|
8
9
|
declare type RetInstance = Omit<Instance, 'getBind'> & {
|
|
9
10
|
getBind: ComputedRef<BasicTableProps>;
|
|
@@ -4,8 +4,8 @@ export declare function useTableScroll(propsRef: ComputedRef<BasicTableProps>, t
|
|
|
4
4
|
$el: any;
|
|
5
5
|
} | null>, columnsRef: ComputedRef<BasicColumn[]>, rowSelectionRef: ComputedRef<TableRowSelection | null>): {
|
|
6
6
|
getScrollRef: ComputedRef<{
|
|
7
|
-
x: string | number;
|
|
8
|
-
y: number;
|
|
7
|
+
x: string | number | true;
|
|
8
|
+
y: string | number;
|
|
9
9
|
scrollToFirstRowOnChange: boolean;
|
|
10
10
|
}>;
|
|
11
11
|
filterSource: Ref<any[]>;
|
|
@@ -81,6 +81,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
type: BooleanConstructor;
|
|
82
82
|
default: boolean;
|
|
83
83
|
};
|
|
84
|
+
canResize: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
84
88
|
pagination: {
|
|
85
89
|
type: import("vue").PropType<boolean | Partial<ExtractPropTypes<{
|
|
86
90
|
total: NumberConstructor;
|
|
@@ -204,11 +208,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
208
|
tableElRef: any;
|
|
205
209
|
getBind: import("vue").ComputedRef<{
|
|
206
210
|
scroll: {
|
|
207
|
-
x: string | number;
|
|
208
|
-
y: number;
|
|
211
|
+
x: string | number | true;
|
|
212
|
+
y: string | number;
|
|
209
213
|
scrollToFirstRowOnChange: boolean;
|
|
210
214
|
};
|
|
211
|
-
loading: boolean
|
|
215
|
+
loading: (boolean | Partial<ExtractPropTypes<{
|
|
216
|
+
prefixCls: StringConstructor;
|
|
217
|
+
spinning: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: any;
|
|
220
|
+
};
|
|
221
|
+
size: import("vue").PropType<import("ant-design-vue/lib/spin/Spin").SpinSize>;
|
|
222
|
+
wrapperClassName: StringConstructor;
|
|
223
|
+
tip: import("vue-types").VueTypeValidableDef<any>;
|
|
224
|
+
delay: NumberConstructor;
|
|
225
|
+
indicator: import("vue-types").VueTypeValidableDef<any>;
|
|
226
|
+
}>>) & boolean;
|
|
212
227
|
dataSource: any[];
|
|
213
228
|
pagination: boolean | Partial<ExtractPropTypes<{
|
|
214
229
|
total: NumberConstructor;
|
|
@@ -268,7 +283,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
268
283
|
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
269
284
|
}>>;
|
|
270
285
|
rowSelection: import("ant-design-vue/lib/table/interface").TableRowSelection<any>;
|
|
271
|
-
rowKey: string;
|
|
286
|
+
rowKey: (string | import("ant-design-vue/lib/vc-table/interface").GetRowKey<any>) & string;
|
|
272
287
|
columns: import("./types/table.type").BasicColumn[];
|
|
273
288
|
tableLayout: string;
|
|
274
289
|
class: (string | {
|
|
@@ -281,10 +296,89 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
281
296
|
onMouseenter: (event: Event) => void;
|
|
282
297
|
onMouseleave: (event: Event) => void;
|
|
283
298
|
};
|
|
284
|
-
|
|
299
|
+
dropdownPrefixCls?: string;
|
|
300
|
+
size: "small" | "middle";
|
|
285
301
|
bordered: boolean;
|
|
286
|
-
|
|
302
|
+
locale?: import("ant-design-vue/lib/table/interface").TableLocale;
|
|
303
|
+
onChange?: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/lib/table/interface").FilterValue>, sorter: import("ant-design-vue/lib/table/interface").SorterResult<any> | import("ant-design-vue/lib/table/interface").SorterResult<any>[], extra: import("ant-design-vue/lib/table/interface").TableCurrentDataSource<any>) => void;
|
|
304
|
+
getPopupContainer?: import("ant-design-vue/lib/table/interface").GetPopupContainer;
|
|
305
|
+
sortDirections?: import("ant-design-vue/lib/table/interface").SortOrder[];
|
|
306
|
+
showSorterTooltip?: boolean | Partial<ExtractPropTypes<{
|
|
307
|
+
title: import("vue-types").VueTypeValidableDef<any>;
|
|
308
|
+
trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
309
|
+
visible: {
|
|
310
|
+
type: BooleanConstructor;
|
|
311
|
+
default: any;
|
|
312
|
+
};
|
|
313
|
+
defaultVisible: {
|
|
314
|
+
type: BooleanConstructor;
|
|
315
|
+
default: any;
|
|
316
|
+
};
|
|
317
|
+
placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
|
|
318
|
+
color: StringConstructor;
|
|
319
|
+
transitionName: StringConstructor;
|
|
320
|
+
overlayStyle: {
|
|
321
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
322
|
+
default: import("vue").CSSProperties;
|
|
323
|
+
};
|
|
324
|
+
overlayClassName: StringConstructor;
|
|
325
|
+
openClassName: StringConstructor;
|
|
326
|
+
prefixCls: StringConstructor;
|
|
327
|
+
mouseEnterDelay: NumberConstructor;
|
|
328
|
+
mouseLeaveDelay: NumberConstructor;
|
|
329
|
+
getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
330
|
+
arrowPointAtCenter: {
|
|
331
|
+
type: BooleanConstructor;
|
|
332
|
+
default: any;
|
|
333
|
+
};
|
|
334
|
+
autoAdjustOverflow: {
|
|
335
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
|
|
336
|
+
default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
337
|
+
};
|
|
338
|
+
destroyTooltipOnHide: {
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
default: any;
|
|
341
|
+
};
|
|
342
|
+
align: {
|
|
343
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
|
|
344
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
345
|
+
};
|
|
346
|
+
builtinPlacements: {
|
|
347
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
|
|
348
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
349
|
+
};
|
|
350
|
+
children: ArrayConstructor;
|
|
351
|
+
onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
|
|
352
|
+
'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
|
|
353
|
+
}>>;
|
|
354
|
+
components?: import("ant-design-vue/lib/vc-table/interface").TableComponents<any>;
|
|
355
|
+
title?: import("ant-design-vue/lib/vc-table/interface").PanelRender<any>;
|
|
356
|
+
prefixCls?: string;
|
|
357
|
+
id?: string;
|
|
358
|
+
footer?: import("ant-design-vue/lib/vc-table/interface").PanelRender<any>;
|
|
359
|
+
rowClassName?: (string | import("ant-design-vue/lib/vc-table/interface").RowClassName<any>) & ((record: any, index: number) => string);
|
|
360
|
+
showHeader?: boolean;
|
|
361
|
+
customHeaderRow?: import("ant-design-vue/lib/vc-table/interface").GetComponentProps<import("ant-design-vue/lib/vc-table/interface").ColumnType<any>[]>;
|
|
362
|
+
direction?: "ltr" | "rtl";
|
|
363
|
+
expandFixed?: boolean | "left" | "right";
|
|
364
|
+
expandColumnWidth?: number;
|
|
365
|
+
expandedRowKeys?: import("ant-design-vue/lib/vc-table/interface").Key[];
|
|
366
|
+
defaultExpandedRowKeys?: import("ant-design-vue/lib/vc-table/interface").Key[];
|
|
367
|
+
expandedRowRender?: import("ant-design-vue/lib/vc-table/interface").ExpandedRowRender<any>;
|
|
368
|
+
expandRowByClick?: boolean;
|
|
369
|
+
expandIcon?: import("ant-design-vue/lib/vc-table/interface").RenderExpandIcon<any>;
|
|
370
|
+
onExpand?: (expanded: boolean, record: any) => void;
|
|
371
|
+
onExpandedRowsChange?: (expandedKeys: import("ant-design-vue/lib/vc-table/interface").Key[]) => void;
|
|
372
|
+
defaultExpandAllRows?: boolean;
|
|
373
|
+
indentSize?: number;
|
|
374
|
+
expandIconColumnIndex?: number;
|
|
375
|
+
showExpandColumn?: boolean;
|
|
376
|
+
expandedRowClassName?: import("ant-design-vue/lib/vc-table/interface").RowClassName<any>;
|
|
287
377
|
childrenColumnName: string;
|
|
378
|
+
rowExpandable?: (record: any) => boolean;
|
|
379
|
+
sticky?: boolean | import("ant-design-vue/lib/vc-table/interface").TableSticky;
|
|
380
|
+
transformCellText?: import("ant-design-vue/lib/vc-table/interface").TransformCellText<any>;
|
|
381
|
+
onDownload: Function;
|
|
288
382
|
clickRowSelect: boolean;
|
|
289
383
|
tableSetting: {};
|
|
290
384
|
clickToRowSelect: boolean;
|
|
@@ -296,11 +390,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
296
390
|
filterFn: (data: Partial<Recordable<string[]>>) => any;
|
|
297
391
|
templates: {};
|
|
298
392
|
ellipsis: boolean;
|
|
393
|
+
canResize: boolean;
|
|
299
394
|
onTableChange: Function;
|
|
300
395
|
showIndexColumn: boolean;
|
|
301
396
|
indexColumnProps: import("./types/table.type").BasicColumn[];
|
|
302
397
|
isTreeTable: boolean;
|
|
303
|
-
rowClassName?: (record: any, index: number) => string;
|
|
304
398
|
minWidth?: number;
|
|
305
399
|
maxWidth?: number;
|
|
306
400
|
defSort?: any;
|
|
@@ -449,6 +543,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
449
543
|
type: BooleanConstructor;
|
|
450
544
|
default: boolean;
|
|
451
545
|
};
|
|
546
|
+
canResize: {
|
|
547
|
+
type: BooleanConstructor;
|
|
548
|
+
default: boolean;
|
|
549
|
+
};
|
|
452
550
|
pagination: {
|
|
453
551
|
type: import("vue").PropType<boolean | Partial<ExtractPropTypes<{
|
|
454
552
|
total: NumberConstructor;
|
|
@@ -607,6 +705,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
607
705
|
defSort: any;
|
|
608
706
|
templates: {};
|
|
609
707
|
ellipsis: boolean;
|
|
708
|
+
canResize: boolean;
|
|
610
709
|
onTableChange: Function;
|
|
611
710
|
showIndexColumn: boolean;
|
|
612
711
|
indexColumnProps: import("./types/table.type").BasicColumn[];
|
|
@@ -83,6 +83,10 @@ export declare const TableProps: {
|
|
|
83
83
|
type: BooleanConstructor;
|
|
84
84
|
default: boolean;
|
|
85
85
|
};
|
|
86
|
+
canResize: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
86
90
|
pagination: {
|
|
87
91
|
type: PropType<boolean | Partial<import("vue").ExtractPropTypes<{
|
|
88
92
|
total: NumberConstructor;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DictType, Recordable } from '@dt-frames/core';
|
|
2
|
+
import type { TableProps as ATableProps } from 'ant-design-vue';
|
|
2
3
|
import type { ColumnProps } from 'ant-design-vue/lib/table';
|
|
3
4
|
import type { TableRowSelection as ITableRowSelection } from 'ant-design-vue/lib/table/interface';
|
|
4
5
|
import { ExtractPropTypes, VNode } from 'vue';
|
|
@@ -21,7 +22,7 @@ export declare type ColumnChangeParam = {
|
|
|
21
22
|
fixed: boolean | 'left' | 'right' | undefined;
|
|
22
23
|
visible: boolean;
|
|
23
24
|
};
|
|
24
|
-
export declare type BasicTableProps = ExtractPropTypes<typeof TableProps> & {
|
|
25
|
+
export declare type BasicTableProps = ATableProps & ExtractPropTypes<typeof TableProps> & {
|
|
25
26
|
onColumnsChange?: (data: ColumnChangeParam[]) => void;
|
|
26
27
|
};
|
|
27
28
|
export declare type SizeType = 'default' | 'middle' | 'small';
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
uploadText: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
2
6
|
showTemplateDownload: {
|
|
3
7
|
type: BooleanConstructor;
|
|
4
8
|
default: boolean;
|
|
@@ -43,6 +47,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
43
47
|
imgSrcRef: import("vue").Ref<any>;
|
|
44
48
|
setImgVisible: (value: any) => any;
|
|
45
49
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
uploadText: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
46
54
|
showTemplateDownload: {
|
|
47
55
|
type: BooleanConstructor;
|
|
48
56
|
default: boolean;
|
|
@@ -1097,6 +1105,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1097
1105
|
type: BooleanConstructor;
|
|
1098
1106
|
default: boolean;
|
|
1099
1107
|
};
|
|
1108
|
+
canResize: {
|
|
1109
|
+
type: BooleanConstructor;
|
|
1110
|
+
default: boolean;
|
|
1111
|
+
};
|
|
1100
1112
|
pagination: {
|
|
1101
1113
|
type: import("vue").PropType<boolean | Partial<import("vue").ExtractPropTypes<{
|
|
1102
1114
|
total: NumberConstructor;
|
|
@@ -1220,11 +1232,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1220
1232
|
tableElRef: any;
|
|
1221
1233
|
getBind: import("vue").ComputedRef<{
|
|
1222
1234
|
scroll: {
|
|
1223
|
-
x: string | number;
|
|
1224
|
-
y: number;
|
|
1235
|
+
x: string | number | true;
|
|
1236
|
+
y: string | number;
|
|
1225
1237
|
scrollToFirstRowOnChange: boolean;
|
|
1226
1238
|
};
|
|
1227
|
-
loading: boolean
|
|
1239
|
+
loading: (boolean | Partial<import("vue").ExtractPropTypes<{
|
|
1240
|
+
prefixCls: StringConstructor;
|
|
1241
|
+
spinning: {
|
|
1242
|
+
type: BooleanConstructor;
|
|
1243
|
+
default: any;
|
|
1244
|
+
};
|
|
1245
|
+
size: import("vue").PropType<import("ant-design-vue/lib/spin/Spin").SpinSize>;
|
|
1246
|
+
wrapperClassName: StringConstructor;
|
|
1247
|
+
tip: import("vue-types").VueTypeValidableDef<any>;
|
|
1248
|
+
delay: NumberConstructor;
|
|
1249
|
+
indicator: import("vue-types").VueTypeValidableDef<any>;
|
|
1250
|
+
}>>) & boolean;
|
|
1228
1251
|
dataSource: any[];
|
|
1229
1252
|
pagination: boolean | Partial<import("vue").ExtractPropTypes<{
|
|
1230
1253
|
total: NumberConstructor;
|
|
@@ -1284,7 +1307,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1284
1307
|
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
1285
1308
|
}>>;
|
|
1286
1309
|
rowSelection: import("ant-design-vue/lib/table/interface").TableRowSelection<any>;
|
|
1287
|
-
rowKey: string;
|
|
1310
|
+
rowKey: (string | import("ant-design-vue/lib/vc-table/interface").GetRowKey<any>) & string;
|
|
1288
1311
|
columns: import("../../table/src/types/table.type").BasicColumn[];
|
|
1289
1312
|
tableLayout: string;
|
|
1290
1313
|
class: (string | {
|
|
@@ -1297,10 +1320,89 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1297
1320
|
onMouseenter: (event: Event) => void;
|
|
1298
1321
|
onMouseleave: (event: Event) => void;
|
|
1299
1322
|
};
|
|
1300
|
-
|
|
1323
|
+
dropdownPrefixCls?: string;
|
|
1324
|
+
size: "small" | "middle";
|
|
1301
1325
|
bordered: boolean;
|
|
1302
|
-
|
|
1326
|
+
locale?: import("ant-design-vue/lib/table/interface").TableLocale;
|
|
1327
|
+
onChange?: (pagination: import("ant-design-vue").TablePaginationConfig, filters: Record<string, import("ant-design-vue/lib/table/interface").FilterValue>, sorter: import("ant-design-vue/lib/table/interface").SorterResult<any> | import("ant-design-vue/lib/table/interface").SorterResult<any>[], extra: import("ant-design-vue/lib/table/interface").TableCurrentDataSource<any>) => void;
|
|
1328
|
+
getPopupContainer?: import("ant-design-vue/lib/table/interface").GetPopupContainer;
|
|
1329
|
+
sortDirections?: import("ant-design-vue/lib/table/interface").SortOrder[];
|
|
1330
|
+
showSorterTooltip?: boolean | Partial<import("vue").ExtractPropTypes<{
|
|
1331
|
+
title: import("vue-types").VueTypeValidableDef<any>;
|
|
1332
|
+
trigger: import("vue").PropType<import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType | import("ant-design-vue/lib/tooltip/abstractTooltipProps").TriggerType[]>;
|
|
1333
|
+
visible: {
|
|
1334
|
+
type: BooleanConstructor;
|
|
1335
|
+
default: any;
|
|
1336
|
+
};
|
|
1337
|
+
defaultVisible: {
|
|
1338
|
+
type: BooleanConstructor;
|
|
1339
|
+
default: any;
|
|
1340
|
+
};
|
|
1341
|
+
placement: import("vue").PropType<import("ant-design-vue/lib/tooltip").TooltipPlacement>;
|
|
1342
|
+
color: StringConstructor;
|
|
1343
|
+
transitionName: StringConstructor;
|
|
1344
|
+
overlayStyle: {
|
|
1345
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
1346
|
+
default: import("vue").CSSProperties;
|
|
1347
|
+
};
|
|
1348
|
+
overlayClassName: StringConstructor;
|
|
1349
|
+
openClassName: StringConstructor;
|
|
1350
|
+
prefixCls: StringConstructor;
|
|
1351
|
+
mouseEnterDelay: NumberConstructor;
|
|
1352
|
+
mouseLeaveDelay: NumberConstructor;
|
|
1353
|
+
getPopupContainer: import("vue").PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
1354
|
+
arrowPointAtCenter: {
|
|
1355
|
+
type: BooleanConstructor;
|
|
1356
|
+
default: any;
|
|
1357
|
+
};
|
|
1358
|
+
autoAdjustOverflow: {
|
|
1359
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow>;
|
|
1360
|
+
default: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
1361
|
+
};
|
|
1362
|
+
destroyTooltipOnHide: {
|
|
1363
|
+
type: BooleanConstructor;
|
|
1364
|
+
default: any;
|
|
1365
|
+
};
|
|
1366
|
+
align: {
|
|
1367
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").AlignType>;
|
|
1368
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").AlignType;
|
|
1369
|
+
};
|
|
1370
|
+
builtinPlacements: {
|
|
1371
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements>;
|
|
1372
|
+
default: import("ant-design-vue/lib/vc-trigger/interface").BuildInPlacements;
|
|
1373
|
+
};
|
|
1374
|
+
children: ArrayConstructor;
|
|
1375
|
+
onVisibleChange: import("vue").PropType<(vis: boolean) => void>;
|
|
1376
|
+
'onUpdate:visible': import("vue").PropType<(vis: boolean) => void>;
|
|
1377
|
+
}>>;
|
|
1378
|
+
components?: import("ant-design-vue/lib/vc-table/interface").TableComponents<any>;
|
|
1379
|
+
title?: import("ant-design-vue/lib/vc-table/interface").PanelRender<any>;
|
|
1380
|
+
prefixCls?: string;
|
|
1381
|
+
id?: string;
|
|
1382
|
+
footer?: import("ant-design-vue/lib/vc-table/interface").PanelRender<any>;
|
|
1383
|
+
rowClassName?: (string | import("ant-design-vue/lib/vc-table/interface").RowClassName<any>) & ((record: any, index: number) => string);
|
|
1384
|
+
showHeader?: boolean;
|
|
1385
|
+
customHeaderRow?: import("ant-design-vue/lib/vc-table/interface").GetComponentProps<import("ant-design-vue/lib/vc-table/interface").ColumnType<any>[]>;
|
|
1386
|
+
direction?: "ltr" | "rtl";
|
|
1387
|
+
expandFixed?: boolean | "left" | "right";
|
|
1388
|
+
expandColumnWidth?: number;
|
|
1389
|
+
expandedRowKeys?: import("ant-design-vue/lib/vc-table/interface").Key[];
|
|
1390
|
+
defaultExpandedRowKeys?: import("ant-design-vue/lib/vc-table/interface").Key[];
|
|
1391
|
+
expandedRowRender?: import("ant-design-vue/lib/vc-table/interface").ExpandedRowRender<any>;
|
|
1392
|
+
expandRowByClick?: boolean;
|
|
1393
|
+
expandIcon?: import("ant-design-vue/lib/vc-table/interface").RenderExpandIcon<any>;
|
|
1394
|
+
onExpand?: (expanded: boolean, record: any) => void;
|
|
1395
|
+
onExpandedRowsChange?: (expandedKeys: import("ant-design-vue/lib/vc-table/interface").Key[]) => void;
|
|
1396
|
+
defaultExpandAllRows?: boolean;
|
|
1397
|
+
indentSize?: number;
|
|
1398
|
+
expandIconColumnIndex?: number;
|
|
1399
|
+
showExpandColumn?: boolean;
|
|
1400
|
+
expandedRowClassName?: import("ant-design-vue/lib/vc-table/interface").RowClassName<any>;
|
|
1303
1401
|
childrenColumnName: string;
|
|
1402
|
+
rowExpandable?: (record: any) => boolean;
|
|
1403
|
+
sticky?: boolean | import("ant-design-vue/lib/vc-table/interface").TableSticky;
|
|
1404
|
+
transformCellText?: import("ant-design-vue/lib/vc-table/interface").TransformCellText<any>;
|
|
1405
|
+
onDownload: Function;
|
|
1304
1406
|
clickRowSelect: boolean;
|
|
1305
1407
|
tableSetting: {};
|
|
1306
1408
|
clickToRowSelect: boolean;
|
|
@@ -1312,11 +1414,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1312
1414
|
filterFn: (data: Partial<import("@dt-frames/core").Recordable<string[]>>) => any;
|
|
1313
1415
|
templates: {};
|
|
1314
1416
|
ellipsis: boolean;
|
|
1417
|
+
canResize: boolean;
|
|
1315
1418
|
onTableChange: Function;
|
|
1316
1419
|
showIndexColumn: boolean;
|
|
1317
1420
|
indexColumnProps: import("../../table/src/types/table.type").BasicColumn[];
|
|
1318
1421
|
isTreeTable: boolean;
|
|
1319
|
-
rowClassName?: (record: any, index: number) => string;
|
|
1320
1422
|
minWidth?: number;
|
|
1321
1423
|
maxWidth?: number;
|
|
1322
1424
|
defSort?: any;
|
|
@@ -1465,6 +1567,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1465
1567
|
type: BooleanConstructor;
|
|
1466
1568
|
default: boolean;
|
|
1467
1569
|
};
|
|
1570
|
+
canResize: {
|
|
1571
|
+
type: BooleanConstructor;
|
|
1572
|
+
default: boolean;
|
|
1573
|
+
};
|
|
1468
1574
|
pagination: {
|
|
1469
1575
|
type: import("vue").PropType<boolean | Partial<import("vue").ExtractPropTypes<{
|
|
1470
1576
|
total: NumberConstructor;
|
|
@@ -1623,12 +1729,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1623
1729
|
defSort: any;
|
|
1624
1730
|
templates: {};
|
|
1625
1731
|
ellipsis: boolean;
|
|
1732
|
+
canResize: boolean;
|
|
1626
1733
|
onTableChange: Function;
|
|
1627
1734
|
showIndexColumn: boolean;
|
|
1628
1735
|
indexColumnProps: import("../../table/src/types/table.type").BasicColumn[];
|
|
1629
1736
|
isTreeTable: boolean;
|
|
1630
1737
|
}>;
|
|
1631
1738
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1739
|
+
uploadText: {
|
|
1740
|
+
type: StringConstructor;
|
|
1741
|
+
default: string;
|
|
1742
|
+
};
|
|
1632
1743
|
showTemplateDownload: {
|
|
1633
1744
|
type: BooleanConstructor;
|
|
1634
1745
|
default: boolean;
|
|
@@ -1665,6 +1776,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1665
1776
|
default: boolean;
|
|
1666
1777
|
};
|
|
1667
1778
|
}>>, {
|
|
1779
|
+
uploadText: string;
|
|
1668
1780
|
showTemplateDownload: boolean;
|
|
1669
1781
|
templateDownload: import("@vueuse/shared").Fn;
|
|
1670
1782
|
helpText: string;
|