comand-component-library 4.0.63 → 4.0.65
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +1277 -1245
- package/dist/comand-component-library.umd.cjs +6 -6
- package/package.json +1 -1
- package/src/components/CmdContainer.vue +7 -7
- package/src/index.js +1 -0
- package/src/mixins/Identifier.js +1 -1
- package/src/pages/SiteImprint.vue +46 -0
- package/src/pages/SiteMap.vue +36 -0
package/package.json
CHANGED
@@ -111,23 +111,23 @@ export default {
|
|
111
111
|
|
112
112
|
},
|
113
113
|
setInnerClass() {
|
114
|
-
let htmlClass =
|
114
|
+
let htmlClass = this.innerClass
|
115
115
|
switch (this.containerType) {
|
116
116
|
case "grid":
|
117
|
-
htmlClass
|
117
|
+
htmlClass += " grid-container-create-columns"
|
118
118
|
break
|
119
119
|
case "flex":
|
120
|
-
if(this.contentOrientation === "horizontal") {
|
121
|
-
htmlClass
|
122
|
-
} else if(this.contentOrientation === "vertical") {
|
123
|
-
htmlClass
|
120
|
+
if (this.contentOrientation === "horizontal") {
|
121
|
+
htmlClass += " flex-container"
|
122
|
+
} else if (this.contentOrientation === "vertical") {
|
123
|
+
htmlClass += " flex-container vertical"
|
124
124
|
}
|
125
125
|
break
|
126
126
|
default:
|
127
127
|
htmlClass = null
|
128
128
|
break
|
129
129
|
}
|
130
|
-
return htmlClass
|
130
|
+
return htmlClass
|
131
131
|
}
|
132
132
|
}
|
133
133
|
}
|
package/src/index.js
CHANGED
@@ -60,6 +60,7 @@ export { default as MultipleListsOfLinks } from '@/pages/MultipleListsOfLinks.vu
|
|
60
60
|
// export directives
|
61
61
|
export { default as DirFocus } from '@/directives/focus'
|
62
62
|
export { default as DirTelephone } from '@/directives/telephone'
|
63
|
+
export { default as DirFancybox } from '@/directives/fancybox'
|
63
64
|
|
64
65
|
// export functions
|
65
66
|
export { createUuid, createHtmlId } from '@/utils/common'
|
package/src/mixins/Identifier.js
CHANGED
@@ -0,0 +1,46 @@
|
|
1
|
+
<template>
|
2
|
+
<!-- begin CmdHeadline -->
|
3
|
+
<CmdHeadline v-if="cmdHeadline" v-bind="cmdHeadline"/>
|
4
|
+
<!-- end CmdHeadline -->
|
5
|
+
|
6
|
+
<!-- begin slot #aboveAddressData -->
|
7
|
+
<slot name="aboveAddressData"></slot>
|
8
|
+
<!-- end slot #aboveAddressData -->
|
9
|
+
|
10
|
+
<!-- begin CmdAddressData -->
|
11
|
+
<CmdAddressData v-if="cmdAddressData" v-bind="cmdAddressData"/>
|
12
|
+
<!-- end CmdAddressData -->
|
13
|
+
|
14
|
+
<!-- begin slot #belowAddressData -->
|
15
|
+
<slot name="belowAddressData"></slot>
|
16
|
+
<!-- end slot #belowAddressData -->
|
17
|
+
</template>
|
18
|
+
|
19
|
+
<script>
|
20
|
+
export default {
|
21
|
+
name: "SiteImprint",
|
22
|
+
props: {
|
23
|
+
/**
|
24
|
+
* properties for CmdHeadline-component
|
25
|
+
*/
|
26
|
+
cmdHeadline: {
|
27
|
+
type: Object,
|
28
|
+
default: {
|
29
|
+
headlineText: "Imprint",
|
30
|
+
headlineLevel: 1
|
31
|
+
}
|
32
|
+
},
|
33
|
+
/**
|
34
|
+
* properties for CmdAddressData-component
|
35
|
+
*/
|
36
|
+
cmdAddressData: {
|
37
|
+
type: Object,
|
38
|
+
required: false
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
</script>
|
43
|
+
|
44
|
+
<style>
|
45
|
+
|
46
|
+
</style>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<template>
|
2
|
+
<ul>
|
3
|
+
<li v-for="(page, index) in pages" :key="index">
|
4
|
+
<!-- begin recursive call for children -->
|
5
|
+
<SiteMap v-if="page.children" />
|
6
|
+
<!-- end recursive call for children -->
|
7
|
+
|
8
|
+
<!-- begin entries without children -->
|
9
|
+
<template v-else>
|
10
|
+
<!-- begin CmdLink -->
|
11
|
+
<CmdLink v-bind="page" />
|
12
|
+
<!-- end CmdLink -->
|
13
|
+
</template>
|
14
|
+
<!-- end entries without children -->
|
15
|
+
</li>
|
16
|
+
</ul>
|
17
|
+
</template>
|
18
|
+
|
19
|
+
<script>
|
20
|
+
export default {
|
21
|
+
name: "SiteMap",
|
22
|
+
props: {
|
23
|
+
/**
|
24
|
+
* pages to list in site-map as links
|
25
|
+
*/
|
26
|
+
pages: {
|
27
|
+
type: Array,
|
28
|
+
required: true
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
</script>
|
33
|
+
|
34
|
+
<style>
|
35
|
+
|
36
|
+
</style>
|