comand-component-library 3.1.45 → 3.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/comand-component-library.css +1 -1
- package/dist/comand-component-library.umd.min.js +1 -1
- package/package.json +47 -41
- package/src/App.vue +373 -135
- package/src/ComponentDocumentation.vue +156 -0
- package/src/ComponentLibraryHelp.vue +20 -0
- package/src/assets/data/accordion.json +21 -24
- package/src/assets/data/address-data.json +34 -0
- package/src/assets/data/bank-account-data.json +22 -0
- package/src/assets/data/box-product.json +14 -4
- package/src/assets/data/box-user.json +48 -22
- package/src/assets/data/breadcrumbs.json +11 -3
- package/src/assets/data/cookie-disclaimer.json +4 -4
- package/src/assets/data/fake-select-colors.json +4 -0
- package/src/assets/data/fake-select-filter-options.json +14 -0
- package/src/assets/data/fake-select-options-with-icons.json +6 -12
- package/src/assets/data/fake-select-options.json +3 -3
- package/src/assets/data/list-of-links-section-anchors.json +23 -0
- package/src/assets/data/list-of-links-top-header-navigation.json +20 -0
- package/src/assets/data/list-of-links.json +42 -0
- package/src/assets/data/main-navigation.json +48 -0
- package/src/assets/data/multistep-form-progress-bar.json +33 -0
- package/src/assets/data/select-options.json +4 -0
- package/src/assets/data/{share-buttons.json → share-buttons-page-by-json.json} +8 -8
- package/src/assets/data/share-buttons-page-by-property.json +30 -0
- package/src/assets/data/switch-language.json +20 -0
- package/src/assets/data/table-large.json +1 -1
- package/src/assets/data/table-small.json +1 -1
- package/src/assets/styles/global-styles.scss +43 -13
- package/src/assets/styles/transitions.scss +21 -1
- package/src/components/CmdAccordion.vue +43 -42
- package/src/components/CmdAddressData.vue +124 -56
- package/src/components/CmdBackToTopButton.vue +3 -3
- package/src/components/CmdBankAccountData.vue +104 -0
- package/src/components/CmdBox.vue +253 -56
- package/src/components/CmdBoxSiteSearch.vue +138 -39
- package/src/components/CmdBoxWrapper.vue +206 -0
- package/src/components/CmdBreadcrumbs.vue +29 -13
- package/src/components/CmdCompanyLogo.vue +6 -4
- package/src/components/CmdCookieDisclaimer.vue +99 -75
- package/src/components/CmdCopyrightInformation.vue +1 -1
- package/src/components/CmdCustomHeadline.vue +93 -0
- package/src/components/CmdFakeSelect.vue +285 -60
- package/src/components/CmdFancyBox.vue +47 -33
- package/src/components/CmdForm.vue +107 -0
- package/src/components/CmdFormElement.vue +515 -81
- package/src/components/CmdFormFilters.vue +25 -11
- package/src/components/CmdGoogleMaps.vue +9 -3
- package/src/components/CmdImageGallery.vue +28 -5
- package/src/components/CmdImageZoom.vue +9 -1
- package/src/components/CmdListOfLinks.vue +169 -0
- package/src/components/CmdLoginForm.vue +143 -63
- package/src/components/CmdMainNavigation.vue +140 -42
- package/src/components/CmdMultipleSwitch.vue +33 -2
- package/src/components/CmdMultistepFormProgressBar.vue +60 -10
- package/src/components/CmdOpeningHours.vue +36 -10
- package/src/components/CmdPager.vue +7 -5
- package/src/components/CmdProgressBar.vue +20 -3
- package/src/components/CmdShareButtons.vue +64 -9
- package/src/components/CmdSiteHeader.vue +27 -14
- package/src/components/CmdSlideButton.vue +5 -2
- package/src/components/CmdSlideshow.vue +23 -7
- package/src/components/CmdSwitchButton.vue +10 -3
- package/src/components/CmdSwitchLanguage.vue +18 -10
- package/src/components/CmdSystemMessage.vue +30 -17
- package/src/components/CmdTable.vue +15 -7
- package/src/components/CmdTabs.vue +43 -3
- package/src/components/CmdThumbnailScroller.vue +22 -6
- package/src/components/CmdTooltip.vue +184 -11
- package/src/components/CmdUploadForm.vue +198 -92
- package/src/components/CmdWidthLimitationWrapper.vue +9 -6
- package/src/composables/event.js +8 -0
- package/src/composables/scrollspy.js +52 -0
- package/src/directives/focus.js +19 -0
- package/src/directives/telephone.js +1 -1
- package/src/documentation/commonProps.js +6 -0
- package/src/documentation/components/ComponentCode.vue +50 -0
- package/src/documentation/components/ComponentProperties.vue +237 -0
- package/src/documentation/components/ExampleSectionWrapper.vue +46 -0
- package/src/documentation/components/ViewCodeData.vue +113 -0
- package/src/documentation/data/CmdAccordionHelp.js +22 -0
- package/src/documentation/data/CmdAddressDataHelp.js +17 -0
- package/src/documentation/data/CmdBackToTopButtonHelp.js +3 -0
- package/src/documentation/data/CmdBankAccountDataHelp.js +8 -0
- package/src/documentation/data/CmdBoxHelp.js +45 -0
- package/src/documentation/data/CmdBoxSiteSearchHelp.js +11 -0
- package/src/documentation/data/CmdBreadcrumbsHelp.js +6 -0
- package/src/documentation/data/CmdCompanyLogoHelp.js +8 -0
- package/src/documentation/data/CmdCookieDisclaimerHelp.js +9 -0
- package/src/documentation/data/CmdCopyrightInformation.js +2 -0
- package/src/documentation/data/CmdCustomHeadlineHelp.js +8 -0
- package/src/documentation/data/CmdFakeSelectHelp.js +60 -0
- package/src/documentation/data/CmdFancyBoxHelp.js +7 -0
- package/src/documentation/data/CmdFooterNavigationHelp.js +5 -0
- package/src/documentation/data/CmdFormElementHelp.js +189 -0
- package/src/documentation/data/CmdFormFiltersHelp.js +6 -0
- package/src/documentation/data/CmdFormHelp.js +10 -0
- package/src/documentation/data/CmdGoogleMapsHelp.js +5 -0
- package/src/documentation/data/CmdImageGalleryHelp.js +5 -0
- package/src/documentation/data/CmdImageZoomHelp.js +6 -0
- package/src/documentation/data/CmdListOfLinksHelp.js +24 -0
- package/src/documentation/data/CmdLoginFormHelp.js +6 -0
- package/src/documentation/data/CmdMainNavigationHelp.js +7 -0
- package/src/documentation/data/CmdMultistepFormProgressBarHelp.js +6 -0
- package/src/documentation/data/CmdOpeningHoursHelp.js +10 -0
- package/src/documentation/data/CmdPagerHelp.js +7 -0
- package/src/documentation/data/CmdProgressBarHelp.js +13 -0
- package/src/documentation/data/CmdShareButtonsHelp.js +13 -0
- package/src/documentation/data/CmdSiteHeaderHelp.js +21 -0
- package/src/documentation/data/CmdSlideButtonHelp.js +10 -0
- package/src/documentation/data/CmdSlideshowHelp.js +7 -0
- package/src/documentation/data/CmdSwitchLanguageHelp.js +6 -0
- package/src/documentation/data/CmdSystemMessageHelp.js +32 -0
- package/src/documentation/data/CmdTableHelp.js +14 -0
- package/src/documentation/data/CmdTabsHelp.js +10 -0
- package/src/documentation/data/CmdThumbnailScrollerHelp.js +5 -0
- package/src/documentation/data/CmdTooltipHelp.js +13 -0
- package/src/documentation/data/CmdUploadFormHelp.js +17 -0
- package/src/documentation/data/CmdWidthLimitationWrapperHelp.js +7 -0
- package/src/documentation/data/componentsDescription.json +158 -0
- package/src/documentation/generated/CmdAccordionPropertyDescriptions.json +57 -0
- package/src/documentation/generated/CmdAddressDataPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdBackToTopButtonPropertyDescriptions.json +12 -0
- package/src/documentation/generated/CmdBankAccountDataPropertyDescriptions.json +34 -0
- package/src/documentation/generated/CmdBoxPropertyDescriptions.json +91 -0
- package/src/documentation/generated/CmdBoxSiteSearchPropertyDescriptions.json +41 -0
- package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +47 -0
- package/src/documentation/generated/CmdBreadcrumbsPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdCompanyLogoPropertyDescriptions.json +27 -0
- package/src/documentation/generated/CmdCookieDisclaimerPropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdCustomHeadlinePropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +79 -0
- package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +62 -0
- package/src/documentation/generated/CmdFooterNavigationPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +178 -0
- package/src/documentation/generated/CmdFormFiltersPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdFormPropertyDescriptions.json +40 -0
- package/src/documentation/generated/CmdGoogleMapsPropertyDescriptions.json +7 -0
- package/src/documentation/generated/CmdImageGalleryPropertyDescriptions.json +22 -0
- package/src/documentation/generated/CmdImageZoomPropertyDescriptions.json +12 -0
- package/src/documentation/generated/CmdListOfLinksPropertyDescriptions.json +60 -0
- package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +90 -0
- package/src/documentation/generated/CmdMainNavigationPropertyDescriptions.json +62 -0
- package/src/documentation/generated/CmdMultipleSwitchPropertyDescriptions.json +52 -0
- package/src/documentation/generated/CmdMultistepFormProgressBarPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +42 -0
- package/src/documentation/generated/CmdPagerPropertyDescriptions.json +37 -0
- package/src/documentation/generated/CmdProgressBarPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +34 -0
- package/src/documentation/generated/CmdSiteHeaderPropertyDescriptions.json +27 -0
- package/src/documentation/generated/CmdSlideButtonPropertyDescriptions.json +25 -0
- package/src/documentation/generated/CmdSlideshowPropertyDescriptions.json +42 -0
- package/src/documentation/generated/CmdSwitchButtonPropertyDescriptions.json +79 -0
- package/src/documentation/generated/CmdSwitchLanguagePropertyDescriptions.json +7 -0
- package/src/documentation/generated/CmdSystemMessagePropertyDescriptions.json +40 -0
- package/src/documentation/generated/CmdTablePropertyDescriptions.json +62 -0
- package/src/documentation/generated/CmdTabsPropertyDescriptions.json +27 -0
- package/src/documentation/generated/CmdThumbnailScrollerPropertyDescriptions.json +32 -0
- package/src/documentation/generated/CmdTooltipPropertyDescriptions.json +17 -0
- package/src/documentation/generated/CmdUploadFormPropertyDescriptions.json +90 -0
- package/src/documentation/generated/CmdWidthLimitationWrapperPropertyDescriptions.json +41 -0
- package/src/documentation/generated/frameworkIcons.json +730 -0
- package/src/documentation/generated/logosIcons.json +110 -0
- package/src/documentation/tabs.js +46 -0
- package/src/documentation/views/ContainerPage.vue +237 -0
- package/src/documentation/views/HelpHome.vue +13 -0
- package/src/documentation/views/IconFont.vue +80 -0
- package/src/documentation/views/components/CmdAccordionHelp.vue +78 -0
- package/src/documentation/views/components/CmdAddressDataHelp.vue +65 -0
- package/src/documentation/views/components/CmdBackToTopButtonHelp.vue +62 -0
- package/src/documentation/views/components/CmdBankAccountDataHelp.vue +88 -0
- package/src/documentation/views/components/CmdBoxHelp.vue +137 -0
- package/src/documentation/views/components/CmdBoxSiteSearchHelp.vue +60 -0
- package/src/documentation/views/components/CmdBoxWrapperHelp.vue +111 -0
- package/src/documentation/views/components/CmdBreadcrumbsHelp.vue +51 -0
- package/src/documentation/views/components/CmdCompanyLogoHelp.vue +48 -0
- package/src/documentation/views/components/CmdCookieDisclaimerHelp.vue +105 -0
- package/src/documentation/views/components/CmdCustomHeadlineHelp.vue +53 -0
- package/src/documentation/views/components/CmdFakeSelectHelp.vue +175 -0
- package/src/documentation/views/components/CmdFancyBoxHelp.vue +79 -0
- package/src/documentation/views/components/CmdFormElementHelp.vue +412 -0
- package/src/documentation/views/components/CmdFormFiltersHelp.vue +69 -0
- package/src/documentation/views/components/CmdFormHelp.vue +41 -0
- package/src/documentation/views/components/CmdGoogleMapsHelp.vue +55 -0
- package/src/documentation/views/components/CmdImageGalleryHelp.vue +46 -0
- package/src/documentation/views/components/CmdImageZoomHelp.vue +34 -0
- package/src/documentation/views/components/CmdListOfLinksHelp.vue +64 -0
- package/src/documentation/views/components/CmdLoginFormHelp.vue +117 -0
- package/src/documentation/views/components/CmdMainNavigationHelp.vue +94 -0
- package/src/documentation/views/components/CmdMultistepFormProgressBarHelp.vue +49 -0
- package/src/documentation/views/components/CmdOpeningHoursHelp.vue +49 -0
- package/src/documentation/views/components/CmdPagerHelp.vue +57 -0
- package/src/documentation/views/components/CmdProgressBarHelp.vue +47 -0
- package/src/documentation/views/components/CmdShareButtonsHelp.vue +65 -0
- package/src/documentation/views/components/CmdSiteHeaderHelp.vue +72 -0
- package/src/documentation/views/components/CmdSlideButtonHelp.vue +90 -0
- package/src/documentation/views/components/CmdSlideshowHelp.vue +60 -0
- package/src/documentation/views/components/CmdSwitchLanguageHelp.vue +64 -0
- package/src/documentation/views/components/CmdSystemMessageHelp.vue +86 -0
- package/src/documentation/views/components/CmdTableHelp.vue +84 -0
- package/src/documentation/views/components/CmdTabsHelp.vue +52 -0
- package/src/documentation/views/components/CmdThumbnailScrollerHelp.vue +50 -0
- package/src/documentation/views/components/CmdTooltipHelp.vue +59 -0
- package/src/documentation/views/components/CmdUploadFormHelp.vue +59 -0
- package/src/documentation/views/components/CmdWidthLimitationWrapperHelp.vue +46 -0
- package/src/index.js +7 -3
- package/src/main.js +25 -15
- package/src/mixins/CmdAddressData/DefaultMessageProperties.js +17 -0
- package/src/mixins/CmdBox/DefaultMessageProperties.js +10 -0
- package/src/mixins/CmdFakeSelect/DefaultMessageProperties.js +9 -0
- package/src/mixins/CmdFormElement/DefaultMessageProperties.js +9 -0
- package/src/mixins/CmdImageGallery/DefaultMessageProperties.js +9 -0
- package/src/mixins/CmdSiteSearch/DefaultMessageProperties.js +14 -0
- package/src/mixins/CmdUploadForm/DefaultMessageProperties.js +5 -1
- package/src/mixins/FieldValidation.js +220 -0
- package/src/mixins/GlobalDefaultMessageProperties.js +15 -0
- package/src/mixins/Tooltip.js +26 -0
- package/src/router/index.js +67 -0
- package/src/utilities.js +3 -6
- package/src/utils/common.js +6 -0
- package/src/utils/dom.js +8 -0
- package/src/utils/globalSequence.js +13 -0
- package/src/utils/string.js +8 -0
- package/src/assets/data/address.json +0 -13
- package/src/assets/data/footer-navigation.json +0 -38
- package/src/assets/data/languages.json +0 -31
- package/src/assets/data/multisteps.json +0 -27
- package/src/assets/data/navigation.json +0 -47
- package/src/assets/data/pager.json +0 -11
- package/src/assets/data/top-header-navigation.json +0 -27
- package/src/components/CmdFooterNavigation.vue +0 -71
- package/src/components/CmdMainHeadline.vue +0 -75
- 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™-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
|
|
118
|
-
<CmdFormFilters v-model:selectedOptions="
|
|
119
|
-
|
|
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
|
-
<
|
|
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
|
-
|
|
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
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
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
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
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
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
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
|
-
<
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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="
|
|
332
|
-
|
|
429
|
+
id="inputfield-username"
|
|
430
|
+
fieldIconClass="icon-user-profile"
|
|
333
431
|
placeholder="Type in username"
|
|
334
432
|
tooltipText="This is a tooltip!"
|
|
335
|
-
|
|
433
|
+
maxlength="100"
|
|
434
|
+
v-model:value="inputUsername"
|
|
435
|
+
:status="formElementStatus"
|
|
436
|
+
/>
|
|
336
437
|
<CmdFormElement element="input"
|
|
337
|
-
labelText="Label for
|
|
438
|
+
labelText="Label for passwordfield:"
|
|
338
439
|
type="password"
|
|
339
|
-
|
|
340
|
-
|
|
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="
|
|
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="
|
|
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="
|
|
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="
|
|
373
|
-
v-model:value="
|
|
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="
|
|
498
|
+
inputValue="checkboxValue1"
|
|
379
499
|
type="checkbox"
|
|
380
|
-
id="
|
|
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="
|
|
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="
|
|
397
|
-
inputValue="
|
|
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="
|
|
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="
|
|
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="
|
|
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="
|
|
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="
|
|
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
|
-
|
|
479
|
-
type="
|
|
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'"
|
|
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
|
-
|
|
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 ----------------------------------------------------------------------------------------------------------------------------------------------------->
|
|
491
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 ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
|
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
|
-
|
|
655
|
+
Headline for box
|
|
502
656
|
</h3>
|
|
503
657
|
</template>
|
|
504
658
|
<template v-slot:body>
|
|
505
659
|
<p class="padding">
|
|
506
|
-
|
|
660
|
+
Box body with paragraph
|
|
507
661
|
</p>
|
|
508
662
|
</template>
|
|
509
663
|
<template v-slot:footer>
|
|
510
664
|
<p>
|
|
511
|
-
|
|
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="#">
|
|
725
|
+
<a href="#">Read more…</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 ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
|
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 ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
|
606
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"
|
|
698
|
-
|
|
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
|
-
|
|
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
|
-
|
|
883
|
+
:iconMessage="{iconClass: 'icon-info-circle'}">
|
|
714
884
|
<p>This is additional text!</p>
|
|
715
885
|
</CmdSystemMessage>
|
|
716
886
|
</CmdWidthLimitationWrapper>
|
|
@@ -752,12 +922,37 @@
|
|
|
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>
|
|
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>
|
|
761
956
|
<CmdUploadForm headline="Select files to upload"
|
|
762
957
|
:enableDragAndDrop="true"
|
|
763
958
|
:allowedFileExtensions="['jpg']"
|
|
@@ -800,6 +995,7 @@
|
|
|
800
995
|
// import used example data
|
|
801
996
|
import accordionData from '@/assets/data/accordion.json'
|
|
802
997
|
import addressData from '@/assets/data/address.json'
|
|
998
|
+
import bankAccountData from '@/assets/data/bank-account-data.json'
|
|
803
999
|
import boxUserData from '@/assets/data/box-user.json'
|
|
804
1000
|
import boxProductData from '@/assets/data/box-product.json'
|
|
805
1001
|
import breadcrumbData from '@/assets/data/breadcrumbs.json'
|
|
@@ -807,15 +1003,16 @@ import companyLogoData from '@/assets/data/company-logo.json'
|
|
|
807
1003
|
import cookieDisclaimerData from '@/assets/data/cookie-disclaimer.json'
|
|
808
1004
|
import fakeSelectColorsData from '@/assets/data/fake-select-colors.json'
|
|
809
1005
|
import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
|
|
1006
|
+
import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
|
|
810
1007
|
import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
|
|
811
1008
|
import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
|
|
812
1009
|
import footerNavigationData from '@/assets/data/footer-navigation.json'
|
|
813
1010
|
import imageGalleryData from '@/assets/data/image-gallery.json'
|
|
814
|
-
import languagesData from '@/assets/data/
|
|
815
|
-
import multistepsData from '@/assets/data/
|
|
1011
|
+
import languagesData from '@/assets/data/switch-language.json'
|
|
1012
|
+
import multistepsData from '@/assets/data/multistep-form-progress-bar.json'
|
|
816
1013
|
import multipleSwitchCheckboxData from '@/assets/data/multipleswitch-checkbox.json'
|
|
817
1014
|
import multipleSwitchRadioData from '@/assets/data/multipleswitch-radio.json'
|
|
818
|
-
import navigationData from '@/assets/data/navigation.json'
|
|
1015
|
+
import navigationData from '@/assets/data/main-navigation.json'
|
|
819
1016
|
import openingHoursData from '@/assets/data/opening-hours.json'
|
|
820
1017
|
import pagerData from '@/assets/data/pager.json'
|
|
821
1018
|
import selectOptionsData from '@/assets/data/select-options.json'
|
|
@@ -831,22 +1028,24 @@ import topHeaderNavigationData from '@/assets/data/top-header-navigation.json'
|
|
|
831
1028
|
import CmdAccordion from "@/components/CmdAccordion.vue"
|
|
832
1029
|
import CmdAddressData from "@/components/CmdAddressData"
|
|
833
1030
|
import CmdBackToTopButton from "@/components/CmdBackToTopButton.vue"
|
|
1031
|
+
import CmdBankAccountData from "./components/CmdBankAccountData"
|
|
834
1032
|
import CmdBox from "@/components/CmdBox.vue"
|
|
835
1033
|
import CmdBoxSiteSearch from "@/components/CmdBoxSiteSearch.vue"
|
|
836
1034
|
import CmdBreadcrumbs from "@/components/CmdBreadcrumbs.vue"
|
|
837
1035
|
import CmdCompanyLogo from "@/components/CmdCompanyLogo.vue"
|
|
838
1036
|
import CmdCopyrightInformation from "@/components/CmdCopyrightInformation.vue"
|
|
839
1037
|
import CmdCookieDisclaimer from "@/components/CmdCookieDisclaimer.vue"
|
|
1038
|
+
import CmdCustomHeadline from "@/components/CmdCustomHeadline.vue"
|
|
840
1039
|
import CmdFakeSelect from "@/components/CmdFakeSelect.vue"
|
|
841
1040
|
import CmdFancyBox from "@/components/CmdFancyBox.vue"
|
|
842
1041
|
import CmdFooterNavigation from "@/components/CmdFooterNavigation.vue"
|
|
1042
|
+
import CmdForm from "@/components/CmdForm.vue"
|
|
843
1043
|
import CmdFormElement from "@/components/CmdFormElement.vue"
|
|
844
1044
|
import CmdFormFilters from "@/components/CmdFormFilters.vue"
|
|
845
1045
|
import CmdGoogleMaps from "./components/CmdGoogleMaps"
|
|
846
1046
|
import CmdImageGallery from "@/components/CmdImageGallery.vue"
|
|
847
1047
|
import CmdImageZoom from "@/components/CmdImageZoom.vue"
|
|
848
1048
|
import CmdLoginForm from "@/components/CmdLoginForm.vue"
|
|
849
|
-
import CmdMainHeadline from "@/components/CmdMainHeadline.vue"
|
|
850
1049
|
import CmdMainNavigation from "@/components/CmdMainNavigation.vue"
|
|
851
1050
|
import CmdMultipleSwitch from "@/components/CmdMultipleSwitch.vue"
|
|
852
1051
|
import CmdMultistepFormProgressBar from "@/components/CmdMultistepFormProgressBar.vue"
|
|
@@ -862,33 +1061,39 @@ import CmdSystemMessage from "@/components/CmdSystemMessage.vue"
|
|
|
862
1061
|
import CmdTabs from "@/components/CmdTabs.vue"
|
|
863
1062
|
import CmdTable from "@/components/CmdTable.vue"
|
|
864
1063
|
import CmdThumbnailScroller from "@/components/CmdThumbnailScroller.vue"
|
|
1064
|
+
import CmdTooltip from "@/components/CmdTooltip.vue"
|
|
865
1065
|
import CmdTopHeaderNavigation from "@/components/CmdTopHeaderNavigation.vue"
|
|
866
1066
|
import CmdUploadForm from "@/components/CmdUploadForm.vue"
|
|
867
1067
|
import CmdWidthLimitationWrapper from "@/components/CmdWidthLimitationWrapper"
|
|
868
1068
|
import {openFancyBox} from "@/components/CmdFancyBox"
|
|
869
1069
|
|
|
1070
|
+
// import external functions
|
|
1071
|
+
import * as functions from "@/mixins/FieldValidation.js"
|
|
1072
|
+
|
|
870
1073
|
export default {
|
|
871
1074
|
name: "App",
|
|
872
1075
|
components: {
|
|
873
1076
|
CmdAccordion, // short form of 'CmdAccordion': CmdAccordion
|
|
874
1077
|
CmdAddressData,
|
|
875
1078
|
CmdBackToTopButton,
|
|
1079
|
+
CmdBankAccountData,
|
|
876
1080
|
CmdBox,
|
|
877
1081
|
CmdBoxSiteSearch,
|
|
878
1082
|
CmdBreadcrumbs,
|
|
879
1083
|
CmdCompanyLogo,
|
|
880
1084
|
CmdCopyrightInformation,
|
|
881
1085
|
CmdCookieDisclaimer,
|
|
1086
|
+
CmdCustomHeadline,
|
|
882
1087
|
CmdFakeSelect,
|
|
883
1088
|
CmdFancyBox,
|
|
884
1089
|
CmdFooterNavigation,
|
|
1090
|
+
CmdForm,
|
|
885
1091
|
CmdFormFilters,
|
|
886
1092
|
CmdFormElement,
|
|
887
1093
|
CmdGoogleMaps,
|
|
888
1094
|
CmdImageGallery,
|
|
889
1095
|
CmdImageZoom,
|
|
890
1096
|
CmdLoginForm,
|
|
891
|
-
CmdMainHeadline,
|
|
892
1097
|
CmdMainNavigation,
|
|
893
1098
|
CmdMultistepFormProgressBar,
|
|
894
1099
|
CmdMultipleSwitch,
|
|
@@ -904,6 +1109,7 @@ export default {
|
|
|
904
1109
|
CmdTabs,
|
|
905
1110
|
CmdTable,
|
|
906
1111
|
CmdThumbnailScroller,
|
|
1112
|
+
CmdTooltip,
|
|
907
1113
|
CmdTopHeaderNavigation,
|
|
908
1114
|
CmdUploadForm,
|
|
909
1115
|
CmdWidthLimitationWrapper
|
|
@@ -911,6 +1117,12 @@ export default {
|
|
|
911
1117
|
|
|
912
1118
|
data() {
|
|
913
1119
|
return {
|
|
1120
|
+
showTooltip: false,
|
|
1121
|
+
inputFieldPattern: "",
|
|
1122
|
+
inputSearch: "",
|
|
1123
|
+
textarea: "",
|
|
1124
|
+
inputNumber: "",
|
|
1125
|
+
inputDate: "",
|
|
914
1126
|
accordionGroupOpen: false,
|
|
915
1127
|
showPageMultistep: 1,
|
|
916
1128
|
showPagePager: 1,
|
|
@@ -924,19 +1136,23 @@ export default {
|
|
|
924
1136
|
switchButtonRadio: "radio1",
|
|
925
1137
|
switchButtonCheckbox: ["checkbox1"],
|
|
926
1138
|
switchButtonCheckboxColored: false,
|
|
1139
|
+
inputUsername: "",
|
|
1140
|
+
inputPassword: "",
|
|
927
1141
|
inputField1: "",
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
checkboxValues: [],
|
|
932
|
-
|
|
933
|
-
|
|
1142
|
+
inputFieldRequired: "",
|
|
1143
|
+
checkboxValue: true,
|
|
1144
|
+
checkboxRequiredValue: false,
|
|
1145
|
+
checkboxValues: ["checkboxValue1"],
|
|
1146
|
+
replacedCheckboxValue: "checkboxValue1",
|
|
1147
|
+
radiobuttonValue: "radiobuttonValue1",
|
|
1148
|
+
replacedRadiobuttonValue: "radiobuttonValue1",
|
|
934
1149
|
multipleSwitchCheckbox: ['b'],
|
|
935
1150
|
multipleSwitchRadio: 'c',
|
|
936
1151
|
fancyBoxCookieDisclaimer: false,
|
|
937
1152
|
fakeSelectDefault: "2",
|
|
938
1153
|
fakeSelectDefaultWithIcons: "1",
|
|
939
|
-
fakeSelectCheckbox: [
|
|
1154
|
+
fakeSelectCheckbox: [],
|
|
1155
|
+
fakeSelectFilters: [],
|
|
940
1156
|
datalist: {
|
|
941
1157
|
id: "datalist-id",
|
|
942
1158
|
options: [
|
|
@@ -945,10 +1161,18 @@ export default {
|
|
|
945
1161
|
"Option 3"
|
|
946
1162
|
]
|
|
947
1163
|
},
|
|
1164
|
+
customRequirements: [
|
|
1165
|
+
functions.validateCharacters(),
|
|
1166
|
+
functions.validateNumbers(),
|
|
1167
|
+
functions.validateNumbersOnly(),
|
|
1168
|
+
functions.validateSpecialCharacters(),
|
|
1169
|
+
functions.validateCapitalLetters()
|
|
1170
|
+
],
|
|
948
1171
|
|
|
949
1172
|
// assign data from json files to data-properties
|
|
950
1173
|
accordionData,
|
|
951
1174
|
addressData,
|
|
1175
|
+
bankAccountData,
|
|
952
1176
|
boxProductData,
|
|
953
1177
|
boxUserData,
|
|
954
1178
|
breadcrumbData,
|
|
@@ -956,6 +1180,7 @@ export default {
|
|
|
956
1180
|
cookieDisclaimerData,
|
|
957
1181
|
fakeSelectColorsData,
|
|
958
1182
|
fakeSelectCountriesData,
|
|
1183
|
+
fakeSelectFilterOptionsData,
|
|
959
1184
|
fakeSelectOptionsData,
|
|
960
1185
|
fakeSelectOptionsWithIconsData,
|
|
961
1186
|
footerNavigationData,
|
|
@@ -978,17 +1203,21 @@ export default {
|
|
|
978
1203
|
}
|
|
979
1204
|
},
|
|
980
1205
|
methods: {
|
|
981
|
-
|
|
1206
|
+
showError(event) {
|
|
1207
|
+
console.log("EventMessages", event.messages)
|
|
1208
|
+
alert("Error")
|
|
1209
|
+
},
|
|
1210
|
+
showFancyBox(type, content, altText) {
|
|
982
1211
|
if (type === 'text') {
|
|
983
1212
|
openFancyBox({content: content})
|
|
984
1213
|
} else if (type === 'image') {
|
|
985
|
-
openFancyBox({url: content})
|
|
1214
|
+
openFancyBox({url: content, altText: altText})
|
|
986
1215
|
}
|
|
987
1216
|
},
|
|
988
1217
|
getOptionName(option) {
|
|
989
|
-
for (let i = 0; i < this.
|
|
990
|
-
if (option === this.
|
|
991
|
-
return this.
|
|
1218
|
+
for (let i = 0; i < this.fakeSelectFilterOptionsData.length; i++) {
|
|
1219
|
+
if (option === this.fakeSelectFilterOptionsData[i].value) {
|
|
1220
|
+
return this.fakeSelectFilterOptionsData[i].text
|
|
992
1221
|
}
|
|
993
1222
|
}
|
|
994
1223
|
return null
|
|
@@ -1013,4 +1242,13 @@ export default {
|
|
|
1013
1242
|
}
|
|
1014
1243
|
}
|
|
1015
1244
|
}
|
|
1016
|
-
</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>
|