@juzhenfe/modules 2.2.4 → 2.2.5
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/config.d.ts +1 -1
- package/dist/index.min.css +44 -44
- package/dist/index.min.js +3 -3
- package/dist/packages/a-map/index.d.ts +1 -1
- package/dist/packages/a-map/src/components/marker/index.vue.d.ts +2 -4
- package/dist/packages/a-map/src/components/search/index.vue.d.ts +1 -1
- package/dist/packages/a-map/src/index.vue.d.ts +27 -19
- package/dist/packages/cascader/index.d.ts +1 -1
- package/dist/packages/cascader/src/index.vue.d.ts +14 -10
- package/dist/packages/charts/index.d.ts +1 -1
- package/dist/packages/charts/src/index.vue.d.ts +10 -8
- package/dist/packages/city-picker/index.d.ts +1 -1
- package/dist/packages/city-picker/src/index.vue.d.ts +14 -10
- package/dist/packages/editor/index.d.ts +1 -1
- package/dist/packages/editor/src/editor.vue.d.ts +18 -0
- package/dist/packages/editor/src/index.vue.d.ts +31 -38
- package/dist/packages/editor/src/utils/load.d.ts +1 -1
- package/dist/packages/file-upload/index.d.ts +1 -1
- package/dist/packages/file-upload/src/index.vue.d.ts +30 -18
- package/dist/packages/images/index.d.ts +1 -1
- package/dist/packages/images/src/index.vue.d.ts +46 -25
- package/dist/packages/long-input/index.d.ts +1 -1
- package/dist/packages/long-input/src/index.vue.d.ts +14 -9
- package/dist/packages/upload/index.d.ts +1 -1
- package/dist/packages/upload/src/components/file-icon/index.vue.d.ts +6 -5
- package/dist/packages/upload/src/components/loading/index.vue.d.ts +10 -7
- package/dist/packages/upload/src/index.vue.d.ts +60 -32
- package/package.json +55 -55
|
@@ -90,40 +90,68 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
handleOpenItem: (index: number) => void;
|
|
91
91
|
formatFileName: (src: string) => string;
|
|
92
92
|
typeList: import("vue").ComputedRef<string[]>;
|
|
93
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
94
|
-
modelValue
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
onUploadProgress?: unknown;
|
|
107
|
-
onUploadSuccess?: unknown;
|
|
108
|
-
} & {
|
|
93
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
|
+
modelValue: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
sperator: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
url: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
109
106
|
data: {
|
|
110
|
-
|
|
107
|
+
type: PropType<{
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
}>;
|
|
110
|
+
default: () => {
|
|
111
|
+
path: string;
|
|
112
|
+
};
|
|
111
113
|
};
|
|
112
|
-
mode:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
accept:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
114
|
+
mode: {
|
|
115
|
+
type: PropType<"image" | "video" | "file">;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
accept: {
|
|
119
|
+
type: StringConstructor;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
mult: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
qiniu: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: any;
|
|
129
|
+
};
|
|
130
|
+
width: {
|
|
131
|
+
type: NumberConstructor;
|
|
132
|
+
default: any;
|
|
133
|
+
};
|
|
134
|
+
height: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: any;
|
|
137
|
+
};
|
|
138
|
+
drag: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
saveOriginName: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
onUploadProgress: {
|
|
147
|
+
type: PropType<(index: number, progressInfo: any) => void>;
|
|
148
|
+
default: () => void;
|
|
149
|
+
};
|
|
150
|
+
onUploadSuccess: {
|
|
151
|
+
type: PropType<(src: JuzhenUpload.UploadResultModel) => void>;
|
|
152
|
+
default: () => void;
|
|
153
|
+
};
|
|
154
|
+
}>>, {
|
|
127
155
|
data: {
|
|
128
156
|
path: string;
|
|
129
157
|
};
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@juzhenfe/modules",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"main": "dist/index.min.js",
|
|
5
|
-
"types": "dist/packages/modules/index.d.ts",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "lerna bootstrap && vite --force",
|
|
8
|
-
"build": "cross-env NODE_ENV=production rollup -c ./build/rollup.config.js",
|
|
9
|
-
"clean": "rimraf dist",
|
|
10
|
-
"build:type": "node ./build/build-type.js",
|
|
11
|
-
"build:es": "npm run clean && lerna bootstrap && npm run build && npm run build:type",
|
|
12
|
-
"pub": "npm publish --access public",
|
|
13
|
-
"version": "npm run build:es && npm run pub"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@babel/core": "^7.15.8",
|
|
20
|
-
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
21
|
-
"@babel/preset-env": "^7.15.8",
|
|
22
|
-
"@juzhenfe/page-model": "^1.11.7",
|
|
23
|
-
"@juzhenfe/request": "^1.6.1",
|
|
24
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
25
|
-
"@rollup/plugin-commonjs": "^18.1.0",
|
|
26
|
-
"@rollup/plugin-image": "^2.0.6",
|
|
27
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
28
|
-
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
29
|
-
"@rollup/plugin-typescript": "^8.2.1",
|
|
30
|
-
"@vitejs/plugin-vue": "^1.2.3",
|
|
31
|
-
"@vitejs/plugin-vue-jsx": "^1.1.5",
|
|
32
|
-
"@vue/compiler-sfc": "^3.1.2",
|
|
33
|
-
"clipboard": "^2.0.8",
|
|
34
|
-
"core-js": "^3.15.1",
|
|
35
|
-
"cross-env": "^7.0.3",
|
|
36
|
-
"element-plus": "^1.1.0-beta.20",
|
|
37
|
-
"lerna": "^4.0.0",
|
|
38
|
-
"rimraf": "^3.0.2",
|
|
39
|
-
"rollup": "^2.60.1",
|
|
40
|
-
"rollup-plugin-scss": "^2.6.1",
|
|
41
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
42
|
-
"rollup-plugin-typescript2": "^0.30.0",
|
|
43
|
-
"rollup-plugin-vue": "^6.0.0",
|
|
44
|
-
"sass": "^1.43.4",
|
|
45
|
-
"the-answer": "^1.0.0",
|
|
46
|
-
"typescript": "^4.3.4",
|
|
47
|
-
"vite": "^2.6.7",
|
|
48
|
-
"vue": "^3.2.20",
|
|
49
|
-
"vue-router": "^4.0.12",
|
|
50
|
-
"vue-tsc": "^0.1.7"
|
|
51
|
-
},
|
|
52
|
-
"dependencies": {
|
|
53
|
-
"echarts": "^5.1.2"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@juzhenfe/modules",
|
|
3
|
+
"version": "2.2.5",
|
|
4
|
+
"main": "dist/index.min.js",
|
|
5
|
+
"types": "dist/packages/modules/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "lerna bootstrap && vite --force",
|
|
8
|
+
"build": "cross-env NODE_ENV=production rollup -c ./build/rollup.config.js",
|
|
9
|
+
"clean": "rimraf dist",
|
|
10
|
+
"build:type": "node ./build/build-type.js",
|
|
11
|
+
"build:es": "npm run clean && lerna bootstrap && npm run build && npm run build:type",
|
|
12
|
+
"pub": "npm publish --access public",
|
|
13
|
+
"version": "npm run build:es && npm run pub"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@babel/core": "^7.15.8",
|
|
20
|
+
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
21
|
+
"@babel/preset-env": "^7.15.8",
|
|
22
|
+
"@juzhenfe/page-model": "^1.11.7",
|
|
23
|
+
"@juzhenfe/request": "^1.6.1",
|
|
24
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
25
|
+
"@rollup/plugin-commonjs": "^18.1.0",
|
|
26
|
+
"@rollup/plugin-image": "^2.0.6",
|
|
27
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
28
|
+
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
29
|
+
"@rollup/plugin-typescript": "^8.2.1",
|
|
30
|
+
"@vitejs/plugin-vue": "^1.2.3",
|
|
31
|
+
"@vitejs/plugin-vue-jsx": "^1.1.5",
|
|
32
|
+
"@vue/compiler-sfc": "^3.1.2",
|
|
33
|
+
"clipboard": "^2.0.8",
|
|
34
|
+
"core-js": "^3.15.1",
|
|
35
|
+
"cross-env": "^7.0.3",
|
|
36
|
+
"element-plus": "^1.1.0-beta.20",
|
|
37
|
+
"lerna": "^4.0.0",
|
|
38
|
+
"rimraf": "^3.0.2",
|
|
39
|
+
"rollup": "^2.60.1",
|
|
40
|
+
"rollup-plugin-scss": "^2.6.1",
|
|
41
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
42
|
+
"rollup-plugin-typescript2": "^0.30.0",
|
|
43
|
+
"rollup-plugin-vue": "^6.0.0",
|
|
44
|
+
"sass": "^1.43.4",
|
|
45
|
+
"the-answer": "^1.0.0",
|
|
46
|
+
"typescript": "^4.3.4",
|
|
47
|
+
"vite": "^2.6.7",
|
|
48
|
+
"vue": "^3.2.20",
|
|
49
|
+
"vue-router": "^4.0.12",
|
|
50
|
+
"vue-tsc": "^0.1.7"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"echarts": "^5.1.2"
|
|
54
|
+
}
|
|
55
|
+
}
|