pleroma/priv/static/adminfe/static/js/chunk-2348.f760f35c.js.map
2022-11-22 23:53:01 +01:00

1 line
12 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/views/relays/index.vue?7ac0","webpack:///./src/views/relays/index.vue?c3a2","webpack:///./src/views/relays/index.vue?a888","webpack:///src/views/relays/index.vue","webpack:///./src/views/relays/index.vue","webpack:///./src/components/RebootButton/index.vue?d5b4","webpack:///./src/components/RebootButton/index.vue?2f45","webpack:///src/components/RebootButton/index.vue","webpack:///./src/components/RebootButton/index.vue"],"names":["__webpack_require__","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","_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","__webpack_exports__","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":"sGAAAA,EAAA,kDCAA,ICA0MC,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,OAAAC,MAAAI,OAAAD,SAEAC,OAVA,WAWA,OAAAP,KAAAE,OAAAC,MAAAI,OAAAC,gBAGAC,QAtBA,WAuBAT,KAAAE,OAAAQ,SAAA,gBAEAC,SACAC,YADA,WAEAZ,KAAAE,OAAAQ,SAAA,WAAAV,KAAAH,UACAG,KAAAH,SAAA,IAEAgB,YALA,SAKAC,GACAd,KAAA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gD,IAAKpC,MAA1N3C,KAA0N6D,cAAwB1C,EAAA,QAAAA,EAAA,KAAqBG,YAAA,oBAAvQtB,KAAqSuB,GAAA,WAArSvB,KAAqSwB,GAArSxB,KAAqSyB,GAAA,8CAArSzB,KAAqSqB,UGWpU,EACA,KACA,KACA,MAIeqC,EAAA,EAAA3C","file":"static/js/chunk-2348.f760f35c.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js??ref--10-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??ref--10-2!../../../node_modules/sass-loader/dist/cjs.js??ref--10-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0a8dd109&prod&rel=stylesheet%2Fscss&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;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()\n}\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&id=0a8dd109&prod&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\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;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()\n}\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\nexport default component.exports"],"sourceRoot":""}