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ADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,YAIqB,MAAb,EAAAa,gBAAa,WADvB,QAKM,MALN,EAKM,EAHJ,OAA6C,QAAvClB,MAAM,Q,aAAQ,QAAsB,EAAD,gBAAzC,UAEkB,MAAV,EAAAE,MAAMI,OAAI,WADlB,QAC8B,Q,MADxBN,MAAM,O,aAAO,QAAmB,EAAN,MAACM,OAAjC,+BAHF,kB,yBAcN,GACED,KAAM,SACNE,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACU,EAAA,YAETC,SAAU,CACRF,gBACE,OAAwB,MAApBJ,KAAKZ,MAAMA,MACNY,KAAKZ,MAAMA,MACbY,KAAKZ,MAAMmB,MACnB,I,UC/BL,MAAML,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EnumSensor.vue","webpack://platypush/./src/components/panels/Entities/EnumSensor.vue?127d","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=\"value.value != null\">\n <span class=\"unit\" v-text=\"value.unit\"\n v-if=\"value.unit != null\" />\n <span class=\"value\" v-text=\"displayValue(value.value)\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityIcon from \"./EntityIcon\"\nimport Sensor from \"./Sensor\"\n\nexport default {\n name: 'EnumSensor',\n components: {EntityIcon},\n mixins: [Sensor],\n\n methods: {\n displayValue(val) {\n if (this.value?.values && typeof(this.value.values) === 'object')\n return this.value.values[val] || val\n return val\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\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 \"./EnumSensor.vue?vue&type=template&id=0c74d08c&scoped=true\"\nimport script from \"./EnumSensor.vue?vue&type=script&lang=js\"\nexport * from \"./EnumSensor.vue?vue&type=script&lang=js\"\n\nimport \"./EnumSensor.vue?vue&type=style&index=0&id=0c74d08c&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-0c74d08c\"]])\n\nexport default __exports__","<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","unit","components","EntityIcon","mixins","Sensor","methods","displayValue","val","this","values","__exports__","render","computedValue","EntityMixin","computed","_value"],"sourceRoot":""}