ai-component-bwx 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-component-bwx.common.js +49 -47
- package/dist/ai-component-bwx.common.js.map +1 -1
- package/dist/ai-component-bwx.css +1 -1
- package/dist/ai-component-bwx.umd.js +49 -47
- package/dist/ai-component-bwx.umd.js.map +1 -1
- package/dist/ai-component-bwx.umd.min.js +2 -2
- package/dist/ai-component-bwx.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1141,17 +1141,6 @@ module.exports = (
|
|
|
1141
1141
|
|
|
1142
1142
|
module.exports = { "default": __webpack_require__("d8d6"), __esModule: true };
|
|
1143
1143
|
|
|
1144
|
-
/***/ }),
|
|
1145
|
-
|
|
1146
|
-
/***/ "1a01":
|
|
1147
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1148
|
-
|
|
1149
|
-
"use strict";
|
|
1150
|
-
/* harmony import */ var _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_chat_vue_vue_type_style_index_0_id_02cfa83a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("34b5");
|
|
1151
|
-
/* harmony import */ var _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_chat_vue_vue_type_style_index_0_id_02cfa83a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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_chat_vue_vue_type_style_index_0_id_02cfa83a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
1152
|
-
/* unused harmony reexport * */
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
1144
|
/***/ }),
|
|
1156
1145
|
|
|
1157
1146
|
/***/ "1bc3":
|
|
@@ -1190,17 +1179,6 @@ module.exports = function bind(fn, thisArg) {
|
|
|
1190
1179
|
};
|
|
1191
1180
|
|
|
1192
1181
|
|
|
1193
|
-
/***/ }),
|
|
1194
|
-
|
|
1195
|
-
/***/ "1d62":
|
|
1196
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1197
|
-
|
|
1198
|
-
"use strict";
|
|
1199
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_02cfa83a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dc5d");
|
|
1200
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_02cfa83a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_02cfa83a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
1201
|
-
/* unused harmony reexport * */
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
1182
|
/***/ }),
|
|
1205
1183
|
|
|
1206
1184
|
/***/ "1ec9":
|
|
@@ -1927,6 +1905,17 @@ function scrollIntoView(container, selected) {
|
|
|
1927
1905
|
|
|
1928
1906
|
// extracted by mini-css-extract-plugin
|
|
1929
1907
|
|
|
1908
|
+
/***/ }),
|
|
1909
|
+
|
|
1910
|
+
/***/ "2b3d":
|
|
1911
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1912
|
+
|
|
1913
|
+
"use strict";
|
|
1914
|
+
/* harmony import */ var _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_chat_vue_vue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8cc5");
|
|
1915
|
+
/* harmony import */ var _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_chat_vue_vue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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_chat_vue_vue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
1916
|
+
/* unused harmony reexport * */
|
|
1917
|
+
|
|
1918
|
+
|
|
1930
1919
|
/***/ }),
|
|
1931
1920
|
|
|
1932
1921
|
/***/ "2bb5":
|
|
@@ -2219,13 +2208,6 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
|
2219
2208
|
};
|
|
2220
2209
|
|
|
2221
2210
|
|
|
2222
|
-
/***/ }),
|
|
2223
|
-
|
|
2224
|
-
/***/ "34b5":
|
|
2225
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2226
|
-
|
|
2227
|
-
// extracted by mini-css-extract-plugin
|
|
2228
|
-
|
|
2229
2211
|
/***/ }),
|
|
2230
2212
|
|
|
2231
2213
|
/***/ "355d":
|
|
@@ -69767,6 +69749,13 @@ module.exports = require("vue");
|
|
|
69767
69749
|
|
|
69768
69750
|
/***/ }),
|
|
69769
69751
|
|
|
69752
|
+
/***/ "8cc5":
|
|
69753
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
69754
|
+
|
|
69755
|
+
// extracted by mini-css-extract-plugin
|
|
69756
|
+
|
|
69757
|
+
/***/ }),
|
|
69758
|
+
|
|
69770
69759
|
/***/ "8df4":
|
|
69771
69760
|
/***/ (function(module, exports, __webpack_require__) {
|
|
69772
69761
|
|
|
@@ -70233,6 +70222,13 @@ module.exports = Array.isArray || function isArray(arg) {
|
|
|
70233
70222
|
module.exports = __webpack_require__("35e8");
|
|
70234
70223
|
|
|
70235
70224
|
|
|
70225
|
+
/***/ }),
|
|
70226
|
+
|
|
70227
|
+
/***/ "9282":
|
|
70228
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
70229
|
+
|
|
70230
|
+
// extracted by mini-css-extract-plugin
|
|
70231
|
+
|
|
70236
70232
|
/***/ }),
|
|
70237
70233
|
|
|
70238
70234
|
/***/ "92fa":
|
|
@@ -72337,6 +72333,17 @@ exports.f = __webpack_require__("8e60") ? gOPD : function getOwnPropertyDescript
|
|
|
72337
72333
|
module.exports = __webpack_require__("d4af");
|
|
72338
72334
|
|
|
72339
72335
|
|
|
72336
|
+
/***/ }),
|
|
72337
|
+
|
|
72338
|
+
/***/ "c0d3":
|
|
72339
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
72340
|
+
|
|
72341
|
+
"use strict";
|
|
72342
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9282");
|
|
72343
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chat_vue_vue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
72344
|
+
/* unused harmony reexport * */
|
|
72345
|
+
|
|
72346
|
+
|
|
72340
72347
|
/***/ }),
|
|
72341
72348
|
|
|
72342
72349
|
/***/ "c207":
|
|
@@ -74865,13 +74872,6 @@ var store = global[SHARED] || (global[SHARED] = {});
|
|
|
74865
74872
|
});
|
|
74866
74873
|
|
|
74867
74874
|
|
|
74868
|
-
/***/ }),
|
|
74869
|
-
|
|
74870
|
-
/***/ "dc5d":
|
|
74871
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
74872
|
-
|
|
74873
|
-
// extracted by mini-css-extract-plugin
|
|
74874
|
-
|
|
74875
74875
|
/***/ }),
|
|
74876
74876
|
|
|
74877
74877
|
/***/ "dcdc":
|
|
@@ -79697,15 +79697,15 @@ var staticRenderFns = []
|
|
|
79697
79697
|
|
|
79698
79698
|
// CONCATENATED MODULE: ./src/components/banwoxueAgentComponent.vue?vue&type=template&id=1ac384ce&scoped=true
|
|
79699
79699
|
|
|
79700
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"404717ef-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/chat.vue?vue&type=template&id=
|
|
79701
|
-
var
|
|
79700
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"404717ef-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agentComponent/chat.vue?vue&type=template&id=1cec6968&scoped=true
|
|
79701
|
+
var chatvue_type_template_id_1cec6968_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"contents"},[_c('div',{staticClass:"addDia"},[_c('div',{staticClass:"chat_window"},[_c('div',{staticClass:"conWindow"},[_c('div',{ref:"recordListRef",staticClass:"messageBox"},[_c('ul',{staticClass:"messages"},[_c('el-checkbox-group',{staticClass:"label-none",model:{value:(_vm.shareList),callback:function ($$v) {_vm.shareList=$$v},expression:"shareList"}},_vm._l((_vm.messageListData),function(item,index){return _c('div',{key:index},[_c('li',{staticClass:"list",class:item.role == 'user' ? 'user_message' : 'replay_message'},[(_vm.shareStatus && item.contentId && item.role != 'user')?_c('el-checkbox',{key:index,attrs:{"label":item.contentId + ',' + item.parentMsgId}}):_vm._e(),_c('div',{staticClass:"chatFrame"},[_c('div',{staticClass:"img"},[(item.role == 'user')?_c('img',{attrs:{"id":"user","src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/user.png","alt":""}}):_c('img',{attrs:{"id":"gif","src":_vm.gifPath,"alt":""}})]),_c('div',{staticClass:"text-content"},[(item.typeId == 1 || _vm.getJaShow(item))?_c('div',{staticClass:"ai-content-card"},[_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptText(item)))]),_c('div',{staticClass:"main-card"},[_c('div',{staticClass:"card-left"},[_c('div',{staticClass:"card-icon"},[_c('span',{staticClass:"icon-text"},[_vm._v("T")])]),_c('div',{staticClass:"card-info"},[_c('div',{staticClass:"card-title"},[_vm._v(_vm._s(_vm.getCardTitle(item)))]),_c('div',{staticClass:"card-status"},[_vm._v(_vm._s(item.status == 1 ? '无法预览中途停止的文档' : _vm.getItemLoadingStatus(item) ? '生成中...' : '已完成'))])])]),(!_vm.getItemLoadingStatus(item))?_c('div',{staticClass:"card-actions"},[_c('button',{staticClass:"action-btn view-btn",attrs:{"title":"预览"},on:{"click":function($event){return _vm.previewContent(item)}}},[_c('i',{staticClass:"el-icon-view"})]),_c('button',{staticClass:"action-btn download-btn",attrs:{"title":"下载"},on:{"click":function($event){return _vm.openLessonSidebar(item)}}},[_c('i',{staticClass:"el-icon-download"})])]):_vm._e()]),_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptLastText(item)))])]):(item.typeId == 2 || _vm.getPptShow(item))?_c('div',{staticClass:"ai-content-card"},[(_vm.tempAnswerStatus == 0)?_c('div',{staticClass:"card-prompt"},[_vm._v("为您生成PPT中,生成过程大约需要1分钟,请耐心等待~")]):_c('div',{staticClass:"card-prompt"},[_vm._v("PPT 已生成完成!点击下方按钮即可查看、下载或编辑。")]),_c('div',{staticClass:"main-card"},[_c('div',{staticClass:"card-left"},[_c('div',{staticClass:"card-icon"},[_c('span',{staticClass:"icon-text"},[_vm._v("P")])]),_c('div',{staticClass:"card-info"},[_c('div',{staticClass:"card-status"},[_vm._v(_vm._s(item.status == 1 ? '无法预览中途停止的文档' : item.status == 2 ? '已完成' : '生成中...'))])])]),(item.status == 2)?_c('div',{staticClass:"card-actions"},[_c('button',{staticClass:"action-btn view-btn",attrs:{"title":"预览"},on:{"click":function($event){return _vm.pptPreviewContent(item)}}},[_c('i',{staticClass:"el-icon-view"})]),_c('button',{staticClass:"action-btn download-btn",attrs:{"title":"下载"},on:{"click":function($event){return _vm.pptDownload(item)}}},[_c('i',{staticClass:"el-icon-download"})])]):_vm._e()]),_c('div',{staticClass:"card-prompt"},[_vm._v(_vm._s(_vm.getPromptLastText(item)))])]):_c('div',[_c('div',{staticClass:"text",domProps:{"innerHTML":_vm._s(item.content || '暂无内容')}}),( false)?undefined:_vm._e()]),(item.role == 'assistant' && item.status == 1)?_c('div',{staticClass:"stopped"},[_vm._v("已停止生成")]):_vm._e()]),_c('div',{staticClass:"reloadAnswer"},[(_vm.tempAnswerStatus != 0 && !item.panelId && item.role == 'assistant')?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/fuzhi1.png","title":"复制","alt":"复制"},on:{"click":function($event){return _vm.clickCopy(item.content)}}}):_vm._e(),(item.role == 'assistant' && item.contentId)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/zhongxintijiao1.png","title":"重新生成"},on:{"click":function($event){return _vm.ReloadAnswer(index, true, item)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType != 1)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/dianzan1.png","title":"好评"},on:{"click":function($event){return _vm.showLikeOptions(index, $event)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType == 1)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/dianzan2.png","title":"好评"},on:{"click":function($event){return _vm.showLikeOptions(index)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType != 2)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/chaping1.png","title":"差评"},on:{"click":function($event){return _vm.showDislikeModal(index)}}}):_vm._e(),((index != _vm.messageListData.length - 1 || _vm.tempAnswerStatus != 0) && item.role == 'assistant' && item.feedbackType == 2)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/chaping2.png","title":"差评"},on:{"click":function($event){return _vm.showDislikeModal(index)}}}):_vm._e(),(index == _vm.messageListData.length - 1 && _vm.tempAnswerStatus == 0)?_c('img',{attrs:{"src":"https://file.banwoxue.com/aiAgent/d8295edcd4494319951597ff954e3a63/zanting1.png","title":"停止输出"},on:{"click":function($event){return _vm.stopMessage(item)}}}):_vm._e()])])],1)])}),0),(_vm.chatSending)?_c('div',{staticClass:"loading-message"},[_c('div',{staticClass:"list replay_message"},[_c('div',{staticClass:"chatFrame"},[_c('div',{staticClass:"img"},[_c('img',{attrs:{"id":"gif","src":_vm.gifPath,"alt":""}})]),_vm._m(0)])])]):_vm._e()],1)]),(_vm.shareStatus)?_c('div',{staticClass:"button-option"},[_c('el-button',{on:{"click":_vm.cancleShare}},[_vm._v("取消")]),_c('el-button',{attrs:{"disabled":!_vm.shareList.length || _vm.apiLoading,"loading":_vm.apiLoading},on:{"click":_vm.showDialog}},[_vm._v("确定")])],1):_vm._e(),(_vm.likeOptionsVisible)?_c('div',{staticClass:"like-options-popup",style:(_vm.likePopupStyle)},[_c('div',{staticClass:"like-options-header"},[_c('span',{staticClass:"like-title"},[_vm._v("请选择好评类别")]),_c('i',{staticClass:"el-icon-close",on:{"click":_vm.confirmLikeOptions}})]),_c('div',{staticClass:"like-options-content"},[_c('div',{staticClass:"like-options-row"},_vm._l((_vm.LikeOption),function(i,j){return _c('div',{key:i.id,staticClass:"like-option",class:{ selected: _vm.selectedLikeOptions.includes(i.id) },on:{"click":function($event){return _vm.toggleLikeOption(i.id)}}},[_vm._v(" "+_vm._s(i.name)+" ")])}),0)])]):_vm._e(),(_vm.dislikeModalVisible)?_c('div',{staticClass:"dislike-modal-overlay",on:{"click":_vm.closeDislikeModal}},[_c('div',{staticClass:"dislike-modal",on:{"click":function($event){$event.stopPropagation();}}},[_vm._m(1),_c('div',{staticClass:"dislike-content"},[_c('div',{staticClass:"dislike-options"},_vm._l((_vm.dislikeOption),function(i){return _c('div',{key:i.id,staticClass:"dislike-option",class:{ selected: _vm.selectedDislikeOptions.includes(i.id) },on:{"click":function($event){return _vm.toggleDislikeOption(i.id)}}},[_vm._v(" "+_vm._s(i.name)+" ")])}),0),_c('div',{staticClass:"dislike-textarea"},[_c('textarea',{directives:[{name:"model",rawName:"v-model",value:(_vm.dislikeFeedback),expression:"dislikeFeedback"}],attrs:{"placeholder":"我们想知道您对此回答不满意的原因,您认为更好的回答是什么?","rows":"4"},domProps:{"value":(_vm.dislikeFeedback)},on:{"input":function($event){if($event.target.composing)return;_vm.dislikeFeedback=$event.target.value}}})]),_c('div',{staticClass:"dislike-actions"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.closeDislikeModal}},[_vm._v("取消")]),_c('button',{staticClass:"submit-btn",on:{"click":_vm.submitDislikeFeedback}},[_vm._v("提交")])])])])]):_vm._e()])])])])
|
|
79702
79702
|
}
|
|
79703
|
-
var
|
|
79703
|
+
var chatvue_type_template_id_1cec6968_scoped_true_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"text-content"},[_c('div',{staticClass:"loading-container"},[_c('div',{staticClass:"typing-indicator"},[_c('div',{staticClass:"typing-dot"}),_c('div',{staticClass:"typing-dot"}),_c('div',{staticClass:"typing-dot"})]),_c('span',{staticClass:"loading-text"},[_vm._v("AI正在思考中...")])])])
|
|
79704
79704
|
},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"dislike-header"},[_c('h3',{staticClass:"dislike-title"},[_vm._v("反馈")])])
|
|
79705
79705
|
}]
|
|
79706
79706
|
|
|
79707
79707
|
|
|
79708
|
-
// CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=template&id=
|
|
79708
|
+
// CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=template&id=1cec6968&scoped=true
|
|
79709
79709
|
|
|
79710
79710
|
// CONCATENATED MODULE: ./src/utils/errorCode.js
|
|
79711
79711
|
/* harmony default export */ var errorCode = ({
|
|
@@ -80933,6 +80933,7 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
|
|
|
80933
80933
|
}).then((res) => {
|
|
80934
80934
|
if (res.data.code == 200) {
|
|
80935
80935
|
this.messageListData[index].feedbackType = this.messageListData[index].feedbackType == 1 ? null : 1;
|
|
80936
|
+
this.$forceUpdate()
|
|
80936
80937
|
}
|
|
80937
80938
|
});
|
|
80938
80939
|
},
|
|
@@ -80947,6 +80948,7 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
|
|
|
80947
80948
|
}).then((res) => {
|
|
80948
80949
|
if (res.data.code == 200) {
|
|
80949
80950
|
this.messageListData[index].feedbackType = this.messageListData[index].feedbackType == 2 ? null : 2;
|
|
80951
|
+
this.$forceUpdate()
|
|
80950
80952
|
}
|
|
80951
80953
|
});
|
|
80952
80954
|
},
|
|
@@ -81464,11 +81466,11 @@ const chatvue_type_script_lang_js_signal = chatvue_type_script_lang_js_controlle
|
|
|
81464
81466
|
|
|
81465
81467
|
// CONCATENATED MODULE: ./src/components/agentComponent/chat.vue?vue&type=script&lang=js
|
|
81466
81468
|
/* harmony default export */ var agentComponent_chatvue_type_script_lang_js = (chatvue_type_script_lang_js);
|
|
81467
|
-
// EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=0&id=
|
|
81468
|
-
var
|
|
81469
|
+
// EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=0&id=1cec6968&prod&lang=scss&scoped=true
|
|
81470
|
+
var chatvue_type_style_index_0_id_1cec6968_prod_lang_scss_scoped_true = __webpack_require__("2b3d");
|
|
81469
81471
|
|
|
81470
|
-
// EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=1&id=
|
|
81471
|
-
var
|
|
81472
|
+
// EXTERNAL MODULE: ./src/components/agentComponent/chat.vue?vue&type=style&index=1&id=1cec6968&prod&scoped=true&lang=css
|
|
81473
|
+
var chatvue_type_style_index_1_id_1cec6968_prod_scoped_true_lang_css = __webpack_require__("c0d3");
|
|
81472
81474
|
|
|
81473
81475
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
81474
81476
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -81580,11 +81582,11 @@ function normalizeComponent(
|
|
|
81580
81582
|
|
|
81581
81583
|
var component = normalizeComponent(
|
|
81582
81584
|
agentComponent_chatvue_type_script_lang_js,
|
|
81583
|
-
|
|
81584
|
-
|
|
81585
|
+
chatvue_type_template_id_1cec6968_scoped_true_render,
|
|
81586
|
+
chatvue_type_template_id_1cec6968_scoped_true_staticRenderFns,
|
|
81585
81587
|
false,
|
|
81586
81588
|
null,
|
|
81587
|
-
"
|
|
81589
|
+
"1cec6968",
|
|
81588
81590
|
null
|
|
81589
81591
|
|
|
81590
81592
|
)
|