ng-components-tsi 0.0.38 → 0.0.39
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.
- package/fesm2022/ng-components-tsi.mjs +5063 -0
- package/fesm2022/ng-components-tsi.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/directivas/acciones/atajos.directive.d.ts +8 -0
- package/lib/directivas/animaciones/fade-animation.d.ts +3 -0
- package/lib/directivas/estilos/animated-checkbox.directive.d.ts +9 -0
- package/lib/directivas/estilos/button.constants.d.ts +64 -0
- package/lib/directivas/estilos/buttons-modal.directive.d.ts +11 -0
- package/lib/directivas/estilos/buttons-outline-directive.d.ts +11 -0
- package/lib/directivas/estilos/icons.directive.d.ts +11 -0
- package/lib/directivas/inputs/caracteres-codigo.directive.d.ts +12 -0
- package/lib/directivas/inputs/decimal.directive.d.ts +13 -0
- package/lib/directivas/inputs/only-day.directive.d.ts +8 -0
- package/lib/directivas/inputs/only-number-flex.directive.d.ts +9 -0
- package/lib/directivas/inputs/only-number.directive.d.ts +8 -0
- package/lib/enums/table-events.d.ts +5 -0
- package/lib/modals/general/md-generico/md-generico.component.d.ts +25 -0
- package/lib/models/button-color.model.d.ts +3 -0
- package/{src/lib/models/button-properties.model.ts → lib/models/button-properties.model.d.ts} +7 -8
- package/lib/models/cell-rendered.d.ts +11 -0
- package/lib/models/comercial/documentos-cab-auxiliares.model.d.ts +17 -0
- package/{src/lib/models/dropdownoption.model.ts → lib/models/dropdownoption.model.d.ts} +14 -15
- package/lib/models/general/recursos.model.d.ts +271 -0
- package/lib/models/general/utils.interface.d.ts +57 -0
- package/lib/models/input-config.d.ts +25 -0
- package/{src/lib/models/selected-row.ts → lib/models/selected-row.d.ts} +4 -4
- package/{src/lib/models/table-data.model.ts → lib/models/table-data.model.d.ts} +21 -21
- package/lib/service/alert-confirmation.service.d.ts +26 -0
- package/lib/service/alert-error.service.d.ts +9 -0
- package/lib/service/alert.service.d.ts +33 -0
- package/lib/service/formateador.service.d.ts +10 -0
- package/lib/service/toast.service.d.ts +25 -0
- package/lib/ui/alerts/alert-confirmation/alert-confirmation.component.d.ts +32 -0
- package/lib/ui/alerts/alert-error/alert-error.component.d.ts +9 -0
- package/lib/ui/alerts/alerta/alerta.component.d.ts +12 -0
- package/lib/ui/alerts/badge/badge.component.d.ts +8 -0
- package/lib/ui/alerts/toaster/toaster.component.d.ts +17 -0
- package/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.d.ts +11 -0
- package/lib/ui/dropdown/dropdown-simple/dropdown.component.d.ts +13 -0
- package/lib/ui/forms/button/button.component.d.ts +47 -0
- package/lib/ui/forms/filter-toggle/filter-toggle.component.d.ts +9 -0
- package/lib/ui/forms/header/header.component.d.ts +17 -0
- package/lib/ui/forms/inputs/autocomplete/autocomplete.component.d.ts +43 -0
- package/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.d.ts +48 -0
- package/lib/ui/forms/inputs/check-box/check-box.component.d.ts +14 -0
- package/lib/ui/forms/inputs/doble-input/doble-input.component.d.ts +47 -0
- package/lib/ui/forms/inputs/input/input.component.d.ts +60 -0
- package/lib/ui/forms/inputs/input-clase/input-clase.component.d.ts +13 -0
- package/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.d.ts +8 -0
- package/lib/ui/forms/inputs/input-radio/input-radio.component.d.ts +24 -0
- package/lib/ui/forms/inputs/multiselected/multiselected.component.d.ts +39 -0
- package/lib/ui/forms/inputs/radio/radio.component.d.ts +14 -0
- package/lib/ui/forms/inputs/switch/switch.component.d.ts +20 -0
- package/lib/ui/forms/inputs/switch-activo/switch-activo.component.d.ts +21 -0
- package/lib/ui/forms/lists/list-option/list-option.component.d.ts +23 -0
- package/lib/ui/forms/lists/list-situaciones/list-situaciones.component.d.ts +28 -0
- package/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.d.ts +26 -0
- package/lib/ui/forms/sidebar/sidebar.component.d.ts +15 -0
- package/lib/ui/general/detalle-credito/detalle-credito.component.d.ts +8 -0
- package/lib/ui/general/montos-calcular/montos-calcular.component.d.ts +12 -0
- package/lib/ui/general/spinner/spinner.component.d.ts +5 -0
- package/lib/ui/tables/card-mobile/card-mobile.component.d.ts +17 -0
- package/lib/ui/tables/dropdown-menu/dropdown-menu.component.d.ts +43 -0
- package/lib/ui/tables/paginador/paginador.component.d.ts +20 -0
- package/lib/ui/tables/table-advance/table-advance.component.d.ts +94 -0
- package/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.d.ts +82 -0
- package/lib/ui/tables/table-agrupada/table-agrupada.component.d.ts +96 -0
- package/lib/ui/tables/table-busqueda/table-busqueda.component.d.ts +48 -0
- package/lib/ui/tables/table-detalle/table-detalle.component.d.ts +59 -0
- package/lib/ui/tables/table-simple/table-simple.component.d.ts +39 -0
- package/lib/ui/tables/table-ultimate/table-ultimate.component.d.ts +84 -0
- package/lib/ui/tabs/nav-tabs/nav-tabs.component.d.ts +9 -0
- package/lib/ui/tabs/tab-item/tab-item.component.d.ts +9 -0
- package/lib/utils/general/validaciones-simple.d.ts +2 -0
- package/lib/utils/general/validaciones.d.ts +11 -0
- package/lib/utils/helpers/api-result.d.ts +17 -0
- package/lib/utils/helpers/modal-result.d.ts +10 -0
- package/ng-components-tsi-0.0.39.tgz +0 -0
- package/package.json +31 -23
- package/{src/public-api.ts → public-api.d.ts} +68 -99
- package/ng-package.json +0 -7
- package/src/lib/directivas/acciones/atajos.directive.ts +0 -26
- package/src/lib/directivas/animaciones/fade-animation.ts +0 -45
- package/src/lib/directivas/animaciones/fade.directive.ts +0 -43
- package/src/lib/directivas/estilos/animated-checkbox.directive.ts +0 -26
- package/src/lib/directivas/estilos/button.constants.ts +0 -66
- package/src/lib/directivas/estilos/buttons-modal.directive.ts +0 -36
- package/src/lib/directivas/estilos/buttons-outline-directive.ts +0 -27
- package/src/lib/directivas/estilos/icons.directive.ts +0 -26
- package/src/lib/directivas/inputs/caracteres-codigo.directive.ts +0 -63
- package/src/lib/directivas/inputs/decimal.directive.ts +0 -51
- package/src/lib/directivas/inputs/only-day.directive.ts +0 -53
- package/src/lib/directivas/inputs/only-number-flex.directive.ts +0 -50
- package/src/lib/directivas/inputs/only-number.directive.ts +0 -53
- package/src/lib/enums/table-events.ts +0 -5
- package/src/lib/modals/general/md-generico/md-generico.component.html +0 -44
- package/src/lib/modals/general/md-generico/md-generico.component.scss +0 -4
- package/src/lib/modals/general/md-generico/md-generico.component.ts +0 -50
- package/src/lib/models/button-color.model.ts +0 -9
- package/src/lib/models/cell-rendered.ts +0 -12
- package/src/lib/models/comercial/documentos-cab-auxiliares.model.ts +0 -18
- package/src/lib/models/general/recursos.model.ts +0 -285
- package/src/lib/models/general/utils.interface.ts +0 -66
- package/src/lib/models/input-config.ts +0 -26
- package/src/lib/service/alert-confirmation.service.ts +0 -87
- package/src/lib/service/alert-error.service.ts +0 -27
- package/src/lib/service/alert.service.ts +0 -216
- package/src/lib/service/formateador.service.ts +0 -49
- package/src/lib/service/toast.service.ts +0 -75
- package/src/lib/ui/alerts/alert-confirmation/alert-confirmation.component.html +0 -40
- package/src/lib/ui/alerts/alert-confirmation/alert-confirmation.component.scss +0 -42
- package/src/lib/ui/alerts/alert-confirmation/alert-confirmation.component.ts +0 -118
- package/src/lib/ui/alerts/alert-error/alert-error.component.html +0 -11
- package/src/lib/ui/alerts/alert-error/alert-error.component.scss +0 -39
- package/src/lib/ui/alerts/alert-error/alert-error.component.ts +0 -27
- package/src/lib/ui/alerts/alerta/alerta.component.html +0 -18
- package/src/lib/ui/alerts/alerta/alerta.component.scss +0 -104
- package/src/lib/ui/alerts/alerta/alerta.component.ts +0 -25
- package/src/lib/ui/alerts/badge/badge.component.ts +0 -16
- package/src/lib/ui/alerts/toaster/toaster.component.html +0 -52
- package/src/lib/ui/alerts/toaster/toaster.component.scss +0 -275
- package/src/lib/ui/alerts/toaster/toaster.component.ts +0 -50
- package/src/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.html +0 -20
- package/src/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.scss +0 -11
- package/src/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.ts +0 -18
- package/src/lib/ui/dropdown/dropdown-simple/dropdown.component.html +0 -10
- package/src/lib/ui/dropdown/dropdown-simple/dropdown.component.scss +0 -54
- package/src/lib/ui/dropdown/dropdown-simple/dropdown.component.ts +0 -36
- package/src/lib/ui/forms/button/button.component.html +0 -69
- package/src/lib/ui/forms/button/button.component.scss +0 -126
- package/src/lib/ui/forms/button/button.component.ts +0 -137
- package/src/lib/ui/forms/filter-toggle/filter-toggle.component.scss +0 -22
- package/src/lib/ui/forms/filter-toggle/filter-toggle.component.ts +0 -29
- package/src/lib/ui/forms/header/header.component.html +0 -22
- package/src/lib/ui/forms/header/header.component.scss +0 -22
- package/src/lib/ui/forms/header/header.component.ts +0 -40
- package/src/lib/ui/forms/inputs/autocomplete/autocomplete.component.html +0 -46
- package/src/lib/ui/forms/inputs/autocomplete/autocomplete.component.scss +0 -90
- package/src/lib/ui/forms/inputs/autocomplete/autocomplete.component.ts +0 -203
- package/src/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.html +0 -61
- package/src/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.scss +0 -128
- package/src/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.ts +0 -145
- package/src/lib/ui/forms/inputs/check-box/check-box.component.html +0 -6
- package/src/lib/ui/forms/inputs/check-box/check-box.component.ts +0 -24
- package/src/lib/ui/forms/inputs/doble-input/doble-input.component.html +0 -60
- package/src/lib/ui/forms/inputs/doble-input/doble-input.component.scss +0 -86
- package/src/lib/ui/forms/inputs/doble-input/doble-input.component.ts +0 -129
- package/src/lib/ui/forms/inputs/input/input.component.html +0 -169
- package/src/lib/ui/forms/inputs/input/input.component.scss +0 -74
- package/src/lib/ui/forms/inputs/input/input.component.ts +0 -147
- package/src/lib/ui/forms/inputs/input-clase/input-clase.component.html +0 -30
- package/src/lib/ui/forms/inputs/input-clase/input-clase.component.scss +0 -0
- package/src/lib/ui/forms/inputs/input-clase/input-clase.component.ts +0 -28
- package/src/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.html +0 -41
- package/src/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.scss +0 -0
- package/src/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.ts +0 -17
- package/src/lib/ui/forms/inputs/input-radio/input-radio.component.html +0 -26
- package/src/lib/ui/forms/inputs/input-radio/input-radio.component.scss +0 -53
- package/src/lib/ui/forms/inputs/input-radio/input-radio.component.ts +0 -36
- package/src/lib/ui/forms/inputs/multiselected/multiselected.component.html +0 -56
- package/src/lib/ui/forms/inputs/multiselected/multiselected.component.scss +0 -145
- package/src/lib/ui/forms/inputs/multiselected/multiselected.component.ts +0 -109
- package/src/lib/ui/forms/inputs/radio/radio.component.html +0 -7
- package/src/lib/ui/forms/inputs/radio/radio.component.scss +0 -0
- package/src/lib/ui/forms/inputs/radio/radio.component.ts +0 -23
- package/src/lib/ui/forms/inputs/switch/switch.component.html +0 -12
- package/src/lib/ui/forms/inputs/switch/switch.component.scss +0 -48
- package/src/lib/ui/forms/inputs/switch/switch.component.ts +0 -50
- package/src/lib/ui/forms/inputs/switch-activo/switch-activo.component.html +0 -12
- package/src/lib/ui/forms/inputs/switch-activo/switch-activo.component.scss +0 -65
- package/src/lib/ui/forms/inputs/switch-activo/switch-activo.component.ts +0 -52
- package/src/lib/ui/forms/lists/list-option/list-option.component.html +0 -24
- package/src/lib/ui/forms/lists/list-option/list-option.component.scss +0 -49
- package/src/lib/ui/forms/lists/list-option/list-option.component.ts +0 -35
- package/src/lib/ui/forms/lists/list-situaciones/list-situaciones.component.html +0 -29
- package/src/lib/ui/forms/lists/list-situaciones/list-situaciones.component.scss +0 -0
- package/src/lib/ui/forms/lists/list-situaciones/list-situaciones.component.ts +0 -99
- package/src/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.html +0 -46
- package/src/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.scss +0 -30
- package/src/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.ts +0 -96
- package/src/lib/ui/forms/sidebar/sidebar.component.html +0 -33
- package/src/lib/ui/forms/sidebar/sidebar.component.scss +0 -85
- package/src/lib/ui/forms/sidebar/sidebar.component.ts +0 -61
- package/src/lib/ui/general/detalle-credito/detalle-credito.component.html +0 -35
- package/src/lib/ui/general/detalle-credito/detalle-credito.component.scss +0 -35
- package/src/lib/ui/general/detalle-credito/detalle-credito.component.ts +0 -14
- package/src/lib/ui/general/montos-calcular/montos-calcular.component.html +0 -17
- package/src/lib/ui/general/montos-calcular/montos-calcular.component.scss +0 -36
- package/src/lib/ui/general/montos-calcular/montos-calcular.component.ts +0 -19
- package/src/lib/ui/general/spinner/spinner.component.html +0 -8
- package/src/lib/ui/general/spinner/spinner.component.scss +0 -96
- package/src/lib/ui/general/spinner/spinner.component.ts +0 -11
- package/src/lib/ui/tables/card-mobile/card-mobile.component.html +0 -34
- package/src/lib/ui/tables/card-mobile/card-mobile.component.scss +0 -0
- package/src/lib/ui/tables/card-mobile/card-mobile.component.ts +0 -36
- package/src/lib/ui/tables/dropdown-menu/dropdown-menu.component.html +0 -59
- package/src/lib/ui/tables/dropdown-menu/dropdown-menu.component.scss +0 -88
- package/src/lib/ui/tables/dropdown-menu/dropdown-menu.component.ts +0 -171
- package/src/lib/ui/tables/paginador/paginador.component.html +0 -12
- package/src/lib/ui/tables/paginador/paginador.component.scss +0 -27
- package/src/lib/ui/tables/paginador/paginador.component.ts +0 -49
- package/src/lib/ui/tables/table-advance/table-advance.component.html +0 -322
- package/src/lib/ui/tables/table-advance/table-advance.component.scss +0 -282
- package/src/lib/ui/tables/table-advance/table-advance.component.ts +0 -421
- package/src/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.html +0 -226
- package/src/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.scss +0 -282
- package/src/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.ts +0 -352
- package/src/lib/ui/tables/table-agrupada/table-agrupada.component.html +0 -340
- package/src/lib/ui/tables/table-agrupada/table-agrupada.component.scss +0 -282
- package/src/lib/ui/tables/table-agrupada/table-agrupada.component.ts +0 -425
- package/src/lib/ui/tables/table-busqueda/table-busqueda.component.html +0 -130
- package/src/lib/ui/tables/table-busqueda/table-busqueda.component.scss +0 -189
- package/src/lib/ui/tables/table-busqueda/table-busqueda.component.ts +0 -199
- package/src/lib/ui/tables/table-detalle/table-detalle.component.html +0 -220
- package/src/lib/ui/tables/table-detalle/table-detalle.component.scss +0 -135
- package/src/lib/ui/tables/table-detalle/table-detalle.component.ts +0 -336
- package/src/lib/ui/tables/table-simple/table-simple.component.html +0 -116
- package/src/lib/ui/tables/table-simple/table-simple.component.scss +0 -70
- package/src/lib/ui/tables/table-simple/table-simple.component.ts +0 -141
- package/src/lib/ui/tables/table-ultimate/table-ultimate.component.html +0 -268
- package/src/lib/ui/tables/table-ultimate/table-ultimate.component.scss +0 -282
- package/src/lib/ui/tables/table-ultimate/table-ultimate.component.ts +0 -383
- package/src/lib/ui/tabs/nav-tabs/nav-tabs.component.html +0 -12
- package/src/lib/ui/tabs/nav-tabs/nav-tabs.component.scss +0 -100
- package/src/lib/ui/tabs/nav-tabs/nav-tabs.component.ts +0 -19
- package/src/lib/ui/tabs/tab-item/tab-item.component.html +0 -0
- package/src/lib/ui/tabs/tab-item/tab-item.component.scss +0 -0
- package/src/lib/ui/tabs/tab-item/tab-item.component.ts +0 -13
- package/src/lib/utils/ayuda-global/datatable.ts +0 -67
- package/src/lib/utils/ayuda-global/filtros-busqueda.ts +0 -51
- package/src/lib/utils/general/validaciones-simple.ts +0 -14
- package/src/lib/utils/general/validaciones.ts +0 -123
- package/src/lib/utils/helpers/api-result.ts +0 -95
- package/src/lib/utils/helpers/modal-result.ts +0 -34
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.modal-error {
|
|
2
|
-
background-color: #a6222f;
|
|
3
|
-
border-radius: 6px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.button-error {
|
|
7
|
-
background-color: white;
|
|
8
|
-
border-bottom-left-radius: 6px;
|
|
9
|
-
border-bottom-right-radius: 6px;
|
|
10
|
-
padding: 10px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@keyframes metronomeSwing {
|
|
14
|
-
0% {
|
|
15
|
-
transform: rotate(0deg);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
25% {
|
|
19
|
-
transform: rotate(-10deg);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
50% {
|
|
23
|
-
transform: rotate(10deg);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
75% {
|
|
27
|
-
transform: rotate(-10deg);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
100% {
|
|
31
|
-
transform: rotate(0deg);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.color-icon {
|
|
36
|
-
animation: metronomeSwing 1.5s infinite ease-in-out;
|
|
37
|
-
font-size: 80px;
|
|
38
|
-
color: #ffffff;
|
|
39
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, computed, signal, inject } from '@angular/core';
|
|
3
|
-
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { ButtonComponent } from '../../forms/button/button.component';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'app-alert-error',
|
|
8
|
-
imports: [CommonModule, ButtonComponent],
|
|
9
|
-
templateUrl: './alert-error.component.html',
|
|
10
|
-
styleUrl: './alert-error.component.scss'
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
export class AlertErrorComponent {
|
|
14
|
-
|
|
15
|
-
private activeModal = inject(NgbActiveModal)
|
|
16
|
-
|
|
17
|
-
mensaje = signal<string>('')
|
|
18
|
-
|
|
19
|
-
mensajeFormateado = computed(() =>
|
|
20
|
-
this.mensaje().replace(/\n/g, '<br>')
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
onAceptar(): void {
|
|
24
|
-
this.activeModal.close(true)
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<div class="d-flex bg-title align-items-center flex-md-row {{classContainer()}}"
|
|
2
|
-
[ngClass]="{'flex-column': (titulo()?.length || 0) + (mensajeFormateado()?.length || 0) > 100}">
|
|
3
|
-
<i class="fas fa-exclamation-circle color-icon me-sm-1 mb-1 mb-sm-0" [style.fontSize.px]="iconSize()"></i>
|
|
4
|
-
<div class="text-alerta text-center text-sm-start ms-1" [class.text-hanging]="validateSalto()"
|
|
5
|
-
[style.paddingLeft.px]="validateSalto() ? paddingClass() : null" >
|
|
6
|
-
@if (titulo()) {
|
|
7
|
-
<strong class="alert-title">{{ titulo() }}</strong>
|
|
8
|
-
}
|
|
9
|
-
@if (!validateSalto()) {
|
|
10
|
-
{{ mensaje() }}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@if (validateSalto()) {
|
|
14
|
-
<span class="alert-message" [innerHTML]="mensajeFormateado()"></span>
|
|
15
|
-
}
|
|
16
|
-
<ng-content></ng-content>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
.bg-title {
|
|
2
|
-
position: relative;
|
|
3
|
-
background: #fff0d5;
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
padding: 5px;
|
|
6
|
-
color: black;
|
|
7
|
-
font-weight: normal;
|
|
8
|
-
border-radius: 8px;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.bg-title::after {
|
|
13
|
-
content: '';
|
|
14
|
-
position: absolute;
|
|
15
|
-
background: rgb(240, 173, 134);
|
|
16
|
-
top: 0;
|
|
17
|
-
left: 0;
|
|
18
|
-
animation: moveAround 4s linear infinite;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@keyframes moveAround {
|
|
22
|
-
0% {
|
|
23
|
-
top: 0;
|
|
24
|
-
left: 0;
|
|
25
|
-
width: 200px;
|
|
26
|
-
height: 2px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
25% {
|
|
30
|
-
top: 0;
|
|
31
|
-
left: calc(100% - 0px);
|
|
32
|
-
width: 2px;
|
|
33
|
-
height: 2px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
50% {
|
|
37
|
-
top: calc(100% - 2px);
|
|
38
|
-
left: calc(100% - 2px);
|
|
39
|
-
width: 200px;
|
|
40
|
-
height: 50px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
75% {
|
|
44
|
-
top: calc(100% - 2px);
|
|
45
|
-
left: 0;
|
|
46
|
-
width: 2px;
|
|
47
|
-
height: 50px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
100% {
|
|
51
|
-
top: 0;
|
|
52
|
-
left: 0;
|
|
53
|
-
width: 2px;
|
|
54
|
-
height: 2px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.color-icon {
|
|
59
|
-
animation: metronomeSwing 1.5s infinite ease-in-out;
|
|
60
|
-
color: #855d16;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@keyframes metronomeSwing {
|
|
64
|
-
0% {
|
|
65
|
-
transform: rotate(0deg);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
25% {
|
|
69
|
-
transform: rotate(-15deg)
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
50% {
|
|
73
|
-
transform: rotate(15deg)
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
75% {
|
|
77
|
-
transform: rotate(-15deg)
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
100% {
|
|
81
|
-
transform: rotate(0deg)
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.text-alerta {
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.text-hanging {
|
|
90
|
-
position: relative;
|
|
91
|
-
padding-left: 73px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.text-hanging .alert-title {
|
|
95
|
-
position: absolute;
|
|
96
|
-
left: 0;
|
|
97
|
-
top: 50%;
|
|
98
|
-
transform: translateY(-50%);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.text-hanging .alert-message {
|
|
102
|
-
display: block;
|
|
103
|
-
white-space: pre-line;
|
|
104
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgClass } from '@angular/common';
|
|
2
|
-
import { Component, computed, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'app-alerta',
|
|
6
|
-
imports: [NgClass],
|
|
7
|
-
templateUrl: './alerta.component.html',
|
|
8
|
-
styleUrl: './alerta.component.scss'
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
export class AlertaComponent {
|
|
12
|
-
titulo = input<string>('Atención:')
|
|
13
|
-
mensaje = input<string>('La consulta muestra los 100 primeros registros.')
|
|
14
|
-
iconSize = input<number>(25)
|
|
15
|
-
classContainer = input<string>('p-2')
|
|
16
|
-
paddingClass = input<number>(73)
|
|
17
|
-
validateSalto = input<boolean>(false)
|
|
18
|
-
|
|
19
|
-
mensajeFormateado = computed(() => {
|
|
20
|
-
if (!this.validateSalto()) {
|
|
21
|
-
return this.mensaje()
|
|
22
|
-
}
|
|
23
|
-
return this.mensaje().replace(/\n/g, '<br>')
|
|
24
|
-
})
|
|
25
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NgClass } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'app-badge',
|
|
6
|
-
imports: [NgClass],
|
|
7
|
-
template: `
|
|
8
|
-
<span class="badge text-dark font-weight-bold me-2" [ngClass]="color()" [style.fontSize.px]="size()"> {{ label() }} </span>
|
|
9
|
-
`,
|
|
10
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
|
-
})
|
|
12
|
-
export class BadgeComponent {
|
|
13
|
-
label = input<string>('Exp');
|
|
14
|
-
color = input<string>('bg-warning');
|
|
15
|
-
size = input<number>(10.5);
|
|
16
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<div class="toastr-container">
|
|
2
|
-
@for (toast of toastNormal; track toast.id) {
|
|
3
|
-
|
|
4
|
-
<div class="toast {{toast.type}}" [ngClass]="{'bg-white': toast.type == 'loading'}" [@toastAnimation]>
|
|
5
|
-
|
|
6
|
-
@if (toast.type == 'loading') {
|
|
7
|
-
|
|
8
|
-
<div class="toast-icon">
|
|
9
|
-
@if (toast.progress < 100) {
|
|
10
|
-
<div class="spinner"></div>
|
|
11
|
-
}@else {
|
|
12
|
-
<i class="fas fa-check checkmark"></i>
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
</div>
|
|
16
|
-
<div class="toast-content">
|
|
17
|
-
<h4 class="toast-title text-dark">{{ toast.title }}</h4>
|
|
18
|
-
<p class="toast-message text-dark">{{ toast.message }}</p>
|
|
19
|
-
</div>
|
|
20
|
-
}@else {
|
|
21
|
-
<div class="toast-icon">
|
|
22
|
-
<i class="{{iconType[toast.type]}}"></i>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="toast-content">
|
|
25
|
-
<h4 class="toast-title">{{ toast.title }}</h4>
|
|
26
|
-
<p class="toast-message">{{ toast.message }}</p>
|
|
27
|
-
</div>
|
|
28
|
-
<button class="toast-close" (click)="removeToast(toast.id)">×</button>
|
|
29
|
-
<div class="toast-loader"></div>
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</div>
|
|
34
|
-
}
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<div class="toastr-webpush shadow">
|
|
38
|
-
@for (toast of toastWebPush; track toast.id) {
|
|
39
|
-
<div class="toast-webpush {{toast.type}}" [@toastAnimation]>
|
|
40
|
-
<div class="toast-icon">
|
|
41
|
-
<img src="https://testing.grupotsiperu.com.pe:8844/assets/images/logo-tsi-tres.png" alt="">
|
|
42
|
-
</div>
|
|
43
|
-
<div class="toast-content-webpush">
|
|
44
|
-
<h4 class="toast-title">{{ toast.title }}</h4>
|
|
45
|
-
<p class="toast-message-webpush">{{ toast.message }}</p>
|
|
46
|
-
<p class="toast-subtitle">{{ toast.subtitle }}</p>
|
|
47
|
-
</div>
|
|
48
|
-
<button class="toast-close-webpush" (click)="removeToast(toast.id)">×</button>
|
|
49
|
-
<div class="toast-loader-webpush"></div>
|
|
50
|
-
</div>
|
|
51
|
-
}
|
|
52
|
-
</div>
|
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
.toastr-container{
|
|
2
|
-
position: fixed;
|
|
3
|
-
top: 10px;
|
|
4
|
-
right: 10px;
|
|
5
|
-
z-index: 9999;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
align-items: flex-end;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.toast{
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
width: 350px;
|
|
16
|
-
min-height: 35px;
|
|
17
|
-
border-radius: 4px;
|
|
18
|
-
margin-bottom: 10px;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
position: relative;
|
|
21
|
-
font-family: "Poppins", sans-serif;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.toast-icon i{
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
width: 25px !important;
|
|
29
|
-
height: 25px !important;
|
|
30
|
-
padding: 12px;
|
|
31
|
-
margin-left: 10px;
|
|
32
|
-
border-radius: 100%;
|
|
33
|
-
color: white;
|
|
34
|
-
animation: iconPopIn 1.5s ease-in-out infinite;
|
|
35
|
-
transform-origin: center;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.toast-content{
|
|
39
|
-
flex-grow: 1;
|
|
40
|
-
padding: 12px 8px 1px 8px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.toast-title{
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
margin-bottom: 3px;
|
|
46
|
-
font-size: 13px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.toast-message{
|
|
50
|
-
font-size: 13px;
|
|
51
|
-
padding: 0 8px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.toast-close{
|
|
55
|
-
position: absolute;
|
|
56
|
-
top: 5px;
|
|
57
|
-
right: 10px;
|
|
58
|
-
background: none;
|
|
59
|
-
border: none;
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
font-size: 22px !important;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
padding: 0;
|
|
64
|
-
color: inherit;
|
|
65
|
-
opacity: 0.7;
|
|
66
|
-
transition: opacity 0.2s ease-in-out;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.toast-close:hover{
|
|
70
|
-
opacity: 1;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
.success {
|
|
75
|
-
background-color: #00c68e;
|
|
76
|
-
color: white;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.error {
|
|
80
|
-
background-color: #bd362f;
|
|
81
|
-
color: white;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.info {
|
|
85
|
-
background-color: #398bf7;
|
|
86
|
-
color: white;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.warning {
|
|
90
|
-
background-color: #ffa908;
|
|
91
|
-
color: white;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.success .toast-loader {
|
|
95
|
-
background-color: #00a879;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.error .toast-loader {
|
|
99
|
-
background-color: #ffe4e3;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.info .toast-loader {
|
|
103
|
-
background-color: #2796b4;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.warning .toast-loader {
|
|
107
|
-
background-color: #eeeeeee8;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.toast-loader {
|
|
111
|
-
position: absolute;
|
|
112
|
-
bottom: 0;
|
|
113
|
-
left: 0;
|
|
114
|
-
height: 4px;
|
|
115
|
-
animation: loader 3s linear;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@keyframes loader {
|
|
119
|
-
from {
|
|
120
|
-
width: 100%;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
to {
|
|
124
|
-
width: 0%;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
.toast-loader-webpush {
|
|
130
|
-
position: absolute;
|
|
131
|
-
bottom: 0;
|
|
132
|
-
left: 0;
|
|
133
|
-
height: 4px;
|
|
134
|
-
animation: loader 10s linear;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.webpush .toast-loader-webpush {
|
|
138
|
-
background-color: #c6c6c6;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.webpush {
|
|
142
|
-
background-color:#f8f8f8;
|
|
143
|
-
color: black;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.toastr-webpush{
|
|
147
|
-
position: fixed;
|
|
148
|
-
bottom: 10px !important;
|
|
149
|
-
right: 10px;
|
|
150
|
-
z-index: 1000;
|
|
151
|
-
display: flex;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
align-items: flex-end;
|
|
154
|
-
cursor: pointer;
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.toast-webpush{
|
|
159
|
-
display: flex;
|
|
160
|
-
align-items: center;
|
|
161
|
-
width: 350px;
|
|
162
|
-
min-height: 120px;
|
|
163
|
-
border-radius: 4px;
|
|
164
|
-
margin-bottom: 0;
|
|
165
|
-
overflow: hidden;
|
|
166
|
-
position: relative;
|
|
167
|
-
font-family: "Poppins", sans-serif;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.toast-icon img{
|
|
171
|
-
display: flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
justify-content: center;
|
|
174
|
-
width: 80px !important;
|
|
175
|
-
height: 80px !important;
|
|
176
|
-
padding: 12px;
|
|
177
|
-
margin-left: 10px;
|
|
178
|
-
border-radius: 100%;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.toast-content-webpush{
|
|
182
|
-
flex-grow: 1;
|
|
183
|
-
padding: 5px 8px 1px 8px;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.toast-message-webpush{
|
|
187
|
-
font-size: 11px;
|
|
188
|
-
color: gray;
|
|
189
|
-
margin-bottom: 8px;
|
|
190
|
-
padding-bottom: 0;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.toast-subtitle{
|
|
194
|
-
font-size: 10px;
|
|
195
|
-
color: rgb(160, 160, 160);
|
|
196
|
-
padding: 0;
|
|
197
|
-
margin: 0;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.toast-close-webpush{
|
|
201
|
-
position: absolute;
|
|
202
|
-
top: 5px;
|
|
203
|
-
right: 10px;
|
|
204
|
-
background: none;
|
|
205
|
-
border: none;
|
|
206
|
-
font-weight: 600;
|
|
207
|
-
font-size: 22px !important;
|
|
208
|
-
cursor: pointer;
|
|
209
|
-
padding: 0;
|
|
210
|
-
color: inherit;
|
|
211
|
-
opacity: 0.3;
|
|
212
|
-
transition: opacity 0.2s ease-in-out;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.toast-close-webpush:hover{
|
|
216
|
-
opacity: 1;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
@media (max-width: 400px){
|
|
220
|
-
.toast, .toast-webpush{
|
|
221
|
-
width: 100%;
|
|
222
|
-
}
|
|
223
|
-
.toastr-container, .toastr-webpush{
|
|
224
|
-
left: 10px;
|
|
225
|
-
right: 25px;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
@keyframes iconPopIn {
|
|
231
|
-
0% {
|
|
232
|
-
transform: scale(1);
|
|
233
|
-
opacity: 1;
|
|
234
|
-
}
|
|
235
|
-
50% {
|
|
236
|
-
transform: scale(1.1);
|
|
237
|
-
opacity: 0.9;
|
|
238
|
-
}
|
|
239
|
-
100% {
|
|
240
|
-
transform: scale(1);
|
|
241
|
-
opacity: 1;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
.spinner {
|
|
247
|
-
width: 24px;
|
|
248
|
-
height: 24px;
|
|
249
|
-
border: 3px solid #ccc; /* color de fondo */
|
|
250
|
-
border-top: 3px solid #333; /* color del “giro” */
|
|
251
|
-
border-radius: 50%;
|
|
252
|
-
animation: spin 1s linear infinite;
|
|
253
|
-
margin-right: 10px; /* separa del texto */
|
|
254
|
-
margin-left: 10px;
|
|
255
|
-
display: inline-block;
|
|
256
|
-
vertical-align: middle;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
@keyframes spin {
|
|
260
|
-
0% { transform: rotate(0deg); }
|
|
261
|
-
100% { transform: rotate(360deg); }
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.checkmark {
|
|
265
|
-
width: 24px;
|
|
266
|
-
height: 24px;
|
|
267
|
-
color: green !important;
|
|
268
|
-
border-radius: 100%;
|
|
269
|
-
border: 1px solid green;
|
|
270
|
-
font-weight: bold;
|
|
271
|
-
margin-right: 10px; /* separa del texto */
|
|
272
|
-
margin-left: 10px;
|
|
273
|
-
display: inline-block;
|
|
274
|
-
vertical-align: middle;
|
|
275
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { animate, style, transition, trigger } from '@angular/animations';
|
|
2
|
-
import { Component, inject, input } from '@angular/core';
|
|
3
|
-
import { ToastService } from '../../../service/toast.service';
|
|
4
|
-
import { NgClass } from '@angular/common';
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'app-toaster',
|
|
7
|
-
imports: [NgClass],
|
|
8
|
-
templateUrl: './toaster.component.html',
|
|
9
|
-
styleUrl: './toaster.component.scss',
|
|
10
|
-
animations: [
|
|
11
|
-
trigger('toastAnimation', [
|
|
12
|
-
transition(':enter', [
|
|
13
|
-
style({ transform: 'translateY(100%)', opacity: 0 }),
|
|
14
|
-
animate('300ms ease-out', style({ transform: 'translateY(0)', opacity: 1 }))
|
|
15
|
-
]),
|
|
16
|
-
transition(':leave', [
|
|
17
|
-
animate('300ms ease-in', style({ transform: 'translateY(100%)', opacity: 0 }))
|
|
18
|
-
])
|
|
19
|
-
])
|
|
20
|
-
]
|
|
21
|
-
})
|
|
22
|
-
export class ToasterComponent {
|
|
23
|
-
|
|
24
|
-
private toastService = inject(ToastService)
|
|
25
|
-
|
|
26
|
-
toasts = this.toastService.toasts
|
|
27
|
-
|
|
28
|
-
iconType = {
|
|
29
|
-
'success': 'fas fa-check bg-success',
|
|
30
|
-
'error': 'fas fa-times bg-danger',
|
|
31
|
-
'info': 'fas fa-info bg-info',
|
|
32
|
-
'warning': 'fas fa-exclamation-triangle bg-warning'
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
get toastNormal() {
|
|
36
|
-
return this.toasts().filter(toas => toas.type != 'webpush')
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
get toastWebPush() {
|
|
40
|
-
return this.toasts().filter(toas => toas.type == 'webpush')
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
get hasWebPush(): boolean {
|
|
44
|
-
return this.toasts().some(toast => toast.type == 'webpush')
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
removeToast(id: number) {
|
|
48
|
-
this.toastService.remove(id)
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<div class="w-100">
|
|
2
|
-
|
|
3
|
-
<div
|
|
4
|
-
cdkOverlayOrigin
|
|
5
|
-
#dropdown="cdkOverlayOrigin"
|
|
6
|
-
(click)="show.set(true)"
|
|
7
|
-
[ngClass]="{'d-inline-block': inline()}">
|
|
8
|
-
<ng-container *ngTemplateOutlet="trigger()"></ng-container>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]="dropdown" [cdkConnectedOverlayOpen]="show()"
|
|
12
|
-
[cdkConnectedOverlayHasBackdrop]="true" (backdropClick)="show.set(false)"
|
|
13
|
-
cdkConnectedOverlayPanelClass="autocomplete-overlay" cdkConnectedOverlayBackdropClass="transparent-backdrop">
|
|
14
|
-
|
|
15
|
-
<div class="contenido" [style.maxHeight.px]="altoContainer()">
|
|
16
|
-
<ng-container *ngTemplateOutlet="content()"></ng-container>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
</ng-template>
|
|
20
|
-
</div>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
-
import { NgTemplateOutlet, NgClass } from '@angular/common';
|
|
3
|
-
import { Component, contentChild, input, signal, TemplateRef } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: 'app-dropdown-cdk',
|
|
7
|
-
imports: [OverlayModule, NgTemplateOutlet, NgClass],
|
|
8
|
-
templateUrl: './dropdown-cdk.component.html',
|
|
9
|
-
styleUrl: './dropdown-cdk.component.scss'
|
|
10
|
-
})
|
|
11
|
-
export class DropdownCdkComponent {
|
|
12
|
-
|
|
13
|
-
show = signal<boolean>(false)
|
|
14
|
-
trigger = contentChild<TemplateRef<any>>('trigger');
|
|
15
|
-
content = contentChild<TemplateRef<any>>('content');
|
|
16
|
-
inline = input<boolean>(false)
|
|
17
|
-
altoContainer = input<number>(200)
|
|
18
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<div class="menu-content" (click)="toggleDropdown()">
|
|
2
|
-
<button class="toggle">
|
|
3
|
-
<i class="fa-solid fa-ellipsis-vertical"></i>
|
|
4
|
-
</button>
|
|
5
|
-
@if (isOpen()) {
|
|
6
|
-
<div class="menu-desplegable top-right" @fadeInOut (click)="onDropdownClick($event)">
|
|
7
|
-
<ng-container *ngTemplateOutlet="customActions; context: { $implicit: '' }"></ng-container>
|
|
8
|
-
</div>
|
|
9
|
-
}
|
|
10
|
-
</div>
|