move to 2.5.5
[anni] / priv / static / adminfe1 / static / js / chunk-59e6.01e205d8.js.map
1 {"version":3,"sources":["webpack:///./src/views/users/components/MultipleUsersMenu.vue?6bea","webpack:///./src/views/users/components/MultipleUsersMenu.vue?2803","webpack:///./src/views/users/components/MultipleUsersMenu.vue?56ef","webpack:///src/views/users/components/MultipleUsersMenu.vue","webpack:///./src/views/users/components/MultipleUsersMenu.vue","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":["_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_614822e8_rel_stylesheet_2Fscss_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","n","components_MultipleUsersMenuvue_type_script_lang_js_","props","selectedUsers","type","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","addRightFn","_ref2","_callee2","_context2","dispatch","right","abrupt","sent","_x3","filtered","filter","user","isLocalUser","roles","id","revokeRight","deleteRightFn","_ref3","_callee3","_context3","_x4","activate","nickname","is_active","_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","is_approved","_ref11","_callee11","_context11","_x11","confirmAccounts","is_confirmed","_ref12","_callee12","_context12","_x12","resendConfirmation","_ref13","_callee13","_context13","_x13","isPrivileged","accepted_privileges","accepted_roles","user_privileges","getters","privileges","user_roles","some","privilege","indexOf","role","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","staticClass","attrs","size","trigger","placement","_v","_s","_e","slot","nativeOn","click","$event","divided","options","__file","__webpack_exports__","components_RebootButtonvue_type_script_lang_js_","name","needReboot","restartApp","t0","content","on"],"mappings":"sGAAA,IAAAA,EAAAC,EAAA,QAAAA,EAAAC,EAAAF,GAA6gB,4DCA7gB,8CCA4NG,GC2K5NC,OACAC,eACAC,WACAC,mBACA,YAIAC,UACAC,UADA,WAEA,kBAAAC,KAAAC,OAAAC,MAAAC,IAAAC,QAEAC,6BAJA,WAKA,OAAAL,KAAAM,OAAAX,cAAAY,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,KADA,OAEAR,EAAAa,MAAA,gBAFA,wBAAAH,EAAAI,SAAAP,MAAA,gBAAAQ,EAAAC,GAAA,OAAAd,EAAAe,MAAA/B,KAAAgC,YAAA,GAIA,O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EAAAY,UGYr2R,EACA,KACA,WACA,MAIAf,EAAAqB,QAAAC,OAAA,wBACeC,EAAA,EAAAvB,6CCpBf,0DCA0MwB,GCe1MC,oBACA9K,UACA+K,WADA,WAEA,OAAA7K,KAAAC,OAAAC,MAAAC,IAAA0K,aAGAjK,SACAkK,WADA,WACA,IAAAhK,EAAAd,KAAA,OAAAiB,IAAAC,EAAAC,EAAAC,KAAA,SAAAC,IAAA,OAAAH,EAAAC,EAAAI,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAC,KAAA,EAAAD,EAAAE,KAAA,EAEAZ,EAAAb,OAAAqC,SAAA,sBAFA,OAAAd,EAAAE,KAAA,sBAAAF,EAAAC,KAAA,EAAAD,EAAAuJ,GAAAvJ,EAAA,SAAAA,EAAAgB,OAAA,iBAMA1B,EAAAgH,UACAlI,eACAmI,2CARA,wBAAAvG,EAAAI,SAAAP,EAAA,gBAAAJ,kBCfAkI,EAAgBC,OAAAC,EAAA,EAAAD,CACduB,EHRF,WAA0B,IAAapB,EAAbvJ,KAAawJ,eAA0BC,EAAvCzJ,KAAuC0J,MAAAD,IAAAF,EAAwB,OAA/DvJ,KAA+D,WAAAyJ,EAAA,cAAyCG,OAAOoB,QAA/GhL,KAA+G0H,GAAA,uBAAAqC,UAAA,gBAAkEN,EAAA,aAAkBE,YAAA,gBAAAC,OAAmChK,KAAA,WAAiBqL,IAAKZ,MAA5PrK,KAA4P8K,cAAwBrB,EAAA,QAAAA,EAAA,KAAqBE,YAAA,oBAAzS3J,KAAuUgK,GAAA,WAAvUhK,KAAuUiK,GAAvUjK,KAAuU0H,GAAA,8CAAvU1H,KAAuUkK,UGWjW,EACA,KACA,KACA,MAIAf,EAAAqB,QAAAC,OAAA,YACeC,EAAA,EAAAvB","file":"static/js/chunk-59e6.01e205d8.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=614822e8&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=614822e8&rel=stylesheet%2Fscss&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isPrivileged(['users_manage_invites', 'users_delete', 'users_manage_activation_state', 'users_manage_tags'], ['admin']))?_c('el-dropdown',{staticClass:\"multiple-users-menu\",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\"},[(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{staticClass:\"grant-right-to-multiple-users\",nativeOn:{\"click\":function($event){return _vm.grantRightToMultipleUsers('admin')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.grantAdmin'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.revokeRightFromMultipleUsers('admin')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.revokeAdmin'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.grantRightToMultipleUsers('moderator')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.grantModerator'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.revokeRightFromMultipleUsers('moderator')}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.revokeModerator'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_invites'], []))?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.approveAccountsForMultipleUsers.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.approveAccounts'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_delete'], []))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.rejectAccountsForMultipleUsers.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.rejectAccounts'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.confirmAccountsForMultipleUsers.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.confirmAccounts'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.resendConfirmationForMultipleUsers.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.resendConfirmation'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_activation_state'], []))?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.activateMultipleUsers.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.activateAccounts'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_manage_activation_state'], []))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.deactivateMultipleUsers.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.deactivateAccounts'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged(['users_delete'], []))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.deleteMultipleUsers.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.deleteAccounts'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.isPrivileged([], ['admin']))?_c('el-dropdown-item',{nativeOn:{\"click\":function($event){return _vm.requirePasswordReset.apply(null, arguments)}}},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.requirePasswordReset'))+\"\\n    \")]):_vm._e(),_vm._v(\" \"),(_vm.tagPolicyEnabled && _vm.isPrivileged(['users_manage_tags'], []))?_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 && _vm.isPrivileged(['users_manage_tags'], []))?_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 && _vm.isPrivileged(['users_manage_tags'], []))?_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 && _vm.isPrivileged(['users_manage_tags'], []))?_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 && _vm.isPrivileged(['users_manage_tags'], []))?_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 && _vm.isPrivileged(['users_manage_tags'], []))?_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 && _vm.isPrivileged([], ['admin']) && _vm.isPrivileged(['users_manage_tags'], []))?_c('el-dropdown-item',{attrs:{\"divided\":\"\"},nativeOn:{\"click\":function($event){return _vm.enableTagPolicy.apply(null, arguments)}}},[_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',{staticClass:\"select-users\"},[_vm._v(\"\\n      \"+_vm._s(_vm.$t('users.selectUsers'))+\"\\n    \")])],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!./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 v-if=\"isPrivileged(['users_manage_invites', 'users_delete', 'users_manage_activation_state', 'users_manage_tags'], ['admin'])\" size=\"small\" trigger=\"click\" placement=\"bottom-start\" class=\"multiple-users-menu\" >\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        v-if=\"isPrivileged([], ['admin'])\"\n        class=\"grant-right-to-multiple-users\"\n        @click.native=\"grantRightToMultipleUsers('admin')\">\n        {{ $t('users.grantAdmin') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged([], ['admin'])\"\n        @click.native=\"revokeRightFromMultipleUsers('admin')\">\n        {{ $t('users.revokeAdmin') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged([], ['admin'])\"\n        @click.native=\"grantRightToMultipleUsers('moderator')\">\n        {{ $t('users.grantModerator') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged([], ['admin'])\"\n        @click.native=\"revokeRightFromMultipleUsers('moderator')\">\n        {{ $t('users.revokeModerator') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged(['users_manage_invites'], [])\"\n        divided\n        @click.native=\"approveAccountsForMultipleUsers\">\n        {{ $t('users.approveAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged(['users_delete'], [])\"\n        @click.native=\"rejectAccountsForMultipleUsers\">\n        {{ $t('users.rejectAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged([], ['admin'])\"\n        divided\n        @click.native=\"confirmAccountsForMultipleUsers\">\n        {{ $t('users.confirmAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged([], ['admin'])\"\n        @click.native=\"resendConfirmationForMultipleUsers\">\n        {{ $t('users.resendConfirmation') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged(['users_manage_activation_state'], [])\"\n        divided\n        @click.native=\"activateMultipleUsers\">\n        {{ $t('users.activateAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged(['users_manage_activation_state'], [])\"\n        @click.native=\"deactivateMultipleUsers\">\n        {{ $t('users.deactivateAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged(['users_delete'], [])\"\n        @click.native=\"deleteMultipleUsers\">\n        {{ $t('users.deleteAccounts') }}\n      </el-dropdown-item>\n      <el-dropdown-item\n        v-if=\"isPrivileged([], ['admin'])\"\n        @click.native=\"requirePasswordReset\">\n        {{ $t('users.requirePasswordReset') }}\n      </el-dropdown-item>\n      <el-dropdown-item v-if=\"tagPolicyEnabled && isPrivileged(['users_manage_tags'], [])\" 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 && isPrivileged(['users_manage_tags'], [])\" 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 && isPrivileged(['users_manage_tags'], [])\" 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 && isPrivileged(['users_manage_tags'], [])\" 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 && isPrivileged(['users_manage_tags'], [])\" 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 && isPrivileged(['users_manage_tags'], [])\" 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 && isPrivileged([], ['admin']) && isPrivileged(['users_manage_tags'], [])\"\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 class=\"select-users\">\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.is_active && 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.is_active && 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.is_approved)\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    isPrivileged(accepted_privileges, accepted_roles) {\n      const user_privileges = this.$store.getters.privileges\n      const user_roles = this.$store.getters.roles\n      return accepted_privileges.some(privilege => user_privileges.indexOf(privilege) >= 0) || accepted_roles.some(role => user_roles.indexOf(role) >= 0)\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=614822e8&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=614822e8&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  \"614822e8\",\n  null\n  \n)\n\ncomponent.options.__file = \"MultipleUsersMenu.vue\"\nexport default component.exports","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":""}