ai-component-bwx 0.0.16 → 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.
@@ -1905,6 +1905,17 @@ function scrollIntoView(container, selected) {
1905
1905
 
1906
1906
  // extracted by mini-css-extract-plugin
1907
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
+
1908
1919
  /***/ }),
1909
1920
 
1910
1921
  /***/ "2bb5":
@@ -69264,13 +69275,6 @@ module.exports = {
69264
69275
  };
69265
69276
 
69266
69277
 
69267
- /***/ }),
69268
-
69269
- /***/ "84fc":
69270
- /***/ (function(module, exports, __webpack_require__) {
69271
-
69272
- // extracted by mini-css-extract-plugin
69273
-
69274
69278
  /***/ }),
69275
69279
 
69276
69280
  /***/ "852e":
@@ -69745,6 +69749,13 @@ module.exports = require("vue");
69745
69749
 
69746
69750
  /***/ }),
69747
69751
 
69752
+ /***/ "8cc5":
69753
+ /***/ (function(module, exports, __webpack_require__) {
69754
+
69755
+ // extracted by mini-css-extract-plugin
69756
+
69757
+ /***/ }),
69758
+
69748
69759
  /***/ "8df4":
69749
69760
  /***/ (function(module, exports, __webpack_require__) {
69750
69761
 
@@ -70211,6 +70222,13 @@ module.exports = Array.isArray || function isArray(arg) {
70211
70222
  module.exports = __webpack_require__("35e8");
70212
70223
 
70213
70224
 
70225
+ /***/ }),
70226
+
70227
+ /***/ "9282":
70228
+ /***/ (function(module, exports, __webpack_require__) {
70229
+
70230
+ // extracted by mini-css-extract-plugin
70231
+
70214
70232
  /***/ }),
70215
70233
 
70216
70234
  /***/ "92fa":
@@ -71925,13 +71943,6 @@ var ExecutionEnvironment = {
71925
71943
  module.exports = ExecutionEnvironment;
71926
71944
 
71927
71945
 
71928
- /***/ }),
71929
-
71930
- /***/ "a4f7":
71931
- /***/ (function(module, exports, __webpack_require__) {
71932
-
71933
- // extracted by mini-css-extract-plugin
71934
-
71935
71946
  /***/ }),
71936
71947
 
71937
71948
  /***/ "a742":
@@ -71991,17 +72002,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
71991
72002
  return val !== undefined && val !== null;
71992
72003
  };
71993
72004
 
71994
- /***/ }),
71995
-
71996
- /***/ "aa19":
71997
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
71998
-
71999
- "use strict";
72000
- /* 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_21adfc82_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a4f7");
72001
- /* 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_21adfc82_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_21adfc82_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
72002
- /* unused harmony reexport * */
72003
-
72004
-
72005
72005
  /***/ }),
72006
72006
 
72007
72007
  /***/ "aebd":
@@ -72333,6 +72333,17 @@ exports.f = __webpack_require__("8e60") ? gOPD : function getOwnPropertyDescript
72333
72333
  module.exports = __webpack_require__("d4af");
72334
72334
 
72335
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
+
72336
72347
  /***/ }),
72337
72348
 
72338
72349
  /***/ "c207":
@@ -73467,17 +73478,6 @@ exports.default = function (instance, callback) {
73467
73478
  * @param {Boolean} once weather bind after-leave once. default value is false.
73468
73479
  */
73469
73480
 
73470
- /***/ }),
73471
-
73472
- /***/ "c67e":
73473
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
73474
-
73475
- "use strict";
73476
- /* 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_21adfc82_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("84fc");
73477
- /* 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_21adfc82_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_21adfc82_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
73478
- /* unused harmony reexport * */
73479
-
73480
-
73481
73481
  /***/ }),
73482
73482
 
73483
73483
  /***/ "c8af":
@@ -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=21adfc82&scoped=true
79701
- var chatvue_type_template_id_21adfc82_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()])])])])
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 chatvue_type_template_id_21adfc82_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正在思考中...")])])])
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=21adfc82&scoped=true
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=21adfc82&prod&lang=scss&scoped=true
81468
- var chatvue_type_style_index_0_id_21adfc82_prod_lang_scss_scoped_true = __webpack_require__("c67e");
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=21adfc82&prod&scoped=true&lang=css
81471
- var chatvue_type_style_index_1_id_21adfc82_prod_scoped_true_lang_css = __webpack_require__("aa19");
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
- chatvue_type_template_id_21adfc82_scoped_true_render,
81584
- chatvue_type_template_id_21adfc82_scoped_true_staticRenderFns,
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
- "21adfc82",
81589
+ "1cec6968",
81588
81590
  null
81589
81591
 
81590
81592
  )