@kg-ui/kg-ui 0.0.17 → 0.0.19
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 +298 -244
- package/lib/main.css +2 -2
- package/lib/main.umd.js +298 -244
- package/lib/main.umd.min.js +3 -3
- package/package.json +83 -83
package/lib/main.umd.js
CHANGED
|
@@ -3893,7 +3893,7 @@ const getReport = param => {
|
|
|
3893
3893
|
method = 'POST'
|
|
3894
3894
|
} = param;
|
|
3895
3895
|
const headers = Object.assign({
|
|
3896
|
-
|
|
3896
|
+
"Content-Type": "application/json"
|
|
3897
3897
|
}, param.headers || {});
|
|
3898
3898
|
fetchEventSource(param.sendUrl, {
|
|
3899
3899
|
method,
|
|
@@ -4297,6 +4297,8 @@ const actions = {
|
|
|
4297
4297
|
}
|
|
4298
4298
|
if ('err' in chatgptAnalysisResult.data) {
|
|
4299
4299
|
dispatch('sendChatgptMsg', willSendMsg);
|
|
4300
|
+
state.currentPluginParams = {};
|
|
4301
|
+
state.currentUsePlugin = {};
|
|
4300
4302
|
return;
|
|
4301
4303
|
}
|
|
4302
4304
|
state.currentPluginParams = chatgptAnalysisResult.data.param;
|
|
@@ -4305,7 +4307,6 @@ const actions = {
|
|
|
4305
4307
|
},
|
|
4306
4308
|
sendChatgptMsg({
|
|
4307
4309
|
state,
|
|
4308
|
-
commit,
|
|
4309
4310
|
dispatch
|
|
4310
4311
|
}, willSendMsg) {
|
|
4311
4312
|
state.defaultDeal.requestParameFn = state.defaultDeal.requestParameFn ? state.defaultDeal.requestParameFn : config => config;
|
|
@@ -4317,10 +4318,38 @@ const actions = {
|
|
|
4317
4318
|
data: {},
|
|
4318
4319
|
headers: {}
|
|
4319
4320
|
});
|
|
4321
|
+
if (state.defaultDeal.isSse === undefined) {
|
|
4322
|
+
state.defaultDeal.isSse = true;
|
|
4323
|
+
}
|
|
4324
|
+
if (state.defaultDeal.isSse) {
|
|
4325
|
+
dispatch('defaultSseDeal', {
|
|
4326
|
+
data,
|
|
4327
|
+
headers
|
|
4328
|
+
});
|
|
4329
|
+
return;
|
|
4330
|
+
}
|
|
4331
|
+
dispatch('defaultXhrDeal', {
|
|
4332
|
+
data,
|
|
4333
|
+
headers
|
|
4334
|
+
});
|
|
4335
|
+
},
|
|
4336
|
+
sendPluginMsg({
|
|
4337
|
+
state,
|
|
4338
|
+
commit,
|
|
4339
|
+
dispatch
|
|
4340
|
+
}) {
|
|
4341
|
+
state.currentUsePlugin.requestParameFn = state.currentUsePlugin.requestParameFn ? state.currentUsePlugin.requestParameFn : config => config;
|
|
4342
|
+
const {
|
|
4343
|
+
data,
|
|
4344
|
+
headers
|
|
4345
|
+
} = state.currentUsePlugin.requestParameFn({
|
|
4346
|
+
data: state.currentPluginParams,
|
|
4347
|
+
headers: {}
|
|
4348
|
+
});
|
|
4320
4349
|
commit('setRequestSseing', true);
|
|
4321
4350
|
commit('setCancelsse', getReport({
|
|
4322
|
-
sendUrl: state.
|
|
4323
|
-
method: state.
|
|
4351
|
+
sendUrl: state.currentUsePlugin.url,
|
|
4352
|
+
method: state.currentUsePlugin.method,
|
|
4324
4353
|
data,
|
|
4325
4354
|
headers,
|
|
4326
4355
|
onerror: () => {
|
|
@@ -4335,7 +4364,7 @@ const actions = {
|
|
|
4335
4364
|
type,
|
|
4336
4365
|
content,
|
|
4337
4366
|
isOver
|
|
4338
|
-
} = state.
|
|
4367
|
+
} = state.currentUsePlugin.responseParameFn(msg);
|
|
4339
4368
|
commit('responseMsg', {
|
|
4340
4369
|
type,
|
|
4341
4370
|
content
|
|
@@ -4347,56 +4376,86 @@ const actions = {
|
|
|
4347
4376
|
},
|
|
4348
4377
|
onclose: () => {
|
|
4349
4378
|
dispatch('sseRequestOver');
|
|
4350
|
-
state.
|
|
4379
|
+
state.currentUsePlugin.onclose && state.currentUsePlugin.onclose();
|
|
4351
4380
|
}
|
|
4352
4381
|
}));
|
|
4353
4382
|
},
|
|
4354
|
-
|
|
4383
|
+
defaultSseDeal({
|
|
4355
4384
|
state,
|
|
4356
|
-
commit
|
|
4357
|
-
|
|
4385
|
+
commit
|
|
4386
|
+
}, {
|
|
4387
|
+
data,
|
|
4388
|
+
headers
|
|
4358
4389
|
}) {
|
|
4359
|
-
state.currentUsePlugin.requestParameFn = state.currentUsePlugin.requestParameFn ? state.currentUsePlugin.requestParameFn : config => config;
|
|
4360
|
-
const {
|
|
4361
|
-
data,
|
|
4362
|
-
headers
|
|
4363
|
-
} = state.currentUsePlugin.requestParameFn({
|
|
4364
|
-
data: state.currentPluginParams,
|
|
4365
|
-
headers: {}
|
|
4366
|
-
});
|
|
4367
4390
|
commit('setRequestSseing', true);
|
|
4368
|
-
|
|
4369
|
-
sendUrl: state.
|
|
4370
|
-
method: state.
|
|
4371
|
-
data,
|
|
4391
|
+
state.cancelsse = getReport({
|
|
4392
|
+
sendUrl: state.defaultDeal.url,
|
|
4393
|
+
method: state.defaultDeal.method,
|
|
4372
4394
|
headers,
|
|
4395
|
+
data,
|
|
4373
4396
|
onerror: () => {
|
|
4374
4397
|
commit('responseMsg', {
|
|
4375
4398
|
type: DataType.text,
|
|
4376
4399
|
content: '联网异常'
|
|
4377
4400
|
});
|
|
4378
|
-
|
|
4401
|
+
commit('setRequestSseing', false);
|
|
4402
|
+
state.cancelsse();
|
|
4379
4403
|
},
|
|
4380
4404
|
onmessage: msg => {
|
|
4381
4405
|
const {
|
|
4382
4406
|
type,
|
|
4383
4407
|
content,
|
|
4384
4408
|
isOver
|
|
4385
|
-
} = state.
|
|
4409
|
+
} = state.defaultDeal.responseParameFn(msg);
|
|
4386
4410
|
commit('responseMsg', {
|
|
4387
4411
|
type,
|
|
4388
4412
|
content
|
|
4389
4413
|
});
|
|
4390
4414
|
if (isOver) {
|
|
4391
|
-
|
|
4415
|
+
commit('setRequestSseing', false);
|
|
4416
|
+
state.cancelsse();
|
|
4392
4417
|
return;
|
|
4393
4418
|
}
|
|
4394
4419
|
},
|
|
4395
4420
|
onclose: () => {
|
|
4396
|
-
|
|
4397
|
-
state.
|
|
4421
|
+
commit('setRequestSseing', false);
|
|
4422
|
+
state.cancelsse();
|
|
4423
|
+
state.defaultDeal.onclose && state.defaultDeal.onclose();
|
|
4398
4424
|
}
|
|
4399
|
-
})
|
|
4425
|
+
});
|
|
4426
|
+
},
|
|
4427
|
+
defaultXhrDeal({
|
|
4428
|
+
commit,
|
|
4429
|
+
state
|
|
4430
|
+
}, {
|
|
4431
|
+
data,
|
|
4432
|
+
headers
|
|
4433
|
+
}) {
|
|
4434
|
+
state.cancleUrl = state.defaultDeal.url;
|
|
4435
|
+
const {
|
|
4436
|
+
method = 'post'
|
|
4437
|
+
} = state.defaultDeal;
|
|
4438
|
+
http.request('post', state.defaultDeal.url, {
|
|
4439
|
+
data,
|
|
4440
|
+
headers,
|
|
4441
|
+
method
|
|
4442
|
+
}).then(res => {
|
|
4443
|
+
const {
|
|
4444
|
+
type,
|
|
4445
|
+
content,
|
|
4446
|
+
isOver
|
|
4447
|
+
} = state.defaultDeal.responseParameFn(res);
|
|
4448
|
+
commit('responseMsg', {
|
|
4449
|
+
type,
|
|
4450
|
+
content
|
|
4451
|
+
});
|
|
4452
|
+
if (isOver) {
|
|
4453
|
+
http.cancelByUrl(state.cancleUrl);
|
|
4454
|
+
return;
|
|
4455
|
+
}
|
|
4456
|
+
}).catch(() => {
|
|
4457
|
+
commit('setSendLonding', false);
|
|
4458
|
+
});
|
|
4400
4459
|
},
|
|
4401
4460
|
sseRequestOver({
|
|
4402
4461
|
commit,
|
|
@@ -4453,7 +4512,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4453
4512
|
// ESM COMPAT FLAG
|
|
4454
4513
|
__webpack_require__.r(__webpack_exports__);
|
|
4455
4514
|
|
|
4456
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4515
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
4457
4516
|
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)
|
|
4458
4517
|
}
|
|
4459
4518
|
var staticRenderFns = []
|
|
@@ -4464,7 +4523,7 @@ var staticRenderFns = []
|
|
|
4464
4523
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
4465
4524
|
var es_error_cause = __webpack_require__("d9e2");
|
|
4466
4525
|
|
|
4467
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4526
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
4468
4527
|
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)
|
|
4469
4528
|
}
|
|
4470
4529
|
var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
@@ -4472,7 +4531,7 @@ var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
|
4472
4531
|
|
|
4473
4532
|
// CONCATENATED MODULE: ./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4474
4533
|
|
|
4475
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4534
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
4476
4535
|
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()])
|
|
4477
4536
|
}
|
|
4478
4537
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_staticRenderFns = []
|
|
@@ -5226,6 +5285,13 @@ module.exports = function (it) {
|
|
|
5226
5285
|
};
|
|
5227
5286
|
|
|
5228
5287
|
|
|
5288
|
+
/***/ }),
|
|
5289
|
+
|
|
5290
|
+
/***/ "1f2c":
|
|
5291
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5292
|
+
|
|
5293
|
+
// extracted by mini-css-extract-plugin
|
|
5294
|
+
|
|
5229
5295
|
/***/ }),
|
|
5230
5296
|
|
|
5231
5297
|
/***/ "1fe5":
|
|
@@ -5655,6 +5721,17 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
5655
5721
|
};
|
|
5656
5722
|
|
|
5657
5723
|
|
|
5724
|
+
/***/ }),
|
|
5725
|
+
|
|
5726
|
+
/***/ "26cc":
|
|
5727
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5728
|
+
|
|
5729
|
+
"use strict";
|
|
5730
|
+
/* 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_edit_vue_vue_type_style_index_0_id_ecb8431a_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1f2c");
|
|
5731
|
+
/* 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_edit_vue_vue_type_style_index_0_id_ecb8431a_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_edit_vue_vue_type_style_index_0_id_ecb8431a_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
5732
|
+
/* unused harmony reexport * */
|
|
5733
|
+
|
|
5734
|
+
|
|
5658
5735
|
/***/ }),
|
|
5659
5736
|
|
|
5660
5737
|
/***/ "27d5":
|
|
@@ -7398,6 +7475,17 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
7398
7475
|
});
|
|
7399
7476
|
|
|
7400
7477
|
|
|
7478
|
+
/***/ }),
|
|
7479
|
+
|
|
7480
|
+
/***/ "2ba9":
|
|
7481
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7482
|
+
|
|
7483
|
+
"use strict";
|
|
7484
|
+
/* 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_566d1286_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c7f7");
|
|
7485
|
+
/* 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_566d1286_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_566d1286_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
7486
|
+
/* unused harmony reexport * */
|
|
7487
|
+
|
|
7488
|
+
|
|
7401
7489
|
/***/ }),
|
|
7402
7490
|
|
|
7403
7491
|
/***/ "2d00":
|
|
@@ -9034,13 +9122,6 @@ module.exports = java;
|
|
|
9034
9122
|
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
9035
9123
|
|
|
9036
9124
|
|
|
9037
|
-
/***/ }),
|
|
9038
|
-
|
|
9039
|
-
/***/ "3486":
|
|
9040
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9041
|
-
|
|
9042
|
-
// extracted by mini-css-extract-plugin
|
|
9043
|
-
|
|
9044
9125
|
/***/ }),
|
|
9045
9126
|
|
|
9046
9127
|
/***/ "3511":
|
|
@@ -9548,14 +9629,14 @@ function n(n,a,i){return(a=function(n){var a=function(n,a){if("object"!=typeof n
|
|
|
9548
9629
|
|
|
9549
9630
|
|
|
9550
9631
|
|
|
9551
|
-
/**
|
|
9552
|
-
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9553
|
-
* curF:当前分类
|
|
9554
|
-
* selIds:当前选中的分类id集合
|
|
9555
|
-
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9556
|
-
* selsMappingData: 选中的关联关系集合
|
|
9557
|
-
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9558
|
-
* return boolean 当前分类是否显示
|
|
9632
|
+
/**
|
|
9633
|
+
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9634
|
+
* curF:当前分类
|
|
9635
|
+
* selIds:当前选中的分类id集合
|
|
9636
|
+
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9637
|
+
* selsMappingData: 选中的关联关系集合
|
|
9638
|
+
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9639
|
+
* return boolean 当前分类是否显示
|
|
9559
9640
|
* */
|
|
9560
9641
|
|
|
9561
9642
|
const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingData) => {
|
|
@@ -9573,8 +9654,8 @@ const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingD
|
|
|
9573
9654
|
return names.includes(curF.label_name);
|
|
9574
9655
|
};
|
|
9575
9656
|
|
|
9576
|
-
/**
|
|
9577
|
-
* 类别筛选-字母快捷筛选
|
|
9657
|
+
/**
|
|
9658
|
+
* 类别筛选-字母快捷筛选
|
|
9578
9659
|
* */
|
|
9579
9660
|
const checkFilterShow_letter = (filter, letter, lang) => {
|
|
9580
9661
|
let isMatch;
|
|
@@ -11046,7 +11127,7 @@ module.exports = function (bitmap, value) {
|
|
|
11046
11127
|
// ESM COMPAT FLAG
|
|
11047
11128
|
__webpack_require__.r(__webpack_exports__);
|
|
11048
11129
|
|
|
11049
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11130
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=c692ad88&scoped=true
|
|
11050
11131
|
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)
|
|
11051
11132
|
}
|
|
11052
11133
|
var staticRenderFns = []
|
|
@@ -11057,7 +11138,7 @@ var staticRenderFns = []
|
|
|
11057
11138
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
11058
11139
|
var es_array_push = __webpack_require__("14d9");
|
|
11059
11140
|
|
|
11060
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11141
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
11061
11142
|
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)
|
|
11062
11143
|
}
|
|
11063
11144
|
var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
@@ -11065,7 +11146,7 @@ var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
|
11065
11146
|
|
|
11066
11147
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
11067
11148
|
|
|
11068
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11149
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
11069
11150
|
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:{
|
|
11070
11151
|
multiple: filter.multipleSel,
|
|
11071
11152
|
xinyuan: filter.kind === _vm.EnumFilterKind.XinYuan,
|
|
@@ -11104,7 +11185,7 @@ var FilterAreavue_type_template_id_79c8b408_scoped_true_staticRenderFns = []
|
|
|
11104
11185
|
|
|
11105
11186
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
11106
11187
|
|
|
11107
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11188
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=3a70deee&scoped=true
|
|
11108
11189
|
var FilterItemvue_type_template_id_3a70deee_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-link',{staticClass:"tagText gap-1.5",attrs:{"size":"small","link":"","type":_vm.selFilterIds.includes(_vm.subFilter.label_id) ? 'warning' : ''},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang])+" ")])]),(_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)
|
|
11109
11190
|
}
|
|
11110
11191
|
var FilterItemvue_type_template_id_3a70deee_scoped_true_staticRenderFns = []
|
|
@@ -11187,7 +11268,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11187
11268
|
)
|
|
11188
11269
|
|
|
11189
11270
|
/* harmony default export */ var FilterItem = (component.exports);
|
|
11190
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11271
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=4b83b000&scoped=true
|
|
11191
11272
|
var FilterItemIconvue_type_template_id_4b83b000_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-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),(_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)])
|
|
11192
11273
|
}
|
|
11193
11274
|
var FilterItemIconvue_type_template_id_4b83b000_scoped_true_staticRenderFns = []
|
|
@@ -15502,17 +15583,6 @@ webpackContext.resolve = webpackContextResolve;
|
|
|
15502
15583
|
module.exports = webpackContext;
|
|
15503
15584
|
webpackContext.id = "7d1c";
|
|
15504
15585
|
|
|
15505
|
-
/***/ }),
|
|
15506
|
-
|
|
15507
|
-
/***/ "802d":
|
|
15508
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15509
|
-
|
|
15510
|
-
"use strict";
|
|
15511
|
-
/* 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_22b4bd89_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e098");
|
|
15512
|
-
/* 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_22b4bd89_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_22b4bd89_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
15513
|
-
/* unused harmony reexport * */
|
|
15514
|
-
|
|
15515
|
-
|
|
15516
15586
|
/***/ }),
|
|
15517
15587
|
|
|
15518
15588
|
/***/ "825a":
|
|
@@ -16159,6 +16229,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16159
16229
|
|
|
16160
16230
|
/***/ }),
|
|
16161
16231
|
|
|
16232
|
+
/***/ "84ab":
|
|
16233
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16234
|
+
|
|
16235
|
+
// extracted by mini-css-extract-plugin
|
|
16236
|
+
|
|
16237
|
+
/***/ }),
|
|
16238
|
+
|
|
16162
16239
|
/***/ "861d":
|
|
16163
16240
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16164
16241
|
|
|
@@ -17287,23 +17364,23 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
17287
17364
|
// ESM COMPAT FLAG
|
|
17288
17365
|
__webpack_require__.r(__webpack_exports__);
|
|
17289
17366
|
|
|
17290
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17367
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
17291
17368
|
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)])
|
|
17292
17369
|
}
|
|
17293
17370
|
var staticRenderFns = []
|
|
17294
17371
|
|
|
17295
17372
|
|
|
17296
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=
|
|
17373
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=566d1286&scoped=true
|
|
17297
17374
|
|
|
17298
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17299
|
-
var
|
|
17375
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=675bfbc8&scoped=true
|
|
17376
|
+
var dialoguevue_type_template_id_675bfbc8_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,"isPrinting":item.needPrinting,"scrollToBottom":_vm.scrollToBottom},on:{"printOk":_vm.printOk,"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)}}}),(!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)
|
|
17300
17377
|
}
|
|
17301
|
-
var
|
|
17378
|
+
var dialoguevue_type_template_id_675bfbc8_scoped_true_staticRenderFns = []
|
|
17302
17379
|
|
|
17303
17380
|
|
|
17304
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=
|
|
17381
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=675bfbc8&scoped=true
|
|
17305
17382
|
|
|
17306
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17383
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=76782aae&scoped=true
|
|
17307
17384
|
var messageParsevue_type_template_id_76782aae_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,"scrollToBottom":_vm.scrollToBottom,"isPrinting":item.needPrinting},on:{"printOk":_vm.printOk,"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)}}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.edit)?_c('Edit',{attrs:{"content":item.content,"scrollToBottom":_vm.scrollToBottom,"isPrinting":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,"isPrinting":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)
|
|
17308
17385
|
}
|
|
17309
17386
|
var messageParsevue_type_template_id_76782aae_scoped_true_staticRenderFns = []
|
|
@@ -17314,7 +17391,7 @@ var messageParsevue_type_template_id_76782aae_scoped_true_staticRenderFns = []
|
|
|
17314
17391
|
// EXTERNAL MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js + 11 modules
|
|
17315
17392
|
var copilotStore = __webpack_require__("187e");
|
|
17316
17393
|
|
|
17317
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17394
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=548b865e&scoped=true
|
|
17318
17395
|
var readMdvue_type_template_id_548b865e_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)}})])
|
|
17319
17396
|
}
|
|
17320
17397
|
var readMdvue_type_template_id_548b865e_scoped_true_staticRenderFns = []
|
|
@@ -17338,10 +17415,10 @@ const States = {
|
|
|
17338
17415
|
codeStartBig: 2 // 大代码块状态
|
|
17339
17416
|
};
|
|
17340
17417
|
|
|
17341
|
-
/**
|
|
17342
|
-
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17343
|
-
* @param text
|
|
17344
|
-
* @returns {boolean}
|
|
17418
|
+
/**
|
|
17419
|
+
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17420
|
+
* @param text
|
|
17421
|
+
* @returns {boolean}
|
|
17345
17422
|
*/
|
|
17346
17423
|
function isInCode(text) {
|
|
17347
17424
|
let state = States.text;
|
|
@@ -17544,7 +17621,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
17544
17621
|
)
|
|
17545
17622
|
|
|
17546
17623
|
/* harmony default export */ var readMd = (component.exports);
|
|
17547
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17624
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
17548
17625
|
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("下载")])])
|
|
17549
17626
|
}
|
|
17550
17627
|
var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
@@ -17552,7 +17629,7 @@ var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
|
17552
17629
|
|
|
17553
17630
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17554
17631
|
|
|
17555
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17632
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
17556
17633
|
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()])
|
|
17557
17634
|
}
|
|
17558
17635
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_staticRenderFns = []
|
|
@@ -17669,18 +17746,18 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17669
17746
|
)
|
|
17670
17747
|
|
|
17671
17748
|
/* harmony default export */ var fileBox = (fileBox_component.exports);
|
|
17672
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17673
|
-
var
|
|
17749
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
17750
|
+
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:{
|
|
17674
17751
|
'icon-item': true,
|
|
17675
17752
|
'cursor-default': !_vm.sendLonding
|
|
17676
17753
|
},attrs:{"title":"编辑"},on:{"click":_vm.toEdit}},[_c('ThumbsDown')],1):_vm._e(),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing && _vm.isPrinting && _vm.showButton),expression:"!isEditing && isPrinting && showButton"}],staticClass:"time"},[_vm._v(" ("+_vm._s(_vm.countDown)+"s)")])],1),(_vm.isEditing && _vm.isPrinting)?_c('div',{staticClass:"read-flex"},[_c('span',[_vm._v(_vm._s(_vm.updateObj.userLogic.title))]),_c('div',{staticClass:"input-box"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.updateObj.userLogic.value),expression:"updateObj.userLogic.value"}],staticClass:"keyword-input",attrs:{"type":"text","autofocus":""},domProps:{"value":(_vm.updateObj.userLogic.value)},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.confirm.apply(null, arguments)},"input":function($event){if($event.target.composing)return;_vm.$set(_vm.updateObj.userLogic, "value", $event.target.value)}}}),(_vm.showButton && _vm.isPrinting)?_c('button',{on:{"click":_vm.confirm}},[_vm._v(" 确认"),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing),expression:"!isEditing"}]},[_vm._v(" ("+_vm._s(_vm.countDown)+"s)")])]):_vm._e()])]):_vm._e()])
|
|
17677
17754
|
}
|
|
17678
|
-
var
|
|
17755
|
+
var editvue_type_template_id_ecb8431a_scoped_true_staticRenderFns = []
|
|
17679
17756
|
|
|
17680
17757
|
|
|
17681
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=
|
|
17758
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17682
17759
|
|
|
17683
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17760
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
17684
17761
|
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"}})])
|
|
17685
17762
|
}
|
|
17686
17763
|
var thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns = []
|
|
@@ -17708,101 +17785,101 @@ var thumbsDown_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17708
17785
|
|
|
17709
17786
|
/* harmony default export */ var thumbsDown = (thumbsDown_component.exports);
|
|
17710
17787
|
// 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
|
|
17711
|
-
|
|
17712
|
-
|
|
17713
|
-
|
|
17714
|
-
|
|
17715
|
-
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17716
|
-
components: {
|
|
17717
|
-
ReadMd: readMd,
|
|
17718
|
-
ThumbsDown: thumbsDown
|
|
17719
|
-
},
|
|
17720
|
-
props: {
|
|
17721
|
-
// 输入的 markdown 文本
|
|
17722
|
-
content: {
|
|
17723
|
-
type: Object,
|
|
17724
|
-
default: () => {}
|
|
17725
|
-
},
|
|
17726
|
-
isPrinting: {
|
|
17727
|
-
type: Boolean,
|
|
17728
|
-
default: false
|
|
17729
|
-
},
|
|
17730
|
-
scrollToBottom: {
|
|
17731
|
-
type: Function,
|
|
17732
|
-
default: () => {}
|
|
17733
|
-
}
|
|
17734
|
-
},
|
|
17735
|
-
data() {
|
|
17736
|
-
return {
|
|
17737
|
-
updateObj: {
|
|
17738
|
-
userLogic: {
|
|
17739
|
-
title: '提取的关键词信息:',
|
|
17740
|
-
type: 'text',
|
|
17741
|
-
value: this.content.updateInfo.userLogic
|
|
17742
|
-
}
|
|
17743
|
-
},
|
|
17744
|
-
printing: true,
|
|
17745
|
-
showButton: false,
|
|
17746
|
-
countDown: 5,
|
|
17747
|
-
interval: 0,
|
|
17748
|
-
isEditing: false,
|
|
17749
|
-
oldUserLogic: this.content.updateInfo.userLogic
|
|
17750
|
-
}
|
|
17751
|
-
},
|
|
17752
|
-
computed: {
|
|
17753
|
-
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17754
|
-
},
|
|
17755
|
-
methods: {
|
|
17756
|
-
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17757
|
-
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17758
|
-
confirm() {
|
|
17759
|
-
clearInterval(this.interval)
|
|
17760
|
-
this.showButton = false
|
|
17761
|
-
this.isEditing = false
|
|
17762
|
-
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17763
|
-
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17764
|
-
this.onlyCancelRequest()
|
|
17765
|
-
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17766
|
-
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17767
|
-
this.sendPluginMsg()
|
|
17768
|
-
return
|
|
17769
|
-
}
|
|
17770
|
-
this.finalComm(false)
|
|
17771
|
-
},
|
|
17772
|
-
finalComm(isEdit = false) {
|
|
17773
|
-
this.$emit('update:isPrinting', false)
|
|
17774
|
-
this.$emit('printOk', isEdit) //改动为true
|
|
17775
|
-
},
|
|
17776
|
-
printOk() {
|
|
17777
|
-
this.showButton = true
|
|
17778
|
-
this.scrollToBottom()
|
|
17779
|
-
this.interval = setInterval(() => {
|
|
17780
|
-
this.countDown--
|
|
17781
|
-
if (this.countDown <= 0) {
|
|
17782
|
-
clearInterval(this.interval)
|
|
17783
|
-
this.showButton = false
|
|
17784
|
-
this.finalComm(false)
|
|
17785
|
-
}
|
|
17786
|
-
}, 1000)
|
|
17787
|
-
},
|
|
17788
|
-
toEdit() {
|
|
17789
|
-
this.interval = clearInterval(this.interval)
|
|
17790
|
-
if (this.sendLonding) this.isEditing = true
|
|
17791
|
-
}
|
|
17792
|
-
},
|
|
17793
|
-
watch: {
|
|
17794
|
-
sendLonding(newValue) {
|
|
17795
|
-
if (!newValue) {
|
|
17796
|
-
this.$emit('update:isPrinting', false)
|
|
17797
|
-
}
|
|
17798
|
-
}
|
|
17799
|
-
}
|
|
17800
|
-
});
|
|
17788
|
+
|
|
17789
|
+
|
|
17790
|
+
|
|
17791
|
+
|
|
17792
|
+
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17793
|
+
components: {
|
|
17794
|
+
ReadMd: readMd,
|
|
17795
|
+
ThumbsDown: thumbsDown
|
|
17796
|
+
},
|
|
17797
|
+
props: {
|
|
17798
|
+
// 输入的 markdown 文本
|
|
17799
|
+
content: {
|
|
17800
|
+
type: Object,
|
|
17801
|
+
default: () => {}
|
|
17802
|
+
},
|
|
17803
|
+
isPrinting: {
|
|
17804
|
+
type: Boolean,
|
|
17805
|
+
default: false
|
|
17806
|
+
},
|
|
17807
|
+
scrollToBottom: {
|
|
17808
|
+
type: Function,
|
|
17809
|
+
default: () => {}
|
|
17810
|
+
}
|
|
17811
|
+
},
|
|
17812
|
+
data() {
|
|
17813
|
+
return {
|
|
17814
|
+
updateObj: {
|
|
17815
|
+
userLogic: {
|
|
17816
|
+
title: '提取的关键词信息:',
|
|
17817
|
+
type: 'text',
|
|
17818
|
+
value: this.content.updateInfo.userLogic
|
|
17819
|
+
}
|
|
17820
|
+
},
|
|
17821
|
+
printing: true,
|
|
17822
|
+
showButton: false,
|
|
17823
|
+
countDown: 5,
|
|
17824
|
+
interval: 0,
|
|
17825
|
+
isEditing: false,
|
|
17826
|
+
oldUserLogic: this.content.updateInfo.userLogic
|
|
17827
|
+
}
|
|
17828
|
+
},
|
|
17829
|
+
computed: {
|
|
17830
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17831
|
+
},
|
|
17832
|
+
methods: {
|
|
17833
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17834
|
+
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17835
|
+
confirm() {
|
|
17836
|
+
clearInterval(this.interval)
|
|
17837
|
+
this.showButton = false
|
|
17838
|
+
this.isEditing = false
|
|
17839
|
+
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17840
|
+
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17841
|
+
this.onlyCancelRequest()
|
|
17842
|
+
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17843
|
+
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17844
|
+
this.sendPluginMsg()
|
|
17845
|
+
return
|
|
17846
|
+
}
|
|
17847
|
+
this.finalComm(false)
|
|
17848
|
+
},
|
|
17849
|
+
finalComm(isEdit = false) {
|
|
17850
|
+
this.$emit('update:isPrinting', false)
|
|
17851
|
+
this.$emit('printOk', isEdit) //改动为true
|
|
17852
|
+
},
|
|
17853
|
+
printOk() {
|
|
17854
|
+
this.showButton = true
|
|
17855
|
+
this.scrollToBottom()
|
|
17856
|
+
this.interval = setInterval(() => {
|
|
17857
|
+
this.countDown--
|
|
17858
|
+
if (this.countDown <= 0) {
|
|
17859
|
+
clearInterval(this.interval)
|
|
17860
|
+
this.showButton = false
|
|
17861
|
+
this.finalComm(false)
|
|
17862
|
+
}
|
|
17863
|
+
}, 1000)
|
|
17864
|
+
},
|
|
17865
|
+
toEdit() {
|
|
17866
|
+
this.interval = clearInterval(this.interval)
|
|
17867
|
+
if (this.sendLonding) this.isEditing = true
|
|
17868
|
+
}
|
|
17869
|
+
},
|
|
17870
|
+
watch: {
|
|
17871
|
+
sendLonding(newValue) {
|
|
17872
|
+
if (!newValue) {
|
|
17873
|
+
this.$emit('update:isPrinting', false)
|
|
17874
|
+
}
|
|
17875
|
+
}
|
|
17876
|
+
}
|
|
17877
|
+
});
|
|
17801
17878
|
|
|
17802
17879
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=script&lang=ts
|
|
17803
17880
|
/* harmony default export */ var messageParse_editvue_type_script_lang_ts = (editvue_type_script_lang_ts);
|
|
17804
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=style&index=0&id=
|
|
17805
|
-
var
|
|
17881
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=style&index=0&id=ecb8431a&prod&scoped=true&lang=scss
|
|
17882
|
+
var editvue_type_style_index_0_id_ecb8431a_prod_scoped_true_lang_scss = __webpack_require__("26cc");
|
|
17806
17883
|
|
|
17807
17884
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue
|
|
17808
17885
|
|
|
@@ -17815,11 +17892,11 @@ var editvue_type_style_index_0_id_c0709918_prod_scoped_true_lang_scss = __webpac
|
|
|
17815
17892
|
|
|
17816
17893
|
var edit_component = Object(componentNormalizer["a" /* default */])(
|
|
17817
17894
|
messageParse_editvue_type_script_lang_ts,
|
|
17818
|
-
|
|
17819
|
-
|
|
17895
|
+
editvue_type_template_id_ecb8431a_scoped_true_render,
|
|
17896
|
+
editvue_type_template_id_ecb8431a_scoped_true_staticRenderFns,
|
|
17820
17897
|
false,
|
|
17821
17898
|
null,
|
|
17822
|
-
"
|
|
17899
|
+
"ecb8431a",
|
|
17823
17900
|
null
|
|
17824
17901
|
|
|
17825
17902
|
)
|
|
@@ -17931,7 +18008,7 @@ var messageParse_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17931
18008
|
)
|
|
17932
18009
|
|
|
17933
18010
|
/* harmony default export */ var messageParse = (messageParse_component.exports);
|
|
17934
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18011
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
17935
18012
|
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("你")])])
|
|
17936
18013
|
}
|
|
17937
18014
|
var UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns = []
|
|
@@ -17962,7 +18039,7 @@ var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17962
18039
|
)
|
|
17963
18040
|
|
|
17964
18041
|
/* harmony default export */ var UserHead = (UserHead_component.exports);
|
|
17965
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18042
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
17966
18043
|
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))])])
|
|
17967
18044
|
}
|
|
17968
18045
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_staticRenderFns = []
|
|
@@ -18003,7 +18080,7 @@ var AnswerHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18003
18080
|
)
|
|
18004
18081
|
|
|
18005
18082
|
/* harmony default export */ var AnswerHead = (AnswerHead_component.exports);
|
|
18006
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18083
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
18007
18084
|
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"}})])
|
|
18008
18085
|
}
|
|
18009
18086
|
var copyvue_type_template_id_78ca311e_staticRenderFns = []
|
|
@@ -18030,7 +18107,7 @@ var copy_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18030
18107
|
)
|
|
18031
18108
|
|
|
18032
18109
|
/* harmony default export */ var copy = (copy_component.exports);
|
|
18033
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18110
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
18034
18111
|
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"}})])
|
|
18035
18112
|
}
|
|
18036
18113
|
var downloadvue_type_template_id_32982189_staticRenderFns = []
|
|
@@ -18057,7 +18134,7 @@ var download_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18057
18134
|
)
|
|
18058
18135
|
|
|
18059
18136
|
/* harmony default export */ var download = (download_component.exports);
|
|
18060
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18137
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
18061
18138
|
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"}})])
|
|
18062
18139
|
}
|
|
18063
18140
|
var speakervue_type_template_id_8a336b68_staticRenderFns = []
|
|
@@ -18084,7 +18161,7 @@ var speaker_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18084
18161
|
)
|
|
18085
18162
|
|
|
18086
18163
|
/* harmony default export */ var speaker = (speaker_component.exports);
|
|
18087
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18164
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
18088
18165
|
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"}})])
|
|
18089
18166
|
}
|
|
18090
18167
|
var likevue_type_template_id_3bb849e2_staticRenderFns = []
|
|
@@ -18111,7 +18188,7 @@ var like_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18111
18188
|
)
|
|
18112
18189
|
|
|
18113
18190
|
/* harmony default export */ var like = (like_component.exports);
|
|
18114
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18191
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
18115
18192
|
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"}})])
|
|
18116
18193
|
}
|
|
18117
18194
|
var notlikevue_type_template_id_646e792e_staticRenderFns = []
|
|
@@ -18193,8 +18270,8 @@ var notlike_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18193
18270
|
});
|
|
18194
18271
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=script&lang=js
|
|
18195
18272
|
/* harmony default export */ var KgCopilot_dialoguevue_type_script_lang_js = (dialoguevue_type_script_lang_js);
|
|
18196
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=style&index=0&id=
|
|
18197
|
-
var
|
|
18273
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=style&index=0&id=675bfbc8&prod&scoped=true&lang=scss
|
|
18274
|
+
var dialoguevue_type_style_index_0_id_675bfbc8_prod_scoped_true_lang_scss = __webpack_require__("c329");
|
|
18198
18275
|
|
|
18199
18276
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue
|
|
18200
18277
|
|
|
@@ -18207,17 +18284,17 @@ var dialoguevue_type_style_index_0_id_11be81bb_prod_scoped_true_lang_scss = __we
|
|
|
18207
18284
|
|
|
18208
18285
|
var dialogue_component = Object(componentNormalizer["a" /* default */])(
|
|
18209
18286
|
KgCopilot_dialoguevue_type_script_lang_js,
|
|
18210
|
-
|
|
18211
|
-
|
|
18287
|
+
dialoguevue_type_template_id_675bfbc8_scoped_true_render,
|
|
18288
|
+
dialoguevue_type_template_id_675bfbc8_scoped_true_staticRenderFns,
|
|
18212
18289
|
false,
|
|
18213
18290
|
null,
|
|
18214
|
-
"
|
|
18291
|
+
"675bfbc8",
|
|
18215
18292
|
null
|
|
18216
18293
|
|
|
18217
18294
|
)
|
|
18218
18295
|
|
|
18219
18296
|
/* harmony default export */ var dialogue = (dialogue_component.exports);
|
|
18220
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18297
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
18221
18298
|
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)])
|
|
18222
18299
|
}
|
|
18223
18300
|
var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
@@ -18225,7 +18302,7 @@ var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
|
18225
18302
|
|
|
18226
18303
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=699521c0&scoped=true
|
|
18227
18304
|
|
|
18228
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18305
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=0d6f42aa&scoped=true
|
|
18229
18306
|
var SearchInputvue_type_template_id_0d6f42aa_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:({
|
|
18230
18307
|
color: _vm.textLength && !_vm.sendLonding ? '#1e56ea' : '#dbdbdb'
|
|
18231
18308
|
})})])])]),(_vm.stopDialogue)?_c('div',{staticClass:"disable",attrs:{"click.stop":""}}):_vm._e()])])
|
|
@@ -18235,7 +18312,7 @@ var SearchInputvue_type_template_id_0d6f42aa_scoped_true_staticRenderFns = []
|
|
|
18235
18312
|
|
|
18236
18313
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=0d6f42aa&scoped=true
|
|
18237
18314
|
|
|
18238
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18315
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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
|
|
18239
18316
|
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("新主题")])])])])
|
|
18240
18317
|
}
|
|
18241
18318
|
var NewThemevue_type_template_id_4ec3d63f_scoped_true_staticRenderFns = []
|
|
@@ -18303,7 +18380,7 @@ var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18303
18380
|
)
|
|
18304
18381
|
|
|
18305
18382
|
/* harmony default export */ var NewTheme = (NewTheme_component.exports);
|
|
18306
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18383
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-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=574c5ff1&scoped=true
|
|
18307
18384
|
var SelectPluginByKeyvue_type_template_id_574c5ff1_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()])
|
|
18308
18385
|
}
|
|
18309
18386
|
var SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_staticRenderFns = []
|
|
@@ -19078,10 +19155,6 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19078
19155
|
...Object(vuex_esm["d" /* mapState */])('copilot', ['searchText', 'msgList'])
|
|
19079
19156
|
},
|
|
19080
19157
|
props: {
|
|
19081
|
-
getkitsUrl: {
|
|
19082
|
-
type: String,
|
|
19083
|
-
default: ''
|
|
19084
|
-
},
|
|
19085
19158
|
plugins: {
|
|
19086
19159
|
type: Array,
|
|
19087
19160
|
default: () => []
|
|
@@ -19122,7 +19195,6 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19122
19195
|
initText: this.initText,
|
|
19123
19196
|
aiName: this.aiName,
|
|
19124
19197
|
maxSendNum: this.maxSendNum,
|
|
19125
|
-
getkitsUrl: this.getkitsUrl,
|
|
19126
19198
|
placeholder: this.placeholder,
|
|
19127
19199
|
intelligentAnalysisConfig: this.intelligentAnalysisConfig,
|
|
19128
19200
|
defaultDeal: this.defaultDeal
|
|
@@ -19148,8 +19220,8 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19148
19220
|
});
|
|
19149
19221
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=script&lang=js
|
|
19150
19222
|
/* harmony default export */ var KgCopilot_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
19151
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=
|
|
19152
|
-
var
|
|
19223
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=566d1286&prod&scoped=true&lang=scss
|
|
19224
|
+
var mainvue_type_style_index_0_id_566d1286_prod_scoped_true_lang_scss = __webpack_require__("2ba9");
|
|
19153
19225
|
|
|
19154
19226
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue
|
|
19155
19227
|
|
|
@@ -19166,7 +19238,7 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19166
19238
|
staticRenderFns,
|
|
19167
19239
|
false,
|
|
19168
19240
|
null,
|
|
19169
|
-
"
|
|
19241
|
+
"566d1286",
|
|
19170
19242
|
null
|
|
19171
19243
|
|
|
19172
19244
|
)
|
|
@@ -20833,17 +20905,6 @@ function typescript(hljs) {
|
|
|
20833
20905
|
module.exports = typescript;
|
|
20834
20906
|
|
|
20835
20907
|
|
|
20836
|
-
/***/ }),
|
|
20837
|
-
|
|
20838
|
-
/***/ "b315":
|
|
20839
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
20840
|
-
|
|
20841
|
-
"use strict";
|
|
20842
|
-
/* 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_11be81bb_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3486");
|
|
20843
|
-
/* 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_11be81bb_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_11be81bb_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
20844
|
-
/* unused harmony reexport * */
|
|
20845
|
-
|
|
20846
|
-
|
|
20847
20908
|
/***/ }),
|
|
20848
20909
|
|
|
20849
20910
|
/***/ "b3c5":
|
|
@@ -21327,13 +21388,6 @@ module.exports = !fails(function () {
|
|
|
21327
21388
|
});
|
|
21328
21389
|
|
|
21329
21390
|
|
|
21330
|
-
/***/ }),
|
|
21331
|
-
|
|
21332
|
-
/***/ "bbe0":
|
|
21333
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
21334
|
-
|
|
21335
|
-
// extracted by mini-css-extract-plugin
|
|
21336
|
-
|
|
21337
21391
|
/***/ }),
|
|
21338
21392
|
|
|
21339
21393
|
/***/ "bc3a":
|
|
@@ -23812,6 +23866,17 @@ module.exports = function (input, pref) {
|
|
|
23812
23866
|
//# sourceMappingURL=purify.js.map
|
|
23813
23867
|
|
|
23814
23868
|
|
|
23869
|
+
/***/ }),
|
|
23870
|
+
|
|
23871
|
+
/***/ "c329":
|
|
23872
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23873
|
+
|
|
23874
|
+
"use strict";
|
|
23875
|
+
/* 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_675bfbc8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("84ab");
|
|
23876
|
+
/* 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_675bfbc8_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_675bfbc8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
23877
|
+
/* unused harmony reexport * */
|
|
23878
|
+
|
|
23879
|
+
|
|
23815
23880
|
/***/ }),
|
|
23816
23881
|
|
|
23817
23882
|
/***/ "c345":
|
|
@@ -24319,6 +24384,13 @@ var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
24319
24384
|
module.exports = store;
|
|
24320
24385
|
|
|
24321
24386
|
|
|
24387
|
+
/***/ }),
|
|
24388
|
+
|
|
24389
|
+
/***/ "c7f7":
|
|
24390
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24391
|
+
|
|
24392
|
+
// extracted by mini-css-extract-plugin
|
|
24393
|
+
|
|
24322
24394
|
/***/ }),
|
|
24323
24395
|
|
|
24324
24396
|
/***/ "c8af":
|
|
@@ -25284,13 +25356,6 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
25284
25356
|
|
|
25285
25357
|
/***/ }),
|
|
25286
25358
|
|
|
25287
|
-
/***/ "e098":
|
|
25288
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
25289
|
-
|
|
25290
|
-
// extracted by mini-css-extract-plugin
|
|
25291
|
-
|
|
25292
|
-
/***/ }),
|
|
25293
|
-
|
|
25294
25359
|
/***/ "e330":
|
|
25295
25360
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25296
25361
|
|
|
@@ -27110,17 +27175,6 @@ module.exports = function (key) {
|
|
|
27110
27175
|
|
|
27111
27176
|
// extracted by mini-css-extract-plugin
|
|
27112
27177
|
|
|
27113
|
-
/***/ }),
|
|
27114
|
-
|
|
27115
|
-
/***/ "f83b":
|
|
27116
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27117
|
-
|
|
27118
|
-
"use strict";
|
|
27119
|
-
/* 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_edit_vue_vue_type_style_index_0_id_c0709918_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bbe0");
|
|
27120
|
-
/* 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_edit_vue_vue_type_style_index_0_id_c0709918_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_edit_vue_vue_type_style_index_0_id_c0709918_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
27121
|
-
/* unused harmony reexport * */
|
|
27122
|
-
|
|
27123
|
-
|
|
27124
27178
|
/***/ }),
|
|
27125
27179
|
|
|
27126
27180
|
/***/ "fb15":
|
|
@@ -27252,10 +27306,10 @@ files.keys().forEach(key => {
|
|
|
27252
27306
|
|
|
27253
27307
|
// CONCATENATED MODULE: ./packages/know_ui_v2/store/index.js
|
|
27254
27308
|
const storeMoudles = {};
|
|
27255
|
-
/**
|
|
27256
|
-
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
27257
|
-
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
27258
|
-
* 名注册在外部应用
|
|
27309
|
+
/**
|
|
27310
|
+
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
27311
|
+
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
27312
|
+
* 名注册在外部应用
|
|
27259
27313
|
*/
|
|
27260
27314
|
const store_files = __webpack_require__("27d5");
|
|
27261
27315
|
store_files.keys().forEach(key => {
|
|
@@ -27270,9 +27324,9 @@ function setStoreMoudles(store) {
|
|
|
27270
27324
|
}
|
|
27271
27325
|
}
|
|
27272
27326
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/index.js
|
|
27273
|
-
/**
|
|
27274
|
-
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
27275
|
-
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
27327
|
+
/**
|
|
27328
|
+
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
27329
|
+
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
27276
27330
|
*/
|
|
27277
27331
|
const components_files = __webpack_require__("7d1c");
|
|
27278
27332
|
const components = {};
|