PageSourceSearch

https://remsupp.com/_nuxt/uJqLcG1-.js

js remsupp.com collected 2026-10-02 05:04:57 UTC 5,197 bytes, 1 lines download raw bytes

1import{_ as G,T as K}from"./BHI3BXEy.js";import{_ as O}from"./CL7QIa4F.js";import{u as W}from"./DHOI82aN.js";import{_ as q}from"./DUOTfhsc.js";import{G as H}from"./BwV8rwJJ.js";import{C as J}from"./DIg-LrTb.js";import{m as Q,a as b,o as f,b as y,e as X,h as Y,w as Z,r as d,c as ee,aK as te,z as A,j as o,k as n,x as k,I as $,A as B,l as t,M as L,i as se,t as u,p as M,V as N,U as oe,N as P}from"./DBnAcPLz.js";import{S as ae}from"./-FNJKsPN.js";import{u as ne}from"./CU7G_wHp.js";import{V as le,a as R}from"./B0-L1Zz-.js";import{V as re}from"./uUMvzv1-.js";import{V as ie}from"./BzAvct4C.js";import{V as ce}from"./DFwjX3Bs.js";import"./CKKvky-0.js";import"./NKNYOpvE.js";import"./BYL4EWwP.js";import"./B3ssJMXs.js";import"./B9swicUK.js";import"./0txZbEVj.js";import"./DGepWmQu.js";import"./sSyLhA9z.js";import"./DbRlOAQX.js";import"./CjDwFTnJ.js";import"./D0S9ZIDT.js";import"./DcCdd-uj.js";import"./CtUNX8fU.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},l=new c.Error().stack;l&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[l]="7e5a74e2-36ba-46e6-8e39-57d86c7f6eba",c._sentryDebugIdIdentifier="sentry-dbid-7e5a74e2-36ba-46e6-8e39-57d86c7f6eba")}catch{}})();const de={viewBox:"0 0 384 512",width:"0.75em",height:"1em",role:"img","aria-hidden":"true",class:"v-icon__svg"};function ue(c,l){return f(),b("svg",de,l[0]||(l[0]=[y("path",{fill:"currentColor",d:"M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"},null,-1)]))}const me=Q({name:"fa6-solid-arrow-up",render:ue}),pe={class:"mb-4"},fe={class:"d-flex align-center justify-end"},he={class:"text-caption mr-2"},ve={class:"font-weight-medium"},ge={key:0},ye={key:1},p=10,Oe=X({__name:"sessions",async setup(c){let l,w;const{$i18n:T}=Y(),r=([l,w]=Z(()=>T.createService("app")),l=await l,w(),l),z=[{title:r("history.sessionDate"),value:"startedAt",width:200,sortable:!1},{title:r("history.duration"),value:"duration",align:"center",sortable:!1},{title:r("history.device"),value:"host",sortable:!1},{title:r("history.deviceLoc"),value:"customerLocation",sortable:!1},{title:r("history.operator"),value:"accessedBy",sortable:!1},{title:r("history.operatorLoc"),value:"accessedFromLocation",sortable:!1}],V=W(),h=d(!1),_=d(!1),a=d(1),C=d([]),m=d(0),I=ee(()=>Math.ceil(m.value/p)),S=d(!1),v=d(""),{getSignal:E}=ne();function g(){h.value=!1,_.value=!0,k().company.$getSessions({companyId:V.id,pageNumber:a.value-1,pageSize:p,search:v.value,sortProperty:"startedAt",sortDirection:"DESC"},{signal:E()}).then(i=>{C.value=i.items,m.value=i.totalItemCount,S.value=i.totalItemCountWithoutSearch>p}).catch(i=>{i.isNetworkIssue&&(h.value=!0)}).finally(()=>_.value=!1)}function F(){_.value=!0,k().company.$clearSessions(V.id).then(()=>g())}function U(i,s){let e=Math.abs(i.getTime()-s.getTime());const x=Math.floor(e/36e5);e-=x*36e5;const D=Math.floor(e/6e4);e-=D*6e4;const j=Math.floor(e/1e3);return`${x}:${("0"+D).slice(-2)}:${("0"+j).slice(-2)}`}return te(()=>g()),A(a,()=>g()),A(v,()=>{a.value=1,g()}),(i,s)=>(f(),b("div",null,[y("div",pe,[o(le,null,{default:n(()=>[t(S)?(f(),$(R,{key:0,cols:"12",sm:"6",md:"4",class:"d-flex flex-grow-1 align-center"},{default:n(()=>[o(G,{modelValue:t(v),"onUpdate:modelValue":s[0]||(s[0]=e=>L(v)?v.value=e:null),"update-min-length":2},{default:n(e=>[o(K,se(e,{"prepend-inner-icon":t(H),placeholder:t(r)("history.searchPlaceholder"),"hide-details":"",clearable:"",density:"compact",maxlength:"50",style:{width:"100%"}}),null,16,["prepend-inner-icon","placeholder"])]),_:1},8,["modelValue"])]),_:1})):B("",!0),o(ie),t(I)>1?(f(),$(R,{key:1,cols:"12",sm:"6"},{default:n(()=>[y("div",fe,[y("div",he,u((t(a)-1)*p+1)+" - "+u(t(a)*p>t(m)?t(m):t(a)*p)+" / "+u(t(m)),1),o(M,{icon:"",variant:"plain",size:"small",disabled:t(a)===1,onClick:s[1]||(s[1]=e=>a.value--)},{default:n(()=>[o(N,{icon:t(oe)},null,8,["icon"])]),_:1},8,["disabled"]),o(M,{icon:"",variant:"plain",size:"small",disabled:t(a)===t(I),onClick:s[2]||(s[2]=e=>a.value++)},{default:n(()=>[o(N,{icon:t(J)},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1})):B("",!0)]),_:1})]),o(re,{flat:"",class:"pa-4"},{default:n(()=>[o(q,{modelValue:t(h),"onUpdate:modelValue":s[3]||(s[3]=e=>L(h)?h.value=e:null),onRefresh:s[4]||(s[4]=e=>g())},null,8,["modelValue"]),o(ce,{page:t(a),mobile:!1,headers:z,loading:t(_),items:t(C),"items-length":t(m),"no-data-text":t(r)("filters.nothingFound"),class:"text-body-2",sortAscIcon:t(me),sortDe
1scIcon:t(ae),"hide-default-footer":""},{"item.host":n(({item:e})=>[y("span",ve,u(e.device?e.device.name:e.customer),1)]),"item.startedAt":n(({item:e})=>[e.startedAt?(f(),b("span",ge,u(new Date(e.startedAt).toLocaleString()),1)):(f(),b("span",ye,"-"))]),"item.duration":n(({item:e})=>[P(u(U(new Date(e.endedAt),new Date(e.startedAt))),1)]),"item.accessedBy":n(({item:e})=>[P(u(e.accessedBy?e.accessedBy.name:"-"),1)]),_:1},8,["page","loading","items","items-length","no-data-text","sortAscIcon","sortDescIcon"])]),_:1}),o(O,{actions:[{name:"Clear",onClick:()=>F()}]},null,8,["actions"])]))}});export{Oe 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.