2 lines
18 KiB
JavaScript
2 lines
18 KiB
JavaScript
import{r as g,c as E,s as Z,o as ee,i as f,w as u,v as te,g as o,b as e,d as m,a as r,j as n,t as a,e as d,F as _,k as x,n as y,af as se,aQ as ae,aR as le,ae as oe,aU as re,l as ne}from"./index-BUdRbiwj.js";import{u as ie,a as de,d as ue,M as me,U as ve,e as V}from"./useMeterManagement-CqU4p7ia.js";import{F as ce,a as ge}from"./FPPageHeader-CTG2L28r.js";import{F as P}from"./FPInput-CzR_dWoe.js";import{F as b}from"./FPCard-qHzcEQAE.js";import{F as U}from"./FPCheckbox-Bu8jNAEW.js";import{F as xe}from"./FPModal-DWGF1LV8.js";import{F as D}from"./FPBadge-BKY5dPnL.js";import{F as ye}from"./FPTabs-R71V25QN.js";const fe={class:"px-6 py-8"},pe={key:0,class:"flex items-center justify-center h-64"},ke={key:1,class:"text-center py-12"},be={class:"text-gray-600 mb-6"},he={key:2,class:"space-y-8"},_e={class:"grid grid-cols-1 md:grid-cols-4 gap-6"},we={class:"flex items-center"},Ce={class:"flex-shrink-0"},Me={class:"ml-4"},Re={class:"text-2xl font-bold text-gray-900"},Ve={class:"flex items-center"},De={class:"ml-4"},Fe={class:"text-lg font-semibold text-gray-900"},Be={class:"flex items-center"},Te={class:"ml-4"},ze={class:"text-lg font-semibold text-gray-900"},je={class:"flex items-center"},Ne={class:"ml-4"},Se={key:0,class:"text-xs text-red-500"},Ee={key:0,class:"space-y-6"},Pe={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Ue={class:"space-y-2"},Le={class:"text-sm font-medium text-gray-900"},Ae={class:"text-sm font-medium text-gray-900"},He={class:"space-y-2"},Ie={key:0},qe={class:"text-sm font-medium text-gray-900"},Oe={key:1},$e={class:"text-sm font-medium text-gray-900"},Qe={key:2},We={class:"flex items-center space-x-2"},Ye={key:0,class:"text-xs text-gray-500"},Ge={class:"text-sm font-medium text-gray-900"},Je={key:0},Ke={class:"text-sm text-gray-700 leading-relaxed"},Xe={key:1,class:"space-y-6"},Ze={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},et={class:"space-y-3"},tt={class:"text-sm font-medium text-gray-900"},st={key:0},at={class:"text-sm font-medium text-gray-900"},lt={key:1},ot={class:"text-sm font-medium text-gray-900"},rt={key:2},nt={class:"text-sm font-medium text-orange-600"},it={key:3},dt={class:"text-sm font-medium text-red-600"},ut={class:"space-y-3"},mt={class:"text-sm font-medium text-gray-900"},vt={key:0},ct={class:"text-sm font-medium text-gray-900"},gt={key:1},xt={key:0,class:"text-xs text-red-500 ml-2"},yt={class:"border-t pt-6"},ft={class:"space-y-3"},pt={class:"flex items-center"},kt={class:"flex items-center"},bt={class:"flex items-center"},ht={key:2,class:"space-y-6"},_t={class:"flex items-center justify-between"},wt={class:"space-y-4"},Ct={key:0},Mt={class:"bg-gray-50 rounded-lg p-3 mb-4"},Rt={class:"font-medium text-gray-900"},Vt={class:"text-sm text-gray-600"},Dt={class:"text-xs text-gray-500 mt-1"},Ft={class:"block text-sm font-medium text-gray-700 mb-2"},Bt=["required"],Tt={key:0,class:"mt-1 text-sm text-red-600"},zt={class:"space-y-2"},qt={__name:"MeterDetailView",setup(jt){const L=Z(),A=te(),H=ie(),{recordMeterReading:I}=de(),{success:q,error:O}=ne(),w=g(!1),h=g(null),s=g(null),p=g("basic"),k=g(!1),C=g(!1),v=g({...V}),c=g({}),$=E(()=>parseInt(L.params.id)),Q=E(()=>[{key:"basic",label:"Basic Information",icon:"info"},{key:"config",label:"Configuration",icon:"cog"},{key:"readings",label:"Reading History",icon:"chart"}]),F=async()=>{try{w.value=!0,h.value=null;const l=await H.fetchMeterById($.value);s.value=l}catch(l){h.value=l.message||"Failed to load meter details"}finally{w.value=!1}},W=()=>{A.push(`/meters?edit=${s.value.id}`)},B=()=>{v.value={...V,meterId:s.value.id,readingDate:new Date().toISOString().split("T")[0]},c.value={},k.value=!0},Y=async()=>{try{C.value=!0,c.value={},await I(s.value.id,v.value,s.value),q("Reading recorded successfully"),k.value=!1,await F()}catch(l){O(l.message||"Failed to record reading")}finally{C.value=!1}},G=()=>{k.value=!1,v.value={...V},c.value={}},T=l=>ue[l]||l,z=l=>me[l]||l,M=l=>l?new Date(l).toLocaleDateString():null,J=l=>{const t=ve.find(i=>i.value===l);return(t==null?void 0:t.label)||l},j=l=>l?new Date(l)<new Date:!1,N=l=>l?new Date(l)<new Date:!1,S=l=>({active:"success",inactive:"secondary",out_of_service:"error",maintenance:"warning",calibration_due:"warning",faulty:"error"})[l]||"secondary",K=l=>({active:"bg-green-100",inactive:"bg-gray-100",out_of_service:"bg-red-100",maintenance:"bg-yellow-100",calibration_due:"bg-orange-100",faulty:"bg-red-100"})[l]||"bg-gray-100",X=l=>({active:"text-green-600",inactive:"text-gray-600",out_of_service:"text-red-600",maintenance:"text-yellow-600",calibration_due:"text-orange-600",faulty:"text-red-600"})[l]||"text-gray-600";return ee(()=>{F()}),(l,t)=>(o(),f(ce,null,{header:u(()=>{var i,R;return[m(ge,{title:((i=s.value)==null?void 0:i.name)||"Meter Details",description:s.value?`Meter #${s.value.id} - ${s.value.unit}`:"Loading meter details...",breadcrumbs:[{text:"Meters",to:"/meters"},{text:((R=s.value)==null?void 0:R.name)||"Details",to:null}]},{actions:u(()=>[s.value?(o(),f(d(_),{key:0,variant:"outline",size:"sm",onClick:W},{default:u(()=>t[8]||(t[8]=[e("svg",{class:"w-4 h-4 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"})],-1),x(" Edit Meter ",-1)])),_:1,__:[8]})):n("",!0),s.value&&s.value.status==="active"?(o(),f(d(_),{key:1,variant:"primary",size:"sm",onClick:B},{default:u(()=>t[9]||(t[9]=[e("svg",{class:"w-4 h-4 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})],-1),x(" Record Reading ",-1)])),_:1,__:[9]})):n("",!0)]),_:1},8,["title","description","breadcrumbs"])]}),default:u(()=>[e("div",fe,[w.value?(o(),r("div",pe,t[10]||(t[10]=[e("div",{class:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary-600"},null,-1)]))):h.value?(o(),r("div",ke,[t[12]||(t[12]=e("svg",{class:"w-16 h-16 mx-auto text-gray-300 mb-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),t[13]||(t[13]=e("h3",{class:"text-lg font-medium text-gray-900 mb-2"},"Failed to load meter",-1)),e("p",be,a(h.value),1),m(d(_),{variant:"outline",onClick:t[0]||(t[0]=i=>l.$router.push("/meters"))},{default:u(()=>t[11]||(t[11]=[x(" Back to Meters ",-1)])),_:1,__:[11]})])):s.value?(o(),r("div",he,[e("div",_e,[m(d(b),null,{default:u(()=>[e("div",we,[e("div",Ce,[e("div",{class:y(["w-8 h-8 rounded-lg flex items-center justify-center",K(s.value.status)])},[(o(),r("svg",{class:y(["w-5 h-5",X(s.value.status)]),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},t[14]||(t[14]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"},null,-1)]),2))],2)]),e("div",Me,[t[15]||(t[15]=e("div",{class:"text-sm font-medium text-gray-500"},"Status",-1)),e("div",Re,[m(d(D),{variant:S(s.value.status)},{default:u(()=>[x(a(T(s.value.status)),1)]),_:1},8,["variant"])])])])]),_:1}),m(d(b),null,{default:u(()=>[e("div",Ve,[t[17]||(t[17]=e("div",{class:"flex-shrink-0"},[e("div",{class:"w-8 h-8 rounded-lg bg-blue-100 flex items-center justify-center"},[e("svg",{class:"w-5 h-5 text-blue-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"})])])],-1)),e("div",De,[t[16]||(t[16]=e("div",{class:"text-sm font-medium text-gray-500"},"Type",-1)),e("div",Fe,a(z(s.value.type)),1)])])]),_:1}),m(d(b),null,{default:u(()=>[e("div",Be,[t[19]||(t[19]=e("div",{class:"flex-shrink-0"},[e("div",{class:"w-8 h-8 rounded-lg bg-green-100 flex items-center justify-center"},[e("svg",{class:"w-5 h-5 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})])])],-1)),e("div",Te,[t[18]||(t[18]=e("div",{class:"text-sm font-medium text-gray-500"},"Current Reading",-1)),e("div",ze,a(s.value.formattedCurrentReading||"0")+" "+a(s.value.unit),1)])])]),_:1}),m(d(b),null,{default:u(()=>[e("div",je,[t[21]||(t[21]=e("div",{class:"flex-shrink-0"},[e("div",{class:"w-8 h-8 rounded-lg bg-purple-100 flex items-center justify-center"},[e("svg",{class:"w-5 h-5 text-purple-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})])])],-1)),e("div",Ne,[t[20]||(t[20]=e("div",{class:"text-sm font-medium text-gray-500"},"Next Reading Due",-1)),e("div",{class:y(["text-lg font-semibold text-gray-900",j(s.value.nextReadingDate)?"text-red-600":""])},a(M(s.value.nextReadingDate)||"Not scheduled"),3),j(s.value.nextReadingDate)?(o(),r("div",Se," Overdue ")):n("",!0)])])]),_:1})]),m(d(b),null,{default:u(()=>[m(d(ye),{modelValue:p.value,"onUpdate:modelValue":t[1]||(t[1]=i=>p.value=i),tabs:Q.value},{default:u(()=>[p.value==="basic"?(o(),r("div",Ee,[e("div",Pe,[e("div",null,[t[26]||(t[26]=e("h4",{class:"text-sm font-medium text-gray-900 mb-2"},"Meter Information",-1)),e("dl",Ue,[e("div",null,[t[22]||(t[22]=e("dt",{class:"text-sm text-gray-500"},"Name",-1)),e("dd",Le,a(s.value.name),1)]),e("div",null,[t[23]||(t[23]=e("dt",{class:"text-sm text-gray-500"},"Type",-1)),e("dd",Ae,a(z(s.value.type)),1)]),e("div",null,[t[24]||(t[24]=e("dt",{class:"text-sm text-gray-500"},"Unit",-1)),e("dd",null,[m(d(D),{variant:"secondary"},{default:u(()=>[x(a(s.value.unit),1)]),_:1})])]),e("div",null,[t[25]||(t[25]=e("dt",{class:"text-sm text-gray-500"},"Status",-1)),e("dd",null,[m(d(D),{variant:S(s.value.status)},{default:u(()=>[x(a(T(s.value.status)),1)]),_:1},8,["variant"])])])])]),e("div",null,[t[31]||(t[31]=e("h4",{class:"text-sm font-medium text-gray-900 mb-2"},"Assignment & Location",-1)),e("dl",He,[s.value.assetName?(o(),r("div",Ie,[t[27]||(t[27]=e("dt",{class:"text-sm text-gray-500"},"Asset",-1)),e("dd",qe,a(s.value.assetName),1)])):n("",!0),s.value.locationName?(o(),r("div",Oe,[t[28]||(t[28]=e("dt",{class:"text-sm text-gray-500"},"Location",-1)),e("dd",$e,a(s.value.locationName),1)])):n("",!0),s.value.users&&s.value.users.length>0?(o(),r("div",Qe,[t[29]||(t[29]=e("dt",{class:"text-sm text-gray-500"},"Assigned Users",-1)),e("dd",We,[(o(!0),r(se,null,ae(s.value.users.slice(0,3),(i,R)=>(o(),f(d(le),{key:i.id,user:i,size:"sm"},null,8,["user"]))),128)),s.value.users.length>3?(o(),r("span",Ye," +"+a(s.value.users.length-3)+" more ",1)):n("",!0)])])):n("",!0),e("div",null,[t[30]||(t[30]=e("dt",{class:"text-sm text-gray-500"},"Reading Frequency",-1)),e("dd",Ge,a(J(s.value.updateFrequency)),1)])])])]),s.value.description?(o(),r("div",Je,[t[32]||(t[32]=e("h4",{class:"text-sm font-medium text-gray-900 mb-2"},"Description",-1)),e("p",Ke,a(s.value.description),1)])):n("",!0)])):n("",!0),p.value==="config"?(o(),r("div",Xe,[e("div",Ze,[e("div",null,[t[38]||(t[38]=e("h4",{class:"text-sm font-medium text-gray-900 mb-4"},"Reading Configuration",-1)),e("dl",et,[e("div",null,[t[33]||(t[33]=e("dt",{class:"text-sm text-gray-500"},"Decimal Places",-1)),e("dd",tt,a(s.value.decimalPlaces||2),1)]),s.value.minValue!==null?(o(),r("div",st,[t[34]||(t[34]=e("dt",{class:"text-sm text-gray-500"},"Minimum Value",-1)),e("dd",at,a(s.value.minValue)+" "+a(s.value.unit),1)])):n("",!0),s.value.maxValue!==null?(o(),r("div",lt,[t[35]||(t[35]=e("dt",{class:"text-sm text-gray-500"},"Maximum Value",-1)),e("dd",ot,a(s.value.maxValue)+" "+a(s.value.unit),1)])):n("",!0),s.value.warningThreshold!==null?(o(),r("div",rt,[t[36]||(t[36]=e("dt",{class:"text-sm text-gray-500"},"Warning Threshold",-1)),e("dd",nt,a(s.value.warningThreshold)+" "+a(s.value.unit),1)])):n("",!0),s.value.criticalThreshold!==null?(o(),r("div",it,[t[37]||(t[37]=e("dt",{class:"text-sm text-gray-500"},"Critical Threshold",-1)),e("dd",dt,a(s.value.criticalThreshold)+" "+a(s.value.unit),1)])):n("",!0)])]),e("div",null,[t[42]||(t[42]=e("h4",{class:"text-sm font-medium text-gray-900 mb-4"},"Calibration & Maintenance",-1)),e("dl",ut,[e("div",null,[t[39]||(t[39]=e("dt",{class:"text-sm text-gray-500"},"Calibration Interval",-1)),e("dd",mt,a(s.value.calibrationInterval||365)+" days",1)]),s.value.lastCalibrationDate?(o(),r("div",vt,[t[40]||(t[40]=e("dt",{class:"text-sm text-gray-500"},"Last Calibration",-1)),e("dd",ct,a(M(s.value.lastCalibrationDate)),1)])):n("",!0),s.value.nextCalibrationDate?(o(),r("div",gt,[t[41]||(t[41]=e("dt",{class:"text-sm text-gray-500"},"Next Calibration Due",-1)),e("dd",{class:y(["text-sm font-medium",N(s.value.nextCalibrationDate)?"text-red-600":"text-gray-900"])},[x(a(M(s.value.nextCalibrationDate))+" ",1),N(s.value.nextCalibrationDate)?(o(),r("span",xt,"(Overdue)")):n("",!0)],2)])):n("",!0)])])]),e("div",yt,[t[46]||(t[46]=e("h4",{class:"text-sm font-medium text-gray-900 mb-4"},"Reading Behavior",-1)),e("div",ft,[e("div",pt,[t[43]||(t[43]=e("svg",{class:"w-5 h-5 text-gray-400 mr-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),e("span",{class:y(["text-sm",s.value.isMonotonic?"text-green-600":"text-gray-500"])},a(s.value.isMonotonic?"Monotonic readings (values can only increase)":"Non-monotonic readings allowed"),3)]),e("div",kt,[t[44]||(t[44]=e("svg",{class:"w-5 h-5 text-gray-400 mr-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),e("span",{class:y(["text-sm",s.value.allowNegativeReadings?"text-green-600":"text-gray-500"])},a(s.value.allowNegativeReadings?"Negative readings allowed":"Negative readings not allowed"),3)]),e("div",bt,[t[45]||(t[45]=e("svg",{class:"w-5 h-5 text-gray-400 mr-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),e("span",{class:y(["text-sm",s.value.requiresComment?"text-orange-600":"text-gray-500"])},a(s.value.requiresComment?"Comment required with readings":"Comments optional for readings"),3)])])])])):n("",!0),p.value==="readings"?(o(),r("div",ht,[e("div",_t,[t[48]||(t[48]=e("h4",{class:"text-lg font-medium text-gray-900"},"Reading History",-1)),s.value.status==="active"?(o(),f(d(_),{key:0,variant:"primary",size:"sm",onClick:B},{default:u(()=>t[47]||(t[47]=[e("svg",{class:"w-4 h-4 mr-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"})],-1),x(" Add Reading ",-1)])),_:1,__:[47]})):n("",!0)]),t[49]||(t[49]=e("div",{class:"bg-gray-50 rounded-lg p-8 text-center"},[e("svg",{class:"w-12 h-12 mx-auto text-gray-400 mb-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})]),e("h3",{class:"text-lg font-medium text-gray-900 mb-2"},"Reading History"),e("p",{class:"text-gray-600 mb-4"},"Historical readings and trends would be displayed here")],-1))])):n("",!0)]),_:1},8,["modelValue","tabs"])]),_:1})])):n("",!0)]),m(d(xe),{modelValue:k.value,"onUpdate:modelValue":t[7]||(t[7]=i=>k.value=i),title:"Record Meter Reading",onConfirm:Y,onCancel:G,"confirm-text":"Record Reading",loading:C.value},{default:u(()=>[e("div",wt,[s.value?(o(),r("div",Ct,[e("div",Mt,[e("h4",Rt,a(s.value.name),1),e("p",Vt,a(s.value.description),1),e("div",Dt," Current: "+a(s.value.formattedCurrentReading||"0")+" "+a(s.value.unit),1)]),m(d(P),{modelValue:v.value.value,"onUpdate:modelValue":t[2]||(t[2]=i=>v.value.value=i),label:"Reading Value",type:"number",step:Math.pow(10,-(s.value.decimalPlaces||2)),placeholder:"Enter reading value",required:"",error:c.value.value},null,8,["modelValue","step","error"]),m(d(P),{modelValue:v.value.readingDate,"onUpdate:modelValue":t[3]||(t[3]=i=>v.value.readingDate=i),type:"date",label:"Reading Date",placeholder:"Select reading date",error:c.value.readingDate},null,8,["modelValue","error"]),e("div",null,[e("label",Ft,a(s.value.requiresComment?"Comment (Required)":"Comment (Optional)"),1),oe(e("textarea",{"onUpdate:modelValue":t[4]||(t[4]=i=>v.value.comment=i),class:y(["w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-primary-500 focus:border-primary-500",{"border-red-300":c.value.comment}]),placeholder:"Add any notes about this reading",rows:"3",required:s.value.requiresComment},null,10,Bt),[[re,v.value.comment]]),c.value.comment?(o(),r("p",Tt,a(c.value.comment),1)):n("",!0)]),e("div",zt,[m(d(U),{modelValue:v.value.isEstimated,"onUpdate:modelValue":t[5]||(t[5]=i=>v.value.isEstimated=i),label:"This is an estimated reading"},null,8,["modelValue"]),s.value.isMonotonic?(o(),f(d(U),{key:0,modelValue:v.value.isRollover,"onUpdate:modelValue":t[6]||(t[6]=i=>v.value.isRollover=i),label:"This is a rollover reading (meter reset to zero)"},null,8,["modelValue"])):n("",!0)])])):n("",!0)])]),_:1},8,["modelValue","loading"])]),_:1}))}};export{qt as default};
|