comand-component-library 3.3.7 → 3.3.8

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.
Files changed (48) hide show
  1. package/dist/comand-component-library.css +1 -1
  2. package/dist/comand-component-library.umd.min.js +1 -1
  3. package/package.json +2 -2
  4. package/src/App.vue +97 -28
  5. package/src/assets/data/address-data.json +8 -0
  6. package/src/assets/data/image-gallery.json +44 -20
  7. package/src/assets/data/image.json +28 -0
  8. package/src/assets/data/slideshow.json +68 -51
  9. package/src/assets/data/thumbnail-scroller.json +96 -40
  10. package/src/assets/styles/global-styles.scss +1 -1
  11. package/src/components/CmdAddressData.vue +45 -2
  12. package/src/components/CmdBox.vue +112 -62
  13. package/src/components/CmdCompanyLogo.vue +19 -2
  14. package/src/components/CmdFakeSelect.vue +2 -2
  15. package/src/components/CmdFancyBox.vue +41 -43
  16. package/src/components/CmdFormElement.vue +52 -42
  17. package/src/components/CmdFormFilters.vue +1 -1
  18. package/src/components/CmdHeadline.vue +29 -4
  19. package/src/components/CmdIcon.vue +4 -4
  20. package/src/components/CmdImage.vue +55 -0
  21. package/src/components/CmdImageGallery.vue +16 -15
  22. package/src/components/CmdImageZoom.vue +29 -13
  23. package/src/components/CmdInputGroup.vue +1 -2
  24. package/src/components/CmdListOfRequirements.vue +1 -1
  25. package/src/components/CmdLoginForm.vue +1 -1
  26. package/src/components/CmdMainNavigation.vue +3 -3
  27. package/src/components/CmdMultistepFormProgressBar.vue +9 -9
  28. package/src/components/CmdPager.vue +124 -88
  29. package/src/components/CmdShareButtons.vue +1 -1
  30. package/src/components/CmdSlideButton.vue +10 -3
  31. package/src/components/CmdSlideshow.vue +38 -31
  32. package/src/components/CmdSystemMessage.vue +32 -16
  33. package/src/components/CmdTable.vue +1 -1
  34. package/src/components/CmdTabs.vue +11 -11
  35. package/src/components/CmdThumbnailScroller.vue +15 -12
  36. package/src/components/CmdTooltip.vue +3 -3
  37. package/src/components/CmdUploadForm.vue +20 -20
  38. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +7 -0
  39. package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +3 -13
  40. package/src/documentation/generated/CmdHeadlinePropertyDescriptions.json +10 -0
  41. package/src/documentation/generated/CmdIconPropertyDescriptions.json +1 -1
  42. package/src/documentation/generated/CmdImagePropertyDescriptions.json +12 -0
  43. package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +4 -4
  44. package/src/documentation/generated/CmdPagerPropertyDescriptions.json +14 -9
  45. package/src/index.js +3 -1
  46. package/src/mixins/CmdAddressData/DefaultMessageProperties.js +5 -2
  47. package/src/mixins/CmdBox/DefaultMessageProperties.js +3 -1
  48. package/src/mixins/CmdPager/DefaultMessageProperties.js +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "3.3.7",
3
+ "version": "3.3.8",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "publish": "npm publish",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "clickout-event": "^1.1.2",
22
- "comand-frontend-framework": "^3.2.99",
22
+ "comand-frontend-framework": "^3.3.7",
23
23
  "core-js": "^3.20.1",
24
24
  "prismjs": "^1.27.0",
25
25
  "sass": "^1.54.9",
package/src/App.vue CHANGED
@@ -35,28 +35,29 @@
35
35
  <li><a href="#section-boxes">Boxes</a></li>
36
36
  <li><a href="#section-breadcrumbs">Breadcrumbs</a></li>
37
37
  <li><a href="#section-cookie-disclaimer">Cookie-Disclaimer</a></li>
38
- <li><a href="#section-custom-headline">Custom Headline</a></li>
38
+ <li><a href="#section-headlines">Headlines</a></li>
39
39
  <li><a href="#section-fancybox">Fancybox</a></li>
40
40
  </ul>
41
41
  <ul>
42
- <li><a href="#section-google-mapsn">Google-Maps&trade;</a></li>
42
+ <li><a href="#section-google-maps">Google-Maps&trade;</a></li>
43
43
  <li><a href="#section-icons">Icons</a></li>
44
+ <li><a href="#section-image">Image</a></li>
44
45
  <li><a href="#section-image-gallery">Image Gallery</a></li>
45
46
  <li><a href="#section-image-zoom">Image-Zoom</a></li>
46
47
  <li><a href="#section-list-of-links">List Of Links</a></li>
47
48
  <li><a href="#section-login-form">Login Form</a></li>
48
- <li><a href="#section-main-navigation">Main-Navigation</a></li>
49
49
  </ul>
50
50
  <ul>
51
+ <li><a href="#section-main-navigation">Main-Navigation</a></li>
51
52
  <li><a href="#section-multistep-form-progress-bar">Multistepform-Progressbar</a></li>
52
53
  <li><a href="#section-pager">Pager</a></li>
53
54
  <li><a href="#section-share-buttons">Share Buttons</a></li>
54
55
  <li><a href="#section-site-header">Site Header</a></li>
55
56
  <li><a href="#section-site-search">Site Search</a></li>
56
57
  <li><a href="#section-slideshow">Slideshow</a></li>
57
- <li><a href="#section-system-message">System-Message</a></li>
58
58
  </ul>
59
59
  <ul>
60
+ <li><a href="#section-system-message">System-Message</a></li>
60
61
  <li><a href="#section-tables">Tables</a></li>
61
62
  <li><a href="#section-tabs">Tabs</a></li>
62
63
  <li><a href="#section-thumbnail-scroller">Thumbnail-Scroller</a></li>
@@ -201,7 +202,7 @@
201
202
  :disabled="disabledStatus"
202
203
  />
203
204
  <CmdFormElement element="input"
204
- labelText="Label for passwordfield:"
205
+ labelText="Label for password-field:"
205
206
  type="password"
206
207
  minlength="8"
207
208
  maxlength="255"
@@ -800,8 +801,8 @@
800
801
  <CmdBox
801
802
  :stretch-vertically="false"
802
803
  :cmdHeadline="{headlineText: 'Box with cutoff text', headlineLevel: 4}"
803
- textBody="This is a long text that is cutoff after a specific number of lines that can be defined by the property 'cutoffTextLines'"
804
- :cutoff-text-lines="3"
804
+ 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."
805
+ :cutoff-text-lines="4"
805
806
  />
806
807
  <CmdBox :useSlots="['header', 'body', 'footer']">
807
808
  <template v-slot:header>
@@ -846,6 +847,12 @@
846
847
  </p>
847
848
  </template>
848
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
+ />
849
856
  <CmdBox :useSlots="['header', 'body']" :cmdHeadline="{headlineText: 'Collapsible box', headlineLevel: 4}" :collapsible="true">
850
857
  <template v-slot:header>
851
858
  <h4>
@@ -853,7 +860,7 @@
853
860
  </h4>
854
861
  </template>
855
862
  <template v-slot:body>
856
- <img src="media/images/content-images/logo-business-edition-landscape.jpg" alt="Alternative text" />
863
+ <img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text" />
857
864
  </template>
858
865
  </CmdBox>
859
866
  <CmdBox :useSlots="['header', 'body', 'footer']">
@@ -863,7 +870,7 @@
863
870
  </h4>
864
871
  </template>
865
872
  <template v-slot:body>
866
- <img src="media/images/content-images/logo-business-edition-landscape.jpg" alt="Alternative text"/>
873
+ <img src="media/images/content-images/landscape-medium.jpg" alt="Alternative text"/>
867
874
  <div class="default-padding">
868
875
  <h4>Headline</h4>
869
876
  <p>This is some text information i.e a short-text for a news teaser.</p>
@@ -909,18 +916,20 @@
909
916
  </CmdWidthLimitationWrapper>
910
917
  <!-- end cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
911
918
 
912
- <!-- begin custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
913
- <a id="section-custom-headline"></a>
919
+ <!-- begin headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
920
+ <a id="section-headlines"></a>
914
921
  <CmdWidthLimitationWrapper>
915
- <h2 class="headline-demopage">Headline</h2>
916
- <CmdHeadline icon-class="icon-home" pre-headline-text="Pre-headline" headlineText="Headline level 1" :headlineLevel="1"/>
922
+ <h2 class="headline-demopage">Headlines</h2>
923
+ <CmdHeadline :headlineIcon="{iconClass: 'icon-home'}" pre-headline-text="Pre-headline" headlineText="Headline level 1" :headlineLevel="1"/>
917
924
  <CmdHeadline headlineText="Headline level 2" :headlineLevel="2"/>
918
925
  <CmdHeadline headlineText="Headline level 3" :headlineLevel="3"/>
919
926
  <CmdHeadline headlineText="Headline level 4" :headlineLevel="4"/>
920
927
  <CmdHeadline headlineText="Headline level 5" :headlineLevel="5"/>
921
928
  <CmdHeadline headlineText="Headline level 6" :headlineLevel="6"/>
929
+ <CmdHeadline pre-headline-text="Pre-headline" headlineText="Headline level 1 (center)" text-align="center" :headlineLevel="1"/>
930
+ <CmdHeadline pre-headline-text="Pre-headline" headlineText="Headline level 1 (right)" text-align="right" :headlineLevel="1"/>
922
931
  </CmdWidthLimitationWrapper>
923
- <!-- end custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
932
+ <!-- end headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
924
933
 
925
934
  <!-- begin fancybox ------------------------------------------------------------------------------------------------------------------------------------------------------->
926
935
  <a id="section-fancybox"></a>
@@ -928,11 +937,18 @@
928
937
  <h2 class="headline-demopage">Fancybox</h2>
929
938
  <a href="#" @click.prevent="showFancyBox('text','Some text')">Open FancyBox with text</a>
930
939
  <a href="#"
931
- @click.prevent="showFancyBox('image', 'media/images/content-images/landscape-large.jpg', 'Alternative text', 'figcaption')"
932
- title="Open FancyBox with large image"
940
+ @click.prevent="showFancyBox('url', 'media/images/content-images/landscape-large.jpg')"
941
+ title="Open FancyBox with large image given by url"
933
942
  >
934
943
  <img src="media/images/content-images/landscape-small.jpg" alt="Alternative text"/>
935
944
  </a>
945
+ <a href="#"
946
+ @click.prevent="showFancyBox('image', 'media/images/content-images/landscape-large.jpg')"
947
+ title="Open FancyBox with large image given by property"
948
+ >
949
+ <img src="media/images/content-images/landscape-small.jpg" alt="Alternative text"/>
950
+ </a>
951
+
936
952
  </CmdWidthLimitationWrapper>
937
953
  <!-- end fancybox ------------------------------------------------------------------------------------------------------------------------------------------------------->
938
954
 
@@ -954,11 +970,21 @@
954
970
  <li><span>Icon from iconify-api (bootstrap-font)</span><CmdIcon iconClass="bi:house-fill" /></li>
955
971
  <li><span>Icon from iconify-api (material-design-font)</span><CmdIcon iconClass="mdi:home" /></li>
956
972
  <li><span>Icon from iconify-api (font-awesome-solid-font)</span><CmdIcon iconClass="fa6-solid:house-chimney" /></li>
957
-
958
973
  </ul>
959
974
  </CmdWidthLimitationWrapper>
960
975
  <!-- end icons ------------------------------------------------------------------------------------------------------------------------------------------------------->
961
976
 
977
+ <!-- begin images ------------------------------------------------------------------------------------------------------------------------------------------------------->
978
+ <a id="section-image"></a>
979
+ <CmdWidthLimitationWrapper>
980
+ <h2 class="headline-demopage">Image</h2>
981
+ <div class="flex-container">
982
+ <CmdImage :image="imageData[0].image" :figcaption="imageData[0].figcaption" />
983
+ <CmdImage :image="imageData[1].image" :figcaption="imageData[1].figcaption" />
984
+ </div>
985
+ </CmdWidthLimitationWrapper>
986
+ <!-- end images ------------------------------------------------------------------------------------------------------------------------------------------------------->
987
+
962
988
  <!-- begin image-gallery------------------------------------------------------------------------------------------------------------------------------------------------------->
963
989
  <a id="section-image-gallery"></a>
964
990
  <CmdWidthLimitationWrapper>
@@ -972,8 +998,16 @@
972
998
  <CmdWidthLimitationWrapper>
973
999
  <h2 class="headline-demopage">Image-Zoom</h2>
974
1000
  <CmdImageZoom
975
- small-image-url="media/images/content-images/logo-business-edition-landscape.jpg"
976
- large-image-url="media/images/content-images/logo-business-edition-landscape-large.jpg"
1001
+ :imageSmall="{
1002
+ src: 'media/images/content-images/logo-business-edition-landscape.jpg',
1003
+ alt: 'Alternative text',
1004
+ tooltip: 'Tooltip'
1005
+ }"
1006
+ :imageLarge="{
1007
+ src: 'media/images/content-images/logo-business-edition-landscape.jpg',
1008
+ alt: 'Alternative text',
1009
+ tooltip: 'Tooltip'
1010
+ }"
977
1011
  />
978
1012
  </CmdWidthLimitationWrapper>
979
1013
  <!-- end image-zoom ------------------------------------------------------------------------------------------------------------------------------------------------------->
@@ -1065,12 +1099,23 @@
1065
1099
  <a id="section-pager"></a>
1066
1100
  <CmdWidthLimitationWrapper>
1067
1101
  <h2 class="headline-demopage">Pager</h2>
1102
+ <h3>Link-view</h3>
1103
+ <div>
1104
+ <p>Page {{ showPagePager }}</p>
1105
+ </div>
1106
+ <CmdPager
1107
+ :pages="4"
1108
+ :itemsPerPage="1"
1109
+ @click="showPagePager = $event"
1110
+ />
1111
+ <h3>Button-view</h3>
1068
1112
  <div>
1069
1113
  <p>Page {{ showPagePager }}</p>
1070
1114
  </div>
1071
1115
  <CmdPager
1072
- :items="4"
1116
+ :pages="4"
1073
1117
  :itemsPerPage="1"
1118
+ link-type="button"
1074
1119
  @click="showPagePager = $event"
1075
1120
  />
1076
1121
  </CmdWidthLimitationWrapper>
@@ -1160,7 +1205,7 @@
1160
1205
  <CmdSystemMessage validationStatus="error"
1161
1206
  :fullWidth="true"
1162
1207
  systemMessage="This is an error message!"
1163
- :iconMessage="{iconClass: 'icon-error-circle'}">
1208
+ :iconMessage="{iconClass: 'icon-error-circle', show: true}">
1164
1209
  <ul>
1165
1210
  <li>Error #1</li>
1166
1211
  <li>Error #2</li>
@@ -1175,13 +1220,13 @@
1175
1220
  <CmdSystemMessage validationStatus="success"
1176
1221
  :fullWidth="true"
1177
1222
  systemMessage="This is a success message!"
1178
- :iconMessage="{iconClass: 'icon-check-circle'}">
1223
+ :iconMessage="{iconClass: 'icon-check-circle', show: true}">
1179
1224
  <p>This is additional text!</p>
1180
1225
  </CmdSystemMessage>
1181
1226
  <CmdSystemMessage validationStatus="info"
1182
1227
  :fullWidth="true"
1183
1228
  systemMessage="This is an info message!"
1184
- :iconMessage="{iconClass: 'icon-info-circle'}">
1229
+ :iconMessage="{iconClass: 'icon-info-circle', show: true}">
1185
1230
  <p>This is additional text!</p>
1186
1231
  </CmdSystemMessage>
1187
1232
  </CmdWidthLimitationWrapper>
@@ -1355,6 +1400,7 @@ import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
1355
1400
  import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
1356
1401
  import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
1357
1402
  import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
1403
+ import imageData from '@/assets/data/image.json'
1358
1404
  import imageGalleryData from '@/assets/data/image-gallery.json'
1359
1405
  import inputGroupRadiobuttonsData from '@/assets/data/input-group-radiobuttons.json'
1360
1406
  import inputGroupReplacedRadiobuttonsData from '@/assets/data/input-group-replaced-radiobuttons.json'
@@ -1390,6 +1436,7 @@ import CmdFormElement from "@/components/CmdFormElement.vue"
1390
1436
  import CmdFormFilters from "@/components/CmdFormFilters.vue"
1391
1437
  import CmdGoogleMaps from "./components/CmdGoogleMaps"
1392
1438
  import CmdIcon from "./components/CmdIcon"
1439
+ import CmdImage from "./components/CmdImage"
1393
1440
  import CmdImageGallery from "@/components/CmdImageGallery.vue"
1394
1441
  import CmdImageZoom from "@/components/CmdImageZoom.vue"
1395
1442
  import CmdInputGroup from "./components/CmdInputGroup"
@@ -1443,6 +1490,7 @@ export default {
1443
1490
  CmdFormElement,
1444
1491
  CmdGoogleMaps,
1445
1492
  CmdIcon,
1493
+ CmdImage,
1446
1494
  CmdImageGallery,
1447
1495
  CmdImageZoom,
1448
1496
  CmdInputGroup,
@@ -1588,6 +1636,7 @@ export default {
1588
1636
  fakeSelectOptionsData,
1589
1637
  fakeSelectOptionsWithIconsData,
1590
1638
  listOfLinksData,
1639
+ imageData,
1591
1640
  imageGalleryData,
1592
1641
  inputGroupReplacedRadiobuttonsData,
1593
1642
  inputGroupToggleSwitchRadiobuttonsData,
@@ -1625,11 +1674,31 @@ export default {
1625
1674
  showError() {
1626
1675
  alert("Error")
1627
1676
  },
1628
- showFancyBox(type, content, altText, figcaption) {
1629
- if (type === 'text') {
1630
- openFancyBox({content: content, cmdHeadline: {show: true, headlineText: "Fancybox headline", headlineLevel: 3}})
1631
- } else if (type === 'image') {
1632
- openFancyBox({url: content, altText: altText, cmdHeadline: {show: true, headlineText: "Fancybox headline", headlineLevel: 3}, figcaption: figcaption})
1677
+ showFancyBox(type, content) {
1678
+ if (type === "text") {
1679
+ openFancyBox({content: content, cmdHeadline: {show: true, headlineText: "Fancybox with text", headlineLevel: 3}})
1680
+ } else if (type === "url") {
1681
+ openFancyBox({url: content, cmdHeadline: {show: true, headlineText: "Fancybox with image given by url", headlineLevel: 3}})
1682
+ } else if (type === "image") {
1683
+ openFancyBox({
1684
+ url: content,
1685
+ cmdHeadline: {
1686
+ show: true,
1687
+ headlineText: "Fancybox with image given by property",
1688
+ headlineLevel: 3
1689
+ },
1690
+ cmdImage: {
1691
+ image: {
1692
+ src: "",
1693
+ alt: "Alternative text",
1694
+ tooltip: "This is a tooltip"
1695
+ },
1696
+ figcaption: {
1697
+ show: true,
1698
+ text: "figcaption"
1699
+ }
1700
+ }
1701
+ })
1633
1702
  }
1634
1703
  },
1635
1704
  getOptionName(option) {
@@ -29,6 +29,14 @@
29
29
  "email": {
30
30
  "iconClass": "icon-mail",
31
31
  "value": "Your email address"
32
+ },
33
+ "website": {
34
+ "iconClass": "icon-globe",
35
+ "value": "Your web site"
36
+ },
37
+ "custom": {
38
+ "iconClass": "icon-questionmark-circle",
39
+ "value": "Custom data"
32
40
  }
33
41
  }
34
42
 
@@ -1,30 +1,54 @@
1
1
  [
2
2
  {
3
- "imgId": 1,
4
- "srcImageSmall": "media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg",
5
- "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg",
6
- "alt": "Alternative text 1",
7
- "figcaption": "Figcaption 1"
3
+ "image": {
4
+ "src": "media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg",
5
+ "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg",
6
+ "alt": "Alternative text 1"
7
+ },
8
+ "figcaption": {
9
+ "show": true,
10
+ "position": "bottom",
11
+ "text": "Figcaption 1",
12
+ "textAlign": "center"
13
+ }
8
14
  },
9
15
  {
10
- "imgId": 2,
11
- "srcImageSmall": "media/images/thumbnail-scroller/thumbnail/logo-cmd-green-landscape.jpg",
12
- "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-green-landscape.jpg",
13
- "alt": "Alternative text 2",
14
- "figcaption": "Figcaption 2"
16
+ "image": {
17
+ "src": "media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg",
18
+ "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg",
19
+ "alt": "Alternative text 2"
20
+ },
21
+ "figcaption": {
22
+ "show": true,
23
+ "position": "bottom",
24
+ "text": "Figcaption 2",
25
+ "textAlign": "center"
26
+ }
15
27
  },
16
28
  {
17
- "imgId": 3,
18
- "srcImageSmall": "media/images/thumbnail-scroller/thumbnail/logo-cmd-red-landscape.jpg",
19
- "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-red-landscape.jpg",
20
- "alt": "Alternative text 3",
21
- "figcaption": "Figcaption 3"
29
+ "image": {
30
+ "src": "media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg",
31
+ "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg",
32
+ "alt": "Alternative text 3"
33
+ },
34
+ "figcaption": {
35
+ "show": true,
36
+ "position": "bottom",
37
+ "text": "Figcaption 3",
38
+ "textAlign": "center"
39
+ }
22
40
  },
23
41
  {
24
- "imgId": 4,
25
- "srcImageSmall": "media/images/thumbnail-scroller/thumbnail/logo-cmd-yellow-landscape.jpg",
26
- "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-yellow-landscape.jpg",
27
- "alt": "Alternative text 4",
28
- "figcaption": "Figcaption 4"
42
+ "image": {
43
+ "src": "media/images/thumbnail-scroller/thumbnail/logo-cmd-blue-landscape.jpg",
44
+ "srcImageLarge": "media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg",
45
+ "alt": "Alternative text 4"
46
+ },
47
+ "figcaption": {
48
+ "show": true,
49
+ "position": "bottom",
50
+ "text": "Figcaption 4",
51
+ "textAlign": "center"
52
+ }
29
53
  }
30
54
  ]
@@ -0,0 +1,28 @@
1
+ [
2
+ {
3
+ "image": {
4
+ "src": "media/images/content-images/landscape-large.jpg",
5
+ "alt": "Alternative text",
6
+ "tooltip": "Tooltip"
7
+ },
8
+ "figcaption": {
9
+ "show": true,
10
+ "position": "top",
11
+ "text": "Figcaption above image (centered)",
12
+ "textAlign": "center"
13
+ }
14
+ },
15
+ {
16
+ "image": {
17
+ "src": "media/images/content-images/landscape-large.jpg",
18
+ "alt": "Alternative text",
19
+ "tooltip": "Tooltip"
20
+ },
21
+ "figcaption": {
22
+ "show": true,
23
+ "position": "",
24
+ "text": "Figcaption below image (aligned right)",
25
+ "textAlign": "right"
26
+ }
27
+ }
28
+ ]
@@ -1,62 +1,79 @@
1
1
  [
2
2
  {
3
- "images": [
4
- {
5
- "maxWidth": 600,
6
- "imgPath": "/media/images/slideshow-images/small/slide1.jpg"
7
- },
8
- {
9
- "imgPath": "/media/images/slideshow-images/medium/slide1.jpg",
10
- "maxWidth": 1024
11
- },
12
- {
13
- "imgPath": "/media/images/slideshow-images/large/slide1.jpg"
14
- }
15
- ],
16
- "alt": "Alternativ Text 1",
17
- "href": "#anchor-section",
18
- "title": "Link titel",
19
- "target": "",
20
- "figcaption": "Figcaption DE 1"
3
+ "image": {
4
+ "srcLarge": "/media/images/slideshow-images/large/slide1.jpg",
5
+ "srcMedium": "/media/images/slideshow-images/medium/slide1.jpg",
6
+ "srcSmall": "/media/images/slideshow-images/small/slide1.jpg",
7
+ "alt": "Alternativ Text 1",
8
+ "tooltip": "Tooltip 1"
9
+ },
10
+ "figcaption": {
11
+ "text": "Figcaption DE 1",
12
+ "position": "bottom",
13
+ "textAlign": "center",
14
+ "show": true
15
+ },
16
+ "link": {
17
+ "href": "#-anchor-section",
18
+ "target": null
19
+ }
21
20
  },
22
21
  {
23
- "images": [
24
- {
25
- "imgPath": "/media/images/slideshow-images/large/slide2.jpg"
26
- }
27
- ],
28
- "imgPath": "/media/images/slideshow-images/large/slide2.jpg",
29
- "alt": "Alternativ Text 2",
30
- "href": "#anchor-section",
31
- "title": "Link titel",
32
- "target": "",
33
- "figcaption": "Figcaption DE 2"
22
+ "image": {
23
+ "srcLarge": "/media/images/slideshow-images/large/slide2.jpg",
24
+ "srcMedium": "/media/images/slideshow-images/medium/slide2.jpg",
25
+ "srcSmall": "/media/images/slideshow-images/small/slide2.jpg",
26
+ "alt": "Alternativ Text 2",
27
+ "tooltip": "Tooltip 2"
28
+ },
29
+ "figcaption": {
30
+ "text": "Figcaption DE 2",
31
+ "position": "bottom",
32
+ "textAlign": "center",
33
+ "show": true
34
+ },
35
+ "link": {
36
+ "href": "#-anchor-section",
37
+ "target": null
38
+ }
34
39
  },
35
40
  {
36
- "images": [
37
- {
38
- "imgPath": "/media/images/slideshow-images/large/slide3.jpg"
39
- }
40
- ],
41
- "imgPath": "/media/images/slideshow-images/large/slide3.jpg",
42
- "alt": "Alternativ Text 3",
43
- "href": "#anchor-section",
44
- "title": "Link titel",
45
- "target": "",
46
- "figcaption": "Figcaption DE 3"
41
+ "image": {
42
+ "srcLarge": "/media/images/slideshow-images/large/slide3.jpg",
43
+ "srcMedium": "/media/images/slideshow-images/medium/slide3.jpg",
44
+ "srcSmall": "/media/images/slideshow-images/small/slide3.jpg",
45
+ "alt": "Alternativ Text 3",
46
+ "tooltip": "Tooltip 3"
47
+ },
48
+ "figcaption": {
49
+ "text": "Figcaption DE 3",
50
+ "position": "bottom",
51
+ "textAlign": "center",
52
+ "show": true
53
+ },
54
+ "link": {
55
+ "href": "#-anchor-section",
56
+ "target": null
57
+ }
47
58
  },
48
59
  {
49
- "images": [
50
- {
51
- "imgPath": "/media/images/slideshow-images/large/slide4.jpg"
52
- }
53
- ],
54
- "imgPath": "/media/images/slideshow-images/large/slide4.jpg",
55
- "alt": "Alternativ Text 4",
56
- "href": "#anchor-section",
57
- "title": "Link titel",
58
- "target": "",
59
- "figcaption": "Figcaption DE 4"
60
+ "image": {
61
+ "srcLarge": "/media/images/slideshow-images/large/slide4.jpg",
62
+ "srcMedium": "/media/images/slideshow-images/medium/slide4.jpg",
63
+ "srcSmall": "/media/images/slideshow-images/small/slide4.jpg",
64
+ "alt": "Alternativ Text 4",
65
+ "tooltip": "Tooltip 4"
66
+ },
67
+ "figcaption": {
68
+ "text": "Figcaption DE 4",
69
+ "position": "bottom",
70
+ "textAlign": "center",
71
+ "show": true
72
+ },
73
+ "link": {
74
+ "href": "#-anchor-section",
75
+ "target": null
76
+ }
60
77
  }
61
78
  ]
62
79