@fewangsit/wangsvue-gsts 1.0.0-alpha.6 → 1.0.0-alpha.8
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/components/imagecompressor/ImageCompressor.vue.d.ts +7 -1
- package/package.json +1 -1
- package/wangsvue-gsts.es.js +4202 -4201
- package/wangsvue-gsts.system.js +63 -63
|
@@ -14,7 +14,7 @@ export type ImageCompressorPayload = {
|
|
|
14
14
|
fileName: string;
|
|
15
15
|
file: File;
|
|
16
16
|
size: string;
|
|
17
|
-
type: 'image/webp';
|
|
17
|
+
type: 'image/webp' | 'image/jpeg' | 'image/jpg';
|
|
18
18
|
};
|
|
19
19
|
message?: string;
|
|
20
20
|
};
|
|
@@ -130,6 +130,12 @@ export interface ImageCompressorProps {
|
|
|
130
130
|
* @default true
|
|
131
131
|
*/
|
|
132
132
|
showValidatorMessage?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Specify the file type for the uploaded image result.
|
|
135
|
+
*
|
|
136
|
+
* @default 'webp'
|
|
137
|
+
*/
|
|
138
|
+
fileType?: 'webp' | 'jpeg' | 'jpg';
|
|
133
139
|
}
|
|
134
140
|
|
|
135
141
|
export interface ImageCompressorSlots {
|