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
@@ -1,10 +1,10 @@
|
|
1
1
|
<template>
|
2
|
-
<!-- begin CmdLink -->
|
2
|
+
<!-- begin CmdLink ---------------------------------------------------------------------------------------- -->
|
3
3
|
<!-- begin href -->
|
4
4
|
<a v-if="linkType === 'href'"
|
5
5
|
:href="!disabled ? path : null"
|
6
6
|
:target="target"
|
7
|
-
:class="['cmd-link', {'button': styleAsButton, '
|
7
|
+
:class="['cmd-link', highlightLevel, {'button': styleAsButton, 'disabled': disabled, 'box': styleAsBox, 'fancybox': fancybox}]"
|
8
8
|
@click.prevent="emitClick($event, 'href')"
|
9
9
|
:title="icon?.tooltip"
|
10
10
|
>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<!-- begin router-link -->
|
22
22
|
<router-link v-else-if="linkType === 'router'"
|
23
23
|
:to="!disabled ? path : {}"
|
24
|
-
:class="['cmd-link', {'button': styleAsButton, '
|
24
|
+
:class="['cmd-link', highlightLevel, {'button': styleAsButton, 'disabled': disabled, 'box': styleAsBox, 'fancybox': fancybox}]"
|
25
25
|
@click="emitClick($event, 'router')"
|
26
26
|
:title="icon?.tooltip">
|
27
27
|
<!-- begin CmdInnterLink -->
|
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
<!-- begin button -->
|
38
38
|
<button v-else-if="linkType === 'button' || linkType === 'submit'"
|
39
|
-
:class="['cmd-link button',
|
39
|
+
:class="['cmd-link button', highlightLevel, {'disabled': disabled, 'box': styleAsBox, 'fancybox': fancybox}]"
|
40
40
|
type="submit"
|
41
41
|
:disabled="disabled"
|
42
42
|
@click="emitClick($event, 'button')"
|
@@ -51,7 +51,7 @@
|
|
51
51
|
<!-- end CmdInnterLink -->
|
52
52
|
</button>
|
53
53
|
<!-- end button -->
|
54
|
-
<!-- end CmdLink -->
|
54
|
+
<!-- end CmdLink ---------------------------------------------------------------------------------------- -->
|
55
55
|
</template>
|
56
56
|
|
57
57
|
<script>
|
@@ -123,13 +123,19 @@ export default {
|
|
123
123
|
default: false
|
124
124
|
},
|
125
125
|
/**
|
126
|
-
*
|
127
|
-
*
|
128
|
-
*
|
126
|
+
* set highlight-level for link/button
|
127
|
+
*
|
128
|
+
* @allowedValues: "none", "primary", "secondary", "tertiary"
|
129
129
|
*/
|
130
|
-
|
130
|
+
highlightLevel: {
|
131
131
|
type: Boolean,
|
132
|
-
default:
|
132
|
+
default: "primary",
|
133
|
+
validator(value) {
|
134
|
+
return value === "none" ||
|
135
|
+
value === "primary" ||
|
136
|
+
value === "secondary" ||
|
137
|
+
value === "tertiary"
|
138
|
+
}
|
133
139
|
},
|
134
140
|
/**
|
135
141
|
* activate if link/button should be disabled
|
@@ -1,90 +1,90 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
v-if="cmdHeadline?.headlineText || editModeContext"
|
14
|
-
|
15
|
-
/>
|
16
|
-
<!-- end cmd-headline -->
|
17
|
-
|
18
|
-
<!-- begin list of links -->
|
19
|
-
<ul :class="['flex-container', {'no-gap': !useGap}, 'align-' + align, setStretchClass, {horizontal: orientation === 'horizontal'}]">
|
20
|
-
<template v-if="listType === 'links'">
|
21
|
-
<!-- begin CmdListOfLinksItem-->
|
22
|
-
<CmdListOfLinksItem
|
23
|
-
v-if="!editModeContext"
|
24
|
-
v-for="(link, index) in items"
|
25
|
-
:key="index"
|
26
|
-
:class="{'active': sectionAnchors && activeSection === index}"
|
27
|
-
:link="link"
|
28
|
-
@click="emitClick($event, linkType)"
|
29
|
-
/>
|
30
|
-
<!-- end CmdListOfLinksItem-->
|
2
|
+
<transition :name="transition">
|
3
|
+
<div :class="['cmd-list',
|
4
|
+
{
|
5
|
+
box: styleAsBox,
|
6
|
+
'section-anchors': sectionAnchors,
|
7
|
+
'large-icons': largeIcons,
|
8
|
+
'show-list-style-items': showListStyleItems,
|
9
|
+
},
|
10
|
+
'list-type-' + listType
|
11
|
+
]">
|
12
|
+
<!-- begin cmd-headline -->
|
13
|
+
<CmdHeadline v-if="cmdHeadline?.headlineText || editModeContext" v-bind="cmdHeadline" />
|
14
|
+
<!-- end cmd-headline -->
|
31
15
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
class="edit-items"
|
38
|
-
:showComponentName="false"
|
39
|
-
componentTag="ul"
|
40
|
-
componentName="CmdLinkItem"
|
41
|
-
:componentProps="link"
|
42
|
-
:allowedComponentTypes="[]"
|
43
|
-
:componentPath="['props', 'links', index]"
|
44
|
-
:itemProvider="itemProvider"
|
45
|
-
>
|
16
|
+
<!-- begin list of links -->
|
17
|
+
<component :is="listTag"
|
18
|
+
:class="['flex-container', { 'no-gap': !useGap }, 'align-' + align, setStretchClass, { horizontal: orientation === 'horizontal' }]">
|
19
|
+
<template v-if="listType === 'links'">
|
20
|
+
<slot>
|
46
21
|
<!-- begin CmdListOfLinksItem-->
|
47
|
-
<CmdListOfLinksItem
|
48
|
-
:class="{'active': sectionAnchors && activeSection === index}"
|
49
|
-
|
50
|
-
/>
|
22
|
+
<CmdListOfLinksItem v-if="!editModeContext" v-for="(link, index) in items" :key="index"
|
23
|
+
:class="{ 'active': sectionAnchors && activeSection === index }" :link="link"
|
24
|
+
@click="emitClick($event, linkType)" />
|
51
25
|
<!-- end CmdListOfLinksItem-->
|
52
|
-
</EditComponentWrapper>
|
53
26
|
|
54
|
-
|
55
|
-
<
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
27
|
+
<!-- begin edit-mode -->
|
28
|
+
<li v-else>
|
29
|
+
<EditComponentWrapper v-for="(link, index) in links" :key="'x' + index" class="edit-items"
|
30
|
+
:showComponentName="false" componentTag="ul" componentName="CmdLinkItem"
|
31
|
+
:componentProps="link" :allowedComponentTypes="[]"
|
32
|
+
:componentPath="['props', 'links', index]" :itemProvider="itemProvider">
|
33
|
+
<!-- begin CmdListOfLinksItem-->
|
34
|
+
<CmdListOfLinksItem :class="{ 'active': sectionAnchors && activeSection === index }"
|
35
|
+
:link="link" />
|
36
|
+
<!-- end CmdListOfLinksItem-->
|
37
|
+
</EditComponentWrapper>
|
38
|
+
|
39
|
+
<button v-if="links.length === 0" type="button" class="button confirm small"
|
40
|
+
@click="onAddItem">
|
41
|
+
<span class="icon-plus"></span>
|
42
|
+
<span>Add new entry</span>
|
43
|
+
</button>
|
44
|
+
</li>
|
45
|
+
<!-- end edit-mode -->
|
46
|
+
</slot>
|
47
|
+
</template>
|
61
48
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
49
|
+
<!-- begin list of images -->
|
50
|
+
<template v-if="listType === 'images'">
|
51
|
+
<slot>
|
52
|
+
<li v-for="(image, index) in items" :key="index">
|
53
|
+
<!-- begin CmdImage with link-->
|
54
|
+
<a v-if="image.image.url" :href="image.image.url">
|
55
|
+
<CmdImage v-bind="image" />
|
56
|
+
</a>
|
57
|
+
<!-- end CmdImage with link-->
|
70
58
|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
59
|
+
<!-- begin CmdImage without link-->
|
60
|
+
<CmdImage v-else v-bind="image" />
|
61
|
+
<!-- end CmdImage without link-->
|
62
|
+
</li>
|
63
|
+
</slot>
|
64
|
+
</template>
|
65
|
+
<!-- end list of images -->
|
77
66
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
67
|
+
<!-- begin tags -->
|
68
|
+
<template v-if="listType === 'tags'">
|
69
|
+
<slot>
|
70
|
+
<li v-for="(tag, index) in listOfTagItems" :key="index">
|
71
|
+
<small :class="['tag flex-container', highlightLevel]">
|
72
|
+
<span>{{ tag }}</span>
|
73
|
+
<!-- begin icon 'remove tag' -->
|
74
|
+
<a v-if="iconRemoveTag.show" href="#" @click.prevent="removeTag(index)"
|
75
|
+
:title="iconRemoveTag.tooltip" class="flex-none">
|
76
|
+
<span :class="iconRemoveTag.iconClass"></span>
|
77
|
+
</a>
|
78
|
+
<!-- end icon 'remove tag' -->
|
79
|
+
</small>
|
80
|
+
</li>
|
81
|
+
</slot>
|
82
|
+
</template>
|
83
|
+
<!-- end tags -->
|
84
|
+
</component>
|
85
|
+
<!-- end list of links -->
|
86
|
+
</div>
|
87
|
+
</transition>
|
88
88
|
</template>
|
89
89
|
|
90
90
|
<script>
|
@@ -92,13 +92,45 @@
|
|
92
92
|
import EditMode from "../mixins/EditMode.vue"
|
93
93
|
|
94
94
|
// import utils (editMode only)
|
95
|
-
import {buildComponentPath, updateHandlerProvider} from "../utils/editmode.js"
|
95
|
+
import { buildComponentPath, updateHandlerProvider } from "../utils/editmode.js"
|
96
96
|
|
97
97
|
export default {
|
98
98
|
name: "CmdListOfLinks",
|
99
99
|
emits: ["click"],
|
100
100
|
mixins: [EditMode],
|
101
|
+
data() {
|
102
|
+
return {
|
103
|
+
listOfTagItems: [...(this.items || [])]
|
104
|
+
}
|
105
|
+
},
|
101
106
|
props: {
|
107
|
+
/**
|
108
|
+
* define the transition when the list appears/disappears
|
109
|
+
*
|
110
|
+
* @allowedValues: "none", "fade", "scroll"
|
111
|
+
*/
|
112
|
+
transition: {
|
113
|
+
type: String,
|
114
|
+
default: "fade"
|
115
|
+
},
|
116
|
+
/**
|
117
|
+
* define the highlight-level
|
118
|
+
*
|
119
|
+
* @allowedValues: "none", "primary", "secondary", "tertiary"
|
120
|
+
*/
|
121
|
+
highlightLevel: {
|
122
|
+
type: String,
|
123
|
+
default() {
|
124
|
+
return "none"
|
125
|
+
}
|
126
|
+
},
|
127
|
+
/**
|
128
|
+
* define if an order-list should be used (else an unordered one will be used)
|
129
|
+
*/
|
130
|
+
orderedList: {
|
131
|
+
type: Boolean,
|
132
|
+
default: false
|
133
|
+
},
|
102
134
|
/**
|
103
135
|
* set list-type
|
104
136
|
*
|
@@ -199,6 +231,19 @@ export default {
|
|
199
231
|
value === "vertical"
|
200
232
|
}
|
201
233
|
},
|
234
|
+
/**
|
235
|
+
* define remove-icon/link for tags
|
236
|
+
*/
|
237
|
+
iconRemoveTag: {
|
238
|
+
type: Object,
|
239
|
+
default: () => (
|
240
|
+
{
|
241
|
+
show: true,
|
242
|
+
title: "Remove this tag",
|
243
|
+
iconClass: "icon-cancel"
|
244
|
+
}
|
245
|
+
)
|
246
|
+
},
|
202
247
|
/**
|
203
248
|
* properties for CmdHeadline-component
|
204
249
|
*/
|
@@ -207,15 +252,25 @@ export default {
|
|
207
252
|
required: false
|
208
253
|
}
|
209
254
|
},
|
255
|
+
mounted() {
|
256
|
+
this.updateActiveClass()
|
257
|
+
},
|
210
258
|
computed: {
|
211
259
|
setStretchClass() {
|
212
260
|
if (this.largeIcons && this.orientation === "horizontal") {
|
213
261
|
return "stretch"
|
214
262
|
}
|
215
263
|
return null
|
264
|
+
},
|
265
|
+
listTag() {
|
266
|
+
return this.orderedList ? "ol" : "ul"
|
216
267
|
}
|
217
268
|
},
|
218
269
|
methods: {
|
270
|
+
removeTag(event, index) {
|
271
|
+
this.listOfTagItems.splice(index, 1);
|
272
|
+
this.$emit("remove-tag", { originalEvent: event, tagIndex: index })
|
273
|
+
},
|
219
274
|
onAddItem() {
|
220
275
|
this.editModeContext.content.addContent(
|
221
276
|
buildComponentPath(this, 'props', 'links', -1),
|
@@ -243,9 +298,18 @@ export default {
|
|
243
298
|
})
|
244
299
|
},
|
245
300
|
emitClick(event, linkType) {
|
246
|
-
this.$emit("click", {originalEvent: event, linkType: linkType})
|
301
|
+
this.$emit("click", { originalEvent: event, linkType: linkType })
|
302
|
+
},
|
303
|
+
updateActiveClass() {
|
304
|
+
// remove "active" from all links first
|
305
|
+
document.querySelectorAll(".router-link-exact-active").forEach(el => {
|
306
|
+
el.classList.add("active")
|
307
|
+
})
|
247
308
|
}
|
248
|
-
}
|
309
|
+
},
|
310
|
+
watch: (() => route.fullPath, () => {
|
311
|
+
this.updateActiveClass();
|
312
|
+
})
|
249
313
|
}
|
250
314
|
</script>
|
251
315
|
|
@@ -259,7 +323,24 @@ export default {
|
|
259
323
|
|
260
324
|
li {
|
261
325
|
list-style: none;
|
262
|
-
margin-left: 0 !important;
|
326
|
+
margin-left: 0 !important;
|
327
|
+
/* overwrite default-settings from frontend-framework */
|
328
|
+
|
329
|
+
&:has(.tag) {
|
330
|
+
.tag {
|
331
|
+
gap: var(--default-gap-half);
|
332
|
+
|
333
|
+
&.primary, &.secondary, &.tertiary {
|
334
|
+
[class*="icon-"] {
|
335
|
+
color: var(--color-white);
|
336
|
+
}
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
[class*="icon-"] {
|
341
|
+
font-size: var(--icon-size-small);
|
342
|
+
}
|
343
|
+
}
|
263
344
|
}
|
264
345
|
|
265
346
|
&.align-center {
|
@@ -292,7 +373,8 @@ export default {
|
|
292
373
|
flex: none;
|
293
374
|
display: flex;
|
294
375
|
flex-direction: column;
|
295
|
-
max-width: 100%;
|
376
|
+
max-width: 100%;
|
377
|
+
/* avoid li to be stretched by large content */
|
296
378
|
}
|
297
379
|
|
298
380
|
&.align-right {
|
@@ -334,11 +416,11 @@ export default {
|
|
334
416
|
|
335
417
|
@media only screen and (max-width: $medium-max-width) {
|
336
418
|
.cmd-list {
|
337
|
-
>
|
419
|
+
>ul {
|
338
420
|
ul {
|
339
421
|
gap: calc(var(--default-gap) / 2);
|
340
422
|
|
341
|
-
>
|
423
|
+
>li:first-child {
|
342
424
|
margin-top: calc(var(--default-gap) / 2);
|
343
425
|
}
|
344
426
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdLinkOfLinksItem ---------------------------------------------------------------------------------------- -->
|
2
3
|
<!-- begin default-view -->
|
3
4
|
<li v-if="!editing" class="cmd-list-of-links-item">
|
4
5
|
<!-- begin CmdLink -->
|
@@ -44,6 +45,7 @@
|
|
44
45
|
</div>
|
45
46
|
</template>
|
46
47
|
<!-- end edit-mode -->
|
48
|
+
<!-- end CmdLinkOfLinksItem ---------------------------------------------------------------------------------------- -->
|
47
49
|
</template>
|
48
50
|
|
49
51
|
<script>
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdListOfRequirements ---------------------------------------------------------------------------------------- -->
|
2
3
|
<div class="cmd-list-of-requirements">
|
3
4
|
<!-- begin CmdHeadline -->
|
4
5
|
<CmdHeadline v-if="showHeadline" :headline-level="cmdHeadline.headlineLevel">
|
@@ -47,6 +48,7 @@
|
|
47
48
|
</template>
|
48
49
|
<!-- end helplink -->
|
49
50
|
</div>
|
51
|
+
<!-- end CmdListOfRequirements ---------------------------------------------------------------------------------------- -->
|
50
52
|
</template>
|
51
53
|
|
52
54
|
<script>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<!-- begin
|
2
|
+
<!-- begin CmdLoginForm ---------------------------------------------------------------------------------------- -->
|
3
3
|
<fieldset v-show="!sendLogin" class="cmd-login-form flex-container">
|
4
4
|
<legend :class="{hidden : !legendLoginForm.show, 'align-left': legendLoginForm.align === 'left'}">
|
5
5
|
{{ legendLoginForm.text }}
|
@@ -215,7 +215,7 @@
|
|
215
215
|
<!-- end link-type 'button' -->
|
216
216
|
</div>
|
217
217
|
</fieldset>
|
218
|
-
<!-- end
|
218
|
+
<!-- end CmdLoginForm ---------------------------------------------------------------------------------------- -->
|
219
219
|
</template>
|
220
220
|
|
221
221
|
<script>
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdMailTool ---------------------------------------------------------------------------------------- -->
|
2
3
|
<CmdTabs class="cmd-mail-tool" v-bind="cmdTabs">
|
3
4
|
<!-- begin tab "inbox" -->
|
4
5
|
<template v-slot:tab-content-0>
|
@@ -24,6 +25,7 @@
|
|
24
25
|
</template>
|
25
26
|
<!-- end tab "outbox" -->
|
26
27
|
</CmdTabs>
|
28
|
+
<!-- end CmdMailTool ---------------------------------------------------------------------------------------- -->
|
27
29
|
</template>
|
28
30
|
|
29
31
|
<script>
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdMailToolEntry ---------------------------------------------------------------------------------------- -->
|
2
3
|
<template v-if="mails.length"
|
3
4
|
v-for="(mail, index) in mails"
|
4
5
|
:key="index">
|
@@ -59,7 +60,7 @@
|
|
59
60
|
<!-- begin CmdSystemMessage (if no mails exist) -->
|
60
61
|
<CmdSystemMessage v-else v-bind="cmdSystemMessage"/>
|
61
62
|
<!-- end CmdSystemMessage (if no mails exist) -->
|
62
|
-
|
63
|
+
<!-- end CmdMailToolEntry ---------------------------------------------------------------------------------------- -->
|
63
64
|
</template>
|
64
65
|
|
65
66
|
<script>
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdMailToolFilter ---------------------------------------------------------------------------------------- -->
|
2
3
|
<div class="cmd-mail-tool-filter">
|
3
4
|
<!-- begin CmdHeadline -->
|
4
5
|
<CmdHeadline v-if="headlineText" :headlineText="headlineText" :headlineLevel="headlineLevel"/>
|
@@ -60,6 +61,7 @@
|
|
60
61
|
<!-- end link sort descending -->
|
61
62
|
</div>
|
62
63
|
</div>
|
64
|
+
<!-- end CmdMailToolFilter ---------------------------------------------------------------------------------------- -->
|
63
65
|
</template>
|
64
66
|
|
65
67
|
<script>
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<template>
|
2
|
+
<!-- begin CmdMainNavigationWrapper ---------------------------------------------------------------------------------------- -->
|
2
3
|
<div
|
3
4
|
:class="[
|
4
5
|
'cmd-main-navigation main-navigation-wrapper',
|
@@ -151,6 +152,7 @@
|
|
151
152
|
</a>
|
152
153
|
<!-- end off-canvas-button -->
|
153
154
|
</div>
|
155
|
+
<!-- end CmdMainNavigationWrapper ---------------------------------------------------------------------------------------- -->
|
154
156
|
</template>
|
155
157
|
|
156
158
|
<script>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
:linkType="step.linkType"
|
7
7
|
:class="['stretch-on-small-devices', activeLinkClass(step.linkType, index)]"
|
8
8
|
:styleAsButton="styleAsButtons"
|
9
|
-
:
|
9
|
+
:highlightLevel="highlightLevel"
|
10
10
|
:path="step.path"
|
11
11
|
:title="step.tooltip"
|
12
12
|
:disabled="step.disabled"
|
@@ -40,6 +40,21 @@ export default {
|
|
40
40
|
}
|
41
41
|
},
|
42
42
|
props: {
|
43
|
+
/**
|
44
|
+
* set highlight-level for steps
|
45
|
+
*
|
46
|
+
* @allowedValues: "none", "primary", "secondary", "tertiary"
|
47
|
+
*/
|
48
|
+
highlightLevel: {
|
49
|
+
type: Boolean,
|
50
|
+
default: "primary",
|
51
|
+
validator(value) {
|
52
|
+
return value === "none" ||
|
53
|
+
value === "primary" ||
|
54
|
+
value === "secondary" ||
|
55
|
+
value === "tertiary"
|
56
|
+
}
|
57
|
+
},
|
43
58
|
/**
|
44
59
|
* toggle if steps should be stretched to full-width of parent container (else steps will be centered)
|
45
60
|
*/
|
@@ -63,15 +78,6 @@ export default {
|
|
63
78
|
type: Boolean,
|
64
79
|
default: false
|
65
80
|
},
|
66
|
-
/**
|
67
|
-
* activate if step-buttons should be primary-buttons (linkType for steps must be "button" or styleAsButton-property must be activated)
|
68
|
-
*
|
69
|
-
* @affectsStyling: true
|
70
|
-
*/
|
71
|
-
usePrimaryButtons: {
|
72
|
-
type: Boolean,
|
73
|
-
default: true
|
74
|
-
},
|
75
81
|
/**
|
76
82
|
* list of multisteps
|
77
83
|
*/
|
@@ -77,7 +77,7 @@
|
|
77
77
|
<span v-if="showFilters">{{ getMessage("site_search.hide_filter_options") }}</span>
|
78
78
|
<span v-else>{{ getMessage("site_search.show_filter_options") }}</span>
|
79
79
|
</a>
|
80
|
-
<transition name="
|
80
|
+
<transition :name="transitionFilters">
|
81
81
|
<div v-if="showFilters && cmdFakeSelect?.selectData.length" class="flex-container flex-none" role="listbox" aria-expanded="true">
|
82
82
|
<!-- begin CmdFakeSelect -->
|
83
83
|
<CmdFakeSelect
|
@@ -121,6 +121,15 @@ export default {
|
|
121
121
|
}
|
122
122
|
},
|
123
123
|
props: {
|
124
|
+
/**
|
125
|
+
* define the transition when filters disappear
|
126
|
+
*
|
127
|
+
* @allowedValues: "none", "fade", "scroll"
|
128
|
+
*/
|
129
|
+
transitionFilters: {
|
130
|
+
type: String,
|
131
|
+
default: "fade"
|
132
|
+
},
|
124
133
|
/**
|
125
134
|
* custom modelValue for first input-field
|
126
135
|
*/
|
@@ -75,14 +75,15 @@ export default {
|
|
75
75
|
}
|
76
76
|
</script>
|
77
77
|
|
78
|
-
<style
|
78
|
+
<style>
|
79
79
|
/* begin cmd-slide-button ---------------------------------------------------------------------------------------- */
|
80
80
|
.cmd-slide-button {
|
81
81
|
&.button {
|
82
82
|
font-size: 2rem;
|
83
83
|
z-index: 10;
|
84
|
-
height: 100%;
|
85
84
|
position: absolute;
|
85
|
+
top: 50%;
|
86
|
+
transform: translateY(-50%);
|
86
87
|
display: flex;
|
87
88
|
justify-content: center;
|
88
89
|
text-decoration: none;
|
@@ -95,12 +96,10 @@ export default {
|
|
95
96
|
|
96
97
|
&.left {
|
97
98
|
left: 0;
|
98
|
-
top: 0;
|
99
99
|
}
|
100
100
|
|
101
101
|
&.right {
|
102
102
|
right: 0;
|
103
|
-
top: 0;
|
104
103
|
}
|
105
104
|
|
106
105
|
&.up, &.down {
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<!-- end CmdSlideButton -->
|
13
13
|
|
14
14
|
<!-- begin area to slide -->
|
15
|
-
<transition-group name="
|
15
|
+
<transition-group :name="transition">
|
16
16
|
<template v-if="currentItem">
|
17
17
|
<template v-if="!useSlot">
|
18
18
|
<template v-if="!editModeContext">
|
@@ -103,6 +103,15 @@ export default {
|
|
103
103
|
}
|
104
104
|
},
|
105
105
|
props: {
|
106
|
+
/**
|
107
|
+
* define the transition when images change
|
108
|
+
*
|
109
|
+
* @allowedValues: "none", "fade", "scroll"
|
110
|
+
*/
|
111
|
+
transition: {
|
112
|
+
type: String,
|
113
|
+
default: "fade"
|
114
|
+
},
|
106
115
|
/**
|
107
116
|
* use slot for images
|
108
117
|
*/
|