Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / priv / static / adminfe / static / js / chunk-1a7d.8173d81f.js.map
1 {"version":3,"sources":["webpack:///./src/views/emoji-packs/index.vue?39b9","webpack:///./src/views/emoji-packs/components/NewEmojiUploader.vue?30f8","webpack:///./src/views/emoji-packs/components/SingleEmojiEditor.vue?9a15","webpack:///./src/views/emoji-packs/components/EmojiPack.vue?96ec","webpack:///./src/views/emoji-packs/index.vue?d1c2","webpack:///./src/views/emoji-packs/components/PropertyEditingRow.vue?5e16","webpack:///src/views/emoji-packs/components/PropertyEditingRow.vue","webpack:///./src/views/emoji-packs/components/PropertyEditingRow.vue","webpack:///./src/views/emoji-packs/components/PropertyEditingRow.vue?b8c4","webpack:///./src/views/emoji-packs/components/SingleEmojiEditor.vue?7959","webpack:///src/views/emoji-packs/components/SingleEmojiEditor.vue","webpack:///./src/views/emoji-packs/components/SingleEmojiEditor.vue","webpack:///./src/views/emoji-packs/components/SingleEmojiEditor.vue?c51d","webpack:///./src/views/emoji-packs/components/NewEmojiUploader.vue?cec7","webpack:///src/views/emoji-packs/components/NewEmojiUploader.vue","webpack:///./src/views/emoji-packs/components/NewEmojiUploader.vue","webpack:///./src/views/emoji-packs/components/NewEmojiUploader.vue?d6ab","webpack:///./src/views/emoji-packs/components/EmojiPack.vue?0c2a","webpack:///src/views/emoji-packs/components/EmojiPack.vue","webpack:///./src/views/emoji-packs/components/EmojiPack.vue","webpack:///./src/views/emoji-packs/components/EmojiPack.vue?2677","webpack:///./src/views/emoji-packs/index.vue?0457","webpack:///src/views/emoji-packs/index.vue","webpack:///./src/views/emoji-packs/index.vue","webpack:///./src/views/emoji-packs/components/PropertyEditingRow.vue?2bb0"],"names":["_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_7_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_7_2_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_7_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_7_2_node_modules_vue_loader_lib_index_js_vue_loader_options_NewEmojiUploader_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_7_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_7_2_node_modules_vue_loader_lib_index_js_vue_loader_options_SingleEmojiEditor_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_7_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_7_2_node_modules_vue_loader_lib_index_js_vue_loader_options_EmojiPack_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","components_PropertyEditingRowvue_type_script_lang_js_","props","name","type","String","required","component","Object","componentNormalizer","_h","this","$createElement","_c","_self","staticClass","attrs","gutter","span","_v","_s","_t","options","__file","PropertyEditingRow","components_SingleEmojiEditorvue_type_script_lang_js_","host","packName","file","isLocal","Boolean","data","newName","newFile","copyToLocalPackName","copyToLocalVisible","copyToShortcode","copyToFilename","computed","modifyingName","get","set","val","modifyingFile","methods","update","_this","$store","dispatch","action","oldName","newFilename","then","remove","_this2","$confirm","confirmButtonText","cancelButtonText","copyToLocal","_this3","shortcode","trim","fileName","addressOfEmojiInPack","emoji_packs","SingleEmojiEditor_component","_vm","placeholder","model","value","callback","$$v","expression","on","click","_e","placement","_l","state","_pack","key","label","disabled","slot","src","SingleEmojiEditor","components_NewEmojiUploadervue_type_script_lang_js_","imageUploadURL","customFileName","upload","$refs","fileUpload","files","length","NewEmojiUploader_component","size","ref","accept","components_EmojiPackvue_type_script_lang_js_","components","PropEditingRow","NewEmojiUploader","pack","shownPackEmoji","downloadSharedAs","share","homepage","description","license","fallbackSrc","downloadFromInstance","instanceAddress","as","deletePack","catch","savePackMetadata","EmojiPack_component","rows","title","pack-name","ename","is-local","href","target","views_emoji_packsvue_type_script_lang_js_","EmojiPack","activeName","remoteInstanceAddress","downloadFromState","newPackName","createNewPackVisible","mounted","refreshLocalPacks","createLocalPack","refreshRemotePacks","remoteInstance","reloadEmoji","importFromFS","emoji_packs_component","effects","content","trigger","getters","authHost","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_node_modules_css_loader_index_js_ref_7_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_7_2_node_modules_vue_loader_lib_index_js_vue_loader_options_PropertyEditingRow_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__"],"mappings":"iIAAA,IAAAA,EAAAC,EAAA,QAAAA,EAAAC,EAAAF,GAAmY,uCCAnY,IAAAG,EAAAF,EAAA,QAAAA,EAAAC,EAAAC,GAA6Z,qCCA7Z,IAAAC,EAAAH,EAAA,QAAAA,EAAAC,EAAAE,GAA8Z,0GCA9Z,IAAAC,EAAAJ,EAAA,QAAAA,EAAAC,EAAAG,GAAsZ,mECAtZ,ICA6NC,GCmB7NC,OACAC,MACAC,KAAAC,OACAC,UAAA,6BCdAC,EAAgBC,OAAAC,EAAA,EAAAD,CACdP,ECTQ,WAAgB,IAAaS,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,UAAoBE,YAAA,WAAAC,OAA8BC,OAAA,MAAaJ,EAAA,UAAeG,OAAOE,KAAA,KAAUL,EAAA,KAA9JF,KAA8JQ,GAA9JR,KAA8JS,GAA9JT,KAA8JR,WAA9JQ,KAA8JQ,GAAA,KAAAN,EAAA,UAAgEG,OAAOE,KAAA,MAArOP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Ob,OAAAmG,OAAA5E,KAAAwC,EAAAnB,OAAA+F,QAAAC,SAAAtB,YAAA,KAA4EvD,EAAA/C,GAAA,KAAAN,EAAA,qBAAmC,GAAAqD,EAAA/C,GAAA,KAAAN,EAAA,eAAoCG,OAAOiE,MAAA,eAAA9E,KAAA,YAAwCU,EAAA,YAAiBE,YAAA,wBAAAC,OAA2CmD,YAAA,2BAAwCC,OAAQC,MAAAH,EAAA,sBAAAI,SAAA,SAAAC,GAA2DL,EAAA6D,sBAAAxD,GAA8BC,WAAA,2BAAqCN,EAAA/C,GAAA,KAAAN,EAAA,aAA8BG,OAAOZ,KAAA,WAAiBqE,IAAKC,MAAAR,EAAAoE,sBAAgCpE,EAAA/C,GAAA,4CAAA+C,EAAA/C,GAAA,KAAA+C,EAAAW,GAAAX,EAAAnB,OAAA+B,MAAAd,YAAA,qBAAAsC,EAAAnG,GAAuI,OAAAU,EAAA,OAAiBmE,IAAA7E,IAASU,EAAA,cAAmBG,OAAOb,OAAAmG,OAAA5E,KAAAwC,EAAA6D,sBAAAN,YAAA,KAA2EvD,EAAA/C,GAAA,KAAAN,EAAA,qBAAmC,gBmBYl2F,EACA,KACA,KACA,OAIA6H,EAASpH,QAAAC,OAAA,YACMyH,EAAA,QAAAN,6CCpBf,IAAAO,EAAArJ,EAAA,QAAAA,EAAAC,EAAAoJ,GAA+Z","file":"static/js/chunk-1a7d.8173d81f.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js??ref--7-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js??ref--7-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewEmojiUploader.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewEmojiUploader.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleEmojiEditor.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleEmojiEditor.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmojiPack.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmojiPack.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',{staticClass:\"emoji-packs-container\"},[_c('el-header',[_c('h1',[_vm._v(\"\\n Emoji packs\\n \")])]),_vm._v(\" \"),_c('el-row',{staticClass:\"local-packs-actions\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.reloadEmoji}},[_vm._v(\"\\n Reload emoji\\n \")]),_vm._v(\" \"),_c('el-tooltip',{attrs:{\"effects\":\"dark\",\"content\":\"Importing from the filesystem will scan the directories and import those without pack.json but with emoji.txt or without neither\",\"placement\":\"bottom\"}},[_c('el-button',{attrs:{\"type\":\"success\"},on:{\"click\":_vm.importFromFS}},[_vm._v(\"\\n Import packs from the server filesystem\\n \")])],1)],1),_vm._v(\" \"),_c('el-tabs',{model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"Local packs\",\"name\":\"local\"}},[_c('div',[_vm._v(\"\\n Local packs can be viewed and downloaded for backup here.\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"local-packs-actions\"},[_c('el-popover',{attrs:{\"placement\":\"bottom\",\"trigger\":\"click\"},model:{value:(_vm.createNewPackVisible),callback:function ($$v) {_vm.createNewPackVisible=$$v},expression:\"createNewPackVisible\"}},[_c('el-input',{attrs:{\"placeholder\":\"Name\"},model:{value:(_vm.newPackName),callback:function ($$v) {_vm.newPackName=$$v},expression:\"newPackName\"}}),_vm._v(\" \"),_c('el-button',{staticClass:\"create-pack-button\",attrs:{\"disabled\":_vm.newPackName.trim() === '',\"type\":\"success\"},on:{\"click\":_vm.createLocalPack}},[_vm._v(\"\\n Create\\n \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"slot\":\"reference\",\"type\":\"success\"},slot:\"reference\"},[_vm._v(\"\\n Create a new local pack\\n \")])],1),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.refreshLocalPacks}},[_vm._v(\"\\n Refresh local packs\\n \")])],1),_vm._v(\" \"),_vm._l((_vm.$store.state.emoji_packs.localPacks),function(pack,name){return _c('div',{key:name},[_c('emoji-pack',{attrs:{\"name\":name,\"pack\":pack,\"host\":_vm.$store.getters.authHost,\"is-local\":true}}),_vm._v(\" \"),_c('el-divider')],1)})],2),_vm._v(\" \"),_c('el-tab-pane',{attrs:{\"label\":\"Remote packs\",\"name\":\"remote\"}},[_c('el-input',{staticClass:\"remote-instance-input\",attrs:{\"placeholder\":\"Remote instance address\"},model:{value:(_vm.remoteInstanceAddress),callback:function ($$v) {_vm.remoteInstanceAddress=$$v},expression:\"remoteInstanceAddress\"}}),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.refreshRemotePacks}},[_vm._v(\"\\n Refresh remote packs\\n \")]),_vm._v(\" \"),_vm._l((_vm.$store.state.emoji_packs.remotePacks),function(pack,name){return _c('div',{key:name},[_c('emoji-pack',{attrs:{\"name\":name,\"pack\":pack,\"host\":_vm.remoteInstanceAddress,\"is-local\":false}}),_vm._v(\" \"),_c('el-divider')],1)})],2)],1)],1)}\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!./PropertyEditingRow.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!./PropertyEditingRow.vue?vue&type=script&lang=js&\"","<template>\n <el-row :gutter=\"20\" class=\"prop-row\">\n <el-col :span=\"4\">\n <b>{{ name }}</b>\n </el-col>\n <el-col :span=\"10\">\n <slot/>\n </el-col>\n </el-row>\n</template>\n\n<style>\n .prop-row {\n margin-bottom: 1em;\n }\n</style>\n\n<script>\nexport default {\n props: {\n name: {\n type: String,\n required: true\n }\n }\n}\n</script>\n","import { render, staticRenderFns } from \"./PropertyEditingRow.vue?vue&type=template&id=57f3224b&\"\nimport script from \"./PropertyEditingRow.vue?vue&type=script&lang=js&\"\nexport * from \"./PropertyEditingRow.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PropertyEditingRow.vue?vue&type=style&index=0&lang=css&\"\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 = \"PropertyEditingRow.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-row',{staticClass:\"prop-row\",attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":4}},[_c('b',[_vm._v(_vm._s(_vm.name))])]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":10}},[_vm._t(\"default\")],2)],1)}\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!./SingleEmojiEditor.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!./SingleEmojiEditor.vue?vue&type=script&lang=js&\"","<template>\n <el-row :gutter=\"20\">\n <el-col :span=\"4\">\n <el-input v-if=\"isLocal\" v-model=\"modifyingName\" placeholder=\"Name/Shortcode\" />\n <el-input v-else :value=\"modifyingName\" placeholder=\"Name/Shortcode\" />\n </el-col>\n <el-col :span=\"6\">\n <el-input v-if=\"isLocal\" v-model=\"modifyingFile\" placeholder=\"File\"/>\n <el-input v-else :value=\"modifyingFile\" placeholder=\"File\"/>\n </el-col>\n\n <el-col v-if=\"isLocal\" :span=\"2\">\n <el-button type=\"primary\" @click=\"update\">Update</el-button>\n </el-col>\n <el-col v-if=\"isLocal\" :span=\"2\">\n <el-button type=\"danger\" @click=\"remove\">Remove</el-button>\n </el-col>\n\n <el-col v-if=\"!isLocal\" :span=\"4\">\n <el-popover v-model=\"copyToLocalVisible\" placement=\"bottom\">\n <p>Select the local pack to copy to</p>\n <el-select v-model=\"copyToLocalPackName\" placeholder=\"Local pack\">\n <el-option\n v-for=\"(_pack, name) in $store.state.emoji_packs.localPacks\"\n :key=\"name\"\n :label=\"name\"\n :value=\"name\" />\n </el-select>\n\n <p>Specify a custom shortcode (leave empty to use the same shortcode)</p>\n <el-input v-model=\"copyToShortcode\" placeholder=\"Shortcode (optional)\" />\n\n <p>Specify a custom filename (leavy empty to use the same filename)</p>\n <el-input v-model=\"copyToFilename\" placeholder=\"Filename (optional)\" />\n\n <el-button\n :disabled=\"!copyToLocalPackName\"\n type=\"success\"\n class=\"copy-to-local-button\"\n @click=\"copyToLocal\">Copy</el-button>\n\n <el-button slot=\"reference\" type=\"primary\">Copy to local pack...</el-button>\n </el-popover>\n </el-col>\n\n <el-col :span=\"2\">\n <img\n :src=\"addressOfEmojiInPack(host, packName, file)\"\n class=\"emoji-preview-img\">\n </el-col>\n </el-row>\n</template>\n\n<style>\n .emoji-preview-img {\n max-width: 5em;\n }\n\n .copy-to-local-button {\n margin-top: 2em;\n float: right;\n }\n</style>\n\n<script>\n\nimport { addressOfEmojiInPack } from '@/api/emoji_packs'\n\nexport default {\n props: {\n host: {\n type: String,\n required: true\n },\n packName: {\n type: String,\n required: true\n },\n name: {\n type: String,\n required: true\n },\n file: {\n type: String,\n required: true\n },\n isLocal: {\n type: Boolean,\n required: true\n }\n },\n\n data() {\n return {\n newName: null,\n newFile: null,\n\n copyToLocalPackName: null,\n copyToLocalVisible: false,\n copyToShortcode: '',\n copyToFilename: ''\n }\n },\n\n computed: {\n modifyingName: {\n get() {\n // Return a modified name if it was actually modified, otherwise return the old name\n return this.newName !== null ? this.newName : this.name\n },\n set(val) { this.newName = val }\n },\n modifyingFile: {\n get() {\n // Return a modified name if it was actually modified, otherwise return the old name\n return this.newFile !== null ? this.newFile : this.file\n },\n set(val) { this.newFile = val }\n }\n },\n methods: {\n update() {\n this.$store.dispatch('UpdateAndSavePackFile', {\n action: 'update',\n packName: this.packName,\n oldName: this.name,\n newName: this.modifyingName,\n newFilename: this.modifyingFile\n }).then(() => {\n this.newName = null\n this.newFile = null\n\n this.$store.dispatch('ReloadEmoji')\n })\n },\n remove() {\n this.$confirm('This will delete the emoji, are you sure?', 'Warning', {\n confirmButtonText: 'Yes, delete the emoji',\n cancelButtonText: 'No, leave it be',\n type: 'warning'\n }).then(() => {\n this.$store.dispatch('UpdateAndSavePackFile', {\n action: 'remove',\n packName: this.packName,\n name: this.name\n }).then(() => {\n this.newName = null\n this.newFile = null\n\n this.$store.dispatch('ReloadEmoji')\n })\n })\n },\n\n copyToLocal() {\n this.$store.dispatch('UpdateAndSavePackFile', {\n action: 'add',\n packName: this.copyToLocalPackName,\n shortcode: this.copyToShortcode.trim() !== '' ? this.copyToShortcode.trim() : this.name,\n fileName: this.copyToFilename.trim() !== '' ? this.copyToFilename.trim() : this.file,\n file: this.addressOfEmojiInPack(this.host, this.packName, this.file)\n }).then(() => {\n this.copyToLocalPackName = null\n this.copyToLocalVisible = false\n this.copyToShortcode = ''\n this.copyToFilename = ''\n\n this.$store.dispatch('ReloadEmoji')\n })\n },\n\n addressOfEmojiInPack\n }\n}\n</script>\n","import { render, staticRenderFns } from \"./SingleEmojiEditor.vue?vue&type=template&id=5bc267c6&\"\nimport script from \"./SingleEmojiEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./SingleEmojiEditor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SingleEmojiEditor.vue?vue&type=style&index=0&lang=css&\"\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 = \"SingleEmojiEditor.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":4}},[(_vm.isLocal)?_c('el-input',{attrs:{\"placeholder\":\"Name/Shortcode\"},model:{value:(_vm.modifyingName),callback:function ($$v) {_vm.modifyingName=$$v},expression:\"modifyingName\"}}):_c('el-input',{attrs:{\"value\":_vm.modifyingName,\"placeholder\":\"Name/Shortcode\"}})],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[(_vm.isLocal)?_c('el-input',{attrs:{\"placeholder\":\"File\"},model:{value:(_vm.modifyingFile),callback:function ($$v) {_vm.modifyingFile=$$v},expression:\"modifyingFile\"}}):_c('el-input',{attrs:{\"value\":_vm.modifyingFile,\"placeholder\":\"File\"}})],1),_vm._v(\" \"),(_vm.isLocal)?_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.update}},[_vm._v(\"Update\")])],1):_vm._e(),_vm._v(\" \"),(_vm.isLocal)?_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":_vm.remove}},[_vm._v(\"Remove\")])],1):_vm._e(),_vm._v(\" \"),(!_vm.isLocal)?_c('el-col',{attrs:{\"span\":4}},[_c('el-popover',{attrs:{\"placement\":\"bottom\"},model:{value:(_vm.copyToLocalVisible),callback:function ($$v) {_vm.copyToLocalVisible=$$v},expression:\"copyToLocalVisible\"}},[_c('p',[_vm._v(\"Select the local pack to copy to\")]),_vm._v(\" \"),_c('el-select',{attrs:{\"placeholder\":\"Local pack\"},model:{value:(_vm.copyToLocalPackName),callback:function ($$v) {_vm.copyToLocalPackName=$$v},expression:\"copyToLocalPackName\"}},_vm._l((_vm.$store.state.emoji_packs.localPacks),function(_pack,name){return _c('el-option',{key:name,attrs:{\"label\":name,\"value\":name}})}),1),_vm._v(\" \"),_c('p',[_vm._v(\"Specify a custom shortcode (leave empty to use the same shortcode)\")]),_vm._v(\" \"),_c('el-input',{attrs:{\"placeholder\":\"Shortcode (optional)\"},model:{value:(_vm.copyToShortcode),callback:function ($$v) {_vm.copyToShortcode=$$v},expression:\"copyToShortcode\"}}),_vm._v(\" \"),_c('p',[_vm._v(\"Specify a custom filename (leavy empty to use the same filename)\")]),_vm._v(\" \"),_c('el-input',{attrs:{\"placeholder\":\"Filename (optional)\"},model:{value:(_vm.copyToFilename),callback:function ($$v) {_vm.copyToFilename=$$v},expression:\"copyToFilename\"}}),_vm._v(\" \"),_c('el-button',{staticClass:\"copy-to-local-button\",attrs:{\"disabled\":!_vm.copyToLocalPackName,\"type\":\"success\"},on:{\"click\":_vm.copyToLocal}},[_vm._v(\"Copy\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"slot\":\"reference\",\"type\":\"primary\"},slot:\"reference\"},[_vm._v(\"Copy to local pack...\")])],1)],1):_vm._e(),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":2}},[_c('img',{staticClass:\"emoji-preview-img\",attrs:{\"src\":_vm.addressOfEmojiInPack(_vm.host, _vm.packName, _vm.file)}})])],1)}\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!./NewEmojiUploader.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!./NewEmojiUploader.vue?vue&type=script&lang=js&\"","<template>\n <div>\n <h4>Add new emoji to the pack</h4>\n\n <el-row :gutter=\"20\">\n <el-col :span=\"4\" class=\"new-emoji-col\">\n <el-input v-model=\"shortcode\" placeholder=\"Shortcode\" />\n </el-col>\n\n <el-col :span=\"8\">\n <div>\n <h5>Upload a file</h5>\n </div>\n File name\n <el-input v-model=\"customFileName\" size=\"mini\" placeholder=\"Custom file name (optional)\"/>\n <input ref=\"fileUpload\" type=\"file\" accept=\"image/*\" >\n\n <div class=\"or\">\n or\n </div>\n\n <div>\n <h5>Enter a URL</h5>\n </div>\n <el-input v-model=\"imageUploadURL\" placeholder=\"Image URL\" />\n\n <small>\n (If both are filled, the file is used)\n </small>\n </el-col>\n\n <el-col :span=\"4\" class=\"new-emoji-col\">\n <el-button :disabled=\"shortcode.trim() == ''\" @click=\"upload\">Upload</el-button>\n </el-col>\n </el-row>\n </div>\n</template>\n\n<style>\n .new-emoji-col {\n margin-top: 8em;\n }\n\n .or {\n margin: 1em;\n }\n</style>\n\n<script>\nexport default {\n props: {\n packName: {\n type: String,\n required: true\n }\n },\n\n data() {\n return {\n shortcode: '',\n imageUploadURL: '',\n customFileName: ''\n }\n },\n\n methods: {\n upload() {\n let file = null\n\n if (this.$refs.fileUpload.files.length > 0) {\n file = this.$refs.fileUpload.files[0]\n } else if (this.imageUploadURL.trim() !== '') {\n file = this.imageUploadURL\n }\n\n if (file !== null) {\n this.$store.dispatch('UpdateAndSavePackFile', {\n action: 'add',\n packName: this.packName,\n shortcode: this.shortcode,\n file: file,\n fileName: this.customFileName\n }).then(() => {\n this.shortcode = ''\n this.imageUploadURL = ''\n\n this.$store.dispatch('ReloadEmoji')\n })\n }\n }\n }\n}\n</script>\n","import { render, staticRenderFns } from \"./NewEmojiUploader.vue?vue&type=template&id=2b91be00&\"\nimport script from \"./NewEmojiUploader.vue?vue&type=script&lang=js&\"\nexport * from \"./NewEmojiUploader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NewEmojiUploader.vue?vue&type=style&index=0&lang=css&\"\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 = \"NewEmojiUploader.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h4',[_vm._v(\"Add new emoji to the pack\")]),_vm._v(\" \"),_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{staticClass:\"new-emoji-col\",attrs:{\"span\":4}},[_c('el-input',{attrs:{\"placeholder\":\"Shortcode\"},model:{value:(_vm.shortcode),callback:function ($$v) {_vm.shortcode=$$v},expression:\"shortcode\"}})],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":8}},[_c('div',[_c('h5',[_vm._v(\"Upload a file\")])]),_vm._v(\"\\n File name\\n \"),_c('el-input',{attrs:{\"size\":\"mini\",\"placeholder\":\"Custom file name (optional)\"},model:{value:(_vm.customFileName),callback:function ($$v) {_vm.customFileName=$$v},expression:\"customFileName\"}}),_vm._v(\" \"),_c('input',{ref:\"fileUpload\",attrs:{\"type\":\"file\",\"accept\":\"image/*\"}}),_vm._v(\" \"),_c('div',{staticClass:\"or\"},[_vm._v(\"\\n or\\n \")]),_vm._v(\" \"),_c('div',[_c('h5',[_vm._v(\"Enter a URL\")])]),_vm._v(\" \"),_c('el-input',{attrs:{\"placeholder\":\"Image URL\"},model:{value:(_vm.imageUploadURL),callback:function ($$v) {_vm.imageUploadURL=$$v},expression:\"imageUploadURL\"}}),_vm._v(\" \"),_c('small',[_vm._v(\"\\n (If both are filled, the file is used)\\n \")])],1),_vm._v(\" \"),_c('el-col',{staticClass:\"new-emoji-col\",attrs:{\"span\":4}},[_c('el-button',{attrs:{\"disabled\":_vm.shortcode.trim() == ''},on:{\"click\":_vm.upload}},[_vm._v(\"Upload\")])],1)],1)],1)}\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!./EmojiPack.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!./EmojiPack.vue?vue&type=script&lang=js&\"","<template>\n <div>\n <h2>{{ name }}</h2>\n\n <prop-editing-row name=\"Share pack\">\n <el-switch v-model=\"share\" :disabled=\"!isLocal\" />\n </prop-editing-row>\n <prop-editing-row name=\"Homepage\">\n <el-input v-if=\"isLocal\" v-model=\"homepage\" />\n <el-input v-else :value=\"homepage\" />\n </prop-editing-row>\n <prop-editing-row name=\"Description\">\n <el-input v-if=\"isLocal\" :rows=\"2\" v-model=\"description\" type=\"textarea\" />\n <el-input v-else :rows=\"2\" :value=\"description\" type=\"textarea\" />\n </prop-editing-row>\n <prop-editing-row name=\"License\">\n <el-input v-if=\"isLocal\" v-model=\"license\" />\n <el-input v-else :value=\"license\" />\n </prop-editing-row>\n <prop-editing-row name=\"Fallback source\">\n <el-input v-if=\"isLocal\" v-model=\"fallbackSrc\" />\n <el-input v-else :value=\"fallbackSrc\" />\n </prop-editing-row>\n\n <prop-editing-row v-if=\"fallbackSrc && fallbackSrc.trim() !== ''\" name=\"Fallback source SHA\">\n {{ pack.pack[\"fallback-src-sha256\"] }}\n </prop-editing-row>\n\n <el-button v-if=\"isLocal\" type=\"success\" @click=\"savePackMetadata\">Save pack metadata</el-button>\n\n <el-collapse v-model=\"shownPackEmoji\" class=\"contents-collapse\">\n <el-collapse-item :name=\"name\" title=\"Show pack contents\">\n <new-emoji-uploader v-if=\"isLocal\" :pack-name=\"name\" class=\"new-emoji-uploader\" />\n\n <h4>Manage existing emoji</h4>\n\n <single-emoji-editor\n v-for=\"(file, ename) in pack.files\"\n :key=\"ename\"\n :host=\"host\"\n :pack-name=\"name\"\n :name=\"ename\"\n :file=\"file\"\n :is-local=\"isLocal\" />\n </el-collapse-item>\n </el-collapse>\n\n <div v-if=\"!isLocal\" class=\"shared-pack-dl-box\">\n <div>\n This will download the \"{{ name }}\" pack to the current instance under the name\n \"{{ downloadSharedAs.trim() === '' ? name : downloadSharedAs }}\" (can be changed below).\n It will then be usable and shareable from the current instance.\n </div>\n\n <el-button type=\"primary\" @click=\"downloadFromInstance\">\n Download shared pack to current instance\n </el-button>\n\n <el-input v-model=\"downloadSharedAs\" class=\"dl-as-input\" placeholder=\"Download as (optional)\" />\n </div>\n\n <el-link\n v-if=\"pack.pack['can-download']\"\n :href=\"`//${host}/api/pleroma/emoji/packs/${name}/download_shared`\"\n type=\"primary\"\n target=\"_blank\">\n Download pack archive\n </el-link>\n\n <div v-if=\"isLocal\" class=\"pack-actions\">\n <el-button type=\"danger\" @click=\"deletePack\">\n Delete the local pack\n </el-button>\n </div>\n </div>\n</template>\n\n<style>\n .shared-pack-dl-box {\n margin: 1em;\n }\n\n .dl-as-input {\n margin: 1em;\n max-width: 30%;\n }\n\n .contents-collapse {\n margin: 1em;\n }\n\n .pack-actions {\n margin-top: 1em;\n }\n\n .new-emoji-uploader {\n margin-bottom: 3em;\n }\n</style>\n\n<script>\nimport PropEditingRow from './PropertyEditingRow.vue'\nimport SingleEmojiEditor from './SingleEmojiEditor.vue'\nimport NewEmojiUploader from './NewEmojiUploader.vue'\n\nexport default {\n\n components: { PropEditingRow, SingleEmojiEditor, NewEmojiUploader },\n props: {\n name: {\n type: String,\n required: true\n },\n pack: {\n type: Object,\n required: true\n },\n host: {\n type: String,\n required: true\n },\n isLocal: {\n type: Boolean,\n required: true\n }\n },\n\n data() {\n return {\n shownPackEmoji: [],\n downloadSharedAs: ''\n }\n },\n computed: {\n share: {\n get() { return this.pack.pack['share-files'] },\n set(value) {\n this.$store.dispatch(\n 'UpdateLocalPackVal',\n { name: this.name, key: 'share-files', value }\n )\n }\n },\n homepage: {\n get() { return this.pack.pack['homepage'] },\n set(value) {\n this.$store.dispatch(\n 'UpdateLocalPackVal',\n { name: this.name, key: 'homepage', value }\n )\n }\n },\n description: {\n get() { return this.pack.pack['description'] },\n set(value) {\n this.$store.dispatch(\n 'UpdateLocalPackVal',\n { name: this.name, key: 'description', value }\n )\n }\n },\n license: {\n get() { return this.pack.pack['license'] },\n set(value) {\n this.$store.dispatch(\n 'UpdateLocalPackVal',\n { name: this.name, key: 'license', value }\n )\n }\n },\n fallbackSrc: {\n get() { return this.pack.pack['fallback-src'] },\n set(value) {\n if (value.trim() !== '') {\n this.$store.dispatch(\n 'UpdateLocalPackVal',\n { name: this.name, key: 'fallback-src', value }\n )\n } else {\n this.$store.dispatch(\n 'UpdateLocalPackVal',\n { name: this.name, key: 'fallback-src', value: null }\n )\n this.$store.dispatch(\n 'UpdateLocalPackVal',\n { name: this.name, key: 'fallback-src-sha256', value: null }\n )\n }\n }\n }\n },\n methods: {\n downloadFromInstance() {\n this.$store.dispatch(\n 'DownloadFrom',\n { instanceAddress: this.host, packName: this.name, as: this.downloadSharedAs }\n ).then(() => this.$store.dispatch('ReloadEmoji'))\n .then(() => this.$store.dispatch('SetLocalEmojiPacks'))\n },\n\n deletePack() {\n this.$confirm('This will delete the pack, are you sure?', 'Warning', {\n confirmButtonText: 'Yes, delete the pack',\n cancelButtonText: 'No, leave it be',\n type: 'warning'\n }).then(() => {\n this.$store.dispatch('DeletePack', { name: this.name })\n .then(() => this.$store.dispatch('ReloadEmoji'))\n .then(() => this.$store.dispatch('SetLocalEmojiPacks'))\n }).catch(() => {})\n },\n\n savePackMetadata() {\n this.$store.dispatch('SavePackMetadata', { packName: this.name })\n }\n }\n}\n</script>\n","import { render, staticRenderFns } from \"./EmojiPack.vue?vue&type=template&id=0fe4b898&\"\nimport script from \"./EmojiPack.vue?vue&type=script&lang=js&\"\nexport * from \"./EmojiPack.vue?vue&type=script&lang=js&\"\nimport style0 from \"./EmojiPack.vue?vue&type=style&index=0&lang=css&\"\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 = \"EmojiPack.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h2',[_vm._v(_vm._s(_vm.name))]),_vm._v(\" \"),_c('prop-editing-row',{attrs:{\"name\":\"Share pack\"}},[_c('el-switch',{attrs:{\"disabled\":!_vm.isLocal},model:{value:(_vm.share),callback:function ($$v) {_vm.share=$$v},expression:\"share\"}})],1),_vm._v(\" \"),_c('prop-editing-row',{attrs:{\"name\":\"Homepage\"}},[(_vm.isLocal)?_c('el-input',{model:{value:(_vm.homepage),callback:function ($$v) {_vm.homepage=$$v},expression:\"homepage\"}}):_c('el-input',{attrs:{\"value\":_vm.homepage}})],1),_vm._v(\" \"),_c('prop-editing-row',{attrs:{\"name\":\"Description\"}},[(_vm.isLocal)?_c('el-input',{attrs:{\"rows\":2,\"type\":\"textarea\"},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}}):_c('el-input',{attrs:{\"rows\":2,\"value\":_vm.description,\"type\":\"textarea\"}})],1),_vm._v(\" \"),_c('prop-editing-row',{attrs:{\"name\":\"License\"}},[(_vm.isLocal)?_c('el-input',{model:{value:(_vm.license),callback:function ($$v) {_vm.license=$$v},expression:\"license\"}}):_c('el-input',{attrs:{\"value\":_vm.license}})],1),_vm._v(\" \"),_c('prop-editing-row',{attrs:{\"name\":\"Fallback source\"}},[(_vm.isLocal)?_c('el-input',{model:{value:(_vm.fallbackSrc),callback:function ($$v) {_vm.fallbackSrc=$$v},expression:\"fallbackSrc\"}}):_c('el-input',{attrs:{\"value\":_vm.fallbackSrc}})],1),_vm._v(\" \"),(_vm.fallbackSrc && _vm.fallbackSrc.trim() !== '')?_c('prop-editing-row',{attrs:{\"name\":\"Fallback source SHA\"}},[_vm._v(\"\\n \"+_vm._s(_vm.pack.pack[\"fallback-src-sha256\"])+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isLocal)?_c('el-button',{attrs:{\"type\":\"success\"},on:{\"click\":_vm.savePackMetadata}},[_vm._v(\"Save pack metadata\")]):_vm._e(),_vm._v(\" \"),_c('el-collapse',{staticClass:\"contents-collapse\",model:{value:(_vm.shownPackEmoji),callback:function ($$v) {_vm.shownPackEmoji=$$v},expression:\"shownPackEmoji\"}},[_c('el-collapse-item',{attrs:{\"name\":_vm.name,\"title\":\"Show pack contents\"}},[(_vm.isLocal)?_c('new-emoji-uploader',{staticClass:\"new-emoji-uploader\",attrs:{\"pack-name\":_vm.name}}):_vm._e(),_vm._v(\" \"),_c('h4',[_vm._v(\"Manage existing emoji\")]),_vm._v(\" \"),_vm._l((_vm.pack.files),function(file,ename){return _c('single-emoji-editor',{key:ename,attrs:{\"host\":_vm.host,\"pack-name\":_vm.name,\"name\":ename,\"file\":file,\"is-local\":_vm.isLocal}})})],2)],1),_vm._v(\" \"),(!_vm.isLocal)?_c('div',{staticClass:\"shared-pack-dl-box\"},[_c('div',[_vm._v(\"\\n This will download the \\\"\"+_vm._s(_vm.name)+\"\\\" pack to the current instance under the name\\n \\\"\"+_vm._s(_vm.downloadSharedAs.trim() === '' ? _vm.name : _vm.downloadSharedAs)+\"\\\" (can be changed below).\\n It will then be usable and shareable from the current instance.\\n \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.downloadFromInstance}},[_vm._v(\"\\n Download shared pack to current instance\\n \")]),_vm._v(\" \"),_c('el-input',{staticClass:\"dl-as-input\",attrs:{\"placeholder\":\"Download as (optional)\"},model:{value:(_vm.downloadSharedAs),callback:function ($$v) {_vm.downloadSharedAs=$$v},expression:\"downloadSharedAs\"}})],1):_vm._e(),_vm._v(\" \"),(_vm.pack.pack['can-download'])?_c('el-link',{attrs:{\"href\":(\"//\" + _vm.host + \"/api/pleroma/emoji/packs/\" + _vm.name + \"/download_shared\"),\"type\":\"primary\",\"target\":\"_blank\"}},[_vm._v(\"\\n Download pack archive\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isLocal)?_c('div',{staticClass:\"pack-actions\"},[_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":_vm.deletePack}},[_vm._v(\"\\n Delete the local pack\\n \")])],1):_vm._e()],1)}\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-container class=\"emoji-packs-container\">\n <el-header>\n <h1>\n Emoji packs\n </h1>\n </el-header>\n\n <el-row class=\"local-packs-actions\">\n <el-button type=\"primary\" @click=\"reloadEmoji\">\n Reload emoji\n </el-button>\n\n <el-tooltip effects=\"dark\" content=\"Importing from the filesystem will scan the directories and import those without pack.json but with emoji.txt or without neither\" placement=\"bottom\">\n <el-button type=\"success\" @click=\"importFromFS\">\n Import packs from the server filesystem\n </el-button>\n </el-tooltip>\n </el-row>\n\n <el-tabs v-model=\"activeName\">\n <el-tab-pane label=\"Local packs\" name=\"local\">\n <div>\n Local packs can be viewed and downloaded for backup here.\n </div>\n\n <div class=\"local-packs-actions\">\n <el-popover\n v-model=\"createNewPackVisible\"\n placement=\"bottom\"\n trigger=\"click\">\n\n <el-input v-model=\"newPackName\" placeholder=\"Name\" />\n <el-button\n :disabled=\"newPackName.trim() === ''\"\n class=\"create-pack-button\"\n type=\"success\"\n @click=\"createLocalPack\" >\n Create\n </el-button>\n\n <el-button slot=\"reference\" type=\"success\">\n Create a new local pack\n </el-button>\n </el-popover>\n\n <el-button type=\"primary\" @click=\"refreshLocalPacks\">\n Refresh local packs\n </el-button>\n </div>\n\n <div v-for=\"(pack, name) in $store.state.emoji_packs.localPacks\" :key=\"name\">\n <emoji-pack :name=\"name\" :pack=\"pack\" :host=\"$store.getters.authHost\" :is-local=\"true\" />\n <el-divider />\n </div>\n </el-tab-pane>\n\n <el-tab-pane label=\"Remote packs\" name=\"remote\">\n <el-input\n v-model=\"remoteInstanceAddress\"\n class=\"remote-instance-input\"\n placeholder=\"Remote instance address\" />\n <el-button type=\"primary\" @click=\"refreshRemotePacks\">\n Refresh remote packs\n </el-button>\n\n <div v-for=\"(pack, name) in $store.state.emoji_packs.remotePacks\" :key=\"name\">\n <emoji-pack :name=\"name\" :pack=\"pack\" :host=\"remoteInstanceAddress\" :is-local=\"false\" />\n <el-divider />\n </div>\n\n </el-tab-pane>\n </el-tabs>\n </el-container>\n</template>\n\n<style>\n .emoji-packs-container {\n margin: 22px 0 0 15px;\n }\n\n .local-packs-actions {\n margin-top: 1em;\n margin-bottom: 1em;\n }\n\n .remote-instance-input {\n max-width: 10%;\n }\n\n .create-pack-button {\n margin-top: 1em;\n }\n</style>\n\n<script>\nimport EmojiPack from './components/EmojiPack'\n\nexport default {\n components: { EmojiPack },\n\n data() {\n return {\n activeName: 'local',\n remoteInstanceAddress: '',\n downloadFromState: null,\n\n newPackName: '',\n createNewPackVisible: false\n }\n },\n\n mounted() {\n this.refreshLocalPacks()\n },\n\n methods: {\n createLocalPack() {\n this.createNewPackVisible = false\n\n this.$store.dispatch('CreatePack', { name: this.newPackName })\n .then(() => {\n this.newPackName = ''\n\n this.$store.dispatch('SetLocalEmojiPacks')\n this.$store.dispatch('ReloadEmoji')\n })\n },\n\n refreshLocalPacks() {\n this.$store.dispatch('SetLocalEmojiPacks')\n },\n\n refreshRemotePacks() {\n this.$store.dispatch('SetRemoteEmojiPacks', { remoteInstance: this.remoteInstanceAddress })\n },\n\n reloadEmoji() {\n this.$store.dispatch('ReloadEmoji')\n },\n\n importFromFS() {\n this.$store.dispatch('ImportFromFS')\n .then(() => {\n this.$store.dispatch('SetLocalEmojiPacks')\n this.$store.dispatch('ReloadEmoji')\n })\n }\n }\n}\n</script>\n","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=83da257e&\"\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&lang=css&\"\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--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PropertyEditingRow.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--7-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/lib/index.js??ref--7-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PropertyEditingRow.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}