qy-ui-for-ls 0.1.2 → 0.1.4
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.
|
@@ -67,10 +67,6 @@ declare const QyTablePlus: ({
|
|
|
67
67
|
type: PropType<boolean>;
|
|
68
68
|
default: boolean;
|
|
69
69
|
};
|
|
70
|
-
showStatusBar: {
|
|
71
|
-
type: PropType<boolean>;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
70
|
showTable: {
|
|
75
71
|
type: PropType<boolean>;
|
|
76
72
|
default: boolean;
|
|
@@ -95,6 +91,10 @@ declare const QyTablePlus: ({
|
|
|
95
91
|
type: PropType<boolean>;
|
|
96
92
|
default: boolean;
|
|
97
93
|
};
|
|
94
|
+
hideBorder: {
|
|
95
|
+
type: PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
98
|
}>> & Readonly<{
|
|
99
99
|
onSearch?: (() => any) | undefined;
|
|
100
100
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -293,7 +293,7 @@ declare const QyTablePlus: ({
|
|
|
293
293
|
setScrollLeft: (left?: number) => void;
|
|
294
294
|
setScrollTop: (top?: number) => void;
|
|
295
295
|
allowDragLastColumn: boolean;
|
|
296
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
296
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
297
297
|
data: any[];
|
|
298
298
|
style: CSSProperties;
|
|
299
299
|
tableLayout: "fixed" | "auto";
|
|
@@ -718,7 +718,7 @@ declare const QyTablePlus: ({
|
|
|
718
718
|
setScrollLeft: (left?: number) => void;
|
|
719
719
|
setScrollTop: (top?: number) => void;
|
|
720
720
|
allowDragLastColumn: boolean;
|
|
721
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
721
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
722
722
|
data: any[];
|
|
723
723
|
style: CSSProperties;
|
|
724
724
|
tableLayout: "fixed" | "auto";
|
|
@@ -1022,13 +1022,13 @@ declare const QyTablePlus: ({
|
|
|
1022
1022
|
initParam: any;
|
|
1023
1023
|
toolButton: ("refresh" | "sort")[] | boolean;
|
|
1024
1024
|
showSearch: boolean;
|
|
1025
|
-
showStatusBar: boolean;
|
|
1026
1025
|
showTable: boolean;
|
|
1027
1026
|
showHeadersearch: boolean;
|
|
1028
1027
|
tabsOptions: TabsProps;
|
|
1029
1028
|
beforeReset: () => void;
|
|
1030
1029
|
treeOptions: TreeProps;
|
|
1031
1030
|
isOldApi: boolean;
|
|
1031
|
+
hideBorder: boolean;
|
|
1032
1032
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1033
1033
|
P: {};
|
|
1034
1034
|
B: {};
|
|
@@ -1095,10 +1095,6 @@ declare const QyTablePlus: ({
|
|
|
1095
1095
|
type: PropType<boolean>;
|
|
1096
1096
|
default: boolean;
|
|
1097
1097
|
};
|
|
1098
|
-
showStatusBar: {
|
|
1099
|
-
type: PropType<boolean>;
|
|
1100
|
-
default: boolean;
|
|
1101
|
-
};
|
|
1102
1098
|
showTable: {
|
|
1103
1099
|
type: PropType<boolean>;
|
|
1104
1100
|
default: boolean;
|
|
@@ -1123,6 +1119,10 @@ declare const QyTablePlus: ({
|
|
|
1123
1119
|
type: PropType<boolean>;
|
|
1124
1120
|
default: boolean;
|
|
1125
1121
|
};
|
|
1122
|
+
hideBorder: {
|
|
1123
|
+
type: PropType<boolean>;
|
|
1124
|
+
default: boolean;
|
|
1125
|
+
};
|
|
1126
1126
|
}>> & Readonly<{
|
|
1127
1127
|
onSearch?: (() => any) | undefined;
|
|
1128
1128
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -1321,7 +1321,7 @@ declare const QyTablePlus: ({
|
|
|
1321
1321
|
setScrollLeft: (left?: number) => void;
|
|
1322
1322
|
setScrollTop: (top?: number) => void;
|
|
1323
1323
|
allowDragLastColumn: boolean;
|
|
1324
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
1324
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
1325
1325
|
data: any[];
|
|
1326
1326
|
style: CSSProperties;
|
|
1327
1327
|
tableLayout: "fixed" | "auto";
|
|
@@ -1746,7 +1746,7 @@ declare const QyTablePlus: ({
|
|
|
1746
1746
|
setScrollLeft: (left?: number) => void;
|
|
1747
1747
|
setScrollTop: (top?: number) => void;
|
|
1748
1748
|
allowDragLastColumn: boolean;
|
|
1749
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
1749
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
1750
1750
|
data: any[];
|
|
1751
1751
|
style: CSSProperties;
|
|
1752
1752
|
tableLayout: "fixed" | "auto";
|
|
@@ -2042,13 +2042,13 @@ declare const QyTablePlus: ({
|
|
|
2042
2042
|
initParam: any;
|
|
2043
2043
|
toolButton: ("refresh" | "sort")[] | boolean;
|
|
2044
2044
|
showSearch: boolean;
|
|
2045
|
-
showStatusBar: boolean;
|
|
2046
2045
|
showTable: boolean;
|
|
2047
2046
|
showHeadersearch: boolean;
|
|
2048
2047
|
tabsOptions: TabsProps;
|
|
2049
2048
|
beforeReset: () => void;
|
|
2050
2049
|
treeOptions: TreeProps;
|
|
2051
2050
|
isOldApi: boolean;
|
|
2051
|
+
hideBorder: boolean;
|
|
2052
2052
|
}>;
|
|
2053
2053
|
__isFragment?: never;
|
|
2054
2054
|
__isTeleport?: never;
|
|
@@ -2112,10 +2112,6 @@ declare const QyTablePlus: ({
|
|
|
2112
2112
|
type: PropType<boolean>;
|
|
2113
2113
|
default: boolean;
|
|
2114
2114
|
};
|
|
2115
|
-
showStatusBar: {
|
|
2116
|
-
type: PropType<boolean>;
|
|
2117
|
-
default: boolean;
|
|
2118
|
-
};
|
|
2119
2115
|
showTable: {
|
|
2120
2116
|
type: PropType<boolean>;
|
|
2121
2117
|
default: boolean;
|
|
@@ -2140,6 +2136,10 @@ declare const QyTablePlus: ({
|
|
|
2140
2136
|
type: PropType<boolean>;
|
|
2141
2137
|
default: boolean;
|
|
2142
2138
|
};
|
|
2139
|
+
hideBorder: {
|
|
2140
|
+
type: PropType<boolean>;
|
|
2141
|
+
default: boolean;
|
|
2142
|
+
};
|
|
2143
2143
|
}>> & Readonly<{
|
|
2144
2144
|
onSearch?: (() => any) | undefined;
|
|
2145
2145
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -2338,7 +2338,7 @@ declare const QyTablePlus: ({
|
|
|
2338
2338
|
setScrollLeft: (left?: number) => void;
|
|
2339
2339
|
setScrollTop: (top?: number) => void;
|
|
2340
2340
|
allowDragLastColumn: boolean;
|
|
2341
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
2341
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
2342
2342
|
data: any[];
|
|
2343
2343
|
style: CSSProperties;
|
|
2344
2344
|
tableLayout: "fixed" | "auto";
|
|
@@ -2763,7 +2763,7 @@ declare const QyTablePlus: ({
|
|
|
2763
2763
|
setScrollLeft: (left?: number) => void;
|
|
2764
2764
|
setScrollTop: (top?: number) => void;
|
|
2765
2765
|
allowDragLastColumn: boolean;
|
|
2766
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
2766
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
2767
2767
|
data: any[];
|
|
2768
2768
|
style: CSSProperties;
|
|
2769
2769
|
tableLayout: "fixed" | "auto";
|
|
@@ -3067,17 +3067,17 @@ declare const QyTablePlus: ({
|
|
|
3067
3067
|
initParam: any;
|
|
3068
3068
|
toolButton: ("refresh" | "sort")[] | boolean;
|
|
3069
3069
|
showSearch: boolean;
|
|
3070
|
-
showStatusBar: boolean;
|
|
3071
3070
|
showTable: boolean;
|
|
3072
3071
|
showHeadersearch: boolean;
|
|
3073
3072
|
tabsOptions: TabsProps;
|
|
3074
3073
|
beforeReset: () => void;
|
|
3075
3074
|
treeOptions: TreeProps;
|
|
3076
3075
|
isOldApi: boolean;
|
|
3076
|
+
hideBorder: boolean;
|
|
3077
3077
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3078
3078
|
$slots: Partial<Record<"expand", (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
3079
3079
|
tableHandle?(_: {}): any;
|
|
3080
|
-
|
|
3080
|
+
statusBar?(_: {}): any;
|
|
3081
3081
|
default?(_: {}): any;
|
|
3082
3082
|
append?(_: {}): any;
|
|
3083
3083
|
empty?(_: {}): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
|
+
export interface PaginationProps {
|
|
3
|
+
align?: 'left' | 'center' | 'right';
|
|
4
|
+
forTable?: boolean;
|
|
5
|
+
pageSizes?: any;
|
|
6
|
+
pageSize: number;
|
|
7
|
+
currentPage?: number;
|
|
8
|
+
total?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
|
|
11
|
+
align: string;
|
|
12
|
+
forTable: boolean;
|
|
13
|
+
pageSizes: number[];
|
|
14
|
+
pageSize: number;
|
|
15
|
+
currentPage: number;
|
|
16
|
+
total: number;
|
|
17
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
+
change: (...args: any[]) => void;
|
|
19
|
+
"size-change": (...args: any[]) => void;
|
|
20
|
+
"current-change": (...args: any[]) => void;
|
|
21
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
|
|
22
|
+
align: string;
|
|
23
|
+
forTable: boolean;
|
|
24
|
+
pageSizes: number[];
|
|
25
|
+
pageSize: number;
|
|
26
|
+
currentPage: number;
|
|
27
|
+
total: number;
|
|
28
|
+
}>>> & Readonly<{
|
|
29
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
"onSize-change"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
"onCurrent-change"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
align: "left" | "center" | "right";
|
|
34
|
+
total: number;
|
|
35
|
+
forTable: boolean;
|
|
36
|
+
pageSizes: any;
|
|
37
|
+
pageSize: number;
|
|
38
|
+
currentPage: number;
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_WithDefaults<P, D> = {
|
|
51
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
+
default: D[K];
|
|
53
|
+
}> : P[K];
|
|
54
|
+
};
|
|
55
|
+
type __VLS_Prettify<T> = {
|
|
56
|
+
[K in keyof T]: T[K];
|
|
57
|
+
} & {};
|
|
@@ -22,7 +22,6 @@ export interface ProTableProps {
|
|
|
22
22
|
rowKey?: string;
|
|
23
23
|
searchCol?: number | Record<BreakPoint, number>;
|
|
24
24
|
showSearch?: boolean;
|
|
25
|
-
showStatusBar?: boolean;
|
|
26
25
|
showHeader?: boolean;
|
|
27
26
|
showTable?: boolean;
|
|
28
27
|
showHeadersearch?: boolean;
|
|
@@ -30,10 +29,11 @@ export interface ProTableProps {
|
|
|
30
29
|
beforeReset?: () => void;
|
|
31
30
|
treeOptions?: TreeProps;
|
|
32
31
|
isOldApi?: boolean;
|
|
32
|
+
hideBorder?: boolean;
|
|
33
33
|
}
|
|
34
34
|
declare function __VLS_template(): Partial<Record<"expand", (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
35
35
|
tableHandle?(_: {}): any;
|
|
36
|
-
|
|
36
|
+
statusBar?(_: {}): any;
|
|
37
37
|
default?(_: {}): any;
|
|
38
38
|
append?(_: {}): any;
|
|
39
39
|
empty?(_: {}): any;
|
|
@@ -56,7 +56,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
56
56
|
xl: number;
|
|
57
57
|
};
|
|
58
58
|
showSearch: boolean;
|
|
59
|
-
showStatusBar: boolean;
|
|
60
59
|
showHeader: boolean;
|
|
61
60
|
showTable: boolean;
|
|
62
61
|
showHeadersearch: boolean;
|
|
@@ -64,6 +63,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
64
63
|
treeOptions: undefined;
|
|
65
64
|
beforeReset: () => void;
|
|
66
65
|
isOldApi: boolean;
|
|
66
|
+
hideBorder: boolean;
|
|
67
67
|
}>>, {
|
|
68
68
|
element: Ref< CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
69
69
|
data: {
|
|
@@ -254,7 +254,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
254
254
|
setScrollLeft: (left?: number) => void;
|
|
255
255
|
setScrollTop: (top?: number) => void;
|
|
256
256
|
allowDragLastColumn: boolean;
|
|
257
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
257
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
258
258
|
data: any[];
|
|
259
259
|
style: CSSProperties;
|
|
260
260
|
tableLayout: "fixed" | "auto";
|
|
@@ -679,7 +679,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
679
679
|
setScrollLeft: (left?: number) => void;
|
|
680
680
|
setScrollTop: (top?: number) => void;
|
|
681
681
|
allowDragLastColumn: boolean;
|
|
682
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "
|
|
682
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "scroll" | "current-change" | "select-all" | "expand-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
683
683
|
data: any[];
|
|
684
684
|
style: CSSProperties;
|
|
685
685
|
tableLayout: "fixed" | "auto";
|
|
@@ -988,7 +988,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
988
988
|
xl: number;
|
|
989
989
|
};
|
|
990
990
|
showSearch: boolean;
|
|
991
|
-
showStatusBar: boolean;
|
|
992
991
|
showHeader: boolean;
|
|
993
992
|
showTable: boolean;
|
|
994
993
|
showHeadersearch: boolean;
|
|
@@ -996,6 +995,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
996
995
|
treeOptions: undefined;
|
|
997
996
|
beforeReset: () => void;
|
|
998
997
|
isOldApi: boolean;
|
|
998
|
+
hideBorder: boolean;
|
|
999
999
|
}>>> & Readonly<{
|
|
1000
1000
|
onSearch?: (() => any) | undefined;
|
|
1001
1001
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -1015,13 +1015,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
1015
1015
|
initParam: any;
|
|
1016
1016
|
toolButton: ("refresh" | "sort")[] | boolean;
|
|
1017
1017
|
showSearch: boolean;
|
|
1018
|
-
showStatusBar: boolean;
|
|
1019
1018
|
showTable: boolean;
|
|
1020
1019
|
showHeadersearch: boolean;
|
|
1021
1020
|
tabsOptions: TabsProps;
|
|
1022
1021
|
beforeReset: () => void;
|
|
1023
1022
|
treeOptions: TreeProps;
|
|
1024
1023
|
isOldApi: boolean;
|
|
1024
|
+
hideBorder: boolean;
|
|
1025
1025
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1026
1026
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
1027
1027
|
export default _default;
|