pleroma/priv/static/adminfe/static/js/chunk-5cf2.a8562f1f.js.map

1 line
13 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/views/relays/index.vue?0b00","webpack:///./src/views/relays/index.vue?a888","webpack:///src/views/relays/index.vue","webpack:///./src/views/relays/index.vue","webpack:///./src/views/relays/index.vue?0c72","webpack:///./src/components/RebootButton/index.vue?8db4","webpack:///./src/components/RebootButton/index.vue?2f45","webpack:///src/components/RebootButton/index.vue","webpack:///./src/components/RebootButton/index.vue"],"names":["views_relaysvue_type_script_lang_js_","name","components","RebootButton","data","newRelay","computed","getLabelWidth","this","isDesktop","$store","state","app","device","loading","relays","fetchedRelays","mounted","dispatch","methods","followRelay","deleteRelay","relay","component","Object","componentNormalizer","_vm","_h","$createElement","_c","_self","_e","staticClass","_v","_s","$t","attrs","placeholder","nativeOn","keyup","$event","type","indexOf","_k","keyCode","key","apply","arguments","model","value","callback","$$v","expression","click","label","prop","width","align","scopedSlots","_u","fn","scope","class","row","followed_back","fixed","size","actor","options","__file","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_11_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_11_2_node_modules_sass_loader_lib_loader_js_ref_11_3_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_rel_stylesheet_2Fscss_lang_scss___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n","components_RebootButtonvue_type_script_lang_js_","needReboot","restartApp","_this","asyncToGenerator_default","regenerator_default","a","mark","_callee","wrap","_context","prev","next","t0","abrupt","$message","message","stop","content","placement","on"],"mappings":"6GAAA,ICA0MA,GC2C1MC,cACAC,YAAAC,0BACAC,KAHA,WAIA,OACAC,cAGAC,UACAC,cADA,WAEA,OAAAC,KAAAC,UAAA,gBAEAA,UAJA,WAKA,kBAAAD,KAAAE,OAAAC,MAAAC,IAAAC,QAEAC,QAPA,WAQA,OAAAN,KAAAE,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AAG,GAAAH,EAAA,SAAAA,EAAAI,OAAA,iBAMAX,EAAAY,UACAhD,eACAiD,2CARA,wBAAAN,EAAAO,SAAAT,EAAA,gBAAAJ,kBCfAvD,EAAgBC,OAAAC,EAAA,EAAAD,CACdkD,EHRF,WAA0B,IAAa/C,EAAbnB,KAAaoB,eAA0BC,EAAvCrB,KAAuCsB,MAAAD,IAAAF,EAAwB,OAA/DnB,KAA+D,WAAAqB,EAAA,cAAyCO,OAAOwD,QAA/GpF,KAA+G2B,GAAA,uBAAA0D,UAAA,gBAAkEhE,EAAA,aAAkBG,YAAA,gBAAAI,OAAmCK,KAAA,WAAiBqD,IAAKzC,MAA5P7C,KAA4PoE,cAAwB/C,EAAA,QAAAA,EAAA,KAAqBG,YAAA,oBAAzSxB,KAAuUyB,GAAA,WAAvUzB,KAAuU0B,GAAvU1B,KAAuU2B,GAAA,8CAAvU3B,KAAuUuB,UGWjW,EACA,KACA,KACA,MAIAR,EAAA6C,QAAAC,OAAA,YACeC,EAAA,EAAA/C","file":"static/js/chunk-5cf2.a8562f1f.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.loading)?_c('div',{staticClass:\"relays-container\"},[_c('div',{staticClass:\"relays-header-container\"},[_c('h1',[_vm._v(\"\\n \"+_vm._s(_vm.$t('relays.relays'))+\"\\n \")]),_vm._v(\" \"),_c('reboot-button')],1),_vm._v(\" \"),_c('div',{staticClass:\"follow-relay-container\"},[_c('el-input',{staticClass:\"follow-relay\",attrs:{\"placeholder\":_vm.$t('relays.followRelay')},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.followRelay.apply(null, arguments)}},model:{value:(_vm.newRelay),callback:function ($$v) {_vm.newRelay=$$v},expression:\"newRelay\"}}),_vm._v(\" \"),_c('el-button',{nativeOn:{\"click\":function($event){return _vm.followRelay.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.$t('relays.follow')))])],1),_vm._v(\" \"),_c('el-table',{attrs:{\"data\":_vm.relays}},[_c('el-table-column',{attrs:{\"label\":_vm.$t('relays.instanceUrl'),\"prop\":\"actor\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":_vm.$t('relays.followedBack'),\"width\":_vm.getLabelWidth,\"prop\":\"followed_back\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('i',{class:scope.row.followed_back ? 'el-icon-check' : 'el-icon-minus'})]}}],null,false,237257305)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.actions'),\"width\":_vm.getLabelWidth,\"fixed\":\"right\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},nativeOn:{\"click\":function($event){return _vm.deleteRelay(scope.row.actor)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('table.unfollow'))+\"\\n \")])]}}],null,false,877363589)})],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js?cacheDirectory!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js?cacheDirectory!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","<template>\n <div v-if=\"!loading\" class=\"relays-container\">\n <div class=\"relays-header-container\">\n <h1>\n {{ $t('relays.relays') }}\n </h1>\n <reboot-button/>\n </div>\n <div class=\"follow-relay-container\">\n <el-input v-model=\"newRelay\" :placeholder=\"$t('relays.followRelay')\" class=\"follow-relay\" @keyup.enter.native=\"followRelay\"/>\n <el-button @click.native=\"followRelay\">{{ $t('relays.follow') }}</el-button>\n </div>\n <el-table :data=\"relays\">\n <el-table-column\n :label=\"$t('relays.instanceUrl')\"\n prop=\"actor\"/>\n <el-table-column\n :label=\"$t('relays.followedBack')\"\n :width=\"getLabelWidth\"\n prop=\"followed_back\"\n align=\"center\">\n <template slot-scope=\"scope\">\n <i :class=\"scope.row.followed_back ? 'el-icon-check' : 'el-icon-minus'\"/>\n </template>\n </el-table-column>\n <el-table-column :label=\"$t('table.actions')\" :width=\"getLabelWidth\" fixed=\"right\" align=\"center\">\n <template slot-scope=\"scope\">\n <el-button\n type=\"text\"\n size=\"small\"\n @click.native=\"deleteRelay(scope.row.actor)\">\n {{ $t('table.unfollow') }}\n </el-button>\n </template>\n </el-table-column>\n </el-table>\n </div>\n</template>\n\n<script>\nimport RebootButton from '@/components/RebootButton'\n\nexport default {\n name: 'Relays',\n components: { RebootButton },\n data() {\n return {\n newRelay: ''\n }\n },\n computed: {\n getLabelWidth() {\n return this.isDesktop ? '130px' : '85px'\n },\n isDesktop() {\n return this.$store.state.app.device === 'desktop'\n },\n loading() {\n return this.$store.state.relays.loading\n },\n relays() {\n return this.$store.state.relays.fetchedRelays\n }\n },\n mounted() {\n this.$store.dispatch('FetchRelays')\n },\n methods: {\n followRelay() {\n this.$store.dispatch('AddRelay', this.newRelay)\n this.newRelay = ''\n },\n deleteRelay(relay) {\n this.$store.dispatch('DeleteRelay', relay)\n }\n }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss'>\n@import '../styles/main';\n@include relays\n</style>\n","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0a8dd109&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"index.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js??ref--11-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--11-2!../../../node_modules/sass-loader/lib/loader.js??ref--11-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js??ref--11-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--11-2!../../../node_modules/sass-loader/lib/loader.js??ref--11-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&rel=stylesheet%2Fscss&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.needReboot)?_c('el-tooltip',{attrs:{\"content\":_vm.$t('settings.restartApp'),\"placement\":\"bottom-end\"}},[_c('el-button',{staticClass:\"reboot-button\",attrs:{\"type\":\"warning\"},on:{\"click\":_vm.restartApp}},[_c('span',[_c('i',{staticClass:\"el-icon-refresh\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.instanceReboot'))+\"\\n \")])])],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js?cacheDirectory!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js?cacheDirectory!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","<template>\n <el-tooltip v-if=\"needReboot\" :content=\"$t('settings.restartApp')\" placement=\"bottom-end\">\n <el-button type=\"warning\" class=\"reboot-button\" @click=\"restartApp\">\n <span>\n <i class=\"el-icon-refresh\"/>\n {{ $t('settings.instanceReboot') }}\n </span>\n </el-button>\n </el-tooltip>\n</template>\n\n<script>\nimport i18n from '@/lang'\n\nexport default {\n name: 'RebootButton',\n computed: {\n needReboot() {\n return this.$store.state.app.needReboot\n }\n },\n methods: {\n async restartApp() {\n try {\n await this.$store.dispatch('RestartApplication')\n } catch (e) {\n return\n }\n this.$message({\n type: 'success',\n message: i18n.t('settings.restartSuccess')\n })\n }\n }\n}\n</script>\n","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=53cfaf1d&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"index.vue\"\nexport default component.exports"],"sourceRoot":""}