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.
Files changed (237) hide show
  1. package/fesm2022/ng-components-tsi.mjs +5063 -0
  2. package/fesm2022/ng-components-tsi.mjs.map +1 -0
  3. package/index.d.ts +5 -0
  4. package/lib/directivas/acciones/atajos.directive.d.ts +8 -0
  5. package/lib/directivas/animaciones/fade-animation.d.ts +3 -0
  6. package/lib/directivas/estilos/animated-checkbox.directive.d.ts +9 -0
  7. package/lib/directivas/estilos/button.constants.d.ts +64 -0
  8. package/lib/directivas/estilos/buttons-modal.directive.d.ts +11 -0
  9. package/lib/directivas/estilos/buttons-outline-directive.d.ts +11 -0
  10. package/lib/directivas/estilos/icons.directive.d.ts +11 -0
  11. package/lib/directivas/inputs/caracteres-codigo.directive.d.ts +12 -0
  12. package/lib/directivas/inputs/decimal.directive.d.ts +13 -0
  13. package/lib/directivas/inputs/only-day.directive.d.ts +8 -0
  14. package/lib/directivas/inputs/only-number-flex.directive.d.ts +9 -0
  15. package/lib/directivas/inputs/only-number.directive.d.ts +8 -0
  16. package/lib/enums/table-events.d.ts +5 -0
  17. package/lib/modals/general/md-generico/md-generico.component.d.ts +25 -0
  18. package/lib/models/button-color.model.d.ts +3 -0
  19. package/{src/lib/models/button-properties.model.ts → lib/models/button-properties.model.d.ts} +7 -8
  20. package/lib/models/cell-rendered.d.ts +11 -0
  21. package/lib/models/comercial/documentos-cab-auxiliares.model.d.ts +17 -0
  22. package/{src/lib/models/dropdownoption.model.ts → lib/models/dropdownoption.model.d.ts} +14 -15
  23. package/lib/models/general/recursos.model.d.ts +271 -0
  24. package/lib/models/general/utils.interface.d.ts +57 -0
  25. package/lib/models/input-config.d.ts +25 -0
  26. package/{src/lib/models/selected-row.ts → lib/models/selected-row.d.ts} +4 -4
  27. package/{src/lib/models/table-data.model.ts → lib/models/table-data.model.d.ts} +21 -21
  28. package/lib/service/alert-confirmation.service.d.ts +26 -0
  29. package/lib/service/alert-error.service.d.ts +9 -0
  30. package/lib/service/alert.service.d.ts +33 -0
  31. package/lib/service/formateador.service.d.ts +10 -0
  32. package/lib/service/toast.service.d.ts +25 -0
  33. package/lib/ui/alerts/alert-confirmation/alert-confirmation.component.d.ts +32 -0
  34. package/lib/ui/alerts/alert-error/alert-error.component.d.ts +9 -0
  35. package/lib/ui/alerts/alerta/alerta.component.d.ts +12 -0
  36. package/lib/ui/alerts/badge/badge.component.d.ts +8 -0
  37. package/lib/ui/alerts/toaster/toaster.component.d.ts +17 -0
  38. package/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.d.ts +11 -0
  39. package/lib/ui/dropdown/dropdown-simple/dropdown.component.d.ts +13 -0
  40. package/lib/ui/forms/button/button.component.d.ts +47 -0
  41. package/lib/ui/forms/filter-toggle/filter-toggle.component.d.ts +9 -0
  42. package/lib/ui/forms/header/header.component.d.ts +17 -0
  43. package/lib/ui/forms/inputs/autocomplete/autocomplete.component.d.ts +43 -0
  44. package/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.d.ts +48 -0
  45. package/lib/ui/forms/inputs/check-box/check-box.component.d.ts +14 -0
  46. package/lib/ui/forms/inputs/doble-input/doble-input.component.d.ts +47 -0
  47. package/lib/ui/forms/inputs/input/input.component.d.ts +60 -0
  48. package/lib/ui/forms/inputs/input-clase/input-clase.component.d.ts +13 -0
  49. package/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.d.ts +8 -0
  50. package/lib/ui/forms/inputs/input-radio/input-radio.component.d.ts +24 -0
  51. package/lib/ui/forms/inputs/multiselected/multiselected.component.d.ts +39 -0
  52. package/lib/ui/forms/inputs/radio/radio.component.d.ts +14 -0
  53. package/lib/ui/forms/inputs/switch/switch.component.d.ts +20 -0
  54. package/lib/ui/forms/inputs/switch-activo/switch-activo.component.d.ts +21 -0
  55. package/lib/ui/forms/lists/list-option/list-option.component.d.ts +23 -0
  56. package/lib/ui/forms/lists/list-situaciones/list-situaciones.component.d.ts +28 -0
  57. package/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.d.ts +26 -0
  58. package/lib/ui/forms/sidebar/sidebar.component.d.ts +15 -0
  59. package/lib/ui/general/detalle-credito/detalle-credito.component.d.ts +8 -0
  60. package/lib/ui/general/montos-calcular/montos-calcular.component.d.ts +12 -0
  61. package/lib/ui/general/spinner/spinner.component.d.ts +5 -0
  62. package/lib/ui/tables/card-mobile/card-mobile.component.d.ts +17 -0
  63. package/lib/ui/tables/dropdown-menu/dropdown-menu.component.d.ts +43 -0
  64. package/lib/ui/tables/paginador/paginador.component.d.ts +20 -0
  65. package/lib/ui/tables/table-advance/table-advance.component.d.ts +94 -0
  66. package/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.d.ts +82 -0
  67. package/lib/ui/tables/table-agrupada/table-agrupada.component.d.ts +96 -0
  68. package/lib/ui/tables/table-busqueda/table-busqueda.component.d.ts +48 -0
  69. package/lib/ui/tables/table-detalle/table-detalle.component.d.ts +59 -0
  70. package/lib/ui/tables/table-simple/table-simple.component.d.ts +39 -0
  71. package/lib/ui/tables/table-ultimate/table-ultimate.component.d.ts +84 -0
  72. package/lib/ui/tabs/nav-tabs/nav-tabs.component.d.ts +9 -0
  73. package/lib/ui/tabs/tab-item/tab-item.component.d.ts +9 -0
  74. package/lib/utils/general/validaciones-simple.d.ts +2 -0
  75. package/lib/utils/general/validaciones.d.ts +11 -0
  76. package/lib/utils/helpers/api-result.d.ts +17 -0
  77. package/lib/utils/helpers/modal-result.d.ts +10 -0
  78. package/ng-components-tsi-0.0.39.tgz +0 -0
  79. package/package.json +31 -23
  80. package/{src/public-api.ts → public-api.d.ts} +68 -99
  81. package/ng-package.json +0 -7
  82. package/src/lib/directivas/acciones/atajos.directive.ts +0 -26
  83. package/src/lib/directivas/animaciones/fade-animation.ts +0 -45
  84. package/src/lib/directivas/animaciones/fade.directive.ts +0 -43
  85. package/src/lib/directivas/estilos/animated-checkbox.directive.ts +0 -26
  86. package/src/lib/directivas/estilos/button.constants.ts +0 -66
  87. package/src/lib/directivas/estilos/buttons-modal.directive.ts +0 -36
  88. package/src/lib/directivas/estilos/buttons-outline-directive.ts +0 -27
  89. package/src/lib/directivas/estilos/icons.directive.ts +0 -26
  90. package/src/lib/directivas/inputs/caracteres-codigo.directive.ts +0 -63
  91. package/src/lib/directivas/inputs/decimal.directive.ts +0 -51
  92. package/src/lib/directivas/inputs/only-day.directive.ts +0 -53
  93. package/src/lib/directivas/inputs/only-number-flex.directive.ts +0 -50
  94. package/src/lib/directivas/inputs/only-number.directive.ts +0 -53
  95. package/src/lib/enums/table-events.ts +0 -5
  96. package/src/lib/modals/general/md-generico/md-generico.component.html +0 -44
  97. package/src/lib/modals/general/md-generico/md-generico.component.scss +0 -4
  98. package/src/lib/modals/general/md-generico/md-generico.component.ts +0 -50
  99. package/src/lib/models/button-color.model.ts +0 -9
  100. package/src/lib/models/cell-rendered.ts +0 -12
  101. package/src/lib/models/comercial/documentos-cab-auxiliares.model.ts +0 -18
  102. package/src/lib/models/general/recursos.model.ts +0 -285
  103. package/src/lib/models/general/utils.interface.ts +0 -66
  104. package/src/lib/models/input-config.ts +0 -26
  105. package/src/lib/service/alert-confirmation.service.ts +0 -87
  106. package/src/lib/service/alert-error.service.ts +0 -27
  107. package/src/lib/service/alert.service.ts +0 -216
  108. package/src/lib/service/formateador.service.ts +0 -49
  109. package/src/lib/service/toast.service.ts +0 -75
  110. package/src/lib/ui/alerts/alert-confirmation/alert-confirmation.component.html +0 -40
  111. package/src/lib/ui/alerts/alert-confirmation/alert-confirmation.component.scss +0 -42
  112. package/src/lib/ui/alerts/alert-confirmation/alert-confirmation.component.ts +0 -118
  113. package/src/lib/ui/alerts/alert-error/alert-error.component.html +0 -11
  114. package/src/lib/ui/alerts/alert-error/alert-error.component.scss +0 -39
  115. package/src/lib/ui/alerts/alert-error/alert-error.component.ts +0 -27
  116. package/src/lib/ui/alerts/alerta/alerta.component.html +0 -18
  117. package/src/lib/ui/alerts/alerta/alerta.component.scss +0 -104
  118. package/src/lib/ui/alerts/alerta/alerta.component.ts +0 -25
  119. package/src/lib/ui/alerts/badge/badge.component.ts +0 -16
  120. package/src/lib/ui/alerts/toaster/toaster.component.html +0 -52
  121. package/src/lib/ui/alerts/toaster/toaster.component.scss +0 -275
  122. package/src/lib/ui/alerts/toaster/toaster.component.ts +0 -50
  123. package/src/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.html +0 -20
  124. package/src/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.scss +0 -11
  125. package/src/lib/ui/dropdown/dropdown-cdk/dropdown-cdk.component.ts +0 -18
  126. package/src/lib/ui/dropdown/dropdown-simple/dropdown.component.html +0 -10
  127. package/src/lib/ui/dropdown/dropdown-simple/dropdown.component.scss +0 -54
  128. package/src/lib/ui/dropdown/dropdown-simple/dropdown.component.ts +0 -36
  129. package/src/lib/ui/forms/button/button.component.html +0 -69
  130. package/src/lib/ui/forms/button/button.component.scss +0 -126
  131. package/src/lib/ui/forms/button/button.component.ts +0 -137
  132. package/src/lib/ui/forms/filter-toggle/filter-toggle.component.scss +0 -22
  133. package/src/lib/ui/forms/filter-toggle/filter-toggle.component.ts +0 -29
  134. package/src/lib/ui/forms/header/header.component.html +0 -22
  135. package/src/lib/ui/forms/header/header.component.scss +0 -22
  136. package/src/lib/ui/forms/header/header.component.ts +0 -40
  137. package/src/lib/ui/forms/inputs/autocomplete/autocomplete.component.html +0 -46
  138. package/src/lib/ui/forms/inputs/autocomplete/autocomplete.component.scss +0 -90
  139. package/src/lib/ui/forms/inputs/autocomplete/autocomplete.component.ts +0 -203
  140. package/src/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.html +0 -61
  141. package/src/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.scss +0 -128
  142. package/src/lib/ui/forms/inputs/autocomplete-cdk/autocomplete.component.ts +0 -145
  143. package/src/lib/ui/forms/inputs/check-box/check-box.component.html +0 -6
  144. package/src/lib/ui/forms/inputs/check-box/check-box.component.ts +0 -24
  145. package/src/lib/ui/forms/inputs/doble-input/doble-input.component.html +0 -60
  146. package/src/lib/ui/forms/inputs/doble-input/doble-input.component.scss +0 -86
  147. package/src/lib/ui/forms/inputs/doble-input/doble-input.component.ts +0 -129
  148. package/src/lib/ui/forms/inputs/input/input.component.html +0 -169
  149. package/src/lib/ui/forms/inputs/input/input.component.scss +0 -74
  150. package/src/lib/ui/forms/inputs/input/input.component.ts +0 -147
  151. package/src/lib/ui/forms/inputs/input-clase/input-clase.component.html +0 -30
  152. package/src/lib/ui/forms/inputs/input-clase/input-clase.component.scss +0 -0
  153. package/src/lib/ui/forms/inputs/input-clase/input-clase.component.ts +0 -28
  154. package/src/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.html +0 -41
  155. package/src/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.scss +0 -0
  156. package/src/lib/ui/forms/inputs/input-dinamico/input-dinamico.component.ts +0 -17
  157. package/src/lib/ui/forms/inputs/input-radio/input-radio.component.html +0 -26
  158. package/src/lib/ui/forms/inputs/input-radio/input-radio.component.scss +0 -53
  159. package/src/lib/ui/forms/inputs/input-radio/input-radio.component.ts +0 -36
  160. package/src/lib/ui/forms/inputs/multiselected/multiselected.component.html +0 -56
  161. package/src/lib/ui/forms/inputs/multiselected/multiselected.component.scss +0 -145
  162. package/src/lib/ui/forms/inputs/multiselected/multiselected.component.ts +0 -109
  163. package/src/lib/ui/forms/inputs/radio/radio.component.html +0 -7
  164. package/src/lib/ui/forms/inputs/radio/radio.component.scss +0 -0
  165. package/src/lib/ui/forms/inputs/radio/radio.component.ts +0 -23
  166. package/src/lib/ui/forms/inputs/switch/switch.component.html +0 -12
  167. package/src/lib/ui/forms/inputs/switch/switch.component.scss +0 -48
  168. package/src/lib/ui/forms/inputs/switch/switch.component.ts +0 -50
  169. package/src/lib/ui/forms/inputs/switch-activo/switch-activo.component.html +0 -12
  170. package/src/lib/ui/forms/inputs/switch-activo/switch-activo.component.scss +0 -65
  171. package/src/lib/ui/forms/inputs/switch-activo/switch-activo.component.ts +0 -52
  172. package/src/lib/ui/forms/lists/list-option/list-option.component.html +0 -24
  173. package/src/lib/ui/forms/lists/list-option/list-option.component.scss +0 -49
  174. package/src/lib/ui/forms/lists/list-option/list-option.component.ts +0 -35
  175. package/src/lib/ui/forms/lists/list-situaciones/list-situaciones.component.html +0 -29
  176. package/src/lib/ui/forms/lists/list-situaciones/list-situaciones.component.scss +0 -0
  177. package/src/lib/ui/forms/lists/list-situaciones/list-situaciones.component.ts +0 -99
  178. package/src/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.html +0 -46
  179. package/src/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.scss +0 -30
  180. package/src/lib/ui/forms/lists/multi-select-dropdown/multi-select-dropdown.component.ts +0 -96
  181. package/src/lib/ui/forms/sidebar/sidebar.component.html +0 -33
  182. package/src/lib/ui/forms/sidebar/sidebar.component.scss +0 -85
  183. package/src/lib/ui/forms/sidebar/sidebar.component.ts +0 -61
  184. package/src/lib/ui/general/detalle-credito/detalle-credito.component.html +0 -35
  185. package/src/lib/ui/general/detalle-credito/detalle-credito.component.scss +0 -35
  186. package/src/lib/ui/general/detalle-credito/detalle-credito.component.ts +0 -14
  187. package/src/lib/ui/general/montos-calcular/montos-calcular.component.html +0 -17
  188. package/src/lib/ui/general/montos-calcular/montos-calcular.component.scss +0 -36
  189. package/src/lib/ui/general/montos-calcular/montos-calcular.component.ts +0 -19
  190. package/src/lib/ui/general/spinner/spinner.component.html +0 -8
  191. package/src/lib/ui/general/spinner/spinner.component.scss +0 -96
  192. package/src/lib/ui/general/spinner/spinner.component.ts +0 -11
  193. package/src/lib/ui/tables/card-mobile/card-mobile.component.html +0 -34
  194. package/src/lib/ui/tables/card-mobile/card-mobile.component.scss +0 -0
  195. package/src/lib/ui/tables/card-mobile/card-mobile.component.ts +0 -36
  196. package/src/lib/ui/tables/dropdown-menu/dropdown-menu.component.html +0 -59
  197. package/src/lib/ui/tables/dropdown-menu/dropdown-menu.component.scss +0 -88
  198. package/src/lib/ui/tables/dropdown-menu/dropdown-menu.component.ts +0 -171
  199. package/src/lib/ui/tables/paginador/paginador.component.html +0 -12
  200. package/src/lib/ui/tables/paginador/paginador.component.scss +0 -27
  201. package/src/lib/ui/tables/paginador/paginador.component.ts +0 -49
  202. package/src/lib/ui/tables/table-advance/table-advance.component.html +0 -322
  203. package/src/lib/ui/tables/table-advance/table-advance.component.scss +0 -282
  204. package/src/lib/ui/tables/table-advance/table-advance.component.ts +0 -421
  205. package/src/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.html +0 -226
  206. package/src/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.scss +0 -282
  207. package/src/lib/ui/tables/table-advance-optimizada/table-advance-optimizada.component.ts +0 -352
  208. package/src/lib/ui/tables/table-agrupada/table-agrupada.component.html +0 -340
  209. package/src/lib/ui/tables/table-agrupada/table-agrupada.component.scss +0 -282
  210. package/src/lib/ui/tables/table-agrupada/table-agrupada.component.ts +0 -425
  211. package/src/lib/ui/tables/table-busqueda/table-busqueda.component.html +0 -130
  212. package/src/lib/ui/tables/table-busqueda/table-busqueda.component.scss +0 -189
  213. package/src/lib/ui/tables/table-busqueda/table-busqueda.component.ts +0 -199
  214. package/src/lib/ui/tables/table-detalle/table-detalle.component.html +0 -220
  215. package/src/lib/ui/tables/table-detalle/table-detalle.component.scss +0 -135
  216. package/src/lib/ui/tables/table-detalle/table-detalle.component.ts +0 -336
  217. package/src/lib/ui/tables/table-simple/table-simple.component.html +0 -116
  218. package/src/lib/ui/tables/table-simple/table-simple.component.scss +0 -70
  219. package/src/lib/ui/tables/table-simple/table-simple.component.ts +0 -141
  220. package/src/lib/ui/tables/table-ultimate/table-ultimate.component.html +0 -268
  221. package/src/lib/ui/tables/table-ultimate/table-ultimate.component.scss +0 -282
  222. package/src/lib/ui/tables/table-ultimate/table-ultimate.component.ts +0 -383
  223. package/src/lib/ui/tabs/nav-tabs/nav-tabs.component.html +0 -12
  224. package/src/lib/ui/tabs/nav-tabs/nav-tabs.component.scss +0 -100
  225. package/src/lib/ui/tabs/nav-tabs/nav-tabs.component.ts +0 -19
  226. package/src/lib/ui/tabs/tab-item/tab-item.component.html +0 -0
  227. package/src/lib/ui/tabs/tab-item/tab-item.component.scss +0 -0
  228. package/src/lib/ui/tabs/tab-item/tab-item.component.ts +0 -13
  229. package/src/lib/utils/ayuda-global/datatable.ts +0 -67
  230. package/src/lib/utils/ayuda-global/filtros-busqueda.ts +0 -51
  231. package/src/lib/utils/general/validaciones-simple.ts +0 -14
  232. package/src/lib/utils/general/validaciones.ts +0 -123
  233. package/src/lib/utils/helpers/api-result.ts +0 -95
  234. package/src/lib/utils/helpers/modal-result.ts +0 -34
  235. package/tsconfig.lib.json +0 -15
  236. package/tsconfig.lib.prod.json +0 -11
  237. package/tsconfig.spec.json +0 -15
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ng-components-tsi" />
5
+ export * from './public-api';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AtajosDirective {
3
+ altKeyCombination: import("@angular/core").InputSignal<string>;
4
+ emitirAtajo: import("@angular/core").OutputEmitterRef<void>;
5
+ onKeyDown(event: KeyboardEvent): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AtajosDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AtajosDirective, "[atajoTecla]", never, { "altKeyCombination": { "alias": "altKeyCombination"; "required": false; "isSignal": true; }; }, { "emitirAtajo": "emitirAtajo"; }, never, never, true, never>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export declare const fadeInOut: import("@angular/animations").AnimationTriggerMetadata;
2
+ export declare const dropdownAnimation: import("@angular/animations").AnimationTriggerMetadata;
3
+ export declare const dropdownAnimationV2: import("@angular/animations").AnimationTriggerMetadata;
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AnimatedCheckboxDirective {
3
+ cbClass: 'success' | 'danger' | 'warning' | 'info' | '';
4
+ private el;
5
+ private renderer;
6
+ ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnimatedCheckboxDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AnimatedCheckboxDirective, "input[type=checkbox][animatedCheckbox]", never, { "cbClass": { "alias": "cbClass"; "required": false; }; }, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,64 @@
1
+ export declare const COLOR_CLASSES: {
2
+ azul: string;
3
+ rojo: string;
4
+ rojo_alerta: string;
5
+ verde: string;
6
+ negro: string;
7
+ amarillo: string;
8
+ gris: string;
9
+ plomo: string;
10
+ };
11
+ export declare const OUTLINE_COLOR_CLASSES: {
12
+ azul: string;
13
+ rojo: string;
14
+ verde: string;
15
+ negro: string;
16
+ amarillo: string;
17
+ gris: string;
18
+ };
19
+ export declare const ICON_CLASSES: {
20
+ agregar: string;
21
+ buscar: string;
22
+ guardar: string;
23
+ nocancelar: string;
24
+ cancelar: string;
25
+ cancelar2: string;
26
+ marcar: string;
27
+ atras: string;
28
+ adelante: string;
29
+ eliminar: string;
30
+ imprimir: string;
31
+ subir: string;
32
+ bajar: string;
33
+ ver: string;
34
+ comentario: string;
35
+ editar: string;
36
+ calcular: string;
37
+ aprobar: string;
38
+ desaprobar: string;
39
+ check: string;
40
+ excel: string;
41
+ pdf: string;
42
+ refresh: string;
43
+ cerrar: string;
44
+ visar: string;
45
+ anular: string;
46
+ trazabilidad: string;
47
+ correo: string;
48
+ usuario: string;
49
+ enviarSunat: string;
50
+ descargar: string;
51
+ borrar: string;
52
+ lista: string;
53
+ monedas: string;
54
+ izquierda: string;
55
+ derecha: string;
56
+ caja: string;
57
+ cerrar_caja: string;
58
+ abrir_caja: string;
59
+ liquidar: string;
60
+ configuracion: string;
61
+ contrato: string;
62
+ bloquear: string;
63
+ desbloquear: string;
64
+ };
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonsModalDirective implements OnInit {
4
+ color: import("@angular/core").InputSignal<string>;
5
+ private el;
6
+ private renderer;
7
+ ngOnInit(): void;
8
+ aplicarEstilos(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonsModalDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonsModalDirective, "[colorBtn]", never, { "color": { "alias": "colorBtn"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonsOutlineDirective implements OnInit {
4
+ color: import("@angular/core").InputSignal<string>;
5
+ private el;
6
+ private renderer;
7
+ ngOnInit(): void;
8
+ aplicarEstilos(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonsOutlineDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonsOutlineDirective, "[colorOutlineBtn]", never, { "color": { "alias": "colorOutlineBtn"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class IconsDirective implements OnInit {
4
+ name: import("@angular/core").InputSignal<string>;
5
+ private elementRef;
6
+ private renderer;
7
+ ngOnInit(): void;
8
+ aplicarEstilo(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconsDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IconsDirective, "[iconName]", never, { "name": { "alias": "iconName"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CaracteresCodigoDirective {
3
+ private regex;
4
+ private toast;
5
+ caracteresCodigo: import("@angular/core").InputSignal<boolean>;
6
+ onKeyPress(event: KeyboardEvent): void;
7
+ onInput(event: Event): void;
8
+ onPaste(event: ClipboardEvent): void;
9
+ onDrop(event: DragEvent): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaracteresCodigoDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CaracteresCodigoDirective, "[caracteresCodigo]", never, { "caracteresCodigo": { "alias": "caracteresCodigo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DecimalDirective {
3
+ appDecimal: import("@angular/core").InputSignal<string>;
4
+ private elementRef;
5
+ private decimalPipe;
6
+ private ngModel;
7
+ private isFocused;
8
+ ngAfterViewInit(): void;
9
+ onBlur(): void;
10
+ private formatValue;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DecimalDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DecimalDirective, "[appDecimal]", never, { "appDecimal": { "alias": "appDecimal"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class OnlyDayDirective {
3
+ private elementRef;
4
+ onKeyPress(event: KeyboardEvent): void;
5
+ onPaste(event: ClipboardEvent): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnlyDayDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyDayDirective, "[onlyDay]", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class OnlyNumberFlexDirective {
3
+ private elementRef;
4
+ private regex;
5
+ onKeyPress(event: KeyboardEvent): void;
6
+ onPaste(event: ClipboardEvent): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnlyNumberFlexDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyNumberFlexDirective, "[onlyNumberFlex]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class OnlyNumberDirective {
3
+ private elementRef;
4
+ onKeyPress(event: KeyboardEvent): void;
5
+ onPaste(event: ClipboardEvent): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnlyNumberDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyNumberDirective, "[onlyNumber]", never, {}, {}, never, never, true, never>;
8
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum TABLE_EVENTS {
2
+ CLICK = 1,
3
+ DOUBLE_CLICK = 2,
4
+ RIGHT_CLICK = 3
5
+ }
@@ -0,0 +1,25 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MdGenericoComponent {
4
+ private modalService;
5
+ title: import("@angular/core").InputSignal<string>;
6
+ continuar: import("@angular/core").OutputEmitterRef<void>;
7
+ continuar2: import("@angular/core").OutputEmitterRef<void>;
8
+ cerrar: import("@angular/core").OutputEmitterRef<void>;
9
+ scrollable: import("@angular/core").InputSignal<boolean>;
10
+ type: import("@angular/core").InputSignal<"1" | "2" | "7" | "3" | "4" | "5" | "6" | "APROB">;
11
+ content: import("@angular/core").Signal<TemplateRef<any>>;
12
+ footer: import("@angular/core").Signal<TemplateRef<any>>;
13
+ showAlerta: import("@angular/core").InputSignal<boolean>;
14
+ textAlerta: import("@angular/core").InputSignal<string>;
15
+ sizeTitle: import("@angular/core").InputSignal<"1" | "2" | "7" | "3" | "4" | "5" | "6" | "9" | "8">;
16
+ showFiltro: import("@angular/core").InputSignal<boolean>;
17
+ withFiltro: import("@angular/core").ModelSignal<boolean>;
18
+ dataFiltro: import("@angular/core").InputSignal<boolean>;
19
+ emitirFiltro: import("@angular/core").OutputEmitterRef<void>;
20
+ isModal: import("@angular/core").InputSignal<boolean>;
21
+ validaCierre: import("@angular/core").InputSignal<boolean>;
22
+ cerrarModal(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<MdGenericoComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<MdGenericoComponent, "app-md-generico", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "showAlerta": { "alias": "showAlerta"; "required": false; "isSignal": true; }; "textAlerta": { "alias": "textAlerta"; "required": false; "isSignal": true; }; "sizeTitle": { "alias": "sizeTitle"; "required": false; "isSignal": true; }; "showFiltro": { "alias": "showFiltro"; "required": false; "isSignal": true; }; "withFiltro": { "alias": "withFiltro"; "required": false; "isSignal": true; }; "dataFiltro": { "alias": "dataFiltro"; "required": false; "isSignal": true; }; "isModal": { "alias": "isModal"; "required": false; "isSignal": true; }; "validaCierre": { "alias": "validaCierre"; "required": false; "isSignal": true; }; }, { "continuar": "continuar"; "continuar2": "continuar2"; "cerrar": "cerrar"; "withFiltro": "withFiltroChange"; "emitirFiltro": "emitirFiltro"; }, ["content", "footer"], never, true, never>;
25
+ }
@@ -0,0 +1,3 @@
1
+ export type ColorType = 'azul' | 'rojo' | 'rojo_alerta' | 'verde' | 'negro' | 'amarillo' | 'gris' | 'plomo' | 'none' | undefined;
2
+ export type OutlineType = 'azul' | 'rojo' | 'verde' | 'negro' | 'amarillo' | 'gris' | 'plomo' | undefined;
3
+ export type IconType = 'agregar' | 'buscar' | 'guardar' | 'nocancelar' | 'cancelar' | 'cancelar2' | 'marcar' | 'atras' | 'adelante' | 'eliminar' | 'imprimir' | 'subir' | 'ver' | 'bajar' | 'comentario' | 'editar' | 'calcular' | 'aprobar' | 'desaprobar' | 'check' | 'excel' | 'pdf' | 'refresh' | 'cerrar' | 'visar' | 'anular' | 'trazabilidad' | 'bloquear' | 'desbloquear' | 'correo' | 'usuario' | 'enviarSunat' | 'descargar' | 'borrar' | 'lista' | 'monedas' | 'caja' | 'cerrar_caja' | 'abrir_caja' | 'liquidar' | 'configuracion' | 'contrato' | undefined;
@@ -1,8 +1,7 @@
1
- import { ColorType, IconType, OutlineType } from "./button-color.model";
2
-
3
- export class ButtonProperties {
4
- icon?: IconType;
5
- color?: ColorType;
6
- colorOutline?: OutlineType;
7
- texto?: string;
8
- }
1
+ import { ColorType, IconType, OutlineType } from "./button-color.model";
2
+ export declare class ButtonProperties {
3
+ icon?: IconType;
4
+ color?: ColorType;
5
+ colorOutline?: OutlineType;
6
+ texto?: string;
7
+ }
@@ -0,0 +1,11 @@
1
+ export interface CellRender {
2
+ class?: string;
3
+ icon?: string;
4
+ text?: string;
5
+ template?: any;
6
+ hidden?: boolean;
7
+ }
8
+ export interface CellRendered {
9
+ matches: (col: string, value: any, row: any) => boolean;
10
+ render: (value: any, row: any) => CellRender;
11
+ }
@@ -0,0 +1,17 @@
1
+ export interface CalcularTotales {
2
+ title?: string;
3
+ simbolo?: string;
4
+ value?: number;
5
+ title2?: string;
6
+ value2?: number;
7
+ }
8
+ export interface DetalleCredito {
9
+ limitecredito?: number;
10
+ saldo?: number;
11
+ pendiente?: number;
12
+ vencido?: number;
13
+ disponible?: number;
14
+ puntaje?: number;
15
+ credito?: boolean;
16
+ simbolo?: string;
17
+ }
@@ -1,15 +1,14 @@
1
- import { FactorObject, PermisoObject } from "shared-tsi";
2
- import { IconType } from "./button-color.model";
3
-
4
- export class DropdownOption {
5
- icon?: IconType;
6
- text?: string;
7
- condition?: boolean;
8
- property?: PermisoObject;
9
- factor?: FactorObject;
10
- action?: (param?: any) => void;
11
- submenu?: DropdownOption[];
12
- upload?: boolean;
13
- accept?: string;
14
- fileAction?: (file: File, param?: any) => void;
15
- }
1
+ import { FactorObject, PermisoObject } from "shared-tsi";
2
+ import { IconType } from "./button-color.model";
3
+ export declare class DropdownOption {
4
+ icon?: IconType;
5
+ text?: string;
6
+ condition?: boolean;
7
+ property?: PermisoObject;
8
+ factor?: FactorObject;
9
+ action?: (param?: any) => void;
10
+ submenu?: DropdownOption[];
11
+ upload?: boolean;
12
+ accept?: string;
13
+ fileAction?: (file: File, param?: any) => void;
14
+ }
@@ -0,0 +1,271 @@
1
+ export declare class Recursos {
2
+ almacenes?: Almacenes[];
3
+ areas?: any[];
4
+ documentoTipos?: any[];
5
+ monedas?: Monedas[];
6
+ motivos?: Motivos[];
7
+ series?: Series[];
8
+ transportistas?: Transportista[];
9
+ usos?: any[];
10
+ vehiculos?: any[];
11
+ vendedores?: Vendedor[];
12
+ }
13
+ export declare class Series {
14
+ id_cia?: any;
15
+ codigo?: number;
16
+ series?: string;
17
+ tipinv?: number;
18
+ codalm?: number;
19
+ codsuc?: number;
20
+ libro?: any;
21
+ cuenta?: any;
22
+ docid?: number;
23
+ docdef?: boolean;
24
+ descri?: string;
25
+ correl?: number;
26
+ nomser?: any;
27
+ swcorr?: string;
28
+ usuari?: any;
29
+ fcreac?: any;
30
+ factua?: any;
31
+ activo?: any;
32
+ lpt?: number;
33
+ compago?: any;
34
+ kardex?: string;
35
+ canitem?: any;
36
+ filart?: any;
37
+ visachkcred?: string;
38
+ despoblapro?: string;
39
+ actcorr?: number;
40
+ docelec?: boolean;
41
+ tipimp?: any;
42
+ sucursal?: any;
43
+ glosa?: {
44
+ id_cia?: any;
45
+ codigo?: any;
46
+ series?: any;
47
+ observ?: string;
48
+ swformat?: string;
49
+ };
50
+ clases?: any[];
51
+ serieDefaultComercial?: boolean;
52
+ serieDefaultVenta?: boolean;
53
+ }
54
+ export declare class Motivos {
55
+ id_cia?: any;
56
+ tipdoc?: number;
57
+ tipdocDesc?: any;
58
+ id?: string;
59
+ codmot?: number;
60
+ desmot?: string;
61
+ abrevi?: string;
62
+ costea?: string;
63
+ cospro?: string;
64
+ gening?: string;
65
+ gensal?: string;
66
+ reqpre?: string;
67
+ fcreac?: any;
68
+ factua?: any;
69
+ usuari?: any;
70
+ activo?: any;
71
+ swacti?: any;
72
+ tipcli?: string;
73
+ docayuda?: number;
74
+ docayudapv?: number;
75
+ filtrodocu?: any;
76
+ observ?: any;
77
+ ucreac?: any;
78
+ uactua?: any;
79
+ clase01Moneda?: string;
80
+ clase10incigv?: string;
81
+ clase21NoAfectoIGV?: any;
82
+ clase25Anticipo?: any;
83
+ clase06AlmDestino?: any;
84
+ clase18DocPadreOrdenPedido?: any;
85
+ clase44TransGratuita?: any;
86
+ clase52TipoTraslado?: any;
87
+ clase26AplicaAnticipoRel?: any;
88
+ clase53GeneraPercepcion?: any;
89
+ clase61PermiteAdicionarDetalle?: any;
90
+ clase62RecargaConsumo?: any;
91
+ clases?: any[];
92
+ }
93
+ export declare class Monedas {
94
+ id_cia?: any;
95
+ codmon?: string;
96
+ desmon?: string;
97
+ abrevi?: string;
98
+ simbolo?: string;
99
+ nacional?: number;
100
+ cdifdeb?: string;
101
+ cdifhab?: string;
102
+ codsunat?: string;
103
+ fcreac?: any;
104
+ factua?: any;
105
+ usuari?: any;
106
+ activo?: boolean;
107
+ tcdesde?: number;
108
+ tchasta?: number;
109
+ }
110
+ export declare class Vendedor {
111
+ id_cia?: any;
112
+ codven?: number;
113
+ descven?: string;
114
+ cargo?: any;
115
+ email?: any;
116
+ celular?: any;
117
+ telefono?: any;
118
+ comisi?: number;
119
+ abrevi?: any;
120
+ fcreac?: any;
121
+ factua?: any;
122
+ usuari?: any;
123
+ activo?: boolean;
124
+ firma?: any;
125
+ formfirma?: any;
126
+ metas?: any;
127
+ }
128
+ export declare class Transportista {
129
+ id_cia?: any;
130
+ codtra?: number;
131
+ razonc?: string;
132
+ descri?: string;
133
+ domici?: string;
134
+ ruc?: string;
135
+ puntopartida?: any;
136
+ puntollegada?: any;
137
+ placa?: any;
138
+ telefono?: any;
139
+ licencia?: any;
140
+ certificado?: any;
141
+ fcreac?: any;
142
+ factua?: any;
143
+ usuari?: any;
144
+ activo?: boolean;
145
+ modificaendoc?: boolean;
146
+ chofer?: any;
147
+ chofer_apell?: any;
148
+ chofer_tident?: any;
149
+ chofer_dident?: any;
150
+ email?: any;
151
+ observ?: any;
152
+ modalidad?: number;
153
+ defaul?: string;
154
+ }
155
+ export declare class Cobradores {
156
+ id_cia?: number;
157
+ codcob?: number;
158
+ nomcob?: string;
159
+ porcom?: number;
160
+ dni?: any;
161
+ activo?: any;
162
+ swacti?: string;
163
+ usuari?: any;
164
+ fcreac?: string;
165
+ factua?: string;
166
+ cuentacon?: string;
167
+ }
168
+ export declare class Almacenes {
169
+ id_cia?: number;
170
+ tipinv?: number;
171
+ codalm?: number;
172
+ codsuc?: number;
173
+ sucursal?: any;
174
+ descri?: string;
175
+ abrevi?: string;
176
+ fcreac?: any;
177
+ factua?: any;
178
+ usuari?: any;
179
+ activo?: any;
180
+ swterc?: any;
181
+ ubigeo?: string;
182
+ direcc?: any;
183
+ consigna?: any;
184
+ clases?: any[];
185
+ ubicaciones?: any[];
186
+ }
187
+ export declare class Direcciones {
188
+ id_cia?: number | null;
189
+ codcli?: string;
190
+ codenv?: number;
191
+ descri?: string;
192
+ direc1?: string;
193
+ direc2?: string;
194
+ telenv?: string;
195
+ faxenv?: string;
196
+ coddep?: string;
197
+ codprv?: string;
198
+ coddis?: string;
199
+ codzon?: number;
200
+ usuari?: string;
201
+ swacti?: string;
202
+ codcen?: string;
203
+ sunatAnexo?: string;
204
+ departamento?: string;
205
+ provincia?: string;
206
+ distrito?: string;
207
+ ubigeo?: string;
208
+ clases?: any;
209
+ }
210
+ export interface ClaseCabecera {
211
+ id_cia?: any;
212
+ clase?: number;
213
+ descri?: string;
214
+ vreal?: boolean;
215
+ vstrg?: boolean;
216
+ vchar?: boolean;
217
+ vdate?: boolean;
218
+ vtime?: boolean;
219
+ ventero?: boolean;
220
+ vglosa?: boolean;
221
+ obligatorio?: boolean;
222
+ vcodigo?: boolean;
223
+ editable?: boolean;
224
+ imprime?: boolean;
225
+ codigos?: any[];
226
+ value?: string;
227
+ }
228
+ export declare class TipoDocumento {
229
+ id_cia?: number;
230
+ tipdoc?: number;
231
+ situac?: string;
232
+ situacDesc?: string;
233
+ permis?: string;
234
+ alias?: string;
235
+ activo?: boolean;
236
+ usuari?: string;
237
+ fcreac?: string;
238
+ factua?: string;
239
+ indice?: number;
240
+ }
241
+ export declare class TBanco {
242
+ id_cia?: number;
243
+ codban?: string;
244
+ descri?: string;
245
+ sector?: string | null;
246
+ moneda?: string;
247
+ direcc?: string | null;
248
+ clibro?: string | null;
249
+ cuenta?: string | null;
250
+ codsunat?: string;
251
+ situac?: string | null;
252
+ usuari?: string;
253
+ fcreac?: string;
254
+ factua?: string;
255
+ cuentacon?: string;
256
+ cuentaret?: string;
257
+ secuencia?: number;
258
+ cuentacta?: string;
259
+ cuentacar?: string;
260
+ cuentacprot?: string | null;
261
+ cuentacob?: string;
262
+ cuentades?: string;
263
+ cuentagar?: string;
264
+ cuentaord01?: string;
265
+ cuentaord02?: string;
266
+ cuentaenvios?: string;
267
+ filtro?: string;
268
+ swacti?: string;
269
+ abrevi?: string | null;
270
+ clases?: string | null;
271
+ }
@@ -0,0 +1,57 @@
1
+ export interface Meses {
2
+ id: number;
3
+ nombre: string;
4
+ }
5
+ export interface DH {
6
+ cod: string;
7
+ descri: string;
8
+ }
9
+ export interface Filtro {
10
+ libro: number;
11
+ periodo: number;
12
+ fechaDesde: Date;
13
+ fechaHasta: Date;
14
+ mes: number;
15
+ asiento: number;
16
+ }
17
+ export interface Origen {
18
+ id: number;
19
+ nombre: string;
20
+ selected?: boolean;
21
+ }
22
+ export interface ConsultaPlanilla {
23
+ libro?: string;
24
+ periodo?: number;
25
+ mes?: number;
26
+ secuencia?: number;
27
+ }
28
+ export interface FiltroReportes {
29
+ cajaori?: number;
30
+ libro?: string;
31
+ periodo?: number;
32
+ mes?: number;
33
+ tipoArchivo?: string;
34
+ }
35
+ export interface FlujoCajaOperacion {
36
+ concepto: string;
37
+ operacion: string;
38
+ importe: string;
39
+ moneda: string;
40
+ importeMN: string;
41
+ importeME: string;
42
+ }
43
+ export interface AccionTable {
44
+ label?: string;
45
+ icon?: string;
46
+ accionType?: string;
47
+ class?: string;
48
+ }
49
+ export interface VariablePlus {
50
+ key?: string;
51
+ pipe?: string;
52
+ cssClass?: string;
53
+ }
54
+ export interface ItemMenuPage {
55
+ nombre?: string;
56
+ ruta?: string;
57
+ }
@@ -0,0 +1,25 @@
1
+ export interface InputConfig {
2
+ label: string;
3
+ fieldname: string;
4
+ fieldname2?: string;
5
+ disabled?: boolean;
6
+ required?: boolean;
7
+ wlabel?: number;
8
+ maxlen?: number;
9
+ position?: 'start' | 'center' | 'end';
10
+ type?: 'text' | 'text-area' | 'date' | 'number' | 'select' | 'number-format-decimal' | 'number-integer' | 'input-switch';
11
+ lista?: any[];
12
+ keyCodigo?: string;
13
+ keyDescri?: string;
14
+ withTodos?: boolean;
15
+ class?: string;
16
+ joinInfo?: boolean;
17
+ modelo?: 'normal' | 'doble' | 'input-buscar' | 'doble-input-buscar' | 'check';
18
+ buscar?: 'cliente' | 'proveedor' | 'cuenta';
19
+ viewInput?: 'cod' | 'descri';
20
+ alto?: number;
21
+ }
22
+ export interface InputValidate {
23
+ key?: string;
24
+ descri?: string;
25
+ }
@@ -1,4 +1,4 @@
1
- export interface SelectedRow<T> {
2
- id: string;
3
- data: T;
4
- }
1
+ export interface SelectedRow<T> {
2
+ id: string;
3
+ data: T;
4
+ }