(self.webpackChunkngx_admin=self.webpackChunkngx_admin||[]).push([[2528],{12528:function(e,n,t){"use strict";t.r(n),t.d(n,{DosaModule:function(){return m}});var o=t(10627),i=t(70419),r=t(54655),c=t(35617),a=t(37716),s=t(3679);const l=[{path:"",component:(()=>{class e{constructor(e,n,t){this.clienteservices=e,this.windowService=n,this.router=t,this.documento={ruta:""},this.documento_asociar={ruta:""},this.valueWidth=!1}ngOnInit(){}factura(){"inac"==this.documento.ruta?this.clienteservices.obtener_documento_inacs(localStorage.getItem("sol_id")).subscribe(e=>{"Failed get"==e?window.confirm("No existe una Solicitud de integracion INAC cargado en el sistema  "):window.confirm("Are you sure you want to delete? ")&&(console.log(e[0].doc_id),this.clienteservices.eliminar_documento_inac(e[0].doc_id).subscribe(e=>{console.log(e),this.clienteservices.delete_documento("inac","inac-"+localStorage.getItem("sol_id")).subscribe(e=>{console.log(e)})}))}):"operador"==this.documento.ruta?this.clienteservices.obtener_documento_operador(localStorage.getItem("sol_id")).subscribe(e=>{"Failed get"==e||window.confirm("Ya existe un A.O.C cargado en el sistema  ")}):"registro"==this.documento.ruta&&this.clienteservices.obtener_documento_registro(localStorage.getItem("sol_id")).subscribe(e=>{"Failed get"==e||window.confirm("Ya existe un Certificado de registro de Aeronave  cargado en el sistema  ")})}Volver(){this.router.navigate(["sistema/solicitud/solicitud-main"])}}return e.\u0275fac=function(n){return new(n||e)(a.Y36(c.$),a.Y36(o.eJ1),a.Y36(r.F0))},e.\u0275cmp=a.Xpm({type:e,selectors:[["ngx-user"]],features:[a._Bn([c.$])],decls:17,vars:1,consts:[["selected","inac",2,"width","300px",3,"ngModel","ngModelChange"],["value","inac"],["value","operador"],["value","registro"],[1,"btn","btn-primary","btn-file",3,"click"]],template:function(e,n){1&e&&(a.TgZ(0,"nb-card"),a.TgZ(1,"nb-card-header"),a._uU(2," Seleccione el tipo de documento a agregar : "),a.qZA(),a.TgZ(3,"nb-card-body"),a.TgZ(4,"nb-select",0),a.NdJ("ngModelChange",function(e){return n.documento.ruta=e}),a.TgZ(5,"nb-option",1),a._uU(6,"Solicitud de integracion INAC "),a.qZA(),a.TgZ(7,"nb-option",2),a._uU(8,"A.O.C "),a.qZA(),a.TgZ(9,"nb-option",3),a._uU(10,"Certificado de registro de Aeronave "),a.qZA(),a.qZA(),a._UZ(11,"br"),a._UZ(12,"br"),a._UZ(13,"br"),a.TgZ(14,"div"),a.TgZ(15,"span",4),a.NdJ("click",function(){return n.factura()}),a._uU(16," eliminar documento "),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(4),a.Q6J("ngModel",n.documento.ruta))},directives:[o.Asz,o.ndF,o.yKW,o.rs,s.JJ,s.On,o.q51],styles:["input[_ngcontent-%COMP%]::-webkit-inner-spin-button, input[_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}  .custom-text-rigth{text-align:right}.nb-theme-default   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.nb-theme-dark   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.nb-theme-cosmic   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.nb-theme-corporate   [_nghost-%COMP%]   nb-card[_ngcontent-%COMP%]{transform:translate3d(10,10,10)}.bordes[_ngcontent-%COMP%]{position:relative;width:400px;height:200px}.full-name-inputs[_ngcontent-%COMP%], .validation-checkboxes[_ngcontent-%COMP%]{display:flex;margin:0 -.5rem}.full-name-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .validation-checkboxes[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:0 .5rem}.checkbox-radio[_ngcontent-%COMP%]{display:flex}.demo-items[_ngcontent-%COMP%]{flex:1 0 33%}.ng-select[_ngcontent-%COMP%]   .ng-select-container[_ngcontent-%COMP%]{min-height:5px}.ng-select.ng-select-single[_ngcontent-%COMP%]   .ng-select-container[_ngcontent-%COMP%]{height:5px}.btn-file[_ngcontent-%COMP%]{position:relative;overflow:hidden}.btn-file[_ngcontent-%COMP%]   input[type=file][_ngcontent-%COMP%]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;outline:none;background:#fff;cursor:inherit;display:block}"]}),e})()}];let d=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[r.Bz.forChild(l)],r.Bz]}),e})();var g=t(62823),u=t(38583);let m=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[g.O,o.nKr,o.zyh,o.T2N,o.MAY,o.AE1,o.MfT,o.YNG,o.OA,u.ez,s.u5,o.IIj,o.KdK,o.zyh,o.caZ,o.KdK,o.nKr,g.O,d,i.ne]]}),e})()}}]);