@shaonq/vue 1.3.1 → 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 +16 -1
- package/lib/index.js +1630 -1612
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -955,7 +955,11 @@ export declare const OrcFormButton: __VLS_WithTemplateSlots_6< DefineComponent<E
|
|
|
955
955
|
modelValue: undefined;
|
|
956
956
|
gutter: number;
|
|
957
957
|
size: string;
|
|
958
|
-
}>>, {
|
|
958
|
+
}>>, {
|
|
959
|
+
openModal: () => void;
|
|
960
|
+
hideModal: () => void;
|
|
961
|
+
onSubmit: typeof onSubmit_2;
|
|
962
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
959
963
|
"update:modelValue": (data: RecordAny) => void;
|
|
960
964
|
submit: (data: OrcFormSubmit) => void;
|
|
961
965
|
error: (data: any) => void;
|
|
@@ -1557,6 +1561,7 @@ export declare const OrcTable: __VLS_WithTemplateSlots_3< DefineComponent<Extrac
|
|
|
1557
1561
|
getRowSeq(row: any): string | number;
|
|
1558
1562
|
getRowIndex(row: any): number;
|
|
1559
1563
|
removerRowIndex(rowIndex: number): void;
|
|
1564
|
+
setSelectionRow(row: any, bool?: boolean | undefined): void;
|
|
1560
1565
|
loading: Ref<boolean, boolean>;
|
|
1561
1566
|
setLoading: typeof setLoading;
|
|
1562
1567
|
/** 执行搜索 ,是否返回第一页 */
|
|
@@ -1686,6 +1691,8 @@ export declare interface OrcTableOption extends RecordAny_2 {
|
|
|
1686
1691
|
pageSizeOptions?: number[];
|
|
1687
1692
|
/** 开启行选中 */
|
|
1688
1693
|
selectedType?: 'checkbox' | 'radio';
|
|
1694
|
+
/** 触发方式 */
|
|
1695
|
+
selectedTrigger?: 'cell' | 'row' | 'default';
|
|
1689
1696
|
/** 行必填数据 指定 [dataIndex] */
|
|
1690
1697
|
requiredKeys?: string[];
|
|
1691
1698
|
/** 表单组件第一次自动请求接口 */
|
|
@@ -1884,6 +1891,10 @@ declare interface TableGridTwoType extends RecordAny_2 {
|
|
|
1884
1891
|
* 删除RowIndex这一行
|
|
1885
1892
|
*/
|
|
1886
1893
|
removerRowIndex(rowIndex: number): void;
|
|
1894
|
+
/**
|
|
1895
|
+
* 选择当前行
|
|
1896
|
+
*/
|
|
1897
|
+
setSelectionRow(row: any, bool?: boolean): void;
|
|
1887
1898
|
}
|
|
1888
1899
|
|
|
1889
1900
|
declare type TableInstance = InstanceType<typeof VxeTable>;
|
|
@@ -1975,6 +1986,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
1975
1986
|
getRowSeq: (row: any) => string | number;
|
|
1976
1987
|
getRowIndex: (row: any) => number;
|
|
1977
1988
|
removerRowIndex: (rowIndex: number) => void;
|
|
1989
|
+
setSelectionRow: (row: any, bool?: boolean | undefined) => void;
|
|
1978
1990
|
}, OrcTableExpose | {
|
|
1979
1991
|
[x: string]: any;
|
|
1980
1992
|
loading: boolean;
|
|
@@ -1996,6 +2008,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
1996
2008
|
getRowSeq: (row: any) => string | number;
|
|
1997
2009
|
getRowIndex: (row: any) => number;
|
|
1998
2010
|
removerRowIndex: (rowIndex: number) => void;
|
|
2011
|
+
setSelectionRow: (row: any, bool?: boolean | undefined) => void;
|
|
1999
2012
|
}>;
|
|
2000
2013
|
tableOptions: {
|
|
2001
2014
|
ref: (el: any) => void;
|
|
@@ -2010,6 +2023,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
2010
2023
|
pageSize?: number | undefined;
|
|
2011
2024
|
pageSizeOptions?: number[] | undefined;
|
|
2012
2025
|
selectedType?: "checkbox" | "radio" | undefined;
|
|
2026
|
+
selectedTrigger?: "cell" | "row" | "default" | undefined;
|
|
2013
2027
|
requiredKeys?: string[] | undefined;
|
|
2014
2028
|
firstLoad?: boolean | undefined;
|
|
2015
2029
|
tooltip?: boolean | "title" | "tooltip" | "ellipsis" | undefined;
|
|
@@ -2059,6 +2073,7 @@ export declare const useOrcTable: (option: OrcTableOption) => {
|
|
|
2059
2073
|
getRowSeq(row: any): string | number;
|
|
2060
2074
|
getRowIndex(row: any): number;
|
|
2061
2075
|
removerRowIndex(rowIndex: number): void;
|
|
2076
|
+
setSelectionRow(row: any, bool?: boolean | undefined): void;
|
|
2062
2077
|
rowKey: string;
|
|
2063
2078
|
addKey(rowIndex: number): void;
|
|
2064
2079
|
setTableData(list: RecordAny_2[]): void;
|