@kg-ui/kg-ui 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/main.common.js +431 -407
- package/lib/main.css +2 -2
- package/lib/main.umd.js +431 -407
- package/lib/main.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/main.common.js
CHANGED
|
@@ -96,6 +96,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
+
/***/ "00e6":
|
|
100
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
"use strict";
|
|
103
|
+
/* 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_3cfa133a_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1b76");
|
|
104
|
+
/* 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_3cfa133a_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_3cfa133a_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
105
|
+
/* unused harmony reexport * */
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
/***/ }),
|
|
109
|
+
|
|
99
110
|
/***/ "00ee":
|
|
100
111
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
112
|
|
|
@@ -4042,14 +4053,15 @@ const sendMsgApi = (sendUrl, data) => {
|
|
|
4042
4053
|
const getReport = param => {
|
|
4043
4054
|
const controller = new AbortController();
|
|
4044
4055
|
let {
|
|
4045
|
-
data
|
|
4056
|
+
data,
|
|
4057
|
+
method = 'POST'
|
|
4046
4058
|
} = param;
|
|
4047
4059
|
const headers = Object.assign({
|
|
4048
4060
|
'Content-Type': 'application/json'
|
|
4049
4061
|
}, param.headers || {});
|
|
4050
4062
|
fetchEventSource(param.sendUrl, {
|
|
4051
|
-
method
|
|
4052
|
-
body: JSON.stringify(data),
|
|
4063
|
+
method,
|
|
4064
|
+
body: data && JSON.stringify(data),
|
|
4053
4065
|
signal: controller.signal,
|
|
4054
4066
|
openWhenHidden: true,
|
|
4055
4067
|
headers,
|
|
@@ -4101,9 +4113,9 @@ const copilotStore_state = {
|
|
|
4101
4113
|
msgList: [],
|
|
4102
4114
|
sendLonding: false,
|
|
4103
4115
|
checkedPluginByBtn: [],
|
|
4104
|
-
plugins: [],
|
|
4105
4116
|
cancleUrl: '',
|
|
4106
4117
|
requestSseing: false,
|
|
4118
|
+
isSetOut: false,
|
|
4107
4119
|
cancelsse: () => {}
|
|
4108
4120
|
};
|
|
4109
4121
|
const getters = {};
|
|
@@ -4152,8 +4164,15 @@ const mutations = {
|
|
|
4152
4164
|
setIsInitCopilot(state, data) {
|
|
4153
4165
|
state.isInitCopilot = data;
|
|
4154
4166
|
},
|
|
4155
|
-
setSearchText(state,
|
|
4167
|
+
setSearchText(state, {
|
|
4168
|
+
str,
|
|
4169
|
+
isSetOut = false
|
|
4170
|
+
}) {
|
|
4156
4171
|
state.searchText = str;
|
|
4172
|
+
state.isSetOut = !str || isSetOut;
|
|
4173
|
+
},
|
|
4174
|
+
setIsSetOut(state, value) {
|
|
4175
|
+
state.isSetOut = value;
|
|
4157
4176
|
},
|
|
4158
4177
|
setSendLonding(state, isLoading) {
|
|
4159
4178
|
state.sendLonding = isLoading;
|
|
@@ -4162,13 +4181,7 @@ const mutations = {
|
|
|
4162
4181
|
state.isShowNewTheme = show;
|
|
4163
4182
|
},
|
|
4164
4183
|
setCheckedPluginList(state, plugin) {
|
|
4165
|
-
|
|
4166
|
-
if (index !== -1) {
|
|
4167
|
-
state.checkedPluginByBtn.splice(index, 1);
|
|
4168
|
-
} else {
|
|
4169
|
-
if (state.checkedPluginByBtn.length >= 3) return;
|
|
4170
|
-
state.checkedPluginByBtn.push(plugin);
|
|
4171
|
-
}
|
|
4184
|
+
state.checkedPluginByBtn = state.checkedPluginByBtn === plugin ? {} : plugin;
|
|
4172
4185
|
},
|
|
4173
4186
|
setMsgList(state, msg) {
|
|
4174
4187
|
state.msgList.push(msg);
|
|
@@ -4204,7 +4217,9 @@ const actions = {
|
|
|
4204
4217
|
state,
|
|
4205
4218
|
commit
|
|
4206
4219
|
}, msg) {
|
|
4207
|
-
|
|
4220
|
+
if (!msg) return;
|
|
4221
|
+
if (state.sendLonding) return;
|
|
4222
|
+
const plusName = state.checkedPluginByBtn.name;
|
|
4208
4223
|
commit('setMsgList', {
|
|
4209
4224
|
isSend: true,
|
|
4210
4225
|
msg: [msg],
|
|
@@ -4213,14 +4228,16 @@ const actions = {
|
|
|
4213
4228
|
plusName
|
|
4214
4229
|
});
|
|
4215
4230
|
commit('setSendLonding', true);
|
|
4216
|
-
commit('setSearchText',
|
|
4231
|
+
commit('setSearchText', {
|
|
4232
|
+
str: ''
|
|
4233
|
+
});
|
|
4217
4234
|
const willSendMsg = [];
|
|
4218
4235
|
state.msgList.slice(-5).forEach(item => {
|
|
4219
4236
|
willSendMsg.push(...item.msg);
|
|
4220
4237
|
});
|
|
4221
4238
|
let currentPlugin = state.defaultPlugin;
|
|
4222
|
-
if (state.checkedPluginByBtn.length) {
|
|
4223
|
-
currentPlugin = state.checkedPluginByBtn
|
|
4239
|
+
if (Object.keys(state.checkedPluginByBtn).length) {
|
|
4240
|
+
currentPlugin = state.checkedPluginByBtn;
|
|
4224
4241
|
}
|
|
4225
4242
|
const {
|
|
4226
4243
|
data,
|
|
@@ -4229,6 +4246,7 @@ const actions = {
|
|
|
4229
4246
|
commit('setRequestSseing', true);
|
|
4230
4247
|
commit('setCancelsse', getReport({
|
|
4231
4248
|
sendUrl: currentPlugin.url,
|
|
4249
|
+
method: currentPlugin.method,
|
|
4232
4250
|
data,
|
|
4233
4251
|
headers,
|
|
4234
4252
|
onerror: () => {
|
|
@@ -4274,6 +4292,17 @@ const actions = {
|
|
|
4274
4292
|
actions
|
|
4275
4293
|
});
|
|
4276
4294
|
|
|
4295
|
+
/***/ }),
|
|
4296
|
+
|
|
4297
|
+
/***/ "19d3":
|
|
4298
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4299
|
+
|
|
4300
|
+
"use strict";
|
|
4301
|
+
/* 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_2c91042c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a78c");
|
|
4302
|
+
/* 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_2c91042c_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_2c91042c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
4303
|
+
/* unused harmony reexport * */
|
|
4304
|
+
|
|
4305
|
+
|
|
4277
4306
|
/***/ }),
|
|
4278
4307
|
|
|
4279
4308
|
/***/ "1a2d":
|
|
@@ -4294,6 +4323,13 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4294
4323
|
};
|
|
4295
4324
|
|
|
4296
4325
|
|
|
4326
|
+
/***/ }),
|
|
4327
|
+
|
|
4328
|
+
/***/ "1b76":
|
|
4329
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4330
|
+
|
|
4331
|
+
// extracted by mini-css-extract-plugin
|
|
4332
|
+
|
|
4297
4333
|
/***/ }),
|
|
4298
4334
|
|
|
4299
4335
|
/***/ "1d21":
|
|
@@ -4303,7 +4339,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4303
4339
|
// ESM COMPAT FLAG
|
|
4304
4340
|
__webpack_require__.r(__webpack_exports__);
|
|
4305
4341
|
|
|
4306
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4342
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
4307
4343
|
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)
|
|
4308
4344
|
}
|
|
4309
4345
|
var staticRenderFns = []
|
|
@@ -4314,7 +4350,7 @@ var staticRenderFns = []
|
|
|
4314
4350
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
4315
4351
|
var es_error_cause = __webpack_require__("d9e2");
|
|
4316
4352
|
|
|
4317
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4353
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
4318
4354
|
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)
|
|
4319
4355
|
}
|
|
4320
4356
|
var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
@@ -4322,7 +4358,7 @@ var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
|
4322
4358
|
|
|
4323
4359
|
// CONCATENATED MODULE: ./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4324
4360
|
|
|
4325
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4361
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
4326
4362
|
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()])
|
|
4327
4363
|
}
|
|
4328
4364
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_staticRenderFns = []
|
|
@@ -5537,6 +5573,13 @@ webpackContext.id = "27d5";
|
|
|
5537
5573
|
|
|
5538
5574
|
/***/ }),
|
|
5539
5575
|
|
|
5576
|
+
/***/ "2819":
|
|
5577
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5578
|
+
|
|
5579
|
+
// extracted by mini-css-extract-plugin
|
|
5580
|
+
|
|
5581
|
+
/***/ }),
|
|
5582
|
+
|
|
5540
5583
|
/***/ "2877":
|
|
5541
5584
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5542
5585
|
|
|
@@ -9081,13 +9124,6 @@ module.exports = function (argument) {
|
|
|
9081
9124
|
};
|
|
9082
9125
|
|
|
9083
9126
|
|
|
9084
|
-
/***/ }),
|
|
9085
|
-
|
|
9086
|
-
/***/ "3e66":
|
|
9087
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9088
|
-
|
|
9089
|
-
// extracted by mini-css-extract-plugin
|
|
9090
|
-
|
|
9091
9127
|
/***/ }),
|
|
9092
9128
|
|
|
9093
9129
|
/***/ "40d5":
|
|
@@ -9214,13 +9250,6 @@ module.exports = function settle(resolve, reject, response) {
|
|
|
9214
9250
|
};
|
|
9215
9251
|
|
|
9216
9252
|
|
|
9217
|
-
/***/ }),
|
|
9218
|
-
|
|
9219
|
-
/***/ "4691":
|
|
9220
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9221
|
-
|
|
9222
|
-
// extracted by mini-css-extract-plugin
|
|
9223
|
-
|
|
9224
9253
|
/***/ }),
|
|
9225
9254
|
|
|
9226
9255
|
/***/ "485a":
|
|
@@ -10594,17 +10623,6 @@ function json(hljs) {
|
|
|
10594
10623
|
module.exports = json;
|
|
10595
10624
|
|
|
10596
10625
|
|
|
10597
|
-
/***/ }),
|
|
10598
|
-
|
|
10599
|
-
/***/ "5b0a":
|
|
10600
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10601
|
-
|
|
10602
|
-
"use strict";
|
|
10603
|
-
/* 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_732a039e_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6592");
|
|
10604
|
-
/* 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_732a039e_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_732a039e_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
10605
|
-
/* unused harmony reexport * */
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
10626
|
/***/ }),
|
|
10609
10627
|
|
|
10610
10628
|
/***/ "5c6c":
|
|
@@ -10631,27 +10649,18 @@ module.exports = function (bitmap, value) {
|
|
|
10631
10649
|
// ESM COMPAT FLAG
|
|
10632
10650
|
__webpack_require__.r(__webpack_exports__);
|
|
10633
10651
|
|
|
10634
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10652
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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=13cf9100&scoped=true
|
|
10635
10653
|
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)
|
|
10636
10654
|
}
|
|
10637
10655
|
var staticRenderFns = []
|
|
10638
10656
|
|
|
10639
10657
|
|
|
10640
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/main.vue?vue&type=template&id=
|
|
10658
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/main.vue?vue&type=template&id=13cf9100&scoped=true
|
|
10641
10659
|
|
|
10642
10660
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
10643
10661
|
var es_array_push = __webpack_require__("14d9");
|
|
10644
10662
|
|
|
10645
|
-
//
|
|
10646
|
-
var style_reset = __webpack_require__("eb5c");
|
|
10647
|
-
|
|
10648
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/style/index.scss
|
|
10649
|
-
var style = __webpack_require__("b943");
|
|
10650
|
-
|
|
10651
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/style/tailwind.css
|
|
10652
|
-
var tailwind = __webpack_require__("e535");
|
|
10653
|
-
|
|
10654
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"befe98f2-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
|
|
10663
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
10655
10664
|
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)
|
|
10656
10665
|
}
|
|
10657
10666
|
var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
@@ -10659,7 +10668,7 @@ var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
|
10659
10668
|
|
|
10660
10669
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
10661
10670
|
|
|
10662
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10671
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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=b4d1465c&scoped=true
|
|
10663
10672
|
var FilterAreavue_type_template_id_b4d1465c_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:{
|
|
10664
10673
|
multiple: filter.multipleSel,
|
|
10665
10674
|
xinyuan: filter.kind === _vm.EnumFilterKind.XinYuan,
|
|
@@ -10698,7 +10707,7 @@ var FilterAreavue_type_template_id_b4d1465c_scoped_true_staticRenderFns = []
|
|
|
10698
10707
|
|
|
10699
10708
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=b4d1465c&scoped=true
|
|
10700
10709
|
|
|
10701
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10710
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItem.vue?vue&type=template&id=3a70deee&scoped=true
|
|
10702
10711
|
var FilterItemvue_type_template_id_3a70deee_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(!_vm.multipleSel)?[_c('div',{on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"size":"small","link":"","type":_vm.selFilterIds.includes(_vm.subFilter.label_id) ? 'warning' : ''},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang])+" ")])]),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)]:[_c('div',{staticClass:"flex items-center text-xs text-[#606266]"},[_c('el-checkbox',{model:{value:(_vm.checkOut),callback:function ($$v) {_vm.checkOut=$$v},expression:"checkOut"}},[_c('span',{staticClass:"tagText"},[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang]))])])],1)]],2)
|
|
10703
10712
|
}
|
|
10704
10713
|
var FilterItemvue_type_template_id_3a70deee_scoped_true_staticRenderFns = []
|
|
@@ -10781,7 +10790,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
10781
10790
|
)
|
|
10782
10791
|
|
|
10783
10792
|
/* harmony default export */ var FilterItem = (component.exports);
|
|
10784
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10793
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItemIcon.vue?vue&type=template&id=4b83b000&scoped=true
|
|
10785
10794
|
var FilterItemIconvue_type_template_id_4b83b000_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"relative",class:{ hover: _vm.showEdit }},[_c('div',{staticClass:"flex items-end",on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"size":"small","type":"text"},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}}},[_c('el-image',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showEdit),expression:"!showEdit"}],staticStyle:{"width":"103px","height":"36px"},attrs:{"src":_vm.subFilter.icon,"fit":"none"}},[_c('template',{slot:"error"},[_c('div',{staticClass:"image-slot"},[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang])+" ")])])],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showEdit),expression:"showEdit"}],staticClass:"truncate flex items-center justify-center",staticStyle:{"width":"103px","height":"36px"}},[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang])+" ")])],1),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)])
|
|
10786
10795
|
}
|
|
10787
10796
|
var FilterItemIconvue_type_template_id_4b83b000_scoped_true_staticRenderFns = []
|
|
@@ -11102,9 +11111,6 @@ var LFilter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
11102
11111
|
|
|
11103
11112
|
|
|
11104
11113
|
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
11114
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
11109
11115
|
name: 'Home',
|
|
11110
11116
|
components: {
|
|
@@ -11274,8 +11280,8 @@ var LFilter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
11274
11280
|
});
|
|
11275
11281
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/main.vue?vue&type=script&lang=js
|
|
11276
11282
|
/* harmony default export */ var Home_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
11277
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/Home/main.vue?vue&type=style&index=0&id=
|
|
11278
|
-
var
|
|
11283
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/Home/main.vue?vue&type=style&index=0&id=13cf9100&prod&scoped=true&lang=scss
|
|
11284
|
+
var mainvue_type_style_index_0_id_13cf9100_prod_scoped_true_lang_scss = __webpack_require__("df9c");
|
|
11279
11285
|
|
|
11280
11286
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/main.vue
|
|
11281
11287
|
|
|
@@ -11292,7 +11298,7 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
11292
11298
|
staticRenderFns,
|
|
11293
11299
|
false,
|
|
11294
11300
|
null,
|
|
11295
|
-
"
|
|
11301
|
+
"13cf9100",
|
|
11296
11302
|
null
|
|
11297
11303
|
|
|
11298
11304
|
)
|
|
@@ -11389,13 +11395,6 @@ module.exports = function (key, value) {
|
|
|
11389
11395
|
};
|
|
11390
11396
|
|
|
11391
11397
|
|
|
11392
|
-
/***/ }),
|
|
11393
|
-
|
|
11394
|
-
/***/ "6592":
|
|
11395
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11396
|
-
|
|
11397
|
-
// extracted by mini-css-extract-plugin
|
|
11398
|
-
|
|
11399
11398
|
/***/ }),
|
|
11400
11399
|
|
|
11401
11400
|
/***/ "677e":
|
|
@@ -11482,17 +11481,6 @@ module.exports = {
|
|
|
11482
11481
|
};
|
|
11483
11482
|
|
|
11484
11483
|
|
|
11485
|
-
/***/ }),
|
|
11486
|
-
|
|
11487
|
-
/***/ "6c5a":
|
|
11488
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11489
|
-
|
|
11490
|
-
"use strict";
|
|
11491
|
-
/* 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_19c33e18_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4691");
|
|
11492
|
-
/* 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_19c33e18_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_19c33e18_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
11493
|
-
/* unused harmony reexport * */
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
11484
|
/***/ }),
|
|
11497
11485
|
|
|
11498
11486
|
/***/ "6d3e":
|
|
@@ -16807,22 +16795,22 @@ module.exports = python;
|
|
|
16807
16795
|
|
|
16808
16796
|
/***/ }),
|
|
16809
16797
|
|
|
16810
|
-
/***/ "
|
|
16811
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
16812
|
-
|
|
16813
|
-
// extracted by mini-css-extract-plugin
|
|
16814
|
-
|
|
16815
|
-
/***/ }),
|
|
16816
|
-
|
|
16817
|
-
/***/ "985d":
|
|
16798
|
+
/***/ "9631":
|
|
16818
16799
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16819
16800
|
|
|
16820
16801
|
"use strict";
|
|
16821
|
-
/* harmony import */ var
|
|
16822
|
-
/* harmony import */ var
|
|
16802
|
+
/* 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_SelectPluginByKey_vue_vue_type_style_index_0_id_43afc106_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ec2b");
|
|
16803
|
+
/* 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_SelectPluginByKey_vue_vue_type_style_index_0_id_43afc106_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_SelectPluginByKey_vue_vue_type_style_index_0_id_43afc106_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
16823
16804
|
/* unused harmony reexport * */
|
|
16824
16805
|
|
|
16825
16806
|
|
|
16807
|
+
/***/ }),
|
|
16808
|
+
|
|
16809
|
+
/***/ "968d":
|
|
16810
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16811
|
+
|
|
16812
|
+
// extracted by mini-css-extract-plugin
|
|
16813
|
+
|
|
16826
16814
|
/***/ }),
|
|
16827
16815
|
|
|
16828
16816
|
/***/ "9bf2":
|
|
@@ -16884,15 +16872,15 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
16884
16872
|
// ESM COMPAT FLAG
|
|
16885
16873
|
__webpack_require__.r(__webpack_exports__);
|
|
16886
16874
|
|
|
16887
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16875
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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=3cfa133a&scoped=true
|
|
16888
16876
|
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)])
|
|
16889
16877
|
}
|
|
16890
16878
|
var staticRenderFns = []
|
|
16891
16879
|
|
|
16892
16880
|
|
|
16893
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=
|
|
16881
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=3cfa133a&scoped=true
|
|
16894
16882
|
|
|
16895
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16883
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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=1cbde01f&scoped=true
|
|
16896
16884
|
var dialoguevue_type_template_id_1cbde01f_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,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"},[_vm._v(" 使用: "),_c('span',[_vm._v(_vm._s(item.plusName.replace(/,/g, ' ')))])]):_vm._e(),_c('readMd',{attrs:{"text":item.msg.join(' <br/>'),"isPrinting":item.needPrinting,"scrollToBottom":_vm.scrollToBottom},on:{"printOk":_vm.printOk,"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)}}}),(!item.isSend && !item.needPrinting && item.showOpt)?_c('div',{staticClass:"icon-operates"},[_c('div',{staticClass:"icon-item",attrs:{"title":"点赞"}},[_c('Like')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"不喜欢"}},[_c('Notlike')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"复制"}},[_c('Copy')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"导出"}},[_c('Download')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"播放"}})]):_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)
|
|
16897
16885
|
}
|
|
16898
16886
|
var dialoguevue_type_template_id_1cbde01f_scoped_true_staticRenderFns = []
|
|
@@ -16900,7 +16888,7 @@ var dialoguevue_type_template_id_1cbde01f_scoped_true_staticRenderFns = []
|
|
|
16900
16888
|
|
|
16901
16889
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=1cbde01f&scoped=true
|
|
16902
16890
|
|
|
16903
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16891
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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/readMd.vue?vue&type=template&id=3814360f&scoped=true
|
|
16904
16892
|
var readMdvue_type_template_id_3814360f_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)}})])
|
|
16905
16893
|
}
|
|
16906
16894
|
var readMdvue_type_template_id_3814360f_scoped_true_staticRenderFns = []
|
|
@@ -17122,7 +17110,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
17122
17110
|
)
|
|
17123
17111
|
|
|
17124
17112
|
/* harmony default export */ var readMd = (component.exports);
|
|
17125
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17113
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
17126
17114
|
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("你")])])
|
|
17127
17115
|
}
|
|
17128
17116
|
var UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns = []
|
|
@@ -17153,7 +17141,7 @@ var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17153
17141
|
)
|
|
17154
17142
|
|
|
17155
17143
|
/* harmony default export */ var UserHead = (UserHead_component.exports);
|
|
17156
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17144
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
17157
17145
|
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))])])
|
|
17158
17146
|
}
|
|
17159
17147
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_staticRenderFns = []
|
|
@@ -17194,7 +17182,7 @@ var AnswerHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17194
17182
|
)
|
|
17195
17183
|
|
|
17196
17184
|
/* harmony default export */ var AnswerHead = (AnswerHead_component.exports);
|
|
17197
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17185
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
17198
17186
|
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"}})])
|
|
17199
17187
|
}
|
|
17200
17188
|
var copyvue_type_template_id_78ca311e_staticRenderFns = []
|
|
@@ -17221,7 +17209,7 @@ var copy_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17221
17209
|
)
|
|
17222
17210
|
|
|
17223
17211
|
/* harmony default export */ var copy = (copy_component.exports);
|
|
17224
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17212
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
17225
17213
|
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"}})])
|
|
17226
17214
|
}
|
|
17227
17215
|
var downloadvue_type_template_id_32982189_staticRenderFns = []
|
|
@@ -17248,7 +17236,7 @@ var download_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17248
17236
|
)
|
|
17249
17237
|
|
|
17250
17238
|
/* harmony default export */ var download = (download_component.exports);
|
|
17251
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17239
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
17252
17240
|
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"}})])
|
|
17253
17241
|
}
|
|
17254
17242
|
var likevue_type_template_id_3bb849e2_staticRenderFns = []
|
|
@@ -17275,7 +17263,7 @@ var like_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17275
17263
|
)
|
|
17276
17264
|
|
|
17277
17265
|
/* harmony default export */ var like = (like_component.exports);
|
|
17278
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17266
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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
|
|
17279
17267
|
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"}})])
|
|
17280
17268
|
}
|
|
17281
17269
|
var notlikevue_type_template_id_646e792e_staticRenderFns = []
|
|
@@ -17374,7 +17362,7 @@ var dialogue_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17374
17362
|
)
|
|
17375
17363
|
|
|
17376
17364
|
/* harmony default export */ var dialogue = (dialogue_component.exports);
|
|
17377
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17365
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=699521c0&scoped=true
|
|
17378
17366
|
var CopiFootervue_type_template_id_699521c0_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"copilot-footer"},[_c('div',{staticClass:"root"},[_c('SearchInput')],1)])
|
|
17379
17367
|
}
|
|
17380
17368
|
var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
@@ -17382,24 +17370,91 @@ var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
|
17382
17370
|
|
|
17383
17371
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=699521c0&scoped=true
|
|
17384
17372
|
|
|
17385
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17386
|
-
var
|
|
17373
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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=2c91042c&scoped=true
|
|
17374
|
+
var SearchInputvue_type_template_id_2c91042c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"bottomFooter",staticClass:"bottom-footer"},[_c('div',{staticClass:"control-contain"},[_c('SelectPluginByKey',{attrs:{"isShowSelect":_vm.isShowSelect,"selectPluginList":_vm.selectPluginList,"modal":_vm.pluginModal,"activePluInd":_vm.activePluInd},on:{"close":_vm.closePluginByoutside,"deleteText":_vm.deleteText}}),_c('button',{staticClass:"control-button select-button",on:{"click":function($event){$event.stopPropagation();return _vm.openPluDialog.apply(null, arguments)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.buttonText)+" ")]),_c('div',{staticClass:"icon",class:[_vm.isShowSelection && 'rotated']},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32","fill":"currentColor"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M16 0a2.4 2.4 0 012.4 2.4l-.001 11.199L29.6 13.6a2.4 2.4 0 010 4.8l-11.201-.001L18.4 29.6a2.4 2.4 0 01-4.8 0l-.001-11.201L2.4 18.4a2.4 2.4 0 010-4.8l11.199-.001L13.6 2.4A2.4 2.4 0 0116 0z"}})])])]),_c('NewTheme'),(_vm.sendLonding)?_c('button',{staticClass:"control-button stop-responding-button",on:{"click":_vm.handleClickStopBtn}},[_c('div',{staticClass:"stop-icon"}),_c('span',[_vm._v("停止生成")])]):_vm._e()],1),_c('div',{staticClass:"input-container"},[(Object.keys(_vm.checkedPluginByBtn).length)?_c('div',{staticClass:"plugin-town"},[_vm._v(" 已选插件:"+_vm._s(_vm.checkedPluginByBtn.name)+" ")]):_vm._e(),_c('div',{staticClass:"input-row",attrs:{"id":"copiFooter"}},[_c('div',{ref:"coptInput",staticClass:"text-area",attrs:{"contenteditable":"plaintext-only","placeholder":"有问题请尽管问我。。。","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:({
|
|
17387
17375
|
color: _vm.textLength && !_vm.sendLonding ? '#1e56ea' : '#dbdbdb'
|
|
17388
17376
|
})})])])]),(_vm.stopDialogue)?_c('div',{staticClass:"disable",attrs:{"click.stop":""}}):_vm._e()])])
|
|
17389
17377
|
}
|
|
17390
|
-
var
|
|
17378
|
+
var SearchInputvue_type_template_id_2c91042c_scoped_true_staticRenderFns = []
|
|
17379
|
+
|
|
17380
|
+
|
|
17381
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=2c91042c&scoped=true
|
|
17382
|
+
|
|
17383
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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=2cd26986&scoped=true
|
|
17384
|
+
var NewThemevue_type_template_id_2cd26986_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("新主题")])])])])
|
|
17385
|
+
}
|
|
17386
|
+
var NewThemevue_type_template_id_2cd26986_scoped_true_staticRenderFns = []
|
|
17387
|
+
|
|
17388
|
+
|
|
17389
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=2cd26986&scoped=true
|
|
17390
|
+
|
|
17391
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=script&lang=js
|
|
17392
|
+
|
|
17393
|
+
/* harmony default export */ var NewThemevue_type_script_lang_js = ({
|
|
17394
|
+
name: 'NewTheme',
|
|
17395
|
+
// 确保提供组件名
|
|
17396
|
+
data() {
|
|
17397
|
+
return {
|
|
17398
|
+
newthemeWidth: 40
|
|
17399
|
+
};
|
|
17400
|
+
},
|
|
17401
|
+
computed: {
|
|
17402
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['isShowNewTheme'])
|
|
17403
|
+
},
|
|
17404
|
+
watch: {
|
|
17405
|
+
isShowNewTheme(val) {
|
|
17406
|
+
if (val) {
|
|
17407
|
+
this.newthemeWidth = 100;
|
|
17408
|
+
} else {
|
|
17409
|
+
this.newthemeWidth = 40;
|
|
17410
|
+
}
|
|
17411
|
+
}
|
|
17412
|
+
},
|
|
17413
|
+
methods: {
|
|
17414
|
+
getNewTheme() {
|
|
17415
|
+
this.$store.commit('copilot/resetCopilot');
|
|
17416
|
+
},
|
|
17417
|
+
mouseEnterBtn() {
|
|
17418
|
+
this.newthemeWidth = 100;
|
|
17419
|
+
},
|
|
17420
|
+
mouseLeaveBtn() {
|
|
17421
|
+
this.newthemeWidth = 40;
|
|
17422
|
+
}
|
|
17423
|
+
}
|
|
17424
|
+
});
|
|
17425
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=script&lang=js
|
|
17426
|
+
/* harmony default export */ var SearchInput_NewThemevue_type_script_lang_js = (NewThemevue_type_script_lang_js);
|
|
17427
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=style&index=0&id=2cd26986&prod&scoped=true&lang=css
|
|
17428
|
+
var NewThemevue_type_style_index_0_id_2cd26986_prod_scoped_true_lang_css = __webpack_require__("a217");
|
|
17429
|
+
|
|
17430
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue
|
|
17391
17431
|
|
|
17392
17432
|
|
|
17393
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=19c33e18&scoped=true
|
|
17394
17433
|
|
|
17395
|
-
|
|
17396
|
-
|
|
17397
|
-
|
|
17434
|
+
|
|
17435
|
+
|
|
17436
|
+
|
|
17437
|
+
/* normalize component */
|
|
17438
|
+
|
|
17439
|
+
var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
17440
|
+
SearchInput_NewThemevue_type_script_lang_js,
|
|
17441
|
+
NewThemevue_type_template_id_2cd26986_scoped_true_render,
|
|
17442
|
+
NewThemevue_type_template_id_2cd26986_scoped_true_staticRenderFns,
|
|
17443
|
+
false,
|
|
17444
|
+
null,
|
|
17445
|
+
"2cd26986",
|
|
17446
|
+
null
|
|
17447
|
+
|
|
17448
|
+
)
|
|
17449
|
+
|
|
17450
|
+
/* harmony default export */ var NewTheme = (NewTheme_component.exports);
|
|
17451
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5ce15629-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=43afc106&scoped=true
|
|
17452
|
+
var SelectPluginByKeyvue_type_template_id_43afc106_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()])
|
|
17398
17453
|
}
|
|
17399
|
-
var
|
|
17454
|
+
var SelectPluginByKeyvue_type_template_id_43afc106_scoped_true_staticRenderFns = []
|
|
17400
17455
|
|
|
17401
17456
|
|
|
17402
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/
|
|
17457
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=43afc106&scoped=true
|
|
17403
17458
|
|
|
17404
17459
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
17405
17460
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
@@ -17712,198 +17767,56 @@ function createDocumentHandler(el, binding, vnode) {
|
|
|
17712
17767
|
}
|
|
17713
17768
|
});
|
|
17714
17769
|
|
|
17715
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/
|
|
17716
|
-
|
|
17770
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=script&lang=js
|
|
17717
17771
|
|
|
17718
|
-
// import Check from '@iconify-icons/ep/check';
|
|
17719
|
-
// import CopilotStore from '../../../../store/modules/copilot';
|
|
17720
17772
|
|
|
17721
|
-
/* harmony default export */ var
|
|
17773
|
+
/* harmony default export */ var SelectPluginByKeyvue_type_script_lang_js = ({
|
|
17722
17774
|
directives: {
|
|
17723
17775
|
Clickoutside: clickoutside
|
|
17724
17776
|
},
|
|
17725
17777
|
props: {
|
|
17726
|
-
|
|
17778
|
+
isShowSelect: {
|
|
17727
17779
|
type: Boolean,
|
|
17728
17780
|
default: false
|
|
17729
|
-
}
|
|
17730
|
-
},
|
|
17731
|
-
data() {
|
|
17732
|
-
return {
|
|
17733
|
-
selectPluginList: [],
|
|
17734
|
-
hoverIndex: null
|
|
17735
|
-
};
|
|
17736
|
-
},
|
|
17737
|
-
created() {
|
|
17738
|
-
this.selectPluginList = this.plugins;
|
|
17739
|
-
},
|
|
17740
|
-
computed: {
|
|
17741
|
-
...Object(vuex_esm["d" /* mapState */])('copilot', ['checkedPluginByBtn', 'plugins'])
|
|
17742
|
-
},
|
|
17743
|
-
watch: {
|
|
17744
|
-
plugins: {
|
|
17745
|
-
handler(newVal) {
|
|
17746
|
-
this.selectPluginList = newVal;
|
|
17747
|
-
},
|
|
17748
|
-
immediate: true,
|
|
17749
|
-
deep: true
|
|
17750
|
-
}
|
|
17751
|
-
},
|
|
17752
|
-
methods: {
|
|
17753
|
-
onClickOutside() {
|
|
17754
|
-
this.$emit('closePluginByoutside');
|
|
17755
17781
|
},
|
|
17756
|
-
|
|
17757
|
-
|
|
17758
|
-
|
|
17759
|
-
searchPlugin(e) {
|
|
17760
|
-
// 防抖
|
|
17761
|
-
const filteredPlugins = this.plugins.filter(item => item.includes(e.target.value));
|
|
17762
|
-
this.selectPluginList = filteredPlugins.length > 0 ? filteredPlugins : this.plugins;
|
|
17782
|
+
activePluInd: {
|
|
17783
|
+
type: Number | null,
|
|
17784
|
+
default: 0
|
|
17763
17785
|
},
|
|
17764
|
-
|
|
17765
|
-
|
|
17786
|
+
selectPluginList: {
|
|
17787
|
+
type: Array
|
|
17766
17788
|
},
|
|
17767
|
-
|
|
17768
|
-
|
|
17769
|
-
|
|
17789
|
+
modal: {
|
|
17790
|
+
type: String,
|
|
17791
|
+
default: 'key'
|
|
17770
17792
|
}
|
|
17771
17793
|
},
|
|
17772
|
-
mounted() {}
|
|
17773
|
-
});
|
|
17774
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPlugin.vue?vue&type=script&lang=js
|
|
17775
|
-
/* harmony default export */ var SearchInput_SelectPluginvue_type_script_lang_js = (SelectPluginvue_type_script_lang_js);
|
|
17776
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPlugin.vue?vue&type=style&index=0&id=5fb4218c&prod&scoped=true&lang=scss
|
|
17777
|
-
var SelectPluginvue_type_style_index_0_id_5fb4218c_prod_scoped_true_lang_scss = __webpack_require__("b2df");
|
|
17778
|
-
|
|
17779
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPlugin.vue
|
|
17780
|
-
|
|
17781
|
-
|
|
17782
|
-
|
|
17783
|
-
|
|
17784
|
-
|
|
17785
|
-
|
|
17786
|
-
/* normalize component */
|
|
17787
|
-
|
|
17788
|
-
var SelectPlugin_component = Object(componentNormalizer["a" /* default */])(
|
|
17789
|
-
SearchInput_SelectPluginvue_type_script_lang_js,
|
|
17790
|
-
SelectPluginvue_type_template_id_5fb4218c_scoped_true_render,
|
|
17791
|
-
SelectPluginvue_type_template_id_5fb4218c_scoped_true_staticRenderFns,
|
|
17792
|
-
false,
|
|
17793
|
-
null,
|
|
17794
|
-
"5fb4218c",
|
|
17795
|
-
null
|
|
17796
|
-
|
|
17797
|
-
)
|
|
17798
|
-
|
|
17799
|
-
/* harmony default export */ var SelectPlugin = (SelectPlugin_component.exports);
|
|
17800
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"befe98f2-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=2cd26986&scoped=true
|
|
17801
|
-
var NewThemevue_type_template_id_2cd26986_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("新主题")])])])])
|
|
17802
|
-
}
|
|
17803
|
-
var NewThemevue_type_template_id_2cd26986_scoped_true_staticRenderFns = []
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=2cd26986&scoped=true
|
|
17807
|
-
|
|
17808
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=script&lang=js
|
|
17809
|
-
|
|
17810
|
-
/* harmony default export */ var NewThemevue_type_script_lang_js = ({
|
|
17811
|
-
name: 'NewTheme',
|
|
17812
|
-
// 确保提供组件名
|
|
17813
17794
|
data() {
|
|
17814
|
-
return {
|
|
17815
|
-
newthemeWidth: 40
|
|
17816
|
-
};
|
|
17795
|
+
return {};
|
|
17817
17796
|
},
|
|
17818
17797
|
computed: {
|
|
17819
|
-
...Object(vuex_esm["d" /* mapState */])('copilot', ['
|
|
17798
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['checkedPluginByBtn', 'plugins'])
|
|
17820
17799
|
},
|
|
17821
17800
|
watch: {
|
|
17822
|
-
|
|
17823
|
-
if (
|
|
17824
|
-
this.
|
|
17825
|
-
|
|
17826
|
-
|
|
17801
|
+
activePluInd() {
|
|
17802
|
+
if (this.activePluInd !== null) {
|
|
17803
|
+
this.$refs.pluginItem[this.activePluInd].scrollIntoView({
|
|
17804
|
+
block: 'nearest',
|
|
17805
|
+
behavior: 'smooth'
|
|
17806
|
+
});
|
|
17827
17807
|
}
|
|
17828
|
-
}
|
|
17829
|
-
},
|
|
17830
|
-
methods: {
|
|
17831
|
-
getNewTheme() {
|
|
17832
|
-
this.$store.commit('copilot/resetCopilot');
|
|
17833
|
-
},
|
|
17834
|
-
mouseEnterBtn() {
|
|
17835
|
-
this.newthemeWidth = 100;
|
|
17836
17808
|
},
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
|
|
17843
|
-
|
|
17844
|
-
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
|
|
17850
|
-
|
|
17851
|
-
|
|
17852
|
-
|
|
17853
|
-
|
|
17854
|
-
/* normalize component */
|
|
17855
|
-
|
|
17856
|
-
var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
17857
|
-
SearchInput_NewThemevue_type_script_lang_js,
|
|
17858
|
-
NewThemevue_type_template_id_2cd26986_scoped_true_render,
|
|
17859
|
-
NewThemevue_type_template_id_2cd26986_scoped_true_staticRenderFns,
|
|
17860
|
-
false,
|
|
17861
|
-
null,
|
|
17862
|
-
"2cd26986",
|
|
17863
|
-
null
|
|
17864
|
-
|
|
17865
|
-
)
|
|
17866
|
-
|
|
17867
|
-
/* harmony default export */ var NewTheme = (NewTheme_component.exports);
|
|
17868
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"befe98f2-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=0ec91519&scoped=true
|
|
17869
|
-
var SelectPluginByKeyvue_type_template_id_0ec91519_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"},[_c('div',{staticClass:"input-container"},[_c('input',{staticClass:"select-input",attrs:{"type":"text","placeholder":"请输入插件名"},on:{"input":_vm.searchPlugin}})]),_c('div',{staticClass:"plugin-content"},_vm._l((_vm.selectPluginList),function(plugin,index){return _c('div',{key:index,staticClass:"plugin-item",class:{ isSel: _vm.checkedPluginByBtn.includes(plugin) },on:{"click":function($event){return _vm.choosePlugin(plugin)}}},[_c('span',[_vm._v(_vm._s(plugin.name))])])}),0)]):_vm._e()])
|
|
17870
|
-
}
|
|
17871
|
-
var SelectPluginByKeyvue_type_template_id_0ec91519_scoped_true_staticRenderFns = []
|
|
17872
|
-
|
|
17873
|
-
|
|
17874
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=0ec91519&scoped=true
|
|
17875
|
-
|
|
17876
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=script&lang=js
|
|
17877
|
-
|
|
17878
|
-
|
|
17879
|
-
/* harmony default export */ var SelectPluginByKeyvue_type_script_lang_js = ({
|
|
17880
|
-
directives: {
|
|
17881
|
-
Clickoutside: clickoutside
|
|
17882
|
-
},
|
|
17883
|
-
props: {
|
|
17884
|
-
isShowSelect: {
|
|
17885
|
-
type: Boolean,
|
|
17886
|
-
default: false
|
|
17887
|
-
}
|
|
17888
|
-
},
|
|
17889
|
-
data() {
|
|
17890
|
-
return {
|
|
17891
|
-
selectPluginList: []
|
|
17892
|
-
};
|
|
17893
|
-
},
|
|
17894
|
-
computed: {
|
|
17895
|
-
...Object(vuex_esm["d" /* mapState */])('copilot', ['checkedPluginByBtn', 'plugins'])
|
|
17896
|
-
},
|
|
17897
|
-
created() {
|
|
17898
|
-
this.selectPluginList = this.pluginList;
|
|
17899
|
-
},
|
|
17900
|
-
watch: {
|
|
17901
|
-
plugins: {
|
|
17902
|
-
handler(newVal) {
|
|
17903
|
-
this.selectPluginList = newVal;
|
|
17904
|
-
},
|
|
17905
|
-
immediate: true,
|
|
17906
|
-
deep: true
|
|
17809
|
+
isShowSelect(val) {
|
|
17810
|
+
if (val) {
|
|
17811
|
+
if (this.activePluInd !== null) {
|
|
17812
|
+
this.$nextTick(() => {
|
|
17813
|
+
this.$refs.pluginItem[this.activePluInd].scrollIntoView({
|
|
17814
|
+
block: 'nearest',
|
|
17815
|
+
behavior: 'smooth'
|
|
17816
|
+
});
|
|
17817
|
+
});
|
|
17818
|
+
}
|
|
17819
|
+
}
|
|
17907
17820
|
}
|
|
17908
17821
|
},
|
|
17909
17822
|
methods: {
|
|
@@ -17913,11 +17826,10 @@ var SelectPluginByKeyvue_type_template_id_0ec91519_scoped_true_staticRenderFns =
|
|
|
17913
17826
|
choosePlugin(plugin) {
|
|
17914
17827
|
// this.$emit('delectText')
|
|
17915
17828
|
this.$store.commit('copilot/setCheckedPluginList', plugin);
|
|
17916
|
-
this
|
|
17917
|
-
|
|
17918
|
-
|
|
17919
|
-
|
|
17920
|
-
this.selectPluginList = filteredPlugins.length > 0 ? filteredPlugins : this.pluginList;
|
|
17829
|
+
if (this.modal === 'key') {
|
|
17830
|
+
this.$emit('deleteText');
|
|
17831
|
+
}
|
|
17832
|
+
this.$emit('close');
|
|
17921
17833
|
}
|
|
17922
17834
|
},
|
|
17923
17835
|
mounted() {
|
|
@@ -17926,8 +17838,8 @@ var SelectPluginByKeyvue_type_template_id_0ec91519_scoped_true_staticRenderFns =
|
|
|
17926
17838
|
});
|
|
17927
17839
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=script&lang=js
|
|
17928
17840
|
/* harmony default export */ var SearchInput_SelectPluginByKeyvue_type_script_lang_js = (SelectPluginByKeyvue_type_script_lang_js);
|
|
17929
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=style&index=0&id=
|
|
17930
|
-
var
|
|
17841
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=style&index=0&id=43afc106&prod&scoped=true&lang=scss
|
|
17842
|
+
var SelectPluginByKeyvue_type_style_index_0_id_43afc106_prod_scoped_true_lang_scss = __webpack_require__("9631");
|
|
17931
17843
|
|
|
17932
17844
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue
|
|
17933
17845
|
|
|
@@ -17940,16 +17852,19 @@ var SelectPluginByKeyvue_type_style_index_0_id_0ec91519_prod_scoped_true_lang_sc
|
|
|
17940
17852
|
|
|
17941
17853
|
var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])(
|
|
17942
17854
|
SearchInput_SelectPluginByKeyvue_type_script_lang_js,
|
|
17943
|
-
|
|
17944
|
-
|
|
17855
|
+
SelectPluginByKeyvue_type_template_id_43afc106_scoped_true_render,
|
|
17856
|
+
SelectPluginByKeyvue_type_template_id_43afc106_scoped_true_staticRenderFns,
|
|
17945
17857
|
false,
|
|
17946
17858
|
null,
|
|
17947
|
-
"
|
|
17859
|
+
"43afc106",
|
|
17948
17860
|
null
|
|
17949
17861
|
|
|
17950
17862
|
)
|
|
17951
17863
|
|
|
17952
17864
|
/* harmony default export */ var SelectPluginByKey = (SelectPluginByKey_component.exports);
|
|
17865
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/util.js + 1 modules
|
|
17866
|
+
var util = __webpack_require__("caad");
|
|
17867
|
+
|
|
17953
17868
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=script&lang=js
|
|
17954
17869
|
// import Upload from './Upload.vue';
|
|
17955
17870
|
// import Promotion from '@iconify-icons/ep/promotion';
|
|
@@ -17959,11 +17874,10 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
17959
17874
|
|
|
17960
17875
|
|
|
17961
17876
|
/* harmony default export */ var SearchInputvue_type_script_lang_js = ({
|
|
17962
|
-
name: '
|
|
17877
|
+
name: 'SearchInput',
|
|
17963
17878
|
components: {
|
|
17964
17879
|
// Upload,
|
|
17965
17880
|
// SpeechControl,
|
|
17966
|
-
SelectPlugin: SelectPlugin,
|
|
17967
17881
|
SelectPluginByKey: SelectPluginByKey,
|
|
17968
17882
|
NewTheme: NewTheme
|
|
17969
17883
|
},
|
|
@@ -17971,16 +17885,22 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
17971
17885
|
return {
|
|
17972
17886
|
isShowSelect: false,
|
|
17973
17887
|
cursorPos: 0,
|
|
17888
|
+
cursorCurrentPos: 0,
|
|
17974
17889
|
buttonText: '选择插件',
|
|
17975
17890
|
isShowSelection: false,
|
|
17976
17891
|
outsideClose: false,
|
|
17977
17892
|
isComposing: false,
|
|
17978
17893
|
getBottomtimer: 0,
|
|
17979
|
-
observer: () => {}
|
|
17894
|
+
observer: () => {},
|
|
17895
|
+
activePluInd: 0,
|
|
17896
|
+
timerCursor: null,
|
|
17897
|
+
searchPluText: '',
|
|
17898
|
+
selectPluginList: [],
|
|
17899
|
+
pluginModal: 'key'
|
|
17980
17900
|
};
|
|
17981
17901
|
},
|
|
17982
17902
|
computed: {
|
|
17983
|
-
...Object(vuex_esm["d" /* mapState */])('copilot', ['searchText', 'isInitCopilot', 'sendLonding', 'stopDialogue', 'checkedPluginBykey', 'checkedPluginByBtn']),
|
|
17903
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['searchText', 'isSetOut', 'isInitCopilot', 'sendLonding', 'stopDialogue', 'checkedPluginBykey', 'checkedPluginByBtn', 'plugins']),
|
|
17984
17904
|
textLength() {
|
|
17985
17905
|
const num = this.searchText.length;
|
|
17986
17906
|
if (num === 0) {
|
|
@@ -17994,55 +17914,130 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
17994
17914
|
// 其他需要在组件中使用的 action
|
|
17995
17915
|
]),
|
|
17996
17916
|
|
|
17917
|
+
// 获取光标位置
|
|
17918
|
+
getCursorPosition() {
|
|
17919
|
+
// const editableDiv = this.$refs.coptInput
|
|
17920
|
+
const selection = window.getSelection();
|
|
17921
|
+
const range = selection.getRangeAt(0);
|
|
17922
|
+
return Number(range.startOffset.toString());
|
|
17923
|
+
},
|
|
17924
|
+
// 创建光标
|
|
17925
|
+
moveCursorPosition(position) {
|
|
17926
|
+
// 创建一个Range对象
|
|
17927
|
+
if (this.$refs.coptInput.firstChild) {
|
|
17928
|
+
const range = document.createRange();
|
|
17929
|
+
// 设置Range的起始和结束位置为目标位置
|
|
17930
|
+
range.setStart(this.$refs.coptInput.firstChild, position);
|
|
17931
|
+
range.setEnd(this.$refs.coptInput.firstChild, position);
|
|
17932
|
+
// 创建一个Selection对象
|
|
17933
|
+
const selection = window.getSelection();
|
|
17934
|
+
// 清空当前选择
|
|
17935
|
+
selection.removeAllRanges();
|
|
17936
|
+
// 添加光标
|
|
17937
|
+
selection.addRange(range);
|
|
17938
|
+
this.$refs.coptInput.focus();
|
|
17939
|
+
}
|
|
17940
|
+
},
|
|
17997
17941
|
inputChange(e) {
|
|
17942
|
+
// 弹窗打开时 获取@至光标位置的字符
|
|
17943
|
+
if (this.isShowSelect) {
|
|
17944
|
+
clearTimeout(this.timerCursor);
|
|
17945
|
+
this.timerCursor = setTimeout(() => {
|
|
17946
|
+
this.cursorCurrentPos = this.getCursorPosition();
|
|
17947
|
+
this.searchPluText = e.target.innerText.substring(this.cursorPos + 1, this.cursorCurrentPos);
|
|
17948
|
+
// 搜索插件
|
|
17949
|
+
this.searchPlugin(this.searchPluText);
|
|
17950
|
+
}, 500);
|
|
17951
|
+
}
|
|
17998
17952
|
if (e.target.innerText.length >= 2000) {
|
|
17999
17953
|
e.target.innerText = e.target.innerText.substring(0, 2000);
|
|
18000
|
-
|
|
18001
|
-
range.selectNodeContents(target);
|
|
18002
|
-
range.collapse(false);
|
|
18003
|
-
const sel = window.getSelection();
|
|
18004
|
-
sel.removeAllRanges();
|
|
18005
|
-
sel.addRange(range);
|
|
17954
|
+
this.moveCursorPosition(2000);
|
|
18006
17955
|
}
|
|
18007
|
-
this.$store.commit('copilot/setSearchText',
|
|
17956
|
+
this.$store.commit('copilot/setSearchText', {
|
|
17957
|
+
str: e.target.innerText
|
|
17958
|
+
});
|
|
18008
17959
|
clearTimeout(this.getBottomtimer);
|
|
18009
17960
|
const root = document.documentElement;
|
|
18010
17961
|
this.getBottomtimer = setTimeout(() => {
|
|
18011
17962
|
root.style.setProperty('--input-bottom-height', `${this.$refs.bottomFooter.offsetHeight}px`);
|
|
18012
17963
|
}, 500);
|
|
18013
17964
|
},
|
|
18014
|
-
|
|
18015
|
-
if (
|
|
18016
|
-
this.
|
|
17965
|
+
searchPlugin(str) {
|
|
17966
|
+
if (str) {
|
|
17967
|
+
const filteredPlugins = this.plugins.filter(item => Object(util["f" /* filterPluginByPinyin */])(item.name, str));
|
|
17968
|
+
this.selectPluginList = filteredPlugins;
|
|
17969
|
+
this.activePluInd = 0;
|
|
17970
|
+
if (!this.selectPluginList.length) {
|
|
17971
|
+
this.isShowSelect = false;
|
|
17972
|
+
}
|
|
17973
|
+
} else {
|
|
17974
|
+
this.selectPluginList = this.plugins;
|
|
18017
17975
|
}
|
|
18018
17976
|
},
|
|
18019
|
-
|
|
18020
|
-
|
|
17977
|
+
handleKeyDown(event) {
|
|
17978
|
+
switch (event.key) {
|
|
17979
|
+
case '@':
|
|
17980
|
+
this.selectPluginByKey();
|
|
17981
|
+
break;
|
|
17982
|
+
case 'ArrowUp':
|
|
17983
|
+
event.preventDefault();
|
|
17984
|
+
if (this.isComposing) return;
|
|
17985
|
+
this.changePlugin('up');
|
|
17986
|
+
break;
|
|
17987
|
+
case 'ArrowDown':
|
|
17988
|
+
event.preventDefault();
|
|
17989
|
+
if (this.isComposing) return;
|
|
17990
|
+
this.changePlugin('down');
|
|
17991
|
+
break;
|
|
17992
|
+
case 'ArrowRight':
|
|
17993
|
+
if (this.isShowSelect) {
|
|
17994
|
+
event.preventDefault();
|
|
17995
|
+
}
|
|
17996
|
+
break;
|
|
17997
|
+
case 'ArrowLeft':
|
|
17998
|
+
if (this.isShowSelect) {
|
|
17999
|
+
event.preventDefault();
|
|
18000
|
+
}
|
|
18001
|
+
break;
|
|
18002
|
+
case 'Backspace':
|
|
18003
|
+
if (!this.isShowSelect) {
|
|
18004
|
+
// 删除到@前面时 打开筛选框
|
|
18005
|
+
const beforeBackspaceText = this.$refs.coptInput.innerText.substring(this.getCursorPosition() - 2, this.getCursorPosition() - 1);
|
|
18006
|
+
if (beforeBackspaceText === '@') {
|
|
18007
|
+
this.isShowSelect = true;
|
|
18008
|
+
this.cursorPos = this.getCursorPosition() - 2;
|
|
18009
|
+
}
|
|
18010
|
+
} else {
|
|
18011
|
+
const delectText = this.$refs.coptInput.innerText.substring(this.getCursorPosition() - 1, this.getCursorPosition());
|
|
18012
|
+
if (delectText === '@') {
|
|
18013
|
+
this.isShowSelect = false;
|
|
18014
|
+
}
|
|
18015
|
+
}
|
|
18016
|
+
default:
|
|
18017
|
+
break;
|
|
18018
|
+
}
|
|
18021
18019
|
},
|
|
18022
|
-
|
|
18023
|
-
this.
|
|
18020
|
+
changePlugin(direct) {
|
|
18021
|
+
if (direct === 'up' && this.activePluInd === 0) return;
|
|
18022
|
+
if (direct === 'down' && this.activePluInd === this.plugins.length - 1) return;
|
|
18023
|
+
this.activePluInd = direct === 'up' ? this.activePluInd - 1 : this.activePluInd + 1;
|
|
18024
18024
|
},
|
|
18025
18025
|
selectPluginByKey() {
|
|
18026
18026
|
this.isShowSelect = true;
|
|
18027
|
-
this.getCursorPosition();
|
|
18027
|
+
this.cursorPos = this.getCursorPosition();
|
|
18028
18028
|
},
|
|
18029
|
-
|
|
18030
|
-
this.$
|
|
18031
|
-
this.$store.commit('copilot/setSearchText', '');
|
|
18029
|
+
deletePlugin() {
|
|
18030
|
+
this.$store.commit('copilot/setPluginByKey', '');
|
|
18032
18031
|
},
|
|
18033
18032
|
// 删除@符号
|
|
18034
18033
|
deleteText() {
|
|
18035
18034
|
let textArr = this.$refs.coptInput.innerText.split('');
|
|
18036
|
-
textArr.splice(this.cursorPos -
|
|
18035
|
+
textArr.splice(this.cursorPos, this.cursorCurrentPos - this.cursorPos);
|
|
18037
18036
|
this.$refs.coptInput.innerText = textArr.join('');
|
|
18038
|
-
this.$store.commit('copilot/setSearchText',
|
|
18039
|
-
|
|
18040
|
-
|
|
18041
|
-
|
|
18042
|
-
// const editableDiv = this.$refs.coptInput
|
|
18043
|
-
const selection = window.getSelection();
|
|
18044
|
-
const range = selection.getRangeAt(0);
|
|
18045
|
-
this.cursorPos = range.startOffset.toString();
|
|
18037
|
+
this.$store.commit('copilot/setSearchText', {
|
|
18038
|
+
str: this.$refs.coptInput.innerText
|
|
18039
|
+
});
|
|
18040
|
+
this.moveCursorPosition(this.cursorPos);
|
|
18046
18041
|
},
|
|
18047
18042
|
// 监听输入法开始和结束
|
|
18048
18043
|
handleCompositionStart() {
|
|
@@ -18056,37 +18051,49 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18056
18051
|
event.preventDefault();
|
|
18057
18052
|
}
|
|
18058
18053
|
if (this.isComposing) return;
|
|
18054
|
+
if (this.isShowSelect) {
|
|
18055
|
+
this.$store.commit('copilot/setCheckedPluginList', this.selectPluginList[this.activePluInd]);
|
|
18056
|
+
this.deleteText();
|
|
18057
|
+
this.isShowSelect = false;
|
|
18058
|
+
return;
|
|
18059
|
+
}
|
|
18059
18060
|
const sendText = this.searchText;
|
|
18060
|
-
if (!sendText) return;
|
|
18061
|
-
if (this.sendLonding) return;
|
|
18062
18061
|
this.sendMsg(sendText);
|
|
18063
|
-
this.initInput();
|
|
18064
18062
|
},
|
|
18065
18063
|
handleClickStopBtn() {
|
|
18066
18064
|
this.cancelRequest();
|
|
18067
18065
|
// 停止打字机效果等其他逻辑
|
|
18068
18066
|
},
|
|
18069
18067
|
|
|
18070
|
-
|
|
18071
|
-
this.
|
|
18072
|
-
this.
|
|
18068
|
+
openPluDialog() {
|
|
18069
|
+
this.pluginModal = 'btn';
|
|
18070
|
+
this.isShowSelect = !this.isShowSelect;
|
|
18071
|
+
if (!this.isShowSelect) {
|
|
18072
|
+
this.pluginModal = 'key';
|
|
18073
|
+
}
|
|
18073
18074
|
},
|
|
18074
18075
|
closePluginByoutside() {
|
|
18075
|
-
|
|
18076
|
-
|
|
18076
|
+
const timerId = setTimeout(() => {
|
|
18077
|
+
this.isShowSelect = false;
|
|
18078
|
+
clearTimeout(timerId);
|
|
18079
|
+
}, 100);
|
|
18077
18080
|
}
|
|
18078
18081
|
},
|
|
18079
18082
|
created() {},
|
|
18080
18083
|
mounted() {
|
|
18081
18084
|
// this.$refs.coptInput.focus();
|
|
18082
18085
|
this.$refs.coptInput.innerText = '';
|
|
18083
|
-
this.$store.commit('copilot/setSearchText',
|
|
18086
|
+
this.$store.commit('copilot/setSearchText', {
|
|
18087
|
+
str: ''
|
|
18088
|
+
});
|
|
18084
18089
|
const root = document.documentElement;
|
|
18085
18090
|
let timer;
|
|
18086
18091
|
this.observer = new MutationObserver(() => {
|
|
18087
18092
|
clearTimeout(timer);
|
|
18088
18093
|
timer = setTimeout(() => {
|
|
18089
|
-
|
|
18094
|
+
if (this.$refs.bottomFooter) {
|
|
18095
|
+
root.style.setProperty('--input-bottom-height', `${this.$refs.bottomFooter.offsetHeight}px`);
|
|
18096
|
+
}
|
|
18090
18097
|
}, 500);
|
|
18091
18098
|
});
|
|
18092
18099
|
this.observer.observe(this.$refs.bottomFooter, {
|
|
@@ -18095,30 +18102,66 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18095
18102
|
});
|
|
18096
18103
|
},
|
|
18097
18104
|
watch: {
|
|
18105
|
+
isSetOut(val) {
|
|
18106
|
+
if (val) {
|
|
18107
|
+
this.$refs.coptInput.innerText = this.searchText;
|
|
18108
|
+
this.$store.commit('copilot/setIsSetOut', false);
|
|
18109
|
+
}
|
|
18110
|
+
},
|
|
18098
18111
|
// 点击新主题时清空
|
|
18099
18112
|
isInitCopilot(newVal) {
|
|
18100
18113
|
if (newVal) {
|
|
18101
|
-
this.
|
|
18114
|
+
this.$store.commit('copilot/setSearchText', {
|
|
18115
|
+
str: ''
|
|
18116
|
+
});
|
|
18102
18117
|
this.$store.commit('copilot/setIsInitCopilot', false);
|
|
18103
18118
|
}
|
|
18104
18119
|
},
|
|
18105
18120
|
// 监听 checkedPluginByBtn 的变化,并立即执行一次
|
|
18106
18121
|
checkedPluginByBtn: {
|
|
18107
18122
|
handler(val) {
|
|
18108
|
-
if (val.length) {
|
|
18123
|
+
if (Object.keys(val).length) {
|
|
18109
18124
|
this.buttonText = '已选插件';
|
|
18110
18125
|
} else {
|
|
18111
18126
|
this.buttonText = '选择插件';
|
|
18112
18127
|
}
|
|
18113
18128
|
},
|
|
18114
18129
|
immediate: true // 立即执行一次 handler
|
|
18130
|
+
},
|
|
18131
|
+
|
|
18132
|
+
plugins: {
|
|
18133
|
+
handler(val) {
|
|
18134
|
+
this.selectPluginList = val;
|
|
18135
|
+
},
|
|
18136
|
+
immediate: true,
|
|
18137
|
+
// 立即执行一次 handler
|
|
18138
|
+
deep: true
|
|
18139
|
+
},
|
|
18140
|
+
isShowSelect: {
|
|
18141
|
+
handler(val) {
|
|
18142
|
+
if (!val) {
|
|
18143
|
+
this.pluginModal = 'key';
|
|
18144
|
+
this.selectPluginList = this.plugins;
|
|
18145
|
+
}
|
|
18146
|
+
}
|
|
18147
|
+
},
|
|
18148
|
+
pluginModal(newVal) {
|
|
18149
|
+
if (newVal === 'btn') {
|
|
18150
|
+
this.activePluInd = null;
|
|
18151
|
+
} else {
|
|
18152
|
+
if (!Object.keys(this.checkedPluginByBtn).length) {
|
|
18153
|
+
this.activePluInd = 0;
|
|
18154
|
+
} else {
|
|
18155
|
+
this.activePluInd = this.plugins.indexOf(this.checkedPluginByBtn);
|
|
18156
|
+
}
|
|
18157
|
+
}
|
|
18115
18158
|
}
|
|
18116
18159
|
}
|
|
18117
18160
|
});
|
|
18118
18161
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=script&lang=js
|
|
18119
18162
|
/* harmony default export */ var CopiFooter_SearchInputvue_type_script_lang_js = (SearchInputvue_type_script_lang_js);
|
|
18120
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=
|
|
18121
|
-
var
|
|
18163
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=2c91042c&prod&lang=scss&scoped=true
|
|
18164
|
+
var SearchInputvue_type_style_index_0_id_2c91042c_prod_lang_scss_scoped_true = __webpack_require__("19d3");
|
|
18122
18165
|
|
|
18123
18166
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue
|
|
18124
18167
|
|
|
@@ -18131,11 +18174,11 @@ var SearchInputvue_type_style_index_0_id_19c33e18_prod_lang_scss_scoped_true = _
|
|
|
18131
18174
|
|
|
18132
18175
|
var SearchInput_component = Object(componentNormalizer["a" /* default */])(
|
|
18133
18176
|
CopiFooter_SearchInputvue_type_script_lang_js,
|
|
18134
|
-
|
|
18135
|
-
|
|
18177
|
+
SearchInputvue_type_template_id_2c91042c_scoped_true_render,
|
|
18178
|
+
SearchInputvue_type_template_id_2c91042c_scoped_true_staticRenderFns,
|
|
18136
18179
|
false,
|
|
18137
18180
|
null,
|
|
18138
|
-
"
|
|
18181
|
+
"2c91042c",
|
|
18139
18182
|
null
|
|
18140
18183
|
|
|
18141
18184
|
)
|
|
@@ -18228,20 +18271,23 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18228
18271
|
return this.searchText;
|
|
18229
18272
|
},
|
|
18230
18273
|
setSearchText(value) {
|
|
18231
|
-
this.$store.commit('copilot/setSearchText',
|
|
18274
|
+
this.$store.commit('copilot/setSearchText', {
|
|
18275
|
+
str: value,
|
|
18276
|
+
isSetOut: true
|
|
18277
|
+
});
|
|
18232
18278
|
},
|
|
18233
18279
|
getMsgList() {
|
|
18234
|
-
return this.msgList;
|
|
18280
|
+
return JSON.parse(JSON.stringify(this.msgList));
|
|
18235
18281
|
},
|
|
18236
|
-
|
|
18237
|
-
this.$store.
|
|
18282
|
+
sendMsg(msg) {
|
|
18283
|
+
this.$store.dispatch('copilot/sendMsg', msg);
|
|
18238
18284
|
}
|
|
18239
18285
|
}
|
|
18240
18286
|
});
|
|
18241
18287
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=script&lang=js
|
|
18242
18288
|
/* harmony default export */ var KgCopilot_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
18243
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=
|
|
18244
|
-
var
|
|
18289
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=3cfa133a&prod&scoped=true&lang=scss
|
|
18290
|
+
var mainvue_type_style_index_0_id_3cfa133a_prod_scoped_true_lang_scss = __webpack_require__("00e6");
|
|
18245
18291
|
|
|
18246
18292
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue
|
|
18247
18293
|
|
|
@@ -18258,7 +18304,7 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18258
18304
|
staticRenderFns,
|
|
18259
18305
|
false,
|
|
18260
18306
|
null,
|
|
18261
|
-
"
|
|
18307
|
+
"3cfa133a",
|
|
18262
18308
|
null
|
|
18263
18309
|
|
|
18264
18310
|
)
|
|
@@ -18984,6 +19030,13 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
18984
19030
|
};
|
|
18985
19031
|
|
|
18986
19032
|
|
|
19033
|
+
/***/ }),
|
|
19034
|
+
|
|
19035
|
+
/***/ "a78c":
|
|
19036
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
19037
|
+
|
|
19038
|
+
// extracted by mini-css-extract-plugin
|
|
19039
|
+
|
|
18987
19040
|
/***/ }),
|
|
18988
19041
|
|
|
18989
19042
|
/***/ "ab36":
|
|
@@ -19929,17 +19982,6 @@ function typescript(hljs) {
|
|
|
19929
19982
|
module.exports = typescript;
|
|
19930
19983
|
|
|
19931
19984
|
|
|
19932
|
-
/***/ }),
|
|
19933
|
-
|
|
19934
|
-
/***/ "b2df":
|
|
19935
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
19936
|
-
|
|
19937
|
-
"use strict";
|
|
19938
|
-
/* 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_SelectPlugin_vue_vue_type_style_index_0_id_5fb4218c_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3e66");
|
|
19939
|
-
/* 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_SelectPlugin_vue_vue_type_style_index_0_id_5fb4218c_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_SelectPlugin_vue_vue_type_style_index_0_id_5fb4218c_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
19940
|
-
/* unused harmony reexport * */
|
|
19941
|
-
|
|
19942
|
-
|
|
19943
19985
|
/***/ }),
|
|
19944
19986
|
|
|
19945
19987
|
/***/ "b3c5":
|
|
@@ -20138,13 +20180,6 @@ function erlang(hljs) {
|
|
|
20138
20180
|
module.exports = erlang;
|
|
20139
20181
|
|
|
20140
20182
|
|
|
20141
|
-
/***/ }),
|
|
20142
|
-
|
|
20143
|
-
/***/ "b429":
|
|
20144
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20145
|
-
|
|
20146
|
-
// extracted by mini-css-extract-plugin
|
|
20147
|
-
|
|
20148
20183
|
/***/ }),
|
|
20149
20184
|
|
|
20150
20185
|
/***/ "b42e":
|
|
@@ -20411,13 +20446,6 @@ module.exports = function (name) {
|
|
|
20411
20446
|
};
|
|
20412
20447
|
|
|
20413
20448
|
|
|
20414
|
-
/***/ }),
|
|
20415
|
-
|
|
20416
|
-
/***/ "b943":
|
|
20417
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20418
|
-
|
|
20419
|
-
// extracted by mini-css-extract-plugin
|
|
20420
|
-
|
|
20421
20449
|
/***/ }),
|
|
20422
20450
|
|
|
20423
20451
|
/***/ "b980":
|
|
@@ -23518,6 +23546,7 @@ __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding *
|
|
|
23518
23546
|
__webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ delay; });
|
|
23519
23547
|
__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ deepClone; });
|
|
23520
23548
|
__webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ dependencyTransition; });
|
|
23549
|
+
__webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ filterPluginByPinyin; });
|
|
23521
23550
|
|
|
23522
23551
|
// UNUSED EXPORTS: checkNameValidity, isEmpty, isDef, get, isObj, deepAssign
|
|
23523
23552
|
|
|
@@ -23708,6 +23737,15 @@ function deepAssign(to, from) {
|
|
|
23708
23737
|
});
|
|
23709
23738
|
return to;
|
|
23710
23739
|
}
|
|
23740
|
+
function filterPluginByPinyin(filter, letter) {
|
|
23741
|
+
let isMatch;
|
|
23742
|
+
isMatch = t.match(filter, letter);
|
|
23743
|
+
if (typeof isMatch === 'object') {
|
|
23744
|
+
isMatch = true;
|
|
23745
|
+
}
|
|
23746
|
+
return isMatch;
|
|
23747
|
+
// console.log("isMatch", filter.name, letter, isMatch);
|
|
23748
|
+
}
|
|
23711
23749
|
|
|
23712
23750
|
/***/ }),
|
|
23713
23751
|
|
|
@@ -23760,17 +23798,6 @@ module.exports = function (O, key, value, options) {
|
|
|
23760
23798
|
};
|
|
23761
23799
|
|
|
23762
23800
|
|
|
23763
|
-
/***/ }),
|
|
23764
|
-
|
|
23765
|
-
/***/ "cb73":
|
|
23766
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23767
|
-
|
|
23768
|
-
"use strict";
|
|
23769
|
-
/* 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_ed1e4dde_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d54f");
|
|
23770
|
-
/* 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_ed1e4dde_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_ed1e4dde_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
23771
|
-
/* unused harmony reexport * */
|
|
23772
|
-
|
|
23773
|
-
|
|
23774
23801
|
/***/ }),
|
|
23775
23802
|
|
|
23776
23803
|
/***/ "cc12":
|
|
@@ -24065,13 +24092,6 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
24065
24092
|
/* unused harmony reexport * */
|
|
24066
24093
|
|
|
24067
24094
|
|
|
24068
|
-
/***/ }),
|
|
24069
|
-
|
|
24070
|
-
/***/ "d54f":
|
|
24071
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
24072
|
-
|
|
24073
|
-
// extracted by mini-css-extract-plugin
|
|
24074
|
-
|
|
24075
24095
|
/***/ }),
|
|
24076
24096
|
|
|
24077
24097
|
/***/ "d58f":
|
|
@@ -24592,6 +24612,17 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
24592
24612
|
|
|
24593
24613
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362")))
|
|
24594
24614
|
|
|
24615
|
+
/***/ }),
|
|
24616
|
+
|
|
24617
|
+
/***/ "df9c":
|
|
24618
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
24619
|
+
|
|
24620
|
+
"use strict";
|
|
24621
|
+
/* 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_13cf9100_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2819");
|
|
24622
|
+
/* 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_13cf9100_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_13cf9100_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
24623
|
+
/* unused harmony reexport * */
|
|
24624
|
+
|
|
24625
|
+
|
|
24595
24626
|
/***/ }),
|
|
24596
24627
|
|
|
24597
24628
|
/***/ "e330":
|
|
@@ -24637,13 +24668,6 @@ module.exports = function (argument, $default) {
|
|
|
24637
24668
|
/* unused harmony reexport * */
|
|
24638
24669
|
|
|
24639
24670
|
|
|
24640
|
-
/***/ }),
|
|
24641
|
-
|
|
24642
|
-
/***/ "e535":
|
|
24643
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
24644
|
-
|
|
24645
|
-
// extracted by mini-css-extract-plugin
|
|
24646
|
-
|
|
24647
24671
|
/***/ }),
|
|
24648
24672
|
|
|
24649
24673
|
/***/ "e5cb":
|
|
@@ -24781,13 +24805,6 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
24781
24805
|
};
|
|
24782
24806
|
|
|
24783
24807
|
|
|
24784
|
-
/***/ }),
|
|
24785
|
-
|
|
24786
|
-
/***/ "eb5c":
|
|
24787
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
24788
|
-
|
|
24789
|
-
// extracted by mini-css-extract-plugin
|
|
24790
|
-
|
|
24791
24808
|
/***/ }),
|
|
24792
24809
|
|
|
24793
24810
|
/***/ "eb86":
|
|
@@ -24799,6 +24816,13 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
24799
24816
|
/* unused harmony reexport * */
|
|
24800
24817
|
|
|
24801
24818
|
|
|
24819
|
+
/***/ }),
|
|
24820
|
+
|
|
24821
|
+
/***/ "ec2b":
|
|
24822
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24823
|
+
|
|
24824
|
+
// extracted by mini-css-extract-plugin
|
|
24825
|
+
|
|
24802
24826
|
/***/ }),
|
|
24803
24827
|
|
|
24804
24828
|
/***/ "ee8c":
|