comand-component-library 3.3.14 → 3.3.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +2649 -2577
- package/dist/comand-component-library.umd.cjs +4 -4
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-01.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-02.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-03.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-04.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-05.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-06.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-07.jpg +0 -0
- package/dist/media/images/{gallery-images → demo-images}/large/landscape-08.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-01.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-02.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-03.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-04.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-05.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-06.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-07.jpg +0 -0
- package/dist/media/images/demo-images/medium/landscape-08.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-01.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-02.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-03.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-04.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-05.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-06.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-07.jpg +0 -0
- package/dist/media/images/demo-images/small/landscape-08.jpg +0 -0
- package/dist/style.css +1 -1
- package/package.json +1 -7
- package/src/App.vue +162 -103
- package/src/assets/data/address-data.json +39 -39
- package/src/assets/data/image-gallery.json +8 -8
- package/src/assets/data/thumbnail-scroller.json +16 -16
- package/src/components/CmdAddressData.vue +111 -35
- package/src/components/CmdBox.vue +16 -9
- package/src/components/CmdBoxWrapper.vue +8 -5
- package/src/components/CmdFakeSelect.vue +14 -4
- package/src/components/CmdFormElement.vue +16 -3
- package/src/components/CmdPager.vue +1 -1
- package/src/components/CmdShareButtons.vue +16 -0
- package/src/components/CmdThumbnailScroller.vue +3 -1
- package/src/components/CmdUploadForm.vue +2 -2
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-landscape-large.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-blue-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-green-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-green-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-red-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-red-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-yellow-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/original/logo-cmd-yellow-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-green-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-green-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-red-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-red-portrait.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-yellow-landscape.jpg +0 -0
- package/dist/media/images/thumbnail-scroller/thumbnail/logo-cmd-yellow-portrait.jpg +0 -0
package/src/App.vue
CHANGED
@@ -69,6 +69,29 @@
|
|
69
69
|
</CmdWidthLimitationWrapper>
|
70
70
|
<!-- end width-limitation-wrapper (with table of contents) --------------------------------------------------------------------------------------------------------------------------------------------------->
|
71
71
|
|
72
|
+
<!-- begin address-data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
73
|
+
<a id="section-advanced-form-elements"></a>
|
74
|
+
<CmdWidthLimitationWrapper>
|
75
|
+
<h2 class="headline-demopage">Address Data</h2>
|
76
|
+
<div class="flex-container">
|
77
|
+
<CmdAddressData :addressData="addressData"
|
78
|
+
:linkGoogleMaps="false"
|
79
|
+
:cmdHeadline="{headlineText: 'With label texts', headlineLevel: 3}"
|
80
|
+
/>
|
81
|
+
<CmdAddressData :addressData="addressData"
|
82
|
+
:linkGoogleMaps="false"
|
83
|
+
:show-label-texts="false"
|
84
|
+
:cmdHeadline="{headlineText: 'Without label texts', headlineLevel: 3}"
|
85
|
+
/>
|
86
|
+
<CmdAddressData :addressData="addressData"
|
87
|
+
:linkGoogleMaps="false"
|
88
|
+
:show-label-icons="false"
|
89
|
+
:cmdHeadline="{headlineText: 'Without label icons', headlineLevel: 3}"
|
90
|
+
/>
|
91
|
+
</div>
|
92
|
+
</CmdWidthLimitationWrapper>
|
93
|
+
<!-- end address-data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
94
|
+
|
72
95
|
<!-- begin advanced form elements --------------------------------------------------------------------------------------------------------------------------------------------------->
|
73
96
|
<a id="section-advanced-form-elements"></a>
|
74
97
|
<CmdWidthLimitationWrapper>
|
@@ -794,94 +817,94 @@
|
|
794
817
|
<a id="section-boxes"></a>
|
795
818
|
<CmdWidthLimitationWrapper>
|
796
819
|
<h2 class="headline-demopage">Boxes</h2>
|
797
|
-
<CmdBoxWrapper :useFlexbox="true" :cmdHeadline="{headlineText: 'Boxes in BoxWrapper with flexbox', headlineLevel: 3}"
|
798
|
-
<CmdBox v-for="index in 14" :key="index" textBody="Content" :cmd-headline="{headlineText: 'Headline ' + index, headlineLevel: 4}"
|
820
|
+
<CmdBoxWrapper :useFlexbox="true" :cmdHeadline="{headlineText: 'Boxes in BoxWrapper with flexbox', headlineLevel: 3}">
|
821
|
+
<CmdBox v-for="index in 14" :key="index" textBody="Content" :cmd-headline="{headlineText: 'Headline ' + index, headlineLevel: 4}"/>
|
799
822
|
</CmdBoxWrapper>
|
800
823
|
<CmdBoxWrapper :useFlexbox="true" :cmdHeadline="{headlineText: 'Different examples of content-boxes (in BoxWrapper)', headlineLevel: 3}">
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
<p>
|
816
|
-
This content with paragraphs inside is placed inside the box-body.
|
817
|
-
</p>
|
818
|
-
<p>
|
819
|
-
<strong>Header, Content/Body and Footer of this box are given by slots.</strong>
|
820
|
-
</p>
|
821
|
-
</div>
|
822
|
-
</template>
|
823
|
-
<template v-slot:footer>
|
824
|
+
<CmdBox
|
825
|
+
:stretch-vertically="false"
|
826
|
+
:cmdHeadline="{headlineText: 'Box with cutoff text', headlineLevel: 4}"
|
827
|
+
textBody="This is a long text that is cutoff after a specific number of lines that can be defined by the property 'cutoffTextLines' and be toggled by a link below."
|
828
|
+
:cutoff-text-lines="4"
|
829
|
+
/>
|
830
|
+
<CmdBox :useSlots="['header', 'body', 'footer']">
|
831
|
+
<template v-slot:header>
|
832
|
+
<h4>
|
833
|
+
Texts given by slots
|
834
|
+
</h4>
|
835
|
+
</template>
|
836
|
+
<template v-slot:body>
|
837
|
+
<div class="padding">
|
824
838
|
<p>
|
825
|
-
|
839
|
+
This content with paragraphs inside is placed inside the box-body.
|
826
840
|
</p>
|
827
|
-
</template>
|
828
|
-
</CmdBox>
|
829
|
-
<CmdBox :useSlots="['header', 'body']">
|
830
|
-
<template v-slot:header>
|
831
|
-
<h4>
|
832
|
-
Box with links
|
833
|
-
</h4>
|
834
|
-
</template>
|
835
|
-
<template v-slot:body>
|
836
|
-
<ul class="navigation">
|
837
|
-
<li><a href="#" @click.prevent="">Link name 1</a></li>
|
838
|
-
<li><a href="#" @click.prevent="">Link name 2</a></li>
|
839
|
-
<li><a href="#" @click.prevent="">Link name 3</a></li>
|
840
|
-
<li><a href="#" @click.prevent="">Link name 4</a></li>
|
841
|
-
</ul>
|
842
|
-
</template>
|
843
|
-
<!-- will not be displayed, because useSlots-property does not contain 'footer' in array -->
|
844
|
-
<template v-slot:footer>
|
845
|
-
<p>
|
846
|
-
footer content
|
847
|
-
</p>
|
848
|
-
</template>
|
849
|
-
</CmdBox>
|
850
|
-
<CmdBox
|
851
|
-
:cmdHeadline="{headlineText: 'Collapsible box', headlineLevel: 4}"
|
852
|
-
:image="{src: 'media/images/content-images/landscape-medium.jpg', altText: 'ALternative text'}"
|
853
|
-
textBody="This is some text given by property."
|
854
|
-
:collapsible="true"
|
855
|
-
/>
|
856
|
-
<CmdBox :useSlots="['header', 'body']" :cmdHeadline="{headlineText: 'Collapsible box', headlineLevel: 4}" :collapsible="true">
|
857
|
-
<template v-slot:header>
|
858
|
-
<h4>
|
859
|
-
Collapsible box with image
|
860
|
-
</h4>
|
861
|
-
</template>
|
862
|
-
<template v-slot:body>
|
863
|
-
<img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text" />
|
864
|
-
</template>
|
865
|
-
</CmdBox>
|
866
|
-
<CmdBox :useSlots="['header', 'body', 'footer']">
|
867
|
-
<template v-slot:header>
|
868
|
-
<h4>
|
869
|
-
Box with image and content
|
870
|
-
</h4>
|
871
|
-
</template>
|
872
|
-
<template v-slot:body>
|
873
|
-
<img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
|
874
|
-
<div class="default-padding">
|
875
|
-
<h4>Headline</h4>
|
876
|
-
<p>This is some text information i.e a short-text for a news teaser.</p>
|
877
|
-
</div>
|
878
|
-
</template>
|
879
|
-
<template v-slot:footer>
|
880
841
|
<p>
|
881
|
-
<
|
842
|
+
<strong>Header, Content/Body and Footer of this box are given by slots.</strong>
|
882
843
|
</p>
|
883
|
-
</
|
884
|
-
</
|
844
|
+
</div>
|
845
|
+
</template>
|
846
|
+
<template v-slot:footer>
|
847
|
+
<p>
|
848
|
+
Footer content
|
849
|
+
</p>
|
850
|
+
</template>
|
851
|
+
</CmdBox>
|
852
|
+
<CmdBox :useSlots="['header', 'body']">
|
853
|
+
<template v-slot:header>
|
854
|
+
<h4>
|
855
|
+
Box with links
|
856
|
+
</h4>
|
857
|
+
</template>
|
858
|
+
<template v-slot:body>
|
859
|
+
<ul class="navigation">
|
860
|
+
<li><a href="#" @click.prevent="">Link name 1</a></li>
|
861
|
+
<li><a href="#" @click.prevent="">Link name 2</a></li>
|
862
|
+
<li><a href="#" @click.prevent="">Link name 3</a></li>
|
863
|
+
<li><a href="#" @click.prevent="">Link name 4</a></li>
|
864
|
+
</ul>
|
865
|
+
</template>
|
866
|
+
<!-- will not be displayed, because useSlots-property does not contain 'footer' in array -->
|
867
|
+
<template v-slot:footer>
|
868
|
+
<p>
|
869
|
+
footer content
|
870
|
+
</p>
|
871
|
+
</template>
|
872
|
+
</CmdBox>
|
873
|
+
<CmdBox
|
874
|
+
:cmdHeadline="{headlineText: 'Collapsible box', headlineLevel: 4}"
|
875
|
+
:image="{src: 'media/images/content-images/landscape-medium.jpg', altText: 'ALternative text'}"
|
876
|
+
textBody="This is some text given by property."
|
877
|
+
:collapsible="true"
|
878
|
+
/>
|
879
|
+
<CmdBox :useSlots="['header', 'body']" :cmdHeadline="{headlineText: 'Collapsible box', headlineLevel: 4}" :collapsible="true">
|
880
|
+
<template v-slot:header>
|
881
|
+
<h4>
|
882
|
+
Collapsible box with image
|
883
|
+
</h4>
|
884
|
+
</template>
|
885
|
+
<template v-slot:body>
|
886
|
+
<img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
|
887
|
+
</template>
|
888
|
+
</CmdBox>
|
889
|
+
<CmdBox :useSlots="['header', 'body', 'footer']">
|
890
|
+
<template v-slot:header>
|
891
|
+
<h4>
|
892
|
+
Box with image and content
|
893
|
+
</h4>
|
894
|
+
</template>
|
895
|
+
<template v-slot:body>
|
896
|
+
<img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
|
897
|
+
<div class="default-padding">
|
898
|
+
<h4>Headline</h4>
|
899
|
+
<p>This is some text information i.e a short-text for a news teaser.</p>
|
900
|
+
</div>
|
901
|
+
</template>
|
902
|
+
<template v-slot:footer>
|
903
|
+
<p>
|
904
|
+
<a href="#">Read more…</a>
|
905
|
+
</p>
|
906
|
+
</template>
|
907
|
+
</CmdBox>
|
885
908
|
</CmdBoxWrapper>
|
886
909
|
<h3>Product boxes</h3>
|
887
910
|
<div class="grid-container-create-columns">
|
@@ -896,7 +919,7 @@
|
|
896
919
|
</div>
|
897
920
|
</div>
|
898
921
|
<CmdBoxWrapper :boxesPerRow="[5, 2, 1]" :useRowViewAsDefault="true">
|
899
|
-
<CmdBox v-for="index in boxUserData.length" :key="index" boxType="user" :user="boxUserData[index - 1]" :cmdHeadline="{headlineLevel: 5}"
|
922
|
+
<CmdBox v-for="index in boxUserData.length" :key="index" boxType="user" :user="boxUserData[index - 1]" :cmdHeadline="{headlineLevel: 5}"/>
|
900
923
|
</CmdBoxWrapper>
|
901
924
|
</CmdWidthLimitationWrapper>
|
902
925
|
<!-- end boxes ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
@@ -938,18 +961,23 @@
|
|
938
961
|
<a id="section-fancybox"></a>
|
939
962
|
<CmdWidthLimitationWrapper>
|
940
963
|
<h2 class="headline-demopage">Fancybox</h2>
|
941
|
-
<
|
964
|
+
<h3>FancyBox with text</h3>
|
965
|
+
<a href="#" @click.prevent="showFancyBox('text','Some text', 'FancyBox with text')">Open FancyBox with text</a>
|
966
|
+
<h3>FancyBox with large image given by url</h3>
|
942
967
|
<a href="#"
|
943
|
-
@click.prevent="showFancyBox('url', 'media/images/
|
968
|
+
@click.prevent="showFancyBox('url', 'media/images/demo-images/large/landscape-01.jpg', 'FancyBox with large image given by url')"
|
944
969
|
title="Open FancyBox with large image given by url"
|
970
|
+
style="display: inline-flex;"
|
945
971
|
>
|
946
|
-
|
972
|
+
<img src="media/images/demo-images/small/landscape-01.jpg" alt="Alternative text"/>
|
947
973
|
</a>
|
974
|
+
<h3>FancyBox with large image given by property</h3>
|
948
975
|
<a href="#"
|
949
|
-
@click.prevent="showFancyBox('image', 'media/images/
|
976
|
+
@click.prevent="showFancyBox('image', 'media/images/demo-images/large/landscape-02.jpg', 'FancyBox with large image given by property')"
|
950
977
|
title="Open FancyBox with large image given by property"
|
978
|
+
style="display: inline-flex;;"
|
951
979
|
>
|
952
|
-
<img src="media/images/
|
980
|
+
<img src="media/images/demo-images/small/landscape-02.jpg" alt="Alternative text"/>
|
953
981
|
</a>
|
954
982
|
|
955
983
|
</CmdWidthLimitationWrapper>
|
@@ -968,11 +996,21 @@
|
|
968
996
|
<CmdWidthLimitationWrapper>
|
969
997
|
<h2 class="headline-demopage">Icons</h2>
|
970
998
|
<ul>
|
971
|
-
<li><span>Icon from local iconfont</span
|
972
|
-
|
973
|
-
|
974
|
-
<li><span>Icon from iconify-api (
|
975
|
-
|
999
|
+
<li><span>Icon from local iconfont</span>
|
1000
|
+
<CmdIcon iconClass="icon-home"/>
|
1001
|
+
</li>
|
1002
|
+
<li><span>Icon from iconify-api (icomoon-font)</span>
|
1003
|
+
<CmdIcon iconClass="icomoon-free:home"/>
|
1004
|
+
</li>
|
1005
|
+
<li><span>Icon from iconify-api (bootstrap-font)</span>
|
1006
|
+
<CmdIcon iconClass="bi:house-fill"/>
|
1007
|
+
</li>
|
1008
|
+
<li><span>Icon from iconify-api (material-design-font)</span>
|
1009
|
+
<CmdIcon iconClass="mdi:home"/>
|
1010
|
+
</li>
|
1011
|
+
<li><span>Icon from iconify-api (font-awesome-solid-font)</span>
|
1012
|
+
<CmdIcon iconClass="fa6-solid:house-chimney"/>
|
1013
|
+
</li>
|
976
1014
|
</ul>
|
977
1015
|
</CmdWidthLimitationWrapper>
|
978
1016
|
<!-- end icons ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
@@ -982,8 +1020,8 @@
|
|
982
1020
|
<CmdWidthLimitationWrapper>
|
983
1021
|
<h2 class="headline-demopage">Image</h2>
|
984
1022
|
<div class="flex-container">
|
985
|
-
<CmdImage :image="imageData[0].image" :figcaption="imageData[0].figcaption"
|
986
|
-
<CmdImage :image="imageData[1].image" :figcaption="imageData[1].figcaption"
|
1023
|
+
<CmdImage :image="imageData[0].image" :figcaption="imageData[0].figcaption"/>
|
1024
|
+
<CmdImage :image="imageData[1].image" :figcaption="imageData[1].figcaption"/>
|
987
1025
|
</div>
|
988
1026
|
</CmdWidthLimitationWrapper>
|
989
1027
|
<!-- end images ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
@@ -992,7 +1030,7 @@
|
|
992
1030
|
<a id="section-image-gallery"></a>
|
993
1031
|
<CmdWidthLimitationWrapper>
|
994
1032
|
<h2 class="headline-demopage">Image-Gallery</h2>
|
995
|
-
<CmdImageGallery :images="imageGalleryData"
|
1033
|
+
<CmdImageGallery :images="imageGalleryData"/>
|
996
1034
|
</CmdWidthLimitationWrapper>
|
997
1035
|
<!-- end image-gallery ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
998
1036
|
|
@@ -1012,7 +1050,7 @@
|
|
1012
1050
|
<CmdWidthLimitationWrapper>
|
1013
1051
|
<h2 class="headline-demopage">Login Form</h2>
|
1014
1052
|
<CmdForm :use-validation="true" :use-fieldset="false">
|
1015
|
-
<CmdLoginForm v-model="loginData" textLegendLoginForm="Please log in"
|
1053
|
+
<CmdLoginForm v-model="loginData" textLegendLoginForm="Please log in"/>
|
1016
1054
|
</CmdForm>
|
1017
1055
|
<p>LoginData: {{ loginData }}</p>
|
1018
1056
|
</CmdWidthLimitationWrapper>
|
@@ -1024,7 +1062,7 @@
|
|
1024
1062
|
<CmdWidthLimitationWrapper>
|
1025
1063
|
<h2 class="headline-demopage">List Of Links</h2>
|
1026
1064
|
<h3>Vertical</h3>
|
1027
|
-
<CmdListOfLinks :links="listOfLinksData"
|
1065
|
+
<CmdListOfLinks :links="listOfLinksData"/>
|
1028
1066
|
<h3>Horizontal (aligned left, with headline)</h3>
|
1029
1067
|
<CmdListOfLinks
|
1030
1068
|
orientation="horizontal"
|
@@ -1357,7 +1395,13 @@
|
|
1357
1395
|
<!-- end copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1358
1396
|
|
1359
1397
|
<!-- begin fancy-box ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1360
|
-
<CmdFancyBox
|
1398
|
+
<CmdFancyBox
|
1399
|
+
:show="fancyBoxCookieDisclaimer"
|
1400
|
+
:fancyboxOptions="{}"
|
1401
|
+
:allowEscapeKey="false"
|
1402
|
+
:cmdHeadline="{show: true, headlineText: 'Cookie Disclaimer', headlineLevel: 2}"
|
1403
|
+
ariaLabelText="Cookie Disclaimer"
|
1404
|
+
>
|
1361
1405
|
<!-- begin cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1362
1406
|
<CmdCookieDisclaimer
|
1363
1407
|
:cookieOptions="cookieDisclaimerData"
|
@@ -1579,11 +1623,25 @@ export default {
|
|
1579
1623
|
showError() {
|
1580
1624
|
alert("Error")
|
1581
1625
|
},
|
1582
|
-
showFancyBox(type, content) {
|
1626
|
+
showFancyBox(type, content, ariaLabelText) {
|
1583
1627
|
if (type === "text") {
|
1584
|
-
openFancyBox({
|
1628
|
+
openFancyBox({
|
1629
|
+
content: content,
|
1630
|
+
cmdHeadline: {
|
1631
|
+
show: true,
|
1632
|
+
headlineText: "Fancybox with text", headlineLevel: 3
|
1633
|
+
},
|
1634
|
+
ariaLabelText: ariaLabelText
|
1635
|
+
})
|
1585
1636
|
} else if (type === "url") {
|
1586
|
-
openFancyBox({
|
1637
|
+
openFancyBox({
|
1638
|
+
url: content,
|
1639
|
+
cmdHeadline: {
|
1640
|
+
show: true,
|
1641
|
+
headlineText: "Fancybox with image given by url", headlineLevel: 3
|
1642
|
+
},
|
1643
|
+
ariaLabelText: ariaLabelText
|
1644
|
+
})
|
1587
1645
|
} else if (type === "image") {
|
1588
1646
|
openFancyBox({
|
1589
1647
|
url: content,
|
@@ -1602,7 +1660,8 @@ export default {
|
|
1602
1660
|
show: true,
|
1603
1661
|
text: "figcaption"
|
1604
1662
|
}
|
1605
|
-
}
|
1663
|
+
},
|
1664
|
+
ariaLabelText: ariaLabelText
|
1606
1665
|
})
|
1607
1666
|
}
|
1608
1667
|
},
|
@@ -1,43 +1,43 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
2
|
+
"company": {
|
3
|
+
"iconClass": "icon-company",
|
4
|
+
"text": "Your company name"
|
5
|
+
},
|
6
|
+
"address": {
|
7
|
+
"iconClass": "icon-home",
|
8
|
+
"streetNo": "Your Street/No",
|
9
|
+
"zip": "Your zip",
|
10
|
+
"city": "Your city",
|
11
|
+
"miscInfo": "",
|
12
|
+
"country": "Your country",
|
13
|
+
"longitude": "0.0",
|
14
|
+
"latitude": "0.0",
|
15
|
+
"location": ""
|
16
|
+
},
|
17
|
+
"telephone": {
|
18
|
+
"iconClass": "icon-phone",
|
19
|
+
"text": "Your phone number"
|
20
|
+
},
|
21
|
+
"mobilephone": {
|
22
|
+
"iconClass": "icon-device-smartphone",
|
23
|
+
"text": "Your mobile phone number"
|
24
|
+
},
|
25
|
+
"fax": {
|
26
|
+
"iconClass": "icon-fax",
|
27
|
+
"text": "Your fax number"
|
28
|
+
},
|
29
|
+
"email": {
|
30
|
+
"iconClass": "icon-mail",
|
31
|
+
"text": "Your email address"
|
32
|
+
},
|
33
|
+
"website": {
|
34
|
+
"iconClass": "icon-globe",
|
35
|
+
"text": "Your web site"
|
36
|
+
},
|
37
|
+
"custom": {
|
38
|
+
"iconClass": "icon-questionmark-circle",
|
39
|
+
"text": "Custom data"
|
40
|
+
}
|
41
41
|
}
|
42
42
|
|
43
43
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
3
|
"image": {
|
4
|
-
"src": "media/images/
|
5
|
-
"srcImageLarge": "media/images/
|
4
|
+
"src": "media/images/demo-images/medium/landscape-01.jpg",
|
5
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-01.jpg",
|
6
6
|
"alt": "Alternative text 1"
|
7
7
|
},
|
8
8
|
"figcaption": {
|
@@ -14,8 +14,8 @@
|
|
14
14
|
},
|
15
15
|
{
|
16
16
|
"image": {
|
17
|
-
"src": "media/images/
|
18
|
-
"srcImageLarge": "media/images/
|
17
|
+
"src": "media/images/demo-images/medium/landscape-02.jpg",
|
18
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-02.jpg",
|
19
19
|
"alt": "Alternative text 2"
|
20
20
|
},
|
21
21
|
"figcaption": {
|
@@ -27,8 +27,8 @@
|
|
27
27
|
},
|
28
28
|
{
|
29
29
|
"image": {
|
30
|
-
"src": "media/images/
|
31
|
-
"srcImageLarge": "media/images/
|
30
|
+
"src": "media/images/demo-images/medium/landscape-03.jpg",
|
31
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-03.jpg",
|
32
32
|
"alt": "Alternative text 3"
|
33
33
|
},
|
34
34
|
"figcaption": {
|
@@ -40,8 +40,8 @@
|
|
40
40
|
},
|
41
41
|
{
|
42
42
|
"image": {
|
43
|
-
"src": "media/images/
|
44
|
-
"srcImageLarge": "media/images/
|
43
|
+
"src": "media/images/demo-images/medium/landscape-04.jpg",
|
44
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-04.jpg",
|
45
45
|
"alt": "Alternative text 4"
|
46
46
|
},
|
47
47
|
"figcaption": {
|
@@ -2,8 +2,8 @@
|
|
2
2
|
{
|
3
3
|
"image": {
|
4
4
|
"id": 1,
|
5
|
-
"srcImageSmall": "media/images/
|
6
|
-
"srcImageLarge": "media/images/
|
5
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-01.jpg",
|
6
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-01.jpg",
|
7
7
|
"alt": "Alternative Text 1"
|
8
8
|
},
|
9
9
|
"figcaption": {
|
@@ -16,8 +16,8 @@
|
|
16
16
|
{
|
17
17
|
"image": {
|
18
18
|
"id": 2,
|
19
|
-
"srcImageSmall": "media/images/
|
20
|
-
"srcImageLarge": "media/images/
|
19
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-02.jpg",
|
20
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-02.jpg",
|
21
21
|
"alt": "Alternative Text 2"
|
22
22
|
},
|
23
23
|
"figcaption": {
|
@@ -30,8 +30,8 @@
|
|
30
30
|
{
|
31
31
|
"image": {
|
32
32
|
"id": 3,
|
33
|
-
"srcImageSmall": "media/images/
|
34
|
-
"srcImageLarge": "media/images/
|
33
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-03.jpg",
|
34
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-03.jpg",
|
35
35
|
"alt": "Alternative Text 3"
|
36
36
|
},
|
37
37
|
"figcaption": {
|
@@ -44,8 +44,8 @@
|
|
44
44
|
{
|
45
45
|
"image": {
|
46
46
|
"id": 4,
|
47
|
-
"srcImageSmall": "media/images/
|
48
|
-
"srcImageLarge": "media/images/
|
47
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-04.jpg",
|
48
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-04.jpg",
|
49
49
|
"alt": "Alternative Text 4"
|
50
50
|
},
|
51
51
|
"figcaption": {
|
@@ -58,8 +58,8 @@
|
|
58
58
|
{
|
59
59
|
"image": {
|
60
60
|
"id": 5,
|
61
|
-
"srcImageSmall": "media/images/
|
62
|
-
"srcImageLarge": "media/images/
|
61
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-05.jpg",
|
62
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-05.jpg",
|
63
63
|
"alt": "Alternative Text 5"
|
64
64
|
},
|
65
65
|
"figcaption": {
|
@@ -72,8 +72,8 @@
|
|
72
72
|
{
|
73
73
|
"image": {
|
74
74
|
"id": 6,
|
75
|
-
"srcImageSmall": "media/images/
|
76
|
-
"srcImageLarge": "media/images/
|
75
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-06.jpg",
|
76
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-06.jpg",
|
77
77
|
"alt": "Alternative Text 6"
|
78
78
|
},
|
79
79
|
"figcaption": {
|
@@ -86,8 +86,8 @@
|
|
86
86
|
{
|
87
87
|
"image": {
|
88
88
|
"id": 7,
|
89
|
-
"srcImageSmall": "media/images/
|
90
|
-
"srcImageLarge": "media/images/
|
89
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-07.jpg",
|
90
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-07.jpg",
|
91
91
|
"alt": "Alternative Text 7"
|
92
92
|
},
|
93
93
|
"figcaption": {
|
@@ -100,8 +100,8 @@
|
|
100
100
|
{
|
101
101
|
"image": {
|
102
102
|
"id": 8,
|
103
|
-
"srcImageSmall": "media/images/
|
104
|
-
"srcImageLarge": "media/images/
|
103
|
+
"srcImageSmall": "media/images/demo-images/small/landscape-08.jpg",
|
104
|
+
"srcImageLarge": "media/images/demo-images/large/landscape-08.jpg",
|
105
105
|
"alt": "Alternative Text 8"
|
106
106
|
},
|
107
107
|
"figcaption": {
|