parent
f39dc54349
commit
e697c6619e
103 changed files with 100 additions and 100 deletions
platypush/backend/http/webapp/dist
index.htmlservice-worker.jsservice-worker.js.map
static
css
1893.3d7be7b5.css2013.de9cbcae.css2526.da215ea7.css2620.e7f9b7de.css4648.5414531a.css5360.03e740f9.css5847.0740854a.css8060.515bb415.css
js
1014.d716edc5.js.map1233.d849143f.js1233.d849143f.js.map1367.3d2c53e5.js1367.3d2c53e5.js.map1391.f4920051.js1391.f4920051.js.map1562.8af1cf78.js1562.8af1cf78.js.map1616.4d0ef686.js1616.4d0ef686.js.map1671.4d1a8fec.js1671.4d1a8fec.js.map1893.36e32e84.js1893.36e32e84.js.map2256.14cf8719.js2256.14cf8719.js.map2545.ba059a54.js2545.ba059a54.js.map2673.65792e5b.js2673.65792e5b.js.map2720.edb25115.js2720.edb25115.js.map28.21eb1526.js28.21eb1526.js.map3024.b35f4d7b.js3024.b35f4d7b.js.map3290.4e5594e0.js3290.4e5594e0.js.map3307.457ad5ac.js3307.457ad5ac.js.map3672.d36cdf03.js3672.d36cdf03.js.map3851.84f9576e.js3851.84f9576e.js.map3923.241b3dbb.js3923.241b3dbb.js.map3990.b66c152f.js3990.b66c152f.js.map4267.73be1236.js4267.73be1236.js.map4523.a60b3d0d.js4523.a60b3d0d.js.map4648.1a27da89.js4648.1a27da89.js.map4787.513904de.js4787.513904de.js.map5188.19a8b3c1.js5188.19a8b3c1.js.map5360.0ef95d69.js5360.0ef95d69.js.map560.b8b3bafe.js560.b8b3bafe.js.map5928.f1d69386.js5928.f1d69386.js.map5953.3ee4e3f1.js5953.3ee4e3f1.js.map6089.f25c6a38.js6089.f25c6a38.js.map6360.707a9807.js6360.707a9807.js.map6564.e5370ae5.js6564.e5370ae5.js.map662.4b1539fb.js.map662.8db47c58.js662.8db47c58.js.map7222.69b738ae.js7222.69b738ae.js.map7533.d1b8aa3d.js7533.d1b8aa3d.js.map7594.2ac046ec.js7594.2ac046ec.js.map7630.63a4957e.js7630.63a4957e.js.map7896.55b55b53.js7896.55b55b53.js.map8044.3d533dea.js8044.3d533dea.js.map806.a3972e99.js806.a3972e99.js.map8161.ad37a936.js8161.ad37a936.js.map8297.88c144ec.js8297.88c144ec.js.map8466.28a5aabb.js8466.28a5aabb.js.map9426.585f6762.js9426.585f6762.js.mapapp.ea7513f8.js
|
@ -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" src="/static/js/chunk-vendors.83e191d2.js"></script><script defer="defer" src="/static/js/app.df26e5a4.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.f97a4bca.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>
|
||||
<!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.83e191d2.js"></script><script defer="defer" src="/static/js/app.ea7513f8.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.f97a4bca.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
1
platypush/backend/http/webapp/dist/static/css/2526.da215ea7.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/2526.da215ea7.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/4648.5414531a.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/4648.5414531a.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/5360.03e740f9.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/5360.03e740f9.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/5847.0740854a.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/5847.0740854a.css
vendored
Normal file
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
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1391],{1391:function(e,t,s){s.r(t),s.d(t,{default:function(){return l}});var n=s(641),o=s(33);const a={class:"date-time"},r=["textContent"],i=["textContent"];function u(e,t,s,u,h,d){return(0,n.uX)(),(0,n.CE)("div",a,[d._showDate?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"date",textContent:(0,o.v_)(e.formatDate(e.now))},null,8,r)):(0,n.Q3)("",!0),d._showTime?((0,n.uX)(),(0,n.CE)("div",{key:1,class:"time",textContent:(0,o.v_)(e.formatTime(e.now,d._showSeconds))},null,8,i)):(0,n.Q3)("",!0)])}var h=s(2002),d={name:"DateTime",mixins:[h.A],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)}},c=s(6262);const w=(0,c.A)(d,[["render",u],["__scopeId","data-v-ca42eb9c"]]);var l=w}}]);
|
||||
//# sourceMappingURL=1391.947097d1.js.map
|
||||
//# sourceMappingURL=1391.f4920051.js.map
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"static/js/1391.947097d1.js","mappings":"6LACOA,MAAM,a,8EAAXC,EAAAA,EAAAA,IAGM,MAHNC,EAGM,CAF6CC,EAAAC,YAAS,WAA1DH,EAAAA,EAAAA,IAA8D,O,MAAzDD,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAAgBC,WAALD,EAAAE,O,2BAC0BL,EAAAM,YAAS,WAAxER,EAAAA,EAAAA,IAA4E,O,MAAvED,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAA8BI,WAAnBJ,EAAAE,IAAKL,EAAAQ,gB,2CAQ9C,GACEC,KAAM,WACNC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,SAAU,CACRC,UAAU,EACVC,SAAS,GAIXC,SAAU,CACRF,UAAU,EACVC,SAAS,GAIXE,YAAa,CACXH,UAAU,EACVC,SAAS,IAIbG,SAAU,CACRZ,SAAAA,GACE,OAAOa,KAAKC,aAAaD,KAAKH,SAChC,EAEAf,SAAAA,GACE,OAAOkB,KAAKC,aAAaD,KAAKN,SAChC,EAEAL,YAAAA,GACE,OAAOW,KAAKC,aAAaD,KAAKF,YAChC,GAGFI,KAAM,WACJ,MAAO,CACLhB,IAAK,IAAIiB,KAEb,EAEAC,QAAS,CACPC,WAAAA,GACEL,KAAKd,IAAM,IAAIiB,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 \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca42eb9c\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$options","_showDate","_toDisplayString","_ctx","formatDate","now","_showTime","formatTime","_showSeconds","name","mixins","Utils","props","showDate","required","default","showTime","showSeconds","computed","this","parseBoolean","data","Date","methods","refreshTime","mounted","setInterval","__exports__","render"],"sourceRoot":""}
|
||||
{"version":3,"file":"static/js/1391.f4920051.js","mappings":"6LACOA,MAAM,a,8EAAXC,EAAAA,EAAAA,IAGM,MAHNC,EAGM,CAF6CC,EAAAC,YAAS,WAA1DH,EAAAA,EAAAA,IAA8D,O,MAAzDD,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAAgBC,WAALD,EAAAE,O,2BAC0BL,EAAAM,YAAS,WAAxER,EAAAA,EAAAA,IAA4E,O,MAAvED,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAA8BI,WAAnBJ,EAAAE,IAAKL,EAAAQ,gB,2CAQ9C,GACEC,KAAM,WACNC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,SAAU,CACRC,UAAU,EACVC,SAAS,GAIXC,SAAU,CACRF,UAAU,EACVC,SAAS,GAIXE,YAAa,CACXH,UAAU,EACVC,SAAS,IAIbG,SAAU,CACRZ,SAAAA,GACE,OAAOa,KAAKC,aAAaD,KAAKH,SAChC,EAEAf,SAAAA,GACE,OAAOkB,KAAKC,aAAaD,KAAKN,SAChC,EAEAL,YAAAA,GACE,OAAOW,KAAKC,aAAaD,KAAKF,YAChC,GAGFI,KAAM,WACJ,MAAO,CACLhB,IAAK,IAAIiB,KAEb,EAEAC,QAAS,CACPC,WAAAA,GACEL,KAAKd,IAAM,IAAIiB,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 \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ca42eb9c\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$options","_showDate","_toDisplayString","_ctx","formatDate","now","_showTime","formatTime","_showSeconds","name","mixins","Utils","props","showDate","required","default","showTime","showSeconds","computed","this","parseBoolean","data","Date","methods","refreshTime","mounted","setInterval","__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
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
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2545],{3778:function(n,t,s){s.d(t,{A:function(){return d}});var e=s(641),c=s(33);const l={class:"icon-container"},a=["src","alt"];function r(n,t,s,r,o,u){return(0,e.uX)(),(0,e.CE)("div",l,[s.url?.length?((0,e.uX)(),(0,e.CE)("img",{key:0,class:"icon",src:s.url,alt:s.alt},null,8,a)):u.className?.length?((0,e.uX)(),(0,e.CE)("i",{key:1,class:(0,c.C4)(["icon",u.className]),style:(0,c.Tr)({color:s.color})},null,6)):(0,e.Q3)("",!0)])}var o={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},u=s(6262);const i=(0,u.A)(o,[["render",r],["__scopeId","data-v-706a3bd1"]]);var d=i},5054:function(n,t,s){s.d(t,{A:function(){return d}});var e=s(641),c=s(33);const l={key:0,class:"icon"};function a(n,t,s,a,r,o){const u=(0,e.g2)("Icon");return(0,e.uX)(),(0,e.CE)("div",{class:(0,c.C4)(["tab",s.selected?"selected":""]),onClick:t[0]||(t[0]=t=>n.$emit("input"))},[s.iconClass?.length||s.iconUrl?.length?((0,e.uX)(),(0,e.CE)("span",l,[(0,e.bF)(u,{class:(0,c.C4)(s.iconClass),url:s.iconUrl},null,8,["class","url"])])):(0,e.Q3)("",!0),t[1]||(t[1]=(0,e.eW)(" ")),(0,e.RG)(n.$slots,"default",{},void 0,!0)],2)}var r=s(3778),o={name:"Tab",components:{Icon:r.A},emits:["input"],props:{selected:{type:Boolean,default:!1},iconClass:{type:String},iconUrl:{type:String}}},u=s(6262);const i=(0,u.A)(o,[["render",a],["__scopeId","data-v-f3217d34"]]);var d=i},3556:function(n,t,s){s.d(t,{A:function(){return u}});var e=s(641);const c={class:"tabs"};function l(n,t,s,l,a,r){return(0,e.uX)(),(0,e.CE)("div",c,[(0,e.RG)(n.$slots,"default",{},void 0,!0)])}var a={name:"Tabs"},r=s(6262);const o=(0,r.A)(a,[["render",l],["__scopeId","data-v-f4300bb0"]]);var u=o}}]);
|
||||
//# sourceMappingURL=2545.358fb1a2.js.map
|
||||
//# sourceMappingURL=2545.ba059a54.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
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3307,1391],{1391:function(e,t,s){s.r(t),s.d(t,{default:function(){return d}});var o=s(641),a=s(33);const r={class:"date-time"},i=["textContent"],h=["textContent"];function n(e,t,s,n,u,m){return(0,o.uX)(),(0,o.CE)("div",r,[m._showDate?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"date",textContent:(0,a.v_)(e.formatDate(e.now))},null,8,i)):(0,o.Q3)("",!0),m._showTime?((0,o.uX)(),(0,o.CE)("div",{key:1,class:"time",textContent:(0,a.v_)(e.formatTime(e.now,m._showSeconds))},null,8,h)):(0,o.Q3)("",!0)])}var u=s(2002),m={name:"DateTime",mixins:[u.A],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)}},c=s(6262);const l=(0,c.A)(m,[["render",n],["__scopeId","data-v-ca42eb9c"]]);var d=l},5688:function(e,t,s){s.r(t),s.d(t,{default:function(){return v}});var o=s(641),a=s(33);const r={class:"image-carousel"},i={ref:"background",class:"background"},h=["src"],n={key:1,class:"row info-container"},u={class:"col-6 weather-container"},m={key:0},c={class:"col-6 date-time-container"};function l(e,t,s,l,d,w){const g=(0,o.g2)("Loading"),f=(0,o.g2)("Weather"),p=(0,o.g2)("DateTime");return(0,o.uX)(),(0,o.CE)("div",r,[d.images.length?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.Wv)(g,{key:0})),(0,o.Lk)("div",i,null,512),(0,o.Lk)("img",{ref:"img",src:w.imgURL,alt:"Your carousel images",style:(0,a.Tr)({display:d.images.length?"block":"none"})},null,12,h),w._showDate||w._showTime?((0,o.uX)(),(0,o.CE)("div",n,[(0,o.Lk)("div",u,[w._showWeather?((0,o.uX)(),(0,o.Wv)(f,{key:1,"show-icon":w._showWeatherIcon,"show-summary":w._showWeatherSummary,"show-temperature":w._showTemperature,"icon-color":s.weatherIconColor,"icon-size":s.weatherIconSize,animate:w._animateWeatherIcon},null,8,["show-icon","show-summary","show-temperature","icon-color","icon-size","animate"])):((0,o.uX)(),(0,o.CE)("span",m," "))]),(0,o.Lk)("div",c,[w._showTime||w._showDate?((0,o.uX)(),(0,o.Wv)(p,{key:0,"show-date":w._showDate,"show-time":w._showTime,"show-seconds":w._showSeconds},null,8,["show-date","show-time","show-seconds"])):(0,o.Q3)("",!0)])])):(0,o.Q3)("",!0)])}var d=s(2002),w=s(9828),g=s(1391),f=s(5188),p={name:"ImageCarousel",components:{Weather:f["default"],DateTime:g["default"],Loading:w.A},mixins:[d.A],props:{imgDir:{type:String,required:!0},refreshSeconds:{type:Number,default:15},showDate:{default:!1},showTime:{default:!1},showSeconds:{default:!1},showWeather:{default:!1},showTemperature:{default:!0},showWeatherIcon:{default:!0},showWeatherSummary:{default:!0},weatherIconColor:{type:String,default:"white"},weatherIconSize:{type:Number,default:70},animateWeatherIcon:{default:!0}},data(){return{images:[],currentImage:void 0,loading:!1}},computed:{imgURL(){let e=8008;return"backend.http"in this.$root.config&&"port"in this.$root.config["backend.http"]&&(e=this.$root.config["backend.http"].port),"//"+window.location.hostname+":"+e+this.currentImage},_showDate(){return this.parseBoolean(this.showDate)},_showTime(){return this.parseBoolean(this.showTime)},_showSeconds(){return this.parseBoolean(this.showSeconds)},_showTemperature(){return this.parseBoolean(this.showTemperature)},_showWeather(){return this.parseBoolean(this.showWeather)},_showWeatherIcon(){return this.parseBoolean(this.showWeatherIcon)},_showWeatherSummary(){return this.parseBoolean(this.showWeatherSummary)},_animateWeatherIcon(){return this.parseBoolean(this.animateWeatherIcon)}},methods:{async refresh(){if(!this.images.length){this.loading=!0;try{this.images=await this.request("utils.search_web_directory",{directory:this.imgDir,extensions:[".jpg",".jpeg",".png"]}),this.shuffleImages()}finally{this.loading=!1}}this.images.length&&(this.currentImage=this.images.pop())},onNewImage(){if(this.$refs.img&&(this.$refs.background.style["background-image"]="url("+this.imgURL+")",this.$refs.img.style.width="auto",this.$refs.img.width>this.$refs.img.height)){const e=this.$refs.img.width/this.$refs.img.height;e>=4/3&&e<=16/9?this.$refs.img.style.width="100%":e<=4/3&&(this.$refs.img.style.height="100%")}},shuffleImages(){for(let e=this.images.length-1;e>0;e--){let t=Math.floor(Math.random()*(e+1)),s=this.images[e];this.images[e]=this.images[t],this.images[t]=s}}},mounted(){this.$refs.img.addEventListener("load",this.onNewImage),this.$refs.img.addEventListener("error",this.refresh),this.refresh(),setInterval(this.refresh,Math.round(1e3*this.refreshSeconds))}},_=s(6262);const y=(0,_.A)(p,[["render",l],["__scopeId","data-v-7b09a273"]]);var v=y}}]);
|
||||
//# sourceMappingURL=3307.3c8cc07b.js.map
|
||||
//# sourceMappingURL=3307.457ad5ac.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1014],{1014:function(e,n,t){t.r(n),t.d(n,{default:function(){return E}});var s=t(641),i=t(33);const l={class:"media-youtube-channel"},a={key:1,class:"channel"},r={class:"header"},c={class:"banner"},o=["src"],u={class:"row info-container"},d={class:"info"},h={class:"row"},b={class:"title-container"},g=["href"],p={class:"image"},y=["src"],m=["href"],f={class:"actions"},k=["title"],v={key:0,class:"subscribers"},w={key:0,class:"description"};function _(e,n,t,_,C,L){const x=(0,s.g2)("Loading"),S=(0,s.g2)("Results");return(0,s.uX)(),(0,s.CE)("div",l,[L.isLoading?((0,s.uX)(),(0,s.Wv)(x,{key:0})):C.channel?((0,s.uX)(),(0,s.CE)("div",a,[(0,s.Lk)("div",r,[(0,s.Lk)("div",c,[C.channel?.banner?.length?((0,s.uX)(),(0,s.CE)("img",{key:0,src:C.channel.banner},null,8,o)):(0,s.Q3)("",!0)]),(0,s.Lk)("div",u,[(0,s.Lk)("div",d,[(0,s.Lk)("div",h,[(0,s.Lk)("div",b,[C.channel?.image?.length?((0,s.uX)(),(0,s.CE)("a",{key:0,href:C.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,s.Lk)("div",p,[(0,s.Lk)("img",{src:C.channel.image},null,8,y)])],8,g)):(0,s.Q3)("",!0),(0,s.Lk)("a",{class:"title",href:C.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,i.v_)(C.channel?.name),9,m)]),(0,s.Lk)("div",f,[(0,s.Lk)("button",{title:C.subscribed?"Unsubscribe":"Subscribe",onClick:n[0]||(n[0]=(...e)=>L.toggleSubscription&&L.toggleSubscription(...e))},(0,i.v_)(C.subscribed?"Unsubscribe":"Subscribe"),9,k),null!=C.channel.subscribers&&(C.channel.subscribers||0)>=0?((0,s.uX)(),(0,s.CE)("div",v,(0,i.v_)(e.formatNumber(C.channel.subscribers))+" subscribers ",1)):(0,s.Q3)("",!0)])]),C.channel?.description?((0,s.uX)(),(0,s.CE)("div",w,(0,i.v_)(C.channel.description),1)):(0,s.Q3)("",!0)])])]),(0,s.bF)(S,{results:C.channel.items,filter:t.filter,"result-index-step":null,"selected-result":C.selectedResult,ref:"results",onAddToPlaylist:n[1]||(n[1]=n=>e.$emit("add-to-playlist",n)),onDownload:n[2]||(n[2]=n=>e.$emit("download",n)),onDownloadAudio:n[3]||(n[3]=n=>e.$emit("download-audio",n)),onOpenChannel:n[4]||(n[4]=n=>e.$emit("open-channel",n)),onPlay:n[5]||(n[5]=n=>e.$emit("play",n)),onPlayWithOpts:n[6]||(n[6]=n=>e.$emit("play-with-opts",n)),onScrollEnd:L.loadNextPage,onSelect:n[7]||(n[7]=e=>C.selectedResult=e),onView:n[8]||(n[8]=n=>e.$emit("view",n))},null,8,["results","filter","selected-result","onScrollEnd"])])):(0,s.Q3)("",!0)])}var C=t(9828),L=t(3149),x=t(2002),S={mixins:[x.A],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","view"],components:{Loading:C.A,Results:L.A},props:{id:{type:String,required:!0},filter:{type:String,default:null},loading:{type:Boolean,default:!1}},data(){return{channel:null,loading_:!1,loadingNextPage:!1,selectedResult:null,subscribed:!1}},computed:{isLoading(){return this.loading||this.loading_},itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading_=!0;try{await this.updateChannel(!0),this.subscribed=await this.request("youtube.is_subscribed",{channel_id:this.id})}finally{this.loading_=!1}},async updateChannel(e){const n=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel?.next_page_token}),t=this.itemsByUrl||{};let s=n.items.filter((e=>!t[e.url])).map((e=>({type:"youtube",...e})));e||(s=this.channel.items.concat(s)),this.channel=n,this.channel.items=s},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage){this.loadingNextPage=!0;try{await this.timeout(500),await this.updateChannel()}finally{this.loadingNextPage=!1}}},async toggleSubscription(){const e=this.subscribed?"unsubscribe":"subscribe";await this.request(`youtube.${e}`,{channel_id:this.id}),this.subscribed=!this.subscribed}},async mounted(){this.setUrlArgs({channel:this.id}),await this.loadChannel()},unmounted(){this.setUrlArgs({channel:null})}},P=t(6262);const A=(0,P.A)(S,[["render",_],["__scopeId","data-v-448cf852"]]);var E=A}}]);
|
||||
//# sourceMappingURL=1014.d716edc5.js.map
|
||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3672],{3672:function(e,n,t){t.r(n),t.d(n,{default:function(){return E}});var s=t(641),i=t(33);const l={class:"media-youtube-channel"},a={key:1,class:"channel"},r={class:"header"},c={class:"banner"},o=["src"],u={class:"row info-container"},d={class:"info"},h={class:"row"},b={class:"title-container"},g=["href"],p={class:"image"},y=["src"],m=["href"],f={class:"actions"},k=["title"],v={key:0,class:"subscribers"},w={key:0,class:"description"};function _(e,n,t,_,C,L){const x=(0,s.g2)("Loading"),S=(0,s.g2)("Results");return(0,s.uX)(),(0,s.CE)("div",l,[L.isLoading?((0,s.uX)(),(0,s.Wv)(x,{key:0})):C.channel?((0,s.uX)(),(0,s.CE)("div",a,[(0,s.Lk)("div",r,[(0,s.Lk)("div",c,[C.channel?.banner?.length?((0,s.uX)(),(0,s.CE)("img",{key:0,src:C.channel.banner},null,8,o)):(0,s.Q3)("",!0)]),(0,s.Lk)("div",u,[(0,s.Lk)("div",d,[(0,s.Lk)("div",h,[(0,s.Lk)("div",b,[C.channel?.image?.length?((0,s.uX)(),(0,s.CE)("a",{key:0,href:C.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,s.Lk)("div",p,[(0,s.Lk)("img",{src:C.channel.image},null,8,y)])],8,g)):(0,s.Q3)("",!0),(0,s.Lk)("a",{class:"title",href:C.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,i.v_)(C.channel?.name),9,m)]),(0,s.Lk)("div",f,[(0,s.Lk)("button",{title:C.subscribed?"Unsubscribe":"Subscribe",onClick:n[0]||(n[0]=(...e)=>L.toggleSubscription&&L.toggleSubscription(...e))},(0,i.v_)(C.subscribed?"Unsubscribe":"Subscribe"),9,k),null!=C.channel.subscribers&&(C.channel.subscribers||0)>=0?((0,s.uX)(),(0,s.CE)("div",v,(0,i.v_)(e.formatNumber(C.channel.subscribers))+" subscribers ",1)):(0,s.Q3)("",!0)])]),C.channel?.description?((0,s.uX)(),(0,s.CE)("div",w,(0,i.v_)(C.channel.description),1)):(0,s.Q3)("",!0)])])]),(0,s.bF)(S,{results:C.channel.items,filter:t.filter,"result-index-step":null,"selected-result":C.selectedResult,ref:"results",onAddToPlaylist:n[1]||(n[1]=n=>e.$emit("add-to-playlist",n)),onDownload:n[2]||(n[2]=n=>e.$emit("download",n)),onDownloadAudio:n[3]||(n[3]=n=>e.$emit("download-audio",n)),onOpenChannel:n[4]||(n[4]=n=>e.$emit("open-channel",n)),onPlay:n[5]||(n[5]=n=>e.$emit("play",n)),onPlayWithOpts:n[6]||(n[6]=n=>e.$emit("play-with-opts",n)),onScrollEnd:L.loadNextPage,onSelect:n[7]||(n[7]=e=>C.selectedResult=e),onView:n[8]||(n[8]=n=>e.$emit("view",n))},null,8,["results","filter","selected-result","onScrollEnd"])])):(0,s.Q3)("",!0)])}var C=t(9828),L=t(3149),x=t(2002),S={mixins:[x.A],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","view"],components:{Loading:C.A,Results:L.A},props:{id:{type:String,required:!0},filter:{type:String,default:null},loading:{type:Boolean,default:!1}},data(){return{channel:null,loading_:!1,loadingNextPage:!1,selectedResult:null,subscribed:!1}},computed:{isLoading(){return this.loading||this.loading_},itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading_=!0;try{await this.updateChannel(!0),this.subscribed=await this.request("youtube.is_subscribed",{channel_id:this.id})}finally{this.loading_=!1}},async updateChannel(e){const n=await this.request("youtube.get_channel",{id:this.id,page:this.channel?.next_page_token}),t=this.itemsByUrl||{};let s=n.items.filter((e=>!t[e.url])).map((e=>({type:"youtube",...e})));e||(s=this.channel.items.concat(s)),this.channel=n,this.channel.items=s},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage){this.loadingNextPage=!0;try{await this.timeout(500),await this.updateChannel()}finally{this.loadingNextPage=!1}}},async toggleSubscription(){const e=this.subscribed?"unsubscribe":"subscribe";await this.request(`youtube.${e}`,{channel_id:this.id}),this.subscribed=!this.subscribed}},async mounted(){this.setUrlArgs({channel:this.id}),await this.loadChannel()},unmounted(){this.setUrlArgs({channel:null})}},P=t(6262);const A=(0,P.A)(S,[["render",_],["__scopeId","data-v-1ee84b24"]]);var E=A}}]);
|
||||
//# sourceMappingURL=3672.d36cdf03.js.map
|
1
platypush/backend/http/webapp/dist/static/js/3672.d36cdf03.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/3672.d36cdf03.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3851],{3851:function(e,t,i){i.r(t),i.d(t,{default:function(){return C}});var s=i(641),n=i(33);const a={class:"camera component-row"},r={class:"feed-container",ref:"container"},c=["textContent"],l=["src"],u={key:2},o=["src"],p={class:"controls"},d={key:0,class:"fa fa-play"},v={key:1,class:"fa fa-pause"};function f(e,t,i,f,m,y){return(0,s.uX)(),(0,s.CE)("div",a,[(0,s.Lk)("div",r,[m.visible?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",{key:0,class:"no-content",textContent:(0,n.v_)(i.name)},null,8,c)),m.visible&&"image"===i.type?((0,s.uX)(),(0,s.CE)("img",{key:1,alt:"Camera feed",src:y.imgUrl},null,8,l)):m.visible&&"video"===i.type?((0,s.uX)(),(0,s.CE)("video",u,[(0,s.Lk)("source",{src:i.src},null,8,o)])):(0,s.Q3)("",!0)],512),(0,s.Lk)("div",p,[(0,s.Lk)("button",{class:"toggle-btn",onClick:t[0]||(t[0]=e=>m.visible=!m.visible)},[m.visible?((0,s.uX)(),(0,s.CE)("i",v)):((0,s.uX)(),(0,s.CE)("i",d))])])])}var m=i(2002),y={name:"Camera",mixins:[m.A],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}}},k=i(6262);const g=(0,k.A)(y,[["render",f],["__scopeId","data-v-0fad5251"]]);var C=g}}]);
|
||||
//# sourceMappingURL=3851.ea7eb981.js.map
|
||||
//# sourceMappingURL=3851.84f9576e.js.map
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"static/js/3851.ea7eb981.js","mappings":"6LACOA,MAAM,wB,GACJA,MAAM,iBAAiBC,IAAI,a,mDAQ3BD,MAAM,Y,SAEJA,MAAM,c,SACNA,MAAM,e,0CAZfE,EAAAA,EAAAA,IAeM,MAfNC,EAeM,EAdJC,EAAAA,EAAAA,IAMM,MANNC,EAMM,CALyCC,EAAAC,S,iBAAO,WAApDL,EAAAA,EAAAA,IAAwD,O,MAAnDF,MAAM,a,aAAaQ,EAAAA,EAAAA,IAAQC,EAAKC,O,WACMJ,EAAAC,SAAoB,UAATE,EAAAE,OAAI,WAA1DT,EAAAA,EAAAA,IAAwE,O,MAAnEU,IAAI,cAAeC,IAAKC,EAAAC,Q,WACXT,EAAAC,SAAoB,UAATE,EAAAE,OAAI,WAAjCT,EAAAA,EAAAA,IAEQ,QAAAc,EAAA,EADNZ,EAAAA,EAAAA,IAAmB,UAAVS,IAAKJ,EAAAI,KAAG,OAAAI,OAAA,sBAIrBb,EAAAA,EAAAA,IAKM,MALNc,EAKM,EAJJd,EAAAA,EAAAA,IAGS,UAHDJ,MAAM,aAAcmB,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEf,EAAAC,SAAWD,EAAAC,U,CACfD,EAAAC,UAAW,WACxCL,EAAAA,EAAAA,IAAgC,IAAhCoB,MADoC,WAApCpB,EAAAA,EAAAA,IAAwC,IAAxCqB,S,eAaR,GACEb,KAAM,SACNc,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAKLb,IAAK,CACHF,KAAMgB,OACNC,UAAU,GAMZjB,KAAM,CACJA,KAAMgB,OACNE,QAAS,SAMXnB,KAAM,CACJC,KAAMgB,SAIVG,SAAU,CACRf,MAAAA,GACE,GAAkB,UAAdgB,KAAKpB,KAGT,OAAOoB,KAAKlB,KAAOkB,KAAKlB,IAAImB,QAAQ,KAAO,EAAI,IAAM,KAAO,OAAS,IAAIC,MAAOC,UAAUC,UAC5F,GAGFC,IAAAA,GACE,MAAO,CACL7B,SAAS,EAEb,G,UC5DF,MAAM8B,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 \"../../../../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","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","$data","visible","_toDisplayString","$props","name","type","alt","src","$options","imgUrl","_hoisted_5","_hoisted_6","_hoisted_7","onClick","_cache","$event","_hoisted_9","_hoisted_8","mixins","Utils","props","String","required","default","computed","this","indexOf","Date","getTime","toString","data","__exports__","render"],"sourceRoot":""}
|
||||
{"version":3,"file":"static/js/3851.84f9576e.js","mappings":"6LACOA,MAAM,wB,GACJA,MAAM,iBAAiBC,IAAI,a,mDAQ3BD,MAAM,Y,SAEJA,MAAM,c,SACNA,MAAM,e,0CAZfE,EAAAA,EAAAA,IAeM,MAfNC,EAeM,EAdJC,EAAAA,EAAAA,IAMM,MANNC,EAMM,CALyCC,EAAAC,S,iBAAO,WAApDL,EAAAA,EAAAA,IAAwD,O,MAAnDF,MAAM,a,aAAaQ,EAAAA,EAAAA,IAAQC,EAAKC,O,WACMJ,EAAAC,SAAoB,UAATE,EAAAE,OAAI,WAA1DT,EAAAA,EAAAA,IAAwE,O,MAAnEU,IAAI,cAAeC,IAAKC,EAAAC,Q,WACXT,EAAAC,SAAoB,UAATE,EAAAE,OAAI,WAAjCT,EAAAA,EAAAA,IAEQ,QAAAc,EAAA,EADNZ,EAAAA,EAAAA,IAAmB,UAAVS,IAAKJ,EAAAI,KAAG,OAAAI,OAAA,sBAIrBb,EAAAA,EAAAA,IAKM,MALNc,EAKM,EAJJd,EAAAA,EAAAA,IAGS,UAHDJ,MAAM,aAAcmB,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEf,EAAAC,SAAWD,EAAAC,U,CACfD,EAAAC,UAAW,WACxCL,EAAAA,EAAAA,IAAgC,IAAhCoB,MADoC,WAApCpB,EAAAA,EAAAA,IAAwC,IAAxCqB,S,eAaR,GACEb,KAAM,SACNc,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAKLb,IAAK,CACHF,KAAMgB,OACNC,UAAU,GAMZjB,KAAM,CACJA,KAAMgB,OACNE,QAAS,SAMXnB,KAAM,CACJC,KAAMgB,SAIVG,SAAU,CACRf,MAAAA,GACE,GAAkB,UAAdgB,KAAKpB,KAGT,OAAOoB,KAAKlB,KAAOkB,KAAKlB,IAAImB,QAAQ,KAAO,EAAI,IAAM,KAAO,OAAS,IAAIC,MAAOC,UAAUC,UAC5F,GAGFC,IAAAA,GACE,MAAO,CACL7B,SAAS,EAEb,G,UC5DF,MAAM8B,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 \"../../../../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","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","$data","visible","_toDisplayString","$props","name","type","alt","src","$options","imgUrl","_hoisted_5","_hoisted_6","_hoisted_7","onClick","_cache","$event","_hoisted_9","_hoisted_8","mixins","Utils","props","String","required","default","computed","this","indexOf","Date","getTime","toString","data","__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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4523],{1808:function(e,a,l){l.d(a,{A:function(){return C}});var t=l(641),n=l(33),u=l(3751);const s={class:"slider-wrapper"},i=["textContent"],r=["textContent"],o={class:"slider-container"},v=["min","max","step","disabled","value"],d=["textContent"];function c(e,a,l,c,p,g){return(0,t.uX)(),(0,t.CE)("label",s,[l.withRange?((0,t.uX)(),(0,t.CE)("span",{key:0,class:(0,n.C4)(["range-labels",{"with-label":l.withLabel}])},[l.withRange?((0,t.uX)(),(0,t.CE)("span",{key:0,class:"label left",textContent:(0,n.v_)(l.range[0])},null,8,i)):(0,t.Q3)("",!0),l.withRange?((0,t.uX)(),(0,t.CE)("span",{key:1,class:"label right",textContent:(0,n.v_)(l.range[1])},null,8,r)):(0,t.Q3)("",!0)],2)):(0,t.Q3)("",!0),(0,t.Lk)("span",o,[(0,t.Lk)("input",{class:(0,n.C4)(["slider",{"with-label":l.withLabel}]),type:"range",min:l.range[0],max:l.range[1],step:l.step,disabled:l.disabled,value:l.value,ref:"range",onInput:a[0]||(a[0]=(0,u.D$)((a=>e.$emit("input",a)),["stop"])),onChange:a[1]||(a[1]=(0,u.D$)((a=>e.$emit("change",a)),["stop"]))},null,42,v),l.withLabel?((0,t.uX)(),(0,t.CE)("span",{key:0,class:"label",textContent:(0,n.v_)(l.value),ref:"label"},null,8,d)):(0,t.Q3)("",!0)])])}var p={emits:["input","change"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1},withRange:{type:Boolean,default:!1}}},g=l(6262);const h=(0,g.A)(p,[["render",c],["__scopeId","data-v-d90e850c"]]);var C=h},4523:function(e,a,l){l.r(a),l.d(a,{default:function(){return X}});var t=l(641),n=l(33),u=l(3751);const s={class:"entity dimmer-container"},i={class:"icon"},r={class:"label"},o=["textContent"],v={class:"value-container pull-right"},d=["textContent"],c={class:"row"},p={key:0,class:"input"},g={class:"col-10"},h={class:"col-2 value"},C=["value"],y={key:1,class:"input"},k={class:"col-12 value"},m=["value"];function b(e,a,l,b,f,L){const w=(0,t.g2)("EntityIcon"),x=(0,t.g2)("Slider");return(0,t.uX)(),(0,t.CE)("div",s,[(0,t.Lk)("div",{class:(0,n.C4)(["head",{collapsed:e.collapsed}])},[(0,t.Lk)("div",i,[(0,t.bF)(w,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,t.Lk)("div",r,[(0,t.Lk)("div",{class:"name",textContent:(0,n.v_)(e.value.name)},null,8,o)]),(0,t.Lk)("div",v,[null!=L.parsedValue?((0,t.uX)(),(0,t.CE)("span",{key:0,class:"value",textContent:(0,n.v_)(L.parsedValue)},null,8,d)):(0,t.Q3)("",!0),(0,t.Lk)("button",{onClick:a[0]||(a[0]=(0,u.D$)((a=>e.collapsed=!e.collapsed),["stop"]))},[(0,t.Lk)("i",{class:(0,n.C4)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)])])],2),e.collapsed?(0,t.Q3)("",!0):((0,t.uX)(),(0,t.CE)("div",{key:0,class:"body",onClick:a[3]||(a[3]=(0,u.D$)(((...e)=>L.prevent&&L.prevent(...e)),["stop"]))},[(0,t.Lk)("div",c,[null!=e.value?.min&&null!=e.value?.max?((0,t.uX)(),(0,t.CE)("div",p,[(0,t.Lk)("div",g,[(0,t.bF)(x,{range:[e.value.min,e.value.max],"with-range":"",value:e.value.value,onChange:L.setValue},null,8,["range","value","onChange"])]),(0,t.Lk)("div",h,[(0,t.Lk)("input",{type:"number",value:e.value.value,onChange:a[1]||(a[1]=(...e)=>L.setValue&&L.setValue(...e))},null,40,C)])])):((0,t.uX)(),(0,t.CE)("div",y,[(0,t.Lk)("div",k,[(0,t.Lk)("input",{type:"number",value:e.value.value,onChange:a[2]||(a[2]=(...e)=>L.setValue&&L.setValue(...e))},null,40,m)])]))])]))])}var f=l(1808),L=l(4897),w=l(1029),x={name:"Dimmer",components:{Slider:f.A,EntityIcon:w["default"]},mixins:[L["default"]],computed:{parsedValue(){if(this.value?.is_write_only||null==this.value?.value)return null;let e=this.value.value;return this.value.unit&&(e=`${e} ${this.value.unit}`),e}},methods:{prevent(e){return e.stopPropagation(),!1},async setValue(e){if(e.target.value?.length){this.$emit("loading",!0);try{await this.request("entities.execute",{id:this.value.id,action:"set",value:+e.target.value})}finally{this.$emit("loading",!1)}}}}},E=l(6262);const _=(0,E.A)(x,[["render",b],["__scopeId","data-v-05503f62"]]);var X=_}}]);
|
||||
//# sourceMappingURL=4523.6b716593.js.map
|
||||
//# sourceMappingURL=4523.a60b3d0d.js.map
|
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/4648.1a27da89.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/4648.1a27da89.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/4648.1a27da89.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/4648.1a27da89.js.map
vendored
Normal file
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
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5953],{5953:function(e,t,n){n.r(t),n.d(t,{default:function(){return g}});var s=n(641),a=n(33);const r={class:"calendar"},i={key:1,class:"no-events"},d={key:2,class:"event upcoming-event"},l=["textContent"],o=["textContent"],u={class:"time"},v={key:3,class:"event-list"},c=["textContent"],m=["textContent"],f=["textContent"];function h(e,t,n,h,C,p){const y=(0,s.g2)("Loading");return(0,s.uX)(),(0,s.CE)("div",r,[e.loading?((0,s.uX)(),(0,s.Wv)(y,{key:0})):e.events.length?e.events.length>0?((0,s.uX)(),(0,s.CE)("div",d,[(0,s.Lk)("div",{class:"date",textContent:(0,a.v_)(e.formatDate(e.events[0].start))},null,8,l),(0,s.Lk)("div",{class:"summary",textContent:(0,a.v_)(e.events[0].summary)},null,8,o),(0,s.Lk)("div",u,(0,a.v_)(e.formatTime(e.events[0].start,!1))+" - "+(0,a.v_)(e.formatTime(e.events[0].end,!1)),1)])):(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",i," No events found ")),e.events.length>1?((0,s.uX)(),(0,s.CE)("div",v,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(e.events.slice(1,n.maxEvents),(t=>((0,s.uX)(),(0,s.CE)("div",{class:"event",key:t.id},[(0,s.Lk)("div",{class:"date col-2",textContent:(0,a.v_)(e.formatDate(t.start))},null,8,c),(0,s.Lk)("div",{class:"time col-2",textContent:(0,a.v_)(e.formatTime(t.start,!1))},null,8,m),(0,s.Lk)("div",{class:"summary col-8",textContent:(0,a.v_)(t.summary)},null,8,f)])))),128))])):(0,s.Q3)("",!0)])}var C=n(2002),p=n(9828),y={name:"Calendar",components:{Loading:p.A},mixins:[C.A],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)))}},k=n(6262);const x=(0,k.A)(y,[["render",h],["__scopeId","data-v-44a3b988"]]);var g=x}}]);
|
||||
//# sourceMappingURL=5953.3467f831.js.map
|
||||
//# sourceMappingURL=5953.3ee4e3f1.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
1
platypush/backend/http/webapp/dist/static/js/662.8db47c58.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/662.8db47c58.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7222],{7222:function(e,t,r){r.r(t),r.d(t,{default:function(){return v}});var s=r(641),i=r(33);const n={class:"rss-news"},u={key:0,class:"article"},l=["textContent"],c=["textContent"],a=["textContent"];function h(e,t,r,h,d,o){return(0,s.uX)(),(0,s.CE)("div",n,[e.currentArticle?((0,s.uX)(),(0,s.CE)("div",u,[(0,s.Lk)("div",{class:"source",textContent:(0,i.v_)(e.currentArticle.feed_title||e.currentArticle.feed_url)},null,8,l),(0,s.Lk)("div",{class:"title",textContent:(0,i.v_)(e.currentArticle.title)},null,8,c),(0,s.Lk)("div",{class:"published",textContent:(0,i.v_)(new Date(e.currentArticle.published).toDateString()+", "+new Date(e.currentArticle.published).toTimeString().substring(0,5))},null,8,a)])):(0,s.Q3)("",!0)])}var d=r(2002),o={name:"RssNews",mixins:[d.A],props:{limit:{type:Number,required:!1,default:25},refreshSeconds:{type:Number,required:!1,default:15}},data:function(){return{articles:[],queue:[],currentArticle:void 0}},methods:{refresh:async function(){this.queue.length||(this.articles=await this.request("rss.get_latest_entries",{limit:this.limit}),this.queue=[...this.articles].reverse()),this.queue.length&&(this.currentArticle=this.queue.pop())}},mounted:function(){this.refresh(),setInterval(this.refresh,parseInt((1e3*this.refreshSeconds).toFixed(0)))}},f=r(6262);const p=(0,f.A)(o,[["render",h],["__scopeId","data-v-24745ce0"]]);var v=p}}]);
|
||||
//# sourceMappingURL=7222.ddd17e92.js.map
|
||||
//# sourceMappingURL=7222.69b738ae.js.map
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"static/js/7222.ddd17e92.js","mappings":"6LACOA,MAAM,Y,SACJA,MAAM,W,gGADbC,EAAAA,EAAAA,IAMM,MANNC,EAMM,CALuBC,EAAAC,iBAAc,WAAzCH,EAAAA,EAAAA,IAIM,MAJNI,EAIM,EAHJC,EAAAA,EAAAA,IAAwF,OAAnFN,MAAM,S,aAASO,EAAAA,EAAAA,IAAQJ,EAAqDC,eAAtCI,YAAcL,EAAAC,eAAeK,W,WACxEH,EAAAA,EAAAA,IAAuD,OAAlDN,MAAM,Q,aAAQO,EAAAA,EAAAA,IAAQJ,EAAqBC,eAANM,Q,WAC1CJ,EAAAA,EAAAA,IAAkK,OAA7JN,MAAM,Y,aAAYO,EAAAA,EAAAA,IAAoI,IAAxHI,KAAKR,EAAAC,eAAeQ,WAAWC,eAAiB,KAAO,IAAIF,KAAKR,EAAAC,eAAeQ,WAAWE,eAAeC,UAAU,EAAD,K,6CAY3J,GACEC,KAAM,UACNC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,MAAO,CACLC,KAAMC,OACNC,UAAU,EACVC,QAAS,IAIXC,eAAgB,CACdJ,KAAMC,OACNC,UAAU,EACVC,QAAS,KAIbE,KAAM,WACJ,MAAO,CACLC,SAAU,GACVC,MAAO,GACPxB,oBAAgByB,EAEpB,EAEAC,QAAS,CACPC,QAASC,iBACFC,KAAKL,MAAMM,SACdD,KAAKN,eAAiBM,KAAKE,QAAQ,yBAA0B,CAC3Df,MAAOa,KAAKb,QAGda,KAAKL,MAAQ,IAAIK,KAAKN,UAAUS,WAG7BH,KAAKL,MAAMM,SAGhBD,KAAK7B,eAAiB6B,KAAKL,MAAMS,MACnC,GAGFC,QAAS,WACPL,KAAKF,UACLQ,YAAYN,KAAKF,QAASS,UAA8B,IAApBP,KAAKR,gBAAqBgB,QAAQ,IACxE,G,UCzDF,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/RssNews/Index.vue","webpack://platypush/./src/components/widgets/RssNews/Index.vue?c35e"],"sourcesContent":["<template>\n <div class=\"rss-news\">\n <div class=\"article\" v-if=\"currentArticle\">\n <div class=\"source\" v-text=\"currentArticle.feed_title || currentArticle.feed_url\"></div>\n <div class=\"title\" v-text=\"currentArticle.title\"></div>\n <div class=\"published\" v-text=\"new Date(currentArticle.published).toDateString() + ', ' + new Date(currentArticle.published).toTimeString().substring(0,5)\"></div>\n </div>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n/**\n * In order to use this widget you need to configure the `rss` plugin\n * with a list of subscriptions.\n */\nexport default {\n name: \"RssNews\",\n mixins: [Utils],\n props: {\n // Maximum number of items to be shown in a cycle.\n limit: {\n type: Number,\n required: false,\n default: 25,\n },\n\n // How long an entry should be displayed before moving to the next one.\n refreshSeconds: {\n type: Number,\n required: false,\n default: 15,\n },\n },\n\n data: function() {\n return {\n articles: [],\n queue: [],\n currentArticle: undefined,\n }\n },\n\n methods: {\n refresh: async function() {\n if (!this.queue.length) {\n this.articles = await this.request('rss.get_latest_entries', {\n limit: this.limit\n })\n\n this.queue = [...this.articles].reverse()\n }\n\n if (!this.queue.length)\n return\n\n this.currentArticle = this.queue.pop()\n },\n },\n\n mounted: function() {\n this.refresh()\n setInterval(this.refresh, parseInt((this.refreshSeconds*1000).toFixed(0)))\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.rss-news {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n letter-spacing: .025em;\n\n .article {\n width: 90%;\n padding: 0 2em;\n\n .source {\n font-size: 1.7em;\n font-weight: bold;\n margin-bottom: .5em;\n }\n\n .title {\n font-size: 1.8em;\n font-weight: normal;\n margin-bottom: .5em;\n }\n\n .published {\n text-align: right;\n font-size: 1.1em;\n }\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=24745ce0&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=24745ce0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-24745ce0\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_ctx","currentArticle","_hoisted_2","_createElementVNode","_toDisplayString","feed_title","feed_url","title","Date","published","toDateString","toTimeString","substring","name","mixins","Utils","props","limit","type","Number","required","default","refreshSeconds","data","articles","queue","undefined","methods","refresh","async","this","length","request","reverse","pop","mounted","setInterval","parseInt","toFixed","__exports__","render"],"sourceRoot":""}
|
||||
{"version":3,"file":"static/js/7222.69b738ae.js","mappings":"6LACOA,MAAM,Y,SACJA,MAAM,W,gGADbC,EAAAA,EAAAA,IAMM,MANNC,EAMM,CALuBC,EAAAC,iBAAc,WAAzCH,EAAAA,EAAAA,IAIM,MAJNI,EAIM,EAHJC,EAAAA,EAAAA,IAAwF,OAAnFN,MAAM,S,aAASO,EAAAA,EAAAA,IAAQJ,EAAqDC,eAAtCI,YAAcL,EAAAC,eAAeK,W,WACxEH,EAAAA,EAAAA,IAAuD,OAAlDN,MAAM,Q,aAAQO,EAAAA,EAAAA,IAAQJ,EAAqBC,eAANM,Q,WAC1CJ,EAAAA,EAAAA,IAAkK,OAA7JN,MAAM,Y,aAAYO,EAAAA,EAAAA,IAAoI,IAAxHI,KAAKR,EAAAC,eAAeQ,WAAWC,eAAiB,KAAO,IAAIF,KAAKR,EAAAC,eAAeQ,WAAWE,eAAeC,UAAU,EAAD,K,6CAY3J,GACEC,KAAM,UACNC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,MAAO,CACLC,KAAMC,OACNC,UAAU,EACVC,QAAS,IAIXC,eAAgB,CACdJ,KAAMC,OACNC,UAAU,EACVC,QAAS,KAIbE,KAAM,WACJ,MAAO,CACLC,SAAU,GACVC,MAAO,GACPxB,oBAAgByB,EAEpB,EAEAC,QAAS,CACPC,QAASC,iBACFC,KAAKL,MAAMM,SACdD,KAAKN,eAAiBM,KAAKE,QAAQ,yBAA0B,CAC3Df,MAAOa,KAAKb,QAGda,KAAKL,MAAQ,IAAIK,KAAKN,UAAUS,WAG7BH,KAAKL,MAAMM,SAGhBD,KAAK7B,eAAiB6B,KAAKL,MAAMS,MACnC,GAGFC,QAAS,WACPL,KAAKF,UACLQ,YAAYN,KAAKF,QAASS,UAA8B,IAApBP,KAAKR,gBAAqBgB,QAAQ,IACxE,G,UCzDF,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/RssNews/Index.vue","webpack://platypush/./src/components/widgets/RssNews/Index.vue?c35e"],"sourcesContent":["<template>\n <div class=\"rss-news\">\n <div class=\"article\" v-if=\"currentArticle\">\n <div class=\"source\" v-text=\"currentArticle.feed_title || currentArticle.feed_url\"></div>\n <div class=\"title\" v-text=\"currentArticle.title\"></div>\n <div class=\"published\" v-text=\"new Date(currentArticle.published).toDateString() + ', ' + new Date(currentArticle.published).toTimeString().substring(0,5)\"></div>\n </div>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n/**\n * In order to use this widget you need to configure the `rss` plugin\n * with a list of subscriptions.\n */\nexport default {\n name: \"RssNews\",\n mixins: [Utils],\n props: {\n // Maximum number of items to be shown in a cycle.\n limit: {\n type: Number,\n required: false,\n default: 25,\n },\n\n // How long an entry should be displayed before moving to the next one.\n refreshSeconds: {\n type: Number,\n required: false,\n default: 15,\n },\n },\n\n data: function() {\n return {\n articles: [],\n queue: [],\n currentArticle: undefined,\n }\n },\n\n methods: {\n refresh: async function() {\n if (!this.queue.length) {\n this.articles = await this.request('rss.get_latest_entries', {\n limit: this.limit\n })\n\n this.queue = [...this.articles].reverse()\n }\n\n if (!this.queue.length)\n return\n\n this.currentArticle = this.queue.pop()\n },\n },\n\n mounted: function() {\n this.refresh()\n setInterval(this.refresh, parseInt((this.refreshSeconds*1000).toFixed(0)))\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.rss-news {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n letter-spacing: .025em;\n\n .article {\n width: 90%;\n padding: 0 2em;\n\n .source {\n font-size: 1.7em;\n font-weight: bold;\n margin-bottom: .5em;\n }\n\n .title {\n font-size: 1.8em;\n font-weight: normal;\n margin-bottom: .5em;\n }\n\n .published {\n text-align: right;\n font-size: 1.1em;\n }\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=24745ce0&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=24745ce0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-24745ce0\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_ctx","currentArticle","_hoisted_2","_createElementVNode","_toDisplayString","feed_title","feed_url","title","Date","published","toDateString","toTimeString","substring","name","mixins","Utils","props","limit","type","Number","required","default","refreshSeconds","data","articles","queue","undefined","methods","refresh","async","this","length","request","reverse","pop","mounted","setInterval","parseInt","toFixed","__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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7896],{7896:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return I}});var t=i(641);const d={class:"plugin"};function o(e,n,i,o,a,r){const s=(0,t.g2)("Loading");return(0,t.uX)(),(0,t.CE)("div",d,[a.loading?((0,t.uX)(),(0,t.Wv)(s,{key:0})):a.component?((0,t.uX)(),(0,t.Wv)((0,t.$y)(a.component),{key:1,config:a.config},null,8,["config"])):(0,t.Q3)("",!0)])}var a=i(2002),r=i(9828),s=i(953),c={name:"Plugin",components:{Loading:r.A},mixins:[a.A],props:{pluginName:{type:String,required:!0}},data(){return{loading:!1,component:null,config:{}}},computed:{componentName(){return this.pluginName.split(".").map((e=>e[0].toUpperCase()+e.slice(1))).join("")}},methods:{refresh:async function(){this.loading=!0;try{this.component=(0,s.IJ)((0,t.$V)((()=>i(7672)(`./${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()}},u=i(6262);const x=(0,u.A)(c,[["render",o],["__scopeId","data-v-69b17daa"]]);var I=x},7672:function(e,n,i){var t={"./Alarm/Index":[8597,9769,5184,1146,3841,1861,3162,9878,4280,1367,2561,2716,648,572,6027,5928,1233,7594,343,3045,6360],"./Application/Index":[3024,1146,1861,3162,9878,1367,2561,572,6592,3024],"./Camera/Index":[9284,8602,6903],"./CameraAndroidIpcam/Index":[2981,2981],"./CameraCv/Index":[2908,8602,2908],"./CameraFfmpeg/Index":[6973,8602,6973],"./CameraGstreamer/Index":[5783,8602,5783],"./CameraIrMlx90640/Index":[8636,8602,8636],"./CameraPi/Index":[3671,8602,3671],"./CameraPiLegacy/Index":[8357,8602,8357],"./Entities/Index":[1131,1146,3841,1861,5799,2486,343,1131,2256],"./Execute/Index":[8567,1146,9878,2561,5928,1381],"./Extensions/Index":[2720,1146,9878,2561,572,6027,6592,2720,2545],"./File/Index":[2061,1146,1861,3162,9878,1367,2716,648,1562],"./Light/Index":[8297,9769,5184,8297],"./LightHue/Index":[8652,9769,5184,8297,8652],"./Media/Index":[2673,5184,1146,1861,3162,9878,4280,1367,2716,648,6157,4787,3149,6777,2673],"./Media/Providers/Jellyfin/views/Media/Index":[6975,1146,3841,1861,3162,4280,2353,3149,1433,7619,1616],"./Media/Providers/Jellyfin/views/Movies/Index":[2436,1146,3841,1861,3162,4280,3149,1008,6556,4267],"./Media/Providers/Jellyfin/views/Music/Index":[1433,1146,3841,1861,3162,4280,2353,3149,1433,28],"./Media/Providers/YouTube/Index":[9476,9476],"./MediaChromecast/Index":[1684,5184,1146,1861,3162,9878,4280,1367,2716,648,6157,4787,3149,6777,2673,1684],"./MediaGstreamer/Index":[9145,5184,1146,1861,3162,9878,4280,1367,2716,648,6157,4787,3149,6777,2673,9145],"./MediaMplayer/Index":[7839,5184,1146,1861,3162,9878,4280,1367,2716,648,6157,4787,3149,6777,2673,7839],"./MediaMpv/Index":[9388,5184,1146,1861,3162,9878,4280,1367,2716,648,6157,4787,3149,6777,2673,9388],"./MediaVlc/Index":[6372,5184,1146,1861,3162,9878,4280,1367,2716,648,6157,4787,3149,6777,2673,6372],"./Music/Index":[1995,5184,1146,1861,6157,4787,1995],"./MusicMopidy/Index":[7533,5184,1146,1861,6157,4787,1995,7533],"./MusicMpd/Index":[560,5184,1146,1861,6157,4787,1995,560],"./MusicSnapcast/Index":[6564,9769,5184,6564],"./MusicSpotify/Index":[7299,5184,1146,1861,6157,4787,1995,7299],"./Procedures/Index":[9636,1146,3841,3162,9878,4280,1367,2561,572,6027,5928,1233,6923,343,9636],"./Rtorrent/Index":[8499,1146,1861,6777,1671,8499],"./Settings/Index":[3990,9769,1146,3841,1861,3162,2561,806,3990],"./Settings/Tokens/Index":[806,1146,3841,1861,2561,806],"./Sound/Index":[7158,7158],"./Torrent/Index":[7098,1146,1861,6777,1671,7098],"./Tts/Index":[2392,8946,2392],"./TtsGoogle/Index":[1526,8946,1526],"./TtsPicovoice/Index":[8191,8946,8191],"./TvSamsungWs/Index":[4387,4387],"./ZigbeeMqtt/Index":[7630,9769,5184,1146,1861,7630],"./Zwave/Index":[9313,9769,5184,1146,1861,3290,9313],"./ZwaveMqtt/Index":[5145,9769,5184,1146,1861,3290,5145]};function d(e){if(!i.o(t,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=t[e],d=n[0];return Promise.all(n.slice(1).map(i.e)).then((function(){return i(d)}))}d.keys=function(){return Object.keys(t)},d.id=7672,e.exports=d}}]);
|
||||
//# sourceMappingURL=7896.c91397fe.js.map
|
||||
//# sourceMappingURL=7896.55b55b53.js.map
|
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/8044.3d533dea.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/8044.3d533dea.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8044],{8044:function(e,t,a){a.r(t),a.d(t,{default:function(){return p}});var n=a(641);const o={class:"no-token"},i={class:"description"},d=["innerHTML"];function c(e,t,a,c,s,r){return(0,n.uX)(),(0,n.CE)("div",o,[t[1]||(t[1]=(0,n.Lk)("div",{class:"title"},[(0,n.eW)(" No "),(0,n.Lk)("code",null,"auth_token"),(0,n.eW)(" found in the YouTube configuration. ")],-1)),(0,n.Lk)("div",i,[t[0]||(t[0]=(0,n.Fv)(' This integration requires an <code data-v-c4645d8e>auth_token</code> to be set in the <code data-v-c4645d8e>youtube</code> section of the configuration file in order to access your playlists and subscriptions.<br data-v-c4645d8e><br data-v-c4645d8e> The following backends are supported: <h2 data-v-c4645d8e>Piped</h2> You can retrieve an auth token from your favourite Piped instance (default: <a href="https://pipedapi.kavin.rocks" target="_blank" data-v-c4645d8e>https://pipedapi.kavin.rocks</a>) through the following procedure: <ol data-v-c4645d8e><li data-v-c4645d8e>Login to your configured Piped instance.</li><li data-v-c4645d8e>Copy the RSS/Atom feed URL on the <i data-v-c4645d8e>Feed</i> tab.</li><li data-v-c4645d8e>Copy the <code data-v-c4645d8e>auth_token</code> query parameter from the URL.</li></ol><h2 data-v-c4645d8e>Invidious</h2> You can retrieve an auth token from your favourite Invidious instance (default: <a href="https://yewtu.be" target="_blank" data-v-c4645d8e>https://yewtu.be</a>) through the following procedure: <ol data-v-c4645d8e><li data-v-c4645d8e>Login to your configured Invidious instance.</li><li data-v-c4645d8e>Open the URL <code data-v-c4645d8e>https://<instance_url>/authorize_token?scopes=:*</code> in your browser. Replace <code data-v-c4645d8e><instance_url></code> with the URL of your Invidious instance, and <code data-v-c4645d8e>:*</code> with the scopes you want to assign to the token (although an all-access token is recommended for full functionality).</li><li data-v-c4645d8e>Copy the generated token.</li></ol><h2 data-v-c4645d8e>Example Configuration</h2>',19)),(0,n.Lk)("pre",{class:"snippet",innerHTML:r.highlightedYAML},null,8,d)])])}var s=a(9878);const r='\nyoutube:\n backends:\n piped:\n # NOTE: This is the URL of the Piped instance API, not the web interface.\n instance_url: "https://pipedapi.kavin.rocks"\n auth_token: "s3cr3t"\n\n invidious:\n instance_url: "https://yewtu.be"\n auth_token: \'{"session":"v1:s3cr3t","scopes":[":*"],"signature":"signed"}\'\n';var u={computed:{highlightedYAML(){return s.A.highlight(r,{language:"yaml"}).value}}},h=a(6262);const l=(0,h.A)(u,[["render",c],["__scopeId","data-v-c4645d8e"]]);var p=l}}]);
|
||||
//# sourceMappingURL=8044.3d533dea.js.map
|
1
platypush/backend/http/webapp/dist/static/js/8044.3d533dea.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/8044.3d533dea.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"static/js/8044.3d533dea.js","mappings":"qLACOA,MAAM,Y,GAKJA,MAAM,e,0DALbC,EAAAA,EAAAA,IA4CM,MA5CNC,EA4CM,cA3CJC,EAAAA,EAAAA,IAEM,OAFDH,MAAM,SAAO,UAAC,SACdG,EAAAA,EAAAA,IAAuB,YAAjB,eAAU,QAAO,2CAC5B,KAEAA,EAAAA,EAAAA,IAsCM,MAtCNC,EAsCM,2nDADJD,EAAAA,EAAAA,IAAoD,OAA/CH,MAAM,UAAUK,UAAQC,EAAAC,iB,4BAQnC,MAAMC,EAAgB,uVAatB,OACEC,SAAU,CACRF,eAAAA,GACE,OAAOG,EAAAA,EAAKC,UACVH,EACA,CAACI,SAAU,SACXC,KACJ,I,UChEJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/YouTube/NoToken.vue","webpack://platypush/./src/components/panels/Media/Providers/YouTube/NoToken.vue?8e99"],"sourcesContent":["<template>\n <div class=\"no-token\">\n <div class=\"title\">\n No <code>auth_token</code> found in the YouTube configuration.\n </div>\n\n <div class=\"description\">\n This integration requires an <code>auth_token</code> to be set in the\n <code>youtube</code> section of the configuration file in order to\n access your playlists and subscriptions.<br/><br/>\n\n The following backends are supported:\n\n <h2>Piped</h2>\n\n You can retrieve an auth token from your favourite Piped instance\n (default: <a href=\"https://pipedapi.kavin.rocks\" target=\"_blank\">https://pipedapi.kavin.rocks</a>)\n through the following procedure:\n\n <ol>\n <li>Login to your configured Piped instance.</li>\n <li>Copy the RSS/Atom feed URL on the <i>Feed</i> tab.</li>\n <li>Copy the <code>auth_token</code> query parameter from the URL.</li>\n </ol>\n\n <h2>Invidious</h2>\n\n You can retrieve an auth token from your favourite Invidious instance\n (default: <a href=\"https://yewtu.be\" target=\"_blank\">https://yewtu.be</a>)\n through the following procedure:\n\n <ol>\n <li>Login to your configured Invidious instance.</li>\n <li>Open the URL <code>https://<instance_url>/authorize_token?scopes=:*</code>\n in your browser. Replace <code><instance_url></code> with the URL of your\n Invidious instance, and <code>:*</code> with the scopes you want to assign to\n the token (although an all-access token is recommended for full\n functionality).</li>\n <li>Copy the generated token.</li>\n </ol>\n\n <h2>Example Configuration</h2>\n\n <pre class=\"snippet\" v-html=\"highlightedYAML\"></pre>\n </div>\n </div>\n</template>\n\n<script>\nimport hljs from \"highlight.js\"\n\nconst configSnippet = `\nyoutube:\n backends:\n piped:\n # NOTE: This is the URL of the Piped instance API, not the web interface.\n instance_url: \"https://pipedapi.kavin.rocks\"\n auth_token: \"s3cr3t\"\n\n invidious:\n instance_url: \"https://yewtu.be\"\n auth_token: '{\"session\":\"v1:s3cr3t\",\"scopes\":[\":*\"],\"signature\":\"signed\"}'\n`\n\nexport default {\n computed: {\n highlightedYAML() {\n return hljs.highlight(\n configSnippet,\n {language: 'yaml'}\n ).value\n },\n },\n}\n</script>\n\n\n<style lang=\"scss\" scoped>\n.no-token {\n padding: 0.5em;\n\n .title {\n font-size: 1.5em;\n font-weight: bold;\n margin-bottom: 1em;\n }\n\n .snippet {\n background-color: #f4f4f4;\n border-radius: 0.5em;\n padding: 0.5em;\n margin: 1em;\n }\n}\n</style>\n","import { render } from \"./NoToken.vue?vue&type=template&id=c4645d8e&scoped=true\"\nimport script from \"./NoToken.vue?vue&type=script&lang=js\"\nexport * from \"./NoToken.vue?vue&type=script&lang=js\"\n\nimport \"./NoToken.vue?vue&type=style&index=0&id=c4645d8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c4645d8e\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","innerHTML","$options","highlightedYAML","configSnippet","computed","hljs","highlight","language","value","__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
|
@ -1,2 +0,0 @@
|
|||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8161],{8161:function(t,e,o){o.r(e),o.d(e,{default:function(){return c}});var a=o(641);const i={class:"no-token"};function d(t,e){return(0,a.uX)(),(0,a.CE)("div",i,e[0]||(e[0]=[(0,a.Fv)('<div class="title" data-v-42457341> No <code data-v-42457341>auth_token</code> found in the YouTube configuration. </div><div class="description" data-v-42457341> This integration requires an <code data-v-42457341>auth_token</code> to be set in the <code data-v-42457341>youtube</code> section of the configuration file in order to access your playlists and subscriptions.<br data-v-42457341><br data-v-42457341> Piped auth tokens are currently supported. You can retrieve one through the following procedure: <ol data-v-42457341><li data-v-42457341>Login to your configured Piped instance.</li><li data-v-42457341>Copy the RSS/Atom feed URL on the <i data-v-42457341>Feed</i> tab.</li><li data-v-42457341>Copy the <code data-v-42457341>auth_token</code> query parameter from the URL.</li><li data-v-42457341> Enter it in the <code data-v-42457341>auth_token</code> field in the <code data-v-42457341>youtube</code> section of the configuration file. </li></ol></div>',2)]))}var n=o(6262);const r={},u=(0,n.A)(r,[["render",d],["__scopeId","data-v-42457341"]]);var c=u}}]);
|
||||
//# sourceMappingURL=8161.ad37a936.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"static/js/8161.ad37a936.js","mappings":"qLACOA,MAAM,Y,kCAAXC,EAAAA,EAAAA,IAuBM,MAvBNC,EAuBMC,EAAA,KAAAA,EAAA,49B,eCvBR,MAAMC,EAAS,CAAC,EAKVC,GAA2B,OAAgBD,EAAQ,CAAC,CAAC,SAASE,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/YouTube/NoToken.vue","webpack://platypush/./src/components/panels/Media/Providers/YouTube/NoToken.vue?8e99"],"sourcesContent":["<template>\n <div class=\"no-token\">\n <div class=\"title\">\n No <code>auth_token</code> found in the YouTube configuration.\n </div>\n\n <div class=\"description\">\n This integration requires an <code>auth_token</code> to be set in the\n <code>youtube</code> section of the configuration file in order to\n access your playlists and subscriptions.<br/><br/>\n\n Piped auth tokens are currently supported. You can retrieve one through\n the following procedure:\n\n <ol>\n <li>Login to your configured Piped instance.</li>\n <li>Copy the RSS/Atom feed URL on the <i>Feed</i> tab.</li>\n <li>Copy the <code>auth_token</code> query parameter from the URL.</li>\n <li>\n Enter it in the <code>auth_token</code> field in the\n <code>youtube</code> section of the configuration file.\n </li>\n </ol>\n </div>\n </div>\n</template>\n\n<style lang=\"scss\" scoped>\n.no-token {\n padding: 0.5em;\n\n .title {\n font-size: 1.5em;\n font-weight: bold;\n margin-bottom: 1em;\n }\n}\n</style>\n","import { render } from \"./NoToken.vue?vue&type=template&id=42457341&scoped=true\"\nconst script = {}\n\nimport \"./NoToken.vue?vue&type=style&index=0&id=42457341&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42457341\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_cache","script","__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
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
Loading…
Add table
Reference in a new issue