PageSourceSearch

https://portal.privacypillar.com/src_app_privacy_dsar_workflows_workflows_module_ts.1b98f9639132e76a.js

js privacypillar.com collected 2026-09-24 09:08:30 UTC 26,128 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_privacy_dsar_workflows_workflows_module_ts","src_app_guards_dirty-check_guards_ts","src_app__services_workflow_service_ts-src_app_guards_dirty-check_guards_ts"],{67075:(Z,I,n)=>{n.d(I,{z:()=>L});var c=n(92340),S=n(591),w=n(61737),g=n(80096),k=n(27221),x=n(24850),p=n(28597),v=n(85740),M=n(94650),P=n(80529),y=n(46262);let L=(()=>{const O=class{constructor(d,u){this.httpClient=d,this.lokiService=u,this.workflowSource=new S.X(""),this.selectedWorkflow=this.workflowSource.asObservable()}getWorkflow(d,u,m,f,l){const T=void 0!==f?f:"",C=v.R.WORKFLOW+"/"+m;return""===f?this.httpClient.get(c.N.apiUrl+C).pipe((0,g.d)(1),(0,k.K)(_=>(this.onSendLogs(p.o.INFO,_,p.X.getWorkflow,d,u,C),(0,w._)(_)))):void 0!==l?this.httpClient.get(c.N.apiUrl+C+T+l).pipe((0,g.d)(1)):this.httpClient.get(c.N.apiUrl+C+T).pipe((0,g.d)(1))}getWorkflowByStatus(d,u,m){const f=v.R.WORKFLOW_STATUS;return this.workflowlist$||(this.workflowlist$=this.httpClient.get(c.N.apiUrl+f+d).pipe((0,g.d)(1),(0,k.K)(l=>(this.onSendLogs(p.o.INFO,l,p.X.getWorkflowByStatus,u,m,f),(0,w._)(l))))),this.workflowlist$}getWorkflowById(d,u,m,f,l){const h="response",T=void 0!==l?l:"",C=v.R.WORKFLOW_ORGID_WORKFLOW_ID.replace(":orgid",m);return""===T?this.httpClient.get(c.N.apiUrl+C+f).pipe((0,x.U)(_=>_[h]),(0,g.d)(1),(0,k.K)(_=>(this.onSendLogs(p.o.INFO,_,p.X.getWorkflowById,d,u,C),(0,w._)(_)))):this.httpClient.get(c.N.apiUrl+C+f+T).pipe((0,x.U)(_=>_[h]),(0,g.d)(1),(0,k.K)(_=>(this.onSendLogs(p.o.INFO,_,p.X.getWorkflowById,d,u,C),(0,w._)(_))))}createWorkflow(d,u,m){const f=v.R.WORKFLOW;return this.httpClient.post(c.N.apiUrl+f,m).pipe((0,k.K)(l=>(this.onSendLogs(p.o.INFO,l,p.X.createWorkflow,d,u,f),(0,w._)(l))))}updateWorkflow(d,u,m,f){const l=v.R.WORKFLOW_ID;return this.httpClient.put(c.N.apiUrl+l+m,f).pipe((0,k.K)(h=>(this.onSendLogs(p.o.INFO,h,p.X.updateWorkflow,d,u,l),(0,w._)(h))))}activateWorkflow(d,u,m,f){const l=v.R.ACTIVATE_WORKFLOW+m;return this.httpClient.put(c.N.apiUrl+l,f).pipe((0,k.K)(h=>(this.onSendLogs(p.o.INFO,h,p.X.activateWorkflow,d,u,l),(0,w._)(h))))}updateWorkflowName(d,u,m,f){const l=v.R.UPDATE_WORKFLOW_NAME+m;return this.httpClient.put(c.N.apiUrl+l,f).pipe((0,k.K)(h=>(this.onSendLogs(p.o.INFO,h,p.X.activateWorkflow,d,u,l),(0,w._)(h))))}changeCurrentSelectedWorkflow(d){this.workflowSource.next(d)}getActiveWorkflowList(d,u,m,f){const l="/workflow/"+m+"?workflow_status=active"+f;return this.httpClient.get(c.N.apiUrl+l).pipe((0,k.K)(h=>(this.onSendLogs(p.o.INFO,h,p.X.createWorkflow,d,u,l),(0,w._)(h))))}deleteWorkflowStage(d,u,m,f){const l="/workflow/stage/"+m+"/"+f;return this.httpClient.delete(c.N.apiUrl+l).pipe((0,k.K)(h=>(this.onSendLogs(p.o.INFO,h,p.X.createWorkflow,d,u,l),(0,w._)(h))))}onSendLogs(d,u,m,f,l,h){this.lokiService.onSendErrorLogs(d,u,m,f,l,h).subscribe()}};let t=O;return O.\u0275fac=function(u){return new(u||O)(M.LFG(P.eN),M.LFG(y.L))},O.\u0275prov=M.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),t})()},19688:(Z,I,n)=>{n.d(I,{c:()=>S});var c=n(94650);let S=(()=>{const g=class{canDeactivate(x,p,v,M){const P=x.canDeactivate(x,p,v,M);return!0!==P&&!1!==P?P:!0===P||confirm("You have unsaved changes. If you leave, your changes will be lost.")}};let w=g;return g.\u0275fac=function(p){return new(p||g)},g.\u0275prov=c.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),w})()},2964:(Z,I,n)=>{n.r(I),n.d(I,{WorkflowsModule:()=>kt});var c=n(24006),S=n(19119),w=n(51692),g=n(3940),k=n(8929),x=n(80013),p=n(75778),v=n(24850),M=n(72986);const P=i=>null==i.value?null:i.value.startsWith(" ")?{trimError:{value:"Control has leading whitespace"}}:i.value.endsWith(" ")?{trimError:{value:"Control has trailing whitespace"}}:null;var y=n(68078),L=n(92340),t=n(94650),O=n(67075),R=n(59922),d=n(43265),u=n(37407),m=n(64491),f=n(11481),l=n(36895),h=n(22096),T=n(32320),C=n(4358),_=n(12553),A=n(96923),K=n(42111),J=n(2854),B=n(48625);const z=["ptable"];function Y(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",27),t.NdJ("click",function(){t.CHM(o);const e=t.oxw(2);return t.KtG(e.clearSearchfield())}),t._UZ(1,"i",28),t.qZA()}}
1function q(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",16)(1,"div",17)(2,"input",18),t.NdJ("ngModelChange",function(e){t.CHM(o);const a=t.oxw();return t.KtG(a.inputValue=e)})("keyup.enter",function(){t.CHM(o);const e=t.oxw();return t.KtG(e.onSearchInputChange())}),t.qZA(),t.TgZ(3,"span",19),t.YNc(4,Y,2,0,"div",20),t.TgZ(5,"div",21),t.NdJ("click",function(){t.CHM(o);const e=t.oxw();return t.KtG(e.onSearchInputChange())}),t._UZ(6,"i",22),t.qZA()()(),t.TgZ(7,"div",23)(8,"button",24),t.NdJ("click",function(){t.CHM(o);const e=t.oxw(),a=t.MAs(18);return t.KtG(e.createWorkflowModalPopup(a,""))}),t._UZ(9,"i-feather",25),t.TgZ(10,"span",26),t._uU(11," Create"),t.qZA()()()()}if(2&i){const o=t.oxw();t.xp6(2),t.Q6J("ngModel",o.inputValue),t.xp6(2),t.Q6J("ngIf",""!==o.inputValue)}}function Q(i,s){1&i&&(t.TgZ(0,"tr")(1,"th",29),t._uU(2,"Workflow Name "),t._UZ(3,"p-sortIcon",30),t.qZA(),t.TgZ(4,"th"),t._uU(5,"Status "),t.qZA(),t.TgZ(6,"th"),t._uU(7,"Created by "),t.qZA(),t.TgZ(8,"th"),t._uU(9,"Last Updated by "),t.qZA(),t.TgZ(10,"th",31),t._uU(11,"Created at "),t._UZ(12,"p-sortIcon",32),t.qZA(),t.TgZ(13,"th",33),t._uU(14,"Updated at "),t._UZ(15,"p-sortIcon",34),t.qZA()())}const G=function(i,s){return{"badge-primary":i,"badge-light":s}};function V(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"tr")(1,"td")(2,"a",35),t.NdJ("click",function(){const a=t.CHM(o).$implicit,b=t.oxw();return t.KtG(b.navigateToWorkflow(a))}),t._uU(3),t.qZA()(),t.TgZ(4,"td")(5,"span",36),t._uU(6),t.qZA()(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td"),t._uU(12),t.ALo(13,"timeago"),t.qZA(),t.TgZ(14,"td"),t._uU(15),t.ALo(16,"timeago"),t.qZA()()}if(2&i){const o=s.$implicit;t.xp6(2),t.s9C("title",null==o?null:o.id),t.xp6(1),t.hij(" ",null==o?null:o.workflow_name," "),t.xp6(2),t.Q6J("ngClass",t.WLB(14,G,"active"===(null==o?null:o.workflow_status),"draft"===(null==o?null:o.workflow_status))),t.xp6(1),t.hij(" ",null==o?null:o.workflow_status,""),t.xp6(2),t.AsE("",null==o?null:o.createdby_firstname," ",null==o?null:o.createdby_lastname,""),t.xp6(2),t.AsE("",null==o?null:o.updatedby_firstname," ",null==o?null:o.updatedby_lastname,""),t.xp6(2),t.Oqu(t.lcZ(13,10,null==o?null:o.created_at)),t.xp6(3),t.Oqu(t.lcZ(16,12,null==o?null:o.updated_at))}}function j(i,s){if(1&i&&(t.TgZ(0,"tr")(1,"td"),t._uU(2," No records found "),t.qZA()()),2&i){const o=s.$implicit;t.xp6(1),t.uIk("colspan",o.length)}}function H(i,s){1&i&&(t.TgZ(0,"div"),t._uU(1,"Workflow name is required"),t.qZA())}function X(i,s){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&i){const o=t.oxw(3);t.xp6(1),t.hij(" ",o.addWorkflow.workflowName.errors.trimError.value," ")}}function $(i,s){if(1&i&&(t.TgZ(0,"div",58),t.YNc(1,H,2,0,"div",59),t.YNc(2,X,2,1,"div",59),t.qZA()),2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",o.addWorkflow.workflowName.errors.required),t.xp6(1),t.Q6J("ngIf",o.addWorkflow.workflowName.hasError("trimError"))}}function tt(i,s){if(1&i&&(t.TgZ(0,"option",61),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.Q6J("value",o.id),t.xp6(1),t.hij(" ",o.workflow_name," ")}}function et(i,s){if(1&i&&(t.ynx(0),t.YNc(1,tt,2,2,"option",60),t.BQk()),2&i){const o=s.$implicit;t.xp6(1),t.Q6J("ngIf","active"==o.workflow_status)}}function ot(i,s){1&i&&(t.TgZ(0,"div"),t._uU(1,"Select workflow is required"),t.qZA())}function rt(i,s){if(1&i&&(t.TgZ(0,"div",58),t.YNc(1,ot,2,0,"div",59),t.qZA()),2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",o.addWorkflow.workflowselection.errors.required)}}function it(i,s){1&i&&t._UZ(0,"span",62)}const F=function(i){return{"is-invalid":i}};function nt(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",37)(1,"h4",38),t._uU(2,"Create Workflow "),t.qZA(),t.TgZ(3,"button",39),t.NdJ("click",function(){t.CHM(o);const e=t.oxw();return t.KtG(e.onCancelClick())}),t.TgZ(4,"span",40),t._uU(5,"\xd7"),t.qZA()()(),t.TgZ(6,"form",41),t.NdJ("ngSubmit",function(){t.CHM(o);const e=t.oxw();return t.KtG(e.createWorkFlow())}),t.TgZ(7,"div",42)(8,"div",43)(9,"div",44)(10,"div",45)(11,"label",46),t._uU(12,"Name"),t.qZA(),t._UZ(13,"input",47),t.YNc(14,$,3,2,"div",48),t.qZA()()(),t.TgZ(15,"div",43)(16,"div",49)(17,"label",50),t._uU(18," Select Workflow"),t.qZA(),t.TgZ(19,"select",51),t.NdJ("ngModelChange",function(e){t.CH
1M(o);const a=t.oxw();return t.KtG(a.onWorkflowChange(e))}),t.TgZ(20,"option",52),t._uU(21,"-- Select Workflow --"),t.qZA(),t.YNc(22,et,2,1,"ng-container",53),t.qZA(),t.YNc(23,rt,2,1,"div",48),t.qZA()()(),t.TgZ(24,"div",54)(25,"button",55),t.NdJ("click",function(){t.CHM(o);const e=t.oxw();return t.KtG(e.onCancelClick())}),t._uU(26,"Cancel"),t.qZA(),t.TgZ(27,"button",56),t.YNc(28,it,1,0,"span",57),t._uU(29," Save"),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(6),t.Q6J("formGroup",o.createWorkFlowForm),t.xp6(7),t.Q6J("ngClass",t.VKq(8,F,o.submitted&&o.addWorkflow.workflowName.errors)),t.xp6(1),t.Q6J("ngIf",o.submitted&&o.addWorkflow.workflowName.errors),t.xp6(5),t.Q6J("ngClass",t.VKq(10,F,o.submitted&&o.addWorkflow.workflowselection.errors)),t.xp6(3),t.Q6J("ngForOf",o.activeWorkflowList),t.xp6(1),t.Q6J("ngIf",o.submitted&&o.addWorkflow.workflowselection.errors),t.xp6(4),t.uIk("disabled",void 0!==o.workflowStages&&0==o.workflowStages.length||null),t.xp6(1),t.Q6J("ngIf",o.isSaveClicked)}}function st(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"alert",63),t.NdJ("onClosed",function(){t.CHM(o);const e=t.oxw();return t.KtG(e.onClosed(e.alertMsg))}),t._uU(1),t.qZA()}if(2&i){const o=t.oxw();t.Q6J("type",o.alertType)("dismissible",o.dismissible),t.xp6(1),t.Oqu(o.alertMsg)}}const at=function(){return[5,10,15,20,25]};let lt=(()=>{const s=class{constructor(r,e,a,b,W,vt,Ct,bt,yt,Ot,Wt){this.router=r,this.activateRoute=e,this.workflowService=a,this.dataService=b,this.modalService=W,this.formBuilder=vt,this.loading=Ct,this.cdRef=bt,this.orgservice=yt,this.titleService=Ot,this.location=Wt,this.dismissible=!0,this.workflowList=[],this.reloadWorkflowList=[],this.isOpen=!1,this.workflowStages=[],this.page=1,this.pgSize=5,this.firstone=0,this.first=0,this.rows=0,this.inputValue="",this.debouncedInputValue=this.inputValue,this.searchDecouncer$=new k.xQ,this.isSaveClicked=!1,this.paginationConfig={itemsPerPage:this.pgSize,currentPage:this.page,totalItems:this.listTotalCount,id:"propertyPagination"},this.activateRoute.queryParamMap.subscribe(D=>{let N=D.get("oid"),E=D.get("pid");null!=this.queryOID&&(this.queryOID!=N||this.queryPID!=E)&&(this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.navigateByUrl(this.router.url)),this.queryOID=N,this.queryPID=E}),this.titleService.setTitle("DSAR Workflows - "+L.N.portalPrefix)}ngOnInit(){this.onGetOrgId(),this.loadActiveWorkflowList(),this.setupSearchDebouncer(),this.createWorkFlowForm=this.formBuilder.group({workflowName:["",[c.kI.required,c.kI.pattern("^(?![0-9]*$)[a-zA-Z0-9 ]+$"),P]],workflowselection:["",[c.kI.required]]}),this.isloading=!0,this.licenseAvailabilityForFormAndRequestPerOrg(this.currentManagedOrgID)}get addWorkflow(){return this.createWorkFlowForm.controls}createWorkflow(){this.isLicenseLimitAvailable()?this.router.navigate(["privacy/dsar/createworkflow"],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1}):(this.alertMsg="Please Select property first!",this.isOpen=!0,this.alertType="danger")}loadWorkflowList(){this.workflowService.getWorkflow(this.constructor.name,g.e.workFlowModule,this.currentManagedOrgID,"?limit="+this.paginationConfig.itemsPerPage+"&page="+this.paginationConfig.currentPage).subscribe(e=>{this.workflowList=(0,y.cn)(this.lazyEvent,e.response),this.paginationConfig.totalItems=e.count})}get selectedColumns(){return this.selectedCols}set selectedColumns(r){this.selectedCols=this.cols.filter(e=>r.includes(e))}onGetOrgId(){null!==this.queryOID?this.currentManagedOrgID=this.queryOID:this.getOIDPIDFromURL()}loadworkflowListLazy(r){if(this.isloading=!0,this.eventRows=r.rows,this.workflowList){let b;0===r.first?(this.firstone=1,this.lazyEvent=r):this.firstone=r.first/r.rows+1,void 0!==r.sortField&&(b="&order_by="+r.sortField+":"+(-1===r.sortOrder?"ASC":"DESC")),this.workflowService.getWorkflow(this.constructor.name,g.e.workFlowModule,this.currentManagedOrgID,"?limit="+this.eventRows+"&page="+this.firstone,b).subscribe(W=>{this.isloading=!1,this.workflowList=(0,y.cn)(this.lazyEvent,W.response),this.reloadWorkflowList=[...this.workflowList],this.rows=W.response.length,this.totalRecords=W.count},W=>{this.loading.stop(),this.alertMsg=W,this.isOpen=!0,this.alertType="danger"})}this.cols=[{field:"workflow_name",header:"Workflow Name"},{field:"workflow_status",header:"Status"},{field:"createdby_firstname",header:"Created by"},{field:"createdby_lastname",header:"Created by"},{field:"updatedby_firstname",header:"Updated by"},{field:"updatedby_lastname",header:"Updated by"},{field:"created_at",header:"Created date"},{field:"updated_at",header:"Last updated date"}],this.selectedCols=this.cols}loadActiveWorkflowList(){this.workflowService.getActiveWorkflowList(this.constructor.name,g.e.workFlowModule,this.currentManagedOrgID,"&limit=0").subscribe(e=>{this.activeWorkflowList=e.response,this.paginationConfig.totalItems=e.count})}createWorkflowModalPopup(r,e){(""!==e||this.isLicenseLimitAvailable())&&this.modalService.open(r,{ariaLabelledBy:"modal-basic-title"}).result.then(a=>{},a=>{})}onSearchInputChange(){this.searchDecouncer$.next(this.inputValue)}clearSearchfield(){this.inputValue="",this.searchDecouncer$.next(this.inputValue),this.pTable.reset()}setupSearchDebouncer(){this.searchDecouncer$.pipe((0,x.b)(1e3),(0,p.x)()).subscribe(r=>{this.debouncedInputValue=r,this.searchFilter()})}searchFilter(){let r;this.lazyEvent.first=0,this.firstone>1&&this.pTable.reset(),""==this.inputValue||(this.firstone=1),r="?limit="+this.eventRows+"&page="+this.firstone+"&search="+this.inputValue,this.isloading=!0,this.workflowService.getWorkflow(this.constructor.name,g.e.workFlowModule,this.currentManagedOrgID,r).subscribe(e=>{this.isloading=!1,this.rows=e.response.length,this.totalRecords=e.count,this.workflowList=(0,y.cn)(this.lazyEvent,e.response?e.response:this.reloadWorkflowList)},e=>{this.loading.stop(),this.alertMsg=e,this.isOpen=!0,this.alertType="danger"})}onWorkflowChange(r){null!=r&&""!==r&&(this.selectedWorkflowId=r,this.loadWorkflowById(r))}createWorkFlow(){if(this.submitted=!0,this.createWorkFlowForm.invali
1d)return!1;if(this.isSaveClicked=!0,0!==this.workflowStages.length){const r={workflow_name:this.createWorkFlowForm.value.workflowName.trim(),workflow_stages:this.workflowStages,workflow_status:"draft",oid:this.currentManagedOrgID};this.workflowService.changeCurrentSelectedWorkflow(r),this.workflowService.createWorkflow(this.constructor.name,g.e.workFlowModule,r).subscribe(e=>{e&&(this.alertMsg=e.response,this.isOpen=!0,this.alertType="success",this.createWorkFlowForm.reset(),this.isSaveClicked=!1,this.modalService.dismissAll("Data Saved!"),this.submitted=!1,this.workflowStages=[],this.router.navigate(["privacy/dsar/createworkflow",e.id],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1}))},e=>{this.isOpen=!0,this.alertMsg=e,this.alertType="danger",this.createWorkFlowForm.reset(),this.modalService.dismissAll("error!")})}}loadWorkflowById(r){return this.workflowService.getWorkflowById(this.constructor.name,g.e.workFlowModule,this.currentManagedOrgID,r).pipe((0,v.U)(e=>e)).subscribe(e=>{this.workflowStages=this.rearrangeArrayResponse(e[0].workflow_stages)},e=>{this.isOpen=!0,this.alertMsg=e,this.alertType="danger"})}rearrangeArrayResponse(r){if(void 0!==r)return r.sort((e,a)=>e.order-a.order),r}onPagesizeChangeEvent(r){this.paginationConfig.itemsPerPage=Number(r.target.value),this.workflowService.getWorkflow(this.constructor.name,g.e.workFlowModule,"?limit="+this.paginationConfig.itemsPerPage+"&page="+this.paginationConfig.currentPage).subscribe(a=>{this.paginationConfig.totalItems=a.count,this.workflowList=(0,y.cn)(this.lazyEvent,a.response)})}propertyPageChangeEvent(r){this.paginationConfig.currentPage=r,this.workflowService.getWorkflow(this.constructor.name,g.e.workFlowModule,"?limit="+this.paginationConfig.itemsPerPage+"&page="+this.paginationConfig.currentPage).subscribe(a=>{this.paginationConfig.totalItems=a.count,this.workflowList=(0,y.cn)(this.lazyEvent,a.response)})}navigateToWorkflow(r){this.workflowService.changeCurrentSelectedWorkflow(r),this.router.navigate(["privacy/dsar/createworkflow/",r.id],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}onCancelClick(){this.submitted=!1,this.isSaveClicked=!1,this.workflowStages=[],this.createWorkFlowForm.reset(),this.modalService.dismissAll("Canceled")}onClosed(r){this.alertMsg=!r,this.isOpen=!1}isLicenseLimitAvailable(){return this.dataService.isLicenseLimitAvailableForOrganizationRestrication("workflow",this.dataService.getAvailableLicenseForFormAndRequestPerOrg())}licenseAvailabilityForFormAndRequestPerOrg(r){this.dataService.removeAvailableLicenseForFormAndRequestPerOrg(),this.dataService.checkLicenseAvailabilityPerOrganization(r).pipe((0,M.q)(1)).subscribe(e=>{let a={...e[0].response,...e[1].response,...e[2].response};this.dataService.setAvailableLicenseForFormAndRequestPerOrg(a)},e=>{console.log(e)})}ngAfterViewInit(){this.cols=[{field:"workflow_name",header:"Workflow Name"},{field:"workflow_status",header:"Status"},{field:"createdby_firstname",header:"Created by"},{field:"createdby_lastname",header:"Created by"},{field:"updatedby_firstname",header:"Updated by"},{field:"updatedby_lastname",header:"Updated by"},{field:"created_at",header:"Created date"},{field:"updated_at",header:"Last updated date"}],this.selectedCols=this.cols,this.cdRef.detectChanges()}addBlurBackground(){return this.isLicenseLimitAvailable()?{}:{filter:"blur(3px)"}}canDeactivate(){return this.isDirty}getOIDPIDFromURL(){let r=(0,y.Dq)(this.location.path());null!=r&&(this.currentManagedOrgID=r[0])}};let i=s;return s.\u0275fac=function(e){return new(e||s)(t.Y36(w.F0),t.Y36(w.gz),t.Y36(O.z),t.Y36(R.D),t.Y36(d.FF),t.Y36(c.QS),t.Y36(u.LA),t.Y36(t.sBO),t.Y36(m.Mn),t.Y36(f.Dx),t.Y36(l.Ye))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-workflows"]],viewQuery:function(e,a){if(1&e&&t.Gf(z,5),2&e){let b;t.iGM(b=t.CRH())&&(a.pTable=b.first)}},inputs:{selectedColumns:"selectedColumns"},decls:21,vars:13,consts:[["appTheme","",1,"container-fluid","mb
1-0","pl-0"],[1,"mb-3"],["aria-label","breadcrumb"],[1,"breadcrumb","breadcrumb-style1","mg-b-0"],[1,"breadcrumb-item"],["aria-current","page",1,"breadcrumb-item","active"],["appTheme","",1,"workflow-primeng-wrapper",3,"ngStyle"],["currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries","styleClass","p-datatable-sm",1,"workflows-table",3,"value","responsive","columns","paginator","lazy","loading","rows","showCurrentPageReport","totalRecords","rowsPerPageOptions","onLazyLoad"],["ptable",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body","styleClass","p-datatable-responsive-demo"],["pTemplate","emptymessage"],["createworkflowModal",""],[1,"col-sm-5","mt-3","mr-0","float-right"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],[1,"searchfield","mt-1","pl-1"],[1,"row","col-sm-2","col-md-2","input-group"],["type","text","placeholder","Search","id","example-search-input",1,"form-control","border-right-0","border",3,"ngModel","ngModelChange","keyup.enter"],[1,"input-group-append"],["class","input-group-text bg-transparent","style","background-color: #fff !important;",3,"click",4,"ngIf"],[1,"input-group-text","bg-transparent",3,"click"],[1,"fa","fa-search"],["tooltip","Workflow describes the steps you should follow to process a visitor\u2019s request. Click here to create a workflow.","placement","left",1,"float-right","mr-1"],["data-toggle","modal","type","button",1,"btn","btn-sm","btn-uppercase","btn-primary","mr-2",2,"text-transform","none","font-size","12px",3,"click"],["name","plus",1,"feather-16"],[1,"d-none","d-sm-inline","mg-l-5"],[1,"input-group-text","bg-transparent",2,"background-color","#fff !important",3,"click"],["aria-hidden","true",1,"fa","fa-times","color-red"],["pSortableColumn","workflow_name"],["field","workflow_name"],["pSortableColumn","created_at"],["field","created_at"],["pSortableColumn","updated_at"],["field","updated_at"],[3,"title","click"],[1,"badge",3,"ngClass"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],["appTheme","",3,"formGroup","ngSubmit"],[1,"modal-body"],[1,"row"],[1,"col-sm-12"],[1,"form-group"],["for","workflowName",1,"tx-11","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["type","text","formControlName","workflowName","placeholder","Enter workflow name",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],[1,"col-sm-12","mb-3"],["for","workflowselect",1,"tx-11","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["formControlName","workflowselection",1,"form-control",3,"ngClass","ngModelChange"],["value","","selected",""],[4,"ngFor","ngForOf"],[1,"modal-footer"],["type","button",1,"btn","btn-link","tx-decoration-underline",3,"click"],["type","submit",1,"btn","btn-primary","mr-0"],["class","spinner-border spinner-border-sm mr-1",4,"ngIf"],[1,"invalid-feedback"],[4,"ngIf"],[3,"value",4,"ngIf"],[3,"value"],[1,"spinner-border","spinner-border-sm","mr-1"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed"]],template:function(e,a){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4),t._uU(5," Privacy"),t.qZA(),t.TgZ(6,"li",4),t._uU(7,"Privacy Rights"),t.qZA(),t.TgZ(8,"li",5),t._uU(9,"Workflow"),t.qZA()()()()(),t.TgZ(10,"div",6)(11,"p-table",7,8),t.NdJ("onLazyLoad",function(W){return a.loadworkflowListLazy(W)}),t.YNc(13,q,12,2,"ng-template",9),t.YNc(14,Q,16,0,"ng-template",10),t.YNc(15,V,17,17,"ng-template",11),t.YNc(16,j,3,1,"ng-template",12),t.qZA()(),t.YNc(17,nt,30,12,"ng-template",null,13,t.W1O),t.TgZ(19,"div",14),t.YNc(20,st,2,3,"alert",15),t.qZA()),2&e&&(t.xp6(10),t.Q6J("ngStyle",a.addBlurbackgroundToTable),t.xp6(1),t.Q6J("value",a.workflowList)("responsive",!0)("columns",a.selectedColumns)("paginator",!0)("lazy",!0)("loading",a.isloading)("rows",5)("showCurrentPageReport",!0)("totalRecords",a.totalRecords)("rowsPerPageOptions",t.DdM(12,at)),t.xp6(9),t.Q6J("ngIf",a.isOpen))},dependencies:[c._Y,c.YN,c.Kr,c.Fj,c.EJ,c.JJ,c.JL,c.On,c.sg,c.u,l.mk,l.sg,l.O5,l.PC,h.u,T.i9,C.wx,_.mh,A.iA,K.jx,A.lQ,A.fz,J.E,B.wr],styles:["table.table.table-bordered[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:first-child{white-space:nowrap;border-right:0;border-left:0}table.table.table-bordered[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]:nth-child(2){width:150px}.table-bordered[_ngcontent-%COMP%]{border:0}.workflowdiv[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%]{padding:0!important}.workflowdiv[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header[_ngcontent-%COMP%]{margin:0;padding:0 0 10px}table.table.table-bordered[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #e1e5ed}.workflowlink[_ngcontent-%COMP%]{cursor:pointer}.workflowlink[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:#3968fa;text-transform:capitalize;font-weight:500}.searchfield[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.input-group-append[_ngcontent-%COMP%]{cursor:pointer}.workflows-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-tbody>tr>td>a{cursor:pointer}.workflows-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-thead>tr>th{padding:.8rem .3rem}.workflows-table[_ngcontent-%COMP%]     .p-inputtext{padding:.3rem;font-size:.8rem}.workflows-table[_ngcontent-%COMP%]     .p-paginator .p-paginator-pages .p-paginator-page{min-width:1.5rem;height:1.5rem}.workflows-table[_ngcontent-%COMP%]     .p-paginator .p-dropdown{height:2rem}.workflows-table[_ngcontent-%COMP%]     .p-datatable .p-paginator-bottom{border-top:1px solid #ccc;border-radius:0 0 10px 10px;border-bottom:0;justify-content:center}.workflows-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-header{background:#fff;border-radius:5px 5px 0 0;border:0}.workflows-table[_ngcontent-%COMP%]     .p-datatable{position:relative;border:1px solid #ccc;border-radius:5px}.workflows-table[_ngcontent-%COMP%]     .p-datatable-thead{border-top:1px solid #dde2ea}.workflows-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-tbody>tr>td>a:hover{text-decoration:underline}.workflows-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-thead>tr>th:first-child{width:auto}.workflows-table[_ngcontent-%COMP%]     .p-paginator-bottom .p-paginator{display:flex;position:relative}.workflows-table[_ngcontent-%COMP%]     .p-paginator-current{position:absolute;right:0}.workflows-table[_ngcontent-%COMP%]     .p-inputwrapper-filled{position:absolute;
1left:0}.tx-decoration-underline[_ngcontent-%COMP%]:hover{text-decoration:underline}"]}),i})();var ct=n(85493),dt=n(31456),U=n(19688),pt=n(94284);const ut=[{path:"",component:lt,canDeactivate:[U.c],canActivate:[ct.a1,dt.p,pt.g]},{path:"privacy/dsar/createworkflow/:id",loadChildren:()=>n.e("default-src_app_privacy_dsar_createworkflow_createworkflow_module_ts").then(n.bind(n,67906)).then(i=>i.CreateworkflowModule),canDeactivate:[U.c]}];let ft=(()=>{const s=class{};let i=s;return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[w.Bz.forChild(ut),w.Bz]}),i})();var gt=n(22962),ht=n(67195),mt=n(23501),wt=n(55466),_t=n(91742);let kt=(()=>{const s=class{};let i=s;return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[c.u5,c.UX,S.J,ft,A.U$,gt.q4,h.p.pick(ht.kEt),mt.O.forRoot({themes:[wt.W,_t.$],active:L.N.theme})]}),i})()}}]);

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.