visorus-erp-core 14.0.0 → 16.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/{esm2020 → esm2022}/lib/app.module.mjs +19 -19
- package/esm2022/lib/components/acreedor/select/select-acreedor.component.mjs +205 -0
- package/{esm2020 → esm2022}/lib/components/acreedor/services/acreedor.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/acreedor/services/acreedorCuentaContable.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/agente/services/agente.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/almacen/services/almacen.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/banco/services/banco.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/caja/session-create/session-create.component.mjs +18 -18
- package/{esm2020 → esm2022}/lib/components/caja/sessionCaja.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/catalogoTipo/services/catalogoTipo.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/clasificadorTipo/services/clasificadorTipo.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/claveMovimiento/services/claveMovimiento.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/cliente/select/select-cliente.component.mjs +29 -29
- package/{esm2020 → esm2022}/lib/components/cliente/services/cliente.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/cliente/services/clienteCuentaBanco.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/cliente/services/clienteFlete.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/contacto/services/datoContacto.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/dato-direccion/services/datoDireccion.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/departamento/services/departamento.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/empresa/services/empresa.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/error404/error404.component.mjs +10 -10
- package/{esm2020 → esm2022}/lib/components/flete/services/flete.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/formaPago/services/FormaPago.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/loading/loading.component.mjs +18 -18
- package/{esm2020 → esm2022}/lib/components/loading/loading.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/loading-screen/loading-screen.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/loading-screen/loading-screen.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/login-modal/login-modal.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/components/login-modal/login-modal.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/moneda/services/moneda.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/pdfModal/pdf-modal.component.mjs +13 -13
- package/{esm2020 → esm2022}/lib/components/pdfModal/pdf-modal.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/persona-fisica/services/personaFisica.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/proveedor/select/select-proveedor.component.mjs +32 -32
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedor.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedorCuentaBanco.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/proveedor/services/proveedorFlete.service.mjs +3 -3
- package/esm2022/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +148 -0
- package/{esm2020 → esm2022}/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.mjs +3 -3
- package/esm2022/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +493 -0
- package/{esm2020 → esm2022}/lib/components/selecciona-articulo/stock.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/serieDocumento/services/serieDocumento.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/tipo-contacto/services/tipoContacto.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/components/ubicacion/services/ubicacion.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/contabilidad/componentes/cclista/cclista.component.mjs +16 -16
- package/{esm2020 → esm2022}/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.mjs +21 -21
- package/{esm2020 → esm2022}/lib/contabilidad/servicios/cuentacontable.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/httpInterceptor/httpInterceptor.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/auth.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/authenticated.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/canActivateGuard.service.ts.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/catalogo-adicional.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/controlAcceso.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/file.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/init.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/message.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/paginate.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/personaMoral.service.mjs +3 -3
- package/{esm2020 → esm2022}/lib/services/versionCheck.service.mjs +3 -3
- package/esm2022/lib/utils/tipo_catalogo.ts.mjs +5 -0
- package/{fesm2020 → fesm2022}/visorus-erp-core.mjs +422 -418
- package/fesm2022/visorus-erp-core.mjs.map +1 -0
- package/lib/app.module.d.ts +1 -1
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +1 -1
- package/lib/components/caja/session-create/session-create.component.d.ts +1 -1
- package/lib/components/cliente/select/select-cliente.component.d.ts +1 -1
- package/lib/components/error404/error404.component.d.ts +1 -1
- package/lib/components/loading/loading.component.d.ts +1 -1
- package/lib/components/loading-screen/loading-screen.component.d.ts +1 -1
- package/lib/components/login-modal/login-modal.component.d.ts +1 -1
- package/lib/components/pdfModal/pdf-modal.component.d.ts +1 -1
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +1 -1
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +1 -1
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +1 -1
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +1 -1
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +1 -1
- package/lib/globalPrimeNg.d.ts +2 -2
- package/package.json +13 -19
- package/esm2020/lib/components/acreedor/select/select-acreedor.component.mjs +0 -205
- package/esm2020/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +0 -143
- package/esm2020/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +0 -493
- package/esm2020/lib/utils/tipo_catalogo.ts.mjs +0 -5
- package/fesm2015/visorus-erp-core.mjs +0 -4064
- package/fesm2015/visorus-erp-core.mjs.map +0 -1
- package/fesm2020/visorus-erp-core.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/components/agente/models/Agente.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/almacen/models/Almacen.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/banco/models/Banco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/catalogoTipo/models/CatalogoTipo.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/clasificadorTipo/models/ClasificadorTipo.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/claveMovimiento/models/ClaveMovimiento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/Cliente.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/ClienteCuentaBanco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/cliente/models/ClienteFlete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/contacto/models/DatoContacto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/dato-direccion/models/DatoDireccion.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/departamento/models/Departamento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/empresa/models/Empresa.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/flete/models/Flete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/formaPago/models/FormaPago.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/moneda/models/Moneda.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/EstadoCivil.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/Genero.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/Persona.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/persona-fisica/models/PersonaFisica.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/Proveedor.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/ProveedorCuentaBanco.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/proveedor/models/ProveedorFlete.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/serieDocumento/models/SerieDocumento.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tipo-contacto/models/TipoContacto.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/ubicacion/models/Ubicacion.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contabilidad/modelos/cuentaContable.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/contabilidad/modelos/normaInfoFinanciera.model.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/globalPrimeNg.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/importComponents.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/importComponetsConta.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/PersonaMoral.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/Usuario.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/auth.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/crud.service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/global.service.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/visorus-erp-core.mjs +0 -0
package/lib/app.module.d.ts
CHANGED
|
@@ -51,6 +51,6 @@ import * as i47 from "@ngx-translate/core";
|
|
|
51
51
|
export declare function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader;
|
|
52
52
|
export declare class CoreLibModule {
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreLibModule, never>;
|
|
54
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreLibModule, [typeof i1.Error404Component, typeof i2.LoadingComponent, typeof i3.LoadingScreenComponent, typeof i4.LoginModalComponent, typeof i5.PdfModalComponent, typeof i6.SessionCreateComponent, typeof i7.SelectClienteComponent, typeof i8.SelectProveedorComponent, typeof i9.SeleccionaArticuloComponent, typeof i10.SelectAcreedorComponent, typeof i11.CclistaComponent, typeof i12.CcseleccionDialogComponent, typeof i13.SeleccionArticuloInformacionComponent], [typeof i14.CommonModule, typeof i15.CardModule, typeof i16.TooltipModule, typeof i17.OverlayPanelModule, typeof i18.RadioButtonModule, typeof i19.CheckboxModule, typeof i20.AutoCompleteModule, typeof i21.TableModule, typeof i22.TreeTableModule, typeof i23.CalendarModule, typeof i21.TableModule, typeof i24.ButtonModule, typeof i25.InputTextModule, typeof i26.DropdownModule, typeof i27.InputMaskModule, typeof i28.MessagesModule, typeof i29.MessageModule, typeof i30.PaginatorModule, typeof i31.ConfirmDialogModule, typeof i32.ProgressBarModule, typeof i33.TriStateCheckboxModule, typeof i34.KeyFilterModule, typeof i35.InputSwitchModule, typeof i36.DialogModule, typeof i37.TabViewModule, typeof i38.PanelModule, typeof i39.ToolbarModule, typeof i40.SplitButtonModule, typeof i41.FieldsetModule, typeof i42.TreeModule, typeof i43.TabMenuModule, typeof i44.MenubarModule, typeof i45.FormsModule, typeof i46.ToastrModule, typeof i47.TranslateModule], [typeof i2.LoadingComponent, typeof i3.LoadingScreenComponent, typeof i4.LoginModalComponent, typeof i5.PdfModalComponent, typeof i6.SessionCreateComponent, typeof i7.SelectClienteComponent, typeof i8.SelectProveedorComponent, typeof i9.SeleccionaArticuloComponent, typeof i10.SelectAcreedorComponent, typeof i11.CclistaComponent, typeof i12.CcseleccionDialogComponent]>;
|
|
54
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreLibModule, [typeof i1.Error404Component, typeof i2.LoadingComponent, typeof i3.LoadingScreenComponent, typeof i4.LoginModalComponent, typeof i5.PdfModalComponent, typeof i6.SessionCreateComponent, typeof i7.SelectClienteComponent, typeof i8.SelectProveedorComponent, typeof i9.SeleccionaArticuloComponent, typeof i10.SelectAcreedorComponent, typeof i11.CclistaComponent, typeof i12.CcseleccionDialogComponent, typeof i13.SeleccionArticuloInformacionComponent], [typeof i14.CommonModule, typeof i15.CardModule, typeof i16.TooltipModule, typeof i17.OverlayPanelModule, typeof i18.RadioButtonModule, typeof i19.CheckboxModule, typeof i20.AutoCompleteModule, typeof i21.TableModule, typeof i22.TreeTableModule, typeof i23.CalendarModule, typeof i21.TableModule, typeof i24.ButtonModule, typeof i25.InputTextModule, typeof i26.DropdownModule, typeof i27.InputMaskModule, typeof i28.MessagesModule, typeof i29.MessageModule, typeof i30.PaginatorModule, typeof i31.ConfirmDialogModule, typeof i32.ProgressBarModule, typeof i33.TriStateCheckboxModule, typeof i34.KeyFilterModule, typeof i35.InputSwitchModule, typeof i36.DialogModule, typeof i37.TabViewModule, typeof i38.PanelModule, typeof i39.ToolbarModule, typeof i40.SplitButtonModule, typeof i41.FieldsetModule, typeof i42.TreeModule, typeof i43.TabMenuModule, typeof i44.MenubarModule, typeof i45.FormsModule, typeof i46.ToastrModule, typeof i47.TranslateModule], [typeof i2.LoadingComponent, typeof i3.LoadingScreenComponent, typeof i4.LoginModalComponent, typeof i5.PdfModalComponent, typeof i6.SessionCreateComponent, typeof i7.SelectClienteComponent, typeof i8.SelectProveedorComponent, typeof i9.SeleccionaArticuloComponent, typeof i10.SelectAcreedorComponent, typeof i11.CclistaComponent, typeof i12.CcseleccionDialogComponent, typeof i15.CardModule, typeof i16.TooltipModule, typeof i17.OverlayPanelModule, typeof i18.RadioButtonModule, typeof i19.CheckboxModule, typeof i20.AutoCompleteModule, typeof i21.TableModule, typeof i22.TreeTableModule, typeof i23.CalendarModule, typeof i21.TableModule, typeof i24.ButtonModule, typeof i25.InputTextModule, typeof i26.DropdownModule, typeof i27.InputMaskModule, typeof i28.MessagesModule, typeof i29.MessageModule, typeof i30.PaginatorModule, typeof i31.ConfirmDialogModule, typeof i32.ProgressBarModule, typeof i33.TriStateCheckboxModule, typeof i34.KeyFilterModule, typeof i35.InputSwitchModule, typeof i36.DialogModule, typeof i37.TabViewModule, typeof i38.PanelModule, typeof i39.ToolbarModule, typeof i40.SplitButtonModule, typeof i41.FieldsetModule, typeof i42.TreeModule, typeof i43.TabMenuModule, typeof i44.MenubarModule, typeof i47.TranslateModule]>;
|
|
55
55
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoreLibModule>;
|
|
56
56
|
}
|
|
@@ -22,5 +22,5 @@ export declare class SelectAcreedorComponent implements OnInit {
|
|
|
22
22
|
cerrarModal(): void;
|
|
23
23
|
seleccionarAcreedor(e: any): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectAcreedorComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectAcreedorComponent, "select-acreedor", never, { "visible": "visible"; "acreedorSeleccionado": "acreedorSeleccionado"; }, { "select": "select"; }, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectAcreedorComponent, "select-acreedor", never, { "visible": { "alias": "visible"; "required": false; }; "acreedorSeleccionado": { "alias": "acreedorSeleccionado"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -21,5 +21,5 @@ export declare class SessionCreateComponent implements OnInit {
|
|
|
21
21
|
save(): Promise<void>;
|
|
22
22
|
edit(): Promise<void>;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<SessionCreateComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SessionCreateComponent, "session-create", never, { "showCreateSession": "showCreateSession"; "caja": "caja"; "monedaDenominacionList": "monedaDenominacionList"; "sessionEdit": "sessionEdit"; }, { "status": "status"; "success": "success"; }, never, never, false>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SessionCreateComponent, "session-create", never, { "showCreateSession": { "alias": "showCreateSession"; "required": false; }; "caja": { "alias": "caja"; "required": false; }; "monedaDenominacionList": { "alias": "monedaDenominacionList"; "required": false; }; "sessionEdit": { "alias": "sessionEdit"; "required": false; }; }, { "status": "status"; "success": "success"; }, never, never, false, never>;
|
|
25
25
|
}
|
|
@@ -23,5 +23,5 @@ export declare class SelectClienteComponent implements OnInit {
|
|
|
23
23
|
seleccionaCliente(e: any): void;
|
|
24
24
|
cerrar(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectClienteComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectClienteComponent, "select-cliente", never, { "clienteSeleccionado": "clienteSeleccionado"; "selectMode": "selectMode"; "visible": "visible"; }, { "select": "select"; }, never, never, false>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectClienteComponent, "select-cliente", never, { "clienteSeleccionado": { "alias": "clienteSeleccionado"; "required": false; }; "selectMode": { "alias": "selectMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
27
27
|
}
|
|
@@ -4,5 +4,5 @@ export declare class Error404Component implements OnInit {
|
|
|
4
4
|
constructor();
|
|
5
5
|
ngOnInit(): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<Error404Component, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<Error404Component, "app-error404", never, {}, {}, never, never, false>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Error404Component, "app-error404", never, {}, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -6,5 +6,5 @@ export declare class LoadingComponent {
|
|
|
6
6
|
logo_loading: string;
|
|
7
7
|
constructor(loadingService: LoadingService);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "loading", never, { "logo_loading": "logo_loading"; }, {}, never, never, false>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "loading", never, { "logo_loading": { "alias": "logo_loading"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -16,5 +16,5 @@ export declare class LoadingScreenComponent implements AfterViewInit, OnDestroy
|
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingScreenComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingScreenComponent, "app-loading-screen", never, { "logo_loading": "logo_loading"; }, {}, never, never, false>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingScreenComponent, "app-loading-screen", never, { "logo_loading": { "alias": "logo_loading"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -12,5 +12,5 @@ export declare class LoginModalComponent {
|
|
|
12
12
|
entrar(form: any): void;
|
|
13
13
|
entrarEmpresa(_empresa: any): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginModalComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginModalComponent, "app-login-modal", never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginModalComponent, "app-login-modal", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -12,5 +12,5 @@ export declare class PdfModalComponent {
|
|
|
12
12
|
constructor(_pdfModalService: PdfModalService, fileService: FileService, domSanitizer: DomSanitizer);
|
|
13
13
|
imprimir(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfModalComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PdfModalComponent, "pdf-modal", never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PdfModalComponent, "pdf-modal", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -22,5 +22,5 @@ export declare class SelectProveedorComponent implements OnInit {
|
|
|
22
22
|
cerrarModal(): void;
|
|
23
23
|
seleccionarProveedor(e: any): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectProveedorComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectProveedorComponent, "select-proveedor", never, { "visible": "visible"; "proveedorSeleccionado": "proveedorSeleccionado"; }, { "select": "select"; }, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectProveedorComponent, "select-proveedor", never, { "visible": { "alias": "visible"; "required": false; }; "proveedorSeleccionado": { "alias": "proveedorSeleccionado"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
26
26
|
}
|
package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts
CHANGED
|
@@ -25,5 +25,5 @@ export declare class SeleccionArticuloInformacionComponent implements OnInit {
|
|
|
25
25
|
OnShow(): void;
|
|
26
26
|
onSelectedUbicacion(ubicacionRow: any): void;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SeleccionArticuloInformacionComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SeleccionArticuloInformacionComponent, "lib-seleccion-articulo-informacion", never, { "showModal": "showModal"; "articulo": "articulo"; }, { "eventSelection": "eventSelection"; }, never, never, false>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeleccionArticuloInformacionComponent, "lib-seleccion-articulo-informacion", never, { "showModal": { "alias": "showModal"; "required": false; }; "articulo": { "alias": "articulo"; "required": false; }; }, { "eventSelection": "eventSelection"; }, never, never, false, never>;
|
|
29
29
|
}
|
|
@@ -38,5 +38,5 @@ export declare class SeleccionaArticuloComponent implements OnInit {
|
|
|
38
38
|
onShowInformacion(eventArticulo: any): void;
|
|
39
39
|
onEventInformacion(event: any): void;
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SeleccionaArticuloComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SeleccionaArticuloComponent, "app-selecciona-articulo", never, { "configuracion": "configuracion"; "showArticulos": "showArticulos"; "movimiento": "movimiento"; "manejaUnidadSecundaria": "manejaUnidadSecundaria"; }, { "emitFilaSeleccionada": "emitFilaSeleccionada"; "emitShowArticulos": "emitShowArticulos"; }, never, never, false>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeleccionaArticuloComponent, "app-selecciona-articulo", never, { "configuracion": { "alias": "configuracion"; "required": false; }; "showArticulos": { "alias": "showArticulos"; "required": false; }; "movimiento": { "alias": "movimiento"; "required": false; }; "manejaUnidadSecundaria": { "alias": "manejaUnidadSecundaria"; "required": false; }; }, { "emitFilaSeleccionada": "emitFilaSeleccionada"; "emitShowArticulos": "emitShowArticulos"; }, never, never, false, never>;
|
|
42
42
|
}
|
|
@@ -22,5 +22,5 @@ export declare class CclistaComponent implements OnInit {
|
|
|
22
22
|
resetAccount(): any[];
|
|
23
23
|
browseAccount(accounts: any): any[];
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CclistaComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CclistaComponent, "lib-cclista", never, { "isShared": "isShared"; "typeAccount": "typeAccount"; }, { "evSelectedAccount": "evSelectedAccount"; }, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CclistaComponent, "lib-cclista", never, { "isShared": { "alias": "isShared"; "required": false; }; "typeAccount": { "alias": "typeAccount"; "required": false; }; }, { "evSelectedAccount": "evSelectedAccount"; }, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -20,5 +20,5 @@ export declare class CcseleccionDialogComponent implements OnInit {
|
|
|
20
20
|
getAccount(account: any): void;
|
|
21
21
|
hiddenDialog(evt: any): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<CcseleccionDialogComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CcseleccionDialogComponent, "lib-ccseleccion-dialog", never, { "tipoCuenta": "tipoCuenta"; "displayShowCuentas": "displayShowCuentas"; }, { "evSelectedAccount": "evSelectedAccount"; }, never, never, false>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CcseleccionDialogComponent, "lib-ccseleccion-dialog", never, { "tipoCuenta": { "alias": "tipoCuenta"; "required": false; }; "displayShowCuentas": { "alias": "displayShowCuentas"; "required": false; }; }, { "evSelectedAccount": "evSelectedAccount"; }, never, never, false, never>;
|
|
24
24
|
}
|
package/lib/globalPrimeNg.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
2
2
|
import { ConfirmationService } from 'primeng/api';
|
|
3
|
-
export declare const primeNg: (typeof
|
|
3
|
+
export declare const primeNg: (typeof InputTextModule)[];
|
|
4
4
|
export declare const primeNgServices: (typeof ConfirmationService)[];
|
package/package.json
CHANGED
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "visorus-erp-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "~
|
|
6
|
-
"@angular/core": "~
|
|
7
|
-
"@angular/forms": "~
|
|
8
|
-
"@angular/cdk": "~
|
|
9
|
-
"primeng": "~
|
|
10
|
-
"primeflex": "
|
|
11
|
-
"primeicons": "
|
|
12
|
-
"rxjs": "~
|
|
5
|
+
"@angular/common": "~16.0.0",
|
|
6
|
+
"@angular/core": "~16.0.0",
|
|
7
|
+
"@angular/forms": "~16.0.0",
|
|
8
|
+
"@angular/cdk": "~16.0.0",
|
|
9
|
+
"primeng": "~16.0.0",
|
|
10
|
+
"primeflex": "~4.0.0",
|
|
11
|
+
"primeicons": "~6.0.1",
|
|
12
|
+
"rxjs": "~7.8.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"tslib": "^2.0.0"
|
|
16
16
|
},
|
|
17
|
-
"module": "
|
|
18
|
-
"es2020": "fesm2020/visorus-erp-core.mjs",
|
|
19
|
-
"esm2020": "esm2020/visorus-erp-core.mjs",
|
|
20
|
-
"fesm2020": "fesm2020/visorus-erp-core.mjs",
|
|
21
|
-
"fesm2015": "fesm2015/visorus-erp-core.mjs",
|
|
17
|
+
"module": "fesm2022/visorus-erp-core.mjs",
|
|
22
18
|
"typings": "index.d.ts",
|
|
23
19
|
"exports": {
|
|
24
20
|
"./package.json": {
|
|
@@ -26,11 +22,9 @@
|
|
|
26
22
|
},
|
|
27
23
|
".": {
|
|
28
24
|
"types": "./index.d.ts",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"node": "./fesm2015/visorus-erp-core.mjs",
|
|
33
|
-
"default": "./fesm2020/visorus-erp-core.mjs"
|
|
25
|
+
"esm2022": "./esm2022/visorus-erp-core.mjs",
|
|
26
|
+
"esm": "./esm2022/visorus-erp-core.mjs",
|
|
27
|
+
"default": "./fesm2022/visorus-erp-core.mjs"
|
|
34
28
|
}
|
|
35
29
|
},
|
|
36
30
|
"sideEffects": false,
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from "@angular/core";
|
|
2
|
-
import { AcreedorService } from "../services/acreedor.service";
|
|
3
|
-
import { Proveedor } from '../../proveedor/models/Proveedor';
|
|
4
|
-
import { PaginateService } from '../../../services/paginate.service';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../services/acreedor.service";
|
|
8
|
-
import * as i2 from "../../../services/paginate.service";
|
|
9
|
-
import * as i3 from "@ngx-translate/core";
|
|
10
|
-
import * as i4 from "@angular/common";
|
|
11
|
-
import * as i5 from "primeng/api";
|
|
12
|
-
import * as i6 from "primeng/table";
|
|
13
|
-
import * as i7 from "primeng/button";
|
|
14
|
-
import * as i8 from "primeng/inputtext";
|
|
15
|
-
import * as i9 from "primeng/paginator";
|
|
16
|
-
import * as i10 from "@angular/forms";
|
|
17
|
-
import * as i11 from "primeng/dialog";
|
|
18
|
-
function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
20
|
-
i0.ɵɵtext(2);
|
|
21
|
-
i0.ɵɵpipe(3, "translate");
|
|
22
|
-
i0.ɵɵelementEnd();
|
|
23
|
-
i0.ɵɵelementStart(4, "th");
|
|
24
|
-
i0.ɵɵtext(5);
|
|
25
|
-
i0.ɵɵpipe(6, "translate");
|
|
26
|
-
i0.ɵɵelementEnd();
|
|
27
|
-
i0.ɵɵelementStart(7, "th");
|
|
28
|
-
i0.ɵɵtext(8);
|
|
29
|
-
i0.ɵɵpipe(9, "translate");
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
i0.ɵɵelementStart(10, "th");
|
|
32
|
-
i0.ɵɵtext(11);
|
|
33
|
-
i0.ɵɵpipe(12, "translate");
|
|
34
|
-
i0.ɵɵelementEnd();
|
|
35
|
-
i0.ɵɵelementStart(13, "th");
|
|
36
|
-
i0.ɵɵtext(14);
|
|
37
|
-
i0.ɵɵpipe(15, "translate");
|
|
38
|
-
i0.ɵɵelementEnd();
|
|
39
|
-
i0.ɵɵelementStart(16, "th");
|
|
40
|
-
i0.ɵɵtext(17);
|
|
41
|
-
i0.ɵɵpipe(18, "translate");
|
|
42
|
-
i0.ɵɵelementEnd()();
|
|
43
|
-
} if (rf & 2) {
|
|
44
|
-
i0.ɵɵadvance(2);
|
|
45
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 6, "razonSocial"));
|
|
46
|
-
i0.ɵɵadvance(3);
|
|
47
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, "rfc"));
|
|
48
|
-
i0.ɵɵadvance(3);
|
|
49
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, "tipo"));
|
|
50
|
-
i0.ɵɵadvance(3);
|
|
51
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 12, "atrasoDiasEntrega"));
|
|
52
|
-
i0.ɵɵadvance(3);
|
|
53
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 14, "limiteCredito"));
|
|
54
|
-
i0.ɵɵadvance(3);
|
|
55
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "fechaUltimaCompra"));
|
|
56
|
-
} }
|
|
57
|
-
function SelectAcreedorComponent_ng_template_7_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
-
i0.ɵɵelementStart(0, "span");
|
|
59
|
-
i0.ɵɵtext(1);
|
|
60
|
-
i0.ɵɵpipe(2, "translate");
|
|
61
|
-
i0.ɵɵelementEnd();
|
|
62
|
-
} if (rf & 2) {
|
|
63
|
-
i0.ɵɵadvance(1);
|
|
64
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
65
|
-
} }
|
|
66
|
-
function SelectAcreedorComponent_ng_template_7_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
-
i0.ɵɵelementStart(0, "span");
|
|
68
|
-
i0.ɵɵtext(1);
|
|
69
|
-
i0.ɵɵpipe(2, "translate");
|
|
70
|
-
i0.ɵɵelementEnd();
|
|
71
|
-
} if (rf & 2) {
|
|
72
|
-
i0.ɵɵadvance(1);
|
|
73
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
74
|
-
} }
|
|
75
|
-
function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
76
|
-
i0.ɵɵelementStart(0, "tr", 9)(1, "td");
|
|
77
|
-
i0.ɵɵtext(2);
|
|
78
|
-
i0.ɵɵelementEnd();
|
|
79
|
-
i0.ɵɵelementStart(3, "td");
|
|
80
|
-
i0.ɵɵtext(4);
|
|
81
|
-
i0.ɵɵelementEnd();
|
|
82
|
-
i0.ɵɵelementStart(5, "td");
|
|
83
|
-
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_7_span_6_Template, 3, 3, "span", 10);
|
|
84
|
-
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_span_7_Template, 3, 3, "span", 10);
|
|
85
|
-
i0.ɵɵelementEnd();
|
|
86
|
-
i0.ɵɵelementStart(8, "td");
|
|
87
|
-
i0.ɵɵtext(9);
|
|
88
|
-
i0.ɵɵelementEnd();
|
|
89
|
-
i0.ɵɵelementStart(10, "td");
|
|
90
|
-
i0.ɵɵtext(11);
|
|
91
|
-
i0.ɵɵelementEnd();
|
|
92
|
-
i0.ɵɵelementStart(12, "td");
|
|
93
|
-
i0.ɵɵtext(13);
|
|
94
|
-
i0.ɵɵpipe(14, "date");
|
|
95
|
-
i0.ɵɵelementEnd()();
|
|
96
|
-
} if (rf & 2) {
|
|
97
|
-
const acreedor_r3 = ctx.$implicit;
|
|
98
|
-
i0.ɵɵproperty("pSelectableRow", acreedor_r3);
|
|
99
|
-
i0.ɵɵadvance(2);
|
|
100
|
-
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRazonSocial);
|
|
101
|
-
i0.ɵɵadvance(2);
|
|
102
|
-
i0.ɵɵtextInterpolate(acreedor_r3.descripcionRfc);
|
|
103
|
-
i0.ɵɵadvance(2);
|
|
104
|
-
i0.ɵɵproperty("ngIf", acreedor_r3.personaMoral);
|
|
105
|
-
i0.ɵɵadvance(1);
|
|
106
|
-
i0.ɵɵproperty("ngIf", acreedor_r3.personaFisica);
|
|
107
|
-
i0.ɵɵadvance(2);
|
|
108
|
-
i0.ɵɵtextInterpolate(acreedor_r3.atrasoDiasEntrega);
|
|
109
|
-
i0.ɵɵadvance(2);
|
|
110
|
-
i0.ɵɵtextInterpolate(acreedor_r3.limiteCredito);
|
|
111
|
-
i0.ɵɵadvance(2);
|
|
112
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 8, acreedor_r3.fechaUltimaCompra, "dd/MM/yyyy"));
|
|
113
|
-
} }
|
|
114
|
-
function SelectAcreedorComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
-
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
116
|
-
i0.ɵɵtext(2);
|
|
117
|
-
i0.ɵɵpipe(3, "translate");
|
|
118
|
-
i0.ɵɵelementEnd()();
|
|
119
|
-
} if (rf & 2) {
|
|
120
|
-
i0.ɵɵadvance(1);
|
|
121
|
-
i0.ɵɵattribute("colspan", 6);
|
|
122
|
-
i0.ɵɵadvance(1);
|
|
123
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "general.noRegistros"));
|
|
124
|
-
} }
|
|
125
|
-
const _c0 = function () { return [10, 25, 50, 100, 500]; };
|
|
126
|
-
export class SelectAcreedorComponent {
|
|
127
|
-
constructor(acreedorService, paginanateService, translate) {
|
|
128
|
-
this.acreedorService = acreedorService;
|
|
129
|
-
this.paginanateService = paginanateService;
|
|
130
|
-
this.translate = translate;
|
|
131
|
-
this.params = [];
|
|
132
|
-
this.ordenar = [];
|
|
133
|
-
this.visible = false;
|
|
134
|
-
this.acreedorSeleccionado = new Proveedor();
|
|
135
|
-
this.select = new EventEmitter();
|
|
136
|
-
this.translate.get('es');
|
|
137
|
-
}
|
|
138
|
-
ngOnInit() {
|
|
139
|
-
this.page = this.paginanateService.getPage();
|
|
140
|
-
let arg = [];
|
|
141
|
-
this.ordenar = this.paginanateService.getOrden(arg, 'es');
|
|
142
|
-
this.acreedores = [];
|
|
143
|
-
}
|
|
144
|
-
cargarDatosAcreedores() {
|
|
145
|
-
this.params = this.paginanateService.getParams(this.page);
|
|
146
|
-
this.params.push({ param: 'estatus', value: true });
|
|
147
|
-
this.acreedorService.getAll(this.params).subscribe((data) => {
|
|
148
|
-
this.acreedores = data.data;
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
pagina(e) {
|
|
152
|
-
this.page.rows = e.rows;
|
|
153
|
-
this.page.offset = e.first;
|
|
154
|
-
this.cargarDatosAcreedores;
|
|
155
|
-
}
|
|
156
|
-
cerrarModal() {
|
|
157
|
-
this.select.emit(null);
|
|
158
|
-
this.visible = false;
|
|
159
|
-
}
|
|
160
|
-
seleccionarAcreedor(e) {
|
|
161
|
-
this.select.emit(e.data);
|
|
162
|
-
this.visible = false;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵfac = function SelectAcreedorComponent_Factory(t) { return new (t || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(i1.AcreedorService), i0.ɵɵdirectiveInject(i2.PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); };
|
|
166
|
-
/** @nocollapse */ SelectAcreedorComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 14, consts: [["header", "Selecciona el acreedor", 3, "visible", "visibleChange", "onHide", "onShow"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "placeholder", "ngModel", "ngModelChange", "keyup"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", 3, "value", "selection", "scrollable", "responsive", "selectionChange", "onRowSelect"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions", "onPageChange"], [3, "pSelectableRow"], [4, "ngIf"]], template: function SelectAcreedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
167
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
168
|
-
i0.ɵɵlistener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.visible = $event; })("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
169
|
-
i0.ɵɵelementStart(1, "div", 1)(2, "input", 2);
|
|
170
|
-
i0.ɵɵlistener("ngModelChange", function SelectAcreedorComponent_Template_input_ngModelChange_2_listener($event) { return ctx.page.filtro = $event; })("keyup", function SelectAcreedorComponent_Template_input_keyup_2_listener() { return ctx.cargarDatosAcreedores(); });
|
|
171
|
-
i0.ɵɵpipe(3, "translate");
|
|
172
|
-
i0.ɵɵelementEnd();
|
|
173
|
-
i0.ɵɵelementStart(4, "button", 3);
|
|
174
|
-
i0.ɵɵlistener("click", function SelectAcreedorComponent_Template_button_click_4_listener() { return ctx.cargarDatosAcreedores(); });
|
|
175
|
-
i0.ɵɵelementEnd()();
|
|
176
|
-
i0.ɵɵelementStart(5, "p-table", 4);
|
|
177
|
-
i0.ɵɵlistener("selectionChange", function SelectAcreedorComponent_Template_p_table_selectionChange_5_listener($event) { return ctx.acreedorSeleccionado = $event; })("onRowSelect", function SelectAcreedorComponent_Template_p_table_onRowSelect_5_listener($event) { return ctx.seleccionarAcreedor($event); });
|
|
178
|
-
i0.ɵɵtemplate(6, SelectAcreedorComponent_ng_template_6_Template, 19, 18, "ng-template", 5);
|
|
179
|
-
i0.ɵɵtemplate(7, SelectAcreedorComponent_ng_template_7_Template, 15, 11, "ng-template", 6);
|
|
180
|
-
i0.ɵɵtemplate(8, SelectAcreedorComponent_ng_template_8_Template, 4, 4, "ng-template", 7);
|
|
181
|
-
i0.ɵɵelementEnd();
|
|
182
|
-
i0.ɵɵelementStart(9, "p-paginator", 8);
|
|
183
|
-
i0.ɵɵlistener("onPageChange", function SelectAcreedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
184
|
-
i0.ɵɵelementEnd()();
|
|
185
|
-
} if (rf & 2) {
|
|
186
|
-
i0.ɵɵproperty("visible", ctx.visible);
|
|
187
|
-
i0.ɵɵadvance(2);
|
|
188
|
-
i0.ɵɵpropertyInterpolate1("placeholder", "", i0.ɵɵpipeBind1(3, 11, "buscar"), "...");
|
|
189
|
-
i0.ɵɵproperty("ngModel", ctx.page.filtro);
|
|
190
|
-
i0.ɵɵadvance(3);
|
|
191
|
-
i0.ɵɵproperty("value", ctx.acreedores)("selection", ctx.acreedorSeleccionado)("scrollable", true)("responsive", true);
|
|
192
|
-
i0.ɵɵadvance(4);
|
|
193
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
194
|
-
} }, dependencies: [i4.NgIf, i5.PrimeTemplate, i6.Table, i6.SelectableRow, i7.ButtonDirective, i8.InputText, i9.Paginator, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i11.Dialog, i4.DatePipe, i3.TranslatePipe], encapsulation: 2 });
|
|
195
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
196
|
-
type: Component,
|
|
197
|
-
args: [{ selector: 'select-acreedor', template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n [responsive]=\"true\">\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'atrasoDiasEntrega' | translate}}</th>\n <th>{{'limiteCredito' | translate}}</th>\n <th>{{'fechaUltimaCompra' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-acreedor>\n <tr [pSelectableRow]=\"acreedor\">\n <td>{{acreedor.descripcionRazonSocial}}</td>\n <td>{{acreedor.descripcionRfc}}</td>\n <td>\n <span *ngIf=\"acreedor.personaMoral\">{{'moral' | translate}}</span>\n <span *ngIf=\"acreedor.personaFisica\">{{'fisico' | translate}}</span>\n </td>\n <td>{{acreedor.atrasoDiasEntrega}}</td>\n <td>{{acreedor.limiteCredito}}</td>\n <td>{{acreedor.fechaUltimaCompra | date:'dd/MM/yyyy'}}</td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td [attr.colspan]=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
|
|
198
|
-
}], function () { return [{ type: i1.AcreedorService }, { type: i2.PaginateService }, { type: i3.TranslateService }]; }, { visible: [{
|
|
199
|
-
type: Input
|
|
200
|
-
}], acreedorSeleccionado: [{
|
|
201
|
-
type: Input
|
|
202
|
-
}], select: [{
|
|
203
|
-
type: Output
|
|
204
|
-
}] }); })();
|
|
205
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LWFjcmVlZG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VycC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9hY3JlZWRvci9zZWxlY3Qvc2VsZWN0LWFjcmVlZG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VycC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9hY3JlZWRvci9zZWxlY3Qvc2VsZWN0LWFjcmVlZG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFJLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkYsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUM3RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7QUFDckUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJBQXFCLENBQUM7Ozs7Ozs7Ozs7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AgICAgW3Njcm9sbGFibGVdPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgc2Nyb2xsSGVpZ2h0PVwiMzUwcHhcIlxuICAgICAgICAgICAgICAgIFtyZXNwb25zaXZlXT1cInRydWVcIj5cblxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBwVGVtcGxhdGU9XCJoZWFkZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgPHRyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRoPnt7J3Jhem9uU29jaWFsJyB8IHRyYW5zbGF0ZX19PC90aD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0aD57eydyZmMnIHwgdHJhbnNsYXRlfX08L3RoPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRoPnt7J3RpcG8nIHwgdHJhbnNsYXRlfX08L3RoPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRoPnt7J2F0cmFzb0RpYXNFbnRyZWdhJyB8IHRyYW5zbGF0ZX19PC90aD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0aD57eydsaW1pdGVDcmVkaXRvJyB8IHRyYW5zbGF0ZX19PC90aD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0aD57eydmZWNoYVVsdGltYUNvbXByYScgfCB0cmFuc2xhdGV9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBwVGVtcGxhdGU9XCJib2R5XCIgbGV0LWFjcmVlZG9yPlxuICAgICAgICAgICAgICAgICAgICA8dHIgW3BTZWxlY3RhYmxlUm93XT1cImFjcmVlZG9yXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3thY3JlZWRvci5kZXNjcmlwY2lvblJhem9uU29jaWFsfX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7YWNyZWVkb3IuZGVzY3JpcGNpb25SZmN9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJhY3JlZWRvci5wZXJzb25hTW9yYWxcIj57eydtb3JhbCcgfCB0cmFuc2xhdGV9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cImFjcmVlZG9yLnBlcnNvbmFGaXNpY2FcIj57eydmaXNpY28nIHwgdHJhbnNsYXRlfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7YWNyZWVkb3IuYXRyYXNvRGlhc0VudHJlZ2F9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3thY3JlZWRvci5saW1pdGVDcmVkaXRvfX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7YWNyZWVkb3IuZmVjaGFVbHRpbWFDb21wcmEgfCBkYXRlOidkZC9NTS95eXl5J319PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlIHBUZW1wbGF0ZT1cImVtcHR5bWVzc2FnZVwiPlxuICAgICAgICAgICAgICAgICAgICA8dHI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQgW2F0dHIuY29sc3Bhbl09XCI2XCI+e3snZ2VuZXJhbC5ub1JlZ2lzdHJvcycgfCB0cmFuc2xhdGV9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgIDwvcC10YWJsZT5cblxuICAgIDxwLXBhZ2luYXRvciBbcm93c109XCJwYWdlLnJvd3NcIiBbdG90YWxSZWNvcmRzXT1cInBhZ2UudG90YWxcIiBbcGFnZUxpbmtTaXplXT1cIjVcIlxuICAgICAgICAob25QYWdlQ2hhbmdlKT1cInBhZ2luYSgkZXZlbnQpXCIgW3Jvd3NQZXJQYWdlT3B0aW9uc109XCJbMTAsMjUsNTAsMTAwLDUwMF1cIj48L3AtcGFnaW5hdG9yPlxuXG48L3AtZGlhbG9nPiJdfQ==
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ArticuloInformacionService } from './services/articulo-informacion.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./services/articulo-informacion.service";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "primeng/api";
|
|
7
|
-
import * as i4 from "primeng/table";
|
|
8
|
-
import * as i5 from "primeng/button";
|
|
9
|
-
import * as i6 from "primeng/dialog";
|
|
10
|
-
function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
-
i0.ɵɵelement(0, "col");
|
|
12
|
-
} if (rf & 2) {
|
|
13
|
-
const col_r5 = ctx.$implicit;
|
|
14
|
-
i0.ɵɵstyleProp("width", col_r5.width);
|
|
15
|
-
} }
|
|
16
|
-
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
-
i0.ɵɵelementStart(0, "colgroup");
|
|
18
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template, 1, 2, "col", 7);
|
|
19
|
-
i0.ɵɵelementEnd();
|
|
20
|
-
} if (rf & 2) {
|
|
21
|
-
const columns_r3 = ctx.$implicit;
|
|
22
|
-
i0.ɵɵadvance(1);
|
|
23
|
-
i0.ɵɵproperty("ngForOf", columns_r3);
|
|
24
|
-
} }
|
|
25
|
-
function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
i0.ɵɵelementStart(0, "th", 9);
|
|
27
|
-
i0.ɵɵtext(1);
|
|
28
|
-
i0.ɵɵelementEnd();
|
|
29
|
-
} if (rf & 2) {
|
|
30
|
-
const col_r8 = ctx.$implicit;
|
|
31
|
-
i0.ɵɵadvance(1);
|
|
32
|
-
i0.ɵɵtextInterpolate1(" ", col_r8.header, " ");
|
|
33
|
-
} }
|
|
34
|
-
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
-
i0.ɵɵelementStart(0, "tr");
|
|
36
|
-
i0.ɵɵtemplate(1, SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template, 2, 1, "th", 8);
|
|
37
|
-
i0.ɵɵelementEnd();
|
|
38
|
-
} if (rf & 2) {
|
|
39
|
-
const columns_r6 = ctx.$implicit;
|
|
40
|
-
i0.ɵɵadvance(1);
|
|
41
|
-
i0.ɵɵproperty("ngForOf", columns_r6);
|
|
42
|
-
} }
|
|
43
|
-
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
-
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
45
|
-
i0.ɵɵtext(2);
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
47
|
-
i0.ɵɵelementStart(3, "td");
|
|
48
|
-
i0.ɵɵtext(4);
|
|
49
|
-
i0.ɵɵelementEnd();
|
|
50
|
-
i0.ɵɵelementStart(5, "td");
|
|
51
|
-
i0.ɵɵtext(6);
|
|
52
|
-
i0.ɵɵelementEnd();
|
|
53
|
-
i0.ɵɵelementStart(7, "td");
|
|
54
|
-
i0.ɵɵtext(8);
|
|
55
|
-
i0.ɵɵelementEnd();
|
|
56
|
-
i0.ɵɵelementStart(9, "td");
|
|
57
|
-
i0.ɵɵtext(10);
|
|
58
|
-
i0.ɵɵelementEnd()();
|
|
59
|
-
} if (rf & 2) {
|
|
60
|
-
const rowData_r9 = ctx.$implicit;
|
|
61
|
-
i0.ɵɵadvance(2);
|
|
62
|
-
i0.ɵɵtextInterpolate(rowData_r9.almacenCodigo);
|
|
63
|
-
i0.ɵɵadvance(2);
|
|
64
|
-
i0.ɵɵtextInterpolate(rowData_r9.almacenDescripcion);
|
|
65
|
-
i0.ɵɵadvance(2);
|
|
66
|
-
i0.ɵɵtextInterpolate(rowData_r9.ubicacionCodigo);
|
|
67
|
-
i0.ɵɵadvance(2);
|
|
68
|
-
i0.ɵɵtextInterpolate(rowData_r9.ubicacionDescripcion);
|
|
69
|
-
i0.ɵɵadvance(2);
|
|
70
|
-
i0.ɵɵtextInterpolate(rowData_r9.existencia);
|
|
71
|
-
} }
|
|
72
|
-
const _c0 = function (a0) { return { "width": a0, "min-width": "200px" }; };
|
|
73
|
-
const _c1 = function () { return { width: "600px" }; };
|
|
74
|
-
export class SeleccionArticuloInformacionComponent {
|
|
75
|
-
constructor(articuloInformacionService) {
|
|
76
|
-
this.articuloInformacionService = articuloInformacionService;
|
|
77
|
-
this.eventSelection = new EventEmitter();
|
|
78
|
-
this.flagModal = true;
|
|
79
|
-
this.size = 640;
|
|
80
|
-
this.params = [
|
|
81
|
-
{ param: 'offset', value: 0 },
|
|
82
|
-
{ param: 'max', value: -1 },
|
|
83
|
-
{ param: 'order', value: 'asc' }
|
|
84
|
-
];
|
|
85
|
-
this.columnsData = [
|
|
86
|
-
{ field: 'codigo', header: 'Código Almacén', width: '90px' },
|
|
87
|
-
{ field: 'descripcion', header: 'Descripción Almacen', width: '140px' },
|
|
88
|
-
{ field: 'codigo', header: 'Código Ubicación', width: '90px' },
|
|
89
|
-
{ field: 'descripcion', header: 'Descripción Ubicación', width: '140px' },
|
|
90
|
-
{ field: 'opciones', header: 'Existencia', width: '80px' },
|
|
91
|
-
];
|
|
92
|
-
}
|
|
93
|
-
ngOnInit() {
|
|
94
|
-
this.OnLoad();
|
|
95
|
-
}
|
|
96
|
-
hiddenDialog() {
|
|
97
|
-
this.eventSelection.emit({ status: false });
|
|
98
|
-
}
|
|
99
|
-
OnResize(event) {
|
|
100
|
-
this.isMovil = event.target.innerWidth <= 640;
|
|
101
|
-
}
|
|
102
|
-
OnLoad() {
|
|
103
|
-
this.articuloInformacionService.obtenerExistencias(this.articulo.articulo.id).subscribe((data) => {
|
|
104
|
-
this.existenciasList = data.data;
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
OnShow() {
|
|
108
|
-
this.titulo = 'Existencias en Almacenes';
|
|
109
|
-
}
|
|
110
|
-
onSelectedUbicacion(ubicacionRow) {
|
|
111
|
-
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵfac = function SeleccionArticuloInformacionComponent_Factory(t) { return new (t || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(i1.ArticuloInformacionService)); };
|
|
115
|
-
/** @nocollapse */ SeleccionArticuloInformacionComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, decls: 8, vars: 20, consts: [[3, "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable", "breakpoint", "onShow", "visibleChange", "onHide", "resize"], ["scrollHeight", "350px", 3, "columns", "value", "scrollable", "responsive"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], [1, "container-end"], ["pButton", "", "type", "button", "icon", "pi pi-replay", "label", "Cerrar", 1, "ui-button-raised", "ui-button-secondary", 3, "click"], [3, "width", 4, "ngFor", "ngForOf"], ["pResizableColumn", "", 4, "ngFor", "ngForOf"], ["pResizableColumn", ""]], template: function SeleccionArticuloInformacionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
116
|
-
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
117
|
-
i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); })("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { return ctx.showModal = $event; })("onHide", function SeleccionArticuloInformacionComponent_Template_p_dialog_onHide_0_listener() { return ctx.hiddenDialog(); })("resize", function SeleccionArticuloInformacionComponent_Template_p_dialog_resize_0_listener($event) { return ctx.OnResize($event); }, false, i0.ɵɵresolveWindow);
|
|
118
|
-
i0.ɵɵelementStart(1, "p-table", 1);
|
|
119
|
-
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 2, 1, "ng-template", 2);
|
|
120
|
-
i0.ɵɵtemplate(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 2, 1, "ng-template", 3);
|
|
121
|
-
i0.ɵɵtemplate(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
122
|
-
i0.ɵɵelementEnd();
|
|
123
|
-
i0.ɵɵelementStart(5, "p-footer")(6, "div", 5)(7, "button", 6);
|
|
124
|
-
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_Template_button_click_7_listener() { return ctx.hiddenDialog(); });
|
|
125
|
-
i0.ɵɵelementEnd()()()();
|
|
126
|
-
} if (rf & 2) {
|
|
127
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(17, _c0, ctx.size + "px"));
|
|
128
|
-
i0.ɵɵproperty("header", ctx.titulo)("visible", ctx.showModal)("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)("breakpoint", 640);
|
|
129
|
-
i0.ɵɵadvance(1);
|
|
130
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(19, _c1));
|
|
131
|
-
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true)("responsive", true);
|
|
132
|
-
} }, dependencies: [i2.NgForOf, i3.Footer, i3.PrimeTemplate, i4.Table, i4.ResizableColumn, i5.ButtonDirective, i6.Dialog] });
|
|
133
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
134
|
-
type: Component,
|
|
135
|
-
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\" \n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\" \n [blockScroll]=\"true\"\n\t\t (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" [breakpoint]=\"640\">\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\" \n [responsive]=\"true\" \n scrollHeight=\"350px\"\n > \n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col *ngFor=\"let col of columns\" [style.width]=\"col.width\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th *ngFor=\"let col of columns\" pResizableColumn>\n {{col.header}}\n </th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td> \n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td> \n <td>{{rowData.existencia}}</td> \n </tr>\n </ng-template>\n </p-table>\n\t \n <p-footer>\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n </p-footer>\n</p-dialog>" }]
|
|
136
|
-
}], function () { return [{ type: i1.ArticuloInformacionService }]; }, { showModal: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], articulo: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], eventSelection: [{
|
|
141
|
-
type: Output
|
|
142
|
-
}] }); })();
|
|
143
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWNjaW9uLWFydGljdWxvLWluZm9ybWFjaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VycC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9zZWxlY2Npb24tYXJ0aWN1bG8taW5mb3JtYWNpb24vc2VsZWNjaW9uLWFydGljdWxvLWluZm9ybWFjaW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VycC1jb3JlL3NyYy9saWIvY29tcG9uZW50cy9zZWxlY2Npb24tYXJ0aWN1bG8taW5mb3JtYWNpb24vc2VsZWNjaW9uLWFydGljdWxvLWluZm9ybWFjaW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0UsT0FBTyxFQUFDLDBCQUEwQixFQUFDLE1BQU0seUNBQXlDLENBQUM7Ozs7Ozs7OztJQ1VyRSxzQkFBMkQ7OztJQUExQixxQ0FBeUI7OztJQUQ5RCxnQ0FBVTtJQUNOLG9HQUEyRDtJQUMvRCxpQkFBVzs7O0lBRGMsZUFBVTtJQUFWLG9DQUFVOzs7SUFLL0IsNkJBQWlEO0lBQzdDLFlBQ0o7SUFBQSxpQkFBSzs7O0lBREQsZUFDSjtJQURJLDhDQUNKOzs7SUFISiwwQkFBSTtJQUNBLGtHQUVLO0lBQ1QsaUJBQUs7OztJQUhtQixlQUFVO0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