PageSourceSearch

https://www.chemarc.com/mainbuild/4369.a8abad7a3bb57d4d.js

js chemarc.com collected 2026-09-28 09:09:34 UTC 24,479 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkchemarc=self.webpackChunkchemarc||[]).push([[4369],{14369:(fe,g,r)=>{r.r(g),r.d(g,{CustomerDevelopmentModule:()=>ge});var p=r(36895),Z=r(94434),c=r(34793),m=r(36539),h=r(41274),f=r(15439),P=r(8929),_=r(74194),C=r(90934),b=r(16382),e=r(94650),v=r(93449),j=r(90372),A=r(49095),T=r(85800),s=r(24006),y=r(97392),x=r(18455),S=r(29203),d=r(99602),q=r(89751),D=r(51873),M=r(61859);function w(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"a",7),e.NdJ("click",function(){e.CHM(t);const a=e.oxw();return e.KtG("PROJECTS"==a.active_tab?a.backFromUsTab():a.backFromCustomerTab())}),e.TgZ(1,"span",8),e._UZ(2,"img",9),e.qZA(),e.TgZ(3,"span",10),e._uU(4,"Go Back"),e.qZA()()}}function I(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"div",13)(1,"a",14),e.NdJ("click",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.addProjects())}),e._uU(2,"Create Projects"),e.qZA()()}}function J(o,i){if(1&o&&(e.TgZ(0,"div",11),e.YNc(1,I,3,0,"div",12),e.qZA()),2&o){const t=e.oxw();e.xp6(1),e.Q6J("ngIf","PROJECT_LIST"==t.view&&"loaded"==t.status)}}function U(o,i){if(1&o){const t=e.EpF();e.ynx(0)(1),e.TgZ(2,"div",27)(3,"div",50)(4,"div",51)(5,"mat-form-field",52)(6,"input",53),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.start_date=a)})("ngModelChange",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.handleDateChange("start_date"))}),e.qZA(),e._UZ(7,"mat-datepicker-toggle",54)(8,"mat-datepicker",55,56),e.qZA()(),e.TgZ(10,"div",57)(11,"mat-form-field",52)(12,"input",58),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.end_date=a)})("ngModelChange",function(){e.CHM(t);const a=e.oxw(2);return e.KtG(a.handleDateChange("end_date"))}),e.qZA(),e._UZ(13,"mat-datepicker-toggle",54)(14,"mat-datepicker",55,59),e.qZA()()()(),e.BQk()()}if(2&o){const t=e.MAs(9),n=e.MAs(15),a=e.oxw(2);e.xp6(6),e.Q6J("matDatepicker",t)("max",a.end_date)("ngModel",a.start_date),e.xp6(1),e.Q6J("for",t),e.xp6(5),e.Q6J("min",a.start_date)("matDatepicker",n)("ngModel",a.end_date),e.xp6(1),e.Q6J("for",n)}}function R(o,i){1&o&&(e.TgZ(0,"span",75),e._uU(1," New "),e.qZA())}function E(o,i){1&o&&(e.TgZ(0,"span",76),e._uU(1," Response Sent "),e.qZA())}const k=function(){return["supplier_on_hold","Supplier On Hold","sample_not_received","Sample Not Received"]},N=function(){return["sample_rejected","Sample Rejected","supplier_rejected","Supplier Rejected"]};function Y(o,i){if(1&o&&(e.TgZ(0,"span",77),e.ALo(1,"titlecase"),e.ALo(2,"titlecase"),e._uU(3),e.ALo(4,"titlecase"),e.qZA()),2&o){const t=e.oxw(3).$implicit;e.Q6J("ngClass",e.DdM(8,k).includes(e.lcZ(1,2,null==t||null==t.status?null:t.status.replaceAll("_"," ")))?"sunglow":e.DdM(9,N).includes(e.lcZ(2,4,null==t||null==t.status?null:t.status.replaceAll("_"," ")))?"danger":"green"),e.xp6(3),e.hij(" ",e.lcZ(4,6,null==t||null==t.status?null:t.status.replaceAll("_"," "))," ")}}const Q=function(){return["rfi_sent","Rfi Sent"]},O=function(){return["response_received","Response Received"]},L=function(){return["rfi_sent","Rfi Sent","response_received","Response Received"]};function F(o,i){if(1&o&&(e.ynx(0),e.YNc(1,R,2,0,"span",72),e.ALo(2,"titlecase"),e.YNc(3,E,2,0,"span",73),e.ALo(4,"titlecase"),e.YNc(5,Y,5,10,"span",74),e.ALo(6,"titlecase"),e.BQk()),2&o){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf",e.DdM(9,Q).includes(e.lcZ(2,3,null==t||null==t.status?null:t.status.replaceAll("_"," ")))),e.xp6(2),e.Q6J("ngIf",e.DdM(10,O).includes(e.lcZ(4,5,null==t||null==t.status?null:t.status.replaceAll("_"," ")))),e.xp6(2),e.Q6J("ngIf",!e.DdM(11,L).includes(e.lcZ(6,7,null==t||null==t.status?null:t.status.replaceAll("_"," "))))}}function H(o,i){if(1&o&&(e.TgZ(0,"div",78)(1,"ol")(2,"li")(3,"span",79),e._uU(4,"Posted on: "),e.qZA(),e.TgZ(5,"span",80),e._uU(6),e.ALo(7,"date"),e.qZA()()()()),2&o){const t=e.oxw(2).$implicit;e.xp6(6),e.Oqu(e.Dn7(7,1,null==t||null==t.project?null:t.project.created_at,"dd MMM yyyy, hh:mm:ss a","IST"))}}function z(o,i){if(1&o&&(e.TgZ(0,"div",84)(1,"b"),e._uU(2),e.qZA()()),2&o){const t=e.oxw(3).$implicit;e.xp6(2),e.hij("#",null==t||null==t.project?null:t.project._key,"")}}const G=function(o){return[o]};function B(o,i){if(1&o&&(e.TgZ(0,"div",81)(1,"a",82),e.YNc(2,z,3,1,"div",83),e.TgZ(3,"div")(4,"b"),e._uU(5),e.qZA()()()()),2&o){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("routerLink",e.VKq(3,G,null==t||null==t.project?null:t.project._key)),e.xp6(1),e.Q6J("ngIf",null==t||null==t.project?null:t.project._key),e.xp6(3),e.Oqu(null==t||null==t.project?null:t.project.buyer_name)}}function $(o,i){if(1&o&&(e.TgZ(0,"li")(1,"span",80)(2,"mat-icon"),e._uU(3,"event"),e.qZA()(),e.TgZ(4,"span",79),e._uU(5,"Start Date: "),e.qZA(),e.TgZ(6,"span",80),e._uU(7),e.ALo(8,"date"),e.qZA()()),2&o){const t=e.oxw(2).$implicit;e.xp6(7),e.Oqu(e.xi3(8,1,null==t||null==t.project?null:t.project.start_date,"dd MMM yyyy"))}}function K(o,i){if(1&o&&(e.TgZ(0,"li")(1,"span",80)(2,"mat-icon"),e._uU(3,"event"),e.qZA()(),e.TgZ(4,"span",79),e._uU(5,"End Date: "),e.qZA(),e.TgZ(6,"span",80),e._uU(7),e.ALo(8,"date"),e.qZA()()),2&o){const t=e.oxw(2).$implicit;e.xp6(7),e.Oqu(e.xi3(8,1,null==t||null==t.project?null:t.project.end_date,"dd MMM yyyy"))}}function V(o,i){if(1&o&&(e.TgZ(0,"div",85)(1,"b"),e._uU(2),e.qZA()()),2&o){const t=e.oxw(2).$implicit;e.xp6(2),e.hij("Supplier Development Request for ",null==t||null==t.project?null:t.project.product_name,"")}}function X(o,i){if(1&o&&(e.TgZ(0,"li")(1,"span",79),e._uU(2,"ERP Code: "),e.qZA(),e.TgZ(3,"span",80),e._uU(4),e.qZA()()),2&o){const t=e.oxw(3).$implicit;e.xp6(4),e.Oqu(null==t||null==t.project?null:t.project.erp_code)}}function W(o,i){if(1&o&&(e.TgZ(0,"li")(1,"span",79),e._uU(2,"HS Code: "),e.qZA(),e.TgZ(3,"span",80),e._uU(4),e.qZA()()),2&o){const t=e.oxw(3).$implicit;e.xp6(4),e.Oqu(null==t||null==t.project?null:t.project.HSCode)}}function ee(o,i){if(1&o&&(e.TgZ(0,"li")(1,"span",79),e._uU(2,"CAS Number: "),e.qZA(),e.TgZ(3,"span",80),e._uU(4),e.qZA()()),2&o){const t=e.oxw(3).$implicit;e.xp6(4),e.Oqu(null==t||null==t.project?null:t.project.CAS)}}function te(o,i){if(1&o&&(e.TgZ(0,"div",68)(1,"ol"),e.YNc(2,X,5,1,"li",6),e.YNc(3,W,5,1,"li",6),e.YNc(4,ee,5,1,"li",6),e.qZA()()),2&o){const t=e.oxw(2).$implicit;e.xp6(2),e.Q6J("ngIf",null==t||null==t.project?null:t.project.erp_code),e.xp6(1),e.Q6J("ngIf",(null==t||null==t.project?null:t.project.HSCode)&&(null==t||null==t.project||null==t.project.HSCode?null:t.project.HSCode.length)>0),e.xp6(1),e.Q6J("ngIf",(null==t||null==t.project?null:t.project.CAS)&&(null==t||null==t.project||null==t.project.CAS?null:t.project.CAS.length)>0)}}function ne(o,i){if(1&o&&e._UZ(0,"div",86),2&o){const t=e.oxw(2).$implicit;e.Q6J("innerHtml",null==t||null==t.project?null:t.project.description,e.oJD)}}function oe(o,i){if(1&o&&(e.ynx(0),e.TgZ(1,"div",62)(2,"div",63)(3,"div",64),e.YNc(4,F,7,12,"ng-container",6),e.qZA(),e.TgZ(5,"div",65),e.YNc(6,H,8,5,"div",66),e.YNc(7,B,6,5,"div",67),e.TgZ(8,"div",68)(9,"ol"),e.YNc(10,$,9,4,"li",6),e.YNc(11,K,9,4,"li",6),e.qZA()()()(),e.TgZ(12,"div",63)(13,"div",65),e.YNc(14,V,3,1,"div",69),e.YNc(15,te,5,3,"div",70),e.YNc(16,ne,1,1,"div",71),e.qZA()()(),e.BQk()),2&o){const t=e.oxw().$implicit;e.xp6(4),e.Q6J("ngIf",null==t?null:t.status),e.xp6(2),e.Q6J("ngIf",null==t||null==t.project?null:t.project.created_at),e.xp6(1),e.Q6J("ngIf",null==t||null==t.project?null:t.project.buyer_name),e.xp6(3),e.Q6J("ngIf",null==t||null==t.project?null:t.project.start_date),e.xp6(1),e.Q6J("ngIf",null==t||null==t.project?null:t.project.end_date),e.xp6(3),e.Q6J("ngIf",null==t||null==t.project?null:t.project.product_name),e.xp6(1),e.Q6J("ngIf",(null==t||null==t.project?null:t.project.erp_code)||(null==t||null==t.project?null:t.project.HSCode)||(null==t||null==t.project?null:t.project.CAS)),e.xp6(1),e.Q6J("ngIf",null==t||null==t.project?null:t.project.description)}}function ae(o,i){if(1&o&&(e.ynx(0),e.YNc(1,oe,17,8,"ng-container",6),e.BQk()),2&o){const t=i.$implicit;e.xp6(1),e.Q6J("ngIf",(null==t?null:t.project)&&(null==t||null==t.project?null:t.project._key))}}function re(o,i){if(1&o){const t=e.EpF();e.ynx(0),e.YNc(1,ae,2,1,"ng-container",60),e.TgZ(2,"app-pagination",61),e.NdJ("onPageChange",function(a){e.CHM(t);const l=e.oxw(2);return e.KtG(l.loadProducts(a))}),e.qZA(),e.BQk()}if(2&o){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.projects),e.xp6(1),e.Q6J("total",t.total)("current",t.ppage)("perPage",t.psize)}}function ie(o,i){1&o&&e._UZ(0,"bizhub-nothing",87),2&o&&e.Q6J("prefix","N
1o RFI Available")}function le(o,i){if(1&o){const t=e.EpF();e.ynx(0)(1),e.TgZ(2,"div",15)(3,"div",16)(4,"div",17)(5,"form",18)(6,"label",19),e.O4$(),e.TgZ(7,"svg",20),e._UZ(8,"path",21)(9,"path",22),e.qZA()(),e.kcU(),e.TgZ(10,"input",23),e.NdJ("ngModelChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onSearch(a))}),e.qZA(),e._UZ(11,"input",24),e.qZA()(),e.TgZ(12,"div",25)(13,"div",26)(14,"div",27)(15,"label",28),e._uU(16,"Status"),e.qZA(),e.TgZ(17,"div",29)(18,"app-selectbox",30),e.NdJ("onChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilterChange({status:a}))}),e.TgZ(19,"option",31),e._uU(20,"All"),e.qZA(),e.TgZ(21,"option",32),e._uU(22,"New"),e.qZA(),e.TgZ(23,"option",33),e._uU(24,"Response Sent"),e.qZA(),e.TgZ(25,"option",34),e._uU(26,"Sample Received"),e.qZA(),e.TgZ(27,"option",35),e._uU(28,"Sample Not Received"),e.qZA(),e.TgZ(29,"option",36),e._uU(30,"Sample Approved"),e.qZA(),e.TgZ(31,"option",37),e._uU(32,"Sample Rejected"),e.qZA(),e.TgZ(33,"option",38),e._uU(34,"Supplier Accepted"),e.qZA(),e.TgZ(35,"option",39),e._uU(36,"Supplier On Hold"),e.qZA(),e.TgZ(37,"option",40),e._uU(38,"Supplier Rejected"),e.qZA()()()(),e.TgZ(39,"div",27)(40,"label",28),e._uU(41,"Duration"),e.qZA(),e.TgZ(42,"div",41)(43,"app-selectbox",30),e.NdJ("onChange",function(a){e.CHM(t);const l=e.oxw();return e.KtG(l.onFilterChange({duration:a}))}),e.TgZ(44,"option",42),e._uU(45,"All"),e.qZA(),e.TgZ(46,"option",43),e._uU(47,"30 Days"),e.qZA(),e.TgZ(48,"option",44),e._uU(49,"3 Months"),e.qZA(),e.TgZ(50,"option",45),e._uU(51,"6 Months"),e.qZA(),e.TgZ(52,"option",46),e._uU(53,"1 Year"),e.qZA(),e.TgZ(54,"option",47),e._uU(55,"Custom Date"),e.qZA()()()(),e.YNc(56,U,16,8,"ng-container",6),e.qZA()()()(),e.BQk(),e.YNc(57,re,3,4,"ng-container",48),e.YNc(58,ie,1,1,"ng-template",null,49,e.W1O),e.BQk()}if(2&o){const t=e.MAs(59),n=e.oxw();e.xp6(10),e.Q6J("ngModel",null==n.queryParams?null:n.queryParams.q),e.xp6(8),e.Q6J("cid","status-1")("value",n.queryParams.status?n.originalValues[n.queryParams.status]?n.originalValues[n.queryParams.status]:n.queryParams.status:"All")("defaultText1","All"),e.xp6(1),e.Q6J("selected",""==n.queryParams.status),e.xp6(24),e.Q6J("cid","duration-1")("value",n.queryParams.duration?n.queryParams.duration:"All")("defaultText1","All"),e.xp6(13),e.Q6J("ngIf","Custom Date"===n.queryParams.duration),e.xp6(1),e.Q6J("ngIf",n.projects&&(null==n.projects?null:n.projects.length)>0)("ngIfElse",t)}}const se=function(){return["ADD","AUCTION_LIST","ADD_PROJECT","PROJECT_LIST","CUSTOMERS_LIST"]};let ce=(()=>{class o extends m.t{constructor(t,n,a,l,u,me){super(t),this.bs=n,this.router=a,this.route=l,this.dialog=u,this.authTokenService=me,this.projects=[],this.received_projects=[],this.organisation=new h.YC,this.project=new _.I,this.view="PROJECT_LIST",this.ppage=1,this.mode="ADD",this.total=0,this.psize=10,this.filter="",this.project_status="",this.status="",this.searchAddress=[],this.roles=[],this.active_tab="PROJECTS",this.company_users=[],this.start_date="",this.end_date="",this.searchTextChanged=new P.xQ,this.queryParams={status:"",q:"",start_date:"",end_date:"",duration:""},this.filterKeysValues={"Response Sent":"response_received",New:"rfi_sent","Sample Received":"sample_received","Sample Not Received":"sample_not_received","Sample Approved":"sample_approved","Sample Rejected":"sample_rejected","Supplier Accepted":"supplier_accepted","Supplier Rejected":"supplier_rejected","Supplier On Hold":"supplier_on_hold",Closed:"closed","30 Days":"1","3 Months":"3","6 Months":"6","1 Year":"12","Custom Date":"custom",start_date:"",end_date:""},this.originalValues={response_received:"Response Sent",rfi_sent:"New",sample_received:"Sample Received",sample_not_received:"Sample Not Received",sample_approved:"Sample Approved",sample_rejected:"Sample Rejected",supplier_accepted:"Supplier Accepted",supplier_rejected:"Supplier Rejected",supplier_on_hold:"Supplier On Hold",closed:"Closed",1:"30 Days",3:"3 Months",6:"6 Months",12:"1 Year",custom:"Custom Date",start_date:"",end_date:""},this.filters={},this.r="bizhub.profile",this.route?.data.subscribe(he=>{this.routeData=he})}onInit(){this.roles=this.determineHighestRole(this.authTokenService.currentUserData?.roles?.map(n=>n.name)||[]),this.side=this.router.url.includes("buyer")?"Buyer":"Seller",this.route.queryParams.subscribe(n=>{this.active_tab=n.active_tab?n.active_tab:"PROJECTS",this.ppage=n?.ppage||1,this.psize=n?.psize||10,this.searchText=n.q?n.q:"",this.queryParams.status=n.status?this.originalValues[n.status]:"",this.queryParams.duration=n.duration?this.originalValues[n.duration]:"",this.queryParams.q=n.q?n.q:"",this.start_date=this.queryParams.start_date=n.start_date||"",this.end_date=this.queryParams.end_date=n.end_date||"",this.params=this.cloneObjectData(n),this.s.loader=!0,"Customer Development"===this.routeData?.title?(this.aGet(this._loadProjectsReceived,null,"load_received_projects",{...this.params,ppage:this.ppage,psize:this.psize}),this.active_tab="CUSTOMERS"):this.aGet(this._loadProject,null,"load",{...this.params,ppage:this.ppage,psize:this.psize})}),this.searchTextChanged.debounceTime(1e3).distinctUntilChanged().subscribe(n=>{n&&n?.includes("#")&&(n=n?.replace(C.O1,"")),this.onFilterChange({q:n},!0)})}switchTab(t,n){this.onTabChange(t)}
1_loadAddresses(t,n){t.address=n}determineHighestRole(t){let n=[];return t.forEach(a=>{let l=b.HM.find(u=>u.value===a);l&&n.push(l.name)}),n}onTabChange(t){this.active_tab=t,this.ppage=1,this.psize=this.psize,this.router?.navigate([],{queryParams:{ppage:1,psize:this.psize,active_tab:this.active_tab},queryParamsHandling:"merge",skipLocationChange:!1})}onSearch(t){this.searchTextChanged.next(t)}loadProducts(t){this.ppage=t?.ppage||1,this.psize=t?.psize||10,this.searchText&&(t.Title=this.searchText),this.filter&&(t.filter=this.filter)}onFilterChange(t,n){const[a,l]=Object.entries(t)[0];["status","duration"].includes(a)&&!n&&this.queryParams?.hasOwnProperty(a)&&this.queryParams[a]===l||(this.queryParams={...this.queryParams,...t},this.queryParams={...this.queryParams,...t},"Custom Date"!==this.queryParams.duration&&(t.start_date&&delete t.start_date,this.queryParams.start_date="",t.end_date&&delete t.end_date,this.queryParams.end_date=""),this.setFilter(),this.filterEnquiries(this.queryParams))}setFilter(){this.queryParams.status=this.queryParams.status?this.filterKeysValues[this.queryParams.status]:"",this.queryParams.duration=this.queryParams.duration?this.filterKeysValues[this.queryParams.duration]:""}filterEnquiries(t){this.router.navigate([],{queryParams:{ppage:1,...t},queryParamsHandling:"merge",skipLocationChange:!1}),this.filters=t,this.ppage=1}handleDateChange(t){(this.start_date||this.end_date)&&(this.queryParams={...this.queryParams,start_date:this.start_date?f(this.start_date)?.format("YYYY-MM-DD"):null,end_date:this.end_date?f(this.end_date)?.format("YYYY-MM-DD"):null},this.onFilterChange(this.queryParams,!0))}afterLoad(t){this.organisation=t.organisation,this.bs.update(t),this.user=t.user,this.s.loader=!1,this.status="loaded"}edit(t){this.project=t,this.view="ADD",this.mode="EDIT"}save_project(t){let n={};this.project_status=t.status,"publish"==t.status&&(this.s.loader=!0),n={...t},this.aPost(this._save_project,n,"ADD"==this.mode?"create_project":"update_project")}_save_project(t,n){t.s.loader=!1,n.Errors?(t.error(n.Errors),t.showErrorMessage("","Unexpected error occurred while saving new project. Please try again later"),t.s.mainjs.fnScrollToTop()):n.error?(t.showErrorMessage("",n.error),t.s.mainjs.fnScrollToTop()):(("ADD"==t.mode||"EDIT"==t.mode)&&(t.projects||(t.projects=[]),t.showSuccessMessage("",`Forward auction has been ${"EDIT"==t?.mode?"updated":"created"}.`),t.aGet(t._loadProject,null,"load",{ppage:t.ppage,psize:t.psize})),t.view="PROJECT_LIST")}_loadProject(t,n){n.Errors?(t.s.loader=!1,t.status="loaded",console.log("Error occured:",n.Errors)):(t.status="loaded",t.showMore=!(n&&n?.projects?.length<10),t.projects=n?.projects||[],t.total=n?.meta?.total||0,t.company_users=n?.company_users||[],t.view="PROJECT_LIST",t.afterLoad(n))}_loadProjectsReceived(t,n){n.Errors?(t.s.loader=!1,t.status="loaded",console.log("Error occured:",n.Errors)):(t.status="loaded",t.showMore=!(n&&n?.projects?.length<10),t.projects=n?.projects||[],t.total=n?.meta?.total||0,t.view="PROJECT_LIST",t.afterLoad(n))}edit_project(t){this.project=t,this.view="ADD_PROJECT",this.mode="EDIT"}back(){this.view="PROJECT_LIST",this.project=new _.I,this.s.mainjs.pageScrollToTop()}backFromUsTab(){this.view="PROJECT_LIST",this.project=new _.I,this.s.mainjs.pageScrollToTop()}backFromCustomerTab(){this.view="RECEIVED_PROJECTS_LIST",this.s.mainjs.pageScrollToTop()}addProjects(){this.view="ADD_PROJECT",this.mode="ADD"}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(v.b),e.Y36(j.y),e.Y36(c.F0),e.Y36(c.gz),e.Y36(A.on),e.Y36(T.I_))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["bizhub-supplier-development-projects"]],features:[e.qOj],decls:8,vars:5,consts:[[1,"main-header","d-flex"],[1,"main-header-left","d-flex"],[1,"page-title"],["href","javascript:void(0);","class","go-back showMoreLink dark",3,"click",4,"ngIf"],["class","main-header-right d-flex",4,"ngIf"],[1,"main-body"],[4,"ngIf"],["href","javascript:void(0);",1,"go-back","showMoreLink","dark",3,"click"],[1,"arrow","arrow-left","d-inline-block"],["src","/assets/images/arrow-left2-sm.png","alt","",1,"d-block"],[1,"text"],[1,"main-header-right","d-flex"],["class","btn-group",4,"ngIf"],[1,"btn-group"],["href","javascript:void(0);",1,"btn","btn-sunglow",3,"click"],[1,"buy-sell-dashboard-filter","fira-regular"],[1,"row-2"],[1,"searchForm"],["autocomplete","off","spellcheck","fal
1se",1,"searchBarForm","position-relative"],[1,"form-label","position-absolute"],["width","20","height","20","viewBox","0 0 22 22","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.25 20.5C4.6 20.5 0 15.9 0 10.25C0 4.6 4.6 0 10.25 0C15.9 0 20.5 4.6 20.5 10.25C20.5 15.9 15.9 20.5 10.25 20.5ZM10.25 1.5C5.42 1.5 1.5 5.43 1.5 10.25C1.5 15.07 5.42 19 10.25 19C15.08 19 19 15.07 19 10.25C19 5.43 15.08 1.5 10.25 1.5Z","fill","#9D96A8"],["d","M20.7495 21.4995C20.5595 21.4995 20.3695 21.4295 20.2195 21.2795L18.2195 19.2795C17.9295 18.9895 17.9295 18.5095 18.2195 18.2195C18.5095 17.9295 18.9895 17.9295 19.2795 18.2195L21.2795 20.2195C21.5695 20.5095 21.5695 20.9895 21.2795 21.2795C21.1295 21.4295 20.9395 21.4995 20.7495 21.4995Z","fill","#9D96A8"],["type","text","name","search","id","search","placeholder","Search by Product Name or ID",1,"form-control","w-100",3,"ngModel","ngModelChange"],["value","Search","type","submit",1,"submit","triggerSearch","position-absolute"],[1,"right","flex-column"],[1,"right-row-1","d-flex"],[1,"dropdown-cont","d-flex"],[1,"dropdown-label","text-heather"],[1,"custom-select-status","custom-selected-no-border","custom-select-position-right"],[3,"cid","value","defaultText1","onChange"],["value","",3,"selected"],["value","New"],["value","Response Sent"],["value","Sample Received"],["value","Sample Not Received"],["value","Sample Approved"],["value","Sample Rejected"],["value","Supplier Accepted"],["value","Supplier On Hold"],["value","Supplier Rejected"],[1,"custom-select-duration","custom-selected-no-border","custom-select-position-right"],["value","","selected",""],["value","30 Days"],["value","3 Months"],["value","6 Months"],["value","1 Year"],["value","Custom Date"],[4,"ngIf","ngIfElse"],["noData2",""],[1,"d-flex","date-range-wrap"],[1,"date-range-col","date-range-start"],["appearance","standard"],["matInput","","placeholder","Start Date","autocomplete","off","disabled","",3,"matDatepicker","max","ngModel","ngModelChange"],["matSuffix","",3,"for"],["disabled","false"],["pickerStart",""],[1,"date-range-col","date-range-end"],["matInput","","placeholder","End Date","autocomplete","off","disabled","",3,"min","matDatepicker","ngModel","ngModelChange"],["pickerEnd",""],[4,"ngFor","ngForOf"],[3,"total","current","perPage","onPageChange"],[1,"buy-sell-dashboard-card","contract-detail-card","buy-sell-dashboard-card-details"],[1,"card-info"],[1,"",2,"position","relative"],[1,"card-cont","p-4"],["class","card-info-inline mb-2",4,"ngIf"],["class","text-pink fs-14",4,"ngIf"],[1,"card-info-inline","mt-1"],["class","fs-14",4,"ngIf"],["class","card-info-inline mt-1",4,"ngIf"],["class","mt-3 mb-3",3,"innerHtml",4,"ngIf"],["class","card-ribbon badge blue","style","-webkit-border-radius: 0rem; border-radius: 0rem;",4,"ngIf"],["class","card-ribbon badge affair","style","-webkit-border-radius: 0rem; border-radius: 0rem;",4,"ngIf"],["class","card-ribbon badge","style","-webkit-border-radius: 0rem; border-radius: 0rem;",3,"ngClass",4,"ngIf"],[1,"card-ribbon","badge","blue",2,"-webkit-border-radius","0rem","border-radius","0rem"],[1,"card-ribbon","badge","affair",2,"-webkit-border-radius","0rem","border-radius","0rem"],[1,"card-ribbon","badge",2,"-webkit-border-radius","0rem","border-radius","0rem",3,"ngClass"],[1,"card-info-inline","mb-2"],[1,"key"],[1,"value"],[1,"text-pink","fs-14"],[3,"routerLink"],["class","text-pink fs-16",4,"ngIf"],[1,"text-pink","fs-16"],[1,"fs-14"],[1,"mt-3","mb-3",3,"innerHtml"],["picture","no-pic.png","text","","action_text","",3,"prefix"]],template:function(n,a){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h3",2),e._uU(3),e.qZA(),e.YNc(4,w,5,0,"a",3),e.qZA(),e.YNc(5,J,2,1,"div",4),e.qZA(),e.TgZ(6,"div",5),e.YNc(7,le,60,11,"ng-container",6),e.qZA()),2&n&&(e.xp6(3),e.hij("Projects (",a.total,")"),e.xp6(1),e.Q6J("ngIf","ADD_PROJECT"==a.view),e.xp6(1),e.Q6J("ngIf","SELLING"!==(null==a.routeData?null:a.routeData.page)),e.xp6(2),e.Q6J("ngIf","loaded"==a.status&&e.DdM(4,se).includes(a.view)))},dependencies:[p.mk,p.sg,p.O5,c.rH,s._Y,s.YN,s.Kr,s.Fj,s.JJ,s.JL,s.On,s.F,y.Hw,x.v_,x.nX,S.k0,d.Mq,d.hl,d.nW,q.p,D.v,M.Q,p.rS,p.uU],styles:[".chart-container[_ngcontent-%COMP%]{position:relative;
1width:200px;height:200px;margin:auto}"]})}return o})();var pe=r(28347);const ue=[{path:"",redirectTo:"projects",pathMatch:"full"},{path:"projects",component:ce,data:{title:"Customer Development",page:"SELLING",breadcrumb:"Projects"}},{path:"projects/:id",component:(()=>{class o extends m.t{constructor(t,n,a,l,u){super(t),this.router=n,this.route=a,this.authService=l,this.bs=u,this.org=new h.YC,this.projectDetails=null,this.r="bizhub.profile"}goBack(){this.bs.lastPage()}onInit(){this.poadProjectDetails()}poadProjectDetails(){this.aGet(this._loadProjectDetails,null,"load_received_project_details",null,"")}_loadProjectDetails(t,n){n.Errors?(t.s.loader=!1,t.status="loaded",console.log("Error occured:",n.Errors)):t.afterLoad(n)}afterLoad(t){this.projectDetails=t,this.org=t?.organisation}static#e=this.\u0275fac=function(n){return new(n||o)(e.Y36(v.b),e.Y36(c.F0),e.Y36(c.gz),e.Y36(T.I_),e.Y36(j.y))};static#t=this.\u0275cmp=e.Xpm({type:o,selectors:[["app-project-details"]],features:[e.qOj],decls:10,vars:2,consts:[[1,"main-header","d-flex"],[1,"main-header-left","d-flex"],[1,"page-title"],["href","javascript:void(0);",1,"go-back","showMoreLink","dark",3,"click"],[1,"arrow","arrow-left","d-inline-block"],["src","/assets/images/arrow-left2-sm.png","alt","",1,"d-block"],[1,"text"],[3,"dashboard","projectDetails"]],template:function(n,a){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h3",2),e._uU(3,"Project"),e.qZA(),e.TgZ(4,"a",3),e.NdJ("click",function(){return a.goBack()}),e.TgZ(5,"span",4),e._UZ(6,"img",5),e.qZA(),e.TgZ(7,"span",6),e._uU(8,"Go Back "),e.qZA()()()(),e._UZ(9,"app-customer-project-details",7)),2&n&&(e.xp6(9),e.Q6J("dashboard","seller")("projectDetails",a.projectDetails))},dependencies:[pe.L]})}return o})(),data:{title:"Customer Development",page:"SELLING",breadcrumb:"Project"}}];let _e=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[c.Bz.forChild(ue),c.Bz]})}return o})();var de=r(85089);let ge=(()=>{class o{static#e=this.\u0275fac=function(n){return new(n||o)};static#t=this.\u0275mod=e.oAB({type:o});static#n=this.\u0275inj=e.cJS({imports:[p.ez,_e,Z.G,de.o]})}return o})()}}]);

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.