@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.
@@ -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: any;
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: any;
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: any;
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: any;
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
  };
@@ -1,4 +1,6 @@
1
1
  .dt-file {
2
+ display: flex;
3
+ flex-direction: column;
2
4
  td.orange{
3
5
  color: orange;
4
6
  }
@@ -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: any;
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: any;
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: any;
1610
+ rowSelection: {
1611
+ type: string;
1612
+ fixed: boolean;
1613
+ };
1605
1614
  clickRowSelect: boolean;
1606
1615
  tableSetting: {};
1607
1616
  clickToRowSelect: boolean;