sapenlinea-components 0.10.83 → 0.10.84

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.
@@ -4808,11 +4808,11 @@ class Toast {
4808
4808
  }
4809
4809
  }
4810
4810
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: Toast, deps: [], target: i0.ɵɵFactoryTarget.Component });
4811
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: Toast, isStandalone: true, selector: "lib-toast", ngImport: i0, template: "@if (isShowToast()) {\r\n<div class=\"toast\" [class.show]=\"toastService.isVisible()\">\r\n <div class=\"toast-body\">\r\n <div class=\"toast-header\">\r\n <span class=\"toast-message\">\r\n {{\r\n toastService.currentToast()?.description\r\n }}\r\n </span>\r\n <button class=\"btn-close\" (click)=\"close()\" aria-label=\"Cerrar\">\r\n &times;\r\n </button>\r\n </div>\r\n\r\n @if (toastService.currentToast()?.buttonText &&\r\n toastService.currentToast()?.action) {\r\n <div class=\"toast-footer\">\r\n <button\r\n class=\"btn-action\"\r\n (click)=\"executeAction()\"\r\n [attr.aria-label]=\"toastService.currentToast()?.buttonText\"\r\n >\r\n {{ toastService.currentToast()?.buttonText }}\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n}", styles: [".toast{position:fixed;bottom:20px;right:20px;min-width:320px;max-width:350px;border-radius:8px;box-shadow:0 4px 20px #0000004d;opacity:0;transform:translateY(100%);transition:all .3s ease;z-index:9999;padding:16px;background-color:#303026;color:#f2f2de;font-size:14px;line-height:1.5}.toast.show{opacity:1;transform:translateY(0)}.toast-body{display:flex;flex-direction:column;gap:12px}.toast-header{display:flex;align-items:center;gap:12px;justify-content:space-between}.toast-message{flex:1}.toast-footer{display:flex;justify-content:flex-end}.btn-action{border:none;border-radius:4px;color:#bfd103;padding:6px 12px;font-size:12px;background-color:transparent;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-action:hover{color:#45a049}.btn-close{background:none;border:none;font-size:20px;cursor:pointer;color:#f2f2de;padding:0;width:30px;height:30px;border-radius:25px;transition:all .2s ease;flex-shrink:0}.btn-close:hover{color:#fff;background-color:#ffffff1a}@media (max-width: 480px){.toast{right:10px;left:10px;bottom:10px;min-width:auto;max-width:none}.toast-footer{justify-content:center}}\n"] });
4811
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: Toast, isStandalone: true, selector: "lib-toast", ngImport: i0, template: "@if (isShowToast()) {\r\n<div class=\"toast\" [class.show]=\"toastService.isVisible()\">\r\n <div class=\"toast-body\">\r\n <div class=\"toast-header\">\r\n <span class=\"toast-message\">\r\n {{\r\n toastService.currentToast()?.description\r\n }}\r\n </span>\r\n <button class=\"btn-close\" (click)=\"close()\" aria-label=\"Cerrar\">\r\n &times;\r\n </button>\r\n </div>\r\n\r\n @if (toastService.currentToast()?.buttonText &&\r\n toastService.currentToast()?.action) {\r\n <div class=\"toast-footer\">\r\n <button\r\n class=\"btn-action\"\r\n (click)=\"executeAction()\"\r\n [attr.aria-label]=\"toastService.currentToast()?.buttonText\"\r\n >\r\n {{ toastService.currentToast()?.buttonText }}\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n}", styles: [".toast{position:fixed;bottom:20px;right:20px;min-width:320px;max-width:350px;border-radius:8px;box-shadow:0 4px 20px #0000004d;opacity:0;transform:translateY(100%);transition:all .3s ease;z-index:999999999;padding:16px;background-color:#303026;color:#f2f2de;font-size:14px;line-height:1.5}.toast.show{opacity:1;transform:translateY(0)}.toast-body{display:flex;flex-direction:column;gap:12px}.toast-header{display:flex;align-items:center;gap:12px;justify-content:space-between}.toast-message{flex:1}.toast-footer{display:flex;justify-content:flex-end}.btn-action{border:none;border-radius:4px;color:#bfd103;padding:6px 12px;font-size:12px;background-color:transparent;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-action:hover{color:#45a049}.btn-close{background:none;border:none;font-size:20px;cursor:pointer;color:#f2f2de;padding:0;width:30px;height:30px;border-radius:25px;transition:all .2s ease;flex-shrink:0}.btn-close:hover{color:#fff;background-color:#ffffff1a}@media (max-width: 480px){.toast{right:10px;left:10px;bottom:10px;min-width:auto;max-width:none}.toast-footer{justify-content:center}}\n"] });
4812
4812
  }
4813
4813
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: Toast, decorators: [{
4814
4814
  type: Component,
4815
- args: [{ selector: 'lib-toast', template: "@if (isShowToast()) {\r\n<div class=\"toast\" [class.show]=\"toastService.isVisible()\">\r\n <div class=\"toast-body\">\r\n <div class=\"toast-header\">\r\n <span class=\"toast-message\">\r\n {{\r\n toastService.currentToast()?.description\r\n }}\r\n </span>\r\n <button class=\"btn-close\" (click)=\"close()\" aria-label=\"Cerrar\">\r\n &times;\r\n </button>\r\n </div>\r\n\r\n @if (toastService.currentToast()?.buttonText &&\r\n toastService.currentToast()?.action) {\r\n <div class=\"toast-footer\">\r\n <button\r\n class=\"btn-action\"\r\n (click)=\"executeAction()\"\r\n [attr.aria-label]=\"toastService.currentToast()?.buttonText\"\r\n >\r\n {{ toastService.currentToast()?.buttonText }}\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n}", styles: [".toast{position:fixed;bottom:20px;right:20px;min-width:320px;max-width:350px;border-radius:8px;box-shadow:0 4px 20px #0000004d;opacity:0;transform:translateY(100%);transition:all .3s ease;z-index:9999;padding:16px;background-color:#303026;color:#f2f2de;font-size:14px;line-height:1.5}.toast.show{opacity:1;transform:translateY(0)}.toast-body{display:flex;flex-direction:column;gap:12px}.toast-header{display:flex;align-items:center;gap:12px;justify-content:space-between}.toast-message{flex:1}.toast-footer{display:flex;justify-content:flex-end}.btn-action{border:none;border-radius:4px;color:#bfd103;padding:6px 12px;font-size:12px;background-color:transparent;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-action:hover{color:#45a049}.btn-close{background:none;border:none;font-size:20px;cursor:pointer;color:#f2f2de;padding:0;width:30px;height:30px;border-radius:25px;transition:all .2s ease;flex-shrink:0}.btn-close:hover{color:#fff;background-color:#ffffff1a}@media (max-width: 480px){.toast{right:10px;left:10px;bottom:10px;min-width:auto;max-width:none}.toast-footer{justify-content:center}}\n"] }]
4815
+ args: [{ selector: 'lib-toast', template: "@if (isShowToast()) {\r\n<div class=\"toast\" [class.show]=\"toastService.isVisible()\">\r\n <div class=\"toast-body\">\r\n <div class=\"toast-header\">\r\n <span class=\"toast-message\">\r\n {{\r\n toastService.currentToast()?.description\r\n }}\r\n </span>\r\n <button class=\"btn-close\" (click)=\"close()\" aria-label=\"Cerrar\">\r\n &times;\r\n </button>\r\n </div>\r\n\r\n @if (toastService.currentToast()?.buttonText &&\r\n toastService.currentToast()?.action) {\r\n <div class=\"toast-footer\">\r\n <button\r\n class=\"btn-action\"\r\n (click)=\"executeAction()\"\r\n [attr.aria-label]=\"toastService.currentToast()?.buttonText\"\r\n >\r\n {{ toastService.currentToast()?.buttonText }}\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n}", styles: [".toast{position:fixed;bottom:20px;right:20px;min-width:320px;max-width:350px;border-radius:8px;box-shadow:0 4px 20px #0000004d;opacity:0;transform:translateY(100%);transition:all .3s ease;z-index:999999999;padding:16px;background-color:#303026;color:#f2f2de;font-size:14px;line-height:1.5}.toast.show{opacity:1;transform:translateY(0)}.toast-body{display:flex;flex-direction:column;gap:12px}.toast-header{display:flex;align-items:center;gap:12px;justify-content:space-between}.toast-message{flex:1}.toast-footer{display:flex;justify-content:flex-end}.btn-action{border:none;border-radius:4px;color:#bfd103;padding:6px 12px;font-size:12px;background-color:transparent;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-action:hover{color:#45a049}.btn-close{background:none;border:none;font-size:20px;cursor:pointer;color:#f2f2de;padding:0;width:30px;height:30px;border-radius:25px;transition:all .2s ease;flex-shrink:0}.btn-close:hover{color:#fff;background-color:#ffffff1a}@media (max-width: 480px){.toast{right:10px;left:10px;bottom:10px;min-width:auto;max-width:none}.toast-footer{justify-content:center}}\n"] }]
4816
4816
  }] });
4817
4817
 
4818
4818
  class OptionCard {