comand-component-library 3.1.43 → 3.1.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) 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 +47 -40
  4. package/src/App.vue +379 -136
  5. package/src/ComponentDocumentation.vue +156 -0
  6. package/src/ComponentLibraryHelp.vue +20 -0
  7. package/src/assets/data/accordion.json +21 -24
  8. package/src/assets/data/address-data.json +34 -0
  9. package/src/assets/data/bank-account-data.json +22 -0
  10. package/src/assets/data/box-product.json +14 -4
  11. package/src/assets/data/box-user.json +48 -22
  12. package/src/assets/data/breadcrumbs.json +11 -3
  13. package/src/assets/data/cookie-disclaimer.json +4 -4
  14. package/src/assets/data/fake-select-colors.json +4 -0
  15. package/src/assets/data/fake-select-countries.json +12 -12
  16. package/src/assets/data/fake-select-filter-options.json +14 -0
  17. package/src/assets/data/fake-select-options-with-icons.json +6 -12
  18. package/src/assets/data/fake-select-options.json +3 -3
  19. package/src/assets/data/list-of-links-section-anchors.json +23 -0
  20. package/src/assets/data/list-of-links-top-header-navigation.json +20 -0
  21. package/src/assets/data/list-of-links.json +42 -0
  22. package/src/assets/data/main-navigation.json +48 -0
  23. package/src/assets/data/multistep-form-progress-bar.json +33 -0
  24. package/src/assets/data/select-options.json +4 -0
  25. package/src/assets/data/{share-buttons.json → share-buttons-page-by-json.json} +8 -8
  26. package/src/assets/data/share-buttons-page-by-property.json +30 -0
  27. package/src/assets/data/switch-language.json +20 -0
  28. package/src/assets/data/table-large.json +1 -1
  29. package/src/assets/data/table-small.json +1 -1
  30. package/src/assets/styles/global-styles.scss +43 -14
  31. package/src/assets/styles/transitions.scss +21 -1
  32. package/src/components/CmdAccordion.vue +43 -42
  33. package/src/components/CmdAddressData.vue +124 -56
  34. package/src/components/CmdBackToTopButton.vue +3 -3
  35. package/src/components/CmdBankAccountData.vue +104 -0
  36. package/src/components/CmdBox.vue +253 -56
  37. package/src/components/CmdBoxSiteSearch.vue +138 -39
  38. package/src/components/CmdBoxWrapper.vue +206 -0
  39. package/src/components/CmdBreadcrumbs.vue +29 -13
  40. package/src/components/CmdCompanyLogo.vue +6 -4
  41. package/src/components/CmdCookieDisclaimer.vue +99 -75
  42. package/src/components/CmdCopyrightInformation.vue +1 -1
  43. package/src/components/CmdCustomHeadline.vue +93 -0
  44. package/src/components/CmdFakeSelect.vue +330 -66
  45. package/src/components/CmdFancyBox.vue +47 -33
  46. package/src/components/CmdForm.vue +107 -0
  47. package/src/components/CmdFormElement.vue +528 -83
  48. package/src/components/CmdFormFilters.vue +25 -11
  49. package/src/components/CmdGoogleMaps.vue +9 -3
  50. package/src/components/CmdImageGallery.vue +28 -5
  51. package/src/components/CmdImageZoom.vue +9 -1
  52. package/src/components/CmdListOfLinks.vue +169 -0
  53. package/src/components/CmdLoginForm.vue +146 -66
  54. package/src/components/CmdMainNavigation.vue +140 -42
  55. package/src/components/CmdMultipleSwitch.vue +33 -2
  56. package/src/components/CmdMultistepFormProgressBar.vue +60 -10
  57. package/src/components/CmdOpeningHours.vue +36 -10
  58. package/src/components/CmdPager.vue +7 -5
  59. package/src/components/CmdProgressBar.vue +21 -4
  60. package/src/components/CmdShareButtons.vue +64 -9
  61. package/src/components/CmdSiteHeader.vue +25 -12
  62. package/src/components/CmdSlideButton.vue +5 -2
  63. package/src/components/CmdSlideshow.vue +23 -7
  64. package/src/components/CmdSwitchButton.vue +15 -6
  65. package/src/components/CmdSwitchLanguage.vue +18 -10
  66. package/src/components/CmdSystemMessage.vue +30 -17
  67. package/src/components/CmdTable.vue +15 -7
  68. package/src/components/CmdTabs.vue +43 -3
  69. package/src/components/CmdThumbnailScroller.vue +22 -6
  70. package/src/components/CmdTooltip.vue +184 -11
  71. package/src/components/CmdUploadForm.vue +830 -176
  72. package/src/components/CmdWidthLimitationWrapper.vue +9 -6
  73. package/src/composables/event.js +8 -0
  74. package/src/composables/scrollspy.js +52 -0
  75. package/src/directives/focus.js +19 -0
  76. package/src/directives/telephone.js +1 -1
  77. package/src/documentation/commonProps.js +6 -0
  78. package/src/documentation/components/ComponentCode.vue +50 -0
  79. package/src/documentation/components/ComponentProperties.vue +237 -0
  80. package/src/documentation/components/ExampleSectionWrapper.vue +46 -0
  81. package/src/documentation/components/ViewCodeData.vue +113 -0
  82. package/src/documentation/data/CmdAccordionHelp.js +22 -0
  83. package/src/documentation/data/CmdAddressDataHelp.js +17 -0
  84. package/src/documentation/data/CmdBackToTopButtonHelp.js +3 -0
  85. package/src/documentation/data/CmdBankAccountDataHelp.js +8 -0
  86. package/src/documentation/data/CmdBoxHelp.js +45 -0
  87. package/src/documentation/data/CmdBoxSiteSearchHelp.js +11 -0
  88. package/src/documentation/data/CmdBreadcrumbsHelp.js +6 -0
  89. package/src/documentation/data/CmdCompanyLogoHelp.js +8 -0
  90. package/src/documentation/data/CmdCookieDisclaimerHelp.js +9 -0
  91. package/src/documentation/data/CmdCopyrightInformation.js +2 -0
  92. package/src/documentation/data/CmdCustomHeadlineHelp.js +8 -0
  93. package/src/documentation/data/CmdFakeSelectHelp.js +60 -0
  94. package/src/documentation/data/CmdFancyBoxHelp.js +7 -0
  95. package/src/documentation/data/CmdFooterNavigationHelp.js +5 -0
  96. package/src/documentation/data/CmdFormElementHelp.js +189 -0
  97. package/src/documentation/data/CmdFormFiltersHelp.js +6 -0
  98. package/src/documentation/data/CmdFormHelp.js +10 -0
  99. package/src/documentation/data/CmdGoogleMapsHelp.js +5 -0
  100. package/src/documentation/data/CmdImageGalleryHelp.js +5 -0
  101. package/src/documentation/data/CmdImageZoomHelp.js +6 -0
  102. package/src/documentation/data/CmdListOfLinksHelp.js +24 -0
  103. package/src/documentation/data/CmdLoginFormHelp.js +6 -0
  104. package/src/documentation/data/CmdMainNavigationHelp.js +7 -0
  105. package/src/documentation/data/CmdMultistepFormProgressBarHelp.js +6 -0
  106. package/src/documentation/data/CmdOpeningHoursHelp.js +10 -0
  107. package/src/documentation/data/CmdPagerHelp.js +7 -0
  108. package/src/documentation/data/CmdProgressBarHelp.js +13 -0
  109. package/src/documentation/data/CmdShareButtonsHelp.js +13 -0
  110. package/src/documentation/data/CmdSiteHeaderHelp.js +21 -0
  111. package/src/documentation/data/CmdSlideButtonHelp.js +10 -0
  112. package/src/documentation/data/CmdSlideshowHelp.js +7 -0
  113. package/src/documentation/data/CmdSwitchLanguageHelp.js +6 -0
  114. package/src/documentation/data/CmdSystemMessageHelp.js +32 -0
  115. package/src/documentation/data/CmdTableHelp.js +14 -0
  116. package/src/documentation/data/CmdTabsHelp.js +10 -0
  117. package/src/documentation/data/CmdThumbnailScrollerHelp.js +5 -0
  118. package/src/documentation/data/CmdTooltipHelp.js +13 -0
  119. package/src/documentation/data/CmdUploadFormHelp.js +17 -0
  120. package/src/documentation/data/CmdWidthLimitationWrapperHelp.js +7 -0
  121. package/src/documentation/data/componentsDescription.json +158 -0
  122. package/src/documentation/generated/CmdAccordionPropertyDescriptions.json +57 -0
  123. package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +32 -0
  124. package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +12 -0
  125. package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +34 -0
  126. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +91 -0
  127. package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +41 -0
  128. package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +47 -0
  129. package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +17 -0
  130. package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +27 -0
  131. package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +22 -0
  132. package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +22 -0
  133. package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +79 -0
  134. package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +62 -0
  135. package/src/documentation/generated/CmdFooterNavigationPropertyDescriptions.json +17 -0
  136. package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +178 -0
  137. package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +32 -0
  138. package/src/documentation/generated/CmdFormPropertyDescriptions.json +40 -0
  139. package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +7 -0
  140. package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +22 -0
  141. package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +12 -0
  142. package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +60 -0
  143. package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +90 -0
  144. package/src/documentation/generated/CmdMainNavigationPropertyDescriptions.json +62 -0
  145. package/src/documentation/generated/CmdMultipleSwitchPropertyDescriptions.json +52 -0
  146. package/src/documentation/generated/CmdMultistepFormProgressBarPropertyDescriptions.json +17 -0
  147. package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +42 -0
  148. package/src/documentation/generated/CmdPagerPropertyDescriptions.json +37 -0
  149. package/src/documentation/generated/CmdProgressBarPropertyDescriptions.json +32 -0
  150. package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +34 -0
  151. package/src/documentation/generated/CmdSiteHeaderPropertyDescriptions.json +27 -0
  152. package/src/documentation/generated/CmdSlideButtonPropertyDescriptions.json +25 -0
  153. package/src/documentation/generated/CmdSlideshowPropertyDescriptions.json +42 -0
  154. package/src/documentation/generated/CmdSwitchButtonPropertyDescriptions.json +79 -0
  155. package/src/documentation/generated/CmdSwitchLanguagePropertyDescriptions.json +7 -0
  156. package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +40 -0
  157. package/src/documentation/generated/CmdTablePropertyDescriptions.json +62 -0
  158. package/src/documentation/generated/CmdTabsPropertyDescriptions.json +27 -0
  159. package/src/documentation/generated/CmdThumbnailScrollerPropertyDescriptions.json +32 -0
  160. package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +17 -0
  161. package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +90 -0
  162. package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +41 -0
  163. package/src/documentation/generated/frameworkIcons.json +730 -0
  164. package/src/documentation/generated/logosIcons.json +110 -0
  165. package/src/documentation/tabs.js +46 -0
  166. package/src/documentation/views/ContainerPage.vue +237 -0
  167. package/src/documentation/views/HelpHome.vue +13 -0
  168. package/src/documentation/views/IconFont.vue +80 -0
  169. package/src/documentation/views/components/CmdAccordionHelp.vue +78 -0
  170. package/src/documentation/views/components/CmdAddressDataHelp.vue +65 -0
  171. package/src/documentation/views/components/CmdBackToTopButtonHelp.vue +62 -0
  172. package/src/documentation/views/components/CmdBankAccountDataHelp.vue +88 -0
  173. package/src/documentation/views/components/CmdBoxHelp.vue +137 -0
  174. package/src/documentation/views/components/CmdBoxSiteSearchHelp.vue +60 -0
  175. package/src/documentation/views/components/CmdBoxWrapperHelp.vue +111 -0
  176. package/src/documentation/views/components/CmdBreadcrumbsHelp.vue +51 -0
  177. package/src/documentation/views/components/CmdCompanyLogoHelp.vue +48 -0
  178. package/src/documentation/views/components/CmdCookieDisclaimerHelp.vue +105 -0
  179. package/src/documentation/views/components/CmdCustomHeadlineHelp.vue +53 -0
  180. package/src/documentation/views/components/CmdFakeSelectHelp.vue +175 -0
  181. package/src/documentation/views/components/CmdFancyBoxHelp.vue +79 -0
  182. package/src/documentation/views/components/CmdFormElementHelp.vue +412 -0
  183. package/src/documentation/views/components/CmdFormFiltersHelp.vue +69 -0
  184. package/src/documentation/views/components/CmdFormHelp.vue +41 -0
  185. package/src/documentation/views/components/CmdGoogleMapsHelp.vue +55 -0
  186. package/src/documentation/views/components/CmdImageGalleryHelp.vue +46 -0
  187. package/src/documentation/views/components/CmdImageZoomHelp.vue +34 -0
  188. package/src/documentation/views/components/CmdListOfLinksHelp.vue +64 -0
  189. package/src/documentation/views/components/CmdLoginFormHelp.vue +117 -0
  190. package/src/documentation/views/components/CmdMainNavigationHelp.vue +94 -0
  191. package/src/documentation/views/components/CmdMultistepFormProgressBarHelp.vue +49 -0
  192. package/src/documentation/views/components/CmdOpeningHoursHelp.vue +49 -0
  193. package/src/documentation/views/components/CmdPagerHelp.vue +57 -0
  194. package/src/documentation/views/components/CmdProgressBarHelp.vue +47 -0
  195. package/src/documentation/views/components/CmdShareButtonsHelp.vue +65 -0
  196. package/src/documentation/views/components/CmdSiteHeaderHelp.vue +72 -0
  197. package/src/documentation/views/components/CmdSlideButtonHelp.vue +90 -0
  198. package/src/documentation/views/components/CmdSlideshowHelp.vue +60 -0
  199. package/src/documentation/views/components/CmdSwitchLanguageHelp.vue +64 -0
  200. package/src/documentation/views/components/CmdSystemMessageHelp.vue +86 -0
  201. package/src/documentation/views/components/CmdTableHelp.vue +84 -0
  202. package/src/documentation/views/components/CmdTabsHelp.vue +52 -0
  203. package/src/documentation/views/components/CmdThumbnailScrollerHelp.vue +50 -0
  204. package/src/documentation/views/components/CmdTooltipHelp.vue +59 -0
  205. package/src/documentation/views/components/CmdUploadFormHelp.vue +59 -0
  206. package/src/documentation/views/components/CmdWidthLimitationWrapperHelp.vue +46 -0
  207. package/src/index.js +6 -3
  208. package/src/main.js +25 -15
  209. package/src/mixins/CmdAddressData/DefaultMessageProperties.js +17 -0
  210. package/src/mixins/CmdBox/DefaultMessageProperties.js +10 -0
  211. package/src/mixins/CmdFakeSelect/DefaultMessageProperties.js +9 -0
  212. package/src/mixins/CmdFormElement/DefaultMessageProperties.js +9 -0
  213. package/src/mixins/CmdImageGallery/DefaultMessageProperties.js +9 -0
  214. package/src/mixins/CmdSiteSearch/DefaultMessageProperties.js +14 -0
  215. package/src/mixins/CmdUploadForm/DefaultMessageProperties.js +53 -0
  216. package/src/mixins/FieldValidation.js +220 -0
  217. package/src/mixins/GlobalDefaultMessageProperties.js +15 -0
  218. package/src/mixins/I18n.js +56 -0
  219. package/src/mixins/Tooltip.js +26 -0
  220. package/src/router/index.js +67 -0
  221. package/src/utilities.js +3 -6
  222. package/src/utils/GetFileExtension.js +15 -0
  223. package/src/utils/common.js +6 -0
  224. package/src/utils/dom.js +8 -0
  225. package/src/utils/globalSequence.js +13 -0
  226. package/src/utils/string.js +8 -0
  227. package/src/assets/data/address.json +0 -13
  228. package/src/assets/data/footer-navigation.json +0 -38
  229. package/src/assets/data/languages.json +0 -31
  230. package/src/assets/data/multisteps.json +0 -27
  231. package/src/assets/data/navigation.json +0 -47
  232. package/src/assets/data/pager.json +0 -11
  233. package/src/assets/data/top-header-navigation.json +0 -27
  234. package/src/components/CmdFooterNavigation.vue +0 -71
  235. package/src/components/CmdMainHeadline.vue +0 -75
  236. package/src/components/CmdTopHeaderNavigation.vue +0 -88
@@ -0,0 +1,156 @@
1
+ <template>
2
+ <div id="component-documentation">
3
+ <div v-if="!isFrameMode()" class="nav-wrapper">
4
+ <CmdFormElement
5
+ element="input"
6
+ type="search"
7
+ id="component-search"
8
+ labelText="Search components"
9
+ placeholder="Search components"
10
+ :showLabel="false"
11
+ :showSearchButton="false"
12
+ fieldIconClass="icon-search"
13
+ v-model="filterComponents"
14
+ />
15
+ <CmdSystemMessage
16
+ v-if="!componentNames.length"
17
+ validationStatus="warning"
18
+ :systemMessage="'Cannot find component name including &quot;' + filterComponents + '&quot;'"
19
+ />
20
+ <nav class="flex-container">
21
+ <template v-for="startingLetter in startingLetters" :key="startingLetter">
22
+ <h4>{{ startingLetter }}</h4>
23
+ <ul>
24
+ <li v-for="componentName in componentNamesWithStartingLetter(startingLetter)" :key="componentName">
25
+ <router-link :to="{name: componentName}">{{ componentNameText(componentName) }}</router-link>
26
+ </li>
27
+ </ul>
28
+ </template>
29
+ </nav>
30
+ </div>
31
+ <router-view></router-view>
32
+ <CmdBackToTopButton/>
33
+ </div>
34
+ </template>
35
+
36
+ <script>
37
+ // import functions
38
+ import {isFrameMode} from "./utils/common"
39
+
40
+ // import components
41
+ import CmdBackToTopButton from "./components/CmdBackToTopButton"
42
+ import CmdFormElement from "./components/CmdFormElement"
43
+ import CmdSystemMessage from "./components/CmdSystemMessage"
44
+
45
+ // import list of components
46
+ import componentsDescription from "./documentation/data/componentsDescription.json"
47
+
48
+ export default {
49
+ components: {
50
+ CmdBackToTopButton,
51
+ CmdFormElement,
52
+ CmdSystemMessage
53
+ },
54
+ data() {
55
+ return {
56
+ filterComponents: ""
57
+ }
58
+ },
59
+ computed: {
60
+ componentNames() {
61
+ const filterTerm = this.filterComponents.trim().toLowerCase()
62
+
63
+ if(filterTerm) {
64
+ return Object.keys(componentsDescription).filter((componentName) => {
65
+ return componentName.toLowerCase().includes(filterTerm)
66
+ })
67
+ }
68
+ return Object.keys(componentsDescription)
69
+ },
70
+ startingLetters() {
71
+ const startingLetters = []
72
+ for (let i = 0; i < this.componentNames.length; i++) {
73
+ const componentStartingLetter = this.getComponentStartingLetter(this.componentNames[i])
74
+ if (!startingLetters.includes(componentStartingLetter)) {
75
+ startingLetters.push(componentStartingLetter)
76
+ }
77
+ }
78
+ return startingLetters.sort()
79
+ }
80
+ },
81
+ methods: {
82
+ isFrameMode() {
83
+ return isFrameMode()
84
+ },
85
+ componentNameText(componentName) {
86
+ return componentName.replace("Cmd", "")
87
+ },
88
+ componentNamesWithStartingLetter(startingLetter) {
89
+ const components = []
90
+ for (let i = 0; i < this.componentNames.length; i++) {
91
+ const componentStartingLetter = this.getComponentStartingLetter(this.componentNames[i])
92
+
93
+ if (startingLetter === componentStartingLetter) {
94
+ components.push(this.componentNames[i])
95
+ }
96
+ }
97
+ return components.sort()
98
+ },
99
+ getComponentStartingLetter(componentName) {
100
+ return this.componentNameText(componentName).slice(0, 1)
101
+ }
102
+ }
103
+ }
104
+ </script>
105
+
106
+ <style lang="scss">
107
+ #responsive-view {
108
+ resize: vertical;
109
+ }
110
+
111
+ #component-documentation {
112
+ display: flex;
113
+
114
+ .nav-wrapper {
115
+ background: var(--default-background-color);
116
+ flex: none;
117
+ border-right: var(--default-border);
118
+ box-shadow: .2rem 0 .4rem #999;
119
+ max-width: 20rem;
120
+
121
+ nav {
122
+ width: auto;
123
+ flex-direction: column;
124
+ gap: 0;
125
+ padding: var(--default-padding) 0;
126
+
127
+ h4 {
128
+ padding-left: var(--default-padding);
129
+ margin-bottom: 0;
130
+ }
131
+
132
+ ul {
133
+ flex-direction: column;
134
+ border: 0;
135
+ background: none;
136
+ border-top: var(--border-color);
137
+
138
+ li {
139
+ border: 0;
140
+ border-bottom: var(--default-border);
141
+
142
+ a.router-link-active {
143
+ background: var(--primary-color);
144
+ color: var(--pure-white);
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+
151
+ main {
152
+ width: 100%;
153
+ padding: calc(var(--default-padding) * 2);
154
+ }
155
+ }
156
+ </style>
@@ -0,0 +1,20 @@
1
+ <template>
2
+ <header>
3
+ <router-link :to="{ name: 'home'}">Home</router-link>
4
+ <router-link :to="{ name: 'components'}">Components</router-link>
5
+ <router-link :to="{ name: 'iconfont'}">Iconfont</router-link>
6
+ </header>
7
+ <div>
8
+ <router-view></router-view>
9
+ </div>
10
+ </template>
11
+
12
+ <script>
13
+ export default {
14
+ name: "ComponentLibraryHelp"
15
+ }
16
+ </script>
17
+
18
+ <style>
19
+
20
+ </style>
@@ -1,47 +1,44 @@
1
1
  {
2
2
  "accordionData1": [
3
3
  {
4
- "headline": "First",
5
- "icon": {
6
- "iconClass": "icon-globe",
7
- "tooltip": "Globe"
8
- },
9
- "content": "Text 1",
4
+ "headlineText": "First",
5
+ "headlineLevel": 5,
6
+ "iconClass": "icon-globe",
7
+ "content": "Content 1",
10
8
  "status": false
11
9
  },
12
10
  {
13
- "headline": "Second",
14
- "icon": {
15
- "iconClass": "icon-user-profile",
16
- "tooltip": "User profile"
17
- },
18
- "content": "Text 2",
11
+ "headlineText": "Second",
12
+ "headlineLevel": 5,
13
+ "iconClass": "icon-user-profile",
14
+ "content": "Content 2",
19
15
  "status": true
20
16
  },
21
17
  {
22
- "headline": "Third",
23
- "icon": {
24
- "iconClass": "icon-home",
25
- "tooltip": "Home"
26
- },
27
- "content": "Text 3",
18
+ "headlineText": "Third",
19
+ "headlineLevel": 5,
20
+ "iconClass": "icon-home",
21
+ "content": "Content 3",
28
22
  "status": false
29
23
  }
30
24
  ],
31
25
  "accordionData2": [
32
26
  {
33
- "headline": "First",
34
- "content": "Text 1",
27
+ "headlineText": "First",
28
+ "headlineLevel": 5,
29
+ "content": "Content 1",
35
30
  "status": false
36
31
  },
37
32
  {
38
- "headline": "Second",
39
- "content": "Text 2",
33
+ "headlineText": "Second",
34
+ "headlineLevel": 5,
35
+ "content": "Content 2",
40
36
  "status": false
41
37
  },
42
38
  {
43
- "headline": "Third",
44
- "content": "Text 3",
39
+ "headlineText": "Third",
40
+ "headlineLevel": 5,
41
+ "content": "Content 3",
45
42
  "status": false
46
43
  }
47
44
  ]
@@ -0,0 +1,34 @@
1
+ {
2
+ "company": {
3
+ "iconClass": "icon-home",
4
+ "value": "Your company name"
5
+ },
6
+ "address": {
7
+ "iconClass": "icon-home",
8
+ "streetNo": "Your Street/No",
9
+ "zip": "Your zip",
10
+ "city": "Your city",
11
+ "country": "Your country",
12
+ "longitude": "0.0",
13
+ "latitude": "0.0",
14
+ "location": ""
15
+ },
16
+ "telephone": {
17
+ "iconClass": "icon-phone",
18
+ "value": "Your phone number"
19
+ },
20
+ "mobilephone": {
21
+ "iconClass": "icon-device-smartphone",
22
+ "value": "Your mobile phone number"
23
+ },
24
+ "fax": {
25
+ "iconClass": "icon-fax",
26
+ "value": "Your fax number"
27
+ },
28
+ "email": {
29
+ "iconClass": "icon-mail",
30
+ "value": "Your email address"
31
+ }
32
+ }
33
+
34
+
@@ -0,0 +1,22 @@
1
+ [
2
+ {
3
+ "text": "Account owner:",
4
+ "value": "Company name",
5
+ "allowCopy": false
6
+ },
7
+ {
8
+ "text": "Bank:",
9
+ "value": "Name of bank",
10
+ "allowCopy": false
11
+ },
12
+ {
13
+ "text": "IBAN:",
14
+ "value": "DE 0536 0100 4306 4812 8438",
15
+ "allowCopy": true
16
+ },
17
+ {
18
+ "text": "SWIFT/BIC:",
19
+ "value": "PBNKDEFF",
20
+ "allowCopy": true
21
+ }
22
+ ]
@@ -1,7 +1,7 @@
1
1
  [
2
2
  {
3
3
  "name": "Product name 1",
4
- "img": {
4
+ "image": {
5
5
  "src": "media/images/thumbnail-scroller/original/logo-cmd-blue-landscape.jpg",
6
6
  "alt": "Alternative text"
7
7
  },
@@ -13,7 +13,7 @@
13
13
  },
14
14
  {
15
15
  "name": "Product name 2",
16
- "img": {
16
+ "image": {
17
17
  "src": "media/images/thumbnail-scroller/original/logo-cmd-green-landscape.jpg",
18
18
  "alt": "Alternative text"
19
19
  },
@@ -25,7 +25,7 @@
25
25
  },
26
26
  {
27
27
  "name": "Product name 3",
28
- "img": {
28
+ "image": {
29
29
  "src": "media/images/thumbnail-scroller/original/logo-cmd-red-landscape.jpg",
30
30
  "alt": "Alternative text"
31
31
  },
@@ -37,7 +37,7 @@
37
37
  },
38
38
  {
39
39
  "name": "Product name 4",
40
- "img": {
40
+ "image": {
41
41
  "src": "media/images/thumbnail-scroller/original/logo-cmd-yellow-landscape.jpg",
42
42
  "alt": "Alternative text"
43
43
  },
@@ -46,5 +46,15 @@
46
46
  "description": "short description text",
47
47
  "new": true,
48
48
  "discount": "-50%"
49
+ },
50
+ {
51
+ "name": "Product name 5",
52
+ "image": {
53
+ "src": "media/images/thumbnail-scroller/original/logo-cmd-yellow-landscape.jpg",
54
+ "alt": "Alternative text"
55
+ },
56
+ "articleNumber": "AB12349",
57
+ "price": 123.49,
58
+ "description": "short description text"
49
59
  }
50
60
  ]
@@ -1,88 +1,114 @@
1
1
  [
2
2
  {
3
3
  "name": "User name 1",
4
- "img": "",
4
+ "image": "",
5
5
  "profession": "User profession",
6
6
  "position": "User position",
7
7
  "description": "Some short description text for further information about the user",
8
8
  "links": [
9
9
  {
10
- "href": "mailto:",
10
+ "path": "mailto:",
11
11
  "target": "",
12
12
  "iconClass": "icon-mail",
13
- "title": "Send mail"
13
+ "tooltip": "Send mail"
14
14
  }
15
15
  ]
16
16
  },
17
17
  {
18
18
  "name": "User name 2",
19
- "img": "",
19
+ "image": "",
20
20
  "profession": "User profession",
21
21
  "position": "User position",
22
22
  "links": [
23
23
  {
24
- "href": "mailto:",
24
+ "path": "mailto:",
25
25
  "target": "",
26
26
  "iconClass": "icon-mail",
27
- "title": "Send mail"
27
+ "tooltip": "Send mail"
28
28
  },
29
29
  {
30
- "href": "http://www.comand-cms.com",
30
+ "path": "http://www.comand-cms.com",
31
31
  "target": "comand",
32
32
  "iconClass": "icon-globe",
33
- "title": "Visit website"
33
+ "tooltip": "Visit website"
34
34
  }
35
35
  ]
36
36
  },
37
37
  {
38
38
  "name": "User name 3",
39
- "img": "",
39
+ "image": "",
40
40
  "profession": "User profession",
41
41
  "position": "User position",
42
42
  "links": [
43
43
  {
44
- "href": "mailto:",
44
+ "path": "mailto:",
45
45
  "target": "",
46
46
  "iconClass": "icon-mail",
47
- "title": "Send mail"
47
+ "tooltip": "Send mail"
48
48
  },
49
49
  {
50
- "href": "http://www.comand-cms.com",
50
+ "path": "http://www.comand-cms.com",
51
51
  "target": "comand",
52
52
  "iconClass": "icon-globe",
53
- "title": "Visit website"
53
+ "tooltip": "Visit website"
54
54
  },
55
55
  {
56
- "href": "tel:",
56
+ "path": "tel:",
57
57
  "target": "",
58
58
  "iconClass": "icon-phone",
59
- "title": "Make call"
59
+ "tooltip": "Make call"
60
60
  }
61
61
  ]
62
62
  },
63
63
  {
64
64
  "name": "User name 4",
65
- "img": "",
65
+ "image": "",
66
66
  "profession": "User profession",
67
67
  "position": "User position",
68
68
  "links": [
69
69
  {
70
- "href": "mailto:",
70
+ "path": "mailto:",
71
71
  "target": "",
72
72
  "iconClass": "icon-mail",
73
- "title": "Send mail"
73
+ "tooltip": "Send mail"
74
74
  },
75
75
  {
76
- "href": "http://www.comand-cms.com",
76
+ "path": "http://www.comand-cms.com",
77
77
  "target": "comand",
78
78
  "iconClass": "icon-globe",
79
- "title": "Visit website"
79
+ "tooltip": "Visit website"
80
80
  },
81
81
  {
82
- "href": "tel:",
82
+ "path": "tel:",
83
83
  "target": "",
84
84
  "iconClass": "icon-phone",
85
- "title": "Make call"
85
+ "tooltip": "Make call"
86
+ }
87
+ ]
88
+ },
89
+ {
90
+ "name": "User name 5",
91
+ "image": "",
92
+ "profession": "User profession",
93
+ "position": "User position",
94
+ "links": [
95
+ {
96
+ "path": "mailto:",
97
+ "target": "",
98
+ "iconClass": "icon-mail",
99
+ "tooltip": "Send mail"
100
+ },
101
+ {
102
+ "path": "http://www.comand-cms.com",
103
+ "target": "comand",
104
+ "iconClass": "icon-globe",
105
+ "tooltip": "Visit website"
106
+ },
107
+ {
108
+ "path": "tel:",
109
+ "target": "",
110
+ "iconClass": "icon-phone",
111
+ "tooltip": "Make call"
86
112
  }
87
113
  ]
88
114
  }
@@ -8,10 +8,18 @@
8
8
  {
9
9
  "text": "Subpage",
10
10
  "type": "router",
11
- "to": {
12
- "path": "/subpage",
11
+ "route": {
12
+ "path": "/subpage"
13
+ }
14
+ },
15
+ {
16
+ "text": "Subsubpage",
17
+ "type": "router",
18
+ "route": {
19
+ "name": "subsubpage",
13
20
  "params": {
14
- "lang": "de"
21
+ "param1": "1",
22
+ "param2": "2"
15
23
  }
16
24
  }
17
25
  }
@@ -4,7 +4,7 @@
4
4
  "cookies": [
5
5
  {
6
6
  "id": "cookie-sessionid",
7
- "description": "Dieser Cookie ist für die Funktionsfähigkeit der Website notwendig.",
7
+ "description": "These cookies are required for functionality",
8
8
  "labelText": "SessionID",
9
9
  "checked": true,
10
10
  "status": "disabled",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  {
18
18
  "id": "cookie-google-recaptcha",
19
- "description": "Dieser Cookie gewährleistet, dass Formulare nicht von Bots verschickt werden können.",
19
+ "description": "This cookies prevents bots from sending forms",
20
20
  "labelText": "Google reCaptcha™",
21
21
  "checked": true,
22
22
  "status": "disabled",
@@ -34,7 +34,7 @@
34
34
  "cookies": [
35
35
  {
36
36
  "id": "cookie-google-maps",
37
- "description": "Ermöglicht die Nutzung von Google Maps™-Karten.",
37
+ "description": "These cookies enables the Google Map",
38
38
  "labelText": "Google Maps™",
39
39
  "checked": false,
40
40
  "linkDataPrivacy": {
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "id": "cookie-google-analytics",
49
- "description": "Dient zur anonymisierten Erfassung des Surfverhaltens zur Verbesserung der Websiteerfahrung.",
49
+ "description": "This cookie collects anonymous data for statistics and improvements",
50
50
  "labelText": "Google Analytics™",
51
51
  "checked": false,
52
52
  "linkDataPrivacy": {
@@ -1,4 +1,8 @@
1
1
  [
2
+ {
3
+ "value": "",
4
+ "text": "Please select..."
5
+ },
2
6
  {
3
7
  "value": "#ffffff",
4
8
  "text": "White"
@@ -3,22 +3,14 @@
3
3
  "value": "cn",
4
4
  "text": "China"
5
5
  },
6
- {
7
- "value": "de",
8
- "text": "Germany"
9
- },
10
- {
11
- "value": "en",
12
- "text": "United Kingdom"
13
- },
14
- {
15
- "value": "es",
16
- "text": "Spain"
17
- },
18
6
  {
19
7
  "value": "fr",
20
8
  "text": "France"
21
9
  },
10
+ {
11
+ "value": "de",
12
+ "text": "Germany"
13
+ },
22
14
  {
23
15
  "value": "it",
24
16
  "text": "Italy"
@@ -26,5 +18,13 @@
26
18
  {
27
19
  "value": "ru",
28
20
  "text": "Russia"
21
+ },
22
+ {
23
+ "value": "es",
24
+ "text": "Spain"
25
+ },
26
+ {
27
+ "value": "en",
28
+ "text": "United Kingdom"
29
29
  }
30
30
  ]
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "text": "Filter 1",
4
+ "value": "1"
5
+ },
6
+ {
7
+ "text": "Filter 2",
8
+ "value": "2"
9
+ },
10
+ {
11
+ "text": "Filter 3",
12
+ "value": "3"
13
+ }
14
+ ]
@@ -1,23 +1,17 @@
1
1
  [
2
2
  {
3
- "text": "Optionname 1",
3
+ "text": "Option 1",
4
4
  "value": "1",
5
- "icon": {
6
- "iconClass": "icon-home"
7
- }
5
+ "iconClass": "icon-mail"
8
6
  },
9
7
  {
10
- "text": "Optionname 2",
8
+ "text": "Option 2",
11
9
  "value": "2",
12
- "icon": {
13
- "iconClass": "icon-globe"
14
- }
10
+ "iconClass": "icon-globe"
15
11
  },
16
12
  {
17
- "text": "Optionname 3",
13
+ "text": "Option 3",
18
14
  "value": "3",
19
- "icon": {
20
- "iconClass": "icon-user-profile"
21
- }
15
+ "iconClass": "icon-phone"
22
16
  }
23
17
  ]
@@ -1,14 +1,14 @@
1
1
  [
2
2
  {
3
- "text": "Optionname 1",
3
+ "text": "Option 1",
4
4
  "value": "1"
5
5
  },
6
6
  {
7
- "text": "Optionname 2",
7
+ "text": "Option 2 with multiple words that are longer than the box",
8
8
  "value": "2"
9
9
  },
10
10
  {
11
- "text": "Optionname 3",
11
+ "text": "Option 3",
12
12
  "value": "3"
13
13
  }
14
14
  ]