PageSourceSearch

https://cms.businesswireindia.com/assets/CompanyDataReport-7fc31c08.js

js businesswireindia.com collected 2026-10-02 03:39:44 UTC 2,495 bytes, 2 lines download raw bytes

1import{r as c,s as P,w as t,P as E,ay as D,ak as u,aB as I}from"./index-8acdbf7a.js";const L=()=>{const[d,g]=c.useState([]),[r,i]=c.useState(1),s=10,l=r*s,m=l-s,h=d.slice(m,l),x=Math.ceil(d.length/s),[b,{isLoading:y,data:n,error:C}]=P();c.useEffect(()=>{n&&g(n)},[y,n,C]);const f=()=>{r>1&&i(r-1)},N=()=>{r<x&&i(r+1)},S=e=>{i(e)};return t.jsxs("div",{className:"p-3",children:[t.jsx(E,{title:"Search Company - Generate Excel"}),t.jsx(D,{onSubmitPress:e=>{b({searchType:"Company",SearchParam:{companyname:e.companyName,username:e.email,phone:e.mediaDetail.phone,mobile:e.mediaDetail.mobile,countryid:e.country,stateid:e.state,cityid:e.city,fromEntryDate:e.entryFromDate,toEntryDate:e.entryToDate,toModifiedDate:e.modifiedToDate,fromModifiedDate:e.modifiedFromDate,IsLogin:Number(e.loginAvailable),PrAgencyId:e.prAgency,Region:e.region,companyIds:e.companyIds,emailid:e.email,listedcompany:e.companyIds,companyCategory:e.companyCategory}})},loading:y}),n&&t.jsxs("div",{className:"mt-5 card card-body border-primary table-responsive",children:[t.jsxs("table",{className:"table table-striped table-hover table-bordered",children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{children:"S.N"}),t.jsx("th",{children:"Company Name"}),t.jsx("th",{children:"Website Url"}),t.jsx("th",{children:"Email (User Name)"}),t.jsx("th",{children:"Country"}),t.jsx("th",{children:"State"}),t.jsx("th",{children:"City"}),t.jsx("th",{children:"Address"})]})}),t.jsxs("tbody",{children:[h.length==0&&t.jsx("tr",{children:t.jsx("td",{colSpan:9,className:"text-center",children:"No Records Found"})}),h.map((e,a)=>t.jsxs("tr",{children:[t.jsx("td",{children:m+a+1}),t.jsx("td",{children:e["Company Name"]}),t.jsx("td",{children:e.Website}),t.jsx("td",{children:e["User Name (Email Id)"]}),t.jsx("td",{children:e.Country}),t.jsx("td",{children:e.state}),t.jsx("td",{children:e.City}),t.jsx("td",{children:e.Address})]},a.toString()))]})]}),t.jsx(u,{currentState:r,handlePrev:f,handleNext:N,totalPost:x,handlePages:S,pageSize:s,siblingCount:1,totalRecord:n==null?void 0:n.length}),t.jsx("div",{className:"mt-3  d-flex justify-content-center align-items-center",children:t.jsx("button",{className:"btn btn-primary btn-sm",onClick:()=>{if(n){const e=n==null?void 0:n.map(a=>{var p,j;return{...a,circuit:(j=(p=a.circuit)==null?void 0:p.map(o=>o.CircuitName))==null?void 0:j.toString().split(",").map(o=>o.trim()).join(`
2`)}});I(e,"Company Details")}},children:"Generate Excel"})})]})]})};export{L as default};

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.