comand-component-library 3.1.88 → 3.1.91
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 +88 -17
- package/src/assets/data/main-navigation.json +1 -0
- package/src/assets/data/opening-hours.json +1 -1
- package/src/assets/data/tabs.json +1 -0
- package/src/assets/styles/global-styles.scss +6 -0
- package/src/components/CmdBankAccountData.vue +3 -2
- package/src/components/CmdBox.vue +12 -7
- package/src/components/CmdBoxSiteSearch.vue +2 -1
- package/src/components/CmdCookieDisclaimer.vue +19 -6
- package/src/components/CmdFakeSelect.vue +11 -19
- package/src/components/CmdFancyBox.vue +46 -13
- package/src/components/CmdFormElement.vue +17 -29
- package/src/components/CmdImageGallery.vue +2 -2
- package/src/components/CmdInputGroup.vue +9 -16
- package/src/components/CmdLoginForm.vue +1 -1
- package/src/components/CmdMainNavigation.vue +30 -48
- package/src/components/CmdMultipleSwitch.vue +4 -12
- package/src/components/CmdNewsletterSubscription.vue +199 -0
- package/src/components/CmdOpeningHours.vue +31 -7
- package/src/components/CmdShareButtons.vue +100 -27
- package/src/components/CmdSiteHeader.vue +2 -1
- package/src/components/CmdSystemMessage.vue +6 -0
- package/src/components/CmdTabs.vue +9 -6
- package/src/components/CmdThumbnailScroller.vue +9 -1
- package/src/components/CmdTooltip.vue +1 -1
- package/src/components/CmdWidthLimitationWrapper.vue +2 -2
- package/src/directives/scrollPadding.js +6 -0
- package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +10 -0
- package/src/documentation/generated/CmdFormElementPropertyDescriptions.json +0 -5
- package/src/documentation/generated/CmdNewsletterSubscriptionPropertyDescriptions.json +42 -0
- package/src/documentation/generated/CmdOpeningHoursPropertyDescriptions.json +5 -0
- package/src/documentation/generated/CmdShareButtonsPropertyDescriptions.json +24 -0
- package/src/main.js +3 -1
- package/src/mixins/CmdThumbnailScroller/DefaultMessageProperties.js +9 -0
- package/src/mixins/FieldValidation.js +10 -3
- package/src/mixins/I18n.js +3 -2
- 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.91",
|
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>
|
@@ -57,6 +64,8 @@
|
|
57
64
|
</div>
|
58
65
|
<hr/>
|
59
66
|
</CmdWidthLimitationWrapper>
|
67
|
+
<!-- end width-limitation-wrapper (with table of contents) --------------------------------------------------------------------------------------------------------------------------------------------------->
|
68
|
+
|
60
69
|
<!-- begin advanced form elements --------------------------------------------------------------------------------------------------------------------------------------------------->
|
61
70
|
<a id="section-advanced-form-elements"></a>
|
62
71
|
<CmdWidthLimitationWrapper>
|
@@ -631,13 +640,13 @@
|
|
631
640
|
<dl>
|
632
641
|
<dt>Selected value(s):</dt>
|
633
642
|
<dd>
|
634
|
-
<output>{{
|
643
|
+
<output>{{ inputGroupRadio }}</output>
|
635
644
|
</dd>
|
636
645
|
</dl>
|
637
646
|
<CmdInputGroup
|
638
647
|
labelText="Grouplabel for radio-group given by property:"
|
639
648
|
:required="true"
|
640
|
-
:inputElements="
|
649
|
+
:inputElements="idForReplacedInputsInInputGroup('radio-group')"
|
641
650
|
inputTypes="radio"
|
642
651
|
v-model="inputGroupCheckbox"
|
643
652
|
:status="validationStatus"
|
@@ -646,13 +655,13 @@
|
|
646
655
|
<dl>
|
647
656
|
<dt>Selected value:</dt>
|
648
657
|
<dd>
|
649
|
-
<output>{{
|
658
|
+
<output>{{ inputGroupCheckbox }}</output>
|
650
659
|
</dd>
|
651
660
|
</dl>
|
652
661
|
<h3>Input Group with Checkboxes/Radiobuttons (replaced)</h3>
|
653
662
|
<CmdInputGroup
|
654
663
|
labelText="Grouplabel for radio-group styled as replaced-input-type:"
|
655
|
-
:inputElements="
|
664
|
+
:inputElements="idForReplacedInputsInInputGroup('replaced-radio-group')"
|
656
665
|
inputTypes="radio"
|
657
666
|
v-model="inputGroupValueReplaceInputTypeRadio"
|
658
667
|
:replaceInputType="true"
|
@@ -667,7 +676,7 @@
|
|
667
676
|
</dl>
|
668
677
|
<CmdInputGroup
|
669
678
|
labelText="Grouplabel for checkbox-group styled as replaced-input-type:"
|
670
|
-
:inputElements="
|
679
|
+
:inputElements="idForReplacedInputsInInputGroup('checkbox-group')"
|
671
680
|
inputTypes="checkbox"
|
672
681
|
v-model="inputGroupValueReplaceInputTypeCheckbox"
|
673
682
|
:replaceInputType="true"
|
@@ -685,7 +694,7 @@
|
|
685
694
|
Radiobuttons (toggle-switches)</h3>
|
686
695
|
<CmdInputGroup
|
687
696
|
labelText="Grouplabel for checkbox-group styled as toggle-switches:"
|
688
|
-
:inputElements="
|
697
|
+
:inputElements="idForReplacedInputsInInputGroup('checkbox-group-toggle-switch')"
|
689
698
|
inputTypes="checkbox"
|
690
699
|
v-model="inputGroupValueToggleSwitchCheckbox"
|
691
700
|
:toggleSwitch="true"
|
@@ -701,7 +710,7 @@
|
|
701
710
|
</dl>
|
702
711
|
<CmdInputGroup
|
703
712
|
labelText="Grouplabel for radio-group styled as toggle-switches:"
|
704
|
-
:inputElements="
|
713
|
+
:inputElements="idForReplacedInputsInInputGroup('radio-group-toggle-switch')"
|
705
714
|
inputTypes="radio"
|
706
715
|
v-model="inputGroupValueToggleSwitchRadio"
|
707
716
|
:toggleSwitch="true"
|
@@ -717,7 +726,7 @@
|
|
717
726
|
</dl>
|
718
727
|
<CmdInputGroup
|
719
728
|
labelText="Grouplabel for radio-group given by property styled as multiple-switch:"
|
720
|
-
:inputElements="
|
729
|
+
:inputElements="idForReplacedInputsInInputGroup('radio-group-multiple-switch')"
|
721
730
|
inputTypes="radio"
|
722
731
|
:multipleSwitch="true"
|
723
732
|
v-model="inputGroupValue3"
|
@@ -774,7 +783,7 @@
|
|
774
783
|
<a id="section-bank-account-data"></a>
|
775
784
|
<CmdWidthLimitationWrapper>
|
776
785
|
<h2 class="headline-demopage">Bank Account Data</h2>
|
777
|
-
<CmdBankAccountData :account-data="bankAccountData" :cmd-
|
786
|
+
<CmdBankAccountData :account-data="bankAccountData" :cmd-headline="{ headlineText: 'Bank Account', headlineLevel: 3}" :allow-copy-by-click="true"/>
|
778
787
|
</CmdWidthLimitationWrapper>
|
779
788
|
<!-- end bank account data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
780
789
|
|
@@ -831,7 +840,7 @@
|
|
831
840
|
</CmdBox>
|
832
841
|
</div>
|
833
842
|
<div class="grid-small-item">
|
834
|
-
<CmdBox :
|
843
|
+
<CmdBox :cmdHeadline="{headlineText: 'nase', headlineLevel: 4}" :collapsible="true" :stretchVertically="false">
|
835
844
|
<template v-slot:header>
|
836
845
|
<h3>
|
837
846
|
Collapsible box with image
|
@@ -981,8 +990,9 @@
|
|
981
990
|
<h3>Horizontal (aligned right)</h3>
|
982
991
|
<CmdListOfLinks orientation="horizontal" align="right" :links="listOfLinksData"/>
|
983
992
|
</CmdWidthLimitationWrapper>
|
984
|
-
<!-- end list-of-links
|
993
|
+
<!-- end list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
985
994
|
|
995
|
+
<!-- begin main-navigation ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
986
996
|
<a id="section-main-navigation"></a>
|
987
997
|
<CmdWidthLimitationWrapper>
|
988
998
|
<h2 class="headline-demopage">Main Navigation</h2>
|
@@ -991,7 +1001,9 @@
|
|
991
1001
|
:navigationEntries="navigationData"
|
992
1002
|
/>
|
993
1003
|
</CmdWidthLimitationWrapper>
|
1004
|
+
<!-- end main-navigation ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
994
1005
|
|
1006
|
+
<!-- begin multistep-form-progress-bar ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
995
1007
|
<a id="section-multistep-form-progress-bar"></a>
|
996
1008
|
<CmdWidthLimitationWrapper>
|
997
1009
|
<h2 class="headline-demopage">Multistepform-Progressbar</h2>
|
@@ -1001,7 +1013,19 @@
|
|
1001
1013
|
<p>Page {{ showPageMultistep }}</p>
|
1002
1014
|
</div>
|
1003
1015
|
</CmdWidthLimitationWrapper>
|
1016
|
+
<!-- end multistep-form-progress-bar ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1017
|
+
|
1018
|
+
<!-- begin newsletter-subscription ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1019
|
+
<a id="section-newsletter-subscription"></a>
|
1020
|
+
<CmdWidthLimitationWrapper>
|
1021
|
+
<h2 class="headline-demopage">Newsletter Subscription</h2>
|
1022
|
+
<CmdForm textLegend="Stay-up-to-date">
|
1023
|
+
<CmdNewsletterSubscription v-model="newsletter" buttonType="submit" @buttonClick="submitNewsletterRegistration" />
|
1024
|
+
</CmdForm>
|
1025
|
+
</CmdWidthLimitationWrapper>
|
1026
|
+
<!-- end newsletter-subscription ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1004
1027
|
|
1028
|
+
<!-- begin pager ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1005
1029
|
<a id="section-pager"></a>
|
1006
1030
|
<CmdWidthLimitationWrapper>
|
1007
1031
|
<h2 class="headline-demopage">Pager</h2>
|
@@ -1014,19 +1038,25 @@
|
|
1014
1038
|
@click="showPagePager = $event"
|
1015
1039
|
/>
|
1016
1040
|
</CmdWidthLimitationWrapper>
|
1041
|
+
<!-- end pager ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1017
1042
|
|
1043
|
+
<!-- begin share-buttons ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1018
1044
|
<a id="section-share-buttons"></a>
|
1019
1045
|
<CmdWidthLimitationWrapper>
|
1020
1046
|
<h2 class="headline-demopage">Share buttons</h2>
|
1021
1047
|
<CmdShareButtons :share-buttons="shareButtonsData"/>
|
1022
1048
|
</CmdWidthLimitationWrapper>
|
1049
|
+
<!-- end share-buttons ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
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,34 +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"
|
1204
|
+
:checkInterval="0"
|
1155
1205
|
/>
|
1206
|
+
<!-- end opening-hours ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1207
|
+
|
1208
|
+
<!-- begin address-data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1156
1209
|
<CmdAddressData :addressData="addressData"
|
1157
1210
|
:linkGoogleMaps="false"
|
1158
1211
|
:cmdHeadline="{headlineText: 'Address data', headlineLevel: 6}"
|
1159
1212
|
/>
|
1213
|
+
<!-- end address-data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1160
1214
|
</div>
|
1161
1215
|
</CmdSiteFooter>
|
1216
|
+
<!-- end site-footer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1162
1217
|
|
1218
|
+
<!-- begin copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1163
1219
|
<CmdCopyrightInformation/>
|
1220
|
+
<!-- end copyright-information ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1164
1221
|
|
1165
|
-
|
1222
|
+
<!-- begin fancy-box ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1223
|
+
<CmdFancyBox :show="fancyBoxCookieDisclaimer" :fancyboxOptions="{}" :allowEscapeKey="false" :cmdHeadline="{show: true, headlineText: 'Cookie Disclaimer', headlineLevel: 2}">
|
1224
|
+
<!-- begin cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1166
1225
|
<CmdCookieDisclaimer :cookieOptions="cookieDisclaimerData"
|
1167
1226
|
buttonLabelAcceptAllCookies="Accept all cookies"
|
1168
1227
|
buttonLabelAcceptCurrentSettings="Accept current settings"
|
1169
1228
|
@closeCookieDisclaimer="closeCookieDisclaimer"
|
1170
1229
|
v-model="acceptedCookies"
|
1230
|
+
:cmdHeadlineCookieDisclaimer="{ show: false }"
|
1171
1231
|
|
1172
1232
|
>
|
1173
1233
|
<template #privacy-text>
|
@@ -1178,7 +1238,9 @@
|
|
1178
1238
|
</p>
|
1179
1239
|
</template>
|
1180
1240
|
</CmdCookieDisclaimer>
|
1241
|
+
<!-- end cookie-disclaimer ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1181
1242
|
</CmdFancyBox>
|
1243
|
+
<!-- end fancy-box ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
1182
1244
|
</div>
|
1183
1245
|
</template>
|
1184
1246
|
|
@@ -1238,6 +1300,7 @@ import CmdLoginForm from "@/components/CmdLoginForm.vue"
|
|
1238
1300
|
import CmdListOfLinks from "./components/CmdListOfLinks"
|
1239
1301
|
import CmdMainNavigation from "@/components/CmdMainNavigation.vue"
|
1240
1302
|
import CmdMultistepFormProgressBar from "@/components/CmdMultistepFormProgressBar.vue"
|
1303
|
+
import CmdNewsletterSubscription from "@/components/CmdNewsletterSubscription.vue"
|
1241
1304
|
import CmdOpeningHours from "@/components/CmdOpeningHours"
|
1242
1305
|
import CmdPager from "@/components/CmdPager.vue"
|
1243
1306
|
import CmdProgressBar from "@/components/CmdProgressBar.vue"
|
@@ -1287,6 +1350,7 @@ export default {
|
|
1287
1350
|
CmdLoginForm,
|
1288
1351
|
CmdMainNavigation,
|
1289
1352
|
CmdMultistepFormProgressBar,
|
1353
|
+
CmdNewsletterSubscription,
|
1290
1354
|
CmdOpeningHours,
|
1291
1355
|
CmdPager,
|
1292
1356
|
CmdProgressBar,
|
@@ -1311,6 +1375,10 @@ export default {
|
|
1311
1375
|
showTooltip: false,
|
1312
1376
|
disabledStatus: undefined,
|
1313
1377
|
validationStatus: "",
|
1378
|
+
newsletter: {
|
1379
|
+
subscription: "",
|
1380
|
+
email: ""
|
1381
|
+
},
|
1314
1382
|
inputFieldPattern: "",
|
1315
1383
|
inputSearch: "",
|
1316
1384
|
textarea: "",
|
@@ -1418,7 +1486,6 @@ export default {
|
|
1418
1486
|
fakeSelectOptionsWithIconsData,
|
1419
1487
|
listOfLinksData,
|
1420
1488
|
imageGalleryData,
|
1421
|
-
inputGroupRadiobuttonsData,
|
1422
1489
|
inputGroupReplacedRadiobuttonsData,
|
1423
1490
|
inputGroupToggleSwitchRadiobuttonsData,
|
1424
1491
|
languagesData,
|
@@ -1438,6 +1505,9 @@ export default {
|
|
1438
1505
|
localizedTime(language) {
|
1439
1506
|
return (h, m) => (localizedTime(language))(h, m).toLowerCase()
|
1440
1507
|
},
|
1508
|
+
idForReplacedInputsInInputGroup(prefix) {
|
1509
|
+
return inputGroupRadiobuttonsData.map(item => ({...item, id: prefix + item.id}))
|
1510
|
+
},
|
1441
1511
|
closeCookieDisclaimer(event) {
|
1442
1512
|
this.fancyBoxCookieDisclaimer = false
|
1443
1513
|
alert(event.join(", "))
|
@@ -1455,9 +1525,9 @@ export default {
|
|
1455
1525
|
},
|
1456
1526
|
showFancyBox(type, content, altText) {
|
1457
1527
|
if (type === 'text') {
|
1458
|
-
openFancyBox({content: content})
|
1528
|
+
openFancyBox({content: content, cmdHeadline: {show: true, headlineText: "Fancybox headline", headlineLevel: 3}})
|
1459
1529
|
} else if (type === 'image') {
|
1460
|
-
openFancyBox({url: content, altText: altText})
|
1530
|
+
openFancyBox({url: content, altText: altText, cmdHeadline: {show: true, headlineText: "Fancybox headline", headlineLevel: 3}})
|
1461
1531
|
}
|
1462
1532
|
},
|
1463
1533
|
getOptionName(option) {
|
@@ -1468,6 +1538,9 @@ export default {
|
|
1468
1538
|
}
|
1469
1539
|
return null
|
1470
1540
|
},
|
1541
|
+
submitNewsletterRegistration(event) {
|
1542
|
+
alert(event.subscription + " " + event.email)
|
1543
|
+
},
|
1471
1544
|
doSomething(event) {
|
1472
1545
|
event.preventDefault()
|
1473
1546
|
alert("Language changed!")
|
@@ -1491,8 +1564,6 @@ export default {
|
|
1491
1564
|
</script>
|
1492
1565
|
|
1493
1566
|
<style lang="scss">
|
1494
|
-
|
1495
|
-
|
1496
1567
|
.list-status {
|
1497
1568
|
.active {
|
1498
1569
|
color: var(--text-color);
|
@@ -51,6 +51,12 @@
|
|
51
51
|
}
|
52
52
|
}
|
53
53
|
|
54
|
+
#component-library {
|
55
|
+
border: 1px solid red;
|
56
|
+
scroll-padding-top: unset !important;
|
57
|
+
scroll-snap-type: unset !important;
|
58
|
+
}
|
59
|
+
|
54
60
|
body, .cmd-site-header, .cmd-site-footer, .cmd-copyright-information {
|
55
61
|
transition: background linear .5s;
|
56
62
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<dl>
|
9
9
|
<template v-for="(entry, index) in accountData" :key="index">
|
10
10
|
<dt>{{ entry.text }}</dt>
|
11
|
-
<dd v-if="allowCopyByClick && entry.allowCopy"
|
11
|
+
<dd v-if="allowCopyByClick && entry.allowCopy">
|
12
12
|
<span>{{ entry.value }}</span>
|
13
13
|
<a href="#" @click.prevent="copyToClipboard(entry.value)" :title="iconCopy.tooltip">
|
14
14
|
<span :class="iconCopy.iconClass"></span>
|
@@ -92,7 +92,8 @@ export default {
|
|
92
92
|
<style lang="scss">
|
93
93
|
/* begin cmd-bank-account-data ---------------------------------------------------------------------------------------- */
|
94
94
|
.cmd-bank-account-data {
|
95
|
-
dd
|
95
|
+
dd {
|
96
|
+
display: flex;
|
96
97
|
gap: calc(var(--default-gap) / 2);
|
97
98
|
|
98
99
|
> span {
|
@@ -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 {
|
@@ -71,9 +71,10 @@
|
|
71
71
|
<span v-else>{{ getMessage("cmdsitesearch.show_filter_options") }}</span>
|
72
72
|
</a>
|
73
73
|
<transition name="fade">
|
74
|
-
<div v-if="showFilters && cmdFakeSelect?.selectData.length" class="flex-container no-flex" aria-expanded="true">
|
74
|
+
<div v-if="showFilters && cmdFakeSelect?.selectData.length" class="flex-container no-flex" role="listbox" aria-expanded="true">
|
75
75
|
<!-- begin CmdFakeSelect -->
|
76
76
|
<CmdFakeSelect
|
77
|
+
role="option"
|
77
78
|
:selectData="cmdFakeSelect?.selectData"
|
78
79
|
v-model="searchFilters"
|
79
80
|
:defaultOptionName="cmdFakeSelect?.defaultOptionName"
|
@@ -4,7 +4,6 @@
|
|
4
4
|
<!-- begin CmdHeadline -->
|
5
5
|
<CmdHeadline
|
6
6
|
v-if="cmdHeadlineCookieDisclaimer?.show && cmdHeadlineCookieDisclaimer?.headlineText && cmdHeadlineCookieDisclaimer?.headlineLevel"
|
7
|
-
v-bind="cmdHeadlineCookieDisclaimer"
|
8
7
|
:headlineText="cmdHeadlineCookieDisclaimer.headlineText"
|
9
8
|
:headlineLevel="cmdHeadlineCookieDisclaimer.headlineLevel"
|
10
9
|
/>
|
@@ -14,11 +13,18 @@
|
|
14
13
|
<slot name="cookie-options">
|
15
14
|
<!-- begin required cookies -->
|
16
15
|
<div v-if="cookieOptions?.required" class="flex-container vertical">
|
17
|
-
|
16
|
+
<!-- begin CmdHeadline -->
|
17
|
+
<CmdHeadline
|
18
|
+
v-if="cmdBoxRequiredCookies?.showHeadline"
|
19
|
+
:headline-text="cmdBoxRequiredCookies?.headlineText"
|
20
|
+
:headline-level="cmdBoxRequiredCookies?.headlineLevel "
|
21
|
+
/>
|
22
|
+
<!-- end CmdHeadline -->
|
23
|
+
|
18
24
|
<!-- begin CmdBox -->
|
19
25
|
<CmdBox v-for="(cookie, index) in cookieOptions.required.cookies || []"
|
20
26
|
:useSlots="['header', 'body']"
|
21
|
-
|
27
|
+
:collapsible="cmdBoxRequiredCookies?.collapsible"
|
22
28
|
:key="index"
|
23
29
|
>
|
24
30
|
<template v-slot:header>
|
@@ -57,11 +63,18 @@
|
|
57
63
|
|
58
64
|
<!-- begin optional cookies -->
|
59
65
|
<div v-if="cookieOptions?.optional" class="flex-container vertical">
|
60
|
-
|
66
|
+
<!-- begin CmdHeadline -->
|
67
|
+
<CmdHeadline
|
68
|
+
v-if="cmdBoxOptionalCookies?.showHeadline"
|
69
|
+
:headline-text="cmdBoxOptionalCookies?.headlineText"
|
70
|
+
:headline-level="cmdBoxOptionalCookies?.headlineLevel
|
71
|
+
"/>
|
72
|
+
<!-- end CmdHeadline -->
|
73
|
+
|
61
74
|
<!-- begin CmdBox -->
|
62
75
|
<CmdBox v-for="(cookie, index) in cookieOptions.optional.cookies || []"
|
63
76
|
:useSlots="['header', 'body']"
|
64
|
-
|
77
|
+
:collapsible="cmdBoxOptionalCookies?.collapsible"
|
65
78
|
:key="index"
|
66
79
|
>
|
67
80
|
<template v-slot:header>
|
@@ -172,7 +185,7 @@ export default {
|
|
172
185
|
showHeadline: true,
|
173
186
|
headlineText: "Required cookies",
|
174
187
|
headlineLevel: 3
|
175
|
-
|
188
|
+
}
|
176
189
|
}
|
177
190
|
},
|
178
191
|
/**
|