PageSourceSearch

https://ap.cflowapps.com/cflow/chunk-DrYfkzus.js

js cflowapps.com collected 2026-09-24 10:07:34 UTC 6,511 bytes, 1 lines download raw bytes

1import {a as ae,i as ie}from'./chunk-8q0V7R9W.js';import {FlatpickrDirective as m}from'./chunk-Bwf6keo1.js';import {n}from'./chunk-CxxYOCrA.js';import'./chunk-D7Q8bVu-.js';import'./chunk-Cz-LDYSE.js';import'./chunk-CJZk9g-5.js';import {J as Je,b,u as p,as as hi,k,a as Cu,aw as X,aI as Ce,bo as eM,L as Lt,ba as s,bb as r$1,bc as Eo,c1 as ci,e as eC,az as gi,aA as et,aE as oi,aF as ai,c0 as Sn,aG as kn,ay as Ii,M as Ft,d as ds,Q as D_,$ as $_,p as pu,w as wm,aJ as fT,G as Gm,X as Dm,f as pw,a3 as Iu,a0 as q_,aX as __,h as P_,aK as hT,Z as gy,O as O_}from'./main-MURRLOR2.js';import {ValidateDirective as h}from'./chunk-BDndEpQ1.js';import'./chunk-CmGRpkHB.js';import'./chunk-Bq0WOqvV.js';var w=()=>[],Y=class F{constructor(n){this.datePipe=n;}datePipe;dataList=Je([]);isFetched=Je(false);stages=Je([]);commonApiService=b(p);formBuilder=b(hi);systemReportApiService=b(ae);stageApiService=b(n);commonService=b(k);flatpickrOptions=Cu(()=>({enableTime:false,dateFormat:this.commonService.getDataFormat(),allowInput:true}));form=this.formBuilder.group({workflowId:new X(null,Ce.required),stageId:new X(null,Ce.nullValidator),requestFrom:new X(null,Ce.nullValidator),requestTo:new X(null,Ce.nullValidator),clarificationDate:new X(null,Ce.nullValidator),submitedFromDate:new X(null,Ce.nullValidator),submitedToDate:new X(null,Ce.nullValidator)});workflows=eM({loader:async()=>(await this.commonApiService.getWorkflowsAsync()).filter(l=>l.isWorkflow)});users=eM({loader:()=>this.commonApiService.getUsersAsync()});activeUsers=Lt(()=>
1this.users.value()?.filter(n=>n.status));ngOnInit(){this.form.controls.workflowId.valueChanges.subscribe(n=>{n&&this.getStageList(n);});}async getStageList(n){let l=await this.stageApiService.getStagesAsync(n);this.stages.set([...l]);}async onFormSubmit(){if(this.form.invalid){this.form.markAllAsTouched();return}let n=this.commonService.convertToDate(this.form.value.submitedFromDate?.toString()??""),l=this.commonService.convertToDate(this.form.value.submitedToDate?.toString()??""),e=this.commonService.convertToDate(this.form.value.clarificationDate?.toString()??""),b=_=>_ instanceof Date&&!isNaN(_.getTime()),Z=s(r$1({},this.form.value),{submitedFromDate:b(n)?this.datePipe.transform(n,"yyyy-MM-dd"):null,submitedToDate:b(l)?this.datePipe.transform(l,"yyyy-MM-dd"):null,clarificationDate:b(e)?this.datePipe.transform(e,"yyyy-MM-dd"):null}),$=await this.systemReportApiService.getClarificationReport(Z);this.dataList.set($??[]),this.isFetched.set(true);}static \u0275fac=function(l){return new(l||F)(Eo(ci))};static \u0275cmp=eC({type:F,selectors:[["cf-clarification-report"]],features:[O_([ci])],decls:56,vars:74,consts:[[3,"dataList","isFetched","isClarificton"],[1,"clar-container",3,"formGroup"],[1,"grid-item"],["for","",1,"cf-form-label"],[1,"error-message"],["bindLabel","displayName","bindValue","id","cfValidate","",3,"placeholder","items","clearable","formControl"],["bindLabel","displayName","bindValue","id",3,"placeholder","items","formControl"],["bindLabel","userFullName","bindValue","userName",3,"placeholder","items","formControl"],[1,"inpt-group"],["autocomplete","off","type","text","cfFlatpickr","",1,"date-pick","form-control","fnt-12",3,"formControl","flatpickrOptions","placeholder"],["alt","","src","assets/images/form-creation/date.svg"],[1,"d-flex","justify-content-end","report-btn"],[1,"button-primary",3,"click"]],template:function(l,e){l&1&&(ds(0,"cf-system-report-view",0)(1,"div",1)(2,"div",2)(3,"label",3),D_(4),$_(5,"translate"),ds(6,"span",4),D_(7,"*"),pu()(),wm(8,"ng-select",5),$_(9,"translate"),fT(),pu(),ds(10,"div",2)(11,"label",3),D_(12),$_(13,"translate"),pu(),wm(14,"ng-select",6),$_(15,"translate"),fT(),pu(),ds(16,"div",2)(17,"label",3),D_(18),$_(19,"translate"),pu(),wm(20,"ng-select",7),$_(21,"translate"),fT(),pu(),ds(22,"div",2)(23,"label",3),D_(24),$_(25,"translate"),pu(),wm(26,"ng-select",7),$_(27,"translate"),fT(),pu(),ds(28,"div",2)(29,"label",3),D_(30),$_(31,"translate"),pu(),ds(32,"div",8),wm(33,"input",9),$_(34,"translate"),fT(),wm(35,"img",10),pu()(),ds(36,"div",2)(37,"label",3),D_(38),$_(39,"translate"),pu(),ds(40,"div",8),wm(41,"input",9),$_(42,"translate"),fT(),wm(43,"img",10),pu()(),ds(44,"div",2)(45,"label",3),D_(46),$_(47,"translate"),pu(),ds(48,"div",8),wm(49,"input",9),$_(50,"translate"),fT(),wm(51,"img",10),pu()()(),ds(52,"div",11)(53,"button",12),Gm("click",function(){return e.onFormSubmit()}),D_(54),$_(55,"translate"),pu()()()),l&2&&(Dm("dataList",e.dataList())("isFetched",e.isFetched())("isClarificton",true),pw(),Dm("formGroup",e.form),pw(3),Iu("",q_(5,41,"Workflow")," "),pw(4),Dm("placeholder",__(q_(9,43,"Select")))("items",e.workflows.value()??P_(71,w))("clearable",false)("formControl",e.form.controls.workflowId),hT(),pw(4),gy(q_(13,45,"Stage")),pw(2),Dm("placeholder",__(q_(15,47,"Select")))("items",e.stages())("formControl",e.form.controls.stageId),hT(),pw(4),gy(q_(19,49,"Requested_From")),pw(2),Dm("placeholder",__(q_(21,51,"Select")))("items",e.activeUsers()??P_(72,w))("formControl",e.form.controls.requestFrom),hT(),pw(4),gy(q_(25,53,"Requested_To")),pw(2),Dm("placeholder",__(q_(27,55,"Select")))("items",e.activeUsers()??P_(73,w))("formControl",e.form.controls.requestTo),hT(),pw(4),gy(q_(31,57,"Clarification_Date")),pw(3),Dm("placeholder",__(q_(34,59,"Select_Date")))("formControl",e.form.controls.clarificationDate)("flatpickrOptions",e.flatpickrOptions()),hT(),pw(5),gy(q_(39,61,"Submitted_Date_From")),pw(3),Dm("placeholder",__(q_(42,63,"Select_Date")))("formControl",e.form.controls.submitedFromDate)("flatpickrOptions",e.flatpickrOptions()),hT(),pw(5),gy(q_(47,65,"Submitted_Date_To")),pw(3),Dm("placeholder",__(q_(50,67,"Select_Date")))("formControl",e.form.controls.submitedToDate)("flatpickrOptions",e.flatpickrOptions()),hT(),pw(5),gy(q_(55,69,"Get_Report")));},dependencies:[gi,et,oi,ai,Sn,kn,Ii,ie,m,h,Ft],styles:[".clar-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:16px}.clar-container[_ngcontent-%COMP%]   .grid-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.clar-container[_ngcontent-%COMP%]   .grid-item[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:4px}.inpt-group[_ngcontent-%COMP%]{position:relative}.inpt-group[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{padding-left:26px}.inpt-group[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;top:6px;left:6px}.report-btn[_ngcontent-%COMP%]{padding-right:16px}"]})};export{Y as ClarificationReportComponent};

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.