diff --git a/package.json b/package.json index 5743a297..bf8d7efe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fhemapp", - "version": "3.13.0", + "version": "3.13.1", "private": true, "author": "jemu75", "scripts": { diff --git a/src/components/TemplDefault.vue b/src/components/TemplDefault.vue index 251533f0..c33dcf5a 100644 --- a/src/components/TemplDefault.vue +++ b/src/components/TemplDefault.vue @@ -414,7 +414,7 @@ if(parts[1]) { result = parts.join(' '); } else { - this.log = { type: 'error', message: 'Connected Device not found. ' + this.item.Options, debugLevel: 1 }; + this.$fhem.log({ lvl: 1, msg: 'Connected Device not found. ' + this.item.Options }); } } else { result = param; @@ -428,8 +428,7 @@ clickStart(val, evt) { this.long = false; - - this.$fhem.log = { type: 'intern', message: 'ClickStart: type ' + val + ':' + evt, debugLevel: 5 }; + this.$fhem.log({ lvl: 5, msg: 'ClickStart: type ' + val + ':' + evt }) if(this.touchFirst && evt === 'mouse') return; if(evt === 'touch') this.touchFirst = true; @@ -439,7 +438,7 @@ let action = this.setup.main[this.mainLevel].[val + 'Long']; - this.$fhem.log = { type: 'intern', message: 'ClickEvent: Long ' + ' [' + action + ']', debugLevel: 5 }; + this.$fhem.log({ lvl: 5, msg: 'ClickEvent: Long ' + ' [' + action + ']' }); if(action) { let param = this.$fhem.handleVals(this.item, action); @@ -453,7 +452,7 @@ }, clickEnd(val, evt) { - this.$fhem.log = { type: 'intern', message: 'ClickEnd: type ' + val + ':' + evt, debugLevel: 5 }; + this.$fhem.log({ lvl: 5, msg: 'ClickEnd: type ' + val + ':' + evt }); if(this.touchFirst && evt === 'mouse') return; if(evt === 'touch') this.touchFirst = true; @@ -462,7 +461,7 @@ let action = this.setup.main[this.mainLevel].[val + (this.long ? 'LongRelease' : 'Click')]; - this.$fhem.log = { type: 'intern', message: 'ClickEvent: ' + (this.long ? 'LongRelease' : 'Click') + ' [' + action + ']', debugLevel: 5 }; + this.$fhem.log({ lvl: 5, msg: 'ClickEvent: ' + (this.long ? 'LongRelease' : 'Click') + ' [' + action + ']' }); if(action) { let param = this.$fhem.handleVals(this.item, action); diff --git a/www/fhemapp/index.html b/www/fhemapp/index.html index 5ff29688..e7cdba5f 100644 --- a/www/fhemapp/index.html +++ b/www/fhemapp/index.html @@ -1 +1 @@ -fhemapp
\ No newline at end of file +fhemapp
\ No newline at end of file diff --git a/www/fhemapp/js/app.3396f25c.js b/www/fhemapp/js/app.4b2b5b6a.js similarity index 99% rename from www/fhemapp/js/app.3396f25c.js rename to www/fhemapp/js/app.4b2b5b6a.js index d948d1b8..1719a8a2 100644 --- a/www/fhemapp/js/app.3396f25c.js +++ b/www/fhemapp/js/app.4b2b5b6a.js @@ -1 +1 @@ -(function(e){function t(t){for(var a,r,o=t[0],c=t[1],p=t[2],u=0,l=[];u0?(this.type=this.types[this.msgList[0].lvl],this.message=this.msgList[0].msg,this.meta=this.msgList[0].meta,this.alert=!0):(this.alert=!1,this.type="info",this.message="",this.meta="")}},mounted:function(){var e=this;this.$fhem.on("message",(function(t){var n={lvl:5,msg:"no valid message received",meta:""};Object.assign(n,t),e.msgList.unshift(n)}))},methods:{clearMessage:function(){this.msgList.length>0&&this.msgList.splice(0,1)}}}),p=c,u=n("2877"),l=n("6544"),h=n.n(l),d=n("0798"),m=n("8336"),f=n("62ad"),v=n("132d"),g=n("0fd9"),b=Object(u["a"])(p,i,o,!1,null,null,null),k=b.exports;h()(b,{VAlert:d["a"],VBtn:m["a"],VCol:f["a"],VIcon:v["a"],VRow:g["a"]});var y={components:{Broadcaster:k},data:function(){return{appBar:{color:"primary",drawer:null,clock:null,header:null},app:{options:{loading:!1,reloadBtn:!1},session:{connect:!1},data:{roomList:[],groupList:[]}},version:"v"+n("9224").version,status:{color:"secondary",icon:"mdi-circle",text:"unbekannt",time:""}}},computed:{showRooms:function(){return this.app.data.roomList.length>0},showGroups:function(){return this.app.data.groupList.length>0}},watch:{"app.session.connect":function(e){this.status.color=e?"success":"error",this.status.text=e?"online":"offline",this.status.time=this.$fhem.getDateTime()}},mounted:function(){this.app.session=this.$fhem.app.session,this.app.options=this.$fhem.app.options,this.app.data=this.$fhem.app.data,this.appBar=this.$fhem.app.appBar,this.app.options.debugMode&&(this.appBarColor="pink darken-4")},methods:{reload:function(){location.reload(!0)},goTo:function(e){var t=e||"/";this.$router.currentRoute.path!=t&&this.$router.push(t)}}},w=y,x=n("7496"),O=n("40dc"),j=n("5bc1"),R=n("cc20"),_=n("a523"),L=n("ce7e"),C=n("adda"),S=n("8860"),P=n("56b0"),A=n("da13"),D=n("5d23"),E=n("34c3"),N=n("f6c4"),B=n("f774"),V=n("a797"),T=n("490a"),F=n("2fa4"),I=n("3a2f"),M=Object(u["a"])(w,r,s,!1,null,null,null),$=M.exports;h()(M,{VApp:x["a"],VAppBar:O["a"],VAppBarNavIcon:j["a"],VBtn:m["a"],VChip:R["a"],VContainer:_["a"],VDivider:L["a"],VIcon:v["a"],VImg:C["a"],VList:S["a"],VListGroup:P["a"],VListItem:A["a"],VListItemContent:D["a"],VListItemIcon:E["a"],VListItemSubtitle:D["b"],VListItemTitle:D["c"],VMain:N["a"],VNavigationDrawer:B["a"],VOverlay:V["a"],VProgressCircular:T["a"],VSpacer:F["a"],VTooltip:I["a"]});n("d3b7"),n("3ca3"),n("ddb0");var H=n("8c4f");a["a"].use(H["a"]);var J=[{path:"/",name:"Home",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/system",name:"System",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/dashboard",name:"Dashboard",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/devices/:filter",name:"Devices",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/edit-devices",name:"EditDevice",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-085bcd30")]).then(n.bind(null,"f87a"))}},{path:"/syslog",name:"Syslog",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-2c05d556")]).then(n.bind(null,"beee"))}}],U=new H["a"]({mode:"hash",base:"",routes:J}),q=U,z=n("f309"),G=n("0fe0"),X=n.n(G),K=n("fcf4");a["a"].use(z["a"]);var W={lang:{locales:{de:X.a},current:"de"},theme:{dark:!0,themes:{dark:{primary:K["a"].grey.darken4,secondary:K["a"].grey.darken3,success:K["a"].green.accent2,accent:K["a"].green.accent2},light:{primary:K["a"].grey,secondary:K["a"].grey.lighten3,success:K["a"].green.accent3,accent:K["a"].green.accent3}}}},Z=new z["a"](W),Q=n("1321"),Y=n.n(Q),ee=(n("159b"),n("466d"),n("ac1f"),n("a925"));function te(){var e=n("49f8"),t={};return e.keys().forEach((function(n){var a=n.match(/([A-Za-z0-9-_]+)\./i);if(a&&a.length>1){var r=a[1];t[r]=e(n)}})),t}a["a"].use(ee["a"]);var ne=new ee["a"]({locale:"de",fallbackLocale:"en",messages:te()}),ae=n("b85c"),re=n("2909"),se=n("1da1"),ie=n("53ca"),oe=n("d4ec"),ce=n("bee2"),pe=n("262e"),ue=n("2caf"),le=(n("96cf"),n("fb6a"),n("1276"),n("5319"),n("13d5"),n("b64b"),n("b0c0"),n("d81d"),n("a15b"),n("b680"),n("25f0"),n("99af"),n("4d63"),n("07ac"),n("faa1")),he=n.n(le),de=function(e){Object(pe["a"])(n,e);var t=Object(ue["a"])(n);function n(){var e;return Object(oe["a"])(this,n),e=t.call(this),e.app={connection:{location:window.location.protocol+"//"+window.location.hostname,port:window.location.port,path:"fhem"},socket:null,session:{connect:!1,ready:!1,csrf:null,restart:!1,restartCnt:0,logList:[]},options:{lang:"de",debugMode:!1,debugLevel:5,loading:!1,loadCount:0,clockInterval:5e3,clock:null,date:null,maxChartPoints:100,updateProcess:!1,logRecord:!0,logBuffer:500,ignoreFhemRoom:!1,ignoreFhemGroup:!1,ignoreFhemSortby:!1,mobileHeader:!1},theme:{dark:!0,themes:{}},appBar:{color:"primary",drawer:!1,clock:null,header:null},templates:[],componentMap:[{name:"panel",component:"templ_panel"},{name:"chart",component:"templ_chart"},{name:"weather",component:"templ_weather"},{name:"sysmon",component:"templ_sysmon"},{name:"hmlan",component:"templ_hmlan"},{name:"sonos",component:"templ_sonos"},{name:"scenes",component:"templ_scenes"}],data:{roomList:[],groupList:[],deviceList:[],routeList:[],header:""}},e}return Object(ce["a"])(n,[{key:"loading",set:function(e){e&&this.app.options.loadCount++,!e&&this.app.options.loadCount>0&&this.app.options.loadCount--,this.app.options.loadCount>0&&!this.app.options.loading&&(this.app.options.loading=!0),0===this.app.options.loadCount&&(this.app.options.loading=!1)}},{key:"log",value:function(e){var t=["","mdi-alert-outline","mdi-connection","mdi-send-circle-outline","mdi-sync","mdi-hexagon-multiple-outline"],n=["","error","info","success","success","warning"],a=(new Date).toLocaleTimeString(this.app.options.lang),r=(new Date).getMilliseconds(),s={time:a+":"+("000"+r).slice(-3),msg:e.msg||"",lvl:e.lvl||5,icon:t[e.lvl||5],color:n[e.lvl||5]};this.app.options.logRecord&&s.lvl<=this.app.options.debugLevel&&(this.app.session.logList.unshift(s),this.app.session.logList.length>this.app.options.logBuffer&&(this.app.session.logList.length=this.app.options.logBuffer)),1==s.lvl&&this.emit("message",s)}},{key:"getDate",value:function(e){var t=e?parseInt(e):0;return function(e){return new Date(e.setDate(e.getDate()+t)).toISOString()}(new Date).split("T")[0]}},{key:"getDateTime",value:function(e){var t=e||(new Date).toISOString();return new Date(t.replace(" ","T")).toLocaleString(this.app.options.lang,{dateStyle:"short",timeStyle:"medium"}).replace(",","")}},{key:"createURL",value:function(e){var t=this.app.connection,n=t.location?t.location:"",a=t.port?":"+t.port.replace(":",""):"",r=t.path?"/"+t.path.replace("/",""):"",s="";return"object"==Object(ie["a"])(e)&&e.length>0&&e.forEach((function(e){e.param&&e.value&&(s+=s?"&":"?",s+=e.param+"="+encodeURIComponent(e.value))})),n+a+r+s}},{key:"getEl",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a0?r.push.apply(r,Object(re["a"])(t)):r.push(t)),"string"===typeof t&&r.push({param:"cmd",value:t}),s=this.createURL(r),this.log({lvl:3,msg:"Request: "+s}),e.next=9,fetch(s).then((function(e){var t=null;return"csrf"===n&&(t=e.headers.get("x-fhem-csrftoken")),"json"===n&&(t=e.json()),t||(t=e.text()),"object"===Object(ie["a"])(a)?Object.assign(a,{data:t}):t})).catch((function(e){return i.log({lvl:1,msg:e.message+" - Request: "+s})}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e,this)})));function t(t,n,a){return e.apply(this,arguments)}return t}()},{key:"getJsonFile",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=new Headers,n.append("pragma","no-cache"),n.append("cache-control","no-cache"),a={method:"GET",headers:n},this.log({lvl:5,msg:"Read Json-Data from "+t}),e.next=7,fetch(t,a).then((function(e){return e.json()}));case 7:return r=e.sent,r||this.log({lvl:1,msg:"No Json-Data found at "+t}),e.next=11,r;case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"readConfig",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getJsonFile(t);case 2:if(n=e.sent,n){for(a=0,r=Object.keys(n);a0)){e.next=41;break}n=[],a=[],this.app.data.routeList.splice(0),r=Object(ae["a"])(t.Results),e.prev=8,r.s();case 10:if((s=r.n()).done){e.next=27;break}return i=s.value,e.next=14,this.createOptions(i);case 14:if(o=e.sent,!o.template){e.next=25;break}return e.next=18,this.getTemplate(o);case 18:c=e.sent,c&&this.app.templates.push(c),o.room&&this.createNaviItems(o,n,"room"),o.group&&this.createNaviItems(o,a,"group"),o.home&&this.createRoutes(o,"/"),o.dashboard&&this.createRoutes(o,"/dashboard"),o.system&&this.createRoutes(o,"/system");case 25:e.next=10;break;case 27:e.next=32;break;case 29:e.prev=29,e.t0=e["catch"](8),r.e(e.t0);case 32:return e.prev=32,r.f(),e.finish(32);case 35:n.sort((function(e,t){return e.title>t.title?1:t.title>e.title?-1:0})),a.sort((function(e,t){return e.title>t.title?1:t.title>e.title?-1:0})),this.app.data.roomList=Object.assign([],n),this.app.data.groupList=Object.assign([],a),this.app.session.ready=!0,this.loading=!1;case 41:case"end":return e.stop()}}),e,this,[[8,29,32,35]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"createConnected",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r,s,i,o,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n={},!("connected"in t.Options)){e.next=20;break}a=Object.keys(t.Options.connected),r=0,s=a;case 4:if(!(rt.Options.sortby?1:t.Options.sortby>e.Options.sortby?-1:0})),this.app.data.deviceList=Object.assign([],s),this.loading=!1),i++;case 37:e.next=14;break;case 39:e.next=44;break;case 41:e.prev=41,e.t0=e["catch"](12),o.e(e.t0);case 44:return e.prev=44,o.f(),e.finish(44);case 47:case"end":return e.stop()}}),e,this,[[12,41,44,47]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"checkUpdate",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(){var t,n,a,r,s,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.request([{param:"cmd",value:"update check"},{param:"XHR",value:"1"}]);case 2:if(t=e.sent,n=0,t){a=t.split("\n").splice(2),r=Object(ae["a"])(a);try{for(r.s();!(s=r.n()).done;)i=s.value,i.match("UPD")&&!i.match("excluded")&&n++}catch(o){r.e(o)}finally{r.f()}}return e.abrupt("return",n>0);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"handleLogData",value:function(e){var t=e.split("\n");t.length>3&&t.splice(-3,3);var n,a=[],r=t.length>this.app.options.maxChartPoints?parseInt(t.length/this.app.options.maxChartPoints):1,s=r,i=0,o=1,c=Object(ae["a"])(t);try{for(c.s();!(n=c.n()).done;){var p=n.value,u=p.split(" "),l=Date.parse(u[0].replace("_","T")),h=parseFloat(u[1]);i+=h,(o>=s||o===t.length)&&(o===t.length&&(r-=s-o),a.push({timestamp:l,value:i/r}),s+=r,i=0),o++}}catch(d){c.e(d)}finally{c.f()}return this.log({lvl:5,msg:"handle Chartdata (Lines: "+t.length+")"}),a}},{key:"readLogData",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r,s,i,o,c,p,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=[],this.loading=!0,!(t.defs&&t.defs.length>0)){e.next=40;break}a=0,r=Object(ae["a"])(t.defs),e.prev=5,r.s();case 7:if((s=r.n()).done){e.next=32;break}return i=s.value,o=/\(.*\)/.exec(i),c=o?i.replace(o[0],"_").split(":"):i.split(":"),p="get ",p+=c[0]?c[0]:t.deviceName,p+=t.from?" - - "+t.from:"",p+=t.to?" "+t.to:"",p+=o?" "+o[0].replace(/\(|\)/g,""):" 4:"+c[1],e.next=18,this.request([{param:"cmd",value:p},{param:"XHR",value:"1"}],"text",{id:a});case 18:if(u=e.sent,!u){e.next=29;break}return e.t0=n,e.t1=u.id,e.t2=this,e.next=25,u.data;case 25:e.t3=e.sent,e.t4=e.t2.handleLogData.call(e.t2,e.t3),e.t5={id:e.t1,data:e.t4},e.t0.push.call(e.t0,e.t5);case 29:a++;case 30:e.next=7;break;case 32:e.next=37;break;case 34:e.prev=34,e.t6=e["catch"](5),r.e(e.t6);case 37:return e.prev=37,r.f(),e.finish(37);case 40:return this.loading=!1,e.abrupt("return",Object.assign(t,{data:n}));case 42:case"end":return e.stop()}}),e,this,[[5,34,37,40]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"replaceVals",value:function(e,t){for(var n=/-?[0-9]/.exec(t),a=[],r=2;r0){var a,r=Object(ae["a"])(t);try{for(r.s();!(a=r.n()).done;){var s=a.value,i=s.split(":");if(i.length>2){var o=i[0].match(/\./)?i[0].split("."):["Readings",i[0],"Value"],c=this.getEl.apply(this,[e].concat(Object(re["a"])(o)))||this.getEl(e,"Readings",i[0],"Value");if(c){var p=!1;if(isNaN(parseFloat(i[1])))RegExp(i[1]?i[1]:".").test(c)&&(p=!0);else{var u=/-?[0-9]/.exec(c);-1!=u.index&&parseFloat(c.slice(u.index))>=parseFloat(i[1])&&(p=!0)}if(p){n=this.replaceVals(i,c);break}}}}}catch(l){r.e(l)}finally{r.f()}}return n}},{key:"handleData",value:function(e){var t=JSON.parse(e),n=null;if(!t[2].match("0){var s=this.handleData(r);if(s){var i,o=0,c=Object(ae["a"])(this.app.data.deviceList);try{for(c.s();!(i=c.n()).done;){var p=i.value,u=this.app.data.deviceList[o],l=Object.assign({},u);if(p.Name===s.Name&&("Readings"===s.devicePart&&this.getEl(l,"Readings",s.param,s.paramPart)&&(l.Readings[s.param][s.paramPart]=s.value),"Attributes"===s.devicePart&&this.getEl(l,"Attributes",s.param)&&(l.Attributes[s.param]=s.value),this.app.data.deviceList.splice(o,1,l)),"Connected"in p)for(var h=0,d=0,m=Object.values(p.Connected);d0?(this.type=this.types[this.msgList[0].lvl],this.message=this.msgList[0].msg,this.meta=this.msgList[0].meta,this.alert=!0):(this.alert=!1,this.type="info",this.message="",this.meta="")}},mounted:function(){var e=this;this.$fhem.on("message",(function(t){var n={lvl:5,msg:"no valid message received",meta:""};Object.assign(n,t),e.msgList.unshift(n)}))},methods:{clearMessage:function(){this.msgList.length>0&&this.msgList.splice(0,1)}}}),p=c,u=n("2877"),l=n("6544"),h=n.n(l),d=n("0798"),m=n("8336"),f=n("62ad"),v=n("132d"),g=n("0fd9"),b=Object(u["a"])(p,i,o,!1,null,null,null),k=b.exports;h()(b,{VAlert:d["a"],VBtn:m["a"],VCol:f["a"],VIcon:v["a"],VRow:g["a"]});var y={components:{Broadcaster:k},data:function(){return{appBar:{color:"primary",drawer:null,clock:null,header:null},app:{options:{loading:!1,reloadBtn:!1},session:{connect:!1},data:{roomList:[],groupList:[]}},version:"v"+n("9224").version,status:{color:"secondary",icon:"mdi-circle",text:"unbekannt",time:""}}},computed:{showRooms:function(){return this.app.data.roomList.length>0},showGroups:function(){return this.app.data.groupList.length>0}},watch:{"app.session.connect":function(e){this.status.color=e?"success":"error",this.status.text=e?"online":"offline",this.status.time=this.$fhem.getDateTime()}},mounted:function(){this.app.session=this.$fhem.app.session,this.app.options=this.$fhem.app.options,this.app.data=this.$fhem.app.data,this.appBar=this.$fhem.app.appBar,this.app.options.debugMode&&(this.appBarColor="pink darken-4")},methods:{reload:function(){location.reload(!0)},goTo:function(e){var t=e||"/";this.$router.currentRoute.path!=t&&this.$router.push(t)}}},w=y,x=n("7496"),O=n("40dc"),j=n("5bc1"),R=n("cc20"),_=n("a523"),L=n("ce7e"),C=n("adda"),S=n("8860"),P=n("56b0"),A=n("da13"),D=n("5d23"),E=n("34c3"),N=n("f6c4"),B=n("f774"),V=n("a797"),T=n("490a"),F=n("2fa4"),I=n("3a2f"),M=Object(u["a"])(w,r,s,!1,null,null,null),$=M.exports;h()(M,{VApp:x["a"],VAppBar:O["a"],VAppBarNavIcon:j["a"],VBtn:m["a"],VChip:R["a"],VContainer:_["a"],VDivider:L["a"],VIcon:v["a"],VImg:C["a"],VList:S["a"],VListGroup:P["a"],VListItem:A["a"],VListItemContent:D["a"],VListItemIcon:E["a"],VListItemSubtitle:D["b"],VListItemTitle:D["c"],VMain:N["a"],VNavigationDrawer:B["a"],VOverlay:V["a"],VProgressCircular:T["a"],VSpacer:F["a"],VTooltip:I["a"]});n("d3b7"),n("3ca3"),n("ddb0");var H=n("8c4f");a["a"].use(H["a"]);var J=[{path:"/",name:"Home",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/system",name:"System",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/dashboard",name:"Dashboard",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/devices/:filter",name:"Devices",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/edit-devices",name:"EditDevice",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-085bcd30")]).then(n.bind(null,"f87a"))}},{path:"/syslog",name:"Syslog",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-2c05d556")]).then(n.bind(null,"beee"))}}],U=new H["a"]({mode:"hash",base:"",routes:J}),q=U,z=n("f309"),G=n("0fe0"),X=n.n(G),K=n("fcf4");a["a"].use(z["a"]);var W={lang:{locales:{de:X.a},current:"de"},theme:{dark:!0,themes:{dark:{primary:K["a"].grey.darken4,secondary:K["a"].grey.darken3,success:K["a"].green.accent2,accent:K["a"].green.accent2},light:{primary:K["a"].grey,secondary:K["a"].grey.lighten3,success:K["a"].green.accent3,accent:K["a"].green.accent3}}}},Z=new z["a"](W),Q=n("1321"),Y=n.n(Q),ee=(n("159b"),n("466d"),n("ac1f"),n("a925"));function te(){var e=n("49f8"),t={};return e.keys().forEach((function(n){var a=n.match(/([A-Za-z0-9-_]+)\./i);if(a&&a.length>1){var r=a[1];t[r]=e(n)}})),t}a["a"].use(ee["a"]);var ne=new ee["a"]({locale:"de",fallbackLocale:"en",messages:te()}),ae=n("b85c"),re=n("2909"),se=n("1da1"),ie=n("53ca"),oe=n("d4ec"),ce=n("bee2"),pe=n("262e"),ue=n("2caf"),le=(n("96cf"),n("fb6a"),n("1276"),n("5319"),n("13d5"),n("b64b"),n("b0c0"),n("d81d"),n("a15b"),n("b680"),n("25f0"),n("99af"),n("4d63"),n("07ac"),n("faa1")),he=n.n(le),de=function(e){Object(pe["a"])(n,e);var t=Object(ue["a"])(n);function n(){var e;return Object(oe["a"])(this,n),e=t.call(this),e.app={connection:{location:window.location.protocol+"//"+window.location.hostname,port:window.location.port,path:"fhem"},socket:null,session:{connect:!1,ready:!1,csrf:null,restart:!1,restartCnt:0,logList:[]},options:{lang:"de",debugMode:!1,debugLevel:5,loading:!1,loadCount:0,clockInterval:5e3,clock:null,date:null,maxChartPoints:100,updateProcess:!1,logRecord:!0,logBuffer:500,ignoreFhemRoom:!1,ignoreFhemGroup:!1,ignoreFhemSortby:!1,mobileHeader:!1},theme:{dark:!0,themes:{}},appBar:{color:"primary",drawer:!1,clock:null,header:null},templates:[],componentMap:[{name:"panel",component:"templ_panel"},{name:"chart",component:"templ_chart"},{name:"weather",component:"templ_weather"},{name:"sysmon",component:"templ_sysmon"},{name:"hmlan",component:"templ_hmlan"},{name:"sonos",component:"templ_sonos"},{name:"scenes",component:"templ_scenes"}],data:{roomList:[],groupList:[],deviceList:[],routeList:[],header:""}},e}return Object(ce["a"])(n,[{key:"loading",set:function(e){e&&this.app.options.loadCount++,!e&&this.app.options.loadCount>0&&this.app.options.loadCount--,this.app.options.loadCount>0&&!this.app.options.loading&&(this.app.options.loading=!0),0===this.app.options.loadCount&&(this.app.options.loading=!1)}},{key:"log",value:function(e){var t=["","mdi-alert-outline","mdi-connection","mdi-send-circle-outline","mdi-sync","mdi-hexagon-multiple-outline"],n=["","error","info","success","success","warning"],a=(new Date).toLocaleTimeString(this.app.options.lang),r=(new Date).getMilliseconds(),s={time:a+":"+("000"+r).slice(-3),msg:e.msg||"",lvl:e.lvl||5,icon:t[e.lvl||5],color:n[e.lvl||5]};this.app.options.logRecord&&s.lvl<=this.app.options.debugLevel&&(this.app.session.logList.unshift(s),this.app.session.logList.length>this.app.options.logBuffer&&(this.app.session.logList.length=this.app.options.logBuffer)),1==s.lvl&&this.emit("message",s)}},{key:"getDate",value:function(e){var t=e?parseInt(e):0;return function(e){return new Date(e.setDate(e.getDate()+t)).toISOString()}(new Date).split("T")[0]}},{key:"getDateTime",value:function(e){var t=e||(new Date).toISOString();return new Date(t.replace(" ","T")).toLocaleString(this.app.options.lang,{dateStyle:"short",timeStyle:"medium"}).replace(",","")}},{key:"createURL",value:function(e){var t=this.app.connection,n=t.location?t.location:"",a=t.port?":"+t.port.replace(":",""):"",r=t.path?"/"+t.path.replace("/",""):"",s="";return"object"==Object(ie["a"])(e)&&e.length>0&&e.forEach((function(e){e.param&&e.value&&(s+=s?"&":"?",s+=e.param+"="+encodeURIComponent(e.value))})),n+a+r+s}},{key:"getEl",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a0?r.push.apply(r,Object(re["a"])(t)):r.push(t)),"string"===typeof t&&r.push({param:"cmd",value:t}),s=this.createURL(r),this.log({lvl:3,msg:"Request: "+s}),e.next=9,fetch(s).then((function(e){var t=null;return"csrf"===n&&(t=e.headers.get("x-fhem-csrftoken")),"json"===n&&(t=e.json()),t||(t=e.text()),"object"===Object(ie["a"])(a)?Object.assign(a,{data:t}):t})).catch((function(e){return i.log({lvl:1,msg:e.message+" - Request: "+s})}));case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),e,this)})));function t(t,n,a){return e.apply(this,arguments)}return t}()},{key:"getJsonFile",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=new Headers,n.append("pragma","no-cache"),n.append("cache-control","no-cache"),a={method:"GET",headers:n},this.log({lvl:5,msg:"Read Json-Data from "+t}),e.next=7,fetch(t,a).then((function(e){return e.json()}));case 7:return r=e.sent,r||this.log({lvl:1,msg:"No Json-Data found at "+t}),e.next=11,r;case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"readConfig",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getJsonFile(t);case 2:if(n=e.sent,n){for(a=0,r=Object.keys(n);a0)){e.next=41;break}n=[],a=[],this.app.data.routeList.splice(0),r=Object(ae["a"])(t.Results),e.prev=8,r.s();case 10:if((s=r.n()).done){e.next=27;break}return i=s.value,e.next=14,this.createOptions(i);case 14:if(o=e.sent,!o.template){e.next=25;break}return e.next=18,this.getTemplate(o);case 18:c=e.sent,c&&this.app.templates.push(c),o.room&&this.createNaviItems(o,n,"room"),o.group&&this.createNaviItems(o,a,"group"),o.home&&this.createRoutes(o,"/"),o.dashboard&&this.createRoutes(o,"/dashboard"),o.system&&this.createRoutes(o,"/system");case 25:e.next=10;break;case 27:e.next=32;break;case 29:e.prev=29,e.t0=e["catch"](8),r.e(e.t0);case 32:return e.prev=32,r.f(),e.finish(32);case 35:n.sort((function(e,t){return e.title>t.title?1:t.title>e.title?-1:0})),a.sort((function(e,t){return e.title>t.title?1:t.title>e.title?-1:0})),this.app.data.roomList=Object.assign([],n),this.app.data.groupList=Object.assign([],a),this.app.session.ready=!0,this.loading=!1;case 41:case"end":return e.stop()}}),e,this,[[8,29,32,35]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"createConnected",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r,s,i,o,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n={},!("connected"in t.Options)){e.next=20;break}a=Object.keys(t.Options.connected),r=0,s=a;case 4:if(!(rt.Options.sortby?1:t.Options.sortby>e.Options.sortby?-1:0})),this.app.data.deviceList=Object.assign([],s),this.loading=!1),i++;case 37:e.next=14;break;case 39:e.next=44;break;case 41:e.prev=41,e.t0=e["catch"](12),o.e(e.t0);case 44:return e.prev=44,o.f(),e.finish(44);case 47:case"end":return e.stop()}}),e,this,[[12,41,44,47]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"checkUpdate",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(){var t,n,a,r,s,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.request([{param:"cmd",value:"update check"},{param:"XHR",value:"1"}]);case 2:if(t=e.sent,n=0,t){a=t.split("\n").splice(2),r=Object(ae["a"])(a);try{for(r.s();!(s=r.n()).done;)i=s.value,i.match("UPD")&&!i.match("excluded")&&n++}catch(o){r.e(o)}finally{r.f()}}return e.abrupt("return",n>0);case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"handleLogData",value:function(e){var t=e.split("\n");t.length>3&&t.splice(-3,3);var n,a=[],r=t.length>this.app.options.maxChartPoints?parseInt(t.length/this.app.options.maxChartPoints):1,s=r,i=0,o=1,c=Object(ae["a"])(t);try{for(c.s();!(n=c.n()).done;){var p=n.value,u=p.split(" "),l=Date.parse(u[0].replace("_","T")),h=parseFloat(u[1]);i+=h,(o>=s||o===t.length)&&(o===t.length&&(r-=s-o),a.push({timestamp:l,value:i/r}),s+=r,i=0),o++}}catch(d){c.e(d)}finally{c.f()}return this.log({lvl:5,msg:"handle Chartdata (Lines: "+t.length+")"}),a}},{key:"readLogData",value:function(){var e=Object(se["a"])(regeneratorRuntime.mark((function e(t){var n,a,r,s,i,o,c,p,u;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=[],this.loading=!0,!(t.defs&&t.defs.length>0)){e.next=40;break}a=0,r=Object(ae["a"])(t.defs),e.prev=5,r.s();case 7:if((s=r.n()).done){e.next=32;break}return i=s.value,o=/\(.*\)/.exec(i),c=o?i.replace(o[0],"_").split(":"):i.split(":"),p="get ",p+=c[0]?c[0]:t.deviceName,p+=t.from?" - - "+t.from:"",p+=t.to?" "+t.to:"",p+=o?" "+o[0].replace(/\(|\)/g,""):" 4:"+c[1],e.next=18,this.request([{param:"cmd",value:p},{param:"XHR",value:"1"}],"text",{id:a});case 18:if(u=e.sent,!u){e.next=29;break}return e.t0=n,e.t1=u.id,e.t2=this,e.next=25,u.data;case 25:e.t3=e.sent,e.t4=e.t2.handleLogData.call(e.t2,e.t3),e.t5={id:e.t1,data:e.t4},e.t0.push.call(e.t0,e.t5);case 29:a++;case 30:e.next=7;break;case 32:e.next=37;break;case 34:e.prev=34,e.t6=e["catch"](5),r.e(e.t6);case 37:return e.prev=37,r.f(),e.finish(37);case 40:return this.loading=!1,e.abrupt("return",Object.assign(t,{data:n}));case 42:case"end":return e.stop()}}),e,this,[[5,34,37,40]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"replaceVals",value:function(e,t){for(var n=/-?[0-9]/.exec(t),a=[],r=2;r0){var a,r=Object(ae["a"])(t);try{for(r.s();!(a=r.n()).done;){var s=a.value,i=s.split(":");if(i.length>2){var o=i[0].match(/\./)?i[0].split("."):["Readings",i[0],"Value"],c=this.getEl.apply(this,[e].concat(Object(re["a"])(o)))||this.getEl(e,"Readings",i[0],"Value");if(c){var p=!1;if(isNaN(parseFloat(i[1])))RegExp(i[1]?i[1]:".").test(c)&&(p=!0);else{var u=/-?[0-9]/.exec(c);-1!=u.index&&parseFloat(c.slice(u.index))>=parseFloat(i[1])&&(p=!0)}if(p){n=this.replaceVals(i,c);break}}}}}catch(l){r.e(l)}finally{r.f()}}return n}},{key:"handleData",value:function(e){var t=JSON.parse(e),n=null;if(!t[2].match("0){var s=this.handleData(r);if(s){var i,o=0,c=Object(ae["a"])(this.app.data.deviceList);try{for(c.s();!(i=c.n()).done;){var p=i.value,u=this.app.data.deviceList[o],l=Object.assign({},u);if(p.Name===s.Name&&("Readings"===s.devicePart&&this.getEl(l,"Readings",s.param,s.paramPart)&&(l.Readings[s.param][s.paramPart]=s.value),"Attributes"===s.devicePart&&this.getEl(l,"Attributes",s.param)&&(l.Attributes[s.param]=s.value),this.app.data.deviceList.splice(o,1,l)),"Connected"in p)for(var h=0,d=0,m=Object.values(p.Connected);d0&&t.vals.main.leftBtn&&t.isActive?e("v-col",{staticClass:"col-3",attrs:{align:"center"}},[e("v-menu",{attrs:{bottom:"",left:"",transition:"slide-y-transition"},scopedSlots:t._u([{key:"activator",fn:function(i){var s=i.on,n=i.attrs;return[e("v-btn",t._g(t._b({attrs:{small:"",icon:""}},"v-btn",n,!1),s),[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(t.vals.main.leftBtn)+" ")])],1)]}}],null,!1,3898370877)},[e("v-list",{attrs:{dense:"",color:"secondary lighten-2"}},[e("v-list-item-group",{attrs:{"active-class":"success--text"}},t._l(t.vals.main.leftMenu,(function(i,s){return e("v-list-item",{key:s,on:{click:function(e){return t.sendCmd(i.cmd)}}},[e("v-list-item-content",[e("v-list-item-title",{staticClass:"text-subtitle-1"},[t._v(" "+t._s(i.name)+" ")])],1)],1)})),1)],1)],1)],1):t._e(),t.vals.main.leftBtn&&t.isActive?e("v-divider",{attrs:{vertical:""}}):t._e(),e("v-col",{attrs:{align:"center"}},[e("div",{staticClass:"headline font-weight-bold"},[t._v(" "+t._s(t.vals.main.text)+" ")])]),t.vals.main.text2&&t.isActive?e("v-col",{attrs:{align:"center"}},[e("div",{staticClass:"headline font-weight-bold"},[t._v(" "+t._s(t.vals.main.text2)+" ")])]):t._e(),t.vals.main.rightBtn&&t.isActive?e("v-divider",{attrs:{vertical:""}}):t._e(),0==t.vals.main.rightMenu.length&&t.vals.main.rightBtn&&t.isActive?e("v-col",{staticClass:"col-3",attrs:{align:"center"}},[e("v-btn",{attrs:{small:"",icon:"",disabled:t.vals.main.rightBtnDisabled},on:{touchstart:function(i){return t.clickStart("right","touch")},touchend:function(i){return t.clickEnd("right","touch")},mousedown:function(i){return t.clickStart("right","mouse")},mouseup:function(i){return t.clickEnd("right","mouse")}}},[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(t.vals.main.rightBtn)+" ")])],1)],1):t._e(),t.vals.main.rightMenu.length>0&&t.vals.main.rightBtn&&t.isActive?e("v-col",{staticClass:"col-3",attrs:{align:"center"}},[e("v-menu",{attrs:{bottom:"",left:"",transition:"slide-y-transition"},scopedSlots:t._u([{key:"activator",fn:function(i){var s=i.on,n=i.attrs;return[e("v-btn",t._g(t._b({attrs:{small:"",icon:""}},"v-btn",n,!1),s),[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(t.vals.main.rightBtn)+" ")])],1)]}}],null,!1,845781958)},[e("v-list",{attrs:{dense:"",color:"secondary lighten-2"}},[e("v-list-item-group",{attrs:{"active-class":"success--text"}},t._l(t.vals.main.rightMenu,(function(i,s){return e("v-list-item",{key:s,on:{click:function(e){return t.sendCmd(i.cmd)}}},[e("v-list-item-content",[e("v-list-item-title",{staticClass:"text-subtitle-1"},[t._v(" "+t._s(i.name)+" ")])],1)],1)})),1)],1)],1)],1):t._e()],1)],1),t.vals.main.slider&&t.isActive?e("v-card-text",[e("v-slider",{staticClass:"ml-5 mr-5",attrs:{min:t.vals.main.sliderMin,max:t.vals.main.sliderMax,"hide-details":"","thumb-label":"","thumb-size":"48",color:"success",step:t.vals.main.sliderStep},on:{change:t.setSlider},scopedSlots:t._u([{key:"thumb-label",fn:function(i){var s=i.value;return[e("div",{staticClass:"text-h6"},[t._v(" "+t._s(s)+" ")])]}},t.vals.main.leftBtn?{key:"prepend",fn:function(){return[e("v-icon",{on:{click:function(i){return t.clickEnd("left")}}},[t._v(" "+t._s(t.vals.main.leftBtn)+" ")])]},proxy:!0}:null,t.vals.main.rightBtn?{key:"append",fn:function(){return[e("v-icon",{on:{click:function(i){return t.clickEnd("right")}}},[t._v(" "+t._s(t.vals.main.rightBtn)+" ")])]},proxy:!0}:null],null,!0),model:{value:t.vals.main.sliderCurrent,callback:function(i){t.$set(t.vals.main,"sliderCurrent",i)},expression:"vals.main.sliderCurrent"}})],1):t._e(),e("v-divider"),e("v-system-bar",{attrs:{color:"secondary darken-1"}},[e("v-icon",{staticClass:"ml-0"},[t._v(" "+t._s(t.vals.info.left1Icon)+" ")]),t._v(t._s(t.vals.info.left1Text)+" "),e("v-icon",{staticClass:"ml-2"},[t._v(" "+t._s(t.vals.info.left2Icon)+" ")]),t._v(t._s(t.vals.info.left2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.mid1Icon))]),t._v(t._s(t.vals.info.mid1Text)+" "),e("v-icon",{staticClass:"ml-2"},[t._v(" "+t._s(t.vals.info.mid2Icon)+" ")]),t._v(t._s(t.vals.info.mid2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.right1Icon))]),t._v(t._s(t.vals.info.right1Text)+" "),e("v-icon",{staticClass:"ml-2 mr-0"},[t._v(" "+t._s(t.vals.info.right2Icon)+" ")]),t._v(t._s(t.vals.info.right2Text)+" ")],1)],1)],1)},n=[],a=e("b85c"),l=(e("1276"),e("ac1f"),e("466d"),e("5319"),e("a15b"),e("c740"),e("649b")),r={components:{jsonList:l["a"]},props:{item:{type:Object,default:function(){return{name:"default"}}}},data:function(){return{name:"default",app:{options:{debugMode:!1}},setup:{size:"col-12 col-sm-6 col-md-4 col-lg-4",status:{bar:[],error:[]},main:[{leftBtn:"",text:"Template unbekannt",rightBtn:""}],info:{left1:[],left2:[],mid1:[],mid2:[],right1:[],right2:[]}},vals:{title:"",status:{level:0,color:"",invert:!1},main:{leftBtn:"",leftBtnDisabled:!1,leftMenu:[],text:"",text2:"",slider:!1,sliderCurrent:0,sliderPrevent:!1,sliderMin:0,sliderMax:100,sliderStep:1,rightBtn:"",rightBtnDisabled:!1,rightMenu:[]},info:{left1Icon:"",left1Text:"",left2Icon:"",left2Text:"",mid1Icon:"",mid1Text:"",mid2Icon:"",mid2Text:"",right1Icon:"",right1Text:"",right2Icon:"",right2Text:""}},multiLevel:!1,multiLevelIcon:"mdi-swap-vertical",mainLevel:0,isActive:!0,timer:!1,long:!1,pendingClick:0,touchFirst:!1}},computed:{getLevel:function(){return this.vals.status.invert?100-this.vals.status.level:this.vals.status.level}},watch:{item:{immediate:!0,deep:!0,handler:function(t){var i=this.$fhem.getEl(t,"Attributes","alias")||t.Name;this.vals.title=this.$fhem.getEl(t,"Options","name")||i,this.setValues()}},setup:{deep:!0,handler:function(){this.setValues()}}},mounted:function(){this.app.options=this.$fhem.app.options;var t=this.$fhem.getEl(this.item,"Options","setup","size"),i=this.$fhem.getEl(this.item,"Options","setup","status"),e=this.$fhem.getEl(this.item,"Options","setup","main"),s=this.$fhem.getEl(this.item,"Options","setup","info");t&&(this.setup.size=t),i&&Object.assign(this.setup.status,i),e&&Object.assign(this.setup.main,e),s&&Object.assign(this.setup.info,s),this.setLevel(0)},methods:{sendCmd:function(t,i){var e=this;i?(this.pendingClick&&(clearTimeout(this.pendingClick),this.pendingClick=0),this.pendingClick=setTimeout((function(){e.$fhem.request(t)}),1e3)):this.$fhem.request(t)},updateReading:function(t){var i=t.split(" ");4===i.length&&this.$fhem.getEl(this.item,"Readings",i[2],"Value")&&(this.item.Readings[i[2]].Value=i[3])},createCmd:function(t){var i="";if(t.match("set")){var e=t.split(" ");if(e[1].match("Connected")){var s=e[1].replace("Connected.","");e[1]=this.$fhem.getEl(this.item,"Connected",s,"Internals","NAME"),e[1]?i=e.join(" "):this.log={type:"error",message:"Connected Device not found. "+this.item.Options,debugLevel:1}}else i=t}else i="set "+this.item.Name+" "+t;return i},clickStart:function(t,i){var e=this;this.long=!1,this.$fhem.log={type:"intern",message:"ClickStart: type "+t+":"+i,debugLevel:5},this.touchFirst&&"mouse"===i||("touch"===i&&(this.touchFirst=!0),this.timer=setInterval((function(){e.long=!0;var i=e.setup.main[e.mainLevel][t+"Long"];if(e.$fhem.log={type:"intern",message:"ClickEvent: Long ["+i+"]",debugLevel:5},i){var s=e.$fhem.handleVals(e.item,i);if(s[0]){var n=e.createCmd(s[0]);e.sendCmd(n),e.timer=clearInterval(e.timer)}}}),1e3))},clickEnd:function(t,i){if(this.$fhem.log={type:"intern",message:"ClickEnd: type "+t+":"+i,debugLevel:5},!this.touchFirst||"mouse"!==i){"touch"===i&&(this.touchFirst=!0),this.timer=clearInterval(this.timer);var e=this.setup.main[this.mainLevel][t+(this.long?"LongRelease":"Click")];if(this.$fhem.log={type:"intern",message:"ClickEvent: "+(this.long?"LongRelease":"Click")+" ["+e+"]",debugLevel:5},e){var s=this.$fhem.handleVals(this.item,e);if(s[0]){this.vals.main.sliderPrevent=!1;var n=this.createCmd(s[0]),a=-1!=e.findIndex((function(t){return t.match("%i")}));!this.long&&a&&this.updateReading(n),this.sendCmd(n,a)}}}},setSlider:function(t){var i=this.setup.main[this.mainLevel].slider;if(i){var e=this.$fhem.handleVals(this.item,i);if(e[0]){this.vals.main.sliderPrevent=!0;var s=this.createCmd(e[0]);s=s.replace("%v",t),this.sendCmd(s)}}},createMenu:function(t){var i=[];if(t&&t.length>0){var e,s=Object(a["a"])(t);try{for(s.s();!(e=s.n()).done;){var n=e.value,l=n.split(":");if(l.length>1){var r=this.createCmd(l[1]);i.push({name:l[0],cmd:r})}}}catch(h){s.e(h)}finally{s.f()}}return i},setLevel:function(t){isNaN(t)?(this.mainLevel++,this.mainLevel>this.setup.main.length-1&&(this.mainLevel=0)):(this.multiLevel=this.setup.main.length>1,this.mainLevel=t),this.vals.main.leftBtn=this.setup.main[this.mainLevel].leftBtn,this.vals.main.rightBtn=this.setup.main[this.mainLevel].rightBtn;var i=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text),e=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text2),s=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].leftBtn),n=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].rightBtn),a=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].slider),l=this.createMenu(this.setup.main[this.mainLevel].leftMenu),r=this.createMenu(this.setup.main[this.mainLevel].rightMenu);this.vals.main.text=i[0]||"",this.vals.main.text2=e[0]||"",this.vals.main.leftBtn=s[0]||"",this.vals.main.rightBtn=n[0]||"",this.vals.main.leftBtnDisabled=!!s[1],this.vals.main.rightBtnDisabled=!!n[1],this.vals.main.leftMenu=l,this.vals.main.rightMenu=r,this.vals.main.slider=!!a[0],this.vals.main.sliderMin=a[2]||0,this.vals.main.sliderMax=a[3]||100,this.vals.main.sliderStep=a[4]||1,this.vals.main.sliderPrevent?this.vals.main.sliderCurrent===a[1]&&(this.vals.main.sliderPrevent=!1,this.vals.main.sliderCurrent=a[1]||0):this.vals.main.sliderCurrent=a[1]||0},setValues:function(){if(this.setup.main.length>0){var t=this.$fhem.handleVals(this.item,this.setup.status.bar),i=this.$fhem.handleVals(this.item,this.setup.status.error),e=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text),s=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text2),n=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].slider),a=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].leftBtn),l=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].rightBtn),r=this.createMenu(this.setup.main[this.mainLevel].leftMenu),h=this.createMenu(this.setup.main[this.mainLevel].rightMenu),m=this.$fhem.handleVals(this.item,this.setup.info.left1),v=this.$fhem.handleVals(this.item,this.setup.info.left2),c=this.$fhem.handleVals(this.item,this.setup.info.mid1),o=this.$fhem.handleVals(this.item,this.setup.info.mid2),u=this.$fhem.handleVals(this.item,this.setup.info.right1),d=this.$fhem.handleVals(this.item,this.setup.info.right2);this.vals.status.level=t[0]||"0",this.vals.status.color=t[1]||"success",this.vals.status.invert=!!t[2],this.vals.info.left1Icon=m[1]||"",this.vals.info.left1Text=m[0]||"",this.vals.info.left2Icon=v[1]||"",this.vals.info.left2Text=v[0]||"",this.vals.info.mid1Icon=c[1]||"",this.vals.info.mid1Text=c[0]||"",this.vals.info.mid2Icon=o[1]||"",this.vals.info.mid2Text=o[0]||"",this.vals.info.right1Icon=u[1]||"",this.vals.info.right1Text=u[0]||"",this.vals.info.right2Icon=d[1]||"",this.vals.info.right2Text=d[0]||"",this.vals.main.text=e[0]||"",this.vals.main.text2=s[0]||"",this.vals.main.slider=!!n[0],this.vals.main.sliderMin=n[2]||0,this.vals.main.sliderMax=n[3]||100,this.vals.main.sliderStep=n[4]||1,this.vals.main.sliderPrevent?this.vals.main.sliderCurrent===n[1]&&(this.vals.main.sliderPrevent=!1,this.vals.main.sliderCurrent=n[1]||0):this.vals.main.sliderCurrent=n[1]||0,this.vals.main.leftBtn=a[0]||"",this.vals.main.rightBtn=l[0]||"",this.vals.main.leftBtnDisabled=!!a[1],this.vals.main.rightBtnDisabled=!!l[1],this.vals.main.leftMenu=r,this.vals.main.rightMenu=h,i.length>0?(this.vals.status.level=i[0]||"100",this.vals.status.color=i[1]||"error",this.vals.main.text=i[2]||"Fehler",this.isActive=!1):this.isActive=!0}}}},h=r,m=e("2877"),v=e("6544"),c=e.n(v),o=e("8336"),u=e("b0af"),d=e("99d9"),f=e("62ad"),g=e("ce7e"),p=e("132d"),_=e("8860"),b=e("da13"),C=e("5d23"),x=e("1baa"),L=e("e449"),k=e("8e36"),V=e("0fd9"),B=e("ba0d"),$=e("2fa4"),M=e("afd9"),I=Object(m["a"])(h,s,n,!1,null,null,null);i["default"]=I.exports;c()(I,{VBtn:o["a"],VCard:u["a"],VCardText:d["c"],VCardTitle:d["d"],VCol:f["a"],VDivider:g["a"],VIcon:p["a"],VList:_["a"],VListItem:b["a"],VListItemContent:C["a"],VListItemGroup:x["a"],VListItemTitle:C["c"],VMenu:L["a"],VProgressLinear:k["a"],VRow:V["a"],VSlider:B["a"],VSpacer:$["a"],VSystemBar:M["a"]})}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0aa92c"],{"121f":function(t,i,e){"use strict";e.r(i);var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-col",{class:t.setup.size},[e("v-card",{attrs:{dark:this.$vuetify.theme.dark,color:"secondary"}},[e("v-progress-linear",{attrs:{height:"7",value:t.getLevel,color:t.vals.status.color,"background-color":"secondary darken-1"}}),e("v-card-title",{staticClass:"text-truncate"},[t._v(" "+t._s(t.vals.title)+" "),e("v-spacer"),t.app.options.debugMode?e("jsonList",{attrs:{item:t.item}}):t._e(),t.multiLevel&&t.isActive?e("v-btn",{attrs:{small:"",icon:""},on:{click:function(i){return t.setLevel()}}},[e("v-icon",{attrs:{small:""}},[t._v(" "+t._s(t.multiLevelIcon)+" ")])],1):t._e()],1),e("v-divider"),t.vals.main.slider&&t.isActive?t._e():e("v-card-text",[e("v-row",{attrs:{align:"center"}},[0==t.vals.main.leftMenu.length&&t.vals.main.leftBtn&&t.isActive?e("v-col",{staticClass:"col-3",attrs:{align:"center"}},[e("v-btn",{attrs:{small:"",icon:"",disabled:t.vals.main.leftBtnDisabled},on:{touchstart:function(i){return t.clickStart("left","touch")},touchend:function(i){return t.clickEnd("left","touch")},mousedown:function(i){return t.clickStart("left","mouse")},mouseup:function(i){return t.clickEnd("left","mouse")}}},[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(t.vals.main.leftBtn)+" ")])],1)],1):t._e(),t.vals.main.leftMenu.length>0&&t.vals.main.leftBtn&&t.isActive?e("v-col",{staticClass:"col-3",attrs:{align:"center"}},[e("v-menu",{attrs:{bottom:"",left:"",transition:"slide-y-transition"},scopedSlots:t._u([{key:"activator",fn:function(i){var s=i.on,n=i.attrs;return[e("v-btn",t._g(t._b({attrs:{small:"",icon:""}},"v-btn",n,!1),s),[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(t.vals.main.leftBtn)+" ")])],1)]}}],null,!1,3898370877)},[e("v-list",{attrs:{dense:"",color:"secondary lighten-2"}},[e("v-list-item-group",{attrs:{"active-class":"success--text"}},t._l(t.vals.main.leftMenu,(function(i,s){return e("v-list-item",{key:s,on:{click:function(e){return t.sendCmd(i.cmd)}}},[e("v-list-item-content",[e("v-list-item-title",{staticClass:"text-subtitle-1"},[t._v(" "+t._s(i.name)+" ")])],1)],1)})),1)],1)],1)],1):t._e(),t.vals.main.leftBtn&&t.isActive?e("v-divider",{attrs:{vertical:""}}):t._e(),e("v-col",{attrs:{align:"center"}},[e("div",{staticClass:"headline font-weight-bold"},[t._v(" "+t._s(t.vals.main.text)+" ")])]),t.vals.main.text2&&t.isActive?e("v-col",{attrs:{align:"center"}},[e("div",{staticClass:"headline font-weight-bold"},[t._v(" "+t._s(t.vals.main.text2)+" ")])]):t._e(),t.vals.main.rightBtn&&t.isActive?e("v-divider",{attrs:{vertical:""}}):t._e(),0==t.vals.main.rightMenu.length&&t.vals.main.rightBtn&&t.isActive?e("v-col",{staticClass:"col-3",attrs:{align:"center"}},[e("v-btn",{attrs:{small:"",icon:"",disabled:t.vals.main.rightBtnDisabled},on:{touchstart:function(i){return t.clickStart("right","touch")},touchend:function(i){return t.clickEnd("right","touch")},mousedown:function(i){return t.clickStart("right","mouse")},mouseup:function(i){return t.clickEnd("right","mouse")}}},[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(t.vals.main.rightBtn)+" ")])],1)],1):t._e(),t.vals.main.rightMenu.length>0&&t.vals.main.rightBtn&&t.isActive?e("v-col",{staticClass:"col-3",attrs:{align:"center"}},[e("v-menu",{attrs:{bottom:"",left:"",transition:"slide-y-transition"},scopedSlots:t._u([{key:"activator",fn:function(i){var s=i.on,n=i.attrs;return[e("v-btn",t._g(t._b({attrs:{small:"",icon:""}},"v-btn",n,!1),s),[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(t.vals.main.rightBtn)+" ")])],1)]}}],null,!1,845781958)},[e("v-list",{attrs:{dense:"",color:"secondary lighten-2"}},[e("v-list-item-group",{attrs:{"active-class":"success--text"}},t._l(t.vals.main.rightMenu,(function(i,s){return e("v-list-item",{key:s,on:{click:function(e){return t.sendCmd(i.cmd)}}},[e("v-list-item-content",[e("v-list-item-title",{staticClass:"text-subtitle-1"},[t._v(" "+t._s(i.name)+" ")])],1)],1)})),1)],1)],1)],1):t._e()],1)],1),t.vals.main.slider&&t.isActive?e("v-card-text",[e("v-slider",{staticClass:"ml-5 mr-5",attrs:{min:t.vals.main.sliderMin,max:t.vals.main.sliderMax,"hide-details":"","thumb-label":"","thumb-size":"48",color:"success",step:t.vals.main.sliderStep},on:{change:t.setSlider},scopedSlots:t._u([{key:"thumb-label",fn:function(i){var s=i.value;return[e("div",{staticClass:"text-h6"},[t._v(" "+t._s(s)+" ")])]}},t.vals.main.leftBtn?{key:"prepend",fn:function(){return[e("v-icon",{on:{click:function(i){return t.clickEnd("left")}}},[t._v(" "+t._s(t.vals.main.leftBtn)+" ")])]},proxy:!0}:null,t.vals.main.rightBtn?{key:"append",fn:function(){return[e("v-icon",{on:{click:function(i){return t.clickEnd("right")}}},[t._v(" "+t._s(t.vals.main.rightBtn)+" ")])]},proxy:!0}:null],null,!0),model:{value:t.vals.main.sliderCurrent,callback:function(i){t.$set(t.vals.main,"sliderCurrent",i)},expression:"vals.main.sliderCurrent"}})],1):t._e(),e("v-divider"),e("v-system-bar",{attrs:{color:"secondary darken-1"}},[e("v-icon",{staticClass:"ml-0"},[t._v(" "+t._s(t.vals.info.left1Icon)+" ")]),t._v(t._s(t.vals.info.left1Text)+" "),e("v-icon",{staticClass:"ml-2"},[t._v(" "+t._s(t.vals.info.left2Icon)+" ")]),t._v(t._s(t.vals.info.left2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.mid1Icon))]),t._v(t._s(t.vals.info.mid1Text)+" "),e("v-icon",{staticClass:"ml-2"},[t._v(" "+t._s(t.vals.info.mid2Icon)+" ")]),t._v(t._s(t.vals.info.mid2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.right1Icon))]),t._v(t._s(t.vals.info.right1Text)+" "),e("v-icon",{staticClass:"ml-2 mr-0"},[t._v(" "+t._s(t.vals.info.right2Icon)+" ")]),t._v(t._s(t.vals.info.right2Text)+" ")],1)],1)],1)},n=[],a=e("b85c"),l=(e("1276"),e("ac1f"),e("466d"),e("5319"),e("a15b"),e("c740"),e("649b")),h={components:{jsonList:l["a"]},props:{item:{type:Object,default:function(){return{name:"default"}}}},data:function(){return{name:"default",app:{options:{debugMode:!1}},setup:{size:"col-12 col-sm-6 col-md-4 col-lg-4",status:{bar:[],error:[]},main:[{leftBtn:"",text:"Template unbekannt",rightBtn:""}],info:{left1:[],left2:[],mid1:[],mid2:[],right1:[],right2:[]}},vals:{title:"",status:{level:0,color:"",invert:!1},main:{leftBtn:"",leftBtnDisabled:!1,leftMenu:[],text:"",text2:"",slider:!1,sliderCurrent:0,sliderPrevent:!1,sliderMin:0,sliderMax:100,sliderStep:1,rightBtn:"",rightBtnDisabled:!1,rightMenu:[]},info:{left1Icon:"",left1Text:"",left2Icon:"",left2Text:"",mid1Icon:"",mid1Text:"",mid2Icon:"",mid2Text:"",right1Icon:"",right1Text:"",right2Icon:"",right2Text:""}},multiLevel:!1,multiLevelIcon:"mdi-swap-vertical",mainLevel:0,isActive:!0,timer:!1,long:!1,pendingClick:0,touchFirst:!1}},computed:{getLevel:function(){return this.vals.status.invert?100-this.vals.status.level:this.vals.status.level}},watch:{item:{immediate:!0,deep:!0,handler:function(t){var i=this.$fhem.getEl(t,"Attributes","alias")||t.Name;this.vals.title=this.$fhem.getEl(t,"Options","name")||i,this.setValues()}},setup:{deep:!0,handler:function(){this.setValues()}}},mounted:function(){this.app.options=this.$fhem.app.options;var t=this.$fhem.getEl(this.item,"Options","setup","size"),i=this.$fhem.getEl(this.item,"Options","setup","status"),e=this.$fhem.getEl(this.item,"Options","setup","main"),s=this.$fhem.getEl(this.item,"Options","setup","info");t&&(this.setup.size=t),i&&Object.assign(this.setup.status,i),e&&Object.assign(this.setup.main,e),s&&Object.assign(this.setup.info,s),this.setLevel(0)},methods:{sendCmd:function(t,i){var e=this;i?(this.pendingClick&&(clearTimeout(this.pendingClick),this.pendingClick=0),this.pendingClick=setTimeout((function(){e.$fhem.request(t)}),1e3)):this.$fhem.request(t)},updateReading:function(t){var i=t.split(" ");4===i.length&&this.$fhem.getEl(this.item,"Readings",i[2],"Value")&&(this.item.Readings[i[2]].Value=i[3])},createCmd:function(t){var i="";if(t.match("set")){var e=t.split(" ");if(e[1].match("Connected")){var s=e[1].replace("Connected.","");e[1]=this.$fhem.getEl(this.item,"Connected",s,"Internals","NAME"),e[1]?i=e.join(" "):this.$fhem.log({lvl:1,msg:"Connected Device not found. "+this.item.Options})}else i=t}else i="set "+this.item.Name+" "+t;return i},clickStart:function(t,i){var e=this;this.long=!1,this.$fhem.log({lvl:5,msg:"ClickStart: type "+t+":"+i}),this.touchFirst&&"mouse"===i||("touch"===i&&(this.touchFirst=!0),this.timer=setInterval((function(){e.long=!0;var i=e.setup.main[e.mainLevel][t+"Long"];if(e.$fhem.log({lvl:5,msg:"ClickEvent: Long ["+i+"]"}),i){var s=e.$fhem.handleVals(e.item,i);if(s[0]){var n=e.createCmd(s[0]);e.sendCmd(n),e.timer=clearInterval(e.timer)}}}),1e3))},clickEnd:function(t,i){if(this.$fhem.log({lvl:5,msg:"ClickEnd: type "+t+":"+i}),!this.touchFirst||"mouse"!==i){"touch"===i&&(this.touchFirst=!0),this.timer=clearInterval(this.timer);var e=this.setup.main[this.mainLevel][t+(this.long?"LongRelease":"Click")];if(this.$fhem.log({lvl:5,msg:"ClickEvent: "+(this.long?"LongRelease":"Click")+" ["+e+"]"}),e){var s=this.$fhem.handleVals(this.item,e);if(s[0]){this.vals.main.sliderPrevent=!1;var n=this.createCmd(s[0]),a=-1!=e.findIndex((function(t){return t.match("%i")}));!this.long&&a&&this.updateReading(n),this.sendCmd(n,a)}}}},setSlider:function(t){var i=this.setup.main[this.mainLevel].slider;if(i){var e=this.$fhem.handleVals(this.item,i);if(e[0]){this.vals.main.sliderPrevent=!0;var s=this.createCmd(e[0]);s=s.replace("%v",t),this.sendCmd(s)}}},createMenu:function(t){var i=[];if(t&&t.length>0){var e,s=Object(a["a"])(t);try{for(s.s();!(e=s.n()).done;){var n=e.value,l=n.split(":");if(l.length>1){var h=this.createCmd(l[1]);i.push({name:l[0],cmd:h})}}}catch(r){s.e(r)}finally{s.f()}}return i},setLevel:function(t){isNaN(t)?(this.mainLevel++,this.mainLevel>this.setup.main.length-1&&(this.mainLevel=0)):(this.multiLevel=this.setup.main.length>1,this.mainLevel=t),this.vals.main.leftBtn=this.setup.main[this.mainLevel].leftBtn,this.vals.main.rightBtn=this.setup.main[this.mainLevel].rightBtn;var i=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text),e=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text2),s=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].leftBtn),n=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].rightBtn),a=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].slider),l=this.createMenu(this.setup.main[this.mainLevel].leftMenu),h=this.createMenu(this.setup.main[this.mainLevel].rightMenu);this.vals.main.text=i[0]||"",this.vals.main.text2=e[0]||"",this.vals.main.leftBtn=s[0]||"",this.vals.main.rightBtn=n[0]||"",this.vals.main.leftBtnDisabled=!!s[1],this.vals.main.rightBtnDisabled=!!n[1],this.vals.main.leftMenu=l,this.vals.main.rightMenu=h,this.vals.main.slider=!!a[0],this.vals.main.sliderMin=a[2]||0,this.vals.main.sliderMax=a[3]||100,this.vals.main.sliderStep=a[4]||1,this.vals.main.sliderPrevent?this.vals.main.sliderCurrent===a[1]&&(this.vals.main.sliderPrevent=!1,this.vals.main.sliderCurrent=a[1]||0):this.vals.main.sliderCurrent=a[1]||0},setValues:function(){if(this.setup.main.length>0){var t=this.$fhem.handleVals(this.item,this.setup.status.bar),i=this.$fhem.handleVals(this.item,this.setup.status.error),e=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text),s=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].text2),n=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].slider),a=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].leftBtn),l=this.$fhem.handleVals(this.item,this.setup.main[this.mainLevel].rightBtn),h=this.createMenu(this.setup.main[this.mainLevel].leftMenu),r=this.createMenu(this.setup.main[this.mainLevel].rightMenu),m=this.$fhem.handleVals(this.item,this.setup.info.left1),v=this.$fhem.handleVals(this.item,this.setup.info.left2),c=this.$fhem.handleVals(this.item,this.setup.info.mid1),o=this.$fhem.handleVals(this.item,this.setup.info.mid2),u=this.$fhem.handleVals(this.item,this.setup.info.right1),d=this.$fhem.handleVals(this.item,this.setup.info.right2);this.vals.status.level=t[0]||"0",this.vals.status.color=t[1]||"success",this.vals.status.invert=!!t[2],this.vals.info.left1Icon=m[1]||"",this.vals.info.left1Text=m[0]||"",this.vals.info.left2Icon=v[1]||"",this.vals.info.left2Text=v[0]||"",this.vals.info.mid1Icon=c[1]||"",this.vals.info.mid1Text=c[0]||"",this.vals.info.mid2Icon=o[1]||"",this.vals.info.mid2Text=o[0]||"",this.vals.info.right1Icon=u[1]||"",this.vals.info.right1Text=u[0]||"",this.vals.info.right2Icon=d[1]||"",this.vals.info.right2Text=d[0]||"",this.vals.main.text=e[0]||"",this.vals.main.text2=s[0]||"",this.vals.main.slider=!!n[0],this.vals.main.sliderMin=n[2]||0,this.vals.main.sliderMax=n[3]||100,this.vals.main.sliderStep=n[4]||1,this.vals.main.sliderPrevent?this.vals.main.sliderCurrent===n[1]&&(this.vals.main.sliderPrevent=!1,this.vals.main.sliderCurrent=n[1]||0):this.vals.main.sliderCurrent=n[1]||0,this.vals.main.leftBtn=a[0]||"",this.vals.main.rightBtn=l[0]||"",this.vals.main.leftBtnDisabled=!!a[1],this.vals.main.rightBtnDisabled=!!l[1],this.vals.main.leftMenu=h,this.vals.main.rightMenu=r,i.length>0?(this.vals.status.level=i[0]||"100",this.vals.status.color=i[1]||"error",this.vals.main.text=i[2]||"Fehler",this.isActive=!1):this.isActive=!0}}}},r=h,m=e("2877"),v=e("6544"),c=e.n(v),o=e("8336"),u=e("b0af"),d=e("99d9"),f=e("62ad"),g=e("ce7e"),p=e("132d"),_=e("8860"),C=e("da13"),b=e("5d23"),x=e("1baa"),L=e("e449"),k=e("8e36"),V=e("0fd9"),B=e("ba0d"),$=e("2fa4"),M=e("afd9"),I=Object(m["a"])(r,s,n,!1,null,null,null);i["default"]=I.exports;c()(I,{VBtn:o["a"],VCard:u["a"],VCardText:d["c"],VCardTitle:d["d"],VCol:f["a"],VDivider:g["a"],VIcon:p["a"],VList:_["a"],VListItem:C["a"],VListItemContent:b["a"],VListItemGroup:x["a"],VListItemTitle:b["c"],VMenu:L["a"],VProgressLinear:k["a"],VRow:V["a"],VSlider:B["a"],VSpacer:$["a"],VSystemBar:M["a"]})}}]); \ No newline at end of file