@kg-ui/kg-ui 0.1.3 → 0.1.4
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/README.md +54 -54
- package/lib/main.common.js +159 -258
- package/lib/main.umd.js +159 -258
- package/lib/main.umd.min.js +3 -3
- package/package.json +83 -83
package/lib/main.umd.js
CHANGED
|
@@ -3682,9 +3682,6 @@ __webpack_require__.d(__webpack_exports__, "DataType", function() { return /* bi
|
|
|
3682
3682
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
3683
3683
|
var es_array_push = __webpack_require__("14d9");
|
|
3684
3684
|
|
|
3685
|
-
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
3686
|
-
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
3687
|
-
|
|
3688
3685
|
// CONCATENATED MODULE: ./node_modules/@microsoft/fetch-event-source/lib/esm/parse.js
|
|
3689
3686
|
async function getBytes(stream, onChunk) {
|
|
3690
3687
|
const reader = stream.getReader();
|
|
@@ -4067,16 +4064,11 @@ var _requestMap = {
|
|
|
4067
4064
|
value: {}
|
|
4068
4065
|
};
|
|
4069
4066
|
const http = new http_PureHttp();
|
|
4070
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/utils/util.js + 1 modules
|
|
4071
|
-
var util = __webpack_require__("4bce");
|
|
4072
|
-
|
|
4073
4067
|
// CONCATENATED MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js
|
|
4074
4068
|
|
|
4075
4069
|
|
|
4076
4070
|
|
|
4077
4071
|
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
4072
|
const DataType = {
|
|
4081
4073
|
text: 'text',
|
|
4082
4074
|
edit: 'edit',
|
|
@@ -4238,7 +4230,6 @@ const actions = {
|
|
|
4238
4230
|
commit,
|
|
4239
4231
|
dispatch
|
|
4240
4232
|
}, msg) {
|
|
4241
|
-
var _pluginList$;
|
|
4242
4233
|
if (!msg) {
|
|
4243
4234
|
return;
|
|
4244
4235
|
}
|
|
@@ -4274,18 +4265,12 @@ const actions = {
|
|
|
4274
4265
|
const {
|
|
4275
4266
|
name,
|
|
4276
4267
|
param_desc,
|
|
4277
|
-
|
|
4278
|
-
url,
|
|
4279
|
-
requestParameFn,
|
|
4280
|
-
responseParameFn
|
|
4268
|
+
url
|
|
4281
4269
|
} = state.checkedPluginByBtn;
|
|
4282
4270
|
pluginList = [{
|
|
4283
4271
|
name,
|
|
4284
4272
|
param_desc,
|
|
4285
|
-
|
|
4286
|
-
url,
|
|
4287
|
-
requestParameFn,
|
|
4288
|
-
responseParameFn
|
|
4273
|
+
url
|
|
4289
4274
|
}];
|
|
4290
4275
|
} else {
|
|
4291
4276
|
pluginList = state.plugins.map(item => {
|
|
@@ -4301,15 +4286,6 @@ const actions = {
|
|
|
4301
4286
|
};
|
|
4302
4287
|
});
|
|
4303
4288
|
}
|
|
4304
|
-
|
|
4305
|
-
// 验证dify 接口
|
|
4306
|
-
if ((_pluginList$ = pluginList[0]) !== null && _pluginList$ !== void 0 && _pluginList$.isDify) {
|
|
4307
|
-
dispatch('sendPluginMsg_dify', {
|
|
4308
|
-
sendMsg: msg,
|
|
4309
|
-
pluginList
|
|
4310
|
-
});
|
|
4311
|
-
return;
|
|
4312
|
-
}
|
|
4313
4289
|
commit('setCancelUrl', state.intelligentAnalysisConfig.url);
|
|
4314
4290
|
const chatgptAnalysisResult = await http.post(state.intelligentAnalysisConfig.url, {
|
|
4315
4291
|
data: {
|
|
@@ -4394,70 +4370,14 @@ const actions = {
|
|
|
4394
4370
|
content,
|
|
4395
4371
|
isOver
|
|
4396
4372
|
} = state.currentUsePlugin.responseParameFn(msg);
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
},
|
|
4406
|
-
onclose: () => {
|
|
4407
|
-
dispatch('sseRequestOver');
|
|
4408
|
-
state.currentUsePlugin.onclose && state.currentUsePlugin.onclose();
|
|
4409
|
-
}
|
|
4410
|
-
}));
|
|
4411
|
-
},
|
|
4412
|
-
sendPluginMsg_dify({
|
|
4413
|
-
state,
|
|
4414
|
-
commit,
|
|
4415
|
-
dispatch
|
|
4416
|
-
}, {
|
|
4417
|
-
sendMsg,
|
|
4418
|
-
pluginList
|
|
4419
|
-
}) {
|
|
4420
|
-
state.currentUsePlugin.requestParameFn = pluginList[0].requestParameFn ? pluginList[0].requestParameFn : config => config;
|
|
4421
|
-
state.currentUsePlugin.name = pluginList[0].name;
|
|
4422
|
-
const param = Object(util["h" /* getDifyInputParam */])(sendMsg);
|
|
4423
|
-
const {
|
|
4424
|
-
data,
|
|
4425
|
-
headers
|
|
4426
|
-
} = state.currentUsePlugin.requestParameFn({
|
|
4427
|
-
data: {
|
|
4428
|
-
inputs: param,
|
|
4429
|
-
response_mode: 'streaming',
|
|
4430
|
-
user: 'kg_ai'
|
|
4431
|
-
},
|
|
4432
|
-
headers: {
|
|
4433
|
-
accessToken: state.intelligentAnalysisConfig.token
|
|
4434
|
-
}
|
|
4435
|
-
});
|
|
4436
|
-
commit('setRequestSseing', true);
|
|
4437
|
-
const url = pluginList[0].url;
|
|
4438
|
-
commit('setCancelsse', getReport({
|
|
4439
|
-
sendUrl: url,
|
|
4440
|
-
method: 'POST',
|
|
4441
|
-
data,
|
|
4442
|
-
headers,
|
|
4443
|
-
onerror: () => {
|
|
4444
|
-
commit('responseMsg', {
|
|
4445
|
-
type: DataType.text,
|
|
4446
|
-
content: '联网异常'
|
|
4447
|
-
});
|
|
4448
|
-
dispatch('sseRequestOver');
|
|
4449
|
-
},
|
|
4450
|
-
onmessage: msg => {
|
|
4451
|
-
const {
|
|
4452
|
-
type,
|
|
4453
|
-
content,
|
|
4454
|
-
isOver
|
|
4455
|
-
} = pluginList[0].responseParameFn(msg);
|
|
4456
|
-
if (isOver) {
|
|
4457
|
-
commit('responseMsg', {
|
|
4458
|
-
type,
|
|
4459
|
-
content: '<br>'
|
|
4460
|
-
});
|
|
4373
|
+
const isDify = !!this.currentUsePlugin.isDify;
|
|
4374
|
+
if (isDify) {
|
|
4375
|
+
if (isOver) {
|
|
4376
|
+
commit('responseMsg', {
|
|
4377
|
+
type,
|
|
4378
|
+
content: '<br>'
|
|
4379
|
+
});
|
|
4380
|
+
}
|
|
4461
4381
|
}
|
|
4462
4382
|
if (content) {
|
|
4463
4383
|
commit('responseMsg', {
|
|
@@ -4607,7 +4527,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4607
4527
|
// ESM COMPAT FLAG
|
|
4608
4528
|
__webpack_require__.r(__webpack_exports__);
|
|
4609
4529
|
|
|
4610
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4530
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
4611
4531
|
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)
|
|
4612
4532
|
}
|
|
4613
4533
|
var staticRenderFns = []
|
|
@@ -4618,7 +4538,7 @@ var staticRenderFns = []
|
|
|
4618
4538
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
4619
4539
|
var es_error_cause = __webpack_require__("d9e2");
|
|
4620
4540
|
|
|
4621
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4541
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
4622
4542
|
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)
|
|
4623
4543
|
}
|
|
4624
4544
|
var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
@@ -4626,7 +4546,7 @@ var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
|
4626
4546
|
|
|
4627
4547
|
// CONCATENATED MODULE: ./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4628
4548
|
|
|
4629
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4549
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
4630
4550
|
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()])
|
|
4631
4551
|
}
|
|
4632
4552
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_staticRenderFns = []
|
|
@@ -9718,8 +9638,7 @@ __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding *
|
|
|
9718
9638
|
__webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ dependencyTransition; });
|
|
9719
9639
|
__webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ filterPluginByPinyin; });
|
|
9720
9640
|
__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ convertBytes; });
|
|
9721
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
9722
|
-
__webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ getDifyInputParam; });
|
|
9641
|
+
__webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ urlDownload; });
|
|
9723
9642
|
|
|
9724
9643
|
// UNUSED EXPORTS: checkNameValidity, isEmpty, isDef, get, isObj, deepAssign
|
|
9725
9644
|
|
|
@@ -9739,14 +9658,14 @@ function n(n,a,i){return(a=function(n){var a=function(n,a){if("object"!=typeof n
|
|
|
9739
9658
|
|
|
9740
9659
|
|
|
9741
9660
|
|
|
9742
|
-
/**
|
|
9743
|
-
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9744
|
-
* curF:当前分类
|
|
9745
|
-
* selIds:当前选中的分类id集合
|
|
9746
|
-
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9747
|
-
* selsMappingData: 选中的关联关系集合
|
|
9748
|
-
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9749
|
-
* return boolean 当前分类是否显示
|
|
9661
|
+
/**
|
|
9662
|
+
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9663
|
+
* curF:当前分类
|
|
9664
|
+
* selIds:当前选中的分类id集合
|
|
9665
|
+
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9666
|
+
* selsMappingData: 选中的关联关系集合
|
|
9667
|
+
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9668
|
+
* return boolean 当前分类是否显示
|
|
9750
9669
|
* */
|
|
9751
9670
|
|
|
9752
9671
|
const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingData) => {
|
|
@@ -9764,8 +9683,8 @@ const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingD
|
|
|
9764
9683
|
return names.includes(curF.label_name);
|
|
9765
9684
|
};
|
|
9766
9685
|
|
|
9767
|
-
/**
|
|
9768
|
-
* 类别筛选-字母快捷筛选
|
|
9686
|
+
/**
|
|
9687
|
+
* 类别筛选-字母快捷筛选
|
|
9769
9688
|
* */
|
|
9770
9689
|
const checkFilterShow_letter = (filter, letter, lang) => {
|
|
9771
9690
|
let isMatch;
|
|
@@ -9941,24 +9860,6 @@ const urlDownload = (url, fileName = '下载文件') => {
|
|
|
9941
9860
|
// 然后移除
|
|
9942
9861
|
document.body.removeChild(eleLink);
|
|
9943
9862
|
};
|
|
9944
|
-
const getDifyInputParam = sendMsg => {
|
|
9945
|
-
// 创建隐藏的可下载链接
|
|
9946
|
-
const parts = sendMsg.split(' ');
|
|
9947
|
-
// 检查最后一个元素是否为数字
|
|
9948
|
-
let days;
|
|
9949
|
-
const lastPart = parts[parts.length - 1];
|
|
9950
|
-
if (!isNaN(lastPart)) {
|
|
9951
|
-
days = lastPart;
|
|
9952
|
-
parts.pop();
|
|
9953
|
-
} else {
|
|
9954
|
-
days = '3';
|
|
9955
|
-
}
|
|
9956
|
-
const keywords = parts.join(' ');
|
|
9957
|
-
return {
|
|
9958
|
-
keywords: keywords,
|
|
9959
|
-
days: days
|
|
9960
|
-
};
|
|
9961
|
-
};
|
|
9962
9863
|
|
|
9963
9864
|
/***/ }),
|
|
9964
9865
|
|
|
@@ -11246,7 +11147,7 @@ module.exports = function (bitmap, value) {
|
|
|
11246
11147
|
// ESM COMPAT FLAG
|
|
11247
11148
|
__webpack_require__.r(__webpack_exports__);
|
|
11248
11149
|
|
|
11249
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11150
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
11250
11151
|
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)
|
|
11251
11152
|
}
|
|
11252
11153
|
var staticRenderFns = []
|
|
@@ -11257,7 +11158,7 @@ var staticRenderFns = []
|
|
|
11257
11158
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
11258
11159
|
var es_array_push = __webpack_require__("14d9");
|
|
11259
11160
|
|
|
11260
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11161
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
11261
11162
|
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)
|
|
11262
11163
|
}
|
|
11263
11164
|
var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
@@ -11265,7 +11166,7 @@ var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
|
11265
11166
|
|
|
11266
11167
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
11267
11168
|
|
|
11268
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11169
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
11269
11170
|
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:{
|
|
11270
11171
|
multiple: filter.multipleSel,
|
|
11271
11172
|
xinyuan: filter.kind === _vm.EnumFilterKind.XinYuan,
|
|
@@ -11304,7 +11205,7 @@ var FilterAreavue_type_template_id_79c8b408_scoped_true_staticRenderFns = []
|
|
|
11304
11205
|
|
|
11305
11206
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
11306
11207
|
|
|
11307
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11208
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
11308
11209
|
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)
|
|
11309
11210
|
}
|
|
11310
11211
|
var FilterItemvue_type_template_id_112c4e1e_scoped_true_staticRenderFns = []
|
|
@@ -11391,7 +11292,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11391
11292
|
)
|
|
11392
11293
|
|
|
11393
11294
|
/* harmony default export */ var FilterItem = (component.exports);
|
|
11394
|
-
// 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":"10c76f6a-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
|
|
11395
11296
|
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)])
|
|
11396
11297
|
}
|
|
11397
11298
|
var FilterItemIconvue_type_template_id_f9d03fdc_scoped_true_staticRenderFns = []
|
|
@@ -17516,7 +17417,7 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
17516
17417
|
// ESM COMPAT FLAG
|
|
17517
17418
|
__webpack_require__.r(__webpack_exports__);
|
|
17518
17419
|
|
|
17519
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17420
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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=566d1286&scoped=true
|
|
17520
17421
|
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')],1)],1)])
|
|
17521
17422
|
}
|
|
17522
17423
|
var staticRenderFns = []
|
|
@@ -17524,7 +17425,7 @@ var staticRenderFns = []
|
|
|
17524
17425
|
|
|
17525
17426
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=566d1286&scoped=true
|
|
17526
17427
|
|
|
17527
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17428
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
17528
17429
|
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)
|
|
17529
17430
|
}
|
|
17530
17431
|
var dialoguevue_type_template_id_0e62fc1e_scoped_true_staticRenderFns = []
|
|
@@ -17532,7 +17433,7 @@ var dialoguevue_type_template_id_0e62fc1e_scoped_true_staticRenderFns = []
|
|
|
17532
17433
|
|
|
17533
17434
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=0e62fc1e&scoped=true
|
|
17534
17435
|
|
|
17535
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17436
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
17536
17437
|
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)
|
|
17537
17438
|
}
|
|
17538
17439
|
var messageParsevue_type_template_id_1b518448_scoped_true_staticRenderFns = []
|
|
@@ -17543,7 +17444,7 @@ var messageParsevue_type_template_id_1b518448_scoped_true_staticRenderFns = []
|
|
|
17543
17444
|
// EXTERNAL MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js + 11 modules
|
|
17544
17445
|
var copilotStore = __webpack_require__("187e");
|
|
17545
17446
|
|
|
17546
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17447
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
17547
17448
|
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)}})])
|
|
17548
17449
|
}
|
|
17549
17450
|
var readMdvue_type_template_id_1ecd7bbc_scoped_true_staticRenderFns = []
|
|
@@ -17567,10 +17468,10 @@ const States = {
|
|
|
17567
17468
|
codeStartBig: 2 // 大代码块状态
|
|
17568
17469
|
};
|
|
17569
17470
|
|
|
17570
|
-
/**
|
|
17571
|
-
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17572
|
-
* @param text
|
|
17573
|
-
* @returns {boolean}
|
|
17471
|
+
/**
|
|
17472
|
+
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17473
|
+
* @param text
|
|
17474
|
+
* @returns {boolean}
|
|
17574
17475
|
*/
|
|
17575
17476
|
function isInCode(text) {
|
|
17576
17477
|
let state = States.text;
|
|
@@ -17775,7 +17676,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
17775
17676
|
)
|
|
17776
17677
|
|
|
17777
17678
|
/* harmony default export */ var readMd = (component.exports);
|
|
17778
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17679
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
17779
17680
|
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("下载")])])
|
|
17780
17681
|
}
|
|
17781
17682
|
var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
@@ -17783,7 +17684,7 @@ var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
|
17783
17684
|
|
|
17784
17685
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17785
17686
|
|
|
17786
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17687
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
17787
17688
|
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()])
|
|
17788
17689
|
}
|
|
17789
17690
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_staticRenderFns = []
|
|
@@ -17866,7 +17767,7 @@ var util = __webpack_require__("4bce");
|
|
|
17866
17767
|
}
|
|
17867
17768
|
},
|
|
17868
17769
|
downLoadFilde() {
|
|
17869
|
-
Object(util["
|
|
17770
|
+
Object(util["h" /* urlDownload */])(this.desc.fileUrl, this.desc.name);
|
|
17870
17771
|
}
|
|
17871
17772
|
},
|
|
17872
17773
|
mounted() {
|
|
@@ -17900,7 +17801,7 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17900
17801
|
)
|
|
17901
17802
|
|
|
17902
17803
|
/* harmony default export */ var fileBox = (fileBox_component.exports);
|
|
17903
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17804
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
17904
17805
|
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:{
|
|
17905
17806
|
'icon-item': true,
|
|
17906
17807
|
'cursor-default': !_vm.sendLonding
|
|
@@ -17911,7 +17812,7 @@ var editvue_type_template_id_ecb8431a_scoped_true_staticRenderFns = []
|
|
|
17911
17812
|
|
|
17912
17813
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17913
17814
|
|
|
17914
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17815
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
17915
17816
|
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"}})])
|
|
17916
17817
|
}
|
|
17917
17818
|
var thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns = []
|
|
@@ -17939,96 +17840,96 @@ var thumbsDown_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17939
17840
|
|
|
17940
17841
|
/* harmony default export */ var thumbsDown = (thumbsDown_component.exports);
|
|
17941
17842
|
// CONCATENATED MODULE: ./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=script&lang=ts
|
|
17942
|
-
|
|
17943
|
-
|
|
17944
|
-
|
|
17945
|
-
|
|
17946
|
-
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17947
|
-
components: {
|
|
17948
|
-
ReadMd: readMd,
|
|
17949
|
-
ThumbsDown: thumbsDown
|
|
17950
|
-
},
|
|
17951
|
-
props: {
|
|
17952
|
-
// 输入的 markdown 文本
|
|
17953
|
-
content: {
|
|
17954
|
-
type: Object,
|
|
17955
|
-
default: () => {}
|
|
17956
|
-
},
|
|
17957
|
-
isPrinting: {
|
|
17958
|
-
type: Boolean,
|
|
17959
|
-
default: false
|
|
17960
|
-
},
|
|
17961
|
-
scrollToBottom: {
|
|
17962
|
-
type: Function,
|
|
17963
|
-
default: () => {}
|
|
17964
|
-
}
|
|
17965
|
-
},
|
|
17966
|
-
data() {
|
|
17967
|
-
return {
|
|
17968
|
-
updateObj: {
|
|
17969
|
-
userLogic: {
|
|
17970
|
-
title: '提取的关键词信息:',
|
|
17971
|
-
type: 'text',
|
|
17972
|
-
value: this.content.updateInfo.userLogic
|
|
17973
|
-
}
|
|
17974
|
-
},
|
|
17975
|
-
printing: true,
|
|
17976
|
-
showButton: false,
|
|
17977
|
-
countDown: 5,
|
|
17978
|
-
interval: 0,
|
|
17979
|
-
isEditing: false,
|
|
17980
|
-
oldUserLogic: this.content.updateInfo.userLogic
|
|
17981
|
-
}
|
|
17982
|
-
},
|
|
17983
|
-
computed: {
|
|
17984
|
-
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17985
|
-
},
|
|
17986
|
-
methods: {
|
|
17987
|
-
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17988
|
-
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17989
|
-
confirm() {
|
|
17990
|
-
clearInterval(this.interval)
|
|
17991
|
-
this.showButton = false
|
|
17992
|
-
this.isEditing = false
|
|
17993
|
-
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17994
|
-
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17995
|
-
this.onlyCancelRequest()
|
|
17996
|
-
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17997
|
-
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17998
|
-
this.sendPluginMsg()
|
|
17999
|
-
return
|
|
18000
|
-
}
|
|
18001
|
-
this.finalComm(false)
|
|
18002
|
-
},
|
|
18003
|
-
finalComm(isEdit = false) {
|
|
18004
|
-
this.$emit('update:isPrinting', false)
|
|
18005
|
-
this.$emit('printOk', isEdit) //改动为true
|
|
18006
|
-
},
|
|
18007
|
-
printOk() {
|
|
18008
|
-
this.showButton = true
|
|
18009
|
-
this.scrollToBottom()
|
|
18010
|
-
this.interval = setInterval(() => {
|
|
18011
|
-
this.countDown--
|
|
18012
|
-
if (this.countDown <= 0) {
|
|
18013
|
-
clearInterval(this.interval)
|
|
18014
|
-
this.showButton = false
|
|
18015
|
-
this.finalComm(false)
|
|
18016
|
-
}
|
|
18017
|
-
}, 1000)
|
|
18018
|
-
},
|
|
18019
|
-
toEdit() {
|
|
18020
|
-
this.interval = clearInterval(this.interval)
|
|
18021
|
-
if (this.sendLonding) this.isEditing = true
|
|
18022
|
-
}
|
|
18023
|
-
},
|
|
18024
|
-
watch: {
|
|
18025
|
-
sendLonding(newValue) {
|
|
18026
|
-
if (!newValue) {
|
|
18027
|
-
this.$emit('update:isPrinting', false)
|
|
18028
|
-
}
|
|
18029
|
-
}
|
|
18030
|
-
}
|
|
18031
|
-
});
|
|
17843
|
+
|
|
17844
|
+
|
|
17845
|
+
|
|
17846
|
+
|
|
17847
|
+
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17848
|
+
components: {
|
|
17849
|
+
ReadMd: readMd,
|
|
17850
|
+
ThumbsDown: thumbsDown
|
|
17851
|
+
},
|
|
17852
|
+
props: {
|
|
17853
|
+
// 输入的 markdown 文本
|
|
17854
|
+
content: {
|
|
17855
|
+
type: Object,
|
|
17856
|
+
default: () => {}
|
|
17857
|
+
},
|
|
17858
|
+
isPrinting: {
|
|
17859
|
+
type: Boolean,
|
|
17860
|
+
default: false
|
|
17861
|
+
},
|
|
17862
|
+
scrollToBottom: {
|
|
17863
|
+
type: Function,
|
|
17864
|
+
default: () => {}
|
|
17865
|
+
}
|
|
17866
|
+
},
|
|
17867
|
+
data() {
|
|
17868
|
+
return {
|
|
17869
|
+
updateObj: {
|
|
17870
|
+
userLogic: {
|
|
17871
|
+
title: '提取的关键词信息:',
|
|
17872
|
+
type: 'text',
|
|
17873
|
+
value: this.content.updateInfo.userLogic
|
|
17874
|
+
}
|
|
17875
|
+
},
|
|
17876
|
+
printing: true,
|
|
17877
|
+
showButton: false,
|
|
17878
|
+
countDown: 5,
|
|
17879
|
+
interval: 0,
|
|
17880
|
+
isEditing: false,
|
|
17881
|
+
oldUserLogic: this.content.updateInfo.userLogic
|
|
17882
|
+
}
|
|
17883
|
+
},
|
|
17884
|
+
computed: {
|
|
17885
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17886
|
+
},
|
|
17887
|
+
methods: {
|
|
17888
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17889
|
+
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17890
|
+
confirm() {
|
|
17891
|
+
clearInterval(this.interval)
|
|
17892
|
+
this.showButton = false
|
|
17893
|
+
this.isEditing = false
|
|
17894
|
+
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17895
|
+
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17896
|
+
this.onlyCancelRequest()
|
|
17897
|
+
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17898
|
+
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17899
|
+
this.sendPluginMsg()
|
|
17900
|
+
return
|
|
17901
|
+
}
|
|
17902
|
+
this.finalComm(false)
|
|
17903
|
+
},
|
|
17904
|
+
finalComm(isEdit = false) {
|
|
17905
|
+
this.$emit('update:isPrinting', false)
|
|
17906
|
+
this.$emit('printOk', isEdit) //改动为true
|
|
17907
|
+
},
|
|
17908
|
+
printOk() {
|
|
17909
|
+
this.showButton = true
|
|
17910
|
+
this.scrollToBottom()
|
|
17911
|
+
this.interval = setInterval(() => {
|
|
17912
|
+
this.countDown--
|
|
17913
|
+
if (this.countDown <= 0) {
|
|
17914
|
+
clearInterval(this.interval)
|
|
17915
|
+
this.showButton = false
|
|
17916
|
+
this.finalComm(false)
|
|
17917
|
+
}
|
|
17918
|
+
}, 1000)
|
|
17919
|
+
},
|
|
17920
|
+
toEdit() {
|
|
17921
|
+
this.interval = clearInterval(this.interval)
|
|
17922
|
+
if (this.sendLonding) this.isEditing = true
|
|
17923
|
+
}
|
|
17924
|
+
},
|
|
17925
|
+
watch: {
|
|
17926
|
+
sendLonding(newValue) {
|
|
17927
|
+
if (!newValue) {
|
|
17928
|
+
this.$emit('update:isPrinting', false)
|
|
17929
|
+
}
|
|
17930
|
+
}
|
|
17931
|
+
}
|
|
17932
|
+
});
|
|
18032
17933
|
|
|
18033
17934
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=script&lang=ts
|
|
18034
17935
|
/* harmony default export */ var messageParse_editvue_type_script_lang_ts = (editvue_type_script_lang_ts);
|
|
@@ -18162,7 +18063,7 @@ var messageParse_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18162
18063
|
)
|
|
18163
18064
|
|
|
18164
18065
|
/* harmony default export */ var messageParse = (messageParse_component.exports);
|
|
18165
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18066
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
18166
18067
|
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("你")])])
|
|
18167
18068
|
}
|
|
18168
18069
|
var UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns = []
|
|
@@ -18193,7 +18094,7 @@ var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18193
18094
|
)
|
|
18194
18095
|
|
|
18195
18096
|
/* harmony default export */ var UserHead = (UserHead_component.exports);
|
|
18196
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18097
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
18197
18098
|
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))])])
|
|
18198
18099
|
}
|
|
18199
18100
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_staticRenderFns = []
|
|
@@ -18234,7 +18135,7 @@ var AnswerHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18234
18135
|
)
|
|
18235
18136
|
|
|
18236
18137
|
/* harmony default export */ var AnswerHead = (AnswerHead_component.exports);
|
|
18237
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18138
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
18238
18139
|
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"}})])
|
|
18239
18140
|
}
|
|
18240
18141
|
var copyvue_type_template_id_78ca311e_staticRenderFns = []
|
|
@@ -18261,7 +18162,7 @@ var copy_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18261
18162
|
)
|
|
18262
18163
|
|
|
18263
18164
|
/* harmony default export */ var copy = (copy_component.exports);
|
|
18264
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18165
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
18265
18166
|
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"}})])
|
|
18266
18167
|
}
|
|
18267
18168
|
var downloadvue_type_template_id_32982189_staticRenderFns = []
|
|
@@ -18288,7 +18189,7 @@ var download_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18288
18189
|
)
|
|
18289
18190
|
|
|
18290
18191
|
/* harmony default export */ var download = (download_component.exports);
|
|
18291
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18192
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
18292
18193
|
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"}})])
|
|
18293
18194
|
}
|
|
18294
18195
|
var speakervue_type_template_id_8a336b68_staticRenderFns = []
|
|
@@ -18315,7 +18216,7 @@ var speaker_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18315
18216
|
)
|
|
18316
18217
|
|
|
18317
18218
|
/* harmony default export */ var speaker = (speaker_component.exports);
|
|
18318
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18219
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
18319
18220
|
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"}})])
|
|
18320
18221
|
}
|
|
18321
18222
|
var likevue_type_template_id_3bb849e2_staticRenderFns = []
|
|
@@ -18342,7 +18243,7 @@ var like_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18342
18243
|
)
|
|
18343
18244
|
|
|
18344
18245
|
/* harmony default export */ var like = (like_component.exports);
|
|
18345
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18246
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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
|
|
18346
18247
|
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"}})])
|
|
18347
18248
|
}
|
|
18348
18249
|
var notlikevue_type_template_id_646e792e_staticRenderFns = []
|
|
@@ -18448,7 +18349,7 @@ var dialogue_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18448
18349
|
)
|
|
18449
18350
|
|
|
18450
18351
|
/* harmony default export */ var dialogue = (dialogue_component.exports);
|
|
18451
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18352
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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=699521c0&scoped=true
|
|
18452
18353
|
var CopiFootervue_type_template_id_699521c0_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"copilot-footer"},[_c('div',{staticClass:"root"},[_c('SearchInput')],1)])
|
|
18453
18354
|
}
|
|
18454
18355
|
var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
@@ -18456,7 +18357,7 @@ var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
|
18456
18357
|
|
|
18457
18358
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=699521c0&scoped=true
|
|
18458
18359
|
|
|
18459
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18360
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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=7bddf706&scoped=true
|
|
18460
18361
|
var SearchInputvue_type_template_id_7bddf706_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:{"isShowSelect":_vm.isShowSelect,"selectPluginList":_vm.selectPluginList,"modal":_vm.pluginModal,"activePluInd":_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'),(_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:"plugin-town"},[_vm._v(" 已选智能体:"+_vm._s(_vm.checkedPluginByBtn.name)+" ")]):_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:({
|
|
18461
18362
|
color: _vm.textLength && !_vm.sendLonding ? '#1e56ea' : '#dbdbdb'
|
|
18462
18363
|
})})])])]),(_vm.stopDialogue)?_c('div',{staticClass:"disable",attrs:{"click.stop":""}}):_vm._e()])])
|
|
@@ -18466,7 +18367,7 @@ var SearchInputvue_type_template_id_7bddf706_scoped_true_staticRenderFns = []
|
|
|
18466
18367
|
|
|
18467
18368
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=7bddf706&scoped=true
|
|
18468
18369
|
|
|
18469
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18370
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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=4ec3d63f&scoped=true
|
|
18470
18371
|
var NewThemevue_type_template_id_4ec3d63f_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("新主题")])])])])
|
|
18471
18372
|
}
|
|
18472
18373
|
var NewThemevue_type_template_id_4ec3d63f_scoped_true_staticRenderFns = []
|
|
@@ -18534,7 +18435,7 @@ var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18534
18435
|
)
|
|
18535
18436
|
|
|
18536
18437
|
/* harmony default export */ var NewTheme = (NewTheme_component.exports);
|
|
18537
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18438
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10c76f6a-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=106f14ca&scoped=true
|
|
18538
18439
|
var SelectPluginByKeyvue_type_template_id_106f14ca_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()])
|
|
18539
18440
|
}
|
|
18540
18441
|
var SelectPluginByKeyvue_type_template_id_106f14ca_scoped_true_staticRenderFns = []
|
|
@@ -19841,9 +19742,9 @@ const getters = {
|
|
|
19841
19742
|
}
|
|
19842
19743
|
return arr;
|
|
19843
19744
|
},
|
|
19844
|
-
/**
|
|
19845
|
-
* 根据选中的信源,返回总的信源类别关联2
|
|
19846
|
-
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19745
|
+
/**
|
|
19746
|
+
* 根据选中的信源,返回总的信源类别关联2
|
|
19747
|
+
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19847
19748
|
* */
|
|
19848
19749
|
mappingData_selAll_xinyuan: (state, getters) => {
|
|
19849
19750
|
let mappingData = []; // 取交集
|
|
@@ -19867,9 +19768,9 @@ const getters = {
|
|
|
19867
19768
|
// console.log('依赖总映射', dependencyTransition(mappingData, state.filterList))
|
|
19868
19769
|
return Object(_utils_util__WEBPACK_IMPORTED_MODULE_2__[/* dependencyTransition */ "f"])(mappingData, state.filterList);
|
|
19869
19770
|
},
|
|
19870
|
-
/**
|
|
19871
|
-
* 根据选中的主体和属性,返回总的关联类别 (行交集,列交集)
|
|
19872
|
-
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19771
|
+
/**
|
|
19772
|
+
* 根据选中的主体和属性,返回总的关联类别 (行交集,列交集)
|
|
19773
|
+
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19873
19774
|
* */
|
|
19874
19775
|
mappingData_selAll_zhuti_new: (state, getters) => {
|
|
19875
19776
|
let mappingData = []; // 取交集
|
|
@@ -19892,9 +19793,9 @@ const getters = {
|
|
|
19892
19793
|
}
|
|
19893
19794
|
return Object(_utils_util__WEBPACK_IMPORTED_MODULE_2__[/* dependencyTransition */ "f"])(mappingData, state.filterList);
|
|
19894
19795
|
},
|
|
19895
|
-
/**
|
|
19896
|
-
* 根据选中的query,返回总的关联类别 (行交集,列交集)
|
|
19897
|
-
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19796
|
+
/**
|
|
19797
|
+
* 根据选中的query,返回总的关联类别 (行交集,列交集)
|
|
19798
|
+
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19898
19799
|
* */
|
|
19899
19800
|
mappingData_selAll_query: (state, getters) => {
|
|
19900
19801
|
let mappingData = []; // 取交集
|
|
@@ -27468,10 +27369,10 @@ files.keys().forEach(key => {
|
|
|
27468
27369
|
|
|
27469
27370
|
// CONCATENATED MODULE: ./packages/know_ui_v2/store/index.js
|
|
27470
27371
|
const storeMoudles = {};
|
|
27471
|
-
/**
|
|
27472
|
-
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
27473
|
-
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
27474
|
-
* 名注册在外部应用
|
|
27372
|
+
/**
|
|
27373
|
+
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
27374
|
+
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
27375
|
+
* 名注册在外部应用
|
|
27475
27376
|
*/
|
|
27476
27377
|
const store_files = __webpack_require__("27d5");
|
|
27477
27378
|
store_files.keys().forEach(key => {
|
|
@@ -27486,9 +27387,9 @@ function setStoreMoudles(store) {
|
|
|
27486
27387
|
}
|
|
27487
27388
|
}
|
|
27488
27389
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/index.js
|
|
27489
|
-
/**
|
|
27490
|
-
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
27491
|
-
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
27390
|
+
/**
|
|
27391
|
+
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
27392
|
+
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
27492
27393
|
*/
|
|
27493
27394
|
const components_files = __webpack_require__("7d1c");
|
|
27494
27395
|
const components = {};
|