- Removed manifest link from index.html.

- Updated script and module preload links in index.html for optimized loading.
- Modified service worker (sw.js) to reflect new asset revisions and improve caching strategy.
- Updated configuration documentation in BT_RUN.md, docker-RUN.md, and manual_RUN.md to clarify currency rate settings.
This commit is contained in:
line-6000
2026-04-24 19:10:11 +08:00
parent 89be1fc967
commit 485059f60e
182 changed files with 509 additions and 241 deletions
+1
View File
@@ -0,0 +1 @@
import{$u as e,Ca as t,Da as n,Ea as r,Oa as i,Qu as a,Sa as o,Ta as s,ka as c,nd as l,wa as u}from"./messages-GNZRoNCJ.js";import{r as d}from"./route-B0n9n_C5.js";import{f,n as p,p as m,r as h,v as g}from"./data-table-DjSK-4cq.js";import{t as _}from"./badge-BPwdyK59.js";import{t as v}from"./use-table-url-state-ClTsU9gu.js";var y=l(e(),1),b=a(),x=[{name:`GMPay`,entries:[{method:`POST`,path:`/payments/gmpay/v1/order/create-transaction`}],requestFields:[`order_id`,`currency`,`token`,`network`,`amount`,`notify_url`,`signature`,`redirect_url?`,`name?`,`payment_type?`],callbackNote:t()},{name:`EPay Compatible`,entries:[{method:`POST`,path:`/payments/epay/v1/order/create-transaction/submit.php`},{method:`GET`,path:`/payments/epay/v1/order/create-transaction/submit.php`}],requestFields:[`pid`,`money`,`out_trade_no`,`notify_url`,`return_url?`,`name?`,`type?`,`sign`,`sign_type?`],callbackNote:o()}];function S({method:e}){return(0,b.jsx)(_,{className:e===`GET`?`rounded border border-blue-500/30 bg-blue-500/10 font-mono text-blue-600 dark:text-blue-400`:`rounded border border-emerald-500/30 bg-emerald-500/10 font-mono text-emerald-600 dark:text-emerald-400`,variant:`outline`,children:e})}function C({field:e}){return(0,b.jsx)(`code`,{className:`rounded bg-muted px-1.5 py-0.5 font-mono text-foreground text-xs`,children:e})}function w({item:e}){let t=e.entries.reduce((e,t)=>(e[t.path]||(e[t.path]=[]),e[t.path].push(t.method),e),{});return(0,b.jsx)(`div`,{className:`flex flex-col gap-1.5`,children:Object.entries(t).map(([e,t])=>(0,b.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,b.jsx)(`div`,{className:`flex gap-1.5`,children:t.map(e=>(0,b.jsx)(S,{method:e},e))}),(0,b.jsx)(`code`,{className:`whitespace-normal break-words font-mono text-sm`,children:e})]},e))})}function T({fields:e}){return(0,b.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:e.map(e=>(0,b.jsx)(C,{field:e},e))})}var E=d(`/_authenticated/payment-setup/integrations`);function D(){let{pagination:e,onPaginationChange:t,ensurePageInRange:a}=v({search:E.useSearch(),navigate:E.useNavigate(),pagination:{defaultPage:1,defaultPageSize:10}}),o=f({data:x,columns:(0,y.useMemo)(()=>[{accessorKey:`name`,header:n(),cell:({row:e})=>(0,b.jsx)(`span`,{className:`font-medium`,children:e.original.name})},{accessorKey:`entries`,header:r(),cell:({row:e})=>(0,b.jsx)(w,{item:e.original})},{accessorKey:`requestFields`,header:s(),cell:({row:e})=>(0,b.jsx)(T,{fields:e.original.requestFields})},{accessorKey:`callbackNote`,header:u(),cell:({row:e})=>(0,b.jsx)(`span`,{className:`whitespace-normal break-words text-muted-foreground text-sm`,children:e.original.callbackNote})}],[]),state:{pagination:e},onPaginationChange:t,getCoreRowModel:m(),getPaginationRowModel:g()});return(0,y.useEffect)(()=>{a(o.getPageCount())},[o,a]),(0,b.jsxs)(`div`,{className:`flex flex-1 flex-col gap-4`,children:[(0,b.jsxs)(`div`,{className:`space-y-1`,children:[(0,b.jsx)(`h3`,{className:`font-semibold text-lg`,children:c()}),(0,b.jsx)(`p`,{className:`text-muted-foreground text-sm`,children:i()})]}),(0,b.jsx)(h,{table:o}),(0,b.jsx)(p,{className:`mt-auto`,table:o})]})}function O(){return(0,b.jsx)(D,{})}var k=O;export{k as component};