pangea-lib 2.11.266 → 2.11.268
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/main.cjs.js +28 -28
- package/dist/main.css +1 -1
- package/dist/main.es.js +6642 -6639
- package/dist/types/components/form/input/PgaInputFile.vue.d.ts +3 -3
- package/dist/types/components/form/input/PgaInputFileExcel.vue.d.ts +4 -1
- package/dist/types/types/file.d.ts +6 -6
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
label?: string;
|
|
6
6
|
withOptionalLabel?: boolean;
|
|
7
7
|
withLabelSpace?: boolean;
|
|
8
|
-
acceptedFormats?: FileExtension[]
|
|
8
|
+
acceptedFormats?: '*' | FileExtension[];
|
|
9
9
|
errors?: InputError[];
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
grow?: number;
|
|
@@ -19,7 +19,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
19
|
label?: string;
|
|
20
20
|
withOptionalLabel?: boolean;
|
|
21
21
|
withLabelSpace?: boolean;
|
|
22
|
-
acceptedFormats?: FileExtension[]
|
|
22
|
+
acceptedFormats?: '*' | FileExtension[];
|
|
23
23
|
errors?: InputError[];
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
grow?: number;
|
|
@@ -28,7 +28,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
28
|
}>>> & {
|
|
29
29
|
onNewFile?: (newFile: File) => any;
|
|
30
30
|
}, {
|
|
31
|
-
acceptedFormats: FileExtension[]
|
|
31
|
+
acceptedFormats: '*' | FileExtension[];
|
|
32
32
|
}, {}>;
|
|
33
33
|
export default _default;
|
|
34
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -4,6 +4,7 @@ type ExcelConfig = {
|
|
|
4
4
|
columns: Record<string, number>;
|
|
5
5
|
firstRow: number;
|
|
6
6
|
};
|
|
7
|
+
declare function resetInput(): void;
|
|
7
8
|
declare const _default: import('vue').DefineComponent<{
|
|
8
9
|
isReadingFile: import('vue').PropType<boolean>;
|
|
9
10
|
label: {
|
|
@@ -27,7 +28,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
27
28
|
excelConfig: {
|
|
28
29
|
type: import('vue').PropType<ExcelConfig>;
|
|
29
30
|
};
|
|
30
|
-
}, {
|
|
31
|
+
}, {
|
|
32
|
+
resetInput: typeof resetInput;
|
|
33
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
34
|
newFile: (newFile: File) => void;
|
|
32
35
|
newFileRead: (objects: Object[]) => void;
|
|
33
36
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type ImageExtension = '
|
|
2
|
-
export type VideoExtension = '
|
|
3
|
-
export type AudioExtension = '
|
|
4
|
-
export type DocumentExtension = '
|
|
5
|
-
export type CompressedExtension = '
|
|
6
|
-
export type CodeExtension = '
|
|
1
|
+
export type ImageExtension = 'jpg' | 'jpeg' | 'png' | 'gif' | 'bmp' | 'svg' | 'tiff' | 'webp' | 'ico';
|
|
2
|
+
export type VideoExtension = 'mp4' | 'avi' | 'mov' | 'wmv' | 'mkv' | 'webm' | 'flv';
|
|
3
|
+
export type AudioExtension = 'mp3' | 'wav' | 'aac' | 'ogg' | 'flac' | 'wma' | 'm4a';
|
|
4
|
+
export type DocumentExtension = 'pdf' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'ppt' | 'pptx' | 'txt' | 'rtf' | 'odt' | 'ods' | 'odp';
|
|
5
|
+
export type CompressedExtension = 'zip' | 'rar' | '7z' | 'tar' | 'gz';
|
|
6
|
+
export type CodeExtension = 'js' | 'ts' | 'css' | 'html' | 'json' | 'xml' | 'csv';
|
|
7
7
|
export type FileExtension = ImageExtension | VideoExtension | AudioExtension | DocumentExtension | CompressedExtension | CodeExtension;
|