@wizishop/angular-components 0.0.107 → 0.0.110

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.
@@ -2489,7 +2489,6 @@ $wac-color-success-popup-alert: #6DCC95!default;
2489
2489
  position: fixed;
2490
2490
  top: 0;
2491
2491
  left: 0;
2492
- z-index: 9999;
2493
2492
 
2494
2493
  &__wrapper {
2495
2494
  background-color: white;
@@ -927,7 +927,8 @@
927
927
  this.confirmDeleteText = '';
928
928
  this.confirmDeletePosition = 'right';
929
929
  this.click = new i0.EventEmitter();
930
- this.isLoading = false;
930
+ this.isLoadingChange = new i0.EventEmitter();
931
+ this._isLoading = false;
931
932
  this.interval = null;
932
933
  this.waitForConfirmDelete = false;
933
934
  this.buttonMaxWidth = '0px';
@@ -936,6 +937,17 @@
936
937
  this.buttonWidthDelete = '0px';
937
938
  this.currentLoading = 0;
938
939
  }
940
+ Object.defineProperty(ButtonComponent.prototype, "isLoading", {
941
+ get: function () {
942
+ return this._isLoading;
943
+ },
944
+ set: function (value) {
945
+ this._isLoading = value;
946
+ this.isLoadingChange.next(value);
947
+ },
948
+ enumerable: false,
949
+ configurable: true
950
+ });
939
951
  ButtonComponent.prototype.ngOnInit = function () {
940
952
  if (this.confirmDelete) {
941
953
  this.waitForConfirmDelete = true;
@@ -1030,6 +1042,8 @@
1030
1042
  confirmDeleteText: [{ type: i0.Input }],
1031
1043
  confirmDeletePosition: [{ type: i0.Input }],
1032
1044
  click: [{ type: i0.Output }],
1045
+ isLoading: [{ type: i0.Input }],
1046
+ isLoadingChange: [{ type: i0.Output }],
1033
1047
  calculWidth: [{ type: i0.ViewChild, args: ['calculWidth',] }],
1034
1048
  calculWidthDelete: [{ type: i0.ViewChild, args: ['calculWidthDelete',] }]
1035
1049
  };
@@ -3344,6 +3358,7 @@
3344
3358
  this.visibleChange = new i0.EventEmitter();
3345
3359
  this.response = new i0.EventEmitter();
3346
3360
  this.background = true;
3361
+ this.zIndex = 9999;
3347
3362
  this.firstOpen = true;
3348
3363
  }
3349
3364
  FreePopinComponent.prototype.ngOnInit = function () {
@@ -3372,7 +3387,7 @@
3372
3387
  FreePopinComponent.decorators = [
3373
3388
  { type: i0.Component, args: [{
3374
3389
  selector: 'wac-free-popin',
3375
- 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"
3390
+ 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"
3376
3391
  },] }
3377
3392
  ];
3378
3393
  FreePopinComponent.ctorParameters = function () { return [
@@ -3385,7 +3400,8 @@
3385
3400
  disableCloseOutside: [{ type: i0.Input }],
3386
3401
  visibleChange: [{ type: i0.Output }],
3387
3402
  response: [{ type: i0.Output }],
3388
- background: [{ type: i0.Input }]
3403
+ background: [{ type: i0.Input }],
3404
+ zIndex: [{ type: i0.Input }]
3389
3405
  };
3390
3406
 
3391
3407
  var BlockComponent = /** @class */ (function () {