pangea-lib 2.11.472 → 2.11.474
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 +42 -42
- package/dist/main.css +1 -1
- package/dist/main.es.js +7306 -7283
- package/dist/types/components/PgaIsEnabled.vue.d.ts +15 -0
- package/dist/types/components/image/PgaImage.vue.d.ts +70 -25
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/options/options.store.d.ts +12 -6
- package/dist/types/options/options.types.d.ts +2 -1
- package/dist/types/types/image.d.ts +2 -5
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isEnabled: boolean;
|
|
3
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
isEnabled: boolean;
|
|
5
|
+
}>>>, {}, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,27 +1,72 @@
|
|
|
1
|
-
import { Size } from '
|
|
1
|
+
import { Image, ImageSource, Size } from '../../types';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').DefineComponent<
|
|
4
|
-
|
|
5
|
-
source
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
modelValue: import('vue').PropType<string>;
|
|
5
|
+
source: {
|
|
6
|
+
type: import('vue').PropType<ImageSource>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
image: {
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: import('vue').PropType<Size>;
|
|
14
|
+
};
|
|
15
|
+
borderRadius: {
|
|
16
|
+
type: import('vue').PropType<Size>;
|
|
17
|
+
};
|
|
18
|
+
width: {
|
|
19
|
+
type: import('vue').PropType<Size>;
|
|
20
|
+
};
|
|
21
|
+
height: {
|
|
22
|
+
type: import('vue').PropType<Size>;
|
|
23
|
+
};
|
|
24
|
+
defaultImage: {
|
|
25
|
+
type: import('vue').PropType<string>;
|
|
26
|
+
};
|
|
27
|
+
uploadFn: {
|
|
28
|
+
type: import('vue').PropType<(file: File) => Promise<Image>>;
|
|
29
|
+
};
|
|
30
|
+
deleteFn: {
|
|
31
|
+
type: import('vue').PropType<() => Promise<void>>;
|
|
32
|
+
};
|
|
33
|
+
rounded: {
|
|
34
|
+
type: import('vue').PropType<boolean>;
|
|
35
|
+
};
|
|
36
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
modelValue: import('vue').PropType<string>;
|
|
38
|
+
source: {
|
|
39
|
+
type: import('vue').PropType<ImageSource>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
image: {
|
|
43
|
+
type: import('vue').PropType<string>;
|
|
44
|
+
};
|
|
45
|
+
size: {
|
|
46
|
+
type: import('vue').PropType<Size>;
|
|
47
|
+
};
|
|
48
|
+
borderRadius: {
|
|
49
|
+
type: import('vue').PropType<Size>;
|
|
50
|
+
};
|
|
51
|
+
width: {
|
|
52
|
+
type: import('vue').PropType<Size>;
|
|
53
|
+
};
|
|
54
|
+
height: {
|
|
55
|
+
type: import('vue').PropType<Size>;
|
|
56
|
+
};
|
|
57
|
+
defaultImage: {
|
|
58
|
+
type: import('vue').PropType<string>;
|
|
59
|
+
};
|
|
60
|
+
uploadFn: {
|
|
61
|
+
type: import('vue').PropType<(file: File) => Promise<Image>>;
|
|
62
|
+
};
|
|
63
|
+
deleteFn: {
|
|
64
|
+
type: import('vue').PropType<() => Promise<void>>;
|
|
65
|
+
};
|
|
66
|
+
rounded: {
|
|
67
|
+
type: import('vue').PropType<boolean>;
|
|
68
|
+
};
|
|
69
|
+
}>>, {
|
|
70
|
+
source: ImageSource;
|
|
71
|
+
}, {}>;
|
|
18
72
|
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -2,6 +2,7 @@ export { default as PgaBadge } from './PgaBadge.vue';
|
|
|
2
2
|
export { default as PgaDropdown } from './PgaDropdown.vue';
|
|
3
3
|
export { default as PgaIcon } from './PgaIcon.vue';
|
|
4
4
|
export { default as PgaInfoCardFullPage } from './PgaInfoCardFullPage.vue';
|
|
5
|
+
export { default as PgaIsEnabled } from './PgaIsEnabled.vue';
|
|
5
6
|
export { default as PgaItemSelected } from './PgaItemSelected.vue';
|
|
6
7
|
export { default as PgaModal } from './PgaModal.vue';
|
|
7
8
|
export { default as PgaSeparator } from './PgaSeparator.vue';
|
|
@@ -24,7 +24,8 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
image: {
|
|
27
|
-
|
|
27
|
+
staticUrl: string;
|
|
28
|
+
dynamicUrl: string;
|
|
28
29
|
};
|
|
29
30
|
}>;
|
|
30
31
|
notificationsOptions: import('vue').ComputedRef<{
|
|
@@ -51,7 +52,8 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
51
52
|
};
|
|
52
53
|
}>;
|
|
53
54
|
imageOptions: import('vue').ComputedRef<{
|
|
54
|
-
|
|
55
|
+
staticUrl: string;
|
|
56
|
+
dynamicUrl: string;
|
|
55
57
|
}>;
|
|
56
58
|
}, "options">>, Pick<{
|
|
57
59
|
options: import('vue').Ref<{
|
|
@@ -79,7 +81,8 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
79
81
|
};
|
|
80
82
|
};
|
|
81
83
|
image: {
|
|
82
|
-
|
|
84
|
+
staticUrl: string;
|
|
85
|
+
dynamicUrl: string;
|
|
83
86
|
};
|
|
84
87
|
}>;
|
|
85
88
|
notificationsOptions: import('vue').ComputedRef<{
|
|
@@ -106,7 +109,8 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
106
109
|
};
|
|
107
110
|
}>;
|
|
108
111
|
imageOptions: import('vue').ComputedRef<{
|
|
109
|
-
|
|
112
|
+
staticUrl: string;
|
|
113
|
+
dynamicUrl: string;
|
|
110
114
|
}>;
|
|
111
115
|
}, "notificationsOptions" | "buttonOptions" | "formOptions" | "imageOptions">, Pick<{
|
|
112
116
|
options: import('vue').Ref<{
|
|
@@ -134,7 +138,8 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
134
138
|
};
|
|
135
139
|
};
|
|
136
140
|
image: {
|
|
137
|
-
|
|
141
|
+
staticUrl: string;
|
|
142
|
+
dynamicUrl: string;
|
|
138
143
|
};
|
|
139
144
|
}>;
|
|
140
145
|
notificationsOptions: import('vue').ComputedRef<{
|
|
@@ -161,6 +166,7 @@ export declare const useOptionsStore: import('pinia').StoreDefinition<"pga-optio
|
|
|
161
166
|
};
|
|
162
167
|
}>;
|
|
163
168
|
imageOptions: import('vue').ComputedRef<{
|
|
164
|
-
|
|
169
|
+
staticUrl: string;
|
|
170
|
+
dynamicUrl: string;
|
|
165
171
|
}>;
|
|
166
172
|
}, never>>;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export type Image = `${string}.${ImageExtension}`;
|
|
4
|
-
export type ImagesFolder = 'coins' | 'wallets';
|
|
5
|
-
export type ImageSize = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
1
|
+
export type Image = string;
|
|
2
|
+
export type ImageSource = 'static' | 'dynamic';
|