@dt-frames/ui 1.0.21 → 1.0.24
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/assets/imgs/table/empty.png +0 -0
- package/es/components/forms/src/components/formIcon.d.ts +19 -19
- package/es/components/forms/src/components/formInputUseDialog.d.ts +16 -16
- package/es/components/icons/index.less +2 -1
- package/es/components/icons/src/pick-icon.d.ts +3 -3
- package/es/components/source/src/hooks/useSource.d.ts +4 -4
- package/es/components/table/index.less +24 -0
- package/es/components/table/src/components/editable/EditTableCell.d.ts +3 -0
- package/es/components/table/src/components/setting/Download.d.ts +1932 -0
- package/es/components/table/src/components/setting/DownloadCtrl.d.ts +1928 -0
- package/es/components/table/src/hooks/useDataSource.d.ts +2 -0
- package/es/components/table/src/index.d.ts +12 -3
- package/es/components/table/src/props.d.ts +4 -1
- package/es/components/table/src/types/table.type.d.ts +2 -0
- package/es/components/upload/index.less +2 -0
- package/es/components/upload/src/upload.d.ts +12 -3
- package/es/index.js +292 -166
- package/package.json +1 -1
- package/dist/index.es.js +0 -10738
- package/dist/index.umd.js +0 -1
|
@@ -10,5 +10,7 @@ declare type ActionsType = {
|
|
|
10
10
|
export declare function useDataSource(propsRef: ComputedRef<BasicTableProps>, { getPaginationInfo, setPagination, clearSelectedRowKeys, }: ActionsType, emit: any): {
|
|
11
11
|
getDataSourceRef: ComputedRef<Recordable<any>[]>;
|
|
12
12
|
handleTableChange: (pagination: PaginationProps, filters: Partial<Recordable<string[]>>, sorter: SorterResult) => any;
|
|
13
|
+
updateTableDataRecord: (rowKey: string | number, record: Recordable) => Recordable | undefined;
|
|
14
|
+
findTableDataRecord: (rowKey: string | number) => any;
|
|
13
15
|
};
|
|
14
16
|
export {};
|
|
@@ -169,7 +169,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
169
|
};
|
|
170
170
|
rowSelection: {
|
|
171
171
|
type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
|
|
172
|
-
default:
|
|
172
|
+
default: {
|
|
173
|
+
type: string;
|
|
174
|
+
fixed: boolean;
|
|
175
|
+
};
|
|
173
176
|
};
|
|
174
177
|
customRow: {
|
|
175
178
|
type: import("vue").PropType<(record: any, index: any) => void>;
|
|
@@ -534,7 +537,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
534
537
|
};
|
|
535
538
|
rowSelection: {
|
|
536
539
|
type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
|
|
537
|
-
default:
|
|
540
|
+
default: {
|
|
541
|
+
type: string;
|
|
542
|
+
fixed: boolean;
|
|
543
|
+
};
|
|
538
544
|
};
|
|
539
545
|
customRow: {
|
|
540
546
|
type: import("vue").PropType<(record: any, index: any) => void>;
|
|
@@ -585,7 +591,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
585
591
|
childrenColumnName: string;
|
|
586
592
|
dataSource: Recordable<any>[];
|
|
587
593
|
pagination: {};
|
|
588
|
-
rowSelection:
|
|
594
|
+
rowSelection: {
|
|
595
|
+
type: string;
|
|
596
|
+
fixed: boolean;
|
|
597
|
+
};
|
|
589
598
|
clickRowSelect: boolean;
|
|
590
599
|
tableSetting: {};
|
|
591
600
|
clickToRowSelect: boolean;
|
|
@@ -171,7 +171,10 @@ export declare const TableProps: {
|
|
|
171
171
|
};
|
|
172
172
|
rowSelection: {
|
|
173
173
|
type: PropType<TableRowSelection<any>>;
|
|
174
|
-
default:
|
|
174
|
+
default: {
|
|
175
|
+
type: string;
|
|
176
|
+
fixed: boolean;
|
|
177
|
+
};
|
|
175
178
|
};
|
|
176
179
|
customRow: {
|
|
177
180
|
type: PropType<(record: any, index: any) => void>;
|
|
@@ -103,5 +103,7 @@ export declare type TableActionType = {
|
|
|
103
103
|
setCacheColumnsByField?: (dataIndex: string | undefined, value: BasicColumn) => void;
|
|
104
104
|
getSelectRows: () => Recordable[];
|
|
105
105
|
getSelectRowKeys: () => string[];
|
|
106
|
+
updateTableDataRecord: (rowKey: string | number, record: Recordable) => Recordable | undefined;
|
|
107
|
+
findTableDataRecord: (rowKey: string | number) => void;
|
|
106
108
|
emit?: any;
|
|
107
109
|
};
|
|
@@ -1185,7 +1185,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1185
1185
|
};
|
|
1186
1186
|
rowSelection: {
|
|
1187
1187
|
type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
|
|
1188
|
-
default:
|
|
1188
|
+
default: {
|
|
1189
|
+
type: string;
|
|
1190
|
+
fixed: boolean;
|
|
1191
|
+
};
|
|
1189
1192
|
};
|
|
1190
1193
|
customRow: {
|
|
1191
1194
|
type: import("vue").PropType<(record: any, index: any) => void>;
|
|
@@ -1550,7 +1553,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1550
1553
|
};
|
|
1551
1554
|
rowSelection: {
|
|
1552
1555
|
type: import("vue").PropType<import("ant-design-vue/lib/table/interface").TableRowSelection<any>>;
|
|
1553
|
-
default:
|
|
1556
|
+
default: {
|
|
1557
|
+
type: string;
|
|
1558
|
+
fixed: boolean;
|
|
1559
|
+
};
|
|
1554
1560
|
};
|
|
1555
1561
|
customRow: {
|
|
1556
1562
|
type: import("vue").PropType<(record: any, index: any) => void>;
|
|
@@ -1601,7 +1607,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1601
1607
|
childrenColumnName: string;
|
|
1602
1608
|
dataSource: import("@dt-frames/core").Recordable<any>[];
|
|
1603
1609
|
pagination: {};
|
|
1604
|
-
rowSelection:
|
|
1610
|
+
rowSelection: {
|
|
1611
|
+
type: string;
|
|
1612
|
+
fixed: boolean;
|
|
1613
|
+
};
|
|
1605
1614
|
clickRowSelect: boolean;
|
|
1606
1615
|
tableSetting: {};
|
|
1607
1616
|
clickToRowSelect: boolean;
|