text: (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{O7vF:function(l,n,e){"use strict";e.r(n);var t=e("kZht");class u{}var i=e("C9Ky"),o=e("gtB3"),a=e("QoKA"),r=e("NuYi"),s=e("K9jP"),d=e("Uw3X"),c=e("6h9f"),g=e("AKJ+"),p=e("UmX7"),m=e("An66"),f=e("k5pS");class v{constructor(){this.listAnswer=new t.EventEmitter,this.model=new f.i,this.selection=new f.i,this.selected=[{selected:new f.i}]}ngOnInit(){}onActivate(l){}onSelect(l){this.selection=l.selected[0],this.action.action="selectedRecord",this.action.temp=this.selection,this.listAnswer.emit(this.action)}}var h=t["\u0275crt"]({encapsulation:0,styles:[[".main[_ngcontent-%COMP%]{margin:10px}.datatable[_ngcontent-%COMP%]{margin-top:10px}"]],data:{}});function b(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","izquierda-negrita "]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.sortFn(e,l.context.sortDir,l.component.sortFn)&&t),t}),null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.model.fieldInfo("inv_break_id").text)}))}function _(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","izquierda-negrita"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,["",""]))],null,(function(l,n){l(n,1,0,n.context.value)}))}function C(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.sortFn(e,l.context.sortDir,l.component.sortFn)&&t),t}),null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.model.fieldInfo("inv_break_status").text)}))}function w(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha_negro"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,["",""]))],null,(function(l,n){l(n,1,0,n.context.value)}))}function R(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.sortFn(e,l.context.sortDir,l.component.sortFn)&&t),t}),null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.model.fieldInfo("inv_break_name").text)}))}function k(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha_negro"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,["",""]))],null,(function(l,n){l(n,1,0,n.context.value)}))}function I(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.sortFn(e,l.context.sortDir,l.component.sortFn)&&t),t}),null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.model.fieldInfo("inv_break_shortname").text)}))}function T(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha_negro"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,["",""]))],null,(function(l,n){l(n,1,0,n.context.value)}))}function y(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.sortFn(e,l.context.sortDir,l.component.sortFn)&&t),t}),null,null)),(l()(),t["\u0275ted"](1,null,[" "," "]))],null,(function(l,n){l(n,1,0,n.component.model.fieldInfo("inv_break_description").text)}))}function x(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha_negro"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,["",""]))],null,(function(l,n){l(n,1,0,n.context.value)}))}function D(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.sortFn(e,l.context.sortDir,l.component.sortFn)&&t),t}),null,null)),(l()(),t["\u0275ted"](1,null,[" ",""]))],null,(function(l,n){l(n,1,0,n.component.model.fieldInfo("inv_break_productivity").text)}))}function N(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha_negro"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,["",""]))],null,(function(l,n){l(n,1,0,n.context.value)}))}function q(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.context.sortFn(e,l.context.sortDir,l.component.sortFn)&&t),t}),null,null)),(l()(),t["\u0275ted"](1,null,[" ",""]))],null,(function(l,n){l(n,1,0,n.component.model.fieldInfo("inv_break_class").text)}))}function A(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"p",[["class","celda_derecha_negro"]],null,null,null,null,null)),(l()(),t["\u0275ted"](1,null,["",""]))],null,(function(l,n){l(n,1,0,n.context.value)}))}function E(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,70,"div",[["class","datatable"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,69,"ngx-datatable",[["class","dark ngx-datatable"],["data-toggle","modal"],["href","#content"],["role","button"]],[[2,"fixed-header",null],[2,"fixed-row",null],[2,"scroll-vertical",null],[2,"virtualized",null],[2,"scroll-horz",null],[2,"selectable",null],[2,"checkbox-selection",null],[2,"cell-selection",null],[2,"single-selection",null],[2,"multi-selection",null],[2,"multi-click-selection",null]],[[null,"activate"],[null,"select"],["window","resize"]],(function(l,n,e){var u=!0,i=l.component;return"window:resize"===n&&(u=!1!==t["\u0275nov"](l,2).onWindowResize()&&u),"activate"===n&&(u=!1!==i.onActivate(e)&&u),"select"===n&&(u=!1!==i.onSelect(e)&&u),u}),o.b,o.a)),t["\u0275did"](2,5750784,null,4,a.DatatableComponent,[[1,r.ScrollbarHelper],[1,s.DimensionsHelper],t.ChangeDetectorRef,t.ElementRef,t.KeyValueDiffers,d.ColumnChangesService],{rows:[0,"rows"],selected:[1,"selected"],scrollbarV:[2,"scrollbarV"],scrollbarH:[3,"scrollbarH"],rowHeight:[4,"rowHeight"],columnMode:[5,"columnMode"],headerHeight:[6,"headerHeight"],footerHeight:[7,"footerHeight"],limit:[8,"limit"],loadingIndicator:[9,"loadingIndicator"],selectionType:[10,"selectionType"],messages:[11,"messages"],summaryRow:[12,"summaryRow"],summaryHeight:[13,"summaryHeight"]},{activate:"activate",select:"select"}),t["\u0275qud"](603979776,1,{columnTemplates:1}),t["\u0275qud"](603979776,2,{rowDetail:0}),t["\u0275qud"](603979776,3,{groupHeader:0}),t["\u0275qud"](603979776,4,{footer:0}),t["\u0275pod"](7,{emptyMessage:0}),(l()(),t["\u0275eld"](8,0,null,null,8,"ngx-datatable-column",[["prop","inv_break_id"],["width","50"]],null,null,null,null,null)),t["\u0275did"](9,540672,[[1,4]],3,c.DataTableColumnDirective,[d.ColumnChangesService],{prop:[0,"prop"],frozenLeft:[1,"frozenLeft"],width:[2,"width"]},null),t["\u0275qud"](335544320,5,{cellTemplate:0}),t["\u0275qud"](335544320,6,{headerTemplate:0}),t["\u0275qud"](335544320,7,{treeToggleTemplate:0}),(l()(),t["\u0275and"](0,[[6,2]],null,1,null,b)),t["\u0275did"](14,16384,null,0,g.DataTableColumnHeaderDirective,[t.TemplateRef],null,null),(l()(),t["\u0275and"](0,[[5,2]],null,1,null,_)),t["\u0275did"](16,16384,null,0,p.DataTableColumnCellDirective,[t.TemplateRef],null,null),(l()(),t["\u0275eld"](17,0,null,null,8,"ngx-datatable-column",[["prop","inv_break_status"],["width","80"]],null,null,null,null,null)),t["\u0275did"](18,540672,[[1,4]],3,c.DataTableColumnDirective,[d.ColumnChangesService],{prop:[0,"prop"],width:[1,"width"]},null),t["\u0275qud"](335544320,8,{cellTemplate:0}),t["\u0275qud"](335544320,9,{headerTemplate:0}),t["\u0275qud"](335544320,10,{treeToggleTemplate:0}),(l()(),t["\u0275and"](0,[[9,2]],null,1,null,C)),t["\u0275did"](23,16384,null,0,g.DataTableColumnHeaderDirective,[t.TemplateRef],null,null),(l()(),t["\u0275and"](0,[[8,2]],null,1,null,w)),t["\u0275did"](25,16384,null,0,p.DataTableColumnCellDirective,[t.TemplateRef],null,null),(l()(),t["\u0275eld"](26,0,null,null,8,"ngx-datatable-column",[["prop","inv_break_name"],["width","150"]],null,null,null,null,null)),t["\u0275did"](27,540672,[[1,4]],3,c.DataTableColumnDirective,[d.ColumnChangesService],{prop:[0,"prop"],width:[1,"width"]},null),t["\u0275qud"](335544320,11,{cellTemplate:0}),t["\u0275qud"](335544320,12,{headerTemplate:0}),t["\u0275qud"](335544320,13,{treeToggleTemplate:0}),(l()(),t["\u0275and"](0,[[12,2]],null,1,null,R)),t["\u0275did"](32,16384,null,0,g.DataTableColumnHeaderDirective,[t.TemplateRef],null,null),(l()(),t["\u0275and"](0,[[11,2]],null,1,null,k)),t["\u0275did"](34,16384,null,0,p.DataTableColumnCellDirective,[t.TemplateRef],null,null),(l()(),t["\u0275eld"](35,0,null,null,8,"ngx-datatable-column",[["prop","inv_break_shortname"],["width","150"]],null,null,null,null,null)),t["\u0275did"](36,540672,[[1,4]],3,c.DataTableColumnDirective,[d.ColumnChangesService],{prop:[0,"prop"],width:[1,"width"]},null),t["\u0275qud"](335544320,14,{cellTemplate:0}),t["\u0275qud"](335544320,15,{headerTemplate:0}),t["\u0275qud"](335544320,16,{treeToggleTemplate:0}),(l()(),t["\u0275and"](0,[[15,2]],null,1,null,I)),t["\u0275did"](41,16384,null,0,g.DataTableColumnHeaderDirective,[t.TemplateRef],null,null),(l()(),t["\u0275and"](0,[[14,2]],null,1,null,T)),t["\u0275did"](43,16384,null,0,p.DataTableColumnCellDirective,[t.TemplateRef],null,null),(l()(),t["\u0275eld"](44,0,null,null,8,"ngx-datatable-column",[["prop","inv_break_description"],["width","200"]],null,null,null,null,null)),t["\u0275did"](45,540672,[[1,4]],3,c.DataTableColumnDirective,[d.ColumnChangesService],{prop:[0,"prop"],width:[1,"width"]},null),t["\u0275qud"](335544320,17,{cellTemplate:0}),t["\u0275qud"](335544320,18,{headerTemplate:0}),t["\u0275qud"](335544320,19,{treeToggleTemplate:0}),(l()(),t["\u0275and"](0,[[18,2]],null,1,null,y)),t["\u0275did"](50,16384,null,0,g.DataTableColumnHeaderDirective,[t.TemplateRef],null,null),(l()(),t["\u0275and"](0,[[17,2]],null,1,null,x)),t["\u0275did"](52,16384,null,0,p.DataTableColumnCellDirective,[t.TemplateRef],null,null),(l()(),t["\u0275eld"](53,0,null,null,8,"ngx-datatable-column",[["prop","inv_break_productivity"],["width","100"]],null,null,null,null,null)),t["\u0275did"](54,540672,[[1,4]],3,c.DataTableColumnDirective,[d.ColumnChangesService],{prop:[0,"prop"],width:[1,"width"]},null),t["\u0275qud"](335544320,20,{cellTemplate:0}),t["\u0275qud"](335544320,21,{headerTemplate:0}),t["\u0275qud"](335544320,22,{treeToggleTemplate:0}),(l()(),t["\u0275and"](0,[[21,2]],null,1,null,D)),t["\u0275did"](59,16384,null,0,g.DataTableColumnHeaderDirective,[t.TemplateRef],null,null),(l()(),t["\u0275and"](0,[[20,2]],null,1,null,N)),t["\u0275did"](61,16384,null,0,p.DataTableColumnCellDirective,[t.TemplateRef],null,null),(l()(),t["\u0275eld"](62,0,null,null,8,"ngx-datatable-column",[["prop","inv_break_class"],["width","100"]],null,null,null,null,null)),t["\u0275did"](63,540672,[[1,4]],3,c.DataTableColumnDirective,[d.ColumnChangesService],{prop:[0,"prop"],width:[1,"width"]},null),t["\u0275qud"](335544320,23,{cellTemplate:0}),t["\u0275qud"](335544320,24,{headerTemplate:0}),t["\u0275qud"](335544320,25,{treeToggleTemplate:0}),(l()(),t["\u0275and"](0,[[24,2]],null,1,null,q)),t["\u0275did"](68,16384,null,0,g.DataTableColumnHeaderDirective,[t.TemplateRef],null,null),(l()(),t["\u0275and"](0,[[23,2]],null,1,null,A)),t["\u0275did"](70,16384,null,0,p.DataTableColumnCellDirective,[t.TemplateRef],null,null)],(function(l,n){var e=n.component,t=e.rows,u=e.selected,i=e.numberOfRowsInTable.value,o=l(n,7,0,"Sin datos que mostrar");l(n,2,1,[t,u,!1,!0,"35","force",40,40,i,"Contactando servidor","single",o,!1,50]),l(n,9,0,"inv_break_id",!0,"50"),l(n,18,0,"inv_break_status","80"),l(n,27,0,"inv_break_name","150"),l(n,36,0,"inv_break_shortname","150"),l(n,45,0,"inv_break_description","200"),l(n,54,0,"inv_break_productivity","100"),l(n,63,0,"inv_break_class","100")}),(function(l,n){l(n,1,1,[t["\u0275nov"](n,2).isFixedHeader,t["\u0275nov"](n,2).isFixedRow,t["\u0275nov"](n,2).isVertScroll,t["\u0275nov"](n,2).isVirtualized,t["\u0275nov"](n,2).isHorScroll,t["\u0275nov"](n,2).isSelectable,t["\u0275nov"](n,2).isCheckboxSelection,t["\u0275nov"](n,2).isCellSelection,t["\u0275nov"](n,2).isSingleSelection,t["\u0275nov"](n,2).isMultiSelection,t["\u0275nov"](n,2).isMultiClickSelection])}))}function S(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"main",[["class","main"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,E)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var e=n.component;l(n,2,0,e.rows&&e.show_datatable)}),null)}var V=e("3kIJ"),F=e("5Ofn"),M=e("Uj1/");e("IXvK");class P{constructor(l,n,e,u){this.formBuilder=l,this.invAssignationService=n,this.alertService=e,this.envService=u,this.editAnswer=new t.EventEmitter,this.error_detected=!1,this.alertMessage=new f.b,this.show_submit_button=!1,this.show_data=!0,this.model=new f.i}ngOnInit(){this.onFillForm()}onFillForm(){this.selection=this.action.temp,this.registerForm=this.formBuilder.group({inv_break_id:[this.selection.inv_break_id,V.p.required],inv_break_status:[this.selection.inv_break_status,V.p.required],inv_break_chk:[this.selection.inv_break_chk,V.p.required],inv_break_name:[this.selection.inv_break_name,V.p.required],inv_break_shortname:[this.selection.inv_break_shortname,V.p.required],inv_break_description:[this.selection.inv_break_description,V.p.required],inv_break_type:[this.selection.inv_break_type,V.p.required],inv_break_productivity:[this.selection.inv_break_productivity,V.p.required],inv_break_class:[this.selection.inv_break_class,V.p.required]})}get f(){return this.registerForm.controls}onAnswer(l){this.action=l,this.selection=this.action.temp,"showRecord"===this.action.action&&this.onShowDetail(),"editRecord"===this.action.action&&this.onEditRecord()}createRecord(l){delete l.inv_break_class,this.invAssignationService.postRecord(l).subscribe(l=>{alert(`Registro agregado satisfactoriamente, ${l.inv_break_id}, ${l.inv_break_name}`),this.action.temp=[l],this.action.action="afterCreatedRecord",this.editAnswer.emit(this.action)},l=>{console.error("Error",l),this.show_data=!1,this.onError(l)})}editRecord(l){delete l.inv_break_class,this.invAssignationService.putRecord(l).subscribe(l=>{this.selection=l,this.action.temp=this.selection,alert(`Registro modificado satisfactoriamente, ${this.action.temp.inv_break_id}, ${this.action.temp.inv_break_name}`),this.action.action="selectedRecord",this.show_data=!0,this.editAnswer.emit(this.action)},l=>{console.error("Error",l),this.show_data=!1,this.onError(l)})}deleteRecord(l){this.invAssignationService.deleteRecord(this.action.temp.inv_break_id).subscribe(l=>{this.selection=l,this.action.temp=this.selection,this.selection=new f.i,this.onFillForm(),alert("Registro eliminado satisfactoriamente"),this.show_data=!0,this.editAnswer.emit(this.action)},l=>{console.error("Error",l),this.show_data=!1,this.onError(l)})}onDelete(){this.action.action="delete",this.deleteRecord(this.action.temp)}onDeactivate(){this.selection=this.action.temp,this.selection.inv_break_status="I",this.onFillForm(),this.show_submit_button=!0}onReactivate(){this.selection=this.action.temp,this.selection.inv_break_status="A",this.onFillForm(),this.show_submit_button=!0}onReset(){this.selection=new f.i,this.action.temp=this.selection,this.onFillForm()}afterCreatedRecord(l){}onShowDetail(){this.action.action="showRecord"}onEditRecord(){this.action.action="editRecord",this.selection=this.action.temp,this.onFillForm()}afterEditedRecord(l){this.action.action="afterEditedRecord",this.action.temp=[l],this.editAnswer.emit(this.action)}onCancel(){this.action={action:"cancel",temp:""},this.editAnswer.emit(this.action)}onAction(){this.action={action:"edit_box",temp:""},this.editAnswer.emit(this.action)}onChangeToAuxiliar(){this.selection=this.action.temp,this.selection.inv_break_productivity=0,this.selection.inv_break_class="Auxiliar",this.onFillForm(),this.show_submit_button=!0}onSubmit(l){"newRecord"===this.action.action&&(this.createRecord(l),this.afterCreatedRecord(l)),"editRecord"===this.action.action&&(this.selection=l,this.editRecord(l),this.afterEditedRecord(l)),"deleteRecord"===this.action.action&&(this.selection=l,this.deleteRecord(l),this.action.temp=l,this.editAnswer.emit(this.action)),"showRecord"===this.action.action&&(this.selection=l,this.action.temp=l,this.editAnswer.emit(this.action))}onError(l){this.alertService.error(l.status),this.alertMessage.alertTitle="Error del servidor",this.alertMessage.alertText=l.statusText,this.alertMessage.alertShow=!0,this.alertMessage.alertClass="alert alert-danger alert-dismissible fade show"}sendTest(){this.action.action="test",this.action.temp=[{inv_break_id:2,inv_break_name:"Supervisor 008",inv_break_status:"A"}],this.editAnswer.emit(this.action)}}var O=e("DH+O"),L=e("phxf"),H=e("78Vo"),j=t["\u0275crt"]({encapsulation:0,styles:[[".register[_ngcontent-%COMP%]{min-width:1000px}.register-form[_ngcontent-%COMP%]{background:#add8e6;padding:1rem;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:1rem}.register-error[_ngcontent-%COMP%]{color:red;font-size:.8rem}.register-label[_ngcontent-%COMP%]{padding:0;font-size:1rem;color:#00008b;margin-top:1px}.register-selector[_ngcontent-%COMP%]{color:red;width:150px;font-size:1rem;margin-bottom:0}.register-input[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;margin-bottom:0;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.register-detail[_ngcontent-%COMP%]{min-height:40px;font-size:1rem;margin-bottom:0;background:#161638;color:#fff;padding:5px;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.register-button-group[_ngcontent-%COMP%]{display:flex;flex-direction:row}.register-button[_ngcontent-%COMP%]{font-size:1.1rem;margin-left:3px}.register-login-text[_ngcontent-%COMP%]{padding:5px;font-size:1.1rem}.main[_ngcontent-%COMP%]{margin:10px}@media screen and (max-width:576px){.register-form[_ngcontent-%COMP%]{padding:1rem;display:grid;grid-template-columns:1fr;grid-gap:1rem}}.submenu[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 4fr;grid-gap:1rem}.submenu-btn[_ngcontent-%COMP%]{font-size:.8rem;margin:10px;padding:2px 10px}.submenu-buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-start}.submenu-buttons2[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr;grid-gap:1rem}"]],data:{}});function z(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"p",[["class","register-detail"]],null,null,null,null,null)),(l()(),t["\u0275ted"](2,null,["",""]))],null,(function(l,n){l(n,2,0,n.component.selection.inv_break_id)}))}function U(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"input",[["class","form-control register-input disabled"],["formControlName","inv_break_id"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0;return"input"===n&&(u=!1!==t["\u0275nov"](l,4)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,4).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionEnd(e.target.value)&&u),u}),null,null)),t["\u0275prd"](512,null,m["\u0275NgClassImpl"],m["\u0275NgClassR2Impl"],[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2]),t["\u0275did"](2,278528,null,0,m.NgClass,[m["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](3,{"is-invalid":0}),t["\u0275did"](4,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](6,671744,null,0,V.e,[[3,V.b],[8,null],[8,null],[6,V.i],[2,V.s]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,V.j,null,[V.e]),t["\u0275did"](8,16384,null,0,V.k,[[4,V.j]],null,null)],(function(l,n){var e=l(n,3,0,n.component.f.inv_break_id.errors);l(n,2,0,"form-control register-input disabled",e),l(n,6,0,"inv_break_id")}),(function(l,n){l(n,0,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending)}))}function K(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Este dato es obligatorio "]))],null,null)}function G(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[["class","register-error"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,K)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.f.inv_break_id.errors.required)}),null)}function $(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"p",[["class","register-detail"]],null,null,null,null,null)),(l()(),t["\u0275ted"](2,null,["",""]))],null,(function(l,n){l(n,2,0,n.component.selection.inv_break_status)}))}function B(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"input",[["class","form-control register-input"],["formControlName","inv_break_status"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0;return"input"===n&&(u=!1!==t["\u0275nov"](l,4)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,4).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionEnd(e.target.value)&&u),u}),null,null)),t["\u0275prd"](512,null,m["\u0275NgClassImpl"],m["\u0275NgClassR2Impl"],[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2]),t["\u0275did"](2,278528,null,0,m.NgClass,[m["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](3,{"is-invalid":0}),t["\u0275did"](4,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](6,671744,null,0,V.e,[[3,V.b],[8,null],[8,null],[6,V.i],[2,V.s]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,V.j,null,[V.e]),t["\u0275did"](8,16384,null,0,V.k,[[4,V.j]],null,null)],(function(l,n){var e=l(n,3,0,n.component.f.inv_break_status.errors);l(n,2,0,"form-control register-input",e),l(n,6,0,"inv_break_status")}),(function(l,n){l(n,0,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending)}))}function J(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Este dato es obligatorio "]))],null,null)}function X(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[["class","register-error"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,J)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.f.inv_break_status.errors.required)}),null)}function W(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"p",[["class","register-detail"]],null,null,null,null,null)),(l()(),t["\u0275ted"](2,null,["",""]))],null,(function(l,n){l(n,2,0,n.component.selection.inv_break_name)}))}function Z(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"input",[["class","form-control register-input"],["formControlName","inv_break_name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0;return"input"===n&&(u=!1!==t["\u0275nov"](l,4)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,4).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionEnd(e.target.value)&&u),u}),null,null)),t["\u0275prd"](512,null,m["\u0275NgClassImpl"],m["\u0275NgClassR2Impl"],[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2]),t["\u0275did"](2,278528,null,0,m.NgClass,[m["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](3,{"is-invalid":0}),t["\u0275did"](4,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](6,671744,null,0,V.e,[[3,V.b],[8,null],[8,null],[6,V.i],[2,V.s]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,V.j,null,[V.e]),t["\u0275did"](8,16384,null,0,V.k,[[4,V.j]],null,null)],(function(l,n){var e=l(n,3,0,n.component.f.inv_break_name.errors);l(n,2,0,"form-control register-input",e),l(n,6,0,"inv_break_name")}),(function(l,n){l(n,0,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending)}))}function Q(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Este dato es obligatorio "]))],null,null)}function Y(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[["class","register-error"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Q)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.f.inv_break_name.errors.required)}),null)}function ll(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"p",[["class","register-detail"]],null,null,null,null,null)),(l()(),t["\u0275ted"](2,null,["",""]))],null,(function(l,n){l(n,2,0,n.component.selection.inv_break_shortname)}))}function nl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"input",[["class","form-control register-input"],["formControlName","inv_break_shortname"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0;return"input"===n&&(u=!1!==t["\u0275nov"](l,4)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,4).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionEnd(e.target.value)&&u),u}),null,null)),t["\u0275prd"](512,null,m["\u0275NgClassImpl"],m["\u0275NgClassR2Impl"],[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2]),t["\u0275did"](2,278528,null,0,m.NgClass,[m["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](3,{"is-invalid":0}),t["\u0275did"](4,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](6,671744,null,0,V.e,[[3,V.b],[8,null],[8,null],[6,V.i],[2,V.s]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,V.j,null,[V.e]),t["\u0275did"](8,16384,null,0,V.k,[[4,V.j]],null,null)],(function(l,n){var e=l(n,3,0,n.component.f.inv_break_shortname.errors);l(n,2,0,"form-control register-input",e),l(n,6,0,"inv_break_shortname")}),(function(l,n){l(n,0,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending)}))}function el(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Este dato es obligatorio "]))],null,null)}function tl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[["class","register-error"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,el)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.f.inv_break_shortname.errors.required)}),null)}function ul(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"p",[["class","register-detail"]],null,null,null,null,null)),(l()(),t["\u0275ted"](2,null,["",""]))],null,(function(l,n){l(n,2,0,n.component.selection.inv_break_description)}))}function il(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"input",[["class","form-control register-input"],["formControlName","inv_break_description"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0;return"input"===n&&(u=!1!==t["\u0275nov"](l,4)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,4).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionEnd(e.target.value)&&u),u}),null,null)),t["\u0275prd"](512,null,m["\u0275NgClassImpl"],m["\u0275NgClassR2Impl"],[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2]),t["\u0275did"](2,278528,null,0,m.NgClass,[m["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](3,{"is-invalid":0}),t["\u0275did"](4,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](6,671744,null,0,V.e,[[3,V.b],[8,null],[8,null],[6,V.i],[2,V.s]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,V.j,null,[V.e]),t["\u0275did"](8,16384,null,0,V.k,[[4,V.j]],null,null)],(function(l,n){var e=l(n,3,0,n.component.f.inv_break_description.errors);l(n,2,0,"form-control register-input",e),l(n,6,0,"inv_break_description")}),(function(l,n){l(n,0,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending)}))}function ol(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Este dato es obligatorio "]))],null,null)}function al(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[["class","register-error"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,ol)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.f.inv_break_description.errors.required)}),null)}function rl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"p",[["class","register-detail"]],null,null,null,null,null)),(l()(),t["\u0275ted"](2,null,[""," "]))],null,(function(l,n){l(n,2,0,n.component.selection.inv_break_productivity)}))}function sl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"input",[["class","form-control register-input"],["formControlName","inv_break_productivity"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0;return"input"===n&&(u=!1!==t["\u0275nov"](l,4)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,4).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionEnd(e.target.value)&&u),u}),null,null)),t["\u0275prd"](512,null,m["\u0275NgClassImpl"],m["\u0275NgClassR2Impl"],[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2]),t["\u0275did"](2,278528,null,0,m.NgClass,[m["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](3,{"is-invalid":0}),t["\u0275did"](4,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](6,671744,null,0,V.e,[[3,V.b],[8,null],[8,null],[6,V.i],[2,V.s]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,V.j,null,[V.e]),t["\u0275did"](8,16384,null,0,V.k,[[4,V.j]],null,null)],(function(l,n){var e=l(n,3,0,n.component.f.inv_break_productivity.errors);l(n,2,0,"form-control register-input",e),l(n,6,0,"inv_break_productivity")}),(function(l,n){l(n,0,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending)}))}function dl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Este dato es obligatorio "]))],null,null)}function cl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[["class","register-error"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,dl)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.f.inv_break_productivity.errors.required)}),null)}function gl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"p",[["class","register-detail"]],null,null,null,null,null)),(l()(),t["\u0275ted"](2,null,["",""]))],null,(function(l,n){l(n,2,0,n.component.selection.inv_break_class)}))}function pl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,8,"input",[["class","form-control register-input"],["formControlName","inv_break_class"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0;return"input"===n&&(u=!1!==t["\u0275nov"](l,4)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,4).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,4)._compositionEnd(e.target.value)&&u),u}),null,null)),t["\u0275prd"](512,null,m["\u0275NgClassImpl"],m["\u0275NgClassR2Impl"],[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2]),t["\u0275did"](2,278528,null,0,m.NgClass,[m["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),t["\u0275pod"](3,{"is-invalid":0}),t["\u0275did"](4,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](6,671744,null,0,V.e,[[3,V.b],[8,null],[8,null],[6,V.i],[2,V.s]],{name:[0,"name"]},null),t["\u0275prd"](2048,null,V.j,null,[V.e]),t["\u0275did"](8,16384,null,0,V.k,[[4,V.j]],null,null)],(function(l,n){var e=l(n,3,0,n.component.f.inv_break_class.errors);l(n,2,0,"form-control register-input",e),l(n,6,0,"inv_break_class")}),(function(l,n){l(n,0,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending)}))}function ml(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),t["\u0275ted"](-1,null,[" Este dato es obligatorio "]))],null,null)}function fl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[["class","register-error"]],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,ml)),t["\u0275did"](2,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){l(n,2,0,n.component.f.inv_break_class.errors.required)}),null)}function vl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-secondary  register-button"],["type","button"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onReset()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Reiniciar "]))],null,null)}function hl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-danger  register-button"],["type","button"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onDelete()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Eliminar "]))],null,null)}function bl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-danger  register-button"],["type","button"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onDeactivate()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Desactivar "]))],null,null)}function _l(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-primary  register-button"],["type","button"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onReactivate()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Reactivar "]))],null,null)}function Cl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-secondary  register-button"],["type","button"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onChangeToAuxiliar()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Cambiar a Auxiliar "]))],null,null)}function wl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"button",[["class","btn btn-success  register-button"],["type","button"]],null,[[null,"click"]],(function(l,n,e){var t=!0,u=l.component;return"click"===n&&(t=!1!==u.onSubmit(u.registerForm.value)&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Guardar "]))],null,null)}function Rl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,93,"section",[["class","register"],["id","register"]],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,92,"div",[["class","card mt-3"]],null,null,null,null,null)),(l()(),t["\u0275eld"](2,0,null,null,91,"div",[["class","card-body"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,0,"h3",[["class","h2 mb-3 font-weight-normal text-center"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,89,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(l,n,e){var u=!0;return"submit"===n&&(u=!1!==t["\u0275nov"](l,6).onSubmit(e)&&u),"reset"===n&&(u=!1!==t["\u0275nov"](l,6).onReset()&&u),u}),null,null)),t["\u0275did"](5,16384,null,0,V.u,[],null,null),t["\u0275did"](6,540672,null,0,V.f,[[8,null],[8,null]],{form:[0,"form"]},null),t["\u0275prd"](2048,null,V.b,null,[V.f]),t["\u0275did"](8,16384,null,0,V.l,[[4,V.b]],null,null),(l()(),t["\u0275eld"](9,0,null,null,63,"div",[["class","register-form"]],null,null,null,null,null)),(l()(),t["\u0275eld"](10,0,null,null,8,"div",[["class","form-group"],["id","inv_break_id"]],null,null,null,null,null)),(l()(),t["\u0275eld"](11,0,null,null,1,"label",[["class","register-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](12,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,z)),t["\u0275did"](14,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,U)),t["\u0275did"](16,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,G)),t["\u0275did"](18,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](19,0,null,null,8,"div",[["class","form-group"],["id","inv_break_status"]],null,null,null,null,null)),(l()(),t["\u0275eld"](20,0,null,null,1,"label",[["class","register-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](21,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,$)),t["\u0275did"](23,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,B)),t["\u0275did"](25,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,X)),t["\u0275did"](27,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](28,0,null,null,8,"div",[["class","form-group"],["id","inv_break_name"]],null,null,null,null,null)),(l()(),t["\u0275eld"](29,0,null,null,1,"label",[["class","register-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](30,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,W)),t["\u0275did"](32,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Z)),t["\u0275did"](34,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Y)),t["\u0275did"](36,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](37,0,null,null,8,"div",[["class","form-group"],["id","inv_break_shortname"]],null,null,null,null,null)),(l()(),t["\u0275eld"](38,0,null,null,1,"label",[["class","register-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](39,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,ll)),t["\u0275did"](41,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,nl)),t["\u0275did"](43,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,tl)),t["\u0275did"](45,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](46,0,null,null,8,"div",[["class","form-group"],["id","inv_break_description"]],null,null,null,null,null)),(l()(),t["\u0275eld"](47,0,null,null,1,"label",[["class","register-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](48,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,ul)),t["\u0275did"](50,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,il)),t["\u0275did"](52,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,al)),t["\u0275did"](54,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](55,0,null,null,8,"div",[["class","form-group"],["id","inv_break_productivity"]],null,null,null,null,null)),(l()(),t["\u0275eld"](56,0,null,null,1,"label",[["class","register-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](57,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,rl)),t["\u0275did"](59,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,sl)),t["\u0275did"](61,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,cl)),t["\u0275did"](63,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](64,0,null,null,8,"div",[["class","form-group"],["id","inv_break_class"]],null,null,null,null,null)),(l()(),t["\u0275eld"](65,0,null,null,1,"label",[["class","register-label"]],null,null,null,null,null)),(l()(),t["\u0275ted"](66,null,["",""])),(l()(),t["\u0275and"](16777216,null,null,1,null,gl)),t["\u0275did"](68,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,pl)),t["\u0275did"](70,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,fl)),t["\u0275did"](72,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](73,0,null,null,20,"article",[["class","form-group mt-3 mb-0 mr-auto register-button-group"]],null,null,null,null,null)),(l()(),t["\u0275eld"](74,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](75,0,null,null,1,"button",[["class","btn btn-warning  register-button"],["type","button"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onCancel()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Cancelar "])),(l()(),t["\u0275eld"](77,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,vl)),t["\u0275did"](79,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](80,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,hl)),t["\u0275did"](82,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](83,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,bl)),t["\u0275did"](85,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](86,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,_l)),t["\u0275did"](88,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](89,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Cl)),t["\u0275did"](91,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,wl)),t["\u0275did"](93,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var e=n.component;l(n,6,0,e.registerForm),l(n,14,0,!0),l(n,16,0,"showRecord"!==e.action.action&&!1),l(n,18,0,e.f.inv_break_id.dirty&&e.f.inv_break_id.errors),l(n,23,0,!0),l(n,25,0,"showRecord"!==e.action.action&&!1),l(n,27,0,e.f.inv_break_status.dirty&&e.f.inv_break_status.errors),l(n,32,0,!0),l(n,34,0,"showRecord"!==e.action.action&&!1),l(n,36,0,e.f.inv_break_name.dirty&&e.f.inv_break_name.errors),l(n,41,0,"showRecord"===e.action.action),l(n,43,0,"showRecord"!==e.action.action),l(n,45,0,e.f.inv_break_shortname.dirty&&e.f.inv_break_shortname.errors),l(n,50,0,!0),l(n,52,0,"showRecord"!==e.action.action&&!1),l(n,54,0,e.f.inv_break_description.dirty&&e.f.inv_break_description.errors),l(n,59,0,!0),l(n,61,0,"showRecord"!==e.action.action&&!1),l(n,63,0,e.f.inv_break_productivity.dirty&&e.f.inv_break_productivity.errors),l(n,68,0,!0),l(n,70,0,"showRecord"!==e.action.action&&!1),l(n,72,0,e.f.inv_break_class.dirty&&e.f.inv_break_class.errors),l(n,79,0,"newRecord"===e.action.action),l(n,82,0,"editRecord"===e.action.action&&"I"===e.selection.inv_break_status),l(n,85,0,"editRecord"===e.action.action&&"A"===e.selection.inv_break_status),l(n,88,0,"editRecord"===e.action.action&&"I"===e.selection.inv_break_status),l(n,91,0,"editRecord"===e.action.action&&"A"===e.selection.inv_break_status),l(n,93,0,"VALID"===e.registerForm.status&&"showRecord"!==e.action.action&&(!e.registerForm.pristine||e.show_submit_button))}),(function(l,n){var e=n.component;l(n,4,0,t["\u0275nov"](n,8).ngClassUntouched,t["\u0275nov"](n,8).ngClassTouched,t["\u0275nov"](n,8).ngClassPristine,t["\u0275nov"](n,8).ngClassDirty,t["\u0275nov"](n,8).ngClassValid,t["\u0275nov"](n,8).ngClassInvalid,t["\u0275nov"](n,8).ngClassPending),l(n,12,0,e.model.fieldInfo("inv_break_id").text),l(n,21,0,e.model.fieldInfo("inv_break_status").text),l(n,30,0,e.model.fieldInfo("inv_break_name").text),l(n,39,0,e.model.fieldInfo("inv_break_shortname").text),l(n,48,0,e.model.fieldInfo("inv_break_description").text),l(n,57,0,e.model.fieldInfo("inv_break_productivity").text),l(n,66,0,e.model.fieldInfo("inv_break_class").text)}))}function kl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"app-alert",[],null,null,null,F.b,F.a)),t["\u0275did"](1,114688,null,0,M.a,[],{alertMessage:[0,"alertMessage"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Rl)),t["\u0275did"](3,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var e=n.component;l(n,1,0,e.alertMessage),l(n,3,0,e.action&&e.show_data)}),null)}var Il=e("AiT7"),Tl=e("Z4LD"),yl=e("j2Hr");class xl{constructor(l,n,e){this.invAssignationService=l,this.alertService=n,this.envService=e,this.newCreateRecord=new t.EventEmitter,this.mainAnswer=new t.EventEmitter,this.error_detected=!1,this.alertMessage=new f.b,this.show_data=!0,this.show_datatable=!0,this.show_new_button=!0,this.show_selected_button=!1,this.selection=new f.i,this.action=new f.a,this.status_field="inv_break_status",this.productivity_field="inv_break_productivity",this.excel_subtitle="agente",this.selected=[{selected:new f.i}],this.rowsInTableList=[{id:1,value:1},{id:10,value:10},{id:15,value:15}],this.numberOfRowsInTable={id:10,value:10},this.filterFieldList=this.selection.fieldList(),this.selectedFilterField={field_name:"inv_break_name",name:"nombre",text:"nombre"}}ngOnInit(){this.onGetActive()}onlistAnswer(l){l&&(this.selection=l,this.show_selected_button=!0),"cancel"===l.action&&this.onCancel(l),"afterCreatedRecord"===l.action&&this.onAfterCreatedRecord(l),"afterEditedRecord"===l.action&&this.onAfterEditedRecord(l),"editRecord"===l.action&&this.onFindById(l),"delete"===l.action&&this.onCancel(l),"test"===l.action&&this.test(l)}getAll_Records(l){this.invAssignationService.getAllRecords(l).subscribe(l=>{this.rows_original=l,this.rows=l,this.alertMessage=new f.b,this.show_data=!0},l=>{this.show_data=!1,this.onError(l)})}getSingle_Record(l){this.rows=[l.temp],this.invAssignationService.getRecordById(l.temp.inv_break_id).subscribe(l=>{let n=[l];this.rows_original=n,this.rows=n,this.action.temp=n,this.alertMessage=new f.b,this.show_data=!0},l=>{this.show_data=!1,this.onError(l)})}onGetActive(l){this.show_datatable=!0,this.show_selected_button=!1,this.selection=new f.i,this.query=`{"where":{"${this.status_field}":"A" , "${this.productivity_field}":"1"}}`,this.getAll_Records(this.query)}onGetInactive(l){this.show_datatable=!0,this.show_selected_button=!1,this.selection=new f.i,this.query=`{"where":{"${this.status_field}":"I" , "${this.productivity_field}":"1"}}`,this.getAll_Records(this.query)}onGetAll(l){this.show_datatable=!0,this.show_selected_button=!1,this.selection=new f.i,this.query=`{"where":{"${this.productivity_field}":"1"}}`,this.getAll_Records(this.query)}onNewRecord(l){this.show_datatable=!1,this.show_selected_button=!1,this.action.action="newRecord",this.action.temp=new f.i}onAfterCreatedRecord(l){this.rows=l.temp,this.show_datatable=!0}onEditRecord(l){this.show_datatable=!1,this.action.action="editRecord"}onAfterEditedRecord(l){this.rows=l.temp,this.show_datatable=!0}onShowDetail(l){this.show_datatable=!1,this.action.action="showRecord"}onItemListSelected(l){this.show_datatable=!0,this.numberOfRowsInTable=l}onFilterFieldList(){this.action={action:"numberOfRowsInTable",temp:{lines:this.numberOfRowsInTable}},this.onGetAll()}onCancel(l){event&&(this.show_datatable=!this.show_datatable,this.onGetActive())}onUpdateFilter(l){this.show_datatable=!0;let n=Object(yl.c)(l,this.rows,this.rows_original,this.selectedFilterField.field_name);this.rows=n}onFindById(l){this.getSingle_Record(l),this.action.action="selectedRecord",this.show_datatable=!0}onActivate(l){}onSelect(l){this.show_selected_button=!0,this.selection=l.selected[0]}onError(l){this.alertService.error(l.status),this.alertMessage.alertTitle="Error del servidor",this.alertMessage.alertText=l.statusText,this.alertMessage.alertShow=!0,this.alertMessage.alertClass="alert alert-danger alert-dismissible fade show"}onExportToExcel(l,n){this.show_datatable=!0,l.map(l=>({id:l.inv_break_id,estatus:l.inv_break_status,chk:l.inv_break_chk,nombre_asignacion:l.inv_break_name,nombre_corto:l.inv_break_shortname,descripcion:l.inv_break_description,tipo_asignacion:l.inv_break_type,productividad:l.inv_break_productivity,clase_asignacion:l.inv_break_class}))}test(l){this.rows=l.temp,this.show_datatable=!0}}var Dl=t["\u0275crt"]({encapsulation:0,styles:[[".submenu[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;font-size:1rem}.submenu-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.submenu-brand[_ngcontent-%COMP%]{font-size:1rem;color:#007bff}.submenu-btn[_ngcontent-%COMP%]{font-size:1rem;margin-right:3px}.main[_ngcontent-%COMP%]{margin:10px}.datatable[_ngcontent-%COMP%]{margin-top:10px}"]],data:{}});function Nl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"a",[["class","btn btn-outline-success submenu-btn"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onNewRecord()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Nuevo"]))],null,null)}function ql(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"a",[["class","btn btn-outline-primary submenu-btn"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onShowDetail()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,["Detalle"]))],null,null)}function Al(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"a",[["class","btn btn-outline-success submenu-btn"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onEditRecord()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,[" Editar"]))],null,null)}function El(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"section",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"app-crud-inv-assignation-list",[],null,[[null,"listAnswer"]],(function(l,n,e){var t=!0;return"listAnswer"===n&&(t=!1!==l.component.onlistAnswer(e)&&t),t}),S,h)),t["\u0275did"](2,114688,null,0,v,[],{rows:[0,"rows"],numberOfRowsInTable:[1,"numberOfRowsInTable"],show_datatable:[2,"show_datatable"],action:[3,"action"]},{listAnswer:"listAnswer"})],(function(l,n){var e=n.component;l(n,2,0,e.rows,e.numberOfRowsInTable,e.show_datatable,e.action)}),null)}function Sl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,2,"section",[],null,null,null,null,null)),(l()(),t["\u0275eld"](1,0,null,null,1,"app-crud-inv-assignation-detail",[],null,[[null,"editAnswer"]],(function(l,n,e){var t=!0;return"editAnswer"===n&&(t=!1!==l.component.onlistAnswer(e)&&t),t}),kl,j)),t["\u0275did"](2,114688,null,0,P,[V.d,O.a,L.a,H.a],{action:[0,"action"]},{editAnswer:"editAnswer"})],(function(l,n){l(n,2,0,n.component.action)}),null)}function Vl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"app-alert",[],null,null,null,F.b,F.a)),t["\u0275did"](1,114688,null,0,M.a,[],{alertMessage:[0,"alertMessage"]},null),(l()(),t["\u0275eld"](2,0,null,null,68,"main",[["class","main"]],null,null,null,null,null)),(l()(),t["\u0275eld"](3,0,null,null,67,"section",[["class","submenu"],["id","submenu"]],null,null,null,null,null)),(l()(),t["\u0275eld"](4,0,null,null,21,"article",[["class","submenu-buttons"]],null,null,null,null,null)),(l()(),t["\u0275eld"](5,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](6,0,null,null,1,"a",[["class","btn btn-secondary submenu-btn text-white"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onGetAll()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,["Asignaciones"])),(l()(),t["\u0275eld"](8,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](9,0,null,null,1,"a",[["class","btn btn-outline-primary submenu-btn"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onGetActive()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,["Activos"])),(l()(),t["\u0275eld"](11,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](12,0,null,null,1,"a",[["class","btn btn-outline-primary submenu-btn"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onGetInactive()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,["Inactivos"])),(l()(),t["\u0275eld"](14,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275eld"](15,0,null,null,1,"a",[["class","btn btn-outline-primary submenu-btn"]],null,[[null,"click"]],(function(l,n,e){var t=!0;return"click"===n&&(t=!1!==l.component.onGetAll()&&t),t}),null,null)),(l()(),t["\u0275ted"](-1,null,["Todos"])),(l()(),t["\u0275eld"](17,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Nl)),t["\u0275did"](19,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](20,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,ql)),t["\u0275did"](22,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](23,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),t["\u0275and"](16777216,null,null,1,null,Al)),t["\u0275did"](25,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275eld"](26,0,null,null,44,"article",[["class","submenu-buttons ml-auto"],["id","right-menu"]],null,null,null,null,null)),(l()(),t["\u0275eld"](27,0,null,null,18,"ng-select",[["bindLabel","name"],["class","ng-select"],["hideSelected","true"],["placeholder","items-"],["role","listbox"]],[[2,"ng-select-single",null],[2,"ng-select-typeahead",null],[2,"ng-select-multiple",null],[2,"ng-select-taggable",null],[2,"ng-select-searchable",null],[2,"ng-select-clearable",null],[2,"ng-select-opened",null],[2,"ng-select-disabled",null],[2,"ng-select-filtered",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"],[null,"keydown"]],(function(l,n,e){var u=!0,i=l.component;return"keydown"===n&&(u=!1!==t["\u0275nov"](l,29).handleKeyDown(e)&&u),"change"===n&&(u=!1!==i.onFilterFieldList()&&u),"ngModelChange"===n&&(u=!1!==(i.selectedFilterField=e)&&u),u}),Il.b,Il.a)),t["\u0275prd"](4608,null,Tl.f,Tl.f,[]),t["\u0275did"](29,4964352,null,12,Tl.a,[[8,null],[8,null],[8,null],Tl.b,Tl.d,t.ElementRef,t.ChangeDetectorRef,Tl.i],{bindLabel:[0,"bindLabel"],placeholder:[1,"placeholder"],dropdownPosition:[2,"dropdownPosition"],hideSelected:[3,"hideSelected"],clearable:[4,"clearable"],items:[5,"items"]},{changeEvent:"change"}),t["\u0275qud"](335544320,1,{optionTemplate:0}),t["\u0275qud"](335544320,2,{optgroupTemplate:0}),t["\u0275qud"](335544320,3,{labelTemplate:0}),t["\u0275qud"](335544320,4,{multiLabelTemplate:0}),t["\u0275qud"](335544320,5,{headerTemplate:0}),t["\u0275qud"](335544320,6,{footerTemplate:0}),t["\u0275qud"](335544320,7,{notFoundTemplate:0}),t["\u0275qud"](335544320,8,{typeToSearchTemplate:0}),t["\u0275qud"](335544320,9,{loadingTextTemplate:0}),t["\u0275qud"](335544320,10,{tagTemplate:0}),t["\u0275qud"](335544320,11,{loadingSpinnerTemplate:0}),t["\u0275qud"](603979776,12,{ngOptions:1}),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[Tl.a]),t["\u0275did"](43,671744,null,0,V.m,[[8,null],[8,null],[8,null],[6,V.i]],{model:[0,"model"]},{update:"ngModelChange"}),t["\u0275prd"](2048,null,V.j,null,[V.m]),t["\u0275did"](45,16384,null,0,V.k,[[4,V.j]],null,null),(l()(),t["\u0275eld"](46,0,null,null,5,"input",[["placeholder","Buscar..."],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(l,n,e){var u=!0,i=l.component;return"input"===n&&(u=!1!==t["\u0275nov"](l,47)._handleInput(e.target.value)&&u),"blur"===n&&(u=!1!==t["\u0275nov"](l,47).onTouched()&&u),"compositionstart"===n&&(u=!1!==t["\u0275nov"](l,47)._compositionStart()&&u),"compositionend"===n&&(u=!1!==t["\u0275nov"](l,47)._compositionEnd(e.target.value)&&u),"ngModelChange"===n&&(u=!1!==(i.findInList=e)&&u),"keyup"===n&&(u=!1!==i.onUpdateFilter(i.findInList)&&u),u}),null,null)),t["\u0275did"](47,16384,null,0,V.c,[t.Renderer2,t.ElementRef,[2,V.a]],null,null),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[V.c]),t["\u0275did"](49,671744,null,0,V.m,[[8,null],[8,null],[8,null],[6,V.i]],{model:[0,"model"]},{update:"ngModelChange"}),t["\u0275prd"](2048,null,V.j,null,[V.m]),t["\u0275did"](51,16384,null,0,V.k,[[4,V.j]],null,null),(l()(),t["\u0275eld"](52,0,null,null,18,"ng-select",[["bindLabel","value"],["class","ng-select"],["hideSelected","true"],["placeholder","items-"],["role","listbox"]],[[2,"ng-select-single",null],[2,"ng-select-typeahead",null],[2,"ng-select-multiple",null],[2,"ng-select-taggable",null],[2,"ng-select-searchable",null],[2,"ng-select-clearable",null],[2,"ng-select-opened",null],[2,"ng-select-disabled",null],[2,"ng-select-filtered",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keydown"]],(function(l,n,e){var u=!0,i=l.component;return"keydown"===n&&(u=!1!==t["\u0275nov"](l,54).handleKeyDown(e)&&u),"ngModelChange"===n&&(u=!1!==(i.numberOfRowsInTable=e)&&u),u}),Il.b,Il.a)),t["\u0275prd"](4608,null,Tl.f,Tl.f,[]),t["\u0275did"](54,4964352,null,12,Tl.a,[[8,null],[8,null],[8,null],Tl.b,Tl.d,t.ElementRef,t.ChangeDetectorRef,Tl.i],{bindLabel:[0,"bindLabel"],placeholder:[1,"placeholder"],dropdownPosition:[2,"dropdownPosition"],hideSelected:[3,"hideSelected"],clearable:[4,"clearable"],items:[5,"items"]},null),t["\u0275qud"](335544320,13,{optionTemplate:0}),t["\u0275qud"](335544320,14,{optgroupTemplate:0}),t["\u0275qud"](335544320,15,{labelTemplate:0}),t["\u0275qud"](335544320,16,{multiLabelTemplate:0}),t["\u0275qud"](335544320,17,{headerTemplate:0}),t["\u0275qud"](335544320,18,{footerTemplate:0}),t["\u0275qud"](335544320,19,{notFoundTemplate:0}),t["\u0275qud"](335544320,20,{typeToSearchTemplate:0}),t["\u0275qud"](335544320,21,{loadingTextTemplate:0}),t["\u0275qud"](335544320,22,{tagTemplate:0}),t["\u0275qud"](335544320,23,{loadingSpinnerTemplate:0}),t["\u0275qud"](603979776,24,{ngOptions:1}),t["\u0275prd"](1024,null,V.i,(function(l){return[l]}),[Tl.a]),t["\u0275did"](68,671744,null,0,V.m,[[8,null],[8,null],[8,null],[6,V.i]],{model:[0,"model"]},{update:"ngModelChange"}),t["\u0275prd"](2048,null,V.j,null,[V.m]),t["\u0275did"](70,16384,null,0,V.k,[[4,V.j]],null,null),(l()(),t["\u0275and"](16777216,null,null,1,null,El)),t["\u0275did"](72,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null),(l()(),t["\u0275and"](16777216,null,null,1,null,Sl)),t["\u0275did"](74,16384,null,0,m.NgIf,[t.ViewContainerRef,t.TemplateRef],{ngIf:[0,"ngIf"]},null)],(function(l,n){var e=n.component;l(n,1,0,e.alertMessage),l(n,19,0,e.show_new_button&&!1),l(n,22,0,e.show_selected_button),l(n,25,0,e.show_selected_button),l(n,29,0,"name","items-","bottom","true",!1,e.filterFieldList),l(n,43,0,e.selectedFilterField),l(n,49,0,e.findInList),l(n,54,0,"value","items-","bottom","true",!1,e.rowsInTableList),l(n,68,0,e.numberOfRowsInTable),l(n,72,0,e.show_datatable&&e.show_data),l(n,74,0,!e.show_datatable&&e.show_data)}),(function(l,n){l(n,27,1,[!t["\u0275nov"](n,29).multiple,t["\u0275nov"](n,29).typeahead,t["\u0275nov"](n,29).multiple,t["\u0275nov"](n,29).addTag,t["\u0275nov"](n,29).searchable,t["\u0275nov"](n,29).clearable,t["\u0275nov"](n,29).isOpen,t["\u0275nov"](n,29).disabled,t["\u0275nov"](n,29).filtered,t["\u0275nov"](n,45).ngClassUntouched,t["\u0275nov"](n,45).ngClassTouched,t["\u0275nov"](n,45).ngClassPristine,t["\u0275nov"](n,45).ngClassDirty,t["\u0275nov"](n,45).ngClassValid,t["\u0275nov"](n,45).ngClassInvalid,t["\u0275nov"](n,45).ngClassPending]),l(n,46,0,t["\u0275nov"](n,51).ngClassUntouched,t["\u0275nov"](n,51).ngClassTouched,t["\u0275nov"](n,51).ngClassPristine,t["\u0275nov"](n,51).ngClassDirty,t["\u0275nov"](n,51).ngClassValid,t["\u0275nov"](n,51).ngClassInvalid,t["\u0275nov"](n,51).ngClassPending),l(n,52,1,[!t["\u0275nov"](n,54).multiple,t["\u0275nov"](n,54).typeahead,t["\u0275nov"](n,54).multiple,t["\u0275nov"](n,54).addTag,t["\u0275nov"](n,54).searchable,t["\u0275nov"](n,54).clearable,t["\u0275nov"](n,54).isOpen,t["\u0275nov"](n,54).disabled,t["\u0275nov"](n,54).filtered,t["\u0275nov"](n,70).ngClassUntouched,t["\u0275nov"](n,70).ngClassTouched,t["\u0275nov"](n,70).ngClassPristine,t["\u0275nov"](n,70).ngClassDirty,t["\u0275nov"](n,70).ngClassValid,t["\u0275nov"](n,70).ngClassInvalid,t["\u0275nov"](n,70).ngClassPending])}))}function Fl(l){return t["\u0275vid"](0,[(l()(),t["\u0275eld"](0,0,null,null,1,"app-crud-inv-assignation",[],null,null,null,Vl,Dl)),t["\u0275did"](1,114688,null,0,xl,[O.a,L.a,H.a],null,null)],(function(l,n){l(n,1,0)}),null)}var Ml=t["\u0275ccf"]("app-crud-inv-assignation",xl,Fl,{},{newCreateRecord:"newCreateRecord",mainAnswer:"mainAnswer"},[]),Pl=e("uEFD"),Ol=e("ruJL"),Ll=e("1VvW");class Hl{}e.d(n,"CrudInvAssignationModuleNgFactory",(function(){return jl}));var jl=t["\u0275cmf"](u,[],(function(l){return t["\u0275mod"]([t["\u0275mpd"](512,t.ComponentFactoryResolver,t["\u0275CodegenComponentFactoryResolver"],[[8,[i.a,Ml]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["\u0275mpd"](4608,m.NgLocalization,m.NgLocaleLocalization,[t.LOCALE_ID,[2,m["\u0275angular_packages_common_common_a"]]]),t["\u0275mpd"](4608,r.ScrollbarHelper,r.ScrollbarHelper,[m.DOCUMENT]),t["\u0275mpd"](4608,s.DimensionsHelper,s.DimensionsHelper,[]),t["\u0275mpd"](4608,d.ColumnChangesService,d.ColumnChangesService,[]),t["\u0275mpd"](4608,V.r,V.r,[]),t["\u0275mpd"](4608,V.d,V.d,[]),t["\u0275mpd"](1073742336,m.CommonModule,m.CommonModule,[]),t["\u0275mpd"](1073742336,Pl.NgxDatatableModule,Pl.NgxDatatableModule,[]),t["\u0275mpd"](1073742336,Tl.c,Tl.c,[]),t["\u0275mpd"](1073742336,V.q,V.q,[]),t["\u0275mpd"](1073742336,V.g,V.g,[]),t["\u0275mpd"](1073742336,V.o,V.o,[]),t["\u0275mpd"](1073742336,Ol.a,Ol.a,[]),t["\u0275mpd"](1073742336,Ll.o,Ll.o,[[2,Ll.t],[2,Ll.l]]),t["\u0275mpd"](1073742336,Hl,Hl,[]),t["\u0275mpd"](1073742336,u,u,[]),t["\u0275mpd"](256,Tl.d,Tl.e,[]),t["\u0275mpd"](1024,Ll.j,(function(){return[[{path:"",component:xl,children:[{path:"",redirectTo:"menu"},{path:"menu",component:xl}]}]]}),[])])}))}}]);