comand-component-library 4.2.52 → 4.2.54
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 +3384 -3006
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/ComponentLibrary.vue +55 -12
- package/src/assets/data/box-user.json +3 -0
- package/src/assets/data/list-description-list.json +74 -0
- package/src/assets/data/listOfComponents.json +2 -0
- package/src/assets/styles/component-library-global-styles.scss +0 -14
- package/src/componentSettingsDataAndControls.vue +49 -0
- package/src/components/CmdBox.vue +52 -27
- package/src/components/CmdBoxWrapper.vue +0 -4
- package/src/components/CmdCodeOutput.vue +0 -2
- package/src/components/CmdFancyBox.vue +2 -2
- package/src/components/CmdForm.vue +5 -2
- package/src/components/CmdLink.vue +2 -1
- package/src/components/CmdList.vue +93 -27
- package/src/components/CmdMultistepFormProgressBar.vue +19 -4
- package/src/components/CmdNewsletterSubscription.vue +2 -0
- package/src/components/CmdOpeningHours.vue +2 -0
- package/src/components/CmdOpeningHoursItem.vue +2 -0
- package/src/components/CmdPageFooter.vue +2 -0
- package/src/components/CmdPageHeader.vue +2 -0
- package/src/components/CmdPagination.vue +2 -0
- package/src/components/CmdParagraph.vue +50 -0
- package/src/components/CmdSection.vue +2 -0
- package/src/components/CmdSidebar.vue +2 -0
- package/src/components/CmdSiteFooter.vue +2 -0
- package/src/components/CmdSiteHeader.vue +2 -0
- package/src/components/CmdSiteSearch.vue +2 -0
- package/src/components/CmdSlideButton.vue +2 -0
- package/src/components/CmdSocialNetworks.vue +2 -0
- package/src/components/CmdSocialNetworksItem.vue +2 -0
- package/src/components/CmdSwitchLanguage.vue +2 -0
- package/src/components/CmdSystemMessage.vue +16 -14
- package/src/components/CmdTable.vue +2 -0
- package/src/components/CmdTabs.vue +2 -0
- package/src/components/CmdTag.vue +101 -0
- package/src/components/CmdTextImageBlock.vue +2 -0
- package/src/components/CmdThumbnailScroller.vue +2 -0
- package/src/components/CmdToggleDarkMode.vue +2 -0
- package/src/components/CmdTooltip.vue +2 -0
- package/src/components/CmdTooltipForFormElements.vue +2 -0
- package/src/components/CmdUploadForm.vue +2 -0
- package/src/components/CmdWidthLimitationWrapper.vue +2 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdList ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<transition :name="transition">
|
|
3
4
|
<div :class="['cmd-list',
|
|
4
5
|
{
|
|
@@ -7,16 +8,16 @@
|
|
|
7
8
|
'large-icons': largeIcons,
|
|
8
9
|
'show-list-style-items': showListStyleItems,
|
|
9
10
|
},
|
|
10
|
-
'list-type-' +
|
|
11
|
+
'list-content-type-' + listContentType
|
|
11
12
|
]">
|
|
12
13
|
<!-- begin cmd-headline -->
|
|
13
14
|
<CmdHeadline v-if="cmdHeadline?.headlineText || editModeContext" v-bind="cmdHeadline" />
|
|
14
15
|
<!-- end cmd-headline -->
|
|
15
16
|
|
|
16
|
-
<!-- begin list of links -->
|
|
17
|
-
<component :is="listTag"
|
|
17
|
+
<!-- begin list of links ordered/unordered -->
|
|
18
|
+
<component v-if="listType !== 'description'" :is="listTag"
|
|
18
19
|
:class="['flex-container', { 'no-gap': !useGap }, 'align-' + align, setStretchClass, { horizontal: orientation === 'horizontal' }]">
|
|
19
|
-
<template v-if="
|
|
20
|
+
<template v-if="listContentType === 'links'">
|
|
20
21
|
<slot>
|
|
21
22
|
<!-- begin CmdListOfLinksItem-->
|
|
22
23
|
<CmdListOfLinksItem v-if="!editModeContext" v-for="(link, index) in items" :key="index"
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
</template>
|
|
48
49
|
|
|
49
50
|
<!-- begin list of images -->
|
|
50
|
-
<template v-if="
|
|
51
|
+
<template v-if="listContentType === 'images'">
|
|
51
52
|
<slot>
|
|
52
53
|
<li v-for="(image, index) in items" :key="index">
|
|
53
54
|
<!-- begin CmdImage with link-->
|
|
@@ -65,26 +66,56 @@
|
|
|
65
66
|
<!-- end list of images -->
|
|
66
67
|
|
|
67
68
|
<!-- begin tags -->
|
|
68
|
-
<template v-if="
|
|
69
|
+
<template v-if="listContentType === 'tags'">
|
|
69
70
|
<slot>
|
|
70
71
|
<li v-for="(tag, index) in listOfTagItems" :key="index">
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
</small>
|
|
72
|
+
<!-- begin CmdTag -->
|
|
73
|
+
<CmdTag
|
|
74
|
+
:tagText="tag"
|
|
75
|
+
:highlightLevel="highlightLevel"
|
|
76
|
+
:removeTagByClick="true"
|
|
77
|
+
@click.prevent="removeTag(event, index)"
|
|
78
|
+
/>
|
|
79
|
+
<!-- end CmdTag -->
|
|
80
80
|
</li>
|
|
81
81
|
</slot>
|
|
82
82
|
</template>
|
|
83
83
|
<!-- end tags -->
|
|
84
84
|
</component>
|
|
85
|
-
<!-- end list of links -->
|
|
85
|
+
<!-- end list of links ordered/unordered -->
|
|
86
|
+
|
|
87
|
+
<!-- begin description list -->
|
|
88
|
+
<dl v-else>
|
|
89
|
+
<template v-for="(entry, index) in items" :key="index">
|
|
90
|
+
<dt v-if="!alignDescriptionTermRight">
|
|
91
|
+
<CmdIcon
|
|
92
|
+
v-if="entry.descriptionTerm?.cmdIcon?.iconClass"
|
|
93
|
+
v-bind="entry.descriptionTerm.cmdIcon"
|
|
94
|
+
/>
|
|
95
|
+
<span v-if="entry.descriptionTerm?.text">{{ entry.descriptionTerm?.text }}</span>
|
|
96
|
+
</dt>
|
|
97
|
+
<dd>
|
|
98
|
+
<CmdLink
|
|
99
|
+
v-if="entry.descriptionData.cmdLink !== undefined"
|
|
100
|
+
v-bind="entry.descriptionData.cmdLink">
|
|
101
|
+
</CmdLink>
|
|
102
|
+
<template v-else>
|
|
103
|
+
{{ entry.descriptionData.text }}
|
|
104
|
+
</template>
|
|
105
|
+
</dd>
|
|
106
|
+
<dt v-if="alignDescriptionTermRight">
|
|
107
|
+
<CmdIcon
|
|
108
|
+
v-if="entry.descriptionTerm?.cmdIcon?.iconClass"
|
|
109
|
+
v-bind="entry.descriptionTerm.cmdIcon"
|
|
110
|
+
/>
|
|
111
|
+
<span v-if="entry.descriptionTerm?.text">{{ entry.descriptionTerm?.text }}</span>
|
|
112
|
+
</dt>
|
|
113
|
+
</template>
|
|
114
|
+
</dl>
|
|
115
|
+
<!-- end description list -->
|
|
86
116
|
</div>
|
|
87
117
|
</transition>
|
|
118
|
+
<!-- end CmdList ---------------------------------------------------------------------------------------- -->
|
|
88
119
|
</template>
|
|
89
120
|
|
|
90
121
|
<script>
|
|
@@ -120,23 +151,35 @@ export default {
|
|
|
120
151
|
*/
|
|
121
152
|
highlightLevel: {
|
|
122
153
|
type: String,
|
|
123
|
-
default
|
|
124
|
-
|
|
154
|
+
default: "none",
|
|
155
|
+
validator(value) {
|
|
156
|
+
return value === "none" ||
|
|
157
|
+
value === "primary" ||
|
|
158
|
+
value === "secondary" ||
|
|
159
|
+
value === "tertiary"
|
|
125
160
|
}
|
|
126
161
|
},
|
|
127
162
|
/**
|
|
128
|
-
* define
|
|
163
|
+
* define the list type
|
|
164
|
+
*
|
|
165
|
+
* @affectsStyling: true
|
|
166
|
+
* @allowedValues: "unordered", "ordered", "description"
|
|
129
167
|
*/
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
default:
|
|
168
|
+
listType: {
|
|
169
|
+
typ: String,
|
|
170
|
+
default: "unordered",
|
|
171
|
+
validator(value) {
|
|
172
|
+
return value === "unordered" ||
|
|
173
|
+
value === "ordered" ||
|
|
174
|
+
value === "description"
|
|
175
|
+
}
|
|
133
176
|
},
|
|
134
177
|
/**
|
|
135
178
|
* set list-type
|
|
136
179
|
*
|
|
137
180
|
* @allowedValues: links, images, tags
|
|
138
181
|
*/
|
|
139
|
-
|
|
182
|
+
listContentType: {
|
|
140
183
|
typ: String,
|
|
141
184
|
default: "links",
|
|
142
185
|
validator(value) {
|
|
@@ -195,6 +238,15 @@ export default {
|
|
|
195
238
|
type: Boolean,
|
|
196
239
|
default: false
|
|
197
240
|
},
|
|
241
|
+
/**
|
|
242
|
+
* set if description term should be aligned right
|
|
243
|
+
*
|
|
244
|
+
* @affectsStyling: true
|
|
245
|
+
*/
|
|
246
|
+
alignDescriptionTermRight: {
|
|
247
|
+
type: Boolean,
|
|
248
|
+
default: false
|
|
249
|
+
},
|
|
198
250
|
/**
|
|
199
251
|
* set horizontal alignment
|
|
200
252
|
*
|
|
@@ -231,8 +283,19 @@ export default {
|
|
|
231
283
|
value === "vertical"
|
|
232
284
|
}
|
|
233
285
|
},
|
|
286
|
+
/**
|
|
287
|
+
* allow tags to be remove by click
|
|
288
|
+
*
|
|
289
|
+
* (listContentType-property must be set to "tags")
|
|
290
|
+
*/
|
|
291
|
+
removeTagByClick: {
|
|
292
|
+
type: Boolean,
|
|
293
|
+
default: false
|
|
294
|
+
},
|
|
234
295
|
/**
|
|
235
296
|
* define remove-icon/link for tags
|
|
297
|
+
*
|
|
298
|
+
* (listContentType-property must be set to "tags" and removeTabByClick-property must be set to true)
|
|
236
299
|
*/
|
|
237
300
|
iconRemoveTag: {
|
|
238
301
|
type: Object,
|
|
@@ -263,7 +326,9 @@ export default {
|
|
|
263
326
|
return null
|
|
264
327
|
},
|
|
265
328
|
listTag() {
|
|
266
|
-
|
|
329
|
+
if(this.listType !== "description") {
|
|
330
|
+
return this.listType === "ordered" ? "ol" : "ul"
|
|
331
|
+
}
|
|
267
332
|
}
|
|
268
333
|
},
|
|
269
334
|
methods: {
|
|
@@ -274,7 +339,8 @@ export default {
|
|
|
274
339
|
onAddItem() {
|
|
275
340
|
this.editModeContext.content.addContent(
|
|
276
341
|
buildComponentPath(this, 'props', 'links', -1),
|
|
277
|
-
this.itemProvider
|
|
342
|
+
this.itemProvider
|
|
343
|
+
)
|
|
278
344
|
},
|
|
279
345
|
itemProvider() {
|
|
280
346
|
return {
|
|
@@ -416,11 +482,11 @@ export default {
|
|
|
416
482
|
|
|
417
483
|
@media only screen and (max-width: $medium-max-width) {
|
|
418
484
|
.cmd-list {
|
|
419
|
-
>ul {
|
|
485
|
+
> ul {
|
|
420
486
|
ul {
|
|
421
487
|
gap: calc(var(--default-gap) / 2);
|
|
422
488
|
|
|
423
|
-
>li:first-child {
|
|
489
|
+
> li:first-child {
|
|
424
490
|
margin-top: calc(var(--default-gap) / 2);
|
|
425
491
|
}
|
|
426
492
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdMultistepFormProgressBar ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<ol :class="['cmd-multistep-form-progress-bar', {'use-gap': useGap, 'full-width': fullWidth}]">
|
|
3
4
|
<li v-for="(step, index) in multisteps" :key="index">
|
|
4
5
|
<!-- begin CmdLink -->
|
|
5
6
|
<CmdLink
|
|
6
7
|
:linkType="step.linkType"
|
|
7
|
-
:class="['stretch-on-small-devices', activeLinkClass(
|
|
8
|
+
:class="['stretch-on-small-devices', activeLinkClass(index)]"
|
|
8
9
|
:styleAsButton="styleAsButtons"
|
|
9
10
|
:highlightLevel="highlightLevel"
|
|
10
11
|
:path="step.path"
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
<!-- end separator -->
|
|
26
27
|
</li>
|
|
27
28
|
</ol>
|
|
29
|
+
<!-- end CmdMultistepFormProgressBar ---------------------------------------------------------------------------------------- -->
|
|
28
30
|
</template>
|
|
29
31
|
|
|
30
32
|
<script>
|
|
@@ -55,6 +57,13 @@ export default {
|
|
|
55
57
|
value === "tertiary"
|
|
56
58
|
}
|
|
57
59
|
},
|
|
60
|
+
/**
|
|
61
|
+
* set active step
|
|
62
|
+
*/
|
|
63
|
+
activeStep: {
|
|
64
|
+
type: Number,
|
|
65
|
+
default: 0
|
|
66
|
+
},
|
|
58
67
|
/**
|
|
59
68
|
* toggle if steps should be stretched to full-width of parent container (else steps will be centered)
|
|
60
69
|
*/
|
|
@@ -100,11 +109,9 @@ export default {
|
|
|
100
109
|
}
|
|
101
110
|
},
|
|
102
111
|
methods: {
|
|
103
|
-
activeLinkClass(
|
|
112
|
+
activeLinkClass(index) {
|
|
104
113
|
if(this.activeLink === index) {
|
|
105
|
-
if(linkType !== "router") {
|
|
106
114
|
return "active"
|
|
107
|
-
}
|
|
108
115
|
}
|
|
109
116
|
return ""
|
|
110
117
|
},
|
|
@@ -115,6 +122,14 @@ export default {
|
|
|
115
122
|
getRoute(step) {
|
|
116
123
|
return getRoute(step)
|
|
117
124
|
}
|
|
125
|
+
},
|
|
126
|
+
watch: {
|
|
127
|
+
activeStep: {
|
|
128
|
+
handler() {
|
|
129
|
+
this.activeLink = this.activeStep
|
|
130
|
+
},
|
|
131
|
+
immediate: true
|
|
132
|
+
}
|
|
118
133
|
}
|
|
119
134
|
}
|
|
120
135
|
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdNewsletterSubscription ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<fieldset class="cmd-newsletter-subscription flex-container">
|
|
3
4
|
<!-- begin legend -->
|
|
4
5
|
<legend :class="{hidden : !legend.show, 'align-left': legend.align === 'left'}">{{ legend.text }}</legend>
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
<!-- end cmd-form-element -->
|
|
42
43
|
</div>
|
|
43
44
|
</fieldset>
|
|
45
|
+
<!-- end CmdNewsletterSubscription ---------------------------------------------------------------------------------------- -->
|
|
44
46
|
</template>
|
|
45
47
|
|
|
46
48
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdOpeningHours ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div class="cmd-opening-hours">
|
|
3
4
|
<!-- begin cmd-headline -->
|
|
4
5
|
<CmdHeadline
|
|
@@ -116,6 +117,7 @@
|
|
|
116
117
|
</div>
|
|
117
118
|
<!-- end edit-mode -->
|
|
118
119
|
</div>
|
|
120
|
+
<!-- end CmdOpeningHours ---------------------------------------------------------------------------------------- -->
|
|
119
121
|
</template>
|
|
120
122
|
|
|
121
123
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdOpeningHoursItem ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<!-- begin opening-days and -hours -->
|
|
3
4
|
<template v-if="!editing">
|
|
4
5
|
<dt class="cmd-opening-hours-item">{{ day.day }}</dt>
|
|
@@ -120,6 +121,7 @@
|
|
|
120
121
|
<!-- end hours -->
|
|
121
122
|
</template>
|
|
122
123
|
<!-- end edit-mode -->
|
|
124
|
+
<!-- end CmdOpeningHoursItem ---------------------------------------------------------------------------------------- -->
|
|
123
125
|
</template>
|
|
124
126
|
|
|
125
127
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdPageFooter ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<footer :class="['cmd-page-footer flex-container', {'small-buttons': useSmallButtons}]">
|
|
3
4
|
<!-- begin CmdSocialNetworks -->
|
|
4
5
|
<CmdSocialNetworks v-if="cmdSocialNetworks" v-bind="cmdSocialNetworks">
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
<!-- end button print-preview -->
|
|
27
28
|
</div>
|
|
28
29
|
</footer>
|
|
30
|
+
<!-- end CmdPageFooter ---------------------------------------------------------------------------------------- -->
|
|
29
31
|
</template>
|
|
30
32
|
|
|
31
33
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdPageHeader ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<header v-if="cmdBreadcrumbs || cmdHeadline || $slots.default" class="cmd-page-header flex-container">
|
|
3
4
|
<div v-if="cmdBreadcrumbs || cmdHeadline" class="headline-wrapper flex-container vertical">
|
|
4
5
|
<!-- begin CmdBreadcrumbs -->
|
|
@@ -14,6 +15,7 @@
|
|
|
14
15
|
<slot v-if="$slots.default"></slot>
|
|
15
16
|
<!-- end slot -->
|
|
16
17
|
</header>
|
|
18
|
+
<!-- end CmdPageHeader ---------------------------------------------------------------------------------------- -->
|
|
17
19
|
</template>
|
|
18
20
|
|
|
19
21
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdPagination ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div class="cmd-pagination">
|
|
3
4
|
<!-- begin button/link to previous page -->
|
|
4
5
|
<a
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
</a>
|
|
43
44
|
<!-- end button/link to next page -->
|
|
44
45
|
</div>
|
|
46
|
+
<!-- end CmdPagination ---------------------------------------------------------------------------------------- -->
|
|
45
47
|
</template>
|
|
46
48
|
|
|
47
49
|
<script>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- begin CmdParagraph ---------------------------------------------------------------------------------------- -->
|
|
3
|
+
<p
|
|
4
|
+
:class="['cmd-paragraph', 'text-align-' + textAlign, 'column-count-' + numberOfColumns]"
|
|
5
|
+
v-html="content"
|
|
6
|
+
>
|
|
7
|
+
</p>
|
|
8
|
+
<!-- end CmdParagraph ---------------------------------------------------------------------------------------- -->
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
export default {
|
|
13
|
+
name: "CmdParagraph",
|
|
14
|
+
props: {
|
|
15
|
+
/**
|
|
16
|
+
* provide (html-)content
|
|
17
|
+
*/
|
|
18
|
+
content: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
/**
|
|
23
|
+
* set the number of columns
|
|
24
|
+
*
|
|
25
|
+
* @affectStyling: true
|
|
26
|
+
* @allowedValues: 1/"1", 2/"2", 3/"3",
|
|
27
|
+
*/
|
|
28
|
+
numberOfColumns: {
|
|
29
|
+
type: [String, Number],
|
|
30
|
+
default: 1
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
* set text-align
|
|
34
|
+
*
|
|
35
|
+
* @affectStyling: partially
|
|
36
|
+
* @allowedValues: "left", "center", "right", "justify"
|
|
37
|
+
*/
|
|
38
|
+
textAlign: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "left",
|
|
41
|
+
validator(value) {
|
|
42
|
+
return value === "left" ||
|
|
43
|
+
value === "center" ||
|
|
44
|
+
value === "right" ||
|
|
45
|
+
value === "justify"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSection ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<section :class="['cmd-section flex-container', {box: styleAsBox, 'vertical': orientation === 'vertical'}]">
|
|
3
4
|
<!-- begin CmdHeadline -->
|
|
4
5
|
<CmdHeadline
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
<slot v-else></slot>
|
|
16
17
|
<!-- end slot -->
|
|
17
18
|
</section>
|
|
19
|
+
<!-- end CmdSection ---------------------------------------------------------------------------------------- -->
|
|
18
20
|
</template>
|
|
19
21
|
|
|
20
22
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSidebar ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<aside :class="['cmd-sidebar', wrapperClass, {'box': styledAsBox, 'collapse-to-right': !collapseToLeft}]">
|
|
3
4
|
<!-- begin inner-sidebar-wrapper -->
|
|
4
5
|
<div class="inner-sidebar-wrapper">
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
</a>
|
|
35
36
|
<!-- end column to toggle sidebar open-closed-status -->
|
|
36
37
|
</aside>
|
|
38
|
+
<!-- end CmdSidebar ---------------------------------------------------------------------------------------- -->
|
|
37
39
|
</template>
|
|
38
40
|
|
|
39
41
|
<script>
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSiteFooter ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div class="cmd-site-footer site-footer">
|
|
3
4
|
<footer :class="['flex-container', {vertical: orientation === 'vertical'}]">
|
|
4
5
|
<slot></slot>
|
|
5
6
|
</footer>
|
|
6
7
|
</div>
|
|
8
|
+
<!-- end CmdSiteFooter ---------------------------------------------------------------------------------------- -->
|
|
7
9
|
</template>
|
|
8
10
|
|
|
9
11
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSiteHeader ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div
|
|
3
4
|
ref="site-header"
|
|
4
5
|
:class="[
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
/>
|
|
63
64
|
<!-- end CmdMainNavigation -->
|
|
64
65
|
</div>
|
|
66
|
+
<!-- end CmdSiteHeader ---------------------------------------------------------------------------------------- -->
|
|
65
67
|
</template>
|
|
66
68
|
|
|
67
69
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdBoxSiteSearch ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<fieldset class="cmd-box-site-search flex-container">
|
|
3
4
|
<!-- begin legend -->
|
|
4
5
|
<legend :class="{hidden : !legend.show, 'align-left': legend.align === 'left'}">{{ legend.text }}</legend>
|
|
@@ -98,6 +99,7 @@
|
|
|
98
99
|
<!-- begin CmdFormFilters -->
|
|
99
100
|
<CmdFormFilters v-if="useFilters" v-model="searchFilters" :selectedOptionsName="getOptionName"/>
|
|
100
101
|
<!-- end CmdFormFilters -->
|
|
102
|
+
<!-- end CmdBoxSiteSearch ---------------------------------------------------------------------------------------- -->
|
|
101
103
|
</template>
|
|
102
104
|
|
|
103
105
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSlideButton ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<a href="#"
|
|
3
4
|
@click.prevent
|
|
4
5
|
:class="['cmd-slide-button', 'button', 'keep-behavior-on-small-devices', slideButtonType]"
|
|
@@ -7,6 +8,7 @@
|
|
|
7
8
|
<CmdIcon :type="getDirection.iconType || 'auto'" :iconClass="getDirection.iconClass || 'right'" />
|
|
8
9
|
<!-- end CmdIcon -->
|
|
9
10
|
</a>
|
|
11
|
+
<!-- end CmdSlideButton ---------------------------------------------------------------------------------------- -->
|
|
10
12
|
</template>
|
|
11
13
|
|
|
12
14
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSocialNetworks ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div :class="['cmd-social-networks', {'stretch': stretchButtons}, alignment]">
|
|
3
4
|
<!-- begin CmdHeadline -->
|
|
4
5
|
<CmdHeadline
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
</button>
|
|
65
66
|
<!-- end list of networks -->
|
|
66
67
|
</div>
|
|
68
|
+
<!-- end CmdSocialNetworks ---------------------------------------------------------------------------------------- -->
|
|
67
69
|
</template>
|
|
68
70
|
|
|
69
71
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSocialNetworksItem ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<li class="cmd-social-networks-item">
|
|
3
4
|
<a
|
|
4
5
|
:key="network.path"
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
<span v-if="network.linkText">{{ network.linkText }}</span>
|
|
16
17
|
</a>
|
|
17
18
|
</li>
|
|
19
|
+
<!-- end CmdSocialNetworksItem ---------------------------------------------------------------------------------------- -->
|
|
18
20
|
</template>
|
|
19
21
|
|
|
20
22
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSwitchLanguage ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div class="cmd-switch-language">
|
|
3
4
|
<ul>
|
|
4
5
|
<li v-for="(language, index) in languages" :key="index">
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
</li>
|
|
26
27
|
</ul>
|
|
27
28
|
</div>
|
|
29
|
+
<!-- end CmdSwitchLanguage ---------------------------------------------------------------------------------------- -->
|
|
28
30
|
</template>
|
|
29
31
|
|
|
30
32
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdSystemMessage ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<transition :name="transition">
|
|
3
4
|
<div
|
|
4
5
|
v-if="showSystemMessage"
|
|
@@ -6,20 +7,6 @@
|
|
|
6
7
|
:role="validationStatus === 'error' ? 'alert' : 'dialog'"
|
|
7
8
|
:aria-labelledby="htmlId"
|
|
8
9
|
>
|
|
9
|
-
<!-- begin close-icon -->
|
|
10
|
-
<a
|
|
11
|
-
v-if="iconClose.show && iconClose.iconClass"
|
|
12
|
-
href="#"
|
|
13
|
-
class="close-button"
|
|
14
|
-
@click.prevent="hideSystemMessage"
|
|
15
|
-
:title="iconClose.tooltip"
|
|
16
|
-
>
|
|
17
|
-
<!-- begin CmdIcon -->
|
|
18
|
-
<CmdIcon :iconClass="iconClose.iconClass" :type="iconClose.iconType" />
|
|
19
|
-
<!-- end CmdIcon -->
|
|
20
|
-
</a>
|
|
21
|
-
<!-- end close-icon -->
|
|
22
|
-
|
|
23
10
|
<!-- begin slot-content -->
|
|
24
11
|
<slot>
|
|
25
12
|
<!-- begin CmdHeadline -->
|
|
@@ -33,8 +20,23 @@
|
|
|
33
20
|
<!-- end CmdHeadline -->
|
|
34
21
|
</slot>
|
|
35
22
|
<!-- end slot-content -->
|
|
23
|
+
|
|
24
|
+
<!-- begin close-icon -->
|
|
25
|
+
<a
|
|
26
|
+
v-if="iconClose.show && iconClose.iconClass"
|
|
27
|
+
href="#"
|
|
28
|
+
class="close-button"
|
|
29
|
+
@click.prevent="hideSystemMessage"
|
|
30
|
+
:title="iconClose.tooltip"
|
|
31
|
+
>
|
|
32
|
+
<!-- begin CmdIcon -->
|
|
33
|
+
<CmdIcon :iconClass="iconClose.iconClass" :type="iconClose.iconType" />
|
|
34
|
+
<!-- end CmdIcon -->
|
|
35
|
+
</a>
|
|
36
|
+
<!-- end close-icon -->
|
|
36
37
|
</div>
|
|
37
38
|
</transition>
|
|
39
|
+
<!-- end CmdSystemMessage ---------------------------------------------------------------------------------------- -->
|
|
38
40
|
</template>
|
|
39
41
|
|
|
40
42
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdTableWrapper ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div
|
|
3
4
|
:class="['cmd-table-wrapper', {'collapsed': !showTableData, 'full-width': fullWidth, 'has-caption': hasCaption, 'has-overflow': hasOverflow}]">
|
|
4
5
|
<div v-if="collapsible || userCanToggleWidth" class="button-wrapper">
|
|
@@ -82,6 +83,7 @@
|
|
|
82
83
|
<!-- end CmdSlideButton -->
|
|
83
84
|
</div>
|
|
84
85
|
</div>
|
|
86
|
+
<!-- end CmdTableWrapper ---------------------------------------------------------------------------------------- -->
|
|
85
87
|
</template>
|
|
86
88
|
|
|
87
89
|
<script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- begin CmdTabs ---------------------------------------------------------------------------------------- -->
|
|
2
3
|
<div :class="['cmd-tabs', highlightLevel]">
|
|
3
4
|
<!-- being tab-list -->
|
|
4
5
|
<ul :class="{'stretch-tabs' : stretchTabs}" role="tablist">
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
</div>
|
|
41
42
|
<!-- end tab-content -->
|
|
42
43
|
</div>
|
|
44
|
+
<!-- end CmdTabs ---------------------------------------------------------------------------------------- -->
|
|
43
45
|
</template>
|
|
44
46
|
|
|
45
47
|
<script>
|