{"version":3,"sources":["webpack:///./src/screens/private/bot-detailed/entities/entities.vue?c905","webpack:///./src/screens/private/bot-detailed/entities/entities.js","webpack:///./src/screens/private/bot-detailed/entities/entities.js?0d8a","webpack:///./src/screens/private/bot-detailed/entities/entities.vue","webpack:///./src/screens/private/bot-detailed/entities/entities.vue?bd94"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","managerDeleteEntity","attrs","getterSelectedBot","botColor","on","event","_e","managerNewEntity","value","getAllByIdBot","Object","keys","getterSelectedEntity","length","$t","class","processing","isTimeOut","$event","setToDefault","isEditingEntity","isLoading","e","stopPropagation","directives","name","rawName","entityTitle","expression","modifiers","domProps","editEntity","target","composing","trim","$forceUpdate","_v","_s","typeName","isLoadingScreen","enableToEdit","content","offset","creationDate","staticRenderFns","data","showSelectedEntity","components","NewEntity","DeleteEntity","EmptyView","EntityDrawer","CrudButtons","SvgLoader","Loading","SimpleEntity","computed","mapGetters","newDate","split","moment","format","$getterFormatDate","watch","mounted","$route","$router","push","SET_SELECTED_ENTITY","methods","mapActions","addToast","ADD_TOAST_MESSAGE","mapMutations","element","document","querySelector","setTimeout","click","keyCode","button","text","type","bot","idBotVersion","botVersions","idBot","EntitiesTypes","COMPOSED","HIERARCHICAL","idsOfChildsEntity","children","forEach","childs","concat","id","entity","executeAction","actionEditEntity","actionToEdit","params","then","catch","err","status","dismissAfter","callback","SIMPLE","idEntity","actionGetAllExpressionsByIdEntity","component"],"mappings":"mHAAA,IAAIA,EAAS,WACX,IAAIC,EAAIC,KACJC,EAAGF,EAAIG,eACPC,EAAGJ,EAAIK,MAAMD,IAAIF,EAErB,OAAOE,EAAG,UAAW,CACnBE,YAAa,+BACZ,CAACN,EAAIO,oBAAsBH,EAAG,eAAgB,CAC/CI,MAAO,CACL,YAAaR,EAAIS,kBAAkBC,UAErCC,GAAI,CACF,SAAY,SAAkBC,GAC5B,OAAOZ,EAAIO,oBAAsBK,MAGlCZ,EAAIa,KAAMT,EAAG,eAAgB,CAChCI,M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AMA,EAAS,iCACVtG,KAAKkB,sBADE,IAEVa,KAAM/B,KAAKiC,cAGbjC,KAAKuG,cAAcvG,KAAKwG,iBAAkB,CAAEf,MAAKa,cAIvDC,cAtEO,SAsEQE,EAAcC,GAAQ,WACnC,OAAOD,EAAaC,GACjBC,MAAK,WACJ,EAAKhF,WAAY,EACjB,EAAKD,iBAAkB,KAExBkF,OAAM,SAAAC,GACc,MAAfA,EAAIC,QACN,EAAKjC,SAAS,CACZU,KAAM,EAAKnE,GAAG,8BACdoE,KAAM,UACNuB,aAAc,MAIlB,EAAKpF,WAAY,EACjB,EAAKD,iBAAkB,MAG7BX,cAzFO,SAyFQiG,GAAU,WACvB,GAAIA,IAAahH,KAAKkB,qBAAqBsE,OAASK,OAAcoB,QAAUjH,KAAKkB,qBAAqBsE,OAASK,OAAcC,UAAY9F,KAAKkB,qBAAqBsE,OAASK,OAAcE,cAAe,CACvM/F,KAAK6C,iBAAkB,EAEvB,IAAMM,EAAO,CACXuC,aAAc1F,KAAKQ,kBAAkBmF,YAAY,GAAGD,aACpDwB,SAAUlH,KAAKkB,qBAAqBmF,IAGtCrG,KAAKmH,kCAAkChE,GACpCwD,MAAK,WACJ,EAAK9D,gBAAkB,EAAKnB,iBAAkB,KAC7CkF,OAAM,WACP,EAAK/B,SAAS,CACZU,KAAM,EAAKnE,GAAG,yCACdoE,KAAM,WAGR,EAAK3C,iBAAkB,UCzKsT,I,wBCQrVuE,EAAY,eACd,EACAtH,EACAoD,GACA,EACA,KACA,KACA,MAIa,aAAAkE,E,2CCnBf,W","file":"js/entities.3393fac1.js","sourcesContent":["var render = function () {\n var _vm=this;\n var _h=_vm.$createElement;\n var _c=_vm._self._c||_h;\n\n return _c('section', {\n staticClass: \"page-entities internal-page\"\n }, [_vm.managerDeleteEntity ? _c('deleteEntity', {\n attrs: {\n \"bot-color\": _vm.getterSelectedBot.botColor\n },\n on: {\n \"callback\": function callback(event) {\n return _vm.managerDeleteEntity = event;\n }\n }\n }) : _vm._e(), _c('entityDrawer', {\n attrs: {\n \"bot-color\": _vm.getterSelectedBot.botColor\n },\n on: {\n \"toNewEntity\": function toNewEntity(event) {\n return _vm.managerNewEntity = event;\n },\n \"callback\": function callback(value) {\n return _vm.getAllByIdBot(value);\n }\n }\n }), _vm.managerNewEntity ? _c('newEntity', {\n attrs: {\n \"bot-color\": _vm.getterSelectedBot.botColor\n },\n on: {\n \"callback\": function callback(event) {\n return _vm.managerNewEntity = event;\n }\n }\n }) : _vm._e(), _c('div', {\n staticClass: \"container-detailed-content\"\n }, [Object.keys(_vm.getterSelectedEntity).length === 0 ? _c('emptyView', {\n attrs: {\n \"icon-path\": \"/img/icon-entities.svg\",\n \"icon-color\": \"#ff5326\",\n \"title\": _vm.$t('entity.title'),\n \"message\": _vm.$t('entity.message')\n }\n }) : _vm._e(), Object.keys(_vm.getterSelectedEntity).length > 0 && Object.keys(_vm.getterSelectedEntity).length > 0 ? _c('section', {\n staticClass: \"is-selected-item\",\n class: {\n 'processing': _vm.getterSelectedEntity.processing,\n 'isTimeOut': _vm.getterSelectedEntity.isTimeOut\n },\n on: {\n \"click\": function click($event) {\n return _vm.setToDefault();\n }\n }\n }, [Object.keys(_vm.getterSelectedEntity).length > 0 ? _c('div', {\n staticClass: \"container-box container-content-entity-detailed common-space\"\n }, [_c('div', {\n staticClass: \"container-content-title-entity\"\n }, [_c('div', {\n staticClass: \"wrapper-title\",\n class: {\n 'isEditing': _vm.isEditingEntity,\n 'isLoading': _vm.isLoading\n },\n on: {\n \"click\": function click(e) {\n e.stopPropagation();\n }\n }\n }, [_vm.isLoading && !_vm.getterSelectedEntity.processing ? _c('loading') : _vm._e(), _c('div', {\n staticClass: \"container-title\"\n }, [_c('label', {\n staticClass: \"entityTitle\",\n attrs: {\n \"for\": \"entityTitle\"\n }\n }), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model.trim\",\n value: _vm.entityTitle,\n expression: \"entityTitle\",\n modifiers: {\n \"trim\": true\n }\n }, {\n name: \"remove-extra-white-spaces\",\n rawName: \"v-remove-extra-white-spaces\"\n }],\n staticClass: \"search-with-animation\",\n attrs: {\n \"id\": \"entityTitle\",\n \"type\": \"text\",\n \"name\": \"entityTitle\",\n \"maxlength\": \"50\"\n },\n domProps: {\n \"value\": _vm.entityTitle\n },\n on: {\n \"keyup\": function keyup($event) {\n return _vm.editEntity($event);\n },\n \"input\": function input($event) {\n if ($event.target.composing) { return; }\n _vm.entityTitle = $event.target.value.trim();\n },\n \"blur\": function blur($event) {\n return _vm.$forceUpdate();\n }\n }\n }), _c('h6', [_vm._v(_vm._s(_vm.getterSelectedEntity.name))])]), _vm.getterSelectedEntity.typeName !== 'Prebuilt' ? _c('section', {\n staticClass: \"header-actions\",\n class: {\n 'disabled': _vm.isLoadingScreen\n }\n }, [_c('crudButtons', {\n attrs: {\n \"toogle-is-editing\": function toogleIsEditing() {\n return _vm.enableToEdit();\n },\n \"is-editing\": _vm.isEditingEntity,\n \"to-edit\": function toEdit(e) {\n return _vm.editEntity(e);\n },\n \"to-delete\": function toDelete() {\n return _vm.managerDeleteEntity = true;\n },\n \"disable-edit\": _vm.isLoading\n }\n }, [_c('button', {\n directives: [{\n name: \"tooltip\",\n rawName: \"v-tooltip.auto\",\n value: {\n content: _vm.$t('entity.tooltip.useButton'),\n offset: 10\n },\n expression: \"{ content: $t('entity.tooltip.useButton'), offset: 10 }\",\n modifiers: {\n \"auto\": true\n }\n }],\n staticClass: \"btn-question\"\n }, [_c('svgLoader', {\n attrs: {\n \"src\": \"/img/icon-question.svg\",\n \"color\": \"#fff\"\n }\n })], 1)])], 1) : _vm._e()], 1), _c('ul', {\n staticClass: \"entity-info\"\n }, [_c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('entity.type')))]), _c('strong', [_vm._v(_vm._s(_vm.getterSelectedEntity.typeName))]), _c('button', {\n directives: [{\n name: \"tooltip\",\n rawName: \"v-tooltip.auto\",\n value: {\n content: _vm.$t('entity.tooltip.typeEntity'),\n offset: 10\n },\n expression: \"{ content: $t('entity.tooltip.typeEntity'), offset: 10 }\",\n modifiers: {\n \"auto\": true\n }\n }],\n staticClass: \"btn-question\"\n }, [_c('svgLoader', {\n attrs: {\n \"src\": \"/img/icon-question.svg\",\n \"color\": \"#fff\"\n }\n })], 1)]), _c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('entity.dateCreate')))]), _c('strong', [_vm._v(_vm._s(_vm.creationDate))])])])]), _c('div', {\n staticClass: \"container-content-entity\"\n }, [_vm.isLoadingScreen || _vm.getterSelectedEntity.processing ? _c('loading') : _vm._e(), !_vm.isLoadingScreen ? _c('router-view') : _vm._e()], 1)]) : _vm._e()]) : _vm._e()], 1)], 1);\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions, mapMutations } from 'vuex'\nimport { ADD_TOAST_MESSAGE } from 'vuex-toast'\nimport moment from 'moment'\nimport { EntitiesTypes } from '@/helper/entityType'\n\nimport {\n NewEntity,\n DeleteEntity,\n EmptyView,\n EntityDrawer,\n CrudButtons,\n SvgLoader,\n Loading,\n SimpleEntity\n} from '@/components'\n\nexport default {\n data () {\n return {\n entityTitle: '',\n managerDeleteEntity: false,\n managerNewEntity: false,\n showSelectedEntity: false,\n isEditingEntity: false,\n isLoading: false,\n isLoadingScreen: false\n }\n },\n components: {\n NewEntity,\n DeleteEntity,\n EmptyView,\n EntityDrawer,\n CrudButtons,\n SvgLoader,\n Loading,\n SimpleEntity\n },\n computed: {\n ...mapGetters([\n 'getterSelectedBot',\n 'getterSelectedEntity',\n '$getterFormatDate'\n ]),\n creationDate () {\n const newDate = this.getterSelectedEntity.creationDate ? this.getterSelectedEntity.creationDate.split('/') : '-'\n return newDate.length > 1 ? moment(`${newDate[2]}-${newDate[1]}-${newDate[0]}`).format(this.$getterFormatDate) : '-'\n }\n },\n watch: {\n getterSelectedEntity () {\n this.isEditingEntity = false\n }\n },\n mounted () {\n if (this.$route.name !== 'Entities') {\n this.$router.push({ name: 'Entities' })\n }\n\n this.SET_SELECTED_ENTITY()\n this.getAllByIdBot(true)\n },\n methods: {\n ...mapActions([\n 'actionEditEntity',\n 'actionGetAllExpressionsByIdEntity'\n ]),\n ...mapActions({\n addToast: ADD_TOAST_MESSAGE\n }),\n ...mapMutations([\n 'SET_SELECTED_ENTITY'\n ]),\n setToDefault () {\n this.isLoading = false\n this.isEditingEntity = false\n },\n enableToEdit () {\n const element = document.querySelector('.entityTitle')\n\n setTimeout(() => {\n element.click()\n }, 250)\n\n this.entityTitle = this.getterSelectedEntity.name\n this.isEditingEntity = true\n },\n editEntity (e) {\n if (e.keyCode === 27) {\n this.isEditingEntity = false\n }\n\n if (e.keyCode === 13 || e.button === 0) {\n if (!this.entityTitle) {\n this.addToast({\n text: this.$t('entity.toast.invalidEntityName'),\n type: 'warning'\n })\n return\n }\n\n this.isLoading = true\n\n const bot = {\n idBotVersion: this.getterSelectedBot.botVersions[0].idBotVersion,\n idBot: this.getterSelectedBot.idBot\n }\n\n if (this.getterSelectedEntity.type === EntitiesTypes.COMPOSED || this.getterSelectedEntity.type === EntitiesTypes.HIERARCHICAL) {\n let idsOfChildsEntity = []\n\n this.getterSelectedEntity.children.forEach(childs => {\n idsOfChildsEntity = idsOfChildsEntity.concat({ id: childs.id })\n })\n\n const entity = {\n ...this.getterSelectedEntity,\n children: idsOfChildsEntity,\n name: this.entityTitle\n }\n\n this.executeAction(this.actionEditEntity, { bot, entity })\n } else {\n const entity = {\n ...this.getterSelectedEntity,\n name: this.entityTitle\n }\n\n this.executeAction(this.actionEditEntity, { bot, entity })\n }\n }\n },\n executeAction (actionToEdit, params) {\n return actionToEdit(params)\n .then(() => {\n this.isLoading = false\n this.isEditingEntity = false\n })\n .catch(err => {\n if (err.status === 400) {\n this.addToast({\n text: this.$t('entity.toast.isNotPossible'),\n type: 'warning',\n dismissAfter: 5000\n })\n }\n\n this.isLoading = false\n this.isEditingEntity = false\n })\n },\n getAllByIdBot (callback) {\n if (callback && (this.getterSelectedEntity.type === EntitiesTypes.SIMPLE || this.getterSelectedEntity.type === EntitiesTypes.COMPOSED || this.getterSelectedEntity.type === EntitiesTypes.HIERARCHICAL)) {\n this.isLoadingScreen = true\n\n const data = {\n idBotVersion: this.getterSelectedBot.botVersions[0].idBotVersion,\n idEntity: this.getterSelectedEntity.id\n }\n\n this.actionGetAllExpressionsByIdEntity(data)\n .then(() => {\n this.isLoadingScreen = this.isEditingEntity = false\n }).catch(() => {\n this.addToast({\n text: this.$t('entity.toast.errorFetchingExpressions'),\n type: 'danger'\n })\n\n this.isLoadingScreen = false\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/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js??ref--14-0!./entities.js?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/@vue/cli-plugin-eslint/node_modules/eslint-loader/index.js??ref--14-0!./entities.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./entities.vue?vue&type=template&id=b4020c2a&lang=html&\"\nimport script from \"./entities.js?vue&type=script&lang=js&\"\nexport * from \"./entities.js?vue&type=script&lang=js&\"\nimport style0 from \"./entities.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/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/@vue/cli-service/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!./entities.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}