@wizishop/angular-components 0.0.109 → 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.
@@ -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
  };