@litigiovirtual/ius-design-components 1.0.292 → 1.0.294

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.
@@ -3,7 +3,7 @@ import { Input, Component, EventEmitter, Output, HostListener, ViewChild, HostBi
3
3
  import * as i1$1 from '@angular/common';
4
4
  import { CommonModule, DatePipe, NgClass, registerLocaleData } from '@angular/common';
5
5
  import * as i1 from '@angular/platform-browser';
6
- import { trigger, state, transition, style, animate } from '@angular/animations';
6
+ import { trigger, state, transition, style, animate, query, stagger, animateChild } from '@angular/animations';
7
7
  import * as i1$2 from '@angular/cdk/overlay';
8
8
  import { OverlayModule, CdkConnectedOverlay, Overlay } from '@angular/cdk/overlay';
9
9
  import * as i1$3 from '@angular/forms';
@@ -3516,16 +3516,16 @@ class DropdownOptionItemComponent {
3516
3516
  this.router = router;
3517
3517
  this.iconName = '';
3518
3518
  this.route = '';
3519
- this.click = new EventEmitter();
3519
+ this.optionClick = new EventEmitter();
3520
3520
  }
3521
3521
  onClick() {
3522
- this.click.emit();
3522
+ this.optionClick.emit();
3523
3523
  if (this.route) {
3524
3524
  this.router.navigateByUrl(this.route);
3525
3525
  }
3526
3526
  }
3527
3527
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DropdownOptionItemComponent, deps: [{ token: i1$4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
3528
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: DropdownOptionItemComponent, isStandalone: true, selector: "ius-dropdown-option-item", inputs: { iconName: "iconName", route: "route" }, outputs: { click: "click" }, ngImport: i0, template: "<button class=\"dropdown-option\" (click)=\"onClick()\">\r\n @if (iconName) {\r\n <ius-icon-md [iconName]=\"iconName\" class=\"icon-color\"></ius-icon-md>\r\n } \r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.dropdown-option{display:flex;width:100%;padding:8px 20px 8px 12px;align-items:center;gap:8px;border-radius:8px;background-color:#fff;color:#333;font-family:Rubik,sans-serif;font-size:1rem;line-height:22px;font-weight:400;font-style:normal;border:none;cursor:pointer}.dropdown-option:hover:not(:disabled){background-color:#f0f0f0}.dropdown-option:active:not(:disabled){background-color:#c4dfff}.dropdown-option.isDisabled{cursor:not-allowed;color:#bfbfbf}.dropdown-option.isDisabled .icon-doc-color{color:#bfbfbf}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }] }); }
3528
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: DropdownOptionItemComponent, isStandalone: true, selector: "ius-dropdown-option-item", inputs: { iconName: "iconName", route: "route" }, outputs: { optionClick: "optionClick" }, ngImport: i0, template: "<button class=\"dropdown-option\" (click)=\"onClick()\">\r\n @if (iconName) {\r\n <ius-icon-md [iconName]=\"iconName\" class=\"icon-color\"></ius-icon-md>\r\n } \r\n <ng-content></ng-content>\r\n</button>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.dropdown-option{display:flex;width:100%;padding:8px 20px 8px 12px;align-items:center;gap:8px;border-radius:8px;background-color:#fff;color:#333;font-family:Rubik,sans-serif;font-size:1rem;line-height:22px;font-weight:400;font-style:normal;border:none;cursor:pointer}.dropdown-option:hover:not(:disabled){background-color:#f0f0f0}.dropdown-option:active:not(:disabled){background-color:#c4dfff}.dropdown-option.isDisabled{cursor:not-allowed;color:#bfbfbf}.dropdown-option.isDisabled .icon-doc-color{color:#bfbfbf}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }] }); }
3529
3529
  }
3530
3530
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DropdownOptionItemComponent, decorators: [{
3531
3531
  type: Component,
@@ -3534,7 +3534,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
3534
3534
  type: Input
3535
3535
  }], route: [{
3536
3536
  type: Input
3537
- }], click: [{
3537
+ }], optionClick: [{
3538
3538
  type: Output
3539
3539
  }] } });
3540
3540
 
@@ -4439,11 +4439,11 @@ class ToolbarUserMenuComponent {
4439
4439
  return !!(this.detallesConsumo && this.detallesConsumo.length > 0);
4440
4440
  }
4441
4441
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToolbarUserMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4442
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ToolbarUserMenuComponent, isStandalone: true, selector: "ius-toolbar-user-menu", inputs: { object: "object", subscripcionDetalle: "subscripcionDetalle", detallesConsumo: "detallesConsumo", accountList: "accountList", showUsuariosGrupos: "showUsuariosGrupos", showConfiguracionCuenta: "showConfiguracionCuenta", showPagosFacturacion: "showPagosFacturacion", showSubscripcionesServicios: "showSubscripcionesServicios", showReferir: "showReferir" }, outputs: { clickPerfilPreferencias: "clickPerfilPreferencias", clickUsuariosRoles: "clickUsuariosRoles", clickConfiguracion: "clickConfiguracion", clickPagos: "clickPagos", clickSubsServicios: "clickSubsServicios", clickCambiarCuenta: "clickCambiarCuenta", clickCerrarSesion: "clickCerrarSesion", clickReferir: "clickReferir", requestClose: "requestClose", clickAccountSelected: "clickAccountSelected", clickAccountPredeterminada: "clickAccountPredeterminada", clickEditAccount: "clickEditAccount", clickDesvincularAccount: "clickDesvincularAccount", clickAgregarAccount: "clickAgregarAccount" }, ngImport: i0, template: "<div class=\"tbl-menu\">\r\n <div class=\"body-menu scrollable\">\r\n <div class=\"colum-mn-1 text-head-mn\">\r\n <span>Est\u00E1s navegando en</span>\r\n <div class=\"tx-row-1\">\r\n <ius-icon-sm iconName=\"icon-account-circle\" class=\"icon-acc-circle\"></ius-icon-sm>\r\n <span class=\"h4 tx-abog\">{{ object.nombreCompany }}</span>\r\n </div>\r\n <div class=\"tx-row-1 id-ct\">\r\n <span>ID Cuenta</span>\r\n <span class=\"tx-id-ct\">{{ object.cuentaID }}</span>\r\n </div>\r\n <div class=\"tx-row-1 tx-rol\">\r\n <span>Tu rol</span>\r\n <span class=\"tx-name-rl\">{{ object.rol }}</span>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n </div>\r\n @if (!showFormSwitchAccount) {\r\n <div class=\"colum-mn-1\">\r\n <div class=\"email-inf\">\r\n <ius-icon-xs iconName=\"icon-alternate-email\" class=\"icon-alt-email\"></ius-icon-xs>\r\n <span>{{ object.correo }}</span>\r\n </div>\r\n <ius-dropdown-option-item (click)=\"onClickPerfilPreferencias()\">Perfil, preferencias y\r\n seguridad</ius-dropdown-option-item>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"container-plan\" [ngClass]=\"{ 'show-more': showMore }\">\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n subscripcionDetalle?.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">{{\r\n subscripcionDetalle?.namePlan\r\n }}</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Total global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantTotal\r\n }}</span>\r\n </div>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Disponible global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantDisponible\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n subscripcionDetalle?.estado\r\n }}</span>\r\n @if (subscripcionDetalle?.esPlanGratuito) {\r\n <div class=\"tx-row-1 tx-small tx-prueba\">\r\n <ius-icon-xs iconName=\"icon-schedule\"></ius-icon-xs>\r\n <span>Plan de prueba activo</span>\r\n </div>\r\n }\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n <div style=\"width: 100%\">\r\n <ius-progress-bar [total]=\"subscripcionDetalle?.cantTotal ?? 0\" [titleV1]=\"'Judicial'\"\r\n [v1]=\"subscripcionDetalle?.cantJudicial ?? 0\" [titleV2]=\"'SuperSociedades'\"\r\n [v2]=\"subscripcionDetalle?.cantProcesos2 ?? 0\" [titleV3]=\"'Procuraduria'\"\r\n [v3]=\"subscripcionDetalle?.cantProcesos3 ?? 0\">\r\n </ius-progress-bar>\r\n </div>\r\n <div class=\"legend\">\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-set\" class=\"icon-storage-set\"></ius-icon-xs>\r\n <span>{{ subscripcionDetalle?.asignados ?? 0 }}</span>\r\n </div>\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-plus\" class=\"icon-storage-plus\"></ius-icon-xs>\r\n <span>{{\r\n subscripcionDetalle?.cantAsignadaDisponible ?? 0\r\n }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n @if (detallesConsumo) {\r\n @for (detail of detallesConsumo; track $index) {\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n detail.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">Por consumo</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Consumo este mes</span>\r\n <span class=\"tx-contador-2\">{{\r\n detail.cantConsumida\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n detail.estado\r\n }}</span>\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n }\r\n }\r\n </div>\r\n @if(hasMultipleServices) {\r\n <ius-button-standard-tertiary class=\"btn-list\" [iconName]=\"\r\n showMore ? 'icon-keyboard-arrow-up' : 'icon-keyboard-arrow-down'\r\n \" (buttonClicked)=\"clickShowMore()\">\r\n {{ showMore ? \"Mostrar menos\" : \"Mostrar m\u00E1s\" }}\r\n </ius-button-standard-tertiary>\r\n }\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"ctn-items\">\r\n @if (showUsuariosGrupos) {\r\n <ius-menu-item iconName=\"icon-groups\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickUsuariosRoles()\">Usuarios y roles</ius-menu-item>\r\n }\r\n @if (showConfiguracionCuenta) {\r\n <ius-menu-item iconName=\"icon-build\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickConfiguracion()\">Configuraci\u00F3n de la\r\n cuenta</ius-menu-item>\r\n }\r\n @if (showPagosFacturacion) {\r\n <ius-menu-item iconName=\"icon-finance-chip\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickPagos()\">Pagos y facturaci\u00F3n</ius-menu-item>\r\n }\r\n @if (showSubscripcionesServicios) {\r\n <ius-menu-item iconName=\"icon-enterprise\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickSubsServicios()\">Suscripciones y\r\n servicios</ius-menu-item>\r\n }\r\n @if (showReferir) {\r\n <ius-menu-item iconName=\"icon-stream\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickReferir()\">Referir servicio</ius-menu-item>\r\n }\r\n </div>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n } @else {\r\n <div class=\"container-bottom\">\r\n <span class=\"tx-cambiar\">Cambiar a</span>\r\n <div class=\"container-list\">\r\n @for (account of accountList; track account; let i = $index) {\r\n <ius-button-accounts (accountSelected)=\"onClickAccount(account)\" (onPressedPredeterminado)=\"\r\n clickAccountPredeterminada.emit(account)\r\n \"\r\n ,\r\n (onPressedEditar)=\"clickEditAccount.emit(account)\"\r\n ,\r\n (onPressedDesvincular)=\"clickDesvincularAccount.emit(account)\"\r\n [account]=\"account\"\r\n [showOptionsFlag]=\"false\"\r\n ></ius-button-accounts>\r\n }\r\n </div>\r\n <ius-button-standard-tertiary [iconName]=\"'icon-add'\" (buttonClicked)=\"addAccount()\">Agregar\r\n nueva cuenta</ius-button-standard-tertiary>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"ctn-items mgt-8\">\r\n <ius-menu-item iconName=\"{{\r\n !showFormSwitchAccount ? 'icon-cases' : 'icon-arrow-left-alt'\r\n }}\" (buttonClicked)=\"onClickCambiarCuenta()\">{{\r\n !showFormSwitchAccount\r\n ? \"Cambiar de cuenta\"\r\n : \"Volver al menu de usuario\"\r\n }}</ius-menu-item>\r\n <ius-menu-item iconName=\"icon-exit-to-app\" (buttonClicked)=\"onClickCerrarSesion()\">Cerrar sesi\u00F3n</ius-menu-item>\r\n </div>\r\n</div>", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tbl-menu{display:flex;width:390px;height:85vh;padding:16px;flex-direction:column}.body-menu{display:flex;flex:1 0 0;flex-direction:column;padding-right:6px;gap:8px;font-family:Rubik,sans-serif;overflow-y:auto;min-height:0}.colum-mn-1{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.text-head-mn{color:#8c8c8c;font-size:.75rem;line-height:16px;letter-spacing:.24px}.icon-acc-circle{color:#595959}.tx-row-1{display:flex;align-items:center;gap:4px}.tx-abog{color:#333;letter-spacing:.2px}.id-ct{padding:4px;border-radius:4px;border:1px solid #d9d9d9}.tx-id-ct{font-weight:500}.tx-rol{font-size:.875rem;color:#595959;line-height:20px}.tx-name-rl{color:#333;letter-spacing:.28px;font-weight:500}.email-inf{display:flex;padding:8px;align-items:center;gap:4px;color:#595959;font-size:.875rem;line-height:20px;letter-spacing:.28px}.icon-alt-email{color:#7caf25}ius-dropdown-option-item{width:100%}.container-plan{overflow:hidden;max-height:200px;transition:max-height .5s cubic-bezier(.4,0,.2,1);flex-shrink:0}.inf-plan{display:flex;padding:8px;flex-direction:column;align-items:flex-start;gap:8px}.show-more{max-height:10000px;transition:max-height .5s cubic-bezier(.4,0,.2,1)}.tx-small{font-size:.75rem;line-height:16px;letter-spacing:.24px}.tx-base{font-size:.875rem;line-height:20px;letter-spacing:.28px}.row-plan-1{display:flex;gap:12px;width:100%}.col-plan-1{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.icon-help{color:#8c8c8c}.tx-tipo-plan{color:#595959;font-weight:500}.tx-name-plan{color:#333;font-weight:500}.tx-row-2{display:flex;align-items:center;gap:8px}.tx-contador-1{color:#8c8c8c;font-weight:500}.tx-contador-2{color:#333}.tx-estado-plan{color:#7caf25}.tx-cambiar{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.mgt-8{margin-top:8px}.progress-container{width:100%;border-radius:100px;height:23px;overflow:hidden;background:#f0f0f0}.progress-bar{display:flex;height:100%}.segment{height:100%}.tipo-1-color-bar{background:#5892ff}.tipo-1-color{color:#5892ff}.tipo-2-color-bar{background:#103ab7}.tipo-2-color{color:#103ab7}.legend{display:flex;width:100%;align-items:center;gap:8px;flex-wrap:wrap}.legend .icon-storage-set{color:#103ab7}.legend .icon-storage-plus{color:#629219}.item-counter{display:flex;align-items:center;gap:4px;color:#333}.tx-name-serv{color:#595959;font-weight:500}.btn-list{margin-bottom:8px}.ctn-items{display:flex;flex-direction:column;gap:4px}.scrollable{overflow-y:auto;overflow-x:hidden}.scrollable::-webkit-scrollbar{-webkit-appearance:none}.scrollable::-webkit-scrollbar:vertical{width:7px}.scrollable::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}.container-bottom{display:flex;flex-direction:column;gap:8px}.container-list{display:flex;flex-direction:column;gap:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconSmComponent, selector: "ius-icon-sm", inputs: ["iconName", "color"] }, { kind: "component", type: IconXsComponent, selector: "ius-icon-xs", inputs: ["iconName", "color"] }, { kind: "component", type: DropdownOptionItemComponent, selector: "ius-dropdown-option-item", inputs: ["iconName", "route"], outputs: ["click"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }, { kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonCircleTertiaryComponent, selector: "ius-button-circle-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "component", type: ButtonStandardTertiaryComponent, selector: "ius-button-standard-tertiary", inputs: ["disabled", "iconName", "prefixIcon", "sufixIcon"], outputs: ["buttonClicked"] }, { kind: "component", type: MenuItemComponent, selector: "ius-menu-item", inputs: ["isActive", "iconName", "numberAlerts", "iconColorActive", "iconColorDefault", "iconColorHovered"], outputs: ["buttonClicked"] }, { kind: "component", type: ProgressBarComponent, selector: "ius-progress-bar", inputs: ["total", "v1", "v2", "v3", "titleV1", "titleV2", "titleV3", "titleV4"] }, { kind: "component", type: ButtonAccountsComponent, selector: "ius-button-accounts", inputs: ["account", "showOptionsFlag"], outputs: ["accountSelected", "onPressedPredeterminado", "onPressedDesvincular", "onPressedEditar", "optionsOpened"] }] }); }
4442
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ToolbarUserMenuComponent, isStandalone: true, selector: "ius-toolbar-user-menu", inputs: { object: "object", subscripcionDetalle: "subscripcionDetalle", detallesConsumo: "detallesConsumo", accountList: "accountList", showUsuariosGrupos: "showUsuariosGrupos", showConfiguracionCuenta: "showConfiguracionCuenta", showPagosFacturacion: "showPagosFacturacion", showSubscripcionesServicios: "showSubscripcionesServicios", showReferir: "showReferir" }, outputs: { clickPerfilPreferencias: "clickPerfilPreferencias", clickUsuariosRoles: "clickUsuariosRoles", clickConfiguracion: "clickConfiguracion", clickPagos: "clickPagos", clickSubsServicios: "clickSubsServicios", clickCambiarCuenta: "clickCambiarCuenta", clickCerrarSesion: "clickCerrarSesion", clickReferir: "clickReferir", requestClose: "requestClose", clickAccountSelected: "clickAccountSelected", clickAccountPredeterminada: "clickAccountPredeterminada", clickEditAccount: "clickEditAccount", clickDesvincularAccount: "clickDesvincularAccount", clickAgregarAccount: "clickAgregarAccount" }, ngImport: i0, template: "<div class=\"tbl-menu\">\r\n <div class=\"body-menu scrollable\">\r\n <div class=\"colum-mn-1 text-head-mn\">\r\n <span>Est\u00E1s navegando en</span>\r\n <div class=\"tx-row-1\">\r\n <ius-icon-sm iconName=\"icon-account-circle\" class=\"icon-acc-circle\"></ius-icon-sm>\r\n <span class=\"h4 tx-abog\">{{ object.nombreCompany }}</span>\r\n </div>\r\n <div class=\"tx-row-1 id-ct\">\r\n <span>ID Cuenta</span>\r\n <span class=\"tx-id-ct\">{{ object.cuentaID }}</span>\r\n </div>\r\n <div class=\"tx-row-1 tx-rol\">\r\n <span>Tu rol</span>\r\n <span class=\"tx-name-rl\">{{ object.rol }}</span>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n </div>\r\n @if (!showFormSwitchAccount) {\r\n <div class=\"colum-mn-1\">\r\n <div class=\"email-inf\">\r\n <ius-icon-xs iconName=\"icon-alternate-email\" class=\"icon-alt-email\"></ius-icon-xs>\r\n <span>{{ object.correo }}</span>\r\n </div>\r\n <ius-dropdown-option-item (optionClick)=\"onClickPerfilPreferencias()\">Perfil, preferencias y\r\n seguridad</ius-dropdown-option-item>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"container-plan\" [ngClass]=\"{ 'show-more': showMore }\">\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n subscripcionDetalle?.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">{{\r\n subscripcionDetalle?.namePlan\r\n }}</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Total global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantTotal\r\n }}</span>\r\n </div>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Disponible global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantDisponible\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n subscripcionDetalle?.estado\r\n }}</span>\r\n @if (subscripcionDetalle?.esPlanGratuito) {\r\n <div class=\"tx-row-1 tx-small tx-prueba\">\r\n <ius-icon-xs iconName=\"icon-schedule\"></ius-icon-xs>\r\n <span>Plan de prueba activo</span>\r\n </div>\r\n }\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n <div style=\"width: 100%\">\r\n <ius-progress-bar [total]=\"subscripcionDetalle?.cantTotal ?? 0\" [titleV1]=\"'Judicial'\"\r\n [v1]=\"subscripcionDetalle?.cantJudicial ?? 0\" [titleV2]=\"'SuperSociedades'\"\r\n [v2]=\"subscripcionDetalle?.cantProcesos2 ?? 0\" [titleV3]=\"'Procuraduria'\"\r\n [v3]=\"subscripcionDetalle?.cantProcesos3 ?? 0\">\r\n </ius-progress-bar>\r\n </div>\r\n <div class=\"legend\">\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-set\" class=\"icon-storage-set\"></ius-icon-xs>\r\n <span>{{ subscripcionDetalle?.asignados ?? 0 }}</span>\r\n </div>\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-plus\" class=\"icon-storage-plus\"></ius-icon-xs>\r\n <span>{{\r\n subscripcionDetalle?.cantAsignadaDisponible ?? 0\r\n }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n @if (detallesConsumo) {\r\n @for (detail of detallesConsumo; track $index) {\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n detail.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">Por consumo</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Consumo este mes</span>\r\n <span class=\"tx-contador-2\">{{\r\n detail.cantConsumida\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n detail.estado\r\n }}</span>\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n }\r\n }\r\n </div>\r\n @if(hasMultipleServices) {\r\n <ius-button-standard-tertiary class=\"btn-list\" [iconName]=\"\r\n showMore ? 'icon-keyboard-arrow-up' : 'icon-keyboard-arrow-down'\r\n \" (buttonClicked)=\"clickShowMore()\">\r\n {{ showMore ? \"Mostrar menos\" : \"Mostrar m\u00E1s\" }}\r\n </ius-button-standard-tertiary>\r\n }\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"ctn-items\">\r\n @if (showUsuariosGrupos) {\r\n <ius-menu-item iconName=\"icon-groups\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickUsuariosRoles()\">Usuarios y roles</ius-menu-item>\r\n }\r\n @if (showConfiguracionCuenta) {\r\n <ius-menu-item iconName=\"icon-build\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickConfiguracion()\">Configuraci\u00F3n de la\r\n cuenta</ius-menu-item>\r\n }\r\n @if (showPagosFacturacion) {\r\n <ius-menu-item iconName=\"icon-finance-chip\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickPagos()\">Pagos y facturaci\u00F3n</ius-menu-item>\r\n }\r\n @if (showSubscripcionesServicios) {\r\n <ius-menu-item iconName=\"icon-enterprise\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickSubsServicios()\">Suscripciones y\r\n servicios</ius-menu-item>\r\n }\r\n @if (showReferir) {\r\n <ius-menu-item iconName=\"icon-stream\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickReferir()\">Referir servicio</ius-menu-item>\r\n }\r\n </div>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n } @else {\r\n <div class=\"container-bottom\">\r\n <span class=\"tx-cambiar\">Cambiar a</span>\r\n <div class=\"container-list\">\r\n @for (account of accountList; track account; let i = $index) {\r\n <ius-button-accounts (accountSelected)=\"onClickAccount(account)\" (onPressedPredeterminado)=\"\r\n clickAccountPredeterminada.emit(account)\r\n \"\r\n ,\r\n (onPressedEditar)=\"clickEditAccount.emit(account)\"\r\n ,\r\n (onPressedDesvincular)=\"clickDesvincularAccount.emit(account)\"\r\n [account]=\"account\"\r\n [showOptionsFlag]=\"false\"\r\n ></ius-button-accounts>\r\n }\r\n </div>\r\n <ius-button-standard-tertiary [iconName]=\"'icon-add'\" (buttonClicked)=\"addAccount()\">Agregar\r\n nueva cuenta</ius-button-standard-tertiary>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"ctn-items mgt-8\">\r\n <ius-menu-item iconName=\"{{\r\n !showFormSwitchAccount ? 'icon-cases' : 'icon-arrow-left-alt'\r\n }}\" (buttonClicked)=\"onClickCambiarCuenta()\">{{\r\n !showFormSwitchAccount\r\n ? \"Cambiar de cuenta\"\r\n : \"Volver al menu de usuario\"\r\n }}</ius-menu-item>\r\n <ius-menu-item iconName=\"icon-exit-to-app\" (buttonClicked)=\"onClickCerrarSesion()\">Cerrar sesi\u00F3n</ius-menu-item>\r\n </div>\r\n</div>", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tbl-menu{display:flex;width:390px;height:85vh;padding:16px;flex-direction:column}.body-menu{display:flex;flex:1 0 0;flex-direction:column;padding-right:6px;gap:8px;font-family:Rubik,sans-serif;overflow-y:auto;min-height:0}.colum-mn-1{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.text-head-mn{color:#8c8c8c;font-size:.75rem;line-height:16px;letter-spacing:.24px}.icon-acc-circle{color:#595959}.tx-row-1{display:flex;align-items:center;gap:4px}.tx-abog{color:#333;letter-spacing:.2px}.id-ct{padding:4px;border-radius:4px;border:1px solid #d9d9d9}.tx-id-ct{font-weight:500}.tx-rol{font-size:.875rem;color:#595959;line-height:20px}.tx-name-rl{color:#333;letter-spacing:.28px;font-weight:500}.email-inf{display:flex;padding:8px;align-items:center;gap:4px;color:#595959;font-size:.875rem;line-height:20px;letter-spacing:.28px}.icon-alt-email{color:#7caf25}ius-dropdown-option-item{width:100%}.container-plan{overflow:hidden;max-height:200px;transition:max-height .5s cubic-bezier(.4,0,.2,1);flex-shrink:0}.inf-plan{display:flex;padding:8px;flex-direction:column;align-items:flex-start;gap:8px}.show-more{max-height:10000px;transition:max-height .5s cubic-bezier(.4,0,.2,1)}.tx-small{font-size:.75rem;line-height:16px;letter-spacing:.24px}.tx-base{font-size:.875rem;line-height:20px;letter-spacing:.28px}.row-plan-1{display:flex;gap:12px;width:100%}.col-plan-1{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.icon-help{color:#8c8c8c}.tx-tipo-plan{color:#595959;font-weight:500}.tx-name-plan{color:#333;font-weight:500}.tx-row-2{display:flex;align-items:center;gap:8px}.tx-contador-1{color:#8c8c8c;font-weight:500}.tx-contador-2{color:#333}.tx-estado-plan{color:#7caf25}.tx-cambiar{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.mgt-8{margin-top:8px}.progress-container{width:100%;border-radius:100px;height:23px;overflow:hidden;background:#f0f0f0}.progress-bar{display:flex;height:100%}.segment{height:100%}.tipo-1-color-bar{background:#5892ff}.tipo-1-color{color:#5892ff}.tipo-2-color-bar{background:#103ab7}.tipo-2-color{color:#103ab7}.legend{display:flex;width:100%;align-items:center;gap:8px;flex-wrap:wrap}.legend .icon-storage-set{color:#103ab7}.legend .icon-storage-plus{color:#629219}.item-counter{display:flex;align-items:center;gap:4px;color:#333}.tx-name-serv{color:#595959;font-weight:500}.btn-list{margin-bottom:8px}.ctn-items{display:flex;flex-direction:column;gap:4px}.scrollable{overflow-y:auto;overflow-x:hidden}.scrollable::-webkit-scrollbar{-webkit-appearance:none}.scrollable::-webkit-scrollbar:vertical{width:7px}.scrollable::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}.container-bottom{display:flex;flex-direction:column;gap:8px}.container-list{display:flex;flex-direction:column;gap:4px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconSmComponent, selector: "ius-icon-sm", inputs: ["iconName", "color"] }, { kind: "component", type: IconXsComponent, selector: "ius-icon-xs", inputs: ["iconName", "color"] }, { kind: "component", type: DropdownOptionItemComponent, selector: "ius-dropdown-option-item", inputs: ["iconName", "route"], outputs: ["optionClick"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }, { kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonCircleTertiaryComponent, selector: "ius-button-circle-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "component", type: ButtonStandardTertiaryComponent, selector: "ius-button-standard-tertiary", inputs: ["disabled", "iconName", "prefixIcon", "sufixIcon"], outputs: ["buttonClicked"] }, { kind: "component", type: MenuItemComponent, selector: "ius-menu-item", inputs: ["isActive", "iconName", "numberAlerts", "iconColorActive", "iconColorDefault", "iconColorHovered"], outputs: ["buttonClicked"] }, { kind: "component", type: ProgressBarComponent, selector: "ius-progress-bar", inputs: ["total", "v1", "v2", "v3", "titleV1", "titleV2", "titleV3", "titleV4"] }, { kind: "component", type: ButtonAccountsComponent, selector: "ius-button-accounts", inputs: ["account", "showOptionsFlag"], outputs: ["accountSelected", "onPressedPredeterminado", "onPressedDesvincular", "onPressedEditar", "optionsOpened"] }] }); }
4443
4443
  }
4444
4444
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToolbarUserMenuComponent, decorators: [{
4445
4445
  type: Component,
4446
- args: [{ selector: 'ius-toolbar-user-menu', standalone: true, imports: [CommonModule, IconSmComponent, IconXsComponent, DropdownOptionItemComponent, SimpleDividerComponent, IconMdComponent, ButtonCircleTertiaryComponent, ButtonStandardTertiaryComponent, MenuItemComponent, ProgressBarComponent, ButtonAccountsComponent], template: "<div class=\"tbl-menu\">\r\n <div class=\"body-menu scrollable\">\r\n <div class=\"colum-mn-1 text-head-mn\">\r\n <span>Est\u00E1s navegando en</span>\r\n <div class=\"tx-row-1\">\r\n <ius-icon-sm iconName=\"icon-account-circle\" class=\"icon-acc-circle\"></ius-icon-sm>\r\n <span class=\"h4 tx-abog\">{{ object.nombreCompany }}</span>\r\n </div>\r\n <div class=\"tx-row-1 id-ct\">\r\n <span>ID Cuenta</span>\r\n <span class=\"tx-id-ct\">{{ object.cuentaID }}</span>\r\n </div>\r\n <div class=\"tx-row-1 tx-rol\">\r\n <span>Tu rol</span>\r\n <span class=\"tx-name-rl\">{{ object.rol }}</span>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n </div>\r\n @if (!showFormSwitchAccount) {\r\n <div class=\"colum-mn-1\">\r\n <div class=\"email-inf\">\r\n <ius-icon-xs iconName=\"icon-alternate-email\" class=\"icon-alt-email\"></ius-icon-xs>\r\n <span>{{ object.correo }}</span>\r\n </div>\r\n <ius-dropdown-option-item (click)=\"onClickPerfilPreferencias()\">Perfil, preferencias y\r\n seguridad</ius-dropdown-option-item>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"container-plan\" [ngClass]=\"{ 'show-more': showMore }\">\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n subscripcionDetalle?.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">{{\r\n subscripcionDetalle?.namePlan\r\n }}</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Total global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantTotal\r\n }}</span>\r\n </div>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Disponible global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantDisponible\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n subscripcionDetalle?.estado\r\n }}</span>\r\n @if (subscripcionDetalle?.esPlanGratuito) {\r\n <div class=\"tx-row-1 tx-small tx-prueba\">\r\n <ius-icon-xs iconName=\"icon-schedule\"></ius-icon-xs>\r\n <span>Plan de prueba activo</span>\r\n </div>\r\n }\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n <div style=\"width: 100%\">\r\n <ius-progress-bar [total]=\"subscripcionDetalle?.cantTotal ?? 0\" [titleV1]=\"'Judicial'\"\r\n [v1]=\"subscripcionDetalle?.cantJudicial ?? 0\" [titleV2]=\"'SuperSociedades'\"\r\n [v2]=\"subscripcionDetalle?.cantProcesos2 ?? 0\" [titleV3]=\"'Procuraduria'\"\r\n [v3]=\"subscripcionDetalle?.cantProcesos3 ?? 0\">\r\n </ius-progress-bar>\r\n </div>\r\n <div class=\"legend\">\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-set\" class=\"icon-storage-set\"></ius-icon-xs>\r\n <span>{{ subscripcionDetalle?.asignados ?? 0 }}</span>\r\n </div>\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-plus\" class=\"icon-storage-plus\"></ius-icon-xs>\r\n <span>{{\r\n subscripcionDetalle?.cantAsignadaDisponible ?? 0\r\n }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n @if (detallesConsumo) {\r\n @for (detail of detallesConsumo; track $index) {\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n detail.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">Por consumo</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Consumo este mes</span>\r\n <span class=\"tx-contador-2\">{{\r\n detail.cantConsumida\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n detail.estado\r\n }}</span>\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n }\r\n }\r\n </div>\r\n @if(hasMultipleServices) {\r\n <ius-button-standard-tertiary class=\"btn-list\" [iconName]=\"\r\n showMore ? 'icon-keyboard-arrow-up' : 'icon-keyboard-arrow-down'\r\n \" (buttonClicked)=\"clickShowMore()\">\r\n {{ showMore ? \"Mostrar menos\" : \"Mostrar m\u00E1s\" }}\r\n </ius-button-standard-tertiary>\r\n }\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"ctn-items\">\r\n @if (showUsuariosGrupos) {\r\n <ius-menu-item iconName=\"icon-groups\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickUsuariosRoles()\">Usuarios y roles</ius-menu-item>\r\n }\r\n @if (showConfiguracionCuenta) {\r\n <ius-menu-item iconName=\"icon-build\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickConfiguracion()\">Configuraci\u00F3n de la\r\n cuenta</ius-menu-item>\r\n }\r\n @if (showPagosFacturacion) {\r\n <ius-menu-item iconName=\"icon-finance-chip\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickPagos()\">Pagos y facturaci\u00F3n</ius-menu-item>\r\n }\r\n @if (showSubscripcionesServicios) {\r\n <ius-menu-item iconName=\"icon-enterprise\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickSubsServicios()\">Suscripciones y\r\n servicios</ius-menu-item>\r\n }\r\n @if (showReferir) {\r\n <ius-menu-item iconName=\"icon-stream\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickReferir()\">Referir servicio</ius-menu-item>\r\n }\r\n </div>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n } @else {\r\n <div class=\"container-bottom\">\r\n <span class=\"tx-cambiar\">Cambiar a</span>\r\n <div class=\"container-list\">\r\n @for (account of accountList; track account; let i = $index) {\r\n <ius-button-accounts (accountSelected)=\"onClickAccount(account)\" (onPressedPredeterminado)=\"\r\n clickAccountPredeterminada.emit(account)\r\n \"\r\n ,\r\n (onPressedEditar)=\"clickEditAccount.emit(account)\"\r\n ,\r\n (onPressedDesvincular)=\"clickDesvincularAccount.emit(account)\"\r\n [account]=\"account\"\r\n [showOptionsFlag]=\"false\"\r\n ></ius-button-accounts>\r\n }\r\n </div>\r\n <ius-button-standard-tertiary [iconName]=\"'icon-add'\" (buttonClicked)=\"addAccount()\">Agregar\r\n nueva cuenta</ius-button-standard-tertiary>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"ctn-items mgt-8\">\r\n <ius-menu-item iconName=\"{{\r\n !showFormSwitchAccount ? 'icon-cases' : 'icon-arrow-left-alt'\r\n }}\" (buttonClicked)=\"onClickCambiarCuenta()\">{{\r\n !showFormSwitchAccount\r\n ? \"Cambiar de cuenta\"\r\n : \"Volver al menu de usuario\"\r\n }}</ius-menu-item>\r\n <ius-menu-item iconName=\"icon-exit-to-app\" (buttonClicked)=\"onClickCerrarSesion()\">Cerrar sesi\u00F3n</ius-menu-item>\r\n </div>\r\n</div>", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tbl-menu{display:flex;width:390px;height:85vh;padding:16px;flex-direction:column}.body-menu{display:flex;flex:1 0 0;flex-direction:column;padding-right:6px;gap:8px;font-family:Rubik,sans-serif;overflow-y:auto;min-height:0}.colum-mn-1{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.text-head-mn{color:#8c8c8c;font-size:.75rem;line-height:16px;letter-spacing:.24px}.icon-acc-circle{color:#595959}.tx-row-1{display:flex;align-items:center;gap:4px}.tx-abog{color:#333;letter-spacing:.2px}.id-ct{padding:4px;border-radius:4px;border:1px solid #d9d9d9}.tx-id-ct{font-weight:500}.tx-rol{font-size:.875rem;color:#595959;line-height:20px}.tx-name-rl{color:#333;letter-spacing:.28px;font-weight:500}.email-inf{display:flex;padding:8px;align-items:center;gap:4px;color:#595959;font-size:.875rem;line-height:20px;letter-spacing:.28px}.icon-alt-email{color:#7caf25}ius-dropdown-option-item{width:100%}.container-plan{overflow:hidden;max-height:200px;transition:max-height .5s cubic-bezier(.4,0,.2,1);flex-shrink:0}.inf-plan{display:flex;padding:8px;flex-direction:column;align-items:flex-start;gap:8px}.show-more{max-height:10000px;transition:max-height .5s cubic-bezier(.4,0,.2,1)}.tx-small{font-size:.75rem;line-height:16px;letter-spacing:.24px}.tx-base{font-size:.875rem;line-height:20px;letter-spacing:.28px}.row-plan-1{display:flex;gap:12px;width:100%}.col-plan-1{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.icon-help{color:#8c8c8c}.tx-tipo-plan{color:#595959;font-weight:500}.tx-name-plan{color:#333;font-weight:500}.tx-row-2{display:flex;align-items:center;gap:8px}.tx-contador-1{color:#8c8c8c;font-weight:500}.tx-contador-2{color:#333}.tx-estado-plan{color:#7caf25}.tx-cambiar{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.mgt-8{margin-top:8px}.progress-container{width:100%;border-radius:100px;height:23px;overflow:hidden;background:#f0f0f0}.progress-bar{display:flex;height:100%}.segment{height:100%}.tipo-1-color-bar{background:#5892ff}.tipo-1-color{color:#5892ff}.tipo-2-color-bar{background:#103ab7}.tipo-2-color{color:#103ab7}.legend{display:flex;width:100%;align-items:center;gap:8px;flex-wrap:wrap}.legend .icon-storage-set{color:#103ab7}.legend .icon-storage-plus{color:#629219}.item-counter{display:flex;align-items:center;gap:4px;color:#333}.tx-name-serv{color:#595959;font-weight:500}.btn-list{margin-bottom:8px}.ctn-items{display:flex;flex-direction:column;gap:4px}.scrollable{overflow-y:auto;overflow-x:hidden}.scrollable::-webkit-scrollbar{-webkit-appearance:none}.scrollable::-webkit-scrollbar:vertical{width:7px}.scrollable::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}.container-bottom{display:flex;flex-direction:column;gap:8px}.container-list{display:flex;flex-direction:column;gap:4px}\n"] }]
4446
+ args: [{ selector: 'ius-toolbar-user-menu', standalone: true, imports: [CommonModule, IconSmComponent, IconXsComponent, DropdownOptionItemComponent, SimpleDividerComponent, IconMdComponent, ButtonCircleTertiaryComponent, ButtonStandardTertiaryComponent, MenuItemComponent, ProgressBarComponent, ButtonAccountsComponent], template: "<div class=\"tbl-menu\">\r\n <div class=\"body-menu scrollable\">\r\n <div class=\"colum-mn-1 text-head-mn\">\r\n <span>Est\u00E1s navegando en</span>\r\n <div class=\"tx-row-1\">\r\n <ius-icon-sm iconName=\"icon-account-circle\" class=\"icon-acc-circle\"></ius-icon-sm>\r\n <span class=\"h4 tx-abog\">{{ object.nombreCompany }}</span>\r\n </div>\r\n <div class=\"tx-row-1 id-ct\">\r\n <span>ID Cuenta</span>\r\n <span class=\"tx-id-ct\">{{ object.cuentaID }}</span>\r\n </div>\r\n <div class=\"tx-row-1 tx-rol\">\r\n <span>Tu rol</span>\r\n <span class=\"tx-name-rl\">{{ object.rol }}</span>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n </div>\r\n @if (!showFormSwitchAccount) {\r\n <div class=\"colum-mn-1\">\r\n <div class=\"email-inf\">\r\n <ius-icon-xs iconName=\"icon-alternate-email\" class=\"icon-alt-email\"></ius-icon-xs>\r\n <span>{{ object.correo }}</span>\r\n </div>\r\n <ius-dropdown-option-item (optionClick)=\"onClickPerfilPreferencias()\">Perfil, preferencias y\r\n seguridad</ius-dropdown-option-item>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"container-plan\" [ngClass]=\"{ 'show-more': showMore }\">\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n subscripcionDetalle?.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">{{\r\n subscripcionDetalle?.namePlan\r\n }}</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Total global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantTotal\r\n }}</span>\r\n </div>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Disponible global</span>\r\n <span class=\"tx-contador-2\">{{\r\n subscripcionDetalle?.cantDisponible\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n subscripcionDetalle?.estado\r\n }}</span>\r\n @if (subscripcionDetalle?.esPlanGratuito) {\r\n <div class=\"tx-row-1 tx-small tx-prueba\">\r\n <ius-icon-xs iconName=\"icon-schedule\"></ius-icon-xs>\r\n <span>Plan de prueba activo</span>\r\n </div>\r\n }\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n <div style=\"width: 100%\">\r\n <ius-progress-bar [total]=\"subscripcionDetalle?.cantTotal ?? 0\" [titleV1]=\"'Judicial'\"\r\n [v1]=\"subscripcionDetalle?.cantJudicial ?? 0\" [titleV2]=\"'SuperSociedades'\"\r\n [v2]=\"subscripcionDetalle?.cantProcesos2 ?? 0\" [titleV3]=\"'Procuraduria'\"\r\n [v3]=\"subscripcionDetalle?.cantProcesos3 ?? 0\">\r\n </ius-progress-bar>\r\n </div>\r\n <div class=\"legend\">\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-set\" class=\"icon-storage-set\"></ius-icon-xs>\r\n <span>{{ subscripcionDetalle?.asignados ?? 0 }}</span>\r\n </div>\r\n <div class=\"item-counter tx-small\">\r\n <ius-icon-xs iconName=\"icon-storage-plus\" class=\"icon-storage-plus\"></ius-icon-xs>\r\n <span>{{\r\n subscripcionDetalle?.cantAsignadaDisponible ?? 0\r\n }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n @if (detallesConsumo) {\r\n @for (detail of detallesConsumo; track $index) {\r\n <div class=\"inf-plan\">\r\n <div class=\"row-plan-1\">\r\n <div class=\"col-plan-1\">\r\n <span class=\"tx-small tx-tipo-plan\">{{\r\n detail.tipoServicio\r\n }}</span>\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-base tx-name-plan\">Por consumo</span>\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-help\"></ius-icon-md>\r\n </div>\r\n <div class=\"tx-row-2 tx-small\">\r\n <div class=\"tx-row-1\">\r\n <span class=\"tx-contador-1\">Consumo este mes</span>\r\n <span class=\"tx-contador-2\">{{\r\n detail.cantConsumida\r\n }}</span>\r\n </div>\r\n </div>\r\n <span class=\"tx-base tx-estado-plan\">{{\r\n detail.estado\r\n }}</span>\r\n </div>\r\n <ius-button-circle-tertiary iconName=\"icon-discover-tune\"></ius-button-circle-tertiary>\r\n </div>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n }\r\n }\r\n </div>\r\n @if(hasMultipleServices) {\r\n <ius-button-standard-tertiary class=\"btn-list\" [iconName]=\"\r\n showMore ? 'icon-keyboard-arrow-up' : 'icon-keyboard-arrow-down'\r\n \" (buttonClicked)=\"clickShowMore()\">\r\n {{ showMore ? \"Mostrar menos\" : \"Mostrar m\u00E1s\" }}\r\n </ius-button-standard-tertiary>\r\n }\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"ctn-items\">\r\n @if (showUsuariosGrupos) {\r\n <ius-menu-item iconName=\"icon-groups\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickUsuariosRoles()\">Usuarios y roles</ius-menu-item>\r\n }\r\n @if (showConfiguracionCuenta) {\r\n <ius-menu-item iconName=\"icon-build\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickConfiguracion()\">Configuraci\u00F3n de la\r\n cuenta</ius-menu-item>\r\n }\r\n @if (showPagosFacturacion) {\r\n <ius-menu-item iconName=\"icon-finance-chip\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickPagos()\">Pagos y facturaci\u00F3n</ius-menu-item>\r\n }\r\n @if (showSubscripcionesServicios) {\r\n <ius-menu-item iconName=\"icon-enterprise\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickSubsServicios()\">Suscripciones y\r\n servicios</ius-menu-item>\r\n }\r\n @if (showReferir) {\r\n <ius-menu-item iconName=\"icon-stream\" iconColorDefault=\"#595959\" iconColorHovered=\"#595959\" (buttonClicked)=\"onClickReferir()\">Referir servicio</ius-menu-item>\r\n }\r\n </div>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n } @else {\r\n <div class=\"container-bottom\">\r\n <span class=\"tx-cambiar\">Cambiar a</span>\r\n <div class=\"container-list\">\r\n @for (account of accountList; track account; let i = $index) {\r\n <ius-button-accounts (accountSelected)=\"onClickAccount(account)\" (onPressedPredeterminado)=\"\r\n clickAccountPredeterminada.emit(account)\r\n \"\r\n ,\r\n (onPressedEditar)=\"clickEditAccount.emit(account)\"\r\n ,\r\n (onPressedDesvincular)=\"clickDesvincularAccount.emit(account)\"\r\n [account]=\"account\"\r\n [showOptionsFlag]=\"false\"\r\n ></ius-button-accounts>\r\n }\r\n </div>\r\n <ius-button-standard-tertiary [iconName]=\"'icon-add'\" (buttonClicked)=\"addAccount()\">Agregar\r\n nueva cuenta</ius-button-standard-tertiary>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"ctn-items mgt-8\">\r\n <ius-menu-item iconName=\"{{\r\n !showFormSwitchAccount ? 'icon-cases' : 'icon-arrow-left-alt'\r\n }}\" (buttonClicked)=\"onClickCambiarCuenta()\">{{\r\n !showFormSwitchAccount\r\n ? \"Cambiar de cuenta\"\r\n : \"Volver al menu de usuario\"\r\n }}</ius-menu-item>\r\n <ius-menu-item iconName=\"icon-exit-to-app\" (buttonClicked)=\"onClickCerrarSesion()\">Cerrar sesi\u00F3n</ius-menu-item>\r\n </div>\r\n</div>", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tbl-menu{display:flex;width:390px;height:85vh;padding:16px;flex-direction:column}.body-menu{display:flex;flex:1 0 0;flex-direction:column;padding-right:6px;gap:8px;font-family:Rubik,sans-serif;overflow-y:auto;min-height:0}.colum-mn-1{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.text-head-mn{color:#8c8c8c;font-size:.75rem;line-height:16px;letter-spacing:.24px}.icon-acc-circle{color:#595959}.tx-row-1{display:flex;align-items:center;gap:4px}.tx-abog{color:#333;letter-spacing:.2px}.id-ct{padding:4px;border-radius:4px;border:1px solid #d9d9d9}.tx-id-ct{font-weight:500}.tx-rol{font-size:.875rem;color:#595959;line-height:20px}.tx-name-rl{color:#333;letter-spacing:.28px;font-weight:500}.email-inf{display:flex;padding:8px;align-items:center;gap:4px;color:#595959;font-size:.875rem;line-height:20px;letter-spacing:.28px}.icon-alt-email{color:#7caf25}ius-dropdown-option-item{width:100%}.container-plan{overflow:hidden;max-height:200px;transition:max-height .5s cubic-bezier(.4,0,.2,1);flex-shrink:0}.inf-plan{display:flex;padding:8px;flex-direction:column;align-items:flex-start;gap:8px}.show-more{max-height:10000px;transition:max-height .5s cubic-bezier(.4,0,.2,1)}.tx-small{font-size:.75rem;line-height:16px;letter-spacing:.24px}.tx-base{font-size:.875rem;line-height:20px;letter-spacing:.28px}.row-plan-1{display:flex;gap:12px;width:100%}.col-plan-1{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.icon-help{color:#8c8c8c}.tx-tipo-plan{color:#595959;font-weight:500}.tx-name-plan{color:#333;font-weight:500}.tx-row-2{display:flex;align-items:center;gap:8px}.tx-contador-1{color:#8c8c8c;font-weight:500}.tx-contador-2{color:#333}.tx-estado-plan{color:#7caf25}.tx-cambiar{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.mgt-8{margin-top:8px}.progress-container{width:100%;border-radius:100px;height:23px;overflow:hidden;background:#f0f0f0}.progress-bar{display:flex;height:100%}.segment{height:100%}.tipo-1-color-bar{background:#5892ff}.tipo-1-color{color:#5892ff}.tipo-2-color-bar{background:#103ab7}.tipo-2-color{color:#103ab7}.legend{display:flex;width:100%;align-items:center;gap:8px;flex-wrap:wrap}.legend .icon-storage-set{color:#103ab7}.legend .icon-storage-plus{color:#629219}.item-counter{display:flex;align-items:center;gap:4px;color:#333}.tx-name-serv{color:#595959;font-weight:500}.btn-list{margin-bottom:8px}.ctn-items{display:flex;flex-direction:column;gap:4px}.scrollable{overflow-y:auto;overflow-x:hidden}.scrollable::-webkit-scrollbar{-webkit-appearance:none}.scrollable::-webkit-scrollbar:vertical{width:7px}.scrollable::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}.container-bottom{display:flex;flex-direction:column;gap:8px}.container-list{display:flex;flex-direction:column;gap:4px}\n"] }]
4447
4447
  }], propDecorators: { object: [{
4448
4448
  type: Input,
4449
4449
  args: [{ required: true }]
@@ -4494,16 +4494,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
4494
4494
  }] } });
4495
4495
 
4496
4496
  class NotificationCardComponent {
4497
- constructor() {
4497
+ constructor(eRef) {
4498
+ this.eRef = eRef;
4499
+ this.mostrarEditar = true;
4500
+ this.esNavegable = false;
4501
+ this.mostrarAyuda = false;
4498
4502
  this.onAccept = new EventEmitter();
4499
4503
  this.onDone = new EventEmitter();
4500
- this.onPostpone15Min = new EventEmitter();
4501
- this.onPostpone30Min = new EventEmitter();
4502
- this.onPostpone1Hour = new EventEmitter();
4503
- this.onPostpone1Day = new EventEmitter();
4504
- this.onPostpone1Week = new EventEmitter();
4504
+ this.onPostpone = new EventEmitter();
4505
4505
  this.onEditActivity = new EventEmitter();
4506
+ this.onClickAlert = new EventEmitter();
4506
4507
  this.handlePostpone = false;
4508
+ this.presetsHabilitados = [15, 30, 60, 1440, 10080];
4509
+ }
4510
+ onDocumentClick(event) {
4511
+ if (this.handlePostpone && !this.eRef.nativeElement.contains(event.target)) {
4512
+ this.handlePostpone = false;
4513
+ }
4514
+ }
4515
+ addMinutes(mins) {
4516
+ return new Date(Date.now() + mins * 60000);
4517
+ }
4518
+ puedePosponer(mins) {
4519
+ if (this.mostrarPosponer === undefined)
4520
+ return true;
4521
+ if (!this.fechaActividad)
4522
+ return true;
4523
+ return this.addMinutes(mins) < new Date(this.fechaActividad);
4524
+ }
4525
+ ngOnChanges() {
4526
+ this.presetsHabilitados = [15, 30, 60, 1440, 10080].filter(m => this.puedePosponer(m));
4527
+ }
4528
+ get hayAlgunPreset() {
4529
+ return this.presetsHabilitados.length > 0;
4530
+ }
4531
+ onCardClick() {
4532
+ if (this.esNavegable)
4533
+ this.onClickAlert.emit();
4507
4534
  }
4508
4535
  onClickAccept() {
4509
4536
  this.onAccept.emit();
@@ -4514,37 +4541,21 @@ class NotificationCardComponent {
4514
4541
  onClickPostpone() {
4515
4542
  this.handlePostpone = !this.handlePostpone;
4516
4543
  }
4517
- onClickPostpone15Min() {
4518
- this.handlePostpone = false;
4519
- this.onPostpone15Min.emit();
4520
- }
4521
- onClickPostpone30Min() {
4544
+ seleccionarPosponer(minutos) {
4522
4545
  this.handlePostpone = false;
4523
- this.onPostpone30Min.emit();
4524
- }
4525
- onClickPostpone1Hour() {
4526
- this.handlePostpone = false;
4527
- this.onPostpone1Hour.emit();
4528
- }
4529
- onClickPostpone1Day() {
4530
- this.handlePostpone = false;
4531
- this.onPostpone1Day.emit();
4532
- }
4533
- onClickPostpone1Week() {
4534
- this.handlePostpone = false;
4535
- this.onPostpone1Week.emit();
4546
+ this.onPostpone.emit(minutos);
4536
4547
  }
4537
4548
  onClickEditActivity() {
4538
4549
  this.handlePostpone = false;
4539
4550
  this.onEditActivity.emit();
4540
4551
  }
4541
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4542
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: NotificationCardComponent, isStandalone: true, selector: "ius-notification-card", inputs: { date: "date", title: "title", body: "body", simple: "simple", activity: "activity", process: "process" }, outputs: { onAccept: "onAccept", onDone: "onDone", onPostpone15Min: "onPostpone15Min", onPostpone30Min: "onPostpone30Min", onPostpone1Hour: "onPostpone1Hour", onPostpone1Day: "onPostpone1Day", onPostpone1Week: "onPostpone1Week", onEditActivity: "onEditActivity" }, ngImport: i0, template: "<div class=\"general-container\">\r\n <div class=\"container\">\r\n <div class=\"data\">\r\n <div class=\"header\">\r\n <ius-icon-md iconName=\"icon-notifications\"></ius-icon-md>\r\n <div class=\"date-title\">\r\n <div class=\"date\">\r\n <p>{{ date }}</p>\r\n </div>\r\n <div class=\"title\">\r\n <p>{{ title }}</p>\r\n </div>\r\n </div>\r\n @if (simple || activity) {\r\n <ius-button-squared-tertiary\r\n iconName=\"icon-done-outline\"\r\n (buttonClicked)=\"onClickDone()\"\r\n ></ius-button-squared-tertiary>\r\n } @if (activity) {\r\n <ius-button-squared-tertiary\r\n iconName=\"icon-history-2\"\r\n (buttonClicked)=\"onClickPostpone()\"\r\n ></ius-button-squared-tertiary>\r\n } @if (process) {\r\n <ius-button-squared-tertiary\r\n iconName=\"icon-help-center\"\r\n ></ius-button-squared-tertiary>\r\n }\r\n </div>\r\n @if(handlePostpone){\r\n <div class=\"general-container-options\">\r\n <div class=\"container-options\">\r\n <div class=\"options\">\r\n <ius-dropdown-option-item (click)=\"onClickPostpone15Min()\">\r\n Posponer 15 minutos\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone30Min()\">\r\n Posponer 30 minutos\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone1Hour()\">\r\n Posponer 1 hora\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone1Day()\">\r\n Posponer 1 d\u00EDa\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone1Week()\">\r\n Posponer 1 semana\r\n </ius-dropdown-option-item>\r\n <ius-simple-divider></ius-simple-divider>\r\n <ius-dropdown-option-item (click)=\"onClickEditActivity()\">\r\n Editar actividad\r\n </ius-dropdown-option-item>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n <div class=\"body\">\r\n <p>{{ body }}</p>\r\n </div>\r\n @if (process) {\r\n <div class=\"btn\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickAccept()\"\r\n >Aceptar</ius-button-standard-secondary\r\n >\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.general-container{position:relative}.container{display:flex;padding:12px 16px;flex-direction:column;align-items:flex-start;gap:5px;border-radius:8px;border:1px solid #d9d9d9}.data{display:flex;flex-direction:column;align-items:flex-start;gap:4px;align-self:stretch}.header{display:flex;justify-content:flex-end;align-items:center;gap:4px;align-self:stretch}.header .date-title{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.header .date-title .date{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .date p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.header .date-title .title{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .title p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px}.body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch}.body p{margin:0;display:flex;justify-content:center;align-items:center;gap:12px;align-self:stretch;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.btn{width:100%}.general-container-options{position:absolute;right:20px;top:55px;z-index:1000}.container-options{display:inline-flex;padding:4px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;border-radius:8px;background:var(--N-WHITE, #fff);box-shadow:0 2px 6px #00000024,0 1px 10px #0000001a}.container-options .options{display:flex;flex-direction:column;align-items:flex-start;gap:4px}ius-dropdown-option-item{width:100%}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonSquaredTertiaryComponent, selector: "ius-button-squared-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "component", type: ButtonStandardSecondaryComponent, selector: "ius-button-standard-secondary", inputs: ["disabled"], outputs: ["buttonClicked"] }, { kind: "component", type: DropdownOptionItemComponent, selector: "ius-dropdown-option-item", inputs: ["iconName", "route"], outputs: ["click"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }] }); }
4552
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationCardComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
4553
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: NotificationCardComponent, isStandalone: true, selector: "ius-notification-card", inputs: { date: "date", title: "title", body: "body", simple: "simple", activity: "activity", confirmable: "confirmable", fechaActividad: "fechaActividad", mostrarPosponer: "mostrarPosponer", mostrarEditar: "mostrarEditar", esNavegable: "esNavegable", mostrarAyuda: "mostrarAyuda" }, outputs: { onAccept: "onAccept", onDone: "onDone", onPostpone: "onPostpone", onEditActivity: "onEditActivity", onClickAlert: "onClickAlert" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"general-container\">\r\n <div class=\"container\">\r\n <div class=\"data\">\r\n <div class=\"header\">\r\n <ius-icon-sm iconName=\"icon-notifications\" class=\"color-pry\"></ius-icon-sm>\r\n <div class=\"date-title color-pry\" (click)=\"onCardClick()\" [style.cursor]=\"esNavegable ? 'pointer' : 'default'\">\r\n <div class=\"date\">\r\n <p>{{ date }}</p>\r\n </div>\r\n <div class=\"title\">\r\n <p>{{ title }}</p>\r\n </div>\r\n </div>\r\n @if (!confirmable) {\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-done-outline\"\r\n iusPopoverContent=\"Descartar\"\r\n (buttonClicked)=\"onClickDone()\"\r\n ></ius-button-circle-tertiary>\r\n } @if ((mostrarPosponer ?? activity) && hayAlgunPreset) {\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-history-2\"\r\n iusPopoverContent=\"Posponer\"\r\n (buttonClicked)=\"onClickPostpone()\"\r\n ></ius-button-circle-tertiary>\r\n } @if (confirmable && mostrarAyuda) {\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-help-center\"\r\n iusPopoverContent=\"Ayuda\"\r\n ></ius-button-circle-tertiary>\r\n }\r\n </div>\r\n @if (hayAlgunPreset || mostrarEditar) {\r\n <div class=\"general-container-options\" [class.open]=\"handlePostpone\">\r\n <div class=\"container-options\">\r\n <div class=\"options\">\r\n @if (presetsHabilitados.includes(15)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(15)\">\r\n Posponer 15 minutos\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(30)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(30)\">\r\n Posponer 30 minutos\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(60)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(60)\">\r\n Posponer 1 hora\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(1440)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(1440)\">\r\n Posponer 1 d\u00EDa\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(10080)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(10080)\">\r\n Posponer 1 semana\r\n </ius-dropdown-option-item>\r\n }\r\n @if (mostrarEditar) {\r\n <ius-simple-divider></ius-simple-divider>\r\n <ius-dropdown-option-item (optionClick)=\"onClickEditActivity()\">\r\n Editar actividad\r\n </ius-dropdown-option-item>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n <div class=\"body\" (click)=\"onCardClick()\" [style.cursor]=\"esNavegable ? 'pointer' : 'default'\">\r\n <p>{{ body }}</p>\r\n </div>\r\n @if (confirmable) {\r\n <div class=\"btn\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickAccept()\"\r\n >Aceptar</ius-button-standard-secondary\r\n >\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.general-container{position:relative}.container{display:flex;padding:12px 16px;flex-direction:column;align-items:flex-start;gap:5px;border-radius:8px;border:1px solid #d9d9d9}.color-pry{color:#333}.data{display:flex;flex-direction:column;align-items:flex-start;gap:4px;align-self:stretch}.header{display:flex;justify-content:flex-end;align-items:center;gap:4px;align-self:stretch}.header .date-title{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.header .date-title .date{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .date p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.header .date-title .title{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .title p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px}.body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch}.body p{margin:0;display:flex;justify-content:center;align-items:center;gap:12px;align-self:stretch;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.btn{width:100%}.general-container-options{position:absolute;right:20px;top:65px;z-index:1000;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s}.general-container-options.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition:opacity .16s ease,transform .16s ease,visibility 0s}.container-options{display:inline-flex;padding:4px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;border-radius:8px;background:var(--N-WHITE, #fff);box-shadow:0 2px 6px #00000024,0 1px 10px #0000001a}.container-options .options{display:flex;flex-direction:column;align-items:flex-start;gap:4px}ius-dropdown-option-item{width:100%}\n"], dependencies: [{ kind: "component", type: ButtonStandardSecondaryComponent, selector: "ius-button-standard-secondary", inputs: ["disabled"], outputs: ["buttonClicked"] }, { kind: "component", type: DropdownOptionItemComponent, selector: "ius-dropdown-option-item", inputs: ["iconName", "route"], outputs: ["optionClick"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }, { kind: "component", type: IconSmComponent, selector: "ius-icon-sm", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonCircleTertiaryComponent, selector: "ius-button-circle-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "directive", type: PopoverDirective, selector: "[iusPopover], [iusPopoverTitle], [iusPopoverContent]", inputs: ["iusPopover", "iusPopoverTitle", "iusPopoverContent", "iusPopoverPosition", "iusPopoverOpenDelay", "iusPopoverCloseDelay"] }] }); }
4543
4554
  }
4544
4555
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationCardComponent, decorators: [{
4545
4556
  type: Component,
4546
- args: [{ selector: 'ius-notification-card', standalone: true, imports: [IconMdComponent, ButtonSquaredTertiaryComponent, ButtonStandardSecondaryComponent, DropdownOptionItemComponent, SimpleDividerComponent], template: "<div class=\"general-container\">\r\n <div class=\"container\">\r\n <div class=\"data\">\r\n <div class=\"header\">\r\n <ius-icon-md iconName=\"icon-notifications\"></ius-icon-md>\r\n <div class=\"date-title\">\r\n <div class=\"date\">\r\n <p>{{ date }}</p>\r\n </div>\r\n <div class=\"title\">\r\n <p>{{ title }}</p>\r\n </div>\r\n </div>\r\n @if (simple || activity) {\r\n <ius-button-squared-tertiary\r\n iconName=\"icon-done-outline\"\r\n (buttonClicked)=\"onClickDone()\"\r\n ></ius-button-squared-tertiary>\r\n } @if (activity) {\r\n <ius-button-squared-tertiary\r\n iconName=\"icon-history-2\"\r\n (buttonClicked)=\"onClickPostpone()\"\r\n ></ius-button-squared-tertiary>\r\n } @if (process) {\r\n <ius-button-squared-tertiary\r\n iconName=\"icon-help-center\"\r\n ></ius-button-squared-tertiary>\r\n }\r\n </div>\r\n @if(handlePostpone){\r\n <div class=\"general-container-options\">\r\n <div class=\"container-options\">\r\n <div class=\"options\">\r\n <ius-dropdown-option-item (click)=\"onClickPostpone15Min()\">\r\n Posponer 15 minutos\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone30Min()\">\r\n Posponer 30 minutos\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone1Hour()\">\r\n Posponer 1 hora\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone1Day()\">\r\n Posponer 1 d\u00EDa\r\n </ius-dropdown-option-item>\r\n <ius-dropdown-option-item (click)=\"onClickPostpone1Week()\">\r\n Posponer 1 semana\r\n </ius-dropdown-option-item>\r\n <ius-simple-divider></ius-simple-divider>\r\n <ius-dropdown-option-item (click)=\"onClickEditActivity()\">\r\n Editar actividad\r\n </ius-dropdown-option-item>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n <div class=\"body\">\r\n <p>{{ body }}</p>\r\n </div>\r\n @if (process) {\r\n <div class=\"btn\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickAccept()\"\r\n >Aceptar</ius-button-standard-secondary\r\n >\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.general-container{position:relative}.container{display:flex;padding:12px 16px;flex-direction:column;align-items:flex-start;gap:5px;border-radius:8px;border:1px solid #d9d9d9}.data{display:flex;flex-direction:column;align-items:flex-start;gap:4px;align-self:stretch}.header{display:flex;justify-content:flex-end;align-items:center;gap:4px;align-self:stretch}.header .date-title{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.header .date-title .date{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .date p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.header .date-title .title{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .title p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px}.body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch}.body p{margin:0;display:flex;justify-content:center;align-items:center;gap:12px;align-self:stretch;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.btn{width:100%}.general-container-options{position:absolute;right:20px;top:55px;z-index:1000}.container-options{display:inline-flex;padding:4px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;border-radius:8px;background:var(--N-WHITE, #fff);box-shadow:0 2px 6px #00000024,0 1px 10px #0000001a}.container-options .options{display:flex;flex-direction:column;align-items:flex-start;gap:4px}ius-dropdown-option-item{width:100%}\n"] }]
4547
- }], propDecorators: { date: [{
4557
+ args: [{ selector: 'ius-notification-card', standalone: true, imports: [ButtonStandardSecondaryComponent, DropdownOptionItemComponent, SimpleDividerComponent, IconSmComponent, ButtonCircleTertiaryComponent, PopoverDirective], template: "<div class=\"general-container\">\r\n <div class=\"container\">\r\n <div class=\"data\">\r\n <div class=\"header\">\r\n <ius-icon-sm iconName=\"icon-notifications\" class=\"color-pry\"></ius-icon-sm>\r\n <div class=\"date-title color-pry\" (click)=\"onCardClick()\" [style.cursor]=\"esNavegable ? 'pointer' : 'default'\">\r\n <div class=\"date\">\r\n <p>{{ date }}</p>\r\n </div>\r\n <div class=\"title\">\r\n <p>{{ title }}</p>\r\n </div>\r\n </div>\r\n @if (!confirmable) {\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-done-outline\"\r\n iusPopoverContent=\"Descartar\"\r\n (buttonClicked)=\"onClickDone()\"\r\n ></ius-button-circle-tertiary>\r\n } @if ((mostrarPosponer ?? activity) && hayAlgunPreset) {\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-history-2\"\r\n iusPopoverContent=\"Posponer\"\r\n (buttonClicked)=\"onClickPostpone()\"\r\n ></ius-button-circle-tertiary>\r\n } @if (confirmable && mostrarAyuda) {\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-help-center\"\r\n iusPopoverContent=\"Ayuda\"\r\n ></ius-button-circle-tertiary>\r\n }\r\n </div>\r\n @if (hayAlgunPreset || mostrarEditar) {\r\n <div class=\"general-container-options\" [class.open]=\"handlePostpone\">\r\n <div class=\"container-options\">\r\n <div class=\"options\">\r\n @if (presetsHabilitados.includes(15)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(15)\">\r\n Posponer 15 minutos\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(30)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(30)\">\r\n Posponer 30 minutos\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(60)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(60)\">\r\n Posponer 1 hora\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(1440)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(1440)\">\r\n Posponer 1 d\u00EDa\r\n </ius-dropdown-option-item>\r\n }\r\n @if (presetsHabilitados.includes(10080)) {\r\n <ius-dropdown-option-item (optionClick)=\"seleccionarPosponer(10080)\">\r\n Posponer 1 semana\r\n </ius-dropdown-option-item>\r\n }\r\n @if (mostrarEditar) {\r\n <ius-simple-divider></ius-simple-divider>\r\n <ius-dropdown-option-item (optionClick)=\"onClickEditActivity()\">\r\n Editar actividad\r\n </ius-dropdown-option-item>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n <div class=\"body\" (click)=\"onCardClick()\" [style.cursor]=\"esNavegable ? 'pointer' : 'default'\">\r\n <p>{{ body }}</p>\r\n </div>\r\n @if (confirmable) {\r\n <div class=\"btn\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickAccept()\"\r\n >Aceptar</ius-button-standard-secondary\r\n >\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.general-container{position:relative}.container{display:flex;padding:12px 16px;flex-direction:column;align-items:flex-start;gap:5px;border-radius:8px;border:1px solid #d9d9d9}.color-pry{color:#333}.data{display:flex;flex-direction:column;align-items:flex-start;gap:4px;align-self:stretch}.header{display:flex;justify-content:flex-end;align-items:center;gap:4px;align-self:stretch}.header .date-title{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0}.header .date-title .date{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .date p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.header .date-title .title{display:flex;align-items:center;gap:12px;align-self:stretch}.header .date-title .title p{margin:0;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px}.body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;align-self:stretch}.body p{margin:0;display:flex;justify-content:center;align-items:center;gap:12px;align-self:stretch;color:#333;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.btn{width:100%}.general-container-options{position:absolute;right:20px;top:65px;z-index:1000;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s}.general-container-options.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition:opacity .16s ease,transform .16s ease,visibility 0s}.container-options{display:inline-flex;padding:4px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;border-radius:8px;background:var(--N-WHITE, #fff);box-shadow:0 2px 6px #00000024,0 1px 10px #0000001a}.container-options .options{display:flex;flex-direction:column;align-items:flex-start;gap:4px}ius-dropdown-option-item{width:100%}\n"] }]
4558
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { date: [{
4548
4559
  type: Input
4549
4560
  }], title: [{
4550
4561
  type: Input
@@ -4554,36 +4565,69 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
4554
4565
  type: Input
4555
4566
  }], activity: [{
4556
4567
  type: Input
4557
- }], process: [{
4568
+ }], confirmable: [{
4569
+ type: Input
4570
+ }], fechaActividad: [{
4571
+ type: Input
4572
+ }], mostrarPosponer: [{
4573
+ type: Input
4574
+ }], mostrarEditar: [{
4575
+ type: Input
4576
+ }], esNavegable: [{
4577
+ type: Input
4578
+ }], mostrarAyuda: [{
4558
4579
  type: Input
4559
4580
  }], onAccept: [{
4560
4581
  type: Output
4561
4582
  }], onDone: [{
4562
4583
  type: Output
4563
- }], onPostpone15Min: [{
4564
- type: Output
4565
- }], onPostpone30Min: [{
4566
- type: Output
4567
- }], onPostpone1Hour: [{
4568
- type: Output
4569
- }], onPostpone1Day: [{
4570
- type: Output
4571
- }], onPostpone1Week: [{
4584
+ }], onPostpone: [{
4572
4585
  type: Output
4573
4586
  }], onEditActivity: [{
4574
4587
  type: Output
4588
+ }], onClickAlert: [{
4589
+ type: Output
4590
+ }], onDocumentClick: [{
4591
+ type: HostListener,
4592
+ args: ['document:click', ['$event']]
4575
4593
  }] } });
4576
4594
 
4577
4595
  class NotificationsComponent {
4578
4596
  constructor() {
4579
4597
  this.alerts = [];
4580
- this.titleDrawer = "Title Drawer";
4598
+ this.titleDrawer = 'Title Drawer';
4581
4599
  this.percentProgressBar = 50;
4582
4600
  this.onDoneAlert = new EventEmitter();
4583
4601
  this.onPostponeAlert = new EventEmitter();
4584
4602
  this.onPressedBackEvent = new EventEmitter();
4585
4603
  this.onDrawerClosed = new EventEmitter();
4604
+ this.onEditAlert = new EventEmitter();
4605
+ this.onClickAlertEvent = new EventEmitter();
4606
+ this.onDeleteAllAlerts = new EventEmitter();
4586
4607
  this.isVisible = true;
4608
+ this.mostrarVacio = true;
4609
+ this.prevLength = 0;
4610
+ }
4611
+ ngOnChanges() {
4612
+ const len = this.alerts?.length ?? 0;
4613
+ if (len > 0) {
4614
+ this.mostrarVacio = false;
4615
+ }
4616
+ else if (this.prevLength === 0) {
4617
+ this.mostrarVacio = true;
4618
+ }
4619
+ else {
4620
+ this.mostrarVacio = false;
4621
+ }
4622
+ this.prevLength = len;
4623
+ }
4624
+ onListDone() {
4625
+ if ((this.alerts?.length ?? 0) === 0) {
4626
+ this.mostrarVacio = true;
4627
+ }
4628
+ }
4629
+ trackByAlert(index, alert) {
4630
+ return alert?.alertaID ?? index;
4587
4631
  }
4588
4632
  close() {
4589
4633
  this.isVisible = false;
@@ -4593,52 +4637,88 @@ class NotificationsComponent {
4593
4637
  this.onDrawerClosed.emit();
4594
4638
  }
4595
4639
  }
4596
- onPostpone(alert, time) {
4597
- this.onPostponeAlert.emit({ alert, time });
4640
+ onPostpone(alert, minutos) {
4641
+ this.onPostponeAlert.emit({ alert, minutos });
4598
4642
  }
4599
4643
  onClickDone(alertaID) {
4600
4644
  this.onDoneAlert.emit(alertaID);
4601
4645
  }
4646
+ onEdit(alert) {
4647
+ this.onEditAlert.emit(alert);
4648
+ }
4649
+ onClickCard(alert) {
4650
+ this.onClickAlertEvent.emit(alert);
4651
+ }
4652
+ deleteAllAlerts() {
4653
+ this.onDeleteAllAlerts.emit();
4654
+ }
4602
4655
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4603
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: NotificationsComponent, isStandalone: true, selector: "ius-notifications", inputs: { alerts: "alerts", titleDrawer: "titleDrawer", percentProgressBar: "percentProgressBar" }, outputs: { onDoneAlert: "onDoneAlert", onPostponeAlert: "onPostponeAlert", onPressedBackEvent: "onPressedBackEvent", onDrawerClosed: "onDrawerClosed" }, ngImport: i0, template: "<div class=\"background-drawer\">\r\n @if (isVisible) {\r\n <div\r\n class=\"create-container\"\r\n @slideInOut\r\n (@slideInOut.done)=\"onAnimDone($event)\"\r\n >\r\n <div class=\"header-drawer\">\r\n <div class=\"title-header-drawer\">Panel de notificaciones</div>\r\n <ius-button-squared-tertiary\r\n [iconName]=\"'icon-cancel'\"\r\n (buttonClicked)=\"close()\"\r\n ></ius-button-squared-tertiary>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div\r\n class=\"scrollable-small\"\r\n style=\"height: calc(100% - 69px); overflow-y: auto; padding: 5px;\"\r\n >\r\n @if (alerts.length > 0) { @for (alert of alerts; track $index) {\r\n <div class=\"notification\">\r\n <ius-notification-card\r\n [date]=\"(alert?.fechaRegistro | date:'d \\'de\\' MMMM \\'de\\' y')!\"\r\n [title]=\"alert?.titulo\"\r\n [simple]=\"(alert?.tipoAlerta! === 'Simple' ? true : false)! || (alert?.tipoAlerta! === 'Hexti' ? true : false)!\"\r\n [activity]=\"alert?.tipoAlerta! === 'Actividad' ? true : false\"\r\n [process]=\"alert?.tipoAlerta! === 'Proceso' ? true : false\"\r\n [body]=\"alert?.descripcion!\"\r\n (onDone)=\"onClickDone(alert.alertaID!)\"\r\n (onPostpone15Min)=\"onPostpone(alert, '15m')\"\r\n (onPostpone30Min)=\"onPostpone(alert, '30m')\"\r\n (onPostpone1Hour)=\"onPostpone(alert, '1h')\"\r\n (onPostpone1Day)=\"onPostpone(alert, '1d')\"\r\n (onPostpone1Week)=\"onPostpone(alert, '1w')\"\r\n ></ius-notification-card>\r\n </div>\r\n }\r\n <ius-simple-divider></ius-simple-divider>\r\n }@else {\r\n <div class=\"no-notifications\">\r\n <ius-icon-lg [iconName]=\"'icon-done-outline'\"></ius-icon-lg>\r\n <ius-simple-divider></ius-simple-divider>\r\n <p>No tienes ninguna nueva notificaci\u00F3n o alerta</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.background-drawer{position:absolute;top:0;left:0;display:flex;height:100%;width:100%;justify-content:center;background-color:#0003;transition:.2s ease-in-out;align-items:center;z-index:900}.create-container{height:calc(100vh - 60px);position:absolute;z-index:1000;width:390px;top:60px;right:0;background-color:#fff;border-radius:8px 0 0 8px;box-shadow:0 2px 6px 3px #00000026,0 1px 3px #0000004d}.header-drawer{display:flex;padding:12px 16px;align-items:center}.title-header-drawer{width:100%;font-family:Roboto,sans-serif;font-size:1.25rem;color:#333;line-height:26px;letter-spacing:.2px;font-weight:500;display:flex;justify-content:start;overflow:hidden;white-space:normal;text-overflow:ellipsis}.notification{padding:2px 5px}.no-notifications{display:flex;width:70%;padding:8px;flex-direction:column;align-items:center;align-self:center;justify-self:center;gap:12px;margin-top:24px}.no-notifications p{flex:1 0 0;margin:0;display:flex;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#333;text-align:center;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.button-header-drawer{margin-left:3px;margin-top:1px}.scrollable-small::-webkit-scrollbar{-webkit-appearance:none}.scrollable-small::-webkit-scrollbar:vertical{width:8px;height:32px;padding-top:2px;padding-bottom:2px}.scrollable-small::-webkit-scrollbar:horizontal{height:5px;padding-top:2px;padding-bottom:2px}.scrollable-small::-webkit-scrollbar-thumb{background-color:#08a6db;border-radius:4px}\n"], dependencies: [{ kind: "component", type: NotificationCardComponent, selector: "ius-notification-card", inputs: ["date", "title", "body", "simple", "activity", "process"], outputs: ["onAccept", "onDone", "onPostpone15Min", "onPostpone30Min", "onPostpone1Hour", "onPostpone1Day", "onPostpone1Week", "onEditActivity"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }, { kind: "component", type: ButtonSquaredTertiaryComponent, selector: "ius-button-squared-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "component", type: IconLgComponent, selector: "ius-icon-lg", inputs: ["iconName", "color"] }], animations: [
4656
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: NotificationsComponent, isStandalone: true, selector: "ius-notifications", inputs: { alerts: "alerts", titleDrawer: "titleDrawer", percentProgressBar: "percentProgressBar" }, outputs: { onDoneAlert: "onDoneAlert", onPostponeAlert: "onPostponeAlert", onPressedBackEvent: "onPressedBackEvent", onDrawerClosed: "onDrawerClosed", onEditAlert: "onEditAlert", onClickAlertEvent: "onClickAlertEvent", onDeleteAllAlerts: "onDeleteAllAlerts" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"background-drawer\">\r\n @if (isVisible) {\r\n <div\r\n class=\"create-container\"\r\n @slideInOut\r\n (@slideInOut.done)=\"onAnimDone($event)\"\r\n >\r\n <div class=\"header-drawer\">\r\n <div class=\"title-header-drawer\">Panel de notificaciones</div>\r\n @if (alerts.length > 0) {\r\n <ius-button-circle-tertiary\r\n class=\"button-header-drawer\"\r\n [iconName]=\"'icon-delete'\"\r\n iusPopoverContent=\"Borrar\"\r\n (buttonClicked)=\"deleteAllAlerts()\"\r\n ></ius-button-circle-tertiary>\r\n }\r\n <ius-button-circle-tertiary\r\n [iconName]=\"'icon-cancel'\"\r\n iusPopoverContent=\"Cerrar\"\r\n (buttonClicked)=\"close()\"\r\n ></ius-button-circle-tertiary>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"scrollable\">\r\n <div [@listContainer]=\"alerts.length\" (@listContainer.done)=\"onListDone()\">\r\n @for (alert of alerts; track trackByAlert($index, alert)) {\r\n <div class=\"notification\" @itemAnim>\r\n <ius-notification-card\r\n [date]=\"(alert?.fechaRegistro | date:'d \\'de\\' MMMM \\'de\\' y')!\"\r\n [title]=\"alert?.titulo\"\r\n [simple]=\"(alert?.tipoAlerta! === 'Simple' ? true : false)! || (alert?.tipoAlerta! === 'Hexti' ? true : false)!\"\r\n [activity]=\"alert?.tipoAlerta! === 'Actividad' ? true : false\"\r\n [confirmable]=\"alert?.tipoAlerta! === 'Confirmacion' ? true : false\"\r\n [body]=\"alert?.descripcion!\"\r\n [fechaActividad]=\"alert?.fechaActividad\"\r\n [mostrarPosponer]=\"alert?.mostrarPosponer\"\r\n (onDone)=\"onClickDone(alert.alertaID!)\"\r\n (onPostpone)=\"onPostpone(alert, $event)\"\r\n [esNavegable]=\"!!alert?.referenciaOrigenId\"\r\n (onEditActivity)=\"onEdit(alert)\"\r\n (onClickAlert)=\"onClickCard(alert)\"\r\n ></ius-notification-card>\r\n </div>\r\n }\r\n </div>\r\n @if (mostrarVacio) {\r\n <div class=\"no-notifications\">\r\n <ius-icon-lg [iconName]=\"'icon-done-outline'\"></ius-icon-lg>\r\n <ius-simple-divider></ius-simple-divider>\r\n <p>No tienes ninguna nueva notificaci\u00F3n o alerta</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.background-drawer{position:absolute;top:0;left:0;display:flex;height:100%;width:100%;justify-content:center;background-color:#0003;transition:.2s ease-in-out;align-items:center;z-index:900}.create-container{height:calc(100vh - 60px);position:absolute;z-index:1000;width:390px;top:60px;right:0;background-color:#fff;border-radius:8px 0 0 8px;box-shadow:0 2px 6px 3px #00000026,0 1px 3px #0000004d;display:flex;flex-direction:column}.header-drawer{display:flex;padding:12px 16px;align-items:center}.title-header-drawer{width:100%;font-family:Roboto,sans-serif;font-size:1.25rem;color:#333;line-height:26px;letter-spacing:.2px;font-weight:500;display:flex;justify-content:start;overflow:hidden;white-space:normal;text-overflow:ellipsis}.notification{padding:2px 5px}.no-notifications{display:flex;width:70%;padding:8px;flex-direction:column;align-items:center;align-self:center;justify-self:center;gap:12px;margin-top:24px}.no-notifications p{flex:1 0 0;margin:0;display:flex;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#333;text-align:center;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.button-header-drawer{margin-left:3px;margin-top:1px}.scrollable{flex:1 1 auto;min-height:0;padding:5px;overflow-y:auto;overflow-x:hidden}.scrollable::-webkit-scrollbar{-webkit-appearance:none}.scrollable::-webkit-scrollbar:vertical{width:7px}.scrollable::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}\n"], dependencies: [{ kind: "component", type: NotificationCardComponent, selector: "ius-notification-card", inputs: ["date", "title", "body", "simple", "activity", "confirmable", "fechaActividad", "mostrarPosponer", "mostrarEditar", "esNavegable", "mostrarAyuda"], outputs: ["onAccept", "onDone", "onPostpone", "onEditActivity", "onClickAlert"] }, { kind: "directive", type: PopoverDirective, selector: "[iusPopover], [iusPopoverTitle], [iusPopoverContent]", inputs: ["iusPopover", "iusPopoverTitle", "iusPopoverContent", "iusPopoverPosition", "iusPopoverOpenDelay", "iusPopoverCloseDelay"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }, { kind: "pipe", type: DatePipe, name: "date" }, { kind: "component", type: IconLgComponent, selector: "ius-icon-lg", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonCircleTertiaryComponent, selector: "ius-button-circle-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }], animations: [
4604
4657
  trigger('slideInOut', [
4605
4658
  state('void', style({
4606
4659
  transform: 'translateX(100%)',
4607
- opacity: 0
4660
+ opacity: 0,
4608
4661
  })),
4609
4662
  state('*', style({
4610
4663
  transform: 'translateX(0)',
4611
- opacity: 1
4664
+ opacity: 1,
4612
4665
  })),
4613
- transition('void => *', [
4614
- animate('300ms ease-in')
4666
+ transition('void => *', [animate('300ms ease-in')]),
4667
+ transition('* => void', [animate('300ms ease-out')]),
4668
+ ]),
4669
+ trigger('itemAnim', [
4670
+ transition(':enter', [
4671
+ style({ opacity: 0, transform: 'translateY(-8px)' }),
4672
+ animate('220ms ease-out', style({ opacity: 1, transform: 'translateY(0)' })),
4615
4673
  ]),
4616
- transition('* => void', [
4617
- animate('300ms ease-out')
4618
- ])
4619
- ])
4674
+ transition(':leave', [
4675
+ animate('180ms ease-in', style({ opacity: 0, transform: 'translateX(40px)' })),
4676
+ ]),
4677
+ ]),
4678
+ trigger('listContainer', [
4679
+ transition('* => *', [
4680
+ query(':leave', stagger('45ms', animateChild()), { optional: true }),
4681
+ ]),
4682
+ ]),
4620
4683
  ] }); }
4621
4684
  }
4622
4685
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsComponent, decorators: [{
4623
4686
  type: Component,
4624
- args: [{ selector: 'ius-notifications', standalone: true, imports: [NotificationCardComponent, SimpleDividerComponent, ButtonSquaredTertiaryComponent, DatePipe, IconLgComponent], animations: [
4687
+ args: [{ selector: 'ius-notifications', standalone: true, imports: [
4688
+ NotificationCardComponent,
4689
+ PopoverDirective,
4690
+ SimpleDividerComponent,
4691
+ DatePipe,
4692
+ IconLgComponent,
4693
+ ButtonCircleTertiaryComponent,
4694
+ ], animations: [
4625
4695
  trigger('slideInOut', [
4626
4696
  state('void', style({
4627
4697
  transform: 'translateX(100%)',
4628
- opacity: 0
4698
+ opacity: 0,
4629
4699
  })),
4630
4700
  state('*', style({
4631
4701
  transform: 'translateX(0)',
4632
- opacity: 1
4702
+ opacity: 1,
4633
4703
  })),
4634
- transition('void => *', [
4635
- animate('300ms ease-in')
4704
+ transition('void => *', [animate('300ms ease-in')]),
4705
+ transition('* => void', [animate('300ms ease-out')]),
4706
+ ]),
4707
+ trigger('itemAnim', [
4708
+ transition(':enter', [
4709
+ style({ opacity: 0, transform: 'translateY(-8px)' }),
4710
+ animate('220ms ease-out', style({ opacity: 1, transform: 'translateY(0)' })),
4636
4711
  ]),
4637
- transition('* => void', [
4638
- animate('300ms ease-out')
4639
- ])
4640
- ])
4641
- ], template: "<div class=\"background-drawer\">\r\n @if (isVisible) {\r\n <div\r\n class=\"create-container\"\r\n @slideInOut\r\n (@slideInOut.done)=\"onAnimDone($event)\"\r\n >\r\n <div class=\"header-drawer\">\r\n <div class=\"title-header-drawer\">Panel de notificaciones</div>\r\n <ius-button-squared-tertiary\r\n [iconName]=\"'icon-cancel'\"\r\n (buttonClicked)=\"close()\"\r\n ></ius-button-squared-tertiary>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div\r\n class=\"scrollable-small\"\r\n style=\"height: calc(100% - 69px); overflow-y: auto; padding: 5px;\"\r\n >\r\n @if (alerts.length > 0) { @for (alert of alerts; track $index) {\r\n <div class=\"notification\">\r\n <ius-notification-card\r\n [date]=\"(alert?.fechaRegistro | date:'d \\'de\\' MMMM \\'de\\' y')!\"\r\n [title]=\"alert?.titulo\"\r\n [simple]=\"(alert?.tipoAlerta! === 'Simple' ? true : false)! || (alert?.tipoAlerta! === 'Hexti' ? true : false)!\"\r\n [activity]=\"alert?.tipoAlerta! === 'Actividad' ? true : false\"\r\n [process]=\"alert?.tipoAlerta! === 'Proceso' ? true : false\"\r\n [body]=\"alert?.descripcion!\"\r\n (onDone)=\"onClickDone(alert.alertaID!)\"\r\n (onPostpone15Min)=\"onPostpone(alert, '15m')\"\r\n (onPostpone30Min)=\"onPostpone(alert, '30m')\"\r\n (onPostpone1Hour)=\"onPostpone(alert, '1h')\"\r\n (onPostpone1Day)=\"onPostpone(alert, '1d')\"\r\n (onPostpone1Week)=\"onPostpone(alert, '1w')\"\r\n ></ius-notification-card>\r\n </div>\r\n }\r\n <ius-simple-divider></ius-simple-divider>\r\n }@else {\r\n <div class=\"no-notifications\">\r\n <ius-icon-lg [iconName]=\"'icon-done-outline'\"></ius-icon-lg>\r\n <ius-simple-divider></ius-simple-divider>\r\n <p>No tienes ninguna nueva notificaci\u00F3n o alerta</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.background-drawer{position:absolute;top:0;left:0;display:flex;height:100%;width:100%;justify-content:center;background-color:#0003;transition:.2s ease-in-out;align-items:center;z-index:900}.create-container{height:calc(100vh - 60px);position:absolute;z-index:1000;width:390px;top:60px;right:0;background-color:#fff;border-radius:8px 0 0 8px;box-shadow:0 2px 6px 3px #00000026,0 1px 3px #0000004d}.header-drawer{display:flex;padding:12px 16px;align-items:center}.title-header-drawer{width:100%;font-family:Roboto,sans-serif;font-size:1.25rem;color:#333;line-height:26px;letter-spacing:.2px;font-weight:500;display:flex;justify-content:start;overflow:hidden;white-space:normal;text-overflow:ellipsis}.notification{padding:2px 5px}.no-notifications{display:flex;width:70%;padding:8px;flex-direction:column;align-items:center;align-self:center;justify-self:center;gap:12px;margin-top:24px}.no-notifications p{flex:1 0 0;margin:0;display:flex;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#333;text-align:center;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.button-header-drawer{margin-left:3px;margin-top:1px}.scrollable-small::-webkit-scrollbar{-webkit-appearance:none}.scrollable-small::-webkit-scrollbar:vertical{width:8px;height:32px;padding-top:2px;padding-bottom:2px}.scrollable-small::-webkit-scrollbar:horizontal{height:5px;padding-top:2px;padding-bottom:2px}.scrollable-small::-webkit-scrollbar-thumb{background-color:#08a6db;border-radius:4px}\n"] }]
4712
+ transition(':leave', [
4713
+ animate('180ms ease-in', style({ opacity: 0, transform: 'translateX(40px)' })),
4714
+ ]),
4715
+ ]),
4716
+ trigger('listContainer', [
4717
+ transition('* => *', [
4718
+ query(':leave', stagger('45ms', animateChild()), { optional: true }),
4719
+ ]),
4720
+ ]),
4721
+ ], template: "<div class=\"background-drawer\">\r\n @if (isVisible) {\r\n <div\r\n class=\"create-container\"\r\n @slideInOut\r\n (@slideInOut.done)=\"onAnimDone($event)\"\r\n >\r\n <div class=\"header-drawer\">\r\n <div class=\"title-header-drawer\">Panel de notificaciones</div>\r\n @if (alerts.length > 0) {\r\n <ius-button-circle-tertiary\r\n class=\"button-header-drawer\"\r\n [iconName]=\"'icon-delete'\"\r\n iusPopoverContent=\"Borrar\"\r\n (buttonClicked)=\"deleteAllAlerts()\"\r\n ></ius-button-circle-tertiary>\r\n }\r\n <ius-button-circle-tertiary\r\n [iconName]=\"'icon-cancel'\"\r\n iusPopoverContent=\"Cerrar\"\r\n (buttonClicked)=\"close()\"\r\n ></ius-button-circle-tertiary>\r\n </div>\r\n <ius-simple-divider></ius-simple-divider>\r\n <div class=\"scrollable\">\r\n <div [@listContainer]=\"alerts.length\" (@listContainer.done)=\"onListDone()\">\r\n @for (alert of alerts; track trackByAlert($index, alert)) {\r\n <div class=\"notification\" @itemAnim>\r\n <ius-notification-card\r\n [date]=\"(alert?.fechaRegistro | date:'d \\'de\\' MMMM \\'de\\' y')!\"\r\n [title]=\"alert?.titulo\"\r\n [simple]=\"(alert?.tipoAlerta! === 'Simple' ? true : false)! || (alert?.tipoAlerta! === 'Hexti' ? true : false)!\"\r\n [activity]=\"alert?.tipoAlerta! === 'Actividad' ? true : false\"\r\n [confirmable]=\"alert?.tipoAlerta! === 'Confirmacion' ? true : false\"\r\n [body]=\"alert?.descripcion!\"\r\n [fechaActividad]=\"alert?.fechaActividad\"\r\n [mostrarPosponer]=\"alert?.mostrarPosponer\"\r\n (onDone)=\"onClickDone(alert.alertaID!)\"\r\n (onPostpone)=\"onPostpone(alert, $event)\"\r\n [esNavegable]=\"!!alert?.referenciaOrigenId\"\r\n (onEditActivity)=\"onEdit(alert)\"\r\n (onClickAlert)=\"onClickCard(alert)\"\r\n ></ius-notification-card>\r\n </div>\r\n }\r\n </div>\r\n @if (mostrarVacio) {\r\n <div class=\"no-notifications\">\r\n <ius-icon-lg [iconName]=\"'icon-done-outline'\"></ius-icon-lg>\r\n <ius-simple-divider></ius-simple-divider>\r\n <p>No tienes ninguna nueva notificaci\u00F3n o alerta</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.background-drawer{position:absolute;top:0;left:0;display:flex;height:100%;width:100%;justify-content:center;background-color:#0003;transition:.2s ease-in-out;align-items:center;z-index:900}.create-container{height:calc(100vh - 60px);position:absolute;z-index:1000;width:390px;top:60px;right:0;background-color:#fff;border-radius:8px 0 0 8px;box-shadow:0 2px 6px 3px #00000026,0 1px 3px #0000004d;display:flex;flex-direction:column}.header-drawer{display:flex;padding:12px 16px;align-items:center}.title-header-drawer{width:100%;font-family:Roboto,sans-serif;font-size:1.25rem;color:#333;line-height:26px;letter-spacing:.2px;font-weight:500;display:flex;justify-content:start;overflow:hidden;white-space:normal;text-overflow:ellipsis}.notification{padding:2px 5px}.no-notifications{display:flex;width:70%;padding:8px;flex-direction:column;align-items:center;align-self:center;justify-self:center;gap:12px;margin-top:24px}.no-notifications p{flex:1 0 0;margin:0;display:flex;justify-content:center;align-items:center;gap:10px;align-self:stretch;color:#333;text-align:center;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.button-header-drawer{margin-left:3px;margin-top:1px}.scrollable{flex:1 1 auto;min-height:0;padding:5px;overflow-y:auto;overflow-x:hidden}.scrollable::-webkit-scrollbar{-webkit-appearance:none}.scrollable::-webkit-scrollbar:vertical{width:7px}.scrollable::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}\n"] }]
4642
4722
  }], propDecorators: { alerts: [{
4643
4723
  type: Input,
4644
4724
  args: [{ required: true }]
@@ -4654,6 +4734,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
4654
4734
  type: Output
4655
4735
  }], onDrawerClosed: [{
4656
4736
  type: Output
4737
+ }], onEditAlert: [{
4738
+ type: Output
4739
+ }], onClickAlertEvent: [{
4740
+ type: Output
4741
+ }], onDeleteAllAlerts: [{
4742
+ type: Output
4657
4743
  }] } });
4658
4744
 
4659
4745
  class SupportPanelComponent {
@@ -4729,6 +4815,9 @@ class ToolbarComponent {
4729
4815
  this.clickAgregarAccount = new EventEmitter();
4730
4816
  this.onDoneAlert = new EventEmitter();
4731
4817
  this.onPostponeAlert = new EventEmitter();
4818
+ this.onEditAlert = new EventEmitter();
4819
+ this.onClickAlertEvent = new EventEmitter();
4820
+ this.onDeleteAllAlerts = new EventEmitter();
4732
4821
  this.onClickShowTickets = new EventEmitter();
4733
4822
  this.onClickAddTicket = new EventEmitter();
4734
4823
  this.showMenuUser = false;
@@ -4963,11 +5052,11 @@ class ToolbarComponent {
4963
5052
  this.clickAgregarAccount.emit($event);
4964
5053
  }
4965
5054
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
4966
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ToolbarComponent, isStandalone: true, selector: "ius-toolbar", inputs: { object: "object", pagina: "pagina", notificationsCount: "notificationsCount", subscripcionDetalle: "subscripcionDetalle", detallesConsumo: "detallesConsumo", accountList: "accountList", alerts: "alerts", showUsuariosGrupos: "showUsuariosGrupos", showConfiguracionCuenta: "showConfiguracionCuenta", showPagosFacturacion: "showPagosFacturacion", showSubscripcionesServicios: "showSubscripcionesServicios", showReferir: "showReferir", closeForm: "closeForm" }, outputs: { clickOpenToolbarUserMenu: "clickOpenToolbarUserMenu", clickUsuariosRoles: "clickUsuariosRoles", clickConfiguracion: "clickConfiguracion", clickPagos: "clickPagos", clickSubsServicios: "clickSubsServicios", clickCambiarCuenta: "clickCambiarCuenta", clickCerrarSesion: "clickCerrarSesion", clickPerfilPreferencias: "clickPerfilPreferencias", clickReferir: "clickReferir", clickNotificaciones: "clickNotificaciones", clickServicioVigilancia: "clickServicioVigilancia", clickServicioCorreo: "clickServicioCorreo", clickServicioLocalizador: "clickServicioLocalizador", clickServicioFirma: "clickServicioFirma", clickServicioCRM: "clickServicioCRM", clickAccountSelected: "clickAccountSelected", clickAccountPredeterminada: "clickAccountPredeterminada", clickEditAccount: "clickEditAccount", clickUnlinkAccount: "clickUnlinkAccount", clickAgregarAccount: "clickAgregarAccount", onDoneAlert: "onDoneAlert", onPostponeAlert: "onPostponeAlert", onClickShowTickets: "onClickShowTickets", onClickAddTicket: "onClickAddTicket" }, host: { listeners: { "document:click": "onClickOutside($event)" } }, viewQueries: [{ propertyName: "buttonsAccion", first: true, predicate: ["buttonsAccion"], descendants: true }], ngImport: i0, template: "<div class=\"tlb\">\r\n <div class=\"logo-page\">\r\n <div class=\"logo-lt\">\r\n <img [src]=\"object.logoLt\" alt=\"logo\" />\r\n </div>\r\n <div class=\"page\">{{ pagina }}</div>\r\n </div>\r\n <div class=\"btns\">\r\n <div class=\"tools\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-support-agent\"\r\n (buttonClicked)=\"onClickSupport()\"\r\n ></ius-button-circle-tertiary>\r\n <div class=\"notification-wrapper\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-notifications\"\r\n (buttonClicked)=\"onClickNotifications()\"\r\n ></ius-button-circle-tertiary>\r\n @if (notificationsCount > 0) {\r\n <span class=\"notification-badge\">{{ notificationsCount }}</span>\r\n }\r\n </div>\r\n <div class=\"relative\" #buttonsAccion>\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-apps\"\r\n (buttonClicked)=\"toggleShowMore()\"\r\n >\r\n </ius-button-circle-tertiary>\r\n\r\n <div class=\"more-box\" [class.active]=\"showButtonsAccion\">\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLitigio\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioVigilancia()\"\r\n ></span\r\n >Vigilancia\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCorreo\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCorreo()\"\r\n ></span\r\n >Correo\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLocalizador\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioLocalizador()\"\r\n ></span\r\n >Localizador\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgFirma\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioFirma()\"\r\n ></span\r\n >Firma\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCrm\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCRM()\"\r\n ></span\r\n >CRM\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-dropdown-user-menu\r\n #userDropdown\r\n [nameUser]=\"object.nombreUsuario\"\r\n class=\"dropdown\"\r\n [avatar]=\"object.avatarUsuario!\"\r\n [logo]=\"object.logoCompany!\"\r\n (buttonClicked)=\"onClickOpenToolbarUserMenu()\"\r\n [closeForm]=\"closeForm\"\r\n >\r\n <ius-toolbar-user-menu\r\n [object]=\"object\"\r\n [accountList]=\"accountList\"\r\n [detallesConsumo]=\"detallesConsumo\"\r\n [subscripcionDetalle]=\"subscripcionDetalle\"\r\n [showUsuariosGrupos]=\"showUsuariosGrupos\"\r\n [showConfiguracionCuenta]=\"showConfiguracionCuenta\"\r\n [showPagosFacturacion]=\"showPagosFacturacion\"\r\n [showSubscripcionesServicios]=\"showSubscripcionesServicios\"\r\n [showReferir]=\"showReferir\"\r\n (clickUsuariosRoles)=\"onClickUsuariosRoles()\"\r\n (clickConfiguracion)=\"onClickConfiguracion()\"\r\n (clickPagos)=\"onClickPagos()\"\r\n (clickSubsServicios)=\"onClickSubsServicios()\"\r\n (clickCambiarCuenta)=\"onClickCambiarCuenta()\"\r\n (clickCerrarSesion)=\"onClickCerrarSesion()\"\r\n (clickPerfilPreferencias)=\"onClickPerfilPreferencias()\"\r\n (clickReferir)=\"onClickReferir()\"\r\n (clickAgregarAccount)=\"onClickAgregarAccount($event)\"\r\n (clickAccountSelected)=\"onClickAccountSelected($event)\"\r\n (clickAccountPredeterminada)=\"onClickAccountPredeterminada($event)\"\r\n (clickEditAccount)=\"onClickEditAccount($event)\"\r\n (clickDesvincularAccount)=\"onClickUnlinkAccount($event)\"\r\n (requestClose)=\"userDropdown.close()\"\r\n ></ius-toolbar-user-menu>\r\n </ius-dropdown-user-menu>\r\n </div>\r\n</div>\r\n\r\n@if (notificationsOpen) {\r\n <ius-notifications\r\n [alerts]=\"alerts ?? []\"\r\n (onPressedBackEvent)=\"onClickNotifications()\"\r\n (onDrawerClosed)=\"notificationsOpen = false\"\r\n (onDoneAlert)=\"handleDoneAlert($event)\"\r\n (onPostponeAlert)=\"handlePostponeAlert($event)\"\r\n ></ius-notifications>\r\n}\r\n\r\n@if (supportPanel) {\r\n <ius-support-panel\r\n (onCloseForm)=\"supportPanel = false\"\r\n (onClickAddTicket)=\"onAddTicket()\"\r\n (onClickShowTickets)=\"onShowTickets()\"\r\n ></ius-support-panel>\r\n}\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tlb{position:relative;height:48px;display:flex;padding:8px 12px 8px 24px;align-items:center;border-bottom:1px solid #eaeaea;background:#fff}.logo-page{display:flex;align-items:center;gap:12px;flex:1 0 0;align-self:stretch}.logo-lt{width:212.876px;height:38px;aspect-ratio:212.88/38}.page{color:#595959;font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:400;line-height:22px}.btns{display:flex;align-items:center;gap:24px}.tools{display:flex;align-items:center;gap:4px}.relative{position:relative}.notification-wrapper{position:relative;display:inline-flex}.notification-badge{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;padding:0 4px;border-radius:100px;background:#db2e2a;border:1px solid #ffffff;color:#fff;font-family:Roboto,sans-serif;font-size:10px;font-weight:500;line-height:14px;display:flex;align-items:center;justify-content:center;z-index:1}.more-box{position:absolute;top:48px;right:0;padding:12px;gap:8px;display:grid;grid-template-columns:1fr 1fr 1fr;z-index:100;opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity .25s ease,transform .25s ease;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.more-box.active{opacity:1;transform:translateY(0);pointer-events:all}.more-box .item-btn{display:flex;width:90px;height:100px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;text-align:center;cursor:pointer;transition:transform .2s ease;border-radius:8px;border:none;background:#fff;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.more-box .item-btn:hover{transform:translateY(-2px);background:#f6f8fa}.icon-btn{width:64px;height:64px}\n"], dependencies: [{ kind: "component", type: ButtonCircleTertiaryComponent, selector: "ius-button-circle-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "component", type: DropdownUserMenuComponent, selector: "ius-dropdown-user-menu", inputs: ["isActive", "nameUser", "logo", "avatar", "disabled", "iconColor", "closeForm"], outputs: ["buttonClicked"] }, { kind: "component", type: ToolbarUserMenuComponent, selector: "ius-toolbar-user-menu", inputs: ["object", "subscripcionDetalle", "detallesConsumo", "accountList", "showUsuariosGrupos", "showConfiguracionCuenta", "showPagosFacturacion", "showSubscripcionesServicios", "showReferir"], outputs: ["clickPerfilPreferencias", "clickUsuariosRoles", "clickConfiguracion", "clickPagos", "clickSubsServicios", "clickCambiarCuenta", "clickCerrarSesion", "clickReferir", "requestClose", "clickAccountSelected", "clickAccountPredeterminada", "clickEditAccount", "clickDesvincularAccount", "clickAgregarAccount"] }, { kind: "component", type: NotificationsComponent, selector: "ius-notifications", inputs: ["alerts", "titleDrawer", "percentProgressBar"], outputs: ["onDoneAlert", "onPostponeAlert", "onPressedBackEvent", "onDrawerClosed"] }, { kind: "component", type: SupportPanelComponent, selector: "ius-support-panel", outputs: ["onCloseForm", "onClickAddTicket", "onClickShowTickets"] }] }); }
5055
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ToolbarComponent, isStandalone: true, selector: "ius-toolbar", inputs: { object: "object", pagina: "pagina", notificationsCount: "notificationsCount", subscripcionDetalle: "subscripcionDetalle", detallesConsumo: "detallesConsumo", accountList: "accountList", alerts: "alerts", showUsuariosGrupos: "showUsuariosGrupos", showConfiguracionCuenta: "showConfiguracionCuenta", showPagosFacturacion: "showPagosFacturacion", showSubscripcionesServicios: "showSubscripcionesServicios", showReferir: "showReferir", closeForm: "closeForm" }, outputs: { clickOpenToolbarUserMenu: "clickOpenToolbarUserMenu", clickUsuariosRoles: "clickUsuariosRoles", clickConfiguracion: "clickConfiguracion", clickPagos: "clickPagos", clickSubsServicios: "clickSubsServicios", clickCambiarCuenta: "clickCambiarCuenta", clickCerrarSesion: "clickCerrarSesion", clickPerfilPreferencias: "clickPerfilPreferencias", clickReferir: "clickReferir", clickNotificaciones: "clickNotificaciones", clickServicioVigilancia: "clickServicioVigilancia", clickServicioCorreo: "clickServicioCorreo", clickServicioLocalizador: "clickServicioLocalizador", clickServicioFirma: "clickServicioFirma", clickServicioCRM: "clickServicioCRM", clickAccountSelected: "clickAccountSelected", clickAccountPredeterminada: "clickAccountPredeterminada", clickEditAccount: "clickEditAccount", clickUnlinkAccount: "clickUnlinkAccount", clickAgregarAccount: "clickAgregarAccount", onDoneAlert: "onDoneAlert", onPostponeAlert: "onPostponeAlert", onEditAlert: "onEditAlert", onClickAlertEvent: "onClickAlertEvent", onDeleteAllAlerts: "onDeleteAllAlerts", onClickShowTickets: "onClickShowTickets", onClickAddTicket: "onClickAddTicket" }, host: { listeners: { "document:click": "onClickOutside($event)" } }, viewQueries: [{ propertyName: "buttonsAccion", first: true, predicate: ["buttonsAccion"], descendants: true }], ngImport: i0, template: "<div class=\"tlb\">\r\n <div class=\"logo-page\">\r\n <div class=\"logo-lt\">\r\n <img [src]=\"object.logoLt\" alt=\"logo\" />\r\n </div>\r\n <div class=\"page\">{{ pagina }}</div>\r\n </div>\r\n <div class=\"btns\">\r\n <div class=\"tools\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-support-agent\"\r\n (buttonClicked)=\"onClickSupport()\"\r\n ></ius-button-circle-tertiary>\r\n <div class=\"notification-wrapper\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-notifications\"\r\n (buttonClicked)=\"onClickNotifications()\"\r\n ></ius-button-circle-tertiary>\r\n @if (notificationsCount > 0) {\r\n <span class=\"notification-badge\">{{ notificationsCount }}</span>\r\n }\r\n </div>\r\n <div class=\"relative\" #buttonsAccion>\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-apps\"\r\n (buttonClicked)=\"toggleShowMore()\"\r\n >\r\n </ius-button-circle-tertiary>\r\n\r\n <div class=\"more-box\" [class.active]=\"showButtonsAccion\">\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLitigio\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioVigilancia()\"\r\n ></span\r\n >Vigilancia\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCorreo\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCorreo()\"\r\n ></span\r\n >Correo\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLocalizador\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioLocalizador()\"\r\n ></span\r\n >Localizador\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgFirma\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioFirma()\"\r\n ></span\r\n >Firma\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCrm\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCRM()\"\r\n ></span\r\n >CRM\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-dropdown-user-menu\r\n #userDropdown\r\n [nameUser]=\"object.nombreUsuario\"\r\n class=\"dropdown\"\r\n [avatar]=\"object.avatarUsuario!\"\r\n [logo]=\"object.logoCompany!\"\r\n (buttonClicked)=\"onClickOpenToolbarUserMenu()\"\r\n [closeForm]=\"closeForm\"\r\n >\r\n <ius-toolbar-user-menu\r\n [object]=\"object\"\r\n [accountList]=\"accountList\"\r\n [detallesConsumo]=\"detallesConsumo\"\r\n [subscripcionDetalle]=\"subscripcionDetalle\"\r\n [showUsuariosGrupos]=\"showUsuariosGrupos\"\r\n [showConfiguracionCuenta]=\"showConfiguracionCuenta\"\r\n [showPagosFacturacion]=\"showPagosFacturacion\"\r\n [showSubscripcionesServicios]=\"showSubscripcionesServicios\"\r\n [showReferir]=\"showReferir\"\r\n (clickUsuariosRoles)=\"onClickUsuariosRoles()\"\r\n (clickConfiguracion)=\"onClickConfiguracion()\"\r\n (clickPagos)=\"onClickPagos()\"\r\n (clickSubsServicios)=\"onClickSubsServicios()\"\r\n (clickCambiarCuenta)=\"onClickCambiarCuenta()\"\r\n (clickCerrarSesion)=\"onClickCerrarSesion()\"\r\n (clickPerfilPreferencias)=\"onClickPerfilPreferencias()\"\r\n (clickReferir)=\"onClickReferir()\"\r\n (clickAgregarAccount)=\"onClickAgregarAccount($event)\"\r\n (clickAccountSelected)=\"onClickAccountSelected($event)\"\r\n (clickAccountPredeterminada)=\"onClickAccountPredeterminada($event)\"\r\n (clickEditAccount)=\"onClickEditAccount($event)\"\r\n (clickDesvincularAccount)=\"onClickUnlinkAccount($event)\"\r\n (requestClose)=\"userDropdown.close()\"\r\n ></ius-toolbar-user-menu>\r\n </ius-dropdown-user-menu>\r\n </div>\r\n</div>\r\n\r\n@if (notificationsOpen) {\r\n <ius-notifications\r\n [alerts]=\"alerts ?? []\"\r\n (onPressedBackEvent)=\"onClickNotifications()\"\r\n (onDrawerClosed)=\"notificationsOpen = false\"\r\n (onDoneAlert)=\"handleDoneAlert($event)\"\r\n (onPostponeAlert)=\"handlePostponeAlert($event)\"\r\n (onEditAlert)=\"onEditAlert.emit($event)\"\r\n (onClickAlertEvent)=\"onClickAlertEvent.emit($event)\"\r\n (onDeleteAllAlerts)=\"onDeleteAllAlerts.emit()\"\r\n ></ius-notifications>\r\n}\r\n\r\n@if (supportPanel) {\r\n <ius-support-panel\r\n (onCloseForm)=\"supportPanel = false\"\r\n (onClickAddTicket)=\"onAddTicket()\"\r\n (onClickShowTickets)=\"onShowTickets()\"\r\n ></ius-support-panel>\r\n}\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tlb{position:relative;height:48px;display:flex;padding:8px 12px 8px 24px;align-items:center;border-bottom:1px solid #eaeaea;background:#fff}.logo-page{display:flex;align-items:center;gap:12px;flex:1 0 0;align-self:stretch}.logo-lt{width:212.876px;height:38px;aspect-ratio:212.88/38}.page{color:#595959;font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:400;line-height:22px}.btns{display:flex;align-items:center;gap:24px}.tools{display:flex;align-items:center;gap:4px}.relative{position:relative}.notification-wrapper{position:relative;display:inline-flex}.notification-badge{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;padding:0 4px;border-radius:100px;background:#db2e2a;border:1px solid #ffffff;color:#fff;font-family:Roboto,sans-serif;font-size:10px;font-weight:500;line-height:14px;display:flex;align-items:center;justify-content:center;z-index:1}.more-box{position:absolute;top:48px;right:0;padding:12px;gap:8px;display:grid;grid-template-columns:1fr 1fr 1fr;z-index:100;opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity .25s ease,transform .25s ease;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.more-box.active{opacity:1;transform:translateY(0);pointer-events:all}.more-box .item-btn{display:flex;width:90px;height:100px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;text-align:center;cursor:pointer;transition:transform .2s ease;border-radius:8px;border:none;background:#fff;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.more-box .item-btn:hover{transform:translateY(-2px);background:#f6f8fa}.icon-btn{width:64px;height:64px}\n"], dependencies: [{ kind: "component", type: ButtonCircleTertiaryComponent, selector: "ius-button-circle-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "component", type: DropdownUserMenuComponent, selector: "ius-dropdown-user-menu", inputs: ["isActive", "nameUser", "logo", "avatar", "disabled", "iconColor", "closeForm"], outputs: ["buttonClicked"] }, { kind: "component", type: ToolbarUserMenuComponent, selector: "ius-toolbar-user-menu", inputs: ["object", "subscripcionDetalle", "detallesConsumo", "accountList", "showUsuariosGrupos", "showConfiguracionCuenta", "showPagosFacturacion", "showSubscripcionesServicios", "showReferir"], outputs: ["clickPerfilPreferencias", "clickUsuariosRoles", "clickConfiguracion", "clickPagos", "clickSubsServicios", "clickCambiarCuenta", "clickCerrarSesion", "clickReferir", "requestClose", "clickAccountSelected", "clickAccountPredeterminada", "clickEditAccount", "clickDesvincularAccount", "clickAgregarAccount"] }, { kind: "component", type: NotificationsComponent, selector: "ius-notifications", inputs: ["alerts", "titleDrawer", "percentProgressBar"], outputs: ["onDoneAlert", "onPostponeAlert", "onPressedBackEvent", "onDrawerClosed", "onEditAlert", "onClickAlertEvent", "onDeleteAllAlerts"] }, { kind: "component", type: SupportPanelComponent, selector: "ius-support-panel", outputs: ["onCloseForm", "onClickAddTicket", "onClickShowTickets"] }] }); }
4967
5056
  }
4968
5057
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ToolbarComponent, decorators: [{
4969
5058
  type: Component,
4970
- args: [{ selector: 'ius-toolbar', standalone: true, imports: [ButtonCircleTertiaryComponent, DropdownUserMenuComponent, ToolbarUserMenuComponent, NotificationsComponent, SupportPanelComponent], template: "<div class=\"tlb\">\r\n <div class=\"logo-page\">\r\n <div class=\"logo-lt\">\r\n <img [src]=\"object.logoLt\" alt=\"logo\" />\r\n </div>\r\n <div class=\"page\">{{ pagina }}</div>\r\n </div>\r\n <div class=\"btns\">\r\n <div class=\"tools\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-support-agent\"\r\n (buttonClicked)=\"onClickSupport()\"\r\n ></ius-button-circle-tertiary>\r\n <div class=\"notification-wrapper\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-notifications\"\r\n (buttonClicked)=\"onClickNotifications()\"\r\n ></ius-button-circle-tertiary>\r\n @if (notificationsCount > 0) {\r\n <span class=\"notification-badge\">{{ notificationsCount }}</span>\r\n }\r\n </div>\r\n <div class=\"relative\" #buttonsAccion>\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-apps\"\r\n (buttonClicked)=\"toggleShowMore()\"\r\n >\r\n </ius-button-circle-tertiary>\r\n\r\n <div class=\"more-box\" [class.active]=\"showButtonsAccion\">\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLitigio\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioVigilancia()\"\r\n ></span\r\n >Vigilancia\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCorreo\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCorreo()\"\r\n ></span\r\n >Correo\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLocalizador\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioLocalizador()\"\r\n ></span\r\n >Localizador\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgFirma\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioFirma()\"\r\n ></span\r\n >Firma\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCrm\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCRM()\"\r\n ></span\r\n >CRM\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-dropdown-user-menu\r\n #userDropdown\r\n [nameUser]=\"object.nombreUsuario\"\r\n class=\"dropdown\"\r\n [avatar]=\"object.avatarUsuario!\"\r\n [logo]=\"object.logoCompany!\"\r\n (buttonClicked)=\"onClickOpenToolbarUserMenu()\"\r\n [closeForm]=\"closeForm\"\r\n >\r\n <ius-toolbar-user-menu\r\n [object]=\"object\"\r\n [accountList]=\"accountList\"\r\n [detallesConsumo]=\"detallesConsumo\"\r\n [subscripcionDetalle]=\"subscripcionDetalle\"\r\n [showUsuariosGrupos]=\"showUsuariosGrupos\"\r\n [showConfiguracionCuenta]=\"showConfiguracionCuenta\"\r\n [showPagosFacturacion]=\"showPagosFacturacion\"\r\n [showSubscripcionesServicios]=\"showSubscripcionesServicios\"\r\n [showReferir]=\"showReferir\"\r\n (clickUsuariosRoles)=\"onClickUsuariosRoles()\"\r\n (clickConfiguracion)=\"onClickConfiguracion()\"\r\n (clickPagos)=\"onClickPagos()\"\r\n (clickSubsServicios)=\"onClickSubsServicios()\"\r\n (clickCambiarCuenta)=\"onClickCambiarCuenta()\"\r\n (clickCerrarSesion)=\"onClickCerrarSesion()\"\r\n (clickPerfilPreferencias)=\"onClickPerfilPreferencias()\"\r\n (clickReferir)=\"onClickReferir()\"\r\n (clickAgregarAccount)=\"onClickAgregarAccount($event)\"\r\n (clickAccountSelected)=\"onClickAccountSelected($event)\"\r\n (clickAccountPredeterminada)=\"onClickAccountPredeterminada($event)\"\r\n (clickEditAccount)=\"onClickEditAccount($event)\"\r\n (clickDesvincularAccount)=\"onClickUnlinkAccount($event)\"\r\n (requestClose)=\"userDropdown.close()\"\r\n ></ius-toolbar-user-menu>\r\n </ius-dropdown-user-menu>\r\n </div>\r\n</div>\r\n\r\n@if (notificationsOpen) {\r\n <ius-notifications\r\n [alerts]=\"alerts ?? []\"\r\n (onPressedBackEvent)=\"onClickNotifications()\"\r\n (onDrawerClosed)=\"notificationsOpen = false\"\r\n (onDoneAlert)=\"handleDoneAlert($event)\"\r\n (onPostponeAlert)=\"handlePostponeAlert($event)\"\r\n ></ius-notifications>\r\n}\r\n\r\n@if (supportPanel) {\r\n <ius-support-panel\r\n (onCloseForm)=\"supportPanel = false\"\r\n (onClickAddTicket)=\"onAddTicket()\"\r\n (onClickShowTickets)=\"onShowTickets()\"\r\n ></ius-support-panel>\r\n}\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tlb{position:relative;height:48px;display:flex;padding:8px 12px 8px 24px;align-items:center;border-bottom:1px solid #eaeaea;background:#fff}.logo-page{display:flex;align-items:center;gap:12px;flex:1 0 0;align-self:stretch}.logo-lt{width:212.876px;height:38px;aspect-ratio:212.88/38}.page{color:#595959;font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:400;line-height:22px}.btns{display:flex;align-items:center;gap:24px}.tools{display:flex;align-items:center;gap:4px}.relative{position:relative}.notification-wrapper{position:relative;display:inline-flex}.notification-badge{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;padding:0 4px;border-radius:100px;background:#db2e2a;border:1px solid #ffffff;color:#fff;font-family:Roboto,sans-serif;font-size:10px;font-weight:500;line-height:14px;display:flex;align-items:center;justify-content:center;z-index:1}.more-box{position:absolute;top:48px;right:0;padding:12px;gap:8px;display:grid;grid-template-columns:1fr 1fr 1fr;z-index:100;opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity .25s ease,transform .25s ease;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.more-box.active{opacity:1;transform:translateY(0);pointer-events:all}.more-box .item-btn{display:flex;width:90px;height:100px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;text-align:center;cursor:pointer;transition:transform .2s ease;border-radius:8px;border:none;background:#fff;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.more-box .item-btn:hover{transform:translateY(-2px);background:#f6f8fa}.icon-btn{width:64px;height:64px}\n"] }]
5059
+ args: [{ selector: 'ius-toolbar', standalone: true, imports: [ButtonCircleTertiaryComponent, DropdownUserMenuComponent, ToolbarUserMenuComponent, NotificationsComponent, SupportPanelComponent], template: "<div class=\"tlb\">\r\n <div class=\"logo-page\">\r\n <div class=\"logo-lt\">\r\n <img [src]=\"object.logoLt\" alt=\"logo\" />\r\n </div>\r\n <div class=\"page\">{{ pagina }}</div>\r\n </div>\r\n <div class=\"btns\">\r\n <div class=\"tools\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-support-agent\"\r\n (buttonClicked)=\"onClickSupport()\"\r\n ></ius-button-circle-tertiary>\r\n <div class=\"notification-wrapper\">\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-notifications\"\r\n (buttonClicked)=\"onClickNotifications()\"\r\n ></ius-button-circle-tertiary>\r\n @if (notificationsCount > 0) {\r\n <span class=\"notification-badge\">{{ notificationsCount }}</span>\r\n }\r\n </div>\r\n <div class=\"relative\" #buttonsAccion>\r\n <ius-button-circle-tertiary\r\n iconName=\"icon-apps\"\r\n (buttonClicked)=\"toggleShowMore()\"\r\n >\r\n </ius-button-circle-tertiary>\r\n\r\n <div class=\"more-box\" [class.active]=\"showButtonsAccion\">\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLitigio\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioVigilancia()\"\r\n ></span\r\n >Vigilancia\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCorreo\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCorreo()\"\r\n ></span\r\n >Correo\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgLocalizador\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioLocalizador()\"\r\n ></span\r\n >Localizador\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgFirma\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioFirma()\"\r\n ></span\r\n >Firma\r\n </button>\r\n <button class=\"item-btn\">\r\n <span\r\n [innerHTML]=\"svgCrm\"\r\n class=\"icon-btn\"\r\n (click)=\"onClickServicioCRM()\"\r\n ></span\r\n >CRM\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <ius-dropdown-user-menu\r\n #userDropdown\r\n [nameUser]=\"object.nombreUsuario\"\r\n class=\"dropdown\"\r\n [avatar]=\"object.avatarUsuario!\"\r\n [logo]=\"object.logoCompany!\"\r\n (buttonClicked)=\"onClickOpenToolbarUserMenu()\"\r\n [closeForm]=\"closeForm\"\r\n >\r\n <ius-toolbar-user-menu\r\n [object]=\"object\"\r\n [accountList]=\"accountList\"\r\n [detallesConsumo]=\"detallesConsumo\"\r\n [subscripcionDetalle]=\"subscripcionDetalle\"\r\n [showUsuariosGrupos]=\"showUsuariosGrupos\"\r\n [showConfiguracionCuenta]=\"showConfiguracionCuenta\"\r\n [showPagosFacturacion]=\"showPagosFacturacion\"\r\n [showSubscripcionesServicios]=\"showSubscripcionesServicios\"\r\n [showReferir]=\"showReferir\"\r\n (clickUsuariosRoles)=\"onClickUsuariosRoles()\"\r\n (clickConfiguracion)=\"onClickConfiguracion()\"\r\n (clickPagos)=\"onClickPagos()\"\r\n (clickSubsServicios)=\"onClickSubsServicios()\"\r\n (clickCambiarCuenta)=\"onClickCambiarCuenta()\"\r\n (clickCerrarSesion)=\"onClickCerrarSesion()\"\r\n (clickPerfilPreferencias)=\"onClickPerfilPreferencias()\"\r\n (clickReferir)=\"onClickReferir()\"\r\n (clickAgregarAccount)=\"onClickAgregarAccount($event)\"\r\n (clickAccountSelected)=\"onClickAccountSelected($event)\"\r\n (clickAccountPredeterminada)=\"onClickAccountPredeterminada($event)\"\r\n (clickEditAccount)=\"onClickEditAccount($event)\"\r\n (clickDesvincularAccount)=\"onClickUnlinkAccount($event)\"\r\n (requestClose)=\"userDropdown.close()\"\r\n ></ius-toolbar-user-menu>\r\n </ius-dropdown-user-menu>\r\n </div>\r\n</div>\r\n\r\n@if (notificationsOpen) {\r\n <ius-notifications\r\n [alerts]=\"alerts ?? []\"\r\n (onPressedBackEvent)=\"onClickNotifications()\"\r\n (onDrawerClosed)=\"notificationsOpen = false\"\r\n (onDoneAlert)=\"handleDoneAlert($event)\"\r\n (onPostponeAlert)=\"handlePostponeAlert($event)\"\r\n (onEditAlert)=\"onEditAlert.emit($event)\"\r\n (onClickAlertEvent)=\"onClickAlertEvent.emit($event)\"\r\n (onDeleteAllAlerts)=\"onDeleteAllAlerts.emit()\"\r\n ></ius-notifications>\r\n}\r\n\r\n@if (supportPanel) {\r\n <ius-support-panel\r\n (onCloseForm)=\"supportPanel = false\"\r\n (onClickAddTicket)=\"onAddTicket()\"\r\n (onClickShowTickets)=\"onShowTickets()\"\r\n ></ius-support-panel>\r\n}\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.tlb{position:relative;height:48px;display:flex;padding:8px 12px 8px 24px;align-items:center;border-bottom:1px solid #eaeaea;background:#fff}.logo-page{display:flex;align-items:center;gap:12px;flex:1 0 0;align-self:stretch}.logo-lt{width:212.876px;height:38px;aspect-ratio:212.88/38}.page{color:#595959;font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:400;line-height:22px}.btns{display:flex;align-items:center;gap:24px}.tools{display:flex;align-items:center;gap:4px}.relative{position:relative}.notification-wrapper{position:relative;display:inline-flex}.notification-badge{position:absolute;top:-2px;right:-2px;min-width:16px;height:16px;padding:0 4px;border-radius:100px;background:#db2e2a;border:1px solid #ffffff;color:#fff;font-family:Roboto,sans-serif;font-size:10px;font-weight:500;line-height:14px;display:flex;align-items:center;justify-content:center;z-index:1}.more-box{position:absolute;top:48px;right:0;padding:12px;gap:8px;display:grid;grid-template-columns:1fr 1fr 1fr;z-index:100;opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity .25s ease,transform .25s ease;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.more-box.active{opacity:1;transform:translateY(0);pointer-events:all}.more-box .item-btn{display:flex;width:90px;height:100px;box-sizing:border-box;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;text-align:center;cursor:pointer;transition:transform .2s ease;border-radius:8px;border:none;background:#fff;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.more-box .item-btn:hover{transform:translateY(-2px);background:#f6f8fa}.icon-btn{width:64px;height:64px}\n"] }]
4971
5060
  }], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { object: [{
4972
5061
  type: Input,
4973
5062
  args: [{ required: true }]
@@ -5039,6 +5128,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
5039
5128
  type: Output
5040
5129
  }], onPostponeAlert: [{
5041
5130
  type: Output
5131
+ }], onEditAlert: [{
5132
+ type: Output
5133
+ }], onClickAlertEvent: [{
5134
+ type: Output
5135
+ }], onDeleteAllAlerts: [{
5136
+ type: Output
5042
5137
  }], onClickShowTickets: [{
5043
5138
  type: Output
5044
5139
  }], onClickAddTicket: [{
@@ -7983,11 +8078,11 @@ class AlertComponent {
7983
8078
  this.onClickLeftButton();
7984
8079
  }
7985
8080
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertComponent, deps: [{ token: i1$2.Overlay }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
7986
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AlertComponent, isStandalone: true, selector: "ius-alert", inputs: { title: "title", text: "text", leftButtonName: "leftButtonName", rightButtonName: "rightButtonName" }, outputs: { onRightButtonClick: "onRightButtonClick", onLeftButtonClick: "onLeftButtonClick" }, viewQueries: [{ propertyName: "modalTpl", first: true, predicate: ["modalTpl"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #modalTpl>\r\n <div class=\"modal\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n\r\n <p class=\"msg\">{{ text }}</p>\r\n\r\n <div class=\"actions\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickLeftButton()\">{{\r\n leftButtonName\r\n }}</ius-button-standard-secondary>\r\n <ius-button-dynamic\r\n [labelDefault]=\"rightButtonName\"\r\n (buttonClicked)=\"onClickRightButton()\"\r\n ></ius-button-dynamic>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.modal{background:#fff;border-radius:16px;padding:18px;box-shadow:0 18px 45px #00000040;display:flex;flex-direction:column;max-width:450px}.title{color:#333;font-family:Roboto,sans-serif;font-size:1.25rem;font-style:normal;font-weight:700;line-height:26px;letter-spacing:.2px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.msg{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.actions{display:flex;padding:8px 16px;justify-content:space-evenly;gap:4px}\n"], dependencies: [{ kind: "ngmodule", type: OverlayModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: PortalModule }, { kind: "component", type: ButtonStandardSecondaryComponent, selector: "ius-button-standard-secondary", inputs: ["disabled"], outputs: ["buttonClicked"] }, { kind: "component", type: ButtonDynamicComponent, selector: "ius-button-dynamic", inputs: ["labelDefault", "labelSuccess", "labelError", "disabled", "loading", "result", "prefixIcon", "sufixIcon", "autoReset", "autoResetDelay"], outputs: ["buttonClicked"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }] }); }
8081
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AlertComponent, isStandalone: true, selector: "ius-alert", inputs: { title: "title", text: "text", leftButtonName: "leftButtonName", rightButtonName: "rightButtonName" }, outputs: { onRightButtonClick: "onRightButtonClick", onLeftButtonClick: "onLeftButtonClick" }, viewQueries: [{ propertyName: "modalTpl", first: true, predicate: ["modalTpl"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #modalTpl>\r\n <div class=\"modal\">\r\n <div class=\"header\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n </div>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n\r\n <div class=\"body\">\r\n <p class=\"msg\">{{ text }}</p>\r\n </div>\r\n\r\n <div class=\"actions\">\r\n <div class=\"action-item\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickLeftButton()\">{{\r\n leftButtonName\r\n }}</ius-button-standard-secondary>\r\n </div>\r\n <div class=\"action-item\">\r\n <ius-button-dynamic\r\n [labelDefault]=\"rightButtonName\"\r\n (buttonClicked)=\"onClickRightButton()\"\r\n ></ius-button-dynamic>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.modal{background:#fff;border-radius:8px;padding:8px 0 4px;box-shadow:0 18px 45px #00000040;display:flex;flex-direction:column;max-width:362px;align-items:center;gap:4px;flex-shrink:0}.header{display:flex;padding:8px 20px 8px 12px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:8px;background:#fff}.title{color:#333;font-family:Roboto,sans-serif;font-size:1.25rem;font-style:normal;font-weight:700;line-height:26px;letter-spacing:.2px;overflow-wrap:anywhere;word-break:break-word;white-space:normal;margin:0}.body{display:flex;padding:0 16px;align-items:center;gap:10px;align-self:stretch}.msg{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px;overflow-wrap:anywhere;word-break:break-word;white-space:normal;margin:0}.actions{display:flex;padding:8px 16px;justify-content:space-evenly;gap:4px;width:90%}.action-item{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: OverlayModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: PortalModule }, { kind: "component", type: ButtonStandardSecondaryComponent, selector: "ius-button-standard-secondary", inputs: ["disabled"], outputs: ["buttonClicked"] }, { kind: "component", type: ButtonDynamicComponent, selector: "ius-button-dynamic", inputs: ["labelDefault", "labelSuccess", "labelError", "disabled", "loading", "result", "prefixIcon", "sufixIcon", "autoReset", "autoResetDelay"], outputs: ["buttonClicked"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }] }); }
7987
8082
  }
7988
8083
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertComponent, decorators: [{
7989
8084
  type: Component,
7990
- args: [{ selector: 'ius-alert', standalone: true, imports: [OverlayModule, CommonModule, PortalModule, ButtonStandardSecondaryComponent, ButtonDynamicComponent, SimpleDividerComponent], template: "<ng-template #modalTpl>\r\n <div class=\"modal\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n\r\n <p class=\"msg\">{{ text }}</p>\r\n\r\n <div class=\"actions\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickLeftButton()\">{{\r\n leftButtonName\r\n }}</ius-button-standard-secondary>\r\n <ius-button-dynamic\r\n [labelDefault]=\"rightButtonName\"\r\n (buttonClicked)=\"onClickRightButton()\"\r\n ></ius-button-dynamic>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.modal{background:#fff;border-radius:16px;padding:18px;box-shadow:0 18px 45px #00000040;display:flex;flex-direction:column;max-width:450px}.title{color:#333;font-family:Roboto,sans-serif;font-size:1.25rem;font-style:normal;font-weight:700;line-height:26px;letter-spacing:.2px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.msg{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.actions{display:flex;padding:8px 16px;justify-content:space-evenly;gap:4px}\n"] }]
8085
+ args: [{ selector: 'ius-alert', standalone: true, imports: [OverlayModule, CommonModule, PortalModule, ButtonStandardSecondaryComponent, ButtonDynamicComponent, SimpleDividerComponent], template: "<ng-template #modalTpl>\r\n <div class=\"modal\">\r\n <div class=\"header\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n </div>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n\r\n <div class=\"body\">\r\n <p class=\"msg\">{{ text }}</p>\r\n </div>\r\n\r\n <div class=\"actions\">\r\n <div class=\"action-item\">\r\n <ius-button-standard-secondary (buttonClicked)=\"onClickLeftButton()\">{{\r\n leftButtonName\r\n }}</ius-button-standard-secondary>\r\n </div>\r\n <div class=\"action-item\">\r\n <ius-button-dynamic\r\n [labelDefault]=\"rightButtonName\"\r\n (buttonClicked)=\"onClickRightButton()\"\r\n ></ius-button-dynamic>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.modal{background:#fff;border-radius:8px;padding:8px 0 4px;box-shadow:0 18px 45px #00000040;display:flex;flex-direction:column;max-width:362px;align-items:center;gap:4px;flex-shrink:0}.header{display:flex;padding:8px 20px 8px 12px;justify-content:center;align-items:center;gap:8px;flex-shrink:0;border-radius:8px;background:#fff}.title{color:#333;font-family:Roboto,sans-serif;font-size:1.25rem;font-style:normal;font-weight:700;line-height:26px;letter-spacing:.2px;overflow-wrap:anywhere;word-break:break-word;white-space:normal;margin:0}.body{display:flex;padding:0 16px;align-items:center;gap:10px;align-self:stretch}.msg{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px;overflow-wrap:anywhere;word-break:break-word;white-space:normal;margin:0}.actions{display:flex;padding:8px 16px;justify-content:space-evenly;gap:4px;width:90%}.action-item{width:100%}\n"] }]
7991
8086
  }], ctorParameters: () => [{ type: i1$2.Overlay }, { type: i0.ViewContainerRef }], propDecorators: { modalTpl: [{
7992
8087
  type: ViewChild,
7993
8088
  args: ['modalTpl', { static: true }]