PageSourceSearch

https://mobile.my-care-plan.com/chunk-UDRIX7HD.js

js my-care-plan.com collected 2026-09-24 13:07:40 UTC 2,608 bytes, 1 lines download raw bytes

1import{H as b,z as x}from"./chunk-DGAGBLQ5.js";import"./chunk-ZAI73KCM.js";import"./chunk-4LMFJ3RQ.js";import{d as _,e as y,o as A}from"./chunk-JBQ3SQYQ.js";import"./chunk-RXSTUEU6.js";import"./chunk-IELZJEER.js";import{Sb as w,Yc as C,f,ga as I,n as D}from"./chunk-G7JQUX5M.js";import{Fc as g,Kc as F,Mc as l,Pa as v,Qa as d,Rb as o,Xb as h,a as m,b as p,bc as k,vc as u,wc as T,xc as S}from"./chunk-GRSQHQHU.js";function R(n,i){if(n&1){let c=g();T(0,"app-document-sign",1),F("signDocument",function(e){v(c);let t=l();return d(t.onSignDocument(e))}),S()}if(n&2){let c=l();u("title",c.documentName||(c.activeTask.todo==null?null:c.activeTask.todo.category.title))}}var Q=(()=>{let i=class i{constructor(s,e,t,r,a,j){this.translateService=s,this.formDocumentApiService=e,this.redirectTaskService=t,this.checkInFlowService=r,this.onFlyTasksFlowService=a,this.activatedRoute=j,this.documentName=this.activatedRoute.snapshot.queryParams?.documentName}ngOnInit(){this.activeTask=this.getActiveTask()}onSignDocument({signature:s,representative:e}){let t=this.activeTask.actions[0].value[0],r=m({sign:s},e?{representative:e}:null);this.translateService.getCurrentLanguageProperties().subscribe(a=>{a&&(r.languageId=a.id),this.activeTask.isDone?this.formDocumentApiService.signFormDocument(this.activeTask.clinicUuid,t,r).subscribe(()=>this.onSignFormDocumentSuccess()):this.activeTask.newTaskListFormat&&this.formDocumentApiService.signFormDocumentAndCompleteTask(this.activeTask.clinicUuid,t,p(m({},r),{appointmentId:this.activeTask.source.appointment.id,settingId:this.activeTask.id})).subscribe(()=>this.onSignAndCompleteFormDocumentSuccess())})}getActiveTask(){return this.redirectTaskService.getActiveTask()}onSignFormDocumentSuccess(){this.checkInFlowService.isCheckInAppFlow()?this.checkInFlowService.moveForwardFromCompletedTask(this.activeTask):this.redirectTaskService.gotoSuccessPage()}onSignAndCompleteFormDocumentSuccess(){this.onFlyTasksFlowService.isOnFlyTasksFlow()?(this.onFlyTasksFlowService.completeCurrentTask(),this.onFlyTasksFlowService.goToFirstIncompleteTask(this.activeTask.clinicUuid,this.activeTask.todo.userId)):this.checkInFlowService.moveForwardFromCompletedTask(this.activeTask)}};i.\u0275fac=function(e){return new(e||i)(o(w),o(C),o(_),o(y),o(A),o(I))},i.\u0275cmp=h({type:i,selectors:[["ng-component"]],decls:1,vars:1,consts:[[3,"title","signDocument",4,"ngIf"],[3,"signDocument","title"]],template:function(e,t){e&1&&k(0,R,1,1,"app-document-sign",0),e&2&&u("ngIf",t.activeTask)},dependencies:[D,f,b,x],encapsulation:2});let n=i;return n})();export{Q as FormDocumentSignComponent};

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.