comand-component-library 3.3.10 → 3.3.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/dist/style.css +1 -0
  2. package/package.json +20 -22
  3. package/src/App.vue +11 -106
  4. package/src/assets/data/box-user.json +20 -4
  5. package/src/assets/data/image-gallery.json +8 -8
  6. package/src/components/CmdAddressData.vue +99 -27
  7. package/src/components/CmdBackToTopButton.vue +0 -5
  8. package/src/components/CmdBankAccountData.vue +0 -8
  9. package/src/components/CmdBox.vue +77 -18
  10. package/src/components/CmdBoxWrapper.vue +28 -22
  11. package/src/components/CmdBreadcrumbs.vue +0 -6
  12. package/src/components/CmdCompanyLogo.vue +0 -6
  13. package/src/components/CmdCookieDisclaimer.vue +0 -10
  14. package/src/components/CmdFakeSelect.vue +1 -9
  15. package/src/components/CmdFancyBox.vue +102 -32
  16. package/src/components/CmdFormElement.vue +0 -8
  17. package/src/components/CmdFormFilters.vue +0 -6
  18. package/src/components/CmdHeadline.vue +0 -6
  19. package/src/components/CmdImageGallery.vue +1 -7
  20. package/src/components/CmdImageZoom.vue +4 -8
  21. package/src/components/CmdInputGroup.vue +0 -8
  22. package/src/components/CmdListOfLinks.vue +0 -8
  23. package/src/components/CmdListOfRequirements.vue +0 -8
  24. package/src/components/CmdLoginForm.vue +0 -10
  25. package/src/components/CmdMainNavigation.vue +0 -6
  26. package/src/components/CmdMultistepFormProgressBar.vue +0 -6
  27. package/src/components/CmdNewsletterSubscription.vue +0 -8
  28. package/src/components/CmdOpeningHours.vue +0 -6
  29. package/src/components/CmdPager.vue +0 -7
  30. package/src/components/CmdShareButtons.vue +0 -8
  31. package/src/components/CmdSiteHeader.vue +4 -26
  32. package/src/components/CmdSiteSearch.vue +0 -14
  33. package/src/components/CmdSlideButton.vue +0 -8
  34. package/src/components/CmdSlideshow.vue +0 -8
  35. package/src/components/CmdSwitchLanguage.vue +31 -5
  36. package/src/components/CmdSystemMessage.vue +0 -8
  37. package/src/components/CmdTable.vue +0 -6
  38. package/src/components/CmdTabs.vue +0 -8
  39. package/src/components/CmdToggleDarkMode.vue +0 -5
  40. package/src/components/CmdTooltip.vue +0 -8
  41. package/src/components/CmdTooltipForInputElements.vue +0 -8
  42. package/src/components/CmdUploadForm.vue +0 -12
  43. package/src/components/CmdWidthLimitationWrapper.vue +1 -1
  44. package/src/documentation/generated/CmdBoxPropertyDescriptions.json +24 -0
  45. package/src/documentation/generated/CmdFakeSelectPropertyDescriptions.json +7 -4
  46. package/src/documentation/generated/CmdFancyBoxPropertyDescriptions.json +10 -0
  47. package/src/index.js +43 -43
  48. package/src/main.js +1 -1
  49. package/src/rest.vue +18 -0
  50. package/src/router/index.js +1 -1
  51. package/dist/comand-component-library.css +0 -1
  52. package/dist/comand-component-library.umd.min.js +0 -2
@@ -17,25 +17,31 @@
17
17
 
18
18
  <!-- begin button-wrapper -->
19
19
  <div
20
- v-if="(fancyboxOptions.printButtons && (fancyboxOptions.printButtons.color || fancyboxOptions.printButtons.grayscale)) || fancyboxOptions.closeIcon"
20
+ v-if="(fancyboxOptions.printButtons?.color || fancyboxOptions.printButtons?.grayscale) || fancyboxOptions.closeIcon"
21
21
  class="button-wrapper no-flex"
22
22
  > <!-- begin print buttons -->
23
- <a v-if="fancyboxOptions.printButtons && fancyboxOptions.printButtons.color && fancyboxOptions.printButtons.color.show"
23
+ <a v-if="showPrintButtons && fancyboxOptions.printButtons?.color"
24
24
  href="#"
25
25
  class="button print-color"
26
- :title="fancyboxOptions.printButtons.color.tooltip"
26
+ :title="fancyboxOptions.printButtons.color?.tooltip"
27
27
  @click.prevent="printInGrayscale = false">
28
28
  <!-- begin CmdIcon -->
29
- <CmdIcon :iconClass="fancyboxOptions.printButtons.color.iconClass" :type="fancyboxOptions.printButtons.color.iconType" />
29
+ <CmdIcon
30
+ :iconClass="fancyboxOptions.printButtons.color?.iconClass"
31
+ :type="fancyboxOptions.printButtons.color?.iconType"
32
+ />
30
33
  <!-- end CmdIcon -->
31
34
  </a>
32
- <a v-if="fancyboxOptions.printButtons && fancyboxOptions.printButtons.grayscale && fancyboxOptions.printButtons.grayscale.show"
35
+ <a v-if="showPrintButtons && fancyboxOptions.printButtons?.grayscale"
33
36
  href="#"
34
37
  class="button print-grayscale"
35
- :title="fancyboxOptions.printButtons.grayscale.tooltip"
38
+ :title="fancyboxOptions.printButtons.grayscale?.tooltip"
36
39
  @click.prevent="printInGrayscale = true">
37
40
  <!-- begin CmdIcon -->
38
- <CmdIcon :iconClass="fancyboxOptions.printButtons.grayscale.iconClass" :type="fancyboxOptions.printButtons.grayscale.iconType" />
41
+ <CmdIcon
42
+ :iconClass="fancyboxOptions.printButtons.grayscale?.iconClass"
43
+ :type="fancyboxOptions.printButtons.grayscale?.iconType"
44
+ />
39
45
  <!-- end CmdIcon -->
40
46
  </a>
41
47
  <!-- end print buttons -->
@@ -49,7 +55,10 @@
49
55
  ref="close-dialog"
50
56
  @click.prevent="close">
51
57
  <!-- begin CmdIcon -->
52
- <CmdIcon :iconClass="fancyboxOptions.closeIcon.iconClass" :type="fancyboxOptions.closeIcon.iconType" />
58
+ <CmdIcon
59
+ :iconClass="fancyboxOptions.closeIcon.iconClass"
60
+ :type="fancyboxOptions.closeIcon.iconType"
61
+ />
53
62
  <!-- end CmdIcon -->
54
63
  </a>
55
64
  <!-- end close-icon -->
@@ -86,6 +95,37 @@
86
95
  <!-- end slot-content -->
87
96
  </div>
88
97
  </div>
98
+
99
+ <footer v-if="showSubmitButtons && fancyboxOptions.submitButtons" class="flex-container no-flex">
100
+ <!-- begin cancel-button -->
101
+ <button
102
+ v-if="fancyboxOptions.submitButtons?.cancel"
103
+ @click="cancel"
104
+ :title="fancyboxOptions.submitButtons.cancel?.tooltip">
105
+ <CmdIcon
106
+ v-if="fancyboxOptions.submitButtons.cancel?.iconClass"
107
+ :iconClass="fancyboxOptions.submitButtons.cancel?.iconClass"
108
+ :type="fancyboxOptions.submitButtons.cancel?.iconType"
109
+ />
110
+ <span v-if="fancyboxOptions.submitButtons.cancel?.buttonText">{{fancyboxOptions.submitButtons.cancel?.buttonText}}</span>
111
+ </button>
112
+ <!-- end cancel-button -->
113
+
114
+ <!-- begin confirm-button -->
115
+ <button
116
+ v-if="fancyboxOptions.submitButtons?.confirm"
117
+ @click="confirm"
118
+ :title="fancyboxOptions.submitButtons.cancel?.tooltip">
119
+ <CmdIcon
120
+ v-if="fancyboxOptions.submitButtons.confirm?.iconClass"
121
+ :iconClass="fancyboxOptions.submitButtons.confirm?.iconClass"
122
+ :type="fancyboxOptions.submitButtons.confirm?.iconType"
123
+ />
124
+ <span v-if="fancyboxOptions.submitButtons.confirm?.buttonText">{{fancyboxOptions.submitButtons.confirm?.buttonText}}</span>
125
+ </button>
126
+ <!-- end confirm-button -->
127
+ </footer>
128
+
89
129
  <!-- begin CmdThumbnailScroller -->
90
130
  <CmdThumbnailScroller
91
131
  v-if="fancyBoxGallery"
@@ -105,13 +145,6 @@ import {defineComponent, createApp} from "vue"
105
145
  // import mixins
106
146
  import Identifier from "../mixins/Identifier"
107
147
 
108
- // import components
109
- import CmdHeadline from "./CmdHeadline"
110
- import CmdIcon from "./CmdIcon"
111
- import CmdImage from "./CmdImage"
112
- import CmdSlideButton from "./CmdSlideButton.vue"
113
- import CmdThumbnailScroller from './CmdThumbnailScroller.vue'
114
-
115
148
  const openFancyBox = (config) => {
116
149
  const node = document.createElement("div");
117
150
  document.querySelector("body").appendChild(node);
@@ -124,16 +157,10 @@ const openFancyBox = (config) => {
124
157
 
125
158
  const FancyBox = defineComponent({
126
159
  name: "CmdFancyBox",
127
- components: {
128
- CmdHeadline,
129
- CmdIcon,
130
- CmdImage,
131
- CmdSlideButton,
132
- CmdThumbnailScroller
133
- },
134
160
  mixins: [
135
161
  Identifier
136
162
  ],
163
+ emits: ['cancel', 'confirm'],
137
164
  data() {
138
165
  return {
139
166
  fancyBoxContent: null,
@@ -161,6 +188,20 @@ const FancyBox = defineComponent({
161
188
  type: String,
162
189
  required: false
163
190
  },
191
+ /**
192
+ * toggle visibility of print-buttons
193
+ */
194
+ showPrintButtons: {
195
+ type: Boolean,
196
+ default: false
197
+ },
198
+ /**
199
+ * toggle visibility of print-buttons
200
+ */
201
+ showSubmitButtons: {
202
+ type: Boolean,
203
+ default: true
204
+ },
164
205
  /**
165
206
  * options to show at top (closeIcon, printButtons)
166
207
  */
@@ -169,19 +210,35 @@ const FancyBox = defineComponent({
169
210
  default() {
170
211
  return {
171
212
  closeIcon: {
172
- "iconClass": "icon-cancel",
173
- "tooltip": "Close"
213
+ iconClass: "icon-cancel",
214
+ iconType: "auto",
215
+ tooltip: "Close"
174
216
  },
175
217
  printButtons: {
176
- "color": {
177
- show: true,
178
- "iconClass": "icon-print",
179
- "tooltip": "print in color"
218
+ color: {
219
+ iconClass: "icon-print",
220
+ iconType: "auto",
221
+ tooltip: "print in color"
222
+ },
223
+ grayscale: {
224
+ iconClass: "icon-print",
225
+ iconType: "auto",
226
+ tooltip: "print in grayscale"
227
+ }
228
+ },
229
+ submitButtons: {
230
+ cancel: {
231
+ iconClass: "icon-cancel",
232
+ iconType: "auto",
233
+ tooltip: "Cancel",
234
+ buttonText: "Cancel"
180
235
  },
181
- "grayscale": {
182
- show: true,
183
- "iconClass": "icon-print",
184
- "tooltip": "print in grayscale"
236
+ confirm: {
237
+ iconClass: "icon-check",
238
+ iconType: "auto",
239
+ buttonText: "Confirm",
240
+ tooltip: "Confirm",
241
+ buttonType: "primary"
185
242
  }
186
243
  }
187
244
  }
@@ -368,6 +425,14 @@ const FancyBox = defineComponent({
368
425
 
369
426
  // remove class to re-enable scrolling
370
427
  document.querySelector("body").classList.remove("avoid-scrolling")
428
+ },
429
+ cancel() {
430
+ this.$emit("cancel", true)
431
+ this.close()
432
+ },
433
+ confirm() {
434
+ this.$emit("confirm", true)
435
+ this.close()
371
436
  }
372
437
  },
373
438
  watch: {
@@ -502,6 +567,11 @@ export default FancyBox
502
567
  }
503
568
  }
504
569
 
570
+ > footer {
571
+ margin-top: auto;
572
+ justify-content: flex-end;
573
+ }
574
+
505
575
  .outer-content-wrapper {
506
576
  max-height: 85vh;
507
577
  overflow-x: hidden;
@@ -245,19 +245,11 @@ import FieldValidation from "../mixins/FieldValidation.js"
245
245
  import Identifier from "../mixins/Identifier.js"
246
246
  import Tooltip from "../mixins/Tooltip.js"
247
247
 
248
- // import components
249
- import CmdIcon from "./CmdIcon"
250
- import CmdTooltipForInputElements from "./CmdTooltipForInputElements"
251
-
252
248
  const TYPES_WITHOUT_MAXLENGTH = ["color", "date", "datetime-local", "file", "number", "range"]
253
249
 
254
250
  export default {
255
251
  inheritAttrs: false,
256
252
  name: "CmdFormElement",
257
- components: {
258
- CmdIcon,
259
- CmdTooltipForInputElements
260
- },
261
253
  mixins: [
262
254
  I18n,
263
255
  DefaultMessageProperties,
@@ -20,9 +20,6 @@
20
20
  </template>
21
21
 
22
22
  <script>
23
- // import components
24
- import CmdIcon from "./CmdIcon"
25
-
26
23
  export default {
27
24
  name: "CmdFormFilters",
28
25
  data() {
@@ -30,9 +27,6 @@ export default {
30
27
  options: []
31
28
  }
32
29
  },
33
- components: {
34
- CmdIcon
35
- },
36
30
  props: {
37
31
  /**
38
32
  * model-value to support v-model
@@ -21,14 +21,8 @@
21
21
  </template>
22
22
 
23
23
  <script>
24
- // import components
25
- import CmdIcon from "./CmdIcon"
26
-
27
24
  export default {
28
25
  name: "CmdHeadline",
29
- components: {
30
- CmdIcon
31
- },
32
26
  props: {
33
27
  /**
34
28
  * text for headline
@@ -11,11 +11,8 @@
11
11
  </template>
12
12
 
13
13
  <script>
14
- // import components
15
- import CmdImage from "./CmdImage.vue"
16
-
17
14
  // import functions
18
- import {openFancyBox} from "./CmdFancyBox"
15
+ import {openFancyBox} from "./CmdFancyBox.vue"
19
16
 
20
17
  // import mixins
21
18
  import I18n from "../mixins/I18n"
@@ -23,9 +20,6 @@ import DefaultMessageProperties from "../mixins/CmdImageGallery/DefaultMessagePr
23
20
 
24
21
  export default {
25
22
  name: "CmdImageGallery",
26
- components: {
27
- CmdImage
28
- },
29
23
  mixins: [I18n, DefaultMessageProperties],
30
24
  props: {
31
25
  /**
@@ -5,7 +5,8 @@
5
5
  <a href="#" class="thumbnails-imagezoom">
6
6
  <!-- begin CmdImage -->
7
7
  <CmdImage
8
- :image="imageSmall"
8
+ :image="imageSmall.image"
9
+ :figcaption="imageSmall.figcaption"
9
10
  @mouseover="onMouseOver"
10
11
  @mousemove="onMouseMove"
11
12
  @mouseout="onMouseOut"
@@ -19,7 +20,8 @@
19
20
  <div v-if="showLargeImage" class="zoom-container grid-large-item">
20
21
  <!-- begin CmdImage -->
21
22
  <CmdImage
22
- :image="imageLarge"
23
+ :image="imageLarge.image"
24
+ :figcaption="imageLarge.figcaption"
23
25
  @mouseover="onMouseOver"
24
26
  @mousemove="onMouseMove"
25
27
  @mouseout="onMouseOut"
@@ -32,14 +34,8 @@
32
34
  </template>
33
35
 
34
36
  <script>
35
- // import components
36
- import CmdImage from "./CmdImage"
37
-
38
37
  export default {
39
38
  name: "CmdImageZoom",
40
- components: {
41
- CmdImage
42
- },
43
39
  props: {
44
40
  /**
45
41
  * object for small image
@@ -75,15 +75,7 @@ import FieldValidation from "../mixins/FieldValidation.js"
75
75
  import Identifier from "../mixins/Identifier"
76
76
  import Tooltip from "../mixins/Tooltip.js"
77
77
 
78
- // import components
79
- import CmdIcon from "./CmdIcon"
80
- import CmdTooltipForInputElements from "./CmdTooltipForInputElements"
81
-
82
78
  export default {
83
- components: {
84
- CmdIcon,
85
- CmdTooltipForInputElements
86
- },
87
79
  mixins: [
88
80
  FieldValidation,
89
81
  Identifier,
@@ -44,16 +44,8 @@
44
44
  import {getRoute} from "../utilities.js"
45
45
  import {openFancyBox} from "./CmdFancyBox.vue"
46
46
 
47
- // import components
48
- import CmdHeadline from "./CmdHeadline"
49
- import CmdIcon from "./CmdIcon"
50
-
51
47
  export default {
52
48
  name: "CmdListOfLinks",
53
- components: {
54
- CmdHeadline,
55
- CmdIcon
56
- },
57
49
  props: {
58
50
  /**
59
51
  * activate if component should contain a list of anchors for the section within th page
@@ -50,20 +50,12 @@
50
50
  </template>
51
51
 
52
52
  <script>
53
- // import components
54
- import CmdHeadline from "./CmdHeadline"
55
- import CmdIcon from "./CmdIcon"
56
-
57
53
  // import mixins
58
54
  import I18n from "../mixins/I18n"
59
55
  import DefaultMessageProperties from "../mixins/CmdListOfRequirements/DefaultMessageProperties"
60
56
 
61
57
  export default {
62
58
  name: "CmdListOfRequirements",
63
- components: {
64
- CmdHeadline,
65
- CmdIcon
66
- },
67
59
  mixins: [
68
60
  I18n,
69
61
  DefaultMessageProperties
@@ -173,11 +173,6 @@
173
173
  // import utilities
174
174
  import {getRoute} from "../utilities.js"
175
175
 
176
- // import components
177
- import CmdFormElement from "./CmdFormElement"
178
- import CmdHeadline from "./CmdHeadline"
179
- import CmdIcon from "./CmdIcon"
180
-
181
176
  export default {
182
177
  name: "CmdLoginForm",
183
178
  data() {
@@ -189,11 +184,6 @@ export default {
189
184
  sendLogin: false
190
185
  }
191
186
  },
192
- components: {
193
- CmdFormElement,
194
- CmdHeadline,
195
- CmdIcon
196
- },
197
187
  props: {
198
188
  /**
199
189
  * value for v-model (modelValue is default name in vue 3)
@@ -153,14 +153,8 @@
153
153
  // import functions
154
154
  import {getRoute} from "../utilities.js"
155
155
 
156
- // import components
157
- import CmdIcon from "./CmdIcon"
158
-
159
156
  export default {
160
157
  name: "CmdMainNavigation",
161
- components: {
162
- CmdIcon
163
- },
164
158
  data() {
165
159
  return {
166
160
  showOffcanvas: false,
@@ -56,14 +56,8 @@
56
56
  // import functions
57
57
  import {getRoute} from "../utilities.js"
58
58
 
59
- // import components
60
- import CmdIcon from "./CmdIcon"
61
-
62
59
  export default {
63
60
  name: 'CmdMultistepFormProgressBar',
64
- components: {
65
- CmdIcon
66
- },
67
61
  data() {
68
62
  return {
69
63
  activeLink: 0
@@ -43,17 +43,9 @@
43
43
  </template>
44
44
 
45
45
  <script>
46
- // import components
47
- import CmdFormElement from "./CmdFormElement"
48
- import CmdInputGroup from "./CmdInputGroup"
49
-
50
46
  export default {
51
47
  name: "CmdNewsletterSubscription",
52
48
  emits: ["button-click"],
53
- components: {
54
- CmdFormElement,
55
- CmdInputGroup
56
- },
57
49
  data() {
58
50
  return {
59
51
  buttonDisabled: true
@@ -37,9 +37,6 @@
37
37
  </template>
38
38
 
39
39
  <script>
40
- // import components
41
- import CmdHeadline from "./CmdHeadline"
42
-
43
40
  export function localizedTime(language) {
44
41
  return (hour, minute) => {
45
42
  const now = new Date()
@@ -72,9 +69,6 @@ export function timeFormatting(separator, suffix1, suffix2, hoursLeadingZero = t
72
69
 
73
70
  export default {
74
71
  name: "CmdOpeningHours",
75
- components: {
76
- CmdHeadline
77
- },
78
72
  props: {
79
73
  /**
80
74
  * set a link to a detail page
@@ -48,15 +48,8 @@
48
48
  // import mixins
49
49
  import I18n from "../mixins/I18n"
50
50
  import DefaultMessageProperties from "../mixins/CmdPager/DefaultMessageProperties"
51
-
52
- // import components
53
- import CmdIcon from "./CmdIcon"
54
-
55
51
  export default {
56
52
  name: "CmdPager",
57
- components: {
58
- CmdIcon
59
- },
60
53
  mixins: [
61
54
  I18n,
62
55
  DefaultMessageProperties
@@ -30,16 +30,8 @@
30
30
  </template>
31
31
 
32
32
  <script>
33
- // import components
34
- import CmdFormElement from "./CmdFormElement"
35
- import CmdIcon from "./CmdIcon"
36
-
37
33
  export default {
38
34
  name: "CmdShareButtons",
39
- components: {
40
- CmdFormElement,
41
- CmdIcon
42
- },
43
35
  data() {
44
36
  return {
45
37
  dataPrivacyAccepted: false
@@ -6,10 +6,10 @@
6
6
  </div>
7
7
  <!-- end slot for elements above header -->
8
8
 
9
- <header :class="[
10
- useGrid ? 'grid-container-create-columns': 'flex-container',
11
- {'has-navigation': (cmdMainNavigation?.navigationEntries?.length && navigationInline) || $slots.navigation,
12
- 'one-child-only' : oneChildOnly}
9
+ <header
10
+ :class="[
11
+ useGrid ? 'grid-container-create-columns': 'flex-container',
12
+ {'has-navigation': (cmdMainNavigation?.navigationEntries?.length && navigationInline) || $slots.navigation}
13
13
  ]">
14
14
  <!-- begin slots for logo and other header elements -->
15
15
  <template v-if="$slots.logo || $slots.header || $slots.navigation">
@@ -50,16 +50,8 @@
50
50
  </template>
51
51
 
52
52
  <script>
53
- // import components
54
- import CmdCompanyLogo from "./CmdCompanyLogo"
55
- import CmdMainNavigation from "./CmdMainNavigation"
56
-
57
53
  export default {
58
54
  name: "CmdSiteHeader",
59
- components: {
60
- CmdCompanyLogo,
61
- CmdMainNavigation
62
- },
63
55
  props: {
64
56
  /**
65
57
  * use only if default-button of inner navigation-component should not be used
@@ -107,12 +99,6 @@ export default {
107
99
  type: Object,
108
100
  required: false
109
101
  }
110
- },
111
- computed: {
112
- oneChildOnly() {
113
- // check if sum of children equals "1" by turning objects into booleans, which will be converted to numbers by using "+".
114
- return (!!this.cmdCompanyLogo + !!this.cmdMainNavigation + !!this.$slots.logo + !!this.$slots.header + !!this.$slots.navigation) === 1
115
- }
116
102
  }
117
103
  }
118
104
  </script>
@@ -171,10 +157,6 @@ export default {
171
157
  padding-bottom: 0;
172
158
  }
173
159
 
174
- &.one-child-only {
175
- gap: 0;
176
- }
177
-
178
160
  &.flex-container {
179
161
  width: 100%;
180
162
 
@@ -197,10 +179,6 @@ export default {
197
179
  .cmd-company-logo {
198
180
  grid-column: span var(--grid-small-span);
199
181
  }
200
-
201
- > *:only-child {
202
- gap: 0;
203
- }
204
182
  }
205
183
 
206
184
  &.navigation-inline {
@@ -106,13 +106,6 @@
106
106
  import I18n from "../mixins/I18n"
107
107
  import DefaultMessageProperties from "../mixins/CmdSiteSearch/DefaultMessageProperties"
108
108
 
109
- // import files for components
110
- import CmdFakeSelect from "./CmdFakeSelect"
111
- import CmdFormElement from "./CmdFormElement"
112
- import CmdFormFilters from "./CmdFormFilters"
113
- import CmdHeadline from "./CmdHeadline"
114
- import CmdIcon from "./CmdIcon"
115
-
116
109
  export default {
117
110
  emits: [
118
111
  "search",
@@ -123,13 +116,6 @@ export default {
123
116
  ],
124
117
  name: "CmdBoxSiteSearch",
125
118
  mixins: [I18n, DefaultMessageProperties],
126
- components: {
127
- CmdFakeSelect,
128
- CmdFormElement,
129
- CmdFormFilters,
130
- CmdHeadline,
131
- CmdIcon
132
- },
133
119
  data() {
134
120
  return {
135
121
  showFilters: false
@@ -10,14 +10,8 @@
10
10
  </template>
11
11
 
12
12
  <script>
13
- // import components
14
- import CmdIcon from "./CmdIcon"
15
-
16
13
  export default {
17
14
  name: "CmdSlideButton",
18
- components: {
19
- CmdIcon
20
- },
21
15
  props: {
22
16
  /**
23
17
  * set slide-button-type
@@ -76,10 +70,8 @@ export default {
76
70
  &.button {
77
71
  font-size: 2rem;
78
72
  z-index: 10;
79
- width: 5rem;
80
73
  height: 100%;
81
74
  position: absolute;
82
- display: -webkit-flex; /* Safari 6-8 */
83
75
  display: flex;
84
76
  justify-content: center;
85
77
  text-decoration: none;
@@ -52,10 +52,6 @@
52
52
  </template>
53
53
 
54
54
  <script>
55
- // import components
56
- import CmdImage from "./CmdImage"
57
- import CmdSlideButton from "./CmdSlideButton"
58
-
59
55
  const NOT_YET_PRELOADED_IMAGE = image => !image.loaded
60
56
  const NOT_YET_PRELOADED_IMAGES = item => item.images && item.images.find(NOT_YET_PRELOADED_IMAGE)
61
57
 
@@ -71,10 +67,6 @@ export default {
71
67
  currentSlotItem: 0
72
68
  }
73
69
  },
74
- components: {
75
- CmdImage,
76
- CmdSlideButton
77
- },
78
70
  props: {
79
71
  /**
80
72
  * use slot for images