diff --git a/web/settings/assets/ChargeLog-febc7246.js b/web/settings/assets/ChargeLog-3d2383df.js similarity index 96% rename from web/settings/assets/ChargeLog-febc7246.js rename to web/settings/assets/ChargeLog-3d2383df.js index 653e4d7afb..5a552aa531 100644 --- a/web/settings/assets/ChargeLog-febc7246.js +++ b/web/settings/assets/ChargeLog-3d2383df.js @@ -1,2 +1,2 @@ -import{l as D,N as C,O as q,F as R}from"./vendor-fortawesome-12056596.js";import{_ as k,$ as x,p as l,k as h,l as m,q as g,A as r,L as s,y as E,z as V,u as d,x as y,Q as F,R as B}from"./vendor-9bfbb89c.js";import{C as N}from"./index-8fe3a4a0.js";import"./vendor-sortablejs-8518b3e5.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";D.add(C,q);const S={name:"OpenwbChargeLog",components:{Vue3TableLite:x,FontAwesomeIcon:R},mixins:[N],emits:["sendCommand"],data(){return{dateTimeFormat:new Intl.DateTimeFormat("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),mqttTopicsToSubscribe:["openWB/general/extern","openWB/chargepoint/+/config","openWB/vehicle/+/name"],currentMonth:"",chargeLogRequestData:{month:"",year:"",filter:{chargepoint:{id:[]},vehicle:{id:[],chargemode:[],prio:void 0}}},downloadFile:null,table:{messages:{pagingInfo:"Einträge {0}-{1} von {2}",pageSizeChangeLabel:"Einträge:",gotoPageLabel:" Gehe zu:",noDataAvailable:"Keine Einträge gefunden."},pageOptions:[{value:5,text:"5"},{value:10,text:"10"},{value:25,text:"25"},{value:50,text:"50"},{value:100,text:"100"}],columns:[{label:"Beginn",field:"time_begin",sortable:!0},{label:"Ende",field:"time_end",sortable:!0},{label:"Fahrzeug",field:"vehicle_name",sortable:!0},{label:"Dauer",field:"time_time_charged",sortable:!0,display:e=>this.alignEnd(e.time_time_charged)},{label:"Energie",field:"data_imported_since_mode_switch",sortable:!0,display:e=>this.alignEnd(this.formatNumber(e.data_imported_since_mode_switch/1e3,2)+" kWh / "+this.formatNumber(e.data_range_charged,0)+" km")},{label:"Kosten",field:"data_costs",sortable:!0,display:e=>this.alignEnd(this.formatNumber(e.data_costs,2)+" €")},{label:"Lademodus",field:"vehicle_chargemode",sortable:!0,display:e=>'
'+e.vehicle_chargemode+"
"},{label:"Ladepunkt",field:"chargepoint_name",sortable:!0},{label:"Priorität",field:"vehicle_prio",display:e=>this.translateBool(e.vehicle_prio)}],sortable:{order:"timestamp_begin",sort:"asc"}},totals:{columns:[{label:"Dauer",field:"time_charged",sortable:!1,display:e=>this.alignEnd(e.time_charged)},{label:"Energie",field:"imported_since_mode_switch",sortable:!1,display:e=>this.alignEnd(this.formatNumber(e.imported_since_mode_switch/1e3,2)+" kWh")},{label:"Reichweite",field:"range_charged",sortable:!1,display:e=>this.alignEnd(this.formatNumber(e.range_charged,0)+" km")},{label:"Kosten",field:"costs",sortable:!1,display:e=>this.alignEnd(this.formatNumber(e.costs,2)+" €")}]}}},computed:{downloadUrl(){const e=parseInt(location.port)||(location.protocol=="https:"?443:80);return`${location.protocol}//${location.hostname}:${e}/openWB/web/settings/downloadChargeLog.php`+`?year=${this.chargeLogRequestData.year}&month=${this.chargeLogRequestData.month}`},chargeLogDate:{get(){return this.chargeLogRequestData.year+"-"+this.chargeLogRequestData.month},set(e){let t=e.split("-");this.chargeLogRequestData.year=t[0],this.chargeLogRequestData.month=t[1]}},chargeLogTotals(){return this.$store.state.mqtt["openWB/log/"+this.mqttClientId+"/data"]?[this.$store.state.mqtt["openWB/log/"+this.mqttClientId+"/data"].totals]:[]},chargeLogDataset:{get(){try{return this.$store.state.mqtt["openWB/log/"+this.mqttClientId+"/data"].entries.map(e=>{var t=Date.parse(e.time.begin),n=Date.parse(e.time.end);return{chargepoint_id:e.chargepoint.id,chargepoint_name:e.chargepoint.name,vehicle_id:e.vehicle.id,vehicle_name:e.vehicle.name,vehicle_chargemode:this.translateChargeMode(e.vehicle.chargemode),vehicle_rfid:e.vehicle.rfid,vehicle_prio:e.vehicle.prio,timestamp_begin:t/1e3,time_begin:this.dateTimeFormat.format(new Date(t)),timestamp_end:n/1e3,time_end:this.dateTimeFormat.format(new Date(n)),time_time_charged:e.time.time_charged,data_power:e.data.power,data_range_charged:e.data.range_charged,data_costs:e.data.costs,data_imported_since_plugged:e.data.imported_since_plugged,data_imported_since_mode_switch:e.data.imported_since_mode_switch}})}catch{return[]}}},chargeLogCsv:{get(){return[["Ladepunkt-ID","Ladepunkt","Fahrzeug-ID","Fahrzeug","Lademodus","Priorität","Beginn","Ende","Zeitstempel Beginn","Zeitstempel Ende","Dauer","Leistung","Energie","Reichweite","Kosten"],...this.chargeLogDataset.map(t=>[t.chargepoint_id,'"'+t.chargepoint_name+'"',t.vehicle_id,'"'+t.vehicle_name+'"','"'+t.vehicle_chargemode+'"','"'+this.translateBool(t.vehicle_prio,!1)+'"','"'+t.time_begin+'"','"'+t.time_end+'"','"'+t.timestamp_begin+'"','"'+t.timestamp_end+'"','"'+t.time_time_charged+'"',this.formatNumber(t.data_power/1e3,3),this.formatNumber(t.data_imported_since_mode_switch/1e3,2),this.formatNumber(t.data_range_charged,0),this.formatNumber(t.data_costs,2)])].map(t=>t.join(";")).join(` +import{l as D,N as C,O as q,F as R}from"./vendor-fortawesome-349077b4.js";import{_ as k,$ as x,p as l,k as h,l as m,q as g,A as r,L as s,y as E,z as V,u as d,x as y,Q as F,R as B}from"./vendor-2e22dd5c.js";import{C as N}from"./index-baf9de5e.js";import"./vendor-sortablejs-c63121b5.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";D.add(C,q);const S={name:"OpenwbChargeLog",components:{Vue3TableLite:x,FontAwesomeIcon:R},mixins:[N],emits:["sendCommand"],data(){return{dateTimeFormat:new Intl.DateTimeFormat("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),mqttTopicsToSubscribe:["openWB/general/extern","openWB/chargepoint/+/config","openWB/vehicle/+/name"],currentMonth:"",chargeLogRequestData:{month:"",year:"",filter:{chargepoint:{id:[]},vehicle:{id:[],chargemode:[],prio:void 0}}},downloadFile:null,table:{messages:{pagingInfo:"Einträge {0}-{1} von {2}",pageSizeChangeLabel:"Einträge:",gotoPageLabel:" Gehe zu:",noDataAvailable:"Keine Einträge gefunden."},pageOptions:[{value:5,text:"5"},{value:10,text:"10"},{value:25,text:"25"},{value:50,text:"50"},{value:100,text:"100"}],columns:[{label:"Beginn",field:"time_begin",sortable:!0},{label:"Ende",field:"time_end",sortable:!0},{label:"Fahrzeug",field:"vehicle_name",sortable:!0},{label:"Dauer",field:"time_time_charged",sortable:!0,display:e=>this.alignEnd(e.time_time_charged)},{label:"Energie",field:"data_imported_since_mode_switch",sortable:!0,display:e=>this.alignEnd(this.formatNumber(e.data_imported_since_mode_switch/1e3,2)+" kWh / "+this.formatNumber(e.data_range_charged,0)+" km")},{label:"Kosten",field:"data_costs",sortable:!0,display:e=>this.alignEnd(this.formatNumber(e.data_costs,2)+" €")},{label:"Lademodus",field:"vehicle_chargemode",sortable:!0,display:e=>'
'+e.vehicle_chargemode+"
"},{label:"Ladepunkt",field:"chargepoint_name",sortable:!0},{label:"Priorität",field:"vehicle_prio",display:e=>this.translateBool(e.vehicle_prio)}],sortable:{order:"timestamp_begin",sort:"asc"}},totals:{columns:[{label:"Dauer",field:"time_charged",sortable:!1,display:e=>this.alignEnd(e.time_charged)},{label:"Energie",field:"imported_since_mode_switch",sortable:!1,display:e=>this.alignEnd(this.formatNumber(e.imported_since_mode_switch/1e3,2)+" kWh")},{label:"Reichweite",field:"range_charged",sortable:!1,display:e=>this.alignEnd(this.formatNumber(e.range_charged,0)+" km")},{label:"Kosten",field:"costs",sortable:!1,display:e=>this.alignEnd(this.formatNumber(e.costs,2)+" €")}]}}},computed:{downloadUrl(){const e=parseInt(location.port)||(location.protocol=="https:"?443:80);return`${location.protocol}//${location.hostname}:${e}/openWB/web/settings/downloadChargeLog.php`+`?year=${this.chargeLogRequestData.year}&month=${this.chargeLogRequestData.month}`},chargeLogDate:{get(){return this.chargeLogRequestData.year+"-"+this.chargeLogRequestData.month},set(e){let t=e.split("-");this.chargeLogRequestData.year=t[0],this.chargeLogRequestData.month=t[1]}},chargeLogTotals(){return this.$store.state.mqtt["openWB/log/"+this.mqttClientId+"/data"]?[this.$store.state.mqtt["openWB/log/"+this.mqttClientId+"/data"].totals]:[]},chargeLogDataset:{get(){try{return this.$store.state.mqtt["openWB/log/"+this.mqttClientId+"/data"].entries.map(e=>{var t=Date.parse(e.time.begin),n=Date.parse(e.time.end);return{chargepoint_id:e.chargepoint.id,chargepoint_name:e.chargepoint.name,vehicle_id:e.vehicle.id,vehicle_name:e.vehicle.name,vehicle_chargemode:this.translateChargeMode(e.vehicle.chargemode),vehicle_rfid:e.vehicle.rfid,vehicle_prio:e.vehicle.prio,timestamp_begin:t/1e3,time_begin:this.dateTimeFormat.format(new Date(t)),timestamp_end:n/1e3,time_end:this.dateTimeFormat.format(new Date(n)),time_time_charged:e.time.time_charged,data_power:e.data.power,data_range_charged:e.data.range_charged,data_costs:e.data.costs,data_imported_since_plugged:e.data.imported_since_plugged,data_imported_since_mode_switch:e.data.imported_since_mode_switch}})}catch{return[]}}},chargeLogCsv:{get(){return[["Ladepunkt-ID","Ladepunkt","Fahrzeug-ID","Fahrzeug","Lademodus","Priorität","Beginn","Ende","Zeitstempel Beginn","Zeitstempel Ende","Dauer","Leistung","Energie","Reichweite","Kosten"],...this.chargeLogDataset.map(t=>[t.chargepoint_id,'"'+t.chargepoint_name+'"',t.vehicle_id,'"'+t.vehicle_name+'"','"'+t.vehicle_chargemode+'"','"'+this.translateBool(t.vehicle_prio,!1)+'"','"'+t.time_begin+'"','"'+t.time_end+'"','"'+t.timestamp_begin+'"','"'+t.timestamp_end+'"','"'+t.time_time_charged+'"',this.formatNumber(t.data_power/1e3,3),this.formatNumber(t.data_imported_since_mode_switch/1e3,2),this.formatNumber(t.data_range_charged,0),this.formatNumber(t.data_costs,2)])].map(t=>t.join(";")).join(` `)}},chargeLogRead:{get(){return this.chargeLogDataset!=null}},chargeLogHasEntries:{get(){return this.chargeLogDataset==null?!1:this.chargeLogDataset.length>0}},totalRecordCount(){return this.chargeLogDataset.length},chargeModeList(){let e=this.chargeModes.map(t=>({value:t,text:this.translateChargeMode(t)}));return e.unshift({value:void 0,text:"Alle"}),e},chargePointList(){let e=this.getWildcardTopics("openWB/chargepoint/+/config");var t=[{value:void 0,text:"Alle"}];for(const[,n]of Object.entries(e))t.push({value:n.id,text:n.name});return t},vehicleList(){let e=this.getWildcardTopics("openWB/vehicle/+/name");var t=[{value:void 0,text:"Alle"}];for(const[n,c]of Object.entries(e)){let i=parseInt(n.match(/\/([0-9]+)\/name$/)[1]);t.push({value:i,text:c})}return t}},methods:{cleanRequestData(){"id"in this.chargeLogRequestData.filter.chargepoint&&(this.chargeLogRequestData.filter.chargepoint.id=this.chargeLogRequestData.filter.chargepoint.id.filter(e=>e!=null)),"chargemode"in this.chargeLogRequestData.filter.vehicle&&(this.chargeLogRequestData.filter.vehicle.chargemode=this.chargeLogRequestData.filter.vehicle.chargemode.filter(e=>e!=null)),"id"in this.chargeLogRequestData.filter.vehicle&&(this.chargeLogRequestData.filter.vehicle.id=this.chargeLogRequestData.filter.vehicle.id.filter(e=>e!=null))},requestChargeLog(){if(document.forms.chargeLogForm.reportValidity())this.cleanRequestData(),this.$emit("sendCommand",{command:"getChargeLog",data:this.chargeLogRequestData});else{console.warn("form invalid");return}},makeTextFile(e){var t=new Blob([e],{type:"text/csv"});return this.downloadFile!==null&&window.URL.revokeObjectURL(this.downloadFile),this.downloadFile=window.URL.createObjectURL(t),this.downloadFile},downloadChargeLog(){this.$refs.downloadChargeLogLink.setAttribute("download","Ladeprotokoll-"+this.chargeLogDate+".csv"),this.$refs.downloadChargeLogLink.href=this.makeTextFile(this.chargeLogCsv),this.$refs.downloadChargeLogLink.dispatchEvent(new MouseEvent("click"))},alignEnd(e){return'
'+e+"
"},alignCenter(e){return'
'+e+"
"},translateBool(e,t=!0){let n="Nein",c="bg-danger";return e&&(n="Ja",c="bg-success"),t?'
'+n+"
":n},getChargeModeClass(e){switch(e){case"Sofort":return"bg-danger";case"PV":return"bg-success";case"Zielladen":return"bg-primary";case"Zeitladen":return"bg-warning";case"Standby":return"bg-secondary";case"Stop":return"bg-dark";default:return console.warn("unknown charge mode:",e),"bg-light"}},translateHeading(e){switch(e){case"time_charged":return"Dauer";case"range_charged":return"Reichweite";case"imported_since_mode_switch":return"Energie im Lademodus";case"imported_since_plugged":return"Energie seit Anstecken";case"power":return"Leistung";case"costs":return"Kosten";default:return console.warn("unknown heading:",e),e}}},mounted(){const e=new Date;this.currentMonth=this.chargeLogDate=e.getFullYear()+"-"+String(e.getMonth()+1).padStart(2,"0"),this.requestChargeLog()}},T=e=>(F("data-v-8607e7e7"),e=e(),B(),e),U={class:"chargeLog"},I={name:"chargeLogForm"},W=["href"],M={key:1},A={key:0},O={class:"row justify-content-center"},P={class:"hide",ref:"downloadChargeLogLink"},j=T(()=>g("div",{class:"row"},[g("div",{class:"col"},[g("h2",null,"Summe")])],-1));function z(e,t,n,c,i,a){const L=l("openwb-base-text-input"),p=l("font-awesome-icon"),v=l("openwb-base-button-group-input"),u=l("openwb-base-select-input"),_=l("openwb-base-card"),b=l("openwb-base-alert"),f=l("vue3-table-lite"),w=l("openwb-base-click-button");return h(),m("div",U,[g("form",I,[r(_,{title:"Filter"},{default:s(()=>[r(L,{title:"Zeitraum",subtype:"month",min:"2018-01",showQuickButtons:!0,max:i.currentMonth,modelValue:a.chargeLogDate,"onUpdate:modelValue":[t[0]||(t[0]=o=>a.chargeLogDate=o),t[1]||(t[1]=o=>a.requestChargeLog())]},null,8,["max","modelValue"]),r(_,{title:"Erweiterte Optionen",collapsible:!0,collapsed:!0},{header:s(()=>[r(p,{"fixed-width":"",icon:["fas","filter"]}),d(" Erweiterte Optionen ")]),default:s(()=>[r(v,{title:"Priorität",buttons:[{buttonValue:void 0,text:"Alle"},{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],modelValue:i.chargeLogRequestData.filter.vehicle.prio,"onUpdate:modelValue":[t[2]||(t[2]=o=>i.chargeLogRequestData.filter.vehicle.prio=o),t[3]||(t[3]=o=>a.requestChargeLog())]},null,8,["modelValue"]),r(u,{title:"Lademodus",multiple:"",options:a.chargeModeList,modelValue:i.chargeLogRequestData.filter.vehicle.chargemode,"onUpdate:modelValue":[t[4]||(t[4]=o=>i.chargeLogRequestData.filter.vehicle.chargemode=o),t[5]||(t[5]=o=>a.requestChargeLog())]},{help:s(()=>[d(" Es können mehrere Elemente ausgewählt werden. ")]),_:1},8,["options","modelValue"]),r(u,{title:"Ladepunkt",multiple:"",options:a.chargePointList,modelValue:i.chargeLogRequestData.filter.chargepoint.id,"onUpdate:modelValue":[t[6]||(t[6]=o=>i.chargeLogRequestData.filter.chargepoint.id=o),t[7]||(t[7]=o=>a.requestChargeLog())]},{help:s(()=>[d(" Es können mehrere Elemente ausgewählt werden. ")]),_:1},8,["options","modelValue"]),r(u,{title:"Fahrzeug",multiple:"",options:a.vehicleList,modelValue:i.chargeLogRequestData.filter.vehicle.id,"onUpdate:modelValue":[t[8]||(t[8]=o=>i.chargeLogRequestData.filter.vehicle.id=o),t[9]||(t[9]=o=>a.requestChargeLog())]},{help:s(()=>[d(" Es können mehrere Elemente ausgewählt werden. ")]),_:1},8,["options","modelValue"])]),_:1})]),_:1}),r(b,{subtype:"info"},{default:s(()=>[d(" Das komplette Ladeprotokoll kann automatisiert über folgende URL abgerufen werden: "),g("a",{href:a.downloadUrl},y(a.downloadUrl),9,W)]),_:1}),a.chargeLogRead?(h(),m("div",M,[r(f,{class:"charge-log-table","is-static-mode":!0,columns:i.table.columns,rows:a.chargeLogDataset,total:a.totalRecordCount,sortable:i.table.sortable,messages:i.table.messages,"page-options":i.table.pageOptions,limit:25},null,8,["columns","rows","total","sortable","messages","page-options"]),a.totalRecordCount>0?(h(),m("div",A,[g("div",O,[r(w,{class:"col-4 btn-success",onButtonClicked:t[10]||(t[10]=o=>a.downloadChargeLog())},{default:s(()=>[d(" Als CSV exportieren "),r(p,{"fixed-width":"",icon:["fas","download"]})]),_:1}),g("a",P,null,512)]),j,r(f,{class:"charge-log-totals","is-static-mode":!0,"is-hide-paging":!0,columns:i.totals.columns,rows:a.chargeLogTotals,total:1},null,8,["columns","rows"])])):V("",!0)])):(h(),E(b,{key:0,subtype:"info"},{default:s(()=>[d(" Es wurden noch keine Daten abgerufen. ")]),_:1}))])])}const X=k(S,[["render",z],["__scopeId","data-v-8607e7e7"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/ChargeLog.vue"]]);export{X as default}; diff --git a/web/settings/assets/ChargePointInstallation-f223a34b.js b/web/settings/assets/ChargePointInstallation-8c3836fb.js similarity index 94% rename from web/settings/assets/ChargePointInstallation-f223a34b.js rename to web/settings/assets/ChargePointInstallation-8c3836fb.js index 4bdda587c5..8c090f7692 100644 --- a/web/settings/assets/ChargePointInstallation-f223a34b.js +++ b/web/settings/assets/ChargePointInstallation-8c3836fb.js @@ -1 +1 @@ -import{l as H,d as G,S as Q,A as X,T as Y,U as K,J as ee,V as te,F as ne,W as ae}from"./vendor-fortawesome-12056596.js";import{_ as W,C as oe}from"./index-8fe3a4a0.js";import{_ as E}from"./dynamic-import-helper-be004503.js";import{_ as I,p as g,k as l,l as c,y as v,L as o,u as i,x as k,A as n,q as d,a0 as D,a1 as M,G as B,I as x,z as _,n as F,a2 as O,Q as ie,R as le}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const se={name:"ChargePointConfigFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0},chargePointType:String},methods:{updateConfiguration(e,a=void 0){this.$emit("update:configuration",{value:e,object:a})}}},re={class:"device-fallback"},ue={key:1};function de(e,a,u,P,m,p){const C=g("openwb-base-alert"),f=g("openwb-base-textarea");return l(),c("div",re,[Object.keys(u.configuration).length==0?(l(),v(C,{key:0,subtype:"info"},{default:o(()=>[i(' Der Ladepunkt-Typ "'+k(u.chargePointType)+'" bietet keine Einstellungen. ',1)]),_:1})):(l(),c("div",ue,[n(C,{subtype:"warning"},{default:o(()=>[i(' Es wurde keine Konfigurationsseite für den Ladepunkt-Typ "'+k(u.chargePointType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),n(f,{title:"Konfiguration",subtype:"json","model-value":u.configuration,"onUpdate:modelValue":a[0]||(a[0]=L=>p.updateConfiguration(L,"configuration"))},{help:o(()=>[i(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),n(C,{subtype:"info"},{default:o(()=>[d("pre",null,k(JSON.stringify(u.configuration,void 0,2)),1)]),_:1})]))])}const pe=I(se,[["render",de],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/OpenwbChargePointConfigFallback.vue"]]),me={name:"ChargePointCommandsFallback",props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0},chargePointType:String}},ce={class:"charge-point-commands-fallback"};function ge(e,a,u,P,m,p){const C=g("openwb-base-alert");return l(),c("div",ce,[n(C,{subtype:"secondary"},{default:o(()=>[i(' Der Ladepunkt-Typ "'+k(u.chargePointType)+'" bietet keine Befehle an. ',1)]),_:1})])}const he=I(me,[["render",ge],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/OpenwbChargePointCommandsFallback.vue"]]),fe={name:"OpenwbChargePointProxy",emits:["update:configuration"],props:{chargePointId:{required:!0},chargePointType:{type:String,required:!0},configuration:{type:Object,required:!0},moduleName:{type:String,required:!1,default:void 0}},computed:{myChargePointSettingsComponent(){return console.debug(`loading charge point settings: ${this.chargePointType}`),D({loader:()=>E(Object.assign({"./external_openwb/chargePoint.vue":()=>W(()=>import("./chargePoint-bb64f92a.js"),["assets/chargePoint-bb64f92a.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./internal_openwb/chargePoint.vue":()=>W(()=>import("./chargePoint-c0612da0.js"),["assets/chargePoint-c0612da0.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mqtt/chargePoint.vue":()=>W(()=>import("./chargePoint-e8e3d7f0.js"),["assets/chargePoint-e8e3d7f0.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_pro/chargePoint.vue":()=>W(()=>import("./chargePoint-5b99e3cb.js"),["assets/chargePoint-5b99e3cb.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_series2_satellit/chargePoint.vue":()=>W(()=>import("./chargePoint-2d9f1178.js"),["assets/chargePoint-2d9f1178.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smartwb/chargePoint.vue":()=>W(()=>import("./chargePoint-a68e7fc0.js"),["assets/chargePoint-a68e7fc0.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"])}),`./${this.chargePointType}/chargePoint.vue`),errorComponent:pe})},myChargePointCommandsComponent(){return console.debug(`loading charge point commands: ${this.chargePointType}`),D({loader:()=>E(Object.assign({"./openwb_pro/commands.vue":()=>W(()=>import("./commands-b4073fb3.js"),["assets/commands-b4073fb3.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"])}),`./${this.chargePointType}/commands.vue`),errorComponent:he})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}},be=d("hr",null,null,-1);function _e(e,a,u,P,m,p){const C=g("openwb-base-heading");return l(),c(B,null,[n(C,null,{default:o(()=>[i(" Einstellungen für Ladepunkt "+k(u.moduleName),1)]),_:1}),(l(),v(M(p.myChargePointSettingsComponent),{configuration:u.configuration,chargePointId:u.chargePointId,chargePointType:u.chargePointType,"onUpdate:configuration":a[0]||(a[0]=f=>p.updateConfiguration(f))},null,40,["configuration","chargePointId","chargePointType"])),be,n(C,null,{default:o(()=>[i(" Befehle für Ladepunkt "+k(u.moduleName),1)]),_:1}),(l(),v(M(p.myChargePointCommandsComponent),{configuration:u.configuration,chargePointId:u.chargePointId,chargePointType:u.chargePointType},null,8,["configuration","chargePointId","chargePointType"]))],64)}const we=I(fe,[["render",_e],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/OpenwbChargePointProxy.vue"]]);H.add(G,Q,X,Y,K,ee,te);const ke={name:"OpenwbChargePointInstallation",mixins:[oe],emits:["sendCommand"],components:{FontAwesomeIcon:ne,FontAwesomeLayers:ae,OpenwbChargePointProxy:we},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/optional/rfid/active","openWB/chargepoint/+/config","openWB/chargepoint/template/+","openWB/chargepoint/template/+/autolock/+","openWB/system/configurable/chargepoints","openWB/system/configurable/chargepoints_internal"],chargePointToAdd:void 0,showChargePointModal:!1,modalChargePointIndex:void 0,showChargePointTemplateModal:!1,modalChargePointTemplateIndex:void 0,showChargePointTemplateAutolockPlanModal:!1,modalChargePointTemplateAutolockPlanIndex:void 0}},computed:{installedChargePoints:{get(){let e=this.getWildcardTopics("openWB/chargepoint/+/config"),a={};for(const[u,P]of Object.entries(e))(P.type==="internal_openwb"||this.$store.state.mqtt["openWB/general/extern"]===!1)&&(a[u]=P);return a}},chargePointTemplates:{get(){return this.getWildcardTopics("openWB/chargepoint/template/+")}},chargePointTemplateList:{get(){let e=[];return Object.keys(this.chargePointTemplates).forEach(a=>{let u=parseInt(a.match(/([0-9]+)/g)[0]),P=this.$store.state.mqtt["openWB/chargepoint/template/"+u].name;e.push({value:u,text:P})}),e}}},methods:{addChargePoint(e){e.stopPropagation(),this.$emit("sendCommand",{command:"addChargepoint",data:{type:this.chargePointToAdd}})},removeChargePointModal(e,a){a.stopPropagation(),this.modalChargePointIndex=parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1]),this.showChargePointModal=!0},removeChargePoint(e,a){this.showChargePointModal=!1,a=="confirm"&&(console.debug("request removal of charge point '"+e+"'"),this.$emit("sendCommand",{command:"removeChargepoint",data:{id:e}}))},getChargePointList(){return this.$store.state.mqtt["openWB/general/extern"]===!1?this.$store.state.mqtt["openWB/system/configurable/chargepoints"]:this.$store.state.mqtt["openWB/system/configurable/chargepoints_internal"]},getChargePointName(e){return this.$store.state.mqtt["openWB/chargepoint/"+e+"/config"]?this.$store.state.mqtt["openWB/chargepoint/"+e+"/config"].name:"Ladepunkt "+e},getChargePointTemplateName(e){return this.$store.state.mqtt["openWB/chargepoint/template/"+e]?this.$store.state.mqtt["openWB/chargepoint/template/"+e].name:"Profil "+e},addChargePointTemplate(e){e.stopPropagation(),this.$emit("sendCommand",{command:"addChargepointTemplate",data:{}})},getChargePointTemplateIndex(e){return parseInt(e.match(/([^/]+)$/)[0])},removeChargePointTemplateModal(e,a){a.stopPropagation(),this.modalChargePointTemplateIndex=this.getChargePointTemplateIndex(e),this.showChargePointTemplateModal=!0},removeChargePointTemplate(e,a){this.showChargePointTemplateModal=!1,a=="confirm"&&(console.info("request removal of chargePoint template '"+e+"'"),this.$emit("sendCommand",{command:"removeChargepointTemplate",data:{id:e}}))},addChargePointTemplateAutolockPlan(e,a){a.stopPropagation(),console.info("requesting new charge point template autolock plan...");let u=this.getChargePointTemplateIndex(e);this.$emit("sendCommand",{command:"addAutolockPlan",data:{template:u}})},removeChargePointTemplateAutolockPlanModal(e,a,u){u.stopPropagation(),this.modalChargePointTemplateIndex=this.getChargePointTemplateIndex(e),this.modalChargePointTemplateAutolockPlanIndex=parseInt(a.match(/([^/]+)$/)[0]),this.showChargePointTemplateAutolockPlanModal=!0},removeChargePointTemplateAutolockPlan(e,a,u){this.showChargePointTemplateAutolockPlanModal=!1,u=="confirm"&&(console.info("request removal of chargePoint template '"+e+"' autolock plan '"+a+"'"),this.$emit("sendCommand",{command:"removeAutolockPlan",data:{template:e,plan:a}}))},getChargePointTemplateAutolockPlanName(e,a){return this.$store.state.mqtt["openWB/chargepoint/template/"+e+"/autolock/"+a]?this.$store.state.mqtt["openWB/chargepoint/template/"+e+"/autolock/"+a].name:"Autolock Zeitplan "+e+"/"+a},getChargePointTemplateAutolockPlans(e){let a=this.getChargePointTemplateIndex(e);return this.getWildcardTopics("openWB/chargepoint/template/"+a+"/autolock/+")},updateConfiguration(e,a){console.debug("updateConfiguration",e,a),this.updateState(e,a.value,a.object)}}},b=e=>(ie("data-v-75fe5743"),e=e(),le(),e),ve={class:"chargePointInstallation"},Ce={name:"chargePointInstallationForm"},ye={key:0},Pe=b(()=>d("hr",null,null,-1)),Ve={key:1},Le=b(()=>d("hr",null,null,-1)),We=b(()=>d("br",null,null,-1)),Te=b(()=>d("br",null,null,-1)),Be=b(()=>d("br",null,null,-1)),Se=b(()=>d("br",null,null,-1)),Ae={key:0},xe={class:"col-1"},Ie=b(()=>d("br",null,null,-1)),Ue=b(()=>d("ul",null,[d("li",null," Interne openWB - wenn diese openWB über einen verbauten Ladepunkt mit Regelcontroller verfügt (z.B. Standard(+), Custom, Duo, Buchse, NICHT Standalone); ansonsten immer anlegen, egal ob diese openWB steuert = primary oder ferngesteuert wird = secondary "),d("li",null," Externe openWB - wenn diese openWB (primary) die Fernsteuerung von externen openWB (secondary) übernimmt "),d("li",null," MQTT-Ladepunkt - nur zur Nutzung des openWB-Simulators zugelassen "),d("li",null," openWB Pro - wenn diese openWB (primary) die Fernsteuerung einer openWB Pro (secondary) übernimmt "),d("li",null," openWB series2 Satellit/Satellit Duo - wenn diese openWB (primary) die Fernsteuerung einer openWB series2 Satellit/Satellit Duo (secondary) übernimmt "),d("li",null," smartWB/EVSE-Wifi - wenn diese openWB (primary) die Fernsteuerung einer smartWB/EVSE-Wifi übernimmt ")],-1)),qe=b(()=>d("hr",{class:"border-secondary"},null,-1)),ze={key:0},Ee={key:1},De=b(()=>d("hr",null,null,-1)),Me={key:0},Fe=b(()=>d("br",null,null,-1)),Oe=["innerHTML"],Ne=b(()=>d("hr",null,null,-1)),Re=b(()=>d("br",null,null,-1)),je=b(()=>d("br",null,null,-1)),Ze=b(()=>d("a",{href:"https://github.com/openWB/core/wiki/Lastmanagement-und-kaskadierte-Z%C3%A4hler",target:"_blank",rel:"noopener noreferrer"},"Wiki zum Lastmanagement",-1)),$e=b(()=>d("hr",null,null,-1)),Je={key:0},He={key:1},Ge={key:2},Qe={key:2};function Xe(e,a,u,P,m,p){const C=g("openwb-base-modal-dialog"),f=g("font-awesome-icon"),L=g("openwb-base-avatar"),V=g("openwb-base-text-input"),U=g("openwb-base-select-input"),N=g("openwb-charge-point-proxy"),T=g("openwb-base-heading"),y=g("openwb-base-button-group-input"),S=g("openwb-base-card"),R=g("openwb-base-click-button"),j=g("font-awesome-layers"),q=g("openwb-base-alert"),Z=g("openwb-base-array-input"),z=g("openwb-base-range-input"),$=g("openwb-base-submit-buttons");return l(),c(B,null,[n(C,{show:m.showChargePointModal,title:"Ladepunkt löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:a[0]||(a[0]=s=>p.removeChargePoint(m.modalChargePointIndex,s))},{default:o(()=>[i(' Wollen Sie den Ladepunkt "'+k(p.getChargePointName(m.modalChargePointIndex))+'" (ID: '+k(m.modalChargePointIndex)+") wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ",1)]),_:1},8,["show"]),n(C,{show:m.showChargePointTemplateModal,title:"Ladepunkt-Profil löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:a[1]||(a[1]=s=>p.removeChargePointTemplate(m.modalChargePointTemplateIndex,s))},{default:o(()=>[i(' Wollen Sie das Ladepunkt-Profil "'+k(p.getChargePointTemplateName(m.modalChargePointTemplateIndex))+'" (ID: '+k(m.modalChargePointTemplateIndex)+") wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ",1)]),_:1},8,["show"]),n(C,{show:m.showChargePointTemplateAutolockPlanModal,title:"Autolock Zeitplan löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:a[2]||(a[2]=s=>p.removeChargePointTemplateAutolockPlan(m.modalChargePointTemplateIndex,m.modalChargePointTemplateAutolockPlanIndex,s))},{default:o(()=>[i(' Wollen Sie den Autolock Zeitplan "'+k(p.getChargePointTemplateAutolockPlanName(m.modalChargePointTemplateIndex,m.modalChargePointTemplateAutolockPlanIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),d("div",ve,[d("form",Ce,[n(S,{title:"Ladepunkte",subtype:"primary",collapsible:!0,collapsed:!0},{header:o(()=>[n(f,{"fixed-width":"",icon:["fas","charging-station"]}),i(" Ladepunkte ")]),default:o(()=>[(l(!0),c(B,null,x(p.installedChargePoints,(s,r)=>(l(),v(S,{key:r,title:s.name+" (ID: "+s.id+")",collapsible:!0,collapsed:!0,subtype:"primary"},{actions:o(t=>[t.collapsed?_("",!0):(l(),v(L,{key:0,class:"bg-danger clickable",onClick:w=>p.removeChargePointModal(r,w)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),default:o(()=>[n(V,{title:"Bezeichnung",subtype:"text","model-value":s.name,"onUpdate:modelValue":t=>e.updateState(r,t,"name")},null,8,["model-value","onUpdate:modelValue"]),n(V,{title:"Modul",subtype:"text",disabled:"",readonly:"","model-value":e.$store.state.mqtt[r].type},null,8,["model-value"]),s.type!=="internal_openwb"||e.$store.state.mqtt["openWB/general/extern"]===!1?(l(),c("span",ye,[n(U,{title:"Ladepunkt-Profil",options:p.chargePointTemplateList,"model-value":e.$store.state.mqtt[r].template,"onUpdate:modelValue":t=>e.updateState(r,t,"template")},null,8,["options","model-value","onUpdate:modelValue"])])):_("",!0),Pe,n(N,{chargePointId:s.id,chargePointType:e.$store.state.mqtt[r].type,moduleName:e.$store.state.mqtt[r].name,configuration:s.configuration,"onUpdate:configuration":t=>p.updateConfiguration(r,t)},null,8,["chargePointId","chargePointType","moduleName","configuration","onUpdate:configuration"]),s.type!=="internal_openwb"||e.$store.state.mqtt["openWB/general/extern"]===!1?(l(),c("div",Ve,[Le,n(T,null,{default:o(()=>[i("Hardware-Optionen")]),_:1}),n(y,{title:"automatische Phasenumschaltung vorhanden",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.auto_phase_switch_hw,"onUpdate:modelValue":t=>e.updateState(r,t,"auto_phase_switch_hw")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Control-Pilot-Unterbrechung vorhanden",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.control_pilot_interruption_hw,"onUpdate:modelValue":t=>e.updateState(r,t,"control_pilot_interruption_hw")},{help:o(()=>[i(' Die Control-Pilot-Leitung ist im Ladekabel integriert und dient der Steuerung der Fahrzeugladung (An/Aus/Stromvorgaben). Bei einigen Fahrzeugen können durch die Regelung erzwungene, längere Ladestopps (z.B. beim PV-Laden) zu unerwünschten "Einschlaf"-Effekten des Fahrzeuges führen. Mit diesem feature, welches hardwareseitig verbaut sein muss, kann ein Abstecken des Ladesteckers simuliert werden, um ein Aufwecken des Fahrzeuges zu ermöglichen. Die Funktion hängt immer auch vom Fahrzeugtyp ab. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,null,{default:o(()=>[i(" Elektrischer Anschluss ")]),_:1}),n(y,{title:"Anzahl angeschlossener Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:2,text:"2"},{buttonValue:3,text:"3"}],"model-value":s.connected_phases,"onUpdate:modelValue":t=>e.updateState(r,t,"connected_phases")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Phase 1 des Ladekabels",buttons:[{buttonValue:0,text:"unbekannt",class:"btn-outline-danger"},{buttonValue:1,text:"EVU L1",class:"btn-outline-success"},{buttonValue:2,text:"EVU L2",class:"btn-outline-success"},{buttonValue:3,text:"EVU L3",class:"btn-outline-success"}],"model-value":s.phase_1,"onUpdate:modelValue":t=>e.updateState(r,t,"phase_1")},{help:o(()=>[i(" Hier ist anzugeben, an welcher Phase des Hausanschlusses (EVU-Punkt) die Phase 1 dieses Ladepunktes angeschlossen ist. Diese Information wird für das Lastmanagement benötigt, um bei einer Schieflast gezielt einzelne Ladepunkte zu drosseln."),We,i(' Bei mehreren Ladepunkten macht es Sinn, die Phasen der LP rotierend anzuschließen, damit mehrere "nicht-dreiphasig" ladende Fahrzeuge mit optimaler Leistung laden können, bevor das Lastmanagement eingreift.'),Te,i(" Es wird vorausgesetzt, dass das Drehfeld innerhalb der Installation gleich bleibt. Wenn z.B. L1 des Ladepunktes auf EVU-L2 liegt, muss L2 des Ladepunktes auf EVU-L3 aufgelegt sein (und L3 des Ladepunktes auf EVU-L1)."),Be,i(" Eine Möglichkeit, die zur Ladepunktphase L1 zugehörige EVU-Phase zu ermitteln, ist eine einphasige Ladung zu starten und die Phasenströme am EVU-Zähler zu beobachten. Mit einem zweiphasig ladenden Fahrzeug kann danach auch der Anschluss von L2 ermittelt und so das Drehfeld kontrolliert werden."),Se,i(" Im Zweifel bitte das Drehfeld von einer Fachkraft prüfen und korrigieren lassen. ")]),_:2},1032,["model-value","onUpdate:modelValue"])])):_("",!0)]),_:2},1032,["title"]))),128)),Object.keys(p.installedChargePoints).length>0?(l(),c("hr",Ae)):_("",!0),n(U,{class:"mb-2",title:"Verfügbare Ladepunkte",notSelected:"Bitte auswählen",options:p.getChargePointList(),"model-value":m.chargePointToAdd,"onUpdate:modelValue":a[3]||(a[3]=s=>m.chargePointToAdd=s)},{append:o(()=>[d("span",xe,[n(R,{class:F(m.chargePointToAdd===void 0?"btn-outline-success":"btn-success"),disabled:m.chargePointToAdd===void 0,onButtonClicked:p.addChargePoint},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["class","disabled","onButtonClicked"])])]),help:o(()=>[i(" Bitte einen Ladepunkt auswählen, der der openWB-Regelung hinzugefügt werden soll."),Ie,Ue]),_:1},8,["options","model-value"])]),_:1}),qe,n(S,{title:"Ladepunkt-Profile",collapsible:!0,collapsed:!0},{header:o(()=>[n(j,{"fixed-width":"",class:"fa-lg"},{default:o(()=>[n(f,{"fixed-width":"",icon:["far","file"]}),n(f,{"fixed-width":"",icon:["fas","charging-station"],transform:"shrink-8"})]),_:1}),i(" Ladepunkt-Profile ")]),actions:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(l(),v(L,{key:0,class:"bg-success clickable",onClick:p.addChargePointTemplate},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):_("",!0)]),default:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(l(),c("div",ze,[n(q,{subtype:"info"},{default:o(()=>[i(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(l(),c("div",Ee,[(l(!0),c(B,null,x(p.chargePointTemplates,(s,r)=>(l(),v(S,{key:r,title:s.name+" (ID: "+p.getChargePointTemplateIndex(r)+")",collapsible:!0,collapsed:!0},O({default:o(()=>[n(V,{title:"Bezeichnung",subtype:"text","model-value":s.name,"onUpdate:modelValue":t=>e.updateState(r,t,"name"),disabled:r.endsWith("/0")},O({_:2},[r.endsWith("/0")?{name:"help",fn:o(()=>[i(" Das Standard-Profil kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),De,e.$store.state.mqtt["openWB/optional/rfid/active"]===!0?(l(),c("div",Me,[n(T,null,{default:o(()=>[i(" Zugangskontrolle ")]),_:1}),n(y,{title:"Freigabe mit RFID",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.rfid_enabling,"onUpdate:modelValue":t=>e.updateState(r,t,"rfid_enabling")},null,8,["model-value","onUpdate:modelValue"]),n(Z,{title:"Zugeordnete Tags",noElementsMessage:"Keine Tags zugeordnet.","model-value":s.valid_tags,"onUpdate:modelValue":t=>e.updateState(r,t,"valid_tags")},{help:o(()=>[i(" An allen Ladepunkten, denen dieses Ladepunkt-Profil zugeordnet ist, können die hier eingetragenen Tags verwendet werden."),Fe,d("span",{innerHTML:e.$store.state.text.rfidWiki},null,8,Oe)]),_:2},1032,["model-value","onUpdate:modelValue"]),Ne])):_("",!0),n(T,null,{default:o(()=>[i("Angaben zum konfigurierten Ladestrom der openWB ")]),_:1}),n(q,{subtype:"info"},{default:o(()=>[i(" Hier werden die maximalen Ladeströme entsprechend den in der zugeordneten Wallbox genutzten Phasen eingestellt."),Re,i(" Generell gilt, dass diese Werte entsprechend der Ausführung der Wallbox und des elektrischen Anschlusses bzw. der Absicherung zu wählen sind. Bei einer openWB mit 22kW Maximalleistung sind hier jeweils 32A einzustellen. Ist die openWB beispielsweise auf 11kW begrenzt (KfW-Förderung oder die Zuleitung ist mit 16A abgesichert), dann sind hier jeweils 16A einzustellen."),je,i(" Komplexere Installationen mit mehreren Wallboxen werden im "),Ze,i(" beschrieben. ")]),_:1}),n(z,{title:"Maximalstrom bei einer Phase",min:6,max:32,step:1,unit:"A","model-value":s.max_current_single_phase,"onUpdate:modelValue":t=>e.updateState(r,t,"max_current_single_phase")},null,8,["model-value","onUpdate:modelValue"]),n(z,{title:"Maximalstrom mehrere Phasen",min:6,max:32,step:1,unit:"A","model-value":s.max_current_multi_phases,"onUpdate:modelValue":t=>e.updateState(r,t,"max_current_multi_phases")},null,8,["model-value","onUpdate:modelValue"]),$e,n(T,null,{default:o(()=>[i("Automatische Sperre")]),_:1}),n(y,{title:"Automatische Sperre aktiv",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.autolock.active,"onUpdate:modelValue":t=>e.updateState(r,t,"autolock.active")},{help:o(()=>[i(" Wird die automatische Sperre aktiviert, können Fahrzeugladungen mittels Zeitplan auf gewünschte Zeitbereiche eingeschränkt werden. Dies kann z.B. bei Zugänglichkeiten zu Ladepunkten in öffentlichen oder halb-öffentlichen Bereichen sinnvoll sein. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(y,{title:"Erst nach Ladeende sperren",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.autolock.wait_for_charging_end,"onUpdate:modelValue":t=>e.updateState(r,t,"autolock.wait_for_charging_end")},{help:o(()=>[i(' Wenn ein Zeitplan die automatische Sperre aktiviert, werden alle Ladepunkte direkt gesperrt und laufende Ladevorgänge beendet. Wird hier "Ja" ausgewählt, dann werden laufende Ladevorgänge NICHT beendet und diese Ladepunkte erst nach abgeschlossener Ladung gesperrt. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,null,{actions:o(()=>[n(L,{class:"bg-success clickable",onClick:t=>p.addChargePointTemplateAutolockPlan(r,t)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["onClick"])]),default:o(()=>[i(" Zeitpläne für die automatische Sperre ")]),_:2},1024),(l(!0),c(B,null,x(p.getChargePointTemplateAutolockPlans(r),(t,w)=>(l(),v(S,{key:w,title:t.name,collapsible:!0,collapsed:!0},{actions:o(h=>[h.collapsed==!0?(l(),c("span",{key:0,class:F(["subheader pill",t.active?"bg-success":"bg-danger"])},[n(f,{"fixed-width":"",icon:["fas","clock"]}),i(" "+k(t.time[0])+" - "+k(t.time[1])+" ",1),t.frequency.selected=="once"?(l(),c("span",Je,[n(f,{"fixed-width":"",icon:["fas","calendar-day"]}),i(" "+k(e.formatDate(t.frequency.once[0])==e.formatDate(t.frequency.once[1])?e.formatDate(t.frequency.once[0]):e.formatDate(t.frequency.once[0])+" - "+e.formatDate(t.frequency.once[1])),1)])):_("",!0),t.frequency.selected=="daily"?(l(),c("span",He,[n(f,{"fixed-width":"",icon:["fas","calendar-week"]})])):_("",!0),t.frequency.selected=="weekly"?(l(),c("span",Ge,[n(f,{"fixed-width":"",icon:["fas","calendar-alt"]})])):_("",!0)],2)):_("",!0),h.collapsed==!1?(l(),v(L,{key:1,class:"bg-danger clickable",onClick:A=>p.removeChargePointTemplateAutolockPlanModal(r,w,A)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):_("",!0)]),default:o(()=>[n(V,{title:"Bezeichnung","model-value":t.name,"onUpdate:modelValue":h=>e.updateState(w,h,"name")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Zeitplan aktiv",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":t.active,"onUpdate:modelValue":h=>e.updateState(w,h,"active")},null,8,["model-value","onUpdate:modelValue"]),n(V,{title:"Sperren um",subtype:"time","model-value":t.time[0],"onUpdate:modelValue":h=>e.updateState(w,h,"time.0")},null,8,["model-value","onUpdate:modelValue"]),n(V,{title:"Freigeben um",subtype:"time","model-value":t.time[1],"onUpdate:modelValue":h=>e.updateState(w,h,"time.1")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Wiederholungen",buttons:[{buttonValue:"once",text:"Einmalig",class:"btn-outline-info"},{buttonValue:"daily",text:"Täglich",class:"btn-outline-info"},{buttonValue:"weekly",text:"Wöchentlich",class:"btn-outline-info"}],"model-value":t.frequency.selected,"onUpdate:modelValue":h=>e.updateState(w,h,"frequency.selected")},null,8,["model-value","onUpdate:modelValue"]),t.frequency.selected=="once"?(l(),v(V,{key:0,title:"Sperren ab ...",subtype:"date","model-value":t.frequency.once[0],"onUpdate:modelValue":h=>e.updateState(w,h,"frequency.once.0")},null,8,["model-value","onUpdate:modelValue"])):_("",!0),t.frequency.selected=="once"?(l(),v(V,{key:1,title:"... bis",subtype:"date",min:t.frequency.once[0],"model-value":t.frequency.once[1],"onUpdate:modelValue":h=>e.updateState(w,h,"frequency.once.1")},null,8,["min","model-value","onUpdate:modelValue"])):_("",!0),t.frequency.selected=="weekly"?(l(),c("div",Qe,[(l(!0),c(B,null,x(e.weekdays,(h,A)=>(l(),v(y,{key:A,title:h,buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":t.frequency.weekly[A],"onUpdate:modelValue":J=>e.updateState(w,J,"frequency.weekly."+A)},null,8,["title","model-value","onUpdate:modelValue"]))),128))])):_("",!0)]),_:2},1032,["title"]))),128))]),_:2},[r.endsWith("/0")?void 0:{name:"actions",fn:o(t=>[t.collapsed?_("",!0):(l(),v(L,{key:0,class:"bg-danger clickable",onClick:w=>p.removeChargePointTemplateModal(r,w)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),key:"0"}]),1032,["title"]))),128))]))]),_:1}),n($,{formName:"chargePointInstallationForm",onSave:a[4]||(a[4]=s=>e.$emit("save")),onReset:a[5]||(a[5]=s=>e.$emit("reset")),onDefaults:a[6]||(a[6]=s=>e.$emit("defaults"))})])])],64)}const lt=I(ke,[["render",Xe],["__scopeId","data-v-75fe5743"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/ChargePointInstallation.vue"]]);export{lt as default}; +import{l as H,d as G,S as Q,A as X,T as Y,U as K,J as ee,V as te,F as ne,W as ae}from"./vendor-fortawesome-349077b4.js";import{_ as W,C as oe}from"./index-baf9de5e.js";import{_ as E}from"./dynamic-import-helper-be004503.js";import{_ as I,p as g,k as l,l as c,y as v,L as o,u as i,x as k,A as n,q as d,a0 as D,a1 as M,G as B,I as x,z as _,n as F,a2 as O,Q as ie,R as le}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const se={name:"ChargePointConfigFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0},chargePointType:String},methods:{updateConfiguration(e,a=void 0){this.$emit("update:configuration",{value:e,object:a})}}},re={class:"device-fallback"},ue={key:1};function de(e,a,u,P,m,p){const C=g("openwb-base-alert"),f=g("openwb-base-textarea");return l(),c("div",re,[Object.keys(u.configuration).length==0?(l(),v(C,{key:0,subtype:"info"},{default:o(()=>[i(' Der Ladepunkt-Typ "'+k(u.chargePointType)+'" bietet keine Einstellungen. ',1)]),_:1})):(l(),c("div",ue,[n(C,{subtype:"warning"},{default:o(()=>[i(' Es wurde keine Konfigurationsseite für den Ladepunkt-Typ "'+k(u.chargePointType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),n(f,{title:"Konfiguration",subtype:"json","model-value":u.configuration,"onUpdate:modelValue":a[0]||(a[0]=L=>p.updateConfiguration(L,"configuration"))},{help:o(()=>[i(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),n(C,{subtype:"info"},{default:o(()=>[d("pre",null,k(JSON.stringify(u.configuration,void 0,2)),1)]),_:1})]))])}const pe=I(se,[["render",de],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/OpenwbChargePointConfigFallback.vue"]]),me={name:"ChargePointCommandsFallback",props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0},chargePointType:String}},ce={class:"charge-point-commands-fallback"};function ge(e,a,u,P,m,p){const C=g("openwb-base-alert");return l(),c("div",ce,[n(C,{subtype:"secondary"},{default:o(()=>[i(' Der Ladepunkt-Typ "'+k(u.chargePointType)+'" bietet keine Befehle an. ',1)]),_:1})])}const he=I(me,[["render",ge],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/OpenwbChargePointCommandsFallback.vue"]]),fe={name:"OpenwbChargePointProxy",emits:["update:configuration"],props:{chargePointId:{required:!0},chargePointType:{type:String,required:!0},configuration:{type:Object,required:!0},moduleName:{type:String,required:!1,default:void 0}},computed:{myChargePointSettingsComponent(){return console.debug(`loading charge point settings: ${this.chargePointType}`),D({loader:()=>E(Object.assign({"./external_openwb/chargePoint.vue":()=>W(()=>import("./chargePoint-7c3bf2bf.js"),["assets/chargePoint-7c3bf2bf.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./internal_openwb/chargePoint.vue":()=>W(()=>import("./chargePoint-da5e782a.js"),["assets/chargePoint-da5e782a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mqtt/chargePoint.vue":()=>W(()=>import("./chargePoint-0aee632b.js"),["assets/chargePoint-0aee632b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_pro/chargePoint.vue":()=>W(()=>import("./chargePoint-46390e39.js"),["assets/chargePoint-46390e39.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_series2_satellit/chargePoint.vue":()=>W(()=>import("./chargePoint-b87ed334.js"),["assets/chargePoint-b87ed334.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smartwb/chargePoint.vue":()=>W(()=>import("./chargePoint-9d8a492d.js"),["assets/chargePoint-9d8a492d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"])}),`./${this.chargePointType}/chargePoint.vue`),errorComponent:pe})},myChargePointCommandsComponent(){return console.debug(`loading charge point commands: ${this.chargePointType}`),D({loader:()=>E(Object.assign({"./openwb_pro/commands.vue":()=>W(()=>import("./commands-5d4326c0.js"),["assets/commands-5d4326c0.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"])}),`./${this.chargePointType}/commands.vue`),errorComponent:he})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}},be=d("hr",null,null,-1);function _e(e,a,u,P,m,p){const C=g("openwb-base-heading");return l(),c(B,null,[n(C,null,{default:o(()=>[i(" Einstellungen für Ladepunkt "+k(u.moduleName),1)]),_:1}),(l(),v(M(p.myChargePointSettingsComponent),{configuration:u.configuration,chargePointId:u.chargePointId,chargePointType:u.chargePointType,"onUpdate:configuration":a[0]||(a[0]=f=>p.updateConfiguration(f))},null,40,["configuration","chargePointId","chargePointType"])),be,n(C,null,{default:o(()=>[i(" Befehle für Ladepunkt "+k(u.moduleName),1)]),_:1}),(l(),v(M(p.myChargePointCommandsComponent),{configuration:u.configuration,chargePointId:u.chargePointId,chargePointType:u.chargePointType},null,8,["configuration","chargePointId","chargePointType"]))],64)}const we=I(fe,[["render",_e],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/OpenwbChargePointProxy.vue"]]);H.add(G,Q,X,Y,K,ee,te);const ke={name:"OpenwbChargePointInstallation",mixins:[oe],emits:["sendCommand"],components:{FontAwesomeIcon:ne,FontAwesomeLayers:ae,OpenwbChargePointProxy:we},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/optional/rfid/active","openWB/chargepoint/+/config","openWB/chargepoint/template/+","openWB/chargepoint/template/+/autolock/+","openWB/system/configurable/chargepoints","openWB/system/configurable/chargepoints_internal"],chargePointToAdd:void 0,showChargePointModal:!1,modalChargePointIndex:void 0,showChargePointTemplateModal:!1,modalChargePointTemplateIndex:void 0,showChargePointTemplateAutolockPlanModal:!1,modalChargePointTemplateAutolockPlanIndex:void 0}},computed:{installedChargePoints:{get(){let e=this.getWildcardTopics("openWB/chargepoint/+/config"),a={};for(const[u,P]of Object.entries(e))(P.type==="internal_openwb"||this.$store.state.mqtt["openWB/general/extern"]===!1)&&(a[u]=P);return a}},chargePointTemplates:{get(){return this.getWildcardTopics("openWB/chargepoint/template/+")}},chargePointTemplateList:{get(){let e=[];return Object.keys(this.chargePointTemplates).forEach(a=>{let u=parseInt(a.match(/([0-9]+)/g)[0]),P=this.$store.state.mqtt["openWB/chargepoint/template/"+u].name;e.push({value:u,text:P})}),e}}},methods:{addChargePoint(e){e.stopPropagation(),this.$emit("sendCommand",{command:"addChargepoint",data:{type:this.chargePointToAdd}})},removeChargePointModal(e,a){a.stopPropagation(),this.modalChargePointIndex=parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1]),this.showChargePointModal=!0},removeChargePoint(e,a){this.showChargePointModal=!1,a=="confirm"&&(console.debug("request removal of charge point '"+e+"'"),this.$emit("sendCommand",{command:"removeChargepoint",data:{id:e}}))},getChargePointList(){return this.$store.state.mqtt["openWB/general/extern"]===!1?this.$store.state.mqtt["openWB/system/configurable/chargepoints"]:this.$store.state.mqtt["openWB/system/configurable/chargepoints_internal"]},getChargePointName(e){return this.$store.state.mqtt["openWB/chargepoint/"+e+"/config"]?this.$store.state.mqtt["openWB/chargepoint/"+e+"/config"].name:"Ladepunkt "+e},getChargePointTemplateName(e){return this.$store.state.mqtt["openWB/chargepoint/template/"+e]?this.$store.state.mqtt["openWB/chargepoint/template/"+e].name:"Profil "+e},addChargePointTemplate(e){e.stopPropagation(),this.$emit("sendCommand",{command:"addChargepointTemplate",data:{}})},getChargePointTemplateIndex(e){return parseInt(e.match(/([^/]+)$/)[0])},removeChargePointTemplateModal(e,a){a.stopPropagation(),this.modalChargePointTemplateIndex=this.getChargePointTemplateIndex(e),this.showChargePointTemplateModal=!0},removeChargePointTemplate(e,a){this.showChargePointTemplateModal=!1,a=="confirm"&&(console.info("request removal of chargePoint template '"+e+"'"),this.$emit("sendCommand",{command:"removeChargepointTemplate",data:{id:e}}))},addChargePointTemplateAutolockPlan(e,a){a.stopPropagation(),console.info("requesting new charge point template autolock plan...");let u=this.getChargePointTemplateIndex(e);this.$emit("sendCommand",{command:"addAutolockPlan",data:{template:u}})},removeChargePointTemplateAutolockPlanModal(e,a,u){u.stopPropagation(),this.modalChargePointTemplateIndex=this.getChargePointTemplateIndex(e),this.modalChargePointTemplateAutolockPlanIndex=parseInt(a.match(/([^/]+)$/)[0]),this.showChargePointTemplateAutolockPlanModal=!0},removeChargePointTemplateAutolockPlan(e,a,u){this.showChargePointTemplateAutolockPlanModal=!1,u=="confirm"&&(console.info("request removal of chargePoint template '"+e+"' autolock plan '"+a+"'"),this.$emit("sendCommand",{command:"removeAutolockPlan",data:{template:e,plan:a}}))},getChargePointTemplateAutolockPlanName(e,a){return this.$store.state.mqtt["openWB/chargepoint/template/"+e+"/autolock/"+a]?this.$store.state.mqtt["openWB/chargepoint/template/"+e+"/autolock/"+a].name:"Autolock Zeitplan "+e+"/"+a},getChargePointTemplateAutolockPlans(e){let a=this.getChargePointTemplateIndex(e);return this.getWildcardTopics("openWB/chargepoint/template/"+a+"/autolock/+")},updateConfiguration(e,a){console.debug("updateConfiguration",e,a),this.updateState(e,a.value,a.object)}}},b=e=>(ie("data-v-75fe5743"),e=e(),le(),e),ve={class:"chargePointInstallation"},Ce={name:"chargePointInstallationForm"},ye={key:0},Pe=b(()=>d("hr",null,null,-1)),Ve={key:1},Le=b(()=>d("hr",null,null,-1)),We=b(()=>d("br",null,null,-1)),Te=b(()=>d("br",null,null,-1)),Be=b(()=>d("br",null,null,-1)),Se=b(()=>d("br",null,null,-1)),Ae={key:0},xe={class:"col-1"},Ie=b(()=>d("br",null,null,-1)),Ue=b(()=>d("ul",null,[d("li",null," Interne openWB - wenn diese openWB über einen verbauten Ladepunkt mit Regelcontroller verfügt (z.B. Standard(+), Custom, Duo, Buchse, NICHT Standalone); ansonsten immer anlegen, egal ob diese openWB steuert = primary oder ferngesteuert wird = secondary "),d("li",null," Externe openWB - wenn diese openWB (primary) die Fernsteuerung von externen openWB (secondary) übernimmt "),d("li",null," MQTT-Ladepunkt - nur zur Nutzung des openWB-Simulators zugelassen "),d("li",null," openWB Pro - wenn diese openWB (primary) die Fernsteuerung einer openWB Pro (secondary) übernimmt "),d("li",null," openWB series2 Satellit/Satellit Duo - wenn diese openWB (primary) die Fernsteuerung einer openWB series2 Satellit/Satellit Duo (secondary) übernimmt "),d("li",null," smartWB/EVSE-Wifi - wenn diese openWB (primary) die Fernsteuerung einer smartWB/EVSE-Wifi übernimmt ")],-1)),qe=b(()=>d("hr",{class:"border-secondary"},null,-1)),ze={key:0},Ee={key:1},De=b(()=>d("hr",null,null,-1)),Me={key:0},Fe=b(()=>d("br",null,null,-1)),Oe=["innerHTML"],Ne=b(()=>d("hr",null,null,-1)),Re=b(()=>d("br",null,null,-1)),je=b(()=>d("br",null,null,-1)),Ze=b(()=>d("a",{href:"https://github.com/openWB/core/wiki/Lastmanagement-und-kaskadierte-Z%C3%A4hler",target:"_blank",rel:"noopener noreferrer"},"Wiki zum Lastmanagement",-1)),$e=b(()=>d("hr",null,null,-1)),Je={key:0},He={key:1},Ge={key:2},Qe={key:2};function Xe(e,a,u,P,m,p){const C=g("openwb-base-modal-dialog"),f=g("font-awesome-icon"),L=g("openwb-base-avatar"),V=g("openwb-base-text-input"),U=g("openwb-base-select-input"),N=g("openwb-charge-point-proxy"),T=g("openwb-base-heading"),y=g("openwb-base-button-group-input"),S=g("openwb-base-card"),R=g("openwb-base-click-button"),j=g("font-awesome-layers"),q=g("openwb-base-alert"),Z=g("openwb-base-array-input"),z=g("openwb-base-range-input"),$=g("openwb-base-submit-buttons");return l(),c(B,null,[n(C,{show:m.showChargePointModal,title:"Ladepunkt löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:a[0]||(a[0]=s=>p.removeChargePoint(m.modalChargePointIndex,s))},{default:o(()=>[i(' Wollen Sie den Ladepunkt "'+k(p.getChargePointName(m.modalChargePointIndex))+'" (ID: '+k(m.modalChargePointIndex)+") wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ",1)]),_:1},8,["show"]),n(C,{show:m.showChargePointTemplateModal,title:"Ladepunkt-Profil löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:a[1]||(a[1]=s=>p.removeChargePointTemplate(m.modalChargePointTemplateIndex,s))},{default:o(()=>[i(' Wollen Sie das Ladepunkt-Profil "'+k(p.getChargePointTemplateName(m.modalChargePointTemplateIndex))+'" (ID: '+k(m.modalChargePointTemplateIndex)+") wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ",1)]),_:1},8,["show"]),n(C,{show:m.showChargePointTemplateAutolockPlanModal,title:"Autolock Zeitplan löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:a[2]||(a[2]=s=>p.removeChargePointTemplateAutolockPlan(m.modalChargePointTemplateIndex,m.modalChargePointTemplateAutolockPlanIndex,s))},{default:o(()=>[i(' Wollen Sie den Autolock Zeitplan "'+k(p.getChargePointTemplateAutolockPlanName(m.modalChargePointTemplateIndex,m.modalChargePointTemplateAutolockPlanIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),d("div",ve,[d("form",Ce,[n(S,{title:"Ladepunkte",subtype:"primary",collapsible:!0,collapsed:!0},{header:o(()=>[n(f,{"fixed-width":"",icon:["fas","charging-station"]}),i(" Ladepunkte ")]),default:o(()=>[(l(!0),c(B,null,x(p.installedChargePoints,(s,r)=>(l(),v(S,{key:r,title:s.name+" (ID: "+s.id+")",collapsible:!0,collapsed:!0,subtype:"primary"},{actions:o(t=>[t.collapsed?_("",!0):(l(),v(L,{key:0,class:"bg-danger clickable",onClick:w=>p.removeChargePointModal(r,w)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),default:o(()=>[n(V,{title:"Bezeichnung",subtype:"text","model-value":s.name,"onUpdate:modelValue":t=>e.updateState(r,t,"name")},null,8,["model-value","onUpdate:modelValue"]),n(V,{title:"Modul",subtype:"text",disabled:"",readonly:"","model-value":e.$store.state.mqtt[r].type},null,8,["model-value"]),s.type!=="internal_openwb"||e.$store.state.mqtt["openWB/general/extern"]===!1?(l(),c("span",ye,[n(U,{title:"Ladepunkt-Profil",options:p.chargePointTemplateList,"model-value":e.$store.state.mqtt[r].template,"onUpdate:modelValue":t=>e.updateState(r,t,"template")},null,8,["options","model-value","onUpdate:modelValue"])])):_("",!0),Pe,n(N,{chargePointId:s.id,chargePointType:e.$store.state.mqtt[r].type,moduleName:e.$store.state.mqtt[r].name,configuration:s.configuration,"onUpdate:configuration":t=>p.updateConfiguration(r,t)},null,8,["chargePointId","chargePointType","moduleName","configuration","onUpdate:configuration"]),s.type!=="internal_openwb"||e.$store.state.mqtt["openWB/general/extern"]===!1?(l(),c("div",Ve,[Le,n(T,null,{default:o(()=>[i("Hardware-Optionen")]),_:1}),n(y,{title:"automatische Phasenumschaltung vorhanden",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.auto_phase_switch_hw,"onUpdate:modelValue":t=>e.updateState(r,t,"auto_phase_switch_hw")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Control-Pilot-Unterbrechung vorhanden",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.control_pilot_interruption_hw,"onUpdate:modelValue":t=>e.updateState(r,t,"control_pilot_interruption_hw")},{help:o(()=>[i(' Die Control-Pilot-Leitung ist im Ladekabel integriert und dient der Steuerung der Fahrzeugladung (An/Aus/Stromvorgaben). Bei einigen Fahrzeugen können durch die Regelung erzwungene, längere Ladestopps (z.B. beim PV-Laden) zu unerwünschten "Einschlaf"-Effekten des Fahrzeuges führen. Mit diesem feature, welches hardwareseitig verbaut sein muss, kann ein Abstecken des Ladesteckers simuliert werden, um ein Aufwecken des Fahrzeuges zu ermöglichen. Die Funktion hängt immer auch vom Fahrzeugtyp ab. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,null,{default:o(()=>[i(" Elektrischer Anschluss ")]),_:1}),n(y,{title:"Anzahl angeschlossener Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:2,text:"2"},{buttonValue:3,text:"3"}],"model-value":s.connected_phases,"onUpdate:modelValue":t=>e.updateState(r,t,"connected_phases")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Phase 1 des Ladekabels",buttons:[{buttonValue:0,text:"unbekannt",class:"btn-outline-danger"},{buttonValue:1,text:"EVU L1",class:"btn-outline-success"},{buttonValue:2,text:"EVU L2",class:"btn-outline-success"},{buttonValue:3,text:"EVU L3",class:"btn-outline-success"}],"model-value":s.phase_1,"onUpdate:modelValue":t=>e.updateState(r,t,"phase_1")},{help:o(()=>[i(" Hier ist anzugeben, an welcher Phase des Hausanschlusses (EVU-Punkt) die Phase 1 dieses Ladepunktes angeschlossen ist. Diese Information wird für das Lastmanagement benötigt, um bei einer Schieflast gezielt einzelne Ladepunkte zu drosseln."),We,i(' Bei mehreren Ladepunkten macht es Sinn, die Phasen der LP rotierend anzuschließen, damit mehrere "nicht-dreiphasig" ladende Fahrzeuge mit optimaler Leistung laden können, bevor das Lastmanagement eingreift.'),Te,i(" Es wird vorausgesetzt, dass das Drehfeld innerhalb der Installation gleich bleibt. Wenn z.B. L1 des Ladepunktes auf EVU-L2 liegt, muss L2 des Ladepunktes auf EVU-L3 aufgelegt sein (und L3 des Ladepunktes auf EVU-L1)."),Be,i(" Eine Möglichkeit, die zur Ladepunktphase L1 zugehörige EVU-Phase zu ermitteln, ist eine einphasige Ladung zu starten und die Phasenströme am EVU-Zähler zu beobachten. Mit einem zweiphasig ladenden Fahrzeug kann danach auch der Anschluss von L2 ermittelt und so das Drehfeld kontrolliert werden."),Se,i(" Im Zweifel bitte das Drehfeld von einer Fachkraft prüfen und korrigieren lassen. ")]),_:2},1032,["model-value","onUpdate:modelValue"])])):_("",!0)]),_:2},1032,["title"]))),128)),Object.keys(p.installedChargePoints).length>0?(l(),c("hr",Ae)):_("",!0),n(U,{class:"mb-2",title:"Verfügbare Ladepunkte",notSelected:"Bitte auswählen",options:p.getChargePointList(),"model-value":m.chargePointToAdd,"onUpdate:modelValue":a[3]||(a[3]=s=>m.chargePointToAdd=s)},{append:o(()=>[d("span",xe,[n(R,{class:F(m.chargePointToAdd===void 0?"btn-outline-success":"btn-success"),disabled:m.chargePointToAdd===void 0,onButtonClicked:p.addChargePoint},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["class","disabled","onButtonClicked"])])]),help:o(()=>[i(" Bitte einen Ladepunkt auswählen, der der openWB-Regelung hinzugefügt werden soll."),Ie,Ue]),_:1},8,["options","model-value"])]),_:1}),qe,n(S,{title:"Ladepunkt-Profile",collapsible:!0,collapsed:!0},{header:o(()=>[n(j,{"fixed-width":"",class:"fa-lg"},{default:o(()=>[n(f,{"fixed-width":"",icon:["far","file"]}),n(f,{"fixed-width":"",icon:["fas","charging-station"],transform:"shrink-8"})]),_:1}),i(" Ladepunkt-Profile ")]),actions:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(l(),v(L,{key:0,class:"bg-success clickable",onClick:p.addChargePointTemplate},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):_("",!0)]),default:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(l(),c("div",ze,[n(q,{subtype:"info"},{default:o(()=>[i(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(l(),c("div",Ee,[(l(!0),c(B,null,x(p.chargePointTemplates,(s,r)=>(l(),v(S,{key:r,title:s.name+" (ID: "+p.getChargePointTemplateIndex(r)+")",collapsible:!0,collapsed:!0},O({default:o(()=>[n(V,{title:"Bezeichnung",subtype:"text","model-value":s.name,"onUpdate:modelValue":t=>e.updateState(r,t,"name"),disabled:r.endsWith("/0")},O({_:2},[r.endsWith("/0")?{name:"help",fn:o(()=>[i(" Das Standard-Profil kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),De,e.$store.state.mqtt["openWB/optional/rfid/active"]===!0?(l(),c("div",Me,[n(T,null,{default:o(()=>[i(" Zugangskontrolle ")]),_:1}),n(y,{title:"Freigabe mit RFID",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.rfid_enabling,"onUpdate:modelValue":t=>e.updateState(r,t,"rfid_enabling")},null,8,["model-value","onUpdate:modelValue"]),n(Z,{title:"Zugeordnete Tags",noElementsMessage:"Keine Tags zugeordnet.","model-value":s.valid_tags,"onUpdate:modelValue":t=>e.updateState(r,t,"valid_tags")},{help:o(()=>[i(" An allen Ladepunkten, denen dieses Ladepunkt-Profil zugeordnet ist, können die hier eingetragenen Tags verwendet werden."),Fe,d("span",{innerHTML:e.$store.state.text.rfidWiki},null,8,Oe)]),_:2},1032,["model-value","onUpdate:modelValue"]),Ne])):_("",!0),n(T,null,{default:o(()=>[i("Angaben zum konfigurierten Ladestrom der openWB ")]),_:1}),n(q,{subtype:"info"},{default:o(()=>[i(" Hier werden die maximalen Ladeströme entsprechend den in der zugeordneten Wallbox genutzten Phasen eingestellt."),Re,i(" Generell gilt, dass diese Werte entsprechend der Ausführung der Wallbox und des elektrischen Anschlusses bzw. der Absicherung zu wählen sind. Bei einer openWB mit 22kW Maximalleistung sind hier jeweils 32A einzustellen. Ist die openWB beispielsweise auf 11kW begrenzt (KfW-Förderung oder die Zuleitung ist mit 16A abgesichert), dann sind hier jeweils 16A einzustellen."),je,i(" Komplexere Installationen mit mehreren Wallboxen werden im "),Ze,i(" beschrieben. ")]),_:1}),n(z,{title:"Maximalstrom bei einer Phase",min:6,max:32,step:1,unit:"A","model-value":s.max_current_single_phase,"onUpdate:modelValue":t=>e.updateState(r,t,"max_current_single_phase")},null,8,["model-value","onUpdate:modelValue"]),n(z,{title:"Maximalstrom mehrere Phasen",min:6,max:32,step:1,unit:"A","model-value":s.max_current_multi_phases,"onUpdate:modelValue":t=>e.updateState(r,t,"max_current_multi_phases")},null,8,["model-value","onUpdate:modelValue"]),$e,n(T,null,{default:o(()=>[i("Automatische Sperre")]),_:1}),n(y,{title:"Automatische Sperre aktiv",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.autolock.active,"onUpdate:modelValue":t=>e.updateState(r,t,"autolock.active")},{help:o(()=>[i(" Wird die automatische Sperre aktiviert, können Fahrzeugladungen mittels Zeitplan auf gewünschte Zeitbereiche eingeschränkt werden. Dies kann z.B. bei Zugänglichkeiten zu Ladepunkten in öffentlichen oder halb-öffentlichen Bereichen sinnvoll sein. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(y,{title:"Erst nach Ladeende sperren",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":s.autolock.wait_for_charging_end,"onUpdate:modelValue":t=>e.updateState(r,t,"autolock.wait_for_charging_end")},{help:o(()=>[i(' Wenn ein Zeitplan die automatische Sperre aktiviert, werden alle Ladepunkte direkt gesperrt und laufende Ladevorgänge beendet. Wird hier "Ja" ausgewählt, dann werden laufende Ladevorgänge NICHT beendet und diese Ladepunkte erst nach abgeschlossener Ladung gesperrt. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,null,{actions:o(()=>[n(L,{class:"bg-success clickable",onClick:t=>p.addChargePointTemplateAutolockPlan(r,t)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["onClick"])]),default:o(()=>[i(" Zeitpläne für die automatische Sperre ")]),_:2},1024),(l(!0),c(B,null,x(p.getChargePointTemplateAutolockPlans(r),(t,w)=>(l(),v(S,{key:w,title:t.name,collapsible:!0,collapsed:!0},{actions:o(h=>[h.collapsed==!0?(l(),c("span",{key:0,class:F(["subheader pill",t.active?"bg-success":"bg-danger"])},[n(f,{"fixed-width":"",icon:["fas","clock"]}),i(" "+k(t.time[0])+" - "+k(t.time[1])+" ",1),t.frequency.selected=="once"?(l(),c("span",Je,[n(f,{"fixed-width":"",icon:["fas","calendar-day"]}),i(" "+k(e.formatDate(t.frequency.once[0])==e.formatDate(t.frequency.once[1])?e.formatDate(t.frequency.once[0]):e.formatDate(t.frequency.once[0])+" - "+e.formatDate(t.frequency.once[1])),1)])):_("",!0),t.frequency.selected=="daily"?(l(),c("span",He,[n(f,{"fixed-width":"",icon:["fas","calendar-week"]})])):_("",!0),t.frequency.selected=="weekly"?(l(),c("span",Ge,[n(f,{"fixed-width":"",icon:["fas","calendar-alt"]})])):_("",!0)],2)):_("",!0),h.collapsed==!1?(l(),v(L,{key:1,class:"bg-danger clickable",onClick:A=>p.removeChargePointTemplateAutolockPlanModal(r,w,A)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):_("",!0)]),default:o(()=>[n(V,{title:"Bezeichnung","model-value":t.name,"onUpdate:modelValue":h=>e.updateState(w,h,"name")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Zeitplan aktiv",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":t.active,"onUpdate:modelValue":h=>e.updateState(w,h,"active")},null,8,["model-value","onUpdate:modelValue"]),n(V,{title:"Sperren um",subtype:"time","model-value":t.time[0],"onUpdate:modelValue":h=>e.updateState(w,h,"time.0")},null,8,["model-value","onUpdate:modelValue"]),n(V,{title:"Freigeben um",subtype:"time","model-value":t.time[1],"onUpdate:modelValue":h=>e.updateState(w,h,"time.1")},null,8,["model-value","onUpdate:modelValue"]),n(y,{title:"Wiederholungen",buttons:[{buttonValue:"once",text:"Einmalig",class:"btn-outline-info"},{buttonValue:"daily",text:"Täglich",class:"btn-outline-info"},{buttonValue:"weekly",text:"Wöchentlich",class:"btn-outline-info"}],"model-value":t.frequency.selected,"onUpdate:modelValue":h=>e.updateState(w,h,"frequency.selected")},null,8,["model-value","onUpdate:modelValue"]),t.frequency.selected=="once"?(l(),v(V,{key:0,title:"Sperren ab ...",subtype:"date","model-value":t.frequency.once[0],"onUpdate:modelValue":h=>e.updateState(w,h,"frequency.once.0")},null,8,["model-value","onUpdate:modelValue"])):_("",!0),t.frequency.selected=="once"?(l(),v(V,{key:1,title:"... bis",subtype:"date",min:t.frequency.once[0],"model-value":t.frequency.once[1],"onUpdate:modelValue":h=>e.updateState(w,h,"frequency.once.1")},null,8,["min","model-value","onUpdate:modelValue"])):_("",!0),t.frequency.selected=="weekly"?(l(),c("div",Qe,[(l(!0),c(B,null,x(e.weekdays,(h,A)=>(l(),v(y,{key:A,title:h,buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":t.frequency.weekly[A],"onUpdate:modelValue":J=>e.updateState(w,J,"frequency.weekly."+A)},null,8,["title","model-value","onUpdate:modelValue"]))),128))])):_("",!0)]),_:2},1032,["title"]))),128))]),_:2},[r.endsWith("/0")?void 0:{name:"actions",fn:o(t=>[t.collapsed?_("",!0):(l(),v(L,{key:0,class:"bg-danger clickable",onClick:w=>p.removeChargePointTemplateModal(r,w)},{default:o(()=>[n(f,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),key:"0"}]),1032,["title"]))),128))]))]),_:1}),n($,{formName:"chargePointInstallationForm",onSave:a[4]||(a[4]=s=>e.$emit("save")),onReset:a[5]||(a[5]=s=>e.$emit("reset")),onDefaults:a[6]||(a[6]=s=>e.$emit("defaults"))})])])],64)}const lt=I(ke,[["render",Xe],["__scopeId","data-v-75fe5743"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/ChargePointInstallation.vue"]]);export{lt as default}; diff --git a/web/settings/assets/Chart-c7c508c0.js b/web/settings/assets/Chart-40e17f75.js similarity index 97% rename from web/settings/assets/Chart-c7c508c0.js rename to web/settings/assets/Chart-40e17f75.js index f1adaa0e3e..907e78f475 100644 --- a/web/settings/assets/Chart-c7c508c0.js +++ b/web/settings/assets/Chart-40e17f75.js @@ -1 +1 @@ -import{l as T,J as L,K as q,L as H,M as j,P as O,Q as M,F as z}from"./vendor-fortawesome-12056596.js";import{C as E}from"./index-8fe3a4a0.js";import{C as V,p as B,a as F,L as P,b as N,P as $,c as J,T as X,i as Z,d as K,e as G,g as Q}from"./vendor-chartjs-0984fb9d.js";import{_ as U,p,k as n,l as o,q as v,A as c,L as d,y as g,u as y,G as x,I as k,x as C,z as R}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";import"./vendor-luxon-d18c09ea.js";T.add(L,q,H,j,O,M);V.register(B,F,P,N,$,J,X,Z,K);const Y={name:"OpenwbChart",components:{ChartjsLine:G,FontAwesomeIcon:z},mixins:[E],emits:["sendCommand"],props:{initialChartRange:{type:String,required:!1,validator:function(e){return["day","month","year"].indexOf(e)!==-1},default:"day"},initialDate:{type:String,required:!1,validator:function(e){return e.match(/^(([0-9]{4})(-[0-9]{2}(-[0-9]{2})?)?)?$/g)},default:""}},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/log/daily/#","openWB/log/monthly/#","openWB/log/yearly/#","openWB/system/device/+/component/+/config","openWB/chargepoint/+/config","openWB/vehicle/+/name"],currentDate:"",chartRange:"day",blockChartInit:!1,chartRequestDate:{day:"",month:"",year:""},datasetTemplates:{"counter-power_average":{label:"Zähler",unit:"kW",jsonKey:null,borderColor:"rgba(255, 0, 0, 0.7)",backgroundColor:"rgba(255, 10, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"counter-energy_imported":{label:"Zähler",unit:"kWh",jsonKey:null,borderColor:"rgba(255, 0, 0, 0.7)",backgroundColor:"rgba(255, 10, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"counter-energy_exported":{label:"Zähler",unit:"kWh",jsonKey:null,borderColor:"rgba(0, 255, 105, 0.7)",backgroundColor:"rgba(0, 255, 255, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"pv-power_exported":{label:"PV",unit:"kW",jsonKey:null,borderColor:"rgba(40, 167, 69, 0.7)",backgroundColor:"rgba(10, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",stack:"inverter-power",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"pv-energy_exported":{label:"PV",unit:"kWh",jsonKey:null,borderColor:"rgba(40, 167, 69, 0.7)",backgroundColor:"rgba(10, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"inverter-exported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-power_average":{label:"Speicher",unit:"kW",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",stack:"battery-power",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-energy_imported":{label:"Speicher",unit:"kWh",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"battery-imported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-energy_exported":{label:"Speicher",unit:"kWh",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"battery-exported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-soc":{label:"Speicher SoC",unit:"%",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",borderDash:[10,5],hidden:!0,fill:!1,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",borderWidth:2,data:null,yAxisID:"y3",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"cp-power_average":{label:"Ladepunkt",unit:"kW",jsonKey:null,borderColor:"rgba(0, 0, 255, 0.7)",backgroundColor:"rgba(0, 0, 255, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",stack:"charge-point-power",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"cp-energy_imported":{label:"Ladepunkt",unit:"kWh",jsonKey:null,borderColor:"rgba(0, 0, 255, 0.7)",backgroundColor:"rgba(0, 0, 255, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"charge-point-imported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"ev-soc":{label:"Fahrzeug SoC",unit:"%",jsonKey:null,borderColor:"rgba(0, 0, 255, 0.7)",backgroundColor:"rgba(0, 0, 255, 0.3)",borderDash:[10,5],hidden:!0,fill:!1,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",borderWidth:2,data:null,yAxisID:"y3",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"sh-power_average":{label:"SmartHome",unit:"kW",jsonKey:null,borderColor:"rgba(232, 62, 140, 0.7)",backgroundColor:"rgba(232, 72, 150, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"sh-energy_imported":{label:"SmartHome",unit:"kWh",jsonKey:null,borderColor:"rgba(232, 62, 140, 0.7)",backgroundColor:"rgba(232, 72, 150, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"sh-energy_exported":{label:"SmartHome",unit:"kWh",jsonKey:null,borderColor:"rgba(232, 62, 140, 0.7)",backgroundColor:"rgba(232, 72, 150, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"hc-power_imported":{label:"Hausverbrauch",unit:"kW",jsonKey:null,borderColor:"rgba(120, 122, 124, 0.7)",backgroundColor:"rgba(120, 122, 124, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"hc-energy_imported":{label:"Hausverbrauch",unit:"kWh",jsonKey:null,borderColor:"rgba(120, 122, 124, 0.7)",backgroundColor:"rgba(120, 122, 124, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}}},chartOptions:{plugins:{title:{display:!1},tooltip:{enabled:!0,callbacks:{label:e=>`${e.dataset.label}: ${e.formattedValue} ${e.dataset.unit}`}},legend:{display:!0},zoom:{pan:{enabled:!0,mode:"x",threshold:5},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},elements:{point:{radius:2}},responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},scales:{x:{type:"time",time:{unit:"",tooltipFormat:""},display:!0,title:{display:!0,text:""},ticks:{source:"timestamp",font:{size:12},maxTicksLimit:0},grid:{}},y:{position:"left",type:"linear",display:"auto",suggestedMin:0,suggestedMax:0,title:{font:{size:12},display:!0,text:"Leistung [kW]"},grid:{},ticks:{font:{size:12},stepSize:.2,maxTicksLimit:11}},y2:{position:"left",type:"linear",display:"auto",suggestedMin:0,suggestedMax:0,title:{font:{size:12},display:!0,text:"Energie [kWh]"},grid:{},ticks:{font:{size:12},stepSize:.2,maxTicksLimit:11}},y3:{position:"right",type:"linear",display:"auto",suggestedMin:0,suggestedMax:100,title:{font:{size:12},display:!0,text:"SoC [%]"},grid:{display:!1},ticks:{font:{size:12},stepSize:10,maxTicksLimit:11}}}},chartDatasets:{datasets:[]}}},computed:{dateInput(){var e={title:"Datum",type:"date",min:"2018-01-01"};switch(this.chartRange){case"month":e={title:"Monat",type:"month",min:"2018-01"};break;case"year":e={title:"Jahr",type:"year",min:"2018"};break}return e},chartDate:{get(){var e=this.chartRequestDate.year;return this.chartRange!="year"&&(e=e+"-"+this.chartRequestDate.month),this.chartRange=="day"&&(e=e+"-"+this.chartRequestDate.day),e},set(e){let a=e.split("-");this.chartRequestDate.year=a[0],a.length>1?this.chartRequestDate.month=a[1]:this.chartRequestDate.month="",a.length>2?this.chartRequestDate.day=a[2]:this.chartRequestDate.day=""}},chartScaleX(){var e={unit:"minute",tooltipFormat:"DD T",text:"Zeit",maxTicksLimit:24};switch(this.chartRange){case"month":e={unit:"day",tooltipFormat:"DD",text:"Tag",maxTicksLimit:31};break;case"year":e={unit:"month",tooltipFormat:"LLLL yyyy",text:"Monat",maxTicksLimit:12};break}return e},commandData(){var e={date:this.chartRequestDate.year+this.chartRequestDate.month+this.chartRequestDate.day,day:this.chartRequestDate.year+this.chartRequestDate.month+this.chartRequestDate.day};switch(this.chartRange){case"month":e={date:this.chartRequestDate.year+this.chartRequestDate.month,month:this.chartRequestDate.year+this.chartRequestDate.month};break;case"year":e={date:this.chartRequestDate.year,year:this.chartRequestDate.year};break}return e},baseTopic(){var e="openWB/log/";switch(this.chartRange){case"day":e=e+"daily/";break;case"month":e=e+"monthly/";break;case"year":e=e+"yearly/";break}return e},chartDataRead(){return this.chartDataObject!=null},chartDataHasEntries(){return this.chartDataObject?this.chartDataObject.length>0:!1},chartTotals(){if(this.$store.state.mqtt[this.baseTopic+this.commandData.date]&&Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date],"totals"))return this.$store.state.mqtt[this.baseTopic+this.commandData.date].totals},chartDataObject(){if(this.$store.state.mqtt[this.baseTopic+this.commandData.date]){var e=this.$store.state.mqtt[this.baseTopic+this.commandData.date];Object.prototype.hasOwnProperty.call(e,"entries")&&(e=e.entries);var a=JSON.parse(JSON.stringify(e)).map(r=>(r.timestamp=r.timestamp*1e3,r));return a}},chartData(){if(this.chartDataObject){var e=["pv","counter","bat","cp","sh","ev","hc"];const a=this.chartDataObject[this.chartDataObject.length-1];return a&&e.forEach(r=>{Object.prototype.hasOwnProperty.call(a,r)&&Object.entries(a[r]).forEach(([s,i])=>{Object.keys(i).forEach(t=>{this.initDataset(r,s,t)})})}),this.chartDatasets}}},methods:{handleChartClick(e){if(this.chartRange=="day")return;const a=this.$refs.myChart.chart;if(!a)return;const r=Q(a,e);if(!r.length)return;const{datasetIndex:s,index:i}=r[0],t=this.chartData.datasets[s].data[i].date;var l="",b="";switch(this.chartRange){case"month":l=t.substring(0,4)+"-"+t.substring(4,6)+"-"+t.substring(6),b="day";break;case"year":l=t.substring(0,4)+"-"+t.substring(4,6),b="month";break}this.blockChartInit=!0,this.chartDate=l,this.chartRange=b},getCardSubtype(e){switch(e){case"bat":return"warning";case"counter":return"danger";case"cp":return"primary";case"pv":return"success";case"sh":return"pink";default:return"secondary"}},getCardIcon(e){switch(e){case"bat":return["fas","car-battery"];case"counter":return["fas","gauge-high"];case"cp":return["fas","charging-station"];case"pv":return["fas","solar-panel"];case"sh":return["fas","house-signal"];case"hc":return["fas","house"];default:return}},getDatasetHidden(e,a){return console.debug("getDatasetHidden",e,a),!1},getTotalsLabel(e,a=void 0,r=void 0){var s="*test*";if(!a&&!r){switch(e){case"bat":return"Speicher";case"counter":return"Zähler";case"pv":return"Wechselrichter";case"cp":return"Ladepunkte";case"sh":return"SmartHome-Geräte";case"hc":return"Hausverbrauch";default:console.warn("unknown group key:",e)}return"*"+e+"*"}if(a&&!r){if(a=="all")return"Summe";if(Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date],"names"))return this.$store.state.mqtt[this.baseTopic+this.commandData.date].names[a]}if(a&&r){switch(e){case"bat":case"cp":switch(r){case"imported":case"energy_imported":return"Ladung";case"exported":case"energy_exported":return"Entladung";default:console.warn("unknown measurement key:",e,r)}break;case"counter":switch(r){case"imported":case"energy_imported":return"Bezug/Verbrauch";case"exported":case"energy_exported":return"Einspeisung/Erzeugung";default:console.warn("unknown measurement key:",e,r)}break;case"pv":switch(r){case"exported":case"energy_exported":return"Erzeugung";default:console.warn("unknown measurement key:",e,r)}break;case"sh":switch(r){case"imported":case"energy_imported":return"Verbrauch";case"exported":case"energy_exported":return"Erzeugung";default:console.warn("unknown measurement key:",e,r)}break;case"hc":switch(r){case"imported":case"energy_imported":return"Verbrauch";default:console.warn("unknown measurement key:",e,r)}break;default:console.warn("unknown group key:",e)}return"*"+e+"+"+a+"+"+r+"*"}return s},getDatasetLabel(e,a,r,s){var i=["*"+s],t=[];if(a=="all")switch(e!=="hc"&&t.push("Summe"),e){case"pv":i=["PV"];break;case"bat":switch(i=["Speicher"],r){case"soc":i.push("SoC");break}break;case"cp":i=["Ladepunkte"];break;case"hc":i=["Hausverbrauch"]}else Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date],"names")&&Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date].names,a)&&(i=[this.$store.state.mqtt[this.baseTopic+this.commandData.date].names[a]]);switch(e){case"bat":case"ev":case"cp":switch(r){case"soc":t.push("SoC");break;case"energy_imported":t.push("Ladung");break;case"energy_exported":t.push("Entladung");break}break;case"counter":switch(r){case"energy_imported":t.push("Bezug/Verbrauch");break;case"energy_exported":t.push("Einspeisung/Erzeugung");break}break;case"sh":switch(r){case"energy_imported":t.push("Verbrauch");break;case"energy_exported":t.push("Erzeugung");break}break}return`${i.join(" ")}${t.length?" ("+t.join(", ")+")":""}`},getDatasetIndex(e){let a=this.chartDatasets.datasets.findIndex(r=>r.jsonKey==e);if(a!=-1)return a},addDataset(e,a,r,s){var i=e+"-"+r;if(this.datasetTemplates[i]){var t=JSON.parse(JSON.stringify(this.datasetTemplates[i]));return t.parsing.yAxisKey=s,t.jsonKey=s,t.data=this.chartDataObject,t.label=this.getDatasetLabel(e,a,r,s),t.labelSuffix!=null&&(t.label=t.label+t.labelSuffix),a=="all"&&(t.hidden=!1,delete t.stack),this.chartDatasets.datasets.push(t)-1}else console.warn("no matching template found for: "+s+" with template: "+i)},initDataset(e,a,r){var s=[];this.chartRange=="day"?s={counter:["power_average"],pv:["power_exported"],bat:["power_average","soc"],cp:["power_average"],sh:["power_average"],ev:["soc"],hc:["power_imported"]}:s={counter:["energy_imported","energy_exported"],pv:["energy_exported"],bat:["energy_imported","energy_exported"],cp:["energy_imported"],sh:["energy_imported","energy_exported"],ev:[],hc:["energy_imported"]};const i=e+"."+a+"."+r;if(s[e].includes(r)){var t=this.getDatasetIndex(i);const l=this.getDatasetHidden(e,a);t==null&&!l&&(t=this.addDataset(e,a,r,i)),t!=null&&l&&this.chartDatasets.datasets.splice(t,1)}else console.debug("skipping dataset:",i)},setupScaleX(){this.chartOptions.scales.x.time.unit=this.chartScaleX.unit,this.chartOptions.scales.x.time.tooltipFormat=this.chartScaleX.tooltipFormat,this.chartOptions.scales.x.title.text=this.chartScaleX.text,this.chartOptions.scales.x.ticks.maxTicksLimit=this.chartScaleX.maxTicksLimit},requestChart(){if(document.forms.chartForm.reportValidity()){this.setupScaleX(),this.chartDatasets.datasets=[];var a="";switch(this.chartRange){case"day":a="getDailyLog";break;case"month":a="getMonthlyLog";break;case"year":a="getYearlyLog";break}this.$emit("sendCommand",{command:a,data:this.commandData})}else{console.warn("form invalid");return}},clearChartData(){this.getWildcardIndexList(this.baseTopic+"+").forEach(e=>{this.$store.commit("removeTopic",`${this.baseTopic}${e}`)})},updateChart(){this.clearChartData(),this.requestChart()},init(){const e=new Date;this.currentDate=String(e.getFullYear()),this.chartRange!="year"&&(this.currentDate=this.currentDate+"-"+String(e.getMonth()+1).padStart(2,"0")),this.chartRange=="day"&&(this.currentDate=this.currentDate+"-"+String(e.getDate()).padStart(2,"0")),this.blockChartInit?this.blockChartInit=!1:this.initialDate==null||this.initialDate==""?this.chartDate=this.currentDate:this.chartDate=this.initialDate,this.updateChart()}},watch:{chartRange(){this.init()}},mounted(){this.init()}},ee={class:"chart"},te={name:"chartForm"},ae={key:1},re={key:1},ie={class:"openwb-chart"};function se(e,a,r,s,i,t){const l=p("openwb-base-select-input"),b=p("openwb-base-text-input"),m=p("openwb-base-card"),D=p("openwb-base-alert"),w=p("chartjs-line"),S=p("font-awesome-icon"),A=p("openwb-base-heading");return n(),o("div",ee,[v("form",te,[c(m,{title:"Filter",collapsible:!0,collapsed:!1},{default:d(()=>[c(l,{title:"Zeitraum",modelValue:i.chartRange,"onUpdate:modelValue":a[0]||(a[0]=u=>i.chartRange=u),options:[{value:"day",text:"Tag"},{value:"month",text:"Monat"},{value:"year",text:"Jahr"}]},null,8,["modelValue"]),c(b,{title:t.dateInput.title,subtype:t.dateInput.type,min:t.dateInput.min,max:i.currentDate,showQuickButtons:!0,modelValue:t.chartDate,"onUpdate:modelValue":[a[1]||(a[1]=u=>t.chartDate=u),a[2]||(a[2]=u=>t.updateChart())]},null,8,["title","subtype","min","max","modelValue"])]),_:1}),t.chartDataRead?(n(),o("div",ae,[t.chartDataHasEntries?(n(),o("div",re,[c(m,{title:"Diagramm",collapsible:!0,collapsed:!1},{default:d(()=>[v("div",ie,[c(w,{ref:"myChart",data:t.chartData,options:i.chartOptions,onClick:t.handleChartClick},null,8,["data","options","onClick"])])]),_:1}),c(m,{title:"Summen",collapsible:!0,collapsed:!0},{default:d(()=>[(n(!0),o(x,null,k(t.chartTotals,(u,h)=>(n(),o("div",{key:h},[Object.keys(u).length>0?(n(),g(m,{key:0,collapsible:!0,collapsed:!0,subtype:t.getCardSubtype(h)},{header:d(()=>[c(S,{"fixed-width":"",icon:t.getCardIcon(h)},null,8,["icon"]),y(" "+C(t.getTotalsLabel(h)),1)]),default:d(()=>[(n(!0),o(x,null,k(u,(I,f)=>(n(),o("div",{key:f},[h!=="hc"?(n(),g(A,{key:0},{default:d(()=>[y(C(t.getTotalsLabel(h,f)),1)]),_:2},1024)):R("",!0),(n(!0),o(x,null,k(I,(W,_)=>(n(),o("div",{key:_},[c(b,{title:t.getTotalsLabel(h,f,_),readonly:"",class:"text-right",unit:"kWh","model-value":e.formatNumber(W/1e3,3)},null,8,["title","model-value"])]))),128))]))),128))]),_:2},1032,["subtype"])):R("",!0)]))),128))]),_:1})])):(n(),g(D,{key:0,subtype:"info"},{default:d(()=>[y(" Es konnten keine Daten für diesen Zeitraum gefunden werden. ")]),_:1}))])):(n(),g(D,{key:0,subtype:"info"},{default:d(()=>[y(" Es wurden noch keine Daten abgerufen. ")]),_:1}))])])}const me=U(Y,[["render",se],["__scopeId","data-v-e00a7cd5"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/Chart.vue"]]);export{me as default}; +import{l as T,J as L,K as q,L as H,M as j,P as O,Q as M,F as z}from"./vendor-fortawesome-349077b4.js";import{C as E}from"./index-baf9de5e.js";import{C as V,p as B,a as F,L as P,b as N,P as $,c as J,T as X,i as Z,d as K,e as G,g as Q}from"./vendor-chartjs-ac74f3f3.js";import{_ as U,p,k as n,l as o,q as v,A as c,L as d,y as g,u as y,G as x,I as k,x as C,z as R}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";import"./vendor-luxon-d18c09ea.js";T.add(L,q,H,j,O,M);V.register(B,F,P,N,$,J,X,Z,K);const Y={name:"OpenwbChart",components:{ChartjsLine:G,FontAwesomeIcon:z},mixins:[E],emits:["sendCommand"],props:{initialChartRange:{type:String,required:!1,validator:function(e){return["day","month","year"].indexOf(e)!==-1},default:"day"},initialDate:{type:String,required:!1,validator:function(e){return e.match(/^(([0-9]{4})(-[0-9]{2}(-[0-9]{2})?)?)?$/g)},default:""}},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/log/daily/#","openWB/log/monthly/#","openWB/log/yearly/#","openWB/system/device/+/component/+/config","openWB/chargepoint/+/config","openWB/vehicle/+/name"],currentDate:"",chartRange:"day",blockChartInit:!1,chartRequestDate:{day:"",month:"",year:""},datasetTemplates:{"counter-power_average":{label:"Zähler",unit:"kW",jsonKey:null,borderColor:"rgba(255, 0, 0, 0.7)",backgroundColor:"rgba(255, 10, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"counter-energy_imported":{label:"Zähler",unit:"kWh",jsonKey:null,borderColor:"rgba(255, 0, 0, 0.7)",backgroundColor:"rgba(255, 10, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"counter-energy_exported":{label:"Zähler",unit:"kWh",jsonKey:null,borderColor:"rgba(0, 255, 105, 0.7)",backgroundColor:"rgba(0, 255, 255, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"pv-power_exported":{label:"PV",unit:"kW",jsonKey:null,borderColor:"rgba(40, 167, 69, 0.7)",backgroundColor:"rgba(10, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",stack:"inverter-power",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"pv-energy_exported":{label:"PV",unit:"kWh",jsonKey:null,borderColor:"rgba(40, 167, 69, 0.7)",backgroundColor:"rgba(10, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"inverter-exported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-power_average":{label:"Speicher",unit:"kW",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",stack:"battery-power",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-energy_imported":{label:"Speicher",unit:"kWh",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"battery-imported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-energy_exported":{label:"Speicher",unit:"kWh",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"battery-exported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"bat-soc":{label:"Speicher SoC",unit:"%",jsonKey:null,borderColor:"rgba(253, 126, 20, 0.7)",backgroundColor:"rgba(200, 255, 13, 0.3)",borderDash:[10,5],hidden:!0,fill:!1,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",borderWidth:2,data:null,yAxisID:"y3",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"cp-power_average":{label:"Ladepunkt",unit:"kW",jsonKey:null,borderColor:"rgba(0, 0, 255, 0.7)",backgroundColor:"rgba(0, 0, 255, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",stack:"charge-point-power",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"cp-energy_imported":{label:"Ladepunkt",unit:"kWh",jsonKey:null,borderColor:"rgba(0, 0, 255, 0.7)",backgroundColor:"rgba(0, 0, 255, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",stack:"charge-point-imported",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"ev-soc":{label:"Fahrzeug SoC",unit:"%",jsonKey:null,borderColor:"rgba(0, 0, 255, 0.7)",backgroundColor:"rgba(0, 0, 255, 0.3)",borderDash:[10,5],hidden:!0,fill:!1,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",borderWidth:2,data:null,yAxisID:"y3",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"sh-power_average":{label:"SmartHome",unit:"kW",jsonKey:null,borderColor:"rgba(232, 62, 140, 0.7)",backgroundColor:"rgba(232, 72, 150, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"sh-energy_imported":{label:"SmartHome",unit:"kWh",jsonKey:null,borderColor:"rgba(232, 62, 140, 0.7)",backgroundColor:"rgba(232, 72, 150, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"sh-energy_exported":{label:"SmartHome",unit:"kWh",jsonKey:null,borderColor:"rgba(232, 62, 140, 0.7)",backgroundColor:"rgba(232, 72, 150, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!1,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"hc-power_imported":{label:"Hausverbrauch",unit:"kW",jsonKey:null,borderColor:"rgba(120, 122, 124, 0.7)",backgroundColor:"rgba(120, 122, 124, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y",parsing:{xAxisKey:"timestamp",yAxisKey:null}},"hc-energy_imported":{label:"Hausverbrauch",unit:"kWh",jsonKey:null,borderColor:"rgba(120, 122, 124, 0.7)",backgroundColor:"rgba(120, 122, 124, 0.3)",fill:!0,pointStyle:"circle",pointRadius:0,pointHoverRadius:4,cubicInterpolationMode:"monotone",hidden:!0,borderWidth:1,data:null,yAxisID:"y2",parsing:{xAxisKey:"timestamp",yAxisKey:null}}},chartOptions:{plugins:{title:{display:!1},tooltip:{enabled:!0,callbacks:{label:e=>`${e.dataset.label}: ${e.formattedValue} ${e.dataset.unit}`}},legend:{display:!0},zoom:{pan:{enabled:!0,mode:"x",threshold:5},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},elements:{point:{radius:2}},responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},scales:{x:{type:"time",time:{unit:"",tooltipFormat:""},display:!0,title:{display:!0,text:""},ticks:{source:"timestamp",font:{size:12},maxTicksLimit:0},grid:{}},y:{position:"left",type:"linear",display:"auto",suggestedMin:0,suggestedMax:0,title:{font:{size:12},display:!0,text:"Leistung [kW]"},grid:{},ticks:{font:{size:12},stepSize:.2,maxTicksLimit:11}},y2:{position:"left",type:"linear",display:"auto",suggestedMin:0,suggestedMax:0,title:{font:{size:12},display:!0,text:"Energie [kWh]"},grid:{},ticks:{font:{size:12},stepSize:.2,maxTicksLimit:11}},y3:{position:"right",type:"linear",display:"auto",suggestedMin:0,suggestedMax:100,title:{font:{size:12},display:!0,text:"SoC [%]"},grid:{display:!1},ticks:{font:{size:12},stepSize:10,maxTicksLimit:11}}}},chartDatasets:{datasets:[]}}},computed:{dateInput(){var e={title:"Datum",type:"date",min:"2018-01-01"};switch(this.chartRange){case"month":e={title:"Monat",type:"month",min:"2018-01"};break;case"year":e={title:"Jahr",type:"year",min:"2018"};break}return e},chartDate:{get(){var e=this.chartRequestDate.year;return this.chartRange!="year"&&(e=e+"-"+this.chartRequestDate.month),this.chartRange=="day"&&(e=e+"-"+this.chartRequestDate.day),e},set(e){let a=e.split("-");this.chartRequestDate.year=a[0],a.length>1?this.chartRequestDate.month=a[1]:this.chartRequestDate.month="",a.length>2?this.chartRequestDate.day=a[2]:this.chartRequestDate.day=""}},chartScaleX(){var e={unit:"minute",tooltipFormat:"DD T",text:"Zeit",maxTicksLimit:24};switch(this.chartRange){case"month":e={unit:"day",tooltipFormat:"DD",text:"Tag",maxTicksLimit:31};break;case"year":e={unit:"month",tooltipFormat:"LLLL yyyy",text:"Monat",maxTicksLimit:12};break}return e},commandData(){var e={date:this.chartRequestDate.year+this.chartRequestDate.month+this.chartRequestDate.day,day:this.chartRequestDate.year+this.chartRequestDate.month+this.chartRequestDate.day};switch(this.chartRange){case"month":e={date:this.chartRequestDate.year+this.chartRequestDate.month,month:this.chartRequestDate.year+this.chartRequestDate.month};break;case"year":e={date:this.chartRequestDate.year,year:this.chartRequestDate.year};break}return e},baseTopic(){var e="openWB/log/";switch(this.chartRange){case"day":e=e+"daily/";break;case"month":e=e+"monthly/";break;case"year":e=e+"yearly/";break}return e},chartDataRead(){return this.chartDataObject!=null},chartDataHasEntries(){return this.chartDataObject?this.chartDataObject.length>0:!1},chartTotals(){if(this.$store.state.mqtt[this.baseTopic+this.commandData.date]&&Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date],"totals"))return this.$store.state.mqtt[this.baseTopic+this.commandData.date].totals},chartDataObject(){if(this.$store.state.mqtt[this.baseTopic+this.commandData.date]){var e=this.$store.state.mqtt[this.baseTopic+this.commandData.date];Object.prototype.hasOwnProperty.call(e,"entries")&&(e=e.entries);var a=JSON.parse(JSON.stringify(e)).map(r=>(r.timestamp=r.timestamp*1e3,r));return a}},chartData(){if(this.chartDataObject){var e=["pv","counter","bat","cp","sh","ev","hc"];const a=this.chartDataObject[this.chartDataObject.length-1];return a&&e.forEach(r=>{Object.prototype.hasOwnProperty.call(a,r)&&Object.entries(a[r]).forEach(([s,i])=>{Object.keys(i).forEach(t=>{this.initDataset(r,s,t)})})}),this.chartDatasets}}},methods:{handleChartClick(e){if(this.chartRange=="day")return;const a=this.$refs.myChart.chart;if(!a)return;const r=Q(a,e);if(!r.length)return;const{datasetIndex:s,index:i}=r[0],t=this.chartData.datasets[s].data[i].date;var l="",b="";switch(this.chartRange){case"month":l=t.substring(0,4)+"-"+t.substring(4,6)+"-"+t.substring(6),b="day";break;case"year":l=t.substring(0,4)+"-"+t.substring(4,6),b="month";break}this.blockChartInit=!0,this.chartDate=l,this.chartRange=b},getCardSubtype(e){switch(e){case"bat":return"warning";case"counter":return"danger";case"cp":return"primary";case"pv":return"success";case"sh":return"pink";default:return"secondary"}},getCardIcon(e){switch(e){case"bat":return["fas","car-battery"];case"counter":return["fas","gauge-high"];case"cp":return["fas","charging-station"];case"pv":return["fas","solar-panel"];case"sh":return["fas","house-signal"];case"hc":return["fas","house"];default:return}},getDatasetHidden(e,a){return console.debug("getDatasetHidden",e,a),!1},getTotalsLabel(e,a=void 0,r=void 0){var s="*test*";if(!a&&!r){switch(e){case"bat":return"Speicher";case"counter":return"Zähler";case"pv":return"Wechselrichter";case"cp":return"Ladepunkte";case"sh":return"SmartHome-Geräte";case"hc":return"Hausverbrauch";default:console.warn("unknown group key:",e)}return"*"+e+"*"}if(a&&!r){if(a=="all")return"Summe";if(Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date],"names"))return this.$store.state.mqtt[this.baseTopic+this.commandData.date].names[a]}if(a&&r){switch(e){case"bat":case"cp":switch(r){case"imported":case"energy_imported":return"Ladung";case"exported":case"energy_exported":return"Entladung";default:console.warn("unknown measurement key:",e,r)}break;case"counter":switch(r){case"imported":case"energy_imported":return"Bezug/Verbrauch";case"exported":case"energy_exported":return"Einspeisung/Erzeugung";default:console.warn("unknown measurement key:",e,r)}break;case"pv":switch(r){case"exported":case"energy_exported":return"Erzeugung";default:console.warn("unknown measurement key:",e,r)}break;case"sh":switch(r){case"imported":case"energy_imported":return"Verbrauch";case"exported":case"energy_exported":return"Erzeugung";default:console.warn("unknown measurement key:",e,r)}break;case"hc":switch(r){case"imported":case"energy_imported":return"Verbrauch";default:console.warn("unknown measurement key:",e,r)}break;default:console.warn("unknown group key:",e)}return"*"+e+"+"+a+"+"+r+"*"}return s},getDatasetLabel(e,a,r,s){var i=["*"+s],t=[];if(a=="all")switch(e!=="hc"&&t.push("Summe"),e){case"pv":i=["PV"];break;case"bat":switch(i=["Speicher"],r){case"soc":i.push("SoC");break}break;case"cp":i=["Ladepunkte"];break;case"hc":i=["Hausverbrauch"]}else Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date],"names")&&Object.prototype.hasOwnProperty.call(this.$store.state.mqtt[this.baseTopic+this.commandData.date].names,a)&&(i=[this.$store.state.mqtt[this.baseTopic+this.commandData.date].names[a]]);switch(e){case"bat":case"ev":case"cp":switch(r){case"soc":t.push("SoC");break;case"energy_imported":t.push("Ladung");break;case"energy_exported":t.push("Entladung");break}break;case"counter":switch(r){case"energy_imported":t.push("Bezug/Verbrauch");break;case"energy_exported":t.push("Einspeisung/Erzeugung");break}break;case"sh":switch(r){case"energy_imported":t.push("Verbrauch");break;case"energy_exported":t.push("Erzeugung");break}break}return`${i.join(" ")}${t.length?" ("+t.join(", ")+")":""}`},getDatasetIndex(e){let a=this.chartDatasets.datasets.findIndex(r=>r.jsonKey==e);if(a!=-1)return a},addDataset(e,a,r,s){var i=e+"-"+r;if(this.datasetTemplates[i]){var t=JSON.parse(JSON.stringify(this.datasetTemplates[i]));return t.parsing.yAxisKey=s,t.jsonKey=s,t.data=this.chartDataObject,t.label=this.getDatasetLabel(e,a,r,s),t.labelSuffix!=null&&(t.label=t.label+t.labelSuffix),a=="all"&&(t.hidden=!1,delete t.stack),this.chartDatasets.datasets.push(t)-1}else console.warn("no matching template found for: "+s+" with template: "+i)},initDataset(e,a,r){var s=[];this.chartRange=="day"?s={counter:["power_average"],pv:["power_exported"],bat:["power_average","soc"],cp:["power_average"],sh:["power_average"],ev:["soc"],hc:["power_imported"]}:s={counter:["energy_imported","energy_exported"],pv:["energy_exported"],bat:["energy_imported","energy_exported"],cp:["energy_imported"],sh:["energy_imported","energy_exported"],ev:[],hc:["energy_imported"]};const i=e+"."+a+"."+r;if(s[e].includes(r)){var t=this.getDatasetIndex(i);const l=this.getDatasetHidden(e,a);t==null&&!l&&(t=this.addDataset(e,a,r,i)),t!=null&&l&&this.chartDatasets.datasets.splice(t,1)}else console.debug("skipping dataset:",i)},setupScaleX(){this.chartOptions.scales.x.time.unit=this.chartScaleX.unit,this.chartOptions.scales.x.time.tooltipFormat=this.chartScaleX.tooltipFormat,this.chartOptions.scales.x.title.text=this.chartScaleX.text,this.chartOptions.scales.x.ticks.maxTicksLimit=this.chartScaleX.maxTicksLimit},requestChart(){if(document.forms.chartForm.reportValidity()){this.setupScaleX(),this.chartDatasets.datasets=[];var a="";switch(this.chartRange){case"day":a="getDailyLog";break;case"month":a="getMonthlyLog";break;case"year":a="getYearlyLog";break}this.$emit("sendCommand",{command:a,data:this.commandData})}else{console.warn("form invalid");return}},clearChartData(){this.getWildcardIndexList(this.baseTopic+"+").forEach(e=>{this.$store.commit("removeTopic",`${this.baseTopic}${e}`)})},updateChart(){this.clearChartData(),this.requestChart()},init(){const e=new Date;this.currentDate=String(e.getFullYear()),this.chartRange!="year"&&(this.currentDate=this.currentDate+"-"+String(e.getMonth()+1).padStart(2,"0")),this.chartRange=="day"&&(this.currentDate=this.currentDate+"-"+String(e.getDate()).padStart(2,"0")),this.blockChartInit?this.blockChartInit=!1:this.initialDate==null||this.initialDate==""?this.chartDate=this.currentDate:this.chartDate=this.initialDate,this.updateChart()}},watch:{chartRange(){this.init()}},mounted(){this.init()}},ee={class:"chart"},te={name:"chartForm"},ae={key:1},re={key:1},ie={class:"openwb-chart"};function se(e,a,r,s,i,t){const l=p("openwb-base-select-input"),b=p("openwb-base-text-input"),m=p("openwb-base-card"),D=p("openwb-base-alert"),w=p("chartjs-line"),S=p("font-awesome-icon"),A=p("openwb-base-heading");return n(),o("div",ee,[v("form",te,[c(m,{title:"Filter",collapsible:!0,collapsed:!1},{default:d(()=>[c(l,{title:"Zeitraum",modelValue:i.chartRange,"onUpdate:modelValue":a[0]||(a[0]=u=>i.chartRange=u),options:[{value:"day",text:"Tag"},{value:"month",text:"Monat"},{value:"year",text:"Jahr"}]},null,8,["modelValue"]),c(b,{title:t.dateInput.title,subtype:t.dateInput.type,min:t.dateInput.min,max:i.currentDate,showQuickButtons:!0,modelValue:t.chartDate,"onUpdate:modelValue":[a[1]||(a[1]=u=>t.chartDate=u),a[2]||(a[2]=u=>t.updateChart())]},null,8,["title","subtype","min","max","modelValue"])]),_:1}),t.chartDataRead?(n(),o("div",ae,[t.chartDataHasEntries?(n(),o("div",re,[c(m,{title:"Diagramm",collapsible:!0,collapsed:!1},{default:d(()=>[v("div",ie,[c(w,{ref:"myChart",data:t.chartData,options:i.chartOptions,onClick:t.handleChartClick},null,8,["data","options","onClick"])])]),_:1}),c(m,{title:"Summen",collapsible:!0,collapsed:!0},{default:d(()=>[(n(!0),o(x,null,k(t.chartTotals,(u,h)=>(n(),o("div",{key:h},[Object.keys(u).length>0?(n(),g(m,{key:0,collapsible:!0,collapsed:!0,subtype:t.getCardSubtype(h)},{header:d(()=>[c(S,{"fixed-width":"",icon:t.getCardIcon(h)},null,8,["icon"]),y(" "+C(t.getTotalsLabel(h)),1)]),default:d(()=>[(n(!0),o(x,null,k(u,(I,f)=>(n(),o("div",{key:f},[h!=="hc"?(n(),g(A,{key:0},{default:d(()=>[y(C(t.getTotalsLabel(h,f)),1)]),_:2},1024)):R("",!0),(n(!0),o(x,null,k(I,(W,_)=>(n(),o("div",{key:_},[c(b,{title:t.getTotalsLabel(h,f,_),readonly:"",class:"text-right",unit:"kWh","model-value":e.formatNumber(W/1e3,3)},null,8,["title","model-value"])]))),128))]))),128))]),_:2},1032,["subtype"])):R("",!0)]))),128))]),_:1})])):(n(),g(D,{key:0,subtype:"info"},{default:d(()=>[y(" Es konnten keine Daten für diesen Zeitraum gefunden werden. ")]),_:1}))])):(n(),g(D,{key:0,subtype:"info"},{default:d(()=>[y(" Es wurden noch keine Daten abgerufen. ")]),_:1}))])])}const me=U(Y,[["render",se],["__scopeId","data-v-e00a7cd5"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/Chart.vue"]]);export{me as default}; diff --git a/web/settings/assets/CloudConfig-9cb7ed07.js b/web/settings/assets/CloudConfig-f468bd77.js similarity index 96% rename from web/settings/assets/CloudConfig-9cb7ed07.js rename to web/settings/assets/CloudConfig-f468bd77.js index 47efd9997b..4a71068b88 100644 --- a/web/settings/assets/CloudConfig-9cb7ed07.js +++ b/web/settings/assets/CloudConfig-f468bd77.js @@ -1 +1 @@ -import{C as W}from"./index-8fe3a4a0.js";import{_ as S,p as a,k as d,l as i,A as u,L as t,q as c,y as b,z as g,a2 as y,G as D,u as r,n as h}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const Z={name:"OpenwbCloudConfig",mixins:[W],emits:["sendCommand"],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/dataprotection_acknowledged","openWB/system/mqtt/bridge/+"],enableNewCloudButton:!0,newCloudData:{email:"",username:"",partner:!1},enableCloudConnectButton:!0,connectCloudData:{username:"",password:"",partner:!1},enableRemoveCloudButton:!0,showCloudRemoveModal:!1}},computed:{cloudBridge:{get(){let o=this.getWildcardTopics("openWB/system/mqtt/bridge/+");for(const[e,B]of Object.entries(o))B.remote.is_openwb_cloud||delete o[e];return o}},cloudBridgeKey:{get(){for(const[o,e]of Object.entries(this.cloudBridge))if(e.remote.is_openwb_cloud)return o}},cloudSettings:{get(){return{username:this.cloudBridge[this.cloudBridgeKey].remote.username,password:this.cloudBridge[this.cloudBridgeKey].remote.password,partner:this.cloudBridge[this.cloudBridgeKey].access?this.cloudBridge[this.cloudBridgeKey].access.partner:!1}}}},methods:{getMqttBridgeIndex(o){return parseInt(o.match(/(?:\/)(\d+)$/)[1])},createCloud(){document.forms.cloudConfigCreateForm.reportValidity()&&(this.$emit("sendCommand",{command:"initCloud",data:this.newCloudData}),this.enableNewCloudButton=!1)},connectCloud(){document.forms.cloudConfigConnectForm.reportValidity()&&(this.$emit("sendCommand",{command:"connectCloud",data:this.connectCloudData}),this.enableCloudConnectButton=!1)},removeCloudModal(o){o.stopPropagation(),this.showCloudRemoveModal=!0},removeCloud(o){this.showCloudRemoveModal=!1,o=="confirm"&&(console.info("request removal of cloud"),this.$emit("sendCommand",{command:"removeMqttBridge",data:{bridge:this.getMqttBridgeIndex(this.cloudBridgeKey)}}),this.enableCloudConnectButton=!0)}}},q={class:"cloud-config"},z={key:1},M={key:1,name:"cloudConfigCreateForm"},x=c("a",{href:"mailto:support@openwb.de",subject:"Cloud Zugangsdaten"}," support@openwb.de ",-1),K={key:0},N={key:1},R={class:"row justify-content-center"},A={key:2,name:"cloudConfigConnectForm"},P={key:0},U={key:1},j={class:"row justify-content-center"},F={key:3,name:"cloudConfigured"},L=c("span",null,[r(" Mit diesen Zugangsdaten können Sie sich in der "),c("a",{href:"https://remote.openwb.de/",target:"_blank",rel:"noopener noreferrer"}," openWB Cloud "),r(" anmelden. ")],-1),T=c("hr",null,null,-1),I={class:"row justify-content-center"};function O(o,e,B,E,s,l){const k=a("openwb-base-modal-dialog"),_=a("router-link"),m=a("openwb-base-alert"),p=a("openwb-base-text-input"),f=a("openwb-base-button-group-input"),C=a("openwb-base-click-button"),w=a("openwb-base-card"),V=a("openwb-base-heading"),v=a("openwb-base-submit-buttons");return d(),i(D,null,[u(k,{show:s.showCloudRemoveModal,title:"Cloud Zugang löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:e[0]||(e[0]=n=>l.removeCloud(n))},{default:t(()=>[r(" Wollen Sie den vorhandenen Cloud Zugang wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ")]),_:1},8,["show"]),c("div",q,[o.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]!==!0?(d(),b(m,{key:0,subtype:"danger"},{default:t(()=>[r(" Sie müssen der "),u(_,{to:"/System/LegalSettings"},{default:t(()=>[r(" Datenschutzerklärung ")]),_:1}),r(" zustimmen, um die openWB Cloud nutzen zu können. ")]),_:1})):(d(),i("div",z,[u(m,{subtype:"success"},{default:t(()=>[r(" Sie haben der "),u(_,{to:"/System/LegalSettings"},{default:t(()=>[r(" Datenschutzerklärung ")]),_:1}),r(" zugestimmt und können die openWB Cloud nutzen. ")]),_:1}),s.enableRemoveCloudButton?g("",!0):(d(),b(m,{key:0,subtype:"warning"},{default:t(()=>[r(" Der Zugang wurde entfernt. Bitte starten Sie die openWB neu, um die Änderungen anzuwenden! ")]),_:1})),l.cloudBridgeKey?g("",!0):(d(),i("form",M,[u(w,{title:"Neuen Zugang erstellen"},y({default:t(()=>[u(m,{subtype:"warning"},{default:t(()=>[r(" Derzeit können keine neuen Zugänge für die openWB Cloud angelegt werden. Bitte nutzen Sie die in/an der openWB notierten Zugangsdaten im unteren Bereich dieser Seite. Wenn bei einer gekauften openWB keine Zugangsdaten vorhanden sind, schreiben Sie bitte eine Mail unter Angabe der Bestell- und/oder Seriennummer an "),x,r(" . ")]),_:1}),o.$store.state.mqtt["openWB/general/extern"]===!0?(d(),i("div",K,[u(m,{subtype:"info"},{default:t(()=>[r(' Diese openWB befindet sich im Steuerungsmodus "secondary". Bitte richten Sie die openWB Cloud auf der übergeordneten primary openWB ein. ')]),_:1})])):(d(),i("div",N,[u(p,{title:"Benutzername",required:"",subtype:"user",pattern:"[a-zA-Z]+",modelValue:s.newCloudData.username,"onUpdate:modelValue":e[1]||(e[1]=n=>s.newCloudData.username=n),disabled:""},null,8,["modelValue"]),u(p,{title:"E-Mail",required:"",subtype:"email",modelValue:s.newCloudData.email,"onUpdate:modelValue":e[2]||(e[2]=n=>s.newCloudData.email=n),disabled:""},null,8,["modelValue"]),u(f,{disabled:"",title:"Zugang für Partner",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],modelValue:s.newCloudData.partner,"onUpdate:modelValue":e[3]||(e[3]=n=>s.newCloudData.partner=n)},{help:t(()=>[r(" Wenn diese openWB über einen Partner erworben wurde, kann hier ein Support-Zugang für diesen freigegeben werden. ")]),_:1},8,["modelValue"])]))]),_:2},[o.$store.state.mqtt["openWB/general/extern"]===!1&&o.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?{name:"footer",fn:t(()=>[c("div",R,[u(C,{class:"col-4 btn-outline-success",disabled:""},{default:t(()=>[r(" Zugang erstellen ")]),_:1})])]),key:"0"}:void 0]),1024),s.enableNewCloudButton?g("",!0):(d(),b(m,{key:0,subtype:"info",class:"mb-2"},{default:t(()=>[r(" Der neue Zugang wird eingerichtet. Dieser Vorgang kann bis zu einer Minute dauern. Bitte warten. ")]),_:1}))])),l.cloudBridgeKey?g("",!0):(d(),i("form",A,[u(w,{title:"Vorhandenen Zugang einrichten"},y({default:t(()=>[o.$store.state.mqtt["openWB/general/extern"]===!0?(d(),i("div",P,[u(m,{subtype:"info"},{default:t(()=>[r(' Diese openWB befindet sich im Steuerungsmodus "secondary". Bitte richten Sie die openWB Cloud auf der übergeordneten primary openWB ein. ')]),_:1})])):(d(),i("div",U,[u(p,{title:"Benutzername",required:"",subtype:"user",modelValue:s.connectCloudData.username,"onUpdate:modelValue":e[4]||(e[4]=n=>s.connectCloudData.username=n)},null,8,["modelValue"]),u(p,{title:"Passwort",required:"",subtype:"password",modelValue:s.connectCloudData.password,"onUpdate:modelValue":e[5]||(e[5]=n=>s.connectCloudData.password=n)},null,8,["modelValue"]),u(f,{title:"Zugang für Partner",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],modelValue:s.connectCloudData.partner,"onUpdate:modelValue":e[6]||(e[6]=n=>s.connectCloudData.partner=n)},{help:t(()=>[r(" Wenn diese openWB über einen Partner erworben wurde, kann hier ein Support-Zugang für diesen freigegeben werden. ")]),_:1},8,["modelValue"])]))]),_:2},[o.$store.state.mqtt["openWB/general/extern"]===!1&&o.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?{name:"footer",fn:t(()=>[c("div",j,[u(C,{class:h(["col-4",s.enableCloudConnectButton?"btn-success":"btn-outline-success"]),disabled:!s.enableCloudConnectButton,onButtonClicked:l.connectCloud},{default:t(()=>[r(" Mit Cloud verbinden ")]),_:1},8,["class","disabled","onButtonClicked"])])]),key:"0"}:void 0]),1024)])),l.cloudBridgeKey?(d(),i("form",F,[!s.enableCloudConnectButton||!s.enableNewCloudButton?(d(),b(m,{key:0,subtype:"warning"},{default:t(()=>[r(" Der Zugang wurde eingerichtet. Bitte starten Sie die openWB neu, um die Änderungen anzuwenden! ")]),_:1})):g("",!0),u(w,{title:"Vorhandener Cloud Zugang"},{footer:t(()=>[c("div",I,[u(C,{class:h(["col-4",s.enableRemoveCloudButton?"btn-danger":"btn-outline-danger"]),disabled:!s.enableRemoveCloudButton,onButtonClicked:e[10]||(e[10]=n=>l.removeCloudModal(n))},{default:t(()=>[r(" Zugang löschen ")]),_:1},8,["class","disabled"])])]),default:t(()=>[u(V,null,{default:t(()=>[L]),_:1}),u(p,{title:"Benutzername",required:"",subtype:"user",modelValue:l.cloudSettings.username,"onUpdate:modelValue":e[7]||(e[7]=n=>l.cloudSettings.username=n),disabled:""},null,8,["modelValue"]),u(p,{title:"Passwort",required:"",subtype:"password",modelValue:l.cloudSettings.password,"onUpdate:modelValue":e[8]||(e[8]=n=>l.cloudSettings.password=n),disabled:""},null,8,["modelValue"]),T,u(f,{title:"Zugang für Partner",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.cloudSettings.partner,"onUpdate:modelValue":e[9]||(e[9]=n=>o.updateState(l.cloudBridgeKey,n,"access.partner"))},{help:t(()=>[r(" Wenn diese openWB über einen Partner erworben wurde, kann hier ein Support-Zugang für diesen freigegeben werden. ")]),_:1},8,["model-value"])]),_:1})])):g("",!0),l.cloudBridgeKey?(d(),b(v,{key:4,formName:"cloudConfigured",onSave:e[11]||(e[11]=n=>o.$emit("save")),onReset:e[12]||(e[12]=n=>o.$emit("reset")),onDefaults:e[13]||(e[13]=n=>o.$emit("defaults"))})):g("",!0)]))])],64)}const ee=S(Z,[["render",O],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/CloudConfig.vue"]]);export{ee as default}; +import{C as W}from"./index-baf9de5e.js";import{_ as S,p as a,k as d,l as i,A as u,L as t,q as c,y as b,z as g,a2 as y,G as D,u as r,n as h}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const Z={name:"OpenwbCloudConfig",mixins:[W],emits:["sendCommand"],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/dataprotection_acknowledged","openWB/system/mqtt/bridge/+"],enableNewCloudButton:!0,newCloudData:{email:"",username:"",partner:!1},enableCloudConnectButton:!0,connectCloudData:{username:"",password:"",partner:!1},enableRemoveCloudButton:!0,showCloudRemoveModal:!1}},computed:{cloudBridge:{get(){let o=this.getWildcardTopics("openWB/system/mqtt/bridge/+");for(const[e,B]of Object.entries(o))B.remote.is_openwb_cloud||delete o[e];return o}},cloudBridgeKey:{get(){for(const[o,e]of Object.entries(this.cloudBridge))if(e.remote.is_openwb_cloud)return o}},cloudSettings:{get(){return{username:this.cloudBridge[this.cloudBridgeKey].remote.username,password:this.cloudBridge[this.cloudBridgeKey].remote.password,partner:this.cloudBridge[this.cloudBridgeKey].access?this.cloudBridge[this.cloudBridgeKey].access.partner:!1}}}},methods:{getMqttBridgeIndex(o){return parseInt(o.match(/(?:\/)(\d+)$/)[1])},createCloud(){document.forms.cloudConfigCreateForm.reportValidity()&&(this.$emit("sendCommand",{command:"initCloud",data:this.newCloudData}),this.enableNewCloudButton=!1)},connectCloud(){document.forms.cloudConfigConnectForm.reportValidity()&&(this.$emit("sendCommand",{command:"connectCloud",data:this.connectCloudData}),this.enableCloudConnectButton=!1)},removeCloudModal(o){o.stopPropagation(),this.showCloudRemoveModal=!0},removeCloud(o){this.showCloudRemoveModal=!1,o=="confirm"&&(console.info("request removal of cloud"),this.$emit("sendCommand",{command:"removeMqttBridge",data:{bridge:this.getMqttBridgeIndex(this.cloudBridgeKey)}}),this.enableCloudConnectButton=!0)}}},q={class:"cloud-config"},z={key:1},M={key:1,name:"cloudConfigCreateForm"},x=c("a",{href:"mailto:support@openwb.de",subject:"Cloud Zugangsdaten"}," support@openwb.de ",-1),K={key:0},N={key:1},R={class:"row justify-content-center"},A={key:2,name:"cloudConfigConnectForm"},P={key:0},U={key:1},j={class:"row justify-content-center"},F={key:3,name:"cloudConfigured"},L=c("span",null,[r(" Mit diesen Zugangsdaten können Sie sich in der "),c("a",{href:"https://remote.openwb.de/",target:"_blank",rel:"noopener noreferrer"}," openWB Cloud "),r(" anmelden. ")],-1),T=c("hr",null,null,-1),I={class:"row justify-content-center"};function O(o,e,B,E,s,l){const k=a("openwb-base-modal-dialog"),_=a("router-link"),m=a("openwb-base-alert"),p=a("openwb-base-text-input"),f=a("openwb-base-button-group-input"),C=a("openwb-base-click-button"),w=a("openwb-base-card"),V=a("openwb-base-heading"),v=a("openwb-base-submit-buttons");return d(),i(D,null,[u(k,{show:s.showCloudRemoveModal,title:"Cloud Zugang löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:e[0]||(e[0]=n=>l.removeCloud(n))},{default:t(()=>[r(" Wollen Sie den vorhandenen Cloud Zugang wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ")]),_:1},8,["show"]),c("div",q,[o.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]!==!0?(d(),b(m,{key:0,subtype:"danger"},{default:t(()=>[r(" Sie müssen der "),u(_,{to:"/System/LegalSettings"},{default:t(()=>[r(" Datenschutzerklärung ")]),_:1}),r(" zustimmen, um die openWB Cloud nutzen zu können. ")]),_:1})):(d(),i("div",z,[u(m,{subtype:"success"},{default:t(()=>[r(" Sie haben der "),u(_,{to:"/System/LegalSettings"},{default:t(()=>[r(" Datenschutzerklärung ")]),_:1}),r(" zugestimmt und können die openWB Cloud nutzen. ")]),_:1}),s.enableRemoveCloudButton?g("",!0):(d(),b(m,{key:0,subtype:"warning"},{default:t(()=>[r(" Der Zugang wurde entfernt. Bitte starten Sie die openWB neu, um die Änderungen anzuwenden! ")]),_:1})),l.cloudBridgeKey?g("",!0):(d(),i("form",M,[u(w,{title:"Neuen Zugang erstellen"},y({default:t(()=>[u(m,{subtype:"warning"},{default:t(()=>[r(" Derzeit können keine neuen Zugänge für die openWB Cloud angelegt werden. Bitte nutzen Sie die in/an der openWB notierten Zugangsdaten im unteren Bereich dieser Seite. Wenn bei einer gekauften openWB keine Zugangsdaten vorhanden sind, schreiben Sie bitte eine Mail unter Angabe der Bestell- und/oder Seriennummer an "),x,r(" . ")]),_:1}),o.$store.state.mqtt["openWB/general/extern"]===!0?(d(),i("div",K,[u(m,{subtype:"info"},{default:t(()=>[r(' Diese openWB befindet sich im Steuerungsmodus "secondary". Bitte richten Sie die openWB Cloud auf der übergeordneten primary openWB ein. ')]),_:1})])):(d(),i("div",N,[u(p,{title:"Benutzername",required:"",subtype:"user",pattern:"[a-zA-Z]+",modelValue:s.newCloudData.username,"onUpdate:modelValue":e[1]||(e[1]=n=>s.newCloudData.username=n),disabled:""},null,8,["modelValue"]),u(p,{title:"E-Mail",required:"",subtype:"email",modelValue:s.newCloudData.email,"onUpdate:modelValue":e[2]||(e[2]=n=>s.newCloudData.email=n),disabled:""},null,8,["modelValue"]),u(f,{disabled:"",title:"Zugang für Partner",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],modelValue:s.newCloudData.partner,"onUpdate:modelValue":e[3]||(e[3]=n=>s.newCloudData.partner=n)},{help:t(()=>[r(" Wenn diese openWB über einen Partner erworben wurde, kann hier ein Support-Zugang für diesen freigegeben werden. ")]),_:1},8,["modelValue"])]))]),_:2},[o.$store.state.mqtt["openWB/general/extern"]===!1&&o.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?{name:"footer",fn:t(()=>[c("div",R,[u(C,{class:"col-4 btn-outline-success",disabled:""},{default:t(()=>[r(" Zugang erstellen ")]),_:1})])]),key:"0"}:void 0]),1024),s.enableNewCloudButton?g("",!0):(d(),b(m,{key:0,subtype:"info",class:"mb-2"},{default:t(()=>[r(" Der neue Zugang wird eingerichtet. Dieser Vorgang kann bis zu einer Minute dauern. Bitte warten. ")]),_:1}))])),l.cloudBridgeKey?g("",!0):(d(),i("form",A,[u(w,{title:"Vorhandenen Zugang einrichten"},y({default:t(()=>[o.$store.state.mqtt["openWB/general/extern"]===!0?(d(),i("div",P,[u(m,{subtype:"info"},{default:t(()=>[r(' Diese openWB befindet sich im Steuerungsmodus "secondary". Bitte richten Sie die openWB Cloud auf der übergeordneten primary openWB ein. ')]),_:1})])):(d(),i("div",U,[u(p,{title:"Benutzername",required:"",subtype:"user",modelValue:s.connectCloudData.username,"onUpdate:modelValue":e[4]||(e[4]=n=>s.connectCloudData.username=n)},null,8,["modelValue"]),u(p,{title:"Passwort",required:"",subtype:"password",modelValue:s.connectCloudData.password,"onUpdate:modelValue":e[5]||(e[5]=n=>s.connectCloudData.password=n)},null,8,["modelValue"]),u(f,{title:"Zugang für Partner",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],modelValue:s.connectCloudData.partner,"onUpdate:modelValue":e[6]||(e[6]=n=>s.connectCloudData.partner=n)},{help:t(()=>[r(" Wenn diese openWB über einen Partner erworben wurde, kann hier ein Support-Zugang für diesen freigegeben werden. ")]),_:1},8,["modelValue"])]))]),_:2},[o.$store.state.mqtt["openWB/general/extern"]===!1&&o.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?{name:"footer",fn:t(()=>[c("div",j,[u(C,{class:h(["col-4",s.enableCloudConnectButton?"btn-success":"btn-outline-success"]),disabled:!s.enableCloudConnectButton,onButtonClicked:l.connectCloud},{default:t(()=>[r(" Mit Cloud verbinden ")]),_:1},8,["class","disabled","onButtonClicked"])])]),key:"0"}:void 0]),1024)])),l.cloudBridgeKey?(d(),i("form",F,[!s.enableCloudConnectButton||!s.enableNewCloudButton?(d(),b(m,{key:0,subtype:"warning"},{default:t(()=>[r(" Der Zugang wurde eingerichtet. Bitte starten Sie die openWB neu, um die Änderungen anzuwenden! ")]),_:1})):g("",!0),u(w,{title:"Vorhandener Cloud Zugang"},{footer:t(()=>[c("div",I,[u(C,{class:h(["col-4",s.enableRemoveCloudButton?"btn-danger":"btn-outline-danger"]),disabled:!s.enableRemoveCloudButton,onButtonClicked:e[10]||(e[10]=n=>l.removeCloudModal(n))},{default:t(()=>[r(" Zugang löschen ")]),_:1},8,["class","disabled"])])]),default:t(()=>[u(V,null,{default:t(()=>[L]),_:1}),u(p,{title:"Benutzername",required:"",subtype:"user",modelValue:l.cloudSettings.username,"onUpdate:modelValue":e[7]||(e[7]=n=>l.cloudSettings.username=n),disabled:""},null,8,["modelValue"]),u(p,{title:"Passwort",required:"",subtype:"password",modelValue:l.cloudSettings.password,"onUpdate:modelValue":e[8]||(e[8]=n=>l.cloudSettings.password=n),disabled:""},null,8,["modelValue"]),T,u(f,{title:"Zugang für Partner",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.cloudSettings.partner,"onUpdate:modelValue":e[9]||(e[9]=n=>o.updateState(l.cloudBridgeKey,n,"access.partner"))},{help:t(()=>[r(" Wenn diese openWB über einen Partner erworben wurde, kann hier ein Support-Zugang für diesen freigegeben werden. ")]),_:1},8,["model-value"])]),_:1})])):g("",!0),l.cloudBridgeKey?(d(),b(v,{key:4,formName:"cloudConfigured",onSave:e[11]||(e[11]=n=>o.$emit("save")),onReset:e[12]||(e[12]=n=>o.$emit("reset")),onDefaults:e[13]||(e[13]=n=>o.$emit("defaults"))})):g("",!0)]))])],64)}const ee=S(Z,[["render",O],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/CloudConfig.vue"]]);export{ee as default}; diff --git a/web/settings/assets/DataManagement-7a561a9b.js b/web/settings/assets/DataManagement-3f17ee7b.js similarity index 94% rename from web/settings/assets/DataManagement-7a561a9b.js rename to web/settings/assets/DataManagement-3f17ee7b.js index 8d3b0033ff..efaf58a35b 100644 --- a/web/settings/assets/DataManagement-7a561a9b.js +++ b/web/settings/assets/DataManagement-3f17ee7b.js @@ -1 +1 @@ -import{l as V,a0 as z,a1 as A,a2 as R,a3 as j,a4 as H,F as P}from"./vendor-fortawesome-12056596.js";import{_ as v,C as E}from"./index-8fe3a4a0.js";import{_ as N}from"./dynamic-import-helper-be004503.js";import{_ as D,p as d,k as p,l as h,y as B,L as u,u as s,x as k,A as o,q as n,a0 as U,a1 as q,z as T,n as w,G as O,I as F,a2 as I}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const G={name:"BackupCloudConfigFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},backupCloudType:String},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},Z={class:"backup-cloud-fallback"},J={key:1};function K(t,e,r,m,a,i){const c=d("openwb-base-alert"),g=d("openwb-base-textarea");return p(),h("div",Z,[Object.keys(r.configuration).length==0?(p(),B(c,{key:0,subtype:"info"},{default:u(()=>[s(' Der Backup-Cloud-Typ "'+k(r.backupCloudType)+'" bietet keine Einstellungen. ',1)]),_:1})):(p(),h("div",J,[o(c,{subtype:"warning"},{default:u(()=>[s(' Es wurde keine Konfigurationsseite für den Backup-Cloud-Typ "'+k(r.backupCloudType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),o(g,{title:"Konfiguration",subtype:"json","model-value":r.configuration,"onUpdate:modelValue":e[0]||(e[0]=b=>i.updateConfiguration(b,"configuration"))},{help:u(()=>[s(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),o(c,{subtype:"info"},{default:u(()=>[n("pre",null,k(JSON.stringify(r.configuration,void 0,2)),1)]),_:1})]))])}const $=D(G,[["render",K],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/OpenwbBackupCloudConfigFallback.vue"]]),Q={name:"OpenwbBackupCloudProxy",emits:["update:configuration"],props:{backupCloudType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading backup cloud: ${this.backupCloudType}`),U({loader:()=>N(Object.assign({"./nextcloud/backup_cloud.vue":()=>v(()=>import("./backup_cloud-71ffb0e4.js"),["assets/backup_cloud-71ffb0e4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./nfs/backup_cloud.vue":()=>v(()=>import("./backup_cloud-57a59b65.js"),["assets/backup_cloud-57a59b65.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./onedrive/backup_cloud.vue":()=>v(()=>import("./backup_cloud-eea2e1ba.js"),["assets/backup_cloud-eea2e1ba.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./samba/backup_cloud.vue":()=>v(()=>import("./backup_cloud-b50dcfca.js"),["assets/backup_cloud-b50dcfca.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"])}),`./${this.backupCloudType}/backup_cloud.vue`),errorComponent:$})}},methods:{updateConfiguration(t){this.$emit("update:configuration",t)}}};function X(t,e,r,m,a,i){return p(),B(q(i.myComponent),{configuration:r.configuration,backupCloudType:r.backupCloudType,"onUpdate:configuration":e[0]||(e[0]=c=>i.updateConfiguration(c))},null,40,["configuration","backupCloudType"])}const Y=D(Q,[["render",X],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/OpenwbBackupCloudProxy.vue"]]);V.add(z,A,R,j,H);const ee={name:"OpenwbSystem",mixins:[E],emits:["sendCommand"],components:{FontAwesomeIcon:P,OpenwbBackupCloudProxy:Y},data(){return{mqttTopicsToSubscribe:["openWB/system/configurable/backup_clouds","openWB/system/backup_cloud/config","openWB/system/device/+/component/+/config","openWB/chargepoint/+/config","openWB/vehicle/+/name","openWB/LegacySmartHome/config/get/Devices/+/device_configured","openWB/LegacySmartHome/config/get/Devices/+/device_name"],warningAcknowledged:!1,selectedRestoreFile:void 0,restoreUploadDone:!1,selectedDataMigrationFile:void 0,dataMigrationUploadDone:!1,dataMigrationConfig:[{sectionName:"Ladepunkte",sectionComponents:[{key:"cp1",label:"Ladepunkt 1",validTypes:["chargePoint"]},{key:"cp2",label:"Ladepunkt 2",validTypes:["chargePoint"]},{key:"cp3",label:"Ladepunkt 3",validTypes:["chargePoint"]},{key:"cp4",label:"Ladepunkt 4",validTypes:["chargePoint"]},{key:"cp5",label:"Ladepunkt 5",validTypes:["chargePoint"]},{key:"cp6",label:"Ladepunkt 6",validTypes:["chargePoint"]},{key:"cp7",label:"Ladepunkt 7",validTypes:["chargePoint"]},{key:"cp8",label:"Ladepunkt 8",validTypes:["chargePoint"]}]},{sectionName:"Zähler",sectionComponents:[{key:"evu",label:"EVU",validTypes:["counter"]},{key:"consumer1",label:"Verbraucher 1",validTypes:["counter"]},{key:"consumer2",label:"Verbraucher 2",validTypes:["counter"]},{key:"consumer3",label:"Verbraucher 3",validTypes:["counter"]}]},{sectionName:"Wechselrichter",sectionComponents:[{key:"pvAll",label:"Wechselrichter (Summe)",validTypes:["inverter"],help:"Die 1.9er Version von openWB speichert lediglich die Summen-Leistung aller Wechselrichter."}]},{sectionName:"Batteriespeicher",sectionComponents:[{key:"bat",label:"Speicher 1",validTypes:["battery"]}]},{sectionName:"Fahrzeuge",sectionComponents:[{key:"ev1",label:"Fahrzeug von Ladepunkt 1",validTypes:["vehicle"]},{key:"ev2",label:"Fahrzeug von Ladepunkt 2",validTypes:["vehicle"]}]},{sectionName:"SmartHome 2.0",sectionComponents:[{key:"sh1",label:"Gerät 1",validTypes:["smartHome"]},{key:"sh2",label:"Gerät 2",validTypes:["smartHome"]},{key:"sh3",label:"Gerät 3",validTypes:["smartHome"]},{key:"sh4",label:"Gerät 4",validTypes:["smartHome"]},{key:"sh5",label:"Gerät 5",validTypes:["smartHome"]},{key:"sh6",label:"Gerät 6",validTypes:["smartHome"]},{key:"sh7",label:"Gerät 7",validTypes:["smartHome"]},{key:"sh8",label:"Gerät 8",validTypes:["smartHome"]},{key:"sh9",label:"Gerät 9",validTypes:["smartHome"]},{key:"sh10",label:"Gerät 10",validTypes:["smartHome"]}]}],dataMigrationMapping:{cp1:void 0,cp2:void 0,cp3:void 0,cp4:void 0,cp5:void 0,cp6:void 0,cp7:void 0,cp8:void 0,evu:void 0,pvAll:void 0,bat:void 0,consumer1:void 0,consumer2:void 0,consumer3:void 0,sh1:void 0,sh2:void 0,sh3:void 0,sh4:void 0,sh5:void 0,sh6:void 0,sh7:void 0,sh8:void 0,sh9:void 0,sh10:void 0,ev1:void 0,ev2:void 0}}},computed:{backupCloudList(){return this.$store.state.mqtt["openWB/system/configurable/backup_clouds"]},componentConfigurations(){return this.getWildcardTopics("openWB/system/device/+/component/+/config")},chargePointOptions(){let t=this.getWildcardTopics("openWB/chargepoint/+/config");var e=[];for(const r of Object.values(t))e.push({value:r.id,text:r.name});return e},counterOptions(){var t=[];for(const e of Object.values(this.componentConfigurations))this.isComponentType(e.type,"counter")&&t.push({value:e.id,text:e.name});return t},inverterOptions(){var t=[];for(const e of Object.values(this.componentConfigurations))this.isComponentType(e.type,"inverter")&&t.push({value:e.id,text:e.name});return t},batteryOptions(){var t=[];for(const e of Object.values(this.componentConfigurations))this.isComponentType(e.type,"bat")&&t.push({value:e.id,text:e.name});return t},vehicleOptions(){let t=this.getWildcardTopics("openWB/vehicle/+/name");var e=[];for(const[r,m]of Object.entries(t)){let a=parseInt(r.match(/\/(\d\d?)\//)[1]);e.push({value:a,text:m})}return e},smartHomeOptions(){let t=this.getWildcardTopics("openWB/LegacySmartHome/config/get/Devices/+/device_configured");var e=[];for(const[r,m]of Object.entries(t))if(m==1){let a=parseInt(r.match(/\/(\d\d?)\//)[1]);e.push({value:a,text:this.$store.state.mqtt[`openWB/LegacySmartHome/config/get/Devices/${a}/device_name`]})}return e}},methods:{isComponentType(t,e){return t.split("_").includes(e)},getBackupCloudDefaultConfiguration(t){const e=this.backupCloudList.find(r=>r.value==t);return Object.prototype.hasOwnProperty.call(e,"defaults")?{...JSON.parse(JSON.stringify(e.defaults))}:(console.warn("no default configuration found for backup cloud type!",t),{})},sendSystemCommand(t,e={}){this.$emit("sendCommand",{command:t,data:e})},getMigrationOptions(t){var e=[{value:void 0,text:"-- nicht übernehmen --"}];return t.includes("chargePoint")&&e.push(...this.chargePointOptions),t.includes("counter")&&e.push(...this.counterOptions),t.includes("inverter")&&e.push(...this.inverterOptions),t.includes("battery")&&e.push(...this.batteryOptions),t.includes("vehicle")&&e.push(...this.vehicleOptions),t.includes("smartHome")&&e.push(...this.smartHomeOptions),e},updateConfiguration(t,e){console.debug("updateConfiguration",t,e),this.updateState(t,e.value,e.object)},updateSelectedBackupCloud(t){this.updateState("openWB/system/backup_cloud/config",t,"type"),this.updateState("openWB/system/backup_cloud/config",this.getBackupCloudDefaultConfiguration(t))},updateSelectedRestoreFile(t){this.selectedRestoreFile=t.target.files[0]},updateSelectedDataMigrationFile(t){this.selectedDataMigrationFile=t.target.files[0]},uploadFile(t,e,r){return new Promise(m=>{if(e!==void 0){let a=new FormData;a.append("file",e),a.append("target",t),this.axios.post(location.protocol+"//"+location.host+"/openWB/web/settings/uploadFile.php",a,{headers:{"Content-Type":"multipart/form-data"}}).then(()=>{this.$root.postClientMessage(r,"success"),m(!0)}).catch(i=>{if(i.response){console.error(i.response.status,i.response.data);var c="Hochladen der Datei fehlgeschlagen!
"+i.response.status+": "+i.response.data}else i.request?(console.error(i.request),c+="Es wurde keine Antwort vom Server empfangen."):(console.error("Error",i.message),c+="Es ist ein unbekannter Fehler aufgetreten.");this.$root.postClientMessage(c,"danger"),m(!1)})}else console.error("no file selected for upload"),m(!1)})},async uploadRestoreFile(){const t="Die Sicherungsdatei wurde erfolgreich hochgeladen. Sie können die Wiederherstellung jetzt starten.";this.restoreUploadDone=await this.uploadFile("restore",this.selectedRestoreFile,t)},async uploadDataMigrationFile(){const t="Die Sicherungsdatei wurde erfolgreich hochgeladen. Sie können den Import jetzt starten.";this.dataMigrationUploadDone=await this.uploadFile("migrate",this.selectedDataMigrationFile,t)},restoreBackup(){this.sendSystemCommand("restoreBackup"),this.$store.commit("storeLocal",{name:"reloadRequired",value:!0})},dataMigration(){this.sendSystemCommand("dataMigration",this.dataMigrationMapping)},factoryReset(){this.sendSystemCommand("factoryReset",{}),this.$store.commit("storeLocal",{name:"reloadRequired",value:!0})}}},te={class:"system"},ne=n("h2",null,"Achtung!",-1),oe=n("p",null," Vor allen Aktionen auf dieser Seite ist sicherzustellen, dass kein Ladevorgang aktiv ist! Zur Sicherheit bitte zusätzlich alle Fahrzeuge von der Ladestation / den Ladestationen abstecken! ",-1),ie={key:0},se={name:"backupForm"},ae=n("a",{href:"/openWB/data/backup/",target:"_blank"},"hier",-1),le={class:"row justify-content-center"},ue={class:"col-md-4 d-flex py-1 justify-content-center"},re=n("hr",null,null,-1),de={name:"restoreForm"},ce=n("br",null,null,-1),pe={class:"input-group"},me={class:"input-group-prepend"},ge={class:"input-group-text"},fe={class:"custom-file"},he={id:"input-file-label",class:"custom-file-label",for:"input-file","data-browse":"Suchen"},be={class:"input-group-append"},_e=["disabled"],ke={class:"row justify-content-center"},ye={class:"col-md-4 d-flex py-1 justify-content-center"},ve=n("hr",null,null,-1),we={name:"cloudBackupForm"},Ce=n("br",null,null,-1),De=n("a",{href:"https://github.com/openWB/core/wiki/Cloud-Sicherung",target:"_blank",rel:"noopener noreferrer"}," hier ",-1),Be={key:0},Se={name:"dataMigrationForm"},Te=n("br",null,null,-1),Oe=n("br",null,null,-1),Fe={class:"input-group"},We={class:"input-group-prepend"},xe={class:"input-group-text"},Me={class:"custom-file"},Le={id:"data-migration-file-label",class:"custom-file-label",for:"data-migration-file","data-browse":"Suchen"},Ve={class:"input-group-append"},ze=["disabled"],Ae={class:"row justify-content-center"},Re={class:"col-md-4 d-flex py-1 justify-content-center"},je={name:"resetForm"},He={class:"row justify-content-center"},Pe={class:"col-md-4 d-flex py-1 justify-content-center"};function Ee(t,e,r,m,a,i){const c=d("openwb-base-button-group-input"),g=d("openwb-base-alert"),b=d("openwb-base-heading"),f=d("font-awesome-icon"),y=d("openwb-base-click-button"),S=d("openwb-base-select-input"),W=d("openwb-base-button-input"),x=d("openwb-backup-cloud-proxy"),M=d("openwb-base-submit-buttons"),C=d("openwb-base-card");return p(),h("div",te,[o(g,{subtype:"danger"},{default:u(()=>[ne,oe,o(c,{title:"Ich habe die Warnung verstanden",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],modelValue:this.warningAcknowledged,"onUpdate:modelValue":e[0]||(e[0]=l=>this.warningAcknowledged=l)},null,8,["modelValue"])]),_:1}),a.warningAcknowledged?(p(),h("div",ie,[o(C,{title:"Sicherung / Wiederherstellung",subtype:"success",collapsible:!0,collapsed:!0},{default:u(()=>[n("form",se,[o(b,null,{default:u(()=>[s("Sicherung")]),_:1}),o(g,{subtype:"danger"},{default:u(()=>[s(' Aktuell können nur Sicherungen wiederhergestellt werden, die in den Entwicklungszweigen "master", "Beta" oder "Release" erstellt wurden! ')]),_:1}),o(g,{subtype:"info"},{default:u(()=>[s(" Nachdem die Sicherung abgeschlossen ist, kann die erstellte Datei über den Link in der Benachrichtigung oder "),ae,s(" heruntergeladen werden. ")]),_:1}),n("div",le,[n("div",ue,[o(y,{class:"btn-success clickable",onButtonClicked:e[1]||(e[1]=l=>i.sendSystemCommand("createBackup",{use_extended_filename:!0}))},{default:u(()=>[s(" Sicherung erstellen "),o(f,{"fixed-width":"",icon:["fas","archive"]})]),_:1})])])]),re,n("form",de,[o(b,null,{default:u(()=>[s("Wiederherstellung")]),_:1}),o(g,{subtype:"danger"},{default:u(()=>[s(" Für die Wiederherstellung wird eine aktive Internetverbindung benötigt."),ce,s(' Aktuell können nur Sicherungen wiederhergestellt werden, die in den Entwicklungszweigen "master", "Beta" oder "Release" erstellt wurden! ')]),_:1}),n("div",pe,[n("div",me,[n("div",ge,[o(f,{"fixed-width":"",icon:["fas","file-archive"]})])]),n("div",fe,[n("input",{id:"input-file",type:"file",class:"custom-file-input",accept:".tar.gz,application/gzip,application/tar+gzip",onChange:e[2]||(e[2]=l=>i.updateSelectedRestoreFile(l))},null,32),n("label",he,k(a.selectedRestoreFile?a.selectedRestoreFile.name:"Bitte eine Datei auswählen"),1)]),n("div",be,[n("button",{class:w(["btn",a.selectedRestoreFile?"btn-success clickable":"btn-outline-success"]),disabled:!a.selectedRestoreFile,type:"button",onClick:e[3]||(e[3]=l=>i.uploadRestoreFile())},[s(" Hochladen "),o(f,{"fixed-width":"",icon:["fas","upload"]})],10,_e)])]),n("div",ke,[n("div",ye,[o(y,{class:w(a.restoreUploadDone?"btn-success clickable":"btn-outline-success"),disabled:!a.restoreUploadDone,onButtonClicked:e[4]||(e[4]=l=>i.restoreBackup())},{default:u(()=>[s(" Wiederherstellung starten "),o(f,{"fixed-width":"",icon:["fas","box-open"]})]),_:1},8,["class","disabled"])])])]),ve,n("form",we,[o(b,null,{default:u(()=>[s(" Automatische Sicherung in einen Cloud-Dienst ")]),_:1}),o(g,{subtype:"info"},{default:u(()=>[s(" Zwischen Mitternacht und 5:00 Uhr wird automatisch eine Sicherung erstellt und in den angegebenen Cloud-Dienst (nicht openWB Cloud!) hochgeladen. Ist kein Cloud-Dienst konfiguriert, wird keine automatische Sicherung erstellt. Die automatische Sicherung kann unabhängig von der openWB Cloud genutzt werden."),Ce,s(" Die Anleitung zur Konfiguration des Cloud-Dienstes findest Du "),De,s(" . ")]),_:1}),o(S,{class:"mb-2",title:"Backup-Cloud",options:i.backupCloudList,"model-value":t.$store.state.mqtt["openWB/system/backup_cloud/config"].type,"onUpdate:modelValue":e[5]||(e[5]=l=>i.updateSelectedBackupCloud(l))},null,8,["options","model-value"]),t.$store.state.mqtt["openWB/system/backup_cloud/config"].type?(p(),h("div",Be,[o(W,{title:"Manuelle Cloud-Sicherung",buttonText:"Sicherung erstellen und hochladen",subtype:"success",onButtonClicked:e[6]||(e[6]=l=>i.sendSystemCommand("createCloudBackup",{}))}),o(x,{backupCloudType:t.$store.state.mqtt["openWB/system/backup_cloud/config"].type,configuration:t.$store.state.mqtt["openWB/system/backup_cloud/config"].configuration,"onUpdate:configuration":e[7]||(e[7]=l=>i.updateConfiguration("openWB/system/backup_cloud/config",l)),onSendCommand:e[8]||(e[8]=l=>i.sendSystemCommand(l.command,l.args))},null,8,["backupCloudType","configuration"])])):T("",!0),o(M,{formName:"cloudBackupForm",hideReset:!0,hideDefaults:!0,onSave:e[9]||(e[9]=l=>t.$emit("save")),onReset:e[10]||(e[10]=l=>t.$emit("reset")),onDefaults:e[11]||(e[11]=l=>t.$emit("defaults"))})])]),_:1}),o(C,{title:"Datenübernahme",subtype:"success",collapsible:!0,collapsed:!0},{default:u(()=>[n("form",Se,[o(g,{subtype:"info"},{default:u(()=>[s(" Hier kann die Sicherung einer älteren 1.9er Version hochgeladen werden, um vorhandene historische Daten (Diagramme und Ladeprotokolle) sowie Cloud-Daten und Seriennummer in diese Installation zu importieren. Die Zuordnung zwischen den alten und neuen Komponenten muss manuell durchgeführt werden."),Te,s(" Die Portierung kann einige Minuten dauern. Du erhältst eine Meldung, wenn die Datenübernahme abgeschlossen ist. ")]),_:1}),o(g,{subtype:"danger"},{default:u(()=>[s(" Vor der Datenübernahme unbedingt eine Sicherung erstellen."),Oe,s(" Die Datenübernahme kann nur durch Einspielen einer Sicherung rückgängig gemacht werden! ")]),_:1}),n("div",Fe,[n("div",We,[n("div",xe,[o(f,{"fixed-width":"",icon:["fas","file-archive"]})])]),n("div",Me,[n("input",{id:"data-migration-file",type:"file",class:"custom-file-input",accept:".tar.gz,application/gzip,application/tar+gzip",onChange:e[12]||(e[12]=l=>i.updateSelectedDataMigrationFile(l))},null,32),n("label",Le,k(a.selectedDataMigrationFile?a.selectedDataMigrationFile.name:"Bitte eine Datei auswählen"),1)]),n("div",Ve,[n("button",{class:w(["btn",a.selectedDataMigrationFile?"btn-success clickable":"btn-outline-success"]),disabled:!a.selectedDataMigrationFile,type:"button",onClick:e[13]||(e[13]=l=>i.uploadDataMigrationFile())},[s(" Hochladen "),o(f,{"fixed-width":"",icon:["fas","upload"]})],10,ze)])]),o(b,null,{default:u(()=>[s("Zuordnung der Komponenten")]),_:1}),(p(!0),h(O,null,F(a.dataMigrationConfig,l=>(p(),h("div",{key:l.sectionName},[o(b,null,{default:u(()=>[s(k(l.sectionName),1)]),_:2},1024),(p(!0),h(O,null,F(l.sectionComponents,_=>(p(),B(S,{key:_.key,title:_.label,options:i.getMigrationOptions(_.validTypes),modelValue:a.dataMigrationMapping[_.key],"onUpdate:modelValue":L=>a.dataMigrationMapping[_.key]=L},I({_:2},[_.help?{name:"help",fn:u(()=>[s(k(_.help),1)]),key:"0"}:void 0]),1032,["title","options","modelValue","onUpdate:modelValue"]))),128))]))),128)),n("div",Ae,[n("div",Re,[o(y,{class:w(a.dataMigrationUploadDone?"btn-success clickable":"btn-outline-success"),disabled:!a.dataMigrationUploadDone,onButtonClicked:e[14]||(e[14]=l=>i.dataMigration())},{default:u(()=>[s(" Datenübernahme starten "),o(f,{"fixed-width":"",icon:["fas","box-open"]})]),_:1},8,["class","disabled"])])])])]),_:1}),n("form",je,[o(C,{title:"Zurücksetzen",subtype:"danger",collapsible:!0,collapsed:!0},{footer:u(()=>[n("div",He,[n("div",Pe,[o(y,{class:"btn-danger clickable",onButtonClicked:e[15]||(e[15]=l=>i.factoryReset())},{default:u(()=>[o(f,{"fixed-width":"",icon:["fas","skull-crossbones"]}),s(" Zurücksetzen "),o(f,{"fixed-width":"",icon:["fas","skull-crossbones"]})]),_:1})])])]),default:u(()=>[o(g,{subtype:"danger"},{default:u(()=>[s(" Alle Einstellungen, angelegte Geräte/Komponenten, Ladepunkte und Fahrzeuge, etc, Tages-, Monats- und Jahresauswertungen sowie das Ladeprotokoll werden unwiederbringlich gelöscht. Auch die Vorkonfiguration im Auslieferungszustand wird gelöscht. Die openWB muss danach komplett neu eingerichtet werden. Die openWB wird hierfür automatisch neu gestartet. Bitte erstelle vor dem Zurücksetzen eine Sicherung! ")]),_:1})]),_:1})])])):T("",!0)])}const $e=D(ee,[["render",Ee],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/DataManagement.vue"]]);export{$e as default}; +import{l as V,a0 as z,a1 as A,a2 as R,a3 as j,a4 as H,F as P}from"./vendor-fortawesome-349077b4.js";import{_ as v,C as E}from"./index-baf9de5e.js";import{_ as N}from"./dynamic-import-helper-be004503.js";import{_ as D,p as d,k as p,l as h,y as B,L as u,u as s,x as k,A as o,q as n,a0 as U,a1 as q,z as T,n as w,G as O,I as F,a2 as I}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const G={name:"BackupCloudConfigFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},backupCloudType:String},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},Z={class:"backup-cloud-fallback"},J={key:1};function K(t,e,r,m,a,i){const c=d("openwb-base-alert"),g=d("openwb-base-textarea");return p(),h("div",Z,[Object.keys(r.configuration).length==0?(p(),B(c,{key:0,subtype:"info"},{default:u(()=>[s(' Der Backup-Cloud-Typ "'+k(r.backupCloudType)+'" bietet keine Einstellungen. ',1)]),_:1})):(p(),h("div",J,[o(c,{subtype:"warning"},{default:u(()=>[s(' Es wurde keine Konfigurationsseite für den Backup-Cloud-Typ "'+k(r.backupCloudType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),o(g,{title:"Konfiguration",subtype:"json","model-value":r.configuration,"onUpdate:modelValue":e[0]||(e[0]=b=>i.updateConfiguration(b,"configuration"))},{help:u(()=>[s(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),o(c,{subtype:"info"},{default:u(()=>[n("pre",null,k(JSON.stringify(r.configuration,void 0,2)),1)]),_:1})]))])}const $=D(G,[["render",K],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/OpenwbBackupCloudConfigFallback.vue"]]),Q={name:"OpenwbBackupCloudProxy",emits:["update:configuration"],props:{backupCloudType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading backup cloud: ${this.backupCloudType}`),U({loader:()=>N(Object.assign({"./nextcloud/backup_cloud.vue":()=>v(()=>import("./backup_cloud-eae79032.js"),["assets/backup_cloud-eae79032.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./nfs/backup_cloud.vue":()=>v(()=>import("./backup_cloud-48fb7bfd.js"),["assets/backup_cloud-48fb7bfd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./onedrive/backup_cloud.vue":()=>v(()=>import("./backup_cloud-b87842dd.js"),["assets/backup_cloud-b87842dd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./samba/backup_cloud.vue":()=>v(()=>import("./backup_cloud-8781ed3e.js"),["assets/backup_cloud-8781ed3e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"])}),`./${this.backupCloudType}/backup_cloud.vue`),errorComponent:$})}},methods:{updateConfiguration(t){this.$emit("update:configuration",t)}}};function X(t,e,r,m,a,i){return p(),B(q(i.myComponent),{configuration:r.configuration,backupCloudType:r.backupCloudType,"onUpdate:configuration":e[0]||(e[0]=c=>i.updateConfiguration(c))},null,40,["configuration","backupCloudType"])}const Y=D(Q,[["render",X],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/OpenwbBackupCloudProxy.vue"]]);V.add(z,A,R,j,H);const ee={name:"OpenwbSystem",mixins:[E],emits:["sendCommand"],components:{FontAwesomeIcon:P,OpenwbBackupCloudProxy:Y},data(){return{mqttTopicsToSubscribe:["openWB/system/configurable/backup_clouds","openWB/system/backup_cloud/config","openWB/system/device/+/component/+/config","openWB/chargepoint/+/config","openWB/vehicle/+/name","openWB/LegacySmartHome/config/get/Devices/+/device_configured","openWB/LegacySmartHome/config/get/Devices/+/device_name"],warningAcknowledged:!1,selectedRestoreFile:void 0,restoreUploadDone:!1,selectedDataMigrationFile:void 0,dataMigrationUploadDone:!1,dataMigrationConfig:[{sectionName:"Ladepunkte",sectionComponents:[{key:"cp1",label:"Ladepunkt 1",validTypes:["chargePoint"]},{key:"cp2",label:"Ladepunkt 2",validTypes:["chargePoint"]},{key:"cp3",label:"Ladepunkt 3",validTypes:["chargePoint"]},{key:"cp4",label:"Ladepunkt 4",validTypes:["chargePoint"]},{key:"cp5",label:"Ladepunkt 5",validTypes:["chargePoint"]},{key:"cp6",label:"Ladepunkt 6",validTypes:["chargePoint"]},{key:"cp7",label:"Ladepunkt 7",validTypes:["chargePoint"]},{key:"cp8",label:"Ladepunkt 8",validTypes:["chargePoint"]}]},{sectionName:"Zähler",sectionComponents:[{key:"evu",label:"EVU",validTypes:["counter"]},{key:"consumer1",label:"Verbraucher 1",validTypes:["counter"]},{key:"consumer2",label:"Verbraucher 2",validTypes:["counter"]},{key:"consumer3",label:"Verbraucher 3",validTypes:["counter"]}]},{sectionName:"Wechselrichter",sectionComponents:[{key:"pvAll",label:"Wechselrichter (Summe)",validTypes:["inverter"],help:"Die 1.9er Version von openWB speichert lediglich die Summen-Leistung aller Wechselrichter."}]},{sectionName:"Batteriespeicher",sectionComponents:[{key:"bat",label:"Speicher 1",validTypes:["battery"]}]},{sectionName:"Fahrzeuge",sectionComponents:[{key:"ev1",label:"Fahrzeug von Ladepunkt 1",validTypes:["vehicle"]},{key:"ev2",label:"Fahrzeug von Ladepunkt 2",validTypes:["vehicle"]}]},{sectionName:"SmartHome 2.0",sectionComponents:[{key:"sh1",label:"Gerät 1",validTypes:["smartHome"]},{key:"sh2",label:"Gerät 2",validTypes:["smartHome"]},{key:"sh3",label:"Gerät 3",validTypes:["smartHome"]},{key:"sh4",label:"Gerät 4",validTypes:["smartHome"]},{key:"sh5",label:"Gerät 5",validTypes:["smartHome"]},{key:"sh6",label:"Gerät 6",validTypes:["smartHome"]},{key:"sh7",label:"Gerät 7",validTypes:["smartHome"]},{key:"sh8",label:"Gerät 8",validTypes:["smartHome"]},{key:"sh9",label:"Gerät 9",validTypes:["smartHome"]},{key:"sh10",label:"Gerät 10",validTypes:["smartHome"]}]}],dataMigrationMapping:{cp1:void 0,cp2:void 0,cp3:void 0,cp4:void 0,cp5:void 0,cp6:void 0,cp7:void 0,cp8:void 0,evu:void 0,pvAll:void 0,bat:void 0,consumer1:void 0,consumer2:void 0,consumer3:void 0,sh1:void 0,sh2:void 0,sh3:void 0,sh4:void 0,sh5:void 0,sh6:void 0,sh7:void 0,sh8:void 0,sh9:void 0,sh10:void 0,ev1:void 0,ev2:void 0}}},computed:{backupCloudList(){return this.$store.state.mqtt["openWB/system/configurable/backup_clouds"]},componentConfigurations(){return this.getWildcardTopics("openWB/system/device/+/component/+/config")},chargePointOptions(){let t=this.getWildcardTopics("openWB/chargepoint/+/config");var e=[];for(const r of Object.values(t))e.push({value:r.id,text:r.name});return e},counterOptions(){var t=[];for(const e of Object.values(this.componentConfigurations))this.isComponentType(e.type,"counter")&&t.push({value:e.id,text:e.name});return t},inverterOptions(){var t=[];for(const e of Object.values(this.componentConfigurations))this.isComponentType(e.type,"inverter")&&t.push({value:e.id,text:e.name});return t},batteryOptions(){var t=[];for(const e of Object.values(this.componentConfigurations))this.isComponentType(e.type,"bat")&&t.push({value:e.id,text:e.name});return t},vehicleOptions(){let t=this.getWildcardTopics("openWB/vehicle/+/name");var e=[];for(const[r,m]of Object.entries(t)){let a=parseInt(r.match(/\/(\d\d?)\//)[1]);e.push({value:a,text:m})}return e},smartHomeOptions(){let t=this.getWildcardTopics("openWB/LegacySmartHome/config/get/Devices/+/device_configured");var e=[];for(const[r,m]of Object.entries(t))if(m==1){let a=parseInt(r.match(/\/(\d\d?)\//)[1]);e.push({value:a,text:this.$store.state.mqtt[`openWB/LegacySmartHome/config/get/Devices/${a}/device_name`]})}return e}},methods:{isComponentType(t,e){return t.split("_").includes(e)},getBackupCloudDefaultConfiguration(t){const e=this.backupCloudList.find(r=>r.value==t);return Object.prototype.hasOwnProperty.call(e,"defaults")?{...JSON.parse(JSON.stringify(e.defaults))}:(console.warn("no default configuration found for backup cloud type!",t),{})},sendSystemCommand(t,e={}){this.$emit("sendCommand",{command:t,data:e})},getMigrationOptions(t){var e=[{value:void 0,text:"-- nicht übernehmen --"}];return t.includes("chargePoint")&&e.push(...this.chargePointOptions),t.includes("counter")&&e.push(...this.counterOptions),t.includes("inverter")&&e.push(...this.inverterOptions),t.includes("battery")&&e.push(...this.batteryOptions),t.includes("vehicle")&&e.push(...this.vehicleOptions),t.includes("smartHome")&&e.push(...this.smartHomeOptions),e},updateConfiguration(t,e){console.debug("updateConfiguration",t,e),this.updateState(t,e.value,e.object)},updateSelectedBackupCloud(t){this.updateState("openWB/system/backup_cloud/config",t,"type"),this.updateState("openWB/system/backup_cloud/config",this.getBackupCloudDefaultConfiguration(t))},updateSelectedRestoreFile(t){this.selectedRestoreFile=t.target.files[0]},updateSelectedDataMigrationFile(t){this.selectedDataMigrationFile=t.target.files[0]},uploadFile(t,e,r){return new Promise(m=>{if(e!==void 0){let a=new FormData;a.append("file",e),a.append("target",t),this.axios.post(location.protocol+"//"+location.host+"/openWB/web/settings/uploadFile.php",a,{headers:{"Content-Type":"multipart/form-data"}}).then(()=>{this.$root.postClientMessage(r,"success"),m(!0)}).catch(i=>{if(i.response){console.error(i.response.status,i.response.data);var c="Hochladen der Datei fehlgeschlagen!
"+i.response.status+": "+i.response.data}else i.request?(console.error(i.request),c+="Es wurde keine Antwort vom Server empfangen."):(console.error("Error",i.message),c+="Es ist ein unbekannter Fehler aufgetreten.");this.$root.postClientMessage(c,"danger"),m(!1)})}else console.error("no file selected for upload"),m(!1)})},async uploadRestoreFile(){const t="Die Sicherungsdatei wurde erfolgreich hochgeladen. Sie können die Wiederherstellung jetzt starten.";this.restoreUploadDone=await this.uploadFile("restore",this.selectedRestoreFile,t)},async uploadDataMigrationFile(){const t="Die Sicherungsdatei wurde erfolgreich hochgeladen. Sie können den Import jetzt starten.";this.dataMigrationUploadDone=await this.uploadFile("migrate",this.selectedDataMigrationFile,t)},restoreBackup(){this.sendSystemCommand("restoreBackup"),this.$store.commit("storeLocal",{name:"reloadRequired",value:!0})},dataMigration(){this.sendSystemCommand("dataMigration",this.dataMigrationMapping)},factoryReset(){this.sendSystemCommand("factoryReset",{}),this.$store.commit("storeLocal",{name:"reloadRequired",value:!0})}}},te={class:"system"},ne=n("h2",null,"Achtung!",-1),oe=n("p",null," Vor allen Aktionen auf dieser Seite ist sicherzustellen, dass kein Ladevorgang aktiv ist! Zur Sicherheit bitte zusätzlich alle Fahrzeuge von der Ladestation / den Ladestationen abstecken! ",-1),ie={key:0},se={name:"backupForm"},ae=n("a",{href:"/openWB/data/backup/",target:"_blank"},"hier",-1),le={class:"row justify-content-center"},ue={class:"col-md-4 d-flex py-1 justify-content-center"},re=n("hr",null,null,-1),de={name:"restoreForm"},ce=n("br",null,null,-1),pe={class:"input-group"},me={class:"input-group-prepend"},ge={class:"input-group-text"},fe={class:"custom-file"},he={id:"input-file-label",class:"custom-file-label",for:"input-file","data-browse":"Suchen"},be={class:"input-group-append"},_e=["disabled"],ke={class:"row justify-content-center"},ye={class:"col-md-4 d-flex py-1 justify-content-center"},ve=n("hr",null,null,-1),we={name:"cloudBackupForm"},Ce=n("br",null,null,-1),De=n("a",{href:"https://github.com/openWB/core/wiki/Cloud-Sicherung",target:"_blank",rel:"noopener noreferrer"}," hier ",-1),Be={key:0},Se={name:"dataMigrationForm"},Te=n("br",null,null,-1),Oe=n("br",null,null,-1),Fe={class:"input-group"},We={class:"input-group-prepend"},xe={class:"input-group-text"},Me={class:"custom-file"},Le={id:"data-migration-file-label",class:"custom-file-label",for:"data-migration-file","data-browse":"Suchen"},Ve={class:"input-group-append"},ze=["disabled"],Ae={class:"row justify-content-center"},Re={class:"col-md-4 d-flex py-1 justify-content-center"},je={name:"resetForm"},He={class:"row justify-content-center"},Pe={class:"col-md-4 d-flex py-1 justify-content-center"};function Ee(t,e,r,m,a,i){const c=d("openwb-base-button-group-input"),g=d("openwb-base-alert"),b=d("openwb-base-heading"),f=d("font-awesome-icon"),y=d("openwb-base-click-button"),S=d("openwb-base-select-input"),W=d("openwb-base-button-input"),x=d("openwb-backup-cloud-proxy"),M=d("openwb-base-submit-buttons"),C=d("openwb-base-card");return p(),h("div",te,[o(g,{subtype:"danger"},{default:u(()=>[ne,oe,o(c,{title:"Ich habe die Warnung verstanden",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],modelValue:this.warningAcknowledged,"onUpdate:modelValue":e[0]||(e[0]=l=>this.warningAcknowledged=l)},null,8,["modelValue"])]),_:1}),a.warningAcknowledged?(p(),h("div",ie,[o(C,{title:"Sicherung / Wiederherstellung",subtype:"success",collapsible:!0,collapsed:!0},{default:u(()=>[n("form",se,[o(b,null,{default:u(()=>[s("Sicherung")]),_:1}),o(g,{subtype:"danger"},{default:u(()=>[s(' Aktuell können nur Sicherungen wiederhergestellt werden, die in den Entwicklungszweigen "master", "Beta" oder "Release" erstellt wurden! ')]),_:1}),o(g,{subtype:"info"},{default:u(()=>[s(" Nachdem die Sicherung abgeschlossen ist, kann die erstellte Datei über den Link in der Benachrichtigung oder "),ae,s(" heruntergeladen werden. ")]),_:1}),n("div",le,[n("div",ue,[o(y,{class:"btn-success clickable",onButtonClicked:e[1]||(e[1]=l=>i.sendSystemCommand("createBackup",{use_extended_filename:!0}))},{default:u(()=>[s(" Sicherung erstellen "),o(f,{"fixed-width":"",icon:["fas","archive"]})]),_:1})])])]),re,n("form",de,[o(b,null,{default:u(()=>[s("Wiederherstellung")]),_:1}),o(g,{subtype:"danger"},{default:u(()=>[s(" Für die Wiederherstellung wird eine aktive Internetverbindung benötigt."),ce,s(' Aktuell können nur Sicherungen wiederhergestellt werden, die in den Entwicklungszweigen "master", "Beta" oder "Release" erstellt wurden! ')]),_:1}),n("div",pe,[n("div",me,[n("div",ge,[o(f,{"fixed-width":"",icon:["fas","file-archive"]})])]),n("div",fe,[n("input",{id:"input-file",type:"file",class:"custom-file-input",accept:".tar.gz,application/gzip,application/tar+gzip",onChange:e[2]||(e[2]=l=>i.updateSelectedRestoreFile(l))},null,32),n("label",he,k(a.selectedRestoreFile?a.selectedRestoreFile.name:"Bitte eine Datei auswählen"),1)]),n("div",be,[n("button",{class:w(["btn",a.selectedRestoreFile?"btn-success clickable":"btn-outline-success"]),disabled:!a.selectedRestoreFile,type:"button",onClick:e[3]||(e[3]=l=>i.uploadRestoreFile())},[s(" Hochladen "),o(f,{"fixed-width":"",icon:["fas","upload"]})],10,_e)])]),n("div",ke,[n("div",ye,[o(y,{class:w(a.restoreUploadDone?"btn-success clickable":"btn-outline-success"),disabled:!a.restoreUploadDone,onButtonClicked:e[4]||(e[4]=l=>i.restoreBackup())},{default:u(()=>[s(" Wiederherstellung starten "),o(f,{"fixed-width":"",icon:["fas","box-open"]})]),_:1},8,["class","disabled"])])])]),ve,n("form",we,[o(b,null,{default:u(()=>[s(" Automatische Sicherung in einen Cloud-Dienst ")]),_:1}),o(g,{subtype:"info"},{default:u(()=>[s(" Zwischen Mitternacht und 5:00 Uhr wird automatisch eine Sicherung erstellt und in den angegebenen Cloud-Dienst (nicht openWB Cloud!) hochgeladen. Ist kein Cloud-Dienst konfiguriert, wird keine automatische Sicherung erstellt. Die automatische Sicherung kann unabhängig von der openWB Cloud genutzt werden."),Ce,s(" Die Anleitung zur Konfiguration des Cloud-Dienstes findest Du "),De,s(" . ")]),_:1}),o(S,{class:"mb-2",title:"Backup-Cloud",options:i.backupCloudList,"model-value":t.$store.state.mqtt["openWB/system/backup_cloud/config"].type,"onUpdate:modelValue":e[5]||(e[5]=l=>i.updateSelectedBackupCloud(l))},null,8,["options","model-value"]),t.$store.state.mqtt["openWB/system/backup_cloud/config"].type?(p(),h("div",Be,[o(W,{title:"Manuelle Cloud-Sicherung",buttonText:"Sicherung erstellen und hochladen",subtype:"success",onButtonClicked:e[6]||(e[6]=l=>i.sendSystemCommand("createCloudBackup",{}))}),o(x,{backupCloudType:t.$store.state.mqtt["openWB/system/backup_cloud/config"].type,configuration:t.$store.state.mqtt["openWB/system/backup_cloud/config"].configuration,"onUpdate:configuration":e[7]||(e[7]=l=>i.updateConfiguration("openWB/system/backup_cloud/config",l)),onSendCommand:e[8]||(e[8]=l=>i.sendSystemCommand(l.command,l.args))},null,8,["backupCloudType","configuration"])])):T("",!0),o(M,{formName:"cloudBackupForm",hideReset:!0,hideDefaults:!0,onSave:e[9]||(e[9]=l=>t.$emit("save")),onReset:e[10]||(e[10]=l=>t.$emit("reset")),onDefaults:e[11]||(e[11]=l=>t.$emit("defaults"))})])]),_:1}),o(C,{title:"Datenübernahme",subtype:"success",collapsible:!0,collapsed:!0},{default:u(()=>[n("form",Se,[o(g,{subtype:"info"},{default:u(()=>[s(" Hier kann die Sicherung einer älteren 1.9er Version hochgeladen werden, um vorhandene historische Daten (Diagramme und Ladeprotokolle) sowie Cloud-Daten und Seriennummer in diese Installation zu importieren. Die Zuordnung zwischen den alten und neuen Komponenten muss manuell durchgeführt werden."),Te,s(" Die Portierung kann einige Minuten dauern. Du erhältst eine Meldung, wenn die Datenübernahme abgeschlossen ist. ")]),_:1}),o(g,{subtype:"danger"},{default:u(()=>[s(" Vor der Datenübernahme unbedingt eine Sicherung erstellen."),Oe,s(" Die Datenübernahme kann nur durch Einspielen einer Sicherung rückgängig gemacht werden! ")]),_:1}),n("div",Fe,[n("div",We,[n("div",xe,[o(f,{"fixed-width":"",icon:["fas","file-archive"]})])]),n("div",Me,[n("input",{id:"data-migration-file",type:"file",class:"custom-file-input",accept:".tar.gz,application/gzip,application/tar+gzip",onChange:e[12]||(e[12]=l=>i.updateSelectedDataMigrationFile(l))},null,32),n("label",Le,k(a.selectedDataMigrationFile?a.selectedDataMigrationFile.name:"Bitte eine Datei auswählen"),1)]),n("div",Ve,[n("button",{class:w(["btn",a.selectedDataMigrationFile?"btn-success clickable":"btn-outline-success"]),disabled:!a.selectedDataMigrationFile,type:"button",onClick:e[13]||(e[13]=l=>i.uploadDataMigrationFile())},[s(" Hochladen "),o(f,{"fixed-width":"",icon:["fas","upload"]})],10,ze)])]),o(b,null,{default:u(()=>[s("Zuordnung der Komponenten")]),_:1}),(p(!0),h(O,null,F(a.dataMigrationConfig,l=>(p(),h("div",{key:l.sectionName},[o(b,null,{default:u(()=>[s(k(l.sectionName),1)]),_:2},1024),(p(!0),h(O,null,F(l.sectionComponents,_=>(p(),B(S,{key:_.key,title:_.label,options:i.getMigrationOptions(_.validTypes),modelValue:a.dataMigrationMapping[_.key],"onUpdate:modelValue":L=>a.dataMigrationMapping[_.key]=L},I({_:2},[_.help?{name:"help",fn:u(()=>[s(k(_.help),1)]),key:"0"}:void 0]),1032,["title","options","modelValue","onUpdate:modelValue"]))),128))]))),128)),n("div",Ae,[n("div",Re,[o(y,{class:w(a.dataMigrationUploadDone?"btn-success clickable":"btn-outline-success"),disabled:!a.dataMigrationUploadDone,onButtonClicked:e[14]||(e[14]=l=>i.dataMigration())},{default:u(()=>[s(" Datenübernahme starten "),o(f,{"fixed-width":"",icon:["fas","box-open"]})]),_:1},8,["class","disabled"])])])])]),_:1}),n("form",je,[o(C,{title:"Zurücksetzen",subtype:"danger",collapsible:!0,collapsed:!0},{footer:u(()=>[n("div",He,[n("div",Pe,[o(y,{class:"btn-danger clickable",onButtonClicked:e[15]||(e[15]=l=>i.factoryReset())},{default:u(()=>[o(f,{"fixed-width":"",icon:["fas","skull-crossbones"]}),s(" Zurücksetzen "),o(f,{"fixed-width":"",icon:["fas","skull-crossbones"]})]),_:1})])])]),default:u(()=>[o(g,{subtype:"danger"},{default:u(()=>[s(" Alle Einstellungen, angelegte Geräte/Komponenten, Ladepunkte und Fahrzeuge, etc, Tages-, Monats- und Jahresauswertungen sowie das Ladeprotokoll werden unwiederbringlich gelöscht. Auch die Vorkonfiguration im Auslieferungszustand wird gelöscht. Die openWB muss danach komplett neu eingerichtet werden. Die openWB wird hierfür automatisch neu gestartet. Bitte erstelle vor dem Zurücksetzen eine Sicherung! ")]),_:1})]),_:1})])])):T("",!0)])}const $e=D(ee,[["render",Ee],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/DataManagement.vue"]]);export{$e as default}; diff --git a/web/settings/assets/DebugConfig-790a3960.js b/web/settings/assets/DebugConfig-0ff89e72.js similarity index 93% rename from web/settings/assets/DebugConfig-790a3960.js rename to web/settings/assets/DebugConfig-0ff89e72.js index b791066630..ac33119cf3 100644 --- a/web/settings/assets/DebugConfig-790a3960.js +++ b/web/settings/assets/DebugConfig-0ff89e72.js @@ -1,2 +1,2 @@ -import{l as h,Z as L,F as w}from"./vendor-fortawesome-12056596.js";import{C as k}from"./index-8fe3a4a0.js";import{_,p,k as v,l as C,q as l,A as t,L as o,u as m,x as g}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";h.add(L);const P={name:"OpenwbDebugging",mixins:[k],components:{FontAwesomeIcon:w},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/debug_level"],mainLog:"-- noch nicht geladen --",internalChargepointLog:"-- noch nicht geladen --",mqttLog:"-- noch nicht geladen --",socLog:"-- noch nicht geladen --",updateLog:"-- noch nicht geladen --",remoteSupportLog:"--noch nicht geladen --",smartHomeLog:"--noch nicht geladen --"}},methods:{async getFilePromise(n){return this.axios.get(location.protocol+"//"+location.host+n).then(e=>e.data).catch(e=>e.response?`A 404 is expected if running node.js dev server! +import{l as h,Z as L,F as w}from"./vendor-fortawesome-349077b4.js";import{C as k}from"./index-baf9de5e.js";import{_,p,k as v,l as C,q as l,A as t,L as o,u as m,x as g}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";h.add(L);const P={name:"OpenwbDebugging",mixins:[k],components:{FontAwesomeIcon:w},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/debug_level"],mainLog:"-- noch nicht geladen --",internalChargepointLog:"-- noch nicht geladen --",mqttLog:"-- noch nicht geladen --",socLog:"-- noch nicht geladen --",updateLog:"-- noch nicht geladen --",remoteSupportLog:"--noch nicht geladen --",smartHomeLog:"--noch nicht geladen --"}},methods:{async getFilePromise(n){return this.axios.get(location.protocol+"//"+location.host+n).then(e=>e.data).catch(e=>e.response?`A 404 is expected if running node.js dev server! `+e.response.data:e.request?e.request:e.message)},loadMainLog(n){n.stopPropagation(),this.mainLog="wird aktualisiert...",this.getFilePromise("/openWB/ramdisk/main.log").then(e=>{this.mainLog=e})},loadInternalChargepointLog(n){n.stopPropagation(),this.internalChargepointLog="wird aktualisiert...",this.getFilePromise("/openWB/ramdisk/internal_chargepoint.log").then(e=>{this.internalChargepointLog=e})},loadMqttLog(n){n.stopPropagation(),this.mqttLog="wird aktualisiert...",this.getFilePromise("/openWB/ramdisk/mqtt.log").then(e=>{this.mqttLog=e})},loadSocLog(n){n.stopPropagation(),this.socLog="wird aktualisiert...",this.getFilePromise("/openWB/ramdisk/soc.log").then(e=>{this.socLog=e})},loadUpdateLog(n){n.stopPropagation(),this.updateLog="wird aktualisiert...",this.getFilePromise("/openWB/data/log/update.log").then(e=>{this.updateLog=e})},loadRemoteSupportLog(n){n.stopPropagation(),this.remoteSupportLog="wird aktualisiert...",this.getFilePromise("/openWB/ramdisk/remote_support.log").then(e=>{this.remoteSupportLog=e})},loadSmartHomeLog(n){n.stopPropagation(),this.smartHomeLog="wird aktualisiert...",this.getFilePromise("/openWB/ramdisk/smarthome.log").then(e=>{this.smartHomeLog=e})}}},B={class:"debugging"},S={name:"debugConfigForm"};function x(n,e,D,F,a,r){const c=p("openwb-base-button-group-input"),b=p("openwb-base-alert"),i=p("openwb-base-card"),f=p("openwb-base-submit-buttons"),d=p("font-awesome-icon"),u=p("openwb-base-avatar");return v(),C("div",B,[l("form",S,[t(i,{title:"Protokollierung"},{default:o(()=>[t(c,{title:"Debug Level",buttons:[{buttonValue:30,text:"Warnungen und Fehler"},{buttonValue:20,text:"Info"},{buttonValue:10,text:"Details"}],"model-value":n.$store.state.mqtt["openWB/system/debug_level"],"onUpdate:modelValue":e[0]||(e[0]=s=>n.updateState("openWB/system/debug_level",s))},{help:o(()=>[m(' Wenn der Debug Level auf "Info" oder "Details" gesetzt wird, werden mehr Informationen in die Logdateien geschrieben. Im normalen Betrieb sollte immer "Warnungen und Fehler" gewählt werden, um die Schreibvorgänge auf der SD-Karte zu reduzieren. ')]),_:1},8,["model-value"]),t(b,{subtype:"warning"},{default:o(()=>[m(' Achtung! In den Einstellungen "Info" und "Details" können in den Logdateien sensible Daten wie Benutzernamen und Kennwörter enthalten sein. Diese sollten vor dem Veröffentlichen z.B. im Forum unkenntlich gemacht werden. Private IP-Adressen (z.B. 192.168.x.x) müssen nicht maskiert werden, da diese nicht über das Internet erreichbar sind. ')]),_:1})]),_:1}),t(f,{formName:"debugConfigForm",onSave:e[1]||(e[1]=s=>n.$emit("save")),onReset:e[2]||(e[2]=s=>n.$emit("reset")),onDefaults:e[3]||(e[3]=s=>n.$emit("defaults"))})]),t(i,{title:"Main-Log",class:"mt-3",collapsible:!0,collapsed:!0},{actions:o(()=>[t(u,{class:"bg-success clickable",onClick:e[4]||(e[4]=s=>r.loadMainLog(s))},{default:o(()=>[t(d,{"fixed-width":"",icon:["fas","file-download"]})]),_:1})]),default:o(()=>[l("pre",null,g(a.mainLog),1)]),_:1}),t(i,{title:"Log des internen Ladepunktes",class:"mt-3",collapsible:!0,collapsed:!0},{actions:o(()=>[t(u,{class:"bg-success clickable",onClick:e[5]||(e[5]=s=>r.loadInternalChargepointLog(s))},{default:o(()=>[t(d,{"fixed-width":"",icon:["fas","file-download"]})]),_:1})]),default:o(()=>[l("pre",null,g(a.internalChargepointLog),1)]),_:1}),t(i,{title:"MQTT-Log",class:"mt-3",collapsible:!0,collapsed:!0},{actions:o(()=>[t(u,{class:"bg-success clickable",onClick:e[6]||(e[6]=s=>r.loadMqttLog(s))},{default:o(()=>[t(d,{"fixed-width":"",icon:["fas","file-download"]})]),_:1})]),default:o(()=>[l("pre",null,g(a.mqttLog),1)]),_:1}),t(i,{title:"SoC-Log",class:"mt-3",collapsible:!0,collapsed:!0},{actions:o(()=>[t(u,{class:"bg-success clickable",onClick:e[7]||(e[7]=s=>r.loadSocLog(s))},{default:o(()=>[t(d,{"fixed-width":"",icon:["fas","file-download"]})]),_:1})]),default:o(()=>[l("pre",null,g(a.socLog),1)]),_:1}),t(i,{title:"Protokoll des letzten Updates",class:"mt-3",collapsible:!0,collapsed:!0},{actions:o(()=>[t(u,{class:"bg-success clickable",onClick:e[8]||(e[8]=s=>r.loadUpdateLog(s))},{default:o(()=>[t(d,{"fixed-width":"",icon:["fas","file-download"]})]),_:1})]),default:o(()=>[l("pre",null,g(a.updateLog),1)]),_:1}),t(i,{title:"Protokoll des Remote-Dienstes",class:"mt-3",collapsible:!0,collapsed:!0},{actions:o(()=>[t(u,{class:"bg-success clickable",onClick:e[9]||(e[9]=s=>r.loadRemoteSupportLog(s))},{default:o(()=>[t(d,{"fixed-width":"",icon:["fas","file-download"]})]),_:1})]),default:o(()=>[l("pre",null,g(a.remoteSupportLog),1)]),_:1}),t(i,{title:"Protokoll des SmartHome Dienstes",class:"mt-3",collapsible:!0,collapsed:!0},{actions:o(()=>[t(u,{class:"bg-success clickable",onClick:e[10]||(e[10]=s=>r.loadSmartHomeLog(s))},{default:o(()=>[t(d,{"fixed-width":"",icon:["fas","file-download"]})]),_:1})]),default:o(()=>[l("pre",null,g(a.smartHomeLog),1)]),_:1})])}const M=_(P,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/DebugConfig.vue"]]);export{M as default}; diff --git a/web/settings/assets/GeneralChargeConfig-8bf4b59b.js b/web/settings/assets/GeneralChargeConfig-d37c9760.js similarity index 87% rename from web/settings/assets/GeneralChargeConfig-8bf4b59b.js rename to web/settings/assets/GeneralChargeConfig-d37c9760.js index 75f3fd5137..5e815f0b6c 100644 --- a/web/settings/assets/GeneralChargeConfig-8bf4b59b.js +++ b/web/settings/assets/GeneralChargeConfig-d37c9760.js @@ -1 +1 @@ -import{C as c}from"./index-8fe3a4a0.js";import{_ as h,p as a,k as o,l,q as u,A as s,L as r,u as i,y as _,z as f}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const w={name:"OpenwbGeneralChargeConfig",mixins:[c],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/unbalanced_load","openWB/general/chargemode_config/unbalanced_load_limit"]}}},v={class:"generalChargeConfig"},B={name:"generalChargeConfigForm"},C={key:0},z={key:1},k=u("br",null,null,-1);function $(n,e,W,V,S,N){const d=a("openwb-base-alert"),g=a("openwb-base-button-group-input"),m=a("openwb-base-range-input"),p=a("openwb-base-card"),b=a("openwb-base-submit-buttons");return o(),l("div",v,[u("form",B,[s(p,{title:"Allgemein"},{default:r(()=>[n.$store.state.mqtt["openWB/general/extern"]===!0?(o(),l("div",C,[s(d,{subtype:"info"},{default:r(()=>[i(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(o(),l("div",z,[s(g,{title:"Begrenzung der Schieflast",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":n.$store.state.mqtt["openWB/general/chargemode_config/unbalanced_load"],"onUpdate:modelValue":e[0]||(e[0]=t=>n.updateState("openWB/general/chargemode_config/unbalanced_load",t))},{help:r(()=>[i(" Wenn diese Option aktiviert ist, werden nicht-dreiphasige Ladevorgänge so geregelt, dass am Netzanschlusspunkt (EVU-Zähler) die eingestellte Grenze für die Schieflast nicht überschritten wird. Hierfür muss der EVU-Zähler einzelne Phasenströme bereitstellen!"),k,i(' Weiterhin müssen bei den Ladepunkten sowie Fahrzeugen sämtliche Angaben zur Anzahl angeschlossener/unterstützter Phasen und der Phasenrotation hinterlegt werden, damit der Regelung bekannt ist, welcher Ladevorgang welche Phase am Netzanschluss beeinflusst. siehe "Konfiguration - Ladepunkte -> elektrischer Anschluss - Phase 1" und "Konfiguration - Fahrzeuge -> Fahrzeug-Profile" ')]),_:1},8,["model-value"]),n.$store.state.mqtt["openWB/general/chargemode_config/unbalanced_load"]?(o(),_(m,{key:0,title:"Erlaubte Schieflast",min:10,max:32,step:1,unit:"A","model-value":n.$store.state.mqtt["openWB/general/chargemode_config/unbalanced_load_limit"],"onUpdate:modelValue":e[1]||(e[1]=t=>n.updateState("openWB/general/chargemode_config/unbalanced_load_limit",t))},{help:r(()=>[i("Hiermit wird festgelegt, welche Schieflast am Netzanschlusspunkt erlaubt ist. Bei Überschreitung werden gezielt einzelne Ladevorgänge in der Leistung begrenzt.")]),_:1},8,["model-value"])):f("",!0)]))]),_:1}),s(b,{formName:"generalChargeConfigForm",onSave:e[2]||(e[2]=t=>n.$emit("save")),onReset:e[3]||(e[3]=t=>n.$emit("reset")),onDefaults:e[4]||(e[4]=t=>n.$emit("defaults"))})])])}const G=h(w,[["render",$],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/GeneralChargeConfig.vue"]]);export{G as default}; +import{C as c}from"./index-baf9de5e.js";import{_ as h,p as a,k as o,l,q as u,A as s,L as r,u as i,y as _,z as f}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const w={name:"OpenwbGeneralChargeConfig",mixins:[c],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/unbalanced_load","openWB/general/chargemode_config/unbalanced_load_limit"]}}},v={class:"generalChargeConfig"},B={name:"generalChargeConfigForm"},C={key:0},z={key:1},k=u("br",null,null,-1);function $(n,e,W,V,S,N){const d=a("openwb-base-alert"),g=a("openwb-base-button-group-input"),m=a("openwb-base-range-input"),p=a("openwb-base-card"),b=a("openwb-base-submit-buttons");return o(),l("div",v,[u("form",B,[s(p,{title:"Allgemein"},{default:r(()=>[n.$store.state.mqtt["openWB/general/extern"]===!0?(o(),l("div",C,[s(d,{subtype:"info"},{default:r(()=>[i(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(o(),l("div",z,[s(g,{title:"Begrenzung der Schieflast",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":n.$store.state.mqtt["openWB/general/chargemode_config/unbalanced_load"],"onUpdate:modelValue":e[0]||(e[0]=t=>n.updateState("openWB/general/chargemode_config/unbalanced_load",t))},{help:r(()=>[i(" Wenn diese Option aktiviert ist, werden nicht-dreiphasige Ladevorgänge so geregelt, dass am Netzanschlusspunkt (EVU-Zähler) die eingestellte Grenze für die Schieflast nicht überschritten wird. Hierfür muss der EVU-Zähler einzelne Phasenströme bereitstellen!"),k,i(' Weiterhin müssen bei den Ladepunkten sowie Fahrzeugen sämtliche Angaben zur Anzahl angeschlossener/unterstützter Phasen und der Phasenrotation hinterlegt werden, damit der Regelung bekannt ist, welcher Ladevorgang welche Phase am Netzanschluss beeinflusst. siehe "Konfiguration - Ladepunkte -> elektrischer Anschluss - Phase 1" und "Konfiguration - Fahrzeuge -> Fahrzeug-Profile" ')]),_:1},8,["model-value"]),n.$store.state.mqtt["openWB/general/chargemode_config/unbalanced_load"]?(o(),_(m,{key:0,title:"Erlaubte Schieflast",min:10,max:32,step:1,unit:"A","model-value":n.$store.state.mqtt["openWB/general/chargemode_config/unbalanced_load_limit"],"onUpdate:modelValue":e[1]||(e[1]=t=>n.updateState("openWB/general/chargemode_config/unbalanced_load_limit",t))},{help:r(()=>[i("Hiermit wird festgelegt, welche Schieflast am Netzanschlusspunkt erlaubt ist. Bei Überschreitung werden gezielt einzelne Ladevorgänge in der Leistung begrenzt.")]),_:1},8,["model-value"])):f("",!0)]))]),_:1}),s(b,{formName:"generalChargeConfigForm",onSave:e[2]||(e[2]=t=>n.$emit("save")),onReset:e[3]||(e[3]=t=>n.$emit("reset")),onDefaults:e[4]||(e[4]=t=>n.$emit("defaults"))})])])}const G=h(w,[["render",$],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/GeneralChargeConfig.vue"]]);export{G as default}; diff --git a/web/settings/assets/GeneralConfig-7a32bbe3.js b/web/settings/assets/GeneralConfig-3d4ac5bb.js similarity index 97% rename from web/settings/assets/GeneralConfig-7a32bbe3.js rename to web/settings/assets/GeneralConfig-3d4ac5bb.js index 3236b14f72..16cbb23a11 100644 --- a/web/settings/assets/GeneralConfig-7a32bbe3.js +++ b/web/settings/assets/GeneralConfig-3d4ac5bb.js @@ -1 +1 @@ -import{C as T}from"./index-8fe3a4a0.js";import{_ as z}from"./dynamic-import-helper-be004503.js";import{_ as h,p as d,k as s,l as p,y as _,L as i,u as r,x as c,A as t,q as a,a0 as $,a1 as C,z as f}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const V={name:"WebThemeFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},webThemeType:{type:String}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},q={class:"web-theme-fallback"},D={key:1};function L(e,n,u,w,W,m){const l=d("openwb-base-alert"),g=d("openwb-base-textarea");return s(),p("div",q,[Object.keys(u.configuration).length==0?(s(),_(l,{key:0,subtype:"info"},{default:i(()=>[r(' Das Web Theme "'+c(u.webThemeType)+'" bietet keine Einstellungen. ',1)]),_:1})):(s(),p("div",D,[t(l,{subtype:"warning"},{default:i(()=>[r(' Es wurde keine Konfigurationsseite für das Web Theme "'+c(u.webThemeType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),t(g,{title:"Theme Konfiguration",subtype:"json","model-value":u.configuration,"onUpdate:modelValue":n[0]||(n[0]=b=>m.updateConfiguration(b,"configuration"))},{help:i(()=>[r(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),t(l,{subtype:"info"},{default:i(()=>[a("pre",null,c(JSON.stringify(u.configuration,void 0,2)),1)]),_:1})]))])}const O=h(V,[["render",L],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/web_themes/OpenwbWebThemeFallback.vue"]]),E={name:"OpenwbWebThemeProxy",emits:["update:configuration"],props:{webThemeType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading web theme: ${this.webThemeType}`),$({loader:()=>z(Object.assign({}),`./${this.webThemeType}/webTheme.vue`),errorComponent:O})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}};function N(e,n,u,w,W,m){return s(),_(C(m.myComponent),{configuration:u.configuration,webThemeType:u.webThemeType,"onUpdate:configuration":n[0]||(n[0]=l=>m.updateConfiguration(l))},null,40,["configuration","webThemeType"])}const x=h(E,[["render",N],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/web_themes/OpenwbWebThemeProxy.vue"]]),P={name:"OpenwbGeneralConfig",mixins:[T],components:{OpenwbWebThemeProxy:x},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/control_interval","openWB/general/grid_protection_configured","openWB/general/external_buttons_hw","openWB/general/modbus_control","openWB/general/notifications/selected","openWB/general/notifications/configuration","openWB/general/notifications/start_charging","openWB/general/notifications/stop_charging","openWB/general/notifications/plug","openWB/general/notifications/smart_home","openWB/general/price_kwh","openWB/general/range_unit","openWB/general/web_theme","openWB/system/configurable/web_themes"]}},computed:{webThemeList:{get(){return this.$store.state.mqtt["openWB/system/configurable/web_themes"]}}},methods:{getWebThemeDefaultConfiguration(e){const n=this.webThemeList.find(u=>u.value==e);return Object.prototype.hasOwnProperty.call(n,"defaults")?{...JSON.parse(JSON.stringify(n.defaults.configuration))}:(console.warn("no default configuration found for web theme type!",e),{})},updateSelectedWebTheme(e){this.updateState("openWB/general/web_theme",e,"type"),this.updateState("openWB/general/web_theme",this.getWebThemeDefaultConfiguration(e),"configuration")},updateConfiguration(e,n){console.debug("updateConfiguration",e,n),this.updateState(e,n.value,n.object)}}},R={class:"generalConfig"},U={name:"generalConfigForm"},F=a("br",null,null,-1),A=a("br",null,null,-1),j=a("br",null,null,-1),M=a("a",{href:"https://openwb.de/main/?page_id=1025",target:"_blank",rel:"noopener noreferrer"}," Homepage ",-1),G=a("a",{href:"https://openwb.de/main/wp-content/uploads/2023/10/ModbusTCP-openWB-series2-Pro-1.pdf",target:"_blank",rel:"noopener noreferrer"}," hier",-1),H={key:0},I={key:0},J={key:1},K=a("br",null,null,-1),Z=a("span",{class:"text-danger"},' Nicht nur die Regelung der PV geführten Ladung, sondern auch die Ladestromänderung, beispielsweise “Stop“ etc., werden dann nur noch in diesem Intervall ausgeführt. Die Regelung wird insgesamt träger. Solange es keinen triftigen Grund gibt, sollte "Normal" gewählt werden. ',-1),Q=a("br",null,null,-1),X=a("span",{class:"text-danger"}," Die Option ist nur aktiv, wenn der EVU-Zähler die Frequenz übermittelt. ",-1),Y={key:0},ee={key:1},ne={key:0},te=a("hr",null,null,-1),oe=a("br",null,null,-1);function re(e,n,u,w,W,m){const l=d("openwb-base-alert"),g=d("openwb-base-button-group-input"),b=d("openwb-base-card"),B=d("openwb-base-heading"),y=d("openwb-base-select-input"),v=d("openwb-web-theme-proxy"),k=d("openwb-base-number-input"),S=d("openwb-base-submit-buttons");return s(),p("div",R,[a("form",U,[t(b,{title:"Steuerungsmodus"},{default:i(()=>[t(l,{subtype:"info"},{default:i(()=>[r(' Wird für den Steuerungsmodus "primary" gewählt, übernimmt diese openWB die alleinige Regelung und steuert ggf. vorhandene weitere openWB (z.B. externe openWB im Steuermodus secondary, openWB Pro, Satellit u.a.) fern. Sie werden in den Ladepunkt-Einstellungen der primary-openWB hinzugefügt. '),F,A,r(' Wird für den Steuerungsmodus "secondary" gewählt, übernimmt diese openWB keine Regelung und muss von einer anderen primary openWB ferngesteuert werden. Wichtig ist, dass in der secondary-openWB eine "interne openWB" mit der korrekten Bauart (= openWB-Hardwarevariante z.B. "Custom, Standard, Standard+, Duo, Buchse") konfiguriert ist. Bei einer Duo sind zwei "interne openWB" zu konfigurieren. Im "secondary"-Modus bleiben alle ausgeblendeten Einstellungen unbeachtet.'),j,r(" Eine bebilderte Anleitung zur Konfiguration der Ladepunkte findest Du auf der "),M,r(". ")]),_:1}),t(g,{title:"Steuerungsmodus",buttons:[{buttonValue:!1,text:"primary",class:"btn-outline-danger"},{buttonValue:!0,text:"secondary",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/general/extern"],"onUpdate:modelValue":n[0]||(n[0]=o=>e.updateState("openWB/general/extern",o))},null,8,["model-value"]),t(g,{title:"Steuerung über Modbus als secondary",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/general/modbus_control"],"onUpdate:modelValue":n[1]||(n[1]=o=>e.updateState("openWB/general/modbus_control",o))},{help:i(()=>[r(" Im secondary-Modus kann die openWB über die Modbus-Schnittstelle gesteuert werden. Die Register sind "),G,r("dokumentiert. Bei aktivierter Modbus-Schnittstelle darf die openWB nicht von einer primary-openWB gesteuert werden. ")]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/general/modbus_control"]===!0?(s(),p("div",H,[t(l,{subtype:"info"},{default:i(()=>[r(' Wenn die Steuerung über Modbus auf "aus" geändert wird, muss danach ein Neustart durchgeführt werden! ')]),_:1})])):f("",!0)]),_:1}),t(b,{title:"Hardware"},{default:i(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(s(),p("div",I,[t(l,{subtype:"info"},{default:i(()=>[r(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(s(),p("div",J,[t(g,{title:"Geschwindigkeit Regelintervall",buttons:[{buttonValue:10,text:"Normal",class:"btn-outline-success"},{buttonValue:20,text:"Langsam",class:"btn-outline-warning"},{buttonValue:60,text:"Sehr Langsam",class:"btn-outline-danger"}],"model-value":e.$store.state.mqtt["openWB/general/control_interval"],"onUpdate:modelValue":n[2]||(n[2]=o=>e.updateState("openWB/general/control_interval",o))},{help:i(()=>[r(' Sollten Probleme oder Fehlermeldungen auftauchen, stelle bitte zunächst das Regelintervall auf "Normal". Werden Module genutzt, welche z.B. eine Online-API zur Abfrage nutzen (höhere Latenzzeiten) oder möchte man weniger Regeleingriffe, so kann man das Regelintervall auf "Langsam" (20 Sekunden) herabsetzen. Die Einstellung „Sehr Langsam“ führt zu einer Regelzeit von 60 Sekunden.'),K,Z]),_:1},8,["model-value"]),t(g,{title:"Netzschutz",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/general/grid_protection_configured"],"onUpdate:modelValue":n[3]||(n[3]=o=>e.updateState("openWB/general/grid_protection_configured",o))},{help:i(()=>[r(' Diese Option ist standardmäßig aktiviert und sollte so belassen werden. Bei Unterschreitung einer kritischen Frequenz des Stromnetzes wird die Ladung nach einer zufälligen Zeit zwischen 1 und 90 Sekunden pausiert. Der Lademodus wechselt auf "Stop". Sobald die Frequenz wieder in einem normalen Bereich ist wird automatisch der zuletzt gewählte Lademodus wieder aktiviert. Ebenso wird die Ladung bei Überschreiten von 51,8 Hz unterbrochen. Dies ist dann der Fall, wenn der Energieversorger Wartungsarbeiten am (Teil-)Netz durchführt und auf einen vorübergehenden Generator-Betrieb umschaltet. Die Erhöhung der Frequenz wird durchgeführt, um die PV Anlagen abzuschalten.'),Q,X]),_:1},8,["model-value"])]))]),_:1}),t(b,{title:"Darstellung"},{default:i(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(s(),p("div",Y,[t(l,{subtype:"info"},{default:i(()=>[r(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(s(),p("div",ee,[t(B,{class:"mt-0"},{default:i(()=>[r(" Hauptseite ")]),_:1}),e.$store.state.mqtt["openWB/general/web_theme"]!==void 0?(s(),p("div",ne,[t(y,{class:"mb-2",title:"Theme",options:m.webThemeList,"model-value":e.$store.state.mqtt["openWB/general/web_theme"].type,"onUpdate:modelValue":n[4]||(n[4]=o=>m.updateSelectedWebTheme(o))},null,8,["options","model-value"]),e.$store.state.mqtt["openWB/general/web_theme"].type?(s(),_(v,{key:0,webThemeType:e.$store.state.mqtt["openWB/general/web_theme"].type,configuration:e.$store.state.mqtt["openWB/general/web_theme"].configuration,"onUpdate:configuration":n[5]||(n[5]=o=>m.updateConfiguration("openWB/general/web_theme",o))},null,8,["webThemeType","configuration"])):f("",!0)])):f("",!0),te,t(B,null,{default:i(()=>[r(" Lade-Log ")]),_:1}),t(k,{title:"Preis je kWh",min:0,step:1e-4,unit:"€","model-value":e.$store.state.mqtt["openWB/general/price_kwh"],"onUpdate:modelValue":n[6]||(n[6]=o=>e.updateState("openWB/general/price_kwh",o))},{help:i(()=>[r(" Dient zur Berechnung der Ladekosten im Lade-Log."),oe,r(" Es können bis zu 4 Nachkommastellen genutzt werden. ")]),_:1},8,["model-value"]),t(g,{title:"Einheit für Entfernungen","model-value":e.$store.state.mqtt["openWB/general/range_unit"],"onUpdate:modelValue":n[7]||(n[7]=o=>e.updateState("openWB/general/range_unit",o)),buttons:[{buttonValue:"km",text:"Kilometer"},{buttonValue:"mi",text:"Meilen"}]},null,8,["model-value"])]))]),_:1}),t(S,{formName:"generalConfigForm",onSave:n[8]||(n[8]=o=>e.$emit("save")),onReset:n[9]||(n[9]=o=>e.$emit("reset")),onDefaults:n[10]||(n[10]=o=>e.$emit("defaults"))})])])}const ge=h(P,[["render",re],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/GeneralConfig.vue"]]);export{ge as default}; +import{C as T}from"./index-baf9de5e.js";import{_ as z}from"./dynamic-import-helper-be004503.js";import{_ as h,p as d,k as s,l as p,y as _,L as i,u as r,x as c,A as t,q as a,a0 as $,a1 as C,z as f}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const V={name:"WebThemeFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},webThemeType:{type:String}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},q={class:"web-theme-fallback"},D={key:1};function L(e,n,u,w,W,m){const l=d("openwb-base-alert"),g=d("openwb-base-textarea");return s(),p("div",q,[Object.keys(u.configuration).length==0?(s(),_(l,{key:0,subtype:"info"},{default:i(()=>[r(' Das Web Theme "'+c(u.webThemeType)+'" bietet keine Einstellungen. ',1)]),_:1})):(s(),p("div",D,[t(l,{subtype:"warning"},{default:i(()=>[r(' Es wurde keine Konfigurationsseite für das Web Theme "'+c(u.webThemeType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),t(g,{title:"Theme Konfiguration",subtype:"json","model-value":u.configuration,"onUpdate:modelValue":n[0]||(n[0]=b=>m.updateConfiguration(b,"configuration"))},{help:i(()=>[r(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),t(l,{subtype:"info"},{default:i(()=>[a("pre",null,c(JSON.stringify(u.configuration,void 0,2)),1)]),_:1})]))])}const O=h(V,[["render",L],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/web_themes/OpenwbWebThemeFallback.vue"]]),E={name:"OpenwbWebThemeProxy",emits:["update:configuration"],props:{webThemeType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading web theme: ${this.webThemeType}`),$({loader:()=>z(Object.assign({}),`./${this.webThemeType}/webTheme.vue`),errorComponent:O})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}};function N(e,n,u,w,W,m){return s(),_(C(m.myComponent),{configuration:u.configuration,webThemeType:u.webThemeType,"onUpdate:configuration":n[0]||(n[0]=l=>m.updateConfiguration(l))},null,40,["configuration","webThemeType"])}const x=h(E,[["render",N],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/web_themes/OpenwbWebThemeProxy.vue"]]),P={name:"OpenwbGeneralConfig",mixins:[T],components:{OpenwbWebThemeProxy:x},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/control_interval","openWB/general/grid_protection_configured","openWB/general/external_buttons_hw","openWB/general/modbus_control","openWB/general/notifications/selected","openWB/general/notifications/configuration","openWB/general/notifications/start_charging","openWB/general/notifications/stop_charging","openWB/general/notifications/plug","openWB/general/notifications/smart_home","openWB/general/price_kwh","openWB/general/range_unit","openWB/general/web_theme","openWB/system/configurable/web_themes"]}},computed:{webThemeList:{get(){return this.$store.state.mqtt["openWB/system/configurable/web_themes"]}}},methods:{getWebThemeDefaultConfiguration(e){const n=this.webThemeList.find(u=>u.value==e);return Object.prototype.hasOwnProperty.call(n,"defaults")?{...JSON.parse(JSON.stringify(n.defaults.configuration))}:(console.warn("no default configuration found for web theme type!",e),{})},updateSelectedWebTheme(e){this.updateState("openWB/general/web_theme",e,"type"),this.updateState("openWB/general/web_theme",this.getWebThemeDefaultConfiguration(e),"configuration")},updateConfiguration(e,n){console.debug("updateConfiguration",e,n),this.updateState(e,n.value,n.object)}}},R={class:"generalConfig"},U={name:"generalConfigForm"},F=a("br",null,null,-1),A=a("br",null,null,-1),j=a("br",null,null,-1),M=a("a",{href:"https://openwb.de/main/?page_id=1025",target:"_blank",rel:"noopener noreferrer"}," Homepage ",-1),G=a("a",{href:"https://openwb.de/main/wp-content/uploads/2023/10/ModbusTCP-openWB-series2-Pro-1.pdf",target:"_blank",rel:"noopener noreferrer"}," hier",-1),H={key:0},I={key:0},J={key:1},K=a("br",null,null,-1),Z=a("span",{class:"text-danger"},' Nicht nur die Regelung der PV geführten Ladung, sondern auch die Ladestromänderung, beispielsweise “Stop“ etc., werden dann nur noch in diesem Intervall ausgeführt. Die Regelung wird insgesamt träger. Solange es keinen triftigen Grund gibt, sollte "Normal" gewählt werden. ',-1),Q=a("br",null,null,-1),X=a("span",{class:"text-danger"}," Die Option ist nur aktiv, wenn der EVU-Zähler die Frequenz übermittelt. ",-1),Y={key:0},ee={key:1},ne={key:0},te=a("hr",null,null,-1),oe=a("br",null,null,-1);function re(e,n,u,w,W,m){const l=d("openwb-base-alert"),g=d("openwb-base-button-group-input"),b=d("openwb-base-card"),B=d("openwb-base-heading"),y=d("openwb-base-select-input"),v=d("openwb-web-theme-proxy"),k=d("openwb-base-number-input"),S=d("openwb-base-submit-buttons");return s(),p("div",R,[a("form",U,[t(b,{title:"Steuerungsmodus"},{default:i(()=>[t(l,{subtype:"info"},{default:i(()=>[r(' Wird für den Steuerungsmodus "primary" gewählt, übernimmt diese openWB die alleinige Regelung und steuert ggf. vorhandene weitere openWB (z.B. externe openWB im Steuermodus secondary, openWB Pro, Satellit u.a.) fern. Sie werden in den Ladepunkt-Einstellungen der primary-openWB hinzugefügt. '),F,A,r(' Wird für den Steuerungsmodus "secondary" gewählt, übernimmt diese openWB keine Regelung und muss von einer anderen primary openWB ferngesteuert werden. Wichtig ist, dass in der secondary-openWB eine "interne openWB" mit der korrekten Bauart (= openWB-Hardwarevariante z.B. "Custom, Standard, Standard+, Duo, Buchse") konfiguriert ist. Bei einer Duo sind zwei "interne openWB" zu konfigurieren. Im "secondary"-Modus bleiben alle ausgeblendeten Einstellungen unbeachtet.'),j,r(" Eine bebilderte Anleitung zur Konfiguration der Ladepunkte findest Du auf der "),M,r(". ")]),_:1}),t(g,{title:"Steuerungsmodus",buttons:[{buttonValue:!1,text:"primary",class:"btn-outline-danger"},{buttonValue:!0,text:"secondary",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/general/extern"],"onUpdate:modelValue":n[0]||(n[0]=o=>e.updateState("openWB/general/extern",o))},null,8,["model-value"]),t(g,{title:"Steuerung über Modbus als secondary",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/general/modbus_control"],"onUpdate:modelValue":n[1]||(n[1]=o=>e.updateState("openWB/general/modbus_control",o))},{help:i(()=>[r(" Im secondary-Modus kann die openWB über die Modbus-Schnittstelle gesteuert werden. Die Register sind "),G,r("dokumentiert. Bei aktivierter Modbus-Schnittstelle darf die openWB nicht von einer primary-openWB gesteuert werden. ")]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/general/modbus_control"]===!0?(s(),p("div",H,[t(l,{subtype:"info"},{default:i(()=>[r(' Wenn die Steuerung über Modbus auf "aus" geändert wird, muss danach ein Neustart durchgeführt werden! ')]),_:1})])):f("",!0)]),_:1}),t(b,{title:"Hardware"},{default:i(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(s(),p("div",I,[t(l,{subtype:"info"},{default:i(()=>[r(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(s(),p("div",J,[t(g,{title:"Geschwindigkeit Regelintervall",buttons:[{buttonValue:10,text:"Normal",class:"btn-outline-success"},{buttonValue:20,text:"Langsam",class:"btn-outline-warning"},{buttonValue:60,text:"Sehr Langsam",class:"btn-outline-danger"}],"model-value":e.$store.state.mqtt["openWB/general/control_interval"],"onUpdate:modelValue":n[2]||(n[2]=o=>e.updateState("openWB/general/control_interval",o))},{help:i(()=>[r(' Sollten Probleme oder Fehlermeldungen auftauchen, stelle bitte zunächst das Regelintervall auf "Normal". Werden Module genutzt, welche z.B. eine Online-API zur Abfrage nutzen (höhere Latenzzeiten) oder möchte man weniger Regeleingriffe, so kann man das Regelintervall auf "Langsam" (20 Sekunden) herabsetzen. Die Einstellung „Sehr Langsam“ führt zu einer Regelzeit von 60 Sekunden.'),K,Z]),_:1},8,["model-value"]),t(g,{title:"Netzschutz",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/general/grid_protection_configured"],"onUpdate:modelValue":n[3]||(n[3]=o=>e.updateState("openWB/general/grid_protection_configured",o))},{help:i(()=>[r(' Diese Option ist standardmäßig aktiviert und sollte so belassen werden. Bei Unterschreitung einer kritischen Frequenz des Stromnetzes wird die Ladung nach einer zufälligen Zeit zwischen 1 und 90 Sekunden pausiert. Der Lademodus wechselt auf "Stop". Sobald die Frequenz wieder in einem normalen Bereich ist wird automatisch der zuletzt gewählte Lademodus wieder aktiviert. Ebenso wird die Ladung bei Überschreiten von 51,8 Hz unterbrochen. Dies ist dann der Fall, wenn der Energieversorger Wartungsarbeiten am (Teil-)Netz durchführt und auf einen vorübergehenden Generator-Betrieb umschaltet. Die Erhöhung der Frequenz wird durchgeführt, um die PV Anlagen abzuschalten.'),Q,X]),_:1},8,["model-value"])]))]),_:1}),t(b,{title:"Darstellung"},{default:i(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(s(),p("div",Y,[t(l,{subtype:"info"},{default:i(()=>[r(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(s(),p("div",ee,[t(B,{class:"mt-0"},{default:i(()=>[r(" Hauptseite ")]),_:1}),e.$store.state.mqtt["openWB/general/web_theme"]!==void 0?(s(),p("div",ne,[t(y,{class:"mb-2",title:"Theme",options:m.webThemeList,"model-value":e.$store.state.mqtt["openWB/general/web_theme"].type,"onUpdate:modelValue":n[4]||(n[4]=o=>m.updateSelectedWebTheme(o))},null,8,["options","model-value"]),e.$store.state.mqtt["openWB/general/web_theme"].type?(s(),_(v,{key:0,webThemeType:e.$store.state.mqtt["openWB/general/web_theme"].type,configuration:e.$store.state.mqtt["openWB/general/web_theme"].configuration,"onUpdate:configuration":n[5]||(n[5]=o=>m.updateConfiguration("openWB/general/web_theme",o))},null,8,["webThemeType","configuration"])):f("",!0)])):f("",!0),te,t(B,null,{default:i(()=>[r(" Lade-Log ")]),_:1}),t(k,{title:"Preis je kWh",min:0,step:1e-4,unit:"€","model-value":e.$store.state.mqtt["openWB/general/price_kwh"],"onUpdate:modelValue":n[6]||(n[6]=o=>e.updateState("openWB/general/price_kwh",o))},{help:i(()=>[r(" Dient zur Berechnung der Ladekosten im Lade-Log."),oe,r(" Es können bis zu 4 Nachkommastellen genutzt werden. ")]),_:1},8,["model-value"]),t(g,{title:"Einheit für Entfernungen","model-value":e.$store.state.mqtt["openWB/general/range_unit"],"onUpdate:modelValue":n[7]||(n[7]=o=>e.updateState("openWB/general/range_unit",o)),buttons:[{buttonValue:"km",text:"Kilometer"},{buttonValue:"mi",text:"Meilen"}]},null,8,["model-value"])]))]),_:1}),t(S,{formName:"generalConfigForm",onSave:n[8]||(n[8]=o=>e.$emit("save")),onReset:n[9]||(n[9]=o=>e.$emit("reset")),onDefaults:n[10]||(n[10]=o=>e.$emit("defaults"))})])])}const ge=h(P,[["render",re],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/GeneralConfig.vue"]]);export{ge as default}; diff --git a/web/settings/assets/HardwareInstallation-5eab562f.js b/web/settings/assets/HardwareInstallation-5eab562f.js deleted file mode 100644 index 231664863e..0000000000 --- a/web/settings/assets/HardwareInstallation-5eab562f.js +++ /dev/null @@ -1 +0,0 @@ -import{l as G,d as N,t as U,R as F,S as H,K as J,L as Z,M as Q,F as X}from"./vendor-fortawesome-12056596.js";import{_ as e,C as Y}from"./index-8fe3a4a0.js";import{_ as M}from"./dynamic-import-helper-be004503.js";import{_ as y,p,k as d,l as c,y as E,L as o,x as T,u as v,A as n,q as m,a0 as W,a1 as $,G as O,I as f,n as h,z as w,Q as ee,R as _e}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const te={name:"DeviceFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},deviceType:String,componentId:{default:void 0},componentType:String},methods:{updateConfiguration(_,i=void 0){this.$emit("update:configuration",{value:_,object:i})}}},oe={class:"device-fallback"},ie={key:0},re={key:1},ne={key:1},ue={key:0},de={key:1};function ve(_,i,u,P,s,r){const I=p("openwb-base-alert"),L=p("openwb-base-textarea");return d(),c("div",oe,[Object.keys(u.configuration).length==0?(d(),E(I,{key:0,subtype:"info"},{default:o(()=>[u.componentType?(d(),c("span",ie,' Der Komponenten-Typ "'+T(u.componentType)+'" ',1)):(d(),c("span",re,'Der Gerät-Typ "'+T(u.deviceType)+'"',1)),v(" bietet keine Einstellungen. ")]),_:1})):(d(),c("div",ne,[n(I,{subtype:"warning"},{default:o(()=>[v(" Es wurde keine Konfigurationsseite für den "),u.componentType?(d(),c("span",ue,' Komponenten-Typ "'+T(u.componentType)+'" ',1)):(d(),c("span",de,'Geräte-Typ "'+T(u.deviceType)+'"',1)),v(" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ")]),_:1}),n(L,{title:"Konfiguration",subtype:"json","model-value":u.configuration,"onUpdate:modelValue":i[0]||(i[0]=A=>r.updateConfiguration(A,"configuration"))},{help:o(()=>[v(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),n(I,{subtype:"info"},{default:o(()=>[m("pre",null,T(JSON.stringify(u.configuration,void 0,2)),1)]),_:1})]))])}const S=y(te,[["render",ve],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/OpenwbDeviceConfigFallback.vue"]]),ae={name:"OpenwbConfigProxy",emits:["update:configuration"],props:{deviceId:{required:!0},deviceType:{type:String,required:!0},componentId:{default:void 0},componentType:{type:String,default:void 0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading component: ${this.deviceType} / ${this.componentType}`),this.componentType!==void 0?W({loader:()=>M(Object.assign({"./alpha_ess/bat.vue":()=>e(()=>import("./bat-a1145fd5.js"),["assets/bat-a1145fd5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./alpha_ess/counter.vue":()=>e(()=>import("./counter-fd005035.js"),["assets/counter-fd005035.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./alpha_ess/device.vue":()=>e(()=>import("./device-2a49501e.js"),["assets/device-2a49501e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./alpha_ess/inverter.vue":()=>e(()=>import("./inverter-57d74e21.js"),["assets/inverter-57d74e21.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./batterx/bat.vue":()=>e(()=>import("./bat-6038c1df.js"),["assets/bat-6038c1df.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./batterx/counter.vue":()=>e(()=>import("./counter-767d4ba6.js"),["assets/counter-767d4ba6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./batterx/device.vue":()=>e(()=>import("./device-754c79d4.js"),["assets/device-754c79d4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./batterx/external_inverter.vue":()=>e(()=>import("./external_inverter-37cb1ba3.js"),["assets/external_inverter-37cb1ba3.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./batterx/inverter.vue":()=>e(()=>import("./inverter-e755842c.js"),["assets/inverter-e755842c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./byd/bat.vue":()=>e(()=>import("./bat-c09f0b87.js"),["assets/bat-c09f0b87.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./byd/device.vue":()=>e(()=>import("./device-e2287d8e.js"),["assets/device-e2287d8e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./carlo_gavazzi/counter.vue":()=>e(()=>import("./counter-5b3d8628.js"),["assets/counter-5b3d8628.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./carlo_gavazzi/device.vue":()=>e(()=>import("./device-66390e02.js"),["assets/device-66390e02.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./discovergy/counter.vue":()=>e(()=>import("./counter-cc853bcf.js"),["assets/counter-cc853bcf.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./discovergy/device.vue":()=>e(()=>import("./device-3e5103ec.js"),["assets/device-3e5103ec.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./discovergy/inverter.vue":()=>e(()=>import("./inverter-b20fc7fd.js"),["assets/inverter-b20fc7fd.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./e3dc/bat.vue":()=>e(()=>import("./bat-e922eae9.js"),["assets/bat-e922eae9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./e3dc/counter.vue":()=>e(()=>import("./counter-714325f7.js"),["assets/counter-714325f7.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./e3dc/device.vue":()=>e(()=>import("./device-de854769.js"),["assets/device-de854769.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./e3dc/external_inverter.vue":()=>e(()=>import("./external_inverter-7d2f3093.js"),["assets/external_inverter-7d2f3093.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./e3dc/inverter.vue":()=>e(()=>import("./inverter-7aa8f23f.js"),["assets/inverter-7aa8f23f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./enphase/counter.vue":()=>e(()=>import("./counter-cc26e266.js"),["assets/counter-cc26e266.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./enphase/device.vue":()=>e(()=>import("./device-fbd0cc3c.js"),["assets/device-fbd0cc3c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./enphase/inverter.vue":()=>e(()=>import("./inverter-218eb370.js"),["assets/inverter-218eb370.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fems/bat.vue":()=>e(()=>import("./bat-b4a1d64f.js"),["assets/bat-b4a1d64f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fems/counter.vue":()=>e(()=>import("./counter-3aff566b.js"),["assets/counter-3aff566b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fems/device.vue":()=>e(()=>import("./device-c1450e52.js"),["assets/device-c1450e52.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fems/inverter.vue":()=>e(()=>import("./inverter-38414f53.js"),["assets/inverter-38414f53.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fronius/bat.vue":()=>e(()=>import("./bat-2d67899d.js"),["assets/bat-2d67899d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fronius/counter_s0.vue":()=>e(()=>import("./counter_s0-95a8632a.js"),["assets/counter_s0-95a8632a.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fronius/counter_sm.vue":()=>e(()=>import("./counter_sm-be1cbf02.js"),["assets/counter_sm-be1cbf02.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fronius/device.vue":()=>e(()=>import("./device-ff26ce39.js"),["assets/device-ff26ce39.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fronius/inverter.vue":()=>e(()=>import("./inverter-924235c4.js"),["assets/inverter-924235c4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fronius/inverter_secondary.vue":()=>e(()=>import("./inverter_secondary-b1ae9aa1.js"),["assets/inverter_secondary-b1ae9aa1.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./good_we/bat.vue":()=>e(()=>import("./bat-94685dec.js"),["assets/bat-94685dec.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./good_we/counter.vue":()=>e(()=>import("./counter-34166fad.js"),["assets/counter-34166fad.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./good_we/device.vue":()=>e(()=>import("./device-6dcdb017.js"),["assets/device-6dcdb017.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./good_we/inverter.vue":()=>e(()=>import("./inverter-e86aac6e.js"),["assets/inverter-e86aac6e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./http/bat.vue":()=>e(()=>import("./bat-067dfd2a.js"),["assets/bat-067dfd2a.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./http/counter.vue":()=>e(()=>import("./counter-f28c345a.js"),["assets/counter-f28c345a.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./http/device.vue":()=>e(()=>import("./device-fd13af70.js"),["assets/device-fd13af70.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./http/inverter.vue":()=>e(()=>import("./inverter-a8d99ac5.js"),["assets/inverter-a8d99ac5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei/bat.vue":()=>e(()=>import("./bat-658db0f6.js"),["assets/bat-658db0f6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei/counter.vue":()=>e(()=>import("./counter-e0518a0b.js"),["assets/counter-e0518a0b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei/device.vue":()=>e(()=>import("./device-31988ec6.js"),["assets/device-31988ec6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei/inverter.vue":()=>e(()=>import("./inverter-d99b4281.js"),["assets/inverter-d99b4281.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/bat.vue":()=>e(()=>import("./bat-a8a2fb9d.js"),["assets/bat-a8a2fb9d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/counter.vue":()=>e(()=>import("./counter-02cdeba3.js"),["assets/counter-02cdeba3.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/device.vue":()=>e(()=>import("./device-65a61edd.js"),["assets/device-65a61edd.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/inverter.vue":()=>e(()=>import("./inverter-3df2af68.js"),["assets/inverter-3df2af68.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./janitza/counter.vue":()=>e(()=>import("./counter-ae14223f.js"),["assets/counter-ae14223f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./janitza/device.vue":()=>e(()=>import("./device-b5264b36.js"),["assets/device-b5264b36.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./json/bat.vue":()=>e(()=>import("./bat-97162434.js"),["assets/bat-97162434.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./json/counter.vue":()=>e(()=>import("./counter-bf241149.js"),["assets/counter-bf241149.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./json/device.vue":()=>e(()=>import("./device-a71d7322.js"),["assets/device-a71d7322.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./json/inverter.vue":()=>e(()=>import("./inverter-9e3c403d.js"),["assets/inverter-9e3c403d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_piko/counter.vue":()=>e(()=>import("./counter-091aed85.js"),["assets/counter-091aed85.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_piko/device.vue":()=>e(()=>import("./device-0e2539c6.js"),["assets/device-0e2539c6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_piko/inverter.vue":()=>e(()=>import("./inverter-fc9f96c9.js"),["assets/inverter-fc9f96c9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_piko_old/device.vue":()=>e(()=>import("./device-ea7f847d.js"),["assets/device-ea7f847d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_piko_old/inverter.vue":()=>e(()=>import("./inverter-fb891fc8.js"),["assets/inverter-fb891fc8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/bat.vue":()=>e(()=>import("./bat-d6e44abb.js"),["assets/bat-d6e44abb.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/counter.vue":()=>e(()=>import("./counter-cf68ecf5.js"),["assets/counter-cf68ecf5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/device.vue":()=>e(()=>import("./device-6bde5d2b.js"),["assets/device-6bde5d2b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/inverter.vue":()=>e(()=>import("./inverter-87c0d6af.js"),["assets/inverter-87c0d6af.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_sem/counter.vue":()=>e(()=>import("./counter-ffc77512.js"),["assets/counter-ffc77512.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_sem/device.vue":()=>e(()=>import("./device-a0ff21f9.js"),["assets/device-a0ff21f9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_steca/device.vue":()=>e(()=>import("./device-947dd57a.js"),["assets/device-947dd57a.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_steca/inverter.vue":()=>e(()=>import("./inverter-2fbd832e.js"),["assets/inverter-2fbd832e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./lg/bat.vue":()=>e(()=>import("./bat-730fb252.js"),["assets/bat-730fb252.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./lg/counter.vue":()=>e(()=>import("./counter-c24a7de8.js"),["assets/counter-c24a7de8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./lg/device.vue":()=>e(()=>import("./device-d2579249.js"),["assets/device-d2579249.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./lg/inverter.vue":()=>e(()=>import("./inverter-750ec2c4.js"),["assets/inverter-750ec2c4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mqtt/bat.vue":()=>e(()=>import("./bat-d5a41ebe.js"),["assets/bat-d5a41ebe.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mqtt/counter.vue":()=>e(()=>import("./counter-c8ce2843.js"),["assets/counter-c8ce2843.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mqtt/device.vue":()=>e(()=>import("./device-fe816f89.js"),["assets/device-fe816f89.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mqtt/inverter.vue":()=>e(()=>import("./inverter-ff165115.js"),["assets/inverter-ff165115.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_bat_kit/bat.vue":()=>e(()=>import("./bat-0efabb5e.js"),["assets/bat-0efabb5e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_bat_kit/device.vue":()=>e(()=>import("./device-23bce111.js"),["assets/device-23bce111.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/bat.vue":()=>e(()=>import("./bat-36c10820.js"),["assets/bat-36c10820.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/counter.vue":()=>e(()=>import("./counter-915e87e7.js"),["assets/counter-915e87e7.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/device.vue":()=>e(()=>import("./device-3655301d.js"),["assets/device-3655301d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/inverter.vue":()=>e(()=>import("./inverter-9367beae.js"),["assets/inverter-9367beae.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_flex/bat.vue":()=>e(()=>import("./bat-d97447af.js"),["assets/bat-d97447af.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_flex/counter.vue":()=>e(()=>import("./counter-b7920d66.js"),["assets/counter-b7920d66.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_flex/device.vue":()=>e(()=>import("./device-63a1b1e0.js"),["assets/device-63a1b1e0.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_flex/inverter.vue":()=>e(()=>import("./inverter-1dabc9f6.js"),["assets/inverter-1dabc9f6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_pv_kit/device.vue":()=>e(()=>import("./device-d985fa3e.js"),["assets/device-d985fa3e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_pv_kit/inverter.vue":()=>e(()=>import("./inverter-e205d080.js"),["assets/inverter-e205d080.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerdog/counter.vue":()=>e(()=>import("./counter-79dbf497.js"),["assets/counter-79dbf497.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerdog/device.vue":()=>e(()=>import("./device-75da40b5.js"),["assets/device-75da40b5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerdog/inverter.vue":()=>e(()=>import("./inverter-8da9f9e9.js"),["assets/inverter-8da9f9e9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerfox/counter.vue":()=>e(()=>import("./counter-62f181c4.js"),["assets/counter-62f181c4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerfox/device.vue":()=>e(()=>import("./device-d19037af.js"),["assets/device-d19037af.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerfox/inverter.vue":()=>e(()=>import("./inverter-34e20969.js"),["assets/inverter-34e20969.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./qcells/bat.vue":()=>e(()=>import("./bat-7e5711e8.js"),["assets/bat-7e5711e8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./qcells/counter.vue":()=>e(()=>import("./counter-7ea72015.js"),["assets/counter-7ea72015.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./qcells/device.vue":()=>e(()=>import("./device-3b276a43.js"),["assets/device-3b276a43.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./qcells/inverter.vue":()=>e(()=>import("./inverter-862069a2.js"),["assets/inverter-862069a2.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./rct/bat.vue":()=>e(()=>import("./bat-ae64cbe7.js"),["assets/bat-ae64cbe7.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./rct/counter.vue":()=>e(()=>import("./counter-41e4692e.js"),["assets/counter-41e4692e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./rct/device.vue":()=>e(()=>import("./device-97b30c5e.js"),["assets/device-97b30c5e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./rct/inverter.vue":()=>e(()=>import("./inverter-55c22b1f.js"),["assets/inverter-55c22b1f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./saxpower/bat.vue":()=>e(()=>import("./bat-b6594dc8.js"),["assets/bat-b6594dc8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./saxpower/device.vue":()=>e(()=>import("./device-77154bdc.js"),["assets/device-77154bdc.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./shelly/device.vue":()=>e(()=>import("./device-52b36ef5.js"),["assets/device-52b36ef5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./shelly/inverter.vue":()=>e(()=>import("./inverter-0642e048.js"),["assets/inverter-0642e048.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens/bat.vue":()=>e(()=>import("./bat-9bfbe5a9.js"),["assets/bat-9bfbe5a9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens/counter.vue":()=>e(()=>import("./counter-27655da5.js"),["assets/counter-27655da5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens/device.vue":()=>e(()=>import("./device-8e20e7a5.js"),["assets/device-8e20e7a5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens/inverter.vue":()=>e(()=>import("./inverter-2a5521a6.js"),["assets/inverter-2a5521a6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens_sentron/counter.vue":()=>e(()=>import("./counter-5dc07c85.js"),["assets/counter-5dc07c85.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens_sentron/device.vue":()=>e(()=>import("./device-b5381581.js"),["assets/device-b5381581.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_shm/counter.vue":()=>e(()=>import("./counter-ae615ae5.js"),["assets/counter-ae615ae5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_shm/device.vue":()=>e(()=>import("./device-84b1e24d.js"),["assets/device-84b1e24d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_shm/inverter.vue":()=>e(()=>import("./inverter-50bdbc08.js"),["assets/inverter-50bdbc08.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/bat.vue":()=>e(()=>import("./bat-5e9b5bd0.js"),["assets/bat-5e9b5bd0.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/bat_smart_energy.vue":()=>e(()=>import("./bat_smart_energy-dbb20e80.js"),["assets/bat_smart_energy-dbb20e80.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/counter.vue":()=>e(()=>import("./counter-188956e7.js"),["assets/counter-188956e7.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/device.vue":()=>e(()=>import("./device-c053b183.js"),["assets/device-c053b183.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/inverter.vue":()=>e(()=>import("./inverter-c88f74b8.js"),["assets/inverter-c88f74b8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_island/bat.vue":()=>e(()=>import("./bat-21fcf5b8.js"),["assets/bat-21fcf5b8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_island/device.vue":()=>e(()=>import("./device-04813718.js"),["assets/device-04813718.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_webbox/device.vue":()=>e(()=>import("./device-e0d2a4a8.js"),["assets/device-e0d2a4a8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_webbox/inverter.vue":()=>e(()=>import("./inverter-709b5461.js"),["assets/inverter-709b5461.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smart_me/counter.vue":()=>e(()=>import("./counter-c53096ed.js"),["assets/counter-c53096ed.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smart_me/device.vue":()=>e(()=>import("./device-cc6945a4.js"),["assets/device-cc6945a4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smart_me/inverter.vue":()=>e(()=>import("./inverter-a5a2e330.js"),["assets/inverter-a5a2e330.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smartfox/counter.vue":()=>e(()=>import("./counter-a78a59b3.js"),["assets/counter-a78a59b3.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smartfox/device.vue":()=>e(()=>import("./device-e32f1137.js"),["assets/device-e32f1137.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_log/counter.vue":()=>e(()=>import("./counter-7cb477c9.js"),["assets/counter-7cb477c9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_log/device.vue":()=>e(()=>import("./device-fbb4e2b8.js"),["assets/device-fbb4e2b8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_log/inverter.vue":()=>e(()=>import("./inverter-41b1ba64.js"),["assets/inverter-41b1ba64.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_view/counter.vue":()=>e(()=>import("./counter-d1fd062f.js"),["assets/counter-d1fd062f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_view/device.vue":()=>e(()=>import("./device-d24b934b.js"),["assets/device-d24b934b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_view/inverter.vue":()=>e(()=>import("./inverter-00e50e89.js"),["assets/inverter-00e50e89.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_watt/bat.vue":()=>e(()=>import("./bat-c8cc976c.js"),["assets/bat-c8cc976c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_watt/counter.vue":()=>e(()=>import("./counter-d48e0a26.js"),["assets/counter-d48e0a26.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_watt/device.vue":()=>e(()=>import("./device-e267acda.js"),["assets/device-e267acda.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_watt/inverter.vue":()=>e(()=>import("./inverter-ecf1b8d9.js"),["assets/inverter-ecf1b8d9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_world/counter.vue":()=>e(()=>import("./counter-e4cd836c.js"),["assets/counter-e4cd836c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_world/device.vue":()=>e(()=>import("./device-f318e9d1.js"),["assets/device-f318e9d1.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_world/inverter.vue":()=>e(()=>import("./inverter-2a1b6d03.js"),["assets/inverter-2a1b6d03.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solaredge/bat.vue":()=>e(()=>import("./bat-37fcd6a3.js"),["assets/bat-37fcd6a3.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solaredge/counter.vue":()=>e(()=>import("./counter-b5068d6f.js"),["assets/counter-b5068d6f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solaredge/device.vue":()=>e(()=>import("./device-8624bdf2.js"),["assets/device-8624bdf2.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solaredge/external_inverter.vue":()=>e(()=>import("./external_inverter-17f0c9ba.js"),["assets/external_inverter-17f0c9ba.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solaredge/inverter.vue":()=>e(()=>import("./inverter-b75fb059.js"),["assets/inverter-b75fb059.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solarmax/bat.vue":()=>e(()=>import("./bat-81b7cd83.js"),["assets/bat-81b7cd83.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solarmax/device.vue":()=>e(()=>import("./device-07cad830.js"),["assets/device-07cad830.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solarmax/inverter.vue":()=>e(()=>import("./inverter-f7fba65e.js"),["assets/inverter-f7fba65e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solax/bat.vue":()=>e(()=>import("./bat-f05aeb0c.js"),["assets/bat-f05aeb0c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solax/counter.vue":()=>e(()=>import("./counter-59281697.js"),["assets/counter-59281697.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solax/device.vue":()=>e(()=>import("./device-fa83b2df.js"),["assets/device-fa83b2df.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solax/inverter.vue":()=>e(()=>import("./inverter-31ec26c2.js"),["assets/inverter-31ec26c2.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/bat.vue":()=>e(()=>import("./bat-8fa25c4b.js"),["assets/bat-8fa25c4b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/counter.vue":()=>e(()=>import("./counter-f99ad3c6.js"),["assets/counter-f99ad3c6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/device.vue":()=>e(()=>import("./device-7db07287.js"),["assets/device-7db07287.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/inverter.vue":()=>e(()=>import("./inverter-7faba7de.js"),["assets/inverter-7faba7de.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./studer/bat.vue":()=>e(()=>import("./bat-0aee7032.js"),["assets/bat-0aee7032.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./studer/device.vue":()=>e(()=>import("./device-adab1c5e.js"),["assets/device-adab1c5e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./studer/inverter.vue":()=>e(()=>import("./inverter-671a9f86.js"),["assets/inverter-671a9f86.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sungrow/bat.vue":()=>e(()=>import("./bat-81843ac2.js"),["assets/bat-81843ac2.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sungrow/counter.vue":()=>e(()=>import("./counter-414c2a8d.js"),["assets/counter-414c2a8d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sungrow/device.vue":()=>e(()=>import("./device-e6e344e5.js"),["assets/device-e6e344e5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sungrow/inverter.vue":()=>e(()=>import("./inverter-1d0b2024.js"),["assets/inverter-1d0b2024.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sunways/device.vue":()=>e(()=>import("./device-b367b6ae.js"),["assets/device-b367b6ae.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sunways/inverter.vue":()=>e(()=>import("./inverter-fc0a3e36.js"),["assets/inverter-fc0a3e36.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./tesla/bat.vue":()=>e(()=>import("./bat-bbd1edc0.js"),["assets/bat-bbd1edc0.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./tesla/counter.vue":()=>e(()=>import("./counter-03bbcf67.js"),["assets/counter-03bbcf67.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./tesla/device.vue":()=>e(()=>import("./device-6d3151c9.js"),["assets/device-6d3151c9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./tesla/inverter.vue":()=>e(()=>import("./inverter-a29c5254.js"),["assets/inverter-a29c5254.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./varta/bat_api.vue":()=>e(()=>import("./bat_api-093f9d39.js"),["assets/bat_api-093f9d39.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./varta/bat_modbus.vue":()=>e(()=>import("./bat_modbus-f4c6e17c.js"),["assets/bat_modbus-f4c6e17c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./varta/counter.vue":()=>e(()=>import("./counter-4a529327.js"),["assets/counter-4a529327.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./varta/device.vue":()=>e(()=>import("./device-73a31212.js"),["assets/device-73a31212.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./victron/bat.vue":()=>e(()=>import("./bat-4e84a509.js"),["assets/bat-4e84a509.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./victron/counter.vue":()=>e(()=>import("./counter-fe0cf21e.js"),["assets/counter-fe0cf21e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./victron/device.vue":()=>e(()=>import("./device-9af937ef.js"),["assets/device-9af937ef.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./victron/inverter.vue":()=>e(()=>import("./inverter-28f71cf8.js"),["assets/inverter-28f71cf8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./virtual/counter.vue":()=>e(()=>import("./counter-93cedec3.js"),["assets/counter-93cedec3.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./virtual/device.vue":()=>e(()=>import("./device-431bfae8.js"),["assets/device-431bfae8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./vzlogger/counter.vue":()=>e(()=>import("./counter-a1acca8f.js"),["assets/counter-a1acca8f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./vzlogger/device.vue":()=>e(()=>import("./device-646236a6.js"),["assets/device-646236a6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./vzlogger/inverter.vue":()=>e(()=>import("./inverter-17dc63ec.js"),["assets/inverter-17dc63ec.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./youless/device.vue":()=>e(()=>import("./device-7036bd9c.js"),["assets/device-7036bd9c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./youless/inverter.vue":()=>e(()=>import("./inverter-ea2ec358.js"),["assets/inverter-ea2ec358.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"])}),`./${this.deviceType}/${this.componentType}.vue`),errorComponent:S}):W({loader:()=>M(Object.assign({"./alpha_ess/device.vue":()=>e(()=>import("./device-2a49501e.js"),["assets/device-2a49501e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./batterx/device.vue":()=>e(()=>import("./device-754c79d4.js"),["assets/device-754c79d4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./byd/device.vue":()=>e(()=>import("./device-e2287d8e.js"),["assets/device-e2287d8e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./carlo_gavazzi/device.vue":()=>e(()=>import("./device-66390e02.js"),["assets/device-66390e02.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./discovergy/device.vue":()=>e(()=>import("./device-3e5103ec.js"),["assets/device-3e5103ec.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./e3dc/device.vue":()=>e(()=>import("./device-de854769.js"),["assets/device-de854769.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./enphase/device.vue":()=>e(()=>import("./device-fbd0cc3c.js"),["assets/device-fbd0cc3c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fems/device.vue":()=>e(()=>import("./device-c1450e52.js"),["assets/device-c1450e52.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./fronius/device.vue":()=>e(()=>import("./device-ff26ce39.js"),["assets/device-ff26ce39.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./good_we/device.vue":()=>e(()=>import("./device-6dcdb017.js"),["assets/device-6dcdb017.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./http/device.vue":()=>e(()=>import("./device-fd13af70.js"),["assets/device-fd13af70.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei/device.vue":()=>e(()=>import("./device-31988ec6.js"),["assets/device-31988ec6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/device.vue":()=>e(()=>import("./device-65a61edd.js"),["assets/device-65a61edd.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./janitza/device.vue":()=>e(()=>import("./device-b5264b36.js"),["assets/device-b5264b36.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./json/device.vue":()=>e(()=>import("./device-a71d7322.js"),["assets/device-a71d7322.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_piko/device.vue":()=>e(()=>import("./device-0e2539c6.js"),["assets/device-0e2539c6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_piko_old/device.vue":()=>e(()=>import("./device-ea7f847d.js"),["assets/device-ea7f847d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/device.vue":()=>e(()=>import("./device-6bde5d2b.js"),["assets/device-6bde5d2b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_sem/device.vue":()=>e(()=>import("./device-a0ff21f9.js"),["assets/device-a0ff21f9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kostal_steca/device.vue":()=>e(()=>import("./device-947dd57a.js"),["assets/device-947dd57a.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./lg/device.vue":()=>e(()=>import("./device-d2579249.js"),["assets/device-d2579249.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mqtt/device.vue":()=>e(()=>import("./device-fe816f89.js"),["assets/device-fe816f89.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_bat_kit/device.vue":()=>e(()=>import("./device-23bce111.js"),["assets/device-23bce111.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/device.vue":()=>e(()=>import("./device-3655301d.js"),["assets/device-3655301d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_flex/device.vue":()=>e(()=>import("./device-63a1b1e0.js"),["assets/device-63a1b1e0.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./openwb_pv_kit/device.vue":()=>e(()=>import("./device-d985fa3e.js"),["assets/device-d985fa3e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerdog/device.vue":()=>e(()=>import("./device-75da40b5.js"),["assets/device-75da40b5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./powerfox/device.vue":()=>e(()=>import("./device-d19037af.js"),["assets/device-d19037af.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./qcells/device.vue":()=>e(()=>import("./device-3b276a43.js"),["assets/device-3b276a43.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./rct/device.vue":()=>e(()=>import("./device-97b30c5e.js"),["assets/device-97b30c5e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./saxpower/device.vue":()=>e(()=>import("./device-77154bdc.js"),["assets/device-77154bdc.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./shelly/device.vue":()=>e(()=>import("./device-52b36ef5.js"),["assets/device-52b36ef5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens/device.vue":()=>e(()=>import("./device-8e20e7a5.js"),["assets/device-8e20e7a5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./siemens_sentron/device.vue":()=>e(()=>import("./device-b5381581.js"),["assets/device-b5381581.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_shm/device.vue":()=>e(()=>import("./device-84b1e24d.js"),["assets/device-84b1e24d.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/device.vue":()=>e(()=>import("./device-c053b183.js"),["assets/device-c053b183.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_sunny_island/device.vue":()=>e(()=>import("./device-04813718.js"),["assets/device-04813718.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sma_webbox/device.vue":()=>e(()=>import("./device-e0d2a4a8.js"),["assets/device-e0d2a4a8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smart_me/device.vue":()=>e(()=>import("./device-cc6945a4.js"),["assets/device-cc6945a4.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smartfox/device.vue":()=>e(()=>import("./device-e32f1137.js"),["assets/device-e32f1137.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_log/device.vue":()=>e(()=>import("./device-fbb4e2b8.js"),["assets/device-fbb4e2b8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_view/device.vue":()=>e(()=>import("./device-d24b934b.js"),["assets/device-d24b934b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_watt/device.vue":()=>e(()=>import("./device-e267acda.js"),["assets/device-e267acda.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solar_world/device.vue":()=>e(()=>import("./device-f318e9d1.js"),["assets/device-f318e9d1.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solaredge/device.vue":()=>e(()=>import("./device-8624bdf2.js"),["assets/device-8624bdf2.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solarmax/device.vue":()=>e(()=>import("./device-07cad830.js"),["assets/device-07cad830.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./solax/device.vue":()=>e(()=>import("./device-fa83b2df.js"),["assets/device-fa83b2df.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/device.vue":()=>e(()=>import("./device-7db07287.js"),["assets/device-7db07287.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./studer/device.vue":()=>e(()=>import("./device-adab1c5e.js"),["assets/device-adab1c5e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sungrow/device.vue":()=>e(()=>import("./device-e6e344e5.js"),["assets/device-e6e344e5.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./sunways/device.vue":()=>e(()=>import("./device-b367b6ae.js"),["assets/device-b367b6ae.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./tesla/device.vue":()=>e(()=>import("./device-6d3151c9.js"),["assets/device-6d3151c9.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./varta/device.vue":()=>e(()=>import("./device-73a31212.js"),["assets/device-73a31212.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./victron/device.vue":()=>e(()=>import("./device-9af937ef.js"),["assets/device-9af937ef.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./virtual/device.vue":()=>e(()=>import("./device-431bfae8.js"),["assets/device-431bfae8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./vzlogger/device.vue":()=>e(()=>import("./device-646236a6.js"),["assets/device-646236a6.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./youless/device.vue":()=>e(()=>import("./device-7036bd9c.js"),["assets/device-7036bd9c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"])}),`./${this.deviceType}/device.vue`),errorComponent:S})}},methods:{updateConfiguration(_){this.$emit("update:configuration",_)}}};function se(_,i,u,P,s,r){return d(),E($(r.myComponent),{configuration:u.configuration,deviceId:u.deviceId,deviceType:u.deviceType,componentId:u.componentId,componentType:u.componentType,"onUpdate:configuration":i[0]||(i[0]=I=>r.updateConfiguration(I))},null,40,["configuration","deviceId","deviceType","componentId","componentType"])}const me=y(ae,[["render",se],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/OpenwbConfigProxy.vue"]]);G.add(N,U,F,H,J,Z,Q);const pe={name:"OpenwbHardwareInstallation",mixins:[Y],emits:["sendCommand"],components:{FontAwesomeIcon:X,OpenwbConfigProxy:me},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/counter/get/hierarchy","openWB/system/device/+/config","openWB/system/device/+/component/+/config","openWB/system/configurable/devices_components"],deviceToAdd:void 0,showDeviceRemoveModal:!1,modalDevice:void 0,modalDeviceName:"",componentToAdd:[],showComponentRemoveModal:!1,modalComponent:void 0,modalComponentName:""}},computed:{installedDevices:{get(){return this.getWildcardTopics("openWB/system/device/+/config")}},installedComponents:{get(){return this.getWildcardTopics("openWB/system/device/+/component/+/config")}}},methods:{getComponentTypeClass(_){return _.match(/^(.+_)?counter(_.+)?$/)?"danger":_.match(/^(.+_)?inverter(_.+)?$/)?"success":_.match(/^(.+_)?bat(_.+)?$/)?"warning":"dark"},getComponentTypeIcon(_){return _.match(/^(.+_)?counter(_.+)?$/)?["fas","fa-gauge-high"]:_.match(/^(.+_)?inverter(_.+)?$/)?["fas","fa-solar-panel"]:_.match(/^(.+_)?bat(_.+)?$/)?["fas","fa-car-battery"]:["fas","fa-microchip"]},getMyInstalledComponents(_){return this.getWildcardTopics("openWB/system/device/"+_+"/component/+/config")},deviceHasConfiguredComponents(_){return Object.keys(this.getMyInstalledComponents(_)).length>0},addDevice(){this.$emit("sendCommand",{command:"addDevice",data:{type:this.deviceToAdd}})},removeDeviceModal(_,i,u){u.stopPropagation(),this.modalDevice=_,this.modalDeviceName=i,this.showDeviceRemoveModal=!0},removeDevice(_){this.showDeviceRemoveModal=!1,_=="confirm"&&(console.info("request removal of device '"+this.modalDevice+"'"),this.$emit("sendCommand",{command:"removeDevice",data:{id:this.modalDevice}}))},getDeviceList(){return this.$store.state.mqtt["openWB/system/configurable/devices_components"]},addComponent(_,i,u){this.$emit("sendCommand",{command:"addComponent",data:{deviceId:_,deviceType:i,type:u}})},removeComponentModal(_,i,u,P,s){s.stopPropagation(),this.modalComponent={deviceId:_,id:i,type:u},this.modalComponentName=P,this.showComponentRemoveModal=!0},removeComponent(_){this.showComponentRemoveModal=!1,_=="confirm"&&(console.info("request removal of component '"+this.modalComponent.id+"' from device '"+this.modalComponent.deviceId+"' type '"+this.modalComponent.type+"'"),this.$emit("sendCommand",{command:"removeComponent",data:this.modalComponent}))},getComponentList(_){return _===void 0?[]:(console.debug("finding components for '"+_+"'"),this.$store.state.mqtt["openWB/system/configurable/devices_components"].find(u=>u.value===_).component)},updateConfiguration(_,i){console.debug("updateConfiguration",_,i),this.updateState(_,i.value,i.object)}}},l=_=>(ee("data-v-8595d6ae"),_=_(),_e(),_),ce={class:"hardwareInstallation"},Ee={name:"hardwareInstallationForm"},le={key:0},Te={key:1},Ie={key:1},Ve=l(()=>m("hr",null,null,-1)),De=l(()=>m("hr",null,null,-1)),Ae=l(()=>m("hr",null,null,-1)),Re=l(()=>m("hr",null,null,-1)),Pe={class:"col-1"},Oe={key:0},Le={class:"col-1"},ge=l(()=>m("br",null,null,-1)),be=l(()=>m("br",null,null,-1)),fe=l(()=>m("br",null,null,-1)),he=l(()=>m("br",null,null,-1)),we=l(()=>m("br",null,null,-1)),ye=l(()=>m("br",null,null,-1));function ke(_,i,u,P,s,r){const I=p("openwb-base-modal-dialog"),L=p("router-link"),A=p("openwb-base-alert"),D=p("font-awesome-icon"),g=p("openwb-base-avatar"),k=p("openwb-base-text-input"),C=p("openwb-config-proxy"),j=p("openwb-base-heading"),b=p("openwb-base-card"),x=p("openwb-base-click-button"),B=p("openwb-base-select-input"),q=p("openwb-base-submit-buttons");return d(),c(O,null,[n(I,{show:s.showDeviceRemoveModal,title:"Gerät löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:r.removeDevice},{default:o(()=>[v(' Wollen Sie das Gerät "'+T(s.modalDeviceName)+'" inklusive aller Komponenten wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show","onModalResult"]),n(I,{show:s.showComponentRemoveModal,title:"Komponente löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:r.removeComponent},{default:o(()=>[v(' Wollen Sie die Komponente "'+T(s.modalComponentName)+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show","onModalResult"]),m("div",ce,[m("form",Ee,[n(A,{subtype:"info"},{default:o(()=>[v(" Wenn neue Komponenten - insbesondere Zähler - konfiguriert wurden, ist auch das "),n(L,{to:"/LoadManagementConfiguration"},{default:o(()=>[v(" Lastmanagement ")]),_:1}),v(" zu prüfen! ")]),_:1}),n(b,{title:"Geräte und Komponenten"},{default:o(()=>[_.$store.state.mqtt["openWB/general/extern"]===!0?(d(),c("div",le,[n(A,{subtype:"info"},{default:o(()=>[v(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),c("div",Te,[(d(!0),c(O,null,f(r.installedDevices,(t,z)=>(d(),E(b,{key:t.id,collapsible:!0,collapsed:!0,subtype:"dark"},{header:o(()=>[n(D,{"fixed-width":"",icon:["fas","network-wired"]}),v(" "+T(t.name),1)]),actions:o(a=>[a.collapsed?(d(),c("div",Ie,[(d(!0),c(O,null,f(r.getMyInstalledComponents(t.id),V=>(d(),E(g,{key:V.id,class:h("ml-1 bg-"+r.getComponentTypeClass(V.type))},{default:o(()=>[n(D,{"fixed-width":"",icon:r.getComponentTypeIcon(V.type)},null,8,["icon"])]),_:2},1032,["class"]))),128))])):(d(),E(g,{key:0,class:"bg-danger clickable",onClick:V=>r.removeDeviceModal(t.id,t.name,V)},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),default:o(()=>[n(k,{title:"Bezeichnung",subtype:"text","model-value":t.name,"onUpdate:modelValue":a=>_.updateState(z,a,"name")},null,8,["model-value","onUpdate:modelValue"]),Ve,n(C,{deviceId:t.id,deviceType:t.type,configuration:t.configuration,"onUpdate:configuration":a=>r.updateConfiguration(z,a)},null,8,["deviceId","deviceType","configuration","onUpdate:configuration"]),De,n(j,null,{default:o(()=>[v("Komponenten")]),_:1}),r.deviceHasConfiguredComponents(t.id)?w("",!0):(d(),E(A,{key:0,subtype:"warning"},{default:o(()=>[v(" Es wurden noch keine Komponenten zu diesem Gerät angelegt. ")]),_:1})),(d(!0),c(O,null,f(r.getMyInstalledComponents(t.id),(a,V)=>(d(),E(b,{key:a.id,collapsible:!0,collapsed:!0,subtype:r.getComponentTypeClass(a.type)},{header:o(()=>[n(D,{"fixed-width":"",icon:r.getComponentTypeIcon(a.type)},null,8,["icon"]),v(" "+T(a.name),1)]),actions:o(R=>[R.collapsed?w("",!0):(d(),E(g,{key:0,class:"bg-danger clickable",onClick:K=>r.removeComponentModal(t.id,a.id,a.type,a.name,K)},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),default:o(()=>[n(k,{title:"Bezeichnung",subtype:"text","model-value":a.name,"onUpdate:modelValue":R=>_.updateState(V,R,"name")},null,8,["model-value","onUpdate:modelValue"]),Ae,n(C,{deviceId:t.id,deviceType:t.type,componentId:a.id,componentType:a.type,configuration:a.configuration,"onUpdate:configuration":R=>r.updateConfiguration(V,R)},null,8,["deviceId","deviceType","componentId","componentType","configuration","onUpdate:configuration"])]),_:2},1032,["subtype"]))),128)),Re,r.getComponentList(t.type).length?(d(),E(B,{key:1,class:"mb-2",title:"Verfügbare Komponenten",notSelected:"Bitte auswählen",options:r.getComponentList(t.type),"model-value":s.componentToAdd[t.id],"onUpdate:modelValue":a=>s.componentToAdd[t.id]=a},{append:o(()=>[m("span",Pe,[n(x,{class:h(s.componentToAdd[t.id]===void 0?"btn-outline-success":"btn-success clickable"),disabled:s.componentToAdd[t.id]===void 0,onButtonClicked:a=>r.addComponent(t.id,t.type,s.componentToAdd[t.id])},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["class","disabled","onButtonClicked"])])]),help:o(()=>[v(" Bitte eine Komponente auswählen, die hinzugefügt werden soll. Für jeden Datensatz, z.B. Wechselrichter- und Batteriedaten, muss eine Wechselrichter- und eine Batteriekomponente hinzugefügt werden. ")]),_:2},1032,["options","model-value","onUpdate:modelValue"])):(d(),E(A,{key:2,subtype:"info"},{default:o(()=>[v(" Dieses System bietet keine Komponenten zur Installation an. ")]),_:1}))]),_:2},1024))),128)),Object.keys(r.installedDevices).length>0?(d(),c("hr",Oe)):w("",!0),n(B,{class:"mb-2",title:"Verfügbare Geräte",notSelected:"Bitte auswählen",options:r.getDeviceList(),"model-value":s.deviceToAdd,"onUpdate:modelValue":i[0]||(i[0]=t=>s.deviceToAdd=t)},{append:o(()=>[m("span",Le,[n(x,{class:h(s.deviceToAdd===void 0?"btn-outline-success":"btn-success clickable"),disabled:s.deviceToAdd===void 0,onButtonClicked:r.addDevice},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["class","disabled","onButtonClicked"])])]),help:o(()=>[v(' Die openWB-Regelung ist auf Werte von MESSPUNKTEN (Zähler, Energy Meter usw.) angewiesen. Hierfür werden "Geräte" und "Komponenten" verwendet.'),ge,v(' Ein "Gerät" wird hierbei durch seine IP-Adresse spezifiziert (häufig durch manuelle Eingabe oder manchmal automatisch ermittelt) und kann über mehrere untergeordnete "Komponenten" verfügen, z.B. einen Messpunkt für PV-Erzeugung, einen Messpunkt für Netzeinspeisung/-bezug am EVU-Punkt usw.. Ein "Gerät" bedingt somit immer mindestens eine zugehörige "Komponente".'),be,fe,v(' Bsp: Werden die Werte von verschiedenen Messpunkten (z.B. PV und EVU) über die gleiche IP-Adresse abgefragt, wird dafür ein "Gerät" mit zwei "Komponenten" für PV- und EVU- Messpunkt angelegt.'),he,v(' Verfügt dagegen jeder Messpunkt über eine eigene IP-Adresse, wird jeder Messpunkt als eigenes "Gerät" mit nur einer "Komponente" angelegt.'),we,ye,v(' Das "Gerät" wird in der dropdown-Liste ausgewählt und mit "+" der Regelung hinzugefügt. Im Anschluss erfolgt die Konfiguration des "Gerätes" innerhalb des schwarzen "Geräte"-Reiters. ')]),_:1},8,["options","model-value"])]))]),_:1}),n(q,{formName:"hardwareInstallationForm",onSave:i[1]||(i[1]=t=>_.$emit("save")),onReset:i[2]||(i[2]=t=>_.$emit("reset")),onDefaults:i[3]||(i[3]=t=>_.$emit("defaults"))})])])],64)}const qe=y(pe,[["render",ke],["__scopeId","data-v-8595d6ae"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/HardwareInstallation.vue"]]);export{qe as default}; diff --git a/web/settings/assets/HardwareInstallation-f47e95e2.js b/web/settings/assets/HardwareInstallation-f47e95e2.js new file mode 100644 index 0000000000..738cf2e3a1 --- /dev/null +++ b/web/settings/assets/HardwareInstallation-f47e95e2.js @@ -0,0 +1 @@ +import{l as G,d as N,t as U,R as F,S as H,K as J,L as Z,M as Q,F as X}from"./vendor-fortawesome-349077b4.js";import{_ as e,C as Y}from"./index-baf9de5e.js";import{_ as M}from"./dynamic-import-helper-be004503.js";import{_ as y,p,k as d,l as c,y as E,L as o,x as T,u as v,A as n,q as m,a0 as W,a1 as $,G as O,I as f,n as h,z as w,Q as ee,R as _e}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const te={name:"DeviceFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},deviceType:String,componentId:{default:void 0},componentType:String},methods:{updateConfiguration(_,i=void 0){this.$emit("update:configuration",{value:_,object:i})}}},oe={class:"device-fallback"},ie={key:0},re={key:1},ne={key:1},ue={key:0},de={key:1};function ve(_,i,u,P,s,r){const I=p("openwb-base-alert"),L=p("openwb-base-textarea");return d(),c("div",oe,[Object.keys(u.configuration).length==0?(d(),E(I,{key:0,subtype:"info"},{default:o(()=>[u.componentType?(d(),c("span",ie,' Der Komponenten-Typ "'+T(u.componentType)+'" ',1)):(d(),c("span",re,'Der Gerät-Typ "'+T(u.deviceType)+'"',1)),v(" bietet keine Einstellungen. ")]),_:1})):(d(),c("div",ne,[n(I,{subtype:"warning"},{default:o(()=>[v(" Es wurde keine Konfigurationsseite für den "),u.componentType?(d(),c("span",ue,' Komponenten-Typ "'+T(u.componentType)+'" ',1)):(d(),c("span",de,'Geräte-Typ "'+T(u.deviceType)+'"',1)),v(" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ")]),_:1}),n(L,{title:"Konfiguration",subtype:"json","model-value":u.configuration,"onUpdate:modelValue":i[0]||(i[0]=A=>r.updateConfiguration(A,"configuration"))},{help:o(()=>[v(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),n(I,{subtype:"info"},{default:o(()=>[m("pre",null,T(JSON.stringify(u.configuration,void 0,2)),1)]),_:1})]))])}const S=y(te,[["render",ve],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/OpenwbDeviceConfigFallback.vue"]]),ae={name:"OpenwbConfigProxy",emits:["update:configuration"],props:{deviceId:{required:!0},deviceType:{type:String,required:!0},componentId:{default:void 0},componentType:{type:String,default:void 0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading component: ${this.deviceType} / ${this.componentType}`),this.componentType!==void 0?W({loader:()=>M(Object.assign({"./alpha_ess/bat.vue":()=>e(()=>import("./bat-4be9e442.js"),["assets/bat-4be9e442.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./alpha_ess/counter.vue":()=>e(()=>import("./counter-b973e0c1.js"),["assets/counter-b973e0c1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./alpha_ess/device.vue":()=>e(()=>import("./device-d12ee3f1.js"),["assets/device-d12ee3f1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./alpha_ess/inverter.vue":()=>e(()=>import("./inverter-88c78901.js"),["assets/inverter-88c78901.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./batterx/bat.vue":()=>e(()=>import("./bat-d12a72af.js"),["assets/bat-d12a72af.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./batterx/counter.vue":()=>e(()=>import("./counter-a867b899.js"),["assets/counter-a867b899.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./batterx/device.vue":()=>e(()=>import("./device-44b90709.js"),["assets/device-44b90709.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./batterx/external_inverter.vue":()=>e(()=>import("./external_inverter-be7745de.js"),["assets/external_inverter-be7745de.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./batterx/inverter.vue":()=>e(()=>import("./inverter-c3978c72.js"),["assets/inverter-c3978c72.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./byd/bat.vue":()=>e(()=>import("./bat-5c4e12c9.js"),["assets/bat-5c4e12c9.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./byd/device.vue":()=>e(()=>import("./device-069174a4.js"),["assets/device-069174a4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./carlo_gavazzi/counter.vue":()=>e(()=>import("./counter-79485e9a.js"),["assets/counter-79485e9a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./carlo_gavazzi/device.vue":()=>e(()=>import("./device-35022d1c.js"),["assets/device-35022d1c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./discovergy/counter.vue":()=>e(()=>import("./counter-ae6edc21.js"),["assets/counter-ae6edc21.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./discovergy/device.vue":()=>e(()=>import("./device-2b9dfbfd.js"),["assets/device-2b9dfbfd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./discovergy/inverter.vue":()=>e(()=>import("./inverter-35ebb324.js"),["assets/inverter-35ebb324.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./e3dc/bat.vue":()=>e(()=>import("./bat-f5fc3892.js"),["assets/bat-f5fc3892.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./e3dc/counter.vue":()=>e(()=>import("./counter-89c4e1db.js"),["assets/counter-89c4e1db.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./e3dc/device.vue":()=>e(()=>import("./device-93f1ecfe.js"),["assets/device-93f1ecfe.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./e3dc/external_inverter.vue":()=>e(()=>import("./external_inverter-5c20c4c3.js"),["assets/external_inverter-5c20c4c3.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./e3dc/inverter.vue":()=>e(()=>import("./inverter-40b70738.js"),["assets/inverter-40b70738.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./enphase/counter.vue":()=>e(()=>import("./counter-9f464408.js"),["assets/counter-9f464408.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./enphase/device.vue":()=>e(()=>import("./device-b96c5e83.js"),["assets/device-b96c5e83.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./enphase/inverter.vue":()=>e(()=>import("./inverter-00c23182.js"),["assets/inverter-00c23182.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fems/bat.vue":()=>e(()=>import("./bat-2f8e415a.js"),["assets/bat-2f8e415a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fems/counter.vue":()=>e(()=>import("./counter-00a2193c.js"),["assets/counter-00a2193c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fems/device.vue":()=>e(()=>import("./device-a1d895e1.js"),["assets/device-a1d895e1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fems/inverter.vue":()=>e(()=>import("./inverter-a6eee1c4.js"),["assets/inverter-a6eee1c4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fronius/bat.vue":()=>e(()=>import("./bat-e3a3f0e0.js"),["assets/bat-e3a3f0e0.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fronius/counter_s0.vue":()=>e(()=>import("./counter_s0-f180ff54.js"),["assets/counter_s0-f180ff54.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fronius/counter_sm.vue":()=>e(()=>import("./counter_sm-54aa99ad.js"),["assets/counter_sm-54aa99ad.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fronius/device.vue":()=>e(()=>import("./device-ba252c4b.js"),["assets/device-ba252c4b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fronius/inverter.vue":()=>e(()=>import("./inverter-428b0a9f.js"),["assets/inverter-428b0a9f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fronius/inverter_secondary.vue":()=>e(()=>import("./inverter_secondary-f8370f4a.js"),["assets/inverter_secondary-f8370f4a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./good_we/bat.vue":()=>e(()=>import("./bat-3789d34e.js"),["assets/bat-3789d34e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./good_we/counter.vue":()=>e(()=>import("./counter-1678924c.js"),["assets/counter-1678924c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./good_we/device.vue":()=>e(()=>import("./device-31a6215d.js"),["assets/device-31a6215d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./good_we/inverter.vue":()=>e(()=>import("./inverter-a6c75e02.js"),["assets/inverter-a6c75e02.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./http/bat.vue":()=>e(()=>import("./bat-e7468625.js"),["assets/bat-e7468625.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./http/counter.vue":()=>e(()=>import("./counter-21c7702f.js"),["assets/counter-21c7702f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./http/device.vue":()=>e(()=>import("./device-f3006066.js"),["assets/device-f3006066.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./http/inverter.vue":()=>e(()=>import("./inverter-194b29cc.js"),["assets/inverter-194b29cc.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei/bat.vue":()=>e(()=>import("./bat-0f6273c8.js"),["assets/bat-0f6273c8.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei/counter.vue":()=>e(()=>import("./counter-e988ef04.js"),["assets/counter-e988ef04.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei/device.vue":()=>e(()=>import("./device-c9e4c6d7.js"),["assets/device-c9e4c6d7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei/inverter.vue":()=>e(()=>import("./inverter-83515b70.js"),["assets/inverter-83515b70.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/bat.vue":()=>e(()=>import("./bat-c05a850d.js"),["assets/bat-c05a850d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/counter.vue":()=>e(()=>import("./counter-132ca1db.js"),["assets/counter-132ca1db.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/device.vue":()=>e(()=>import("./device-a72a7582.js"),["assets/device-a72a7582.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/inverter.vue":()=>e(()=>import("./inverter-f494396f.js"),["assets/inverter-f494396f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./janitza/counter.vue":()=>e(()=>import("./counter-b239a6d3.js"),["assets/counter-b239a6d3.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./janitza/device.vue":()=>e(()=>import("./device-35901d10.js"),["assets/device-35901d10.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./json/bat.vue":()=>e(()=>import("./bat-180becaf.js"),["assets/bat-180becaf.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./json/counter.vue":()=>e(()=>import("./counter-c3cfab87.js"),["assets/counter-c3cfab87.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./json/device.vue":()=>e(()=>import("./device-a0689fdb.js"),["assets/device-a0689fdb.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./json/inverter.vue":()=>e(()=>import("./inverter-435116a9.js"),["assets/inverter-435116a9.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_piko/counter.vue":()=>e(()=>import("./counter-3eb506f0.js"),["assets/counter-3eb506f0.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_piko/device.vue":()=>e(()=>import("./device-999d3d36.js"),["assets/device-999d3d36.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_piko/inverter.vue":()=>e(()=>import("./inverter-57332cbe.js"),["assets/inverter-57332cbe.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_piko_old/device.vue":()=>e(()=>import("./device-0b9cb375.js"),["assets/device-0b9cb375.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_piko_old/inverter.vue":()=>e(()=>import("./inverter-b722ec59.js"),["assets/inverter-b722ec59.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/bat.vue":()=>e(()=>import("./bat-8d47c3fe.js"),["assets/bat-8d47c3fe.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/counter.vue":()=>e(()=>import("./counter-fadca778.js"),["assets/counter-fadca778.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/device.vue":()=>e(()=>import("./device-d3161325.js"),["assets/device-d3161325.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/inverter.vue":()=>e(()=>import("./inverter-e7243037.js"),["assets/inverter-e7243037.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_sem/counter.vue":()=>e(()=>import("./counter-4ee5d341.js"),["assets/counter-4ee5d341.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_sem/device.vue":()=>e(()=>import("./device-257883d3.js"),["assets/device-257883d3.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_steca/device.vue":()=>e(()=>import("./device-861a1916.js"),["assets/device-861a1916.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_steca/inverter.vue":()=>e(()=>import("./inverter-5f3b23c9.js"),["assets/inverter-5f3b23c9.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./lg/bat.vue":()=>e(()=>import("./bat-7ce74495.js"),["assets/bat-7ce74495.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./lg/counter.vue":()=>e(()=>import("./counter-5232bf6f.js"),["assets/counter-5232bf6f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./lg/device.vue":()=>e(()=>import("./device-4db77fbf.js"),["assets/device-4db77fbf.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./lg/inverter.vue":()=>e(()=>import("./inverter-a48a8609.js"),["assets/inverter-a48a8609.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mqtt/bat.vue":()=>e(()=>import("./bat-28f575be.js"),["assets/bat-28f575be.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mqtt/counter.vue":()=>e(()=>import("./counter-ba9f7446.js"),["assets/counter-ba9f7446.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mqtt/device.vue":()=>e(()=>import("./device-251abbf7.js"),["assets/device-251abbf7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mqtt/inverter.vue":()=>e(()=>import("./inverter-bf796872.js"),["assets/inverter-bf796872.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_bat_kit/bat.vue":()=>e(()=>import("./bat-391c3434.js"),["assets/bat-391c3434.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_bat_kit/device.vue":()=>e(()=>import("./device-3dd908eb.js"),["assets/device-3dd908eb.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/bat.vue":()=>e(()=>import("./bat-a6d4919c.js"),["assets/bat-a6d4919c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/counter.vue":()=>e(()=>import("./counter-2a1fe0d6.js"),["assets/counter-2a1fe0d6.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/device.vue":()=>e(()=>import("./device-26197f87.js"),["assets/device-26197f87.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/inverter.vue":()=>e(()=>import("./inverter-06d54798.js"),["assets/inverter-06d54798.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_flex/bat.vue":()=>e(()=>import("./bat-b4d4a7fa.js"),["assets/bat-b4d4a7fa.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_flex/counter.vue":()=>e(()=>import("./counter-53c01d32.js"),["assets/counter-53c01d32.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_flex/device.vue":()=>e(()=>import("./device-8a3143d1.js"),["assets/device-8a3143d1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_flex/inverter.vue":()=>e(()=>import("./inverter-754a3092.js"),["assets/inverter-754a3092.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_pv_kit/device.vue":()=>e(()=>import("./device-5bf0fe4e.js"),["assets/device-5bf0fe4e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_pv_kit/inverter.vue":()=>e(()=>import("./inverter-470edd2b.js"),["assets/inverter-470edd2b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerdog/counter.vue":()=>e(()=>import("./counter-a54a724f.js"),["assets/counter-a54a724f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerdog/device.vue":()=>e(()=>import("./device-90cbf88f.js"),["assets/device-90cbf88f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerdog/inverter.vue":()=>e(()=>import("./inverter-ec91bc3f.js"),["assets/inverter-ec91bc3f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerfox/counter.vue":()=>e(()=>import("./counter-3c11443e.js"),["assets/counter-3c11443e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerfox/device.vue":()=>e(()=>import("./device-0d2be2be.js"),["assets/device-0d2be2be.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerfox/inverter.vue":()=>e(()=>import("./inverter-86dc2333.js"),["assets/inverter-86dc2333.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./qcells/bat.vue":()=>e(()=>import("./bat-72daa1a6.js"),["assets/bat-72daa1a6.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./qcells/counter.vue":()=>e(()=>import("./counter-5de9f963.js"),["assets/counter-5de9f963.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./qcells/device.vue":()=>e(()=>import("./device-799902c4.js"),["assets/device-799902c4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./qcells/inverter.vue":()=>e(()=>import("./inverter-b6569e80.js"),["assets/inverter-b6569e80.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./rct/bat.vue":()=>e(()=>import("./bat-4729f54e.js"),["assets/bat-4729f54e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./rct/counter.vue":()=>e(()=>import("./counter-44322a99.js"),["assets/counter-44322a99.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./rct/device.vue":()=>e(()=>import("./device-200906d2.js"),["assets/device-200906d2.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./rct/inverter.vue":()=>e(()=>import("./inverter-0e111b3c.js"),["assets/inverter-0e111b3c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./saxpower/bat.vue":()=>e(()=>import("./bat-9ced890e.js"),["assets/bat-9ced890e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./saxpower/device.vue":()=>e(()=>import("./device-6ed0182e.js"),["assets/device-6ed0182e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./shelly/device.vue":()=>e(()=>import("./device-ab9c20c6.js"),["assets/device-ab9c20c6.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./shelly/inverter.vue":()=>e(()=>import("./inverter-bb2f1ca7.js"),["assets/inverter-bb2f1ca7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens/bat.vue":()=>e(()=>import("./bat-2c839c49.js"),["assets/bat-2c839c49.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens/counter.vue":()=>e(()=>import("./counter-42b322f1.js"),["assets/counter-42b322f1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens/device.vue":()=>e(()=>import("./device-2ef31fc4.js"),["assets/device-2ef31fc4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens/inverter.vue":()=>e(()=>import("./inverter-7bb041c4.js"),["assets/inverter-7bb041c4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens_sentron/counter.vue":()=>e(()=>import("./counter-78e7fd80.js"),["assets/counter-78e7fd80.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens_sentron/device.vue":()=>e(()=>import("./device-c89a8058.js"),["assets/device-c89a8058.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_shm/counter.vue":()=>e(()=>import("./counter-717a2080.js"),["assets/counter-717a2080.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_shm/device.vue":()=>e(()=>import("./device-8978c65b.js"),["assets/device-8978c65b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_shm/inverter.vue":()=>e(()=>import("./inverter-aa9c1db9.js"),["assets/inverter-aa9c1db9.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/bat.vue":()=>e(()=>import("./bat-ca9ca946.js"),["assets/bat-ca9ca946.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/bat_smart_energy.vue":()=>e(()=>import("./bat_smart_energy-b407cfbf.js"),["assets/bat_smart_energy-b407cfbf.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/counter.vue":()=>e(()=>import("./counter-2a24c05f.js"),["assets/counter-2a24c05f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/device.vue":()=>e(()=>import("./device-e4a9b98a.js"),["assets/device-e4a9b98a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/inverter.vue":()=>e(()=>import("./inverter-ebcbd044.js"),["assets/inverter-ebcbd044.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_island/bat.vue":()=>e(()=>import("./bat-f9706ba3.js"),["assets/bat-f9706ba3.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_island/device.vue":()=>e(()=>import("./device-a34359e4.js"),["assets/device-a34359e4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_webbox/device.vue":()=>e(()=>import("./device-096becce.js"),["assets/device-096becce.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_webbox/inverter.vue":()=>e(()=>import("./inverter-b740b644.js"),["assets/inverter-b740b644.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smart_me/counter.vue":()=>e(()=>import("./counter-359a2860.js"),["assets/counter-359a2860.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smart_me/device.vue":()=>e(()=>import("./device-2b936d3e.js"),["assets/device-2b936d3e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smart_me/inverter.vue":()=>e(()=>import("./inverter-2f125a4e.js"),["assets/inverter-2f125a4e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smartfox/counter.vue":()=>e(()=>import("./counter-3ba2200c.js"),["assets/counter-3ba2200c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smartfox/device.vue":()=>e(()=>import("./device-86735480.js"),["assets/device-86735480.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_log/counter.vue":()=>e(()=>import("./counter-16b1e8ec.js"),["assets/counter-16b1e8ec.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_log/device.vue":()=>e(()=>import("./device-3c57de7c.js"),["assets/device-3c57de7c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_log/inverter.vue":()=>e(()=>import("./inverter-bbfebff1.js"),["assets/inverter-bbfebff1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_view/counter.vue":()=>e(()=>import("./counter-cedf7435.js"),["assets/counter-cedf7435.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_view/device.vue":()=>e(()=>import("./device-12b0923a.js"),["assets/device-12b0923a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_view/inverter.vue":()=>e(()=>import("./inverter-c35330cd.js"),["assets/inverter-c35330cd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_watt/bat.vue":()=>e(()=>import("./bat-73f11f6d.js"),["assets/bat-73f11f6d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_watt/counter.vue":()=>e(()=>import("./counter-666266b1.js"),["assets/counter-666266b1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_watt/device.vue":()=>e(()=>import("./device-3c21b478.js"),["assets/device-3c21b478.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_watt/inverter.vue":()=>e(()=>import("./inverter-85b386cd.js"),["assets/inverter-85b386cd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_world/counter.vue":()=>e(()=>import("./counter-31ec927b.js"),["assets/counter-31ec927b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_world/device.vue":()=>e(()=>import("./device-06aacce1.js"),["assets/device-06aacce1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_world/inverter.vue":()=>e(()=>import("./inverter-b7509892.js"),["assets/inverter-b7509892.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solaredge/bat.vue":()=>e(()=>import("./bat-043cfbb4.js"),["assets/bat-043cfbb4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solaredge/counter.vue":()=>e(()=>import("./counter-5deac10e.js"),["assets/counter-5deac10e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solaredge/device.vue":()=>e(()=>import("./device-30d34105.js"),["assets/device-30d34105.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solaredge/external_inverter.vue":()=>e(()=>import("./external_inverter-283ea7d2.js"),["assets/external_inverter-283ea7d2.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solaredge/inverter.vue":()=>e(()=>import("./inverter-72fe55cd.js"),["assets/inverter-72fe55cd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solarmax/bat.vue":()=>e(()=>import("./bat-fd34186c.js"),["assets/bat-fd34186c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solarmax/device.vue":()=>e(()=>import("./device-6c28e47d.js"),["assets/device-6c28e47d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solarmax/inverter.vue":()=>e(()=>import("./inverter-36587268.js"),["assets/inverter-36587268.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solax/bat.vue":()=>e(()=>import("./bat-614e70c6.js"),["assets/bat-614e70c6.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solax/counter.vue":()=>e(()=>import("./counter-d3383a7f.js"),["assets/counter-d3383a7f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solax/device.vue":()=>e(()=>import("./device-4f8b9c66.js"),["assets/device-4f8b9c66.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solax/inverter.vue":()=>e(()=>import("./inverter-728d3909.js"),["assets/inverter-728d3909.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/bat.vue":()=>e(()=>import("./bat-8976cb7b.js"),["assets/bat-8976cb7b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/counter.vue":()=>e(()=>import("./counter-ec5834e5.js"),["assets/counter-ec5834e5.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/device.vue":()=>e(()=>import("./device-03098c6a.js"),["assets/device-03098c6a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/inverter.vue":()=>e(()=>import("./inverter-f08510be.js"),["assets/inverter-f08510be.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./studer/bat.vue":()=>e(()=>import("./bat-c1fe84fb.js"),["assets/bat-c1fe84fb.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./studer/device.vue":()=>e(()=>import("./device-c9db3a4d.js"),["assets/device-c9db3a4d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./studer/inverter.vue":()=>e(()=>import("./inverter-15f54ae6.js"),["assets/inverter-15f54ae6.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sungrow/bat.vue":()=>e(()=>import("./bat-5215679c.js"),["assets/bat-5215679c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sungrow/counter.vue":()=>e(()=>import("./counter-e8d957ec.js"),["assets/counter-e8d957ec.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sungrow/device.vue":()=>e(()=>import("./device-7cf9858a.js"),["assets/device-7cf9858a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sungrow/inverter.vue":()=>e(()=>import("./inverter-3ca96fa3.js"),["assets/inverter-3ca96fa3.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sunways/device.vue":()=>e(()=>import("./device-82f9f07e.js"),["assets/device-82f9f07e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sunways/inverter.vue":()=>e(()=>import("./inverter-44473336.js"),["assets/inverter-44473336.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./tesla/bat.vue":()=>e(()=>import("./bat-340d036c.js"),["assets/bat-340d036c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./tesla/counter.vue":()=>e(()=>import("./counter-acf746eb.js"),["assets/counter-acf746eb.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./tesla/device.vue":()=>e(()=>import("./device-73bfcf66.js"),["assets/device-73bfcf66.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./tesla/inverter.vue":()=>e(()=>import("./inverter-3868adc7.js"),["assets/inverter-3868adc7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./varta/bat_api.vue":()=>e(()=>import("./bat_api-310cca2f.js"),["assets/bat_api-310cca2f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./varta/bat_modbus.vue":()=>e(()=>import("./bat_modbus-b48f91ef.js"),["assets/bat_modbus-b48f91ef.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./varta/counter.vue":()=>e(()=>import("./counter-763be985.js"),["assets/counter-763be985.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./varta/device.vue":()=>e(()=>import("./device-d146ce08.js"),["assets/device-d146ce08.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./victron/bat.vue":()=>e(()=>import("./bat-9c8be17d.js"),["assets/bat-9c8be17d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./victron/counter.vue":()=>e(()=>import("./counter-46ed0326.js"),["assets/counter-46ed0326.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./victron/device.vue":()=>e(()=>import("./device-5a99ea2b.js"),["assets/device-5a99ea2b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./victron/inverter.vue":()=>e(()=>import("./inverter-a67b659f.js"),["assets/inverter-a67b659f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./virtual/counter.vue":()=>e(()=>import("./counter-a703820a.js"),["assets/counter-a703820a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./virtual/device.vue":()=>e(()=>import("./device-d8670924.js"),["assets/device-d8670924.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./vzlogger/counter.vue":()=>e(()=>import("./counter-f4cc17a6.js"),["assets/counter-f4cc17a6.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./vzlogger/device.vue":()=>e(()=>import("./device-ab52f5a1.js"),["assets/device-ab52f5a1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./vzlogger/inverter.vue":()=>e(()=>import("./inverter-b2a0bb08.js"),["assets/inverter-b2a0bb08.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./youless/device.vue":()=>e(()=>import("./device-74f4af9a.js"),["assets/device-74f4af9a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./youless/inverter.vue":()=>e(()=>import("./inverter-6b69d4e5.js"),["assets/inverter-6b69d4e5.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"])}),`./${this.deviceType}/${this.componentType}.vue`),errorComponent:S}):W({loader:()=>M(Object.assign({"./alpha_ess/device.vue":()=>e(()=>import("./device-d12ee3f1.js"),["assets/device-d12ee3f1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./batterx/device.vue":()=>e(()=>import("./device-44b90709.js"),["assets/device-44b90709.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./byd/device.vue":()=>e(()=>import("./device-069174a4.js"),["assets/device-069174a4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./carlo_gavazzi/device.vue":()=>e(()=>import("./device-35022d1c.js"),["assets/device-35022d1c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./discovergy/device.vue":()=>e(()=>import("./device-2b9dfbfd.js"),["assets/device-2b9dfbfd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./e3dc/device.vue":()=>e(()=>import("./device-93f1ecfe.js"),["assets/device-93f1ecfe.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./enphase/device.vue":()=>e(()=>import("./device-b96c5e83.js"),["assets/device-b96c5e83.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fems/device.vue":()=>e(()=>import("./device-a1d895e1.js"),["assets/device-a1d895e1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./fronius/device.vue":()=>e(()=>import("./device-ba252c4b.js"),["assets/device-ba252c4b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./good_we/device.vue":()=>e(()=>import("./device-31a6215d.js"),["assets/device-31a6215d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./http/device.vue":()=>e(()=>import("./device-f3006066.js"),["assets/device-f3006066.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei/device.vue":()=>e(()=>import("./device-c9e4c6d7.js"),["assets/device-c9e4c6d7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./huawei_smartlogger/device.vue":()=>e(()=>import("./device-a72a7582.js"),["assets/device-a72a7582.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./janitza/device.vue":()=>e(()=>import("./device-35901d10.js"),["assets/device-35901d10.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./json/device.vue":()=>e(()=>import("./device-a0689fdb.js"),["assets/device-a0689fdb.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_piko/device.vue":()=>e(()=>import("./device-999d3d36.js"),["assets/device-999d3d36.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_piko_old/device.vue":()=>e(()=>import("./device-0b9cb375.js"),["assets/device-0b9cb375.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_plenticore/device.vue":()=>e(()=>import("./device-d3161325.js"),["assets/device-d3161325.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_sem/device.vue":()=>e(()=>import("./device-257883d3.js"),["assets/device-257883d3.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kostal_steca/device.vue":()=>e(()=>import("./device-861a1916.js"),["assets/device-861a1916.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./lg/device.vue":()=>e(()=>import("./device-4db77fbf.js"),["assets/device-4db77fbf.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mqtt/device.vue":()=>e(()=>import("./device-251abbf7.js"),["assets/device-251abbf7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_bat_kit/device.vue":()=>e(()=>import("./device-3dd908eb.js"),["assets/device-3dd908eb.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_evu_kit/device.vue":()=>e(()=>import("./device-26197f87.js"),["assets/device-26197f87.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_flex/device.vue":()=>e(()=>import("./device-8a3143d1.js"),["assets/device-8a3143d1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./openwb_pv_kit/device.vue":()=>e(()=>import("./device-5bf0fe4e.js"),["assets/device-5bf0fe4e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerdog/device.vue":()=>e(()=>import("./device-90cbf88f.js"),["assets/device-90cbf88f.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./powerfox/device.vue":()=>e(()=>import("./device-0d2be2be.js"),["assets/device-0d2be2be.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./qcells/device.vue":()=>e(()=>import("./device-799902c4.js"),["assets/device-799902c4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./rct/device.vue":()=>e(()=>import("./device-200906d2.js"),["assets/device-200906d2.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./saxpower/device.vue":()=>e(()=>import("./device-6ed0182e.js"),["assets/device-6ed0182e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./shelly/device.vue":()=>e(()=>import("./device-ab9c20c6.js"),["assets/device-ab9c20c6.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens/device.vue":()=>e(()=>import("./device-2ef31fc4.js"),["assets/device-2ef31fc4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./siemens_sentron/device.vue":()=>e(()=>import("./device-c89a8058.js"),["assets/device-c89a8058.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_shm/device.vue":()=>e(()=>import("./device-8978c65b.js"),["assets/device-8978c65b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_boy/device.vue":()=>e(()=>import("./device-e4a9b98a.js"),["assets/device-e4a9b98a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_sunny_island/device.vue":()=>e(()=>import("./device-a34359e4.js"),["assets/device-a34359e4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sma_webbox/device.vue":()=>e(()=>import("./device-096becce.js"),["assets/device-096becce.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smart_me/device.vue":()=>e(()=>import("./device-2b936d3e.js"),["assets/device-2b936d3e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smartfox/device.vue":()=>e(()=>import("./device-86735480.js"),["assets/device-86735480.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_log/device.vue":()=>e(()=>import("./device-3c57de7c.js"),["assets/device-3c57de7c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_view/device.vue":()=>e(()=>import("./device-12b0923a.js"),["assets/device-12b0923a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_watt/device.vue":()=>e(()=>import("./device-3c21b478.js"),["assets/device-3c21b478.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solar_world/device.vue":()=>e(()=>import("./device-06aacce1.js"),["assets/device-06aacce1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solaredge/device.vue":()=>e(()=>import("./device-30d34105.js"),["assets/device-30d34105.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solarmax/device.vue":()=>e(()=>import("./device-6c28e47d.js"),["assets/device-6c28e47d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./solax/device.vue":()=>e(()=>import("./device-4f8b9c66.js"),["assets/device-4f8b9c66.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sonnenbatterie/device.vue":()=>e(()=>import("./device-03098c6a.js"),["assets/device-03098c6a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./studer/device.vue":()=>e(()=>import("./device-c9db3a4d.js"),["assets/device-c9db3a4d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sungrow/device.vue":()=>e(()=>import("./device-7cf9858a.js"),["assets/device-7cf9858a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./sunways/device.vue":()=>e(()=>import("./device-82f9f07e.js"),["assets/device-82f9f07e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./tesla/device.vue":()=>e(()=>import("./device-73bfcf66.js"),["assets/device-73bfcf66.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./varta/device.vue":()=>e(()=>import("./device-d146ce08.js"),["assets/device-d146ce08.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./victron/device.vue":()=>e(()=>import("./device-5a99ea2b.js"),["assets/device-5a99ea2b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./virtual/device.vue":()=>e(()=>import("./device-d8670924.js"),["assets/device-d8670924.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./vzlogger/device.vue":()=>e(()=>import("./device-ab52f5a1.js"),["assets/device-ab52f5a1.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./youless/device.vue":()=>e(()=>import("./device-74f4af9a.js"),["assets/device-74f4af9a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"])}),`./${this.deviceType}/device.vue`),errorComponent:S})}},methods:{updateConfiguration(_){this.$emit("update:configuration",_)}}};function se(_,i,u,P,s,r){return d(),E($(r.myComponent),{configuration:u.configuration,deviceId:u.deviceId,deviceType:u.deviceType,componentId:u.componentId,componentType:u.componentType,"onUpdate:configuration":i[0]||(i[0]=I=>r.updateConfiguration(I))},null,40,["configuration","deviceId","deviceType","componentId","componentType"])}const me=y(ae,[["render",se],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/OpenwbConfigProxy.vue"]]);G.add(N,U,F,H,J,Z,Q);const pe={name:"OpenwbHardwareInstallation",mixins:[Y],emits:["sendCommand"],components:{FontAwesomeIcon:X,OpenwbConfigProxy:me},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/counter/get/hierarchy","openWB/system/device/+/config","openWB/system/device/+/component/+/config","openWB/system/configurable/devices_components"],deviceToAdd:void 0,showDeviceRemoveModal:!1,modalDevice:void 0,modalDeviceName:"",componentToAdd:[],showComponentRemoveModal:!1,modalComponent:void 0,modalComponentName:""}},computed:{installedDevices:{get(){return this.getWildcardTopics("openWB/system/device/+/config")}},installedComponents:{get(){return this.getWildcardTopics("openWB/system/device/+/component/+/config")}}},methods:{getComponentTypeClass(_){return _.match(/^(.+_)?counter(_.+)?$/)?"danger":_.match(/^(.+_)?inverter(_.+)?$/)?"success":_.match(/^(.+_)?bat(_.+)?$/)?"warning":"dark"},getComponentTypeIcon(_){return _.match(/^(.+_)?counter(_.+)?$/)?["fas","fa-gauge-high"]:_.match(/^(.+_)?inverter(_.+)?$/)?["fas","fa-solar-panel"]:_.match(/^(.+_)?bat(_.+)?$/)?["fas","fa-car-battery"]:["fas","fa-microchip"]},getMyInstalledComponents(_){return this.getWildcardTopics("openWB/system/device/"+_+"/component/+/config")},deviceHasConfiguredComponents(_){return Object.keys(this.getMyInstalledComponents(_)).length>0},addDevice(){this.$emit("sendCommand",{command:"addDevice",data:{type:this.deviceToAdd}})},removeDeviceModal(_,i,u){u.stopPropagation(),this.modalDevice=_,this.modalDeviceName=i,this.showDeviceRemoveModal=!0},removeDevice(_){this.showDeviceRemoveModal=!1,_=="confirm"&&(console.info("request removal of device '"+this.modalDevice+"'"),this.$emit("sendCommand",{command:"removeDevice",data:{id:this.modalDevice}}))},getDeviceList(){return this.$store.state.mqtt["openWB/system/configurable/devices_components"]},addComponent(_,i,u){this.$emit("sendCommand",{command:"addComponent",data:{deviceId:_,deviceType:i,type:u}})},removeComponentModal(_,i,u,P,s){s.stopPropagation(),this.modalComponent={deviceId:_,id:i,type:u},this.modalComponentName=P,this.showComponentRemoveModal=!0},removeComponent(_){this.showComponentRemoveModal=!1,_=="confirm"&&(console.info("request removal of component '"+this.modalComponent.id+"' from device '"+this.modalComponent.deviceId+"' type '"+this.modalComponent.type+"'"),this.$emit("sendCommand",{command:"removeComponent",data:this.modalComponent}))},getComponentList(_){return _===void 0?[]:(console.debug("finding components for '"+_+"'"),this.$store.state.mqtt["openWB/system/configurable/devices_components"].find(u=>u.value===_).component)},updateConfiguration(_,i){console.debug("updateConfiguration",_,i),this.updateState(_,i.value,i.object)}}},l=_=>(ee("data-v-8595d6ae"),_=_(),_e(),_),ce={class:"hardwareInstallation"},Ee={name:"hardwareInstallationForm"},le={key:0},Te={key:1},Ie={key:1},Ve=l(()=>m("hr",null,null,-1)),De=l(()=>m("hr",null,null,-1)),Ae=l(()=>m("hr",null,null,-1)),Re=l(()=>m("hr",null,null,-1)),Pe={class:"col-1"},Oe={key:0},Le={class:"col-1"},ge=l(()=>m("br",null,null,-1)),be=l(()=>m("br",null,null,-1)),fe=l(()=>m("br",null,null,-1)),he=l(()=>m("br",null,null,-1)),we=l(()=>m("br",null,null,-1)),ye=l(()=>m("br",null,null,-1));function ke(_,i,u,P,s,r){const I=p("openwb-base-modal-dialog"),L=p("router-link"),A=p("openwb-base-alert"),D=p("font-awesome-icon"),g=p("openwb-base-avatar"),k=p("openwb-base-text-input"),C=p("openwb-config-proxy"),j=p("openwb-base-heading"),b=p("openwb-base-card"),x=p("openwb-base-click-button"),B=p("openwb-base-select-input"),q=p("openwb-base-submit-buttons");return d(),c(O,null,[n(I,{show:s.showDeviceRemoveModal,title:"Gerät löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:r.removeDevice},{default:o(()=>[v(' Wollen Sie das Gerät "'+T(s.modalDeviceName)+'" inklusive aller Komponenten wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show","onModalResult"]),n(I,{show:s.showComponentRemoveModal,title:"Komponente löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:r.removeComponent},{default:o(()=>[v(' Wollen Sie die Komponente "'+T(s.modalComponentName)+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show","onModalResult"]),m("div",ce,[m("form",Ee,[n(A,{subtype:"info"},{default:o(()=>[v(" Wenn neue Komponenten - insbesondere Zähler - konfiguriert wurden, ist auch das "),n(L,{to:"/LoadManagementConfiguration"},{default:o(()=>[v(" Lastmanagement ")]),_:1}),v(" zu prüfen! ")]),_:1}),n(b,{title:"Geräte und Komponenten"},{default:o(()=>[_.$store.state.mqtt["openWB/general/extern"]===!0?(d(),c("div",le,[n(A,{subtype:"info"},{default:o(()=>[v(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),c("div",Te,[(d(!0),c(O,null,f(r.installedDevices,(t,z)=>(d(),E(b,{key:t.id,collapsible:!0,collapsed:!0,subtype:"dark"},{header:o(()=>[n(D,{"fixed-width":"",icon:["fas","network-wired"]}),v(" "+T(t.name),1)]),actions:o(a=>[a.collapsed?(d(),c("div",Ie,[(d(!0),c(O,null,f(r.getMyInstalledComponents(t.id),V=>(d(),E(g,{key:V.id,class:h("ml-1 bg-"+r.getComponentTypeClass(V.type))},{default:o(()=>[n(D,{"fixed-width":"",icon:r.getComponentTypeIcon(V.type)},null,8,["icon"])]),_:2},1032,["class"]))),128))])):(d(),E(g,{key:0,class:"bg-danger clickable",onClick:V=>r.removeDeviceModal(t.id,t.name,V)},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),default:o(()=>[n(k,{title:"Bezeichnung",subtype:"text","model-value":t.name,"onUpdate:modelValue":a=>_.updateState(z,a,"name")},null,8,["model-value","onUpdate:modelValue"]),Ve,n(C,{deviceId:t.id,deviceType:t.type,configuration:t.configuration,"onUpdate:configuration":a=>r.updateConfiguration(z,a)},null,8,["deviceId","deviceType","configuration","onUpdate:configuration"]),De,n(j,null,{default:o(()=>[v("Komponenten")]),_:1}),r.deviceHasConfiguredComponents(t.id)?w("",!0):(d(),E(A,{key:0,subtype:"warning"},{default:o(()=>[v(" Es wurden noch keine Komponenten zu diesem Gerät angelegt. ")]),_:1})),(d(!0),c(O,null,f(r.getMyInstalledComponents(t.id),(a,V)=>(d(),E(b,{key:a.id,collapsible:!0,collapsed:!0,subtype:r.getComponentTypeClass(a.type)},{header:o(()=>[n(D,{"fixed-width":"",icon:r.getComponentTypeIcon(a.type)},null,8,["icon"]),v(" "+T(a.name),1)]),actions:o(R=>[R.collapsed?w("",!0):(d(),E(g,{key:0,class:"bg-danger clickable",onClick:K=>r.removeComponentModal(t.id,a.id,a.type,a.name,K)},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),default:o(()=>[n(k,{title:"Bezeichnung",subtype:"text","model-value":a.name,"onUpdate:modelValue":R=>_.updateState(V,R,"name")},null,8,["model-value","onUpdate:modelValue"]),Ae,n(C,{deviceId:t.id,deviceType:t.type,componentId:a.id,componentType:a.type,configuration:a.configuration,"onUpdate:configuration":R=>r.updateConfiguration(V,R)},null,8,["deviceId","deviceType","componentId","componentType","configuration","onUpdate:configuration"])]),_:2},1032,["subtype"]))),128)),Re,r.getComponentList(t.type).length?(d(),E(B,{key:1,class:"mb-2",title:"Verfügbare Komponenten",notSelected:"Bitte auswählen",options:r.getComponentList(t.type),"model-value":s.componentToAdd[t.id],"onUpdate:modelValue":a=>s.componentToAdd[t.id]=a},{append:o(()=>[m("span",Pe,[n(x,{class:h(s.componentToAdd[t.id]===void 0?"btn-outline-success":"btn-success clickable"),disabled:s.componentToAdd[t.id]===void 0,onButtonClicked:a=>r.addComponent(t.id,t.type,s.componentToAdd[t.id])},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["class","disabled","onButtonClicked"])])]),help:o(()=>[v(" Bitte eine Komponente auswählen, die hinzugefügt werden soll. Für jeden Datensatz, z.B. Wechselrichter- und Batteriedaten, muss eine Wechselrichter- und eine Batteriekomponente hinzugefügt werden. ")]),_:2},1032,["options","model-value","onUpdate:modelValue"])):(d(),E(A,{key:2,subtype:"info"},{default:o(()=>[v(" Dieses System bietet keine Komponenten zur Installation an. ")]),_:1}))]),_:2},1024))),128)),Object.keys(r.installedDevices).length>0?(d(),c("hr",Oe)):w("",!0),n(B,{class:"mb-2",title:"Verfügbare Geräte",notSelected:"Bitte auswählen",options:r.getDeviceList(),"model-value":s.deviceToAdd,"onUpdate:modelValue":i[0]||(i[0]=t=>s.deviceToAdd=t)},{append:o(()=>[m("span",Le,[n(x,{class:h(s.deviceToAdd===void 0?"btn-outline-success":"btn-success clickable"),disabled:s.deviceToAdd===void 0,onButtonClicked:r.addDevice},{default:o(()=>[n(D,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["class","disabled","onButtonClicked"])])]),help:o(()=>[v(' Die openWB-Regelung ist auf Werte von MESSPUNKTEN (Zähler, Energy Meter usw.) angewiesen. Hierfür werden "Geräte" und "Komponenten" verwendet.'),ge,v(' Ein "Gerät" wird hierbei durch seine IP-Adresse spezifiziert (häufig durch manuelle Eingabe oder manchmal automatisch ermittelt) und kann über mehrere untergeordnete "Komponenten" verfügen, z.B. einen Messpunkt für PV-Erzeugung, einen Messpunkt für Netzeinspeisung/-bezug am EVU-Punkt usw.. Ein "Gerät" bedingt somit immer mindestens eine zugehörige "Komponente".'),be,fe,v(' Bsp: Werden die Werte von verschiedenen Messpunkten (z.B. PV und EVU) über die gleiche IP-Adresse abgefragt, wird dafür ein "Gerät" mit zwei "Komponenten" für PV- und EVU- Messpunkt angelegt.'),he,v(' Verfügt dagegen jeder Messpunkt über eine eigene IP-Adresse, wird jeder Messpunkt als eigenes "Gerät" mit nur einer "Komponente" angelegt.'),we,ye,v(' Das "Gerät" wird in der dropdown-Liste ausgewählt und mit "+" der Regelung hinzugefügt. Im Anschluss erfolgt die Konfiguration des "Gerätes" innerhalb des schwarzen "Geräte"-Reiters. ')]),_:1},8,["options","model-value"])]))]),_:1}),n(q,{formName:"hardwareInstallationForm",onSave:i[1]||(i[1]=t=>_.$emit("save")),onReset:i[2]||(i[2]=t=>_.$emit("reset")),onDefaults:i[3]||(i[3]=t=>_.$emit("defaults"))})])])],64)}const qe=y(pe,[["render",ke],["__scopeId","data-v-8595d6ae"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/HardwareInstallation.vue"]]);export{qe as default}; diff --git a/web/settings/assets/InstantChargeConfig-1d437d8e.js b/web/settings/assets/InstantChargeConfig-6cf9d99e.js similarity index 84% rename from web/settings/assets/InstantChargeConfig-1d437d8e.js rename to web/settings/assets/InstantChargeConfig-6cf9d99e.js index 41154ece0f..dfc4b12bb1 100644 --- a/web/settings/assets/InstantChargeConfig-1d437d8e.js +++ b/web/settings/assets/InstantChargeConfig-6cf9d99e.js @@ -1 +1 @@ -import{C as l}from"./index-8fe3a4a0.js";import{_,p as o,k as a,l as i,q as b,A as s,L as r,u}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"OpenwbInstantChargeConfig",mixins:[l],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/instant_charging/phases_to_use"]}}},c={class:"instantChargeConfig"},f={name:"instantChargeConfigForm"},v={key:0},C={key:1};function w(t,e,$,B,k,V){const p=o("openwb-base-alert"),m=o("openwb-base-button-group-input"),g=o("openwb-base-card"),d=o("openwb-base-submit-buttons");return a(),i("div",c,[b("form",f,[s(g,{title:"Phasenumschaltung"},{default:r(()=>[t.$store.state.mqtt["openWB/general/extern"]===!0?(a(),i("div",v,[s(p,{subtype:"info"},{default:r(()=>[u(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(a(),i("div",C,[s(m,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"}],"model-value":t.$store.state.mqtt["openWB/general/chargemode_config/instant_charging/phases_to_use"],"onUpdate:modelValue":e[0]||(e[0]=n=>t.updateState("openWB/general/chargemode_config/instant_charging/phases_to_use",n))},{help:r(()=>[u(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "Sofortladen" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"])]))]),_:1}),s(d,{formName:"instantChargeConfigForm",onSave:e[1]||(e[1]=n=>t.$emit("save")),onReset:e[2]||(e[2]=n=>t.$emit("reset")),onDefaults:e[3]||(e[3]=n=>t.$emit("defaults"))})])])}const A=_(h,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/InstantChargeConfig.vue"]]);export{A as default}; +import{C as l}from"./index-baf9de5e.js";import{_,p as o,k as a,l as i,q as b,A as s,L as r,u}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"OpenwbInstantChargeConfig",mixins:[l],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/instant_charging/phases_to_use"]}}},c={class:"instantChargeConfig"},f={name:"instantChargeConfigForm"},v={key:0},C={key:1};function w(t,e,$,B,k,V){const p=o("openwb-base-alert"),m=o("openwb-base-button-group-input"),g=o("openwb-base-card"),d=o("openwb-base-submit-buttons");return a(),i("div",c,[b("form",f,[s(g,{title:"Phasenumschaltung"},{default:r(()=>[t.$store.state.mqtt["openWB/general/extern"]===!0?(a(),i("div",v,[s(p,{subtype:"info"},{default:r(()=>[u(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(a(),i("div",C,[s(m,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"}],"model-value":t.$store.state.mqtt["openWB/general/chargemode_config/instant_charging/phases_to_use"],"onUpdate:modelValue":e[0]||(e[0]=n=>t.updateState("openWB/general/chargemode_config/instant_charging/phases_to_use",n))},{help:r(()=>[u(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "Sofortladen" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"])]))]),_:1}),s(d,{formName:"instantChargeConfigForm",onSave:e[1]||(e[1]=n=>t.$emit("save")),onReset:e[2]||(e[2]=n=>t.$emit("reset")),onDefaults:e[3]||(e[3]=n=>t.$emit("defaults"))})])])}const A=_(h,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/InstantChargeConfig.vue"]]);export{A as default}; diff --git a/web/settings/assets/LegalSettings-73e5e583.js b/web/settings/assets/LegalSettings-1bd006fa.js similarity index 84% rename from web/settings/assets/LegalSettings-73e5e583.js rename to web/settings/assets/LegalSettings-1bd006fa.js index ec316d5003..8ae5f757bb 100644 --- a/web/settings/assets/LegalSettings-73e5e583.js +++ b/web/settings/assets/LegalSettings-1bd006fa.js @@ -1 +1 @@ -import{C as g}from"./index-8fe3a4a0.js";import{_,p as o,k as r,l as w,q as u,A as s,L as a,y as d,u as p,z as m}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"OpenwbDataProtection",mixins:[g],data(){return{mqttTopicsToSubscribe:["openWB/system/dataprotection_acknowledged"]}}},k={class:"dataProtection"},h={name:"dataProtectionForm"},B=u("iframe",{src:"dataProtection-usageTerms.html",width:"100%",height:"400px",class:"bg-light"},null,-1),v=u("hr",null,null,-1);function y(e,t,z,V,W,$){const i=o("openwb-base-button-group-input"),l=o("openwb-base-alert"),c=o("openwb-base-submit-buttons"),b=o("openwb-base-card");return r(),w("div",k,[u("form",h,[s(b,{title:"Nutzungsbedingungen & Datenschutzerklärung"},{footer:a(()=>[s(c,{formName:"dataProtectionForm",hideReset:!0,hideDefaults:!0,onSave:t[2]||(t[2]=n=>e.$emit("save"))})]),default:a(()=>[B,v,s(i,{title:"Nutzungsbedingungen",buttons:[{buttonValue:!1,text:"Ablehnen",class:"btn-outline-danger"},{buttonValue:!0,text:"Akzeptieren",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/system/usage_terms_acknowledged"],"onUpdate:modelValue":t[0]||(t[0]=n=>e.updateState("openWB/system/usage_terms_acknowledged",n))},null,8,["model-value"]),e.$store.state.mqtt["openWB/system/usage_terms_acknowledged"]?m("",!0):(r(),d(l,{key:0,subtype:"danger"},{default:a(()=>[p(" Sie müssen die Nutzungsbedingungen akzeptieren, bevor openWB eingesetzt werden kann. ")]),_:1})),s(i,{title:"Datenschutzerklärung",buttons:[{buttonValue:!1,text:"Ablehnen",class:"btn-outline-danger"},{buttonValue:!0,text:"Akzeptieren",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/system/dataprotection_acknowledged"],"onUpdate:modelValue":t[1]||(t[1]=n=>e.updateState("openWB/system/dataprotection_acknowledged",n))},null,8,["model-value"]),e.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]?m("",!0):(r(),d(l,{key:1,subtype:"warning"},{default:a(()=>[p(" Wenn sie nicht einwilligen, wird eine ggf. konfigurierte Cloud Anbindung gelöscht. Die openWB arbeitet autark wie gewohnt weiter. Fernzugriff und Remote Support sind dann nicht mehr möglich! ")]),_:1}))]),_:1})])])}const x=_(f,[["render",y],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/LegalSettings.vue"]]);export{x as default}; +import{C as g}from"./index-baf9de5e.js";import{_,p as o,k as r,l as w,q as u,A as s,L as a,y as d,u as p,z as m}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"OpenwbDataProtection",mixins:[g],data(){return{mqttTopicsToSubscribe:["openWB/system/dataprotection_acknowledged"]}}},k={class:"dataProtection"},h={name:"dataProtectionForm"},B=u("iframe",{src:"dataProtection-usageTerms.html",width:"100%",height:"400px",class:"bg-light"},null,-1),v=u("hr",null,null,-1);function y(e,t,z,V,W,$){const i=o("openwb-base-button-group-input"),l=o("openwb-base-alert"),c=o("openwb-base-submit-buttons"),b=o("openwb-base-card");return r(),w("div",k,[u("form",h,[s(b,{title:"Nutzungsbedingungen & Datenschutzerklärung"},{footer:a(()=>[s(c,{formName:"dataProtectionForm",hideReset:!0,hideDefaults:!0,onSave:t[2]||(t[2]=n=>e.$emit("save"))})]),default:a(()=>[B,v,s(i,{title:"Nutzungsbedingungen",buttons:[{buttonValue:!1,text:"Ablehnen",class:"btn-outline-danger"},{buttonValue:!0,text:"Akzeptieren",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/system/usage_terms_acknowledged"],"onUpdate:modelValue":t[0]||(t[0]=n=>e.updateState("openWB/system/usage_terms_acknowledged",n))},null,8,["model-value"]),e.$store.state.mqtt["openWB/system/usage_terms_acknowledged"]?m("",!0):(r(),d(l,{key:0,subtype:"danger"},{default:a(()=>[p(" Sie müssen die Nutzungsbedingungen akzeptieren, bevor openWB eingesetzt werden kann. ")]),_:1})),s(i,{title:"Datenschutzerklärung",buttons:[{buttonValue:!1,text:"Ablehnen",class:"btn-outline-danger"},{buttonValue:!0,text:"Akzeptieren",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/system/dataprotection_acknowledged"],"onUpdate:modelValue":t[1]||(t[1]=n=>e.updateState("openWB/system/dataprotection_acknowledged",n))},null,8,["model-value"]),e.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]?m("",!0):(r(),d(l,{key:1,subtype:"warning"},{default:a(()=>[p(" Wenn sie nicht einwilligen, wird eine ggf. konfigurierte Cloud Anbindung gelöscht. Die openWB arbeitet autark wie gewohnt weiter. Fernzugriff und Remote Support sind dann nicht mehr möglich! ")]),_:1}))]),_:1})])])}const x=_(f,[["render",y],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/LegalSettings.vue"]]);export{x as default}; diff --git a/web/settings/assets/LoadManagementConfig-5203f6a8.js b/web/settings/assets/LoadManagementConfig-1650a2e5.js similarity index 95% rename from web/settings/assets/LoadManagementConfig-5203f6a8.js rename to web/settings/assets/LoadManagementConfig-1650a2e5.js index 7c98d0b369..837a900b79 100644 --- a/web/settings/assets/LoadManagementConfig-5203f6a8.js +++ b/web/settings/assets/LoadManagementConfig-1650a2e5.js @@ -1 +1 @@ -import{l as z,L as S,M as L,F as C}from"./vendor-fortawesome-12056596.js";import{C as $}from"./index-8fe3a4a0.js";import{S as x}from"./OpenwbSortableList-ae85ca14.js";import{_ as V,p as u,k as l,l as m,q as d,A as s,L as r,u as o,G as _,I as v,y as w,x as k}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";z.add(S,L);const M={name:"OpenwbLoadManagementConfig",mixins:[$],emits:["sendCommand"],components:{SortableList:x,FontAwesomeIcon:C},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/counter/config/reserve_for_not_charging","openWB/counter/get/hierarchy","openWB/system/device/+/component/+/config","openWB/counter/+/config/max_currents","openWB/counter/+/config/max_total_power","openWB/pv/+/config/max_ac_out","openWB/chargepoint/+/config"]}},computed:{counterConfigs:{get(){let e=this.getWildcardTopics("openWB/system/device/+/component/+/config");return Object.keys(e).filter(t=>e[t].type.includes("counter")).reduce((t,i)=>({...t,[i]:e[i]}),{})}},inverterConfigs:{get(){let e=this.getWildcardTopics("openWB/system/device/+/component/+/config");return Object.keys(e).filter(t=>e[t].type.includes("inverter")).reduce((t,i)=>({...t,[i]:e[i]}),{})}},hierarchyLabels:{get(){let e={};for(const t of Object.values(this.$store.state.mqtt["openWB/counter/get/hierarchy"]))e={...e,...this.getElementTreeNames(t)};return e}}},methods:{getElementTreeNames(e){let t={};if(e.type=="cp"){let i=this.getChargePoint(e.id);i&&(t[e.id]=i.name)}else{let i=this.getComponent(e.id);i&&(t[e.id]=i.name)}return e.children.forEach(i=>{t={...t,...this.getElementTreeNames(i)}}),t},getComponent(e){let t;return Object.keys(this.$store.state.mqtt).forEach(i=>{i.match("^openWB/system/device/[0-9]+/component/"+e+"/config$")&&(t=this.$store.state.mqtt[i])}),t},getChargePoint(e){let t;return Object.keys(this.$store.state.mqtt).forEach(i=>{i.match("^openWB/chargepoint/"+e+"/config$")&&(t=this.$store.state.mqtt[i])}),t}}},q={class:"loadManagementConfig"},Z={name:"loadManagementConfigForm"},A={key:0},E={key:1},F=d("br",null,null,-1),U=d("br",null,null,-1),D=d("br",null,null,-1),N=d("br",null,null,-1),P=d("br",null,null,-1),T={key:0},O={key:1},j=d("br",null,null,-1),R=d("br",null,null,-1),G=d("br",null,null,-1);function K(e,t,i,H,I,g){const h=u("openwb-base-alert"),W=u("openwb-base-button-group-input"),f=u("openwb-base-heading"),b=u("font-awesome-icon"),c=u("openwb-base-number-input"),p=u("openwb-base-card"),B=u("sortable-list"),y=u("openwb-base-submit-buttons");return l(),m("div",q,[d("form",Z,[s(p,{title:"Einstellungen",collapsible:!0,collapsed:!1},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(l(),m("div",A,[s(h,{subtype:"info"},{default:r(()=>[o(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(l(),m("div",E,[s(W,{title:"Nicht-ladende Fahrzeuge",buttons:[{buttonValue:!1,text:"nicht berücksichtigen",class:"btn-outline-danger"},{buttonValue:!0,text:"berücksichtigen",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/counter/config/reserve_for_not_charging"],"onUpdate:modelValue":t[0]||(t[0]=n=>e.updateState("openWB/counter/config/reserve_for_not_charging",n))},{help:r(()=>[o(" Wenn angesteckte Fahrzeuge, die nicht laden, im Lastmanagement berücksichtigt werden, wird für diese der Fahrzeug-Mindeststrom bei vorliegender Ladefreigabe reserviert. Dadurch können bei Eingreifen des Lastmanagements andere Fahrzeuge möglicherweise nur mit reduzierter Stromstärke laden und der reservierte Strom wird nicht genutzt."),F,o(" Wenn die Fahrzeuge wieder Leistung beziehen, z.B. um vorzuklimatisieren, nutzen sie den für sie reservierten Strom."),U,D,o(" Wenn angesteckte Fahrzeuge, die nicht laden, nicht im Lastmanagement berücksichtigt werden, wird für diese auch kein Strom bei vorliegender Ladefreigabe reserviert. Andere Fahrzeuge können dadurch mit höherer Stromstärke laden."),N,o(" Wenn die maximalen Lastmanagement-Grenzen fast erreicht sind und die Fahrzeuge wieder Leistung beziehen, z.B. um vorzuklimatisieren, kann es zu einer kurzzeitigen Überschreitung der Lastmanagement-Grenzen kommen, bis im nächsten Zyklus die Stromstärken ALLER Ladepunkte an die neue Situation angepasst wurden."),P,o(" Das kurzzeitige Überschreiten der Maximal-Werte stellt für die Sicherungen in der Regel kein Problem dar. ")]),_:1},8,["model-value"]),s(f,null,{default:r(()=>[o(" Vorhandene Zählermodule ")]),_:1}),s(h,{subtype:"info"},{default:r(()=>[o(" Die maximale Leistung wird nur für den EVU-Zähler berücksichtigt. Bei Zwischenzählern begrenzt das Lastmanagement rein anhand der maximalen Phasenströme. ")]),_:1}),(l(!0),m(_,null,v(g.counterConfigs,n=>(l(),w(p,{key:n.id,collapsible:!0,collapsed:!0,subtype:"danger"},{header:r(()=>[s(b,{"fixed-width":"",icon:["fas","gauge-high"]}),o(" "+k(n.name),1)]),default:r(()=>[s(c,{title:"Maximale Leistung",min:1,step:1,unit:"kW","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_total_power"]/1e3,"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_total_power",a*1e3)},{help:r(()=>[o(" Maximal zulässige Leistung für diesen (Zwischen-)Zähler. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),s(c,{title:"Maximaler Strom L1",min:16,step:1,unit:"A","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_currents"][0],"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_currents",a,"0")},{help:r(()=>[o(" Maximal zulässiger Strom für die Phase 1 dieses (Zwischen-)Zählers. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),s(c,{title:"Maximaler Strom L2",min:16,step:1,unit:"A","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_currents"][1],"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_currents",a,"1")},{help:r(()=>[o(" Maximal zulässiger Strom für die Phase 2 dieses (Zwischen-)Zählers. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),s(c,{title:"Maximaler Strom L3",min:16,step:1,unit:"A","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_currents"][2],"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_currents",a,"2")},{help:r(()=>[o(" Maximal zulässiger Strom für die Phase 3 dieses (Zwischen-)Zählers. ")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},1024))),128)),s(f,null,{default:r(()=>[o(" Vorhandene Wechselrichtermodule ")]),_:1}),(l(!0),m(_,null,v(g.inverterConfigs,n=>(l(),w(p,{key:n.id,collapsible:!0,collapsed:!0,subtype:"success"},{header:r(()=>[s(b,{"fixed-width":"",icon:["fas","solar-panel"]}),o(" "+k(n.name),1)]),default:r(()=>[s(c,{title:"Maximale Ausgangsleistung des Wechselrichters",min:0,step:.1,unit:"kW","model-value":e.$store.state.mqtt["openWB/pv/"+n.id+"/config/max_ac_out"]/1e3,"onUpdate:modelValue":a=>e.updateState("openWB/pv/"+n.id+"/config/max_ac_out",a*1e3)},{help:r(()=>[o(" Relevant bei Hybrid-Systemen mit DC-Speicher. ")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},1024))),128))]))]),_:1}),s(p,{title:"Struktur",collapsible:!0,collapsed:!0},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(l(),m("div",T,[s(h,{subtype:"info"},{default:r(()=>[o(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(l(),m("div",O,[s(B,{title:"Anordnung der Komponenten","model-value":e.$store.state.mqtt["openWB/counter/get/hierarchy"],"onUpdate:modelValue":t[1]||(t[1]=n=>e.updateState("openWB/counter/get/hierarchy",n)),labels:g.hierarchyLabels},{help:r(()=>[o(" Durch die Anordnung der Komponenten werden Abhängigkeiten abgebildet."),j,o(" An erster Stelle muss eine Zählerkomponente stehen, die den Netzanschlusspunkt erfasst. Dafür kann auch ein virtueller Zähler genutzt werden."),R,o(" Die weiteren Komponenten müssen hierarchisch so angeordnet werden, wie sie auch physisch im Stromnetz angeschlossen werden."),G,o(" Bei DC-gekoppelten Speichern sind diese hinter dem zugehörigen Wechselrichter zu platzieren, damit die Abhängigkeit in der Regelung berücksichtigt werden kann. ")]),_:1},8,["model-value","labels"])]))]),_:1}),s(y,{formName:"loadManagementConfigForm",onSave:t[2]||(t[2]=n=>e.$emit("save")),onReset:t[3]||(t[3]=n=>e.$emit("reset")),onDefaults:t[4]||(t[4]=n=>e.$emit("defaults"))})])])}const ie=V(M,[["render",K],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/LoadManagementConfig.vue"]]);export{ie as default}; +import{l as z,L as S,M as L,F as C}from"./vendor-fortawesome-349077b4.js";import{C as $}from"./index-baf9de5e.js";import{S as x}from"./OpenwbSortableList-4817ba7c.js";import{_ as V,p as u,k as l,l as m,q as d,A as s,L as r,u as o,G as _,I as v,y as w,x as k}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";z.add(S,L);const M={name:"OpenwbLoadManagementConfig",mixins:[$],emits:["sendCommand"],components:{SortableList:x,FontAwesomeIcon:C},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/counter/config/reserve_for_not_charging","openWB/counter/get/hierarchy","openWB/system/device/+/component/+/config","openWB/counter/+/config/max_currents","openWB/counter/+/config/max_total_power","openWB/pv/+/config/max_ac_out","openWB/chargepoint/+/config"]}},computed:{counterConfigs:{get(){let e=this.getWildcardTopics("openWB/system/device/+/component/+/config");return Object.keys(e).filter(t=>e[t].type.includes("counter")).reduce((t,i)=>({...t,[i]:e[i]}),{})}},inverterConfigs:{get(){let e=this.getWildcardTopics("openWB/system/device/+/component/+/config");return Object.keys(e).filter(t=>e[t].type.includes("inverter")).reduce((t,i)=>({...t,[i]:e[i]}),{})}},hierarchyLabels:{get(){let e={};for(const t of Object.values(this.$store.state.mqtt["openWB/counter/get/hierarchy"]))e={...e,...this.getElementTreeNames(t)};return e}}},methods:{getElementTreeNames(e){let t={};if(e.type=="cp"){let i=this.getChargePoint(e.id);i&&(t[e.id]=i.name)}else{let i=this.getComponent(e.id);i&&(t[e.id]=i.name)}return e.children.forEach(i=>{t={...t,...this.getElementTreeNames(i)}}),t},getComponent(e){let t;return Object.keys(this.$store.state.mqtt).forEach(i=>{i.match("^openWB/system/device/[0-9]+/component/"+e+"/config$")&&(t=this.$store.state.mqtt[i])}),t},getChargePoint(e){let t;return Object.keys(this.$store.state.mqtt).forEach(i=>{i.match("^openWB/chargepoint/"+e+"/config$")&&(t=this.$store.state.mqtt[i])}),t}}},q={class:"loadManagementConfig"},Z={name:"loadManagementConfigForm"},A={key:0},E={key:1},F=d("br",null,null,-1),U=d("br",null,null,-1),D=d("br",null,null,-1),N=d("br",null,null,-1),P=d("br",null,null,-1),T={key:0},O={key:1},j=d("br",null,null,-1),R=d("br",null,null,-1),G=d("br",null,null,-1);function K(e,t,i,H,I,g){const h=u("openwb-base-alert"),W=u("openwb-base-button-group-input"),f=u("openwb-base-heading"),b=u("font-awesome-icon"),c=u("openwb-base-number-input"),p=u("openwb-base-card"),B=u("sortable-list"),y=u("openwb-base-submit-buttons");return l(),m("div",q,[d("form",Z,[s(p,{title:"Einstellungen",collapsible:!0,collapsed:!1},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(l(),m("div",A,[s(h,{subtype:"info"},{default:r(()=>[o(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(l(),m("div",E,[s(W,{title:"Nicht-ladende Fahrzeuge",buttons:[{buttonValue:!1,text:"nicht berücksichtigen",class:"btn-outline-danger"},{buttonValue:!0,text:"berücksichtigen",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/counter/config/reserve_for_not_charging"],"onUpdate:modelValue":t[0]||(t[0]=n=>e.updateState("openWB/counter/config/reserve_for_not_charging",n))},{help:r(()=>[o(" Wenn angesteckte Fahrzeuge, die nicht laden, im Lastmanagement berücksichtigt werden, wird für diese der Fahrzeug-Mindeststrom bei vorliegender Ladefreigabe reserviert. Dadurch können bei Eingreifen des Lastmanagements andere Fahrzeuge möglicherweise nur mit reduzierter Stromstärke laden und der reservierte Strom wird nicht genutzt."),F,o(" Wenn die Fahrzeuge wieder Leistung beziehen, z.B. um vorzuklimatisieren, nutzen sie den für sie reservierten Strom."),U,D,o(" Wenn angesteckte Fahrzeuge, die nicht laden, nicht im Lastmanagement berücksichtigt werden, wird für diese auch kein Strom bei vorliegender Ladefreigabe reserviert. Andere Fahrzeuge können dadurch mit höherer Stromstärke laden."),N,o(" Wenn die maximalen Lastmanagement-Grenzen fast erreicht sind und die Fahrzeuge wieder Leistung beziehen, z.B. um vorzuklimatisieren, kann es zu einer kurzzeitigen Überschreitung der Lastmanagement-Grenzen kommen, bis im nächsten Zyklus die Stromstärken ALLER Ladepunkte an die neue Situation angepasst wurden."),P,o(" Das kurzzeitige Überschreiten der Maximal-Werte stellt für die Sicherungen in der Regel kein Problem dar. ")]),_:1},8,["model-value"]),s(f,null,{default:r(()=>[o(" Vorhandene Zählermodule ")]),_:1}),s(h,{subtype:"info"},{default:r(()=>[o(" Die maximale Leistung wird nur für den EVU-Zähler berücksichtigt. Bei Zwischenzählern begrenzt das Lastmanagement rein anhand der maximalen Phasenströme. ")]),_:1}),(l(!0),m(_,null,v(g.counterConfigs,n=>(l(),w(p,{key:n.id,collapsible:!0,collapsed:!0,subtype:"danger"},{header:r(()=>[s(b,{"fixed-width":"",icon:["fas","gauge-high"]}),o(" "+k(n.name),1)]),default:r(()=>[s(c,{title:"Maximale Leistung",min:1,step:1,unit:"kW","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_total_power"]/1e3,"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_total_power",a*1e3)},{help:r(()=>[o(" Maximal zulässige Leistung für diesen (Zwischen-)Zähler. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),s(c,{title:"Maximaler Strom L1",min:16,step:1,unit:"A","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_currents"][0],"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_currents",a,"0")},{help:r(()=>[o(" Maximal zulässiger Strom für die Phase 1 dieses (Zwischen-)Zählers. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),s(c,{title:"Maximaler Strom L2",min:16,step:1,unit:"A","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_currents"][1],"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_currents",a,"1")},{help:r(()=>[o(" Maximal zulässiger Strom für die Phase 2 dieses (Zwischen-)Zählers. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),s(c,{title:"Maximaler Strom L3",min:16,step:1,unit:"A","model-value":e.$store.state.mqtt["openWB/counter/"+n.id+"/config/max_currents"][2],"onUpdate:modelValue":a=>e.updateState("openWB/counter/"+n.id+"/config/max_currents",a,"2")},{help:r(()=>[o(" Maximal zulässiger Strom für die Phase 3 dieses (Zwischen-)Zählers. ")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},1024))),128)),s(f,null,{default:r(()=>[o(" Vorhandene Wechselrichtermodule ")]),_:1}),(l(!0),m(_,null,v(g.inverterConfigs,n=>(l(),w(p,{key:n.id,collapsible:!0,collapsed:!0,subtype:"success"},{header:r(()=>[s(b,{"fixed-width":"",icon:["fas","solar-panel"]}),o(" "+k(n.name),1)]),default:r(()=>[s(c,{title:"Maximale Ausgangsleistung des Wechselrichters",min:0,step:.1,unit:"kW","model-value":e.$store.state.mqtt["openWB/pv/"+n.id+"/config/max_ac_out"]/1e3,"onUpdate:modelValue":a=>e.updateState("openWB/pv/"+n.id+"/config/max_ac_out",a*1e3)},{help:r(()=>[o(" Relevant bei Hybrid-Systemen mit DC-Speicher. ")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},1024))),128))]))]),_:1}),s(p,{title:"Struktur",collapsible:!0,collapsed:!0},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(l(),m("div",T,[s(h,{subtype:"info"},{default:r(()=>[o(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(l(),m("div",O,[s(B,{title:"Anordnung der Komponenten","model-value":e.$store.state.mqtt["openWB/counter/get/hierarchy"],"onUpdate:modelValue":t[1]||(t[1]=n=>e.updateState("openWB/counter/get/hierarchy",n)),labels:g.hierarchyLabels},{help:r(()=>[o(" Durch die Anordnung der Komponenten werden Abhängigkeiten abgebildet."),j,o(" An erster Stelle muss eine Zählerkomponente stehen, die den Netzanschlusspunkt erfasst. Dafür kann auch ein virtueller Zähler genutzt werden."),R,o(" Die weiteren Komponenten müssen hierarchisch so angeordnet werden, wie sie auch physisch im Stromnetz angeschlossen werden."),G,o(" Bei DC-gekoppelten Speichern sind diese hinter dem zugehörigen Wechselrichter zu platzieren, damit die Abhängigkeit in der Regelung berücksichtigt werden kann. ")]),_:1},8,["model-value","labels"])]))]),_:1}),s(y,{formName:"loadManagementConfigForm",onSave:t[2]||(t[2]=n=>e.$emit("save")),onReset:t[3]||(t[3]=n=>e.$emit("reset")),onDefaults:t[4]||(t[4]=n=>e.$emit("defaults"))})])])}const ie=V(M,[["render",K],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/LoadManagementConfig.vue"]]);export{ie as default}; diff --git a/web/settings/assets/MqttBridgeConfig-37ad7893.js b/web/settings/assets/MqttBridgeConfig-0106aa7e.js similarity index 95% rename from web/settings/assets/MqttBridgeConfig-37ad7893.js rename to web/settings/assets/MqttBridgeConfig-0106aa7e.js index f1aa44e1f0..533e3bc528 100644 --- a/web/settings/assets/MqttBridgeConfig-37ad7893.js +++ b/web/settings/assets/MqttBridgeConfig-0106aa7e.js @@ -1 +1 @@ -import{l as C,d as q,S as A,F as z}from"./vendor-fortawesome-12056596.js";import{C as D}from"./index-8fe3a4a0.js";import{_ as I,p as r,k as m,l as c,A as n,L as o,q as b,G as M,u as s,x as y,y as T,z as S,I as W,Q as E,R as Q}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";C.add(q,A);const N={name:"OpenwbMqttBridgeConfiguration",mixins:[D],emits:["sendCommand"],components:{FontAwesomeIcon:z},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/mqtt/bridge/+"],showMqttBridgeModal:!1,modalMqttBridgeIndex:void 0}},computed:{configuredMqttBridges:{get(){let e=this.getWildcardTopics("openWB/system/mqtt/bridge/+");for(const[u,g]of Object.entries(e))g.remote.is_openwb_cloud&&delete e[u];return e}}},methods:{addMqttBridge(e){e.stopPropagation(),this.$emit("sendCommand",{command:"addMqttBridge",data:{}})},getMqttBridgeIndex(e){return parseInt(e.match(/(?:\/)(\d+)$/)[1])},removeMqttBridgeModal(e,u){u.stopPropagation(),this.modalMqttBridgeIndex=this.getMqttBridgeIndex(e),this.showMqttBridgeModal=!0},removeMqttBridge(e,u){this.showMqttBridgeModal=!1,u=="confirm"&&(console.info("request removal of mqtt bridge '"+e+"'"),this.$emit("sendCommand",{command:"removeMqttBridge",data:{bridge:e}}))},getMqttBridgeName(e){return this.$store.state.mqtt["openWB/system/mqtt/bridge/"+e]?this.$store.state.mqtt["openWB/system/mqtt/bridge/"+e].name:e}}},_=e=>(E("data-v-1ec2f2f5"),e=e(),Q(),e),P={class:"mqttBridgeConfiguration"},Z=_(()=>b("br",null,null,-1)),L={key:0},F={key:1},$=["name"],O=_(()=>b("hr",null,null,-1)),R=_(()=>b("hr",null,null,-1));function j(e,u,g,G,f,i){const U=r("openwb-base-modal-dialog"),h=r("openwb-base-alert"),v=r("font-awesome-icon"),w=r("openwb-base-avatar"),p=r("openwb-base-text-input"),d=r("openwb-base-button-group-input"),V=r("openwb-base-heading"),B=r("openwb-base-number-input"),x=r("openwb-base-submit-buttons"),k=r("openwb-base-card");return m(),c(M,null,[n(U,{show:f.showMqttBridgeModal,title:"MQTT-Brücke löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:u[0]||(u[0]=l=>i.removeMqttBridge(f.modalMqttBridgeIndex,l))},{default:o(()=>[s(' Wollen Sie die MQTT-Brücke "'+y(i.getMqttBridgeName(f.modalMqttBridgeIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),b("div",P,[n(h,{subtype:"danger"},{default:o(()=>[s(" ACHTUNG: Die Konfiguration einer MQTT-Brücke erlaubt allen Nutzern mit Zugang zum entfernten MQTT-Server alle weitergeleiteten Daten dieser openWB einzusehen!"),Z,s(' Es wird dringend empfohlen, dies nur für nicht-öffentliche MQTT-Server unter Verwendung starker Transport-Verschlüsselung (TLS) mit persönlichem Login und strenger Zugriffskontrolle (zumindest für die MQTT-Thema unterhalb von "Entfernter Präfix") zu aktivieren! ')]),_:1}),n(k,{title:"Konfigurierte MQTT-Brücken"},{actions:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(m(),T(w,{key:0,class:"bg-success clickable",onClick:i.addMqttBridge},{default:o(()=>[n(v,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):S("",!0)]),default:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(m(),c("div",L,[n(h,{subtype:"info"},{default:o(()=>[s(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(m(),c("div",F,[Object.keys(i.configuredMqttBridges).length===0?(m(),T(h,{key:0,subtype:"info"},{default:o(()=>[s(" Es wurde noch keine MQTT Brücke konfiguriert. ")]),_:1})):S("",!0),(m(!0),c(M,null,W(i.configuredMqttBridges,(l,a)=>(m(),c("form",{key:a,name:"mqttBridgeConfigurationForm"+i.getMqttBridgeIndex(a)},[n(k,{title:l.name,collapsible:!0,collapsed:!0,subtype:"primary"},{actions:o(()=>[n(w,{class:"bg-danger clickable",onClick:t=>i.removeMqttBridgeModal(a,t)},{default:o(()=>[n(v,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])]),footer:o(()=>[n(x,{formName:"mqttBridgeConfigurationForm"+i.getMqttBridgeIndex(a),hideDefaults:!0,onSave:t=>e.$emit("save",[a]),onReset:t=>e.$emit("reset",[a])},null,8,["formName","onSave","onReset"])]),default:o(()=>[n(p,{title:"Bezeichnung",subtype:"text",required:"",pattern:"[A-Za-z0-9]+","model-value":l.name,"onUpdate:modelValue":t=>e.updateState(a,t,"name")},{help:o(()=>[s(" Die Bezeichnung darf nur aus Buchstaben ohne Umlaute und Zahlen bestehen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Brücke aktivieren",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":l.active,"onUpdate:modelValue":t=>e.updateState(a,t,"active")},null,8,["model-value","onUpdate:modelValue"]),O,n(V,null,{default:o(()=>[s(" Einstellungen zur Verbindung ")]),_:1}),n(p,{title:"Entfernter Server",subtype:"host",required:"","model-value":l.remote.host,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.host")},null,8,["model-value","onUpdate:modelValue"]),n(B,{title:"Entfernter Port",required:"",min:1,max:65535,"model-value":l.remote.port,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.port")},null,8,["model-value","onUpdate:modelValue"]),n(p,{title:"Benutzername",subtype:"user",required:"",pattern:"[a-zA-Z0-9_\\-+.]+","model-value":l.remote.username,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.username")},null,8,["model-value","onUpdate:modelValue"]),n(p,{title:"Passwort",subtype:"password",required:"","model-value":l.remote.password,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.password")},null,8,["model-value","onUpdate:modelValue"]),n(p,{title:"Präfix",subtype:"text",pattern:"[A-Za-z0-9_\\-]+(\\/[A-Za-z0-9_\\-]+)?\\/","model-value":l.remote.prefix,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.prefix")},{help:o(()=>[s(' Das Präfix darf nur aus Buchstaben ohne Umlaute, Zahlen, Binde- und Unterstrichen bestehen. Optional kann mit einem Schrägstrich "/" eine Topic-Struktur abgebildet werden. Am Ende des Präfix muss ein Schrägstrich "/" stehen. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(p,{title:"Client ID",subtype:"text",required:"",pattern:"[A-Za-z0-9_\\-]+","model-value":l.remote.client_id,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.client_id")},{help:o(()=>[s(" Die Client ID darf nur aus Buchstaben ohne Umlaute, Zahlen, Binde- und Unterstrichen bestehen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"MQTT Protokoll",required:"required",buttons:[{buttonValue:"mqttv31",text:"v3.1"},{buttonValue:"mqttv311",text:"v3.1.1"}],"model-value":l.remote.protocol,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.protocol")},null,8,["model-value","onUpdate:modelValue"]),n(d,{title:"TLS Version",buttons:[{buttonValue:"auto",text:"Automatisch",class:"btn-outline-success"},{buttonValue:"tlsv1.0",text:"v1.0",class:"btn-outline-warning"},{buttonValue:"tlsv1.1",text:"v1.1",class:"btn-outline-warning"},{buttonValue:"tlsv1.2",text:"v1.2"}],"model-value":l.remote.tls_version,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.tls_version")},{help:o(()=>[s(' In der Einstellung "Automatisch" wird die Version zwischen Client und Server ausgehandelt. Wenn erforderlich, kann eine spezielle Version erzwungen werden. Versionen kleiner 1.2 gelten als veraltet und sollten nicht mehr verwendet werden. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Brücke signalisieren",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.remote.try_private,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.try_private")},{help:o(()=>[s(" Aktiviert eine proprietäre Protokoll-Erweiterung des Mosquitto Brokers, welche dem entfernten Broker signalisiert dass es sich um eine MQTT Brücke handelt. Ergibt bessere Leistung mit Mosquitto-Brokern, ist jedoch inkompatibel mit vielen anderen MQTT-Brokern. Daher bitte nur aktivieren, wenn der Ziel-Broker sicher ein Mosquitto-Broker ist. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),R,n(V,null,{default:o(()=>[s("Datenübertragung")]),_:1}),n(d,{title:"Alle Statusdaten",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.data_transfer.status,"onUpdate:modelValue":t=>e.updateState(a,t,"data_transfer.status")},{help:o(()=>[s("ToDo...")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Datenserien für Diagramme",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.data_transfer.graph,"onUpdate:modelValue":t=>e.updateState(a,t,"data_transfer.graph")},{help:o(()=>[s("ToDo...")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Fernkonfiguration ermöglichen",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.data_transfer.configuration,"onUpdate:modelValue":t=>e.updateState(a,t,"data_transfer.configuration")},{help:o(()=>[s("ToDo...")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},1032,["title"])],8,$))),128))]))]),_:1})])],64)}const ne=I(N,[["render",j],["__scopeId","data-v-1ec2f2f5"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/MqttBridgeConfig.vue"]]);export{ne as default}; +import{l as C,d as q,S as A,F as z}from"./vendor-fortawesome-349077b4.js";import{C as D}from"./index-baf9de5e.js";import{_ as I,p as r,k as m,l as c,A as n,L as o,q as b,G as M,u as s,x as y,y as T,z as S,I as W,Q as E,R as Q}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";C.add(q,A);const N={name:"OpenwbMqttBridgeConfiguration",mixins:[D],emits:["sendCommand"],components:{FontAwesomeIcon:z},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/mqtt/bridge/+"],showMqttBridgeModal:!1,modalMqttBridgeIndex:void 0}},computed:{configuredMqttBridges:{get(){let e=this.getWildcardTopics("openWB/system/mqtt/bridge/+");for(const[u,g]of Object.entries(e))g.remote.is_openwb_cloud&&delete e[u];return e}}},methods:{addMqttBridge(e){e.stopPropagation(),this.$emit("sendCommand",{command:"addMqttBridge",data:{}})},getMqttBridgeIndex(e){return parseInt(e.match(/(?:\/)(\d+)$/)[1])},removeMqttBridgeModal(e,u){u.stopPropagation(),this.modalMqttBridgeIndex=this.getMqttBridgeIndex(e),this.showMqttBridgeModal=!0},removeMqttBridge(e,u){this.showMqttBridgeModal=!1,u=="confirm"&&(console.info("request removal of mqtt bridge '"+e+"'"),this.$emit("sendCommand",{command:"removeMqttBridge",data:{bridge:e}}))},getMqttBridgeName(e){return this.$store.state.mqtt["openWB/system/mqtt/bridge/"+e]?this.$store.state.mqtt["openWB/system/mqtt/bridge/"+e].name:e}}},_=e=>(E("data-v-1ec2f2f5"),e=e(),Q(),e),P={class:"mqttBridgeConfiguration"},Z=_(()=>b("br",null,null,-1)),L={key:0},F={key:1},$=["name"],O=_(()=>b("hr",null,null,-1)),R=_(()=>b("hr",null,null,-1));function j(e,u,g,G,f,i){const U=r("openwb-base-modal-dialog"),h=r("openwb-base-alert"),v=r("font-awesome-icon"),w=r("openwb-base-avatar"),p=r("openwb-base-text-input"),d=r("openwb-base-button-group-input"),V=r("openwb-base-heading"),B=r("openwb-base-number-input"),x=r("openwb-base-submit-buttons"),k=r("openwb-base-card");return m(),c(M,null,[n(U,{show:f.showMqttBridgeModal,title:"MQTT-Brücke löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:u[0]||(u[0]=l=>i.removeMqttBridge(f.modalMqttBridgeIndex,l))},{default:o(()=>[s(' Wollen Sie die MQTT-Brücke "'+y(i.getMqttBridgeName(f.modalMqttBridgeIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),b("div",P,[n(h,{subtype:"danger"},{default:o(()=>[s(" ACHTUNG: Die Konfiguration einer MQTT-Brücke erlaubt allen Nutzern mit Zugang zum entfernten MQTT-Server alle weitergeleiteten Daten dieser openWB einzusehen!"),Z,s(' Es wird dringend empfohlen, dies nur für nicht-öffentliche MQTT-Server unter Verwendung starker Transport-Verschlüsselung (TLS) mit persönlichem Login und strenger Zugriffskontrolle (zumindest für die MQTT-Thema unterhalb von "Entfernter Präfix") zu aktivieren! ')]),_:1}),n(k,{title:"Konfigurierte MQTT-Brücken"},{actions:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(m(),T(w,{key:0,class:"bg-success clickable",onClick:i.addMqttBridge},{default:o(()=>[n(v,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):S("",!0)]),default:o(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(m(),c("div",L,[n(h,{subtype:"info"},{default:o(()=>[s(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(m(),c("div",F,[Object.keys(i.configuredMqttBridges).length===0?(m(),T(h,{key:0,subtype:"info"},{default:o(()=>[s(" Es wurde noch keine MQTT Brücke konfiguriert. ")]),_:1})):S("",!0),(m(!0),c(M,null,W(i.configuredMqttBridges,(l,a)=>(m(),c("form",{key:a,name:"mqttBridgeConfigurationForm"+i.getMqttBridgeIndex(a)},[n(k,{title:l.name,collapsible:!0,collapsed:!0,subtype:"primary"},{actions:o(()=>[n(w,{class:"bg-danger clickable",onClick:t=>i.removeMqttBridgeModal(a,t)},{default:o(()=>[n(v,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])]),footer:o(()=>[n(x,{formName:"mqttBridgeConfigurationForm"+i.getMqttBridgeIndex(a),hideDefaults:!0,onSave:t=>e.$emit("save",[a]),onReset:t=>e.$emit("reset",[a])},null,8,["formName","onSave","onReset"])]),default:o(()=>[n(p,{title:"Bezeichnung",subtype:"text",required:"",pattern:"[A-Za-z0-9]+","model-value":l.name,"onUpdate:modelValue":t=>e.updateState(a,t,"name")},{help:o(()=>[s(" Die Bezeichnung darf nur aus Buchstaben ohne Umlaute und Zahlen bestehen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Brücke aktivieren",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":l.active,"onUpdate:modelValue":t=>e.updateState(a,t,"active")},null,8,["model-value","onUpdate:modelValue"]),O,n(V,null,{default:o(()=>[s(" Einstellungen zur Verbindung ")]),_:1}),n(p,{title:"Entfernter Server",subtype:"host",required:"","model-value":l.remote.host,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.host")},null,8,["model-value","onUpdate:modelValue"]),n(B,{title:"Entfernter Port",required:"",min:1,max:65535,"model-value":l.remote.port,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.port")},null,8,["model-value","onUpdate:modelValue"]),n(p,{title:"Benutzername",subtype:"user",required:"",pattern:"[a-zA-Z0-9_\\-+.]+","model-value":l.remote.username,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.username")},null,8,["model-value","onUpdate:modelValue"]),n(p,{title:"Passwort",subtype:"password",required:"","model-value":l.remote.password,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.password")},null,8,["model-value","onUpdate:modelValue"]),n(p,{title:"Präfix",subtype:"text",pattern:"[A-Za-z0-9_\\-]+(\\/[A-Za-z0-9_\\-]+)?\\/","model-value":l.remote.prefix,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.prefix")},{help:o(()=>[s(' Das Präfix darf nur aus Buchstaben ohne Umlaute, Zahlen, Binde- und Unterstrichen bestehen. Optional kann mit einem Schrägstrich "/" eine Topic-Struktur abgebildet werden. Am Ende des Präfix muss ein Schrägstrich "/" stehen. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(p,{title:"Client ID",subtype:"text",required:"",pattern:"[A-Za-z0-9_\\-]+","model-value":l.remote.client_id,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.client_id")},{help:o(()=>[s(" Die Client ID darf nur aus Buchstaben ohne Umlaute, Zahlen, Binde- und Unterstrichen bestehen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"MQTT Protokoll",required:"required",buttons:[{buttonValue:"mqttv31",text:"v3.1"},{buttonValue:"mqttv311",text:"v3.1.1"}],"model-value":l.remote.protocol,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.protocol")},null,8,["model-value","onUpdate:modelValue"]),n(d,{title:"TLS Version",buttons:[{buttonValue:"auto",text:"Automatisch",class:"btn-outline-success"},{buttonValue:"tlsv1.0",text:"v1.0",class:"btn-outline-warning"},{buttonValue:"tlsv1.1",text:"v1.1",class:"btn-outline-warning"},{buttonValue:"tlsv1.2",text:"v1.2"}],"model-value":l.remote.tls_version,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.tls_version")},{help:o(()=>[s(' In der Einstellung "Automatisch" wird die Version zwischen Client und Server ausgehandelt. Wenn erforderlich, kann eine spezielle Version erzwungen werden. Versionen kleiner 1.2 gelten als veraltet und sollten nicht mehr verwendet werden. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Brücke signalisieren",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.remote.try_private,"onUpdate:modelValue":t=>e.updateState(a,t,"remote.try_private")},{help:o(()=>[s(" Aktiviert eine proprietäre Protokoll-Erweiterung des Mosquitto Brokers, welche dem entfernten Broker signalisiert dass es sich um eine MQTT Brücke handelt. Ergibt bessere Leistung mit Mosquitto-Brokern, ist jedoch inkompatibel mit vielen anderen MQTT-Brokern. Daher bitte nur aktivieren, wenn der Ziel-Broker sicher ein Mosquitto-Broker ist. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),R,n(V,null,{default:o(()=>[s("Datenübertragung")]),_:1}),n(d,{title:"Alle Statusdaten",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.data_transfer.status,"onUpdate:modelValue":t=>e.updateState(a,t,"data_transfer.status")},{help:o(()=>[s("ToDo...")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Datenserien für Diagramme",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.data_transfer.graph,"onUpdate:modelValue":t=>e.updateState(a,t,"data_transfer.graph")},{help:o(()=>[s("ToDo...")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(d,{title:"Fernkonfiguration ermöglichen",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":l.data_transfer.configuration,"onUpdate:modelValue":t=>e.updateState(a,t,"data_transfer.configuration")},{help:o(()=>[s("ToDo...")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},1032,["title"])],8,$))),128))]))]),_:1})])],64)}const ne=I(N,[["render",j],["__scopeId","data-v-1ec2f2f5"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/MqttBridgeConfig.vue"]]);export{ne as default}; diff --git a/web/settings/assets/OpenwbSortableList-ae85ca14.js b/web/settings/assets/OpenwbSortableList-4817ba7c.js similarity index 95% rename from web/settings/assets/OpenwbSortableList-ae85ca14.js rename to web/settings/assets/OpenwbSortableList-4817ba7c.js index fa0a222e29..4dbbd6819e 100644 --- a/web/settings/assets/OpenwbSortableList-ae85ca14.js +++ b/web/settings/assets/OpenwbSortableList-4817ba7c.js @@ -1 +1 @@ -import{_ as f,a3 as L,p as i,k as a,y as u,L as C,q as n,n as g,A as b,z as _,u as h,x as w,l as m,m as H}from"./vendor-9bfbb89c.js";import{l as y,a5 as O,J as S,K as x,L as N,M as B,F as v,f as E,a as A}from"./vendor-fortawesome-12056596.js";y.add(O,S,x,N,B);const j={name:"OpenwbNestedList",props:{list:{type:Object},labels:{type:Object}},components:{draggable:L,FontAwesomeIcon:v},methods:{classes(e){var t="";switch(e.type){case"bat":t+="battery";break;case"cp":t+="charge-point";break;default:t+=e.type;break}return t},getElementLabel(e){return this.labels&&e in this.labels?this.labels[e]:e},getElementIcon(e){switch(e.type){case"bat":return["fas","car-battery"];case"counter":return["fas","gauge-high"];case"cp":return["fas","charging-station"];case"inverter":return["fas","solar-panel"];default:return}}}};function q(e,t,o,k,c,s){const d=i("font-awesome-icon"),p=i("openwb-nested-list",!0),r=i("draggable");return a(),u(r,{class:"dragArea w-100 mb-0",tag:"ul",list:o.list,group:{name:"g1"},"item-key":"id",handle:".handle"},{item:C(({element:l})=>[n("li",null,[n("div",{class:g(["element-titel",s.classes(l)])},[n("span",null,[b(d,{class:"handle","fixed-width":"",icon:["fas","arrows-alt"]}),s.getElementIcon(l)?(a(),u(d,{key:0,"fixed-width":"",icon:s.getElementIcon(l)},null,8,["icon"])):_("",!0),h(" "+w(s.getElementLabel(l.id)),1)])],2),b(p,{modelValue:l.children,"onUpdate:modelValue":V=>l.children=V,labels:o.labels},null,8,["modelValue","onUpdate:modelValue","labels"])])]),_:1},8,["list"])}const I=f(j,[["render",q],["__scopeId","data-v-82c9421a"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbNestedList.vue"]]);y.add(E,A);const U={name:"OpenwbSortableList",props:{id:String,title:String,modelValue:Object,labels:{type:Object,default:void 0}},emits:["update:modelValue"],components:{FontAwesomeIcon:v,OpenwbNestedList:I},data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){console.debug("update in sortableList",e),this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}}},W={class:"form-row mb-1"},z={class:"col-md-8"},D={class:"form-row"},F={key:1},Q={key:0,class:"form-row alert alert-info my-1 small"};function G(e,t,o,k,c,s){const d=i("font-awesome-icon"),p=i("openwb-nested-list");return a(),m("div",W,[n("label",{onClick:t[0]||(t[0]=(...r)=>s.toggleHelp&&s.toggleHelp(...r)),class:"col-md-4 col-form-label"},[h(w(o.title)+" ",1),e.$slots.help?(a(),u(d,{key:0,icon:c.showHelp?["fas","question-circle"]:["far","question-circle"],class:g(c.showHelp?"text-info":"")},null,8,["icon","class"])):_("",!0)]),n("div",z,[n("div",D,[s.value!==void 0?(a(),u(p,{key:0,modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=r=>s.value=r),labels:o.labels},null,8,["modelValue","labels"])):(a(),m("div",F,"Warte auf Daten..."))]),c.showHelp?(a(),m("span",Q,[H(e.$slots,"help")])):_("",!0)])])}const M=f(U,[["render",G],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbSortableList.vue"]]);export{M as S}; +import{_ as f,a3 as L,p as i,k as a,y as u,L as C,q as n,n as g,A as b,z as _,u as h,x as w,l as m,m as H}from"./vendor-2e22dd5c.js";import{l as y,a5 as O,J as S,K as x,L as N,M as B,F as v,f as E,a as A}from"./vendor-fortawesome-349077b4.js";y.add(O,S,x,N,B);const j={name:"OpenwbNestedList",props:{list:{type:Object},labels:{type:Object}},components:{draggable:L,FontAwesomeIcon:v},methods:{classes(e){var t="";switch(e.type){case"bat":t+="battery";break;case"cp":t+="charge-point";break;default:t+=e.type;break}return t},getElementLabel(e){return this.labels&&e in this.labels?this.labels[e]:e},getElementIcon(e){switch(e.type){case"bat":return["fas","car-battery"];case"counter":return["fas","gauge-high"];case"cp":return["fas","charging-station"];case"inverter":return["fas","solar-panel"];default:return}}}};function q(e,t,o,k,c,s){const d=i("font-awesome-icon"),p=i("openwb-nested-list",!0),r=i("draggable");return a(),u(r,{class:"dragArea w-100 mb-0",tag:"ul",list:o.list,group:{name:"g1"},"item-key":"id",handle:".handle"},{item:C(({element:l})=>[n("li",null,[n("div",{class:g(["element-titel",s.classes(l)])},[n("span",null,[b(d,{class:"handle","fixed-width":"",icon:["fas","arrows-alt"]}),s.getElementIcon(l)?(a(),u(d,{key:0,"fixed-width":"",icon:s.getElementIcon(l)},null,8,["icon"])):_("",!0),h(" "+w(s.getElementLabel(l.id)),1)])],2),b(p,{modelValue:l.children,"onUpdate:modelValue":V=>l.children=V,labels:o.labels},null,8,["modelValue","onUpdate:modelValue","labels"])])]),_:1},8,["list"])}const I=f(j,[["render",q],["__scopeId","data-v-82c9421a"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbNestedList.vue"]]);y.add(E,A);const U={name:"OpenwbSortableList",props:{id:String,title:String,modelValue:Object,labels:{type:Object,default:void 0}},emits:["update:modelValue"],components:{FontAwesomeIcon:v,OpenwbNestedList:I},data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){console.debug("update in sortableList",e),this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}}},W={class:"form-row mb-1"},z={class:"col-md-8"},D={class:"form-row"},F={key:1},Q={key:0,class:"form-row alert alert-info my-1 small"};function G(e,t,o,k,c,s){const d=i("font-awesome-icon"),p=i("openwb-nested-list");return a(),m("div",W,[n("label",{onClick:t[0]||(t[0]=(...r)=>s.toggleHelp&&s.toggleHelp(...r)),class:"col-md-4 col-form-label"},[h(w(o.title)+" ",1),e.$slots.help?(a(),u(d,{key:0,icon:c.showHelp?["fas","question-circle"]:["far","question-circle"],class:g(c.showHelp?"text-info":"")},null,8,["icon","class"])):_("",!0)]),n("div",z,[n("div",D,[s.value!==void 0?(a(),u(p,{key:0,modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=r=>s.value=r),labels:o.labels},null,8,["modelValue","labels"])):(a(),m("div",F,"Warte auf Daten..."))]),c.showHelp?(a(),m("span",Q,[H(e.$slots,"help")])):_("",!0)])])}const M=f(U,[["render",G],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbSortableList.vue"]]);export{M as S}; diff --git a/web/settings/assets/OptionalComponents-b2620f38.js b/web/settings/assets/OptionalComponents-2e8877b3.js similarity index 95% rename from web/settings/assets/OptionalComponents-b2620f38.js rename to web/settings/assets/OptionalComponents-2e8877b3.js index b052bb816c..1a11265523 100644 --- a/web/settings/assets/OptionalComponents-b2620f38.js +++ b/web/settings/assets/OptionalComponents-2e8877b3.js @@ -1 +1 @@ -import{_ as k,C as $}from"./index-8fe3a4a0.js";import{_ as C}from"./dynamic-import-helper-be004503.js";import{_ as g,p as d,k as s,l as m,y as f,L as i,u as a,x as c,A as o,q as r,a0 as S,a1 as V,z as y}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const O={name:"DisplayThemeFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},displayThemeType:{type:String}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},q={class:"display-theme-fallback"},z={key:1};function A(e,t,l,h,v,u){const p=d("openwb-base-alert"),b=d("openwb-base-textarea");return s(),m("div",q,[Object.keys(l.configuration).length==0?(s(),f(p,{key:0,subtype:"info"},{default:i(()=>[a(' Das Display-Theme "'+c(l.displayThemeType)+'" bietet keine Einstellungen. ',1)]),_:1})):(s(),m("div",z,[o(p,{subtype:"warning"},{default:i(()=>[a(' Es wurde keine Konfigurationsseite für das Display-Theme "'+c(l.displayThemeType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),o(b,{title:"Konfiguration",subtype:"json","model-value":l.configuration,"onUpdate:modelValue":t[0]||(t[0]=_=>u.updateConfiguration(_,"configuration"))},{help:i(()=>[a(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),o(p,{subtype:"info"},{default:i(()=>[r("pre",null,c(JSON.stringify(l.configuration,void 0,2)),1)]),_:1})]))])}const F=g(O,[["render",A],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/display_themes/OpenwbDisplayThemeFallback.vue"]]),L={name:"OpenwbDisplayThemeProxy",emits:["update:configuration"],props:{displayThemeType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading display theme: ${this.displayThemeType}`),S({loader:()=>C(Object.assign({"./cards/displayTheme.vue":()=>k(()=>import("./displayTheme-257109ca.js"),["assets/displayTheme-257109ca.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"])}),`./${this.displayThemeType}/displayTheme.vue`),errorComponent:F})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}};function R(e,t,l,h,v,u){return s(),f(V(u.myComponent),{configuration:l.configuration,displayThemeType:l.displayThemeType,"onUpdate:configuration":t[0]||(t[0]=p=>u.updateConfiguration(p))},null,40,["configuration","displayThemeType"])}const I=g(L,[["render",R],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/display_themes/OpenwbDisplayThemeProxy.vue"]]),N={name:"OpenwbOptionalComponents",mixins:[$],components:{OpenwbDisplayThemeProxy:I},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/optional/rfid/active","openWB/optional/led/active","ToDo/optional/led/instant_blocked","ToDo/optional/led/pv_blocked","ToDo/optional/led/scheduled_blocked","ToDo/optional/led/standby_blocked","ToDo/optional/led/stop_blocked","ToDo/optional/led/instant","ToDo/optional/led/pv","ToDo/optional/led/scheduled","ToDo/optional/led/standby","ToDo/optional/led/stop","openWB/optional/int_display/active","openWB/optional/int_display/standby","openWB/optional/int_display/rotation","openWB/optional/int_display/on_if_plugged_in","openWB/optional/int_display/pin_active","openWB/optional/int_display/pin_code","openWB/optional/int_display/theme","openWB/optional/int_display/only_local_charge_points","openWB/system/configurable/display_themes","openWB/optional/et/active","openWB/optional/et/config/provider","openWB/optional/et/config/max_price"]}},computed:{displayThemeList:{get(){return this.$store.state.mqtt["openWB/system/configurable/display_themes"]}}},methods:{getDisplayThemeDefaultConfiguration(e){const t=this.displayThemeList.find(l=>l.value==e);return Object.prototype.hasOwnProperty.call(t,"defaults")?{...JSON.parse(JSON.stringify(t.defaults.configuration))}:(console.warn("no default configuration found for display theme type!",e),{})},updateSelectedDisplayTheme(e){this.updateState("openWB/optional/int_display/theme",e,"type"),this.updateState("openWB/optional/int_display/theme",this.getDisplayThemeDefaultConfiguration(e),"configuration")},updateConfiguration(e,t){console.debug("updateConfiguration",e,t),this.updateState(e,t.value,t.object)}}},x={class:"optionalComponents"},E={name:"optionalComponentsForm"},M={key:0},j=r("br",null,null,-1),U=r("br",null,null,-1),H=["innerHTML"],P={key:0},J=r("br",null,null,-1),K=r("hr",null,null,-1),Z={key:1},G=r("hr",null,null,-1),Q={key:2},X=r("hr",null,null,-1),Y=r("hr",null,null,-1),ee={key:0};function te(e,t,l,h,v,u){const p=d("openwb-base-button-group-input"),b=d("openwb-base-alert"),_=d("openwb-base-card"),T=d("openwb-base-heading"),w=d("openwb-base-range-input"),B=d("openwb-base-select-input"),D=d("openwb-display-theme-proxy"),W=d("openwb-base-submit-buttons");return s(),m("div",x,[r("form",E,[o(_,{title:"RFID"},{default:i(()=>[o(p,{title:"RFID aktivieren","model-value":e.$store.state.mqtt["openWB/optional/rfid/active"],"onUpdate:modelValue":t[0]||(t[0]=n=>e.updateState("openWB/optional/rfid/active",n)),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},{help:i(()=>[a(" Dies bedingt das Vorhandensein eines RFID-Readers in deiner openWB. Bitte prüfe zuerst die Hardwareausstattung deiner openWB (z.B. Lieferschein). ")]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/optional/rfid/active"]===!0?(s(),m("div",M,[o(b,{subtype:"info"},{default:i(()=>[a(" Die RFID-Tags, die an dem jeweiligen Ladepunkt gültig sind, müssen in dem Ladepunkt-Profil hinterlegt werden. Der RFID-Tag muss in den Einstellungen des Fahrzeugs diesem zugeordnet werden."),j,a(" Es kann zuerst angesteckt und dann der RFID-Tag gescannt werden oder zuerst der RFID-Tag gescannt werden. Dann muss innerhalb von 5 Minuten ein Auto angesteckt werden, sonst wird der RFID-Tag verworfen. Das Auto wird erst nach dem Anstecken zugeordnet."),U,r("span",{innerHTML:e.$store.state.text.rfidWiki},null,8,H)]),_:1})])):y("",!0)]),_:1}),o(_,{title:"Display (intern oder extern)"},{default:i(()=>[o(p,{title:"Integriertes Display","model-value":e.$store.state.mqtt["openWB/optional/int_display/active"],"onUpdate:modelValue":t[1]||(t[1]=n=>e.updateState("openWB/optional/int_display/active",n)),buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}]},{help:i(()=>[a(' Je nach Bestellung kann die openWB mit oder ohne Display geliefert worden sein. Auch die Variante "Standalone" bietet beide Optionen. Bitte prüfe zuerst die Hardwareausstattung deiner openWB (z.B. Lieferschein). ')]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/optional/int_display/active"]==!0?(s(),m("div",P,[o(p,{title:"Orientierung","model-value":e.$store.state.mqtt["openWB/optional/int_display/rotation"],"onUpdate:modelValue":t[2]||(t[2]=n=>e.updateState("openWB/optional/int_display/rotation",n)),buttons:[{buttonValue:0,text:"0°"},{buttonValue:90,text:"90°"},{buttonValue:180,text:"180°"},{buttonValue:270,text:"270°"}]},{help:i(()=>[a(" Mit dieser Einstellung kann das Display im Uhrzeigersinn gedreht werden, falls erforderlich. Nach einer Änderung ist ein Neustart erforderlich!"),J,a(" Diese Einstellung erfordert ein Raspberry Pi Display. Anzeigen, welche über HDMI angeschlossen sind, werden nicht unterstützt. ")]),_:1},8,["model-value"]),K,o(T,null,{default:i(()=>[a(" Display Standby ")]),_:1}),o(w,{title:"Ausschaltzeit",min:0,max:12,step:1,"model-value":e.$store.state.mqtt["openWB/optional/int_display/standby"],"onUpdate:modelValue":t[3]||(t[3]=n=>e.updateState("openWB/optional/int_display/standby",n)),unit:"Sek",labels:[{label:"Immer an",value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:30,value:30},{label:45,value:45},{label:"1 Min",value:60},{label:"1,5 Min",value:90},{label:"2 Min",value:120},{label:"3 Min",value:180},{label:"4 Min",value:240},{label:"5 Min",value:300},{label:"10 Min",value:600}]},{help:i(()=>[a(" Hier kann eine Zeitspanne angegeben werden, nach der das Display ausgeschaltet wird. ")]),_:1},8,["model-value"])])):y("",!0),e.$store.state.mqtt["openWB/general/extern"]===!0?(s(),m("div",Z,[G,o(b,{subtype:"info"},{default:i(()=>[a(' Weitere Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(s(),m("div",Q,[X,o(p,{title:"Ladepunkte auf externen openWB","model-value":e.$store.state.mqtt["openWB/optional/int_display/only_local_charge_points"],"onUpdate:modelValue":t[4]||(t[4]=n=>e.updateState("openWB/optional/int_display/only_local_charge_points",n)),buttons:[{buttonValue:!1,text:"Alle",class:"btn-outline-danger"},{buttonValue:!0,text:"Nur Lokale",class:"btn-outline-success"}]},{help:i(()=>[a(" Hiermit kann festgelegt werden, ob an angebundenen externen openWB alle oder nur die jeweils lokalen Ladepunkte angezeigt werden sollen. ")]),_:1},8,["model-value"]),Y,e.$store.state.mqtt["openWB/optional/int_display/theme"]!==void 0?(s(),m("div",ee,[o(B,{class:"mb-2",title:"Theme des Displays",options:u.displayThemeList,"model-value":e.$store.state.mqtt["openWB/optional/int_display/theme"].type,"onUpdate:modelValue":t[5]||(t[5]=n=>u.updateSelectedDisplayTheme(n))},{help:i(()=>[a(" Hier können unterschiedliche Display-Anzeigen, s.g. Themes, ausgewählt werden. Die Anzahl der Themes wird sich mit zukünftigen Releases erhöhen. ")]),_:1},8,["options","model-value"]),e.$store.state.mqtt["openWB/optional/int_display/theme"].type?(s(),f(D,{key:0,displayThemeType:e.$store.state.mqtt["openWB/optional/int_display/theme"].type,configuration:e.$store.state.mqtt["openWB/optional/int_display/theme"].configuration,"onUpdate:configuration":t[6]||(t[6]=n=>u.updateConfiguration("openWB/optional/int_display/theme",n))},null,8,["displayThemeType","configuration"])):y("",!0)])):y("",!0)]))]),_:1}),o(W,{formName:"optionalComponentsForm",onSave:t[7]||(t[7]=n=>e.$emit("save")),onReset:t[8]||(t[8]=n=>e.$emit("reset")),onDefaults:t[9]||(t[9]=n=>e.$emit("defaults"))})])])}const re=g(N,[["render",te],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/OptionalComponents.vue"]]);export{re as default}; +import{_ as k,C as $}from"./index-baf9de5e.js";import{_ as C}from"./dynamic-import-helper-be004503.js";import{_ as g,p as d,k as s,l as m,y as f,L as i,u as a,x as c,A as o,q as r,a0 as S,a1 as V,z as y}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const O={name:"DisplayThemeFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},displayThemeType:{type:String}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},q={class:"display-theme-fallback"},z={key:1};function A(e,t,l,h,v,u){const p=d("openwb-base-alert"),b=d("openwb-base-textarea");return s(),m("div",q,[Object.keys(l.configuration).length==0?(s(),f(p,{key:0,subtype:"info"},{default:i(()=>[a(' Das Display-Theme "'+c(l.displayThemeType)+'" bietet keine Einstellungen. ',1)]),_:1})):(s(),m("div",z,[o(p,{subtype:"warning"},{default:i(()=>[a(' Es wurde keine Konfigurationsseite für das Display-Theme "'+c(l.displayThemeType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),o(b,{title:"Konfiguration",subtype:"json","model-value":l.configuration,"onUpdate:modelValue":t[0]||(t[0]=_=>u.updateConfiguration(_,"configuration"))},{help:i(()=>[a(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),o(p,{subtype:"info"},{default:i(()=>[r("pre",null,c(JSON.stringify(l.configuration,void 0,2)),1)]),_:1})]))])}const F=g(O,[["render",A],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/display_themes/OpenwbDisplayThemeFallback.vue"]]),L={name:"OpenwbDisplayThemeProxy",emits:["update:configuration"],props:{displayThemeType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading display theme: ${this.displayThemeType}`),S({loader:()=>C(Object.assign({"./cards/displayTheme.vue":()=>k(()=>import("./displayTheme-2f9132df.js"),["assets/displayTheme-2f9132df.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"])}),`./${this.displayThemeType}/displayTheme.vue`),errorComponent:F})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}};function R(e,t,l,h,v,u){return s(),f(V(u.myComponent),{configuration:l.configuration,displayThemeType:l.displayThemeType,"onUpdate:configuration":t[0]||(t[0]=p=>u.updateConfiguration(p))},null,40,["configuration","displayThemeType"])}const I=g(L,[["render",R],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/display_themes/OpenwbDisplayThemeProxy.vue"]]),N={name:"OpenwbOptionalComponents",mixins:[$],components:{OpenwbDisplayThemeProxy:I},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/optional/rfid/active","openWB/optional/led/active","ToDo/optional/led/instant_blocked","ToDo/optional/led/pv_blocked","ToDo/optional/led/scheduled_blocked","ToDo/optional/led/standby_blocked","ToDo/optional/led/stop_blocked","ToDo/optional/led/instant","ToDo/optional/led/pv","ToDo/optional/led/scheduled","ToDo/optional/led/standby","ToDo/optional/led/stop","openWB/optional/int_display/active","openWB/optional/int_display/standby","openWB/optional/int_display/rotation","openWB/optional/int_display/on_if_plugged_in","openWB/optional/int_display/pin_active","openWB/optional/int_display/pin_code","openWB/optional/int_display/theme","openWB/optional/int_display/only_local_charge_points","openWB/system/configurable/display_themes","openWB/optional/et/active","openWB/optional/et/config/provider","openWB/optional/et/config/max_price"]}},computed:{displayThemeList:{get(){return this.$store.state.mqtt["openWB/system/configurable/display_themes"]}}},methods:{getDisplayThemeDefaultConfiguration(e){const t=this.displayThemeList.find(l=>l.value==e);return Object.prototype.hasOwnProperty.call(t,"defaults")?{...JSON.parse(JSON.stringify(t.defaults.configuration))}:(console.warn("no default configuration found for display theme type!",e),{})},updateSelectedDisplayTheme(e){this.updateState("openWB/optional/int_display/theme",e,"type"),this.updateState("openWB/optional/int_display/theme",this.getDisplayThemeDefaultConfiguration(e),"configuration")},updateConfiguration(e,t){console.debug("updateConfiguration",e,t),this.updateState(e,t.value,t.object)}}},x={class:"optionalComponents"},E={name:"optionalComponentsForm"},M={key:0},j=r("br",null,null,-1),U=r("br",null,null,-1),H=["innerHTML"],P={key:0},J=r("br",null,null,-1),K=r("hr",null,null,-1),Z={key:1},G=r("hr",null,null,-1),Q={key:2},X=r("hr",null,null,-1),Y=r("hr",null,null,-1),ee={key:0};function te(e,t,l,h,v,u){const p=d("openwb-base-button-group-input"),b=d("openwb-base-alert"),_=d("openwb-base-card"),T=d("openwb-base-heading"),w=d("openwb-base-range-input"),B=d("openwb-base-select-input"),D=d("openwb-display-theme-proxy"),W=d("openwb-base-submit-buttons");return s(),m("div",x,[r("form",E,[o(_,{title:"RFID"},{default:i(()=>[o(p,{title:"RFID aktivieren","model-value":e.$store.state.mqtt["openWB/optional/rfid/active"],"onUpdate:modelValue":t[0]||(t[0]=n=>e.updateState("openWB/optional/rfid/active",n)),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},{help:i(()=>[a(" Dies bedingt das Vorhandensein eines RFID-Readers in deiner openWB. Bitte prüfe zuerst die Hardwareausstattung deiner openWB (z.B. Lieferschein). ")]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/optional/rfid/active"]===!0?(s(),m("div",M,[o(b,{subtype:"info"},{default:i(()=>[a(" Die RFID-Tags, die an dem jeweiligen Ladepunkt gültig sind, müssen in dem Ladepunkt-Profil hinterlegt werden. Der RFID-Tag muss in den Einstellungen des Fahrzeugs diesem zugeordnet werden."),j,a(" Es kann zuerst angesteckt und dann der RFID-Tag gescannt werden oder zuerst der RFID-Tag gescannt werden. Dann muss innerhalb von 5 Minuten ein Auto angesteckt werden, sonst wird der RFID-Tag verworfen. Das Auto wird erst nach dem Anstecken zugeordnet."),U,r("span",{innerHTML:e.$store.state.text.rfidWiki},null,8,H)]),_:1})])):y("",!0)]),_:1}),o(_,{title:"Display (intern oder extern)"},{default:i(()=>[o(p,{title:"Integriertes Display","model-value":e.$store.state.mqtt["openWB/optional/int_display/active"],"onUpdate:modelValue":t[1]||(t[1]=n=>e.updateState("openWB/optional/int_display/active",n)),buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}]},{help:i(()=>[a(' Je nach Bestellung kann die openWB mit oder ohne Display geliefert worden sein. Auch die Variante "Standalone" bietet beide Optionen. Bitte prüfe zuerst die Hardwareausstattung deiner openWB (z.B. Lieferschein). ')]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/optional/int_display/active"]==!0?(s(),m("div",P,[o(p,{title:"Orientierung","model-value":e.$store.state.mqtt["openWB/optional/int_display/rotation"],"onUpdate:modelValue":t[2]||(t[2]=n=>e.updateState("openWB/optional/int_display/rotation",n)),buttons:[{buttonValue:0,text:"0°"},{buttonValue:90,text:"90°"},{buttonValue:180,text:"180°"},{buttonValue:270,text:"270°"}]},{help:i(()=>[a(" Mit dieser Einstellung kann das Display im Uhrzeigersinn gedreht werden, falls erforderlich. Nach einer Änderung ist ein Neustart erforderlich!"),J,a(" Diese Einstellung erfordert ein Raspberry Pi Display. Anzeigen, welche über HDMI angeschlossen sind, werden nicht unterstützt. ")]),_:1},8,["model-value"]),K,o(T,null,{default:i(()=>[a(" Display Standby ")]),_:1}),o(w,{title:"Ausschaltzeit",min:0,max:12,step:1,"model-value":e.$store.state.mqtt["openWB/optional/int_display/standby"],"onUpdate:modelValue":t[3]||(t[3]=n=>e.updateState("openWB/optional/int_display/standby",n)),unit:"Sek",labels:[{label:"Immer an",value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:30,value:30},{label:45,value:45},{label:"1 Min",value:60},{label:"1,5 Min",value:90},{label:"2 Min",value:120},{label:"3 Min",value:180},{label:"4 Min",value:240},{label:"5 Min",value:300},{label:"10 Min",value:600}]},{help:i(()=>[a(" Hier kann eine Zeitspanne angegeben werden, nach der das Display ausgeschaltet wird. ")]),_:1},8,["model-value"])])):y("",!0),e.$store.state.mqtt["openWB/general/extern"]===!0?(s(),m("div",Z,[G,o(b,{subtype:"info"},{default:i(()=>[a(' Weitere Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(s(),m("div",Q,[X,o(p,{title:"Ladepunkte auf externen openWB","model-value":e.$store.state.mqtt["openWB/optional/int_display/only_local_charge_points"],"onUpdate:modelValue":t[4]||(t[4]=n=>e.updateState("openWB/optional/int_display/only_local_charge_points",n)),buttons:[{buttonValue:!1,text:"Alle",class:"btn-outline-danger"},{buttonValue:!0,text:"Nur Lokale",class:"btn-outline-success"}]},{help:i(()=>[a(" Hiermit kann festgelegt werden, ob an angebundenen externen openWB alle oder nur die jeweils lokalen Ladepunkte angezeigt werden sollen. ")]),_:1},8,["model-value"]),Y,e.$store.state.mqtt["openWB/optional/int_display/theme"]!==void 0?(s(),m("div",ee,[o(B,{class:"mb-2",title:"Theme des Displays",options:u.displayThemeList,"model-value":e.$store.state.mqtt["openWB/optional/int_display/theme"].type,"onUpdate:modelValue":t[5]||(t[5]=n=>u.updateSelectedDisplayTheme(n))},{help:i(()=>[a(" Hier können unterschiedliche Display-Anzeigen, s.g. Themes, ausgewählt werden. Die Anzahl der Themes wird sich mit zukünftigen Releases erhöhen. ")]),_:1},8,["options","model-value"]),e.$store.state.mqtt["openWB/optional/int_display/theme"].type?(s(),f(D,{key:0,displayThemeType:e.$store.state.mqtt["openWB/optional/int_display/theme"].type,configuration:e.$store.state.mqtt["openWB/optional/int_display/theme"].configuration,"onUpdate:configuration":t[6]||(t[6]=n=>u.updateConfiguration("openWB/optional/int_display/theme",n))},null,8,["displayThemeType","configuration"])):y("",!0)])):y("",!0)]))]),_:1}),o(W,{formName:"optionalComponentsForm",onSave:t[7]||(t[7]=n=>e.$emit("save")),onReset:t[8]||(t[8]=n=>e.$emit("reset")),onDefaults:t[9]||(t[9]=n=>e.$emit("defaults"))})])])}const re=g(N,[["render",te],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/OptionalComponents.vue"]]);export{re as default}; diff --git a/web/settings/assets/PVChargeConfig-bdf77700.js b/web/settings/assets/PVChargeConfig-bb943e85.js similarity index 98% rename from web/settings/assets/PVChargeConfig-bdf77700.js rename to web/settings/assets/PVChargeConfig-bb943e85.js index 2d079f62d3..a39a7cc8ca 100644 --- a/web/settings/assets/PVChargeConfig-bdf77700.js +++ b/web/settings/assets/PVChargeConfig-bb943e85.js @@ -1 +1 @@ -import{C as f}from"./index-8fe3a4a0.js";import{_ as w,p as g,k as d,l as u,q as i,A as l,L as r,u as a,y as W,z as B}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const S={name:"OpenwbPVChargeConfig",mixins:[f],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/pv_charging/control_range","openWB/general/chargemode_config/pv_charging/feed_in_yield","openWB/general/chargemode_config/pv_charging/switch_on_threshold","openWB/general/chargemode_config/pv_charging/switch_on_delay","openWB/general/chargemode_config/pv_charging/switch_off_threshold","openWB/general/chargemode_config/pv_charging/switch_off_delay","openWB/general/chargemode_config/pv_charging/phases_to_use","openWB/general/chargemode_config/pv_charging/phase_switch_delay","openWB/general/chargemode_config/pv_charging/bat_prio","openWB/general/chargemode_config/pv_charging/switch_on_soc","openWB/general/chargemode_config/pv_charging/switch_off_soc","openWB/general/chargemode_config/pv_charging/charging_power_reserve","openWB/general/chargemode_config/pv_charging/rundown_power","openWB/general/chargemode_config/pv_charging/rundown_soc"],calculatedControlMode:void 0}},computed:{controlMode:{get(){if(this.calculatedControlMode!==void 0)return this.calculatedControlMode;const e="openWB/general/chargemode_config/pv_charging/control_range";let n=this.$store.state.mqtt[e];var h="individual";return typeof n<"u"&&(n[0]===-230&&n[1]===0?h="export":n[0]===0&&n[1]===230?h="import":h="individual"),h},set(e){const n="openWB/general/chargemode_config/pv_charging/control_range";switch(this.calculatedControlMode=e,e){case"export":this.updateState(n,[-230,0]);break;case"import":this.updateState(n,[0,230]);break}}}},methods:{updateBatterySwitchOnSoc(e){this.updateState("openWB/general/chargemode_config/pv_charging/switch_on_soc",e),e<=this.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_soc"]&&this.updateState("openWB/general/chargemode_config/pv_charging/switch_off_soc",Math.max(0,e-5))},updateBatterySwitchOffSoc(e){this.updateState("openWB/general/chargemode_config/pv_charging/switch_off_soc",e),e>=this.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_soc"]&&this.updateState("openWB/general/chargemode_config/pv_charging/switch_on_soc",e+5)}},watch:{controlMode(e){this.calculatedControlMode=e}}},V={class:"pvChargeConfig"},z={name:"pvChargeConfigForm"},E={key:0},k={key:1},C=i("br",null,null,-1),y=i("hr",null,null,-1),L=i("br",null,null,-1),M=i("hr",null,null,-1),P=i("br",null,null,-1),U=i("hr",null,null,-1),R=i("br",null,null,-1),q=i("br",null,null,-1),A=i("br",null,null,-1),$={key:0},I={key:1},F={key:0},D={key:1},N=i("br",null,null,-1),O=i("br",null,null,-1),Z=i("br",null,null,-1),T=i("br",null,null,-1),H=i("br",null,null,-1),G=i("br",null,null,-1),K=i("hr",null,null,-1);function j(e,n,h,J,Q,s){const p=g("openwb-base-alert"),m=g("openwb-base-button-group-input"),o=g("openwb-base-number-input"),_=g("openwb-base-card"),c=g("openwb-base-range-input"),b=g("openwb-base-heading"),v=g("openwb-base-submit-buttons");return d(),u("div",V,[i("form",z,[l(_,{title:"Regelparameter"},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(d(),u("div",E,[l(p,{subtype:"info"},{default:r(()=>[a(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),u("div",k,[l(m,{title:"Regelmodus",buttons:[{buttonValue:"export",text:"Einspeisung"},{buttonValue:"import",text:"Bezug"},{buttonValue:"individual",text:"Individuell"}],modelValue:s.controlMode,"onUpdate:modelValue":n[0]||(n[0]=t=>s.controlMode=t)},{help:r(()=>[a(" Der Regelbereich wird auf den gesamten Überschuss angewendet, bevor die PV-Regelung durchgeführt wird. D.h. der Regelbereich wird auf alle Einstellungen für das PV-Laden angewendet und nur einmal unabhängig von der Anzahl der angesteckten Fahrzeuge. Liegt der Überschuss im vorgebenen Regelbereich, wird nicht nachgeregelt. Liegt der Überschuss außerhalb des Regelbereichs, wird in die Mitte des Regelbereichs nachgeregelt."),C,a(' "Einspeisung" und "Bezug" definieren einen Bereich mit minimaler Einspeisung (-230W, 0W) bzw. minimalem Netzbezug (0W, 230W). Mit der Auswahl "individuell" kann ein eigener Regelbereich definiert werden. ')]),_:1},8,["modelValue"]),l(o,{disabled:s.controlMode!=="individual",readonly:s.controlMode!=="individual",title:"Minimum",step:.01,unit:"kW","model-value":Array.isArray(e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"])?e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"][0]/1e3:void 0,"onUpdate:modelValue":n[1]||(n[1]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/control_range",t*1e3,"0"))},{help:r(()=>[a(" Untere Grenze des Regelbereichs. ")]),_:1},8,["disabled","readonly","model-value"]),l(o,{disabled:s.controlMode!=="individual",readonly:s.controlMode!=="individual",title:"Maximum",step:.01,unit:"kW","model-value":Array.isArray(e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"])?e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"][1]/1e3:void 0,"onUpdate:modelValue":n[2]||(n[2]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/control_range",t*1e3,"1"))},{help:r(()=>[a("Obere Grenze des Regelbereichs.")]),_:1},8,["disabled","readonly","model-value"]),y,l(o,{title:"Einschaltschwelle",min:0,step:.05,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_threshold"]/1e3,"onUpdate:modelValue":n[3]||(n[3]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_on_threshold",t*1e3))},{help:r(()=>[a(" Wird der Regelbereich in Richtung Einspeisung um diese Leistung überschritten, so wird der Ladevorgang gestartet. ")]),_:1},8,["model-value"]),l(o,{title:"Einschaltverzögerung",min:0,step:1,unit:"s","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_delay"],"onUpdate:modelValue":n[4]||(n[4]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_on_delay",t))},{help:r(()=>[a(" Die Einschaltschwelle muss für die hier angegebene Zeit dauerhaft überschritten werden, bevor ein Ladevorgang gestartet wird."),L,a(" Wenn ein Ladevorgang aktiv ist und auf PV-Laden umgeschaltet wird, wird weiter geladen, wenn die Abschaltschwelle nicht unterschritten wird. ")]),_:1},8,["model-value"]),M,l(o,{title:"Abschaltschwelle",step:.05,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_threshold"]/1e3,"onUpdate:modelValue":n[5]||(n[5]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_off_threshold",t*1e3))},{help:r(()=>[a(" Wird der Regelbereich in Richtung Netzbezug um diese Leistung überschritten, so wird der Ladevorgang beendet. ")]),_:1},8,["model-value"]),l(o,{title:"Abschaltverzögerung",min:0,step:1,unit:"s","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_delay"],"onUpdate:modelValue":n[6]||(n[6]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_off_delay",t))},{help:r(()=>[a(" Die Abschaltschwelle muss für die hier angegebene Zeit dauerhaft unterschritten werden, bevor ein Ladevorgang beendet wird."),P,a(" Wenn ein Ladevorgang aktiv ist und auf PV-Laden umgeschaltet wird, wird die Ladung sofort beendet, wenn die Abschaltschwelle unterschritten wird. ")]),_:1},8,["model-value"]),U,l(o,{title:"Regelpunkt Einspeisegrenze",min:0,step:.05,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/feed_in_yield"]/1e3,"onUpdate:modelValue":n[7]||(n[7]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/feed_in_yield",t*1e3))},{help:r(()=>[a(" Die Nutzung dieser Option ergibt nur Sinn, wenn ein Wechselrichter mit separatem Smart-Meter am EVU-Punkt verbaut ist (nicht der originale Zähler des Versorgers!), welches eine dynamische Begrenzung der Einspeiseleistung am EVU-Punkt durch den PV-Wechselrichter bietet (bitte bei ev. Problemen immer vorab prüfen lassen)."),R,a(' Ist eine Einspeiseleistungsreduzierung verbaut (in vielen älteren, privaten Einspeiseverträgen z.B. als 70% Regelung bekannt), wird mit Eingabe des Wertes "Regelpunkt Einspeisegrenze" ein eigenverbrauchsoptimiertes Fahrzeugladen mit PV-Überschussenergie möglich, die sonst abgeregelt werden würde (Nutzung der PV-Peaks).'),q,a(' Wird in einem "Ladeprofil" die Option "Einspeisegrenze beachten" eingeschaltet, so wird der Regelpunkt auf diesen Wert verschoben und die Ladung startet erst, wenn der hinterlegte Wert "Regelpunkt Einspeisegrenze" überschritten wird.'),A,a(" Zur optimalen Eigenverbrauchssteuerung sollte der Wert einige hundert Watt UNTER der im Wechselrichter hinterlegten EVU-Einspeiseleistungsgrenze liegen, damit openWB die Ladung freigibt, BEVOR der Wechselrichter begrenzt wird. ")]),_:1},8,["model-value"])]))]),_:1}),l(_,{title:"Phasenumschaltung"},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(d(),u("div",$,[l(p,{subtype:"info"},{default:r(()=>[a(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),u("div",I,[l(m,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"},{buttonValue:0,text:"Automatik"}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/phases_to_use"],"onUpdate:modelValue":n[8]||(n[8]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/phases_to_use",t))},{help:r(()=>[a(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "PV-Laden" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Im Modus "Automatik" entscheidet die Regelung, welche Einstellung genutzt wird, um den verfügbaren Überschuss in die Fahrzeuge zu laden. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/phases_to_use"]==0?(d(),W(c,{key:0,title:"Verzögerung automat. Phasenumschaltung",min:1,max:15,step:1,unit:"Min.","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/phase_switch_delay"],"onUpdate:modelValue":n[9]||(n[9]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/phase_switch_delay",t))},{help:r(()=>[a(" Um zu viele Umschaltungen zu vermeiden, wird Anhand dieses Wertes definiert, wann die Umschaltung erfolgen soll. Ist für durchgehend x Minuten die Maximalstromstärke erreicht, wird auf mehrphasige Ladung umgestellt. Ist die Ladung nur für ein Intervall unterhalb der Maximalstromstärke, beginnt das Intervall für die Umschaltung erneut. Ist die Ladung im mehrphasigen Modus für 16 - x Minuten auf der Minimalstromstärke, wird wieder auf einphasige Ladung gewechselt. ")]),_:1},8,["model-value"])):B("",!0)]))]),_:1}),l(_,{title:"Speicher-Beachtung"},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(d(),u("div",F,[l(p,{subtype:"info"},{default:r(()=>[a(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),u("div",D,[l(m,{title:"Priorisierung",buttons:[{buttonValue:!1,text:"Fahrzeuge"},{buttonValue:!0,text:"Speicher"}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/bat_prio"],"onUpdate:modelValue":n[10]||(n[10]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/bat_prio",t))},{help:r(()=>[a(' Sofern ein Hausstromspeicher (im Folgenden "Speicher" genannt) im Energiesystem verbaut ist, kann dieser beim Fahrzeugladen mit berücksichtigt werden. Dies erfolgt passiv über die Berücksichtigung der Speicherleistungswerte und des Speicher-SoC. Eine aktive Speichersteuerung durch openWB ist aktuell mangels Speicherschnittstelle nicht möglich.'),N,O,a(' Bei Priorisierung "Fahrzeuge" wird die gesamte PV-Leistung ABZÜGLICH der "reservierten Ladeleistung" des Speichers zum Fahrzeugladen verwendet.'),Z,T,a(' Bei Priorisierung "Speicher" wird die gesamte PV-Leistung und ZUSÄTZLICH die "erlaubte Entladeleistung" des Speichers (bis zum Erreichen des "minimalen Entlade-SoC" des Speichers) zum Fahrzeugladen verwendet.'),H,G,a(" Beide Modi lassen sich mit den zusätzlichen Einstellungen an die eigenen Bedürfnisse anpassen, so dass auch ein Mischbetrieb möglich ist. ")]),_:1},8,["model-value"]),l(o,{title:"Reservierte Ladeleistung",min:0,step:.1,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/charging_power_reserve"]/1e3,"onUpdate:modelValue":n[11]||(n[11]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/charging_power_reserve",t*1e3))},{help:r(()=>[a(' Die "reservierte Ladeleistung" des Speichers wird von der Regelung auch bei "Fahrzeuge"-Vorrang NICHT für das Fahrzeugladen verwendet und bleibt immer dem Speicher vorbehalten. ')]),_:1},8,["model-value"]),l(o,{title:"Erlaubte Entladeleistung",min:0,step:.1,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/rundown_power"]/1e3,"onUpdate:modelValue":n[12]||(n[12]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/rundown_power",t*1e3))},{help:r(()=>[a(' Die "erlaubte Entladeleistung" des Speichers wird von der Regelung bei "Speicher"-Vorrang ZUSÄTZLICH zur PV-Leistung für das Fahrzeugladen verwendet, solange der Speicher-SoC über dem "minimalen Entlade-SoC" liegt. ')]),_:1},8,["model-value"]),l(c,{title:"Minimaler Entlade-SoC",min:0,max:20,step:1,unit:"%",labels:[{label:0,value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95},{label:"Aus",value:100}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/rundown_soc"],"onUpdate:modelValue":n[13]||(n[13]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/rundown_soc",t))},{help:r(()=>[a(" Ein vorhandener Speicher wird im Modus PV-Laden mit der erlaubten Entladeleistung höchstens bis zu dem hier eingestellten Ladestand entladen. ")]),_:1},8,["model-value"]),K,l(b,null,{default:r(()=>[a(" Laden mit Mindeststrom ")]),_:1}),l(c,{title:"Einschalt-SoC",min:0,max:18,step:1,unit:"%",labels:[{label:"Aus",value:0},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_soc"],"onUpdate:modelValue":n[14]||(n[14]=t=>s.updateBatterySwitchOnSoc(t))},{help:r(()=>[a('Ist der Speicher-SoC größer oder gleich dem "Einschalt-SoC", wird der Speicher im Modus "PV-Laden" bei aktiviertem Mindeststrom bis zum "Ausschalt-SoC" entladen, auch wenn KEIN Überschuss vorhanden ist. Der "Einschalt-SoC" muss größer oder gleich dem "Ausschalt-SoC" sein.')]),_:1},8,["model-value"]),l(c,{title:"Ausschalt-SoC",min:0,max:18,step:1,unit:"%",labels:[{label:"Aus",value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_soc"],"onUpdate:modelValue":n[15]||(n[15]=t=>s.updateBatterySwitchOffSoc(t))},{help:r(()=>[a('Ist der Speicher-SoC größer oder gleich dem "Einschalt-SoC", wird der Speicher im Modus "PV-Laden" bei aktiviertem Mindeststrom bis zum "Ausschalt-SoC" entladen, auch wenn KEIN Überschuss vorhanden ist. Der "Einschalt-SoC" muss größer oder gleich dem "Ausschalt-SoC" sein.')]),_:1},8,["model-value"])]))]),_:1}),l(v,{formName:"pvChargeConfigForm",onSave:n[16]||(n[16]=t=>e.$emit("save")),onReset:n[17]||(n[17]=t=>e.$emit("reset")),onDefaults:n[18]||(n[18]=t=>e.$emit("defaults"))})])])}const le=w(S,[["render",j],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/PVChargeConfig.vue"]]);export{le as default}; +import{C as f}from"./index-baf9de5e.js";import{_ as w,p as g,k as d,l as u,q as i,A as l,L as r,u as a,y as W,z as B}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const S={name:"OpenwbPVChargeConfig",mixins:[f],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/pv_charging/control_range","openWB/general/chargemode_config/pv_charging/feed_in_yield","openWB/general/chargemode_config/pv_charging/switch_on_threshold","openWB/general/chargemode_config/pv_charging/switch_on_delay","openWB/general/chargemode_config/pv_charging/switch_off_threshold","openWB/general/chargemode_config/pv_charging/switch_off_delay","openWB/general/chargemode_config/pv_charging/phases_to_use","openWB/general/chargemode_config/pv_charging/phase_switch_delay","openWB/general/chargemode_config/pv_charging/bat_prio","openWB/general/chargemode_config/pv_charging/switch_on_soc","openWB/general/chargemode_config/pv_charging/switch_off_soc","openWB/general/chargemode_config/pv_charging/charging_power_reserve","openWB/general/chargemode_config/pv_charging/rundown_power","openWB/general/chargemode_config/pv_charging/rundown_soc"],calculatedControlMode:void 0}},computed:{controlMode:{get(){if(this.calculatedControlMode!==void 0)return this.calculatedControlMode;const e="openWB/general/chargemode_config/pv_charging/control_range";let n=this.$store.state.mqtt[e];var h="individual";return typeof n<"u"&&(n[0]===-230&&n[1]===0?h="export":n[0]===0&&n[1]===230?h="import":h="individual"),h},set(e){const n="openWB/general/chargemode_config/pv_charging/control_range";switch(this.calculatedControlMode=e,e){case"export":this.updateState(n,[-230,0]);break;case"import":this.updateState(n,[0,230]);break}}}},methods:{updateBatterySwitchOnSoc(e){this.updateState("openWB/general/chargemode_config/pv_charging/switch_on_soc",e),e<=this.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_soc"]&&this.updateState("openWB/general/chargemode_config/pv_charging/switch_off_soc",Math.max(0,e-5))},updateBatterySwitchOffSoc(e){this.updateState("openWB/general/chargemode_config/pv_charging/switch_off_soc",e),e>=this.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_soc"]&&this.updateState("openWB/general/chargemode_config/pv_charging/switch_on_soc",e+5)}},watch:{controlMode(e){this.calculatedControlMode=e}}},V={class:"pvChargeConfig"},z={name:"pvChargeConfigForm"},E={key:0},k={key:1},C=i("br",null,null,-1),y=i("hr",null,null,-1),L=i("br",null,null,-1),M=i("hr",null,null,-1),P=i("br",null,null,-1),U=i("hr",null,null,-1),R=i("br",null,null,-1),q=i("br",null,null,-1),A=i("br",null,null,-1),$={key:0},I={key:1},F={key:0},D={key:1},N=i("br",null,null,-1),O=i("br",null,null,-1),Z=i("br",null,null,-1),T=i("br",null,null,-1),H=i("br",null,null,-1),G=i("br",null,null,-1),K=i("hr",null,null,-1);function j(e,n,h,J,Q,s){const p=g("openwb-base-alert"),m=g("openwb-base-button-group-input"),o=g("openwb-base-number-input"),_=g("openwb-base-card"),c=g("openwb-base-range-input"),b=g("openwb-base-heading"),v=g("openwb-base-submit-buttons");return d(),u("div",V,[i("form",z,[l(_,{title:"Regelparameter"},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(d(),u("div",E,[l(p,{subtype:"info"},{default:r(()=>[a(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),u("div",k,[l(m,{title:"Regelmodus",buttons:[{buttonValue:"export",text:"Einspeisung"},{buttonValue:"import",text:"Bezug"},{buttonValue:"individual",text:"Individuell"}],modelValue:s.controlMode,"onUpdate:modelValue":n[0]||(n[0]=t=>s.controlMode=t)},{help:r(()=>[a(" Der Regelbereich wird auf den gesamten Überschuss angewendet, bevor die PV-Regelung durchgeführt wird. D.h. der Regelbereich wird auf alle Einstellungen für das PV-Laden angewendet und nur einmal unabhängig von der Anzahl der angesteckten Fahrzeuge. Liegt der Überschuss im vorgebenen Regelbereich, wird nicht nachgeregelt. Liegt der Überschuss außerhalb des Regelbereichs, wird in die Mitte des Regelbereichs nachgeregelt."),C,a(' "Einspeisung" und "Bezug" definieren einen Bereich mit minimaler Einspeisung (-230W, 0W) bzw. minimalem Netzbezug (0W, 230W). Mit der Auswahl "individuell" kann ein eigener Regelbereich definiert werden. ')]),_:1},8,["modelValue"]),l(o,{disabled:s.controlMode!=="individual",readonly:s.controlMode!=="individual",title:"Minimum",step:.01,unit:"kW","model-value":Array.isArray(e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"])?e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"][0]/1e3:void 0,"onUpdate:modelValue":n[1]||(n[1]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/control_range",t*1e3,"0"))},{help:r(()=>[a(" Untere Grenze des Regelbereichs. ")]),_:1},8,["disabled","readonly","model-value"]),l(o,{disabled:s.controlMode!=="individual",readonly:s.controlMode!=="individual",title:"Maximum",step:.01,unit:"kW","model-value":Array.isArray(e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"])?e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/control_range"][1]/1e3:void 0,"onUpdate:modelValue":n[2]||(n[2]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/control_range",t*1e3,"1"))},{help:r(()=>[a("Obere Grenze des Regelbereichs.")]),_:1},8,["disabled","readonly","model-value"]),y,l(o,{title:"Einschaltschwelle",min:0,step:.05,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_threshold"]/1e3,"onUpdate:modelValue":n[3]||(n[3]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_on_threshold",t*1e3))},{help:r(()=>[a(" Wird der Regelbereich in Richtung Einspeisung um diese Leistung überschritten, so wird der Ladevorgang gestartet. ")]),_:1},8,["model-value"]),l(o,{title:"Einschaltverzögerung",min:0,step:1,unit:"s","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_delay"],"onUpdate:modelValue":n[4]||(n[4]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_on_delay",t))},{help:r(()=>[a(" Die Einschaltschwelle muss für die hier angegebene Zeit dauerhaft überschritten werden, bevor ein Ladevorgang gestartet wird."),L,a(" Wenn ein Ladevorgang aktiv ist und auf PV-Laden umgeschaltet wird, wird weiter geladen, wenn die Abschaltschwelle nicht unterschritten wird. ")]),_:1},8,["model-value"]),M,l(o,{title:"Abschaltschwelle",step:.05,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_threshold"]/1e3,"onUpdate:modelValue":n[5]||(n[5]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_off_threshold",t*1e3))},{help:r(()=>[a(" Wird der Regelbereich in Richtung Netzbezug um diese Leistung überschritten, so wird der Ladevorgang beendet. ")]),_:1},8,["model-value"]),l(o,{title:"Abschaltverzögerung",min:0,step:1,unit:"s","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_delay"],"onUpdate:modelValue":n[6]||(n[6]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/switch_off_delay",t))},{help:r(()=>[a(" Die Abschaltschwelle muss für die hier angegebene Zeit dauerhaft unterschritten werden, bevor ein Ladevorgang beendet wird."),P,a(" Wenn ein Ladevorgang aktiv ist und auf PV-Laden umgeschaltet wird, wird die Ladung sofort beendet, wenn die Abschaltschwelle unterschritten wird. ")]),_:1},8,["model-value"]),U,l(o,{title:"Regelpunkt Einspeisegrenze",min:0,step:.05,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/feed_in_yield"]/1e3,"onUpdate:modelValue":n[7]||(n[7]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/feed_in_yield",t*1e3))},{help:r(()=>[a(" Die Nutzung dieser Option ergibt nur Sinn, wenn ein Wechselrichter mit separatem Smart-Meter am EVU-Punkt verbaut ist (nicht der originale Zähler des Versorgers!), welches eine dynamische Begrenzung der Einspeiseleistung am EVU-Punkt durch den PV-Wechselrichter bietet (bitte bei ev. Problemen immer vorab prüfen lassen)."),R,a(' Ist eine Einspeiseleistungsreduzierung verbaut (in vielen älteren, privaten Einspeiseverträgen z.B. als 70% Regelung bekannt), wird mit Eingabe des Wertes "Regelpunkt Einspeisegrenze" ein eigenverbrauchsoptimiertes Fahrzeugladen mit PV-Überschussenergie möglich, die sonst abgeregelt werden würde (Nutzung der PV-Peaks).'),q,a(' Wird in einem "Ladeprofil" die Option "Einspeisegrenze beachten" eingeschaltet, so wird der Regelpunkt auf diesen Wert verschoben und die Ladung startet erst, wenn der hinterlegte Wert "Regelpunkt Einspeisegrenze" überschritten wird.'),A,a(" Zur optimalen Eigenverbrauchssteuerung sollte der Wert einige hundert Watt UNTER der im Wechselrichter hinterlegten EVU-Einspeiseleistungsgrenze liegen, damit openWB die Ladung freigibt, BEVOR der Wechselrichter begrenzt wird. ")]),_:1},8,["model-value"])]))]),_:1}),l(_,{title:"Phasenumschaltung"},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(d(),u("div",$,[l(p,{subtype:"info"},{default:r(()=>[a(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),u("div",I,[l(m,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"},{buttonValue:0,text:"Automatik"}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/phases_to_use"],"onUpdate:modelValue":n[8]||(n[8]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/phases_to_use",t))},{help:r(()=>[a(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "PV-Laden" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Im Modus "Automatik" entscheidet die Regelung, welche Einstellung genutzt wird, um den verfügbaren Überschuss in die Fahrzeuge zu laden. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"]),e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/phases_to_use"]==0?(d(),W(c,{key:0,title:"Verzögerung automat. Phasenumschaltung",min:1,max:15,step:1,unit:"Min.","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/phase_switch_delay"],"onUpdate:modelValue":n[9]||(n[9]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/phase_switch_delay",t))},{help:r(()=>[a(" Um zu viele Umschaltungen zu vermeiden, wird Anhand dieses Wertes definiert, wann die Umschaltung erfolgen soll. Ist für durchgehend x Minuten die Maximalstromstärke erreicht, wird auf mehrphasige Ladung umgestellt. Ist die Ladung nur für ein Intervall unterhalb der Maximalstromstärke, beginnt das Intervall für die Umschaltung erneut. Ist die Ladung im mehrphasigen Modus für 16 - x Minuten auf der Minimalstromstärke, wird wieder auf einphasige Ladung gewechselt. ")]),_:1},8,["model-value"])):B("",!0)]))]),_:1}),l(_,{title:"Speicher-Beachtung"},{default:r(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(d(),u("div",F,[l(p,{subtype:"info"},{default:r(()=>[a(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(d(),u("div",D,[l(m,{title:"Priorisierung",buttons:[{buttonValue:!1,text:"Fahrzeuge"},{buttonValue:!0,text:"Speicher"}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/bat_prio"],"onUpdate:modelValue":n[10]||(n[10]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/bat_prio",t))},{help:r(()=>[a(' Sofern ein Hausstromspeicher (im Folgenden "Speicher" genannt) im Energiesystem verbaut ist, kann dieser beim Fahrzeugladen mit berücksichtigt werden. Dies erfolgt passiv über die Berücksichtigung der Speicherleistungswerte und des Speicher-SoC. Eine aktive Speichersteuerung durch openWB ist aktuell mangels Speicherschnittstelle nicht möglich.'),N,O,a(' Bei Priorisierung "Fahrzeuge" wird die gesamte PV-Leistung ABZÜGLICH der "reservierten Ladeleistung" des Speichers zum Fahrzeugladen verwendet.'),Z,T,a(' Bei Priorisierung "Speicher" wird die gesamte PV-Leistung und ZUSÄTZLICH die "erlaubte Entladeleistung" des Speichers (bis zum Erreichen des "minimalen Entlade-SoC" des Speichers) zum Fahrzeugladen verwendet.'),H,G,a(" Beide Modi lassen sich mit den zusätzlichen Einstellungen an die eigenen Bedürfnisse anpassen, so dass auch ein Mischbetrieb möglich ist. ")]),_:1},8,["model-value"]),l(o,{title:"Reservierte Ladeleistung",min:0,step:.1,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/charging_power_reserve"]/1e3,"onUpdate:modelValue":n[11]||(n[11]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/charging_power_reserve",t*1e3))},{help:r(()=>[a(' Die "reservierte Ladeleistung" des Speichers wird von der Regelung auch bei "Fahrzeuge"-Vorrang NICHT für das Fahrzeugladen verwendet und bleibt immer dem Speicher vorbehalten. ')]),_:1},8,["model-value"]),l(o,{title:"Erlaubte Entladeleistung",min:0,step:.1,unit:"kW","model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/rundown_power"]/1e3,"onUpdate:modelValue":n[12]||(n[12]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/rundown_power",t*1e3))},{help:r(()=>[a(' Die "erlaubte Entladeleistung" des Speichers wird von der Regelung bei "Speicher"-Vorrang ZUSÄTZLICH zur PV-Leistung für das Fahrzeugladen verwendet, solange der Speicher-SoC über dem "minimalen Entlade-SoC" liegt. ')]),_:1},8,["model-value"]),l(c,{title:"Minimaler Entlade-SoC",min:0,max:20,step:1,unit:"%",labels:[{label:0,value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95},{label:"Aus",value:100}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/rundown_soc"],"onUpdate:modelValue":n[13]||(n[13]=t=>e.updateState("openWB/general/chargemode_config/pv_charging/rundown_soc",t))},{help:r(()=>[a(" Ein vorhandener Speicher wird im Modus PV-Laden mit der erlaubten Entladeleistung höchstens bis zu dem hier eingestellten Ladestand entladen. ")]),_:1},8,["model-value"]),K,l(b,null,{default:r(()=>[a(" Laden mit Mindeststrom ")]),_:1}),l(c,{title:"Einschalt-SoC",min:0,max:18,step:1,unit:"%",labels:[{label:"Aus",value:0},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_on_soc"],"onUpdate:modelValue":n[14]||(n[14]=t=>s.updateBatterySwitchOnSoc(t))},{help:r(()=>[a('Ist der Speicher-SoC größer oder gleich dem "Einschalt-SoC", wird der Speicher im Modus "PV-Laden" bei aktiviertem Mindeststrom bis zum "Ausschalt-SoC" entladen, auch wenn KEIN Überschuss vorhanden ist. Der "Einschalt-SoC" muss größer oder gleich dem "Ausschalt-SoC" sein.')]),_:1},8,["model-value"]),l(c,{title:"Ausschalt-SoC",min:0,max:18,step:1,unit:"%",labels:[{label:"Aus",value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90}],"model-value":e.$store.state.mqtt["openWB/general/chargemode_config/pv_charging/switch_off_soc"],"onUpdate:modelValue":n[15]||(n[15]=t=>s.updateBatterySwitchOffSoc(t))},{help:r(()=>[a('Ist der Speicher-SoC größer oder gleich dem "Einschalt-SoC", wird der Speicher im Modus "PV-Laden" bei aktiviertem Mindeststrom bis zum "Ausschalt-SoC" entladen, auch wenn KEIN Überschuss vorhanden ist. Der "Einschalt-SoC" muss größer oder gleich dem "Ausschalt-SoC" sein.')]),_:1},8,["model-value"])]))]),_:1}),l(v,{formName:"pvChargeConfigForm",onSave:n[16]||(n[16]=t=>e.$emit("save")),onReset:n[17]||(n[17]=t=>e.$emit("reset")),onDefaults:n[18]||(n[18]=t=>e.$emit("defaults"))})])])}const le=w(S,[["render",j],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/PVChargeConfig.vue"]]);export{le as default}; diff --git a/web/settings/assets/ScheduledChargeConfig-0b228dff.js b/web/settings/assets/ScheduledChargeConfig-e8a136fb.js similarity index 85% rename from web/settings/assets/ScheduledChargeConfig-0b228dff.js rename to web/settings/assets/ScheduledChargeConfig-e8a136fb.js index 3b71148b47..afdd08dced 100644 --- a/web/settings/assets/ScheduledChargeConfig-0b228dff.js +++ b/web/settings/assets/ScheduledChargeConfig-e8a136fb.js @@ -1 +1 @@ -import{C as g}from"./index-8fe3a4a0.js";import{_ as h,p as o,k as a,l as i,q as c,A as s,L as r,u}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"OpenwbScheduledChargeConfig",mixins:[g],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/scheduled_charging/phases_to_use"]}}},b={class:"scheduledChargeConfig"},f={name:"scheduledChargeConfigForm"},v={key:0},w={key:1};function C(t,e,$,k,B,V){const d=o("openwb-base-alert"),l=o("openwb-base-button-group-input"),m=o("openwb-base-card"),p=o("openwb-base-submit-buttons");return a(),i("div",b,[c("form",f,[s(m,{title:"Phasenumschaltung"},{default:r(()=>[t.$store.state.mqtt["openWB/general/extern"]===!0?(a(),i("div",v,[s(d,{subtype:"info"},{default:r(()=>[u(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(a(),i("div",w,[s(l,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"},{buttonValue:0,text:"Automatik"}],"model-value":t.$store.state.mqtt["openWB/general/chargemode_config/scheduled_charging/phases_to_use"],"onUpdate:modelValue":e[0]||(e[0]=n=>t.updateState("openWB/general/chargemode_config/scheduled_charging/phases_to_use",n))},{help:r(()=>[u(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "Zielladen" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Im Modus "Automatik" entscheidet die Regelung, welche Einstellung genutzt wird, um das Ziel zu erreichen. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"])]))]),_:1}),s(p,{formName:"scheduledChargeConfigForm",onSave:e[1]||(e[1]=n=>t.$emit("save")),onReset:e[2]||(e[2]=n=>t.$emit("reset")),onDefaults:e[3]||(e[3]=n=>t.$emit("defaults"))})])])}const E=h(_,[["render",C],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/ScheduledChargeConfig.vue"]]);export{E as default}; +import{C as g}from"./index-baf9de5e.js";import{_ as h,p as o,k as a,l as i,q as c,A as s,L as r,u}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"OpenwbScheduledChargeConfig",mixins:[g],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/scheduled_charging/phases_to_use"]}}},b={class:"scheduledChargeConfig"},f={name:"scheduledChargeConfigForm"},v={key:0},w={key:1};function C(t,e,$,k,B,V){const d=o("openwb-base-alert"),l=o("openwb-base-button-group-input"),m=o("openwb-base-card"),p=o("openwb-base-submit-buttons");return a(),i("div",b,[c("form",f,[s(m,{title:"Phasenumschaltung"},{default:r(()=>[t.$store.state.mqtt["openWB/general/extern"]===!0?(a(),i("div",v,[s(d,{subtype:"info"},{default:r(()=>[u(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(a(),i("div",w,[s(l,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"},{buttonValue:0,text:"Automatik"}],"model-value":t.$store.state.mqtt["openWB/general/chargemode_config/scheduled_charging/phases_to_use"],"onUpdate:modelValue":e[0]||(e[0]=n=>t.updateState("openWB/general/chargemode_config/scheduled_charging/phases_to_use",n))},{help:r(()=>[u(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "Zielladen" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Im Modus "Automatik" entscheidet die Regelung, welche Einstellung genutzt wird, um das Ziel zu erreichen. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"])]))]),_:1}),s(p,{formName:"scheduledChargeConfigForm",onSave:e[1]||(e[1]=n=>t.$emit("save")),onReset:e[2]||(e[2]=n=>t.$emit("reset")),onDefaults:e[3]||(e[3]=n=>t.$emit("defaults"))})])])}const E=h(_,[["render",C],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/ScheduledChargeConfig.vue"]]);export{E as default}; diff --git a/web/settings/assets/Status-6bdeaa0d.js b/web/settings/assets/Status-19c15ea3.js similarity index 98% rename from web/settings/assets/Status-6bdeaa0d.js rename to web/settings/assets/Status-19c15ea3.js index c70d43b57e..2b1f478ada 100644 --- a/web/settings/assets/Status-6bdeaa0d.js +++ b/web/settings/assets/Status-19c15ea3.js @@ -1 +1 @@ -import{l as q,G as N,H as C,c as L,I as S,J as P,K as A,L as V,M as z,F as H}from"./vendor-fortawesome-12056596.js";import{C as Z}from"./index-8fe3a4a0.js";import{_ as D,p as W,k as s,l as x,y as u,L as n,z as k,G as _,I as w,A as t,u as r,x as p,Q as M,R as E,q as h}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";q.add(N,C,L,S,P,A,V,z);const O={name:"OpenwbStatus",mixins:[Z],components:{FontAwesomeIcon:H},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/chargepoint/get/power","openWB/chargepoint/get/imported","openWB/chargepoint/get/exported","openWB/chargepoint/get/daily_imported","openWB/chargepoint/get/daily_exported","openWB/chargepoint/+/config","openWB/chargepoint/+/get/+","openWB/chargepoint/+/get/connected_vehicle/info","openWB/chargepoint/+/set/+","openWB/system/device/+/component/+/config","openWB/counter/+/get/+","openWB/pv/get/+","openWB/pv/+/get/+","openWB/bat/get/+","openWB/bat/+/get/+","openWB/vehicle/+/name","openWB/vehicle/+/get/+"],statusLevel:["success","warning","danger"]}},computed:{installedChargePoints:{get(){let e=this.getWildcardTopics("openWB/chargepoint/+/config"),y={};for(const[b,v]of Object.entries(e))(v.type==="internal_openwb"||this.$store.state.mqtt["openWB/general/extern"]===!1)&&(y[b]=v);return y}},numChargePointsInstalled:{get(){return Object.keys(this.installedChargePoints).length}},counterConfigs:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.filterComponentsByType(this.getWildcardTopics("openWB/system/device/+/component/+/config"),"counter")}},numInvertersInstalled:{get(){return Object.keys(this.inverterConfigs).length}},inverterConfigs:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.filterComponentsByType(this.getWildcardTopics("openWB/system/device/+/component/+/config"),"inverter")}},numBatteriesInstalled:{get(){return Object.keys(this.batteryConfigs).length}},batteryConfigs:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.filterComponentsByType(this.getWildcardTopics("openWB/system/device/+/component/+/config"),"bat")}},vehicleNames:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.getWildcardTopics("openWB/vehicle/+/name")}}},methods:{filterComponentsByType(e,y){return Object.keys(e).filter(b=>e[b].type.includes(y)).reduce((b,v)=>({...b,[v]:e[v]}),{})},getChargePointIndex(e){return parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1])},getComponentIndex(e){return parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1])},getVehicleIndex(e){return parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1])}}},f=e=>(M("data-v-051028a3"),e=e(),E(),e),j={class:"status"},F=f(()=>h("br",null,null,-1)),$=f(()=>h("br",null,null,-1)),G=f(()=>h("br",null,null,-1)),J=f(()=>h("br",null,null,-1)),R=f(()=>h("br",null,null,-1)),Q=f(()=>h("br",null,null,-1)),U=f(()=>h("br",null,null,-1)),X=f(()=>h("br",null,null,-1));function Y(e,y,b,v,B,o){const d=W("font-awesome-icon"),l=W("openwb-base-text-input"),m=W("openwb-base-heading"),c=W("openwb-base-card"),g=W("openwb-base-alert"),T=W("openwb-base-checkbox-input"),I=W("openwb-base-number-input");return s(),x("div",j,[o.numChargePointsInstalled>1&&e.$store.state.mqtt["openWB/general/extern"]===!1?(s(),u(c,{key:0,subtype:"primary",collapsible:!0,collapsed:!0},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","charging-station"]}),r(" Alle Ladepunkte ")]),default:n(()=>[t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/chargepoint/get/power",3,3,.001)},null,8,["model-value"]),t(l,{title:"Zählerstand laden",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Zählerstand entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/exported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Historie")]),_:1}),t(l,{title:"Heute geladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/daily_imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Heute entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/daily_exported",3,3,.001)},null,8,["model-value"])]),_:1})):k("",!0),(s(!0),x(_,null,w(o.installedChargePoints,(a,i)=>(s(),u(c,{key:i,collapsible:!0,collapsed:!0,subtype:"primary"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","charging-station"]}),r(" "+p(a.name)+" (ID: "+p(o.getChargePointIndex(i))+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),F,r(" "+p(e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),t(g,{subtype:"info"},{default:n(()=>[r(" Statusmeldung:"),$,r(" "+p(e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/state_str"]),1)]),_:2},1024),t(T,{title:"Fahrzeug angesteckt",disabled:"","model-value":e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/plug_state"]==1},null,8,["model-value"]),t(T,{title:"Ladevorgang aktiv",disabled:"","model-value":e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/charge_state"]==1},null,8,["model-value"]),t(l,{title:"Zählerstand laden",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Zählerstand entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Heute geladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/daily_imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Heute entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/daily_exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/power",3,3,.001)},null,8,["model-value"]),t(l,{title:"Ladestromvorgabe",readonly:"",class:"text-right text-monospace",step:"0.01",unit:"A","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/set/current",2)},null,8,["model-value"]),t(l,{title:"Netzfrequenz",readonly:"",class:"text-right text-monospace",step:"0.01",unit:"Hz","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/frequency",2)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Werte pro Phase")]),_:1}),t(l,{title:"Spannung",readonly:"",class:"text-right text-monospace",unit:"V","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/voltages",1)},null,8,["model-value"]),t(l,{title:"Strom",readonly:"",class:"text-right text-monospace",unit:"A","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/currents",2)},null,8,["model-value"]),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",unit:"kW","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/powers",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistungsfaktor",readonly:"",class:"text-right text-monospace","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/power_factors",2)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Phasen")]),_:1}),t(l,{title:"Vorgabe",readonly:"",class:"text-right text-monospace","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/set/phases_to_use")},null,8,["model-value"]),t(l,{title:"Aktuell",readonly:"",class:"text-right text-monospace","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/phases_in_use")},null,8,["model-value"])]),_:2},1024))),128)),(s(!0),x(_,null,w(o.counterConfigs,a=>(s(),u(c,{key:a.id,title:a.name+" (ID: "+a.id+")",collapsible:!0,collapsed:!0,subtype:"danger"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","gauge-high"]}),r(" "+p(a.name)+" (ID: "+p(a.id)+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),G,r(" "+p(e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),e.$store.state.mqtt["openWB/counter/"+a.id+"/get/state_str"]!=null?(s(),u(g,{key:0,subtype:"info"},{default:n(()=>[r(" Statusmeldung:"),J,r(" "+p(e.$store.state.mqtt["openWB/counter/"+a.id+"/get/state_str"]),1)]),_:2},1024)):k("",!0),t(m,null,{default:n(()=>[r("Zählerstände")]),_:1}),t(l,{title:"Export",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Import",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/imported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Saldierte Werte")]),_:1}),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/power",3,3,.001)},null,8,["model-value"]),t(l,{title:"Netzfrequenz",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"Hz","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/frequency",3)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Werte pro Phase")]),_:1}),t(l,{title:"Spannung",readonly:"",class:"text-right text-monospace",unit:"V","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/voltages",1)},null,8,["model-value"]),t(l,{title:"Strom",readonly:"",class:"text-right text-monospace",unit:"A","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/currents",2)},null,8,["model-value"]),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",unit:"kW","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/powers",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistungsfaktor",readonly:"",class:"text-right text-monospace","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/power_factors",2)},null,8,["model-value"])]),_:2},1032,["title"]))),128)),o.numInvertersInstalled>1&&e.$store.state.mqtt["openWB/general/extern"]===!1?(s(),u(c,{key:1,subtype:"success",collapsible:!0,collapsed:!0},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","solar-panel"]}),r(" Alle Wechselrichter ")]),default:n(()=>[t(l,{title:"Zählerstand",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/pv/get/power",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Erträge")]),_:1}),t(l,{title:"Heute",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/daily_exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Dieser Monat",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/monthly_exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Dieses Jahr",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/yearly_exported",3,3,.001)},null,8,["model-value"])]),_:1})):k("",!0),(s(!0),x(_,null,w(o.inverterConfigs,a=>(s(),u(c,{key:a.id,collapsible:!0,collapsed:!0,subtype:"success"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","solar-panel"]}),r(" "+p(a.name)+" (ID: "+p(a.id)+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),R,r(" "+p(e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),t(l,{title:"Zählerstand",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/"+a.id+"/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/pv/"+a.id+"/get/power",3,3,.001)},null,8,["model-value"])]),_:2},1024))),128)),o.numBatteriesInstalled>1&&e.$store.state.mqtt["openWB/general/extern"]===!1?(s(),u(c,{key:2,subtype:"warning",collapsible:!0,collapsed:!0},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","car-battery"]}),r(" Alle Speicher ")]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/bat/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/bat/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/bat/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),Q,r(" "+p(e.$store.state.mqtt["openWB/bat/get/fault_str"]),1)]),_:1},8,["subtype"]),t(m,null,{default:n(()=>[r("Zählerstände")]),_:1}),t(l,{title:"Ladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Entladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/exported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Tageswerte")]),_:1}),t(l,{title:"Ladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/daily_imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Entladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/daily_exported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Saldierte Werte")]),_:1}),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/bat/get/power",3,3,.001)},null,8,["model-value"]),t(I,{title:"Ladestand",readonly:"",class:"text-right text-monospace",unit:"%","model-value":e.$store.state.mqtt["openWB/bat/get/soc"]},null,8,["model-value"])]),_:1})):k("",!0),(s(!0),x(_,null,w(o.batteryConfigs,a=>(s(),u(c,{key:a.id,collapsible:!0,collapsed:!0,subtype:"warning"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","car-battery"]}),r(" "+p(a.name)+" (ID: "+p(a.id)+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),U,r(" "+p(e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),t(m,null,{default:n(()=>[r("Aktuelle Werte")]),_:1}),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/bat/"+a.id+"/get/power",3,3,.001)},null,8,["model-value"]),t(I,{title:"Ladestand",readonly:"",class:"text-right text-monospace",unit:"%","model-value":e.$store.state.mqtt["openWB/bat/"+a.id+"/get/soc"]},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Zählerstände")]),_:1}),t(l,{title:"Ladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/"+a.id+"/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Entladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/"+a.id+"/get/exported",3,3,.001)},null,8,["model-value"])]),_:2},1024))),128)),(s(!0),x(_,null,w(o.vehicleNames,(a,i)=>(s(),u(c,{key:i,collapsible:!0,collapsed:!0,subtype:"info"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","car"]}),r(" "+p(a)+" (ID: "+p(o.getVehicleIndex(i))+") ",1)]),default:n(()=>[e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]!==void 0?(s(),u(g,{key:0,subtype:B.statusLevel[e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),X,r(" "+p(e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_str"]),1)]),_:2},1032,["subtype"])):k("",!0),t(m,null,{default:n(()=>[r("Fahrzeugdaten")]),_:1}),t(I,{title:"Ladestand",readonly:"",class:"text-right text-monospace",unit:"%","model-value":e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/soc"]},null,8,["model-value"]),t(I,{title:"Reichweite",readonly:"",class:"text-right text-monospace",unit:"km","model-value":Math.round(e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/range"])},null,8,["model-value"]),t(l,{title:"Letzter Zeitstempel",readonly:"",class:"text-right text-monospace","model-value":e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/soc_timestamp"]},null,8,["model-value"])]),_:2},1024))),128))])}const re=D(O,[["render",Y],["__scopeId","data-v-051028a3"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/Status.vue"]]);export{re as default}; +import{l as q,G as N,H as C,c as L,I as S,J as P,K as A,L as V,M as z,F as H}from"./vendor-fortawesome-349077b4.js";import{C as Z}from"./index-baf9de5e.js";import{_ as D,p as W,k as s,l as x,y as u,L as n,z as k,G as _,I as w,A as t,u as r,x as p,Q as M,R as E,q as h}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";q.add(N,C,L,S,P,A,V,z);const O={name:"OpenwbStatus",mixins:[Z],components:{FontAwesomeIcon:H},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/chargepoint/get/power","openWB/chargepoint/get/imported","openWB/chargepoint/get/exported","openWB/chargepoint/get/daily_imported","openWB/chargepoint/get/daily_exported","openWB/chargepoint/+/config","openWB/chargepoint/+/get/+","openWB/chargepoint/+/get/connected_vehicle/info","openWB/chargepoint/+/set/+","openWB/system/device/+/component/+/config","openWB/counter/+/get/+","openWB/pv/get/+","openWB/pv/+/get/+","openWB/bat/get/+","openWB/bat/+/get/+","openWB/vehicle/+/name","openWB/vehicle/+/get/+"],statusLevel:["success","warning","danger"]}},computed:{installedChargePoints:{get(){let e=this.getWildcardTopics("openWB/chargepoint/+/config"),y={};for(const[b,v]of Object.entries(e))(v.type==="internal_openwb"||this.$store.state.mqtt["openWB/general/extern"]===!1)&&(y[b]=v);return y}},numChargePointsInstalled:{get(){return Object.keys(this.installedChargePoints).length}},counterConfigs:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.filterComponentsByType(this.getWildcardTopics("openWB/system/device/+/component/+/config"),"counter")}},numInvertersInstalled:{get(){return Object.keys(this.inverterConfigs).length}},inverterConfigs:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.filterComponentsByType(this.getWildcardTopics("openWB/system/device/+/component/+/config"),"inverter")}},numBatteriesInstalled:{get(){return Object.keys(this.batteryConfigs).length}},batteryConfigs:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.filterComponentsByType(this.getWildcardTopics("openWB/system/device/+/component/+/config"),"bat")}},vehicleNames:{get(){return this.$store.state.mqtt["openWB/general/extern"]===!0?{}:this.getWildcardTopics("openWB/vehicle/+/name")}}},methods:{filterComponentsByType(e,y){return Object.keys(e).filter(b=>e[b].type.includes(y)).reduce((b,v)=>({...b,[v]:e[v]}),{})},getChargePointIndex(e){return parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1])},getComponentIndex(e){return parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1])},getVehicleIndex(e){return parseInt(e.match(/(?:\/)(\d+)(?=\/)/)[1])}}},f=e=>(M("data-v-051028a3"),e=e(),E(),e),j={class:"status"},F=f(()=>h("br",null,null,-1)),$=f(()=>h("br",null,null,-1)),G=f(()=>h("br",null,null,-1)),J=f(()=>h("br",null,null,-1)),R=f(()=>h("br",null,null,-1)),Q=f(()=>h("br",null,null,-1)),U=f(()=>h("br",null,null,-1)),X=f(()=>h("br",null,null,-1));function Y(e,y,b,v,B,o){const d=W("font-awesome-icon"),l=W("openwb-base-text-input"),m=W("openwb-base-heading"),c=W("openwb-base-card"),g=W("openwb-base-alert"),T=W("openwb-base-checkbox-input"),I=W("openwb-base-number-input");return s(),x("div",j,[o.numChargePointsInstalled>1&&e.$store.state.mqtt["openWB/general/extern"]===!1?(s(),u(c,{key:0,subtype:"primary",collapsible:!0,collapsed:!0},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","charging-station"]}),r(" Alle Ladepunkte ")]),default:n(()=>[t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/chargepoint/get/power",3,3,.001)},null,8,["model-value"]),t(l,{title:"Zählerstand laden",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Zählerstand entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/exported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Historie")]),_:1}),t(l,{title:"Heute geladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/daily_imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Heute entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/get/daily_exported",3,3,.001)},null,8,["model-value"])]),_:1})):k("",!0),(s(!0),x(_,null,w(o.installedChargePoints,(a,i)=>(s(),u(c,{key:i,collapsible:!0,collapsed:!0,subtype:"primary"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","charging-station"]}),r(" "+p(a.name)+" (ID: "+p(o.getChargePointIndex(i))+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),F,r(" "+p(e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),t(g,{subtype:"info"},{default:n(()=>[r(" Statusmeldung:"),$,r(" "+p(e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/state_str"]),1)]),_:2},1024),t(T,{title:"Fahrzeug angesteckt",disabled:"","model-value":e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/plug_state"]==1},null,8,["model-value"]),t(T,{title:"Ladevorgang aktiv",disabled:"","model-value":e.$store.state.mqtt["openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/charge_state"]==1},null,8,["model-value"]),t(l,{title:"Zählerstand laden",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Zählerstand entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Heute geladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/daily_imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Heute entladen",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/daily_exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/power",3,3,.001)},null,8,["model-value"]),t(l,{title:"Ladestromvorgabe",readonly:"",class:"text-right text-monospace",step:"0.01",unit:"A","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/set/current",2)},null,8,["model-value"]),t(l,{title:"Netzfrequenz",readonly:"",class:"text-right text-monospace",step:"0.01",unit:"Hz","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/frequency",2)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Werte pro Phase")]),_:1}),t(l,{title:"Spannung",readonly:"",class:"text-right text-monospace",unit:"V","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/voltages",1)},null,8,["model-value"]),t(l,{title:"Strom",readonly:"",class:"text-right text-monospace",unit:"A","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/currents",2)},null,8,["model-value"]),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",unit:"kW","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/powers",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistungsfaktor",readonly:"",class:"text-right text-monospace","model-value":e.formatPhaseArrayNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/power_factors",2)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Phasen")]),_:1}),t(l,{title:"Vorgabe",readonly:"",class:"text-right text-monospace","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/set/phases_to_use")},null,8,["model-value"]),t(l,{title:"Aktuell",readonly:"",class:"text-right text-monospace","model-value":e.formatNumberTopic("openWB/chargepoint/"+o.getChargePointIndex(i)+"/get/phases_in_use")},null,8,["model-value"])]),_:2},1024))),128)),(s(!0),x(_,null,w(o.counterConfigs,a=>(s(),u(c,{key:a.id,title:a.name+" (ID: "+a.id+")",collapsible:!0,collapsed:!0,subtype:"danger"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","gauge-high"]}),r(" "+p(a.name)+" (ID: "+p(a.id)+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),G,r(" "+p(e.$store.state.mqtt["openWB/counter/"+a.id+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),e.$store.state.mqtt["openWB/counter/"+a.id+"/get/state_str"]!=null?(s(),u(g,{key:0,subtype:"info"},{default:n(()=>[r(" Statusmeldung:"),J,r(" "+p(e.$store.state.mqtt["openWB/counter/"+a.id+"/get/state_str"]),1)]),_:2},1024)):k("",!0),t(m,null,{default:n(()=>[r("Zählerstände")]),_:1}),t(l,{title:"Export",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Import",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/imported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Saldierte Werte")]),_:1}),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/power",3,3,.001)},null,8,["model-value"]),t(l,{title:"Netzfrequenz",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"Hz","model-value":e.formatNumberTopic("openWB/counter/"+a.id+"/get/frequency",3)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Werte pro Phase")]),_:1}),t(l,{title:"Spannung",readonly:"",class:"text-right text-monospace",unit:"V","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/voltages",1)},null,8,["model-value"]),t(l,{title:"Strom",readonly:"",class:"text-right text-monospace",unit:"A","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/currents",2)},null,8,["model-value"]),t(l,{title:"Wirkleistung",readonly:"",class:"text-right text-monospace",unit:"kW","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/powers",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistungsfaktor",readonly:"",class:"text-right text-monospace","model-value":e.formatPhaseArrayNumberTopic("openWB/counter/"+a.id+"/get/power_factors",2)},null,8,["model-value"])]),_:2},1032,["title"]))),128)),o.numInvertersInstalled>1&&e.$store.state.mqtt["openWB/general/extern"]===!1?(s(),u(c,{key:1,subtype:"success",collapsible:!0,collapsed:!0},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","solar-panel"]}),r(" Alle Wechselrichter ")]),default:n(()=>[t(l,{title:"Zählerstand",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/pv/get/power",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Erträge")]),_:1}),t(l,{title:"Heute",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/daily_exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Dieser Monat",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/monthly_exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Dieses Jahr",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/get/yearly_exported",3,3,.001)},null,8,["model-value"])]),_:1})):k("",!0),(s(!0),x(_,null,w(o.inverterConfigs,a=>(s(),u(c,{key:a.id,collapsible:!0,collapsed:!0,subtype:"success"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","solar-panel"]}),r(" "+p(a.name)+" (ID: "+p(a.id)+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),R,r(" "+p(e.$store.state.mqtt["openWB/pv/"+a.id+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),t(l,{title:"Zählerstand",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/pv/"+a.id+"/get/exported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/pv/"+a.id+"/get/power",3,3,.001)},null,8,["model-value"])]),_:2},1024))),128)),o.numBatteriesInstalled>1&&e.$store.state.mqtt["openWB/general/extern"]===!1?(s(),u(c,{key:2,subtype:"warning",collapsible:!0,collapsed:!0},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","car-battery"]}),r(" Alle Speicher ")]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/bat/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/bat/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/bat/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),Q,r(" "+p(e.$store.state.mqtt["openWB/bat/get/fault_str"]),1)]),_:1},8,["subtype"]),t(m,null,{default:n(()=>[r("Zählerstände")]),_:1}),t(l,{title:"Ladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Entladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/exported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Tageswerte")]),_:1}),t(l,{title:"Ladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/daily_imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Entladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/get/daily_exported",3,3,.001)},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Saldierte Werte")]),_:1}),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/bat/get/power",3,3,.001)},null,8,["model-value"]),t(I,{title:"Ladestand",readonly:"",class:"text-right text-monospace",unit:"%","model-value":e.$store.state.mqtt["openWB/bat/get/soc"]},null,8,["model-value"])]),_:1})):k("",!0),(s(!0),x(_,null,w(o.batteryConfigs,a=>(s(),u(c,{key:a.id,collapsible:!0,collapsed:!0,subtype:"warning"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","car-battery"]}),r(" "+p(a.name)+" (ID: "+p(a.id)+") ",1)]),default:n(()=>[t(g,{subtype:B.statusLevel[e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),U,r(" "+p(e.$store.state.mqtt["openWB/bat/"+a.id+"/get/fault_str"]),1)]),_:2},1032,["subtype"]),t(m,null,{default:n(()=>[r("Aktuelle Werte")]),_:1}),t(l,{title:"Leistung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kW","model-value":e.formatNumberTopic("openWB/bat/"+a.id+"/get/power",3,3,.001)},null,8,["model-value"]),t(I,{title:"Ladestand",readonly:"",class:"text-right text-monospace",unit:"%","model-value":e.$store.state.mqtt["openWB/bat/"+a.id+"/get/soc"]},null,8,["model-value"]),t(m,null,{default:n(()=>[r("Zählerstände")]),_:1}),t(l,{title:"Ladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/"+a.id+"/get/imported",3,3,.001)},null,8,["model-value"]),t(l,{title:"Entladung",readonly:"",class:"text-right text-monospace",step:"0.001",unit:"kWh","model-value":e.formatNumberTopic("openWB/bat/"+a.id+"/get/exported",3,3,.001)},null,8,["model-value"])]),_:2},1024))),128)),(s(!0),x(_,null,w(o.vehicleNames,(a,i)=>(s(),u(c,{key:i,collapsible:!0,collapsed:!0,subtype:"info"},{header:n(()=>[t(d,{"fixed-width":"",icon:["fas","car"]}),r(" "+p(a)+" (ID: "+p(o.getVehicleIndex(i))+") ",1)]),default:n(()=>[e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]!==void 0?(s(),u(g,{key:0,subtype:B.statusLevel[e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]]},{default:n(()=>[e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]==1?(s(),u(d,{key:0,"fixed-width":"",icon:["fas","exclamation-triangle"]})):e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_state"]==2?(s(),u(d,{key:1,"fixed-width":"",icon:["fas","times-circle"]})):(s(),u(d,{key:2,"fixed-width":"",icon:["fas","check-circle"]})),r(" Modulmeldung:"),X,r(" "+p(e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/fault_str"]),1)]),_:2},1032,["subtype"])):k("",!0),t(m,null,{default:n(()=>[r("Fahrzeugdaten")]),_:1}),t(I,{title:"Ladestand",readonly:"",class:"text-right text-monospace",unit:"%","model-value":e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/soc"]},null,8,["model-value"]),t(I,{title:"Reichweite",readonly:"",class:"text-right text-monospace",unit:"km","model-value":Math.round(e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/range"])},null,8,["model-value"]),t(l,{title:"Letzter Zeitstempel",readonly:"",class:"text-right text-monospace","model-value":e.$store.state.mqtt["openWB/vehicle/"+o.getVehicleIndex(i)+"/get/soc_timestamp"]},null,8,["model-value"])]),_:2},1024))),128))])}const re=D(O,[["render",Y],["__scopeId","data-v-051028a3"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/Status.vue"]]);export{re as default}; diff --git a/web/settings/assets/Support-46abb487.js b/web/settings/assets/Support-4f158708.js similarity index 94% rename from web/settings/assets/Support-46abb487.js rename to web/settings/assets/Support-4f158708.js index 71b27fbdbc..7305ac1522 100644 --- a/web/settings/assets/Support-46abb487.js +++ b/web/settings/assets/Support-4f158708.js @@ -1 +1 @@ -import{l as w,g as y,F as V}from"./vendor-fortawesome-12056596.js";import{C as B}from"./index-8fe3a4a0.js";import{_ as v,p as a,k as r,l as c,q as l,y as h,L as s,A as n,a2 as z,z as g,u as t,n as F}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";w.add(y);const x={name:"OpenwbSupport",mixins:[B],emits:["sendCommand"],components:{FontAwesomeIcon:V},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/dataprotection_acknowledged"],sendDebugData:{email:"",serialNumber:"",installedComponents:"",vehicles:"",message:""},enableSendDebugButton:!0}},methods:{sendDebugMessage(){if(document.forms.supportForm.reportValidity())this.$emit("sendCommand",{command:"sendDebug",data:this.sendDebugData}),this.enableSendDebugButton=!1;else{console.warn("form invalid");return}}}},C={class:"support"},q={name:"supportForm"},A={key:1},W={key:0},N=l("li",null,' Vergewissern Sie sich, dass mindestens die aktuelle "Stable" Version installiert ist. ',-1),L=l("li",null," Stellen Sie beim Absenden des Berichtes die Fehlerkonditionen her. Lädt ein Fahrzeug nicht, sollte es angeschlossen und nicht voll geladen sein. Ist PV laden betroffen, sollte die Sonne auch scheinen. Der Systembericht muss dann versendet werden, wenn der Fehler aktuell vorliegt. ",-1),M=l("li",null," Stellen Sie sicher, dass der Lademodus korrekt gewählt ist und im Falle von nicht ladenden Fahrzeugen, dass der Ladepunkt auch entsperrt wurde. ",-1),U=l("li",null," Das Auslesen der Systemkonfiguration erfolgt direkt nach den Klick auf Absenden und kann einige Zeit in Anspruch nehmen. Sie erhalten ca. 15 bis 30 Minuten nach Versand des Systemberichtes von uns automatisch eine E-Mail mit der Ticketnummer unter der die Anfrage bei uns registriert wurde. Wir melden uns bei ihnen. Bitte kontrollieren Sie daher immer auch den Spam Ordner auf eingehende Nachrichten. Erhalten Sie trotzdem keine Ticketnummer, ist das Versenden des Systemberichtes fehlgeschlagen. ",-1),E={class:"row justify-content-center"};function G(d,o,T,H,e,_){const b=a("router-link"),u=a("openwb-base-alert"),f=a("FontAwesomeIcon"),p=a("openwb-base-text-input"),m=a("openwb-base-textarea"),S=a("openwb-base-click-button"),k=a("openwb-base-card"),D=a("font-awesome-icon");return r(),c("div",C,[l("form",q,[d.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]!==!0?(r(),h(u,{key:0,subtype:"danger"},{default:s(()=>[t(" Sie müssen der "),n(b,{to:"/System/LegalSettings"},{default:s(()=>[t(" Datenschutzerklärung ")]),_:1}),t(" zustimmen, um einen Systembericht senden zu können. ")]),_:1})):(r(),c("div",A,[n(u,{subtype:"success"},{default:s(()=>[t(" Sie haben der "),n(b,{to:"/System/LegalSettings"},{default:s(()=>[t(" Datenschutzerklärung ")]),_:1}),t(" zugestimmt und können Systemberichte senden. ")]),_:1}),n(k,{title:"Systembericht"},z({default:s(()=>[d.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?(r(),c("div",W,[n(u,{subtype:"info"},{default:s(()=>[l("ul",null,[l("li",null,[t(" Lesen Sie den Hilfetext, der durch Klick auf das "),n(f,{icon:["far","question-circle"]}),t(" angezeigt wird. Nehmen Sie das Wiki zur Hilfe. ")]),N,L,M,U])]),_:1}),n(p,{title:"E-Mail",required:"",subtype:"email",modelValue:e.sendDebugData.email,"onUpdate:modelValue":o[0]||(o[0]=i=>e.sendDebugData.email=i)},null,8,["modelValue"]),n(p,{title:"openWB Seriennummer",required:"",modelValue:e.sendDebugData.serialNumber,"onUpdate:modelValue":o[1]||(o[1]=i=>e.sendDebugData.serialNumber=i)},{help:s(()=>[t(" Die Seriennummer der openWB finden Sie außen am Gehäuse - bei Älteren innen im Gehäuse. Sie können uns aber auch eine Bestellnummer oder Rechnungsnummer übermitteln. Das Gehäuse muss nicht extra geöffnet werden! ")]),_:1},8,["modelValue"]),n(m,{title:"Verwendete Komponenten",required:"",minlength:"3",maxlength:"500",modelValue:e.sendDebugData.installedComponents,"onUpdate:modelValue":o[2]||(o[2]=i=>e.sendDebugData.installedComponents=i)},{help:s(()=>[t(" Geben Sie hier möglichst detailliert an, welche Anlagenkomponenten (EVU, PV, Speicher) angebunden sind. ")]),_:1},8,["modelValue"]),n(m,{title:"Fahrzeuge",required:"",minlength:"3",maxlength:"500",modelValue:e.sendDebugData.vehicles,"onUpdate:modelValue":o[3]||(o[3]=i=>e.sendDebugData.vehicles=i)},{help:s(()=>[t(" Geben Sie hier an, welche Fahrzeuge geladen werden (Hersteller, Modell, Baujahr). ")]),_:1},8,["modelValue"]),n(m,{title:"Problembeschreibung",required:"",minlength:"20",maxlength:"500",modelValue:e.sendDebugData.message,"onUpdate:modelValue":o[4]||(o[4]=i=>e.sendDebugData.message=i)},null,8,["modelValue"])])):g("",!0)]),_:2},[d.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?{name:"footer",fn:s(()=>[l("div",E,[n(S,{class:F(["col-4",e.enableSendDebugButton?"btn-success":"btn-outline-success"]),disabled:!e.enableSendDebugButton,onButtonClicked:_.sendDebugMessage},{default:s(()=>[t(" Absenden ")]),_:1},8,["class","disabled","onButtonClicked"])])]),key:"0"}:void 0]),1024),e.enableSendDebugButton?g("",!0):(r(),h(u,{key:0,subtype:"success"},{default:s(()=>[t(" Die Daten für den Fehlerbericht werden im Hintergrund zusammengestellt. Sie können diese Seite jetzt verlassen. "),n(D,{"fixed-width":"",icon:["fas","check"]})]),_:1}))]))])])}const J=v(x,[["render",G],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/Support.vue"]]);export{J as default}; +import{l as w,g as y,F as V}from"./vendor-fortawesome-349077b4.js";import{C as B}from"./index-baf9de5e.js";import{_ as v,p as a,k as r,l as c,q as l,y as h,L as s,A as n,a2 as z,z as g,u as t,n as F}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";w.add(y);const x={name:"OpenwbSupport",mixins:[B],emits:["sendCommand"],components:{FontAwesomeIcon:V},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/system/dataprotection_acknowledged"],sendDebugData:{email:"",serialNumber:"",installedComponents:"",vehicles:"",message:""},enableSendDebugButton:!0}},methods:{sendDebugMessage(){if(document.forms.supportForm.reportValidity())this.$emit("sendCommand",{command:"sendDebug",data:this.sendDebugData}),this.enableSendDebugButton=!1;else{console.warn("form invalid");return}}}},C={class:"support"},q={name:"supportForm"},A={key:1},W={key:0},N=l("li",null,' Vergewissern Sie sich, dass mindestens die aktuelle "Stable" Version installiert ist. ',-1),L=l("li",null," Stellen Sie beim Absenden des Berichtes die Fehlerkonditionen her. Lädt ein Fahrzeug nicht, sollte es angeschlossen und nicht voll geladen sein. Ist PV laden betroffen, sollte die Sonne auch scheinen. Der Systembericht muss dann versendet werden, wenn der Fehler aktuell vorliegt. ",-1),M=l("li",null," Stellen Sie sicher, dass der Lademodus korrekt gewählt ist und im Falle von nicht ladenden Fahrzeugen, dass der Ladepunkt auch entsperrt wurde. ",-1),U=l("li",null," Das Auslesen der Systemkonfiguration erfolgt direkt nach den Klick auf Absenden und kann einige Zeit in Anspruch nehmen. Sie erhalten ca. 15 bis 30 Minuten nach Versand des Systemberichtes von uns automatisch eine E-Mail mit der Ticketnummer unter der die Anfrage bei uns registriert wurde. Wir melden uns bei ihnen. Bitte kontrollieren Sie daher immer auch den Spam Ordner auf eingehende Nachrichten. Erhalten Sie trotzdem keine Ticketnummer, ist das Versenden des Systemberichtes fehlgeschlagen. ",-1),E={class:"row justify-content-center"};function G(d,o,T,H,e,_){const b=a("router-link"),u=a("openwb-base-alert"),f=a("FontAwesomeIcon"),p=a("openwb-base-text-input"),m=a("openwb-base-textarea"),S=a("openwb-base-click-button"),k=a("openwb-base-card"),D=a("font-awesome-icon");return r(),c("div",C,[l("form",q,[d.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]!==!0?(r(),h(u,{key:0,subtype:"danger"},{default:s(()=>[t(" Sie müssen der "),n(b,{to:"/System/LegalSettings"},{default:s(()=>[t(" Datenschutzerklärung ")]),_:1}),t(" zustimmen, um einen Systembericht senden zu können. ")]),_:1})):(r(),c("div",A,[n(u,{subtype:"success"},{default:s(()=>[t(" Sie haben der "),n(b,{to:"/System/LegalSettings"},{default:s(()=>[t(" Datenschutzerklärung ")]),_:1}),t(" zugestimmt und können Systemberichte senden. ")]),_:1}),n(k,{title:"Systembericht"},z({default:s(()=>[d.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?(r(),c("div",W,[n(u,{subtype:"info"},{default:s(()=>[l("ul",null,[l("li",null,[t(" Lesen Sie den Hilfetext, der durch Klick auf das "),n(f,{icon:["far","question-circle"]}),t(" angezeigt wird. Nehmen Sie das Wiki zur Hilfe. ")]),N,L,M,U])]),_:1}),n(p,{title:"E-Mail",required:"",subtype:"email",modelValue:e.sendDebugData.email,"onUpdate:modelValue":o[0]||(o[0]=i=>e.sendDebugData.email=i)},null,8,["modelValue"]),n(p,{title:"openWB Seriennummer",required:"",modelValue:e.sendDebugData.serialNumber,"onUpdate:modelValue":o[1]||(o[1]=i=>e.sendDebugData.serialNumber=i)},{help:s(()=>[t(" Die Seriennummer der openWB finden Sie außen am Gehäuse - bei Älteren innen im Gehäuse. Sie können uns aber auch eine Bestellnummer oder Rechnungsnummer übermitteln. Das Gehäuse muss nicht extra geöffnet werden! ")]),_:1},8,["modelValue"]),n(m,{title:"Verwendete Komponenten",required:"",minlength:"3",maxlength:"500",modelValue:e.sendDebugData.installedComponents,"onUpdate:modelValue":o[2]||(o[2]=i=>e.sendDebugData.installedComponents=i)},{help:s(()=>[t(" Geben Sie hier möglichst detailliert an, welche Anlagenkomponenten (EVU, PV, Speicher) angebunden sind. ")]),_:1},8,["modelValue"]),n(m,{title:"Fahrzeuge",required:"",minlength:"3",maxlength:"500",modelValue:e.sendDebugData.vehicles,"onUpdate:modelValue":o[3]||(o[3]=i=>e.sendDebugData.vehicles=i)},{help:s(()=>[t(" Geben Sie hier an, welche Fahrzeuge geladen werden (Hersteller, Modell, Baujahr). ")]),_:1},8,["modelValue"]),n(m,{title:"Problembeschreibung",required:"",minlength:"20",maxlength:"500",modelValue:e.sendDebugData.message,"onUpdate:modelValue":o[4]||(o[4]=i=>e.sendDebugData.message=i)},null,8,["modelValue"])])):g("",!0)]),_:2},[d.$store.state.mqtt["openWB/system/dataprotection_acknowledged"]===!0?{name:"footer",fn:s(()=>[l("div",E,[n(S,{class:F(["col-4",e.enableSendDebugButton?"btn-success":"btn-outline-success"]),disabled:!e.enableSendDebugButton,onButtonClicked:_.sendDebugMessage},{default:s(()=>[t(" Absenden ")]),_:1},8,["class","disabled","onButtonClicked"])])]),key:"0"}:void 0]),1024),e.enableSendDebugButton?g("",!0):(r(),h(u,{key:0,subtype:"success"},{default:s(()=>[t(" Die Daten für den Fehlerbericht werden im Hintergrund zusammengestellt. Sie können diese Seite jetzt verlassen. "),n(D,{"fixed-width":"",icon:["fas","check"]})]),_:1}))]))])])}const J=v(x,[["render",G],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/Support.vue"]]);export{J as default}; diff --git a/web/settings/assets/System-3a3227c1.js b/web/settings/assets/System-0e04b9b8.js similarity index 96% rename from web/settings/assets/System-3a3227c1.js rename to web/settings/assets/System-0e04b9b8.js index 414fa67b30..165dcf9c9b 100644 --- a/web/settings/assets/System-3a3227c1.js +++ b/web/settings/assets/System-0e04b9b8.js @@ -1 +1 @@ -import{l as W,_ as S,p as q,$ as C,O as A,a0 as x,F as $}from"./vendor-fortawesome-12056596.js";import{C as E}from"./index-8fe3a4a0.js";import{_ as U,p as c,k as g,l as y,A as s,L as o,q as a,z as k,u as d,n as v,y as z,G as F,I as T,x as j,Q as D,R as I}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";W.add(S,q,C,A,x);const L={name:"OpenwbSystem",mixins:[E],emits:["sendCommand"],components:{FontAwesomeIcon:$},data(){return{mqttTopicsToSubscribe:["openWB/system/current_commit","openWB/system/current_branch_commit","openWB/system/current_missing_commits","openWB/system/available_branches","openWB/system/current_branch"],warningAcknowledged:!1,selectedTag:"*HEAD*"}},computed:{updateAvailable(){return this.$store.state.mqtt["openWB/system/current_branch_commit"]&&this.$store.state.mqtt["openWB/system/current_branch_commit"]!=this.$store.state.mqtt["openWB/system/current_commit"]},releaseChangeValid(){return this.$store.state.mqtt["openWB/system/current_branch"]in this.$store.state.mqtt["openWB/system/available_branches"]&&"tags"in this.$store.state.mqtt["openWB/system/available_branches"][this.$store.state.mqtt["openWB/system/current_branch"]]&&(this.selectedTag in this.$store.state.mqtt["openWB/system/available_branches"][this.$store.state.mqtt["openWB/system/current_branch"]].tags||this.selectedTag=="*HEAD*")}},methods:{sendSystemCommand(t,e={}){this.$emit("sendCommand",{command:t,data:e})},getBranchGroups(){const t="Release",e="Beta",m="master",w=[t,e,m],p=(l,i)=>l.value==i.value?0:l.value==t?-1:i.value==t?1:l.value==e?-1:i.value==e?1:l.value==m?-1:i.value==m||l.value>i.value?1:l.value(D("data-v-059847f6"),t=t(),I(),t),N={class:"system"},O=_(()=>a("h2",null,"Achtung!",-1)),R=_(()=>a("p",null," Vor allen Aktionen auf dieser Seite ist sicherzustellen, dass kein Ladevorgang aktiv ist! Zur Sicherheit bitte zusätzlich alle Fahrzeuge von der Ladestation / den Ladestationen abstecken! ",-1)),Z={key:0},G={name:"versionInfoForm"},H={class:"missing-commits"},P={class:"row justify-content-center"},J={class:"col-md-4 d-flex py-1 justify-content-center"},Q={class:"col-md-4 d-flex py-1 justify-content-center"},K={name:"powerForm"},M={class:"row justify-content-center"},X={class:"col-md-4 d-flex py-1 justify-content-center"},Y={class:"col-md-4 d-flex py-1 justify-content-center"},ee={name:"releaseChangeForm"},te=_(()=>a("br",null,null,-1)),se=_(()=>a("br",null,null,-1)),ne=_(()=>a("br",null,null,-1)),ae=_(()=>a("br",null,null,-1)),oe={class:"row justify-content-center"},re={class:"col-md-4 d-flex py-1 justify-content-center"};function le(t,e,m,w,p,r){const h=c("openwb-base-button-group-input"),u=c("openwb-base-alert"),l=c("openwb-base-text-input"),i=c("openwb-base-card"),b=c("font-awesome-icon"),f=c("openwb-base-click-button"),B=c("openwb-base-select-input");return g(),y("div",N,[s(u,{subtype:"danger"},{default:o(()=>[O,R,s(h,{title:"Ich habe die Warnung verstanden",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],modelValue:this.warningAcknowledged,"onUpdate:modelValue":e[0]||(e[0]=n=>this.warningAcknowledged=n)},null,8,["modelValue"])]),_:1}),p.warningAcknowledged?(g(),y("div",Z,[a("form",G,[s(i,{title:"Versions-Informationen / Aktualisierung",subtype:"success",collapsible:!0,collapsed:!0},{footer:o(()=>[a("div",P,[a("div",J,[s(f,{class:"btn-info",onButtonClicked:e[4]||(e[4]=n=>r.sendSystemCommand("systemFetchVersions"))},{default:o(()=>[d(" Informationen aktualisieren "),s(b,{"fixed-width":"",icon:["fas","download"]})]),_:1})]),a("div",Q,[s(f,{class:v(r.updateAvailable?"btn-success clickable":"btn-outline-success"),disabled:!r.updateAvailable,onButtonClicked:e[5]||(e[5]=n=>r.systemUpdate())},{default:o(()=>[d(" Update "),s(b,{"fixed-width":"",icon:["fas","arrow-alt-circle-up"]})]),_:1},8,["class","disabled"])])])]),default:o(()=>[s(l,{title:"Entwicklungszweig",readonly:"",modelValue:t.$store.state.mqtt["openWB/system/current_branch"],"onUpdate:modelValue":e[1]||(e[1]=n=>t.$store.state.mqtt["openWB/system/current_branch"]=n)},null,8,["modelValue"]),s(l,{title:"installierte Version",readonly:"",class:v(r.updateAvailable?"text-danger":"text-success"),modelValue:t.$store.state.mqtt["openWB/system/current_commit"],"onUpdate:modelValue":e[2]||(e[2]=n=>t.$store.state.mqtt["openWB/system/current_commit"]=n)},null,8,["class","modelValue"]),s(l,{title:"aktuellste Version",readonly:"",modelValue:t.$store.state.mqtt["openWB/system/current_branch_commit"],"onUpdate:modelValue":e[3]||(e[3]=n=>t.$store.state.mqtt["openWB/system/current_branch_commit"]=n)},null,8,["modelValue"]),r.updateAvailable?(g(),z(i,{key:0,title:"Änderungen",subtype:"info",collapsible:!0,collapsed:!0},{default:o(()=>[a("ul",H,[(g(!0),y(F,null,T(t.$store.state.mqtt["openWB/system/current_missing_commits"],(n,V)=>(g(),y("li",{key:V},j(n),1))),128))])]),_:1})):k("",!0),s(u,{subtype:"danger"},{default:o(()=>[d(" Nach einem Update wird die Ladestation direkt neu gestartet! Es werden alle eventuell vorhandenen lokalen Änderungen am Programmcode mit dem Update verworfen! ")]),_:1})]),_:1})]),a("form",K,[s(i,{title:"Betrieb",collapsible:!0,collapsed:!0},{footer:o(()=>[a("div",M,[a("div",X,[s(f,{class:"btn-warning",onButtonClicked:e[6]||(e[6]=n=>r.sendSystemCommand("systemReboot"))},{default:o(()=>[d(" Neustart "),s(b,{"fixed-width":"",icon:["fas","undo"]})]),_:1})]),a("div",Y,[s(f,{class:"btn-danger",onButtonClicked:e[7]||(e[7]=n=>r.sendSystemCommand("systemShutdown"))},{default:o(()=>[d(" Ausschalten "),s(b,{"fixed-width":"",icon:["fas","power-off"]})]),_:1})])])]),default:o(()=>[s(u,{subtype:"danger"},{default:o(()=>[d(" Wenn die Ladestation ausgeschaltet wird, muss sie komplett spannungsfrei geschaltet werden. Erst beim erneuten Zuschalten der Spannung fährt das System wieder hoch. ")]),_:1})]),_:1})]),a("form",ee,[s(i,{title:"Entwicklungszweig",subtype:"danger",collapsible:!0,collapsed:!0},{footer:o(()=>[a("div",oe,[a("div",re,[s(f,{class:v(r.releaseChangeValid?"btn-danger clickable":"btn-outline-danger"),disabled:!r.releaseChangeValid,onButtonClicked:e[10]||(e[10]=n=>r.switchBranch())},{default:o(()=>[s(b,{"fixed-width":"",icon:["fas","skull-crossbones"]}),d(" Branch und Tag wechseln "),s(b,{"fixed-width":"",icon:["fas","skull-crossbones"]})]),_:1},8,["class","disabled"])])])]),default:o(()=>[s(u,{subtype:"danger"},{default:o(()=>[d(" Nach einem Wechsel wird die Ladestation direkt neu gestartet! Es werden alle lokalen Änderungen mit dem Wechsel verworfen! ")]),_:1}),s(u,{subtype:"warning"},{default:o(()=>[d(" Bevor auf einen neuen Entwicklungszweig gewechselt wird sollte immer eine Sicherung erstellt werden! Es kann zwar wieder auf eine ältere Version gewechselt werden, jedoch ist nicht sichergestellt, dass es dabei keine Probleme gibt. Gerade wenn das Datenformat in der neuen Version angepasst wurde, wird eine ältere damit Fehler produzieren."),te,d(' Für den normalen Betrieb wird der Zweig "Release" empfohlen. Der Softwarestand wurde ausgiebig getestet, sodass ein Fehlverhalten relativ unwahrscheinlich ist.'),se,d(' Der "Beta" Zweig beinhaltet Vorabversionen, bei denen die Entwicklung soweit abgeschlossen ist. Die enthaltenen Anpassungen wurden rudimentär getestet, können aber durchaus noch Fehler enthalten.'),ne,d(' Die aktuelle Softwareentwicklung findet im Zweig "master" statt. Die enthaltenen Anpassungen sind teilweise noch nicht getestet und enthalten potentiell Fehler.'),ae,d(' Einträge, die mit "feature" beginnen, sind experimentelle Entwicklungszweige, die nicht für den allgemeinen Gebrauch gedacht sind. ')]),_:1}),s(B,{title:"Entwicklungszweig",groups:r.getBranchGroups(),"model-value":t.$store.state.mqtt["openWB/system/current_branch"],"onUpdate:modelValue":e[8]||(e[8]=n=>t.updateState("openWB/system/current_branch",n))},null,8,["groups","model-value"]),s(B,{title:"Tag",options:r.getBranchTagOptions(),modelValue:p.selectedTag,"onUpdate:modelValue":e[9]||(e[9]=n=>p.selectedTag=n)},null,8,["options","modelValue"])]),_:1})])])):k("",!0)])}const be=U(L,[["render",le],["__scopeId","data-v-059847f6"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/System.vue"]]);export{be as default}; +import{l as W,_ as S,p as q,$ as C,O as A,a0 as x,F as $}from"./vendor-fortawesome-349077b4.js";import{C as E}from"./index-baf9de5e.js";import{_ as U,p as c,k as g,l as y,A as s,L as o,q as a,z as k,u as d,n as v,y as z,G as F,I as T,x as j,Q as D,R as I}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";W.add(S,q,C,A,x);const L={name:"OpenwbSystem",mixins:[E],emits:["sendCommand"],components:{FontAwesomeIcon:$},data(){return{mqttTopicsToSubscribe:["openWB/system/current_commit","openWB/system/current_branch_commit","openWB/system/current_missing_commits","openWB/system/available_branches","openWB/system/current_branch"],warningAcknowledged:!1,selectedTag:"*HEAD*"}},computed:{updateAvailable(){return this.$store.state.mqtt["openWB/system/current_branch_commit"]&&this.$store.state.mqtt["openWB/system/current_branch_commit"]!=this.$store.state.mqtt["openWB/system/current_commit"]},releaseChangeValid(){return this.$store.state.mqtt["openWB/system/current_branch"]in this.$store.state.mqtt["openWB/system/available_branches"]&&"tags"in this.$store.state.mqtt["openWB/system/available_branches"][this.$store.state.mqtt["openWB/system/current_branch"]]&&(this.selectedTag in this.$store.state.mqtt["openWB/system/available_branches"][this.$store.state.mqtt["openWB/system/current_branch"]].tags||this.selectedTag=="*HEAD*")}},methods:{sendSystemCommand(t,e={}){this.$emit("sendCommand",{command:t,data:e})},getBranchGroups(){const t="Release",e="Beta",m="master",w=[t,e,m],p=(l,i)=>l.value==i.value?0:l.value==t?-1:i.value==t?1:l.value==e?-1:i.value==e?1:l.value==m?-1:i.value==m||l.value>i.value?1:l.value(D("data-v-059847f6"),t=t(),I(),t),N={class:"system"},O=_(()=>a("h2",null,"Achtung!",-1)),R=_(()=>a("p",null," Vor allen Aktionen auf dieser Seite ist sicherzustellen, dass kein Ladevorgang aktiv ist! Zur Sicherheit bitte zusätzlich alle Fahrzeuge von der Ladestation / den Ladestationen abstecken! ",-1)),Z={key:0},G={name:"versionInfoForm"},H={class:"missing-commits"},P={class:"row justify-content-center"},J={class:"col-md-4 d-flex py-1 justify-content-center"},Q={class:"col-md-4 d-flex py-1 justify-content-center"},K={name:"powerForm"},M={class:"row justify-content-center"},X={class:"col-md-4 d-flex py-1 justify-content-center"},Y={class:"col-md-4 d-flex py-1 justify-content-center"},ee={name:"releaseChangeForm"},te=_(()=>a("br",null,null,-1)),se=_(()=>a("br",null,null,-1)),ne=_(()=>a("br",null,null,-1)),ae=_(()=>a("br",null,null,-1)),oe={class:"row justify-content-center"},re={class:"col-md-4 d-flex py-1 justify-content-center"};function le(t,e,m,w,p,r){const h=c("openwb-base-button-group-input"),u=c("openwb-base-alert"),l=c("openwb-base-text-input"),i=c("openwb-base-card"),b=c("font-awesome-icon"),f=c("openwb-base-click-button"),B=c("openwb-base-select-input");return g(),y("div",N,[s(u,{subtype:"danger"},{default:o(()=>[O,R,s(h,{title:"Ich habe die Warnung verstanden",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],modelValue:this.warningAcknowledged,"onUpdate:modelValue":e[0]||(e[0]=n=>this.warningAcknowledged=n)},null,8,["modelValue"])]),_:1}),p.warningAcknowledged?(g(),y("div",Z,[a("form",G,[s(i,{title:"Versions-Informationen / Aktualisierung",subtype:"success",collapsible:!0,collapsed:!0},{footer:o(()=>[a("div",P,[a("div",J,[s(f,{class:"btn-info",onButtonClicked:e[4]||(e[4]=n=>r.sendSystemCommand("systemFetchVersions"))},{default:o(()=>[d(" Informationen aktualisieren "),s(b,{"fixed-width":"",icon:["fas","download"]})]),_:1})]),a("div",Q,[s(f,{class:v(r.updateAvailable?"btn-success clickable":"btn-outline-success"),disabled:!r.updateAvailable,onButtonClicked:e[5]||(e[5]=n=>r.systemUpdate())},{default:o(()=>[d(" Update "),s(b,{"fixed-width":"",icon:["fas","arrow-alt-circle-up"]})]),_:1},8,["class","disabled"])])])]),default:o(()=>[s(l,{title:"Entwicklungszweig",readonly:"",modelValue:t.$store.state.mqtt["openWB/system/current_branch"],"onUpdate:modelValue":e[1]||(e[1]=n=>t.$store.state.mqtt["openWB/system/current_branch"]=n)},null,8,["modelValue"]),s(l,{title:"installierte Version",readonly:"",class:v(r.updateAvailable?"text-danger":"text-success"),modelValue:t.$store.state.mqtt["openWB/system/current_commit"],"onUpdate:modelValue":e[2]||(e[2]=n=>t.$store.state.mqtt["openWB/system/current_commit"]=n)},null,8,["class","modelValue"]),s(l,{title:"aktuellste Version",readonly:"",modelValue:t.$store.state.mqtt["openWB/system/current_branch_commit"],"onUpdate:modelValue":e[3]||(e[3]=n=>t.$store.state.mqtt["openWB/system/current_branch_commit"]=n)},null,8,["modelValue"]),r.updateAvailable?(g(),z(i,{key:0,title:"Änderungen",subtype:"info",collapsible:!0,collapsed:!0},{default:o(()=>[a("ul",H,[(g(!0),y(F,null,T(t.$store.state.mqtt["openWB/system/current_missing_commits"],(n,V)=>(g(),y("li",{key:V},j(n),1))),128))])]),_:1})):k("",!0),s(u,{subtype:"danger"},{default:o(()=>[d(" Nach einem Update wird die Ladestation direkt neu gestartet! Es werden alle eventuell vorhandenen lokalen Änderungen am Programmcode mit dem Update verworfen! ")]),_:1})]),_:1})]),a("form",K,[s(i,{title:"Betrieb",collapsible:!0,collapsed:!0},{footer:o(()=>[a("div",M,[a("div",X,[s(f,{class:"btn-warning",onButtonClicked:e[6]||(e[6]=n=>r.sendSystemCommand("systemReboot"))},{default:o(()=>[d(" Neustart "),s(b,{"fixed-width":"",icon:["fas","undo"]})]),_:1})]),a("div",Y,[s(f,{class:"btn-danger",onButtonClicked:e[7]||(e[7]=n=>r.sendSystemCommand("systemShutdown"))},{default:o(()=>[d(" Ausschalten "),s(b,{"fixed-width":"",icon:["fas","power-off"]})]),_:1})])])]),default:o(()=>[s(u,{subtype:"danger"},{default:o(()=>[d(" Wenn die Ladestation ausgeschaltet wird, muss sie komplett spannungsfrei geschaltet werden. Erst beim erneuten Zuschalten der Spannung fährt das System wieder hoch. ")]),_:1})]),_:1})]),a("form",ee,[s(i,{title:"Entwicklungszweig",subtype:"danger",collapsible:!0,collapsed:!0},{footer:o(()=>[a("div",oe,[a("div",re,[s(f,{class:v(r.releaseChangeValid?"btn-danger clickable":"btn-outline-danger"),disabled:!r.releaseChangeValid,onButtonClicked:e[10]||(e[10]=n=>r.switchBranch())},{default:o(()=>[s(b,{"fixed-width":"",icon:["fas","skull-crossbones"]}),d(" Branch und Tag wechseln "),s(b,{"fixed-width":"",icon:["fas","skull-crossbones"]})]),_:1},8,["class","disabled"])])])]),default:o(()=>[s(u,{subtype:"danger"},{default:o(()=>[d(" Nach einem Wechsel wird die Ladestation direkt neu gestartet! Es werden alle lokalen Änderungen mit dem Wechsel verworfen! ")]),_:1}),s(u,{subtype:"warning"},{default:o(()=>[d(" Bevor auf einen neuen Entwicklungszweig gewechselt wird sollte immer eine Sicherung erstellt werden! Es kann zwar wieder auf eine ältere Version gewechselt werden, jedoch ist nicht sichergestellt, dass es dabei keine Probleme gibt. Gerade wenn das Datenformat in der neuen Version angepasst wurde, wird eine ältere damit Fehler produzieren."),te,d(' Für den normalen Betrieb wird der Zweig "Release" empfohlen. Der Softwarestand wurde ausgiebig getestet, sodass ein Fehlverhalten relativ unwahrscheinlich ist.'),se,d(' Der "Beta" Zweig beinhaltet Vorabversionen, bei denen die Entwicklung soweit abgeschlossen ist. Die enthaltenen Anpassungen wurden rudimentär getestet, können aber durchaus noch Fehler enthalten.'),ne,d(' Die aktuelle Softwareentwicklung findet im Zweig "master" statt. Die enthaltenen Anpassungen sind teilweise noch nicht getestet und enthalten potentiell Fehler.'),ae,d(' Einträge, die mit "feature" beginnen, sind experimentelle Entwicklungszweige, die nicht für den allgemeinen Gebrauch gedacht sind. ')]),_:1}),s(B,{title:"Entwicklungszweig",groups:r.getBranchGroups(),"model-value":t.$store.state.mqtt["openWB/system/current_branch"],"onUpdate:modelValue":e[8]||(e[8]=n=>t.updateState("openWB/system/current_branch",n))},null,8,["groups","model-value"]),s(B,{title:"Tag",options:r.getBranchTagOptions(),modelValue:p.selectedTag,"onUpdate:modelValue":e[9]||(e[9]=n=>p.selectedTag=n)},null,8,["options","modelValue"])]),_:1})])])):k("",!0)])}const be=U(L,[["render",le],["__scopeId","data-v-059847f6"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/System.vue"]]);export{be as default}; diff --git a/web/settings/assets/TestingStore-7c706612.js b/web/settings/assets/TestingStore-cb512650.js similarity index 95% rename from web/settings/assets/TestingStore-7c706612.js rename to web/settings/assets/TestingStore-cb512650.js index dc52792d68..29ebdbd3dc 100644 --- a/web/settings/assets/TestingStore-7c706612.js +++ b/web/settings/assets/TestingStore-cb512650.js @@ -1 +1 @@ -import{C as h}from"./index-8fe3a4a0.js";import{S as y}from"./OpenwbSortableList-ae85ca14.js";import{_ as U,p as s,k as E,l as T,q as p,A as o,L as a,u as n,x as v}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"OpenwbTestingStore",mixins:[h],components:{SortableList:y},data(){return{mqttTopicsToSubscribe:[]}}},N={class:"testingStore"},k={name:"testingStoreForm"},O=p("hr",null,null,-1),Z=p("hr",null,null,-1),j=p("hr",null,null,-1),L=p("hr",null,null,-1),J=p("hr",null,null,-1),B=p("span",{style:{"text-decoration":"underline","font-style":"italic"}},[n(" Styled "),p("span",{style:{"font-weight":"initial"}},"Header"),n(" Slot ")],-1);function D(e,t,G,R,z,A){const u=s("openwb-base-text-input"),m=s("openwb-base-number-input"),f=s("openwb-base-textarea"),i=s("openwb-base-card"),r=s("openwb-base-range-input"),b=s("openwb-base-select-input"),g=s("openwb-base-button-group-input"),S=s("openwb-base-checkbox-input"),w=s("openwb-base-array-input"),x=s("openwb-base-heading"),d=s("openwb-base-alert"),$=s("sortable-list"),V=s("openwb-base-submit-buttons");return E(),T("div",N,[p("form",k,[o(i,{title:"Einfache Eingabefelder"},{default:a(()=>[o(u,{title:"1. Text","model-value":e.$store.state.examples.text1,"onUpdate:modelValue":t[0]||(t[0]=l=>e.updateState("text1",l))},{help:a(()=>[n("Einfacher Text")]),_:1},8,["model-value"]),o(u,{title:"2. Text (E-Mail)",subtype:"email","model-value":e.$store.state.examples.text2,"onUpdate:modelValue":t[1]||(t[1]=l=>e.updateState("text2",l))},{help:a(()=>[n("Eingabefeld für E-Mailadressen")]),_:1},8,["model-value"]),o(u,{title:"3. Text (Host)",subtype:"host","model-value":e.$store.state.examples.text3,"onUpdate:modelValue":t[2]||(t[2]=l=>e.updateState("text3",l))},{help:a(()=>[n(" Eingabefeld für Hosts (IP oder Namen) ")]),_:1},8,["model-value"]),o(u,{title:"4. Text (URL)",subtype:"url","model-value":e.$store.state.examples.text4,"onUpdate:modelValue":t[3]||(t[3]=l=>e.updateState("text4",l))},{help:a(()=>[n("Eingabefeld für URLs")]),_:1},8,["model-value"]),o(u,{title:"5. Text (User)",subtype:"user","model-value":e.$store.state.examples.text5,"onUpdate:modelValue":t[4]||(t[4]=l=>e.updateState("text5",l))},{help:a(()=>[n("Eingabefeld für Benutzernamen")]),_:1},8,["model-value"]),o(u,{title:"6. Text (Time)",subtype:"time","model-value":e.$store.state.examples.text6,"onUpdate:modelValue":t[5]||(t[5]=l=>e.updateState("text6",l))},{help:a(()=>[n("Eingabefeld für Zeiten")]),_:1},8,["model-value"]),o(u,{title:"7. Text (Date)",subtype:"date","model-value":e.$store.state.examples.text7,"onUpdate:modelValue":t[6]||(t[6]=l=>e.updateState("text7",l))},{help:a(()=>[n("Eingabefeld für ein Datum")]),_:1},8,["model-value"]),O,o(m,{title:"1. Zahl",min:5,max:9,step:2,unit:"kW","model-value":e.$store.state.examples.number1,"onUpdate:modelValue":t[7]||(t[7]=l=>e.updateState("number1",l))},{help:a(()=>[n("Zahl mit Einheit")]),_:1},8,["model-value"]),o(m,{title:"2. Zahl",min:10,max:32,step:2,"model-value":e.$store.state.examples.number2,"onUpdate:modelValue":t[8]||(t[8]=l=>e.updateState("number2",l))},{help:a(()=>[n("Eingabefeld für Zahlen ohne Einheit")]),_:1},8,["model-value"]),o(u,{title:"1. Passwort",subtype:"password","model-value":e.$store.state.examples.password1,"onUpdate:modelValue":t[9]||(t[9]=l=>e.updateState("password1",l))},{help:a(()=>[n(" Das Passwort kann per Klick auf das Auge angezeigt werden. ")]),_:1},8,["model-value"]),Z,o(f,{title:"1. Textarea",maxlength:"50","model-value":e.$store.state.examples.textarea1,"onUpdate:modelValue":t[10]||(t[10]=l=>e.updateState("textarea1",l))},{help:a(()=>[n(" Textarea mit maximaler Länge von 50 Zeichen. ")]),_:1},8,["model-value"])]),_:1}),o(i,{title:"Spezielle Elemente"},{default:a(()=>[o(r,{title:"1. Range",min:6,max:32,step:1,unit:"A","model-value":e.$store.state.examples.range1,"onUpdate:modelValue":t[11]||(t[11]=l=>e.updateState("range1",l))},{help:a(()=>[n("Range ohne spezielle Labels")]),_:1},8,["model-value"]),o(r,{title:"2. Range",min:0,max:11,step:1,unit:"A",labels:[{label:"Aus",value:0},{label:6,value:6},{label:7,value:7},{label:8,value:8},{label:9,value:9},{label:10,value:10},{label:11,value:11},{label:12,value:12},{label:13,value:13},{label:14,value:14},{label:15,value:15},{label:16,value:16}],"model-value":e.$store.state.examples.range2,"onUpdate:modelValue":t[12]||(t[12]=l=>e.updateState("range2",l))},{help:a(()=>[n("Range mit speziellen Labels")]),_:1},8,["model-value"]),j,o(b,{title:"1. Select",notSelected:"Bitte auswählen",options:[{value:1,text:"Eins"},{value:2,text:"Zwei"}],"model-value":e.$store.state.examples.select1,"onUpdate:modelValue":t[13]||(t[13]=l=>e.updateState("select1",l))},{help:a(()=>[n("Select mit einfachen Optionen")]),_:1},8,["model-value"]),o(b,{title:"2. Select",groups:[{label:"Gruppe 1 (Number)",options:[{value:1,text:"Eins"},{value:2,text:"Zwei"}]},{label:"Gruppe 2 (String)",options:[{value:"three",text:"Drei"},{value:"four",text:"Vier"}]}],"model-value":e.$store.state.examples.select2,"onUpdate:modelValue":t[14]||(t[14]=l=>e.updateState("select2",l))},{help:a(()=>[n("Select mit Gruppen")]),_:1},8,["groups","model-value"]),L,o(g,{title:"1. Button-Group",buttons:[{buttonValue:1,text:"Eins"},{buttonValue:2,text:"Zwei"}],"model-value":e.$store.state.examples.buttonGroup1,"onUpdate:modelValue":t[15]||(t[15]=l=>e.updateState("buttonGroup1",l))},{help:a(()=>[n("Hilfetext")]),_:1},8,["model-value"]),J,o(S,{title:"1. Checkbox","model-value":e.$store.state.examples.checkbox1,"onUpdate:modelValue":t[16]||(t[16]=l=>e.updateState("checkbox1",l))},{help:a(()=>[n("Hilfetext")]),_:1},8,["model-value"])]),_:1}),o(i,{title:"JSON Gruppe"},{default:a(()=>[o(u,{title:"JSON 1",subtype:"json","model-value":e.$store.state.examples.json1,"onUpdate:modelValue":t[17]||(t[17]=l=>e.updateState("json1",l))},{help:a(()=>[n("JSON Objekt")]),_:1},8,["model-value"]),o(u,{title:"JSON 1 Text","model-value":e.$store.state.examples.json1.text,"onUpdate:modelValue":t[18]||(t[18]=l=>e.updateState("json1",l,"text"))},{help:a(()=>[n("Text im JSON Objekt")]),_:1},8,["model-value"]),o(m,{title:"JSON 1 Zahl","model-value":e.$store.state.examples.json1.number,"onUpdate:modelValue":t[19]||(t[19]=l=>e.updateState("json1",l,"number"))},{help:a(()=>[n("Zahl im JSON Objekt")]),_:1},8,["model-value"]),o(w,{title:"Tag Array","model-value":e.$store.state.examples.tags,"onUpdate:modelValue":t[20]||(t[20]=l=>e.updateState("tags",l))},{help:a(()=>[p("pre",null,v(JSON.stringify(e.$store.state.examples.tags,void 0,2)),1)]),_:1},8,["model-value"])]),_:1}),o(i,{title:"Meldungen"},{header:a(()=>[B]),default:a(()=>[o(x,null,{help:a(()=>[n(" Es sind auch Hilfetexte im #help Slot möglich. ")]),default:a(()=>[n(" Das ist eine Überschrift ")]),_:1}),o(d,null,{default:a(()=>[n(" Meldung ohne speziellen Subtype. ")]),_:1}),o(d,{subtype:"info"},{default:a(()=>[n("Infomeldung")]),_:1}),o(d,{subtype:"warning"},{default:a(()=>[n("Warnmeldung")]),_:1}),o(d,{subtype:"danger"},{default:a(()=>[n(" Fehlermeldung ")]),_:1})]),_:1}),o(i,{title:"Listen"},{default:a(()=>[o($,{title:"Liste 1",modelValue:e.$store.state.examples.hierarchy1,"onUpdate:modelValue":t[21]||(t[21]=l=>e.$store.state.examples.hierarchy1=l),labels:e.$store.state.examples.hierarchy1Labels},{help:a(()=>[p("pre",null,v(JSON.stringify(e.$store.state.examples.hierarchy1,void 0,2)),1)]),_:1},8,["modelValue","labels"])]),_:1}),o(V,{formName:"testingStoreForm",onSave:t[22]||(t[22]=l=>e.$emit("save")),onReset:t[23]||(t[23]=l=>e.$emit("reset")),onDefaults:t[24]||(t[24]=l=>e.$emit("defaults"))})])])}const K=U(_,[["render",D],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/TestingStore.vue"]]);export{K as default}; +import{C as h}from"./index-baf9de5e.js";import{S as y}from"./OpenwbSortableList-4817ba7c.js";import{_ as U,p as s,k as E,l as T,q as p,A as o,L as a,u as n,x as v}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"OpenwbTestingStore",mixins:[h],components:{SortableList:y},data(){return{mqttTopicsToSubscribe:[]}}},N={class:"testingStore"},k={name:"testingStoreForm"},O=p("hr",null,null,-1),Z=p("hr",null,null,-1),j=p("hr",null,null,-1),L=p("hr",null,null,-1),J=p("hr",null,null,-1),B=p("span",{style:{"text-decoration":"underline","font-style":"italic"}},[n(" Styled "),p("span",{style:{"font-weight":"initial"}},"Header"),n(" Slot ")],-1);function D(e,t,G,R,z,A){const u=s("openwb-base-text-input"),m=s("openwb-base-number-input"),f=s("openwb-base-textarea"),i=s("openwb-base-card"),r=s("openwb-base-range-input"),b=s("openwb-base-select-input"),g=s("openwb-base-button-group-input"),S=s("openwb-base-checkbox-input"),w=s("openwb-base-array-input"),x=s("openwb-base-heading"),d=s("openwb-base-alert"),$=s("sortable-list"),V=s("openwb-base-submit-buttons");return E(),T("div",N,[p("form",k,[o(i,{title:"Einfache Eingabefelder"},{default:a(()=>[o(u,{title:"1. Text","model-value":e.$store.state.examples.text1,"onUpdate:modelValue":t[0]||(t[0]=l=>e.updateState("text1",l))},{help:a(()=>[n("Einfacher Text")]),_:1},8,["model-value"]),o(u,{title:"2. Text (E-Mail)",subtype:"email","model-value":e.$store.state.examples.text2,"onUpdate:modelValue":t[1]||(t[1]=l=>e.updateState("text2",l))},{help:a(()=>[n("Eingabefeld für E-Mailadressen")]),_:1},8,["model-value"]),o(u,{title:"3. Text (Host)",subtype:"host","model-value":e.$store.state.examples.text3,"onUpdate:modelValue":t[2]||(t[2]=l=>e.updateState("text3",l))},{help:a(()=>[n(" Eingabefeld für Hosts (IP oder Namen) ")]),_:1},8,["model-value"]),o(u,{title:"4. Text (URL)",subtype:"url","model-value":e.$store.state.examples.text4,"onUpdate:modelValue":t[3]||(t[3]=l=>e.updateState("text4",l))},{help:a(()=>[n("Eingabefeld für URLs")]),_:1},8,["model-value"]),o(u,{title:"5. Text (User)",subtype:"user","model-value":e.$store.state.examples.text5,"onUpdate:modelValue":t[4]||(t[4]=l=>e.updateState("text5",l))},{help:a(()=>[n("Eingabefeld für Benutzernamen")]),_:1},8,["model-value"]),o(u,{title:"6. Text (Time)",subtype:"time","model-value":e.$store.state.examples.text6,"onUpdate:modelValue":t[5]||(t[5]=l=>e.updateState("text6",l))},{help:a(()=>[n("Eingabefeld für Zeiten")]),_:1},8,["model-value"]),o(u,{title:"7. Text (Date)",subtype:"date","model-value":e.$store.state.examples.text7,"onUpdate:modelValue":t[6]||(t[6]=l=>e.updateState("text7",l))},{help:a(()=>[n("Eingabefeld für ein Datum")]),_:1},8,["model-value"]),O,o(m,{title:"1. Zahl",min:5,max:9,step:2,unit:"kW","model-value":e.$store.state.examples.number1,"onUpdate:modelValue":t[7]||(t[7]=l=>e.updateState("number1",l))},{help:a(()=>[n("Zahl mit Einheit")]),_:1},8,["model-value"]),o(m,{title:"2. Zahl",min:10,max:32,step:2,"model-value":e.$store.state.examples.number2,"onUpdate:modelValue":t[8]||(t[8]=l=>e.updateState("number2",l))},{help:a(()=>[n("Eingabefeld für Zahlen ohne Einheit")]),_:1},8,["model-value"]),o(u,{title:"1. Passwort",subtype:"password","model-value":e.$store.state.examples.password1,"onUpdate:modelValue":t[9]||(t[9]=l=>e.updateState("password1",l))},{help:a(()=>[n(" Das Passwort kann per Klick auf das Auge angezeigt werden. ")]),_:1},8,["model-value"]),Z,o(f,{title:"1. Textarea",maxlength:"50","model-value":e.$store.state.examples.textarea1,"onUpdate:modelValue":t[10]||(t[10]=l=>e.updateState("textarea1",l))},{help:a(()=>[n(" Textarea mit maximaler Länge von 50 Zeichen. ")]),_:1},8,["model-value"])]),_:1}),o(i,{title:"Spezielle Elemente"},{default:a(()=>[o(r,{title:"1. Range",min:6,max:32,step:1,unit:"A","model-value":e.$store.state.examples.range1,"onUpdate:modelValue":t[11]||(t[11]=l=>e.updateState("range1",l))},{help:a(()=>[n("Range ohne spezielle Labels")]),_:1},8,["model-value"]),o(r,{title:"2. Range",min:0,max:11,step:1,unit:"A",labels:[{label:"Aus",value:0},{label:6,value:6},{label:7,value:7},{label:8,value:8},{label:9,value:9},{label:10,value:10},{label:11,value:11},{label:12,value:12},{label:13,value:13},{label:14,value:14},{label:15,value:15},{label:16,value:16}],"model-value":e.$store.state.examples.range2,"onUpdate:modelValue":t[12]||(t[12]=l=>e.updateState("range2",l))},{help:a(()=>[n("Range mit speziellen Labels")]),_:1},8,["model-value"]),j,o(b,{title:"1. Select",notSelected:"Bitte auswählen",options:[{value:1,text:"Eins"},{value:2,text:"Zwei"}],"model-value":e.$store.state.examples.select1,"onUpdate:modelValue":t[13]||(t[13]=l=>e.updateState("select1",l))},{help:a(()=>[n("Select mit einfachen Optionen")]),_:1},8,["model-value"]),o(b,{title:"2. Select",groups:[{label:"Gruppe 1 (Number)",options:[{value:1,text:"Eins"},{value:2,text:"Zwei"}]},{label:"Gruppe 2 (String)",options:[{value:"three",text:"Drei"},{value:"four",text:"Vier"}]}],"model-value":e.$store.state.examples.select2,"onUpdate:modelValue":t[14]||(t[14]=l=>e.updateState("select2",l))},{help:a(()=>[n("Select mit Gruppen")]),_:1},8,["groups","model-value"]),L,o(g,{title:"1. Button-Group",buttons:[{buttonValue:1,text:"Eins"},{buttonValue:2,text:"Zwei"}],"model-value":e.$store.state.examples.buttonGroup1,"onUpdate:modelValue":t[15]||(t[15]=l=>e.updateState("buttonGroup1",l))},{help:a(()=>[n("Hilfetext")]),_:1},8,["model-value"]),J,o(S,{title:"1. Checkbox","model-value":e.$store.state.examples.checkbox1,"onUpdate:modelValue":t[16]||(t[16]=l=>e.updateState("checkbox1",l))},{help:a(()=>[n("Hilfetext")]),_:1},8,["model-value"])]),_:1}),o(i,{title:"JSON Gruppe"},{default:a(()=>[o(u,{title:"JSON 1",subtype:"json","model-value":e.$store.state.examples.json1,"onUpdate:modelValue":t[17]||(t[17]=l=>e.updateState("json1",l))},{help:a(()=>[n("JSON Objekt")]),_:1},8,["model-value"]),o(u,{title:"JSON 1 Text","model-value":e.$store.state.examples.json1.text,"onUpdate:modelValue":t[18]||(t[18]=l=>e.updateState("json1",l,"text"))},{help:a(()=>[n("Text im JSON Objekt")]),_:1},8,["model-value"]),o(m,{title:"JSON 1 Zahl","model-value":e.$store.state.examples.json1.number,"onUpdate:modelValue":t[19]||(t[19]=l=>e.updateState("json1",l,"number"))},{help:a(()=>[n("Zahl im JSON Objekt")]),_:1},8,["model-value"]),o(w,{title:"Tag Array","model-value":e.$store.state.examples.tags,"onUpdate:modelValue":t[20]||(t[20]=l=>e.updateState("tags",l))},{help:a(()=>[p("pre",null,v(JSON.stringify(e.$store.state.examples.tags,void 0,2)),1)]),_:1},8,["model-value"])]),_:1}),o(i,{title:"Meldungen"},{header:a(()=>[B]),default:a(()=>[o(x,null,{help:a(()=>[n(" Es sind auch Hilfetexte im #help Slot möglich. ")]),default:a(()=>[n(" Das ist eine Überschrift ")]),_:1}),o(d,null,{default:a(()=>[n(" Meldung ohne speziellen Subtype. ")]),_:1}),o(d,{subtype:"info"},{default:a(()=>[n("Infomeldung")]),_:1}),o(d,{subtype:"warning"},{default:a(()=>[n("Warnmeldung")]),_:1}),o(d,{subtype:"danger"},{default:a(()=>[n(" Fehlermeldung ")]),_:1})]),_:1}),o(i,{title:"Listen"},{default:a(()=>[o($,{title:"Liste 1",modelValue:e.$store.state.examples.hierarchy1,"onUpdate:modelValue":t[21]||(t[21]=l=>e.$store.state.examples.hierarchy1=l),labels:e.$store.state.examples.hierarchy1Labels},{help:a(()=>[p("pre",null,v(JSON.stringify(e.$store.state.examples.hierarchy1,void 0,2)),1)]),_:1},8,["modelValue","labels"])]),_:1}),o(V,{formName:"testingStoreForm",onSave:t[22]||(t[22]=l=>e.$emit("save")),onReset:t[23]||(t[23]=l=>e.$emit("reset")),onDefaults:t[24]||(t[24]=l=>e.$emit("defaults"))})])])}const K=U(_,[["render",D],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/TestingStore.vue"]]);export{K as default}; diff --git a/web/settings/assets/TimeChargeConfig-c8a71496.js b/web/settings/assets/TimeChargeConfig-f2cdfafd.js similarity index 84% rename from web/settings/assets/TimeChargeConfig-c8a71496.js rename to web/settings/assets/TimeChargeConfig-f2cdfafd.js index b038728773..d88391ec44 100644 --- a/web/settings/assets/TimeChargeConfig-c8a71496.js +++ b/web/settings/assets/TimeChargeConfig-f2cdfafd.js @@ -1 +1 @@ -import{C as l}from"./index-8fe3a4a0.js";import{_,p as o,k as a,l as i,q as b,A as s,L as r,u as m}from"./vendor-9bfbb89c.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"OpenwbTimeChargeConfig",mixins:[l],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/time_charging/phases_to_use"]}}},c={class:"timeChargeConfig"},f={name:"timeChargeConfigForm"},v={key:0},C={key:1};function w(t,e,$,B,k,V){const u=o("openwb-base-alert"),p=o("openwb-base-button-group-input"),g=o("openwb-base-card"),d=o("openwb-base-submit-buttons");return a(),i("div",c,[b("form",f,[s(g,{title:"Phasenumschaltung"},{default:r(()=>[t.$store.state.mqtt["openWB/general/extern"]===!0?(a(),i("div",v,[s(u,{subtype:"info"},{default:r(()=>[m(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(a(),i("div",C,[s(p,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"}],"model-value":t.$store.state.mqtt["openWB/general/chargemode_config/time_charging/phases_to_use"],"onUpdate:modelValue":e[0]||(e[0]=n=>t.updateState("openWB/general/chargemode_config/time_charging/phases_to_use",n))},{help:r(()=>[m(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "Zeitladen" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"])]))]),_:1}),s(d,{formName:"timeChargeConfigForm",onSave:e[1]||(e[1]=n=>t.$emit("save")),onReset:e[2]||(e[2]=n=>t.$emit("reset")),onDefaults:e[3]||(e[3]=n=>t.$emit("defaults"))})])])}const N=_(h,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/TimeChargeConfig.vue"]]);export{N as default}; +import{C as l}from"./index-baf9de5e.js";import{_,p as o,k as a,l as i,q as b,A as s,L as r,u as m}from"./vendor-2e22dd5c.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"OpenwbTimeChargeConfig",mixins:[l],data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/general/chargemode_config/time_charging/phases_to_use"]}}},c={class:"timeChargeConfig"},f={name:"timeChargeConfigForm"},v={key:0},C={key:1};function w(t,e,$,B,k,V){const u=o("openwb-base-alert"),p=o("openwb-base-button-group-input"),g=o("openwb-base-card"),d=o("openwb-base-submit-buttons");return a(),i("div",c,[b("form",f,[s(g,{title:"Phasenumschaltung"},{default:r(()=>[t.$store.state.mqtt["openWB/general/extern"]===!0?(a(),i("div",v,[s(u,{subtype:"info"},{default:r(()=>[m(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(a(),i("div",C,[s(p,{title:"Anzahl Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:3,text:"Maximum"}],"model-value":t.$store.state.mqtt["openWB/general/chargemode_config/time_charging/phases_to_use"],"onUpdate:modelValue":e[0]||(e[0]=n=>t.updateState("openWB/general/chargemode_config/time_charging/phases_to_use",n))},{help:r(()=>[m(' Hier kann eingestellt werden, ob Ladevorgänge im Modus "Zeitladen" mit nur einer Phase oder dem möglichen Maximum in Abhängigkeit der "Ladepunkt"- und "Fahrzeug"-Einstellungen durchgeführt werden. Voraussetzung ist die verbaute Umschaltmöglichkeit zwischen 1- und 3-phasig (s.g. 1p3p). ')]),_:1},8,["model-value"])]))]),_:1}),s(d,{formName:"timeChargeConfigForm",onSave:e[1]||(e[1]=n=>t.$emit("save")),onReset:e[2]||(e[2]=n=>t.$emit("reset")),onDefaults:e[3]||(e[3]=n=>t.$emit("defaults"))})])])}const N=_(h,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/TimeChargeConfig.vue"]]);export{N as default}; diff --git a/web/settings/assets/VehicleConfig-99f36e98.js b/web/settings/assets/VehicleConfig-0c215ae1.js similarity index 94% rename from web/settings/assets/VehicleConfig-99f36e98.js rename to web/settings/assets/VehicleConfig-0c215ae1.js index 1113ddcf34..74bfe536e1 100644 --- a/web/settings/assets/VehicleConfig-99f36e98.js +++ b/web/settings/assets/VehicleConfig-0c215ae1.js @@ -1 +1 @@ -import{l as $,d as H,S as j,A as J,T as G,U as Q,z as X,K as Y,X as K,I as ee,V as te,Y as ne,F as ae,W as le}from"./vendor-fortawesome-12056596.js";import{_ as S,C as ie}from"./index-8fe3a4a0.js";import{_ as oe}from"./dynamic-import-helper-be004503.js";import{_ as D,p as k,k as r,l as p,y as f,L as a,u as l,x as V,A as n,q as s,a0 as de,a1 as re,G as B,z as c,I as A,a2 as M,n as N,Q as ue,R as se}from"./vendor-9bfbb89c.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";import"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";const me={name:"VehicleConfigFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{default:void 0},vehicleType:String},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},ce={class:"vehicle-fallback"},he={key:1};function ge(e,o,h,E,_,m){const U=k("openwb-base-alert"),b=k("openwb-base-textarea");return r(),p("div",ce,[Object.keys(h.configuration).length==0?(r(),f(U,{key:0,subtype:"info"},{default:a(()=>[l(' Der Fahrzeug-Typ "'+V(h.vehicleType)+'" bietet keine Einstellungen. ',1)]),_:1})):(r(),p("div",he,[n(U,{subtype:"warning"},{default:a(()=>[l(' Es wurde keine Konfigurationsseite für den Fahrzeug-Typ "'+V(h.vehicleType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),n(b,{title:"Konfiguration",subtype:"json","model-value":h.configuration,"onUpdate:modelValue":o[0]||(o[0]=z=>m.updateConfiguration(z,"configuration"))},{help:a(()=>[l(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),n(U,{subtype:"info"},{default:a(()=>[s("pre",null,V(JSON.stringify(h.configuration,void 0,2)),1)]),_:1})]))])}const pe=D(me,[["render",ge],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/OpenwbVehicleConfigFallback.vue"]]),be={name:"OpenwbVehicleProxy",emits:["update:configuration"],props:{vehicleId:{required:!0},vehicleType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading vehicle: ${this.vehicleType}`),de({loader:()=>oe(Object.assign({"./bmw/vehicle.vue":()=>S(()=>import("./vehicle-e0cce990.js"),["assets/vehicle-e0cce990.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./evnotify/vehicle.vue":()=>S(()=>import("./vehicle-248a5b6c.js"),["assets/vehicle-248a5b6c.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./http/vehicle.vue":()=>S(()=>import("./vehicle-eba278a2.js"),["assets/vehicle-eba278a2.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./kia/vehicle.vue":()=>S(()=>import("./vehicle-e651cffa.js"),["assets/vehicle-e651cffa.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./manual/vehicle.vue":()=>S(()=>import("./vehicle-ad47b271.js"),["assets/vehicle-ad47b271.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mercedeseq/vehicle.vue":()=>S(()=>import("./vehicle-ddf9264f.js"),["assets/vehicle-ddf9264f.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./mqtt/vehicle.vue":()=>S(()=>import("./vehicle-bb74ec12.js"),["assets/vehicle-bb74ec12.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./psa/vehicle.vue":()=>S(()=>import("./vehicle-8873ef53.js"),["assets/vehicle-8873ef53.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./renault/vehicle.vue":()=>S(()=>import("./vehicle-98edae85.js"),["assets/vehicle-98edae85.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./skodaconnect/vehicle.vue":()=>S(()=>import("./vehicle-bb7f8446.js"),["assets/vehicle-bb7f8446.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./smarteq/vehicle.vue":()=>S(()=>import("./vehicle-fcb59aa2.js"),["assets/vehicle-fcb59aa2.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./tesla/vehicle.vue":()=>S(()=>import("./vehicle-1334ef21.js"),["assets/vehicle-1334ef21.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-axios-7e71c841.js","assets/index-8fe3a4a0.js","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/index-27f04b3e.css"]),"./tronity/vehicle.vue":()=>S(()=>import("./vehicle-db7891b8.js"),["assets/vehicle-db7891b8.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"]),"./vwid/vehicle.vue":()=>S(()=>import("./vehicle-9ae37409.js"),["assets/vehicle-9ae37409.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css"])}),`./${this.vehicleType}/vehicle.vue`),errorComponent:pe})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}};function fe(e,o,h,E,_,m){return r(),f(re(m.myComponent),{configuration:h.configuration,vehicleId:h.vehicleId,vehicleType:h.vehicleType,"onUpdate:configuration":o[0]||(o[0]=U=>m.updateConfiguration(U))},null,40,["configuration","vehicleId","vehicleType"])}const ve=D(be,[["render",fe],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/OpenwbVehicleProxy.vue"]]);$.add(H,j,J,G,Q,X,Y,K,ee,te,ne);const _e={name:"OpenwbVehicleConfig",mixins:[ie],emits:["sendCommand"],components:{FontAwesomeIcon:ae,FontAwesomeLayers:le,OpenwbVehicleProxy:ve},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/optional/rfid/active","openWB/vehicle/template/ev_template/+","openWB/vehicle/template/charge_template/+","openWB/vehicle/template/charge_template/+/chargemode/scheduled_charging/plans/+","openWB/vehicle/template/charge_template/+/time_charging/plans/+","openWB/vehicle/+/name","openWB/vehicle/+/charge_template","openWB/vehicle/+/ev_template","openWB/vehicle/+/tag_id","openWB/system/configurable/soc_modules","openWB/vehicle/+/soc_module/general_config","openWB/vehicle/+/soc_module/config"],showVehicleModal:!1,modalVehicleIndex:void 0,showEvTemplateModal:!1,modalEvTemplateIndex:void 0,showChargeTemplateModal:!1,modalChargeTemplateIndex:void 0,showChargeTemplateSchedulePlanModal:!1,modalChargeTemplateSchedulePlanIndex:void 0,showChargeTemplateTimeChargingPlanModal:!1,modalChargeTemplateTimeChargingPlanIndex:void 0}},computed:{vehicleIndexes:{get(){return this.getWildcardIndexList("openWB/vehicle/+/name")}},evTemplates:{get(){return this.getWildcardTopics("openWB/vehicle/template/ev_template/+")}},evTemplateList:{get(){let e=[];return Object.keys(this.evTemplates).forEach(o=>{let h=parseInt(o.match(/([0-9]+)$/g)[0]),E=this.$store.state.mqtt["openWB/vehicle/template/ev_template/"+h].name;e.push({value:h,text:E})}),e}},chargeTemplates:{get(){return this.getWildcardTopics("openWB/vehicle/template/charge_template/+")}},chargeTemplateList:{get(){let e=[];return Object.keys(this.chargeTemplates).forEach(o=>{let h=parseInt(o.match(/([0-9]+)$/g)[0]),E=this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+h].name;e.push({value:h,text:E})}),e}},socModuleList:{get(){return this.$store.state.mqtt["openWB/system/configurable/soc_modules"]}}},methods:{getChargeTemplateScheduledChargingPlans(e){let o=e.match(/([^/]+)$/)[0];return this.getWildcardTopics("openWB/vehicle/template/charge_template/"+o+"/chargemode/scheduled_charging/plans/+")},getChargeTemplateTimeChargingPlans(e){let o=e.match(/([^/]+)$/)[0];return this.getWildcardTopics("openWB/vehicle/template/charge_template/"+o+"/time_charging/plans/+")},addVehicle(e){e.stopPropagation(),console.info("requesting new vehicle..."),this.$emit("sendCommand",{command:"addVehicle",data:{}})},removeVehicleModal(e,o){o.stopPropagation(),this.modalVehicleIndex=e,this.showVehicleModal=!0},removeVehicle(e,o){this.showVehicleModal=!1,o=="confirm"&&(console.info("request removal of vehicle '"+e+"'"),this.$emit("sendCommand",{command:"removeVehicle",data:{id:e}}))},getVehicleName(e){return this.$store.state.mqtt["openWB/vehicle/"+e+"/name"]?this.$store.state.mqtt["openWB/vehicle/"+e+"/name"]:"Fahrzeug "+e},getSocDefaultConfiguration(e){const o=this.socModuleList.find(h=>h.value==e);return Object.prototype.hasOwnProperty.call(o,"defaults")?{...JSON.parse(JSON.stringify(o.defaults))}:(console.warn("no default configuration found for soc type!",e),{})},updateSelectedSocModule(e,o){this.updateState("openWB/vehicle/"+e+"/soc_module/config",o,"type"),this.updateState("openWB/vehicle/"+e+"/soc_module/config",this.getSocDefaultConfiguration(o))},updateConfiguration(e,o){console.debug("updateConfiguration",e,o),this.updateState(e,o.value,o.object)},addEvTemplate(e){e.stopPropagation(),console.info("requesting new ev template..."),this.$emit("sendCommand",{command:"addEvTemplate",data:{}})},removeEvTemplateModal(e,o){o.stopPropagation(),this.modalEvTemplateIndex=parseInt(e.match(/([^/]+)$/)[0]),this.showEvTemplateModal=!0},removeEvTemplate(e,o){this.showEvTemplateModal=!1,o=="confirm"&&(console.info("request removal of ev template '"+e+"'"),this.$emit("sendCommand",{command:"removeEvTemplate",data:{id:e}}))},getEvTemplateName(e){return this.$store.state.mqtt["openWB/vehicle/template/ev_template/"+e]?this.$store.state.mqtt["openWB/vehicle/template/ev_template/"+e].name:"Fahrzeug-Profil "+e},addChargeTemplate(e){e.stopPropagation(),console.info("requesting new charge template..."),this.$emit("sendCommand",{command:"addChargeTemplate",data:{}})},getChargeTemplateIndex(e){return parseInt(e.match(/([^/]+)$/)[0])},removeChargeTemplateModal(e,o){o.stopPropagation(),this.modalChargeTemplateIndex=this.getChargeTemplateIndex(e),this.showChargeTemplateModal=!0},removeChargeTemplate(e,o){this.showChargeTemplateModal=!1,o=="confirm"&&(console.info("request removal of charge template '"+e+"'"),this.$emit("sendCommand",{command:"removeChargeTemplate",data:{id:e}}))},getChargeTemplateName(e){return this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e]?this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e].name:"Lade-Profil "+e},getChargeTemplateSchedulePlanName(e,o){return this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/chargemode/scheduled_charging/plans/"+o]?this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/chargemode/scheduled_charging/plans/"+o].name:"Zielladen Zeitplan "+e+"/"+o},addChargeTemplateSchedulePlan(e,o){o.stopPropagation(),console.info("requesting new charge template schedule plan...");let h=parseInt(e.match(/([^/]+)$/)[0]);this.$emit("sendCommand",{command:"addChargeTemplateSchedulePlan",data:{template:h}})},removeChargeTemplateSchedulePlanModal(e,o,h){h.stopPropagation(),this.modalChargeTemplateIndex=parseInt(e.match(/([^/]+)$/)[0]),this.modalChargeTemplateSchedulePlanIndex=parseInt(o.match(/([^/]+)$/)[0]),this.showChargeTemplateSchedulePlanModal=!0},removeChargeTemplateSchedulePlan(e,o,h){this.showChargeTemplateSchedulePlanModal=!1,h=="confirm"&&(console.info("request removal of charge template '"+e+"' schedule plan '"+o+"'"),this.$emit("sendCommand",{command:"removeChargeTemplateSchedulePlan",data:{template:e,plan:o}}))},getChargeTemplateTimeChargingPlanName(e,o){return this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/time_charging/plans/"+o]?this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/time_charging/plans/"+o].name:"Zeitladen Zeitplan "+e+"/"+o},addChargeTemplateTimeChargingPlan(e,o){o.stopPropagation(),console.info("requesting new charge template time charging plan...");let h=parseInt(e.match(/([^/]+)$/)[0]);this.$emit("sendCommand",{command:"addChargeTemplateTimeChargingPlan",data:{template:h}})},removeChargeTemplateTimeChargingPlanModal(e,o,h){h.stopPropagation(),this.modalChargeTemplateIndex=parseInt(e.match(/([^/]+)$/)[0]),this.modalChargeTemplateTimeChargingPlanIndex=parseInt(o.match(/([^/]+)$/)[0]),this.showChargeTemplateTimeChargingPlanModal=!0},removeChargeTemplateTimeChargingPlan(e,o,h){this.showChargeTemplateTimeChargingPlanModal=!1,h=="confirm"&&(console.info("request removal of charge template '"+e+"' time charging plan '"+o+"'"),this.$emit("sendCommand",{command:"removeChargeTemplateTimeChargingPlan",data:{template:e,plan:o}}))}}},v=e=>(ue("data-v-d7193cf0"),e=e(),se(),e),we={class:"vehicleConfig"},ke={name:"vehicleConfigForm"},Ve={key:0},Ce={key:1},Se=v(()=>s("hr",null,null,-1)),ze={key:0},Te=v(()=>s("br",null,null,-1)),Ue=["innerHTML"],We=v(()=>s("hr",null,null,-1)),Pe=v(()=>s("br",null,null,-1)),ye=v(()=>s("br",null,null,-1)),Le=v(()=>s("br",null,null,-1)),Be={key:1},Ae=v(()=>s("hr",{class:"border-secondary"},null,-1)),Ee={key:0},qe={key:1},Me=v(()=>s("br",null,null,-1)),Fe=v(()=>s("br",null,null,-1)),xe=v(()=>s("br",null,null,-1)),De=v(()=>s("br",null,null,-1)),Ze={key:0},Ne={key:1},Ie=v(()=>s("br",null,null,-1)),Oe=v(()=>s("br",null,null,-1)),Re=v(()=>s("ol",null,[s("li",null," Zielladen (Sofortladen) mit Priorität "),s("li",null,"Zielladen (Sofortladen)"),s("li",null,"Zeitladen mit Priorität"),s("li",null,"Zeitladen"),s("li",null,"Sofortladen mit Priorität"),s("li",null,"Sofortladen"),s("li",null,"PV (Min-Anteil) mit Priorität"),s("li",null,"PV (Min-Anteil)"),s("li",null,"Zielladen (PV) mit Priorität"),s("li",null,"Zielladen (PV)"),s("li",null,"PV (PV-Anteil) mit Priorität"),s("li",null,"PV (PV-Anteil)")],-1)),$e=v(()=>s("hr",null,null,-1)),He=v(()=>s("hr",null,null,-1)),je=v(()=>s("br",null,null,-1)),Je=v(()=>s("br",null,null,-1)),Ge=v(()=>s("hr",null,null,-1)),Qe=v(()=>s("br",null,null,-1)),Xe=v(()=>s("br",null,null,-1)),Ye={key:0},Ke={key:1},et={key:2},tt={key:3},nt={key:4},at={key:4},lt=v(()=>s("hr",null,null,-1)),it={key:0},ot={key:1},dt={key:2},rt={key:3},ut={key:4},st={key:4};function mt(e,o,h,E,_,m){const U=k("openwb-base-modal-dialog"),b=k("font-awesome-icon"),z=k("openwb-base-avatar"),q=k("openwb-base-alert"),W=k("openwb-base-text-input"),F=k("openwb-base-select-input"),I=k("openwb-base-array-input"),w=k("openwb-base-button-group-input"),y=k("openwb-base-heading"),T=k("openwb-base-number-input"),O=k("openwb-vehicle-proxy"),L=k("openwb-base-card"),Z=k("font-awesome-layers"),C=k("openwb-base-range-input"),R=k("openwb-base-submit-buttons");return r(),p(B,null,[n(U,{show:_.showVehicleModal,title:"Fahrzeug löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[0]||(o[0]=i=>m.removeVehicle(_.modalVehicleIndex,i))},{default:a(()=>[l(' Wollen Sie das Fahrzeug "'+V(m.getVehicleName(_.modalVehicleIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showEvTemplateModal,title:"Fahrzeug-Profil löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[1]||(o[1]=i=>m.removeEvTemplate(_.modalEvTemplateIndex,i))},{default:a(()=>[l(' Wollen Sie das Fahrzeug-Profil "'+V(m.getEvTemplateName(_.modalEvTemplateIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showChargeTemplateModal,title:"Lade-Profil löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[2]||(o[2]=i=>m.removeChargeTemplate(_.modalChargeTemplateIndex,i))},{default:a(()=>[l(' Wollen Sie das Lade-Profil "'+V(m.getChargeTemplateName(_.modalChargeTemplateIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showChargeTemplateSchedulePlanModal,title:"Zielladen Zeitplan löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[3]||(o[3]=i=>m.removeChargeTemplateSchedulePlan(_.modalChargeTemplateIndex,_.modalChargeTemplateSchedulePlanIndex,i))},{default:a(()=>[l(' Wollen Sie den Zielladen Zeitplan "'+V(m.getChargeTemplateSchedulePlanName(_.modalChargeTemplateIndex,_.modalChargeTemplateSchedulePlanIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showChargeTemplateTimeChargingPlanModal,title:"Zeitladen Zeitplan löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[4]||(o[4]=i=>m.removeChargeTemplateTimeChargingPlan(_.modalChargeTemplateIndex,_.modalChargeTemplateTimeChargingPlanIndex,i))},{default:a(()=>[l(' Wollen Sie den Zeitladen Zeitplan "'+V(m.getChargeTemplateTimeChargingPlanName(_.modalChargeTemplateIndex,_.modalChargeTemplateTimeChargingPlanIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),s("div",we,[s("form",ke,[n(L,{subtype:"info",collapsible:!0,collapsed:e.$route.params.section!="vehicle"},{header:a(()=>[n(b,{"fixed-width":"",icon:["fas","car"]}),l(" Fahrzeuge ")]),actions:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(r(),f(z,{key:0,class:"bg-success clickable",onClick:m.addVehicle},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):c("",!0)]),default:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(r(),p("div",Ve,[n(q,{subtype:"info"},{default:a(()=>[l(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(r(),p("div",Ce,[(r(!0),p(B,null,A(m.vehicleIndexes,i=>(r(),f(L,{key:i,title:m.getVehicleName(i),collapsible:!0,collapsed:!(e.$route.params.section=="vehicle"&&parseInt(e.$route.params.section_index)==i),subtype:"info"},M({default:a(()=>[n(W,{title:"Bezeichnung","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/name"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/name",d),disabled:i===0},M({_:2},[i===0?{name:"help",fn:a(()=>[l(" Das Standard-Fahrzeug kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),n(q,{subtype:"info"},{default:a(()=>[l(" Ein anderes Fahrzeug-Profil wird erst NACH dem Abstecken übernommen, da es sonst durch die Änderung bestimmter Einstellungen im laufenden Ladevorgang zu Widersprüchen kommen kann. ")]),_:1}),n(F,{title:"Fahrzeug-Profil",options:m.evTemplateList,"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/ev_template"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/ev_template",d)},null,8,["options","model-value","onUpdate:modelValue"]),n(F,{title:"Lade-Profil",options:m.chargeTemplateList,"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/charge_template"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/charge_template",d)},null,8,["options","model-value","onUpdate:modelValue"]),Se,e.$store.state.mqtt["openWB/optional/rfid/active"]===!0?(r(),p("div",ze,[n(I,{title:"Zugeordnete Tags","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/tag_id"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/tag_id",d)},null,8,["model-value","onUpdate:modelValue"]),n(q,{subtype:"info"},{default:a(()=>[l(" Der/die RFID-Tag(s) müssen in dem Ladepunkt-Profil eingetragen werden, um zuzuordnen, an welchem Ladepunkt die Tags verwendet werden dürfen."),Te,s("span",{innerHTML:e.$store.state.text.rfidWiki},null,8,Ue)]),_:1}),We])):c("",!0),n(F,{class:"mb-2",title:"SoC-Modul",options:m.socModuleList,"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].type,"onUpdate:modelValue":d=>m.updateSelectedSocModule(i,d)},{help:a(()=>[l(" Mit einem SoC-Modul kann der Ladestand des Fahrzeugs ermittelt und geregelt werden. Z.B. lassen sich unabhängig vom Fahrzeug bestimmte SoC-Werte einstellen, um den Fahrzeugakku zu schonen. Aktuell werden die SoC-Werte mittels der App-Zugangsdaten aus dem Herstellerserver des Fahrzeuges ausgelesen. Zukünftig soll auch eine direkte SoC-Auslesung aus dem Fahrzeug möglich werden (openWB Pro)."),Pe,l(" Die SoC-Abfrage erfolgt automatisch beim Anstecken des Fahrzeuges und zusätzlich über einstellbare Abfrageintervalle während des Ladens und Nichtladens. Die Abfrage kann auch manuell durch Klick auf den Reload-Pfeil auf der Hauptseite ausgelöst werden."),ye,l(" Wenn eine Abfrage fehlschlägt, wird noch drei weitere Male im Abstand von 5 Minuten versucht, den SoC abzufragen. Wenn dies nicht erfolgreich ist, wird der SoC auf 0% gesetzt um zu vermeiden, dass ein Auto beim SoC-basierten Laden nicht geladen wird. Die Abfrage erfolgt dann wieder in den oben genannten Intervallen."),Le,l(" Da aktuell die SoC-Abfragen über Onlineserver der Fahrzeughersteller laufen, ist infolge möglicher Umstellungen/Wartungen keine 100%-ig sichere SoC-Abfrage garantiert. Auch kann es zu SoC-Abweichungen infolge von zeitlicher Verzögerungen kommen. Hilfestellung erfolgt primär im openWB-Forum. ")]),_:2},1032,["options","model-value","onUpdate:modelValue"]),e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].type?(r(),p("div",Be,[n(w,{title:"SoC aus Fahrzeug auslesen",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].use_soc_from_cp,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"use_soc_from_cp")},{help:a(()=>[l(" Wenn Ladepunkt und Fahrzeug das Auslesen des SoCs unterstützen, wird nach dem Anstecken der SoC aus dem Fahrzeug ausgelesen und während der Ladung berechnet. Das Auslesen des SoC aus dem Fahrzeug ist aktuell nur mit einer openWB Pro möglich. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(y,null,{help:a(()=>[l(" Einige Hersteller begrenzen die möglichen Abfragen. Sobald ein gewisses Limit in einem Zeitraum überschritten wird, werden weitere Anfragen blockiert. Die Zeitintervalle sollten daher nicht zu klein gewählt werden. ")]),default:a(()=>[l(" Aktualisierung der Fahrzeugdaten ")]),_:1}),n(T,{title:"Während der Ladung",unit:"Min.","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].request_interval_charging,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"request_interval_charging")},{help:a(()=>[l(" Der Ladestand des Fahrzeugs (SoC) wird bei einem laufenden Ladevorgang in dem hier eingestellten Intervall in Minuten abgefragt. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Ohne laufende Ladung",unit:"Min.","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].request_interval_not_charging,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"request_interval_not_charging")},{help:a(()=>[l(" Der Ladestand des Fahrzeugs (SoC) wird in dem hier eingestellten Intervall in Minuten abgefragt, falls kein Ladevorgang aktiv ist. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Nur aktualisieren wenn angesteckt",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].request_only_plugged,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"request_only_plugged")},{help:a(()=>[l(' Wird hier "Ja" ausgewählt, dann wird der Ladestand des Fahrzeugs nur abgefragt, wenn das Ladekabel angesteckt ist. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(O,{vehicleId:i,vehicleType:e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].type,configuration:e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].configuration,"onUpdate:configuration":d=>m.updateConfiguration("openWB/vehicle/"+i+"/soc_module/config",d)},null,8,["vehicleId","vehicleType","configuration","onUpdate:configuration"])])):c("",!0)]),_:2},[i!==0?{name:"actions",fn:a(d=>[d.collapsed?c("",!0):(r(),f(z,{key:0,class:"bg-danger clickable",onClick:t=>m.removeVehicleModal(i,t)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),key:"0"}:void 0]),1032,["title","collapsed"]))),128))]))]),_:1},8,["collapsed"]),Ae,n(y,null,{default:a(()=>[l("Profile")]),_:1}),n(L,{collapsible:!0,collapsed:!0},{header:a(()=>[n(Z,{"fixed-width":"",class:"fa-lg"},{default:a(()=>[n(b,{"fixed-width":"",icon:["far","file"]}),n(b,{"fixed-width":"",icon:["fas","car"],transform:"shrink-8"})]),_:1}),l(" Fahrzeug-Profile ")]),actions:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(r(),f(z,{key:0,class:"bg-success clickable",onClick:m.addEvTemplate},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):c("",!0)]),default:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(r(),p("div",Ee,[n(q,{subtype:"info"},{default:a(()=>[l(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(r(),p("div",qe,[n(q,{subtype:"info"},{default:a(()=>[l(" Ein anderes Fahrzeug-Profil wird erst NACH dem Abstecken übernommen, da es sonst durch die Änderung bestimmter Einstellungen im laufenden Ladevorgang zu Widersprüchen kommen kann. ")]),_:1}),(r(!0),p(B,null,A(m.evTemplates,(i,d)=>(r(),f(L,{key:d,title:i.name?i.name:d,collapsible:!0,collapsed:!0},M({default:a(()=>[n(W,{title:"Bezeichnung","model-value":i.name,"onUpdate:modelValue":t=>e.updateState(d,t,"name"),disabled:d.endsWith("/0")},M({_:2},[d.endsWith("/0")?{name:"help",fn:a(()=>[l(" Das Standard-Profil kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),n(y,null,{default:a(()=>[l(" Angaben zum Ladestrom ")]),_:1}),n(C,{title:"Mindeststrom",min:6,max:16,step:1,unit:"A","model-value":i.min_current,"onUpdate:modelValue":t=>e.updateState(d,t,"min_current")},null,8,["model-value","onUpdate:modelValue"]),n(C,{title:"Maximalstrom bei einer Phase",min:6,max:32,step:1,unit:"A","model-value":i.max_current_single_phase,"onUpdate:modelValue":t=>e.updateState(d,t,"max_current_single_phase")},null,8,["model-value","onUpdate:modelValue"]),n(C,{title:"Maximalstrom mehrere Phasen",min:6,max:32,step:1,unit:"A","model-value":i.max_current_multi_phases,"onUpdate:modelValue":t=>e.updateState(d,t,"max_current_multi_phases")},null,8,["model-value","onUpdate:modelValue"]),n(T,{title:"Erlaubte Stromabweichung",step:.1,unit:"A","model-value":i.nominal_difference,"onUpdate:modelValue":t=>e.updateState(d,t,"nominal_difference")},{help:a(()=>[l(" In manchen Lademodi, z.B. bei der automatischen Phasenumschaltung, wird geprüft, ob das Fahrzeug mit der vorgegebenen Stromstärke lädt. Manche Fahrzeuge laden nicht exakt mit der vorgegebenen Stromstärke. Die erlaubte Abweichung kann hier eingestellt werden. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(y,null,{default:a(()=>[l(" Angaben zur Batterie ")]),_:1}),n(T,{title:"Kapazität der Batterie",unit:"kWh",min:10,step:1,"model-value":i.battery_capacity/1e3,"onUpdate:modelValue":t=>e.updateState(d,t*1e3,"battery_capacity")},{help:a(()=>[l(" Angabe der Netto-Kapazität der Fahrzeugbatterie. Dient zur Berechnung des manuellen SoC und der geladenen Reichweite. Die Netto-Kapazität unterscheidet sich meist von den Angaben der Fahrzeughersteller. So besitzt ein Tesla Model S 90 z. B. nur ca. 83kWh und nicht die durch die Typenbezeichnung suggerierten 90kWh. Andere Hersteller begrenzen die nutzbare Kapazität absichtlich, um eine höhere Lebensdauer der Akkus zu erreichen. Gängig sind eine Drosselung auf 90% der angegebenen Brutto-Kapazität. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Wirkungsgrad der Ladeelektronik",unit:"%",required:"","model-value":i.efficiency,"onUpdate:modelValue":t=>e.updateState(d,t,"efficiency")},{help:a(()=>[l(" Durch Verluste in der Ladeelektronik (z. B. Umwandlung Wechselspannung in Gleichspannung) gelangt nicht die komplette Energie, welche durch den Zähler in der Wallbox gemessen wird, in den Akku des Fahrzeugs. Der anzugebende Wert liegt bei gängigen Fahrzeugen im Bereich 90-95%. Eine Ausnahme stellt der Zoe dar, dessen Chameleon-Lader je nach Modellversion und freigegebener Leistung der Wallbox teilweise nur auf ca. 50% kommt."),Me,l(" Liegen die Angaben der Wallbox und des Fahrzeugs nach der Ladung mehrere Prozent auseinander, dann kann mit dieser Einstellung eine Feinabstimmung erfolgen: "),Fe,l(" SoC an der Wallbox zu hoch: Wirkungsgrad um ein paar Prozent reduzieren"),xe,l(" SoC an der Wallbox zu gering: Wirkungsgrad um ein paar Prozent erhöhen"),De]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Durchschnittsverbrauch",unit:"kWh / 100km",min:0,step:.1,"model-value":i.average_consump/1e3,"onUpdate:modelValue":t=>e.updateState(d,t*1e3,"average_consump")},null,8,["model-value","onUpdate:modelValue"]),n(y,null,{default:a(()=>[l(" Angaben zur Handhabung von Phasen ")]),_:1}),n(w,{title:"Unterstützte Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:2,text:"2"},{buttonValue:3,text:"3"}],"model-value":i.max_phases,"onUpdate:modelValue":t=>e.updateState(d,t,"max_phases")},{help:a(()=>[l(" Anzahl der Phasen, die der Fahrzeuglader (s.g. OBC - OnboardCharger) bereitstellt. Plugin-Hybride haben meist nur eine Phase, reine E-Autos meist 2 bis 3 Phasen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"CP-Unterbrechung",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":i.control_pilot_interruption,"onUpdate:modelValue":t=>e.updateState(d,t,"control_pilot_interruption")},{help:a(()=>[l(' Erläuterung siehe "Konfiguration - Ladepunkte" -> Hardware-Optionen ')]),_:2},1032,["model-value","onUpdate:modelValue"]),i.control_pilot_interruption?(r(),f(T,{key:0,title:"Dauer der CP-Unterbrechung",min:4,step:1,unit:"s","model-value":i.control_pilot_interruption_duration,"onUpdate:modelValue":t=>e.updateState(d,t,"control_pilot_interruption_duration")},null,8,["model-value","onUpdate:modelValue"])):c("",!0),n(w,{title:"Phasenumschaltung blockieren",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":i.prevent_phase_switch,"onUpdate:modelValue":t=>e.updateState(d,t,"prevent_phase_switch")},{help:a(()=>[l(' Erläuterung zu 1p3p siehe "Ladeeinstellungen" ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Ladung aktiv halten",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":i.prevent_charge_stop,"onUpdate:modelValue":t=>e.updateState(d,t,"prevent_charge_stop")},{help:a(()=>[l(" In den Lademodi PV- und Zielladen wird die Abschaltverzögerung ausgesetzt und nach Ladebeginn der Ladevorgang nicht unterbrochen. Diese Einstellung sollte bei Fahrzeugen aktiviert werden, die nach Unterbrechen der Ladung keine Ladung mehr starten. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Pause bei Phasenumschaltung",unit:"s",min:2,step:1,"model-value":i.phase_switch_pause,"onUpdate:modelValue":t=>e.updateState(d,t,"phase_switch_pause")},null,8,["model-value","onUpdate:modelValue"]),n(T,{title:"Mindestzeit zwischen Umschaltungen",unit:"s",min:2,step:1,"model-value":i.keep_charge_active_duration,"onUpdate:modelValue":t=>e.updateState(d,t,"keep_charge_active_duration")},{help:a(()=>[l(" Manche Fahrzeuge benötigen nach der Umschaltung einige Zeit, bis sie mit der vorgegebenen Phasenzahl laden. In dieser Zeit wird keine neue Phasenumschaltung angestoßen. ")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},[d.endsWith("/0")?void 0:{name:"actions",fn:a(t=>[e.$store.state.mqtt["openWB/general/extern"]===!1&&!t.collapsed?(r(),f(z,{key:0,class:"bg-danger clickable",onClick:g=>m.removeEvTemplateModal(d,g)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):c("",!0)]),key:"0"}]),1032,["title"]))),128))]))]),_:1}),n(L,{collapsible:!0,collapsed:e.$route.params.section!="charge_template"},{header:a(()=>[n(Z,{"fixed-width":"",class:"fa-lg"},{default:a(()=>[n(b,{"fixed-width":"",icon:["far","file"]}),n(b,{"fixed-width":"",icon:["fas","plug"],transform:"shrink-8"})]),_:1}),l(" Lade-Profile ")]),actions:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(r(),f(z,{key:0,class:"bg-success clickable",onClick:m.addChargeTemplate},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):c("",!0)]),default:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(r(),p("div",Ze,[n(q,{subtype:"info"},{default:a(()=>[l(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(r(),p("div",Ne,[(r(!0),p(B,null,A(m.chargeTemplates,(i,d)=>(r(),f(L,{key:d,title:i.name?i.name:d,collapsible:!0,collapsed:!(e.$route.params.section=="charge_template"&&parseInt(e.$route.params.section_index)==m.getChargeTemplateIndex(d))},M({default:a(()=>[n(W,{title:"Bezeichnung","model-value":i.name,"onUpdate:modelValue":t=>e.updateState(d,t,"name"),disabled:d.endsWith("/0")},M({_:2},[d.endsWith("/0")?{name:"help",fn:a(()=>[l(" Das Standard-Profil kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),n(y,null,{default:a(()=>[l(" Allgemeine Optionen ")]),_:1}),n(w,{title:"Aktiver Lademodus",buttons:[{buttonValue:"instant_charging",text:"Sofortladen",class:"btn-outline-danger"},{buttonValue:"pv_charging",text:"PV",class:"btn-outline-success"},{buttonValue:"scheduled_charging",text:"Zielladen",class:"btn-outline-primary"},{buttonValue:"standby",text:"Standby",class:"btn-outline-secondary"},{buttonValue:"stop",text:"Stop",class:"btn-outline-dark"}],"model-value":i.chargemode.selected,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.selected")},{help:a(()=>[l(" Diese Einstellung entspricht dem gewählten Lademodus auf der Hauptseite und ist aktiv, wenn ein zugehöriges Fahrzeug angesteckt ist."),Ie,l(" Die zur Verfügung stehende Leistung wird intern anhand folgender Prioritätenliste auf die Fahrzeuge bzw. Ladepunkte verteilt:"),Oe,Re]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Priorität",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.prio,"onUpdate:modelValue":t=>e.updateState(d,t,"prio")},{help:a(()=>[l(" Die Ladefreigabe mit dem jeweils eingestellten Mindeststrom erfolgt für alle Fahrzeuge, soweit die verfügbare Leistung ausreicht. Fahrzeuge mit Priorität werden bevorzugt mit mehr Leistung geladen, falls verfügbar. Erst wenn alle priorisierten Fahrzeuge die maximale Ladeleistung bekommen und noch zusätzlicher Überschuss vorhanden ist, wird auch für Fahrzeuge ohne Priorität mehr Leistung freigegeben. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Zeitladen",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.time_charging.active,"onUpdate:modelValue":t=>e.updateState(d,t,"time_charging.active")},{help:a(()=>[l(' Der Lademodus Zeitladen kann parallel zu einem der anderen Lademodi aktiviert werden. Die Auswahl des Lademodus, der in der Regelung genutzt wird, erfolgt anhand der Übersicht in der Hilfe bei "Aktiver Lademodus". Wenn kein Zeitplan aktiv ist oder das Limit des Zeitplans erreicht wurde, wird der Lademodus verwendet, der bei "Aktiver Lademodus" ausgewählt ist. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Sperre nach Abstecken",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.disable_after_unplug,"onUpdate:modelValue":t=>e.updateState(d,t,"disable_after_unplug")},{help:a(()=>[l(" Wird ein Fahrzeug mit diesem Profil abgesteckt, dann wird der betroffene Ladepunkt automatisch deaktiviert. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Standard nach Abstecken",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.load_default,"onUpdate:modelValue":t=>e.updateState(d,t,"load_default")},{help:a(()=>[l(" Falls diese Option aktiviert ist, wird der betroffene Ladepunkt nach dem Abstecken auf das Standard Ladeprofil zurückgesetzt. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),$e,n(y,null,{default:a(()=>[l("Sofortladen")]),_:1}),n(C,{title:"Soll-Ladestrom",min:6,max:32,step:1,unit:"A","model-value":i.chargemode.instant_charging.current,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.instant_charging.current")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Begrenzung",buttons:[{buttonValue:"none",text:"Aus"},{buttonValue:"soc",text:"SoC"},{buttonValue:"amount",text:"Energie"}],"model-value":i.chargemode.instant_charging.limit.selected,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.instant_charging.limit.selected")},{help:a(()=>[l(" Sofortladen kann ohne Fahrzeug-SoC-Begrenzung (Aus), mit Begrenzung des Fahrzeug-SoC (SoC) bei konfiguriertem SoC-Auslesemodul oder mittels Vorgabe eine gewünschten Energiemenge in kWh (Energie) genutzt werden. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"SoC-Limit",min:5,max:100,step:5,unit:"%","model-value":i.chargemode.instant_charging.limit.soc,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.instant_charging.limit.soc")},{help:a(()=>[l(' Um die Fahrzeug-SoC-Begrenzung nutzen zu können, muss ein SoC-Modul für das jeweilige Fahrzeug eingerichtet sein (siehe "Konfiguration" -> "Fahrzeuge" -> "SoC-Modul"). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Energie-Limit",unit:"kWh",min:1,max:100,step:1,"model-value":i.chargemode.instant_charging.limit.amount/1e3,"onUpdate:modelValue":t=>e.updateState(d,t*1e3,"chargemode.instant_charging.limit.amount")},{help:a(()=>[l(" Die geladene Energiemenge wird beim Wechsel des Lademodus oder nach dem Anstecken, wenn Sofortladen schon ausgewählt ist, neu gezählt. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),He,n(y,null,{default:a(()=>[l("PV-Laden")]),_:1}),n(C,{title:"Mindeststrom",min:0,max:11,step:1,unit:"A",labels:[{label:"Aus",value:0},{label:6,value:6},{label:7,value:7},{label:8,value:8},{label:9,value:9},{label:10,value:10},{label:11,value:11},{label:12,value:12},{label:13,value:13},{label:14,value:14},{label:15,value:15},{label:16,value:16}],"model-value":i.chargemode.pv_charging.min_current,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.min_current")},{help:a(()=>[l(' Hier kann ein Mindeststrom eingestellt werden, mit dem unabhängig vom vorhandenen Überschuss durchgeladen wird. Hierdurch wird z.B. an Tagen mit häufigem Sonne/Wolken-Wechsel oder mit nur wenig PV-Ertrag ein Laden ohne Unterbrechung ermöglicht. Folglich kann auch Netzbezug für das Fahrzeugladen entstehen, weshalb der niedrigste Stromwert empfohlen wird. Diese Einstellung entspricht weitestgehend dem Lademodus "Min+PV" der Version 1.x. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"SoC-Limit",min:0,max:20,step:1,unit:"%",labels:[{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95},{label:100,value:100},{label:"Aus",value:101}],"model-value":i.chargemode.pv_charging.max_soc,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.max_soc")},{help:a(()=>[l(' Bei der Einstellung "100%" wird die Ladung sofort mit Erreichen der 100% beendet. Dadurch erfolgt KEIN Balancing der Batteriezellen. Ist dies gewünscht (sollte ab und an durchgeführt werden), muss hier "Aus" gewählt werden (Schieberegler ganz nach rechts stellen), um die Ladung MIT Balancing bis zur Beendigung durch das Fahrzeug weiterlaufen zu lassen.'),je,l(' Um die Fahrzeug-SoC-Begrenzung nutzen zu können, muss ein SoC-Modul für das jeweilige Fahrzeug eingerichtet sein (siehe "Konfiguration" -> "Fahrzeuge" -> "SoC-Modul"). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"Mindest-SoC",min:0,max:19,step:1,unit:"%",labels:[{label:"Aus",value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95}],"model-value":i.chargemode.pv_charging.min_soc,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.min_soc")},{help:a(()=>[l(' Liegt der Fahrzeug-Ladestand (SoC) unter dem hier eingestellten Wert, dann wird bis zum Erreichen dieses Wertes mit dem eingestellten "Mindest-SoC-Strom" geladen. Dies dient der Sicherstellung eines "Mindest-SoC" - z.B. für eine immer abzudeckende Fahrzeugreichweite - auch wenn kein oder zu wenig Überschuss verfügbar ist (=> Laden mit anteilig Netzstrom). Nach dem Erreichen des "Mindest-SoC" wird bei verfügbarem Überschuss geladen.'),Je,l(' Um die Fahrzeug-SoC-Begrenzung nutzen zu können, muss ein SoC-Modul für das jeweilige Fahrzeug eingerichtet sein (siehe "Konfiguration" -> "Fahrzeuge" -> "SoC-Modul"). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"Mindest-SoC-Strom",min:6,max:32,step:1,unit:"A","model-value":i.chargemode.pv_charging.min_soc_current,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.min_soc_current")},{help:a(()=>[l(' Wird der oben eingestellte "Mindest-SoC" des Fahrzeuges unterschritten, dann wird unabhängig vom Überschuss ein Ladevorgang mit dem hier festgelegten "Mindest-SoC-Strom" initiiert (ggf. mit anteilig Netzbezug). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Einspeisegrenze beachten",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.chargemode.pv_charging.feed_in_limit,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.feed_in_limit")},{help:a(()=>[l(' Erläuterung siehe "Ladeeinstellungen" -> "PV-Laden" -> "Regelparameter" -> "Regelpunkt Einspeisegrenze" ')]),_:2},1032,["model-value","onUpdate:modelValue"]),Ge,n(y,null,{actions:a(()=>[n(z,{class:"bg-success clickable",onClick:t=>m.addChargeTemplateSchedulePlan(d,t)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["onClick"])]),help:a(()=>[l(' Im Lademodus "Zielladen" wird der Ladestrom so angepasst, dass das Fahrzeug zum angegebenen Zeitpunkt den eingestellten SoC bzw. die einzuladende Energiemenge erreicht. Anhand des vorgegebenen Ladestroms wird der Zeitpunkt berechnet, an dem die Ladung spätestens starten muss.'),Qe,l(' Ist der berechnete Zeitpunkt des Ladestarts noch nicht erreicht, wird mit Überschuss geladen. Auch nach Erreichen des Ziel-SoCs wird mit Überschuss geladen, solange bis das "SoC-Limit" erreicht wird.'),Xe,l(" Kann der Ziel-SoC bzw. die Energiemenge NICHT erreicht werden, z.B. weil das Auto zu spät angesteckt wurde oder das Lastmanagement eingegriffen hat, wird bis 20 Minuten nach dem angegebenen Termin mit der Maximalstromstärke geladen. Danach wird der Termin verworfen und mit Überschuss geladen. ")]),default:a(()=>[l(" Zielladen ")]),_:2},1024),(r(!0),p(B,null,A(m.getChargeTemplateScheduledChargingPlans(d),(t,g)=>(r(),f(L,{key:g,title:t.name,collapsible:!0,collapsed:!0},{actions:a(u=>[u.collapsed==!0?(r(),p("span",{key:0,class:N(["subheader pill",t.active?"bg-success":"bg-danger"])},[t.limit.selected=="soc"?(r(),p("span",Ye,[n(b,{"fixed-width":"",icon:["fas","car-battery"]}),l(" "+V(t.limit.soc_scheduled)+"% ",1)])):c("",!0),t.limit.selected=="amount"?(r(),p("span",Ke,[n(b,{"fixed-width":"",icon:["fas","bolt"]}),l(" "+V(t.limit.amount/1e3)+"kWh ",1)])):c("",!0),n(b,{"fixed-width":"",icon:["fas","clock"]}),l(" "+V(t.time)+" ",1),t.frequency.selected=="once"?(r(),p("span",et,[n(b,{"fixed-width":"",icon:["fas","calendar-day"]}),l(" "+V(e.formatDate(t.frequency.once)),1)])):c("",!0),t.frequency.selected=="daily"?(r(),p("span",tt,[n(b,{"fixed-width":"",icon:["fas","calendar-week"]})])):c("",!0),t.frequency.selected=="weekly"?(r(),p("span",nt,[n(b,{"fixed-width":"",icon:["fas","calendar-alt"]})])):c("",!0)],2)):c("",!0),u.collapsed==!1?(r(),f(z,{key:1,class:"bg-danger clickable",onClick:P=>m.removeChargeTemplateSchedulePlanModal(d,g,P)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):c("",!0)]),default:a(()=>[n(W,{title:"Bezeichnung","model-value":t.name,"onUpdate:modelValue":u=>e.updateState(g,u,"name")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Zeitpunkt aktiv",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":t.active,"onUpdate:modelValue":u=>e.updateState(g,u,"active")},null,8,["model-value","onUpdate:modelValue"]),n(W,{title:"Ziel-Uhrzeit",subtype:"time","model-value":t.time,"onUpdate:modelValue":u=>e.updateState(g,u,"time")},{help:a(()=>[l(" Hier ist die gewünschte Uhrzeit einzustellen, zu welcher das Fahrzeug den gewünschten SoC bzw. die zu ladende Energiemenge BEREITS ERREICHT haben soll. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"Ladestrom",min:6,max:32,step:1,unit:"A","model-value":t.current,"onUpdate:modelValue":u=>e.updateState(g,u,"current")},{help:a(()=>[l(" Mit dieser Stromstärke wird der Zeitpunkt berechnet, wann die Ladung mit Netzbezug gestartet werden muss. Wird der Ziel-SoC nicht zum angegebenen Termin erreicht, weil z.B. das Auto erst später angesteckt wurde, wird auch mit einer höheren Stromstärke geladen. Um etwas Puffer zu haben, empfiehlt es sich, etwas weniger als die Maximalstromstärke des Fahrzeugs zu wählen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Ziel",buttons:[{buttonValue:"soc",text:"SoC"},{buttonValue:"amount",text:"Energie"}],"model-value":t.limit.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.selected")},{help:a(()=>[l(" Bestimmt die Art der Grenze für den Ladevorgang. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),t.limit.selected=="soc"?(r(),f(C,{key:0,title:"Ziel-SoC",min:5,max:100,step:5,unit:"%","model-value":t.limit.soc_scheduled,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.soc_scheduled")},{help:a(()=>[l(" SoC, der zum angegebenen Zeitpunkt erreicht werden soll. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),t.limit.selected=="soc"?(r(),f(C,{key:1,title:"SoC-Limit",min:5,max:100,step:5,unit:"%","model-value":t.limit.soc_limit,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.soc_limit")},{help:a(()=>[l(" Nach Erreichen des Ziel-SoCs wird mit Überschuss weiter geladen, bis das SoC-Limit erreicht wird. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),t.limit.selected=="amount"?(r(),f(T,{key:2,title:"Ziel-Energie",unit:"kWh",min:1,step:.5,"model-value":t.limit.amount/1e3,"onUpdate:modelValue":u=>e.updateState(g,u*1e3,"limit.amount")},{help:a(()=>[l(" Die geladene Energiemenge wird beim Wechsel des Lademodus, Wechsel des Plans oder nach dem Anstecken, wenn Zielladen schon ausgewählt ist, neu gezählt. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),n(w,{title:"Wiederholungen",buttons:[{buttonValue:"once",text:"Einmalig",class:"btn-outline-info"},{buttonValue:"daily",text:"Täglich",class:"btn-outline-info"},{buttonValue:"weekly",text:"Wöchentlich",class:"btn-outline-info"}],"model-value":t.frequency.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.selected")},null,8,["model-value","onUpdate:modelValue"]),t.frequency.selected=="once"?(r(),f(W,{key:3,title:"Datum",subtype:"date","model-value":t.frequency.once,"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.once")},null,8,["model-value","onUpdate:modelValue"])):c("",!0),t.frequency.selected=="weekly"?(r(),p("div",at,[(r(!0),p(B,null,A(e.weekdays,(u,P)=>(r(),f(w,{key:P,title:u,buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":t.frequency.weekly[P],"onUpdate:modelValue":x=>e.updateState(g,x,"frequency.weekly."+P)},null,8,["title","model-value","onUpdate:modelValue"]))),128))])):c("",!0)]),_:2},1032,["title"]))),128)),lt,n(y,null,{actions:a(()=>[n(z,{class:"bg-success clickable",onClick:t=>m.addChargeTemplateTimeChargingPlan(d,t)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["onClick"])]),help:a(()=>[l(" Mit einem Zeitplan kann ein klar abgegrenzter Zeitbereich zum Fahrzeugladen definiert werden. Dies wird häufig genutzt, um einem Fahrzeug kurz vor der Abfahrt Strom anzubieten, damit dessen Vorklimatisierung nicht aus dem Fahrzeugakku, sondern aus der openWB bezogen wird (Enteisung, Vorwärmung, Abkühlung). Nicht von der Vorklimatisierung benötigter Strom erhöht dabei den Fahrzeug-SoC. Um das Stromnetz am Morgen nicht unnötig zu strapazieren, sollte eine moderate Stromvorgabe und ein beschränkter Zeitbereich vorgegeben werden (z.B. max. 10A; 30min - in Übereinstimmung mit den Fahrzeug-App-Vorklimatisierungsvorgaben). ")]),default:a(()=>[l(" Laden nach Zeitplan ")]),_:2},1024),(r(!0),p(B,null,A(m.getChargeTemplateTimeChargingPlans(d),(t,g)=>(r(),f(L,{key:g,title:t.name,collapsible:!0,collapsed:!0},{actions:a(u=>[u.collapsed==!0?(r(),p("span",{key:0,class:N(["subheader pill",t.active?"bg-success":"bg-danger"])},[t.limit.selected=="soc"?(r(),p("span",it,[n(b,{"fixed-width":"",icon:["fas","car-battery"]}),l(" "+V(t.limit.soc)+"% ",1)])):c("",!0),t.limit.selected=="amount"?(r(),p("span",ot,[n(b,{"fixed-width":"",icon:["fas","bolt"]}),l(" "+V(t.limit.amount/1e3)+"kWh ",1)])):c("",!0),n(b,{"fixed-width":"",icon:["fas","clock"]}),l(" "+V(t.time[0])+" - "+V(t.time[1])+" ",1),t.frequency.selected=="once"?(r(),p("span",dt,[n(b,{"fixed-width":"",icon:["fas","calendar-day"]}),l(" "+V(e.formatDate(t.frequency.once[0])==e.formatDate(t.frequency.once[1])?e.formatDate(t.frequency.once[0]):e.formatDate(t.frequency.once[0])+" - "+e.formatDate(t.frequency.once[1])),1)])):c("",!0),t.frequency.selected=="daily"?(r(),p("span",rt,[n(b,{"fixed-width":"",icon:["fas","calendar-week"]})])):c("",!0),t.frequency.selected=="weekly"?(r(),p("span",ut,[n(b,{"fixed-width":"",icon:["fas","calendar-alt"]})])):c("",!0)],2)):c("",!0),u.collapsed==!1?(r(),f(z,{key:1,class:"bg-danger clickable",onClick:P=>m.removeChargeTemplateTimeChargingPlanModal(d,g,P)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):c("",!0)]),default:a(()=>[n(W,{title:"Bezeichnung","model-value":t.name,"onUpdate:modelValue":u=>e.updateState(g,u,"name")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Zeitplan aktiv",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":t.active,"onUpdate:modelValue":u=>e.updateState(g,u,"active")},null,8,["model-value","onUpdate:modelValue"]),n(C,{title:"Ladestrom",min:6,max:32,step:1,unit:"A","model-value":t.current,"onUpdate:modelValue":u=>e.updateState(g,u,"current")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Ziel",buttons:[{buttonValue:"none",text:"Aus"},{buttonValue:"soc",text:"SoC"},{buttonValue:"amount",text:"Energie"}],"model-value":t.limit.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.selected")},{help:a(()=>[l(" Bestimmt die Art der Grenze für den Ladevorgang. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),t.limit.selected=="soc"?(r(),f(C,{key:0,title:"Ziel-SoC",min:5,max:100,step:5,unit:"%","model-value":t.limit.soc,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.soc")},{help:a(()=>[l(" Ladestand des Akku (State of Charge, SoC), bis zu welchem maximal geladen werden soll. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),t.limit.selected=="amount"?(r(),f(T,{key:1,title:"Ziel-Energie",unit:"kWh",min:1,step:.5,"model-value":t.limit.amount/1e3,"onUpdate:modelValue":u=>e.updateState(g,u*1e3,"limit.amount")},{help:a(()=>[l(" Maximal zu ladende Energie innerhalb des Zeitfensters. Eignet sich immer dann wenn kein SoC zur Verfügung steht. Die geladene Energiemenge wird beim Wechsel des Lademodus, Wechsel des Plans oder nach dem Anstecken, wenn Zeitladen schon aktiv ist, neu gezählt. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),n(W,{title:"Zeitpunkt des Ladebeginns",subtype:"time","model-value":t.time[0],"onUpdate:modelValue":u=>e.updateState(g,u,"time.0")},null,8,["model-value","onUpdate:modelValue"]),n(W,{title:"Zeitpunkt des Ladeendes",subtype:"time","model-value":t.time[1],"onUpdate:modelValue":u=>e.updateState(g,u,"time.1")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Wiederholungen",buttons:[{buttonValue:"once",text:"Einmalig",class:"btn-outline-info"},{buttonValue:"daily",text:"Täglich",class:"btn-outline-info"},{buttonValue:"weekly",text:"Wöchentlich",class:"btn-outline-info"}],"model-value":t.frequency.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.selected")},null,8,["model-value","onUpdate:modelValue"]),t.frequency.selected=="once"?(r(),f(W,{key:2,title:"Gültig ab",subtype:"date","model-value":t.frequency.once[0],"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.once.0")},null,8,["model-value","onUpdate:modelValue"])):c("",!0),t.frequency.selected=="once"?(r(),f(W,{key:3,title:"Gültig bis",subtype:"date",min:t.frequency.once[0],"model-value":t.frequency.once[1],"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.once.1")},null,8,["min","model-value","onUpdate:modelValue"])):c("",!0),t.frequency.selected=="weekly"?(r(),p("div",st,[(r(!0),p(B,null,A(e.weekdays,(u,P)=>(r(),f(w,{key:P,title:u,buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":t.frequency.weekly[P],"onUpdate:modelValue":x=>e.updateState(g,x,"frequency.weekly."+P)},null,8,["title","model-value","onUpdate:modelValue"]))),128))])):c("",!0)]),_:2},1032,["title"]))),128))]),_:2},[d.endsWith("/0")?void 0:{name:"actions",fn:a(t=>[t.collapsed?c("",!0):(r(),f(z,{key:0,class:"bg-danger clickable",onClick:g=>m.removeChargeTemplateModal(d,g)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),key:"0"}]),1032,["title","collapsed"]))),128))]))]),_:1},8,["collapsed"]),n(R,{formName:"vehicleConfigForm",onSave:o[5]||(o[5]=i=>e.$emit("save")),onReset:o[6]||(o[6]=i=>e.$emit("reset")),onDefaults:o[7]||(o[7]=i=>e.$emit("defaults"))})])])],64)}const wt=D(_e,[["render",mt],["__scopeId","data-v-d7193cf0"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/VehicleConfig.vue"]]);export{wt as default}; +import{l as $,d as H,S as j,A as J,T as G,U as Q,z as X,K as Y,X as K,I as ee,V as te,Y as ne,F as ae,W as le}from"./vendor-fortawesome-349077b4.js";import{_ as S,C as ie}from"./index-baf9de5e.js";import{_ as oe}from"./dynamic-import-helper-be004503.js";import{_ as D,p as k,k as r,l as p,y as f,L as a,u as l,x as V,A as n,q as s,a0 as de,a1 as re,G as B,z as c,I as A,a2 as M,n as N,Q as ue,R as se}from"./vendor-2e22dd5c.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";import"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";const me={name:"VehicleConfigFallback",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{default:void 0},vehicleType:String},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},ce={class:"vehicle-fallback"},he={key:1};function ge(e,o,h,E,_,m){const U=k("openwb-base-alert"),b=k("openwb-base-textarea");return r(),p("div",ce,[Object.keys(h.configuration).length==0?(r(),f(U,{key:0,subtype:"info"},{default:a(()=>[l(' Der Fahrzeug-Typ "'+V(h.vehicleType)+'" bietet keine Einstellungen. ',1)]),_:1})):(r(),p("div",he,[n(U,{subtype:"warning"},{default:a(()=>[l(' Es wurde keine Konfigurationsseite für den Fahrzeug-Typ "'+V(h.vehicleType)+'" gefunden. Die Einstellungen können als JSON direkt bearbeitet werden. ',1)]),_:1}),n(b,{title:"Konfiguration",subtype:"json","model-value":h.configuration,"onUpdate:modelValue":o[0]||(o[0]=z=>m.updateConfiguration(z,"configuration"))},{help:a(()=>[l(" Bitte prüfen Sie, ob die Eingaben richtig interpretiert werden. ")]),_:1},8,["model-value"]),n(U,{subtype:"info"},{default:a(()=>[s("pre",null,V(JSON.stringify(h.configuration,void 0,2)),1)]),_:1})]))])}const pe=D(me,[["render",ge],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/OpenwbVehicleConfigFallback.vue"]]),be={name:"OpenwbVehicleProxy",emits:["update:configuration"],props:{vehicleId:{required:!0},vehicleType:{type:String,required:!0},configuration:{type:Object,required:!0}},computed:{myComponent(){return console.debug(`loading vehicle: ${this.vehicleType}`),de({loader:()=>oe(Object.assign({"./bmw/vehicle.vue":()=>S(()=>import("./vehicle-c543a9c9.js"),["assets/vehicle-c543a9c9.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./evnotify/vehicle.vue":()=>S(()=>import("./vehicle-463789ee.js"),["assets/vehicle-463789ee.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./http/vehicle.vue":()=>S(()=>import("./vehicle-b3c7892e.js"),["assets/vehicle-b3c7892e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./kia/vehicle.vue":()=>S(()=>import("./vehicle-6744f7f7.js"),["assets/vehicle-6744f7f7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./manual/vehicle.vue":()=>S(()=>import("./vehicle-78ceced7.js"),["assets/vehicle-78ceced7.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mercedeseq/vehicle.vue":()=>S(()=>import("./vehicle-6cc33c68.js"),["assets/vehicle-6cc33c68.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./mqtt/vehicle.vue":()=>S(()=>import("./vehicle-f0af6be3.js"),["assets/vehicle-f0af6be3.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./psa/vehicle.vue":()=>S(()=>import("./vehicle-ec1ee590.js"),["assets/vehicle-ec1ee590.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./renault/vehicle.vue":()=>S(()=>import("./vehicle-4fe34017.js"),["assets/vehicle-4fe34017.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./skodaconnect/vehicle.vue":()=>S(()=>import("./vehicle-f7d3fa4b.js"),["assets/vehicle-f7d3fa4b.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./smarteq/vehicle.vue":()=>S(()=>import("./vehicle-729b5dea.js"),["assets/vehicle-729b5dea.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./tesla/vehicle.vue":()=>S(()=>import("./vehicle-e598198a.js"),["assets/vehicle-e598198a.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-axios-f64a0ef5.js","assets/index-baf9de5e.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/index-27f04b3e.css"]),"./tronity/vehicle.vue":()=>S(()=>import("./vehicle-62220338.js"),["assets/vehicle-62220338.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"]),"./vwid/vehicle.vue":()=>S(()=>import("./vehicle-4ce72e8d.js"),["assets/vehicle-4ce72e8d.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css"])}),`./${this.vehicleType}/vehicle.vue`),errorComponent:pe})}},methods:{updateConfiguration(e){this.$emit("update:configuration",e)}}};function fe(e,o,h,E,_,m){return r(),f(re(m.myComponent),{configuration:h.configuration,vehicleId:h.vehicleId,vehicleType:h.vehicleType,"onUpdate:configuration":o[0]||(o[0]=U=>m.updateConfiguration(U))},null,40,["configuration","vehicleId","vehicleType"])}const ve=D(be,[["render",fe],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/OpenwbVehicleProxy.vue"]]);$.add(H,j,J,G,Q,X,Y,K,ee,te,ne);const _e={name:"OpenwbVehicleConfig",mixins:[ie],emits:["sendCommand"],components:{FontAwesomeIcon:ae,FontAwesomeLayers:le,OpenwbVehicleProxy:ve},data(){return{mqttTopicsToSubscribe:["openWB/general/extern","openWB/optional/rfid/active","openWB/vehicle/template/ev_template/+","openWB/vehicle/template/charge_template/+","openWB/vehicle/template/charge_template/+/chargemode/scheduled_charging/plans/+","openWB/vehicle/template/charge_template/+/time_charging/plans/+","openWB/vehicle/+/name","openWB/vehicle/+/charge_template","openWB/vehicle/+/ev_template","openWB/vehicle/+/tag_id","openWB/system/configurable/soc_modules","openWB/vehicle/+/soc_module/general_config","openWB/vehicle/+/soc_module/config"],showVehicleModal:!1,modalVehicleIndex:void 0,showEvTemplateModal:!1,modalEvTemplateIndex:void 0,showChargeTemplateModal:!1,modalChargeTemplateIndex:void 0,showChargeTemplateSchedulePlanModal:!1,modalChargeTemplateSchedulePlanIndex:void 0,showChargeTemplateTimeChargingPlanModal:!1,modalChargeTemplateTimeChargingPlanIndex:void 0}},computed:{vehicleIndexes:{get(){return this.getWildcardIndexList("openWB/vehicle/+/name")}},evTemplates:{get(){return this.getWildcardTopics("openWB/vehicle/template/ev_template/+")}},evTemplateList:{get(){let e=[];return Object.keys(this.evTemplates).forEach(o=>{let h=parseInt(o.match(/([0-9]+)$/g)[0]),E=this.$store.state.mqtt["openWB/vehicle/template/ev_template/"+h].name;e.push({value:h,text:E})}),e}},chargeTemplates:{get(){return this.getWildcardTopics("openWB/vehicle/template/charge_template/+")}},chargeTemplateList:{get(){let e=[];return Object.keys(this.chargeTemplates).forEach(o=>{let h=parseInt(o.match(/([0-9]+)$/g)[0]),E=this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+h].name;e.push({value:h,text:E})}),e}},socModuleList:{get(){return this.$store.state.mqtt["openWB/system/configurable/soc_modules"]}}},methods:{getChargeTemplateScheduledChargingPlans(e){let o=e.match(/([^/]+)$/)[0];return this.getWildcardTopics("openWB/vehicle/template/charge_template/"+o+"/chargemode/scheduled_charging/plans/+")},getChargeTemplateTimeChargingPlans(e){let o=e.match(/([^/]+)$/)[0];return this.getWildcardTopics("openWB/vehicle/template/charge_template/"+o+"/time_charging/plans/+")},addVehicle(e){e.stopPropagation(),console.info("requesting new vehicle..."),this.$emit("sendCommand",{command:"addVehicle",data:{}})},removeVehicleModal(e,o){o.stopPropagation(),this.modalVehicleIndex=e,this.showVehicleModal=!0},removeVehicle(e,o){this.showVehicleModal=!1,o=="confirm"&&(console.info("request removal of vehicle '"+e+"'"),this.$emit("sendCommand",{command:"removeVehicle",data:{id:e}}))},getVehicleName(e){return this.$store.state.mqtt["openWB/vehicle/"+e+"/name"]?this.$store.state.mqtt["openWB/vehicle/"+e+"/name"]:"Fahrzeug "+e},getSocDefaultConfiguration(e){const o=this.socModuleList.find(h=>h.value==e);return Object.prototype.hasOwnProperty.call(o,"defaults")?{...JSON.parse(JSON.stringify(o.defaults))}:(console.warn("no default configuration found for soc type!",e),{})},updateSelectedSocModule(e,o){this.updateState("openWB/vehicle/"+e+"/soc_module/config",o,"type"),this.updateState("openWB/vehicle/"+e+"/soc_module/config",this.getSocDefaultConfiguration(o))},updateConfiguration(e,o){console.debug("updateConfiguration",e,o),this.updateState(e,o.value,o.object)},addEvTemplate(e){e.stopPropagation(),console.info("requesting new ev template..."),this.$emit("sendCommand",{command:"addEvTemplate",data:{}})},removeEvTemplateModal(e,o){o.stopPropagation(),this.modalEvTemplateIndex=parseInt(e.match(/([^/]+)$/)[0]),this.showEvTemplateModal=!0},removeEvTemplate(e,o){this.showEvTemplateModal=!1,o=="confirm"&&(console.info("request removal of ev template '"+e+"'"),this.$emit("sendCommand",{command:"removeEvTemplate",data:{id:e}}))},getEvTemplateName(e){return this.$store.state.mqtt["openWB/vehicle/template/ev_template/"+e]?this.$store.state.mqtt["openWB/vehicle/template/ev_template/"+e].name:"Fahrzeug-Profil "+e},addChargeTemplate(e){e.stopPropagation(),console.info("requesting new charge template..."),this.$emit("sendCommand",{command:"addChargeTemplate",data:{}})},getChargeTemplateIndex(e){return parseInt(e.match(/([^/]+)$/)[0])},removeChargeTemplateModal(e,o){o.stopPropagation(),this.modalChargeTemplateIndex=this.getChargeTemplateIndex(e),this.showChargeTemplateModal=!0},removeChargeTemplate(e,o){this.showChargeTemplateModal=!1,o=="confirm"&&(console.info("request removal of charge template '"+e+"'"),this.$emit("sendCommand",{command:"removeChargeTemplate",data:{id:e}}))},getChargeTemplateName(e){return this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e]?this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e].name:"Lade-Profil "+e},getChargeTemplateSchedulePlanName(e,o){return this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/chargemode/scheduled_charging/plans/"+o]?this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/chargemode/scheduled_charging/plans/"+o].name:"Zielladen Zeitplan "+e+"/"+o},addChargeTemplateSchedulePlan(e,o){o.stopPropagation(),console.info("requesting new charge template schedule plan...");let h=parseInt(e.match(/([^/]+)$/)[0]);this.$emit("sendCommand",{command:"addChargeTemplateSchedulePlan",data:{template:h}})},removeChargeTemplateSchedulePlanModal(e,o,h){h.stopPropagation(),this.modalChargeTemplateIndex=parseInt(e.match(/([^/]+)$/)[0]),this.modalChargeTemplateSchedulePlanIndex=parseInt(o.match(/([^/]+)$/)[0]),this.showChargeTemplateSchedulePlanModal=!0},removeChargeTemplateSchedulePlan(e,o,h){this.showChargeTemplateSchedulePlanModal=!1,h=="confirm"&&(console.info("request removal of charge template '"+e+"' schedule plan '"+o+"'"),this.$emit("sendCommand",{command:"removeChargeTemplateSchedulePlan",data:{template:e,plan:o}}))},getChargeTemplateTimeChargingPlanName(e,o){return this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/time_charging/plans/"+o]?this.$store.state.mqtt["openWB/vehicle/template/charge_template/"+e+"/time_charging/plans/"+o].name:"Zeitladen Zeitplan "+e+"/"+o},addChargeTemplateTimeChargingPlan(e,o){o.stopPropagation(),console.info("requesting new charge template time charging plan...");let h=parseInt(e.match(/([^/]+)$/)[0]);this.$emit("sendCommand",{command:"addChargeTemplateTimeChargingPlan",data:{template:h}})},removeChargeTemplateTimeChargingPlanModal(e,o,h){h.stopPropagation(),this.modalChargeTemplateIndex=parseInt(e.match(/([^/]+)$/)[0]),this.modalChargeTemplateTimeChargingPlanIndex=parseInt(o.match(/([^/]+)$/)[0]),this.showChargeTemplateTimeChargingPlanModal=!0},removeChargeTemplateTimeChargingPlan(e,o,h){this.showChargeTemplateTimeChargingPlanModal=!1,h=="confirm"&&(console.info("request removal of charge template '"+e+"' time charging plan '"+o+"'"),this.$emit("sendCommand",{command:"removeChargeTemplateTimeChargingPlan",data:{template:e,plan:o}}))}}},v=e=>(ue("data-v-d7193cf0"),e=e(),se(),e),we={class:"vehicleConfig"},ke={name:"vehicleConfigForm"},Ve={key:0},Ce={key:1},Se=v(()=>s("hr",null,null,-1)),ze={key:0},Te=v(()=>s("br",null,null,-1)),Ue=["innerHTML"],We=v(()=>s("hr",null,null,-1)),Pe=v(()=>s("br",null,null,-1)),ye=v(()=>s("br",null,null,-1)),Le=v(()=>s("br",null,null,-1)),Be={key:1},Ae=v(()=>s("hr",{class:"border-secondary"},null,-1)),Ee={key:0},qe={key:1},Me=v(()=>s("br",null,null,-1)),Fe=v(()=>s("br",null,null,-1)),xe=v(()=>s("br",null,null,-1)),De=v(()=>s("br",null,null,-1)),Ze={key:0},Ne={key:1},Ie=v(()=>s("br",null,null,-1)),Oe=v(()=>s("br",null,null,-1)),Re=v(()=>s("ol",null,[s("li",null," Zielladen (Sofortladen) mit Priorität "),s("li",null,"Zielladen (Sofortladen)"),s("li",null,"Zeitladen mit Priorität"),s("li",null,"Zeitladen"),s("li",null,"Sofortladen mit Priorität"),s("li",null,"Sofortladen"),s("li",null,"PV (Min-Anteil) mit Priorität"),s("li",null,"PV (Min-Anteil)"),s("li",null,"Zielladen (PV) mit Priorität"),s("li",null,"Zielladen (PV)"),s("li",null,"PV (PV-Anteil) mit Priorität"),s("li",null,"PV (PV-Anteil)")],-1)),$e=v(()=>s("hr",null,null,-1)),He=v(()=>s("hr",null,null,-1)),je=v(()=>s("br",null,null,-1)),Je=v(()=>s("br",null,null,-1)),Ge=v(()=>s("hr",null,null,-1)),Qe=v(()=>s("br",null,null,-1)),Xe=v(()=>s("br",null,null,-1)),Ye={key:0},Ke={key:1},et={key:2},tt={key:3},nt={key:4},at={key:4},lt=v(()=>s("hr",null,null,-1)),it={key:0},ot={key:1},dt={key:2},rt={key:3},ut={key:4},st={key:4};function mt(e,o,h,E,_,m){const U=k("openwb-base-modal-dialog"),b=k("font-awesome-icon"),z=k("openwb-base-avatar"),q=k("openwb-base-alert"),W=k("openwb-base-text-input"),F=k("openwb-base-select-input"),I=k("openwb-base-array-input"),w=k("openwb-base-button-group-input"),y=k("openwb-base-heading"),T=k("openwb-base-number-input"),O=k("openwb-vehicle-proxy"),L=k("openwb-base-card"),Z=k("font-awesome-layers"),C=k("openwb-base-range-input"),R=k("openwb-base-submit-buttons");return r(),p(B,null,[n(U,{show:_.showVehicleModal,title:"Fahrzeug löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[0]||(o[0]=i=>m.removeVehicle(_.modalVehicleIndex,i))},{default:a(()=>[l(' Wollen Sie das Fahrzeug "'+V(m.getVehicleName(_.modalVehicleIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showEvTemplateModal,title:"Fahrzeug-Profil löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[1]||(o[1]=i=>m.removeEvTemplate(_.modalEvTemplateIndex,i))},{default:a(()=>[l(' Wollen Sie das Fahrzeug-Profil "'+V(m.getEvTemplateName(_.modalEvTemplateIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showChargeTemplateModal,title:"Lade-Profil löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[2]||(o[2]=i=>m.removeChargeTemplate(_.modalChargeTemplateIndex,i))},{default:a(()=>[l(' Wollen Sie das Lade-Profil "'+V(m.getChargeTemplateName(_.modalChargeTemplateIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showChargeTemplateSchedulePlanModal,title:"Zielladen Zeitplan löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[3]||(o[3]=i=>m.removeChargeTemplateSchedulePlan(_.modalChargeTemplateIndex,_.modalChargeTemplateSchedulePlanIndex,i))},{default:a(()=>[l(' Wollen Sie den Zielladen Zeitplan "'+V(m.getChargeTemplateSchedulePlanName(_.modalChargeTemplateIndex,_.modalChargeTemplateSchedulePlanIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),n(U,{show:_.showChargeTemplateTimeChargingPlanModal,title:"Zeitladen Zeitplan löschen",subtype:"danger",buttons:[{text:"Löschen",event:"confirm",subtype:"danger"}],onModalResult:o[4]||(o[4]=i=>m.removeChargeTemplateTimeChargingPlan(_.modalChargeTemplateIndex,_.modalChargeTemplateTimeChargingPlanIndex,i))},{default:a(()=>[l(' Wollen Sie den Zeitladen Zeitplan "'+V(m.getChargeTemplateTimeChargingPlanName(_.modalChargeTemplateIndex,_.modalChargeTemplateTimeChargingPlanIndex))+'" wirklich entfernen? Dieser Vorgang kann nicht rückgängig gemacht werden! ',1)]),_:1},8,["show"]),s("div",we,[s("form",ke,[n(L,{subtype:"info",collapsible:!0,collapsed:e.$route.params.section!="vehicle"},{header:a(()=>[n(b,{"fixed-width":"",icon:["fas","car"]}),l(" Fahrzeuge ")]),actions:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(r(),f(z,{key:0,class:"bg-success clickable",onClick:m.addVehicle},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):c("",!0)]),default:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(r(),p("div",Ve,[n(q,{subtype:"info"},{default:a(()=>[l(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(r(),p("div",Ce,[(r(!0),p(B,null,A(m.vehicleIndexes,i=>(r(),f(L,{key:i,title:m.getVehicleName(i),collapsible:!0,collapsed:!(e.$route.params.section=="vehicle"&&parseInt(e.$route.params.section_index)==i),subtype:"info"},M({default:a(()=>[n(W,{title:"Bezeichnung","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/name"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/name",d),disabled:i===0},M({_:2},[i===0?{name:"help",fn:a(()=>[l(" Das Standard-Fahrzeug kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),n(q,{subtype:"info"},{default:a(()=>[l(" Ein anderes Fahrzeug-Profil wird erst NACH dem Abstecken übernommen, da es sonst durch die Änderung bestimmter Einstellungen im laufenden Ladevorgang zu Widersprüchen kommen kann. ")]),_:1}),n(F,{title:"Fahrzeug-Profil",options:m.evTemplateList,"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/ev_template"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/ev_template",d)},null,8,["options","model-value","onUpdate:modelValue"]),n(F,{title:"Lade-Profil",options:m.chargeTemplateList,"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/charge_template"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/charge_template",d)},null,8,["options","model-value","onUpdate:modelValue"]),Se,e.$store.state.mqtt["openWB/optional/rfid/active"]===!0?(r(),p("div",ze,[n(I,{title:"Zugeordnete Tags","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/tag_id"],"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/tag_id",d)},null,8,["model-value","onUpdate:modelValue"]),n(q,{subtype:"info"},{default:a(()=>[l(" Der/die RFID-Tag(s) müssen in dem Ladepunkt-Profil eingetragen werden, um zuzuordnen, an welchem Ladepunkt die Tags verwendet werden dürfen."),Te,s("span",{innerHTML:e.$store.state.text.rfidWiki},null,8,Ue)]),_:1}),We])):c("",!0),n(F,{class:"mb-2",title:"SoC-Modul",options:m.socModuleList,"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].type,"onUpdate:modelValue":d=>m.updateSelectedSocModule(i,d)},{help:a(()=>[l(" Mit einem SoC-Modul kann der Ladestand des Fahrzeugs ermittelt und geregelt werden. Z.B. lassen sich unabhängig vom Fahrzeug bestimmte SoC-Werte einstellen, um den Fahrzeugakku zu schonen. Aktuell werden die SoC-Werte mittels der App-Zugangsdaten aus dem Herstellerserver des Fahrzeuges ausgelesen. Zukünftig soll auch eine direkte SoC-Auslesung aus dem Fahrzeug möglich werden (openWB Pro)."),Pe,l(" Die SoC-Abfrage erfolgt automatisch beim Anstecken des Fahrzeuges und zusätzlich über einstellbare Abfrageintervalle während des Ladens und Nichtladens. Die Abfrage kann auch manuell durch Klick auf den Reload-Pfeil auf der Hauptseite ausgelöst werden."),ye,l(" Wenn eine Abfrage fehlschlägt, wird noch drei weitere Male im Abstand von 5 Minuten versucht, den SoC abzufragen. Wenn dies nicht erfolgreich ist, wird der SoC auf 0% gesetzt um zu vermeiden, dass ein Auto beim SoC-basierten Laden nicht geladen wird. Die Abfrage erfolgt dann wieder in den oben genannten Intervallen."),Le,l(" Da aktuell die SoC-Abfragen über Onlineserver der Fahrzeughersteller laufen, ist infolge möglicher Umstellungen/Wartungen keine 100%-ig sichere SoC-Abfrage garantiert. Auch kann es zu SoC-Abweichungen infolge von zeitlicher Verzögerungen kommen. Hilfestellung erfolgt primär im openWB-Forum. ")]),_:2},1032,["options","model-value","onUpdate:modelValue"]),e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].type?(r(),p("div",Be,[n(w,{title:"SoC aus Fahrzeug auslesen",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].use_soc_from_cp,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"use_soc_from_cp")},{help:a(()=>[l(" Wenn Ladepunkt und Fahrzeug das Auslesen des SoCs unterstützen, wird nach dem Anstecken der SoC aus dem Fahrzeug ausgelesen und während der Ladung berechnet. Das Auslesen des SoC aus dem Fahrzeug ist aktuell nur mit einer openWB Pro möglich. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(y,null,{help:a(()=>[l(" Einige Hersteller begrenzen die möglichen Abfragen. Sobald ein gewisses Limit in einem Zeitraum überschritten wird, werden weitere Anfragen blockiert. Die Zeitintervalle sollten daher nicht zu klein gewählt werden. ")]),default:a(()=>[l(" Aktualisierung der Fahrzeugdaten ")]),_:1}),n(T,{title:"Während der Ladung",unit:"Min.","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].request_interval_charging,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"request_interval_charging")},{help:a(()=>[l(" Der Ladestand des Fahrzeugs (SoC) wird bei einem laufenden Ladevorgang in dem hier eingestellten Intervall in Minuten abgefragt. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Ohne laufende Ladung",unit:"Min.","model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].request_interval_not_charging,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"request_interval_not_charging")},{help:a(()=>[l(" Der Ladestand des Fahrzeugs (SoC) wird in dem hier eingestellten Intervall in Minuten abgefragt, falls kein Ladevorgang aktiv ist. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Nur aktualisieren wenn angesteckt",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/general_config"].request_only_plugged,"onUpdate:modelValue":d=>e.updateState("openWB/vehicle/"+i+"/soc_module/general_config",d,"request_only_plugged")},{help:a(()=>[l(' Wird hier "Ja" ausgewählt, dann wird der Ladestand des Fahrzeugs nur abgefragt, wenn das Ladekabel angesteckt ist. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(O,{vehicleId:i,vehicleType:e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].type,configuration:e.$store.state.mqtt["openWB/vehicle/"+i+"/soc_module/config"].configuration,"onUpdate:configuration":d=>m.updateConfiguration("openWB/vehicle/"+i+"/soc_module/config",d)},null,8,["vehicleId","vehicleType","configuration","onUpdate:configuration"])])):c("",!0)]),_:2},[i!==0?{name:"actions",fn:a(d=>[d.collapsed?c("",!0):(r(),f(z,{key:0,class:"bg-danger clickable",onClick:t=>m.removeVehicleModal(i,t)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),key:"0"}:void 0]),1032,["title","collapsed"]))),128))]))]),_:1},8,["collapsed"]),Ae,n(y,null,{default:a(()=>[l("Profile")]),_:1}),n(L,{collapsible:!0,collapsed:!0},{header:a(()=>[n(Z,{"fixed-width":"",class:"fa-lg"},{default:a(()=>[n(b,{"fixed-width":"",icon:["far","file"]}),n(b,{"fixed-width":"",icon:["fas","car"],transform:"shrink-8"})]),_:1}),l(" Fahrzeug-Profile ")]),actions:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(r(),f(z,{key:0,class:"bg-success clickable",onClick:m.addEvTemplate},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):c("",!0)]),default:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(r(),p("div",Ee,[n(q,{subtype:"info"},{default:a(()=>[l(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(r(),p("div",qe,[n(q,{subtype:"info"},{default:a(()=>[l(" Ein anderes Fahrzeug-Profil wird erst NACH dem Abstecken übernommen, da es sonst durch die Änderung bestimmter Einstellungen im laufenden Ladevorgang zu Widersprüchen kommen kann. ")]),_:1}),(r(!0),p(B,null,A(m.evTemplates,(i,d)=>(r(),f(L,{key:d,title:i.name?i.name:d,collapsible:!0,collapsed:!0},M({default:a(()=>[n(W,{title:"Bezeichnung","model-value":i.name,"onUpdate:modelValue":t=>e.updateState(d,t,"name"),disabled:d.endsWith("/0")},M({_:2},[d.endsWith("/0")?{name:"help",fn:a(()=>[l(" Das Standard-Profil kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),n(y,null,{default:a(()=>[l(" Angaben zum Ladestrom ")]),_:1}),n(C,{title:"Mindeststrom",min:6,max:16,step:1,unit:"A","model-value":i.min_current,"onUpdate:modelValue":t=>e.updateState(d,t,"min_current")},null,8,["model-value","onUpdate:modelValue"]),n(C,{title:"Maximalstrom bei einer Phase",min:6,max:32,step:1,unit:"A","model-value":i.max_current_single_phase,"onUpdate:modelValue":t=>e.updateState(d,t,"max_current_single_phase")},null,8,["model-value","onUpdate:modelValue"]),n(C,{title:"Maximalstrom mehrere Phasen",min:6,max:32,step:1,unit:"A","model-value":i.max_current_multi_phases,"onUpdate:modelValue":t=>e.updateState(d,t,"max_current_multi_phases")},null,8,["model-value","onUpdate:modelValue"]),n(T,{title:"Erlaubte Stromabweichung",step:.1,unit:"A","model-value":i.nominal_difference,"onUpdate:modelValue":t=>e.updateState(d,t,"nominal_difference")},{help:a(()=>[l(" In manchen Lademodi, z.B. bei der automatischen Phasenumschaltung, wird geprüft, ob das Fahrzeug mit der vorgegebenen Stromstärke lädt. Manche Fahrzeuge laden nicht exakt mit der vorgegebenen Stromstärke. Die erlaubte Abweichung kann hier eingestellt werden. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(y,null,{default:a(()=>[l(" Angaben zur Batterie ")]),_:1}),n(T,{title:"Kapazität der Batterie",unit:"kWh",min:10,step:1,"model-value":i.battery_capacity/1e3,"onUpdate:modelValue":t=>e.updateState(d,t*1e3,"battery_capacity")},{help:a(()=>[l(" Angabe der Netto-Kapazität der Fahrzeugbatterie. Dient zur Berechnung des manuellen SoC und der geladenen Reichweite. Die Netto-Kapazität unterscheidet sich meist von den Angaben der Fahrzeughersteller. So besitzt ein Tesla Model S 90 z. B. nur ca. 83kWh und nicht die durch die Typenbezeichnung suggerierten 90kWh. Andere Hersteller begrenzen die nutzbare Kapazität absichtlich, um eine höhere Lebensdauer der Akkus zu erreichen. Gängig sind eine Drosselung auf 90% der angegebenen Brutto-Kapazität. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Wirkungsgrad der Ladeelektronik",unit:"%",required:"","model-value":i.efficiency,"onUpdate:modelValue":t=>e.updateState(d,t,"efficiency")},{help:a(()=>[l(" Durch Verluste in der Ladeelektronik (z. B. Umwandlung Wechselspannung in Gleichspannung) gelangt nicht die komplette Energie, welche durch den Zähler in der Wallbox gemessen wird, in den Akku des Fahrzeugs. Der anzugebende Wert liegt bei gängigen Fahrzeugen im Bereich 90-95%. Eine Ausnahme stellt der Zoe dar, dessen Chameleon-Lader je nach Modellversion und freigegebener Leistung der Wallbox teilweise nur auf ca. 50% kommt."),Me,l(" Liegen die Angaben der Wallbox und des Fahrzeugs nach der Ladung mehrere Prozent auseinander, dann kann mit dieser Einstellung eine Feinabstimmung erfolgen: "),Fe,l(" SoC an der Wallbox zu hoch: Wirkungsgrad um ein paar Prozent reduzieren"),xe,l(" SoC an der Wallbox zu gering: Wirkungsgrad um ein paar Prozent erhöhen"),De]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Durchschnittsverbrauch",unit:"kWh / 100km",min:0,step:.1,"model-value":i.average_consump/1e3,"onUpdate:modelValue":t=>e.updateState(d,t*1e3,"average_consump")},null,8,["model-value","onUpdate:modelValue"]),n(y,null,{default:a(()=>[l(" Angaben zur Handhabung von Phasen ")]),_:1}),n(w,{title:"Unterstützte Phasen",buttons:[{buttonValue:1,text:"1"},{buttonValue:2,text:"2"},{buttonValue:3,text:"3"}],"model-value":i.max_phases,"onUpdate:modelValue":t=>e.updateState(d,t,"max_phases")},{help:a(()=>[l(" Anzahl der Phasen, die der Fahrzeuglader (s.g. OBC - OnboardCharger) bereitstellt. Plugin-Hybride haben meist nur eine Phase, reine E-Autos meist 2 bis 3 Phasen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"CP-Unterbrechung",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":i.control_pilot_interruption,"onUpdate:modelValue":t=>e.updateState(d,t,"control_pilot_interruption")},{help:a(()=>[l(' Erläuterung siehe "Konfiguration - Ladepunkte" -> Hardware-Optionen ')]),_:2},1032,["model-value","onUpdate:modelValue"]),i.control_pilot_interruption?(r(),f(T,{key:0,title:"Dauer der CP-Unterbrechung",min:4,step:1,unit:"s","model-value":i.control_pilot_interruption_duration,"onUpdate:modelValue":t=>e.updateState(d,t,"control_pilot_interruption_duration")},null,8,["model-value","onUpdate:modelValue"])):c("",!0),n(w,{title:"Phasenumschaltung blockieren",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":i.prevent_phase_switch,"onUpdate:modelValue":t=>e.updateState(d,t,"prevent_phase_switch")},{help:a(()=>[l(' Erläuterung zu 1p3p siehe "Ladeeinstellungen" ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Ladung aktiv halten",buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":i.prevent_charge_stop,"onUpdate:modelValue":t=>e.updateState(d,t,"prevent_charge_stop")},{help:a(()=>[l(" In den Lademodi PV- und Zielladen wird die Abschaltverzögerung ausgesetzt und nach Ladebeginn der Ladevorgang nicht unterbrochen. Diese Einstellung sollte bei Fahrzeugen aktiviert werden, die nach Unterbrechen der Ladung keine Ladung mehr starten. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Pause bei Phasenumschaltung",unit:"s",min:2,step:1,"model-value":i.phase_switch_pause,"onUpdate:modelValue":t=>e.updateState(d,t,"phase_switch_pause")},null,8,["model-value","onUpdate:modelValue"]),n(T,{title:"Mindestzeit zwischen Umschaltungen",unit:"s",min:2,step:1,"model-value":i.keep_charge_active_duration,"onUpdate:modelValue":t=>e.updateState(d,t,"keep_charge_active_duration")},{help:a(()=>[l(" Manche Fahrzeuge benötigen nach der Umschaltung einige Zeit, bis sie mit der vorgegebenen Phasenzahl laden. In dieser Zeit wird keine neue Phasenumschaltung angestoßen. ")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},[d.endsWith("/0")?void 0:{name:"actions",fn:a(t=>[e.$store.state.mqtt["openWB/general/extern"]===!1&&!t.collapsed?(r(),f(z,{key:0,class:"bg-danger clickable",onClick:g=>m.removeEvTemplateModal(d,g)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):c("",!0)]),key:"0"}]),1032,["title"]))),128))]))]),_:1}),n(L,{collapsible:!0,collapsed:e.$route.params.section!="charge_template"},{header:a(()=>[n(Z,{"fixed-width":"",class:"fa-lg"},{default:a(()=>[n(b,{"fixed-width":"",icon:["far","file"]}),n(b,{"fixed-width":"",icon:["fas","plug"],transform:"shrink-8"})]),_:1}),l(" Lade-Profile ")]),actions:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!1?(r(),f(z,{key:0,class:"bg-success clickable",onClick:m.addChargeTemplate},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:1},8,["onClick"])):c("",!0)]),default:a(()=>[e.$store.state.mqtt["openWB/general/extern"]===!0?(r(),p("div",Ze,[n(q,{subtype:"info"},{default:a(()=>[l(' Diese Einstellungen sind nicht verfügbar, solange sich diese openWB im Steuerungsmodus "secondary" befindet. ')]),_:1})])):(r(),p("div",Ne,[(r(!0),p(B,null,A(m.chargeTemplates,(i,d)=>(r(),f(L,{key:d,title:i.name?i.name:d,collapsible:!0,collapsed:!(e.$route.params.section=="charge_template"&&parseInt(e.$route.params.section_index)==m.getChargeTemplateIndex(d))},M({default:a(()=>[n(W,{title:"Bezeichnung","model-value":i.name,"onUpdate:modelValue":t=>e.updateState(d,t,"name"),disabled:d.endsWith("/0")},M({_:2},[d.endsWith("/0")?{name:"help",fn:a(()=>[l(" Das Standard-Profil kann nicht umbenannt werden. ")]),key:"0"}:void 0]),1032,["model-value","onUpdate:modelValue","disabled"]),n(y,null,{default:a(()=>[l(" Allgemeine Optionen ")]),_:1}),n(w,{title:"Aktiver Lademodus",buttons:[{buttonValue:"instant_charging",text:"Sofortladen",class:"btn-outline-danger"},{buttonValue:"pv_charging",text:"PV",class:"btn-outline-success"},{buttonValue:"scheduled_charging",text:"Zielladen",class:"btn-outline-primary"},{buttonValue:"standby",text:"Standby",class:"btn-outline-secondary"},{buttonValue:"stop",text:"Stop",class:"btn-outline-dark"}],"model-value":i.chargemode.selected,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.selected")},{help:a(()=>[l(" Diese Einstellung entspricht dem gewählten Lademodus auf der Hauptseite und ist aktiv, wenn ein zugehöriges Fahrzeug angesteckt ist."),Ie,l(" Die zur Verfügung stehende Leistung wird intern anhand folgender Prioritätenliste auf die Fahrzeuge bzw. Ladepunkte verteilt:"),Oe,Re]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Priorität",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.prio,"onUpdate:modelValue":t=>e.updateState(d,t,"prio")},{help:a(()=>[l(" Die Ladefreigabe mit dem jeweils eingestellten Mindeststrom erfolgt für alle Fahrzeuge, soweit die verfügbare Leistung ausreicht. Fahrzeuge mit Priorität werden bevorzugt mit mehr Leistung geladen, falls verfügbar. Erst wenn alle priorisierten Fahrzeuge die maximale Ladeleistung bekommen und noch zusätzlicher Überschuss vorhanden ist, wird auch für Fahrzeuge ohne Priorität mehr Leistung freigegeben. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Zeitladen",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.time_charging.active,"onUpdate:modelValue":t=>e.updateState(d,t,"time_charging.active")},{help:a(()=>[l(' Der Lademodus Zeitladen kann parallel zu einem der anderen Lademodi aktiviert werden. Die Auswahl des Lademodus, der in der Regelung genutzt wird, erfolgt anhand der Übersicht in der Hilfe bei "Aktiver Lademodus". Wenn kein Zeitplan aktiv ist oder das Limit des Zeitplans erreicht wurde, wird der Lademodus verwendet, der bei "Aktiver Lademodus" ausgewählt ist. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Sperre nach Abstecken",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.disable_after_unplug,"onUpdate:modelValue":t=>e.updateState(d,t,"disable_after_unplug")},{help:a(()=>[l(" Wird ein Fahrzeug mit diesem Profil abgesteckt, dann wird der betroffene Ladepunkt automatisch deaktiviert. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Standard nach Abstecken",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.load_default,"onUpdate:modelValue":t=>e.updateState(d,t,"load_default")},{help:a(()=>[l(" Falls diese Option aktiviert ist, wird der betroffene Ladepunkt nach dem Abstecken auf das Standard Ladeprofil zurückgesetzt. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),$e,n(y,null,{default:a(()=>[l("Sofortladen")]),_:1}),n(C,{title:"Soll-Ladestrom",min:6,max:32,step:1,unit:"A","model-value":i.chargemode.instant_charging.current,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.instant_charging.current")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Begrenzung",buttons:[{buttonValue:"none",text:"Aus"},{buttonValue:"soc",text:"SoC"},{buttonValue:"amount",text:"Energie"}],"model-value":i.chargemode.instant_charging.limit.selected,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.instant_charging.limit.selected")},{help:a(()=>[l(" Sofortladen kann ohne Fahrzeug-SoC-Begrenzung (Aus), mit Begrenzung des Fahrzeug-SoC (SoC) bei konfiguriertem SoC-Auslesemodul oder mittels Vorgabe eine gewünschten Energiemenge in kWh (Energie) genutzt werden. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"SoC-Limit",min:5,max:100,step:5,unit:"%","model-value":i.chargemode.instant_charging.limit.soc,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.instant_charging.limit.soc")},{help:a(()=>[l(' Um die Fahrzeug-SoC-Begrenzung nutzen zu können, muss ein SoC-Modul für das jeweilige Fahrzeug eingerichtet sein (siehe "Konfiguration" -> "Fahrzeuge" -> "SoC-Modul"). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(T,{title:"Energie-Limit",unit:"kWh",min:1,max:100,step:1,"model-value":i.chargemode.instant_charging.limit.amount/1e3,"onUpdate:modelValue":t=>e.updateState(d,t*1e3,"chargemode.instant_charging.limit.amount")},{help:a(()=>[l(" Die geladene Energiemenge wird beim Wechsel des Lademodus oder nach dem Anstecken, wenn Sofortladen schon ausgewählt ist, neu gezählt. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),He,n(y,null,{default:a(()=>[l("PV-Laden")]),_:1}),n(C,{title:"Mindeststrom",min:0,max:11,step:1,unit:"A",labels:[{label:"Aus",value:0},{label:6,value:6},{label:7,value:7},{label:8,value:8},{label:9,value:9},{label:10,value:10},{label:11,value:11},{label:12,value:12},{label:13,value:13},{label:14,value:14},{label:15,value:15},{label:16,value:16}],"model-value":i.chargemode.pv_charging.min_current,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.min_current")},{help:a(()=>[l(' Hier kann ein Mindeststrom eingestellt werden, mit dem unabhängig vom vorhandenen Überschuss durchgeladen wird. Hierdurch wird z.B. an Tagen mit häufigem Sonne/Wolken-Wechsel oder mit nur wenig PV-Ertrag ein Laden ohne Unterbrechung ermöglicht. Folglich kann auch Netzbezug für das Fahrzeugladen entstehen, weshalb der niedrigste Stromwert empfohlen wird. Diese Einstellung entspricht weitestgehend dem Lademodus "Min+PV" der Version 1.x. ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"SoC-Limit",min:0,max:20,step:1,unit:"%",labels:[{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95},{label:100,value:100},{label:"Aus",value:101}],"model-value":i.chargemode.pv_charging.max_soc,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.max_soc")},{help:a(()=>[l(' Bei der Einstellung "100%" wird die Ladung sofort mit Erreichen der 100% beendet. Dadurch erfolgt KEIN Balancing der Batteriezellen. Ist dies gewünscht (sollte ab und an durchgeführt werden), muss hier "Aus" gewählt werden (Schieberegler ganz nach rechts stellen), um die Ladung MIT Balancing bis zur Beendigung durch das Fahrzeug weiterlaufen zu lassen.'),je,l(' Um die Fahrzeug-SoC-Begrenzung nutzen zu können, muss ein SoC-Modul für das jeweilige Fahrzeug eingerichtet sein (siehe "Konfiguration" -> "Fahrzeuge" -> "SoC-Modul"). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"Mindest-SoC",min:0,max:19,step:1,unit:"%",labels:[{label:"Aus",value:0},{label:5,value:5},{label:10,value:10},{label:15,value:15},{label:20,value:20},{label:25,value:25},{label:30,value:30},{label:35,value:35},{label:40,value:40},{label:45,value:45},{label:50,value:50},{label:55,value:55},{label:60,value:60},{label:65,value:65},{label:70,value:70},{label:75,value:75},{label:80,value:80},{label:85,value:85},{label:90,value:90},{label:95,value:95}],"model-value":i.chargemode.pv_charging.min_soc,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.min_soc")},{help:a(()=>[l(' Liegt der Fahrzeug-Ladestand (SoC) unter dem hier eingestellten Wert, dann wird bis zum Erreichen dieses Wertes mit dem eingestellten "Mindest-SoC-Strom" geladen. Dies dient der Sicherstellung eines "Mindest-SoC" - z.B. für eine immer abzudeckende Fahrzeugreichweite - auch wenn kein oder zu wenig Überschuss verfügbar ist (=> Laden mit anteilig Netzstrom). Nach dem Erreichen des "Mindest-SoC" wird bei verfügbarem Überschuss geladen.'),Je,l(' Um die Fahrzeug-SoC-Begrenzung nutzen zu können, muss ein SoC-Modul für das jeweilige Fahrzeug eingerichtet sein (siehe "Konfiguration" -> "Fahrzeuge" -> "SoC-Modul"). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"Mindest-SoC-Strom",min:6,max:32,step:1,unit:"A","model-value":i.chargemode.pv_charging.min_soc_current,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.min_soc_current")},{help:a(()=>[l(' Wird der oben eingestellte "Mindest-SoC" des Fahrzeuges unterschritten, dann wird unabhängig vom Überschuss ein Ladevorgang mit dem hier festgelegten "Mindest-SoC-Strom" initiiert (ggf. mit anteilig Netzbezug). ')]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Einspeisegrenze beachten",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":i.chargemode.pv_charging.feed_in_limit,"onUpdate:modelValue":t=>e.updateState(d,t,"chargemode.pv_charging.feed_in_limit")},{help:a(()=>[l(' Erläuterung siehe "Ladeeinstellungen" -> "PV-Laden" -> "Regelparameter" -> "Regelpunkt Einspeisegrenze" ')]),_:2},1032,["model-value","onUpdate:modelValue"]),Ge,n(y,null,{actions:a(()=>[n(z,{class:"bg-success clickable",onClick:t=>m.addChargeTemplateSchedulePlan(d,t)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["onClick"])]),help:a(()=>[l(' Im Lademodus "Zielladen" wird der Ladestrom so angepasst, dass das Fahrzeug zum angegebenen Zeitpunkt den eingestellten SoC bzw. die einzuladende Energiemenge erreicht. Anhand des vorgegebenen Ladestroms wird der Zeitpunkt berechnet, an dem die Ladung spätestens starten muss.'),Qe,l(' Ist der berechnete Zeitpunkt des Ladestarts noch nicht erreicht, wird mit Überschuss geladen. Auch nach Erreichen des Ziel-SoCs wird mit Überschuss geladen, solange bis das "SoC-Limit" erreicht wird.'),Xe,l(" Kann der Ziel-SoC bzw. die Energiemenge NICHT erreicht werden, z.B. weil das Auto zu spät angesteckt wurde oder das Lastmanagement eingegriffen hat, wird bis 20 Minuten nach dem angegebenen Termin mit der Maximalstromstärke geladen. Danach wird der Termin verworfen und mit Überschuss geladen. ")]),default:a(()=>[l(" Zielladen ")]),_:2},1024),(r(!0),p(B,null,A(m.getChargeTemplateScheduledChargingPlans(d),(t,g)=>(r(),f(L,{key:g,title:t.name,collapsible:!0,collapsed:!0},{actions:a(u=>[u.collapsed==!0?(r(),p("span",{key:0,class:N(["subheader pill",t.active?"bg-success":"bg-danger"])},[t.limit.selected=="soc"?(r(),p("span",Ye,[n(b,{"fixed-width":"",icon:["fas","car-battery"]}),l(" "+V(t.limit.soc_scheduled)+"% ",1)])):c("",!0),t.limit.selected=="amount"?(r(),p("span",Ke,[n(b,{"fixed-width":"",icon:["fas","bolt"]}),l(" "+V(t.limit.amount/1e3)+"kWh ",1)])):c("",!0),n(b,{"fixed-width":"",icon:["fas","clock"]}),l(" "+V(t.time)+" ",1),t.frequency.selected=="once"?(r(),p("span",et,[n(b,{"fixed-width":"",icon:["fas","calendar-day"]}),l(" "+V(e.formatDate(t.frequency.once)),1)])):c("",!0),t.frequency.selected=="daily"?(r(),p("span",tt,[n(b,{"fixed-width":"",icon:["fas","calendar-week"]})])):c("",!0),t.frequency.selected=="weekly"?(r(),p("span",nt,[n(b,{"fixed-width":"",icon:["fas","calendar-alt"]})])):c("",!0)],2)):c("",!0),u.collapsed==!1?(r(),f(z,{key:1,class:"bg-danger clickable",onClick:P=>m.removeChargeTemplateSchedulePlanModal(d,g,P)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):c("",!0)]),default:a(()=>[n(W,{title:"Bezeichnung","model-value":t.name,"onUpdate:modelValue":u=>e.updateState(g,u,"name")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Zeitpunkt aktiv",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":t.active,"onUpdate:modelValue":u=>e.updateState(g,u,"active")},null,8,["model-value","onUpdate:modelValue"]),n(W,{title:"Ziel-Uhrzeit",subtype:"time","model-value":t.time,"onUpdate:modelValue":u=>e.updateState(g,u,"time")},{help:a(()=>[l(" Hier ist die gewünschte Uhrzeit einzustellen, zu welcher das Fahrzeug den gewünschten SoC bzw. die zu ladende Energiemenge BEREITS ERREICHT haben soll. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(C,{title:"Ladestrom",min:6,max:32,step:1,unit:"A","model-value":t.current,"onUpdate:modelValue":u=>e.updateState(g,u,"current")},{help:a(()=>[l(" Mit dieser Stromstärke wird der Zeitpunkt berechnet, wann die Ladung mit Netzbezug gestartet werden muss. Wird der Ziel-SoC nicht zum angegebenen Termin erreicht, weil z.B. das Auto erst später angesteckt wurde, wird auch mit einer höheren Stromstärke geladen. Um etwas Puffer zu haben, empfiehlt es sich, etwas weniger als die Maximalstromstärke des Fahrzeugs zu wählen. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),n(w,{title:"Ziel",buttons:[{buttonValue:"soc",text:"SoC"},{buttonValue:"amount",text:"Energie"}],"model-value":t.limit.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.selected")},{help:a(()=>[l(" Bestimmt die Art der Grenze für den Ladevorgang. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),t.limit.selected=="soc"?(r(),f(C,{key:0,title:"Ziel-SoC",min:5,max:100,step:5,unit:"%","model-value":t.limit.soc_scheduled,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.soc_scheduled")},{help:a(()=>[l(" SoC, der zum angegebenen Zeitpunkt erreicht werden soll. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),t.limit.selected=="soc"?(r(),f(C,{key:1,title:"SoC-Limit",min:5,max:100,step:5,unit:"%","model-value":t.limit.soc_limit,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.soc_limit")},{help:a(()=>[l(" Nach Erreichen des Ziel-SoCs wird mit Überschuss weiter geladen, bis das SoC-Limit erreicht wird. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),t.limit.selected=="amount"?(r(),f(T,{key:2,title:"Ziel-Energie",unit:"kWh",min:1,step:.5,"model-value":t.limit.amount/1e3,"onUpdate:modelValue":u=>e.updateState(g,u*1e3,"limit.amount")},{help:a(()=>[l(" Die geladene Energiemenge wird beim Wechsel des Lademodus, Wechsel des Plans oder nach dem Anstecken, wenn Zielladen schon ausgewählt ist, neu gezählt. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),n(w,{title:"Wiederholungen",buttons:[{buttonValue:"once",text:"Einmalig",class:"btn-outline-info"},{buttonValue:"daily",text:"Täglich",class:"btn-outline-info"},{buttonValue:"weekly",text:"Wöchentlich",class:"btn-outline-info"}],"model-value":t.frequency.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.selected")},null,8,["model-value","onUpdate:modelValue"]),t.frequency.selected=="once"?(r(),f(W,{key:3,title:"Datum",subtype:"date","model-value":t.frequency.once,"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.once")},null,8,["model-value","onUpdate:modelValue"])):c("",!0),t.frequency.selected=="weekly"?(r(),p("div",at,[(r(!0),p(B,null,A(e.weekdays,(u,P)=>(r(),f(w,{key:P,title:u,buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":t.frequency.weekly[P],"onUpdate:modelValue":x=>e.updateState(g,x,"frequency.weekly."+P)},null,8,["title","model-value","onUpdate:modelValue"]))),128))])):c("",!0)]),_:2},1032,["title"]))),128)),lt,n(y,null,{actions:a(()=>[n(z,{class:"bg-success clickable",onClick:t=>m.addChargeTemplateTimeChargingPlan(d,t)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","plus"]})]),_:2},1032,["onClick"])]),help:a(()=>[l(" Mit einem Zeitplan kann ein klar abgegrenzter Zeitbereich zum Fahrzeugladen definiert werden. Dies wird häufig genutzt, um einem Fahrzeug kurz vor der Abfahrt Strom anzubieten, damit dessen Vorklimatisierung nicht aus dem Fahrzeugakku, sondern aus der openWB bezogen wird (Enteisung, Vorwärmung, Abkühlung). Nicht von der Vorklimatisierung benötigter Strom erhöht dabei den Fahrzeug-SoC. Um das Stromnetz am Morgen nicht unnötig zu strapazieren, sollte eine moderate Stromvorgabe und ein beschränkter Zeitbereich vorgegeben werden (z.B. max. 10A; 30min - in Übereinstimmung mit den Fahrzeug-App-Vorklimatisierungsvorgaben). ")]),default:a(()=>[l(" Laden nach Zeitplan ")]),_:2},1024),(r(!0),p(B,null,A(m.getChargeTemplateTimeChargingPlans(d),(t,g)=>(r(),f(L,{key:g,title:t.name,collapsible:!0,collapsed:!0},{actions:a(u=>[u.collapsed==!0?(r(),p("span",{key:0,class:N(["subheader pill",t.active?"bg-success":"bg-danger"])},[t.limit.selected=="soc"?(r(),p("span",it,[n(b,{"fixed-width":"",icon:["fas","car-battery"]}),l(" "+V(t.limit.soc)+"% ",1)])):c("",!0),t.limit.selected=="amount"?(r(),p("span",ot,[n(b,{"fixed-width":"",icon:["fas","bolt"]}),l(" "+V(t.limit.amount/1e3)+"kWh ",1)])):c("",!0),n(b,{"fixed-width":"",icon:["fas","clock"]}),l(" "+V(t.time[0])+" - "+V(t.time[1])+" ",1),t.frequency.selected=="once"?(r(),p("span",dt,[n(b,{"fixed-width":"",icon:["fas","calendar-day"]}),l(" "+V(e.formatDate(t.frequency.once[0])==e.formatDate(t.frequency.once[1])?e.formatDate(t.frequency.once[0]):e.formatDate(t.frequency.once[0])+" - "+e.formatDate(t.frequency.once[1])),1)])):c("",!0),t.frequency.selected=="daily"?(r(),p("span",rt,[n(b,{"fixed-width":"",icon:["fas","calendar-week"]})])):c("",!0),t.frequency.selected=="weekly"?(r(),p("span",ut,[n(b,{"fixed-width":"",icon:["fas","calendar-alt"]})])):c("",!0)],2)):c("",!0),u.collapsed==!1?(r(),f(z,{key:1,class:"bg-danger clickable",onClick:P=>m.removeChargeTemplateTimeChargingPlanModal(d,g,P)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"])):c("",!0)]),default:a(()=>[n(W,{title:"Bezeichnung","model-value":t.name,"onUpdate:modelValue":u=>e.updateState(g,u,"name")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Zeitplan aktiv",buttons:[{buttonValue:!1,text:"Nein",class:"btn-outline-danger"},{buttonValue:!0,text:"Ja",class:"btn-outline-success"}],"model-value":t.active,"onUpdate:modelValue":u=>e.updateState(g,u,"active")},null,8,["model-value","onUpdate:modelValue"]),n(C,{title:"Ladestrom",min:6,max:32,step:1,unit:"A","model-value":t.current,"onUpdate:modelValue":u=>e.updateState(g,u,"current")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Ziel",buttons:[{buttonValue:"none",text:"Aus"},{buttonValue:"soc",text:"SoC"},{buttonValue:"amount",text:"Energie"}],"model-value":t.limit.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.selected")},{help:a(()=>[l(" Bestimmt die Art der Grenze für den Ladevorgang. ")]),_:2},1032,["model-value","onUpdate:modelValue"]),t.limit.selected=="soc"?(r(),f(C,{key:0,title:"Ziel-SoC",min:5,max:100,step:5,unit:"%","model-value":t.limit.soc,"onUpdate:modelValue":u=>e.updateState(g,u,"limit.soc")},{help:a(()=>[l(" Ladestand des Akku (State of Charge, SoC), bis zu welchem maximal geladen werden soll. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),t.limit.selected=="amount"?(r(),f(T,{key:1,title:"Ziel-Energie",unit:"kWh",min:1,step:.5,"model-value":t.limit.amount/1e3,"onUpdate:modelValue":u=>e.updateState(g,u*1e3,"limit.amount")},{help:a(()=>[l(" Maximal zu ladende Energie innerhalb des Zeitfensters. Eignet sich immer dann wenn kein SoC zur Verfügung steht. Die geladene Energiemenge wird beim Wechsel des Lademodus, Wechsel des Plans oder nach dem Anstecken, wenn Zeitladen schon aktiv ist, neu gezählt. ")]),_:2},1032,["model-value","onUpdate:modelValue"])):c("",!0),n(W,{title:"Zeitpunkt des Ladebeginns",subtype:"time","model-value":t.time[0],"onUpdate:modelValue":u=>e.updateState(g,u,"time.0")},null,8,["model-value","onUpdate:modelValue"]),n(W,{title:"Zeitpunkt des Ladeendes",subtype:"time","model-value":t.time[1],"onUpdate:modelValue":u=>e.updateState(g,u,"time.1")},null,8,["model-value","onUpdate:modelValue"]),n(w,{title:"Wiederholungen",buttons:[{buttonValue:"once",text:"Einmalig",class:"btn-outline-info"},{buttonValue:"daily",text:"Täglich",class:"btn-outline-info"},{buttonValue:"weekly",text:"Wöchentlich",class:"btn-outline-info"}],"model-value":t.frequency.selected,"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.selected")},null,8,["model-value","onUpdate:modelValue"]),t.frequency.selected=="once"?(r(),f(W,{key:2,title:"Gültig ab",subtype:"date","model-value":t.frequency.once[0],"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.once.0")},null,8,["model-value","onUpdate:modelValue"])):c("",!0),t.frequency.selected=="once"?(r(),f(W,{key:3,title:"Gültig bis",subtype:"date",min:t.frequency.once[0],"model-value":t.frequency.once[1],"onUpdate:modelValue":u=>e.updateState(g,u,"frequency.once.1")},null,8,["min","model-value","onUpdate:modelValue"])):c("",!0),t.frequency.selected=="weekly"?(r(),p("div",st,[(r(!0),p(B,null,A(e.weekdays,(u,P)=>(r(),f(w,{key:P,title:u,buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}],"model-value":t.frequency.weekly[P],"onUpdate:modelValue":x=>e.updateState(g,x,"frequency.weekly."+P)},null,8,["title","model-value","onUpdate:modelValue"]))),128))])):c("",!0)]),_:2},1032,["title"]))),128))]),_:2},[d.endsWith("/0")?void 0:{name:"actions",fn:a(t=>[t.collapsed?c("",!0):(r(),f(z,{key:0,class:"bg-danger clickable",onClick:g=>m.removeChargeTemplateModal(d,g)},{default:a(()=>[n(b,{"fixed-width":"",icon:["fas","trash"]})]),_:2},1032,["onClick"]))]),key:"0"}]),1032,["title","collapsed"]))),128))]))]),_:1},8,["collapsed"]),n(R,{formName:"vehicleConfigForm",onSave:o[5]||(o[5]=i=>e.$emit("save")),onReset:o[6]||(o[6]=i=>e.$emit("reset")),onDefaults:o[7]||(o[7]=i=>e.$emit("defaults"))})])])],64)}const wt=D(_e,[["render",mt],["__scopeId","data-v-d7193cf0"],["__file","/opt/openWB-dev/openwb-ui-settings/src/views/VehicleConfig.vue"]]);export{wt as default}; diff --git a/web/settings/assets/backup_cloud-57a59b65.js b/web/settings/assets/backup_cloud-48fb7bfd.js similarity index 87% rename from web/settings/assets/backup_cloud-57a59b65.js rename to web/settings/assets/backup_cloud-48fb7bfd.js index 7e2427eafc..1606176042 100644 --- a/web/settings/assets/backup_cloud-57a59b65.js +++ b/web/settings/assets/backup_cloud-48fb7bfd.js @@ -1 +1 @@ -import{_ as c,p as o,k as r,l as d,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"BackupCloudNfs",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"backup-cloud-nfs"},h={class:"small"};function k(t,e,a,v,x,s){const u=o("openwb-base-heading"),i=o("openwb-base-text-input");return r(),d("div",g,[n(u,null,{default:l(()=>[_(" Einstellungen für NFS-Backup Cloud "),f("span",h,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(i,{title:"Pfad zum NFS Share",pattern:"^([^/: ]+):(\\/[^/: ]+)+$","model-value":a.configuration.nfs_share,"onUpdate:modelValue":e[0]||(e[0]=p=>s.updateConfiguration(p,"configuration.nfs_share"))},null,8,["model-value"])])}const C=c(b,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/nfs/backup_cloud.vue"]]);export{C as default}; +import{_ as c,p as o,k as r,l as d,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"BackupCloudNfs",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"backup-cloud-nfs"},h={class:"small"};function k(t,e,a,v,x,s){const u=o("openwb-base-heading"),i=o("openwb-base-text-input");return r(),d("div",g,[n(u,null,{default:l(()=>[_(" Einstellungen für NFS-Backup Cloud "),f("span",h,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(i,{title:"Pfad zum NFS Share",pattern:"^([^/: ]+):(\\/[^/: ]+)+$","model-value":a.configuration.nfs_share,"onUpdate:modelValue":e[0]||(e[0]=p=>s.updateConfiguration(p,"configuration.nfs_share"))},null,8,["model-value"])])}const C=c(b,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/nfs/backup_cloud.vue"]]);export{C as default}; diff --git a/web/settings/assets/backup_cloud-b50dcfca.js b/web/settings/assets/backup_cloud-8781ed3e.js similarity index 90% rename from web/settings/assets/backup_cloud-b50dcfca.js rename to web/settings/assets/backup_cloud-8781ed3e.js index 817600b92c..0110c43101 100644 --- a/web/settings/assets/backup_cloud-b50dcfca.js +++ b/web/settings/assets/backup_cloud-8781ed3e.js @@ -1 +1 @@ -import{_ as d,p as i,k as r,l as p,A as t,L as m,u as c,q as b,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"BackupCloudSamba",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(a,e=void 0){this.$emit("update:configuration",{value:a,object:e})}}},g={class:"backup-cloud-samba"},v={class:"small"};function w(a,e,n,k,C,u){const l=i("openwb-base-heading"),s=i("openwb-base-text-input");return r(),p("div",g,[t(l,null,{default:m(()=>[c(" Einstellungen für Samba-Backup Cloud "),b("span",v,"(Modul: "+_(a.$options.name)+")",1)]),_:1}),t(s,{title:"Pfad zur Freigabe",required:"","model-value":n.configuration.smb_path,"onUpdate:modelValue":e[0]||(e[0]=o=>u.updateConfiguration(o,"configuration.smb_path"))},null,8,["model-value"]),t(s,{title:"Benutzer","model-value":n.configuration.smb_user,"onUpdate:modelValue":e[1]||(e[1]=o=>u.updateConfiguration(o,"configuration.smb_user"))},null,8,["model-value"]),t(s,{title:"Kennwort",subtype:"password","model-value":n.configuration.smb_password,"onUpdate:modelValue":e[2]||(e[2]=o=>u.updateConfiguration(o,"configuration.smb_password"))},null,8,["model-value"])])}const V=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/samba/backup_cloud.vue"]]);export{V as default}; +import{_ as d,p as i,k as r,l as p,A as t,L as m,u as c,q as b,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"BackupCloudSamba",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(a,e=void 0){this.$emit("update:configuration",{value:a,object:e})}}},g={class:"backup-cloud-samba"},v={class:"small"};function w(a,e,n,k,C,u){const l=i("openwb-base-heading"),s=i("openwb-base-text-input");return r(),p("div",g,[t(l,null,{default:m(()=>[c(" Einstellungen für Samba-Backup Cloud "),b("span",v,"(Modul: "+_(a.$options.name)+")",1)]),_:1}),t(s,{title:"Pfad zur Freigabe",required:"","model-value":n.configuration.smb_path,"onUpdate:modelValue":e[0]||(e[0]=o=>u.updateConfiguration(o,"configuration.smb_path"))},null,8,["model-value"]),t(s,{title:"Benutzer","model-value":n.configuration.smb_user,"onUpdate:modelValue":e[1]||(e[1]=o=>u.updateConfiguration(o,"configuration.smb_user"))},null,8,["model-value"]),t(s,{title:"Kennwort",subtype:"password","model-value":n.configuration.smb_password,"onUpdate:modelValue":e[2]||(e[2]=o=>u.updateConfiguration(o,"configuration.smb_password"))},null,8,["model-value"])])}const V=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/samba/backup_cloud.vue"]]);export{V as default}; diff --git a/web/settings/assets/backup_cloud-eea2e1ba.js b/web/settings/assets/backup_cloud-b87842dd.js similarity index 96% rename from web/settings/assets/backup_cloud-eea2e1ba.js rename to web/settings/assets/backup_cloud-b87842dd.js index fb08c58397..3678ef0f22 100644 --- a/web/settings/assets/backup_cloud-eea2e1ba.js +++ b/web/settings/assets/backup_cloud-b87842dd.js @@ -1 +1 @@ -import{_ as b,p as d,k as g,l as f,A as t,L as o,u as e,q as u,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"BackupCloudOneDrive",emits:["update:configuration","sendCommand"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(i,n=void 0){this.$emit("update:configuration",{value:i,object:n})},sendSystemCommand(i,n={}){this.$emit("sendCommand",{command:i,data:n})}}},v={class:"backup-cloud-onedrive"},k={class:"small"},w=u("br",null,null,-1),B=u("br",null,null,-1),C=u("br",null,null,-1),y=u("br",null,null,-1);function A(i,n,a,x,z,s){const c=d("openwb-base-heading"),m=d("openwb-base-alert"),r=d("openwb-base-text-input"),p=d("openwb-base-button-input");return g(),f("div",v,[t(c,null,{default:o(()=>[e(" Einstellungen für Onedrive Backup "),u("span",k,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),t(m,{subtype:"info"},{default:o(()=>[e(" Zum Abruf der Zugangsberechtigung bitte die Konfiguration speichern, dann die Schritte 1-4 durchführen und danach die Konfiguration erneut speichern. "),w,e(" Auth Code und URL werden nur einmal benötigt werden nach erfolgreicher Autorisierung wieder gelöscht. ")]),_:1}),t(r,{title:"Backupverzeichnis in Onedrive",subtype:"text",required:"",pattern:"^/(.*/)*","model-value":a.configuration.backuppath,"onUpdate:modelValue":n[0]||(n[0]=l=>s.updateConfiguration(l,"configuration.backuppath"))},{help:o(()=>[e(" In diesem Verzeichnis werden die Backupdateien erstellt. Bitte den Pfad mit / beenden. "),B,e("Beispiel: /openWB/Backup/ ")]),_:1},8,["model-value"]),t(r,{title:"Anmeldedaten auf openWB gespeichert",readonly:"","model-value":a.configuration.persistent_tokencache?"Ja":"Nein"},null,8,["model-value"]),t(c,null,{default:o(()=>[e("Zugang zu Onedrive für diese openWB autorisieren")]),_:1}),t(p,{title:"1. Anmeldeanforderung erstellen",buttonText:"Autorisierungs-Code anfordern",subtype:"success",onButtonClicked:n[1]||(n[1]=l=>s.sendSystemCommand("requestMSALAuthCode",{}))},{help:o(()=>[e(" Es werden Zugangstokens für Onedrive angefordert. Diese werden nur lokal auf dieser openWB gespeichert. Genutzt wird Device Flow mit public application. "),C,e(" https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code "),y,e(" https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-client-applications ")]),_:1}),t(r,{title:"2. Diesen Code kopieren",subtype:"text",readonly:"","model-value":a.configuration.authcode},null,8,["model-value"]),t(r,{title:"3. Anmelde-URL aufrufen",subtype:"url",readonly:"","model-value":a.configuration.authurl},{help:o(()=>[e(" Diese URL im Browser öffnen und den Code eingeben. Dies erzeugt die notwendigen Zugangsberechtigung für diese openWB. ")]),_:1},8,["model-value"]),t(p,{title:"4. Token abrufen und speichern",buttonText:"Autorisierungs-Token abrufen",subtype:"success",onButtonClicked:n[2]||(n[2]=l=>s.sendSystemCommand("retrieveMSALTokens",{}))},{help:o(()=>[e(" Zugangstoken wird abgerufen und gespeichert, damit das Backup durchgeführt werden kann. Zugangstoken werden nur lokal auf dieser openWB gespeichert. ")]),_:1})])}const W=b(h,[["render",A],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/onedrive/backup_cloud.vue"]]);export{W as default}; +import{_ as b,p as d,k as g,l as f,A as t,L as o,u as e,q as u,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"BackupCloudOneDrive",emits:["update:configuration","sendCommand"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(i,n=void 0){this.$emit("update:configuration",{value:i,object:n})},sendSystemCommand(i,n={}){this.$emit("sendCommand",{command:i,data:n})}}},v={class:"backup-cloud-onedrive"},k={class:"small"},w=u("br",null,null,-1),B=u("br",null,null,-1),C=u("br",null,null,-1),y=u("br",null,null,-1);function A(i,n,a,x,z,s){const c=d("openwb-base-heading"),m=d("openwb-base-alert"),r=d("openwb-base-text-input"),p=d("openwb-base-button-input");return g(),f("div",v,[t(c,null,{default:o(()=>[e(" Einstellungen für Onedrive Backup "),u("span",k,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),t(m,{subtype:"info"},{default:o(()=>[e(" Zum Abruf der Zugangsberechtigung bitte die Konfiguration speichern, dann die Schritte 1-4 durchführen und danach die Konfiguration erneut speichern. "),w,e(" Auth Code und URL werden nur einmal benötigt werden nach erfolgreicher Autorisierung wieder gelöscht. ")]),_:1}),t(r,{title:"Backupverzeichnis in Onedrive",subtype:"text",required:"",pattern:"^/(.*/)*","model-value":a.configuration.backuppath,"onUpdate:modelValue":n[0]||(n[0]=l=>s.updateConfiguration(l,"configuration.backuppath"))},{help:o(()=>[e(" In diesem Verzeichnis werden die Backupdateien erstellt. Bitte den Pfad mit / beenden. "),B,e("Beispiel: /openWB/Backup/ ")]),_:1},8,["model-value"]),t(r,{title:"Anmeldedaten auf openWB gespeichert",readonly:"","model-value":a.configuration.persistent_tokencache?"Ja":"Nein"},null,8,["model-value"]),t(c,null,{default:o(()=>[e("Zugang zu Onedrive für diese openWB autorisieren")]),_:1}),t(p,{title:"1. Anmeldeanforderung erstellen",buttonText:"Autorisierungs-Code anfordern",subtype:"success",onButtonClicked:n[1]||(n[1]=l=>s.sendSystemCommand("requestMSALAuthCode",{}))},{help:o(()=>[e(" Es werden Zugangstokens für Onedrive angefordert. Diese werden nur lokal auf dieser openWB gespeichert. Genutzt wird Device Flow mit public application. "),C,e(" https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code "),y,e(" https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-client-applications ")]),_:1}),t(r,{title:"2. Diesen Code kopieren",subtype:"text",readonly:"","model-value":a.configuration.authcode},null,8,["model-value"]),t(r,{title:"3. Anmelde-URL aufrufen",subtype:"url",readonly:"","model-value":a.configuration.authurl},{help:o(()=>[e(" Diese URL im Browser öffnen und den Code eingeben. Dies erzeugt die notwendigen Zugangsberechtigung für diese openWB. ")]),_:1},8,["model-value"]),t(p,{title:"4. Token abrufen und speichern",buttonText:"Autorisierungs-Token abrufen",subtype:"success",onButtonClicked:n[2]||(n[2]=l=>s.sendSystemCommand("retrieveMSALTokens",{}))},{help:o(()=>[e(" Zugangstoken wird abgerufen und gespeichert, damit das Backup durchgeführt werden kann. Zugangstoken werden nur lokal auf dieser openWB gespeichert. ")]),_:1})])}const W=b(h,[["render",A],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/onedrive/backup_cloud.vue"]]);export{W as default}; diff --git a/web/settings/assets/backup_cloud-71ffb0e4.js b/web/settings/assets/backup_cloud-eae79032.js similarity index 92% rename from web/settings/assets/backup_cloud-71ffb0e4.js rename to web/settings/assets/backup_cloud-eae79032.js index 9dc0c86fdd..8f62d6ce56 100644 --- a/web/settings/assets/backup_cloud-71ffb0e4.js +++ b/web/settings/assets/backup_cloud-eae79032.js @@ -1 +1 @@ -import{_ as p,p as d,k as c,l as m,A as o,L as l,u as i,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"BackupCloudNextCloud",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"backup-cloud-nextcloud"},x={class:"small"};function k(n,e,u,C,w,a){const r=d("openwb-base-heading"),s=d("openwb-base-text-input");return c(),m("div",b,[o(r,null,{default:l(()=>[i(" Einstellungen für NextCloud-Backup Cloud "),_("span",x,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(s,{title:"Cloud-URL",subtype:"host",required:"","model-value":u.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.ip_address"))},{help:l(()=>[i(" Die Cloud-URL wird in der Form 'https://nextcloud-url' und Benutzername im Eingabefeld oder mit Zugangstoken erwartet. Die URL kann je nach NextCloud Installation so 'https://nextcloud-url/s/user_token' oder so 'https://nextcloud-url/index.php/s/user_token' aussehen. ")]),_:1},8,["model-value"]),o(s,{title:"Benutzername",subtype:"user","model-value":u.configuration.user,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password","model-value":u.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const B=p(g,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/nextcloud/backup_cloud.vue"]]);export{B as default}; +import{_ as p,p as d,k as c,l as m,A as o,L as l,u as i,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"BackupCloudNextCloud",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},data(){return{}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"backup-cloud-nextcloud"},x={class:"small"};function k(n,e,u,C,w,a){const r=d("openwb-base-heading"),s=d("openwb-base-text-input");return c(),m("div",b,[o(r,null,{default:l(()=>[i(" Einstellungen für NextCloud-Backup Cloud "),_("span",x,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(s,{title:"Cloud-URL",subtype:"host",required:"","model-value":u.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.ip_address"))},{help:l(()=>[i(" Die Cloud-URL wird in der Form 'https://nextcloud-url' und Benutzername im Eingabefeld oder mit Zugangstoken erwartet. Die URL kann je nach NextCloud Installation so 'https://nextcloud-url/s/user_token' oder so 'https://nextcloud-url/index.php/s/user_token' aussehen. ")]),_:1},8,["model-value"]),o(s,{title:"Benutzername",subtype:"user","model-value":u.configuration.user,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password","model-value":u.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const B=p(g,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/backup_clouds/nextcloud/backup_cloud.vue"]]);export{B as default}; diff --git a/web/settings/assets/bat-37fcd6a3.js b/web/settings/assets/bat-043cfbb4.js similarity index 93% rename from web/settings/assets/bat-37fcd6a3.js rename to web/settings/assets/bat-043cfbb4.js index a2877ee77a..e6580b02b4 100644 --- a/web/settings/assets/bat-37fcd6a3.js +++ b/web/settings/assets/bat-043cfbb4.js @@ -1 +1 @@ -import{_ as u,p as t,k as c,l,A as n,L as p,u as m,q as _,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceSolarEdgeBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-solaredge-bat"},v={class:"small"};function h(o,e,a,w,x,s){const i=t("openwb-base-heading"),d=t("openwb-base-number-input");return c(),l("div",g,[n(i,null,{default:p(()=>[m(" Einstellungen für SolarEdge Batteriespeicher "),_("span",v,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(d,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.modbus_id"))},null,8,["model-value"])])}const E=u(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/bat.vue"]]);export{E as default}; +import{_ as u,p as t,k as c,l,A as n,L as p,u as m,q as _,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceSolarEdgeBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-solaredge-bat"},v={class:"small"};function h(o,e,a,w,x,s){const i=t("openwb-base-heading"),d=t("openwb-base-number-input");return c(),l("div",g,[n(i,null,{default:p(()=>[m(" Einstellungen für SolarEdge Batteriespeicher "),_("span",v,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(d,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.modbus_id"))},null,8,["model-value"])])}const E=u(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/bat.vue"]]);export{E as default}; diff --git a/web/settings/assets/bat-658db0f6.js b/web/settings/assets/bat-0f6273c8.js similarity index 86% rename from web/settings/assets/bat-658db0f6.js rename to web/settings/assets/bat-0f6273c8.js index ff987266b7..11c11f518c 100644 --- a/web/settings/assets/bat-658db0f6.js +++ b/web/settings/assets/bat-0f6273c8.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceHuaweiBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-huawei-bat"},m={class:"small"};function b(e,t,h,g,w,v){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Huawei Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/bat.vue"]]);export{x as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceHuaweiBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-huawei-bat"},m={class:"small"};function b(e,t,h,g,w,v){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Huawei Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-97162434.js b/web/settings/assets/bat-180becaf.js similarity index 94% rename from web/settings/assets/bat-97162434.js rename to web/settings/assets/bat-180becaf.js index af7779a1e2..79ae11d485 100644 --- a/web/settings/assets/bat-97162434.js +++ b/web/settings/assets/bat-180becaf.js @@ -1 +1 @@ -import{_ as m,p as u,k as f,l as g,A as n,L as d,u as o,q as s,x as c}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceJsonBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(l,e=void 0){this.$emit("update:configuration",{value:l,object:e})}}},b={class:"device-json-bat"},v={class:"small"},w=s("br",null,null,-1);function h(l,e,a,j,q,i){const p=u("openwb-base-heading"),r=u("openwb-base-text-input");return f(),g("div",b,[n(p,null,{default:d(()=>[o(" Einstellungen für JSON Batteriespeicher "),s("span",v,"(Modul: "+c(l.$options.name)+")",1)]),_:1}),n(r,{title:"Abfrage für Leistung",subtype:"text",required:"","model-value":a.configuration.jq_power,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.jq_power"))},{help:d(()=>[o(' Zur Analyse der Werte aus dem json-Objekt wird jq benutzt. Ist die Json Antwort z.B. {"PowerInstalledPeak":4655, "PowerProduced":132, "PowerOut":897.08172362555717, "PowerSelfSupplied":234.9182763744428} So muss hier .PowerOut eingetragen werden. '),w,o(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt (positiv Ladung, negativ Entladung) darstellt. ")]),_:1},8,["model-value"]),n(r,{title:"Abfrage für Ladestand",subtype:"text",required:"","model-value":a.configuration.jq_soc,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.jq_soc"))},null,8,["model-value"]),n(r,{title:"Abfrage für Zählerstand Ladung",subtype:"text","model-value":a.configuration.jq_imported,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.jq_imported"))},{help:d(()=>[o(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"]),n(r,{title:"Abfrage für Zählerstand Entladung",subtype:"text","model-value":a.configuration.jq_exported,"onUpdate:modelValue":e[3]||(e[3]=t=>i.updateConfiguration(t,"configuration.jq_exported"))},{help:d(()=>[o(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"])])}const P=m(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/bat.vue"]]);export{P as default}; +import{_ as m,p as u,k as f,l as g,A as n,L as d,u as o,q as s,x as c}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceJsonBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(l,e=void 0){this.$emit("update:configuration",{value:l,object:e})}}},b={class:"device-json-bat"},v={class:"small"},w=s("br",null,null,-1);function h(l,e,a,j,q,i){const p=u("openwb-base-heading"),r=u("openwb-base-text-input");return f(),g("div",b,[n(p,null,{default:d(()=>[o(" Einstellungen für JSON Batteriespeicher "),s("span",v,"(Modul: "+c(l.$options.name)+")",1)]),_:1}),n(r,{title:"Abfrage für Leistung",subtype:"text",required:"","model-value":a.configuration.jq_power,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.jq_power"))},{help:d(()=>[o(' Zur Analyse der Werte aus dem json-Objekt wird jq benutzt. Ist die Json Antwort z.B. {"PowerInstalledPeak":4655, "PowerProduced":132, "PowerOut":897.08172362555717, "PowerSelfSupplied":234.9182763744428} So muss hier .PowerOut eingetragen werden. '),w,o(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt (positiv Ladung, negativ Entladung) darstellt. ")]),_:1},8,["model-value"]),n(r,{title:"Abfrage für Ladestand",subtype:"text",required:"","model-value":a.configuration.jq_soc,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.jq_soc"))},null,8,["model-value"]),n(r,{title:"Abfrage für Zählerstand Ladung",subtype:"text","model-value":a.configuration.jq_imported,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.jq_imported"))},{help:d(()=>[o(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"]),n(r,{title:"Abfrage für Zählerstand Entladung",subtype:"text","model-value":a.configuration.jq_exported,"onUpdate:modelValue":e[3]||(e[3]=t=>i.updateConfiguration(t,"configuration.jq_exported"))},{help:d(()=>[o(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"])])}const P=m(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/bat.vue"]]);export{P as default}; diff --git a/web/settings/assets/bat-d5a41ebe.js b/web/settings/assets/bat-28f575be.js similarity index 94% rename from web/settings/assets/bat-d5a41ebe.js rename to web/settings/assets/bat-28f575be.js index a00e190705..eb21846a65 100644 --- a/web/settings/assets/bat-d5a41ebe.js +++ b/web/settings/assets/bat-28f575be.js @@ -1 +1 @@ -import{_ as u,p as c,k as _,l as m,A as n,L as o,u as t,q as e,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DeviceMqttBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(a,d=void 0){this.$emit("update:configuration",{value:a,object:d})}}},b={class:"device-mqtt-bat"},f={class:"small"},g=e("br",null,null,-1),k=e("br",null,null,-1),x=e("span",{class:"text-info"},"-123",-1),B=e("br",null,null,-1),v=e("br",null,null,-1),I=e("span",{class:"text-info"},"123.45",-1),w=e("br",null,null,-1),W=e("br",null,null,-1),z=e("span",{class:"text-info"},"123.45",-1),N=e("br",null,null,-1),T=e("br",null,null,-1),q=e("span",{class:"text-info"},"95",-1);function D(a,d,i,E,y,F){const p=c("openwb-base-heading"),s=c("openwb-base-copy-to-clipboard"),r=c("openwb-base-alert");return _(),m("div",b,[n(p,null,{default:o(()=>[t(" Einstellungen für MQTT Batteriespeicher "),e("span",f,"(Modul: "+l(a.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:o(()=>[e("ul",null,[e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/power",1)]),_:1}),g,t(" Speicherleistung in Watt, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, positiv Ladung, negativ Entladung"),k,t(" Beispiel: "),x]),e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/imported",1)]),_:1}),B,t(" Geladene Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),v,t(" Beispiel: "),I]),e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/exported",1)]),_:1}),w,t(" Entladene Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),W,t(" Beispiel: "),z]),e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/soc",1)]),_:1}),N,t(" Ladestand des Speichers, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, gültige Werte 0 bis 100"),T,t(" Beispiel: "),q])])]),_:1})])}const C=u(h,[["render",D],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/bat.vue"]]);export{C as default}; +import{_ as u,p as c,k as _,l as m,A as n,L as o,u as t,q as e,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DeviceMqttBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(a,d=void 0){this.$emit("update:configuration",{value:a,object:d})}}},b={class:"device-mqtt-bat"},f={class:"small"},g=e("br",null,null,-1),k=e("br",null,null,-1),x=e("span",{class:"text-info"},"-123",-1),B=e("br",null,null,-1),v=e("br",null,null,-1),I=e("span",{class:"text-info"},"123.45",-1),w=e("br",null,null,-1),W=e("br",null,null,-1),z=e("span",{class:"text-info"},"123.45",-1),N=e("br",null,null,-1),T=e("br",null,null,-1),q=e("span",{class:"text-info"},"95",-1);function D(a,d,i,E,y,F){const p=c("openwb-base-heading"),s=c("openwb-base-copy-to-clipboard"),r=c("openwb-base-alert");return _(),m("div",b,[n(p,null,{default:o(()=>[t(" Einstellungen für MQTT Batteriespeicher "),e("span",f,"(Modul: "+l(a.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:o(()=>[e("ul",null,[e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/power",1)]),_:1}),g,t(" Speicherleistung in Watt, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, positiv Ladung, negativ Entladung"),k,t(" Beispiel: "),x]),e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/imported",1)]),_:1}),B,t(" Geladene Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),v,t(" Beispiel: "),I]),e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/exported",1)]),_:1}),w,t(" Entladene Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),W,t(" Beispiel: "),z]),e("li",null,[n(s,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/bat/"+l(i.componentId)+"/get/soc",1)]),_:1}),N,t(" Ladestand des Speichers, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, gültige Werte 0 bis 100"),T,t(" Beispiel: "),q])])]),_:1})])}const C=u(h,[["render",D],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/bat.vue"]]);export{C as default}; diff --git a/web/settings/assets/bat-9bfbe5a9.js b/web/settings/assets/bat-2c839c49.js similarity index 86% rename from web/settings/assets/bat-9bfbe5a9.js rename to web/settings/assets/bat-2c839c49.js index 9f4cdf94f9..8251f22924 100644 --- a/web/settings/assets/bat-9bfbe5a9.js +++ b/web/settings/assets/bat-2c839c49.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSiemensBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-siemens-bat"},f={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für Siemens Batteriespeicher "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/bat.vue"]]);export{x as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSiemensBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-siemens-bat"},f={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für Siemens Batteriespeicher "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-b4a1d64f.js b/web/settings/assets/bat-2f8e415a.js similarity index 87% rename from web/settings/assets/bat-b4a1d64f.js rename to web/settings/assets/bat-2f8e415a.js index dc3db0836c..0a80d7a4fc 100644 --- a/web/settings/assets/bat-b4a1d64f.js +++ b/web/settings/assets/bat-2f8e415a.js @@ -1 +1 @@ -import{_ as d,p as t,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceFemsBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-fems-bat"},v={class:"small"};function h(n,e,a,w,x,i){const s=t("openwb-base-heading"),r=t("openwb-base-number-input");return c(),p("div",g,[o(s,null,{default:l(()=>[m(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control Batteriespeicher "),_("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(r,{title:"Anzahl der verbauten Speicher",required:"",min:1,max:2,"model-value":a.configuration.num,"onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.num"))},null,8,["model-value"])])}const q=d(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/bat.vue"]]);export{q as default}; +import{_ as d,p as t,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceFemsBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-fems-bat"},v={class:"small"};function h(n,e,a,w,x,i){const s=t("openwb-base-heading"),r=t("openwb-base-number-input");return c(),p("div",g,[o(s,null,{default:l(()=>[m(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control Batteriespeicher "),_("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(r,{title:"Anzahl der verbauten Speicher",required:"",min:1,max:2,"model-value":a.configuration.num,"onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.num"))},null,8,["model-value"])])}const q=d(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/bat.vue"]]);export{q as default}; diff --git a/web/settings/assets/bat-bbd1edc0.js b/web/settings/assets/bat-340d036c.js similarity index 86% rename from web/settings/assets/bat-bbd1edc0.js rename to web/settings/assets/bat-340d036c.js index 271fb99bc1..927f86f8ff 100644 --- a/web/settings/assets/bat-bbd1edc0.js +++ b/web/settings/assets/bat-340d036c.js @@ -1 +1 @@ -import{_ as r,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceTeslaBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-tesla-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Tesla Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/bat.vue"]]);export{x as default}; +import{_ as r,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceTeslaBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-tesla-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Tesla Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-94685dec.js b/web/settings/assets/bat-3789d34e.js similarity index 86% rename from web/settings/assets/bat-94685dec.js rename to web/settings/assets/bat-3789d34e.js index 54fc3dc43e..f47c9cf965 100644 --- a/web/settings/assets/bat-94685dec.js +++ b/web/settings/assets/bat-3789d34e.js @@ -1 +1 @@ -import{_ as c,p as o,k as r,l as p,A as n,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceGoodWeBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-goodwe-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=o("openwb-base-heading"),d=o("openwb-base-alert");return r(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für GoodWe Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(d,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/bat.vue"]]);export{x as default}; +import{_ as c,p as o,k as r,l as p,A as n,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceGoodWeBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-goodwe-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=o("openwb-base-heading"),d=o("openwb-base-alert");return r(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für GoodWe Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(d,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-0efabb5e.js b/web/settings/assets/bat-391c3434.js similarity index 88% rename from web/settings/assets/bat-0efabb5e.js rename to web/settings/assets/bat-391c3434.js index 2f71e58b38..e4437c988a 100644 --- a/web/settings/assets/bat-0efabb5e.js +++ b/web/settings/assets/bat-391c3434.js @@ -1 +1 @@ -import{_ as d,p as n,k as p,l as r,A as o,L as c,u as _,q as m,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceOpenwbEvukitBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-openwb-batkit-bat"},g={class:"small"};function w(t,e,a,h,x,i){const s=n("openwb-base-heading"),u=n("openwb-base-select-input");return p(),r("div",v,[o(s,null,{default:c(()=>[_(" Einstellungen für openWB EVU-Kit Batteriespeicher "),m("span",g,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(u,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"SDM120"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>i.updateConfiguration(l,"configuration.version"))},null,8,["model-value"])])}const k=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_bat_kit/bat.vue"]]);export{k as default}; +import{_ as d,p as n,k as p,l as r,A as o,L as c,u as _,q as m,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceOpenwbEvukitBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-openwb-batkit-bat"},g={class:"small"};function w(t,e,a,h,x,i){const s=n("openwb-base-heading"),u=n("openwb-base-select-input");return p(),r("div",v,[o(s,null,{default:c(()=>[_(" Einstellungen für openWB EVU-Kit Batteriespeicher "),m("span",g,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(u,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"SDM120"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>i.updateConfiguration(l,"configuration.version"))},null,8,["model-value"])])}const k=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_bat_kit/bat.vue"]]);export{k as default}; diff --git a/web/settings/assets/bat-ae64cbe7.js b/web/settings/assets/bat-4729f54e.js similarity index 85% rename from web/settings/assets/bat-ae64cbe7.js rename to web/settings/assets/bat-4729f54e.js index 56e7c0d104..2b6824eb81 100644 --- a/web/settings/assets/bat-ae64cbe7.js +++ b/web/settings/assets/bat-4729f54e.js @@ -1 +1 @@ -import{_ as r,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceRCTBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-rct-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für RCT Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/bat.vue"]]);export{x as default}; +import{_ as r,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceRCTBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-rct-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für RCT Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-a1145fd5.js b/web/settings/assets/bat-4be9e442.js similarity index 86% rename from web/settings/assets/bat-a1145fd5.js rename to web/settings/assets/bat-4be9e442.js index ccd5fa0bcd..640c7f4de4 100644 --- a/web/settings/assets/bat-a1145fd5.js +++ b/web/settings/assets/bat-4be9e442.js @@ -1 +1 @@ -import{_ as c,p as n,k as r,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceAlphaessBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-alphaess-bat"},m={class:"small"};function b(e,t,h,g,v,w){const i=n("openwb-base-heading"),p=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Alpha ESS Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/bat.vue"]]);export{x as default}; +import{_ as c,p as n,k as r,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceAlphaessBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-alphaess-bat"},m={class:"small"};function b(e,t,h,g,v,w){const i=n("openwb-base-heading"),p=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Alpha ESS Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-81843ac2.js b/web/settings/assets/bat-5215679c.js similarity index 86% rename from web/settings/assets/bat-81843ac2.js rename to web/settings/assets/bat-5215679c.js index afc3d23b73..97516dae0c 100644 --- a/web/settings/assets/bat-81843ac2.js +++ b/web/settings/assets/bat-5215679c.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSungrowBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-sungrow-bat"},m={class:"small"};function b(e,t,g,w,h,v){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Sungrow Speicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const B=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/bat.vue"]]);export{B as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSungrowBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-sungrow-bat"},m={class:"small"};function b(e,t,g,w,h,v){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Sungrow Speicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const B=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/bat.vue"]]);export{B as default}; diff --git a/web/settings/assets/bat-c09f0b87.js b/web/settings/assets/bat-5c4e12c9.js similarity index 85% rename from web/settings/assets/bat-c09f0b87.js rename to web/settings/assets/bat-5c4e12c9.js index b956820bd5..feccd0acbd 100644 --- a/web/settings/assets/bat-c09f0b87.js +++ b/web/settings/assets/bat-5c4e12c9.js @@ -1 +1 @@ -import{_ as r,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceBYDBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-byd-bat"},f={class:"small"};function m(e,t,g,h,v,B){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return d(),p("div",b,[o(i,null,{default:s(()=>[a(" Einstellungen für BYD Batteriespeicher "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/byd/bat.vue"]]);export{x as default}; +import{_ as r,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceBYDBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-byd-bat"},f={class:"small"};function m(e,t,g,h,v,B){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return d(),p("div",b,[o(i,null,{default:s(()=>[a(" Einstellungen für BYD Batteriespeicher "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/byd/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-f05aeb0c.js b/web/settings/assets/bat-614e70c6.js similarity index 86% rename from web/settings/assets/bat-f05aeb0c.js rename to web/settings/assets/bat-614e70c6.js index 1a71e48a3b..b5055f36f0 100644 --- a/web/settings/assets/bat-f05aeb0c.js +++ b/web/settings/assets/bat-614e70c6.js @@ -1 +1 @@ -import{_ as c,p as o,k as p,l as d,A as n,L as a,u as s,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolaxBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solax-bat"},m={class:"small"};function b(e,t,g,h,v,x){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return p(),d("div",f,[n(i,null,{default:a(()=>[s(" Einstellungen für Solax Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/bat.vue"]]);export{$ as default}; +import{_ as c,p as o,k as p,l as d,A as n,L as a,u as s,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolaxBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solax-bat"},m={class:"small"};function b(e,t,g,h,v,x){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return p(),d("div",f,[n(i,null,{default:a(()=>[s(" Einstellungen für Solax Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/bat.vue"]]);export{$ as default}; diff --git a/web/settings/assets/bat-7e5711e8.js b/web/settings/assets/bat-72daa1a6.js similarity index 86% rename from web/settings/assets/bat-7e5711e8.js rename to web/settings/assets/bat-72daa1a6.js index 4f27bab00a..37621dd0e9 100644 --- a/web/settings/assets/bat-7e5711e8.js +++ b/web/settings/assets/bat-72daa1a6.js @@ -1 +1 @@ -import{_ as r,p as n,k as l,l as p,A as o,L as s,u as a,q as d,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceQCelllsBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-qcells-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für QCells ESS Batteriespeicher "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const q=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/bat.vue"]]);export{q as default}; +import{_ as r,p as n,k as l,l as p,A as o,L as s,u as a,q as d,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceQCelllsBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-qcells-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für QCells ESS Batteriespeicher "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const q=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/bat.vue"]]);export{q as default}; diff --git a/web/settings/assets/bat-c8cc976c.js b/web/settings/assets/bat-73f11f6d.js similarity index 86% rename from web/settings/assets/bat-c8cc976c.js rename to web/settings/assets/bat-73f11f6d.js index 7a74920684..6551337b20 100644 --- a/web/settings/assets/bat-c8cc976c.js +++ b/web/settings/assets/bat-73f11f6d.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarwattBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solarwatt-bat"},m={class:"small"};function b(e,t,g,v,w,h){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Solarwatt/My Reserve Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/bat.vue"]]);export{x as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarwattBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solarwatt-bat"},m={class:"small"};function b(e,t,g,v,w,h){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Solarwatt/My Reserve Batteriespeicher "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-730fb252.js b/web/settings/assets/bat-7ce74495.js similarity index 85% rename from web/settings/assets/bat-730fb252.js rename to web/settings/assets/bat-7ce74495.js index 618dcd010e..62ac1e42d2 100644 --- a/web/settings/assets/bat-730fb252.js +++ b/web/settings/assets/bat-7ce74495.js @@ -1 +1 @@ -import{_ as r,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceLGBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-lg-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für LG ESS V1.0 Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/bat.vue"]]);export{x as default}; +import{_ as r,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceLGBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-lg-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für LG ESS V1.0 Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-8fa25c4b.js b/web/settings/assets/bat-8976cb7b.js similarity index 86% rename from web/settings/assets/bat-8fa25c4b.js rename to web/settings/assets/bat-8976cb7b.js index dc629331b6..ee5890b511 100644 --- a/web/settings/assets/bat-8fa25c4b.js +++ b/web/settings/assets/bat-8976cb7b.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSonnenbatterieBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-sonnenbatterie-bat"},b={class:"small"};function m(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für SonnenBatterie Speicher "),u("span",b,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/bat.vue"]]);export{x as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSonnenbatterieBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-sonnenbatterie-bat"},b={class:"small"};function m(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für SonnenBatterie Speicher "),u("span",b,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-d6e44abb.js b/web/settings/assets/bat-8d47c3fe.js similarity index 93% rename from web/settings/assets/bat-d6e44abb.js rename to web/settings/assets/bat-8d47c3fe.js index a2a7b21a75..dc0307078a 100644 --- a/web/settings/assets/bat-d6e44abb.js +++ b/web/settings/assets/bat-8d47c3fe.js @@ -1 +1 @@ -import{_ as r,p as n,k as p,l,A as o,L as s,u as a,q as d,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceKostalPlenticoreBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-kostalplenticore-bat"},m={class:"small"};function b(e,t,g,h,v,k){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),l("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Kostal Plenticore Batteriespeicher "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/bat.vue"]]);export{$ as default}; +import{_ as r,p as n,k as p,l,A as o,L as s,u as a,q as d,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceKostalPlenticoreBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-kostalplenticore-bat"},m={class:"small"};function b(e,t,g,h,v,k){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return p(),l("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Kostal Plenticore Batteriespeicher "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/bat.vue"]]);export{$ as default}; diff --git a/web/settings/assets/bat-4e84a509.js b/web/settings/assets/bat-9c8be17d.js similarity index 87% rename from web/settings/assets/bat-4e84a509.js rename to web/settings/assets/bat-9c8be17d.js index 271968fe32..5ad635a967 100644 --- a/web/settings/assets/bat-4e84a509.js +++ b/web/settings/assets/bat-9c8be17d.js @@ -1 +1 @@ -import{_ as u,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceVictronBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-victron-bat"},g={class:"small"};function h(t,e,a,w,x,i){const s=n("openwb-base-heading"),r=n("openwb-base-number-input");return c(),p("div",v,[o(s,null,{default:l(()=>[m(" Einstellungen für Victron Batteriespeicher "),_("span",g,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(r,{title:"Modbus-ID",min:1,max:255,required:"","model-value":a.configuration.modbus_id,"onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.modbus_id"))},null,8,["model-value"])])}const q=u(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/bat.vue"]]);export{q as default}; +import{_ as u,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceVictronBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-victron-bat"},g={class:"small"};function h(t,e,a,w,x,i){const s=n("openwb-base-heading"),r=n("openwb-base-number-input");return c(),p("div",v,[o(s,null,{default:l(()=>[m(" Einstellungen für Victron Batteriespeicher "),_("span",g,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(r,{title:"Modbus-ID",min:1,max:255,required:"","model-value":a.configuration.modbus_id,"onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.modbus_id"))},null,8,["model-value"])])}const q=u(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/bat.vue"]]);export{q as default}; diff --git a/web/settings/assets/bat-b6594dc8.js b/web/settings/assets/bat-9ced890e.js similarity index 86% rename from web/settings/assets/bat-b6594dc8.js rename to web/settings/assets/bat-9ced890e.js index 593e47b5da..9f614d8b70 100644 --- a/web/settings/assets/bat-b6594dc8.js +++ b/web/settings/assets/bat-9ced890e.js @@ -1 +1 @@ -import{_ as p,p as o,k as c,l as d,A as n,L as a,u as s,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSaxpowerBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-saxpower-bat"},m={class:"small"};function b(e,t,g,w,h,v){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return c(),d("div",f,[n(i,null,{default:a(()=>[s(" Einstellungen für Saxpower Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const $=p(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/saxpower/bat.vue"]]);export{$ as default}; +import{_ as p,p as o,k as c,l as d,A as n,L as a,u as s,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSaxpowerBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-saxpower-bat"},m={class:"small"};function b(e,t,g,w,h,v){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return c(),d("div",f,[n(i,null,{default:a(()=>[s(" Einstellungen für Saxpower Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const $=p(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/saxpower/bat.vue"]]);export{$ as default}; diff --git a/web/settings/assets/bat-36c10820.js b/web/settings/assets/bat-a6d4919c.js similarity index 88% rename from web/settings/assets/bat-36c10820.js rename to web/settings/assets/bat-a6d4919c.js index 77110a8202..5228a03531 100644 --- a/web/settings/assets/bat-36c10820.js +++ b/web/settings/assets/bat-a6d4919c.js @@ -1 +1 @@ -import{_ as d,p as n,k as p,l as r,A as o,L as c,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceOpenwbEvukitBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-evukit-bat"},g={class:"small"};function w(t,e,a,h,x,i){const s=n("openwb-base-heading"),u=n("openwb-base-select-input");return p(),r("div",b,[o(s,null,{default:c(()=>[_(" Einstellungen für openWB EVU-Kit Batteriespeicher "),m("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(u,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"SDM120"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>i.updateConfiguration(l,"configuration.version"))},null,8,["model-value"])])}const k=d(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/bat.vue"]]);export{k as default}; +import{_ as d,p as n,k as p,l as r,A as o,L as c,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceOpenwbEvukitBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-evukit-bat"},g={class:"small"};function w(t,e,a,h,x,i){const s=n("openwb-base-heading"),u=n("openwb-base-select-input");return p(),r("div",b,[o(s,null,{default:c(()=>[_(" Einstellungen für openWB EVU-Kit Batteriespeicher "),m("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(u,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"SDM120"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>i.updateConfiguration(l,"configuration.version"))},null,8,["model-value"])])}const k=d(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/bat.vue"]]);export{k as default}; diff --git a/web/settings/assets/bat-d97447af.js b/web/settings/assets/bat-b4d4a7fa.js similarity index 90% rename from web/settings/assets/bat-d97447af.js rename to web/settings/assets/bat-b4d4a7fa.js index a98daca90d..38003f37c9 100644 --- a/web/settings/assets/bat-d97447af.js +++ b/web/settings/assets/bat-b4d4a7fa.js @@ -1 +1 @@ -import{_ as r,p as o,k as p,l as c,A as a,L as m,u as _,q as b,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceOpenwbFlexBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-openwb-flex-bat"},x={class:"small"};function w(t,e,i,M,B,s){const u=o("openwb-base-heading"),l=o("openwb-base-select-input"),d=o("openwb-base-number-input");return p(),c("div",g,[a(u,null,{default:m(()=>[_(" Einstellungen für openWB-Flex Batteriespeicher "),b("span",x,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),a(l,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"SDM120"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.version"))},null,8,["model-value"]),a(d,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":i.configuration.id,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.id"))},null,8,["model-value"])])}const C=r(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/bat.vue"]]);export{C as default}; +import{_ as r,p as o,k as p,l as c,A as a,L as m,u as _,q as b,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceOpenwbFlexBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-openwb-flex-bat"},x={class:"small"};function w(t,e,i,M,B,s){const u=o("openwb-base-heading"),l=o("openwb-base-select-input"),d=o("openwb-base-number-input");return p(),c("div",g,[a(u,null,{default:m(()=>[_(" Einstellungen für openWB-Flex Batteriespeicher "),b("span",x,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),a(l,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"SDM120"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.version"))},null,8,["model-value"]),a(d,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":i.configuration.id,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.id"))},null,8,["model-value"])])}const C=r(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/bat.vue"]]);export{C as default}; diff --git a/web/settings/assets/bat-a8a2fb9d.js b/web/settings/assets/bat-c05a850d.js similarity index 88% rename from web/settings/assets/bat-a8a2fb9d.js rename to web/settings/assets/bat-c05a850d.js index 81fb71b711..023396d48b 100644 --- a/web/settings/assets/bat-a8a2fb9d.js +++ b/web/settings/assets/bat-c05a850d.js @@ -1 +1 @@ -import{_ as d,p as o,k as c,l as p,A as n,L as l,u as m,q as _,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceHuaweiSmartLoggerBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},f={class:"device-huawei-smart-logger-bat"},v={class:"small"};function w(t,e,a,h,x,i){const s=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),p("div",f,[n(s,null,{default:l(()=>[m(" Einstellungen für Huawei SmartLogger Batteriespeicher "),_("span",v,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),n(r,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.modbus_id"))},null,8,["model-value"])])}const V=d(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/bat.vue"]]);export{V as default}; +import{_ as d,p as o,k as c,l as p,A as n,L as l,u as m,q as _,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceHuaweiSmartLoggerBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},f={class:"device-huawei-smart-logger-bat"},v={class:"small"};function w(t,e,a,h,x,i){const s=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),p("div",f,[n(s,null,{default:l(()=>[m(" Einstellungen für Huawei SmartLogger Batteriespeicher "),_("span",v,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),n(r,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.modbus_id"))},null,8,["model-value"])])}const V=d(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/bat.vue"]]);export{V as default}; diff --git a/web/settings/assets/bat-0aee7032.js b/web/settings/assets/bat-c1fe84fb.js similarity index 86% rename from web/settings/assets/bat-0aee7032.js rename to web/settings/assets/bat-c1fe84fb.js index 81e4a1f961..5323703dce 100644 --- a/web/settings/assets/bat-0aee7032.js +++ b/web/settings/assets/bat-c1fe84fb.js @@ -1 +1 @@ -import{_ as d,p as n,k as c,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceStuderBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-studer-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Studer Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=d(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/studer/bat.vue"]]);export{x as default}; +import{_ as d,p as n,k as c,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceStuderBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-studer-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Studer Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=d(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/studer/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-5e9b5bd0.js b/web/settings/assets/bat-ca9ca946.js similarity index 86% rename from web/settings/assets/bat-5e9b5bd0.js rename to web/settings/assets/bat-ca9ca946.js index 5c808b0123..6bd4bd01c1 100644 --- a/web/settings/assets/bat-5e9b5bd0.js +++ b/web/settings/assets/bat-ca9ca946.js @@ -1 +1 @@ -import{_ as c,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const l={name:"DeviceSunnyBoyBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},b={class:"device-sunnyboy-bat"},f={class:"small"};function m(e,n,g,y,h,v){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),u("div",b,[o(i,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy/Tripower Batteriespeicher "),d("span",f,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/bat.vue"]]);export{$ as default}; +import{_ as c,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const l={name:"DeviceSunnyBoyBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},b={class:"device-sunnyboy-bat"},f={class:"small"};function m(e,n,g,y,h,v){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),u("div",b,[o(i,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy/Tripower Batteriespeicher "),d("span",f,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/bat.vue"]]);export{$ as default}; diff --git a/web/settings/assets/bat-6038c1df.js b/web/settings/assets/bat-d12a72af.js similarity index 86% rename from web/settings/assets/bat-6038c1df.js rename to web/settings/assets/bat-d12a72af.js index ef681e48e8..835e1130f8 100644 --- a/web/settings/assets/bat-6038c1df.js +++ b/web/settings/assets/bat-d12a72af.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceBatterXBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-batterx-bat"},f={class:"small"};function m(e,t,g,h,v,B){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",b,[o(i,null,{default:a(()=>[s(" Einstellungen für BatterX Batteriespeicher "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/bat.vue"]]);export{$ as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as a,u as s,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceBatterXBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-batterx-bat"},f={class:"small"};function m(e,t,g,h,v,B){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",b,[o(i,null,{default:a(()=>[s(" Einstellungen für BatterX Batteriespeicher "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/bat.vue"]]);export{$ as default}; diff --git a/web/settings/assets/bat-2d67899d.js b/web/settings/assets/bat-e3a3f0e0.js similarity index 87% rename from web/settings/assets/bat-2d67899d.js rename to web/settings/assets/bat-e3a3f0e0.js index 7f1f098e52..02d68b1059 100644 --- a/web/settings/assets/bat-2d67899d.js +++ b/web/settings/assets/bat-e3a3f0e0.js @@ -1 +1 @@ -import{_ as d,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceFroniusBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-fronius-bat"},v={class:"small"};function h(t,e,a,w,x,i){const s=n("openwb-base-heading"),r=n("openwb-base-number-input");return c(),p("div",g,[o(s,null,{default:l(()=>[m(" Einstellungen für Fronius Batteriespeicher "),_("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(r,{title:"Meter ID",required:"",min:"0",max:"65535","model-value":a.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.meter_id"))},null,8,["model-value"])])}const C=d(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/bat.vue"]]);export{C as default}; +import{_ as d,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceFroniusBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-fronius-bat"},v={class:"small"};function h(t,e,a,w,x,i){const s=n("openwb-base-heading"),r=n("openwb-base-number-input");return c(),p("div",g,[o(s,null,{default:l(()=>[m(" Einstellungen für Fronius Batteriespeicher "),_("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(r,{title:"Meter ID",required:"",min:"0",max:"65535","model-value":a.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.meter_id"))},null,8,["model-value"])])}const C=d(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/bat.vue"]]);export{C as default}; diff --git a/web/settings/assets/bat-067dfd2a.js b/web/settings/assets/bat-e7468625.js similarity index 96% rename from web/settings/assets/bat-067dfd2a.js rename to web/settings/assets/bat-e7468625.js index 22709c2c8f..74b74d2511 100644 --- a/web/settings/assets/bat-067dfd2a.js +++ b/web/settings/assets/bat-e7468625.js @@ -1 +1 @@ -import{_ as h,p as u,k as p,l as c,A as i,L as r,u as e,q as a,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceHttpBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(s,t=void 0){this.$emit("update:configuration",{value:s,object:t})}}},b={class:"device-http-bat"},f={class:"small"},v=a("br",null,null,-1),w=a("br",null,null,-1),k=a("br",null,null,-1),S=a("br",null,null,-1),x=a("br",null,null,-1),z=a("br",null,null,-1);function Z(s,t,l,L,P,o){const m=u("openwb-base-heading"),d=u("openwb-base-text-input");return p(),c("div",b,[i(m,null,{default:r(()=>[e(" Einstellungen für Http Batteriespeicher "),a("span",f,"(Modul: "+g(s.$options.name)+")",1)]),_:1}),i(d,{title:"Pfad für Leistung",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":l.configuration.power_path,"onUpdate:modelValue":t[0]||(t[0]=n=>o.updateConfiguration(n,"configuration.power_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),v,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. ")]),_:1},8,["model-value"]),i(d,{title:"Pfad für Ladestand",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":l.configuration.soc_path,"onUpdate:modelValue":t[1]||(t[1]=n=>o.updateConfiguration(n,"configuration.soc_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),w,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen Ladestand (SoC) in Prozent darstellt. ")]),_:1},8,["model-value"]),i(d,{title:"Pfad für Zählerstand laden",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":l.configuration.imported_path,"onUpdate:modelValue":t[2]||(t[2]=n=>o.updateConfiguration(n,"configuration.imported_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),k,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),S,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"]),i(d,{title:"Pfad für Zählerstand entladen",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":l.configuration.exported_path,"onUpdate:modelValue":t[3]||(t[3]=n=>o.updateConfiguration(n,"configuration.exported_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),x,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),z,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"])])}const C=h(_,[["render",Z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/bat.vue"]]);export{C as default}; +import{_ as h,p as u,k as p,l as c,A as i,L as r,u as e,q as a,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceHttpBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(s,t=void 0){this.$emit("update:configuration",{value:s,object:t})}}},b={class:"device-http-bat"},f={class:"small"},v=a("br",null,null,-1),w=a("br",null,null,-1),k=a("br",null,null,-1),S=a("br",null,null,-1),x=a("br",null,null,-1),z=a("br",null,null,-1);function Z(s,t,l,L,P,o){const m=u("openwb-base-heading"),d=u("openwb-base-text-input");return p(),c("div",b,[i(m,null,{default:r(()=>[e(" Einstellungen für Http Batteriespeicher "),a("span",f,"(Modul: "+g(s.$options.name)+")",1)]),_:1}),i(d,{title:"Pfad für Leistung",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":l.configuration.power_path,"onUpdate:modelValue":t[0]||(t[0]=n=>o.updateConfiguration(n,"configuration.power_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),v,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. ")]),_:1},8,["model-value"]),i(d,{title:"Pfad für Ladestand",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":l.configuration.soc_path,"onUpdate:modelValue":t[1]||(t[1]=n=>o.updateConfiguration(n,"configuration.soc_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),w,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen Ladestand (SoC) in Prozent darstellt. ")]),_:1},8,["model-value"]),i(d,{title:"Pfad für Zählerstand laden",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":l.configuration.imported_path,"onUpdate:modelValue":t[2]||(t[2]=n=>o.updateConfiguration(n,"configuration.imported_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),k,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),S,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"]),i(d,{title:"Pfad für Zählerstand entladen",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":l.configuration.exported_path,"onUpdate:modelValue":t[3]||(t[3]=n=>o.updateConfiguration(n,"configuration.exported_path"))},{help:r(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),x,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),z,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"])])}const C=h(_,[["render",Z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/bat.vue"]]);export{C as default}; diff --git a/web/settings/assets/bat-e922eae9.js b/web/settings/assets/bat-f5fc3892.js similarity index 85% rename from web/settings/assets/bat-e922eae9.js rename to web/settings/assets/bat-f5fc3892.js index 568ab26fa0..023df7f164 100644 --- a/web/settings/assets/bat-e922eae9.js +++ b/web/settings/assets/bat-f5fc3892.js @@ -1 +1 @@ -import{_ as d,p as n,k as r,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceE3dcBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return r(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für E3DC Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=d(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/bat.vue"]]);export{x as default}; +import{_ as d,p as n,k as r,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceE3dcBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-bat"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return r(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für E3DC Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=d(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/bat.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat-21fcf5b8.js b/web/settings/assets/bat-f9706ba3.js similarity index 86% rename from web/settings/assets/bat-21fcf5b8.js rename to web/settings/assets/bat-f9706ba3.js index f5124ab980..e7e7ab5df6 100644 --- a/web/settings/assets/bat-21fcf5b8.js +++ b/web/settings/assets/bat-f9706ba3.js @@ -1 +1 @@ -import{_ as d,p as t,k as c,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSunnyIslandBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sunnyisland-bat"},m={class:"small"};function b(e,n,g,h,v,y){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return c(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Sunny Island Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const $=d(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_island/bat.vue"]]);export{$ as default}; +import{_ as d,p as t,k as c,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSunnyIslandBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sunnyisland-bat"},m={class:"small"};function b(e,n,g,h,v,y){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return c(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Sunny Island Batteriespeicher "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const $=d(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_island/bat.vue"]]);export{$ as default}; diff --git a/web/settings/assets/bat-81b7cd83.js b/web/settings/assets/bat-fd34186c.js similarity index 90% rename from web/settings/assets/bat-81b7cd83.js rename to web/settings/assets/bat-fd34186c.js index 485d6ff379..6d3ffbb6b9 100644 --- a/web/settings/assets/bat-81b7cd83.js +++ b/web/settings/assets/bat-fd34186c.js @@ -1 +1 @@ -import{_ as p,p as n,k as m,l as _,A as o,L as a,u as s,q as b,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSolarmaxBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},h={class:"device-solarmax-bat"},v={class:"small"};function x(t,e,i,w,A,r){const d=n("openwb-base-heading"),u=n("openwb-base-alert"),l=n("openwb-base-number-input");return m(),_("div",h,[o(d,null,{default:a(()=>[s(" Einstellungen für Solarmax MAX.STORAGE / MAX.STORAGE Ultimate Batteriespeicher "),b("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:a(()=>[s(" Solarmax MAX.STORAGE / MAX.STORAGE Ultimate Batteriespeicher sind Teil eines Hybridsystems. Daher muss auch eine Komponente Wechselrichter angelegt werden. ")]),_:1}),o(l,{title:"Modbus ID","model-value":i.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.modbus_id"))},null,8,["model-value"])])}const E=p(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solarmax/bat.vue"]]);export{E as default}; +import{_ as p,p as n,k as m,l as _,A as o,L as a,u as s,q as b,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSolarmaxBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},h={class:"device-solarmax-bat"},v={class:"small"};function x(t,e,i,w,A,r){const d=n("openwb-base-heading"),u=n("openwb-base-alert"),l=n("openwb-base-number-input");return m(),_("div",h,[o(d,null,{default:a(()=>[s(" Einstellungen für Solarmax MAX.STORAGE / MAX.STORAGE Ultimate Batteriespeicher "),b("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:a(()=>[s(" Solarmax MAX.STORAGE / MAX.STORAGE Ultimate Batteriespeicher sind Teil eines Hybridsystems. Daher muss auch eine Komponente Wechselrichter angelegt werden. ")]),_:1}),o(l,{title:"Modbus ID","model-value":i.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.modbus_id"))},null,8,["model-value"])])}const E=p(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solarmax/bat.vue"]]);export{E as default}; diff --git a/web/settings/assets/bat_api-093f9d39.js b/web/settings/assets/bat_api-310cca2f.js similarity index 86% rename from web/settings/assets/bat_api-093f9d39.js rename to web/settings/assets/bat_api-310cca2f.js index 54891f4caf..3dff93fb68 100644 --- a/web/settings/assets/bat_api-093f9d39.js +++ b/web/settings/assets/bat_api-310cca2f.js @@ -1 +1 @@ -import{_ as p,p as n,k as c,l as d,A as a,L as o,u as s,q as u,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const l={name:"DeviceVartaAPIBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-varta-bat"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),d("div",f,[a(i,null,{default:o(()=>[s(" Einstellungen für Varta API Batteriespeicher "),u("span",m,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),a(r,{subtype:"info"},{default:o(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=p(l,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/bat_api.vue"]]);export{x as default}; +import{_ as p,p as n,k as c,l as d,A as a,L as o,u as s,q as u,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const l={name:"DeviceVartaAPIBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-varta-bat"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),d("div",f,[a(i,null,{default:o(()=>[s(" Einstellungen für Varta API Batteriespeicher "),u("span",m,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),a(r,{subtype:"info"},{default:o(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=p(l,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/bat_api.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat_modbus-f4c6e17c.js b/web/settings/assets/bat_modbus-b48f91ef.js similarity index 86% rename from web/settings/assets/bat_modbus-f4c6e17c.js rename to web/settings/assets/bat_modbus-b48f91ef.js index e9b76aed71..95813e842c 100644 --- a/web/settings/assets/bat_modbus-f4c6e17c.js +++ b/web/settings/assets/bat_modbus-b48f91ef.js @@ -1 +1 @@ -import{_ as d,p as n,k as c,l as p,A as o,L as a,u as s,q as u,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const l={name:"DeviceVartaModbusBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-varta-bat"},m={class:"small"};function f(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),p("div",b,[o(i,null,{default:a(()=>[s(" Einstellungen für Varta Modbus Batteriespeicher "),u("span",m,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=d(l,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/bat_modbus.vue"]]);export{x as default}; +import{_ as d,p as n,k as c,l as p,A as o,L as a,u as s,q as u,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const l={name:"DeviceVartaModbusBat",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-varta-bat"},m={class:"small"};function f(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),p("div",b,[o(i,null,{default:a(()=>[s(" Einstellungen für Varta Modbus Batteriespeicher "),u("span",m,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=d(l,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/bat_modbus.vue"]]);export{x as default}; diff --git a/web/settings/assets/bat_smart_energy-dbb20e80.js b/web/settings/assets/bat_smart_energy-b407cfbf.js similarity index 87% rename from web/settings/assets/bat_smart_energy-dbb20e80.js rename to web/settings/assets/bat_smart_energy-b407cfbf.js index e31e9720a0..a2d7b5ae2f 100644 --- a/web/settings/assets/bat_smart_energy-dbb20e80.js +++ b/web/settings/assets/bat_smart_energy-b407cfbf.js @@ -1 +1 @@ -import{_ as c,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const l={name:"DeviceSunnyBoyBatSmartEnergy",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-sunnyboy-bat-smart-energy"},b={class:"small"};function f(e,n,g,y,h,v){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return p(),u("div",m,[o(r,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy Smart Energy Batteriespeicher "),d("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const S=c(l,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/bat_smart_energy.vue"]]);export{S as default}; +import{_ as c,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const l={name:"DeviceSunnyBoyBatSmartEnergy",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-sunnyboy-bat-smart-energy"},b={class:"small"};function f(e,n,g,y,h,v){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return p(),u("div",m,[o(r,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy Smart Energy Batteriespeicher "),d("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const S=c(l,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/bat_smart_energy.vue"]]);export{S as default}; diff --git a/web/settings/assets/chargePoint-e8e3d7f0.js b/web/settings/assets/chargePoint-0aee632b.js similarity index 98% rename from web/settings/assets/chargePoint-e8e3d7f0.js rename to web/settings/assets/chargePoint-0aee632b.js index 4c71719bc0..10ea7447cb 100644 --- a/web/settings/assets/chargePoint-e8e3d7f0.js +++ b/web/settings/assets/chargePoint-0aee632b.js @@ -1 +1 @@ -import{_ as c,p as u,k as p,l as _,A as n,L as l,u as t,q as e,x as s}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"ChargePointMqtt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(a,r=void 0){this.$emit("update:configuration",{value:a,object:r})}}},g={class:"charge-point-mqtt"},f=e("br",null,null,-1),b=e("br",null,null,-1),m=e("br",null,null,-1),k=e("span",{class:"text-info"},"12.34",-1),B=e("br",null,null,-1),x=e("br",null,null,-1),v=e("span",{class:"text-info"},"1",-1),w=e("br",null,null,-1),W=e("br",null,null,-1),T=e("span",{class:"text-info"},"[6.78,6.89,6.94]",-1),P=e("br",null,null,-1),z=e("br",null,null,-1),L=e("span",{class:"text-info"},"123.45",-1),I=e("br",null,null,-1),y=e("br",null,null,-1),F=e("span",{class:"text-info"},"true",-1),A=e("br",null,null,-1),N=e("br",null,null,-1),Z=e("span",{class:"text-info"},"true",-1),D=e("br",null,null,-1),S=e("br",null,null,-1),E=e("span",{class:"text-info"},"3",-1),q=e("br",null,null,-1),M=e("br",null,null,-1),V=e("br",null,null,-1),C=e("span",{class:"text-info"},"123.45",-1),G=e("br",null,null,-1),j=e("br",null,null,-1),O=e("br",null,null,-1),J=e("span",{class:"text-info"},"123.45",-1),K=e("br",null,null,-1),Q=e("br",null,null,-1),H=e("br",null,null,-1),R=e("span",{class:"text-info"},"[230.12,231.08,232.54]",-1),U=e("br",null,null,-1),X=e("br",null,null,-1),Y=e("br",null,null,-1),$=e("span",{class:"text-info"},"[-0.87,0.96,1.0]",-1),ee=e("br",null,null,-1),te=e("br",null,null,-1),ne=e("span",{class:"text-info"},'"123654"',-1);function le(a,r,i,ie,oe,se){const d=u("openwb-base-alert"),o=u("openwb-base-copy-to-clipboard");return p(),_("div",g,[n(d,{subtype:"danger"},{default:l(()=>[t(" Dieser Ladepunkt-Typ darf nur in Kombination mit dem Simulator zur Fehleranalyse genutzt werden. Eine andere Verwendung ist laut den Nutzungsbedingungen untersagt. ")]),_:1}),n(d,{subtype:"info"},{default:l(()=>[t(" Das MQTT Modul stellt keine aktive Verbindung her, sondern erwartet, dass die Daten von speziellen Topics im Broker gelesen bzw. geschrieben werden."),f,t(" Alle Daten werden als gültiges JSON gesendet und auch so erwartet! Zahlen mit Nachkommastellen (Float) verwenden einen Punkt als Dezimaltrenner (internationales Format). "),e("ol",null,[e("li",null,[t(" von openWB gesendete Topics "),e("ul",null,[e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/chargepoint/"+s(i.chargePointId)+"/set/current",1)]),_:1}),b,t(" Sollwert des Ladestroms, mit Nachkommastellen (Float), positiv (laden) oder negativ (entladen, falls vom Ladepunkt unterstützt)."),m,t(" Beispiel: "),k]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/chargepoint/"+s(i.chargePointId)+"/set/phases_to_use",1)]),_:1}),B,t(" Sollwert für die Anzahl Phasen als Ganzzahl (Integer). Mögliche Werte: 1 oder 3"),x,t(" Beispiel: "),v])])]),e("li",null,[t(" von openWB zwingend erwartete Topics "),e("ul",null,[e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/currents",1)]),_:1}),w,t(" Aktuelle Phasenströme des Ladepunktes, Array mit drei Zahlen (Float), positiv (laden) oder negativ (entladen, falls vom Ladepunkt unterstützt)."),W,t(" Beispiel: "),T]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/power",1)]),_:1}),P,t(" Leistung in Watt, mit Nachkommastellen (Float), positiv (laden) oder negativ (entladen, falls vom Ladepunkt unterstützt)."),z,t(" Beispiel: "),L]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/plug_state",1)]),_:1}),I,t(" Zeigt an, ob aktuell ein Fahrzeug angesteckt ist, Wahrheitswert (Bool)."),y,t(" Beispiel: "),F]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/charge_state",1)]),_:1}),A,t(" Zeigt an, ob ein Ladevorgang aktiv ist, Wahrheitswert (Bool)."),N,t(" Beispiel: "),Z]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/phases_in_use",1)]),_:1}),D,t(" Anzahl der Phasen, mit denen geladen wird, Ganzzahl (Integer). Mögliche Werte: 0 bis 3"),S,t(" Beispiel: "),E])])]),e("li",null,[t(" optionale Topics "),e("ul",null,[e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/imported",1)]),_:1}),q,t(" Geladene Energie in Wh, mit Nachkommastellen (Float), nur positiv"),M,t(" Wird dieses Topic nicht vom Ladepunkt gesendet, so wird intern ein Zählerstand anhand der Leistung simuliert."),V,t(" Beispiel: "),C]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/exported",1)]),_:1}),G,t(" Entladene Energie in Wh, mit Nachkommastellen (Float), nur positiv"),j,t(" Wird dieses Topic nicht vom Ladepunkt gesendet, so wird intern ein Zählerstand anhand der Leistung simuliert."),O,t(" Beispiel: "),J]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/voltages",1)]),_:1}),K,t(" Aktuelle Phasenspannungen des Ladepunktes, Array mit drei Zahlen (Float), nur positiv."),Q,t(" Die Spannungen werden nicht verarbeitet, sondern lediglich im Status angezeigt."),H,t(" Beispiel: "),R]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/power_factors",1)]),_:1}),U,t(" Aktuelle Leistungsfaktoren des Ladepunktes, Array mit drei Zahlen (Float), Wertebereich von -1 bis 1."),X,t(" Die Leistungsfaktoren werden nicht verarbeitet, sondern lediglich im Status angezeigt."),Y,t(" Beispiel: "),$]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/rfid_tag",1)]),_:1}),ee,t(" Eine Zeichenfolge, die einen eingelesenen Tag für openWB repräsentiert."),te,t(" Beispiel: "),ne])])])])]),_:1})])}const de=c(h,[["render",le],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/mqtt/chargePoint.vue"]]);export{de as default}; +import{_ as c,p as u,k as p,l as _,A as n,L as l,u as t,q as e,x as s}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"ChargePointMqtt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(a,r=void 0){this.$emit("update:configuration",{value:a,object:r})}}},g={class:"charge-point-mqtt"},f=e("br",null,null,-1),b=e("br",null,null,-1),m=e("br",null,null,-1),k=e("span",{class:"text-info"},"12.34",-1),B=e("br",null,null,-1),x=e("br",null,null,-1),v=e("span",{class:"text-info"},"1",-1),w=e("br",null,null,-1),W=e("br",null,null,-1),T=e("span",{class:"text-info"},"[6.78,6.89,6.94]",-1),P=e("br",null,null,-1),z=e("br",null,null,-1),L=e("span",{class:"text-info"},"123.45",-1),I=e("br",null,null,-1),y=e("br",null,null,-1),F=e("span",{class:"text-info"},"true",-1),A=e("br",null,null,-1),N=e("br",null,null,-1),Z=e("span",{class:"text-info"},"true",-1),D=e("br",null,null,-1),S=e("br",null,null,-1),E=e("span",{class:"text-info"},"3",-1),q=e("br",null,null,-1),M=e("br",null,null,-1),V=e("br",null,null,-1),C=e("span",{class:"text-info"},"123.45",-1),G=e("br",null,null,-1),j=e("br",null,null,-1),O=e("br",null,null,-1),J=e("span",{class:"text-info"},"123.45",-1),K=e("br",null,null,-1),Q=e("br",null,null,-1),H=e("br",null,null,-1),R=e("span",{class:"text-info"},"[230.12,231.08,232.54]",-1),U=e("br",null,null,-1),X=e("br",null,null,-1),Y=e("br",null,null,-1),$=e("span",{class:"text-info"},"[-0.87,0.96,1.0]",-1),ee=e("br",null,null,-1),te=e("br",null,null,-1),ne=e("span",{class:"text-info"},'"123654"',-1);function le(a,r,i,ie,oe,se){const d=u("openwb-base-alert"),o=u("openwb-base-copy-to-clipboard");return p(),_("div",g,[n(d,{subtype:"danger"},{default:l(()=>[t(" Dieser Ladepunkt-Typ darf nur in Kombination mit dem Simulator zur Fehleranalyse genutzt werden. Eine andere Verwendung ist laut den Nutzungsbedingungen untersagt. ")]),_:1}),n(d,{subtype:"info"},{default:l(()=>[t(" Das MQTT Modul stellt keine aktive Verbindung her, sondern erwartet, dass die Daten von speziellen Topics im Broker gelesen bzw. geschrieben werden."),f,t(" Alle Daten werden als gültiges JSON gesendet und auch so erwartet! Zahlen mit Nachkommastellen (Float) verwenden einen Punkt als Dezimaltrenner (internationales Format). "),e("ol",null,[e("li",null,[t(" von openWB gesendete Topics "),e("ul",null,[e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/chargepoint/"+s(i.chargePointId)+"/set/current",1)]),_:1}),b,t(" Sollwert des Ladestroms, mit Nachkommastellen (Float), positiv (laden) oder negativ (entladen, falls vom Ladepunkt unterstützt)."),m,t(" Beispiel: "),k]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/chargepoint/"+s(i.chargePointId)+"/set/phases_to_use",1)]),_:1}),B,t(" Sollwert für die Anzahl Phasen als Ganzzahl (Integer). Mögliche Werte: 1 oder 3"),x,t(" Beispiel: "),v])])]),e("li",null,[t(" von openWB zwingend erwartete Topics "),e("ul",null,[e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/currents",1)]),_:1}),w,t(" Aktuelle Phasenströme des Ladepunktes, Array mit drei Zahlen (Float), positiv (laden) oder negativ (entladen, falls vom Ladepunkt unterstützt)."),W,t(" Beispiel: "),T]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/power",1)]),_:1}),P,t(" Leistung in Watt, mit Nachkommastellen (Float), positiv (laden) oder negativ (entladen, falls vom Ladepunkt unterstützt)."),z,t(" Beispiel: "),L]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/plug_state",1)]),_:1}),I,t(" Zeigt an, ob aktuell ein Fahrzeug angesteckt ist, Wahrheitswert (Bool)."),y,t(" Beispiel: "),F]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/charge_state",1)]),_:1}),A,t(" Zeigt an, ob ein Ladevorgang aktiv ist, Wahrheitswert (Bool)."),N,t(" Beispiel: "),Z]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/phases_in_use",1)]),_:1}),D,t(" Anzahl der Phasen, mit denen geladen wird, Ganzzahl (Integer). Mögliche Werte: 0 bis 3"),S,t(" Beispiel: "),E])])]),e("li",null,[t(" optionale Topics "),e("ul",null,[e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/imported",1)]),_:1}),q,t(" Geladene Energie in Wh, mit Nachkommastellen (Float), nur positiv"),M,t(" Wird dieses Topic nicht vom Ladepunkt gesendet, so wird intern ein Zählerstand anhand der Leistung simuliert."),V,t(" Beispiel: "),C]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/exported",1)]),_:1}),G,t(" Entladene Energie in Wh, mit Nachkommastellen (Float), nur positiv"),j,t(" Wird dieses Topic nicht vom Ladepunkt gesendet, so wird intern ein Zählerstand anhand der Leistung simuliert."),O,t(" Beispiel: "),J]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/voltages",1)]),_:1}),K,t(" Aktuelle Phasenspannungen des Ladepunktes, Array mit drei Zahlen (Float), nur positiv."),Q,t(" Die Spannungen werden nicht verarbeitet, sondern lediglich im Status angezeigt."),H,t(" Beispiel: "),R]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/power_factors",1)]),_:1}),U,t(" Aktuelle Leistungsfaktoren des Ladepunktes, Array mit drei Zahlen (Float), Wertebereich von -1 bis 1."),X,t(" Die Leistungsfaktoren werden nicht verarbeitet, sondern lediglich im Status angezeigt."),Y,t(" Beispiel: "),$]),e("li",null,[n(o,{class:"text-info",tooltip:"Topic kopieren"},{default:l(()=>[t(" openWB/set/chargepoint/"+s(i.chargePointId)+"/get/rfid_tag",1)]),_:1}),ee,t(" Eine Zeichenfolge, die einen eingelesenen Tag für openWB repräsentiert."),te,t(" Beispiel: "),ne])])])])]),_:1})])}const de=c(h,[["render",le],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/mqtt/chargePoint.vue"]]);export{de as default}; diff --git a/web/settings/assets/chargePoint-5b99e3cb.js b/web/settings/assets/chargePoint-46390e39.js similarity index 84% rename from web/settings/assets/chargePoint-5b99e3cb.js rename to web/settings/assets/chargePoint-46390e39.js index 886dd2d2f1..d9962f2420 100644 --- a/web/settings/assets/chargePoint-5b99e3cb.js +++ b/web/settings/assets/chargePoint-46390e39.js @@ -1 +1 @@ -import{_ as a,p as s,k as p,l as u,A as d}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const c={name:"ChargePointOpenwbPro",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:o,object:e})}}},_={class:"charge-point-openwbpro"};function l(o,e,t,f,m,n){const i=s("openwb-base-text-input");return p(),u("div",_,[d(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":t.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>n.updateConfiguration(r,"ip_address"))},null,8,["model-value"])])}const v=a(c,[["render",l],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/openwb_pro/chargePoint.vue"]]);export{v as default}; +import{_ as a,p as s,k as p,l as u,A as d}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const c={name:"ChargePointOpenwbPro",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:o,object:e})}}},_={class:"charge-point-openwbpro"};function l(o,e,t,f,m,n){const i=s("openwb-base-text-input");return p(),u("div",_,[d(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":t.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>n.updateConfiguration(r,"ip_address"))},null,8,["model-value"])])}const v=a(c,[["render",l],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/openwb_pro/chargePoint.vue"]]);export{v as default}; diff --git a/web/settings/assets/chargePoint-bb64f92a.js b/web/settings/assets/chargePoint-7c3bf2bf.js similarity index 95% rename from web/settings/assets/chargePoint-bb64f92a.js rename to web/settings/assets/chargePoint-7c3bf2bf.js index 305d3bb26b..f697497296 100644 --- a/web/settings/assets/chargePoint-bb64f92a.js +++ b/web/settings/assets/chargePoint-7c3bf2bf.js @@ -1 +1 @@ -import{_ as s,p as a,k as p,l,A as r,L as m,u as c}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"ChargePointExternalOpenwb",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:t,object:e})}}},f={class:"charge-point-externalopenwb"};function g(t,e,o,b,h,i){const u=a("openwb-base-text-input"),d=a("openwb-base-number-input");return p(),l("div",f,[r(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"ip_address"))},null,8,["model-value"]),r(d,{title:"Ladepunkt-Nummer",required:"",min:1,max:2,"model-value":o.configuration.duo_num+1,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n-1,"duo_num"))},{help:m(()=>[c(' Bei einfachen Ladepunkten ist hier immer eine "1" einzutragen. Lediglich bei einer openWB Duo kann mit "2" der zweite enthaltene Ladepunkt angesprochen werden. ')]),_:1},8,["model-value"])])}const v=s(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/external_openwb/chargePoint.vue"]]);export{v as default}; +import{_ as s,p as a,k as p,l,A as r,L as m,u as c}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"ChargePointExternalOpenwb",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:t,object:e})}}},f={class:"charge-point-externalopenwb"};function g(t,e,o,b,h,i){const u=a("openwb-base-text-input"),d=a("openwb-base-number-input");return p(),l("div",f,[r(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"ip_address"))},null,8,["model-value"]),r(d,{title:"Ladepunkt-Nummer",required:"",min:1,max:2,"model-value":o.configuration.duo_num+1,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n-1,"duo_num"))},{help:m(()=>[c(' Bei einfachen Ladepunkten ist hier immer eine "1" einzutragen. Lediglich bei einer openWB Duo kann mit "2" der zweite enthaltene Ladepunkt angesprochen werden. ')]),_:1},8,["model-value"])])}const v=s(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/external_openwb/chargePoint.vue"]]);export{v as default}; diff --git a/web/settings/assets/chargePoint-a68e7fc0.js b/web/settings/assets/chargePoint-9d8a492d.js similarity index 94% rename from web/settings/assets/chargePoint-a68e7fc0.js rename to web/settings/assets/chargePoint-9d8a492d.js index a99c7ff051..12550af15c 100644 --- a/web/settings/assets/chargePoint-a68e7fc0.js +++ b/web/settings/assets/chargePoint-9d8a492d.js @@ -1 +1 @@ -import{_ as d,p as a,k as p,l as m,A as r,L as c,u as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"ChargePointSmartwb",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:n,object:e})}}},f={class:"charge-point-smartwb"};function g(n,e,o,b,w,i){const u=a("openwb-base-text-input"),s=a("openwb-base-number-input");return p(),m("div",f,[r(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"ip_address"))},null,8,["model-value"]),r(s,{title:"Wartezeit",required:"",min:2,max:10,unit:"s","model-value":o.configuration.timeout,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"timeout"))},{help:c(()=>[l(" Zeitangabe in Sekunden, für die auf eine Antwort des Ladepunktes gewartet wird. Wird diese Zeit überschritten, so wird von einer Kommunikationsstörung ausgegangen. ")]),_:1},8,["model-value"])])}const h=d(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/smartwb/chargePoint.vue"]]);export{h as default}; +import{_ as d,p as a,k as p,l as m,A as r,L as c,u as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"ChargePointSmartwb",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:n,object:e})}}},f={class:"charge-point-smartwb"};function g(n,e,o,b,w,i){const u=a("openwb-base-text-input"),s=a("openwb-base-number-input");return p(),m("div",f,[r(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"ip_address"))},null,8,["model-value"]),r(s,{title:"Wartezeit",required:"",min:2,max:10,unit:"s","model-value":o.configuration.timeout,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"timeout"))},{help:c(()=>[l(" Zeitangabe in Sekunden, für die auf eine Antwort des Ladepunktes gewartet wird. Wird diese Zeit überschritten, so wird von einer Kommunikationsstörung ausgegangen. ")]),_:1},8,["model-value"])])}const h=d(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/smartwb/chargePoint.vue"]]);export{h as default}; diff --git a/web/settings/assets/chargePoint-2d9f1178.js b/web/settings/assets/chargePoint-b87ed334.js similarity index 95% rename from web/settings/assets/chargePoint-2d9f1178.js rename to web/settings/assets/chargePoint-b87ed334.js index 72cbd8df0b..1a8b531c5f 100644 --- a/web/settings/assets/chargePoint-2d9f1178.js +++ b/web/settings/assets/chargePoint-b87ed334.js @@ -1 +1 @@ -import{_ as s,p as a,k as p,l,A as u,L as m,u as c}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"ChargePointSatellite",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:t,object:e})}}},f={class:"charge-point-satellite"};function g(t,e,o,b,h,i){const r=a("openwb-base-text-input"),d=a("openwb-base-number-input");return p(),l("div",f,[u(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"ip_address"))},null,8,["model-value"]),u(d,{title:"Ladepunkt-Nummer",required:"",min:1,max:2,"model-value":o.configuration.duo_num+1,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n-1,"duo_num"))},{help:m(()=>[c(' Bei einfachen Ladepunkten ist hier immer eine "1" einzutragen. Lediglich bei einer openWB Duo kann mit "2" der zweite enthaltene Ladepunkt angesprochen werden. ')]),_:1},8,["model-value"])])}const x=s(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/openwb_series2_satellit/chargePoint.vue"]]);export{x as default}; +import{_ as s,p as a,k as p,l,A as u,L as m,u as c}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"ChargePointSatellite",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){e&&(e="configuration."+e),this.$emit("update:configuration",{value:t,object:e})}}},f={class:"charge-point-satellite"};function g(t,e,o,b,h,i){const r=a("openwb-base-text-input"),d=a("openwb-base-number-input");return p(),l("div",f,[u(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"ip_address"))},null,8,["model-value"]),u(d,{title:"Ladepunkt-Nummer",required:"",min:1,max:2,"model-value":o.configuration.duo_num+1,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n-1,"duo_num"))},{help:m(()=>[c(' Bei einfachen Ladepunkten ist hier immer eine "1" einzutragen. Lediglich bei einer openWB Duo kann mit "2" der zweite enthaltene Ladepunkt angesprochen werden. ')]),_:1},8,["model-value"])])}const x=s(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/openwb_series2_satellit/chargePoint.vue"]]);export{x as default}; diff --git a/web/settings/assets/chargePoint-c0612da0.js b/web/settings/assets/chargePoint-da5e782a.js similarity index 92% rename from web/settings/assets/chargePoint-c0612da0.js rename to web/settings/assets/chargePoint-da5e782a.js index ab167e8e6c..2f7b38b083 100644 --- a/web/settings/assets/chargePoint-c0612da0.js +++ b/web/settings/assets/chargePoint-da5e782a.js @@ -1 +1 @@ -import{_ as d,p as a,k as u,l as c,A as l,y as p,L as m,u as f,z as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"ChargePointInternalOpenwb",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){e&&(e==="mode"&&(n=="series"||n=="socket")&&this.updateConfiguration(0,"duo_num"),e="configuration."+e),this.$emit("update:configuration",{value:n,object:e})}}},b={class:"charge-point-internalopenwb"};function h(n,e,t,w,B,i){const r=a("openwb-base-select-input"),s=a("openwb-base-number-input");return u(),c("div",b,[l(r,{title:"Bauart",notSelected:"Bitte auswählen",options:[{value:"series",text:"openWB series1/2 in den Varianten custom, standard & standard+"},{value:"duo",text:"openWB series1/2 Duo"},{value:"socket",text:"openWB series1/2 Buchse"}],"model-value":t.configuration.mode,"onUpdate:modelValue":e[0]||(e[0]=o=>i.updateConfiguration(o,"mode"))},null,8,["model-value"]),t.configuration.mode=="duo"?(u(),p(s,{key:0,title:"Ladepunkt-Nummer",required:"",min:1,max:2,"model-value":t.configuration.duo_num+1,"onUpdate:modelValue":e[1]||(e[1]=o=>i.updateConfiguration(o-1,"duo_num"))},{help:m(()=>[f(' Bei einfachen Ladepunkten ist hier immer eine "1" einzutragen. Lediglich bei einer openWB Duo kann mit "2" der zweite enthaltene Ladepunkt angesprochen werden. ')]),_:1},8,["model-value"])):_("",!0)])}const x=d(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/internal_openwb/chargePoint.vue"]]);export{x as default}; +import{_ as d,p as a,k as u,l as c,A as l,y as p,L as m,u as f,z as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"ChargePointInternalOpenwb",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){e&&(e==="mode"&&(n=="series"||n=="socket")&&this.updateConfiguration(0,"duo_num"),e="configuration."+e),this.$emit("update:configuration",{value:n,object:e})}}},b={class:"charge-point-internalopenwb"};function h(n,e,t,w,B,i){const r=a("openwb-base-select-input"),s=a("openwb-base-number-input");return u(),c("div",b,[l(r,{title:"Bauart",notSelected:"Bitte auswählen",options:[{value:"series",text:"openWB series1/2 in den Varianten custom, standard & standard+"},{value:"duo",text:"openWB series1/2 Duo"},{value:"socket",text:"openWB series1/2 Buchse"}],"model-value":t.configuration.mode,"onUpdate:modelValue":e[0]||(e[0]=o=>i.updateConfiguration(o,"mode"))},null,8,["model-value"]),t.configuration.mode=="duo"?(u(),p(s,{key:0,title:"Ladepunkt-Nummer",required:"",min:1,max:2,"model-value":t.configuration.duo_num+1,"onUpdate:modelValue":e[1]||(e[1]=o=>i.updateConfiguration(o-1,"duo_num"))},{help:m(()=>[f(' Bei einfachen Ladepunkten ist hier immer eine "1" einzutragen. Lediglich bei einer openWB Duo kann mit "2" der zweite enthaltene Ladepunkt angesprochen werden. ')]),_:1},8,["model-value"])):_("",!0)])}const x=d(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/internal_openwb/chargePoint.vue"]]);export{x as default}; diff --git a/web/settings/assets/commands-b4073fb3.js b/web/settings/assets/commands-5d4326c0.js similarity index 96% rename from web/settings/assets/commands-b4073fb3.js rename to web/settings/assets/commands-5d4326c0.js index f356491bbe..4d2c107e2c 100644 --- a/web/settings/assets/commands-b4073fb3.js +++ b/web/settings/assets/commands-5d4326c0.js @@ -1 +1 @@ -import{_ as i,p as r,k as p,l as d,A as c,L as u,u as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"ChargePointCommandsOpenwbPro",props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{async triggerUpdate(){let s=new FormData;s.append("command","update"),s.append("data",'{"ip_address":"'+this.configuration.ip_address+'"}');const n="Die Aktualisierung der openWB Pro wird gestartet...";this.$root.postClientMessage(n,"info"),console.debug(location),this.axios.post(location.protocol+"//"+location.host+"/openWB/web/settings/modules/charge_points/openwb_pro/commands.php",s,{timeout:5e3}).then(()=>{const e="Die Aktualisierung der openWB Pro wurde erfolgreich gestartet.";this.$root.postClientMessage(e,"success")}).catch(e=>{var t="Aktualisierung fehlgeschlagen!
";e.response?(console.error(e.response.status,e.response.data),t+=e.response.status+": "+e.response.data):e.request?(console.error(e.request),t+="Es wurde keine Antwort vom Server empfangen."):(console.error("Error",e.message),t+="Es ist ein unbekannter Fehler aufgetreten."),this.$root.postClientMessage(t,"danger")})}}},m={class:"charge-point-commands-openwbpro"};function h(s,n,e,t,_,o){const a=r("openwb-base-button-input");return p(),d("div",m,[c(a,{title:"Ladepunkt aktualisieren",buttonText:"Update anfordern",subtype:"success",disabled:e.configuration.ip_address==null,onButtonClicked:o.triggerUpdate},{help:u(()=>[l(" Mit diesem Befehl können Sie die Aktualisierung der openWB Pro anstoßen. Bitte beachten Sie, dass kein Fahrzeug angesteckt ist. ")]),_:1},8,["disabled","onButtonClicked"])])}const k=i(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/openwb_pro/commands.vue"]]);export{k as default}; +import{_ as i,p as r,k as p,l as d,A as c,L as u,u as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"ChargePointCommandsOpenwbPro",props:{configuration:{type:Object,required:!0},chargePointId:{default:void 0}},methods:{async triggerUpdate(){let s=new FormData;s.append("command","update"),s.append("data",'{"ip_address":"'+this.configuration.ip_address+'"}');const n="Die Aktualisierung der openWB Pro wird gestartet...";this.$root.postClientMessage(n,"info"),console.debug(location),this.axios.post(location.protocol+"//"+location.host+"/openWB/web/settings/modules/charge_points/openwb_pro/commands.php",s,{timeout:5e3}).then(()=>{const e="Die Aktualisierung der openWB Pro wurde erfolgreich gestartet.";this.$root.postClientMessage(e,"success")}).catch(e=>{var t="Aktualisierung fehlgeschlagen!
";e.response?(console.error(e.response.status,e.response.data),t+=e.response.status+": "+e.response.data):e.request?(console.error(e.request),t+="Es wurde keine Antwort vom Server empfangen."):(console.error("Error",e.message),t+="Es ist ein unbekannter Fehler aufgetreten."),this.$root.postClientMessage(t,"danger")})}}},m={class:"charge-point-commands-openwbpro"};function h(s,n,e,t,_,o){const a=r("openwb-base-button-input");return p(),d("div",m,[c(a,{title:"Ladepunkt aktualisieren",buttonText:"Update anfordern",subtype:"success",disabled:e.configuration.ip_address==null,onButtonClicked:o.triggerUpdate},{help:u(()=>[l(" Mit diesem Befehl können Sie die Aktualisierung der openWB Pro anstoßen. Bitte beachten Sie, dass kein Fahrzeug angesteckt ist. ")]),_:1},8,["disabled","onButtonClicked"])])}const k=i(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/charge_points/openwb_pro/commands.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-3aff566b.js b/web/settings/assets/counter-00a2193c.js similarity index 86% rename from web/settings/assets/counter-3aff566b.js rename to web/settings/assets/counter-00a2193c.js index c9a6a89736..767a9ccc38 100644 --- a/web/settings/assets/counter-3aff566b.js +++ b/web/settings/assets/counter-00a2193c.js @@ -1 +1 @@ -import{_ as r,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceFemsCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fems-counter"},m={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),c=t("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const C=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/counter.vue"]]);export{C as default}; +import{_ as r,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceFemsCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fems-counter"},m={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),c=t("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const C=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/counter.vue"]]);export{C as default}; diff --git a/web/settings/assets/counter-02cdeba3.js b/web/settings/assets/counter-132ca1db.js similarity index 94% rename from web/settings/assets/counter-02cdeba3.js rename to web/settings/assets/counter-132ca1db.js index fd45ba090c..d2f58bc634 100644 --- a/web/settings/assets/counter-02cdeba3.js +++ b/web/settings/assets/counter-132ca1db.js @@ -1 +1 @@ -import{_ as d,p as t,k as c,l,A as n,L as p,u as m,q as _,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceHuaweiSmartLoggerCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},b={class:"device-huawei-smart-logger-counter"},v={class:"small"};function w(o,e,a,h,x,i){const s=t("openwb-base-heading"),u=t("openwb-base-number-input");return c(),l("div",b,[n(s,null,{default:p(()=>[m(" Einstellungen für Huawei SmartLogger Zähler "),_("span",v,"(Modul: "+g(o.$options.name)+")",1)]),_:1}),n(u,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=r=>i.updateConfiguration(r,"configuration.modbus_id"))},null,8,["model-value"])])}const V=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/counter.vue"]]);export{V as default}; +import{_ as d,p as t,k as c,l,A as n,L as p,u as m,q as _,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceHuaweiSmartLoggerCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},b={class:"device-huawei-smart-logger-counter"},v={class:"small"};function w(o,e,a,h,x,i){const s=t("openwb-base-heading"),u=t("openwb-base-number-input");return c(),l("div",b,[n(s,null,{default:p(()=>[m(" Einstellungen für Huawei SmartLogger Zähler "),_("span",v,"(Modul: "+g(o.$options.name)+")",1)]),_:1}),n(u,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=r=>i.updateConfiguration(r,"configuration.modbus_id"))},null,8,["model-value"])])}const V=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/counter.vue"]]);export{V as default}; diff --git a/web/settings/assets/counter-34166fad.js b/web/settings/assets/counter-1678924c.js similarity index 86% rename from web/settings/assets/counter-34166fad.js rename to web/settings/assets/counter-1678924c.js index b42209d5b9..48846f8b51 100644 --- a/web/settings/assets/counter-34166fad.js +++ b/web/settings/assets/counter-1678924c.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as n,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceGoodWeCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-goodwe-counter"},m={class:"small"};function b(e,o,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für GoodWe Zähler "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/counter.vue"]]);export{k as default}; +import{_ as c,p as t,k as d,l as p,A as n,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceGoodWeCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-goodwe-counter"},m={class:"small"};function b(e,o,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für GoodWe Zähler "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-7cb477c9.js b/web/settings/assets/counter-16b1e8ec.js similarity index 90% rename from web/settings/assets/counter-7cb477c9.js rename to web/settings/assets/counter-16b1e8ec.js index f89c37f16c..2c780c7db8 100644 --- a/web/settings/assets/counter-7cb477c9.js +++ b/web/settings/assets/counter-16b1e8ec.js @@ -1 +1 @@ -import{_ as u,p as r,k as c,l as d,A as s,L as a,u as e,q as o,x as p}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarLogCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,n=void 0){this.$emit("update:configuration",{value:t,object:n})}}},m={class:"device-solar_log-counter"},h={class:"small"},f=o("span",{class:"text-danger"},[e(" Solar-Log Zähler geben keine Ströme aus, sodass kein Lastmanagement möglich ist."),o("br")],-1),g=o("a",{href:"https://github.com/openWB/core/wiki/Hausverbrauchs-Z%C3%A4hler",target:"_blank",rel:"noopener noreferrer"}," Wiki für Hausverbrauchs-Zähler ",-1);function b(t,n,v,k,w,Z){const i=r("openwb-base-heading"),l=r("openwb-base-alert");return c(),d("div",m,[s(i,null,{default:a(()=>[e(" Einstellungen für Solar-Log Zähler "),o("span",h,"(Modul: "+p(t.$options.name)+")",1)]),_:1}),s(l,{subtype:"info"},{default:a(()=>[f,e(" Solar-Log Zähler sind Hausverbrauchs-Zähler. Um die Werte am EVU-Punkt zu ermitteln, muss ein virtueller Zähler konfiguriert werden. Eine Beispiel-Konfiguration mit Solar-Log Zähler findest Du im "),g,e(". ")]),_:1})])}const x=u(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_log/counter.vue"]]);export{x as default}; +import{_ as u,p as r,k as c,l as d,A as s,L as a,u as e,q as o,x as p}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarLogCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,n=void 0){this.$emit("update:configuration",{value:t,object:n})}}},m={class:"device-solar_log-counter"},h={class:"small"},f=o("span",{class:"text-danger"},[e(" Solar-Log Zähler geben keine Ströme aus, sodass kein Lastmanagement möglich ist."),o("br")],-1),g=o("a",{href:"https://github.com/openWB/core/wiki/Hausverbrauchs-Z%C3%A4hler",target:"_blank",rel:"noopener noreferrer"}," Wiki für Hausverbrauchs-Zähler ",-1);function b(t,n,v,k,w,Z){const i=r("openwb-base-heading"),l=r("openwb-base-alert");return c(),d("div",m,[s(i,null,{default:a(()=>[e(" Einstellungen für Solar-Log Zähler "),o("span",h,"(Modul: "+p(t.$options.name)+")",1)]),_:1}),s(l,{subtype:"info"},{default:a(()=>[f,e(" Solar-Log Zähler sind Hausverbrauchs-Zähler. Um die Werte am EVU-Punkt zu ermitteln, muss ein virtueller Zähler konfiguriert werden. Eine Beispiel-Konfiguration mit Solar-Log Zähler findest Du im "),g,e(". ")]),_:1})])}const x=u(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_log/counter.vue"]]);export{x as default}; diff --git a/web/settings/assets/counter-f28c345a.js b/web/settings/assets/counter-21c7702f.js similarity index 97% rename from web/settings/assets/counter-f28c345a.js rename to web/settings/assets/counter-21c7702f.js index cc493803be..f8662f35fc 100644 --- a/web/settings/assets/counter-f28c345a.js +++ b/web/settings/assets/counter-21c7702f.js @@ -1 +1 @@ -import{_ as h,p as u,k as c,l as g,A as a,L as l,u as e,q as t,x as p}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceHttpCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(s,n=void 0){this.$emit("update:configuration",{value:s,object:n})}}},f={class:"device-http-counter"},b={class:"small"},w=t("br",null,null,-1),v=t("br",null,null,-1),k=t("br",null,null,-1),S=t("br",null,null,-1),P=t("br",null,null,-1),z=t("br",null,null,-1),Z=t("br",null,null,-1),A=t("br",null,null,-1),x=t("br",null,null,-1),D=t("br",null,null,-1),L=t("br",null,null,-1);function U(s,n,i,F,C,d){const m=u("openwb-base-heading"),o=u("openwb-base-text-input");return c(),g("div",f,[a(m,null,{default:l(()=>[e(" Einstellungen für Http Zähler "),t("span",b,"(Modul: "+p(s.$options.name)+")",1)]),_:1}),a(o,{title:"Pfad für Leistung",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":i.configuration.power_path,"onUpdate:modelValue":n[0]||(n[0]=r=>d.updateConfiguration(r,"configuration.power_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),w,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Zählerstand Bezug",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.imported_path,"onUpdate:modelValue":n[1]||(n[1]=r=>d.updateConfiguration(r,"configuration.imported_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),v,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),k,e(" Wird dieses Feld leer gelassen, wird der Zählerstand intern simuliert. ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Zählerstand Einspeisung",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.exported_path,"onUpdate:modelValue":n[2]||(n[2]=r=>d.updateConfiguration(r,"configuration.exported_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),S,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),P,e(" Wird dieses Feld leer gelassen, wird der Zählerstand intern simuliert. ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Strom Phase 1",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.current_l1_path,"onUpdate:modelValue":n[3]||(n[3]=r=>d.updateConfiguration(r,"configuration.current_l1_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),z,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Stromstärke der 1. Phase in Ampere darstellt."),Z,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Strom Phase 2",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.current_l2_path,"onUpdate:modelValue":n[4]||(n[4]=r=>d.updateConfiguration(r,"configuration.current_l2_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),A,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Stromstärke der 2. Phase in Ampere darstellt."),x,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Strom Phase 3",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.current_l3_path,"onUpdate:modelValue":n[5]||(n[5]=r=>d.updateConfiguration(r,"configuration.current_l3_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),D,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Stromstärke der 3. Phase in Ampere darstellt."),L,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"])])}const V=h(_,[["render",U],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/counter.vue"]]);export{V as default}; +import{_ as h,p as u,k as c,l as g,A as a,L as l,u as e,q as t,x as p}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceHttpCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(s,n=void 0){this.$emit("update:configuration",{value:s,object:n})}}},f={class:"device-http-counter"},b={class:"small"},w=t("br",null,null,-1),v=t("br",null,null,-1),k=t("br",null,null,-1),S=t("br",null,null,-1),P=t("br",null,null,-1),z=t("br",null,null,-1),Z=t("br",null,null,-1),A=t("br",null,null,-1),x=t("br",null,null,-1),D=t("br",null,null,-1),L=t("br",null,null,-1);function U(s,n,i,F,C,d){const m=u("openwb-base-heading"),o=u("openwb-base-text-input");return c(),g("div",f,[a(m,null,{default:l(()=>[e(" Einstellungen für Http Zähler "),t("span",b,"(Modul: "+p(s.$options.name)+")",1)]),_:1}),a(o,{title:"Pfad für Leistung",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":i.configuration.power_path,"onUpdate:modelValue":n[0]||(n[0]=r=>d.updateConfiguration(r,"configuration.power_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),w,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Zählerstand Bezug",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.imported_path,"onUpdate:modelValue":n[1]||(n[1]=r=>d.updateConfiguration(r,"configuration.imported_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),v,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),k,e(" Wird dieses Feld leer gelassen, wird der Zählerstand intern simuliert. ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Zählerstand Einspeisung",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.exported_path,"onUpdate:modelValue":n[2]||(n[2]=r=>d.updateConfiguration(r,"configuration.exported_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),S,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),P,e(" Wird dieses Feld leer gelassen, wird der Zählerstand intern simuliert. ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Strom Phase 1",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.current_l1_path,"onUpdate:modelValue":n[3]||(n[3]=r=>d.updateConfiguration(r,"configuration.current_l1_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),z,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Stromstärke der 1. Phase in Ampere darstellt."),Z,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Strom Phase 2",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.current_l2_path,"onUpdate:modelValue":n[4]||(n[4]=r=>d.updateConfiguration(r,"configuration.current_l2_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),A,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Stromstärke der 2. Phase in Ampere darstellt."),x,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"]),a(o,{title:"Pfad für Strom Phase 3",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":i.configuration.current_l3_path,"onUpdate:modelValue":n[5]||(n[5]=r=>d.updateConfiguration(r,"configuration.current_l3_path"))},{help:l(()=>[e(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),D,e(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Stromstärke der 3. Phase in Ampere darstellt."),L,e(" Wird dieses Feld leer gelassen, werden keine Phasenströme ermittelt und es kann kein Lastmanagement berechnet werden! ")]),_:1},8,["model-value"])])}const V=h(_,[["render",U],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/counter.vue"]]);export{V as default}; diff --git a/web/settings/assets/counter-915e87e7.js b/web/settings/assets/counter-2a1fe0d6.js similarity index 88% rename from web/settings/assets/counter-915e87e7.js rename to web/settings/assets/counter-2a1fe0d6.js index 2a14e7e24a..23ba55cf05 100644 --- a/web/settings/assets/counter-915e87e7.js +++ b/web/settings/assets/counter-2a1fe0d6.js @@ -1 +1 @@ -import{_ as l,p as o,k as c,l as d,A as n,L as p,u as _,q as m,x as v}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceOpenwbEvukitCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-evukit-counter"},g={class:"small"};function w(t,e,a,h,x,i){const s=o("openwb-base-heading"),u=o("openwb-base-select-input");return c(),d("div",b,[n(s,null,{default:p(()=>[_(" Einstellungen für openWB EVU-Kit Zähler "),m("span",g,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),n(u,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=r=>i.updateConfiguration(r,"configuration.version"))},null,8,["model-value"])])}const B=l(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/counter.vue"]]);export{B as default}; +import{_ as l,p as o,k as c,l as d,A as n,L as p,u as _,q as m,x as v}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceOpenwbEvukitCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-evukit-counter"},g={class:"small"};function w(t,e,a,h,x,i){const s=o("openwb-base-heading"),u=o("openwb-base-select-input");return c(),d("div",b,[n(s,null,{default:p(()=>[_(" Einstellungen für openWB EVU-Kit Zähler "),m("span",g,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),n(u,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=r=>i.updateConfiguration(r,"configuration.version"))},null,8,["model-value"])])}const B=l(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/counter.vue"]]);export{B as default}; diff --git a/web/settings/assets/counter-188956e7.js b/web/settings/assets/counter-2a24c05f.js similarity index 86% rename from web/settings/assets/counter-188956e7.js rename to web/settings/assets/counter-2a24c05f.js index 7eca03a563..81153aa223 100644 --- a/web/settings/assets/counter-188956e7.js +++ b/web/settings/assets/counter-2a24c05f.js @@ -1 +1 @@ -import{_ as c,p as o,k as u,l as p,A as t,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSunnyBoyCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sunnyboy-counter"},m={class:"small"};function b(e,n,g,y,h,v){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return u(),p("div",f,[t(i,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy/Tripower Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),t(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/counter.vue"]]);export{$ as default}; +import{_ as c,p as o,k as u,l as p,A as t,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSunnyBoyCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sunnyboy-counter"},m={class:"small"};function b(e,n,g,y,h,v){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return u(),p("div",f,[t(i,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy/Tripower Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),t(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/counter.vue"]]);export{$ as default}; diff --git a/web/settings/assets/counter-e4cd836c.js b/web/settings/assets/counter-31ec927b.js similarity index 93% rename from web/settings/assets/counter-e4cd836c.js rename to web/settings/assets/counter-31ec927b.js index f750d4c71b..7a54bad168 100644 --- a/web/settings/assets/counter-e4cd836c.js +++ b/web/settings/assets/counter-31ec927b.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l,A as n,L as s,u as a,q as p,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarWorldCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-solar_world-counter"},m={class:"small"};function b(e,o,g,h,v,w){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),l("div",f,[n(r,null,{default:s(()=>[a(" Einstellungen für SolarWorld Zähler "),p("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),n(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_world/counter.vue"]]);export{k as default}; +import{_ as c,p as t,k as d,l,A as n,L as s,u as a,q as p,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarWorldCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-solar_world-counter"},m={class:"small"};function b(e,o,g,h,v,w){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),l("div",f,[n(r,null,{default:s(()=>[a(" Einstellungen für SolarWorld Zähler "),p("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),n(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_world/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-c53096ed.js b/web/settings/assets/counter-359a2860.js similarity index 87% rename from web/settings/assets/counter-c53096ed.js rename to web/settings/assets/counter-359a2860.js index 2bcc20e2a2..68e5c5dd52 100644 --- a/web/settings/assets/counter-c53096ed.js +++ b/web/settings/assets/counter-359a2860.js @@ -1 +1 @@ -import{_ as d,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSmartMeCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-smart-me-counter"},v={class:"small"};function h(t,e,a,x,w,s){const i=n("openwb-base-heading"),r=n("openwb-base-text-input");return c(),p("div",b,[o(i,null,{default:l(()=>[m(" Einstellungen für smart-me Zähler "),_("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(r,{title:"Geräte-ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=u=>s.updateConfiguration(u,"configuration.id"))},null,8,["model-value"])])}const B=d(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smart_me/counter.vue"]]);export{B as default}; +import{_ as d,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSmartMeCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-smart-me-counter"},v={class:"small"};function h(t,e,a,x,w,s){const i=n("openwb-base-heading"),r=n("openwb-base-text-input");return c(),p("div",b,[o(i,null,{default:l(()=>[m(" Einstellungen für smart-me Zähler "),_("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(r,{title:"Geräte-ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=u=>s.updateConfiguration(u,"configuration.id"))},null,8,["model-value"])])}const B=d(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smart_me/counter.vue"]]);export{B as default}; diff --git a/web/settings/assets/counter-a78a59b3.js b/web/settings/assets/counter-3ba2200c.js similarity index 86% rename from web/settings/assets/counter-a78a59b3.js rename to web/settings/assets/counter-3ba2200c.js index 0356fc9dbc..358da567d3 100644 --- a/web/settings/assets/counter-a78a59b3.js +++ b/web/settings/assets/counter-3ba2200c.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSmartfoxCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-smartfox-counter"},m={class:"small"};function b(e,t,g,h,v,x){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Smartfox Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smartfox/counter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSmartfoxCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-smartfox-counter"},m={class:"small"};function b(e,t,g,h,v,x){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Smartfox Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smartfox/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-62f181c4.js b/web/settings/assets/counter-3c11443e.js similarity index 92% rename from web/settings/assets/counter-62f181c4.js rename to web/settings/assets/counter-3c11443e.js index ec91f519ed..f8e27d69af 100644 --- a/web/settings/assets/counter-62f181c4.js +++ b/web/settings/assets/counter-3c11443e.js @@ -1 +1 @@ -import{_ as l,p as i,k as f,l as _,A as s,L as r,u as n,q as o,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DevicePowerfoxCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-powerfox-counter"},b={class:"small"},w=o("a",{href:"https://backend.powerfox.energy/api/2.0/my/all/devices",target:"_blank",rel:"noopener noreferrer"}," https://backend.powerfox.energy/api/2.0/my/all/devices ",-1),v=o("span",{class:"font-weight-bold text-monospace",style:{display:"contents"}},' "DeviceID" ',-1);function x(t,e,a,D,k,d){const u=i("openwb-base-heading"),c=i("openwb-base-text-input");return f(),_("div",g,[s(u,null,{default:r(()=>[n(" Einstellungen für Powerfox Zähler "),o("span",b,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),s(c,{title:"ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.id"))},{help:r(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),w,n(" aufrufen und dort Benutzername und Passwort eingeben. Die DeviceID ist exakt so einzutragen, wie in der Antwort des Servers. Das bedeutet insbesondere auch, die Groß-/Kleinschreibung ist zu beachten! In dem Feld ist nur die Zeichenfolge direkt hinter "),v,n(" ohne den Doppelpunkt und Anführungszeichen einzutragen. ")]),_:1},8,["model-value"])])}const z=l(h,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerfox/counter.vue"]]);export{z as default}; +import{_ as l,p as i,k as f,l as _,A as s,L as r,u as n,q as o,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DevicePowerfoxCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-powerfox-counter"},b={class:"small"},w=o("a",{href:"https://backend.powerfox.energy/api/2.0/my/all/devices",target:"_blank",rel:"noopener noreferrer"}," https://backend.powerfox.energy/api/2.0/my/all/devices ",-1),v=o("span",{class:"font-weight-bold text-monospace",style:{display:"contents"}},' "DeviceID" ',-1);function x(t,e,a,D,k,d){const u=i("openwb-base-heading"),c=i("openwb-base-text-input");return f(),_("div",g,[s(u,null,{default:r(()=>[n(" Einstellungen für Powerfox Zähler "),o("span",b,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),s(c,{title:"ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.id"))},{help:r(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),w,n(" aufrufen und dort Benutzername und Passwort eingeben. Die DeviceID ist exakt so einzutragen, wie in der Antwort des Servers. Das bedeutet insbesondere auch, die Groß-/Kleinschreibung ist zu beachten! In dem Feld ist nur die Zeichenfolge direkt hinter "),v,n(" ohne den Doppelpunkt und Anführungszeichen einzutragen. ")]),_:1},8,["model-value"])])}const z=l(h,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerfox/counter.vue"]]);export{z as default}; diff --git a/web/settings/assets/counter-091aed85.js b/web/settings/assets/counter-3eb506f0.js similarity index 85% rename from web/settings/assets/counter-091aed85.js rename to web/settings/assets/counter-3eb506f0.js index 521b6f93f6..98aa0a62f6 100644 --- a/web/settings/assets/counter-091aed85.js +++ b/web/settings/assets/counter-3eb506f0.js @@ -1 +1 @@ -import{_ as c,p as t,k as p,l as u,A as n,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceKostalPikoCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-kostalpiko-counter"},m={class:"small"};function b(e,o,h,v,g,k){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),u("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für Kostal Piko Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Hausverbrauchszähler ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko/counter.vue"]]);export{x as default}; +import{_ as c,p as t,k as p,l as u,A as n,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceKostalPikoCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-kostalpiko-counter"},m={class:"small"};function b(e,o,h,v,g,k){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),u("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für Kostal Piko Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Hausverbrauchszähler ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko/counter.vue"]]);export{x as default}; diff --git a/web/settings/assets/counter-27655da5.js b/web/settings/assets/counter-42b322f1.js similarity index 86% rename from web/settings/assets/counter-27655da5.js rename to web/settings/assets/counter-42b322f1.js index 23add2e5ee..4668f271ea 100644 --- a/web/settings/assets/counter-27655da5.js +++ b/web/settings/assets/counter-42b322f1.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSiemensCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-siemens-counter"},f={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für Siemens Zähler "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/counter.vue"]]);export{k as default}; +import{_ as c,p as t,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSiemensCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-siemens-counter"},f={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für Siemens Zähler "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-41e4692e.js b/web/settings/assets/counter-44322a99.js similarity index 85% rename from web/settings/assets/counter-41e4692e.js rename to web/settings/assets/counter-44322a99.js index bb4d7d5d2e..d7aab8a29f 100644 --- a/web/settings/assets/counter-41e4692e.js +++ b/web/settings/assets/counter-44322a99.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceRCTCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-rct-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für RCT Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/counter.vue"]]);export{x as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceRCTCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-rct-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für RCT Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/counter.vue"]]);export{x as default}; diff --git a/web/settings/assets/counter-fe0cf21e.js b/web/settings/assets/counter-46ed0326.js similarity index 90% rename from web/settings/assets/counter-fe0cf21e.js rename to web/settings/assets/counter-46ed0326.js index cd7be02a61..e04f3311a7 100644 --- a/web/settings/assets/counter-fe0cf21e.js +++ b/web/settings/assets/counter-46ed0326.js @@ -1 +1 @@ -import{_ as l,p as o,k as c,l as p,A as u,L as m,u as _,q as b,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceVictronCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-victron-counter"},V={class:"small"};function w(t,e,i,x,C,a){const r=o("openwb-base-heading"),s=o("openwb-base-number-input"),d=o("openwb-base-button-group-input");return c(),p("div",v,[u(r,null,{default:m(()=>[_(" Einstellungen für Victron Zähler "),b("span",V,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),u(s,{title:"Modbus-ID",min:1,max:255,required:"","model-value":i.configuration.modbus_id,"onUpdate:modelValue":e[0]||(e[0]=n=>a.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"]),u(d,{title:"Messgerät",buttons:[{buttonValue:!1,text:"AC-In Victron GX"},{buttonValue:!0,text:"Energy Meter"}],"model-value":i.configuration.energy_meter,"onUpdate:modelValue":e[1]||(e[1]=n=>a.updateConfiguration(n,"configuration.energy_meter"))},null,8,["model-value"])])}const q=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/counter.vue"]]);export{q as default}; +import{_ as l,p as o,k as c,l as p,A as u,L as m,u as _,q as b,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceVictronCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-victron-counter"},V={class:"small"};function w(t,e,i,x,C,a){const r=o("openwb-base-heading"),s=o("openwb-base-number-input"),d=o("openwb-base-button-group-input");return c(),p("div",v,[u(r,null,{default:m(()=>[_(" Einstellungen für Victron Zähler "),b("span",V,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),u(s,{title:"Modbus-ID",min:1,max:255,required:"","model-value":i.configuration.modbus_id,"onUpdate:modelValue":e[0]||(e[0]=n=>a.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"]),u(d,{title:"Messgerät",buttons:[{buttonValue:!1,text:"AC-In Victron GX"},{buttonValue:!0,text:"Energy Meter"}],"model-value":i.configuration.energy_meter,"onUpdate:modelValue":e[1]||(e[1]=n=>a.updateConfiguration(n,"configuration.energy_meter"))},null,8,["model-value"])])}const q=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/counter.vue"]]);export{q as default}; diff --git a/web/settings/assets/counter-ffc77512.js b/web/settings/assets/counter-4ee5d341.js similarity index 88% rename from web/settings/assets/counter-ffc77512.js rename to web/settings/assets/counter-4ee5d341.js index 3422ef2bad..0b9bcf3b8d 100644 --- a/web/settings/assets/counter-ffc77512.js +++ b/web/settings/assets/counter-4ee5d341.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l as u,A as o,L as s,u as a,q as p,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceKostalSEMCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-kostal-sem-counter"},f={class:"small"};function h(e,t,g,b,v,w){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),u("div",m,[o(r,null,{default:s(()=>[a(" Einstellungen für Kostal Smart Energy Meter oder TQ EM 410 Zähler "),p("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente ist nur richtig, wenn der Zähler NICHT direkt am Wechselrichter (Kostal Plenticore) angeschlossen ist und daher separat abgefragt werden muss. ")]),_:1})])}const x=c(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_sem/counter.vue"]]);export{x as default}; +import{_ as c,p as n,k as d,l as u,A as o,L as s,u as a,q as p,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceKostalSEMCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-kostal-sem-counter"},f={class:"small"};function h(e,t,g,b,v,w){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),u("div",m,[o(r,null,{default:s(()=>[a(" Einstellungen für Kostal Smart Energy Meter oder TQ EM 410 Zähler "),p("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente ist nur richtig, wenn der Zähler NICHT direkt am Wechselrichter (Kostal Plenticore) angeschlossen ist und daher separat abgefragt werden muss. ")]),_:1})])}const x=c(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_sem/counter.vue"]]);export{x as default}; diff --git a/web/settings/assets/counter-c24a7de8.js b/web/settings/assets/counter-5232bf6f.js similarity index 86% rename from web/settings/assets/counter-c24a7de8.js rename to web/settings/assets/counter-5232bf6f.js index 0a40a9db60..e688dc191a 100644 --- a/web/settings/assets/counter-c24a7de8.js +++ b/web/settings/assets/counter-5232bf6f.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceLGCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-lg-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für LG ESS V1.0 Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/counter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceLGCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-lg-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für LG ESS V1.0 Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-b7920d66.js b/web/settings/assets/counter-53c01d32.js similarity index 90% rename from web/settings/assets/counter-b7920d66.js rename to web/settings/assets/counter-53c01d32.js index 1ef979dee8..09ad6a94a7 100644 --- a/web/settings/assets/counter-b7920d66.js +++ b/web/settings/assets/counter-53c01d32.js @@ -1 +1 @@ -import{_ as r,p as o,k as p,l as c,A as a,L as m,u as _,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceOpenwbFlexCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-openwb-flex-counter"},x={class:"small"};function w(n,e,i,M,h,u){const s=o("openwb-base-heading"),l=o("openwb-base-select-input"),d=o("openwb-base-number-input");return p(),c("div",g,[a(s,null,{default:m(()=>[_(" Einstellungen für openWB-Flex Zähler "),f("span",x,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),a(l,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=t=>u.updateConfiguration(t,"configuration.version"))},null,8,["model-value"]),a(d,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":i.configuration.id,"onUpdate:modelValue":e[1]||(e[1]=t=>u.updateConfiguration(t,"configuration.id"))},null,8,["model-value"])])}const D=r(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/counter.vue"]]);export{D as default}; +import{_ as r,p as o,k as p,l as c,A as a,L as m,u as _,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceOpenwbFlexCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-openwb-flex-counter"},x={class:"small"};function w(n,e,i,M,h,u){const s=o("openwb-base-heading"),l=o("openwb-base-select-input"),d=o("openwb-base-number-input");return p(),c("div",g,[a(s,null,{default:m(()=>[_(" Einstellungen für openWB-Flex Zähler "),f("span",x,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),a(l,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=t=>u.updateConfiguration(t,"configuration.version"))},null,8,["model-value"]),a(d,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":i.configuration.id,"onUpdate:modelValue":e[1]||(e[1]=t=>u.updateConfiguration(t,"configuration.id"))},null,8,["model-value"])])}const D=r(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/counter.vue"]]);export{D as default}; diff --git a/web/settings/assets/counter-7ea72015.js b/web/settings/assets/counter-5de9f963.js similarity index 86% rename from web/settings/assets/counter-7ea72015.js rename to web/settings/assets/counter-5de9f963.js index b995658d0f..b8d9af77e7 100644 --- a/web/settings/assets/counter-7ea72015.js +++ b/web/settings/assets/counter-5de9f963.js @@ -1 +1 @@ -import{_ as r,p as n,k as l,l as p,A as o,L as s,u as a,q as u,x as d}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceQCelllsCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-qcells-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für QCells ESS Zähler "),u("span",m,"(Modul: "+d(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const q=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/counter.vue"]]);export{q as default}; +import{_ as r,p as n,k as l,l as p,A as o,L as s,u as a,q as u,x as d}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceQCelllsCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-qcells-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für QCells ESS Zähler "),u("span",m,"(Modul: "+d(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const q=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/counter.vue"]]);export{q as default}; diff --git a/web/settings/assets/counter-b5068d6f.js b/web/settings/assets/counter-5deac10e.js similarity index 91% rename from web/settings/assets/counter-b5068d6f.js rename to web/settings/assets/counter-5deac10e.js index ce1f019402..836879bc20 100644 --- a/web/settings/assets/counter-b5068d6f.js +++ b/web/settings/assets/counter-5deac10e.js @@ -1 +1 @@ -import{_ as m,p as a,k as p,l as _,A as n,L as u,u as d,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSolarEdgeCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-solaredge-counter"},h={class:"small"};function w(o,e,i,x,C,r){const l=a("openwb-base-heading"),c=a("openwb-base-alert"),s=a("openwb-base-number-input");return p(),_("div",v,[n(l,null,{default:u(()=>[d(" Einstellungen für SolarEdge Zähler "),f("span",h,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(c,{subtype:"info"},{default:u(()=>[d(" Hierfür muss ein EVU-Zähler am SolarEdge Wechselrichter per Modbus angebunden sein. Der Zähler muss an erster Position im Wechselrichter konfiguriert sein. ")]),_:1}),n(s,{title:"Modbus ID","model-value":i.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=t=>r.updateConfiguration(t,"configuration.modbus_id"))},null,8,["model-value"]),n(s,{title:"Meter ID","model-value":i.configuration.meter_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=t=>r.updateConfiguration(t,"configuration.meter_id"))},null,8,["model-value"])])}const D=m(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/counter.vue"]]);export{D as default}; +import{_ as m,p as a,k as p,l as _,A as n,L as u,u as d,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSolarEdgeCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-solaredge-counter"},h={class:"small"};function w(o,e,i,x,C,r){const l=a("openwb-base-heading"),c=a("openwb-base-alert"),s=a("openwb-base-number-input");return p(),_("div",v,[n(l,null,{default:u(()=>[d(" Einstellungen für SolarEdge Zähler "),f("span",h,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(c,{subtype:"info"},{default:u(()=>[d(" Hierfür muss ein EVU-Zähler am SolarEdge Wechselrichter per Modbus angebunden sein. Der Zähler muss an erster Position im Wechselrichter konfiguriert sein. ")]),_:1}),n(s,{title:"Modbus ID","model-value":i.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=t=>r.updateConfiguration(t,"configuration.modbus_id"))},null,8,["model-value"]),n(s,{title:"Meter ID","model-value":i.configuration.meter_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=t=>r.updateConfiguration(t,"configuration.meter_id"))},null,8,["model-value"])])}const D=m(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/counter.vue"]]);export{D as default}; diff --git a/web/settings/assets/counter-d48e0a26.js b/web/settings/assets/counter-666266b1.js similarity index 86% rename from web/settings/assets/counter-d48e0a26.js rename to web/settings/assets/counter-666266b1.js index 42b9613059..57a62a0889 100644 --- a/web/settings/assets/counter-d48e0a26.js +++ b/web/settings/assets/counter-666266b1.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as a,u as s,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarwattCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solarwatt-counter"},m={class:"small"};function b(e,t,g,v,w,h){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),u("div",f,[o(r,null,{default:a(()=>[s(" Einstellungen für Solarwatt/My Reserve Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/counter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as a,u as s,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarwattCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solarwatt-counter"},m={class:"small"};function b(e,t,g,v,w,h){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),u("div",f,[o(r,null,{default:a(()=>[s(" Einstellungen für Solarwatt/My Reserve Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-ae615ae5.js b/web/settings/assets/counter-717a2080.js similarity index 89% rename from web/settings/assets/counter-ae615ae5.js rename to web/settings/assets/counter-717a2080.js index ff4b1bab52..46e86e1157 100644 --- a/web/settings/assets/counter-ae615ae5.js +++ b/web/settings/assets/counter-717a2080.js @@ -1 +1 @@ -import{_ as m,p as o,k as p,l as _,A as a,L as i,u as t,q as r,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSmahmCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-smahm-counter"},h={class:"small"},v=r("br",null,null,-1);function M(n,e,s,w,S,u){const d=o("openwb-base-heading"),c=o("openwb-base-number-input");return p(),_("div",g,[a(d,null,{default:i(()=>[t(" Einstellungen für SMA-HM/EM Zähler "),r("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),a(c,{title:"Seriennummer","model-value":s.configuration.serials,"onUpdate:modelValue":e[0]||(e[0]=l=>u.updateConfiguration(l,"configuration.serials"))},{help:i(()=>[t(" Eine Seriennummer ist nur erforderlich, wenn mehrere SMA HomeManager in Betrieb sind."),v,t(" Funktioniert auch mit Energy Meter statt Home Manager. ")]),_:1},8,["model-value"])])}const C=m(b,[["render",M],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_shm/counter.vue"]]);export{C as default}; +import{_ as m,p as o,k as p,l as _,A as a,L as i,u as t,q as r,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSmahmCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-smahm-counter"},h={class:"small"},v=r("br",null,null,-1);function M(n,e,s,w,S,u){const d=o("openwb-base-heading"),c=o("openwb-base-number-input");return p(),_("div",g,[a(d,null,{default:i(()=>[t(" Einstellungen für SMA-HM/EM Zähler "),r("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),a(c,{title:"Seriennummer","model-value":s.configuration.serials,"onUpdate:modelValue":e[0]||(e[0]=l=>u.updateConfiguration(l,"configuration.serials"))},{help:i(()=>[t(" Eine Seriennummer ist nur erforderlich, wenn mehrere SMA HomeManager in Betrieb sind."),v,t(" Funktioniert auch mit Energy Meter statt Home Manager. ")]),_:1},8,["model-value"])])}const C=m(b,[["render",M],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_shm/counter.vue"]]);export{C as default}; diff --git a/web/settings/assets/counter-4a529327.js b/web/settings/assets/counter-763be985.js similarity index 86% rename from web/settings/assets/counter-4a529327.js rename to web/settings/assets/counter-763be985.js index 89015cd933..9886a22f35 100644 --- a/web/settings/assets/counter-4a529327.js +++ b/web/settings/assets/counter-763be985.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as a,u as s,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceVartaCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-varta-counter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Varta Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const V=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/counter.vue"]]);export{V as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as a,u as s,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceVartaCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-varta-counter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Varta Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const V=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/counter.vue"]]);export{V as default}; diff --git a/web/settings/assets/counter-5dc07c85.js b/web/settings/assets/counter-78e7fd80.js similarity index 86% rename from web/settings/assets/counter-5dc07c85.js rename to web/settings/assets/counter-78e7fd80.js index 62aff268f6..b02b707ba9 100644 --- a/web/settings/assets/counter-5dc07c85.js +++ b/web/settings/assets/counter-78e7fd80.js @@ -1 +1 @@ -import{_ as c,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSiemensSentronCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-siemens-sentron-counter"},f={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),u("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für Siemens Sentron Zähler "),d("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const S=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens_sentron/counter.vue"]]);export{S as default}; +import{_ as c,p as t,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSiemensSentronCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-siemens-sentron-counter"},f={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),u("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für Siemens Sentron Zähler "),d("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const S=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens_sentron/counter.vue"]]);export{S as default}; diff --git a/web/settings/assets/counter-5b3d8628.js b/web/settings/assets/counter-79485e9a.js similarity index 86% rename from web/settings/assets/counter-5b3d8628.js rename to web/settings/assets/counter-79485e9a.js index 8c53f46c55..66b61029b5 100644 --- a/web/settings/assets/counter-5b3d8628.js +++ b/web/settings/assets/counter-79485e9a.js @@ -1 +1 @@ -import{_ as c,p as t,k as u,l as d,A as n,L as a,u as s,q as p,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceCarloGavazziCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-carlogavazzi-counter"},m={class:"small"};function v(e,o,b,g,h,z){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return u(),d("div",f,[n(i,null,{default:a(()=>[s(" Einstellungen für Carlo Gavazzi EM24 LAN "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:a(()=>[s(" ModbusTCP muss aktiviert sein. Ausgelesen wird ID 1 auf Port 502. ")]),_:1})])}const $=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/carlo_gavazzi/counter.vue"]]);export{$ as default}; +import{_ as c,p as t,k as u,l as d,A as n,L as a,u as s,q as p,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceCarloGavazziCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-carlogavazzi-counter"},m={class:"small"};function v(e,o,b,g,h,z){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return u(),d("div",f,[n(i,null,{default:a(()=>[s(" Einstellungen für Carlo Gavazzi EM24 LAN "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:a(()=>[s(" ModbusTCP muss aktiviert sein. Ausgelesen wird ID 1 auf Port 502. ")]),_:1})])}const $=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/carlo_gavazzi/counter.vue"]]);export{$ as default}; diff --git a/web/settings/assets/counter-714325f7.js b/web/settings/assets/counter-89c4e1db.js similarity index 85% rename from web/settings/assets/counter-714325f7.js rename to web/settings/assets/counter-89c4e1db.js index 451b126a6d..a741089cb9 100644 --- a/web/settings/assets/counter-714325f7.js +++ b/web/settings/assets/counter-89c4e1db.js @@ -1 +1 @@ -import{_ as r,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceE3dcCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für E3DC Zähler "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const C=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/counter.vue"]]);export{C as default}; +import{_ as r,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceE3dcCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-counter"},m={class:"small"};function b(e,t,g,h,v,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für E3DC Zähler "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const C=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/counter.vue"]]);export{C as default}; diff --git a/web/settings/assets/counter-cc26e266.js b/web/settings/assets/counter-9f464408.js similarity index 88% rename from web/settings/assets/counter-cc26e266.js rename to web/settings/assets/counter-9f464408.js index 36bb3b78b6..d552f72d98 100644 --- a/web/settings/assets/counter-cc26e266.js +++ b/web/settings/assets/counter-9f464408.js @@ -1 +1 @@ -import{_ as c,p as t,k as l,l as _,A as o,L as a,u as s,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceEnphaseCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-enphase-counter"},h={class:"small"};function v(n,e,i,w,E,r){const u=t("openwb-base-heading"),d=t("openwb-base-number-input");return l(),_("div",g,[o(u,null,{default:a(()=>[s(" Einstellungen für Enphase Envoy / IQ Gateway Zähler "),m("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"EID",required:"","model-value":i.configuration.eid,"onUpdate:modelValue":e[0]||(e[0]=p=>r.updateConfiguration(p,"configuration.eid"))},{help:a(()=>[s(' EID für "net-consumption" ')]),_:1},8,["model-value"])])}const I=c(b,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/enphase/counter.vue"]]);export{I as default}; +import{_ as c,p as t,k as l,l as _,A as o,L as a,u as s,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceEnphaseCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-enphase-counter"},h={class:"small"};function v(n,e,i,w,E,r){const u=t("openwb-base-heading"),d=t("openwb-base-number-input");return l(),_("div",g,[o(u,null,{default:a(()=>[s(" Einstellungen für Enphase Envoy / IQ Gateway Zähler "),m("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"EID",required:"","model-value":i.configuration.eid,"onUpdate:modelValue":e[0]||(e[0]=p=>r.updateConfiguration(p,"configuration.eid"))},{help:a(()=>[s(' EID für "net-consumption" ')]),_:1},8,["model-value"])])}const I=c(b,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/enphase/counter.vue"]]);export{I as default}; diff --git a/web/settings/assets/counter-79dbf497.js b/web/settings/assets/counter-a54a724f.js similarity index 88% rename from web/settings/assets/counter-79dbf497.js rename to web/settings/assets/counter-a54a724f.js index 73fe9642c9..2282218943 100644 --- a/web/settings/assets/counter-79dbf497.js +++ b/web/settings/assets/counter-a54a724f.js @@ -1 +1 @@ -import{_ as d,p as t,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DevicePowerdogCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-powerdog-counter"},v={class:"small"};function w(o,e,u,h,x,a){const i=t("openwb-base-heading"),s=t("openwb-base-button-group-input");return p(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für Powerdog Zähler "),f("span",v,"(Modul: "+m(o.$options.name)+")",1)]),_:1}),n(s,{title:"Einbau-Position",buttons:[{buttonValue:!1,text:"Hausverbrauch"},{buttonValue:!0,text:"EVU-Punkt"}],"model-value":u.configuration.position_evu,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.position_evu"))},null,8,["model-value"])])}const k=d(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerdog/counter.vue"]]);export{k as default}; +import{_ as d,p as t,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DevicePowerdogCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-powerdog-counter"},v={class:"small"};function w(o,e,u,h,x,a){const i=t("openwb-base-heading"),s=t("openwb-base-button-group-input");return p(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für Powerdog Zähler "),f("span",v,"(Modul: "+m(o.$options.name)+")",1)]),_:1}),n(s,{title:"Einbau-Position",buttons:[{buttonValue:!1,text:"Hausverbrauch"},{buttonValue:!0,text:"EVU-Punkt"}],"model-value":u.configuration.position_evu,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.position_evu"))},null,8,["model-value"])])}const k=d(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerdog/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-93cedec3.js b/web/settings/assets/counter-a703820a.js similarity index 90% rename from web/settings/assets/counter-93cedec3.js rename to web/settings/assets/counter-a703820a.js index f7306b60e3..870ef5c2e4 100644 --- a/web/settings/assets/counter-93cedec3.js +++ b/web/settings/assets/counter-a703820a.js @@ -1 +1 @@ -import{_ as l,p as t,k as p,l as m,A as o,L as i,u as r,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceVirtualCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},h={class:"device-virtual-counter"},b={class:"small"};function v(n,e,a,w,x,s){const u=t("openwb-base-heading"),d=t("openwb-base-number-input");return p(),m("div",h,[o(u,null,{default:i(()=>[r(" Einstellungen für virtuelle Zähler "),_("span",b,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"Zusätzlicher Verbrauch",min:0,step:.05,unit:"kW",required:"","model-value":a.configuration.external_consumption/1e3,"onUpdate:modelValue":e[0]||(e[0]=c=>s.updateConfiguration(c*1e3,"configuration.external_consumption"))},{help:i(()=>[r(" Die hier angegebene Leistung wird pauschal zu dem Leistungen der hinter dem Zähler liegenden Komponenten addiert. Damit lässt sich z. B. eine Reserve für nicht erfasste Verbraucher einstellen. ")]),_:1},8,["model-value"])])}const C=l(g,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/virtual/counter.vue"]]);export{C as default}; +import{_ as l,p as t,k as p,l as m,A as o,L as i,u as r,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceVirtualCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},h={class:"device-virtual-counter"},b={class:"small"};function v(n,e,a,w,x,s){const u=t("openwb-base-heading"),d=t("openwb-base-number-input");return p(),m("div",h,[o(u,null,{default:i(()=>[r(" Einstellungen für virtuelle Zähler "),_("span",b,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"Zusätzlicher Verbrauch",min:0,step:.05,unit:"kW",required:"","model-value":a.configuration.external_consumption/1e3,"onUpdate:modelValue":e[0]||(e[0]=c=>s.updateConfiguration(c*1e3,"configuration.external_consumption"))},{help:i(()=>[r(" Die hier angegebene Leistung wird pauschal zu dem Leistungen der hinter dem Zähler liegenden Komponenten addiert. Damit lässt sich z. B. eine Reserve für nicht erfasste Verbraucher einstellen. ")]),_:1},8,["model-value"])])}const C=l(g,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/virtual/counter.vue"]]);export{C as default}; diff --git a/web/settings/assets/counter-767d4ba6.js b/web/settings/assets/counter-a867b899.js similarity index 86% rename from web/settings/assets/counter-767d4ba6.js rename to web/settings/assets/counter-a867b899.js index 55cdea845d..8d6b77e1b4 100644 --- a/web/settings/assets/counter-767d4ba6.js +++ b/web/settings/assets/counter-a867b899.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceBatterXCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-batterx-counter"},m={class:"small"};function b(e,t,g,h,v,x){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für BatterX Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/counter.vue"]]);export{$ as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceBatterXCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-batterx-counter"},m={class:"small"};function b(e,t,g,h,v,x){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für BatterX Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/counter.vue"]]);export{$ as default}; diff --git a/web/settings/assets/counter-03bbcf67.js b/web/settings/assets/counter-acf746eb.js similarity index 87% rename from web/settings/assets/counter-03bbcf67.js rename to web/settings/assets/counter-acf746eb.js index 63c4faf3bc..52e2ddc923 100644 --- a/web/settings/assets/counter-03bbcf67.js +++ b/web/settings/assets/counter-acf746eb.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as u,A as o,L as a,u as s,q as l,x as p}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceTeslaCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-tesla-counter"},f={class:"small"};function h(e,n,b,g,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),u("div",m,[o(i,null,{default:a(()=>[s(" Einstellungen für Tesla Zähler "),l("span",f,"(Modul: "+p(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Je nach Firmware-Version ist nur ein Lastmanagement anhand der Gesamtleistung möglich, da nicht alle Firmware-Versionen Phasenströme liefern. ")]),_:1})])}const V=c(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/counter.vue"]]);export{V as default}; +import{_ as c,p as t,k as d,l as u,A as o,L as a,u as s,q as l,x as p}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceTeslaCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-tesla-counter"},f={class:"small"};function h(e,n,b,g,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),u("div",m,[o(i,null,{default:a(()=>[s(" Einstellungen für Tesla Zähler "),l("span",f,"(Modul: "+p(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(" Je nach Firmware-Version ist nur ein Lastmanagement anhand der Gesamtleistung möglich, da nicht alle Firmware-Versionen Phasenströme liefern. ")]),_:1})])}const V=c(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/counter.vue"]]);export{V as default}; diff --git a/web/settings/assets/counter-cc853bcf.js b/web/settings/assets/counter-ae6edc21.js similarity index 90% rename from web/settings/assets/counter-cc853bcf.js rename to web/settings/assets/counter-ae6edc21.js index 6ee44d8540..eeb15633f1 100644 --- a/web/settings/assets/counter-cc853bcf.js +++ b/web/settings/assets/counter-ae6edc21.js @@ -1 +1 @@ -import{_ as l,p as o,k as m,l as _,A as r,L as i,u as n,q as s,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceDiscovergyCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-discovergy-counter"},b={class:"small"},h=s("a",{href:"https://api.discovergy.com/public/v1/meters",target:"_blank",rel:"noopener noreferrer"}," https://api.discovergy.com/public/v1/meters ",-1);function w(t,e,a,y,x,d){const u=o("openwb-base-heading"),c=o("openwb-base-text-input");return m(),_("div",v,[r(u,null,{default:i(()=>[n(" Einstellungen für Discovergy Zähler "),s("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),r(c,{title:"Meter-ID",required:"","model-value":a.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.meter_id"))},{help:i(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),h,n(" aufrufen und dort Benutzername und Passwort eingeben. Hier wird nun u.a. die ID des Zählers angezeigt. ")]),_:1},8,["model-value"])])}const C=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/discovergy/counter.vue"]]);export{C as default}; +import{_ as l,p as o,k as m,l as _,A as r,L as i,u as n,q as s,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceDiscovergyCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-discovergy-counter"},b={class:"small"},h=s("a",{href:"https://api.discovergy.com/public/v1/meters",target:"_blank",rel:"noopener noreferrer"}," https://api.discovergy.com/public/v1/meters ",-1);function w(t,e,a,y,x,d){const u=o("openwb-base-heading"),c=o("openwb-base-text-input");return m(),_("div",v,[r(u,null,{default:i(()=>[n(" Einstellungen für Discovergy Zähler "),s("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),r(c,{title:"Meter-ID",required:"","model-value":a.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.meter_id"))},{help:i(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),h,n(" aufrufen und dort Benutzername und Passwort eingeben. Hier wird nun u.a. die ID des Zählers angezeigt. ")]),_:1},8,["model-value"])])}const C=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/discovergy/counter.vue"]]);export{C as default}; diff --git a/web/settings/assets/counter-ae14223f.js b/web/settings/assets/counter-b239a6d3.js similarity index 86% rename from web/settings/assets/counter-ae14223f.js rename to web/settings/assets/counter-b239a6d3.js index 2d9e849ca6..87b1c2ced3 100644 --- a/web/settings/assets/counter-ae14223f.js +++ b/web/settings/assets/counter-b239a6d3.js @@ -1 +1 @@ -import{_ as c,p as n,k as u,l as d,A as o,L as a,u as s,q as p,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceJanitzaCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-janitza-counter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return u(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Janitza Zähler "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(' ModbusTCP muss im Janitza auf Port 502 aktiv und die ID auf "1" eingestellt sein. ')]),_:1})])}const z=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/janitza/counter.vue"]]);export{z as default}; +import{_ as c,p as n,k as u,l as d,A as o,L as a,u as s,q as p,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceJanitzaCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-janitza-counter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return u(),d("div",f,[o(i,null,{default:a(()=>[s(" Einstellungen für Janitza Zähler "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:a(()=>[s(' ModbusTCP muss im Janitza auf Port 502 aktiv und die ID auf "1" eingestellt sein. ')]),_:1})])}const z=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/janitza/counter.vue"]]);export{z as default}; diff --git a/web/settings/assets/counter-fd005035.js b/web/settings/assets/counter-b973e0c1.js similarity index 86% rename from web/settings/assets/counter-fd005035.js rename to web/settings/assets/counter-b973e0c1.js index 420891b2d3..bef4a05c57 100644 --- a/web/settings/assets/counter-fd005035.js +++ b/web/settings/assets/counter-b973e0c1.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceAlphaessCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-alphaess-counter"},m={class:"small"};function b(e,t,h,g,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Alpha ESS Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/counter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceAlphaessCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-alphaess-counter"},m={class:"small"};function b(e,t,h,g,v,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Alpha ESS Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-c8ce2843.js b/web/settings/assets/counter-ba9f7446.js similarity index 96% rename from web/settings/assets/counter-c8ce2843.js rename to web/settings/assets/counter-ba9f7446.js index da418316fa..b8c23c9e5d 100644 --- a/web/settings/assets/counter-c8ce2843.js +++ b/web/settings/assets/counter-ba9f7446.js @@ -1 +1 @@ -import{_ as d,p as c,k as _,l as m,A as n,L as o,u as t,q as e,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DeviceMqttCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(a,u=void 0){this.$emit("update:configuration",{value:a,object:u})}}},f={class:"device-mqtt-counter"},g={class:"small"},b=e("br",null,null,-1),k=e("br",null,null,-1),B=e("span",{class:"text-info"},"-123.45",-1),x=e("br",null,null,-1),v=e("br",null,null,-1),z=e("span",{class:"text-info"},"123.45",-1),I=e("br",null,null,-1),W=e("br",null,null,-1),N=e("span",{class:"text-info"},"123.45",-1),w=e("br",null,null,-1),T=e("br",null,null,-1),y=e("span",{class:"text-info"},"50.12",-1),q=e("br",null,null,-1),F=e("br",null,null,-1),P=e("span",{class:"text-info"},"[1.2,2.3,-2.1]",-1),E=e("br",null,null,-1),j=e("br",null,null,-1),A=e("span",{class:"text-info"},"[222.2,223.3,222.3]",-1),D=e("br",null,null,-1),Z=e("br",null,null,-1),C=e("span",{class:"text-info"},"[12.3,23.4,-12.3]",-1),V=e("br",null,null,-1),L=e("br",null,null,-1),M=e("span",{class:"text-info"},"[0.95,0.96,-0.95]",-1);function S(a,u,s,H,O,Q){const r=c("openwb-base-heading"),i=c("openwb-base-copy-to-clipboard"),p=c("openwb-base-alert");return _(),m("div",f,[n(r,null,{default:o(()=>[t(" Einstellungen für MQTT Zähler "),e("span",g,"(Modul: "+l(a.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:o(()=>[e("ul",null,[e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/power",1)]),_:1}),b,t(" Bezugsleistung in Watt, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, positiv Bezug, negativ Einspeisung"),k,t(" Beispiel: "),B]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/imported",1)]),_:1}),x,t(" Bezogene Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),v,t(" Beispiel: "),z]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/exported",1)]),_:1}),I,t(" Eingespeiste Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),W,t(" Beispiel: "),N]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/frequency",1)]),_:1}),w,t(" Netzfrequenz in Hz, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen"),T,t(" Beispiel: "),y]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/currents",1)]),_:1}),q,t(" Array mit den Strömen je Phase in Ampere, mit Nachkommastellen (Float), positiv Bezug, negativ Einspeisung"),F,t(" Beispiel: "),P]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/voltages",1)]),_:1}),E,t(" Array mit den Spannungen je Phase in Volt, mit Nachkommastellen (Float)"),j,t(" Beispiel: "),A]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/powers",1)]),_:1}),D,t(" Array mit den Leistungen je Phase in Watt, mit Nachkommastellen (Float)"),Z,t(" Beispiel: "),C]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/power_factors",1)]),_:1}),V,t(" Array mit den Leistungsfaktoren je Phase, mit Nachkommastellen (Float), Wertebereich -1 bis 1"),L,t(" Beispiel: "),M])])]),_:1})])}const K=d(h,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/counter.vue"]]);export{K as default}; +import{_ as d,p as c,k as _,l as m,A as n,L as o,u as t,q as e,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DeviceMqttCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(a,u=void 0){this.$emit("update:configuration",{value:a,object:u})}}},f={class:"device-mqtt-counter"},g={class:"small"},b=e("br",null,null,-1),k=e("br",null,null,-1),B=e("span",{class:"text-info"},"-123.45",-1),x=e("br",null,null,-1),v=e("br",null,null,-1),z=e("span",{class:"text-info"},"123.45",-1),I=e("br",null,null,-1),W=e("br",null,null,-1),N=e("span",{class:"text-info"},"123.45",-1),w=e("br",null,null,-1),T=e("br",null,null,-1),y=e("span",{class:"text-info"},"50.12",-1),q=e("br",null,null,-1),F=e("br",null,null,-1),P=e("span",{class:"text-info"},"[1.2,2.3,-2.1]",-1),E=e("br",null,null,-1),j=e("br",null,null,-1),A=e("span",{class:"text-info"},"[222.2,223.3,222.3]",-1),D=e("br",null,null,-1),Z=e("br",null,null,-1),C=e("span",{class:"text-info"},"[12.3,23.4,-12.3]",-1),V=e("br",null,null,-1),L=e("br",null,null,-1),M=e("span",{class:"text-info"},"[0.95,0.96,-0.95]",-1);function S(a,u,s,H,O,Q){const r=c("openwb-base-heading"),i=c("openwb-base-copy-to-clipboard"),p=c("openwb-base-alert");return _(),m("div",f,[n(r,null,{default:o(()=>[t(" Einstellungen für MQTT Zähler "),e("span",g,"(Modul: "+l(a.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:o(()=>[e("ul",null,[e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/power",1)]),_:1}),b,t(" Bezugsleistung in Watt, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, positiv Bezug, negativ Einspeisung"),k,t(" Beispiel: "),B]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/imported",1)]),_:1}),x,t(" Bezogene Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),v,t(" Beispiel: "),z]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/exported",1)]),_:1}),I,t(" Eingespeiste Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),W,t(" Beispiel: "),N]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/frequency",1)]),_:1}),w,t(" Netzfrequenz in Hz, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen"),T,t(" Beispiel: "),y]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/currents",1)]),_:1}),q,t(" Array mit den Strömen je Phase in Ampere, mit Nachkommastellen (Float), positiv Bezug, negativ Einspeisung"),F,t(" Beispiel: "),P]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/voltages",1)]),_:1}),E,t(" Array mit den Spannungen je Phase in Volt, mit Nachkommastellen (Float)"),j,t(" Beispiel: "),A]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/powers",1)]),_:1}),D,t(" Array mit den Leistungen je Phase in Watt, mit Nachkommastellen (Float)"),Z,t(" Beispiel: "),C]),e("li",null,[n(i,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/counter/"+l(s.componentId)+"/get/power_factors",1)]),_:1}),V,t(" Array mit den Leistungsfaktoren je Phase, mit Nachkommastellen (Float), Wertebereich -1 bis 1"),L,t(" Beispiel: "),M])])]),_:1})])}const K=d(h,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/counter.vue"]]);export{K as default}; diff --git a/web/settings/assets/counter-bf241149.js b/web/settings/assets/counter-c3cfab87.js similarity index 96% rename from web/settings/assets/counter-bf241149.js rename to web/settings/assets/counter-c3cfab87.js index 6429271adb..3e2eae848b 100644 --- a/web/settings/assets/counter-bf241149.js +++ b/web/settings/assets/counter-c3cfab87.js @@ -1 +1 @@ -import{_ as g,p as d,k as p,l as _,A as n,L as u,u as r,q as s,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const c={name:"DeviceJsonCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},w={class:"device-json-counter"},v={class:"small"},j=s("br",null,null,-1);function q(i,e,o,h,x,a){const f=d("openwb-base-heading"),l=d("openwb-base-text-input"),m=d("openwb-base-alert");return p(),_("div",w,[n(f,null,{default:u(()=>[r(" Einstellungen für JSON Zähler "),s("span",v,"(Modul: "+b(i.$options.name)+")",1)]),_:1}),n(l,{title:"Abfrage für Leistung",subtype:"text",required:"","model-value":o.configuration.jq_power,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.jq_power"))},{help:u(()=>[r(' Zur Analyse der Werte aus dem json-Objekt wird jq benutzt. Ist die Json Antwort z.B. {"PowerInstalledPeak":4655, "PowerProduced":132, "PowerOut":897.08172362555717, "PowerSelfSupplied":234.9182763744428} So muss hier .PowerOut eingetragen werden. '),j,r(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. ")]),_:1},8,["model-value"]),n(l,{title:"Abfrage für Zählerstand Bezug",subtype:"text","model-value":o.configuration.jq_imported,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.jq_imported"))},{help:u(()=>[r(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"]),n(l,{title:"Abfrage für Zählerstand Einspeisung",subtype:"text","model-value":o.configuration.jq_exported,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.jq_exported"))},{help:u(()=>[r(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"]),n(m,{subtype:"info"},{default:u(()=>[r(" Werden sowohl Leistung als auch Strom auf den Einzelphasen leer gelassen, erfolgt das Lastmanagement am EVU-Punkt nur anhand der Gesamtleistung am EVU-Punkt. Wird der Zähler als Zwischenzähler verwendet, wird in diesem Fall kein Lastmanagement durchgeführt. ")]),_:1}),n(l,{title:"Abfrage für Leistung auf Phase 1",subtype:"text","model-value":o.configuration.jq_power_l1,"onUpdate:modelValue":e[3]||(e[3]=t=>a.updateConfiguration(t,"configuration.jq_power_l1"))},null,8,["model-value"]),n(l,{title:"Abfrage für Leistung auf Phase 2",subtype:"text","model-value":o.configuration.jq_power_l2,"onUpdate:modelValue":e[4]||(e[4]=t=>a.updateConfiguration(t,"configuration.jq_power_l2"))},null,8,["model-value"]),n(l,{title:"Abfrage für Leistung auf Phase 3",subtype:"text","model-value":o.configuration.jq_power_l3,"onUpdate:modelValue":e[5]||(e[5]=t=>a.updateConfiguration(t,"configuration.jq_power_l3"))},null,8,["model-value"]),n(l,{title:"Abfrage für Strom auf Phase 1",subtype:"text","model-value":o.configuration.jq_current_l1,"onUpdate:modelValue":e[6]||(e[6]=t=>a.updateConfiguration(t,"configuration.jq_current_l1"))},null,8,["model-value"]),n(l,{title:"Abfrage für Strom auf Phase 2",subtype:"text","model-value":o.configuration.jq_current_l2,"onUpdate:modelValue":e[7]||(e[7]=t=>a.updateConfiguration(t,"configuration.jq_current_l2"))},null,8,["model-value"]),n(l,{title:"Abfrage für Strom auf Phase 3",subtype:"text","model-value":o.configuration.jq_current_l3,"onUpdate:modelValue":e[8]||(e[8]=t=>a.updateConfiguration(t,"configuration.jq_current_l3"))},null,8,["model-value"])])}const y=g(c,[["render",q],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/counter.vue"]]);export{y as default}; +import{_ as g,p as d,k as p,l as _,A as n,L as u,u as r,q as s,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const c={name:"DeviceJsonCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},w={class:"device-json-counter"},v={class:"small"},j=s("br",null,null,-1);function q(i,e,o,h,x,a){const f=d("openwb-base-heading"),l=d("openwb-base-text-input"),m=d("openwb-base-alert");return p(),_("div",w,[n(f,null,{default:u(()=>[r(" Einstellungen für JSON Zähler "),s("span",v,"(Modul: "+b(i.$options.name)+")",1)]),_:1}),n(l,{title:"Abfrage für Leistung",subtype:"text",required:"","model-value":o.configuration.jq_power,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.jq_power"))},{help:u(()=>[r(' Zur Analyse der Werte aus dem json-Objekt wird jq benutzt. Ist die Json Antwort z.B. {"PowerInstalledPeak":4655, "PowerProduced":132, "PowerOut":897.08172362555717, "PowerSelfSupplied":234.9182763744428} So muss hier .PowerOut eingetragen werden. '),j,r(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. ")]),_:1},8,["model-value"]),n(l,{title:"Abfrage für Zählerstand Bezug",subtype:"text","model-value":o.configuration.jq_imported,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.jq_imported"))},{help:u(()=>[r(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"]),n(l,{title:"Abfrage für Zählerstand Einspeisung",subtype:"text","model-value":o.configuration.jq_exported,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.jq_exported"))},{help:u(()=>[r(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"]),n(m,{subtype:"info"},{default:u(()=>[r(" Werden sowohl Leistung als auch Strom auf den Einzelphasen leer gelassen, erfolgt das Lastmanagement am EVU-Punkt nur anhand der Gesamtleistung am EVU-Punkt. Wird der Zähler als Zwischenzähler verwendet, wird in diesem Fall kein Lastmanagement durchgeführt. ")]),_:1}),n(l,{title:"Abfrage für Leistung auf Phase 1",subtype:"text","model-value":o.configuration.jq_power_l1,"onUpdate:modelValue":e[3]||(e[3]=t=>a.updateConfiguration(t,"configuration.jq_power_l1"))},null,8,["model-value"]),n(l,{title:"Abfrage für Leistung auf Phase 2",subtype:"text","model-value":o.configuration.jq_power_l2,"onUpdate:modelValue":e[4]||(e[4]=t=>a.updateConfiguration(t,"configuration.jq_power_l2"))},null,8,["model-value"]),n(l,{title:"Abfrage für Leistung auf Phase 3",subtype:"text","model-value":o.configuration.jq_power_l3,"onUpdate:modelValue":e[5]||(e[5]=t=>a.updateConfiguration(t,"configuration.jq_power_l3"))},null,8,["model-value"]),n(l,{title:"Abfrage für Strom auf Phase 1",subtype:"text","model-value":o.configuration.jq_current_l1,"onUpdate:modelValue":e[6]||(e[6]=t=>a.updateConfiguration(t,"configuration.jq_current_l1"))},null,8,["model-value"]),n(l,{title:"Abfrage für Strom auf Phase 2",subtype:"text","model-value":o.configuration.jq_current_l2,"onUpdate:modelValue":e[7]||(e[7]=t=>a.updateConfiguration(t,"configuration.jq_current_l2"))},null,8,["model-value"]),n(l,{title:"Abfrage für Strom auf Phase 3",subtype:"text","model-value":o.configuration.jq_current_l3,"onUpdate:modelValue":e[8]||(e[8]=t=>a.updateConfiguration(t,"configuration.jq_current_l3"))},null,8,["model-value"])])}const y=g(c,[["render",q],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/counter.vue"]]);export{y as default}; diff --git a/web/settings/assets/counter-d1fd062f.js b/web/settings/assets/counter-cedf7435.js similarity index 86% rename from web/settings/assets/counter-d1fd062f.js rename to web/settings/assets/counter-cedf7435.js index d4133b5342..942a3b601e 100644 --- a/web/settings/assets/counter-d1fd062f.js +++ b/web/settings/assets/counter-cedf7435.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarViewCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solar-view-counter"},m={class:"small"};function b(e,t,g,v,w,h){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für SolarView Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const V=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_view/counter.vue"]]);export{V as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarViewCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solar-view-counter"},m={class:"small"};function b(e,t,g,v,w,h){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für SolarView Zähler "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const V=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_view/counter.vue"]]);export{V as default}; diff --git a/web/settings/assets/counter-59281697.js b/web/settings/assets/counter-d3383a7f.js similarity index 86% rename from web/settings/assets/counter-59281697.js rename to web/settings/assets/counter-d3383a7f.js index 5ded7c1c23..13cbd02262 100644 --- a/web/settings/assets/counter-59281697.js +++ b/web/settings/assets/counter-d3383a7f.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as n,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolaxCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-solax-counter"},m={class:"small"};function b(e,o,g,h,v,x){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für Solax Zähler "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/counter.vue"]]);export{k as default}; +import{_ as c,p as t,k as d,l as p,A as n,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolaxCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-solax-counter"},m={class:"small"};function b(e,o,g,h,v,x){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für Solax Zähler "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-414c2a8d.js b/web/settings/assets/counter-e8d957ec.js similarity index 90% rename from web/settings/assets/counter-414c2a8d.js rename to web/settings/assets/counter-e8d957ec.js index 412d32b130..c074f9af68 100644 --- a/web/settings/assets/counter-414c2a8d.js +++ b/web/settings/assets/counter-e8d957ec.js @@ -1 +1 @@ -import{_ as c,p as t,k as p,l as m,A as o,L as i,u as s,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSungrowCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"device-sungrow-counter"},v={class:"small"};function h(n,e,a,w,S,r){const u=t("openwb-base-heading"),d=t("openwb-base-select-input");return p(),m("div",b,[o(u,null,{default:i(()=>[s(" Einstellungen für Sungrow Zähler "),_("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"Version",options:[{value:0,text:"SH (Hybrid)"},{value:1,text:"SG (kein Hybrid)"},{value:2,text:"SG (kein Hybrid) mit WiNet Dongle"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>r.updateConfiguration(l,"configuration.version"))},{help:i(()=>[s(" Die Variante SH ist nur über die LAN-IP mit openWB nutzbar. Hierzu hinter dem WiNet-S Dongle den Lan Anschluss nutzen. Den WiNet-S Dongle zusätzlich ins Heimnetz (per Lan oder Wlan) einbinden, um ISolarCloud nutzen zu können. ")]),_:1},8,["options","model-value"])])}const D=c(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/counter.vue"]]);export{D as default}; +import{_ as c,p as t,k as p,l as m,A as o,L as i,u as s,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSungrowCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"device-sungrow-counter"},v={class:"small"};function h(n,e,a,w,S,r){const u=t("openwb-base-heading"),d=t("openwb-base-select-input");return p(),m("div",b,[o(u,null,{default:i(()=>[s(" Einstellungen für Sungrow Zähler "),_("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"Version",options:[{value:0,text:"SH (Hybrid)"},{value:1,text:"SG (kein Hybrid)"},{value:2,text:"SG (kein Hybrid) mit WiNet Dongle"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>r.updateConfiguration(l,"configuration.version"))},{help:i(()=>[s(" Die Variante SH ist nur über die LAN-IP mit openWB nutzbar. Hierzu hinter dem WiNet-S Dongle den Lan Anschluss nutzen. Den WiNet-S Dongle zusätzlich ins Heimnetz (per Lan oder Wlan) einbinden, um ISolarCloud nutzen zu können. ")]),_:1},8,["options","model-value"])])}const D=c(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/counter.vue"]]);export{D as default}; diff --git a/web/settings/assets/counter-e0518a0b.js b/web/settings/assets/counter-e988ef04.js similarity index 86% rename from web/settings/assets/counter-e0518a0b.js rename to web/settings/assets/counter-e988ef04.js index 9f0921a512..fa584027bb 100644 --- a/web/settings/assets/counter-e0518a0b.js +++ b/web/settings/assets/counter-e988ef04.js @@ -1 +1 @@ -import{_ as c,p as n,k as u,l as d,A as o,L as s,u as a,q as p,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceHuaweiCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-huawei-counter"},m={class:"small"};function b(e,t,h,g,w,v){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return u(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Huawei Zähler "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/counter.vue"]]);export{k as default}; +import{_ as c,p as n,k as u,l as d,A as o,L as s,u as a,q as p,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceHuaweiCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-huawei-counter"},m={class:"small"};function b(e,t,h,g,w,v){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return u(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Huawei Zähler "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/counter.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter-f99ad3c6.js b/web/settings/assets/counter-ec5834e5.js similarity index 87% rename from web/settings/assets/counter-f99ad3c6.js rename to web/settings/assets/counter-ec5834e5.js index 0bd94886dc..5b988cf818 100644 --- a/web/settings/assets/counter-f99ad3c6.js +++ b/web/settings/assets/counter-ec5834e5.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as u,A as o,L as s,u as a,q as p,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSonnenbatterieCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-sonnenbatterie-counter"},f={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),u("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für SonnenBatterie Zähler "),p("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Mit diesem Modul ist kein Lastmanagement möglich, da keine Ströme der einzelnen Phasen gemessen werden. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/counter.vue"]]);export{x as default}; +import{_ as c,p as t,k as d,l as u,A as o,L as s,u as a,q as p,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSonnenbatterieCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-sonnenbatterie-counter"},f={class:"small"};function b(e,n,g,h,v,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),u("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für SonnenBatterie Zähler "),p("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Mit diesem Modul ist kein Lastmanagement möglich, da keine Ströme der einzelnen Phasen gemessen werden. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/counter.vue"]]);export{x as default}; diff --git a/web/settings/assets/counter-a1acca8f.js b/web/settings/assets/counter-f4cc17a6.js similarity index 92% rename from web/settings/assets/counter-a1acca8f.js rename to web/settings/assets/counter-f4cc17a6.js index 0eb8e4a1e2..64c3880158 100644 --- a/web/settings/assets/counter-a1acca8f.js +++ b/web/settings/assets/counter-f4cc17a6.js @@ -1 +1 @@ -import{_ as c,p as r,k as m,l as g,A as t,L as u,u as d,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceVZLoggerCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-vzlogger-counter"},w={class:"small"};function h(o,e,i,Z,V,a){const s=r("openwb-base-heading"),p=r("openwb-base-alert"),l=r("openwb-base-number-input");return m(),g("div",v,[t(s,null,{default:u(()=>[d(" Einstellungen für VZLogger Zähler "),f("span",w,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),t(p,{subtype:"info"},{default:u(()=>[d(' Bitte auf der Shell ausführen: "curl -s IPdesVZLogger:Port | jq .|cat -n" Zählen, in welcher Zeile der gesuchte Wert steht. Bei der ersten Zeile mit 1 anfangen zu zählen. ')]),_:1}),t(l,{title:"Zeile der Leistung",required:"",min:0,"model-value":i.configuration.line_power,"onUpdate:modelValue":e[0]||(e[0]=n=>a.updateConfiguration(n,"configuration.line_power"))},null,8,["model-value"]),t(l,{title:"Zeile der Einspeisung",min:0,"model-value":i.configuration.line_exported,"onUpdate:modelValue":e[1]||(e[1]=n=>a.updateConfiguration(n,"configuration.line_exported"))},null,8,["model-value"]),t(l,{title:"Zeile des Bezugs",min:0,"model-value":i.configuration.line_imported,"onUpdate:modelValue":e[2]||(e[2]=n=>a.updateConfiguration(n,"configuration.line_imported"))},null,8,["model-value"])])}const C=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/vzlogger/counter.vue"]]);export{C as default}; +import{_ as c,p as r,k as m,l as g,A as t,L as u,u as d,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceVZLoggerCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-vzlogger-counter"},w={class:"small"};function h(o,e,i,Z,V,a){const s=r("openwb-base-heading"),p=r("openwb-base-alert"),l=r("openwb-base-number-input");return m(),g("div",v,[t(s,null,{default:u(()=>[d(" Einstellungen für VZLogger Zähler "),f("span",w,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),t(p,{subtype:"info"},{default:u(()=>[d(' Bitte auf der Shell ausführen: "curl -s IPdesVZLogger:Port | jq .|cat -n" Zählen, in welcher Zeile der gesuchte Wert steht. Bei der ersten Zeile mit 1 anfangen zu zählen. ')]),_:1}),t(l,{title:"Zeile der Leistung",required:"",min:0,"model-value":i.configuration.line_power,"onUpdate:modelValue":e[0]||(e[0]=n=>a.updateConfiguration(n,"configuration.line_power"))},null,8,["model-value"]),t(l,{title:"Zeile der Einspeisung",min:0,"model-value":i.configuration.line_exported,"onUpdate:modelValue":e[1]||(e[1]=n=>a.updateConfiguration(n,"configuration.line_exported"))},null,8,["model-value"]),t(l,{title:"Zeile des Bezugs",min:0,"model-value":i.configuration.line_imported,"onUpdate:modelValue":e[2]||(e[2]=n=>a.updateConfiguration(n,"configuration.line_imported"))},null,8,["model-value"])])}const C=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/vzlogger/counter.vue"]]);export{C as default}; diff --git a/web/settings/assets/counter-cf68ecf5.js b/web/settings/assets/counter-fadca778.js similarity index 89% rename from web/settings/assets/counter-cf68ecf5.js rename to web/settings/assets/counter-fadca778.js index d1740457b7..844df62cad 100644 --- a/web/settings/assets/counter-cf68ecf5.js +++ b/web/settings/assets/counter-fadca778.js @@ -1 +1 @@ -import{_ as u,p as n,k as l,l as d,A as r,L as s,u as t,q as a,x as p}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceKostalPlenticoreCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-kostalplenticore-counter"},h={class:"small"},m=a("a",{href:"https://github.com/openWB/core/wiki/Hausverbrauchs-Zähler",target:"_blank",rel:"noopener noreferrer"},"Wiki für Hausverbrauchs-Zähler",-1);function b(e,o,g,v,w,k){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return l(),d("div",f,[r(i,null,{default:s(()=>[t(" Einstellungen für Kostal Plenticore Zähler "),a("span",h,"(Modul: "+p(e.$options.name)+")",1)]),_:1}),r(c,{subtype:"info"},{default:s(()=>[t(" Wenn der Zähler im Hausverbrauchs-Zweig installiert ist, muss die Hierarchie wie im "),m,t(" beschrieben, angeordnet werden. ")]),_:1})])}const B=u(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/counter.vue"]]);export{B as default}; +import{_ as u,p as n,k as l,l as d,A as r,L as s,u as t,q as a,x as p}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceKostalPlenticoreCounter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-kostalplenticore-counter"},h={class:"small"},m=a("a",{href:"https://github.com/openWB/core/wiki/Hausverbrauchs-Zähler",target:"_blank",rel:"noopener noreferrer"},"Wiki für Hausverbrauchs-Zähler",-1);function b(e,o,g,v,w,k){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return l(),d("div",f,[r(i,null,{default:s(()=>[t(" Einstellungen für Kostal Plenticore Zähler "),a("span",h,"(Modul: "+p(e.$options.name)+")",1)]),_:1}),r(c,{subtype:"info"},{default:s(()=>[t(" Wenn der Zähler im Hausverbrauchs-Zweig installiert ist, muss die Hierarchie wie im "),m,t(" beschrieben, angeordnet werden. ")]),_:1})])}const B=u(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/counter.vue"]]);export{B as default}; diff --git a/web/settings/assets/counter_s0-95a8632a.js b/web/settings/assets/counter_s0-f180ff54.js similarity index 86% rename from web/settings/assets/counter_s0-95a8632a.js rename to web/settings/assets/counter_s0-f180ff54.js index dbbb7ce32a..9bd6589dc2 100644 --- a/web/settings/assets/counter_s0-95a8632a.js +++ b/web/settings/assets/counter_s0-f180ff54.js @@ -1 +1 @@ -import{_ as c,p as o,k as u,l as d,A as t,L as s,u as a,q as p,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceFroniusCounterS0",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fronius-counter-s0"},m={class:"small"};function b(e,n,g,h,v,w){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return u(),d("div",f,[t(i,null,{default:s(()=>[a(" Einstellungen für Fronius S0 Zähler "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),t(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/counter_s0.vue"]]);export{k as default}; +import{_ as c,p as o,k as u,l as d,A as t,L as s,u as a,q as p,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceFroniusCounterS0",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fronius-counter-s0"},m={class:"small"};function b(e,n,g,h,v,w){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return u(),d("div",f,[t(i,null,{default:s(()=>[a(" Einstellungen für Fronius S0 Zähler "),p("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),t(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/counter_s0.vue"]]);export{k as default}; diff --git a/web/settings/assets/counter_sm-be1cbf02.js b/web/settings/assets/counter_sm-54aa99ad.js similarity index 96% rename from web/settings/assets/counter_sm-be1cbf02.js rename to web/settings/assets/counter_sm-54aa99ad.js index 0298760fab..bad3331b80 100644 --- a/web/settings/assets/counter_sm-be1cbf02.js +++ b/web/settings/assets/counter_sm-54aa99ad.js @@ -1 +1 @@ -import{_ as p,p as o,k as m,l as _,A as a,L as s,u,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceFroniusCounterSM",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-fronius-counter-sm"},h={class:"small"};function w(n,e,i,x,V,r){const l=o("openwb-base-heading"),d=o("openwb-base-number-input"),c=o("openwb-base-select-input");return m(),_("div",v,[a(l,null,{default:s(()=>[u(" Einstellungen für Fronius SmartMeter "),f("span",h,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),a(d,{title:"Meter ID",required:"",min:"0",max:"65535","model-value":i.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=t=>r.updateConfiguration(t,"configuration.meter_id"))},null,8,["model-value"]),a(c,{title:"Kompatibilitätsmodus",notSelected:"Bitte auswählen",options:[{value:0,text:"Aus"},{value:1,text:"Variante 1"},{value:2,text:"Variante 2"}],"model-value":i.configuration.variant,"onUpdate:modelValue":e[1]||(e[1]=t=>r.updateConfiguration(t,"configuration.variant"))},{help:s(()=>[u(" Gegebenenfalls auch für alte Modelle nach einem Softwareupdate erforderlich. Fronius hat derzeit keine Konsistente Schnittstelle. Speziell beim Gen24 kann Variante 1 oder 2 erforderlich sein. Nach speichern sollten nach etwa 10-20 Sekunden Daten angezeigt werden. Ist dies nicht der Fall die andere Variante ausprobieren. ")]),_:1},8,["model-value"])])}const C=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/counter_sm.vue"]]);export{C as default}; +import{_ as p,p as o,k as m,l as _,A as a,L as s,u,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceFroniusCounterSM",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-fronius-counter-sm"},h={class:"small"};function w(n,e,i,x,V,r){const l=o("openwb-base-heading"),d=o("openwb-base-number-input"),c=o("openwb-base-select-input");return m(),_("div",v,[a(l,null,{default:s(()=>[u(" Einstellungen für Fronius SmartMeter "),f("span",h,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),a(d,{title:"Meter ID",required:"",min:"0",max:"65535","model-value":i.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=t=>r.updateConfiguration(t,"configuration.meter_id"))},null,8,["model-value"]),a(c,{title:"Kompatibilitätsmodus",notSelected:"Bitte auswählen",options:[{value:0,text:"Aus"},{value:1,text:"Variante 1"},{value:2,text:"Variante 2"}],"model-value":i.configuration.variant,"onUpdate:modelValue":e[1]||(e[1]=t=>r.updateConfiguration(t,"configuration.variant"))},{help:s(()=>[u(" Gegebenenfalls auch für alte Modelle nach einem Softwareupdate erforderlich. Fronius hat derzeit keine Konsistente Schnittstelle. Speziell beim Gen24 kann Variante 1 oder 2 erforderlich sein. Nach speichern sollten nach etwa 10-20 Sekunden Daten angezeigt werden. Ist dies nicht der Fall die andere Variante ausprobieren. ")]),_:1},8,["model-value"])])}const C=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/counter_sm.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-7db07287.js b/web/settings/assets/device-03098c6a.js similarity index 95% rename from web/settings/assets/device-7db07287.js rename to web/settings/assets/device-03098c6a.js index 35d2237142..236196f4c3 100644 --- a/web/settings/assets/device-7db07287.js +++ b/web/settings/assets/device-03098c6a.js @@ -1 +1 @@ -import{_ as b,p as o,k as h,l as g,A as s,L as u,u as t,q as n,x as i}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const m={name:"DeviceSonnenbatterie",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},computed:{linkRestApi1(){return"http://"+this.configuration.ip_address+":7979/rest/devices/battery"},linkRestApi2(){return"http://"+this.configuration.ip_address+":7979/rest/devices/battery/M05"},linkJsonApi1(){return"http://"+this.configuration.ip_address+"/api/v1/status"},linkJsonApi2(){return"http://"+this.configuration.ip_address+"/api/v2/status"}},methods:{updateConfiguration(a,r=void 0){this.$emit("update:configuration",{value:a,object:r})}}},v={class:"device-sonnenbatterie"},A={class:"small"},k={style:{display:"block"}},w=n("br",null,null,-1),B=["href"],I=n("br",null,null,-1),J=["href"],R=n("br",null,null,-1),x=["href"],P=n("br",null,null,-1),O=["href"];function S(a,r,d,C,y,e){const p=o("openwb-base-heading"),c=o("openwb-base-alert"),_=o("openwb-base-text-input"),f=o("openwb-base-select-input");return h(),g("div",v,[s(p,null,{default:u(()=>[t(" Einstellungen für SonnenBatterie "),n("span",A,"(Modul: "+i(a.$options.name)+")",1)]),_:1}),s(c,{subtype:"info"},{default:u(()=>[t(' Die Leistung steht nur in den Varianten "Rest-API 2" und "JSON-API" zur Verfügung. ')]),_:1}),s(_,{title:"IP oder Hostname",subtype:"host",required:"","model-value":d.configuration.ip_address,"onUpdate:modelValue":r[0]||(r[0]=l=>e.updateConfiguration(l,"configuration.ip_address"))},null,8,["model-value"]),s(f,{title:"Datenverbindung",required:"",notSelected:"Bitte auswählen",options:[{value:0,text:"Rest-API 1 (z.B. ECO 4)"},{value:2,text:"Rest-API 2 (z.B. ECO 6)"},{value:1,text:"JSON-API v1(z.B. ECO 8 oder 10)"},{value:3,text:"JSON-API v2(z.B. ECO 8 oder 10)"}],"model-value":d.configuration.variant,"onUpdate:modelValue":r[1]||(r[1]=l=>e.updateConfiguration(l,"configuration.variant"))},{help:u(()=>[n("span",k,[t(" Je nach Sonnen Batterie muss die richtige Datenverbindung ausgewählt werden. Folgende URLs werden zum Abruf der Daten genutzt und können auch manuell über einen Browser abgefragt werden, um die richtige Einstellung zu finden:"),w,t(" Rest-API 1: "),n("a",{href:e.linkRestApi1,target:"_blank",rel:"noopener noreferrer"},i(e.linkRestApi1),9,B),I,t(" Rest-API 2: "),n("a",{href:e.linkRestApi2,target:"_blank",rel:"noopener noreferrer"},i(e.linkRestApi2),9,J),R,t(" JSON-API v1: "),n("a",{href:e.linkJsonApi1,target:"_blank",rel:"noopener noreferrer"},i(e.linkJsonApi1),9,x),P,t(" JSON-API v2: "),n("a",{href:e.linkJsonApi2,target:"_blank",rel:"noopener noreferrer"},i(e.linkJsonApi2),9,O)])]),_:1},8,["options","model-value"])])}const E=b(m,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/device.vue"]]);export{E as default}; +import{_ as b,p as o,k as h,l as g,A as s,L as u,u as t,q as n,x as i}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const m={name:"DeviceSonnenbatterie",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},computed:{linkRestApi1(){return"http://"+this.configuration.ip_address+":7979/rest/devices/battery"},linkRestApi2(){return"http://"+this.configuration.ip_address+":7979/rest/devices/battery/M05"},linkJsonApi1(){return"http://"+this.configuration.ip_address+"/api/v1/status"},linkJsonApi2(){return"http://"+this.configuration.ip_address+"/api/v2/status"}},methods:{updateConfiguration(a,r=void 0){this.$emit("update:configuration",{value:a,object:r})}}},v={class:"device-sonnenbatterie"},A={class:"small"},k={style:{display:"block"}},w=n("br",null,null,-1),B=["href"],I=n("br",null,null,-1),J=["href"],R=n("br",null,null,-1),x=["href"],P=n("br",null,null,-1),O=["href"];function S(a,r,d,C,y,e){const p=o("openwb-base-heading"),c=o("openwb-base-alert"),_=o("openwb-base-text-input"),f=o("openwb-base-select-input");return h(),g("div",v,[s(p,null,{default:u(()=>[t(" Einstellungen für SonnenBatterie "),n("span",A,"(Modul: "+i(a.$options.name)+")",1)]),_:1}),s(c,{subtype:"info"},{default:u(()=>[t(' Die Leistung steht nur in den Varianten "Rest-API 2" und "JSON-API" zur Verfügung. ')]),_:1}),s(_,{title:"IP oder Hostname",subtype:"host",required:"","model-value":d.configuration.ip_address,"onUpdate:modelValue":r[0]||(r[0]=l=>e.updateConfiguration(l,"configuration.ip_address"))},null,8,["model-value"]),s(f,{title:"Datenverbindung",required:"",notSelected:"Bitte auswählen",options:[{value:0,text:"Rest-API 1 (z.B. ECO 4)"},{value:2,text:"Rest-API 2 (z.B. ECO 6)"},{value:1,text:"JSON-API v1(z.B. ECO 8 oder 10)"},{value:3,text:"JSON-API v2(z.B. ECO 8 oder 10)"}],"model-value":d.configuration.variant,"onUpdate:modelValue":r[1]||(r[1]=l=>e.updateConfiguration(l,"configuration.variant"))},{help:u(()=>[n("span",k,[t(" Je nach Sonnen Batterie muss die richtige Datenverbindung ausgewählt werden. Folgende URLs werden zum Abruf der Daten genutzt und können auch manuell über einen Browser abgefragt werden, um die richtige Einstellung zu finden:"),w,t(" Rest-API 1: "),n("a",{href:e.linkRestApi1,target:"_blank",rel:"noopener noreferrer"},i(e.linkRestApi1),9,B),I,t(" Rest-API 2: "),n("a",{href:e.linkRestApi2,target:"_blank",rel:"noopener noreferrer"},i(e.linkRestApi2),9,J),R,t(" JSON-API v1: "),n("a",{href:e.linkJsonApi1,target:"_blank",rel:"noopener noreferrer"},i(e.linkJsonApi1),9,x),P,t(" JSON-API v2: "),n("a",{href:e.linkJsonApi2,target:"_blank",rel:"noopener noreferrer"},i(e.linkJsonApi2),9,O)])]),_:1},8,["options","model-value"])])}const E=b(m,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/device.vue"]]);export{E as default}; diff --git a/web/settings/assets/device-e2287d8e.js b/web/settings/assets/device-069174a4.js similarity index 90% rename from web/settings/assets/device-e2287d8e.js rename to web/settings/assets/device-069174a4.js index c6229084dc..403c62bf2b 100644 --- a/web/settings/assets/device-e2287d8e.js +++ b/web/settings/assets/device-069174a4.js @@ -1 +1 @@ -import{_ as r,p as u,k as l,l as p,A as o,L as c,u as m,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceBYD",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-byd"},b={class:"small"};function w(n,e,a,x,y,i){const d=u("openwb-base-heading"),s=u("openwb-base-text-input");return l(),p("div",v,[o(d,null,{default:c(()=>[m(" Einstellungen für BYD "),f("span",b,"(Modul: "+_(n.$options.name)+")",1)]),_:1}),o(s,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),o(s,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const V=r(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/byd/device.vue"]]);export{V as default}; +import{_ as r,p as u,k as l,l as p,A as o,L as c,u as m,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceBYD",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-byd"},b={class:"small"};function w(n,e,a,x,y,i){const d=u("openwb-base-heading"),s=u("openwb-base-text-input");return l(),p("div",v,[o(d,null,{default:c(()=>[m(" Einstellungen für BYD "),f("span",b,"(Modul: "+_(n.$options.name)+")",1)]),_:1}),o(s,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),o(s,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const V=r(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/byd/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-f318e9d1.js b/web/settings/assets/device-06aacce1.js similarity index 87% rename from web/settings/assets/device-f318e9d1.js rename to web/settings/assets/device-06aacce1.js index 2d285870ba..e8574aba5c 100644 --- a/web/settings/assets/device-f318e9d1.js +++ b/web/settings/assets/device-06aacce1.js @@ -1 +1 @@ -import{_ as l,p as t,k as u,l as p,A as n,L as c,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceSolarWorld",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},b={class:"device-solar_world"},g={class:"small"};function w(o,e,a,h,x,s){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return u(),p("div",b,[n(i,null,{default:c(()=>[_(" Einstellungen für SolarWorld "),f("span",g,"(Modul: "+m(o.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_world/device.vue"]]);export{V as default}; +import{_ as l,p as t,k as u,l as p,A as n,L as c,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceSolarWorld",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},b={class:"device-solar_world"},g={class:"small"};function w(o,e,a,h,x,s){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return u(),p("div",b,[n(i,null,{default:c(()=>[_(" Einstellungen für SolarWorld "),f("span",g,"(Modul: "+m(o.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_world/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-e0d2a4a8.js b/web/settings/assets/device-096becce.js similarity index 87% rename from web/settings/assets/device-e0d2a4a8.js rename to web/settings/assets/device-096becce.js index ab6e283f35..b5831c3075 100644 --- a/web/settings/assets/device-e0d2a4a8.js +++ b/web/settings/assets/device-096becce.js @@ -1 +1 @@ -import{_ as u,p as t,k as p,l as c,A as n,L as l,u as _,q as m,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceSmaWebbox",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-sma-webbox"},v={class:"small"};function x(o,e,s,w,h,a){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return p(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für SMA Webbox "),m("span",v,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const C=u(f,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_webbox/device.vue"]]);export{C as default}; +import{_ as u,p as t,k as p,l as c,A as n,L as l,u as _,q as m,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceSmaWebbox",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-sma-webbox"},v={class:"small"};function x(o,e,s,w,h,a){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return p(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für SMA Webbox "),m("span",v,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const C=u(f,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_webbox/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-ea7f847d.js b/web/settings/assets/device-0b9cb375.js similarity index 91% rename from web/settings/assets/device-ea7f847d.js rename to web/settings/assets/device-0b9cb375.js index 71f7389fc7..aee3ffc2cc 100644 --- a/web/settings/assets/device-ea7f847d.js +++ b/web/settings/assets/device-0b9cb375.js @@ -1 +1 @@ -import{_ as p,p as r,k as c,l as m,A as o,L as u,u as l,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceKostalPikoOld",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-kostal-piko-old"},b={class:"small"};function w(n,e,a,k,h,i){const d=r("openwb-base-heading"),s=r("openwb-base-text-input");return c(),m("div",v,[o(d,null,{default:u(()=>[l(" Einstellungen für Kostal Piko (alte Generation) "),f("span",b,"(Modul: "+_(n.$options.name)+")",1)]),_:1}),o(s,{title:"URL",subtype:"url",required:"","model-value":a.configuration.url,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.url"))},{help:u(()=>[l(' Es wird eine komplette URL inklusive Protokoll erwartet. Normalerweise ist der Wechselrichter über "http://IP" zu erreichen. ')]),_:1},8,["model-value"]),o(s,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const V=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko_old/device.vue"]]);export{V as default}; +import{_ as p,p as r,k as c,l as m,A as o,L as u,u as l,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceKostalPikoOld",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-kostal-piko-old"},b={class:"small"};function w(n,e,a,k,h,i){const d=r("openwb-base-heading"),s=r("openwb-base-text-input");return c(),m("div",v,[o(d,null,{default:u(()=>[l(" Einstellungen für Kostal Piko (alte Generation) "),f("span",b,"(Modul: "+_(n.$options.name)+")",1)]),_:1}),o(s,{title:"URL",subtype:"url",required:"","model-value":a.configuration.url,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.url"))},{help:u(()=>[l(' Es wird eine komplette URL inklusive Protokoll erwartet. Normalerweise ist der Wechselrichter über "http://IP" zu erreichen. ')]),_:1},8,["model-value"]),o(s,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const V=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko_old/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-d19037af.js b/web/settings/assets/device-0d2be2be.js similarity index 89% rename from web/settings/assets/device-d19037af.js rename to web/settings/assets/device-0d2be2be.js index 012b2cfafb..12162fac97 100644 --- a/web/settings/assets/device-d19037af.js +++ b/web/settings/assets/device-0d2be2be.js @@ -1 +1 @@ -import{_ as d,p as u,k as l,l as p,A as n,L as c,u as f,q as m,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DevicePowerfox",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-powerfox"},w={class:"small"};function b(o,e,a,x,B,s){const r=u("openwb-base-heading"),i=u("openwb-base-text-input");return l(),p("div",v,[n(r,null,{default:c(()=>[f(" Einstellungen für Powerfox "),m("span",w,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),n(i,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[0]||(e[0]=t=>s.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=t=>s.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const h=d(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerfox/device.vue"]]);export{h as default}; +import{_ as d,p as u,k as l,l as p,A as n,L as c,u as f,q as m,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DevicePowerfox",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-powerfox"},w={class:"small"};function b(o,e,a,x,B,s){const r=u("openwb-base-heading"),i=u("openwb-base-text-input");return l(),p("div",v,[n(r,null,{default:c(()=>[f(" Einstellungen für Powerfox "),m("span",w,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),n(i,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[0]||(e[0]=t=>s.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=t=>s.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const h=d(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerfox/device.vue"]]);export{h as default}; diff --git a/web/settings/assets/device-d24b934b.js b/web/settings/assets/device-12b0923a.js similarity index 90% rename from web/settings/assets/device-d24b934b.js rename to web/settings/assets/device-12b0923a.js index 74b5cc45ee..2de725ab47 100644 --- a/web/settings/assets/device-d24b934b.js +++ b/web/settings/assets/device-12b0923a.js @@ -1 +1 @@ -import{_ as l,p as u,k as p,l as m,A as t,L as c,u as _,q as f,x as v}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSolarView",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-solar-view"},w={class:"small"};function x(n,e,i,V,C,a){const s=u("openwb-base-heading"),r=u("openwb-base-text-input"),d=u("openwb-base-number-input");return p(),m("div",g,[t(s,null,{default:c(()=>[_(" Einstellungen für SolarView "),f("span",w,"(Modul: "+v(n.$options.name)+")",1)]),_:1}),t(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),t(d,{title:"Port",required:"",min:1,max:65535,"model-value":i.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.port"))},null,8,["model-value"]),t(d,{title:"Timeout",required:"","model-value":i.configuration.timeout,"onUpdate:modelValue":e[2]||(e[2]=o=>a.updateConfiguration(o,"configuration.timeout"))},null,8,["model-value"])])}const h=l(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_view/device.vue"]]);export{h as default}; +import{_ as l,p as u,k as p,l as m,A as t,L as c,u as _,q as f,x as v}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSolarView",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-solar-view"},w={class:"small"};function x(n,e,i,V,C,a){const s=u("openwb-base-heading"),r=u("openwb-base-text-input"),d=u("openwb-base-number-input");return p(),m("div",g,[t(s,null,{default:c(()=>[_(" Einstellungen für SolarView "),f("span",w,"(Modul: "+v(n.$options.name)+")",1)]),_:1}),t(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),t(d,{title:"Port",required:"",min:1,max:65535,"model-value":i.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.port"))},null,8,["model-value"]),t(d,{title:"Timeout",required:"","model-value":i.configuration.timeout,"onUpdate:modelValue":e[2]||(e[2]=o=>a.updateConfiguration(o,"configuration.timeout"))},null,8,["model-value"])])}const h=l(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_view/device.vue"]]);export{h as default}; diff --git a/web/settings/assets/device-97b30c5e.js b/web/settings/assets/device-200906d2.js similarity index 86% rename from web/settings/assets/device-97b30c5e.js rename to web/settings/assets/device-200906d2.js index 15b095743e..05bd799628 100644 --- a/web/settings/assets/device-97b30c5e.js +++ b/web/settings/assets/device-200906d2.js @@ -1 +1 @@ -import{_ as u,p as o,k as c,l as p,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceRCT",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-rct"},g={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return c(),p("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für RCT "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/device.vue"]]);export{V as default}; +import{_ as u,p as o,k as c,l as p,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceRCT",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-rct"},g={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return c(),p("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für RCT "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-fe816f89.js b/web/settings/assets/device-251abbf7.js similarity index 88% rename from web/settings/assets/device-fe816f89.js rename to web/settings/assets/device-251abbf7.js index 79fa1f2e86..631d680fdd 100644 --- a/web/settings/assets/device-fe816f89.js +++ b/web/settings/assets/device-251abbf7.js @@ -1 +1 @@ -import{_ as l,p as s,k as c,l as p,A as o,L as a,u as n,q as i,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceMqtt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-mqtt"},f={class:"small"},b=i("br",null,null,-1);function g(e,t,v,h,w,k){const r=s("openwb-base-heading"),d=s("openwb-base-alert");return c(),p("div",m,[o(r,null,{default:a(()=>[n(" Einstellungen für MQTT "),i("span",f,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(d,{subtype:"info"},{default:a(()=>[n(" Das MQTT Modul stellt keine aktive Verbindung her, sondern erwartet, dass die Daten an spezielle Topics im Broker gesendet werden."),b,n(" Alle Daten sind als gültiges JSON zu senden! Zahlen mit Nachkommastellen (Float) müssen einen Punkt als Dezimaltrenner verwenden (internationales Format). ")]),_:1})])}const $=l(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/device.vue"]]);export{$ as default}; +import{_ as l,p as s,k as c,l as p,A as o,L as a,u as n,q as i,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceMqtt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-mqtt"},f={class:"small"},b=i("br",null,null,-1);function g(e,t,v,h,w,k){const r=s("openwb-base-heading"),d=s("openwb-base-alert");return c(),p("div",m,[o(r,null,{default:a(()=>[n(" Einstellungen für MQTT "),i("span",f,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(d,{subtype:"info"},{default:a(()=>[n(" Das MQTT Modul stellt keine aktive Verbindung her, sondern erwartet, dass die Daten an spezielle Topics im Broker gesendet werden."),b,n(" Alle Daten sind als gültiges JSON zu senden! Zahlen mit Nachkommastellen (Float) müssen einen Punkt als Dezimaltrenner verwenden (internationales Format). ")]),_:1})])}const $=l(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/device.vue"]]);export{$ as default}; diff --git a/web/settings/assets/device-a0ff21f9.js b/web/settings/assets/device-257883d3.js similarity index 87% rename from web/settings/assets/device-a0ff21f9.js rename to web/settings/assets/device-257883d3.js index 8674167ac6..11a94e562a 100644 --- a/web/settings/assets/device-a0ff21f9.js +++ b/web/settings/assets/device-257883d3.js @@ -1 +1 @@ -import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceKostalSEM",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-kostal-sem"},b={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",v,[n(i,null,{default:l(()=>[_(" Einstellungen für Kostal Smart Energy Meter oder TQ EM 410 "),m("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const y=u(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_sem/device.vue"]]);export{y as default}; +import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceKostalSEM",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-kostal-sem"},b={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",v,[n(i,null,{default:l(()=>[_(" Einstellungen für Kostal Smart Energy Meter oder TQ EM 410 "),m("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const y=u(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_sem/device.vue"]]);export{y as default}; diff --git a/web/settings/assets/device-3655301d.js b/web/settings/assets/device-26197f87.js similarity index 85% rename from web/settings/assets/device-3655301d.js rename to web/settings/assets/device-26197f87.js index 53fda7f813..d616ecccfe 100644 --- a/web/settings/assets/device-3655301d.js +++ b/web/settings/assets/device-26197f87.js @@ -1 +1 @@ -import{_ as p,p as n,k as r,l as d,A as o,L as s,u as a,q as u,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const l={name:"DeviceOpenwbEvuKit",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-openwb-evukit"},b={class:"small"};function m(e,t,v,g,w,h){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openWB EVU-Kit "),u("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const x=p(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/device.vue"]]);export{x as default}; +import{_ as p,p as n,k as r,l as d,A as o,L as s,u as a,q as u,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const l={name:"DeviceOpenwbEvuKit",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-openwb-evukit"},b={class:"small"};function m(e,t,v,g,w,h){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openWB EVU-Kit "),u("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const x=p(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/device.vue"]]);export{x as default}; diff --git a/web/settings/assets/device-cc6945a4.js b/web/settings/assets/device-2b936d3e.js similarity index 89% rename from web/settings/assets/device-cc6945a4.js rename to web/settings/assets/device-2b936d3e.js index c8dd829cc8..aa9bd1e808 100644 --- a/web/settings/assets/device-cc6945a4.js +++ b/web/settings/assets/device-2b936d3e.js @@ -1 +1 @@ -import{_ as d,p as u,k as l,l as p,A as n,L as c,u as m,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSmartMe",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-smart-me"},b={class:"small"};function w(t,e,a,x,B,s){const r=u("openwb-base-heading"),i=u("openwb-base-text-input");return l(),p("div",v,[n(r,null,{default:c(()=>[m(" Einstellungen für smart-me "),f("span",b,"(Modul: "+_(t.$options.name)+")",1)]),_:1}),n(i,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[0]||(e[0]=o=>s.updateConfiguration(o,"configuration.user"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=o=>s.updateConfiguration(o,"configuration.password"))},null,8,["model-value"])])}const h=d(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smart_me/device.vue"]]);export{h as default}; +import{_ as d,p as u,k as l,l as p,A as n,L as c,u as m,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSmartMe",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-smart-me"},b={class:"small"};function w(t,e,a,x,B,s){const r=u("openwb-base-heading"),i=u("openwb-base-text-input");return l(),p("div",v,[n(r,null,{default:c(()=>[m(" Einstellungen für smart-me "),f("span",b,"(Modul: "+_(t.$options.name)+")",1)]),_:1}),n(i,{title:"Benutzername",subtype:"user",required:"","model-value":a.configuration.user,"onUpdate:modelValue":e[0]||(e[0]=o=>s.updateConfiguration(o,"configuration.user"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=o=>s.updateConfiguration(o,"configuration.password"))},null,8,["model-value"])])}const h=d(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smart_me/device.vue"]]);export{h as default}; diff --git a/web/settings/assets/device-3e5103ec.js b/web/settings/assets/device-2b9dfbfd.js similarity index 89% rename from web/settings/assets/device-3e5103ec.js rename to web/settings/assets/device-2b9dfbfd.js index 28792719b5..99a1d734bf 100644 --- a/web/settings/assets/device-3e5103ec.js +++ b/web/settings/assets/device-2b9dfbfd.js @@ -1 +1 @@ -import{_ as r,p as u,k as l,l as c,A as n,L as p,u as f,q as m,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceDiscovergy",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-discovergy"},b={class:"small"};function w(o,e,s,y,x,a){const d=u("openwb-base-heading"),i=u("openwb-base-text-input");return l(),c("div",v,[n(d,null,{default:p(()=>[f(" Einstellungen für Discovergy "),m("span",b,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),n(i,{title:"Benutzername",subtype:"user",required:"","model-value":s.configuration.user,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":s.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const V=r(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/discovergy/device.vue"]]);export{V as default}; +import{_ as r,p as u,k as l,l as c,A as n,L as p,u as f,q as m,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceDiscovergy",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-discovergy"},b={class:"small"};function w(o,e,s,y,x,a){const d=u("openwb-base-heading"),i=u("openwb-base-text-input");return l(),c("div",v,[n(d,null,{default:p(()=>[f(" Einstellungen für Discovergy "),m("span",b,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),n(i,{title:"Benutzername",subtype:"user",required:"","model-value":s.configuration.user,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.user"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":s.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const V=r(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/discovergy/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-8e20e7a5.js b/web/settings/assets/device-2ef31fc4.js similarity index 88% rename from web/settings/assets/device-8e20e7a5.js rename to web/settings/assets/device-2ef31fc4.js index 5865f8c9a9..fa075e966e 100644 --- a/web/settings/assets/device-8e20e7a5.js +++ b/web/settings/assets/device-2ef31fc4.js @@ -1 +1 @@ -import{_ as l,p as n,k as _,l as m,A as o,L as s,u as i,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSiemens",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-siemens"},h={class:"small"};function w(t,e,a,x,S,d){const r=n("openwb-base-heading"),p=n("openwb-base-alert"),u=n("openwb-base-text-input");return _(),m("div",v,[o(r,null,{default:s(()=>[i(" Einstellungen für Siemens "),f("span",h,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[i(" Im Siemens-Speicher muss die Schnittstelle openWB gewählt werden. ")]),_:1}),o(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>d.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const y=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/device.vue"]]);export{y as default}; +import{_ as l,p as n,k as _,l as m,A as o,L as s,u as i,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSiemens",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-siemens"},h={class:"small"};function w(t,e,a,x,S,d){const r=n("openwb-base-heading"),p=n("openwb-base-alert"),u=n("openwb-base-text-input");return _(),m("div",v,[o(r,null,{default:s(()=>[i(" Einstellungen für Siemens "),f("span",h,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[i(" Im Siemens-Speicher muss die Schnittstelle openWB gewählt werden. ")]),_:1}),o(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>d.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const y=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/device.vue"]]);export{y as default}; diff --git a/web/settings/assets/device-8624bdf2.js b/web/settings/assets/device-30d34105.js similarity index 96% rename from web/settings/assets/device-8624bdf2.js rename to web/settings/assets/device-30d34105.js index d94d891138..1c55423a2d 100644 --- a/web/settings/assets/device-8624bdf2.js +++ b/web/settings/assets/device-30d34105.js @@ -1 +1 @@ -import{_,p as n,k as b,l as f,A as t,L as a,u as o,q as u,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DeviceSolarEdge",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"device-solaredge"},w={class:"small"},B=u("br",null,null,-1);function S(i,e,s,k,W,d){const l=n("openwb-base-heading"),p=n("openwb-base-alert"),c=n("openwb-base-text-input"),m=n("openwb-base-number-input");return b(),f("div",v,[t(l,null,{default:a(()=>[o(" Einstellungen für SolarEdge "),u("span",w,"(Modul: "+g(i.$options.name)+")",1)]),_:1}),t(p,{subtype:"info"},{default:a(()=>[o(" ModbusTCP muss im Wechselrichter aktiviert werden und der Wechselrichter per LAN angebunden sein."),B,o(" SolarEdge lässt nur eine ModbusTCP-Verbindung zu. Wenn Sie mit einem weiteren Smarthome-System, wie z.B. ioBroker oder openHAB, den SolarEdge-Wechselrichter abfragen, kann dies die Abfrage durch die openWB stören oder verhindern. ")]),_:1}),t(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>d.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"]),t(m,{title:"Port",required:"","model-value":s.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=r=>d.updateConfiguration(r,"configuration.port"))},{help:a(()=>[o(" Je nach Produktionsdatum und Softwareversion ist 502 oder 1502 ab Werk eingestellt. Bitte im Wechselrichter überprüfen. ")]),_:1},8,["model-value"])])}const E=_(h,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/device.vue"]]);export{E as default}; +import{_,p as n,k as b,l as f,A as t,L as a,u as o,q as u,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DeviceSolarEdge",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"device-solaredge"},w={class:"small"},B=u("br",null,null,-1);function S(i,e,s,k,W,d){const l=n("openwb-base-heading"),p=n("openwb-base-alert"),c=n("openwb-base-text-input"),m=n("openwb-base-number-input");return b(),f("div",v,[t(l,null,{default:a(()=>[o(" Einstellungen für SolarEdge "),u("span",w,"(Modul: "+g(i.$options.name)+")",1)]),_:1}),t(p,{subtype:"info"},{default:a(()=>[o(" ModbusTCP muss im Wechselrichter aktiviert werden und der Wechselrichter per LAN angebunden sein."),B,o(" SolarEdge lässt nur eine ModbusTCP-Verbindung zu. Wenn Sie mit einem weiteren Smarthome-System, wie z.B. ioBroker oder openHAB, den SolarEdge-Wechselrichter abfragen, kann dies die Abfrage durch die openWB stören oder verhindern. ")]),_:1}),t(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>d.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"]),t(m,{title:"Port",required:"","model-value":s.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=r=>d.updateConfiguration(r,"configuration.port"))},{help:a(()=>[o(" Je nach Produktionsdatum und Softwareversion ist 502 oder 1502 ab Werk eingestellt. Bitte im Wechselrichter überprüfen. ")]),_:1},8,["model-value"])])}const E=_(h,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/device.vue"]]);export{E as default}; diff --git a/web/settings/assets/device-6dcdb017.js b/web/settings/assets/device-31a6215d.js similarity index 89% rename from web/settings/assets/device-6dcdb017.js rename to web/settings/assets/device-31a6215d.js index 40020703a1..0e95c75e3c 100644 --- a/web/settings/assets/device-6dcdb017.js +++ b/web/settings/assets/device-31a6215d.js @@ -1 +1 @@ -import{_ as l,p as t,k as p,l as c,A as a,L as _,u as m,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceGoodWe",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-goodwe"},w={class:"small"};function x(o,e,i,h,C,s){const d=t("openwb-base-heading"),u=t("openwb-base-text-input"),r=t("openwb-base-number-input");return p(),c("div",v,[a(d,null,{default:_(()=>[m(" Einstellungen für GoodWe "),f("span",w,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(r,{title:"Modbus ID","model-value":i.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"])])}const k=l(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/device.vue"]]);export{k as default}; +import{_ as l,p as t,k as p,l as c,A as a,L as _,u as m,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceGoodWe",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-goodwe"},w={class:"small"};function x(o,e,i,h,C,s){const d=t("openwb-base-heading"),u=t("openwb-base-text-input"),r=t("openwb-base-number-input");return p(),c("div",v,[a(d,null,{default:_(()=>[m(" Einstellungen für GoodWe "),f("span",w,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(r,{title:"Modbus ID","model-value":i.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"])])}const k=l(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/device.vue"]]);export{k as default}; diff --git a/web/settings/assets/device-66390e02.js b/web/settings/assets/device-35022d1c.js similarity index 87% rename from web/settings/assets/device-66390e02.js rename to web/settings/assets/device-35022d1c.js index 7afd472ad1..882365c0ec 100644 --- a/web/settings/assets/device-66390e02.js +++ b/web/settings/assets/device-35022d1c.js @@ -1 +1 @@ -import{_ as u,p as t,k as c,l as p,A as a,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceCarloGavazzi",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-carlogavazzi"},b={class:"small"};function z(o,e,n,h,x,s){const i=t("openwb-base-heading"),r=t("openwb-base-text-input");return c(),p("div",g,[a(i,null,{default:l(()=>[_(" Einstellungen für Carlo Gavazzi "),m("span",b,"(Modul: "+f(o.$options.name)+")",1)]),_:1}),a(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":n.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=d=>s.updateConfiguration(d,"configuration.ip_address"))},null,8,["model-value"])])}const q=u(v,[["render",z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/carlo_gavazzi/device.vue"]]);export{q as default}; +import{_ as u,p as t,k as c,l as p,A as a,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceCarloGavazzi",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-carlogavazzi"},b={class:"small"};function z(o,e,n,h,x,s){const i=t("openwb-base-heading"),r=t("openwb-base-text-input");return c(),p("div",g,[a(i,null,{default:l(()=>[_(" Einstellungen für Carlo Gavazzi "),m("span",b,"(Modul: "+f(o.$options.name)+")",1)]),_:1}),a(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":n.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=d=>s.updateConfiguration(d,"configuration.ip_address"))},null,8,["model-value"])])}const q=u(v,[["render",z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/carlo_gavazzi/device.vue"]]);export{q as default}; diff --git a/web/settings/assets/device-b5264b36.js b/web/settings/assets/device-35901d10.js similarity index 87% rename from web/settings/assets/device-b5264b36.js rename to web/settings/assets/device-35901d10.js index dce6d142a6..2048a00c4c 100644 --- a/web/settings/assets/device-b5264b36.js +++ b/web/settings/assets/device-35901d10.js @@ -1 +1 @@ -import{_ as u,p as n,k as p,l as c,A as o,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceJanitza",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-janitza"},v={class:"small"};function h(t,e,a,x,w,s){const i=n("openwb-base-heading"),d=n("openwb-base-text-input");return p(),c("div",g,[o(i,null,{default:l(()=>[_(" Einstellungen für Janitza "),m("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const z=u(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/janitza/device.vue"]]);export{z as default}; +import{_ as u,p as n,k as p,l as c,A as o,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceJanitza",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-janitza"},v={class:"small"};function h(t,e,a,x,w,s){const i=n("openwb-base-heading"),d=n("openwb-base-text-input");return p(),c("div",g,[o(i,null,{default:l(()=>[_(" Einstellungen für Janitza "),m("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const z=u(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/janitza/device.vue"]]);export{z as default}; diff --git a/web/settings/assets/device-e267acda.js b/web/settings/assets/device-3c21b478.js similarity index 91% rename from web/settings/assets/device-e267acda.js rename to web/settings/assets/device-3c21b478.js index 3692b15d78..644a7b39de 100644 --- a/web/settings/assets/device-e267acda.js +++ b/web/settings/assets/device-3c21b478.js @@ -1 +1 @@ -import{_ as c,p as o,k as _,l as m,A as a,L as d,u as r,q as f,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSolarwatt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-solarwatt"},w={class:"small"};function h(t,e,s,x,y,i){const l=o("openwb-base-heading"),u=o("openwb-base-text-input"),p=o("openwb-base-select-input");return _(),m("div",v,[a(l,null,{default:d(()=>[r(" Einstellungen für Solarwatt/My Reserve "),f("span",w,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(p,{title:"Abrufmethode",notSelected:"Bitte auswählen",options:[{value:0,text:"Gateway"},{value:1,text:"Energy Manager"}],"model-value":s.configuration.energy_manager,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n,"configuration.energy_manager"))},{help:d(()=>[r(" Wenn beide Abrufmethoden verwendet werden sollen, muss für jede Methode ein Gerät erstellt werden. ")]),_:1},8,["model-value"])])}const V=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/device.vue"]]);export{V as default}; +import{_ as c,p as o,k as _,l as m,A as a,L as d,u as r,q as f,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSolarwatt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-solarwatt"},w={class:"small"};function h(t,e,s,x,y,i){const l=o("openwb-base-heading"),u=o("openwb-base-text-input"),p=o("openwb-base-select-input");return _(),m("div",v,[a(l,null,{default:d(()=>[r(" Einstellungen für Solarwatt/My Reserve "),f("span",w,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(p,{title:"Abrufmethode",notSelected:"Bitte auswählen",options:[{value:0,text:"Gateway"},{value:1,text:"Energy Manager"}],"model-value":s.configuration.energy_manager,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n,"configuration.energy_manager"))},{help:d(()=>[r(" Wenn beide Abrufmethoden verwendet werden sollen, muss für jede Methode ein Gerät erstellt werden. ")]),_:1},8,["model-value"])])}const V=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-fbb4e2b8.js b/web/settings/assets/device-3c57de7c.js similarity index 87% rename from web/settings/assets/device-fbb4e2b8.js rename to web/settings/assets/device-3c57de7c.js index 3111060ada..d8226591b0 100644 --- a/web/settings/assets/device-fbb4e2b8.js +++ b/web/settings/assets/device-3c57de7c.js @@ -1 +1 @@ -import{_ as u,p as t,k as l,l as p,A as n,L as c,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSolarLog",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-solar_log"},b={class:"small"};function h(o,e,a,x,w,s){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return l(),p("div",v,[n(i,null,{default:c(()=>[_(" Einstellungen für Solar-Log "),f("span",b,"(Modul: "+m(o.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_log/device.vue"]]);export{V as default}; +import{_ as u,p as t,k as l,l as p,A as n,L as c,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSolarLog",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-solar_log"},b={class:"small"};function h(o,e,a,x,w,s){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return l(),p("div",v,[n(i,null,{default:c(()=>[_(" Einstellungen für Solar-Log "),f("span",b,"(Modul: "+m(o.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_log/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-23bce111.js b/web/settings/assets/device-3dd908eb.js similarity index 85% rename from web/settings/assets/device-23bce111.js rename to web/settings/assets/device-3dd908eb.js index d8e1d1a13e..3b1c14b7a2 100644 --- a/web/settings/assets/device-23bce111.js +++ b/web/settings/assets/device-3dd908eb.js @@ -1 +1 @@ -import{_ as p,p as n,k as r,l as d,A as o,L as s,u as a,q as u,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const l={name:"DeviceOpenwbBatKit",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-openwb-batkit"},b={class:"small"};function m(e,t,v,g,h,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openWB Speicher-Kit "),u("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const $=p(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_bat_kit/device.vue"]]);export{$ as default}; +import{_ as p,p as n,k as r,l as d,A as o,L as s,u as a,q as u,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const l={name:"DeviceOpenwbBatKit",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-openwb-batkit"},b={class:"small"};function m(e,t,v,g,h,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openWB Speicher-Kit "),u("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const $=p(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_bat_kit/device.vue"]]);export{$ as default}; diff --git a/web/settings/assets/device-754c79d4.js b/web/settings/assets/device-44b90709.js similarity index 87% rename from web/settings/assets/device-754c79d4.js rename to web/settings/assets/device-44b90709.js index 3cde7dbb09..3abc99b576 100644 --- a/web/settings/assets/device-754c79d4.js +++ b/web/settings/assets/device-44b90709.js @@ -1 +1 @@ -import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceBatterX",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-batterx"},g={class:"small"};function x(t,e,a,h,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",v,[n(i,null,{default:l(()=>[_(" Einstellungen für BatterX "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/device.vue"]]);export{V as default}; +import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceBatterX",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-batterx"},g={class:"small"};function x(t,e,a,h,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",v,[n(i,null,{default:l(()=>[_(" Einstellungen für BatterX "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-d2579249.js b/web/settings/assets/device-4db77fbf.js similarity index 89% rename from web/settings/assets/device-d2579249.js rename to web/settings/assets/device-4db77fbf.js index faaf177b39..bc18ae303b 100644 --- a/web/settings/assets/device-d2579249.js +++ b/web/settings/assets/device-4db77fbf.js @@ -1 +1 @@ -import{_ as r,p as d,k as l,l as p,A as n,L as c,u as f,q as m,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceLG",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-lg"},b={class:"small"};function w(t,e,a,x,V,s){const u=d("openwb-base-heading"),i=d("openwb-base-text-input");return l(),p("div",v,[n(u,null,{default:c(()=>[f(" Einstellungen für LG ESS V1.0 "),m("span",b,"(Modul: "+_(t.$options.name)+")",1)]),_:1}),n(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>s.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=o=>s.updateConfiguration(o,"configuration.password"))},null,8,["model-value"])])}const q=r(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/device.vue"]]);export{q as default}; +import{_ as r,p as d,k as l,l as p,A as n,L as c,u as f,q as m,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceLG",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-lg"},b={class:"small"};function w(t,e,a,x,V,s){const u=d("openwb-base-heading"),i=d("openwb-base-text-input");return l(),p("div",v,[n(u,null,{default:c(()=>[f(" Einstellungen für LG ESS V1.0 "),m("span",b,"(Modul: "+_(t.$options.name)+")",1)]),_:1}),n(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>s.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=o=>s.updateConfiguration(o,"configuration.password"))},null,8,["model-value"])])}const q=r(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/device.vue"]]);export{q as default}; diff --git a/web/settings/assets/device-fa83b2df.js b/web/settings/assets/device-4f8b9c66.js similarity index 90% rename from web/settings/assets/device-fa83b2df.js rename to web/settings/assets/device-4f8b9c66.js index e85b234995..e56ca797cd 100644 --- a/web/settings/assets/device-fa83b2df.js +++ b/web/settings/assets/device-4f8b9c66.js @@ -1 +1 @@ -import{_ as c,p as t,k as m,l as _,A as a,L as u,u as d,q as b,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSolax",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-solax"},x={class:"small"};function w(o,e,i,h,q,s){const r=t("openwb-base-heading"),l=t("openwb-base-text-input"),p=t("openwb-base-number-input");return m(),_("div",v,[a(r,null,{default:u(()=>[d(" Einstellungen für Solax "),b("span",x,"(Modul: "+f(o.$options.name)+")",1)]),_:1}),a(l,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(p,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":i.configuration.modbus_id,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.modbus_id"))},{help:u(()=>[d(" Für Gen3 ID=0, für Gen4 meistens > 2. ")]),_:1},8,["model-value"])])}const B=c(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/device.vue"]]);export{B as default}; +import{_ as c,p as t,k as m,l as _,A as a,L as u,u as d,q as b,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSolax",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-solax"},x={class:"small"};function w(o,e,i,h,q,s){const r=t("openwb-base-heading"),l=t("openwb-base-text-input"),p=t("openwb-base-number-input");return m(),_("div",v,[a(r,null,{default:u(()=>[d(" Einstellungen für Solax "),b("span",x,"(Modul: "+f(o.$options.name)+")",1)]),_:1}),a(l,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(p,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":i.configuration.modbus_id,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.modbus_id"))},{help:u(()=>[d(" Für Gen3 ID=0, für Gen4 meistens > 2. ")]),_:1},8,["model-value"])])}const B=c(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-9af937ef.js b/web/settings/assets/device-5a99ea2b.js similarity index 87% rename from web/settings/assets/device-9af937ef.js rename to web/settings/assets/device-5a99ea2b.js index e5ff814fbc..4f31f0ec47 100644 --- a/web/settings/assets/device-9af937ef.js +++ b/web/settings/assets/device-5a99ea2b.js @@ -1 +1 @@ -import{_ as c,p as o,k as u,l as p,A as n,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceVictron",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-victron"},g={class:"small"};function h(t,e,s,x,w,i){const a=o("openwb-base-heading"),r=o("openwb-base-text-input");return u(),p("div",b,[n(a,null,{default:l(()=>[_(" Einstellungen für Victron "),m("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.ip_address"))},null,8,["model-value"])])}const B=c(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/device.vue"]]);export{B as default}; +import{_ as c,p as o,k as u,l as p,A as n,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceVictron",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-victron"},g={class:"small"};function h(t,e,s,x,w,i){const a=o("openwb-base-heading"),r=o("openwb-base-text-input");return u(),p("div",b,[n(a,null,{default:l(()=>[_(" Einstellungen für Victron "),m("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.ip_address"))},null,8,["model-value"])])}const B=c(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-d985fa3e.js b/web/settings/assets/device-5bf0fe4e.js similarity index 85% rename from web/settings/assets/device-d985fa3e.js rename to web/settings/assets/device-5bf0fe4e.js index 58177457f9..3055e29f25 100644 --- a/web/settings/assets/device-d985fa3e.js +++ b/web/settings/assets/device-5bf0fe4e.js @@ -1 +1 @@ -import{_ as c,p as n,k as r,l as d,A as o,L as s,u as a,q as u,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const l={name:"DeviceOpenwbPvKit",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-openwb-pvkit"},b={class:"small"};function m(e,t,v,g,w,h){const i=n("openwb-base-heading"),p=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openWB PV-Kit "),u("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const x=c(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_pv_kit/device.vue"]]);export{x as default}; +import{_ as c,p as n,k as r,l as d,A as o,L as s,u as a,q as u,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const l={name:"DeviceOpenwbPvKit",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-openwb-pvkit"},b={class:"small"};function m(e,t,v,g,w,h){const i=n("openwb-base-heading"),p=n("openwb-base-alert");return r(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openWB PV-Kit "),u("span",b,"(Modul: "+_(e.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const x=c(l,[["render",m],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_pv_kit/device.vue"]]);export{x as default}; diff --git a/web/settings/assets/device-07cad830.js b/web/settings/assets/device-6c28e47d.js similarity index 87% rename from web/settings/assets/device-07cad830.js rename to web/settings/assets/device-6c28e47d.js index 85c49cdcf0..1b1e37bc28 100644 --- a/web/settings/assets/device-07cad830.js +++ b/web/settings/assets/device-6c28e47d.js @@ -1 +1 @@ -import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceSolarmax",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-solarmax"},g={class:"small"};function x(t,e,a,h,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Solarmax "),m("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(v,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solarmax/device.vue"]]);export{V as default}; +import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceSolarmax",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-solarmax"},g={class:"small"};function x(t,e,a,h,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Solarmax "),m("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(v,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solarmax/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-77154bdc.js b/web/settings/assets/device-6ed0182e.js similarity index 87% rename from web/settings/assets/device-77154bdc.js rename to web/settings/assets/device-6ed0182e.js index 184a5a2548..fff42a560c 100644 --- a/web/settings/assets/device-77154bdc.js +++ b/web/settings/assets/device-6ed0182e.js @@ -1 +1 @@ -import{_ as p,p as t,k as u,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSaxpower",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-saxpower"},v={class:"small"};function x(o,e,a,w,h,s){const i=t("openwb-base-heading"),r=t("openwb-base-text-input");return u(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für Saxpower "),m("span",v,"(Modul: "+f(o.$options.name)+")",1)]),_:1}),n(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=d=>s.updateConfiguration(d,"configuration.ip_address"))},null,8,["model-value"])])}const C=p(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/saxpower/device.vue"]]);export{C as default}; +import{_ as p,p as t,k as u,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSaxpower",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},g={class:"device-saxpower"},v={class:"small"};function x(o,e,a,w,h,s){const i=t("openwb-base-heading"),r=t("openwb-base-text-input");return u(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für Saxpower "),m("span",v,"(Modul: "+f(o.$options.name)+")",1)]),_:1}),n(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=d=>s.updateConfiguration(d,"configuration.ip_address"))},null,8,["model-value"])])}const C=p(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/saxpower/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-6d3151c9.js b/web/settings/assets/device-73bfcf66.js similarity index 90% rename from web/settings/assets/device-6d3151c9.js rename to web/settings/assets/device-73bfcf66.js index 1c4f52d142..b233e620f3 100644 --- a/web/settings/assets/device-6d3151c9.js +++ b/web/settings/assets/device-73bfcf66.js @@ -1 +1 @@ -import{_ as l,p as d,k as r,l as p,A as o,L as c,u as m,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceTesla",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-tesla"},b={class:"small"};function w(n,e,a,x,C,i){const u=d("openwb-base-heading"),s=d("openwb-base-text-input");return r(),p("div",v,[o(u,null,{default:c(()=>[m(" Einstellungen für Tesla "),f("span",b,"(Modul: "+_(n.$options.name)+")",1)]),_:1}),o(s,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),o(s,{title:"E-Mail",subtype:"email",required:"","model-value":a.configuration.email,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.email"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const y=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/device.vue"]]);export{y as default}; +import{_ as l,p as d,k as r,l as p,A as o,L as c,u as m,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceTesla",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-tesla"},b={class:"small"};function w(n,e,a,x,C,i){const u=d("openwb-base-heading"),s=d("openwb-base-text-input");return r(),p("div",v,[o(u,null,{default:c(()=>[m(" Einstellungen für Tesla "),f("span",b,"(Modul: "+_(n.$options.name)+")",1)]),_:1}),o(s,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>i.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),o(s,{title:"E-Mail",subtype:"email",required:"","model-value":a.configuration.email,"onUpdate:modelValue":e[1]||(e[1]=t=>i.updateConfiguration(t,"configuration.email"))},null,8,["model-value"]),o(s,{title:"Passwort",subtype:"password",required:"","model-value":a.configuration.password,"onUpdate:modelValue":e[2]||(e[2]=t=>i.updateConfiguration(t,"configuration.password"))},null,8,["model-value"])])}const y=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/device.vue"]]);export{y as default}; diff --git a/web/settings/assets/device-7036bd9c.js b/web/settings/assets/device-74f4af9a.js similarity index 87% rename from web/settings/assets/device-7036bd9c.js rename to web/settings/assets/device-74f4af9a.js index 5c5da2c731..ae92296a2e 100644 --- a/web/settings/assets/device-7036bd9c.js +++ b/web/settings/assets/device-74f4af9a.js @@ -1 +1 @@ -import{_ as r,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceYouless",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-youless"},g={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Youless "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>a.updateConfiguration(u,"configuration.ip_address"))},null,8,["model-value"])])}const C=r(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/youless/device.vue"]]);export{C as default}; +import{_ as r,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceYouless",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-youless"},g={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Youless "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>a.updateConfiguration(u,"configuration.ip_address"))},null,8,["model-value"])])}const C=r(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/youless/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-3b276a43.js b/web/settings/assets/device-799902c4.js similarity index 89% rename from web/settings/assets/device-3b276a43.js rename to web/settings/assets/device-799902c4.js index 819df148cf..240b079515 100644 --- a/web/settings/assets/device-3b276a43.js +++ b/web/settings/assets/device-799902c4.js @@ -1 +1 @@ -import{_ as r,p as t,k as p,l as c,A as a,L as m,u as _,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceQCellls",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-qcells"},w={class:"small"};function x(n,e,s,C,h,i){const d=t("openwb-base-heading"),u=t("openwb-base-text-input"),l=t("openwb-base-number-input");return p(),c("div",v,[a(d,null,{default:m(()=>[_(" Einstellungen für QCells ESS "),f("span",w,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>i.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),a(l,{title:"Modbus ID","model-value":s.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=o=>i.updateConfiguration(o,"configuration.modbus_id"))},null,8,["model-value"])])}const B=r(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/device.vue"]]);export{B as default}; +import{_ as r,p as t,k as p,l as c,A as a,L as m,u as _,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceQCellls",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-qcells"},w={class:"small"};function x(n,e,s,C,h,i){const d=t("openwb-base-heading"),u=t("openwb-base-text-input"),l=t("openwb-base-number-input");return p(),c("div",v,[a(d,null,{default:m(()=>[_(" Einstellungen für QCells ESS "),f("span",w,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>i.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),a(l,{title:"Modbus ID","model-value":s.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=o=>i.updateConfiguration(o,"configuration.modbus_id"))},null,8,["model-value"])])}const B=r(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-e6e344e5.js b/web/settings/assets/device-7cf9858a.js similarity index 92% rename from web/settings/assets/device-e6e344e5.js rename to web/settings/assets/device-7cf9858a.js index 4244cfa11b..b3d47b6ce1 100644 --- a/web/settings/assets/device-e6e344e5.js +++ b/web/settings/assets/device-7cf9858a.js @@ -1 +1 @@ -import{_ as c,p as t,k as _,l as b,A as o,L as s,u as d,q as f,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceSungrow",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(a,e=void 0){this.$emit("update:configuration",{value:a,object:e})}}},w={class:"device-sungrow"},x={class:"small"};function h(a,e,i,q,C,u){const l=t("openwb-base-heading"),p=t("openwb-base-alert"),m=t("openwb-base-text-input"),r=t("openwb-base-number-input");return _(),b("div",w,[o(l,null,{default:s(()=>[d(" Einstellungen für Sungrow "),f("span",x,"(Modul: "+g(a.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[d(" Bitte zur Fehlervermeidung die Firmware des Sungrow Wechselrichters und WiNet-S Dongels aktuell halten. ")]),_:1}),o(m,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),o(r,{title:"Port",required:"",min:1,max:65535,"model-value":i.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.port"))},null,8,["model-value"]),o(r,{title:"Geräteadresse",required:"",min:1,max:255,"model-value":i.configuration.modbus_id,"onUpdate:modelValue":e[2]||(e[2]=n=>u.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"])])}const S=c(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/device.vue"]]);export{S as default}; +import{_ as c,p as t,k as _,l as b,A as o,L as s,u as d,q as f,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceSungrow",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(a,e=void 0){this.$emit("update:configuration",{value:a,object:e})}}},w={class:"device-sungrow"},x={class:"small"};function h(a,e,i,q,C,u){const l=t("openwb-base-heading"),p=t("openwb-base-alert"),m=t("openwb-base-text-input"),r=t("openwb-base-number-input");return _(),b("div",w,[o(l,null,{default:s(()=>[d(" Einstellungen für Sungrow "),f("span",x,"(Modul: "+g(a.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[d(" Bitte zur Fehlervermeidung die Firmware des Sungrow Wechselrichters und WiNet-S Dongels aktuell halten. ")]),_:1}),o(m,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),o(r,{title:"Port",required:"",min:1,max:65535,"model-value":i.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.port"))},null,8,["model-value"]),o(r,{title:"Geräteadresse",required:"",min:1,max:255,"model-value":i.configuration.modbus_id,"onUpdate:modelValue":e[2]||(e[2]=n=>u.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"])])}const S=c(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/device.vue"]]);export{S as default}; diff --git a/web/settings/assets/device-b367b6ae.js b/web/settings/assets/device-82f9f07e.js similarity index 94% rename from web/settings/assets/device-b367b6ae.js rename to web/settings/assets/device-82f9f07e.js index aa6d241b46..7a6ff2e730 100644 --- a/web/settings/assets/device-b367b6ae.js +++ b/web/settings/assets/device-82f9f07e.js @@ -1 +1 @@ -import{_ as r,p as u,k as p,l,A as n,L as c,u as m,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSunways",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-sunways"},w={class:"small"};function b(t,e,s,y,x,a){const d=u("openwb-base-heading"),i=u("openwb-base-text-input");return p(),l("div",v,[n(d,null,{default:c(()=>[m(" Einstellungen für Sunways "),_("span",w,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":s.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.password"))},null,8,["model-value"])])}const C=r(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sunways/device.vue"]]);export{C as default}; +import{_ as r,p as u,k as p,l,A as n,L as c,u as m,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSunways",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-sunways"},w={class:"small"};function b(t,e,s,y,x,a){const d=u("openwb-base-heading"),i=u("openwb-base-text-input");return p(),l("div",v,[n(d,null,{default:c(()=>[m(" Einstellungen für Sunways "),_("span",w,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.ip_address"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":s.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.password"))},null,8,["model-value"])])}const C=r(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sunways/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-947dd57a.js b/web/settings/assets/device-861a1916.js similarity index 87% rename from web/settings/assets/device-947dd57a.js rename to web/settings/assets/device-861a1916.js index 1cf3cbc475..5da4434f23 100644 --- a/web/settings/assets/device-947dd57a.js +++ b/web/settings/assets/device-861a1916.js @@ -1 +1 @@ -import{_ as r,p as o,k as u,l as p,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceKostalSteca",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-kostal-steca"},g={class:"small"};function h(t,e,a,x,k,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return u(),p("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Kostal Piko MP oder Steca Grid Coolcept "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>s.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const B=r(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_steca/device.vue"]]);export{B as default}; +import{_ as r,p as o,k as u,l as p,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceKostalSteca",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-kostal-steca"},g={class:"small"};function h(t,e,a,x,k,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return u(),p("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Kostal Piko MP oder Steca Grid Coolcept "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>s.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const B=r(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_steca/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-e32f1137.js b/web/settings/assets/device-86735480.js similarity index 87% rename from web/settings/assets/device-e32f1137.js rename to web/settings/assets/device-86735480.js index 7a096f5dc1..fb686c41f0 100644 --- a/web/settings/assets/device-e32f1137.js +++ b/web/settings/assets/device-86735480.js @@ -1 +1 @@ -import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceSmartfox",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-smartfox"},g={class:"small"};function x(t,e,a,h,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Smartfox "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(v,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smartfox/device.vue"]]);export{V as default}; +import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceSmartfox",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-smartfox"},g={class:"small"};function x(t,e,a,h,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Smartfox "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const V=u(v,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smartfox/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-84b1e24d.js b/web/settings/assets/device-8978c65b.js similarity index 85% rename from web/settings/assets/device-84b1e24d.js rename to web/settings/assets/device-8978c65b.js index add48d8609..5000b98805 100644 --- a/web/settings/assets/device-84b1e24d.js +++ b/web/settings/assets/device-8978c65b.js @@ -1 +1 @@ -import{_ as r,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSmaHm",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-smahm"},f={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return d(),p("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für SMA Home Manager / Energy Meter "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät benötigt keine Einstellungen. ")]),_:1})])}const k=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_shm/device.vue"]]);export{k as default}; +import{_ as r,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSmaHm",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},m={class:"device-smahm"},f={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),c=n("openwb-base-alert");return d(),p("div",m,[o(i,null,{default:s(()=>[a(" Einstellungen für SMA Home Manager / Energy Meter "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(c,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät benötigt keine Einstellungen. ")]),_:1})])}const k=r(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_shm/device.vue"]]);export{k as default}; diff --git a/web/settings/assets/device-63a1b1e0.js b/web/settings/assets/device-8a3143d1.js similarity index 89% rename from web/settings/assets/device-63a1b1e0.js rename to web/settings/assets/device-8a3143d1.js index 30a7cb4bb4..50c8fd0aac 100644 --- a/web/settings/assets/device-63a1b1e0.js +++ b/web/settings/assets/device-8a3143d1.js @@ -1 +1 @@ -import{_ as p,p as t,k as l,l as c,A as a,L as _,u as m,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceOpenwbFlex",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-openwb-flex"},w={class:"small"};function x(o,e,i,h,q,s){const u=t("openwb-base-heading"),r=t("openwb-base-text-input"),d=t("openwb-base-number-input");return l(),c("div",v,[a(u,null,{default:_(()=>[m(" Einstellungen für openWB-Flex "),f("span",w,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),a(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(d,{title:"Port",required:"","model-value":i.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.port"))},null,8,["model-value"])])}const V=p(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/device.vue"]]);export{V as default}; +import{_ as p,p as t,k as l,l as c,A as a,L as _,u as m,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceOpenwbFlex",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-openwb-flex"},w={class:"small"};function x(o,e,i,h,q,s){const u=t("openwb-base-heading"),r=t("openwb-base-text-input"),d=t("openwb-base-number-input");return l(),c("div",v,[a(u,null,{default:_(()=>[m(" Einstellungen für openWB-Flex "),f("span",w,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),a(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(d,{title:"Port",required:"","model-value":i.configuration.port,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.port"))},null,8,["model-value"])])}const V=p(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/device.vue"]]);export{V as default}; diff --git a/web/settings/assets/device-75da40b5.js b/web/settings/assets/device-90cbf88f.js similarity index 88% rename from web/settings/assets/device-75da40b5.js rename to web/settings/assets/device-90cbf88f.js index 36586df7e9..cc21b8732e 100644 --- a/web/settings/assets/device-75da40b5.js +++ b/web/settings/assets/device-90cbf88f.js @@ -1 +1 @@ -import{_ as l,p as t,k as _,l as m,A as n,L as s,u as a,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DevicePowerdog",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-powerdog"},w={class:"small"};function h(o,e,i,x,C,d){const r=t("openwb-base-heading"),p=t("openwb-base-alert"),u=t("openwb-base-text-input");return _(),m("div",v,[n(r,null,{default:s(()=>[a(" Einstellungen für Powerdog "),f("span",w,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:s(()=>[a(" ModbusTCP muss aktiviert sein. ")]),_:1}),n(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>d.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const y=l(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerdog/device.vue"]]);export{y as default}; +import{_ as l,p as t,k as _,l as m,A as n,L as s,u as a,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DevicePowerdog",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-powerdog"},w={class:"small"};function h(o,e,i,x,C,d){const r=t("openwb-base-heading"),p=t("openwb-base-alert"),u=t("openwb-base-text-input");return _(),m("div",v,[n(r,null,{default:s(()=>[a(" Einstellungen für Powerdog "),f("span",w,"(Modul: "+b(o.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:s(()=>[a(" ModbusTCP muss aktiviert sein. ")]),_:1}),n(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>d.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const y=l(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerdog/device.vue"]]);export{y as default}; diff --git a/web/settings/assets/device-de854769.js b/web/settings/assets/device-93f1ecfe.js similarity index 86% rename from web/settings/assets/device-de854769.js rename to web/settings/assets/device-93f1ecfe.js index 29e3ba29cd..a9af03eafc 100644 --- a/web/settings/assets/device-de854769.js +++ b/web/settings/assets/device-93f1ecfe.js @@ -1 +1 @@ -import{_ as c,p as o,k as u,l as p,A as n,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceE3dc",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-e3dc"},v={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return u(),p("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für E3DC "),m("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.address"))},null,8,["model-value"])])}const B=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/device.vue"]]);export{B as default}; +import{_ as c,p as o,k as u,l as p,A as n,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceE3dc",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-e3dc"},v={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return u(),p("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für E3DC "),m("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.address"))},null,8,["model-value"])])}const B=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-0e2539c6.js b/web/settings/assets/device-999d3d36.js similarity index 89% rename from web/settings/assets/device-0e2539c6.js rename to web/settings/assets/device-999d3d36.js index de24f4801c..8cf51e094e 100644 --- a/web/settings/assets/device-0e2539c6.js +++ b/web/settings/assets/device-999d3d36.js @@ -1 +1 @@ -import{_ as p,p as n,k as _,l as f,A as o,L as s,u as a,q as m,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DeviceKostalPiko",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-kostalpiko"},v={class:"small"};function k(t,e,i,w,x,r){const d=n("openwb-base-heading"),u=n("openwb-base-alert"),c=n("openwb-base-text-input");return _(),f("div",g,[o(d,null,{default:s(()=>[a(" Einstellungen für Kostal Piko "),m("span",v,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:s(()=>[a(" Der Wechselrichter liefert Werte nur, solange er auch PV-Leistung liefert. Nachts geht er in den Standby. Die Hausanschlussüberwachung ist nur aktiv, wenn der Wechselrichter auch aktiv ist. ")]),_:1}),o(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=l=>r.updateConfiguration(l,"configuration.ip_address"))},null,8,["model-value"])])}const B=p(h,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko/device.vue"]]);export{B as default}; +import{_ as p,p as n,k as _,l as f,A as o,L as s,u as a,q as m,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DeviceKostalPiko",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-kostalpiko"},v={class:"small"};function k(t,e,i,w,x,r){const d=n("openwb-base-heading"),u=n("openwb-base-alert"),c=n("openwb-base-text-input");return _(),f("div",g,[o(d,null,{default:s(()=>[a(" Einstellungen für Kostal Piko "),m("span",v,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:s(()=>[a(" Der Wechselrichter liefert Werte nur, solange er auch PV-Leistung liefert. Nachts geht er in den Standby. Die Hausanschlussüberwachung ist nur aktiv, wenn der Wechselrichter auch aktiv ist. ")]),_:1}),o(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=l=>r.updateConfiguration(l,"configuration.ip_address"))},null,8,["model-value"])])}const B=p(h,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-a71d7322.js b/web/settings/assets/device-a0689fdb.js similarity index 89% rename from web/settings/assets/device-a71d7322.js rename to web/settings/assets/device-a0689fdb.js index a8675c5aed..40af560ccd 100644 --- a/web/settings/assets/device-a71d7322.js +++ b/web/settings/assets/device-a0689fdb.js @@ -1 +1 @@ -import{_ as c,p as o,k as m,l as _,A as s,L as i,u as n,q as a,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceJson",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-json"},v={class:"small"},h=a("br",null,null,-1);function w(t,e,r,j,x,u){const d=o("openwb-base-heading"),l=o("openwb-base-text-input");return m(),_("div",g,[s(d,null,{default:i(()=>[n(" Einstellungen für JSON "),a("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),s(l,{title:"URL",subtype:"url",required:"","model-value":r.configuration.url,"onUpdate:modelValue":e[0]||(e[0]=p=>u.updateConfiguration(p,"configuration.url"))},{help:i(()=>[n(" Es wird eine komplette URL erwartet mit Angaben zum Protokoll, IP oder Hostnamen, optional einem Port und einem Pfad. Die Antwort muss ein json-Objekt sein."),h,n(" Beispiel: http://192.168.1.1:8080/json?data=1 ")]),_:1},8,["model-value"])])}const q=c(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/device.vue"]]);export{q as default}; +import{_ as c,p as o,k as m,l as _,A as s,L as i,u as n,q as a,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceJson",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-json"},v={class:"small"},h=a("br",null,null,-1);function w(t,e,r,j,x,u){const d=o("openwb-base-heading"),l=o("openwb-base-text-input");return m(),_("div",g,[s(d,null,{default:i(()=>[n(" Einstellungen für JSON "),a("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),s(l,{title:"URL",subtype:"url",required:"","model-value":r.configuration.url,"onUpdate:modelValue":e[0]||(e[0]=p=>u.updateConfiguration(p,"configuration.url"))},{help:i(()=>[n(" Es wird eine komplette URL erwartet mit Angaben zum Protokoll, IP oder Hostnamen, optional einem Port und einem Pfad. Die Antwort muss ein json-Objekt sein."),h,n(" Beispiel: http://192.168.1.1:8080/json?data=1 ")]),_:1},8,["model-value"])])}const q=c(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/device.vue"]]);export{q as default}; diff --git a/web/settings/assets/device-c1450e52.js b/web/settings/assets/device-a1d895e1.js similarity index 95% rename from web/settings/assets/device-c1450e52.js rename to web/settings/assets/device-a1d895e1.js index 51f1fc7444..e5d59a7996 100644 --- a/web/settings/assets/device-c1450e52.js +++ b/web/settings/assets/device-a1d895e1.js @@ -1 +1 @@ -import{_ as p,p as d,k as c,l as m,A as n,L as r,u,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceFems",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-fems"},b={class:"small"};function w(o,e,s,x,C,a){const l=d("openwb-base-heading"),i=d("openwb-base-text-input");return c(),m("div",v,[n(l,null,{default:r(()=>[u(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control "),f("span",b,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),n(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":s.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.password"))},{help:r(()=>[u(" Bei Nutzung von Fenecon FEMS ist das Passwort im Normalfall user, bei Kaco mit Hy-Control ist das Passwort meist admin. ")]),_:1},8,["model-value"])])}const B=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/device.vue"]]);export{B as default}; +import{_ as p,p as d,k as c,l as m,A as n,L as r,u,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceFems",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(o,e=void 0){this.$emit("update:configuration",{value:o,object:e})}}},v={class:"device-fems"},b={class:"small"};function w(o,e,s,x,C,a){const l=d("openwb-base-heading"),i=d("openwb-base-text-input");return c(),m("div",v,[n(l,null,{default:r(()=>[u(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control "),f("span",b,"(Modul: "+_(o.$options.name)+")",1)]),_:1}),n(i,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),n(i,{title:"Passwort",subtype:"password",required:"","model-value":s.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.password"))},{help:r(()=>[u(" Bei Nutzung von Fenecon FEMS ist das Passwort im Normalfall user, bei Kaco mit Hy-Control ist das Passwort meist admin. ")]),_:1},8,["model-value"])])}const B=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-04813718.js b/web/settings/assets/device-a34359e4.js similarity index 87% rename from web/settings/assets/device-04813718.js rename to web/settings/assets/device-a34359e4.js index fdd6fd7f4e..c0d74348f4 100644 --- a/web/settings/assets/device-04813718.js +++ b/web/settings/assets/device-a34359e4.js @@ -1 +1 @@ -import{_ as r,p as t,k as p,l as c,A as o,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSunnyIsland",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-sunnyisland"},v={class:"small"};function h(n,e,s,x,y,a){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return p(),c("div",g,[o(i,null,{default:l(()=>[_(" Einstellungen für Sunny Island "),m("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>a.updateConfiguration(u,"configuration.ip_address"))},null,8,["model-value"])])}const B=r(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_island/device.vue"]]);export{B as default}; +import{_ as r,p as t,k as p,l as c,A as o,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSunnyIsland",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-sunnyisland"},v={class:"small"};function h(n,e,s,x,y,a){const i=t("openwb-base-heading"),d=t("openwb-base-text-input");return p(),c("div",g,[o(i,null,{default:l(()=>[_(" Einstellungen für Sunny Island "),m("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>a.updateConfiguration(u,"configuration.ip_address"))},null,8,["model-value"])])}const B=r(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_island/device.vue"]]);export{B as default}; diff --git a/web/settings/assets/device-65a61edd.js b/web/settings/assets/device-a72a7582.js similarity index 87% rename from web/settings/assets/device-65a61edd.js rename to web/settings/assets/device-a72a7582.js index 7a30e1cba8..e0dd4f8664 100644 --- a/web/settings/assets/device-65a61edd.js +++ b/web/settings/assets/device-a72a7582.js @@ -1 +1 @@ -import{_ as d,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceHuaweiSmartLogger",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-huawei-smart-logger"},v={class:"small"};function w(t,e,a,h,x,s){const i=o("openwb-base-heading"),r=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Huawei SmartLogger "),m("span",v,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),n(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>s.updateConfiguration(u,"configuration.ip_address"))},null,8,["model-value"])])}const C=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/device.vue"]]);export{C as default}; +import{_ as d,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceHuaweiSmartLogger",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-huawei-smart-logger"},v={class:"small"};function w(t,e,a,h,x,s){const i=o("openwb-base-heading"),r=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Huawei SmartLogger "),m("span",v,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),n(r,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>s.updateConfiguration(u,"configuration.ip_address"))},null,8,["model-value"])])}const C=d(f,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-646236a6.js b/web/settings/assets/device-ab52f5a1.js similarity index 88% rename from web/settings/assets/device-646236a6.js rename to web/settings/assets/device-ab52f5a1.js index dc14d4d7da..00eee9fdad 100644 --- a/web/settings/assets/device-646236a6.js +++ b/web/settings/assets/device-ab52f5a1.js @@ -1 +1 @@ -import{_ as c,p as o,k as l,l as _,A as n,L as s,u as a,q as g,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceVZLogger",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-vzlogger"},b={class:"small"};function h(t,e,i,w,x,d){const r=o("openwb-base-heading"),p=o("openwb-base-text-input");return l(),_("div",v,[n(r,null,{default:s(()=>[a(" Einstellungen für VZLogger "),g("span",b,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(p,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>d.updateConfiguration(u,"configuration.ip_address"))},{help:s(()=>[a(" Bei Angabe des Ports muss auch das Schema mit angegeben werden: http://ip:port ")]),_:1},8,["model-value"])])}const C=c(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/vzlogger/device.vue"]]);export{C as default}; +import{_ as c,p as o,k as l,l as _,A as n,L as s,u as a,q as g,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceVZLogger",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-vzlogger"},b={class:"small"};function h(t,e,i,w,x,d){const r=o("openwb-base-heading"),p=o("openwb-base-text-input");return l(),_("div",v,[n(r,null,{default:s(()=>[a(" Einstellungen für VZLogger "),g("span",b,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(p,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=u=>d.updateConfiguration(u,"configuration.ip_address"))},{help:s(()=>[a(" Bei Angabe des Ports muss auch das Schema mit angegeben werden: http://ip:port ")]),_:1},8,["model-value"])])}const C=c(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/vzlogger/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-52b36ef5.js b/web/settings/assets/device-ab9c20c6.js similarity index 90% rename from web/settings/assets/device-52b36ef5.js rename to web/settings/assets/device-ab9c20c6.js index 0e0c32035b..fd19bb33ad 100644 --- a/web/settings/assets/device-52b36ef5.js +++ b/web/settings/assets/device-ab9c20c6.js @@ -1 +1 @@ -import{_ as p,p as o,k as r,l as c,A as a,L as _,u as m,q as f,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceShelly",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-shelly"},h={class:"small"};function w(t,e,i,x,y,s){const l=o("openwb-base-heading"),u=o("openwb-base-text-input"),d=o("openwb-base-select-input");return r(),c("div",b,[a(l,null,{default:_(()=>[m(" Einstellungen für Shelly "),f("span",h,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(d,{title:"Generation",notSelected:"Bitte auswählen",options:[{value:1,text:"Shelly 1pm"},{value:2,text:"Shelly 1pm plus"}],"model-value":i.configuration.generation,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.generation"))},null,8,["model-value"])])}const C=p(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/shelly/device.vue"]]);export{C as default}; +import{_ as p,p as o,k as r,l as c,A as a,L as _,u as m,q as f,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceShelly",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-shelly"},h={class:"small"};function w(t,e,i,x,y,s){const l=o("openwb-base-heading"),u=o("openwb-base-text-input"),d=o("openwb-base-select-input");return r(),c("div",b,[a(l,null,{default:_(()=>[m(" Einstellungen für Shelly "),f("span",h,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),a(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.ip_address"))},null,8,["model-value"]),a(d,{title:"Generation",notSelected:"Bitte auswählen",options:[{value:1,text:"Shelly 1pm"},{value:2,text:"Shelly 1pm plus"}],"model-value":i.configuration.generation,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.generation"))},null,8,["model-value"])])}const C=p(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/shelly/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-fbd0cc3c.js b/web/settings/assets/device-b96c5e83.js similarity index 89% rename from web/settings/assets/device-fbd0cc3c.js rename to web/settings/assets/device-b96c5e83.js index c7b2e729a9..0701e54a2f 100644 --- a/web/settings/assets/device-fbd0cc3c.js +++ b/web/settings/assets/device-b96c5e83.js @@ -1 +1 @@ -import{_ as l,p as n,k as _,l as m,A as o,L as a,u as s,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DeviceEnphase",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-enphase"},g={class:"small"};function w(t,e,i,x,y,r){const p=n("openwb-base-heading"),u=n("openwb-base-alert"),d=n("openwb-base-text-input");return _(),m("div",v,[o(p,null,{default:a(()=>[s(" Einstellungen für Enphase Envoy / IQ Gateway "),f("span",g,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:a(()=>[s(" Geräte mit Firmware-Versionen 7.0 oder neuer werden derzeit nicht unterstützt. ")]),_:1}),o(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.hostname,"onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.hostname"))},null,8,["model-value"])])}const q=l(h,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/enphase/device.vue"]]);export{q as default}; +import{_ as l,p as n,k as _,l as m,A as o,L as a,u as s,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DeviceEnphase",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-enphase"},g={class:"small"};function w(t,e,i,x,y,r){const p=n("openwb-base-heading"),u=n("openwb-base-alert"),d=n("openwb-base-text-input");return _(),m("div",v,[o(p,null,{default:a(()=>[s(" Einstellungen für Enphase Envoy / IQ Gateway "),f("span",g,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:a(()=>[s(" Geräte mit Firmware-Versionen 7.0 oder neuer werden derzeit nicht unterstützt. ")]),_:1}),o(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.hostname,"onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.hostname"))},null,8,["model-value"])])}const q=l(h,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/enphase/device.vue"]]);export{q as default}; diff --git a/web/settings/assets/device-ff26ce39.js b/web/settings/assets/device-ba252c4b.js similarity index 91% rename from web/settings/assets/device-ff26ce39.js rename to web/settings/assets/device-ba252c4b.js index ffaa537cb2..f94368b28e 100644 --- a/web/settings/assets/device-ff26ce39.js +++ b/web/settings/assets/device-ba252c4b.js @@ -1 +1 @@ -import{_ as m,p as t,k as _,l as f,A as o,L as i,u as s,q as r,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceFronius",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},h={class:"device-fronius"},v={class:"small"},w=r("br",null,null,-1);function S(n,e,a,y,x,d){const u=t("openwb-base-heading"),l=t("openwb-base-alert"),c=t("openwb-base-text-input");return _(),f("div",h,[o(u,null,{default:i(()=>[s(" Einstellungen für Fronius "),r("span",v,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),o(l,{subtype:"info"},{default:i(()=>[s(" Die Fronius API muss aktiviert sein."),w,s(" Sind nur Symos in Nutzung, welche über Fronius Solar Net / DATCOM miteinander verbunden sind, muss nur ein Gerät mit einer Komponente Wechselrichter angelegt werden. Sind aber z.B. Symo und Symo Hybrid im Einsatz, muss für jeden Wechselrichter ein Gerät mit einer Komponente Wechselrichter angelegt werden. Die Zähler-Komponente für das Smart-Meter wird in dem Gerät angelegt, dass den Wechselrichter enthält, an den das SmartMeter angeschlossen ist. ")]),_:1}),o(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.ip_address"))},null,8,["model-value"])])}const D=m(g,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/device.vue"]]);export{D as default}; +import{_ as m,p as t,k as _,l as f,A as o,L as i,u as s,q as r,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceFronius",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},h={class:"device-fronius"},v={class:"small"},w=r("br",null,null,-1);function S(n,e,a,y,x,d){const u=t("openwb-base-heading"),l=t("openwb-base-alert"),c=t("openwb-base-text-input");return _(),f("div",h,[o(u,null,{default:i(()=>[s(" Einstellungen für Fronius "),r("span",v,"(Modul: "+b(n.$options.name)+")",1)]),_:1}),o(l,{subtype:"info"},{default:i(()=>[s(" Die Fronius API muss aktiviert sein."),w,s(" Sind nur Symos in Nutzung, welche über Fronius Solar Net / DATCOM miteinander verbunden sind, muss nur ein Gerät mit einer Komponente Wechselrichter angelegt werden. Sind aber z.B. Symo und Symo Hybrid im Einsatz, muss für jeden Wechselrichter ein Gerät mit einer Komponente Wechselrichter angelegt werden. Die Zähler-Komponente für das Smart-Meter wird in dem Gerät angelegt, dass den Wechselrichter enthält, an den das SmartMeter angeschlossen ist. ")]),_:1}),o(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.ip_address"))},null,8,["model-value"])])}const D=m(g,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/device.vue"]]);export{D as default}; diff --git a/web/settings/assets/device-b5381581.js b/web/settings/assets/device-c89a8058.js similarity index 89% rename from web/settings/assets/device-b5381581.js rename to web/settings/assets/device-c89a8058.js index 36457f37f6..ed31c8ff2d 100644 --- a/web/settings/assets/device-b5381581.js +++ b/web/settings/assets/device-c89a8058.js @@ -1 +1 @@ -import{_ as l,p as n,k as _,l as m,A as o,L as s,u as a,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceSiemensSentron",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-siemens-sentron"},h={class:"small"};function w(t,e,i,x,S,r){const d=n("openwb-base-heading"),p=n("openwb-base-alert"),u=n("openwb-base-text-input");return _(),m("div",v,[o(d,null,{default:s(()=>[a(" Einstellungen für Siemens Sentron "),f("span",h,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[a(' Derzeit werden nur Messgeräte vom Typ "7KM PAC2200" mit Ethernet-Schnittstelle unterstützt. ')]),_:1}),o(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const q=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens_sentron/device.vue"]]);export{q as default}; +import{_ as l,p as n,k as _,l as m,A as o,L as s,u as a,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceSiemensSentron",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-siemens-sentron"},h={class:"small"};function w(t,e,i,x,S,r){const d=n("openwb-base-heading"),p=n("openwb-base-alert"),u=n("openwb-base-text-input");return _(),m("div",v,[o(d,null,{default:s(()=>[a(" Einstellungen für Siemens Sentron "),f("span",h,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(p,{subtype:"info"},{default:s(()=>[a(' Derzeit werden nur Messgeräte vom Typ "7KM PAC2200" mit Ethernet-Schnittstelle unterstützt. ')]),_:1}),o(u,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const q=l(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens_sentron/device.vue"]]);export{q as default}; diff --git a/web/settings/assets/device-adab1c5e.js b/web/settings/assets/device-c9db3a4d.js similarity index 87% rename from web/settings/assets/device-adab1c5e.js rename to web/settings/assets/device-c9db3a4d.js index 7ad53000a5..a63818fa67 100644 --- a/web/settings/assets/device-adab1c5e.js +++ b/web/settings/assets/device-c9db3a4d.js @@ -1 +1 @@ -import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceStuder",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-studer"},v={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für Studer "),m("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const C=u(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/studer/device.vue"]]);export{C as default}; +import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceStuder",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-studer"},v={class:"small"};function h(t,e,s,x,w,a){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",g,[n(i,null,{default:l(()=>[_(" Einstellungen für Studer "),m("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const C=u(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/studer/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-31988ec6.js b/web/settings/assets/device-c9e4c6d7.js similarity index 91% rename from web/settings/assets/device-31988ec6.js rename to web/settings/assets/device-c9e4c6d7.js index 10ecd80c26..703f53f972 100644 --- a/web/settings/assets/device-31988ec6.js +++ b/web/settings/assets/device-c9e4c6d7.js @@ -1 +1 @@ -import{_ as m,p as o,k as _,l as b,A as i,L as u,u as a,q as d,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceHuawei",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-huawei"},h={class:"small"},w=d("br",null,null,-1);function x(n,e,s,D,I,r){const l=o("openwb-base-heading"),c=o("openwb-base-text-input"),p=o("openwb-base-number-input");return _(),b("div",v,[i(l,null,{default:u(()=>[a(" Einstellungen für Huawei "),d("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),i(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>r.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),i(p,{title:"Modbus ID","model-value":s.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=t=>r.updateConfiguration(t,"configuration.modbus_id"))},{help:u(()=>[a(' Sind mehrere Huawei Wechselrichter als "Schwarm" verbunden, dann besitzt der Master vermutlich die ID "16". Über diese ID werden dann alle Daten in Summe zur Verfügung gestellt.'),w,a(" Die IDs 1 bis 15 sind für einzelne Wechselrichter reserviert. ")]),_:1},8,["model-value"])])}const q=m(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/device.vue"]]);export{q as default}; +import{_ as m,p as o,k as _,l as b,A as i,L as u,u as a,q as d,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceHuawei",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-huawei"},h={class:"small"},w=d("br",null,null,-1);function x(n,e,s,D,I,r){const l=o("openwb-base-heading"),c=o("openwb-base-text-input"),p=o("openwb-base-number-input");return _(),b("div",v,[i(l,null,{default:u(()=>[a(" Einstellungen für Huawei "),d("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),i(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":s.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=t=>r.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"]),i(p,{title:"Modbus ID","model-value":s.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=t=>r.updateConfiguration(t,"configuration.modbus_id"))},{help:u(()=>[a(' Sind mehrere Huawei Wechselrichter als "Schwarm" verbunden, dann besitzt der Master vermutlich die ID "16". Über diese ID werden dann alle Daten in Summe zur Verfügung gestellt.'),w,a(" Die IDs 1 bis 15 sind für einzelne Wechselrichter reserviert. ")]),_:1},8,["model-value"])])}const q=m(g,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/device.vue"]]);export{q as default}; diff --git a/web/settings/assets/device-2a49501e.js b/web/settings/assets/device-d12ee3f1.js similarity index 92% rename from web/settings/assets/device-2a49501e.js rename to web/settings/assets/device-d12ee3f1.js index 07299eb9a1..26fa13f2ed 100644 --- a/web/settings/assets/device-2a49501e.js +++ b/web/settings/assets/device-d12ee3f1.js @@ -1 +1 @@ -import{_ as c,p as i,k as l,l as p,A as s,L as m,u as f,q as _,x as v,y as g,z as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const w={name:"DeviceAlphaess",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},x={class:"device-alphaess"},h={class:"small"};function V(n,e,o,S,B,a){const d=i("openwb-base-heading"),u=i("openwb-base-select-input"),r=i("openwb-base-text-input");return l(),p("div",x,[s(d,null,{default:m(()=>[f(" Einstellungen für Alpha ESS "),_("span",h,"(Modul: "+v(n.$options.name)+")",1)]),_:1}),s(u,{title:"Ausleseart",notSelected:"Bitte auswählen",options:[{value:0,text:"Alpha ESS-Kit"},{value:1,text:"Hi 5/10"}],"model-value":o.configuration.source,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.source"))},null,8,["model-value"]),o.configuration.source==1?(l(),g(r,{key:0,title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"])):b("",!0),s(u,{title:"Firmware Version",notSelected:"Bitte auswählen",options:[{value:0,text:"EMS älter als 1.23V"},{value:1,text:"EMS 1.23V oder neuer"}],"model-value":o.configuration.version,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.version"))},null,8,["model-value"])])}const k=c(w,[["render",V],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/device.vue"]]);export{k as default}; +import{_ as c,p as i,k as l,l as p,A as s,L as m,u as f,q as _,x as v,y as g,z as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const w={name:"DeviceAlphaess",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},x={class:"device-alphaess"},h={class:"small"};function V(n,e,o,S,B,a){const d=i("openwb-base-heading"),u=i("openwb-base-select-input"),r=i("openwb-base-text-input");return l(),p("div",x,[s(d,null,{default:m(()=>[f(" Einstellungen für Alpha ESS "),_("span",h,"(Modul: "+v(n.$options.name)+")",1)]),_:1}),s(u,{title:"Ausleseart",notSelected:"Bitte auswählen",options:[{value:0,text:"Alpha ESS-Kit"},{value:1,text:"Hi 5/10"}],"model-value":o.configuration.source,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.source"))},null,8,["model-value"]),o.configuration.source==1?(l(),g(r,{key:0,title:"IP oder Hostname",subtype:"host",required:"","model-value":o.configuration.ip_address,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.ip_address"))},null,8,["model-value"])):b("",!0),s(u,{title:"Firmware Version",notSelected:"Bitte auswählen",options:[{value:0,text:"EMS älter als 1.23V"},{value:1,text:"EMS 1.23V oder neuer"}],"model-value":o.configuration.version,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.version"))},null,8,["model-value"])])}const k=c(w,[["render",V],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/device.vue"]]);export{k as default}; diff --git a/web/settings/assets/device-73a31212.js b/web/settings/assets/device-d146ce08.js similarity index 87% rename from web/settings/assets/device-73a31212.js rename to web/settings/assets/device-d146ce08.js index 2cce966211..3e1a213409 100644 --- a/web/settings/assets/device-73a31212.js +++ b/web/settings/assets/device-d146ce08.js @@ -1 +1 @@ -import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceVarta",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-varta"},g={class:"small"};function h(t,e,a,x,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Varta "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const C=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/device.vue"]]);export{C as default}; +import{_ as u,p as o,k as p,l as c,A as n,L as l,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceVarta",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-varta"},g={class:"small"};function h(t,e,a,x,w,s){const i=o("openwb-base-heading"),d=o("openwb-base-text-input");return p(),c("div",b,[n(i,null,{default:l(()=>[_(" Einstellungen für Varta "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(d,{title:"IP oder Hostname",subtype:"host",required:"","model-value":a.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=r=>s.updateConfiguration(r,"configuration.ip_address"))},null,8,["model-value"])])}const C=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/varta/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/device-6bde5d2b.js b/web/settings/assets/device-d3161325.js similarity index 90% rename from web/settings/assets/device-6bde5d2b.js rename to web/settings/assets/device-d3161325.js index 2bd4642b42..fd57a11c38 100644 --- a/web/settings/assets/device-6bde5d2b.js +++ b/web/settings/assets/device-d3161325.js @@ -1 +1 @@ -import{_ as u,p as n,k as _,l as m,A as o,L as s,u as a,q as f,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceKostalPlenticore",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},h={class:"device-kostalplenticore"},v={class:"small"};function w(t,e,i,x,K,r){const l=n("openwb-base-heading"),d=n("openwb-base-alert"),c=n("openwb-base-text-input");return _(),m("div",h,[o(l,null,{default:s(()=>[a(" Einstellungen für Kostal Plenticore "),f("span",v,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(d,{subtype:"info"},{default:s(()=>[a(" Wenn am Kostal Plenticore-Wechselrichter ein EM300 oder Kostal Energy Smart Meter (KSEM) angeschlossen ist, muss eine Zähler-und eine Wechselrichter-Komponente angelegt werden. ")]),_:1}),o(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=p=>r.updateConfiguration(p,"configuration.ip_address"))},null,8,["model-value"])])}const E=u(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/device.vue"]]);export{E as default}; +import{_ as u,p as n,k as _,l as m,A as o,L as s,u as a,q as f,x as b}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceKostalPlenticore",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},h={class:"device-kostalplenticore"},v={class:"small"};function w(t,e,i,x,K,r){const l=n("openwb-base-heading"),d=n("openwb-base-alert"),c=n("openwb-base-text-input");return _(),m("div",h,[o(l,null,{default:s(()=>[a(" Einstellungen für Kostal Plenticore "),f("span",v,"(Modul: "+b(t.$options.name)+")",1)]),_:1}),o(d,{subtype:"info"},{default:s(()=>[a(" Wenn am Kostal Plenticore-Wechselrichter ein EM300 oder Kostal Energy Smart Meter (KSEM) angeschlossen ist, muss eine Zähler-und eine Wechselrichter-Komponente angelegt werden. ")]),_:1}),o(c,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=p=>r.updateConfiguration(p,"configuration.ip_address"))},null,8,["model-value"])])}const E=u(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/device.vue"]]);export{E as default}; diff --git a/web/settings/assets/device-431bfae8.js b/web/settings/assets/device-d8670924.js similarity index 85% rename from web/settings/assets/device-431bfae8.js rename to web/settings/assets/device-d8670924.js index 521a4b1fed..6d3c873cf8 100644 --- a/web/settings/assets/device-431bfae8.js +++ b/web/settings/assets/device-d8670924.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceVirtual",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-virtual"},m={class:"small"};function v(e,t,b,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für virtuelle Geräte "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/virtual/device.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as u,A as o,L as s,u as a,q as d,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceVirtual",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-virtual"},m={class:"small"};function v(e,t,b,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),u("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für virtuelle Geräte "),d("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Dieses Gerät erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/virtual/device.vue"]]);export{k as default}; diff --git a/web/settings/assets/device-c053b183.js b/web/settings/assets/device-e4a9b98a.js similarity index 89% rename from web/settings/assets/device-c053b183.js rename to web/settings/assets/device-e4a9b98a.js index b1f58bb1f2..6ac304bac2 100644 --- a/web/settings/assets/device-c053b183.js +++ b/web/settings/assets/device-e4a9b98a.js @@ -1 +1 @@ -import{_ as l,p as n,k as _,l as m,A as o,L as s,u as a,q as b,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceSunnyBoy",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},y={class:"device-sunnyboy"},g={class:"small"};function w(t,e,i,h,x,r){const d=n("openwb-base-heading"),u=n("openwb-base-alert"),p=n("openwb-base-text-input");return _(),m("div",y,[o(d,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy/Tripower "),b("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:s(()=>[a(' ModbusTCP muss entweder direkt am Wechselrichter, per Sunny Portal oder über das Tool "Sunny Explorer" aktiviert werden. Dies ist standardmäßig deaktiviert. ')]),_:1}),o(p,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const S=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/device.vue"]]);export{S as default}; +import{_ as l,p as n,k as _,l as m,A as o,L as s,u as a,q as b,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceSunnyBoy",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},y={class:"device-sunnyboy"},g={class:"small"};function w(t,e,i,h,x,r){const d=n("openwb-base-heading"),u=n("openwb-base-alert"),p=n("openwb-base-text-input");return _(),m("div",y,[o(d,null,{default:s(()=>[a(" Einstellungen für SMA Sunny Boy/Tripower "),b("span",g,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(u,{subtype:"info"},{default:s(()=>[a(' ModbusTCP muss entweder direkt am Wechselrichter, per Sunny Portal oder über das Tool "Sunny Explorer" aktiviert werden. Dies ist standardmäßig deaktiviert. ')]),_:1}),o(p,{title:"IP oder Hostname",subtype:"host",required:"","model-value":i.configuration.ip_address,"onUpdate:modelValue":e[0]||(e[0]=c=>r.updateConfiguration(c,"configuration.ip_address"))},null,8,["model-value"])])}const S=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/device.vue"]]);export{S as default}; diff --git a/web/settings/assets/device-fd13af70.js b/web/settings/assets/device-f3006066.js similarity index 89% rename from web/settings/assets/device-fd13af70.js rename to web/settings/assets/device-f3006066.js index a4f508152d..97f04e00b9 100644 --- a/web/settings/assets/device-fd13af70.js +++ b/web/settings/assets/device-f3006066.js @@ -1 +1 @@ -import{_ as c,p as o,k as _,l as m,A as i,L as r,u as n,q as a,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceHttp",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-http"},v={class:"small"},h=a("br",null,null,-1);function w(t,e,s,x,B,d){const p=o("openwb-base-heading"),u=o("openwb-base-text-input");return _(),m("div",b,[i(p,null,{default:r(()=>[n(" Einstellungen für Http "),a("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),i(u,{title:"Server-URL",subtype:"url",required:"","model-value":s.configuration.url,"onUpdate:modelValue":e[0]||(e[0]=l=>d.updateConfiguration(l,"configuration.url"))},{help:r(()=>[n(" Hier sind die Verbindungsangaben für den Http-Server einzutragen. Der Pfad für die einzelnen Daten wird in der Komponente hinterlegt."),h,n(" Beispiel: http://mein.server:8080 ")]),_:1},8,["model-value"])])}const C=c(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/device.vue"]]);export{C as default}; +import{_ as c,p as o,k as _,l as m,A as i,L as r,u as n,q as a,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceHttp",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-http"},v={class:"small"},h=a("br",null,null,-1);function w(t,e,s,x,B,d){const p=o("openwb-base-heading"),u=o("openwb-base-text-input");return _(),m("div",b,[i(p,null,{default:r(()=>[n(" Einstellungen für Http "),a("span",v,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),i(u,{title:"Server-URL",subtype:"url",required:"","model-value":s.configuration.url,"onUpdate:modelValue":e[0]||(e[0]=l=>d.updateConfiguration(l,"configuration.url"))},{help:r(()=>[n(" Hier sind die Verbindungsangaben für den Http-Server einzutragen. Der Pfad für die einzelnen Daten wird in der Komponente hinterlegt."),h,n(" Beispiel: http://mein.server:8080 ")]),_:1},8,["model-value"])])}const C=c(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/device.vue"]]);export{C as default}; diff --git a/web/settings/assets/displayTheme-257109ca.js b/web/settings/assets/displayTheme-2f9132df.js similarity index 97% rename from web/settings/assets/displayTheme-257109ca.js rename to web/settings/assets/displayTheme-2f9132df.js index ca904f2ea8..85cef5492d 100644 --- a/web/settings/assets/displayTheme-257109ca.js +++ b/web/settings/assets/displayTheme-2f9132df.js @@ -1 +1 @@ -import{_ as m,p as _,k as l,l as f,A as o,L as s,u as i,q as p,x as v,y as d,z as r}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const V={name:"DisplayThemeCards",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},methods:{updateConfiguration(c,e=void 0){this.$emit("update:configuration",{value:c,object:e})}}},h={class:"display-theme-cards"},x={class:"small"};function A(c,e,n,w,k,a){const b=_("openwb-base-heading"),u=_("openwb-base-button-group-input"),g=_("openwb-base-text-input");return l(),f("div",h,[o(b,null,{default:s(()=>[i(" Einstellungen für Display Theme Cards "),p("span",x,"(Modul: "+v(c.$options.name)+")",1)]),_:1}),o(b,null,{default:s(()=>[i("Bediensperre")]),_:1}),o(u,{title:"Bedienung sperren","model-value":n.configuration.lock_changes,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.lock_changes")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"]),n.configuration.lock_changes?(l(),d(g,{key:0,title:"PIN zur Freigabe",subtype:"password",required:"",pattern:"[0-9]{4,10}","model-value":n.configuration.lock_changes_code,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.lock_changes_code"))},{help:s(()=>[i(" Der PIN muss aus 4 bis 10 Zahlen bestehen. ")]),_:1},8,["model-value"])):r("",!0),o(b,null,{default:s(()=>[i('Ansicht "Übersicht"')]),_:1}),o(u,{title:"Übersicht anzeigen","model-value":n.configuration.enable_dashboard_view,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_view")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"]),n.configuration.enable_dashboard_view?(l(),d(u,{key:1,title:"EVU anzeigen","model-value":n.configuration.enable_dashboard_card_grid,"onUpdate:modelValue":e[3]||(e[3]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_grid")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:2,title:"Hausverbrauch anzeigen","model-value":n.configuration.enable_dashboard_card_home_consumption,"onUpdate:modelValue":e[4]||(e[4]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_home_consumption")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:3,title:"Batteriespeicher anzeigen","model-value":n.configuration.enable_dashboard_card_battery_sum,"onUpdate:modelValue":e[5]||(e[5]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_battery_sum")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:4,title:"Ladepunkte anzeigen","model-value":n.configuration.enable_dashboard_card_charge_point_sum,"onUpdate:modelValue":e[6]||(e[6]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_charge_point_sum")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:5,title:"PV anzeigen","model-value":n.configuration.enable_dashboard_card_inverter_sum,"onUpdate:modelValue":e[7]||(e[7]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_inverter_sum")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),o(b,null,{default:s(()=>[i('Ansicht "Ladepunkte"')]),_:1}),o(u,{title:"Ladepunkte anzeigen","model-value":n.configuration.enable_charge_points_view,"onUpdate:modelValue":e[8]||(e[8]=t=>a.updateConfiguration(t,"configuration.enable_charge_points_view")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"]),o(b,null,{default:s(()=>[i('Ansicht "Status"')]),_:1}),o(u,{title:"Status anzeigen","model-value":n.configuration.enable_status_view,"onUpdate:modelValue":e[9]||(e[9]=t=>a.updateConfiguration(t,"configuration.enable_status_view")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])])}const U=m(V,[["render",A],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/display_themes/cards/displayTheme.vue"]]);export{U as default}; +import{_ as m,p as _,k as l,l as f,A as o,L as s,u as i,q as p,x as v,y as d,z as r}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const V={name:"DisplayThemeCards",emits:["update:configuration"],props:{configuration:{type:Object,required:!0}},methods:{updateConfiguration(c,e=void 0){this.$emit("update:configuration",{value:c,object:e})}}},h={class:"display-theme-cards"},x={class:"small"};function A(c,e,n,w,k,a){const b=_("openwb-base-heading"),u=_("openwb-base-button-group-input"),g=_("openwb-base-text-input");return l(),f("div",h,[o(b,null,{default:s(()=>[i(" Einstellungen für Display Theme Cards "),p("span",x,"(Modul: "+v(c.$options.name)+")",1)]),_:1}),o(b,null,{default:s(()=>[i("Bediensperre")]),_:1}),o(u,{title:"Bedienung sperren","model-value":n.configuration.lock_changes,"onUpdate:modelValue":e[0]||(e[0]=t=>a.updateConfiguration(t,"configuration.lock_changes")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"]),n.configuration.lock_changes?(l(),d(g,{key:0,title:"PIN zur Freigabe",subtype:"password",required:"",pattern:"[0-9]{4,10}","model-value":n.configuration.lock_changes_code,"onUpdate:modelValue":e[1]||(e[1]=t=>a.updateConfiguration(t,"configuration.lock_changes_code"))},{help:s(()=>[i(" Der PIN muss aus 4 bis 10 Zahlen bestehen. ")]),_:1},8,["model-value"])):r("",!0),o(b,null,{default:s(()=>[i('Ansicht "Übersicht"')]),_:1}),o(u,{title:"Übersicht anzeigen","model-value":n.configuration.enable_dashboard_view,"onUpdate:modelValue":e[2]||(e[2]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_view")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"]),n.configuration.enable_dashboard_view?(l(),d(u,{key:1,title:"EVU anzeigen","model-value":n.configuration.enable_dashboard_card_grid,"onUpdate:modelValue":e[3]||(e[3]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_grid")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:2,title:"Hausverbrauch anzeigen","model-value":n.configuration.enable_dashboard_card_home_consumption,"onUpdate:modelValue":e[4]||(e[4]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_home_consumption")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:3,title:"Batteriespeicher anzeigen","model-value":n.configuration.enable_dashboard_card_battery_sum,"onUpdate:modelValue":e[5]||(e[5]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_battery_sum")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:4,title:"Ladepunkte anzeigen","model-value":n.configuration.enable_dashboard_card_charge_point_sum,"onUpdate:modelValue":e[6]||(e[6]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_charge_point_sum")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),n.configuration.enable_dashboard_view?(l(),d(u,{key:5,title:"PV anzeigen","model-value":n.configuration.enable_dashboard_card_inverter_sum,"onUpdate:modelValue":e[7]||(e[7]=t=>a.updateConfiguration(t,"configuration.enable_dashboard_card_inverter_sum")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])):r("",!0),o(b,null,{default:s(()=>[i('Ansicht "Ladepunkte"')]),_:1}),o(u,{title:"Ladepunkte anzeigen","model-value":n.configuration.enable_charge_points_view,"onUpdate:modelValue":e[8]||(e[8]=t=>a.updateConfiguration(t,"configuration.enable_charge_points_view")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"]),o(b,null,{default:s(()=>[i('Ansicht "Status"')]),_:1}),o(u,{title:"Status anzeigen","model-value":n.configuration.enable_status_view,"onUpdate:modelValue":e[9]||(e[9]=t=>a.updateConfiguration(t,"configuration.enable_status_view")),buttons:[{buttonValue:!1,text:"Aus",class:"btn-outline-danger"},{buttonValue:!0,text:"An",class:"btn-outline-success"}]},null,8,["model-value"])])}const U=m(V,[["render",A],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/display_themes/cards/displayTheme.vue"]]);export{U as default}; diff --git a/web/settings/assets/external_inverter-17f0c9ba.js b/web/settings/assets/external_inverter-283ea7d2.js similarity index 92% rename from web/settings/assets/external_inverter-17f0c9ba.js rename to web/settings/assets/external_inverter-283ea7d2.js index c1045c6212..09b7a935dd 100644 --- a/web/settings/assets/external_inverter-17f0c9ba.js +++ b/web/settings/assets/external_inverter-283ea7d2.js @@ -1 +1 @@ -import{_ as c,p as i,k as p,l as _,A as n,L as u,u as d,q as f,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSolarEdgeExternalInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-solaredge-external-inverter"},h={class:"small"};function x(t,e,a,w,B,r){const l=i("openwb-base-heading"),m=i("openwb-base-alert"),s=i("openwb-base-number-input");return p(),_("div",v,[n(l,null,{default:u(()=>[d(" Einstellungen für SolarEdge externen Wechselrichter "),f("span",h,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),n(m,{subtype:"info"},{default:u(()=>[d(' Diese Komponente nur konfigurieren, wenn ein weiteres Solaredge SmartMeter verbaut ist, welches z.B. die Leistung einer vorhandenen Bestands-PV-Anlage erfasst. Dieses zusätzliche SmartMeter muss dann als "Zähler 2" / "Position 2" im Wechselrichter-Konfigurationsmenü konfiguriert sein. ')]),_:1}),n(s,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=o=>r.updateConfiguration(o,"configuration.modbus_id"))},null,8,["model-value"]),n(s,{title:"Meter ID","model-value":a.configuration.meter_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=o=>r.updateConfiguration(o,"configuration.meter_id"))},null,8,["model-value"])])}const V=c(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/external_inverter.vue"]]);export{V as default}; +import{_ as c,p as i,k as p,l as _,A as n,L as u,u as d,q as f,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSolarEdgeExternalInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-solaredge-external-inverter"},h={class:"small"};function x(t,e,a,w,B,r){const l=i("openwb-base-heading"),m=i("openwb-base-alert"),s=i("openwb-base-number-input");return p(),_("div",v,[n(l,null,{default:u(()=>[d(" Einstellungen für SolarEdge externen Wechselrichter "),f("span",h,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),n(m,{subtype:"info"},{default:u(()=>[d(' Diese Komponente nur konfigurieren, wenn ein weiteres Solaredge SmartMeter verbaut ist, welches z.B. die Leistung einer vorhandenen Bestands-PV-Anlage erfasst. Dieses zusätzliche SmartMeter muss dann als "Zähler 2" / "Position 2" im Wechselrichter-Konfigurationsmenü konfiguriert sein. ')]),_:1}),n(s,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=o=>r.updateConfiguration(o,"configuration.modbus_id"))},null,8,["model-value"]),n(s,{title:"Meter ID","model-value":a.configuration.meter_id,min:"1",max:"255","onUpdate:modelValue":e[1]||(e[1]=o=>r.updateConfiguration(o,"configuration.meter_id"))},null,8,["model-value"])])}const V=c(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/external_inverter.vue"]]);export{V as default}; diff --git a/web/settings/assets/external_inverter-7d2f3093.js b/web/settings/assets/external_inverter-5c20c4c3.js similarity index 86% rename from web/settings/assets/external_inverter-7d2f3093.js rename to web/settings/assets/external_inverter-5c20c4c3.js index 70c20bf516..9f7de89c35 100644 --- a/web/settings/assets/external_inverter-7d2f3093.js +++ b/web/settings/assets/external_inverter-5c20c4c3.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceE3dcExternalInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-external-inverter"},m={class:"small"};function b(e,t,v,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für externe E3DC Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/external_inverter.vue"]]);export{$ as default}; +import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceE3dcExternalInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-external-inverter"},m={class:"small"};function b(e,t,v,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für externe E3DC Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/external_inverter.vue"]]);export{$ as default}; diff --git a/web/settings/assets/external_inverter-37cb1ba3.js b/web/settings/assets/external_inverter-be7745de.js similarity index 86% rename from web/settings/assets/external_inverter-37cb1ba3.js rename to web/settings/assets/external_inverter-be7745de.js index 3b0b54af71..9bfb71239f 100644 --- a/web/settings/assets/external_inverter-37cb1ba3.js +++ b/web/settings/assets/external_inverter-be7745de.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as a,u as r,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceBatterXExternalInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-batterx-external-inverter"},m={class:"small"};function b(e,t,v,x,g,h){const s=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(s,null,{default:a(()=>[r(" Einstellungen für externen BatterX Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:a(()=>[r(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/external_inverter.vue"]]);export{$ as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as a,u as r,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceBatterXExternalInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-batterx-external-inverter"},m={class:"small"};function b(e,t,v,x,g,h){const s=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(s,null,{default:a(()=>[r(" Einstellungen für externen BatterX Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:a(()=>[r(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/external_inverter.vue"]]);export{$ as default}; diff --git a/web/settings/assets/index-8fe3a4a0.js b/web/settings/assets/index-baf9de5e.js similarity index 87% rename from web/settings/assets/index-8fe3a4a0.js rename to web/settings/assets/index-baf9de5e.js index 19eae8dbae..1deba170fd 100644 --- a/web/settings/assets/index-8fe3a4a0.js +++ b/web/settings/assets/index-baf9de5e.js @@ -1 +1 @@ -import{_ as b,k as r,l as c,m as w,n as k,p as h,q as n,u as p,x as f,y as v,z as u,A as m,B as C,D as $,E as S,F as K,G as x,I as M,J as Q,K as Y,L as _,M as Z,N as X,T as ee,O as te,P as W,Q as A,R as E,S as se,U as oe,V as ne,W as ae,X as le,Y as ie,Z as re}from"./vendor-9bfbb89c.js";import{l as B,f as I,a as V,b as de,c as ce,d as ue,e as pe,F as O,g as q,h as me,i as _e,j as fe,k as he,m as ge,n as be,o as ve,p as we,q as ye,r as ke,s as Se,t as Ce,u as Be,v as Oe,w as $e,x as Te,y as xe,z as Ie,A as Ve,B as Pe,C as He,D as Me,E as De}from"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import{p as Ae,a as Ee}from"./vendor-axios-7e71c841.js";import"./vendor-sortablejs-8518b3e5.js";import"./vendor-jquery-5e7aea54.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))d(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&d(a)}).observe(document,{childList:!0,subtree:!0});function o(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function d(i){if(i.ep)return;i.ep=!0;const s=o(i);fetch(i.href,s)}})();const qe={name:"OpenwbAlert",props:{subtype:{validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"}}};function Le(e,t,o,d,i,s){return r(),c("div",{class:k(["card-text alert","alert-"+o.subtype])},[w(e.$slots,"default")],2)}const je=b(qe,[["render",Le],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseAlert.vue"]]),We=Object.freeze(Object.defineProperty({__proto__:null,default:je},Symbol.toStringTag,{value:"Module"}));B.add(I,V,de,ce,ue,pe);const Re={name:"OpenwbArrayInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Array,default:()=>[]},noElementsMessage:{type:String,default:()=>"Keine Elemente zugeordnet."}},emits:["update:modelValue"],data(){return{newTag:"",showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},newTagValid:{get(){return this.newTag.length>0&&this.value.indexOf(this.newTag)==-1}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0},addTag(){if(this.newTagValid){let e=this.value;e.push(this.newTag),e.sort(),this.value=e,this.newTag=""}this.$refs.tagInput.focus()},removeTag(e){let t=this.value;t.splice(e,1),this.value=t}},components:{FontAwesomeIcon:O}},Ne={class:"form-row mb-1"},Ue={class:"col-md-8"},ze={class:"form-row"},Fe={class:"input-group"},Ge={class:"input-group-prepend"},Je={class:"input-group-text"},Ke={class:"input-group-append"},Qe={class:"form-row tagList mt-1"},Ye={key:0,class:"noTag"},Ze={key:0,class:"form-row alert alert-info my-1 small"};function Xe(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Ne,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Ue,[n("div",ze,[n("div",Fe,[n("div",Ge,[n("div",Je,[m(a,{"fixed-width":"",icon:["fas","tag"]})])]),C(n("input",S({ref:"tagInput",type:"text",class:"form-control","onUpdate:modelValue":t[1]||(t[1]=l=>i.newTag=l)},e.$attrs,{onKeyup:t[2]||(t[2]=K((...l)=>s.addTag&&s.addTag(...l),["enter"]))}),null,16),[[$,i.newTag]]),n("div",Ke,[n("div",{class:k(["input-group-text",s.newTagValid?"bg-success clickable":"notClickable"]),onClick:t[3]||(t[3]=(...l)=>s.addTag&&s.addTag(...l))},[m(a,{"fixed-width":"",icon:["fas","plus"]})],2)])])]),n("div",Qe,[s.value.length==0?(r(),c("span",Ye,[m(a,{icon:["fas","info-circle"]}),p(" "+f(o.noElementsMessage),1)])):u("",!0),(r(!0),c(x,null,M(s.value,(l,g)=>(r(),c("span",{class:"tag",key:g},[m(a,{icon:["fas","tag"]}),p(" "+f(l)+" ",1),m(a,{class:"clickable",icon:["fas","times-circle"],onClick:T=>s.removeTag(g)},null,8,["onClick"])]))),128))]),i.showHelp?(r(),c("span",Ze,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const et=b(Re,[["render",Xe],["__scopeId","data-v-9de93d37"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseArrayInput.vue"]]),tt=Object.freeze(Object.defineProperty({__proto__:null,default:et},Symbol.toStringTag,{value:"Module"}));const st={name:"OpenwbAvatar"},ot={class:"avatar"};function nt(e,t,o,d,i,s){return r(),c("div",ot,[w(e.$slots,"default",{},()=>[p("?")],!0)])}const at=b(st,[["render",nt],["__scopeId","data-v-06082a1a"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseAvatar.vue"]]),lt=Object.freeze(Object.defineProperty({__proto__:null,default:at},Symbol.toStringTag,{value:"Module"}));B.add(I,V,q);const it={name:"OpenwbButtonGroupInput",inheritAttrs:!1,props:{title:String,modelValue:{type:[String,Number,Boolean]},buttons:Object},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},rt={class:"form-row mb-1"},dt={class:"col-md-8"},ct={class:"form-row"},ut={class:"btn-group btn-block btn-group-toggle"},pt=["value"],mt={key:0,class:"form-row alert alert-info my-1 small"};function _t(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",rt,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",dt,[n("div",ct,[n("div",ut,[(r(!0),c(x,null,M(o.buttons,l=>(r(),c("label",{key:l.value,class:k(["btn",[s.value==l.buttonValue?"active":"",l.class?l.class:"btn-outline-info"]])},[C(n("input",S({type:"radio","onUpdate:modelValue":t[1]||(t[1]=g=>s.value=g),value:l.buttonValue},e.$attrs),null,16,pt),[[Q,s.value]]),p(" "+f(l.text)+" ",1),m(a,{icon:["fas","check"],style:Y([s.value==l.buttonValue?"visibility: visible":"visibility: hidden"])},null,8,["style"])],2))),128))])]),i.showHelp?(r(),c("span",mt,[w(e.$slots,"help")])):u("",!0)])])}const ft=b(it,[["render",_t],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseButtonGroupInput.vue"]]),ht=Object.freeze(Object.defineProperty({__proto__:null,default:ft},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const gt={name:"OpenwbButtonInput",inheritAttrs:!1,props:{title:String,buttonText:String,disabled:{type:Boolean,default:!1},subtype:{type:String,validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"}},data(){return{showHelp:!1}},emits:["buttonClicked"],methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0},handleClick(e){this.$emit("buttonClicked",e)}},components:{FontAwesomeIcon:O}},bt={class:"form-row mb-1"},vt={class:"col-md-8"},wt={class:"form-row"},yt={key:0,class:"form-row alert alert-info my-1 small"};function kt(e,t,o,d,i,s){const a=h("font-awesome-icon"),l=h("openwb-base-click-button");return r(),c("div",bt,[n("label",{onClick:t[0]||(t[0]=(...g)=>s.toggleHelp&&s.toggleHelp(...g)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",vt,[n("div",wt,[m(l,S({class:(o.disabled?"btn-outline-":"btn-")+o.subtype,disabled:o.disabled},e.$attrs,{onButtonClicked:s.handleClick}),{default:_(()=>[w(e.$slots,"default",{},()=>[p(f(o.buttonText),1)])]),_:3},16,["class","disabled","onButtonClicked"])]),i.showHelp?(r(),c("span",yt,[w(e.$slots,"help")])):u("",!0)])])}const St=b(gt,[["render",kt],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseButtonInput.vue"]]),Ct=Object.freeze(Object.defineProperty({__proto__:null,default:St},Symbol.toStringTag,{value:"Module"}));B.add(me,_e);const Bt={name:"OpenwbCard",components:{FontAwesomeIcon:O},props:{title:{type:String,default:"# no title set #"},subtype:{validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark","pink"].indexOf(e)!==-1},default:"secondary"},collapsible:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},data(){return{isCollapsed:this.collapsible&&this.collapsed}},methods:{toggleBody(){this.collapsible===!0&&(this.isCollapsed=!this.isCollapsed)}}},Ot={class:"form-group mb-0"},$t={class:"form-row vaRow mb-0 py-2"},Tt={class:"col"},xt={class:"card-actions ml-4"},It={key:0,class:"card-actions mr-4"},Vt={key:0,class:"card-body"},Pt={key:1,class:"card-footer"};function Ht(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",{class:k(["card","border-"+o.subtype])},[n("div",{class:k(["card-header py-1","bg-"+o.subtype]),onClick:t[0]||(t[0]=(...l)=>s.toggleBody&&s.toggleBody(...l))},[n("div",Ot,[n("div",$t,[n("div",Tt,[w(e.$slots,"header",{collapsed:i.isCollapsed},()=>[p(f(o.title),1)])])])]),n("span",xt,[e.$slots.actions?(r(),c("span",It,[w(e.$slots,"actions",{collapsed:i.isCollapsed})])):u("",!0),o.collapsible?(r(),v(a,{key:1,"fixed-width":"",icon:i.isCollapsed?["fas","chevron-right"]:["fas","chevron-down"]},null,8,["icon"])):u("",!0)])],2),i.isCollapsed===!1?(r(),c("div",Vt,[w(e.$slots,"default")])):u("",!0),e.$slots.footer&&i.isCollapsed===!1?(r(),c("div",Pt,[w(e.$slots,"footer")])):u("",!0)],2)}const Mt=b(Bt,[["render",Ht],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseCard.vue"]]),Dt=Object.freeze(Object.defineProperty({__proto__:null,default:Mt},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const At={name:"OpenwbCheckboxInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Boolean}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},Et={class:"form-row mb-1"},qt={class:"col-md-8"},Lt={class:"form-row"},jt={key:0,class:"form-row alert alert-info my-1 small"};function Wt(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Et,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",qt,[n("div",Lt,[C(n("input",S({class:"form-control",type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),null,16),[[Z,s.value]])]),i.showHelp?(r(),c("span",jt,[w(e.$slots,"help")])):u("",!0)])])}const Rt=b(At,[["render",Wt],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseCheckboxInput.vue"]]),Nt=Object.freeze(Object.defineProperty({__proto__:null,default:Rt},Symbol.toStringTag,{value:"Module"}));const Ut={name:"OpenwbClickButton",props:{title:String},emits:["buttonClicked"],methods:{click(e){this.$emit("buttonClicked",e)}}};function zt(e,t,o,d,i,s){return r(),c("button",{type:"button",class:"btn btn-block",onClick:t[0]||(t[0]=X((...a)=>s.click&&s.click(...a),["prevent"]))},[w(e.$slots,"default",{},()=>[p(f(o.title),1)],!0)])}const Ft=b(Ut,[["render",zt],["__scopeId","data-v-2e9c095b"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseClickButton.vue"]]),Gt=Object.freeze(Object.defineProperty({__proto__:null,default:Ft},Symbol.toStringTag,{value:"Module"}));B.add(fe,he);const Jt={name:"OpenwbCopyToClipboard",components:{FontAwesomeIcon:O},props:{tooltip:{type:String,default:"Wert kopieren"}},data(){return{clipboardApiAvailable:navigator.clipboard!=null,isCopied:!1}},methods:{click(){if(console.debug(this.$refs["slot-wrapper"].innerText),this.clipboardApiAvailable)navigator.clipboard.writeText(this.$refs["slot-wrapper"].innerText).then(()=>{this.isCopied=!0},()=>{console.error("copy to clipboard failed")});else{if(console.debug("clipboard api not supported/enabled, fallback to select"),window.getSelection){console.debug("using 'window.getSelection'");const e=window.getSelection(),t=document.createRange();t.selectNodeContents(this.$refs["slot-wrapper"]),e.removeAllRanges(),e.addRange(t);return}if(document.body.createTextRange){console.debug("using 'document.body.createTextRange'");const e=document.body.createTextRange();e.moveToElementText(this.$refs["slot-wrapper"]),e.select()}else console.warn("could not select text, unsupported browser")}}}},Kt=["title"];function Qt(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("span",{ref:"slot-wrapper",title:o.tooltip,class:"copy-me",onClick:t[0]||(t[0]=(...l)=>s.click&&s.click(...l))},[w(e.$slots,"default",{},void 0,!0),m(a,{"fixed-width":"",icon:i.isCopied?["fas","clipboard-check"]:["fas","clipboard"]},null,8,["icon"])],8,Kt)}const Yt=b(Jt,[["render",Qt],["__scopeId","data-v-81826ebe"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseCopyToClipboard.vue"]]),Zt=Object.freeze(Object.defineProperty({__proto__:null,default:Yt},Symbol.toStringTag,{value:"Module"}));B.add(I,V,q);const Xt={name:"OpenwbHeading",inheritAttrs:!1,components:{FontAwesomeIcon:O},data(){return{showHelp:!1}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}}},es={key:0,class:"actions"},ts={class:""},ss={key:0,class:"form-row alert alert-info small"};function os(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c(x,null,[n("div",S({class:"card-text card-text-heading"},e.$attrs),[n("div",{class:"heading-text",onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l))},[w(e.$slots,"default",{},void 0,!0),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),e.$slots.actions?(r(),c("span",es,[w(e.$slots,"actions",{},void 0,!0)])):u("",!0)],16),n("div",ts,[i.showHelp?(r(),c("span",ss,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])],64)}const ns=b(Xt,[["render",os],["__scopeId","data-v-cbe4e96e"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseHeading.vue"]]),as=Object.freeze(Object.defineProperty({__proto__:null,default:ns},Symbol.toStringTag,{value:"Module"})),ls={name:"OpenwbModalDialog",emits:["modal-result"],props:{title:String,subtype:{type:String,validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"},buttons:{type:Array,default:void 0},footerAlignment:{type:String,validator:function(e){return["around","between","center","end","start"].indexOf(e)!==-1},default:"end"},preventClose:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},computed:{myButtons(){var e=[];return this.buttons!==void 0&&(e=this.buttons),this.preventClose||e.push({text:"Schließen",event:"close"}),e}},methods:{handleClick(e){e.stopPropagation();let t=e.target.getAttribute("data-event");t===null&&(t="close"),(t!="close"||!this.preventClose)&&this.$emit("modal-result",t)}}},is=n("div",{class:"modal-backdrop fade show"},null,-1),rs={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},ds={class:"modal-content"},cs={class:"modal-title"},us={class:"modal-body"},ps=["data-event"];function ms(e,t,o,d,i,s){return o.show?(r(),v(ee,{key:0,to:"body"},[is,n("div",{class:"modal fade d-block show",role:"dialog",onClick:t[2]||(t[2]=(...a)=>s.handleClick&&s.handleClick(...a))},[n("div",rs,[n("div",ds,[n("div",{class:k(["modal-header","bg-"+o.subtype])},[n("h4",cs,f(o.title),1),o.preventClose?u("",!0):(r(),c("button",{key:0,type:"button",class:"close",onClick:t[0]||(t[0]=(...a)=>s.handleClick&&s.handleClick(...a))}," × "))],2),n("div",us,[w(e.$slots,"default",{},()=>[p("# Body #")])]),s.myButtons.length>0?(r(),c("div",{key:0,class:k(["modal-footer d-flex","justify-content-"+o.footerAlignment])},[(r(!0),c(x,null,M(s.myButtons,a=>(r(),c("button",{key:a.text,type:"button",class:k(["btn",a.subtype?"btn-"+a.subtype:"btn-secondary"]),"data-dismiss":"modal","data-event":a.event?a.event:"close",onClick:t[1]||(t[1]=(...l)=>s.handleClick&&s.handleClick(...l))},f(a.text),11,ps))),128))],2)):u("",!0)])])])])):u("",!0)}const _s=b(ls,[["render",ms],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseModalDialog.vue"]]),fs=Object.freeze(Object.defineProperty({__proto__:null,default:_s},Symbol.toStringTag,{value:"Module"}));B.add(I,V,ge);const hs={name:"OpenwbNumberInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Number},unit:String,emptyValue:{required:!1,default:null}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){(isNaN(e)||typeof e!="number")&&(e=this.emptyValue),this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},gs={class:"form-row mb-1"},bs={class:"col-md-8"},vs={class:"form-row"},ws={class:"input-group"},ys={class:"input-group-prepend"},ks={class:"input-group-text"},Ss={key:0,class:"input-group-append"},Cs={class:"input-group-text"},Bs={key:0,class:"form-row alert alert-info my-1 small"};function Os(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",gs,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",bs,[n("div",vs,[n("div",ws,[n("div",ys,[n("div",ks,[m(a,{"fixed-width":"",icon:["fas","calculator"]})])]),C(n("input",S({type:"number",class:"form-control","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),null,16),[[$,s.value,void 0,{number:!0}]]),o.unit?(r(),c("div",Ss,[n("div",Cs,f(o.unit),1)])):u("",!0)])]),i.showHelp?(r(),c("span",Bs,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const $s=b(hs,[["render",Os],["__scopeId","data-v-c2fb7eef"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseNumberInput.vue"]]),Ts=Object.freeze(Object.defineProperty({__proto__:null,default:$s},Symbol.toStringTag,{value:"Module"}));B.add(I,V,be,ve);const xs={name:"OpenwbRangeInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Number},unit:String,min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},labels:{type:Array}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{label(){var e;return this.labels&&this.sliderValue!=null?this.sliderValues.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Vs,[n("div",Ps,[s.label?(r(),c("label",Hs,f(s.label),1)):u("",!0),n("button",{class:"col-1 btn btn-block btn-info",type:"button",onClick:t[1]||(t[1]=(...l)=>s.decrement&&s.decrement(...l))},[m(a,{icon:["fas","step-backward"]})]),n("div",Ms,[C(n("input",S({type:"range",class:"form-control-range rangeInput",min:o.min,max:o.max,step:o.step,"onUpdate:modelValue":t[2]||(t[2]=l=>s.sliderValue=l)},e.$attrs),null,16,Ds),[[$,s.sliderValue,void 0,{number:!0}]])]),n("button",{class:"col-1 btn btn-block btn-info",type:"button",onClick:t[3]||(t[3]=(...l)=>s.increment&&s.increment(...l))},[m(a,{icon:["fas","step-forward"]})])]),i.showHelp?(r(),c("div",As,[n("div",Es,[w(e.$slots,"help",{},void 0,!0)])])):u("",!0)])])}const Ls=b(xs,[["render",qs],["__scopeId","data-v-449fb0a5"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseRangeInput.vue"]]),js=Object.freeze(Object.defineProperty({__proto__:null,default:Ls},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const Ws={name:"OpenwbSelectInput",inheritAttrs:!1,props:{title:String,modelValue:{type:[String,Number,Array]},groups:Object,options:Object,notSelected:{type:String,default:void 0}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},Rs={class:"form-row mb-1"},Ns={class:"col-md-8"},Us={class:"form-row"},zs={key:0,value:void 0,disabled:""},Fs=["value"],Gs=["label"],Js=["value"],Ks={key:0,class:"form-row alert alert-info my-1 small"};function Qs(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Rs,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Ns,[n("div",Us,[C(n("select",S({class:"col form-control","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),[o.notSelected!==void 0?(r(),c("option",zs," -- "+f(o.notSelected)+" -- ",1)):u("",!0),(r(!0),c(x,null,M(o.options,l=>(r(),c("option",{key:l.value,value:l.value},f(l.text),9,Fs))),128)),(r(!0),c(x,null,M(o.groups,l=>(r(),c("optgroup",{key:l.label,label:l.label},[(r(!0),c(x,null,M(l.options,g=>(r(),c("option",{key:g.value,value:g.value},f(g.text),9,Js))),128))],8,Gs))),128))],16),[[te,s.value]]),w(e.$slots,"append")]),i.showHelp?(r(),c("span",Ks,[w(e.$slots,"help")])):u("",!0)])])}const Ys=b(Ws,[["render",Qs],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseSelectInput.vue"]]),Zs=Object.freeze(Object.defineProperty({__proto__:null,default:Ys},Symbol.toStringTag,{value:"Module"}));B.add(q,we,ye);const Xs={name:"OpenwbSubmitButtons",components:{FontAwesomeIcon:O},props:{formName:{type:String,default:void 0},hideReset:{type:Boolean,default:!1},hideDefaults:{type:Boolean,default:!0}},data(){return{showModalReset:!1,showModalDefaults:!1}},emits:["reset","defaults","save"],computed:{showModalSave(){return this.$store.state.local.savingData}},methods:{showResetModal(){this.showModalReset=!0},handleModalReset(e){this.showModalReset=!1,e=="confirm"&&this.$emit("reset")},showDefaultsModal(){this.showModalDefaults=!0},handleModalDefaults(e){this.showModalDefaults=!1,e=="confirm"&&this.$emit("defaults")},saveSettings(){if(this.formName){if(!document.forms[this.formName].reportValidity()){console.debug("form invalid");return}}else console.debug("no form to validate");this.$emit("save")}}},eo={class:"row justify-content-center mb-1"},to={class:"col-md-4 d-flex py-1 justify-content-center"},so={key:0,class:"col-md-4 d-flex py-1 justify-content-center"},oo={key:1,class:"col-md-4 d-flex py-1 justify-content-center"};function no(e,t,o,d,i,s){const a=h("openwb-base-modal-dialog"),l=h("font-awesome-icon");return r(),c(x,null,[m(a,{show:s.showModalSave,title:"Speichern",subtype:"success",preventClose:!0},{default:_(()=>[p(" Einstellungen werden gespeichert... ")]),_:1},8,["show"]),m(a,{show:i.showModalReset,title:"Änderungen verwerfen",subtype:"warning",buttons:[{text:"Ok",event:"confirm",subtype:"warning"}],onModalResult:s.handleModalReset},{default:_(()=>[p(" Wollen Sie die nicht gespeicherten Änderungen wirklich verwerfen? ")]),_:1},8,["show","onModalResult"]),m(a,{show:i.showModalDefaults,title:"Werkseinstellungen",subtype:"danger",buttons:[{text:"Ok",event:"confirm",subtype:"danger"}],onModalResult:s.handleModalDefaults},{default:_(()=>[p(" Wollen Sie wirklich alle Werte dieser Seite auf die Werkseinstellungen zurücksetzen? ")]),_:1},8,["show","onModalResult"]),n("div",eo,[n("div",to,[n("button",{id:"saveSettingsBtn",type:"button",class:"btn btn-block btn-success",onClick:t[0]||(t[0]=(...g)=>s.saveSettings&&s.saveSettings(...g))},[p(" Speichern "),m(l,{"fixed-width":"",icon:["fas","check"]})])]),o.hideReset?u("",!0):(r(),c("div",so,[n("button",{id:"modalResetBtn",type:"button",class:"btn btn-block btn-warning",onClick:t[1]||(t[1]=(...g)=>s.showResetModal&&s.showResetModal(...g))},[p(" Änderungen verwerfen "),m(l,{"fixed-width":"",icon:["fas","undo"]})])])),o.hideDefaults?u("",!0):(r(),c("div",oo,[n("button",{id:"modalDefaultsBtn",type:"button",class:"btn btn-block btn-danger",onClick:t[2]||(t[2]=(...g)=>s.showDefaultsModal&&s.showDefaultsModal(...g))},[p(" Werkseinstellungen "),m(l,{"fixed-width":"",icon:["fas","times"]})])]))])],64)}const ao=b(Xs,[["render",no],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseSubmitButtons.vue"]]),lo=Object.freeze(Object.defineProperty({__proto__:null,default:ao},Symbol.toStringTag,{value:"Module"}));B.add(I,V,ke,Se,Ce,Be,Oe,$e,Te,xe,Ie,Ve,Pe,He);const io={name:"OpenwbTextInput",inheritAttrs:!1,props:{title:String,modelValue:{type:[String,Object]},subtype:{validator:function(e){return["text","email","host","url","user","json","password","time","date","month","year"].indexOf(e)!==-1},default:"text"},pattern:String,unit:String,emptyValue:{required:!1,default:null},showQuickButtons:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{showHelp:!1,showPassword:!1,inputInvalid:!1,tempValue:this.modelValue}},computed:{value:{get(){return this.subtype=="json"?this.inputInvalid?(console.warn("returning invalid String"),this.tempValue):JSON.stringify(this.tempValue):this.modelValue},set(e){if(this.subtype=="json")try{let t=JSON.parse(e);this.inputInvalid=!1,this.$refs.jsonInput.setCustomValidity(""),this.tempValue=t,this.$emit("update:modelValue",t)}catch{console.error("parsing JSON failed: "+e),this.inputInvalid=!0,this.$refs.jsonInput.setCustomValidity("Ungültiger JSON Ausdruck!"),this.tempValue=e}else e==""&&(e=this.emptyValue),this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0},togglePassword(){this.showPassword=!this.showPassword},modify(e){var t,o,d=new Date(this.modelValue);switch(this.subtype){case"date":d.setDate(d.getDate()+e),o=String(d.getFullYear())+"-"+String(d.getMonth()+1).padStart(2,"0")+"-"+String(d.getDate()).padStart(2,"0"),t=this.$refs.dateInput;break;case"month":d.setMonth(d.getMonth()+e),o=String(d.getFullYear())+"-"+String(d.getMonth()+1).padStart(2,"0"),t=this.$refs.monthInput;break;case"year":d.setYear(d.getFullYear()+e),o=String(d.getFullYear()),t=this.$refs.yearInput;break;default:console.warn(`cannot modify input of subtype '${this.subtype}'`);return}o>t.max||o(A("data-v-6927d479"),e=e(),E(),e),ro={class:"form-row mb-1"},co={class:"col-md-8"},uo={class:"form-row"},po={class:"input-group"},mo={class:"input-group-prepend"},_o={class:"input-group-text"},fo=["pattern"],ho=["pattern"],go=["type","pattern"],bo=["type"],vo={class:"input-group-text"},wo={key:10,class:"input-group-append"},yo={class:"input-group-text"},ko=N(()=>n("div",{class:"input-group-text"},"-",-1)),So=[ko],Co=N(()=>n("div",{class:"input-group-text"},"+",-1)),Bo=[Co],Oo={key:0,class:"form-row alert alert-info my-1 small"};function $o(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",ro,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",co,[n("div",uo,[n("div",po,[n("div",mo,[n("div",_o,[o.subtype=="text"?(r(),v(a,{key:0,"fixed-width":"",icon:["fas","keyboard"]})):u("",!0),o.subtype=="email"?(r(),v(a,{key:1,"fixed-width":"",icon:["fas","envelope"]})):u("",!0),o.subtype=="host"?(r(),v(a,{key:2,"fixed-width":"",icon:["fas","network-wired"]})):u("",!0),o.subtype=="url"?(r(),v(a,{key:3,"fixed-width":"",icon:["fas","globe"]})):u("",!0),o.subtype=="user"?(r(),v(a,{key:4,"fixed-width":"",icon:["fas","user"]})):u("",!0),o.subtype=="json"?(r(),v(a,{key:5,"fixed-width":"",icon:["fas","code"]})):u("",!0),o.subtype=="password"?(r(),v(a,{key:6,"fixed-width":"",icon:i.showPassword?["fas","unlock"]:["fas","lock"]},null,8,["icon"])):u("",!0),o.subtype=="time"?(r(),v(a,{key:7,"fixed-width":"",icon:["fas","clock"]})):u("",!0),o.subtype=="date"||o.subtype=="month"||o.subtype=="year"?(r(),v(a,{key:8,"fixed-width":"",icon:["fas","calendar-day"]})):u("",!0)])]),["text","user"].includes(o.subtype)?C((r(),c("input",S({key:0,type:"text",class:["form-control",{invalid:i.inputInvalid}],"onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs,{pattern:o.pattern}),null,16,fo)),[[$,s.value]]):u("",!0),o.subtype=="json"?C((r(),c("input",S({key:1,ref:"jsonInput",type:"text",class:"form-control","onUpdate:modelValue":t[2]||(t[2]=l=>s.value=l)},e.$attrs,{pattern:o.pattern}),null,16,ho)),[[$,s.value]]):u("",!0),o.subtype=="password"?C((r(),c("input",S({key:2,type:i.showPassword?"text":"password",class:"form-control","onUpdate:modelValue":t[3]||(t[3]=l=>s.value=l)},e.$attrs,{pattern:o.pattern}),null,16,go)),[[W,s.value]]):u("",!0),o.subtype=="host"?C((r(),c("input",S({key:3,type:"text",class:"form-control","onUpdate:modelValue":t[4]||(t[4]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),["email","url"].includes(o.subtype)?C((r(),c("input",S({key:4,type:o.subtype,class:"form-control","onUpdate:modelValue":t[5]||(t[5]=l=>s.value=l)},e.$attrs),null,16,bo)),[[W,s.value]]):u("",!0),o.subtype=="password"?(r(),c("div",{key:5,class:"input-group-append clickable",onClick:t[6]||(t[6]=(...l)=>s.togglePassword&&s.togglePassword(...l))},[n("div",vo,[m(a,{"fixed-width":"",icon:i.showPassword?["far","eye"]:["far","eye-slash"]},null,8,["icon"])])])):u("",!0),o.subtype=="time"?C((r(),c("input",S({key:6,type:"time",class:"form-control","onUpdate:modelValue":t[7]||(t[7]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.subtype=="date"?C((r(),c("input",S({key:7,type:"date",ref:"dateInput",class:"form-control","onUpdate:modelValue":t[8]||(t[8]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.subtype=="month"?C((r(),c("input",S({key:8,type:"month",ref:"monthInput",class:"form-control","onUpdate:modelValue":t[9]||(t[9]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.subtype=="year"?C((r(),c("input",S({key:9,type:"number",ref:"yearInput",class:"form-control","onUpdate:modelValue":t[10]||(t[10]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.unit?(r(),c("div",wo,[n("div",yo,f(o.unit),1)])):u("",!0),o.showQuickButtons&&(o.subtype=="date"||o.subtype=="month"||o.subtype=="year")?(r(),c("div",{key:11,class:"input-group-append clickable",onClick:t[11]||(t[11]=l=>s.modify(-1))},[...So])):u("",!0),o.showQuickButtons&&(o.subtype=="date"||o.subtype=="month"||o.subtype=="year")?(r(),c("div",{key:12,class:"input-group-append clickable",onClick:t[12]||(t[12]=l=>s.modify(1))},[...Bo])):u("",!0)])]),i.showHelp?(r(),c("span",Oo,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const To=b(io,[["render",$o],["__scopeId","data-v-6927d479"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseTextInput.vue"]]),xo=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const Io={name:"OpenwbTextareaInput",inheritAttrs:!1,props:{title:String,modelValue:{String,Object},subtype:{validator:function(e){return["text","json"].indexOf(e)!==-1},default:"text"}},emits:["update:modelValue"],data(){return{showHelp:!1,inputInvalid:!1,tempValue:this.modelValue}},computed:{value:{get(){return this.subtype=="json"?this.inputInvalid?(console.debug("returning invalid String"),this.tempValue):JSON.stringify(this.tempValue,void 0,2):this.modelValue},set(e){if(this.subtype=="json")try{let t=JSON.parse(e);this.inputInvalid=!1,this.$refs.jsonInput.setCustomValidity(""),this.tempValue=t,this.$emit("update:modelValue",t)}catch{console.warn("parsing JSON failed: "+e),this.inputInvalid=!0,this.$refs.jsonInput.setCustomValidity("Ungültiger JSON Ausdruck!"),this.tempValue=e}else this.$emit("update:modelValue",e)}},length:{get(){return this.value!==void 0?this.value.length:0}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},Vo={class:"form-row mb-1"},Po={class:"col-md-8"},Ho={class:"form-row"},Mo={class:"input-group"},Do={class:"input-group-prepend"},Ao={class:"input-group-text"},Eo={key:2,class:"input-group-append"},qo={class:"input-group-text"},Lo={class:"form-text text-muted text-right"},jo={key:0,class:"form-row alert alert-info my-1 small"};function Wo(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Vo,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Po,[n("div",Ho,[n("div",Mo,[n("div",Do,[n("div",Ao,[o.subtype=="text"?(r(),v(a,{key:0,"fixed-width":"",icon:["fas","keyboard"]})):u("",!0),o.subtype=="json"?(r(),v(a,{key:1,"fixed-width":"",icon:["fas","code"]})):u("",!0)])]),o.subtype==="json"?C((r(),c("textarea",S({key:0,ref:"jsonInput",class:"form-control","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value,void 0,{lazy:!0}]]):C((r(),c("textarea",S({key:1,class:"form-control","onUpdate:modelValue":t[2]||(t[2]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]),e.$attrs.maxlength?(r(),c("div",Eo,[n("div",qo,[n("small",Lo,f(s.length)+" / "+f(e.$attrs.maxlength),1)])])):u("",!0)])]),i.showHelp?(r(),c("span",jo,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const Ro=b(Io,[["render",Wo],["__scopeId","data-v-3d93046b"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseTextarea.vue"]]),No=Object.freeze(Object.defineProperty({__proto__:null,default:Ro},Symbol.toStringTag,{value:"Module"}));const Uo={name:"OpenwbToast",emits:["dismiss"],props:{topic:{type:String,required:!0},subtype:{validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"},source:{validator:function(e){return["system","client","command"].indexOf(e)!==-1}},timestamp:{type:Number}},data(){return{handle:void 0,relativeTime:void 0}},methods:{dismiss(){this.$emit("dismiss",{topic:this.topic})},updateRelativeTime(){const e={year:31536e6,month:2628e6,day:864e5,hour:36e5,minute:6e4,second:1e3};var t=new Intl.RelativeTimeFormat("de",{numeric:"auto"});const o=new Date,d=this.timestamp*1e3-o;for(var i in e)if(Math.abs(d)>e[i]){this.relativeTime=t.format(Math.round(d/e[i]),i);break}}},mounted(){this.handle=window.setInterval(this.updateRelativeTime,1e3)},unmounted(){window.clearInterval(this.handle)}},U=e=>(A("data-v-c51b5764"),e=e(),E(),e),zo=U(()=>n("strong",{class:"pr-2 mr-auto"},"OpenWB",-1)),Fo={key:0,class:"time-diff"},Go=U(()=>n("span",{"aria-hidden":"true"},"×",-1)),Jo=[Go],Ko={class:"toast-body"};function Qo(e,t,o,d,i,s){return r(),c("div",{class:k(["toast","border-"+o.subtype]),role:"alert"},[n("div",{class:k(["toast-header","bg-"+o.subtype])},[zo,o.timestamp?(r(),c("small",Fo,f(i.relativeTime),1)):u("",!0),n("button",{type:"button",class:"ml-2 mb-1 close","data-dismiss":"toast","aria-label":"Close",onClick:t[0]||(t[0]=(...a)=>s.dismiss&&s.dismiss(...a))},[...Jo])],2),n("div",Ko,[w(e.$slots,"default",{},void 0,!0)])],2)}const Yo=b(Uo,[["render",Qo],["__scopeId","data-v-c51b5764"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseToast.vue"]]),Zo=Object.freeze(Object.defineProperty({__proto__:null,default:Yo},Symbol.toStringTag,{value:"Module"}));B.add(Me);const Xo={name:"OpenwbNavBar",components:{FontAwesomeIcon:O},computed:{nodeEnv(){return"development"}},watch:{$route(){this.$refs.collapsibleNavbar.classList.remove("show"),this.$refs.navbarButton.classList.add("collapsed"),this.$refs.navbarButton.setAttribute("aria-expanded",!1)}}},P=e=>(A("data-v-e7a6d0c0"),e=e(),E(),e),en={class:"navbar navbar-expand-lg bg-dark navbar-dark fixed-top"},tn=P(()=>n("a",{class:"navbar-brand",href:"/openWB/web/"},[n("span",null,"openWB")],-1)),sn={class:"navbar-toggler",type:"button","data-toggle":"collapse","data-target":"#collapsibleNavbar",ref:"navbarButton"},on=P(()=>n("span",{class:"navbar-toggler-icon"},null,-1)),nn=[on],an={class:"collapse navbar-collapse",id:"collapsibleNavbar",ref:"collapsibleNavbar"},ln={class:"navbar-nav"},rn={class:"nav-item"},dn={class:"nav-item dropdown nav-separator-after"},cn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Auswertungen ",-1)),un={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},pn={class:"nav-item dropdown"},mn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Einstellungen ",-1)),_n={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},fn={class:"nav-item dropdown"},hn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Ladeeinstellungen ",-1)),gn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},bn={class:"nav-item dropdown"},vn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Konfiguration ",-1)),wn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},yn=P(()=>n("div",{class:"dropdown-divider"},null,-1)),kn=P(()=>n("a",{href:"modules/legacy_smart_home/smarthomeconfig.php",class:"dropdown-item",target:"_blank"}," SmartHome ",-1)),Sn={class:"nav-item dropdown"},Cn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," System ",-1)),Bn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},On={key:0,class:"nav-item dropdown nav-separator-before"},$n=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Beispiele ",-1)),Tn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},xn={class:"nav-item nav-separator-before"},In={class:"nav-link",href:"https://github.com/openWB/core/wiki",target:"_blank"};function Vn(e,t,o,d,i,s){const a=h("router-link"),l=h("font-awesome-icon");return r(),c("nav",en,[tn,n("button",sn,[...nn],512),n("div",an,[n("ul",ln,[n("li",rn,[m(a,{to:"/Status",class:"nav-link","active-class":"active disabled"},{default:_(()=>[p(" Status ")]),_:1})]),n("li",dn,[cn,n("div",un,[m(a,{to:"/Logging/ChargeLog",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Ladeprotokoll ")]),_:1}),m(a,{to:"/Logging/Chart",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Diagramme ")]),_:1})])]),n("li",pn,[mn,n("div",_n,[m(a,{to:"/GeneralConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Allgemein ")]),_:1}),m(a,{to:"/OptionalComponents",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Optionale Hardware ")]),_:1})])]),n("li",fn,[hn,n("div",gn,[m(a,{to:"/GeneralChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Übergreifendes ")]),_:1}),m(a,{to:"/InstantChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Sofortladen ")]),_:1}),m(a,{to:"/PVChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" PV-Laden ")]),_:1}),m(a,{to:"/TimeChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Zeitladen ")]),_:1}),m(a,{to:"/ScheduledChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Zielladen ")]),_:1})])]),n("li",bn,[vn,n("div",wn,[m(a,{to:"/HardwareInstallation",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Geräte und Komponenten ")]),_:1}),m(a,{to:"/LoadManagementConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Lastmanagement ")]),_:1}),m(a,{to:"/ChargePointInstallation",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Ladepunkte ")]),_:1}),m(a,{to:"/VehicleConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Fahrzeuge ")]),_:1}),yn,kn])]),n("li",Sn,[Cn,n("div",Bn,[m(a,{to:"/System/CloudConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" openWB Cloud ")]),_:1}),m(a,{to:"/System/MqttBridgeConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" MQTT-Brücken ")]),_:1}),m(a,{to:"/System/DebugConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Fehlersuche ")]),_:1}),m(a,{to:"/System/Support",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Support ")]),_:1}),m(a,{to:"/System/DataManagement",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Datenverwaltung ")]),_:1}),m(a,{to:"/System/SystemConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" System ")]),_:1}),m(a,{to:"/System/LegalSettings",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Rechtliches ")]),_:1})])]),s.nodeEnv!=="production"?(r(),c("li",On,[$n,n("div",Tn,[m(a,{to:"/TestingStore",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" VUEX Store ")]),_:1})])])):u("",!0),n("li",xn,[n("a",In,[p(" Wiki "),m(l,{"fixed-width":"",icon:["fas","external-link-alt"]})])])])],512)])}const Pn=b(Xo,[["render",Vn],["__scopeId","data-v-e7a6d0c0"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageNavbar.vue"]]);const Hn={name:"OpenwbPageFooter"},Mn={id:"footer",class:"footer bg-dark text-light font-small"},Dn={class:"container text-center"};function An(e,t,o,d,i,s){return r(),c("footer",Mn,[n("div",Dn,[n("small",null," Sie befinden sich hier: Einstellungen / "+f(e.$route.meta.heading),1)])])}const En=b(Hn,[["render",An],["__scopeId","data-v-3c9a239a"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageFooter.vue"]]);B.add(De);const qn={name:"OpenwbDonationBanner",components:{FontAwesomeIcon:O}},Ln={class:"mt-3 alert alert-dark text-center"},jn=n("br",null,null,-1),Wn=n("br",null,null,-1),Rn={action:"https://www.paypal.com/cgi-bin/webscr",method:"post",target:"_blank"},Nn=n("input",{type:"hidden",name:"cmd",value:"_s-xclick"},null,-1),Un=n("input",{type:"hidden",name:"hosted_button_id",value:"2K8C4Y2JTGH7U"},null,-1),zn={type:"submit",class:"btn btn-primary"};function Fn(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Ln,[p(" Open Source made with love!"),jn,p(" Jede Spende hilft die Weiterentwicklung von openWB voranzutreiben"),Wn,n("form",Rn,[Nn,Un,n("button",zn,[p(" Spenden "),m(a,{icon:["fab","paypal"]})])])])}const Gn=b(qn,[["render",Fn],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageDonationBanner.vue"]]),Jn={name:"ComponentState",data(){return{mqttTopicsToSubscribe:[]}},emits:["reset","defaults","save"],computed:{weekdays(){return["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"]},chargeModes(){return["instant_charging","pv_charging","scheduled_charging","time_charging","standby","stop"]},mqttClientId(){return this.$root.mqttClientId}},methods:{updateState(e,t,o=void 0){console.debug("updateState:",e,t,o),this.$store.commit({type:"updateTopic",topic:e,objectPath:o,payload:t})},getWildcardIndexList(e,t=!1){let o=e;t||(o="^"+e.replaceAll("/","\\/").replaceAll("+","[^+/]+").replaceAll("#","[^#/]+")+"$");let d=Object.keys(this.$store.state.mqtt).filter(i=>i.match(o));return d.forEach((i,s,a)=>{a[s]=parseInt(i.match(/(?:\/)([0-9]+)(?=\/)*/g)[0].replace(/[^0-9]+/g,""))}),d},getWildcardTopics(e,t=!1){let o=e;return t||(o="^"+e.replaceAll("/","\\/").replaceAll("+","[^+/]+").replaceAll("#","[^#/]+")+"$"),Object.keys(this.$store.state.mqtt).filter(d=>d.match(o)).reduce((d,i)=>({...d,[i]:this.$store.state.mqtt[i]}),{})},formatDate(e,t={year:"numeric",month:"2-digit",day:"2-digit"}){return new Date(e).toLocaleDateString(void 0,t)},formatNumber(e,t=0,o=t,d=1){return(e*d).toLocaleString(void 0,{minimumFractionDigits:t,maximumFractionDigits:o})},formatNumberTopic(e,t=0,o=t,d=1){return this.$store.state.mqtt[e]?this.formatNumber(this.$store.state.mqtt[e],t,o,d):"-"},formatPhaseArrayNumberTopic(e,t=0,o=t,d=1){return this.$store.state.mqtt[e]?this.$store.state.mqtt[e].map(i=>this.formatNumber(i,t,o,d)).join(" / "):"- / - / -"},translateChargeMode(e){switch(e){case"instant_charging":return"Sofort";case"pv_charging":return"PV";case"scheduled_charging":return"Zielladen";case"time_charging":return"Zeitladen";case"standby":return"Standby";case"stop":return"Stop";default:return console.warn("unknown charge mode:",e),e}}},mounted(){this.mqttTopicsToSubscribe.push("openWB/log/"+this.mqttClientId+"/data"),this.mqttTopicsToSubscribe.forEach(e=>{e.includes("#")||e.includes("+")?console.debug("skipping init of wildcard topic:",e):Object.keys(this.$store.state.mqtt).includes(e)?console.error("multiple subscriptions of topic!",e):this.$store.commit("addTopic",{topic:e,payload:void 0})}),this.$root.doSubscribe(this.mqttTopicsToSubscribe)},unmounted(){this.$root.doUnsubscribe(this.mqttTopicsToSubscribe),this.mqttTopicsToSubscribe.forEach(e=>{e.includes("#")||e.includes("+")?(console.debug("expanding wildcard topic:",e),Object.keys(this.getWildcardTopics(e)).forEach(t=>{console.debug("removing wildcardTopic:",t),this.$store.commit("removeTopic",t)})):this.$store.commit("removeTopic",e)})}},z=b(Jn,[["__file","/opt/openWB-dev/openwb-ui-settings/src/components/mixins/ComponentState.vue"]]);const Kn={name:"OpenwbPageMessages",mixins:[z],data(){return{mqttTopicsToSubscribe:["openWB/system/messages/+","openWB/command/"+this.$root.mqttClientId+"/messages/+","openWB/command/"+this.$root.mqttClientId+"/error"]}},computed:{messages(){const e=[];return this.alertData&&e.push({topic:"openWB/command/"+this.$root.mqttClientId+"/error",source:"command",type:"danger",message:`Bei der Verarbeitung des Befehls '`+this.alertData.command+`' mit den Parametern '`+this.alertData.data+"' ist ein Fehler aufgetreten:
"+this.alertData.error+"
"}),this.systemMessages.forEach(t=>{e.push(t)}),this.clientMessages.forEach(t=>{e.push(t)}),e},alertData(){return this.$store.state.mqtt["openWB/command/"+this.$root.mqttClientId+"/error"]},systemMessages(){let e=this.getWildcardTopics("openWB/system/messages/+");var t=[];for(const[o,d]of Object.entries(e))t.push({topic:o,...d});return t},clientMessages(){let e=this.getWildcardTopics("openWB/command/"+this.$root.mqttClientId+"/messages/+");var t=[];for(const[o,d]of Object.entries(e))t.push({topic:o,...d});return t}},methods:{clearTopic(e){this.$root.doPublish(e,void 0)},dismissError(){this.clearTopic("openWB/command/"+this.$root.mqttClientId+"/error")},dismiss(e){console.debug("removing message: "+e.topic),this.clearTopic(e.topic)}}},Qn={class:"openwb-toast position-fixed bottom-0 right-0 p-3"},Yn=["innerHTML"];function Zn(e,t,o,d,i,s){const a=h("openwb-base-toast");return r(),c("div",Qn,[(r(!0),c(x,null,M(s.messages,l=>(r(),v(a,{key:l.topic,topic:l.topic,source:l.source,subtype:l.type,timestamp:l.timestamp,onDismiss:s.dismiss},{default:_(()=>[n("span",{innerHTML:l.message},null,8,Yn)]),_:2},1032,["topic","source","subtype","timestamp","onDismiss"]))),128))])}const Xn=b(Kn,[["render",Zn],["__scopeId","data-v-2c25f0d0"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageMessages.vue"]]),ea={name:"OpenwbPageBlocker",mixins:[z],data(){return{mqttTopicsToSubscribe:["openWB/system/boot_done","openWB/system/update_in_progress"]}},computed:{title(){return this.bootInProgress||this.updateInProgress?"openWB ist noch nicht bereit":this.reloadRequired?"Neues Laden der Seite erforderlich":"???"},myButtons(){return!(this.bootInProgress||this.updateInProgress)&&this.reloadRequired?[{text:"Jetzt neu laden",subtype:"success",event:"reload"}]:[]},bootInProgress(){return this.$store.state.mqtt["openWB/system/boot_done"]==null?!0:!this.$store.state.mqtt["openWB/system/boot_done"]},updateInProgress(){return this.$store.state.mqtt["openWB/system/update_in_progress"]==null?!1:this.$store.state.mqtt["openWB/system/update_in_progress"]},reloadRequired(){return this.$store.state.local.reloadRequired},showModalBlocker(){return this.bootInProgress||this.updateInProgress||this.reloadRequired}},methods:{handleModalResult(e){e=="reload"?location.reload():console.warn("unknown event",e)}}},ta={class:"openwb-blocker"},sa={key:0},oa={key:1},na={key:2},aa={key:3};function la(e,t,o,d,i,s){const a=h("openwb-base-modal-dialog");return r(),c("div",ta,[m(a,{show:s.showModalBlocker,title:s.title,subtype:"dark",preventClose:!0,buttons:s.myButtons,onModalResult:t[0]||(t[0]=l=>s.handleModalResult(l))},{default:_(()=>[s.bootInProgress?(r(),c("p",sa," Der Systemstart ist noch nicht abgeschlossen. ")):u("",!0),s.updateInProgress?(r(),c("p",oa," Es wird eine Systemaktualisierung ausgeführt. ")):u("",!0),!(s.bootInProgress||s.updateInProgress)&&s.reloadRequired?(r(),c("p",na," Bitte die Seite neu laden. ")):(r(),c("p",aa,"Bitte warten..."))]),_:1},8,["show","title","buttons"])])}const ia=b(ea,[["render",la],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageBlocker.vue"]]);const ra={name:"settings-app",components:{NavBar:Pn,PageFooter:En,DonationBanner:Gn,Messages:Xn,Blocker:ia},data(){return{client:{connected:!1},connection:{protocol:location.protocol=="https:"?"wss":"ws",host:location.hostname,port:parseInt(location.port)||(location.protocol=="https:"?443:80),endpoint:"/ws",connectTimeout:4e3,reconnectPeriod:4e3}}},computed:{mqttClientId(){try{return this.client.options.clientId}catch{return}},topicList(){return Object.keys(this.$store.state.mqtt)}},methods:{async saveValues(e=void 0){function t(d){return new Promise(i=>setTimeout(i,d))}console.debug("saving values..."),this.$store.state.local.savingData=!0;let o={};e===void 0?o=this.$store.state.mqtt:Array.isArray(e)?e.forEach(d=>{o[d]=this.$store.state.mqtt[d]}):console.error("expected array, got ",typeof e);for(const[d,i]of Object.entries(o)){let s=d.replace("openWB/","openWB/set/");console.debug("saving data:",s,i),this.doPublish(s,i),await t(100)}console.debug("done saving data"),this.$store.state.local.savingData=!1},resetValues(e=this.topicList){console.debug("resetting values..."),console.debug("topics: ",e),this.doUnsubscribe(e),this.doSubscribe(e)},setDefaultValues(){console.debug("setting default values... (ToDo)")},sendCommand(e){this.doPublish("openWB/set/command/"+this.client.options.clientId+"/todo",e,!1)},createConnection(){const{protocol:e,host:t,port:o,endpoint:d,...i}=this.connection,s=`${e}://${t}:${o}${d}`;console.debug("connecting to broker:",s);try{this.client=se.connect(s,i)}catch(a){console.error("mqtt.connect error",a)}this.client.on("connect",()=>{console.debug("Connection succeeded! ClientId: ",this.client.options.clientId),this.doSubscribe(["openWB/system/usage_terms_acknowledged"])}),this.client.on("error",a=>{console.error("Connection failed",a)}),this.client.on("message",(a,l)=>{if(l.toString().length>0){let g;try{g=JSON.parse(l.toString())}catch{console.debug("Json parsing failed, fallback to string: ",a),g=l.toString()}this.$store.commit("addTopic",{topic:a,payload:g})}else this.$store.commit("removeTopic",a)})},doSubscribe(e){this.client.subscribe(e,{},t=>{if(t){console.error("Subscribe to topics error",t);return}})},doUnsubscribe(e){this.client.unsubscribe(e,t=>{t&&console.error("Unsubscribe error",t)})},doPublish(e,t,o=!0,d=2){let i={qos:d,retain:o};this.client.publish(e,JSON.stringify(t),i,s=>{s&&console.error("Publish error",s)})},postClientMessage(e,t="secondary"){console.debug("postMessage:",e,t);const o=Date.now(),d="openWB/command/"+this.mqttClientId+"/messages/"+o;this.$store.commit({type:"addTopic",topic:d,payload:{message:e,type:t,source:"client",timestamp:Math.floor(o/1e3)}})}},created(){this.createConnection()}},da={role:"main",class:"container"},ca={id:"content"};function ua(e,t,o,d,i,s){const a=h("nav-bar"),l=h("router-view"),g=h("donation-banner"),T=h("page-footer"),H=h("messages"),D=h("blocker");return r(),c(x,null,[n("header",null,[m(a)]),n("div",da,[n("div",ca,[n("h1",null,f(e.$route.meta.heading),1),m(l,{onSave:s.saveValues,onReset:s.resetValues,onDefaults:s.setDefaultValues,onSendCommand:s.sendCommand},null,8,["onSave","onReset","onDefaults","onSendCommand"])]),m(g)]),m(T),m(H),m(D)],64)}const pa=b(ra,[["render",ua],["__file","/opt/openWB-dev/openwb-ui-settings/src/App.vue"]]),ma="modulepreload",_a=function(e){return"/openWB/web/settings/"+e},R={},y=function(t,o,d){if(!o||o.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(o.map(s=>{if(s=_a(s),s in R)return;R[s]=!0;const a=s.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!d)for(let H=i.length-1;H>=0;H--){const D=i[H];if(D.href===s&&(!a||D.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const T=document.createElement("link");if(T.rel=a?"stylesheet":ma,a||(T.as="script",T.crossOrigin=""),T.href=s,document.head.appendChild(T),a)return new Promise((H,D)=>{T.addEventListener("load",H),T.addEventListener("error",()=>D(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})};let F={mqtt:{},local:{reloadRequired:!1,savingData:!1},text:{rfidWiki:'Bitte auch hiervon abhängige Einstellungen beachten. Eine Übersicht gibt es im Wiki.'}};F.examples={text1:"Text...",text2:"mail@domain.com",text3:"openwb.local",text4:"http://www.openwb.de",text5:"Benutzername",text6:"12:34",text7:"2021-10-31",number1:5,number2:10,password1:"GeHeiM!",textarea1:"Langer Text...",range1:6,range2:10,select1:1,select2:"three",buttonGroup1:1,checkbox1:!0,json1:{text:"Text",number:123},hierarchy1:[{id:0,type:"counter",children:[{id:3,type:"inverter",children:[]},{id:4,type:"bat",children:[]},{id:1,type:"cp",children:[]},{id:2,type:"cp",children:[]}]}],hierarchy1Labels:{0:"EVU",1:"Ladepunkt 1",2:"Ladepunkt 2",3:"Wechselrichter",4:"Batteriespeicher"},tags:["1234","2345","3456"]};const G=oe({state:F,mutations:{storeLocal(e,t){e.local[t.name]=t.value},addTopic(e,t){e.mqtt[t.topic]=t.payload},removeTopic(e,t){delete e.mqtt[t]},updateTopic(e,t){const o=(d,i,s)=>i.split(".").reduce((a,l,g)=>a[l]=i.split(".").length===++g?s:a[l]||{},d);t.topic in e.mqtt?t.objectPath!=null?o(e.mqtt[t.topic],t.objectPath,t.payload):e.mqtt[t.topic]=t.payload:(console.debug("topic not found in state.mqtt: ",t.topic),t.topic in e.examples?t.objectPath!=null?o(e.examples[t.topic],t.objectPath,t.payload):e.examples[t.topic]=t.payload:console.warn("topic not found in state: ",t.topic," giving up"))}},actions:{},modules:{},getters:{usageTermsAcknowledged(e){return new Promise(t=>{if(e.mqtt["openWB/system/usage_terms_acknowledged"]!==void 0)t(e.mqtt["openWB/system/usage_terms_acknowledged"]);else{var o,d;o=setTimeout(()=>{clearInterval(d),t(!1)},5e3),d=setInterval(()=>{e.mqtt["openWB/system/usage_terms_acknowledged"]!==void 0&&(clearTimeout(o),clearInterval(d),t(e.mqtt["openWB/system/usage_terms_acknowledged"]))},100)}})}}}),J=[{path:"/",redirect:"/GeneralConfig"},{path:"/Status",name:"Status",meta:{heading:"Status"},component:()=>y(()=>import("./Status-6bdeaa0d.js"),["assets/Status-6bdeaa0d.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/Status-49744ef3.css"])},{path:"/Logging/ChargeLog",name:"ChargeLog",meta:{heading:"Auswertungen - Ladeprotokoll"},component:()=>y(()=>import("./ChargeLog-febc7246.js"),["assets/ChargeLog-febc7246.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/ChargeLog-298377e5.css"])},{path:"/Logging/Chart/:chartRange?/:initialDate?",name:"DailyChart",meta:{heading:"Auswertungen - Diagramme"},component:()=>y(()=>import("./Chart-c7c508c0.js"),["assets/Chart-c7c508c0.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-chartjs-0984fb9d.js","assets/vendor-luxon-d18c09ea.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/Chart-e20451b4.css"])},{path:"/GeneralConfig",name:"GeneralConfig",meta:{heading:"Einstellungen - Allgemein"},component:()=>y(()=>import("./GeneralConfig-7a32bbe3.js"),["assets/GeneralConfig-7a32bbe3.js","assets/dynamic-import-helper-be004503.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/OptionalComponents",name:"OptionalComponents",meta:{heading:"Einstellungen - Optionale Hardware"},component:()=>y(()=>import("./OptionalComponents-b2620f38.js"),["assets/OptionalComponents-b2620f38.js","assets/dynamic-import-helper-be004503.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/GeneralChargeConfig",name:"GeneralChargeConfig",meta:{heading:"Ladeeinstellungen - Übergreifendes"},component:()=>y(()=>import("./GeneralChargeConfig-8bf4b59b.js"),["assets/GeneralChargeConfig-8bf4b59b.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/InstantChargeConfig",name:"InstantChargeConfig",meta:{heading:"Ladeeinstellungen - Sofortladen"},component:()=>y(()=>import("./InstantChargeConfig-1d437d8e.js"),["assets/InstantChargeConfig-1d437d8e.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/PVChargeConfig",name:"PVChargeConfig",meta:{heading:"Ladeeinstellungen - PV-Laden"},component:()=>y(()=>import("./PVChargeConfig-bdf77700.js"),["assets/PVChargeConfig-bdf77700.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/TimeChargeConfig",name:"TimeChargeConfig",meta:{heading:"Ladeeinstellungen - Zeitladen"},component:()=>y(()=>import("./TimeChargeConfig-c8a71496.js"),["assets/TimeChargeConfig-c8a71496.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/ScheduledChargeConfig",name:"ScheduledChargeConfig",meta:{heading:"Ladeeinstellungen - Zielladen"},component:()=>y(()=>import("./ScheduledChargeConfig-0b228dff.js"),["assets/ScheduledChargeConfig-0b228dff.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/HardwareInstallation",name:"HardwareInstallation",meta:{heading:"Konfiguration - Geräte und Komponenten"},component:()=>y(()=>import("./HardwareInstallation-5eab562f.js"),["assets/HardwareInstallation-5eab562f.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/HardwareInstallation-1ee9693f.css"])},{path:"/LoadManagementConfiguration",name:"LoadManagementConfiguration",meta:{heading:"Konfiguration - Lastmanagement"},component:()=>y(()=>import("./LoadManagementConfig-5203f6a8.js"),["assets/LoadManagementConfig-5203f6a8.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/OpenwbSortableList-ae85ca14.js","assets/OpenwbSortableList-7ba533e4.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/ChargePointInstallation",name:"ChargePointInstallation",meta:{heading:"Konfiguration - Ladepunkte"},component:()=>y(()=>import("./ChargePointInstallation-f223a34b.js"),["assets/ChargePointInstallation-f223a34b.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/ChargePointInstallation-ed6a5c7e.css"])},{path:"/VehicleConfiguration/:section?/:section_index?/:section_part?/:action?",name:"VehicleConfiguration",meta:{heading:"Konfiguration - Fahrzeuge"},component:()=>y(()=>import("./VehicleConfig-99f36e98.js"),["assets/VehicleConfig-99f36e98.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/VehicleConfig-4aeda6ca.css"])},{path:"/System/CloudConfiguration",name:"CloudConfig",meta:{heading:"System - openWB Cloud"},component:()=>y(()=>import("./CloudConfig-9cb7ed07.js"),["assets/CloudConfig-9cb7ed07.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/System/MqttBridgeConfiguration",name:"MqttBridgeConfig",meta:{heading:"System - MQTT-Brücken"},component:()=>y(()=>import("./MqttBridgeConfig-37ad7893.js"),["assets/MqttBridgeConfig-37ad7893.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/MqttBridgeConfig-3471079a.css"])},{path:"/System/DebugConfiguration",name:"Debugging",meta:{heading:"System - Fehlersuche"},component:()=>y(()=>import("./DebugConfig-790a3960.js"),["assets/DebugConfig-790a3960.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/System/Support",name:"Support",meta:{heading:"System - Support"},component:()=>y(()=>import("./Support-46abb487.js"),["assets/Support-46abb487.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/System/LegalSettings",name:"LegalSettings",meta:{heading:"System - Rechtliches"},component:()=>y(()=>import("./LegalSettings-73e5e583.js"),["assets/LegalSettings-73e5e583.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])},{path:"/System/SystemConfiguration",name:"SystemConfig",meta:{heading:"System - System"},component:()=>y(()=>import("./System-3a3227c1.js"),["assets/System-3a3227c1.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js","assets/System-0f1d217b.css"])},{path:"/System/DataManagement",name:"DataManagement",meta:{heading:"System - Datenverwaltung"},component:()=>y(()=>import("./DataManagement-7a561a9b.js"),["assets/DataManagement-7a561a9b.js","assets/vendor-fortawesome-12056596.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])}];J.push({path:"/TestingStore",name:"VUEX Store",meta:{heading:"Beispiele - VUEX Store"},component:()=>y(()=>import("./TestingStore-7c706612.js"),["assets/TestingStore-7c706612.js","assets/OpenwbSortableList-ae85ca14.js","assets/vendor-9bfbb89c.js","assets/vendor-sortablejs-8518b3e5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-12056596.js","assets/OpenwbSortableList-7ba533e4.css","assets/vendor-bootstrap-22b23367.js","assets/vendor-jquery-5e7aea54.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-7e71c841.js"])});const L=ne({history:ae(),routes:J});L.beforeEach(async e=>{if(e.name!=="LegalSettings"&&!await G.getters.usageTermsAcknowledged)return{name:"LegalSettings"}});L.afterEach(e=>{e.meta.heading?document.title="openWB | "+e.meta.heading:document.title="openWB"});const j=le(pa);j.use(G).use(L).use(Ae,Ee);const fa=Object.assign({"./components/OpenwbBaseAlert.vue":We,"./components/OpenwbBaseArrayInput.vue":tt,"./components/OpenwbBaseAvatar.vue":lt,"./components/OpenwbBaseButtonGroupInput.vue":ht,"./components/OpenwbBaseButtonInput.vue":Ct,"./components/OpenwbBaseCard.vue":Dt,"./components/OpenwbBaseCheckboxInput.vue":Nt,"./components/OpenwbBaseClickButton.vue":Gt,"./components/OpenwbBaseCopyToClipboard.vue":Zt,"./components/OpenwbBaseHeading.vue":as,"./components/OpenwbBaseModalDialog.vue":fs,"./components/OpenwbBaseNumberInput.vue":Ts,"./components/OpenwbBaseRangeInput.vue":js,"./components/OpenwbBaseSelectInput.vue":Zs,"./components/OpenwbBaseSubmitButtons.vue":lo,"./components/OpenwbBaseTextInput.vue":xo,"./components/OpenwbBaseTextarea.vue":No,"./components/OpenwbBaseToast.vue":Zo});Object.entries(fa).forEach(([e,t])=>{const o=ie(re(e.split("/").pop().replace(/\.\w+$/,"")));j.component(o,t.default)});j.mount("#app");export{z as C,y as _}; +import{_ as b,k as r,l as c,m as w,n as k,p as h,q as n,u as p,x as f,y as v,z as u,A as m,B as C,D as $,E as S,F as K,G as x,I as M,J as Q,K as Y,L as _,M as Z,N as X,T as ee,O as te,P as W,Q as A,R as E,S as se,U as oe,V as ne,W as ae,X as le,Y as ie,Z as re}from"./vendor-2e22dd5c.js";import{l as B,f as I,a as V,b as de,c as ce,d as ue,e as pe,F as O,g as q,h as me,i as _e,j as fe,k as he,m as ge,n as be,o as ve,p as we,q as ye,r as ke,s as Se,t as Ce,u as Be,v as Oe,w as $e,x as Te,y as xe,z as Ie,A as Ve,B as Pe,C as He,D as Me,E as De}from"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import{p as Ae,a as Ee}from"./vendor-axios-f64a0ef5.js";import"./vendor-sortablejs-c63121b5.js";import"./vendor-jquery-6db16bd2.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))d(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&d(a)}).observe(document,{childList:!0,subtree:!0});function o(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function d(i){if(i.ep)return;i.ep=!0;const s=o(i);fetch(i.href,s)}})();const qe={name:"OpenwbAlert",props:{subtype:{validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"}}};function Le(e,t,o,d,i,s){return r(),c("div",{class:k(["card-text alert","alert-"+o.subtype])},[w(e.$slots,"default")],2)}const je=b(qe,[["render",Le],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseAlert.vue"]]),We=Object.freeze(Object.defineProperty({__proto__:null,default:je},Symbol.toStringTag,{value:"Module"}));B.add(I,V,de,ce,ue,pe);const Re={name:"OpenwbArrayInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Array,default:()=>[]},noElementsMessage:{type:String,default:()=>"Keine Elemente zugeordnet."}},emits:["update:modelValue"],data(){return{newTag:"",showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},newTagValid:{get(){return this.newTag.length>0&&this.value.indexOf(this.newTag)==-1}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0},addTag(){if(this.newTagValid){let e=this.value;e.push(this.newTag),e.sort(),this.value=e,this.newTag=""}this.$refs.tagInput.focus()},removeTag(e){let t=this.value;t.splice(e,1),this.value=t}},components:{FontAwesomeIcon:O}},Ne={class:"form-row mb-1"},Ue={class:"col-md-8"},ze={class:"form-row"},Fe={class:"input-group"},Ge={class:"input-group-prepend"},Je={class:"input-group-text"},Ke={class:"input-group-append"},Qe={class:"form-row tagList mt-1"},Ye={key:0,class:"noTag"},Ze={key:0,class:"form-row alert alert-info my-1 small"};function Xe(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Ne,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Ue,[n("div",ze,[n("div",Fe,[n("div",Ge,[n("div",Je,[m(a,{"fixed-width":"",icon:["fas","tag"]})])]),C(n("input",S({ref:"tagInput",type:"text",class:"form-control","onUpdate:modelValue":t[1]||(t[1]=l=>i.newTag=l)},e.$attrs,{onKeyup:t[2]||(t[2]=K((...l)=>s.addTag&&s.addTag(...l),["enter"]))}),null,16),[[$,i.newTag]]),n("div",Ke,[n("div",{class:k(["input-group-text",s.newTagValid?"bg-success clickable":"notClickable"]),onClick:t[3]||(t[3]=(...l)=>s.addTag&&s.addTag(...l))},[m(a,{"fixed-width":"",icon:["fas","plus"]})],2)])])]),n("div",Qe,[s.value.length==0?(r(),c("span",Ye,[m(a,{icon:["fas","info-circle"]}),p(" "+f(o.noElementsMessage),1)])):u("",!0),(r(!0),c(x,null,M(s.value,(l,g)=>(r(),c("span",{class:"tag",key:g},[m(a,{icon:["fas","tag"]}),p(" "+f(l)+" ",1),m(a,{class:"clickable",icon:["fas","times-circle"],onClick:T=>s.removeTag(g)},null,8,["onClick"])]))),128))]),i.showHelp?(r(),c("span",Ze,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const et=b(Re,[["render",Xe],["__scopeId","data-v-9de93d37"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseArrayInput.vue"]]),tt=Object.freeze(Object.defineProperty({__proto__:null,default:et},Symbol.toStringTag,{value:"Module"}));const st={name:"OpenwbAvatar"},ot={class:"avatar"};function nt(e,t,o,d,i,s){return r(),c("div",ot,[w(e.$slots,"default",{},()=>[p("?")],!0)])}const at=b(st,[["render",nt],["__scopeId","data-v-06082a1a"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseAvatar.vue"]]),lt=Object.freeze(Object.defineProperty({__proto__:null,default:at},Symbol.toStringTag,{value:"Module"}));B.add(I,V,q);const it={name:"OpenwbButtonGroupInput",inheritAttrs:!1,props:{title:String,modelValue:{type:[String,Number,Boolean]},buttons:Object},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},rt={class:"form-row mb-1"},dt={class:"col-md-8"},ct={class:"form-row"},ut={class:"btn-group btn-block btn-group-toggle"},pt=["value"],mt={key:0,class:"form-row alert alert-info my-1 small"};function _t(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",rt,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",dt,[n("div",ct,[n("div",ut,[(r(!0),c(x,null,M(o.buttons,l=>(r(),c("label",{key:l.value,class:k(["btn",[s.value==l.buttonValue?"active":"",l.class?l.class:"btn-outline-info"]])},[C(n("input",S({type:"radio","onUpdate:modelValue":t[1]||(t[1]=g=>s.value=g),value:l.buttonValue},e.$attrs),null,16,pt),[[Q,s.value]]),p(" "+f(l.text)+" ",1),m(a,{icon:["fas","check"],style:Y([s.value==l.buttonValue?"visibility: visible":"visibility: hidden"])},null,8,["style"])],2))),128))])]),i.showHelp?(r(),c("span",mt,[w(e.$slots,"help")])):u("",!0)])])}const ft=b(it,[["render",_t],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseButtonGroupInput.vue"]]),ht=Object.freeze(Object.defineProperty({__proto__:null,default:ft},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const gt={name:"OpenwbButtonInput",inheritAttrs:!1,props:{title:String,buttonText:String,disabled:{type:Boolean,default:!1},subtype:{type:String,validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"}},data(){return{showHelp:!1}},emits:["buttonClicked"],methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0},handleClick(e){this.$emit("buttonClicked",e)}},components:{FontAwesomeIcon:O}},bt={class:"form-row mb-1"},vt={class:"col-md-8"},wt={class:"form-row"},yt={key:0,class:"form-row alert alert-info my-1 small"};function kt(e,t,o,d,i,s){const a=h("font-awesome-icon"),l=h("openwb-base-click-button");return r(),c("div",bt,[n("label",{onClick:t[0]||(t[0]=(...g)=>s.toggleHelp&&s.toggleHelp(...g)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",vt,[n("div",wt,[m(l,S({class:(o.disabled?"btn-outline-":"btn-")+o.subtype,disabled:o.disabled},e.$attrs,{onButtonClicked:s.handleClick}),{default:_(()=>[w(e.$slots,"default",{},()=>[p(f(o.buttonText),1)])]),_:3},16,["class","disabled","onButtonClicked"])]),i.showHelp?(r(),c("span",yt,[w(e.$slots,"help")])):u("",!0)])])}const St=b(gt,[["render",kt],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseButtonInput.vue"]]),Ct=Object.freeze(Object.defineProperty({__proto__:null,default:St},Symbol.toStringTag,{value:"Module"}));B.add(me,_e);const Bt={name:"OpenwbCard",components:{FontAwesomeIcon:O},props:{title:{type:String,default:"# no title set #"},subtype:{validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark","pink"].indexOf(e)!==-1},default:"secondary"},collapsible:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},data(){return{isCollapsed:this.collapsible&&this.collapsed}},methods:{toggleBody(){this.collapsible===!0&&(this.isCollapsed=!this.isCollapsed)}}},Ot={class:"form-group mb-0"},$t={class:"form-row vaRow mb-0 py-2"},Tt={class:"col"},xt={class:"card-actions ml-4"},It={key:0,class:"card-actions mr-4"},Vt={key:0,class:"card-body"},Pt={key:1,class:"card-footer"};function Ht(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",{class:k(["card","border-"+o.subtype])},[n("div",{class:k(["card-header py-1","bg-"+o.subtype]),onClick:t[0]||(t[0]=(...l)=>s.toggleBody&&s.toggleBody(...l))},[n("div",Ot,[n("div",$t,[n("div",Tt,[w(e.$slots,"header",{collapsed:i.isCollapsed},()=>[p(f(o.title),1)])])])]),n("span",xt,[e.$slots.actions?(r(),c("span",It,[w(e.$slots,"actions",{collapsed:i.isCollapsed})])):u("",!0),o.collapsible?(r(),v(a,{key:1,"fixed-width":"",icon:i.isCollapsed?["fas","chevron-right"]:["fas","chevron-down"]},null,8,["icon"])):u("",!0)])],2),i.isCollapsed===!1?(r(),c("div",Vt,[w(e.$slots,"default")])):u("",!0),e.$slots.footer&&i.isCollapsed===!1?(r(),c("div",Pt,[w(e.$slots,"footer")])):u("",!0)],2)}const Mt=b(Bt,[["render",Ht],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseCard.vue"]]),Dt=Object.freeze(Object.defineProperty({__proto__:null,default:Mt},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const At={name:"OpenwbCheckboxInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Boolean}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},Et={class:"form-row mb-1"},qt={class:"col-md-8"},Lt={class:"form-row"},jt={key:0,class:"form-row alert alert-info my-1 small"};function Wt(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Et,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",qt,[n("div",Lt,[C(n("input",S({class:"form-control",type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),null,16),[[Z,s.value]])]),i.showHelp?(r(),c("span",jt,[w(e.$slots,"help")])):u("",!0)])])}const Rt=b(At,[["render",Wt],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseCheckboxInput.vue"]]),Nt=Object.freeze(Object.defineProperty({__proto__:null,default:Rt},Symbol.toStringTag,{value:"Module"}));const Ut={name:"OpenwbClickButton",props:{title:String},emits:["buttonClicked"],methods:{click(e){this.$emit("buttonClicked",e)}}};function zt(e,t,o,d,i,s){return r(),c("button",{type:"button",class:"btn btn-block",onClick:t[0]||(t[0]=X((...a)=>s.click&&s.click(...a),["prevent"]))},[w(e.$slots,"default",{},()=>[p(f(o.title),1)],!0)])}const Ft=b(Ut,[["render",zt],["__scopeId","data-v-2e9c095b"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseClickButton.vue"]]),Gt=Object.freeze(Object.defineProperty({__proto__:null,default:Ft},Symbol.toStringTag,{value:"Module"}));B.add(fe,he);const Jt={name:"OpenwbCopyToClipboard",components:{FontAwesomeIcon:O},props:{tooltip:{type:String,default:"Wert kopieren"}},data(){return{clipboardApiAvailable:navigator.clipboard!=null,isCopied:!1}},methods:{click(){if(console.debug(this.$refs["slot-wrapper"].innerText),this.clipboardApiAvailable)navigator.clipboard.writeText(this.$refs["slot-wrapper"].innerText).then(()=>{this.isCopied=!0},()=>{console.error("copy to clipboard failed")});else{if(console.debug("clipboard api not supported/enabled, fallback to select"),window.getSelection){console.debug("using 'window.getSelection'");const e=window.getSelection(),t=document.createRange();t.selectNodeContents(this.$refs["slot-wrapper"]),e.removeAllRanges(),e.addRange(t);return}if(document.body.createTextRange){console.debug("using 'document.body.createTextRange'");const e=document.body.createTextRange();e.moveToElementText(this.$refs["slot-wrapper"]),e.select()}else console.warn("could not select text, unsupported browser")}}}},Kt=["title"];function Qt(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("span",{ref:"slot-wrapper",title:o.tooltip,class:"copy-me",onClick:t[0]||(t[0]=(...l)=>s.click&&s.click(...l))},[w(e.$slots,"default",{},void 0,!0),m(a,{"fixed-width":"",icon:i.isCopied?["fas","clipboard-check"]:["fas","clipboard"]},null,8,["icon"])],8,Kt)}const Yt=b(Jt,[["render",Qt],["__scopeId","data-v-81826ebe"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseCopyToClipboard.vue"]]),Zt=Object.freeze(Object.defineProperty({__proto__:null,default:Yt},Symbol.toStringTag,{value:"Module"}));B.add(I,V,q);const Xt={name:"OpenwbHeading",inheritAttrs:!1,components:{FontAwesomeIcon:O},data(){return{showHelp:!1}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}}},es={key:0,class:"actions"},ts={class:""},ss={key:0,class:"form-row alert alert-info small"};function os(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c(x,null,[n("div",S({class:"card-text card-text-heading"},e.$attrs),[n("div",{class:"heading-text",onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l))},[w(e.$slots,"default",{},void 0,!0),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),e.$slots.actions?(r(),c("span",es,[w(e.$slots,"actions",{},void 0,!0)])):u("",!0)],16),n("div",ts,[i.showHelp?(r(),c("span",ss,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])],64)}const ns=b(Xt,[["render",os],["__scopeId","data-v-cbe4e96e"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseHeading.vue"]]),as=Object.freeze(Object.defineProperty({__proto__:null,default:ns},Symbol.toStringTag,{value:"Module"})),ls={name:"OpenwbModalDialog",emits:["modal-result"],props:{title:String,subtype:{type:String,validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"},buttons:{type:Array,default:void 0},footerAlignment:{type:String,validator:function(e){return["around","between","center","end","start"].indexOf(e)!==-1},default:"end"},preventClose:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},computed:{myButtons(){var e=[];return this.buttons!==void 0&&(e=this.buttons),this.preventClose||e.push({text:"Schließen",event:"close"}),e}},methods:{handleClick(e){e.stopPropagation();let t=e.target.getAttribute("data-event");t===null&&(t="close"),(t!="close"||!this.preventClose)&&this.$emit("modal-result",t)}}},is=n("div",{class:"modal-backdrop fade show"},null,-1),rs={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},ds={class:"modal-content"},cs={class:"modal-title"},us={class:"modal-body"},ps=["data-event"];function ms(e,t,o,d,i,s){return o.show?(r(),v(ee,{key:0,to:"body"},[is,n("div",{class:"modal fade d-block show",role:"dialog",onClick:t[2]||(t[2]=(...a)=>s.handleClick&&s.handleClick(...a))},[n("div",rs,[n("div",ds,[n("div",{class:k(["modal-header","bg-"+o.subtype])},[n("h4",cs,f(o.title),1),o.preventClose?u("",!0):(r(),c("button",{key:0,type:"button",class:"close",onClick:t[0]||(t[0]=(...a)=>s.handleClick&&s.handleClick(...a))}," × "))],2),n("div",us,[w(e.$slots,"default",{},()=>[p("# Body #")])]),s.myButtons.length>0?(r(),c("div",{key:0,class:k(["modal-footer d-flex","justify-content-"+o.footerAlignment])},[(r(!0),c(x,null,M(s.myButtons,a=>(r(),c("button",{key:a.text,type:"button",class:k(["btn",a.subtype?"btn-"+a.subtype:"btn-secondary"]),"data-dismiss":"modal","data-event":a.event?a.event:"close",onClick:t[1]||(t[1]=(...l)=>s.handleClick&&s.handleClick(...l))},f(a.text),11,ps))),128))],2)):u("",!0)])])])])):u("",!0)}const _s=b(ls,[["render",ms],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseModalDialog.vue"]]),fs=Object.freeze(Object.defineProperty({__proto__:null,default:_s},Symbol.toStringTag,{value:"Module"}));B.add(I,V,ge);const hs={name:"OpenwbNumberInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Number},unit:String,emptyValue:{required:!1,default:null}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){(isNaN(e)||typeof e!="number")&&(e=this.emptyValue),this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},gs={class:"form-row mb-1"},bs={class:"col-md-8"},vs={class:"form-row"},ws={class:"input-group"},ys={class:"input-group-prepend"},ks={class:"input-group-text"},Ss={key:0,class:"input-group-append"},Cs={class:"input-group-text"},Bs={key:0,class:"form-row alert alert-info my-1 small"};function Os(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",gs,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",bs,[n("div",vs,[n("div",ws,[n("div",ys,[n("div",ks,[m(a,{"fixed-width":"",icon:["fas","calculator"]})])]),C(n("input",S({type:"number",class:"form-control","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),null,16),[[$,s.value,void 0,{number:!0}]]),o.unit?(r(),c("div",Ss,[n("div",Cs,f(o.unit),1)])):u("",!0)])]),i.showHelp?(r(),c("span",Bs,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const $s=b(hs,[["render",Os],["__scopeId","data-v-c2fb7eef"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseNumberInput.vue"]]),Ts=Object.freeze(Object.defineProperty({__proto__:null,default:$s},Symbol.toStringTag,{value:"Module"}));B.add(I,V,be,ve);const xs={name:"OpenwbRangeInput",inheritAttrs:!1,props:{title:String,modelValue:{type:Number},unit:String,min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},labels:{type:Array}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{label(){var e;return this.labels&&this.sliderValue!=null?this.sliderValues.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Vs,[n("div",Ps,[s.label?(r(),c("label",Hs,f(s.label),1)):u("",!0),n("button",{class:"col-1 btn btn-block btn-info",type:"button",onClick:t[1]||(t[1]=(...l)=>s.decrement&&s.decrement(...l))},[m(a,{icon:["fas","step-backward"]})]),n("div",Ms,[C(n("input",S({type:"range",class:"form-control-range rangeInput",min:o.min,max:o.max,step:o.step,"onUpdate:modelValue":t[2]||(t[2]=l=>s.sliderValue=l)},e.$attrs),null,16,Ds),[[$,s.sliderValue,void 0,{number:!0}]])]),n("button",{class:"col-1 btn btn-block btn-info",type:"button",onClick:t[3]||(t[3]=(...l)=>s.increment&&s.increment(...l))},[m(a,{icon:["fas","step-forward"]})])]),i.showHelp?(r(),c("div",As,[n("div",Es,[w(e.$slots,"help",{},void 0,!0)])])):u("",!0)])])}const Ls=b(xs,[["render",qs],["__scopeId","data-v-449fb0a5"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseRangeInput.vue"]]),js=Object.freeze(Object.defineProperty({__proto__:null,default:Ls},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const Ws={name:"OpenwbSelectInput",inheritAttrs:!1,props:{title:String,modelValue:{type:[String,Number,Array]},groups:Object,options:Object,notSelected:{type:String,default:void 0}},emits:["update:modelValue"],data(){return{showHelp:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},Rs={class:"form-row mb-1"},Ns={class:"col-md-8"},Us={class:"form-row"},zs={key:0,value:void 0,disabled:""},Fs=["value"],Gs=["label"],Js=["value"],Ks={key:0,class:"form-row alert alert-info my-1 small"};function Qs(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Rs,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Ns,[n("div",Us,[C(n("select",S({class:"col form-control","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),[o.notSelected!==void 0?(r(),c("option",zs," -- "+f(o.notSelected)+" -- ",1)):u("",!0),(r(!0),c(x,null,M(o.options,l=>(r(),c("option",{key:l.value,value:l.value},f(l.text),9,Fs))),128)),(r(!0),c(x,null,M(o.groups,l=>(r(),c("optgroup",{key:l.label,label:l.label},[(r(!0),c(x,null,M(l.options,g=>(r(),c("option",{key:g.value,value:g.value},f(g.text),9,Js))),128))],8,Gs))),128))],16),[[te,s.value]]),w(e.$slots,"append")]),i.showHelp?(r(),c("span",Ks,[w(e.$slots,"help")])):u("",!0)])])}const Ys=b(Ws,[["render",Qs],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseSelectInput.vue"]]),Zs=Object.freeze(Object.defineProperty({__proto__:null,default:Ys},Symbol.toStringTag,{value:"Module"}));B.add(q,we,ye);const Xs={name:"OpenwbSubmitButtons",components:{FontAwesomeIcon:O},props:{formName:{type:String,default:void 0},hideReset:{type:Boolean,default:!1},hideDefaults:{type:Boolean,default:!0}},data(){return{showModalReset:!1,showModalDefaults:!1}},emits:["reset","defaults","save"],computed:{showModalSave(){return this.$store.state.local.savingData}},methods:{showResetModal(){this.showModalReset=!0},handleModalReset(e){this.showModalReset=!1,e=="confirm"&&this.$emit("reset")},showDefaultsModal(){this.showModalDefaults=!0},handleModalDefaults(e){this.showModalDefaults=!1,e=="confirm"&&this.$emit("defaults")},saveSettings(){if(this.formName){if(!document.forms[this.formName].reportValidity()){console.debug("form invalid");return}}else console.debug("no form to validate");this.$emit("save")}}},eo={class:"row justify-content-center mb-1"},to={class:"col-md-4 d-flex py-1 justify-content-center"},so={key:0,class:"col-md-4 d-flex py-1 justify-content-center"},oo={key:1,class:"col-md-4 d-flex py-1 justify-content-center"};function no(e,t,o,d,i,s){const a=h("openwb-base-modal-dialog"),l=h("font-awesome-icon");return r(),c(x,null,[m(a,{show:s.showModalSave,title:"Speichern",subtype:"success",preventClose:!0},{default:_(()=>[p(" Einstellungen werden gespeichert... ")]),_:1},8,["show"]),m(a,{show:i.showModalReset,title:"Änderungen verwerfen",subtype:"warning",buttons:[{text:"Ok",event:"confirm",subtype:"warning"}],onModalResult:s.handleModalReset},{default:_(()=>[p(" Wollen Sie die nicht gespeicherten Änderungen wirklich verwerfen? ")]),_:1},8,["show","onModalResult"]),m(a,{show:i.showModalDefaults,title:"Werkseinstellungen",subtype:"danger",buttons:[{text:"Ok",event:"confirm",subtype:"danger"}],onModalResult:s.handleModalDefaults},{default:_(()=>[p(" Wollen Sie wirklich alle Werte dieser Seite auf die Werkseinstellungen zurücksetzen? ")]),_:1},8,["show","onModalResult"]),n("div",eo,[n("div",to,[n("button",{id:"saveSettingsBtn",type:"button",class:"btn btn-block btn-success",onClick:t[0]||(t[0]=(...g)=>s.saveSettings&&s.saveSettings(...g))},[p(" Speichern "),m(l,{"fixed-width":"",icon:["fas","check"]})])]),o.hideReset?u("",!0):(r(),c("div",so,[n("button",{id:"modalResetBtn",type:"button",class:"btn btn-block btn-warning",onClick:t[1]||(t[1]=(...g)=>s.showResetModal&&s.showResetModal(...g))},[p(" Änderungen verwerfen "),m(l,{"fixed-width":"",icon:["fas","undo"]})])])),o.hideDefaults?u("",!0):(r(),c("div",oo,[n("button",{id:"modalDefaultsBtn",type:"button",class:"btn btn-block btn-danger",onClick:t[2]||(t[2]=(...g)=>s.showDefaultsModal&&s.showDefaultsModal(...g))},[p(" Werkseinstellungen "),m(l,{"fixed-width":"",icon:["fas","times"]})])]))])],64)}const ao=b(Xs,[["render",no],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseSubmitButtons.vue"]]),lo=Object.freeze(Object.defineProperty({__proto__:null,default:ao},Symbol.toStringTag,{value:"Module"}));B.add(I,V,ke,Se,Ce,Be,Oe,$e,Te,xe,Ie,Ve,Pe,He);const io={name:"OpenwbTextInput",inheritAttrs:!1,props:{title:String,modelValue:{type:[String,Object]},subtype:{validator:function(e){return["text","email","host","url","user","json","password","time","date","month","year"].indexOf(e)!==-1},default:"text"},pattern:String,unit:String,emptyValue:{required:!1,default:null},showQuickButtons:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{showHelp:!1,showPassword:!1,inputInvalid:!1,tempValue:this.modelValue}},computed:{value:{get(){return this.subtype=="json"?this.inputInvalid?(console.warn("returning invalid String"),this.tempValue):JSON.stringify(this.tempValue):this.modelValue},set(e){if(this.subtype=="json")try{let t=JSON.parse(e);this.inputInvalid=!1,this.$refs.jsonInput.setCustomValidity(""),this.tempValue=t,this.$emit("update:modelValue",t)}catch{console.error("parsing JSON failed: "+e),this.inputInvalid=!0,this.$refs.jsonInput.setCustomValidity("Ungültiger JSON Ausdruck!"),this.tempValue=e}else e==""&&(e=this.emptyValue),this.$emit("update:modelValue",e)}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0},togglePassword(){this.showPassword=!this.showPassword},modify(e){var t,o,d=new Date(this.modelValue);switch(this.subtype){case"date":d.setDate(d.getDate()+e),o=String(d.getFullYear())+"-"+String(d.getMonth()+1).padStart(2,"0")+"-"+String(d.getDate()).padStart(2,"0"),t=this.$refs.dateInput;break;case"month":d.setMonth(d.getMonth()+e),o=String(d.getFullYear())+"-"+String(d.getMonth()+1).padStart(2,"0"),t=this.$refs.monthInput;break;case"year":d.setYear(d.getFullYear()+e),o=String(d.getFullYear()),t=this.$refs.yearInput;break;default:console.warn(`cannot modify input of subtype '${this.subtype}'`);return}o>t.max||o(A("data-v-6927d479"),e=e(),E(),e),ro={class:"form-row mb-1"},co={class:"col-md-8"},uo={class:"form-row"},po={class:"input-group"},mo={class:"input-group-prepend"},_o={class:"input-group-text"},fo=["pattern"],ho=["pattern"],go=["type","pattern"],bo=["type"],vo={class:"input-group-text"},wo={key:10,class:"input-group-append"},yo={class:"input-group-text"},ko=N(()=>n("div",{class:"input-group-text"},"-",-1)),So=[ko],Co=N(()=>n("div",{class:"input-group-text"},"+",-1)),Bo=[Co],Oo={key:0,class:"form-row alert alert-info my-1 small"};function $o(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",ro,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",co,[n("div",uo,[n("div",po,[n("div",mo,[n("div",_o,[o.subtype=="text"?(r(),v(a,{key:0,"fixed-width":"",icon:["fas","keyboard"]})):u("",!0),o.subtype=="email"?(r(),v(a,{key:1,"fixed-width":"",icon:["fas","envelope"]})):u("",!0),o.subtype=="host"?(r(),v(a,{key:2,"fixed-width":"",icon:["fas","network-wired"]})):u("",!0),o.subtype=="url"?(r(),v(a,{key:3,"fixed-width":"",icon:["fas","globe"]})):u("",!0),o.subtype=="user"?(r(),v(a,{key:4,"fixed-width":"",icon:["fas","user"]})):u("",!0),o.subtype=="json"?(r(),v(a,{key:5,"fixed-width":"",icon:["fas","code"]})):u("",!0),o.subtype=="password"?(r(),v(a,{key:6,"fixed-width":"",icon:i.showPassword?["fas","unlock"]:["fas","lock"]},null,8,["icon"])):u("",!0),o.subtype=="time"?(r(),v(a,{key:7,"fixed-width":"",icon:["fas","clock"]})):u("",!0),o.subtype=="date"||o.subtype=="month"||o.subtype=="year"?(r(),v(a,{key:8,"fixed-width":"",icon:["fas","calendar-day"]})):u("",!0)])]),["text","user"].includes(o.subtype)?C((r(),c("input",S({key:0,type:"text",class:["form-control",{invalid:i.inputInvalid}],"onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs,{pattern:o.pattern}),null,16,fo)),[[$,s.value]]):u("",!0),o.subtype=="json"?C((r(),c("input",S({key:1,ref:"jsonInput",type:"text",class:"form-control","onUpdate:modelValue":t[2]||(t[2]=l=>s.value=l)},e.$attrs,{pattern:o.pattern}),null,16,ho)),[[$,s.value]]):u("",!0),o.subtype=="password"?C((r(),c("input",S({key:2,type:i.showPassword?"text":"password",class:"form-control","onUpdate:modelValue":t[3]||(t[3]=l=>s.value=l)},e.$attrs,{pattern:o.pattern}),null,16,go)),[[W,s.value]]):u("",!0),o.subtype=="host"?C((r(),c("input",S({key:3,type:"text",class:"form-control","onUpdate:modelValue":t[4]||(t[4]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),["email","url"].includes(o.subtype)?C((r(),c("input",S({key:4,type:o.subtype,class:"form-control","onUpdate:modelValue":t[5]||(t[5]=l=>s.value=l)},e.$attrs),null,16,bo)),[[W,s.value]]):u("",!0),o.subtype=="password"?(r(),c("div",{key:5,class:"input-group-append clickable",onClick:t[6]||(t[6]=(...l)=>s.togglePassword&&s.togglePassword(...l))},[n("div",vo,[m(a,{"fixed-width":"",icon:i.showPassword?["far","eye"]:["far","eye-slash"]},null,8,["icon"])])])):u("",!0),o.subtype=="time"?C((r(),c("input",S({key:6,type:"time",class:"form-control","onUpdate:modelValue":t[7]||(t[7]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.subtype=="date"?C((r(),c("input",S({key:7,type:"date",ref:"dateInput",class:"form-control","onUpdate:modelValue":t[8]||(t[8]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.subtype=="month"?C((r(),c("input",S({key:8,type:"month",ref:"monthInput",class:"form-control","onUpdate:modelValue":t[9]||(t[9]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.subtype=="year"?C((r(),c("input",S({key:9,type:"number",ref:"yearInput",class:"form-control","onUpdate:modelValue":t[10]||(t[10]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]):u("",!0),o.unit?(r(),c("div",wo,[n("div",yo,f(o.unit),1)])):u("",!0),o.showQuickButtons&&(o.subtype=="date"||o.subtype=="month"||o.subtype=="year")?(r(),c("div",{key:11,class:"input-group-append clickable",onClick:t[11]||(t[11]=l=>s.modify(-1))},[...So])):u("",!0),o.showQuickButtons&&(o.subtype=="date"||o.subtype=="month"||o.subtype=="year")?(r(),c("div",{key:12,class:"input-group-append clickable",onClick:t[12]||(t[12]=l=>s.modify(1))},[...Bo])):u("",!0)])]),i.showHelp?(r(),c("span",Oo,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const To=b(io,[["render",$o],["__scopeId","data-v-6927d479"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseTextInput.vue"]]),xo=Object.freeze(Object.defineProperty({__proto__:null,default:To},Symbol.toStringTag,{value:"Module"}));B.add(I,V);const Io={name:"OpenwbTextareaInput",inheritAttrs:!1,props:{title:String,modelValue:{String,Object},subtype:{validator:function(e){return["text","json"].indexOf(e)!==-1},default:"text"}},emits:["update:modelValue"],data(){return{showHelp:!1,inputInvalid:!1,tempValue:this.modelValue}},computed:{value:{get(){return this.subtype=="json"?this.inputInvalid?(console.debug("returning invalid String"),this.tempValue):JSON.stringify(this.tempValue,void 0,2):this.modelValue},set(e){if(this.subtype=="json")try{let t=JSON.parse(e);this.inputInvalid=!1,this.$refs.jsonInput.setCustomValidity(""),this.tempValue=t,this.$emit("update:modelValue",t)}catch{console.warn("parsing JSON failed: "+e),this.inputInvalid=!0,this.$refs.jsonInput.setCustomValidity("Ungültiger JSON Ausdruck!"),this.tempValue=e}else this.$emit("update:modelValue",e)}},length:{get(){return this.value!==void 0?this.value.length:0}}},methods:{toggleHelp(){this.showHelp=!this.showHelp&&this.$slots.help!==void 0}},components:{FontAwesomeIcon:O}},Vo={class:"form-row mb-1"},Po={class:"col-md-8"},Ho={class:"form-row"},Mo={class:"input-group"},Do={class:"input-group-prepend"},Ao={class:"input-group-text"},Eo={key:2,class:"input-group-append"},qo={class:"input-group-text"},Lo={class:"form-text text-muted text-right"},jo={key:0,class:"form-row alert alert-info my-1 small"};function Wo(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Vo,[n("label",{onClick:t[0]||(t[0]=(...l)=>s.toggleHelp&&s.toggleHelp(...l)),class:"col-md-4 col-form-label"},[p(f(o.title)+" ",1),e.$slots.help?(r(),v(a,{key:0,icon:i.showHelp?["fas","question-circle"]:["far","question-circle"],class:k(i.showHelp?"text-info":"")},null,8,["icon","class"])):u("",!0)]),n("div",Po,[n("div",Ho,[n("div",Mo,[n("div",Do,[n("div",Ao,[o.subtype=="text"?(r(),v(a,{key:0,"fixed-width":"",icon:["fas","keyboard"]})):u("",!0),o.subtype=="json"?(r(),v(a,{key:1,"fixed-width":"",icon:["fas","code"]})):u("",!0)])]),o.subtype==="json"?C((r(),c("textarea",S({key:0,ref:"jsonInput",class:"form-control","onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value,void 0,{lazy:!0}]]):C((r(),c("textarea",S({key:1,class:"form-control","onUpdate:modelValue":t[2]||(t[2]=l=>s.value=l)},e.$attrs),null,16)),[[$,s.value]]),e.$attrs.maxlength?(r(),c("div",Eo,[n("div",qo,[n("small",Lo,f(s.length)+" / "+f(e.$attrs.maxlength),1)])])):u("",!0)])]),i.showHelp?(r(),c("span",jo,[w(e.$slots,"help",{},void 0,!0)])):u("",!0)])])}const Ro=b(Io,[["render",Wo],["__scopeId","data-v-3d93046b"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseTextarea.vue"]]),No=Object.freeze(Object.defineProperty({__proto__:null,default:Ro},Symbol.toStringTag,{value:"Module"}));const Uo={name:"OpenwbToast",emits:["dismiss"],props:{topic:{type:String,required:!0},subtype:{validator:function(e){return["info","success","warning","danger","primary","secondary","light","dark"].indexOf(e)!==-1},default:"secondary"},source:{validator:function(e){return["system","client","command"].indexOf(e)!==-1}},timestamp:{type:Number}},data(){return{handle:void 0,relativeTime:void 0}},methods:{dismiss(){this.$emit("dismiss",{topic:this.topic})},updateRelativeTime(){const e={year:31536e6,month:2628e6,day:864e5,hour:36e5,minute:6e4,second:1e3};var t=new Intl.RelativeTimeFormat("de",{numeric:"auto"});const o=new Date,d=this.timestamp*1e3-o;for(var i in e)if(Math.abs(d)>e[i]){this.relativeTime=t.format(Math.round(d/e[i]),i);break}}},mounted(){this.handle=window.setInterval(this.updateRelativeTime,1e3)},unmounted(){window.clearInterval(this.handle)}},U=e=>(A("data-v-c51b5764"),e=e(),E(),e),zo=U(()=>n("strong",{class:"pr-2 mr-auto"},"OpenWB",-1)),Fo={key:0,class:"time-diff"},Go=U(()=>n("span",{"aria-hidden":"true"},"×",-1)),Jo=[Go],Ko={class:"toast-body"};function Qo(e,t,o,d,i,s){return r(),c("div",{class:k(["toast","border-"+o.subtype]),role:"alert"},[n("div",{class:k(["toast-header","bg-"+o.subtype])},[zo,o.timestamp?(r(),c("small",Fo,f(i.relativeTime),1)):u("",!0),n("button",{type:"button",class:"ml-2 mb-1 close","data-dismiss":"toast","aria-label":"Close",onClick:t[0]||(t[0]=(...a)=>s.dismiss&&s.dismiss(...a))},[...Jo])],2),n("div",Ko,[w(e.$slots,"default",{},void 0,!0)])],2)}const Yo=b(Uo,[["render",Qo],["__scopeId","data-v-c51b5764"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbBaseToast.vue"]]),Zo=Object.freeze(Object.defineProperty({__proto__:null,default:Yo},Symbol.toStringTag,{value:"Module"}));B.add(Me);const Xo={name:"OpenwbNavBar",components:{FontAwesomeIcon:O},computed:{nodeEnv(){return"development"}},watch:{$route(){this.$refs.collapsibleNavbar.classList.remove("show"),this.$refs.navbarButton.classList.add("collapsed"),this.$refs.navbarButton.setAttribute("aria-expanded",!1)}}},P=e=>(A("data-v-e7a6d0c0"),e=e(),E(),e),en={class:"navbar navbar-expand-lg bg-dark navbar-dark fixed-top"},tn=P(()=>n("a",{class:"navbar-brand",href:"/openWB/web/"},[n("span",null,"openWB")],-1)),sn={class:"navbar-toggler",type:"button","data-toggle":"collapse","data-target":"#collapsibleNavbar",ref:"navbarButton"},on=P(()=>n("span",{class:"navbar-toggler-icon"},null,-1)),nn=[on],an={class:"collapse navbar-collapse",id:"collapsibleNavbar",ref:"collapsibleNavbar"},ln={class:"navbar-nav"},rn={class:"nav-item"},dn={class:"nav-item dropdown nav-separator-after"},cn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Auswertungen ",-1)),un={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},pn={class:"nav-item dropdown"},mn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Einstellungen ",-1)),_n={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},fn={class:"nav-item dropdown"},hn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Ladeeinstellungen ",-1)),gn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},bn={class:"nav-item dropdown"},vn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Konfiguration ",-1)),wn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},yn=P(()=>n("div",{class:"dropdown-divider"},null,-1)),kn=P(()=>n("a",{href:"modules/legacy_smart_home/smarthomeconfig.php",class:"dropdown-item",target:"_blank"}," SmartHome ",-1)),Sn={class:"nav-item dropdown"},Cn=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," System ",-1)),Bn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},On={key:0,class:"nav-item dropdown nav-separator-before"},$n=P(()=>n("a",{class:"nav-link dropdown-toggle",href:"#",role:"button","data-toggle":"dropdown","aria-expanded":"false"}," Beispiele ",-1)),Tn={class:"dropdown-menu","aria-labelledby":"navbarDropdown"},xn={class:"nav-item nav-separator-before"},In={class:"nav-link",href:"https://github.com/openWB/core/wiki",target:"_blank"};function Vn(e,t,o,d,i,s){const a=h("router-link"),l=h("font-awesome-icon");return r(),c("nav",en,[tn,n("button",sn,[...nn],512),n("div",an,[n("ul",ln,[n("li",rn,[m(a,{to:"/Status",class:"nav-link","active-class":"active disabled"},{default:_(()=>[p(" Status ")]),_:1})]),n("li",dn,[cn,n("div",un,[m(a,{to:"/Logging/ChargeLog",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Ladeprotokoll ")]),_:1}),m(a,{to:"/Logging/Chart",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Diagramme ")]),_:1})])]),n("li",pn,[mn,n("div",_n,[m(a,{to:"/GeneralConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Allgemein ")]),_:1}),m(a,{to:"/OptionalComponents",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Optionale Hardware ")]),_:1})])]),n("li",fn,[hn,n("div",gn,[m(a,{to:"/GeneralChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Übergreifendes ")]),_:1}),m(a,{to:"/InstantChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Sofortladen ")]),_:1}),m(a,{to:"/PVChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" PV-Laden ")]),_:1}),m(a,{to:"/TimeChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Zeitladen ")]),_:1}),m(a,{to:"/ScheduledChargeConfig",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Zielladen ")]),_:1})])]),n("li",bn,[vn,n("div",wn,[m(a,{to:"/HardwareInstallation",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Geräte und Komponenten ")]),_:1}),m(a,{to:"/LoadManagementConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Lastmanagement ")]),_:1}),m(a,{to:"/ChargePointInstallation",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Ladepunkte ")]),_:1}),m(a,{to:"/VehicleConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Fahrzeuge ")]),_:1}),yn,kn])]),n("li",Sn,[Cn,n("div",Bn,[m(a,{to:"/System/CloudConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" openWB Cloud ")]),_:1}),m(a,{to:"/System/MqttBridgeConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" MQTT-Brücken ")]),_:1}),m(a,{to:"/System/DebugConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Fehlersuche ")]),_:1}),m(a,{to:"/System/Support",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Support ")]),_:1}),m(a,{to:"/System/DataManagement",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Datenverwaltung ")]),_:1}),m(a,{to:"/System/SystemConfiguration",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" System ")]),_:1}),m(a,{to:"/System/LegalSettings",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" Rechtliches ")]),_:1})])]),s.nodeEnv!=="production"?(r(),c("li",On,[$n,n("div",Tn,[m(a,{to:"/TestingStore",class:"dropdown-item","active-class":"active disabled"},{default:_(()=>[p(" VUEX Store ")]),_:1})])])):u("",!0),n("li",xn,[n("a",In,[p(" Wiki "),m(l,{"fixed-width":"",icon:["fas","external-link-alt"]})])])])],512)])}const Pn=b(Xo,[["render",Vn],["__scopeId","data-v-e7a6d0c0"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageNavbar.vue"]]);const Hn={name:"OpenwbPageFooter"},Mn={id:"footer",class:"footer bg-dark text-light font-small"},Dn={class:"container text-center"};function An(e,t,o,d,i,s){return r(),c("footer",Mn,[n("div",Dn,[n("small",null," Sie befinden sich hier: Einstellungen / "+f(e.$route.meta.heading),1)])])}const En=b(Hn,[["render",An],["__scopeId","data-v-3c9a239a"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageFooter.vue"]]);B.add(De);const qn={name:"OpenwbDonationBanner",components:{FontAwesomeIcon:O}},Ln={class:"mt-3 alert alert-dark text-center"},jn=n("br",null,null,-1),Wn=n("br",null,null,-1),Rn={action:"https://www.paypal.com/cgi-bin/webscr",method:"post",target:"_blank"},Nn=n("input",{type:"hidden",name:"cmd",value:"_s-xclick"},null,-1),Un=n("input",{type:"hidden",name:"hosted_button_id",value:"2K8C4Y2JTGH7U"},null,-1),zn={type:"submit",class:"btn btn-primary"};function Fn(e,t,o,d,i,s){const a=h("font-awesome-icon");return r(),c("div",Ln,[p(" Open Source made with love!"),jn,p(" Jede Spende hilft die Weiterentwicklung von openWB voranzutreiben"),Wn,n("form",Rn,[Nn,Un,n("button",zn,[p(" Spenden "),m(a,{icon:["fab","paypal"]})])])])}const Gn=b(qn,[["render",Fn],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageDonationBanner.vue"]]),Jn={name:"ComponentState",data(){return{mqttTopicsToSubscribe:[]}},emits:["reset","defaults","save"],computed:{weekdays(){return["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"]},chargeModes(){return["instant_charging","pv_charging","scheduled_charging","time_charging","standby","stop"]},mqttClientId(){return this.$root.mqttClientId}},methods:{updateState(e,t,o=void 0){console.debug("updateState:",e,t,o),this.$store.commit({type:"updateTopic",topic:e,objectPath:o,payload:t})},getWildcardIndexList(e,t=!1){let o=e;t||(o="^"+e.replaceAll("/","\\/").replaceAll("+","[^+/]+").replaceAll("#","[^#/]+")+"$");let d=Object.keys(this.$store.state.mqtt).filter(i=>i.match(o));return d.forEach((i,s,a)=>{a[s]=parseInt(i.match(/(?:\/)([0-9]+)(?=\/)*/g)[0].replace(/[^0-9]+/g,""))}),d},getWildcardTopics(e,t=!1){let o=e;return t||(o="^"+e.replaceAll("/","\\/").replaceAll("+","[^+/]+").replaceAll("#","[^#/]+")+"$"),Object.keys(this.$store.state.mqtt).filter(d=>d.match(o)).reduce((d,i)=>({...d,[i]:this.$store.state.mqtt[i]}),{})},formatDate(e,t={year:"numeric",month:"2-digit",day:"2-digit"}){return new Date(e).toLocaleDateString(void 0,t)},formatNumber(e,t=0,o=t,d=1){return(e*d).toLocaleString(void 0,{minimumFractionDigits:t,maximumFractionDigits:o})},formatNumberTopic(e,t=0,o=t,d=1){return this.$store.state.mqtt[e]?this.formatNumber(this.$store.state.mqtt[e],t,o,d):"-"},formatPhaseArrayNumberTopic(e,t=0,o=t,d=1){return this.$store.state.mqtt[e]?this.$store.state.mqtt[e].map(i=>this.formatNumber(i,t,o,d)).join(" / "):"- / - / -"},translateChargeMode(e){switch(e){case"instant_charging":return"Sofort";case"pv_charging":return"PV";case"scheduled_charging":return"Zielladen";case"time_charging":return"Zeitladen";case"standby":return"Standby";case"stop":return"Stop";default:return console.warn("unknown charge mode:",e),e}}},mounted(){this.mqttTopicsToSubscribe.push("openWB/log/"+this.mqttClientId+"/data"),this.mqttTopicsToSubscribe.forEach(e=>{e.includes("#")||e.includes("+")?console.debug("skipping init of wildcard topic:",e):Object.keys(this.$store.state.mqtt).includes(e)?console.error("multiple subscriptions of topic!",e):this.$store.commit("addTopic",{topic:e,payload:void 0})}),this.$root.doSubscribe(this.mqttTopicsToSubscribe)},unmounted(){this.$root.doUnsubscribe(this.mqttTopicsToSubscribe),this.mqttTopicsToSubscribe.forEach(e=>{e.includes("#")||e.includes("+")?(console.debug("expanding wildcard topic:",e),Object.keys(this.getWildcardTopics(e)).forEach(t=>{console.debug("removing wildcardTopic:",t),this.$store.commit("removeTopic",t)})):this.$store.commit("removeTopic",e)})}},z=b(Jn,[["__file","/opt/openWB-dev/openwb-ui-settings/src/components/mixins/ComponentState.vue"]]);const Kn={name:"OpenwbPageMessages",mixins:[z],data(){return{mqttTopicsToSubscribe:["openWB/system/messages/+","openWB/command/"+this.$root.mqttClientId+"/messages/+","openWB/command/"+this.$root.mqttClientId+"/error"]}},computed:{messages(){const e=[];return this.alertData&&e.push({topic:"openWB/command/"+this.$root.mqttClientId+"/error",source:"command",type:"danger",message:`Bei der Verarbeitung des Befehls '`+this.alertData.command+`' mit den Parametern '`+this.alertData.data+"' ist ein Fehler aufgetreten:
"+this.alertData.error+"
"}),this.systemMessages.forEach(t=>{e.push(t)}),this.clientMessages.forEach(t=>{e.push(t)}),e},alertData(){return this.$store.state.mqtt["openWB/command/"+this.$root.mqttClientId+"/error"]},systemMessages(){let e=this.getWildcardTopics("openWB/system/messages/+");var t=[];for(const[o,d]of Object.entries(e))t.push({topic:o,...d});return t},clientMessages(){let e=this.getWildcardTopics("openWB/command/"+this.$root.mqttClientId+"/messages/+");var t=[];for(const[o,d]of Object.entries(e))t.push({topic:o,...d});return t}},methods:{clearTopic(e){this.$root.doPublish(e,void 0)},dismissError(){this.clearTopic("openWB/command/"+this.$root.mqttClientId+"/error")},dismiss(e){console.debug("removing message: "+e.topic),this.clearTopic(e.topic)}}},Qn={class:"openwb-toast position-fixed bottom-0 right-0 p-3"},Yn=["innerHTML"];function Zn(e,t,o,d,i,s){const a=h("openwb-base-toast");return r(),c("div",Qn,[(r(!0),c(x,null,M(s.messages,l=>(r(),v(a,{key:l.topic,topic:l.topic,source:l.source,subtype:l.type,timestamp:l.timestamp,onDismiss:s.dismiss},{default:_(()=>[n("span",{innerHTML:l.message},null,8,Yn)]),_:2},1032,["topic","source","subtype","timestamp","onDismiss"]))),128))])}const Xn=b(Kn,[["render",Zn],["__scopeId","data-v-2c25f0d0"],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageMessages.vue"]]),ea={name:"OpenwbPageBlocker",mixins:[z],data(){return{mqttTopicsToSubscribe:["openWB/system/boot_done","openWB/system/update_in_progress"]}},computed:{title(){return this.bootInProgress||this.updateInProgress?"openWB ist noch nicht bereit":this.reloadRequired?"Neues Laden der Seite erforderlich":"???"},myButtons(){return!(this.bootInProgress||this.updateInProgress)&&this.reloadRequired?[{text:"Jetzt neu laden",subtype:"success",event:"reload"}]:[]},bootInProgress(){return this.$store.state.mqtt["openWB/system/boot_done"]==null?!0:!this.$store.state.mqtt["openWB/system/boot_done"]},updateInProgress(){return this.$store.state.mqtt["openWB/system/update_in_progress"]==null?!1:this.$store.state.mqtt["openWB/system/update_in_progress"]},reloadRequired(){return this.$store.state.local.reloadRequired},showModalBlocker(){return this.bootInProgress||this.updateInProgress||this.reloadRequired}},methods:{handleModalResult(e){e=="reload"?location.reload():console.warn("unknown event",e)}}},ta={class:"openwb-blocker"},sa={key:0},oa={key:1},na={key:2},aa={key:3};function la(e,t,o,d,i,s){const a=h("openwb-base-modal-dialog");return r(),c("div",ta,[m(a,{show:s.showModalBlocker,title:s.title,subtype:"dark",preventClose:!0,buttons:s.myButtons,onModalResult:t[0]||(t[0]=l=>s.handleModalResult(l))},{default:_(()=>[s.bootInProgress?(r(),c("p",sa," Der Systemstart ist noch nicht abgeschlossen. ")):u("",!0),s.updateInProgress?(r(),c("p",oa," Es wird eine Systemaktualisierung ausgeführt. ")):u("",!0),!(s.bootInProgress||s.updateInProgress)&&s.reloadRequired?(r(),c("p",na," Bitte die Seite neu laden. ")):(r(),c("p",aa,"Bitte warten..."))]),_:1},8,["show","title","buttons"])])}const ia=b(ea,[["render",la],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/OpenwbPageBlocker.vue"]]);const ra={name:"settings-app",components:{NavBar:Pn,PageFooter:En,DonationBanner:Gn,Messages:Xn,Blocker:ia},data(){return{client:{connected:!1},connection:{protocol:location.protocol=="https:"?"wss":"ws",host:location.hostname,port:parseInt(location.port)||(location.protocol=="https:"?443:80),endpoint:"/ws",connectTimeout:4e3,reconnectPeriod:4e3}}},computed:{mqttClientId(){try{return this.client.options.clientId}catch{return}},topicList(){return Object.keys(this.$store.state.mqtt)}},methods:{async saveValues(e=void 0){function t(d){return new Promise(i=>setTimeout(i,d))}console.debug("saving values..."),this.$store.state.local.savingData=!0;let o={};e===void 0?o=this.$store.state.mqtt:Array.isArray(e)?e.forEach(d=>{o[d]=this.$store.state.mqtt[d]}):console.error("expected array, got ",typeof e);for(const[d,i]of Object.entries(o)){let s=d.replace("openWB/","openWB/set/");console.debug("saving data:",s,i),this.doPublish(s,i),await t(100)}console.debug("done saving data"),this.$store.state.local.savingData=!1},resetValues(e=this.topicList){console.debug("resetting values..."),console.debug("topics: ",e),this.doUnsubscribe(e),this.doSubscribe(e)},setDefaultValues(){console.debug("setting default values... (ToDo)")},sendCommand(e){this.doPublish("openWB/set/command/"+this.client.options.clientId+"/todo",e,!1)},createConnection(){const{protocol:e,host:t,port:o,endpoint:d,...i}=this.connection,s=`${e}://${t}:${o}${d}`;console.debug("connecting to broker:",s);try{this.client=se.connect(s,i)}catch(a){console.error("mqtt.connect error",a)}this.client.on("connect",()=>{console.debug("Connection succeeded! ClientId: ",this.client.options.clientId),this.doSubscribe(["openWB/system/usage_terms_acknowledged"])}),this.client.on("error",a=>{console.error("Connection failed",a)}),this.client.on("message",(a,l)=>{if(l.toString().length>0){let g;try{g=JSON.parse(l.toString())}catch{console.debug("Json parsing failed, fallback to string: ",a),g=l.toString()}this.$store.commit("addTopic",{topic:a,payload:g})}else this.$store.commit("removeTopic",a)})},doSubscribe(e){this.client.subscribe(e,{},t=>{if(t){console.error("Subscribe to topics error",t);return}})},doUnsubscribe(e){this.client.unsubscribe(e,t=>{t&&console.error("Unsubscribe error",t)})},doPublish(e,t,o=!0,d=2){let i={qos:d,retain:o};this.client.publish(e,JSON.stringify(t),i,s=>{s&&console.error("Publish error",s)})},postClientMessage(e,t="secondary"){console.debug("postMessage:",e,t);const o=Date.now(),d="openWB/command/"+this.mqttClientId+"/messages/"+o;this.$store.commit({type:"addTopic",topic:d,payload:{message:e,type:t,source:"client",timestamp:Math.floor(o/1e3)}})}},created(){this.createConnection()}},da={role:"main",class:"container"},ca={id:"content"};function ua(e,t,o,d,i,s){const a=h("nav-bar"),l=h("router-view"),g=h("donation-banner"),T=h("page-footer"),H=h("messages"),D=h("blocker");return r(),c(x,null,[n("header",null,[m(a)]),n("div",da,[n("div",ca,[n("h1",null,f(e.$route.meta.heading),1),m(l,{onSave:s.saveValues,onReset:s.resetValues,onDefaults:s.setDefaultValues,onSendCommand:s.sendCommand},null,8,["onSave","onReset","onDefaults","onSendCommand"])]),m(g)]),m(T),m(H),m(D)],64)}const pa=b(ra,[["render",ua],["__file","/opt/openWB-dev/openwb-ui-settings/src/App.vue"]]),ma="modulepreload",_a=function(e){return"/openWB/web/settings/"+e},R={},y=function(t,o,d){if(!o||o.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(o.map(s=>{if(s=_a(s),s in R)return;R[s]=!0;const a=s.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!d)for(let H=i.length-1;H>=0;H--){const D=i[H];if(D.href===s&&(!a||D.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const T=document.createElement("link");if(T.rel=a?"stylesheet":ma,a||(T.as="script",T.crossOrigin=""),T.href=s,document.head.appendChild(T),a)return new Promise((H,D)=>{T.addEventListener("load",H),T.addEventListener("error",()=>D(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})};let F={mqtt:{},local:{reloadRequired:!1,savingData:!1},text:{rfidWiki:'Bitte auch hiervon abhängige Einstellungen beachten. Eine Übersicht gibt es im Wiki.'}};F.examples={text1:"Text...",text2:"mail@domain.com",text3:"openwb.local",text4:"http://www.openwb.de",text5:"Benutzername",text6:"12:34",text7:"2021-10-31",number1:5,number2:10,password1:"GeHeiM!",textarea1:"Langer Text...",range1:6,range2:10,select1:1,select2:"three",buttonGroup1:1,checkbox1:!0,json1:{text:"Text",number:123},hierarchy1:[{id:0,type:"counter",children:[{id:3,type:"inverter",children:[]},{id:4,type:"bat",children:[]},{id:1,type:"cp",children:[]},{id:2,type:"cp",children:[]}]}],hierarchy1Labels:{0:"EVU",1:"Ladepunkt 1",2:"Ladepunkt 2",3:"Wechselrichter",4:"Batteriespeicher"},tags:["1234","2345","3456"]};const G=oe({state:F,mutations:{storeLocal(e,t){e.local[t.name]=t.value},addTopic(e,t){e.mqtt[t.topic]=t.payload},removeTopic(e,t){delete e.mqtt[t]},updateTopic(e,t){const o=(d,i,s)=>i.split(".").reduce((a,l,g)=>a[l]=i.split(".").length===++g?s:a[l]||{},d);t.topic in e.mqtt?t.objectPath!=null?o(e.mqtt[t.topic],t.objectPath,t.payload):e.mqtt[t.topic]=t.payload:(console.debug("topic not found in state.mqtt: ",t.topic),t.topic in e.examples?t.objectPath!=null?o(e.examples[t.topic],t.objectPath,t.payload):e.examples[t.topic]=t.payload:console.warn("topic not found in state: ",t.topic," giving up"))}},actions:{},modules:{},getters:{usageTermsAcknowledged(e){return new Promise(t=>{if(e.mqtt["openWB/system/usage_terms_acknowledged"]!==void 0)t(e.mqtt["openWB/system/usage_terms_acknowledged"]);else{var o,d;o=setTimeout(()=>{clearInterval(d),t(!1)},5e3),d=setInterval(()=>{e.mqtt["openWB/system/usage_terms_acknowledged"]!==void 0&&(clearTimeout(o),clearInterval(d),t(e.mqtt["openWB/system/usage_terms_acknowledged"]))},100)}})}}}),J=[{path:"/",redirect:"/GeneralConfig"},{path:"/Status",name:"Status",meta:{heading:"Status"},component:()=>y(()=>import("./Status-19c15ea3.js"),["assets/Status-19c15ea3.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/Status-49744ef3.css"])},{path:"/Logging/ChargeLog",name:"ChargeLog",meta:{heading:"Auswertungen - Ladeprotokoll"},component:()=>y(()=>import("./ChargeLog-3d2383df.js"),["assets/ChargeLog-3d2383df.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/ChargeLog-298377e5.css"])},{path:"/Logging/Chart/:chartRange?/:initialDate?",name:"DailyChart",meta:{heading:"Auswertungen - Diagramme"},component:()=>y(()=>import("./Chart-40e17f75.js"),["assets/Chart-40e17f75.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-chartjs-ac74f3f3.js","assets/vendor-luxon-d18c09ea.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/Chart-e20451b4.css"])},{path:"/GeneralConfig",name:"GeneralConfig",meta:{heading:"Einstellungen - Allgemein"},component:()=>y(()=>import("./GeneralConfig-3d4ac5bb.js"),["assets/GeneralConfig-3d4ac5bb.js","assets/dynamic-import-helper-be004503.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/OptionalComponents",name:"OptionalComponents",meta:{heading:"Einstellungen - Optionale Hardware"},component:()=>y(()=>import("./OptionalComponents-2e8877b3.js"),["assets/OptionalComponents-2e8877b3.js","assets/dynamic-import-helper-be004503.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/GeneralChargeConfig",name:"GeneralChargeConfig",meta:{heading:"Ladeeinstellungen - Übergreifendes"},component:()=>y(()=>import("./GeneralChargeConfig-d37c9760.js"),["assets/GeneralChargeConfig-d37c9760.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/InstantChargeConfig",name:"InstantChargeConfig",meta:{heading:"Ladeeinstellungen - Sofortladen"},component:()=>y(()=>import("./InstantChargeConfig-6cf9d99e.js"),["assets/InstantChargeConfig-6cf9d99e.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/PVChargeConfig",name:"PVChargeConfig",meta:{heading:"Ladeeinstellungen - PV-Laden"},component:()=>y(()=>import("./PVChargeConfig-bb943e85.js"),["assets/PVChargeConfig-bb943e85.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/TimeChargeConfig",name:"TimeChargeConfig",meta:{heading:"Ladeeinstellungen - Zeitladen"},component:()=>y(()=>import("./TimeChargeConfig-f2cdfafd.js"),["assets/TimeChargeConfig-f2cdfafd.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/ScheduledChargeConfig",name:"ScheduledChargeConfig",meta:{heading:"Ladeeinstellungen - Zielladen"},component:()=>y(()=>import("./ScheduledChargeConfig-e8a136fb.js"),["assets/ScheduledChargeConfig-e8a136fb.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/HardwareInstallation",name:"HardwareInstallation",meta:{heading:"Konfiguration - Geräte und Komponenten"},component:()=>y(()=>import("./HardwareInstallation-f47e95e2.js"),["assets/HardwareInstallation-f47e95e2.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/HardwareInstallation-1ee9693f.css"])},{path:"/LoadManagementConfiguration",name:"LoadManagementConfiguration",meta:{heading:"Konfiguration - Lastmanagement"},component:()=>y(()=>import("./LoadManagementConfig-1650a2e5.js"),["assets/LoadManagementConfig-1650a2e5.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/OpenwbSortableList-4817ba7c.js","assets/OpenwbSortableList-7ba533e4.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/ChargePointInstallation",name:"ChargePointInstallation",meta:{heading:"Konfiguration - Ladepunkte"},component:()=>y(()=>import("./ChargePointInstallation-8c3836fb.js"),["assets/ChargePointInstallation-8c3836fb.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/ChargePointInstallation-ed6a5c7e.css"])},{path:"/VehicleConfiguration/:section?/:section_index?/:section_part?/:action?",name:"VehicleConfiguration",meta:{heading:"Konfiguration - Fahrzeuge"},component:()=>y(()=>import("./VehicleConfig-0c215ae1.js"),["assets/VehicleConfig-0c215ae1.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/VehicleConfig-4aeda6ca.css"])},{path:"/System/CloudConfiguration",name:"CloudConfig",meta:{heading:"System - openWB Cloud"},component:()=>y(()=>import("./CloudConfig-f468bd77.js"),["assets/CloudConfig-f468bd77.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/System/MqttBridgeConfiguration",name:"MqttBridgeConfig",meta:{heading:"System - MQTT-Brücken"},component:()=>y(()=>import("./MqttBridgeConfig-0106aa7e.js"),["assets/MqttBridgeConfig-0106aa7e.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/MqttBridgeConfig-3471079a.css"])},{path:"/System/DebugConfiguration",name:"Debugging",meta:{heading:"System - Fehlersuche"},component:()=>y(()=>import("./DebugConfig-0ff89e72.js"),["assets/DebugConfig-0ff89e72.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/System/Support",name:"Support",meta:{heading:"System - Support"},component:()=>y(()=>import("./Support-4f158708.js"),["assets/Support-4f158708.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/System/LegalSettings",name:"LegalSettings",meta:{heading:"System - Rechtliches"},component:()=>y(()=>import("./LegalSettings-1bd006fa.js"),["assets/LegalSettings-1bd006fa.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])},{path:"/System/SystemConfiguration",name:"SystemConfig",meta:{heading:"System - System"},component:()=>y(()=>import("./System-0e04b9b8.js"),["assets/System-0e04b9b8.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js","assets/System-0f1d217b.css"])},{path:"/System/DataManagement",name:"DataManagement",meta:{heading:"System - Datenverwaltung"},component:()=>y(()=>import("./DataManagement-3f17ee7b.js"),["assets/DataManagement-3f17ee7b.js","assets/vendor-fortawesome-349077b4.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/dynamic-import-helper-be004503.js","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])}];J.push({path:"/TestingStore",name:"VUEX Store",meta:{heading:"Beispiele - VUEX Store"},component:()=>y(()=>import("./TestingStore-cb512650.js"),["assets/TestingStore-cb512650.js","assets/OpenwbSortableList-4817ba7c.js","assets/vendor-2e22dd5c.js","assets/vendor-sortablejs-c63121b5.js","assets/vendor-941e092d.css","assets/vendor-fortawesome-349077b4.js","assets/OpenwbSortableList-7ba533e4.css","assets/vendor-bootstrap-fb84b040.js","assets/vendor-jquery-6db16bd2.js","assets/vendor-bootstrap-0cf52758.css","assets/vendor-axios-f64a0ef5.js"])});const L=ne({history:ae(),routes:J});L.beforeEach(async e=>{if(e.name!=="LegalSettings"&&!await G.getters.usageTermsAcknowledged)return{name:"LegalSettings"}});L.afterEach(e=>{e.meta.heading?document.title="openWB | "+e.meta.heading:document.title="openWB"});const j=le(pa);j.use(G).use(L).use(Ae,Ee);const fa=Object.assign({"./components/OpenwbBaseAlert.vue":We,"./components/OpenwbBaseArrayInput.vue":tt,"./components/OpenwbBaseAvatar.vue":lt,"./components/OpenwbBaseButtonGroupInput.vue":ht,"./components/OpenwbBaseButtonInput.vue":Ct,"./components/OpenwbBaseCard.vue":Dt,"./components/OpenwbBaseCheckboxInput.vue":Nt,"./components/OpenwbBaseClickButton.vue":Gt,"./components/OpenwbBaseCopyToClipboard.vue":Zt,"./components/OpenwbBaseHeading.vue":as,"./components/OpenwbBaseModalDialog.vue":fs,"./components/OpenwbBaseNumberInput.vue":Ts,"./components/OpenwbBaseRangeInput.vue":js,"./components/OpenwbBaseSelectInput.vue":Zs,"./components/OpenwbBaseSubmitButtons.vue":lo,"./components/OpenwbBaseTextInput.vue":xo,"./components/OpenwbBaseTextarea.vue":No,"./components/OpenwbBaseToast.vue":Zo});Object.entries(fa).forEach(([e,t])=>{const o=ie(re(e.split("/").pop().replace(/\.\w+$/,"")));j.component(o,t.default)});j.mount("#app");export{z as C,y as _}; diff --git a/web/settings/assets/inverter-218eb370.js b/web/settings/assets/inverter-00c23182.js similarity index 88% rename from web/settings/assets/inverter-218eb370.js rename to web/settings/assets/inverter-00c23182.js index 66bd8ee671..60020ece71 100644 --- a/web/settings/assets/inverter-218eb370.js +++ b/web/settings/assets/inverter-00c23182.js @@ -1 +1 @@ -import{_ as c,p as t,k as l,l as _,A as o,L as a,u as i,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceEnphaseInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"device-enphase-inverter"},h={class:"small"};function g(n,e,s,w,E,r){const d=t("openwb-base-heading"),u=t("openwb-base-number-input");return l(),_("div",b,[o(d,null,{default:a(()=>[i(" Einstellungen für Enphase Envoy / IQ Gateway Wechselrichter "),m("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(u,{title:"EID",required:"","model-value":s.configuration.eid,"onUpdate:modelValue":e[0]||(e[0]=p=>r.updateConfiguration(p,"configuration.eid"))},{help:a(()=>[i(' EID für "production" ')]),_:1},8,["model-value"])])}const q=c(v,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/enphase/inverter.vue"]]);export{q as default}; +import{_ as c,p as t,k as l,l as _,A as o,L as a,u as i,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceEnphaseInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"device-enphase-inverter"},h={class:"small"};function g(n,e,s,w,E,r){const d=t("openwb-base-heading"),u=t("openwb-base-number-input");return l(),_("div",b,[o(d,null,{default:a(()=>[i(" Einstellungen für Enphase Envoy / IQ Gateway Wechselrichter "),m("span",h,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),o(u,{title:"EID",required:"","model-value":s.configuration.eid,"onUpdate:modelValue":e[0]||(e[0]=p=>r.updateConfiguration(p,"configuration.eid"))},{help:a(()=>[i(' EID für "production" ')]),_:1},8,["model-value"])])}const q=c(v,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/enphase/inverter.vue"]]);export{q as default}; diff --git a/web/settings/assets/inverter-9367beae.js b/web/settings/assets/inverter-06d54798.js similarity index 89% rename from web/settings/assets/inverter-9367beae.js rename to web/settings/assets/inverter-06d54798.js index 3a24a90ef2..cd012242ca 100644 --- a/web/settings/assets/inverter-9367beae.js +++ b/web/settings/assets/inverter-06d54798.js @@ -1 +1 @@ -import{_ as l,p as n,k as d,l as c,A as o,L as p,u as v,q as _,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceOpenwbEvukitInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-evukit-inverter"},g={class:"small"};function h(t,e,i,w,x,a){const s=n("openwb-base-heading"),r=n("openwb-base-select-input");return d(),c("div",b,[o(s,null,{default:p(()=>[v(" Einstellungen für openWB EVU-Kit Wechselrichter "),_("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),o(r,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=u=>a.updateConfiguration(u,"configuration.version"))},null,8,["model-value"])])}const B=l(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/inverter.vue"]]);export{B as default}; +import{_ as l,p as n,k as d,l as c,A as o,L as p,u as v,q as _,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceOpenwbEvukitInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-evukit-inverter"},g={class:"small"};function h(t,e,i,w,x,a){const s=n("openwb-base-heading"),r=n("openwb-base-select-input");return d(),c("div",b,[o(s,null,{default:p(()=>[v(" Einstellungen für openWB EVU-Kit Wechselrichter "),_("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),o(r,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=u=>a.updateConfiguration(u,"configuration.version"))},null,8,["model-value"])])}const B=l(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_evu_kit/inverter.vue"]]);export{B as default}; diff --git a/web/settings/assets/inverter-55c22b1f.js b/web/settings/assets/inverter-0e111b3c.js similarity index 86% rename from web/settings/assets/inverter-55c22b1f.js rename to web/settings/assets/inverter-0e111b3c.js index af5b50a3c7..86930429ff 100644 --- a/web/settings/assets/inverter-55c22b1f.js +++ b/web/settings/assets/inverter-0e111b3c.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceRCTInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-rct-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für RCT Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const C=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/inverter.vue"]]);export{C as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceRCTInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-rct-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für RCT Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const C=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/rct/inverter.vue"]]);export{C as default}; diff --git a/web/settings/assets/inverter-671a9f86.js b/web/settings/assets/inverter-15f54ae6.js similarity index 91% rename from web/settings/assets/inverter-671a9f86.js rename to web/settings/assets/inverter-15f54ae6.js index a8f6aa0dc7..d77c7d6536 100644 --- a/web/settings/assets/inverter-671a9f86.js +++ b/web/settings/assets/inverter-15f54ae6.js @@ -1 +1 @@ -import{_ as c,p as o,k as _,l as m,A as a,L as i,u as s,q as b,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceStuderInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-studer-inverter"},V={class:"small"};function S(t,e,r,T,h,u){const d=o("openwb-base-heading"),l=o("openwb-base-button-group-input"),p=o("openwb-base-number-input");return _(),m("div",v,[a(d,null,{default:i(()=>[s(" Einstellungen für Studer Wechselrichter "),b("span",V,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),a(l,{title:"Typ der MPPT Solarladeregler",buttons:[{buttonValue:"VT",text:"Variotrack (VT-40/VT-65/VT-80)"},{buttonValue:"VS",text:"VarioString (VS-70/VS-120)"}],"model-value":r.configuration.vc_type,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.vc_type"))},null,8,["buttons","model-value"]),a(p,{title:"Anzahl MPPT Solarladeregler",required:"",min:1,max:9,"model-value":r.configuration.vc_count,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.vc_count"))},{help:i(()=>[s(" Anzahl (1-9) der Studer MPPT Solarladeregler im System (VS/VT) ")]),_:1},8,["model-value"])])}const y=c(g,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/studer/inverter.vue"]]);export{y as default}; +import{_ as c,p as o,k as _,l as m,A as a,L as i,u as s,q as b,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceStuderInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-studer-inverter"},V={class:"small"};function S(t,e,r,T,h,u){const d=o("openwb-base-heading"),l=o("openwb-base-button-group-input"),p=o("openwb-base-number-input");return _(),m("div",v,[a(d,null,{default:i(()=>[s(" Einstellungen für Studer Wechselrichter "),b("span",V,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),a(l,{title:"Typ der MPPT Solarladeregler",buttons:[{buttonValue:"VT",text:"Variotrack (VT-40/VT-65/VT-80)"},{buttonValue:"VS",text:"VarioString (VS-70/VS-120)"}],"model-value":r.configuration.vc_type,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.vc_type"))},null,8,["buttons","model-value"]),a(p,{title:"Anzahl MPPT Solarladeregler",required:"",min:1,max:9,"model-value":r.configuration.vc_count,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.vc_count"))},{help:i(()=>[s(" Anzahl (1-9) der Studer MPPT Solarladeregler im System (VS/VT) ")]),_:1},8,["model-value"])])}const y=c(g,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/studer/inverter.vue"]]);export{y as default}; diff --git a/web/settings/assets/inverter-a8d99ac5.js b/web/settings/assets/inverter-194b29cc.js similarity index 94% rename from web/settings/assets/inverter-a8d99ac5.js rename to web/settings/assets/inverter-194b29cc.js index 3b6197de0b..20803170ee 100644 --- a/web/settings/assets/inverter-a8d99ac5.js +++ b/web/settings/assets/inverter-194b29cc.js @@ -1 +1 @@ -import{_ as c,p as u,k as m,l as h,A as a,L as o,u as t,q as n,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceHttpInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},f={class:"device-http-inverter"},b={class:"small"},v=n("br",null,null,-1),w=n("br",null,null,-1),z=n("br",null,null,-1);function x(i,e,s,k,L,l){const p=u("openwb-base-heading"),d=u("openwb-base-text-input");return m(),h("div",f,[a(p,null,{default:o(()=>[t(" Einstellungen für Http Wechselrichter "),n("span",b,"(Modul: "+g(i.$options.name)+")",1)]),_:1}),a(d,{title:"Pfad für Leistung",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":s.configuration.power_path,"onUpdate:modelValue":e[0]||(e[0]=r=>l.updateConfiguration(r,"configuration.power_path"))},{help:o(()=>[t(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),v,t(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. Produzierte Leistung muss ein negatives Vorzeichen haben. (In bestimmten Konstellationen, z.B. wenn ein Hybridsystem über einen zweiten Wechselrichter geladen wird, hat die Leistung ein positives Vorzeichen.) ")]),_:1},8,["model-value"]),a(d,{title:"Pfad für Zählerstand Erzeugung",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":s.configuration.exported_path,"onUpdate:modelValue":e[1]||(e[1]=r=>l.updateConfiguration(r,"configuration.exported_path"))},{help:o(()=>[t(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),w,t(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),z,t(" Wird dieses Feld leer gelassen, wird der Zählerstand intern simuliert. ")]),_:1},8,["model-value"])])}const Z=c(_,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/inverter.vue"]]);export{Z as default}; +import{_ as c,p as u,k as m,l as h,A as a,L as o,u as t,q as n,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceHttpInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},f={class:"device-http-inverter"},b={class:"small"},v=n("br",null,null,-1),w=n("br",null,null,-1),z=n("br",null,null,-1);function x(i,e,s,k,L,l){const p=u("openwb-base-heading"),d=u("openwb-base-text-input");return m(),h("div",f,[a(p,null,{default:o(()=>[t(" Einstellungen für Http Wechselrichter "),n("span",b,"(Modul: "+g(i.$options.name)+")",1)]),_:1}),a(d,{title:"Pfad für Leistung",subtype:"text",required:"",pattern:"^/[-a-zA-Z0-9@:%_\\+.~#?&/=]*","model-value":s.configuration.power_path,"onUpdate:modelValue":e[0]||(e[0]=r=>l.updateConfiguration(r,"configuration.power_path"))},{help:o(()=>[t(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),v,t(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. Produzierte Leistung muss ein negatives Vorzeichen haben. (In bestimmten Konstellationen, z.B. wenn ein Hybridsystem über einen zweiten Wechselrichter geladen wird, hat die Leistung ein positives Vorzeichen.) ")]),_:1},8,["model-value"]),a(d,{title:"Pfad für Zählerstand Erzeugung",subtype:"text",pattern:"^(/[-a-zA-Z0-9@:%_\\+.~#?&/=]*)","model-value":s.configuration.exported_path,"onUpdate:modelValue":e[1]||(e[1]=r=>l.updateConfiguration(r,"configuration.exported_path"))},{help:o(()=>[t(' Diese Angabe wird an die Server-URL angehängt und muss mit einem Schrägstrich "/" beginnen.'),w,t(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche den aktuellen absoluten Zählerstand in Wh darstellt."),z,t(" Wird dieses Feld leer gelassen, wird der Zählerstand intern simuliert. ")]),_:1},8,["model-value"])])}const Z=c(_,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/http/inverter.vue"]]);export{Z as default}; diff --git a/web/settings/assets/inverter-a5a2e330.js b/web/settings/assets/inverter-2f125a4e.js similarity index 87% rename from web/settings/assets/inverter-a5a2e330.js rename to web/settings/assets/inverter-2f125a4e.js index 6c9e16ec82..44572b0aa0 100644 --- a/web/settings/assets/inverter-a5a2e330.js +++ b/web/settings/assets/inverter-2f125a4e.js @@ -1 +1 @@ -import{_ as u,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceSmartMeInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-smart-me-inverter"},b={class:"small"};function h(t,e,a,x,w,i){const r=n("openwb-base-heading"),s=n("openwb-base-text-input");return c(),p("div",g,[o(r,null,{default:l(()=>[m(" Einstellungen für smart-me Wechselrichter "),_("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(s,{title:"Geräte-ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.id"))},null,8,["model-value"])])}const C=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smart_me/inverter.vue"]]);export{C as default}; +import{_ as u,p as n,k as c,l as p,A as o,L as l,u as m,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceSmartMeInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-smart-me-inverter"},b={class:"small"};function h(t,e,a,x,w,i){const r=n("openwb-base-heading"),s=n("openwb-base-text-input");return c(),p("div",g,[o(r,null,{default:l(()=>[m(" Einstellungen für smart-me Wechselrichter "),_("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),o(s,{title:"Geräte-ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.id"))},null,8,["model-value"])])}const C=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/smart_me/inverter.vue"]]);export{C as default}; diff --git a/web/settings/assets/inverter-b20fc7fd.js b/web/settings/assets/inverter-35ebb324.js similarity index 90% rename from web/settings/assets/inverter-b20fc7fd.js rename to web/settings/assets/inverter-35ebb324.js index 230edda723..c5ad4892d4 100644 --- a/web/settings/assets/inverter-b20fc7fd.js +++ b/web/settings/assets/inverter-35ebb324.js @@ -1 +1 @@ -import{_ as l,p as o,k as m,l as _,A as r,L as i,u as n,q as s,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceDiscovergyInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-discovergy-inverter"},b={class:"small"},h=s("a",{href:"https://api.discovergy.com/public/v1/meters",target:"_blank",rel:"noopener noreferrer"}," https://api.discovergy.com/public/v1/meters ",-1);function w(t,e,a,y,x,d){const u=o("openwb-base-heading"),c=o("openwb-base-text-input");return m(),_("div",g,[r(u,null,{default:i(()=>[n(" Einstellungen für Discovergy Wechselrichter "),s("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),r(c,{title:"Meter-ID",required:"","model-value":a.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.meter_id"))},{help:i(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),h,n(" aufrufen und dort Benutzername und Passwort eingeben. Hier wird nun u.a. die ID des Zählers angezeigt. ")]),_:1},8,["model-value"])])}const I=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/discovergy/inverter.vue"]]);export{I as default}; +import{_ as l,p as o,k as m,l as _,A as r,L as i,u as n,q as s,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceDiscovergyInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-discovergy-inverter"},b={class:"small"},h=s("a",{href:"https://api.discovergy.com/public/v1/meters",target:"_blank",rel:"noopener noreferrer"}," https://api.discovergy.com/public/v1/meters ",-1);function w(t,e,a,y,x,d){const u=o("openwb-base-heading"),c=o("openwb-base-text-input");return m(),_("div",g,[r(u,null,{default:i(()=>[n(" Einstellungen für Discovergy Wechselrichter "),s("span",b,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),r(c,{title:"Meter-ID",required:"","model-value":a.configuration.meter_id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.meter_id"))},{help:i(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),h,n(" aufrufen und dort Benutzername und Passwort eingeben. Hier wird nun u.a. die ID des Zählers angezeigt. ")]),_:1},8,["model-value"])])}const I=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/discovergy/inverter.vue"]]);export{I as default}; diff --git a/web/settings/assets/inverter-f7fba65e.js b/web/settings/assets/inverter-36587268.js similarity index 93% rename from web/settings/assets/inverter-f7fba65e.js rename to web/settings/assets/inverter-36587268.js index b7b7935132..22808d5316 100644 --- a/web/settings/assets/inverter-f7fba65e.js +++ b/web/settings/assets/inverter-36587268.js @@ -1 +1 @@ -import{_ as u,p as o,k as c,l,A as t,L as p,u as m,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSolarmaxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-solarmax-inverter"},g={class:"small"};function x(n,e,a,h,w,i){const s=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),l("div",v,[t(s,null,{default:p(()=>[m(" Einstellungen für Solarmax Wechselrichter "),_("span",g,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),t(r,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.modbus_id"))},null,8,["model-value"])])}const I=u(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solarmax/inverter.vue"]]);export{I as default}; +import{_ as u,p as o,k as c,l,A as t,L as p,u as m,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSolarmaxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},v={class:"device-solarmax-inverter"},g={class:"small"};function x(n,e,a,h,w,i){const s=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),l("div",v,[t(s,null,{default:p(()=>[m(" Einstellungen für Solarmax Wechselrichter "),_("span",g,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),t(r,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.modbus_id"))},null,8,["model-value"])])}const I=u(b,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solarmax/inverter.vue"]]);export{I as default}; diff --git a/web/settings/assets/inverter-a29c5254.js b/web/settings/assets/inverter-3868adc7.js similarity index 86% rename from web/settings/assets/inverter-a29c5254.js rename to web/settings/assets/inverter-3868adc7.js index 77c4e5abf8..053ad7794b 100644 --- a/web/settings/assets/inverter-a29c5254.js +++ b/web/settings/assets/inverter-3868adc7.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceTeslaInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-tesla-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Tesla Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceTeslaInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-tesla-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Tesla Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/tesla/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-1d0b2024.js b/web/settings/assets/inverter-3ca96fa3.js similarity index 86% rename from web/settings/assets/inverter-1d0b2024.js rename to web/settings/assets/inverter-3ca96fa3.js index 6d49378663..95c6673dd1 100644 --- a/web/settings/assets/inverter-1d0b2024.js +++ b/web/settings/assets/inverter-3ca96fa3.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as o,L as s,u as r,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSungrowInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sungrow-inverter"},m={class:"small"};function g(e,n,v,b,h,w){const a=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),p("div",f,[o(a,null,{default:s(()=>[r(" Einstellungen für Sungrow Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[r(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/inverter.vue"]]);export{k as default}; +import{_ as c,p as t,k as d,l as p,A as o,L as s,u as r,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSungrowInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sungrow-inverter"},m={class:"small"};function g(e,n,v,b,h,w){const a=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),p("div",f,[o(a,null,{default:s(()=>[r(" Einstellungen für Sungrow Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[r(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sungrow/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-7aa8f23f.js b/web/settings/assets/inverter-40b70738.js similarity index 86% rename from web/settings/assets/inverter-7aa8f23f.js rename to web/settings/assets/inverter-40b70738.js index d15f73b4ab..6b32d05259 100644 --- a/web/settings/assets/inverter-7aa8f23f.js +++ b/web/settings/assets/inverter-40b70738.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceE3dcInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für E3DC Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const E=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/inverter.vue"]]);export{E as default}; +import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceE3dcInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-e3dc-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für E3DC Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const E=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/e3dc/inverter.vue"]]);export{E as default}; diff --git a/web/settings/assets/inverter-924235c4.js b/web/settings/assets/inverter-428b0a9f.js similarity index 86% rename from web/settings/assets/inverter-924235c4.js rename to web/settings/assets/inverter-428b0a9f.js index c099be08fa..024cc9728f 100644 --- a/web/settings/assets/inverter-924235c4.js +++ b/web/settings/assets/inverter-428b0a9f.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as o,L as s,u as r,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceFroniusInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fronius-inverter"},m={class:"small"};function v(e,n,b,g,h,w){const i=t("openwb-base-heading"),a=t("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[r(" Einstellungen für Fronius Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(a,{subtype:"info"},{default:s(()=>[r(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/inverter.vue"]]);export{k as default}; +import{_ as c,p as t,k as d,l as p,A as o,L as s,u as r,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceFroniusInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fronius-inverter"},m={class:"small"};function v(e,n,b,g,h,w){const i=t("openwb-base-heading"),a=t("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[r(" Einstellungen für Fronius Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(a,{subtype:"info"},{default:s(()=>[r(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-9e3c403d.js b/web/settings/assets/inverter-435116a9.js similarity index 93% rename from web/settings/assets/inverter-9e3c403d.js rename to web/settings/assets/inverter-435116a9.js index 25ba938460..e657ec1435 100644 --- a/web/settings/assets/inverter-9e3c403d.js +++ b/web/settings/assets/inverter-435116a9.js @@ -1 +1 @@ -import{_ as c,p as l,k as m,l as _,A as i,L as r,u as t,q as u,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"DeviceJsonInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},h={class:"device-json-inverter"},w={class:"small"},b=u("br",null,null,-1);function v(n,e,s,j,x,a){const p=l("openwb-base-heading"),d=l("openwb-base-text-input");return m(),_("div",h,[i(p,null,{default:r(()=>[t(" Einstellungen für JSON Wechselrichter "),u("span",w,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),i(d,{title:"Abfrage für Leistung",subtype:"text",required:"","model-value":s.configuration.jq_power,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.jq_power"))},{help:r(()=>[t(' Zur Analyse der Werte aus dem json-Objekt wird jq benutzt. Ist die Json Antwort z.B. {"PowerInstalledPeak":4655, "PowerProduced":132, "PowerOut":897.08172362555717, "PowerSelfSupplied":234.9182763744428} So muss hier .PowerOut eingetragen werden. '),b,t(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. Produzierte Leistung muss ein negatives Vorzeichen haben. (In bestimmten Konstellationen, z.B. wenn ein Hybridsystem über einen zweiten Wechselrichter geladen wird, hat die Leistung ein positives Vorzeichen.) ")]),_:1},8,["model-value"]),i(d,{title:"Abfrage für Zählerstand",subtype:"text","model-value":s.configuration.jq_exported,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.jq_exported"))},{help:r(()=>[t(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"])])}const P=c(g,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/inverter.vue"]]);export{P as default}; +import{_ as c,p as l,k as m,l as _,A as i,L as r,u as t,q as u,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"DeviceJsonInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},h={class:"device-json-inverter"},w={class:"small"},b=u("br",null,null,-1);function v(n,e,s,j,x,a){const p=l("openwb-base-heading"),d=l("openwb-base-text-input");return m(),_("div",h,[i(p,null,{default:r(()=>[t(" Einstellungen für JSON Wechselrichter "),u("span",w,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),i(d,{title:"Abfrage für Leistung",subtype:"text",required:"","model-value":s.configuration.jq_power,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.jq_power"))},{help:r(()=>[t(' Zur Analyse der Werte aus dem json-Objekt wird jq benutzt. Ist die Json Antwort z.B. {"PowerInstalledPeak":4655, "PowerProduced":132, "PowerOut":897.08172362555717, "PowerSelfSupplied":234.9182763744428} So muss hier .PowerOut eingetragen werden. '),b,t(" Es wird vom Server eine Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen erwartet, welche die aktuelle Leistung in Watt darstellt. Produzierte Leistung muss ein negatives Vorzeichen haben. (In bestimmten Konstellationen, z.B. wenn ein Hybridsystem über einen zweiten Wechselrichter geladen wird, hat die Leistung ein positives Vorzeichen.) ")]),_:1},8,["model-value"]),i(d,{title:"Abfrage für Zählerstand",subtype:"text","model-value":s.configuration.jq_exported,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.jq_exported"))},{help:r(()=>[t(" Wird dieses Feld leer gelassen, dann werden Zählerstände intern simuliert. ")]),_:1},8,["model-value"])])}const P=c(g,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/json/inverter.vue"]]);export{P as default}; diff --git a/web/settings/assets/inverter-fc0a3e36.js b/web/settings/assets/inverter-44473336.js similarity index 86% rename from web/settings/assets/inverter-fc0a3e36.js rename to web/settings/assets/inverter-44473336.js index 4fd9fe7c2f..5d194b7892 100644 --- a/web/settings/assets/inverter-fc0a3e36.js +++ b/web/settings/assets/inverter-44473336.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSunwaysInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sunways-inverter"},m={class:"small"};function v(e,n,b,g,h,w){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Sunways Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sunways/inverter.vue"]]);export{x as default}; +import{_ as c,p as t,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSunwaysInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sunways-inverter"},m={class:"small"};function v(e,n,b,g,h,w){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Sunways Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sunways/inverter.vue"]]);export{x as default}; diff --git a/web/settings/assets/inverter-e205d080.js b/web/settings/assets/inverter-470edd2b.js similarity index 88% rename from web/settings/assets/inverter-e205d080.js rename to web/settings/assets/inverter-470edd2b.js index c160345edb..9f32bec1d4 100644 --- a/web/settings/assets/inverter-e205d080.js +++ b/web/settings/assets/inverter-470edd2b.js @@ -1 +1 @@ -import{_ as u,p as n,k as p,l as d,A as o,L as c,u as v,q as _,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceOpenwbPvkitInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-pvkit-inverter"},g={class:"small"};function h(t,e,i,w,x,a){const s=n("openwb-base-heading"),r=n("openwb-base-select-input");return p(),d("div",b,[o(s,null,{default:c(()=>[v(" Einstellungen für openWB PV-Kit Wechselrichter "),_("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),o(r,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>a.updateConfiguration(l,"configuration.version"))},null,8,["model-value"])])}const B=u(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_pv_kit/inverter.vue"]]);export{B as default}; +import{_ as u,p as n,k as p,l as d,A as o,L as c,u as v,q as _,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceOpenwbPvkitInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-openwb-pvkit-inverter"},g={class:"small"};function h(t,e,i,w,x,a){const s=n("openwb-base-heading"),r=n("openwb-base-select-input");return p(),d("div",b,[o(s,null,{default:c(()=>[v(" Einstellungen für openWB PV-Kit Wechselrichter "),_("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),o(r,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=l=>a.updateConfiguration(l,"configuration.version"))},null,8,["model-value"])])}const B=u(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_pv_kit/inverter.vue"]]);export{B as default}; diff --git a/web/settings/assets/inverter-fc9f96c9.js b/web/settings/assets/inverter-57332cbe.js similarity index 94% rename from web/settings/assets/inverter-fc9f96c9.js rename to web/settings/assets/inverter-57332cbe.js index 8c21d22e15..9a03fb3992 100644 --- a/web/settings/assets/inverter-fc9f96c9.js +++ b/web/settings/assets/inverter-57332cbe.js @@ -1 +1 @@ -import{_ as d,p as o,k as c,l,A as n,L as p,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceKostalPikoInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-kostalpiko-inverter"},g={class:"small"};function h(t,e,a,k,x,i){const s=o("openwb-base-heading"),r=o("openwb-base-button-group-input");return c(),l("div",v,[n(s,null,{default:p(()=>[_(" Einstellungen für Kostal Piko Wechselrichter "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(r,{title:"Speicher",buttons:[{buttonValue:!1,text:"nicht vorhanden"},{buttonValue:!0,text:"vorhanden"}],"model-value":a.configuration.bat_configured,"onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.bat_configured"))},null,8,["model-value"])])}const B=d(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko/inverter.vue"]]);export{B as default}; +import{_ as d,p as o,k as c,l,A as n,L as p,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceKostalPikoInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-kostalpiko-inverter"},g={class:"small"};function h(t,e,a,k,x,i){const s=o("openwb-base-heading"),r=o("openwb-base-button-group-input");return c(),l("div",v,[n(s,null,{default:p(()=>[_(" Einstellungen für Kostal Piko Wechselrichter "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(r,{title:"Speicher",buttons:[{buttonValue:!1,text:"nicht vorhanden"},{buttonValue:!0,text:"vorhanden"}],"model-value":a.configuration.bat_configured,"onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.bat_configured"))},null,8,["model-value"])])}const B=d(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko/inverter.vue"]]);export{B as default}; diff --git a/web/settings/assets/inverter-2fbd832e.js b/web/settings/assets/inverter-5f3b23c9.js similarity index 89% rename from web/settings/assets/inverter-2fbd832e.js rename to web/settings/assets/inverter-5f3b23c9.js index e42b0fd806..f70e7289cd 100644 --- a/web/settings/assets/inverter-2fbd832e.js +++ b/web/settings/assets/inverter-5f3b23c9.js @@ -1 +1 @@ -import{_ as c,p as o,k as l,l as d,A as n,L as p,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceKostalStecaInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-kostal-steca-inverter"},g={class:"small"};function h(t,e,a,k,x,s){const i=o("openwb-base-heading"),r=o("openwb-base-button-group-input");return l(),d("div",v,[n(i,null,{default:p(()=>[_(" Einstellungen für Kostal Piko MP oder Steca Grid Coolcept Wechselrichter "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(r,{title:"Variante",buttons:[{buttonValue:!1,text:"Kostal Piko MP (non-plus)"},{buttonValue:!0,text:"Kostal Piko MP oder Steca Grid Coolcept"}],"model-value":a.configuration.variant_steca,"onUpdate:modelValue":e[0]||(e[0]=u=>s.updateConfiguration(u,"configuration.variant_steca"))},null,8,["buttons","model-value"])])}const C=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_steca/inverter.vue"]]);export{C as default}; +import{_ as c,p as o,k as l,l as d,A as n,L as p,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceKostalStecaInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},v={class:"device-kostal-steca-inverter"},g={class:"small"};function h(t,e,a,k,x,s){const i=o("openwb-base-heading"),r=o("openwb-base-button-group-input");return l(),d("div",v,[n(i,null,{default:p(()=>[_(" Einstellungen für Kostal Piko MP oder Steca Grid Coolcept Wechselrichter "),f("span",g,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),n(r,{title:"Variante",buttons:[{buttonValue:!1,text:"Kostal Piko MP (non-plus)"},{buttonValue:!0,text:"Kostal Piko MP oder Steca Grid Coolcept"}],"model-value":a.configuration.variant_steca,"onUpdate:modelValue":e[0]||(e[0]=u=>s.updateConfiguration(u,"configuration.variant_steca"))},null,8,["buttons","model-value"])])}const C=c(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_steca/inverter.vue"]]);export{C as default}; diff --git a/web/settings/assets/inverter-ea2ec358.js b/web/settings/assets/inverter-6b69d4e5.js similarity index 88% rename from web/settings/assets/inverter-ea2ec358.js rename to web/settings/assets/inverter-6b69d4e5.js index e7a9876ccb..af657dec3d 100644 --- a/web/settings/assets/inverter-ea2ec358.js +++ b/web/settings/assets/inverter-6b69d4e5.js @@ -1 +1 @@ -import{_ as l,p as n,k as c,l as d,A as o,L as p,u as _,q as f,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceYoulessInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-youless-inverter"},v={class:"small"};function h(t,e,s,x,w,a){const u=n("openwb-base-heading"),i=n("openwb-base-button-group-input");return c(),d("div",g,[o(u,null,{default:p(()=>[_(" Einstellungen für Youless LS120 Wechselrichter "),f("span",v,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),o(i,{title:"S0-Eingang auslesen",buttons:[{buttonValue:!1,text:"nein"},{buttonValue:!0,text:"ja"}],"model-value":s.configuration.source_s0,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.source_s0"))},null,8,["model-value"])])}const B=l(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/youless/inverter.vue"]]);export{B as default}; +import{_ as l,p as n,k as c,l as d,A as o,L as p,u as _,q as f,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceYoulessInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-youless-inverter"},v={class:"small"};function h(t,e,s,x,w,a){const u=n("openwb-base-heading"),i=n("openwb-base-button-group-input");return c(),d("div",g,[o(u,null,{default:p(()=>[_(" Einstellungen für Youless LS120 Wechselrichter "),f("span",v,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),o(i,{title:"S0-Eingang auslesen",buttons:[{buttonValue:!1,text:"nein"},{buttonValue:!0,text:"ja"}],"model-value":s.configuration.source_s0,"onUpdate:modelValue":e[0]||(e[0]=r=>a.updateConfiguration(r,"configuration.source_s0"))},null,8,["model-value"])])}const B=l(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/youless/inverter.vue"]]);export{B as default}; diff --git a/web/settings/assets/inverter-31ec26c2.js b/web/settings/assets/inverter-728d3909.js similarity index 86% rename from web/settings/assets/inverter-31ec26c2.js rename to web/settings/assets/inverter-728d3909.js index 0885e5444f..6674123b01 100644 --- a/web/settings/assets/inverter-31ec26c2.js +++ b/web/settings/assets/inverter-728d3909.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolaxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solax-inverter"},m={class:"small"};function v(e,t,b,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Solax Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolaxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solax-inverter"},m={class:"small"};function v(e,t,b,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Solax Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solax/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-b75fb059.js b/web/settings/assets/inverter-72fe55cd.js similarity index 93% rename from web/settings/assets/inverter-b75fb059.js rename to web/settings/assets/inverter-72fe55cd.js index 1e78072490..42d534a89d 100644 --- a/web/settings/assets/inverter-b75fb059.js +++ b/web/settings/assets/inverter-72fe55cd.js @@ -1 +1 @@ -import{_ as u,p as o,k as c,l,A as t,L as p,u as m,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSolarEdgeInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-solaredge-inverter"},v={class:"small"};function h(n,e,a,w,x,i){const s=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),l("div",g,[t(s,null,{default:p(()=>[m(" Einstellungen für SolarEdge Wechselrichter "),_("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),t(r,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.modbus_id"))},null,8,["model-value"])])}const E=u(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/inverter.vue"]]);export{E as default}; +import{_ as u,p as o,k as c,l,A as t,L as p,u as m,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSolarEdgeInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-solaredge-inverter"},v={class:"small"};function h(n,e,a,w,x,i){const s=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),l("div",g,[t(s,null,{default:p(()=>[m(" Einstellungen für SolarEdge Wechselrichter "),_("span",v,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),t(r,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=d=>i.updateConfiguration(d,"configuration.modbus_id"))},null,8,["model-value"])])}const E=u(b,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solaredge/inverter.vue"]]);export{E as default}; diff --git a/web/settings/assets/inverter-1dabc9f6.js b/web/settings/assets/inverter-754a3092.js similarity index 90% rename from web/settings/assets/inverter-1dabc9f6.js rename to web/settings/assets/inverter-754a3092.js index f85501adc4..7f42d937ed 100644 --- a/web/settings/assets/inverter-1dabc9f6.js +++ b/web/settings/assets/inverter-754a3092.js @@ -1 +1 @@ -import{_ as d,p as o,k as p,l as c,A as i,L as m,u as _,q as f,x as v}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceOpenwbFlexInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-openwb-flex-inverter"},x={class:"small"};function w(t,e,a,M,h,s){const u=o("openwb-base-heading"),l=o("openwb-base-select-input"),r=o("openwb-base-number-input");return p(),c("div",g,[i(u,null,{default:m(()=>[_(" Einstellungen für openWB-Flex Wechselrichter "),f("span",x,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),i(l,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"},{value:3,text:"SDM120"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.version"))},null,8,["model-value"]),i(r,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":a.configuration.id,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.id"))},null,8,["model-value"])])}const C=d(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/inverter.vue"]]);export{C as default}; +import{_ as d,p as o,k as p,l as c,A as i,L as m,u as _,q as f,x as v}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceOpenwbFlexInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-openwb-flex-inverter"},x={class:"small"};function w(t,e,a,M,h,s){const u=o("openwb-base-heading"),l=o("openwb-base-select-input"),r=o("openwb-base-number-input");return p(),c("div",g,[i(u,null,{default:m(()=>[_(" Einstellungen für openWB-Flex Wechselrichter "),f("span",x,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),i(l,{title:"Zählermodell",notSelected:"Bitte auswählen",options:[{value:0,text:"MPM3PM"},{value:1,text:"Lovato"},{value:2,text:"SDM630/SDM72D-M"},{value:3,text:"SDM120"}],"model-value":a.configuration.version,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.version"))},null,8,["model-value"]),i(r,{title:"Modbus-ID",required:"",min:1,max:255,"model-value":a.configuration.id,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.id"))},null,8,["model-value"])])}const C=d(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/openwb_flex/inverter.vue"]]);export{C as default}; diff --git a/web/settings/assets/inverter-2a5521a6.js b/web/settings/assets/inverter-7bb041c4.js similarity index 86% rename from web/settings/assets/inverter-2a5521a6.js rename to web/settings/assets/inverter-7bb041c4.js index 54db3adc5a..cd94c85f73 100644 --- a/web/settings/assets/inverter-2a5521a6.js +++ b/web/settings/assets/inverter-7bb041c4.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as o,L as s,u as i,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSiemensInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-siemens-inverter"},f={class:"small"};function v(e,n,b,g,h,w){const a=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",m,[o(a,null,{default:s(()=>[i(" Einstellungen für Siemens Wechselrichter "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[i(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/inverter.vue"]]);export{k as default}; +import{_ as c,p as t,k as d,l as p,A as o,L as s,u as i,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSiemensInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"device-siemens-inverter"},f={class:"small"};function v(e,n,b,g,h,w){const a=t("openwb-base-heading"),r=t("openwb-base-alert");return d(),p("div",m,[o(a,null,{default:s(()=>[i(" Einstellungen für Siemens Wechselrichter "),u("span",f,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[i(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/siemens/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-d99b4281.js b/web/settings/assets/inverter-83515b70.js similarity index 86% rename from web/settings/assets/inverter-d99b4281.js rename to web/settings/assets/inverter-83515b70.js index ebffa2fac8..5f2f3b75f3 100644 --- a/web/settings/assets/inverter-d99b4281.js +++ b/web/settings/assets/inverter-83515b70.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceHuaweiInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-huawei-inverter"},m={class:"small"};function v(e,t,b,h,g,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Huawei Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceHuaweiInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-huawei-inverter"},m={class:"small"};function v(e,t,b,h,g,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Huawei Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-ecf1b8d9.js b/web/settings/assets/inverter-85b386cd.js similarity index 86% rename from web/settings/assets/inverter-ecf1b8d9.js rename to web/settings/assets/inverter-85b386cd.js index fbe35a6905..14c0534ac6 100644 --- a/web/settings/assets/inverter-ecf1b8d9.js +++ b/web/settings/assets/inverter-85b386cd.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarwattInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solarwatt-inverter"},m={class:"small"};function v(e,t,b,g,h,w){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Solarwatt/My Reserve Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarwattInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solarwatt-inverter"},m={class:"small"};function v(e,t,b,g,h,w){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Solarwatt/My Reserve Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_watt/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-34e20969.js b/web/settings/assets/inverter-86dc2333.js similarity index 92% rename from web/settings/assets/inverter-34e20969.js rename to web/settings/assets/inverter-86dc2333.js index d44f290440..f02de674fe 100644 --- a/web/settings/assets/inverter-34e20969.js +++ b/web/settings/assets/inverter-86dc2333.js @@ -1 +1 @@ -import{_ as l,p as i,k as f,l as _,A as r,L as s,u as n,q as o,x as m}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DevicePowerfoxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-powerfox-inverter"},b={class:"small"},v=o("a",{href:"https://backend.powerfox.energy/api/2.0/my/all/devices",target:"_blank",rel:"noopener noreferrer"}," https://backend.powerfox.energy/api/2.0/my/all/devices ",-1),w=o("span",{class:"font-weight-bold text-monospace",style:{display:"contents"}},' "DeviceID" ',-1);function x(t,e,a,D,k,d){const u=i("openwb-base-heading"),c=i("openwb-base-text-input");return f(),_("div",g,[r(u,null,{default:s(()=>[n(" Einstellungen für Powerfox Wechselrichter "),o("span",b,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),r(c,{title:"ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.id"))},{help:s(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),v,n(" aufrufen und dort Benutzername und Passwort eingeben. Die DeviceID ist exakt so einzutragen, wie in der Antwort des Servers. Das bedeutet insbesondere auch, die Groß-/Kleinschreibung ist zu beachten! In dem Feld ist nur die Zeichenfolge direkt hinter "),w,n(" ohne den Doppelpunkt und Anführungszeichen einzutragen. ")]),_:1},8,["model-value"])])}const z=l(h,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerfox/inverter.vue"]]);export{z as default}; +import{_ as l,p as i,k as f,l as _,A as r,L as s,u as n,q as o,x as m}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DevicePowerfoxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-powerfox-inverter"},b={class:"small"},v=o("a",{href:"https://backend.powerfox.energy/api/2.0/my/all/devices",target:"_blank",rel:"noopener noreferrer"}," https://backend.powerfox.energy/api/2.0/my/all/devices ",-1),w=o("span",{class:"font-weight-bold text-monospace",style:{display:"contents"}},' "DeviceID" ',-1);function x(t,e,a,D,k,d){const u=i("openwb-base-heading"),c=i("openwb-base-text-input");return f(),_("div",g,[r(u,null,{default:s(()=>[n(" Einstellungen für Powerfox Wechselrichter "),o("span",b,"(Modul: "+m(t.$options.name)+")",1)]),_:1}),r(c,{title:"ID",required:"","model-value":a.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=p=>d.updateConfiguration(p,"configuration.id"))},{help:s(()=>[n(" Um die ID herauszufinden mit dem Browser die Adresse "),v,n(" aufrufen und dort Benutzername und Passwort eingeben. Die DeviceID ist exakt so einzutragen, wie in der Antwort des Servers. Das bedeutet insbesondere auch, die Groß-/Kleinschreibung ist zu beachten! In dem Feld ist nur die Zeichenfolge direkt hinter "),w,n(" ohne den Doppelpunkt und Anführungszeichen einzutragen. ")]),_:1},8,["model-value"])])}const z=l(h,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerfox/inverter.vue"]]);export{z as default}; diff --git a/web/settings/assets/inverter-57d74e21.js b/web/settings/assets/inverter-88c78901.js similarity index 86% rename from web/settings/assets/inverter-57d74e21.js rename to web/settings/assets/inverter-88c78901.js index 68db42cc6c..215441c98a 100644 --- a/web/settings/assets/inverter-57d74e21.js +++ b/web/settings/assets/inverter-88c78901.js @@ -1 +1 @@ -import{_ as p,p as n,k as c,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceAlphaessInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-alphaess-inverter"},m={class:"small"};function h(e,t,b,v,g,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Alpha ESS Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=p(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/inverter.vue"]]);export{k as default}; +import{_ as p,p as n,k as c,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceAlphaessInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-alphaess-inverter"},m={class:"small"};function h(e,t,b,v,g,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return c(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Alpha ESS Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=p(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/alpha_ess/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-750ec2c4.js b/web/settings/assets/inverter-a48a8609.js similarity index 86% rename from web/settings/assets/inverter-750ec2c4.js rename to web/settings/assets/inverter-a48a8609.js index 50225311ca..898e814c66 100644 --- a/web/settings/assets/inverter-750ec2c4.js +++ b/web/settings/assets/inverter-a48a8609.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceLGInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-lg-inverter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für LG ESS V1.0 Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceLGInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-lg-inverter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für LG ESS V1.0 Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/lg/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-28f71cf8.js b/web/settings/assets/inverter-a67b659f.js similarity index 90% rename from web/settings/assets/inverter-28f71cf8.js rename to web/settings/assets/inverter-a67b659f.js index cbd1e97818..419e0560df 100644 --- a/web/settings/assets/inverter-28f71cf8.js +++ b/web/settings/assets/inverter-a67b659f.js @@ -1 +1 @@ -import{_ as l,p as o,k as p,l as c,A as i,L as m,u as _,q as b,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceVictronInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-victron-inverter"},V={class:"small"};function w(t,e,a,x,h,u){const r=o("openwb-base-heading"),s=o("openwb-base-number-input"),d=o("openwb-base-button-group-input");return p(),c("div",g,[i(r,null,{default:m(()=>[_(" Einstellungen für Victron Wechselrichter "),b("span",V,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),i(s,{title:"Modbus-ID",min:1,max:255,required:"","model-value":a.configuration.modbus_id,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"]),i(d,{title:"MPPT",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":a.configuration.mppt,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.mppt"))},null,8,["model-value"])])}const B=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/inverter.vue"]]);export{B as default}; +import{_ as l,p as o,k as p,l as c,A as i,L as m,u as _,q as b,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceVictronInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-victron-inverter"},V={class:"small"};function w(t,e,a,x,h,u){const r=o("openwb-base-heading"),s=o("openwb-base-number-input"),d=o("openwb-base-button-group-input");return p(),c("div",g,[i(r,null,{default:m(()=>[_(" Einstellungen für Victron Wechselrichter "),b("span",V,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),i(s,{title:"Modbus-ID",min:1,max:255,required:"","model-value":a.configuration.modbus_id,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.modbus_id"))},null,8,["model-value"]),i(d,{title:"MPPT",buttons:[{buttonValue:!1,text:"Nein"},{buttonValue:!0,text:"Ja"}],"model-value":a.configuration.mppt,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.mppt"))},null,8,["model-value"])])}const B=l(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/victron/inverter.vue"]]);export{B as default}; diff --git a/web/settings/assets/inverter-e86aac6e.js b/web/settings/assets/inverter-a6c75e02.js similarity index 86% rename from web/settings/assets/inverter-e86aac6e.js rename to web/settings/assets/inverter-a6c75e02.js index 5895dc94b9..ff9f573d17 100644 --- a/web/settings/assets/inverter-e86aac6e.js +++ b/web/settings/assets/inverter-a6c75e02.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceGoodWeInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-goodwe-inverter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für GoodWe Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceGoodWeInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-goodwe-inverter"},m={class:"small"};function b(e,t,g,v,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return d(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für GoodWe Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/good_we/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-38414f53.js b/web/settings/assets/inverter-a6eee1c4.js similarity index 86% rename from web/settings/assets/inverter-38414f53.js rename to web/settings/assets/inverter-a6eee1c4.js index 08b6a5b4d2..91107104f1 100644 --- a/web/settings/assets/inverter-38414f53.js +++ b/web/settings/assets/inverter-a6eee1c4.js @@ -1 +1 @@ -import{_ as c,p as t,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceFemsInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fems-inverter"},m={class:"small"};function b(e,n,v,g,h,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const E=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/inverter.vue"]]);export{E as default}; +import{_ as c,p as t,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceFemsInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-fems-inverter"},m={class:"small"};function b(e,n,v,g,h,w){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return p(),d("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für openEMS, Fenecon FEMS, Kaco Hy-Control Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const E=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fems/inverter.vue"]]);export{E as default}; diff --git a/web/settings/assets/inverter-50bdbc08.js b/web/settings/assets/inverter-aa9c1db9.js similarity index 90% rename from web/settings/assets/inverter-50bdbc08.js rename to web/settings/assets/inverter-aa9c1db9.js index 506aa5d1b0..6a2a95b6ae 100644 --- a/web/settings/assets/inverter-50bdbc08.js +++ b/web/settings/assets/inverter-aa9c1db9.js @@ -1 +1 @@ -import{_ as p,p as t,k as m,l as _,A as o,L as s,u as i,q as f,x as h}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const b={name:"DeviceSmahmInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-smahm-inverter"},v={class:"small"};function w(n,e,r,M,x,a){const u=t("openwb-base-heading"),d=t("openwb-base-alert"),c=t("openwb-base-number-input");return m(),_("div",g,[o(u,null,{default:s(()=>[i(" Einstellungen für SMA-HM/EM Wechselrichter "),f("span",v,"(Modul: "+h(n.$options.name)+")",1)]),_:1}),o(d,{subtype:"info"},{default:s(()=>[i(' Dies ist nur die richtige Komponente, wenn ein extra EnergyMeter ausschließlich für die PV-Messung vorhanden ist. Wenn nur ein HomeManager vorhanden ist, muss ein Gerät "SMA Sunny Boy" mit der entsprechenden Wechselrichter-Komponente angelegt werden. ')]),_:1}),o(c,{title:"Seriennummer",required:"","model-value":r.configuration.serials,"onUpdate:modelValue":e[0]||(e[0]=l=>a.updateConfiguration(l,"configuration.serials"))},null,8,["model-value"])])}const B=p(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_shm/inverter.vue"]]);export{B as default}; +import{_ as p,p as t,k as m,l as _,A as o,L as s,u as i,q as f,x as h}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"DeviceSmahmInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},g={class:"device-smahm-inverter"},v={class:"small"};function w(n,e,r,M,x,a){const u=t("openwb-base-heading"),d=t("openwb-base-alert"),c=t("openwb-base-number-input");return m(),_("div",g,[o(u,null,{default:s(()=>[i(" Einstellungen für SMA-HM/EM Wechselrichter "),f("span",v,"(Modul: "+h(n.$options.name)+")",1)]),_:1}),o(d,{subtype:"info"},{default:s(()=>[i(' Dies ist nur die richtige Komponente, wenn ein extra EnergyMeter ausschließlich für die PV-Messung vorhanden ist. Wenn nur ein HomeManager vorhanden ist, muss ein Gerät "SMA Sunny Boy" mit der entsprechenden Wechselrichter-Komponente angelegt werden. ')]),_:1}),o(c,{title:"Seriennummer",required:"","model-value":r.configuration.serials,"onUpdate:modelValue":e[0]||(e[0]=l=>a.updateConfiguration(l,"configuration.serials"))},null,8,["model-value"])])}const B=p(b,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_shm/inverter.vue"]]);export{B as default}; diff --git a/web/settings/assets/inverter-17dc63ec.js b/web/settings/assets/inverter-b2a0bb08.js similarity index 95% rename from web/settings/assets/inverter-17dc63ec.js rename to web/settings/assets/inverter-b2a0bb08.js index 1757af6a7f..36f32c7895 100644 --- a/web/settings/assets/inverter-17dc63ec.js +++ b/web/settings/assets/inverter-b2a0bb08.js @@ -1 +1 @@ -import{_ as c,p as r,k as g,l as _,A as n,L as s,u,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceVZLoggerInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-vzlogger-inverter"},h={class:"small"};function w(t,e,i,x,V,a){const d=r("openwb-base-heading"),p=r("openwb-base-alert"),l=r("openwb-base-number-input");return g(),_("div",b,[n(d,null,{default:s(()=>[u(" Einstellungen für VZLogger Wechselrichter "),m("span",h,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:s(()=>[u(' Bitte auf der Shell ausführen: "curl -s IPdesVZLogger:Port | jq .|cat -n" Zählen, in welcher Zeile der gesuchte Wert steht. Bei der ersten Zeile mit 1 anfangen zu zählen. ')]),_:1}),n(l,{title:"Zeile der Leistung",required:"",min:0,"model-value":i.configuration.line_power,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.line_power"))},null,8,["model-value"]),n(l,{title:"Zeile der exportierten Energie (Ertrag)",min:0,"model-value":i.configuration.line_exported,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.line_exported"))},null,8,["model-value"])])}const q=c(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/vzlogger/inverter.vue"]]);export{q as default}; +import{_ as c,p as r,k as g,l as _,A as n,L as s,u,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceVZLoggerInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-vzlogger-inverter"},h={class:"small"};function w(t,e,i,x,V,a){const d=r("openwb-base-heading"),p=r("openwb-base-alert"),l=r("openwb-base-number-input");return g(),_("div",b,[n(d,null,{default:s(()=>[u(" Einstellungen für VZLogger Wechselrichter "),m("span",h,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:s(()=>[u(' Bitte auf der Shell ausführen: "curl -s IPdesVZLogger:Port | jq .|cat -n" Zählen, in welcher Zeile der gesuchte Wert steht. Bei der ersten Zeile mit 1 anfangen zu zählen. ')]),_:1}),n(l,{title:"Zeile der Leistung",required:"",min:0,"model-value":i.configuration.line_power,"onUpdate:modelValue":e[0]||(e[0]=o=>a.updateConfiguration(o,"configuration.line_power"))},null,8,["model-value"]),n(l,{title:"Zeile der exportierten Energie (Ertrag)",min:0,"model-value":i.configuration.line_exported,"onUpdate:modelValue":e[1]||(e[1]=o=>a.updateConfiguration(o,"configuration.line_exported"))},null,8,["model-value"])])}const q=c(v,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/vzlogger/inverter.vue"]]);export{q as default}; diff --git a/web/settings/assets/inverter-862069a2.js b/web/settings/assets/inverter-b6569e80.js similarity index 86% rename from web/settings/assets/inverter-862069a2.js rename to web/settings/assets/inverter-b6569e80.js index cbb884469d..a8639a500c 100644 --- a/web/settings/assets/inverter-862069a2.js +++ b/web/settings/assets/inverter-b6569e80.js @@ -1 +1 @@ -import{_ as c,p as n,k as l,l as p,A as o,L as s,u as a,q as d,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceQCelllsInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-qcells-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für QCells ESS Wechselrichter "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/inverter.vue"]]);export{x as default}; +import{_ as c,p as n,k as l,l as p,A as o,L as s,u as a,q as d,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceQCelllsInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-qcells-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für QCells ESS Wechselrichter "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/qcells/inverter.vue"]]);export{x as default}; diff --git a/web/settings/assets/inverter-fb891fc8.js b/web/settings/assets/inverter-b722ec59.js similarity index 86% rename from web/settings/assets/inverter-fb891fc8.js rename to web/settings/assets/inverter-b722ec59.js index 7f47a60714..bea4502147 100644 --- a/web/settings/assets/inverter-fb891fc8.js +++ b/web/settings/assets/inverter-b722ec59.js @@ -1 +1 @@ -import{_ as c,p as o,k as d,l as p,A as n,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceKostalPikoOldInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-kostal-piko-old-inverter"},m={class:"small"};function b(e,t,v,g,h,k){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return d(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für Kostal Piko Wechselrichter (alte Generation) "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko_old/inverter.vue"]]);export{x as default}; +import{_ as c,p as o,k as d,l as p,A as n,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceKostalPikoOldInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-kostal-piko-old-inverter"},m={class:"small"};function b(e,t,v,g,h,k){const i=o("openwb-base-heading"),r=o("openwb-base-alert");return d(),p("div",f,[n(i,null,{default:s(()=>[a(" Einstellungen für Kostal Piko Wechselrichter (alte Generation) "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),n(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_piko_old/inverter.vue"]]);export{x as default}; diff --git a/web/settings/assets/inverter-709b5461.js b/web/settings/assets/inverter-b740b644.js similarity index 86% rename from web/settings/assets/inverter-709b5461.js rename to web/settings/assets/inverter-b740b644.js index 588676f25a..351cd369a2 100644 --- a/web/settings/assets/inverter-709b5461.js +++ b/web/settings/assets/inverter-b740b644.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSmaWebboxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-sma-webbox-inverter"},m={class:"small"};function f(e,t,v,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),p("div",b,[o(r,null,{default:s(()=>[a(" Einstellungen für SMA Webbox Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_webbox/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSmaWebboxInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},b={class:"device-sma-webbox-inverter"},m={class:"small"};function f(e,t,v,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),p("div",b,[o(r,null,{default:s(()=>[a(" Einstellungen für SMA Webbox Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_webbox/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-2a1b6d03.js b/web/settings/assets/inverter-b7509892.js similarity index 93% rename from web/settings/assets/inverter-2a1b6d03.js rename to web/settings/assets/inverter-b7509892.js index 7b093ec79d..18e32235d9 100644 --- a/web/settings/assets/inverter-2a1b6d03.js +++ b/web/settings/assets/inverter-b7509892.js @@ -1 +1 @@ -import{_ as c,p as n,k as d,l,A as o,L as s,u as r,q as p,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarWorldInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solar_world-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const a=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),l("div",f,[o(a,null,{default:s(()=>[r(" Einstellungen für SolarWorld Wechselrichter "),p("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[r(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_world/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as d,l,A as o,L as s,u as r,q as p,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarWorldInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solar_world-inverter"},m={class:"small"};function b(e,t,v,g,h,w){const a=n("openwb-base-heading"),i=n("openwb-base-alert");return d(),l("div",f,[o(a,null,{default:s(()=>[r(" Einstellungen für SolarWorld Wechselrichter "),p("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[r(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_world/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-0642e048.js b/web/settings/assets/inverter-bb2f1ca7.js similarity index 86% rename from web/settings/assets/inverter-0642e048.js rename to web/settings/assets/inverter-bb2f1ca7.js index cdbc89fef9..69d0f9caa8 100644 --- a/web/settings/assets/inverter-0642e048.js +++ b/web/settings/assets/inverter-bb2f1ca7.js @@ -1 +1 @@ -import{_ as c,p as n,k as l,l as p,A as o,L as s,u as a,q as d,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceShellyInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-shelly-inverter"},m={class:"small"};function h(e,t,b,v,g,y){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Shelly Wechselrichter "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/shelly/inverter.vue"]]);export{x as default}; +import{_ as c,p as n,k as l,l as p,A as o,L as s,u as a,q as d,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceShellyInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-shelly-inverter"},m={class:"small"};function h(e,t,b,v,g,y){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return l(),p("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Shelly Wechselrichter "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/shelly/inverter.vue"]]);export{x as default}; diff --git a/web/settings/assets/inverter-41b1ba64.js b/web/settings/assets/inverter-bbfebff1.js similarity index 86% rename from web/settings/assets/inverter-41b1ba64.js rename to web/settings/assets/inverter-bbfebff1.js index d3c4a842af..876b021dd6 100644 --- a/web/settings/assets/inverter-41b1ba64.js +++ b/web/settings/assets/inverter-bbfebff1.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSolarLogInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solar_log-inverter"},m={class:"small"};function g(e,t,b,v,h,w){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Solar-Log Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_log/inverter.vue"]]);export{k as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as l,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSolarLogInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-solar_log-inverter"},m={class:"small"};function g(e,t,b,v,h,w){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für Solar-Log Wechselrichter "),l("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const k=c(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_log/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-ff165115.js b/web/settings/assets/inverter-bf796872.js similarity index 93% rename from web/settings/assets/inverter-ff165115.js rename to web/settings/assets/inverter-bf796872.js index 8620b64dde..6c4db3bfb4 100644 --- a/web/settings/assets/inverter-ff165115.js +++ b/web/settings/assets/inverter-bf796872.js @@ -1 +1 @@ -import{_ as u,p as s,k as _,l as m,A as t,L as o,u as n,q as e,x as a}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"DeviceMqttInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(i,l=void 0){this.$emit("update:configuration",{value:i,object:l})}}},b={class:"device-mqtt-inverter"},f={class:"small"},g=e("br",null,null,-1),v=e("span",{class:"text-info"},"-123",-1),w=e("br",null,null,-1),x=e("br",null,null,-1),z=e("span",{class:"text-info"},"123.45",-1);function k(i,l,r,B,I,y){const p=s("openwb-base-heading"),c=s("openwb-base-copy-to-clipboard"),d=s("openwb-base-alert");return _(),m("div",b,[t(p,null,{default:o(()=>[n(" Einstellungen für MQTT Wechselrichter "),e("span",f,"(Modul: "+a(i.$options.name)+")",1)]),_:1}),t(d,{subtype:"info"},{default:o(()=>[e("ul",null,[e("li",null,[t(c,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[n("openWB/set/pv/"+a(r.componentId)+"/get/power",1)]),_:1}),g,n(" PV-Leistung in Watt als Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen. Produzierte Leistung muss ein negatives Vorzeichen haben. (In bestimmten Konstellationen, z.B. wenn ein Hybridsystem über einen zweiten Wechselrichter geladen wird, hat die Leistung ein positives Vorzeichen.) Beispiel: "),v]),e("li",null,[t(c,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[n("openWB/set/pv/"+a(r.componentId)+"/get/exported",1)]),_:1}),w,n(" Erzeugte Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),x,n(" Beispiel: "),z])])]),_:1})])}const V=u(h,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/inverter.vue"]]);export{V as default}; +import{_ as u,p as s,k as _,l as m,A as t,L as o,u as n,q as e,x as a}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const h={name:"DeviceMqttInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(i,l=void 0){this.$emit("update:configuration",{value:i,object:l})}}},b={class:"device-mqtt-inverter"},f={class:"small"},g=e("br",null,null,-1),v=e("span",{class:"text-info"},"-123",-1),w=e("br",null,null,-1),x=e("br",null,null,-1),z=e("span",{class:"text-info"},"123.45",-1);function k(i,l,r,B,I,y){const p=s("openwb-base-heading"),c=s("openwb-base-copy-to-clipboard"),d=s("openwb-base-alert");return _(),m("div",b,[t(p,null,{default:o(()=>[n(" Einstellungen für MQTT Wechselrichter "),e("span",f,"(Modul: "+a(i.$options.name)+")",1)]),_:1}),t(d,{subtype:"info"},{default:o(()=>[e("ul",null,[e("li",null,[t(c,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[n("openWB/set/pv/"+a(r.componentId)+"/get/power",1)]),_:1}),g,n(" PV-Leistung in Watt als Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen. Produzierte Leistung muss ein negatives Vorzeichen haben. (In bestimmten Konstellationen, z.B. wenn ein Hybridsystem über einen zweiten Wechselrichter geladen wird, hat die Leistung ein positives Vorzeichen.) Beispiel: "),v]),e("li",null,[t(c,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[n("openWB/set/pv/"+a(r.componentId)+"/get/exported",1)]),_:1}),w,n(" Erzeugte Energie in Wh, Zahl mit oder ohne Nachkommastellen (Float, Integer) und einem Punkt als Dezimaltrennzeichen, nur positiv"),x,n(" Beispiel: "),z])])]),_:1})])}const V=u(h,[["render",k],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/mqtt/inverter.vue"]]);export{V as default}; diff --git a/web/settings/assets/inverter-00e50e89.js b/web/settings/assets/inverter-c35330cd.js similarity index 89% rename from web/settings/assets/inverter-00e50e89.js rename to web/settings/assets/inverter-c35330cd.js index 7139710757..cf71f6157e 100644 --- a/web/settings/assets/inverter-00e50e89.js +++ b/web/settings/assets/inverter-c35330cd.js @@ -1 +1 @@ -import{_ as u,p as o,k as p,l as m,A as n,L as a,u as i,q as _,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceSolarViewInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-solar-view-inverter"},h={class:"small"};function b(t,e,r,w,x,s){const d=o("openwb-base-heading"),c=o("openwb-base-text-input");return p(),m("div",g,[n(d,null,{default:a(()=>[i(" Einstellungen für SolarView Wechselrichter "),_("span",h,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(c,{title:"Kommando für die Abfrage",required:"","model-value":r.configuration.command,"onUpdate:modelValue":e[0]||(e[0]=l=>s.updateConfiguration(l,"configuration.command"))},{help:a(()=>[i(" Kommandos gemäß SolarView-Dokumentation, z.B.: 00* (gesamte Anlage), 01* (Wechselrichter 1), 02* (Wechselrichter 2) ")]),_:1},8,["model-value"])])}const k=u(v,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_view/inverter.vue"]]);export{k as default}; +import{_ as u,p as o,k as p,l as m,A as n,L as a,u as i,q as _,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceSolarViewInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-solar-view-inverter"},h={class:"small"};function b(t,e,r,w,x,s){const d=o("openwb-base-heading"),c=o("openwb-base-text-input");return p(),m("div",g,[n(d,null,{default:a(()=>[i(" Einstellungen für SolarView Wechselrichter "),_("span",h,"(Modul: "+f(t.$options.name)+")",1)]),_:1}),n(c,{title:"Kommando für die Abfrage",required:"","model-value":r.configuration.command,"onUpdate:modelValue":e[0]||(e[0]=l=>s.updateConfiguration(l,"configuration.command"))},{help:a(()=>[i(" Kommandos gemäß SolarView-Dokumentation, z.B.: 00* (gesamte Anlage), 01* (Wechselrichter 1), 02* (Wechselrichter 2) ")]),_:1},8,["model-value"])])}const k=u(v,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/solar_view/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-e755842c.js b/web/settings/assets/inverter-c3978c72.js similarity index 86% rename from web/settings/assets/inverter-e755842c.js rename to web/settings/assets/inverter-c3978c72.js index cddc154ef1..958b08cef8 100644 --- a/web/settings/assets/inverter-e755842c.js +++ b/web/settings/assets/inverter-c3978c72.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceBatterXInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-batterx-inverter"},m={class:"small"};function b(e,t,v,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für BatterX Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/inverter.vue"]]);export{$ as default}; +import{_ as c,p as n,k as p,l as d,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceBatterXInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-batterx-inverter"},m={class:"small"};function b(e,t,v,g,h,x){const r=n("openwb-base-heading"),i=n("openwb-base-alert");return p(),d("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für BatterX Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const $=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/batterx/inverter.vue"]]);export{$ as default}; diff --git a/web/settings/assets/inverter-87c0d6af.js b/web/settings/assets/inverter-e7243037.js similarity index 93% rename from web/settings/assets/inverter-87c0d6af.js rename to web/settings/assets/inverter-e7243037.js index c0c9e60c4d..ee8735550c 100644 --- a/web/settings/assets/inverter-87c0d6af.js +++ b/web/settings/assets/inverter-e7243037.js @@ -1 +1 @@ -import{_ as c,p as n,k as p,l,A as o,L as s,u as a,q as d,x as u}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceKostalPlenticoreInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-kostalplenticore-inverter"},m={class:"small"};function b(e,t,v,g,h,k){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),l("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Kostal Plenticore Wechselrichter "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/inverter.vue"]]);export{x as default}; +import{_ as c,p as n,k as p,l,A as o,L as s,u as a,q as d,x as u}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceKostalPlenticoreInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,t=void 0){this.$emit("update:configuration",{value:e,object:t})}}},f={class:"device-kostalplenticore-inverter"},m={class:"small"};function b(e,t,v,g,h,k){const i=n("openwb-base-heading"),r=n("openwb-base-alert");return p(),l("div",f,[o(i,null,{default:s(()=>[a(" Einstellungen für Kostal Plenticore Wechselrichter "),d("span",m,"(Modul: "+u(e.$options.name)+")",1)]),_:1}),o(r,{subtype:"info"},{default:s(()=>[a(" Diese Komponente benötigt keine Einstellungen. ")]),_:1})])}const x=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/kostal_plenticore/inverter.vue"]]);export{x as default}; diff --git a/web/settings/assets/inverter-c88f74b8.js b/web/settings/assets/inverter-ebcbd044.js similarity index 96% rename from web/settings/assets/inverter-c88f74b8.js rename to web/settings/assets/inverter-ebcbd044.js index 3de66e199e..972f090cc4 100644 --- a/web/settings/assets/inverter-c88f74b8.js +++ b/web/settings/assets/inverter-ebcbd044.js @@ -1 +1 @@ -import{_ as c,p as o,k as _,l as m,A as a,L as s,u,q as b,x as v}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceSunnyBoyInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-sunnyboy-inverter"},y={class:"small"};function h(t,e,i,w,S,r){const d=o("openwb-base-heading"),l=o("openwb-base-button-group-input"),p=o("openwb-base-select-input");return _(),m("div",g,[a(d,null,{default:s(()=>[u(" Einstellungen für SMA Sunny Boy/Tripower Wechselrichter "),b("span",y,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),a(l,{title:"Hybrid-System",buttons:[{buttonValue:!1,text:"nicht vorhanden"},{buttonValue:!0,text:"vorhanden"}],"model-value":i.configuration.hybrid,"onUpdate:modelValue":e[0]||(e[0]=n=>r.updateConfiguration(n,"configuration.hybrid"))},{help:s(()=>[u(" Diese Option aktivieren, wenn ein Tripower Smart Energy, Sunny Boy Smart Energy oder ein anderes Hybrid-System verbaut ist. ")]),_:1},8,["model-value"]),a(p,{title:"Version",notSelected:"Bitte auswählen",options:[{value:0,text:"Standard"},{value:1,text:"Core-2"},{value:2,text:"Data Manager/Cluster Controller"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[1]||(e[1]=n=>r.updateConfiguration(n,"configuration.version"))},null,8,["model-value"])])}const C=c(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/inverter.vue"]]);export{C as default}; +import{_ as c,p as o,k as _,l as m,A as a,L as s,u,q as b,x as v}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceSunnyBoyInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},g={class:"device-sunnyboy-inverter"},y={class:"small"};function h(t,e,i,w,S,r){const d=o("openwb-base-heading"),l=o("openwb-base-button-group-input"),p=o("openwb-base-select-input");return _(),m("div",g,[a(d,null,{default:s(()=>[u(" Einstellungen für SMA Sunny Boy/Tripower Wechselrichter "),b("span",y,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),a(l,{title:"Hybrid-System",buttons:[{buttonValue:!1,text:"nicht vorhanden"},{buttonValue:!0,text:"vorhanden"}],"model-value":i.configuration.hybrid,"onUpdate:modelValue":e[0]||(e[0]=n=>r.updateConfiguration(n,"configuration.hybrid"))},{help:s(()=>[u(" Diese Option aktivieren, wenn ein Tripower Smart Energy, Sunny Boy Smart Energy oder ein anderes Hybrid-System verbaut ist. ")]),_:1},8,["model-value"]),a(p,{title:"Version",notSelected:"Bitte auswählen",options:[{value:0,text:"Standard"},{value:1,text:"Core-2"},{value:2,text:"Data Manager/Cluster Controller"}],"model-value":i.configuration.version,"onUpdate:modelValue":e[1]||(e[1]=n=>r.updateConfiguration(n,"configuration.version"))},null,8,["model-value"])])}const C=c(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sma_sunny_boy/inverter.vue"]]);export{C as default}; diff --git a/web/settings/assets/inverter-8da9f9e9.js b/web/settings/assets/inverter-ec91bc3f.js similarity index 86% rename from web/settings/assets/inverter-8da9f9e9.js rename to web/settings/assets/inverter-ec91bc3f.js index cbae36cbf0..1e7eb1f41e 100644 --- a/web/settings/assets/inverter-8da9f9e9.js +++ b/web/settings/assets/inverter-ec91bc3f.js @@ -1 +1 @@ -import{_ as d,p as t,k as c,l as p,A as n,L as s,u as r,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DevicePowerdogInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-powerdog-inverter"},m={class:"small"};function g(e,o,v,b,h,w){const a=t("openwb-base-heading"),i=t("openwb-base-alert");return c(),p("div",f,[n(a,null,{default:s(()=>[r(" Einstellungen für Powerdog Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(i,{subtype:"info"},{default:s(()=>[r(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=d(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerdog/inverter.vue"]]);export{k as default}; +import{_ as d,p as t,k as c,l as p,A as n,L as s,u as r,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DevicePowerdogInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,o=void 0){this.$emit("update:configuration",{value:e,object:o})}}},f={class:"device-powerdog-inverter"},m={class:"small"};function g(e,o,v,b,h,w){const a=t("openwb-base-heading"),i=t("openwb-base-alert");return c(),p("div",f,[n(a,null,{default:s(()=>[r(" Einstellungen für Powerdog Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),n(i,{subtype:"info"},{default:s(()=>[r(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const k=d(_,[["render",g],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/powerdog/inverter.vue"]]);export{k as default}; diff --git a/web/settings/assets/inverter-7faba7de.js b/web/settings/assets/inverter-f08510be.js similarity index 86% rename from web/settings/assets/inverter-7faba7de.js rename to web/settings/assets/inverter-f08510be.js index 04db330039..f8411584cb 100644 --- a/web/settings/assets/inverter-7faba7de.js +++ b/web/settings/assets/inverter-f08510be.js @@ -1 +1 @@ -import{_ as c,p as t,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"DeviceSonnenbatterieInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sonnenbatterie-inverter"},m={class:"small"};function b(e,n,v,g,h,w){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für SonnenBatterie Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const B=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/inverter.vue"]]);export{B as default}; +import{_ as c,p as t,k as d,l as p,A as o,L as s,u as a,q as u,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"DeviceSonnenbatterieInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},f={class:"device-sonnenbatterie-inverter"},m={class:"small"};function b(e,n,v,g,h,w){const r=t("openwb-base-heading"),i=t("openwb-base-alert");return d(),p("div",f,[o(r,null,{default:s(()=>[a(" Einstellungen für SonnenBatterie Wechselrichter "),u("span",m,"(Modul: "+l(e.$options.name)+")",1)]),_:1}),o(i,{subtype:"info"},{default:s(()=>[a(" Diese Komponente erfordert keine Einstellungen. ")]),_:1})])}const B=c(_,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/sonnenbatterie/inverter.vue"]]);export{B as default}; diff --git a/web/settings/assets/inverter-3df2af68.js b/web/settings/assets/inverter-f494396f.js similarity index 94% rename from web/settings/assets/inverter-3df2af68.js rename to web/settings/assets/inverter-f494396f.js index efe16bee2d..b37e942366 100644 --- a/web/settings/assets/inverter-3df2af68.js +++ b/web/settings/assets/inverter-f494396f.js @@ -1 +1 @@ -import{_ as d,p as n,k as c,l,A as o,L as p,u as m,q as _,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const f={name:"DeviceHuaweiSmartLoggerInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-huawei-smart-logger-inverter"},v={class:"small"};function h(t,e,a,w,x,i){const r=n("openwb-base-heading"),s=n("openwb-base-number-input");return c(),l("div",b,[o(r,null,{default:p(()=>[m(" Einstellungen für Huawei SmartLogger Wechselrichter "),_("span",v,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),o(s,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.modbus_id"))},null,8,["model-value"])])}const I=d(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/inverter.vue"]]);export{I as default}; +import{_ as d,p as n,k as c,l,A as o,L as p,u as m,q as _,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const f={name:"DeviceHuaweiSmartLoggerInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"device-huawei-smart-logger-inverter"},v={class:"small"};function h(t,e,a,w,x,i){const r=n("openwb-base-heading"),s=n("openwb-base-number-input");return c(),l("div",b,[o(r,null,{default:p(()=>[m(" Einstellungen für Huawei SmartLogger Wechselrichter "),_("span",v,"(Modul: "+g(t.$options.name)+")",1)]),_:1}),o(s,{title:"Modbus ID","model-value":a.configuration.modbus_id,min:"1",max:"255","onUpdate:modelValue":e[0]||(e[0]=u=>i.updateConfiguration(u,"configuration.modbus_id"))},null,8,["model-value"])])}const I=d(f,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/huawei_smartlogger/inverter.vue"]]);export{I as default}; diff --git a/web/settings/assets/inverter_secondary-b1ae9aa1.js b/web/settings/assets/inverter_secondary-f8370f4a.js similarity index 87% rename from web/settings/assets/inverter_secondary-b1ae9aa1.js rename to web/settings/assets/inverter_secondary-f8370f4a.js index 63ee49278d..66d30dac1e 100644 --- a/web/settings/assets/inverter_secondary-b1ae9aa1.js +++ b/web/settings/assets/inverter_secondary-f8370f4a.js @@ -1 +1 @@ -import{_ as u,p as o,k as c,l as p,A as t,L as l,u as _,q as m,x as f}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"DeviceFroniusSecondaryInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"device-fronius-inverter-secondary"},g={class:"small"};function h(n,e,i,w,y,s){const a=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),p("div",b,[t(a,null,{default:l(()=>[_(" Einstellungen für einen sekundären Wechselrichter "),m("span",g,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),t(r,{title:"ID","model-value":i.configuration.id,min:"0","onUpdate:modelValue":e[0]||(e[0]=d=>s.updateConfiguration(d,"configuration.id"))},null,8,["model-value"])])}const B=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/inverter_secondary.vue"]]);export{B as default}; +import{_ as u,p as o,k as c,l as p,A as t,L as l,u as _,q as m,x as f}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"DeviceFroniusSecondaryInverter",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},deviceId:{default:void 0},componentId:{required:!0}},methods:{updateConfiguration(n,e=void 0){this.$emit("update:configuration",{value:n,object:e})}}},b={class:"device-fronius-inverter-secondary"},g={class:"small"};function h(n,e,i,w,y,s){const a=o("openwb-base-heading"),r=o("openwb-base-number-input");return c(),p("div",b,[t(a,null,{default:l(()=>[_(" Einstellungen für einen sekundären Wechselrichter "),m("span",g,"(Modul: "+f(n.$options.name)+")",1)]),_:1}),t(r,{title:"ID","model-value":i.configuration.id,min:"0","onUpdate:modelValue":e[0]||(e[0]=d=>s.updateConfiguration(d,"configuration.id"))},null,8,["model-value"])])}const B=u(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/devices/fronius/inverter_secondary.vue"]]);export{B as default}; diff --git a/web/settings/assets/vehicle-248a5b6c.js b/web/settings/assets/vehicle-463789ee.js similarity index 90% rename from web/settings/assets/vehicle-248a5b6c.js rename to web/settings/assets/vehicle-463789ee.js index 3d3fca3eac..33df0e6c03 100644 --- a/web/settings/assets/vehicle-248a5b6c.js +++ b/web/settings/assets/vehicle-463789ee.js @@ -1 +1 @@ -import{_ as d,p as u,k as p,l as c,A as o,L as m,u as f,q as _,x as v}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"VehicleSocEvnotify",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"vehicle-soc-evnotify"},y={class:"small"};function h(t,e,i,k,w,a){const r=u("openwb-base-heading"),s=u("openwb-base-number-input"),l=u("openwb-base-text-input");return p(),c("div",b,[o(r,null,{default:m(()=>[f(" Einstellungen für EVnotify SoC "),_("span",y,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),o(s,{title:"ID",required:"",min:0,"model-value":i.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=n=>a.updateConfiguration(n,"configuration.id"))},null,8,["model-value"]),o(l,{title:"AKey",required:"","model-value":i.configuration.akey,"onUpdate:modelValue":e[1]||(e[1]=n=>a.updateConfiguration(n,"configuration.akey"))},null,8,["model-value"]),o(l,{title:"Token",required:"","model-value":i.configuration.token,"onUpdate:modelValue":e[2]||(e[2]=n=>a.updateConfiguration(n,"configuration.token"))},null,8,["model-value"])])}const C=d(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/evnotify/vehicle.vue"]]);export{C as default}; +import{_ as d,p as u,k as p,l as c,A as o,L as m,u as f,q as _,x as v}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"VehicleSocEvnotify",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},b={class:"vehicle-soc-evnotify"},y={class:"small"};function h(t,e,i,k,w,a){const r=u("openwb-base-heading"),s=u("openwb-base-number-input"),l=u("openwb-base-text-input");return p(),c("div",b,[o(r,null,{default:m(()=>[f(" Einstellungen für EVnotify SoC "),_("span",y,"(Modul: "+v(t.$options.name)+")",1)]),_:1}),o(s,{title:"ID",required:"",min:0,"model-value":i.configuration.id,"onUpdate:modelValue":e[0]||(e[0]=n=>a.updateConfiguration(n,"configuration.id"))},null,8,["model-value"]),o(l,{title:"AKey",required:"","model-value":i.configuration.akey,"onUpdate:modelValue":e[1]||(e[1]=n=>a.updateConfiguration(n,"configuration.akey"))},null,8,["model-value"]),o(l,{title:"Token",required:"","model-value":i.configuration.token,"onUpdate:modelValue":e[2]||(e[2]=n=>a.updateConfiguration(n,"configuration.token"))},null,8,["model-value"])])}const C=d(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/evnotify/vehicle.vue"]]);export{C as default}; diff --git a/web/settings/assets/vehicle-9ae37409.js b/web/settings/assets/vehicle-4ce72e8d.js similarity index 91% rename from web/settings/assets/vehicle-9ae37409.js rename to web/settings/assets/vehicle-4ce72e8d.js index 321478cf4f..ef5174c387 100644 --- a/web/settings/assets/vehicle-9ae37409.js +++ b/web/settings/assets/vehicle-4ce72e8d.js @@ -1 +1 @@ -import{_ as p,p as d,k as c,l as m,A as t,L as o,u as a,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"VehicleSocVwid",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"vehicle-soc-vwid"},w={class:"small"};function b(i,e,r,h,V,u){const l=d("openwb-base-heading"),s=d("openwb-base-text-input");return c(),m("div",v,[t(l,null,{default:o(()=>[a(" Einstellungen für VW ID SoC "),f("span",w,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),t(s,{title:"Benutzername",required:"",subtype:"user","model-value":r.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den VW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"Kennwort",required:"",subtype:"password","model-value":r.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den VW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"VIN",required:"","model-value":r.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>u.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const q=p(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/vwid/vehicle.vue"]]);export{q as default}; +import{_ as p,p as d,k as c,l as m,A as t,L as o,u as a,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"VehicleSocVwid",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"vehicle-soc-vwid"},w={class:"small"};function b(i,e,r,h,V,u){const l=d("openwb-base-heading"),s=d("openwb-base-text-input");return c(),m("div",v,[t(l,null,{default:o(()=>[a(" Einstellungen für VW ID SoC "),f("span",w,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),t(s,{title:"Benutzername",required:"",subtype:"user","model-value":r.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den VW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"Kennwort",required:"",subtype:"password","model-value":r.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den VW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"VIN",required:"","model-value":r.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>u.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const q=p(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/vwid/vehicle.vue"]]);export{q as default}; diff --git a/web/settings/assets/vehicle-98edae85.js b/web/settings/assets/vehicle-4fe34017.js similarity index 93% rename from web/settings/assets/vehicle-98edae85.js rename to web/settings/assets/vehicle-4fe34017.js index 8bcc8e68c5..474a4fdfd5 100644 --- a/web/settings/assets/vehicle-98edae85.js +++ b/web/settings/assets/vehicle-4fe34017.js @@ -1 +1 @@ -import{_ as p,p as d,k as m,l as c,A as t,L as o,u as a,q as f,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"VehicleSocRenault",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!1}},data(){return{}},methods:{updateConfiguration(l,e=void 0){this.$emit("update:configuration",{value:l,object:e})}}},_={class:"vehicle-soc-renault"},h={class:"small"};function b(l,e,u,w,V,i){const s=d("openwb-base-heading"),r=d("openwb-base-text-input");return m(),c("div",_,[t(s,null,{default:o(()=>[a(" Einstellungen für Renault SoC "),f("span",h,"(Modul: "+g(l.$options.name)+")",1)]),_:1}),t(r,{title:"Benutzername",required:"",subtype:"user","model-value":u.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den Renault-Servern. ")]),_:1},8,["model-value"]),t(r,{title:"Kennwort",required:"",subtype:"password","model-value":u.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den Renault-Servern. ")]),_:1},8,["model-value"]),t(r,{title:"Land",required:"","model-value":u.configuration.country,"onUpdate:modelValue":e[2]||(e[2]=n=>i.updateConfiguration(n,"configuration.country"))},{help:o(()=>[a(" Land des Fahrzeugs, z.b. DE für Deutschland. ")]),_:1},8,["model-value"]),t(r,{title:"VIN","model-value":u.configuration.vin,"onUpdate:modelValue":e[3]||(e[3]=n=>i.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs falls mehrere Fahrzeuge im Account vorhanden sind. ")]),_:1},8,["model-value"])])}const q=p(v,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/renault/vehicle.vue"]]);export{q as default}; +import{_ as p,p as d,k as m,l as c,A as t,L as o,u as a,q as f,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"VehicleSocRenault",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!1}},data(){return{}},methods:{updateConfiguration(l,e=void 0){this.$emit("update:configuration",{value:l,object:e})}}},_={class:"vehicle-soc-renault"},h={class:"small"};function b(l,e,u,w,V,i){const s=d("openwb-base-heading"),r=d("openwb-base-text-input");return m(),c("div",_,[t(s,null,{default:o(()=>[a(" Einstellungen für Renault SoC "),f("span",h,"(Modul: "+g(l.$options.name)+")",1)]),_:1}),t(r,{title:"Benutzername",required:"",subtype:"user","model-value":u.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>i.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den Renault-Servern. ")]),_:1},8,["model-value"]),t(r,{title:"Kennwort",required:"",subtype:"password","model-value":u.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>i.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den Renault-Servern. ")]),_:1},8,["model-value"]),t(r,{title:"Land",required:"","model-value":u.configuration.country,"onUpdate:modelValue":e[2]||(e[2]=n=>i.updateConfiguration(n,"configuration.country"))},{help:o(()=>[a(" Land des Fahrzeugs, z.b. DE für Deutschland. ")]),_:1},8,["model-value"]),t(r,{title:"VIN","model-value":u.configuration.vin,"onUpdate:modelValue":e[3]||(e[3]=n=>i.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs falls mehrere Fahrzeuge im Account vorhanden sind. ")]),_:1},8,["model-value"])])}const q=p(v,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/renault/vehicle.vue"]]);export{q as default}; diff --git a/web/settings/assets/vehicle-db7891b8.js b/web/settings/assets/vehicle-62220338.js similarity index 93% rename from web/settings/assets/vehicle-db7891b8.js rename to web/settings/assets/vehicle-62220338.js index 34a5771145..48f8852795 100644 --- a/web/settings/assets/vehicle-db7891b8.js +++ b/web/settings/assets/vehicle-62220338.js @@ -1 +1 @@ -import{_ as c,p as u,k as p,l as g,A as n,L as i,u as o,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const m={name:"VehicleSocTronity",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(a,e=void 0){this.$emit("update:configuration",{value:a,object:e})}}},b={class:"vehicle-soc-http"},h={class:"small"};function v(a,e,l,C,y,s){const d=u("openwb-base-heading"),r=u("openwb-base-text-input");return p(),g("div",b,[n(d,null,{default:i(()=>[o(" Einstellungen für Tronity SoC "),f("span",h,"(Modul: "+_(a.$options.name)+")",1)]),_:1}),n(r,{title:"Vehicle ID",subtype:"text",required:"","model-value":l.configuration.vehicle_id,"onUpdate:modelValue":e[0]||(e[0]=t=>s.updateConfiguration(t,"configuration.vehicle_id"))},{help:i(()=>[o(" Vehicle ID aus Tronity angeben. Diese ist in den Assigned Vehicles zu finden. ")]),_:1},8,["model-value"]),n(r,{title:"Client ID",subtype:"text",required:"","model-value":l.configuration.client_id,"onUpdate:modelValue":e[1]||(e[1]=t=>s.updateConfiguration(t,"configuration.client_id"))},{help:i(()=>[o(" Client ID aus Tronity angeben. Diese ist in den Application Settings zu finden. ")]),_:1},8,["model-value"]),n(r,{title:"Client Secret",subtype:"password",required:"","model-value":l.configuration.client_secret,"onUpdate:modelValue":e[2]||(e[2]=t=>s.updateConfiguration(t,"configuration.client_secret"))},{help:i(()=>[o(" Client Secret aus Tronity angeben. Diese ist in den Application Settings zu finden. Das Client Secret kann nur einmalig abgerufen werden. Ggf. neu erzeugen, womit frühere Client Secrets ungültig werden. ")]),_:1},8,["model-value"])])}const x=c(m,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/tronity/vehicle.vue"]]);export{x as default}; +import{_ as c,p as u,k as p,l as g,A as n,L as i,u as o,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const m={name:"VehicleSocTronity",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(a,e=void 0){this.$emit("update:configuration",{value:a,object:e})}}},b={class:"vehicle-soc-http"},h={class:"small"};function v(a,e,l,C,y,s){const d=u("openwb-base-heading"),r=u("openwb-base-text-input");return p(),g("div",b,[n(d,null,{default:i(()=>[o(" Einstellungen für Tronity SoC "),f("span",h,"(Modul: "+_(a.$options.name)+")",1)]),_:1}),n(r,{title:"Vehicle ID",subtype:"text",required:"","model-value":l.configuration.vehicle_id,"onUpdate:modelValue":e[0]||(e[0]=t=>s.updateConfiguration(t,"configuration.vehicle_id"))},{help:i(()=>[o(" Vehicle ID aus Tronity angeben. Diese ist in den Assigned Vehicles zu finden. ")]),_:1},8,["model-value"]),n(r,{title:"Client ID",subtype:"text",required:"","model-value":l.configuration.client_id,"onUpdate:modelValue":e[1]||(e[1]=t=>s.updateConfiguration(t,"configuration.client_id"))},{help:i(()=>[o(" Client ID aus Tronity angeben. Diese ist in den Application Settings zu finden. ")]),_:1},8,["model-value"]),n(r,{title:"Client Secret",subtype:"password",required:"","model-value":l.configuration.client_secret,"onUpdate:modelValue":e[2]||(e[2]=t=>s.updateConfiguration(t,"configuration.client_secret"))},{help:i(()=>[o(" Client Secret aus Tronity angeben. Diese ist in den Application Settings zu finden. Das Client Secret kann nur einmalig abgerufen werden. Ggf. neu erzeugen, womit frühere Client Secrets ungültig werden. ")]),_:1},8,["model-value"])])}const x=c(m,[["render",v],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/tronity/vehicle.vue"]]);export{x as default}; diff --git a/web/settings/assets/vehicle-e651cffa.js b/web/settings/assets/vehicle-6744f7f7.js similarity index 93% rename from web/settings/assets/vehicle-e651cffa.js rename to web/settings/assets/vehicle-6744f7f7.js index 5ebc5b7ed8..7b3bf505aa 100644 --- a/web/settings/assets/vehicle-e651cffa.js +++ b/web/settings/assets/vehicle-6744f7f7.js @@ -1 +1 @@ -import{_ as p,p as l,k as m,l as c,A as t,L as o,u as a,q as f,x as g}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"VehicleSocKia",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(d,e=void 0){this.$emit("update:configuration",{value:d,object:e})}}},_={class:"vehicle-soc-kia"},b={class:"small"};function h(d,e,i,w,V,r){const s=l("openwb-base-heading"),u=l("openwb-base-text-input");return m(),c("div",_,[t(s,null,{default:o(()=>[a(" Einstellungen für Kia/Hyundai SoC "),f("span",b,"(Modul: "+g(d.$options.name)+")",1)]),_:1}),t(u,{title:"Benutzername",required:"",subtype:"user","model-value":i.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>r.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"Kennwort",required:"",subtype:"password","model-value":i.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>r.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"PIN",required:"",subtype:"password","model-value":i.configuration.pin,"onUpdate:modelValue":e[2]||(e[2]=n=>r.updateConfiguration(n,"configuration.pin"))},{help:o(()=>[a(" Die PIN für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"VIN",required:"","model-value":i.configuration.vin,"onUpdate:modelValue":e[3]||(e[3]=n=>r.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const x=p(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/kia/vehicle.vue"]]);export{x as default}; +import{_ as p,p as l,k as m,l as c,A as t,L as o,u as a,q as f,x as g}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"VehicleSocKia",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(d,e=void 0){this.$emit("update:configuration",{value:d,object:e})}}},_={class:"vehicle-soc-kia"},b={class:"small"};function h(d,e,i,w,V,r){const s=l("openwb-base-heading"),u=l("openwb-base-text-input");return m(),c("div",_,[t(s,null,{default:o(()=>[a(" Einstellungen für Kia/Hyundai SoC "),f("span",b,"(Modul: "+g(d.$options.name)+")",1)]),_:1}),t(u,{title:"Benutzername",required:"",subtype:"user","model-value":i.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>r.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"Kennwort",required:"",subtype:"password","model-value":i.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>r.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"PIN",required:"",subtype:"password","model-value":i.configuration.pin,"onUpdate:modelValue":e[2]||(e[2]=n=>r.updateConfiguration(n,"configuration.pin"))},{help:o(()=>[a(" Die PIN für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"VIN",required:"","model-value":i.configuration.vin,"onUpdate:modelValue":e[3]||(e[3]=n=>r.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const x=p(v,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/kia/vehicle.vue"]]);export{x as default}; diff --git a/web/settings/assets/vehicle-ddf9264f.js b/web/settings/assets/vehicle-6cc33c68.js similarity index 95% rename from web/settings/assets/vehicle-ddf9264f.js rename to web/settings/assets/vehicle-6cc33c68.js index b35ff2c1d7..7f1e2cc50b 100644 --- a/web/settings/assets/vehicle-ddf9264f.js +++ b/web/settings/assets/vehicle-6cc33c68.js @@ -1 +1 @@ -import{_ as g,p as a,k as h,l as f,A as n,L as o,u as t,q as r,x as d}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const v={name:"VehicleSocMercedesEq",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},computed:{callback_url(){return`${location.origin}/openWB/web/settings/modules/vehicles/mercedeseq/callback_vehicle.php`},login_url(){return`https://ssoalpha.dvb.corpinter.net/v1/auth?response_type=code&state=${this.vehicleId}&client_id=${this.configuration.client_id}&redirect_uri=${this.callback_url}&scope=mb:vehicle:mbdata:evstatus%20offline_access%20openid`},input_complete(){return this.configuration.client_id&&this.configuration.client_secret&&this.configuration.vin}},methods:{updateConfiguration(l,e=void 0){this.$emit("update:configuration",{value:l,object:e})},login_window(){console.debug("callback url",this.callback_url),console.debug("login url",this.login_url);var l=window.open(this.login_url,"MercedesLogin","width=800,height=600,status=yes,scrollbars=yes,resizable=yes");l.focus()}}},w={class:"vehicle-soc-mercedeseq"},k={class:"small"},C=r("br",null,null,-1),y=r("br",null,null,-1),q=r("br",null,null,-1);function x(l,e,c,B,D,i){const p=a("openwb-base-heading"),u=a("openwb-base-text-input"),_=a("openwb-base-copy-to-clipboard"),b=a("openwb-base-alert"),m=a("openwb-base-button-input");return h(),f("div",w,[n(p,null,{default:o(()=>[t(" Einstellungen für Mercedes EQ SoC "),r("span",k,"(Modul: "+d(l.$options.name)+")",1)]),_:1}),n(u,{title:"Client-ID",required:"",subtype:"user","model-value":c.configuration.client_id,"onUpdate:modelValue":e[0]||(e[0]=s=>i.updateConfiguration(s,"configuration.client_id"))},{help:o(()=>[t(" Die im Developer Portal angelegte Client-ID. ")]),_:1},8,["model-value"]),n(u,{title:"Client Secret",required:"",subtype:"password","model-value":c.configuration.client_secret,"onUpdate:modelValue":e[1]||(e[1]=s=>i.updateConfiguration(s,"configuration.client_secret"))},{help:o(()=>[t(" Das im Developer Portal angelegte Client Secret. ")]),_:1},8,["model-value"]),n(u,{title:"VIN",required:"","model-value":c.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=s=>i.updateConfiguration(s,"configuration.vin"))},{help:o(()=>[t(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"]),n(b,{subtype:"info"},{default:o(()=>[t(" Vor dem Anmelden bitte die Angaben speichern."),C,t(" Die Callback-URL für die Anmeldung lautet:"),y,n(_,{class:"text-info",tooltip:"URL kopieren"},{default:o(()=>[t(d(i.callback_url),1)]),_:1})]),_:1}),n(m,{title:"Anmelden",buttonText:"Bei Mercedes Anmelden",subtype:"success",disabled:!i.input_complete,onButtonClicked:i.login_window},{help:o(()=>[t(" Es wird ein neues Browserfenster geöffnet, in dem Sie sich bei Mercedes mit Ihren Zugangsdaten anmelden können."),q]),_:1},8,["disabled","onButtonClicked"])])}const I=g(v,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/mercedeseq/vehicle.vue"]]);export{I as default}; +import{_ as g,p as a,k as h,l as f,A as n,L as o,u as t,q as r,x as d}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const v={name:"VehicleSocMercedesEq",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},computed:{callback_url(){return`${location.origin}/openWB/web/settings/modules/vehicles/mercedeseq/callback_vehicle.php`},login_url(){return`https://ssoalpha.dvb.corpinter.net/v1/auth?response_type=code&state=${this.vehicleId}&client_id=${this.configuration.client_id}&redirect_uri=${this.callback_url}&scope=mb:vehicle:mbdata:evstatus%20offline_access%20openid`},input_complete(){return this.configuration.client_id&&this.configuration.client_secret&&this.configuration.vin}},methods:{updateConfiguration(l,e=void 0){this.$emit("update:configuration",{value:l,object:e})},login_window(){console.debug("callback url",this.callback_url),console.debug("login url",this.login_url);var l=window.open(this.login_url,"MercedesLogin","width=800,height=600,status=yes,scrollbars=yes,resizable=yes");l.focus()}}},w={class:"vehicle-soc-mercedeseq"},k={class:"small"},C=r("br",null,null,-1),y=r("br",null,null,-1),q=r("br",null,null,-1);function x(l,e,c,B,D,i){const p=a("openwb-base-heading"),u=a("openwb-base-text-input"),_=a("openwb-base-copy-to-clipboard"),b=a("openwb-base-alert"),m=a("openwb-base-button-input");return h(),f("div",w,[n(p,null,{default:o(()=>[t(" Einstellungen für Mercedes EQ SoC "),r("span",k,"(Modul: "+d(l.$options.name)+")",1)]),_:1}),n(u,{title:"Client-ID",required:"",subtype:"user","model-value":c.configuration.client_id,"onUpdate:modelValue":e[0]||(e[0]=s=>i.updateConfiguration(s,"configuration.client_id"))},{help:o(()=>[t(" Die im Developer Portal angelegte Client-ID. ")]),_:1},8,["model-value"]),n(u,{title:"Client Secret",required:"",subtype:"password","model-value":c.configuration.client_secret,"onUpdate:modelValue":e[1]||(e[1]=s=>i.updateConfiguration(s,"configuration.client_secret"))},{help:o(()=>[t(" Das im Developer Portal angelegte Client Secret. ")]),_:1},8,["model-value"]),n(u,{title:"VIN",required:"","model-value":c.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=s=>i.updateConfiguration(s,"configuration.vin"))},{help:o(()=>[t(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"]),n(b,{subtype:"info"},{default:o(()=>[t(" Vor dem Anmelden bitte die Angaben speichern."),C,t(" Die Callback-URL für die Anmeldung lautet:"),y,n(_,{class:"text-info",tooltip:"URL kopieren"},{default:o(()=>[t(d(i.callback_url),1)]),_:1})]),_:1}),n(m,{title:"Anmelden",buttonText:"Bei Mercedes Anmelden",subtype:"success",disabled:!i.input_complete,onButtonClicked:i.login_window},{help:o(()=>[t(" Es wird ein neues Browserfenster geöffnet, in dem Sie sich bei Mercedes mit Ihren Zugangsdaten anmelden können."),q]),_:1},8,["disabled","onButtonClicked"])])}const I=g(v,[["render",x],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/mercedeseq/vehicle.vue"]]);export{I as default}; diff --git a/web/settings/assets/vehicle-fcb59aa2.js b/web/settings/assets/vehicle-729b5dea.js similarity index 91% rename from web/settings/assets/vehicle-fcb59aa2.js rename to web/settings/assets/vehicle-729b5dea.js index f4a8d25391..925106a7f5 100644 --- a/web/settings/assets/vehicle-fcb59aa2.js +++ b/web/settings/assets/vehicle-729b5dea.js @@ -1 +1 @@ -import{_ as p,p as d,k as m,l as c,A as t,L as o,u as a,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"VehicleSocSmarteq",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(r,e=void 0){this.$emit("update:configuration",{value:r,object:e})}}},v={class:"vehicle-soc-smarteq"},b={class:"small"};function h(r,e,i,w,q,s){const l=d("openwb-base-heading"),u=d("openwb-base-text-input");return m(),c("div",v,[t(l,null,{default:o(()=>[a(" Einstellungen für SmartEQ SoC "),f("span",b,"(Modul: "+_(r.$options.name)+")",1)]),_:1}),t(u,{title:"Benutzername",required:"",subtype:"user","model-value":i.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"Kennwort",required:"",subtype:"password","model-value":i.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"VIN",required:"","model-value":i.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>s.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const C=p(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/smarteq/vehicle.vue"]]);export{C as default}; +import{_ as p,p as d,k as m,l as c,A as t,L as o,u as a,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"VehicleSocSmarteq",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(r,e=void 0){this.$emit("update:configuration",{value:r,object:e})}}},v={class:"vehicle-soc-smarteq"},b={class:"small"};function h(r,e,i,w,q,s){const l=d("openwb-base-heading"),u=d("openwb-base-text-input");return m(),c("div",v,[t(l,null,{default:o(()=>[a(" Einstellungen für SmartEQ SoC "),f("span",b,"(Modul: "+_(r.$options.name)+")",1)]),_:1}),t(u,{title:"Benutzername",required:"",subtype:"user","model-value":i.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"Kennwort",required:"",subtype:"password","model-value":i.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den Servern. ")]),_:1},8,["model-value"]),t(u,{title:"VIN",required:"","model-value":i.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>s.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const C=p(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/smarteq/vehicle.vue"]]);export{C as default}; diff --git a/web/settings/assets/vehicle-ad47b271.js b/web/settings/assets/vehicle-78ceced7.js similarity index 89% rename from web/settings/assets/vehicle-ad47b271.js rename to web/settings/assets/vehicle-78ceced7.js index 9566d9c1d3..7c631f165d 100644 --- a/web/settings/assets/vehicle-ad47b271.js +++ b/web/settings/assets/vehicle-78ceced7.js @@ -1 +1 @@ -import{_ as d,p as t,k as l,l as u,A as a,L as s,u as o,q as c,x as p}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const _={name:"VehicleSocManual",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"vehicle-soc-tesla"},h={class:"small"};function f(e,n,g,b,k,v){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return l(),u("div",m,[a(i,null,{default:s(()=>[o(" Einstellungen für manuellen SoC "),c("span",h,"(Modul: "+p(e.$options.name)+")",1)]),_:1}),a(r,{subtype:"info"},{default:s(()=>[o(' Beim Anstecken des Fahrzeugs muss der aktuelle SoC über die Hauptseite angegeben werden. Anhand des Zählers im Ladepunkt wird dann der aktuelle SoC errechnet. Ausschlaggebend für die Qualität dieses Moduls sind die beiden Einstellungen "Kapazität der Batterie" in dem Fahrzeug-Profil und "Wirkungsgrad der Ladeelektronik". ')]),_:1})])}const C=d(_,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/manual/vehicle.vue"]]);export{C as default}; +import{_ as d,p as t,k as l,l as u,A as a,L as s,u as o,q as c,x as p}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const _={name:"VehicleSocManual",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})}}},m={class:"vehicle-soc-tesla"},h={class:"small"};function f(e,n,g,b,k,v){const i=t("openwb-base-heading"),r=t("openwb-base-alert");return l(),u("div",m,[a(i,null,{default:s(()=>[o(" Einstellungen für manuellen SoC "),c("span",h,"(Modul: "+p(e.$options.name)+")",1)]),_:1}),a(r,{subtype:"info"},{default:s(()=>[o(' Beim Anstecken des Fahrzeugs muss der aktuelle SoC über die Hauptseite angegeben werden. Anhand des Zählers im Ladepunkt wird dann der aktuelle SoC errechnet. Ausschlaggebend für die Qualität dieses Moduls sind die beiden Einstellungen "Kapazität der Batterie" in dem Fahrzeug-Profil und "Wirkungsgrad der Ladeelektronik". ')]),_:1})])}const C=d(_,[["render",f],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/manual/vehicle.vue"]]);export{C as default}; diff --git a/web/settings/assets/vehicle-8873ef53.js b/web/settings/assets/vehicle-8873ef53.js deleted file mode 100644 index da998d195b..0000000000 --- a/web/settings/assets/vehicle-8873ef53.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as g,p as r,k as f,l as _,A as t,L as a,u as o,q as v,x as b}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const h={name:"VehicleSocPSA",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!1}},data(){return{}},methods:{updateConfiguration(s,e=void 0){this.$emit("update:configuration",{value:s,object:e})}}},w={class:"vehicle-soc-psa"},S={class:"small"};function C(s,e,i,x,A,l){const d=r("openwb-base-heading"),p=r("openwb-base-alert"),u=r("openwb-base-text-input"),c=r("openwb-base-select-input"),m=r("openwb-base-card");return f(),_("div",w,[t(d,null,{default:a(()=>[o(" Einstellungen für PSA SoC "),v("span",S,"(Modul: "+b(s.$options.name)+")",1)]),_:1}),t(p,{subtype:"info"},{default:a(()=>[o(" PSA liefert während eines Ladevorgangs keine Aktualisierung des Ladestands. Die manuelle Berechnung des Ladestands ist derzeit noch nicht implementiert, SoC-gesteuerte Ladung ist daher noch nicht möglich. ")]),_:1}),t(u,{title:"Benutzername",required:"",subtype:"user","model-value":i.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>l.updateConfiguration(n,"configuration.user_id"))},{help:a(()=>[o(" Der Benutzername für die Anmeldung an den PSA-Servern. ")]),_:1},8,["model-value"]),t(u,{title:"Kennwort",required:"",subtype:"password","model-value":i.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>l.updateConfiguration(n,"configuration.password"))},{help:a(()=>[o(" Das Passwort für die Anmeldung an den PSA-Servern. ")]),_:1},8,["model-value"]),t(c,{title:"Marke",required:"",notSelected:"Bitte auswählen",options:[{value:"Peugeot",text:"Peugeot"},{value:"Citroen",text:"Citroen"},{value:"DS",text:"DS"},{value:"Opel",text:"Opel"},{value:"Vauxhall",text:"Vauxhall"}],"model-value":i.configuration.manufacturer,"onUpdate:modelValue":e[2]||(e[2]=n=>l.updateConfiguration(n,"configuration.manufacturer"))},{help:a(()=>[o(" Marke aus des Fahrzeugs.")]),_:1},8,["model-value"]),t(u,{title:"VIN","model-value":i.configuration.vin,"onUpdate:modelValue":e[3]||(e[3]=n=>l.updateConfiguration(n,"configuration.vin"))},{help:a(()=>[o(" Die Fahrgestellnummer des Fahrzeugs. Nur notwendig falls mehrere Fahrzeuge im selben Account vorhanden sind. ")]),_:1},8,["model-value"]),t(m,{title:"Erweiterte Einstellungen",subtype:"info",collapsible:!0,collapsed:!0},{default:a(()=>[t(u,{title:"Client ID",subtype:"user","model-value":i.configuration.client_id,"onUpdate:modelValue":e[4]||(e[4]=n=>l.updateConfiguration(n,"configuration.client_id"))},{help:a(()=>[o(" Die Client-ID für die Anmeldung an den PSA-Servern, muss normalerweise nicht angegeben werden. ")]),_:1},8,["model-value"]),t(u,{title:"Client Secret",subtype:"password","model-value":i.configuration.client_secret,"onUpdate:modelValue":e[5]||(e[5]=n=>l.updateConfiguration(n,"configuration.client_secret"))},{help:a(()=>[o(" Das Client-Secret für die Anmeldung an den PSA-Servern, muss normalerweise nicht angegeben werden. ")]),_:1},8,["model-value"])]),_:1})])}const P=g(h,[["render",C],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/psa/vehicle.vue"]]);export{P as default}; diff --git a/web/settings/assets/vehicle-eba278a2.js b/web/settings/assets/vehicle-b3c7892e.js similarity index 91% rename from web/settings/assets/vehicle-eba278a2.js rename to web/settings/assets/vehicle-b3c7892e.js index a19158a711..fa72febea5 100644 --- a/web/settings/assets/vehicle-eba278a2.js +++ b/web/settings/assets/vehicle-b3c7892e.js @@ -1 +1 @@ -import{_ as c,p as u,k as p,l as m,A as o,L as i,u as a,q as _,x as h}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"VehicleSocHttp",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},f={class:"vehicle-soc-http"},v={class:"small"};function b(t,e,r,w,k,l){const d=u("openwb-base-heading"),s=u("openwb-base-text-input");return p(),m("div",f,[o(d,null,{default:i(()=>[a(" Einstellungen für HTTP SoC "),_("span",v,"(Modul: "+h(t.$options.name)+")",1)]),_:1}),o(s,{title:"SoC URL",subtype:"url",required:"","model-value":r.configuration.soc_url,"onUpdate:modelValue":e[0]||(e[0]=n=>l.updateConfiguration(n,"configuration.soc_url"))},{help:i(()=>[a(" Es wird vom Server eine Zahl (Float mit Punkt als Dezimaltrennzeichen oder Integer) erwartet, welche den aktuellen Ladestand in Prozent (0 bis 100) zurückgibt. ")]),_:1},8,["model-value"]),o(s,{title:"Reichweiten URL",subtype:"url","model-value":r.configuration.range_url,"onUpdate:modelValue":e[1]||(e[1]=n=>l.updateConfiguration(n,"configuration.range_url"))},{help:i(()=>[a(" Es wird vom Server eine Zahl (Float mit Punkt als Dezimaltrennzeichen oder Integer) erwartet, welche die aktuelle Reichweite in Kilometern darstellt. Diese Angabe ist optional. ")]),_:1},8,["model-value"])])}const z=c(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/http/vehicle.vue"]]);export{z as default}; +import{_ as c,p as u,k as p,l as m,A as o,L as i,u as a,q as _,x as h}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"VehicleSocHttp",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(t,e=void 0){this.$emit("update:configuration",{value:t,object:e})}}},f={class:"vehicle-soc-http"},v={class:"small"};function b(t,e,r,w,k,l){const d=u("openwb-base-heading"),s=u("openwb-base-text-input");return p(),m("div",f,[o(d,null,{default:i(()=>[a(" Einstellungen für HTTP SoC "),_("span",v,"(Modul: "+h(t.$options.name)+")",1)]),_:1}),o(s,{title:"SoC URL",subtype:"url",required:"","model-value":r.configuration.soc_url,"onUpdate:modelValue":e[0]||(e[0]=n=>l.updateConfiguration(n,"configuration.soc_url"))},{help:i(()=>[a(" Es wird vom Server eine Zahl (Float mit Punkt als Dezimaltrennzeichen oder Integer) erwartet, welche den aktuellen Ladestand in Prozent (0 bis 100) zurückgibt. ")]),_:1},8,["model-value"]),o(s,{title:"Reichweiten URL",subtype:"url","model-value":r.configuration.range_url,"onUpdate:modelValue":e[1]||(e[1]=n=>l.updateConfiguration(n,"configuration.range_url"))},{help:i(()=>[a(" Es wird vom Server eine Zahl (Float mit Punkt als Dezimaltrennzeichen oder Integer) erwartet, welche die aktuelle Reichweite in Kilometern darstellt. Diese Angabe ist optional. ")]),_:1},8,["model-value"])])}const z=c(g,[["render",b],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/http/vehicle.vue"]]);export{z as default}; diff --git a/web/settings/assets/vehicle-e0cce990.js b/web/settings/assets/vehicle-c543a9c9.js similarity index 91% rename from web/settings/assets/vehicle-e0cce990.js rename to web/settings/assets/vehicle-c543a9c9.js index 392119c906..aaf752b1c7 100644 --- a/web/settings/assets/vehicle-e0cce990.js +++ b/web/settings/assets/vehicle-c543a9c9.js @@ -1 +1 @@ -import{_ as p,p as d,k as m,l as c,A as t,L as o,u as a,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"VehicleSocBmw",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"vehicle-soc-bmw"},b={class:"small"};function w(i,e,r,h,B,u){const l=d("openwb-base-heading"),s=d("openwb-base-text-input");return m(),c("div",v,[t(l,null,{default:o(()=>[a(" Einstellungen für BMW SoC "),f("span",b,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),t(s,{title:"Benutzername",required:"",subtype:"user","model-value":r.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den BMW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"Kennwort",required:"",subtype:"password","model-value":r.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den BMW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"VIN",required:"","model-value":r.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>u.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const C=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/bmw/vehicle.vue"]]);export{C as default}; +import{_ as p,p as d,k as m,l as c,A as t,L as o,u as a,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"VehicleSocBmw",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"vehicle-soc-bmw"},b={class:"small"};function w(i,e,r,h,B,u){const l=d("openwb-base-heading"),s=d("openwb-base-text-input");return m(),c("div",v,[t(l,null,{default:o(()=>[a(" Einstellungen für BMW SoC "),f("span",b,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),t(s,{title:"Benutzername",required:"",subtype:"user","model-value":r.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>u.updateConfiguration(n,"configuration.user_id"))},{help:o(()=>[a(" Der Benutzername für die Anmeldung an den BMW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"Kennwort",required:"",subtype:"password","model-value":r.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>u.updateConfiguration(n,"configuration.password"))},{help:o(()=>[a(" Das Passwort für die Anmeldung an den BMW-Servern. ")]),_:1},8,["model-value"]),t(s,{title:"VIN",required:"","model-value":r.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>u.updateConfiguration(n,"configuration.vin"))},{help:o(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const C=p(g,[["render",w],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/bmw/vehicle.vue"]]);export{C as default}; diff --git a/web/settings/assets/vehicle-1334ef21.js b/web/settings/assets/vehicle-e598198a.js similarity index 94% rename from web/settings/assets/vehicle-1334ef21.js rename to web/settings/assets/vehicle-e598198a.js index 6d8c79642f..90350860c7 100644 --- a/web/settings/assets/vehicle-1334ef21.js +++ b/web/settings/assets/vehicle-e598198a.js @@ -1 +1 @@ -import{_ as f,a4 as g,a5 as h,a6 as b,p as l,k,l as w,A as a,L as i,u as s,q as m,x as v}from"./vendor-9bfbb89c.js";import{a as y}from"./vendor-axios-7e71c841.js";import{C}from"./index-8fe3a4a0.js";import"./vendor-sortablejs-8518b3e5.js";import"./vendor-fortawesome-12056596.js";import"./vendor-bootstrap-22b23367.js";import"./vendor-jquery-5e7aea54.js";const T={name:"VehicleSocTesla",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{tesla_api_oauth2:"https://auth.tesla.com/oauth2/v3",tesla_api_redirect:"https://auth.tesla.com/void/callback",tesla_api_owners:"https://owner-api.teslamotors.com/oauth/token",user_agent:"Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",code_challenge:null,code_verifier:null,page_not_found_url:""}},mixins:[C],methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})},tesla_login_window(){this.tesla_gen_challenge();var e=window.open(this.tesla_gen_url(),"TeslaLogin","width=800,height=600,status=yes,scrollbars=yes,resizable=yes");e.focus()},tesla_gen_challenge(){this.code_verifier=g.encode(h.randomBytes(86)).replace(/[^a-zA-Z0-9]/gi,"").substring(0,86);const e=h.createHash("sha256").update(this.code_verifier).digest();this.code_challenge=g.encode(e),console.debug(this.code_verifier,this.code_verifier.length,this.code_challenge,this.code_challenge.length)},tesla_gen_url(){const e=new URL(this.tesla_api_oauth2+"/authorize/");return e.searchParams.append("client_id","ownerapi"),e.searchParams.append("code_challenge",this.code_challenge),e.searchParams.append("code_challenge_method","S256"),e.searchParams.append("redirect_uri",this.tesla_api_redirect),e.searchParams.append("response_type","code"),e.searchParams.append("scope","openid email offline_access"),e.searchParams.append("state","myteslaapp"),e},async tesla_login(){const e=b.parse(this.page_not_found_url,!0).query;if(console.debug("queryObject",e),!e.code){console.error("Something is wrong... Code does not exist in URL"),this.$root.postClientMessage("Die eingegebene URL ist ungültig.","danger");return}const n={url:this.tesla_api_owners,user_agent:this.user_agent,data:{grant_type:"authorization_code",client_id:"ownerapi",code:e.code,code_verifier:this.code_verifier,redirect_uri:this.tesla_api_redirect}};try{const t=await y.post(location.protocol+"//"+location.host+"/openWB/web/settings/modules/vehicles/tesla/tesla.php",JSON.parse(JSON.stringify(n)),{headers:{"Content-Type":"application/json",Accept:"application/json"}});console.debug("response",t),this.updateConfiguration({access_token:t.data.access_token,refresh_token:t.data.refresh_token,created_at:t.data.created_at,expires_in:t.data.expires_in},"configuration.token"),this.$root.postClientMessage("Token erfolgreich abgerufen.","success")}catch(t){console.error(t),this.$root.postClientMessage("Beim Abruf der Token ist ein Fehler aufgetreten!
"+t+"
","danger")}}}},x={class:"vehicle-soc-tesla"},U={class:"small"},B=m("hr",null,null,-1);function z(e,n,t,V,u,r){const _=l("openwb-base-heading"),d=l("openwb-base-number-input"),p=l("openwb-base-button-input"),c=l("openwb-base-text-input");return k(),w("div",x,[a(_,null,{default:i(()=>[s(" Einstellungen für Tesla SoC "),m("span",U,"(Modul: "+v(e.$options.name)+")",1)]),_:1}),a(d,{title:"Fahrzeug-ID",required:"",min:0,"model-value":t.configuration.tesla_ev_num,"onUpdate:modelValue":n[0]||(n[0]=o=>r.updateConfiguration(o,"configuration.tesla_ev_num"))},{help:i(()=>[s(' Die ID des Fahrzeugs bei Tesla. Normalerweise "0" bei nur einem Fahrzeug im Konto. ')]),_:1},8,["model-value"]),a(_,null,{default:i(()=>[s("Token abrufen oder eingeben")]),_:1}),a(p,{title:"1. Anmelden",buttonText:"Bei Tesla Anmelden",subtype:"success",onButtonClicked:r.tesla_login_window},{help:i(()=>[s(" Es wird ein neues Browserfenster geöffnet, in dem Sie sich bei Tesla mit Ihren Zugangsdaten anmelden können. ")]),_:1},8,["onButtonClicked"]),a(c,{title:"2. URL kopieren",subtype:"url",emptyValue:"",modelValue:u.page_not_found_url,"onUpdate:modelValue":n[1]||(n[1]=o=>u.page_not_found_url=o)},{help:i(()=>[s(' Hier die komplette URL (Text in der Adresszeile) aus dem geöffneten Browserfenster einfügen, wenn dort "Page Not Found" angezeigt wird. ')]),_:1},8,["modelValue"]),a(p,{title:"3. Token abrufen",buttonText:"Jetzt abrufen",subtype:"success",disabled:u.page_not_found_url.length==0,onButtonClicked:r.tesla_login},{help:i(()=>[s(" Der in der eingegebenen URL enthaltene Code wird genutzt, um ein Anmeldetoken bei Tesla abzurufen. Ist dies erfolgreich, so werden die Daten des Token in den weiteren Feldern automatisch eingegeben. ")]),_:1},8,["disabled","onButtonClicked"]),B,a(c,{title:"Access Token",pattern:"^(ey).*",required:"","model-value":t.configuration.token?t.configuration.token.access_token:"","onUpdate:modelValue":n[2]||(n[2]=o=>r.updateConfiguration(o,"configuration.token.access_token"))},null,8,["model-value"]),a(c,{title:"Refresh Token",pattern:"^(ey).*",required:"","model-value":t.configuration.token?t.configuration.token.refresh_token:"","onUpdate:modelValue":n[3]||(n[3]=o=>r.updateConfiguration(o,"configuration.token.refresh_token"))},null,8,["model-value"]),a(d,{title:"Erstellt um",required:"","model-value":t.configuration.token?t.configuration.token.created_at:0,"onUpdate:modelValue":n[4]||(n[4]=o=>r.updateConfiguration(o,"configuration.token.created_at"))},{help:i(()=>[s(" Unix Timestamp des Zeitpunktes, an dem das Token erzeugt wurde. ")]),_:1},8,["model-value"]),a(d,{title:"Ungültig in",unit:"s",required:"","model-value":t.configuration.token?t.configuration.token.expires_in:0,"onUpdate:modelValue":n[5]||(n[5]=o=>r.updateConfiguration(o,"configuration.token.expires_in"))},{help:i(()=>[s(" Zeitspanne in Sekunden, nach der das Token ungültig wird. ")]),_:1},8,["model-value"])])}const N=f(T,[["render",z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/tesla/vehicle.vue"]]);export{N as default}; +import{_ as f,a4 as g,a5 as h,a6 as b,p as l,k,l as w,A as a,L as i,u as s,q as m,x as v}from"./vendor-2e22dd5c.js";import{a as y}from"./vendor-axios-f64a0ef5.js";import{C}from"./index-baf9de5e.js";import"./vendor-sortablejs-c63121b5.js";import"./vendor-fortawesome-349077b4.js";import"./vendor-bootstrap-fb84b040.js";import"./vendor-jquery-6db16bd2.js";const T={name:"VehicleSocTesla",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{tesla_api_oauth2:"https://auth.tesla.com/oauth2/v3",tesla_api_redirect:"https://auth.tesla.com/void/callback",tesla_api_owners:"https://owner-api.teslamotors.com/oauth/token",user_agent:"Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",code_challenge:null,code_verifier:null,page_not_found_url:""}},mixins:[C],methods:{updateConfiguration(e,n=void 0){this.$emit("update:configuration",{value:e,object:n})},tesla_login_window(){this.tesla_gen_challenge();var e=window.open(this.tesla_gen_url(),"TeslaLogin","width=800,height=600,status=yes,scrollbars=yes,resizable=yes");e.focus()},tesla_gen_challenge(){this.code_verifier=g.encode(h.randomBytes(86)).replace(/[^a-zA-Z0-9]/gi,"").substring(0,86);const e=h.createHash("sha256").update(this.code_verifier).digest();this.code_challenge=g.encode(e),console.debug(this.code_verifier,this.code_verifier.length,this.code_challenge,this.code_challenge.length)},tesla_gen_url(){const e=new URL(this.tesla_api_oauth2+"/authorize/");return e.searchParams.append("client_id","ownerapi"),e.searchParams.append("code_challenge",this.code_challenge),e.searchParams.append("code_challenge_method","S256"),e.searchParams.append("redirect_uri",this.tesla_api_redirect),e.searchParams.append("response_type","code"),e.searchParams.append("scope","openid email offline_access"),e.searchParams.append("state","myteslaapp"),e},async tesla_login(){const e=b.parse(this.page_not_found_url,!0).query;if(console.debug("queryObject",e),!e.code){console.error("Something is wrong... Code does not exist in URL"),this.$root.postClientMessage("Die eingegebene URL ist ungültig.","danger");return}const n={url:this.tesla_api_owners,user_agent:this.user_agent,data:{grant_type:"authorization_code",client_id:"ownerapi",code:e.code,code_verifier:this.code_verifier,redirect_uri:this.tesla_api_redirect}};try{const t=await y.post(location.protocol+"//"+location.host+"/openWB/web/settings/modules/vehicles/tesla/tesla.php",JSON.parse(JSON.stringify(n)),{headers:{"Content-Type":"application/json",Accept:"application/json"}});console.debug("response",t),this.updateConfiguration({access_token:t.data.access_token,refresh_token:t.data.refresh_token,created_at:t.data.created_at,expires_in:t.data.expires_in},"configuration.token"),this.$root.postClientMessage("Token erfolgreich abgerufen.","success")}catch(t){console.error(t),this.$root.postClientMessage("Beim Abruf der Token ist ein Fehler aufgetreten!
"+t+"
","danger")}}}},x={class:"vehicle-soc-tesla"},U={class:"small"},B=m("hr",null,null,-1);function z(e,n,t,V,u,r){const _=l("openwb-base-heading"),d=l("openwb-base-number-input"),p=l("openwb-base-button-input"),c=l("openwb-base-text-input");return k(),w("div",x,[a(_,null,{default:i(()=>[s(" Einstellungen für Tesla SoC "),m("span",U,"(Modul: "+v(e.$options.name)+")",1)]),_:1}),a(d,{title:"Fahrzeug-ID",required:"",min:0,"model-value":t.configuration.tesla_ev_num,"onUpdate:modelValue":n[0]||(n[0]=o=>r.updateConfiguration(o,"configuration.tesla_ev_num"))},{help:i(()=>[s(' Die ID des Fahrzeugs bei Tesla. Normalerweise "0" bei nur einem Fahrzeug im Konto. ')]),_:1},8,["model-value"]),a(_,null,{default:i(()=>[s("Token abrufen oder eingeben")]),_:1}),a(p,{title:"1. Anmelden",buttonText:"Bei Tesla Anmelden",subtype:"success",onButtonClicked:r.tesla_login_window},{help:i(()=>[s(" Es wird ein neues Browserfenster geöffnet, in dem Sie sich bei Tesla mit Ihren Zugangsdaten anmelden können. ")]),_:1},8,["onButtonClicked"]),a(c,{title:"2. URL kopieren",subtype:"url",emptyValue:"",modelValue:u.page_not_found_url,"onUpdate:modelValue":n[1]||(n[1]=o=>u.page_not_found_url=o)},{help:i(()=>[s(' Hier die komplette URL (Text in der Adresszeile) aus dem geöffneten Browserfenster einfügen, wenn dort "Page Not Found" angezeigt wird. ')]),_:1},8,["modelValue"]),a(p,{title:"3. Token abrufen",buttonText:"Jetzt abrufen",subtype:"success",disabled:u.page_not_found_url.length==0,onButtonClicked:r.tesla_login},{help:i(()=>[s(" Der in der eingegebenen URL enthaltene Code wird genutzt, um ein Anmeldetoken bei Tesla abzurufen. Ist dies erfolgreich, so werden die Daten des Token in den weiteren Feldern automatisch eingegeben. ")]),_:1},8,["disabled","onButtonClicked"]),B,a(c,{title:"Access Token",pattern:"^(ey).*",required:"","model-value":t.configuration.token?t.configuration.token.access_token:"","onUpdate:modelValue":n[2]||(n[2]=o=>r.updateConfiguration(o,"configuration.token.access_token"))},null,8,["model-value"]),a(c,{title:"Refresh Token",pattern:"^(ey).*",required:"","model-value":t.configuration.token?t.configuration.token.refresh_token:"","onUpdate:modelValue":n[3]||(n[3]=o=>r.updateConfiguration(o,"configuration.token.refresh_token"))},null,8,["model-value"]),a(d,{title:"Erstellt um",required:"","model-value":t.configuration.token?t.configuration.token.created_at:0,"onUpdate:modelValue":n[4]||(n[4]=o=>r.updateConfiguration(o,"configuration.token.created_at"))},{help:i(()=>[s(" Unix Timestamp des Zeitpunktes, an dem das Token erzeugt wurde. ")]),_:1},8,["model-value"]),a(d,{title:"Ungültig in",unit:"s",required:"","model-value":t.configuration.token?t.configuration.token.expires_in:0,"onUpdate:modelValue":n[5]||(n[5]=o=>r.updateConfiguration(o,"configuration.token.expires_in"))},{help:i(()=>[s(" Zeitspanne in Sekunden, nach der das Token ungültig wird. ")]),_:1},8,["model-value"])])}const N=f(T,[["render",z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/tesla/vehicle.vue"]]);export{N as default}; diff --git a/web/settings/assets/vehicle-ec1ee590.js b/web/settings/assets/vehicle-ec1ee590.js new file mode 100644 index 0000000000..e6b2d82736 --- /dev/null +++ b/web/settings/assets/vehicle-ec1ee590.js @@ -0,0 +1 @@ +import{_ as c,p as r,k as g,l as f,A as t,L as a,u as o,q as v,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const b={name:"VehicleSocPSA",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!1}},data(){return{}},methods:{updateConfiguration(s,e=void 0){this.$emit("update:configuration",{value:s,object:e})}}},w={class:"vehicle-soc-psa"},h={class:"small"};function S(s,e,i,C,x,l){const d=r("openwb-base-heading"),u=r("openwb-base-text-input"),p=r("openwb-base-select-input"),m=r("openwb-base-card");return g(),f("div",w,[t(d,null,{default:a(()=>[o(" Einstellungen für PSA SoC "),v("span",h,"(Modul: "+_(s.$options.name)+")",1)]),_:1}),t(u,{title:"Benutzername",required:"",subtype:"user","model-value":i.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>l.updateConfiguration(n,"configuration.user_id"))},{help:a(()=>[o(" Der Benutzername für die Anmeldung an den PSA-Servern. ")]),_:1},8,["model-value"]),t(u,{title:"Kennwort",required:"",subtype:"password","model-value":i.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>l.updateConfiguration(n,"configuration.password"))},{help:a(()=>[o(" Das Passwort für die Anmeldung an den PSA-Servern. ")]),_:1},8,["model-value"]),t(p,{title:"Marke",required:"",notSelected:"Bitte auswählen",options:[{value:"Peugeot",text:"Peugeot"},{value:"Citroen",text:"Citroen"},{value:"DS",text:"DS"},{value:"Opel",text:"Opel"},{value:"Vauxhall",text:"Vauxhall"}],"model-value":i.configuration.manufacturer,"onUpdate:modelValue":e[2]||(e[2]=n=>l.updateConfiguration(n,"configuration.manufacturer"))},{help:a(()=>[o(" Marke aus des Fahrzeugs.")]),_:1},8,["model-value"]),t(u,{title:"VIN","model-value":i.configuration.vin,"onUpdate:modelValue":e[3]||(e[3]=n=>l.updateConfiguration(n,"configuration.vin"))},{help:a(()=>[o(" Die Fahrgestellnummer des Fahrzeugs. Nur notwendig falls mehrere Fahrzeuge im selben Account vorhanden sind. ")]),_:1},8,["model-value"]),t(m,{title:"Erweiterte Einstellungen",subtype:"info",collapsible:!0,collapsed:!0},{default:a(()=>[t(u,{title:"Client ID",subtype:"user","model-value":i.configuration.client_id,"onUpdate:modelValue":e[4]||(e[4]=n=>l.updateConfiguration(n,"configuration.client_id"))},{help:a(()=>[o(" Die Client-ID für die Anmeldung an den PSA-Servern, muss normalerweise nicht angegeben werden. ")]),_:1},8,["model-value"]),t(u,{title:"Client Secret",subtype:"password","model-value":i.configuration.client_secret,"onUpdate:modelValue":e[5]||(e[5]=n=>l.updateConfiguration(n,"configuration.client_secret"))},{help:a(()=>[o(" Das Client-Secret für die Anmeldung an den PSA-Servern, muss normalerweise nicht angegeben werden. ")]),_:1},8,["model-value"])]),_:1})])}const D=c(b,[["render",S],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/psa/vehicle.vue"]]);export{D as default}; diff --git a/web/settings/assets/vehicle-bb74ec12.js b/web/settings/assets/vehicle-f0af6be3.js similarity index 92% rename from web/settings/assets/vehicle-bb74ec12.js rename to web/settings/assets/vehicle-f0af6be3.js index a0b85ede72..5ae23e0d67 100644 --- a/web/settings/assets/vehicle-bb74ec12.js +++ b/web/settings/assets/vehicle-f0af6be3.js @@ -1 +1 @@ -import{_ as u,p as i,k as _,l as h,A as n,L as o,u as t,q as e,x as l}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const m={name:"VehicleSocMqtt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(s,a=void 0){this.$emit("update:configuration",{value:s,object:a})}}},f={class:"vehicle-soc-mqtt"},b={class:"small"},g=e("br",null,null,-1),v=e("br",null,null,-1),w=e("span",{class:"text-info"},"89.5",-1),k=e("br",null,null,-1),x=e("br",null,null,-1),B=e("br",null,null,-1),q=e("span",{class:"text-info"},"356.5",-1);function z(s,a,c,C,T,y){const d=i("openwb-base-heading"),r=i("openwb-base-copy-to-clipboard"),p=i("openwb-base-alert");return _(),h("div",f,[n(d,null,{default:o(()=>[t(" Einstellungen für MQTT SoC "),e("span",b,"(Modul: "+l(s.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:o(()=>[t(" Die Daten werden immer dann aktualisiert, wenn das Topic veröffentlicht wird. Die Abfrageintervalle werden nicht berücksichtigt, da das Intervall vom sendenden Client festgelegt wird. "),e("ul",null,[e("li",null,[n(r,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/vehicle/"+l(c.vehicleId)+"/get/soc",1)]),_:1}),g,t(" Fahrzeug-SoC mit Nachkommastellen (Float) oder Ganzzahl"),v,t(" Beispiel: "),w]),e("li",null,[n(r,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/vehicle/"+l(c.vehicleId)+"/get/range",1)]),_:1}),k,t(" Reichweite des Fahrzeugs in km mit Nachkommastellen (Float) oder Ganzzahl"),x,t(" Diese Info ist optional."),B,t(" Beispiel: "),q])])]),_:1})])}const N=u(m,[["render",z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/mqtt/vehicle.vue"]]);export{N as default}; +import{_ as u,p as i,k as _,l as h,A as n,L as o,u as t,q as e,x as l}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const m={name:"VehicleSocMqtt",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(s,a=void 0){this.$emit("update:configuration",{value:s,object:a})}}},f={class:"vehicle-soc-mqtt"},b={class:"small"},g=e("br",null,null,-1),v=e("br",null,null,-1),w=e("span",{class:"text-info"},"89.5",-1),k=e("br",null,null,-1),x=e("br",null,null,-1),B=e("br",null,null,-1),q=e("span",{class:"text-info"},"356.5",-1);function z(s,a,c,C,T,y){const d=i("openwb-base-heading"),r=i("openwb-base-copy-to-clipboard"),p=i("openwb-base-alert");return _(),h("div",f,[n(d,null,{default:o(()=>[t(" Einstellungen für MQTT SoC "),e("span",b,"(Modul: "+l(s.$options.name)+")",1)]),_:1}),n(p,{subtype:"info"},{default:o(()=>[t(" Die Daten werden immer dann aktualisiert, wenn das Topic veröffentlicht wird. Die Abfrageintervalle werden nicht berücksichtigt, da das Intervall vom sendenden Client festgelegt wird. "),e("ul",null,[e("li",null,[n(r,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/vehicle/"+l(c.vehicleId)+"/get/soc",1)]),_:1}),g,t(" Fahrzeug-SoC mit Nachkommastellen (Float) oder Ganzzahl"),v,t(" Beispiel: "),w]),e("li",null,[n(r,{class:"text-info",tooltip:"Topic kopieren"},{default:o(()=>[t("openWB/set/vehicle/"+l(c.vehicleId)+"/get/range",1)]),_:1}),k,t(" Reichweite des Fahrzeugs in km mit Nachkommastellen (Float) oder Ganzzahl"),x,t(" Diese Info ist optional."),B,t(" Beispiel: "),q])])]),_:1})])}const N=u(m,[["render",z],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/mqtt/vehicle.vue"]]);export{N as default}; diff --git a/web/settings/assets/vehicle-bb7f8446.js b/web/settings/assets/vehicle-f7d3fa4b.js similarity index 92% rename from web/settings/assets/vehicle-bb7f8446.js rename to web/settings/assets/vehicle-f7d3fa4b.js index f3fc14a016..7aaf4b2a25 100644 --- a/web/settings/assets/vehicle-bb7f8446.js +++ b/web/settings/assets/vehicle-f7d3fa4b.js @@ -1 +1 @@ -import{_ as c,p as d,k as p,l as m,A as o,L as t,u as a,q as f,x as _}from"./vendor-9bfbb89c.js";import"./vendor-sortablejs-8518b3e5.js";const g={name:"VehicleSocSkodaconnect",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"vehicle-soc-skodaconnect"},b={class:"small"};function h(i,e,r,w,k,s){const l=d("openwb-base-heading"),u=d("openwb-base-text-input");return p(),m("div",v,[o(l,null,{default:t(()=>[a(" Einstellungen für Skoda iV SoC "),f("span",b,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),o(u,{title:"Benutzername",required:"",subtype:"user","model-value":r.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.user_id"))},{help:t(()=>[a(" Der Benutzername für die Anmeldung an den SkodaConnect-Servern. ")]),_:1},8,["model-value"]),o(u,{title:"Kennwort",required:"",subtype:"password","model-value":r.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.password"))},{help:t(()=>[a(" Das Passwort für die Anmeldung an den SkodaConnect-Servern. ")]),_:1},8,["model-value"]),o(u,{title:"VIN",required:"","model-value":r.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>s.updateConfiguration(n,"configuration.vin"))},{help:t(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const V=c(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/skodaconnect/vehicle.vue"]]);export{V as default}; +import{_ as c,p as d,k as p,l as m,A as o,L as t,u as a,q as f,x as _}from"./vendor-2e22dd5c.js";import"./vendor-sortablejs-c63121b5.js";const g={name:"VehicleSocSkodaconnect",emits:["update:configuration"],props:{configuration:{type:Object,required:!0},vehicleId:{required:!0}},data(){return{}},methods:{updateConfiguration(i,e=void 0){this.$emit("update:configuration",{value:i,object:e})}}},v={class:"vehicle-soc-skodaconnect"},b={class:"small"};function h(i,e,r,w,k,s){const l=d("openwb-base-heading"),u=d("openwb-base-text-input");return p(),m("div",v,[o(l,null,{default:t(()=>[a(" Einstellungen für Skoda iV SoC "),f("span",b,"(Modul: "+_(i.$options.name)+")",1)]),_:1}),o(u,{title:"Benutzername",required:"",subtype:"user","model-value":r.configuration.user_id,"onUpdate:modelValue":e[0]||(e[0]=n=>s.updateConfiguration(n,"configuration.user_id"))},{help:t(()=>[a(" Der Benutzername für die Anmeldung an den SkodaConnect-Servern. ")]),_:1},8,["model-value"]),o(u,{title:"Kennwort",required:"",subtype:"password","model-value":r.configuration.password,"onUpdate:modelValue":e[1]||(e[1]=n=>s.updateConfiguration(n,"configuration.password"))},{help:t(()=>[a(" Das Passwort für die Anmeldung an den SkodaConnect-Servern. ")]),_:1},8,["model-value"]),o(u,{title:"VIN",required:"","model-value":r.configuration.vin,"onUpdate:modelValue":e[2]||(e[2]=n=>s.updateConfiguration(n,"configuration.vin"))},{help:t(()=>[a(" Die Fahrgestellnummer des Fahrzeugs. ")]),_:1},8,["model-value"])])}const V=c(g,[["render",h],["__file","/opt/openWB-dev/openwb-ui-settings/src/components/vehicles/skodaconnect/vehicle.vue"]]);export{V as default}; diff --git a/web/settings/assets/vendor-2e22dd5c.js b/web/settings/assets/vendor-2e22dd5c.js new file mode 100644 index 0000000000..dceb9a9d8c --- /dev/null +++ b/web/settings/assets/vendor-2e22dd5c.js @@ -0,0 +1,100 @@ +import{r as Z4}from"./vendor-sortablejs-c63121b5.js";var Ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function uv(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),r}var ke={},gh={};gh.byteLength=Q4;gh.toByteArray=tE;gh.fromByteArray=nE;var Ji=[],fi=[],X4=typeof Uint8Array<"u"?Uint8Array:Array,$c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Na=0,J4=$c.length;Na0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var i=r===t?0:4-r%4;return[r,i]}function Q4(e){var t=n2(e),r=t[0],i=t[1];return(r+i)*3/4-i}function eE(e,t,r){return(t+r)*3/4-r}function tE(e){var t,r=n2(e),i=r[0],a=r[1],n=new X4(eE(e,i,a)),u=0,c=a>0?i-4:i,d;for(d=0;d>16&255,n[u++]=t>>8&255,n[u++]=t&255;return a===2&&(t=fi[e.charCodeAt(d)]<<2|fi[e.charCodeAt(d+1)]>>4,n[u++]=t&255),a===1&&(t=fi[e.charCodeAt(d)]<<10|fi[e.charCodeAt(d+1)]<<4|fi[e.charCodeAt(d+2)]>>2,n[u++]=t>>8&255,n[u++]=t&255),n}function rE(e){return Ji[e>>18&63]+Ji[e>>12&63]+Ji[e>>6&63]+Ji[e&63]}function iE(e,t,r){for(var i,a=[],n=t;nc?c:u+n));return i===1?(t=e[r-1],a.push(Ji[t>>2]+Ji[t<<4&63]+"==")):i===2&&(t=(e[r-2]<<8)+e[r-1],a.push(Ji[t>>10]+Ji[t>>4&63]+Ji[t<<2&63]+"=")),a.join("")}var lv={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */lv.read=function(e,t,r,i,a){var n,u,c=a*8-i-1,d=(1<>1,M=-7,S=r?a-1:0,R=r?-1:1,C=e[t+S];for(S+=R,n=C&(1<<-M)-1,C>>=-M,M+=c;M>0;n=n*256+e[t+S],S+=R,M-=8);for(u=n&(1<<-M)-1,n>>=-M,M+=i;M>0;u=u*256+e[t+S],S+=R,M-=8);if(n===0)n=1-m;else{if(n===d)return u?NaN:(C?-1:1)*(1/0);u=u+Math.pow(2,i),n=n-m}return(C?-1:1)*u*Math.pow(2,n-i)};lv.write=function(e,t,r,i,a,n){var u,c,d,m=n*8-a-1,M=(1<>1,R=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=i?0:n-1,I=i?1:-1,$=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,u=M):(u=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-u))<1&&(u--,d*=2),u+S>=1?t+=R/d:t+=R*Math.pow(2,1-S),t*d>=2&&(u++,d/=2),u+S>=M?(c=0,u=M):u+S>=1?(c=(t*d-1)*Math.pow(2,a),u=u+S):(c=t*Math.pow(2,S-1)*Math.pow(2,a),u=0));a>=8;e[r+C]=c&255,C+=I,c/=256,a-=8);for(u=u<0;e[r+C]=u&255,C+=I,u/=256,m-=8);e[r+C-I]|=$*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(e){var t=gh,r=lv,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=B,e.INSPECT_MAX_BYTES=50;var a=2147483647;e.kMaxLength=a,c.TYPED_ARRAY_SUPPORT=n(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function n(){try{var j=new Uint8Array(1),k={foo:function(){return 42}};return Object.setPrototypeOf(k,Uint8Array.prototype),Object.setPrototypeOf(j,k),j.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function u(j){if(j>a)throw new RangeError('The value "'+j+'" is invalid for option "size"');var k=new Uint8Array(j);return Object.setPrototypeOf(k,c.prototype),k}function c(j,k,U){if(typeof j=="number"){if(typeof k=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return S(j)}return d(j,k,U)}c.poolSize=8192;function d(j,k,U){if(typeof j=="string")return R(j,k);if(ArrayBuffer.isView(j))return I(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(O(j,ArrayBuffer)||j&&O(j.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(O(j,SharedArrayBuffer)||j&&O(j.buffer,SharedArrayBuffer)))return $(j,k,U);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var z=j.valueOf&&j.valueOf();if(z!=null&&z!==j)return c.from(z,k,U);var ae=L(j);if(ae)return ae;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return c.from(j[Symbol.toPrimitive]("string"),k,U);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}c.from=function(j,k,U){return d(j,k,U)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function m(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function M(j,k,U){return m(j),j<=0?u(j):k!==void 0?typeof U=="string"?u(j).fill(k,U):u(j).fill(k):u(j)}c.alloc=function(j,k,U){return M(j,k,U)};function S(j){return m(j),u(j<0?0:P(j)|0)}c.allocUnsafe=function(j){return S(j)},c.allocUnsafeSlow=function(j){return S(j)};function R(j,k){if((typeof k!="string"||k==="")&&(k="utf8"),!c.isEncoding(k))throw new TypeError("Unknown encoding: "+k);var U=F(j,k)|0,z=u(U),ae=z.write(j,k);return ae!==U&&(z=z.slice(0,ae)),z}function C(j){for(var k=j.length<0?0:P(j.length)|0,U=u(k),z=0;z=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return j|0}function B(j){return+j!=j&&(j=0),c.alloc(+j)}c.isBuffer=function(k){return k!=null&&k._isBuffer===!0&&k!==c.prototype},c.compare=function(k,U){if(O(k,Uint8Array)&&(k=c.from(k,k.offset,k.byteLength)),O(U,Uint8Array)&&(U=c.from(U,U.offset,U.byteLength)),!c.isBuffer(k)||!c.isBuffer(U))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(k===U)return 0;for(var z=k.length,ae=U.length,te=0,ie=Math.min(z,ae);teae.length?c.from(ie).copy(ae,te):Uint8Array.prototype.set.call(ae,ie,te);else if(c.isBuffer(ie))ie.copy(ae,te);else throw new TypeError('"list" argument must be an Array of Buffers');te+=ie.length}return ae};function F(j,k){if(c.isBuffer(j))return j.length;if(ArrayBuffer.isView(j)||O(j,ArrayBuffer))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);var U=j.length,z=arguments.length>2&&arguments[2]===!0;if(!z&&U===0)return 0;for(var ae=!1;;)switch(k){case"ascii":case"latin1":case"binary":return U;case"utf8":case"utf-8":return H(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U*2;case"hex":return U>>>1;case"base64":return b(j).length;default:if(ae)return z?-1:H(j).length;k=(""+k).toLowerCase(),ae=!0}}c.byteLength=F;function N(j,k,U){var z=!1;if((k===void 0||k<0)&&(k=0),k>this.length||((U===void 0||U>this.length)&&(U=this.length),U<=0)||(U>>>=0,k>>>=0,U<=k))return"";for(j||(j="utf8");;)switch(j){case"hex":return g(this,k,U);case"utf8":case"utf-8":return l(this,k,U);case"ascii":return w(this,k,U);case"latin1":case"binary":return x(this,k,U);case"base64":return f(this,k,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s(this,k,U);default:if(z)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),z=!0}}c.prototype._isBuffer=!0;function W(j,k,U){var z=j[k];j[k]=j[U],j[U]=z}c.prototype.swap16=function(){var k=this.length;if(k%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var U=0;UU&&(k+=" ... "),""},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(k,U,z,ae,te){if(O(k,Uint8Array)&&(k=c.from(k,k.offset,k.byteLength)),!c.isBuffer(k))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof k);if(U===void 0&&(U=0),z===void 0&&(z=k?k.length:0),ae===void 0&&(ae=0),te===void 0&&(te=this.length),U<0||z>k.length||ae<0||te>this.length)throw new RangeError("out of range index");if(ae>=te&&U>=z)return 0;if(ae>=te)return-1;if(U>=z)return 1;if(U>>>=0,z>>>=0,ae>>>=0,te>>>=0,this===k)return 0;for(var ie=te-ae,Ee=z-U,Q=Math.min(ie,Ee),fe=this.slice(ae,te),ue=k.slice(U,z),he=0;he2147483647?U=2147483647:U<-2147483648&&(U=-2147483648),U=+U,q(U)&&(U=ae?0:j.length-1),U<0&&(U=j.length+U),U>=j.length){if(ae)return-1;U=j.length-1}else if(U<0)if(ae)U=0;else return-1;if(typeof k=="string"&&(k=c.from(k,z)),c.isBuffer(k))return k.length===0?-1:oe(j,k,U,z,ae);if(typeof k=="number")return k=k&255,typeof Uint8Array.prototype.indexOf=="function"?ae?Uint8Array.prototype.indexOf.call(j,k,U):Uint8Array.prototype.lastIndexOf.call(j,k,U):oe(j,[k],U,z,ae);throw new TypeError("val must be string, number or Buffer")}function oe(j,k,U,z,ae){var te=1,ie=j.length,Ee=k.length;if(z!==void 0&&(z=String(z).toLowerCase(),z==="ucs2"||z==="ucs-2"||z==="utf16le"||z==="utf-16le")){if(j.length<2||k.length<2)return-1;te=2,ie/=2,Ee/=2,U/=2}function Q(de,ne){return te===1?de[ne]:de.readUInt16BE(ne*te)}var fe;if(ae){var ue=-1;for(fe=U;feie&&(U=ie-Ee),fe=U;fe>=0;fe--){for(var he=!0,pe=0;peae&&(z=ae)):z=ae;var te=k.length;z>te/2&&(z=te/2);for(var ie=0;ie>>0,isFinite(z)?(z=z>>>0,ae===void 0&&(ae="utf8")):(ae=z,z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var te=this.length-U;if((z===void 0||z>te)&&(z=te),k.length>0&&(z<0||U<0)||U>this.length)throw new RangeError("Attempt to write outside buffer bounds");ae||(ae="utf8");for(var ie=!1;;)switch(ae){case"hex":return J(this,k,U,z);case"utf8":case"utf-8":return V(this,k,U,z);case"ascii":case"latin1":case"binary":return ce(this,k,U,z);case"base64":return _(this,k,U,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o(this,k,U,z);default:if(ie)throw new TypeError("Unknown encoding: "+ae);ae=(""+ae).toLowerCase(),ie=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function f(j,k,U){return k===0&&U===j.length?t.fromByteArray(j):t.fromByteArray(j.slice(k,U))}function l(j,k,U){U=Math.min(j.length,U);for(var z=[],ae=k;ae239?4:te>223?3:te>191?2:1;if(ae+Ee<=U){var Q,fe,ue,he;switch(Ee){case 1:te<128&&(ie=te);break;case 2:Q=j[ae+1],(Q&192)===128&&(he=(te&31)<<6|Q&63,he>127&&(ie=he));break;case 3:Q=j[ae+1],fe=j[ae+2],(Q&192)===128&&(fe&192)===128&&(he=(te&15)<<12|(Q&63)<<6|fe&63,he>2047&&(he<55296||he>57343)&&(ie=he));break;case 4:Q=j[ae+1],fe=j[ae+2],ue=j[ae+3],(Q&192)===128&&(fe&192)===128&&(ue&192)===128&&(he=(te&15)<<18|(Q&63)<<12|(fe&63)<<6|ue&63,he>65535&&he<1114112&&(ie=he))}}ie===null?(ie=65533,Ee=1):ie>65535&&(ie-=65536,z.push(ie>>>10&1023|55296),ie=56320|ie&1023),z.push(ie),ae+=Ee}return p(z)}var h=4096;function p(j){var k=j.length;if(k<=h)return String.fromCharCode.apply(String,j);for(var U="",z=0;zz)&&(U=z);for(var ae="",te=k;tez&&(k=z),U<0?(U+=z,U<0&&(U=0)):U>z&&(U=z),UU)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(k,U,z){k=k>>>0,U=U>>>0,z||v(k,U,this.length);for(var ae=this[k],te=1,ie=0;++ie>>0,U=U>>>0,z||v(k,U,this.length);for(var ae=this[k+--U],te=1;U>0&&(te*=256);)ae+=this[k+--U]*te;return ae},c.prototype.readUint8=c.prototype.readUInt8=function(k,U){return k=k>>>0,U||v(k,1,this.length),this[k]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(k,U){return k=k>>>0,U||v(k,2,this.length),this[k]|this[k+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(k,U){return k=k>>>0,U||v(k,2,this.length),this[k]<<8|this[k+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(k,U){return k=k>>>0,U||v(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+this[k+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(k,U){return k=k>>>0,U||v(k,4,this.length),this[k]*16777216+(this[k+1]<<16|this[k+2]<<8|this[k+3])},c.prototype.readIntLE=function(k,U,z){k=k>>>0,U=U>>>0,z||v(k,U,this.length);for(var ae=this[k],te=1,ie=0;++ie=te&&(ae-=Math.pow(2,8*U)),ae},c.prototype.readIntBE=function(k,U,z){k=k>>>0,U=U>>>0,z||v(k,U,this.length);for(var ae=U,te=1,ie=this[k+--ae];ae>0&&(te*=256);)ie+=this[k+--ae]*te;return te*=128,ie>=te&&(ie-=Math.pow(2,8*U)),ie},c.prototype.readInt8=function(k,U){return k=k>>>0,U||v(k,1,this.length),this[k]&128?(255-this[k]+1)*-1:this[k]},c.prototype.readInt16LE=function(k,U){k=k>>>0,U||v(k,2,this.length);var z=this[k]|this[k+1]<<8;return z&32768?z|4294901760:z},c.prototype.readInt16BE=function(k,U){k=k>>>0,U||v(k,2,this.length);var z=this[k+1]|this[k]<<8;return z&32768?z|4294901760:z},c.prototype.readInt32LE=function(k,U){return k=k>>>0,U||v(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},c.prototype.readInt32BE=function(k,U){return k=k>>>0,U||v(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},c.prototype.readFloatLE=function(k,U){return k=k>>>0,U||v(k,4,this.length),r.read(this,k,!0,23,4)},c.prototype.readFloatBE=function(k,U){return k=k>>>0,U||v(k,4,this.length),r.read(this,k,!1,23,4)},c.prototype.readDoubleLE=function(k,U){return k=k>>>0,U||v(k,8,this.length),r.read(this,k,!0,52,8)},c.prototype.readDoubleBE=function(k,U){return k=k>>>0,U||v(k,8,this.length),r.read(this,k,!1,52,8)};function T(j,k,U,z,ae,te){if(!c.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(k>ae||kj.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(k,U,z,ae){if(k=+k,U=U>>>0,z=z>>>0,!ae){var te=Math.pow(2,8*z)-1;T(this,k,U,z,te,0)}var ie=1,Ee=0;for(this[U]=k&255;++Ee>>0,z=z>>>0,!ae){var te=Math.pow(2,8*z)-1;T(this,k,U,z,te,0)}var ie=z-1,Ee=1;for(this[U+ie]=k&255;--ie>=0&&(Ee*=256);)this[U+ie]=k/Ee&255;return U+z},c.prototype.writeUint8=c.prototype.writeUInt8=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,1,255,0),this[U]=k&255,U+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,2,65535,0),this[U]=k&255,this[U+1]=k>>>8,U+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,2,65535,0),this[U]=k>>>8,this[U+1]=k&255,U+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,4,4294967295,0),this[U+3]=k>>>24,this[U+2]=k>>>16,this[U+1]=k>>>8,this[U]=k&255,U+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,4,4294967295,0),this[U]=k>>>24,this[U+1]=k>>>16,this[U+2]=k>>>8,this[U+3]=k&255,U+4},c.prototype.writeIntLE=function(k,U,z,ae){if(k=+k,U=U>>>0,!ae){var te=Math.pow(2,8*z-1);T(this,k,U,z,te-1,-te)}var ie=0,Ee=1,Q=0;for(this[U]=k&255;++ie>0)-Q&255;return U+z},c.prototype.writeIntBE=function(k,U,z,ae){if(k=+k,U=U>>>0,!ae){var te=Math.pow(2,8*z-1);T(this,k,U,z,te-1,-te)}var ie=z-1,Ee=1,Q=0;for(this[U+ie]=k&255;--ie>=0&&(Ee*=256);)k<0&&Q===0&&this[U+ie+1]!==0&&(Q=1),this[U+ie]=(k/Ee>>0)-Q&255;return U+z},c.prototype.writeInt8=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,1,127,-128),k<0&&(k=255+k+1),this[U]=k&255,U+1},c.prototype.writeInt16LE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,2,32767,-32768),this[U]=k&255,this[U+1]=k>>>8,U+2},c.prototype.writeInt16BE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,2,32767,-32768),this[U]=k>>>8,this[U+1]=k&255,U+2},c.prototype.writeInt32LE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,4,2147483647,-2147483648),this[U]=k&255,this[U+1]=k>>>8,this[U+2]=k>>>16,this[U+3]=k>>>24,U+4},c.prototype.writeInt32BE=function(k,U,z){return k=+k,U=U>>>0,z||T(this,k,U,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),this[U]=k>>>24,this[U+1]=k>>>16,this[U+2]=k>>>8,this[U+3]=k&255,U+4};function D(j,k,U,z,ae,te){if(U+z>j.length)throw new RangeError("Index out of range");if(U<0)throw new RangeError("Index out of range")}function G(j,k,U,z,ae){return k=+k,U=U>>>0,ae||D(j,k,U,4),r.write(j,k,U,z,23,4),U+4}c.prototype.writeFloatLE=function(k,U,z){return G(this,k,U,!0,z)},c.prototype.writeFloatBE=function(k,U,z){return G(this,k,U,!1,z)};function ee(j,k,U,z,ae){return k=+k,U=U>>>0,ae||D(j,k,U,8),r.write(j,k,U,z,52,8),U+8}c.prototype.writeDoubleLE=function(k,U,z){return ee(this,k,U,!0,z)},c.prototype.writeDoubleBE=function(k,U,z){return ee(this,k,U,!1,z)},c.prototype.copy=function(k,U,z,ae){if(!c.isBuffer(k))throw new TypeError("argument should be a Buffer");if(z||(z=0),!ae&&ae!==0&&(ae=this.length),U>=k.length&&(U=k.length),U||(U=0),ae>0&&ae=this.length)throw new RangeError("Index out of range");if(ae<0)throw new RangeError("sourceEnd out of bounds");ae>this.length&&(ae=this.length),k.length-U>>0,z=z===void 0?this.length:z>>>0,k||(k=0);var ie;if(typeof k=="number")for(ie=U;ie55295&&U<57344){if(!ae){if(U>56319){(k-=3)>-1&&te.push(239,191,189);continue}else if(ie+1===z){(k-=3)>-1&&te.push(239,191,189);continue}ae=U;continue}if(U<56320){(k-=3)>-1&&te.push(239,191,189),ae=U;continue}U=(ae-55296<<10|U-56320)+65536}else ae&&(k-=3)>-1&&te.push(239,191,189);if(ae=null,U<128){if((k-=1)<0)break;te.push(U)}else if(U<2048){if((k-=2)<0)break;te.push(U>>6|192,U&63|128)}else if(U<65536){if((k-=3)<0)break;te.push(U>>12|224,U>>6&63|128,U&63|128)}else if(U<1114112){if((k-=4)<0)break;te.push(U>>18|240,U>>12&63|128,U>>6&63|128,U&63|128)}else throw new Error("Invalid code point")}return te}function K(j){for(var k=[],U=0;U>8,ae=U%256,te.push(ae),te.push(z);return te}function b(j){return t.toByteArray(E(j))}function y(j,k,U,z){for(var ae=0;ae=k.length||ae>=j.length);++ae)k[ae+U]=j[ae];return ae}function O(j,k){return j instanceof k||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===k.name}function q(j){return j!==j}var X=function(){for(var j="0123456789abcdef",k=new Array(256),U=0;U<16;++U)for(var z=U*16,ae=0;ae<16;++ae)k[z+ae]=j[U]+j[ae];return k}()})(ke);var o2={exports:{}},rr=o2.exports={},Yi,Zi;function $0(){throw new Error("setTimeout has not been defined")}function D0(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Yi=setTimeout:Yi=$0}catch{Yi=$0}try{typeof clearTimeout=="function"?Zi=clearTimeout:Zi=D0}catch{Zi=D0}})();function a2(e){if(Yi===setTimeout)return setTimeout(e,0);if((Yi===$0||!Yi)&&setTimeout)return Yi=setTimeout,setTimeout(e,0);try{return Yi(e,0)}catch{try{return Yi.call(null,e,0)}catch{return Yi.call(this,e,0)}}}function oE(e){if(Zi===clearTimeout)return clearTimeout(e);if((Zi===D0||!Zi)&&clearTimeout)return Zi=clearTimeout,clearTimeout(e);try{return Zi(e)}catch{try{return Zi.call(null,e)}catch{return Zi.call(this,e)}}}var Pn=[],Xa=!1,Zo,hl=-1;function aE(){!Xa||!Zo||(Xa=!1,Zo.length?Pn=Zo.concat(Pn):hl=-1,Pn.length&&s2())}function s2(){if(!Xa){var e=a2(aE);Xa=!0;for(var t=Pn.length;t;){for(Zo=Pn,Pn=[];++hl1)for(var r=1;r!!r[a.toLowerCase()]:a=>!!r[a]}const kt=Object.freeze({}),Ja=Object.freeze([]),qr=()=>{},u2=()=>!1,uE=/^on[^a-z]/,$s=e=>uE.test(e),Cl=e=>e.startsWith("onUpdate:"),$t=Object.assign,hv=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},lE=Object.prototype.hasOwnProperty,wt=(e,t)=>lE.call(e,t),ze=Array.isArray,ta=e=>Ds(e)==="[object Map]",ya=e=>Ds(e)==="[object Set]",ym=e=>Ds(e)==="[object Date]",hE=e=>Ds(e)==="[object RegExp]",Qe=e=>typeof e=="function",Vt=e=>typeof e=="string",ls=e=>typeof e=="symbol",Rt=e=>e!==null&&typeof e=="object",mh=e=>(Rt(e)||Qe(e))&&Qe(e.then)&&Qe(e.catch),l2=Object.prototype.toString,Ds=e=>l2.call(e),cv=e=>Ds(e).slice(8,-1),h2=e=>Ds(e)==="[object Object]",dv=e=>Vt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lf=Vn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cE=Vn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),yh=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},dE=/-(\w)/g,Kr=yh(e=>e.replace(dE,(t,r)=>r?r.toUpperCase():"")),pE=/\B([A-Z])/g,Hr=yh(e=>e.replace(pE,"-$1").toLowerCase()),So=yh(e=>e.charAt(0).toUpperCase()+e.slice(1)),En=yh(e=>e?`on${So(e)}`:""),xo=(e,t)=>!Object.is(e,t),uo=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Ll=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nl=e=>{const t=Vt(e)?Number(e):NaN;return isNaN(t)?e:t};let bm;const kl=()=>bm||(bm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof po<"u"?po:{}),vE="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",gE=Vn(vE);function Cn(e){if(ze(e)){const t={};for(let r=0;r{if(r){const i=r.split(yE);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function vr(e){let t="";if(Vt(e))t=e;else if(ze(e))for(let r=0;rEo(r,t))}const Ii=e=>Vt(e)?e:e==null?"":ze(e)||Rt(e)&&(e.toString===l2||!Qe(e.toString))?JSON.stringify(e,d2,2):String(e),d2=(e,t)=>t&&t.__v_isRef?d2(e,t.value):ta(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[i,a])=>(r[`${i} =>`]=a,r),{})}:ya(t)?{[`Set(${t.size})`]:[...t.values()]}:Rt(t)&&!ze(t)&&!h2(t)?String(t):t;function $l(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Yr;class pv{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Yr,!t&&Yr&&(this.index=(Yr.scopes||(Yr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Yr;try{return Yr=this,t()}finally{Yr=r}}else $l("cannot run an inactive effect scope.")}on(){Yr=this}off(){Yr=this.parent}stop(t){if(this._active){let r,i;for(r=0,i=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},m2=e=>(e.w&Ro)>0,y2=e=>(e.n&Ro)>0,IE=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let i=0;i{(S==="length"||!ls(S)&&S>=m)&&c.push(M)})}else switch(r!==void 0&&c.push(u.get(r)),t){case"add":ze(e)?dv(r)&&c.push(u.get("length")):(c.push(u.get(ra)),ta(e)&&c.push(u.get(j0)));break;case"delete":ze(e)||(c.push(u.get(ra)),ta(e)&&c.push(u.get(j0)));break;case"set":ta(e)&&c.push(u.get(ra));break}const d={target:e,type:t,key:r,newValue:i,oldValue:a,oldTarget:n};if(c.length===1)c[0]&&U0(c[0],d);else{const m=[];for(const M of c)M&&m.push(...M);U0(vv(m),d)}}function U0(e,t){const r=ze(e)?e:[...e];for(const i of r)i.computed&&_m(i,t);for(const i of r)i.computed||_m(i,t)}function _m(e,t){(e!==Br||e.allowRecurse)&&(e.onTrigger&&e.onTrigger($t({effect:e},t)),e.scheduler?e.scheduler():e.run())}function LE(e,t){var r;return(r=Dl.get(e))==null?void 0:r.get(t)}const NE=Vn("__proto__,__v_isRef,__isVue"),_2=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ls)),Mm=kE();function kE(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const i=lt(this);for(let n=0,u=this.length;n{e[t]=function(...r){ba();const i=lt(this)[t].apply(this,r);return wa(),i}}),e}function $E(e){const t=lt(this);return Tr(t,"has",e),t.hasOwnProperty(e)}class M2{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,i){const a=this._isReadonly,n=this._shallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return n;if(r==="__v_raw"&&i===(a?n?O2:T2:n?A2:R2).get(t))return t;const u=ze(t);if(!a){if(u&&wt(Mm,r))return Reflect.get(Mm,r,i);if(r==="hasOwnProperty")return $E}const c=Reflect.get(t,r,i);return(ls(r)?_2.has(r):NE(r))||(a||Tr(t,"get",r),n)?c:Xt(c)?u&&dv(r)?c:c.value:Rt(c)?a?yv(c):_a(c):c}}class S2 extends M2{constructor(t=!1){super(!1,t)}set(t,r,i,a){let n=t[r];if(Nn(n)&&Xt(n)&&!Xt(i))return!1;if(!this._shallow&&(!Yf(i)&&!Nn(i)&&(n=lt(n),i=lt(i)),!ze(t)&&Xt(n)&&!Xt(i)))return n.value=i,!0;const u=ze(t)&&dv(r)?Number(r)e,wh=e=>Reflect.getPrototypeOf(e);function Ku(e,t,r=!1,i=!1){e=e.__v_raw;const a=lt(e),n=lt(t);r||(xo(t,n)&&Tr(a,"get",t),Tr(a,"get",n));const{has:u}=wh(a),c=i?gv:r?wv:Xf;if(u.call(a,t))return c(e.get(t));if(u.call(a,n))return c(e.get(n));e!==a&&e.get(t)}function Vu(e,t=!1){const r=this.__v_raw,i=lt(r),a=lt(e);return t||(xo(e,a)&&Tr(i,"has",e),Tr(i,"has",a)),e===a?r.has(e):r.has(e)||r.has(a)}function zu(e,t=!1){return e=e.__v_raw,!t&&Tr(lt(e),"iterate",ra),Reflect.get(e,"size",e)}function Sm(e){e=lt(e);const t=lt(this);return wh(t).has.call(t,e)||(t.add(e),tn(t,"add",e,e)),this}function xm(e,t){t=lt(t);const r=lt(this),{has:i,get:a}=wh(r);let n=i.call(r,e);n?E2(r,i,e):(e=lt(e),n=i.call(r,e));const u=a.call(r,e);return r.set(e,t),n?xo(t,u)&&tn(r,"set",e,t,u):tn(r,"add",e,t),this}function Em(e){const t=lt(this),{has:r,get:i}=wh(t);let a=r.call(t,e);a?E2(t,r,e):(e=lt(e),a=r.call(t,e));const n=i?i.call(t,e):void 0,u=t.delete(e);return a&&tn(t,"delete",e,void 0,n),u}function Rm(){const e=lt(this),t=e.size!==0,r=ta(e)?new Map(e):new Set(e),i=e.clear();return t&&tn(e,"clear",void 0,void 0,r),i}function Gu(e,t){return function(i,a){const n=this,u=n.__v_raw,c=lt(u),d=t?gv:e?wv:Xf;return!e&&Tr(c,"iterate",ra),u.forEach((m,M)=>i.call(a,d(m),d(M),n))}}function Yu(e,t,r){return function(...i){const a=this.__v_raw,n=lt(a),u=ta(n),c=e==="entries"||e===Symbol.iterator&&u,d=e==="keys"&&u,m=a[e](...i),M=r?gv:t?wv:Xf;return!t&&Tr(n,"iterate",d?j0:ra),{next(){const{value:S,done:R}=m.next();return R?{value:S,done:R}:{value:c?[M(S[0]),M(S[1])]:M(S),done:R}},[Symbol.iterator](){return this}}}}function Jn(e){return function(...t){{const r=t[0]?`on key "${t[0]}" `:"";console.warn(`${So(e)} operation ${r}failed: target is readonly.`,lt(this))}return e==="delete"?!1:this}}function HE(){const e={get(n){return Ku(this,n)},get size(){return zu(this)},has:Vu,add:Sm,set:xm,delete:Em,clear:Rm,forEach:Gu(!1,!1)},t={get(n){return Ku(this,n,!1,!0)},get size(){return zu(this)},has:Vu,add:Sm,set:xm,delete:Em,clear:Rm,forEach:Gu(!1,!0)},r={get(n){return Ku(this,n,!0)},get size(){return zu(this,!0)},has(n){return Vu.call(this,n,!0)},add:Jn("add"),set:Jn("set"),delete:Jn("delete"),clear:Jn("clear"),forEach:Gu(!0,!1)},i={get(n){return Ku(this,n,!0,!0)},get size(){return zu(this,!0)},has(n){return Vu.call(this,n,!0)},add:Jn("add"),set:Jn("set"),delete:Jn("delete"),clear:Jn("clear"),forEach:Gu(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(n=>{e[n]=Yu(n,!1,!1),r[n]=Yu(n,!0,!1),t[n]=Yu(n,!1,!0),i[n]=Yu(n,!0,!0)}),[e,r,t,i]}const[qE,WE,KE,VE]=HE();function _h(e,t){const r=t?e?VE:KE:e?WE:qE;return(i,a,n)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(wt(r,a)&&a in i?r:i,a,n)}const zE={get:_h(!1,!1)},GE={get:_h(!1,!0)},YE={get:_h(!0,!1)},ZE={get:_h(!0,!0)};function E2(e,t,r){const i=lt(r);if(i!==r&&t.call(e,i)){const a=cv(e);console.warn(`Reactive ${a} contains both the raw and reactive versions of the same object${a==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const R2=new WeakMap,A2=new WeakMap,T2=new WeakMap,O2=new WeakMap;function XE(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function JE(e){return e.__v_skip||!Object.isExtensible(e)?0:XE(cv(e))}function _a(e){return Nn(e)?e:Mh(e,!1,DE,zE,R2)}function mv(e){return Mh(e,!1,jE,GE,A2)}function yv(e){return Mh(e,!0,FE,YE,T2)}function Ga(e){return Mh(e,!0,UE,ZE,O2)}function Mh(e,t,r,i,a){if(!Rt(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const n=a.get(e);if(n)return n;const u=JE(e);if(u===0)return e;const c=new Proxy(e,u===2?i:r);return a.set(e,c),c}function go(e){return Nn(e)?go(e.__v_raw):!!(e&&e.__v_isReactive)}function Nn(e){return!!(e&&e.__v_isReadonly)}function Yf(e){return!!(e&&e.__v_isShallow)}function Zf(e){return go(e)||Nn(e)}function lt(e){const t=e&&e.__v_raw;return t?lt(t):e}function bv(e){return Bl(e,"__v_skip",!0),e}const Xf=e=>Rt(e)?_a(e):e,wv=e=>Rt(e)?yv(e):e;function _v(e){vo&&Br&&(e=lt(e),w2(e.dep||(e.dep=vv()),{target:e,type:"get",key:"value"}))}function Sh(e,t){e=lt(e);const r=e.dep;r&&U0(r,{target:e,type:"set",key:"value",newValue:t})}function Xt(e){return!!(e&&e.__v_isRef===!0)}function mr(e){return P2(e,!1)}function I2(e){return P2(e,!0)}function P2(e,t){return Xt(e)?e:new QE(e,t)}class QE{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:lt(t),this._value=r?t:Xf(t)}get value(){return _v(this),this._value}set value(t){const r=this.__v_isShallow||Yf(t)||Nn(t);t=r?t:lt(t),xo(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Xf(t),Sh(this,t))}}function e8(e){Sh(e,e.value)}function mo(e){return Xt(e)?e.value:e}function t8(e){return Qe(e)?e():mo(e)}const r8={get:(e,t,r)=>mo(Reflect.get(e,t,r)),set:(e,t,r,i)=>{const a=e[t];return Xt(a)&&!Xt(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function Mv(e){return go(e)?e:new Proxy(e,r8)}class i8{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:i}=t(()=>_v(this),()=>Sh(this));this._get=r,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function n8(e){return new i8(e)}function o8(e){Zf(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=ze(e)?new Array(e.length):{};for(const r in e)t[r]=C2(e,r);return t}class a8{constructor(t,r,i){this._object=t,this._key=r,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return LE(lt(this._object),this._key)}}class s8{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function f8(e,t,r){return Xt(e)?e:Qe(e)?new s8(e):Rt(e)&&arguments.length>1?C2(e,t,r):mr(e)}function C2(e,t,r){const i=e[t];return Xt(i)?i:new a8(e,t,r)}class u8{constructor(t,r,i,a){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new hs(t,()=>{this._dirty||(this._dirty=!0,Sh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){const t=lt(this);return _v(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function l8(e,t,r=!1){let i,a;const n=Qe(e);n?(i=e,a=()=>{console.warn("Write operation failed: computed value is readonly")}):(i=e.get,a=e.set);const u=new u8(i,a,n||!a,r);return t&&!r&&(u.effect.onTrack=t.onTrack,u.effect.onTrigger=t.onTrigger),u}const ia=[];function Nf(e){ia.push(e)}function kf(){ia.pop()}function Ue(e,...t){ba();const r=ia.length?ia[ia.length-1].component:null,i=r&&r.appContext.config.warnHandler,a=h8();if(i)rn(i,r,11,[e+t.join(""),r&&r.proxy,a.map(({vnode:n})=>`at <${Bh(r,n.type)}>`).join(` +`),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push(` +`,...c8(a)),console.warn(...n)}wa()}function h8(){let e=ia[ia.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}function c8(e){const t=[];return e.forEach((r,i)=>{t.push(...i===0?[]:[` +`],...d8(r))}),t}function d8({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",i=e.component?e.component.parent==null:!1,a=` at <${Bh(e.component,e.type,i)}`,n=">"+r;return e.props?[a,...p8(e.props),n]:[a+n]}function p8(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(i=>{t.push(...B2(i,e[i]))}),r.length>3&&t.push(" ..."),t}function B2(e,t,r){return Vt(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:Xt(t)?(t=B2(e,lt(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):Qe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=lt(t),r?t:[`${e}=`,t])}function Sv(e,t){e!==void 0&&(typeof e!="number"?Ue(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Ue(`${t} is NaN - the duration expression might be incorrect.`))}const xv={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function rn(e,t,r,i){let a;try{a=i?e(...i):e()}catch(n){Ma(n,t,r)}return a}function Zr(e,t,r,i){if(Qe(e)){const n=rn(e,t,r,i);return n&&mh(n)&&n.catch(u=>{Ma(u,t,r)}),n}const a=[];for(let n=0;n>>1,a=Er[i],n=eu(a);nQi&&Er.splice(t,1)}function Qf(e){ze(e)?Qa.push(...e):(!Gi||!Gi.includes(e,e.allowRecurse?no+1:no))&&Qa.push(e),N2()}function Am(e,t=Jf?Qi+1:0){for(e=e||new Map;teu(r)-eu(i)),no=0;noe.id==null?1/0:e.id,b8=(e,t)=>{const r=eu(e)-eu(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function k2(e){H0=!1,Jf=!0,e=e||new Map,Er.sort(b8);const t=r=>Rv(e,r);try{for(Qi=0;Qig8){const i=t.ownerInstance,a=i&&ou(i.type);return Ue(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,r+1)}}let yo=!1;const Wa=new Set;kl().__VUE_HMR_RUNTIME__={createRecord:Dc($2),rerender:Dc(M8),reload:Dc(S8)};const ua=new Map;function w8(e){const t=e.type.__hmrId;let r=ua.get(t);r||($2(t,e.type),r=ua.get(t)),r.instances.add(e)}function _8(e){ua.get(e.type.__hmrId).instances.delete(e)}function $2(e,t){return ua.has(e)?!1:(ua.set(e,{initialDef:$f(t),instances:new Set}),!0)}function $f(e){return C_(e)?e.__vccOpts:e}function M8(e,t){const r=ua.get(e);r&&(r.initialDef.render=t,[...r.instances].forEach(i=>{t&&(i.render=t,$f(i.type).render=t),i.renderCache=[],yo=!0,i.update(),yo=!1}))}function S8(e,t){const r=ua.get(e);if(!r)return;t=$f(t),Tm(r.initialDef,t);const i=[...r.instances];for(const a of i){const n=$f(a.type);Wa.has(n)||(n!==r.initialDef&&Tm(n,t),Wa.add(n)),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(Wa.add(n),a.ceReload(t.styles),Wa.delete(n)):a.parent?mu(a.parent.update):a.appContext.reload?a.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Qf(()=>{for(const a of i)Wa.delete($f(a.type))})}function Tm(e,t){$t(e,t);for(const r in e)r!=="__file"&&!(r in t)&&delete e[r]}function Dc(e){return(t,r)=>{try{return e(t,r)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Li,Af=[],q0=!1;function yu(e,...t){Li?Li.emit(e,...t):q0||Af.push({event:e,args:t})}function Av(e,t){var r,i;Li=e,Li?(Li.enabled=!0,Af.forEach(({event:a,args:n})=>Li.emit(a,...n)),Af=[]):typeof window<"u"&&window.HTMLElement&&!((i=(r=window.navigator)==null?void 0:r.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(n=>{Av(n,t)}),setTimeout(()=>{Li||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,q0=!0,Af=[])},3e3)):(q0=!0,Af=[])}function x8(e,t){yu("app:init",e,t,{Fragment:Bt,Text:Ao,Comment:tr,Static:bo})}function E8(e){yu("app:unmount",e)}const W0=Tv("component:added"),D2=Tv("component:updated"),R8=Tv("component:removed"),A8=e=>{Li&&typeof Li.cleanupBuffer=="function"&&!Li.cleanupBuffer(e)&&R8(e)};function Tv(e){return t=>{yu(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const T8=F2("perf:start"),O8=F2("perf:end");function F2(e){return(t,r,i)=>{yu(e,t.appContext.app,t.uid,t,r,i)}}function I8(e,t,r){yu("component:emit",e.appContext.app,e,t,r)}function P8(e,t,...r){if(e.isUnmounted)return;const i=e.vnode.props||kt;{const{emitsOptions:M,propsOptions:[S]}=e;if(M)if(!(t in M))(!S||!(En(t)in S))&&Ue(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${En(t)}" prop.`);else{const R=M[t];Qe(R)&&(R(...r)||Ue(`Invalid event arguments: event validation failed for event "${t}".`))}}let a=r;const n=t.startsWith("update:"),u=n&&t.slice(7);if(u&&u in i){const M=`${u==="modelValue"?"model":u}Modifiers`,{number:S,trim:R}=i[M]||kt;R&&(a=r.map(C=>Vt(C)?C.trim():C)),S&&(a=r.map(Ll))}I8(e,t,a);{const M=t.toLowerCase();M!==t&&i[En(M)]&&Ue(`Event "${M}" is emitted in component ${Bh(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Hr(t)}" instead of "${t}".`)}let c,d=i[c=En(t)]||i[c=En(Kr(t))];!d&&n&&(d=i[c=En(Hr(t))]),d&&Zr(d,e,6,a);const m=i[c+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Zr(m,e,6,a)}}function j2(e,t,r=!1){const i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;const n=e.emits;let u={},c=!1;if(!Qe(e)){const d=m=>{const M=j2(m,t,!0);M&&(c=!0,$t(u,M))};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!n&&!c?(Rt(e)&&i.set(e,null),null):(ze(n)?n.forEach(d=>u[d]=null):$t(u,n),Rt(e)&&i.set(e,u),u)}function xh(e,t){return!e||!$s(t)?!1:(t=t.slice(2).replace(/Once$/,""),wt(e,t[0].toLowerCase()+t.slice(1))||wt(e,Hr(t))||wt(e,t))}let er=null,Eh=null;function tu(e){const t=er;return er=e,Eh=e&&e.type.__scopeId||null,t}function U2(e){Eh=e}function H2(){Eh=null}const C8=e=>Ov;function Ov(e,t=er,r){if(!t||e._n)return e;const i=(...a)=>{i._d&&Q0(-1);const n=tu(t);let u;try{u=e(...a)}finally{tu(n),i._d&&Q0(1)}return D2(t),u};return i._n=!0,i._c=!0,i._d=!0,i}let K0=!1;function jl(){K0=!0}function cl(e){const{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[u],slots:c,attrs:d,emit:m,render:M,renderCache:S,data:R,setupState:C,ctx:I,inheritAttrs:$}=e;let L,P;const B=tu(e);K0=!1;try{if(r.shapeFlag&4){const W=a||i;L=Ur(M.call(W,W,S,n,C,R,I)),P=d}else{const W=t;d===n&&jl(),L=Ur(W.length>1?W(n,{get attrs(){return jl(),d},slots:c,emit:m}):W(n,null)),P=t.props?d:L8(d)}}catch(W){jf.length=0,Ma(W,e,1),L=Zt(tr)}let F=L,N;if(L.patchFlag>0&&L.patchFlag&2048&&([F,N]=B8(L)),P&&$!==!1){const W=Object.keys(P),{shapeFlag:Y}=F;if(W.length){if(Y&7)u&&W.some(Cl)&&(P=N8(P,u)),F=di(F,P);else if(!K0&&F.type!==tr){const oe=Object.keys(d),J=[],V=[];for(let ce=0,_=oe.length;ce<_;ce++){const o=oe[ce];$s(o)?Cl(o)||J.push(o[2].toLowerCase()+o.slice(3)):V.push(o)}V.length&&Ue(`Extraneous non-props attributes (${V.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),J.length&&Ue(`Extraneous non-emits event listeners (${J.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return r.dirs&&(Om(F)||Ue("Runtime directive used on component with non-element root node. The directives will not function as intended."),F=di(F),F.dirs=F.dirs?F.dirs.concat(r.dirs):r.dirs),r.transition&&(Om(F)||Ue("Component inside renders non-element root node that cannot be animated."),F.transition=r.transition),N?N(F):L=F,tu(B),L}const B8=e=>{const t=e.children,r=e.dynamicChildren,i=Iv(t);if(!i)return[e,void 0];const a=t.indexOf(i),n=r?r.indexOf(i):-1,u=c=>{t[a]=c,r&&(n>-1?r[n]=c:c.patchFlag>0&&(e.dynamicChildren=[...r,c]))};return[Ur(i),u]};function Iv(e){let t;for(let r=0;r{let t;for(const r in e)(r==="class"||r==="style"||$s(r))&&((t||(t={}))[r]=e[r]);return t},N8=(e,t)=>{const r={};for(const i in e)(!Cl(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r},Om=e=>e.shapeFlag&7||e.type===tr;function k8(e,t,r){const{props:i,children:a,component:n}=e,{props:u,children:c,patchFlag:d}=t,m=n.emitsOptions;if((a||c)&&yo||t.dirs||t.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return i?Im(i,u,m):!!u;if(d&8){const M=t.dynamicProps;for(let S=0;Se.__isSuspense,$8={name:"Suspense",__isSuspense:!0,process(e,t,r,i,a,n,u,c,d,m){e==null?F8(t,r,i,a,n,u,c,d,m):j8(e,t,r,i,a,u,c,d,m)},hydrate:U8,create:Cv,normalize:H8},D8=$8;function ru(e,t){const r=e.props&&e.props[t];Qe(r)&&r()}function F8(e,t,r,i,a,n,u,c,d){const{p:m,o:{createElement:M}}=d,S=M("div"),R=e.suspense=Cv(e,a,i,t,S,r,n,u,c,d);m(null,R.pendingBranch=e.ssContent,S,null,i,R,n,u),R.deps>0?(ru(e,"onPending"),ru(e,"onFallback"),m(null,e.ssFallback,t,r,i,null,n,u),es(R,e.ssFallback)):R.resolve(!1,!0)}function j8(e,t,r,i,a,n,u,c,{p:d,um:m,o:{createElement:M}}){const S=t.suspense=e.suspense;S.vnode=t,t.el=e.el;const R=t.ssContent,C=t.ssFallback,{activeBranch:I,pendingBranch:$,isInFallback:L,isHydrating:P}=S;if($)S.pendingBranch=R,Ni(R,$)?(d($,R,S.hiddenContainer,null,a,S,n,u,c),S.deps<=0?S.resolve():L&&(d(I,C,r,i,a,null,n,u,c),es(S,C))):(S.pendingId++,P?(S.isHydrating=!1,S.activeBranch=$):m($,a,S),S.deps=0,S.effects.length=0,S.hiddenContainer=M("div"),L?(d(null,R,S.hiddenContainer,null,a,S,n,u,c),S.deps<=0?S.resolve():(d(I,C,r,i,a,null,n,u,c),es(S,C))):I&&Ni(R,I)?(d(I,R,r,i,a,S,n,u,c),S.resolve(!0)):(d(null,R,S.hiddenContainer,null,a,S,n,u,c),S.deps<=0&&S.resolve()));else if(I&&Ni(R,I))d(I,R,r,i,a,S,n,u,c),es(S,R);else if(ru(t,"onPending"),S.pendingBranch=R,S.pendingId++,d(null,R,S.hiddenContainer,null,a,S,n,u,c),S.deps<=0)S.resolve();else{const{timeout:B,pendingId:F}=S;B>0?setTimeout(()=>{S.pendingId===F&&S.fallback(C)},B):B===0&&S.fallback(C)}}let Pm=!1;function Cv(e,t,r,i,a,n,u,c,d,m,M=!1){Pm||(Pm=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:S,m:R,um:C,n:I,o:{parentNode:$,remove:L}}=m;let P;const B=q8(e);B&&t!=null&&t.pendingBranch&&(P=t.pendingId,t.deps++);const F=e.props?Nl(e.props.timeout):void 0;Sv(F,"Suspense timeout");const N={vnode:e,parent:t,parentComponent:r,isSVG:u,container:i,hiddenContainer:a,anchor:n,deps:0,pendingId:0,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:M,isUnmounted:!1,effects:[],resolve(W=!1,Y=!1){{if(!W&&!N.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(N.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:oe,activeBranch:J,pendingBranch:V,pendingId:ce,effects:_,parentComponent:o,container:f}=N;let l=!1;if(N.isHydrating)N.isHydrating=!1;else if(!W){l=J&&V.transition&&V.transition.mode==="out-in",l&&(J.transition.afterLeave=()=>{ce===N.pendingId&&(R(V,f,w,0),Qf(_))});let{anchor:w}=N;J&&(w=I(J),C(J,o,N,!0)),l||R(V,f,w,0)}es(N,V),N.pendingBranch=null,N.isInFallback=!1;let h=N.parent,p=!1;for(;h;){if(h.pendingBranch){h.effects.push(..._),p=!0;break}h=h.parent}!p&&!l&&Qf(_),N.effects=[],B&&t&&t.pendingBranch&&P===t.pendingId&&(t.deps--,t.deps===0&&!Y&&t.resolve()),ru(oe,"onResolve")},fallback(W){if(!N.pendingBranch)return;const{vnode:Y,activeBranch:oe,parentComponent:J,container:V,isSVG:ce}=N;ru(Y,"onFallback");const _=I(oe),o=()=>{N.isInFallback&&(S(null,W,V,_,J,null,ce,c,d),es(N,W))},f=W.transition&&W.transition.mode==="out-in";f&&(oe.transition.afterLeave=o),N.isInFallback=!0,C(oe,J,null,!0),f||o()},move(W,Y,oe){N.activeBranch&&R(N.activeBranch,W,Y,oe),N.container=W},next(){return N.activeBranch&&I(N.activeBranch)},registerDep(W,Y){const oe=!!N.pendingBranch;oe&&N.deps++;const J=W.vnode.el;W.asyncDep.catch(V=>{Ma(V,W,0)}).then(V=>{if(W.isUnmounted||N.isUnmounted||N.pendingId!==W.suspenseId)return;W.asyncResolved=!0;const{vnode:ce}=W;Nf(ce),rp(W,V,!1),J&&(ce.el=J);const _=!J&&W.subTree.el;Y(W,ce,$(J||W.subTree.el),J?null:I(W.subTree),N,u,d),_&&L(_),Pv(W,ce.el),kf(),oe&&--N.deps===0&&N.resolve()})},unmount(W,Y){N.isUnmounted=!0,N.activeBranch&&C(N.activeBranch,r,W,Y),N.pendingBranch&&C(N.pendingBranch,r,W,Y)}};return N}function U8(e,t,r,i,a,n,u,c,d){const m=t.suspense=Cv(t,i,r,e.parentNode,document.createElement("div"),null,a,n,u,c,!0),M=d(e,m.pendingBranch=t.ssContent,r,m,n,u);return m.deps===0&&m.resolve(!1,!0),M}function H8(e){const{shapeFlag:t,children:r}=e,i=t&32;e.ssContent=Cm(i?r.default:r),e.ssFallback=i?Cm(r.fallback):Zt(tr)}function Cm(e){let t;if(Qe(e)){const r=ha&&e._c;r&&(e._d=!1,tt()),e=e(),r&&(e._d=!0,t=Wr,__())}if(ze(e)){const r=Iv(e);r||Ue(" slots expect a single root node."),e=r}return e=Ur(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function W2(e,t){t&&t.pendingBranch?ze(e)?t.effects.push(...e):t.effects.push(e):Qf(e)}function es(e,t){e.activeBranch=t;const{vnode:r,parentComponent:i}=e,a=r.el=t.el;i&&i.subTree===r&&(i.vnode.el=a,Pv(i,a))}function q8(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function K2(e,t){return bu(e,null,t)}function V2(e,t){return bu(e,null,$t({},t,{flush:"post"}))}function W8(e,t){return bu(e,null,$t({},t,{flush:"sync"}))}const Zu={};function lr(e,t,r){return Qe(t)||Ue("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),bu(e,t,r)}function bu(e,t,{immediate:r,deep:i,flush:a,onTrack:n,onTrigger:u}=kt){var c;t||(r!==void 0&&Ue('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&Ue('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const d=W=>{Ue("Invalid watch source: ",W,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},m=g2()===((c=Qt)==null?void 0:c.scope)?Qt:null;let M,S=!1,R=!1;if(Xt(e)?(M=()=>e.value,S=Yf(e)):go(e)?(M=()=>e,i=!0):ze(e)?(R=!0,S=e.some(W=>go(W)||Yf(W)),M=()=>e.map(W=>{if(Xt(W))return W.value;if(go(W))return Xo(W);if(Qe(W))return rn(W,m,2);d(W)})):Qe(e)?t?M=()=>rn(e,m,2):M=()=>{if(!(m&&m.isUnmounted))return C&&C(),Zr(e,m,3,[I])}:(M=qr,d(e)),t&&i){const W=M;M=()=>Xo(W())}let C,I=W=>{C=F.onStop=()=>{rn(W,m,4)}},$;if(ds)if(I=qr,t?r&&Zr(t,m,3,[M(),R?[]:void 0,I]):M(),a==="sync"){const W=L_();$=W.__watcherHandles||(W.__watcherHandles=[])}else return qr;let L=R?new Array(e.length).fill(Zu):Zu;const P=()=>{if(F.active)if(t){const W=F.run();(i||S||(R?W.some((Y,oe)=>xo(Y,L[oe])):xo(W,L)))&&(C&&C(),Zr(t,m,3,[W,L===Zu?void 0:R&&L[0]===Zu?[]:L,I]),L=W)}else F.run()};P.allowRecurse=!!t;let B;a==="sync"?B=P:a==="post"?B=()=>gr(P,m&&m.suspense):(P.pre=!0,m&&(P.id=m.uid),B=()=>mu(P));const F=new hs(M,B);F.onTrack=n,F.onTrigger=u,t?r?P():L=F.run():a==="post"?gr(F.run.bind(F),m&&m.suspense):F.run();const N=()=>{F.stop(),m&&m.scope&&hv(m.scope.effects,F)};return $&&$.push(N),N}function K8(e,t,r){const i=this.proxy,a=Vt(e)?e.includes(".")?z2(i,e):()=>i[e]:e.bind(i,i);let n;Qe(t)?n=t:(n=t.handler,r=t);const u=Qt;To(this);const c=bu(a,n.bind(i),r);return u?To(u):wo(),c}function z2(e,t){const r=t.split(".");return()=>{let i=e;for(let a=0;a{Xo(r,t)});else if(h2(e))for(const r in e)Xo(e[r],t);return e}function G2(e){cE(e)&&Ue("Do not use built-in directive ids as custom directive id: "+e)}function dl(e,t){const r=er;if(r===null)return Ue("withDirectives can only be used inside render functions."),e;const i=Ch(r)||r.proxy,a=e.dirs||(e.dirs=[]);for(let n=0;n{e.isMounted=!0}),Oh(()=>{e.isUnmounting=!0}),e}const ni=[Function,Array],Lv={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ni,onEnter:ni,onAfterEnter:ni,onEnterCancelled:ni,onBeforeLeave:ni,onLeave:ni,onAfterLeave:ni,onLeaveCancelled:ni,onBeforeAppear:ni,onAppear:ni,onAfterAppear:ni,onAppearCancelled:ni},V8={name:"BaseTransition",props:Lv,setup(e,{slots:t}){const r=ji(),i=Bv();let a;return()=>{const n=t.default&&Rh(t.default(),!0);if(!n||!n.length)return;let u=n[0];if(n.length>1){let $=!1;for(const L of n)if(L.type!==tr){if($){Ue(" can only be used on a single element or component. Use for lists.");break}u=L,$=!0}}const c=lt(e),{mode:d}=c;if(d&&d!=="in-out"&&d!=="out-in"&&d!=="default"&&Ue(`invalid mode: ${d}`),i.isLeaving)return Fc(u);const m=Bm(u);if(!m)return Fc(u);const M=cs(m,c,i,r);la(m,M);const S=r.subTree,R=S&&Bm(S);let C=!1;const{getTransitionKey:I}=m.type;if(I){const $=I();a===void 0?a=$:$!==a&&(a=$,C=!0)}if(R&&R.type!==tr&&(!Ni(m,R)||C)){const $=cs(R,c,i,r);if(la(R,$),d==="out-in")return i.isLeaving=!0,$.afterLeave=()=>{i.isLeaving=!1,r.update.active!==!1&&r.update()},Fc(u);d==="in-out"&&m.type!==tr&&($.delayLeave=(L,P,B)=>{const F=Z2(i,R);F[String(R.key)]=R,L[oo]=()=>{P(),L[oo]=void 0,delete M.delayedLeave},M.delayedLeave=B})}return u}}},Y2=V8;function Z2(e,t){const{leavingVNodes:r}=e;let i=r.get(t.type);return i||(i=Object.create(null),r.set(t.type,i)),i}function cs(e,t,r,i){const{appear:a,mode:n,persisted:u=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:m,onEnterCancelled:M,onBeforeLeave:S,onLeave:R,onAfterLeave:C,onLeaveCancelled:I,onBeforeAppear:$,onAppear:L,onAfterAppear:P,onAppearCancelled:B}=t,F=String(e.key),N=Z2(r,e),W=(J,V)=>{J&&Zr(J,i,9,V)},Y=(J,V)=>{const ce=V[1];W(J,V),ze(J)?J.every(_=>_.length<=1)&&ce():J.length<=1&&ce()},oe={mode:n,persisted:u,beforeEnter(J){let V=c;if(!r.isMounted)if(a)V=$||c;else return;J[oo]&&J[oo](!0);const ce=N[F];ce&&Ni(e,ce)&&ce.el[oo]&&ce.el[oo](),W(V,[J])},enter(J){let V=d,ce=m,_=M;if(!r.isMounted)if(a)V=L||d,ce=P||m,_=B||M;else return;let o=!1;const f=J[Xu]=l=>{o||(o=!0,l?W(_,[J]):W(ce,[J]),oe.delayedLeave&&oe.delayedLeave(),J[Xu]=void 0)};V?Y(V,[J,f]):f()},leave(J,V){const ce=String(e.key);if(J[Xu]&&J[Xu](!0),r.isUnmounting)return V();W(S,[J]);let _=!1;const o=J[oo]=f=>{_||(_=!0,V(),f?W(I,[J]):W(C,[J]),J[oo]=void 0,N[ce]===e&&delete N[ce])};N[ce]=e,R?Y(R,[J,o]):o()},clone(J){return cs(J,t,r,i)}};return oe}function Fc(e){if(js(e))return e=di(e),e.children=null,e}function Bm(e){return js(e)?e.children?e.children[0]:void 0:e}function la(e,t){e.shapeFlag&6&&e.component?la(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rh(e,t=!1,r){let i=[],a=0;for(let n=0;n1)for(let n=0;n$t({name:e.name},t,{setup:e}))():e}const na=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function z8(e){Qe(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:i,delay:a=200,timeout:n,suspensible:u=!0,onError:c}=e;let d=null,m,M=0;const S=()=>(M++,d=null,R()),R=()=>{let C;return d||(C=d=t().catch(I=>{if(I=I instanceof Error?I:new Error(String(I)),c)return new Promise(($,L)=>{c(I,()=>$(S()),()=>L(I),M+1)});throw I}).then(I=>{if(C!==d&&d)return d;if(I||Ue("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),I&&(I.__esModule||I[Symbol.toStringTag]==="Module")&&(I=I.default),I&&!Rt(I)&&!Qe(I))throw new Error(`Invalid async component load result: ${I}`);return m=I,I}))};return Fs({name:"AsyncComponentWrapper",__asyncLoader:R,get __asyncResolved(){return m},setup(){const C=Qt;if(m)return()=>jc(m,C);const I=B=>{d=null,Ma(B,C,13,!i)};if(u&&C.suspense||ds)return R().then(B=>()=>jc(B,C)).catch(B=>(I(B),()=>i?Zt(i,{error:B}):null));const $=mr(!1),L=mr(),P=mr(!!a);return a&&setTimeout(()=>{P.value=!1},a),n!=null&&setTimeout(()=>{if(!$.value&&!L.value){const B=new Error(`Async component timed out after ${n}ms.`);I(B),L.value=B}},n),R().then(()=>{$.value=!0,C.parent&&js(C.parent.vnode)&&mu(C.parent.update)}).catch(B=>{I(B),L.value=B}),()=>{if($.value&&m)return jc(m,C);if(L.value&&i)return Zt(i,{error:L.value});if(r&&!P.value)return Zt(r)}}})}function jc(e,t){const{ref:r,props:i,children:a,ce:n}=t.vnode,u=Zt(e,i,a);return u.ref=r,u.ce=n,delete t.vnode.ce,u}const js=e=>e.type.__isKeepAlive,G8={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=ji(),i=r.ctx;if(!i.renderer)return()=>{const B=t.default&&t.default();return B&&B.length===1?B[0]:B};const a=new Map,n=new Set;let u=null;r.__v_cache=a;const c=r.suspense,{renderer:{p:d,m,um:M,o:{createElement:S}}}=i,R=S("div");i.activate=(B,F,N,W,Y)=>{const oe=B.component;m(B,F,N,0,c),d(oe.vnode,B,F,N,oe,c,W,B.slotScopeIds,Y),gr(()=>{oe.isDeactivated=!1,oe.a&&uo(oe.a);const J=B.props&&B.props.onVnodeMounted;J&&Dr(J,oe.parent,B)},c),W0(oe)},i.deactivate=B=>{const F=B.component;m(B,R,null,1,c),gr(()=>{F.da&&uo(F.da);const N=B.props&&B.props.onVnodeUnmounted;N&&Dr(N,F.parent,B),F.isDeactivated=!0},c),W0(F)};function C(B){Uc(B),M(B,r,c,!0)}function I(B){a.forEach((F,N)=>{const W=ou(F.type);W&&(!B||!B(W))&&$(N)})}function $(B){const F=a.get(B);!u||!Ni(F,u)?C(F):u&&Uc(u),a.delete(B),n.delete(B)}lr(()=>[e.include,e.exclude],([B,F])=>{B&&I(N=>Tf(B,N)),F&&I(N=>!Tf(F,N))},{flush:"post",deep:!0});let L=null;const P=()=>{L!=null&&a.set(L,Hc(r.subTree))};return Us(P),Th(P),Oh(()=>{a.forEach(B=>{const{subTree:F,suspense:N}=r,W=Hc(F);if(B.type===W.type&&B.key===W.key){Uc(W);const Y=W.component.da;Y&&gr(Y,N);return}C(B)})}),()=>{if(L=null,!t.default)return null;const B=t.default(),F=B[0];if(B.length>1)return Ue("KeepAlive should contain exactly one component child."),u=null,B;if(!kn(F)||!(F.shapeFlag&4)&&!(F.shapeFlag&128))return u=null,F;let N=Hc(F);const W=N.type,Y=ou(na(N)?N.type.__asyncResolved||{}:W),{include:oe,exclude:J,max:V}=e;if(oe&&(!Y||!Tf(oe,Y))||J&&Y&&Tf(J,Y))return u=N,F;const ce=N.key==null?W:N.key,_=a.get(ce);return N.el&&(N=di(N),F.shapeFlag&128&&(F.ssContent=N)),L=ce,_?(N.el=_.el,N.component=_.component,N.transition&&la(N,N.transition),N.shapeFlag|=512,n.delete(ce),n.add(ce)):(n.add(ce),V&&n.size>parseInt(V,10)&&$(n.values().next().value)),N.shapeFlag|=256,u=N,q2(F.type)?F:N}}},Y8=G8;function Tf(e,t){return ze(e)?e.some(r=>Tf(r,t)):Vt(e)?e.split(",").includes(t):hE(e)?e.test(t):!1}function X2(e,t){Q2(e,"a",t)}function J2(e,t){Q2(e,"da",t)}function Q2(e,t,r=Qt){const i=e.__wdc||(e.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Ah(t,i,r),r){let a=r.parent;for(;a&&a.parent;)js(a.parent.vnode)&&Z8(i,t,r,a),a=a.parent}}function Z8(e,t,r,i){const a=Ah(t,e,i,!0);Ih(()=>{hv(i[t],a)},r)}function Uc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Hc(e){return e.shapeFlag&128?e.ssContent:e}function Ah(e,t,r=Qt,i=!1){if(r){const a=r[e]||(r[e]=[]),n=t.__weh||(t.__weh=(...u)=>{if(r.isUnmounted)return;ba(),To(r);const c=Zr(t,r,e,u);return wo(),wa(),c});return i?a.unshift(n):a.push(n),n}else{const a=En(xv[e].replace(/ hook$/,""));Ue(`${a} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const zn=e=>(t,r=Qt)=>(!ds||e==="sp")&&Ah(e,(...i)=>t(...i),r),e_=zn("bm"),Us=zn("m"),Nv=zn("bu"),Th=zn("u"),Oh=zn("bum"),Ih=zn("um"),t_=zn("sp"),r_=zn("rtg"),i_=zn("rtc");function n_(e,t=Qt){Ah("ec",e,t)}const Ul="components",X8="directives";function J8(e,t){return kv(Ul,e,!0,t)||e}const o_=Symbol.for("v-ndc");function Q8(e){return Vt(e)?kv(Ul,e,!1)||e:e||o_}function e5(e){return kv(X8,e)}function kv(e,t,r=!0,i=!1){const a=er||Qt;if(a){const n=a.type;if(e===Ul){const c=ou(n,!1);if(c&&(c===t||c===Kr(t)||c===So(Kr(t))))return n}const u=Lm(a[e]||n[e],t)||Lm(a.appContext[e],t);if(!u&&i)return n;if(r&&!u){const c=e===Ul?` +If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";Ue(`Failed to resolve ${e.slice(0,-1)}: ${t}${c}`)}return u}else Ue(`resolve${So(e.slice(0,-1))} can only be used in render() or setup().`)}function Lm(e,t){return e&&(e[t]||e[Kr(t)]||e[So(Kr(t))])}function Pi(e,t,r,i){let a;const n=r&&r[i];if(ze(e)||Vt(e)){a=new Array(e.length);for(let u=0,c=e.length;ut(u,c,void 0,n&&n[c]));else{const u=Object.keys(e);a=new Array(u.length);for(let c=0,d=u.length;c{const n=i.fn(...a);return n&&(n.key=i.key),n}:i.fn)}return e}function V0(e,t,r={},i,a){if(er.isCE||er.parent&&na(er.parent)&&er.parent.isCE)return t!=="default"&&(r.name=t),Zt("slot",r,i&&i());let n=e[t];n&&n.length>1&&(Ue("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),n=()=>[]),n&&n._c&&(n._d=!1),tt();const u=n&&a_(n(r)),c=jv(Bt,{key:r.key||u&&u.key||`_${t}`},u||(i?i():[]),u&&e._===1?64:-2);return!a&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),n&&n._c&&(n._d=!0),c}function a_(e){return e.some(t=>kn(t)?!(t.type===tr||t.type===Bt&&!a_(t.children)):!0)?e:null}function r5(e,t){const r={};if(!Rt(e))return Ue("v-on with no argument expects an object value."),r;for(const i in e)r[t&&/[A-Z]/.test(i)?`on:${i}`:En(i)]=e[i];return r}const z0=e=>e?T_(e)?Ch(e)||e.proxy:z0(e.parent):null,oa=$t(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Ga(e.props),$attrs:e=>Ga(e.attrs),$slots:e=>Ga(e.slots),$refs:e=>Ga(e.refs),$parent:e=>z0(e.parent),$root:e=>z0(e.root),$emit:e=>e.emit,$options:e=>Dv(e),$forceUpdate:e=>e.f||(e.f=()=>mu(e.update)),$nextTick:e=>e.n||(e.n=ho.bind(e.proxy)),$watch:e=>K8.bind(e)}),$v=e=>e==="_"||e==="$",qc=(e,t)=>e!==kt&&!e.__isScriptSetup&&wt(e,t),Df={get({_:e},t){const{ctx:r,setupState:i,data:a,props:n,accessCache:u,type:c,appContext:d}=e;if(t==="__isVue")return!0;let m;if(t[0]!=="$"){const C=u[t];if(C!==void 0)switch(C){case 1:return i[t];case 2:return a[t];case 4:return r[t];case 3:return n[t]}else{if(qc(i,t))return u[t]=1,i[t];if(a!==kt&&wt(a,t))return u[t]=2,a[t];if((m=e.propsOptions[0])&&wt(m,t))return u[t]=3,n[t];if(r!==kt&&wt(r,t))return u[t]=4,r[t];G0&&(u[t]=0)}}const M=oa[t];let S,R;if(M)return t==="$attrs"?(Tr(e,"get",t),jl()):t==="$slots"&&Tr(e,"get",t),M(e);if((S=c.__cssModules)&&(S=S[t]))return S;if(r!==kt&&wt(r,t))return u[t]=4,r[t];if(R=d.config.globalProperties,wt(R,t))return R[t];er&&(!Vt(t)||t.indexOf("__v")!==0)&&(a!==kt&&$v(t[0])&&wt(a,t)?Ue(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===er&&Ue(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,r){const{data:i,setupState:a,ctx:n}=e;return qc(a,t)?(a[t]=r,!0):a.__isScriptSetup&&wt(a,t)?(Ue(`Cannot mutate - - - - - - + + + + + + +