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AO,EAAAA,OAAvD,wCAGF,OAEM,MAFN,EAEM,EADJ,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,WAAAA,EAAA,YACbC,OAAQ,CAACU,EAAA,YAETC,SAAU,CACRF,cADQ,WAEN,OAAwB,MAApBJ,KAAKZ,MAAMA,MACNY,KAAKZ,MAAMA,MACbY,KAAKZ,MAAMmB,MACnB,I,UC5BL,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=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\" v-if=\"value.value != null\">\n <span class=\"unit\" v-text=\"value.unit\" 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</style>\n","import { render } from \"./EnumSensor.vue?vue&type=template&id=159d46fc&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=159d46fc&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-159d46fc\"]])\n\nexport default __exports__","<template>\n <div class=\"entity sensor-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\"\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</style>\n","import { render } from \"./Sensor.vue?vue&type=template&id=3b38610c&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=3b38610c&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-3b38610c\"]])\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":""}