PageSourceSearch

https://dexomy.com/_next/static/chunks/pages/user/buy-order-history-922546b2b86f6f80.js

js dexomy.com collected 2026-10-03 22:59:16 UTC 8,059 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3222],{99982:function(e,r,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/buy-order-history",function(){return a(94277)}])},23347:function(e,r,a){"use strict";a.d(r,{Z:function(){return v}});var t=a(8014),d=a(73094),n=a(89876),s=(a(56168),a(61654)),l=a(49995),i=a(64685),x=a(62044),c=a(36458),o=a(75657),u=a.n(o),p=a(75332),m=a(37816);function h(){var e,r,a,d,n,s,l=(0,x.Z)("common").t,i=(0,p.useRouter)(),o=(0,m.v9)((function(e){return e.common})).settings;return(0,t.jsx)("div",{className:" tradex-h-fit tradex-bg-background-main tradex-rounded-lg tradex-border tradex-border-background-primary tradex-shadow-[2px_2px_23px_0px_#6C6C6C0D] tradex-px-4 tradex-pt-12 tradex-pb-6 tradex-space-y-8",children:(0,t.jsxs)("div",{className:" tradex-space-y-4",children:[null===c.eA||void 0===c.eA?void 0:c.eA.map((function(e,r){return(0,t.jsx)(u(),{href:e.link,children:(0,t.jsx)("a",{className:" tradex-inline-block tradex-w-full tradex-py-3 tradex-px-2.5 tradex-rounded tradex-bg-background-primary !tradex-text-title tradex-text-xl tradex-leading-6 ".concat(i.pathname==e.link&&"tradex-bg-primary !tradex-text-white"),children:l(null===e||void 0===e?void 0:e.label)})},r)})),1===parseInt(null===o||void 0===o?void 0:o.swap_status)&&(0,t.jsx)(u(),{href:"/user/swap-history",children:(0,t.jsx)("a",{className:" tradex-inline-block tradex-w-full tradex-py-3 tradex-px-2.5 tradex-rounded tradex-bg-background-primary !tradex-text-title tradex-text-xl tradex-leading-6 ".concat("/user/swap-history"==i.pathname&&"tradex-bg-primary !tradex-text-white"),children:l("Swap History")})}),(null===o||void 0===o||null===(e=o.navbar)||void 0===e||null===(r=e.reports)||void 0===r||null===(a=r.fiatDepositHistory)||void 0===a?void 0:a.status)&&1===parseInt(o.currency_deposit_status)&&(0,t.jsx)(u(),{href:"/user/currency-deposit-history",children:(0,t.jsx)("a",{className:" tradex-inline-block tradex-w-full tradex-py-3 tradex-px-2.5 tradex-rounded tradex-bg-background-primary !tradex-text-title tradex-text-xl tradex-leading-6 ".concat("/user/currency-deposit-history"==i.pathname&&"tradex-bg-primary !tradex-text-white"),children:l("Fiat To Crypto deposit History")})}),(null===o||void 0===o||null===(d=o.navbar)||void 0===d||null===(n=d.reports)||void 0===n||null===(s=n.fiatWithdrawalHistory)||void 0===s?void 0:s.status)&&1===parseInt(o.currency_deposit_status)&&(0,t.jsx)(u(),{href:"/user/currency-withdraw-history",children:(0,t.jsx)("a",{className:" tradex-inline-block tradex-w-full tradex-py-3 tradex-px-2.5 tradex-rounded tradex-bg-background-primary !tradex-text-title tradex-text-xl tradex-leading-6 ".concat("/user/currency-withdraw-history"==i.pathname&&"tradex-bg-primary !tradex-text-white"),children:l("Crypto To Fiat withdrawal History")})})]})})}function v(e){var r=e.children;(0,x.Z)("common").t;return(0,t.jsxs)("div",{className:" tradex-relative",children:[(0,t.jsxs)("section",{className:"tradex-pt-[50px] tradex-relative",children:[(0,t.jsx)(d.Z,{}),(0,t.jsx)(n.Z,{}),(0,t.jsx)("div",{className:" tradex-container tradex-relative tradex-z-10",children:(0,t.jsxs)("div",{className:" tradex-grid tradex-grid-cols-1 lg:tradex-grid-cols-3 tradex-gap-6",children:[(0,t.jsx)(h,{}),(0,t.jsx)("div",{className:" lg:tradex-col-span-2 tradex-space-y-6",children:r})]})})]}),(0,t.jsx)(s.Z,{}),(0,t.jsx)(l.Z,{}),(0,t.jsx)(i.Z,{})]})}},94277:function(e,r,a){"use strict";a.r(r),a.d(r,{__N_SSP:function(){return m}});var t=a(43692),d=a(61557),n=a(8014),s=a(56168),l=a(95349),i=a(62044),x=a(68497),c=a(70940),o=a(2844),u=a(69884),p=a(23347),m=!0;r.default=function(){var e,r,a,m=(0,i.Z)("common").t,h=(0,s.useState)(""),v=h[0],b=h[1],g=(0,s.useState)("10"),y=g[0],j=g[1],f=(0,s.useState)({column_name:"created_at",order_by:"desc"}
1),_=f[0],N=(f[1],(0,s.useState)(!1)),w=N[0],k=N[1],C=(0,s.useState)([]),S=C[0],Z=C[1],H=(0,s.useState)([]),F=H[0],E=H[1],P=function(){var e=(0,t.Z)((function(){return(0,d.__generator)(this,(function(e){return(0,l.l_)(y,1,Z,k,E,_.column_name,_.order_by,v),[2]}))}));return function(){return e.apply(this,arguments)}}(),T=[{Header:m("Base Coin"),accessor:"base_coin"},{Header:m("Trade Coin"),accessor:"trade_coin"},{Header:m("Amount"),accessor:"amount",Cell:function(e){var r=e.cell;return(0,n.jsx)("div",{className:"blance-text",children:(0,n.jsx)("span",{className:"blance market incree",children:(0,x.xG)(null===r||void 0===r?void 0:r.value,8)})})}},{Header:m("Processed"),accessor:"processed",Cell:function(e){var r=e.cell;return(0,n.jsx)("div",{className:"blance-text",children:(0,n.jsx)("span",{className:"blance market incree",children:parseFloat(null===r||void 0===r?void 0:r.value).toFixed(8)})})}},{Header:m("Price"),accessor:"price",Cell:function(e){var r=e.cell;return(0,n.jsx)("div",{className:"blance-text",children:(0,n.jsx)("span",{className:"blance market incree",children:parseFloat(null===r||void 0===r?void 0:r.value).toFixed(8)})})}},{Header:m("Status"),accessor:"status",Cell:function(e){var r=e.cell;return(0,n.jsx)("div",{children:0===r.value?(0,n.jsx)("span",{className:"text-warning text-12",children:m("Pending")}):1===r.value?(0,n.jsxs)("span",{className:"text-success text-12",children:[" ",m("Success")]}):(0,n.jsx)("span",{className:"text-danger text-12",children:m("Failed")})})}},{Header:m("Date"),accessor:"created_at",Cell:function(e){var r=e.cell;return(0,n.jsx)("div",{children:(0,x.p6)(r.value)})}}];s.useEffect((function(){return P(),function(){Z([])}}),[y,v]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.Z,{children:(0,n.jsxs)("div",{className:"tradex-bg-background-main tradex-rounded-lg tradex-border tradex-border-background-primary tradex-shadow-[2px_2px_23px_0px_#6C6C6C0D] tradex-px-4 tradex-pt-6 tradex-pb-12 tradex-space-y-6",children:[(0,n.jsxs)("div",{className:" tradex-pb-4 tradex-border-b tradex-border-background-primary tradex-space-y-4",children:[(0,n.jsx)("h2",{className:" tradex-text-[32px] tradex-leading-[38px] md:tradex-text-[40px] md:tradex-leading-[48px] tradex-font-bold !tradex-text-title",children:m("Buy Order History")}),(0,n.jsxs)("div",{className:" tradex-flex tradex-flex-col md:tradex-flex-row tradex-gap-4 tradex-justify-between md:tradex-items-end",children:[(0,n.jsx)("div",{children:(0,n.jsxs)("label",{className:"!tradex-mb-0 tradex-text-base tradex-leading-6 tradex-font-semibold tradex-text-body",children:[m("Show"),(0,n.jsxs)("select",{className:" tradex-ml-4 !tradex-bg-background-main tradex-py-2.5 tradex-px-5 tradex-border !tradex-border-background-primary tradex-rounded tradex-text-sm tradex-leading-5 tradex-text-title",placeholder:"10",onChange:function(e){j(e.target.value)},value:y,children:[(0,n.jsx)("option",{value:"10",children:"10"}),(0,n.jsx)("option",{value:"25",children:"25"}),(0,n.jsx)("option",{value:"50",children:"50"}),(0,n.jsx)("option",{value:"100",children:"100"})]})]})}),(0,n.jsx)("div",{children:(0,n.jsx)("label",{className:" !tradex-mb-0 tradex-flex tradex-items-center tradex-text-xl tradex-leading-6 tradex-font-semibold tradex-text-body",children:(0,n.jsx)("input",{type:"search","aria-controls":"table",className:" !tradex-bg-transparent md:tradex-ml-4 tradex-py-2.5 tradex-px-3 tradex-border !tradex-border-background-primary tradex-rounded tradex-text-sm tradex-leading-5",value:v||"",onChange:function(e){return b(e.target.value)},placeholder:m("Search")})})})]})]}),(0,n.jsxs)("div",{className:" tradex-space-y-6",children:[(0,n.jsx)(o.Z,{columns:T,data:S||[],processing:w,isSearchable:!1,isSortEnable:!1}),(null===S||void 0===S?void 0:S.length)>0&&(0,n.jsx)(u.Z,{per_page:null===F||void 0===F||null===(e=F.items)||void 0===e?void 0:e.per_page,current_page:null===F||void 0===F||null===(r=F.items)||void 0===r?void 0:r.current_page,total:null===F||void 0===F||null===(a=F.items)||void 0===a?void 0:a.total,handlePageClick:function(e){(0,l.l_)(y,e.selected+1,Z,k,E,_.column_name,_.order_by,v)}})]})]})}),(0,n.jsx)(c.Z,{})]})}}},function(e){e.O(0,[2615,940,3083,5349,9774,2888,179],(function(){return r=99982,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.