@shaonq/vue 1.3.2 → 1.3.3
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/lib/index.d.ts +8 -0
- package/lib/index.js +424 -416
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1561,6 +1561,7 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<Extrac
|
|
|
1561
1561
|
getRowSeq(row: any): string | number;
|
|
1562
1562
|
getRowIndex(row: any): number;
|
|
1563
1563
|
removerRowIndex(rowIndex: number): void;
|
|
1564
|
+
setSelectionRow(row: any, bool?: boolean | undefined): void;
|
|
1564
1565
|
loading: Ref<boolean, boolean>;
|
|
1565
1566
|
setLoading: typeof setLoading;
|
|
1566
1567
|
/** 执行搜索 ,是否返回第一页 */
|
|
@@ -1890,6 +1891,10 @@ declare interface TableGridTwoType extends RecordAny_2 {
|
|
|
1890
1891
|
* 删除RowIndex这一行
|
|
1891
1892
|
*/
|
|
1892
1893
|
removerRowIndex(rowIndex: number): void;
|
|
1894
|
+
/**
|
|
1895
|
+
* 选择当前行
|
|
1896
|
+
*/
|
|
1897
|
+
setSelectionRow(row: any, bool?: boolean): void;
|
|
1893
1898
|
}
|
|
1894
1899
|
|
|
1895
1900
|
declare type TableInstance = InstanceType<typeof VxeTable>;
|
|
@@ -1981,6 +1986,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
1981
1986
|
getRowSeq: (row: any) => string | number;
|
|
1982
1987
|
getRowIndex: (row: any) => number;
|
|
1983
1988
|
removerRowIndex: (rowIndex: number) => void;
|
|
1989
|
+
setSelectionRow: (row: any, bool?: boolean | undefined) => void;
|
|
1984
1990
|
}, OrcTableExpose | {
|
|
1985
1991
|
[x: string]: any;
|
|
1986
1992
|
loading: boolean;
|
|
@@ -2002,6 +2008,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
2002
2008
|
getRowSeq: (row: any) => string | number;
|
|
2003
2009
|
getRowIndex: (row: any) => number;
|
|
2004
2010
|
removerRowIndex: (rowIndex: number) => void;
|
|
2011
|
+
setSelectionRow: (row: any, bool?: boolean | undefined) => void;
|
|
2005
2012
|
}>;
|
|
2006
2013
|
tableOptions: {
|
|
2007
2014
|
ref: (el: any) => void;
|
|
@@ -2066,6 +2073,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
2066
2073
|
getRowSeq(row: any): string | number;
|
|
2067
2074
|
getRowIndex(row: any): number;
|
|
2068
2075
|
removerRowIndex(rowIndex: number): void;
|
|
2076
|
+
setSelectionRow(row: any, bool?: boolean | undefined): void;
|
|
2069
2077
|
rowKey: string;
|
|
2070
2078
|
addKey(rowIndex: number): void;
|
|
2071
2079
|
setTableData(list: RecordAny_2[]): void;
|