[#267] Don't show the PWA popup again after the user dismisses it.

Plus, upgraded a bunch of frontend libraries.

Closes: #267
This commit is contained in:
Fabio Manganiello 2023-07-23 02:38:30 +02:00
parent 454228c56e
commit cfdecd5703
Signed by: blacklight
GPG key ID: D90FBA7F76362774
340 changed files with 500 additions and 10517 deletions

View file

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.0f6060b6.js"></script><script defer="defer" type="module" src="/static/js/app.a0889d9d.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.0a781c41.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"><script defer="defer" src="/static/js/chunk-vendors-legacy.037e71b7.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.83532d44.js" nomodule></script></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" src="/static/js/chunk-vendors.22fb39a8.js"></script><script defer="defer" src="/static/js/app.ebd1a697.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.0a781c41.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1595],{1595:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var s=n(6252),o=n(3577),i={class:"date-time"},a=["textContent"],r=["textContent"];function u(e,t,n,u,h,w){return(0,s.wg)(),(0,s.iD)("div",i,[w._showDate?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"date",textContent:(0,o.zw)(e.formatDate(e.now))},null,8,a)):(0,s.kq)("",!0),w._showTime?((0,s.wg)(),(0,s.iD)("div",{key:1,class:"time",textContent:(0,o.zw)(e.formatTime(e.now,w._showSeconds))},null,8,r)):(0,s.kq)("",!0)])}var h=n(6813),w={name:"DateTime",mixins:[h.Z],props:{showDate:{required:!1,default:!0},showTime:{required:!1,default:!0},showSeconds:{required:!1,default:!0}},computed:{_showTime:function(){return this.parseBoolean(this.showTime)},_showDate:function(){return this.parseBoolean(this.showDate)},_showSeconds:function(){return this.parseBoolean(this.showSeconds)}},data:function(){return{now:new Date}},methods:{refreshTime:function(){this.now=new Date}},mounted:function(){this.refreshTime(),setInterval(this.refreshTime,1e3)}},c=n(3744);const d=(0,c.Z)(w,[["render",u],["__scopeId","data-v-ca42eb9c"]]);var f=d}}]);
//# sourceMappingURL=1595-legacy.69aea4ae.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/1595-legacy.69aea4ae.js","mappings":"0LACOA,MAAM,a,8EAAX,QAGM,MAHN,EAGM,CAF6C,EAAAC,YAAA,WAAjD,QAA8D,O,MAAzDD,MAAM,O,aAAO,QAAwB,EAAN,WAAC,EAAAE,OAArC,2BAC+D,EAAAC,YAAA,WAA/D,QAA4E,O,MAAvEH,MAAM,O,aAAO,QAAsC,EAApB,WAAC,EAAAE,IAAK,EAAAE,gBAA1C,4B,eAQJ,GACEC,KAAM,WACNC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAELC,SAAU,CACRC,UAAU,EACVC,SAAS,GAIXC,SAAU,CACRF,UAAU,EACVC,SAAS,GAIXE,YAAa,CACXH,UAAU,EACVC,SAAS,IAIbG,SAAU,CACRX,UADQ,WAEN,OAAOY,KAAKC,aAAaD,KAAKH,SAC/B,EAEDX,UALQ,WAMN,OAAOc,KAAKC,aAAaD,KAAKN,SAC/B,EAEDL,aATQ,WAUN,OAAOW,KAAKC,aAAaD,KAAKF,YAC/B,GAGHI,KAAM,WACJ,MAAO,CACLf,IAAK,IAAIgB,KAEZ,EAEDC,QAAS,CACPC,YADO,WAELL,KAAKb,IAAM,IAAIgB,IAChB,GAGHG,QAAS,WACPN,KAAKK,cACLE,YAAYP,KAAKK,YAAa,IAC/B,G,UCxDH,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/DateTime/Index.vue","webpack://platypush/./src/components/widgets/DateTime/Index.vue?dfd6"],"sourcesContent":["<template>\n <div class=\"date-time\">\n <div class=\"date\" v-text=\"formatDate(now)\" v-if=\"_showDate\" />\n <div class=\"time\" v-text=\"formatTime(now, _showSeconds)\" v-if=\"_showTime\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n// Widget to show date and time\nexport default {\n name: 'DateTime',\n mixins: [Utils],\n props: {\n // If false then don't display the date.\n showDate: {\n required: false,\n default: true,\n },\n\n // If false then don't display the time.\n showTime: {\n required: false,\n default: true,\n },\n\n // If false then don't display the seconds.\n showSeconds: {\n required: false,\n default: true,\n },\n },\n\n computed: {\n _showTime() {\n return this.parseBoolean(this.showTime)\n },\n\n _showDate() {\n return this.parseBoolean(this.showDate)\n },\n\n _showSeconds() {\n return this.parseBoolean(this.showSeconds)\n },\n },\n\n data: function() {\n return {\n now: new Date(),\n };\n },\n\n methods: {\n refreshTime() {\n this.now = new Date()\n },\n },\n\n mounted: function() {\n this.refreshTime()\n setInterval(this.refreshTime, 1000)\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.date-time {\n .date {\n font-size: 1.3em;\n }\n\n .time {\n font-size: 2em;\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=ca42eb9c&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=ca42eb9c&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-ca42eb9c\"]])\n\nexport default __exports__"],"names":["class","_showDate","now","_showTime","_showSeconds","name","mixins","Utils","props","showDate","required","default","showTime","showSeconds","computed","this","parseBoolean","data","Date","methods","refreshTime","mounted","setInterval","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1595],{1595:function(e,t,s){s.r(t),s.d(t,{default:function(){return l}});var n=s(6252),o=s(3577);const a={class:"date-time"},r=["textContent"],i=["textContent"];function h(e,t,s,h,u,w){return(0,n.wg)(),(0,n.iD)("div",a,[w._showDate?((0,n.wg)(),(0,n.iD)("div",{key:0,class:"date",textContent:(0,o.zw)(e.formatDate(e.now))},null,8,r)):(0,n.kq)("",!0),w._showTime?((0,n.wg)(),(0,n.iD)("div",{key:1,class:"time",textContent:(0,o.zw)(e.formatTime(e.now,w._showSeconds))},null,8,i)):(0,n.kq)("",!0)])}var u=s(6813),w={name:"DateTime",mixins:[u.Z],props:{showDate:{required:!1,default:!0},showTime:{required:!1,default:!0},showSeconds:{required:!1,default:!0}},computed:{_showTime(){return this.parseBoolean(this.showTime)},_showDate(){return this.parseBoolean(this.showDate)},_showSeconds(){return this.parseBoolean(this.showSeconds)}},data:function(){return{now:new Date}},methods:{refreshTime(){this.now=new Date}},mounted:function(){this.refreshTime(),setInterval(this.refreshTime,1e3)}},d=s(3744);const c=(0,d.Z)(w,[["render",h],["__scopeId","data-v-ca42eb9c"]]);var l=c}}]);
//# sourceMappingURL=1595.cf573de8.js.map
//# sourceMappingURL=1595.56af4714.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"static/js/1595.56af4714.js","mappings":"gMACOA,MAAM,a,8EAAX,QAGM,MAHN,EAGM,CAF6C,EAAAC,YAAS,WAA1D,QAA8D,O,MAAzDD,MAAM,O,aAAO,QAAwB,aAAL,EAAAE,O,2BAC0B,EAAAC,YAAS,WAAxE,QAA4E,O,MAAvEH,MAAM,O,aAAO,QAAsC,aAAnB,EAAAE,IAAK,EAAAE,gB,2CAQ9C,GACEC,KAAM,WACNC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAELC,SAAU,CACRC,UAAU,EACVC,SAAS,GAIXC,SAAU,CACRF,UAAU,EACVC,SAAS,GAIXE,YAAa,CACXH,UAAU,EACVC,SAAS,IAIbG,SAAU,CACR,SAAAX,GACE,OAAOY,KAAKC,aAAaD,KAAKH,SAChC,EAEA,SAAAX,GACE,OAAOc,KAAKC,aAAaD,KAAKN,SAChC,EAEA,YAAAL,GACE,OAAOW,KAAKC,aAAaD,KAAKF,YAChC,GAGFI,KAAM,WACJ,MAAO,CACLf,IAAK,IAAIgB,KAEb,EAEAC,QAAS,CACP,WAAAC,GACEL,KAAKb,IAAM,IAAIgB,IACjB,GAGFG,QAAS,WACPN,KAAKK,cACLE,YAAYP,KAAKK,YAAa,IAChC,G,UCxDF,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/DateTime/Index.vue","webpack://platypush/./src/components/widgets/DateTime/Index.vue?dfd6"],"sourcesContent":["<template>\n <div class=\"date-time\">\n <div class=\"date\" v-text=\"formatDate(now)\" v-if=\"_showDate\" />\n <div class=\"time\" v-text=\"formatTime(now, _showSeconds)\" v-if=\"_showTime\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n// Widget to show date and time\nexport default {\n name: 'DateTime',\n mixins: [Utils],\n props: {\n // If false then don't display the date.\n showDate: {\n required: false,\n default: true,\n },\n\n // If false then don't display the time.\n showTime: {\n required: false,\n default: true,\n },\n\n // If false then don't display the seconds.\n showSeconds: {\n required: false,\n default: true,\n },\n },\n\n computed: {\n _showTime() {\n return this.parseBoolean(this.showTime)\n },\n\n _showDate() {\n return this.parseBoolean(this.showDate)\n },\n\n _showSeconds() {\n return this.parseBoolean(this.showSeconds)\n },\n },\n\n data: function() {\n return {\n now: new Date(),\n };\n },\n\n methods: {\n refreshTime() {\n this.now = new Date()\n },\n },\n\n mounted: function() {\n this.refreshTime()\n setInterval(this.refreshTime, 1000)\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.date-time {\n .date {\n font-size: 1.3em;\n }\n\n .time {\n font-size: 2em;\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=ca42eb9c&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=ca42eb9c&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-ca42eb9c\"]])\n\nexport default __exports__"],"names":["class","_showDate","now","_showTime","_showSeconds","name","mixins","Utils","props","showDate","required","default","showTime","showSeconds","computed","this","parseBoolean","data","Date","methods","refreshTime","mounted","setInterval","__exports__","render"],"sourceRoot":""}

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/1595.cf573de8.js","mappings":"gMACOA,MAAM,a,8EAAX,QAGM,MAHN,EAGM,CAF6C,EAAAC,YAAA,WAAjD,QAA8D,O,MAAzDD,MAAM,O,aAAO,QAAwB,EAAN,WAAC,EAAAE,OAArC,2BAC+D,EAAAC,YAAA,WAA/D,QAA4E,O,MAAvEH,MAAM,O,aAAO,QAAsC,EAApB,WAAC,EAAAE,IAAK,EAAAE,gBAA1C,4B,eAQJ,GACEC,KAAM,WACNC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAELC,SAAU,CACRC,UAAU,EACVC,SAAS,GAIXC,SAAU,CACRF,UAAU,EACVC,SAAS,GAIXE,YAAa,CACXH,UAAU,EACVC,SAAS,IAIbG,SAAU,CACRX,YACE,OAAOY,KAAKC,aAAaD,KAAKH,SAC/B,EAEDX,YACE,OAAOc,KAAKC,aAAaD,KAAKN,SAC/B,EAEDL,eACE,OAAOW,KAAKC,aAAaD,KAAKF,YAC/B,GAGHI,KAAM,WACJ,MAAO,CACLf,IAAK,IAAIgB,KAEZ,EAEDC,QAAS,CACPC,cACEL,KAAKb,IAAM,IAAIgB,IAChB,GAGHG,QAAS,WACPN,KAAKK,cACLE,YAAYP,KAAKK,YAAa,IAC/B,G,UCxDH,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/DateTime/Index.vue","webpack://platypush/./src/components/widgets/DateTime/Index.vue?dfd6"],"sourcesContent":["<template>\n <div class=\"date-time\">\n <div class=\"date\" v-text=\"formatDate(now)\" v-if=\"_showDate\" />\n <div class=\"time\" v-text=\"formatTime(now, _showSeconds)\" v-if=\"_showTime\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n// Widget to show date and time\nexport default {\n name: 'DateTime',\n mixins: [Utils],\n props: {\n // If false then don't display the date.\n showDate: {\n required: false,\n default: true,\n },\n\n // If false then don't display the time.\n showTime: {\n required: false,\n default: true,\n },\n\n // If false then don't display the seconds.\n showSeconds: {\n required: false,\n default: true,\n },\n },\n\n computed: {\n _showTime() {\n return this.parseBoolean(this.showTime)\n },\n\n _showDate() {\n return this.parseBoolean(this.showDate)\n },\n\n _showSeconds() {\n return this.parseBoolean(this.showSeconds)\n },\n },\n\n data: function() {\n return {\n now: new Date(),\n };\n },\n\n methods: {\n refreshTime() {\n this.now = new Date()\n },\n },\n\n mounted: function() {\n this.refreshTime()\n setInterval(this.refreshTime, 1000)\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.date-time {\n .date {\n font-size: 1.3em;\n }\n\n .time {\n font-size: 2em;\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=ca42eb9c&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=ca42eb9c&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-ca42eb9c\"]])\n\nexport default __exports__"],"names":["class","_showDate","now","_showTime","_showSeconds","name","mixins","Utils","props","showDate","required","default","showTime","showSeconds","computed","this","parseBoolean","data","Date","methods","refreshTime","mounted","setInterval","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1767],{1767:function(n,e,t){t.r(e),t.d(e,{default:function(){return h}});t(8309);var a=t(6252),i=t(3577),l={class:"entity device-container"},r={class:"head"},c={class:"icon"},s={class:"label"},o=["textContent"];function u(n,e,t,u,d,v){var p=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",r,[(0,a._)("div",c,[(0,a.Wm)(p,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",s,[(0,a._)("div",{class:"name",textContent:(0,i.zw)(n.value.name)},null,8,o)])])])}var d=t(7909),v=t(1706),p={name:"Device",components:{EntityIcon:v["default"]},mixins:[d["default"]]},f=t(3744);const y=(0,f.Z)(p,[["render",u],["__scopeId","data-v-07323f6c"]]);var h=y}}]);
//# sourceMappingURL=1767-legacy.0d72ab23.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/1767-legacy.0d72ab23.js","mappings":"kMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAONA,MAAM,S,yFATf,QAaM,MAbN,EAaM,EAZJ,OAWM,MAXN,EAWM,EAVJ,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,e,yBAUR,GACEA,KAAM,SACNC,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=07323f6c&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=07323f6c&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-07323f6c\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/1767.25bd60ff.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAONA,MAAM,S,2FATf,QAaM,MAbN,EAaM,EAZJ,OAWM,MAXN,EAWM,EAVJ,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,e,yBAUR,GACEA,KAAM,SACNC,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=07323f6c&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=07323f6c&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-07323f6c\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1767],{1767:function(n,e,t){t.r(e),t.d(e,{default:function(){return h}});var a=t(6252),i=t(3577);const c={class:"entity device-container"},l={class:"head"},s={class:"icon"},o={class:"label"},r=["textContent"];function u(n,e,t,u,d,v){const p=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a._)("div",l,[(0,a._)("div",s,[(0,a.Wm)(p,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",o,[(0,a._)("div",{class:"name",textContent:(0,i.zw)(n.value.name)},null,8,r)])])])}var d=t(7909),v=t(1706),p={name:"Device",components:{EntityIcon:v["default"]},mixins:[d["default"]]},f=t(3744);const y=(0,f.Z)(p,[["render",u],["__scopeId","data-v-07323f6c"]]);var h=y}}]);
//# sourceMappingURL=1767.25bd60ff.js.map
//# sourceMappingURL=1767.8c7da66f.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"static/js/1767.8c7da66f.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAONA,MAAM,S,2FATf,QAaM,MAbN,EAaM,EAZJ,OAWM,MAXN,EAWM,EAVJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,O,wCAGZ,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,QAALK,O,wCAUxC,GACEA,KAAM,SACNC,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=07323f6c&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=07323f6c&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-07323f6c\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1818],{1818:function(n,t,e){e.r(t),e.d(t,{default:function(){return g}});var i=e(6252),o={class:"plugin"};function r(n,t,e,r,a,s){var c=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("div",o,[a.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):a.component?((0,i.wg)(),(0,i.j4)((0,i.LL)(a.component),{key:1,config:a.config},null,8,["config"])):(0,i.kq)("",!0)])}var a=e(8534),s=(e(5666),e(9600),e(1249),e(4916),e(3123),e(7042),e(1539),e(8783),e(3948),e(6813)),c=e(1232),u=e(2262),p={name:"Plugin",components:{Loading:c.Z},mixins:[s.Z],props:{pluginName:{type:String,required:!0}},data:function(){return{loading:!1,component:null,config:{}}},computed:{componentName:function(){return this.pluginName.split(".").map((function(n){return n[0].toUpperCase()+n.slice(1)})).join("")}},methods:{refresh:function(){var n=(0,a.Z)(regeneratorRuntime.mark((function n(){var t,o=this;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return this.loading=!0,n.prev=1,this.component=(0,u.XI)((0,i.RC)((function(){return e(3379)("./".concat(o.componentName,"/Index"))}))),this.$options.components[this.componentName]=this.component,n.next=6,this.request("config.get_plugins");case 6:if(n.t2=t=n.sent,n.t1=null===n.t2,n.t1){n.next=10;break}n.t1=void 0===t;case 10:if(!n.t1){n.next=14;break}n.t3=void 0,n.next=15;break;case 14:n.t3=t[this.pluginName];case 15:if(n.t0=n.t3,n.t0){n.next=18;break}n.t0={};case 18:this.config=n.t0;case 19:return n.prev=19,this.loading=!1,n.finish(19);case 22:case"end":return n.stop()}}),n,this,[[1,,19,22]])})));function t(){return n.apply(this,arguments)}return t}()},mounted:function(){this.refresh()}},f=e(3744);const l=(0,f.Z)(p,[["render",r],["__scopeId","data-v-69b17daa"]]);var g=l}}]);
//# sourceMappingURL=1818-legacy.03a52113.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/1818-legacy.03a52113.js","mappings":"gLACOA,MAAM,U,oEAAX,QAGM,MAHN,EAGM,CAFW,EAAAC,UAAA,WAAf,QAA0B,YAC6B,EAAAC,YAAA,WAAvD,SAAoE,QAApD,EAAAA,WAAS,C,MAAGC,OAAQ,EAAAA,QAApC,qC,uHASJ,GACEC,KAAM,SACNC,WAAY,CAACC,QAAAA,EAAA,GACbC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAELC,WAAY,CACVC,KAAMC,OACNC,UAAU,IAIdC,KAZa,WAaX,MAAO,CACLb,SAAS,EACTC,UAAW,KACXC,OAAQ,CAAC,EAEZ,EAEDY,SAAU,CACRC,cADQ,WAEN,OAAOC,KAAKP,WAAWQ,MAAM,KAAKC,KAAI,SAACC,GAAD,OAAOA,EAAE,GAAGC,cAAgBD,EAAEE,MAAM,EAApC,IAAwCC,KAAK,GACpF,GAGHC,QAAS,CACPC,QAAS,WAAF,uCAAE,kHACPR,KAAKhB,SAAU,EADR,SAILgB,KAAKf,WAAY,SAAW,SAAqB,kBAAM,QAAO,YAAuB,EAAKc,cAAnC,UAAN,KACjDC,KAAKS,SAASrB,WAAWY,KAAKD,eAAiBC,KAAKf,UAL/C,SAMgBe,KAAKU,QAAQ,sBAN7B,0JAMS,EAA6CV,KAAKP,YAN3D,gDAM0E,CAAC,EAN3E,QAMLO,KAAKd,OANA,8BAQLc,KAAKhB,SAAU,EARV,2EAAF,qDAAE,IAaX2B,QAAS,WACPX,KAAKQ,SACN,G,UC/CH,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/Plugin/Index.vue","webpack://platypush/./src/components/widgets/Plugin/Index.vue?cc4c"],"sourcesContent":["<template>\n <div class=\"plugin\">\n <Loading v-if=\"loading\" />\n <component :is=\"component\" :config=\"config\" v-else-if=\"component\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\nimport Loading from \"@/components/Loading\";\nimport { defineAsyncComponent, shallowRef } from \"vue\";\n\nexport default {\n name: \"Plugin\",\n components: {Loading},\n mixins: [Utils],\n props: {\n // Name of the plugin view to be loaded\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n data() {\n return {\n loading: false,\n component: null,\n config: {},\n }\n },\n\n computed: {\n componentName() {\n return this.pluginName.split('.').map((t) => t[0].toUpperCase() + t.slice(1)).join('')\n },\n },\n\n methods: {\n refresh: async function() {\n this.loading = true\n\n try {\n this.component = shallowRef(defineAsyncComponent(() => import(`@/components/panels/${this.componentName}/Index`)))\n this.$options.components[this.componentName] = this.component\n this.config = (await this.request('config.get_plugins'))?.[this.pluginName] || {}\n } finally {\n this.loading = false\n }\n },\n },\n\n mounted: function() {\n this.refresh()\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.plugin {\n margin: -1em 0 0 -1em !important;\n padding: 0;\n width: calc(100% + 2em);\n height: calc(100% + 2em);\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=69b17daa&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=69b17daa&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-69b17daa\"]])\n\nexport default __exports__"],"names":["class","loading","component","config","name","components","Loading","mixins","Utils","props","pluginName","type","String","required","data","computed","componentName","this","split","map","t","toUpperCase","slice","join","methods","refresh","$options","request","mounted","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1818],{1818:function(n,t,e){e.r(t),e.d(t,{default:function(){return g}});var o=e(6252);const i={class:"plugin"};function s(n,t,e,s,a,p){const c=(0,o.up)("Loading");return(0,o.wg)(),(0,o.iD)("div",i,[a.loading?((0,o.wg)(),(0,o.j4)(c,{key:0})):a.component?((0,o.wg)(),(0,o.j4)((0,o.LL)(a.component),{key:1,config:a.config},null,8,["config"])):(0,o.kq)("",!0)])}var a=e(6813),p=e(1232),c=e(2262),u={name:"Plugin",components:{Loading:p.Z},mixins:[a.Z],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,component:null,config:{}}},computed:{componentName(){return this.pluginName.split(".").map((n=>n[0].toUpperCase()+n.slice(1))).join("")}},methods:{refresh:async function(){this.loading=!0;try{this.component=(0,c.XI)((0,o.RC)((()=>e(3379)(`./${this.componentName}/Index`)))),this.$options.components[this.componentName]=this.component,this.config=(await this.request("config.get_plugins"))?.[this.pluginName]||{}}finally{this.loading=!1}}},mounted:function(){this.refresh()}},r=e(3744);const l=(0,r.Z)(u,[["render",s],["__scopeId","data-v-69b17daa"]]);var g=l}}]);
//# sourceMappingURL=1818.d8f79120.js.map
//# sourceMappingURL=1818.973f71ff.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"static/js/1818.973f71ff.js","mappings":"sLACOA,MAAM,U,sEAAX,QAGM,MAHN,EAGM,CAFW,EAAAC,UAAO,WAAtB,QAA0B,YAC6B,EAAAC,YAAS,WAAhE,SAAoE,QAApD,EAAAA,WAAS,C,MAAGC,OAAQ,EAAAA,Q,wEASxC,GACEC,KAAM,SACNC,WAAY,CAACC,QAAO,KACpBC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAELC,WAAY,CACVC,KAAMC,OACNC,UAAU,IAId,IAAAC,GACE,MAAO,CACLb,SAAS,EACTC,UAAW,KACXC,OAAQ,CAAC,EAEb,EAEAY,SAAU,CACR,aAAAC,GACE,OAAOC,KAAKP,WAAWQ,MAAM,KAAKC,KAAKC,GAAMA,EAAE,GAAGC,cAAgBD,EAAEE,MAAM,KAAIC,KAAK,GACrF,GAGFC,QAAS,CACPC,QAASC,iBACPT,KAAKhB,SAAU,EAEf,IACEgB,KAAKf,WAAY,SAAW,SAAqB,IAAM,QAAQ,KAAsBe,KAAKD,0BAC1FC,KAAKU,SAAStB,WAAWY,KAAKD,eAAiBC,KAAKf,UACpDe,KAAKd,cAAgBc,KAAKW,QAAQ,yBAAyBX,KAAKP,aAAe,CAAC,CAClF,CAAE,QACAO,KAAKhB,SAAU,CACjB,CACF,GAGF4B,QAAS,WACPZ,KAAKQ,SACP,G,UC/CF,MAAMK,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/Plugin/Index.vue","webpack://platypush/./src/components/widgets/Plugin/Index.vue?cc4c"],"sourcesContent":["<template>\n <div class=\"plugin\">\n <Loading v-if=\"loading\" />\n <component :is=\"component\" :config=\"config\" v-else-if=\"component\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\nimport Loading from \"@/components/Loading\";\nimport { defineAsyncComponent, shallowRef } from \"vue\";\n\nexport default {\n name: \"Plugin\",\n components: {Loading},\n mixins: [Utils],\n props: {\n // Name of the plugin view to be loaded\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n data() {\n return {\n loading: false,\n component: null,\n config: {},\n }\n },\n\n computed: {\n componentName() {\n return this.pluginName.split('.').map((t) => t[0].toUpperCase() + t.slice(1)).join('')\n },\n },\n\n methods: {\n refresh: async function() {\n this.loading = true\n\n try {\n this.component = shallowRef(defineAsyncComponent(() => import(`@/components/panels/${this.componentName}/Index`)))\n this.$options.components[this.componentName] = this.component\n this.config = (await this.request('config.get_plugins'))?.[this.pluginName] || {}\n } finally {\n this.loading = false\n }\n },\n },\n\n mounted: function() {\n this.refresh()\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.plugin {\n margin: -1em 0 0 -1em !important;\n padding: 0;\n width: calc(100% + 2em);\n height: calc(100% + 2em);\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=69b17daa&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=69b17daa&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-69b17daa\"]])\n\nexport default __exports__"],"names":["class","loading","component","config","name","components","Loading","mixins","Utils","props","pluginName","type","String","required","data","computed","componentName","this","split","map","t","toUpperCase","slice","join","methods","refresh","async","$options","request","mounted","__exports__","render"],"sourceRoot":""}

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/1818.d8f79120.js","mappings":"sLACOA,MAAM,U,sEAAX,QAGM,MAHN,EAGM,CAFW,EAAAC,UAAA,WAAf,QAA0B,YAC6B,EAAAC,YAAA,WAAvD,SAAoE,QAApD,EAAAA,WAAS,C,MAAGC,OAAQ,EAAAA,QAApC,qC,mCASJ,GACEC,KAAM,SACNC,WAAY,CAACC,QAAO,KACpBC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAELC,WAAY,CACVC,KAAMC,OACNC,UAAU,IAIdC,OACE,MAAO,CACLb,SAAS,EACTC,UAAW,KACXC,OAAQ,CAAC,EAEZ,EAEDY,SAAU,CACRC,gBACE,OAAOC,KAAKP,WAAWQ,MAAM,KAAKC,KAAKC,GAAMA,EAAE,GAAGC,cAAgBD,EAAEE,MAAM,KAAIC,KAAK,GACpF,GAGHC,QAAS,CACPC,QAASC,iBACPT,KAAKhB,SAAU,EAEf,IACEgB,KAAKf,WAAY,SAAW,SAAqB,IAAM,QAAQ,KAAsBe,KAAKD,0BAC1FC,KAAKU,SAAStB,WAAWY,KAAKD,eAAiBC,KAAKf,UACpDe,KAAKd,cAAgBc,KAAKW,QAAQ,yBAAyBX,KAAKP,aAAe,CAAC,CAGlF,CANA,QAKEO,KAAKhB,SAAU,CACjB,CACD,GAGH4B,QAAS,WACPZ,KAAKQ,SACN,G,UC/CH,MAAMK,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/Plugin/Index.vue","webpack://platypush/./src/components/widgets/Plugin/Index.vue?cc4c"],"sourcesContent":["<template>\n <div class=\"plugin\">\n <Loading v-if=\"loading\" />\n <component :is=\"component\" :config=\"config\" v-else-if=\"component\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\nimport Loading from \"@/components/Loading\";\nimport { defineAsyncComponent, shallowRef } from \"vue\";\n\nexport default {\n name: \"Plugin\",\n components: {Loading},\n mixins: [Utils],\n props: {\n // Name of the plugin view to be loaded\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n data() {\n return {\n loading: false,\n component: null,\n config: {},\n }\n },\n\n computed: {\n componentName() {\n return this.pluginName.split('.').map((t) => t[0].toUpperCase() + t.slice(1)).join('')\n },\n },\n\n methods: {\n refresh: async function() {\n this.loading = true\n\n try {\n this.component = shallowRef(defineAsyncComponent(() => import(`@/components/panels/${this.componentName}/Index`)))\n this.$options.components[this.componentName] = this.component\n this.config = (await this.request('config.get_plugins'))?.[this.pluginName] || {}\n } finally {\n this.loading = false\n }\n },\n },\n\n mounted: function() {\n this.refresh()\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.plugin {\n margin: -1em 0 0 -1em !important;\n padding: 0;\n width: calc(100% + 2em);\n height: calc(100% + 2em);\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=69b17daa&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=69b17daa&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-69b17daa\"]])\n\nexport default __exports__"],"names":["class","loading","component","config","name","components","Loading","mixins","Utils","props","pluginName","type","String","required","data","computed","componentName","this","split","map","t","toUpperCase","slice","join","methods","refresh","async","$options","request","mounted","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1938],{8825:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(6252),r=t(9963),l=function(e){return(0,a.dD)("data-v-a248454a"),e=e(),(0,a.Cn)(),e},u={class:"tts-container"},i={class:"field text-container"},s=["disabled"],c={class:"field lang-container"},o=["disabled"],d={class:"field buttons"},p=["disabled"],f=l((function(){return(0,a._)("i",{class:"fa fa-volume-up"},null,-1)})),g=[f];function v(e,n,t,l,f,v){return(0,a.wg)(),(0,a.iD)("div",u,[(0,a._)("form",{onSubmit:n[0]||(n[0]=(0,r.iM)((function(){return v.talk&&v.talk.apply(v,arguments)}),["prevent"]))},[(0,a._)("div",i,[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:f.talking},null,8,s)])]),(0,a._)("div",c,[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:f.talking},null,8,o)])]),(0,a._)("div",d,[(0,a._)("button",{type:"submit",disabled:f.talking},g,8,p)])],32)])}var m=t(9584),b=t(8534),k=(t(5666),t(1539),t(8309),t(6813)),h={name:"Panel",mixins:[k.Z],props:{pluginName:{type:String,required:!0}},data:function(){return{talking:!1}},methods:{talk:function(e){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=(0,m.Z)(e.target.querySelectorAll("input")).reduce((function(e,n){return n.value.length&&(e[n.name]=n.value),e}),{}),n.talking=!0,t.prev=2,t.next=5,n.request("".concat(n.pluginName,".say"),a);case 5:return t.prev=5,n.talking=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()}}},_=t(3744);const y=(0,_.Z)(h,[["render",v],["__scopeId","data-v-a248454a"]]);var x=y},1938:function(e,n,t){t.r(n),t.d(n,{default:function(){return c}});var a=t(6252);function r(e,n,t,r,l,u){var i=(0,a.up)("Panel");return(0,a.wg)(),(0,a.j4)(i,{"plugin-name":"tts.google"})}var l=t(8825),u={name:"Tts",components:{Panel:l.Z}},i=t(3744);const s=(0,i.Z)(u,[["render",r]]);var c=s}}]);
//# sourceMappingURL=1938-legacy.e350f72d.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1938],{8825:function(t,e,a){a.d(e,{Z:function(){return y}});var n=a(6252),l=a(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},o=["disabled"],c={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),f=[g];function v(t,e,a,i,g,v){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:e[0]||(e[0]=(0,l.iM)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,o)])]),(0,n._)("div",c,[(0,n._)("button",{type:"submit",disabled:g.talking},f,8,p)])],32)])}var m=a(6813),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const e=[...t.target.querySelectorAll("input")].reduce(((t,e)=>(e.value.length&&(t[e.name]=e.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,e)}finally{this.talking=!1}}}},h=a(3744);const k=(0,h.Z)(b,[["render",v],["__scopeId","data-v-a248454a"]]);var y=k},1938:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var n=a(6252);function l(t,e,a,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts.google"})}var i=a(8825),s={name:"Tts",components:{Panel:i.Z}},u=a(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r}}]);
//# sourceMappingURL=1938.1dc95872.js.map
//# sourceMappingURL=1938.af0aa5fd.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2346],{2346:function(e,t,i){i.r(t),i.d(t,{default:function(){return b}});i(8309);var n=i(6252),s=i(3577),a={class:"camera component-row"},r={class:"feed-container",ref:"container"},c=["textContent"],l=["src"],o={key:2},u=["src"],p={class:"controls"},f={key:0,class:"fa fa-play"},d={key:1,class:"fa fa-pause"};function g(e,t,i,g,v,m){return(0,n.wg)(),(0,n.iD)("div",a,[(0,n._)("div",r,[v.visible?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",{key:0,class:"no-content",textContent:(0,s.zw)(i.name)},null,8,c)),v.visible&&"image"===i.type?((0,n.wg)(),(0,n.iD)("img",{key:1,alt:"Camera feed",src:m.imgUrl},null,8,l)):v.visible&&"video"===i.type?((0,n.wg)(),(0,n.iD)("video",o,[(0,n._)("source",{src:i.src},null,8,u)])):(0,n.kq)("",!0)],512),(0,n._)("div",p,[(0,n._)("button",{class:"toggle-btn",onClick:t[0]||(t[0]=function(e){return v.visible=!v.visible})},[v.visible?((0,n.wg)(),(0,n.iD)("i",d)):((0,n.wg)(),(0,n.iD)("i",f))])])])}i(1539),i(9714);var v=i(6813),m={name:"Camera",mixins:[v.Z],props:{src:{type:String,required:!0},type:{type:String,default:"image"},name:{type:String}},computed:{imgUrl:function(){if("image"===this.type)return this.src+(this.src.indexOf("?")>0?"&":"?")+"_t="+(new Date).getTime().toString()}},data:function(){return{visible:!1}}},y=i(3744);const k=(0,y.Z)(m,[["render",g],["__scopeId","data-v-0fad5251"]]);var b=k}}]);
//# sourceMappingURL=2346-legacy.4845c2ae.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/2346-legacy.4845c2ae.js","mappings":"kMACOA,MAAM,wB,GACJA,MAAM,iBAAiBC,IAAI,a,mDAQ3BD,MAAM,Y,SAEJA,MAAM,c,SACNA,MAAM,e,0CAZf,QAeM,MAfN,EAeM,EAdJ,OAMM,MANN,EAMM,CALyC,EAAAE,SAA7C,iBAA6C,WAA7C,QAAwD,O,MAAnDF,MAAM,a,aAAa,QAAa,EAAD,OAApC,WAC2C,EAAAE,SAAe,UAAJ,EAAAC,OAAI,WAA1D,QAAwE,O,MAAnEC,IAAI,cAAeC,IAAK,EAAAC,QAA7B,WACkB,EAAAJ,SAAe,UAAJ,EAAAC,OAAI,WAAjC,QAEQ,YADN,OAAmB,UAAVE,IAAK,EAAAA,KAAG,cADnB,gBAHF,MAQA,OAKM,MALN,EAKM,EAJJ,OAGS,UAHDL,MAAM,aAAc,QAAK,+BAAE,EAAAE,SAAW,EAAAA,OAAb,IAAjC,CAC+B,EAAAA,UAA7B,WACA,QAAgC,IAAhC,MAD6B,WAA7B,QAAwC,IAAxC,S,+BAaR,GACEK,KAAM,SACNC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAKLL,IAAK,CACHF,KAAMQ,OACNC,UAAU,GAMZT,KAAM,CACJA,KAAMQ,OACNE,QAAS,SAMXN,KAAM,CACJJ,KAAMQ,SAIVG,SAAU,CACRR,OADQ,WAEN,GAAkB,UAAdS,KAAKZ,KAGT,OAAOY,KAAKV,KAAOU,KAAKV,IAAIW,QAAQ,KAAO,EAAI,IAAM,KAAO,OAAS,IAAIC,MAAOC,UAAUC,UAC3F,GAGHC,KAtCa,WAuCX,MAAO,CACLlB,SAAS,EAEZ,G,UC5DH,MAAMmB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/Camera/Index.vue","webpack://platypush/./src/components/widgets/Camera/Index.vue?8b49"],"sourcesContent":["<template>\n <div class=\"camera component-row\">\n <div class=\"feed-container\" ref=\"container\">\n <div class=\"no-content\" v-text=\"name\" v-if=\"!visible\" />\n <img alt=\"Camera feed\" :src=\"imgUrl\" v-if=\"visible && type === 'image'\">\n <video v-else-if=\"visible && type === 'video'\">\n <source :src=\"src\">\n </video>\n </div>\n\n <div class=\"controls\">\n <button class=\"toggle-btn\" @click=\"visible = !visible\">\n <i class=\"fa fa-play\" v-if=\"!visible\" />\n <i class=\"fa fa-pause\" v-else />\n </button>\n </div>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n/**\n * This component can be used to view a feed from a camera.\n */\nexport default {\n name: \"Camera\",\n mixins: [Utils],\n props: {\n /**\n * Camera feed URL.\n * For instance, in the case of a PiCamera feed: http://host:8008/camera/pi/video.mjpeg\n */\n src: {\n type: String,\n required: true,\n },\n\n /**\n * Camera feed type - it can be \"image\" (usually in case of MJPEG feeds) or \"video\".\n */\n type: {\n type: String,\n default: \"image\",\n },\n\n /**\n * Camera feed name.\n */\n name: {\n type: String,\n },\n },\n\n computed: {\n imgUrl() {\n if (this.type !== 'image')\n return\n\n return this.src + (this.src.indexOf('?') > 0 ? '&' : '?') + '_t=' + (new Date().getTime().toString())\n },\n },\n\n data() {\n return {\n visible: false,\n }\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.camera {\n width: calc(100% + 2em);\n height: calc(100% + 2em);\n position: relative;\n background: black;\n color: #888;\n margin: -1em;\n\n .feed-container {\n width: 100%;\n height: calc(100% - 3em);\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .controls {\n width: 100%;\n height: 3em;\n position: absolute;\n bottom: 0;\n\n button {\n background: none;\n border: none;\n color: #888;\n }\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=0fad5251&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=0fad5251&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-0fad5251\"]])\n\nexport default __exports__"],"names":["class","ref","visible","type","alt","src","imgUrl","name","mixins","Utils","props","String","required","default","computed","this","indexOf","Date","getTime","toString","data","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2346],{2346:function(e,t,i){i.r(t),i.d(t,{default:function(){return b}});var s=i(6252),n=i(3577);const a={class:"camera component-row"},r={class:"feed-container",ref:"container"},c=["textContent"],l=["src"],o={key:2},u=["src"],p={class:"controls"},d={key:0,class:"fa fa-play"},g={key:1,class:"fa fa-pause"};function f(e,t,i,f,v,m){return(0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("div",r,[v.visible?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",{key:0,class:"no-content",textContent:(0,n.zw)(i.name)},null,8,c)),v.visible&&"image"===i.type?((0,s.wg)(),(0,s.iD)("img",{key:1,alt:"Camera feed",src:m.imgUrl},null,8,l)):v.visible&&"video"===i.type?((0,s.wg)(),(0,s.iD)("video",o,[(0,s._)("source",{src:i.src},null,8,u)])):(0,s.kq)("",!0)],512),(0,s._)("div",p,[(0,s._)("button",{class:"toggle-btn",onClick:t[0]||(t[0]=e=>v.visible=!v.visible)},[v.visible?((0,s.wg)(),(0,s.iD)("i",g)):((0,s.wg)(),(0,s.iD)("i",d))])])])}var v=i(6813),m={name:"Camera",mixins:[v.Z],props:{src:{type:String,required:!0},type:{type:String,default:"image"},name:{type:String}},computed:{imgUrl(){if("image"===this.type)return this.src+(this.src.indexOf("?")>0?"&":"?")+"_t="+(new Date).getTime().toString()}},data(){return{visible:!1}}},y=i(3744);const k=(0,y.Z)(m,[["render",f],["__scopeId","data-v-0fad5251"]]);var b=k}}]);
//# sourceMappingURL=2346.9a487752.js.map
//# sourceMappingURL=2346.5c42f86d.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"static/js/2346.5c42f86d.js","mappings":"gMACOA,MAAM,wB,GACJA,MAAM,iBAAiBC,IAAI,a,mDAQ3BD,MAAM,Y,SAEJA,MAAM,c,SACNA,MAAM,e,0CAZf,QAeM,MAfN,EAeM,EAdJ,OAMM,MANN,EAMM,CALyC,EAAAE,S,iBAAO,WAApD,QAAwD,O,MAAnDF,MAAM,a,aAAa,QAAa,S,WACM,EAAAE,SAAoB,UAAT,EAAAC,OAAI,WAA1D,QAAwE,O,MAAnEC,IAAI,cAAeC,IAAK,EAAAC,Q,WACX,EAAAJ,SAAoB,UAAT,EAAAC,OAAI,WAAjC,QAEQ,YADN,OAAmB,UAAVE,IAAK,EAAAA,KAAG,oCAIrB,OAKM,MALN,EAKM,EAJJ,OAGS,UAHDL,MAAM,aAAc,QAAK,eAAE,EAAAE,SAAW,EAAAA,U,CACf,EAAAA,UAAW,WACxC,QAAgC,IAAhC,MADoC,WAApC,QAAwC,IAAxC,S,eAaR,GACEK,KAAM,SACNC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAKLL,IAAK,CACHF,KAAMQ,OACNC,UAAU,GAMZT,KAAM,CACJA,KAAMQ,OACNE,QAAS,SAMXN,KAAM,CACJJ,KAAMQ,SAIVG,SAAU,CACR,MAAAR,GACE,GAAkB,UAAdS,KAAKZ,KAGT,OAAOY,KAAKV,KAAOU,KAAKV,IAAIW,QAAQ,KAAO,EAAI,IAAM,KAAO,OAAS,IAAIC,MAAOC,UAAUC,UAC5F,GAGF,IAAAC,GACE,MAAO,CACLlB,SAAS,EAEb,G,UC5DF,MAAMmB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/Camera/Index.vue","webpack://platypush/./src/components/widgets/Camera/Index.vue?8b49"],"sourcesContent":["<template>\n <div class=\"camera component-row\">\n <div class=\"feed-container\" ref=\"container\">\n <div class=\"no-content\" v-text=\"name\" v-if=\"!visible\" />\n <img alt=\"Camera feed\" :src=\"imgUrl\" v-if=\"visible && type === 'image'\">\n <video v-else-if=\"visible && type === 'video'\">\n <source :src=\"src\">\n </video>\n </div>\n\n <div class=\"controls\">\n <button class=\"toggle-btn\" @click=\"visible = !visible\">\n <i class=\"fa fa-play\" v-if=\"!visible\" />\n <i class=\"fa fa-pause\" v-else />\n </button>\n </div>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n/**\n * This component can be used to view a feed from a camera.\n */\nexport default {\n name: \"Camera\",\n mixins: [Utils],\n props: {\n /**\n * Camera feed URL.\n * For instance, in the case of a PiCamera feed: http://host:8008/camera/pi/video.mjpeg\n */\n src: {\n type: String,\n required: true,\n },\n\n /**\n * Camera feed type - it can be \"image\" (usually in case of MJPEG feeds) or \"video\".\n */\n type: {\n type: String,\n default: \"image\",\n },\n\n /**\n * Camera feed name.\n */\n name: {\n type: String,\n },\n },\n\n computed: {\n imgUrl() {\n if (this.type !== 'image')\n return\n\n return this.src + (this.src.indexOf('?') > 0 ? '&' : '?') + '_t=' + (new Date().getTime().toString())\n },\n },\n\n data() {\n return {\n visible: false,\n }\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.camera {\n width: calc(100% + 2em);\n height: calc(100% + 2em);\n position: relative;\n background: black;\n color: #888;\n margin: -1em;\n\n .feed-container {\n width: 100%;\n height: calc(100% - 3em);\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .controls {\n width: 100%;\n height: 3em;\n position: absolute;\n bottom: 0;\n\n button {\n background: none;\n border: none;\n color: #888;\n }\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=0fad5251&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=0fad5251&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-0fad5251\"]])\n\nexport default __exports__"],"names":["class","ref","visible","type","alt","src","imgUrl","name","mixins","Utils","props","String","required","default","computed","this","indexOf","Date","getTime","toString","data","__exports__","render"],"sourceRoot":""}

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/2346.9a487752.js","mappings":"gMACOA,MAAM,wB,GACJA,MAAM,iBAAiBC,IAAI,a,mDAQ3BD,MAAM,Y,SAEJA,MAAM,c,SACNA,MAAM,e,0CAZf,QAeM,MAfN,EAeM,EAdJ,OAMM,MANN,EAMM,CALyC,EAAAE,SAA7C,iBAA6C,WAA7C,QAAwD,O,MAAnDF,MAAM,a,aAAa,QAAa,EAAD,OAApC,WAC2C,EAAAE,SAAe,UAAJ,EAAAC,OAAI,WAA1D,QAAwE,O,MAAnEC,IAAI,cAAeC,IAAK,EAAAC,QAA7B,WACkB,EAAAJ,SAAe,UAAJ,EAAAC,OAAI,WAAjC,QAEQ,YADN,OAAmB,UAAVE,IAAK,EAAAA,KAAG,cADnB,gBAHF,MAQA,OAKM,MALN,EAKM,EAJJ,OAGS,UAHDL,MAAM,aAAc,QAAK,eAAE,EAAAE,SAAW,EAAAA,UAA9C,CAC+B,EAAAA,UAA7B,WACA,QAAgC,IAAhC,MAD6B,WAA7B,QAAwC,IAAxC,S,eAaR,GACEK,KAAM,SACNC,OAAQ,CAACC,EAAA,GACTC,MAAO,CAKLL,IAAK,CACHF,KAAMQ,OACNC,UAAU,GAMZT,KAAM,CACJA,KAAMQ,OACNE,QAAS,SAMXN,KAAM,CACJJ,KAAMQ,SAIVG,SAAU,CACRR,SACE,GAAkB,UAAdS,KAAKZ,KAGT,OAAOY,KAAKV,KAAOU,KAAKV,IAAIW,QAAQ,KAAO,EAAI,IAAM,KAAO,OAAS,IAAIC,MAAOC,UAAUC,UAC3F,GAGHC,OACE,MAAO,CACLlB,SAAS,EAEZ,G,UC5DH,MAAMmB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/Camera/Index.vue","webpack://platypush/./src/components/widgets/Camera/Index.vue?8b49"],"sourcesContent":["<template>\n <div class=\"camera component-row\">\n <div class=\"feed-container\" ref=\"container\">\n <div class=\"no-content\" v-text=\"name\" v-if=\"!visible\" />\n <img alt=\"Camera feed\" :src=\"imgUrl\" v-if=\"visible && type === 'image'\">\n <video v-else-if=\"visible && type === 'video'\">\n <source :src=\"src\">\n </video>\n </div>\n\n <div class=\"controls\">\n <button class=\"toggle-btn\" @click=\"visible = !visible\">\n <i class=\"fa fa-play\" v-if=\"!visible\" />\n <i class=\"fa fa-pause\" v-else />\n </button>\n </div>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n/**\n * This component can be used to view a feed from a camera.\n */\nexport default {\n name: \"Camera\",\n mixins: [Utils],\n props: {\n /**\n * Camera feed URL.\n * For instance, in the case of a PiCamera feed: http://host:8008/camera/pi/video.mjpeg\n */\n src: {\n type: String,\n required: true,\n },\n\n /**\n * Camera feed type - it can be \"image\" (usually in case of MJPEG feeds) or \"video\".\n */\n type: {\n type: String,\n default: \"image\",\n },\n\n /**\n * Camera feed name.\n */\n name: {\n type: String,\n },\n },\n\n computed: {\n imgUrl() {\n if (this.type !== 'image')\n return\n\n return this.src + (this.src.indexOf('?') > 0 ? '&' : '?') + '_t=' + (new Date().getTime().toString())\n },\n },\n\n data() {\n return {\n visible: false,\n }\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.camera {\n width: calc(100% + 2em);\n height: calc(100% + 2em);\n position: relative;\n background: black;\n color: #888;\n margin: -1em;\n\n .feed-container {\n width: 100%;\n height: calc(100% - 3em);\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .controls {\n width: 100%;\n height: 3em;\n position: absolute;\n bottom: 0;\n\n button {\n background: none;\n border: none;\n color: #888;\n }\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=0fad5251&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=0fad5251&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-0fad5251\"]])\n\nexport default __exports__"],"names":["class","ref","visible","type","alt","src","imgUrl","name","mixins","Utils","props","String","required","default","computed","this","indexOf","Date","getTime","toString","data","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2362],{2362:function(n,e,t){t.r(e),t.d(e,{default:function(){return v}});var u=t(6252);function a(n,e,t,a,r,p){var s=(0,u.up)("Zwave");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"zwave.mqtt"})}var r=t(906),p={components:{Zwave:r.Z}},s=t(3744);const c=(0,s.Z)(p,[["render",a]]);var v=c}}]);
//# sourceMappingURL=2362-legacy.034c153c.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/2362-legacy.034c153c.js","mappings":"+OACE,QAAkC,GAA3B,cAAY,c,cAMrB,GACEA,WAAY,CAACC,MAAAA,EAAAC,I,UCHf,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue?4812"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave.mqtt\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=8fb9cbb2\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\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]])\n\nexport default __exports__"],"names":["components","Zwave","Z","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2362],{2362:function(n,e,t){t.r(e),t.d(e,{default:function(){return o}});var u=t(6252);function a(n,e,t,a,r,p){const s=(0,u.up)("Zwave");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"zwave.mqtt"})}var r=t(906),p={components:{Zwave:r.Z}},s=t(3744);const c=(0,s.Z)(p,[["render",a]]);var o=c}}]);
//# sourceMappingURL=2362.620095dd.js.map
//# sourceMappingURL=2362.23cbfec6.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/2362.620095dd.js","mappings":"iPACE,QAAkC,GAA3B,cAAY,c,cAMrB,GACEA,WAAY,CAACC,MAAK,M,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue?4812"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave.mqtt\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=8fb9cbb2\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\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]])\n\nexport default __exports__"],"names":["components","Zwave","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/2362.23cbfec6.js","mappings":"iPACE,QAAkC,GAA3B,cAAY,c,cAMrB,GACEA,WAAY,CAACC,MAAK,M,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue?4812"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave.mqtt\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=8fb9cbb2\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\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]])\n\nexport default __exports__"],"names":["components","Zwave","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2466],{2466:function(e,n,t){t.r(n),t.d(n,{default:function(){return c}});var a=t(6252);function r(e,n,t,r,l,u){var i=(0,a.up)("Panel");return(0,a.wg)(),(0,a.j4)(i,{"plugin-name":"tts"})}var l=t(8825),u={name:"Tts",components:{Panel:l.Z}},i=t(3744);const s=(0,i.Z)(u,[["render",r]]);var c=s},8825:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(6252),r=t(9963),l=function(e){return(0,a.dD)("data-v-a248454a"),e=e(),(0,a.Cn)(),e},u={class:"tts-container"},i={class:"field text-container"},s=["disabled"],c={class:"field lang-container"},o=["disabled"],d={class:"field buttons"},p=["disabled"],f=l((function(){return(0,a._)("i",{class:"fa fa-volume-up"},null,-1)})),v=[f];function g(e,n,t,l,f,g){return(0,a.wg)(),(0,a.iD)("div",u,[(0,a._)("form",{onSubmit:n[0]||(n[0]=(0,r.iM)((function(){return g.talk&&g.talk.apply(g,arguments)}),["prevent"]))},[(0,a._)("div",i,[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:f.talking},null,8,s)])]),(0,a._)("div",c,[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:f.talking},null,8,o)])]),(0,a._)("div",d,[(0,a._)("button",{type:"submit",disabled:f.talking},v,8,p)])],32)])}var m=t(9584),b=t(8534),k=(t(5666),t(1539),t(8309),t(6813)),h={name:"Panel",mixins:[k.Z],props:{pluginName:{type:String,required:!0}},data:function(){return{talking:!1}},methods:{talk:function(e){var n=this;return(0,b.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=(0,m.Z)(e.target.querySelectorAll("input")).reduce((function(e,n){return n.value.length&&(e[n.name]=n.value),e}),{}),n.talking=!0,t.prev=2,t.next=5,n.request("".concat(n.pluginName,".say"),a);case 5:return t.prev=5,n.talking=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()}}},_=t(3744);const y=(0,_.Z)(h,[["render",g],["__scopeId","data-v-a248454a"]]);var x=y}}]);
//# sourceMappingURL=2466-legacy.b6981a49.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2466],{2466:function(t,a,e){e.r(a),e.d(a,{default:function(){return d}});var n=e(6252);function l(t,a,e,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts"})}var i=e(8825),s={name:"Tts",components:{Panel:i.Z}},u=e(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r},8825:function(t,a,e){e.d(a,{Z:function(){return y}});var n=e(6252),l=e(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},c=["disabled"],o={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),f=[g];function v(t,a,e,i,g,v){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:a[0]||(a[0]=(0,l.iM)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,c)])]),(0,n._)("div",o,[(0,n._)("button",{type:"submit",disabled:g.talking},f,8,p)])],32)])}var m=e(6813),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const a=[...t.target.querySelectorAll("input")].reduce(((t,a)=>(a.value.length&&(t[a.name]=a.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,a)}finally{this.talking=!1}}}},h=e(3744);const k=(0,h.Z)(b,[["render",v],["__scopeId","data-v-a248454a"]]);var y=k}}]);
//# sourceMappingURL=2466.633bb83f.js.map
//# sourceMappingURL=2466.2a682cdb.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2820],{2820:function(e,n,r){r.r(n),r.d(n,{default:function(){return d}});var t=r(6252);function a(e,n,r,a,o,i){var u=(0,t.up)("Panel");return(0,t.wg)(),(0,t.j4)(u,{"plugin-name":"rtorrent"})}var o=r(6899),i={name:"Torrent",components:{Panel:o.Z}},u=r(3744);const c=(0,u.Z)(i,[["render",a]]);var d=c},6899:function(e,n,r){r.d(n,{Z:function(){return U}});var t=r(6252),a={class:"torrent-container"},o={class:"header-container"},i={class:"view-container"};function u(e,n,r,u,c,d){var s=(0,t.up)("Header"),l=(0,t.up)("TorrentView");return(0,t.wg)(),(0,t.iD)("div",a,[(0,t._)("div",o,[(0,t.Wm)(s,{onTorrentAdd:n[0]||(n[0]=function(e){return d.download(e)})})]),(0,t._)("div",i,[(0,t.Wm)(l,{"plugin-name":r.pluginName},null,8,["plugin-name"])])])}var c=r(8534),d=(r(5666),r(3577)),s=r(9963),l={class:"row"},p={class:"col-s-12 col-m-9 col-l-7 left side"},m={class:"search-box"};function f(e,n,r,a,o,i){return(0,t.wg)(),(0,t.iD)("div",{class:(0,d.C_)(["header",{"with-filter":e.filterVisible}])},[(0,t._)("div",l,[(0,t._)("div",p,[(0,t._)("form",{onSubmit:n[1]||(n[1]=(0,s.iM)((function(n){return e.$emit("torrent-add",o.torrentURL)}),["prevent"]))},[(0,t._)("label",m,[(0,t.wy)((0,t._)("input",{type:"search",placeholder:"Add torrent URL","onUpdate:modelValue":n[0]||(n[0]=function(e){return o.torrentURL=e})},null,512),[[s.nr,o.torrentURL]])])],32)])])],2)}var v={name:"Header",emits:["torrent-add"],data:function(){return{torrentURL:""}}},w=r(3744);const h=(0,w.Z)(v,[["render",f],["__scopeId","data-v-6133f14d"]]);var g=h,_=r(779),Z=r(6813),R={name:"Panel",components:{TorrentView:_.Z,Header:g},mixins:[Z.Z],props:{pluginName:{type:String,required:!0}},methods:{download:function(e){var n=this;return(0,c.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,n.request("".concat(n.pluginName,".download"),{torrent:e});case 2:case"end":return r.stop()}}),r)})))()}}};const b=(0,w.Z)(R,[["render",u],["__scopeId","data-v-1502d8a8"]]);var U=b}}]);
//# sourceMappingURL=2820-legacy.869be689.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2820],{2820:function(n,e,r){r.r(e),r.d(e,{default:function(){return o}});var t=r(6252);function u(n,e,r,u,a,p){const s=(0,t.up)("Panel");return(0,t.wg)(),(0,t.j4)(s,{"plugin-name":"rtorrent"})}var a=r(6899),p={name:"Torrent",components:{Panel:a.Z}},s=r(3744);const c=(0,s.Z)(p,[["render",u]]);var o=c}}]);
//# sourceMappingURL=2820.07ee3664.js.map
//# sourceMappingURL=2820.da401297.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/2820.07ee3664.js","mappings":"iPACE,QAAgC,GAAzB,cAAY,Y,eAMrB,GACEA,KAAM,UACNC,WAAY,CAACC,MAAK,M,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Rtorrent/Index.vue","webpack://platypush/./src/components/panels/Rtorrent/Index.vue?5c1f"],"sourcesContent":["<template>\n <Panel plugin-name=\"rtorrent\" />\n</template>\n\n<script>\nimport Panel from \"@/components/panels/Torrent/Panel\";\n\nexport default {\n name: \"Torrent\",\n components: {Panel}\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=4938278b\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\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]])\n\nexport default __exports__"],"names":["name","components","Panel","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/2820.da401297.js","mappings":"iPACE,QAAgC,GAAzB,cAAY,Y,eAMrB,GACEA,KAAM,UACNC,WAAY,CAACC,MAAK,M,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Rtorrent/Index.vue","webpack://platypush/./src/components/panels/Rtorrent/Index.vue?5c1f"],"sourcesContent":["<template>\n <Panel plugin-name=\"rtorrent\" />\n</template>\n\n<script>\nimport Panel from \"@/components/panels/Torrent/Panel\";\n\nexport default {\n name: \"Torrent\",\n components: {Panel}\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=4938278b\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\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]])\n\nexport default __exports__"],"names":["name","components","Panel","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3194],{6:function(e,n,t){t.d(n,{Z:function(){return f}});var a=t(6252),i=t(3577),l=t(9963),o=function(e){return(0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e},u=["checked"],c=o((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),r={class:"label"};function s(e,n,t,o,s,d){return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,l.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:t.value},null,8,u),(0,a._)("label",null,[c,(0,a._)("span",r,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const p=(0,v.Z)(d,[["render",s],["__scopeId","data-v-a6396ae8"]]);var f=p},3194:function(e,n,t){t.r(n),t.d(n,{default:function(){return w}});t(8309);var a=t(6252),i=t(3577),l=t(9963),o={class:"entity device-container"},u={class:"head"},c={class:"icon"},r={class:"label"},s=["textContent"];function d(e,n,t,d,v,p){var f,h,g=(0,a.up)("EntityIcon"),m=(0,a.up)("ToggleSwitch");return(0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",u,[(0,a._)("div",c,[(0,a.Wm)(g,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",r,[(0,a._)("div",{class:"name",textContent:(0,i.zw)(e.value.name)},null,8,s)]),(0,a._)("div",{class:(0,i.C_)(["value-container",{"with-children":null===(f=e.value)||void 0===f||null===(h=f.children_ids)||void 0===h?void 0:h.length}])},[(0,a.Wm)(m,{value:e.value.connected,disabled:e.loading,onInput:p.connect,onClick:n[0]||(n[0]=(0,l.iM)((function(){}),["stop"]))},null,8,["value","disabled","onInput"])],2)])])}var v=t(8534),p=(t(5666),t(7909)),f=t(1706),h=t(6),g={name:"BluetoothDevice",components:{EntityIcon:f["default"],ToggleSwitch:h.Z},mixins:[p["default"]],methods:{connect:function(e){var n=this;return(0,v.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.stopPropagation(),n.$emit("loading",!0),a="bluetooth."+(n.value.connected?"disconnect":"connect"),t.prev=3,t.next=6,n.request(a,{device:n.value.address});case 6:return t.prev=6,n.$emit("loading",!1),t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[3,,6,9]])})))()}}},m=t(3744);const _=(0,m.Z)(g,[["render",d],["__scopeId","data-v-6aff1eff"]]);var w=_}}]);
//# sourceMappingURL=3194-legacy.8b9635f4.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3194],{6:function(e,t,n){n.d(t,{Z:function(){return h}});var a=n(6252),i=n(3577),l=n(9963);const o=e=>((0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e),s=["checked"],c=o((()=>(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,o,u,r){return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:n.value},null,8,s),(0,a._)("label",null,[c,(0,a._)("span",d,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const p=(0,v.Z)(r,[["render",u],["__scopeId","data-v-a6396ae8"]]);var h=p},3194:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var a=n(6252),i=n(3577),l=n(9963);const o={class:"entity device-container"},s={class:"head"},c={class:"icon"},d={class:"label"},u=["textContent"];function r(e,t,n,r,v,p){const h=(0,a.up)("EntityIcon"),f=(0,a.up)("ToggleSwitch");return(0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",s,[(0,a._)("div",c,[(0,a.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",d,[(0,a._)("div",{class:"name",textContent:(0,i.zw)(e.value.name)},null,8,u)]),(0,a._)("div",{class:(0,i.C_)(["value-container",{"with-children":e.value?.children_ids?.length}])},[(0,a.Wm)(f,{value:e.value.connected,disabled:e.loading,onInput:p.connect,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])],2)])])}var v=n(7909),p=n(1706),h=n(6),f={name:"BluetoothDevice",components:{EntityIcon:p["default"],ToggleSwitch:h.Z},mixins:[v["default"]],methods:{async connect(e){e.stopPropagation(),this.$emit("loading",!0);const t="bluetooth."+(this.value.connected?"disconnect":"connect");try{await this.request(t,{device:this.value.address})}finally{this.$emit("loading",!1)}}}},_=n(3744);const g=(0,_.Z)(f,[["render",r],["__scopeId","data-v-6aff1eff"]]);var m=g}}]);
//# sourceMappingURL=3194.256c2da8.js.map
//# sourceMappingURL=3194.3c160643.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3303],{6:function(e,t,n){n.d(t,{Z:function(){return h}});var a=n(6252),i=n(3577),l=n(9963),o=function(e){return(0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e},u=["checked"],s=o((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),r={class:"label"};function c(e,t,n,o,c,d){return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:n.value},null,8,u),(0,a._)("label",null,[s,(0,a._)("span",r,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},p=n(3744);const v=(0,p.Z)(d,[["render",c],["__scopeId","data-v-a6396ae8"]]);var h=v},3303:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});n(8309);var a=n(6252),i=n(3577),l=n(9963),o={class:"entity switch-container"},u={class:"head"},s={class:"col-1 icon"},r={class:"col-9 label"},c=["textContent"],d={class:"col-2 switch pull-right"};function p(e,t,n,p,v,h){var f=(0,a.up)("EntityIcon"),g=(0,a.up)("ToggleSwitch");return(0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",u,[(0,a._)("div",s,[(0,a.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",r,[(0,a._)("div",{class:"name",textContent:(0,i.zw)(e.value.name)},null,8,c)]),(0,a._)("div",d,[(0,a.Wm)(g,{value:!e.value.is_write_only&&e.value.state,disabled:e.loading||e.value.is_read_only,onInput:h.toggle,onClick:t[0]||(t[0]=(0,l.iM)((function(){}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=n(8534),h=(n(5666),n(6)),f=n(1706),g=n(7909),_={name:"Switch",components:{ToggleSwitch:h.Z,EntityIcon:f["default"]},mixins:[g["default"]],methods:{toggle:function(e){var t=this;return(0,v.Z)(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.stopPropagation(),t.$emit("loading",!0),n.prev=2,n.next=5,t.request("entities.execute",{id:t.value.id,action:"toggle"});case 5:t.value.is_write_only&&(a=t,a.value.state=!0,setTimeout((function(){return a.value.state=!1}),250));case 6:return n.prev=6,t.$emit("loading",!1),n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[2,,6,9]])})))()}}},w=n(3744);const m=(0,w.Z)(_,[["render",p],["__scopeId","data-v-2aaabd26"]]);var y=m}}]);
//# sourceMappingURL=3303-legacy.337cf4d7.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3303],{6:function(t,e,a){a.d(e,{Z:function(){return h}});var n=a(6252),i=a(3577),l=a(9963);const s=t=>((0,n.dD)("data-v-a6396ae8"),t=t(),(0,n.Cn)(),t),o=["checked"],u=s((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),c={class:"label"};function d(t,e,a,s,d,r){return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:a.disabled}]),onClick:e[0]||(e[0]=(0,l.iM)(((...t)=>r.onInput&&r.onInput(...t)),["stop"]))},[(0,n._)("input",{type:"checkbox",checked:a.value},null,8,o),(0,n._)("label",null,[u,(0,n._)("span",c,[(0,n.WI)(t.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(t){if(this.disabled)return!1;this.$emit("input",t)}}},p=a(3744);const v=(0,p.Z)(r,[["render",d],["__scopeId","data-v-a6396ae8"]]);var h=v},3303:function(t,e,a){a.r(e),a.d(e,{default:function(){return y}});var n=a(6252),i=a(3577),l=a(9963);const s={class:"entity switch-container"},o={class:"head"},u={class:"col-1 icon"},c={class:"col-9 label"},d=["textContent"],r={class:"col-2 switch pull-right"};function p(t,e,a,p,v,h){const g=(0,n.up)("EntityIcon"),_=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("div",o,[(0,n._)("div",u,[(0,n.Wm)(g,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,n._)("div",c,[(0,n._)("div",{class:"name",textContent:(0,i.zw)(t.value.name)},null,8,d)]),(0,n._)("div",r,[(0,n.Wm)(_,{value:!t.value.is_write_only&&t.value.state,disabled:t.loading||t.value.is_read_only,onInput:h.toggle,onClick:e[0]||(e[0]=(0,l.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=a(6),h=a(1706),g=a(7909),_={name:"Switch",components:{ToggleSwitch:v.Z,EntityIcon:h["default"]},mixins:[g["default"]],methods:{async toggle(t){t.stopPropagation(),this.$emit("loading",!0);try{if(await this.request("entities.execute",{id:this.value.id,action:"toggle"}),this.value.is_write_only){const t=this;t.value.state=!0,setTimeout((()=>t.value.state=!1),250)}}finally{this.$emit("loading",!1)}}}},f=a(3744);const w=(0,f.Z)(_,[["render",p],["__scopeId","data-v-2aaabd26"]]);var y=w}}]);
//# sourceMappingURL=3303.028580a6.js.map
//# sourceMappingURL=3303.01c8baa6.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[345],{345:function(e,t,n){n.r(t),n.d(t,{default:function(){return k}});n(7042);var s=n(6252),a=n(3577),r={class:"calendar"},i={key:1,class:"no-events"},o={key:2,class:"event upcoming-event"},u=["textContent"],d=["textContent"],l={class:"time"},c={key:3,class:"event-list"},v=["textContent"],m=["textContent"],f=["textContent"];function h(e,t,n,h,p,g){var w=(0,s.up)("Loading");return(0,s.wg)(),(0,s.iD)("div",r,[e.loading?((0,s.wg)(),(0,s.j4)(w,{key:0})):e.events.length?e.events.length>0?((0,s.wg)(),(0,s.iD)("div",o,[(0,s._)("div",{class:"date",textContent:(0,a.zw)(e.formatDate(e.events[0].start))},null,8,u),(0,s._)("div",{class:"summary",textContent:(0,a.zw)(e.events[0].summary)},null,8,d),(0,s._)("div",l,(0,a.zw)(e.formatTime(e.events[0].start,!1))+" - "+(0,a.zw)(e.formatTime(e.events[0].end,!1)),1)])):(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",i," No events found ")),e.events.length>1?((0,s.wg)(),(0,s.iD)("div",c,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.events.slice(1,n.maxEvents),(function(t){return(0,s.wg)(),(0,s.iD)("div",{class:"event",key:t.id},[(0,s._)("div",{class:"date col-2",textContent:(0,a.zw)(e.formatDate(t.start))},null,8,v),(0,s._)("div",{class:"time col-2",textContent:(0,a.zw)(e.formatTime(t.start,!1))},null,8,m),(0,s._)("div",{class:"summary col-8",textContent:(0,a.zw)(t.summary)},null,8,f)])})),128))])):(0,s.kq)("",!0)])}var p=n(8534),g=(n(5666),n(9653),n(1249),n(6977),n(6813)),w=n(1232),x={name:"Calendar",components:{Loading:w.Z},mixins:[g.Z],props:{maxEvents:{type:Number,required:!1,default:10},refreshSeconds:{type:Number,required:!1,default:600}},data:function(){return{events:[],loading:!1}},methods:{refresh:function(){var e=(0,p.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.loading=!0,e.prev=1,e.next=4,this.request("calendar.get_upcoming_events");case 4:this.events=e.sent.map((function(e){return e.start&&(e.start=new Date(e.start.dateTime||e.start.date)),e.end&&(e.end=new Date(e.end.dateTime||e.end.date)),e}));case 5:return e.prev=5,this.loading=!1,e.finish(5);case 8:case"end":return e.stop()}}),e,this,[[1,,5,8]])})));function t(){return e.apply(this,arguments)}return t}()},mounted:function(){this.refresh(),setInterval(this.refresh,parseInt((1e3*this.refreshSeconds).toFixed(0)))}},y=n(3744);const C=(0,y.Z)(x,[["render",h],["__scopeId","data-v-44a3b988"]]);var k=C}}]);
//# sourceMappingURL=345-legacy.dcb6e74e.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[345],{345:function(e,t,n){n.r(t),n.d(t,{default:function(){return C}});var s=n(6252),a=n(3577);const i={class:"calendar"},r={key:1,class:"no-events"},d={key:2,class:"event upcoming-event"},l=["textContent"],o=["textContent"],u={class:"time"},c={key:3,class:"event-list"},v=["textContent"],m=["textContent"],f=["textContent"];function h(e,t,n,h,g,w){const p=(0,s.up)("Loading");return(0,s.wg)(),(0,s.iD)("div",i,[e.loading?((0,s.wg)(),(0,s.j4)(p,{key:0})):e.events.length?e.events.length>0?((0,s.wg)(),(0,s.iD)("div",d,[(0,s._)("div",{class:"date",textContent:(0,a.zw)(e.formatDate(e.events[0].start))},null,8,l),(0,s._)("div",{class:"summary",textContent:(0,a.zw)(e.events[0].summary)},null,8,o),(0,s._)("div",u,(0,a.zw)(e.formatTime(e.events[0].start,!1))+" - "+(0,a.zw)(e.formatTime(e.events[0].end,!1)),1)])):(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",r," No events found ")),e.events.length>1?((0,s.wg)(),(0,s.iD)("div",c,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.events.slice(1,n.maxEvents),(t=>((0,s.wg)(),(0,s.iD)("div",{class:"event",key:t.id},[(0,s._)("div",{class:"date col-2",textContent:(0,a.zw)(e.formatDate(t.start))},null,8,v),(0,s._)("div",{class:"time col-2",textContent:(0,a.zw)(e.formatTime(t.start,!1))},null,8,m),(0,s._)("div",{class:"summary col-8",textContent:(0,a.zw)(t.summary)},null,8,f)])))),128))])):(0,s.kq)("",!0)])}var g=n(6813),w=n(1232),p={name:"Calendar",components:{Loading:w.Z},mixins:[g.Z],props:{maxEvents:{type:Number,required:!1,default:10},refreshSeconds:{type:Number,required:!1,default:600}},data:function(){return{events:[],loading:!1}},methods:{refresh:async function(){this.loading=!0;try{this.events=(await this.request("calendar.get_upcoming_events")).map((e=>(e.start&&(e.start=new Date(e.start.dateTime||e.start.date)),e.end&&(e.end=new Date(e.end.dateTime||e.end.date)),e)))}finally{this.loading=!1}}},mounted:function(){this.refresh(),setInterval(this.refresh,parseInt((1e3*this.refreshSeconds).toFixed(0)))}},y=n(3744);const x=(0,y.Z)(p,[["render",h],["__scopeId","data-v-44a3b988"]]);var C=x}}]);
//# sourceMappingURL=345.8d14f37b.js.map
//# sourceMappingURL=345.aff64579.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more