{"version":3,"sources":["webpack:///./src/views/automations/automation.vue?fbc3","webpack:///./src/views/automations/automation.vue","webpack:///src/views/automations/automation.vue","webpack:///./src/views/automations/automation.vue?5bd6","webpack:///./src/views/automations/automation.vue?200b","webpack:///./src/views/automations/automation.vue?a388"],"names":["render","_vm","this","_c","_self","staticClass","loading","automation","attrs","require","on","$event","$router","replace","automationNameSaved","localName","length","_e","class","inputFocused","directives","name","rawName","value","expression","ref","id","domProps","target","composing","savingActive","saveNameChanges","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","methods","i","window","component"],"mappings":"2IAAA,W,oECAA,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,oBAAsBZ,EAAIa,qBAAwBb,EAAIc,UAAUC,OAAm3Bf,EAAIgB,KAA92Bd,EAAG,MAAM,CAACE,YAAY,wBAAwBa,MAAM,CAAC,UAAYjB,EAAIkB,eAAe,CAAChB,EAAG,QAAQ,CAACiB,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOtB,EAAIc,UAAWS,WAAW,cAAcC,IAAI,cAAcxB,EAAIyB,GAAGlB,MAAM,CAAC,KAAO,OAAO,YAAc,6BAA6BmB,SAAS,CAAC,MAAS1B,EAAIc,WAAYL,GAAG,CAAC,MAAQ,SAASC,GAAQV,EAAIkB,cAAa,GAA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,QAAU,mBAAmB,KAAO5B,EAAQ,SAA0BC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIqC,YAAYnC,EAAG,WAAW,CAACK,MAAM,CAAC,MAAQP,EAAIM,WAAWgC,UAAY,SAAW,WAAW,QAAUtC,EAAI6B,aAAa,MAAQ7B,EAAIM,WAAWgC,UAAU,MAAQ,IAAI7B,GAAG,CAAC,OAAST,EAAIuC,kBAAkBC,MAAM,CAAClB,MAAOtB,EAAIM,WAAWgC,UAAWG,SAAS,SAAUC,GAAM1C,EAAI2C,KAAK3C,EAAIM,WAAY,YAAaoC,IAAMnB,WAAW,2BAA2B,IAAI,GAAGvB,EAAIgB,KAAMhB,EAAIM,WAAYJ,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,WAAW,CAACK,MAAM,CAAC,WAAaP,EAAIM,WAAW,YAAY,OAAO,GAAGN,EAAIgB,OAAO,IAEjvF4B,EAAkB,G,wECkDtB,IAAInB,EAAK,EACM,OACfL,yBACAyB,YAAAC,eAAAC,gBAAAC,eAAAC,gBAAAC,gBACAC,gBACAC,OACA,OACA3B,OACAP,gBACAL,uBACAR,WACAwB,gBACAvB,cACA8B,WACAtB,eAGAuC,UACAjC,OACA,iCAEAkC,eACA,yCAGAC,SACAxB,YACA,wCACA,4BACA,oBACA,wCACA,IACAyB,UACAA,eAGA,cACA,IACA,gBACA,6FACA,uBACAC,qCACA,SACA,eANA,QAQA,kBAGA3B,kBACA,oCACA,yBAEA,yBACA,IACA,qBACA,2CAEA,qEAEA,4BACA,SACA,eARA,QAUA,uBAGA,aACA,IACA,gBAEA,wEAEA,wCACA,UANA,QASA,mBAIA,sBACA,cCrImW,I,kCCS/V4B,EAAY,eACd,EACA3D,EACA6C,GACA,EACA,KACA,WACA,MAIa,aAAAc,E,2CCpBf","file":"js/chunk-8238afcc.6a7adc13.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.vue?vue&type=style&index=1&id=6292d493&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(`/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.name || '';_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,\"is-global\":\"\"}})],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.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.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./automation.vue?vue&type=template&id=6292d493&scoped=true&\"\nimport script from \"./automation.vue?vue&type=script&lang=js&\"\nexport * from \"./automation.vue?vue&type=script&lang=js&\"\nimport style0 from \"./automation.vue?vue&type=style&index=0&id=6292d493&prod&lang=scss&\"\nimport style1 from \"./automation.vue?vue&type=style&index=1&id=6292d493&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 \"6292d493\",\n null\n \n)\n\nexport default component.exports","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.vue?vue&type=style&index=0&id=6292d493&prod&lang=scss&\""],"sourceRoot":""}