@kg-ui/kg-ui 0.1.7 → 0.1.9
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 +386 -271
- package/lib/main.css +1 -1
- package/lib/main.umd.js +386 -271
- package/lib/main.umd.min.js +3 -3
- package/package.json +83 -83
package/lib/main.umd.js
CHANGED
|
@@ -863,6 +863,13 @@ module.exports = function spread(callback) {
|
|
|
863
863
|
};
|
|
864
864
|
|
|
865
865
|
|
|
866
|
+
/***/ }),
|
|
867
|
+
|
|
868
|
+
/***/ "0eaa":
|
|
869
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
870
|
+
|
|
871
|
+
// extracted by mini-css-extract-plugin
|
|
872
|
+
|
|
866
873
|
/***/ }),
|
|
867
874
|
|
|
868
875
|
/***/ "1020":
|
|
@@ -3919,6 +3926,9 @@ const getReport = param => {
|
|
|
3919
3926
|
controller.abort();
|
|
3920
3927
|
};
|
|
3921
3928
|
};
|
|
3929
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/utils/util.js + 1 modules
|
|
3930
|
+
var util = __webpack_require__("4bce");
|
|
3931
|
+
|
|
3922
3932
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js
|
|
3923
3933
|
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
3924
3934
|
if (privateCollection.has(obj)) {
|
|
@@ -4044,11 +4054,6 @@ function _httpInterceptorsResponse2() {
|
|
|
4044
4054
|
_classStaticPrivateFieldSpecGet(_class, _class, _axiosInstance).interceptors.response.use(response => {
|
|
4045
4055
|
const res = response.data;
|
|
4046
4056
|
delete _classStaticPrivateFieldSpecGet(_class, _class, _requestMap)[response.config.url || ''];
|
|
4047
|
-
if (res.data === -1000) {
|
|
4048
|
-
console.error('用户未登录');
|
|
4049
|
-
alert('token失效');
|
|
4050
|
-
return res;
|
|
4051
|
-
}
|
|
4052
4057
|
return res;
|
|
4053
4058
|
}, error => {
|
|
4054
4059
|
console.log('err' + error); // for debug
|
|
@@ -4069,6 +4074,7 @@ const http = new http_PureHttp();
|
|
|
4069
4074
|
|
|
4070
4075
|
|
|
4071
4076
|
|
|
4077
|
+
|
|
4072
4078
|
const DataType = {
|
|
4073
4079
|
text: 'text',
|
|
4074
4080
|
edit: 'edit',
|
|
@@ -4104,9 +4110,28 @@ const copilotStore_state = {
|
|
|
4104
4110
|
currentPluginParams: {},
|
|
4105
4111
|
currentUsePlugin: {},
|
|
4106
4112
|
defaultDeal: {},
|
|
4107
|
-
cancelsse: () => {}
|
|
4113
|
+
cancelsse: () => {},
|
|
4114
|
+
pluginsPayload: {} // 智能体负载(从外部设置)
|
|
4115
|
+
};
|
|
4116
|
+
|
|
4117
|
+
const copilotStore_getters = {
|
|
4118
|
+
selPluginParams(state) {
|
|
4119
|
+
var _state$checkedPluginB;
|
|
4120
|
+
const param = !Object(util["h" /* isEmpty */])(state.checkedPluginByBtn) ? (_state$checkedPluginB = state.checkedPluginByBtn) === null || _state$checkedPluginB === void 0 || (_state$checkedPluginB = _state$checkedPluginB.param_desc) === null || _state$checkedPluginB === void 0 ? void 0 : _state$checkedPluginB.properties : {};
|
|
4121
|
+
return Object.keys(param);
|
|
4122
|
+
},
|
|
4123
|
+
pluginPayloadStr(state, getters) {
|
|
4124
|
+
let str = '';
|
|
4125
|
+
for (const key in state.pluginsPayload) {
|
|
4126
|
+
if (getters.selPluginParams && getters.selPluginParams.includes(key) && state.pluginsPayload[key]) {
|
|
4127
|
+
str += Object(util["i" /* plusParamToStr */])(key.toString()) + ':';
|
|
4128
|
+
str += state.pluginsPayload[key];
|
|
4129
|
+
str += ' ';
|
|
4130
|
+
}
|
|
4131
|
+
}
|
|
4132
|
+
return str;
|
|
4133
|
+
}
|
|
4108
4134
|
};
|
|
4109
|
-
const getters = {};
|
|
4110
4135
|
const mutations = {
|
|
4111
4136
|
initDialogue(state) {
|
|
4112
4137
|
state.msgList = [{
|
|
@@ -4129,7 +4154,8 @@ const mutations = {
|
|
|
4129
4154
|
maxSendNum,
|
|
4130
4155
|
intelligentAnalysisConfig,
|
|
4131
4156
|
defaultDeal,
|
|
4132
|
-
placeholder
|
|
4157
|
+
placeholder,
|
|
4158
|
+
pluginsPayload
|
|
4133
4159
|
}) {
|
|
4134
4160
|
state.getkitsUrl = getkitsUrl;
|
|
4135
4161
|
state.plugins = plugins;
|
|
@@ -4145,6 +4171,7 @@ const mutations = {
|
|
|
4145
4171
|
state.sendLonding = true; // 初始化缓慢打字
|
|
4146
4172
|
state.intelligentAnalysisConfig = intelligentAnalysisConfig;
|
|
4147
4173
|
state.defaultDeal = defaultDeal;
|
|
4174
|
+
state.pluginsPayload = pluginsPayload || {};
|
|
4148
4175
|
},
|
|
4149
4176
|
resetCopilot(state) {
|
|
4150
4177
|
mutations.onlyCancelRequest(state);
|
|
@@ -4222,19 +4249,27 @@ const mutations = {
|
|
|
4222
4249
|
state.cancelsse && state.cancelsse(); // 取消sse接收
|
|
4223
4250
|
state.requestSseing = false;
|
|
4224
4251
|
http.cancelByUrl(state.cancleUrl);
|
|
4252
|
+
},
|
|
4253
|
+
setPluginsPayloadFn(state, obj) {
|
|
4254
|
+
state.pluginsPayload = obj;
|
|
4225
4255
|
}
|
|
4226
4256
|
};
|
|
4227
4257
|
const actions = {
|
|
4228
4258
|
async sendMsg({
|
|
4229
4259
|
state,
|
|
4260
|
+
getters,
|
|
4230
4261
|
commit,
|
|
4231
4262
|
dispatch
|
|
4232
4263
|
}, msg) {
|
|
4233
|
-
if (
|
|
4264
|
+
if (msg === '' && getters.pluginPayloadStr === '') {
|
|
4234
4265
|
return;
|
|
4235
4266
|
}
|
|
4236
|
-
|
|
4237
|
-
|
|
4267
|
+
let message = msg;
|
|
4268
|
+
if (getters.pluginPayloadStr) {
|
|
4269
|
+
if (message) {
|
|
4270
|
+
message += ' ';
|
|
4271
|
+
}
|
|
4272
|
+
message += getters.pluginPayloadStr;
|
|
4238
4273
|
}
|
|
4239
4274
|
commit('setMsgList', {
|
|
4240
4275
|
isSend: true,
|
|
@@ -4243,7 +4278,7 @@ const actions = {
|
|
|
4243
4278
|
needPrinting: false,
|
|
4244
4279
|
uuid: Date.now(),
|
|
4245
4280
|
type: DataType.text,
|
|
4246
|
-
content:
|
|
4281
|
+
content: message
|
|
4247
4282
|
}],
|
|
4248
4283
|
showOpt: false
|
|
4249
4284
|
});
|
|
@@ -4490,12 +4525,23 @@ const actions = {
|
|
|
4490
4525
|
commit('setRequestSseing', false);
|
|
4491
4526
|
http.cancelByUrl(state.cancleUrl);
|
|
4492
4527
|
commit('setSendLonding', false);
|
|
4528
|
+
},
|
|
4529
|
+
setPluginsPayload({
|
|
4530
|
+
state,
|
|
4531
|
+
commit
|
|
4532
|
+
}, obj) {
|
|
4533
|
+
commit('setPluginsPayloadFn', obj);
|
|
4534
|
+
},
|
|
4535
|
+
clearPluginsPayload({
|
|
4536
|
+
commit
|
|
4537
|
+
}) {
|
|
4538
|
+
commit('setPluginsPayloadFn', {});
|
|
4493
4539
|
}
|
|
4494
4540
|
};
|
|
4495
4541
|
/* harmony default export */ var copilotStore = __webpack_exports__["default"] = ({
|
|
4496
4542
|
namespaced: true,
|
|
4497
4543
|
state: copilotStore_state,
|
|
4498
|
-
getters,
|
|
4544
|
+
getters: copilotStore_getters,
|
|
4499
4545
|
mutations,
|
|
4500
4546
|
actions
|
|
4501
4547
|
});
|
|
@@ -4529,7 +4575,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4529
4575
|
// ESM COMPAT FLAG
|
|
4530
4576
|
__webpack_require__.r(__webpack_exports__);
|
|
4531
4577
|
|
|
4532
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4578
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgTimePicker/main.vue?vue&type=template&id=f6fcc5da&scoped=true
|
|
4533
4579
|
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)
|
|
4534
4580
|
}
|
|
4535
4581
|
var staticRenderFns = []
|
|
@@ -4540,7 +4586,7 @@ var staticRenderFns = []
|
|
|
4540
4586
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
4541
4587
|
var es_error_cause = __webpack_require__("d9e2");
|
|
4542
4588
|
|
|
4543
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4589
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4544
4590
|
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)
|
|
4545
4591
|
}
|
|
4546
4592
|
var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
@@ -4548,7 +4594,7 @@ var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
|
4548
4594
|
|
|
4549
4595
|
// CONCATENATED MODULE: ./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4550
4596
|
|
|
4551
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4597
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-datepicker-local/src/VueDatepickerLocalCalendar.vue?vue&type=template&id=29da1c58
|
|
4552
4598
|
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()])
|
|
4553
4599
|
}
|
|
4554
4600
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_staticRenderFns = []
|
|
@@ -7499,17 +7545,6 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
7499
7545
|
});
|
|
7500
7546
|
|
|
7501
7547
|
|
|
7502
|
-
/***/ }),
|
|
7503
|
-
|
|
7504
|
-
/***/ "2ba9":
|
|
7505
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7506
|
-
|
|
7507
|
-
"use strict";
|
|
7508
|
-
/* 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");
|
|
7509
|
-
/* 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__);
|
|
7510
|
-
/* unused harmony reexport * */
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
7548
|
/***/ }),
|
|
7514
7549
|
|
|
7515
7550
|
/***/ "2d00":
|
|
@@ -9146,6 +9181,13 @@ module.exports = java;
|
|
|
9146
9181
|
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
9147
9182
|
|
|
9148
9183
|
|
|
9184
|
+
/***/ }),
|
|
9185
|
+
|
|
9186
|
+
/***/ "34ee":
|
|
9187
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9188
|
+
|
|
9189
|
+
// extracted by mini-css-extract-plugin
|
|
9190
|
+
|
|
9149
9191
|
/***/ }),
|
|
9150
9192
|
|
|
9151
9193
|
/***/ "3511":
|
|
@@ -9162,13 +9204,6 @@ module.exports = function (it) {
|
|
|
9162
9204
|
};
|
|
9163
9205
|
|
|
9164
9206
|
|
|
9165
|
-
/***/ }),
|
|
9166
|
-
|
|
9167
|
-
/***/ "3833":
|
|
9168
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9169
|
-
|
|
9170
|
-
// extracted by mini-css-extract-plugin
|
|
9171
|
-
|
|
9172
9207
|
/***/ }),
|
|
9173
9208
|
|
|
9174
9209
|
/***/ "387f":
|
|
@@ -9635,14 +9670,16 @@ module.exports = function mergeConfig(config1, config2) {
|
|
|
9635
9670
|
// EXPORTS
|
|
9636
9671
|
__webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ checkFilterShow_new; });
|
|
9637
9672
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ checkFilterShow_letter; });
|
|
9673
|
+
__webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ isEmpty; });
|
|
9638
9674
|
__webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ delay; });
|
|
9639
9675
|
__webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ deepClone; });
|
|
9640
9676
|
__webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ dependencyTransition; });
|
|
9641
9677
|
__webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ filterPluginByPinyin; });
|
|
9642
9678
|
__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ convertBytes; });
|
|
9643
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
9679
|
+
__webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ urlDownload; });
|
|
9680
|
+
__webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ plusParamToStr; });
|
|
9644
9681
|
|
|
9645
|
-
// UNUSED EXPORTS: checkNameValidity,
|
|
9682
|
+
// UNUSED EXPORTS: checkNameValidity, isDef, get, isObj, deepAssign, EnumPlusParam
|
|
9646
9683
|
|
|
9647
9684
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
9648
9685
|
var es_error_cause = __webpack_require__("d9e2");
|
|
@@ -9660,14 +9697,14 @@ function n(n,a,i){return(a=function(n){var a=function(n,a){if("object"!=typeof n
|
|
|
9660
9697
|
|
|
9661
9698
|
|
|
9662
9699
|
|
|
9663
|
-
/**
|
|
9664
|
-
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9665
|
-
* curF:当前分类
|
|
9666
|
-
* selIds:当前选中的分类id集合
|
|
9667
|
-
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9668
|
-
* selsMappingData: 选中的关联关系集合
|
|
9669
|
-
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9670
|
-
* return boolean 当前分类是否显示
|
|
9700
|
+
/**
|
|
9701
|
+
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9702
|
+
* curF:当前分类
|
|
9703
|
+
* selIds:当前选中的分类id集合
|
|
9704
|
+
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9705
|
+
* selsMappingData: 选中的关联关系集合
|
|
9706
|
+
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9707
|
+
* return boolean 当前分类是否显示
|
|
9671
9708
|
* */
|
|
9672
9709
|
|
|
9673
9710
|
const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingData) => {
|
|
@@ -9685,8 +9722,8 @@ const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingD
|
|
|
9685
9722
|
return names.includes(curF.label_name);
|
|
9686
9723
|
};
|
|
9687
9724
|
|
|
9688
|
-
/**
|
|
9689
|
-
* 类别筛选-字母快捷筛选
|
|
9725
|
+
/**
|
|
9726
|
+
* 类别筛选-字母快捷筛选
|
|
9690
9727
|
* */
|
|
9691
9728
|
const checkFilterShow_letter = (filter, letter, lang) => {
|
|
9692
9729
|
let isMatch;
|
|
@@ -9862,6 +9899,46 @@ const urlDownload = (url, fileName = '下载文件') => {
|
|
|
9862
9899
|
// 然后移除
|
|
9863
9900
|
document.body.removeChild(eleLink);
|
|
9864
9901
|
};
|
|
9902
|
+
const EnumPlusParam = {
|
|
9903
|
+
count: 'count',
|
|
9904
|
+
//
|
|
9905
|
+
url: 'url',
|
|
9906
|
+
//
|
|
9907
|
+
days: 'days',
|
|
9908
|
+
//
|
|
9909
|
+
keywords: 'keywords',
|
|
9910
|
+
//
|
|
9911
|
+
query: 'query',
|
|
9912
|
+
// 表达式
|
|
9913
|
+
isInland: 'isInland',
|
|
9914
|
+
// 是否为境内,默认返回true,要求境外则为false
|
|
9915
|
+
userLogic: 'userLogic',
|
|
9916
|
+
// 表达式
|
|
9917
|
+
user_logic: 'user_logic' // 表达式
|
|
9918
|
+
};
|
|
9919
|
+
|
|
9920
|
+
function plusParamToStr(str) {
|
|
9921
|
+
switch (str) {
|
|
9922
|
+
case EnumPlusParam.count:
|
|
9923
|
+
return '数量';
|
|
9924
|
+
case EnumPlusParam.url:
|
|
9925
|
+
return 'url地址';
|
|
9926
|
+
case EnumPlusParam.days:
|
|
9927
|
+
return '天数';
|
|
9928
|
+
case EnumPlusParam.keywords:
|
|
9929
|
+
return '关键词';
|
|
9930
|
+
case EnumPlusParam.query:
|
|
9931
|
+
return '查询表达式';
|
|
9932
|
+
case EnumPlusParam.isInland:
|
|
9933
|
+
return '境内境外';
|
|
9934
|
+
case EnumPlusParam.userLogic:
|
|
9935
|
+
return '逻辑表达式';
|
|
9936
|
+
case EnumPlusParam.user_logic:
|
|
9937
|
+
return '逻辑表达式';
|
|
9938
|
+
default:
|
|
9939
|
+
return '';
|
|
9940
|
+
}
|
|
9941
|
+
}
|
|
9865
9942
|
|
|
9866
9943
|
/***/ }),
|
|
9867
9944
|
|
|
@@ -11149,7 +11226,7 @@ module.exports = function (bitmap, value) {
|
|
|
11149
11226
|
// ESM COMPAT FLAG
|
|
11150
11227
|
__webpack_require__.r(__webpack_exports__);
|
|
11151
11228
|
|
|
11152
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11229
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/main.vue?vue&type=template&id=42a837b0&scoped=true
|
|
11153
11230
|
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)
|
|
11154
11231
|
}
|
|
11155
11232
|
var staticRenderFns = []
|
|
@@ -11160,7 +11237,7 @@ var staticRenderFns = []
|
|
|
11160
11237
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
11161
11238
|
var es_array_push = __webpack_require__("14d9");
|
|
11162
11239
|
|
|
11163
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11240
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
11164
11241
|
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)
|
|
11165
11242
|
}
|
|
11166
11243
|
var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
@@ -11168,7 +11245,7 @@ var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
|
11168
11245
|
|
|
11169
11246
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
11170
11247
|
|
|
11171
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11248
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
11172
11249
|
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:{
|
|
11173
11250
|
multiple: filter.multipleSel,
|
|
11174
11251
|
xinyuan: filter.kind === _vm.EnumFilterKind.XinYuan,
|
|
@@ -11207,7 +11284,7 @@ var FilterAreavue_type_template_id_79c8b408_scoped_true_staticRenderFns = []
|
|
|
11207
11284
|
|
|
11208
11285
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
11209
11286
|
|
|
11210
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11287
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItem.vue?vue&type=template&id=112c4e1e&scoped=true
|
|
11211
11288
|
var FilterItemvue_type_template_id_112c4e1e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(!_vm.multipleSel)?[_c('div',{on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-popover',{attrs:{"popper-class":"popover","placement":"top","trigger":"hover","content":'label_id:' + _vm.subFilter.label_id}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"slot":"reference","size":"small","link":"","type":_vm.selFilterIds.includes(_vm.subFilter.label_id) ? 'warning' : ''},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}},slot:"reference"},[_c('span',[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang])+" ")])])],1),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)]:[_c('div',{staticClass:"flex items-center text-xs text-[#606266]"},[_c('el-checkbox',{model:{value:(_vm.checkOut),callback:function ($$v) {_vm.checkOut=$$v},expression:"checkOut"}},[_c('span',{staticClass:"tagText"},[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang]))])])],1)]],2)
|
|
11212
11289
|
}
|
|
11213
11290
|
var FilterItemvue_type_template_id_112c4e1e_scoped_true_staticRenderFns = []
|
|
@@ -11294,7 +11371,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11294
11371
|
)
|
|
11295
11372
|
|
|
11296
11373
|
/* harmony default export */ var FilterItem = (component.exports);
|
|
11297
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11374
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItemIcon.vue?vue&type=template&id=f9d03fdc&scoped=true
|
|
11298
11375
|
var FilterItemIconvue_type_template_id_f9d03fdc_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"relative",class:{ hover: _vm.showEdit }},[_c('div',{staticClass:"flex items-end",on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-popover',{attrs:{"popper-class":"popover","placement":"top","trigger":"hover","content":'label_id:' + _vm.subFilter.label_id}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"size":"small","type":"text"},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}}},[_c('el-image',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showEdit),expression:"!showEdit"}],staticStyle:{"width":"103px","height":"36px"},attrs:{"src":_vm.subFilter.icon,"fit":"none"}},[_c('template',{slot:"error"},[_c('div',{staticClass:"image-slot"},[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang])+" ")])])],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showEdit),expression:"showEdit"}],staticClass:"truncate flex items-center justify-center",staticStyle:{"width":"103px","height":"36px"}},[_vm._v(" "+_vm._s(_vm.subFilter['name_' + _vm.lang])+" ")])],1)],1),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)])
|
|
11299
11376
|
}
|
|
11300
11377
|
var FilterItemIconvue_type_template_id_f9d03fdc_scoped_true_staticRenderFns = []
|
|
@@ -17412,15 +17489,15 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
17412
17489
|
// ESM COMPAT FLAG
|
|
17413
17490
|
__webpack_require__.r(__webpack_exports__);
|
|
17414
17491
|
|
|
17415
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17416
|
-
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)])
|
|
17492
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=7a8678ae&scoped=true
|
|
17493
|
+
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"wrap",staticStyle:{"height":"100%"}},[_c('div',{staticClass:"copilot-box"},[_c('Dialogue',{scopedSlots:_vm._u([_vm._l((_vm.$slots),function(item,key){return {key:key,fn:function(){return [_vm._t(key)]},proxy:true}})],null,true)}),_c('div',{staticClass:"copilot-bottom-box"},[_c('CopiFooter',{on:{"handleClickStopBtn":function($event){return _vm.$emit('handleClickStopBtn')}}})],1)],1)])
|
|
17417
17494
|
}
|
|
17418
17495
|
var staticRenderFns = []
|
|
17419
17496
|
|
|
17420
17497
|
|
|
17421
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=
|
|
17498
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=7a8678ae&scoped=true
|
|
17422
17499
|
|
|
17423
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17500
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=0e62fc1e&scoped=true
|
|
17424
17501
|
var dialoguevue_type_template_id_0e62fc1e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"messageBox",staticClass:"message-box"},[_vm._l((_vm.msgList),function(item,index){return _c('div',{key:item.uuid + '' + index,staticClass:"message-group"},[_c('div',{staticClass:"msg-head"},[(item.isSend)?_c('UserHead'):_c('AnswerHead',{scopedSlots:_vm._u([{key:"avatar",fn:function(){return [_vm._t("avatar")]},proxy:true}],null,true)})],1),_c('div',{class:{ 'msg-content': true, 'response-content': !item.isSend }},[(!item.isSend && item.plusName)?_c('div',{staticClass:"msg-plus mb-1"},[_c('div',[_vm._v(" 使用: "),_c('span',[_vm._v(_vm._s(item.plusName.replace(/,/g, ' ')))])])]):_vm._e(),_c('MessageParse',{attrs:{"msgs":item.msgs,"is-printing":item.needPrinting,"scroll-to-bottom":_vm.scrollToBottom},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}),(!item.isSend && !item.needPrinting && item.showOpt)?_c('div',{staticClass:"icon-operates"},[_c('div',{staticClass:"icon-item",attrs:{"title":"点赞"}},[_c('Like')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"不喜欢"}},[_c('Notlike')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"复制"}},[_c('Copy')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"导出"}},[_c('Download')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"播放"}},[_c('Speaker')],1)]):_vm._e()],1)])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.stopDialogue),expression:"stopDialogue"}],staticClass:"stop-dialogue"},[_c('div',{staticClass:"gray-line"}),_c('div',{staticClass:"title"},[_vm._v(" 很抱歉,此对话已达到其限制。让我们开始新的聊天。 ")]),_c('div',{staticClass:"gray-line"})])],2)
|
|
17425
17502
|
}
|
|
17426
17503
|
var dialoguevue_type_template_id_0e62fc1e_scoped_true_staticRenderFns = []
|
|
@@ -17428,7 +17505,7 @@ var dialoguevue_type_template_id_0e62fc1e_scoped_true_staticRenderFns = []
|
|
|
17428
17505
|
|
|
17429
17506
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=0e62fc1e&scoped=true
|
|
17430
17507
|
|
|
17431
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17508
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=1b518448&scoped=true
|
|
17432
17509
|
var messageParsevue_type_template_id_1b518448_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',_vm._l((_vm.msgs),function(item,index){return _c('div',{key:item.uuid + '' + index},[(index < _vm.current && item.type === _vm.DataType.text)?_c('ReadMd',{attrs:{"text":item.content,"scroll-to-bottom":_vm.scrollToBottom,"is-printing":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.edit)?_c('Edit',{attrs:{"content":item.content,"scroll-to-bottom":_vm.scrollToBottom,"is-printing":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.file)?_c('FileBox',{attrs:{"desc":item.content,"is-printing":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(_vm.isPrinting && index === _vm.current - 1 && !item.needPrinting)?_c('span',{staticClass:"cursor"}):_vm._e()],1)}),0)
|
|
17433
17510
|
}
|
|
17434
17511
|
var messageParsevue_type_template_id_1b518448_scoped_true_staticRenderFns = []
|
|
@@ -17439,7 +17516,7 @@ var messageParsevue_type_template_id_1b518448_scoped_true_staticRenderFns = []
|
|
|
17439
17516
|
// EXTERNAL MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js + 11 modules
|
|
17440
17517
|
var copilotStore = __webpack_require__("187e");
|
|
17441
17518
|
|
|
17442
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17519
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=1ecd7bbc&scoped=true
|
|
17443
17520
|
var readMdvue_type_template_id_1ecd7bbc_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:"highlight",rawName:"v-highlight"}],staticClass:"markdown",domProps:{"innerHTML":_vm._s(_vm.resultHtml)}})])
|
|
17444
17521
|
}
|
|
17445
17522
|
var readMdvue_type_template_id_1ecd7bbc_scoped_true_staticRenderFns = []
|
|
@@ -17463,10 +17540,10 @@ const States = {
|
|
|
17463
17540
|
codeStartBig: 2 // 大代码块状态
|
|
17464
17541
|
};
|
|
17465
17542
|
|
|
17466
|
-
/**
|
|
17467
|
-
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17468
|
-
* @param text
|
|
17469
|
-
* @returns {boolean}
|
|
17543
|
+
/**
|
|
17544
|
+
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17545
|
+
* @param text
|
|
17546
|
+
* @returns {boolean}
|
|
17470
17547
|
*/
|
|
17471
17548
|
function isInCode(text) {
|
|
17472
17549
|
let state = States.text;
|
|
@@ -17671,7 +17748,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
17671
17748
|
)
|
|
17672
17749
|
|
|
17673
17750
|
/* harmony default export */ var readMd = (component.exports);
|
|
17674
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17751
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17675
17752
|
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("下载")])])
|
|
17676
17753
|
}
|
|
17677
17754
|
var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
@@ -17679,7 +17756,7 @@ var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
|
17679
17756
|
|
|
17680
17757
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17681
17758
|
|
|
17682
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17759
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/fileIcon.vue?vue&type=template&id=d505c8c2&scoped=true
|
|
17683
17760
|
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()])
|
|
17684
17761
|
}
|
|
17685
17762
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_staticRenderFns = []
|
|
@@ -17762,7 +17839,7 @@ var util = __webpack_require__("4bce");
|
|
|
17762
17839
|
}
|
|
17763
17840
|
},
|
|
17764
17841
|
downLoadFilde() {
|
|
17765
|
-
Object(util["
|
|
17842
|
+
Object(util["j" /* urlDownload */])(this.desc.fileUrl, this.desc.name);
|
|
17766
17843
|
}
|
|
17767
17844
|
},
|
|
17768
17845
|
mounted() {
|
|
@@ -17796,7 +17873,7 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17796
17873
|
)
|
|
17797
17874
|
|
|
17798
17875
|
/* harmony default export */ var fileBox = (fileBox_component.exports);
|
|
17799
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17876
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17800
17877
|
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:{
|
|
17801
17878
|
'icon-item': true,
|
|
17802
17879
|
'cursor-default': !_vm.sendLonding
|
|
@@ -17807,7 +17884,7 @@ var editvue_type_template_id_ecb8431a_scoped_true_staticRenderFns = []
|
|
|
17807
17884
|
|
|
17808
17885
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17809
17886
|
|
|
17810
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17887
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue?vue&type=template&id=0c20c6bf
|
|
17811
17888
|
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"}})])
|
|
17812
17889
|
}
|
|
17813
17890
|
var thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns = []
|
|
@@ -17835,96 +17912,96 @@ var thumbsDown_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17835
17912
|
|
|
17836
17913
|
/* harmony default export */ var thumbsDown = (thumbsDown_component.exports);
|
|
17837
17914
|
// 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
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17843
|
-
components: {
|
|
17844
|
-
ReadMd: readMd,
|
|
17845
|
-
ThumbsDown: thumbsDown
|
|
17846
|
-
},
|
|
17847
|
-
props: {
|
|
17848
|
-
// 输入的 markdown 文本
|
|
17849
|
-
content: {
|
|
17850
|
-
type: Object,
|
|
17851
|
-
default: () => {}
|
|
17852
|
-
},
|
|
17853
|
-
isPrinting: {
|
|
17854
|
-
type: Boolean,
|
|
17855
|
-
default: false
|
|
17856
|
-
},
|
|
17857
|
-
scrollToBottom: {
|
|
17858
|
-
type: Function,
|
|
17859
|
-
default: () => {}
|
|
17860
|
-
}
|
|
17861
|
-
},
|
|
17862
|
-
data() {
|
|
17863
|
-
return {
|
|
17864
|
-
updateObj: {
|
|
17865
|
-
userLogic: {
|
|
17866
|
-
title: '提取的关键词信息:',
|
|
17867
|
-
type: 'text',
|
|
17868
|
-
value: this.content.updateInfo.userLogic
|
|
17869
|
-
}
|
|
17870
|
-
},
|
|
17871
|
-
printing: true,
|
|
17872
|
-
showButton: false,
|
|
17873
|
-
countDown: 5,
|
|
17874
|
-
interval: 0,
|
|
17875
|
-
isEditing: false,
|
|
17876
|
-
oldUserLogic: this.content.updateInfo.userLogic
|
|
17877
|
-
}
|
|
17878
|
-
},
|
|
17879
|
-
computed: {
|
|
17880
|
-
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17881
|
-
},
|
|
17882
|
-
methods: {
|
|
17883
|
-
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17884
|
-
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17885
|
-
confirm() {
|
|
17886
|
-
clearInterval(this.interval)
|
|
17887
|
-
this.showButton = false
|
|
17888
|
-
this.isEditing = false
|
|
17889
|
-
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17890
|
-
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17891
|
-
this.onlyCancelRequest()
|
|
17892
|
-
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17893
|
-
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17894
|
-
this.sendPluginMsg()
|
|
17895
|
-
return
|
|
17896
|
-
}
|
|
17897
|
-
this.finalComm(false)
|
|
17898
|
-
},
|
|
17899
|
-
finalComm(isEdit = false) {
|
|
17900
|
-
this.$emit('update:isPrinting', false)
|
|
17901
|
-
this.$emit('printOk', isEdit) //改动为true
|
|
17902
|
-
},
|
|
17903
|
-
printOk() {
|
|
17904
|
-
this.showButton = true
|
|
17905
|
-
this.scrollToBottom()
|
|
17906
|
-
this.interval = setInterval(() => {
|
|
17907
|
-
this.countDown--
|
|
17908
|
-
if (this.countDown <= 0) {
|
|
17909
|
-
clearInterval(this.interval)
|
|
17910
|
-
this.showButton = false
|
|
17911
|
-
this.finalComm(false)
|
|
17912
|
-
}
|
|
17913
|
-
}, 1000)
|
|
17914
|
-
},
|
|
17915
|
-
toEdit() {
|
|
17916
|
-
this.interval = clearInterval(this.interval)
|
|
17917
|
-
if (this.sendLonding) this.isEditing = true
|
|
17918
|
-
}
|
|
17919
|
-
},
|
|
17920
|
-
watch: {
|
|
17921
|
-
sendLonding(newValue) {
|
|
17922
|
-
if (!newValue) {
|
|
17923
|
-
this.$emit('update:isPrinting', false)
|
|
17924
|
-
}
|
|
17925
|
-
}
|
|
17926
|
-
}
|
|
17927
|
-
});
|
|
17915
|
+
|
|
17916
|
+
|
|
17917
|
+
|
|
17918
|
+
|
|
17919
|
+
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17920
|
+
components: {
|
|
17921
|
+
ReadMd: readMd,
|
|
17922
|
+
ThumbsDown: thumbsDown
|
|
17923
|
+
},
|
|
17924
|
+
props: {
|
|
17925
|
+
// 输入的 markdown 文本
|
|
17926
|
+
content: {
|
|
17927
|
+
type: Object,
|
|
17928
|
+
default: () => {}
|
|
17929
|
+
},
|
|
17930
|
+
isPrinting: {
|
|
17931
|
+
type: Boolean,
|
|
17932
|
+
default: false
|
|
17933
|
+
},
|
|
17934
|
+
scrollToBottom: {
|
|
17935
|
+
type: Function,
|
|
17936
|
+
default: () => {}
|
|
17937
|
+
}
|
|
17938
|
+
},
|
|
17939
|
+
data() {
|
|
17940
|
+
return {
|
|
17941
|
+
updateObj: {
|
|
17942
|
+
userLogic: {
|
|
17943
|
+
title: '提取的关键词信息:',
|
|
17944
|
+
type: 'text',
|
|
17945
|
+
value: this.content.updateInfo.userLogic
|
|
17946
|
+
}
|
|
17947
|
+
},
|
|
17948
|
+
printing: true,
|
|
17949
|
+
showButton: false,
|
|
17950
|
+
countDown: 5,
|
|
17951
|
+
interval: 0,
|
|
17952
|
+
isEditing: false,
|
|
17953
|
+
oldUserLogic: this.content.updateInfo.userLogic
|
|
17954
|
+
}
|
|
17955
|
+
},
|
|
17956
|
+
computed: {
|
|
17957
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17958
|
+
},
|
|
17959
|
+
methods: {
|
|
17960
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17961
|
+
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17962
|
+
confirm() {
|
|
17963
|
+
clearInterval(this.interval)
|
|
17964
|
+
this.showButton = false
|
|
17965
|
+
this.isEditing = false
|
|
17966
|
+
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17967
|
+
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17968
|
+
this.onlyCancelRequest()
|
|
17969
|
+
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17970
|
+
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17971
|
+
this.sendPluginMsg()
|
|
17972
|
+
return
|
|
17973
|
+
}
|
|
17974
|
+
this.finalComm(false)
|
|
17975
|
+
},
|
|
17976
|
+
finalComm(isEdit = false) {
|
|
17977
|
+
this.$emit('update:isPrinting', false)
|
|
17978
|
+
this.$emit('printOk', isEdit) //改动为true
|
|
17979
|
+
},
|
|
17980
|
+
printOk() {
|
|
17981
|
+
this.showButton = true
|
|
17982
|
+
this.scrollToBottom()
|
|
17983
|
+
this.interval = setInterval(() => {
|
|
17984
|
+
this.countDown--
|
|
17985
|
+
if (this.countDown <= 0) {
|
|
17986
|
+
clearInterval(this.interval)
|
|
17987
|
+
this.showButton = false
|
|
17988
|
+
this.finalComm(false)
|
|
17989
|
+
}
|
|
17990
|
+
}, 1000)
|
|
17991
|
+
},
|
|
17992
|
+
toEdit() {
|
|
17993
|
+
this.interval = clearInterval(this.interval)
|
|
17994
|
+
if (this.sendLonding) this.isEditing = true
|
|
17995
|
+
}
|
|
17996
|
+
},
|
|
17997
|
+
watch: {
|
|
17998
|
+
sendLonding(newValue) {
|
|
17999
|
+
if (!newValue) {
|
|
18000
|
+
this.$emit('update:isPrinting', false)
|
|
18001
|
+
}
|
|
18002
|
+
}
|
|
18003
|
+
}
|
|
18004
|
+
});
|
|
17928
18005
|
|
|
17929
18006
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=script&lang=ts
|
|
17930
18007
|
/* harmony default export */ var messageParse_editvue_type_script_lang_ts = (editvue_type_script_lang_ts);
|
|
@@ -18058,7 +18135,7 @@ var messageParse_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18058
18135
|
)
|
|
18059
18136
|
|
|
18060
18137
|
/* harmony default export */ var messageParse = (messageParse_component.exports);
|
|
18061
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18138
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiContent/UserHead.vue?vue&type=template&id=011b9031&scoped=true
|
|
18062
18139
|
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("你")])])
|
|
18063
18140
|
}
|
|
18064
18141
|
var UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns = []
|
|
@@ -18089,7 +18166,7 @@ var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18089
18166
|
)
|
|
18090
18167
|
|
|
18091
18168
|
/* harmony default export */ var UserHead = (UserHead_component.exports);
|
|
18092
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18169
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiContent/AnswerHead.vue?vue&type=template&id=c2abd5b4&scoped=true
|
|
18093
18170
|
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))])])
|
|
18094
18171
|
}
|
|
18095
18172
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_staticRenderFns = []
|
|
@@ -18130,7 +18207,7 @@ var AnswerHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18130
18207
|
)
|
|
18131
18208
|
|
|
18132
18209
|
/* harmony default export */ var AnswerHead = (AnswerHead_component.exports);
|
|
18133
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18210
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/copy.vue?vue&type=template&id=78ca311e
|
|
18134
18211
|
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"}})])
|
|
18135
18212
|
}
|
|
18136
18213
|
var copyvue_type_template_id_78ca311e_staticRenderFns = []
|
|
@@ -18157,7 +18234,7 @@ var copy_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18157
18234
|
)
|
|
18158
18235
|
|
|
18159
18236
|
/* harmony default export */ var copy = (copy_component.exports);
|
|
18160
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18237
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/download.vue?vue&type=template&id=32982189
|
|
18161
18238
|
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"}})])
|
|
18162
18239
|
}
|
|
18163
18240
|
var downloadvue_type_template_id_32982189_staticRenderFns = []
|
|
@@ -18184,7 +18261,7 @@ var download_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18184
18261
|
)
|
|
18185
18262
|
|
|
18186
18263
|
/* harmony default export */ var download = (download_component.exports);
|
|
18187
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18264
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue?vue&type=template&id=8a336b68
|
|
18188
18265
|
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"}})])
|
|
18189
18266
|
}
|
|
18190
18267
|
var speakervue_type_template_id_8a336b68_staticRenderFns = []
|
|
@@ -18211,7 +18288,7 @@ var speaker_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18211
18288
|
)
|
|
18212
18289
|
|
|
18213
18290
|
/* harmony default export */ var speaker = (speaker_component.exports);
|
|
18214
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18291
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/like.vue?vue&type=template&id=3bb849e2
|
|
18215
18292
|
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"}})])
|
|
18216
18293
|
}
|
|
18217
18294
|
var likevue_type_template_id_3bb849e2_staticRenderFns = []
|
|
@@ -18238,7 +18315,7 @@ var like_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18238
18315
|
)
|
|
18239
18316
|
|
|
18240
18317
|
/* harmony default export */ var like = (like_component.exports);
|
|
18241
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18318
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/notlike.vue?vue&type=template&id=646e792e
|
|
18242
18319
|
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"}})])
|
|
18243
18320
|
}
|
|
18244
18321
|
var notlikevue_type_template_id_646e792e_staticRenderFns = []
|
|
@@ -18344,25 +18421,25 @@ var dialogue_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18344
18421
|
)
|
|
18345
18422
|
|
|
18346
18423
|
/* harmony default export */ var dialogue = (dialogue_component.exports);
|
|
18347
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18348
|
-
var
|
|
18424
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=0c2abff1&scoped=true
|
|
18425
|
+
var CopiFootervue_type_template_id_0c2abff1_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"copilot-footer"},[_c('div',{staticClass:"root"},[_c('SearchInput',{on:{"handleClickStopBtn":function($event){return _vm.$emit('handleClickStopBtn')}}})],1)])
|
|
18349
18426
|
}
|
|
18350
|
-
var
|
|
18427
|
+
var CopiFootervue_type_template_id_0c2abff1_scoped_true_staticRenderFns = []
|
|
18351
18428
|
|
|
18352
18429
|
|
|
18353
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=
|
|
18430
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=0c2abff1&scoped=true
|
|
18354
18431
|
|
|
18355
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18356
|
-
var
|
|
18357
|
-
color: _vm.
|
|
18432
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=790fab7a&scoped=true
|
|
18433
|
+
var SearchInputvue_type_template_id_790fab7a_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"bottomFooter",staticClass:"bottom-footer"},[_c('div',{staticClass:"control-contain"},[_c('SelectPluginByKey',{attrs:{"is-show-select":_vm.isShowSelect,"select-plugin-list":_vm.selectPluginList,"modal":_vm.pluginModal,"active-plu-ind":_vm.activePluInd},on:{"close":_vm.closePluginByoutside,"deleteText":_vm.deleteText}}),_c('button',{staticClass:"control-button select-button",on:{"click":function($event){$event.stopPropagation();return _vm.openPluDialog.apply(null, arguments)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.buttonText)+" ")]),_c('div',{staticClass:"icon",class:[_vm.isShowSelection && 'rotated']},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32","fill":"currentColor"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M16 0a2.4 2.4 0 012.4 2.4l-.001 11.199L29.6 13.6a2.4 2.4 0 010 4.8l-11.201-.001L18.4 29.6a2.4 2.4 0 01-4.8 0l-.001-11.201L2.4 18.4a2.4 2.4 0 010-4.8l11.199-.001L13.6 2.4A2.4 2.4 0 0116 0z"}})])])]),_c('NewTheme'),(_vm.sendLonding)?_c('button',{staticClass:"control-button stop-responding-button",on:{"click":_vm.handleClickStopBtn}},[_c('div',{staticClass:"stop-icon"}),_c('span',[_vm._v("停止生成")])]):_vm._e()],1),_c('div',{staticClass:"input-container"},[(Object.keys(_vm.checkedPluginByBtn).length)?_c('div',{staticClass:"flex justify-between items-center plugin-town"},[_c('div',{},[_vm._v(" 已选智能体:"+_vm._s(_vm.checkedPluginByBtn.name)+" ")]),_c('div',{staticClass:"flex items-center justify-end",staticStyle:{"max-width":"50%"}},[_c('el-tooltip',{staticClass:"box-item",attrs:{"effect":"light","show-after":300,"placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_c('div',{staticClass:"p-2"},[_c('p',{staticClass:"pb-2 mb-2",staticStyle:{"border-bottom":"1px solid #dcdfe6"}},[_vm._v(" 参数提示 ")]),_vm._l((_vm.selPluginParams),function(key){return _c('div',{key:key,staticClass:"mb-1"},[_c('span',[_vm._v(_vm._s(_vm.plusParamToStr(key)))]),_c('br')])})],2)]),_c('svg',{staticClass:"cursor-pointer w-[20px] h-[20px]",style:({ color: _vm.pluginPayloadStr === '' ? '' : 'orange' }),attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"1em","height":"1em","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill":"currentColor","d":"M10 2a4 4 0 0 0-4 4v3H3v2h3v7a2 2 0 0 1-2 2H3v2h1a4 4 0 0 0 4-4v-7h3V9H8V6a2 2 0 0 1 2-2h1V2zm5.202 14.997L11.891 21h2.595l2.014-2.434L18.514 21h2.595l-3.311-4.003L21.105 13h-2.596L16.5 15.428L14.491 13h-2.595z"}})])]),(_vm.pluginPayloadStr === '')?[_c('svg',{staticClass:"icon cursor-pointer w-[20px] h-[20px]",attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"1em","height":"1em","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill":"black","d":"M4 18v-3.7a1.5 1.5 0 0 0-1.5-1.5H2v-1.6h.5A1.5 1.5 0 0 0 4 9.7V6a3 3 0 0 1 3-3h1v2H7a1 1 0 0 0-1 1v4.1A2 2 0 0 1 4.626 12A2 2 0 0 1 6 13.9V18a1 1 0 0 0 1 1h1v2H7a3 3 0 0 1-3-3m16-3.7V18a3 3 0 0 1-3 3h-1v-2h1a1 1 0 0 0 1-1v-4.1a2 2 0 0 1 1.374-1.9A2 2 0 0 1 18 10.1V6a1 1 0 0 0-1-1h-1V3h1a3 3 0 0 1 3 3v3.7a1.5 1.5 0 0 0 1.5 1.5h.5v1.6h-.5a1.5 1.5 0 0 0-1.5 1.5"}})])]:[_c('span',{staticClass:"cursor-pointer ml-3 mr-2 inline-block overflow-hidden whitespace-nowrap text-ellipsis",domProps:{"innerHTML":_vm._s(_vm.pluginPayloadStr)}}),_c('svg',{staticClass:"icon cursor-pointer w-[20px] h-[20px]",attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"1em","height":"1em","viewBox":"0 0 24 24"},on:{"click":_vm.clearPluginsPayload}},[_c('path',{attrs:{"fill":"black","d":"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415z"}})])]],2)]):_vm._e(),_c('div',{staticClass:"input-row",attrs:{"id":"copiFooter"}},[_c('div',{ref:"coptInput",staticClass:"text-area",attrs:{"contenteditable":"plaintext-only","placeholder":_vm.placeholder,"spellcheck":"false"},on:{"input":_vm.inputChange,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handlerSendMsg.apply(null, arguments)},_vm.handleKeyDown],"compositionstart":_vm.handleCompositionStart,"compositionend":_vm.handleCompositionEnd}})]),_c('div',{staticClass:"bottom-controls"},[_c('div',{staticClass:"bottom-left-controls"}),_c('div',{staticClass:"bottom-right-controls"},[_c('span',{staticClass:"text-sum"},[_c('span',[_vm._v(_vm._s(_vm.textLength))]),_vm._v("/2000")]),_c('button',{staticClass:"send-button",on:{"click":_vm.handlerSendMsg}},[_c('i',{staticClass:"el-icon-s-promotion",class:['icon'],style:({
|
|
18434
|
+
color: _vm.SendMsgBtnAllow ? '#1e56ea' : '#dbdbdb'
|
|
18358
18435
|
})})])])]),(_vm.stopDialogue)?_c('div',{staticClass:"disable",attrs:{"click.stop":""}}):_vm._e()])])
|
|
18359
18436
|
}
|
|
18360
|
-
var
|
|
18437
|
+
var SearchInputvue_type_template_id_790fab7a_scoped_true_staticRenderFns = []
|
|
18361
18438
|
|
|
18362
18439
|
|
|
18363
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=
|
|
18440
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=790fab7a&scoped=true
|
|
18364
18441
|
|
|
18365
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18442
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=4ec3d63f&scoped=true
|
|
18366
18443
|
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("新主题")])])])])
|
|
18367
18444
|
}
|
|
18368
18445
|
var NewThemevue_type_template_id_4ec3d63f_scoped_true_staticRenderFns = []
|
|
@@ -18430,7 +18507,7 @@ var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18430
18507
|
)
|
|
18431
18508
|
|
|
18432
18509
|
/* harmony default export */ var NewTheme = (NewTheme_component.exports);
|
|
18433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18510
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3287028f-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=f01c8388&scoped=true
|
|
18434
18511
|
var SelectPluginByKeyvue_type_template_id_f01c8388_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade-scale"}},[(_vm.isShowSelect)?_c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.onClickOutside),expression:"onClickOutside"}],staticClass:"selection",style:({ top: _vm.modal === 'key' ? '-105px' : '-150px' })},[_c('div',{ref:"pluginContent",staticClass:"plugin-content"},_vm._l((_vm.selectPluginList),function(plugin,index){return _c('el-popover',{key:index,attrs:{"offset":0,"placement":"right-start","title":plugin.name,"width":200,"trigger":"hover","content":plugin.introduce,"open-delay":200,"close-delay":0}},[_c('div',{ref:"pluginItem",refInFor:true,staticClass:"plugin-item",class:{ isSel: index === _vm.activePluInd },attrs:{"slot":"reference"},on:{"click":function($event){return _vm.choosePlugin(plugin)}},slot:"reference"},[_c('span',[_vm._v(_vm._s(plugin.name))]),_c('div',{staticClass:"plugin-item-right"},[_c('div',{staticClass:"select-radio",class:{ 'active-radio': _vm.checkedPluginByBtn === plugin }},[_c('i',{staticClass:"el-icon-check",class:['icon', { hoverIcon: index === _vm.activePluInd }]})])])])])}),1)]):_vm._e()])
|
|
18435
18512
|
}
|
|
18436
18513
|
var SelectPluginByKeyvue_type_template_id_f01c8388_scoped_true_staticRenderFns = []
|
|
@@ -18875,21 +18952,24 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18875
18952
|
timerCursor: null,
|
|
18876
18953
|
searchPluText: '',
|
|
18877
18954
|
selectPluginList: [],
|
|
18878
|
-
pluginModal: 'key'
|
|
18955
|
+
pluginModal: 'key',
|
|
18956
|
+
plusParamToStr: util["i" /* plusParamToStr */]
|
|
18879
18957
|
};
|
|
18880
18958
|
},
|
|
18881
18959
|
computed: {
|
|
18882
18960
|
...Object(vuex_esm["d" /* mapState */])('copilot', ['searchText', 'isSetOut', 'isInitCopilot', 'sendLonding', 'stopDialogue', 'checkedPluginBykey', 'checkedPluginByBtn', 'plugins', 'placeholder']),
|
|
18961
|
+
...Object(vuex_esm["b" /* mapGetters */])('copilot', ['selPluginParams', 'pluginPayloadStr']),
|
|
18883
18962
|
textLength() {
|
|
18884
18963
|
const num = this.searchText.length;
|
|
18885
18964
|
return num;
|
|
18965
|
+
},
|
|
18966
|
+
// 发送消息按钮是否可点击
|
|
18967
|
+
SendMsgBtnAllow: function () {
|
|
18968
|
+
return !this.sendLonding && (this.textLength || this.pluginPayloadStr !== '');
|
|
18886
18969
|
}
|
|
18887
18970
|
},
|
|
18888
18971
|
methods: {
|
|
18889
|
-
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendMsg', 'cancelRequest'
|
|
18890
|
-
// 其他需要在组件中使用的 action
|
|
18891
|
-
]),
|
|
18892
|
-
|
|
18972
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendMsg', 'cancelRequest', 'clearPluginsPayload']),
|
|
18893
18973
|
// 获取光标位置
|
|
18894
18974
|
getCursorPosition() {
|
|
18895
18975
|
// const editableDiv = this.$refs.coptInput
|
|
@@ -18957,14 +19037,18 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18957
19037
|
break;
|
|
18958
19038
|
case 'ArrowUp':
|
|
18959
19039
|
event.preventDefault();
|
|
18960
|
-
if (this.isComposing)
|
|
19040
|
+
if (this.isComposing) {
|
|
19041
|
+
return;
|
|
19042
|
+
}
|
|
18961
19043
|
if (this.isShowSelect) {
|
|
18962
19044
|
this.changePlugin('up');
|
|
18963
19045
|
}
|
|
18964
19046
|
break;
|
|
18965
19047
|
case 'ArrowDown':
|
|
18966
19048
|
event.preventDefault();
|
|
18967
|
-
if (this.isComposing)
|
|
19049
|
+
if (this.isComposing) {
|
|
19050
|
+
return;
|
|
19051
|
+
}
|
|
18968
19052
|
if (this.isShowSelect) {
|
|
18969
19053
|
this.changePlugin('down');
|
|
18970
19054
|
}
|
|
@@ -18993,13 +19077,18 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18993
19077
|
this.isShowSelect = false;
|
|
18994
19078
|
}
|
|
18995
19079
|
}
|
|
19080
|
+
break;
|
|
18996
19081
|
default:
|
|
18997
19082
|
break;
|
|
18998
19083
|
}
|
|
18999
19084
|
},
|
|
19000
19085
|
changePlugin(direct) {
|
|
19001
|
-
if (direct === 'up' && this.activePluInd === 0)
|
|
19002
|
-
|
|
19086
|
+
if (direct === 'up' && this.activePluInd === 0) {
|
|
19087
|
+
return;
|
|
19088
|
+
}
|
|
19089
|
+
if (direct === 'down' && this.activePluInd === this.plugins.length - 1) {
|
|
19090
|
+
return;
|
|
19091
|
+
}
|
|
19003
19092
|
this.activePluInd = direct === 'up' ? this.activePluInd - 1 : this.activePluInd + 1;
|
|
19004
19093
|
},
|
|
19005
19094
|
selectPluginByKey() {
|
|
@@ -19030,7 +19119,9 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
19030
19119
|
if (event.key === 'Enter') {
|
|
19031
19120
|
event.preventDefault();
|
|
19032
19121
|
}
|
|
19033
|
-
if (this.isComposing)
|
|
19122
|
+
if (this.isComposing) {
|
|
19123
|
+
return;
|
|
19124
|
+
}
|
|
19034
19125
|
if (this.isShowSelect) {
|
|
19035
19126
|
this.$store.commit('copilot/setCheckedPluginList', this.selectPluginList[this.activePluInd]);
|
|
19036
19127
|
this.deleteText();
|
|
@@ -19038,10 +19129,15 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
19038
19129
|
return;
|
|
19039
19130
|
}
|
|
19040
19131
|
const sendText = this.searchText;
|
|
19132
|
+
if (!this.SendMsgBtnAllow) {
|
|
19133
|
+
return;
|
|
19134
|
+
}
|
|
19041
19135
|
this.sendMsg(sendText);
|
|
19042
19136
|
},
|
|
19043
19137
|
handleClickStopBtn() {
|
|
19044
19138
|
this.cancelRequest();
|
|
19139
|
+
console.log(0);
|
|
19140
|
+
this.$emit('handleClickStopBtn');
|
|
19045
19141
|
// 停止打字机效果等其他逻辑
|
|
19046
19142
|
},
|
|
19047
19143
|
|
|
@@ -19059,28 +19155,6 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
19059
19155
|
}, 100);
|
|
19060
19156
|
}
|
|
19061
19157
|
},
|
|
19062
|
-
created() {},
|
|
19063
|
-
mounted() {
|
|
19064
|
-
// this.$refs.coptInput.focus();
|
|
19065
|
-
this.$refs.coptInput.innerText = '';
|
|
19066
|
-
this.$store.commit('copilot/setSearchText', {
|
|
19067
|
-
str: ''
|
|
19068
|
-
});
|
|
19069
|
-
const root = document.documentElement;
|
|
19070
|
-
let timer;
|
|
19071
|
-
this.observer = new MutationObserver(() => {
|
|
19072
|
-
clearTimeout(timer);
|
|
19073
|
-
timer = setTimeout(() => {
|
|
19074
|
-
if (this.$refs.bottomFooter) {
|
|
19075
|
-
root.style.setProperty('--input-bottom-height', `${this.$refs.bottomFooter.offsetHeight}px`);
|
|
19076
|
-
}
|
|
19077
|
-
}, 500);
|
|
19078
|
-
});
|
|
19079
|
-
this.observer.observe(this.$refs.bottomFooter, {
|
|
19080
|
-
childList: true,
|
|
19081
|
-
subtree: true
|
|
19082
|
-
});
|
|
19083
|
-
},
|
|
19084
19158
|
watch: {
|
|
19085
19159
|
isSetOut(val) {
|
|
19086
19160
|
if (val) {
|
|
@@ -19128,12 +19202,34 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
19128
19202
|
}
|
|
19129
19203
|
}
|
|
19130
19204
|
}
|
|
19205
|
+
},
|
|
19206
|
+
created() {},
|
|
19207
|
+
mounted() {
|
|
19208
|
+
// this.$refs.coptInput.focus();
|
|
19209
|
+
this.$refs.coptInput.innerText = '';
|
|
19210
|
+
this.$store.commit('copilot/setSearchText', {
|
|
19211
|
+
str: ''
|
|
19212
|
+
});
|
|
19213
|
+
const root = document.documentElement;
|
|
19214
|
+
let timer;
|
|
19215
|
+
this.observer = new MutationObserver(() => {
|
|
19216
|
+
clearTimeout(timer);
|
|
19217
|
+
timer = setTimeout(() => {
|
|
19218
|
+
if (this.$refs.bottomFooter) {
|
|
19219
|
+
root.style.setProperty('--input-bottom-height', `${this.$refs.bottomFooter.offsetHeight}px`);
|
|
19220
|
+
}
|
|
19221
|
+
}, 500);
|
|
19222
|
+
});
|
|
19223
|
+
this.observer.observe(this.$refs.bottomFooter, {
|
|
19224
|
+
childList: true,
|
|
19225
|
+
subtree: true
|
|
19226
|
+
});
|
|
19131
19227
|
}
|
|
19132
19228
|
});
|
|
19133
19229
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=script&lang=js
|
|
19134
19230
|
/* harmony default export */ var CopiFooter_SearchInputvue_type_script_lang_js = (SearchInputvue_type_script_lang_js);
|
|
19135
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=
|
|
19136
|
-
var
|
|
19231
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=790fab7a&prod&lang=scss&scoped=true
|
|
19232
|
+
var SearchInputvue_type_style_index_0_id_790fab7a_prod_lang_scss_scoped_true = __webpack_require__("b658");
|
|
19137
19233
|
|
|
19138
19234
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue
|
|
19139
19235
|
|
|
@@ -19146,11 +19242,11 @@ var SearchInputvue_type_style_index_0_id_7bddf706_prod_lang_scss_scoped_true = _
|
|
|
19146
19242
|
|
|
19147
19243
|
var SearchInput_component = Object(componentNormalizer["a" /* default */])(
|
|
19148
19244
|
CopiFooter_SearchInputvue_type_script_lang_js,
|
|
19149
|
-
|
|
19150
|
-
|
|
19245
|
+
SearchInputvue_type_template_id_790fab7a_scoped_true_render,
|
|
19246
|
+
SearchInputvue_type_template_id_790fab7a_scoped_true_staticRenderFns,
|
|
19151
19247
|
false,
|
|
19152
19248
|
null,
|
|
19153
|
-
"
|
|
19249
|
+
"790fab7a",
|
|
19154
19250
|
null
|
|
19155
19251
|
|
|
19156
19252
|
)
|
|
@@ -19167,8 +19263,8 @@ var SearchInput_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19167
19263
|
});
|
|
19168
19264
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=script&lang=js
|
|
19169
19265
|
/* harmony default export */ var KgCopilot_CopiFootervue_type_script_lang_js = (CopiFootervue_type_script_lang_js);
|
|
19170
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=style&index=0&id=
|
|
19171
|
-
var
|
|
19266
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=style&index=0&id=0c2abff1&prod&scoped=true&lang=scss
|
|
19267
|
+
var CopiFootervue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss = __webpack_require__("f24f");
|
|
19172
19268
|
|
|
19173
19269
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue
|
|
19174
19270
|
|
|
@@ -19181,11 +19277,11 @@ var CopiFootervue_type_style_index_0_id_699521c0_prod_scoped_true_lang_scss = __
|
|
|
19181
19277
|
|
|
19182
19278
|
var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
19183
19279
|
KgCopilot_CopiFootervue_type_script_lang_js,
|
|
19184
|
-
|
|
19185
|
-
|
|
19280
|
+
CopiFootervue_type_template_id_0c2abff1_scoped_true_render,
|
|
19281
|
+
CopiFootervue_type_template_id_0c2abff1_scoped_true_staticRenderFns,
|
|
19186
19282
|
false,
|
|
19187
19283
|
null,
|
|
19188
|
-
"
|
|
19284
|
+
"0c2abff1",
|
|
19189
19285
|
null
|
|
19190
19286
|
|
|
19191
19287
|
)
|
|
@@ -19234,6 +19330,20 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19234
19330
|
type: Object,
|
|
19235
19331
|
default: () => ({}),
|
|
19236
19332
|
required: true
|
|
19333
|
+
},
|
|
19334
|
+
pluginsPayload: {
|
|
19335
|
+
type: Object,
|
|
19336
|
+
default: () => ({}),
|
|
19337
|
+
required: false
|
|
19338
|
+
}
|
|
19339
|
+
},
|
|
19340
|
+
watch: {
|
|
19341
|
+
pluginsPayload: {
|
|
19342
|
+
handler: function (newVal) {
|
|
19343
|
+
this.setPluginsPayload(newVal);
|
|
19344
|
+
},
|
|
19345
|
+
immediate: true,
|
|
19346
|
+
deep: true
|
|
19237
19347
|
}
|
|
19238
19348
|
},
|
|
19239
19349
|
mounted() {
|
|
@@ -19251,6 +19361,7 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19251
19361
|
});
|
|
19252
19362
|
},
|
|
19253
19363
|
methods: {
|
|
19364
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['setPluginsPayload']),
|
|
19254
19365
|
getSearchText() {
|
|
19255
19366
|
return this.searchText;
|
|
19256
19367
|
},
|
|
@@ -19270,8 +19381,8 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19270
19381
|
});
|
|
19271
19382
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=script&lang=js
|
|
19272
19383
|
/* harmony default export */ var KgCopilot_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
19273
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=
|
|
19274
|
-
var
|
|
19384
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=7a8678ae&prod&scoped=true&lang=scss
|
|
19385
|
+
var mainvue_type_style_index_0_id_7a8678ae_prod_scoped_true_lang_scss = __webpack_require__("e75a");
|
|
19275
19386
|
|
|
19276
19387
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue
|
|
19277
19388
|
|
|
@@ -19288,7 +19399,7 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
19288
19399
|
staticRenderFns,
|
|
19289
19400
|
false,
|
|
19290
19401
|
null,
|
|
19291
|
-
"
|
|
19402
|
+
"7a8678ae",
|
|
19292
19403
|
null
|
|
19293
19404
|
|
|
19294
19405
|
)
|
|
@@ -19560,17 +19671,6 @@ function basic(hljs) {
|
|
|
19560
19671
|
module.exports = basic;
|
|
19561
19672
|
|
|
19562
19673
|
|
|
19563
|
-
/***/ }),
|
|
19564
|
-
|
|
19565
|
-
/***/ "a5e6":
|
|
19566
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19567
|
-
|
|
19568
|
-
"use strict";
|
|
19569
|
-
/* 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_7bddf706_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3833");
|
|
19570
|
-
/* 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_7bddf706_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7bddf706_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
19571
|
-
/* unused harmony reexport * */
|
|
19572
|
-
|
|
19573
|
-
|
|
19574
19674
|
/***/ }),
|
|
19575
19675
|
|
|
19576
19676
|
/***/ "a5f0":
|
|
@@ -19737,9 +19837,9 @@ const getters = {
|
|
|
19737
19837
|
}
|
|
19738
19838
|
return arr;
|
|
19739
19839
|
},
|
|
19740
|
-
/**
|
|
19741
|
-
* 根据选中的信源,返回总的信源类别关联2
|
|
19742
|
-
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19840
|
+
/**
|
|
19841
|
+
* 根据选中的信源,返回总的信源类别关联2
|
|
19842
|
+
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19743
19843
|
* */
|
|
19744
19844
|
mappingData_selAll_xinyuan: (state, getters) => {
|
|
19745
19845
|
let mappingData = []; // 取交集
|
|
@@ -19763,9 +19863,9 @@ const getters = {
|
|
|
19763
19863
|
// console.log('依赖总映射', dependencyTransition(mappingData, state.filterList))
|
|
19764
19864
|
return Object(_utils_util__WEBPACK_IMPORTED_MODULE_2__[/* dependencyTransition */ "f"])(mappingData, state.filterList);
|
|
19765
19865
|
},
|
|
19766
|
-
/**
|
|
19767
|
-
* 根据选中的主体和属性,返回总的关联类别 (行交集,列交集)
|
|
19768
|
-
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19866
|
+
/**
|
|
19867
|
+
* 根据选中的主体和属性,返回总的关联类别 (行交集,列交集)
|
|
19868
|
+
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19769
19869
|
* */
|
|
19770
19870
|
mappingData_selAll_zhuti_new: (state, getters) => {
|
|
19771
19871
|
let mappingData = []; // 取交集
|
|
@@ -19788,9 +19888,9 @@ const getters = {
|
|
|
19788
19888
|
}
|
|
19789
19889
|
return Object(_utils_util__WEBPACK_IMPORTED_MODULE_2__[/* dependencyTransition */ "f"])(mappingData, state.filterList);
|
|
19790
19890
|
},
|
|
19791
|
-
/**
|
|
19792
|
-
* 根据选中的query,返回总的关联类别 (行交集,列交集)
|
|
19793
|
-
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19891
|
+
/**
|
|
19892
|
+
* 根据选中的query,返回总的关联类别 (行交集,列交集)
|
|
19893
|
+
* 返回值: {123:["亚洲"],12345:["越南"]} | {}
|
|
19794
19894
|
* */
|
|
19795
19895
|
mappingData_selAll_query: (state, getters) => {
|
|
19796
19896
|
let mappingData = []; // 取交集
|
|
@@ -21430,6 +21530,17 @@ module.exports = function (name) {
|
|
|
21430
21530
|
};
|
|
21431
21531
|
|
|
21432
21532
|
|
|
21533
|
+
/***/ }),
|
|
21534
|
+
|
|
21535
|
+
/***/ "b658":
|
|
21536
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21537
|
+
|
|
21538
|
+
"use strict";
|
|
21539
|
+
/* 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_790fab7a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("34ee");
|
|
21540
|
+
/* 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_790fab7a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_790fab7a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
21541
|
+
/* unused harmony reexport * */
|
|
21542
|
+
|
|
21543
|
+
|
|
21433
21544
|
/***/ }),
|
|
21434
21545
|
|
|
21435
21546
|
/***/ "b980":
|
|
@@ -22355,17 +22466,6 @@ function http(hljs) {
|
|
|
22355
22466
|
module.exports = http;
|
|
22356
22467
|
|
|
22357
22468
|
|
|
22358
|
-
/***/ }),
|
|
22359
|
-
|
|
22360
|
-
/***/ "c023":
|
|
22361
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
22362
|
-
|
|
22363
|
-
"use strict";
|
|
22364
|
-
/* 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_699521c0_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f7de");
|
|
22365
|
-
/* 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_699521c0_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_699521c0_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
22366
|
-
/* unused harmony reexport * */
|
|
22367
|
-
|
|
22368
|
-
|
|
22369
22469
|
/***/ }),
|
|
22370
22470
|
|
|
22371
22471
|
/***/ "c04e":
|
|
@@ -24434,13 +24534,6 @@ var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
24434
24534
|
module.exports = store;
|
|
24435
24535
|
|
|
24436
24536
|
|
|
24437
|
-
/***/ }),
|
|
24438
|
-
|
|
24439
|
-
/***/ "c7f7":
|
|
24440
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
24441
|
-
|
|
24442
|
-
// extracted by mini-css-extract-plugin
|
|
24443
|
-
|
|
24444
24537
|
/***/ }),
|
|
24445
24538
|
|
|
24446
24539
|
/***/ "c8af":
|
|
@@ -24488,6 +24581,13 @@ try {
|
|
|
24488
24581
|
module.exports = g;
|
|
24489
24582
|
|
|
24490
24583
|
|
|
24584
|
+
/***/ }),
|
|
24585
|
+
|
|
24586
|
+
/***/ "c96f":
|
|
24587
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24588
|
+
|
|
24589
|
+
// extracted by mini-css-extract-plugin
|
|
24590
|
+
|
|
24491
24591
|
/***/ }),
|
|
24492
24592
|
|
|
24493
24593
|
/***/ "ca84":
|
|
@@ -25569,6 +25669,17 @@ module.exports = function combineURLs(baseURL, relativeURL) {
|
|
|
25569
25669
|
};
|
|
25570
25670
|
|
|
25571
25671
|
|
|
25672
|
+
/***/ }),
|
|
25673
|
+
|
|
25674
|
+
/***/ "e75a":
|
|
25675
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25676
|
+
|
|
25677
|
+
"use strict";
|
|
25678
|
+
/* 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_7a8678ae_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c96f");
|
|
25679
|
+
/* 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_7a8678ae_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_7a8678ae_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
25680
|
+
/* unused harmony reexport * */
|
|
25681
|
+
|
|
25682
|
+
|
|
25572
25683
|
/***/ }),
|
|
25573
25684
|
|
|
25574
25685
|
/***/ "e893":
|
|
@@ -26869,6 +26980,17 @@ function bash(hljs) {
|
|
|
26869
26980
|
module.exports = bash;
|
|
26870
26981
|
|
|
26871
26982
|
|
|
26983
|
+
/***/ }),
|
|
26984
|
+
|
|
26985
|
+
/***/ "f24f":
|
|
26986
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26987
|
+
|
|
26988
|
+
"use strict";
|
|
26989
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0eaa");
|
|
26990
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0c2abff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
26991
|
+
/* unused harmony reexport * */
|
|
26992
|
+
|
|
26993
|
+
|
|
26872
26994
|
/***/ }),
|
|
26873
26995
|
|
|
26874
26996
|
/***/ "f4da":
|
|
@@ -27211,13 +27333,6 @@ module.exports = function (key) {
|
|
|
27211
27333
|
};
|
|
27212
27334
|
|
|
27213
27335
|
|
|
27214
|
-
/***/ }),
|
|
27215
|
-
|
|
27216
|
-
/***/ "f7de":
|
|
27217
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
27218
|
-
|
|
27219
|
-
// extracted by mini-css-extract-plugin
|
|
27220
|
-
|
|
27221
27336
|
/***/ }),
|
|
27222
27337
|
|
|
27223
27338
|
/***/ "f80d":
|
|
@@ -27371,10 +27486,10 @@ files.keys().forEach(key => {
|
|
|
27371
27486
|
|
|
27372
27487
|
// CONCATENATED MODULE: ./packages/know_ui_v2/store/index.js
|
|
27373
27488
|
const storeMoudles = {};
|
|
27374
|
-
/**
|
|
27375
|
-
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
27376
|
-
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
27377
|
-
* 名注册在外部应用
|
|
27489
|
+
/**
|
|
27490
|
+
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
27491
|
+
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
27492
|
+
* 名注册在外部应用
|
|
27378
27493
|
*/
|
|
27379
27494
|
const store_files = __webpack_require__("27d5");
|
|
27380
27495
|
store_files.keys().forEach(key => {
|
|
@@ -27389,9 +27504,9 @@ function setStoreMoudles(store) {
|
|
|
27389
27504
|
}
|
|
27390
27505
|
}
|
|
27391
27506
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/index.js
|
|
27392
|
-
/**
|
|
27393
|
-
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
27394
|
-
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
27507
|
+
/**
|
|
27508
|
+
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
27509
|
+
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
27395
27510
|
*/
|
|
27396
27511
|
const components_files = __webpack_require__("7d1c");
|
|
27397
27512
|
const components = {};
|