pangea-lib 4.0.117 → 4.0.119
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 +45 -45
- package/dist/main.css +1 -1
- package/dist/main.es.js +9589 -9601
- package/dist/types/components/PgaVideos.vue.d.ts +4 -6
- package/dist/types/components/image/PgaImage.vue.d.ts +2 -13
- package/dist/types/components/image/PgaImages.vue.d.ts +4 -6
- package/dist/types/types/app-config.types.d.ts +0 -4
- package/package.json +1 -1
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { RemoveFilesParams, UploadFilesParams } from '../models';
|
|
2
2
|
|
|
3
|
-
type VideoStr = string;
|
|
4
|
-
type Video = VideoStr | File;
|
|
5
3
|
declare const _default: import('vue').DefineComponent<{
|
|
6
4
|
modelValue: {
|
|
7
5
|
required: true;
|
|
8
|
-
type: import('vue').PropType<
|
|
6
|
+
type: import('vue').PropType<(string | File)[]>;
|
|
9
7
|
};
|
|
10
8
|
maxVideosQuantity: {
|
|
11
9
|
type: import('vue').PropType<number>;
|
|
12
10
|
required: true;
|
|
13
11
|
};
|
|
14
12
|
uploadFn: {
|
|
15
|
-
type: import('vue').PropType<(params: UploadFilesParams) => Promise<
|
|
13
|
+
type: import('vue').PropType<(params: UploadFilesParams) => Promise<string[]>>;
|
|
16
14
|
};
|
|
17
15
|
deleteFn: {
|
|
18
16
|
type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
|
|
@@ -20,14 +18,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
18
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
19
|
modelValue: {
|
|
22
20
|
required: true;
|
|
23
|
-
type: import('vue').PropType<
|
|
21
|
+
type: import('vue').PropType<(string | File)[]>;
|
|
24
22
|
};
|
|
25
23
|
maxVideosQuantity: {
|
|
26
24
|
type: import('vue').PropType<number>;
|
|
27
25
|
required: true;
|
|
28
26
|
};
|
|
29
27
|
uploadFn: {
|
|
30
|
-
type: import('vue').PropType<(params: UploadFilesParams) => Promise<
|
|
28
|
+
type: import('vue').PropType<(params: UploadFilesParams) => Promise<string[]>>;
|
|
31
29
|
};
|
|
32
30
|
deleteFn: {
|
|
33
31
|
type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { UploadFileParams } from '../../models';
|
|
2
|
-
import { FileSource } from '../../types';
|
|
3
2
|
|
|
4
|
-
type Image = string;
|
|
5
3
|
declare const _default: import('vue').DefineComponent<{
|
|
6
4
|
modelValue: import('vue').PropType<string>;
|
|
7
5
|
image: {
|
|
@@ -10,10 +8,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
8
|
size: {
|
|
11
9
|
type: import('vue').PropType<string>;
|
|
12
10
|
};
|
|
13
|
-
source: {
|
|
14
|
-
type: import('vue').PropType<FileSource>;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
11
|
borderRadius: {
|
|
18
12
|
type: import('vue').PropType<string>;
|
|
19
13
|
};
|
|
@@ -24,7 +18,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
18
|
type: import('vue').PropType<string>;
|
|
25
19
|
};
|
|
26
20
|
uploadFn: {
|
|
27
|
-
type: import('vue').PropType<(params: UploadFileParams) => Promise<
|
|
21
|
+
type: import('vue').PropType<(params: UploadFileParams) => Promise<string>>;
|
|
28
22
|
};
|
|
29
23
|
deleteFn: {
|
|
30
24
|
type: import('vue').PropType<() => Promise<void>>;
|
|
@@ -47,10 +41,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
47
41
|
size: {
|
|
48
42
|
type: import('vue').PropType<string>;
|
|
49
43
|
};
|
|
50
|
-
source: {
|
|
51
|
-
type: import('vue').PropType<FileSource>;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
44
|
borderRadius: {
|
|
55
45
|
type: import('vue').PropType<string>;
|
|
56
46
|
};
|
|
@@ -61,7 +51,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
61
51
|
type: import('vue').PropType<string>;
|
|
62
52
|
};
|
|
63
53
|
uploadFn: {
|
|
64
|
-
type: import('vue').PropType<(params: UploadFileParams) => Promise<
|
|
54
|
+
type: import('vue').PropType<(params: UploadFileParams) => Promise<string>>;
|
|
65
55
|
};
|
|
66
56
|
deleteFn: {
|
|
67
57
|
type: import('vue').PropType<() => Promise<void>>;
|
|
@@ -77,7 +67,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
77
67
|
default: string;
|
|
78
68
|
};
|
|
79
69
|
}>>, {
|
|
80
|
-
source: FileSource;
|
|
81
70
|
buttonsLayout: 'horizontal' | 'vertical';
|
|
82
71
|
}, {}>;
|
|
83
72
|
export default _default;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { RemoveFilesParams, UploadFilesParams } from '../../models';
|
|
2
2
|
|
|
3
|
-
type ImageStr = string;
|
|
4
|
-
type Image = ImageStr | File;
|
|
5
3
|
declare const _default: import('vue').DefineComponent<{
|
|
6
4
|
modelValue: {
|
|
7
5
|
required: true;
|
|
8
|
-
type: import('vue').PropType<
|
|
6
|
+
type: import('vue').PropType<(string | File)[]>;
|
|
9
7
|
};
|
|
10
8
|
maxImagesQuantity: {
|
|
11
9
|
type: import('vue').PropType<number>;
|
|
12
10
|
required: true;
|
|
13
11
|
};
|
|
14
12
|
uploadFn: {
|
|
15
|
-
type: import('vue').PropType<(params: UploadFilesParams) => Promise<
|
|
13
|
+
type: import('vue').PropType<(params: UploadFilesParams) => Promise<string[]>>;
|
|
16
14
|
};
|
|
17
15
|
deleteFn: {
|
|
18
16
|
type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
|
|
@@ -20,14 +18,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
18
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
19
|
modelValue: {
|
|
22
20
|
required: true;
|
|
23
|
-
type: import('vue').PropType<
|
|
21
|
+
type: import('vue').PropType<(string | File)[]>;
|
|
24
22
|
};
|
|
25
23
|
maxImagesQuantity: {
|
|
26
24
|
type: import('vue').PropType<number>;
|
|
27
25
|
required: true;
|
|
28
26
|
};
|
|
29
27
|
uploadFn: {
|
|
30
|
-
type: import('vue').PropType<(params: UploadFilesParams) => Promise<
|
|
28
|
+
type: import('vue').PropType<(params: UploadFilesParams) => Promise<string[]>>;
|
|
31
29
|
};
|
|
32
30
|
deleteFn: {
|
|
33
31
|
type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
|