@bscjc/webui 0.0.16 → 0.0.18
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/README.md +1 -475
- package/dist/components/JcListLayout/index.d.ts +24 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/es/index.mjs +1118 -1050
- package/dist/hooks/useQuery.d.ts +6 -3
- package/dist/hooks/useQueryStore.d.ts +20 -6
- package/dist/index.css +2 -2
- package/dist/lib/index.cjs +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/components.d.ts +1 -0
- package/package.json +16 -4
- package/dist/types/components/JcDatePicker/index.d.ts +0 -66
- package/dist/types/components/JcDatePicker/index.vue.d.ts +0 -60
- package/dist/types/components/JcInputComplex/index.d.ts +0 -1377
- package/dist/types/components/JcInputComplex/index.vue.d.ts +0 -1371
- package/dist/types/components/JcInputSwitch/index.d.ts +0 -573
- package/dist/types/components/JcInputSwitch/index.vue.d.ts +0 -567
- package/dist/types/components/JcMoreQueryContain/index.d.ts +0 -759
- package/dist/types/components/JcMoreQueryContain/index.vue.d.ts +0 -1191
- package/dist/types/components/JcSelectQuery/index.d.ts +0 -1002
- package/dist/types/components/JcSelectQuery/index.vue.d.ts +0 -1728
- package/dist/types/components/JcTagQuery/index.d.ts +0 -4
- package/dist/types/components/JcTagQuery/index.vue.d.ts +0 -2
- package/dist/types/components/index.d.ts +0 -6
- package/dist/types/hooks/useQuery.d.ts +0 -11
- package/dist/types/hooks/useQueryStore.d.ts +0 -36
- package/dist/types/index.d.ts +0 -9
- /package/dist/components/{ListLayout → JcListLayout}/index.vue.d.ts +0 -0
|
@@ -8,6 +8,7 @@ declare module '@vue/runtime-core' {
|
|
|
8
8
|
JcInputComplex: typeof components.JcInputComplex;
|
|
9
9
|
JcTagQuery: typeof components.JcTagQuery;
|
|
10
10
|
JcMoreQueryContain: typeof components.JcMoreQueryContain;
|
|
11
|
+
JcListLayout: typeof components.JcListLayout;
|
|
11
12
|
|
|
12
13
|
// Global component extensions
|
|
13
14
|
[key: `Jc${string}`]: import('vue').DefineComponent
|
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.18",
|
|
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"
|
|
@@ -23,21 +30,26 @@
|
|
|
23
30
|
],
|
|
24
31
|
"author": "",
|
|
25
32
|
"license": "MIT",
|
|
33
|
+
"sideEffects": [
|
|
34
|
+
"*.css",
|
|
35
|
+
"*.scss"
|
|
36
|
+
],
|
|
37
|
+
"moduleSideEffects": false,
|
|
26
38
|
"scripts": {
|
|
27
39
|
"dev": "vite",
|
|
40
|
+
"prebuild": "rm -rf dist",
|
|
28
41
|
"build": "vue-tsc -b && vite build",
|
|
29
42
|
"postbuild": "node scripts/merge-css.js",
|
|
30
43
|
"preview": "vite preview",
|
|
31
44
|
"prepare": "npm run build"
|
|
32
45
|
},
|
|
33
46
|
"dependencies": {
|
|
34
|
-
"@element-plus/icons-vue": "^2.3.1",
|
|
35
47
|
"@vueuse/shared": "^13.4.0",
|
|
36
|
-
"element-plus": "^2.10.3",
|
|
37
48
|
"fuse.js": "^7.1.0",
|
|
38
49
|
"vue-virtual-scroller": "^2.0.0-beta.8"
|
|
39
50
|
},
|
|
40
51
|
"peerDependencies": {
|
|
52
|
+
"@element-plus/icons-vue": ">=2.0.0",
|
|
41
53
|
"element-plus": ">=2.0.0",
|
|
42
54
|
"vue": ">=3.2.0"
|
|
43
55
|
},
|
|
@@ -47,5 +59,5 @@
|
|
|
47
59
|
"cssnano": "^7.0.7",
|
|
48
60
|
"unplugin-element-plus": "^0.10.0"
|
|
49
61
|
},
|
|
50
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "ef348ec5683395ce133f600bcbd902cf8fd0c2d6"
|
|
51
63
|
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { 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, {
|
|
64
|
-
datePickerRef: unknown;
|
|
65
|
-
}, HTMLDivElement>>;
|
|
66
|
-
export default JcDatePicker;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { 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, {
|
|
58
|
-
datePickerRef: unknown;
|
|
59
|
-
}, HTMLDivElement>;
|
|
60
|
-
export default _default;
|