comand-component-library 3.1.90 → 3.1.92
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 +2 -2
- package/src/App.vue +119 -45
- package/src/assets/data/main-navigation.json +1 -0
- package/src/assets/data/tabs.json +1 -0
- package/src/assets/styles/global-styles.scss +0 -1
- package/src/components/CmdBox.vue +15 -9
- package/src/components/CmdCookieDisclaimer.vue +38 -9
- package/src/components/CmdFakeSelect.vue +11 -19
- package/src/components/CmdFancyBox.vue +46 -13
- package/src/components/CmdFormElement.vue +29 -32
- package/src/components/CmdImageGallery.vue +2 -2
- package/src/components/CmdInputGroup.vue +9 -16
- package/src/components/CmdLoginForm.vue +80 -103
- package/src/components/CmdMainNavigation.vue +6 -6
- package/src/components/CmdMultipleSwitch.vue +4 -12
- package/src/components/CmdNewsletterSubscription.vue +205 -0
- package/src/components/CmdShareButtons.vue +100 -27
- package/src/components/{CmdBoxSiteSearch.vue → CmdSiteSearch.vue} +34 -13
- package/src/components/CmdSystemMessage.vue +6 -0
- package/src/components/CmdTabs.vue +5 -5
- package/src/components/CmdThumbnailScroller.vue +9 -1
- package/src/components/CmdTooltip.vue +1 -1
- package/src/components/CmdTooltipForInputElements.vue +1 -19
- package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +10 -0
- package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +0 -5
- package/src/documentation/generated/CmdLoginFormPropertyDescriptions.json +3 -3
- package/src/documentation/generated/CmdNewsletterSubscriptionPropertyDescriptions.json +42 -0
- package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +24 -0
- package/src/documentation/generated/CmdSiteSearchPropertyDescriptions.json +79 -0
- package/src/documentation/generated/CmdTooltipForInputElementsPropertyDescriptions.json +1 -6
- package/src/index.js +1 -1
- package/src/mixins/CmdFormElement/DefaultMessageProperties.js +2 -1
- package/src/mixins/CmdThumbnailScroller/DefaultMessageProperties.js +9 -0
- package/src/mixins/FieldValidation.js +19 -7
- package/src/mixins/Identifier.js +28 -0
- package/src/utils/common.js +5 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "comand-component-library",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.92",
|
4
4
|
"private": false,
|
5
5
|
"scripts": {
|
6
6
|
"serve": "vue-cli-service serve",
|
@@ -21,6 +21,7 @@
|
|
21
21
|
"comand-frontend-framework": "^3.2.65",
|
22
22
|
"core-js": "^3.20.1",
|
23
23
|
"prismjs": "^1.27.0",
|
24
|
+
"sass": "^1.54.9",
|
24
25
|
"vue": "^3.2.31",
|
25
26
|
"vue-router": "^4.0.12",
|
26
27
|
"vuex": "^4.0.2"
|
@@ -39,7 +40,6 @@
|
|
39
40
|
"eslint": "^6.7.2",
|
40
41
|
"eslint-plugin-vue": "^7.20.0",
|
41
42
|
"gulp": "^4.0.2",
|
42
|
-
"node-sass": "^4.14.1",
|
43
43
|
"sass-loader": "^8.0.2",
|
44
44
|
"typescript": "~3.9.3",
|
45
45
|
"vue-jest": "^5.0.0-0"
|
package/src/App.vue
CHANGED
@@ -2,24 +2,31 @@
|
|
2
2
|
<template>
|
3
3
|
<div id="page-wrapper">
|
4
4
|
<a id="anchor-back-to-top"></a>
|
5
|
+
<!-- begin site-header --------------------------------------------------------------------------------------------------------------------------------------------------->
|
5
6
|
<CmdSiteHeader :cmdMainNavigation="navigationData" :sticky="true">
|
6
7
|
<template v-slot:top-header>
|
8
|
+
<!-- begin list-of-links --------------------------------------------------------------------------------------------------------------------------------------------------->
|
7
9
|
<CmdListOfLinks
|
8
10
|
:links="listOfLinksData"
|
9
11
|
orientation="horizontal"
|
10
12
|
align="right"
|
11
13
|
/>
|
14
|
+
<!-- end list-of-links --------------------------------------------------------------------------------------------------------------------------------------------------->
|
12
15
|
</template>
|
13
16
|
<template v-slot:logo>
|
17
|
+
<!-- begin company-logo --------------------------------------------------------------------------------------------------------------------------------------------------->
|
14
18
|
<CmdCompanyLogo
|
15
19
|
:link="companyLogoData.link"
|
16
20
|
altText="CoManD Logo"
|
17
21
|
:pathDefaultLogo="require('@/assets/images/logo.svg')"
|
18
22
|
:pathDarkmodeLogo="require('@/assets/images/logo-darkmode.svg')"
|
19
23
|
/>
|
24
|
+
<!-- end company-logo --------------------------------------------------------------------------------------------------------------------------------------------------->
|
20
25
|
</template>
|
21
26
|
</CmdSiteHeader>
|
27
|
+
<!-- end site-header --------------------------------------------------------------------------------------------------------------------------------------------------->
|
22
28
|
<main>
|
29
|
+
<!-- begin width-limitation-wrapper (with table of contents) --------------------------------------------------------------------------------------------------------------------------------------------------->
|
23
30
|
<CmdWidthLimitationWrapper>
|
24
31
|
<div class="flex-container">
|
25
32
|
<ul>
|
@@ -29,26 +36,27 @@
|
|
29
36
|
<li><a href="#section-boxes">Boxes</a></li>
|
30
37
|
<li><a href="#section-breadcrumbs">Breadcrumbs</a></li>
|
31
38
|
<li><a href="#section-cookie-disclaimer">Cookie-Disclaimer</a></li>
|
39
|
+
<li><a href="#section-custom-headline">Custom Headline</a></li>
|
32
40
|
</ul>
|
33
41
|
<ul>
|
34
|
-
<li><a href="#section-custom-headline">Custom Headline</a></li>
|
35
42
|
<li><a href="#section-fancybox">Fancybox</a></li>
|
36
43
|
<li><a href="#section-google-maps-integration">Google-Maps™-Integration</a></li>
|
37
44
|
<li><a href="#section-image-gallery">Image Gallery</a></li>
|
38
45
|
<li><a href="#section-image-zoom">Image-Zoom</a></li>
|
39
46
|
<li><a href="#section-login-form">Login Form</a></li>
|
40
|
-
</ul>
|
41
|
-
<ul>
|
42
47
|
<li><a href="#section-main-navigation">Main-Navigation</a></li>
|
43
48
|
<li><a href="#section-multistep-form-progress-bar">Multistepform-Progressbar</a></li>
|
49
|
+
</ul>
|
50
|
+
<ul>
|
44
51
|
<li><a href="#section-pager">Pager</a></li>
|
45
52
|
<li><a href="#section-share-buttons">Share Buttons</a></li>
|
53
|
+
<li><a href="#section-site-search">Site Search</a></li>
|
46
54
|
<li><a href="#section-slideshow">Slideshow</a></li>
|
47
55
|
<li><a href="#section-system-message">System-Message</a></li>
|
48
|
-
</ul>
|
49
|
-
<ul>
|
50
56
|
<li><a href="#section-tables">Tables</a></li>
|
51
57
|
<li><a href="#section-tabs">Tabs</a></li>
|
58
|
+
</ul>
|
59
|
+
<ul>
|
52
60
|
<li><a href="#section-thumbnail-scroller">Thumbnail-Scroller</a></li>
|
53
61
|
<li><a href="#section-toggle-darkmode">ToggleDarkMode</a></li>
|
54
62
|
<li><a href="#section-tooltip">Tooltip</a></li>
|
@@ -57,6 +65,8 @@
|
|
57
65
|
</div>
|
58
66
|
<hr/>
|
59
67
|
</CmdWidthLimitationWrapper>
|
68
|
+
<!-- end width-limitation-wrapper (with table of contents) --------------------------------------------------------------------------------------------------------------------------------------------------->
|
69
|
+
|
60
70
|
<!-- begin advanced form elements --------------------------------------------------------------------------------------------------------------------------------------------------->
|
61
71
|
<a id="section-advanced-form-elements"></a>
|
62
72
|
<CmdWidthLimitationWrapper>
|
@@ -637,7 +647,7 @@
|
|
637
647
|
<CmdInputGroup
|
638
648
|
labelText="Grouplabel for radio-group given by property:"
|
639
649
|
:required="true"
|
640
|
-
:inputElements="
|
650
|
+
:inputElements="idForReplacedInputsInInputGroup('radio-group')"
|
641
651
|
inputTypes="radio"
|
642
652
|
v-model="inputGroupCheckbox"
|
643
653
|
:status="validationStatus"
|
@@ -652,7 +662,7 @@
|
|
652
662
|
<h3>Input Group with Checkboxes/Radiobuttons (replaced)</h3>
|
653
663
|
<CmdInputGroup
|
654
664
|
labelText="Grouplabel for radio-group styled as replaced-input-type:"
|
655
|
-
:inputElements="
|
665
|
+
:inputElements="idForReplacedInputsInInputGroup('replaced-radio-group')"
|
656
666
|
inputTypes="radio"
|
657
667
|
v-model="inputGroupValueReplaceInputTypeRadio"
|
658
668
|
:replaceInputType="true"
|
@@ -667,7 +677,7 @@
|
|
667
677
|
</dl>
|
668
678
|
<CmdInputGroup
|
669
679
|
labelText="Grouplabel for checkbox-group styled as replaced-input-type:"
|
670
|
-
:inputElements="
|
680
|
+
:inputElements="idForReplacedInputsInInputGroup('checkbox-group')"
|
671
681
|
inputTypes="checkbox"
|
672
682
|
v-model="inputGroupValueReplaceInputTypeCheckbox"
|
673
683
|
:replaceInputType="true"
|
@@ -685,7 +695,7 @@
|
|
685
695
|
Radiobuttons (toggle-switches)</h3>
|
686
696
|
<CmdInputGroup
|
687
697
|
labelText="Grouplabel for checkbox-group styled as toggle-switches:"
|
688
|
-
:inputElements="
|
698
|
+
:inputElements="idForReplacedInputsInInputGroup('checkbox-group-toggle-switch')"
|
689
699
|
inputTypes="checkbox"
|
690
700
|
v-model="inputGroupValueToggleSwitchCheckbox"
|
691
701
|
:toggleSwitch="true"
|
@@ -701,7 +711,7 @@
|
|
701
711
|
</dl>
|
702
712
|
<CmdInputGroup
|
703
713
|
labelText="Grouplabel for radio-group styled as toggle-switches:"
|
704
|
-
:inputElements="
|
714
|
+
:inputElements="idForReplacedInputsInInputGroup('radio-group-toggle-switch')"
|
705
715
|
inputTypes="radio"
|
706
716
|
v-model="inputGroupValueToggleSwitchRadio"
|
707
717
|
:toggleSwitch="true"
|
@@ -717,7 +727,7 @@
|
|
717
727
|
</dl>
|
718
728
|
<CmdInputGroup
|
719
729
|
labelText="Grouplabel for radio-group given by property styled as multiple-switch:"
|
720
|
-
:inputElements="
|
730
|
+
:inputElements="idForReplacedInputsInInputGroup('radio-group-multiple-switch')"
|
721
731
|
inputTypes="radio"
|
722
732
|
:multipleSwitch="true"
|
723
733
|
v-model="inputGroupValue3"
|
@@ -774,7 +784,7 @@
|
|
774
784
|
<a id="section-bank-account-data"></a>
|
775
785
|
<CmdWidthLimitationWrapper>
|
776
786
|
<h2 class="headline-demopage">Bank Account Data</h2>
|
777
|
-
<CmdBankAccountData :account-data="bankAccountData" :cmd-
|
787
|
+
<CmdBankAccountData :account-data="bankAccountData" :cmd-headline="{ headlineText: 'Bank Account', headlineLevel: 3}" :allow-copy-by-click="true"/>
|
778
788
|
</CmdWidthLimitationWrapper>
|
779
789
|
<!-- end bank account data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
780
790
|
|
@@ -831,7 +841,7 @@
|
|
831
841
|
</CmdBox>
|
832
842
|
</div>
|
833
843
|
<div class="grid-small-item">
|
834
|
-
<CmdBox :
|
844
|
+
<CmdBox :cmdHeadline="{headlineText: 'Collapsible box', headlineLevel: 4}" :collapsible="true" :stretchVertically="false">
|
835
845
|
<template v-slot:header>
|
836
846
|
<h3>
|
837
847
|
Collapsible box with image
|
@@ -876,25 +886,6 @@
|
|
876
886
|
<CmdBox boxType="user" :user="user" :cmdHeadline="{headlineLevel: 4}"/>
|
877
887
|
</div>
|
878
888
|
</div>
|
879
|
-
<h3>Box Site Search</h3>
|
880
|
-
<CmdBoxSiteSearch
|
881
|
-
v-model:modelValueInput1="siteSearchInput1"
|
882
|
-
v-model:modelValueInput2="siteSearchInput2"
|
883
|
-
v-model:modelValueRadius="radius"
|
884
|
-
v-model:modelValueSearchFilters="filters"
|
885
|
-
@search="siteSearchOutput"
|
886
|
-
textLegend="Search"
|
887
|
-
:cmdFakeSelect="siteSearchFilters"/>
|
888
|
-
<dl>
|
889
|
-
<dt>siteSearchInput1:</dt>
|
890
|
-
<dd>{{ siteSearchInput1 }}</dd>
|
891
|
-
<dt>siteSearchInput2:</dt>
|
892
|
-
<dd>{{ siteSearchInput2 }}</dd>
|
893
|
-
<dt>Radius:</dt>
|
894
|
-
<dd>{{ radius }}</dd>
|
895
|
-
<dt>Filters:</dt>
|
896
|
-
<dd>{{ filters }}</dd>
|
897
|
-
</dl>
|
898
889
|
</CmdWidthLimitationWrapper>
|
899
890
|
<!-- end boxes ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
900
891
|
|
@@ -964,7 +955,9 @@
|
|
964
955
|
<a id="section-login-form"></a>
|
965
956
|
<CmdWidthLimitationWrapper>
|
966
957
|
<h2 class="headline-demopage">Login Form</h2>
|
967
|
-
<
|
958
|
+
<CmdForm :use-validation="true" :use-fieldset="false">
|
959
|
+
<CmdLoginForm v-model="loginData" textLegendLoginForm="Please log in" />
|
960
|
+
</CmdForm>
|
968
961
|
<p>LoginData: {{ loginData }}</p>
|
969
962
|
</CmdWidthLimitationWrapper>
|
970
963
|
|
@@ -981,8 +974,9 @@
|
|
981
974
|
<h3>Horizontal (aligned right)</h3>
|
982
975
|
<CmdListOfLinks orientation="horizontal" align="right" :links="listOfLinksData"/>
|
983
976
|
</CmdWidthLimitationWrapper>
|
984
|
-
<!-- end list-of-links
|
977
|
+
<!-- end list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
985
978
|
|
979
|
+
<!-- begin main-navigation ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
986
980
|
<a id="section-main-navigation"></a>
|
987
981
|
<CmdWidthLimitationWrapper>
|
988
982
|
<h2 class="headline-demopage">Main Navigation</h2>
|
@@ -991,7 +985,9 @@
|
|
991
985
|
:navigationEntries="navigationData"
|
992
986
|
/>
|
993
987
|
</CmdWidthLimitationWrapper>
|
988
|
+
<!-- end main-navigation ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
994
989
|
|
990
|
+
<!-- begin multistep-form-progress-bar ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
995
991
|
<a id="section-multistep-form-progress-bar"></a>
|
996
992
|
<CmdWidthLimitationWrapper>
|
997
993
|
<h2 class="headline-demopage">Multistepform-Progressbar</h2>
|
@@ -1001,7 +997,19 @@
|
|
1001
997
|
<p>Page {{ showPageMultistep }}</p>
|
1002
998
|
</div>
|
1003
999
|
</CmdWidthLimitationWrapper>
|
1000
|
+
<!-- end multistep-form-progress-bar ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1004
1001
|
|
1002
|
+
<!-- begin newsletter-subscription ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1003
|
+
<a id="section-newsletter-subscription"></a>
|
1004
|
+
<CmdWidthLimitationWrapper>
|
1005
|
+
<h2 class="headline-demopage">Newsletter Subscription</h2>
|
1006
|
+
<CmdForm textLegend="Stay-up-to-date" :use-fieldset="false">
|
1007
|
+
<CmdNewsletterSubscription v-model="newsletter" buttonType="submit" @buttonClick="submitNewsletterRegistration" />
|
1008
|
+
</CmdForm>
|
1009
|
+
</CmdWidthLimitationWrapper>
|
1010
|
+
<!-- end newsletter-subscription ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1011
|
+
|
1012
|
+
<!-- begin pager ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1005
1013
|
<a id="section-pager"></a>
|
1006
1014
|
<CmdWidthLimitationWrapper>
|
1007
1015
|
<h2 class="headline-demopage">Pager</h2>
|
@@ -1014,19 +1022,41 @@
|
|
1014
1022
|
@click="showPagePager = $event"
|
1015
1023
|
/>
|
1016
1024
|
</CmdWidthLimitationWrapper>
|
1025
|
+
<!-- end pager ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1017
1026
|
|
1027
|
+
<!-- begin share-buttons ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1018
1028
|
<a id="section-share-buttons"></a>
|
1019
1029
|
<CmdWidthLimitationWrapper>
|
1020
1030
|
<h2 class="headline-demopage">Share buttons</h2>
|
1021
1031
|
<CmdShareButtons :share-buttons="shareButtonsData"/>
|
1022
1032
|
</CmdWidthLimitationWrapper>
|
1033
|
+
<!-- end share-buttons ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1034
|
+
|
1035
|
+
<!-- begin site-search ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1036
|
+
<a id="section-site-search"></a>
|
1037
|
+
<CmdWidthLimitationWrapper>
|
1038
|
+
<h2 class="headline-demopage">Site Search</h2>
|
1039
|
+
<CmdSiteSearch
|
1040
|
+
v-model:modelValueInput1="siteSearchInput1"
|
1041
|
+
v-model:modelValueInput2="siteSearchInput2"
|
1042
|
+
v-model:modelValueRadius="radius"
|
1043
|
+
v-model:modelValueSearchFilters="filters"
|
1044
|
+
@search="siteSearchOutput"
|
1045
|
+
textLegend="Search"
|
1046
|
+
:cmdFakeSelect="siteSearchFilters"
|
1047
|
+
/>
|
1048
|
+
</CmdWidthLimitationWrapper>
|
1049
|
+
<!-- end site-search ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1023
1050
|
|
1051
|
+
<!-- begin slideshow ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1024
1052
|
<a id="section-slideshow"></a>
|
1025
1053
|
<CmdWidthLimitationWrapper>
|
1026
1054
|
<h2 class="headline-demopage">Slideshow</h2>
|
1027
1055
|
<CmdSlideshow :slideshow-items="slideshowData" :showCounter="true" :autoplay="true"/>
|
1028
1056
|
</CmdWidthLimitationWrapper>
|
1057
|
+
<!-- end slideshow ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1029
1058
|
|
1059
|
+
<!-- begin system-message ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1030
1060
|
<a id="section-system-message"></a>
|
1031
1061
|
<CmdWidthLimitationWrapper>
|
1032
1062
|
<h2 class="headline-demopage">System Message</h2>
|
@@ -1058,7 +1088,9 @@
|
|
1058
1088
|
<p>This is additional text!</p>
|
1059
1089
|
</CmdSystemMessage>
|
1060
1090
|
</CmdWidthLimitationWrapper>
|
1091
|
+
<!-- end system-message ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1061
1092
|
|
1093
|
+
<!-- begin tables ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1062
1094
|
<a id="section-tables"></a>
|
1063
1095
|
<CmdWidthLimitationWrapper>
|
1064
1096
|
<h2 class="headline-demopage">Tables</h2>
|
@@ -1069,7 +1101,9 @@
|
|
1069
1101
|
<h3>Table as wide as possible</h3>
|
1070
1102
|
<CmdTable :collapsible="true" :fullWidthOnDefault="false" :userCanToggleWidth="true" :table-data="tableDataLarge"/>
|
1071
1103
|
</CmdWidthLimitationWrapper>
|
1104
|
+
<!-- end tables ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1072
1105
|
|
1106
|
+
<!-- begin tabs ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1073
1107
|
<a id="section-tabs"></a>
|
1074
1108
|
<CmdWidthLimitationWrapper>
|
1075
1109
|
<h2 class="headline-demopage">Tabs</h2>
|
@@ -1094,7 +1128,9 @@
|
|
1094
1128
|
</template>
|
1095
1129
|
</CmdTabs>
|
1096
1130
|
</CmdWidthLimitationWrapper>
|
1131
|
+
<!-- end tabs ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1097
1132
|
|
1133
|
+
<!-- begin thumbnail-scroller ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1098
1134
|
<a id="section-thumbnail-scroller"></a>
|
1099
1135
|
<CmdWidthLimitationWrapper>
|
1100
1136
|
<h2 class="headline-demopage">Thumbnail-Scroller</h2>
|
@@ -1103,7 +1139,9 @@
|
|
1103
1139
|
<h3>Thumbnail-Scroller stretched to full width</h3>
|
1104
1140
|
<CmdThumbnailScroller :thumbnail-scroller-items="thumbnailScrollerData" :fullWidth="true"/>
|
1105
1141
|
</CmdWidthLimitationWrapper>
|
1142
|
+
<!-- end thumbnail-scroller ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1106
1143
|
|
1144
|
+
<!-- begin tooltip ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1107
1145
|
<a id="section-tooltip"></a>
|
1108
1146
|
<CmdWidthLimitationWrapper>
|
1109
1147
|
<h2 class="headline-demopage">Tooltip</h2>
|
@@ -1118,7 +1156,9 @@
|
|
1118
1156
|
Tooltip for click
|
1119
1157
|
</CmdTooltip>
|
1120
1158
|
</CmdWidthLimitationWrapper>
|
1159
|
+
<!-- end tooltip ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1121
1160
|
|
1161
|
+
<!-- begin upload-form ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1122
1162
|
<a id="section-upload-form"></a>
|
1123
1163
|
<CmdWidthLimitationWrapper>
|
1124
1164
|
<h2 class="headline-demopage">Upload-Form</h2>
|
@@ -1140,35 +1180,54 @@
|
|
1140
1180
|
:uploadOptions="{url: 'http://localhost:8888'}"
|
1141
1181
|
/>
|
1142
1182
|
</CmdWidthLimitationWrapper>
|
1183
|
+
<!-- end upload-form ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1143
1184
|
</main>
|
1144
1185
|
|
1186
|
+
<!-- begin site-footer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1145
1187
|
<CmdSiteFooter>
|
1188
|
+
<!-- begin switch-language ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1146
1189
|
<CmdSwitchLanguage :languages="languagesData" @click="doSomething"/>
|
1190
|
+
<!-- end switch-languager ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1191
|
+
|
1147
1192
|
<div class="flex-container">
|
1193
|
+
<!-- begin list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1148
1194
|
<CmdListOfLinks :links="listOfLinksData"
|
1149
1195
|
:cmdHeadline="{headlineText: 'List of links', headlineLevel: 6}"
|
1150
1196
|
/>
|
1197
|
+
<!-- end list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1198
|
+
|
1199
|
+
<!-- begin opening-hours ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1151
1200
|
<CmdOpeningHours :openingHours="openingHoursData"
|
1152
1201
|
:cmdHeadline="{headlineText: 'Opening hours', headlineLevel: 6}"
|
1153
1202
|
textHolidaysClosed="Closed on holidays"
|
1154
1203
|
textMiscInfo="Miscellaneous information"
|
1155
1204
|
:checkInterval="0"
|
1156
1205
|
/>
|
1206
|
+
<!-- end opening-hours ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1207
|
+
|
1208
|
+
<!-- begin address-data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1157
1209
|
<CmdAddressData :addressData="addressData"
|
1158
1210
|
:linkGoogleMaps="false"
|
1159
1211
|
:cmdHeadline="{headlineText: 'Address data', headlineLevel: 6}"
|
1160
1212
|
/>
|
1213
|
+
<!-- end address-data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1161
1214
|
</div>
|
1162
1215
|
</CmdSiteFooter>
|
1216
|
+
<!-- end site-footer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1163
1217
|
|
1218
|
+
<!-- begin copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1164
1219
|
<CmdCopyrightInformation/>
|
1220
|
+
<!-- end copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1165
1221
|
|
1166
|
-
|
1222
|
+
<!-- begin fancy-box ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1223
|
+
<CmdFancyBox :show="fancyBoxCookieDisclaimer" :fancyboxOptions="{}" :allowEscapeKey="false" :cmdHeadline="{show: true, headlineText: 'Cookie Disclaimer', headlineLevel: 2}">
|
1224
|
+
<!-- begin cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1167
1225
|
<CmdCookieDisclaimer :cookieOptions="cookieDisclaimerData"
|
1168
1226
|
buttonLabelAcceptAllCookies="Accept all cookies"
|
1169
1227
|
buttonLabelAcceptCurrentSettings="Accept current settings"
|
1170
1228
|
@closeCookieDisclaimer="closeCookieDisclaimer"
|
1171
1229
|
v-model="acceptedCookies"
|
1230
|
+
:cmdHeadlineCookieDisclaimer="{ show: false }"
|
1172
1231
|
|
1173
1232
|
>
|
1174
1233
|
<template #privacy-text>
|
@@ -1179,7 +1238,9 @@
|
|
1179
1238
|
</p>
|
1180
1239
|
</template>
|
1181
1240
|
</CmdCookieDisclaimer>
|
1241
|
+
<!-- end cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1182
1242
|
</CmdFancyBox>
|
1243
|
+
<!-- end fancy-box ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1183
1244
|
</div>
|
1184
1245
|
</template>
|
1185
1246
|
|
@@ -1220,7 +1281,6 @@ import CmdAddressData from "@/components/CmdAddressData"
|
|
1220
1281
|
import CmdBackToTopButton from "@/components/CmdBackToTopButton.vue"
|
1221
1282
|
import CmdBankAccountData from "./components/CmdBankAccountData"
|
1222
1283
|
import CmdBox from "@/components/CmdBox.vue"
|
1223
|
-
import CmdBoxSiteSearch from "@/components/CmdBoxSiteSearch.vue"
|
1224
1284
|
import CmdBreadcrumbs from "@/components/CmdBreadcrumbs.vue"
|
1225
1285
|
import CmdCompanyLogo from "@/components/CmdCompanyLogo.vue"
|
1226
1286
|
import CmdCopyrightInformation from "@/components/CmdCopyrightInformation.vue"
|
@@ -1239,12 +1299,14 @@ import CmdLoginForm from "@/components/CmdLoginForm.vue"
|
|
1239
1299
|
import CmdListOfLinks from "./components/CmdListOfLinks"
|
1240
1300
|
import CmdMainNavigation from "@/components/CmdMainNavigation.vue"
|
1241
1301
|
import CmdMultistepFormProgressBar from "@/components/CmdMultistepFormProgressBar.vue"
|
1302
|
+
import CmdNewsletterSubscription from "@/components/CmdNewsletterSubscription.vue"
|
1242
1303
|
import CmdOpeningHours from "@/components/CmdOpeningHours"
|
1243
1304
|
import CmdPager from "@/components/CmdPager.vue"
|
1244
1305
|
import CmdProgressBar from "@/components/CmdProgressBar.vue"
|
1245
1306
|
import CmdShareButtons from "@/components/CmdShareButtons.vue"
|
1246
1307
|
import CmdSiteFooter from "./components/CmdSiteFooter"
|
1247
1308
|
import CmdSiteHeader from "./components/CmdSiteHeader"
|
1309
|
+
import CmdSiteSearch from "@/components/CmdSiteSearch.vue"
|
1248
1310
|
import CmdSlideshow from "@/components/CmdSlideshow.vue"
|
1249
1311
|
import CmdSwitchLanguage from "@/components/CmdSwitchLanguage.vue"
|
1250
1312
|
import CmdSystemMessage from "@/components/CmdSystemMessage.vue"
|
@@ -1270,7 +1332,6 @@ export default {
|
|
1270
1332
|
CmdBackToTopButton,
|
1271
1333
|
CmdBankAccountData,
|
1272
1334
|
CmdBox,
|
1273
|
-
CmdBoxSiteSearch,
|
1274
1335
|
CmdBreadcrumbs,
|
1275
1336
|
CmdCompanyLogo,
|
1276
1337
|
CmdCopyrightInformation,
|
@@ -1288,12 +1349,14 @@ export default {
|
|
1288
1349
|
CmdLoginForm,
|
1289
1350
|
CmdMainNavigation,
|
1290
1351
|
CmdMultistepFormProgressBar,
|
1352
|
+
CmdNewsletterSubscription,
|
1291
1353
|
CmdOpeningHours,
|
1292
1354
|
CmdPager,
|
1293
1355
|
CmdProgressBar,
|
1294
1356
|
CmdShareButtons,
|
1295
1357
|
CmdSiteFooter,
|
1296
1358
|
CmdSiteHeader,
|
1359
|
+
CmdSiteSearch,
|
1297
1360
|
CmdSlideshow,
|
1298
1361
|
CmdSwitchLanguage,
|
1299
1362
|
CmdSystemMessage,
|
@@ -1312,6 +1375,14 @@ export default {
|
|
1312
1375
|
showTooltip: false,
|
1313
1376
|
disabledStatus: undefined,
|
1314
1377
|
validationStatus: "",
|
1378
|
+
loginData: {
|
1379
|
+
username: "",
|
1380
|
+
password: ""
|
1381
|
+
},
|
1382
|
+
newsletter: {
|
1383
|
+
subscription: "",
|
1384
|
+
email: ""
|
1385
|
+
},
|
1315
1386
|
inputFieldPattern: "",
|
1316
1387
|
inputSearch: "",
|
1317
1388
|
textarea: "",
|
@@ -1356,7 +1427,6 @@ export default {
|
|
1356
1427
|
selectedCountry: "de",
|
1357
1428
|
selectedColor: "",
|
1358
1429
|
rangeValue: 50,
|
1359
|
-
loginData: {},
|
1360
1430
|
siteSearchFilters: {
|
1361
1431
|
show: true,
|
1362
1432
|
selectData: fakeSelectFilterOptionsData,
|
@@ -1366,7 +1436,7 @@ export default {
|
|
1366
1436
|
},
|
1367
1437
|
siteSearchInput1: "Doctor",
|
1368
1438
|
siteSearchInput2: "New York",
|
1369
|
-
radius:
|
1439
|
+
radius: 5,
|
1370
1440
|
filters: ["2"],
|
1371
1441
|
switchButtonRadio: "radio1",
|
1372
1442
|
switchButtonCheckboxToggleSwitch: false,
|
@@ -1419,7 +1489,6 @@ export default {
|
|
1419
1489
|
fakeSelectOptionsWithIconsData,
|
1420
1490
|
listOfLinksData,
|
1421
1491
|
imageGalleryData,
|
1422
|
-
inputGroupRadiobuttonsData,
|
1423
1492
|
inputGroupReplacedRadiobuttonsData,
|
1424
1493
|
inputGroupToggleSwitchRadiobuttonsData,
|
1425
1494
|
languagesData,
|
@@ -1439,6 +1508,9 @@ export default {
|
|
1439
1508
|
localizedTime(language) {
|
1440
1509
|
return (h, m) => (localizedTime(language))(h, m).toLowerCase()
|
1441
1510
|
},
|
1511
|
+
idForReplacedInputsInInputGroup(prefix) {
|
1512
|
+
return inputGroupRadiobuttonsData.map(item => ({...item, id: prefix + item.id}))
|
1513
|
+
},
|
1442
1514
|
closeCookieDisclaimer(event) {
|
1443
1515
|
this.fancyBoxCookieDisclaimer = false
|
1444
1516
|
alert(event.join(", "))
|
@@ -1448,17 +1520,16 @@ export default {
|
|
1448
1520
|
this.disabledStatus = disabledStatus
|
1449
1521
|
},
|
1450
1522
|
siteSearchOutput(event) {
|
1451
|
-
|
1523
|
+
alert(JSON.stringify(event))
|
1452
1524
|
},
|
1453
|
-
showError(
|
1454
|
-
console.log("EventMessages", event.messages)
|
1525
|
+
showError() {
|
1455
1526
|
alert("Error")
|
1456
1527
|
},
|
1457
1528
|
showFancyBox(type, content, altText) {
|
1458
1529
|
if (type === 'text') {
|
1459
|
-
openFancyBox({content: content})
|
1530
|
+
openFancyBox({content: content, cmdHeadline: {show: true, headlineText: "Fancybox headline", headlineLevel: 3}})
|
1460
1531
|
} else if (type === 'image') {
|
1461
|
-
openFancyBox({url: content, altText: altText})
|
1532
|
+
openFancyBox({url: content, altText: altText, cmdHeadline: {show: true, headlineText: "Fancybox headline", headlineLevel: 3}})
|
1462
1533
|
}
|
1463
1534
|
},
|
1464
1535
|
getOptionName(option) {
|
@@ -1469,6 +1540,9 @@ export default {
|
|
1469
1540
|
}
|
1470
1541
|
return null
|
1471
1542
|
},
|
1543
|
+
submitNewsletterRegistration(event) {
|
1544
|
+
alert(event.subscription + " " + event.email)
|
1545
|
+
},
|
1472
1546
|
doSomething(event) {
|
1473
1547
|
event.preventDefault()
|
1474
1548
|
alert("Language changed!")
|
@@ -3,12 +3,15 @@
|
|
3
3
|
<div v-if="boxType === 'content'" :class="['cmd-box box content', {open : open, collapsible: collapsible, 'stretch-vertically': stretchVertically}]">
|
4
4
|
<template v-if="useSlots?.includes('header')">
|
5
5
|
<!-- begin collapsible header with slot -->
|
6
|
-
<
|
6
|
+
<div v-if="collapsible" class="box-header">
|
7
7
|
<!-- begin slot 'header' -->
|
8
8
|
<slot name="header"></slot>
|
9
9
|
<!-- end slot 'header' -->
|
10
|
-
|
11
|
-
|
10
|
+
|
11
|
+
<a href="#" @click.prevent="toggleContentVisibility" :title="open ? iconOpen.tooltip : iconClosed.tooltip" class="toggle-icon">
|
12
|
+
<span :class="[open ? iconOpen.iconClass : iconClosed.iconClass]"></span>
|
13
|
+
</a>
|
14
|
+
</div>
|
12
15
|
<!-- end collapsible header with slot -->
|
13
16
|
|
14
17
|
<!-- begin default header with slot -->
|
@@ -298,6 +301,12 @@ export default {
|
|
298
301
|
margin-bottom: 0;
|
299
302
|
}
|
300
303
|
|
304
|
+
&.collapsible {
|
305
|
+
.box-header {
|
306
|
+
justify-content: space-between;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
301
310
|
.box-body {
|
302
311
|
padding: var(--default-padding);
|
303
312
|
}
|
@@ -311,10 +320,6 @@ export default {
|
|
311
320
|
> *:last-child {
|
312
321
|
margin-bottom: 0;
|
313
322
|
}
|
314
|
-
|
315
|
-
&:not(.open) {
|
316
|
-
justify-content: flex-start;
|
317
|
-
}
|
318
323
|
}
|
319
324
|
|
320
325
|
> .box-header, > a {
|
@@ -338,13 +343,14 @@ export default {
|
|
338
343
|
|
339
344
|
> .toggle-icon, .toggle-icon > [class*="icon"] {
|
340
345
|
font-size: 1rem;
|
341
|
-
margin-left: auto;
|
342
346
|
}
|
347
|
+
}
|
343
348
|
|
349
|
+
.box-header {
|
344
350
|
&:hover, &:active, &:focus {
|
345
351
|
background: var(--pure-white);
|
346
352
|
|
347
|
-
|
353
|
+
* {
|
348
354
|
color: var(--primary-color);
|
349
355
|
}
|
350
356
|
}
|