@gopowerteam/table-render 0.0.125 → 0.0.127
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function setupTableGrabbable(id: string): void;
|
|
@@ -4,7 +4,7 @@ import { ColumnsGroup, TableColumnSharedOptions, TableColumnsOptions, TableFormS
|
|
|
4
4
|
import { RequestPlugin } from '@gopowerteam/request';
|
|
5
5
|
import { DataRecord, FormItemsOptions, FormRenderInstance } from '@gopowerteam/form-render';
|
|
6
6
|
import { PropType, Ref } from 'vue';
|
|
7
|
-
import { TableChangeExtra, TableColumnData, TableData } from '@arco-design/web-vue';
|
|
7
|
+
import { TableChangeExtra, TableColumnData, TableData, TableExpandable } from '@arco-design/web-vue';
|
|
8
8
|
|
|
9
9
|
export declare const TableRender: import('vue').DefineComponent<{
|
|
10
10
|
rowKey: {
|
|
@@ -132,6 +132,15 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
132
132
|
type: PropType<(record: any) => string>;
|
|
133
133
|
required: false;
|
|
134
134
|
};
|
|
135
|
+
expandable: {
|
|
136
|
+
type: PropType<TableExpandable>;
|
|
137
|
+
required: false;
|
|
138
|
+
};
|
|
139
|
+
grabbable: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
required: false;
|
|
143
|
+
};
|
|
135
144
|
}, {
|
|
136
145
|
tableId: string;
|
|
137
146
|
tableInstance: Ref<import('vue').CreateComponentPublicInstance<Readonly<{
|
|
@@ -209,7 +218,7 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
209
218
|
}) => TableData[]) | undefined;
|
|
210
219
|
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
211
220
|
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
212
|
-
expandable?:
|
|
221
|
+
expandable?: TableExpandable | undefined;
|
|
213
222
|
spanMethod?: ((data: {
|
|
214
223
|
record: TableData;
|
|
215
224
|
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
@@ -377,7 +386,7 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
377
386
|
}) => TableData[]) | undefined;
|
|
378
387
|
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
379
388
|
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
380
|
-
expandable?:
|
|
389
|
+
expandable?: TableExpandable | undefined;
|
|
381
390
|
spanMethod?: ((data: {
|
|
382
391
|
record: TableData;
|
|
383
392
|
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
@@ -533,7 +542,7 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
533
542
|
}) => TableData[]) | undefined;
|
|
534
543
|
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
535
544
|
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
536
|
-
expandable?:
|
|
545
|
+
expandable?: TableExpandable | undefined;
|
|
537
546
|
spanMethod?: ((data: {
|
|
538
547
|
record: TableData;
|
|
539
548
|
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
@@ -661,7 +670,7 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
661
670
|
readonly tableLayoutFixed: boolean;
|
|
662
671
|
readonly loading: boolean | Record<string, any>;
|
|
663
672
|
readonly rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
664
|
-
readonly expandable?:
|
|
673
|
+
readonly expandable?: TableExpandable | undefined;
|
|
665
674
|
readonly scroll?: {
|
|
666
675
|
x?: string | number | undefined;
|
|
667
676
|
y?: string | number | undefined;
|
|
@@ -811,7 +820,7 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
811
820
|
}) => TableData[]) | undefined;
|
|
812
821
|
virtualListProps?: import('@arco-design/web-vue/es/_components/virtual-list-v2/interface').VirtualListProps | undefined;
|
|
813
822
|
rowSelection?: import('@arco-design/web-vue').TableRowSelection | undefined;
|
|
814
|
-
expandable?:
|
|
823
|
+
expandable?: TableExpandable | undefined;
|
|
815
824
|
spanMethod?: ((data: {
|
|
816
825
|
record: TableData;
|
|
817
826
|
column: TableColumnData | import('@arco-design/web-vue/es/table/interface').TableOperationColumn;
|
|
@@ -1659,6 +1668,15 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
1659
1668
|
type: PropType<(record: any) => string>;
|
|
1660
1669
|
required: false;
|
|
1661
1670
|
};
|
|
1671
|
+
expandable: {
|
|
1672
|
+
type: PropType<TableExpandable>;
|
|
1673
|
+
required: false;
|
|
1674
|
+
};
|
|
1675
|
+
grabbable: {
|
|
1676
|
+
type: BooleanConstructor;
|
|
1677
|
+
default: boolean;
|
|
1678
|
+
required: false;
|
|
1679
|
+
};
|
|
1662
1680
|
}>>, {
|
|
1663
1681
|
autoLoad: boolean;
|
|
1664
1682
|
size: "mini" | "small" | "medium" | "large";
|
|
@@ -1677,6 +1695,7 @@ export declare const TableRender: import('vue').DefineComponent<{
|
|
|
1677
1695
|
bordered: boolean;
|
|
1678
1696
|
stripe: boolean;
|
|
1679
1697
|
columnsGroups: ColumnsGroup[];
|
|
1698
|
+
grabbable: boolean;
|
|
1680
1699
|
}, {}>;
|
|
1681
1700
|
export type TableRenderInstance = InstanceType<typeof TableRender>;
|
|
1682
1701
|
export type TableRenderProps = TableRenderInstance['$props'];
|