@wizishop/angular-components 15.1.41 → 15.1.42
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/angular-components.scss +129 -129
- package/esm2020/lib/components/tab/tab.component.mjs +6 -3
- package/fesm2015/wizishop-angular-components.mjs +5 -2
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +5 -2
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/tab/tab.component.d.ts +2 -1
- package/package.json +1 -1
- package/wizishop-angular-components-15.1.42.tgz +0 -0
- package/wizishop-angular-components-15.1.41.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -649,6 +649,135 @@ wac-block {
|
|
|
649
649
|
margin-right: 0;
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
+
.wac-breadcrumbs {
|
|
653
|
+
width: 100%;
|
|
654
|
+
display: flex;
|
|
655
|
+
align-items: center;
|
|
656
|
+
padding: 0;
|
|
657
|
+
margin: 0 0 10px;
|
|
658
|
+
border-radius: 3px;
|
|
659
|
+
|
|
660
|
+
@include media('<tablet') {
|
|
661
|
+
&:not(.no-responsive) {
|
|
662
|
+
max-width: 100%;
|
|
663
|
+
overflow: hidden;
|
|
664
|
+
.wac-breadcrumbs {
|
|
665
|
+
&__wrapper {
|
|
666
|
+
@include media('<tablet') {
|
|
667
|
+
width: auto;
|
|
668
|
+
overflow-x: scroll;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
&__item {
|
|
672
|
+
@include media('<tablet') {
|
|
673
|
+
width: auto;
|
|
674
|
+
min-width: unset;
|
|
675
|
+
max-width: unset;
|
|
676
|
+
.name {
|
|
677
|
+
white-space: nowrap;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
&__wrapper {
|
|
686
|
+
width: 100%;
|
|
687
|
+
display: flex;
|
|
688
|
+
align-items: center;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
&__item {
|
|
692
|
+
width: 100%;
|
|
693
|
+
max-width: 50%;
|
|
694
|
+
display: flex;
|
|
695
|
+
align-items: center;
|
|
696
|
+
justify-content: center;
|
|
697
|
+
position: relative;
|
|
698
|
+
padding: 10px;
|
|
699
|
+
cursor: pointer;
|
|
700
|
+
&:before {
|
|
701
|
+
content: '';
|
|
702
|
+
display: block;
|
|
703
|
+
position: absolute;
|
|
704
|
+
bottom: -5px;
|
|
705
|
+
left: 50%;
|
|
706
|
+
transform: translateX(-50%);
|
|
707
|
+
width: calc(100% - 5px);
|
|
708
|
+
height: 3px;
|
|
709
|
+
background-color: $wac-round-breadcrumbs;
|
|
710
|
+
}
|
|
711
|
+
&.current, &.valid {
|
|
712
|
+
&:before {
|
|
713
|
+
background-color: $wac-wizishop-blue;
|
|
714
|
+
}
|
|
715
|
+
&:hover, &:focus {
|
|
716
|
+
.round {
|
|
717
|
+
background-color: $wac-wizishop-blue;
|
|
718
|
+
border-color: $wac-wizishop-blue;
|
|
719
|
+
> span, > i {
|
|
720
|
+
color: $wac-white;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
.name {
|
|
724
|
+
color: $wac-wizishop-blue;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
&.current {
|
|
731
|
+
&:before {
|
|
732
|
+
height: 5px;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
.round {
|
|
736
|
+
min-width: 30px;
|
|
737
|
+
height: 30px;
|
|
738
|
+
border-radius: 30px;
|
|
739
|
+
display: flex;
|
|
740
|
+
justify-content: center;
|
|
741
|
+
align-items: center;
|
|
742
|
+
border: 2px solid $wac-round-breadcrumbs;
|
|
743
|
+
background-color: $wac-round-breadcrumbs;
|
|
744
|
+
transition: .3s ease;
|
|
745
|
+
margin: 0 15px 0 0;
|
|
746
|
+
> span {
|
|
747
|
+
font-size: rem(12);
|
|
748
|
+
font-weight: 500;
|
|
749
|
+
color: $wac-second-color;
|
|
750
|
+
line-height: 1;
|
|
751
|
+
}
|
|
752
|
+
> i {
|
|
753
|
+
font-size: rem(14);
|
|
754
|
+
color: $wac-wizishop-blue;
|
|
755
|
+
}
|
|
756
|
+
&.valid {
|
|
757
|
+
background-color: transparent;
|
|
758
|
+
border-color: $wac-wizishop-blue;
|
|
759
|
+
color: $wac-wizishop-blue;
|
|
760
|
+
}
|
|
761
|
+
&.current:not(.valid) {
|
|
762
|
+
background-color: $wac-wizishop-blue;
|
|
763
|
+
border-color: $wac-wizishop-blue;
|
|
764
|
+
> span, > i {
|
|
765
|
+
color: $wac-white;
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
.name {
|
|
770
|
+
font-size: rem(14);
|
|
771
|
+
font-weight: 500;
|
|
772
|
+
color: $wac-second-color;
|
|
773
|
+
line-height: 1;
|
|
774
|
+
transition: .3s ease;
|
|
775
|
+
&.valid, &.current {
|
|
776
|
+
color: $wac-wizishop-blue;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
652
781
|
.wac-button {
|
|
653
782
|
@include flexbox();
|
|
654
783
|
@include justify-content(center);
|
|
@@ -2068,135 +2197,6 @@ wac-block {
|
|
|
2068
2197
|
}
|
|
2069
2198
|
}
|
|
2070
2199
|
}
|
|
2071
|
-
.wac-breadcrumbs {
|
|
2072
|
-
width: 100%;
|
|
2073
|
-
display: flex;
|
|
2074
|
-
align-items: center;
|
|
2075
|
-
padding: 0;
|
|
2076
|
-
margin: 0 0 10px;
|
|
2077
|
-
border-radius: 3px;
|
|
2078
|
-
|
|
2079
|
-
@include media('<tablet') {
|
|
2080
|
-
&:not(.no-responsive) {
|
|
2081
|
-
max-width: 100%;
|
|
2082
|
-
overflow: hidden;
|
|
2083
|
-
.wac-breadcrumbs {
|
|
2084
|
-
&__wrapper {
|
|
2085
|
-
@include media('<tablet') {
|
|
2086
|
-
width: auto;
|
|
2087
|
-
overflow-x: scroll;
|
|
2088
|
-
}
|
|
2089
|
-
}
|
|
2090
|
-
&__item {
|
|
2091
|
-
@include media('<tablet') {
|
|
2092
|
-
width: auto;
|
|
2093
|
-
min-width: unset;
|
|
2094
|
-
max-width: unset;
|
|
2095
|
-
.name {
|
|
2096
|
-
white-space: nowrap;
|
|
2097
|
-
}
|
|
2098
|
-
}
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
|
-
|
|
2104
|
-
&__wrapper {
|
|
2105
|
-
width: 100%;
|
|
2106
|
-
display: flex;
|
|
2107
|
-
align-items: center;
|
|
2108
|
-
}
|
|
2109
|
-
|
|
2110
|
-
&__item {
|
|
2111
|
-
width: 100%;
|
|
2112
|
-
max-width: 50%;
|
|
2113
|
-
display: flex;
|
|
2114
|
-
align-items: center;
|
|
2115
|
-
justify-content: center;
|
|
2116
|
-
position: relative;
|
|
2117
|
-
padding: 10px;
|
|
2118
|
-
cursor: pointer;
|
|
2119
|
-
&:before {
|
|
2120
|
-
content: '';
|
|
2121
|
-
display: block;
|
|
2122
|
-
position: absolute;
|
|
2123
|
-
bottom: -5px;
|
|
2124
|
-
left: 50%;
|
|
2125
|
-
transform: translateX(-50%);
|
|
2126
|
-
width: calc(100% - 5px);
|
|
2127
|
-
height: 3px;
|
|
2128
|
-
background-color: $wac-round-breadcrumbs;
|
|
2129
|
-
}
|
|
2130
|
-
&.current, &.valid {
|
|
2131
|
-
&:before {
|
|
2132
|
-
background-color: $wac-wizishop-blue;
|
|
2133
|
-
}
|
|
2134
|
-
&:hover, &:focus {
|
|
2135
|
-
.round {
|
|
2136
|
-
background-color: $wac-wizishop-blue;
|
|
2137
|
-
border-color: $wac-wizishop-blue;
|
|
2138
|
-
> span, > i {
|
|
2139
|
-
color: $wac-white;
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
.name {
|
|
2143
|
-
color: $wac-wizishop-blue;
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
&.current {
|
|
2150
|
-
&:before {
|
|
2151
|
-
height: 5px;
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
.round {
|
|
2155
|
-
min-width: 30px;
|
|
2156
|
-
height: 30px;
|
|
2157
|
-
border-radius: 30px;
|
|
2158
|
-
display: flex;
|
|
2159
|
-
justify-content: center;
|
|
2160
|
-
align-items: center;
|
|
2161
|
-
border: 2px solid $wac-round-breadcrumbs;
|
|
2162
|
-
background-color: $wac-round-breadcrumbs;
|
|
2163
|
-
transition: .3s ease;
|
|
2164
|
-
margin: 0 15px 0 0;
|
|
2165
|
-
> span {
|
|
2166
|
-
font-size: rem(12);
|
|
2167
|
-
font-weight: 500;
|
|
2168
|
-
color: $wac-second-color;
|
|
2169
|
-
line-height: 1;
|
|
2170
|
-
}
|
|
2171
|
-
> i {
|
|
2172
|
-
font-size: rem(14);
|
|
2173
|
-
color: $wac-wizishop-blue;
|
|
2174
|
-
}
|
|
2175
|
-
&.valid {
|
|
2176
|
-
background-color: transparent;
|
|
2177
|
-
border-color: $wac-wizishop-blue;
|
|
2178
|
-
color: $wac-wizishop-blue;
|
|
2179
|
-
}
|
|
2180
|
-
&.current:not(.valid) {
|
|
2181
|
-
background-color: $wac-wizishop-blue;
|
|
2182
|
-
border-color: $wac-wizishop-blue;
|
|
2183
|
-
> span, > i {
|
|
2184
|
-
color: $wac-white;
|
|
2185
|
-
}
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2188
|
-
.name {
|
|
2189
|
-
font-size: rem(14);
|
|
2190
|
-
font-weight: 500;
|
|
2191
|
-
color: $wac-second-color;
|
|
2192
|
-
line-height: 1;
|
|
2193
|
-
transition: .3s ease;
|
|
2194
|
-
&.valid, &.current {
|
|
2195
|
-
color: $wac-wizishop-blue;
|
|
2196
|
-
}
|
|
2197
|
-
}
|
|
2198
|
-
}
|
|
2199
|
-
}
|
|
2200
2200
|
wac-calendar {
|
|
2201
2201
|
&.ng-touched.ng-invalid {
|
|
2202
2202
|
.wac-calendar__wrapper__select, .wac-calendar__wrapper__editInPlace, .wac-calendar__wrapper__select {
|
|
@@ -8,6 +8,7 @@ export class TabComponent {
|
|
|
8
8
|
// TODO implement ngModel
|
|
9
9
|
this.underline = false;
|
|
10
10
|
this.button = false;
|
|
11
|
+
this.marginBottom = '30px';
|
|
11
12
|
this.tabs = [];
|
|
12
13
|
this.index = 0;
|
|
13
14
|
this.indexChange = new EventEmitter();
|
|
@@ -18,14 +19,16 @@ export class TabComponent {
|
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: TabComponent, isStandalone: true, selector: "wac-tab", inputs: { underline: "underline", button: "button", tabs: "tabs", index: "index" }, outputs: { indexChange: "indexChange" }, ngImport: i0, template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
22
|
+
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: TabComponent, isStandalone: true, selector: "wac-tab", inputs: { underline: "underline", button: "button", marginBottom: "marginBottom", tabs: "tabs", index: "index" }, outputs: { indexChange: "indexChange" }, ngImport: i0, template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\" [ngStyle]=\"{'margin-bottom': marginBottom}\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
22
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TabComponent, decorators: [{
|
|
23
24
|
type: Component,
|
|
24
|
-
args: [{ selector: 'wac-tab', encapsulation: ViewEncapsulation.None, standalone: true, imports: [CommonModule], template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n" }]
|
|
25
|
+
args: [{ selector: 'wac-tab', encapsulation: ViewEncapsulation.None, standalone: true, imports: [CommonModule], template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\" [ngStyle]=\"{'margin-bottom': marginBottom}\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n" }]
|
|
25
26
|
}], ctorParameters: function () { return []; }, propDecorators: { underline: [{
|
|
26
27
|
type: Input
|
|
27
28
|
}], button: [{
|
|
28
29
|
type: Input
|
|
30
|
+
}], marginBottom: [{
|
|
31
|
+
type: Input
|
|
29
32
|
}], tabs: [{
|
|
30
33
|
type: Input
|
|
31
34
|
}], index: [{
|
|
@@ -33,4 +36,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
33
36
|
}], indexChange: [{
|
|
34
37
|
type: Output
|
|
35
38
|
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvdGFiL3RhYi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3RhYi90YWIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8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ZSwgJ3dhYy10YWItLWJ1dHRvbicgOiBidXR0b259XCI+XG4gIDxkaXYgY2xhc3M9XCJ3YWMtdGFiX193cmFwcGVyXCIgW25nU3R5bGVdPVwieydtYXJnaW4tYm90dG9tJzogbWFyZ2luQm90dG9tfVwiPlxuICAgIDxhXG4gICAgICAqbmdGb3I9XCJsZXQgdGFiIG9mIHRhYnNcIlxuICAgICAgY2xhc3M9XCJ3YWMtdGFiX193cmFwcGVyX190YWJcIlxuICAgICAgW25nQ2xhc3NdPVwiaW5kZXggPT09IHRhYi5pbmRleCA/ICd3YWMtdGFiX193cmFwcGVyX190YWItLXNlbGVjdGVkJyA6ICcnXCJcbiAgICAgIChjbGljayk9XCJ2YWx1ZUNoYW5nZWQodGFiLmluZGV4KVwiXG4gICAgPlxuICAgICAge3sgdGFiLmxhYmVsIH19XG4gICAgPC9hPlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -1978,6 +1978,7 @@ class TabComponent {
|
|
|
1978
1978
|
// TODO implement ngModel
|
|
1979
1979
|
this.underline = false;
|
|
1980
1980
|
this.button = false;
|
|
1981
|
+
this.marginBottom = '30px';
|
|
1981
1982
|
this.tabs = [];
|
|
1982
1983
|
this.index = 0;
|
|
1983
1984
|
this.indexChange = new EventEmitter();
|
|
@@ -1988,14 +1989,16 @@ class TabComponent {
|
|
|
1988
1989
|
}
|
|
1989
1990
|
}
|
|
1990
1991
|
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1991
|
-
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: TabComponent, isStandalone: true, selector: "wac-tab", inputs: { underline: "underline", button: "button", tabs: "tabs", index: "index" }, outputs: { indexChange: "indexChange" }, ngImport: i0, template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1992
|
+
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: TabComponent, isStandalone: true, selector: "wac-tab", inputs: { underline: "underline", button: "button", marginBottom: "marginBottom", tabs: "tabs", index: "index" }, outputs: { indexChange: "indexChange" }, ngImport: i0, template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\" [ngStyle]=\"{'margin-bottom': marginBottom}\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1992
1993
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: TabComponent, decorators: [{
|
|
1993
1994
|
type: Component,
|
|
1994
|
-
args: [{ selector: 'wac-tab', encapsulation: ViewEncapsulation.None, standalone: true, imports: [CommonModule], template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n" }]
|
|
1995
|
+
args: [{ selector: 'wac-tab', encapsulation: ViewEncapsulation.None, standalone: true, imports: [CommonModule], template: "<div class=\"wac-tab\" [ngClass]=\"{'wac-tab--underline': underline, 'wac-tab--button' : button}\">\n <div class=\"wac-tab__wrapper\" [ngStyle]=\"{'margin-bottom': marginBottom}\">\n <a\n *ngFor=\"let tab of tabs\"\n class=\"wac-tab__wrapper__tab\"\n [ngClass]=\"index === tab.index ? 'wac-tab__wrapper__tab--selected' : ''\"\n (click)=\"valueChanged(tab.index)\"\n >\n {{ tab.label }}\n </a>\n </div>\n</div>\n" }]
|
|
1995
1996
|
}], ctorParameters: function () { return []; }, propDecorators: { underline: [{
|
|
1996
1997
|
type: Input
|
|
1997
1998
|
}], button: [{
|
|
1998
1999
|
type: Input
|
|
2000
|
+
}], marginBottom: [{
|
|
2001
|
+
type: Input
|
|
1999
2002
|
}], tabs: [{
|
|
2000
2003
|
type: Input
|
|
2001
2004
|
}], index: [{
|