PageSourceSearch

https://app.solarmounts.com/assets/ToolsDashboard-CoyJMXEt.js

js solarmounts.com collected 2026-09-29 12:29:04 UTC 4,861 bytes, 1 lines download raw bytes

1import{e as j,b as I,s as q,ak as c,c as g,B as r,Y as n,Z as e,m as o,G as s,D as _,a7 as k,F as v,_ as z,a5 as T,a9 as F,aa as M,ab as P,$ as p,I as S,H as W,R as E,u as A}from"./vue-vendor-BMvpZa4V.js";import{v as y,ad as G,ae as H,af as Q,ag as U,ah as Y,ai as Z}from"./main-CZORbKhf.js";import{V as f,a as b}from"./VRow-6JypgA9B.js";import{j as J}from"./VTextField-hPtwi0xR.js";import{V as B,d as K}from"./VCard-BQ-bf_OJ.js";import{V as O}from"./VContainer-DppfnIU_.js";import{a as X}from"./VChip-D-Bvj_4Z.js";import{_ as ee}from"./maps-96CxzyaJ.js";import"./vuetify-CLPWijns.js";import"./charts-CNu3hdr2.js";/* empty css              */import"./index-ByLBOOs7.js";import"./index-DTDz0dGI.js";import"./VAvatar-CL8ht_1J.js";const C=d=>(F("data-v-2de954e7"),d=d(),M(),d),te={class:"d-flex align-center justify-space-between flex-wrap"},ae=C(()=>s("div",null,[s("h1",{class:"text-h4 font-weight-bold mb-2"},"Engineering Tools"),s("p",{class:"text-body-1 text-medium-emphasis"},"Professional calculators and utilities for electrical design")],-1)),oe={class:"text-h6 font-weight-medium mb-4 text-medium-emphasis"},se={class:"text-subtitle-1 font-weight-semibold mb-2"},le={class:"text-body-2 text-medium-emphasis mb-3",style:{"min-height":"44px"}},re={class:"d-flex align-center justify-space-between"},ie=C(()=>s("h3",{class:"text-h6 mb-2"},"No tools found",-1)),ce=C(()=>s("p",{class:"text-body-2 text-medium-emphasis"},"Try adjusting your search query",-1)),ne=j({__name:"ToolsDashboard",setup(d){const D=P(),u=I(""),h=q([{id:"battery-estimator",title:"Battery Estimator",description:"Calculate optimal battery sizing for solar installations",icon:c(G),color:"primary",path:"/tools/battery-estimator",category:"Energy Storage"},{id:"voltage-drop",title:"Voltage Drop Calculator",description:"Calculate voltage drop and wire sizing for electrical circuits",icon:c(H),color:"warning",path:"/tools/voltage-drop",category:"Electrical"},{id:"conduit-sizing",title:"Conduit Sizing Tool",description:"Determine proper conduit size based on NEC requirements",icon:c(Q),color:"success",path:"/tools/conduit-sizing",category:"Electrical"},{id:"load-calculation",title:"Load Calculation",description:"Perform residential and commercial load calculations",icon:c(U),color:"info",path:"/tools/load-calculation",category:"Electrical"},{id:"wind-calculations",title:"Wind Load Calculator",description:"Calculate wind loads for solar panel installations",icon:c(Y),color:"error",path:"/tools/wind-calculations",category:"Structural"}]),L=g(()=>[...new Set(h.value.map(a=>a.category))].sort()),x=g(()=>{if(!u.value)return h.value;const l=u.value.toLowerCase();return h.value.filter(a=>a.title.toLowerCase().includes(l)||a.description.toLowerCase().includes(l)||a.category.toLowerCase().includes(l))}),R=g(()=>{const l={};return L.value.forEach(a=>{l[a]=x.value.filter(i=>i.category===a)}),l}),$=l=>{D.push(l)},m=I(null),N=c(Z);return(l,a)=>(r(),n(O,{fluid:"",class:"pa-6"},{default:e(()=>[o(b,{class:"mb-8"},{default:e(()=>[o(f,{cols:"12"},{default:e(()=>[s("div",te,[ae,o(J,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=i=>u.value=i),"prepend-inner-icon":"mdi-magnify",placeholder:"Search tools...",variant:"solo",density:"comfortable","hide-details":"",clearable:"",class:"tool-search",style:{"max-width":"320px"}},null,8,["modelValue"])])]),_:1})]),_:1}),(r(!0),_(v,null,k(R.value,(i,w)=>(r(),_(v,{key:w},[i.length>0?(r(),n(b,{key:0,class:"mb-6"},{default:e(()=>[o(f,{cols:"12"},{default:e(()=>[s("h2",oe,p(w),1)]),_:2},1024),(r(!0),_(v,null,k(i,t=>(r(),n(f,{key:t.id,cols:"12",sm:"6",md:"4",lg:"3"},{default:e(()=>[o(B,{class:S(["tool-card",{"tool-card-hover":m.value===t.id}]),elevation:"0",onClick:V=>$(t.path),onMouseenter:V=>m.value=t.id,onMouseleave:a[1]||(a[1]=V=>m.value=null)},{default:e(()=>[o(K,{class:"pa-5"},{default:e(()=>[s("div",{class:S(`icon-container bg-${t.color}-lighten-5 mb-4`),style:W(`background: rgba(var(--v-theme-${t.color}), 0.08);`)},[o(y,{color:t.color,size:"28"},{default:e(()=>[(r(),n(E(t.icon)))]),_:2},1032,["color"])],6),s("h3",se,p(t.title),1),s("p",le,p(t.description),1),s("div",re,[o(X,{size:"small",variant:"tonal",color:t.color,class:"text-caption"},{default:e(()=>[z(p(t.category),1)]),_:2},1032,["color"]),o(y,{color:m.value===t.id?t.color:"grey",size:"20",class:"arrow-icon"},{default:e(()=>[(r(),n(E(A(N))))]),_:2},1032,["color"])])]),_:2},1024)]),_:2},1032,["class","onClick","onMouseenter"])]),_:2},1024))),128))]),_:2},1024)):T("",!0)],64))),128)),x.value.length===0?(r(),n(b,{key:0},{default:e(()=>[o(f,{cols:"12"},{default:e(()=>[o(B,{elevation:"0",class:"pa-12 text-center"},{default:e(()=>[o(y,{size:"64",color:"grey-lighten-1",class:"mb-4"},{default:e(()=>[z(" mdi-magnify-close ")]),_:1}),ie,ce]),_:1})]),_:1})]),_:1})):T("",!0)]),_:1}))}}),Ve=ee(ne,[["__scopeId","data-v-2de954e7"]]);export{Ve 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.