1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[3131],{63131:(P,i,_)=>{_.r(i),_.d(i,{ClaimedTaskActionsApproveComponent:()=>l});var r=_(74523),s=_(31635),I=_(60177),t=_(54438),d=_(7901),m=_(58003),c=_(68018),M=_(7673),A=_(3601),p=_(40645),T=_(80189),R=_(79104),D=_(9847),C=_(71622),b=_(33735),W=_(49839),K=_(36372);function f(a,n){1&a&&(t.j41(0,"span"),t.nrm(1,"i",1),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&a&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"submission.workflow.tasks.generic.processing"),""))}function h(a,n){1&a&&(t.j41(0,"span"),t.nrm(1,"i",2),t.EFF(2),t.nI1(3,"translate"),t.k0s()),2&a&&(t.R7$(2),t.SpI(" ",t.bMT(3,1,"submission.workflow.tasks.claimed.approve"),""))}let l=class E extends b.r{constructor(n,e,o,O,u,v,L){super(n,e,o,O,u,v),this.injector=n,this.router=e,this.notificationsService=o,this.translate=O,this.searchService=u,this.requestService=v,this.workflowItemDataService=L}reloadObjectExecution(){return(0,M.of)(this.object)}convertReloadedObject(n){return(0,r.A)(function*(){return Object.assign(new C.t,n,{indexableObject:n})})()}handleReloadableActionResponse(n,e){super.handleReloadableActionResponse(n,e),this.workflowItemDataService.invalidateByHref(this.object?._links.workflowitem?.href)}static{this.\u0275fac=function(e){return new(e||E)(t.rXU(t.zZn),t.rXU(d.Ix),t.rXU(D.I),t.rXU(c.c$),t.rXU(p.S),t.rXU(A.B),t.rXU(T.WorkflowItemDataService))}}static{this.\u0275cmp=t.VBU({type:E,selectors:[["ds-claimed-task-actions-approve"]],standalone:!0,features:[t.Vt3,t.aNF],decls:7,vars:13,consts:[["type","button",3,"click","className","ngbTooltip","dsBtnDisabled"],[1,"fas","fa-circle-notch","fa-spin"],[1,"fa","fa-thumbs-up"]],template:function(e,o){1&e&&(t.j41(0,"button",0),t.nI1(1,"translate"),t.nI1(2,"async"),t.bIt("click",function(){return o.submitTask()}),t.DNE(3,f,4,3,"span"),t.nI1(4,"async"),t.DNE(5,h,4,3,"span"),t.nI1(6,"async"),t.k0s()),2&e&&(t.FS9("ngbTooltip",t.bMT(1,5,"submission.workflow.tasks.claimed.approve_help")),t.Y8G("className","btn btn-success")("dsBtnDisabled",t.bMT(2,7,o.processing$)),t.R7$(3),t.vxM(t.bMT(4,9,o.processing$)?3:-1),t.R7$(2),t.vxM(!0!==t.bMT(6,11,o.processing$)?5:-1))},dependencies:[I.Jj,R.A,m.n8,m.md,c.h,c.D9]})}};l=(0,s.Cg)([(0,K.FD)(W.H.WORKFLOW_TASK_OPTION_APPROVE),(0,s.Sn)("design:paramtypes",[t.zZn,d.Ix,D.I,c.c$,p.S,A.B,T.WorkflowItemDataService])],l)},49839:(P,i,_)=>{_.d(i,{H:()=>r});var r=function(s){return s.WORKFLOW_TASK_OPTION_APPROVE="submit_approve",s.WORKFLOW_TASK_OPTION_DECLINE_TASK="submit_decline_task",s.WORKFLOW_TASK_OPTION_EDIT_METADATA="submit_edit_metadata",s.ADVANCED_WORKFLOW_TASK_OPTION_RATING="submit_score",s.WORKFLOW_TASK_OPTION_REJECT="submit_reject",s.WORKFLOW_TASK_OPTION_RETURN_TO_POOL="return_to_pool",s.ADVANCED_WORKFLOW_TASK_OPTION_SELECT_REVIEWER="submit_select_reviewer",s}(r||{})}}]);
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.