@bscjc/webui 0.0.18 → 0.0.20
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/types/components/JcDatePicker/index.d.ts +66 -0
- package/dist/types/components/JcDatePicker/index.vue.d.ts +60 -0
- package/dist/types/components/JcInputComplex/index.d.ts +1354 -0
- package/dist/types/components/JcInputComplex/index.vue.d.ts +1348 -0
- package/dist/types/components/JcInputSwitch/index.d.ts +550 -0
- package/dist/types/components/JcInputSwitch/index.vue.d.ts +544 -0
- package/dist/types/components/JcListLayout/index.d.ts +22 -0
- package/dist/types/components/JcListLayout/index.vue.d.ts +19 -0
- package/dist/types/components/JcMoreQueryContain/index.d.ts +759 -0
- package/dist/types/components/JcMoreQueryContain/index.vue.d.ts +1191 -0
- package/dist/types/components/JcSelectQuery/index.d.ts +1002 -0
- package/dist/types/components/JcSelectQuery/index.vue.d.ts +1728 -0
- package/dist/types/components/JcTagQuery/index.d.ts +4 -0
- package/dist/types/components/JcTagQuery/index.vue.d.ts +2 -0
- package/dist/types/components/index.d.ts +7 -0
- package/dist/types/hooks/useQuery.d.ts +14 -0
- package/dist/types/hooks/useQueryStore.d.ts +50 -0
- package/dist/types/index.d.ts +9 -0
- package/package.json +2 -9
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { 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, {}, HTMLDivElement>>;
|
|
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, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './JcSelectQuery/index';
|
|
2
|
+
export * from './JcDatePicker/index';
|
|
3
|
+
export * from './JcInputSwitch/index';
|
|
4
|
+
export * from './JcInputComplex/index';
|
|
5
|
+
export * from './JcTagQuery/index';
|
|
6
|
+
export * from './JcMoreQueryContain/index';
|
|
7
|
+
export * from './JcListLayout/index';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const reactiveQuery: (params?: {}) => {
|
|
2
|
+
queryForm: Record<string, any>;
|
|
3
|
+
setQuery: (key: string, value: any) => void;
|
|
4
|
+
addTag: (tag: {
|
|
5
|
+
key: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value: number | boolean | string | string[];
|
|
8
|
+
}) => void;
|
|
9
|
+
reduceTag: (tag: {
|
|
10
|
+
key: string;
|
|
11
|
+
}, index?: number) => void;
|
|
12
|
+
reduceAllTag: () => void;
|
|
13
|
+
clearQuery: () => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
type tagShowType = {
|
|
2
|
+
key: string;
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
showStr: string;
|
|
6
|
+
};
|
|
7
|
+
type tagAddType = {
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
value: number | boolean | string | string[];
|
|
11
|
+
};
|
|
12
|
+
type tagReduceType = {
|
|
13
|
+
key: string;
|
|
14
|
+
};
|
|
15
|
+
export type QueryAndTagType = {
|
|
16
|
+
queryForm: Record<string, any>;
|
|
17
|
+
tags: Array<tagShowType>;
|
|
18
|
+
};
|
|
19
|
+
declare const useProvideQueryStore: (initObj: QueryAndTagType) => {
|
|
20
|
+
state: {
|
|
21
|
+
queryForm: Record<string, any>;
|
|
22
|
+
tags: {
|
|
23
|
+
key: string;
|
|
24
|
+
label: string;
|
|
25
|
+
value: string;
|
|
26
|
+
showStr: string;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
setQuery: (key: string, value: any) => void;
|
|
30
|
+
addTag: (tag: tagAddType) => void;
|
|
31
|
+
reduceTag: (tag: tagReduceType, index?: number) => void;
|
|
32
|
+
reduceAllTag: () => void;
|
|
33
|
+
clearQuery: (initObj?: any) => void;
|
|
34
|
+
}, useQueryStore: () => {
|
|
35
|
+
state: {
|
|
36
|
+
queryForm: Record<string, any>;
|
|
37
|
+
tags: {
|
|
38
|
+
key: string;
|
|
39
|
+
label: string;
|
|
40
|
+
value: string;
|
|
41
|
+
showStr: string;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
setQuery: (key: string, value: any) => void;
|
|
45
|
+
addTag: (tag: tagAddType) => void;
|
|
46
|
+
reduceTag: (tag: tagReduceType, index?: number) => void;
|
|
47
|
+
reduceAllTag: () => void;
|
|
48
|
+
clearQuery: (initObj?: any) => void;
|
|
49
|
+
} | undefined;
|
|
50
|
+
export { useProvideQueryStore, useQueryStore };
|
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.20",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/lib/index.cjs",
|
|
7
7
|
"module": "./dist/es/index.mjs",
|
|
@@ -10,13 +10,6 @@
|
|
|
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
|
-
},
|
|
20
13
|
"publishConfig": {
|
|
21
14
|
"access": "public",
|
|
22
15
|
"registry": "https://registry.npmjs.org"
|
|
@@ -59,5 +52,5 @@
|
|
|
59
52
|
"cssnano": "^7.0.7",
|
|
60
53
|
"unplugin-element-plus": "^0.10.0"
|
|
61
54
|
},
|
|
62
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "cc2f4596df717cc2f87a5919b4f8336ce275cebb"
|
|
63
56
|
}
|