comand-component-library 4.2.51 → 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.
Files changed (57) hide show
  1. package/dist/comand-component-library.js +2444 -2145
  2. package/dist/style.css +1 -1
  3. package/package.json +2 -2
  4. package/src/ComponentLibrary.vue +131 -37
  5. package/src/assets/data/box-product.json +15 -10
  6. package/src/assets/data/box-user.json +8 -8
  7. package/src/assets/data/listOfComponents.json +1 -1
  8. package/src/assets/data/pages/boxes-team-overview.json +8 -8
  9. package/src/componentSettingsDataAndControls.vue +82 -10
  10. package/src/components/CmdAddressData.vue +2 -0
  11. package/src/components/CmdAddressDataItem.vue +2 -1
  12. package/src/components/CmdBackToTopButton.vue +12 -3
  13. package/src/components/CmdBankAccountData.vue +2 -0
  14. package/src/components/CmdBasicForm.vue +6 -2
  15. package/src/components/CmdBox.vue +62 -35
  16. package/src/components/CmdBoxWrapper.vue +6 -0
  17. package/src/components/CmdBreadcrumbs.vue +2 -0
  18. package/src/components/CmdCodeOutput.vue +2 -0
  19. package/src/components/CmdCompanyLogo.vue +2 -0
  20. package/src/components/CmdContainer.vue +100 -87
  21. package/src/components/CmdCookieDisclaimer.vue +12 -1
  22. package/src/components/CmdCopyrightInformation.vue +2 -0
  23. package/src/components/CmdFakeSelect.vue +10 -6
  24. package/src/components/CmdFancyBox.vue +2 -0
  25. package/src/components/CmdFlexibleScrollContainer.vue +2 -0
  26. package/src/components/CmdForm.vue +2 -0
  27. package/src/components/CmdFormElement.vue +11 -1
  28. package/src/components/CmdFormFilters.vue +2 -0
  29. package/src/components/CmdGoogleMaps.vue +2 -0
  30. package/src/components/CmdHeadline.vue +23 -1
  31. package/src/components/CmdIcon.vue +2 -0
  32. package/src/components/CmdImage.vue +3 -0
  33. package/src/components/CmdImageGallery.vue +3 -1
  34. package/src/components/CmdImageZoom.vue +2 -0
  35. package/src/components/CmdInnerLink.vue +2 -0
  36. package/src/components/CmdInputGroup.vue +2 -0
  37. package/src/components/CmdLink.vue +16 -10
  38. package/src/components/CmdList.vue +136 -99
  39. package/src/components/CmdListOfLinksItem.vue +2 -0
  40. package/src/components/CmdListOfRequirements.vue +2 -0
  41. package/src/components/CmdLoginForm.vue +2 -2
  42. package/src/components/CmdMailTool.vue +2 -0
  43. package/src/components/CmdMailToolEntry.vue +2 -1
  44. package/src/components/CmdMailToolFilter.vue +2 -0
  45. package/src/components/CmdMainNavigation.vue +2 -0
  46. package/src/components/CmdMultistepFormProgressBar.vue +16 -10
  47. package/src/components/CmdProgressBar.vue +1 -1
  48. package/src/components/CmdSiteSearch.vue +10 -1
  49. package/src/components/CmdSlideButton.vue +3 -4
  50. package/src/components/CmdSlideshow.vue +10 -1
  51. package/src/components/CmdSmartSearch.vue +42 -11
  52. package/src/components/CmdSystemMessage.vue +8 -5
  53. package/src/components/CmdTable.vue +8 -6
  54. package/src/components/CmdTabs.vue +37 -3
  55. package/src/components/CmdThumbnailScroller.vue +12 -3
  56. package/src/components/CmdUploadForm.vue +12 -1
  57. package/src/components/CmdFlexContainer.vue +0 -109
@@ -1,13 +1,13 @@
1
1
  <template>
2
- <!-- begin cmd-back-to-top-button -->
3
- <transition name="fade">
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 cmd-back-to-top-button -->
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
- <div class="cmd-pages-basic-form">
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
- .cmd-pages-basic-form {
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
- <figure v-if="product.image !== undefined">
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
- <figure v-if="user.image">
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">{{ user.name }}<span v-if="user.age" class="user-age"> ({{
206
- user.age
207
- }})</span></figcaption>
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
- <div v-else>
210
- <span :class="defaultProfileIconClass" :title="user.name"></span>
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, > div:first-child > [class*="icon-"] {
895
- display: table;
896
- margin: 0 auto var(--default-margin) auto !important;
897
- padding: calc(var(--default-padding) * 3);
898
- border-radius: var(--full-circle);
899
- background: var(--box-header-background);
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
- > div:first-child > [class*="icon-"] {
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 p {
1007
- text-align: left;
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
  }
@@ -1,4 +1,5 @@
1
1
  <template>
2
+ <!-- begin CmdBreadcrumbs ---------------------------------------------------------------------------------------- -->
2
3
  <ul class="cmd-breadcrumbs">
3
4
  <li v-if="breadcrumbLabel" class="breadcrumb-label">{{ breadcrumbLabel }}</li>
4
5
  <li v-for="(link, index) in breadcrumbLinks || []" :key="index">
@@ -29,6 +30,7 @@
29
30
  <span class="separator" v-if="index < breadcrumbLinks.length - 1">{{ breadcrumbSeparator }}</span>
30
31
  </li>
31
32
  </ul>
33
+ <!-- end CmdBreadcrumbs ---------------------------------------------------------------------------------------- -->
32
34
  </template>
33
35
 
34
36
  <script>
@@ -1,5 +1,6 @@
1
1
 
2
2
  <template>
3
+ <!-- begin CmdOutput ---------------------------------------------------------------------------------------- -->
3
4
  <div :class="['cmd-code-output', {box : styleAsBox}]" style="max-height: maxHeight">
4
5
  <a v-if="allowCopyByClick" href="#" @click.prevent="copyToClipboard()" :title="cmdIcon.tooltip">
5
6
  <!-- begin CmdIcon -->
@@ -20,6 +21,7 @@
20
21
  </code>
21
22
  <!-- end unformatted code -->
22
23
  </div>
24
+ <!-- end CmdOutput ---------------------------------------------------------------------------------------- -->
23
25
  </template>
24
26
 
25
27
  <script>
@@ -1,4 +1,5 @@
1
1
  <template>
2
+ <!-- begin CmdCompanyLogo ---------------------------------------------------------------------------------------- -->
2
3
  <div class="cmd-company-logo company-logo">
3
4
  <router-link v-if="link?.type === 'router'" :to="link?.path" :title="link?.tooltip">
4
5
  <!-- begin CmdImage -->
@@ -14,6 +15,7 @@
14
15
  <CmdImage v-else :image="image" @image-loaded="onImageLoaded" />
15
16
  <!-- end CmdImage -->
16
17
  </div>
18
+ <!-- end CmdCompanyLogo ---------------------------------------------------------------------------------------- -->
17
19
  </template>
18
20
 
19
21
  <script>
@@ -1,93 +1,111 @@
1
1
  <template>
2
+ <!-- begin CmdContainer ---------------------------------------------------------------------------------------- -->
2
3
  <div class="cmd-container">
3
- <!-- begin cmd-headline -->
4
- <CmdHeadline
5
- v-if="cmdHeadline"
6
- v-bind="cmdHeadline"
7
- />
8
- <!-- end cmd-headline -->
4
+ <!-- begin CmdHeadline -->
5
+ <CmdHeadline v-if="cmdHeadline" v-bind="cmdHeadline" />
6
+ <!-- end CmdHeadline -->
9
7
 
10
- <!-- begin contentAboveSlot -->
11
- <div v-if="contentAboveSlot" v-html="contentAboveSlot"></div>
12
- <!-- end contentAboveSlot -->
13
-
14
- <!-- begin slot-content (one column/slot-item only) -->
15
- <slot v-if="oneSlotItem()"></slot>
16
- <!-- end slot-content (one column/slot-item only) -->
17
-
18
- <!-- begin grid-/flex-container to wrap multiple columns/items -->
19
- <div v-else :class="[setInnerClass, 'inner-slot-wrapper']">
20
- <!-- begin slot-content (multiple columns only) -->
21
- <slot><p>{{innerText}}</p></slot>
22
- <!-- end slot-content (multiple columns only) -->
8
+ <div :class="htmlClasses">
9
+ <!-- begin slot-content -->
10
+ <slot></slot>
11
+ <!-- end slot-content -->
23
12
  </div>
24
- <!-- end grid-/flex-container to wrap multiple columns/items -->
25
-
26
- <!-- begin contentBelowSlot -->
27
- <div v-if="contentBelowSlot" v-html="contentBelowSlot"></div>
28
- <!-- end contentBelowSlot -->
29
13
  </div>
14
+ <!-- end CmdContainer ---------------------------------------------------------------------------------------- -->
30
15
  </template>
31
16
 
32
17
  <script>
33
18
  export default {
34
19
  name: "CmdContainer",
35
20
  props: {
36
- /**
37
- * define (html-)content to display above slot-content
21
+ /** define container-type
38
22
  *
39
- * @canContainHtml: true
23
+ * @affectsStyling: true
24
+ * @allowedValues: "", "default", "flex", "grid"
40
25
  */
41
- contentAboveSlot: {
26
+ containerType: {
42
27
  type: String,
43
- required: false
28
+ default: "default",
29
+ validator(value) {
30
+ return value === "" ||
31
+ value === "default" ||
32
+ value === "flex" ||
33
+ value === "grid"
34
+ }
44
35
  },
45
36
  /**
46
- * define inner-text
37
+ * define content-orientation
38
+ *
39
+ * containerType-property must be set to "flex"
40
+ *
41
+ * @affectsStyling: true
42
+ * @allowedValues: "vertical", "horizontal"
47
43
  */
48
- innerText: {
49
- type: String ,
50
- required: false
44
+ contentOrientation: {
45
+ type: String,
46
+ default: "vertical",
47
+ validator(value) {
48
+ return value === "horizontal" ||
49
+ value === "vertical"
50
+ }
51
51
  },
52
52
  /**
53
- * define (html-)content to display below slot-content
53
+ * activate if no gap between items should be used
54
54
  *
55
- * @canContainHtml: true
55
+ * @affectsStyling: true
56
56
  */
57
- contentBelowSlot: {
58
- type: String,
59
- required: false
57
+ noGap: {
58
+ type: Boolean,
59
+ default: true
60
60
  },
61
61
  /**
62
- * define container-type
62
+ * activate if items should not behave like flex-items (they are now shrunk to their content)
63
63
  *
64
- * @allowedValues: "grid", "flex"
64
+ * @affectsStyling: true
65
65
  */
66
- containerType: {
67
- type: String,
68
- required: false
66
+ flexNone: {
67
+ type: Boolean,
68
+ default: false
69
69
  },
70
70
  /**
71
- * define content-orientation
71
+ * define how the items will be aligned vertically
72
72
  *
73
- * containerType-property must be set to "flex"
73
+ * attention: if alignContentVertical is activated, this property defines the horizontal alignment
74
74
  *
75
- * @allowedValues: "vertical", "horizontal"
75
+ * @allowedValues: top, flex-start, center, flex-end, bottom
76
+ * @affectsStyling: true
76
77
  */
77
- contentOrientation: {
78
+ alignItems: {
78
79
  type: String,
79
- default: "vertical",
80
+ required: false,
80
81
  validator(value) {
81
- return value === "horizontal" ||
82
- value === "vertical"
82
+ return value === "top" ||
83
+ value === "flex-start" ||
84
+ value === "center" ||
85
+ value === "flex-end" ||
86
+ value === "bottom"
83
87
  }
84
88
  },
85
89
  /**
86
- * define a class to set on inner div
90
+ * define how the items will be aligned/justified horizontally.
91
+ *
92
+ * attention: if alignContentVertical is activated, this property defines the vertical alignment/justification
93
+ *
94
+ * @allowedValues: top, flex-start, center, flex-end, bottom, space-between, space-around
95
+ * @affectsStyling: true
87
96
  */
88
- innerClass: {
97
+ justifyContent: {
89
98
  type: String,
90
- required: false
99
+ required: false,
100
+ validator(value) {
101
+ return value === "top" ||
102
+ value === "flex-start" ||
103
+ value === "center" ||
104
+ value === "flex-end" ||
105
+ value === "bottom" ||
106
+ value === "space-between" ||
107
+ value === "space-around"
108
+ }
91
109
  },
92
110
  /**
93
111
  * properties for CmdHeadline-component
@@ -97,43 +115,38 @@ export default {
97
115
  required: false
98
116
  }
99
117
  },
100
- methods: {
101
- addHandlerProvider() {
102
- return ""
103
- },
104
- oneSlotItem() {
105
- if (typeof this.$slots.default !== "function") {
106
- return false
107
- }
118
+ computed: {
119
+ htmlClasses() {
120
+ const htmlClasses = []
108
121
 
109
- const vnodes = this.$slots.default()
122
+ if (this.containerType !== 'default') {
123
+ if (this.containerType === "flex") {
124
+ htmlClasses.push("flex-container")
110
125
 
111
- if (vnodes.length === 1 && typeof vnodes[0].type === "symbol" && Array.isArray(vnodes[0].children)) {
112
- return vnodes[0].children.length === 1
113
- }
114
- if (vnodes.length === 1 && typeof vnodes[0].type === "object" && vnodes[0].type.name === "RenderComponents" && typeof vnodes[0].props === "object" && Array.isArray(vnodes[0].props.components)) {
115
- return vnodes[0].props.components.length === 1
116
- }
117
- return vnodes.length === 1
118
- }
119
- },
120
- computed: {
121
- setInnerClass() {
122
- let htmlClass = this.innerClass || ""
123
- switch (this.containerType) {
124
- case "grid":
125
- htmlClass += " grid-container-create-columns"
126
- break
127
- case "flex":
128
- if (this.contentOrientation === "horizontal") {
129
- htmlClass += " flex-container"
130
- } else if (this.contentOrientation === "vertical") {
131
- htmlClass += " flex-container vertical"
126
+ if (this.contentOrientation) {
127
+ htmlClasses.push(this.contentOrientation === "vertical" ? "flex-direction-column" : null)
128
+ }
129
+ if (this.useGap) {
130
+ htmlClasses.push("no-gap")
132
131
  }
133
- break
134
- default: /* do nothing */
132
+ if (this.flexNone) {
133
+ htmlClasses.push("flex-none")
134
+ }
135
+ if (this.alignItems) {
136
+ htmlClasses.push("align-items-" + this.alignItems)
137
+ }
138
+ }
139
+
140
+ if (this.containerType === "grid") {
141
+ htmlClasses.push("grid-container-create-columns")
142
+ }
135
143
  }
136
- return htmlClass
144
+
145
+ if (this.justifyContent) {
146
+ htmlClasses.push("justify-content-" + this.justifyContent)
147
+ }
148
+
149
+ return htmlClasses.join(" ")
137
150
  }
138
151
  }
139
152
  }
@@ -143,4 +156,4 @@ export default {
143
156
  .cmd-container {
144
157
  min-height: 1rem;
145
158
  }
146
- </style>
159
+ </style>
@@ -1,5 +1,6 @@
1
1
  <template>
2
- <transition name="fade">
2
+ <transition :name="transition">
3
+ <!-- begin CmdCookieDisclaimer ---------------------------------------------------------------------------------------- -->
3
4
  <div class="cmd-cookie-disclaimer flex-container vertical">
4
5
  <!-- begin slot -->
5
6
  <template v-if="useSlot">
@@ -135,6 +136,7 @@
135
136
  <!-- end button-wrapper for 'accept'-buttons -->
136
137
  </div>
137
138
  </div>
139
+ <!-- end CmdCookieDisclaimer ---------------------------------------------------------------------------------------- -->
138
140
  </transition>
139
141
  </template>
140
142
 
@@ -153,6 +155,15 @@ export default {
153
155
  }
154
156
  },
155
157
  props: {
158
+ /**
159
+ * define the transition when cookie disclaimer disappears
160
+ *
161
+ * @allowedValues: "none", "fade", "scroll"
162
+ */
163
+ transition: {
164
+ type: String,
165
+ default: "fade"
166
+ },
156
167
  /**
157
168
  * define icon-class for collapsed box
158
169
  */
@@ -1,7 +1,9 @@
1
1
  <template>
2
+ <!-- begin CmdCopyrightInformation ---------------------------------------------------------------------------------------- -->
2
3
  <div class="cmd-copyright-information" role="contentinfo">
3
4
  <a href="https://www.comand-ui.com" target="comand-ui-website" lang="en" title="CoManD-UI-Website">&copy; CoManD-UI</a>
4
5
  </div>
6
+ <!-- end CmdCopyrightInformation ---------------------------------------------------------------------------------------- -->
5
7
  </template>
6
8
 
7
9
  <script>