comand-component-library 3.3.86 → 4.0.0
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 +856 -835
- package/dist/comand-component-library.umd.cjs +4 -4
- package/dist/media/images/slideshow-images/large/slide1.jpg +0 -0
- package/dist/media/images/slideshow-images/large/slide2.jpg +0 -0
- package/dist/media/images/slideshow-images/large/slide3.jpg +0 -0
- package/dist/media/images/slideshow-images/large/slide4.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide1.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide2.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide3.jpg +0 -0
- package/dist/media/images/slideshow-images/medium/slide4.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide1.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide2.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide3.jpg +0 -0
- package/dist/media/images/slideshow-images/small/slide4.jpg +0 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +680 -632
- package/src/assets/data/address-data.json +3 -3
- package/src/components/CmdAddressData.vue +90 -96
- package/src/components/CmdAddressDataItem.vue +60 -52
- package/src/components/CmdBankAccountData.vue +1 -1
- package/src/components/CmdBox.vue +10 -10
- package/src/components/CmdBoxWrapper.vue +8 -4
- package/src/components/CmdBreadcrumbs.vue +1 -1
- package/src/components/CmdCompanyLogo.vue +14 -11
- package/src/components/CmdContainer.vue +24 -0
- package/src/components/CmdCookieDisclaimer.vue +1 -1
- package/src/components/CmdCopyrightInformation.vue +1 -1
- package/src/components/CmdFancyBox.vue +9 -6
- package/src/components/CmdForm.vue +7 -1
- package/src/components/CmdFormElement.vue +21 -75
- package/src/components/CmdFormFilters.vue +2 -1
- package/src/components/CmdGoogleMaps.vue +1 -1
- package/src/components/CmdHeadline.vue +20 -25
- package/src/components/CmdIcon.vue +1 -1
- package/src/components/CmdImage.vue +1 -1
- package/src/components/CmdImageGallery.vue +1 -1
- package/src/components/CmdImageZoom.vue +1 -1
- package/src/components/CmdInputGroup.vue +2 -2
- package/src/components/CmdListOfLinks.vue +1 -1
- package/src/components/CmdListOfLinksItem.vue +0 -4
- package/src/components/CmdListOfRequirements.vue +10 -2
- package/src/components/CmdLoginForm.vue +1 -1
- package/src/components/CmdMainNavigation.vue +18 -17
- package/src/components/CmdMultistepFormProgressBar.vue +7 -3
- package/src/components/CmdNewsletterSubscription.vue +1 -8
- package/src/components/CmdOpeningHours.vue +1 -1
- package/src/components/CmdOpeningHoursItem.vue +1 -1
- package/src/components/CmdPagination.vue +21 -15
- package/src/components/CmdProgressBar.vue +1 -1
- package/src/components/CmdSidebar.vue +7 -1
- package/src/components/CmdSiteFooter.vue +14 -14
- package/src/components/CmdSiteHeader.vue +12 -29
- package/src/components/CmdSlideButton.vue +9 -7
- package/src/components/CmdSlideshow.vue +14 -12
- package/src/components/CmdSocialNetworks.vue +11 -4
- package/src/components/CmdSocialNetworksItem.vue +2 -7
- package/src/components/CmdSwitchLanguage.vue +1 -1
- package/src/components/CmdSystemMessage.vue +10 -6
- package/src/components/CmdTable.vue +72 -17
- package/src/components/CmdTabs.vue +2 -2
- package/src/components/CmdTextImageBlock.vue +1 -1
- package/src/components/CmdThumbnailScroller.vue +157 -152
- package/src/components/CmdToggleDarkMode.vue +1 -1
- package/src/components/CmdTooltip.vue +1 -1
- package/src/components/CmdUploadForm.vue +2 -2
- package/src/components/CmdWidthLimitationWrapper.vue +7 -3
- package/src/index.js +1 -0
- package/src/mixins/FieldValidation.js +0 -17
@@ -103,11 +103,11 @@ export default {
|
|
103
103
|
}
|
104
104
|
</script>
|
105
105
|
|
106
|
-
<style
|
106
|
+
<style>
|
107
107
|
/* begin cmd-tabs ------------------------------------------------------------------------------------------ */
|
108
108
|
.cmd-tabs {
|
109
109
|
> ul {
|
110
|
-
margin
|
110
|
+
margin: 0;
|
111
111
|
display: flex;
|
112
112
|
|
113
113
|
> li {
|
@@ -19,9 +19,9 @@
|
|
19
19
|
<div class="inner-thumbnail-wrapper">
|
20
20
|
<!-- begin CmdSlideButton -->
|
21
21
|
<CmdSlideButton
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
v-if="showSlidebuttons"
|
23
|
+
@click.prevent="showPrevItem"
|
24
|
+
slideButtonType="prev"
|
25
25
|
/>
|
26
26
|
<!-- end CmdSlideButton -->
|
27
27
|
|
@@ -357,199 +357,204 @@ export default {
|
|
357
357
|
}
|
358
358
|
</script>
|
359
359
|
|
360
|
-
<style
|
360
|
+
<style>
|
361
361
|
/* begin cmd-thumbnail-scroller ------------------------------------------------------------------------------------------ */
|
362
|
-
@import '../assets/styles/variables';
|
363
|
-
|
364
362
|
.cmd-thumbnail-scroller {
|
365
|
-
|
363
|
+
display: inline-flex; /* do not set to table to avoid overflow is not hidden on small devices */
|
366
364
|
flex-direction: column;
|
367
365
|
gap: var(--default-gap);
|
368
|
-
|
366
|
+
width: 100%;
|
369
367
|
|
370
368
|
&.full-width:not(.vertical) {
|
371
|
-
|
369
|
+
display: flex; /* allows flex-items to stretch equally over full space */
|
372
370
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
371
|
+
> div {
|
372
|
+
width: 100%;
|
373
|
+
}
|
374
|
+
}
|
377
375
|
|
378
|
-
|
379
|
-
|
376
|
+
> .inner-thumbnail-wrapper {
|
377
|
+
border-radius: var(--border-radius);
|
380
378
|
padding: calc(var(--default-padding) * 2);
|
381
379
|
padding-top: 0;
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
380
|
+
margin: 0 auto;
|
381
|
+
border: var(--default-border);
|
382
|
+
background: var(--color-scheme-background-color);
|
383
|
+
overflow: hidden;
|
384
|
+
|
385
|
+
> ul {
|
386
|
+
overflow: hidden;
|
387
|
+
margin: 0;
|
388
|
+
display: flex;
|
389
|
+
gap: var(--grid-gap);
|
390
|
+
justify-content: space-between;
|
391
|
+
width: 100%; /* stretch flex-container */
|
392
|
+
|
393
|
+
> li {
|
394
|
+
align-self: center;
|
395
|
+
list-style-type: none;
|
396
|
+
margin: 0;
|
399
397
|
margin-top: 2rem;
|
398
|
+
flex: none; /* avoids items to shrink to small on small screens */
|
400
399
|
|
401
|
-
|
402
|
-
|
403
|
-
|
400
|
+
a {
|
401
|
+
text-align: center;
|
402
|
+
}
|
404
403
|
|
405
|
-
|
406
|
-
|
404
|
+
img {
|
405
|
+
border-radius: var(--border-radius);
|
407
406
|
min-width: 15rem;
|
408
|
-
|
409
|
-
|
407
|
+
max-height: 10rem;
|
408
|
+
}
|
410
409
|
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
410
|
+
&.active {
|
411
|
+
a {
|
412
|
+
figcaption {
|
413
|
+
opacity: 1;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
}
|
418
417
|
|
419
418
|
.image-wrapper {
|
420
|
-
min-width: 11.1rem;
|
419
|
+
min-width: 11.1rem; /* assure to be as wide as action-buttons in edit-mode */
|
421
420
|
}
|
422
|
-
|
423
|
-
|
424
|
-
|
421
|
+
}
|
422
|
+
}
|
423
|
+
}
|
425
424
|
|
426
|
-
|
425
|
+
&.vertical {
|
427
426
|
width: auto;
|
428
427
|
|
429
428
|
.inner-thumbnail-wrapper {
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
429
|
+
display: inline-flex;
|
430
|
+
left: 50%;
|
431
|
+
height: 75rem; /* remove later !!! */
|
432
|
+
transform: translateX(-50%);
|
433
|
+
|
434
|
+
> ul {
|
435
|
+
width: auto;
|
436
|
+
display: flex;
|
437
|
+
flex-direction: column;
|
438
|
+
|
439
|
+
[class*="switch-button-"] {
|
440
|
+
width: 100%;
|
441
|
+
height: auto;
|
442
|
+
|
443
|
+
&::before {
|
444
|
+
transform: rotate(90deg);
|
445
|
+
display: inline-block;
|
446
|
+
margin: 0 auto;
|
447
|
+
}
|
448
|
+
}
|
449
|
+
}
|
450
|
+
|
451
|
+
.slide-button-next {
|
452
|
+
top: auto;
|
453
|
+
bottom: 0;
|
454
|
+
}
|
448
455
|
}
|
449
|
-
}
|
450
456
|
}
|
451
457
|
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
+
&.gallery-scroller {
|
459
|
+
max-width: var(--max-width);
|
460
|
+
left: 0;
|
461
|
+
right: 0;
|
462
|
+
position: fixed;
|
463
|
+
bottom: var(--default-margin);
|
464
|
+
margin: auto;
|
465
|
+
display: table;
|
466
|
+
|
467
|
+
li {
|
468
|
+
a {
|
469
|
+
color: var(--color-scheme-text-color);
|
470
|
+
text-decoration: none;
|
471
|
+
}
|
458
472
|
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
position: fixed;
|
464
|
-
bottom: var(--default-margin);
|
465
|
-
margin: auto;
|
466
|
-
display: table;
|
467
|
-
|
468
|
-
li {
|
469
|
-
a {
|
470
|
-
color: var(--color-scheme-text-color);
|
471
|
-
text-decoration: none;
|
472
|
-
}
|
473
|
-
|
474
|
-
&.active {
|
475
|
-
img {
|
476
|
-
border-color: var(--primary-color);
|
477
|
-
}
|
473
|
+
&.active {
|
474
|
+
img {
|
475
|
+
border-color: var(--primary-color);
|
476
|
+
}
|
478
477
|
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
478
|
+
figcaption {
|
479
|
+
color: var(--primary-color);
|
480
|
+
}
|
481
|
+
}
|
483
482
|
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
483
|
+
&:not(.active) {
|
484
|
+
img {
|
485
|
+
border: var(--default-border);
|
486
|
+
opacity: var(--reduced-opacity);
|
487
|
+
}
|
488
|
+
|
489
|
+
figcaption {
|
490
|
+
text-decoration: none;
|
491
|
+
}
|
489
492
|
|
490
|
-
|
491
|
-
|
493
|
+
a {
|
494
|
+
&:hover, &:active, &:focus {
|
495
|
+
figcaption {
|
496
|
+
color: var(--primary-color);
|
497
|
+
}
|
498
|
+
|
499
|
+
img {
|
500
|
+
border-color: var(--primary-color);
|
501
|
+
opacity: 1;
|
502
|
+
}
|
503
|
+
}
|
504
|
+
}
|
505
|
+
}
|
492
506
|
}
|
507
|
+
}
|
493
508
|
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
509
|
+
&.large-icons {
|
510
|
+
li a {
|
511
|
+
display: flex;
|
512
|
+
flex-direction: column;
|
513
|
+
gap: calc(var(--default-gap) / 4);
|
514
|
+
text-decoration: none;
|
515
|
+
align-items: center;
|
516
|
+
justify-content: center;
|
517
|
+
|
518
|
+
span {
|
519
|
+
margin: 0;
|
498
520
|
}
|
499
521
|
|
500
|
-
|
501
|
-
|
502
|
-
opacity: 1;
|
522
|
+
[class*="icon-"] {
|
523
|
+
font-size: 5rem;
|
503
524
|
}
|
504
|
-
}
|
505
525
|
}
|
506
|
-
}
|
507
|
-
}
|
508
|
-
}
|
509
|
-
|
510
|
-
&.large-icons {
|
511
|
-
li a {
|
512
|
-
display: flex;
|
513
|
-
flex-direction: column;
|
514
|
-
gap: calc(var(--default-gap) / 4);
|
515
|
-
text-decoration: none;
|
516
|
-
align-items: center;
|
517
|
-
justify-content: center;
|
518
|
-
|
519
|
-
span {
|
520
|
-
margin: 0;
|
521
|
-
}
|
522
|
-
|
523
|
-
[class*="icon-"] {
|
524
|
-
font-size: 5rem;
|
525
|
-
}
|
526
526
|
}
|
527
|
-
|
527
|
+
}
|
528
|
+
</style>
|
528
529
|
|
529
|
-
|
530
|
-
|
531
|
-
flex: none;
|
532
|
-
}
|
530
|
+
<style lang="scss">
|
531
|
+
@import '../assets/styles/variables';
|
533
532
|
|
534
|
-
|
535
|
-
|
536
|
-
|
533
|
+
@media only screen and (max-width: $medium-max-width) {
|
534
|
+
.cmd-thumbnail-scroller {
|
535
|
+
& > ul > li {
|
536
|
+
flex: none;
|
537
537
|
|
538
|
-
|
539
|
-
|
540
|
-
|
538
|
+
img {
|
539
|
+
max-height: 7rem;
|
540
|
+
}
|
541
|
+
}
|
541
542
|
|
542
|
-
|
543
|
-
|
544
|
-
|
543
|
+
& img {
|
544
|
+
width: auto;
|
545
|
+
}
|
546
|
+
|
547
|
+
&.gallery-scroller {
|
548
|
+
max-width: calc(100% - calc(var(--default-margin) * 3));
|
549
|
+
display: flex;
|
550
|
+
}
|
545
551
|
}
|
546
|
-
}
|
547
552
|
}
|
548
553
|
|
549
554
|
@container (width <= #{$small-max-width}) {
|
550
|
-
|
551
|
-
|
552
|
-
|
555
|
+
.cmd-thumbnail-scroller {
|
556
|
+
display: block;
|
557
|
+
}
|
553
558
|
}
|
554
559
|
|
555
560
|
/* end cmd-thumbnail-scroller ------------------------------------------------------------------------------------------ */
|
@@ -242,7 +242,7 @@ export default {
|
|
242
242
|
}
|
243
243
|
</script>
|
244
244
|
|
245
|
-
<style
|
245
|
+
<style>
|
246
246
|
/* begin cmd-toggle-dark-mode ---------------------------------------------------------------------------------------- */
|
247
247
|
.cmd-toggle-dark-mode {
|
248
248
|
&.styled-layout {
|
@@ -185,7 +185,7 @@ export default {
|
|
185
185
|
}
|
186
186
|
</script>
|
187
187
|
|
188
|
-
<style
|
188
|
+
<style>
|
189
189
|
/* begin cmd-tooltip ------------------------------------------------------------------------------------------ */
|
190
190
|
.cmd-tooltip {
|
191
191
|
padding: .6rem .7rem .4rem .7rem;
|
@@ -1035,7 +1035,7 @@ export default {
|
|
1035
1035
|
}
|
1036
1036
|
</script>
|
1037
1037
|
|
1038
|
-
<style
|
1038
|
+
<style>
|
1039
1039
|
/* begin cmd-upload-form -------------------------------------------------------------------------------------------- */
|
1040
1040
|
.cmd-upload-form {
|
1041
1041
|
.cmd-custom-headline {
|
@@ -1175,7 +1175,7 @@ export default {
|
|
1175
1175
|
border: var(--default-border);
|
1176
1176
|
border-style: dashed;
|
1177
1177
|
background: var(--color-scheme-background-color);
|
1178
|
-
padding:
|
1178
|
+
padding: var(--default-padding);
|
1179
1179
|
text-align: center;
|
1180
1180
|
|
1181
1181
|
&.allow-drop {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="cmd-width-limitation-wrapper" :class="{'sticky': sticky}">
|
3
|
-
|
4
|
-
|
3
|
+
<!-- begin slot-content in section -->
|
4
|
+
<section v-if="innerWrapper" :class="setInnerClass" :id="{anchorId: anchorId}">
|
5
5
|
<!-- begin cmd-headline -->
|
6
6
|
<CmdHeadline
|
7
7
|
v-if="cmdHeadline"
|
@@ -15,12 +15,16 @@
|
|
15
15
|
<slot></slot>
|
16
16
|
<!-- end slot-content -->
|
17
17
|
</section>
|
18
|
+
<!-- end slot-content in section -->
|
19
|
+
|
20
|
+
<!-- begin slot-content without section -->
|
18
21
|
<template v-else>
|
19
22
|
<!-- begin slot-content -->
|
20
23
|
<a v-if="anchorId" :id="anchorId"></a>
|
21
24
|
<slot></slot>
|
22
25
|
<!-- end slot-content -->
|
23
26
|
</template>
|
27
|
+
<!-- end slot-content without section -->
|
24
28
|
</div>
|
25
29
|
</template>
|
26
30
|
|
@@ -113,7 +117,7 @@ export default {
|
|
113
117
|
}
|
114
118
|
</script>
|
115
119
|
|
116
|
-
<style
|
120
|
+
<style>
|
117
121
|
/* begin cmd-width-limitation-wrapper ---------------------------------------------------------------------------------------- */
|
118
122
|
.cmd-width-limitation-wrapper {
|
119
123
|
> * {
|
package/src/index.js
CHANGED
@@ -6,6 +6,7 @@ export { default as CmdBox } from '@/components/CmdBox.vue'
|
|
6
6
|
export { default as CmdBoxWrapper } from '@/components/CmdBoxWrapper.vue'
|
7
7
|
export { default as CmdBreadcrumbs } from '@/components/CmdBreadcrumbs.vue'
|
8
8
|
export { default as CmdCompanyLogo } from '@/components/CmdCompanyLogo.vue'
|
9
|
+
export { default as CmdContainer } from '@/components/CmdContainer.vue'
|
9
10
|
export { default as CmdCookieDisclaimer } from '@/components/CmdCookieDisclaimer.vue'
|
10
11
|
export { default as CmdCopyrightInformation } from '@/components/CmdCopyrightInformation.vue'
|
11
12
|
export { default as CmdFakeSelect } from '@/components/CmdFakeSelect.vue'
|
@@ -215,23 +215,6 @@ export default {
|
|
215
215
|
}
|
216
216
|
return this.helplink.icon.iconClass
|
217
217
|
},
|
218
|
-
getStatusIconType() {
|
219
|
-
if (this.validationStatus !== "") {
|
220
|
-
if (!this.capsLockActivated) {
|
221
|
-
if (this.validationStatus === "error") {
|
222
|
-
return this.iconHasStateError.iconType
|
223
|
-
} else if (this.validationStatus === "warning") {
|
224
|
-
return this.iconHasStateWarning.iconType
|
225
|
-
} else if (this.validationStatus === "success") {
|
226
|
-
return this.iconHasStateSuccess.iconType
|
227
|
-
}
|
228
|
-
return this.iconHasStateInfo.iconType
|
229
|
-
} else {
|
230
|
-
return this.iconCapsLock.iconType
|
231
|
-
}
|
232
|
-
}
|
233
|
-
return this.helplink.icon.iconType
|
234
|
-
},
|
235
218
|
inputRequirements() {
|
236
219
|
const standardRequirements = []
|
237
220
|
// check if field is required
|