@bizy/core 19.0.23 → 19.0.24

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.
@@ -1555,10 +1555,13 @@ class BizyFileUploaderService {
1555
1555
  }, 0);
1556
1556
  };
1557
1557
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFileUploaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1558
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFileUploaderService });
1558
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFileUploaderService, providedIn: 'root' });
1559
1559
  }
1560
1560
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFileUploaderService, decorators: [{
1561
- type: Injectable
1561
+ type: Injectable,
1562
+ args: [{
1563
+ providedIn: 'root'
1564
+ }]
1562
1565
  }] });
1563
1566
 
1564
1567
  class BizyFileUploaderComponent {
@@ -5478,6 +5481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
5478
5481
  }]
5479
5482
  }] });
5480
5483
 
5484
+ var _a;
5481
5485
  var TOAST;
5482
5486
  (function (TOAST) {
5483
5487
  TOAST["DEFAULT"] = "default";
@@ -5488,7 +5492,7 @@ var TOAST;
5488
5492
  })(TOAST || (TOAST = {}));
5489
5493
  class BizyToastService {
5490
5494
  dialog;
5491
- #toasts = new Set();
5495
+ static toasts = new Set();
5492
5496
  duration = 3000;
5493
5497
  defaultSuccessTitle = 'Operación exitosa';
5494
5498
  defaultDangerTitle = 'Hubo un problema';
@@ -5511,7 +5515,7 @@ class BizyToastService {
5511
5515
  disableClose: false,
5512
5516
  panelClass: ['bizy-toast', 'bizy-toast--in']
5513
5517
  });
5514
- this.#toasts.add(toastRef);
5518
+ _a.toasts.add(toastRef);
5515
5519
  }
5516
5520
  config(data) {
5517
5521
  if (!data) {
@@ -5547,21 +5551,25 @@ class BizyToastService {
5547
5551
  return;
5548
5552
  }
5549
5553
  let toastRef = null;
5550
- toastRef = Array.from(this.#toasts).find(_toastRef => _toastRef.id === id);
5554
+ toastRef = Array.from(_a.toasts).find(_toastRef => _toastRef.id === id);
5551
5555
  if (toastRef) {
5552
5556
  toastRef.removePanelClass('bizy-toast--in');
5553
5557
  toastRef.addPanelClass('bizy-toast--out');
5554
5558
  setTimeout(() => {
5555
5559
  toastRef.close();
5556
- this.#toasts.delete(toastRef);
5560
+ _a.toasts.delete(toastRef);
5557
5561
  }, 500);
5558
5562
  }
5559
5563
  };
5560
5564
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyToastService, deps: [{ token: Dialog }], target: i0.ɵɵFactoryTarget.Injectable });
5561
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyToastService });
5565
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyToastService, providedIn: 'root' });
5562
5566
  }
5567
+ _a = BizyToastService;
5563
5568
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyToastService, decorators: [{
5564
- type: Injectable
5569
+ type: Injectable,
5570
+ args: [{
5571
+ providedIn: 'root'
5572
+ }]
5565
5573
  }], ctorParameters: () => [{ type: i1$4.Dialog, decorators: [{
5566
5574
  type: Inject,
5567
5575
  args: [Dialog]
@@ -5981,10 +5989,13 @@ class BizyFormatSecondsService {
5981
5989
  }
5982
5990
  }
5983
5991
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFormatSecondsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5984
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFormatSecondsService });
5992
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFormatSecondsService, providedIn: 'root' });
5985
5993
  }
5986
5994
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: BizyFormatSecondsService, decorators: [{
5987
- type: Injectable
5995
+ type: Injectable,
5996
+ args: [{
5997
+ providedIn: 'root'
5998
+ }]
5988
5999
  }] });
5989
6000
 
5990
6001
  class BizyFormatSecondsPipe {