whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
public
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/public/Activities-jydPDPFe.js
import{u as d,bS as m,a as u,bv as x,f as p,b as h,j as e,C as y,b2 as f,S as j,bD as v,l as b,H as C,r as $,e as g}from"./bundle.OlIVtvc7.js";import{u as N}from"./QuoteSlider-CSPN6fM1.js";import"./EmailRecord-DsIG6Q4V.js";import"./InvoiceStatus-BkeECTVy.js";import"./invoice-status-We6cAxTk.js";import"./CloudPlay-C_FtsbNl.js";import"./History-C-yFGmPI.js";const w=C.div` background-color: ${({theme:t})=>t.backgroundColor}; &:hover { background-color: ${({theme:t})=>t.hoverBackgroundColor}; } `;function E(){const[t]=d(),{id:o}=m(),s=u(),{timeFormat:l}=x(),{dateFormat:i}=p(),n=N(),{data:a,isLoading:c}=h({queryKey:["/api/v1/activities/entity",o],queryFn:()=>$("POST",g("/api/v1/activities/entity"),{entity:"quote",entity_id:o}).then(r=>r.data.data),enabled:!!o,staleTime:1/0});return e.jsx(y,{title:t("activity"),className:"shadow-sm",style:{borderColor:s.$24},headerStyle:{borderColor:s.$20},withoutBodyPadding:!0,children:e.jsxs("div",{className:f("w-full px-2 pt-2",{"pb-10":a&&a.length,"pb-6":!a||!a.length}),children:[c&&e.jsx("div",{className:"flex justify-center",children:e.jsx(j,{})}),a&&!a.length&&e.jsx("div",{className:"px-3 pt-3 text-sm",children:t("api_404")}),a==null?void 0:a.map(r=>e.jsxs(w,{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(v,{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:n(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:b(r.created_at,`${i} ${l}`)}),e.jsx("span",{children:"-"}),e.jsx("span",{children:r.ip})]})]})]},r.id))]})})}export{E as default};
Copyright ©2021 || Defacer Indonesia