PageSourceSearch

https://portal.privacypillar.com/src_app__services_workflow_servic…s_dirty-check_guards_ts.8da1e1d312af82d4.js

js privacypillar.com collected 2026-09-24 09:08:32 UTC 3,358 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app__services_workflow_service_ts-src_app_guards_dirty-check_guards_ts","src_app_guards_dirty-check_guards_ts"],{67075:(k,w,a)=>{a.d(w,{z:()=>K});var l=a(92340),v=a(591),_=a(61737),p=a(80096),h=a(27221),d=a(24850),e=a(28597),u=a(85740),E=a(94650),W=a(80529),I=a(46262);let K=(()=>{const O=class{constructor(o,s){this.httpClient=o,this.lokiService=s,this.workflowSource=new v.X(""),this.selectedWorkflow=this.workflowSource.asObservable()}getWorkflow(o,s,i,n,t){const g=void 0!==n?n:"",f=u.R.WORKFLOW+"/"+i;return""===n?this.httpClient.get(l.N.apiUrl+f).pipe((0,p.d)(1),(0,h.K)(c=>(this.onSendLogs(e.o.INFO,c,e.X.getWorkflow,o,s,f),(0,_._)(c)))):void 0!==t?this.httpClient.get(l.N.apiUrl+f+g+t).pipe((0,p.d)(1)):this.httpClient.get(l.N.apiUrl+f+g).pipe((0,p.d)(1))}getWorkflowByStatus(o,s,i){const n=u.R.WORKFLOW_STATUS;return this.workflowlist$||(this.workflowlist$=this.httpClient.get(l.N.apiUrl+n+o).pipe((0,p.d)(1),(0,h.K)(t=>(this.onSendLogs(e.o.INFO,t,e.X.getWorkflowByStatus,s,i,n),(0,_._)(t))))),this.workflowlist$}getWorkflowById(o,s,i,n,t){const r="response",g=void 0!==t?t:"",f=u.R.WORKFLOW_ORGID_WORKFLOW_ID.replace(":orgid",i);return""===g?this.httpClient.get(l.N.apiUrl+f+n).pipe((0,d.U)(c=>c[r]),(0,p.d)(1),(0,h.K)(c=>(this.onSendLogs(e.o.INFO,c,e.X.getWorkflowById,o,s,f),(0,_._)(c)))):this.httpClient.get(l.N.apiUrl+f+n+g).pipe((0,d.U)(c=>c[r]),(0,p.d)(1),(0,h.K)(c=>(this.onSendLogs(e.o.INFO,c,e.X.getWorkflowById,o,s,f),(0,_._)(c))))}createWorkflow(o,s,i){const n=u.R.WORKFLOW;return this.httpClient.post(l.N.apiUrl+n,i).pipe((0,h.K)(t=>(this.onSendLogs(e.o.INFO,t,e.X.createWorkflow,o,s,n),(0,_._)(t))))}updateWorkflow(o,s,i,n){const t=u.R.WORKFLOW_ID;return this.httpClient.put(l.N.apiUrl+t+i,n).pipe((0,h.K)(r=>(this.onSendLogs(e.o.INFO,r,e.X.updateWorkflow,o,s,t),(0,_._)(r))))}activateWorkflow(o,s,i,n){const t=u.R.ACTIVATE_WORKFLOW+i;return this.httpClient.put(l.N.apiUrl+t,n).pipe((0,h.K)(r=>(this.onSendLogs(e.o.INFO,r,e.X.activateWorkflow,o,s,t),(0,_._)(r))))}updateWorkflowName(o,s,i,n){const t=u.R.UPDATE_WORKFLOW_NAME+i;return this.httpClient.put(l.N.apiUrl+t,n).pipe((0,h.K)(r=>(this.onSendLogs(e.o.INFO,r,e.X.activateWorkflow,o,s,t),(0,_._)(r))))}changeCurrentSelectedWorkflow(o){this.workflowSource.next(o)}getActiveWorkflowList(o,s,i,n){const t="/workflow/"+i+"?workflow_status=active"+n;return this.httpClient.get(l.N.apiUrl+t).pipe((0,h.K)(r=>(this.onSendLogs(e.o.INFO,r,e.X.createWorkflow,o,s,t),(0,_._)(r))))}deleteWorkflowStage(o,s,i,n){const t="/workflow/stage/"+i+"/"+n;return this.httpClient.delete(l.N.apiUrl+t).pipe((0,h.K)(r=>(this.onSendLogs(e.o.INFO,r,e.X.createWorkflow,o,s,t),(0,_._)(r))))}onSendLogs(o,s,i,n,t,r){this.lokiService.onSendErrorLogs(o,s,i,n,t,r).subscribe()}};let L=O;return O.\u0275fac=function(s){return new(s||O)(E.LFG(W.eN),E.LFG(I.L))},O.\u0275prov=E.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),L})()},19688:(k,w,a)=>{a.d(w,{c:()=>v});var l=a(94650);let v=(()=>{const p=class{canDeactivate(d,e,u,E){const W=d.canDeactivate(d,e,u,E);return!0!==W&&!1!==W?W:!0===W||confirm("You have unsaved changes. If you leave, your changes will be lost.")}};let _=p;
1return p.\u0275fac=function(e){return new(e||p)},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),_})()}}]);

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.