comand-component-library 3.1.44 → 3.1.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) 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 -41
  4. package/src/App.vue +373 -135
  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 -79
  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 +143 -63
  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 +20 -3
  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 +10 -3
  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 +198 -92
  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 +7 -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 +5 -1
  216. package/src/mixins/FieldValidation.js +220 -0
  217. package/src/mixins/GlobalDefaultMessageProperties.js +15 -0
  218. package/src/mixins/Tooltip.js +26 -0
  219. package/src/router/index.js +67 -0
  220. package/src/utilities.js +3 -6
  221. package/src/utils/common.js +6 -0
  222. package/src/utils/dom.js +8 -0
  223. package/src/utils/globalSequence.js +13 -0
  224. package/src/utils/string.js +8 -0
  225. package/src/assets/data/address.json +0 -13
  226. package/src/assets/data/footer-navigation.json +0 -38
  227. package/src/assets/data/languages.json +0 -31
  228. package/src/assets/data/multisteps.json +0 -27
  229. package/src/assets/data/navigation.json +0 -47
  230. package/src/assets/data/pager.json +0 -11
  231. package/src/assets/data/top-header-navigation.json +0 -27
  232. package/src/components/CmdFooterNavigation.vue +0 -71
  233. package/src/components/CmdMainHeadline.vue +0 -75
  234. package/src/components/CmdTopHeaderNavigation.vue +0 -88
@@ -0,0 +1,189 @@
1
+ export default [
2
+ `<CmdFormElement
3
+ labelText="Input (type text):"
4
+ element="input"
5
+ type="text"
6
+ :status="formElementStatus"
7
+ placeholder="Type in text"
8
+ tooltipText="This is a tooltip"
9
+ :useCustomTooltip="false"
10
+ />`,
11
+ `<CmdFormElement
12
+ labelText="Input (type number):"
13
+ element="input"
14
+ type="number"
15
+ :status="formElementStatus"
16
+ placeholder="Type in number"
17
+ tooltipText="This is a tooltip"
18
+ :useCustomTooltip="false"
19
+ />`,
20
+ `<CmdFormElement
21
+ labelText="Input (type color):"
22
+ element="input"
23
+ type="color"
24
+ :status="formElementStatus"
25
+ tooltipText="This is a tooltip"
26
+ :useCustomTooltip="false"
27
+ />`,
28
+ `<CmdFormElement
29
+ labelText="Input (type date):"
30
+ element="input"
31
+ type="date"
32
+ :status="formElementStatus"
33
+ tooltipText="This is a tooltip"
34
+ :useCustomTooltip="false"
35
+ />`,
36
+ `<CmdFormElement
37
+ labelText="Input (type datetime-local):"
38
+ element="input"
39
+ type="datetime-local"
40
+ :status="formElementStatus"
41
+ tooltipText="This is a tooltip"
42
+ :useCustomTooltip="false"
43
+ />`,
44
+ `<CmdFormElement
45
+ labelText="Input (type password):"
46
+ element="input"
47
+ type="password"
48
+ :status="formElementStatus"
49
+ placeholder="Type in password"
50
+ tooltipText="This is a tooltip"
51
+ :useCustomTooltip="false"
52
+ />`,
53
+ `<CmdFormElement
54
+ labelText="Input (type file):"
55
+ element="input"
56
+ type="file"
57
+ :status="formElementStatus"
58
+ tooltipText="This is a tooltip"
59
+ :useCustomTooltip="false"
60
+ />`,
61
+ `<CmdFormElement
62
+ labelText="Input (type range):"
63
+ element="input"
64
+ type="range"
65
+ :status="formElementStatus"
66
+ :useCustomTooltip="false"
67
+ v-model="range"
68
+ />`,
69
+ `<CmdFormElement
70
+ :nativeButton="{
71
+ text: 'Submit',
72
+ icon: {
73
+ iconClass: 'icon-edit',
74
+ show: true
75
+ }
76
+ }"
77
+ element="button"
78
+ type="submit"
79
+ :status="formElementStatus"
80
+ :useCustomTooltip="false"
81
+ />`,
82
+ `<CmdFormElement
83
+ :nativeButton="{
84
+ icon: {
85
+ iconClass: 'icon-edit',
86
+ show: true,
87
+ tooltip: 'I am a tooltip'
88
+ }
89
+ }"
90
+ element="button"
91
+ type="button"
92
+ :status="formElementStatus"
93
+ :useCustomTooltip="false"
94
+ />`,
95
+ `<CmdFormElement
96
+ labelText="Input (type checkbox)"
97
+ element="input"
98
+ type="checkbox"
99
+ :status="formElementStatus"
100
+ tooltipText="This is a tooltip"
101
+ :useCustomTooltip="false"
102
+ v-model="checkbox"
103
+ />`,
104
+ `<CmdFormElement
105
+ labelText="Input #1 (type radio)"
106
+ element="input"
107
+ type="radio"
108
+ name="radio-group"
109
+ id="example-radio1"
110
+ :status="formElementStatus"
111
+ tooltipText="This is a tooltip"
112
+ :useCustomTooltip="false"
113
+ v-model="radio"
114
+ inputValue="Radiobutton1"
115
+ />
116
+ <CmdFormElement
117
+ labelText="Input #2 (type radio)"
118
+ element="input"
119
+ type="radio"
120
+ name="radio-group"
121
+ id="example-radio2"
122
+ :status="formElementStatus"
123
+ tooltipText="This is a tooltip"
124
+ :useCustomTooltip="false"
125
+ v-model="radio"
126
+ inputValue="Radiobutton2"
127
+ />`,
128
+ `<CmdFormElement
129
+ labelText="Input (type checkbox)"
130
+ element="input"
131
+ type="checkbox"
132
+ :replace-input-type="true"
133
+ :status="formElementStatus"
134
+ tooltipText="This is a tooltip"
135
+ :useCustomTooltip="false"
136
+ v-model="checkbox"
137
+ />`,
138
+ `<CmdFormElement
139
+ labelText="Input #1 (type radio)"
140
+ element="input"
141
+ type="radio"
142
+ :replace-input-type="true"
143
+ name="radio-group"
144
+ id="example-radio1"
145
+ :status="formElementStatus"
146
+ tooltipText="This is a tooltip"
147
+ :useCustomTooltip="false"
148
+ v-model="radio"
149
+ inputValue="Radiobutton1"
150
+ />
151
+ <CmdFormElement
152
+ labelText="Input #2 (type radio)"
153
+ element="input"
154
+ type="radio"
155
+ name="radio-group"
156
+ :replace-input-type="true"
157
+ id="example-radio2"
158
+ :status="formElementStatus"
159
+ tooltipText="This is a tooltip"
160
+ :useCustomTooltip="false"
161
+ v-model="radio"
162
+ inputValue="Radiobutton2"
163
+ />`,
164
+ `<CmdFormElement
165
+ labelText="Selectbox"
166
+ element="select"
167
+ required="required"
168
+ :status="formElementStatus"
169
+ v-model="select"
170
+ :selectOptions="selectOptions"
171
+ />`,
172
+ `<CmdFormElement
173
+ labelText="Datalist:"
174
+ element="input"
175
+ type="text"
176
+ :status="formElementStatus"
177
+ placeholder="Type in option"
178
+ :datalist="datalist"
179
+ tooltipText="This is a tooltip"
180
+ />`,
181
+ `<CmdFormElement
182
+ labelText="Textarea:"
183
+ element="textarea"
184
+ :status="formElementStatus"
185
+ placeholder="Type in text"
186
+ tooltipText="This is a tooltip"
187
+ v-model="textarea"
188
+ />`
189
+ ]
@@ -0,0 +1,6 @@
1
+ export default [
2
+ `<CmdFormFilters
3
+ v-model:selectedOptions="fakeSelectFilterOptions"
4
+ :selectedOptionsName="getOptionName"
5
+ />`
6
+ ]
@@ -0,0 +1,10 @@
1
+ export default [
2
+ `<CmdForm
3
+ :use-fieldset="true"
4
+ novalidate="novalidate"
5
+ text-legend="Legend">
6
+ <!-- begin slot-content -->
7
+ Form content (put form elements here)
8
+ <!-- end slot-content -->
9
+ </CmdForm>`
10
+ ]
@@ -0,0 +1,5 @@
1
+ export default [
2
+ `<CmdGoogleMaps
3
+ :address="coordinates(addressData.address)"
4
+ />`
5
+ ]
@@ -0,0 +1,5 @@
1
+ export default [
2
+ `<CmdImageGallery
3
+ :images="imageGallery"
4
+ />`
5
+ ]
@@ -0,0 +1,6 @@
1
+ export default [
2
+ `<CmdImageZoom
3
+ small-image-url="media/images/content-images/logo-business-edition-landscape.jpg"
4
+ large-image-url="media/images/content-images/logo-business-edition-landscape-large.jpg"
5
+ />`
6
+ ]
@@ -0,0 +1,24 @@
1
+ export default [
2
+ `<CmdListOfLinks
3
+ :links="listOfLinks"
4
+ :cmdCustomHeadline="{
5
+ text: 'Links',
6
+ level: 5
7
+ }"
8
+ />`,
9
+ `<CmdListOfLinks
10
+ :links="listOfLinks"
11
+ orientation="horizontal"
12
+ :cmdCustomHeadline="{
13
+ headlineText: 'Links',
14
+ headlineLevel: 5
15
+ }"
16
+ />`,
17
+ `<CmdListOfLinks
18
+ :links="listOfLinks"
19
+ :styleAsBox="true"
20
+ :cmdCustomHeadline="{
21
+ headlineText: 'Links',
22
+ headlineLevel: 5
23
+ }" />`
24
+ ]
@@ -0,0 +1,6 @@
1
+ export default [
2
+ `<CmdLoginForm
3
+ v-model="loginData"
4
+ v-focus
5
+ />`
6
+ ]
@@ -0,0 +1,7 @@
1
+ export default [
2
+ `<CmdMainNavigation
3
+ :stretchMainItems="false"
4
+ :persistOnMobile="false"
5
+ :navigationEntries="navigationEntries"
6
+ />`
7
+ ]
@@ -0,0 +1,6 @@
1
+ export default [
2
+ `<CmdMultistepFormProgressBar
3
+ :multisteps="multistepFormProgressBar"
4
+ @click="showPageMultistep = $event.index + 1"
5
+ />`
6
+ ]
@@ -0,0 +1,10 @@
1
+ export default [
2
+ `<CmdOpeningHours
3
+ :openingHours="openingHoursData"
4
+ :closed="true"
5
+ headline="Opening hours"
6
+ textOpenClosed="Closed right now!"
7
+ textHolidaysClosed="Closed on holidays"
8
+ textMiscInfo="Miscellaneous information"
9
+ />`
10
+ ]
@@ -0,0 +1,7 @@
1
+ export default [
2
+ `<CmdPager
3
+ :items="pagerData.length"
4
+ :itemsPerPage="1"
5
+ @click="showPagePager = $event"
6
+ />`
7
+ ]
@@ -0,0 +1,13 @@
1
+ export default [
2
+ `<CmdProgressBar
3
+ labelText="Progress Bar (with optional output):"
4
+ id="progress-bar"
5
+ max="100"
6
+ />`,
7
+ `<CmdProgressBar
8
+ labelText="Progress Bar without output:"
9
+ id="progress-bar"
10
+ max="100"
11
+ :showLoadingStatus="false"
12
+ />`
13
+ ]
@@ -0,0 +1,13 @@
1
+ export default [
2
+ `<CmdShareButtons
3
+ :share-buttons="shareButtonsJson"
4
+ :append-page="false"
5
+ />`,
6
+ `<CmdShareButtons
7
+ :share-buttons="shareButtonsPage"
8
+ page="some url"
9
+ />`,
10
+ `<CmdShareButtons
11
+ :share-buttons="shareButtonsPage"
12
+ />`
13
+ ]
@@ -0,0 +1,21 @@
1
+ export default [
2
+ `<CmdSiteHeader :mainNavigationEntries="navigationData" :sticky="true">
3
+ <!-- begin slot:top-header -->
4
+ <template v-slot:top-header>
5
+ <CmdTopHeaderNavigation
6
+ :topHeaderNavigationData="topHeaderNavigationData"
7
+ />
8
+ </template>
9
+ <!-- end slot:top-header -->
10
+ <!-- begin slot:logo -->
11
+ <template v-slot:logo>
12
+ <CmdCompanyLogo
13
+ :link="companyLogoData.link"
14
+ altText="CoManD Logo"
15
+ :pathDefaultLogo="require('@/assets/images/logo.svg')"
16
+ :pathDarkmodeLogo="require('@/assets/images/logo-darkmode.svg')"
17
+ />
18
+ </template>
19
+ <!-- end slot:logo -->
20
+ </CmdSiteHeader>`
21
+ ]
@@ -0,0 +1,10 @@
1
+ export default [
2
+ `<CmdSlideButton
3
+ slideButtonType="prev"
4
+ @click.prevent="showPrevItem"
5
+ />
6
+ <CmdSlideButton
7
+ slideButtonType="next"
8
+ @click.prevent="showNextItem"
9
+ />`
10
+ ]
@@ -0,0 +1,7 @@
1
+ export default [
2
+ `<CmdSlideshow
3
+ :slideshow-items="slideshowData"
4
+ :showCounter="true"
5
+ :autoplay="true"
6
+ />`
7
+ ]
@@ -0,0 +1,6 @@
1
+ export default [
2
+ `<CmdSwitchLanguage
3
+ :languages="switchLanguagesData"
4
+ @click="selectLanguage"
5
+ />`
6
+ ]
@@ -0,0 +1,32 @@
1
+ export default [
2
+ `<CmdSystemMessage
3
+ validationStatus="error"
4
+ :fullWidth="true"
5
+ systemMessage="This is an error message!">
6
+ </CmdSystemMessage>`,
7
+ `<CmdSystemMessage
8
+ validationStatus="warning"
9
+ :fullWidth="true"
10
+ systemMessage="This is a warning message!">
11
+ <!-- begin slot-content -->
12
+ <p>This is additional text!</p>
13
+ <!-- end slot-content -->
14
+ </CmdSystemMessage>`,
15
+ `<CmdSystemMessage
16
+ validationStatus="success"
17
+ :fullWidth="true"
18
+ systemMessage="This is a success message!">
19
+ <!-- begin slot-content -->
20
+ <ul>
21
+ <li>Additional information #1</li>
22
+ <li>Additional information #2</li>
23
+ <li>Additional information #3</li>
24
+ </ul>
25
+ <!-- end slot-content -->
26
+ </CmdSystemMessage>`,
27
+ `<CmdSystemMessage
28
+ validationStatus="info"
29
+ :fullWidth="true"
30
+ systemMessage="This is an info message!">
31
+ </CmdSystemMessage>`
32
+ ]
@@ -0,0 +1,14 @@
1
+ export default [
2
+ `<CmdTable
3
+ :collapsible="true"
4
+ :fullWidthOnDefault="false"
5
+ :userCanToggleWidth="true"
6
+ :table-data="tableSmall"
7
+ />`,
8
+ `<CmdTable
9
+ :collapsible="true"
10
+ :fullWidthOnDefault="false"
11
+ :userCanToggleWidth="true"
12
+ :table-data="tableLarge"
13
+ />`
14
+ ]
@@ -0,0 +1,10 @@
1
+ export default [
2
+ `<CmdTabs
3
+ :stretchTabs="false"
4
+ :tabs="tabs"
5
+ />`,
6
+ `<CmdTabs
7
+ :stretchTabs="true"
8
+ :tabs="tabs"
9
+ />`
10
+ ]
@@ -0,0 +1,5 @@
1
+ export default [
2
+ `<CmdThumbnailScroller
3
+ :thumbnail-scroller-items="thumbnailScroller"
4
+ />`
5
+ ]
@@ -0,0 +1,13 @@
1
+ export default [
2
+ `<CmdTooltip
3
+ related-id="hoverme"
4
+ >
5
+ Tooltip for hover
6
+ </CmdTooltip>`,
7
+ `<CmdTooltip
8
+ related-id="clickme"
9
+ :toggle-visibility-by-click="true"
10
+ >
11
+ Tooltip for click
12
+ </CmdTooltip>`
13
+ ]
@@ -0,0 +1,17 @@
1
+ export default [
2
+ `<CmdUploadForm
3
+ :cmdCustomHeadline="{headlineText: 'Select files to upload', headlineLevel: 5}"
4
+ :enableDragAndDrop="true"
5
+ :allowedFileExtensions="['gif','png','jpg']"
6
+ :allowMultipleFileUploads="true"
7
+ :uploadOptions="{url: 'some url'}"
8
+ />`,
9
+ `<CmdUploadForm
10
+ :advancedMode="false"
11
+ :maxFileUploadSize="5242880"
12
+ :enableDragAndDrop="true"
13
+ :allowedFileExtensions="['pdf']"
14
+ :allowMultipleFileUploads="false"
15
+ :uploadOptions="{url: 'some url'}"
16
+ />`
17
+ ]
@@ -0,0 +1,7 @@
1
+ export default [
2
+ `<CmdWidthLimitationWrapper>
3
+ <!-- begin slot-content -->
4
+ Content
5
+ <!-- end slot-content -->
6
+ </CmdWidthLimitationWrapper>`
7
+ ]
@@ -0,0 +1,158 @@
1
+ {
2
+ "CmdAddressData": {
3
+ "headline": "Address Data",
4
+ "shorttext": "Address data in a list and wrapped in a address-tag"
5
+ },
6
+ "CmdBackToTopButton": {
7
+ "headline": "Back-To-Top-Button",
8
+ "shorttext": "Button at the bottom of the page, to jump back to top"
9
+ },
10
+ "CmdBankAccountData": {
11
+ "headline": "Bank Account Data",
12
+ "shorttext": "Shows a list with bank data, which can be copied by click"
13
+ },
14
+ "CmdBox": {
15
+ "headline": "Box",
16
+ "shorttext": "Just a simple box for different types of content (like text, images, user-profiles, products etc.)",
17
+ "config": {
18
+ "usesSlot": true,
19
+ "innerComponents": ["CmdCustomHeadline"]
20
+ }
21
+ },
22
+ "CmdBoxSiteSearch": {
23
+ "headline": "Box Site Search",
24
+ "shorttext": "Box with search field to search the content"
25
+ },
26
+ "CmdBoxWrapper": {
27
+ "headline": "Box Wrapper",
28
+ "shorttext": "Box wrapper for different types of content arranged in a flex- or grid-container"
29
+ },
30
+ "CmdBreadcrumbs": {
31
+ "headline": "Breadcrumbs",
32
+ "shorttext": "Hierachic navigation, that shows the current page in relation to upper levels. Mostly placed at the top of the content."
33
+ },
34
+ "CmdCompanyLogo": {
35
+ "headline": "Company Logo",
36
+ "shorttext": "Main logo for the website, that can also be linked to the homepage. Also used in the site-header."
37
+ },
38
+ "CmdCookieDisclaimer": {
39
+ "headline": "Cookie Disclaimer",
40
+ "shorttext": "The required cookie disclaimer for a web sites. Must show basic information about the used cookies and the possibility to disable not necessary ones."
41
+ },
42
+ "CmdCustomHeadline": {
43
+ "headline": "Custom Headline",
44
+ "shorttext": "A custom headline, where the h-level can be defined and an optional pre-headline and icon can be set."
45
+ },
46
+ "CmdFakeSelect": {
47
+ "headline": "Fake Select",
48
+ "shorttext": "A dropdown, that looks like a native selectbox, but can also be filled with different option-types (i.e. checkboxes) or content."
49
+ },
50
+ "CmdFancyBox": {
51
+ "headline": "Fancy Box",
52
+ "shorttext": "The Fancy Box is a PopUp-Box similar to a modal, that can be filled with different content (i.e. image slider, print preview)."
53
+ },
54
+ "CmdForm": {
55
+ "headline": "Form",
56
+ "shorttext": "An empty form-wrapper with an optional fieldset and legend, which can be filled with form elements."
57
+ },
58
+ "CmdFormElement": {
59
+ "headline": "Form Elements",
60
+ "shorttext": "All types of form elements (.ie. inputs, selectboxes, checkboxes, radiobuttons etc.)."
61
+ },
62
+ "CmdFormFilters": {
63
+ "headline": "Form Filters",
64
+ "shorttext": "List of selected filters (without functionality) that can be set by a form element or a fake select."
65
+ },
66
+ "CmdGoogleMaps": {
67
+ "headline": "Google Maps",
68
+ "shorttext": "A Google Map in an iframe, that can be linked with an address."
69
+ },
70
+ "CmdImageGallery": {
71
+ "headline": "Image Gallery",
72
+ "shorttext": "A list if images arranged in a grid. The images can be enlarge in a fancybox."
73
+ },
74
+ "CmdImageZoom": {
75
+ "headline": "Image Zoom",
76
+ "shorttext": "Shows a movable section of a hovered image in a very large version."
77
+ },
78
+ "CmdListOfLinks": {
79
+ "headline": "List Of Links",
80
+ "shorttext": "Contains a list of links, mostly used for secondary content (above the header, inside the footer, for pdf-downloads)."
81
+ },
82
+ "CmdLoginForm": {
83
+ "headline": "Login Form",
84
+ "shorttext": "Shows a standard login form (with username- and password-field) and toggle form to prepare sending the password by email."
85
+ },
86
+ "CmdMainNavigation": {
87
+ "headline": "Main Navigation",
88
+ "shorttext": "This component should be us to contain the main navigation for a project. Is already wrapped in a nav-tag, that can contain up to three levels of links."
89
+ },
90
+ "CmdMultipleSwitch": {
91
+ "headline": "Multiple Switch",
92
+ "shorttext": "TEXT FEHLT"
93
+ },
94
+ "CmdMultistepFormProgressBar": {
95
+ "headline": "Multistep Form Progress Bar",
96
+ "shorttext": "A horizontal progress bar, mostly used for forms, that are separated over multiple pages."
97
+ },
98
+ "CmdOpeningHours": {
99
+ "headline": "Opening Hours",
100
+ "shorttext": "A list of opening hours with additional options."
101
+ },
102
+ "CmdPager": {
103
+ "headline": "Pager",
104
+ "shorttext": "Buttons to switch pages, mostly used for list (.i.e. search results) that are displayed of several pages."
105
+ },
106
+ "CmdProgressBar": {
107
+ "headline": "Progress Bar",
108
+ "shorttext": "Based on a native progress bar, this component can be used with a label and an output of the percentage loaded."
109
+ },
110
+ "CmdShareButtons": {
111
+ "headline": "Share Buttons",
112
+ "shorttext": "Based on a native progress bar, this component can be used with a label and an output of the percentage loaded."
113
+ },
114
+ "CmdSiteHeader": {
115
+ "headline": "Site Header",
116
+ "shorttext": "The header for the entire site. It can be configured with the main navigation inside or be filled by slot-elements."
117
+ },
118
+ "CmdSlideButton": {
119
+ "headline": "Slide Button",
120
+ "shorttext": "Button to slide content (.i.e. images, thumbnails, text) that is used in components like slideshow or thumbnail-scroller."
121
+ },
122
+ "CmdSlideshow": {
123
+ "headline": "Slideshow",
124
+ "shorttext": "This component is used as an image-slider. It also can load different images for different screen-resolutions."
125
+ },
126
+ "CmdSwitchLanguage": {
127
+ "headline": "Switch Language",
128
+ "shorttext": "A list with country flags, to symbolize switching languages on a web site."
129
+ },
130
+ "CmdSystemMessage": {
131
+ "headline": "System Message",
132
+ "shorttext": "A universal message, which can be used for global messages or form validation. It already contains the common cases 'error', 'warning', 'success' and 'info'."
133
+ },
134
+ "CmdTable": {
135
+ "headline": "Table",
136
+ "shorttext": "Based on a the native table, this table can also be configured to highlight rows or columns and has a default overflow-behavior for wide content."
137
+ },
138
+ "CmdTabs": {
139
+ "headline": "Tabs",
140
+ "shorttext": "Tabs to switch different section of content, that toggle visibility in frame below."
141
+ },
142
+ "CmdThumbnailScroller": {
143
+ "headline": "Thumbnail scroller",
144
+ "shorttext": "A horizontal image scroller for small images (thumbnails) that is also used inside if a group of images is enlarged with the fancybox."
145
+ },
146
+ "CmdTooltip": {
147
+ "headline": "Tooltip",
148
+ "shorttext": "A custom tooltip, that looks like the default tooltip (title) that appears on hovering elements. It also can be filled with customizable content and styled individually."
149
+ },
150
+ "CmdUploadForm": {
151
+ "headline": "Upload form",
152
+ "shorttext": "Can be used as a complex, configurable form or as a simple drag-and-drop area to prepare the upload of files."
153
+ },
154
+ "CmdWidthLimitationWrapper": {
155
+ "headline": "Width limitation wrapper",
156
+ "shorttext": "A simple wrapper without content, that can be used to wrap the main content and limit its width on large screens."
157
+ }
158
+ }