comand-component-library 3.1.63 → 3.1.66
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 +48 -32
- package/src/assets/data/cookie-disclaimer.json +3 -3
- package/src/assets/data/list-of-links.json +0 -17
- package/src/components/CmdBox.vue +18 -5
- package/src/components/CmdBoxSiteSearch.vue +1 -1
- package/src/components/CmdCookieDisclaimer.vue +121 -91
- package/src/components/CmdFormElement.vue +34 -1
- package/src/components/CmdGoogleMaps.vue +0 -7
- package/src/components/CmdMultipleSwitch.vue +1 -1
- package/src/components/CmdUploadForm.vue +199 -110
- package/src/mixins/CmdUploadForm/DefaultMessageProperties.js +1 -1
- package/src/mixins/FieldValidation.js +7 -7
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "comand-component-library",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.66",
|
4
4
|
"private": false,
|
5
5
|
"scripts": {
|
6
6
|
"serve": "vue-cli-service serve",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
],
|
19
19
|
"dependencies": {
|
20
20
|
"clickout-event": "^1.1.2",
|
21
|
-
"comand-frontend-framework": "^3.2.
|
21
|
+
"comand-frontend-framework": "^3.2.48",
|
22
22
|
"core-js": "^3.20.1",
|
23
23
|
"prismjs": "^1.27.0",
|
24
24
|
"vue": "^3.2.31",
|
package/src/App.vue
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
<!--suppress HtmlUnknownTarget, NpmUsedModulesInstalled, JSUnresolvedVariable -->
|
2
2
|
<template>
|
3
3
|
<a id="anchor-back-to-top"></a>
|
4
|
-
<CmdSiteHeader :
|
5
|
-
<template v-slot:top-header>
|
6
|
-
<CmdTopHeaderNavigation :topHeaderNavigationData="topHeaderNavigationData" v-if="topHeaderNavigationData"/>
|
7
|
-
</template>
|
4
|
+
<CmdSiteHeader :cmdMainNavigation="navigationData" :sticky="true">
|
8
5
|
<template v-slot:logo>
|
9
|
-
<CmdCompanyLogo :link="companyLogoData.link"
|
10
|
-
|
6
|
+
<CmdCompanyLogo :link="companyLogoData.link"
|
7
|
+
altText="CoManD Logo"
|
8
|
+
:pathDefaultLogo="require('@/assets/images/logo.svg')"
|
9
|
+
:pathDarkmodeLogo="require('@/assets/images/logo-darkmode.svg')"
|
10
|
+
/>
|
11
11
|
</template>
|
12
12
|
</CmdSiteHeader>
|
13
13
|
<main>
|
@@ -594,7 +594,7 @@
|
|
594
594
|
<a id="section-bank-account-data"></a>
|
595
595
|
<CmdWidthLimitationWrapper>
|
596
596
|
<h2 class="headline-demopage">Bank Account Data</h2>
|
597
|
-
<CmdBankAccountData :account-data="bankAccountData" :cmd-custom-headline="{
|
597
|
+
<CmdBankAccountData :account-data="bankAccountData" :cmd-custom-headline="{ headlineText: 'Bank Account', headlineLevel: 3}" :allow-copy-by-click="true" />
|
598
598
|
</CmdWidthLimitationWrapper>
|
599
599
|
<!-- end bank account data ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
600
600
|
|
@@ -723,12 +723,12 @@
|
|
723
723
|
<a id="section-custom-headline"></a>
|
724
724
|
<CmdWidthLimitationWrapper>
|
725
725
|
<h2 class="headline-demopage">Custom Headline</h2>
|
726
|
-
<CmdCustomHeadline icon-class="icon-home" pre-headline="Pre-headline"
|
727
|
-
<CmdCustomHeadline
|
728
|
-
<CmdCustomHeadline
|
729
|
-
<CmdCustomHeadline
|
730
|
-
<CmdCustomHeadline
|
731
|
-
<CmdCustomHeadline
|
726
|
+
<CmdCustomHeadline icon-class="icon-home" pre-headline-text="Pre-headline" headlineText="Headline level 1" :headlineLevel="1"/>
|
727
|
+
<CmdCustomHeadline headlineText="Headline level 2" :headlineLevel="2"/>
|
728
|
+
<CmdCustomHeadline headlineText="Headline level 3" :headlineLevel="3"/>
|
729
|
+
<CmdCustomHeadline headlineText="Headline level 4" :headlineLevel="4"/>
|
730
|
+
<CmdCustomHeadline headlineText="Headline level 5" :headlineLevel="5"/>
|
731
|
+
<CmdCustomHeadline headlineText="Headline level 6" :headlineLevel="6"/>
|
732
732
|
</CmdWidthLimitationWrapper>
|
733
733
|
<!-- end custom-headline ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
734
734
|
|
@@ -748,7 +748,7 @@
|
|
748
748
|
<a id="section-google-maps-integration"></a>
|
749
749
|
<CmdWidthLimitationWrapper>
|
750
750
|
<h2 class="headline-demopage">Google Maps™-Integration</h2>
|
751
|
-
<CmdGoogleMaps :
|
751
|
+
<CmdGoogleMaps :address="addressData"/>
|
752
752
|
</CmdWidthLimitationWrapper>
|
753
753
|
|
754
754
|
<a id="section-image-gallery"></a>
|
@@ -818,9 +818,9 @@
|
|
818
818
|
<a id="section-system-message"></a>
|
819
819
|
<CmdWidthLimitationWrapper>
|
820
820
|
<h2 class="headline-demopage">System Message</h2>
|
821
|
-
<CmdSystemMessage
|
821
|
+
<CmdSystemMessage validationStatus="error"
|
822
822
|
:fullWidth="true"
|
823
|
-
|
823
|
+
systemMessage="This is an error message!"
|
824
824
|
:iconMessage="{iconClass: 'icon-error-circle'}">
|
825
825
|
<ul>
|
826
826
|
<li>Error #1</li>
|
@@ -828,14 +828,20 @@
|
|
828
828
|
<li>Error #3</li>
|
829
829
|
</ul>
|
830
830
|
</CmdSystemMessage>
|
831
|
-
<CmdSystemMessage
|
831
|
+
<CmdSystemMessage validationStatus="warning"
|
832
|
+
:fullWidth="true"
|
833
|
+
systemMessage="This is a warning message!">
|
832
834
|
<p>This is additional text!</p>
|
833
835
|
</CmdSystemMessage>
|
834
|
-
<CmdSystemMessage
|
836
|
+
<CmdSystemMessage validationStatus="success"
|
837
|
+
:fullWidth="true"
|
838
|
+
systemMessage="This is a success message!"
|
835
839
|
:iconMessage="{iconClass: 'icon-check-circle'}">
|
836
840
|
<p>This is additional text!</p>
|
837
841
|
</CmdSystemMessage>
|
838
|
-
<CmdSystemMessage
|
842
|
+
<CmdSystemMessage validationStatus="info"
|
843
|
+
:fullWidth="true"
|
844
|
+
systemMessage="This is an info message!"
|
839
845
|
:iconMessage="{iconClass: 'icon-info-circle'}">
|
840
846
|
<p>This is additional text!</p>
|
841
847
|
</CmdSystemMessage>
|
@@ -902,19 +908,21 @@
|
|
902
908
|
<CmdWidthLimitationWrapper>
|
903
909
|
<h2 class="headline-demopage">Upload-Form</h2>
|
904
910
|
<h3>Simple mode</h3>
|
905
|
-
<CmdUploadForm
|
911
|
+
<CmdUploadForm :cmdCustomHeadlineFieldset="{headlineText: 'Select files to upload', headlineLevel: 3}"
|
906
912
|
:enableDragAndDrop="true"
|
907
|
-
:allowedFileExtensions="['jpg']"
|
913
|
+
:allowedFileExtensions="['jpg', 'png']"
|
908
914
|
:allowMultipleFileUploads="true"
|
909
915
|
:advancedMode="false"
|
916
|
+
textLegend="Simple upload form"
|
910
917
|
@error="showError"
|
911
918
|
:uploadOptions="{url: 'http://localhost:8888'}"
|
912
919
|
/>
|
913
920
|
<h3>Advanced mode</h3>
|
914
921
|
<CmdUploadForm headline="Select files to upload"
|
915
922
|
:enableDragAndDrop="true"
|
916
|
-
:allowedFileExtensions="['jpg']"
|
923
|
+
:allowedFileExtensions="['jpg', 'png']"
|
917
924
|
:allowMultipleFileUploads="true"
|
925
|
+
textLegend="Advanced upload form"
|
918
926
|
:uploadOptions="{url: 'http://localhost:8888'}"
|
919
927
|
/>
|
920
928
|
</CmdWidthLimitationWrapper>
|
@@ -922,18 +930,26 @@
|
|
922
930
|
|
923
931
|
<CmdWidthLimitationWrapper id="site-footer" inner-component="footer">
|
924
932
|
<CmdSwitchLanguage :languages="languagesData" @click="doSomething"/>
|
925
|
-
<
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
933
|
+
<CmdListOfLinks :links="footerNavigationData"
|
934
|
+
:cmdCustomHeadline="{headlineText: 'List of links', headlineLevel: 6}"
|
935
|
+
/>
|
936
|
+
<CmdOpeningHours :openingHours="openingHoursData"
|
937
|
+
:closed="true"
|
938
|
+
:cmdCustomHeadline="{headlineText: 'Opening hours', headlineLevel: 6}"
|
939
|
+
textOpenClosed="Closed right now!"
|
940
|
+
textHolidaysClosed="Closed on holidays"
|
941
|
+
textMiscInfo="Miscellaneous information"
|
942
|
+
/>
|
943
|
+
<CmdAddressData :addressData="addressData"
|
944
|
+
:linkGoogleMaps="true"
|
945
|
+
:cmdCustomHeadline="{headlineText: 'Address data', headlineLevel: 6}"
|
946
|
+
/>
|
930
947
|
</CmdWidthLimitationWrapper>
|
931
948
|
|
932
949
|
<CmdCopyrightInformation/>
|
933
950
|
|
934
951
|
<CmdFancyBox :show="fancyBoxCookieDisclaimer" :fancyboxOptions="{}" :allowEscapeKey="false">
|
935
|
-
<CmdCookieDisclaimer
|
936
|
-
:cookieOptions="cookieDisclaimerData"
|
952
|
+
<CmdCookieDisclaimer :cookieOptions="cookieDisclaimerData"
|
937
953
|
buttonLabelAcceptAllCookies="Accept all cookies"
|
938
954
|
buttonLabelAcceptCurrentSettings="Accept current settings"
|
939
955
|
@closeCookieDisclaimer="fancyBoxCookieDisclaimer = false"
|
@@ -979,7 +995,6 @@ import tabsData from '@/assets/data/tabs.json'
|
|
979
995
|
import tableDataSmall from '@/assets/data/table-small.json'
|
980
996
|
import tableDataLarge from '@/assets/data/table-large.json'
|
981
997
|
import thumbnailScrollerData from '@/assets/data/thumbnail-scroller.json'
|
982
|
-
import topHeaderNavigationData from '@/assets/data/list-of-links-top-header-navigation.json'
|
983
998
|
|
984
999
|
// import used components
|
985
1000
|
import CmdAddressData from "@/components/CmdAddressData"
|
@@ -1023,10 +1038,12 @@ import {openFancyBox} from "@/components/CmdFancyBox"
|
|
1023
1038
|
|
1024
1039
|
// import external functions
|
1025
1040
|
import * as functions from "@/mixins/FieldValidation.js"
|
1041
|
+
import CmdListOfLinks from "./components/CmdListOfLinks";
|
1026
1042
|
|
1027
1043
|
export default {
|
1028
1044
|
name: "App",
|
1029
1045
|
components: {
|
1046
|
+
CmdListOfLinks,
|
1030
1047
|
CmdAddressData,
|
1031
1048
|
CmdBackToTopButton,
|
1032
1049
|
CmdBankAccountData,
|
@@ -1148,8 +1165,7 @@ export default {
|
|
1148
1165
|
tableDataSmall,
|
1149
1166
|
tableDataLarge,
|
1150
1167
|
tabsData,
|
1151
|
-
thumbnailScrollerData
|
1152
|
-
topHeaderNavigationData
|
1168
|
+
thumbnailScrollerData
|
1153
1169
|
}
|
1154
1170
|
},
|
1155
1171
|
methods: {
|
@@ -4,7 +4,7 @@
|
|
4
4
|
"cookies": [
|
5
5
|
{
|
6
6
|
"id": "cookie-sessionid",
|
7
|
-
"description": "
|
7
|
+
"description": "This cookie is required for functionality",
|
8
8
|
"labelText": "SessionID",
|
9
9
|
"checked": true,
|
10
10
|
"status": "disabled",
|
@@ -16,7 +16,7 @@
|
|
16
16
|
},
|
17
17
|
{
|
18
18
|
"id": "cookie-google-recaptcha",
|
19
|
-
"description": "This
|
19
|
+
"description": "This cookie prevents bots from sending forms",
|
20
20
|
"labelText": "Google reCaptcha™",
|
21
21
|
"checked": true,
|
22
22
|
"status": "disabled",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"cookies": [
|
35
35
|
{
|
36
36
|
"id": "cookie-google-maps",
|
37
|
-
"description": "
|
37
|
+
"description": "This cookie enables the Google Map™",
|
38
38
|
"labelText": "Google Maps™",
|
39
39
|
"checked": false,
|
40
40
|
"linkDataPrivacy": {
|
@@ -21,22 +21,5 @@
|
|
21
21
|
"path": "http://www.comand-cms.com",
|
22
22
|
"target": "_blank",
|
23
23
|
"tooltip": "Open CoManD-Website in new tab"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"type":"router",
|
27
|
-
"text": "Router-link with path",
|
28
|
-
"path": "/"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"type":"router",
|
32
|
-
"text": "Router-link with name",
|
33
|
-
"tooltip": "Go to homepage",
|
34
|
-
"route": {
|
35
|
-
"name": "home",
|
36
|
-
"params": {
|
37
|
-
"param1": "value",
|
38
|
-
"param2": "value"
|
39
|
-
}
|
40
|
-
}
|
41
24
|
}
|
42
25
|
]
|
@@ -1,11 +1,24 @@
|
|
1
1
|
<template>
|
2
2
|
<!-- begin boxType 'content' -->
|
3
3
|
<div v-if="boxType === 'content'" :class="['cmd-box box content', {open : open, collapsible: collapsible}]">
|
4
|
-
<
|
5
|
-
<!-- begin
|
6
|
-
<
|
7
|
-
|
8
|
-
|
4
|
+
<template v-if="useSlots?.includes('header')">
|
5
|
+
<!-- begin collapsible header with slot -->
|
6
|
+
<a v-if="collapsible" href="#" :title="open ? iconOpen.tooltip : iconClosed.tooltip" @click.prevent="toggleContentVisibility">
|
7
|
+
<!-- begin slot 'header' -->
|
8
|
+
<slot name="header"></slot>
|
9
|
+
<!-- end slot 'header' -->
|
10
|
+
<span class="toggle-icon" :class="[open ? iconOpen.iconClass : iconClosed.iconClass]"></span>
|
11
|
+
</a>
|
12
|
+
<!-- end collapsible header with slot -->
|
13
|
+
|
14
|
+
<!-- begin default header with slot -->
|
15
|
+
<header v-else>
|
16
|
+
<!-- begin slot 'header' -->
|
17
|
+
<slot name="header"></slot>
|
18
|
+
<!-- end slot 'header' -->
|
19
|
+
</header>
|
20
|
+
<!-- end default header with slot -->
|
21
|
+
</template>
|
9
22
|
<template v-else>
|
10
23
|
<!-- begin header for collapsible -->
|
11
24
|
<a v-if="collapsible" href="#" :title="open ? iconOpen.tooltip : iconClosed.tooltip" @click.prevent="toggleContentVisibility">
|
@@ -3,80 +3,84 @@
|
|
3
3
|
<div class="cmd-cookie-disclaimer flex-container vertical">
|
4
4
|
<!-- begin CmdCustomHeadline -->
|
5
5
|
<CmdCustomHeadline
|
6
|
-
v-if="
|
7
|
-
v-bind="
|
6
|
+
v-if="cmdCustomHeadlineCookieDisclaimer?.show && cmdCustomHeadlineCookieDisclaimer?.headlineText && cmdCustomHeadlineCookieDisclaimer?.headlineLevel"
|
7
|
+
v-bind="cmdCustomHeadlineCookieDisclaimer"
|
8
|
+
:headlineText="cmdCustomHeadlineCookieDisclaimer.headlineText"
|
9
|
+
:headlineLevel="cmdCustomHeadlineCookieDisclaimer.headlineLevel"
|
8
10
|
/>
|
9
11
|
<!-- end CmdCustomHeadline -->
|
10
12
|
|
11
13
|
<!-- begin slot for cookie-options -->
|
12
14
|
<slot name="cookie-options">
|
13
|
-
<div v-if="cookieOptions.required">
|
14
|
-
<
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
<!--
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
<!--
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
<!--
|
47
|
-
<!-- <!– end CmdAccordion –>-->
|
15
|
+
<div v-if="cookieOptions.required" class="flex-container vertical">
|
16
|
+
<CmdCustomHeadline v-if="cmdBoxRequiredCookies?.showHeadline" :headline-text="cmdBoxRequiredCookies?.headlineText" :headline-level="cmdBoxRequiredCookies?.headlineLevel "/>
|
17
|
+
<!-- begin CmdBox -->
|
18
|
+
<CmdBox v-for="(cookie, index) in cookieOptions.required.cookies"
|
19
|
+
:useSlots="['header', 'body']"
|
20
|
+
v-bind="cmdBoxRequiredCookies"
|
21
|
+
:key="index"
|
22
|
+
>
|
23
|
+
<template v-slot:header>
|
24
|
+
<!-- begin CmdSwitchButton -->
|
25
|
+
<CmdSwitchButton
|
26
|
+
type="checkbox"
|
27
|
+
:id="cookie.id"
|
28
|
+
:labelText="cookie.labelText"
|
29
|
+
v-model="cookie.checked"
|
30
|
+
:status="cookie.status"
|
31
|
+
disabled="disabled"
|
32
|
+
/>
|
33
|
+
<!-- end CmdSwitchButton -->
|
34
|
+
</template>
|
35
|
+
<template v-slot:body>
|
36
|
+
<p v-if="cookie.description">{{ cookie.description }}</p>
|
37
|
+
<p v-if="cookie.linkDataPrivacy">
|
38
|
+
{{ cookie.linkDataPrivacy.label }}
|
39
|
+
<a @click="openDataPrivacy"
|
40
|
+
:href="cookie.linkDataPrivacy.link"
|
41
|
+
:target="cookie.linkDataPrivacy.target">
|
42
|
+
{{ cookie.linkDataPrivacy.linkText }}
|
43
|
+
</a>
|
44
|
+
</p>
|
45
|
+
<div v-if="dataPrivacyContent" v-html="dataPrivacyContent"></div>
|
46
|
+
</template>
|
47
|
+
</CmdBox>
|
48
|
+
<!-- end CmdBox -->
|
48
49
|
</div>
|
49
|
-
<hr
|
50
|
-
<div v-if="cookieOptions.optional">
|
51
|
-
<
|
52
|
-
<!--
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<!--
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
<!--
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
50
|
+
<hr/>
|
51
|
+
<div v-if="cookieOptions.optional" class="flex-container vertical">
|
52
|
+
<CmdCustomHeadline v-if="cmdBoxOptionalCookies?.showHeadline" :headline-text="cmdBoxOptionalCookies?.headlineText" :headline-level="cmdBoxOptionalCookies?.headlineLevel "/>
|
53
|
+
<!-- begin CmdBox -->
|
54
|
+
<CmdBox v-for="(cookie, index) in cookieOptions.optional.cookies"
|
55
|
+
:useSlots="['header', 'body']"
|
56
|
+
v-bind="cmdBoxOptionalCookies"
|
57
|
+
:key="index"
|
58
|
+
>
|
59
|
+
<template v-slot:header>
|
60
|
+
<!-- begin CmdSwitchButton -->
|
61
|
+
<CmdSwitchButton
|
62
|
+
type="checkbox"
|
63
|
+
:id="cookie.id"
|
64
|
+
:labelText="cookie.labelText"
|
65
|
+
v-model="cookie.checked"
|
66
|
+
:status="cookie.status"
|
67
|
+
/>
|
68
|
+
<!-- end CmdSwitchButton -->
|
69
|
+
</template>
|
70
|
+
<template v-slot:body>
|
71
|
+
<p v-if="cookie.description">{{ cookie.description }}</p>
|
72
|
+
<p v-if="cookie.linkDataPrivacy">
|
73
|
+
{{ cookie.linkDataPrivacy.label }}
|
74
|
+
<a @click="openDataPrivacy"
|
75
|
+
:href="cookie.linkDataPrivacy.link"
|
76
|
+
:target="cookie.linkDataPrivacy.target">
|
77
|
+
{{ cookie.linkDataPrivacy.linkText }}
|
78
|
+
</a>
|
79
|
+
</p>
|
80
|
+
<div v-if="dataPrivacyContent" v-html="dataPrivacyContent"></div>
|
81
|
+
</template>
|
82
|
+
</CmdBox>
|
83
|
+
<!-- end CmdBox -->
|
80
84
|
</div>
|
81
85
|
</slot>
|
82
86
|
<!-- end slot for cookie-options -->
|
@@ -87,7 +91,7 @@
|
|
87
91
|
|
88
92
|
<!-- begin button-wrapper for 'accept'-buttons -->
|
89
93
|
<div class="button-wrapper align-center">
|
90
|
-
<button
|
94
|
+
<button v-if="buttonLabelAcceptCurrentSettings" type="button" @click="acceptCookies('currentSettings')">
|
91
95
|
<span>{{ buttonLabelAcceptCurrentSettings }}</span>
|
92
96
|
</button>
|
93
97
|
<button v-if="buttonLabelAcceptAllCookies" type="button" class="primary" @click="acceptCookies('allCookies')">
|
@@ -101,14 +105,16 @@
|
|
101
105
|
|
102
106
|
<script>
|
103
107
|
// import components
|
108
|
+
import CmdBox from "./CmdBox"
|
104
109
|
import CmdCustomHeadline from "./CmdCustomHeadline"
|
105
|
-
|
110
|
+
import CmdSwitchButton from "./CmdSwitchButton"
|
106
111
|
|
107
112
|
export default {
|
108
113
|
name: "CmdCookieDisclaimer",
|
109
114
|
components: {
|
110
|
-
|
111
|
-
|
115
|
+
CmdBox,
|
116
|
+
CmdCustomHeadline,
|
117
|
+
CmdSwitchButton
|
112
118
|
},
|
113
119
|
data() {
|
114
120
|
return {
|
@@ -118,11 +124,45 @@ export default {
|
|
118
124
|
},
|
119
125
|
props: {
|
120
126
|
/**
|
121
|
-
* properties for CmdCustomHeadline-component
|
127
|
+
* properties for CmdCustomHeadline-component at top of cookie disclaimer
|
122
128
|
*/
|
123
|
-
|
129
|
+
cmdCustomHeadlineCookieDisclaimer: {
|
124
130
|
type: Object,
|
125
|
-
|
131
|
+
default() {
|
132
|
+
return {
|
133
|
+
show: true,
|
134
|
+
headlineText: "Cookie disclaimer",
|
135
|
+
headlineLevel: 2
|
136
|
+
}
|
137
|
+
}
|
138
|
+
},
|
139
|
+
/**
|
140
|
+
* property for CmdBox-component surrounding the required cookies
|
141
|
+
*/
|
142
|
+
cmdBoxRequiredCookies: {
|
143
|
+
type: Object,
|
144
|
+
default() {
|
145
|
+
return {
|
146
|
+
collapsible: true,
|
147
|
+
showHeadline: true,
|
148
|
+
headlineText: "Required cookies",
|
149
|
+
headlineLevel: 3
|
150
|
+
}
|
151
|
+
}
|
152
|
+
},
|
153
|
+
/**
|
154
|
+
* property for CmdBox-component surrounding the optional cookies
|
155
|
+
*/
|
156
|
+
cmdBoxOptionalCookies: {
|
157
|
+
type: Object,
|
158
|
+
default() {
|
159
|
+
return {
|
160
|
+
collapsible: true,
|
161
|
+
showHeadline: true,
|
162
|
+
headlineText: "Optional cookies",
|
163
|
+
headlineLevel: 3
|
164
|
+
}
|
165
|
+
}
|
126
166
|
},
|
127
167
|
/**
|
128
168
|
* list of cookie-options
|
@@ -175,6 +215,12 @@ export default {
|
|
175
215
|
bottom: 0;
|
176
216
|
top: auto;
|
177
217
|
|
218
|
+
.cmd-box {
|
219
|
+
.box-body {
|
220
|
+
padding: var(--default-padding);
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
178
224
|
h1 {
|
179
225
|
text-align: center;
|
180
226
|
}
|
@@ -191,22 +237,6 @@ export default {
|
|
191
237
|
margin-bottom: var(--default-margin);
|
192
238
|
}
|
193
239
|
|
194
|
-
.cmd-accordion {
|
195
|
-
.accordion-headline {
|
196
|
-
&:hover, &:active, &:focus {
|
197
|
-
label, .label {
|
198
|
-
span {
|
199
|
-
color: var(--pure-white) !important;
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|
204
|
-
|
205
|
-
.toggle-switch {
|
206
|
-
display: flex;
|
207
|
-
}
|
208
|
-
}
|
209
|
-
|
210
240
|
p {
|
211
241
|
a {
|
212
242
|
text-decoration: underline;
|
@@ -546,7 +546,40 @@ export default {
|
|
546
546
|
tooltip: "Info"
|
547
547
|
}
|
548
548
|
}
|
549
|
-
}
|
549
|
+
},
|
550
|
+
/**
|
551
|
+
* icon to toggle password-visibility
|
552
|
+
*
|
553
|
+
* element-property must me set to 'input'
|
554
|
+
* type-property must be set to 'password'
|
555
|
+
*
|
556
|
+
*/
|
557
|
+
iconPasswordVisible: {
|
558
|
+
type: Object,
|
559
|
+
default() {
|
560
|
+
return {
|
561
|
+
show: true,
|
562
|
+
iconClass: "icon-visible",
|
563
|
+
tooltip: "Show password"
|
564
|
+
}
|
565
|
+
}
|
566
|
+
},
|
567
|
+
/**
|
568
|
+
* icon to toggle password-visibility
|
569
|
+
*
|
570
|
+
* element-property must me set to 'input'
|
571
|
+
* type-property must be set to 'password'
|
572
|
+
*
|
573
|
+
*/
|
574
|
+
iconPasswordInvisible: {
|
575
|
+
type: Object,
|
576
|
+
default() {
|
577
|
+
return {
|
578
|
+
show: true,
|
579
|
+
iconClass: "icon-not-visible",
|
580
|
+
}
|
581
|
+
}
|
582
|
+
},
|
550
583
|
},
|
551
584
|
computed: {
|
552
585
|
buttonAttrs() {
|
@@ -34,13 +34,6 @@ export default {
|
|
34
34
|
/* begin cmd-google-maps ---------------------------------------------------------------------------------------- */
|
35
35
|
.cmd-google-maps {
|
36
36
|
border: var(--default-border);
|
37
|
-
|
38
|
-
iframe {
|
39
|
-
display: block;
|
40
|
-
width: 100%;
|
41
|
-
height: 100%;
|
42
|
-
}
|
43
37
|
}
|
44
|
-
|
45
38
|
/* end cmd-google-maps ------------------------------------------------------------------------------------------ */
|
46
39
|
</style>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<div :class="['label', 'multiple-switch', {disabled: status === 'disabled', error: status === 'error'}]">
|
3
|
-
<span :class="{hidden: !
|
3
|
+
<span :class="{hidden: !showLabel}">{{ labelText }}</span>
|
4
4
|
<span class="flex-container no-gap no-flex">
|
5
5
|
<label :class="{disabled: status === 'disabled'}" :for="multipleswitch.id"
|
6
6
|
v-for="(multipleswitch, index) in multipleSwitches" :key="index">
|