qy-ui-for-ls 0.3.1 → 0.3.2
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/dist/components/table-plus/index.d.ts +11 -6
- package/dist/components/table-plus/src/SearchForm/SearchFormItem.vue.d.ts +5 -4
- package/dist/components/table-plus/src/SearchForm/index_new.vue.d.ts +7 -3
- package/dist/components/table-plus/src/index.vue.d.ts +4 -2
- package/dist/components/table-plus/src/interface/index.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/qy-ui-for-ls.es.js +53097 -35497
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -37,7 +37,7 @@ declare const QyTablePlus: ({
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
toolButton: {
|
|
40
|
-
type: PropType<boolean | ("
|
|
40
|
+
type: PropType<boolean | ("download" | "reset")[]>;
|
|
41
41
|
default: any;
|
|
42
42
|
};
|
|
43
43
|
border: {
|
|
@@ -99,6 +99,7 @@ declare const QyTablePlus: ({
|
|
|
99
99
|
onSearch?: (() => any) | undefined;
|
|
100
100
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
101
101
|
onReset?: (() => any) | undefined;
|
|
102
|
+
onHandleDownload?: (() => any) | undefined;
|
|
102
103
|
onDargSort?: ((args_0: {
|
|
103
104
|
newIndex?: number;
|
|
104
105
|
oldIndex?: number;
|
|
@@ -1008,6 +1009,7 @@ declare const QyTablePlus: ({
|
|
|
1008
1009
|
search: () => void;
|
|
1009
1010
|
radioChange: (args_0: any) => void;
|
|
1010
1011
|
reset: () => void;
|
|
1012
|
+
handleDownload: () => void;
|
|
1011
1013
|
dargSort: (args_0: {
|
|
1012
1014
|
newIndex?: number;
|
|
1013
1015
|
oldIndex?: number;
|
|
@@ -1017,7 +1019,7 @@ declare const QyTablePlus: ({
|
|
|
1017
1019
|
columns: ColumnProps[];
|
|
1018
1020
|
showHeader: boolean;
|
|
1019
1021
|
searchCol: number | Record< BreakPoint, number>;
|
|
1020
|
-
toolButton: ("
|
|
1022
|
+
toolButton: ("download" | "reset")[] | boolean;
|
|
1021
1023
|
border: boolean;
|
|
1022
1024
|
rowKey: string;
|
|
1023
1025
|
requestAuto: boolean;
|
|
@@ -1067,7 +1069,7 @@ declare const QyTablePlus: ({
|
|
|
1067
1069
|
};
|
|
1068
1070
|
};
|
|
1069
1071
|
toolButton: {
|
|
1070
|
-
type: PropType<boolean | ("
|
|
1072
|
+
type: PropType<boolean | ("download" | "reset")[]>;
|
|
1071
1073
|
default: any;
|
|
1072
1074
|
};
|
|
1073
1075
|
border: {
|
|
@@ -1129,6 +1131,7 @@ declare const QyTablePlus: ({
|
|
|
1129
1131
|
onSearch?: (() => any) | undefined;
|
|
1130
1132
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
1131
1133
|
onReset?: (() => any) | undefined;
|
|
1134
|
+
onHandleDownload?: (() => any) | undefined;
|
|
1132
1135
|
onDargSort?: ((args_0: {
|
|
1133
1136
|
newIndex?: number;
|
|
1134
1137
|
oldIndex?: number;
|
|
@@ -2038,7 +2041,7 @@ declare const QyTablePlus: ({
|
|
|
2038
2041
|
columns: ColumnProps[];
|
|
2039
2042
|
showHeader: boolean;
|
|
2040
2043
|
searchCol: number | Record< BreakPoint, number>;
|
|
2041
|
-
toolButton: ("
|
|
2044
|
+
toolButton: ("download" | "reset")[] | boolean;
|
|
2042
2045
|
border: boolean;
|
|
2043
2046
|
rowKey: string;
|
|
2044
2047
|
requestAuto: boolean;
|
|
@@ -2085,7 +2088,7 @@ declare const QyTablePlus: ({
|
|
|
2085
2088
|
};
|
|
2086
2089
|
};
|
|
2087
2090
|
toolButton: {
|
|
2088
|
-
type: PropType<boolean | ("
|
|
2091
|
+
type: PropType<boolean | ("download" | "reset")[]>;
|
|
2089
2092
|
default: any;
|
|
2090
2093
|
};
|
|
2091
2094
|
border: {
|
|
@@ -2147,6 +2150,7 @@ declare const QyTablePlus: ({
|
|
|
2147
2150
|
onSearch?: (() => any) | undefined;
|
|
2148
2151
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
2149
2152
|
onReset?: (() => any) | undefined;
|
|
2153
|
+
onHandleDownload?: (() => any) | undefined;
|
|
2150
2154
|
onDargSort?: ((args_0: {
|
|
2151
2155
|
newIndex?: number;
|
|
2152
2156
|
oldIndex?: number;
|
|
@@ -3056,6 +3060,7 @@ declare const QyTablePlus: ({
|
|
|
3056
3060
|
search: () => void;
|
|
3057
3061
|
radioChange: (args_0: any) => void;
|
|
3058
3062
|
reset: () => void;
|
|
3063
|
+
handleDownload: () => void;
|
|
3059
3064
|
dargSort: (args_0: {
|
|
3060
3065
|
newIndex?: number;
|
|
3061
3066
|
oldIndex?: number;
|
|
@@ -3065,7 +3070,7 @@ declare const QyTablePlus: ({
|
|
|
3065
3070
|
columns: ColumnProps[];
|
|
3066
3071
|
showHeader: boolean;
|
|
3067
3072
|
searchCol: number | Record< BreakPoint, number>;
|
|
3068
|
-
toolButton: ("
|
|
3073
|
+
toolButton: ("download" | "reset")[] | boolean;
|
|
3069
3074
|
border: boolean;
|
|
3070
3075
|
rowKey: string;
|
|
3071
3076
|
requestAuto: boolean;
|
|
@@ -3,14 +3,15 @@ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps,
|
|
|
3
3
|
|
|
4
4
|
interface SearchFormItem {
|
|
5
5
|
column: ColumnProps;
|
|
6
|
-
searchParam: {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
9
6
|
}
|
|
10
7
|
declare function __VLS_template(): {
|
|
11
8
|
default?(_: {}): any;
|
|
12
9
|
};
|
|
13
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchFormItem>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchFormItem>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
handleSearch: (...args: any[]) => void;
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SearchFormItem>>> & Readonly<{
|
|
13
|
+
onHandleSearch?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -12,7 +12,7 @@ interface ProTableProps {
|
|
|
12
12
|
reset: (params: any) => void;
|
|
13
13
|
seniorSearch: (params: any) => void;
|
|
14
14
|
getTableList: (params: any) => void;
|
|
15
|
-
toolButton?: ('
|
|
15
|
+
toolButton?: ('download' | 'reset')[] | boolean;
|
|
16
16
|
searchLayoutType?: string;
|
|
17
17
|
}
|
|
18
18
|
declare function __VLS_template(): {
|
|
@@ -22,11 +22,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
22
22
|
columns: () => never[];
|
|
23
23
|
searchParam: () => {};
|
|
24
24
|
searchLayoutType: string;
|
|
25
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
+
handleDownload: (...args: any[]) => void;
|
|
27
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
|
|
26
28
|
columns: () => never[];
|
|
27
29
|
searchParam: () => {};
|
|
28
30
|
searchLayoutType: string;
|
|
29
|
-
}>>> & Readonly<{
|
|
31
|
+
}>>> & Readonly<{
|
|
32
|
+
onHandleDownload?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
30
34
|
columns: ColumnProps[];
|
|
31
35
|
searchParam: {
|
|
32
36
|
[key: string]: any;
|
|
@@ -18,7 +18,7 @@ export interface ProTableProps {
|
|
|
18
18
|
pagination?: boolean;
|
|
19
19
|
initParam?: any;
|
|
20
20
|
border?: boolean;
|
|
21
|
-
toolButton?: ('
|
|
21
|
+
toolButton?: ('download' | 'reset')[] | boolean;
|
|
22
22
|
rowKey?: string;
|
|
23
23
|
searchCol?: number | Record<BreakPoint, number>;
|
|
24
24
|
showSearch?: boolean;
|
|
@@ -971,6 +971,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
971
971
|
search: () => void;
|
|
972
972
|
radioChange: (args_0: any) => void;
|
|
973
973
|
reset: () => void;
|
|
974
|
+
handleDownload: () => void;
|
|
974
975
|
dargSort: (args_0: {
|
|
975
976
|
newIndex?: number;
|
|
976
977
|
oldIndex?: number;
|
|
@@ -1004,6 +1005,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
1004
1005
|
onSearch?: (() => any) | undefined;
|
|
1005
1006
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
1006
1007
|
onReset?: (() => any) | undefined;
|
|
1008
|
+
onHandleDownload?: (() => any) | undefined;
|
|
1007
1009
|
onDargSort?: ((args_0: {
|
|
1008
1010
|
newIndex?: number;
|
|
1009
1011
|
oldIndex?: number;
|
|
@@ -1013,7 +1015,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
1013
1015
|
columns: ColumnProps[];
|
|
1014
1016
|
showHeader: boolean;
|
|
1015
1017
|
searchCol: number | Record<BreakPoint, number>;
|
|
1016
|
-
toolButton: ("
|
|
1018
|
+
toolButton: ("download" | "reset")[] | boolean;
|
|
1017
1019
|
border: boolean;
|
|
1018
1020
|
rowKey: string;
|
|
1019
1021
|
requestAuto: boolean;
|
|
@@ -12,7 +12,7 @@ export interface EnumProps {
|
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
}
|
|
14
14
|
export type TypeProps = "index" | "selection" | "radio" | "expand" | "sort" | "d-index";
|
|
15
|
-
export type SearchElType = "input" | "input-number" | "select" | "select-v2" | "tree-select" | "cascader" | "date-picker" | "time-picker" | "time-select" | "switch" | "slider";
|
|
15
|
+
export type SearchElType = "input" | "input-number" | "select" | "select-v2" | "tree-select" | "cascader" | "date-picker" | "time-picker" | "time-select" | "switch" | "slider" | 'date-range-picker';
|
|
16
16
|
export type SearchRenderScope = {
|
|
17
17
|
searchParam: {
|
|
18
18
|
[key: string]: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,8 +12,9 @@ import { default as QyPagination } from './components/pagination';
|
|
|
12
12
|
import { default as QyTree } from './components/tree';
|
|
13
13
|
import { default as QyPlayer } from './components/player';
|
|
14
14
|
import { default as QyCheckboxGroup } from './components/checkbox-group';
|
|
15
|
+
import { DatePicker as TDatePicker, DateRangePicker as TDateRangePicker, Input as TInput } from 'tdesign-vue-next';
|
|
15
16
|
|
|
16
|
-
export { QyButton, QyTablePlus, QySvgIcon, QyDescriptions, QyForm, QyDia, QyTitle, QyUpload, QyUserSelect, QyCard, QyPagination, QyTree, QyPlayer, QyCheckboxGroup, };
|
|
17
|
+
export { QyButton, QyTablePlus, QySvgIcon, QyDescriptions, QyForm, QyDia, QyTitle, QyUpload, QyUserSelect, QyCard, QyPagination, QyTree, QyPlayer, QyCheckboxGroup, TDatePicker, TDateRangePicker, TInput, };
|
|
17
18
|
declare const _default: {
|
|
18
19
|
install: any;
|
|
19
20
|
};
|