qy-ui-for-ls 0.2.1 → 0.2.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/dist/components/table-plus/index.d.ts +7 -6
- package/dist/components/table-plus/src/Grid/GridItem.vue.d.ts +68 -0
- package/dist/components/table-plus/src/Grid/index.vue.d.ts +66 -0
- package/dist/components/table-plus/src/SearchForm/{index.vue.d.ts → index_new.vue.d.ts} +1 -4
- package/dist/components/table-plus/src/index.vue.d.ts +3 -2
- package/dist/qy-ui-for-ls.es.js +10344 -10271
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -37,8 +37,8 @@ declare const QyTablePlus: ({
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
toolButton: {
|
|
40
|
-
type: PropType<boolean | ("sort" | "
|
|
41
|
-
default:
|
|
40
|
+
type: PropType<boolean | ("sort" | "reset" | "refresh")[]>;
|
|
41
|
+
default: any;
|
|
42
42
|
};
|
|
43
43
|
border: {
|
|
44
44
|
type: PropType<boolean>;
|
|
@@ -1067,8 +1067,8 @@ declare const QyTablePlus: ({
|
|
|
1067
1067
|
};
|
|
1068
1068
|
};
|
|
1069
1069
|
toolButton: {
|
|
1070
|
-
type: PropType<boolean | ("sort" | "
|
|
1071
|
-
default:
|
|
1070
|
+
type: PropType<boolean | ("sort" | "reset" | "refresh")[]>;
|
|
1071
|
+
default: any;
|
|
1072
1072
|
};
|
|
1073
1073
|
border: {
|
|
1074
1074
|
type: PropType<boolean>;
|
|
@@ -2085,8 +2085,8 @@ declare const QyTablePlus: ({
|
|
|
2085
2085
|
};
|
|
2086
2086
|
};
|
|
2087
2087
|
toolButton: {
|
|
2088
|
-
type: PropType<boolean | ("sort" | "
|
|
2089
|
-
default:
|
|
2088
|
+
type: PropType<boolean | ("sort" | "reset" | "refresh")[]>;
|
|
2089
|
+
default: any;
|
|
2090
2090
|
};
|
|
2091
2091
|
border: {
|
|
2092
2092
|
type: PropType<boolean>;
|
|
@@ -3081,6 +3081,7 @@ declare const QyTablePlus: ({
|
|
|
3081
3081
|
hideBorder: boolean;
|
|
3082
3082
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3083
3083
|
$slots: Partial<Record<"expand", (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
3084
|
+
tableHandle?(_: {}): any;
|
|
3084
3085
|
statusBar?(_: {}): any;
|
|
3085
3086
|
default?(_: {}): any;
|
|
3086
3087
|
append?(_: {}): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Responsive } from './interface/index';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
type Props = {
|
|
5
|
+
offset?: number;
|
|
6
|
+
span?: number;
|
|
7
|
+
suffix?: boolean;
|
|
8
|
+
xs?: Responsive;
|
|
9
|
+
sm?: Responsive;
|
|
10
|
+
md?: Responsive;
|
|
11
|
+
lg?: Responsive;
|
|
12
|
+
xl?: Responsive;
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
+
offset: number;
|
|
19
|
+
span: number;
|
|
20
|
+
suffix: boolean;
|
|
21
|
+
xs: undefined;
|
|
22
|
+
sm: undefined;
|
|
23
|
+
md: undefined;
|
|
24
|
+
lg: undefined;
|
|
25
|
+
xl: undefined;
|
|
26
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
27
|
+
offset: number;
|
|
28
|
+
span: number;
|
|
29
|
+
suffix: boolean;
|
|
30
|
+
xs: undefined;
|
|
31
|
+
sm: undefined;
|
|
32
|
+
md: undefined;
|
|
33
|
+
lg: undefined;
|
|
34
|
+
xl: undefined;
|
|
35
|
+
}>>> & Readonly<{}>, {
|
|
36
|
+
span: number;
|
|
37
|
+
xs: Responsive;
|
|
38
|
+
sm: Responsive;
|
|
39
|
+
md: Responsive;
|
|
40
|
+
lg: Responsive;
|
|
41
|
+
xl: Responsive;
|
|
42
|
+
offset: number;
|
|
43
|
+
suffix: boolean;
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
type __VLS_WithDefaults<P, D> = {
|
|
57
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
58
|
+
default: D[K];
|
|
59
|
+
}> : P[K];
|
|
60
|
+
};
|
|
61
|
+
type __VLS_Prettify<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
64
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
65
|
+
new (): {
|
|
66
|
+
$slots: S;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { BreakPoint } from './interface/index';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
type Props = {
|
|
5
|
+
cols?: number | Record<BreakPoint, number>;
|
|
6
|
+
collapsed?: boolean;
|
|
7
|
+
collapsedRows?: number;
|
|
8
|
+
gap?: [number, number] | number;
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
|
+
cols: () => {
|
|
15
|
+
xs: number;
|
|
16
|
+
sm: number;
|
|
17
|
+
md: number;
|
|
18
|
+
lg: number;
|
|
19
|
+
xl: number;
|
|
20
|
+
};
|
|
21
|
+
collapsed: boolean;
|
|
22
|
+
collapsedRows: number;
|
|
23
|
+
gap: number;
|
|
24
|
+
}>>, {
|
|
25
|
+
breakPoint: Ref<BreakPoint, BreakPoint>;
|
|
26
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
27
|
+
cols: () => {
|
|
28
|
+
xs: number;
|
|
29
|
+
sm: number;
|
|
30
|
+
md: number;
|
|
31
|
+
lg: number;
|
|
32
|
+
xl: number;
|
|
33
|
+
};
|
|
34
|
+
collapsed: boolean;
|
|
35
|
+
collapsedRows: number;
|
|
36
|
+
gap: number;
|
|
37
|
+
}>>> & Readonly<{}>, {
|
|
38
|
+
cols: number | Record<BreakPoint, number>;
|
|
39
|
+
collapsed: boolean;
|
|
40
|
+
collapsedRows: number;
|
|
41
|
+
gap: [number, number] | number;
|
|
42
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
+
} : {
|
|
50
|
+
type: PropType<T[K]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
type __VLS_WithDefaults<P, D> = {
|
|
55
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
+
default: D[K];
|
|
57
|
+
}> : P[K];
|
|
58
|
+
};
|
|
59
|
+
type __VLS_Prettify<T> = {
|
|
60
|
+
[K in keyof T]: T[K];
|
|
61
|
+
} & {};
|
|
62
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
@@ -9,8 +9,8 @@ interface ProTableProps {
|
|
|
9
9
|
};
|
|
10
10
|
searchCol: number | Record<BreakPoint, number>;
|
|
11
11
|
search: (params: any) => void;
|
|
12
|
-
seniorSearch: (params: any) => void;
|
|
13
12
|
reset: (params: any) => void;
|
|
13
|
+
seniorSearch: (params: any) => void;
|
|
14
14
|
getTableList: (params: any) => void;
|
|
15
15
|
toolButton?: ('refresh' | 'sort' | 'reset')[] | boolean;
|
|
16
16
|
}
|
|
@@ -20,17 +20,14 @@ declare function __VLS_template(): {
|
|
|
20
20
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
|
|
21
21
|
columns: () => never[];
|
|
22
22
|
searchParam: () => {};
|
|
23
|
-
toolButton: boolean;
|
|
24
23
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
|
|
25
24
|
columns: () => never[];
|
|
26
25
|
searchParam: () => {};
|
|
27
|
-
toolButton: boolean;
|
|
28
26
|
}>>> & Readonly<{}>, {
|
|
29
27
|
columns: ColumnProps[];
|
|
30
28
|
searchParam: {
|
|
31
29
|
[key: string]: any;
|
|
32
30
|
};
|
|
33
|
-
toolButton: ("refresh" | "sort" | "reset")[] | boolean;
|
|
34
31
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
35
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
33
|
export default _default;
|
|
@@ -32,6 +32,7 @@ export interface ProTableProps {
|
|
|
32
32
|
hideBorder?: boolean;
|
|
33
33
|
}
|
|
34
34
|
declare function __VLS_template(): Partial<Record<"expand", (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
35
|
+
tableHandle?(_: {}): any;
|
|
35
36
|
statusBar?(_: {}): any;
|
|
36
37
|
default?(_: {}): any;
|
|
37
38
|
append?(_: {}): any;
|
|
@@ -45,7 +46,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
45
46
|
pagination: boolean;
|
|
46
47
|
initParam: {};
|
|
47
48
|
border: boolean;
|
|
48
|
-
toolButton:
|
|
49
|
+
toolButton: any;
|
|
49
50
|
rowKey: string;
|
|
50
51
|
searchCol: () => {
|
|
51
52
|
xs: number;
|
|
@@ -978,7 +979,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
978
979
|
pagination: boolean;
|
|
979
980
|
initParam: {};
|
|
980
981
|
border: boolean;
|
|
981
|
-
toolButton:
|
|
982
|
+
toolButton: any;
|
|
982
983
|
rowKey: string;
|
|
983
984
|
searchCol: () => {
|
|
984
985
|
xs: number;
|