PageSourceSearch

http://t6bet.info/POS/assets/MerchantPaymentGatewayPage-Cqd1oHpI.js

js t6bet.info collected 2026-10-05 04:45:00 UTC 11,445 bytes, 1 lines download raw bytes

1import{r as l,j as e,A as k}from"./index-C9N68Nml.js";import{M as S,i as C}from"./MainLayout-B60CkJbH.js";import{L as v}from"./ListLayout-CncD7z50.js";import{g as x,a as I,s as R}from"./pgPartnerApi-BCHpwh34.js";import{R as w,C as p}from"./row-BMGOuI37.js";import{C as d,T as E}from"./index-B51QZpOR.js";import{R as g}from"./CheckCircleOutlined-CCqYdzIx.js";import{R as z}from"./BankOutlined-4GRwFmdB.js";import{R as B}from"./SafetyCertificateOutlined-BrhJgF_k.js";import{R as A}from"./FileTextOutlined-C7Dz5D7_.js";import{S as c}from"./index-BJ0N_-zb.js";import{R as T}from"./InfoCircleOutlined-Bf-Rtcp6.js";import{R as D}from"./KeyOutlined-KpzDmH8Y.js";import{I as P}from"./index-DKB8-pkv.js";import{R as W}from"./SearchOutlined-DOcgMXnS.js";import{F as K}from"./Table-CSDM2IBr.js";import{T as h}from"./index-C7WNLRAX.js";import{E as f}from"./index-D13lVgfJ.js";import"./TagOutlined-BZv95324.js";import"./UserOutlined-DPm7hUaz.js";/* empty css              */import"./ShopOutlined-D63pnsRC.js";import"./LeftOutlined-Cj3-vAE0.js";import"./LogoutOutlined-BXJOrqYG.js";import"./index-Dkx48qS1.js";import"./colors-BDW1OHtY.js";import"./Sider-lJTWjAnI.js";import"./collapse-BbEVqHco.js";import"./Overflow-DARdm6du.js";import"./DownOutlined-ChUDGHGa.js";import"./logistar-logo-D8VIqHsM.js";import"./chevron-right-BX2gP1b_.js";import"./Button-CB43iL1U.js";import"./ArrowLeftOutlined-DDIW5aGe.js";import"./PlusOutlined-BOnAhGQ2.js";import"./integrationApi-DctNm_aE.js";import"./partnerAccountApi-Dids4UQe.js";import"./responsiveObserver-B2KaMrz_.js";import"./TextArea-DYg_XV3I.js";import"./styleChecker-CpQQHCfD.js";import"./useMultipleSelect-ClO1QzWr.js";import"./index-_GkSJN2g.js";import"./index-CVWb3CPP.js";import"./index-D6zeOQmp.js";import"./useBreakpoint-PNsCGxbz.js";import"./useForceUpdate-BPMxGy4i.js";import"./Pagination-C3ja0tn0.js";import"./CheckOutlined-ymxd_ulb.js";const Ae=()=>{const[r,m]=l.useState(x()),[y,u]=l.useState([]),[s,j]=l.useState("");l.useEffect(()=>{m(x()),u(I())},[]);const a=(t,i)=>{const o={...r,[t]:i};m(o),R(o),k.success("Konfigurasi pembagian dokumen ke partner berhasil diperbarui.")},n=y.filter(t=>t.status==="APPROVED"),F=[r.shareKtp,r.shareNpwp,r.shareNib,r.shareHalal].filter(Boolean).length,b=n.filter(t=>{if(!s.trim())return!0;const i=s.toLowerCase();return t.merchantName&&t.merchantName.toLowerCase().includes(i)||t.businessType&&t.businessType.toLowerCase().includes(i)||t.merchantIdCredential&&t.merchantIdCredential.toLowerCase().includes(i)||t.merchantKeyId&&t.merchantKeyId.toLowerCase().includes(i)});return e.jsx(S,{children:e.jsx(v,{title:"Payment Gateway Merchant",subtitle:"Kerjasama Payment Gateway Partner & Berbagi Dokumen (KYC) serta pemantauan kredensial kasir merchant",breadcrumbs:[{label:"Manajemen Merchant"},{label:"Payment Gateway Merchant"}],showButtonAdd:!1,children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,marginTop:4},children:[e.jsxs(w,{gutter:[16,16],children:[e.jsx(p,{xs:24,sm:8,children:e.jsx(d,{bordered:!1,style:{borderRadius:12,background:"linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%)",border:"1px solid #E2E8F0"},bodyStyle:{padding:"16px 20px"},children:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14},children:[e.jsx("div",{style:{width:44,height:44,borderRadius:10,background:"#EFF6FF",display:"flex",alignItems:"center",justifyContent:"center",fontSize:20,color:"#2563EB"},children:e.jsx(C,{})}),e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:11,color:"#64748B",fontWeight:700,textTransform:"uppercase"},children:"Dokumen Legalitas Dibagikan"}),e.jsxs("div",{style:{fontSize:22,fontWeight:800,color:"#1E293B",marginTop:2},children:[F," / 4 ",e.jsx("span",{style:{fontSize:13,fontWeight:500},children:"Jenis Dokumen"})]})]})]})})}),e.jsx(p,{xs:24,sm:8,children:e.jsx(d,{bordered:!1,style:{borderRadius:12,background:"linear-gradient(135deg, #F4F7E6 0%, #FFFFFF 100%)",border:"1px solid #D5E3A3"},bodyStyle:{padding:"16px 20px"},children:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14},children:[e.jsx("div",{style:{width:44,height:44,borderRadius:10,background:"#E8F0C7",display:"flex",alignItems:"center",justifyContent:"center",fontSize:20,color:"#528F03"}
1,children:e.jsx(g,{})}),e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:11,color:"#475E0E",fontWeight:700,textTransform:"uppercase"},children:"Merchant Terverifikasi"}),e.jsxs("div",{style:{fontSize:22,fontWeight:800,color:"#528F03",marginTop:2},children:[n.length," ",e.jsx("span",{style:{fontSize:13,fontWeight:500,color:"#64748B"},children:"Merchant POS"})]})]})]})})}),e.jsx(p,{xs:24,sm:8,children:e.jsx(d,{bordered:!1,style:{borderRadius:12,background:"linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%)",border:"1px solid #E2E8F0"},bodyStyle:{padding:"16px 20px"},children:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:14},children:[e.jsx("div",{style:{width:44,height:44,borderRadius:10,background:"#F1F5F9",display:"flex",alignItems:"center",justifyContent:"center",fontSize:20,color:"#64748B"},children:e.jsx(z,{})}),e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:11,color:"#64748B",fontWeight:700,textTransform:"uppercase"},children:"Mitra Payment Gateway"}),e.jsxs("div",{style:{fontSize:22,fontWeight:800,color:"#1E293B",marginTop:2},children:["Prismalink"," ",e.jsx("span",{style:{fontSize:13,fontWeight:500,color:"#16A34A"},children:"(Aktif)"})]})]})]})})})]}),e.jsxs(d,{bordered:!1,style:{backgroundColor:"#FFFFFF",border:"1px solid #E2E8F0",borderRadius:12,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.04)"},bodyStyle:{padding:"20px 24px"},children:[e.jsxs("div",{style:{marginBottom:16},children:[e.jsxs("h3",{style:{fontSize:16,fontWeight:700,color:"#1E293B",margin:0,display:"flex",alignItems:"center",gap:8},children:[e.jsx(B,{style:{color:"#0284C7"}}),"Kerjasama Payment Gateway Partner & Berbagi Dokumen (KYC)"]}),e.jsx("p",{style:{fontSize:13,color:"#64748B",margin:"4px 0 0"},children:"Konfigurasi dokumen administrasi merchant yang dibagikan ke partner untuk memfasilitasi aktivasi QRIS & Direct Debit tanpa registrasi ganda."})]}),e.jsx(E,{defaultActiveKey:"kyc-settings",items:[{key:"kyc-settings",label:e.jsxs("span",{style:{fontWeight:600,fontSize:13,display:"inline-flex",alignItems:"center",gap:6},children:[e.jsx(A,{}),"Pengaturan Dokumen Legalitas (KYC)"]}),children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:14,paddingTop:4},children:[e.jsxs("div",{style:{backgroundColor:"#F0F9FF",border:"1px solid #BAE6FD",borderRadius:10,padding:"16px 18px"},children:[e.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#0369A1",marginBottom:12},children:"Dokumen Legalitas yang Dibagikan Otomatis ke Mitra Payment Gateway:"}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:12},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#FFFFFF",padding:"10px 14px",borderRadius:8,border:"1px solid #BAE6FD"},children:[e.jsx("span",{style:{fontSize:13,fontWeight:600,color:"#334155"},children:"KTP Pemilik Usaha"}),e.jsx(c,{checked:r.shareKtp,onChange:t=>a("shareKtp",t)})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#FFFFFF",padding:"10px 14px",borderRadius:8,border:"1px solid #BAE6FD"},children:[e.jsx("span",{style:{fontSize:13,fontWeight:600,color:"#334155"},children:"NPWP Pemilik / Badan"}),e.jsx(c,{checked:r.shareNpwp,onChange:t=>a("shareNpwp",t)})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#FFFFFF",padding:"10px 14px",borderRadius:8,border:"1px solid #BAE6FD"},children:[e.jsx("span",{style:{fontSize:13,fontWeight:600,color:"#334155"},children:"Nomor Induk Berusaha (NIB)"}),e.jsx(c,{checked:r.shareNib,onChange:t=>a("shareNib",t)})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#FFFFFF",padding:"10px 14px",borderRadius:8,border:"1px solid #BAE6FD"},children:[e.jsx("span",{style:{fontSize:13,fontWeight:600,color:"#334155"},children:"Sertifikat Halal"}),e.jsx(c,{checked:r.shareHalal,onChange:t=>a("shareHalal",t)})]})]})]}),e.jsxs("div",{style:{fontSize:12,color:"#64748B",backgroundColor:"#F8FAFC",border:"1px solid #E2E8F0",padding:"10px 14px",borderRadius:8,display:"flex",alignItems:"center",gap:8},children:[e.jsx(T,{style:{color:"#0284C7",fontSize:15}}),e.jsx("span",{children:"Dokumen legalitas yang diaktifkan di atas akan dibagikan secara terenkripsi saat merchant onboarding, mempercepat penerbitan kredensial kasir tanpa pengulangan upload."})]})]})},{key:"merchant-credentials",label:e.jsxs("span",{style:{fontWeight:600,fontSize:13,display:"inline-flex",alignItems:"center",gap:6},children:[e.jsx(D,{}),"Kredensial Mitra POS Kasir (",n.length,")"]}),children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,paddingTop:4},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:10},children:[e.jsx(P,{prefix:e.jsx(W,{style:{color:"#94A3B8"}}),placeholder:"Cari merchant, jenis usaha, atau ID kredensial...",value:s,onChange:t=>j(t.target.value),allowClear:!0,style:{width:340,borderRadius:8}}),e.jsxs("div",{style:{fontSize:12,color:"#64748B"},children:["Total Terverifikasi:"," ",e.jsxs("strong",{style:{color:"#16A34A"},children:[n.length," Merchant"]})]})]}),e.jsx(K,{rowKey:"id",dataSource:b,columns:[{title:"No",key:"no",
1width:50,align:"center",render:(t,i,o)=>o+1},{title:"Merchant & Sektor Usaha",key:"merchant",render:(t,i)=>e.jsxs("div",{children:[e.jsx("div",{style:{fontWeight:700,fontSize:13,color:"#1E293B"},children:i.merchantName}),e.jsxs("div",{style:{marginTop:2,display:"flex",gap:4,flexWrap:"wrap"},children:[e.jsx(h,{color:"cyan",style:{fontSize:11,borderRadius:4},children:i.businessType||"Retail"}),i.merchantType&&e.jsx(h,{style:{fontSize:11,borderRadius:4},children:i.merchantType})]})]})},{title:"Kredensial Gateway Terbitan Partner",key:"credentials",render:(t,i)=>e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:3},children:[e.jsxs("div",{style:{fontSize:11.5,fontFamily:"monospace",color:"#334155"},children:[e.jsx("span",{style:{color:"#64748B",fontWeight:600},children:"MERCHANT ID: "}),e.jsx("span",{style:{fontWeight:700,color:"#0F172A"},children:i.merchantIdCredential||"-"})]}),e.jsxs("div",{style:{fontSize:11.5,fontFamily:"monospace",color:"#334155"},children:[e.jsx("span",{style:{color:"#64748B",fontWeight:600},children:"KEY ID: "}),e.jsx("span",{style:{fontWeight:700,color:"#0F172A"},children:i.merchantKeyId||"-"})]}),e.jsxs("div",{style:{fontSize:11,fontFamily:"monospace",color:"#64748B"},children:[e.jsx("span",{style:{color:"#94A3B8"},children:"BASE URL: "}),e.jsx("span",{children:i.gatewayBaseUrl||"https://api.prismalink.co.id/v1"})]})]})},{title:"Status POS",key:"status",width:170,align:"center",render:()=>e.jsx(h,{color:"success",icon:e.jsx(g,{}),style:{fontWeight:600},children:"AKTIF DI POS KASIR"})}],pagination:{pageSize:5,showSizeChanger:!0,pageSizeOptions:["5","10","20","50"],showTotal:(t,i)=>`Menampilkan ${i[0]}-${i[1]} dari ${t} merchant`},size:"small",locale:{emptyText:e.jsx(f,{image:f.PRESENTED_IMAGE_SIMPLE,description:s?"Tidak ada kredensial merchant yang sesuai kata kunci pencarian.":"Belum ada kredensial merchant yang diterbitkan oleh partner."})}})]})}]})]})]})})})};export{Ae 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.