{"version":3,"sources":["webpack:///./src/components/modals/GenerateWebhook.vue?a5cd","webpack:///src/components/modals/GenerateWebhook.vue","webpack:///./src/components/modals/GenerateWebhook.vue?5e34","webpack:///./src/components/modals/GenerateWebhook.vue?aa79","webpack:///./src/components/modals/GenerateWebhook.vue?97c1"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","id","_v","_s","isFixedConnector","$t","on","submit","$event","stopPropagation","preventDefault","to","nativeOn","click","$emit","onCreateNewKey","newKey","ref","inputType","name","label","placeholder","focusInputField","optionBtn","btnVisible","btnText","btnPadding","option-btn-clicked","toggleNewKey","model","value","callback","$$v","newKeyName","expression","apikey","directives","rawName","type","domProps","input","target","composing","webhook","copyToClipboard","_e","disabled","valid","generateWebhook","loading","staticRenderFns","GenerateWebhookvue_type_script_lang_js_","props","publication","data","generated","copied","methods","_this","$nextTick","$refs","newApiInput","focus","_this2","scopes","$store","dispatch","then","JSON","stringify","res","key","generatedHook","_this3","appHelper","setTimeout","computed","state","fixedConnectors","map","c","includes","contentType","components","CustomInput","modals_GenerateWebhookvue_type_script_lang_js_","component","Object","componentNormalizer","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_index_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GenerateWebhook_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_index_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_mod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ACAhF,KAAA8D,QAAA,EACAmB,sBACAF,EAAAjB,QAAA,GACA,OAGAoB,UACAxE,4BACA,OAAAV,KAAAuE,OAAAY,MAAAC,gBAAAC,IAAA,SAAAC,GAAA,OAAAA,EAAAlD,QAAAmD,SAAAvF,KAAA2D,YAAA6B,YAAA/D,OAEAqD,yBACA,UAAA9E,KAAAU,iBACA,wCAAAV,KAAA2D,YAAApD,GAAA,sBAAAP,KAAAyC,OAGA,wCACAzC,KAAA2D,YAAApD,GACA,6CACAP,KAAAyC,QAGAY,iBACA,OAAArD,KAAAsB,OAAAtB,KAAAuC,WAAAvC,KAAAyC,SAGAgD,YACAC,2BCjJwWC,EAAA,0BCQxWC,EAAgBC,OAAAC,EAAA,KAAAD,CACdF,EACA7F,EACA0D,GACF,EACA,KACA,KACA,MAIeuC,EAAA,WAAAH,wECnBf,IAAAI,EAAAC,EAAA,QAAAC,EAAAD,EAAAE,EAAAH,GAA0iBE,EAAG","file":"js/lazy-view-components-modals-GenerateWebhook.15a1c178.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"editor-modal\",attrs:{\"id\":\"generate-webhook\"}},[_c('h2',[_vm._v(_vm._s(_vm.isFixedConnector ? _vm.$t(\"webhook.title-webhook\") : _vm.$t(\"webhook.title-endpoint\")))]),_c('form',{on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"webhook.info1\")))]),_c('router-link',{attrs:{\"to\":\"/settings/api-keys\"},nativeOn:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(_vm._s(_vm.$t(\"webhook.info-link\"))+\" \")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"webhook.info2\")))]),_c('a',{on:{\"click\":_vm.onCreateNewKey}},[_vm._v(_vm._s(_vm.$t(\"webhook.info-link2\")))]),_c('span',[_vm._v(_vm._s(_vm.$t(\"webhook.info3\")))]),(!_vm.newKey)?_c('custom-input',{staticClass:\"api-input\",attrs:{\"inputType\":'text',\"name\":'ApiForHook',\"label\":_vm.$t('data.existing-api-key'),\"placeholder\":_vm.$t('data.api-key'),\"focusInputField\":true,\"optionBtn\":true,\"btnVisible\":true,\"btnText\":_vm.$t('webhook.api-key-btn'),\"btnPadding\":true},on:{\"option-btn-clicked\":_vm.toggleNewKey},model:{value:(_vm.apikey),callback:function ($$v) {_vm.apikey=$$v},expression:\"apikey\"}}):_c('custom-input',{ref:\"newApiInput\",staticClass:\"api-input\",attrs:{\"inputType\":'text',\"name\":'newApiKey',\"label\":_vm.$t('webhook.new-key-label'),\"placeholder\":_vm.$t('webhook.new-key-placeholder'),\"focusInputField\":true,\"optionBtn\":true,\"btnVisible\":true,\"btnText\":_vm.$t('webhook.new-key-btn'),\"btnPadding\":true},on:{\"option-btn-clicked\":_vm.toggleNewKey},model:{value:(_vm.newKeyName),callback:function ($$v) {_vm.newKeyName=$$v},expression:\"newKeyName\"}}),(_vm.generated)?_c('div',{staticClass:\"result\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.webhook),expression:\"webhook\"}],ref:\"copier\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.webhook)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.webhook=$event.target.value}}}),_c('div',{staticClass:\"copy-to-clipboard\",on:{\"click\":function($event){return _vm.copyToClipboard()}}},[_c('i',{staticClass:\"fa-light fa-clipboard\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"webhook.copy-text\")))])]),(_vm.copied)?_c('div',{staticClass:\"copy-message\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"webhook.copy-msg\"))+\"\\n \")]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"footer\"},[_c('button',{staticClass:\"btn btn-md btn-primary\",attrs:{\"disabled\":!_vm.valid,\"type\":\"submit\"},on:{\"click\":function($event){return _vm.generateWebhook()}}},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}]},[_c('i',{staticClass:\"fa-light fa-circle-notch fa-spin\"})]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loading),expression:\"!loading\"}]},[_vm._v(_vm._s(_vm.$t(\"webhook.generate\")))])]),_c('button',{staticClass:\"btn btn-md btn-secondary\",attrs:{\"type\":\"reset\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"template.cr-tp-btn-cancel\"))+\"\\n \")])])],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!./GenerateWebhook.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!./GenerateWebhook.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenerateWebhook.vue?vue&type=template&id=1aabb6f4&\"\nimport script from \"./GenerateWebhook.vue?vue&type=script&lang=js&\"\nexport * from \"./GenerateWebhook.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenerateWebhook.vue?vue&type=style&index=0&lang=less&\"\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","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenerateWebhook.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenerateWebhook.vue?vue&type=style&index=0&lang=less&\""],"sourceRoot":""}