pukaad-ui-lib 1.344.0 → 1.345.0
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/module.json +1 -1
- package/dist/runtime/components/display/display-image-place.d.vue.ts +0 -1
- package/dist/runtime/components/display/display-image-place.vue +3 -3
- package/dist/runtime/components/display/display-image-place.vue.d.ts +0 -1
- package/dist/runtime/components/image/image-cropper.d.vue.ts +2 -2
- package/dist/runtime/components/image/image-cropper.vue.d.ts +2 -2
- package/package.json +1 -1
- /package/dist/runtime/assets/svg/socials/{Whatsapp.svg → WhatsApp.svg} +0 -0
package/dist/module.json
CHANGED
|
@@ -11,7 +11,6 @@ type __VLS_Props = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
13
|
title: string;
|
|
14
|
-
variant: "featured" | "album";
|
|
15
14
|
state: "personal" | "office" | "business";
|
|
16
15
|
photos: MediaItem[];
|
|
17
16
|
videos: MediaItem[];
|
|
@@ -106,14 +106,14 @@ const { convertNumber } = useConvert();
|
|
|
106
106
|
const props = defineProps({
|
|
107
107
|
photos: { type: Array, required: false, default: () => [] },
|
|
108
108
|
videos: { type: Array, required: false, default: () => [] },
|
|
109
|
-
variant: { type: String, required: false
|
|
109
|
+
variant: { type: String, required: false },
|
|
110
110
|
state: { type: String, required: false, default: "personal" },
|
|
111
111
|
title: { type: String, required: false, default: "" }
|
|
112
112
|
});
|
|
113
113
|
const layoutMode = computed(() => {
|
|
114
|
+
if (props.variant) return props.variant;
|
|
114
115
|
if (props.state === "office" || props.state === "business") return "album";
|
|
115
|
-
|
|
116
|
-
return props.variant;
|
|
116
|
+
return "featured";
|
|
117
117
|
});
|
|
118
118
|
const photos = computed(() => props.photos.filter((p) => !!p.url));
|
|
119
119
|
const videos = computed(() => props.videos.filter((p) => !!p.url));
|
|
@@ -11,7 +11,6 @@ type __VLS_Props = {
|
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
13
|
title: string;
|
|
14
|
-
variant: "featured" | "album";
|
|
15
14
|
state: "personal" | "office" | "business";
|
|
16
15
|
photos: MediaItem[];
|
|
17
16
|
videos: MediaItem[];
|
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
-
background: boolean;
|
|
68
|
-
modal: boolean;
|
|
69
67
|
responsive: boolean;
|
|
70
68
|
restore: boolean;
|
|
71
69
|
checkCrossOrigin: boolean;
|
|
72
70
|
checkOrientation: boolean;
|
|
73
71
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
+
modal: boolean;
|
|
74
73
|
guides: boolean;
|
|
75
74
|
highlight: boolean;
|
|
75
|
+
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
|
@@ -64,15 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
|
|
|
64
64
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
|
|
65
65
|
src: string;
|
|
66
66
|
center: boolean;
|
|
67
|
-
background: boolean;
|
|
68
|
-
modal: boolean;
|
|
69
67
|
responsive: boolean;
|
|
70
68
|
restore: boolean;
|
|
71
69
|
checkCrossOrigin: boolean;
|
|
72
70
|
checkOrientation: boolean;
|
|
73
71
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
72
|
+
modal: boolean;
|
|
74
73
|
guides: boolean;
|
|
75
74
|
highlight: boolean;
|
|
75
|
+
background: boolean;
|
|
76
76
|
autoCrop: boolean;
|
|
77
77
|
movable: boolean;
|
|
78
78
|
rotatable: boolean;
|
package/package.json
CHANGED
|
File without changes
|