{"version":3,"sources":["webpack:///./src/views/users/components/UserMenu.vue?788a","webpack:///src/views/users/components/UserMenu.vue","webpack:///./src/views/users/components/UserMenu.vue?e4da","webpack:///./src/views/users/components/UserMenu.vue","webpack:///./src/views/users/components/UserMenu.vue?38e8"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","staticStyle","on","$event","$router","push","name","query","user_id","userData","id","_v","loginAs","blocked","activeUserInfo","openBlockConfirmation","_e","migratePopup","show","hideMigrateUserDataPopup","migrateUserData","slot","_s","content","responsePopupData","showBlockConfirmationPopup","confirmationPopupBody","userToBeBlocked","block","unblock","staticRenderFns","props","type","Object","required","default","data","computed","$store","getters","watch","newVal","beforeMount","userName","userId","methods","showMigrateUserDataPopup","user","successToggleBlock","body","failToggleBlock","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,cAAc,CAACE,YAAY,2CAA2CC,MAAM,CAAC,oBAAoB,GAAG,mBAAmB,KAAK,CAACH,EAAG,UAAU,CAACE,YAAY,aAAaC,MAAM,CAAC,YAAY,UAAU,KAAO,kBAAkBH,EAAG,mBAAmB,CAACE,YAAY,sBAAsB,CAACF,EAAG,KAAK,CAACI,YAAY,CAAC,YAAY,UAAU,CAACJ,EAAG,KAAK,CAACE,YAAY,mEAAmEC,MAAM,CAAC,GAAK,oCAAoCE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,QAAQC,KAAK,CAAEC,KAAM,WAAYC,MAAO,CAACC,QAASf,EAAIgB,SAASC,SAAU,CAACb,EAAG,UAAU,CAACG,MAAM,CAAC,YAAY,UAAU,KAAO,cAAc,WAAa,aAAaH,EAAG,OAAO,CAACE,YAAY,QAAQ,CAACN,EAAIkB,GAAG,oBAAoB,GAAGd,EAAG,KAAK,CAACE,YAAY,mEAAmEC,MAAM,CAAC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AWA,gCAXA,yGAgBI1B,yBAhBJ,WAiBMzB,KAAKuB,aAAe,CAClBC,MAAM,EACNyB,SAAU,GACVC,OAAQ,GACRrB,QAAS,qDAIbuB,yBAzBJ,SAyBA,GACMpD,KAAKuB,aAAe,CAClBC,MAAM,EACNyB,SAAUlC,EAASH,KACnBsC,OAAQnC,EAASC,GACjBa,QAAS,qDAIb,QAlCJ,oEAkCA,GAlCA,uGAmCA,qCACA,UACA,0EArCA,OAmCA,EAnCA,OAwCA,yEACA,4EAEA,yBA3CA,yGA8CIR,sBA9CJ,SA8CA,GACMrB,KAAKiC,gBAAkBoB,EACvBrD,KAAK+B,4BAA6B,GAGpC,MAnDJ,0JAqDA,qBArDA,0EA0DA,sEA1DA,OA2DA,gCACA,mCACA,0BA7DA,qDA+DA,uBA/DA,kHAoEI,QApEJ,0JAqEA,qBArEA,0EA0EA,wEA1EA,OA2EA,gCACA,mCACA,0BA7EA,qDA+EA,uBA/EA,kHAoFIuB,mBApFJ,WAqFWtD,KAAKiC,kBAIVjC,KAAK8B,kBAAkBN,MAAO,EAC9BxB,KAAK8B,kBAAkBQ,KAAO,UAC9BtC,KAAK8B,kBAAkByB,KAAO,yBAApC,mGAGIC,gBA9FJ,WA+FMxD,KAAK8B,kBAAkBN,MAAO,EAC9BxB,KAAK8B,kBAAkBQ,KAAO,QAC9BtC,KAAK8B,kBAAkByB,KAAO,4BCnO4U,I,wBCQ5WE,EAAY,eACd,EACA3D,EACAsC,GACA,EACA,KACA,KACA,MAIa,aAAAqB,E,oECnBf","file":"js/chunk-5e2cdeca.ea5c2790.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vs-dropdown',{staticClass:\"users-actions-drop-down options-dropdown\",attrs:{\"vs-custom-content\":\"\",\"vs-trigger-click\":\"\"}},[_c('vs-icon',{staticClass:\"adset-icon\",attrs:{\"icon-pack\":\"speakol\",\"icon\":\"speakol-dots\"}}),_c('vs-dropdown-menu',{staticClass:\"vx-navbar-dropdown\"},[_c('ul',{staticStyle:{\"min-width\":\"11rem\"}},[_c('li',{staticClass:\"flex py-2 px-4 cursor-pointer hover:bg-gray-200 hover:text-black\",attrs:{\"id\":\"users-table-view-accounts-button\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'accounts', query: {user_id: _vm.userData.id} })}}},[_c('vs-icon',{attrs:{\"icon-pack\":\"speakol\",\"icon\":\"speakol-eye\",\"svgClasses\":\"w-5 h-5\"}}),_c('span',{staticClass:\"ml-2\"},[_vm._v(\"View Accounts\")])],1),_c('li',{staticClass:\"flex py-2 px-4 cursor-pointer hover:bg-gray-200 hover:text-black\",attrs:{\"id\":\"users-table-login-button\"},on:{\"click\":function($event){return _vm.loginAs(_vm.userData.id)}}},[_c('vs-icon',{attrs:{\"icon-pack\":\"speakol\",\"icon\":\"speakol-login\",\"svgClasses\":\"w-5 h-5\"}}),_c('span',{staticClass:\"ml-2\"},[_vm._v(\"Login\")])],1),(!_vm.userData.blocked && _vm.userData.id != _vm.activeUserInfo.id)?_c('li',{staticClass:\"flex py-2 px-4 cursor-pointer hover:bg-gray-200 hover:text-red-700\",attrs:{\"id\":\"users-table-block-button\",\"color\":\"danger\"},on:{\"click\":function($event){return _vm.openBlockConfirmation(_vm.userData)}}},[_c('vs-icon',{attrs:{\"color\":\"var(--danger)\",\"icon-pack\":\"speakol\",\"icon\":\"speakol-unverify\",\"svgClasses\":\"w-5 h-5\"}}),_c('span',{staticClass:\"ml-2 text-red-700\"},[_vm._v(\"Block\")])],1):(_vm.userData.blocked && _vm.userData.id != _vm.activeUserInfo.id)?_c('li',{staticClass:\"flex py-2 px-4 cursor-pointer hover:bg-gray-200 hover:text-red-700\",attrs:{\"id\":\"users-table-unblock-button\"},on:{\"click\":function($event){return _vm.openBlockConfirmation(_vm.userData)}}},[_c('vs-icon',{attrs:{\"icon-pack\":\"speakol\",\"icon\":\"speakol-edit\",\"svgClasses\":\"w-5 h-5\"}}),_c('span',{staticClass:\"ml-2 text-red-700\"},[_vm._v(\"Unblock\")])],1):_vm._e()])])],1),_c('div',[_c('speakol-confirmation-popup',{attrs:{\"showConfirmationPopup\":_vm.migratePopup.show,\"title\":(\"Migrate User (\" + (_vm.userData.name || '') + \")\"),\"confirmationText\":\"Start Migrating\",\"cancelText\":\"Cancel\"},on:{\"hide-confirmation-popup\":_vm.hideMigrateUserDataPopup,\"confirm\":function($event){return _vm.migrateUserData(_vm.userData.id || '')}}},[_c('template',{slot:\"body\"},[_vm._v(\"\\n \"+_vm._s(_vm.migratePopup.content)+\"\\n \")])],2),_c('speakol-response-popup',{attrs:{\"responsePopupData\":_vm.responsePopupData},on:{\"hide-response-popup\":function($event){_vm.responsePopupData.show = false}}}),_c('speakol-confirmation-popup',{attrs:{\"showConfirmationPopup\":_vm.showBlockConfirmationPopup,\"title\":'Confirmation',\"body\":_vm.confirmationPopupBody},on:{\"hide-confirmation-popup\":function($event){_vm.showBlockConfirmationPopup = false},\"confirm\":function($event){_vm.userToBeBlocked && !_vm.userToBeBlocked.blocked ? _vm.block() : _vm.unblock()}}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserMenu.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserMenu.vue?vue&type=template&id=5f578ed2&\"\nimport script from \"./UserMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./UserMenu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./UserMenu.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserMenu.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}