platypush/platypush/backend/http/webapp/dist/static/js/5915-legacy.c11bcfac.js.map

1 line
3.0 KiB
Plaintext

{"version":3,"file":"static/js/5915-legacy.c11bcfac.js","mappings":"kMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,2BAINA,MAAM,8B,2GAbf,QAoBM,MApBN,EAoBM,EAnBJ,OAkBM,MAlBN,EAkBM,EAjBJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,YAIqB,MAAb,EAAAC,gBAAa,WADvB,QAKM,MALN,EAKM,EAHJ,OAA6C,QAAvCN,MAAM,Q,aAAQ,QAAsB,EAAD,gBAAzC,UAEkB,MAAV,EAAAE,MAAMK,OAAI,WADlB,QAC8B,Q,MADxBP,MAAM,O,aAAO,QAAmB,EAAN,MAACO,OAAjC,+BAHF,kB,yBAcN,GACEF,KAAM,SACNG,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRN,cADQ,WAEN,OAAwB,MAApBO,KAAKX,MAAMA,MACNW,KAAKX,MAAMA,MACbW,KAAKX,MAAMY,MACnB,I,UC/BL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Sensor.vue","webpack://platypush/./src/components/panels/Entities/Sensor.vue?60a5"],"sourcesContent":["<template>\n <div class=\"entity sensor-container\">\n <div class=\"head\">\n <div class=\"col-1 icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"col-s-8 col-m-9 label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"col-s-3 col-m-2 pull-right\"\n v-if=\"computedValue != null\">\n <span class=\"value\" v-text=\"computedValue\" />\n <span class=\"unit\" v-text=\"value.unit\"\n v-if=\"value.unit != null\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Sensor',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n computedValue() {\n if (this.value.value != null)\n return this.value.value\n return this.value._value\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n\n.entity {\n .icon {\n margin-right: 1em;\n }\n}\n\n.sensor-container {\n .head {\n .value {\n font-size: 1.1em;\n font-weight: bold;\n opacity: 0.7;\n }\n\n .unit {\n margin-left: 0.2em;\n }\n }\n}\n</style>\n","import { render } from \"./Sensor.vue?vue&type=template&id=c249d526&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=c249d526&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c249d526\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","computedValue","unit","components","EntityIcon","mixins","EntityMixin","computed","this","_value","__exports__","render"],"sourceRoot":""}