ng-unidades 1.0.0

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/README.md ADDED
@@ -0,0 +1,210 @@
1
+ # NgUnidades
2
+
3
+ Ng Unidades es un componente tipo modal para visualizar datos de las undiades y su trazabilidad.
4
+
5
+ Esta Libreria se generó con [Angular CLI](https://github.com/angular/angular-cli) version 19.1.0.
6
+
7
+ ### Pre-requisitos 📋
8
+
9
+ Para que nuestro componente funcione debemos tener instalado las siguientes librerias.
10
+
11
+ * @angular/material
12
+ * ag-grid-angular
13
+ * sweetalert2
14
+
15
+ ### Arquitectura Hexagonal
16
+
17
+ La librería está diseñada con Hexagonal Architecture, lo que significa que separa las capas internas (dominio y aplicación)
18
+ de las capas externas (infraestructura y adaptadores). Esto permite que la lógica de negocio sea independiente de los frameworks
19
+ y herramientas específicas.
20
+
21
+ ### Estructura del proyecto
22
+
23
+ ```plaintext
24
+ 📂 ng-unidades
25
+ ┣ 📂 lib
26
+ ┃ ┣ 📂 domain # Lógica de negocio y modelos
27
+ ┃ ┃ ┣ 📂 mappers # Mapeo de datos API a Domain y viceversa
28
+ ┃ ┃ ┣ 📂 models # Modelos de datos
29
+ ┃ ┃ ┗ 📂 usecase # Casos de uso (Aplicación de negocio)
30
+ ┃ ┣ 📂 environment # Configuración de entorno
31
+ ┃ ┣ 📂 helpers # Funciones auxiliares y utilidades
32
+ ┃ ┣ 📂 infrastructure # Comunicación con el exterior (Servicios, APIs, etc.)
33
+ ┃ ┃ ┣ 📂 dto # Data Transfer Objects
34
+ ┃ ┃ ┣ 📂 repositories # Implementaciones de acceso a datos
35
+ ┃ ┃ ┗ 📂 services # Servicios que interactúan con APIs externas
36
+ ┃ ┣ 📂 entry-point # Adaptadores y puntos de entrada (controladores, etc.)
37
+ ┃ ┃ 📂 modules # Módulos de la aplicación
38
+ ┃ ┃ ┣ 📂 consulta-trazabilidad # Módulo de trazabilidad
39
+ ┃ ┃ ┣ 📂 consulta-unidades # Módulo de unidades
40
+ ┃ ┃ ┗ 📂 shared # Componentes compartidos
41
+ ```
42
+
43
+ ### Datos relevante para la libreria
44
+
45
+ Esta libreria se separa en 2 componentes principales:
46
+
47
+ * Consulta de unidades
48
+
49
+ En este componente se visualizan las unidades de la remesa seleccionada.
50
+
51
+ * Consulta de trazabilidad
52
+
53
+ En este componente se visualizan los datos de la trazabilidad de la unidad seleccionada.
54
+
55
+ >Nota: Estos componentes están relacionados, ya que la consulta de unidades permite seleccionar una unidad específica,
56
+ y luego la consulta de trazabilidad muestra los detalles de esa unidad seleccionada. Pero tambien se pueden usar de
57
+ manera independiente puesto que si solo necesito saber la trazabilidad de una unidad, puedo usar el componente de trazabilidad.
58
+
59
+ ### Consulta de unidades
60
+
61
+ #### Datos de entrada de la libreria
62
+
63
+ Definición de atributos del [input] `consulta-unidades-config` para el correcto funcionamiento del `dialog ng-consulta-unidades`
64
+
65
+ | Atributo | Descripción |
66
+ |-------------------------------|-------------------------------------------------------------------|
67
+ | accessToken (string) | Valor del token de autorización para consumir la api de unidades. |
68
+ | host (string) | Host donde se consultara las unidades. |
69
+ | idRemesa (string) | Identificador de la remesa |
70
+ | numeroRemesa (string) | Numero de remesa |
71
+ | widthDialog? (string) | (Opcional) Ancho del dialog. Default: 1080px | |
72
+ | heightTable? (string) | (Opcional) Alto de la tabla. Default: 350px |
73
+ | camposAOcultar? (string[]) | (Opcional) Campos que no se deseen mostrar en la tabla |
74
+
75
+
76
+ Nombre de los campos que se pueden ocultar:
77
+ * codigoUnidad
78
+ * tipoUnidad
79
+ * claseEmpaque
80
+ * tipoUbicacion
81
+ * codigoUbicacionActual
82
+ * ubicacionActual
83
+ * regionalUbicacion
84
+ * movilEntrega
85
+ * certificacion
86
+
87
+ ### Consulta de trazabilidad unidades
88
+
89
+ #### Datos de entrada de la libreria
90
+
91
+ Definición de atributos del [input] `consulta-trazabilidad-config` para el correcto funcionamiento del `dialog ng-consulta-trazabilidad`
92
+
93
+ | Atributo | Descripción |
94
+ |-------------------------------|-------------------------------------------------------------------|
95
+ | accessToken (string) | Valor del token de autorización para consumir la api de unidades. |
96
+ | host (string) | Host donde se consultara la trazabilidad de la undiades. |
97
+ | idUnidad (string) | Identificador de la unidad |
98
+ | numeroUnidad (string) | Numero de unidad |
99
+ | widthDialog? (string) | (Opcional) Ancho del dialog. Default: 1080px | |
100
+ | heightTable? (string) | (Opcional) Alto de la tabla. Default: 350px |
101
+ | camposAOcultar? (string[]) | (Opcional) Campos que no se deseen mostrar en la tabla |
102
+
103
+
104
+ Nombre de los campos que se pueden ocultar:
105
+ * fechaEvento
106
+ * estado
107
+ * evento
108
+ * proceso
109
+ * ceopProceso
110
+ * ubicacionActual
111
+ * tipoUbicacion
112
+ * codigoUbicacion
113
+ * ubicacion
114
+ * usuario
115
+ * observaciones
116
+
117
+ ### Configuración 🔧
118
+
119
+ En el archivo `app.gateway-config.ts`, agrega lo siguiente para definir la configuración del Gateway:
120
+
121
+ ```ts
122
+ import { libCreateGateWayConfig } from 'ng-unidades';
123
+
124
+ export const gateWayConfig: Provider | EnvironmentProviders = [
125
+ libUnidadesGateWayConfig // Providers lib Unidades
126
+ ];
127
+ ```
128
+
129
+ En el archivo `app.config.ts`, agrega la siguiente configuración:
130
+
131
+ ```ts
132
+ provideAnimationsAsync(), //Animation Angular
133
+ //HttpClient
134
+ provideHttpClient(
135
+ withFetch(),
136
+ ),
137
+ NgConsultaUnidadesDialog, // Providers Dialog de consulta de unidades
138
+ NgConsultaTrazabilidadDialog, // Providers Dialog de consulta de trazabilidad
139
+ gateWayConfig // Provider app.gateway-config.ts
140
+ //Tambien se puede colocar directamente el Provider de la libreria
141
+ //libCreateGateWayConfig //De esta manera
142
+ ```
143
+
144
+ >Nota: Solo se debe agregar el Provider de la libreria que se va a utilizar.
145
+ > No es necesario agregar los 2 si no se va a utilizar.
146
+
147
+ Como se mencionó anteriormente, el Provider de la librería se puede agregar directamente en el archivo `app.config.ts.`
148
+ Sin embargo, es recomendable definirlo en el archivo de Providers del proyecto consumidor para mantener un mejor orden y organización.
149
+
150
+ ### Como utilizar dialog de consulta de unidades
151
+
152
+ Importación de la libreria
153
+
154
+ ```ts
155
+ import { NgConsultaUnidadesDialog } from 'ng-unidades';
156
+ ```
157
+
158
+ Declaración e Inyección de la libreria
159
+
160
+ ```ts
161
+ constructor(
162
+ private readonly ngConsultaUnidadesDialog: NgConsultaUnidadesDialog
163
+ ) {}
164
+ ```
165
+
166
+ Abrir el dialog
167
+
168
+ ```ts
169
+ const configConsultaUnidades: ConsultaUnidadesConfigDto = {
170
+ accessToken: 'ey23232323',
171
+ host: environment.HOST,
172
+ idRemesa: "2323223232323232332",
173
+ numeroRemesa: '232323232'
174
+ }
175
+ this.ngConsultaUnidadesDialog.open(configConsultaUnidades);
176
+ ```
177
+
178
+ ### Como utilizar dialog de consulta de unidades
179
+
180
+ Importación de la libreria
181
+
182
+ ```ts
183
+ import { NgConsultaTrazabilidadDialog } from 'ng-unidades';
184
+ ```
185
+
186
+ Declaración e Inyección de la libreria
187
+
188
+ ```ts
189
+ constructor(
190
+ private readonly ngConsultaTrazabilidadDialog: NgConsultaTrazabilidadDialog
191
+ ) {}
192
+ ```
193
+
194
+ Abrir el dialog
195
+
196
+ ```ts
197
+ const configConsultaTrazabilidad: ConsultaTrazabilidadConfigDto = {
198
+ accessToken: 'ey123',
199
+ host: environment.HOST,
200
+ idUnidad: "2323232323232323232323",
201
+ numeroUnidad: '23112323'
202
+ }
203
+ this.ngConsultaTrazabilidadDialog.open(configConsultaTrazabilidad);
204
+ ```
205
+
206
+
207
+ ### Autores ✒️
208
+
209
+ * **Camiliño Andrés Calle Coavas** - *Analista Desarrollador* - [Softcaribbean](https://www.softcaribbean.com/)
210
+ * **Fabio Migeul Lengua Pastrana** - *Analista Desarrollador* - [Softcaribbean](https://www.softcaribbean.com/)
@@ -0,0 +1,605 @@
1
+ import * as i0 from '@angular/core';
2
+ import { NgModule, inject, EventEmitter, Output, Input, Component, Injectable, Inject } from '@angular/core';
3
+ import { take, map } from 'rxjs';
4
+ import * as i1$1 from '@angular/material/dialog';
5
+ import { MatDialogModule, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
6
+ import { MatNativeDateModule, MAT_DATE_LOCALE } from '@angular/material/core';
7
+ import { MatAutocompleteModule } from '@angular/material/autocomplete';
8
+ import * as i1 from '@angular/material/button';
9
+ import { MatButtonModule } from '@angular/material/button';
10
+ import * as i2$1 from '@angular/material/card';
11
+ import { MatCardModule, MatCard, MatCardHeader, MatCardTitle } from '@angular/material/card';
12
+ import { MatCheckboxModule } from '@angular/material/checkbox';
13
+ import { MatChipsModule } from '@angular/material/chips';
14
+ import { MatDatepickerModule } from '@angular/material/datepicker';
15
+ import { MatDividerModule } from '@angular/material/divider';
16
+ import { MatExpansionModule } from '@angular/material/expansion';
17
+ import { MatFormFieldModule } from '@angular/material/form-field';
18
+ import { MatGridListModule } from '@angular/material/grid-list';
19
+ import * as i2 from '@angular/material/icon';
20
+ import { MatIconModule } from '@angular/material/icon';
21
+ import { MatInputModule } from '@angular/material/input';
22
+ import { MatListModule } from '@angular/material/list';
23
+ import { MatMenuModule } from '@angular/material/menu';
24
+ import { MatPaginatorModule } from '@angular/material/paginator';
25
+ import { MatProgressBarModule } from '@angular/material/progress-bar';
26
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
27
+ import { MatSelectModule } from '@angular/material/select';
28
+ import { MatSidenavModule } from '@angular/material/sidenav';
29
+ import { MatSliderModule } from '@angular/material/slider';
30
+ import { MatSlideToggleModule } from '@angular/material/slide-toggle';
31
+ import { MatSnackBarModule } from '@angular/material/snack-bar';
32
+ import { MatSortModule } from '@angular/material/sort';
33
+ import { MatStepperModule } from '@angular/material/stepper';
34
+ import { MatTableModule } from '@angular/material/table';
35
+ import { MatTabsModule } from '@angular/material/tabs';
36
+ import * as i3 from '@angular/material/toolbar';
37
+ import { MatToolbarModule } from '@angular/material/toolbar';
38
+ import { MatTooltipModule } from '@angular/material/tooltip';
39
+ import { AgGridAngular } from 'ag-grid-angular';
40
+ import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
41
+
42
+ class MaterialModule {
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
44
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: MaterialModule, imports: [MatAutocompleteModule,
45
+ MatButtonModule,
46
+ MatCardModule,
47
+ MatCheckboxModule,
48
+ MatChipsModule,
49
+ MatDatepickerModule,
50
+ MatDialogModule,
51
+ MatDividerModule,
52
+ MatExpansionModule,
53
+ MatFormFieldModule,
54
+ MatGridListModule,
55
+ MatIconModule,
56
+ MatInputModule,
57
+ MatListModule,
58
+ MatMenuModule,
59
+ MatNativeDateModule,
60
+ MatPaginatorModule,
61
+ MatProgressBarModule,
62
+ MatProgressSpinnerModule,
63
+ MatSelectModule,
64
+ MatSidenavModule,
65
+ MatSliderModule,
66
+ MatSlideToggleModule,
67
+ MatSnackBarModule,
68
+ MatSortModule,
69
+ MatStepperModule,
70
+ MatTableModule,
71
+ MatTabsModule,
72
+ MatToolbarModule,
73
+ MatTooltipModule], exports: [MatAutocompleteModule,
74
+ MatButtonModule,
75
+ MatCardModule,
76
+ MatCheckboxModule,
77
+ MatChipsModule,
78
+ MatDatepickerModule,
79
+ MatDialogModule,
80
+ MatDividerModule,
81
+ MatExpansionModule,
82
+ MatFormFieldModule,
83
+ MatGridListModule,
84
+ MatIconModule,
85
+ MatInputModule,
86
+ MatListModule,
87
+ MatMenuModule,
88
+ MatNativeDateModule,
89
+ MatPaginatorModule,
90
+ MatProgressBarModule,
91
+ MatProgressSpinnerModule,
92
+ MatSelectModule,
93
+ MatSidenavModule,
94
+ MatSliderModule,
95
+ MatSlideToggleModule,
96
+ MatSnackBarModule,
97
+ MatSortModule,
98
+ MatStepperModule,
99
+ MatTableModule,
100
+ MatTabsModule,
101
+ MatToolbarModule,
102
+ MatTooltipModule] });
103
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MaterialModule, providers: [
104
+ { provide: MAT_DATE_LOCALE, useValue: 'es-ES' },
105
+ ], imports: [MatAutocompleteModule,
106
+ MatButtonModule,
107
+ MatCardModule,
108
+ MatCheckboxModule,
109
+ MatChipsModule,
110
+ MatDatepickerModule,
111
+ MatDialogModule,
112
+ MatDividerModule,
113
+ MatExpansionModule,
114
+ MatFormFieldModule,
115
+ MatGridListModule,
116
+ MatIconModule,
117
+ MatInputModule,
118
+ MatListModule,
119
+ MatMenuModule,
120
+ MatNativeDateModule,
121
+ MatPaginatorModule,
122
+ MatProgressBarModule,
123
+ MatProgressSpinnerModule,
124
+ MatSelectModule,
125
+ MatSidenavModule,
126
+ MatSliderModule,
127
+ MatSlideToggleModule,
128
+ MatSnackBarModule,
129
+ MatSortModule,
130
+ MatStepperModule,
131
+ MatTableModule,
132
+ MatTabsModule,
133
+ MatToolbarModule,
134
+ MatTooltipModule, MatAutocompleteModule,
135
+ MatButtonModule,
136
+ MatCardModule,
137
+ MatCheckboxModule,
138
+ MatChipsModule,
139
+ MatDatepickerModule,
140
+ MatDialogModule,
141
+ MatDividerModule,
142
+ MatExpansionModule,
143
+ MatFormFieldModule,
144
+ MatGridListModule,
145
+ MatIconModule,
146
+ MatInputModule,
147
+ MatListModule,
148
+ MatMenuModule,
149
+ MatNativeDateModule,
150
+ MatPaginatorModule,
151
+ MatProgressBarModule,
152
+ MatProgressSpinnerModule,
153
+ MatSelectModule,
154
+ MatSidenavModule,
155
+ MatSliderModule,
156
+ MatSlideToggleModule,
157
+ MatSnackBarModule,
158
+ MatSortModule,
159
+ MatStepperModule,
160
+ MatTableModule,
161
+ MatTabsModule,
162
+ MatToolbarModule,
163
+ MatTooltipModule] });
164
+ }
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MaterialModule, decorators: [{
166
+ type: NgModule,
167
+ args: [{
168
+ imports: [
169
+ MatAutocompleteModule,
170
+ MatButtonModule,
171
+ MatCardModule,
172
+ MatCheckboxModule,
173
+ MatChipsModule,
174
+ MatDatepickerModule,
175
+ MatDialogModule,
176
+ MatDividerModule,
177
+ MatExpansionModule,
178
+ MatFormFieldModule,
179
+ MatGridListModule,
180
+ MatIconModule,
181
+ MatInputModule,
182
+ MatListModule,
183
+ MatMenuModule,
184
+ MatNativeDateModule,
185
+ MatPaginatorModule,
186
+ MatProgressBarModule,
187
+ MatProgressSpinnerModule,
188
+ MatSelectModule,
189
+ MatSidenavModule,
190
+ MatSliderModule,
191
+ MatSlideToggleModule,
192
+ MatSnackBarModule,
193
+ MatSortModule,
194
+ MatStepperModule,
195
+ MatTableModule,
196
+ MatTabsModule,
197
+ MatToolbarModule,
198
+ MatTooltipModule
199
+ ],
200
+ exports: [
201
+ MatAutocompleteModule,
202
+ MatButtonModule,
203
+ MatCardModule,
204
+ MatCheckboxModule,
205
+ MatChipsModule,
206
+ MatDatepickerModule,
207
+ MatDialogModule,
208
+ MatDividerModule,
209
+ MatExpansionModule,
210
+ MatFormFieldModule,
211
+ MatGridListModule,
212
+ MatIconModule,
213
+ MatInputModule,
214
+ MatListModule,
215
+ MatMenuModule,
216
+ MatNativeDateModule,
217
+ MatPaginatorModule,
218
+ MatProgressBarModule,
219
+ MatProgressSpinnerModule,
220
+ MatSelectModule,
221
+ MatSidenavModule,
222
+ MatSliderModule,
223
+ MatSlideToggleModule,
224
+ MatSnackBarModule,
225
+ MatSortModule,
226
+ MatStepperModule,
227
+ MatTableModule,
228
+ MatTabsModule,
229
+ MatToolbarModule,
230
+ MatTooltipModule
231
+ ],
232
+ providers: [
233
+ { provide: MAT_DATE_LOCALE, useValue: 'es-ES' },
234
+ ],
235
+ }]
236
+ }] });
237
+
238
+ class MatToolbarComponent {
239
+ dialogRef = inject((MatDialogRef));
240
+ version = 'v1.0.0';
241
+ titulo;
242
+ icono;
243
+ cerrar = new EventEmitter();
244
+ cerrarModal() {
245
+ this.dialogRef.close();
246
+ this.cerrar.emit();
247
+ }
248
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MatToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
249
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: MatToolbarComponent, isStandalone: true, selector: "lib-mat-toolbar", inputs: { titulo: "titulo", icono: "icono" }, outputs: { cerrar: "cerrar" }, ngImport: i0, template: "<mat-toolbar color=\"primary\" class=\"heightHeader\">\r\n <span class=\"fill-remaining-space\"></span>\r\n @if (icono) {\r\n <mat-icon>{{ icono }}</mat-icon>\r\n }\r\n <span class=\"fill-remaining-space\">{{ titulo }}</span>\r\n <span class=\"spacer-toolbar\"></span>\r\n <span>{{ version }}</span>\r\n <button class=\"close-modal\" mat-icon-button (click)=\"cerrarModal()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</mat-toolbar>\r\n", styles: [".spacer-toolbar{flex:1 1 auto}.heightHeader{height:40px;border-top-left-radius:4px;border-top-right-radius:4px}span{font-size:15px;padding-left:5px;height:28px}.mat-toolbar.mat-primary{background:#b71c1c;color:#fff}.close-modal{color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: MaterialModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }] });
250
+ }
251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MatToolbarComponent, decorators: [{
252
+ type: Component,
253
+ args: [{ selector: 'lib-mat-toolbar', imports: [
254
+ MaterialModule
255
+ ], template: "<mat-toolbar color=\"primary\" class=\"heightHeader\">\r\n <span class=\"fill-remaining-space\"></span>\r\n @if (icono) {\r\n <mat-icon>{{ icono }}</mat-icon>\r\n }\r\n <span class=\"fill-remaining-space\">{{ titulo }}</span>\r\n <span class=\"spacer-toolbar\"></span>\r\n <span>{{ version }}</span>\r\n <button class=\"close-modal\" mat-icon-button (click)=\"cerrarModal()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</mat-toolbar>\r\n", styles: [".spacer-toolbar{flex:1 1 auto}.heightHeader{height:40px;border-top-left-radius:4px;border-top-right-radius:4px}span{font-size:15px;padding-left:5px;height:28px}.mat-toolbar.mat-primary{background:#b71c1c;color:#fff}.close-modal{color:#fff}\n"] }]
256
+ }], propDecorators: { titulo: [{
257
+ type: Input
258
+ }], icono: [{
259
+ type: Input
260
+ }], cerrar: [{
261
+ type: Output
262
+ }] } });
263
+
264
+ class GridConsultaUnidadesDefinition {
265
+ columnDefs = [
266
+ {
267
+ headerName: 'Código Unidad',
268
+ field: 'codigoUnidad',
269
+ sortable: true,
270
+ resizable: true,
271
+ filter: true,
272
+ },
273
+ {
274
+ headerName: 'Tipo de unidad',
275
+ field: 'tipoUnidad',
276
+ sortable: true,
277
+ resizable: true,
278
+ filter: true,
279
+ },
280
+ {
281
+ headerName: 'Clase de empaque',
282
+ field: 'claseEmpaque',
283
+ sortable: true,
284
+ resizable: true,
285
+ filter: true,
286
+ },
287
+ {
288
+ headerName: 'Tipo de ubicación',
289
+ field: 'tipoUbicacion',
290
+ sortable: true,
291
+ resizable: true,
292
+ filter: true,
293
+ },
294
+ {
295
+ headerName: 'Código ubicación actual',
296
+ field: 'codigoUbicacionActual',
297
+ sortable: true,
298
+ resizable: true,
299
+ filter: true,
300
+ },
301
+ {
302
+ headerName: 'Ubicación actual',
303
+ field: 'ubicacionActual',
304
+ sortable: true,
305
+ resizable: true,
306
+ filter: true,
307
+ },
308
+ {
309
+ headerName: 'Regional ubicación',
310
+ field: 'regionalUbicacion',
311
+ sortable: true,
312
+ resizable: true,
313
+ filter: true,
314
+ },
315
+ {
316
+ headerName: 'Movíl Entrega',
317
+ field: 'movilEntrega',
318
+ sortable: true,
319
+ resizable: true,
320
+ filter: true,
321
+ },
322
+ {
323
+ headerName: 'Certificación',
324
+ field: 'certificacion',
325
+ sortable: true,
326
+ resizable: true,
327
+ filter: true,
328
+ }
329
+ ];
330
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GridConsultaUnidadesDefinition, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
331
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GridConsultaUnidadesDefinition });
332
+ }
333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GridConsultaUnidadesDefinition, decorators: [{
334
+ type: Injectable
335
+ }] });
336
+
337
+ ModuleRegistry.registerModules([AllCommunityModule]);
338
+ class ConsultaUnidadesComponent {
339
+ data;
340
+ gridDefinition;
341
+ constructor(data, gridDefinition) {
342
+ this.data = data;
343
+ this.gridDefinition = gridDefinition;
344
+ this.columnDefs = this.gridDefinition.columnDefs;
345
+ this.config = data;
346
+ this.heightTable = this.config.heightTable ?? '350px';
347
+ this.overlayLoadingTemplate = '<span style="padding: 10px; background: #a82e26; color: white; font-size: 12px">Consultado, por favor espere...</span>';
348
+ this.overlayNoRowsTemplate = '<span style="padding: 10px; background: #a82e26; color: white; font-size: 12px">No se han encontrado registros con los parámetros ingresados.</span>';
349
+ }
350
+ titulo = 'Unidades de la remesa 439330590';
351
+ columnDefs;
352
+ rowData;
353
+ gridComponents;
354
+ heightTable;
355
+ context;
356
+ config;
357
+ gridApi;
358
+ overlayLoadingTemplate;
359
+ overlayNoRowsTemplate;
360
+ isLoading = false;
361
+ onGridReady(params) {
362
+ params.api.hideOverlay();
363
+ this.gridApi = params.api;
364
+ params.api.applyColumnState({
365
+ state: [
366
+ { colId: 'cuenCodigo', hide: true },
367
+ { colId: 'estaCuenDescripcion', hide: true },
368
+ { colId: 'claseFactura', hide: true },
369
+ { colId: 'unidadNegocio', hide: true },
370
+ { colId: 'ciudCuenta', hide: true },
371
+ ],
372
+ applyOrder: true,
373
+ });
374
+ }
375
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConsultaUnidadesComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: GridConsultaUnidadesDefinition }], target: i0.ɵɵFactoryTarget.Component });
376
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ConsultaUnidadesComponent, isStandalone: true, selector: "lib-consulta-unidades", providers: [
377
+ GridConsultaUnidadesDefinition
378
+ ], ngImport: i0, template: "<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<div>\r\n <mat-card>\r\n <lib-mat-toolbar [titulo]=\"titulo\"></lib-mat-toolbar>\r\n </mat-card>\r\n\r\n <mat-card class=\"card\" appearance=\"outlined\">\r\n <mat-card-header class=\"card-header-custom\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-card-title class=\"card-title\">\r\n Lista de unidades (2)\r\n </mat-card-title>\r\n </mat-card-header>\r\n\r\n <div class=\"container\">\r\n <div style=\"width: 100%;\">\r\n <ag-grid-angular data-testid=\"lib-consul-undiades-tabla\"\r\n [style.height]=\"heightTable\"\r\n style=\"width: 100%;\"\r\n [rowData]=\"rowData\"\r\n [columnDefs]=\"columnDefs\"\r\n [components]=\"gridComponents\"\r\n [context]=\"context\"\r\n [suppressDragLeaveHidesColumns]=\"true\"\r\n [enableCellTextSelection]=\"true\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n [overlayNoRowsTemplate]=\"overlayNoRowsTemplate\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [loading]=\"isLoading\"\r\n />\r\n </div>\r\n </div>\r\n </mat-card>\r\n</div>\r\n", styles: ["div.container{display:flex;margin:10px}.card{margin:20px;border:2px solid #b71c1c;border-top:0}.card-header-custom{background-color:#b71c1c;color:#fff;padding:5px 15px;border-radius:10px 10px 0 0}.card-title{font-size:15px;color:#fff}::ng-deep .ag-header{background:#fff;color:#000;font-size:12px;height:40px!important;min-height:40px!important}::ng-deep .ag-row{font-size:12px}::ng-deep .ag-header-cell-label,.ag-header-row{height:40px!important}::ng-deep .ag-header-cell-filter-button{height:23px}::ng-deep div.mat-mdc-autocomplete-panel{background-color:#faf9fd!important}::ng-deep .mat-mdc-option.mdc-list-item{font-size:12px}::ng-deep .cdk-overlay-pane.mat-mdc-dialog-panel{overflow:auto}\n"], dependencies: [{ kind: "component", type: MatToolbarComponent, selector: "lib-mat-toolbar", inputs: ["titulo", "icono"], outputs: ["cerrar"] }, { kind: "ngmodule", type: MaterialModule }, { kind: "component", type: i2$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i2$1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i2$1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "hidePaddedHeaderRows", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "suppressStartEditOnTab", "getFullRowEditValidationErrors", "invalidEditValueMode", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "advancedFilterParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableFilterHandlers", "filterHandlers", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "rowDragInsertDelay", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "groupHierarchyConfig", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "ssrmExpandAllAffectsAllRows", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow", "isRowValidDropPosition"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnsReset", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "filterUiChanged", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }] });
379
+ }
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConsultaUnidadesComponent, decorators: [{
381
+ type: Component,
382
+ args: [{ selector: 'lib-consulta-unidades', imports: [
383
+ MatToolbarComponent,
384
+ MaterialModule,
385
+ AgGridAngular
386
+ ], providers: [
387
+ GridConsultaUnidadesDefinition
388
+ ], template: "<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<div>\r\n <mat-card>\r\n <lib-mat-toolbar [titulo]=\"titulo\"></lib-mat-toolbar>\r\n </mat-card>\r\n\r\n <mat-card class=\"card\" appearance=\"outlined\">\r\n <mat-card-header class=\"card-header-custom\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-card-title class=\"card-title\">\r\n Lista de unidades (2)\r\n </mat-card-title>\r\n </mat-card-header>\r\n\r\n <div class=\"container\">\r\n <div style=\"width: 100%;\">\r\n <ag-grid-angular data-testid=\"lib-consul-undiades-tabla\"\r\n [style.height]=\"heightTable\"\r\n style=\"width: 100%;\"\r\n [rowData]=\"rowData\"\r\n [columnDefs]=\"columnDefs\"\r\n [components]=\"gridComponents\"\r\n [context]=\"context\"\r\n [suppressDragLeaveHidesColumns]=\"true\"\r\n [enableCellTextSelection]=\"true\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n [overlayNoRowsTemplate]=\"overlayNoRowsTemplate\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [loading]=\"isLoading\"\r\n />\r\n </div>\r\n </div>\r\n </mat-card>\r\n</div>\r\n", styles: ["div.container{display:flex;margin:10px}.card{margin:20px;border:2px solid #b71c1c;border-top:0}.card-header-custom{background-color:#b71c1c;color:#fff;padding:5px 15px;border-radius:10px 10px 0 0}.card-title{font-size:15px;color:#fff}::ng-deep .ag-header{background:#fff;color:#000;font-size:12px;height:40px!important;min-height:40px!important}::ng-deep .ag-row{font-size:12px}::ng-deep .ag-header-cell-label,.ag-header-row{height:40px!important}::ng-deep .ag-header-cell-filter-button{height:23px}::ng-deep div.mat-mdc-autocomplete-panel{background-color:#faf9fd!important}::ng-deep .mat-mdc-option.mdc-list-item{font-size:12px}::ng-deep .cdk-overlay-pane.mat-mdc-dialog-panel{overflow:auto}\n"] }]
389
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
390
+ type: Inject,
391
+ args: [MAT_DIALOG_DATA]
392
+ }] }, { type: GridConsultaUnidadesDefinition }] });
393
+
394
+ class NgConsultaUnidadesDialog {
395
+ dialog;
396
+ constructor(dialog) {
397
+ this.dialog = dialog;
398
+ }
399
+ dialogRef;
400
+ open(config) {
401
+ this.dialogRef = this.dialog.open(ConsultaUnidadesComponent, {
402
+ data: config,
403
+ disableClose: true,
404
+ width: config.widthDialog ?? '1080px',
405
+ maxWidth: config.widthDialog ?? '1080px',
406
+ panelClass: 'ng-consulta-unidades-lib'
407
+ });
408
+ }
409
+ confirmed() {
410
+ return this.dialogRef.afterClosed().pipe(take(1), map((res) => {
411
+ return res;
412
+ }));
413
+ }
414
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NgConsultaUnidadesDialog, deps: [{ token: i1$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
415
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NgConsultaUnidadesDialog });
416
+ }
417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NgConsultaUnidadesDialog, decorators: [{
418
+ type: Injectable
419
+ }], ctorParameters: () => [{ type: i1$1.MatDialog }] });
420
+
421
+ class GridConsultaTrazabilidadDefinition {
422
+ columnDefs = [
423
+ {
424
+ headerName: 'Fecha Evento',
425
+ field: 'fechaEvento',
426
+ sortable: true,
427
+ resizable: true,
428
+ filter: true,
429
+ },
430
+ {
431
+ headerName: 'Estado',
432
+ field: 'estado',
433
+ sortable: true,
434
+ resizable: true,
435
+ filter: true,
436
+ },
437
+ {
438
+ headerName: 'Evento',
439
+ field: 'evento',
440
+ sortable: true,
441
+ resizable: true,
442
+ filter: true,
443
+ },
444
+ {
445
+ headerName: 'Proceso',
446
+ field: 'proceso',
447
+ sortable: true,
448
+ resizable: true,
449
+ filter: true,
450
+ },
451
+ {
452
+ headerName: 'Ceop proceso',
453
+ field: 'ceopProceso',
454
+ sortable: true,
455
+ resizable: true,
456
+ filter: true,
457
+ },
458
+ {
459
+ headerName: 'Ubicación actual',
460
+ field: 'ubicacionActual',
461
+ sortable: true,
462
+ resizable: true,
463
+ filter: true,
464
+ },
465
+ {
466
+ headerName: 'Tipo Ubicación',
467
+ field: 'tipoUbicacion',
468
+ sortable: true,
469
+ resizable: true,
470
+ filter: true,
471
+ },
472
+ {
473
+ headerName: 'Código Ubicación',
474
+ field: 'codigoUbicacion',
475
+ sortable: true,
476
+ resizable: true,
477
+ filter: true,
478
+ },
479
+ {
480
+ headerName: 'Ubicación',
481
+ field: 'ubicacion',
482
+ sortable: true,
483
+ resizable: true,
484
+ filter: true,
485
+ },
486
+ {
487
+ headerName: 'Usuario',
488
+ field: 'usuario',
489
+ sortable: true,
490
+ resizable: true,
491
+ filter: true,
492
+ },
493
+ {
494
+ headerName: 'Observaciones',
495
+ field: 'observaciones',
496
+ sortable: true,
497
+ resizable: true,
498
+ filter: true,
499
+ }
500
+ ];
501
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GridConsultaTrazabilidadDefinition, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
502
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GridConsultaTrazabilidadDefinition });
503
+ }
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GridConsultaTrazabilidadDefinition, decorators: [{
505
+ type: Injectable
506
+ }] });
507
+
508
+ class ConsultaTrazabilidadComponent {
509
+ data;
510
+ gridDefinition;
511
+ constructor(data, gridDefinition) {
512
+ this.data = data;
513
+ this.gridDefinition = gridDefinition;
514
+ this.columnDefs = this.gridDefinition.columnDefs;
515
+ this.config = data;
516
+ this.heightTable = this.config.heightTable ?? '350px';
517
+ this.overlayLoadingTemplate = '<span style="padding: 10px; background: #a82e26; color: white; font-size: 12px">Consultado, por favor espere...</span>';
518
+ this.overlayNoRowsTemplate = '<span style="padding: 10px; background: #a82e26; color: white; font-size: 12px">No se han encontrado registros con los parámetros ingresados.</span>';
519
+ }
520
+ titulo = 'Trazabilidad de la unidad TCCDA0034830893';
521
+ columnDefs;
522
+ rowData;
523
+ gridComponents;
524
+ heightTable;
525
+ context;
526
+ config;
527
+ gridApi;
528
+ overlayLoadingTemplate;
529
+ overlayNoRowsTemplate;
530
+ isLoading = false;
531
+ onGridReady(params) {
532
+ params.api.hideOverlay();
533
+ this.gridApi = params.api;
534
+ params.api.applyColumnState({
535
+ state: [
536
+ { colId: 'cuenCodigo', hide: true },
537
+ { colId: 'estaCuenDescripcion', hide: true },
538
+ { colId: 'claseFactura', hide: true },
539
+ { colId: 'unidadNegocio', hide: true },
540
+ { colId: 'ciudCuenta', hide: true },
541
+ ],
542
+ applyOrder: true,
543
+ });
544
+ }
545
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConsultaTrazabilidadComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: GridConsultaTrazabilidadDefinition }], target: i0.ɵɵFactoryTarget.Component });
546
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ConsultaTrazabilidadComponent, isStandalone: true, selector: "lib-consulta-trazabilidad", providers: [
547
+ GridConsultaTrazabilidadDefinition
548
+ ], ngImport: i0, template: "<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<div>\r\n <mat-card>\r\n <lib-mat-toolbar [titulo]=\"titulo\"></lib-mat-toolbar>\r\n </mat-card>\r\n <mat-card class=\"card\" appearance=\"outlined\">\r\n <mat-card-header class=\"card-header-custom\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-card-title class=\"card-title\">\r\n Lista de registros (1)\r\n </mat-card-title>\r\n </mat-card-header>\r\n\r\n <div class=\"container\">\r\n <div style=\"width: 100%;\">\r\n <ag-grid-angular data-testid=\"lib-consul-undiades-tabla\"\r\n [style.height]=\"heightTable\"\r\n style=\"width: 100%;\"\r\n [rowData]=\"rowData\"\r\n [columnDefs]=\"columnDefs\"\r\n [components]=\"gridComponents\"\r\n [context]=\"context\"\r\n [suppressDragLeaveHidesColumns]=\"true\"\r\n [enableCellTextSelection]=\"true\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n [overlayNoRowsTemplate]=\"overlayNoRowsTemplate\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [loading]=\"isLoading\"\r\n />\r\n </div>\r\n </div>\r\n </mat-card>\r\n</div>\r\n", styles: ["div.container{display:flex;margin:10px}.card{margin:20px;border:2px solid #b71c1c;border-top:0}.card-header-custom{background-color:#b71c1c;color:#fff;padding:5px 15px;border-radius:10px 10px 0 0}.card-title{font-size:15px;color:#fff}::ng-deep .ag-header{background:#fff;color:#000;font-size:12px;height:40px!important;min-height:40px!important}::ng-deep .ag-row{font-size:12px}::ng-deep .ag-header-cell-label,.ag-header-row{height:40px!important}::ng-deep .ag-header-cell-filter-button{height:23px}::ng-deep div.mat-mdc-autocomplete-panel{background-color:#faf9fd!important}::ng-deep .mat-mdc-option.mdc-list-item{font-size:12px}::ng-deep .cdk-overlay-pane.mat-mdc-dialog-panel{overflow:auto}\n"], dependencies: [{ kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: MatToolbarComponent, selector: "lib-mat-toolbar", inputs: ["titulo", "icono"], outputs: ["cerrar"] }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "hidePaddedHeaderRows", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "suppressStartEditOnTab", "getFullRowEditValidationErrors", "invalidEditValueMode", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "advancedFilterParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableFilterHandlers", "filterHandlers", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "rowDragInsertDelay", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "groupHierarchyConfig", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "ssrmExpandAllAffectsAllRows", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow", "isRowValidDropPosition"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnsReset", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "filterUiChanged", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }] });
549
+ }
550
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ConsultaTrazabilidadComponent, decorators: [{
551
+ type: Component,
552
+ args: [{ selector: 'lib-consulta-trazabilidad', imports: [
553
+ MatCard,
554
+ MatToolbarComponent,
555
+ AgGridAngular,
556
+ MatCardHeader,
557
+ MatCardTitle
558
+ ], providers: [
559
+ GridConsultaTrazabilidadDefinition
560
+ ], template: "<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<div>\r\n <mat-card>\r\n <lib-mat-toolbar [titulo]=\"titulo\"></lib-mat-toolbar>\r\n </mat-card>\r\n <mat-card class=\"card\" appearance=\"outlined\">\r\n <mat-card-header class=\"card-header-custom\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-card-title class=\"card-title\">\r\n Lista de registros (1)\r\n </mat-card-title>\r\n </mat-card-header>\r\n\r\n <div class=\"container\">\r\n <div style=\"width: 100%;\">\r\n <ag-grid-angular data-testid=\"lib-consul-undiades-tabla\"\r\n [style.height]=\"heightTable\"\r\n style=\"width: 100%;\"\r\n [rowData]=\"rowData\"\r\n [columnDefs]=\"columnDefs\"\r\n [components]=\"gridComponents\"\r\n [context]=\"context\"\r\n [suppressDragLeaveHidesColumns]=\"true\"\r\n [enableCellTextSelection]=\"true\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n [overlayNoRowsTemplate]=\"overlayNoRowsTemplate\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [loading]=\"isLoading\"\r\n />\r\n </div>\r\n </div>\r\n </mat-card>\r\n</div>\r\n", styles: ["div.container{display:flex;margin:10px}.card{margin:20px;border:2px solid #b71c1c;border-top:0}.card-header-custom{background-color:#b71c1c;color:#fff;padding:5px 15px;border-radius:10px 10px 0 0}.card-title{font-size:15px;color:#fff}::ng-deep .ag-header{background:#fff;color:#000;font-size:12px;height:40px!important;min-height:40px!important}::ng-deep .ag-row{font-size:12px}::ng-deep .ag-header-cell-label,.ag-header-row{height:40px!important}::ng-deep .ag-header-cell-filter-button{height:23px}::ng-deep div.mat-mdc-autocomplete-panel{background-color:#faf9fd!important}::ng-deep .mat-mdc-option.mdc-list-item{font-size:12px}::ng-deep .cdk-overlay-pane.mat-mdc-dialog-panel{overflow:auto}\n"] }]
561
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
562
+ type: Inject,
563
+ args: [MAT_DIALOG_DATA]
564
+ }] }, { type: GridConsultaTrazabilidadDefinition }] });
565
+
566
+ class NgConsultaTrazabilidadDialog {
567
+ dialog;
568
+ constructor(dialog) {
569
+ this.dialog = dialog;
570
+ }
571
+ dialogRef;
572
+ open(config) {
573
+ this.dialogRef = this.dialog.open(ConsultaTrazabilidadComponent, {
574
+ data: config,
575
+ disableClose: true,
576
+ width: config.widthDialog ?? '1080px',
577
+ maxWidth: config.widthDialog ?? '1080px',
578
+ panelClass: 'ng-consulta-unidades-lib'
579
+ });
580
+ }
581
+ confirmed() {
582
+ return this.dialogRef.afterClosed().pipe(take(1), map((res) => {
583
+ return res;
584
+ }));
585
+ }
586
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NgConsultaTrazabilidadDialog, deps: [{ token: i1$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
587
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NgConsultaTrazabilidadDialog });
588
+ }
589
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NgConsultaTrazabilidadDialog, decorators: [{
590
+ type: Injectable
591
+ }], ctorParameters: () => [{ type: i1$1.MatDialog }] });
592
+
593
+ const libUnidadesGateWayConfig = [];
594
+
595
+ /*
596
+ * Public API Surface of ng-unidades
597
+ */
598
+ /*Componente de consulta de unidades*/
599
+
600
+ /**
601
+ * Generated bundle index. Do not edit.
602
+ */
603
+
604
+ export { ConsultaTrazabilidadComponent, ConsultaUnidadesComponent, NgConsultaTrazabilidadDialog, NgConsultaUnidadesDialog, libUnidadesGateWayConfig };
605
+ //# sourceMappingURL=ng-unidades.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-unidades.mjs","sources":["../../../projects/ng-unidades/src/lib/modules/shared/material/material.module.ts","../../../projects/ng-unidades/src/lib/modules/shared/components/mat-toolbar/mat-toolbar.component.ts","../../../projects/ng-unidades/src/lib/modules/shared/components/mat-toolbar/mat-toolbar.component.html","../../../projects/ng-unidades/src/lib/modules/shared/components/grid/grid-consulta-unidades.ts","../../../projects/ng-unidades/src/lib/modules/consulta-unidades/consulta-unidades.component.ts","../../../projects/ng-unidades/src/lib/modules/consulta-unidades/consulta-unidades.component.html","../../../projects/ng-unidades/src/lib/infrastructure/entry-point/dialog/ng-consulta-unidades.dialog.ts","../../../projects/ng-unidades/src/lib/modules/shared/components/grid/grid-consulta-trazabilidad.ts","../../../projects/ng-unidades/src/lib/modules/consulta-trazabilidad/consulta-trazabilidad.component.ts","../../../projects/ng-unidades/src/lib/modules/consulta-trazabilidad/consulta-trazabilidad.component.html","../../../projects/ng-unidades/src/lib/infrastructure/entry-point/dialog/ng-consulta-trazabilidad.dialog.ts","../../../projects/ng-unidades/src/lib/lib.gateway-config.ts","../../../projects/ng-unidades/src/public-api.ts","../../../projects/ng-unidades/src/ng-unidades.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { MatNativeDateModule, MAT_DATE_LOCALE } from '@angular/material/core';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatChipsModule} from '@angular/material/chips';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatDividerModule } from '@angular/material/divider';\r\nimport { MatExpansionModule } from '@angular/material/expansion';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { MatMenuModule } from '@angular/material/menu';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\r\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatSidenavModule } from '@angular/material/sidenav';\r\nimport { MatSliderModule } from '@angular/material/slider';\r\nimport { MatSlideToggleModule } from '@angular/material/slide-toggle';\r\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatStepperModule } from '@angular/material/stepper';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatToolbarModule } from '@angular/material/toolbar';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\n@NgModule({\r\n imports: [\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatDividerModule,\r\n MatExpansionModule,\r\n MatFormFieldModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatStepperModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule\r\n ],\r\n exports: [\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatDividerModule,\r\n MatExpansionModule,\r\n MatFormFieldModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatStepperModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule\r\n ],\r\n providers: [\r\n { provide: MAT_DATE_LOCALE, useValue: 'es-ES' },\r\n ],\r\n})\r\nexport class MaterialModule {}\r\n","import {Component, EventEmitter, inject, Input, Output} from '@angular/core';\r\nimport { MatDialogRef } from '@angular/material/dialog';\r\nimport { MaterialModule } from '../../material/material.module';\r\n\r\n@Component({\r\n selector: 'lib-mat-toolbar',\r\n imports: [\r\n MaterialModule\r\n ],\r\n templateUrl: './mat-toolbar.component.html',\r\n styleUrl: './mat-toolbar.component.scss'\r\n})\r\nexport class MatToolbarComponent<T> {\r\n readonly dialogRef = inject(MatDialogRef<T>);\r\n\r\n version: string = 'v1.0.0';\r\n\r\n @Input() titulo!: string;\r\n @Input() icono!: string;\r\n @Output() cerrar = new EventEmitter<void>();\r\n\r\n cerrarModal(): void {\r\n this.dialogRef.close();\r\n this.cerrar.emit();\r\n }\r\n}\r\n","<mat-toolbar color=\"primary\" class=\"heightHeader\">\r\n <span class=\"fill-remaining-space\"></span>\r\n @if (icono) {\r\n <mat-icon>{{ icono }}</mat-icon>\r\n }\r\n <span class=\"fill-remaining-space\">{{ titulo }}</span>\r\n <span class=\"spacer-toolbar\"></span>\r\n <span>{{ version }}</span>\r\n <button class=\"close-modal\" mat-icon-button (click)=\"cerrarModal()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</mat-toolbar>\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class GridConsultaUnidadesDefinition {\r\n columnDefs = [\r\n {\r\n headerName: 'Código Unidad',\r\n field: 'codigoUnidad',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Tipo de unidad',\r\n field: 'tipoUnidad',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Clase de empaque',\r\n field: 'claseEmpaque',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Tipo de ubicación',\r\n field: 'tipoUbicacion',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Código ubicación actual',\r\n field: 'codigoUbicacionActual',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Ubicación actual',\r\n field: 'ubicacionActual',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Regional ubicación',\r\n field: 'regionalUbicacion',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Movíl Entrega',\r\n field: 'movilEntrega',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Certificación',\r\n field: 'certificacion',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n }\r\n ];\r\n}\r\n","import {Component, Inject} from '@angular/core';\r\nimport { MatToolbarComponent } from '../shared/components/mat-toolbar/mat-toolbar.component';\r\nimport { MaterialModule } from '../shared/material/material.module';\r\nimport { AgGridAngular } from 'ag-grid-angular';\r\nimport { MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { ConsultaUnidadesConfigDto } from '../../infrastructure/entry-point/dialog/config/consulta-unidades-config.dto';\r\nimport { AllCommunityModule, ModuleRegistry } from \"ag-grid-community\";\r\nimport { GridConsultaUnidadesDefinition } from '../shared/components/grid/grid-consulta-unidades';\r\n\r\n\r\nModuleRegistry.registerModules([AllCommunityModule]);\r\n\r\n@Component({\r\n selector: 'lib-consulta-unidades',\r\n imports: [\r\n MatToolbarComponent,\r\n MaterialModule,\r\n AgGridAngular\r\n ],\r\n providers: [\r\n GridConsultaUnidadesDefinition\r\n ],\r\n templateUrl: './consulta-unidades.component.html',\r\n styleUrl: './consulta-unidades.component.scss'\r\n})\r\nexport class ConsultaUnidadesComponent {\r\n constructor(\r\n @Inject(MAT_DIALOG_DATA)\r\n public data : ConsultaUnidadesConfigDto,\r\n private readonly gridDefinition: GridConsultaUnidadesDefinition,\r\n ) {\r\n this.columnDefs = this.gridDefinition.columnDefs;\r\n this.config = data;\r\n this.heightTable = this.config.heightTable ?? '350px';\r\n this.overlayLoadingTemplate = '<span style=\"padding: 10px; background: #a82e26; color: white; font-size: 12px\">Consultado, por favor espere...</span>';\r\n this.overlayNoRowsTemplate = '<span style=\"padding: 10px; background: #a82e26; color: white; font-size: 12px\">No se han encontrado registros con los parámetros ingresados.</span>';\r\n }\r\n\r\n titulo: string = 'Unidades de la remesa 439330590';\r\n columnDefs: any;\r\n rowData: any;\r\n gridComponents: any;\r\n heightTable: string;\r\n context: any;\r\n config: ConsultaUnidadesConfigDto;\r\n private gridApi: any;\r\n overlayLoadingTemplate: string;\r\n overlayNoRowsTemplate: string;\r\n isLoading: boolean = false;\r\n\r\n onGridReady(params: any): void {\r\n params.api.hideOverlay();\r\n this.gridApi = params.api;\r\n params.api.applyColumnState({\r\n state: [\r\n { colId: 'cuenCodigo', hide: true },\r\n { colId: 'estaCuenDescripcion', hide: true },\r\n { colId: 'claseFactura', hide: true },\r\n { colId: 'unidadNegocio', hide: true },\r\n { colId: 'ciudCuenta', hide: true },\r\n ],\r\n applyOrder: true,\r\n });\r\n }\r\n}\r\n","<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<div>\r\n <mat-card>\r\n <lib-mat-toolbar [titulo]=\"titulo\"></lib-mat-toolbar>\r\n </mat-card>\r\n\r\n <mat-card class=\"card\" appearance=\"outlined\">\r\n <mat-card-header class=\"card-header-custom\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-card-title class=\"card-title\">\r\n Lista de unidades (2)\r\n </mat-card-title>\r\n </mat-card-header>\r\n\r\n <div class=\"container\">\r\n <div style=\"width: 100%;\">\r\n <ag-grid-angular data-testid=\"lib-consul-undiades-tabla\"\r\n [style.height]=\"heightTable\"\r\n style=\"width: 100%;\"\r\n [rowData]=\"rowData\"\r\n [columnDefs]=\"columnDefs\"\r\n [components]=\"gridComponents\"\r\n [context]=\"context\"\r\n [suppressDragLeaveHidesColumns]=\"true\"\r\n [enableCellTextSelection]=\"true\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n [overlayNoRowsTemplate]=\"overlayNoRowsTemplate\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [loading]=\"isLoading\"\r\n />\r\n </div>\r\n </div>\r\n </mat-card>\r\n</div>\r\n","import { MatDialog, MatDialogRef } from '@angular/material/dialog';\r\nimport { Injectable } from '@angular/core';\r\nimport { map, Observable, take } from 'rxjs';\r\nimport { ConsultaUnidadesConfigDto } from './config/consulta-unidades-config.dto';\r\nimport { ConsultaUnidadesComponent } from '../../../modules/consulta-unidades/consulta-unidades.component';\r\n\r\n@Injectable()\r\nexport class NgConsultaUnidadesDialog {\r\n constructor(private readonly dialog: MatDialog) {}\r\n private dialogRef!: MatDialogRef<ConsultaUnidadesComponent>;\r\n\r\n public open(config: ConsultaUnidadesConfigDto) : void {\r\n this.dialogRef = this.dialog.open(ConsultaUnidadesComponent, {\r\n data: config,\r\n disableClose: true,\r\n width: config.widthDialog ?? '1080px',\r\n maxWidth: config.widthDialog ?? '1080px',\r\n panelClass: 'ng-consulta-unidades-lib'\r\n });\r\n }\r\n public confirmed(): Observable<any> {\r\n return this.dialogRef.afterClosed().pipe(\r\n take(1),\r\n map((res) => {\r\n return res;\r\n })\r\n );\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class GridConsultaTrazabilidadDefinition {\r\n columnDefs = [\r\n {\r\n headerName: 'Fecha Evento',\r\n field: 'fechaEvento',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Estado',\r\n field: 'estado',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Evento',\r\n field: 'evento',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Proceso',\r\n field: 'proceso',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Ceop proceso',\r\n field: 'ceopProceso',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Ubicación actual',\r\n field: 'ubicacionActual',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Tipo Ubicación',\r\n field: 'tipoUbicacion',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Código Ubicación',\r\n field: 'codigoUbicacion',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Ubicación',\r\n field: 'ubicacion',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Usuario',\r\n field: 'usuario',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n },\r\n {\r\n headerName: 'Observaciones',\r\n field: 'observaciones',\r\n sortable: true,\r\n resizable: true,\r\n filter: true,\r\n }\r\n ];\r\n}\r\n","import {Component, Inject} from '@angular/core';\r\nimport {MatCard, MatCardHeader, MatCardTitle} from '@angular/material/card';\r\nimport {MatToolbarComponent} from '../shared/components/mat-toolbar/mat-toolbar.component';\r\nimport {AgGridAngular} from 'ag-grid-angular';\r\nimport {MAT_DIALOG_DATA} from '@angular/material/dialog';\r\nimport {\r\n ConsultaTrazabilidadConfigDto\r\n} from '../../infrastructure/entry-point/dialog/config/consulta-trazabilidad-config.dto';\r\nimport {GridConsultaTrazabilidadDefinition} from '../shared/components/grid/grid-consulta-trazabilidad';\r\n\r\n@Component({\r\n selector: 'lib-consulta-trazabilidad',\r\n imports: [\r\n MatCard,\r\n MatToolbarComponent,\r\n AgGridAngular,\r\n MatCardHeader,\r\n MatCardTitle\r\n ],\r\n providers: [\r\n GridConsultaTrazabilidadDefinition\r\n ],\r\n templateUrl: './consulta-trazabilidad.component.html',\r\n styleUrl: './consulta-trazabilidad.component.scss'\r\n})\r\nexport class ConsultaTrazabilidadComponent {\r\n constructor(\r\n @Inject(MAT_DIALOG_DATA)\r\n public data : ConsultaTrazabilidadConfigDto,\r\n private readonly gridDefinition: GridConsultaTrazabilidadDefinition,\r\n ) {\r\n this.columnDefs = this.gridDefinition.columnDefs;\r\n this.config = data;\r\n this.heightTable = this.config.heightTable ?? '350px';\r\n this.overlayLoadingTemplate = '<span style=\"padding: 10px; background: #a82e26; color: white; font-size: 12px\">Consultado, por favor espere...</span>';\r\n this.overlayNoRowsTemplate = '<span style=\"padding: 10px; background: #a82e26; color: white; font-size: 12px\">No se han encontrado registros con los parámetros ingresados.</span>';\r\n }\r\n\r\n titulo: string = 'Trazabilidad de la unidad TCCDA0034830893';\r\n columnDefs: any;\r\n rowData: any;\r\n gridComponents: any;\r\n heightTable: string;\r\n context: any;\r\n config: ConsultaTrazabilidadConfigDto;\r\n private gridApi: any;\r\n overlayLoadingTemplate: string;\r\n overlayNoRowsTemplate: string;\r\n isLoading: boolean = false;\r\n\r\n onGridReady(params: any): void {\r\n params.api.hideOverlay();\r\n this.gridApi = params.api;\r\n params.api.applyColumnState({\r\n state: [\r\n { colId: 'cuenCodigo', hide: true },\r\n { colId: 'estaCuenDescripcion', hide: true },\r\n { colId: 'claseFactura', hide: true },\r\n { colId: 'unidadNegocio', hide: true },\r\n { colId: 'ciudCuenta', hide: true },\r\n ],\r\n applyOrder: true,\r\n });\r\n }\r\n}\r\n","<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap\" rel=\"stylesheet\">\r\n<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">\r\n<div>\r\n <mat-card>\r\n <lib-mat-toolbar [titulo]=\"titulo\"></lib-mat-toolbar>\r\n </mat-card>\r\n <mat-card class=\"card\" appearance=\"outlined\">\r\n <mat-card-header class=\"card-header-custom\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-card-title class=\"card-title\">\r\n Lista de registros (1)\r\n </mat-card-title>\r\n </mat-card-header>\r\n\r\n <div class=\"container\">\r\n <div style=\"width: 100%;\">\r\n <ag-grid-angular data-testid=\"lib-consul-undiades-tabla\"\r\n [style.height]=\"heightTable\"\r\n style=\"width: 100%;\"\r\n [rowData]=\"rowData\"\r\n [columnDefs]=\"columnDefs\"\r\n [components]=\"gridComponents\"\r\n [context]=\"context\"\r\n [suppressDragLeaveHidesColumns]=\"true\"\r\n [enableCellTextSelection]=\"true\"\r\n [overlayLoadingTemplate]=\"overlayLoadingTemplate\"\r\n [overlayNoRowsTemplate]=\"overlayNoRowsTemplate\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [loading]=\"isLoading\"\r\n />\r\n </div>\r\n </div>\r\n </mat-card>\r\n</div>\r\n","import { MatDialog, MatDialogRef } from '@angular/material/dialog';\r\nimport { Injectable } from '@angular/core';\r\nimport { map, Observable, take } from 'rxjs';\r\nimport { ConsultaTrazabilidadComponent } from '../../../modules/consulta-trazabilidad/consulta-trazabilidad.component';\r\nimport { ConsultaTrazabilidadConfigDto } from './config/consulta-trazabilidad-config.dto';\r\n\r\n@Injectable()\r\nexport class NgConsultaTrazabilidadDialog {\r\n constructor(private readonly dialog: MatDialog) {}\r\n private dialogRef!: MatDialogRef<ConsultaTrazabilidadComponent>;\r\n\r\n public open(config: ConsultaTrazabilidadConfigDto) : void {\r\n this.dialogRef = this.dialog.open(ConsultaTrazabilidadComponent, {\r\n data: config,\r\n disableClose: true,\r\n width: config.widthDialog ?? '1080px',\r\n maxWidth: config.widthDialog ?? '1080px',\r\n panelClass: 'ng-consulta-unidades-lib'\r\n });\r\n }\r\n public confirmed(): Observable<any> {\r\n return this.dialogRef.afterClosed().pipe(\r\n take(1),\r\n map((res) => {\r\n return res;\r\n })\r\n );\r\n }\r\n}\r\n","import { EnvironmentProviders, Provider } from '@angular/core';\r\n\r\nexport const libUnidadesGateWayConfig: Provider | EnvironmentProviders = [\r\n];\r\n","/*\r\n * Public API Surface of ng-unidades\r\n */\r\n\r\n/*Componente de consulta de unidades*/\r\nexport * from './lib/infrastructure/entry-point/dialog/ng-consulta-unidades.dialog';\r\nexport * from './lib/modules/consulta-unidades/consulta-unidades.component';\r\n\r\n/*Componente de consulta de trazabilidad*/\r\nexport * from './lib/infrastructure/entry-point/dialog/ng-consulta-trazabilidad.dialog';\r\nexport * from './lib/modules/consulta-trazabilidad/consulta-trazabilidad.component';\r\n\r\n/* gateWayConfigUnidades */\r\nexport * from './lib/lib.gateway-config';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.GridConsultaUnidadesDefinition","i1","i1.GridConsultaTrazabilidadDefinition"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqGa,cAAc,CAAA;wGAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAnEvB,qBAAqB;YACrB,eAAe;YACf,aAAa;YACb,iBAAiB;YACjB,cAAc;YACd,mBAAmB;YACnB,eAAe;YACf,gBAAgB;YAChB,kBAAkB;YAClB,kBAAkB;YAClB,iBAAiB;YACjB,aAAa;YACb,cAAc;YACd,aAAa;YACb,aAAa;YACb,mBAAmB;YACnB,kBAAkB;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,eAAe;YACf,gBAAgB;YAChB,eAAe;YACf,oBAAoB;YACpB,iBAAiB;YACjB,aAAa;YACb,gBAAgB;YAChB,cAAc;YACd,aAAa;YACb,gBAAgB;AAChB,YAAA,gBAAgB,aAGhB,qBAAqB;YACrB,eAAe;YACf,aAAa;YACb,iBAAiB;YACjB,cAAc;YACd,mBAAmB;YACnB,eAAe;YACf,gBAAgB;YAChB,kBAAkB;YAClB,kBAAkB;YAClB,iBAAiB;YACjB,aAAa;YACb,cAAc;YACd,aAAa;YACb,aAAa;YACb,mBAAmB;YACnB,kBAAkB;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AAA,CAAA,EAAA,KAAA,EAAAD,IAAA,CAAA,SAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAA5B,4BAA4B,EAAA,CAAA;;4FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC;;;ACJM,MAAM,wBAAwB,GAAoC;;ACFzE;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ng-unidades" />
5
+ export * from './public-api';
@@ -0,0 +1,9 @@
1
+ export interface ConsultaTrazabilidadConfigDto {
2
+ accessToken: string;
3
+ host: string;
4
+ idUnidad: string;
5
+ numeroUnidad: string;
6
+ widthDialog?: string;
7
+ heightTable?: string;
8
+ camposAOcultar?: string[];
9
+ }
@@ -0,0 +1,9 @@
1
+ export interface ConsultaUnidadesConfigDto {
2
+ accessToken: string;
3
+ host: string;
4
+ idRemesa: string;
5
+ numeroRemesa: string;
6
+ widthDialog?: string;
7
+ heightTable?: string;
8
+ camposAOcultar?: string[];
9
+ }
@@ -0,0 +1,13 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { Observable } from 'rxjs';
3
+ import { ConsultaTrazabilidadConfigDto } from './config/consulta-trazabilidad-config.dto';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NgConsultaTrazabilidadDialog {
6
+ private readonly dialog;
7
+ constructor(dialog: MatDialog);
8
+ private dialogRef;
9
+ open(config: ConsultaTrazabilidadConfigDto): void;
10
+ confirmed(): Observable<any>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgConsultaTrazabilidadDialog, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgConsultaTrazabilidadDialog>;
13
+ }
@@ -0,0 +1,13 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { Observable } from 'rxjs';
3
+ import { ConsultaUnidadesConfigDto } from './config/consulta-unidades-config.dto';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NgConsultaUnidadesDialog {
6
+ private readonly dialog;
7
+ constructor(dialog: MatDialog);
8
+ private dialogRef;
9
+ open(config: ConsultaUnidadesConfigDto): void;
10
+ confirmed(): Observable<any>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgConsultaUnidadesDialog, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgConsultaUnidadesDialog>;
13
+ }
@@ -0,0 +1,2 @@
1
+ import { EnvironmentProviders, Provider } from '@angular/core';
2
+ export declare const libUnidadesGateWayConfig: Provider | EnvironmentProviders;
@@ -0,0 +1,22 @@
1
+ import { ConsultaTrazabilidadConfigDto } from '../../infrastructure/entry-point/dialog/config/consulta-trazabilidad-config.dto';
2
+ import { GridConsultaTrazabilidadDefinition } from '../shared/components/grid/grid-consulta-trazabilidad';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ConsultaTrazabilidadComponent {
5
+ data: ConsultaTrazabilidadConfigDto;
6
+ private readonly gridDefinition;
7
+ constructor(data: ConsultaTrazabilidadConfigDto, gridDefinition: GridConsultaTrazabilidadDefinition);
8
+ titulo: string;
9
+ columnDefs: any;
10
+ rowData: any;
11
+ gridComponents: any;
12
+ heightTable: string;
13
+ context: any;
14
+ config: ConsultaTrazabilidadConfigDto;
15
+ private gridApi;
16
+ overlayLoadingTemplate: string;
17
+ overlayNoRowsTemplate: string;
18
+ isLoading: boolean;
19
+ onGridReady(params: any): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConsultaTrazabilidadComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConsultaTrazabilidadComponent, "lib-consulta-trazabilidad", never, {}, {}, never, never, true, never>;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { ConsultaUnidadesConfigDto } from '../../infrastructure/entry-point/dialog/config/consulta-unidades-config.dto';
2
+ import { GridConsultaUnidadesDefinition } from '../shared/components/grid/grid-consulta-unidades';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ConsultaUnidadesComponent {
5
+ data: ConsultaUnidadesConfigDto;
6
+ private readonly gridDefinition;
7
+ constructor(data: ConsultaUnidadesConfigDto, gridDefinition: GridConsultaUnidadesDefinition);
8
+ titulo: string;
9
+ columnDefs: any;
10
+ rowData: any;
11
+ gridComponents: any;
12
+ heightTable: string;
13
+ context: any;
14
+ config: ConsultaUnidadesConfigDto;
15
+ private gridApi;
16
+ overlayLoadingTemplate: string;
17
+ overlayNoRowsTemplate: string;
18
+ isLoading: boolean;
19
+ onGridReady(params: any): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConsultaUnidadesComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConsultaUnidadesComponent, "lib-consulta-unidades", never, {}, {}, never, never, true, never>;
22
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GridConsultaTrazabilidadDefinition {
3
+ columnDefs: {
4
+ headerName: string;
5
+ field: string;
6
+ sortable: boolean;
7
+ resizable: boolean;
8
+ filter: boolean;
9
+ }[];
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridConsultaTrazabilidadDefinition, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<GridConsultaTrazabilidadDefinition>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class GridConsultaUnidadesDefinition {
3
+ columnDefs: {
4
+ headerName: string;
5
+ field: string;
6
+ sortable: boolean;
7
+ resizable: boolean;
8
+ filter: boolean;
9
+ }[];
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridConsultaUnidadesDefinition, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<GridConsultaUnidadesDefinition>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MatToolbarComponent<T> {
5
+ readonly dialogRef: MatDialogRef<any, any>;
6
+ version: string;
7
+ titulo: string;
8
+ icono: string;
9
+ cerrar: EventEmitter<void>;
10
+ cerrarModal(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarComponent<any>, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatToolbarComponent<any>, "lib-mat-toolbar", never, { "titulo": { "alias": "titulo"; "required": false; }; "icono": { "alias": "icono"; "required": false; }; }, { "cerrar": "cerrar"; }, never, never, true, never>;
13
+ }
@@ -0,0 +1,36 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/material/autocomplete";
3
+ import * as i2 from "@angular/material/button";
4
+ import * as i3 from "@angular/material/card";
5
+ import * as i4 from "@angular/material/checkbox";
6
+ import * as i5 from "@angular/material/chips";
7
+ import * as i6 from "@angular/material/datepicker";
8
+ import * as i7 from "@angular/material/dialog";
9
+ import * as i8 from "@angular/material/divider";
10
+ import * as i9 from "@angular/material/expansion";
11
+ import * as i10 from "@angular/material/form-field";
12
+ import * as i11 from "@angular/material/grid-list";
13
+ import * as i12 from "@angular/material/icon";
14
+ import * as i13 from "@angular/material/input";
15
+ import * as i14 from "@angular/material/list";
16
+ import * as i15 from "@angular/material/menu";
17
+ import * as i16 from "@angular/material/core";
18
+ import * as i17 from "@angular/material/paginator";
19
+ import * as i18 from "@angular/material/progress-bar";
20
+ import * as i19 from "@angular/material/progress-spinner";
21
+ import * as i20 from "@angular/material/select";
22
+ import * as i21 from "@angular/material/sidenav";
23
+ import * as i22 from "@angular/material/slider";
24
+ import * as i23 from "@angular/material/slide-toggle";
25
+ import * as i24 from "@angular/material/snack-bar";
26
+ import * as i25 from "@angular/material/sort";
27
+ import * as i26 from "@angular/material/stepper";
28
+ import * as i27 from "@angular/material/table";
29
+ import * as i28 from "@angular/material/tabs";
30
+ import * as i29 from "@angular/material/toolbar";
31
+ import * as i30 from "@angular/material/tooltip";
32
+ export declare class MaterialModule {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatAutocompleteModule, typeof i2.MatButtonModule, typeof i3.MatCardModule, typeof i4.MatCheckboxModule, typeof i5.MatChipsModule, typeof i6.MatDatepickerModule, typeof i7.MatDialogModule, typeof i8.MatDividerModule, typeof i9.MatExpansionModule, typeof i10.MatFormFieldModule, typeof i11.MatGridListModule, typeof i12.MatIconModule, typeof i13.MatInputModule, typeof i14.MatListModule, typeof i15.MatMenuModule, typeof i16.MatNativeDateModule, typeof i17.MatPaginatorModule, typeof i18.MatProgressBarModule, typeof i19.MatProgressSpinnerModule, typeof i20.MatSelectModule, typeof i21.MatSidenavModule, typeof i22.MatSliderModule, typeof i23.MatSlideToggleModule, typeof i24.MatSnackBarModule, typeof i25.MatSortModule, typeof i26.MatStepperModule, typeof i27.MatTableModule, typeof i28.MatTabsModule, typeof i29.MatToolbarModule, typeof i30.MatTooltipModule], [typeof i1.MatAutocompleteModule, typeof i2.MatButtonModule, typeof i3.MatCardModule, typeof i4.MatCheckboxModule, typeof i5.MatChipsModule, typeof i6.MatDatepickerModule, typeof i7.MatDialogModule, typeof i8.MatDividerModule, typeof i9.MatExpansionModule, typeof i10.MatFormFieldModule, typeof i11.MatGridListModule, typeof i12.MatIconModule, typeof i13.MatInputModule, typeof i14.MatListModule, typeof i15.MatMenuModule, typeof i16.MatNativeDateModule, typeof i17.MatPaginatorModule, typeof i18.MatProgressBarModule, typeof i19.MatProgressSpinnerModule, typeof i20.MatSelectModule, typeof i21.MatSidenavModule, typeof i22.MatSliderModule, typeof i23.MatSlideToggleModule, typeof i24.MatSnackBarModule, typeof i25.MatSortModule, typeof i26.MatStepperModule, typeof i27.MatTableModule, typeof i28.MatTabsModule, typeof i29.MatToolbarModule, typeof i30.MatTooltipModule]>;
35
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
36
+ }
Binary file
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "ng-unidades",
3
+ "version": "1.0.0",
4
+ "peerDependencies": {
5
+ "@angular/common": "^19.1.0",
6
+ "@angular/core": "^19.1.0",
7
+ "@angular/material": "^19.1.0",
8
+ "sweetalert2": "^11.15.0",
9
+ "ag-grid-angular": "^33.0.4"
10
+ },
11
+ "dependencies": {
12
+ "tslib": "^2.3.0"
13
+ },
14
+ "sideEffects": false,
15
+ "module": "fesm2022/ng-unidades.mjs",
16
+ "typings": "index.d.ts",
17
+ "exports": {
18
+ "./package.json": {
19
+ "default": "./package.json"
20
+ },
21
+ ".": {
22
+ "types": "./index.d.ts",
23
+ "default": "./fesm2022/ng-unidades.mjs"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,5 @@
1
+ export * from './lib/infrastructure/entry-point/dialog/ng-consulta-unidades.dialog';
2
+ export * from './lib/modules/consulta-unidades/consulta-unidades.component';
3
+ export * from './lib/infrastructure/entry-point/dialog/ng-consulta-trazabilidad.dialog';
4
+ export * from './lib/modules/consulta-trazabilidad/consulta-trazabilidad.component';
5
+ export * from './lib/lib.gateway-config';