{"version":3,"sources":["webpack:///./src/views/funnels/funnel-plus/funnel/automations/automation-v2.vue?8c99","webpack:///./src/views/funnels/funnel-plus/funnel/automations/automation-v2.vue?31b9","webpack:///./src/views/funnels/funnel-plus/funnel/automations/automation-v2.vue","webpack:///src/views/funnels/funnel-plus/funnel/automations/automation-v2.vue","webpack:///./src/views/funnels/funnel-plus/funnel/automations/automation-v2.vue?ab81","webpack:///./src/views/funnels/funnel-plus/funnel/automations/automation-v2.vue?45fd"],"names":["render","_vm","this","_c","_self","staticClass","loading","automation","attrs","require","on","$event","$router","replace","funnelId","automationNameSaved","localName","length","_e","class","inputFocused","directives","name","rawName","value","expression","ref","id","domProps","target","composing","savingActive","saveNameChanges","action_caption","nameClick","_v","_s","theme","load","cloning","clone","is_active","saveChangesToAPI","model","callback","$$v","$set","staticRenderFns","components","VSwitch","VSpinner","Loading","Workflow","VButton","mixins","data","computed","automationId","isFPlus","methods","i","window","component"],"mappings":"kHAAA,W,sFCAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oCAAoC,CAAEJ,EAAIK,QAASH,EAAG,WAAW,CAAEF,EAAIM,WAAYJ,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,WAAW,CAACE,YAAY,cAAcG,MAAM,CAAC,KAAO,GAAG,KAAOC,EAAQ,QAAkC,MAAQ,sBAAsB,KAAO,IAAIC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,QAAQC,QAAS,YAAWZ,EAAIa,4BAA+Bb,EAAIc,qBAAwBd,EAAIe,UAAUC,OAA63BhB,EAAIiB,KAAx3Bf,EAAG,MAAM,CAACE,YAAY,wBAAwBc,MAAM,CAAC,UAAYlB,EAAImB,eAAe,CAACjB,EAAG,QAAQ,CAACkB,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOvB,EAAIe,UAA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A,QAUA,mBAIA,sBACA,cC/ImZ,I,kCCS/YuD,EAAY,eACd,EACA9D,EACA+C,GACA,EACA,KACA,WACA,MAIa,aAAAe,E","file":"js/chunk-74ee19f5.908464c5.js","sourcesContent":["export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./automation-v2.vue?vue&type=style&index=0&id=6b140219&prod&lang=scss&\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./automation-v2.vue?vue&type=style&index=1&id=6b140219&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"automation-v2-page page noscroll\"},[(_vm.loading)?_c('loading'):[(_vm.automation)?_c('div',{staticClass:\"round-header\"},[_c('v-button',{staticClass:\"go_back_btn\",attrs:{\"slim\":\"\",\"icon\":require('@/assets/img/back_bt_arrow.svg'),\"label\":\"Back to automations\",\"flat\":\"\"},on:{\"click\":function($event){return _vm.$router.replace(`/wfunnel/${_vm.funnelId}/automations`)}}}),((!_vm.automationNameSaved || !_vm.localName.length))?_c('div',{staticClass:\"automation-name-group\",class:{'__focused':_vm.inputFocused}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.localName),expression:\"localName\"}],ref:'searchInput'+_vm.id,attrs:{\"type\":\"text\",\"placeholder\":\"Name your automation here\"},domProps:{\"value\":(_vm.localName)},on:{\"focus\":function($event){_vm.inputFocused=true},\"blur\":function($event){_vm.inputFocused=false},\"input\":function($event){if($event.target.composing)return;_vm.localName=$event.target.value}}}),_c('v-button',{staticClass:\"_save-btn\",attrs:{\"slim\":\"\",\"label\":\"Save changes\",\"loading\":_vm.savingActive},on:{\"click\":_vm.saveNameChanges}}),_c('v-button',{staticClass:\"_cancel-btn\",attrs:{\"slim\":\"\",\"border\":\"\",\"label\":\"Cancel\",\"loading\":_vm.savingActive},on:{\"click\":function($event){_vm.localName = _vm.automation.action_caption || '';_vm.automationNameSaved=true}}})],1):_vm._e(),((_vm.automationNameSaved && _vm.localName.length>0))?_c('h3',{staticClass:\"automation-name\",on:{\"click\":function($event){return _vm.nameClick()}}},[_vm._v(\" \"+_vm._s(_vm.localName)+\" \"),_c('inline-svg',{attrs:{\"src\":require('@/assets/img/pencil-outline.svg')}})],1):_vm._e(),_c('div',{staticClass:\"automation-activation-group\"},[_c('v-button',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({theme:'small-black'}),expression:\"{theme:'small-black'}\"}],attrs:{\"slim\":\"\",\"small\":\"\",\"flat\":\"\",\"loading\":_vm.loading,\"content\":\"Reload\",\"icon\":require('@/assets/img/reload.svg')},on:{\"click\":function($event){return _vm.load()}}}),_c('v-button',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({theme:'small-black'}),expression:\"{theme:'small-black'}\"}],attrs:{\"slim\":\"\",\"small\":\"\",\"flat\":\"\",\"loading\":_vm.cloning,\"content\":\"Clone automation\",\"icon\":require('@/assets/img/copy.svg')},on:{\"click\":function($event){return _vm.clone()}}}),_c('v-switch',{attrs:{\"label\":_vm.automation.is_active ? 'Active' : 'Inactive',\"loading\":_vm.savingActive,\"value\":_vm.automation.is_active,\"right\":\"\"},on:{\"change\":_vm.saveChangesToAPI},model:{value:(_vm.automation.is_active),callback:function ($$v) {_vm.$set(_vm.automation, \"is_active\", $$v)},expression:\"automation.is_active\"}})],1)],1):_vm._e(),(_vm.automation)?_c('div',{staticClass:\"__work-area noscroll\"},[_c('workflow',{attrs:{\"automation\":_vm.automation}})],1):_vm._e()]],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\n\t
\n\n\n\n\n\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./automation-v2.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./automation-v2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./automation-v2.vue?vue&type=template&id=6b140219&scoped=true&\"\nimport script from \"./automation-v2.vue?vue&type=script&lang=js&\"\nexport * from \"./automation-v2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./automation-v2.vue?vue&type=style&index=0&id=6b140219&prod&lang=scss&\"\nimport style1 from \"./automation-v2.vue?vue&type=style&index=1&id=6b140219&prod&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 \"6b140219\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}