@wizishop/angular-components 15.1.98 → 15.1.99
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 +211 -196
- package/esm2020/lib/components/tag-dropdown/tag-dropdown.component.mjs +4 -3
- package/fesm2015/wizishop-angular-components.mjs +3 -2
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +3 -2
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/tag-dropdown/tag-dropdown.component.d.ts +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-15.1.99.tgz +0 -0
- package/wizishop-angular-components-15.1.98.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -6,6 +6,7 @@ $wac-background-color-disabled: #ecf0f1!default;
|
|
|
6
6
|
$wac-table-background-color: #fafafa!default;
|
|
7
7
|
$wac-bleu-color: #52aecd!default;
|
|
8
8
|
$wac-red-color: #ff1800!default;
|
|
9
|
+
$wac-red-color-text-on-transparentize: darken(#ff1800, 15%)!default;
|
|
9
10
|
$wac-border-color: #cfd4e4!default;
|
|
10
11
|
$wac-border-form: #C9D2D9!default;
|
|
11
12
|
$wac-border-light: #cfd4e4!default;
|
|
@@ -19,6 +20,7 @@ $wac-gray-background: #f5f8fa!default;
|
|
|
19
20
|
$wac-green-color-darken: #25a25a!default;
|
|
20
21
|
$wac-green-color-focus: #208e4f!default;
|
|
21
22
|
$wac-green-color: #2ecc71!default;
|
|
23
|
+
$wac-green-color-text-on-transparentize: #11552E!default;
|
|
22
24
|
$wac-green-color-disabled: #70df9f!default;
|
|
23
25
|
$wac-green-opacity: #EAFAF1!default;
|
|
24
26
|
$wac-header-color: #1e2e43!default;
|
|
@@ -54,11 +56,13 @@ $wac-primary-button-focus: #d02323!default;
|
|
|
54
56
|
$wac-primary-button-light: #FCEEEE!default;
|
|
55
57
|
$wac-primary: #e95656!default;
|
|
56
58
|
$wac-second-color: #526384!default;
|
|
59
|
+
$wac-second-color-text-on-transparentize: darken($wac-second-color, 15%)!default;
|
|
57
60
|
$wac-secondary-color: #526384!default;
|
|
58
61
|
$wac-secondary-text: #6c6c6c!default;
|
|
59
62
|
$wac-p-alert-color-success: #11552e!default;
|
|
60
63
|
$wac-textarea-border-color: #cfd4e4!default;
|
|
61
64
|
$wac-warning-color: #f5b226!default;
|
|
65
|
+
$wac-warning-color-text-on-transparentize: darken(#f5b226, 15%)!default;
|
|
62
66
|
$wac-white: #ffffff!default;
|
|
63
67
|
$wac-wizishop-blue-button-darken: #3596b7!default;
|
|
64
68
|
$wac-wizishop-blue-button-focus: #2f8baa!default;
|
|
@@ -7680,202 +7684,213 @@ wac-optional-disable-container {
|
|
|
7680
7684
|
}
|
|
7681
7685
|
}
|
|
7682
7686
|
}
|
|
7683
|
-
.wac-tag-dropdown {
|
|
7684
|
-
display: inline-block;
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
@include
|
|
7690
|
-
@include
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
&__icon {
|
|
7697
|
-
font-size: 30px;
|
|
7698
|
-
line-height: 18px;
|
|
7699
|
-
color: $wac-second-color;
|
|
7700
|
-
transition: color 0.3s ease, transform 0.3s ease;
|
|
7701
|
-
}
|
|
7702
|
-
|
|
7703
|
-
&__firstlevel {
|
|
7704
|
-
position: relative;
|
|
7705
|
-
display: flex;
|
|
7706
|
-
align-items: center;
|
|
7707
|
-
justify-content: space-between;
|
|
7708
|
-
align-content: center;
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
font-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
&.
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
}
|
|
7765
|
-
}
|
|
7766
|
-
|
|
7767
|
-
&--
|
|
7768
|
-
background-color: $wac-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
}
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7687
|
+
.wac-tag-dropdown {
|
|
7688
|
+
display: inline-block;
|
|
7689
|
+
height: 32px;
|
|
7690
|
+
|
|
7691
|
+
&__wrapper {
|
|
7692
|
+
@include flexbox();
|
|
7693
|
+
@include justify-content(center);
|
|
7694
|
+
@include align-items(center);
|
|
7695
|
+
width: 100%;
|
|
7696
|
+
height: 100%;
|
|
7697
|
+
position: relative;
|
|
7698
|
+
height: 32px;
|
|
7699
|
+
|
|
7700
|
+
&__icon {
|
|
7701
|
+
font-size: 30px;
|
|
7702
|
+
line-height: 18px;
|
|
7703
|
+
color: $wac-second-color;
|
|
7704
|
+
transition: color 0.3s ease, transform 0.3s ease;
|
|
7705
|
+
}
|
|
7706
|
+
|
|
7707
|
+
&__firstlevel {
|
|
7708
|
+
position: relative;
|
|
7709
|
+
display: flex;
|
|
7710
|
+
align-items: center;
|
|
7711
|
+
justify-content: space-between;
|
|
7712
|
+
align-content: center;
|
|
7713
|
+
transition: 0.3s ease;
|
|
7714
|
+
cursor: default;
|
|
7715
|
+
|
|
7716
|
+
> div {
|
|
7717
|
+
display: flex;
|
|
7718
|
+
align-items: center;
|
|
7719
|
+
width: 100%;
|
|
7720
|
+
color: $wac-white;
|
|
7721
|
+
font-size: rem(14);
|
|
7722
|
+
line-height: rem(32);
|
|
7723
|
+
border-radius: rem(3);
|
|
7724
|
+
padding: 0 10px;
|
|
7725
|
+
height: rem(32);
|
|
7726
|
+
font-weight: 600;
|
|
7727
|
+
&.hover {
|
|
7728
|
+
transition: .3s ease;
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7731
|
+
|
|
7732
|
+
i {
|
|
7733
|
+
color: $wac-white;
|
|
7734
|
+
font-weight: 400 !important;
|
|
7735
|
+
font-size: rem(16);
|
|
7736
|
+
|
|
7737
|
+
&.i-primary {
|
|
7738
|
+
font-size: rem(16) !important;
|
|
7739
|
+
margin: 0 rem(5) 0 0;
|
|
7740
|
+
}
|
|
7741
|
+
|
|
7742
|
+
&.i-dropdown, &.i-next {
|
|
7743
|
+
font-size: rem(14) !important;
|
|
7744
|
+
margin: 0 0 0 5px;
|
|
7745
|
+
transform: translateY(1px);
|
|
7746
|
+
}
|
|
7747
|
+
|
|
7748
|
+
& + i {
|
|
7749
|
+
margin: 0;
|
|
7750
|
+
}
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7753
|
+
&--default {
|
|
7754
|
+
background-color: transparentize($wac-second-color, .85);
|
|
7755
|
+
color: $wac-second-color-text-on-transparentize!important;
|
|
7756
|
+
|
|
7757
|
+
i {
|
|
7758
|
+
color: $wac-second-color;
|
|
7759
|
+
}
|
|
7760
|
+
|
|
7761
|
+
.hover:hover &,
|
|
7762
|
+
.hover:focus & {
|
|
7763
|
+
background-color: $wac-second-color;
|
|
7764
|
+
color: $wac-white!important;
|
|
7765
|
+
i {
|
|
7766
|
+
color: $wac-white;
|
|
7767
|
+
}
|
|
7768
|
+
}
|
|
7769
|
+
}
|
|
7770
|
+
|
|
7771
|
+
&--success {
|
|
7772
|
+
background-color: transparentize($wac-green-color, .85);
|
|
7773
|
+
color: $wac-green-color-text-on-transparentize!important;
|
|
7774
|
+
|
|
7775
|
+
i {
|
|
7776
|
+
color: $wac-green-color;
|
|
7777
|
+
}
|
|
7778
|
+
|
|
7779
|
+
.hover:hover &,
|
|
7780
|
+
.hover:focus & {
|
|
7781
|
+
background-color: $wac-green-color;
|
|
7782
|
+
color: $wac-white!important;
|
|
7783
|
+
i {
|
|
7784
|
+
color: $wac-white;
|
|
7785
|
+
}
|
|
7786
|
+
}
|
|
7787
|
+
}
|
|
7788
|
+
|
|
7789
|
+
&--warning {
|
|
7790
|
+
background-color: transparentize($wac-warning-color, .85);
|
|
7791
|
+
color: $wac-warning-color-text-on-transparentize!important;
|
|
7792
|
+
|
|
7793
|
+
i {
|
|
7794
|
+
color: $wac-warning-color;
|
|
7795
|
+
}
|
|
7796
|
+
|
|
7797
|
+
.hover:hover &,
|
|
7798
|
+
.hover:focus & {
|
|
7799
|
+
background-color: $wac-warning-color;
|
|
7800
|
+
color: $wac-white!important;
|
|
7801
|
+
i {
|
|
7802
|
+
color: $wac-white;
|
|
7803
|
+
}
|
|
7804
|
+
}
|
|
7805
|
+
}
|
|
7806
|
+
|
|
7807
|
+
&--error {
|
|
7808
|
+
background-color: transparentize($wac-red-color, .85);
|
|
7809
|
+
color: $wac-red-color-text-on-transparentize!important;
|
|
7810
|
+
|
|
7811
|
+
i {
|
|
7812
|
+
color: $wac-red-color;
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
.hover:hover &,
|
|
7816
|
+
.hover:focus & {
|
|
7817
|
+
background-color: $wac-red-color;
|
|
7818
|
+
color: $wac-white!important;
|
|
7819
|
+
i {
|
|
7820
|
+
color: $wac-white;
|
|
7821
|
+
}
|
|
7822
|
+
}
|
|
7823
|
+
}
|
|
7824
|
+
}
|
|
7825
|
+
|
|
7826
|
+
&__sublevel {
|
|
7827
|
+
position: absolute;
|
|
7828
|
+
min-width: 160px;
|
|
7829
|
+
top: 100%;
|
|
7830
|
+
left: 100%;
|
|
7831
|
+
transform: translateX(-100%);
|
|
7832
|
+
z-index: -1;
|
|
7833
|
+
opacity: 0;
|
|
7834
|
+
border-radius: rem(3);
|
|
7835
|
+
visibility: hidden;
|
|
7836
|
+
transition: opacity 0.15s ease, z-index 0.15s ease, visibility 0s linear .16s;
|
|
7837
|
+
|
|
7838
|
+
&__container {
|
|
7839
|
+
padding: 10px 10px;
|
|
7840
|
+
border: 1px solid $wac-border-color;
|
|
7841
|
+
border-radius: 3px;
|
|
7842
|
+
background-color: $wac-white;
|
|
7843
|
+
box-shadow: 0px 2px 5px $wac-info-box-shadow;
|
|
7844
|
+
margin: 10px 0 0!important;
|
|
7845
|
+
|
|
7846
|
+
&__item {
|
|
7847
|
+
padding: 5.7px 10px;
|
|
7848
|
+
font-size: 14px;
|
|
7849
|
+
line-height: 24px;
|
|
7850
|
+
color: $wac-second-color;
|
|
7851
|
+
cursor: pointer;
|
|
7852
|
+
transition: background-color 0.3s ease, color 0.3s ease;
|
|
7853
|
+
display: flex;
|
|
7854
|
+
justify-content: flex-start;
|
|
7855
|
+
align-items: center;
|
|
7856
|
+
align-content: center;
|
|
7857
|
+
|
|
7858
|
+
i {
|
|
7859
|
+
min-width: 15px;
|
|
7860
|
+
margin-right: 5px;
|
|
7861
|
+
text-align: center;
|
|
7862
|
+
}
|
|
7863
|
+
span {
|
|
7864
|
+
white-space: nowrap;
|
|
7865
|
+
}
|
|
7866
|
+
|
|
7867
|
+
&:hover {
|
|
7868
|
+
background-color: $wac-gray-background;
|
|
7869
|
+
transition: background-color 0.3s ease, color 0.3s ease;
|
|
7870
|
+
color: $wac-input-active-color;
|
|
7871
|
+
}
|
|
7872
|
+
}
|
|
7873
|
+
}
|
|
7874
|
+
}
|
|
7875
|
+
|
|
7876
|
+
&:hover {
|
|
7877
|
+
.wac-tag-dropdown__wrapper__icon {
|
|
7878
|
+
color: $wac-wizishop-blue;
|
|
7879
|
+
transform: rotate(90deg);
|
|
7880
|
+
transition: color 0.3s ease, transform 0.3s ease;
|
|
7881
|
+
}
|
|
7882
|
+
|
|
7883
|
+
.wac-tag-dropdown__wrapper__sublevel {
|
|
7884
|
+
visibility: visible;
|
|
7885
|
+
opacity: 1;
|
|
7886
|
+
z-index: 2;
|
|
7887
|
+
transition: visibility 0s ease 0s, opacity 0.3s ease .1s;
|
|
7888
|
+
}
|
|
7889
|
+
}
|
|
7890
|
+
}
|
|
7891
|
+
}
|
|
7892
|
+
|
|
7893
|
+
|
|
7879
7894
|
.wac-tag-label {
|
|
7880
7895
|
@include flexbox();
|
|
7881
7896
|
background-color: $wac-gray-background;
|
|
@@ -6,6 +6,7 @@ export class TagDropdownComponent {
|
|
|
6
6
|
this.hasIcons = false;
|
|
7
7
|
this.items = [];
|
|
8
8
|
this.label = '';
|
|
9
|
+
this.class = 'default';
|
|
9
10
|
this.icon = '';
|
|
10
11
|
this.iconFontSize = 12;
|
|
11
12
|
this.isDropdown = true;
|
|
@@ -16,10 +17,10 @@ export class TagDropdownComponent {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
TagDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TagDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
TagDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: TagDropdownComponent, selector: "wac-tag-dropdown", inputs: { hasIcons: "hasIcons", items: "items", label: "label", class: "class", icon: "icon", iconNext: "iconNext", colorIcon: "colorIcon", iconFontSize: "iconFontSize", isDropdown: "isDropdown" }, outputs: { userInput: "userInput" }, ngImport: i0, template: "<div class=\"wac-tag-dropdown\">\n <div class=\"wac-tag-dropdown__wrapper\">\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down'\" [style.font-size.px]=\"iconFontSize\"></i>\n </div>\n </div>\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\n <li\n *ngFor=\"let item of items\"\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\n (click)=\"onUserInput(item.index)\"\n >\n <i\n *ngIf=\"hasIcons\"\n [class]=\"item.icon\"\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\n ></i>\n <span>{{ item.label }}</span>\n </li>\n </ul>\n </div>\n </div>\n</div>\n", dependencies: [{ 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
20
|
+
TagDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: TagDropdownComponent, selector: "wac-tag-dropdown", inputs: { hasIcons: "hasIcons", items: "items", label: "label", class: "class", icon: "icon", iconNext: "iconNext", colorIcon: "colorIcon", iconFontSize: "iconFontSize", isDropdown: "isDropdown" }, outputs: { userInput: "userInput" }, ngImport: i0, template: "<div class=\"wac-tag-dropdown\">\r\n <div class=\"wac-tag-dropdown__wrapper\" [ngClass]=\"{'hover': isDropdown}\">\r\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\r\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\r\n <i *ngIf=\"icon\" [ngClass]=\"icon + ' i-primary'\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\r\n {{ label }}\r\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext + ' i-next'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down i-dropdown'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n </div>\r\n </div>\r\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\r\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\r\n <li\r\n *ngFor=\"let item of items\"\r\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\r\n (click)=\"onUserInput(item.index)\"\r\n >\r\n <i\r\n *ngIf=\"hasIcons\"\r\n [class]=\"item.icon\"\r\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\r\n ></i>\r\n <span>{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
20
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TagDropdownComponent, decorators: [{
|
|
21
22
|
type: Component,
|
|
22
|
-
args: [{ selector: 'wac-tag-dropdown', template: "<div class=\"wac-tag-dropdown\">\n <div class=\"wac-tag-dropdown__wrapper\">\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down'\" [style.font-size.px]=\"iconFontSize\"></i>\n </div>\n </div>\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\n <li\n *ngFor=\"let item of items\"\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\n (click)=\"onUserInput(item.index)\"\n >\n <i\n *ngIf=\"hasIcons\"\n [class]=\"item.icon\"\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\n ></i>\n <span>{{ item.label }}</span>\n </li>\n </ul>\n </div>\n </div>\n</div>\n" }]
|
|
23
|
+
args: [{ selector: 'wac-tag-dropdown', template: "<div class=\"wac-tag-dropdown\">\r\n <div class=\"wac-tag-dropdown__wrapper\" [ngClass]=\"{'hover': isDropdown}\">\r\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\r\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\r\n <i *ngIf=\"icon\" [ngClass]=\"icon + ' i-primary'\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\r\n {{ label }}\r\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext + ' i-next'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down i-dropdown'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n </div>\r\n </div>\r\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\r\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\r\n <li\r\n *ngFor=\"let item of items\"\r\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\r\n (click)=\"onUserInput(item.index)\"\r\n >\r\n <i\r\n *ngIf=\"hasIcons\"\r\n [class]=\"item.icon\"\r\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\r\n ></i>\r\n <span>{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
23
24
|
}], ctorParameters: function () { return []; }, propDecorators: { hasIcons: [{
|
|
24
25
|
type: Input
|
|
25
26
|
}], items: [{
|
|
@@ -41,4 +42,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImpor
|
|
|
41
42
|
}], userInput: [{
|
|
42
43
|
type: Output
|
|
43
44
|
}] } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLWRyb3Bkb3duLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvdGFnLWRyb3Bkb3duL3RhZy1kcm9wZG93bi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3RhZy1kcm9wZG93bi90YWctZHJvcGRvd24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBT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FnLWRyb3Bkb3duX193cmFwcGVyX19zdWJsZXZlbF9fY29udGFpbmVyX19pdGVtXCJcclxuICAgICAgICAgIChjbGljayk9XCJvblVzZXJJbnB1dChpdGVtLmluZGV4KVwiXHJcbiAgICAgICAgPlxyXG4gICAgICAgICAgPGlcclxuICAgICAgICAgICAgKm5nSWY9XCJoYXNJY29uc1wiXHJcbiAgICAgICAgICAgIFtjbGFzc109XCJpdGVtLmljb25cIlxyXG4gICAgICAgICAgICBbc3R5bGUuZm9udC1zaXplLnB4XT1cIml0ZW0uaWNvbkZvbnRTaXplID8gaXRlbS5pY29uRm9udFNpemUgOiAnMTQnXCJcclxuICAgICAgICAgID48L2k+XHJcbiAgICAgICAgICA8c3Bhbj57eyBpdGVtLmxhYmVsIH19PC9zcGFuPlxyXG4gICAgICAgIDwvbGk+XHJcbiAgICAgIDwvdWw+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -6361,6 +6361,7 @@ class TagDropdownComponent {
|
|
|
6361
6361
|
this.hasIcons = false;
|
|
6362
6362
|
this.items = [];
|
|
6363
6363
|
this.label = '';
|
|
6364
|
+
this.class = 'default';
|
|
6364
6365
|
this.icon = '';
|
|
6365
6366
|
this.iconFontSize = 12;
|
|
6366
6367
|
this.isDropdown = true;
|
|
@@ -6371,10 +6372,10 @@ class TagDropdownComponent {
|
|
|
6371
6372
|
}
|
|
6372
6373
|
}
|
|
6373
6374
|
TagDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TagDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6374
|
-
TagDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: TagDropdownComponent, selector: "wac-tag-dropdown", inputs: { hasIcons: "hasIcons", items: "items", label: "label", class: "class", icon: "icon", iconNext: "iconNext", colorIcon: "colorIcon", iconFontSize: "iconFontSize", isDropdown: "isDropdown" }, outputs: { userInput: "userInput" }, ngImport: i0, template: "<div class=\"wac-tag-dropdown\">\n <div class=\"wac-tag-dropdown__wrapper\">\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down'\" [style.font-size.px]=\"iconFontSize\"></i>\n </div>\n </div>\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\n <li\n *ngFor=\"let item of items\"\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\n (click)=\"onUserInput(item.index)\"\n >\n <i\n *ngIf=\"hasIcons\"\n [class]=\"item.icon\"\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\n ></i>\n <span>{{ item.label }}</span>\n </li>\n </ul>\n </div>\n </div>\n</div>\n", dependencies: [{ 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6375
|
+
TagDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: TagDropdownComponent, selector: "wac-tag-dropdown", inputs: { hasIcons: "hasIcons", items: "items", label: "label", class: "class", icon: "icon", iconNext: "iconNext", colorIcon: "colorIcon", iconFontSize: "iconFontSize", isDropdown: "isDropdown" }, outputs: { userInput: "userInput" }, ngImport: i0, template: "<div class=\"wac-tag-dropdown\">\r\n <div class=\"wac-tag-dropdown__wrapper\" [ngClass]=\"{'hover': isDropdown}\">\r\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\r\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\r\n <i *ngIf=\"icon\" [ngClass]=\"icon + ' i-primary'\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\r\n {{ label }}\r\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext + ' i-next'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down i-dropdown'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n </div>\r\n </div>\r\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\r\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\r\n <li\r\n *ngFor=\"let item of items\"\r\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\r\n (click)=\"onUserInput(item.index)\"\r\n >\r\n <i\r\n *ngIf=\"hasIcons\"\r\n [class]=\"item.icon\"\r\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\r\n ></i>\r\n <span>{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
6375
6376
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: TagDropdownComponent, decorators: [{
|
|
6376
6377
|
type: Component,
|
|
6377
|
-
args: [{ selector: 'wac-tag-dropdown', template: "<div class=\"wac-tag-dropdown\">\n <div class=\"wac-tag-dropdown__wrapper\">\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\n <i *ngIf=\"icon\" [ngClass]=\"icon\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down'\" [style.font-size.px]=\"iconFontSize\"></i>\n </div>\n </div>\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\n <li\n *ngFor=\"let item of items\"\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\n (click)=\"onUserInput(item.index)\"\n >\n <i\n *ngIf=\"hasIcons\"\n [class]=\"item.icon\"\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\n ></i>\n <span>{{ item.label }}</span>\n </li>\n </ul>\n </div>\n </div>\n</div>\n" }]
|
|
6378
|
+
args: [{ selector: 'wac-tag-dropdown', template: "<div class=\"wac-tag-dropdown\">\r\n <div class=\"wac-tag-dropdown__wrapper\" [ngClass]=\"{'hover': isDropdown}\">\r\n <div class=\"wac-tag-dropdown__wrapper__firstlevel\">\r\n <div [classList]=\"'wac-tag-dropdown__wrapper__firstlevel--' + class\">\r\n <i *ngIf=\"icon\" [ngClass]=\"icon + ' i-primary'\" [style.color]=\"colorIcon\" [style.font-size.px]=\"iconFontSize\"></i>\r\n {{ label }}\r\n <i *ngIf=\"iconNext\" [style.color]=\"colorIcon\" [ngClass]=\"iconNext + ' i-next'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n <i *ngIf=\"isDropdown\" [ngClass]=\"'fas fa-angle-down i-dropdown'\" [style.font-size.px]=\"iconFontSize\"></i>\r\n </div>\r\n </div>\r\n <div class=\"wac-tag-dropdown__wrapper__sublevel\" *ngIf=\"isDropdown\">\r\n <ul class=\"wac-tag-dropdown__wrapper__sublevel__container\">\r\n <li\r\n *ngFor=\"let item of items\"\r\n class=\"wac-tag-dropdown__wrapper__sublevel__container__item\"\r\n (click)=\"onUserInput(item.index)\"\r\n >\r\n <i\r\n *ngIf=\"hasIcons\"\r\n [class]=\"item.icon\"\r\n [style.font-size.px]=\"item.iconFontSize ? item.iconFontSize : '14'\"\r\n ></i>\r\n <span>{{ item.label }}</span>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
6378
6379
|
}], ctorParameters: function () { return []; }, propDecorators: { hasIcons: [{
|
|
6379
6380
|
type: Input
|
|
6380
6381
|
}], items: [{
|