PageSourceSearch

https://vocus.cc/_next/static/chunks/23019.8724c9c75fa36b97.js

js vocus.cc collected 2026-09-24 08:33:29 UTC 1,334 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23019],{79972:()=>{},134789:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>o});var a=t(823798),s=t(621462),n=t(74042),i=t(59097),c=t(422264),r=t(677849),u=t(505724);let{ExcelFile:m}=n.Ay,{ExcelSheet:d}=n.Ay.ExcelFile,o=function(e){let{columns:l,data:t,isExporting:n,handleExport:o,sheetName:h="Sheet 1",filename:p="export",recordCount:f,buttonText:x="匯出 Excel",buttonComponent:E=null,hiddenButton:k=!1,clearData:A=()=>{}}=e,j=(0,u.A)(),w=(0,s.useMemo)(()=>l&&t?[{columns:l.map(e=>({title:e.Header,width:{wpx:180}})),data:t.map(e=>l.map(l=>({value:(0,i.A)(e[l.accessor])?"N/A":e[l.accessor]})))}]:null,[l,t]),y=(0,s.useMemo)(()=>f>2e4?"資料筆數超過上限":n?"正在輸出中...":x,[f,n,x]);if((0,s.useEffect)(()=>{A(t)},[t,A]),k)return null;let C=()=>{setTimeout(()=>{n&&(!t?.length||0===f)&&j({message:"目前下載資料量過而超出系統負荷量,如果持續輸出下載不下來,建議重整頁面並限縮搜尋範圍再進行下載。",type:r.D.INFO})},15e3),o()};return(0,a.jsxs)(a.Fragment,{children:[E?s.cloneElement(E,{onClick:C}):(0,a.jsx)(c.A,{disabled:n||f>2e4,variant:"Fill-Primary",size:"small",onClick:C,children:y}),w&&!n&&(0,a.jsx)(m,{hideElement:!0,filename:p,children:(0,a.jsx)(d,{name:h,dataSet:w})})]})}},337853:()=>{},997615:()=>{}}]);

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.