comand-component-library 4.0.63 → 4.0.65

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comand-component-library",
3
- "version": "4.0.63",
3
+ "version": "4.0.65",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-only",
@@ -111,23 +111,23 @@ export default {
111
111
 
112
112
  },
113
113
  setInnerClass() {
114
- let htmlClass = null
114
+ let htmlClass = this.innerClass
115
115
  switch (this.containerType) {
116
116
  case "grid":
117
- htmlClass = "grid-container-create-columns"
117
+ htmlClass += " grid-container-create-columns"
118
118
  break
119
119
  case "flex":
120
- if(this.contentOrientation === "horizontal") {
121
- htmlClass = "flex-container"
122
- } else if(this.contentOrientation === "vertical") {
123
- htmlClass = "flex-container vertical"
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 += " " + this.innerClass
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'
@@ -1,5 +1,5 @@
1
1
  // import utils
2
- import {createHtmlId} from "@/utils/common";
2
+ import {createHtmlId} from "../utils/common"
3
3
 
4
4
  export default {
5
5
  props: {
@@ -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>