@bscjc/webui 0.0.7 → 0.0.8
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/JcDatePicker/index.d.ts +64 -0
- package/dist/components/JcDatePicker/index.vue.d.ts +58 -0
- package/dist/components/JcInputComplex/index.d.ts +53 -0
- package/dist/components/JcInputComplex/index.vue.d.ts +47 -0
- package/dist/components/JcInputSwitch/index.d.ts +53 -0
- package/dist/components/JcInputSwitch/index.vue.d.ts +47 -0
- package/dist/components/JcMoreQueryContain/index.d.ts +214 -0
- package/dist/components/JcMoreQueryContain/index.vue.d.ts +96 -0
- package/dist/components/JcSelectQuery/index.d.ts +196 -0
- package/dist/components/JcSelectQuery/index.vue.d.ts +112 -0
- package/dist/components/JcTagQuery/index.d.ts +4 -0
- package/dist/components/JcTagQuery/index.vue.d.ts +2 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/hooks/useQuery.d.ts +11 -0
- package/dist/hooks/useQueryStore.d.ts +36 -0
- package/dist/index.css +2 -0
- package/dist/index.d.ts +9 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/types/components.d.ts +19 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/scss.d.ts +19 -0
- package/package.json +10 -4
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export declare const JcDatePicker: SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
fieldList: {
|
|
5
|
+
type: import("vue").PropType<Array<{
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}>>;
|
|
9
|
+
require: boolean;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
type: {
|
|
13
|
+
type: import("vue").PropType<"daterange" | "monthrange">;
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (value: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {
|
|
27
|
+
[x: string]: Function;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
fieldChange: (...args: any[]) => void;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
fieldList: {
|
|
32
|
+
type: import("vue").PropType<Array<{
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}>>;
|
|
36
|
+
require: boolean;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
type: {
|
|
40
|
+
type: import("vue").PropType<"daterange" | "monthrange">;
|
|
41
|
+
default: string;
|
|
42
|
+
validator: (value: string) => boolean;
|
|
43
|
+
};
|
|
44
|
+
size: {
|
|
45
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
46
|
+
default: string;
|
|
47
|
+
validator: (value: string) => boolean;
|
|
48
|
+
};
|
|
49
|
+
width: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{
|
|
54
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
size: "small" | "default" | "large";
|
|
57
|
+
width: string;
|
|
58
|
+
type: "daterange" | "monthrange";
|
|
59
|
+
fieldList: {
|
|
60
|
+
label: string;
|
|
61
|
+
value: string;
|
|
62
|
+
}[];
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
64
|
+
export default JcDatePicker;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
type fieldType = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
fieldList: {
|
|
8
|
+
type: PropType<Array<fieldType>>;
|
|
9
|
+
require: boolean;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
type: {
|
|
13
|
+
type: PropType<"daterange" | "monthrange">;
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: PropType<"small" | "default" | "large">;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (value: string) => boolean;
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {
|
|
27
|
+
[x: string]: Function;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
fieldChange: (...args: any[]) => void;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
fieldList: {
|
|
32
|
+
type: PropType<Array<fieldType>>;
|
|
33
|
+
require: boolean;
|
|
34
|
+
default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
type: {
|
|
37
|
+
type: PropType<"daterange" | "monthrange">;
|
|
38
|
+
default: string;
|
|
39
|
+
validator: (value: string) => boolean;
|
|
40
|
+
};
|
|
41
|
+
size: {
|
|
42
|
+
type: PropType<"small" | "default" | "large">;
|
|
43
|
+
default: string;
|
|
44
|
+
validator: (value: string) => boolean;
|
|
45
|
+
};
|
|
46
|
+
width: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
size: "small" | "default" | "large";
|
|
54
|
+
width: string;
|
|
55
|
+
type: "daterange" | "monthrange";
|
|
56
|
+
fieldList: fieldType[];
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export declare const JcInputComplex: SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
fieldList: {
|
|
5
|
+
type: import("vue").PropType<Array<{
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}>>;
|
|
9
|
+
require: boolean;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
width: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
fieldChange: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
fieldList: {
|
|
27
|
+
type: import("vue").PropType<Array<{
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}>>;
|
|
31
|
+
require: boolean;
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
36
|
+
default: string;
|
|
37
|
+
validator: (value: string) => boolean;
|
|
38
|
+
};
|
|
39
|
+
width: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{
|
|
44
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
size: "small" | "default" | "large";
|
|
47
|
+
width: string;
|
|
48
|
+
fieldList: {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[];
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
53
|
+
export default JcInputComplex;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
type fieldType = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
fieldList: {
|
|
8
|
+
type: PropType<Array<fieldType>>;
|
|
9
|
+
require: boolean;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<"small" | "default" | "large">;
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
width: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
fieldChange: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
fieldList: {
|
|
27
|
+
type: PropType<Array<fieldType>>;
|
|
28
|
+
require: boolean;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
type: PropType<"small" | "default" | "large">;
|
|
33
|
+
default: string;
|
|
34
|
+
validator: (value: string) => boolean;
|
|
35
|
+
};
|
|
36
|
+
width: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{
|
|
41
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
size: "small" | "default" | "large";
|
|
44
|
+
width: string;
|
|
45
|
+
fieldList: fieldType[];
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export declare const JcInputSwitch: SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
fieldList: {
|
|
5
|
+
type: import("vue").PropType<Array<{
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}>>;
|
|
9
|
+
required: true;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
width: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
fieldChange: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
fieldList: {
|
|
27
|
+
type: import("vue").PropType<Array<{
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
}>>;
|
|
31
|
+
required: true;
|
|
32
|
+
default: () => never[];
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
36
|
+
default: string;
|
|
37
|
+
validator: (value: string) => boolean;
|
|
38
|
+
};
|
|
39
|
+
width: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{
|
|
44
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
size: "small" | "default" | "large";
|
|
47
|
+
width: string;
|
|
48
|
+
fieldList: {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
}[];
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
53
|
+
export default JcInputSwitch;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
type fieldType = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
fieldList: {
|
|
8
|
+
type: PropType<Array<fieldType>>;
|
|
9
|
+
required: true;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<"small" | "default" | "large">;
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (value: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
width: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
fieldChange: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
fieldList: {
|
|
27
|
+
type: PropType<Array<fieldType>>;
|
|
28
|
+
required: true;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
type: PropType<"small" | "default" | "large">;
|
|
33
|
+
default: string;
|
|
34
|
+
validator: (value: string) => boolean;
|
|
35
|
+
};
|
|
36
|
+
width: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{
|
|
41
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
size: "small" | "default" | "large";
|
|
44
|
+
width: string;
|
|
45
|
+
fieldList: fieldType[];
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export declare const JcMoreQueryContain: SFCWithInstall<{
|
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
fieldList: {
|
|
6
|
+
type: {
|
|
7
|
+
(arrayLength: number): {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
(...items: {
|
|
12
|
+
label: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}[]): {
|
|
15
|
+
label: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
18
|
+
new (arrayLength: number): {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
22
|
+
new (...items: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[]): {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}[];
|
|
29
|
+
isArray(arg: any): arg is any[];
|
|
30
|
+
readonly prototype: any[];
|
|
31
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
32
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
33
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
34
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
35
|
+
of<T>(...items: T[]): T[];
|
|
36
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
37
|
+
};
|
|
38
|
+
require: boolean;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
customTagObj: {
|
|
42
|
+
type: import("vue").PropType<{
|
|
43
|
+
[key: string]: string;
|
|
44
|
+
}>;
|
|
45
|
+
default: () => {};
|
|
46
|
+
};
|
|
47
|
+
width: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
size: {
|
|
52
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
53
|
+
default: string;
|
|
54
|
+
validator: (value: string) => boolean;
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{}>, {
|
|
57
|
+
[x: string]: any;
|
|
58
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
59
|
+
size: "small" | "default" | "large";
|
|
60
|
+
width: number;
|
|
61
|
+
fieldList: {
|
|
62
|
+
label: string;
|
|
63
|
+
value: string;
|
|
64
|
+
}[];
|
|
65
|
+
customTagObj: {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
69
|
+
P: {};
|
|
70
|
+
B: {};
|
|
71
|
+
D: {};
|
|
72
|
+
C: {};
|
|
73
|
+
M: {};
|
|
74
|
+
Defaults: {};
|
|
75
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
fieldList: {
|
|
77
|
+
type: {
|
|
78
|
+
(arrayLength: number): {
|
|
79
|
+
label: string;
|
|
80
|
+
value: string;
|
|
81
|
+
}[];
|
|
82
|
+
(...items: {
|
|
83
|
+
label: string;
|
|
84
|
+
value: string;
|
|
85
|
+
}[]): {
|
|
86
|
+
label: string;
|
|
87
|
+
value: string;
|
|
88
|
+
}[];
|
|
89
|
+
new (arrayLength: number): {
|
|
90
|
+
label: string;
|
|
91
|
+
value: string;
|
|
92
|
+
}[];
|
|
93
|
+
new (...items: {
|
|
94
|
+
label: string;
|
|
95
|
+
value: string;
|
|
96
|
+
}[]): {
|
|
97
|
+
label: string;
|
|
98
|
+
value: string;
|
|
99
|
+
}[];
|
|
100
|
+
isArray(arg: any): arg is any[];
|
|
101
|
+
readonly prototype: any[];
|
|
102
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
103
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
104
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
105
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
106
|
+
of<T>(...items: T[]): T[];
|
|
107
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
108
|
+
};
|
|
109
|
+
require: boolean;
|
|
110
|
+
default: () => never[];
|
|
111
|
+
};
|
|
112
|
+
customTagObj: {
|
|
113
|
+
type: import("vue").PropType<{
|
|
114
|
+
[key: string]: string;
|
|
115
|
+
}>;
|
|
116
|
+
default: () => {};
|
|
117
|
+
};
|
|
118
|
+
width: {
|
|
119
|
+
type: NumberConstructor;
|
|
120
|
+
default: number;
|
|
121
|
+
};
|
|
122
|
+
size: {
|
|
123
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
124
|
+
default: string;
|
|
125
|
+
validator: (value: string) => boolean;
|
|
126
|
+
};
|
|
127
|
+
}>> & Readonly<{}>, {
|
|
128
|
+
[x: string]: any;
|
|
129
|
+
}, {}, {}, {}, {
|
|
130
|
+
size: "small" | "default" | "large";
|
|
131
|
+
width: number;
|
|
132
|
+
fieldList: {
|
|
133
|
+
label: string;
|
|
134
|
+
value: string;
|
|
135
|
+
}[];
|
|
136
|
+
customTagObj: {
|
|
137
|
+
[key: string]: string;
|
|
138
|
+
};
|
|
139
|
+
}>;
|
|
140
|
+
__isFragment?: never;
|
|
141
|
+
__isTeleport?: never;
|
|
142
|
+
__isSuspense?: never;
|
|
143
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
144
|
+
fieldList: {
|
|
145
|
+
type: {
|
|
146
|
+
(arrayLength: number): {
|
|
147
|
+
label: string;
|
|
148
|
+
value: string;
|
|
149
|
+
}[];
|
|
150
|
+
(...items: {
|
|
151
|
+
label: string;
|
|
152
|
+
value: string;
|
|
153
|
+
}[]): {
|
|
154
|
+
label: string;
|
|
155
|
+
value: string;
|
|
156
|
+
}[];
|
|
157
|
+
new (arrayLength: number): {
|
|
158
|
+
label: string;
|
|
159
|
+
value: string;
|
|
160
|
+
}[];
|
|
161
|
+
new (...items: {
|
|
162
|
+
label: string;
|
|
163
|
+
value: string;
|
|
164
|
+
}[]): {
|
|
165
|
+
label: string;
|
|
166
|
+
value: string;
|
|
167
|
+
}[];
|
|
168
|
+
isArray(arg: any): arg is any[];
|
|
169
|
+
readonly prototype: any[];
|
|
170
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
171
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
172
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
173
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
174
|
+
of<T>(...items: T[]): T[];
|
|
175
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
176
|
+
};
|
|
177
|
+
require: boolean;
|
|
178
|
+
default: () => never[];
|
|
179
|
+
};
|
|
180
|
+
customTagObj: {
|
|
181
|
+
type: import("vue").PropType<{
|
|
182
|
+
[key: string]: string;
|
|
183
|
+
}>;
|
|
184
|
+
default: () => {};
|
|
185
|
+
};
|
|
186
|
+
width: {
|
|
187
|
+
type: NumberConstructor;
|
|
188
|
+
default: number;
|
|
189
|
+
};
|
|
190
|
+
size: {
|
|
191
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
192
|
+
default: string;
|
|
193
|
+
validator: (value: string) => boolean;
|
|
194
|
+
};
|
|
195
|
+
}>> & Readonly<{}>, {
|
|
196
|
+
[x: string]: any;
|
|
197
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
198
|
+
size: "small" | "default" | "large";
|
|
199
|
+
width: number;
|
|
200
|
+
fieldList: {
|
|
201
|
+
label: string;
|
|
202
|
+
value: string;
|
|
203
|
+
}[];
|
|
204
|
+
customTagObj: {
|
|
205
|
+
[key: string]: string;
|
|
206
|
+
};
|
|
207
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
208
|
+
$slots: {
|
|
209
|
+
default?: (props: {
|
|
210
|
+
scopeForm: any;
|
|
211
|
+
}) => any;
|
|
212
|
+
};
|
|
213
|
+
})>;
|
|
214
|
+
export default JcMoreQueryContain;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
type fieldType = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_15: {
|
|
7
|
+
scopeForm: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_15) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
fieldList: {
|
|
14
|
+
type: {
|
|
15
|
+
(arrayLength: number): fieldType[];
|
|
16
|
+
(...items: fieldType[]): fieldType[];
|
|
17
|
+
new (arrayLength: number): fieldType[];
|
|
18
|
+
new (...items: fieldType[]): fieldType[];
|
|
19
|
+
isArray(arg: any): arg is any[];
|
|
20
|
+
readonly prototype: any[];
|
|
21
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
22
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
23
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
24
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
25
|
+
of<T>(...items: T[]): T[];
|
|
26
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
27
|
+
};
|
|
28
|
+
require: boolean;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
customTagObj: {
|
|
32
|
+
type: PropType<{
|
|
33
|
+
[key: string]: string;
|
|
34
|
+
}>;
|
|
35
|
+
default: () => {};
|
|
36
|
+
};
|
|
37
|
+
width: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
size: {
|
|
42
|
+
type: PropType<"small" | "default" | "large">;
|
|
43
|
+
default: string;
|
|
44
|
+
validator: (value: string) => boolean;
|
|
45
|
+
};
|
|
46
|
+
}>, {
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
fieldList: {
|
|
50
|
+
type: {
|
|
51
|
+
(arrayLength: number): fieldType[];
|
|
52
|
+
(...items: fieldType[]): fieldType[];
|
|
53
|
+
new (arrayLength: number): fieldType[];
|
|
54
|
+
new (...items: fieldType[]): fieldType[];
|
|
55
|
+
isArray(arg: any): arg is any[];
|
|
56
|
+
readonly prototype: any[];
|
|
57
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
58
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
59
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
60
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
61
|
+
of<T>(...items: T[]): T[];
|
|
62
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
63
|
+
};
|
|
64
|
+
require: boolean;
|
|
65
|
+
default: () => never[];
|
|
66
|
+
};
|
|
67
|
+
customTagObj: {
|
|
68
|
+
type: PropType<{
|
|
69
|
+
[key: string]: string;
|
|
70
|
+
}>;
|
|
71
|
+
default: () => {};
|
|
72
|
+
};
|
|
73
|
+
width: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
size: {
|
|
78
|
+
type: PropType<"small" | "default" | "large">;
|
|
79
|
+
default: string;
|
|
80
|
+
validator: (value: string) => boolean;
|
|
81
|
+
};
|
|
82
|
+
}>> & Readonly<{}>, {
|
|
83
|
+
size: "small" | "default" | "large";
|
|
84
|
+
width: number;
|
|
85
|
+
fieldList: fieldType[];
|
|
86
|
+
customTagObj: {
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
};
|
|
89
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
90
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export declare const JcSelectQuery: SFCWithInstall<{
|
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
field: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: import("vue").PropType<Array<{
|
|
12
|
+
label: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}>> | never[];
|
|
15
|
+
default: () => never[];
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
allowCreate: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
keyField: {
|
|
23
|
+
type: any;
|
|
24
|
+
default: () => string[];
|
|
25
|
+
};
|
|
26
|
+
width: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
32
|
+
default: string;
|
|
33
|
+
validator: (value: string) => boolean;
|
|
34
|
+
};
|
|
35
|
+
footerBtnName: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
maxScrollHeight: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
isNeedFooter: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{}>, {
|
|
48
|
+
[x: string]: string | Function | string[];
|
|
49
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
50
|
+
size: "small" | "default" | "large";
|
|
51
|
+
field: string;
|
|
52
|
+
options: {
|
|
53
|
+
label: string;
|
|
54
|
+
value: string;
|
|
55
|
+
}[];
|
|
56
|
+
allowCreate: boolean;
|
|
57
|
+
keyField: any;
|
|
58
|
+
width: string;
|
|
59
|
+
footerBtnName: string;
|
|
60
|
+
maxScrollHeight: string;
|
|
61
|
+
isNeedFooter: boolean;
|
|
62
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
63
|
+
P: {};
|
|
64
|
+
B: {};
|
|
65
|
+
D: {};
|
|
66
|
+
C: {};
|
|
67
|
+
M: {};
|
|
68
|
+
Defaults: {};
|
|
69
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
field: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
required: true;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
options: {
|
|
76
|
+
type: import("vue").PropType<Array<{
|
|
77
|
+
label: string;
|
|
78
|
+
value: string;
|
|
79
|
+
}>> | never[];
|
|
80
|
+
default: () => never[];
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
allowCreate: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
keyField: {
|
|
88
|
+
type: any;
|
|
89
|
+
default: () => string[];
|
|
90
|
+
};
|
|
91
|
+
width: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
size: {
|
|
96
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
97
|
+
default: string;
|
|
98
|
+
validator: (value: string) => boolean;
|
|
99
|
+
};
|
|
100
|
+
footerBtnName: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
maxScrollHeight: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
isNeedFooter: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
}>> & Readonly<{}>, {
|
|
113
|
+
[x: string]: string | Function | string[];
|
|
114
|
+
}, {}, {}, {}, {
|
|
115
|
+
size: "small" | "default" | "large";
|
|
116
|
+
field: string;
|
|
117
|
+
options: {
|
|
118
|
+
label: string;
|
|
119
|
+
value: string;
|
|
120
|
+
}[];
|
|
121
|
+
allowCreate: boolean;
|
|
122
|
+
keyField: any;
|
|
123
|
+
width: string;
|
|
124
|
+
footerBtnName: string;
|
|
125
|
+
maxScrollHeight: string;
|
|
126
|
+
isNeedFooter: boolean;
|
|
127
|
+
}>;
|
|
128
|
+
__isFragment?: never;
|
|
129
|
+
__isTeleport?: never;
|
|
130
|
+
__isSuspense?: never;
|
|
131
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
132
|
+
field: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
required: true;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
options: {
|
|
138
|
+
type: import("vue").PropType<Array<{
|
|
139
|
+
label: string;
|
|
140
|
+
value: string;
|
|
141
|
+
}>> | never[];
|
|
142
|
+
default: () => never[];
|
|
143
|
+
required: true;
|
|
144
|
+
};
|
|
145
|
+
allowCreate: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
keyField: {
|
|
150
|
+
type: any;
|
|
151
|
+
default: () => string[];
|
|
152
|
+
};
|
|
153
|
+
width: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
size: {
|
|
158
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
159
|
+
default: string;
|
|
160
|
+
validator: (value: string) => boolean;
|
|
161
|
+
};
|
|
162
|
+
footerBtnName: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
maxScrollHeight: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
isNeedFooter: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
}>> & Readonly<{}>, {
|
|
175
|
+
[x: string]: string | Function | string[];
|
|
176
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
177
|
+
size: "small" | "default" | "large";
|
|
178
|
+
field: string;
|
|
179
|
+
options: {
|
|
180
|
+
label: string;
|
|
181
|
+
value: string;
|
|
182
|
+
}[];
|
|
183
|
+
allowCreate: boolean;
|
|
184
|
+
keyField: any;
|
|
185
|
+
width: string;
|
|
186
|
+
footerBtnName: string;
|
|
187
|
+
maxScrollHeight: string;
|
|
188
|
+
isNeedFooter: boolean;
|
|
189
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
190
|
+
$slots: {
|
|
191
|
+
default?: (props: {
|
|
192
|
+
scope: any;
|
|
193
|
+
}) => any;
|
|
194
|
+
};
|
|
195
|
+
})>;
|
|
196
|
+
export default JcSelectQuery;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import "vue-virtual-scroller/dist/vue-virtual-scroller.css";
|
|
3
|
+
type Item = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_57: {
|
|
8
|
+
scope: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_57) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
+
field: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
options: {
|
|
20
|
+
type: PropType<Array<Item>> | never[];
|
|
21
|
+
default: () => never[];
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
allowCreate: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
keyField: {
|
|
29
|
+
type: any;
|
|
30
|
+
default: () => string[];
|
|
31
|
+
};
|
|
32
|
+
width: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
size: {
|
|
37
|
+
type: PropType<"small" | "default" | "large">;
|
|
38
|
+
default: string;
|
|
39
|
+
validator: (value: string) => boolean;
|
|
40
|
+
};
|
|
41
|
+
footerBtnName: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
maxScrollHeight: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
isNeedFooter: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
[x: string]: string | Function | string[];
|
|
55
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
field: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: true;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
options: {
|
|
62
|
+
type: PropType<Array<Item>> | never[];
|
|
63
|
+
default: () => never[];
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
allowCreate: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
keyField: {
|
|
71
|
+
type: any;
|
|
72
|
+
default: () => string[];
|
|
73
|
+
};
|
|
74
|
+
width: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
size: {
|
|
79
|
+
type: PropType<"small" | "default" | "large">;
|
|
80
|
+
default: string;
|
|
81
|
+
validator: (value: string) => boolean;
|
|
82
|
+
};
|
|
83
|
+
footerBtnName: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
maxScrollHeight: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
isNeedFooter: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{}>, {
|
|
96
|
+
size: "small" | "default" | "large";
|
|
97
|
+
field: string;
|
|
98
|
+
options: Item[];
|
|
99
|
+
allowCreate: boolean;
|
|
100
|
+
keyField: any;
|
|
101
|
+
width: string;
|
|
102
|
+
footerBtnName: string;
|
|
103
|
+
maxScrollHeight: string;
|
|
104
|
+
isNeedFooter: boolean;
|
|
105
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
107
|
+
export default _default;
|
|
108
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
109
|
+
new (): {
|
|
110
|
+
$slots: S;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export declare const JcTagQuery: SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
4
|
+
export default JcTagQuery;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const reactiveQuery: () => {
|
|
2
|
+
queryForm: Record<string, any>;
|
|
3
|
+
setQuery: (key: string, value: any) => void;
|
|
4
|
+
addTag: (tag: any) => void;
|
|
5
|
+
reduceTag: (tag: {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}, index?: number) => void;
|
|
9
|
+
reduceAllTag: () => void;
|
|
10
|
+
clearQuery: () => void;
|
|
11
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type tagType = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
5
|
+
export type QueryAndTagType = {
|
|
6
|
+
queryForm: Record<string, any>;
|
|
7
|
+
tags: Array<tagType>;
|
|
8
|
+
};
|
|
9
|
+
declare const useProvideQueryStore: (initObj: QueryAndTagType) => {
|
|
10
|
+
state: {
|
|
11
|
+
queryForm: Record<string, any>;
|
|
12
|
+
tags: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
setQuery: (key: string, value: any) => void;
|
|
18
|
+
addTag: (tag: any) => void;
|
|
19
|
+
reduceTag: (tag: tagType, index?: number) => void;
|
|
20
|
+
reduceAllTag: () => void;
|
|
21
|
+
clearQuery: () => void;
|
|
22
|
+
}, useQueryStore: () => {
|
|
23
|
+
state: {
|
|
24
|
+
queryForm: Record<string, any>;
|
|
25
|
+
tags: {
|
|
26
|
+
label: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
setQuery: (key: string, value: any) => void;
|
|
31
|
+
addTag: (tag: any) => void;
|
|
32
|
+
reduceTag: (tag: tagType, index?: number) => void;
|
|
33
|
+
reduceAllTag: () => void;
|
|
34
|
+
clearQuery: () => void;
|
|
35
|
+
} | undefined;
|
|
36
|
+
export { useProvideQueryStore, useQueryStore };
|
package/dist/index.css
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
1
|
.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex:1;flex:1;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{left:0;position:absolute;top:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{background-color:transparent;border:none;opacity:0}.resize-observer[data-v-b329ee4c],.resize-observer[data-v-b329ee4c] object{display:block;height:100%;left:0;overflow:hidden;pointer-events:none;position:absolute;top:0;width:100%;z-index:-1}.ak-relative{position:relative}.jc-select-popper{min-width:400px!important}.jc-select-popper .el-select-pop-search-container{padding:4px 8px;position:relative}.jc-select-popper .el-select-pop-search-container .selcet-icon{color:#a6abb4;height:14px;top:12px;width:14px}.jc-select-popper .el-select-pop-search-container .search-icon{left:10px;line-height:normal;position:absolute}.jc-select-popper .el-select-pop-search-container .circle-icon{line-height:normal;position:absolute;right:14px}.jc-select-popper .el-select-pop-search-container .circle-icon:hover{color:#005bf5;cursor:pointer}.jc-select-popper .el-select-pop__input{border-radius:0;border-style:none none solid;border-bottom:1px solid #d9dbde;box-shadow:none;box-sizing:border-box;height:32px;line-height:32px;overflow:hidden;padding-left:24px;width:100%}.jc-select-popper .el-select-pop__input:hover{border-bottom-color:#888c94}.jc-select-popper .el-select-pop__input:focus{border-bottom-color:#005bf5;outline:0}.jc-select-popper .el-select-dropdown__wrap{max-height:100%!important}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item{box-sizing:border-box;color:#33363c;cursor:pointer;font-size:12px;height:32px;line-height:32px;list-style:none;overflow:hidden;padding:0 12px;text-overflow:ellipsis;white-space:nowrap}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item .el-checkbox{width:100%}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item .el-checkbox .el-checkbox__label{flex:1;overflow:hidden;text-overflow:ellipsis}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item:hover{background-color:#ecf5ff}.jc-select-popper .el-select-dropdown__empty{color:#999;font-size:12px;margin:0;padding:10px 0;text-align:center}.jc-select-popper .custom-multi-footer{align-items:center;display:flex;justify-content:space-between;padding-right:8px}.jc-select-popper .shift-tips{color:#a6abb4;margin-left:8px}.jc-select-popper .counts{margin-left:8px}.jc-select .el-select__wrapper{font-size:12px}.jc-select .el-select__tags{height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jc-date-picker{align-items:center;display:flex;justify-content:flex-start}.jc-date-picker .select-field{display:flex;max-width:100px!important;min-width:60px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:auto!important}.jc-date-picker .select-field .el-select__prefix{color:#000;font-size:12px;max-width:50px!important;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.jc-date-picker .select-field .el-input__inner{width:0}.jc-date-picker .el-date-editor{border-bottom-left-radius:0;border-left:none!important;border-top-left-radius:0;margin-left:-1px}.jc-date-picker .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;font-size:12px;max-width:100px;padding:4px 12px 4px 8px}.jc-date-picker .el-select__placeholder{font-size:12px}.el-popover.jc-input-pop .popover-body{display:flex;flex-direction:column;height:100%;left:0;position:absolute;top:0;width:100%}.el-popover.jc-input-pop{border:1px solid #e6e8eb;border-radius:4px;box-shadow:0 8px 16px #00000029;height:240px;line-height:18px;max-width:480px;min-width:auto;padding:12px;text-align:left}.el-popover.jc-input-pop .popover-body .popover-textarea{flex:1;min-height:0}.el-popover.jc-input-pop .popover-body .popover-textarea .el-textarea__inner{border:none!important;color:#333;font-size:12px;font-weight:400;height:100%;line-height:20px;outline:0;overflow:auto;padding:12px;resize:none;width:100%}.el-popover.jc-input-pop .popover-body .popover-btn{align-items:center;box-shadow:0 -1px #e6e8eb;display:flex;margin-top:-1px;padding:8px 12px;z-index:999}.el-popover.jc-input-pop .popover-body .popover-btn .popover-btn-right{margin-left:auto}[data-v-99c0d2b1] .el-tag__content{max-height:24px;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical}.popover-btn[data-v-775b8567]{align-items:center;display:flex;padding:4px 4px 0 10px;z-index:999}.popover-btn .popover-btn-right[data-v-775b8567]{margin-left:auto}.moreQuery-pop[data-v-775b8567]{border:1px solid #e6e8eb;border-radius:4px;box-shadow:0 8px 16px 0 rg;line-height:18px;min-width:auto;padding:12px;text-align:left}.jc-input.el-input-group{align-items:flex-start;display:flex}.jc-input{font-size:12px!important}.jc-input .el-input-group__prepend{background-color:var(--el-fill-color-blank);border-bottom-right-radius:0;border-top-right-radius:0;margin-right:0;min-height:auto}.jc-input .el-input-group__prepend .el-select__wrapper{font-size:12px;max-width:100px;padding:4px 8px}.jc-input .el-input-group__prepend .el-input__wrapper{box-shadow:none!important}.jc-input .suffixContent{align-items:center;display:flex;justify-content:center}.jc-input .el-input__icon{box-sizing:border-box;color:#353638;cursor:pointer;display:inline-block;line-height:1;text-align:center}.jc-input .el-icon{font-size:14px;font-weight:600}.jc-input .el-textarea{color:#0b1019;display:inline-block;font-size:12px;position:relative;vertical-align:bottom;width:100%}.jc-input .select-field{display:flex;height:100%;max-width:100px!important;min-width:60px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:auto!important}.jc-input .select-field .el-select__prefix{color:#000;font-size:12px;max-width:50px!important;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.jc-input .select-field .el-input__inner{width:0}
|
|
2
|
+
|
|
3
|
+
.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex:1;flex:1;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{left:0;position:absolute;top:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{background-color:transparent;border:none;opacity:0}.resize-observer[data-v-b329ee4c],.resize-observer[data-v-b329ee4c] object{display:block;height:100%;left:0;overflow:hidden;pointer-events:none;position:absolute;top:0;width:100%;z-index:-1}.ak-relative{position:relative}.jc-select-popper{min-width:400px!important}.jc-select-popper .el-select-pop-search-container{padding:4px 8px;position:relative}.jc-select-popper .el-select-pop-search-container .selcet-icon{color:#a6abb4;height:14px;top:12px;width:14px}.jc-select-popper .el-select-pop-search-container .search-icon{left:10px;line-height:normal;position:absolute}.jc-select-popper .el-select-pop-search-container .circle-icon{line-height:normal;position:absolute;right:14px}.jc-select-popper .el-select-pop-search-container .circle-icon:hover{color:#005bf5;cursor:pointer}.jc-select-popper .el-select-pop__input{border-radius:0;border-style:none none solid;border-bottom:1px solid #d9dbde;box-shadow:none;box-sizing:border-box;height:32px;line-height:32px;overflow:hidden;padding-left:24px;width:100%}.jc-select-popper .el-select-pop__input:hover{border-bottom-color:#888c94}.jc-select-popper .el-select-pop__input:focus{border-bottom-color:#005bf5;outline:0}.jc-select-popper .el-select-dropdown__wrap{max-height:100%!important}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item{box-sizing:border-box;color:#33363c;cursor:pointer;font-size:12px;height:32px;line-height:32px;list-style:none;overflow:hidden;padding:0 12px;text-overflow:ellipsis;white-space:nowrap}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item .el-checkbox{width:100%}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item .el-checkbox .el-checkbox__label{flex:1;overflow:hidden;text-overflow:ellipsis}.jc-select-popper .el-select-dropdown__wrap .el-select-dropdown__item:hover{background-color:#ecf5ff}.jc-select-popper .el-select-dropdown__empty{color:#999;font-size:12px;margin:0;padding:10px 0;text-align:center}.jc-select-popper .custom-multi-footer{align-items:center;display:flex;justify-content:space-between;padding-right:8px}.jc-select-popper .shift-tips{color:#a6abb4;margin-left:8px}.jc-select-popper .counts{margin-left:8px}.jc-select .el-select__wrapper{font-size:12px}.jc-select .el-select__tags{height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jc-date-picker{align-items:center;display:flex;justify-content:flex-start}.jc-date-picker .select-field{display:flex;max-width:100px!important;min-width:60px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:auto!important}.jc-date-picker .select-field .el-select__prefix{color:#000;font-size:12px;max-width:50px!important;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.jc-date-picker .select-field .el-input__inner{width:0}.jc-date-picker .el-date-editor{border-bottom-left-radius:0;border-left:none!important;border-top-left-radius:0;margin-left:-1px}.jc-date-picker .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;font-size:12px;max-width:100px;padding:4px 12px 4px 8px}.jc-date-picker .el-select__placeholder{font-size:12px}.el-popover.jc-input-pop .popover-body{display:flex;flex-direction:column;height:100%;left:0;position:absolute;top:0;width:100%}.el-popover.jc-input-pop{border:1px solid #e6e8eb;border-radius:4px;box-shadow:0 8px 16px #00000029;height:240px;line-height:18px;max-width:480px;min-width:auto;padding:12px;text-align:left}.el-popover.jc-input-pop .popover-body .popover-textarea{flex:1;min-height:0}.el-popover.jc-input-pop .popover-body .popover-textarea .el-textarea__inner{border:none!important;color:#333;font-size:12px;font-weight:400;height:100%;line-height:20px;outline:0;overflow:auto;padding:12px;resize:none;width:100%}.el-popover.jc-input-pop .popover-body .popover-btn{align-items:center;box-shadow:0 -1px #e6e8eb;display:flex;margin-top:-1px;padding:8px 12px;z-index:999}.el-popover.jc-input-pop .popover-body .popover-btn .popover-btn-right{margin-left:auto}[data-v-99c0d2b1] .el-tag__content{max-height:24px;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical}.popover-btn[data-v-775b8567]{align-items:center;display:flex;padding:4px 4px 0 10px;z-index:999}.popover-btn .popover-btn-right[data-v-775b8567]{margin-left:auto}.moreQuery-pop[data-v-775b8567]{border:1px solid #e6e8eb;border-radius:4px;box-shadow:0 8px 16px 0 rg;line-height:18px;min-width:auto;padding:12px;text-align:left}.jc-input.el-input-group{align-items:flex-start;display:flex}.jc-input{font-size:12px!important}.jc-input .el-input-group__prepend{background-color:var(--el-fill-color-blank);border-bottom-right-radius:0;border-top-right-radius:0;margin-right:0;min-height:auto}.jc-input .el-input-group__prepend .el-select__wrapper{font-size:12px;max-width:100px;padding:4px 8px}.jc-input .el-input-group__prepend .el-input__wrapper{box-shadow:none!important}.jc-input .suffixContent{align-items:center;display:flex;justify-content:center}.jc-input .el-input__icon{box-sizing:border-box;color:#353638;cursor:pointer;display:inline-block;line-height:1;text-align:center}.jc-input .el-icon{font-size:14px;font-weight:600}.jc-input .el-textarea{color:#0b1019;display:inline-block;font-size:12px;position:relative;vertical-align:bottom;width:100%}.jc-input .select-field{display:flex;height:100%;max-width:100px!important;min-width:60px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:auto!important}.jc-input .select-field .el-select__prefix{color:#000;font-size:12px;max-width:50px!important;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.jc-input .select-field .el-input__inner{width:0}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/components.d.ts","../src/index.ts","../src/shims-vue.d.ts","../src/vite-env.d.ts","../src/components/index.ts","../src/components/jcdatepicker/index.ts","../src/components/jcinputcomplex/index.ts","../src/components/jcinputswitch/index.ts","../src/components/jcmorequerycontain/index.ts","../src/components/jcselectquery/index.ts","../src/components/jctagquery/index.ts","../src/hooks/usequery.ts","../src/hooks/usequerystore.ts","../src/types/scss.d.ts","../src/components/jcdatepicker/index.vue","../src/components/jcinputcomplex/index.vue","../src/components/jcinputswitch/index.vue","../src/components/jcmorequerycontain/index.vue","../src/components/jcselectquery/index.vue","../src/components/jctagquery/index.vue"],"version":"5.8.3"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as components from "./components/index";
|
|
2
|
+
declare module '@vue/runtime-core' {
|
|
3
|
+
export interface GlobalComponents {
|
|
4
|
+
// Auto generated component types
|
|
5
|
+
JcSelectQuery: typeof components.JcSelectQuery;
|
|
6
|
+
JcDatePicker: typeof components.JcDatePicker;
|
|
7
|
+
JcInputSwitch: typeof components.JcInputSwitch;
|
|
8
|
+
JcInputComplex: typeof components.JcInputComplex;
|
|
9
|
+
JcTagQuery: typeof components.JcTagQuery;
|
|
10
|
+
JcMoreQueryContain: typeof components.JcMoreQueryContain;
|
|
11
|
+
|
|
12
|
+
// Global component extensions
|
|
13
|
+
[key: `Jc${string}`]: import('vue').DefineComponent
|
|
14
|
+
[key: `jc-${string}`]: import('vue').DefineComponent
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare module "*.css" {
|
|
2
|
+
const classes: { readonly [key: string]: string };
|
|
3
|
+
export default classes;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare module "*.scss" {
|
|
7
|
+
const classes: { readonly [key: string]: string };
|
|
8
|
+
export default classes;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module "*.module.scss" {
|
|
12
|
+
const classes: { readonly [key: string]: string };
|
|
13
|
+
export default classes;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module "*.module.sass" {
|
|
17
|
+
const classes: { readonly [key: string]: string };
|
|
18
|
+
export default classes;
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bscjc/webui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/lib/index.cjs",
|
|
7
7
|
"module": "./dist/es/index.mjs",
|
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/types/index.d.ts",
|
|
16
|
+
"import": "./dist/es/index.mjs",
|
|
17
|
+
"require": "./dist/lib/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
13
20
|
"publishConfig": {
|
|
14
21
|
"access": "public",
|
|
15
22
|
"registry": "https://registry.npmjs.org"
|
|
@@ -26,6 +33,7 @@
|
|
|
26
33
|
"scripts": {
|
|
27
34
|
"dev": "vite",
|
|
28
35
|
"build": "vue-tsc -b && vite build",
|
|
36
|
+
"postbuild": "node scripts/merge-css.js",
|
|
29
37
|
"preview": "vite preview",
|
|
30
38
|
"prepare": "npm run build"
|
|
31
39
|
},
|
|
@@ -41,12 +49,10 @@
|
|
|
41
49
|
"vue": ">=3.2.0"
|
|
42
50
|
},
|
|
43
51
|
"devDependencies": {
|
|
44
|
-
"@types/autoprefixer": "^10.2.4",
|
|
45
|
-
"@types/cssnano": "^5.1.3",
|
|
46
52
|
"@types/node": "^24.0.7",
|
|
47
53
|
"autoprefixer": "^10.4.21",
|
|
48
54
|
"cssnano": "^7.0.7",
|
|
49
55
|
"unplugin-element-plus": "^0.10.0"
|
|
50
56
|
},
|
|
51
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "04f38ac8c01a931510ecbe3fd815f05068d5322f"
|
|
52
58
|
}
|