chunk-50ba.afb924bf.js.map 40.9 KB
Newer Older
1
{"version":3,"sources":["webpack:///./src/views/users/components/MultipleUsersMenu.vue?657a","webpack:///./src/views/users/components/MultipleUsersMenu.vue?d61e","webpack:///./src/views/users/components/MultipleUsersMenu.vue?56ef","webpack:///src/views/users/components/MultipleUsersMenu.vue","webpack:///./src/views/users/components/MultipleUsersMenu.vue"],"names":["_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_MultipleUsersMenu_vue_vue_type_style_index_0_id_4c2a46a6_rel_stylesheet_2Fscss_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n","components_MultipleUsersMenuvue_type_script_lang_js_","props","selectedUsers","type","Array","default","computed","isDesktop","this","$store","state","app","device","showDropdownForMultipleUsers","$props","length","tagPolicyEnabled","users","mrfPolicies","includes","methods","mappers","_this","applyAction","_ref","asyncToGenerator_default","regenerator_default","a","mark","_callee","dispatchAction","wrap","_context","prev","next","$emit","stop","_x","_x2","apply","arguments","grantRight","right","addRightFn","_ref2","_callee2","_context2","dispatch","abrupt","sent","_x3","filtered","filter","user","isLocalUser","roles","id","revokeRight","deleteRightFn","_ref3","_callee3","_context3","_x4","activate","nickname","deactivated","_ref4","_callee4","_context4","_x5","deactivate","_ref5","_callee5","_context5","_x6","remove","_ref6","_callee6","_context6","_x7","addTag","tag","tags","_ref7","_callee7","_context7","_x8","removeTag","_callee9","_context9","_ref9","_callee8","_context8","_x9","requirePasswordReset","_ref10","_callee10","_context10","_x10","approveAccounts","approval_pending","_ref11","_callee11","_context11","_x11","confirmAccounts","is_confirmed","_ref12","_callee12","_context12","_x12","resendConfirmation","_ref13","_callee13","_context13","_x13","enableTagPolicy","_this2","$confirm","$t","confirmButtonText","cancelButtonText","then","$message","message","catch","local","grantRightToMultipleUsers","confirmMessage","revokeRightFromMultipleUsers","activateMultipleUsers","deactivateMultipleUsers","deleteMultipleUsers","nodeInfo","metadata","mailerEnabled","$alert","addTagForMultipleUsers","removeTagFromMultipleUsers","approveAccountsForMultipleUsers","rejectAccountsForMultipleUsers","confirmAccountsForMultipleUsers","resendConfirmationForMultipleUsers","_this3","component","Object","componentNormalizer","_vm","_h","$createElement","_c","_self","attrs","size","trigger","placement","staticClass","_v","_s","_e","slot","nativeOn","click","$event","divided","options","__file","__webpack_exports__"],"mappings":"+HAAA,IAAAA,EAAAC,EAAA,QAAAA,EAAAC,EAAAF,GAA6gB,qCCA7gB,8CCA4NG,GC8J5NC,OACAC,eACAC,KAAAC,MACAC,QAAA,WACA,YAIAC,UACAC,UADA,WAEA,kBAAAC,KAAAC,OAAAC,MAAAC,IAAAC,QAEAC,6BAJA,WAKA,OAAAL,KAAAM,OAAAZ,cAAAa,OAAA,GAEAC,iBAPA,WAQA,OAAAR,KAAAC,OAAAC,MAAAO,MAAAC,YAAAC,SAAA,2CAGAC,SACAC,QADA,WACA,IAAAC,EAAAd,KACAe,EAAA,eAAAC,EAAAC,IAAAC,EAAAC,EAAAC,KAAA,SAAAC,EAAAZ,EAAAa,GAAA,OAAAJ,EAAAC,EAAAI,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EACAJ,EAAAb,GADA,OAEAK,EAAAa,MAAA,gBAFA,wBAAAH,EAAAI,SAAAP,MAAA,gBAAAQ,EAAAC,GAAA,OAAAd,EAAAe,MAAA/B,KAAAgC,YAAA,GAIA,OACAC,WAAA,SAAAC,GAAA,kBACA,IACAC,EAAA,eAAAC,EAAAnB,IAAAC,EAAAC,EAAAC,KAAA,SAAAiB,EAAA5B,GAAA,OAAAS,EAAAC,EAAAI,KAAA,SAAAe,GAAA,cAAAA,EAAAb,KAAAa,EAAAZ,MAAA,cAAAY,EAAAZ,KAAA,EAAA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AA4B,EAAAY,KAAAZ,EAAAU,GAAA,KAAAV,EAAAnI,iBAAsPmI,EAAAY,KAAtPT,EAAA,oBAAyJE,OAAOY,QAAA,IAAaH,UAAWC,MAAA,SAAAC,GAAyB,OAAAhB,EAAA/B,gBAAA+C,OAAqChB,EAAAU,GAAA,WAAAV,EAAAW,GAAAX,EAAA5B,GAAA,0CAAA+B,EAAA,oBAA4GE,OAAOQ,KAAA,YAAkBA,KAAA,aAAiBV,EAAA,oBAAAH,EAAAU,GAAA,WAAAV,EAAAW,GAAAX,EAAA5B,GAAA,+CGYjiP,EACA,KACA,WACA,MAIAyB,EAAAqB,QAAAC,OAAA,wBACeC,EAAA,EAAAvB","file":"static/js/chunk-50ba.afb924bf.js","sourcesContent":["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!./MultipleUsersMenu.vue?vue&type=style&index=0&id=4c2a46a6&rel=stylesheet%2Fscss&lang=scss&scoped=true&\"; 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!./MultipleUsersMenu.vue?vue&type=style&index=0&id=4c2a46a6&rel=stylesheet%2Fscss&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{attrs:{\"size\":\"small\",\"trigger\":\"click\",\"placement\":\"bottom-start\"}},[(_vm.isDesktop)?_c('el-button',{staticClass:\"actions-button\"},[_c('span',{staticClass:\"actions-button-container\"},[_c('span',[_c('i',{staticClass:\"el-icon-edit\"}),_vm._v(\"\\n        \"+_vm._s(_vm.$t('users.moderateUsers'))+\"\\n      \")]),_vm._v(\" \"),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})])]):_vm._e(),_vm._v(\" \"),(_vm.showDropdownForMultipleUsers)?_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.grantRightToMultipleUsers('admin')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.grantAdmin'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.revokeRightFromMultipleUsers('admin')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.revokeAdmin'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.grantRightToMultipleUsers('moderator')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.grantModerator'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.revokeRightFromMultipleUsers('moderator')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.revokeModerator'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.approveAccountsForMultipleUsers($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.approveAccounts'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.rejectAccountsForMultipleUsers($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.rejectAccounts'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.confirmAccountsForMultipleUsers($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.confirmAccounts'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.resendConfirmationForMultipleUsers($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.resendConfirmation'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.activateMultipleUsers($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.activateAccounts'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.deactivateMultipleUsers($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.deactivateAccounts'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.deleteMultipleUsers($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.deleteAccounts'))+\"\\n    \")]),_vm._v(\" \"),_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.requirePasswordReset($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.requirePasswordReset'))+\"\\n    \")]),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\",attrs:{\"divided\":\"\"}},[_c('div',{staticClass:\"tag-container\"},[_c('span',{staticClass:\"tag-text\"},[_vm._v(_vm._s(_vm.$t('users.forceNsfw')))]),_vm._v(\" \"),_c('el-button-group',{staticClass:\"tag-button-group\"},[_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.addTagForMultipleUsers('mrf_tag:media-force-nsfw')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.apply'))+\"\\n          \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.removeTagFromMultipleUsers('mrf_tag:media-force-nsfw')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.remove'))+\"\\n          \")])],1)],1)]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\"},[_c('div',{staticClass:\"tag-container\"},[_c('span',{staticClass:\"tag-text\"},[_vm._v(_vm._s(_vm.$t('users.stripMedia')))]),_vm._v(\" \"),_c('el-button-group',{staticClass:\"tag-button-group\"},[_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.addTagForMultipleUsers('mrf_tag:media-strip')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.apply'))+\"\\n          \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.removeTagFromMultipleUsers('mrf_tag:media-strip')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.remove'))+\"\\n          \")])],1)],1)]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\"},[_c('div',{staticClass:\"tag-container\"},[_c('span',{staticClass:\"tag-text\"},[_vm._v(_vm._s(_vm.$t('users.forceUnlisted')))]),_vm._v(\" \"),_c('el-button-group',{staticClass:\"tag-button-group\"},[_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.addTagForMultipleUsers('mrf_tag:force-unlisted')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.apply'))+\"\\n          \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.removeTagFromMultipleUsers('mrf_tag:force-unlisted')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.remove'))+\"\\n          \")])],1)],1)]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\"},[_c('div',{staticClass:\"tag-container\"},[_c('span',{staticClass:\"tag-text\"},[_vm._v(_vm._s(_vm.$t('users.sandbox')))]),_vm._v(\" \"),_c('el-button-group',{staticClass:\"tag-button-group\"},[_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.addTagForMultipleUsers('mrf_tag:sandbox')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.apply'))+\"\\n          \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.removeTagFromMultipleUsers('mrf_tag:sandbox')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.remove'))+\"\\n          \")])],1)],1)]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\"},[_c('div',{staticClass:\"tag-container\"},[_c('span',{staticClass:\"tag-text\"},[_vm._v(_vm._s(_vm.$t('users.disableRemoteSubscriptionForMultiple')))]),_vm._v(\" \"),_c('el-button-group',{staticClass:\"tag-button-group\"},[_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.addTagForMultipleUsers('mrf_tag:disable-remote-subscription')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.apply'))+\"\\n          \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.removeTagFromMultipleUsers('mrf_tag:disable-remote-subscription')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.remove'))+\"\\n          \")])],1)],1)]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled)?_c('el-dropdown-item',{staticClass:\"no-hover\"},[_c('div',{staticClass:\"tag-container\"},[_c('span',{staticClass:\"tag-text\"},[_vm._v(_vm._s(_vm.$t('users.disableAnySubscriptionForMultiple')))]),_vm._v(\" \"),_c('el-button-group',{staticClass:\"tag-button-group\"},[_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.addTagForMultipleUsers('mrf_tag:disable-any-subscription')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.apply'))+\"\\n          \")]),_vm._v(\" \"),_c('el-button',{attrs:{\"size\":\"mini\"},nativeOn:{\"click\":function($event){return _vm.removeTagFromMultipleUsers('mrf_tag:disable-any-subscription')}}},[_vm._v(\"\\n            \"+_vm._s(_vm.$t('users.remove'))+\"\\n          \")])],1)],1)]):_vm._e(),_vm._v(\" \"),(!_vm.tagPolicyEnabled)?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.enableTagPolicy($event)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.enableTagPolicy'))+\"\\n    \")]):_vm._e()],1):_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.selectUsers'))+\"\\n    \")])],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!./MultipleUsersMenu.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!./MultipleUsersMenu.vue?vue&type=script&lang=js&\"","<template>\n  <el-dropdown size=\"small\" trigger=\"click\" placement=\"bottom-start\">\n    <el-button v-if=\"isDesktop\" class=\"actions-button\">\n      <span class=\"actions-button-container\">\n        <span>\n          <i class=\"el-icon-edit\" />\n          {{ $t('users.moderateUsers') }}\n        </span>\n        <i class=\"el-icon-arrow-down el-icon--right\"/>\n      </span>\n    </el-button>\n    <el-dropdown-menu v-if=\"showDropdownForMultipleUsers\" slot=\"dropdown\">\n      <el-dropdown-item\n        @click.native=\"grantRightToMultipleUsers('admin')\">\n        {{ $t('users.grantAdmin') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"revokeRightFromMultipleUsers('admin')\">\n        {{ $t('users.revokeAdmin') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"grantRightToMultipleUsers('moderator')\">\n        {{ $t('users.grantModerator') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"revokeRightFromMultipleUsers('moderator')\">\n        {{ $t('users.revokeModerator') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        divided\n        @click.native=\"approveAccountsForMultipleUsers\">\n        {{ $t('users.approveAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"rejectAccountsForMultipleUsers\">\n        {{ $t('users.rejectAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        divided\n        @click.native=\"confirmAccountsForMultipleUsers\">\n        {{ $t('users.confirmAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"resendConfirmationForMultipleUsers\">\n        {{ $t('users.resendConfirmation') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        divided\n        @click.native=\"activateMultipleUsers\">\n        {{ $t('users.activateAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"deactivateMultipleUsers\">\n        {{ $t('users.deactivateAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"deleteMultipleUsers\">\n        {{ $t('users.deleteAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        @click.native=\"requirePasswordReset\">\n        {{ $t('users.requirePasswordReset') }}\n      </el-dropdown-item>\n      <el-dropdown-item v-if=\"tagPolicyEnabled\" divided class=\"no-hover\">\n        <div class=\"tag-container\">\n          <span class=\"tag-text\">{{ $t('users.forceNsfw') }}</span>\n          <el-button-group class=\"tag-button-group\">\n            <el-button size=\"mini\" @click.native=\"addTagForMultipleUsers('mrf_tag:media-force-nsfw')\">\n              {{ $t('users.apply') }}\n            </el-button>\n            <el-button size=\"mini\" @click.native=\"removeTagFromMultipleUsers('mrf_tag:media-force-nsfw')\">\n              {{ $t('users.remove') }}\n            </el-button>\n          </el-button-group>\n        </div>\n      </el-dropdown-item>\n      <el-dropdown-item v-if=\"tagPolicyEnabled\" class=\"no-hover\">\n        <div class=\"tag-container\">\n          <span class=\"tag-text\">{{ $t('users.stripMedia') }}</span>\n          <el-button-group class=\"tag-button-group\">\n            <el-button size=\"mini\" @click.native=\"addTagForMultipleUsers('mrf_tag:media-strip')\">\n              {{ $t('users.apply') }}\n            </el-button>\n            <el-button size=\"mini\" @click.native=\"removeTagFromMultipleUsers('mrf_tag:media-strip')\">\n              {{ $t('users.remove') }}\n            </el-button>\n          </el-button-group>\n        </div>\n      </el-dropdown-item>\n      <el-dropdown-item v-if=\"tagPolicyEnabled\" class=\"no-hover\">\n        <div class=\"tag-container\">\n          <span class=\"tag-text\">{{ $t('users.forceUnlisted') }}</span>\n          <el-button-group class=\"tag-button-group\">\n            <el-button size=\"mini\" @click.native=\"addTagForMultipleUsers('mrf_tag:force-unlisted')\">\n              {{ $t('users.apply') }}\n            </el-button>\n            <el-button size=\"mini\" @click.native=\"removeTagFromMultipleUsers('mrf_tag:force-unlisted')\">\n              {{ $t('users.remove') }}\n            </el-button>\n          </el-button-group>\n        </div>\n      </el-dropdown-item>\n      <el-dropdown-item v-if=\"tagPolicyEnabled\" class=\"no-hover\">\n        <div class=\"tag-container\">\n          <span class=\"tag-text\">{{ $t('users.sandbox') }}</span>\n          <el-button-group class=\"tag-button-group\">\n            <el-button size=\"mini\" @click.native=\"addTagForMultipleUsers('mrf_tag:sandbox')\">\n              {{ $t('users.apply') }}\n            </el-button>\n            <el-button size=\"mini\" @click.native=\"removeTagFromMultipleUsers('mrf_tag:sandbox')\">\n              {{ $t('users.remove') }}\n            </el-button>\n          </el-button-group>\n        </div>\n      </el-dropdown-item>\n      <el-dropdown-item v-if=\"tagPolicyEnabled\" class=\"no-hover\">\n        <div class=\"tag-container\">\n          <span class=\"tag-text\">{{ $t('users.disableRemoteSubscriptionForMultiple') }}</span>\n          <el-button-group class=\"tag-button-group\">\n            <el-button size=\"mini\" @click.native=\"addTagForMultipleUsers('mrf_tag:disable-remote-subscription')\">\n              {{ $t('users.apply') }}\n            </el-button>\n            <el-button size=\"mini\" @click.native=\"removeTagFromMultipleUsers('mrf_tag:disable-remote-subscription')\">\n              {{ $t('users.remove') }}\n            </el-button>\n          </el-button-group>\n        </div>\n      </el-dropdown-item>\n      <el-dropdown-item v-if=\"tagPolicyEnabled\" class=\"no-hover\">\n        <div class=\"tag-container\">\n          <span class=\"tag-text\">{{ $t('users.disableAnySubscriptionForMultiple') }}</span>\n          <el-button-group class=\"tag-button-group\">\n            <el-button size=\"mini\" @click.native=\"addTagForMultipleUsers('mrf_tag:disable-any-subscription')\">\n              {{ $t('users.apply') }}\n            </el-button>\n            <el-button size=\"mini\" @click.native=\"removeTagFromMultipleUsers('mrf_tag:disable-any-subscription')\">\n              {{ $t('users.remove') }}\n            </el-button>\n          </el-button-group>\n        </div>\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"!tagPolicyEnabled\"\n        divided\n        @click.native=\"enableTagPolicy\">\n        {{ $t('users.enableTagPolicy') }}\n      </el-dropdown-item>\n    </el-dropdown-menu>\n    <el-dropdown-menu v-else slot=\"dropdown\">\n      <el-dropdown-item>\n        {{ $t('users.selectUsers') }}\n      </el-dropdown-item>\n    </el-dropdown-menu>\n  </el-dropdown>\n</template>\n\n<script>\nexport default {\n  props: {\n    selectedUsers: {\n      type: Array,\n      default: function() {\n        return []\n      }\n    }\n  },\n  computed: {\n    isDesktop() {\n      return this.$store.state.app.device === 'desktop'\n    },\n    showDropdownForMultipleUsers() {\n      return this.$props.selectedUsers.length > 0\n    },\n    tagPolicyEnabled() {\n      return this.$store.state.users.mrfPolicies.includes('Pleroma.Web.ActivityPub.MRF.TagPolicy')\n    }\n  },\n  methods: {\n    mappers() {\n      const applyAction = async(users, dispatchAction) => {\n        await dispatchAction(users)\n        this.$emit('apply-action')\n      }\n      return {\n        grantRight: (right) => () => {\n          const filterUsersFn = user => this.isLocalUser(user) && !user.roles[right] && this.$store.state.user.id !== user.id\n          const addRightFn = async(users) => await this.$store.dispatch('AddRight', { users, right })\n          const filtered = this.selectedUsers.filter(filterUsersFn)\n\n          applyAction(filtered, addRightFn)\n        },\n        revokeRight: (right) => () => {\n          const filterUsersFn = user => this.isLocalUser(user) && user.roles[right] && this.$store.state.user.id !== user.id\n          const deleteRightFn = async(users) => await this.$store.dispatch('DeleteRight', { users, right })\n          const filtered = this.selectedUsers.filter(filterUsersFn)\n\n          applyAction(filtered, deleteRightFn)\n        },\n        activate: () => {\n          const filtered = this.selectedUsers.filter(user => user.nickname && user.deactivated && this.$store.state.user.id !== user.id)\n          const activateUsersFn = async(users) => await this.$store.dispatch('ActivateUsers', { users })\n\n          applyAction(filtered, activateUsersFn)\n        },\n        deactivate: () => {\n          const filtered = this.selectedUsers.filter(user => user.nickname && !user.deactivated && this.$store.state.user.id !== user.id)\n          const deactivateUsersFn = async(users) => await this.$store.dispatch('DeactivateUsers', { users })\n\n          applyAction(filtered, deactivateUsersFn)\n        },\n        remove: () => {\n          const filtered = this.selectedUsers.filter(user => user.nickname && this.$store.state.user.id !== user.id)\n          const deleteAccountFn = async(users) => await this.$store.dispatch('DeleteUsers', { users })\n\n          applyAction(filtered, deleteAccountFn)\n        },\n        addTag: (tag) => () => {\n          const filtered = this.selectedUsers.filter(user =>\n            tag === 'mrf_tag:disable-remote-subscription' || tag === 'mrf_tag:disable-any-subscription'\n              ? this.isLocalUser(user) && !user.tags.includes(tag)\n              : user.nickname && !user.tags.includes(tag))\n          const addTagFn = async(users) => await this.$store.dispatch('AddTag', { users, tag })\n          applyAction(filtered, addTagFn)\n        },\n        removeTag: (tag) => async() => {\n          const filtered = this.selectedUsers.filter(user =>\n            tag === 'mrf_tag:disable-remote-subscription' || tag === 'mrf_tag:disable-any-subscription'\n              ? this.isLocalUser(user) && user.tags.includes(tag)\n              : user.nickname && user.tags.includes(tag))\n          const removeTagFn = async(users) => await this.$store.dispatch('RemoveTag', { users, tag })\n\n          applyAction(filtered, removeTagFn)\n        },\n        requirePasswordReset: () => {\n          const filtered = this.selectedUsers.filter(user => this.isLocalUser(user))\n          const requirePasswordResetFn = async(users) => await this.$store.dispatch('RequirePasswordReset', users)\n\n          applyAction(filtered, requirePasswordResetFn)\n        },\n        approveAccounts: () => {\n          const filtered = this.selectedUsers.filter(user => this.isLocalUser(user) && user.approval_pending)\n          const approveAccountFn = async(users) => await this.$store.dispatch('ApproveUsersAccount', { users })\n\n          applyAction(filtered, approveAccountFn)\n        },\n        confirmAccounts: () => {\n          const filtered = this.selectedUsers.filter(user => this.isLocalUser(user) && !user.is_confirmed)\n          const confirmAccountFn = async(users) => await this.$store.dispatch('ConfirmUsersEmail', { users })\n\n          applyAction(filtered, confirmAccountFn)\n        },\n        resendConfirmation: () => {\n          const filtered = this.selectedUsers.filter(user => this.isLocalUser(user) && !user.is_confirmed)\n          const resendConfirmationFn = async(users) => await this.$store.dispatch('ResendConfirmationEmail', users)\n\n          applyAction(filtered, resendConfirmationFn)\n        }\n      }\n    },\n    enableTagPolicy() {\n      this.$confirm(\n        this.$t('users.confirmEnablingTagPolicy'),\n        {\n          confirmButtonText: 'Yes',\n          cancelButtonText: 'Cancel',\n          type: 'warning'\n        }).then(() => {\n        this.$message({\n          type: 'success',\n          message: this.$t('users.enableTagPolicySuccessMessage')\n        })\n        this.$store.dispatch('EnableTagPolicy')\n      }).catch(() => {\n        this.$message({\n          type: 'info',\n          message: 'Canceled'\n        })\n      })\n    },\n    isLocalUser(user) {\n      return user.nickname && user.local\n    },\n    grantRightToMultipleUsers(right) {\n      const { grantRight } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.grantRightConfirmation', { right }),\n        grantRight(right)\n      )\n    },\n    revokeRightFromMultipleUsers(right) {\n      const { revokeRight } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.revokeRightConfirmation', { right }),\n        revokeRight(right)\n      )\n    },\n    activateMultipleUsers() {\n      const { activate } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.activateMultipleUsersConfirmation'),\n        activate\n      )\n    },\n    deactivateMultipleUsers() {\n      const { deactivate } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.deactivateMultipleUsersConfirmation'),\n        deactivate\n      )\n    },\n    deleteMultipleUsers() {\n      const { remove } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.deleteMultipleUsersConfirmation'),\n        remove\n      )\n    },\n    requirePasswordReset() {\n      const mailerEnabled = this.$store.state.user.nodeInfo.metadata.mailerEnabled\n\n      if (!mailerEnabled) {\n        this.$alert(this.$t('users.mailerMustBeEnabled'), 'Error', { type: 'error' })\n\n        return\n      }\n\n      const { requirePasswordReset } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.requirePasswordResetConfirmation'),\n        requirePasswordReset\n      )\n    },\n    addTagForMultipleUsers(tag) {\n      const { addTag } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.addTagForMultipleUsersConfirmation'),\n        addTag(tag)\n      )\n    },\n    removeTagFromMultipleUsers(tag) {\n      const { removeTag } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.removeTagFromMultipleUsersConfirmation'),\n        removeTag(tag)\n      )\n    },\n    approveAccountsForMultipleUsers() {\n      const { approveAccounts } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.approveAccountsConfirmation'),\n        approveAccounts\n      )\n    },\n    rejectAccountsForMultipleUsers() {\n      const { remove } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.rejectAccountsConfirmation'),\n        remove\n      )\n    },\n    confirmAccountsForMultipleUsers() {\n      const { confirmAccounts } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.confirmAccountsConfirmation'),\n        confirmAccounts\n      )\n    },\n    resendConfirmationForMultipleUsers() {\n      const { resendConfirmation } = this.mappers()\n      this.confirmMessage(\n        this.$t('users.resendEmailConfirmation'),\n        resendConfirmation\n      )\n    },\n    confirmMessage(message, applyAction) {\n      this.$confirm(message, {\n        confirmButtonText: this.$t('users.ok'),\n        cancelButtonText: this.$t('users.cancel'),\n        type: 'warning'\n      }).then(() => {\n        applyAction()\n      }).catch(() => {\n        this.$message({\n          type: 'info',\n          message: this.$t('users.canceled')\n        })\n      })\n    }\n  }\n}\n</script>\n\n<style rel='stylesheet/scss' lang='scss' scoped>\n  .actions-button {\n    text-align: left;\n    width: 350px;\n    padding: 10px;\n  }\n  .actions-button-container {\n    display: flex;\n    justify-content: space-between;\n  }\n  .el-dropdown {\n    float: right;\n  }\n  .el-icon-edit {\n    margin-right: 5px;\n  }\n  .tag-container {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n  }\n  .tag-text {\n    padding-right: 20px;\n  }\n  .no-hover:hover {\n    color: #606266;\n    background-color: white;\n    cursor: auto;\n  }\n</style>\n","import { render, staticRenderFns } from \"./MultipleUsersMenu.vue?vue&type=template&id=4c2a46a6&scoped=true&\"\nimport script from \"./MultipleUsersMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./MultipleUsersMenu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MultipleUsersMenu.vue?vue&type=style&index=0&id=4c2a46a6&rel=stylesheet%2Fscss&lang=scss&scoped=true&\"\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  \"4c2a46a6\",\n  null\n  \n)\n\ncomponent.options.__file = \"MultipleUsersMenu.vue\"\nexport default component.exports"],"sourceRoot":""}