@fy-/fws-vue 0.8.7 → 0.9.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.
|
@@ -36,6 +36,7 @@ const props = withDefaults(
|
|
|
36
36
|
videoComponent?: Component | string;
|
|
37
37
|
imageComponent?: Component | string;
|
|
38
38
|
isVideo?: Function;
|
|
39
|
+
ranking?: boolean;
|
|
39
40
|
}>(),
|
|
40
41
|
{
|
|
41
42
|
modelValue: 0,
|
|
@@ -49,6 +50,7 @@ const props = withDefaults(
|
|
|
49
50
|
getThumbnailUrl: (image: any) => `${image.image_url}?s=250x250&m=autocrop`,
|
|
50
51
|
paging: undefined,
|
|
51
52
|
borderColor: undefined,
|
|
53
|
+
ranking: false,
|
|
52
54
|
},
|
|
53
55
|
);
|
|
54
56
|
const emit = defineEmits(["update:modelValue"]);
|
|
@@ -341,6 +343,7 @@ onUnmounted(() => {
|
|
|
341
343
|
>
|
|
342
344
|
<slot name="thumbnail" />
|
|
343
345
|
<template v-for="i in images.length" :key="`g_${id}_${i}`">
|
|
346
|
+
<div v-if="ranking" class="img-gallery-ranking">#{{ i }}</div>
|
|
344
347
|
<template v-if="mode == 'mason'">
|
|
345
348
|
<div
|
|
346
349
|
class="grid gap-4 items-start"
|
|
@@ -171,7 +171,7 @@ defineExpose({ focus, blur, getInputRef });
|
|
|
171
171
|
:color="color"
|
|
172
172
|
:error="checkErrors"
|
|
173
173
|
:help="help"
|
|
174
|
-
:
|
|
174
|
+
:max-lenght-per-tag="maxLengthPerTag"
|
|
175
175
|
/>
|
|
176
176
|
</div>
|
|
177
177
|
<div class="group relative" v-else-if="type == 'textarea'">
|