comand-component-library 4.2.50 → 4.2.52
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.js +2663 -2332
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/ComponentLibrary.vue +639 -1267
- package/src/assets/data/box-product.json +15 -10
- package/src/assets/data/box-user.json +8 -8
- package/src/assets/data/list-of-tags.json +1 -1
- package/src/assets/data/pages/boxes-team-overview.json +8 -8
- package/src/componentSettingsDataAndControls.vue +82 -10
- package/src/components/CmdAddressData.vue +2 -0
- package/src/components/CmdAddressDataItem.vue +2 -1
- package/src/components/CmdBackToTopButton.vue +12 -3
- package/src/components/CmdBankAccountData.vue +2 -0
- package/src/components/CmdBasicForm.vue +6 -2
- package/src/components/CmdBox.vue +62 -35
- package/src/components/CmdBoxWrapper.vue +6 -0
- package/src/components/CmdBreadcrumbs.vue +2 -0
- package/src/components/CmdCodeOutput.vue +2 -0
- package/src/components/CmdCompanyLogo.vue +2 -0
- package/src/components/CmdContainer.vue +100 -87
- package/src/components/CmdCookieDisclaimer.vue +12 -1
- package/src/components/CmdCopyrightInformation.vue +2 -0
- package/src/components/CmdFakeSelect.vue +10 -6
- package/src/components/CmdFancyBox.vue +2 -0
- package/src/components/CmdFlexibleScrollContainer.vue +2 -0
- package/src/components/CmdForm.vue +2 -0
- package/src/components/CmdFormElement.vue +11 -1
- package/src/components/CmdFormFilters.vue +2 -0
- package/src/components/CmdGoogleMaps.vue +2 -0
- package/src/components/CmdHeadline.vue +23 -1
- package/src/components/CmdIcon.vue +2 -0
- package/src/components/CmdImage.vue +3 -0
- package/src/components/CmdImageGallery.vue +3 -1
- package/src/components/CmdImageZoom.vue +2 -0
- package/src/components/CmdInnerLink.vue +2 -0
- package/src/components/CmdInputGroup.vue +2 -0
- package/src/components/CmdLink.vue +16 -10
- package/src/components/CmdList.vue +168 -86
- package/src/components/CmdListOfLinksItem.vue +2 -0
- package/src/components/CmdListOfRequirements.vue +2 -0
- package/src/components/CmdLoginForm.vue +2 -2
- package/src/components/CmdMailTool.vue +2 -0
- package/src/components/CmdMailToolEntry.vue +2 -1
- package/src/components/CmdMailToolFilter.vue +2 -0
- package/src/components/CmdMainNavigation.vue +2 -0
- package/src/components/CmdMultistepFormProgressBar.vue +16 -10
- package/src/components/CmdProgressBar.vue +1 -1
- package/src/components/CmdSiteSearch.vue +10 -1
- package/src/components/CmdSlideButton.vue +3 -4
- package/src/components/CmdSlideshow.vue +10 -1
- package/src/components/CmdSmartSearch.vue +42 -11
- package/src/components/CmdSystemMessage.vue +8 -5
- package/src/components/CmdTable.vue +8 -6
- package/src/components/CmdTabs.vue +37 -3
- package/src/components/CmdThumbnailScroller.vue +12 -3
- package/src/components/CmdUploadForm.vue +12 -1
- package/src/components/CmdFlexContainer.vue +0 -109
@@ -2,8 +2,9 @@
|
|
2
2
|
{
|
3
3
|
"name": "Product name 1",
|
4
4
|
"image": {
|
5
|
-
"src": "media/images/demo-images/medium/landscape-01.jpg",
|
6
|
-
"alt": "Alternative text"
|
5
|
+
"src": "/media/images/demo-images/medium/landscape-01.jpg",
|
6
|
+
"alt": "Alternative text",
|
7
|
+
"figcaption": "Product name 1"
|
7
8
|
},
|
8
9
|
"articleNumber": "AB12345",
|
9
10
|
"price": 123.45,
|
@@ -14,8 +15,9 @@
|
|
14
15
|
{
|
15
16
|
"name": "Product name 2",
|
16
17
|
"image": {
|
17
|
-
"src": "media/images/demo-images/medium/landscape-02.jpg",
|
18
|
-
"alt": "Alternative text"
|
18
|
+
"src": "/media/images/demo-images/medium/landscape-02.jpg",
|
19
|
+
"alt": "Alternative text",
|
20
|
+
"figcaption": "Product name 2"
|
19
21
|
},
|
20
22
|
"articleNumber": "AB12346",
|
21
23
|
"price": 123.46,
|
@@ -26,8 +28,9 @@
|
|
26
28
|
{
|
27
29
|
"name": "Product name 3",
|
28
30
|
"image": {
|
29
|
-
"src": "media/images/demo-images/medium/landscape-03.jpg",
|
30
|
-
"alt": "Alternative text"
|
31
|
+
"src": "/media/images/demo-images/medium/landscape-03.jpg",
|
32
|
+
"alt": "Alternative text",
|
33
|
+
"figcaption": "Product name 3"
|
31
34
|
},
|
32
35
|
"articleNumber": "AB12347",
|
33
36
|
"price": 123.47,
|
@@ -38,8 +41,9 @@
|
|
38
41
|
{
|
39
42
|
"name": "Product name 4",
|
40
43
|
"image": {
|
41
|
-
"src": "media/images/demo-images/medium/landscape-04.jpg",
|
42
|
-
"alt": "Alternative text"
|
44
|
+
"src": "/media/images/demo-images/medium/landscape-04.jpg",
|
45
|
+
"alt": "Alternative text",
|
46
|
+
"figcaption": "Product name 4"
|
43
47
|
},
|
44
48
|
"articleNumber": "AB12348",
|
45
49
|
"price": 123.48,
|
@@ -50,8 +54,9 @@
|
|
50
54
|
{
|
51
55
|
"name": "Product name 5",
|
52
56
|
"image": {
|
53
|
-
"src": "media/images/demo-images/medium/landscape-05.jpg",
|
54
|
-
"alt": "Alternative text"
|
57
|
+
"src": "/media/images/demo-images/medium/landscape-05.jpg",
|
58
|
+
"alt": "Alternative text",
|
59
|
+
"figcaption": "Product name 5"
|
55
60
|
},
|
56
61
|
"articleNumber": "AB12349",
|
57
62
|
"price": 123.49,
|
@@ -5,7 +5,7 @@
|
|
5
5
|
"gender": "m",
|
6
6
|
"image": {
|
7
7
|
"src": "/media/images/user-images/fake-user-1.jpg",
|
8
|
-
"
|
8
|
+
"alt": "Alt text"
|
9
9
|
},
|
10
10
|
"profession": "User profession",
|
11
11
|
"position": "User position",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
}
|
42
42
|
},
|
43
43
|
{
|
44
|
-
"path": "https://www.comand-
|
44
|
+
"path": "https://www.comand-ui.com",
|
45
45
|
"target": "comand",
|
46
46
|
"icon": {
|
47
47
|
"iconClass": "icon-globe",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
"gender": "m",
|
57
57
|
"image": {
|
58
58
|
"src": "/media/images/user-images/fake-user-3.jpg",
|
59
|
-
"
|
59
|
+
"alt": "Alt text"
|
60
60
|
},
|
61
61
|
"profession": "User profession",
|
62
62
|
"position": "User position",
|
@@ -70,7 +70,7 @@
|
|
70
70
|
}
|
71
71
|
},
|
72
72
|
{
|
73
|
-
"path": "https://www.comand-
|
73
|
+
"path": "https://www.comand-ui.com",
|
74
74
|
"target": "comand",
|
75
75
|
"icon": {
|
76
76
|
"iconClass": "icon-globe",
|
@@ -92,7 +92,7 @@
|
|
92
92
|
"gender": "m",
|
93
93
|
"image": {
|
94
94
|
"src": "/media/images/user-images/fake-user-4.jpg",
|
95
|
-
"
|
95
|
+
"alt": "Alt text"
|
96
96
|
},
|
97
97
|
"profession": "User profession",
|
98
98
|
"position": "User position",
|
@@ -106,7 +106,7 @@
|
|
106
106
|
}
|
107
107
|
},
|
108
108
|
{
|
109
|
-
"path": "https://www.comand-
|
109
|
+
"path": "https://www.comand-ui.com",
|
110
110
|
"target": "comand",
|
111
111
|
"icon": {
|
112
112
|
"iconClass": "icon-globe",
|
@@ -128,7 +128,7 @@
|
|
128
128
|
"gender": "m",
|
129
129
|
"image": {
|
130
130
|
"src": "/media/images/user-images/fake-user-5.jpg",
|
131
|
-
"
|
131
|
+
"alt": "Alt text"
|
132
132
|
},
|
133
133
|
"profession": "User profession",
|
134
134
|
"position": "User position",
|
@@ -142,7 +142,7 @@
|
|
142
142
|
}
|
143
143
|
},
|
144
144
|
{
|
145
|
-
"path": "https://www.comand-
|
145
|
+
"path": "https://www.comand-ui.com",
|
146
146
|
"target": "comand",
|
147
147
|
"icon": {
|
148
148
|
"iconClass": "icon-globe",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"tooltip": "Send mail"
|
50
50
|
},
|
51
51
|
{
|
52
|
-
"path": "https://www.comand-
|
52
|
+
"path": "https://www.comand-ui.com",
|
53
53
|
"target": "comand",
|
54
54
|
"iconClass": "icon-globe",
|
55
55
|
"tooltip": "Visit website"
|
@@ -74,7 +74,7 @@
|
|
74
74
|
"tooltip": "Send mail"
|
75
75
|
},
|
76
76
|
{
|
77
|
-
"path": "https://www.comand-
|
77
|
+
"path": "https://www.comand-ui.com",
|
78
78
|
"target": "comand",
|
79
79
|
"iconClass": "icon-globe",
|
80
80
|
"tooltip": "Visit website"
|
@@ -104,7 +104,7 @@
|
|
104
104
|
"tooltip": "Send mail"
|
105
105
|
},
|
106
106
|
{
|
107
|
-
"path": "https://www.comand-
|
107
|
+
"path": "https://www.comand-ui.com",
|
108
108
|
"target": "comand",
|
109
109
|
"iconClass": "icon-globe",
|
110
110
|
"tooltip": "Visit website"
|
@@ -134,7 +134,7 @@
|
|
134
134
|
"tooltip": "Send mail"
|
135
135
|
},
|
136
136
|
{
|
137
|
-
"path": "https://www.comand-
|
137
|
+
"path": "https://www.comand-ui.com",
|
138
138
|
"target": "comand",
|
139
139
|
"iconClass": "icon-globe",
|
140
140
|
"tooltip": "Visit website"
|
@@ -199,7 +199,7 @@
|
|
199
199
|
"tooltip": "Send mail"
|
200
200
|
},
|
201
201
|
{
|
202
|
-
"path": "https://www.comand-
|
202
|
+
"path": "https://www.comand-ui.com",
|
203
203
|
"target": "comand",
|
204
204
|
"iconClass": "icon-globe",
|
205
205
|
"tooltip": "Visit website"
|
@@ -224,7 +224,7 @@
|
|
224
224
|
"tooltip": "Send mail"
|
225
225
|
},
|
226
226
|
{
|
227
|
-
"path": "https://www.comand-
|
227
|
+
"path": "https://www.comand-ui.com",
|
228
228
|
"target": "comand",
|
229
229
|
"iconClass": "icon-globe",
|
230
230
|
"tooltip": "Visit website"
|
@@ -254,7 +254,7 @@
|
|
254
254
|
"tooltip": "Send mail"
|
255
255
|
},
|
256
256
|
{
|
257
|
-
"path": "https://www.comand-
|
257
|
+
"path": "https://www.comand-ui.com",
|
258
258
|
"target": "comand",
|
259
259
|
"iconClass": "icon-globe",
|
260
260
|
"tooltip": "Visit website"
|
@@ -284,7 +284,7 @@
|
|
284
284
|
"tooltip": "Send mail"
|
285
285
|
},
|
286
286
|
{
|
287
|
-
"path": "https://www.comand-
|
287
|
+
"path": "https://www.comand-ui.com",
|
288
288
|
"target": "comand",
|
289
289
|
"iconClass": "icon-globe",
|
290
290
|
"tooltip": "Visit website"
|
@@ -104,24 +104,22 @@ data() {
|
|
104
104
|
headlineText: "Container Headline",
|
105
105
|
headlineLevel: 3
|
106
106
|
},
|
107
|
-
|
108
|
-
contentBelowSlot: "<p>Content below slot</p>",
|
109
|
-
containerType: "flex"
|
107
|
+
containerType: "default"
|
110
108
|
},
|
111
109
|
cmdContainerSettingsControls: {
|
112
110
|
containerType: [
|
113
111
|
{
|
114
|
-
text: "
|
112
|
+
text: "default (default)",
|
113
|
+
text: "default",
|
114
|
+
},
|
115
|
+
{
|
116
|
+
text: "flex",
|
115
117
|
value: "flex"
|
116
118
|
},
|
117
119
|
{
|
118
120
|
text: "grid",
|
119
121
|
value: "grid"
|
120
|
-
}
|
121
|
-
{
|
122
|
-
text: "none",
|
123
|
-
value: ""
|
124
|
-
},
|
122
|
+
}
|
125
123
|
],
|
126
124
|
contentOrientation: [
|
127
125
|
{
|
@@ -334,6 +332,24 @@ data() {
|
|
334
332
|
text: "Right",
|
335
333
|
value: "right"
|
336
334
|
}
|
335
|
+
],
|
336
|
+
highlightLevel: [
|
337
|
+
{
|
338
|
+
text: "none (default)",
|
339
|
+
value: "none"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
text: "primary",
|
343
|
+
value: "primary"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
text: "secondary",
|
347
|
+
value: "secondary"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
text: "tertiary",
|
351
|
+
value: "tertiary"
|
352
|
+
}
|
337
353
|
]
|
338
354
|
},
|
339
355
|
cmdInputGroupSettingsData: {
|
@@ -401,6 +417,24 @@ data() {
|
|
401
417
|
text: "button",
|
402
418
|
value: "button"
|
403
419
|
}
|
420
|
+
],
|
421
|
+
highlightLevel: [
|
422
|
+
{
|
423
|
+
text: "none",
|
424
|
+
value: "none"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
text: "primary (default)",
|
428
|
+
value: "primary"
|
429
|
+
},
|
430
|
+
{
|
431
|
+
text: "secondary",
|
432
|
+
value: "secondary"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
text: "tertiary",
|
436
|
+
value: "tertiary"
|
437
|
+
}
|
404
438
|
]
|
405
439
|
},
|
406
440
|
cmdListSettingsData: {
|
@@ -508,6 +542,24 @@ data() {
|
|
508
542
|
text: "icon-chevron-two-stripes-right",
|
509
543
|
value: "icon-chevron-two-stripes-right"
|
510
544
|
}
|
545
|
+
],
|
546
|
+
highlightLevel: [
|
547
|
+
{
|
548
|
+
text: "none",
|
549
|
+
value: "none"
|
550
|
+
},
|
551
|
+
{
|
552
|
+
text: "primary (default)",
|
553
|
+
value: "primary"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
text: "secondary",
|
557
|
+
value: "secondary"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
text: "tertiary",
|
561
|
+
value: "tertiary"
|
562
|
+
}
|
511
563
|
]
|
512
564
|
},
|
513
565
|
cmdNewsletterSubscriptionSettingsData: {
|
@@ -669,7 +721,7 @@ data() {
|
|
669
721
|
cmdSystemMessageSettingsData: {
|
670
722
|
validationStatus: "error",
|
671
723
|
fullWidth: true,
|
672
|
-
systemMessage: "This is an
|
724
|
+
systemMessage: "This is an system message!",
|
673
725
|
messageHeadlineLevel: 4
|
674
726
|
},
|
675
727
|
cmdSystemMessageSettingsControls: {
|
@@ -703,6 +755,26 @@ data() {
|
|
703
755
|
useSlot: false,
|
704
756
|
activeTab: 0
|
705
757
|
},
|
758
|
+
cmdTabsSettingsControls: {
|
759
|
+
highlightLevel: [
|
760
|
+
{
|
761
|
+
text: "none",
|
762
|
+
value: "none"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
text: "primary (default)",
|
766
|
+
value: "primary"
|
767
|
+
},
|
768
|
+
{
|
769
|
+
text: "secondary",
|
770
|
+
value: "secondary"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
text: "tertiary",
|
774
|
+
value: "tertiary"
|
775
|
+
}
|
776
|
+
]
|
777
|
+
},
|
706
778
|
cmdTextImageBlockSettingsData: {
|
707
779
|
htmlContent: "Text given as html-content",
|
708
780
|
paragraphTextAlign: "left",
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdAddressData ---------------------------------------------------------------------------------------- -->
|
2
3
|
<div class="cmd-address-data vcard">
|
3
4
|
<!-- begin slot -->
|
4
5
|
<template v-if="useSlot">
|
@@ -169,6 +170,7 @@
|
|
169
170
|
<!-- end address-data in vCard microformat -->
|
170
171
|
</template>
|
171
172
|
</div>
|
173
|
+
<!-- end CmdAddressData ---------------------------------------------------------------------------------------- -->
|
172
174
|
</template>
|
173
175
|
|
174
176
|
<script>
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdAddressDataItem ---------------------------------------------------------------------------------------- -->
|
2
3
|
<dt :class="['cmd-address-data-item', {'address': addressEntry.name === 'address'}]" :id="addressEntry.id">
|
3
4
|
<!-- begin CmdIcon -->
|
4
5
|
<CmdIcon
|
@@ -165,7 +166,7 @@
|
|
165
166
|
<!-- end unlinked address -->
|
166
167
|
</dd>
|
167
168
|
<!-- end data for address -->
|
168
|
-
|
169
|
+
<!-- end CmdAddressDataItem ---------------------------------------------------------------------------------------- -->
|
169
170
|
</template>
|
170
171
|
<!-- end data (except for address) -->
|
171
172
|
<script>
|
@@ -1,13 +1,13 @@
|
|
1
1
|
<template>
|
2
|
-
<!-- begin
|
3
|
-
<transition name="
|
2
|
+
<!-- begin CmdBackToTopButton ---------------------------------------------------------------------------------------- -->
|
3
|
+
<transition :name="transition">
|
4
4
|
<a v-if="show" class="cmd-back-to-top-button button" id="back-to-top-button" href="#" role="button" :title="cmdIcon.tooltip" @click.prevent="onBackToTop">
|
5
5
|
<!-- begin CmdIcon -->
|
6
6
|
<CmdIcon :iconClass="cmdIcon.iconClass" :type="cmdIcon.iconType" />
|
7
7
|
<!-- end CmdIcon -->
|
8
8
|
</a>
|
9
9
|
</transition>
|
10
|
-
<!-- end
|
10
|
+
<!-- end CmdBackToTopButton ---------------------------------------------------------------------------------------- -->
|
11
11
|
</template>
|
12
12
|
|
13
13
|
<script>
|
@@ -21,6 +21,15 @@ export default {
|
|
21
21
|
}
|
22
22
|
},
|
23
23
|
props: {
|
24
|
+
/**
|
25
|
+
* define the transition when button appears/disappears
|
26
|
+
*
|
27
|
+
* @allowedValues: "none", "fade", "scroll"
|
28
|
+
*/
|
29
|
+
transition: {
|
30
|
+
type: String,
|
31
|
+
default: "fade"
|
32
|
+
},
|
24
33
|
/**
|
25
34
|
* define which container's scroll-behavior should be observed (can be any selector)
|
26
35
|
*/
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdBankAccountData ---------------------------------------------------------------------------------------- -->
|
2
3
|
<div class="cmd-bank-account-data">
|
3
4
|
<!-- begin slot -->
|
4
5
|
<template v-if="useSlot">
|
@@ -33,6 +34,7 @@
|
|
33
34
|
<!-- end additional information -->
|
34
35
|
</template>
|
35
36
|
</div>
|
37
|
+
<!-- end CmdBankAccountData ---------------------------------------------------------------------------------------- -->
|
36
38
|
</template>
|
37
39
|
|
38
40
|
<script>
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<template>
|
2
|
-
|
2
|
+
<!-- begin CmdBasicForm---------------------------------------------------------------------------------------- -->
|
3
|
+
<div class="cmd-basic-form">
|
3
4
|
<!-- begin CmdHeadline -->
|
4
5
|
<CmdHeadline v-if="cmdHeadline" v-bind="cmdHeadline" />
|
5
6
|
<!-- end CmdHeadline -->
|
@@ -258,6 +259,7 @@
|
|
258
259
|
</CmdForm>
|
259
260
|
<!-- end CmdForm -->
|
260
261
|
</div>
|
262
|
+
<!-- end CmdBasicForm---------------------------------------------------------------------------------------- -->
|
261
263
|
</template>
|
262
264
|
|
263
265
|
<script>
|
@@ -611,7 +613,8 @@ export default {
|
|
611
613
|
</script>
|
612
614
|
|
613
615
|
<style>
|
614
|
-
|
616
|
+
/* begin cmd-basic-form ---------------------------------------------------------------------------------------- */
|
617
|
+
.cmd-basic-form {
|
615
618
|
fieldset {
|
616
619
|
margin: 0;
|
617
620
|
|
@@ -629,5 +632,6 @@ export default {
|
|
629
632
|
.grecaptcha-badge {
|
630
633
|
bottom: 10rem !important;
|
631
634
|
}
|
635
|
+
/* end cmd-basic-form ---------------------------------------------------------------------------------------- */
|
632
636
|
</style>
|
633
637
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdBox ---------------------------------------------------------------------------------------- -->
|
2
3
|
<!-- begin boxType 'content' -->
|
3
4
|
<div v-if="boxType === 'content'"
|
4
5
|
ref="cmdBox"
|
@@ -158,11 +159,7 @@
|
|
158
159
|
href="#"
|
159
160
|
@click.prevent="clickOnProduct(product)">
|
160
161
|
<div class="box-header flex-container vertical">
|
161
|
-
<
|
162
|
-
<img :src="product.image.src" :alt="product.image.alt"/>
|
163
|
-
<figcaption>{{ product.name }}</figcaption>
|
164
|
-
</figure>
|
165
|
-
<p v-else>{{ product.name }}</p>
|
162
|
+
<CmdImage v-if="product.image?.src" v-bind="product.image" />
|
166
163
|
|
167
164
|
<!-- begin ribbons -->
|
168
165
|
<div v-if="product.new" class="ribbon-new">
|
@@ -200,16 +197,28 @@
|
|
200
197
|
]">
|
201
198
|
<!-- begin box-header -->
|
202
199
|
<div class="box-header flex-container vertical">
|
203
|
-
|
200
|
+
<!-- begin user-image -->
|
201
|
+
<figure v-if="user.image?.src">
|
204
202
|
<img :src="user.image.src" :alt="user.image.alt"/>
|
205
|
-
<figcaption v-if="!rowView" class="user-name">
|
206
|
-
|
207
|
-
|
203
|
+
<figcaption v-if="!rowView" class="user-name">
|
204
|
+
{{ user.name }}
|
205
|
+
<span v-if="user.age" class="user-age">
|
206
|
+
({{ user.age }})
|
207
|
+
</span>
|
208
|
+
</figcaption>
|
208
209
|
</figure>
|
209
|
-
|
210
|
-
|
210
|
+
<!-- end no user-image -->
|
211
|
+
|
212
|
+
<!-- begin no user-image -->
|
213
|
+
<div v-else class="no-user-image">
|
214
|
+
<CmdIcon
|
215
|
+
:iconClass="iconUserProfile.iconClass"
|
216
|
+
:type="iconUserProfile.iconType"
|
217
|
+
:title="user.name"
|
218
|
+
/>
|
211
219
|
<p v-if="!rowView" class="user-name">{{ user.name }}</p>
|
212
220
|
</div>
|
221
|
+
<!-- end no user-image -->
|
213
222
|
</div>
|
214
223
|
<!-- end box-header -->
|
215
224
|
|
@@ -237,6 +246,7 @@
|
|
237
246
|
<!-- end box-footer -->
|
238
247
|
</div>
|
239
248
|
<!-- end boxType 'user' -->
|
249
|
+
<!-- end CmdBox ---------------------------------------------------------------------------------------- -->
|
240
250
|
</template>
|
241
251
|
|
242
252
|
<script>
|
@@ -357,13 +367,6 @@ export default {
|
|
357
367
|
type: String,
|
358
368
|
required: false
|
359
369
|
},
|
360
|
-
/**
|
361
|
-
* set the default profile-icon (will eb shown if no user-image exists)
|
362
|
-
*/
|
363
|
-
defaultProfileIconClass: {
|
364
|
-
type: String,
|
365
|
-
default: "icon-user-profile"
|
366
|
-
},
|
367
370
|
/**
|
368
371
|
* the shown product (incl. name, price, image, description)
|
369
372
|
*
|
@@ -427,6 +430,20 @@ export default {
|
|
427
430
|
type: String,
|
428
431
|
default: ""
|
429
432
|
},
|
433
|
+
/**
|
434
|
+
* icon for user-profile if no user-image exists
|
435
|
+
*
|
436
|
+
* @requiredForAccessibility: partial
|
437
|
+
*/
|
438
|
+
iconUserProfile: {
|
439
|
+
type: Object,
|
440
|
+
default: function () {
|
441
|
+
return {
|
442
|
+
iconClass: "icon-user-profile",
|
443
|
+
iconType: "auto"
|
444
|
+
}
|
445
|
+
}
|
446
|
+
},
|
430
447
|
/**
|
431
448
|
* icon to expand an accordion
|
432
449
|
*
|
@@ -440,7 +457,7 @@ export default {
|
|
440
457
|
tooltip: "Close content",
|
441
458
|
iconType: "auto"
|
442
459
|
}
|
443
|
-
}
|
460
|
+
}
|
444
461
|
},
|
445
462
|
/**
|
446
463
|
* icon to collapse an accordion
|
@@ -597,7 +614,7 @@ export default {
|
|
597
614
|
align-self: auto !important; /* overwrite settings form frontend-framework */
|
598
615
|
}
|
599
616
|
|
600
|
-
&:has(.cmd-image:only-child) {
|
617
|
+
&:has(> .cmd-image:only-child) {
|
601
618
|
align-self: start !important;
|
602
619
|
}
|
603
620
|
|
@@ -849,10 +866,13 @@ export default {
|
|
849
866
|
.box-body {
|
850
867
|
flex-grow: 1;
|
851
868
|
padding: var(--default-padding);
|
852
|
-
padding-bottom: 0;
|
853
869
|
|
854
870
|
> * {
|
855
871
|
text-align: center;
|
872
|
+
|
873
|
+
&:last-child {
|
874
|
+
margin-bottom: 0;
|
875
|
+
}
|
856
876
|
}
|
857
877
|
|
858
878
|
.price {
|
@@ -884,20 +904,19 @@ export default {
|
|
884
904
|
> .box-header {
|
885
905
|
--default-icon-size: 6rem;
|
886
906
|
--box-header-text-color: var(--primary-color);
|
887
|
-
|
907
|
+
|
888
908
|
background: none;
|
889
909
|
|
890
910
|
> div:first-child > [class*="icon-"] {
|
891
911
|
aspect-ratio: 1/1;
|
892
912
|
}
|
893
913
|
|
894
|
-
img
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
color: var(--color-white);
|
914
|
+
&:has(img) {
|
915
|
+
--box-header-padding: var(--default-padding);
|
916
|
+
}
|
917
|
+
|
918
|
+
img {
|
919
|
+
margin: 0 auto var(--default-margin) auto;
|
901
920
|
|
902
921
|
& + p, & + figcaption {
|
903
922
|
margin: 0 auto;
|
@@ -907,13 +926,17 @@ export default {
|
|
907
926
|
}
|
908
927
|
}
|
909
928
|
|
910
|
-
img {
|
929
|
+
img, .no-user-image {
|
911
930
|
padding: 0;
|
912
931
|
width: calc(var(--default-icon-size) * 2);
|
913
932
|
aspect-ratio: 1/1;
|
914
|
-
|
915
|
-
|
916
|
-
|
933
|
+
max-width: 12rem;
|
934
|
+
border-radius: var(--full-circle);
|
935
|
+
background: var(--box-header-background);
|
936
|
+
display: flex;
|
937
|
+
color: var(--color-white);
|
938
|
+
justify-content: center;
|
939
|
+
align-items: center;
|
917
940
|
margin: 0;
|
918
941
|
font-size: var(--default-icon-size);
|
919
942
|
}
|
@@ -1003,8 +1026,12 @@ export default {
|
|
1003
1026
|
}
|
1004
1027
|
|
1005
1028
|
&.row-view {
|
1006
|
-
.box-body
|
1007
|
-
|
1029
|
+
.box-body {
|
1030
|
+
padding: 0;
|
1031
|
+
|
1032
|
+
p {
|
1033
|
+
text-align: left;
|
1034
|
+
}
|
1008
1035
|
}
|
1009
1036
|
|
1010
1037
|
.box-footer {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdBoxWrapper ---------------------------------------------------------------------------------------- -->
|
2
3
|
<div class="cmd-box-wrapper">
|
3
4
|
<div v-if="cmdHeadline.headlineText || allowUserToToggleOrientation" class="flex-container headline-wrapper">
|
4
5
|
<!-- begin CmdHeadline -->
|
@@ -31,6 +32,7 @@
|
|
31
32
|
</slot>
|
32
33
|
</div>
|
33
34
|
</div>
|
35
|
+
<!-- end CmdBoxWrapper ---------------------------------------------------------------------------------------- -->
|
34
36
|
</template>
|
35
37
|
|
36
38
|
<script>
|
@@ -313,6 +315,10 @@ export default {
|
|
313
315
|
padding: var(--default-padding);
|
314
316
|
align-items: center;
|
315
317
|
|
318
|
+
img {
|
319
|
+
margin-bottom: 0;
|
320
|
+
}
|
321
|
+
|
316
322
|
.box-footer {
|
317
323
|
margin-top: 0;
|
318
324
|
}
|