@wizishop/angular-components 0.0.67 → 0.0.68
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 +57 -57
- package/bundles/wizishop-angular-components.umd.js +6 -1
- 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/free-popin/free-popin.component.js +7 -2
- package/fesm2015/wizishop-angular-components.js +6 -1
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/free-popin/free-popin.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.68.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.67.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -2304,10 +2304,9 @@ $wac-color-success-popup-alert: #6DCC95!default;
|
|
|
2304
2304
|
}
|
|
2305
2305
|
}
|
|
2306
2306
|
}
|
|
2307
|
-
.wac-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
height: 40px;
|
|
2307
|
+
.wac-image {
|
|
2308
|
+
width: 60px;
|
|
2309
|
+
height: 60px;
|
|
2311
2310
|
|
|
2312
2311
|
&__wrapper {
|
|
2313
2312
|
@include flexbox();
|
|
@@ -2315,48 +2314,20 @@ $wac-color-success-popup-alert: #6DCC95!default;
|
|
|
2315
2314
|
@include align-items(center);
|
|
2316
2315
|
width: 100%;
|
|
2317
2316
|
height: 100%;
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
color: $wac-second-color;
|
|
2324
|
-
transition: color 0.3s ease-in-out;
|
|
2325
|
-
}
|
|
2326
|
-
|
|
2327
|
-
&__sublevel {
|
|
2328
|
-
position: absolute;
|
|
2329
|
-
width: 350px;
|
|
2330
|
-
top: 13px;
|
|
2331
|
-
left: 100%;
|
|
2332
|
-
z-index: -1;
|
|
2333
|
-
opacity: 0;
|
|
2334
|
-
background-color: $wac-white;
|
|
2335
|
-
border-radius: rem(3);
|
|
2336
|
-
box-shadow: 0px 2px 5px $wac-info-box-shadow;
|
|
2337
|
-
visibility: hidden;
|
|
2338
|
-
transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
|
|
2317
|
+
border-radius: 3px;
|
|
2318
|
+
border: 1px solid $wac-border-light;
|
|
2319
|
+
background-position: center;
|
|
2320
|
+
background-size: contain;
|
|
2321
|
+
background-repeat: no-repeat;
|
|
2339
2322
|
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
font-size: rem(14);
|
|
2343
|
-
line-height: rem(25);
|
|
2344
|
-
color: $wac-second-color;
|
|
2345
|
-
}
|
|
2323
|
+
&.empty {
|
|
2324
|
+
background-color: $wac-gray-background;
|
|
2346
2325
|
}
|
|
2347
2326
|
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
}
|
|
2353
|
-
|
|
2354
|
-
.wac-info__wrapper__sublevel {
|
|
2355
|
-
visibility: visible;
|
|
2356
|
-
opacity: 1;
|
|
2357
|
-
z-index: 2;
|
|
2358
|
-
transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
|
|
2359
|
-
}
|
|
2327
|
+
i {
|
|
2328
|
+
color: $wac-border-form;
|
|
2329
|
+
font-size: 25px;
|
|
2330
|
+
line-height: 23px;
|
|
2360
2331
|
}
|
|
2361
2332
|
}
|
|
2362
2333
|
}
|
|
@@ -3669,9 +3640,10 @@ h1.wac-h1 {
|
|
|
3669
3640
|
font-weight: 600;
|
|
3670
3641
|
color: $wac-main-text;
|
|
3671
3642
|
}
|
|
3672
|
-
.wac-
|
|
3673
|
-
|
|
3674
|
-
|
|
3643
|
+
.wac-info {
|
|
3644
|
+
display: inline-block;
|
|
3645
|
+
width: 40px;
|
|
3646
|
+
height: 40px;
|
|
3675
3647
|
|
|
3676
3648
|
&__wrapper {
|
|
3677
3649
|
@include flexbox();
|
|
@@ -3679,20 +3651,48 @@ h1.wac-h1 {
|
|
|
3679
3651
|
@include align-items(center);
|
|
3680
3652
|
width: 100%;
|
|
3681
3653
|
height: 100%;
|
|
3682
|
-
|
|
3683
|
-
border: 1px solid $wac-border-light;
|
|
3684
|
-
background-position: center;
|
|
3685
|
-
background-size: contain;
|
|
3686
|
-
background-repeat: no-repeat;
|
|
3654
|
+
position: relative;
|
|
3687
3655
|
|
|
3688
|
-
|
|
3689
|
-
|
|
3656
|
+
i {
|
|
3657
|
+
font-size: 14px;
|
|
3658
|
+
line-height: 25px;
|
|
3659
|
+
color: $wac-second-color;
|
|
3660
|
+
transition: color 0.3s ease-in-out;
|
|
3690
3661
|
}
|
|
3691
3662
|
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3663
|
+
&__sublevel {
|
|
3664
|
+
position: absolute;
|
|
3665
|
+
width: 350px;
|
|
3666
|
+
top: 13px;
|
|
3667
|
+
left: 100%;
|
|
3668
|
+
z-index: -1;
|
|
3669
|
+
opacity: 0;
|
|
3670
|
+
background-color: $wac-white;
|
|
3671
|
+
border-radius: rem(3);
|
|
3672
|
+
box-shadow: 0px 2px 5px $wac-info-box-shadow;
|
|
3673
|
+
visibility: hidden;
|
|
3674
|
+
transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
|
|
3675
|
+
|
|
3676
|
+
&__container {
|
|
3677
|
+
padding: 15px 20px;
|
|
3678
|
+
font-size: rem(14);
|
|
3679
|
+
line-height: rem(25);
|
|
3680
|
+
color: $wac-second-color;
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
&:hover {
|
|
3685
|
+
i {
|
|
3686
|
+
color: $wac-input-active-color;
|
|
3687
|
+
transition: color 0.3s ease-in-out;
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
.wac-info__wrapper__sublevel {
|
|
3691
|
+
visibility: visible;
|
|
3692
|
+
opacity: 1;
|
|
3693
|
+
z-index: 2;
|
|
3694
|
+
transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
|
|
3695
|
+
}
|
|
3696
3696
|
}
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
@@ -3301,6 +3301,7 @@
|
|
|
3301
3301
|
function FreePopinComponent(domService) {
|
|
3302
3302
|
this.domService = domService;
|
|
3303
3303
|
this.visible = false;
|
|
3304
|
+
this.disableCloseOutside = false;
|
|
3304
3305
|
this.visibleChange = new i0.EventEmitter();
|
|
3305
3306
|
this.response = new i0.EventEmitter();
|
|
3306
3307
|
this.background = true;
|
|
@@ -3318,13 +3319,16 @@
|
|
|
3318
3319
|
this.closePopin();
|
|
3319
3320
|
};
|
|
3320
3321
|
FreePopinComponent.prototype.closePopin = function () {
|
|
3322
|
+
console.log('ici');
|
|
3321
3323
|
if (!this.firstOpen) {
|
|
3322
3324
|
this.visible = false;
|
|
3323
3325
|
this.visibleChange.emit(this.visible);
|
|
3324
3326
|
this.firstOpen = true;
|
|
3327
|
+
console.log('ici2');
|
|
3325
3328
|
}
|
|
3326
3329
|
else {
|
|
3327
3330
|
this.firstOpen = false;
|
|
3331
|
+
console.log('ici3');
|
|
3328
3332
|
}
|
|
3329
3333
|
};
|
|
3330
3334
|
return FreePopinComponent;
|
|
@@ -3332,7 +3336,7 @@
|
|
|
3332
3336
|
FreePopinComponent.decorators = [
|
|
3333
3337
|
{ type: i0.Component, args: [{
|
|
3334
3338
|
selector: 'wac-free-popin',
|
|
3335
|
-
template: "<div class=\"wac-free-popin\" *ngIf=\"visible\">\n\n\n <div class=\"wac-free-popin__wrapper\" wzAutoHide (clickOutside)=\"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"
|
|
3339
|
+
template: "<div class=\"wac-free-popin\" *ngIf=\"visible\">\n\n\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"
|
|
3336
3340
|
},] }
|
|
3337
3341
|
];
|
|
3338
3342
|
FreePopinComponent.ctorParameters = function () { return [
|
|
@@ -3342,6 +3346,7 @@
|
|
|
3342
3346
|
okButtonLabel: [{ type: i0.Input }],
|
|
3343
3347
|
koButtonLabel: [{ type: i0.Input }],
|
|
3344
3348
|
visible: [{ type: i0.Input }],
|
|
3349
|
+
disableCloseOutside: [{ type: i0.Input }],
|
|
3345
3350
|
visibleChange: [{ type: i0.Output }],
|
|
3346
3351
|
response: [{ type: i0.Output }],
|
|
3347
3352
|
background: [{ type: i0.Input }]
|