1"use strict";(self.webpackChunkslpnow=self.webpackChunkslpnow||[]).push([[3164],{95068(S,b,l){l.d(b,{C:()=>It});var F=l(99966),t=l(12481),k=l(96985),h=l(93262),T=l(5592),E=l(29481),f=l(84810),C=l(98068);class p{constructor(o,e,a){this.workloadTaskId=o.id,this.status=T.S.ACTIVE,this.workloadTaskName=o.name,this.workloadTaskDescription=o.description,this.type=o.type,this.attachmentName=o.attachmentName,this.workloadTaskGroupId=e,this.order=a}}var m=l(46227),d=l(12182),g=l(31558),_=l(34456),N=l(8910),j=l(23767),R=l(38300),L=l(93683),w=l(55780),I=l(39758),M=l(36568),v=l(62223),O=l(597),r=l(85240),x=l(18165);const B=()=>({sortBy:"name",column:"tasks.table.name"}),$=()=>({sortBy:"type",column:"tasks.table.type"}),D=()=>({sortBy:"description",column:"tasks.table.description"}),G=n=>({"selected-task":n});function V(n,o){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"p",11),t.EFF(2,"\n "),t.j41(3,"span",12),t.EFF(4,"Add Task To"),t.k0s(),t.EFF(5,"\n "),t.j41(6,"span",13),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.k0s(),t.EFF(9,"\n ")),2&n){const e=t.XpG();t.R7$(7),t.JRh(e.taskGroupName)}}function A(n,o){1&n&&(t.EFF(0,"\n "),t.j41(1,"p",14),t.EFF(2,"Add task"),t.k0s(),t.EFF(3,"\n "))}function U(n,o){1&n&&t.nrm(0,"div")}function P(n,o){1&n&&(t.EFF(0,"\n "),t.j41(1,"div",15),t.EFF(2,"\n "),t.j41(3,"span",16),t.EFF(4,"No tasks found"),t.k0s(),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "))}function X(n,o){1&n&&t.nrm(0,"div")}function W(n,o){1&n&&t.nrm(0,"div")}function Y(n,o){1&n&&t.nrm(0,"div")}function H(n,o){1&n&&(t.EFF(0,"\n "),t.j41(1,"span",32),t.EFF(2," Task Added "),t.k0s(),t.EFF(3,"\n "))}function J(n,o){1&n&&(t.EFF(0,"\n "),t.j41(1,"span",33),t.EFF(2,"Add Task"),t.k0s(),t.EFF(3,"\n "))}function K(n,o){if(1&n){const e=t.RV6();t.EFF(0,"\n "),t.j41(1,"tr",26),t.EFF(2,"\n "),t.j41(3,"td",27),t.EFF(4),t.k0s(),t.EFF(5,"\n "),t.j41(6,"td",28),t.EFF(7),t.k0s(),t.EFF(8,"\n "),t.j41(9,"td",29),t.EFF(10),t.k0s(),t.EFF(11,"\n "),t.j41(12,"td",30),t.EFF(13,"\n "),t.j41(14,"button",31),t.bIt("click",function(){const s=r.eBV(e).$implicit,i=t.XpG(2);return r.Njj(i.selectItem(s.id))}),t.EFF(15,"\n "),t.nVh(16,H,4,0)(17,J,4,0),t.k0s(),t.EFF(18,"\n "),t.k0s(),t.EFF(19,"\n "),t.k0s(),t.EFF(20,"\n ")}if(2&n){const e=o.$implicit,a=t.XpG(2);t.R7$(),t.Y8G("ngClass",t.eq3(6,G,a.isItemSelected(e.id))),t.R7$(3),t.SpI("\n ",null==e?null:e.name,"\n "),t.R7$(3),t.JRh(a.getTaskType(null==e?null:e.type)),t.R7$(3),t.JRh(null==e?null:e.description),t.R7$(4),t.Y8G("ngClass",t.eq3(8,G,a.isItemSelected(e.id))),t.R7$(2),t.vxM(a.isItemSelected(e.id)?16:17)}}function z(n,o){if(1&n){const e=t.RV6();t.EFF(0,"\n "),t.j41(1,"div",17),t.EFF(2,"\n "),t.j41(3,"table",18),t.EFF(4,"\n "),t.j41(5,"thead"),t.EFF(6,"\n "),t.j41(7,"tr",19),t.mxI("predicateChange",function(s){r.eBV(e);const i=t.XpG();return t.DH7(i.attributeOfList.predicate,s)||(i.attributeOfList.predicate=s),r.Njj(s)})("ascendingChange",function(s){r.eBV(e);const i=t.XpG();return t.DH7(i.attributeOfList.ascending,s)||(i.attributeOfList.ascending=s),r.Njj(s)}),t.EFF(8,"\n "),t.j41(9,"th",20),t.EFF(10,"\n "),t.DNE(11,X,1,0,"div",21),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.j41(14,"th",22),t.EFF(15,"\n "),t.DNE(16,W,1,0,"div",21),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n "),t.j41(19,"th",23),t.EFF(20,"\n "),t.DNE(21,Y,1,0,"div",21),t.EFF(22,"\n "),t.k0s(),t.EFF(23,"\n "),t.j41(24,"th",24),t.EFF(25,"\n "),t.j41(26,"span",25),t.EFF(27,"Actions"),t.k0s(),t.EFF(28,"\n "),t.k0s(),t.EFF(29,"\n "),t.k0s(),t.EFF(30,"\n "),t.k0s(),t.EFF(31,"\n "),t.j41(32,"tbody"),t.EFF(33,"\n "),t.Z7z(34,K,21,10,null,null,t.fX1),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n ")}if(2&n){const e=t.XpG(),a=t.sdS(36);t.R7$(7),t.R50("predicate",e.attributeOfList.predicate)("ascending",e.attributeOfList.ascending),t.Y8G("callback",e.sortTable.bind(e)),t.R7$(4),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.lJ4(9,B)),t.R7$(5),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.lJ4(10,$)),t.R7$(5),t.Y8G("ngTemplateOutlet",a)("ngTemplateOutletContext",t.lJ4(11,D)),t.R7$(13),t.Dyx(e.taskList)}}function Q(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",35),t.EFF(2,"\n ")),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("iconName",e.HtmlIcons.BI_ARROW_DOWN_UP)}}function Z(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",35),t.EFF(2,"\n ")),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_UP)}}function q(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",35),t.EFF(2,"\n ")),2&n){const e=t.XpG(2);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_DOWN)}}function tt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"span",34),t.EFF(2,"\n "),t.nVh(3,Q,3,1),t.nVh(4,Z,3,1),t.nVh(5,q,3,1)),2&n){const e=o.sortBy,a=o.column,s=t.XpG();t.R7$(),t.Y8G("jhiTranslate",a),t.R7$(2),t.vxM(s.attributeOfList.predicate!=e?3:-1),t.R7$(),t.vxM(s.attributeOfList.predicate==e&&s.attributeOfList.ascending?4:-1),t.R7$(),t.vxM(s.attributeOfList.predicate!=e||s.attributeOfList.ascending?-1:5)}}function et(n,o){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"span"),t.EFF(2),t.k0s(),t.EFF(3,"\n ")),2&n){const e=o.item;t.R7$(2),t.JRh(e.label)}}function nt(n,o){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"span"),t.EFF(2),t.k0s(),t.EFF(3,"\n ")),2&n){const e=o.item;t.R7$(2),t.JRh(e.label)}}function st(n,o){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"span"),t.EFF(2),t.k0s(),t.EFF(3,"\n ")),2&n){const e=o.item;t.R7$(2),t.JRh(e.label)}}function at(n,o){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"span"),t.EFF(2),t.k0s(),t.EFF(3,"\n ")),2&n){const e=o.item;t.R7$(2),t.JRh(e.label)}}function it(n,o){if(1&n){const e=t.RV6();t.EFF(0,"\n "),t.j41(1,"form",36),t.EFF(2,"\n "),t.j41(3,"ng-select",37),t.nI1(4,"translate"),t.bIt("change",function(){r.eBV(e);const s=t.XpG();
1return r.Njj(s.searchTasks())}),t.EFF(5,"\n "),t.DNE(6,et,4,1,"ng-template",38),t.EFF(7,"\n "),t.DNE(8,nt,4,1,"ng-template",39),t.EFF(9,"\n "),t.k0s(),t.EFF(10,"\n "),t.j41(11,"ng-select",40),t.nI1(12,"translate"),t.bIt("change",function(){r.eBV(e);const s=t.XpG();return r.Njj(s.searchTasks())}),t.EFF(13,"\n "),t.DNE(14,st,4,1,"ng-template",38),t.EFF(15,"\n "),t.DNE(16,at,4,1,"ng-template",39),t.EFF(17,"\n "),t.k0s(),t.EFF(18,"\n "),t.j41(19,"div",41),t.EFF(20,"\n "),t.EFF(21,"\n "),t.nrm(22,"input",42),t.nI1(23,"translate"),t.EFF(24,"\n "),t.EFF(25,"\n "),t.j41(26,"div",43),t.EFF(27,"\n "),t.j41(28,"button",44),t.bIt("click",function(){r.eBV(e);const s=t.XpG();return r.Njj(s.searchTasks())}),t.EFF(29,"\n "),t.j41(30,"span",45),t.EFF(31,"Search"),t.k0s(),t.EFF(32,"\n "),t.k0s(),t.EFF(33,"\n "),t.k0s(),t.EFF(34,"\n "),t.k0s(),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n")}if(2&n){const e=t.XpG();t.R7$(),t.Y8G("formGroup",e.searchForm),t.R7$(2),t.Y8G("placeholder",t.mNQ(t.bMT(4,11,"studentTaskWorkload.table.search.filterByAdded")))("items",e.taskAddedTypes)("clearable",!0),t.R7$(8),t.Y8G("placeholder",t.mNQ(t.bMT(12,13,"studentTaskWorkload.table.search.filterByType")))("items",e.taskTypes)("clearable",!0),t.R7$(11),t.Y8G("placeholder",t.mNQ(t.bMT(23,15,"studentTaskWorkload.table.search.query")))}}let ot=(()=>{var n;class o{constructor(a,s){this.activeModal=a,this.fb=s,this.tasks=[],this.searchForm=this.fb.group({query:"",status:[null],taskType:[null],taskAddedType:[null]}),this.showWarnings=!1,this.taskTypes=C.ci,this.taskAddedTypes=N.h0,this.selectedTaskIds=[],this.attributeOfList=new E.n(0,1),this.taskList=[],this.customSearchFn=(i,c)=>(0,j.Dn)(i,c),this.getTaskType=i=>(0,j.Kz)(i),this.isItemSelected=i=>!!this.selectedTaskIds.find(c=>(0,m.isEqual)(c.toString(),i.toString())),this.filterTaskByAddedType=()=>{switch(this.searchForm.get("taskAddedType")?.value){case N.Vz.ADDED:this.taskList=this.taskList.filter(c=>this.selectedTaskIds.includes(c.id));break;case N.Vz.NOT_ADDED:this.taskList=this.taskList.filter(c=>!this.selectedTaskIds.includes(c.id))}}}ngOnInit(){this.taskList=this.tasks}submit(){this.activeModal.close(this.selectedTaskIds)}searchTasks(){const{query:a,status:s,taskType:i,taskAddedType:c}=this.searchForm.getRawValue();(0,m.isEmpty)(a)&&(0,m.isEmpty)(i)&&(0,m.isEmpty)(s)&&(0,m.isEmpty)(c)?this.taskList=this.tasks:(this.taskList=this.tasks.filter(u=>(0,j.V9)(u,i)&&(0,j.dW)(u,s)&&(0,j.$3)(u,a)),this.filterTaskByAddedType(),this.sortTable())}sortTable(){const a=this.attributeOfList.predicate;this.taskList=a?(0,m.orderBy)(this.taskList,s=>s[a]?.toString().toLowerCase(),this.attributeOfList.ascending?"asc":"desc"):(0,m.orderBy)(this.taskList,s=>s.id,"asc")}selectItem(a){const s=this.selectedTaskIds.findIndex(i=>(0,m.isEqual)(i,a));-1!==s?this.selectedTaskIds.splice(s,1):this.selectedTaskIds.push(a),this.filterTaskByAddedType()}get HtmlIcons(){return k.s}static#t=n=()=>(this.\u0275fac=function(s){return new(s||o)(t.rXU(x.Lw),t.rXU(_.ze))},this.\u0275cmp=t.VBU({type:o,selectors:[["ng-component"]],inputs:{tasks:"tasks",taskGroupName:"taskGroupName"},decls:42,vars:5,consts:[["sortTemplate",""],["searchTemplate",""],[1,"modal-content"],[1,"modal-header","ps-4"],["type","button","id","closeCreateTaskGroupModalBtn1","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["aria-hidden","true","jhiTranslate","tasks.detail.close"],[1,"modal-body","ps-4","pe-4","pt-1","pb-1"],[4,"ngTemplateOutlet"],[1,"modal-footer"],["type","button","id","closeCreateTaskModalBtn2","data-dismiss","modal","jhiTranslate","slpnowApp.skill.create.btnCancel",1,"btn","btn-secondary",3,"click"],["type","button","id","save","jhiTranslate","entity.action.save",1,"btn","btn-primary",3,"click"],["id","createTaskModalLabel",1,"lead","fw-normal","modal-title"],["jhiTranslate","studentTaskWorkload.task.addTaskTo"],[1,"fw-bold"],["id","createTaskModalLabel","jhiTranslate","tasks.detail.titleCreate",1,"lead","fw-normal","modal-title"],["id","no-result",1,"alert","alert-warning"],["jhiTranslate","studentTaskWorkload.table.taskNotFound"],["id","entities",1,"table-responsive","scroll-vertical"],["aria-describedby","page-heading",1,"table","table-borderless","table-striped","border"],["jhiSort","",3,"predicateChange","ascendingChange","predicate","ascending","callback"],["scope","col","jhiSortBy","name",1,"ta-center-i"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["scope","col","jhiSortBy","type",1,"col_3","ta-center-i"],["scope","col","jhiSortBy","description",1,"col_2","ta-center-i"],["scope","col",1,"w-one-action","ta-center-i"],["jhiTranslate","tasks.table.actions"],["data-cy","entityTable",3,"ngClass"],[1,"max-w-200","wrap"],[1,"max-w-200","col_2"],[1,"max-w-200","wrap","col_3"],[1,"text-end","width-actions"],["type","submit",1,"btn","btn-primary","btn-sm","w-100",3,"click","ngClass"],["jhiTranslate","studentTaskWorkload.table.taskAdded"],["jhiTranslate","studentTaskWorkload.table.addTask"],[1,"col-header",3,"jhiTranslate"],[1,"sort-color",3,"iconName"],["name","searchForm",1,"form-inline","mb-2","align-items-start","form-container",3,"formGroup"],["name","field_filterTask","id","field_filterTask","bindLabel","label","bindValue","value","clearAllText","Clear","formControlName","taskAddedType",1,"custom","mb-1","select-style","col-lg-3","px-0",3,"change","items","clearable","placeholder"],["ng-label-tmp",""],["ng-option-tmp",""],["name","field_filterTask","id","field_filterTask","bindLabel","label","bindValue","value","clearAllText","Clear","formControlName","taskType",1,"custom","mb-1","ms-lg-1","select-style","col-lg-3","px-0",3,"change","items","clearable","placeholder"],[1,"input-group","mb-1","col-lg-5","px-0"],["type","search","name","searchUsers","id","field_searchUsers","formControlName","query",1,"form-control","ms-lg-1","input-search","min-w300",3,"placeholder"],[1,"input-group","me-auto"],["type","button","id","searchUsersBtn",1,"btn","btn-primary","px-3","ms-1",3,"click"],["jhiTranslate","entity.action.search"]],template:function(s,i){if
1(1&s){const c=t.RV6();t.j41(0,"div",2),t.EFF(1,"\n "),t.EFF(2,"\n "),t.j41(3,"div",3),t.EFF(4,"\n "),t.nVh(5,V,10,1),t.nVh(6,A,4,0),t.j41(7,"button",4),t.bIt("click",function(){return r.eBV(c),r.Njj(i.activeModal.close("close"))}),t.EFF(8,"\n "),t.j41(9,"span",5),t.EFF(10,"\xd7"),t.k0s(),t.EFF(11,"\n "),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.j41(14,"div",6),t.EFF(15,"\n "),t.EFF(16,"\n "),t.DNE(17,U,1,0,"div",7),t.EFF(18,"\n "),t.EFF(19,"\n "),t.nVh(20,P,7,0),t.nVh(21,z,39,12),t.k0s(),t.EFF(22,"\n "),t.EFF(23,"\n "),t.j41(24,"div",8),t.EFF(25,"\n "),t.j41(26,"button",9),t.bIt("click",function(){return r.eBV(c),r.Njj(i.activeModal.close("Close click"))}),t.EFF(27,"\n Cancel\n "),t.k0s(),t.EFF(28,"\n "),t.j41(29,"button",10),t.bIt("click",function(){return r.eBV(c),r.Njj(i.submit())}),t.EFF(30,"Save"),t.k0s(),t.EFF(31,"\n "),t.k0s(),t.EFF(32,"\n"),t.k0s(),t.EFF(33,"\n\n"),t.EFF(34,"\n"),t.DNE(35,tt,6,4,"ng-template",null,0,t.C5r),t.EFF(37,"\n"),t.EFF(38,"\n"),t.DNE(39,it,37,17,"ng-template",null,1,t.C5r),t.EFF(41,"\n")}if(2&s){const c=t.sdS(40);t.R7$(5),t.vxM(i.taskGroupName?5:-1),t.R7$(),t.vxM(i.taskGroupName?-1:6),t.R7$(11),t.Y8G("ngTemplateOutlet",c),t.R7$(3),t.vxM(0===i.taskList.length?20:-1),t.R7$(),t.vxM(i.taskList&&i.taskList.length>0?21:-1)}},dependencies:[R.M,L.T3,w._,I.b,L.YU,M.n,_.YN,_.qT,_.me,_.BC,_.cb,_.X1,_.j4,_.JD,v.vr,v.ZZ,v.Uq,O.h,O.D9],styles:[".scroll-vertical[_ngcontent-%COMP%]{overflow-y:auto;height:565px;min-width:430px!important}.min-w300[_ngcontent-%COMP%]{min-width:300px}.select-style[_ngcontent-%COMP%]{min-width:150px;font-size:1rem}.width-actions[_ngcontent-%COMP%]{width:169px}.selected-task[_ngcontent-%COMP%]{background-color:#ccc;border-color:#ccc;width:50%}tr.selected-task[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#ccc}.w-one-action[_ngcontent-%COMP%]{width:169px}.ta-center-i[_ngcontent-%COMP%]{text-align:center!important}"]}))}return n(),o})();var lt=l(55019);function ct(n,o){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"span"),t.EFF(2),t.k0s(),t.EFF(3,"\n ")),2&n){const e=o.item;t.R7$(2),t.JRh(e.name)}}function rt(n,o){if(1&n&&(t.EFF(0,"\n "),t.j41(1,"span"),t.EFF(2),t.k0s(),t.EFF(3,"\n ")),2&n){const e=o.item;t.R7$(2),t.JRh(e.name)}}let dt=(()=>{var n;class o{constructor(a,s){this.activeModal=a,this.fb=s,this.tasks=[],this.taskForm=this.fb.group({taskId:[null,[_.k0.required]]}),this.showWarnings=!1,this.customSearchFn=(i,c)=>(0,j.Dn)(i,c)}submit(){this.activeModal.close(this.taskForm.value.taskId)}canSave(){return!this.taskForm.invalid||(this.showWarnings=!0,!1)}static#t=n=()=>(this.\u0275fac=function(s){return new(s||o)(t.rXU(x.Lw),t.rXU(_.ze))},this.\u0275cmp=t.VBU({type:o,selectors:[["ng-component"]],inputs:{tasks:"tasks"},decls:53,vars:10,consts:[[1,"modal-content"],[1,"modal-header","ps-4"],["id","createTaskModalLabel","jhiTranslate","tasks.detail.titleCreate",1,"lead","fw-normal","modal-title"],["type","button","id","closeCreateTaskGroupModalBtn1","data-dismiss","modal","aria-label","Close",1,"close",3,"click"],["aria-hidden","true","jhiTranslate","tasks.detail.close"],["name","taskForm","novalidate","",3,"formGroup"],[1,"modal-body","p-4"],[1,"row"],[1,"col-lg-12"],[1,"form-group"],["translationText","tasks.detail.taskName","classLabel","form-control-label","for","field_title",3,"isRequired"],["id","tasks","name","tasks","bindLabel","name","bindValue","id","clearAllText","Clear","formControlName","taskId",1,"border-radius",3,"items","clearable","searchFn","placeholder"],["ng-label-tmp",""],["ng-option-tmp",""],[1,"modal-footer"],["type","button","id","closeCreateTaskModalBtn2","data-dismiss","modal","jhiTranslate","slpnowApp.skill.create.btnCancel",1,"btn","btn-secondary",3,"click"],["type","button","id","saveAndBack","jhiTranslate","entity.action.saveAndBack",1,"btn","btn-primary",3,"click","disabled"]],template:function(s,i){1&s&&(t.j41(0,"div",0),t.EFF(1,"\n "),t.EFF(2,"\n "),t.j41(3,"div",1),t.EFF(4,"\n "),t.j41(5,"p",2),t.EFF(6,"Add task"),t.k0s(),t.EFF(7,"\n "),t.j41(8,"button",3),t.bIt("click",function(){return i.activeModal.close("close")}),t.EFF(9,"\n "),t.j41(10,"span",4),t.EFF(11,"\xd7"),t.k0s(),t.EFF(12,"\n "),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n "),t.j41(15,"form",5),t.EFF(16,"\n "),t.EFF(17,"\n "),t.j41(18,"div",6),t.EFF(19,"\n "),t.j41(20,"div",7),t.EFF(21,"\n "),t.j41(22,"div",8),t.EFF(23,"\n "),t.j41(24,"div",9),t.EFF(25,"\n "),t.j41(26,"jhi-custom-label",10),t.EFF(27,"\n Task Name\n "),t.k0s(),t.EFF(28,"\n "),t.j41(29,"ng-select",11),t.nI1(30,"translate"),t.EFF(31,"\n "),t.DNE(32,ct,4,1,"ng-template",12),t.EFF(33,"\n "),t.DNE(34,rt,4,1,"ng-template",13),t.EFF(35,"\n "),t.k0s(),t.EFF(36,"\n "),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n "),t.EFF(41,"\n "),t.j41(42,"div",14),t.EFF(43,"\n "),t.j41(44,"button",15),t.bIt("click",function(){return i.activeModal.close("Close click")}),t.EFF(45,"\n Cancel\n "),t.k0s(),t.EFF(46,"\n "),t.j41(47,"button",16),t.bIt("click",function(){return i.submit()}),t.EFF(48,"\n Save and back\n "),t.k0s(),t.EFF(49,"\n "),t.k0s(),t.EFF(50,"\n "),t.k0s(),t.EFF(51,"\n"),t.k0s(),t.EFF(52,"\n")),2&s&&(t.R7$(15),t.Y8G("formGroup",i.taskForm),t.R7$(11),t.Y8G("isRequired",!0),t.R7$(3),t.Y8G("placeholder",t.mNQ(t.bMT(30,8,"tasksGroup.detail.selectTask")))("items",i.tasks)("clearable",!1)("searchFn",i.customSearchFn),t.R7$(18),t.Y8G("disabled",!i.canSave()))},dependencies:[R.M,_.YN,_.qT,_.BC,_.cb,_.X1,_.j4,_.JD,lt.$,v.vr,v.ZZ,v.Uq,O.h,O.D9],encapsulation:2}))}return n(),o})();var Ft=l(68836),pt=l(53304),mt=l(88579),_t=l(96169),ut=l(64573);const kt=n=>({"selected-row":n});function ht(n,o){1&n&&(t.EFF(0,"\n "),t.j41(1,"div",6),t.EFF(2,"\n "),t.j41(3,"span",7),t.EFF(4,"No tasks foun
1d"),t.k0s(),t.EFF(5,"\n "),t.k0s(),t.EFF(6,"\n "))}function Tt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.BI_ARROW_DOWN_UP)}}function Et(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_UP)}}function ft(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_DOWN)}}function bt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.BI_ARROW_DOWN_UP)}}function gt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_UP)}}function Ct(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_DOWN)}}function jt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.BI_ARROW_DOWN_UP)}}function vt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_UP)}}function yt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_DOWN)}}function St(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.BI_ARROW_DOWN_UP)}}function Ot(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_UP)}}function Nt(n,o){if(1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-icons-custom",24),t.EFF(2,"\n ")),2&n){const e=t.XpG(3);t.R7$(),t.Y8G("iconName",e.HtmlIcons.SORT_AMOUNT_DOWN)}}function Rt(n,o){if(1&n){const e=t.RV6();t.EFF(0,"\n "),t.j41(1,"tr",25),t.EFF(2,"\n "),t.j41(3,"td",26),t.EFF(4,"\n "),t.j41(5,"button",27),t.bIt("mousedown",function(){const s=r.eBV(e).$implicit,i=t.XpG(3);return r.Njj(i.selectRow(s))})("click",function(s){return r.eBV(e),r.Njj(s.stopPropagation())}),t.EFF(6,"\n \u2261\n "),t.k0s(),t.EFF(7,"\n "),t.k0s(),t.EFF(8,"\n "),t.j41(9,"td"),t.EFF(10),t.k0s(),t.EFF(11,"\n "),t.j41(12,"td",28),t.EFF(13),t.k0s(),t.EFF(14,"\n "),t.j41(15,"td",29),t.EFF(16),t.k0s(),t.EFF(17,"\n "),t.j41(18,"td",30),t.EFF(19),t.k0s(),t.EFF(20,"\n "),t.j41(21,"td",31),t.EFF(22,"\n "),t.j41(23,"span",32),t.EFF(24),t.k0s(),t.EFF(25),t.k0s(),t.EFF(26,"\n "),t.j41(27,"td",33),t.EFF(28,"\n "),t.j41(29,"div",34),t.EFF(30,"\n "),t.j41(31,"button",35),t.bIt("click",function(){const s=r.eBV(e).$implicit,i=t.XpG(3);return r.Njj(i.deleteTask(s))}),t.EFF(32,"\n "),t.nrm(33,"fa-icon",36),t.EFF(34,"\n "),t.j41(35,"span",37),t.EFF(36,"Delete"),t.k0s(),t.EFF(37,"\n "),t.k0s(),t.EFF(38,"\n "),t.k0s(),t.EFF(39,"\n "),t.k0s(),t.EFF(40,"\n "),t.k0s(),t.EFF(41,"\n ")}if(2&n){const e=o.$implicit,a=o.$index,s=t.XpG(3);t.R7$(),t.Y8G("ngClass",t.eq3(7,kt,s.selectedRowId===e.id)),t.R7$(9),t.SpI("\n ",s.getOrderValue(e,a),"\n "),t.R7$(3),t.SpI("\n ",null==e?null:e.name,"\n "),t.R7$(3),t.JRh(null==e?null:e.description),t.R7$(3),t.JRh(s.getTaskType(e.type)),t.R7$(5),t.JRh(s.getAttachmentType(e)),t.R7$(),t.SpI("",e.attachmentName,"\n ")}}function Lt(n,o){if(1&n){const e=t.RV6();t.EFF(0,"\n "),t.j41(1,"div",8),t.EFF(2,"\n "),t.j41(3,"table",9),t.EFF(4,"\n "),t.j41(5,"thead"),t.EFF(6,"\n "),t.j41(7,"tr",10),t.mxI("predicateChange",function(s){r.eBV(e);const i=t.XpG(2);return t.DH7(i.attributeOfList.predicate,s)||(i.attributeOfList.predicate=s),r.Njj(s)})("ascendingChange",function(s){r.eBV(e);const i=t.XpG(2);return t.DH7(i.attributeOfList.ascending,s)||(i.attributeOfList.ascending=s),r.Njj(s)}),t.EFF(8,"\n "),t.nrm(9,"th",11),t.EFF(10,"\n "),t.j41(11,"th",11),t.EFF(12,"\n "),t.j41(13,"span",12),t.EFF(14,"#"),t.k0s(),t.EFF(15,"\n "),t.k0s(),t.EFF(16,"\n "),t.j41(17,"th",13),t.EFF(18,"\n "),t.nrm(19,"span",14),t.EFF(20,"\n "),t.nVh(21,Tt,3,1),t.nVh(22,Et,3,1),t.nVh(23,ft,3,1),t.k0s(),t.EFF(24,"\n "),t.j41(25,"th",15),t.EFF(26,"\n "),t.j41(27,"span",16),t.EFF(28,"description"),t.k0s(),t.EFF(29,"\n "),t.nVh(30,bt,3,1),t.nVh(31,gt,3,1),t.nVh(32,Ct,3,1),t.k0s(),t.EFF(33,"\n "),t.j41(34,"th",17),t.EFF(35,"\n "),t.j41(36,"span",18),t.EFF(37,"type"),t.k0s(),t.EFF(38,"\n "),t.nVh(39,jt,3,1),t.nVh(40,vt,3,1),t.nVh(41,yt,3,1),t.k0s(),t.EFF(42,"\n "),t.j41(43,"th",19),t.EFF(44,"\n "),t.j41(45,"span",20),t.EFF(46,"formName"),t.k0s(),t.EFF(47,"\n "),t.nVh(48,St,3,1),t.nVh(49,Ot,3,1),t.nVh(50,Nt,3,1),t.k0s(),t.EFF(51,"\n "),t.j41(52,"th",21),t.EFF(53,"\n "),t.j41(54,"span",22),t.EFF(55,"Actions"),t.k0s(),t.EFF(56,"\n "),t.k0s(),t.EFF(57,"\n "),t.k0s(),t.EFF(58,"\n "),t.k0s(),t.EFF(59,"\n "),t.j41(60,"tbody",23),t.bIt("cdkDropListDropped",function(s){r.eBV(e);const i=t.XpG(2);
1return r.Njj(i.drop(s))}),t.EFF(61,"\n "),t.Z7z(62,Rt,42,9,null,null,t.fX1),t.k0s(),t.EFF(64,"\n "),t.k0s(),t.EFF(65,"\n "),t.k0s(),t.EFF(66,"\n ")}if(2&n){const e=t.XpG(2);t.R7$(7),t.R50("predicate",e.attributeOfList.predicate)("ascending",e.attributeOfList.ascending),t.Y8G("callback",e.sortTable.bind(e)),t.R7$(14),t.vxM("name"!=e.attributeOfList.predicate?21:-1),t.R7$(),t.vxM("name"==e.attributeOfList.predicate&&e.attributeOfList.ascending?22:-1),t.R7$(),t.vxM("name"!=e.attributeOfList.predicate||e.attributeOfList.ascending?-1:23),t.R7$(7),t.vxM("description"!=e.attributeOfList.predicate?30:-1),t.R7$(),t.vxM("description"==e.attributeOfList.predicate&&e.attributeOfList.ascending?31:-1),t.R7$(),t.vxM("description"!=e.attributeOfList.predicate||e.attributeOfList.ascending?-1:32),t.R7$(7),t.vxM("type"!=e.attributeOfList.predicate?39:-1),t.R7$(),t.vxM("type"==e.attributeOfList.predicate&&e.attributeOfList.ascending?40:-1),t.R7$(),t.vxM("type"!=e.attributeOfList.predicate||e.attributeOfList.ascending?-1:41),t.R7$(7),t.vxM("attachmentName"!=e.attributeOfList.predicate?48:-1),t.R7$(),t.vxM("attachmentName"==e.attributeOfList.predicate&&e.attributeOfList.ascending?49:-1),t.R7$(),t.vxM("attachmentName"!=e.attributeOfList.predicate||e.attributeOfList.ascending?-1:50),t.R7$(10),t.Y8G("cdkDropListData",e.selectedTasks),t.R7$(2),t.Dyx(e.selectedTasks)}}function xt(n,o){if(1&n){const e=t.RV6();t.EFF(0,"\n "),t.j41(1,"div",0),t.EFF(2,"\n "),t.j41(3,"div",1),t.EFF(4,"\n "),t.j41(5,"div",2),t.EFF(6,"\n "),t.j41(7,"button",3),t.bIt("click",function(){r.eBV(e);const s=t.XpG();return r.Njj(s.addTask())}),t.EFF(8,"\n "),t.nrm(9,"fa-icon",4),t.EFF(10,"\n "),t.j41(11,"span",5),t.EFF(12," Add Task"),t.k0s(),t.EFF(13,"\n "),t.k0s(),t.EFF(14,"\n "),t.k0s(),t.EFF(15,"\n "),t.k0s(),t.EFF(16,"\n "),t.nVh(17,ht,7,0),t.nVh(18,Lt,67,16),t.k0s(),t.EFF(19,"\n ")}if(2&n){const e=t.XpG();t.R7$(17),t.vxM(0===e.selectedTasks.length?17:-1),t.R7$(),t.vxM(e.selectedTasks&&e.selectedTasks.length>0?18:-1)}}function wt(n,o){1&n&&(t.EFF(0,"\n "),t.nrm(1,"jhi-loading"),t.EFF(2,"\n "))}let It=(()=>{var n;class o{constructor(a,s,i,c){this.taskGroupService=a,this.taskService=s,this.modalService=i,this.accountService=c,this.useTable=!1,this.tasksSelected=new t.bkB,this.attributeOfList=new E.n(0,1),this.allTasks=[],this.isLoading=!1,this.isVisible=!0,this.selectedTasks=[],this.taskOrderById={},this.selectedRowId=null,this.getTaskType=u=>C.ci.find(y=>y.value===u).label,this.getValidTasks=u=>this.allTasks.filter(y=>!u&&!y.isSelectedByGroup||u&&y.isSelectedByGroup),this.getTaskGroupTask=()=>this.selectedTasks.map((u,y)=>new p(u,this.taskGroup.id,y+1))}onResize(a){this.chargeScreenWidth(a.target.innerWidth)}ngOnInit(){this.loadTasks(),this.chargeScreenWidth(window.innerWidth)}loadTasks(){const a=new f.$;a.hasPagination=!1,a.status=T.S.ACTIVE,a.userId=this.accountService.getAccountId(),this.taskService.searchByFilters(a).subscribe(s=>{this.allTasks=s.body??[],this.loadPage()})}addTask(){this.useTable?this.showTaskSelectionListModal():this.showTaskSelectionDropdownModal()}showTaskSelectionDropdownModal(){const a=this.modalService.open(dt,h.iw);a.componentInstance.tasks=this.getValidTasks(!1).filter(s=>s.status===T.S.ACTIVE),a.closed.subscribe(s=>{if(!(0,m.isEqual)(s,"close")&&"number"==typeof s){const i=this.allTasks.find(c=>c.id===s);i&&this.updateSelectedTasks(i,!0)}})}showTaskSelectionListModal(){const a=this.modalService.open(ot,h.O$);a.componentInstance.tasks=this.getValidTasks(!1).filter(s=>s.status===T.S.ACTIVE),a.componentInstance.taskGroupName=this.taskGroup.name,a.closed.subscribe(s=>{s&&s.length>0&&this.allTasks.filter(c=>s.includes(c.id)).forEach(c=>this.updateSelectedTasks(c,!0))})}openInformationModal(a){if(!this.isVisible){const s=this.modalService.open(d.N,h.nQ);s.componentInstance.task=a,s.componentInstance.onlyInfo=!0}}loadPage(){this.taskGroup.id&&(this.isLoading=!0,this.taskGroupService.getTaskGroupTasksByGroupId(this.taskGroup.id).subscribe({next:a=>this.onSuccess(a.body),error:()=>this.isLoading=!1}))}sortTable(){this.selectedTasks=(0,m.orderBy)(this.selectedTasks,this.attributeOfList.predicate??"id",this.attributeOfList.ascending?"asc":"desc")}onSuccess(a){this.isLoading=!1,a&&(this.allTasks.forEach(s=>{const i=a.some(c=>c.workloadTaskId===s.id);s.isSelectedByGroup=i}),a.forEach((s,i)=>{s.workloadTaskId&&(this.taskOrderById[s.workloadTaskId]=s.order&&s.order>0?s.order:i+1)})),this.selectedTasks=this.getValidTasks(!0),this.sortSelectedTasksByOrder(),this.syncOrderFromList()}deleteTask(a){this.updateSelectedTasks(a,!1)}selectRow(a){this.selectedRowId=a.id??null}drop(a){(0,F.HD)(this.selectedTasks,a.previousIndex,a.currentIndex),this.syncOrderFromList(),this.tasksSelected.emit(this.getTaskGroupTask())}getOrderValue(a,s){if(!a.id)return s+1;const i=this.taskOrderById[a.id];return i&&i>0?i:s+1}getAttachmentType(a){return(0,m.isNil)(a.workloadFormId)?(0,m.isNil)(a.assessmentId)?(0,m.isNil)(a.materialId)?"":"Material: ":"Assesment: ":"Form: "}updateSelectedTasks(a,s){a.isSelectedByGroup=s,!s&&a.id&&delete this.taskOrderById[a.id],this.selectedTasks=this.getValidTasks(!0),this.sortSelectedTasksByOrder(),this.syncOrderFromList(),this.tasksSelected.emit(this.getTaskGroupTask())}syncOrderFromList(){this.selectedTasks.forEach((a,s)=>{a.id&&(this.taskOrderById[a.id]=s+1)})}sortSelectedTasksByOrder(){this.selectedTasks=[...this.selectedTasks].sort((a,s)=>{const i=a.id?this.taskOrderById[a.id]:void 0,c=s.id?this.taskOrderById[s.id]:void 0;return i&&c?i-c:i?-1:c?1:(a.id??0)-(s.id??0)})}chargeScreenWidth(a){this.isVisible=a>g.bn}get HtmlIcons(){return k.s}static#t=n=()=>(this.\u0275fac=function(s){return new(s||o)(t.rXU(mt.j),t.rXU(_t.y),t.rXU(x.Bq),t.rXU(ut.D))},this.\u0275cmp=t.VBU({type:o,selectors:[["jhi-selected-task-list"]],hostBindings:function(s,i){1&s&&t.bIt("resize",function(u){return i.onResize(u)},t.tSv)},inputs:{taskGroup:"taskGroup",useTable:"useTable"},outputs:{tasksSelected:"tasksSelected"},decls:8,vars:1,consts:[[1,"container-fluid","px-0"],[1,"form-inline","my-2","form-container"],[1,"d-flex","justify-content-end","col-12","p-0","create-task-div"],["id","jh-create-entity","data-cy","entityCreateButton",1,"btn","btn-primary","jh-create-entity",3,"click"],["icon","plus"],["jhiTranslate","tasks.home.createLabel"],["id","no-result",1,"alert","alert-warning"],["jhiTranslate","tasks.home.notFound"],["id","entities",1,"table-responsive"],["aria-describedby","page-heading",1,"table","table-borderless","table-striped","border"],["jhiSort","",3,"predicateChange","ascendingChange","predicate","ascending","callback"],["scope","col"],["jhiTranslate","tasks.table.order"],["scope","col","jhiSortBy","name"],["jhiTranslate","tasks.table.name"],["scope","col","jhiSortBy","description",1,"col_2"],["jhiTranslate","tasks.table.description"],["scope","col","jhiSortBy","type",1,"col_3"],["jhiTranslate","tasks.table.type"],["scope","col","jhiSortBy","attachmentName",1,"col_4"],["jhiTranslate","tasks.table.attachmentName"],["scope","col",1,"w-one-action"],["jhiTranslate","tasks.table.actions"],["cdkDropList","","cdkDropListOrientation","vertical",3,"cdkDropListDropped","cdkDropListData"],[1,"text-primary",3,"iconName"],["cdkDrag","","data-cy","entityTable",3,"ngClass"],[1,"justify-content-center"],["type","button","cdkDragHandle","",1,"btn","btn-link","fs-2","px-0","align-middle",3,"mousedown","click"],[1,"max-w-200","wrap"],[1,"max-w-200","wrap","col_2"],[1,"max-w-200","col_3"],[1,"max-w-200","wrap","col_4"],[1,"fw-normal"],[1,"text-end"],[1,"btn-group"],["type","submit","id","jhi-confirm-delete-absence-reason",1,"btn","btn-danger","btn-sm",3,"click"],["icon","trash-alt"],["jhiTranslate","entity.action.delete",1,"d-none","d-md-inline"]],template:function(s,i){1&s&&(t.j41(0,"div"),t.EFF(1,"\n "),t.j41(2,"main"),t.EFF(3,"\n "),t.nVh(4,xt,20,2)(5,wt,3,0),t.k0s(),t.EFF(6,"\n"),t.k0s(),t.EFF(7,"\n")),2&s&&(t.R7$(4),t.vxM(i.isLoading?5:4))},dependencies:[Ft.aY,R.M,w._,I.b,M.n,F.O7,F.T1,L.YU,F.Fb,pt.q],styles:[".input-group[_ngcontent-%COMP%]{width:auto}.form-control[_ngcontent-%COMP%]{min-width:16rem!important;width:20vw}.table-responsive[_ngcontent-%COMP%]{min-width:22rem!important}.wrap[_ngcontent-%COMP%]{word-wrap:break-word;white-space:normal;overflow-wrap:break-word}.selected-row[_ngcontent-%COMP%]{background-color:#cceff1}@media(max-width:860px){.col_4[_ngcontent-%COMP%]{visibility:hidden!important;display:none!important}}@media(max-width:649px){.col_3[_ngcontent-%COMP%]{visibility:hidden!important;display:none!important}}@media(max-width:527px){.col_2[_ngcontent-%COMP%]{visibility:hidden!important;display:none!important}}"]}))}return n(),o})()},88579(S,b,l){l.d(b,{j:()=>T});var F=l(66404),t=l(85240),k=l(63855),h=l(89601);let T=(()=>{var E;class f{constructor(p,m){this.http=p,this.applicationConfigService=m,this.resourceUrl=this.applicationConfigService.getEndpointFor("api/workload-task-group")}create(p){return this.http.post(this.resourceUrl,p,{observe:"response"})}update(p){return this.http.put(`${this.resourceUrl}/${p.id}`,p,{observe:"response"})}searchByFilters(p,m){const d=(0,F.$)(m);return this.http.post(`${this.resourceUrl}/_search/by-filter`,p,{params:d,observe:"response"})}getTaskGroupTasksByGroupId(p){return this.http.get(`${this.resourceUrl}/task-group-tasks/${p}`,{observe:"response"})}getTaskGroupByGroupId(p){return this.http.get(`${this.resourceUrl}/${p}`,{observe:"response"})}updateStatus(p){return this.http.patch(`${this.resourceUrl}/update-status/${p.id.toString()}`,p.status,{observe:"response"})}static#t=E=()=>
1(this.\u0275fac=function(m){return new(m||f)(t.KVO(k.Qq),t.KVO(h.a))},this.\u0275prov=t.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return E(),f})()},69675(S,b,l){l.d(b,{V:()=>p});var F=l(34456),t=l(36859),k=l(5592),h=l(19957),T=l(68162),E=l(46227),C=l(17398);class p{constructor(d){this.fb=d}initializeForm(){return this.fb.group({id:[null],name:[null,[F.k0.required,(0,h.oM)(),F.k0.minLength(t.t8.MIN_LENGTH_1),F.k0.maxLength(t.t8.MAX_LENGTH_255)]],description:[null,[F.k0.required,(0,h.oM)(),F.k0.minLength(t.t8.MIN_LENGTH_1),F.k0.maxLength(t.t8.MAX_LENGTH_255)]],status:[k.S.ACTIVE,[F.k0.required]],workloadType:[null,[F.k0.required]]})}createFromForm(d,g){return{...new T.q,id:d.get(["id"]).value??null,name:d.get(["name"]).value,description:d.get(["description"]).value,status:d.get(["status"]).value,workloadType:d.get(["workloadType"]).value,type:C.g.SYSTEM,workloadTaskGroupTasks:g.workloadTaskGroupTasks}}loadFormAttributes(d,g){return(0,E.isNil)(d)?d=new T.q:(0,E.isNil)(d.id)||g.patchValue({id:d.id,name:d.name,description:d.description,status:d.status,workloadType:d.workloadType,type:d.type}),d}removeRequiredValidator(d,g){g.get([d])?.setValidators([(0,h.oM)(),F.k0.minLength(t.t8.MIN_LENGTH_1),F.k0.maxLength(t.t8.MAX_LENGTH_255)]),g.get([d])?.updateValueAndValidity()}}},17398(S,b,l){l.d(b,{g:()=>F,n:()=>t});var F=function(k){return k.SYSTEM="SYSTEM",k.CUSTOM="CUSTOM",k}(F||{});const t=[{value:F.SYSTEM,label:"System"},{value:F.CUSTOM,label:"Custom"}]},68162(S,b,l){l.d(b,{q:()=>F});class F{constructor(k,h,T,E,f,C,p,m){this.id=k,this.name=h,this.description=T,this.status=E,this.workloadTaskGroupTasks=f,this.taskCount=C,this.type=p,this.workloadType=m}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.