pangea-lib 2.12.83 → 2.12.85

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.
@@ -1,6 +1,8 @@
1
1
  declare const _default: {
2
2
  es: {
3
+ selectFileLabel: string;
3
4
  confirmDeleteText: string;
5
+ maxImagesQuantityAlert: string;
4
6
  };
5
7
  };
6
8
  export default _default;
@@ -1,25 +1,32 @@
1
- import { TextProp, IconName, Icon } from '../../types';
1
+ import { ButtonVariant, TextProp, IconName, Icon } from '../../types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ variant?: ButtonVariant;
4
5
  icon?: IconName | Icon;
5
6
  text?: TextProp;
6
7
  withoutText?: boolean;
8
+ withoutConfirm?: boolean;
7
9
  confirmDeleteText?: TextProp;
8
10
  }>, {
11
+ variant: string;
9
12
  icon: string;
10
13
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
14
  deleteConfirmed: () => void;
12
15
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ variant?: ButtonVariant;
13
17
  icon?: IconName | Icon;
14
18
  text?: TextProp;
15
19
  withoutText?: boolean;
20
+ withoutConfirm?: boolean;
16
21
  confirmDeleteText?: TextProp;
17
22
  }>, {
23
+ variant: string;
18
24
  icon: string;
19
25
  }>>> & {
20
26
  onDeleteConfirmed?: () => any;
21
27
  }, {
22
28
  icon: IconName | Icon;
29
+ variant: ButtonVariant;
23
30
  }, {}>;
24
31
  export default _default;
25
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,16 +1,12 @@
1
- import { FileExtension, InputError } from '../../../types';
1
+ import { TextProp, FileExtension } from '../../../types';
2
2
 
3
3
  declare function click(): void;
4
4
  declare function resetInput(): void;
5
5
  declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
- label?: string;
7
- withOptionalLabel?: boolean;
8
- withLabelSpace?: boolean;
9
- errors?: InputError[];
10
- grow?: number;
11
6
  formats?: FileExtension[];
12
7
  multiple?: boolean;
13
8
  disabled?: boolean;
9
+ selectFileLabel?: TextProp;
14
10
  }>, {
15
11
  click: typeof click;
16
12
  resetInput: typeof resetInput;
@@ -18,14 +14,10 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
18
14
  newFile: (file: File) => void;
19
15
  newFiles: (files: File[]) => void;
20
16
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
21
- label?: string;
22
- withOptionalLabel?: boolean;
23
- withLabelSpace?: boolean;
24
- errors?: InputError[];
25
- grow?: number;
26
17
  formats?: FileExtension[];
27
18
  multiple?: boolean;
28
19
  disabled?: boolean;
20
+ selectFileLabel?: TextProp;
29
21
  }>>> & {
30
22
  onNewFile?: (file: File) => any;
31
23
  onNewFiles?: (files: File[]) => any;
@@ -1,29 +1,14 @@
1
- import { InputError, ExcelConfig } from '../../../types';
1
+ import { ExcelConfig } from '../../../types';
2
2
 
3
3
  declare function resetInput(): void;
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  isReadingFile: import('vue').PropType<boolean>;
6
- label: {
7
- type: import('vue').PropType<string>;
8
- };
9
- withOptionalLabel: {
10
- type: import('vue').PropType<boolean>;
11
- };
12
- withLabelSpace: {
13
- type: import('vue').PropType<boolean>;
14
- };
15
- errors: {
16
- type: import('vue').PropType<InputError[]>;
6
+ excelConfig: {
7
+ type: import('vue').PropType<ExcelConfig>;
17
8
  };
18
9
  disabled: {
19
10
  type: import('vue').PropType<boolean>;
20
11
  };
21
- grow: {
22
- type: import('vue').PropType<number>;
23
- };
24
- excelConfig: {
25
- type: import('vue').PropType<ExcelConfig>;
26
- };
27
12
  }, {
28
13
  resetInput: typeof resetInput;
29
14
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -31,27 +16,12 @@ declare const _default: import('vue').DefineComponent<{
31
16
  newFileRead: (objects: Object[]) => void;
32
17
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
18
  isReadingFile: import('vue').PropType<boolean>;
34
- label: {
35
- type: import('vue').PropType<string>;
36
- };
37
- withOptionalLabel: {
38
- type: import('vue').PropType<boolean>;
39
- };
40
- withLabelSpace: {
41
- type: import('vue').PropType<boolean>;
42
- };
43
- errors: {
44
- type: import('vue').PropType<InputError[]>;
19
+ excelConfig: {
20
+ type: import('vue').PropType<ExcelConfig>;
45
21
  };
46
22
  disabled: {
47
23
  type: import('vue').PropType<boolean>;
48
24
  };
49
- grow: {
50
- type: import('vue').PropType<number>;
51
- };
52
- excelConfig: {
53
- type: import('vue').PropType<ExcelConfig>;
54
- };
55
25
  }>> & {
56
26
  onNewFile?: (newFile: File) => any;
57
27
  onNewFileRead?: (objects: Object[]) => any;
@@ -0,0 +1,54 @@
1
+ import { Image } from '../../types';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ modelValue: {
5
+ required: true;
6
+ type: import('vue').PropType<(string | File)[]>;
7
+ };
8
+ size: {
9
+ type: import('vue').PropType<"s" | "l" | "m">;
10
+ };
11
+ width: {
12
+ type: import('vue').PropType<string>;
13
+ };
14
+ height: {
15
+ type: import('vue').PropType<string>;
16
+ };
17
+ uploadFn: {
18
+ type: import('vue').PropType<(params: any) => Promise<Image[]>>;
19
+ };
20
+ deleteFn: {
21
+ type: import('vue').PropType<(params: any) => Promise<void>>;
22
+ };
23
+ maxImagesQuantity: {
24
+ type: import('vue').PropType<number>;
25
+ default: number;
26
+ };
27
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ modelValue: {
29
+ required: true;
30
+ type: import('vue').PropType<(string | File)[]>;
31
+ };
32
+ size: {
33
+ type: import('vue').PropType<"s" | "l" | "m">;
34
+ };
35
+ width: {
36
+ type: import('vue').PropType<string>;
37
+ };
38
+ height: {
39
+ type: import('vue').PropType<string>;
40
+ };
41
+ uploadFn: {
42
+ type: import('vue').PropType<(params: any) => Promise<Image[]>>;
43
+ };
44
+ deleteFn: {
45
+ type: import('vue').PropType<(params: any) => Promise<void>>;
46
+ };
47
+ maxImagesQuantity: {
48
+ type: import('vue').PropType<number>;
49
+ default: number;
50
+ };
51
+ }>>, {
52
+ maxImagesQuantity: number;
53
+ }, {}>;
54
+ export default _default;
@@ -0,0 +1,28 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ isActive: {
3
+ required: true;
4
+ type: import('vue').PropType<boolean>;
5
+ };
6
+ indexSelected: {
7
+ required: true;
8
+ type: import('vue').PropType<number>;
9
+ };
10
+ sources: {
11
+ type: import('vue').PropType<string[]>;
12
+ required: true;
13
+ };
14
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ isActive: {
16
+ required: true;
17
+ type: import('vue').PropType<boolean>;
18
+ };
19
+ indexSelected: {
20
+ required: true;
21
+ type: import('vue').PropType<number>;
22
+ };
23
+ sources: {
24
+ type: import('vue').PropType<string[]>;
25
+ required: true;
26
+ };
27
+ }>>, {}, {}>;
28
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { Icon, IconName } from '../../../types';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ icon: Icon | IconName;
5
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ icon: Icon | IconName;
7
+ }>>>, {}, {}>;
8
+ export default _default;
9
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
11
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
12
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
+ } : {
14
+ type: import('vue').PropType<T[K]>;
15
+ required: true;
16
+ };
17
+ };
@@ -53,6 +53,7 @@ export { default as PgaSwitchOptions } from './form/inputs/PgaSwitchOptions.vue'
53
53
  export { default as PgaTextarea } from './form/inputs/PgaTextarea.vue';
54
54
  export { default as PgaYearPicker } from './form/inputs/PgaYearPicker.vue';
55
55
  export { default as PgaImage } from './image/PgaImage.vue';
56
+ export { default as PgaImages } from './image/PgaImages.vue';
56
57
  export { default as PgaInfoPanel } from './info-panel/PgaInfoPanel.vue';
57
58
  export { default as PgaBottomBar } from './layout/PgaBottomBar.vue';
58
59
  export { default as PgaBreadcrumb } from './layout/PgaBreadcrumb.vue';