@kg-ui/kg-ui 0.0.15 → 0.0.17
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 +714 -352
- package/lib/main.css +1 -1
- package/lib/main.umd.js +714 -352
- package/lib/main.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/main.common.js
CHANGED
|
@@ -111,17 +111,6 @@ test[TO_STRING_TAG] = 'z';
|
|
|
111
111
|
module.exports = String(test) === '[object z]';
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
/***/ }),
|
|
115
|
-
|
|
116
|
-
/***/ "0106":
|
|
117
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
118
|
-
|
|
119
|
-
"use strict";
|
|
120
|
-
/* 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_readMd_vue_vue_type_style_index_0_id_043ee4e2_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9f4b");
|
|
121
|
-
/* 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_readMd_vue_vue_type_style_index_0_id_043ee4e2_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_readMd_vue_vue_type_style_index_0_id_043ee4e2_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
122
|
-
/* unused harmony reexport * */
|
|
123
|
-
|
|
124
|
-
|
|
125
114
|
/***/ }),
|
|
126
115
|
|
|
127
116
|
/***/ "04b0":
|
|
@@ -3608,6 +3597,17 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
|
3608
3597
|
});
|
|
3609
3598
|
|
|
3610
3599
|
|
|
3600
|
+
/***/ }),
|
|
3601
|
+
|
|
3602
|
+
/***/ "15ae":
|
|
3603
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3604
|
+
|
|
3605
|
+
"use strict";
|
|
3606
|
+
/* 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_0d6f42aa_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f607");
|
|
3607
|
+
/* 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_0d6f42aa_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_0d6f42aa_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
3608
|
+
/* unused harmony reexport * */
|
|
3609
|
+
|
|
3610
|
+
|
|
3611
3611
|
/***/ }),
|
|
3612
3612
|
|
|
3613
3613
|
/***/ "1626":
|
|
@@ -3682,152 +3682,6 @@ __webpack_require__.d(__webpack_exports__, "DataType", function() { return /* bi
|
|
|
3682
3682
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
3683
3683
|
var es_array_push = __webpack_require__("14d9");
|
|
3684
3684
|
|
|
3685
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js
|
|
3686
|
-
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
3687
|
-
if (privateCollection.has(obj)) {
|
|
3688
|
-
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
3689
|
-
}
|
|
3690
|
-
}
|
|
3691
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js
|
|
3692
|
-
|
|
3693
|
-
function _classPrivateMethodInitSpec(obj, privateSet) {
|
|
3694
|
-
_checkPrivateRedeclaration(obj, privateSet);
|
|
3695
|
-
privateSet.add(obj);
|
|
3696
|
-
}
|
|
3697
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
|
|
3698
|
-
function _classApplyDescriptorGet(receiver, descriptor) {
|
|
3699
|
-
if (descriptor.get) {
|
|
3700
|
-
return descriptor.get.call(receiver);
|
|
3701
|
-
}
|
|
3702
|
-
return descriptor.value;
|
|
3703
|
-
}
|
|
3704
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
|
|
3705
|
-
function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
|
3706
|
-
if (receiver !== classConstructor) {
|
|
3707
|
-
throw new TypeError("Private static access of wrong provenance");
|
|
3708
|
-
}
|
|
3709
|
-
}
|
|
3710
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js
|
|
3711
|
-
function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
|
3712
|
-
if (descriptor === undefined) {
|
|
3713
|
-
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
|
3714
|
-
}
|
|
3715
|
-
}
|
|
3716
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
|
3721
|
-
_classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
3722
|
-
_classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
|
3723
|
-
return _classApplyDescriptorGet(receiver, descriptor);
|
|
3724
|
-
}
|
|
3725
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
|
|
3726
|
-
function _classPrivateMethodGet(receiver, privateSet, fn) {
|
|
3727
|
-
if (!privateSet.has(receiver)) {
|
|
3728
|
-
throw new TypeError("attempted to get private field on non-instance");
|
|
3729
|
-
}
|
|
3730
|
-
return fn;
|
|
3731
|
-
}
|
|
3732
|
-
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
3733
|
-
var axios = __webpack_require__("bc3a");
|
|
3734
|
-
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
3735
|
-
|
|
3736
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/utils/http/index.js
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
var _class;
|
|
3741
|
-
|
|
3742
|
-
const defaultConfig = {
|
|
3743
|
-
timeout: 10000,
|
|
3744
|
-
headers: {
|
|
3745
|
-
Accept: 'application/json, text/plain, */*',
|
|
3746
|
-
'Content-Type': 'application/json',
|
|
3747
|
-
'X-Requested-With': 'XMLHttpRequest'
|
|
3748
|
-
}
|
|
3749
|
-
};
|
|
3750
|
-
|
|
3751
|
-
// request interceptor 请求拦截器
|
|
3752
|
-
var _httpInterceptorsRequest = /*#__PURE__*/new WeakSet();
|
|
3753
|
-
var _httpInterceptorsResponse = /*#__PURE__*/new WeakSet();
|
|
3754
|
-
class http_PureHttp {
|
|
3755
|
-
constructor() {
|
|
3756
|
-
/** 响应拦截 */
|
|
3757
|
-
_classPrivateMethodInitSpec(this, _httpInterceptorsResponse);
|
|
3758
|
-
/** 请求拦截 */
|
|
3759
|
-
_classPrivateMethodInitSpec(this, _httpInterceptorsRequest);
|
|
3760
|
-
_classPrivateMethodGet(this, _httpInterceptorsRequest, _httpInterceptorsRequest2).call(this);
|
|
3761
|
-
_classPrivateMethodGet(this, _httpInterceptorsResponse, _httpInterceptorsResponse2).call(this);
|
|
3762
|
-
}
|
|
3763
|
-
/** 保存当前Axios实例对象 */
|
|
3764
|
-
|
|
3765
|
-
request(method, url, param, axiosConfig) {
|
|
3766
|
-
const config = {
|
|
3767
|
-
method,
|
|
3768
|
-
url,
|
|
3769
|
-
...param,
|
|
3770
|
-
...axiosConfig
|
|
3771
|
-
};
|
|
3772
|
-
return new Promise((resolve, reject) => {
|
|
3773
|
-
_classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _axiosInstance).request(config).then(response => {
|
|
3774
|
-
resolve(response);
|
|
3775
|
-
}).catch(error => {
|
|
3776
|
-
reject(error);
|
|
3777
|
-
});
|
|
3778
|
-
});
|
|
3779
|
-
}
|
|
3780
|
-
post(url, params, config) {
|
|
3781
|
-
return this.request('post', url, params, config);
|
|
3782
|
-
}
|
|
3783
|
-
get(url, params, config) {
|
|
3784
|
-
return this.request('get', url, params, config);
|
|
3785
|
-
}
|
|
3786
|
-
cancelByUrl(url) {
|
|
3787
|
-
_classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _requestMap)[url] && _classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _requestMap)[url].cancel('取消请求');
|
|
3788
|
-
// 取消后移出请求列表
|
|
3789
|
-
delete _classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _requestMap)[url || ''];
|
|
3790
|
-
}
|
|
3791
|
-
}
|
|
3792
|
-
_class = http_PureHttp;
|
|
3793
|
-
function _httpInterceptorsRequest2() {
|
|
3794
|
-
_classStaticPrivateFieldSpecGet(_class, _class, _axiosInstance).interceptors.request.use(config => {
|
|
3795
|
-
config.headers['accessToken'] = window['kg_token'];
|
|
3796
|
-
// 生成取消令牌并存储到requestMap
|
|
3797
|
-
const source = axios_default.a.CancelToken.source();
|
|
3798
|
-
_classStaticPrivateFieldSpecGet(_class, _class, _requestMap)[config.url] = source;
|
|
3799
|
-
// 将取消令牌添加到请求配置中
|
|
3800
|
-
config.cancelToken = source.token;
|
|
3801
|
-
// console.log("cancle", config.cancelToken);
|
|
3802
|
-
return config;
|
|
3803
|
-
}, error => {
|
|
3804
|
-
return Promise.reject(error);
|
|
3805
|
-
});
|
|
3806
|
-
}
|
|
3807
|
-
function _httpInterceptorsResponse2() {
|
|
3808
|
-
_classStaticPrivateFieldSpecGet(_class, _class, _axiosInstance).interceptors.response.use(response => {
|
|
3809
|
-
const res = response.data;
|
|
3810
|
-
delete _classStaticPrivateFieldSpecGet(_class, _class, _requestMap)[response.config.url || ''];
|
|
3811
|
-
if (res.data === -1000) {
|
|
3812
|
-
console.error('用户未登录');
|
|
3813
|
-
alert('token失效');
|
|
3814
|
-
return res;
|
|
3815
|
-
}
|
|
3816
|
-
return res;
|
|
3817
|
-
}, error => {
|
|
3818
|
-
console.log('err' + error); // for debug
|
|
3819
|
-
return Promise.reject(error);
|
|
3820
|
-
});
|
|
3821
|
-
}
|
|
3822
|
-
var _axiosInstance = {
|
|
3823
|
-
writable: true,
|
|
3824
|
-
value: axios_default.a.create(defaultConfig)
|
|
3825
|
-
};
|
|
3826
|
-
var _requestMap = {
|
|
3827
|
-
writable: true,
|
|
3828
|
-
value: {}
|
|
3829
|
-
};
|
|
3830
|
-
const http = new http_PureHttp();
|
|
3831
3685
|
// CONCATENATED MODULE: ./node_modules/@microsoft/fetch-event-source/lib/esm/parse.js
|
|
3832
3686
|
async function getBytes(stream, onChunk) {
|
|
3833
3687
|
const reader = stream.getReader();
|
|
@@ -4031,14 +3885,7 @@ function defaultOnOpen(response) {
|
|
|
4031
3885
|
//# sourceMappingURL=fetch.js.map
|
|
4032
3886
|
// CONCATENATED MODULE: ./packages/know_ui_v2/api/copilot.js
|
|
4033
3887
|
|
|
4034
|
-
|
|
4035
3888
|
const baseUrlApi = url => `/api/${url}`;
|
|
4036
|
-
const sendMsgApi = (sendUrl, data) => {
|
|
4037
|
-
return http.post(baseUrlApi(sendUrl), {
|
|
4038
|
-
data,
|
|
4039
|
-
timeout: 60000
|
|
4040
|
-
});
|
|
4041
|
-
};
|
|
4042
3889
|
const getReport = param => {
|
|
4043
3890
|
const controller = new AbortController();
|
|
4044
3891
|
let {
|
|
@@ -4072,6 +3919,151 @@ const getReport = param => {
|
|
|
4072
3919
|
controller.abort();
|
|
4073
3920
|
};
|
|
4074
3921
|
};
|
|
3922
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js
|
|
3923
|
+
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
3924
|
+
if (privateCollection.has(obj)) {
|
|
3925
|
+
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3928
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js
|
|
3929
|
+
|
|
3930
|
+
function _classPrivateMethodInitSpec(obj, privateSet) {
|
|
3931
|
+
_checkPrivateRedeclaration(obj, privateSet);
|
|
3932
|
+
privateSet.add(obj);
|
|
3933
|
+
}
|
|
3934
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js
|
|
3935
|
+
function _classApplyDescriptorGet(receiver, descriptor) {
|
|
3936
|
+
if (descriptor.get) {
|
|
3937
|
+
return descriptor.get.call(receiver);
|
|
3938
|
+
}
|
|
3939
|
+
return descriptor.value;
|
|
3940
|
+
}
|
|
3941
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js
|
|
3942
|
+
function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
|
3943
|
+
if (receiver !== classConstructor) {
|
|
3944
|
+
throw new TypeError("Private static access of wrong provenance");
|
|
3945
|
+
}
|
|
3946
|
+
}
|
|
3947
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js
|
|
3948
|
+
function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
|
3949
|
+
if (descriptor === undefined) {
|
|
3950
|
+
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js
|
|
3954
|
+
|
|
3955
|
+
|
|
3956
|
+
|
|
3957
|
+
function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
|
3958
|
+
_classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
3959
|
+
_classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
|
3960
|
+
return _classApplyDescriptorGet(receiver, descriptor);
|
|
3961
|
+
}
|
|
3962
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js
|
|
3963
|
+
function _classPrivateMethodGet(receiver, privateSet, fn) {
|
|
3964
|
+
if (!privateSet.has(receiver)) {
|
|
3965
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
3966
|
+
}
|
|
3967
|
+
return fn;
|
|
3968
|
+
}
|
|
3969
|
+
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
3970
|
+
var axios = __webpack_require__("bc3a");
|
|
3971
|
+
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
3972
|
+
|
|
3973
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/utils/http/index.js
|
|
3974
|
+
|
|
3975
|
+
|
|
3976
|
+
|
|
3977
|
+
var _class;
|
|
3978
|
+
|
|
3979
|
+
const defaultConfig = {
|
|
3980
|
+
timeout: 5 * 60 * 1000,
|
|
3981
|
+
headers: {
|
|
3982
|
+
Accept: 'application/json, text/plain, */*',
|
|
3983
|
+
'Content-Type': 'application/json',
|
|
3984
|
+
'X-Requested-With': 'XMLHttpRequest'
|
|
3985
|
+
}
|
|
3986
|
+
};
|
|
3987
|
+
|
|
3988
|
+
// request interceptor 请求拦截器
|
|
3989
|
+
var _httpInterceptorsRequest = /*#__PURE__*/new WeakSet();
|
|
3990
|
+
var _httpInterceptorsResponse = /*#__PURE__*/new WeakSet();
|
|
3991
|
+
class http_PureHttp {
|
|
3992
|
+
constructor() {
|
|
3993
|
+
/** 响应拦截 */
|
|
3994
|
+
_classPrivateMethodInitSpec(this, _httpInterceptorsResponse);
|
|
3995
|
+
/** 请求拦截 */
|
|
3996
|
+
_classPrivateMethodInitSpec(this, _httpInterceptorsRequest);
|
|
3997
|
+
_classPrivateMethodGet(this, _httpInterceptorsRequest, _httpInterceptorsRequest2).call(this);
|
|
3998
|
+
_classPrivateMethodGet(this, _httpInterceptorsResponse, _httpInterceptorsResponse2).call(this);
|
|
3999
|
+
}
|
|
4000
|
+
/** 保存当前Axios实例对象 */
|
|
4001
|
+
|
|
4002
|
+
request(method, url, param, axiosConfig) {
|
|
4003
|
+
const config = {
|
|
4004
|
+
method,
|
|
4005
|
+
url,
|
|
4006
|
+
...param,
|
|
4007
|
+
...axiosConfig
|
|
4008
|
+
};
|
|
4009
|
+
return new Promise((resolve, reject) => {
|
|
4010
|
+
_classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _axiosInstance).request(config).then(response => {
|
|
4011
|
+
resolve(response);
|
|
4012
|
+
}).catch(error => {
|
|
4013
|
+
reject(error);
|
|
4014
|
+
});
|
|
4015
|
+
});
|
|
4016
|
+
}
|
|
4017
|
+
post(url, params, config) {
|
|
4018
|
+
return this.request('post', url, params, config);
|
|
4019
|
+
}
|
|
4020
|
+
get(url, params, config) {
|
|
4021
|
+
return this.request('get', url, params, config);
|
|
4022
|
+
}
|
|
4023
|
+
cancelByUrl(url) {
|
|
4024
|
+
_classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _requestMap)[url] && _classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _requestMap)[url].cancel('取消请求');
|
|
4025
|
+
// 取消后移出请求列表
|
|
4026
|
+
delete _classStaticPrivateFieldSpecGet(http_PureHttp, http_PureHttp, _requestMap)[url || ''];
|
|
4027
|
+
}
|
|
4028
|
+
}
|
|
4029
|
+
_class = http_PureHttp;
|
|
4030
|
+
function _httpInterceptorsRequest2() {
|
|
4031
|
+
_classStaticPrivateFieldSpecGet(_class, _class, _axiosInstance).interceptors.request.use(config => {
|
|
4032
|
+
// 生成取消令牌并存储到requestMap
|
|
4033
|
+
const source = axios_default.a.CancelToken.source();
|
|
4034
|
+
_classStaticPrivateFieldSpecGet(_class, _class, _requestMap)[config.url] = source;
|
|
4035
|
+
// 将取消令牌添加到请求配置中
|
|
4036
|
+
config.cancelToken = source.token;
|
|
4037
|
+
// console.log("cancle", config.cancelToken);
|
|
4038
|
+
return config;
|
|
4039
|
+
}, error => {
|
|
4040
|
+
return Promise.reject(error);
|
|
4041
|
+
});
|
|
4042
|
+
}
|
|
4043
|
+
function _httpInterceptorsResponse2() {
|
|
4044
|
+
_classStaticPrivateFieldSpecGet(_class, _class, _axiosInstance).interceptors.response.use(response => {
|
|
4045
|
+
const res = response.data;
|
|
4046
|
+
delete _classStaticPrivateFieldSpecGet(_class, _class, _requestMap)[response.config.url || ''];
|
|
4047
|
+
if (res.data === -1000) {
|
|
4048
|
+
console.error('用户未登录');
|
|
4049
|
+
alert('token失效');
|
|
4050
|
+
return res;
|
|
4051
|
+
}
|
|
4052
|
+
return res;
|
|
4053
|
+
}, error => {
|
|
4054
|
+
console.log('err' + error); // for debug
|
|
4055
|
+
return Promise.reject(error);
|
|
4056
|
+
});
|
|
4057
|
+
}
|
|
4058
|
+
var _axiosInstance = {
|
|
4059
|
+
writable: true,
|
|
4060
|
+
value: axios_default.a.create(defaultConfig)
|
|
4061
|
+
};
|
|
4062
|
+
var _requestMap = {
|
|
4063
|
+
writable: true,
|
|
4064
|
+
value: {}
|
|
4065
|
+
};
|
|
4066
|
+
const http = new http_PureHttp();
|
|
4075
4067
|
// CONCATENATED MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js
|
|
4076
4068
|
|
|
4077
4069
|
|
|
@@ -4086,11 +4078,11 @@ const copilotStore_state = {
|
|
|
4086
4078
|
sendUrl: '',
|
|
4087
4079
|
// 发送接口地址
|
|
4088
4080
|
getkitsUrl: '',
|
|
4089
|
-
//
|
|
4081
|
+
// 获取智能体的接口地址
|
|
4090
4082
|
token: '',
|
|
4091
4083
|
// 用户标识
|
|
4092
4084
|
plugins: [],
|
|
4093
|
-
|
|
4085
|
+
//智能体信息,
|
|
4094
4086
|
placeholder: '',
|
|
4095
4087
|
maxSendNum: 0,
|
|
4096
4088
|
defaultPlugin: {},
|
|
@@ -4108,6 +4100,10 @@ const copilotStore_state = {
|
|
|
4108
4100
|
requestSseing: false,
|
|
4109
4101
|
isSetOut: false,
|
|
4110
4102
|
// 是否将searchText赋值给文本框
|
|
4103
|
+
intelligentAnalysisConfig: {},
|
|
4104
|
+
currentPluginParams: {},
|
|
4105
|
+
currentUsePlugin: {},
|
|
4106
|
+
defaultDeal: {},
|
|
4111
4107
|
cancelsse: () => {}
|
|
4112
4108
|
};
|
|
4113
4109
|
const getters = {};
|
|
@@ -4119,7 +4115,7 @@ const mutations = {
|
|
|
4119
4115
|
msgs: [{
|
|
4120
4116
|
uuid: Date.now(),
|
|
4121
4117
|
needPrinting: true,
|
|
4122
|
-
type: DataType
|
|
4118
|
+
type: DataType.text,
|
|
4123
4119
|
content: state.initText
|
|
4124
4120
|
}],
|
|
4125
4121
|
showOpt: false
|
|
@@ -4131,6 +4127,8 @@ const mutations = {
|
|
|
4131
4127
|
initText,
|
|
4132
4128
|
aiName,
|
|
4133
4129
|
maxSendNum,
|
|
4130
|
+
intelligentAnalysisConfig,
|
|
4131
|
+
defaultDeal,
|
|
4134
4132
|
placeholder
|
|
4135
4133
|
}) {
|
|
4136
4134
|
state.getkitsUrl = getkitsUrl;
|
|
@@ -4145,8 +4143,8 @@ const mutations = {
|
|
|
4145
4143
|
mutations.initDialogue(state);
|
|
4146
4144
|
state.stopDialogue = false;
|
|
4147
4145
|
state.sendLonding = true; //初始化缓慢打字
|
|
4148
|
-
|
|
4149
|
-
state.
|
|
4146
|
+
state.intelligentAnalysisConfig = intelligentAnalysisConfig;
|
|
4147
|
+
state.defaultDeal = defaultDeal;
|
|
4150
4148
|
},
|
|
4151
4149
|
resetCopilot(state) {
|
|
4152
4150
|
state.searchText = '';
|
|
@@ -4196,7 +4194,7 @@ const mutations = {
|
|
|
4196
4194
|
});
|
|
4197
4195
|
return;
|
|
4198
4196
|
}
|
|
4199
|
-
const plusName = state.
|
|
4197
|
+
const plusName = state.currentUsePlugin.name;
|
|
4200
4198
|
state.msgList.push({
|
|
4201
4199
|
isSend: false,
|
|
4202
4200
|
needPrinting: true,
|
|
@@ -4218,93 +4216,203 @@ const mutations = {
|
|
|
4218
4216
|
},
|
|
4219
4217
|
setCancelUrl(state, url) {
|
|
4220
4218
|
state.cancleUrl = url;
|
|
4219
|
+
},
|
|
4220
|
+
onlyCancelRequest(state) {
|
|
4221
|
+
state.cancelsse && state.cancelsse(); //取消sse接收
|
|
4222
|
+
state.requestSseing = false;
|
|
4223
|
+
http.cancelByUrl(state.cancleUrl);
|
|
4221
4224
|
}
|
|
4222
4225
|
};
|
|
4223
4226
|
const actions = {
|
|
4224
4227
|
async sendMsg({
|
|
4225
4228
|
state,
|
|
4226
|
-
commit
|
|
4229
|
+
commit,
|
|
4230
|
+
dispatch
|
|
4227
4231
|
}, msg) {
|
|
4228
4232
|
if (!msg) return;
|
|
4229
4233
|
if (state.sendLonding) return;
|
|
4230
|
-
const plusName = state.checkedPluginByBtn.name;
|
|
4231
4234
|
commit('setMsgList', {
|
|
4232
4235
|
isSend: true,
|
|
4233
4236
|
needPrinting: false,
|
|
4234
4237
|
msgs: [{
|
|
4235
4238
|
needPrinting: false,
|
|
4236
4239
|
uuid: Date.now(),
|
|
4237
|
-
type: DataType
|
|
4240
|
+
type: DataType.text,
|
|
4238
4241
|
content: msg
|
|
4239
4242
|
}],
|
|
4240
|
-
showOpt: false
|
|
4241
|
-
plusName
|
|
4243
|
+
showOpt: false
|
|
4242
4244
|
});
|
|
4243
4245
|
commit('setSendLonding', true);
|
|
4244
4246
|
commit('setSearchText', {
|
|
4245
4247
|
str: ''
|
|
4246
4248
|
});
|
|
4247
4249
|
commit('setShowNewTheme', true);
|
|
4248
|
-
const willSendMsg =
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4250
|
+
const willSendMsg = state.msgList.slice(-5).map(item => {
|
|
4251
|
+
return item.msgs.map(msg => {
|
|
4252
|
+
if (msg.type === DataType.text) {
|
|
4253
|
+
return msg.content;
|
|
4254
|
+
}
|
|
4255
|
+
if (msg.type === DataType.edit) {
|
|
4256
|
+
return msg.content.message;
|
|
4257
|
+
}
|
|
4258
|
+
}).join('');
|
|
4252
4259
|
});
|
|
4253
|
-
let
|
|
4260
|
+
let pluginList = [];
|
|
4254
4261
|
if (Object.keys(state.checkedPluginByBtn).length) {
|
|
4255
|
-
|
|
4262
|
+
const {
|
|
4263
|
+
name,
|
|
4264
|
+
param_desc
|
|
4265
|
+
} = state.checkedPluginByBtn;
|
|
4266
|
+
pluginList = [{
|
|
4267
|
+
name,
|
|
4268
|
+
param_desc
|
|
4269
|
+
}];
|
|
4270
|
+
} else {
|
|
4271
|
+
pluginList = state.plugins.map(item => {
|
|
4272
|
+
const {
|
|
4273
|
+
name,
|
|
4274
|
+
param_desc,
|
|
4275
|
+
require
|
|
4276
|
+
} = item;
|
|
4277
|
+
return {
|
|
4278
|
+
name,
|
|
4279
|
+
param_desc,
|
|
4280
|
+
require
|
|
4281
|
+
};
|
|
4282
|
+
});
|
|
4283
|
+
}
|
|
4284
|
+
commit('setCancelUrl', state.intelligentAnalysisConfig.url);
|
|
4285
|
+
const chatgptAnalysisResult = await http.post(state.intelligentAnalysisConfig.url, {
|
|
4286
|
+
data: {
|
|
4287
|
+
message: willSendMsg[willSendMsg.length - 1],
|
|
4288
|
+
pluginList
|
|
4289
|
+
},
|
|
4290
|
+
headers: {
|
|
4291
|
+
accessToken: state.intelligentAnalysisConfig.token
|
|
4292
|
+
}
|
|
4293
|
+
});
|
|
4294
|
+
if (chatgptAnalysisResult.status !== 200) {
|
|
4295
|
+
commit('setSendLonding', false);
|
|
4296
|
+
return;
|
|
4256
4297
|
}
|
|
4298
|
+
if ('err' in chatgptAnalysisResult.data) {
|
|
4299
|
+
dispatch('sendChatgptMsg', willSendMsg);
|
|
4300
|
+
return;
|
|
4301
|
+
}
|
|
4302
|
+
state.currentPluginParams = chatgptAnalysisResult.data.param;
|
|
4303
|
+
state.currentUsePlugin = state.plugins.find(item => item.name === chatgptAnalysisResult.data.name) || {};
|
|
4304
|
+
dispatch('sendPluginMsg');
|
|
4305
|
+
},
|
|
4306
|
+
sendChatgptMsg({
|
|
4307
|
+
state,
|
|
4308
|
+
commit,
|
|
4309
|
+
dispatch
|
|
4310
|
+
}, willSendMsg) {
|
|
4311
|
+
state.defaultDeal.requestParameFn = state.defaultDeal.requestParameFn ? state.defaultDeal.requestParameFn : config => config;
|
|
4312
|
+
const {
|
|
4313
|
+
data,
|
|
4314
|
+
headers
|
|
4315
|
+
} = state.defaultDeal.requestParameFn({
|
|
4316
|
+
lastMsgs: willSendMsg,
|
|
4317
|
+
data: {},
|
|
4318
|
+
headers: {}
|
|
4319
|
+
});
|
|
4320
|
+
commit('setRequestSseing', true);
|
|
4321
|
+
commit('setCancelsse', getReport({
|
|
4322
|
+
sendUrl: state.defaultDeal.url,
|
|
4323
|
+
method: state.defaultDeal.method,
|
|
4324
|
+
data,
|
|
4325
|
+
headers,
|
|
4326
|
+
onerror: () => {
|
|
4327
|
+
commit('responseMsg', {
|
|
4328
|
+
type: DataType.text,
|
|
4329
|
+
content: '联网异常'
|
|
4330
|
+
});
|
|
4331
|
+
dispatch('sseRequestOver');
|
|
4332
|
+
},
|
|
4333
|
+
onmessage: msg => {
|
|
4334
|
+
const {
|
|
4335
|
+
type,
|
|
4336
|
+
content,
|
|
4337
|
+
isOver
|
|
4338
|
+
} = state.defaultDeal.responseParameFn(msg);
|
|
4339
|
+
commit('responseMsg', {
|
|
4340
|
+
type,
|
|
4341
|
+
content
|
|
4342
|
+
});
|
|
4343
|
+
if (isOver) {
|
|
4344
|
+
dispatch('sseRequestOver');
|
|
4345
|
+
return;
|
|
4346
|
+
}
|
|
4347
|
+
},
|
|
4348
|
+
onclose: () => {
|
|
4349
|
+
dispatch('sseRequestOver');
|
|
4350
|
+
state.defaultDeal.onclose && state.defaultDeal.onclose();
|
|
4351
|
+
}
|
|
4352
|
+
}));
|
|
4353
|
+
},
|
|
4354
|
+
sendPluginMsg({
|
|
4355
|
+
state,
|
|
4356
|
+
commit,
|
|
4357
|
+
dispatch
|
|
4358
|
+
}) {
|
|
4359
|
+
state.currentUsePlugin.requestParameFn = state.currentUsePlugin.requestParameFn ? state.currentUsePlugin.requestParameFn : config => config;
|
|
4257
4360
|
const {
|
|
4258
4361
|
data,
|
|
4259
4362
|
headers
|
|
4260
|
-
} =
|
|
4363
|
+
} = state.currentUsePlugin.requestParameFn({
|
|
4364
|
+
data: state.currentPluginParams,
|
|
4365
|
+
headers: {}
|
|
4366
|
+
});
|
|
4261
4367
|
commit('setRequestSseing', true);
|
|
4262
4368
|
commit('setCancelsse', getReport({
|
|
4263
|
-
sendUrl:
|
|
4264
|
-
method:
|
|
4369
|
+
sendUrl: state.currentUsePlugin.url,
|
|
4370
|
+
method: state.currentUsePlugin.method,
|
|
4265
4371
|
data,
|
|
4266
4372
|
headers,
|
|
4267
4373
|
onerror: () => {
|
|
4268
4374
|
commit('responseMsg', {
|
|
4269
|
-
type:
|
|
4375
|
+
type: DataType.text,
|
|
4270
4376
|
content: '联网异常'
|
|
4271
4377
|
});
|
|
4272
|
-
|
|
4273
|
-
commit('setShowNewTheme', false);
|
|
4274
|
-
state.cancelsse();
|
|
4378
|
+
dispatch('sseRequestOver');
|
|
4275
4379
|
},
|
|
4276
4380
|
onmessage: msg => {
|
|
4277
4381
|
const {
|
|
4278
4382
|
type,
|
|
4279
4383
|
content,
|
|
4280
4384
|
isOver
|
|
4281
|
-
} =
|
|
4385
|
+
} = state.currentUsePlugin.responseParameFn(msg);
|
|
4282
4386
|
commit('responseMsg', {
|
|
4283
4387
|
type,
|
|
4284
4388
|
content
|
|
4285
4389
|
});
|
|
4286
4390
|
if (isOver) {
|
|
4287
|
-
|
|
4288
|
-
commit('setShowNewTheme', false);
|
|
4289
|
-
state.cancelsse();
|
|
4391
|
+
dispatch('sseRequestOver');
|
|
4290
4392
|
return;
|
|
4291
4393
|
}
|
|
4292
4394
|
},
|
|
4293
4395
|
onclose: () => {
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
state.cancelsse();
|
|
4297
|
-
currentPlugin.onclose && currentPlugin.onclose();
|
|
4396
|
+
dispatch('sseRequestOver');
|
|
4397
|
+
state.currentUsePlugin.onclose && state.currentUsePlugin.onclose();
|
|
4298
4398
|
}
|
|
4299
4399
|
}));
|
|
4300
4400
|
},
|
|
4401
|
+
sseRequestOver({
|
|
4402
|
+
commit,
|
|
4403
|
+
state
|
|
4404
|
+
}) {
|
|
4405
|
+
commit('setRequestSseing', false);
|
|
4406
|
+
commit('setShowNewTheme', false);
|
|
4407
|
+
state.cancelsse();
|
|
4408
|
+
},
|
|
4301
4409
|
cancelRequest({
|
|
4302
4410
|
state,
|
|
4303
4411
|
commit
|
|
4304
4412
|
}) {
|
|
4305
4413
|
state.cancelsse && state.cancelsse(); //取消sse接收
|
|
4306
4414
|
commit('setRequestSseing', false);
|
|
4307
|
-
http.cancelByUrl(
|
|
4415
|
+
http.cancelByUrl(state.cancleUrl);
|
|
4308
4416
|
commit('setSendLonding', false);
|
|
4309
4417
|
}
|
|
4310
4418
|
};
|
|
@@ -4345,7 +4453,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4345
4453
|
// ESM COMPAT FLAG
|
|
4346
4454
|
__webpack_require__.r(__webpack_exports__);
|
|
4347
4455
|
|
|
4348
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4456
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
4349
4457
|
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)
|
|
4350
4458
|
}
|
|
4351
4459
|
var staticRenderFns = []
|
|
@@ -4356,7 +4464,7 @@ var staticRenderFns = []
|
|
|
4356
4464
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
4357
4465
|
var es_error_cause = __webpack_require__("d9e2");
|
|
4358
4466
|
|
|
4359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4467
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
4360
4468
|
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)
|
|
4361
4469
|
}
|
|
4362
4470
|
var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
@@ -4364,7 +4472,7 @@ var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
|
4364
4472
|
|
|
4365
4473
|
// CONCATENATED MODULE: ./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4366
4474
|
|
|
4367
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4475
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
4368
4476
|
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()])
|
|
4369
4477
|
}
|
|
4370
4478
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_staticRenderFns = []
|
|
@@ -7260,6 +7368,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7260
7368
|
test: '测试中文'
|
|
7261
7369
|
});
|
|
7262
7370
|
|
|
7371
|
+
/***/ }),
|
|
7372
|
+
|
|
7373
|
+
/***/ "2b76":
|
|
7374
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7375
|
+
|
|
7376
|
+
"use strict";
|
|
7377
|
+
/* 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_574c5ff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a23d");
|
|
7378
|
+
/* 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_574c5ff1_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_574c5ff1_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
7379
|
+
/* unused harmony reexport * */
|
|
7380
|
+
|
|
7381
|
+
|
|
7263
7382
|
/***/ }),
|
|
7264
7383
|
|
|
7265
7384
|
/***/ "2ba4":
|
|
@@ -8915,6 +9034,13 @@ module.exports = java;
|
|
|
8915
9034
|
module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
8916
9035
|
|
|
8917
9036
|
|
|
9037
|
+
/***/ }),
|
|
9038
|
+
|
|
9039
|
+
/***/ "3486":
|
|
9040
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9041
|
+
|
|
9042
|
+
// extracted by mini-css-extract-plugin
|
|
9043
|
+
|
|
8918
9044
|
/***/ }),
|
|
8919
9045
|
|
|
8920
9046
|
/***/ "3511":
|
|
@@ -9181,6 +9307,17 @@ exports.uvCounters = function() {};
|
|
|
9181
9307
|
exports.features = {};
|
|
9182
9308
|
|
|
9183
9309
|
|
|
9310
|
+
/***/ }),
|
|
9311
|
+
|
|
9312
|
+
/***/ "4494":
|
|
9313
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9314
|
+
|
|
9315
|
+
"use strict";
|
|
9316
|
+
/* 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_76782aae_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e597");
|
|
9317
|
+
/* 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_76782aae_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_76782aae_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
9318
|
+
/* unused harmony reexport * */
|
|
9319
|
+
|
|
9320
|
+
|
|
9184
9321
|
/***/ }),
|
|
9185
9322
|
|
|
9186
9323
|
/***/ "44ad":
|
|
@@ -9793,6 +9930,13 @@ module.exports = {
|
|
|
9793
9930
|
};
|
|
9794
9931
|
|
|
9795
9932
|
|
|
9933
|
+
/***/ }),
|
|
9934
|
+
|
|
9935
|
+
/***/ "4daa":
|
|
9936
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9937
|
+
|
|
9938
|
+
// extracted by mini-css-extract-plugin
|
|
9939
|
+
|
|
9796
9940
|
/***/ }),
|
|
9797
9941
|
|
|
9798
9942
|
/***/ "4dd1":
|
|
@@ -10566,6 +10710,17 @@ function javascript(hljs) {
|
|
|
10566
10710
|
module.exports = javascript;
|
|
10567
10711
|
|
|
10568
10712
|
|
|
10713
|
+
/***/ }),
|
|
10714
|
+
|
|
10715
|
+
/***/ "4ec3":
|
|
10716
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10717
|
+
|
|
10718
|
+
"use strict";
|
|
10719
|
+
/* 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_readMd_vue_vue_type_style_index_0_id_548b865e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4daa");
|
|
10720
|
+
/* 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_readMd_vue_vue_type_style_index_0_id_548b865e_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_readMd_vue_vue_type_style_index_0_id_548b865e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
10721
|
+
/* unused harmony reexport * */
|
|
10722
|
+
|
|
10723
|
+
|
|
10569
10724
|
/***/ }),
|
|
10570
10725
|
|
|
10571
10726
|
/***/ "50c4":
|
|
@@ -10891,7 +11046,7 @@ module.exports = function (bitmap, value) {
|
|
|
10891
11046
|
// ESM COMPAT FLAG
|
|
10892
11047
|
__webpack_require__.r(__webpack_exports__);
|
|
10893
11048
|
|
|
10894
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11049
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/main.vue?vue&type=template&id=c692ad88&scoped=true
|
|
10895
11050
|
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)
|
|
10896
11051
|
}
|
|
10897
11052
|
var staticRenderFns = []
|
|
@@ -10902,7 +11057,7 @@ var staticRenderFns = []
|
|
|
10902
11057
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
10903
11058
|
var es_array_push = __webpack_require__("14d9");
|
|
10904
11059
|
|
|
10905
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11060
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
10906
11061
|
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)
|
|
10907
11062
|
}
|
|
10908
11063
|
var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
@@ -10910,7 +11065,7 @@ var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
|
10910
11065
|
|
|
10911
11066
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
10912
11067
|
|
|
10913
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11068
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
10914
11069
|
var FilterAreavue_type_template_id_79c8b408_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade"}},[(_vm.selProjectId !== 0)?_c('div',{staticClass:"filterAreaWrap filterWrap bg-white mt-1"},[_c('div',{attrs:{"id":"filterWrap"}},[(_vm.showList.length ===0)?[_c('div')]:[_vm._l((_vm.showList),function(filter,rowIndex){return _c('div',{key:filter.label_id},[(rowIndex < 4)?_c('div',{staticClass:"flex justify-between gap-x-5 rowWrap",class:{
|
|
10915
11070
|
multiple: filter.multipleSel,
|
|
10916
11071
|
xinyuan: filter.kind === _vm.EnumFilterKind.XinYuan,
|
|
@@ -10949,7 +11104,7 @@ var FilterAreavue_type_template_id_79c8b408_scoped_true_staticRenderFns = []
|
|
|
10949
11104
|
|
|
10950
11105
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
10951
11106
|
|
|
10952
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11107
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
10953
11108
|
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)
|
|
10954
11109
|
}
|
|
10955
11110
|
var FilterItemvue_type_template_id_3a70deee_scoped_true_staticRenderFns = []
|
|
@@ -11032,7 +11187,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11032
11187
|
)
|
|
11033
11188
|
|
|
11034
11189
|
/* harmony default export */ var FilterItem = (component.exports);
|
|
11035
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11190
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
11036
11191
|
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)])
|
|
11037
11192
|
}
|
|
11038
11193
|
var FilterItemIconvue_type_template_id_4b83b000_scoped_true_staticRenderFns = []
|
|
@@ -11637,20 +11792,6 @@ module.exports = function (key, value) {
|
|
|
11637
11792
|
};
|
|
11638
11793
|
|
|
11639
11794
|
|
|
11640
|
-
/***/ }),
|
|
11641
|
-
|
|
11642
|
-
/***/ "6604":
|
|
11643
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11644
|
-
|
|
11645
|
-
// extracted by mini-css-extract-plugin
|
|
11646
|
-
|
|
11647
|
-
/***/ }),
|
|
11648
|
-
|
|
11649
|
-
/***/ "6825":
|
|
11650
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11651
|
-
|
|
11652
|
-
// extracted by mini-css-extract-plugin
|
|
11653
|
-
|
|
11654
11795
|
/***/ }),
|
|
11655
11796
|
|
|
11656
11797
|
/***/ "69f3":
|
|
@@ -15361,6 +15502,17 @@ webpackContext.resolve = webpackContextResolve;
|
|
|
15361
15502
|
module.exports = webpackContext;
|
|
15362
15503
|
webpackContext.id = "7d1c";
|
|
15363
15504
|
|
|
15505
|
+
/***/ }),
|
|
15506
|
+
|
|
15507
|
+
/***/ "802d":
|
|
15508
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15509
|
+
|
|
15510
|
+
"use strict";
|
|
15511
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_22b4bd89_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e098");
|
|
15512
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_22b4bd89_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_22b4bd89_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
15513
|
+
/* unused harmony reexport * */
|
|
15514
|
+
|
|
15515
|
+
|
|
15364
15516
|
/***/ }),
|
|
15365
15517
|
|
|
15366
15518
|
/***/ "825a":
|
|
@@ -16159,13 +16311,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
|
16159
16311
|
|
|
16160
16312
|
/***/ }),
|
|
16161
16313
|
|
|
16162
|
-
/***/ "8d42":
|
|
16163
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
16164
|
-
|
|
16165
|
-
// extracted by mini-css-extract-plugin
|
|
16166
|
-
|
|
16167
|
-
/***/ }),
|
|
16168
|
-
|
|
16169
16314
|
/***/ "8dcb":
|
|
16170
16315
|
/***/ (function(module, exports) {
|
|
16171
16316
|
|
|
@@ -17074,17 +17219,6 @@ function python(hljs) {
|
|
|
17074
17219
|
module.exports = python;
|
|
17075
17220
|
|
|
17076
17221
|
|
|
17077
|
-
/***/ }),
|
|
17078
|
-
|
|
17079
|
-
/***/ "9631":
|
|
17080
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17081
|
-
|
|
17082
|
-
"use strict";
|
|
17083
|
-
/* 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");
|
|
17084
|
-
/* 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__);
|
|
17085
|
-
/* unused harmony reexport * */
|
|
17086
|
-
|
|
17087
|
-
|
|
17088
17222
|
/***/ }),
|
|
17089
17223
|
|
|
17090
17224
|
/***/ "968d":
|
|
@@ -17153,40 +17287,40 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
17153
17287
|
// ESM COMPAT FLAG
|
|
17154
17288
|
__webpack_require__.r(__webpack_exports__);
|
|
17155
17289
|
|
|
17156
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17290
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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=22b4bd89&scoped=true
|
|
17157
17291
|
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)])
|
|
17158
17292
|
}
|
|
17159
17293
|
var staticRenderFns = []
|
|
17160
17294
|
|
|
17161
17295
|
|
|
17162
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=
|
|
17296
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=22b4bd89&scoped=true
|
|
17163
17297
|
|
|
17164
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17165
|
-
var
|
|
17298
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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=11be81bb&scoped=true
|
|
17299
|
+
var dialoguevue_type_template_id_11be81bb_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"messageBox",staticClass:"message-box"},[_vm._l((_vm.msgList),function(item,index){return _c('div',{key:item.uuid + '' + index,staticClass:"message-group"},[_c('div',{staticClass:"msg-head"},[(item.isSend)?_c('UserHead'):_c('AnswerHead',{scopedSlots:_vm._u([{key:"avatar",fn:function(){return [_vm._t("avatar")]},proxy:true}],null,true)})],1),_c('div',{class:{ 'msg-content': true, 'response-content': !item.isSend }},[(!item.isSend && item.plusName)?_c('div',{staticClass:"msg-plus mb-1"},[_c('div',[_vm._v(" 使用: "),_c('span',[_vm._v(_vm._s(item.plusName.replace(/,/g, ' ')))])])]):_vm._e(),_c('MessageParse',{attrs:{"msgs":item.msgs,"isPrinting":item.needPrinting,"scrollToBottom":_vm.scrollToBottom},on:{"printOk":_vm.printOk,"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)}}}),(!item.isSend && !item.needPrinting && item.showOpt)?_c('div',{staticClass:"icon-operates"},[_c('div',{staticClass:"icon-item",attrs:{"title":"点赞"}},[_c('Like')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"不喜欢"}},[_c('Notlike')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"复制"}},[_c('Copy')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"导出"}},[_c('Download')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"播放"}},[_c('Speaker')],1)]):_vm._e()],1)])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.stopDialogue),expression:"stopDialogue"}],staticClass:"stop-dialogue"},[_c('div',{staticClass:"gray-line"}),_c('div',{staticClass:"title"},[_vm._v("很抱歉,此对话已达到其限制。让我们开始新的聊天。")]),_c('div',{staticClass:"gray-line"})])],2)
|
|
17166
17300
|
}
|
|
17167
|
-
var
|
|
17301
|
+
var dialoguevue_type_template_id_11be81bb_scoped_true_staticRenderFns = []
|
|
17168
17302
|
|
|
17169
17303
|
|
|
17170
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=
|
|
17304
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=11be81bb&scoped=true
|
|
17171
17305
|
|
|
17172
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17173
|
-
var
|
|
17306
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=76782aae&scoped=true
|
|
17307
|
+
var messageParsevue_type_template_id_76782aae_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',_vm._l((_vm.msgs),function(item,index){return _c('div',{key:item.uuid + '' + index},[(index < _vm.current && item.type === _vm.DataType.text)?_c('ReadMd',{attrs:{"text":item.content,"scrollToBottom":_vm.scrollToBottom,"isPrinting":item.needPrinting},on:{"printOk":_vm.printOk,"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)}}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.edit)?_c('Edit',{attrs:{"content":item.content,"scrollToBottom":_vm.scrollToBottom,"isPrinting":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.file)?_c('FileBox',{attrs:{"desc":item.content,"isPrinting":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(_vm.isPrinting && index === _vm.current - 1 && !item.needPrinting)?_c('span',{staticClass:"cursor"}):_vm._e()],1)}),0)
|
|
17174
17308
|
}
|
|
17175
|
-
var
|
|
17309
|
+
var messageParsevue_type_template_id_76782aae_scoped_true_staticRenderFns = []
|
|
17176
17310
|
|
|
17177
17311
|
|
|
17178
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=
|
|
17312
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=76782aae&scoped=true
|
|
17179
17313
|
|
|
17180
17314
|
// EXTERNAL MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js + 11 modules
|
|
17181
17315
|
var copilotStore = __webpack_require__("187e");
|
|
17182
17316
|
|
|
17183
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17184
|
-
var
|
|
17317
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=548b865e&scoped=true
|
|
17318
|
+
var readMdvue_type_template_id_548b865e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:"highlight",rawName:"v-highlight"}],staticClass:"markdown",domProps:{"innerHTML":_vm._s(_vm.resultHtml)}})])
|
|
17185
17319
|
}
|
|
17186
|
-
var
|
|
17320
|
+
var readMdvue_type_template_id_548b865e_scoped_true_staticRenderFns = []
|
|
17187
17321
|
|
|
17188
17322
|
|
|
17189
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=
|
|
17323
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=548b865e&scoped=true
|
|
17190
17324
|
|
|
17191
17325
|
// EXTERNAL MODULE: ./node_modules/dompurify/dist/purify.js
|
|
17192
17326
|
var purify = __webpack_require__("c0c4");
|
|
@@ -17366,20 +17500,25 @@ var vuex_esm = __webpack_require__("2f62");
|
|
|
17366
17500
|
printCore();
|
|
17367
17501
|
}
|
|
17368
17502
|
},
|
|
17503
|
+
watch: {
|
|
17504
|
+
getHtml() {
|
|
17505
|
+
if (!this.isPrinting) this.vHtml = this.getHtml;
|
|
17506
|
+
}
|
|
17507
|
+
},
|
|
17369
17508
|
mounted() {
|
|
17370
17509
|
if (this.isPrinting) {
|
|
17371
17510
|
this.printMessage();
|
|
17372
17511
|
} else {
|
|
17373
17512
|
this.vHtml = this.getHtml;
|
|
17374
|
-
this.$emit('printOk'
|
|
17513
|
+
this.$emit('printOk');
|
|
17375
17514
|
}
|
|
17376
17515
|
this.scrollToBottom(true);
|
|
17377
17516
|
}
|
|
17378
17517
|
});
|
|
17379
17518
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=script&lang=js
|
|
17380
17519
|
/* harmony default export */ var messageParse_readMdvue_type_script_lang_js = (readMdvue_type_script_lang_js);
|
|
17381
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=style&index=0&id=
|
|
17382
|
-
var
|
|
17520
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=style&index=0&id=548b865e&prod&lang=scss&scoped=true
|
|
17521
|
+
var readMdvue_type_style_index_0_id_548b865e_prod_lang_scss_scoped_true = __webpack_require__("4ec3");
|
|
17383
17522
|
|
|
17384
17523
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
17385
17524
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -17395,17 +17534,17 @@ var componentNormalizer = __webpack_require__("2877");
|
|
|
17395
17534
|
|
|
17396
17535
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
17397
17536
|
messageParse_readMdvue_type_script_lang_js,
|
|
17398
|
-
|
|
17399
|
-
|
|
17537
|
+
readMdvue_type_template_id_548b865e_scoped_true_render,
|
|
17538
|
+
readMdvue_type_template_id_548b865e_scoped_true_staticRenderFns,
|
|
17400
17539
|
false,
|
|
17401
17540
|
null,
|
|
17402
|
-
"
|
|
17541
|
+
"548b865e",
|
|
17403
17542
|
null
|
|
17404
17543
|
|
|
17405
17544
|
)
|
|
17406
17545
|
|
|
17407
17546
|
/* harmony default export */ var readMd = (component.exports);
|
|
17408
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17547
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17409
17548
|
var fileBoxvue_type_template_id_eae35050_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"file-box"},[_c('div',{staticClass:"file-content"},[_c('FileIcon',{attrs:{"type":_vm.fileType}}),_c('div',{staticClass:"file-desc"},[_c('span',{staticClass:"file-name"},[_vm._v(_vm._s(_vm.desc.name))]),_c('div',{staticClass:"file-size-type"},[_c('span',{staticClass:"size"},[_vm._v(_vm._s(_vm.size))]),_c('span',{staticClass:"type"},[_vm._v(_vm._s(_vm.fileType))])])])],1),_c('button',{staticClass:"download-btn",on:{"click":_vm.downLoadFilde}},[_vm._v("下载")])])
|
|
17410
17549
|
}
|
|
17411
17550
|
var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
@@ -17413,7 +17552,7 @@ var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
|
17413
17552
|
|
|
17414
17553
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17415
17554
|
|
|
17416
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17555
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/fileIcon.vue?vue&type=template&id=d505c8c2&scoped=true
|
|
17417
17556
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.type==='ppt')?_c('svg',{staticClass:"icon",attrs:{"t":"1713764760412","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"5972","xmlns:xlink":"http://www.w3.org/1999/xlink","width":"40","height":"40"}},[_c('path',{attrs:{"d":"M620.9 67.2H236.5c-30.3 0-54.9 25-54.9 55.9v782.7c0 30.9 24.6 55.9 54.9 55.9h549c30.3 0 54.9-25 54.9-55.9v-615L620.9 67.2z","fill":"#FF7357","p-id":"5973"}}),_c('path',{attrs:{"d":"M802 925.9H220.1V109.7h379.6v218.9H802z","fill":"#FFFFFF","p-id":"5974"}}),_c('path',{attrs:{"d":"M802 922.6H220.1V106.4h379.6v218.8H802z","fill":"#FF917B","p-id":"5975"}}),_c('path',{attrs:{"d":"M340.8 597.6c47.7 0 71.4 20.2 71.4 60.8 0 40.9-24.2 61.4-72.1 61.4h-51.9v78h-30.6V597.6h83.2z m-52.4 96.2h49.8c15.1 0 26.1-2.9 33.1-8.4 6.8-5.6 10.3-14.5 10.3-26.9 0-12.4-3.7-21.3-10.6-26.3-7.1-5.6-17.9-8.4-32.9-8.4h-49.8v70zM523.6 597.6c47.7 0 71.4 20.2 71.4 60.8 0 40.9-24.2 61.4-72.1 61.4H471v78h-30.6V597.6h83.2z m-52.4 96.2H521c15.1 0 26.1-2.9 33.1-8.4 6.8-5.6 10.3-14.5 10.3-26.9 0-12.4-3.7-21.3-10.6-26.3-7.1-5.6-17.9-8.4-32.9-8.4h-49.8v70h0.1zM772 597.6v26.1h-66.7v174.1H675V623.7h-67v-26.1h164z","fill":"#FFFFFF","p-id":"5976"}})]):_vm._e(),(_vm.type==='word')?_c('svg',{staticClass:"icon",attrs:{"t":"1713764692798","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"4500","xmlns:xlink":"http://www.w3.org/1999/xlink","width":"40","height":"40"}},[_c('path',{attrs:{"d":"M791.94 155.36H332.48c-42.23 0-76.54 34.31-76.54 76.54v76.55h-51.03c-28.16 0-51.04 22.87-51.04 51.03v306.37c0 28.15 22.88 51.02 51.04 51.02h51.03v76.54c0 42.24 34.32 76.55 76.54 76.55h459.46c42.23 0 76.54-34.32 76.54-76.54V231.9c0.1-42.24-34.31-76.54-76.54-76.54z m-547.68 298.6h40.28l26.04 93.58h5.7l29.16-93.58h34.45l29.02 93.71h6.24l26.18-93.71h40.41l-40.41 133.72H384.1l-19.53-70.25h-5.43l-19.26 69.98h-55.74l-39.88-133.45zM817.45 793.5c-0.01 14.09-11.42 25.5-25.51 25.51H332.48c-14.09-0.01-25.5-11.43-25.51-25.51v-76.54h204.21c28.15 0 51.03-22.88 51.03-51.03V614.9H740.9c14.09-0.01 25.51-11.43 25.52-25.52-0.02-14.09-11.43-25.5-25.52-25.51H562.21v-51.03H740.9c14.09-0.01 25.51-11.43 25.52-25.52-0.01-14.09-11.43-25.5-25.52-25.52H562.21v-51.03H740.9c14.09-0.01 25.51-11.43 25.52-25.51-0.01-14.09-11.43-25.51-25.52-25.52H562.21c0-28.16-22.89-51.03-51.03-51.03H306.97v-76.54c0.01-14.09 11.43-25.5 25.51-25.52h459.46c14.08 0.01 25.5 11.43 25.51 25.52V793.5z m0 0","fill":"#54A0FF","p-id":"4501"}})]):_vm._e()])
|
|
17418
17557
|
}
|
|
17419
17558
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_staticRenderFns = []
|
|
@@ -17530,15 +17669,173 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17530
17669
|
)
|
|
17531
17670
|
|
|
17532
17671
|
/* harmony default export */ var fileBox = (fileBox_component.exports);
|
|
17672
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=c0709918&scoped=true
|
|
17673
|
+
var editvue_type_template_id_c0709918_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing),expression:"!isEditing"}],staticClass:"read-flex"},[_c('ReadMd',{attrs:{"text":_vm.content.message,"isPrinting":_vm.printing},on:{"update:isPrinting":function($event){_vm.printing=$event},"update:is-printing":function($event){_vm.printing=$event},"printOk":_vm.printOk}}),(_vm.showButton && _vm.isPrinting)?_c('div',{class:{
|
|
17674
|
+
'icon-item': true,
|
|
17675
|
+
'cursor-default': !_vm.sendLonding
|
|
17676
|
+
},attrs:{"title":"编辑"},on:{"click":_vm.toEdit}},[_c('ThumbsDown')],1):_vm._e(),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing && _vm.isPrinting && _vm.showButton),expression:"!isEditing && isPrinting && showButton"}],staticClass:"time"},[_vm._v(" ("+_vm._s(_vm.countDown)+"s)")])],1),(_vm.isEditing && _vm.isPrinting)?_c('div',{staticClass:"read-flex"},[_c('span',[_vm._v(_vm._s(_vm.updateObj.userLogic.title))]),_c('div',{staticClass:"input-box"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.updateObj.userLogic.value),expression:"updateObj.userLogic.value"}],staticClass:"keyword-input",attrs:{"type":"text","autofocus":""},domProps:{"value":(_vm.updateObj.userLogic.value)},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.confirm.apply(null, arguments)},"input":function($event){if($event.target.composing)return;_vm.$set(_vm.updateObj.userLogic, "value", $event.target.value)}}}),(_vm.showButton && _vm.isPrinting)?_c('button',{on:{"click":_vm.confirm}},[_vm._v(" 确认"),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing),expression:"!isEditing"}]},[_vm._v(" ("+_vm._s(_vm.countDown)+"s)")])]):_vm._e()])]):_vm._e()])
|
|
17677
|
+
}
|
|
17678
|
+
var editvue_type_template_id_c0709918_scoped_true_staticRenderFns = []
|
|
17679
|
+
|
|
17680
|
+
|
|
17681
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=c0709918&scoped=true
|
|
17682
|
+
|
|
17683
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue?vue&type=template&id=0c20c6bf
|
|
17684
|
+
var thumbsDownvue_type_template_id_0c20c6bf_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{staticStyle:{"outline":"none"},attrs:{"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true","role":"img","width":"1em","height":"1em","viewBox":"0 0 256 256","data-v-3f2185fe":""}},[_c('path',{attrs:{"fill":"currentColor","d":"m232.49 55.51l-32-32a12 12 0 0 0-17 0l-96 96A12 12 0 0 0 84 128v32a12 12 0 0 0 12 12h32a12 12 0 0 0 8.49-3.51l96-96a12 12 0 0 0 0-16.98ZM192 49l15 15l-11 11l-15-15Zm-69 99h-15v-15l56-56l15 15Zm105-15.43V208a20 20 0 0 1-20 20H48a20 20 0 0 1-20-20V48a20 20 0 0 1 20-20h75.43a12 12 0 0 1 0 24H52v152h152v-71.43a12 12 0 0 1 24 0Z"}})])
|
|
17685
|
+
}
|
|
17686
|
+
var thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns = []
|
|
17687
|
+
|
|
17688
|
+
|
|
17689
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue?vue&type=template&id=0c20c6bf
|
|
17690
|
+
|
|
17691
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue
|
|
17692
|
+
|
|
17693
|
+
var script = {}
|
|
17694
|
+
|
|
17695
|
+
|
|
17696
|
+
/* normalize component */
|
|
17697
|
+
|
|
17698
|
+
var thumbsDown_component = Object(componentNormalizer["a" /* default */])(
|
|
17699
|
+
script,
|
|
17700
|
+
thumbsDownvue_type_template_id_0c20c6bf_render,
|
|
17701
|
+
thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns,
|
|
17702
|
+
false,
|
|
17703
|
+
null,
|
|
17704
|
+
null,
|
|
17705
|
+
null
|
|
17706
|
+
|
|
17707
|
+
)
|
|
17708
|
+
|
|
17709
|
+
/* harmony default export */ var thumbsDown = (thumbsDown_component.exports);
|
|
17710
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=script&lang=ts
|
|
17711
|
+
|
|
17712
|
+
|
|
17713
|
+
|
|
17714
|
+
|
|
17715
|
+
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17716
|
+
components: {
|
|
17717
|
+
ReadMd: readMd,
|
|
17718
|
+
ThumbsDown: thumbsDown
|
|
17719
|
+
},
|
|
17720
|
+
props: {
|
|
17721
|
+
// 输入的 markdown 文本
|
|
17722
|
+
content: {
|
|
17723
|
+
type: Object,
|
|
17724
|
+
default: () => {}
|
|
17725
|
+
},
|
|
17726
|
+
isPrinting: {
|
|
17727
|
+
type: Boolean,
|
|
17728
|
+
default: false
|
|
17729
|
+
},
|
|
17730
|
+
scrollToBottom: {
|
|
17731
|
+
type: Function,
|
|
17732
|
+
default: () => {}
|
|
17733
|
+
}
|
|
17734
|
+
},
|
|
17735
|
+
data() {
|
|
17736
|
+
return {
|
|
17737
|
+
updateObj: {
|
|
17738
|
+
userLogic: {
|
|
17739
|
+
title: '提取的关键词信息:',
|
|
17740
|
+
type: 'text',
|
|
17741
|
+
value: this.content.updateInfo.userLogic
|
|
17742
|
+
}
|
|
17743
|
+
},
|
|
17744
|
+
printing: true,
|
|
17745
|
+
showButton: false,
|
|
17746
|
+
countDown: 5,
|
|
17747
|
+
interval: 0,
|
|
17748
|
+
isEditing: false,
|
|
17749
|
+
oldUserLogic: this.content.updateInfo.userLogic
|
|
17750
|
+
}
|
|
17751
|
+
},
|
|
17752
|
+
computed: {
|
|
17753
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17754
|
+
},
|
|
17755
|
+
methods: {
|
|
17756
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17757
|
+
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17758
|
+
confirm() {
|
|
17759
|
+
clearInterval(this.interval)
|
|
17760
|
+
this.showButton = false
|
|
17761
|
+
this.isEditing = false
|
|
17762
|
+
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17763
|
+
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17764
|
+
this.onlyCancelRequest()
|
|
17765
|
+
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17766
|
+
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17767
|
+
this.sendPluginMsg()
|
|
17768
|
+
return
|
|
17769
|
+
}
|
|
17770
|
+
this.finalComm(false)
|
|
17771
|
+
},
|
|
17772
|
+
finalComm(isEdit = false) {
|
|
17773
|
+
this.$emit('update:isPrinting', false)
|
|
17774
|
+
this.$emit('printOk', isEdit) //改动为true
|
|
17775
|
+
},
|
|
17776
|
+
printOk() {
|
|
17777
|
+
this.showButton = true
|
|
17778
|
+
this.scrollToBottom()
|
|
17779
|
+
this.interval = setInterval(() => {
|
|
17780
|
+
this.countDown--
|
|
17781
|
+
if (this.countDown <= 0) {
|
|
17782
|
+
clearInterval(this.interval)
|
|
17783
|
+
this.showButton = false
|
|
17784
|
+
this.finalComm(false)
|
|
17785
|
+
}
|
|
17786
|
+
}, 1000)
|
|
17787
|
+
},
|
|
17788
|
+
toEdit() {
|
|
17789
|
+
this.interval = clearInterval(this.interval)
|
|
17790
|
+
if (this.sendLonding) this.isEditing = true
|
|
17791
|
+
}
|
|
17792
|
+
},
|
|
17793
|
+
watch: {
|
|
17794
|
+
sendLonding(newValue) {
|
|
17795
|
+
if (!newValue) {
|
|
17796
|
+
this.$emit('update:isPrinting', false)
|
|
17797
|
+
}
|
|
17798
|
+
}
|
|
17799
|
+
}
|
|
17800
|
+
});
|
|
17801
|
+
|
|
17802
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=script&lang=ts
|
|
17803
|
+
/* harmony default export */ var messageParse_editvue_type_script_lang_ts = (editvue_type_script_lang_ts);
|
|
17804
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=style&index=0&id=c0709918&prod&scoped=true&lang=scss
|
|
17805
|
+
var editvue_type_style_index_0_id_c0709918_prod_scoped_true_lang_scss = __webpack_require__("f83b");
|
|
17806
|
+
|
|
17807
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue
|
|
17808
|
+
|
|
17809
|
+
|
|
17810
|
+
|
|
17811
|
+
|
|
17812
|
+
|
|
17813
|
+
|
|
17814
|
+
/* normalize component */
|
|
17815
|
+
|
|
17816
|
+
var edit_component = Object(componentNormalizer["a" /* default */])(
|
|
17817
|
+
messageParse_editvue_type_script_lang_ts,
|
|
17818
|
+
editvue_type_template_id_c0709918_scoped_true_render,
|
|
17819
|
+
editvue_type_template_id_c0709918_scoped_true_staticRenderFns,
|
|
17820
|
+
false,
|
|
17821
|
+
null,
|
|
17822
|
+
"c0709918",
|
|
17823
|
+
null
|
|
17824
|
+
|
|
17825
|
+
)
|
|
17826
|
+
|
|
17827
|
+
/* harmony default export */ var edit = (edit_component.exports);
|
|
17533
17828
|
// 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/dialogue/messageParse/index.vue?vue&type=script&lang=js
|
|
17534
17829
|
|
|
17535
17830
|
|
|
17536
17831
|
|
|
17537
17832
|
|
|
17833
|
+
|
|
17538
17834
|
/* harmony default export */ var messageParsevue_type_script_lang_js = ({
|
|
17539
17835
|
components: {
|
|
17540
|
-
|
|
17541
|
-
FileBox: fileBox
|
|
17836
|
+
ReadMd: readMd,
|
|
17837
|
+
FileBox: fileBox,
|
|
17838
|
+
Edit: edit
|
|
17542
17839
|
},
|
|
17543
17840
|
props: {
|
|
17544
17841
|
msgs: {
|
|
@@ -17556,7 +17853,8 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17556
17853
|
},
|
|
17557
17854
|
data() {
|
|
17558
17855
|
return {
|
|
17559
|
-
current: 1
|
|
17856
|
+
current: 1,
|
|
17857
|
+
DataType: copilotStore["DataType"]
|
|
17560
17858
|
};
|
|
17561
17859
|
},
|
|
17562
17860
|
watch: {
|
|
@@ -17579,13 +17877,18 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17579
17877
|
},
|
|
17580
17878
|
methods: {
|
|
17581
17879
|
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['setSendLonding']),
|
|
17582
|
-
printOk() {
|
|
17880
|
+
printOk(isEdit) {
|
|
17583
17881
|
if (!this.sendLonding) {
|
|
17584
17882
|
//强制中断
|
|
17585
17883
|
this.$emit('update:isPrinting', false);
|
|
17586
17884
|
this.$emit('printOk');
|
|
17587
17885
|
return;
|
|
17588
17886
|
}
|
|
17887
|
+
if (isEdit) {
|
|
17888
|
+
this.msgs.splice(0);
|
|
17889
|
+
this.current = 1;
|
|
17890
|
+
return;
|
|
17891
|
+
}
|
|
17589
17892
|
if (this.current < this.msgs.length) {
|
|
17590
17893
|
//逐条解析
|
|
17591
17894
|
this.current++;
|
|
@@ -17604,27 +17907,31 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17604
17907
|
});
|
|
17605
17908
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=script&lang=js
|
|
17606
17909
|
/* harmony default export */ var dialogue_messageParsevue_type_script_lang_js = (messageParsevue_type_script_lang_js);
|
|
17910
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=style&index=0&id=76782aae&prod&lang=scss&scoped=true
|
|
17911
|
+
var messageParsevue_type_style_index_0_id_76782aae_prod_lang_scss_scoped_true = __webpack_require__("4494");
|
|
17912
|
+
|
|
17607
17913
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue
|
|
17608
17914
|
|
|
17609
17915
|
|
|
17610
17916
|
|
|
17611
17917
|
|
|
17612
17918
|
|
|
17919
|
+
|
|
17613
17920
|
/* normalize component */
|
|
17614
17921
|
|
|
17615
17922
|
var messageParse_component = Object(componentNormalizer["a" /* default */])(
|
|
17616
17923
|
dialogue_messageParsevue_type_script_lang_js,
|
|
17617
|
-
|
|
17618
|
-
|
|
17924
|
+
messageParsevue_type_template_id_76782aae_scoped_true_render,
|
|
17925
|
+
messageParsevue_type_template_id_76782aae_scoped_true_staticRenderFns,
|
|
17619
17926
|
false,
|
|
17620
17927
|
null,
|
|
17621
|
-
"
|
|
17928
|
+
"76782aae",
|
|
17622
17929
|
null
|
|
17623
17930
|
|
|
17624
17931
|
)
|
|
17625
17932
|
|
|
17626
17933
|
/* harmony default export */ var messageParse = (messageParse_component.exports);
|
|
17627
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17934
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
17628
17935
|
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("你")])])
|
|
17629
17936
|
}
|
|
17630
17937
|
var UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns = []
|
|
@@ -17637,14 +17944,14 @@ var UserHeadvue_type_style_index_0_id_011b9031_prod_scoped_true_lang_scss = __we
|
|
|
17637
17944
|
|
|
17638
17945
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiContent/UserHead.vue
|
|
17639
17946
|
|
|
17640
|
-
var
|
|
17947
|
+
var UserHead_script = {}
|
|
17641
17948
|
|
|
17642
17949
|
|
|
17643
17950
|
|
|
17644
17951
|
/* normalize component */
|
|
17645
17952
|
|
|
17646
17953
|
var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
17647
|
-
|
|
17954
|
+
UserHead_script,
|
|
17648
17955
|
UserHeadvue_type_template_id_011b9031_scoped_true_render,
|
|
17649
17956
|
UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns,
|
|
17650
17957
|
false,
|
|
@@ -17655,7 +17962,7 @@ var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17655
17962
|
)
|
|
17656
17963
|
|
|
17657
17964
|
/* harmony default export */ var UserHead = (UserHead_component.exports);
|
|
17658
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17965
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
17659
17966
|
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))])])
|
|
17660
17967
|
}
|
|
17661
17968
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_staticRenderFns = []
|
|
@@ -17696,7 +18003,7 @@ var AnswerHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17696
18003
|
)
|
|
17697
18004
|
|
|
17698
18005
|
/* harmony default export */ var AnswerHead = (AnswerHead_component.exports);
|
|
17699
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18006
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
17700
18007
|
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"}})])
|
|
17701
18008
|
}
|
|
17702
18009
|
var copyvue_type_template_id_78ca311e_staticRenderFns = []
|
|
@@ -17723,7 +18030,7 @@ var copy_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17723
18030
|
)
|
|
17724
18031
|
|
|
17725
18032
|
/* harmony default export */ var copy = (copy_component.exports);
|
|
17726
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18033
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
17727
18034
|
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"}})])
|
|
17728
18035
|
}
|
|
17729
18036
|
var downloadvue_type_template_id_32982189_staticRenderFns = []
|
|
@@ -17750,7 +18057,34 @@ var download_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17750
18057
|
)
|
|
17751
18058
|
|
|
17752
18059
|
/* harmony default export */ var download = (download_component.exports);
|
|
17753
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18060
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue?vue&type=template&id=8a336b68
|
|
18061
|
+
var speakervue_type_template_id_8a336b68_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{staticStyle:{"outline":"none"},attrs:{"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true","role":"img","width":"1em","height":"1em","viewBox":"0 0 256 256","data-v-195ed1f2":""}},[_c('path',{attrs:{"fill":"currentColor","d":"M154.64 26.61a6 6 0 0 0-6.32.65L77.94 82H32a14 14 0 0 0-14 14v64a14 14 0 0 0 14 14h45.94l70.38 54.74A6 6 0 0 0 158 224V32a6 6 0 0 0-3.36-5.39ZM30 160V96a2 2 0 0 1 2-2h42v68H32a2 2 0 0 1-2-2Zm116 51.73l-60-46.66V90.93l60-46.66Zm50.53-108.85a38 38 0 0 1 0 50.24a6 6 0 1 1-9-7.94a26 26 0 0 0 0-34.37a6 6 0 0 1 9-7.93ZM246 128a77.86 77.86 0 0 1-19.86 52a6 6 0 1 1-8.94-8a66 66 0 0 0 0-88a6 6 0 1 1 8.94-8A77.86 77.86 0 0 1 246 128Z"}})])
|
|
18062
|
+
}
|
|
18063
|
+
var speakervue_type_template_id_8a336b68_staticRenderFns = []
|
|
18064
|
+
|
|
18065
|
+
|
|
18066
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue?vue&type=template&id=8a336b68
|
|
18067
|
+
|
|
18068
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue
|
|
18069
|
+
|
|
18070
|
+
var speaker_script = {}
|
|
18071
|
+
|
|
18072
|
+
|
|
18073
|
+
/* normalize component */
|
|
18074
|
+
|
|
18075
|
+
var speaker_component = Object(componentNormalizer["a" /* default */])(
|
|
18076
|
+
speaker_script,
|
|
18077
|
+
speakervue_type_template_id_8a336b68_render,
|
|
18078
|
+
speakervue_type_template_id_8a336b68_staticRenderFns,
|
|
18079
|
+
false,
|
|
18080
|
+
null,
|
|
18081
|
+
null,
|
|
18082
|
+
null
|
|
18083
|
+
|
|
18084
|
+
)
|
|
18085
|
+
|
|
18086
|
+
/* harmony default export */ var speaker = (speaker_component.exports);
|
|
18087
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
17754
18088
|
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"}})])
|
|
17755
18089
|
}
|
|
17756
18090
|
var likevue_type_template_id_3bb849e2_staticRenderFns = []
|
|
@@ -17777,7 +18111,7 @@ var like_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17777
18111
|
)
|
|
17778
18112
|
|
|
17779
18113
|
/* harmony default export */ var like = (like_component.exports);
|
|
17780
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18114
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
17781
18115
|
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"}})])
|
|
17782
18116
|
}
|
|
17783
18117
|
var notlikevue_type_template_id_646e792e_staticRenderFns = []
|
|
@@ -17813,10 +18147,12 @@ var notlike_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17813
18147
|
|
|
17814
18148
|
|
|
17815
18149
|
|
|
18150
|
+
|
|
17816
18151
|
/* harmony default export */ var dialoguevue_type_script_lang_js = ({
|
|
17817
18152
|
components: {
|
|
17818
18153
|
UserHead: UserHead,
|
|
17819
18154
|
AnswerHead: AnswerHead,
|
|
18155
|
+
Speaker: speaker,
|
|
17820
18156
|
Copy: copy,
|
|
17821
18157
|
Download: download,
|
|
17822
18158
|
Like: like,
|
|
@@ -17857,8 +18193,8 @@ var notlike_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17857
18193
|
});
|
|
17858
18194
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=script&lang=js
|
|
17859
18195
|
/* harmony default export */ var KgCopilot_dialoguevue_type_script_lang_js = (dialoguevue_type_script_lang_js);
|
|
17860
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=style&index=0&id=
|
|
17861
|
-
var
|
|
18196
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=style&index=0&id=11be81bb&prod&scoped=true&lang=scss
|
|
18197
|
+
var dialoguevue_type_style_index_0_id_11be81bb_prod_scoped_true_lang_scss = __webpack_require__("b315");
|
|
17862
18198
|
|
|
17863
18199
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue
|
|
17864
18200
|
|
|
@@ -17871,17 +18207,17 @@ var dialoguevue_type_style_index_0_id_29b7bb01_prod_scoped_true_lang_scss = __we
|
|
|
17871
18207
|
|
|
17872
18208
|
var dialogue_component = Object(componentNormalizer["a" /* default */])(
|
|
17873
18209
|
KgCopilot_dialoguevue_type_script_lang_js,
|
|
17874
|
-
|
|
17875
|
-
|
|
18210
|
+
dialoguevue_type_template_id_11be81bb_scoped_true_render,
|
|
18211
|
+
dialoguevue_type_template_id_11be81bb_scoped_true_staticRenderFns,
|
|
17876
18212
|
false,
|
|
17877
18213
|
null,
|
|
17878
|
-
"
|
|
18214
|
+
"11be81bb",
|
|
17879
18215
|
null
|
|
17880
18216
|
|
|
17881
18217
|
)
|
|
17882
18218
|
|
|
17883
18219
|
/* harmony default export */ var dialogue = (dialogue_component.exports);
|
|
17884
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18220
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-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
|
|
17885
18221
|
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)])
|
|
17886
18222
|
}
|
|
17887
18223
|
var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
@@ -17889,17 +18225,17 @@ var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
|
17889
18225
|
|
|
17890
18226
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=699521c0&scoped=true
|
|
17891
18227
|
|
|
17892
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17893
|
-
var
|
|
18228
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=0d6f42aa&scoped=true
|
|
18229
|
+
var SearchInputvue_type_template_id_0d6f42aa_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"bottomFooter",staticClass:"bottom-footer"},[_c('div',{staticClass:"control-contain"},[_c('SelectPluginByKey',{attrs:{"isShowSelect":_vm.isShowSelect,"selectPluginList":_vm.selectPluginList,"modal":_vm.pluginModal,"activePluInd":_vm.activePluInd},on:{"close":_vm.closePluginByoutside,"deleteText":_vm.deleteText}}),_c('button',{staticClass:"control-button select-button",on:{"click":function($event){$event.stopPropagation();return _vm.openPluDialog.apply(null, arguments)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.buttonText)+" ")]),_c('div',{staticClass:"icon",class:[_vm.isShowSelection && 'rotated']},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32","fill":"currentColor"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M16 0a2.4 2.4 0 012.4 2.4l-.001 11.199L29.6 13.6a2.4 2.4 0 010 4.8l-11.201-.001L18.4 29.6a2.4 2.4 0 01-4.8 0l-.001-11.201L2.4 18.4a2.4 2.4 0 010-4.8l11.199-.001L13.6 2.4A2.4 2.4 0 0116 0z"}})])])]),_c('NewTheme'),(_vm.sendLonding)?_c('button',{staticClass:"control-button stop-responding-button",on:{"click":_vm.handleClickStopBtn}},[_c('div',{staticClass:"stop-icon"}),_c('span',[_vm._v("停止生成")])]):_vm._e()],1),_c('div',{staticClass:"input-container"},[(Object.keys(_vm.checkedPluginByBtn).length)?_c('div',{staticClass:"plugin-town"},[_vm._v(" 已选智能体:"+_vm._s(_vm.checkedPluginByBtn.name)+" ")]):_vm._e(),_c('div',{staticClass:"input-row",attrs:{"id":"copiFooter"}},[_c('div',{ref:"coptInput",staticClass:"text-area",attrs:{"contenteditable":"plaintext-only","placeholder":_vm.placeholder,"spellcheck":"false"},on:{"input":_vm.inputChange,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handlerSendMsg.apply(null, arguments)},_vm.handleKeyDown],"compositionstart":_vm.handleCompositionStart,"compositionend":_vm.handleCompositionEnd}})]),_c('div',{staticClass:"bottom-controls"},[_c('div',{staticClass:"bottom-left-controls"}),_c('div',{staticClass:"bottom-right-controls"},[_c('span',{staticClass:"text-sum"},[_c('span',[_vm._v(_vm._s(_vm.textLength))]),_vm._v("/2000")]),_c('button',{staticClass:"send-button",on:{"click":_vm.handlerSendMsg}},[_c('i',{staticClass:"el-icon-s-promotion",class:['icon'],style:({
|
|
17894
18230
|
color: _vm.textLength && !_vm.sendLonding ? '#1e56ea' : '#dbdbdb'
|
|
17895
18231
|
})})])])]),(_vm.stopDialogue)?_c('div',{staticClass:"disable",attrs:{"click.stop":""}}):_vm._e()])])
|
|
17896
18232
|
}
|
|
17897
|
-
var
|
|
18233
|
+
var SearchInputvue_type_template_id_0d6f42aa_scoped_true_staticRenderFns = []
|
|
17898
18234
|
|
|
17899
18235
|
|
|
17900
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=
|
|
18236
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=0d6f42aa&scoped=true
|
|
17901
18237
|
|
|
17902
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18238
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=4ec3d63f&scoped=true
|
|
17903
18239
|
var NewThemevue_type_template_id_4ec3d63f_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"outside-left-container"},[_c('button',{staticClass:"button-compose",style:({ width: _vm.newthemeWidth + 'px' }),attrs:{"type":"button","aria-label":"新主题"},on:{"mouseenter":_vm.mouseEnterBtn,"mouseleave":_vm.mouseLeaveBtn,"click":_vm.getNewTheme}},[_c('div',{staticClass:"button-compose-content"},[_c('div',{staticClass:"button-compose-icon"},[_c('svg',{staticClass:"button-compose-icon",attrs:{"width":"24","viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"fill":"#fff","d":"M12 2C17.5228 2 22 6.47715 22 12C22 12.2628 21.9899 12.5232 21.97 12.7809C21.5319 12.3658 21.0361 12.0111 20.4958 11.73C20.3532 7.16054 16.6041 3.5 12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 13.4696 3.87277 14.8834 4.57303 16.1375L4.72368 16.4072L3.61096 20.3914L7.59755 19.2792L7.86709 19.4295C9.04305 20.0852 10.3592 20.4531 11.73 20.4958C12.0111 21.0361 12.3658 21.5319 12.7809 21.97C12.5232 21.9899 12.2628 22 12 22C10.3817 22 8.81782 21.6146 7.41286 20.888L3.58704 21.9553C2.92212 22.141 2.23258 21.7525 2.04691 21.0876C1.98546 20.8676 1.98549 20.6349 2.04695 20.4151L3.11461 16.5922C2.38637 15.186 2 13.6203 2 12C2 6.47715 6.47715 2 12 2ZM23 17.5C23 14.4624 20.5376 12 17.5 12C14.4624 12 12 14.4624 12 17.5C12 20.5376 14.4624 23 17.5 23C20.5376 23 23 20.5376 23 17.5ZM18.0006 18L18.0011 20.5035C18.0011 20.7797 17.7773 21.0035 17.5011 21.0035C17.225 21.0035 17.0011 20.7797 17.0011 20.5035L17.0006 18H14.4956C14.2197 18 13.9961 17.7762 13.9961 17.5C13.9961 17.2239 14.2197 17 14.4956 17H17.0005L17 14.4993C17 14.2231 17.2239 13.9993 17.5 13.9993C17.7761 13.9993 18 14.2231 18 14.4993L18.0005 17H20.4966C20.7725 17 20.9961 17.2239 20.9961 17.5C20.9961 17.7762 20.7725 18 20.4966 18H18.0006Z"}})])]),_c('div',{staticClass:"button-compose-text"},[_vm._v("新主题")])])])])
|
|
17904
18240
|
}
|
|
17905
18241
|
var NewThemevue_type_template_id_4ec3d63f_scoped_true_staticRenderFns = []
|
|
@@ -17967,13 +18303,13 @@ var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17967
18303
|
)
|
|
17968
18304
|
|
|
17969
18305
|
/* harmony default export */ var NewTheme = (NewTheme_component.exports);
|
|
17970
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17971
|
-
var
|
|
18306
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3148f825-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=574c5ff1&scoped=true
|
|
18307
|
+
var SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade-scale"}},[(_vm.isShowSelect)?_c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.onClickOutside),expression:"onClickOutside"}],staticClass:"selection",style:({ top: _vm.modal === 'key' ? '-105px' : '-150px' })},[_c('div',{ref:"pluginContent",staticClass:"plugin-content"},_vm._l((_vm.selectPluginList),function(plugin,index){return _c('el-popover',{key:index,attrs:{"offset":0,"placement":"right-start","title":plugin.name,"width":200,"trigger":"hover","content":plugin.introduce,"open-delay":200,"close-delay":0}},[_c('div',{ref:"pluginItem",refInFor:true,staticClass:"plugin-item",class:{ isSel: index === _vm.activePluInd },attrs:{"slot":"reference"},on:{"click":function($event){return _vm.choosePlugin(plugin)}},slot:"reference"},[_c('span',[_vm._v(_vm._s(plugin.name))]),_c('div',{staticClass:"plugin-item-right"},[_c('div',{staticClass:"select-radio",class:{ 'active-radio': _vm.checkedPluginByBtn === plugin }},[_c('i',{staticClass:"el-icon-check",class:['icon', { hoverIcon: index === _vm.activePluInd }]})])])])])}),1)]):_vm._e()])
|
|
17972
18308
|
}
|
|
17973
|
-
var
|
|
18309
|
+
var SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_staticRenderFns = []
|
|
17974
18310
|
|
|
17975
18311
|
|
|
17976
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=
|
|
18312
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=574c5ff1&scoped=true
|
|
17977
18313
|
|
|
17978
18314
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
17979
18315
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
@@ -18357,8 +18693,8 @@ function createDocumentHandler(el, binding, vnode) {
|
|
|
18357
18693
|
});
|
|
18358
18694
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=script&lang=js
|
|
18359
18695
|
/* harmony default export */ var SearchInput_SelectPluginByKeyvue_type_script_lang_js = (SelectPluginByKeyvue_type_script_lang_js);
|
|
18360
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=style&index=0&id=
|
|
18361
|
-
var
|
|
18696
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=style&index=0&id=574c5ff1&prod&scoped=true&lang=scss
|
|
18697
|
+
var SelectPluginByKeyvue_type_style_index_0_id_574c5ff1_prod_scoped_true_lang_scss = __webpack_require__("2b76");
|
|
18362
18698
|
|
|
18363
18699
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue
|
|
18364
18700
|
|
|
@@ -18371,11 +18707,11 @@ var SelectPluginByKeyvue_type_style_index_0_id_43afc106_prod_scoped_true_lang_sc
|
|
|
18371
18707
|
|
|
18372
18708
|
var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])(
|
|
18373
18709
|
SearchInput_SelectPluginByKeyvue_type_script_lang_js,
|
|
18374
|
-
|
|
18375
|
-
|
|
18710
|
+
SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_render,
|
|
18711
|
+
SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_staticRenderFns,
|
|
18376
18712
|
false,
|
|
18377
18713
|
null,
|
|
18378
|
-
"
|
|
18714
|
+
"574c5ff1",
|
|
18379
18715
|
null
|
|
18380
18716
|
|
|
18381
18717
|
)
|
|
@@ -18402,7 +18738,7 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18402
18738
|
isShowSelect: false,
|
|
18403
18739
|
cursorPos: 0,
|
|
18404
18740
|
cursorCurrentPos: 0,
|
|
18405
|
-
buttonText: '
|
|
18741
|
+
buttonText: '选择智能体',
|
|
18406
18742
|
isShowSelection: false,
|
|
18407
18743
|
outsideClose: false,
|
|
18408
18744
|
isComposing: false,
|
|
@@ -18458,7 +18794,7 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18458
18794
|
this.timerCursor = setTimeout(() => {
|
|
18459
18795
|
this.cursorCurrentPos = this.getCursorPosition();
|
|
18460
18796
|
this.searchPluText = e.target.innerText.substring(this.cursorPos + 1, this.cursorCurrentPos);
|
|
18461
|
-
//
|
|
18797
|
+
// 搜索智能体
|
|
18462
18798
|
this.searchPlugin(this.searchPluText);
|
|
18463
18799
|
}, 500);
|
|
18464
18800
|
}
|
|
@@ -18495,12 +18831,16 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18495
18831
|
case 'ArrowUp':
|
|
18496
18832
|
event.preventDefault();
|
|
18497
18833
|
if (this.isComposing) return;
|
|
18498
|
-
this.
|
|
18834
|
+
if (this.isShowSelect) {
|
|
18835
|
+
this.changePlugin('up');
|
|
18836
|
+
}
|
|
18499
18837
|
break;
|
|
18500
18838
|
case 'ArrowDown':
|
|
18501
18839
|
event.preventDefault();
|
|
18502
18840
|
if (this.isComposing) return;
|
|
18503
|
-
this.
|
|
18841
|
+
if (this.isShowSelect) {
|
|
18842
|
+
this.changePlugin('down');
|
|
18843
|
+
}
|
|
18504
18844
|
break;
|
|
18505
18845
|
case 'ArrowRight':
|
|
18506
18846
|
if (this.isShowSelect) {
|
|
@@ -18626,9 +18966,9 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18626
18966
|
checkedPluginByBtn: {
|
|
18627
18967
|
handler(val) {
|
|
18628
18968
|
if (Object.keys(val).length) {
|
|
18629
|
-
this.buttonText = '
|
|
18969
|
+
this.buttonText = '已选智能体';
|
|
18630
18970
|
} else {
|
|
18631
|
-
this.buttonText = '
|
|
18971
|
+
this.buttonText = '选择智能体';
|
|
18632
18972
|
}
|
|
18633
18973
|
},
|
|
18634
18974
|
immediate: true // 立即执行一次 handler
|
|
@@ -18665,8 +19005,8 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18665
19005
|
});
|
|
18666
19006
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=script&lang=js
|
|
18667
19007
|
/* harmony default export */ var CopiFooter_SearchInputvue_type_script_lang_js = (SearchInputvue_type_script_lang_js);
|
|
18668
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=
|
|
18669
|
-
var
|
|
19008
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=0d6f42aa&prod&lang=scss&scoped=true
|
|
19009
|
+
var SearchInputvue_type_style_index_0_id_0d6f42aa_prod_lang_scss_scoped_true = __webpack_require__("15ae");
|
|
18670
19010
|
|
|
18671
19011
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue
|
|
18672
19012
|
|
|
@@ -18679,11 +19019,11 @@ var SearchInputvue_type_style_index_0_id_295ca730_prod_lang_scss_scoped_true = _
|
|
|
18679
19019
|
|
|
18680
19020
|
var SearchInput_component = Object(componentNormalizer["a" /* default */])(
|
|
18681
19021
|
CopiFooter_SearchInputvue_type_script_lang_js,
|
|
18682
|
-
|
|
18683
|
-
|
|
19022
|
+
SearchInputvue_type_template_id_0d6f42aa_scoped_true_render,
|
|
19023
|
+
SearchInputvue_type_template_id_0d6f42aa_scoped_true_staticRenderFns,
|
|
18684
19024
|
false,
|
|
18685
19025
|
null,
|
|
18686
|
-
"
|
|
19026
|
+
"0d6f42aa",
|
|
18687
19027
|
null
|
|
18688
19028
|
|
|
18689
19029
|
)
|
|
@@ -18760,7 +19100,17 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18760
19100
|
},
|
|
18761
19101
|
placeholder: {
|
|
18762
19102
|
type: String,
|
|
18763
|
-
default: '
|
|
19103
|
+
default: '输入“@”选择智能体,可通过上下键切换智能体选项,回车选中。'
|
|
19104
|
+
},
|
|
19105
|
+
intelligentAnalysisConfig: {
|
|
19106
|
+
type: Object,
|
|
19107
|
+
default: () => ({}),
|
|
19108
|
+
required: true
|
|
19109
|
+
},
|
|
19110
|
+
defaultDeal: {
|
|
19111
|
+
type: Object,
|
|
19112
|
+
default: () => ({}),
|
|
19113
|
+
required: true
|
|
18764
19114
|
}
|
|
18765
19115
|
},
|
|
18766
19116
|
mounted() {
|
|
@@ -18773,7 +19123,9 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18773
19123
|
aiName: this.aiName,
|
|
18774
19124
|
maxSendNum: this.maxSendNum,
|
|
18775
19125
|
getkitsUrl: this.getkitsUrl,
|
|
18776
|
-
placeholder: this.placeholder
|
|
19126
|
+
placeholder: this.placeholder,
|
|
19127
|
+
intelligentAnalysisConfig: this.intelligentAnalysisConfig,
|
|
19128
|
+
defaultDeal: this.defaultDeal
|
|
18777
19129
|
});
|
|
18778
19130
|
},
|
|
18779
19131
|
methods: {
|
|
@@ -18796,8 +19148,8 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18796
19148
|
});
|
|
18797
19149
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=script&lang=js
|
|
18798
19150
|
/* harmony default export */ var KgCopilot_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
18799
|
-
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=
|
|
18800
|
-
var
|
|
19151
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=22b4bd89&prod&scoped=true&lang=scss
|
|
19152
|
+
var mainvue_type_style_index_0_id_22b4bd89_prod_scoped_true_lang_scss = __webpack_require__("802d");
|
|
18801
19153
|
|
|
18802
19154
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue
|
|
18803
19155
|
|
|
@@ -18814,7 +19166,7 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18814
19166
|
staticRenderFns,
|
|
18815
19167
|
false,
|
|
18816
19168
|
null,
|
|
18817
|
-
"
|
|
19169
|
+
"22b4bd89",
|
|
18818
19170
|
null
|
|
18819
19171
|
|
|
18820
19172
|
)
|
|
@@ -18832,13 +19184,6 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18832
19184
|
/* unused harmony reexport * */
|
|
18833
19185
|
|
|
18834
19186
|
|
|
18835
|
-
/***/ }),
|
|
18836
|
-
|
|
18837
|
-
/***/ "9f4b":
|
|
18838
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
18839
|
-
|
|
18840
|
-
// extracted by mini-css-extract-plugin
|
|
18841
|
-
|
|
18842
19187
|
/***/ }),
|
|
18843
19188
|
|
|
18844
19189
|
/***/ "a04b":
|
|
@@ -19093,6 +19438,13 @@ function basic(hljs) {
|
|
|
19093
19438
|
module.exports = basic;
|
|
19094
19439
|
|
|
19095
19440
|
|
|
19441
|
+
/***/ }),
|
|
19442
|
+
|
|
19443
|
+
/***/ "a23d":
|
|
19444
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
19445
|
+
|
|
19446
|
+
// extracted by mini-css-extract-plugin
|
|
19447
|
+
|
|
19096
19448
|
/***/ }),
|
|
19097
19449
|
|
|
19098
19450
|
/***/ "a5f0":
|
|
@@ -19267,7 +19619,7 @@ const getters = {
|
|
|
19267
19619
|
let mappingData = []; // 取交集
|
|
19268
19620
|
if (getters.selFilter_xinyuan.length !== 0) {
|
|
19269
19621
|
getters.selFilter_xinyuan.forEach(selF => {
|
|
19270
|
-
const temp = selF.dependencyList;
|
|
19622
|
+
const temp = selF.dependencyList || [];
|
|
19271
19623
|
if (mappingData.length === 0) {
|
|
19272
19624
|
mappingData = temp;
|
|
19273
19625
|
} else {
|
|
@@ -19293,7 +19645,7 @@ const getters = {
|
|
|
19293
19645
|
let mappingData = []; // 取交集
|
|
19294
19646
|
if (getters.selFilter_zhutiAndShuxing.length !== 0) {
|
|
19295
19647
|
getters.selFilter_zhutiAndShuxing.forEach(selF => {
|
|
19296
|
-
const temp = selF.dependencyList;
|
|
19648
|
+
const temp = selF.dependencyList || [];
|
|
19297
19649
|
if (mappingData.length === 0) {
|
|
19298
19650
|
mappingData = temp;
|
|
19299
19651
|
} else {
|
|
@@ -19318,7 +19670,7 @@ const getters = {
|
|
|
19318
19670
|
let mappingData = []; // 取交集
|
|
19319
19671
|
if (getters.selFilter_query.length !== 0) {
|
|
19320
19672
|
getters.selFilter_query.forEach(selF => {
|
|
19321
|
-
const temp = selF.dependencyList;
|
|
19673
|
+
const temp = selF.dependencyList || [];
|
|
19322
19674
|
if (mappingData.length === 0) {
|
|
19323
19675
|
mappingData = temp;
|
|
19324
19676
|
} else {
|
|
@@ -20481,6 +20833,17 @@ function typescript(hljs) {
|
|
|
20481
20833
|
module.exports = typescript;
|
|
20482
20834
|
|
|
20483
20835
|
|
|
20836
|
+
/***/ }),
|
|
20837
|
+
|
|
20838
|
+
/***/ "b315":
|
|
20839
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
20840
|
+
|
|
20841
|
+
"use strict";
|
|
20842
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_11be81bb_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3486");
|
|
20843
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_11be81bb_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_11be81bb_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
20844
|
+
/* unused harmony reexport * */
|
|
20845
|
+
|
|
20846
|
+
|
|
20484
20847
|
/***/ }),
|
|
20485
20848
|
|
|
20486
20849
|
/***/ "b3c5":
|
|
@@ -20964,6 +21327,13 @@ module.exports = !fails(function () {
|
|
|
20964
21327
|
});
|
|
20965
21328
|
|
|
20966
21329
|
|
|
21330
|
+
/***/ }),
|
|
21331
|
+
|
|
21332
|
+
/***/ "bbe0":
|
|
21333
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
21334
|
+
|
|
21335
|
+
// extracted by mini-css-extract-plugin
|
|
21336
|
+
|
|
20967
21337
|
/***/ }),
|
|
20968
21338
|
|
|
20969
21339
|
/***/ "bc3a":
|
|
@@ -23442,17 +23812,6 @@ module.exports = function (input, pref) {
|
|
|
23442
23812
|
//# sourceMappingURL=purify.js.map
|
|
23443
23813
|
|
|
23444
23814
|
|
|
23445
|
-
/***/ }),
|
|
23446
|
-
|
|
23447
|
-
/***/ "c20f":
|
|
23448
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23449
|
-
|
|
23450
|
-
"use strict";
|
|
23451
|
-
/* 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_63f8ab82_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6604");
|
|
23452
|
-
/* 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_63f8ab82_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_63f8ab82_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
23453
|
-
/* unused harmony reexport * */
|
|
23454
|
-
|
|
23455
|
-
|
|
23456
23815
|
/***/ }),
|
|
23457
23816
|
|
|
23458
23817
|
/***/ "c345":
|
|
@@ -23554,17 +23913,6 @@ module.exports = function transformData(data, headers, fns) {
|
|
|
23554
23913
|
module.exports = false;
|
|
23555
23914
|
|
|
23556
23915
|
|
|
23557
|
-
/***/ }),
|
|
23558
|
-
|
|
23559
|
-
/***/ "c500":
|
|
23560
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23561
|
-
|
|
23562
|
-
"use strict";
|
|
23563
|
-
/* 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_29b7bb01_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8d42");
|
|
23564
|
-
/* 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_29b7bb01_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_29b7bb01_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
23565
|
-
/* unused harmony reexport * */
|
|
23566
|
-
|
|
23567
|
-
|
|
23568
23916
|
/***/ }),
|
|
23569
23917
|
|
|
23570
23918
|
/***/ "c532":
|
|
@@ -24936,6 +25284,13 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
24936
25284
|
|
|
24937
25285
|
/***/ }),
|
|
24938
25286
|
|
|
25287
|
+
/***/ "e098":
|
|
25288
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25289
|
+
|
|
25290
|
+
// extracted by mini-css-extract-plugin
|
|
25291
|
+
|
|
25292
|
+
/***/ }),
|
|
25293
|
+
|
|
24939
25294
|
/***/ "e330":
|
|
24940
25295
|
/***/ (function(module, exports, __webpack_require__) {
|
|
24941
25296
|
|
|
@@ -24979,6 +25334,13 @@ module.exports = function (argument, $default) {
|
|
|
24979
25334
|
/* unused harmony reexport * */
|
|
24980
25335
|
|
|
24981
25336
|
|
|
25337
|
+
/***/ }),
|
|
25338
|
+
|
|
25339
|
+
/***/ "e597":
|
|
25340
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25341
|
+
|
|
25342
|
+
// extracted by mini-css-extract-plugin
|
|
25343
|
+
|
|
24982
25344
|
/***/ }),
|
|
24983
25345
|
|
|
24984
25346
|
/***/ "e5cb":
|
|
@@ -25125,13 +25487,6 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
25125
25487
|
|
|
25126
25488
|
/***/ }),
|
|
25127
25489
|
|
|
25128
|
-
/***/ "ec2b":
|
|
25129
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
25130
|
-
|
|
25131
|
-
// extracted by mini-css-extract-plugin
|
|
25132
|
-
|
|
25133
|
-
/***/ }),
|
|
25134
|
-
|
|
25135
25490
|
/***/ "ee8c":
|
|
25136
25491
|
/***/ (function(module, exports) {
|
|
25137
25492
|
|
|
@@ -26651,6 +27006,13 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
26651
27006
|
};
|
|
26652
27007
|
|
|
26653
27008
|
|
|
27009
|
+
/***/ }),
|
|
27010
|
+
|
|
27011
|
+
/***/ "f607":
|
|
27012
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
27013
|
+
|
|
27014
|
+
// extracted by mini-css-extract-plugin
|
|
27015
|
+
|
|
26654
27016
|
/***/ }),
|
|
26655
27017
|
|
|
26656
27018
|
/***/ "f6b4":
|
|
@@ -26750,12 +27112,12 @@ module.exports = function (key) {
|
|
|
26750
27112
|
|
|
26751
27113
|
/***/ }),
|
|
26752
27114
|
|
|
26753
|
-
/***/ "
|
|
27115
|
+
/***/ "f83b":
|
|
26754
27116
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26755
27117
|
|
|
26756
27118
|
"use strict";
|
|
26757
|
-
/* harmony import */ var
|
|
26758
|
-
/* harmony import */ var
|
|
27119
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_id_c0709918_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bbe0");
|
|
27120
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_id_c0709918_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_id_c0709918_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
26759
27121
|
/* unused harmony reexport * */
|
|
26760
27122
|
|
|
26761
27123
|
|