@kg-ui/kg-ui 0.1.8 → 0.1.10
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/lib/main.common.js +257 -149
- package/lib/main.css +1 -1
- package/lib/main.umd.js +257 -149
- package/lib/main.umd.min.js +3 -3
- package/package.json +83 -83
package/lib/main.umd.js
CHANGED
|
@@ -428,13 +428,6 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
428
428
|
};
|
|
429
429
|
|
|
430
430
|
|
|
431
|
-
/***/ }),
|
|
432
|
-
|
|
433
|
-
/***/ "0770":
|
|
434
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
435
|
-
|
|
436
|
-
// extracted by mini-css-extract-plugin
|
|
437
|
-
|
|
438
431
|
/***/ }),
|
|
439
432
|
|
|
440
433
|
/***/ "07fa":
|
|
@@ -451,13 +444,6 @@ module.exports = function (obj) {
|
|
|
451
444
|
};
|
|
452
445
|
|
|
453
446
|
|
|
454
|
-
/***/ }),
|
|
455
|
-
|
|
456
|
-
/***/ "08b6":
|
|
457
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
458
|
-
|
|
459
|
-
// extracted by mini-css-extract-plugin
|
|
460
|
-
|
|
461
447
|
/***/ }),
|
|
462
448
|
|
|
463
449
|
/***/ "0a06":
|
|
@@ -870,13 +856,6 @@ module.exports = function spread(callback) {
|
|
|
870
856
|
};
|
|
871
857
|
|
|
872
858
|
|
|
873
|
-
/***/ }),
|
|
874
|
-
|
|
875
|
-
/***/ "0eaa":
|
|
876
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
877
|
-
|
|
878
|
-
// extracted by mini-css-extract-plugin
|
|
879
|
-
|
|
880
859
|
/***/ }),
|
|
881
860
|
|
|
882
861
|
/***/ "1020":
|
|
@@ -3933,6 +3912,9 @@ const getReport = param => {
|
|
|
3933
3912
|
controller.abort();
|
|
3934
3913
|
};
|
|
3935
3914
|
};
|
|
3915
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/utils/util.js + 1 modules
|
|
3916
|
+
var util = __webpack_require__("4bce");
|
|
3917
|
+
|
|
3936
3918
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js
|
|
3937
3919
|
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
3938
3920
|
if (privateCollection.has(obj)) {
|
|
@@ -4078,6 +4060,7 @@ const http = new http_PureHttp();
|
|
|
4078
4060
|
|
|
4079
4061
|
|
|
4080
4062
|
|
|
4063
|
+
|
|
4081
4064
|
const DataType = {
|
|
4082
4065
|
text: 'text',
|
|
4083
4066
|
edit: 'edit',
|
|
@@ -4113,9 +4096,28 @@ const copilotStore_state = {
|
|
|
4113
4096
|
currentPluginParams: {},
|
|
4114
4097
|
currentUsePlugin: {},
|
|
4115
4098
|
defaultDeal: {},
|
|
4116
|
-
cancelsse: () => {}
|
|
4099
|
+
cancelsse: () => {},
|
|
4100
|
+
pluginsPayload: {} // 智能体负载(从外部设置)
|
|
4101
|
+
};
|
|
4102
|
+
|
|
4103
|
+
const copilotStore_getters = {
|
|
4104
|
+
selPluginParams(state) {
|
|
4105
|
+
var _state$checkedPluginB;
|
|
4106
|
+
const param = !Object(util["h" /* isEmpty */])(state.checkedPluginByBtn) ? (_state$checkedPluginB = state.checkedPluginByBtn) === null || _state$checkedPluginB === void 0 || (_state$checkedPluginB = _state$checkedPluginB.param_desc) === null || _state$checkedPluginB === void 0 ? void 0 : _state$checkedPluginB.properties : {};
|
|
4107
|
+
return Object.keys(param);
|
|
4108
|
+
},
|
|
4109
|
+
pluginPayloadStr(state, getters) {
|
|
4110
|
+
let str = '';
|
|
4111
|
+
for (const key in state.pluginsPayload) {
|
|
4112
|
+
if (getters.selPluginParams && getters.selPluginParams.includes(key) && state.pluginsPayload[key]) {
|
|
4113
|
+
str += Object(util["i" /* plusParamToStr */])(key.toString()) + ':';
|
|
4114
|
+
str += state.pluginsPayload[key];
|
|
4115
|
+
str += ' ';
|
|
4116
|
+
}
|
|
4117
|
+
}
|
|
4118
|
+
return str;
|
|
4119
|
+
}
|
|
4117
4120
|
};
|
|
4118
|
-
const getters = {};
|
|
4119
4121
|
const mutations = {
|
|
4120
4122
|
initDialogue(state) {
|
|
4121
4123
|
state.msgList = [{
|
|
@@ -4138,7 +4140,8 @@ const mutations = {
|
|
|
4138
4140
|
maxSendNum,
|
|
4139
4141
|
intelligentAnalysisConfig,
|
|
4140
4142
|
defaultDeal,
|
|
4141
|
-
placeholder
|
|
4143
|
+
placeholder,
|
|
4144
|
+
pluginsPayload
|
|
4142
4145
|
}) {
|
|
4143
4146
|
state.getkitsUrl = getkitsUrl;
|
|
4144
4147
|
state.plugins = plugins;
|
|
@@ -4154,6 +4157,7 @@ const mutations = {
|
|
|
4154
4157
|
state.sendLonding = true; // 初始化缓慢打字
|
|
4155
4158
|
state.intelligentAnalysisConfig = intelligentAnalysisConfig;
|
|
4156
4159
|
state.defaultDeal = defaultDeal;
|
|
4160
|
+
state.pluginsPayload = pluginsPayload || {};
|
|
4157
4161
|
},
|
|
4158
4162
|
resetCopilot(state) {
|
|
4159
4163
|
mutations.onlyCancelRequest(state);
|
|
@@ -4231,19 +4235,27 @@ const mutations = {
|
|
|
4231
4235
|
state.cancelsse && state.cancelsse(); // 取消sse接收
|
|
4232
4236
|
state.requestSseing = false;
|
|
4233
4237
|
http.cancelByUrl(state.cancleUrl);
|
|
4238
|
+
},
|
|
4239
|
+
setPluginsPayloadFn(state, obj) {
|
|
4240
|
+
state.pluginsPayload = obj;
|
|
4234
4241
|
}
|
|
4235
4242
|
};
|
|
4236
4243
|
const actions = {
|
|
4237
4244
|
async sendMsg({
|
|
4238
4245
|
state,
|
|
4246
|
+
getters,
|
|
4239
4247
|
commit,
|
|
4240
4248
|
dispatch
|
|
4241
4249
|
}, msg) {
|
|
4242
|
-
if (
|
|
4250
|
+
if (msg === '' && getters.pluginPayloadStr === '') {
|
|
4243
4251
|
return;
|
|
4244
4252
|
}
|
|
4245
|
-
|
|
4246
|
-
|
|
4253
|
+
let message = msg;
|
|
4254
|
+
if (getters.pluginPayloadStr) {
|
|
4255
|
+
if (message) {
|
|
4256
|
+
message += ' ';
|
|
4257
|
+
}
|
|
4258
|
+
message += getters.pluginPayloadStr;
|
|
4247
4259
|
}
|
|
4248
4260
|
commit('setMsgList', {
|
|
4249
4261
|
isSend: true,
|
|
@@ -4252,7 +4264,7 @@ const actions = {
|
|
|
4252
4264
|
needPrinting: false,
|
|
4253
4265
|
uuid: Date.now(),
|
|
4254
4266
|
type: DataType.text,
|
|
4255
|
-
content:
|
|
4267
|
+
content: message
|
|
4256
4268
|
}],
|
|
4257
4269
|
showOpt: false
|
|
4258
4270
|
});
|
|
@@ -4499,12 +4511,23 @@ const actions = {
|
|
|
4499
4511
|
commit('setRequestSseing', false);
|
|
4500
4512
|
http.cancelByUrl(state.cancleUrl);
|
|
4501
4513
|
commit('setSendLonding', false);
|
|
4514
|
+
},
|
|
4515
|
+
setPluginsPayload({
|
|
4516
|
+
state,
|
|
4517
|
+
commit
|
|
4518
|
+
}, obj) {
|
|
4519
|
+
commit('setPluginsPayloadFn', obj);
|
|
4520
|
+
},
|
|
4521
|
+
clearPluginsPayload({
|
|
4522
|
+
commit
|
|
4523
|
+
}) {
|
|
4524
|
+
commit('setPluginsPayloadFn', {});
|
|
4502
4525
|
}
|
|
4503
4526
|
};
|
|
4504
4527
|
/* harmony default export */ var copilotStore = __webpack_exports__["default"] = ({
|
|
4505
4528
|
namespaced: true,
|
|
4506
4529
|
state: copilotStore_state,
|
|
4507
|
-
getters,
|
|
4530
|
+
getters: copilotStore_getters,
|
|
4508
4531
|
mutations,
|
|
4509
4532
|
actions
|
|
4510
4533
|
});
|
|
@@ -4538,7 +4561,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4538
4561
|
// ESM COMPAT FLAG
|
|
4539
4562
|
__webpack_require__.r(__webpack_exports__);
|
|
4540
4563
|
|
|
4541
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4564
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgTimePicker/main.vue?vue&type=template&id=f6fcc5da&scoped=true
|
|
4542
4565
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"k-time-picker"},[_c('el-dropdown',{attrs:{"trigger":"click","hide-on-click":false},on:{"command":_vm.command,"visible-change":_vm.visibleChange}},[_c('span',{attrs:{"title":_vm.languages['releaseTime'] + ':' + _vm.timeTitleResult}},[_c('span',[_vm._v(_vm._s(_vm.timeTitleResult))]),_c('i',{directives:[{name:"show",rawName:"v-show",value:(!_vm.dropDownVisible),expression:"!dropDownVisible"}],staticClass:"el-icon-arrow-down el-icon--right"}),_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.dropDownVisible),expression:"dropDownVisible"}],staticClass:"el-icon-arrow-up el-icon--right"})]),_c('el-dropdown-menu',{staticClass:"dedup-dropdown",attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.pureTimeTypeList),function(item){return _c('el-dropdown-item',{key:item,attrs:{"command":item}},[_c('el-radio',{attrs:{"label":item},model:{value:(_vm.currentTimeType),callback:function ($$v) {_vm.currentTimeType=$$v},expression:"currentTimeType"}},[_vm._v(" "+_vm._s(_vm.languages[item])+" ")])],1)}),_c('div',{staticClass:"custom_redio"},[_c('el-radio',{attrs:{"label":_vm.customType},model:{value:(_vm.currentTimeType),callback:function ($$v) {_vm.currentTimeType=$$v},expression:"currentTimeType"}},[_vm._v(" "+_vm._s(_vm.languages['custom'])+" ")])],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.currentTimeType === _vm.customType),expression:"currentTimeType === customType"}],staticClass:"datepicker_area"},[_c('div',{staticClass:"back_now"},[_c('span',{on:{"click":_vm.datepickerBackNow}},[_c('i',{staticClass:"el-icon-refresh-right"}),_vm._v(" "+_vm._s(_vm.languages['backNow'])+" ")])]),_c('vue-datepicker-local',{attrs:{"clearable":false,"range-separator":"至","format":"YYYY-MM-DD HH:mm:ss"},on:{"confirm":_vm.getCustomerTime,"input":_vm.getCustomerTime},model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:"range"}})],1)],2)],1)],1)
|
|
4543
4566
|
}
|
|
4544
4567
|
var staticRenderFns = []
|
|
@@ -4549,7 +4572,7 @@ var staticRenderFns = []
|
|
|
4549
4572
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
4550
4573
|
var es_error_cause = __webpack_require__("d9e2");
|
|
4551
4574
|
|
|
4552
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4575
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4553
4576
|
var VueDatepickerLocalvue_type_template_id_48749f78_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"datepicker",class:{'datepicker-range':_vm.range,'datepicker__clearable':_vm.clearable&&_vm.text&&!_vm.disabled}},[(_vm.type!=='inline')?_c('input',{class:[_vm.show ? 'focus' : '', _vm.inputClass],attrs:{"readonly":"","disabled":_vm.disabled,"placeholder":_vm.placeholder,"name":_vm.name},domProps:{"value":_vm.text}}):_vm._e(),_c('a',{staticClass:"datepicker-close",on:{"click":function($event){$event.stopPropagation();return _vm.cls.apply(null, arguments)}}}),_c('transition',{attrs:{"name":"datepicker-anim"}},[(_vm.show||_vm.type==='inline')?_c('div',{staticClass:"datepicker-popup",class:[_vm.popupClass,{'datepicker-inline':_vm.type==='inline'}],attrs:{"tabindex":"-1"}},[(_vm.range)?[_c('vue-datepicker-local-calendar',{attrs:{"left":true},model:{value:(_vm.dates[0]),callback:function ($$v) {_vm.$set(_vm.dates, 0, $$v)},expression:"dates[0]"}}),_c('vue-datepicker-local-calendar',{attrs:{"right":true},model:{value:(_vm.dates[1]),callback:function ($$v) {_vm.$set(_vm.dates, 1, $$v)},expression:"dates[1]"}})]:[_c('vue-datepicker-local-calendar',{model:{value:(_vm.dates[0]),callback:function ($$v) {_vm.$set(_vm.dates, 0, $$v)},expression:"dates[0]"}})],(_vm.showButtons)?_c('div',{staticClass:"datepicker__buttons"},[_c('button',{staticClass:"datepicker__button-cancel",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_vm._v(_vm._s(this.local.cancelTip))]),_c('button',{staticClass:"datepicker__button-select",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.submit.apply(null, arguments)}}},[_vm._v(_vm._s(this.local.submitTip))])]):_vm._e()],2):_vm._e()])],1)
|
|
4554
4577
|
}
|
|
4555
4578
|
var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
@@ -4557,7 +4580,7 @@ var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
|
4557
4580
|
|
|
4558
4581
|
// CONCATENATED MODULE: ./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4559
4582
|
|
|
4560
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4583
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-datepicker-local/src/VueDatepickerLocalCalendar.vue?vue&type=template&id=29da1c58
|
|
4561
4584
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:`${_vm.pre}`},[_c('div',{class:`${_vm.pre}-head`},[_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-prev-decade-btn`,on:{"click":function($event){_vm.year-=10}}},[_vm._v("«")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-prev-year-btn`,on:{"click":function($event){_vm.year--}}},[_vm._v("«")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-prev-month-btn`,on:{"click":_vm.pm}},[_vm._v("‹")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-year-select`},[_vm._v(_vm._s(_vm.ys+'-'+_vm.ye))]),(_vm.local.yearSuffix)?[_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-year-select`,on:{"click":function($event){_vm.showYears=!_vm.showYears}}},[_vm._v(_vm._s(_vm.year)+_vm._s(_vm.local.yearSuffix))]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-month-select`,on:{"click":function($event){_vm.showMonths=!_vm.showMonths}}},[_vm._v(_vm._s(_vm.local.monthsHead[_vm.month]))])]:[_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-month-select`,on:{"click":function($event){_vm.showMonths=!_vm.showMonths}}},[_vm._v(_vm._s(_vm.local.monthsHead[_vm.month]))]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-year-select`,on:{"click":function($event){_vm.showYears=!_vm.showYears}}},[_vm._v(_vm._s(_vm.year))])],_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-next-month-btn`,on:{"click":_vm.nm}},[_vm._v("›")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-next-year-btn`,on:{"click":function($event){_vm.year++}}},[_vm._v("»")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-next-decade-btn`,on:{"click":function($event){_vm.year+=10}}},[_vm._v("»")])],2),_c('div',{class:`${_vm.pre}-body`},[_c('div',{class:`${_vm.pre}-days`},[_vm._l((_vm.local.weeks),function(i){return _c('a',{key:i,class:`${_vm.pre}-week`},[_vm._v(_vm._s(i))])}),_vm._l((_vm.days),function(j,i){return _c('a',{key:i,class:[(j.p||j.n)?`${_vm.pre}-date-out`:'',_vm.status(j.y,j.m,j.i,_vm.hour,_vm.minute,_vm.second,'YYYYMMDD')],on:{"click":function($event){_vm.is($event)&&(_vm.day=j.i,_vm.ok(j))}}},[_vm._v(_vm._s(j.i))])})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showMonths),expression:"showMonths"}],class:`${_vm.pre}-months`},_vm._l((_vm.local.months),function(i,j){return _c('a',{key:j,class:[_vm.status(_vm.year,j,_vm.day,_vm.hour,_vm.minute,_vm.second,'YYYYMM')],on:{"click":function($event){_vm.is($event)&&(_vm.showMonths=(_vm.m==='M'),_vm.month=j,(_vm.m==='M'&&_vm.ok('m')))}}},[_vm._v(_vm._s(i))])}),0),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-years`},_vm._l((_vm.years),function(i,j){return _c('a',{key:j,class:[(j===0||j===11)?`${_vm.pre}-date-out`:'',_vm.status(i,_vm.month,_vm.day,_vm.hour,_vm.minute,_vm.second,'YYYY')],on:{"click":function($event){_vm.is($event)&&(_vm.showYears=(_vm.m==='Y'),_vm.year=i,(_vm.m==='Y'&&_vm.ok('y')))}}},[_vm._v(_vm._s(i))])}),0),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showHours),expression:"showHours"}],class:`${_vm.pre}-hours`},[_c('div',{class:`${_vm.pre}-title`},[_vm._v(_vm._s(_vm.local.hourTip))]),_vm._l((24),function(j,i){return _c('a',{key:i,class:[_vm.status(_vm.year,_vm.month,_vm.day,i,_vm.minute,_vm.second,'YYYYMMDDHH')],on:{"click":function($event){_vm.is($event)&&(_vm.showHours=false,_vm.hour=i,_vm.ok('h'))}}},[_vm._v(_vm._s(i))])})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showMinutes),expression:"showMinutes"}],class:`${_vm.pre}-minutes`},[_c('div',{class:`${_vm.pre}-title`},[_vm._v(_vm._s(_vm.local.minuteTip))]),_vm._l((60),function(j,i){return _c('a',{key:i,class:[_vm.status(_vm.year,_vm.month,_vm.day,_vm.hour,i,_vm.second,'YYYYMMDDHHmm')],on:{"click":function($event){_vm.is($event)&&(_vm.showMinutes=false,_vm.minute=i,_vm.ok('h'))}}},[_vm._v(_vm._s(i))])})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSeconds),expression:"showSeconds"}],class:`${_vm.pre}-seconds`},[_c('div',{class:`${_vm.pre}-title`},[_vm._v(_vm._s(_vm.local.secondTip))]),_vm._l((60),function(j,i){return _c('a',{key:i,class:[_vm.status(_vm.year,_vm.month,_vm.day,_vm.hour,_vm.minute,i,'YYYYMMDDHHmmss')],on:{"click":function($event){_vm.is($event)&&(_vm.showSeconds=false,_vm.second=i,_vm.ok('h'))}}},[_vm._v(_vm._s(i))])})],2)]),(_vm.m==='H')?_c('div',{class:`${_vm.pre}-foot`},[_c('div',{class:`${_vm.pre}-hour`},[_c('a',{class:{on:_vm.showHours},attrs:{"title":_vm.local.hourTip},on:{"click":function($event){_vm.showHours=!_vm.showHours,_vm.showMinutes=_vm.showSeconds=false}}},[_vm._v(_vm._s(_vm._f("dd")(_vm.hour)))]),_c('span',[_vm._v(":")]),_c('a',{class:{on:_vm.showMinutes},attrs:{"title":_vm.local.minuteTip},on:{"click":function($event){_vm.showMinutes=!_vm.showMinutes,_vm.showHours=_vm.showSeconds=false}}},[_vm._v(_vm._s(_vm._f("dd")(_vm.minute)))]),_c('span',[_vm._v(":")]),_c('a',{class:{on:_vm.showSeconds},attrs:{"title":_vm.local.secondTip},on:{"click":function($event){_vm.showSeconds=!_vm.showSeconds,_vm.showHours=_vm.showMinutes=false}}},[_vm._v(_vm._s(_vm._f("dd")(_vm.second)))])])]):_vm._e()])
|
|
4562
4585
|
}
|
|
4563
4586
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_staticRenderFns = []
|
|
@@ -6538,6 +6561,13 @@ function php(hljs) {
|
|
|
6538
6561
|
module.exports = php;
|
|
6539
6562
|
|
|
6540
6563
|
|
|
6564
|
+
/***/ }),
|
|
6565
|
+
|
|
6566
|
+
/***/ "29df":
|
|
6567
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6568
|
+
|
|
6569
|
+
// extracted by mini-css-extract-plugin
|
|
6570
|
+
|
|
6541
6571
|
/***/ }),
|
|
6542
6572
|
|
|
6543
6573
|
/***/ "2a39":
|
|
@@ -8760,6 +8790,17 @@ var index = {
|
|
|
8760
8790
|
|
|
8761
8791
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
8762
8792
|
|
|
8793
|
+
/***/ }),
|
|
8794
|
+
|
|
8795
|
+
/***/ "3063":
|
|
8796
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8797
|
+
|
|
8798
|
+
"use strict";
|
|
8799
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_68c53672_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c152");
|
|
8800
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_68c53672_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_68c53672_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
8801
|
+
/* unused harmony reexport * */
|
|
8802
|
+
|
|
8803
|
+
|
|
8763
8804
|
/***/ }),
|
|
8764
8805
|
|
|
8765
8806
|
/***/ "30b5":
|
|
@@ -9626,14 +9667,16 @@ module.exports = function mergeConfig(config1, config2) {
|
|
|
9626
9667
|
// EXPORTS
|
|
9627
9668
|
__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ checkFilterShow_new; });
|
|
9628
9669
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ checkFilterShow_letter; });
|
|
9670
|
+
__webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ isEmpty; });
|
|
9629
9671
|
__webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ delay; });
|
|
9630
9672
|
__webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ deepClone; });
|
|
9631
9673
|
__webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ dependencyTransition; });
|
|
9632
9674
|
__webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ filterPluginByPinyin; });
|
|
9633
9675
|
__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ convertBytes; });
|
|
9634
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
9676
|
+
__webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ urlDownload; });
|
|
9677
|
+
__webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ plusParamToStr; });
|
|
9635
9678
|
|
|
9636
|
-
// UNUSED EXPORTS: checkNameValidity,
|
|
9679
|
+
// UNUSED EXPORTS: checkNameValidity, isDef, get, isObj, deepAssign, EnumPlusParam
|
|
9637
9680
|
|
|
9638
9681
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
9639
9682
|
var es_error_cause = __webpack_require__("d9e2");
|
|
@@ -9853,6 +9896,46 @@ const urlDownload = (url, fileName = '下载文件') => {
|
|
|
9853
9896
|
// 然后移除
|
|
9854
9897
|
document.body.removeChild(eleLink);
|
|
9855
9898
|
};
|
|
9899
|
+
const EnumPlusParam = {
|
|
9900
|
+
count: 'count',
|
|
9901
|
+
//
|
|
9902
|
+
url: 'url',
|
|
9903
|
+
//
|
|
9904
|
+
days: 'days',
|
|
9905
|
+
//
|
|
9906
|
+
keywords: 'keywords',
|
|
9907
|
+
//
|
|
9908
|
+
query: 'query',
|
|
9909
|
+
// 表达式
|
|
9910
|
+
isInland: 'isInland',
|
|
9911
|
+
// 是否为境内,默认返回true,要求境外则为false
|
|
9912
|
+
userLogic: 'userLogic',
|
|
9913
|
+
// 表达式
|
|
9914
|
+
user_logic: 'user_logic' // 表达式
|
|
9915
|
+
};
|
|
9916
|
+
|
|
9917
|
+
function plusParamToStr(str) {
|
|
9918
|
+
switch (str) {
|
|
9919
|
+
case EnumPlusParam.count:
|
|
9920
|
+
return '数量';
|
|
9921
|
+
case EnumPlusParam.url:
|
|
9922
|
+
return 'url地址';
|
|
9923
|
+
case EnumPlusParam.days:
|
|
9924
|
+
return '天数';
|
|
9925
|
+
case EnumPlusParam.keywords:
|
|
9926
|
+
return '关键词';
|
|
9927
|
+
case EnumPlusParam.query:
|
|
9928
|
+
return '查询表达式';
|
|
9929
|
+
case EnumPlusParam.isInland:
|
|
9930
|
+
return '境内境外';
|
|
9931
|
+
case EnumPlusParam.userLogic:
|
|
9932
|
+
return '逻辑表达式';
|
|
9933
|
+
case EnumPlusParam.user_logic:
|
|
9934
|
+
return '逻辑表达式';
|
|
9935
|
+
default:
|
|
9936
|
+
return '';
|
|
9937
|
+
}
|
|
9938
|
+
}
|
|
9856
9939
|
|
|
9857
9940
|
/***/ }),
|
|
9858
9941
|
|
|
@@ -10921,6 +11004,17 @@ module.exports = function dispatchRequest(config) {
|
|
|
10921
11004
|
};
|
|
10922
11005
|
|
|
10923
11006
|
|
|
11007
|
+
/***/ }),
|
|
11008
|
+
|
|
11009
|
+
/***/ "53ee":
|
|
11010
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11011
|
+
|
|
11012
|
+
"use strict";
|
|
11013
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewTheme_vue_vue_type_style_index_0_id_3e38eefe_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("29df");
|
|
11014
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewTheme_vue_vue_type_style_index_0_id_3e38eefe_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewTheme_vue_vue_type_style_index_0_id_3e38eefe_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
11015
|
+
/* unused harmony reexport * */
|
|
11016
|
+
|
|
11017
|
+
|
|
10924
11018
|
/***/ }),
|
|
10925
11019
|
|
|
10926
11020
|
/***/ "5692":
|
|
@@ -11140,7 +11234,7 @@ module.exports = function (bitmap, value) {
|
|
|
11140
11234
|
// ESM COMPAT FLAG
|
|
11141
11235
|
__webpack_require__.r(__webpack_exports__);
|
|
11142
11236
|
|
|
11143
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11237
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/main.vue?vue&type=template&id=42a837b0&scoped=true
|
|
11144
11238
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"panel common-layout"},[_c('el-container',{staticStyle:{"height":"100%"}},[_c('el-header',{staticClass:"mb-1",staticStyle:{"padding":"0","height":"auto","width":"100%"}},[_c('LFilter',{ref:"LFilter"})],1)],1)],1)
|
|
11145
11239
|
}
|
|
11146
11240
|
var staticRenderFns = []
|
|
@@ -11151,7 +11245,7 @@ var staticRenderFns = []
|
|
|
11151
11245
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
11152
11246
|
var es_array_push = __webpack_require__("14d9");
|
|
11153
11247
|
|
|
11154
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11248
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
11155
11249
|
var LFiltervue_type_template_id_44cc531c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('FilterArea',{ref:"FilterArea"})],1)
|
|
11156
11250
|
}
|
|
11157
11251
|
var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
@@ -11159,7 +11253,7 @@ var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
|
11159
11253
|
|
|
11160
11254
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
11161
11255
|
|
|
11162
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11256
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
11163
11257
|
var FilterAreavue_type_template_id_79c8b408_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade"}},[(_vm.selProjectId !== 0)?_c('div',{staticClass:"filterAreaWrap filterWrap bg-white mt-1"},[_c('div',{attrs:{"id":"filterWrap"}},[(_vm.showList.length ===0)?[_c('div')]:[_vm._l((_vm.showList),function(filter,rowIndex){return _c('div',{key:filter.label_id},[(rowIndex < 4)?_c('div',{staticClass:"flex justify-between gap-x-5 rowWrap",class:{
|
|
11164
11258
|
multiple: filter.multipleSel,
|
|
11165
11259
|
xinyuan: filter.kind === _vm.EnumFilterKind.XinYuan,
|
|
@@ -11198,7 +11292,7 @@ var FilterAreavue_type_template_id_79c8b408_scoped_true_staticRenderFns = []
|
|
|
11198
11292
|
|
|
11199
11293
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
11200
11294
|
|
|
11201
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11295
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItem.vue?vue&type=template&id=112c4e1e&scoped=true
|
|
11202
11296
|
var FilterItemvue_type_template_id_112c4e1e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(!_vm.multipleSel)?[_c('div',{on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-popover',{attrs:{"popper-class":"popover","placement":"top","trigger":"hover","content":'label_id:' + _vm.subFilter.label_id}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"slot":"reference","size":"small","link":"","type":_vm.selFilterIds.includes(_vm.subFilter.label_id) ? 'warning' : ''},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}},slot:"reference"},[_c('span',[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang])+" ")])])],1),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)]:[_c('div',{staticClass:"flex items-center text-xs text-[#606266]"},[_c('el-checkbox',{model:{value:(_vm.checkOut),callback:function ($$v) {_vm.checkOut=$$v},expression:"checkOut"}},[_c('span',{staticClass:"tagText"},[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang]))])])],1)]],2)
|
|
11203
11297
|
}
|
|
11204
11298
|
var FilterItemvue_type_template_id_112c4e1e_scoped_true_staticRenderFns = []
|
|
@@ -11285,7 +11379,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11285
11379
|
)
|
|
11286
11380
|
|
|
11287
11381
|
/* harmony default export */ var FilterItem = (component.exports);
|
|
11288
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11382
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItemIcon.vue?vue&type=template&id=f9d03fdc&scoped=true
|
|
11289
11383
|
var FilterItemIconvue_type_template_id_f9d03fdc_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"relative",class:{ hover: _vm.showEdit }},[_c('div',{staticClass:"flex items-end",on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-popover',{attrs:{"popper-class":"popover","placement":"top","trigger":"hover","content":'label_id:' + _vm.subFilter.label_id}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"size":"small","type":"text"},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}}},[_c('el-image',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showEdit),expression:"!showEdit"}],staticStyle:{"width":"103px","height":"36px"},attrs:{"src":_vm.subFilter.icon,"fit":"none"}},[_c('template',{slot:"error"},[_c('div',{staticClass:"image-slot"},[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang])+" ")])])],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showEdit),expression:"showEdit"}],staticClass:"truncate flex items-center justify-center",staticStyle:{"width":"103px","height":"36px"}},[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang])+" ")])],1)],1),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)])
|
|
11290
11384
|
}
|
|
11291
11385
|
var FilterItemIconvue_type_template_id_f9d03fdc_scoped_true_staticRenderFns = []
|
|
@@ -15604,17 +15698,6 @@ webpackContext.resolve = webpackContextResolve;
|
|
|
15604
15698
|
module.exports = webpackContext;
|
|
15605
15699
|
webpackContext.id = "7d1c";
|
|
15606
15700
|
|
|
15607
|
-
/***/ }),
|
|
15608
|
-
|
|
15609
|
-
/***/ "7d59":
|
|
15610
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15611
|
-
|
|
15612
|
-
"use strict";
|
|
15613
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_735a5be0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c20e");
|
|
15614
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_735a5be0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_735a5be0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
15615
|
-
/* unused harmony reexport * */
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
15701
|
/***/ }),
|
|
15619
15702
|
|
|
15620
15703
|
/***/ "7dd5":
|
|
@@ -17405,6 +17488,17 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
17405
17488
|
};
|
|
17406
17489
|
|
|
17407
17490
|
|
|
17491
|
+
/***/ }),
|
|
17492
|
+
|
|
17493
|
+
/***/ "9c09":
|
|
17494
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17495
|
+
|
|
17496
|
+
"use strict";
|
|
17497
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_1f69c22f_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e106");
|
|
17498
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_1f69c22f_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_1f69c22f_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
17499
|
+
/* unused harmony reexport * */
|
|
17500
|
+
|
|
17501
|
+
|
|
17408
17502
|
/***/ }),
|
|
17409
17503
|
|
|
17410
17504
|
/***/ "9cda":
|
|
@@ -17414,15 +17508,15 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
17414
17508
|
// ESM COMPAT FLAG
|
|
17415
17509
|
__webpack_require__.r(__webpack_exports__);
|
|
17416
17510
|
|
|
17417
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17418
|
-
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"wrap",staticStyle:{"height":"100%"}},[_c('div',{staticClass:"copilot-box"},[_c('Dialogue',{scopedSlots:_vm._u([_vm._l((_vm.$slots),function(item,key){return {key:key,fn:function(){return [_vm._t(key)]},proxy:true}})],null,true)}),_c('div',{staticClass:"copilot-bottom-box"},[_c('CopiFooter',{on:{"handleClickStopBtn":function($event){return _vm.$emit('handleClickStopBtn')}}})],1)],1)])
|
|
17511
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=1f69c22f&scoped=true
|
|
17512
|
+
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"wrap",staticStyle:{"height":"100%"}},[_c('div',{staticClass:"copilot-box"},[_c('Dialogue',{scopedSlots:_vm._u([_vm._l((_vm.$slots),function(item,key){return {key:key,fn:function(){return [_vm._t(key)]},proxy:true}})],null,true)}),_c('div',{staticClass:"copilot-bottom-box"},[_c('CopiFooter',{on:{"handleClickStopBtn":function($event){return _vm.$emit('handleClickStopBtn')},"handleClickNewTheme":function($event){return _vm.$emit('handleClickNewTheme')}}})],1)],1)])
|
|
17419
17513
|
}
|
|
17420
17514
|
var staticRenderFns = []
|
|
17421
17515
|
|
|
17422
17516
|
|
|
17423
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=
|
|
17517
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=1f69c22f&scoped=true
|
|
17424
17518
|
|
|
17425
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17519
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=0e62fc1e&scoped=true
|
|
17426
17520
|
var dialoguevue_type_template_id_0e62fc1e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"messageBox",staticClass:"message-box"},[_vm._l((_vm.msgList),function(item,index){return _c('div',{key:item.uuid + '' + index,staticClass:"message-group"},[_c('div',{staticClass:"msg-head"},[(item.isSend)?_c('UserHead'):_c('AnswerHead',{scopedSlots:_vm._u([{key:"avatar",fn:function(){return [_vm._t("avatar")]},proxy:true}],null,true)})],1),_c('div',{class:{ 'msg-content': true, 'response-content': !item.isSend }},[(!item.isSend && item.plusName)?_c('div',{staticClass:"msg-plus mb-1"},[_c('div',[_vm._v(" 使用: "),_c('span',[_vm._v(_vm._s(item.plusName.replace(/,/g, ' ')))])])]):_vm._e(),_c('MessageParse',{attrs:{"msgs":item.msgs,"is-printing":item.needPrinting,"scroll-to-bottom":_vm.scrollToBottom},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}),(!item.isSend && !item.needPrinting && item.showOpt)?_c('div',{staticClass:"icon-operates"},[_c('div',{staticClass:"icon-item",attrs:{"title":"点赞"}},[_c('Like')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"不喜欢"}},[_c('Notlike')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"复制"}},[_c('Copy')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"导出"}},[_c('Download')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"播放"}},[_c('Speaker')],1)]):_vm._e()],1)])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.stopDialogue),expression:"stopDialogue"}],staticClass:"stop-dialogue"},[_c('div',{staticClass:"gray-line"}),_c('div',{staticClass:"title"},[_vm._v(" 很抱歉,此对话已达到其限制。让我们开始新的聊天。 ")]),_c('div',{staticClass:"gray-line"})])],2)
|
|
17427
17521
|
}
|
|
17428
17522
|
var dialoguevue_type_template_id_0e62fc1e_scoped_true_staticRenderFns = []
|
|
@@ -17430,7 +17524,7 @@ var dialoguevue_type_template_id_0e62fc1e_scoped_true_staticRenderFns = []
|
|
|
17430
17524
|
|
|
17431
17525
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=0e62fc1e&scoped=true
|
|
17432
17526
|
|
|
17433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17527
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=1b518448&scoped=true
|
|
17434
17528
|
var messageParsevue_type_template_id_1b518448_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',_vm._l((_vm.msgs),function(item,index){return _c('div',{key:item.uuid + '' + index},[(index < _vm.current && item.type === _vm.DataType.text)?_c('ReadMd',{attrs:{"text":item.content,"scroll-to-bottom":_vm.scrollToBottom,"is-printing":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.edit)?_c('Edit',{attrs:{"content":item.content,"scroll-to-bottom":_vm.scrollToBottom,"is-printing":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.file)?_c('FileBox',{attrs:{"desc":item.content,"is-printing":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(_vm.isPrinting && index === _vm.current - 1 && !item.needPrinting)?_c('span',{staticClass:"cursor"}):_vm._e()],1)}),0)
|
|
17435
17529
|
}
|
|
17436
17530
|
var messageParsevue_type_template_id_1b518448_scoped_true_staticRenderFns = []
|
|
@@ -17441,7 +17535,7 @@ var messageParsevue_type_template_id_1b518448_scoped_true_staticRenderFns = []
|
|
|
17441
17535
|
// EXTERNAL MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js + 11 modules
|
|
17442
17536
|
var copilotStore = __webpack_require__("187e");
|
|
17443
17537
|
|
|
17444
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17538
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=1ecd7bbc&scoped=true
|
|
17445
17539
|
var readMdvue_type_template_id_1ecd7bbc_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:"highlight",rawName:"v-highlight"}],staticClass:"markdown",domProps:{"innerHTML":_vm._s(_vm.resultHtml)}})])
|
|
17446
17540
|
}
|
|
17447
17541
|
var readMdvue_type_template_id_1ecd7bbc_scoped_true_staticRenderFns = []
|
|
@@ -17673,7 +17767,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
17673
17767
|
)
|
|
17674
17768
|
|
|
17675
17769
|
/* harmony default export */ var readMd = (component.exports);
|
|
17676
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17770
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17677
17771
|
var fileBoxvue_type_template_id_eae35050_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"file-box"},[_c('div',{staticClass:"file-content"},[_c('FileIcon',{attrs:{"type":_vm.fileType}}),_c('div',{staticClass:"file-desc"},[_c('span',{staticClass:"file-name"},[_vm._v(_vm._s(_vm.desc.name))]),_c('div',{staticClass:"file-size-type"},[_c('span',{staticClass:"size"},[_vm._v(_vm._s(_vm.size))]),_c('span',{staticClass:"type"},[_vm._v(_vm._s(_vm.fileType))])])])],1),_c('button',{staticClass:"download-btn",on:{"click":_vm.downLoadFilde}},[_vm._v("下载")])])
|
|
17678
17772
|
}
|
|
17679
17773
|
var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
@@ -17681,7 +17775,7 @@ var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
|
17681
17775
|
|
|
17682
17776
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17683
17777
|
|
|
17684
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17778
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/fileIcon.vue?vue&type=template&id=d505c8c2&scoped=true
|
|
17685
17779
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.type==='ppt')?_c('svg',{staticClass:"icon",attrs:{"t":"1713764760412","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"5972","xmlns:xlink":"http://www.w3.org/1999/xlink","width":"40","height":"40"}},[_c('path',{attrs:{"d":"M620.9 67.2H236.5c-30.3 0-54.9 25-54.9 55.9v782.7c0 30.9 24.6 55.9 54.9 55.9h549c30.3 0 54.9-25 54.9-55.9v-615L620.9 67.2z","fill":"#FF7357","p-id":"5973"}}),_c('path',{attrs:{"d":"M802 925.9H220.1V109.7h379.6v218.9H802z","fill":"#FFFFFF","p-id":"5974"}}),_c('path',{attrs:{"d":"M802 922.6H220.1V106.4h379.6v218.8H802z","fill":"#FF917B","p-id":"5975"}}),_c('path',{attrs:{"d":"M340.8 597.6c47.7 0 71.4 20.2 71.4 60.8 0 40.9-24.2 61.4-72.1 61.4h-51.9v78h-30.6V597.6h83.2z m-52.4 96.2h49.8c15.1 0 26.1-2.9 33.1-8.4 6.8-5.6 10.3-14.5 10.3-26.9 0-12.4-3.7-21.3-10.6-26.3-7.1-5.6-17.9-8.4-32.9-8.4h-49.8v70zM523.6 597.6c47.7 0 71.4 20.2 71.4 60.8 0 40.9-24.2 61.4-72.1 61.4H471v78h-30.6V597.6h83.2z m-52.4 96.2H521c15.1 0 26.1-2.9 33.1-8.4 6.8-5.6 10.3-14.5 10.3-26.9 0-12.4-3.7-21.3-10.6-26.3-7.1-5.6-17.9-8.4-32.9-8.4h-49.8v70h0.1zM772 597.6v26.1h-66.7v174.1H675V623.7h-67v-26.1h164z","fill":"#FFFFFF","p-id":"5976"}})]):_vm._e(),(_vm.type==='word')?_c('svg',{staticClass:"icon",attrs:{"t":"1713764692798","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"4500","xmlns:xlink":"http://www.w3.org/1999/xlink","width":"40","height":"40"}},[_c('path',{attrs:{"d":"M791.94 155.36H332.48c-42.23 0-76.54 34.31-76.54 76.54v76.55h-51.03c-28.16 0-51.04 22.87-51.04 51.03v306.37c0 28.15 22.88 51.02 51.04 51.02h51.03v76.54c0 42.24 34.32 76.55 76.54 76.55h459.46c42.23 0 76.54-34.32 76.54-76.54V231.9c0.1-42.24-34.31-76.54-76.54-76.54z m-547.68 298.6h40.28l26.04 93.58h5.7l29.16-93.58h34.45l29.02 93.71h6.24l26.18-93.71h40.41l-40.41 133.72H384.1l-19.53-70.25h-5.43l-19.26 69.98h-55.74l-39.88-133.45zM817.45 793.5c-0.01 14.09-11.42 25.5-25.51 25.51H332.48c-14.09-0.01-25.5-11.43-25.51-25.51v-76.54h204.21c28.15 0 51.03-22.88 51.03-51.03V614.9H740.9c14.09-0.01 25.51-11.43 25.52-25.52-0.02-14.09-11.43-25.5-25.52-25.51H562.21v-51.03H740.9c14.09-0.01 25.51-11.43 25.52-25.52-0.01-14.09-11.43-25.5-25.52-25.52H562.21v-51.03H740.9c14.09-0.01 25.51-11.43 25.52-25.51-0.01-14.09-11.43-25.51-25.52-25.52H562.21c0-28.16-22.89-51.03-51.03-51.03H306.97v-76.54c0.01-14.09 11.43-25.5 25.51-25.52h459.46c14.08 0.01 25.5 11.43 25.51 25.52V793.5z m0 0","fill":"#54A0FF","p-id":"4501"}})]):_vm._e()])
|
|
17686
17780
|
}
|
|
17687
17781
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_staticRenderFns = []
|
|
@@ -17764,7 +17858,7 @@ var util = __webpack_require__("4bce");
|
|
|
17764
17858
|
}
|
|
17765
17859
|
},
|
|
17766
17860
|
downLoadFilde() {
|
|
17767
|
-
Object(util["
|
|
17861
|
+
Object(util["j" /* urlDownload */])(this.desc.fileUrl, this.desc.name);
|
|
17768
17862
|
}
|
|
17769
17863
|
},
|
|
17770
17864
|
mounted() {
|
|
@@ -17798,7 +17892,7 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17798
17892
|
)
|
|
17799
17893
|
|
|
17800
17894
|
/* harmony default export */ var fileBox = (fileBox_component.exports);
|
|
17801
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17895
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17802
17896
|
var editvue_type_template_id_ecb8431a_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing),expression:"!isEditing"}],staticClass:"read-flex"},[_c('ReadMd',{attrs:{"text":_vm.content.message,"isPrinting":_vm.printing},on:{"update:isPrinting":function($event){_vm.printing=$event},"update:is-printing":function($event){_vm.printing=$event},"printOk":_vm.printOk}}),(_vm.showButton && _vm.isPrinting)?_c('div',{class:{
|
|
17803
17897
|
'icon-item': true,
|
|
17804
17898
|
'cursor-default': !_vm.sendLonding
|
|
@@ -17809,7 +17903,7 @@ var editvue_type_template_id_ecb8431a_scoped_true_staticRenderFns = []
|
|
|
17809
17903
|
|
|
17810
17904
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17811
17905
|
|
|
17812
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17906
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue?vue&type=template&id=0c20c6bf
|
|
17813
17907
|
var thumbsDownvue_type_template_id_0c20c6bf_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{staticStyle:{"outline":"none"},attrs:{"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true","role":"img","width":"1em","height":"1em","viewBox":"0 0 256 256","data-v-3f2185fe":""}},[_c('path',{attrs:{"fill":"currentColor","d":"m232.49 55.51l-32-32a12 12 0 0 0-17 0l-96 96A12 12 0 0 0 84 128v32a12 12 0 0 0 12 12h32a12 12 0 0 0 8.49-3.51l96-96a12 12 0 0 0 0-16.98ZM192 49l15 15l-11 11l-15-15Zm-69 99h-15v-15l56-56l15 15Zm105-15.43V208a20 20 0 0 1-20 20H48a20 20 0 0 1-20-20V48a20 20 0 0 1 20-20h75.43a12 12 0 0 1 0 24H52v152h152v-71.43a12 12 0 0 1 24 0Z"}})])
|
|
17814
17908
|
}
|
|
17815
17909
|
var thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns = []
|
|
@@ -18060,7 +18154,7 @@ var messageParse_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18060
18154
|
)
|
|
18061
18155
|
|
|
18062
18156
|
/* harmony default export */ var messageParse = (messageParse_component.exports);
|
|
18063
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18157
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiContent/UserHead.vue?vue&type=template&id=011b9031&scoped=true
|
|
18064
18158
|
var UserHeadvue_type_template_id_011b9031_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"user"},[_c('div',{staticClass:"icon header-avatar rounded-full"},[_c('svg',{attrs:{"viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M17.755 14a2.249 2.249 0 0 1 2.248 2.25v.918a2.75 2.75 0 0 1-.512 1.598c-1.546 2.164-4.07 3.235-7.49 3.235-3.422 0-5.945-1.072-7.487-3.236a2.75 2.75 0 0 1-.51-1.596v-.92A2.249 2.249 0 0 1 6.253 14h11.502ZM12 2.005a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z"}})])]),_c('div',{staticClass:"head-label"},[_vm._v("你")])])
|
|
18065
18159
|
}
|
|
18066
18160
|
var UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns = []
|
|
@@ -18091,7 +18185,7 @@ var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18091
18185
|
)
|
|
18092
18186
|
|
|
18093
18187
|
/* harmony default export */ var UserHead = (UserHead_component.exports);
|
|
18094
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18188
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiContent/AnswerHead.vue?vue&type=template&id=c2abd5b4&scoped=true
|
|
18095
18189
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"answer"},[_c('div',{staticClass:"icon"},[_vm._t("avatar",function(){return [_c('svg',{attrs:{"viewBox":"0 0 48 48","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"clip-path":"url(#clip0_3984_10372)"}},[_c('path',{attrs:{"d":"M35.1201 6.46024C34.4524 4.39741 32.5312 3 30.363 3L28.7093 3C26.2926 3 24.2217 4.72855 23.7898 7.10639L21.448 19.9984L22.1587 17.5866C22.7854 15.46 24.7377 14 26.9548 14H35.2947L38.8884 15.7857L42.3527 14H41.1975C39.0293 14 37.1082 12.6026 36.4405 10.5398L35.1201 6.46024Z","fill":"url(#paint0_radial_3984_10372)"}}),_c('path',{attrs:{"d":"M13.3948 41.5178C14.0556 43.5918 15.9822 45 18.1589 45H21.397C24.1428 45 26.3748 42.7858 26.3968 40.0401L26.4921 28.1641L25.8179 30.428C25.1866 32.5478 23.2377 34.0009 21.0259 34.0009L12.623 34.0009L9.54267 31.9459L6.20776 34.0009H7.34528C9.52197 34.0009 11.4486 35.4091 12.1093 37.4831L13.3948 41.5178Z","fill":"url(#paint1_radial_3984_10372)"}}),_c('path',{attrs:{"d":"M30 3H12.5C7.49997 3 4.49997 9.5 2.49997 16C0.13049 23.7008 -2.97003 34 5.99997 34H13.6122C15.8393 34 17.7964 32.5325 18.4179 30.394C19.7318 25.8726 22.0338 17.9871 23.8421 11.9841C24.7611 8.93305 25.5266 6.31272 26.7015 4.68095C27.3602 3.76611 28.458 3 30 3Z","fill":"url(#paint2_linear_3984_10372)"}}),_c('path',{attrs:{"d":"M30 3H12.5C7.49997 3 4.49997 9.5 2.49997 16C0.13049 23.7008 -2.97003 34 5.99997 34H13.6122C15.8393 34 17.7964 32.5325 18.4179 30.394C19.7318 25.8726 22.0338 17.9871 23.8421 11.9841C24.7611 8.93305 25.5266 6.31272 26.7015 4.68095C27.3602 3.76611 28.458 3 30 3Z","fill":"url(#paint3_linear_3984_10372)"}}),_c('path',{attrs:{"d":"M17.9963 45H35.4963C40.4963 45 43.4963 38.5 45.4963 32C47.8658 24.2992 50.9663 14 41.9963 14H34.3841C32.157 14 30.1999 15.4675 29.5784 17.606C28.2645 22.1274 25.9625 30.0129 24.1543 36.0159C23.2352 39.0669 22.4697 41.6873 21.2948 43.319C20.6361 44.2339 19.5383 45 17.9963 45Z","fill":"url(#paint4_radial_3984_10372)"}}),_c('path',{attrs:{"d":"M17.9963 45H35.4963C40.4963 45 43.4963 38.5 45.4963 32C47.8658 24.2992 50.9663 14 41.9963 14H34.3841C32.157 14 30.1999 15.4675 29.5784 17.606C28.2645 22.1274 25.9625 30.0129 24.1543 36.0159C23.2352 39.0669 22.4697 41.6873 21.2948 43.319C20.6361 44.2339 19.5383 45 17.9963 45Z","fill":"url(#paint5_linear_3984_10372)"}})]),_c('defs',[_c('radialGradient',{attrs:{"id":"paint0_radial_3984_10372","cx":"0","cy":"0","r":"1","gradientUnits":"userSpaceOnUse","gradientTransform":"translate(39.3087 20.1095) rotate(-130.498) scale(18.242 17.2825)"}},[_c('stop',{attrs:{"offset":"0.0955758","stop-color":"#00AEFF"}}),_c('stop',{attrs:{"offset":"0.773185","stop-color":"#2253CE"}}),_c('stop',{attrs:{"offset":"1","stop-color":"#0736C4"}})],1),_c('radialGradient',{attrs:{"id":"paint1_radial_3984_10372","cx":"0","cy":"0","r":"1","gradientUnits":"userSpaceOnUse","gradientTransform":"translate(9.88779 33.7078) rotate(50.1259) scale(16.5438 16.2528)"}},[_c('stop',{attrs:{"stop-color":"#FFB657"}}),_c('stop',{attrs:{"offset":"0.633728","stop-color":"#FF5F3D"}}),_c('stop',{attrs:{"offset":"0.923392","stop-color":"#C02B3C"}})],1),_c('linearGradient',{attrs:{"id":"paint2_linear_3984_10372","x1":"11.4526","y1":"6.75624","x2":"13.8689","y2":"35.1765","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"offset":"0.156162","stop-color":"#0D91E1"}}),_c('stop',{attrs:{"offset":"0.487484","stop-color":"#52B471"}}),_c('stop',{attrs:{"offset":"0.652394","stop-color":"#98BD42"}}),_c('stop',{attrs:{"offset":"0.937361","stop-color":"#FFC800"}})],1),_c('linearGradient',{attrs:{"id":"paint3_linear_3984_10372","x1":"13.6347","y1":"3","x2":"14.954","y2":"34.0019","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"stop-color":"#3DCBFF"}}),_c('stop',{attrs:{"offset":"0.246674","stop-color":"#0588F7","stop-opacity":"0"}})],1),_c('radialGradient',{attrs:{"id":"paint4_radial_3984_10372","cx":"0","cy":"0","r":"1","gradientUnits":"userSpaceOnUse","gradientTransform":"translate(42.8953 10.9649) rotate(109.574) scale(41.2667 50.0822)"}},[_c('stop',{attrs:{"offset":"0.0661714","stop-color":"#8C48FF"}}),_c('stop',{attrs:{"offset":"0.5","stop-color":"#F2598A"}}),_c('stop',{attrs:{"offset":"0.895833","stop-color":"#FFB152"}})],1),_c('linearGradient',{attrs:{"id":"paint5_linear_3984_10372","x1":"44.2778","y1":"12.1074","x2":"44.2606","y2":"20.5507","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"offset":"0.0581535","stop-color":"#F8ADFA"}}),_c('stop',{attrs:{"offset":"0.708063","stop-color":"#A86EDD","stop-opacity":"0"}})],1),_c('clipPath',{attrs:{"id":"clip0_3984_10372"}},[_c('rect',{attrs:{"width":"48","height":"48","fill":"white"}})])],1)])]})],2),_c('div',{staticClass:"head-label"},[_vm._v(_vm._s(_vm.aiName))])])
|
|
18096
18190
|
}
|
|
18097
18191
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_staticRenderFns = []
|
|
@@ -18132,7 +18226,7 @@ var AnswerHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18132
18226
|
)
|
|
18133
18227
|
|
|
18134
18228
|
/* harmony default export */ var AnswerHead = (AnswerHead_component.exports);
|
|
18135
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18229
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/copy.vue?vue&type=template&id=78ca311e
|
|
18136
18230
|
var copyvue_type_template_id_78ca311e_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M5.5028 4.62704L5.5 6.75V17.2542C5.5 19.0491 6.95507 20.5042 8.75 20.5042L17.3663 20.5045C17.0573 21.3782 16.224 22.0042 15.2444 22.0042H8.75C6.12665 22.0042 4 19.8776 4 17.2542V6.75C4 5.76929 4.62745 4.93512 5.5028 4.62704ZM17.75 2C18.9926 2 20 3.00736 20 4.25V17.25C20 18.4926 18.9926 19.5 17.75 19.5H8.75C7.50736 19.5 6.5 18.4926 6.5 17.25V4.25C6.5 3.00736 7.50736 2 8.75 2H17.75ZM17.75 3.5H8.75C8.33579 3.5 8 3.83579 8 4.25V17.25C8 17.6642 8.33579 18 8.75 18H17.75C18.1642 18 18.5 17.6642 18.5 17.25V4.25C18.5 3.83579 18.1642 3.5 17.75 3.5Z"}})])
|
|
18137
18231
|
}
|
|
18138
18232
|
var copyvue_type_template_id_78ca311e_staticRenderFns = []
|
|
@@ -18159,7 +18253,7 @@ var copy_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18159
18253
|
)
|
|
18160
18254
|
|
|
18161
18255
|
/* harmony default export */ var copy = (copy_component.exports);
|
|
18162
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18256
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/download.vue?vue&type=template&id=32982189
|
|
18163
18257
|
var downloadvue_type_template_id_32982189_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M18.2498 20.5009C18.664 20.5008 19 20.8365 19 21.2507C19 21.6649 18.6644 22.0008 18.2502 22.0009L5.25022 22.0047C4.836 22.0048 4.5 21.6691 4.5 21.2549C4.5 20.8407 4.83557 20.5048 5.24978 20.5047L18.2498 20.5009ZM11.6482 2.01271L11.75 2.00586C12.1297 2.00586 12.4435 2.28801 12.4932 2.65409L12.5 2.75586L12.499 16.4409L16.2208 12.7205C16.4871 12.4543 16.9038 12.4301 17.1974 12.648L17.2815 12.7206C17.5477 12.9869 17.5719 13.4036 17.354 13.6972L17.2814 13.7813L12.2837 18.7779C12.0176 19.044 11.6012 19.0683 11.3076 18.8507L11.2235 18.7782L6.22003 13.7816C5.92694 13.4889 5.92661 13.014 6.21931 12.7209C6.48539 12.4545 6.90204 12.43 7.1958 12.6477L7.27997 12.7202L10.999 16.4339L11 2.75586C11 2.37616 11.2822 2.06237 11.6482 2.01271L11.75 2.00586L11.6482 2.01271Z"}})])
|
|
18164
18258
|
}
|
|
18165
18259
|
var downloadvue_type_template_id_32982189_staticRenderFns = []
|
|
@@ -18186,7 +18280,7 @@ var download_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18186
18280
|
)
|
|
18187
18281
|
|
|
18188
18282
|
/* harmony default export */ var download = (download_component.exports);
|
|
18189
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18283
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue?vue&type=template&id=8a336b68
|
|
18190
18284
|
var speakervue_type_template_id_8a336b68_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{staticStyle:{"outline":"none"},attrs:{"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true","role":"img","width":"1em","height":"1em","viewBox":"0 0 256 256","data-v-195ed1f2":""}},[_c('path',{attrs:{"fill":"currentColor","d":"M154.64 26.61a6 6 0 0 0-6.32.65L77.94 82H32a14 14 0 0 0-14 14v64a14 14 0 0 0 14 14h45.94l70.38 54.74A6 6 0 0 0 158 224V32a6 6 0 0 0-3.36-5.39ZM30 160V96a2 2 0 0 1 2-2h42v68H32a2 2 0 0 1-2-2Zm116 51.73l-60-46.66V90.93l60-46.66Zm50.53-108.85a38 38 0 0 1 0 50.24a6 6 0 1 1-9-7.94a26 26 0 0 0 0-34.37a6 6 0 0 1 9-7.93ZM246 128a77.86 77.86 0 0 1-19.86 52a6 6 0 1 1-8.94-8a66 66 0 0 0 0-88a6 6 0 1 1 8.94-8A77.86 77.86 0 0 1 246 128Z"}})])
|
|
18191
18285
|
}
|
|
18192
18286
|
var speakervue_type_template_id_8a336b68_staticRenderFns = []
|
|
@@ -18213,7 +18307,7 @@ var speaker_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18213
18307
|
)
|
|
18214
18308
|
|
|
18215
18309
|
/* harmony default export */ var speaker = (speaker_component.exports);
|
|
18216
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18310
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/like.vue?vue&type=template&id=3bb849e2
|
|
18217
18311
|
var likevue_type_template_id_3bb849e2_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M16.5 5.202c0-2.442-1.14-4.198-3.007-4.198-1.026 0-1.378.601-1.746 2-.075.288-.112.429-.151.567-.101.36-.277.97-.527 1.831a.25.25 0 0 1-.03.065L8.174 9.953a5.884 5.884 0 0 1-2.855 2.327l-.473.18a2.75 2.75 0 0 0-1.716 3.092l.404 2.087a3.25 3.25 0 0 0 2.417 2.537l7.628 1.87a4.75 4.75 0 0 0 5.733-3.44l1.415-5.549a3.25 3.25 0 0 0-3.15-4.053h-1.822c.496-1.633.746-2.893.746-3.802ZM4.6 15.267a1.25 1.25 0 0 1 .78-1.405l.474-.182a7.385 7.385 0 0 0 3.582-2.92l2.867-4.485c.09-.14.159-.294.205-.455.252-.865.428-1.479.53-1.842.044-.154.085-.31.159-.593.19-.722.283-.881.295-.881.868 0 1.507.984 1.507 2.698 0 .885-.326 2.336-.984 4.315a.75.75 0 0 0 .711.987h2.85a1.751 1.751 0 0 1 1.696 2.182l-1.415 5.55a3.25 3.25 0 0 1-3.923 2.353l-7.628-1.87a1.75 1.75 0 0 1-1.301-1.366L4.6 15.267Z"}})])
|
|
18218
18312
|
}
|
|
18219
18313
|
var likevue_type_template_id_3bb849e2_staticRenderFns = []
|
|
@@ -18240,7 +18334,7 @@ var like_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18240
18334
|
)
|
|
18241
18335
|
|
|
18242
18336
|
/* harmony default export */ var like = (like_component.exports);
|
|
18243
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18337
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/notlike.vue?vue&type=template&id=646e792e
|
|
18244
18338
|
var notlikevue_type_template_id_646e792e_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M16.5 17.985c0 2.442-1.14 4.199-3.007 4.199-.975 0-1.341-.543-1.69-1.796l-.207-.772c-.101-.359-.277-.97-.527-1.831a.25.25 0 0 0-.03-.065l-2.866-4.486a5.884 5.884 0 0 0-2.855-2.326l-.473-.181A2.75 2.75 0 0 1 3.13 7.634l.404-2.086A3.25 3.25 0 0 1 5.95 3.01l7.628-1.87a4.75 4.75 0 0 1 5.733 3.44l1.415 5.55a3.25 3.25 0 0 1-3.15 4.052h-1.822c.496 1.633.746 2.893.746 3.802ZM4.6 7.92a1.25 1.25 0 0 0 .78 1.406l.474.18a7.385 7.385 0 0 1 3.582 2.92l2.867 4.486c.09.141.159.294.205.455l.552 1.92.212.791c.14.488.21.606.22.606.868 0 1.507-.985 1.507-2.7 0-.884-.326-2.335-.984-4.314a.75.75 0 0 1 .711-.987h2.85a1.75 1.75 0 0 0 1.696-2.182l-1.415-5.55a3.25 3.25 0 0 0-3.923-2.353l-7.628 1.87a1.75 1.75 0 0 0-1.301 1.366L4.6 7.92Z"}})])
|
|
18245
18339
|
}
|
|
18246
18340
|
var notlikevue_type_template_id_646e792e_staticRenderFns = []
|
|
@@ -18346,31 +18440,31 @@ var dialogue_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18346
18440
|
)
|
|
18347
18441
|
|
|
18348
18442
|
/* harmony default export */ var dialogue = (dialogue_component.exports);
|
|
18349
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18350
|
-
var
|
|
18443
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=68c53672&scoped=true
|
|
18444
|
+
var CopiFootervue_type_template_id_68c53672_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"copilot-footer"},[_c('div',{staticClass:"root"},[_c('SearchInput',{on:{"handleClickStopBtn":function($event){return _vm.$emit('handleClickStopBtn')},"handleClickNewTheme":function($event){return _vm.$emit('handleClickNewTheme')}}})],1)])
|
|
18351
18445
|
}
|
|
18352
|
-
var
|
|
18446
|
+
var CopiFootervue_type_template_id_68c53672_scoped_true_staticRenderFns = []
|
|
18353
18447
|
|
|
18354
18448
|
|
|
18355
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=
|
|
18449
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=68c53672&scoped=true
|
|
18356
18450
|
|
|
18357
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18358
|
-
var
|
|
18359
|
-
color: _vm.
|
|
18451
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=fb0e45e0&scoped=true
|
|
18452
|
+
var SearchInputvue_type_template_id_fb0e45e0_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"bottomFooter",staticClass:"bottom-footer"},[_c('div',{staticClass:"control-contain"},[_c('SelectPluginByKey',{attrs:{"is-show-select":_vm.isShowSelect,"select-plugin-list":_vm.selectPluginList,"modal":_vm.pluginModal,"active-plu-ind":_vm.activePluInd},on:{"close":_vm.closePluginByoutside,"deleteText":_vm.deleteText}}),_c('button',{staticClass:"control-button select-button",on:{"click":function($event){$event.stopPropagation();return _vm.openPluDialog.apply(null, arguments)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.buttonText)+" ")]),_c('div',{staticClass:"icon",class:[_vm.isShowSelection && 'rotated']},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32","fill":"currentColor"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M16 0a2.4 2.4 0 012.4 2.4l-.001 11.199L29.6 13.6a2.4 2.4 0 010 4.8l-11.201-.001L18.4 29.6a2.4 2.4 0 01-4.8 0l-.001-11.201L2.4 18.4a2.4 2.4 0 010-4.8l11.199-.001L13.6 2.4A2.4 2.4 0 0116 0z"}})])])]),_c('NewTheme',{on:{"handleClickNewTheme":function($event){return _vm.$emit('handleClickNewTheme')}}}),(_vm.sendLonding)?_c('button',{staticClass:"control-button stop-responding-button",on:{"click":_vm.handleClickStopBtn}},[_c('div',{staticClass:"stop-icon"}),_c('span',[_vm._v("停止生成")])]):_vm._e()],1),_c('div',{staticClass:"input-container"},[(Object.keys(_vm.checkedPluginByBtn).length)?_c('div',{staticClass:"flex justify-between items-center plugin-town"},[_c('div',{},[_vm._v(" 已选智能体:"+_vm._s(_vm.checkedPluginByBtn.name)+" ")]),_c('div',{staticClass:"flex items-center justify-end",staticStyle:{"max-width":"50%"}},[_c('el-tooltip',{staticClass:"box-item",attrs:{"effect":"light","show-after":300,"placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_c('div',{staticClass:"p-2"},[_c('p',{staticClass:"pb-2 mb-2",staticStyle:{"border-bottom":"1px solid #dcdfe6"}},[_vm._v(" 参数提示 ")]),_vm._l((_vm.selPluginParams),function(key){return _c('div',{key:key,staticClass:"mb-1"},[_c('span',[_vm._v(_vm._s(_vm.plusParamToStr(key)))]),_c('br')])})],2)]),_c('svg',{staticClass:"cursor-pointer w-[20px] h-[20px]",style:({ color: _vm.pluginPayloadStr === '' ? '' : 'orange' }),attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"1em","height":"1em","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill":"currentColor","d":"M10 2a4 4 0 0 0-4 4v3H3v2h3v7a2 2 0 0 1-2 2H3v2h1a4 4 0 0 0 4-4v-7h3V9H8V6a2 2 0 0 1 2-2h1V2zm5.202 14.997L11.891 21h2.595l2.014-2.434L18.514 21h2.595l-3.311-4.003L21.105 13h-2.596L16.5 15.428L14.491 13h-2.595z"}})])]),(_vm.pluginPayloadStr === '')?[_c('svg',{staticClass:"icon cursor-pointer w-[20px] h-[20px]",attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"1em","height":"1em","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill":"black","d":"M4 18v-3.7a1.5 1.5 0 0 0-1.5-1.5H2v-1.6h.5A1.5 1.5 0 0 0 4 9.7V6a3 3 0 0 1 3-3h1v2H7a1 1 0 0 0-1 1v4.1A2 2 0 0 1 4.626 12A2 2 0 0 1 6 13.9V18a1 1 0 0 0 1 1h1v2H7a3 3 0 0 1-3-3m16-3.7V18a3 3 0 0 1-3 3h-1v-2h1a1 1 0 0 0 1-1v-4.1a2 2 0 0 1 1.374-1.9A2 2 0 0 1 18 10.1V6a1 1 0 0 0-1-1h-1V3h1a3 3 0 0 1 3 3v3.7a1.5 1.5 0 0 0 1.5 1.5h.5v1.6h-.5a1.5 1.5 0 0 0-1.5 1.5"}})])]:[_c('span',{staticClass:"cursor-pointer ml-3 mr-2 inline-block overflow-hidden whitespace-nowrap text-ellipsis",domProps:{"innerHTML":_vm._s(_vm.pluginPayloadStr)}}),_c('svg',{staticClass:"icon cursor-pointer w-[20px] h-[20px]",attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"1em","height":"1em","viewBox":"0 0 24 24"},on:{"click":_vm.clearPluginsPayload}},[_c('path',{attrs:{"fill":"black","d":"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415z"}})])]],2)]):_vm._e(),_c('div',{staticClass:"input-row",attrs:{"id":"copiFooter"}},[_c('div',{ref:"coptInput",staticClass:"text-area",attrs:{"contenteditable":"plaintext-only","placeholder":_vm.placeholder,"spellcheck":"false"},on:{"input":_vm.inputChange,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handlerSendMsg.apply(null, arguments)},_vm.handleKeyDown],"compositionstart":_vm.handleCompositionStart,"compositionend":_vm.handleCompositionEnd}})]),_c('div',{staticClass:"bottom-controls"},[_c('div',{staticClass:"bottom-left-controls"}),_c('div',{staticClass:"bottom-right-controls"},[_c('span',{staticClass:"text-sum"},[_c('span',[_vm._v(_vm._s(_vm.textLength))]),_vm._v("/2000")]),_c('button',{staticClass:"send-button",on:{"click":_vm.handlerSendMsg}},[_c('i',{staticClass:"el-icon-s-promotion",class:['icon'],style:({
|
|
18453
|
+
color: _vm.SendMsgBtnAllow ? '#1e56ea' : '#dbdbdb'
|
|
18360
18454
|
})})])])]),(_vm.stopDialogue)?_c('div',{staticClass:"disable",attrs:{"click.stop":""}}):_vm._e()])])
|
|
18361
18455
|
}
|
|
18362
|
-
var
|
|
18456
|
+
var SearchInputvue_type_template_id_fb0e45e0_scoped_true_staticRenderFns = []
|
|
18363
18457
|
|
|
18364
18458
|
|
|
18365
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=
|
|
18459
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=fb0e45e0&scoped=true
|
|
18366
18460
|
|
|
18367
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18368
|
-
var
|
|
18461
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=3e38eefe&scoped=true
|
|
18462
|
+
var NewThemevue_type_template_id_3e38eefe_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"outside-left-container"},[_c('button',{staticClass:"button-compose",style:({ width: _vm.newthemeWidth + 'px' }),attrs:{"type":"button","aria-label":"新主题"},on:{"mouseenter":_vm.mouseEnterBtn,"mouseleave":_vm.mouseLeaveBtn,"click":_vm.getNewTheme}},[_c('div',{staticClass:"button-compose-content"},[_c('div',{staticClass:"button-compose-icon"},[_c('svg',{staticClass:"button-compose-icon",attrs:{"width":"24","viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"fill":"#fff","d":"M12 2C17.5228 2 22 6.47715 22 12C22 12.2628 21.9899 12.5232 21.97 12.7809C21.5319 12.3658 21.0361 12.0111 20.4958 11.73C20.3532 7.16054 16.6041 3.5 12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 13.4696 3.87277 14.8834 4.57303 16.1375L4.72368 16.4072L3.61096 20.3914L7.59755 19.2792L7.86709 19.4295C9.04305 20.0852 10.3592 20.4531 11.73 20.4958C12.0111 21.0361 12.3658 21.5319 12.7809 21.97C12.5232 21.9899 12.2628 22 12 22C10.3817 22 8.81782 21.6146 7.41286 20.888L3.58704 21.9553C2.92212 22.141 2.23258 21.7525 2.04691 21.0876C1.98546 20.8676 1.98549 20.6349 2.04695 20.4151L3.11461 16.5922C2.38637 15.186 2 13.6203 2 12C2 6.47715 6.47715 2 12 2ZM23 17.5C23 14.4624 20.5376 12 17.5 12C14.4624 12 12 14.4624 12 17.5C12 20.5376 14.4624 23 17.5 23C20.5376 23 23 20.5376 23 17.5ZM18.0006 18L18.0011 20.5035C18.0011 20.7797 17.7773 21.0035 17.5011 21.0035C17.225 21.0035 17.0011 20.7797 17.0011 20.5035L17.0006 18H14.4956C14.2197 18 13.9961 17.7762 13.9961 17.5C13.9961 17.2239 14.2197 17 14.4956 17H17.0005L17 14.4993C17 14.2231 17.2239 13.9993 17.5 13.9993C17.7761 13.9993 18 14.2231 18 14.4993L18.0005 17H20.4966C20.7725 17 20.9961 17.2239 20.9961 17.5C20.9961 17.7762 20.7725 18 20.4966 18H18.0006Z"}})])]),_c('div',{staticClass:"button-compose-text"},[_vm._v(" 新主题 ")])])])])
|
|
18369
18463
|
}
|
|
18370
|
-
var
|
|
18464
|
+
var NewThemevue_type_template_id_3e38eefe_scoped_true_staticRenderFns = []
|
|
18371
18465
|
|
|
18372
18466
|
|
|
18373
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=
|
|
18467
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=3e38eefe&scoped=true
|
|
18374
18468
|
|
|
18375
18469
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=script&lang=js
|
|
18376
18470
|
|
|
@@ -18385,9 +18479,19 @@ var NewThemevue_type_template_id_4ec3d63f_scoped_true_staticRenderFns = []
|
|
|
18385
18479
|
computed: {
|
|
18386
18480
|
...Object(vuex_esm["d" /* mapState */])('copilot', ['isShowNewTheme'])
|
|
18387
18481
|
},
|
|
18482
|
+
watch: {
|
|
18483
|
+
isShowNewTheme(val) {
|
|
18484
|
+
if (val) {
|
|
18485
|
+
this.newthemeWidth = 100;
|
|
18486
|
+
} else {
|
|
18487
|
+
this.newthemeWidth = 40;
|
|
18488
|
+
}
|
|
18489
|
+
}
|
|
18490
|
+
},
|
|
18388
18491
|
methods: {
|
|
18389
18492
|
getNewTheme() {
|
|
18390
18493
|
this.$store.commit('copilot/resetCopilot');
|
|
18494
|
+
this.$emit('handleClickNewTheme');
|
|
18391
18495
|
},
|
|
18392
18496
|
mouseEnterBtn() {
|
|
18393
18497
|
this.newthemeWidth = 100;
|
|
@@ -18395,21 +18499,12 @@ var NewThemevue_type_template_id_4ec3d63f_scoped_true_staticRenderFns = []
|
|
|
18395
18499
|
mouseLeaveBtn() {
|
|
18396
18500
|
this.newthemeWidth = 40;
|
|
18397
18501
|
}
|
|
18398
|
-
},
|
|
18399
|
-
watch: {
|
|
18400
|
-
isShowNewTheme(val) {
|
|
18401
|
-
if (val) {
|
|
18402
|
-
this.newthemeWidth = 100;
|
|
18403
|
-
} else {
|
|
18404
|
-
this.newthemeWidth = 40;
|
|
18405
|
-
}
|
|
18406
|
-
}
|
|
18407
18502
|
}
|
|
18408
18503
|
});
|
|
18409
18504
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=script&lang=js
|
|
18410
18505
|
/* harmony default export */ var SearchInput_NewThemevue_type_script_lang_js = (NewThemevue_type_script_lang_js);
|
|
18411
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=style&index=0&id=
|
|
18412
|
-
var
|
|
18506
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=style&index=0&id=3e38eefe&prod&scoped=true&lang=css
|
|
18507
|
+
var NewThemevue_type_style_index_0_id_3e38eefe_prod_scoped_true_lang_css = __webpack_require__("53ee");
|
|
18413
18508
|
|
|
18414
18509
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue
|
|
18415
18510
|
|
|
@@ -18422,17 +18517,17 @@ var NewThemevue_type_style_index_0_id_4ec3d63f_prod_scoped_true_lang_css = __web
|
|
|
18422
18517
|
|
|
18423
18518
|
var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
18424
18519
|
SearchInput_NewThemevue_type_script_lang_js,
|
|
18425
|
-
|
|
18426
|
-
|
|
18520
|
+
NewThemevue_type_template_id_3e38eefe_scoped_true_render,
|
|
18521
|
+
NewThemevue_type_template_id_3e38eefe_scoped_true_staticRenderFns,
|
|
18427
18522
|
false,
|
|
18428
18523
|
null,
|
|
18429
|
-
"
|
|
18524
|
+
"3e38eefe",
|
|
18430
18525
|
null
|
|
18431
18526
|
|
|
18432
18527
|
)
|
|
18433
18528
|
|
|
18434
18529
|
/* harmony default export */ var NewTheme = (NewTheme_component.exports);
|
|
18435
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18530
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=f01c8388&scoped=true
|
|
18436
18531
|
var SelectPluginByKeyvue_type_template_id_f01c8388_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade-scale"}},[(_vm.isShowSelect)?_c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.onClickOutside),expression:"onClickOutside"}],staticClass:"selection",style:({ top: _vm.modal === 'key' ? '-105px' : '-150px' })},[_c('div',{ref:"pluginContent",staticClass:"plugin-content"},_vm._l((_vm.selectPluginList),function(plugin,index){return _c('el-popover',{key:index,attrs:{"offset":0,"placement":"right-start","title":plugin.name,"width":200,"trigger":"hover","content":plugin.introduce,"open-delay":200,"close-delay":0}},[_c('div',{ref:"pluginItem",refInFor:true,staticClass:"plugin-item",class:{ isSel: index === _vm.activePluInd },attrs:{"slot":"reference"},on:{"click":function($event){return _vm.choosePlugin(plugin)}},slot:"reference"},[_c('span',[_vm._v(_vm._s(plugin.name))]),_c('div',{staticClass:"plugin-item-right"},[_c('div',{staticClass:"select-radio",class:{ 'active-radio': _vm.checkedPluginByBtn === plugin }},[_c('i',{staticClass:"el-icon-check",class:['icon', { hoverIcon: index === _vm.activePluInd }]})])])])])}),1)]):_vm._e()])
|
|
18437
18532
|
}
|
|
18438
18533
|
var SelectPluginByKeyvue_type_template_id_f01c8388_scoped_true_staticRenderFns = []
|
|
@@ -18877,21 +18972,24 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18877
18972
|
timerCursor: null,
|
|
18878
18973
|
searchPluText: '',
|
|
18879
18974
|
selectPluginList: [],
|
|
18880
|
-
pluginModal: 'key'
|
|
18975
|
+
pluginModal: 'key',
|
|
18976
|
+
plusParamToStr: util["i" /* plusParamToStr */]
|
|
18881
18977
|
};
|
|
18882
18978
|
},
|
|
18883
18979
|
computed: {
|
|
18884
18980
|
...Object(vuex_esm["d" /* mapState */])('copilot', ['searchText', 'isSetOut', 'isInitCopilot', 'sendLonding', 'stopDialogue', 'checkedPluginBykey', 'checkedPluginByBtn', 'plugins', 'placeholder']),
|
|
18981
|
+
...Object(vuex_esm["b" /* mapGetters */])('copilot', ['selPluginParams', 'pluginPayloadStr']),
|
|
18885
18982
|
textLength() {
|
|
18886
18983
|
const num = this.searchText.length;
|
|
18887
18984
|
return num;
|
|
18985
|
+
},
|
|
18986
|
+
// 发送消息按钮是否可点击
|
|
18987
|
+
SendMsgBtnAllow: function () {
|
|
18988
|
+
return !this.sendLonding && (this.textLength || this.pluginPayloadStr !== '');
|
|
18888
18989
|
}
|
|
18889
18990
|
},
|
|
18890
18991
|
methods: {
|
|
18891
|
-
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendMsg', 'cancelRequest'
|
|
18892
|
-
// 其他需要在组件中使用的 action
|
|
18893
|
-
]),
|
|
18894
|
-
|
|
18992
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendMsg', 'cancelRequest', 'clearPluginsPayload']),
|
|
18895
18993
|
// 获取光标位置
|
|
18896
18994
|
getCursorPosition() {
|
|
18897
18995
|
// const editableDiv = this.$refs.coptInput
|
|
@@ -18999,6 +19097,7 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18999
19097
|
this.isShowSelect = false;
|
|
19000
19098
|
}
|
|
19001
19099
|
}
|
|
19100
|
+
break;
|
|
19002
19101
|
default:
|
|
19003
19102
|
break;
|
|
19004
19103
|
}
|
|
@@ -19050,11 +19149,13 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
19050
19149
|
return;
|
|
19051
19150
|
}
|
|
19052
19151
|
const sendText = this.searchText;
|
|
19152
|
+
if (!this.SendMsgBtnAllow) {
|
|
19153
|
+
return;
|
|
19154
|
+
}
|
|
19053
19155
|
this.sendMsg(sendText);
|
|
19054
19156
|
},
|
|
19055
19157
|
handleClickStopBtn() {
|
|
19056
19158
|
this.cancelRequest();
|
|
19057
|
-
console.log(0);
|
|
19058
19159
|
this.$emit('handleClickStopBtn');
|
|
19059
19160
|
// 停止打字机效果等其他逻辑
|
|
19060
19161
|
},
|
|
@@ -19146,8 +19247,8 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
19146
19247
|
});
|
|
19147
19248
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=script&lang=js
|
|
19148
19249
|
/* harmony default export */ var CopiFooter_SearchInputvue_type_script_lang_js = (SearchInputvue_type_script_lang_js);
|
|
19149
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=
|
|
19150
|
-
var
|
|
19250
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=fb0e45e0&prod&lang=scss&scoped=true
|
|
19251
|
+
var SearchInputvue_type_style_index_0_id_fb0e45e0_prod_lang_scss_scoped_true = __webpack_require__("ff51");
|
|
19151
19252
|
|
|
19152
19253
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue
|
|
19153
19254
|
|
|
@@ -19160,11 +19261,11 @@ var SearchInputvue_type_style_index_0_id_735a5be0_prod_lang_scss_scoped_true = _
|
|
|
19160
19261
|
|
|
19161
19262
|
var SearchInput_component = Object(componentNormalizer["a" /* default */])(
|
|
19162
19263
|
CopiFooter_SearchInputvue_type_script_lang_js,
|
|
19163
|
-
|
|
19164
|
-
|
|
19264
|
+
SearchInputvue_type_template_id_fb0e45e0_scoped_true_render,
|
|
19265
|
+
SearchInputvue_type_template_id_fb0e45e0_scoped_true_staticRenderFns,
|
|
19165
19266
|
false,
|
|
19166
19267
|
null,
|
|
19167
|
-
"
|
|
19268
|
+
"fb0e45e0",
|
|
19168
19269
|
null
|
|
19169
19270
|
|
|
19170
19271
|
)
|
|
@@ -19181,8 +19282,8 @@ var SearchInput_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19181
19282
|
});
|
|
19182
19283
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=script&lang=js
|
|
19183
19284
|
/* harmony default export */ var KgCopilot_CopiFootervue_type_script_lang_js = (CopiFootervue_type_script_lang_js);
|
|
19184
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=style&index=0&id=
|
|
19185
|
-
var
|
|
19285
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=style&index=0&id=68c53672&prod&scoped=true&lang=scss
|
|
19286
|
+
var CopiFootervue_type_style_index_0_id_68c53672_prod_scoped_true_lang_scss = __webpack_require__("3063");
|
|
19186
19287
|
|
|
19187
19288
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue
|
|
19188
19289
|
|
|
@@ -19195,11 +19296,11 @@ var CopiFootervue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss = __
|
|
|
19195
19296
|
|
|
19196
19297
|
var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
19197
19298
|
KgCopilot_CopiFootervue_type_script_lang_js,
|
|
19198
|
-
|
|
19199
|
-
|
|
19299
|
+
CopiFootervue_type_template_id_68c53672_scoped_true_render,
|
|
19300
|
+
CopiFootervue_type_template_id_68c53672_scoped_true_staticRenderFns,
|
|
19200
19301
|
false,
|
|
19201
19302
|
null,
|
|
19202
|
-
"
|
|
19303
|
+
"68c53672",
|
|
19203
19304
|
null
|
|
19204
19305
|
|
|
19205
19306
|
)
|
|
@@ -19248,6 +19349,20 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19248
19349
|
type: Object,
|
|
19249
19350
|
default: () => ({}),
|
|
19250
19351
|
required: true
|
|
19352
|
+
},
|
|
19353
|
+
pluginsPayload: {
|
|
19354
|
+
type: Object,
|
|
19355
|
+
default: () => ({}),
|
|
19356
|
+
required: false
|
|
19357
|
+
}
|
|
19358
|
+
},
|
|
19359
|
+
watch: {
|
|
19360
|
+
pluginsPayload: {
|
|
19361
|
+
handler: function (newVal) {
|
|
19362
|
+
this.setPluginsPayload(newVal);
|
|
19363
|
+
},
|
|
19364
|
+
immediate: true,
|
|
19365
|
+
deep: true
|
|
19251
19366
|
}
|
|
19252
19367
|
},
|
|
19253
19368
|
mounted() {
|
|
@@ -19265,6 +19380,7 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19265
19380
|
});
|
|
19266
19381
|
},
|
|
19267
19382
|
methods: {
|
|
19383
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['setPluginsPayload']),
|
|
19268
19384
|
getSearchText() {
|
|
19269
19385
|
return this.searchText;
|
|
19270
19386
|
},
|
|
@@ -19284,8 +19400,8 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19284
19400
|
});
|
|
19285
19401
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=script&lang=js
|
|
19286
19402
|
/* harmony default export */ var KgCopilot_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
19287
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=
|
|
19288
|
-
var
|
|
19403
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=1f69c22f&prod&scoped=true&lang=scss
|
|
19404
|
+
var mainvue_type_style_index_0_id_1f69c22f_prod_scoped_true_lang_scss = __webpack_require__("9c09");
|
|
19289
19405
|
|
|
19290
19406
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue
|
|
19291
19407
|
|
|
@@ -19302,7 +19418,7 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19302
19418
|
staticRenderFns,
|
|
19303
19419
|
false,
|
|
19304
19420
|
null,
|
|
19305
|
-
"
|
|
19421
|
+
"1f69c22f",
|
|
19306
19422
|
null
|
|
19307
19423
|
|
|
19308
19424
|
)
|
|
@@ -23921,7 +24037,7 @@ module.exports = function (input, pref) {
|
|
|
23921
24037
|
|
|
23922
24038
|
/***/ }),
|
|
23923
24039
|
|
|
23924
|
-
/***/ "
|
|
24040
|
+
/***/ "c152":
|
|
23925
24041
|
/***/ (function(module, exports, __webpack_require__) {
|
|
23926
24042
|
|
|
23927
24043
|
// extracted by mini-css-extract-plugin
|
|
@@ -25057,17 +25173,6 @@ module.exports =
|
|
|
25057
25173
|
|
|
25058
25174
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
25059
25175
|
|
|
25060
|
-
/***/ }),
|
|
25061
|
-
|
|
25062
|
-
/***/ "dac1":
|
|
25063
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25064
|
-
|
|
25065
|
-
"use strict";
|
|
25066
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewTheme_vue_vue_type_style_index_0_id_4ec3d63f_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("08b6");
|
|
25067
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewTheme_vue_vue_type_style_index_0_id_4ec3d63f_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NewTheme_vue_vue_type_style_index_0_id_4ec3d63f_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
25068
|
-
/* unused harmony reexport * */
|
|
25069
|
-
|
|
25070
|
-
|
|
25071
25176
|
/***/ }),
|
|
25072
25177
|
|
|
25073
25178
|
/***/ "dc4a":
|
|
@@ -25412,6 +25517,13 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
25412
25517
|
|
|
25413
25518
|
/***/ }),
|
|
25414
25519
|
|
|
25520
|
+
/***/ "e106":
|
|
25521
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25522
|
+
|
|
25523
|
+
// extracted by mini-css-extract-plugin
|
|
25524
|
+
|
|
25525
|
+
/***/ }),
|
|
25526
|
+
|
|
25415
25527
|
/***/ "e330":
|
|
25416
25528
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25417
25529
|
|
|
@@ -25610,17 +25722,6 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
25610
25722
|
|
|
25611
25723
|
// extracted by mini-css-extract-plugin
|
|
25612
25724
|
|
|
25613
|
-
/***/ }),
|
|
25614
|
-
|
|
25615
|
-
/***/ "ec95":
|
|
25616
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25617
|
-
|
|
25618
|
-
"use strict";
|
|
25619
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_bf1c24d4_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0770");
|
|
25620
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_bf1c24d4_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_bf1c24d4_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
25621
|
-
/* unused harmony reexport * */
|
|
25622
|
-
|
|
25623
|
-
|
|
25624
25725
|
/***/ }),
|
|
25625
25726
|
|
|
25626
25727
|
/***/ "ee8c":
|
|
@@ -26872,17 +26973,6 @@ function bash(hljs) {
|
|
|
26872
26973
|
module.exports = bash;
|
|
26873
26974
|
|
|
26874
26975
|
|
|
26875
|
-
/***/ }),
|
|
26876
|
-
|
|
26877
|
-
/***/ "f24f":
|
|
26878
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26879
|
-
|
|
26880
|
-
"use strict";
|
|
26881
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0eaa");
|
|
26882
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
26883
|
-
/* unused harmony reexport * */
|
|
26884
|
-
|
|
26885
|
-
|
|
26886
26976
|
/***/ }),
|
|
26887
26977
|
|
|
26888
26978
|
/***/ "f4da":
|
|
@@ -27639,6 +27729,13 @@ const {
|
|
|
27639
27729
|
|
|
27640
27730
|
|
|
27641
27731
|
|
|
27732
|
+
/***/ }),
|
|
27733
|
+
|
|
27734
|
+
/***/ "fc4b":
|
|
27735
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
27736
|
+
|
|
27737
|
+
// extracted by mini-css-extract-plugin
|
|
27738
|
+
|
|
27642
27739
|
/***/ }),
|
|
27643
27740
|
|
|
27644
27741
|
/***/ "fc6a":
|
|
@@ -27670,6 +27767,17 @@ module.exports = NATIVE_SYMBOL
|
|
|
27670
27767
|
&& typeof Symbol.iterator == 'symbol';
|
|
27671
27768
|
|
|
27672
27769
|
|
|
27770
|
+
/***/ }),
|
|
27771
|
+
|
|
27772
|
+
/***/ "ff51":
|
|
27773
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27774
|
+
|
|
27775
|
+
"use strict";
|
|
27776
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_fb0e45e0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fc4b");
|
|
27777
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_fb0e45e0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_fb0e45e0_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
27778
|
+
/* unused harmony reexport * */
|
|
27779
|
+
|
|
27780
|
+
|
|
27673
27781
|
/***/ })
|
|
27674
27782
|
|
|
27675
27783
|
/******/ })["default"];
|