@wizishop/angular-components 0.0.254 → 0.0.256
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 +147 -147
- package/bundles/wizishop-angular-components.umd.js +4 -4
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/block/block.component.js +2 -2
- package/esm2015/lib/components/checkbox/checkbox.component.js +2 -2
- package/esm2015/lib/components/edit-in-place/edit-in-place.component.js +1 -1
- package/esm2015/lib/components/free-popin/free-popin.component.js +2 -2
- package/esm2015/lib/components/image/image.component.js +1 -1
- package/esm2015/lib/components/label/label.component.js +2 -2
- package/esm2015/lib/components/logo/logo.component.js +1 -1
- package/esm2015/lib/components/multiple-search/multiple-search.component.js +1 -1
- package/esm2015/lib/components/radio/radio.component.js +1 -1
- package/esm2015/lib/components/selects/select-in-text/select-in-text.component.js +1 -1
- package/esm2015/lib/components/tab/tab.component.js +1 -1
- package/esm2015/lib/directives/shared-directives.module.js +1 -1
- package/esm2015/lib/pipes/shared-pipes.module.js +1 -1
- package/fesm2015/wizishop-angular-components.js +4 -4
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.256.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.254.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -460,120 +460,120 @@ $wac-charging-bar-background: #E1E6EA!default;
|
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
.wac-block {
|
|
464
|
-
background-color: $white;
|
|
465
|
-
@include padding(rem(30));
|
|
466
|
-
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
|
|
467
|
-
@include simple_transition();
|
|
468
|
-
height: 100%;
|
|
469
|
-
border-radius: 3px;
|
|
470
|
-
|
|
471
|
-
@include media('<tablet') {
|
|
472
|
-
@include padding(rem(20));
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
&.no-padding {
|
|
476
|
-
padding: 0;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
&.border-radius {
|
|
480
|
-
border-radius: 5px;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
&.sticky {
|
|
484
|
-
position: sticky;
|
|
485
|
-
top: 20px;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
&.noFullHeight {
|
|
489
|
-
height: auto;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
&.stretch {
|
|
493
|
-
display: flex;
|
|
494
|
-
flex-wrap: wrap;
|
|
495
|
-
.wac-block__content {
|
|
496
|
-
display: flex;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
/*************************/
|
|
501
|
-
/* Titre INTERNE au bloc */
|
|
502
|
-
/*************************/
|
|
503
|
-
&__title {
|
|
504
|
-
text-transform: none;
|
|
505
|
-
font-size: rem(16);
|
|
506
|
-
font-weight: 500;
|
|
507
|
-
margin-bottom: rem(20);
|
|
508
|
-
color: $wac-main-text;
|
|
509
|
-
|
|
510
|
-
&.no-uppercase {
|
|
511
|
-
text-transform: none;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
&.is-simple {
|
|
515
|
-
text-transform: none;
|
|
516
|
-
font-weight: 500;
|
|
517
|
-
}
|
|
518
|
-
i {
|
|
519
|
-
font-size: 16px;
|
|
520
|
-
margin: 0 0 0 8px;
|
|
521
|
-
&.success {
|
|
522
|
-
color: $wac-green-color;
|
|
523
|
-
}
|
|
524
|
-
&.warning {
|
|
525
|
-
color: $wac-orange-color;
|
|
526
|
-
}
|
|
527
|
-
&.danger {
|
|
528
|
-
color: $wac-primary-button;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
&:hover {
|
|
534
|
-
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/*************************/
|
|
538
|
-
/* Titre EXTERNE au bloc */
|
|
539
|
-
/*************************/
|
|
540
|
-
&__external {
|
|
541
|
-
padding: 0;
|
|
542
|
-
background: transparent;
|
|
543
|
-
box-shadow: none;
|
|
544
|
-
height: calc(100% - 60px);
|
|
545
|
-
transition: none;
|
|
546
|
-
|
|
547
|
-
.wac-block__title {
|
|
548
|
-
font-size: 1.875rem;
|
|
549
|
-
margin-bottom: 1.5rem;
|
|
550
|
-
margin-left: 10px;
|
|
551
|
-
line-height: 1.5625rem;
|
|
552
|
-
margin-top: 0.625rem;
|
|
553
|
-
font-weight: 400;
|
|
554
|
-
color: $wac-block-color;
|
|
555
|
-
&.is-simple {
|
|
556
|
-
text-transform: none;
|
|
557
|
-
font-weight: 500;
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
.wac-block__content {
|
|
562
|
-
background-color: $wac-block-color-background;
|
|
563
|
-
padding: 1.875rem;
|
|
564
|
-
box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
|
|
565
|
-
transition: none;
|
|
566
|
-
height: 100%;
|
|
567
|
-
&:hover {
|
|
568
|
-
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
&:hover {
|
|
573
|
-
box-shadow: none;
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}
|
|
463
|
+
.wac-block {
|
|
464
|
+
background-color: $white;
|
|
465
|
+
@include padding(rem(30));
|
|
466
|
+
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
|
|
467
|
+
@include simple_transition();
|
|
468
|
+
height: 100%;
|
|
469
|
+
border-radius: 3px;
|
|
470
|
+
|
|
471
|
+
@include media('<tablet') {
|
|
472
|
+
@include padding(rem(20));
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
&.no-padding {
|
|
476
|
+
padding: 0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
&.border-radius {
|
|
480
|
+
border-radius: 5px;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
&.sticky {
|
|
484
|
+
position: sticky;
|
|
485
|
+
top: 20px;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
&.noFullHeight {
|
|
489
|
+
height: auto;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
&.stretch {
|
|
493
|
+
display: flex;
|
|
494
|
+
flex-wrap: wrap;
|
|
495
|
+
.wac-block__content {
|
|
496
|
+
display: flex;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/*************************/
|
|
501
|
+
/* Titre INTERNE au bloc */
|
|
502
|
+
/*************************/
|
|
503
|
+
&__title {
|
|
504
|
+
text-transform: none;
|
|
505
|
+
font-size: rem(16);
|
|
506
|
+
font-weight: 500;
|
|
507
|
+
margin-bottom: rem(20);
|
|
508
|
+
color: $wac-main-text;
|
|
509
|
+
|
|
510
|
+
&.no-uppercase {
|
|
511
|
+
text-transform: none;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
&.is-simple {
|
|
515
|
+
text-transform: none;
|
|
516
|
+
font-weight: 500;
|
|
517
|
+
}
|
|
518
|
+
i {
|
|
519
|
+
font-size: 16px;
|
|
520
|
+
margin: 0 0 0 8px;
|
|
521
|
+
&.success {
|
|
522
|
+
color: $wac-green-color;
|
|
523
|
+
}
|
|
524
|
+
&.warning {
|
|
525
|
+
color: $wac-orange-color;
|
|
526
|
+
}
|
|
527
|
+
&.danger {
|
|
528
|
+
color: $wac-primary-button;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
&:hover {
|
|
534
|
+
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/*************************/
|
|
538
|
+
/* Titre EXTERNE au bloc */
|
|
539
|
+
/*************************/
|
|
540
|
+
&__external {
|
|
541
|
+
padding: 0;
|
|
542
|
+
background: transparent;
|
|
543
|
+
box-shadow: none;
|
|
544
|
+
height: calc(100% - 60px);
|
|
545
|
+
transition: none;
|
|
546
|
+
|
|
547
|
+
.wac-block__title {
|
|
548
|
+
font-size: 1.875rem;
|
|
549
|
+
margin-bottom: 1.5rem;
|
|
550
|
+
margin-left: 10px;
|
|
551
|
+
line-height: 1.5625rem;
|
|
552
|
+
margin-top: 0.625rem;
|
|
553
|
+
font-weight: 400;
|
|
554
|
+
color: $wac-block-color;
|
|
555
|
+
&.is-simple {
|
|
556
|
+
text-transform: none;
|
|
557
|
+
font-weight: 500;
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.wac-block__content {
|
|
562
|
+
background-color: $wac-block-color-background;
|
|
563
|
+
padding: 1.875rem;
|
|
564
|
+
box-shadow: 0 0.125rem 0.3125rem rgba(45, 62, 85, 0.1);
|
|
565
|
+
transition: none;
|
|
566
|
+
height: 100%;
|
|
567
|
+
&:hover {
|
|
568
|
+
box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
&:hover {
|
|
573
|
+
box-shadow: none;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
577
|
.block-with-checkbox {
|
|
578
578
|
width: 100%;
|
|
579
579
|
display: flex;
|
|
@@ -3990,38 +3990,38 @@ $wac-charging-bar-background: #E1E6EA!default;
|
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
}
|
|
3993
|
-
.wac-label {
|
|
3994
|
-
@include flexbox();
|
|
3995
|
-
background-color: $wac-gray-background;
|
|
3996
|
-
border-radius: 3px;
|
|
3997
|
-
border: 1px solid $wac-gray-background;
|
|
3998
|
-
transition: border-color 0.3s ease-in-out;
|
|
3999
|
-
|
|
4000
|
-
&__wrapper {
|
|
4001
|
-
padding: 7.5px 13px;
|
|
4002
|
-
font-size: 14px;
|
|
4003
|
-
line-height: 16px;
|
|
4004
|
-
color: $wac-second-color;
|
|
4005
|
-
|
|
4006
|
-
i {
|
|
4007
|
-
margin-left: 10px;
|
|
4008
|
-
font-size: 12px;
|
|
4009
|
-
line-height: 23px;
|
|
4010
|
-
color: $wac-border-form;
|
|
4011
|
-
transition: color 0.3s ease-in-out;
|
|
4012
|
-
}
|
|
4013
|
-
}
|
|
4014
|
-
|
|
4015
|
-
&:hover {
|
|
4016
|
-
border-color: $wac-input-border;
|
|
4017
|
-
transition: border-color 0.3s ease-in-out;
|
|
4018
|
-
|
|
4019
|
-
.wac-label__wrapper i {
|
|
4020
|
-
color: $wac-second-color;
|
|
4021
|
-
transition: color 0.3s ease-in-out;
|
|
4022
|
-
}
|
|
4023
|
-
}
|
|
4024
|
-
}
|
|
3993
|
+
.wac-label {
|
|
3994
|
+
@include flexbox();
|
|
3995
|
+
background-color: $wac-gray-background;
|
|
3996
|
+
border-radius: 3px;
|
|
3997
|
+
border: 1px solid $wac-gray-background;
|
|
3998
|
+
transition: border-color 0.3s ease-in-out;
|
|
3999
|
+
|
|
4000
|
+
&__wrapper {
|
|
4001
|
+
padding: 7.5px 13px;
|
|
4002
|
+
font-size: 14px;
|
|
4003
|
+
line-height: 16px;
|
|
4004
|
+
color: $wac-second-color;
|
|
4005
|
+
|
|
4006
|
+
i {
|
|
4007
|
+
margin-left: 10px;
|
|
4008
|
+
font-size: 12px;
|
|
4009
|
+
line-height: 23px;
|
|
4010
|
+
color: $wac-border-form;
|
|
4011
|
+
transition: color 0.3s ease-in-out;
|
|
4012
|
+
}
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
&:hover {
|
|
4016
|
+
border-color: $wac-input-border;
|
|
4017
|
+
transition: border-color 0.3s ease-in-out;
|
|
4018
|
+
|
|
4019
|
+
.wac-label__wrapper i {
|
|
4020
|
+
color: $wac-second-color;
|
|
4021
|
+
transition: color 0.3s ease-in-out;
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
4025
|
a.wac-link {
|
|
4026
4026
|
position: relative;
|
|
4027
4027
|
color: $wac-link-color;
|
|
@@ -5818,7 +5818,7 @@ a.wac-link {
|
|
|
5818
5818
|
align-items: center;
|
|
5819
5819
|
white-space: nowrap;
|
|
5820
5820
|
strong {
|
|
5821
|
-
margin: 0
|
|
5821
|
+
margin: 0 5px 0 5px;
|
|
5822
5822
|
font-weight: 600;
|
|
5823
5823
|
}
|
|
5824
5824
|
}
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
CheckboxComponent.decorators = [
|
|
723
723
|
{ type: i0.Component, args: [{
|
|
724
724
|
selector: 'wac-checkbox',
|
|
725
|
-
template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'wac-field-checkbox--nowrap': type === 'column', 'disable-wt' : !whiteSpace, alone: alone }\">\n <div class=\"wac-field-checkbox__row\">\n <input\n type=\"checkbox\"\n [id]=\"id\"\n class=\"is-checkradio\"\n [name]=\"name\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n [(ngModel)]=\"value\"\n [checked]=\"checked\"\n (ngModelChange)=\"onChange($event)\"\n />\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\n </div>\n <input\n *ngIf=\"hasInput && checked\"\n [@inOutYAnimation]\n type=\"text\"\n [placeholder]=\"inputPlaceholder\"\n (click)=\"inputClick($event)\"\n />\n</div>\n",
|
|
725
|
+
template: "<div class=\"wac-field-checkbox\" [ngClass]=\"{ 'wac-field-checkbox--nowrap': type === 'column', 'disable-wt' : !whiteSpace, alone: alone }\">\r\n <div class=\"wac-field-checkbox__row\">\r\n <input\r\n type=\"checkbox\"\r\n [id]=\"id\"\r\n class=\"is-checkradio\"\r\n [name]=\"name\"\r\n [value]=\"value\"\r\n [disabled]=\"disabled\"\r\n [(ngModel)]=\"value\"\r\n [checked]=\"checked\"\r\n (ngModelChange)=\"onChange($event)\"\r\n />\r\n <label [attr.for]=\"id\"><span [innerHTML]=\"label\"></span></label>\r\n </div>\r\n <input\r\n *ngIf=\"hasInput && checked\"\r\n [@inOutYAnimation]\r\n type=\"text\"\r\n [placeholder]=\"inputPlaceholder\"\r\n (click)=\"inputClick($event)\"\r\n />\r\n</div>\r\n",
|
|
726
726
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }],
|
|
727
727
|
animations: [inOutY]
|
|
728
728
|
},] }
|
|
@@ -1598,7 +1598,7 @@
|
|
|
1598
1598
|
LabelComponent.decorators = [
|
|
1599
1599
|
{ type: i0.Component, args: [{
|
|
1600
1600
|
selector: 'wac-label',
|
|
1601
|
-
template: "<div *ngIf=\"!deleted\" [@inOutXAnimation] class=\"wac-label\">\n <div class=\"wac-label__wrapper\">\n {{ label }}\n <i class=\"far fa-times\" (click)=\"deleteLabel()\"></i>\n </div>\n</div>\n",
|
|
1601
|
+
template: "<div *ngIf=\"!deleted\" [@inOutXAnimation] class=\"wac-label\">\r\n <div class=\"wac-label__wrapper\">\r\n {{ label }}\r\n <i class=\"far fa-times\" (click)=\"deleteLabel()\"></i>\r\n </div>\r\n</div>\r\n",
|
|
1602
1602
|
encapsulation: i0.ViewEncapsulation.None,
|
|
1603
1603
|
animations: [inOutX]
|
|
1604
1604
|
},] }
|
|
@@ -3672,7 +3672,7 @@
|
|
|
3672
3672
|
FreePopinComponent.decorators = [
|
|
3673
3673
|
{ type: i0.Component, args: [{
|
|
3674
3674
|
selector: 'wac-free-popin',
|
|
3675
|
-
template: "<div class=\"wac-free-popin\" *ngIf=\"visible\" [ngStyle]=\"{'z-index': zIndex}\">\n <div class=\"wac-free-popin__wrapper\" wzAutoHide (clickOutside)=\"!disableCloseOutside ? closePopin() : ''\">\n <a class=\"wac-free-popin__wrapper__button-close\" (click)=\"closePopin()\">\n <i class=\"fas fa-times\"></i>\n </a>\n <div class=\"wac-free-popin__wrapper__content\">\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\n <ng-content></ng-content>\n </perfect-scrollbar>\n </div>\n <div class=\"wac-free-popin__wrapper__buttons\">\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"okButtonLabel\">\n <wac-button [extraClasses]=\"'is-success'\" [label]=\"okButtonLabel\" hasLoader=\"true\" (click)=\"validatePopin()\"></wac-button>\n </div>\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"koButtonLabel\">\n <wac-button [extraClasses]=\"'is-danger is-outlined'\" [label]=\"koButtonLabel\" hasLoader=\"true\" (click)=\"refusePopin()\"></wac-button>\n </div>\n </div>\n </div>\n <div class=\"wac-free-popin__background\" *ngIf=\"background\"></div>\n</div>\n"
|
|
3675
|
+
template: "<div class=\"wac-free-popin\" *ngIf=\"visible\" [ngStyle]=\"{'z-index': zIndex}\">\r\n <div class=\"wac-free-popin__wrapper\" wzAutoHide (clickOutside)=\"!disableCloseOutside ? closePopin() : ''\">\r\n <a class=\"wac-free-popin__wrapper__button-close\" (click)=\"closePopin()\">\r\n <i class=\"fas fa-times\"></i>\r\n </a>\r\n <div class=\"wac-free-popin__wrapper__content\">\r\n <perfect-scrollbar [config]=\"{ suppressScrollX: true }\">\r\n <ng-content></ng-content>\r\n </perfect-scrollbar>\r\n </div>\r\n <div class=\"wac-free-popin__wrapper__buttons\">\r\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"okButtonLabel\">\r\n <wac-button [extraClasses]=\"'is-success'\" [label]=\"okButtonLabel\" hasLoader=\"true\" (click)=\"validatePopin()\"></wac-button>\r\n </div>\r\n <div class=\"wac-free-popin__wrapper__buttons__button\" *ngIf=\"koButtonLabel\">\r\n <wac-button [extraClasses]=\"'is-danger is-outlined'\" [label]=\"koButtonLabel\" hasLoader=\"true\" (click)=\"refusePopin()\"></wac-button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"wac-free-popin__background\" *ngIf=\"background\"></div>\r\n</div>\r\n"
|
|
3676
3676
|
},] }
|
|
3677
3677
|
];
|
|
3678
3678
|
FreePopinComponent.ctorParameters = function () { return [
|
|
@@ -3707,7 +3707,7 @@
|
|
|
3707
3707
|
BlockComponent.decorators = [
|
|
3708
3708
|
{ type: i0.Component, args: [{
|
|
3709
3709
|
selector: 'wac-block',
|
|
3710
|
-
template: "<div\n class=\"wac-block\"\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'stretch': stretchHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\n>\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\n </h2>\n <div class=\"wac-block__content\">\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
3710
|
+
template: "<div\r\n class=\"wac-block\"\r\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'stretch': stretchHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\r\n>\r\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\r\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\r\n </h2>\r\n <div class=\"wac-block__content\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n"
|
|
3711
3711
|
},] }
|
|
3712
3712
|
];
|
|
3713
3713
|
BlockComponent.ctorParameters = function () { return []; };
|