{"version":3,"sources":["webpack:///./src/screens/private/bot-detailed/reports/reports.vue?5b90","webpack:///./src/helper/defaultReports.js","webpack:///./src/components/bot-detailed/reports/popular-categories/popularCategories.vue?c286","webpack:///./src/components/bot-detailed/reports/popular-categories/popularCategories.js","webpack:///./src/components/bot-detailed/reports/popular-categories/popularCategories.js?ee9d","webpack:///./src/components/bot-detailed/reports/popular-categories/popularCategories.vue","webpack:///./src/components/bot-detailed/reports/expressions-assertiveness/expressionsAssertiveness.vue?3d00","webpack:///./src/components/bot-detailed/reports/expressions-assertiveness/expressionsAssertiveness.js","webpack:///./src/components/bot-detailed/reports/expressions-assertiveness/expressionsAssertiveness.js?6af8","webpack:///./src/components/bot-detailed/reports/expressions-assertiveness/expressionsAssertiveness.vue","webpack:///./src/components/bot-detailed/reports/nps-result/npsResult.vue?8dab","webpack:///./src/components/bot-detailed/reports/nps-result/npsResult.js","webpack:///./src/components/bot-detailed/reports/nps-result/npsResult.js?c8e8","webpack:///./src/components/bot-detailed/reports/nps-result/npsResult.vue","webpack:///./src/components/bot-detailed/reports/unknown-expressions/index.vue?6341","webpack:///./src/components/bot-detailed/reports/unknown-expressions/scripts.js","webpack:///./src/components/bot-detailed/reports/unknown-expressions/scripts.js?be54","webpack:///./src/components/bot-detailed/reports/unknown-expressions/index.vue","webpack:///./src/components/bot-detailed/reports/intentions-assertiveness/intentionsAssertiveness.vue?6ea3","webpack:///./src/components/bot-detailed/reports/intentions-assertiveness/intentionsAssertiveness.js","webpack:///./src/components/bot-detailed/reports/intentions-assertiveness/intentionsAssertiveness.js?7bcf","webpack:///./src/components/bot-detailed/reports/intentions-assertiveness/intentionsAssertiveness.vue","webpack:///./src/screens/private/bot-detailed/reports/reports.js","webpack:///./src/screens/private/bot-detailed/reports/reports.js?ca26","webpack:///./src/screens/private/bot-detailed/reports/reports.vue","webpack:///./src/screens/private/bot-detailed/reports/reports.vue?9ed3"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","staticStyle","concat","isSearch","class","_v","_s","$t","on","togleIsSearch","directives","name","rawName","value","search","expression","showDetail","componentSelect","detail","attributeSearch","text","domProps","cleanCloseSearch","$event","type","indexOf","_k","keyCode","key","target","blur","apply","arguments","composing","content","offset","modifiers","comeBack","getterSelectedBot","botColor","style","width","protocol","selectedReport","userName","interactions","listOfProtocols","selectedProtocol","isLoadingProtocolListSelectMenu","getConversationInteraction","searchString","getConversationsProtocols","_e","filter","translateReport","reports","id","isLoading","getReport","isNotDate","disableDatePicker","currentReportPeriod","date","getReportUsingProtocol","clearProtocol","nameFilter","sizeFilter","translateFilter","getFilter","reportSelected","styleToPrint","userNickname","paginationDetail","legend","ref","tag","height","filterSelected","lastProtocols","conversationClientId","staticRenderFns","DefaultReports","headersList","format","dataResult","paginationData","searchTable","props","data","align","isSort","show","pagesCount","totalVisible","page","ordinationType","ordinationField","field","watch","datePickerData","to","setFilter","deep","handler","computed","mapGetters","created","$emit","mounted","methods","mapActions","addToast","ADD_TOAST_MESSAGE","actionGetReportPopularCategories","idBot","startDate","endDate","then","response","length","catch","newData","_","cloneDeep","forEach","item","index","idReport","component","checkDetailConversation","externalSort","currentPage","params","botId","pageCount","ReportsApi","getReportExpressionsAssertiveness","amount_pages","intent","score","Math","round","event","call","getHeaders","dataDetail","disabled","size","lineSelect","actionGetReportResultNPS","Date","createdAt","toISOString","moment","$getterFormatDate","dateNPS","createdNPS","note","icon","channelId","message","goToDetailedReport","headers","isIcon","push","actionSelect","addExpression","newExpressionSelect","label","list","setSelected","expressionSelect","actionGetReportUnknownExpressions","itemSelected","expressionName","row","intentName","addIntention","find","getRelatoryIntentAssertiveness","components","SvgLoader","ExportAndPrinting","CustomDatePicker","Conversations","Evasion","PopularIntentions","PopularCategories","ExpressionsAssertiveness","ResultNPS","UnknownExpressions","AssertivenessIntentions","SelectMenu","conversationProtocols","closeSearch","map","i","unshift","uniqBy","document","scrollingElement","offsetHeight","offsetWidth","window","addEventListener","checkHeight","$refs","report","resetDetailedReportCurrentPage","setTimeout","resetReportCurrentPage","innerHeight","innerWidth","reportTranslate","element","filterTranslate","companyId","getterSelectedCompany","idCompany","clientId","startTime","endTime","pageSize","getRelatoryConversationsProtocols","formatedResponse","StandardizeObjects","standardizeObjects"],"mappings":"kHAAA,IAAIA,EAAS,WACX,IAAIC,EAAIC,KACJC,EAAGF,EAAIG,eACPC,EAAGJ,EAAIK,MAAMD,IAAIF,EAErB,OAAOE,EAAG,WAAY,CACpBE,MAAO,CACL,GAAM,YAEP,CAACF,EAAG,QAAS,CACdG,YAAa,2BACZ,CAACH,EAAG,QAAS,CACdE,MAAO,CACL,KAAQ,OAET,CAACF,EAAG,QAAS,CACdG,YAAa,YACbC,YAAa,CACX,gBAAiB,wBAElB,CAACJ,EAAG,QAAS,CACdG,YAAa,mBACbD,MAAO,CACL,KAAQ,GAAGG,OAAOT,EAAIU,SAAW,IAAM,QAExC,CAACN,EAAG,KAAM,CACXO,MAAO,CACL,KAAQX,EAAIU,WAEb,CAACV,EAAIY,GAAG,IAAMZ,EAAIa,GAAGb,EAAIc,GAAG,wBAA0B,SAAUV,EAAG,QAAS,CAC7EO,MAAO,wDAAwDF,OAAOT,EAAIU,SAAW,wBAA0B,cAAe,gBAC9HJ,MAAO,CACL,KAAQ,GAAGG,OAAOT,EAAIU,SAAW,KAAO,OAEzC,CAACN,EAAG,SAAU,CACfG,YAAa,aACbD,MAAO,CACL,MAAS,UACT,KAAQ,MAEVS,GAAI,CACF,MAASf,EAAIgB,gBAEd,CAAChB,EAAIY,GAAG,cAAeR,EAAG,QAAS,CACpCa,WAAY,CAAC,CACXC,KAAM,QACNC,QAAS,UACTC,MAAOpB,EAAIqB,OACXC,WAAY,WAEdf,YAAa,6CACbI,MAAO,CACL,qBAAsBX,EAAIU,UAE5BJ,MAAO,CACL,YAAeN,EAAIc,GAAG,uBAAwB,CAAEd,EAAIuB,WAA2DvB,EAAIc,GAAGd,EAAIwB,gBAAgBC,QAAzEzB,EAAIc,GAAGd,EAAIwB,gBAAgBE,i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N,MAAMC,OAAOG,yBAElBD,YAAW,WACT,EAAKH,MAAMC,OAAOrJ,cACjB,MAELK,uBAlEO,WAkEmB,WACxBrE,KAAKoN,MAAMC,OAAOG,yBAElBD,YAAW,WACT,EAAKH,MAAMC,OAAOrJ,cACjB,MAELT,2BAzEO,SAyEqBP,GAAU,WACpChD,KAAKqD,iBAAmBL,EACxBhD,KAAKoN,MAAMC,OAAOC,iCAClBC,YAAW,WACT,EAAKH,MAAMC,OAAO9C,uBACjB,MAEL9G,0BAhFO,SAgFoBT,GAAU,WACnC,GAAiB,KAAbA,EAAiB,CACnBhD,KAAKsD,iCAAkC,EAEvC,IAAMoF,EAAS,CACbC,MAAO3I,KAAK4C,kBAAkB4E,MAC9BsG,UAAW9N,KAAK+N,sBAAsBC,UACtCC,SAAUjO,KAAKqF,qBACf6I,UAAWlO,KAAKmE,oBAAoBsD,UACpC0G,QAASnO,KAAKmE,oBAAoBuD,QAClC1E,WACAoD,KAAM,EACNgI,SAAU,IAGZvF,OAAWwF,kCAAkC3F,GAC1Cf,MAAK,SAACC,GACL,IAAM0G,EAAmBC,wBAAmBC,mBAAmB5G,EAAS9B,MAAM,GAC9E,EAAKyG,sBAAwB+B,EAAiBxI,KAAK2G,KAAI,SAAAC,GAAC,OAAIA,EAAE1J,YAC9D,EAAKM,iCAAkC,KAExCwE,OAAM,WACL,EAAKT,SAAS,CACZ3F,KAAM,EAAKb,GAAG,4CACdiB,KAAM,WAER,EAAKwB,iCAAkC,SCpPqS,ICQpV,G,UAAY,eACd,EACAxD,EACAwF,GACA,EACA,KACA,KACA,OAIa,e,kECnBf","file":"js/reports.e153d7ca.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('v-layout', {\n attrs: {\n \"id\": \"reports\"\n }\n }, [_c('v-row', {\n staticClass: \"px-10 page-reports mt-0\"\n }, [_c('v-col', {\n attrs: {\n \"cols\": \"12\"\n }\n }, [_c('v-row', {\n staticClass: \"pb-1 mt-0\",\n staticStyle: {\n \"border-bottom\": \"1px solid #0000007d\"\n }\n }, [_c('v-col', {\n staticClass: \"pa-0 animate-col\",\n attrs: {\n \"cols\": \"\".concat(_vm.isSearch ? '0' : '11')\n }\n }, [_c('h3', {\n class: {\n 'left': _vm.isSearch\n }\n }, [_vm._v(\" \" + _vm._s(_vm.$t('reports.reportTitle')) + \" \")])]), _c('v-col', {\n class: \"pa-0 d-flex align-items align-center justify-content \".concat(_vm.isSearch ? 'justify-space-between' : 'justify-end', \" animate-col\"),\n attrs: {\n \"cols\": \"\".concat(_vm.isSearch ? '12' : '1')\n }\n }, [_c('v-icon', {\n staticClass: \"icons mr-1\",\n attrs: {\n \"color\": \"#282828\",\n \"size\": \"28\"\n },\n on: {\n \"click\": _vm.togleIsSearch\n }\n }, [_vm._v(\" search \")]), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.search,\n expression: \"search\"\n }],\n staticClass: \"search-content text-input animate-input-in\",\n class: {\n 'animate-input-out': !_vm.isSearch\n },\n attrs: {\n \"placeholder\": _vm.$t('reports.searchReport', [!_vm.showDetail ? _vm.$t(_vm.componentSelect.attributeSearch) : _vm.$t(_vm.componentSelect.detail), _vm.$t(_vm.componentSelect.text)])\n },\n domProps: {\n \"value\": _vm.search\n },\n on: {\n \"blur\": _vm.cleanCloseSearch,\n \"keydown\": function keydown($event) {\n if (!$event.type.indexOf('key') && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n return function ($event) {\n return $event.target.blur();\n }.apply(null, arguments);\n },\n \"input\": function input($event) {\n if ($event.target.composing) { return; }\n _vm.search = $event.target.value;\n }\n }\n }), _c('v-icon', {\n directives: [{\n name: \"tooltip\",\n rawName: \"v-tooltip.auto\",\n value: {\n content: _vm.$t('reports.tooltip.useButtonLeft'),\n offset: 10\n },\n expression: \"{ content: $t('reports.tooltip.useButtonLeft'), offset: 10 }\",\n modifiers: {\n \"auto\": true\n }\n }],\n staticClass: \"ml-2 icons\",\n attrs: {\n \"color\": \"#282828\",\n \"size\": \"28\"\n }\n }, [_vm._v(\" help \")])], 1)], 1), _c('v-row', [_c('v-col', {\n attrs: {\n \"cols\": \"10\"\n }\n }, [_vm.showDetail ? _c('v-row', [_c('v-col', {\n staticClass: \"px-0 pt-4\",\n attrs: {\n \"md\": \"2\",\n \"lg\": \"1\"\n }\n }, [_c('div', {\n staticClass: \"come-back\"\n }, [_c('div', {\n staticClass: \"d-flex align-items align-center\",\n on: {\n \"click\": _vm.comeBack\n }\n }, [_c('v-icon', {\n attrs: {\n \"size\": \"28\",\n \"color\": _vm.getterSelectedBot.botColor\n }\n }, [_vm._v(\" chevron_left \")]), _c('span', {\n style: \"color: \".concat(_vm.getterSelectedBot.botColor, \";\")\n }, [_vm._v(_vm._s(_vm.$t('reports.back')))])], 1)])]), _c('v-col', {\n staticClass: \"pt-4 d-flex align-items align-center text-info\",\n attrs: {\n \"md\": _vm.width > 1264 ? '6' : '3',\n \"lg\": _vm.componentSelect.value === 'conversations' && _vm.protocol === '' ? '4' : '6'\n }\n }, [_c('span', [_vm._v(_vm._s(_vm.$t('reports.user')) + \" \"), _c('strong', {\n staticClass: \"pl-1 black--text\"\n }, [_vm._v(_vm._s(_vm.selectedReport.name || _vm.selectedReport.userName))])])]), _c('v-col', {\n staticClass: \"px-0 pt-4 d-flex align-items align-center justify-content justify-end text-info\",\n attrs: {\n \"md\": _vm.width > 1264 ? '4' : '3',\n \"lg\": _vm.componentSelect.value === 'conversations' && _vm.protocol === '' ? '3' : '5'\n }\n }, [_c('span', [_vm._v(_vm._s(_vm.$t('reports.totalIntentions')) + \" \"), _c('strong', {\n staticClass: \"pl-1 black--text\"\n }, [_vm._v(_vm._s(_vm.interactions))])])]), _vm.componentSelect.value === 'conversations' && _vm.protocol === '' ? _c('v-col', {\n staticClass: \"px-0 pt-4 d-flex align-items align-center justify-content justify-end text-info protocol\",\n attrs: {\n \"md\": \"4\",\n \"lg\": \"4\"\n }\n }, [_c('span', {\n staticClass: \"mr-2 select-period d-flex align-items align-center\"\n }, [_vm._v(_vm._s(_vm.$t('reports.conversations.protocol')) + \":\")]), _c('selectMenu', {\n staticClass: \"conversation-protocol-select-menu\",\n attrs: {\n \"list\": _vm.listOfProtocols,\n \"set-selected-item\": _vm.selectedProtocol,\n \"is-loading-list-select-menu\": _vm.isLoadingProtocolListSelectMenu,\n \"item-text\": \"name\",\n \"item-value\": \"protocol\",\n \"title\": _vm.$t('reports.conversations.selectProtocol')\n },\n on: {\n \"actionItem\": function actionItem(protocol) {\n return _vm.getConversationInteraction(protocol);\n },\n \"searchStringItem\": function searchStringItem(searchString) {\n return _vm.getConversationsProtocols(searchString);\n }\n }\n })], 1) : _vm._e()], 1) : _vm._e(), !_vm.showDetail ? _c('v-row', [_c('v-col', {\n staticClass: \"pt-4 pl-0\",\n class: {\n 'd-flex align-items align-center': _vm.width > (_vm.componentSelect.filter || _vm.componentSelect.value === 'conversations' ? 1358 : 1109)\n },\n attrs: {\n \"cols\": \"auto\"\n }\n }, [_c('span', {\n staticClass: \"mr-2 select-period d-flex align-items align-center\"\n }, [_vm._v(_vm._s(_vm.$t('reports.selectReport')))]), _c('p-select', {\n staticStyle: {\n \"width\": \"200px\"\n },\n attrs: {\n \"item-text\": \"text\",\n \"item-value\": \"id\",\n \"items\": _vm.translateReport(_vm.reports),\n \"height\": 28,\n \"set-selected\": _vm.componentSelect.id || 1,\n \"disabled\": _vm.isLoading\n },\n on: {\n \"selected\": _vm.getReport\n }\n })], 1), !_vm.componentSelect.isNotDate ? _c('v-col', {\n staticClass: \"pl-0 pt-4\",\n class: {\n 'd-flex align-items align-center': _vm.width > (_vm.componentSelect.filter || _vm.componentSelect.value === 'conversations' ? 1358 : 1109)\n },\n attrs: {\n \"cols\": \"auto\"\n }\n }, [_c('span', {\n staticClass: \"mr-2 select-period d-flex align-items align-center\"\n }, [_vm._v(_vm._s(_vm.$t('reports.selectPeriod')))]), _c('customDatePicker', {\n attrs: {\n \"is-loading\": _vm.isLoading || _vm.disableDatePicker,\n \"date-to-set\": _vm.currentReportPeriod\n },\n on: {\n \"callback\": function callback(date) {\n return _vm.currentReportPeriod = date;\n }\n }\n })], 1) : _vm._e(), _vm.componentSelect.value === 'conversations' ? _c('v-col', {\n directives: [{\n name: \"tooltip\",\n rawName: \"v-tooltip.auto\",\n value: {\n content: _vm.$t('reports.conversations.protocolTooltip'),\n offset: -5\n },\n expression: \"{ content: $t('reports.conversations.protocolTooltip'), offset: -5 }\",\n modifiers: {\n \"auto\": true\n }\n }],\n staticClass: \"pl-0 pt-4 protocol\",\n class: {\n 'd-flex align-items align-center': _vm.width > (_vm.componentSelect.filter || _vm.componentSelect.value === 'conversations' ? 1358 : 1109)\n },\n attrs: {\n \"cols\": \"auto\"\n }\n }, [_c('span', {\n staticClass: \"mr-2 select-period d-flex align-items align-center\"\n }, [_vm._v(_vm._s(_vm.$t('reports.conversations.protocol')) + \":\")]), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.protocol,\n expression: \"protocol\"\n }],\n staticClass: \"generic-input\",\n attrs: {\n \"placeholder\": _vm.$t('reports.conversations.insertProtocol')\n },\n domProps: {\n \"value\": _vm.protocol\n },\n on: {\n \"blur\": _vm.getReportUsingProtocol,\n \"keydown\": function keydown($event) {\n if (!$event.type.indexOf('key') && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n return function ($event) {\n return $event.target.blur();\n }.apply(null, arguments);\n },\n \"input\": function input($event) {\n if ($event.target.composing) { return; }\n _vm.protocol = $event.target.value;\n }\n }\n }), _vm.protocol !== '' ? _c('button', {\n staticClass: \"clear\",\n on: {\n \"click\": _vm.clearProtocol\n }\n }, [_c('v-icon', {\n attrs: {\n \"color\": \"#282828\",\n \"size\": \"17\"\n }\n }, [_vm._v(\" close \")])], 1) : _vm._e()]) : _vm._e(), _vm.componentSelect.filter ? _c('v-col', {\n staticClass: \"pt-4 pr-0\",\n class: {\n 'd-flex align-items align-center': _vm.width > (_vm.componentSelect.filter ? 1436 : 1109)\n },\n attrs: {\n \"cols\": \"auto\"\n }\n }, [_c('span', {\n staticClass: \"mr-2 select-period d-flex align-items align-center\"\n }, [_vm._v(_vm._s(_vm.componentSelect.nameFilter) + \":\")]), _c('p-select', {\n style: \"width: \".concat(_vm.componentSelect.sizeFilter, \"px;\"),\n attrs: {\n \"item-text\": \"text\",\n \"item-value\": \"id\",\n \"items\": _vm.translateFilter(_vm.componentSelect.filter),\n \"height\": 28,\n \"set-selected\": 1,\n \"disabled\": _vm.isLoading\n },\n on: {\n \"selected\": _vm.getFilter\n }\n })], 1) : _vm._e()], 1) : _vm._e()], 1), _c('v-col', {\n staticClass: \"d-flex align-items align-center justify-content justify-end\",\n attrs: {\n \"cols\": \"2\"\n }\n }, [_c('exportAndPrinting', {\n class: {\n 'disabled': !_vm.interactions || _vm.isLoading\n },\n attrs: {\n \"search\": _vm.search,\n \"title\": _vm.reportSelected,\n \"date-search\": _vm.currentReportPeriod,\n \"style-to-print\": _vm.styleToPrint,\n \"user-name\": _vm.selectedReport ? _vm.selectedReport.userName : '-',\n \"user-nickname\": _vm.selectedReport ? _vm.selectedReport.userNickname : '',\n \"component-select\": _vm.showDetail ? _vm.componentSelect.value === 'conversations' ? 'interactions' : 'detailedReport' : _vm.componentSelect.value,\n \"selected-report\": _vm.selectedReport,\n \"protocol\": _vm.protocol || _vm.selectedProtocol,\n \"pagination\": _vm.paginationDetail,\n \"element-to-query-selector-csv\": \".v-data-table__wrapper\",\n \"element-to-query-selector-pdf\": \".v-data-table__wrapper\",\n \"element-to-query-selector-print\": \".v-data-table__wrapper\"\n }\n })], 1)], 1), _c('v-row', [_c('v-col', {\n staticClass: \"px-1 ma-0 legend rounded\",\n attrs: {\n \"cols\": \"12\"\n }\n }, [_c('span', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.$t(_vm.componentSelect.legend))\n }\n })])], 1), _c('v-row', [_c('v-col', {\n staticClass: \"pt-0\",\n attrs: {\n \"cols\": \"12\"\n }\n }, [_c(_vm.componentSelect.value, {\n ref: \"report\",\n tag: \"component\",\n attrs: {\n \"search-string\": _vm.search,\n \"date-picker-data\": _vm.currentReportPeriod,\n \"come-back\": _vm.showDetail,\n \"search\": _vm.search,\n \"height\": _vm.height,\n \"set-filter\": _vm.filterSelected,\n \"protocol\": _vm.protocol,\n \"conversation-protocol\": _vm.selectedProtocol\n },\n on: {\n \"showDetail\": function showDetail($event) {\n _vm.showDetail = $event;\n },\n \"isLoading\": function isLoading($event) {\n _vm.isLoading = $event;\n },\n \"interactions\": function interactions($event) {\n _vm.interactions = $event;\n },\n \"selectedReport\": function selectedReport($event) {\n _vm.selectedReport = $event;\n },\n \"setLastProtocols\": function setLastProtocols($event) {\n _vm.lastProtocols = $event;\n },\n \"setConversationClientId\": function setConversationClientId($event) {\n _vm.conversationClientId = $event;\n },\n \"setPaginationReport\": function setPaginationReport($event) {\n _vm.paginationDetail = $event;\n }\n }\n })], 1)], 1)], 1)], 1)], 1);\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","const DefaultReports = [\n {\n id: 1,\n text: 'reports.conversations.text',\n value: 'conversations',\n attributeSearch: 'reports.conversations.attributeSearch',\n legend: 'reports.conversations.legend',\n detail: 'reports.conversations.detail'\n },\n {\n id: 2,\n text: 'reports.evasion.text',\n value: 'evasion',\n attributeSearch: 'reports.evasion.attributeSearch',\n legend: 'reports.evasion.legend',\n detail: 'reports.evasion.detail'\n },\n // {\n // id: 3,\n // text: 'reports.popularIntentions.text',\n // value: 'popularIntentions',\n // attributeSearch: 'reports.popularIntentions.attributeSearch',\n // legend: 'reports.popularIntentions.legend'\n // },\n {\n id: 3,\n text: 'reports.intentionsAssertiveness.text',\n value: 'assertivenessIntentions',\n attributeSearch: 'reports.intentionsAssertiveness.attributeSearch',\n legend: 'reports.intentionsAssertiveness.legend'\n },\n {\n id: 4,\n text: 'reports.expressionsAssertiveness.text',\n value: 'expressionsAssertiveness',\n attributeSearch: 'reports.expressionsAssertiveness.attributeSearch',\n legend: 'reports.expressionsAssertiveness.legend'\n }\n // {\n // id: 6,\n // text: 'reports.popularCategories.text',\n // value: 'popularCategories',\n // attributeSearch: 'reports.popularCategories.attributeSearch',\n // legend: 'reports.popularCategories.legend'\n // nameFilter: 'reports.popularCategories.nameFilter',\n // sizeFilter: 200,\n // filter: [\n // {\n // id: 1,\n // text: 'reports.popularCategories.filterIntention'\n // },\n // {\n // id: 2,\n // text: 'reports.popularCategories.filterResources'\n // }\n // ]\n // },\n // {\n // id: 7,\n // text: 'reports.npsResult.text',\n // value: 'resultNPS',\n // attributeSearch: 'reports.npsResult.attributeSearch',\n // legend: 'reports.npsResult.legend'\n // nameFilter: 'reports.npsResult.nameFilter',\n // sizeFilter: 200,\n // filter: [\n // {\n // id: 1,\n // text: 'reports.npsResult.filterUsers'\n // },\n // {\n // id: 2,\n // text: 'reports.npsResult.filterNoUsers'\n // }\n // ]\n // },\n // {\n // id: 8,\n // text: 'Expressões Desconhecidas',\n // value: 'unknownExpressions',\n // attributeSearch: 'expressão',\n // legend: 'Legenda não descrita.'\n // }\n]\n\nexport { DefaultReports }\n","var render = function () {\n var _vm=this;\n var _h=_vm.$createElement;\n var _c=_vm._self._c||_h;\n\n return _c('p-table', {\n attrs: {\n \"height\": _vm.height,\n \"identifier-field\": \"idReport\",\n \"headers\": _vm.headersList,\n \"data-table\": _vm.format(_vm.dataResult),\n \"config-paginnation\": _vm.paginationData,\n \"search\": _vm.searchTable,\n \"is-loading\": _vm.isLoading\n }\n });\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions } from 'vuex'\nimport { ADD_TOAST_MESSAGE } from 'vuex-toast'\nimport _ from 'lodash'\n\nexport default {\n props: ['datePickerData', 'searchString', 'search', 'height', 'setFilter'],\n data () {\n return {\n dataResult: [],\n headersList: [\n {\n text: this.$t('reports.popularCategories.popularExpressions'),\n value: 'expression',\n align: 'left',\n width: '50%',\n isSort: true\n },\n {\n text: this.$t('reports.popularCategories.quantityIdentified'),\n value: 'count',\n align: 'center',\n width: '30%',\n isSort: true\n },\n {\n text: this.$t('reports.popularCategories.intention'),\n value: 'intent',\n align: 'left',\n width: '30%',\n isSort: true\n }\n ],\n paginationData: {\n show: false,\n pagesCount: 1,\n totalVisible: 6,\n page: 1,\n ordinationType: 'asc',\n ordinationField: 'createdAt'\n },\n searchTable: {\n field: 'expression',\n text: ''\n },\n isLoading: false\n }\n },\n watch: {\n datePickerData () {\n this.getReport()\n },\n search (to) {\n this.searchTable.text = to\n },\n setFilter: {\n deep: true,\n handler () {\n }\n }\n },\n computed: {\n ...mapGetters([\n 'getterSelectedBot'\n ])\n },\n created () {\n this.$emit('interactions', 0)\n },\n mounted () {\n this.getReport()\n },\n methods: {\n ...mapActions([\n 'actionGetReportPopularCategories'\n ]),\n ...mapActions({\n addToast: ADD_TOAST_MESSAGE\n }),\n getReport () {\n this.isLoading = true\n this.$emit('isLoading', this.isLoading)\n\n this.actionGetReportPopularCategories(this.getterSelectedBot.idBot, this.datePickerData.startDate, this.datePickerData.endDate)\n .then((response) => {\n this.addToast({\n text: this.$t('reports.popularCategories.toast.searchedSuccessfully'),\n type: 'success'\n })\n\n this.isLoading = false\n this.dataResult = response\n this.$emit('interactions', response.length)\n\n this.paginationData.pagesCount = response.pagesCount\n this.paginationData.show = response.pagesCount > 1\n\n this.$emit('isLoading', this.isLoading)\n })\n .catch(() => {\n this.addToast({\n text: this.$t('reports.popularCategories.toast.errorFetching'),\n type: 'danger'\n })\n\n this.isLoading = false\n this.$emit('isLoading', this.isLoading)\n })\n },\n format (data) {\n if (data) {\n const newData = _.cloneDeep(data)\n newData.forEach((item, index) => {\n item.idReport = index\n })\n return newData\n }\n return []\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!./popularCategories.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!./popularCategories.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./popularCategories.vue?vue&type=template&id=2b36d749&\"\nimport script from \"./popularCategories.js?vue&type=script&lang=js&\"\nexport * from \"./popularCategories.js?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","var render = function () {\n var _vm=this;\n var _h=_vm.$createElement;\n var _c=_vm._self._c||_h;\n\n return _c('p-table', {\n attrs: {\n \"height\": _vm.height,\n \"identifier-field\": \"idReport\",\n \"headers\": _vm.headersList,\n \"data-table\": _vm.format(_vm.dataResult),\n \"config-paginnation\": _vm.paginationData,\n \"search\": _vm.searchTable,\n \"is-loading\": _vm.isLoading\n },\n on: {\n \"page\": function page($event) {\n return _vm.checkDetailConversation($event, 'page');\n },\n \"ordination\": function ordination($event) {\n return _vm.checkDetailConversation($event, 'ordination');\n }\n }\n });\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions } from 'vuex'\nimport { ADD_TOAST_MESSAGE } from 'vuex-toast'\nimport { cloneDeep } from 'lodash'\nimport ReportsApi from '@/api/reports'\n\nexport default {\n props: ['datePickerData', 'searchString', 'search', 'height'],\n data () {\n return {\n dataResult: [],\n headersList: [\n {\n text: this.$t('reports.expressionsAssertiveness.expression'),\n value: 'expression',\n align: 'left',\n width: '35%',\n isSort: true,\n externalSort: true\n },\n {\n text: this.$t('reports.expressionsAssertiveness.numberTimesFired'),\n value: 'count',\n align: 'center',\n width: '15%',\n isSort: true,\n externalSort: true\n },\n {\n text: this.$t('reports.expressionsAssertiveness.percentageAssertiveness'),\n value: 'score',\n align: 'center',\n width: '20%',\n isSort: true,\n externalSort: true\n },\n {\n text: this.$t('reports.expressionsAssertiveness.intention'),\n value: 'intent',\n align: 'left',\n width: '30%',\n isSort: true,\n externalSort: true\n }\n ],\n paginationData: {\n show: false,\n pagesCount: 1,\n totalVisible: 6,\n currentPage: 1,\n ordinationType: 'asc',\n ordinationField: 'expression'\n },\n searchTable: {\n field: 'expression',\n text: ''\n },\n isLoading: false\n }\n },\n watch: {\n datePickerData () {\n this.getReport()\n },\n search (to) {\n this.searchTable.text = to\n }\n },\n computed: {\n ...mapGetters([\n 'getterSelectedBot'\n ])\n },\n created () {\n this.$emit('interactions', 0)\n },\n mounted () {\n this.getReport()\n },\n methods: {\n ...mapActions({\n addToast: ADD_TOAST_MESSAGE\n }),\n getReport () {\n this.isLoading = true\n this.$emit('isLoading', this.isLoading)\n\n const params = {\n botId: this.getterSelectedBot.idBot,\n ...this.datePickerData,\n page: this.paginationData.currentPage,\n pageCount: 20,\n ordinationType: this.paginationData.ordinationType,\n ordinationField: this.paginationData.ordinationField\n }\n\n ReportsApi.getReportExpressionsAssertiveness(params.botId, false, params.startDate, params.endDate, params.page, params.pageCount, params.ordinationType, params.ordinationField)\n .then((response) => {\n this.isLoading = false\n this.dataResult = response.data.data\n this.$emit('interactions', response.data.data.length)\n\n this.paginationData.pagesCount = response.data.amount_pages\n this.paginationData.show = response.data.amount_pages > 1\n\n this.$emit('isLoading', this.isLoading)\n })\n .catch(() => {\n this.dataResult = []\n this.addToast({\n text: this.$t('reports.expressionsAssertiveness.toast.errorFetching'),\n type: 'danger'\n })\n\n this.isLoading = false\n this.$emit('isLoading', this.isLoading)\n })\n },\n format (data) {\n if (data) {\n const newData = cloneDeep(data)\n newData.forEach((item, index) => {\n item.idReport = index\n item.intent = item.intent === 'None' ? this.$t('reports.expressionsAssertiveness.unknown') : item.intent\n item.score = `${item.score !== -1 ? Math.round(item.score * 100) : 0}%`\n })\n return newData\n }\n return []\n },\n checkDetailConversation (event, call) {\n switch (call) {\n case 'ordination':\n this.paginationData.ordinationType = event.ordinationType\n this.paginationData.ordinationField = event.ordinationField === 'intent' ? 'intent_id' : event.ordinationField\n this.paginationData.currentPage = 1\n this.getReport()\n break\n case 'page':\n this.paginationData.currentPage = event\n this.getReport()\n break\n default:\n break\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!./expressionsAssertiveness.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!./expressionsAssertiveness.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./expressionsAssertiveness.vue?vue&type=template&id=cd48f2ac&\"\nimport script from \"./expressionsAssertiveness.js?vue&type=script&lang=js&\"\nexport * from \"./expressionsAssertiveness.js?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","var render = function () {\n var _vm=this;\n var _h=_vm.$createElement;\n var _c=_vm._self._c||_h;\n\n return _c('p-table', {\n attrs: {\n \"identifier-field\": \"idReport\",\n \"identifier-icon\": \"icon\",\n \"height\": _vm.height,\n \"headers\": _vm.getHeaders(),\n \"data-table\": _vm.format(_vm.dataResult),\n \"config-paginnation\": !_vm.showDetail ? _vm.paginationData : _vm.paginationDetail,\n \"search\": _vm.searchTable,\n \"is-loading\": _vm.isLoading\n },\n on: {\n \"page\": function page($event) {\n return _vm.checkDetailConversation($event, 'page');\n },\n \"ordination\": function ordination($event) {\n return _vm.checkDetailConversation($event, 'ordination');\n }\n }\n });\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions } from 'vuex'\nimport { ADD_TOAST_MESSAGE } from 'vuex-toast'\nimport moment from 'moment'\nimport _ from 'lodash'\n\nexport default {\n props: ['datePickerData', 'searchString', 'search', 'height', 'setFilter'],\n data () {\n return {\n dataResult: [],\n dataDetail: [],\n paginationData: {\n show: false,\n pagesCount: 1,\n totalVisible: 8,\n currentPage: 1,\n ordinationType: 'asc',\n ordinationField: 'createdAt',\n disabled: true\n },\n searchTable: {\n field: 'userName',\n text: ''\n },\n showDetail: false,\n isLoading: false,\n size: 18,\n lineSelect: {}\n }\n },\n watch: {\n datePickerData () {\n if (!this.showDetail) {\n this.getReport()\n }\n },\n search (to) {\n this.searchTable = {\n field: this.showDetail ? 'message' : 'userName',\n text: to\n }\n },\n setFilter (to) {\n this.getReport(to)\n }\n },\n computed: {\n ...mapGetters([\n 'getterSelectedBot',\n '$getterFormatDate'\n ])\n },\n created () {\n this.$emit('interactions', 0)\n },\n mounted () {\n this.getReport()\n },\n methods: {\n ...mapActions([\n 'actionGetReportResultNPS'\n ]),\n ...mapActions({\n addToast: ADD_TOAST_MESSAGE\n }),\n getReport () {\n this.isLoading = true\n this.paginationData.disabled = this.isLoading\n\n this.$emit('isLoading', this.isLoading)\n\n const params = {\n idBot: this.getterSelectedBot.idBot,\n ...this.datePickerData,\n ...this.paginationData,\n size: this.size\n }\n\n this.actionGetReportResultNPS(params)\n .then((response) => {\n this.addToast({\n text: this.$t('reports.npsResult.toast.searchedSuccessfully'),\n type: 'success'\n })\n\n this.isLoading = false\n this.$emit('isLoading', this.isLoading)\n this.dataResult = response\n this.$emit('interactions', response.length)\n\n this.paginationData.pagesCount = response.pagesCount\n this.paginationData.show = response.pagesCount > 1\n this.paginationData.disabled = this.isLoading\n\n this.$emit('isLoading', this.isLoading)\n })\n .catch(() => {\n this.addToast({\n text: this.$t('reports.npsResult.toast.errorFetching'),\n type: 'danger'\n })\n this.paginationData.show = false\n\n this.isLoading = false\n\n this.$emit('isLoading', this.isLoading)\n })\n },\n format (data) {\n if (data) {\n const newData = _.cloneDeep(data)\n newData.forEach((item, index) => {\n item.idReport = index\n const date = new Date(item.createdAt).toISOString()\n item.createdAt = `${moment(date).format(this.$getterFormatDate)} ${moment(date).format('HH:mm')}`\n const dateNPS = new Date(item.createdNPS).toISOString()\n item.createdNPS = `${moment(date).format(this.$getterFormatDate)} ${moment(dateNPS).format('HH:mm')}`\n item.note = `${item.note}`\n item.icon = item.channelId === 'peoplechat' ? 'people' : item.channelId\n if (item.message) {\n item.message = item.message === 'endOfConversation' ? this.$t('reports.npsResult.userEvadedConversation') : item.message\n }\n })\n return newData\n }\n return []\n },\n checkDetailConversation (event, call) {\n switch (call) {\n case 'ordination':\n this.paginationData.ordinationType = event.ordinationType\n this.paginationData.ordinationField = event.ordinationField === 'icon' ? 'channelId' : event.ordinationField\n // eslint-disable-next-line no-unused-expressions\n !this.showDetail ? this.getReport() : this.goToDetailedReport()\n break\n case 'page':\n this.paginationData.currentPage = event\n // eslint-disable-next-line no-unused-expressions\n !this.showDetail ? this.getReport() : this.goToDetailedReport()\n break\n default:\n break\n }\n },\n getHeaders () {\n const headers = [\n {\n text: this.$t('reports.npsResult.channel'),\n value: 'icon',\n align: 'center',\n width: '10%',\n isIcon: true,\n externalSort: true\n },\n {\n text: this.$t('reports.npsResult.user'),\n value: 'userName',\n align: 'left',\n width: '20%',\n isSort: true,\n externalSort: true\n },\n {\n text: this.$t('reports.npsResult.dateIteration'),\n value: 'createdAt',\n align: 'center',\n width: '30%',\n isSort: true,\n externalSort: true\n }\n ]\n if (this.setFilter.id === 1) {\n headers.push({\n text: this.$t('reports.npsResult.npsAssessmentDate'),\n value: 'createdNPS',\n align: 'center',\n width: '30%',\n isSort: true,\n externalSort: true\n })\n headers.push({\n text: this.$t('reports.npsResult.note'),\n value: 'note',\n align: 'center',\n width: '30%',\n isSort: true,\n externalSort: true\n })\n }\n return headers\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!./npsResult.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!./npsResult.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./npsResult.vue?vue&type=template&id=4057aaaf&\"\nimport script from \"./npsResult.js?vue&type=script&lang=js&\"\nexport * from \"./npsResult.js?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","var render = function () {\n var _vm=this;\n var _h=_vm.$createElement;\n var _c=_vm._self._c||_h;\n\n return _c('p-table', {\n attrs: {\n \"height\": _vm.height,\n \"identifier-field\": \"idReport\",\n \"headers\": _vm.headersList,\n \"data-table\": _vm.format(_vm.dataResult),\n \"config-paginnation\": _vm.paginationData,\n \"search\": _vm.searchTable,\n \"is-loading\": _vm.isLoading,\n \"action-select\": _vm.actionSelect,\n \"callback-edit\": _vm.addExpression\n },\n on: {\n \"actionSelectOption\": _vm.newExpressionSelect\n }\n });\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions } from 'vuex'\nimport { ADD_TOAST_MESSAGE } from 'vuex-toast'\nimport _ from 'lodash'\n\nexport default {\n props: ['toogleIsEditing', 'searchString', 'search', 'height'],\n data () {\n return {\n dataResult: [],\n headersList: [\n {\n text: 'Expressão',\n value: 'expression',\n align: 'left',\n width: 'calc(100% - 400px)',\n isSort: true\n },\n {\n text: 'Data',\n value: 'data',\n align: 'center',\n width: '200px',\n isSort: true\n },\n {\n text: 'QTD',\n value: 'qtd',\n align: 'center',\n width: '100px',\n isSort: true\n },\n {\n text: '',\n value: 'actionSelect',\n align: 'center',\n width: '200px'\n }\n ],\n actionSelect: {\n label: 'Selecione',\n value: 'id',\n text: 'name',\n list: 'addIntention',\n setSelected: 'id'\n },\n paginationData: {\n show: false,\n pagesCount: 1,\n totalVisible: 6,\n page: 1,\n ordinationType: 'asc',\n ordinationField: 'createdAt'\n },\n searchTable: {\n field: 'text',\n text: ''\n },\n expressionSelect: {},\n isLoading: false\n }\n },\n computed: {\n ...mapGetters([\n 'getterSelectedBot'\n ])\n },\n watch: {\n search (to) {\n this.searchTable.text = to\n }\n },\n created () {\n this.$emit('interactions', 0)\n },\n mounted () {\n this.isLoading = true\n this.getReport()\n },\n methods: {\n ...mapActions([\n 'actionGetReportUnknownExpressions'\n // 'actionAddExpression'\n ]),\n ...mapActions({\n addToast: ADD_TOAST_MESSAGE\n }),\n getReport () {\n this.$emit('isLoading', this.isLoading)\n\n this.actionGetReportUnknownExpressions(this.getterSelectedBot.idBot)\n .then((response) => {\n this.addToast({\n text: 'Relatório de treinamento ativo buscado com sucesso.',\n type: 'success'\n })\n\n this.isLoading = false\n this.dataResult = response\n this.$emit('interactions', response.length)\n\n this.paginationData.pagesCount = response.pagesCount\n this.paginationData.show = response.pagesCount > 1\n\n this.$emit('isLoading', this.isLoading)\n })\n .catch(() => {\n this.addToast({\n text: 'Ocorreu um erro ao buscar os dados do relatório de treinamento ativo, tente novamente mais tarde.',\n type: 'danger'\n })\n\n this.isLoading = false\n this.$emit('isLoading', this.isLoading)\n })\n },\n addExpression () {\n // this.isLoading = true\n // this.$emit('isLoading', this.isLoading)\n\n this.itemSelected = {}\n\n // const newExpression = {\n // idBot: this.getterSelectedBot.idBot,\n // exampleText: this.expressionSelect.expressionName,\n // nameIntent: this.expressionSelect.intentName,\n // entity: [],\n // entityLabels: []\n // }\n\n // this.actionAddExpression(newExpression)\n // .then(() => {\n // this.addToast({\n // text: 'Nova expressão adicionada com sucesso.',\n // type: 'success'\n // })\n\n // this.expressionSelect = {}\n // this.dataResult = []\n // this.getReport()\n // })\n // .catch((e) => {\n // if (e.response.status === 409) {\n // this.addToast({\n // text: 'Este registro já está adicionado.',\n // type: 'warning'\n // })\n // } else {\n // this.addToast({\n // text: 'Ocorreu um erro ao adicionar a expressão, tente novamente mais tarde.',\n // type: 'danger'\n // })\n // }\n // this.isLoading = false\n // this.$emit('isLoading', this.isLoading)\n // })\n },\n format (data) {\n if (data) {\n const newData = _.cloneDeep(data)\n newData.forEach((item, index) => {\n item.idReport = index\n })\n return newData\n }\n return []\n },\n newExpressionSelect (expression) {\n this.expressionSelect = {\n expressionName: expression.row.expression,\n intentName: expression.row.addIntention.find(item => item.id === expression.item).name\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!./scripts.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!./scripts.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=6fdad56a&\"\nimport script from \"./scripts.js?vue&type=script&lang=js&\"\nexport * from \"./scripts.js?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","var render = function () {\n var _vm=this;\n var _h=_vm.$createElement;\n var _c=_vm._self._c||_h;\n\n return _c('p-table', {\n attrs: {\n \"height\": _vm.height,\n \"identifier-field\": \"idReport\",\n \"headers\": _vm.headersList,\n \"data-table\": _vm.format(_vm.dataResult),\n \"config-paginnation\": _vm.paginationData,\n \"search\": _vm.searchTable,\n \"is-loading\": _vm.isLoading\n },\n on: {\n \"page\": function page($event) {\n return _vm.checkDetailConversation($event, 'page');\n },\n \"ordination\": function ordination($event) {\n return _vm.checkDetailConversation($event, 'ordination');\n }\n }\n });\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions } from 'vuex'\nimport { ADD_TOAST_MESSAGE } from 'vuex-toast'\nimport { cloneDeep } from 'lodash'\nimport ReportsApi from '@/api/reports'\n\nexport default {\n props: ['datePickerData', 'searchString', 'search', 'height'],\n data () {\n return {\n dataResult: [],\n headersList: [\n {\n text: this.$t('reports.intentionsAssertiveness.intention'),\n value: 'intent',\n align: 'left',\n width: '40%',\n isSort: true,\n externalSort: true\n },\n {\n text: this.$t('reports.intentionsAssertiveness.numberTimesFired'),\n value: 'count',\n align: 'center',\n width: '30%',\n isSort: true,\n externalSort: true\n },\n {\n text: this.$t('reports.intentionsAssertiveness.userQuantity'),\n value: 'users',\n align: 'center',\n width: '30%',\n isSort: true,\n externalSort: true\n }\n ],\n paginationData: {\n show: false,\n pagesCount: 1,\n totalVisible: 6,\n currentPage: 1,\n ordinationType: 'asc',\n ordinationField: 'intent_id'\n },\n searchTable: {\n field: 'intent',\n text: ''\n },\n isLoading: false\n }\n },\n watch: {\n datePickerData () {\n this.getReport()\n },\n search (to) {\n this.searchTable.text = to\n }\n },\n computed: {\n ...mapGetters([\n 'getterSelectedBot'\n ])\n },\n created () {\n this.$emit('interactions', 0)\n },\n mounted () {\n this.getReport()\n },\n methods: {\n ...mapActions({\n addToast: ADD_TOAST_MESSAGE\n }),\n getReport () {\n this.isLoading = true\n this.$emit('isLoading', this.isLoading)\n\n const params = {\n botId: this.getterSelectedBot.idBot,\n ...this.datePickerData,\n page: this.paginationData.currentPage,\n pageCount: 20,\n ordinationType: this.paginationData.ordinationType,\n ordinationField: this.paginationData.ordinationField\n }\n\n ReportsApi.getRelatoryIntentAssertiveness(params.botId, false, params.startDate, params.endDate, params.page, params.pageCount, params.ordinationType, params.ordinationField)\n .then((response) => {\n this.isLoading = false\n this.dataResult = response.data.data\n this.$emit('interactions', this.dataResult.length)\n\n this.paginationData.pagesCount = response.data.amount_pages\n this.paginationData.show = response.data.amount_pages > 1\n\n this.$emit('isLoading', this.isLoading)\n })\n .catch(() => {\n this.dataResult = []\n this.addToast({\n text: this.$t('reports.intentionsAssertiveness.toast.errorFetching'),\n type: 'danger'\n })\n\n this.isLoading = false\n this.$emit('isLoading', this.isLoading)\n })\n },\n format (data) {\n if (data) {\n const newData = cloneDeep(data)\n newData.forEach((item, index) => {\n item.idReport = index\n item.intent = item.intent === 'None' ? this.$t('reports.intentionsAssertiveness.unknown') : item.intent\n })\n return newData\n }\n return []\n },\n checkDetailConversation (event, call) {\n switch (call) {\n case 'ordination':\n this.paginationData.ordinationType = event.ordinationType\n this.paginationData.ordinationField = event.ordinationField === 'intent' ? 'intent_id' : event.ordinationField\n this.paginationData.currentPage = 1\n this.getReport()\n break\n case 'page':\n this.paginationData.currentPage = event\n this.getReport()\n break\n default:\n break\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!./intentionsAssertiveness.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!./intentionsAssertiveness.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./intentionsAssertiveness.vue?vue&type=template&id=4a149450&\"\nimport script from \"./intentionsAssertiveness.js?vue&type=script&lang=js&\"\nexport * from \"./intentionsAssertiveness.js?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","import { mapGetters } from 'vuex'\nimport { StandardizeObjects } from '@cedro-technologies/people-vue-ui'\nimport {\n uniqBy,\n cloneDeep\n} from 'lodash'\nimport {\n SvgLoader,\n CustomDatePicker,\n ExportAndPrinting,\n SelectMenu\n} from '@/components'\nimport { DefaultReports } from '@/helper/defaultReports'\nimport {\n Conversations,\n Evasion,\n PopularIntentions,\n PopularCategories,\n ExpressionsAssertiveness,\n ResultNPS,\n UnknownExpressions,\n AssertivenessIntentions\n} from '@/components/bot-detailed/reports/index.js'\nimport ReportsApi from '@/api/reports'\n\nexport default {\n components: {\n SvgLoader,\n ExportAndPrinting,\n CustomDatePicker,\n Conversations,\n Evasion,\n PopularIntentions,\n PopularCategories,\n ExpressionsAssertiveness,\n ResultNPS,\n UnknownExpressions,\n AssertivenessIntentions,\n SelectMenu\n },\n data () {\n return {\n reports: DefaultReports,\n searchTable: {\n field: 'channel',\n text: ''\n },\n currentPage: 1,\n componentSelect: {},\n showDetail: false,\n isLoading: false,\n height: 700,\n width: 1000,\n filterSelected: {},\n userName: '',\n interactions: 0,\n selectedReport: {},\n search: '',\n isSearch: false,\n currentReportPeriod: { startDate: new Date() },\n styleToPrint: '',\n protocol: '',\n lastProtocols: [],\n conversationProtocols: [],\n conversationClientId: '',\n selectedProtocol: '',\n isLoadingProtocolListSelectMenu: false,\n disableDatePicker: false,\n paginationDetail: {}\n }\n },\n watch: {\n showDetail (to) {\n this.closeSearch()\n if (!to) {\n this.filterSelected = {}\n }\n },\n protocol (value) {\n this.disableDatePicker = value !== ''\n }\n },\n computed: {\n ...mapGetters([\n 'getterSelectedBot',\n 'getterSelectedCompany'\n ]),\n reportSelected () {\n const type = !this.showDetail ? this.componentSelect.value : ''\n switch (type) {\n case 'conversations':\n return this.$t('reports.conversationReport')\n case 'evasion':\n return this.$t('reports.evasionReport')\n // case 'popularIntentions':\n // return this.$t('reports.reportPopularIntentions')\n case 'popularCategories':\n return this.$t('reports.popularCategoriesReport')\n case 'expressionsAssertiveness':\n return this.$t('reports.expressionReport')\n case 'resultNPS':\n return this.$t('reports.npsResultsReport')\n case 'unknownExpressions':\n return this.$t('reports.unknownExpressionsReport')\n case 'assertivenessIntentions':\n return this.$t('reports.assertivenessReportIntentions')\n default:\n return this.$t('reports.userReport')\n }\n },\n listOfProtocols () {\n let data = []\n\n data = this.lastProtocols.concat(this.conversationProtocols).map((i) => ({\n name: i,\n protocol: i\n }))\n\n data.unshift({ name: this.$t('reports.conversations.allProtocols'), protocol: '' })\n\n return uniqBy(data, 'protocol')\n }\n },\n created () {\n this.height = document.scrollingElement.offsetHeight - 310\n this.width = document.scrollingElement.offsetWidth\n },\n mounted () {\n window.addEventListener('resize', () => {\n this.checkHeight()\n })\n this.styleToPrint = `\n input,\n .vs__actions,\n .loading,\n .crud-buttons { display: none; }\n `\n },\n methods: {\n closeSearch () {\n this.search = ''\n this.isSearch = false\n },\n cleanCloseSearch () {\n if (!this.search) {\n this.isSearch = false\n }\n\n if (this.componentSelect.value === 'conversations') {\n if (this.showDetail) {\n this.$refs.report.resetDetailedReportCurrentPage()\n setTimeout(() => {\n this.$refs.report.goToDetailedReport()\n }, 100)\n } else {\n this.$refs.report.resetReportCurrentPage()\n setTimeout(() => {\n this.$refs.report.getReport()\n }, 100)\n }\n }\n },\n togleIsSearch () {\n this.isSearch = !this.isSearch\n },\n getReport (item) {\n this.protocol = this.selectedProtocol = ''\n this.closeSearch()\n this.componentSelect = this.reports[item - 1]\n },\n comeBack () {\n this.selectedReport = {}\n this.showDetail = !this.showDetail\n },\n checkHeight () {\n this.height = window.innerHeight - 310\n this.width = window.innerWidth\n },\n getFilter (id) {\n this.filterSelected = this.componentSelect.filter.find(item => item.id === id)\n },\n translateReport (report) {\n const reportTranslate = cloneDeep(report)\n reportTranslate.forEach(element => {\n element.text = this.$t(element.text)\n })\n return reportTranslate\n },\n translateFilter (filter) {\n const filterTranslate = cloneDeep(filter)\n filterTranslate.forEach(element => {\n element.text = this.$t(element.text)\n })\n return filterTranslate\n },\n clearProtocol () {\n this.protocol = ''\n\n this.$refs.report.resetReportCurrentPage()\n\n setTimeout(() => {\n this.$refs.report.getReport()\n }, 100)\n },\n getReportUsingProtocol () {\n this.$refs.report.resetReportCurrentPage()\n\n setTimeout(() => {\n this.$refs.report.getReport()\n }, 100)\n },\n getConversationInteraction (protocol) {\n this.selectedProtocol = protocol\n this.$refs.report.resetDetailedReportCurrentPage()\n setTimeout(() => {\n this.$refs.report.goToDetailedReport()\n }, 100)\n },\n getConversationsProtocols (protocol) {\n if (protocol !== '') {\n this.isLoadingProtocolListSelectMenu = true\n\n const params = {\n botId: this.getterSelectedBot.idBot,\n companyId: this.getterSelectedCompany.idCompany,\n clientId: this.conversationClientId,\n startTime: this.currentReportPeriod.startDate,\n endTime: this.currentReportPeriod.endDate,\n protocol,\n page: 1,\n pageSize: 18\n }\n\n ReportsApi.getRelatoryConversationsProtocols(params)\n .then((response) => {\n const formatedResponse = StandardizeObjects.standardizeObjects(response.data, true)\n this.conversationProtocols = formatedResponse.data.map(i => i.protocol)\n this.isLoadingProtocolListSelectMenu = false\n })\n .catch(() => {\n this.addToast({\n text: this.$t('reports.conversations.toast.errorFetched'),\n type: 'danger'\n })\n this.isLoadingProtocolListSelectMenu = 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!./reports.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!./reports.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./reports.vue?vue&type=template&id=e1626394&\"\nimport script from \"./reports.js?vue&type=script&lang=js&\"\nexport * from \"./reports.js?vue&type=script&lang=js&\"\nimport style0 from \"./reports.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!./reports.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}