whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
public
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/public/Activities-KnS3vSlY.js
import{u as m,bS as u,a as x,bv as p,f as h,b as y,j as e,C as f,b2 as v,S as j,bD as b,l as C,H as N,r as $,e as g}from"./bundle.OlIVtvc7.js";import{u as w}from"./useGenerateActivityElement-6K_jcbzu.js";import{b as k}from"./payments-BhlrdSKU.js";const S=N.div` background-color: ${({theme:t})=>t.backgroundColor}; &:hover { background-color: ${({theme:t})=>t.hoverBackgroundColor}; } `;function P(){const[t]=m(),{id:l}=u(),s=x(),{timeFormat:n}=p(),{data:i}=k({id:l}),{dateFormat:c}=h(),d=w(),{data:a,isLoading:o}=y({queryKey:["/api/v1/activities/entity",l],queryFn:()=>$("POST",g("/api/v1/activities/entity"),{entity:"payment",entity_id:l}).then(r=>r.data.data),enabled:!!l,staleTime:1/0});return e.jsx(f,{title:t("activity"),className:"shadow-sm",style:{borderColor:s.$24},headerStyle:{borderColor:s.$20},withoutBodyPadding:!0,children:e.jsxs("div",{className:v("w-full px-2 pt-2",{"pb-10":a&&a.length,"pb-6":!a||!a.length}),children:[o&&e.jsx("div",{className:"flex justify-center",children:e.jsx(j,{})}),!o&&a&&!a.length&&e.jsx("div",{className:"px-3 pt-3 text-sm",children:t("api_404")}),e.jsx("div",{className:"flex flex-col w-full",children:!o&&i&&a&&a.map(r=>e.jsxs(S,{className:"flex space-x-3 p-4 rounded-md flex-1 min-w-0",theme:{backgroundColor:s.$1,hoverBackgroundColor:s.$25},children:[e.jsx("div",{className:"flex items-center justify-center",children:e.jsx("div",{className:"p-2 rounded-full",style:{backgroundColor:s.$20},children:e.jsx(b,{size:"1.3rem",color:s.$16,filledColor:s.$16})})}),e.jsxs("div",{className:"flex flex-col space-y-0.5 flex-1 min-w-0",children:[e.jsx("div",{className:"text-sm",style:{color:s.$3},children:d(r)}),e.jsxs("div",{className:"flex w-full items-center space-x-1 text-xs truncate",style:{color:s.$17},children:[e.jsx("span",{className:"whitespace-nowrap",children:C(r.created_at,`${c} ${n}`)}),e.jsx("span",{children:"-"}),e.jsx("span",{children:r.ip})]})]})]},r.id))})]})})}export{P as default};
Copyright ©2021 || Defacer Indonesia