platypush/platypush/backend/http/webapp/dist/static/js/8126.b7549093.js.map

1 line
2.9 KiB
Plaintext

{"version":3,"file":"static/js/8126.b7549093.js","mappings":"gMACOA,MAAM,iC,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,yB,qBAINA,MAAM,sC,2FAbf,QAmBM,MAnBN,EAmBM,EAlBJ,OAiBM,MAjBN,EAiBM,EAhBJ,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,aAGF,OAIM,MAJN,EAIM,CADgB,MAAZ,EAAAC,eAAY,WAFpB,QAEgC,Q,MAF1BN,MAAM,gB,aACV,QAA2B,EAAP,mBADtB,gC,yBAYR,GACEK,KAAM,cACNE,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRL,eACE,GAAyB,MAArBM,KAAKV,OAAOA,MACd,OAAO,KAET,MAAMW,EAAMD,KAAKV,MAAMW,KAAO,EACxBC,EAAMF,KAAKV,MAAMY,KAAO,IAC9B,OAAS,IAAMF,KAAKV,MAAMA,OAAUY,EAAMD,IAAME,QAAQ,EACzD,I,UCjCL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/LinkQuality.vue","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue?19d2"],"sourcesContent":["<template>\n <div class=\"entity link-quality-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 buttons pull-right\">\n <span class=\"value-percent\"\n v-text=\"valuePercent + '%'\"\n v-if=\"valuePercent != 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: 'LinkQuality',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n valuePercent() {\n if (this.value?.value == null)\n return null\n\n const min = this.value.min || 0\n const max = this.value.max || 100\n return ((100 * this.value.value) / (max - min)).toFixed(0)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n\n.link-quality-container {\n .head {\n .value-percent {\n font-size: 1.1em;\n font-weight: bold;\n opacity: 0.7;\n }\n }\n}\n</style>\n","import { render } from \"./LinkQuality.vue?vue&type=template&id=4ca8847f&scoped=true\"\nimport script from \"./LinkQuality.vue?vue&type=script&lang=js\"\nexport * from \"./LinkQuality.vue?vue&type=script&lang=js\"\n\nimport \"./LinkQuality.vue?vue&type=style&index=0&id=4ca8847f&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-4ca8847f\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","valuePercent","components","EntityIcon","mixins","EntityMixin","computed","this","min","max","toFixed","__exports__","render"],"sourceRoot":""}