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
package/src/App.vue CHANGED
@@ -16,11 +16,13 @@
16
16
  <ul>
17
17
  <li><a href="#section-accordion">Accordion</a></li>
18
18
  <li><a href="#section-advanced-form-elements">Advanced Form Elements</a></li>
19
+ <li><a href="#section-bank-account-data">Bank Account Data</a></li>
19
20
  <li><a href="#section-boxes">Boxes</a></li>
20
21
  <li><a href="#section-breadcrumbs">Breadcrumbs</a></li>
21
22
  <li><a href="#section-cookie-disclaimer">Cookie-Disclaimer</a></li>
22
23
  </ul>
23
24
  <ul>
25
+ <li><a href="#section-custom-headline">Custom Headline</a></li>
24
26
  <li><a href="#section-fancybox">Fancybox</a></li>
25
27
  <li><a href="#section-google-maps-integration">Google-Maps&trade;-Integration</a></li>
26
28
  <li><a href="#section-image-gallery">Image Gallery</a></li>
@@ -33,9 +35,9 @@
33
35
  <li><a href="#section-pager">Pager</a></li>
34
36
  <li><a href="#section-share-buttons">Share Buttons</a></li>
35
37
  <li><a href="#section-slideshow">Slideshow</a></li>
38
+ <li><a href="#section-system-message">System-Message</a></li>
36
39
  </ul>
37
40
  <ul>
38
- <li><a href="#section-system-message">System-Message</a></li>
39
41
  <li><a href="#section-tables">Tables</a></li>
40
42
  <li><a href="#section-tabs">Tabs</a></li>
41
43
  <li><a href="#section-thumbnail-scroller">Thumbnail-Scroller</a></li>
@@ -107,23 +109,24 @@
107
109
  <ul class="list-status">
108
110
  <li><a href="#" @click.prevent="formElementStatus = ''" :class="{'active' : formElementStatus === ''}"
109
111
  id="status-default">Default</a></li>
110
- <li><a href="#" @click.prevent="formElementStatus = 'error'"
112
+ <li class="error"><a href="#" @click.prevent="formElementStatus = 'error'"
111
113
  :class="{'active' : formElementStatus === 'error'}" id="status-error">Error</a></li>
114
+ <li><a href="#" @click.prevent="formElementStatus = 'warning'"
115
+ :class="{'active' : formElementStatus === 'warning'}" id="status-warning">Warning</a></li>
116
+ <li><a href="#" @click.prevent="formElementStatus = 'success'"
117
+ :class="{'active' : formElementStatus === 'success'}" id="status-success">Success</a></li>
118
+ <li><a href="#" @click.prevent="formElementStatus = 'info'"
119
+ :class="{'active' : formElementStatus === 'info'}" id="status-info">Info</a></li>
112
120
  <li><a href="#" @click.prevent="formElementStatus = 'disabled'"
113
121
  :class="{'active' : formElementStatus === 'disabled'}" id="status-disabled">Disabled</a></li>
114
122
  </ul>
115
123
  </div>
116
124
 
117
- <!-- begin formfilters -->
118
- <CmdFormFilters v-model:selectedOptions="selectedOptions"
119
- :selectedOptionsName="getOptionName"
120
- labelDeleteAllFilters="Delete all filters"
121
- iconClassDeleteAllFilters="icon-delete"
122
- iconClassDeleteFilter="icon-cancel"
123
- />
124
- <!-- end formfilters -->
125
+ <!-- begin cmd-form-filters -->
126
+ <CmdFormFilters v-model:selectedOptions="fakeSelectFilters" :selectedOptionsName="getOptionName" />
127
+ <!-- end cmd-form-filters -->
125
128
 
126
- <form method="get" novalidate="novalidate" id="advanced-form-elements">
129
+ <CmdForm :use-fieldset="false" id="advanced-form-elements" novalidate="novalidate">
127
130
  <fieldset class="grid-container-create-columns">
128
131
  <legend>Legend</legend>
129
132
  <h2>Form Element-Component</h2>
@@ -134,9 +137,11 @@
134
137
  :status="formElementStatus"
135
138
  placeholder="Type in text"
136
139
  tooltipText="This is a tooltip"
140
+ v-bind="{useCustomTooltip: false}"
137
141
  />
138
142
  <CmdFormElement labelText="Input for selectbox:"
139
143
  element="select"
144
+ required="required"
140
145
  :status="formElementStatus"
141
146
  v-model:value="selectedOption"
142
147
  :selectOptions="selectOptionsData"
@@ -157,6 +162,7 @@
157
162
  :status="formElementStatus"
158
163
  :selectData="fakeSelectOptionsData"
159
164
  v-model:value="fakeSelectDefault"
165
+ required
160
166
  defaultOptionName="Select an option:"
161
167
  />
162
168
  <CmdFakeSelect labelText="Default selectbox with icons:"
@@ -170,8 +176,20 @@
170
176
  :status="formElementStatus"
171
177
  :selectData="fakeSelectOptionsData"
172
178
  v-model:value="fakeSelectCheckbox"
179
+ defaultOptionName="Options:"
180
+ :required="true"
181
+ id="selectbox-with-checkboxes"
182
+ type="checkboxOptions"
183
+ :useCustomTooltip="true"
184
+ />
185
+ <CmdFakeSelect labelText="Selectbox with filters:"
186
+ :status="formElementStatus"
187
+ :selectData="fakeSelectFilterOptionsData"
188
+ v-model:value="fakeSelectFilters"
173
189
  defaultOptionName="Filters:"
190
+ id="selectbox-with-filters"
174
191
  type="checkboxOptions"
192
+ :useCustomTooltip="true"
175
193
  />
176
194
  <CmdFakeSelect labelText="Selectbox with slot-content:"
177
195
  :status="formElementStatus"
@@ -198,7 +216,7 @@
198
216
  :status="formElementStatus"
199
217
  :selectData="fakeSelectColorsData"
200
218
  v-model:value="selectedColor"
201
- defaultOptionName="Select color:"
219
+ required="required"
202
220
  type="color"
203
221
  />
204
222
  </div>
@@ -213,17 +231,17 @@
213
231
  <label for="range-slider" :class="formElementStatus">
214
232
  <span>Single-Slider (with in- and output):</span>
215
233
  <span class="flex-container no-flex">
216
- <input type="number" :class="formElementStatus" v-model="rangeValue"
217
- :disabled="formElementStatus === 'disabled'" min="0" max="100"/>
218
- <input type="range"
219
- class="range-slider"
220
- :class="{'disabled': formElementStatus === 'disabled'}"
221
- id="range-slider"
222
- v-model="rangeValue"
223
- :disabled="formElementStatus === 'disabled'"
224
- min="0"
225
- max="100"/>
226
- </span>
234
+ <input type="number" :class="formElementStatus" v-model="rangeValue"
235
+ :disabled="formElementStatus === 'disabled'" min="0" max="100"/>
236
+ <input type="range"
237
+ class="range-slider"
238
+ :class="{'disabled': formElementStatus === 'disabled'}"
239
+ id="range-slider"
240
+ v-model="rangeValue"
241
+ :disabled="formElementStatus === 'disabled'"
242
+ min="0"
243
+ max="100"/>
244
+ </span>
227
245
  </label>
228
246
  <!-- end slider -->
229
247
 
@@ -234,34 +252,34 @@
234
252
  <div class="label inline">
235
253
  <span>Label for Toggle-Switch-Checkbox with Switch-Label:</span>
236
254
  <span class="flex-container no-flex">
237
- <CmdSwitchButton
238
- type="checkbox"
239
- id="checkbox1"
240
- name="checkbox1"
241
- onLabel="Label on"
242
- offLabel="Label off"
243
- inputValue="checkbox1"
244
- :disabled="formElementStatus === 'disabled'"
245
- v-model:value="switchButtonCheckbox"/>
246
- <CmdSwitchButton
247
- type="checkbox"
248
- id="checkbox2"
249
- name="checkbox2"
250
- onLabel="Label on"
251
- offLabel="Label off"
252
- labelText="Labeltext"
253
- inputValue="checkbox2"
254
- :disabled="formElementStatus === 'disabled'"
255
- v-model:value="switchButtonCheckbox"/>
256
- <CmdSwitchButton
257
- type="checkbox"
258
- id="checkbox3"
259
- name="checkbox3"
260
- inputValue="checkbox3"
261
- labelText="Labeltext"
262
- :disabled="formElementStatus === 'disabled'"
263
- v-model:value="switchButtonCheckbox"/>
264
- </span>
255
+ <CmdSwitchButton
256
+ type="checkbox"
257
+ id="checkbox1"
258
+ name="checkbox1"
259
+ onLabel="Label on"
260
+ offLabel="Label off"
261
+ inputValue="checkbox1"
262
+ :disabled="formElementStatus === 'disabled'"
263
+ v-model:value="switchButtonCheckbox"/>
264
+ <CmdSwitchButton
265
+ type="checkbox"
266
+ id="checkbox2"
267
+ name="checkbox2"
268
+ onLabel="Label on"
269
+ offLabel="Label off"
270
+ labelText="Labeltext"
271
+ inputValue="checkbox2"
272
+ :disabled="formElementStatus === 'disabled'"
273
+ v-model:value="switchButtonCheckbox"/>
274
+ <CmdSwitchButton
275
+ type="checkbox"
276
+ id="checkbox3"
277
+ name="checkbox3"
278
+ inputValue="checkbox3"
279
+ labelText="Labeltext"
280
+ :disabled="formElementStatus === 'disabled'"
281
+ v-model:value="switchButtonCheckbox"/>
282
+ </span>
265
283
  <span>Current value: {{ switchButtonCheckbox }}</span>
266
284
  </div>
267
285
  <!-- end toggle-switch-radio with switch-label -->
@@ -269,17 +287,17 @@
269
287
  <div class="label inline">
270
288
  <span>Label for Toggle-Switch-Checkbox with Switch-Label (colored):</span>
271
289
  <span class="flex-container no-flex">
272
- <CmdSwitchButton
273
- type="checkbox"
274
- id="checkbox4"
275
- name="checkbox4"
276
- onLabel="Label on"
277
- offLabel="Label off"
278
- :colored="true"
279
- inputValue="checkbox3"
280
- :disabled="formElementStatus === 'disabled'"
281
- v-model:value="switchButtonCheckboxColored"/>
282
- </span>
290
+ <CmdSwitchButton
291
+ type="checkbox"
292
+ id="checkbox4"
293
+ name="checkbox4"
294
+ onLabel="Label on"
295
+ offLabel="Label off"
296
+ :colored="true"
297
+ inputValue="checkbox3"
298
+ :disabled="formElementStatus === 'disabled'"
299
+ v-model:value="switchButtonCheckboxColored"/>
300
+ </span>
283
301
  <span>Current value: {{ switchButtonCheckboxColored }}</span>
284
302
  </div>
285
303
  <!-- end toggle-switch-radio with switch-label -->
@@ -310,36 +328,123 @@
310
328
  v-model:value="switchButtonRadio"/>
311
329
  </span>
312
330
  </div>
331
+ <hr />
332
+ <h3>Toggle Switches with CmdFormElement</h3>
333
+ <CmdFormElement element="input"
334
+ type="checkbox"
335
+ id="toggle-switch-checkbox"
336
+ v-model:value="switchButtonCheckbox"
337
+ :displayLabelInline="true"
338
+ labelText="Labeltext for Single-SwitchButton (Checkbox)"
339
+ :toggleSwitch="true"
340
+ :status="formElementStatus"
341
+ />
342
+ <CmdFormElement element="input"
343
+ type="checkbox"
344
+ id="toggle-switch-checkbox"
345
+ v-model:value="switchButtonCheckbox"
346
+ :displayLabelInline="true"
347
+ labelText="Labeltext for SwitchButton (Checkbox)"
348
+ onLabel="Label on"
349
+ offLabel="Label off"
350
+ :toggleSwitch="true"
351
+ :status="formElementStatus"
352
+ />
353
+ <CmdFormElement element="input"
354
+ type="checkbox"
355
+ id="toggle-switch-checkbox-colored"
356
+ v-model:value="switchButtonCheckbox"
357
+ labelText="Labeltext for SwitchButton (Checkbox, colored)"
358
+ onLabel="Label on"
359
+ offLabel="Label off"
360
+ :colored="true"
361
+ :toggleSwitch="true"
362
+ :status="formElementStatus"
363
+ />
364
+ <CmdFormElement element="input"
365
+ type="radio"
366
+ name="radiogroup"
367
+ id="toggle-switch-radio1"
368
+ v-model:value="switchButtonCheckbox"
369
+ onLabel="Label on"
370
+ offLabel="Label off"
371
+ :colored="true"
372
+ :toggleSwitch="true"
373
+ :status="formElementStatus"
374
+ inputValue="radio1"
375
+ />
376
+ <CmdFormElement element="input"
377
+ type="radio"
378
+ name="radiogroup"
379
+ id="toggle-switch-radio2"
380
+ v-model:value="switchButtonCheckbox"
381
+ onLabel="Label on"
382
+ offLabel="Label off"
383
+ :colored="true"
384
+ :toggleSwitch="true"
385
+ :status="formElementStatus"
386
+ inputValue="radio2"
387
+ />
313
388
  <!-- end toggle-switch-radio with switch-label (colored) -->
314
389
 
315
390
  <h2>Inputfields in Columns</h2>
316
- <CmdFormElement element="input"
317
- required="required"
318
- labelText="Label for inputfield (with tooltip):"
319
- type="text"
320
- id="inputfield1"
321
- placeholder="This is placeholder text"
322
- v-model:value="inputField1"
323
- tooltipText="This is a tooltip!"
324
- :status="formElementStatus"/>
325
-
391
+ <div class="flex-container">
392
+ <CmdFormElement element="input"
393
+ labelText="Label for inputfield (with tooltip):"
394
+ type="text"
395
+ minlength="5"
396
+ id="inputfield1"
397
+ placeholder="This is placeholder text"
398
+ v-model:value="inputField1"
399
+ tooltipText="This is a tooltip!"
400
+ :status="formElementStatus"
401
+ />
402
+ <CmdFormElement element="input"
403
+ labelText="Label for inputfield (required):"
404
+ type="text"
405
+ required="required"
406
+ minlength="5"
407
+ id="inputfield-required"
408
+ placeholder="This is placeholder text"
409
+ v-model:value="inputFieldRequired"
410
+ tooltipText="This is a tooltip!"
411
+ :status="formElementStatus"
412
+ />
413
+ <CmdFormElement element="input"
414
+ labelText="Label for inputfield (with pattern):"
415
+ type="text"
416
+ id="inputfield-pattern"
417
+ placeholder="This is placeholder text"
418
+ pattern="/\d/"
419
+ v-model:value="inputFieldPattern"
420
+ tooltipText="This is a tooltip!"
421
+ :status="formElementStatus"
422
+ />
423
+ </div>
326
424
  <!-- begin inputfield in two columns -->
327
425
  <div class="flex-container">
328
426
  <CmdFormElement labelText="Label for inputfield (with icon):"
329
427
  element="input"
330
428
  type="text"
331
- id="inputfield2"
332
- iconClass="icon-user-profile"
429
+ id="inputfield-username"
430
+ fieldIconClass="icon-user-profile"
333
431
  placeholder="Type in username"
334
432
  tooltipText="This is a tooltip!"
335
- :status="formElementStatus"/>
433
+ maxlength="100"
434
+ v-model:value="inputUsername"
435
+ :status="formElementStatus"
436
+ />
336
437
  <CmdFormElement element="input"
337
- labelText="Label for inputfield (with icon):"
438
+ labelText="Label for passwordfield:"
338
439
  type="password"
339
- id="inputfield3"
340
- iconClass="icon-security-settings"
440
+ minlength="8"
441
+ maxlength="255"
442
+ id="inputfield-password"
443
+ fieldIconClass="icon-security-settings"
341
444
  placeholder="Type in password"
342
445
  tooltipText="This is a tooltip!"
446
+ :customRequirements="customRequirements"
447
+ v-model:value="inputPassword"
343
448
  :status="formElementStatus"/>
344
449
  </div>
345
450
  <!-- end inputfield in two columns -->
@@ -348,20 +453,35 @@
348
453
  labelText="Label (inline) for inputfield (number):"
349
454
  :displayLabelInline="true"
350
455
  type="number"
351
- id="inputfield4"
456
+ id="inputfield-number"
457
+ required="required"
458
+ min="0"
459
+ max="9"
460
+ v-model:value="inputNumber"
461
+ :customRequirements="[customRequirements[2]]"
352
462
  :status="formElementStatus"/>
353
463
  <CmdFormElement element="input"
354
464
  labelText="Label (inline) for inputfield (date):"
355
465
  :displayLabelInline="true"
356
466
  type="date"
357
- id="inputfield5"
467
+ id="inputfield-date"
468
+ v-model:value="inputDate"
358
469
  :status="formElementStatus"/>
359
470
  <CmdFormElement element="input"
360
471
  labelText="Label (inline) for inputfield (search):"
361
472
  :displayLabelInline="true"
362
473
  type="search"
363
- id="inputfield6"
474
+ id="inputfield-search"
364
475
  placeholder="Keyword(s)"
476
+ v-model:value="inputSearch"
477
+ :status="formElementStatus"/>
478
+ <CmdFormElement element="textarea"
479
+ labelText="Label for textarea:"
480
+ id="textarea"
481
+ minlength="1"
482
+ maxlength="100"
483
+ placeholder="Type in your message"
484
+ v-model:value="textarea"
365
485
  :status="formElementStatus"/>
366
486
  <div class="label inline">
367
487
  <span>Label for native checkboxes:</span>
@@ -369,18 +489,37 @@
369
489
  <CmdFormElement element="input"
370
490
  labelText="Label for checkbox with boolean"
371
491
  type="checkbox"
372
- id="inputfield7"
373
- v-model:value="checkboxStatus"
492
+ id="checkbox-with-boolean"
493
+ v-model:value="checkboxValue"
374
494
  :status="formElementStatus"/>
375
495
  <CmdFormElement element="input"
376
496
  labelText="Label for checkbox with value"
377
497
  v-model:value="checkboxValues"
378
- inputValue="checkboxValue"
498
+ inputValue="checkboxValue1"
379
499
  type="checkbox"
380
- id="inputfield8"
500
+ id="checkbox-with-value-1"
501
+ :status="formElementStatus"/>
502
+ <CmdFormElement element="input"
503
+ labelText="Label for checkbox with value"
504
+ v-model:value="checkboxValues"
505
+ inputValue="checkboxValue2"
506
+ type="checkbox"
507
+ id="checkbox-with-value-2"
381
508
  :status="formElementStatus"/>
382
509
  </div>
383
510
  </div>
511
+ <CmdFormElement element="input"
512
+ labelText="Label for (required) checkbox with boolean"
513
+ type="checkbox"
514
+ required="required"
515
+ id="checkbox-required-with-boolean"
516
+ v-model:value="checkboxRequiredValue"
517
+ :status="formElementStatus"/>
518
+ <p>
519
+ checkbox (required) with boolean: {{checkboxRequiredValue}}<br />
520
+ checkbox with boolean: {{checkboxValue}}<br />
521
+ checkboxes with values: {{checkboxValues}}
522
+ </p>
384
523
  <div class="label inline">
385
524
  <span>Label for Replaced Input-Type-Checkbox:</span>
386
525
  <div class="flex-container no-flex">
@@ -389,12 +528,13 @@
389
528
  type="checkbox"
390
529
  class="replace-input-type"
391
530
  id="inputfield9"
392
- v-model:value="replacedCheckboxStatus1"
531
+ v-model:value="replacedCheckboxValue"
532
+ inputValue="checkboxValue1"
393
533
  :status="formElementStatus"/>
394
534
  <CmdFormElement element="input"
395
535
  labelText="Label for replaced checkbox"
396
- v-model:value="replacedCheckboxStatus2"
397
- inputValue="checkboxValue"
536
+ v-model:value="replacedCheckboxValue"
537
+ inputValue="checkboxValue2"
398
538
  type="checkbox"
399
539
  class="replace-input-type"
400
540
  id="inputfield10"
@@ -410,7 +550,7 @@
410
550
  id="inputfield11"
411
551
  name="radiogroup"
412
552
  inputValue="radiobuttonValue1"
413
- v-model:value="radiobuttonStatus"
553
+ v-model:value="radiobuttonValue"
414
554
  :status="formElementStatus"/>
415
555
  <CmdFormElement element="input"
416
556
  labelText="Label for native radiobutton"
@@ -418,11 +558,13 @@
418
558
  id="inputfield12"
419
559
  name="radiogroup"
420
560
  inputValue="radiobuttonValue2"
421
- v-model:value="radiobuttonStatus"
422
- checked="checked"
561
+ v-model:value="radiobuttonValue"
423
562
  :status="formElementStatus"/>
424
563
  </div>
425
564
  </div>
565
+ <p>
566
+ Radiobuttons with values: {{radiobuttonValue}}
567
+ </p>
426
568
  <div class="label inline">
427
569
  <span>Label for Replaced Input-Type-Radio:</span>
428
570
  <div class="flex-container no-flex">
@@ -433,7 +575,7 @@
433
575
  id="inputfield13"
434
576
  name="replaced-radiogroup"
435
577
  inputValue="radiobuttonValue1"
436
- v-model:value="replacedRadiobuttonStatus"
578
+ v-model:value="replacedRadiobuttonValue"
437
579
  :status="formElementStatus"/>
438
580
  <CmdFormElement element="input"
439
581
  labelText="Label for replaced radiobutton"
@@ -442,8 +584,7 @@
442
584
  id="inputfield14"
443
585
  name="replaced-radiogroup"
444
586
  inputValue="radiobuttonValue2"
445
- v-model:value="replacedRadiobuttonStatus"
446
- checked="checked"
587
+ v-model:value="replacedRadiobuttonValue"
447
588
  :status="formElementStatus"/>
448
589
  </div>
449
590
  </div>
@@ -462,7 +603,7 @@
462
603
  <CmdMultipleSwitch labelText="Label for multiple-switch with radiobuttons:"
463
604
  :multipleSwitches="multipleSwitchRadioData"
464
605
  switchTypes="radio"
465
- switchNames="radiogroup"
606
+ switchNames="swtich-names"
466
607
  :status="formElementStatus"
467
608
  v-model:value="multipleSwitchRadio"/>
468
609
  <dl>
@@ -475,20 +616,33 @@
475
616
  <div class="button-wrapper">
476
617
  <small><sup>*</sup>values will not be submitted with the form!</small>
477
618
  <CmdFormElement element="button"
478
- buttonText="Submit form"
479
- type="button"
619
+ :nativeButton="{text: 'Submit-button from component'}"
620
+ type="submit"
480
621
  id="submitbutton"
481
622
  name="submitbutton"
482
623
  :status="formElementStatus"/>
483
- <button type="submit" :disabled="formElementStatus === 'disabled'"><span class="icon-check"></span><span>Submit form</span>
624
+ <button type="submit" :disabled="formElementStatus === 'disabled'">
625
+ <span class="icon-check"></span>
626
+ <span>Native submit-button</span>
484
627
  </button>
485
628
  </div>
486
- </form>
629
+ </CmdForm>
487
630
  </CmdWidthLimitationWrapper>
488
631
  <!-- end advanced form elements ----------------------------------------------------------------------------------------------------------------------------------------------------->
489
632
 
633
+ <!-- begin back to top button ----------------------------------------------------------------------------------------------------------------------------------------------------->
490
634
  <CmdBackToTopButton/>
635
+ <!-- end back to top button ----------------------------------------------------------------------------------------------------------------------------------------------------->
636
+
637
+ <!-- begin bank account data ----------------------------------------------------------------------------------------------------------------------------------------------------->
638
+ <a id="section-bank-account-data"></a>
639
+ <CmdWidthLimitationWrapper>
640
+ <h2 class="headline-demopage">Bank Account Data</h2>
641
+ <CmdBankAccountData :account-data="bankAccountData" :cmd-custom-headline="{ text: 'Bank Account', level: 3}" :allow-copy-by-click="true" />
642
+ </CmdWidthLimitationWrapper>
643
+ <!-- end bank account data ------------------------------------------------------------------------------------------------------------------------------------------------------->
491
644
 
645
+ <!-- begin boxes ------------------------------------------------------------------------------------------------------------------------------------------------------->
492
646
  <a id="section-boxes"></a>
493
647
  <CmdWidthLimitationWrapper>
494
648
  <h2 class="headline-demopage">Boxes</h2>
@@ -498,17 +652,17 @@
498
652
  <CmdBox>
499
653
  <template v-slot:header>
500
654
  <h3>
501
- Box with text
655
+ Headline for box
502
656
  </h3>
503
657
  </template>
504
658
  <template v-slot:body>
505
659
  <p class="padding">
506
- box body with paragraph
660
+ Box body with paragraph
507
661
  </p>
508
662
  </template>
509
663
  <template v-slot:footer>
510
664
  <p>
511
- footer content
665
+ Footer content
512
666
  </p>
513
667
  </template>
514
668
  </CmdBox>
@@ -563,12 +717,12 @@
563
717
  <img src="media/images/content-images/logo-business-edition-landscape.jpg" alt="Alternative text"/>
564
718
  <div class="default-padding">
565
719
  <h4>Headline</h4>
566
- <p>This some text i.e a short-text for news.</p>
720
+ <p>This is some text information i.e a short-text for a news teaser.</p>
567
721
  </div>
568
722
  </template>
569
723
  <template v-slot:footer>
570
724
  <p>
571
- <a href="#">Mehr erfahren&hellip;</a>
725
+ <a href="#">Read more&hellip;</a>
572
726
  </p>
573
727
  </template>
574
728
  </CmdBox>
@@ -589,13 +743,17 @@
589
743
  <h3>Box Site Search</h3>
590
744
  <CmdBoxSiteSearch :results="executeSearch()" @click="executeSearch($event)"/>
591
745
  </CmdWidthLimitationWrapper>
746
+ <!-- end boxes ------------------------------------------------------------------------------------------------------------------------------------------------------->
592
747
 
748
+ <!-- begin breadcrumbs ------------------------------------------------------------------------------------------------------------------------------------------------------->
593
749
  <a id="section-breadcrumbs"></a>
594
750
  <CmdWidthLimitationWrapper inner-component="div">
595
751
  <h2 class="headline-demopage">Breadcrumbs</h2>
596
752
  <CmdBreadcrumbs :breadcrumbLinks="breadcrumbData" breadcrumbLabel="You are here:"/>
597
753
  </CmdWidthLimitationWrapper>
754
+ <!-- end breadcrumbs ------------------------------------------------------------------------------------------------------------------------------------------------------->
598
755
 
756
+ <!-- begin cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
599
757
  <a id="section-cookie-disclaimer"></a>
600
758
  <CmdWidthLimitationWrapper>
601
759
  <h2 class="headline-demopage">Cookie Disclaimer</h2>
@@ -603,17 +761,33 @@
603
761
  <span>Open Cookie Disclaimer</span>
604
762
  </a>
605
763
  </CmdWidthLimitationWrapper>
764
+ <!-- end cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
606
765
 
766
+ <!-- begin custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
767
+ <a id="section-custom-headline"></a>
768
+ <CmdWidthLimitationWrapper>
769
+ <h2 class="headline-demopage">Custom Headline</h2>
770
+ <CmdCustomHeadline icon-class="icon-home" pre-headline="Pre-headline" :headline="{ text: 'Headline level 1', level: '1'}"/>
771
+ <CmdCustomHeadline :headline="{ text: 'Headline level 2', level: '2'}"/>
772
+ <CmdCustomHeadline :headline="{ text: 'Headline level 3', level: '3'}"/>
773
+ <CmdCustomHeadline :headline="{ text: 'Headline level 4', level: '4'}"/>
774
+ <CmdCustomHeadline :headline="{ text: 'Headline level 5', level: '5'}"/>
775
+ <CmdCustomHeadline :headline="{ text: 'Headline level 6', level: '6'}"/>
776
+ </CmdWidthLimitationWrapper>
777
+ <!-- end custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
778
+
779
+ <!-- begin fancybox ------------------------------------------------------------------------------------------------------------------------------------------------------->
607
780
  <a id="section-fancybox"></a>
608
781
  <CmdWidthLimitationWrapper>
609
782
  <h2 class="headline-demopage">Fancybox</h2>
610
783
  <a href="#" @click.prevent="showFancyBox('text','Some text')">Open FancyBox with text</a>
611
784
  <a href="#"
612
- @click.prevent="showFancyBox('image', 'media/images/content-images/logo-business-edition-landscape.jpg')"
785
+ @click.prevent="showFancyBox('image', 'media/images/content-images/logo-business-edition-landscape.jpg', 'Alternative text')"
613
786
  title="Open FancyBox with large image">
614
787
  <img src="media/images/content-images/logo-business-edition-landscape.jpg" alt="Alternative text"/>
615
788
  </a>
616
789
  </CmdWidthLimitationWrapper>
790
+ <!-- end fancybox ------------------------------------------------------------------------------------------------------------------------------------------------------->
617
791
 
618
792
  <a id="section-google-maps-integration"></a>
619
793
  <CmdWidthLimitationWrapper>
@@ -637,16 +811,10 @@
637
811
  <a id="section-login-form"></a>
638
812
  <CmdWidthLimitationWrapper>
639
813
  <h2 class="headline-demopage">Login Form</h2>
640
- <CmdLoginForm v-model="loginData" />
814
+ <CmdLoginForm v-model="loginData" v-focus />
641
815
  <p>LoginData: {{loginData}}</p>
642
816
  </CmdWidthLimitationWrapper>
643
817
 
644
- <a id="section-main-headline"></a>
645
- <CmdWidthLimitationWrapper>
646
- <h2 class="headline-demopage">Main Headline</h2>
647
- <CmdMainHeadline icon-class="icon-home" pre-headline="Pre-headline" main-headline="Main headline"/>
648
- </CmdWidthLimitationWrapper>
649
-
650
818
  <a id="section-main-navigation"></a>
651
819
  <CmdWidthLimitationWrapper>
652
820
  <h2 class="headline-demopage">Main Navigation</h2>
@@ -694,8 +862,10 @@
694
862
  <a id="section-system-message"></a>
695
863
  <CmdWidthLimitationWrapper>
696
864
  <h2 class="headline-demopage">System Message</h2>
697
- <CmdSystemMessage status="error" :fullWidth="true" message="This is an error message!"
698
- iconClass="icon-cancel">
865
+ <CmdSystemMessage status="error"
866
+ :fullWidth="true"
867
+ message="This is an error message!"
868
+ :iconMessage="{iconClass: 'icon-error-circle'}">
699
869
  <ul>
700
870
  <li>Error #1</li>
701
871
  <li>Error #2</li>
@@ -706,11 +876,11 @@
706
876
  <p>This is additional text!</p>
707
877
  </CmdSystemMessage>
708
878
  <CmdSystemMessage status="success" :fullWidth="true" message="This is a success message!"
709
- iconClass="icon-check">
879
+ :iconMessage="{iconClass: 'icon-check-circle'}">
710
880
  <p>This is additional text!</p>
711
881
  </CmdSystemMessage>
712
882
  <CmdSystemMessage status="info" :fullWidth="true" message="This is an info message!"
713
- iconClass="icon-info">
883
+ :iconMessage="{iconClass: 'icon-info-circle'}">
714
884
  <p>This is additional text!</p>
715
885
  </CmdSystemMessage>
716
886
  </CmdWidthLimitationWrapper>
@@ -752,13 +922,43 @@
752
922
  <a id="section-thumbnail-scroller"></a>
753
923
  <CmdWidthLimitationWrapper>
754
924
  <h2 class="headline-demopage">Thumbnail-Scroller</h2>
755
- <CmdThumbnailScroller :thumbnail-scroller-items="thumbnailScrollerData"/>
925
+ <CmdThumbnailScroller :thumbnail-scroller-items="thumbnailScrollerData" />
926
+ </CmdWidthLimitationWrapper>
927
+
928
+ <a id="section-tooltip"></a>
929
+ <CmdWidthLimitationWrapper>
930
+ <h2 class="headline-demopage">Tooltip</h2>
931
+ <p>
932
+ <a href="#" @click.prevent id="hoverme">Hover me!</a><br />
933
+ <a href="#" @click.prevent id="clickme" title="Native tooltip">Click me!</a>
934
+ </p>
935
+ <CmdTooltip related-id="hoverme">
936
+ Tooltip for hover
937
+ </CmdTooltip>
938
+ <CmdTooltip related-id="clickme" :toggle-visibility-by-click="true">
939
+ Tooltip for click
940
+ </CmdTooltip>
756
941
  </CmdWidthLimitationWrapper>
757
942
 
758
943
  <a id="section-upload-form"></a>
759
944
  <CmdWidthLimitationWrapper>
760
945
  <h2 class="headline-demopage">Upload-Form</h2>
761
- <CmdUploadForm headline="Select files to upload" :enableDragAndDrop="true" :allowedFileTypes="['image/jpeg']"/>
946
+ <h3>Simple mode</h3>
947
+ <CmdUploadForm headline="Select files to upload"
948
+ :enableDragAndDrop="true"
949
+ :allowedFileExtensions="['jpg']"
950
+ :allowMultipleFileUploads="true"
951
+ :advancedMode="false"
952
+ @error="showError"
953
+ :uploadOptions="{url: 'http://localhost:8888'}"
954
+ />
955
+ <h3>Advanced mode</h3>
956
+ <CmdUploadForm headline="Select files to upload"
957
+ :enableDragAndDrop="true"
958
+ :allowedFileExtensions="['jpg']"
959
+ :allowMultipleFileUploads="true"
960
+ :uploadOptions="{url: 'http://localhost:8888'}"
961
+ />
762
962
  </CmdWidthLimitationWrapper>
763
963
  </main>
764
964
 
@@ -795,6 +995,7 @@
795
995
  // import used example data
796
996
  import accordionData from '@/assets/data/accordion.json'
797
997
  import addressData from '@/assets/data/address.json'
998
+ import bankAccountData from '@/assets/data/bank-account-data.json'
798
999
  import boxUserData from '@/assets/data/box-user.json'
799
1000
  import boxProductData from '@/assets/data/box-product.json'
800
1001
  import breadcrumbData from '@/assets/data/breadcrumbs.json'
@@ -802,15 +1003,16 @@ import companyLogoData from '@/assets/data/company-logo.json'
802
1003
  import cookieDisclaimerData from '@/assets/data/cookie-disclaimer.json'
803
1004
  import fakeSelectColorsData from '@/assets/data/fake-select-colors.json'
804
1005
  import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
1006
+ import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
805
1007
  import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
806
1008
  import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
807
1009
  import footerNavigationData from '@/assets/data/footer-navigation.json'
808
1010
  import imageGalleryData from '@/assets/data/image-gallery.json'
809
- import languagesData from '@/assets/data/languages.json'
810
- import multistepsData from '@/assets/data/multisteps.json'
1011
+ import languagesData from '@/assets/data/switch-language.json'
1012
+ import multistepsData from '@/assets/data/multistep-form-progress-bar.json'
811
1013
  import multipleSwitchCheckboxData from '@/assets/data/multipleswitch-checkbox.json'
812
1014
  import multipleSwitchRadioData from '@/assets/data/multipleswitch-radio.json'
813
- import navigationData from '@/assets/data/navigation.json'
1015
+ import navigationData from '@/assets/data/main-navigation.json'
814
1016
  import openingHoursData from '@/assets/data/opening-hours.json'
815
1017
  import pagerData from '@/assets/data/pager.json'
816
1018
  import selectOptionsData from '@/assets/data/select-options.json'
@@ -826,22 +1028,24 @@ import topHeaderNavigationData from '@/assets/data/top-header-navigation.json'
826
1028
  import CmdAccordion from "@/components/CmdAccordion.vue"
827
1029
  import CmdAddressData from "@/components/CmdAddressData"
828
1030
  import CmdBackToTopButton from "@/components/CmdBackToTopButton.vue"
1031
+ import CmdBankAccountData from "./components/CmdBankAccountData"
829
1032
  import CmdBox from "@/components/CmdBox.vue"
830
1033
  import CmdBoxSiteSearch from "@/components/CmdBoxSiteSearch.vue"
831
1034
  import CmdBreadcrumbs from "@/components/CmdBreadcrumbs.vue"
832
1035
  import CmdCompanyLogo from "@/components/CmdCompanyLogo.vue"
833
1036
  import CmdCopyrightInformation from "@/components/CmdCopyrightInformation.vue"
834
1037
  import CmdCookieDisclaimer from "@/components/CmdCookieDisclaimer.vue"
1038
+ import CmdCustomHeadline from "@/components/CmdCustomHeadline.vue"
835
1039
  import CmdFakeSelect from "@/components/CmdFakeSelect.vue"
836
1040
  import CmdFancyBox from "@/components/CmdFancyBox.vue"
837
1041
  import CmdFooterNavigation from "@/components/CmdFooterNavigation.vue"
1042
+ import CmdForm from "@/components/CmdForm.vue"
838
1043
  import CmdFormElement from "@/components/CmdFormElement.vue"
839
1044
  import CmdFormFilters from "@/components/CmdFormFilters.vue"
840
1045
  import CmdGoogleMaps from "./components/CmdGoogleMaps"
841
1046
  import CmdImageGallery from "@/components/CmdImageGallery.vue"
842
1047
  import CmdImageZoom from "@/components/CmdImageZoom.vue"
843
1048
  import CmdLoginForm from "@/components/CmdLoginForm.vue"
844
- import CmdMainHeadline from "@/components/CmdMainHeadline.vue"
845
1049
  import CmdMainNavigation from "@/components/CmdMainNavigation.vue"
846
1050
  import CmdMultipleSwitch from "@/components/CmdMultipleSwitch.vue"
847
1051
  import CmdMultistepFormProgressBar from "@/components/CmdMultistepFormProgressBar.vue"
@@ -857,33 +1061,39 @@ import CmdSystemMessage from "@/components/CmdSystemMessage.vue"
857
1061
  import CmdTabs from "@/components/CmdTabs.vue"
858
1062
  import CmdTable from "@/components/CmdTable.vue"
859
1063
  import CmdThumbnailScroller from "@/components/CmdThumbnailScroller.vue"
1064
+ import CmdTooltip from "@/components/CmdTooltip.vue"
860
1065
  import CmdTopHeaderNavigation from "@/components/CmdTopHeaderNavigation.vue"
861
1066
  import CmdUploadForm from "@/components/CmdUploadForm.vue"
862
1067
  import CmdWidthLimitationWrapper from "@/components/CmdWidthLimitationWrapper"
863
1068
  import {openFancyBox} from "@/components/CmdFancyBox"
864
1069
 
1070
+ // import external functions
1071
+ import * as functions from "@/mixins/FieldValidation.js"
1072
+
865
1073
  export default {
866
1074
  name: "App",
867
1075
  components: {
868
1076
  CmdAccordion, // short form of 'CmdAccordion': CmdAccordion
869
1077
  CmdAddressData,
870
1078
  CmdBackToTopButton,
1079
+ CmdBankAccountData,
871
1080
  CmdBox,
872
1081
  CmdBoxSiteSearch,
873
1082
  CmdBreadcrumbs,
874
1083
  CmdCompanyLogo,
875
1084
  CmdCopyrightInformation,
876
1085
  CmdCookieDisclaimer,
1086
+ CmdCustomHeadline,
877
1087
  CmdFakeSelect,
878
1088
  CmdFancyBox,
879
1089
  CmdFooterNavigation,
1090
+ CmdForm,
880
1091
  CmdFormFilters,
881
1092
  CmdFormElement,
882
1093
  CmdGoogleMaps,
883
1094
  CmdImageGallery,
884
1095
  CmdImageZoom,
885
1096
  CmdLoginForm,
886
- CmdMainHeadline,
887
1097
  CmdMainNavigation,
888
1098
  CmdMultistepFormProgressBar,
889
1099
  CmdMultipleSwitch,
@@ -899,6 +1109,7 @@ export default {
899
1109
  CmdTabs,
900
1110
  CmdTable,
901
1111
  CmdThumbnailScroller,
1112
+ CmdTooltip,
902
1113
  CmdTopHeaderNavigation,
903
1114
  CmdUploadForm,
904
1115
  CmdWidthLimitationWrapper
@@ -906,6 +1117,12 @@ export default {
906
1117
 
907
1118
  data() {
908
1119
  return {
1120
+ showTooltip: false,
1121
+ inputFieldPattern: "",
1122
+ inputSearch: "",
1123
+ textarea: "",
1124
+ inputNumber: "",
1125
+ inputDate: "",
909
1126
  accordionGroupOpen: false,
910
1127
  showPageMultistep: 1,
911
1128
  showPagePager: 1,
@@ -919,19 +1136,23 @@ export default {
919
1136
  switchButtonRadio: "radio1",
920
1137
  switchButtonCheckbox: ["checkbox1"],
921
1138
  switchButtonCheckboxColored: false,
1139
+ inputUsername: "",
1140
+ inputPassword: "",
922
1141
  inputField1: "",
923
- checkboxStatus: true,
924
- replacedCheckboxStatus1: false,
925
- replacedCheckboxStatus2: false,
926
- checkboxValues: [],
927
- radiobuttonStatus: "radiobuttonValue1",
928
- replacedRadiobuttonStatus: "radiobuttonValue1",
1142
+ inputFieldRequired: "",
1143
+ checkboxValue: true,
1144
+ checkboxRequiredValue: false,
1145
+ checkboxValues: ["checkboxValue1"],
1146
+ replacedCheckboxValue: "checkboxValue1",
1147
+ radiobuttonValue: "radiobuttonValue1",
1148
+ replacedRadiobuttonValue: "radiobuttonValue1",
929
1149
  multipleSwitchCheckbox: ['b'],
930
1150
  multipleSwitchRadio: 'c',
931
1151
  fancyBoxCookieDisclaimer: false,
932
1152
  fakeSelectDefault: "2",
933
1153
  fakeSelectDefaultWithIcons: "1",
934
- fakeSelectCheckbox: ["2"],
1154
+ fakeSelectCheckbox: [],
1155
+ fakeSelectFilters: [],
935
1156
  datalist: {
936
1157
  id: "datalist-id",
937
1158
  options: [
@@ -940,10 +1161,18 @@ export default {
940
1161
  "Option 3"
941
1162
  ]
942
1163
  },
1164
+ customRequirements: [
1165
+ functions.validateCharacters(),
1166
+ functions.validateNumbers(),
1167
+ functions.validateNumbersOnly(),
1168
+ functions.validateSpecialCharacters(),
1169
+ functions.validateCapitalLetters()
1170
+ ],
943
1171
 
944
1172
  // assign data from json files to data-properties
945
1173
  accordionData,
946
1174
  addressData,
1175
+ bankAccountData,
947
1176
  boxProductData,
948
1177
  boxUserData,
949
1178
  breadcrumbData,
@@ -951,6 +1180,7 @@ export default {
951
1180
  cookieDisclaimerData,
952
1181
  fakeSelectColorsData,
953
1182
  fakeSelectCountriesData,
1183
+ fakeSelectFilterOptionsData,
954
1184
  fakeSelectOptionsData,
955
1185
  fakeSelectOptionsWithIconsData,
956
1186
  footerNavigationData,
@@ -973,17 +1203,21 @@ export default {
973
1203
  }
974
1204
  },
975
1205
  methods: {
976
- showFancyBox(type, content) {
1206
+ showError(event) {
1207
+ console.log("EventMessages", event.messages)
1208
+ alert("Error")
1209
+ },
1210
+ showFancyBox(type, content, altText) {
977
1211
  if (type === 'text') {
978
1212
  openFancyBox({content: content})
979
1213
  } else if (type === 'image') {
980
- openFancyBox({url: content})
1214
+ openFancyBox({url: content, altText: altText})
981
1215
  }
982
1216
  },
983
1217
  getOptionName(option) {
984
- for (let i = 0; i < this.fakeSelectOptionsData.length; i++) {
985
- if (option === this.fakeSelectOptionsData[i].value) {
986
- return this.fakeSelectOptionsData[i].text
1218
+ for (let i = 0; i < this.fakeSelectFilterOptionsData.length; i++) {
1219
+ if (option === this.fakeSelectFilterOptionsData[i].value) {
1220
+ return this.fakeSelectFilterOptionsData[i].text
987
1221
  }
988
1222
  }
989
1223
  return null
@@ -1008,4 +1242,13 @@ export default {
1008
1242
  }
1009
1243
  }
1010
1244
  }
1011
- </script>
1245
+ </script>
1246
+
1247
+ <style lang="scss">
1248
+ .list-status {
1249
+ .active {
1250
+ color: var(--default-color);
1251
+ text-decoration: none;
1252
+ }
1253
+ }
1254
+ </style>