Merge branch 'prod'
commit
c8e065e73a
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 991px) {
|
@media screen and (max-width: 1199px) {
|
||||||
.layout-topbar-inner {
|
.layout-topbar-inner {
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
padding-right: 2rem;
|
padding-right: 2rem;
|
||||||
|
|
|
@ -40,17 +40,17 @@ export default {
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -114,17 +114,17 @@ export default {
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -194,17 +194,17 @@ const responsiveOptions = ref([
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,17 +40,17 @@ export default {
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -114,17 +114,17 @@ export default {
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -194,17 +194,17 @@ const responsiveOptions = ref([
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,17 +43,17 @@ export default {
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -117,17 +117,17 @@ export default {
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -198,17 +198,17 @@ const responsiveOptions = ref([
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '1200px',
|
breakpoint: '1199px',
|
||||||
numVisible: 1,
|
numVisible: 3,
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,9 +19,9 @@
|
||||||
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
||||||
<h6 class="mt-0 mb-3">${{ slotProps.data.price }}</h6>
|
<h6 class="mt-0 mb-3">${{ slotProps.data.price }}</h6>
|
||||||
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
||||||
<div class="mt-5">
|
<div class="mt-5 flex align-items-center justify-content-center gap-2">
|
||||||
<Button icon="pi pi-search" rounded class="mr-2" />
|
<Button icon="pi pi-search" rounded />
|
||||||
<Button icon="pi pi-star-fill" rounded severity="success" class="mr-2" />
|
<Button icon="pi pi-star-fill" rounded severity="secondary" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,17 +40,22 @@ export default {
|
||||||
products: null,
|
products: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '1199px',
|
breakpoint: '1400px',
|
||||||
numVisible: 1,
|
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
numVisible: 2,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '1199px',
|
||||||
|
numVisible: 3,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -75,9 +80,9 @@ export default {
|
||||||
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
||||||
<h6 class="mt-0 mb-3">\${{ slotProps.data.price }}</h6>
|
<h6 class="mt-0 mb-3">\${{ slotProps.data.price }}</h6>
|
||||||
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
||||||
<div class="mt-5">
|
<div class="mt-5 flex align-items-center justify-content-center gap-2">
|
||||||
<Button icon="pi pi-search" rounded class="mr-2" />
|
<Button icon="pi pi-search" rounded />
|
||||||
<Button icon="pi pi-star-fill" rounded severity="success" class="mr-2" />
|
<Button icon="pi pi-star-fill" rounded severity="secondary" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -105,9 +110,9 @@ export default {
|
||||||
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
||||||
<h6 class="mt-0 mb-3">\${{ slotProps.data.price }}</h6>
|
<h6 class="mt-0 mb-3">\${{ slotProps.data.price }}</h6>
|
||||||
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
||||||
<div class="mt-5">
|
<div class="mt-5 flex align-items-center justify-content-center gap-2">
|
||||||
<Button icon="pi pi-search" rounded class="mr-2" />
|
<Button icon="pi pi-search" rounded />
|
||||||
<Button icon="pi pi-star-fill" rounded severity="success" class="mr-2" />
|
<Button icon="pi pi-star-fill" rounded severity="secondary" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,17 +130,22 @@ export default {
|
||||||
products: null,
|
products: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '1199px',
|
breakpoint: '1400px',
|
||||||
numVisible: 1,
|
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
numVisible: 2,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '1199px',
|
||||||
|
numVisible: 3,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
@ -186,9 +196,9 @@ export default {
|
||||||
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
<h4 class="mb-1">{{ slotProps.data.name }}</h4>
|
||||||
<h6 class="mt-0 mb-3">\${{ slotProps.data.price }}</h6>
|
<h6 class="mt-0 mb-3">\${{ slotProps.data.price }}</h6>
|
||||||
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
<Tag :value="slotProps.data.inventoryStatus" :severity="getSeverity(slotProps.data.inventoryStatus)" />
|
||||||
<div class="mt-5">
|
<div class="mt-5 flex align-items-center justify-content-center gap-2">
|
||||||
<Button icon="pi pi-search" rounded class="mr-2" />
|
<Button icon="pi pi-search" rounded />
|
||||||
<Button icon="pi pi-star-fill" rounded severity="success" class="mr-2" />
|
<Button icon="pi pi-star-fill" rounded severity="secondary" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -208,17 +218,22 @@ onMounted(() => {
|
||||||
const products = ref();
|
const products = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '1199px',
|
breakpoint: '1400px',
|
||||||
numVisible: 1,
|
|
||||||
numScroll: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 2,
|
numVisible: 2,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '1199px',
|
||||||
|
numVisible: 3,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
breakpoint: '767px',
|
breakpoint: '767px',
|
||||||
|
numVisible: 2,
|
||||||
|
numScroll: 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
numVisible: 1,
|
numVisible: 1,
|
||||||
numScroll: 1
|
numScroll: 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
:circular="true"
|
:circular="true"
|
||||||
:autoPlay="isAutoPlay"
|
:autoPlay="isAutoPlay"
|
||||||
:transitionInterval="3000"
|
:transitionInterval="3000"
|
||||||
|
:responsiveOptions="responsiveOptions"
|
||||||
:pt="{
|
:pt="{
|
||||||
root: {
|
root: {
|
||||||
class: [{ 'flex flex-column': fullScreen }]
|
class: [{ 'flex flex-column': fullScreen }]
|
||||||
|
@ -22,7 +23,6 @@
|
||||||
content: {
|
content: {
|
||||||
class: ['relative', { 'flex-1 justify-content-center': fullScreen }]
|
class: ['relative', { 'flex-1 justify-content-center': fullScreen }]
|
||||||
},
|
},
|
||||||
|
|
||||||
thumbnailwrapper: 'absolute w-full left-0 bottom-0'
|
thumbnailwrapper: 'absolute w-full left-0 bottom-0'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
|
@ -63,6 +63,16 @@ export default {
|
||||||
isAutoPlayActive: true,
|
isAutoPlayActive: true,
|
||||||
fullScreen: false,
|
fullScreen: false,
|
||||||
isAutoPlay: true,
|
isAutoPlay: true,
|
||||||
|
responsiveOptions: [
|
||||||
|
{
|
||||||
|
breakpoint: '1300px',
|
||||||
|
numVisible: 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
|
numVisible: 1
|
||||||
|
}
|
||||||
|
],
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Galleria
|
<Galleria
|
||||||
|
@ -77,6 +87,7 @@ export default {
|
||||||
:circular="true"
|
:circular="true"
|
||||||
:autoPlay="isAutoPlay"
|
:autoPlay="isAutoPlay"
|
||||||
:transitionInterval="3000"
|
:transitionInterval="3000"
|
||||||
|
:responsiveOptions="responsiveOptions"
|
||||||
:pt="{
|
:pt="{
|
||||||
root: {
|
root: {
|
||||||
class: [{ 'flex flex-column': fullScreen }]
|
class: [{ 'flex flex-column': fullScreen }]
|
||||||
|
@ -125,6 +136,7 @@ export default {
|
||||||
:circular="true"
|
:circular="true"
|
||||||
:autoPlay="isAutoPlay"
|
:autoPlay="isAutoPlay"
|
||||||
:transitionInterval="3000"
|
:transitionInterval="3000"
|
||||||
|
:responsiveOptions="responsiveOptions"
|
||||||
:pt="{
|
:pt="{
|
||||||
root: {
|
root: {
|
||||||
class: [{ 'flex flex-column': fullScreen }]
|
class: [{ 'flex flex-column': fullScreen }]
|
||||||
|
@ -171,6 +183,16 @@ export default {
|
||||||
showThumbnails: false,
|
showThumbnails: false,
|
||||||
fullScreen: false,
|
fullScreen: false,
|
||||||
isAutoPlay: true,
|
isAutoPlay: true,
|
||||||
|
responsiveOptions: [
|
||||||
|
{
|
||||||
|
breakpoint: '1300px',
|
||||||
|
numVisible: 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
|
numVisible: 1
|
||||||
|
}
|
||||||
|
]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -260,6 +282,7 @@ export default {
|
||||||
:circular="true"
|
:circular="true"
|
||||||
:autoPlay="isAutoPlay"
|
:autoPlay="isAutoPlay"
|
||||||
:transitionInterval="3000"
|
:transitionInterval="3000"
|
||||||
|
:responsiveOptions="responsiveOptions"
|
||||||
:pt="{
|
:pt="{
|
||||||
root: {
|
root: {
|
||||||
class: [{ 'flex flex-column': fullScreen }]
|
class: [{ 'flex flex-column': fullScreen }]
|
||||||
|
@ -317,6 +340,18 @@ const toggleAutoSlide = () => {
|
||||||
const onThumbnailButtonClick = () => {
|
const onThumbnailButtonClick = () => {
|
||||||
showThumbnails.value = !showThumbnails.value ;
|
showThumbnails.value = !showThumbnails.value ;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const responsiveOptions = ref([
|
||||||
|
{
|
||||||
|
breakpoint: '1300px',
|
||||||
|
numVisible: 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: '575px',
|
||||||
|
numVisible: 1
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
const toggleFullScreen = () => {
|
const toggleFullScreen = () => {
|
||||||
if (fullScreen.value ) {
|
if (fullScreen.value ) {
|
||||||
closeFullScreen();
|
closeFullScreen();
|
||||||
|
|
|
@ -24,13 +24,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -72,13 +68,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -118,13 +110,9 @@ onMounted(() => {
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -24,13 +24,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -70,13 +66,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -115,13 +107,9 @@ onMounted(() => {
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -28,13 +28,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -82,13 +78,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -131,13 +123,9 @@ onMounted(() => {
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -30,13 +30,9 @@ export default {
|
||||||
activeIndex: 2,
|
activeIndex: 2,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -87,13 +83,9 @@ export default {
|
||||||
activeIndex: 2,
|
activeIndex: 2,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -146,13 +138,9 @@ const images = ref();
|
||||||
const activeIndex = ref(2);
|
const activeIndex = ref(2);
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs">
|
<DocSectionText v-bind="$attrs">
|
||||||
<p>Galleria responsiveness is defined with the <i>responsiveOptions</i> property.</p>
|
<p>Settings per screen size is defined via the <i>responsiveOptions</i> property.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" containerStyle="max-width: 640px">
|
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" containerStyle="max-width: 640px">
|
||||||
|
@ -26,13 +26,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -76,13 +72,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -123,13 +115,9 @@ onMounted(() => {
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<label :for="option.label" class="ml-2"> {{ option.label }} </label>
|
<label :for="option.label" class="ml-2"> {{ option.label }} </label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="4" :thumbnailsPosition="position" containerStyle="max-width: 640px">
|
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :thumbnailsPosition="position" containerStyle="max-width: 640px">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -51,13 +51,9 @@ export default {
|
||||||
],
|
],
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -65,7 +61,7 @@ export default {
|
||||||
],
|
],
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="4" :thumbnailsPosition="position" containerStyle="max-width: 640px">
|
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :thumbnailsPosition="position" containerStyle="max-width: 640px">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -85,7 +81,7 @@ export default {
|
||||||
<label :for="option.label" class="ml-2"> {{ option.label }} </label>
|
<label :for="option.label" class="ml-2"> {{ option.label }} </label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="4" :thumbnailsPosition="position" containerStyle="max-width: 640px">
|
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :thumbnailsPosition="position" containerStyle="max-width: 640px">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -126,13 +122,9 @@ export default {
|
||||||
],
|
],
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -194,13 +186,9 @@ const positionOptions = ref([
|
||||||
]);
|
]);
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<p>Indicators are displayed at the bottom by enabling <i>showIndicators</i> property and interacted with the click event by default.</p>
|
<p>Indicators are displayed at the bottom by enabling <i>showIndicators</i> property and interacted with the click event by default.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px" :showThumbnails="false" :showIndicators="true">
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px" :showThumbnails="false" :showIndicators="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -19,23 +19,9 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '575px',
|
|
||||||
numVisible: 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px"
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px"
|
||||||
:showThumbnails="false" :showIndicators="true">
|
:showThumbnails="false" :showIndicators="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
|
@ -45,7 +31,7 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px"
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px"
|
||||||
:showThumbnails="false" :showIndicators="true">
|
:showThumbnails="false" :showIndicators="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
|
@ -60,21 +46,7 @@ import { PhotoService } from '@/service/PhotoService';
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
images: null,
|
images: null
|
||||||
responsiveOptions: [
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '575px',
|
|
||||||
numVisible: 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -86,7 +58,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px"
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px"
|
||||||
:showThumbnails="false" :showIndicators="true">
|
:showThumbnails="false" :showIndicators="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
|
@ -104,20 +76,6 @@ onMounted(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '575px',
|
|
||||||
numVisible: 1
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
<\/script>
|
<\/script>
|
||||||
`,
|
`,
|
||||||
data: `
|
data: `
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<p>Indicators can be activated on hover instead of click if <i>changeItemOnIndicatorHover</i> is added.</p>
|
<p>Indicators can be activated on hover instead of click if <i>changeItemOnIndicatorHover</i> is added.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px" :showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px" :showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -19,23 +19,9 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '575px',
|
|
||||||
numVisible: 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px"
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px"
|
||||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
|
@ -45,7 +31,7 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px"
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px"
|
||||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
|
@ -60,21 +46,7 @@ import { PhotoService } from '@/service/PhotoService';
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
images: null,
|
images: null
|
||||||
responsiveOptions: [
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '575px',
|
|
||||||
numVisible: 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -86,7 +58,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" containerStyle="max-width: 640px"
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px"
|
||||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
||||||
<template #item="slotProps">
|
<template #item="slotProps">
|
||||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block" />
|
||||||
|
@ -104,20 +76,6 @@ onMounted(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '575px',
|
|
||||||
numVisible: 1
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
<\/script>
|
<\/script>
|
||||||
`,
|
`,
|
||||||
data: `
|
data: `
|
||||||
|
|
|
@ -22,20 +22,6 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
|
||||||
{
|
|
||||||
breakpoint: '991px',
|
|
||||||
numVisible: 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: '575px',
|
|
||||||
numVisible: 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px" :showThumbnails="false"
|
<Galleria :value="images" :numVisible="5" containerStyle="max-width: 640px" :showThumbnails="false"
|
||||||
|
|
|
@ -24,13 +24,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -70,13 +66,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -115,13 +107,9 @@ onMounted(() => {
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -24,13 +24,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -72,13 +68,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -118,13 +110,9 @@ onMounted(() => {
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs"></DocSectionText>
|
<DocSectionText v-bind="$attrs"></DocSectionText>
|
||||||
<div class="card md:flex md:justify-content-center">
|
<div class="card">
|
||||||
<Galleria
|
<Galleria
|
||||||
:value="images"
|
:value="images"
|
||||||
:responsiveOptions="responsiveOptions"
|
:responsiveOptions="responsiveOptions"
|
||||||
|
@ -29,13 +29,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -89,13 +85,9 @@ export default {
|
||||||
images: null,
|
images: null,
|
||||||
responsiveOptions: [
|
responsiveOptions: [
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
@ -141,13 +133,9 @@ onMounted(() => {
|
||||||
const images = ref();
|
const images = ref();
|
||||||
const responsiveOptions = ref([
|
const responsiveOptions = ref([
|
||||||
{
|
{
|
||||||
breakpoint: '991px',
|
breakpoint: '1300px',
|
||||||
numVisible: 4
|
numVisible: 4
|
||||||
},
|
},
|
||||||
{
|
|
||||||
breakpoint: '767px',
|
|
||||||
numVisible: 3
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
breakpoint: '575px',
|
breakpoint: '575px',
|
||||||
numVisible: 1
|
numVisible: 1
|
||||||
|
|
Loading…
Reference in New Issue