{"version":3,"sources":["webpack:///./src/components/views/Organizations/Strings.js","webpack:///./src/components/views/Organizations/AddKey.vue?0e4b","webpack:///src/components/views/Organizations/AddKey.vue","webpack:///./src/components/views/Organizations/AddKey.vue?4b72","webpack:///./src/components/views/Organizations/AddKey.vue"],"names":["ctx","key","strings","name","user","organization","label","render","_vm","this","_h","$createElement","_c","_self","scopedSlots","_u","fn","staticClass","attrs","bcItems","ref","model","value","callback","$$v","valid","expression","global","rules","requiredField","minLength","updateApiKey","callbackURL","secret","directives","rawName","arg","_v","clientCredentialsGrantType","editLabel","_e","on","createKey","updateKey","close","proxy","staticRenderFns","data","computed","created","$api","getOrganizationAPIKey","callBack","methods","$refs","form","validate","body","createNewOrganizationAPIKey","updateOrganizationAPIKey","handleCopyStatus","alert","component","VBreadcrumbs","VBtn","VCheckbox","VCol","VForm","VIcon","VRow","VTextField"],"mappings":"sIAAe,gBAACA,EAAKC,GACnB,IAAIC,EAAU,CACZ,8CAA0CF,EAAIG,KAA9C,oBACA,qBAAwB,gDACxB,mBAAsB,qBACtB,0EAAsEH,EAAII,KAA1E,8BAAoGJ,EAAIK,aAAxG,KACA,+FAA2FL,EAAII,KAA/F,8BAAyHJ,EAAIK,aAA7H,KACA,uGAAmGL,EAAII,MACvG,6BAAgC,oCAChC,uDAAmDJ,EAAII,KAAvD,wCAA2FJ,EAAIK,cAC/F,0DAAsDL,EAAII,KAA1D,wCAA8FJ,EAAIK,cAClG,yBAA4B,qCAC5B,0BAA6B,kCAC7B,mFAA+EL,EAAIM,MAAnF,8FACA,yEAAqEN,EAAIK,cACzE,+CAA2CL,EAAIK,aAA/C,4BACA,oDAAgDL,EAAIK,cACpD,6DAAyDL,EAAIK,aAA7D,MACA,uFAAmFL,EAAII,KAAvF,MACA,yDAAqDJ,EAAIK,cACzD,oFAAgFL,EAAII,KAApF,8BAA8GJ,EAAIK,aAAlH,MAEF,OAAOH,EAAQD,K,yCCtBjB,IAAIM,EAAS,WAAa,IAAIC,EAAIC,KAASC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C,aAAA","file":"js/chunk-4cecb8c8.5b3b6041.js","sourcesContent":["export default (ctx, key) => {\n let strings = {\n \"duplicate\": `An organization with name ${ctx.name} already exists.`,\n \"something_went_wrong\": \"Something went wrong. Please try again later.\",\n \"invitation_pending\": \"Invitation pending\",\n \"confirm_removing_user_from_organization\": `Please confirm removing ${ctx.user} from organization ${ctx.organization}.`,\n \"confirm_removing_organization_from_organization\": `Please confirm removing organization ${ctx.user} from organization ${ctx.organization}.`,\n \"confirm_removing_organization_invitationn\": `Please confirm removing invitation of organization ${ctx.user}`,\n \"cannot_remove_the_last_owner\": \"You cannot remove the last owner.\",\n \"confirm_make_owner\": `Please confirm to upgrade ${ctx.user} to an owner of organization ${ctx.organization}`,\n \"confirm_make_member\": `Please confirm to downgrade ${ctx.user} to a member of organization ${ctx.organization}`,\n \"successfully_add_api_key\": \"Api key secret has been generated.\",\n \"successfully_copy_api_key\": \"Api key secret has been copied!\",\n \"confirm_deleting_api_key\": `Please confirm to delete the API key with label ${ctx.label} because it might lead to service unavailabilty if this key would still be used somewhere.`,\n \"confirm_leave\": `Are you sure that you want to leave organization ${ctx.organization}`,\n \"leave_error\": `You're the last owner of ${ctx.organization}, Last owner can't leave`,\n \"leave_successfully\": `You successfully leave ${ctx.organization}`,\n \"confirm_delete_org\": `Are you sure you want to delete ${ctx.organization} ?`,\n \"confirm_delete_org_invitations\": `Are you sure you want to cancel invitation to ${ctx.user} ?`,\n \"delete_org_successfully\": `You sucessfully delete ${ctx.organization}`,\n \"confirm_removing_pending_invitation\": `Please confirm removing invitation of ${ctx.user} from organization ${ctx.organization}.`\n }\n return strings[key]\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('page',{scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('SubTopBar'),_c('v-breadcrumbs',{staticClass:\"mt-1\",attrs:{\"items\":_vm.bcItems,\"divider\":\">\",\"large\":\"\"}}),_c('v-form',{ref:\"form\",model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-row',[_c('v-text-field',{attrs:{\"outlined\":\"\",\"dense\":\"\",\"rules\":[_vm.global.rules.requiredField, _vm.global.rules.minLength],\"name\":\"label\",\"label\":\"Label *\",\"disabled\":_vm.updateApiKey},model:{value:(_vm.label),callback:function ($$v) {_vm.label=$$v},expression:\"label\"}})],1),_c('v-row',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"name\":\"url\",\"label\":\"Callback URL\"},model:{value:(_vm.callbackURL),callback:function ($$v) {_vm.callbackURL=$$v},expression:\"callbackURL\"}})],1),_c('v-row',[_c('v-text-field',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"type\":\"password\",\"name\":\"secret\",\"disabled\":\"\",\"label\":\"Secret\"},model:{value:(_vm.secret),callback:function ($$v) {_vm.secret=$$v},expression:\"secret\"}}),_c('v-btn',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.secret),expression:\"secret\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.handleCopyStatus),expression:\"handleCopyStatus\",arg:\"success\"}],attrs:{\"icon\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-content-copy\")])],1)],1),_c('v-row',[_c('v-checkbox',{staticClass:\"mt-n2\",attrs:{\"label\":\"May be used in client credentials grant type\"},model:{value:(_vm.clientCredentialsGrantType),callback:function ($$v) {_vm.clientCredentialsGrantType=$$v},expression:\"clientCredentialsGrantType\"}})],1),_c('v-row',[(!_vm.editLabel)?_c('v-btn',{attrs:{\"disabled\":!_vm.valid,\"color\":\"primary\"},on:{\"click\":_vm.createKey}},[_vm._v(\"Create key\")]):_vm._e(),(_vm.editLabel)?_c('v-btn',{attrs:{\"disabled\":!_vm.valid,\"color\":\"primary\"},on:{\"click\":_vm.updateKey}},[_vm._v(\"Update key\")]):_vm._e(),_c('v-btn',{attrs:{\"depressed\":\"\",\"text\":\"\"},on:{\"click\":_vm.close}},[_vm._v(\"cancel\")])],1)],1)],1)]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./AddKey.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!./AddKey.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddKey.vue?vue&type=template&id=0eb02b54&\"\nimport script from \"./AddKey.vue?vue&type=script&lang=js&\"\nexport * from \"./AddKey.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBreadcrumbs } from 'vuetify/lib/components/VBreadcrumbs';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBreadcrumbs,VBtn,VCheckbox,VCol,VForm,VIcon,VRow,VTextField})\n"],"sourceRoot":""}