PageSourceSearch

https://platform.astaraconnect.com/_nuxt/BfoezVeO.js

js astaraconnect.com collected 2026-10-03 21:03:24 UTC 2,730 bytes, 1 lines download raw bytes

1import{H as R}from"./BP3ROxMe.js";import{C as S,R as y}from"./qx-wLInT.js";import{_,c as a,a as v,F as L,B as P,r as s,o as t,j as k,L as C,b as i,k as d,m as $,s as b,P as B,A as E,Q as u}from"./C2v3hyHA.js";import"./Cwdp6Lri.js";import"./B80lAjzs.js";import"./BZB7GLX3.js";import"./BWOAM3O4.js";import"./ByUWf9la.js";import"./D2Zqx2oK.js";import"./jhwHzzjy.js";import"./FRWlEdZd.js";import"./mIfO-8Gg.js";import"./BJCoE93g.js";import"./C9mND14B.js";import"./DUzqjo-O.js";import"./G9ko1Zou.js";import"./Cr9csnis.js";import"./CS4adoaC.js";import"./Bq7BkDbU.js";const F={components:{CardReport:S},props:{reportList:{type:Array,required:!0}}},H={class:"card__report-container"};function I(e,n,r,o,p,m){const l=s("CardReport");return t(),a("div",null,[v("div",H,[(t(!0),a(L,null,P(r.reportList,(c,f)=>(t(),k(l,{key:`report-${f}-${c.id}`,reportId:c.id},null,8,["reportId"]))),128))])])}const w=_(F,[["render",I],["__scopeId","data-v-c58f242f"]]),A={components:{Header:R,ReportsPanel:w,ReportsList:y,Loader:C},setup(){const{reportsServices:e,performanceServices:n,hasPerformance:r}=B();return{reportsServices:e,performanceServices:n,hasPerformance:r}},data(){return{companyReports:null}},async mounted(){const{prepareLinks:e}=E();await e(),this.hasPerformance&&!this.performanceServices.fleetPerformanceSummary?.results&&await this.retrieveFleetPerformanceCompanyReports(),this.hasPerformance&&(this.companyReports=this.performanceServices.fleetPerformanceSummary?.results??null)},computed:{...b(u,["performanceReportsListEnabled"]),reportList(){const e={...this.reportsServices};return this.hasPerformance&&this.performanceServices.fleetPerformanceSummary&&(e.fleetPerformanceSummary=this.performanceServices.fleetPerformanceSummary),Object.keys(e).map(r=>({...e[r],id:r})).sort((r,o)=>r.title>=o.title?1:-1)}},methods:{...$(u,["retrieveFleetPerformanceCompanyReports"]),openReport(e){this.$router.push(`/fleet-performance/${e.id}`)}},watch:{performanceServices(){this.hasPerformance&&(this.companyReports=this.performanceServices.fleetPerformanceSummary?.results??null)}}},N={class:"element--container"},V={key:0},j={key:1};function g(e,n,r,o,p,m){const l=s("Header"),c=s("ReportsPanel"),f=s("ReportsList"),h=s("Loader");return t(),a("div",N,[i(l,{title:e.$t("reports.title")},null,8,["title"]),i(c,{reportList:m.reportList},null,8,["reportList"]),o.hasPerformance&&e.performanceReportsListEnabled&&p.companyReports!==null?(t(),a("div",V,[i(f,{results:p.companyReports,onSelected:m.openReport},null,8,["results","onSelected"])])):d("",!0),o.hasPerformance&&e.performanceReportsListEnabled&&p.companyReports===null?(t(),a("div",j,[i(h)])):d("",!0)])}const oe=_(A,[["render",g],["__scopeId","data-v-2f4eb347"]]);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.