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,100 +0,0 @@
|
|
|
1
|
-
.nav-link {
|
|
2
|
-
font-size: 12px !important;
|
|
3
|
-
font-weight: 600 !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.nav-tabs .nav-item {
|
|
7
|
-
font-weight: bold;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.nav-tabs .nav-item .nav-link {
|
|
11
|
-
color: #909090 !important;
|
|
12
|
-
border-top-left-radius: 10px;
|
|
13
|
-
border-top-right-radius: 10px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.nav-tabs .nav-item .nav-link::before {
|
|
17
|
-
content: attr(data-label);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.nav-tabs .nav-item .nav-link:hover {
|
|
21
|
-
background-color: #dedede48 !important;
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.nav-tabs .nav-item .nav-link.active {
|
|
26
|
-
//background-color: #000000b0 !important;
|
|
27
|
-
color: #1c1c1c !important;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.tab-content-wrapper {
|
|
31
|
-
border: 1px solid #6e7379;
|
|
32
|
-
border-top: none;
|
|
33
|
-
border-radius: 0 0 10px 10px;
|
|
34
|
-
padding: 1.5rem;
|
|
35
|
-
margin-top: 0 !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@media (max-width: 768px) {
|
|
39
|
-
.nav-tabs {
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-wrap: nowrap;
|
|
42
|
-
overflow-x: auto;
|
|
43
|
-
overflow-y: hidden;
|
|
44
|
-
-webkit-overflow-scrolling: touch;
|
|
45
|
-
scrollbar-width: thin;
|
|
46
|
-
scrollbar-color: #888 #e0e0e0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.nav-tabs .nav-item {
|
|
50
|
-
flex: 0 0 auto;
|
|
51
|
-
position: relative;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.nav-tabs .nav-item .nav-link {
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
width: 40px;
|
|
59
|
-
height: 40px;
|
|
60
|
-
//background-color: #2c2c2cb0 !important;
|
|
61
|
-
border-radius: 10px 10px 0 0;
|
|
62
|
-
font-size: 0 !important;
|
|
63
|
-
color: rgb(44, 44, 44);
|
|
64
|
-
padding: 0 !important;
|
|
65
|
-
transition: all 0.3s ease;
|
|
66
|
-
position: relative;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
z-index: 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.nav-tabs .nav-item .nav-link::before {
|
|
72
|
-
content: '';
|
|
73
|
-
width: 10px;
|
|
74
|
-
height: 10px;
|
|
75
|
-
background-color: rgb(99, 99, 99);
|
|
76
|
-
border-radius: 50%;
|
|
77
|
-
display: block;
|
|
78
|
-
transition: opacity 0.3s ease;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.nav-tabs .nav-item .nav-link.active {
|
|
82
|
-
width: auto;
|
|
83
|
-
padding: 0.5rem 1rem !important;
|
|
84
|
-
font-size: 12px !important;
|
|
85
|
-
z-index: 2;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.nav-tabs .nav-item .nav-link.active::before {
|
|
89
|
-
width: auto;
|
|
90
|
-
height: auto;
|
|
91
|
-
background: none;
|
|
92
|
-
border-radius: 0;
|
|
93
|
-
font-size: 12px;
|
|
94
|
-
color: white;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.nav-tabs .nav-item .nav-link:focus {
|
|
98
|
-
outline: none;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component, contentChildren, effect, input, model } from '@angular/core';
|
|
2
|
-
import { TabItemComponent } from '../tab-item/tab-item.component';
|
|
3
|
-
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'app-nav-tabs',
|
|
8
|
-
imports: [NgbNavModule,CommonModule],
|
|
9
|
-
templateUrl: './nav-tabs.component.html',
|
|
10
|
-
styleUrl: './nav-tabs.component.scss'
|
|
11
|
-
})
|
|
12
|
-
export class NavTabsComponent {
|
|
13
|
-
|
|
14
|
-
//@ContentChildren(TabItemComponent) tabItems!: QueryList<TabItemComponent>;
|
|
15
|
-
|
|
16
|
-
tabItems = contentChildren<TabItemComponent>(TabItemComponent);
|
|
17
|
-
active = model<number | string>(1)
|
|
18
|
-
isDestroy = input<boolean>(true)
|
|
19
|
-
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component, contentChild, input, TemplateRef } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'app-tab-item',
|
|
5
|
-
imports: [],
|
|
6
|
-
template: ''
|
|
7
|
-
})
|
|
8
|
-
export class TabItemComponent {
|
|
9
|
-
|
|
10
|
-
id = input<number | string>();
|
|
11
|
-
title = input<string>('');
|
|
12
|
-
content = contentChild<TemplateRef<any>>(TemplateRef)
|
|
13
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { TableData } from "../../models/table-data.model"
|
|
2
|
-
|
|
3
|
-
export const datatableCliente = [
|
|
4
|
-
{ name: 'Codigo', prop: 'codcli', width: 50 },
|
|
5
|
-
{ name: 'Razón social', prop: 'razonc', width: 30 },
|
|
6
|
-
{ name: 'Nombres', prop: 'nombresCompletos', width: 50 },
|
|
7
|
-
{ name: 'Documento', prop: 'tidentNombre', width: 40 },
|
|
8
|
-
{ name: 'Activo', prop: 'clase_01', width: 40, type: 'check' }
|
|
9
|
-
]
|
|
10
|
-
|
|
11
|
-
export const datatabletransportista = [
|
|
12
|
-
{ name: 'Codigo', prop: 'codtra', width: 50 },
|
|
13
|
-
{ name: 'Razón social', prop: 'razonc', width: 30 },
|
|
14
|
-
{ name: 'RUC', prop: 'ruc', width: 50 },
|
|
15
|
-
{ name: 'Descripción', prop: 'descri', width: 40 },
|
|
16
|
-
{ name: 'Domicilio', prop: 'domici', width: 40 }
|
|
17
|
-
]
|
|
18
|
-
|
|
19
|
-
export const datatabledirecciones = [
|
|
20
|
-
{ name: 'Codigo', prop: 'codenv', width: 50 },
|
|
21
|
-
{ name: 'Sede', prop: 'descri', width: 30 },
|
|
22
|
-
{ name: 'Dirección', prop: 'direc1', width: 50 },
|
|
23
|
-
{ name: 'Ubigeo', prop: 'ubigeo', width: 40 }
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
export const datatableArticulos = [
|
|
27
|
-
{ name: 'Codigo', prop: 'codart', width: 50 },
|
|
28
|
-
{ name: 'Descripción', prop: 'descri', width: 30 },
|
|
29
|
-
{ name: 'Unidad medida', prop: 'coduni', width: 50 }
|
|
30
|
-
]
|
|
31
|
-
|
|
32
|
-
export const datatableEtiquetas = [
|
|
33
|
-
{ name: 'Etiqueta', prop: 'ETIQUETA', width: 50 },
|
|
34
|
-
{ name: 'Ord. Prod', prop: 'OPNUMDOC', width: 30 },
|
|
35
|
-
{ name: 'Lote', prop: 'LOTE', width: 50 },
|
|
36
|
-
{ name: 'Dioptria', prop: 'ANCHO', width: 50, type: 'decimal', pipe: '1.3-3' },
|
|
37
|
-
{ name: 'Serie', prop: 'NROCARRETE', width: 40 },
|
|
38
|
-
{ name: 'Metros', prop: 'LARGO', width: 40, type: 'decimal' },
|
|
39
|
-
{ name: 'Unidad', prop: 'CODUNI', width: 40 },
|
|
40
|
-
{ name: 'Cant.Origen', prop: 'CANTID_ORI', width: 40 },
|
|
41
|
-
{ name: 'F. Ingreso', prop: 'FINGRESO', width: 40, type: 'fecha' },
|
|
42
|
-
{ name: 'F. Vencimiento', prop: 'FVENCI', width: 40, type: 'fecha' },
|
|
43
|
-
{ name: 'Saldo', prop: 'SALDO', width: 40, type: 'decimal' }
|
|
44
|
-
]
|
|
45
|
-
|
|
46
|
-
export const datatableAdjunto: TableData[] = [
|
|
47
|
-
{ caption: 'Item', fieldname: 'id', width: 50 },
|
|
48
|
-
{ caption: 'Formato', fieldname: 'formato', width: 50 },
|
|
49
|
-
{ caption: 'Nombre', fieldname: 'nombre', width: 50 },
|
|
50
|
-
{ caption: 'Usuario', fieldname: 'ucreac' },
|
|
51
|
-
{ caption: 'Fecha Creación', fieldname: 'fcreac', width: 30 }
|
|
52
|
-
]
|
|
53
|
-
|
|
54
|
-
export const datatablePCuentas = [
|
|
55
|
-
{ name: 'Cuenta', prop: 'cuenta', width: 50 },
|
|
56
|
-
{ name: 'Nombre', prop: 'nombre', width: 50 }
|
|
57
|
-
]
|
|
58
|
-
export const datatableCobradores = [
|
|
59
|
-
{ name: 'Código', prop: 'codcob', width: 50 },
|
|
60
|
-
{ name: 'Nombres', prop: 'nomcob', width: 50 }
|
|
61
|
-
]
|
|
62
|
-
|
|
63
|
-
export const datatableTipoAfectacion = [
|
|
64
|
-
{ name: 'Código', prop: 'tipafec', width: 50 },
|
|
65
|
-
{ name: 'Descripción', prop: 'descri', width: 50 }
|
|
66
|
-
]
|
|
67
|
-
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export function filtroCliente(data: any[], filtro: string) {
|
|
3
|
-
return data.filter(item => {
|
|
4
|
-
return (item.codcli ?? '').toString().includes(filtro) ||
|
|
5
|
-
(item.razonc ?? '').toLowerCase().includes(filtro) ||
|
|
6
|
-
(item.nombresCompletos ?? '').toLowerCase().includes(filtro) ||
|
|
7
|
-
(item.tidentNombre ?? '').toLowerCase().includes(filtro)
|
|
8
|
-
})
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export function filtroTransportista(data: any[], filtro: string) {
|
|
12
|
-
return data.filter(item => {
|
|
13
|
-
return (item.codtra ?? '').toString().includes(filtro) ||
|
|
14
|
-
(item.razonc ?? '').toLowerCase().includes(filtro) ||
|
|
15
|
-
(item.ruc ?? '').toLowerCase().includes(filtro) ||
|
|
16
|
-
(item.descri ?? '').toLowerCase().includes(filtro) ||
|
|
17
|
-
(item.domici ?? '').toLowerCase().includes(filtro)
|
|
18
|
-
})
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export function filtroDirecciones(data: any[], filtro: string) {
|
|
22
|
-
return data.filter(item => {
|
|
23
|
-
return (item.codenv ?? '').toString().includes(filtro) ||
|
|
24
|
-
(item.descri ?? '').toLowerCase().includes(filtro) ||
|
|
25
|
-
(item.direc1 ?? '').toLowerCase().includes(filtro) ||
|
|
26
|
-
(item.ubigeo ?? '').toLowerCase().includes(filtro)
|
|
27
|
-
})
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function filtroArticulos(data: any[], filtro: string) {
|
|
31
|
-
return data.filter(item => {
|
|
32
|
-
return (item.codart ?? '').toLowerCase().includes(filtro) ||
|
|
33
|
-
(item.descri ?? '').toLowerCase().includes(filtro) ||
|
|
34
|
-
(item.coduni ?? '').toLowerCase().includes(filtro)
|
|
35
|
-
})
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export function filtroCobradores(data: any[], filtro: string) {
|
|
40
|
-
return data.filter(item => {
|
|
41
|
-
return (item.codcob ?? '').toString().includes(filtro) ||
|
|
42
|
-
(item.nomcob ?? '').toLowerCase().includes(filtro)
|
|
43
|
-
})
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function filtroTipoAfectacion(data: any[], filtro: string) {
|
|
47
|
-
return data.filter(item => {
|
|
48
|
-
return (item.tipafec ?? '').toString().includes(filtro) ||
|
|
49
|
-
(item.descri ?? '').toLowerCase().includes(filtro)
|
|
50
|
-
})
|
|
51
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { validarVacioAndNull } from "shared-tsi"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export function validaPeriodoSimple(periodo: number): boolean {
|
|
5
|
-
if (!periodo) return false
|
|
6
|
-
if (periodo > 9999 || periodo < 999) return false
|
|
7
|
-
return true
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export function validaMes(mes: number): boolean {
|
|
11
|
-
if (!validarVacioAndNull(mes)) return false
|
|
12
|
-
if (mes > 12 || mes < 0) return false
|
|
13
|
-
return true
|
|
14
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { validarVacioAndNull } from "shared-tsi";
|
|
2
|
-
import { InputConfig, InputValidate } from "../../models/input-config";
|
|
3
|
-
import { ToastService } from "../../service/toast.service";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export function validaPeriodo(
|
|
7
|
-
toast: ToastService,
|
|
8
|
-
periodo: number,
|
|
9
|
-
mensaje: string = 'Debe seleccionar un período válido.'
|
|
10
|
-
): boolean {
|
|
11
|
-
if (!periodo || periodo > 9999 || periodo < 1000) {
|
|
12
|
-
toast.warning('Advertencia', mensaje)
|
|
13
|
-
return false
|
|
14
|
-
}
|
|
15
|
-
return true
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export function validarSituacion(toast: ToastService, situac: string | number): boolean {
|
|
19
|
-
if (!validarVacioAndNull(situac)) {
|
|
20
|
-
toast.warning('Advertencia', 'Debe seleccionar al menos una situación.')
|
|
21
|
-
return false
|
|
22
|
-
}
|
|
23
|
-
return true
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export function validaLista(
|
|
27
|
-
toast: ToastService,
|
|
28
|
-
lista: any[],
|
|
29
|
-
valor: any,
|
|
30
|
-
nombreLista: string,
|
|
31
|
-
key?: string
|
|
32
|
-
): boolean {
|
|
33
|
-
if (valor == -1) return true
|
|
34
|
-
|
|
35
|
-
if (!validarVacioAndNull(valor)) {
|
|
36
|
-
toast.warning('Advertencia', `Debe seleccionar un valor de ${nombreLista}.`)
|
|
37
|
-
return false
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const existe = key
|
|
41
|
-
? lista.some(item => item[key] == valor)
|
|
42
|
-
: lista.includes(valor)
|
|
43
|
-
|
|
44
|
-
if (!existe) {
|
|
45
|
-
toast.warning('Advertencia', `El código de ${nombreLista} no existe.`)
|
|
46
|
-
return false
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return true
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function validaFecha(
|
|
53
|
-
toast: ToastService,
|
|
54
|
-
fechaDesde: string,
|
|
55
|
-
fechaHasta: string,
|
|
56
|
-
nombreDesde = 'fecha desde',
|
|
57
|
-
nombreHasta = 'fecha hasta'
|
|
58
|
-
): boolean {
|
|
59
|
-
if (!fechaDesde || !fechaHasta) {
|
|
60
|
-
toast.warning('Advertencia', `Debe ingresar ${nombreDesde} y ${nombreHasta}.`)
|
|
61
|
-
return false
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
const dateDesde = new Date(fechaDesde)
|
|
65
|
-
const dateHasta = new Date(fechaHasta)
|
|
66
|
-
|
|
67
|
-
if (dateDesde > dateHasta) {
|
|
68
|
-
toast.warning('Advertencia', `La ${nombreDesde} no puede ser mayor que la ${nombreHasta}.`)
|
|
69
|
-
return false
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return true
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
const posiblesValores = ['center', 'start', 'end'] as const;
|
|
77
|
-
|
|
78
|
-
export function validaPosicion(value: string): 'center' | 'start' | 'end' {
|
|
79
|
-
if (posiblesValores.includes(value as any)) {
|
|
80
|
-
return value as 'center' | 'start' | 'end';
|
|
81
|
-
}
|
|
82
|
-
return 'start';
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
const posiblesValoresTipoInput = ['text', 'text-area', 'date', 'number', 'select', 'number-format-decimal', 'number-integer'] as const;
|
|
86
|
-
|
|
87
|
-
export function validaTipo(value: string): 'text' | 'text-area' | 'date' | 'number' | 'select' | 'number-format-decimal' | 'number-integer' {
|
|
88
|
-
if (posiblesValoresTipoInput.includes(value as any)) {
|
|
89
|
-
return value as 'text' | 'text-area' | 'date' | 'number' | 'select' | 'number-format-decimal' | 'number-integer';
|
|
90
|
-
}
|
|
91
|
-
return 'text';
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export function showError(alert: ToastService, msg: string) {
|
|
95
|
-
alert.error('Error', msg)
|
|
96
|
-
return false
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export function validarObligatorio(data: any, campos: any[], toast: ToastService): boolean {
|
|
100
|
-
return !campos.some(campo => {
|
|
101
|
-
const valor = data[campo.key]
|
|
102
|
-
const descri = campo.title || campo.descri
|
|
103
|
-
const type = typeof valor
|
|
104
|
-
if (valor == null || (type === 'string' && valor.trim() === '')) {
|
|
105
|
-
toast.error('Error', `El campo ${descri} es obligatorio`);
|
|
106
|
-
return true;
|
|
107
|
-
}
|
|
108
|
-
if (!isNaN(Number(valor)) && Number(valor) < 0) {
|
|
109
|
-
toast.error('Error', `El campo ${descri} debe ser mayor a 0`);
|
|
110
|
-
return true;
|
|
111
|
-
}
|
|
112
|
-
return false;
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export function getInputsObligatorios(data: InputConfig[]): InputValidate[] {
|
|
117
|
-
return data
|
|
118
|
-
.filter(item => item.required)
|
|
119
|
-
.map(c => ({
|
|
120
|
-
key: c.fieldname,
|
|
121
|
-
descri: c.label
|
|
122
|
-
}))
|
|
123
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { Signal, WritableSignal } from "@angular/core";
|
|
2
|
-
import { ToastService } from "../../service/toast.service";
|
|
3
|
-
import { TableData } from "../../models/table-data.model";
|
|
4
|
-
import { FormateadorService } from "../../service/formateador.service";
|
|
5
|
-
import { AlertErrorService } from "../../service/alert-error.service";
|
|
6
|
-
import { EMPTY, isObservable, Observable, of, switchMap, throwError } from "rxjs";
|
|
7
|
-
import { rxResource } from "@angular/core/rxjs-interop";
|
|
8
|
-
import { validarVacioAndNull } from "shared-tsi";
|
|
9
|
-
|
|
10
|
-
export function handleErrorsApi(err: any, alert: AlertErrorService) {
|
|
11
|
-
const safeError =
|
|
12
|
-
typeof err === 'string' ? err :
|
|
13
|
-
typeof err?.error === 'string' ? err.error :
|
|
14
|
-
'Error de servicio';
|
|
15
|
-
alert.mostrarModalError(safeError)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export function throwIfEmptyArray<T>() {
|
|
19
|
-
return switchMap((res: T[]) => {
|
|
20
|
-
if (!res || res.length == 0) {
|
|
21
|
-
return throwError(() => new Error('NO_RESULTS'))
|
|
22
|
-
}
|
|
23
|
-
return of(res)
|
|
24
|
-
})
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function handleEmptyResult<T>(data: WritableSignal<T[]>, withFiltro: WritableSignal<boolean>, toast: ToastService, message = 'No se encontraron resultados') {
|
|
28
|
-
if (withFiltro) {
|
|
29
|
-
withFiltro.set(true)
|
|
30
|
-
}
|
|
31
|
-
data.set([]);
|
|
32
|
-
toast.warning('Advertencia', message);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function handleSuccessResult<T>(data: WritableSignal<T[]>, withFiltro: WritableSignal<boolean>, result: T[], reload: boolean, tableHeader?: TableData[], procesador?: FormateadorService) {
|
|
36
|
-
if (!reload) {
|
|
37
|
-
withFiltro.set(false)
|
|
38
|
-
}
|
|
39
|
-
if (procesador) {
|
|
40
|
-
data.set(procesador.procesarLista(result, tableHeader))
|
|
41
|
-
return
|
|
42
|
-
}
|
|
43
|
-
data.set(result)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function handleSuccessApi(toast: ToastService, onRefresh?: () => void, message: string = 'proceso') {
|
|
47
|
-
toast.success('Éxito', `Se ${message} correctamente`)
|
|
48
|
-
onRefresh()
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function handleReset<T>(reset: boolean, page: WritableSignal<number>, sender: WritableSignal<T>) {
|
|
52
|
-
if (reset) {
|
|
53
|
-
page.set(1)
|
|
54
|
-
sender.update(data => ({ ...data, offset: 0 }))
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function handleResetNoSignal<T extends { offset?: number }>(reset: boolean, page: WritableSignal<number>, sender: T) {
|
|
59
|
-
if (reset) {
|
|
60
|
-
page.set(1)
|
|
61
|
-
sender.offset = 0
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function handleResource<T>(apiFn: () => Observable<T>, signal?: Signal<any>) {
|
|
66
|
-
return rxResource({
|
|
67
|
-
request: signal,
|
|
68
|
-
loader: () => {
|
|
69
|
-
if (!signal || validarVacioAndNull(signal())) {
|
|
70
|
-
return apiFn();
|
|
71
|
-
}
|
|
72
|
-
return EMPTY;
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function handleResourceV2<T>(
|
|
78
|
-
fn: () => Observable<T> | void,
|
|
79
|
-
signal?: Signal<any>
|
|
80
|
-
) {
|
|
81
|
-
return rxResource({
|
|
82
|
-
request: signal,
|
|
83
|
-
loader: () => {
|
|
84
|
-
if (signal && !validarVacioAndNull(signal())) {
|
|
85
|
-
return EMPTY
|
|
86
|
-
}
|
|
87
|
-
const result = fn()
|
|
88
|
-
if (isObservable(result)) {
|
|
89
|
-
return result
|
|
90
|
-
}
|
|
91
|
-
return EMPTY
|
|
92
|
-
}
|
|
93
|
-
})
|
|
94
|
-
}
|
|
95
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { NgbModalOptions, NgbModalRef } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
-
|
|
3
|
-
export function configModal(size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = 'xl'): NgbModalOptions {
|
|
4
|
-
return { size, backdrop: 'static' }
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface ModalConfig<T> {
|
|
8
|
-
component: any
|
|
9
|
-
data?: T
|
|
10
|
-
init?: (instance: any) => void
|
|
11
|
-
updatePredicate: (oldItem: T, newItem: T) => boolean
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function handleModal<T>(
|
|
15
|
-
modalRef: NgbModalRef,
|
|
16
|
-
onSuccess: (data: T) => void,
|
|
17
|
-
onDismiss?: () => void
|
|
18
|
-
) {
|
|
19
|
-
modalRef.result.then(
|
|
20
|
-
(result: T) => {
|
|
21
|
-
if (!result) return;
|
|
22
|
-
onSuccess(result);
|
|
23
|
-
},
|
|
24
|
-
() => onDismiss?.()
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export function handleModalReturn<T>(
|
|
29
|
-
modalRef: NgbModalRef
|
|
30
|
-
): Promise<T | null> {
|
|
31
|
-
return modalRef.result
|
|
32
|
-
.then((result: T) => result ?? null)
|
|
33
|
-
.catch(() => null);
|
|
34
|
-
}
|
package/tsconfig.lib.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/lib",
|
|
7
|
-
"declaration": true,
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"inlineSources": true,
|
|
10
|
-
"types": []
|
|
11
|
-
},
|
|
12
|
-
"exclude": [
|
|
13
|
-
"**/*.spec.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
package/tsconfig.lib.prod.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "./tsconfig.lib.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"declarationMap": false
|
|
7
|
-
},
|
|
8
|
-
"angularCompilerOptions": {
|
|
9
|
-
"compilationMode": "partial"
|
|
10
|
-
}
|
|
11
|
-
}
|
package/tsconfig.spec.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
2
|
-
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
3
|
-
{
|
|
4
|
-
"extends": "../../tsconfig.json",
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"outDir": "../../out-tsc/spec",
|
|
7
|
-
"types": [
|
|
8
|
-
"jasmine"
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"include": [
|
|
12
|
-
"**/*.spec.ts",
|
|
13
|
-
"**/*.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|