@bscjc/webui 0.0.7 → 0.0.9
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/es/index.mjs +1147 -1237
- package/dist/hooks/useQuery.d.ts +11 -0
- package/dist/hooks/useQueryStore.d.ts +36 -0
- package/dist/index.css +3 -1
- package/dist/index.d.ts +9 -0
- package/dist/lib/index.cjs +8 -8
- 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 +11 -5
|
@@ -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;
|