[Automatic] Updated UI files

This commit is contained in:
Fabio Manganiello 2024-10-20 00:53:54 +00:00
parent 8e9fb65db5
commit 897f3a6f47
Signed by untrusted user: blacklight
GPG key ID: AD6D273C08B82EC9
39 changed files with 42 additions and 42 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" src="/static/js/chunk-vendors.5645dfdc.js"></script><script defer="defer" src="/static/js/app.aff0fdf0.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.70fb1f4a.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.5645dfdc.js"></script><script defer="defer" src="/static/js/app.102f248c.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.70fb1f4a.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

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2149],{2149:function(e,t,i){i.r(t),i.d(t,{default:function(){return w}});var l=i(6252);const o={class:"videos index"},s={key:1,class:"wrapper music-wrapper"},n={key:3,class:"wrapper items-wrapper"};function c(e,t,i,c,a,r){const d=(0,l.up)("Loading"),m=(0,l.up)("Music"),p=(0,l.up)("NoItems"),u=(0,l.up)("Collections"),h=(0,l.up)("Results");return(0,l.wg)(),(0,l.iD)("div",o,[e.isLoading?((0,l.wg)(),(0,l.j4)(d,{key:0})):"music"===e.collection?.collection_type?((0,l.wg)(),(0,l.iD)("div",s,[(0,l.Wm)(m,{collection:e.collection,filter:e.filter,loading:e.isLoading,path:e.path,onPlay:t[0]||(t[0]=t=>e.$emit("play",t)),onPlayWithOpts:t[1]||(t[1]=t=>e.$emit("play-with-opts",t)),onSelect:t[2]||(t[2]=t=>{e.selectedResult=t,e.$emit("select",t)}),onSelectCollection:r.selectCollection,onView:t[3]||(t[3]=t=>e.$emit("view",t))},null,8,["collection","filter","loading","path","onSelectCollection"])])):e.items?.length?((0,l.wg)(),(0,l.iD)("div",n,[r.collections.length>0?((0,l.wg)(),(0,l.j4)(u,{key:0,collection:e.collection,filter:e.filter,items:r.collections,loading:e.isLoading,"parent-id":e.collection?.id,onSelect:r.selectCollection},null,8,["collection","filter","items","loading","parent-id","onSelect"])):(0,l.kq)("",!0),r.mediaItems.length>0?((0,l.wg)(),(0,l.j4)(h,{key:1,results:r.mediaItems,sources:{jellyfin:!0},filter:e.filter,"selected-result":e.selectedResult,onAddToPlaylist:t[4]||(t[4]=t=>e.$emit("add-to-playlist",t)),onDownload:t[5]||(t[5]=t=>e.$emit("download",t)),onPlay:t[6]||(t[6]=t=>e.$emit("play",t)),onPlayWithOpts:t[7]||(t[7]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[8]||(t[8]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[9]||(t[9]=t=>e.selectedResult=t),onView:t[10]||(t[10]=t=>e.$emit("view",t))},null,8,["results","filter","selected-result"])):(0,l.kq)("",!0)])):((0,l.wg)(),(0,l.j4)(p,{key:2,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No videos found. ")])),_:1}))])}var a=i(3524),r=i(6791),d=i(8113),m=i(4106),p=i(3222),u=i(5167),h={mixins:[d["default"]],emits:["select","select-collection"],components:{Collections:a["default"],Loading:r.Z,Music:m["default"],NoItems:p.Z,Results:u.Z},computed:{collections(){return this.sortedItems?.filter((e=>"collection"===e.item_type))??[]},mediaItems(){const e=this.sortedItems?.filter((e=>"collection"!==e.item_type))??[];return this.collection&&!this.collection.collection_type?e.sort(((e,t)=>{if(e.created_at&&t.created_at)return new Date(e.created_at)<new Date(t.created_at);if(e.created_at)return-1;if(t.created_at)return 1;let i=[e.name||e.title||"",t.name||t.title||""];return i[0].localeCompare(i[1])})):e}},methods:{selectCollection(e){this.$emit("select-collection",{type:"homevideos",...e})},async init(){const e=this.getUrlArgs();let t=e?.collection;if(t){this.loading_=!0;try{t=await this.request("media.jellyfin.info",{item_id:t}),t&&this.selectCollection(t)}finally{this.loading_=!1}}},async refresh(){if("music"!==this.collection?.collection_type){this.loading_=!0;try{"tvshows"===this.collection?.collection_type?this.items=(await this.request("media.jellyfin.get_collections",{parent_id:this.collection.id})).map((e=>({...e,item_type:"collection"}))):this.items=this.collection?.id?await this.request("media.jellyfin.get_items",{parent_id:this.collection.id,limit:25e3}):(await this.request("media.jellyfin.get_collections")).map((e=>({...e,item_type:"collection"})))}finally{this.loading_=!1}}}},async mounted(){this.init(),await this.refresh()}},y=i(3744);const f=(0,y.Z)(h,[["render",c],["__scopeId","data-v-1c02d534"]]);var w=f}}]);
//# sourceMappingURL=2149.b53b2f6b.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([[3524],{3524:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var l=s(6252),a=s(3577);const i={class:"collections items"},o=["onClick"],r={class:"image"},n=["src","alt","onError"],c={key:0,class:"name"},m={key:1,class:"float bottom-right"};function f(e,t,s,f,d,u){return(0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["collections index",{"is-root":!s.parentId}])},[(0,l._)("div",i,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(u.filteredItems,(t=>((0,l.wg)(),(0,l.iD)("div",{class:"collection item",key:t.id,onClick:s=>e.$emit("select",t)},[(0,l._)("div",r,[d.fallbackImageCollections[t.id]?((0,l.wg)(),(0,l.iD)("i",{key:1,class:(0,a.C_)(u.collectionsIcons[t.type]??"fas fa-folder")},null,2)):((0,l.wg)(),(0,l.iD)("img",{key:0,src:t.image,alt:t.name,onError:e=>u.onImageError(t)},null,40,n))]),d.fallbackImageCollections[t.id]||s.parentId?((0,l.wg)(),(0,l.iD)("div",c,[(0,l._)("h2",null,(0,a.zw)(t.name),1)])):(0,l.kq)("",!0),t.year?((0,l.wg)(),(0,l.iD)("div",m,[(0,l._)("span",null,(0,a.zw)(t.year),1)])):(0,l.kq)("",!0)],8,o)))),128))])],2)}var d={props:{filter:{type:String},items:{type:Array,default:()=>[]},batchItems:{type:Number,default:100},parentId:{type:String}},data(){return{fallbackImageCollections:{},maxResultIndex:this.batchItems}},computed:{collectionsIcons(){return{books:"fas fa-book",homevideos:"fas fa-video",movies:"fas fa-film",music:"fas fa-music",playlists:"fas fa-list",photos:"fas fa-image",series:"fas fa-tv"}},filteredItems(){return Object.values(this.items).filter((e=>!this.filter||e.name.toLowerCase().includes(this.filter.toLowerCase()))).sort(((e,t)=>"album"===e.item_type&&"album"===t.item_type&&e.year&&t.year&&e.year!==t.year?t.year-e.year:e.name.localeCompare(t.name))).slice(0,this.maxResultIndex)}},methods:{onImageError(e){this.fallbackImageCollections[e.id]=!0},onScroll(e){const t=e.target;if(!t)return;const s=t.scrollHeight-t.scrollTop<=t.clientHeight+150;s&&(this.maxResultIndex+=this.batchItems)}},mounted(){this.$el.parentElement.addEventListener("scroll",this.onScroll)},unmounted(){this.$el.parentElement.removeEventListener("scroll",this.onScroll)}},u=s(3744);const p=(0,u.Z)(d,[["render",f],["__scopeId","data-v-533af79f"]]);var h=p}}]);
//# sourceMappingURL=3524.8aff66da.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3214],{3214:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var l=s(6252),a=s(3577);const i={class:"collections items"},o=["onClick"],r={class:"image"},n=["src","alt","onError"],c={key:0,class:"name"},m={key:1,class:"float bottom-right"};function f(e,t,s,f,d,u){return(0,l.wg)(),(0,l.iD)("div",{class:(0,a.C_)(["collections index",{"is-root":!s.parentId}])},[(0,l._)("div",i,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(u.filteredItems,(t=>((0,l.wg)(),(0,l.iD)("div",{class:"collection item",key:t.id,onClick:s=>e.$emit("select",t)},[(0,l._)("div",r,[d.fallbackImageCollections[t.id]?((0,l.wg)(),(0,l.iD)("i",{key:1,class:(0,a.C_)(u.collectionsIcons[t.type]??"fas fa-folder")},null,2)):((0,l.wg)(),(0,l.iD)("img",{key:0,src:t.image,alt:t.name,onError:e=>u.onImageError(t)},null,40,n))]),d.fallbackImageCollections[t.id]||s.parentId?((0,l.wg)(),(0,l.iD)("div",c,[(0,l._)("h2",null,(0,a.zw)(t.name),1)])):(0,l.kq)("",!0),t.year?((0,l.wg)(),(0,l.iD)("div",m,[(0,l._)("span",null,(0,a.zw)(t.year),1)])):(0,l.kq)("",!0)],8,o)))),128))])],2)}var d={props:{filter:{type:String},items:{type:Array,default:()=>[]},batchItems:{type:Number,default:100},parentId:{type:String}},data(){return{fallbackImageCollections:{},maxResultIndex:this.batchItems}},computed:{collectionsIcons(){return{books:"fas fa-book",homevideos:"fas fa-video",movies:"fas fa-film",music:"fas fa-music",playlists:"fas fa-list",photos:"fas fa-image",series:"fas fa-tv"}},filteredItems(){return Object.values(this.items).filter((e=>!this.filter||e.name.toLowerCase().includes(this.filter.toLowerCase()))).sort(((e,t)=>"album"===e.item_type&&"album"===t.item_type&&e.year&&t.year&&e.year!==t.year?t.year-e.year:e.name.localeCompare(t.name))).slice(0,this.maxResultIndex)}},methods:{onImageError(e){this.fallbackImageCollections[e.id]=!0},onScroll(e){const t=e.target;if(!t)return;const s=t.scrollHeight-t.scrollTop<=t.clientHeight+150;s&&(this.maxResultIndex+=this.batchItems)}},mounted(){this.$el.parentElement?.addEventListener("scroll",this.onScroll)},unmounted(){this.$el.parentElement?.removeEventListener("scroll",this.onScroll)}},u=s(3744);const p=(0,u.Z)(d,[["render",f],["__scopeId","data-v-7f4d435e"]]);var h=p}}]);
//# sourceMappingURL=3214.3c8b571f.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

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5966],{5966:function(e,t,i){i.r(t),i.d(t,{default:function(){return w}});var l=i(6252);const o={class:"videos index"},s={key:1,class:"wrapper music-wrapper"},n={key:3,class:"wrapper items-wrapper"};function c(e,t,i,c,a,r){const d=(0,l.up)("Loading"),m=(0,l.up)("Music"),p=(0,l.up)("NoItems"),u=(0,l.up)("Collections"),h=(0,l.up)("Results");return(0,l.wg)(),(0,l.iD)("div",o,[e.isLoading?((0,l.wg)(),(0,l.j4)(d,{key:0})):"music"===e.collection?.collection_type?((0,l.wg)(),(0,l.iD)("div",s,[(0,l.Wm)(m,{collection:e.collection,filter:e.filter,loading:e.isLoading,path:e.path,onPlay:t[0]||(t[0]=t=>e.$emit("play",t)),onPlayWithOpts:t[1]||(t[1]=t=>e.$emit("play-with-opts",t)),onSelect:t[2]||(t[2]=t=>{e.selectedResult=t,e.$emit("select",t)}),onSelectCollection:r.selectCollection,onView:t[3]||(t[3]=t=>e.$emit("view",t))},null,8,["collection","filter","loading","path","onSelectCollection"])])):e.items?.length?((0,l.wg)(),(0,l.iD)("div",n,[r.collections.length>0?((0,l.wg)(),(0,l.j4)(u,{key:0,collection:e.collection,filter:e.filter,items:r.collections,loading:e.isLoading,"parent-id":e.collection?.id,onSelect:r.selectCollection},null,8,["collection","filter","items","loading","parent-id","onSelect"])):(0,l.kq)("",!0),r.mediaItems.length>0?((0,l.wg)(),(0,l.j4)(h,{key:1,results:r.mediaItems,sources:{jellyfin:!0},filter:e.filter,"selected-result":e.selectedResult,onAddToPlaylist:t[4]||(t[4]=t=>e.$emit("add-to-playlist",t)),onDownload:t[5]||(t[5]=t=>e.$emit("download",t)),onPlay:t[6]||(t[6]=t=>e.$emit("play",t)),onPlayWithOpts:t[7]||(t[7]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[8]||(t[8]=t=>e.$emit("remove-from-playlist",t)),onSelect:r.selectItem,onView:t[9]||(t[9]=t=>e.$emit("view",t))},null,8,["results","filter","selected-result","onSelect"])):(0,l.kq)("",!0)])):((0,l.wg)(),(0,l.j4)(p,{key:2,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No videos found. ")])),_:1}))])}var a=i(3214),r=i(6791),d=i(8113),m=i(4106),p=i(3222),u=i(5167),h={mixins:[d["default"]],emits:["select","select-collection"],components:{Collections:a["default"],Loading:r.Z,Music:m["default"],NoItems:p.Z,Results:u.Z},computed:{collections(){return this.sortedItems?.filter((e=>"collection"===e.item_type))??[]},mediaItems(){const e=this.sortedItems?.filter((e=>"collection"!==e.item_type))??[];return!this.collection||this.collection.collection_type&&"books"!==this.collection.collection_type?e:e.sort(((e,t)=>{if(e.created_at&&t.created_at)return new Date(e.created_at)<new Date(t.created_at);if(e.created_at)return-1;if(t.created_at)return 1;let i=[e.name||e.title||"",t.name||t.title||""];return i[0].localeCompare(i[1])}))}},methods:{selectCollection(e){this.$emit("select-collection",{type:"homevideos",...e})},selectItem(e){const t=this.items[e];"book"===t.item_type&&t.embed_url?window.open(t.embed_url,"_blank"):this.selectedResult=e},async init(){const e=this.getUrlArgs();let t=e?.collection;if(t){this.loading_=!0;try{t=await this.request("media.jellyfin.info",{item_id:t}),t&&this.selectCollection(t)}finally{this.loading_=!1}}},async refresh(){if("music"!==this.collection?.collection_type){this.loading_=!0;try{"tvshows"===this.collection?.collection_type?this.items=(await this.request("media.jellyfin.get_collections",{parent_id:this.collection.id})).map((e=>({...e,item_type:"collection"}))):this.items=this.collection?.id?await this.request("media.jellyfin.get_items",{parent_id:this.collection.id,limit:25e3}):(await this.request("media.jellyfin.get_collections")).map((e=>({...e,item_type:"collection"})))}finally{this.loading_=!1}}}},async mounted(){this.init(),await this.refresh()}},y=i(3744);const f=(0,y.Z)(h,[["render",c],["__scopeId","data-v-46a825e6"]]);var w=f}}]);
//# sourceMappingURL=5966.cd5de796.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 +1,2 @@
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8179],{8179:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return I}});var t=i(6252);const d={class:"plugin"};function o(e,n,i,o,a,r){const s=(0,t.up)("Loading");return(0,t.wg)(),(0,t.iD)("div",d,[a.loading?((0,t.wg)(),(0,t.j4)(s,{key:0})):a.component?((0,t.wg)(),(0,t.j4)((0,t.LL)(a.component),{key:1,config:a.config},null,8,["config"])):(0,t.kq)("",!0)])}var a=i(8637),r=i(6791),s=i(2262),c={name:"Plugin",components:{Loading:r.Z},mixins:[a.Z],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.XI)((0,t.RC)((()=>i(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()}},u=i(3744);const x=(0,u.Z)(c,[["render",o],["__scopeId","data-v-69b17daa"]]);var I=x},3379:function(e,n,i){var t={"./Alarm/Index":[1949,5933,7897,7651,2844,2992,6517,637,8756,3248,9480,8409,6217,2831,9502,1019,2029,7257,4795,1949],"./Camera/Index":[7528,7528],"./CameraAndroidIpcam/Index":[3924,3924],"./CameraCv/Index":[6148,7528,6148],"./CameraFfmpeg/Index":[9334,7528,9334],"./CameraGstreamer/Index":[813,7528,813],"./CameraIrMlx90640/Index":[7381,7528,7381],"./CameraPi/Index":[5214,7528,8895],"./CameraPiLegacy/Index":[1512,7528,1512],"./Entities/Index":[557,5933,7897,2992,7257,669,864,4795,557],"./Execute/Index":[4221,5933,637,3248,9502,5053],"./Extensions/Index":[3426,5933,637,3248,6217,2831,2924,3426,8697],"./File/Index":[2496,5933,7897,6517,637,8756,9480,8409,7976],"./Light/Index":[9751,7651,2844,9751],"./LightHue/Index":[2976,7651,2844,9751,2976],"./Media/Index":[6734,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734],"./Media/Providers/Jellyfin/views/Media/Index":[2149,5933,7897,2992,5167,6364,4106,8425,1455],"./Media/Providers/Jellyfin/views/Movies/Index":[9243,5933,7897,2992,6517,5167,9025,38,9086],"./Media/Providers/Jellyfin/views/Music/Index":[4106,5933,7897,2992,5167,6364,4106,2726],"./Media/Providers/YouTube/Index":[2200,2200],"./MediaChromecast/Index":[2305,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,2305],"./MediaGstreamer/Index":[5408,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,5408],"./MediaMplayer/Index":[3518,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,3518],"./MediaMpv/Index":[4765,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,4765],"./MediaVlc/Index":[2614,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,2614],"./Music/Index":[4015,5933,7897,7651,906,1421,4015],"./MusicMopidy/Index":[3400,5933,7897,7651,906,1421,4015,3400],"./MusicMpd/Index":[3083,5933,7897,7651,906,1421,4015,3083],"./MusicSnapcast/Index":[5285,7651,2844,5285],"./MusicSpotify/Index":[4053,5933,7897,7651,906,1421,4015,4053],"./Procedures/Index":[3865,5933,2992,6517,637,8756,3248,6217,2831,9502,1019,7257,5144,3865],"./Rtorrent/Index":[2183,5933,7897,7624,6429,2183],"./Settings/Index":[293,5933,7897,2844,2992,6517,3248,215,2924,293],"./Settings/Tokens/Index":[215,5933,7897,2992,3248,215],"./Sound/Index":[746,746],"./Torrent/Index":[8784,5933,7897,7624,6429,8784],"./Tts/Index":[3732,8069,3732],"./TtsGoogle/Index":[7605,8069,2853],"./TtsPicovoice/Index":[7089,8069,7089],"./TvSamsungWs/Index":[34,34],"./ZigbeeMqtt/Index":[6882,5933,7897,7651,2844,6882],"./Zwave/Index":[2732,5933,7897,7651,2844,2718,2732],"./ZwaveMqtt/Index":[1088,5933,7897,7651,2844,2718,1088]};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=3379,e.exports=d}}]);
//# sourceMappingURL=8179.c25b21ed.js.map
(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8179],{8179:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return I}});var t=i(6252);const d={class:"plugin"};function o(e,n,i,o,a,r){const s=(0,t.up)("Loading");return(0,t.wg)(),(0,t.iD)("div",d,[a.loading?((0,t.wg)(),(0,t.j4)(s,{key:0})):a.component?((0,t.wg)(),(0,t.j4)((0,t.LL)(a.component),{key:1,config:a.config},null,8,["config"])):(0,t.kq)("",!0)])}var a=i(8637),r=i(6791),s=i(2262),c={name:"Plugin",components:{Loading:r.Z},mixins:[a.Z],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.XI)((0,t.RC)((()=>i(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()}},u=i(3744);const x=(0,u.Z)(c,[["render",o],["__scopeId","data-v-69b17daa"]]);var I=x},3379:function(e,n,i){var t={"./Alarm/Index":[1949,5933,7897,7651,2844,2992,6517,637,8756,3248,9480,8409,6217,2831,9502,1019,2029,7257,4795,1949],"./Camera/Index":[7528,7528],"./CameraAndroidIpcam/Index":[3924,3924],"./CameraCv/Index":[6148,7528,6148],"./CameraFfmpeg/Index":[9334,7528,9334],"./CameraGstreamer/Index":[813,7528,813],"./CameraIrMlx90640/Index":[7381,7528,7381],"./CameraPi/Index":[5214,7528,8895],"./CameraPiLegacy/Index":[1512,7528,1512],"./Entities/Index":[557,5933,7897,2992,7257,669,864,4795,557],"./Execute/Index":[4221,5933,637,3248,9502,5053],"./Extensions/Index":[3426,5933,637,3248,6217,2831,2924,3426,8697],"./File/Index":[2496,5933,7897,6517,637,8756,9480,8409,7976],"./Light/Index":[9751,7651,2844,9751],"./LightHue/Index":[2976,7651,2844,9751,2976],"./Media/Index":[6734,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734],"./Media/Providers/Jellyfin/views/Media/Index":[5966,5933,7897,2992,5167,5086,4106,8434,5754],"./Media/Providers/Jellyfin/views/Movies/Index":[9243,5933,7897,2992,6517,5167,9025,38,9086],"./Media/Providers/Jellyfin/views/Music/Index":[4106,5933,7897,2992,5167,5086,4106,2726],"./Media/Providers/YouTube/Index":[2200,2200],"./MediaChromecast/Index":[2305,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,2305],"./MediaGstreamer/Index":[5408,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,5408],"./MediaMplayer/Index":[3518,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,3518],"./MediaMpv/Index":[4765,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,4765],"./MediaVlc/Index":[2614,5933,7897,7651,6517,637,8756,9480,906,8409,1421,5167,7624,6734,2614],"./Music/Index":[4015,5933,7897,7651,906,1421,4015],"./MusicMopidy/Index":[3400,5933,7897,7651,906,1421,4015,3400],"./MusicMpd/Index":[3083,5933,7897,7651,906,1421,4015,3083],"./MusicSnapcast/Index":[5285,7651,2844,5285],"./MusicSpotify/Index":[4053,5933,7897,7651,906,1421,4015,4053],"./Procedures/Index":[3865,5933,2992,6517,637,8756,3248,6217,2831,9502,1019,7257,5144,3865],"./Rtorrent/Index":[2183,5933,7897,7624,6429,2183],"./Settings/Index":[293,5933,7897,2844,2992,6517,3248,215,2924,293],"./Settings/Tokens/Index":[215,5933,7897,2992,3248,215],"./Sound/Index":[746,746],"./Torrent/Index":[8784,5933,7897,7624,6429,8784],"./Tts/Index":[3732,8069,3732],"./TtsGoogle/Index":[7605,8069,2853],"./TtsPicovoice/Index":[7089,8069,7089],"./TvSamsungWs/Index":[34,34],"./ZigbeeMqtt/Index":[6882,5933,7897,7651,2844,6882],"./Zwave/Index":[2732,5933,7897,7651,2844,2718,2732],"./ZwaveMqtt/Index":[1088,5933,7897,7651,2844,2718,1088]};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=3379,e.exports=d}}]);
//# sourceMappingURL=8179.b8fd3438.js.map