@wizishop/angular-components 0.0.63 → 0.0.64

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.
@@ -1753,88 +1753,174 @@ $wac-color-success-popup-alert: #6DCC95!default;
1753
1753
  }
1754
1754
  }
1755
1755
  }
1756
- .wac-filters {
1756
+ .wac-edit-in-place.nwb-wrapper {
1757
+ display: inline-block;
1758
+ position: relative;
1759
+ width: auto;
1760
+ min-width: 12px;
1761
+ min-height: 1.4em;
1762
+
1763
+ input {
1764
+ font-size: inherit;
1765
+ transition: width 50ms;
1766
+ position: absolute;
1767
+ top: 0;
1768
+ left: -5px;
1769
+ width: calc(100% + 16px) !important;
1770
+ height: calc(100% + 14px) !important;
1771
+ padding: 5px;
1772
+ z-index: 1;
1773
+ margin: 0;
1774
+ outline: none !important;
1775
+ border: 1px solid $wac-edit-in-place-border;
1776
+ background: inherit;
1777
+ transform: translateY(-17%);
1778
+ background-color: $wac-edit-in-place-background;
1779
+
1780
+ &.nwb-editable {
1781
+ text-decoration: none;
1782
+ color: inherit;
1783
+ border: none;
1784
+ cursor: pointer;
1785
+ height: 26px;
1786
+ }
1787
+
1788
+ &.nwb-editing {
1789
+ color: $wac-edit-in-place-border;
1790
+ }
1791
+ }
1792
+
1793
+ div.select {
1794
+ position: absolute;
1795
+ left: 0;
1796
+
1797
+ &:before,
1798
+ &:after {
1799
+ display: block;
1800
+ position: absolute;
1801
+ height: 10px;
1802
+ width: 10px;
1803
+ }
1804
+ }
1805
+
1806
+ span.nwb-loader {
1807
+ &.nwb-is-loading {
1808
+ z-index: 2;
1809
+ opacity: 1;
1810
+ position: absolute;
1811
+ top: -7px;
1812
+ left: -7px;
1813
+ width: calc(100% + 16px) !important;
1814
+ height: calc(100% + 14px) !important;
1815
+ min-width: 12px;
1816
+ min-height: 1em;
1817
+ margin: 0;
1818
+ background-size: auto 70%;
1819
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
1820
+ background-repeat: no-repeat;
1821
+ background-position: center center;
1822
+ }
1823
+ }
1824
+ span {
1825
+ color: inherit;
1826
+ font-weight: 500;
1827
+ &:not(.nwb-loader) {
1828
+ display: inline-block;
1829
+ min-width: 12px;
1830
+ }
1831
+ &.nwb-editing {
1832
+ visibility: hidden;
1833
+ }
1834
+
1835
+ &.nwb-is-loading {
1836
+ text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
1837
+ color: rgba(0, 0, 0, 0.4);
1838
+ opacity: 0.25;
1839
+ }
1840
+
1841
+ &.nwbSelect {
1842
+ cursor: pointer;
1843
+ }
1844
+ }
1845
+ }
1846
+
1847
+ .wac-edit-in-place.nwb-wrapper--editable::after {
1848
+ position: absolute;
1849
+ content: '';
1850
+ border-bottom: dashed 1px $wac-primary;
1757
1851
  width: 100%;
1758
- &__wrapper {
1759
- width: 100%;
1852
+ bottom: 0;
1853
+ left: 0;
1854
+ }
1855
+
1856
+ .wac-edit-in-place.nwbSelect {
1857
+ &__container {
1760
1858
  display: flex;
1761
- flex-wrap: wrap;
1762
- justify-content: flex-start;
1763
- align-items: center;
1764
- align-content: center;
1765
- button {
1766
- position: relative;
1767
- width: auto;
1768
- display: flex;
1769
- align-items: center;
1770
- font-size: rem(14);
1771
- line-height: rem(16);
1772
- font-weight: 400;
1773
- color: $wac-second-color;
1774
- border: 1px solid $wac-border-light;
1775
- border-radius: 3px;
1776
- background: transparent;
1777
- box-shadow: none;
1778
- margin-bottom: rem(10);
1779
- transition: 0.3s ease;
1780
- cursor: pointer;
1781
- padding: 12px 20px;
1782
- .event {
1783
- position: absolute;
1784
- top: 0;
1785
- left: 0;
1786
- width: 100%;
1787
- height: 100%;
1788
- z-index: 2;
1789
- display: inline-block;
1790
- }
1791
- i {
1792
- color: $wac-main-text;
1793
- font-size: rem(14);
1794
- margin: 0 rem(10) 0 0;
1795
- }
1796
- &:hover,
1797
- &:focus,
1798
- &.active {
1799
- border-color: $wac-wizishop-blue;
1800
- color: $wac-main-text;
1801
- }
1802
- &:not(:last-child) {
1803
- margin: 0 rem(10) rem(10) 0;
1804
- }
1859
+ flex-direction: column;
1860
+ position: absolute;
1861
+ white-space: nowrap;
1862
+ border: solid 1px rgba(0, 0, 0, 0.2);
1863
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
1864
+ border-radius: 3px;
1865
+ top: calc(100% + 7px);
1866
+
1867
+ &::before {
1868
+ position: absolute;
1869
+ top: -7px;
1870
+ left: 9px;
1871
+ content: '';
1872
+ border-left: 7px solid transparent;
1873
+ border-right: 7px solid transparent;
1874
+ border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
1875
+ border-bottom-color: rgba(0, 0, 0, 0.2);
1876
+ display: inline-block;
1805
1877
  }
1806
- > span {
1807
- position: relative;
1808
- color: $wac-link-color;
1878
+
1879
+ &::after {
1880
+ position: absolute;
1881
+ top: -6px;
1882
+ left: 10px;
1883
+ content: '';
1884
+ border-left: 6px solid transparent;
1885
+ border-right: 6px solid transparent;
1886
+ border-bottom: 6px solid $wac-white;
1809
1887
  display: inline-block;
1810
- transition: 0.3s ease;
1811
- font-size: rem(14);
1812
- line-height: rem(16);
1813
- margin: 0 0 0 rem(30);
1888
+ }
1889
+
1890
+ &__item {
1891
+ border: none;
1892
+ padding: 8px 10px;
1893
+ background-color: $wac-white;
1814
1894
  cursor: pointer;
1815
- z-index: 1;
1816
- &:before {
1817
- content: '';
1818
- display: block;
1819
- position: absolute;
1820
- width: 100%;
1821
- max-width: 0;
1822
- height: 1px;
1823
- border-radius: 3px;
1824
- background-color: darken($wac-link-color, 15%);
1825
- left: 0;
1826
- bottom: -2px;
1827
- transition: 0.3s ease;
1895
+ transition: all 0.3s ease-in-out;
1896
+ z-index: 3;
1897
+ font-size: rem(12);
1898
+ text-align: left;
1899
+ border-radius: 0;
1900
+
1901
+ &:hover {
1902
+ background-color: darken($wac-white, 10%);
1903
+ color: $wac-main-text;
1904
+ transition: all 0.3s ease-in-out;
1828
1905
  }
1829
- &:hover,
1830
- &:focus {
1831
- color: darken($wac-link-color, 15%);
1832
- &:before {
1833
- max-width: 100%;
1834
- }
1906
+
1907
+ &--selected,
1908
+ &--selected:hover {
1909
+ background-color: $wac-wizishop-blue;
1910
+ color: $wac-white;
1911
+ transition: all 0.3s ease-in-out;
1835
1912
  }
1836
1913
  }
1837
1914
  }
1915
+
1916
+ &__background {
1917
+ position: fixed;
1918
+ top: 0;
1919
+ left: 0;
1920
+ width: 100vw;
1921
+ height: 100vh;
1922
+ z-index: 2;
1923
+ }
1838
1924
  }
1839
1925
 
1840
1926
  .wac-switch {
@@ -3453,174 +3539,88 @@ span.wac-tooltip {
3453
3539
  }
3454
3540
  }
3455
3541
  }
3456
- .wac-edit-in-place.nwb-wrapper {
3457
- display: inline-block;
3458
- position: relative;
3459
- width: auto;
3460
- min-width: 12px;
3461
- min-height: 1.4em;
3462
-
3463
- input {
3464
- font-size: inherit;
3465
- transition: width 50ms;
3466
- position: absolute;
3467
- top: 0;
3468
- left: -5px;
3469
- width: calc(100% + 16px) !important;
3470
- height: calc(100% + 14px) !important;
3471
- padding: 5px;
3472
- z-index: 1;
3473
- margin: 0;
3474
- outline: none !important;
3475
- border: 1px solid $wac-edit-in-place-border;
3476
- background: inherit;
3477
- transform: translateY(-17%);
3478
- background-color: $wac-edit-in-place-background;
3479
-
3480
- &.nwb-editable {
3481
- text-decoration: none;
3482
- color: inherit;
3483
- border: none;
3484
- cursor: pointer;
3485
- height: 26px;
3486
- }
3487
-
3488
- &.nwb-editing {
3489
- color: $wac-edit-in-place-border;
3490
- }
3491
- }
3492
-
3493
- div.select {
3494
- position: absolute;
3495
- left: 0;
3496
-
3497
- &:before,
3498
- &:after {
3499
- display: block;
3500
- position: absolute;
3501
- height: 10px;
3502
- width: 10px;
3503
- }
3504
- }
3505
-
3506
- span.nwb-loader {
3507
- &.nwb-is-loading {
3508
- z-index: 2;
3509
- opacity: 1;
3510
- position: absolute;
3511
- top: -7px;
3512
- left: -7px;
3513
- width: calc(100% + 16px) !important;
3514
- height: calc(100% + 14px) !important;
3515
- min-width: 12px;
3516
- min-height: 1em;
3517
- margin: 0;
3518
- background-size: auto 70%;
3519
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' class='lds-ellipsis' style='background: none;'%3E%3C!--circle(cx='16',cy='50',r='10')--%3E%3Ccircle cx='84' cy='50' r='0' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='10;0;0;0;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='84;84;84;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='28.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-1s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='3.71582' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='6.28418' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;10;10;10;0' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;50;84;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='62.6338' cy='50' r='10' fill='%236c6c6c'%3E%3Canimate attributeName='r' values='0;0;10;10;10' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3Canimate attributeName='cx' values='16;16;16;50;84' keyTimes='0;0.25;0.5;0.75;1' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' calcMode='spline' dur='2s' repeatCount='indefinite' begin='0s'/%3E%3C/circle%3E%3C/svg%3E");
3520
- background-repeat: no-repeat;
3521
- background-position: center center;
3522
- }
3523
- }
3524
- span {
3525
- color: inherit;
3526
- font-weight: 500;
3527
- &:not(.nwb-loader) {
3528
- display: inline-block;
3529
- min-width: 12px;
3530
- }
3531
- &.nwb-editing {
3532
- visibility: hidden;
3533
- }
3534
-
3535
- &.nwb-is-loading {
3536
- text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.6);
3537
- color: rgba(0, 0, 0, 0.4);
3538
- opacity: 0.25;
3539
- }
3540
-
3541
- &.nwbSelect {
3542
- cursor: pointer;
3543
- }
3544
- }
3545
- }
3546
-
3547
- .wac-edit-in-place.nwb-wrapper--editable::after {
3548
- position: absolute;
3549
- content: '';
3550
- border-bottom: dashed 1px $wac-primary;
3542
+ .wac-filters {
3551
3543
  width: 100%;
3552
- bottom: 0;
3553
- left: 0;
3554
- }
3555
-
3556
- .wac-edit-in-place.nwbSelect {
3557
- &__container {
3544
+ &__wrapper {
3545
+ width: 100%;
3558
3546
  display: flex;
3559
- flex-direction: column;
3560
- position: absolute;
3561
- white-space: nowrap;
3562
- border: solid 1px rgba(0, 0, 0, 0.2);
3563
- box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
3564
- border-radius: 3px;
3565
- top: calc(100% + 7px);
3566
-
3567
- &::before {
3568
- position: absolute;
3569
- top: -7px;
3570
- left: 9px;
3571
- content: '';
3572
- border-left: 7px solid transparent;
3573
- border-right: 7px solid transparent;
3574
- border-bottom: 7px solid $wac-edit-in-place-before-border-bottom;
3575
- border-bottom-color: rgba(0, 0, 0, 0.2);
3576
- display: inline-block;
3547
+ flex-wrap: wrap;
3548
+ justify-content: flex-start;
3549
+ align-items: center;
3550
+ align-content: center;
3551
+ button {
3552
+ position: relative;
3553
+ width: auto;
3554
+ display: flex;
3555
+ align-items: center;
3556
+ font-size: rem(14);
3557
+ line-height: rem(16);
3558
+ font-weight: 400;
3559
+ color: $wac-second-color;
3560
+ border: 1px solid $wac-border-light;
3561
+ border-radius: 3px;
3562
+ background: transparent;
3563
+ box-shadow: none;
3564
+ margin-bottom: rem(10);
3565
+ transition: 0.3s ease;
3566
+ cursor: pointer;
3567
+ padding: 12px 20px;
3568
+ .event {
3569
+ position: absolute;
3570
+ top: 0;
3571
+ left: 0;
3572
+ width: 100%;
3573
+ height: 100%;
3574
+ z-index: 2;
3575
+ display: inline-block;
3576
+ }
3577
+ i {
3578
+ color: $wac-main-text;
3579
+ font-size: rem(14);
3580
+ margin: 0 rem(10) 0 0;
3581
+ }
3582
+ &:hover,
3583
+ &:focus,
3584
+ &.active {
3585
+ border-color: $wac-wizishop-blue;
3586
+ color: $wac-main-text;
3587
+ }
3588
+ &:not(:last-child) {
3589
+ margin: 0 rem(10) rem(10) 0;
3590
+ }
3577
3591
  }
3578
-
3579
- &::after {
3580
- position: absolute;
3581
- top: -6px;
3582
- left: 10px;
3583
- content: '';
3584
- border-left: 6px solid transparent;
3585
- border-right: 6px solid transparent;
3586
- border-bottom: 6px solid $wac-white;
3592
+ > span {
3593
+ position: relative;
3594
+ color: $wac-link-color;
3587
3595
  display: inline-block;
3588
- }
3589
-
3590
- &__item {
3591
- border: none;
3592
- padding: 8px 10px;
3593
- background-color: $wac-white;
3596
+ transition: 0.3s ease;
3597
+ font-size: rem(14);
3598
+ line-height: rem(16);
3599
+ margin: 0 0 0 rem(30);
3594
3600
  cursor: pointer;
3595
- transition: all 0.3s ease-in-out;
3596
- z-index: 3;
3597
- font-size: rem(12);
3598
- text-align: left;
3599
- border-radius: 0;
3600
-
3601
- &:hover {
3602
- background-color: darken($wac-white, 10%);
3603
- color: $wac-main-text;
3604
- transition: all 0.3s ease-in-out;
3601
+ z-index: 1;
3602
+ &:before {
3603
+ content: '';
3604
+ display: block;
3605
+ position: absolute;
3606
+ width: 100%;
3607
+ max-width: 0;
3608
+ height: 1px;
3609
+ border-radius: 3px;
3610
+ background-color: darken($wac-link-color, 15%);
3611
+ left: 0;
3612
+ bottom: -2px;
3613
+ transition: 0.3s ease;
3605
3614
  }
3606
-
3607
- &--selected,
3608
- &--selected:hover {
3609
- background-color: $wac-wizishop-blue;
3610
- color: $wac-white;
3611
- transition: all 0.3s ease-in-out;
3615
+ &:hover,
3616
+ &:focus {
3617
+ color: darken($wac-link-color, 15%);
3618
+ &:before {
3619
+ max-width: 100%;
3620
+ }
3612
3621
  }
3613
3622
  }
3614
3623
  }
3615
-
3616
- &__background {
3617
- position: fixed;
3618
- top: 0;
3619
- left: 0;
3620
- width: 100vw;
3621
- height: 100vh;
3622
- z-index: 2;
3623
- }
3624
3624
  }
3625
3625
  h1.wac-h1 {
3626
3626
  font-size: rem(30);
@@ -3654,7 +3654,7 @@
3654
3654
  this.selectValue.emit(index);
3655
3655
  }
3656
3656
  else {
3657
- var findInOption = this.options.findIndex(function (element) { return element.label === label && element.value === value; });
3657
+ var findInOption = this.options.findIndex(function (element) { return element.label === label && element.id === value; });
3658
3658
  this.selectValue.emit(findInOption);
3659
3659
  }
3660
3660
  };
@@ -3667,7 +3667,7 @@
3667
3667
  SearchComponent.decorators = [
3668
3668
  { type: i0.Component, args: [{
3669
3669
  selector: 'wac-search',
3670
- template: "<div class=\"wac-search\" [ngClass]=\"{ open: openSelect || alwaysOpen }\" [zIndexToggle]=\"openSelect\" wzAutoHide (clickOutside)=\"closeSelect()\">\n <div class=\"wac-search__wrapper\">\n <button><i class=\"fal fa-search\"></i></button>\n <input [value]=\"search\" type=\"text\" required [placeholder]=\"placeholder\" (focus)=\"openSelect = true;\" (focusout)=\"sendEventFocusOut()\" (keyup)=\"setSearchValueToQuery($event)\" />\n </div>\n <div class=\"wac-search__absolute\" *ngIf=\"triggerOptions\" [ngClass]=\"{'hidden': !openSelect}\">\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\" *ngIf=\"triggerOptions.length > 0\">\n <div (click)=\"onClose()\" class=\"wac-select__content__item\" *ngFor=\"let item of triggerOptions; let index = index;\">\n <div [ngClass]=\"{ selected: item.active }\" (click)=\"onSelectItem(index, item.value, item.label)\">\n {{ item.label }}\n </div>\n </div>\n </perfect-scrollbar>\n <div class=\"wac-select__content__empty\" *ngIf=\"triggerOptions.length === 0\">\n <span *ngIf=\"emptyResult\">{{emptyResult}}</span>\n </div>\n </div>\n</div>\n"
3670
+ template: "<div class=\"wac-search\" [ngClass]=\"{ open: openSelect || alwaysOpen }\" [zIndexToggle]=\"openSelect\" wzAutoHide (clickOutside)=\"closeSelect()\">\n <div class=\"wac-search__wrapper\">\n <button><i class=\"fal fa-search\"></i></button>\n <input [value]=\"search\" type=\"text\" required [placeholder]=\"placeholder\" (focus)=\"openSelect = true;\" (focusout)=\"sendEventFocusOut()\" (keyup)=\"setSearchValueToQuery($event)\" />\n </div>\n <div class=\"wac-search__absolute\" *ngIf=\"triggerOptions\" [ngClass]=\"{'hidden': !openSelect}\">\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\" *ngIf=\"triggerOptions.length > 0\">\n <div (click)=\"onClose()\" class=\"wac-select__content__item\" *ngFor=\"let item of triggerOptions; let index = index;\">\n <div [ngClass]=\"{ selected: item.checked }\" (click)=\"onSelectItem(index, item.id, item.label)\">\n {{ item.label }}\n </div>\n </div>\n </perfect-scrollbar>\n <div class=\"wac-select__content__empty\" *ngIf=\"triggerOptions.length === 0\">\n <span *ngIf=\"emptyResult\">{{emptyResult}}</span>\n </div>\n </div>\n</div>\n"
3671
3671
  },] }
3672
3672
  ];
3673
3673
  SearchComponent.ctorParameters = function () { return []; };
@@ -3702,7 +3702,7 @@
3702
3702
  var _this = this;
3703
3703
  this.selectedOptionIndex = [];
3704
3704
  this.options.forEach(function (eln, i) {
3705
- _this.options[i].active = true;
3705
+ _this.options[i].checked = true;
3706
3706
  _this.selectedOptionIndex.push(i);
3707
3707
  });
3708
3708
  this.switchSelectAll = true;
@@ -3712,7 +3712,7 @@
3712
3712
  var _this = this;
3713
3713
  this.selectedOptionIndex = [];
3714
3714
  this.options.forEach(function (eln, i) {
3715
- if (eln.active) {
3715
+ if (eln.checked) {
3716
3716
  _this.selectedOptionIndex.push(i);
3717
3717
  }
3718
3718
  });
@@ -3721,13 +3721,13 @@
3721
3721
  var _this = this;
3722
3722
  this.selectedOptionIndex = [];
3723
3723
  this.options.forEach(function (eln, i) {
3724
- _this.options[i].active = false;
3724
+ _this.options[i].checked = false;
3725
3725
  });
3726
3726
  this.switchSelectAll = false;
3727
3727
  this.selectedItems.emit(this.selectedOptionIndex);
3728
3728
  };
3729
3729
  SelectedListComponent.prototype.selectItem = function (i) {
3730
- this.options[i].active = !this.options[i].active;
3730
+ this.options[i].checked = !this.options[i].checked;
3731
3731
  this.checkSelectedItem();
3732
3732
  this.selectedItems.emit(this.selectedOptionIndex);
3733
3733
  };
@@ -3736,7 +3736,7 @@
3736
3736
  SelectedListComponent.decorators = [
3737
3737
  { type: i0.Component, args: [{
3738
3738
  selector: 'wac-selected-list',
3739
- template: "<div class=\"selected-list\">\n <div class=\"selected-list__wrapper\">\n <div class=\"selected-list__wrapper__head\">\n <p *ngIf=\"label\" [innerHTML]=\"label\"></p>\n <span *ngIf=\"textSelectAll && !switchSelectAll\" [innerHTML]=\"textSelectAll\" (click)=\"selectAll()\"></span>\n <span *ngIf=\"textUnSelectAll && switchSelectAll\" [innerHTML]=\"textUnSelectAll\" (click)=\"unSelectAll()\"></span>\n </div>\n <div class=\"selected-list__wrapper__content\">\n <div class=\"selected-list__wrapper__content__item\" *ngFor=\"let item of options;let i = index;\" [ngClass]=\"{'active': item.active}\" (click)=\"selectItem(i)\">\n <span [innerHTML]=\"item.label\"></span>\n <i class=\"fas fa-check\"></i>\n </div>\n </div>\n </div>\n</div>\n"
3739
+ template: "<div class=\"selected-list\">\n <div class=\"selected-list__wrapper\">\n <div class=\"selected-list__wrapper__head\">\n <p *ngIf=\"label\" [innerHTML]=\"label\"></p>\n <span *ngIf=\"textSelectAll && !switchSelectAll\" [innerHTML]=\"textSelectAll\" (click)=\"selectAll()\"></span>\n <span *ngIf=\"textUnSelectAll && switchSelectAll\" [innerHTML]=\"textUnSelectAll\" (click)=\"unSelectAll()\"></span>\n </div>\n <div class=\"selected-list__wrapper__content\">\n <div class=\"selected-list__wrapper__content__item\" *ngFor=\"let item of options;let i = index;\" [ngClass]=\"{'active': item.checked}\" (click)=\"selectItem(i)\">\n <span [innerHTML]=\"item.label\"></span>\n <i class=\"fas fa-check\"></i>\n </div>\n </div>\n </div>\n</div>\n"
3740
3740
  },] }
3741
3741
  ];
3742
3742
  SelectedListComponent.propDecorators = {