ngx-sp-infra 6.7.1 → 6.7.2

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.
@@ -658,8 +658,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
658
658
  }] } });
659
659
 
660
660
  class ConfirmComponent {
661
- constructor(bsModalRef) {
662
- this.bsModalRef = bsModalRef;
661
+ constructor(_bsModalRef) {
662
+ this._bsModalRef = _bsModalRef;
663
663
  this.cancelText = 'Cancelar';
664
664
  this.okText = 'Sim';
665
665
  this.clickButton = new EventEmitter();
@@ -679,16 +679,44 @@ class ConfirmComponent {
679
679
  this.confirmAndClose('cancelado');
680
680
  }
681
681
  confirmAndClose(value) {
682
- this.bsModalRef.hide();
682
+ this._bsModalRef.hide();
683
683
  this.confirmResult.next(value);
684
684
  this.clickButton.emit(value);
685
685
  }
686
686
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfirmComponent, deps: [{ token: i1$1.BsModalRef }], target: i0.ɵɵFactoryTarget.Component }); }
687
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ConfirmComponent, isStandalone: true, selector: "app-confirm", inputs: { title: "title", message: "message", cancelText: "cancelText", okText: "okText", okButton: "okButton", parametroOkButton: "parametroOkButton" }, outputs: { clickButton: "clickButton" }, ngImport: i0, template: "<div class=\"modal-content \">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">{{ title }}</h5>\n <button type=\"button\" class=\"close\" data-bs-dismiss=\"modal\" aria-label=\"Close\" (click)=\"closeConfirm()\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div id=\"divMessage\"></div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"confirm()\">{{ okText }}</button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\" (click)=\"closeConfirm()\">{{ cancelText }}</button>\n </div>\n</div>\n", styles: [""] }); }
687
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: ConfirmComponent, isStandalone: true, selector: "app-confirm", inputs: { title: "title", message: "message", cancelText: "cancelText", okText: "okText", okButton: "okButton", parametroOkButton: "parametroOkButton" }, outputs: { clickButton: "clickButton" }, ngImport: i0, template: `
688
+ <div class="modal-content ">
689
+ <div class="modal-header">
690
+ <h5 class="modal-title">{{ title }}</h5>
691
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
692
+ </div>
693
+ <div class="modal-body">
694
+ <div id="divMessage"></div>
695
+ </div>
696
+ <div class="modal-footer">
697
+ <button type="button" class="btn btn-primary" (click)="confirm()">{{ okText }}</button>
698
+ <button type="button" class="btn btn-secondary" data-bs-dismiss="modal" (click)="closeConfirm()">{{ cancelText }}</button>
699
+ </div>
700
+ </div>
701
+ `, isInline: true, styles: [""] }); }
688
702
  }
689
703
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ConfirmComponent, decorators: [{
690
704
  type: Component,
691
- args: [{ selector: 'app-confirm', template: "<div class=\"modal-content \">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">{{ title }}</h5>\n <button type=\"button\" class=\"close\" data-bs-dismiss=\"modal\" aria-label=\"Close\" (click)=\"closeConfirm()\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div id=\"divMessage\"></div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"confirm()\">{{ okText }}</button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\" (click)=\"closeConfirm()\">{{ cancelText }}</button>\n </div>\n</div>\n" }]
705
+ args: [{ selector: 'app-confirm', template: `
706
+ <div class="modal-content ">
707
+ <div class="modal-header">
708
+ <h5 class="modal-title">{{ title }}</h5>
709
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
710
+ </div>
711
+ <div class="modal-body">
712
+ <div id="divMessage"></div>
713
+ </div>
714
+ <div class="modal-footer">
715
+ <button type="button" class="btn btn-primary" (click)="confirm()">{{ okText }}</button>
716
+ <button type="button" class="btn btn-secondary" data-bs-dismiss="modal" (click)="closeConfirm()">{{ cancelText }}</button>
717
+ </div>
718
+ </div>
719
+ ` }]
692
720
  }], ctorParameters: () => [{ type: i1$1.BsModalRef }], propDecorators: { title: [{
693
721
  type: Input
694
722
  }], message: [{