@juzhenfe/modules 2.2.6 → 2.3.0
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/dev/src/main.d.ts +1 -1
- package/dist/index.min.css +36 -34
- package/dist/index.min.js +3 -3
- package/dist/packages/a-map/src/index.vue.d.ts +7 -0
- package/dist/packages/editor/src/utils/load.d.ts +1 -0
- package/dist/packages/upload/src/index.vue.d.ts +4 -3
- package/dist/packages/utils/console/index.d.ts +11 -0
- package/package.json +4 -4
|
@@ -22,6 +22,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: BooleanConstructor;
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
|
+
zIndex: {
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
25
28
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
29
|
[key: string]: any;
|
|
27
30
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "initMap" | "markerClick" | "click")[], "update:modelValue" | "initMap" | "markerClick" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -48,6 +51,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
51
|
type: BooleanConstructor;
|
|
49
52
|
default: boolean;
|
|
50
53
|
};
|
|
54
|
+
zIndex: {
|
|
55
|
+
default: number;
|
|
56
|
+
};
|
|
51
57
|
}>> & {
|
|
52
58
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
53
59
|
onInitMap?: (...args: any[]) => any;
|
|
@@ -61,5 +67,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
67
|
width: string;
|
|
62
68
|
markers: any[];
|
|
63
69
|
useCenter: boolean;
|
|
70
|
+
zIndex: number;
|
|
64
71
|
}>;
|
|
65
72
|
export default _default;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
mode: {
|
|
24
|
-
type: PropType<"image" | "video" | "file">;
|
|
24
|
+
type: PropType<"image" | "video" | "file" | "audio">;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
accept: {
|
|
@@ -84,6 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
height?: undefined;
|
|
85
85
|
lineHeight?: undefined;
|
|
86
86
|
}>;
|
|
87
|
+
ondrop: (index: any, e: any) => Promise<void>;
|
|
87
88
|
onClickItem: (index: number) => void;
|
|
88
89
|
cancelUpload: (index: number) => void;
|
|
89
90
|
handleDeleteItem: (index: number) => Promise<void>;
|
|
@@ -112,7 +113,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
112
113
|
};
|
|
113
114
|
};
|
|
114
115
|
mode: {
|
|
115
|
-
type: PropType<"image" | "video" | "file">;
|
|
116
|
+
type: PropType<"image" | "video" | "file" | "audio">;
|
|
116
117
|
default: string;
|
|
117
118
|
};
|
|
118
119
|
accept: {
|
|
@@ -155,7 +156,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
156
|
data: {
|
|
156
157
|
path: string;
|
|
157
158
|
};
|
|
158
|
-
mode: "image" | "video" | "file";
|
|
159
|
+
mode: "image" | "video" | "file" | "audio";
|
|
159
160
|
modelValue: string;
|
|
160
161
|
sperator: string;
|
|
161
162
|
url: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare class MyConsole {
|
|
2
|
+
private successColor;
|
|
3
|
+
private errorColor;
|
|
4
|
+
private infoColor;
|
|
5
|
+
private genColor;
|
|
6
|
+
success(text: string): void;
|
|
7
|
+
error(text: string): void;
|
|
8
|
+
info(text: string): void;
|
|
9
|
+
}
|
|
10
|
+
declare const myConsole: MyConsole;
|
|
11
|
+
export default myConsole;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juzhenfe/modules",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"main": "dist/index.min.js",
|
|
5
5
|
"types": "dist/packages/modules/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"clipboard": "^2.0.8",
|
|
34
34
|
"core-js": "^3.15.1",
|
|
35
35
|
"cross-env": "^7.0.3",
|
|
36
|
-
"element-plus": "^
|
|
36
|
+
"element-plus": "^2.0.5",
|
|
37
37
|
"lerna": "^4.0.0",
|
|
38
38
|
"rimraf": "^3.0.2",
|
|
39
39
|
"rollup": "^2.60.1",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"sass": "^1.43.4",
|
|
45
45
|
"the-answer": "^1.0.0",
|
|
46
46
|
"typescript": "^4.3.4",
|
|
47
|
-
"vite": "^2.6
|
|
48
|
-
"vue": "^3.2.
|
|
47
|
+
"vite": "^2.8.6",
|
|
48
|
+
"vue": "^3.2.31",
|
|
49
49
|
"vue-router": "^4.0.12",
|
|
50
50
|
"vue-tsc": "^0.1.7"
|
|
51
51
|
},
|