pangea-lib 3.1.72 → 4.0.1
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 +31 -31
- package/dist/main.css +1 -1
- package/dist/main.es.js +6653 -6654
- package/dist/types/components/PgaVideos.vue.d.ts +2 -0
- package/dist/types/components/_i18n/pga-file.i18n.d.ts +11 -0
- package/dist/types/components/form/inputs/PgaInputFile.vue.d.ts +5 -5
- package/dist/types/components/form/inputs/PgaInputFileExcel.vue.d.ts +4 -2
- package/dist/types/components/image/PgaImage.vue.d.ts +8 -7
- package/dist/types/components/image/PgaImages.vue.d.ts +9 -9
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/i18n/i18n.d.ts +632 -443
- package/dist/types/i18n/messages/index.d.ts +10 -7
- package/dist/types/models/base-params.models.d.ts +11 -11
- package/dist/types/types/app-config.types.d.ts +1 -1
- package/dist/types/types/form.types.d.ts +0 -4
- package/dist/types/types/index.d.ts +1 -2
- package/dist/types/types/size.types.d.ts +6 -5
- package/package.json +1 -1
- package/dist/types/components/_i18n/pga-image.i18n.d.ts +0 -8
- package/dist/types/types/file.types.d.ts +0 -7
- package/dist/types/types/image.types.d.ts +0 -2
- /package/dist/types/components/image/{PgaImagesFullScreen.vue.d.ts → inner-components/PgaImagesFullScreen.vue.d.ts} +0 -0
|
@@ -61,6 +61,16 @@ declare const _default: {
|
|
|
61
61
|
saveErrorMsg: string;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
pgaFile: {
|
|
65
|
+
es: {
|
|
66
|
+
selectImages: string;
|
|
67
|
+
confirmDeleteImage: string;
|
|
68
|
+
maxImagesQuantityAlert: string;
|
|
69
|
+
selectVideos: string;
|
|
70
|
+
confirmDeleteVideo: string;
|
|
71
|
+
maxVideosQuantityAlert: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
64
74
|
pgaForm: {
|
|
65
75
|
es: {
|
|
66
76
|
submitBtn: string;
|
|
@@ -78,13 +88,6 @@ declare const _default: {
|
|
|
78
88
|
selectBtn: string;
|
|
79
89
|
};
|
|
80
90
|
};
|
|
81
|
-
pgaImage: {
|
|
82
|
-
es: {
|
|
83
|
-
selectFileLabel: string;
|
|
84
|
-
confirmDeleteText: string;
|
|
85
|
-
maxImagesQuantityAlert: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
91
|
pgaLayout: {
|
|
89
92
|
es: {
|
|
90
93
|
header: {
|
|
@@ -8,18 +8,18 @@ export declare class GetManyBaseParams extends BaseParams {
|
|
|
8
8
|
search?: string;
|
|
9
9
|
constructor(params?: Partial<GetManyBaseParams>);
|
|
10
10
|
}
|
|
11
|
-
export declare class
|
|
12
|
-
|
|
11
|
+
export declare class UploadFileParams extends BaseParams {
|
|
12
|
+
file: File;
|
|
13
|
+
constructor(params?: Partial<UploadFileParams>);
|
|
13
14
|
}
|
|
14
|
-
export declare class
|
|
15
|
-
|
|
16
|
-
constructor(params?: Partial<
|
|
15
|
+
export declare class UploadFilesParams extends BaseParams {
|
|
16
|
+
file: File[];
|
|
17
|
+
constructor(params?: Partial<UploadFilesParams>);
|
|
17
18
|
}
|
|
18
|
-
export declare class
|
|
19
|
-
|
|
20
|
-
constructor(params?: Partial<UploadImageParams>);
|
|
19
|
+
export declare class RemoveFileParams extends BaseParams {
|
|
20
|
+
constructor(params?: Partial<RemoveFileParams>);
|
|
21
21
|
}
|
|
22
|
-
export declare class
|
|
23
|
-
|
|
24
|
-
constructor(params?: Partial<
|
|
22
|
+
export declare class RemoveFilesParams extends BaseParams {
|
|
23
|
+
index: number;
|
|
24
|
+
constructor(params?: Partial<RemoveFilesParams>);
|
|
25
25
|
}
|
|
@@ -6,11 +6,9 @@ export * from './button.types';
|
|
|
6
6
|
export * from './chart.types';
|
|
7
7
|
export * from './color.types';
|
|
8
8
|
export * from './dropdown.types';
|
|
9
|
-
export * from './file.types';
|
|
10
9
|
export * from './form.types';
|
|
11
10
|
export * from './i18n.types';
|
|
12
11
|
export * from './icon.types';
|
|
13
|
-
export * from './image.types';
|
|
14
12
|
export * from './router.types';
|
|
15
13
|
export * from './size.types';
|
|
16
14
|
export * from './table.types';
|
|
@@ -28,3 +26,4 @@ export type NumOrFn = OrFn<number>;
|
|
|
28
26
|
export type BoolOrFn = OrFn<boolean>;
|
|
29
27
|
export type Align = 'center' | 'left' | 'right';
|
|
30
28
|
export type DatetimeFormat = 'numeric' | 'short' | 'long';
|
|
29
|
+
export type FileSource = 'static' | 'dynamic';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
type UnitAbsolute = 'px' | 'cm' | 'mm';
|
|
2
|
+
type UnitRelative = 'em' | 'rem' | 'vw' | 'vh' | '%';
|
|
3
|
+
type SizeAbsolute = `${number}${UnitAbsolute}`;
|
|
4
|
+
type SizeRelative = `${number}${UnitRelative}`;
|
|
5
|
+
type SizeKeyword = 'initial' | 'inherit' | 'unset' | 'revert' | 'auto' | 'none' | 'normal';
|
|
6
6
|
export type Size = SizeAbsolute | SizeRelative | SizeKeyword;
|
|
7
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
export type FileExtension = ImageExtension | VideoExtension | AudioExtension | DocumentExtension | CompressedExtension | CodeExtension;
|
|
File without changes
|