@kg-ui/kg-ui 0.0.16 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -54
- package/lib/main.common.js +790 -374
- package/lib/main.css +2 -2
- package/lib/main.umd.js +790 -374
- package/lib/main.umd.min.js +3 -3
- package/package.json +83 -83
package/lib/main.umd.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 {
|
|
@@ -4046,7 +3893,7 @@ const getReport = param => {
|
|
|
4046
3893
|
method = 'POST'
|
|
4047
3894
|
} = param;
|
|
4048
3895
|
const headers = Object.assign({
|
|
4049
|
-
|
|
3896
|
+
"Content-Type": "application/json"
|
|
4050
3897
|
}, param.headers || {});
|
|
4051
3898
|
fetchEventSource(param.sendUrl, {
|
|
4052
3899
|
method,
|
|
@@ -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,59 +4216,189 @@ 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
|
+
});
|
|
4256
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;
|
|
4297
|
+
}
|
|
4298
|
+
if ('err' in chatgptAnalysisResult.data) {
|
|
4299
|
+
dispatch('sendChatgptMsg', willSendMsg);
|
|
4300
|
+
state.currentPluginParams = {};
|
|
4301
|
+
state.currentUsePlugin = {};
|
|
4302
|
+
return;
|
|
4303
|
+
}
|
|
4304
|
+
state.currentPluginParams = chatgptAnalysisResult.data.param;
|
|
4305
|
+
state.currentUsePlugin = state.plugins.find(item => item.name === chatgptAnalysisResult.data.name) || {};
|
|
4306
|
+
dispatch('sendPluginMsg');
|
|
4307
|
+
},
|
|
4308
|
+
sendChatgptMsg({
|
|
4309
|
+
state,
|
|
4310
|
+
dispatch
|
|
4311
|
+
}, willSendMsg) {
|
|
4312
|
+
state.defaultDeal.requestParameFn = state.defaultDeal.requestParameFn ? state.defaultDeal.requestParameFn : config => config;
|
|
4257
4313
|
const {
|
|
4258
4314
|
data,
|
|
4259
4315
|
headers
|
|
4260
|
-
} =
|
|
4316
|
+
} = state.defaultDeal.requestParameFn({
|
|
4317
|
+
lastMsgs: willSendMsg,
|
|
4318
|
+
data: {},
|
|
4319
|
+
headers: {}
|
|
4320
|
+
});
|
|
4321
|
+
if (state.defaultDeal.isSse === undefined) {
|
|
4322
|
+
state.defaultDeal.isSse = true;
|
|
4323
|
+
}
|
|
4324
|
+
if (state.defaultDeal.isSse) {
|
|
4325
|
+
dispatch('defaultSseDeal', {
|
|
4326
|
+
data,
|
|
4327
|
+
headers
|
|
4328
|
+
});
|
|
4329
|
+
return;
|
|
4330
|
+
}
|
|
4331
|
+
dispatch('defaultXhrDeal', {
|
|
4332
|
+
data,
|
|
4333
|
+
headers
|
|
4334
|
+
});
|
|
4335
|
+
},
|
|
4336
|
+
sendPluginMsg({
|
|
4337
|
+
state,
|
|
4338
|
+
commit,
|
|
4339
|
+
dispatch
|
|
4340
|
+
}) {
|
|
4341
|
+
state.currentUsePlugin.requestParameFn = state.currentUsePlugin.requestParameFn ? state.currentUsePlugin.requestParameFn : config => config;
|
|
4342
|
+
const {
|
|
4343
|
+
data,
|
|
4344
|
+
headers
|
|
4345
|
+
} = state.currentUsePlugin.requestParameFn({
|
|
4346
|
+
data: state.currentPluginParams,
|
|
4347
|
+
headers: {}
|
|
4348
|
+
});
|
|
4261
4349
|
commit('setRequestSseing', true);
|
|
4262
4350
|
commit('setCancelsse', getReport({
|
|
4263
|
-
sendUrl:
|
|
4264
|
-
method:
|
|
4351
|
+
sendUrl: state.currentUsePlugin.url,
|
|
4352
|
+
method: state.currentUsePlugin.method,
|
|
4265
4353
|
data,
|
|
4266
4354
|
headers,
|
|
4267
4355
|
onerror: () => {
|
|
4268
4356
|
commit('responseMsg', {
|
|
4269
|
-
type:
|
|
4357
|
+
type: DataType.text,
|
|
4358
|
+
content: '联网异常'
|
|
4359
|
+
});
|
|
4360
|
+
dispatch('sseRequestOver');
|
|
4361
|
+
},
|
|
4362
|
+
onmessage: msg => {
|
|
4363
|
+
const {
|
|
4364
|
+
type,
|
|
4365
|
+
content,
|
|
4366
|
+
isOver
|
|
4367
|
+
} = state.currentUsePlugin.responseParameFn(msg);
|
|
4368
|
+
commit('responseMsg', {
|
|
4369
|
+
type,
|
|
4370
|
+
content
|
|
4371
|
+
});
|
|
4372
|
+
if (isOver) {
|
|
4373
|
+
dispatch('sseRequestOver');
|
|
4374
|
+
return;
|
|
4375
|
+
}
|
|
4376
|
+
},
|
|
4377
|
+
onclose: () => {
|
|
4378
|
+
dispatch('sseRequestOver');
|
|
4379
|
+
state.currentUsePlugin.onclose && state.currentUsePlugin.onclose();
|
|
4380
|
+
}
|
|
4381
|
+
}));
|
|
4382
|
+
},
|
|
4383
|
+
defaultSseDeal({
|
|
4384
|
+
state,
|
|
4385
|
+
commit
|
|
4386
|
+
}, {
|
|
4387
|
+
data,
|
|
4388
|
+
headers
|
|
4389
|
+
}) {
|
|
4390
|
+
commit('setRequestSseing', true);
|
|
4391
|
+
state.cancelsse = getReport({
|
|
4392
|
+
sendUrl: state.defaultDeal.url,
|
|
4393
|
+
method: state.defaultDeal.method,
|
|
4394
|
+
headers,
|
|
4395
|
+
data,
|
|
4396
|
+
onerror: () => {
|
|
4397
|
+
commit('responseMsg', {
|
|
4398
|
+
type: DataType.text,
|
|
4270
4399
|
content: '联网异常'
|
|
4271
4400
|
});
|
|
4272
4401
|
commit('setRequestSseing', false);
|
|
4273
|
-
commit('setShowNewTheme', false);
|
|
4274
4402
|
state.cancelsse();
|
|
4275
4403
|
},
|
|
4276
4404
|
onmessage: msg => {
|
|
@@ -4278,25 +4406,64 @@ const actions = {
|
|
|
4278
4406
|
type,
|
|
4279
4407
|
content,
|
|
4280
4408
|
isOver
|
|
4281
|
-
} =
|
|
4409
|
+
} = state.defaultDeal.responseParameFn(msg);
|
|
4282
4410
|
commit('responseMsg', {
|
|
4283
4411
|
type,
|
|
4284
4412
|
content
|
|
4285
4413
|
});
|
|
4286
4414
|
if (isOver) {
|
|
4287
4415
|
commit('setRequestSseing', false);
|
|
4288
|
-
commit('setShowNewTheme', false);
|
|
4289
4416
|
state.cancelsse();
|
|
4290
4417
|
return;
|
|
4291
4418
|
}
|
|
4292
4419
|
},
|
|
4293
4420
|
onclose: () => {
|
|
4294
4421
|
commit('setRequestSseing', false);
|
|
4295
|
-
commit('setShowNewTheme', false);
|
|
4296
4422
|
state.cancelsse();
|
|
4297
|
-
|
|
4423
|
+
state.defaultDeal.onclose && state.defaultDeal.onclose();
|
|
4298
4424
|
}
|
|
4299
|
-
})
|
|
4425
|
+
});
|
|
4426
|
+
},
|
|
4427
|
+
defaultXhrDeal({
|
|
4428
|
+
commit,
|
|
4429
|
+
state
|
|
4430
|
+
}, {
|
|
4431
|
+
data,
|
|
4432
|
+
headers
|
|
4433
|
+
}) {
|
|
4434
|
+
state.cancleUrl = state.defaultDeal.url;
|
|
4435
|
+
const {
|
|
4436
|
+
method = 'post'
|
|
4437
|
+
} = state.defaultDeal;
|
|
4438
|
+
http.request('post', state.defaultDeal.url, {
|
|
4439
|
+
data,
|
|
4440
|
+
headers,
|
|
4441
|
+
method
|
|
4442
|
+
}).then(res => {
|
|
4443
|
+
const {
|
|
4444
|
+
type,
|
|
4445
|
+
content,
|
|
4446
|
+
isOver
|
|
4447
|
+
} = state.defaultDeal.responseParameFn(res);
|
|
4448
|
+
commit('responseMsg', {
|
|
4449
|
+
type,
|
|
4450
|
+
content
|
|
4451
|
+
});
|
|
4452
|
+
if (isOver) {
|
|
4453
|
+
http.cancelByUrl(state.cancleUrl);
|
|
4454
|
+
return;
|
|
4455
|
+
}
|
|
4456
|
+
}).catch(() => {
|
|
4457
|
+
commit('setSendLonding', false);
|
|
4458
|
+
});
|
|
4459
|
+
},
|
|
4460
|
+
sseRequestOver({
|
|
4461
|
+
commit,
|
|
4462
|
+
state
|
|
4463
|
+
}) {
|
|
4464
|
+
commit('setRequestSseing', false);
|
|
4465
|
+
commit('setShowNewTheme', false);
|
|
4466
|
+
state.cancelsse();
|
|
4300
4467
|
},
|
|
4301
4468
|
cancelRequest({
|
|
4302
4469
|
state,
|
|
@@ -4304,7 +4471,7 @@ const actions = {
|
|
|
4304
4471
|
}) {
|
|
4305
4472
|
state.cancelsse && state.cancelsse(); //取消sse接收
|
|
4306
4473
|
commit('setRequestSseing', false);
|
|
4307
|
-
http.cancelByUrl(
|
|
4474
|
+
http.cancelByUrl(state.cancleUrl);
|
|
4308
4475
|
commit('setSendLonding', false);
|
|
4309
4476
|
}
|
|
4310
4477
|
};
|
|
@@ -4345,7 +4512,7 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
|
4345
4512
|
// ESM COMPAT FLAG
|
|
4346
4513
|
__webpack_require__.r(__webpack_exports__);
|
|
4347
4514
|
|
|
4348
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4515
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgTimePicker/main.vue?vue&type=template&id=f6fcc5da&scoped=true
|
|
4349
4516
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"k-time-picker"},[_c('el-dropdown',{attrs:{"trigger":"click","hide-on-click":false},on:{"command":_vm.command,"visible-change":_vm.visibleChange}},[_c('span',{attrs:{"title":_vm.languages['releaseTime'] + ':' + _vm.timeTitleResult}},[_c('span',[_vm._v(_vm._s(_vm.timeTitleResult))]),_c('i',{directives:[{name:"show",rawName:"v-show",value:(!_vm.dropDownVisible),expression:"!dropDownVisible"}],staticClass:"el-icon-arrow-down el-icon--right"}),_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.dropDownVisible),expression:"dropDownVisible"}],staticClass:"el-icon-arrow-up el-icon--right"})]),_c('el-dropdown-menu',{staticClass:"dedup-dropdown",attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.pureTimeTypeList),function(item){return _c('el-dropdown-item',{key:item,attrs:{"command":item}},[_c('el-radio',{attrs:{"label":item},model:{value:(_vm.currentTimeType),callback:function ($$v) {_vm.currentTimeType=$$v},expression:"currentTimeType"}},[_vm._v(" "+_vm._s(_vm.languages[item])+" ")])],1)}),_c('div',{staticClass:"custom_redio"},[_c('el-radio',{attrs:{"label":_vm.customType},model:{value:(_vm.currentTimeType),callback:function ($$v) {_vm.currentTimeType=$$v},expression:"currentTimeType"}},[_vm._v(" "+_vm._s(_vm.languages['custom'])+" ")])],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.currentTimeType === _vm.customType),expression:"currentTimeType === customType"}],staticClass:"datepicker_area"},[_c('div',{staticClass:"back_now"},[_c('span',{on:{"click":_vm.datepickerBackNow}},[_c('i',{staticClass:"el-icon-refresh-right"}),_vm._v(" "+_vm._s(_vm.languages['backNow'])+" ")])]),_c('vue-datepicker-local',{attrs:{"clearable":false,"range-separator":"至","format":"YYYY-MM-DD HH:mm:ss"},on:{"confirm":_vm.getCustomerTime,"input":_vm.getCustomerTime},model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:"range"}})],1)],2)],1)],1)
|
|
4350
4517
|
}
|
|
4351
4518
|
var staticRenderFns = []
|
|
@@ -4356,7 +4523,7 @@ var staticRenderFns = []
|
|
|
4356
4523
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
4357
4524
|
var es_error_cause = __webpack_require__("d9e2");
|
|
4358
4525
|
|
|
4359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4526
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4360
4527
|
var VueDatepickerLocalvue_type_template_id_48749f78_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"datepicker",class:{'datepicker-range':_vm.range,'datepicker__clearable':_vm.clearable&&_vm.text&&!_vm.disabled}},[(_vm.type!=='inline')?_c('input',{class:[_vm.show ? 'focus' : '', _vm.inputClass],attrs:{"readonly":"","disabled":_vm.disabled,"placeholder":_vm.placeholder,"name":_vm.name},domProps:{"value":_vm.text}}):_vm._e(),_c('a',{staticClass:"datepicker-close",on:{"click":function($event){$event.stopPropagation();return _vm.cls.apply(null, arguments)}}}),_c('transition',{attrs:{"name":"datepicker-anim"}},[(_vm.show||_vm.type==='inline')?_c('div',{staticClass:"datepicker-popup",class:[_vm.popupClass,{'datepicker-inline':_vm.type==='inline'}],attrs:{"tabindex":"-1"}},[(_vm.range)?[_c('vue-datepicker-local-calendar',{attrs:{"left":true},model:{value:(_vm.dates[0]),callback:function ($$v) {_vm.$set(_vm.dates, 0, $$v)},expression:"dates[0]"}}),_c('vue-datepicker-local-calendar',{attrs:{"right":true},model:{value:(_vm.dates[1]),callback:function ($$v) {_vm.$set(_vm.dates, 1, $$v)},expression:"dates[1]"}})]:[_c('vue-datepicker-local-calendar',{model:{value:(_vm.dates[0]),callback:function ($$v) {_vm.$set(_vm.dates, 0, $$v)},expression:"dates[0]"}})],(_vm.showButtons)?_c('div',{staticClass:"datepicker__buttons"},[_c('button',{staticClass:"datepicker__button-cancel",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_vm._v(_vm._s(this.local.cancelTip))]),_c('button',{staticClass:"datepicker__button-select",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.submit.apply(null, arguments)}}},[_vm._v(_vm._s(this.local.submitTip))])]):_vm._e()],2):_vm._e()])],1)
|
|
4361
4528
|
}
|
|
4362
4529
|
var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
@@ -4364,7 +4531,7 @@ var VueDatepickerLocalvue_type_template_id_48749f78_staticRenderFns = []
|
|
|
4364
4531
|
|
|
4365
4532
|
// CONCATENATED MODULE: ./node_modules/vue-datepicker-local/src/VueDatepickerLocal.vue?vue&type=template&id=48749f78
|
|
4366
4533
|
|
|
4367
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4534
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue-datepicker-local/src/VueDatepickerLocalCalendar.vue?vue&type=template&id=29da1c58
|
|
4368
4535
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:`${_vm.pre}`},[_c('div',{class:`${_vm.pre}-head`},[_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-prev-decade-btn`,on:{"click":function($event){_vm.year-=10}}},[_vm._v("«")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-prev-year-btn`,on:{"click":function($event){_vm.year--}}},[_vm._v("«")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-prev-month-btn`,on:{"click":_vm.pm}},[_vm._v("‹")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-year-select`},[_vm._v(_vm._s(_vm.ys+'-'+_vm.ye))]),(_vm.local.yearSuffix)?[_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-year-select`,on:{"click":function($event){_vm.showYears=!_vm.showYears}}},[_vm._v(_vm._s(_vm.year)+_vm._s(_vm.local.yearSuffix))]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-month-select`,on:{"click":function($event){_vm.showMonths=!_vm.showMonths}}},[_vm._v(_vm._s(_vm.local.monthsHead[_vm.month]))])]:[_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-month-select`,on:{"click":function($event){_vm.showMonths=!_vm.showMonths}}},[_vm._v(_vm._s(_vm.local.monthsHead[_vm.month]))]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-year-select`,on:{"click":function($event){_vm.showYears=!_vm.showYears}}},[_vm._v(_vm._s(_vm.year))])],_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears&&!_vm.showMonths),expression:"!showYears&&!showMonths"}],class:`${_vm.pre}-next-month-btn`,on:{"click":_vm.nm}},[_vm._v("›")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showYears),expression:"!showYears"}],class:`${_vm.pre}-next-year-btn`,on:{"click":function($event){_vm.year++}}},[_vm._v("»")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-next-decade-btn`,on:{"click":function($event){_vm.year+=10}}},[_vm._v("»")])],2),_c('div',{class:`${_vm.pre}-body`},[_c('div',{class:`${_vm.pre}-days`},[_vm._l((_vm.local.weeks),function(i){return _c('a',{key:i,class:`${_vm.pre}-week`},[_vm._v(_vm._s(i))])}),_vm._l((_vm.days),function(j,i){return _c('a',{key:i,class:[(j.p||j.n)?`${_vm.pre}-date-out`:'',_vm.status(j.y,j.m,j.i,_vm.hour,_vm.minute,_vm.second,'YYYYMMDD')],on:{"click":function($event){_vm.is($event)&&(_vm.day=j.i,_vm.ok(j))}}},[_vm._v(_vm._s(j.i))])})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showMonths),expression:"showMonths"}],class:`${_vm.pre}-months`},_vm._l((_vm.local.months),function(i,j){return _c('a',{key:j,class:[_vm.status(_vm.year,j,_vm.day,_vm.hour,_vm.minute,_vm.second,'YYYYMM')],on:{"click":function($event){_vm.is($event)&&(_vm.showMonths=(_vm.m==='M'),_vm.month=j,(_vm.m==='M'&&_vm.ok('m')))}}},[_vm._v(_vm._s(i))])}),0),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showYears),expression:"showYears"}],class:`${_vm.pre}-years`},_vm._l((_vm.years),function(i,j){return _c('a',{key:j,class:[(j===0||j===11)?`${_vm.pre}-date-out`:'',_vm.status(i,_vm.month,_vm.day,_vm.hour,_vm.minute,_vm.second,'YYYY')],on:{"click":function($event){_vm.is($event)&&(_vm.showYears=(_vm.m==='Y'),_vm.year=i,(_vm.m==='Y'&&_vm.ok('y')))}}},[_vm._v(_vm._s(i))])}),0),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showHours),expression:"showHours"}],class:`${_vm.pre}-hours`},[_c('div',{class:`${_vm.pre}-title`},[_vm._v(_vm._s(_vm.local.hourTip))]),_vm._l((24),function(j,i){return _c('a',{key:i,class:[_vm.status(_vm.year,_vm.month,_vm.day,i,_vm.minute,_vm.second,'YYYYMMDDHH')],on:{"click":function($event){_vm.is($event)&&(_vm.showHours=false,_vm.hour=i,_vm.ok('h'))}}},[_vm._v(_vm._s(i))])})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showMinutes),expression:"showMinutes"}],class:`${_vm.pre}-minutes`},[_c('div',{class:`${_vm.pre}-title`},[_vm._v(_vm._s(_vm.local.minuteTip))]),_vm._l((60),function(j,i){return _c('a',{key:i,class:[_vm.status(_vm.year,_vm.month,_vm.day,_vm.hour,i,_vm.second,'YYYYMMDDHHmm')],on:{"click":function($event){_vm.is($event)&&(_vm.showMinutes=false,_vm.minute=i,_vm.ok('h'))}}},[_vm._v(_vm._s(i))])})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSeconds),expression:"showSeconds"}],class:`${_vm.pre}-seconds`},[_c('div',{class:`${_vm.pre}-title`},[_vm._v(_vm._s(_vm.local.secondTip))]),_vm._l((60),function(j,i){return _c('a',{key:i,class:[_vm.status(_vm.year,_vm.month,_vm.day,_vm.hour,_vm.minute,i,'YYYYMMDDHHmmss')],on:{"click":function($event){_vm.is($event)&&(_vm.showSeconds=false,_vm.second=i,_vm.ok('h'))}}},[_vm._v(_vm._s(i))])})],2)]),(_vm.m==='H')?_c('div',{class:`${_vm.pre}-foot`},[_c('div',{class:`${_vm.pre}-hour`},[_c('a',{class:{on:_vm.showHours},attrs:{"title":_vm.local.hourTip},on:{"click":function($event){_vm.showHours=!_vm.showHours,_vm.showMinutes=_vm.showSeconds=false}}},[_vm._v(_vm._s(_vm._f("dd")(_vm.hour)))]),_c('span',[_vm._v(":")]),_c('a',{class:{on:_vm.showMinutes},attrs:{"title":_vm.local.minuteTip},on:{"click":function($event){_vm.showMinutes=!_vm.showMinutes,_vm.showHours=_vm.showSeconds=false}}},[_vm._v(_vm._s(_vm._f("dd")(_vm.minute)))]),_c('span',[_vm._v(":")]),_c('a',{class:{on:_vm.showSeconds},attrs:{"title":_vm.local.secondTip},on:{"click":function($event){_vm.showSeconds=!_vm.showSeconds,_vm.showHours=_vm.showMinutes=false}}},[_vm._v(_vm._s(_vm._f("dd")(_vm.second)))])])]):_vm._e()])
|
|
4369
4536
|
}
|
|
4370
4537
|
var VueDatepickerLocalCalendarvue_type_template_id_29da1c58_staticRenderFns = []
|
|
@@ -5118,6 +5285,13 @@ module.exports = function (it) {
|
|
|
5118
5285
|
};
|
|
5119
5286
|
|
|
5120
5287
|
|
|
5288
|
+
/***/ }),
|
|
5289
|
+
|
|
5290
|
+
/***/ "1f2c":
|
|
5291
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5292
|
+
|
|
5293
|
+
// extracted by mini-css-extract-plugin
|
|
5294
|
+
|
|
5121
5295
|
/***/ }),
|
|
5122
5296
|
|
|
5123
5297
|
/***/ "1fe5":
|
|
@@ -5547,6 +5721,17 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
5547
5721
|
};
|
|
5548
5722
|
|
|
5549
5723
|
|
|
5724
|
+
/***/ }),
|
|
5725
|
+
|
|
5726
|
+
/***/ "26cc":
|
|
5727
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5728
|
+
|
|
5729
|
+
"use strict";
|
|
5730
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_id_ecb8431a_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1f2c");
|
|
5731
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_id_ecb8431a_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_id_ecb8431a_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
5732
|
+
/* unused harmony reexport * */
|
|
5733
|
+
|
|
5734
|
+
|
|
5550
5735
|
/***/ }),
|
|
5551
5736
|
|
|
5552
5737
|
/***/ "27d5":
|
|
@@ -7260,6 +7445,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7260
7445
|
test: '测试中文'
|
|
7261
7446
|
});
|
|
7262
7447
|
|
|
7448
|
+
/***/ }),
|
|
7449
|
+
|
|
7450
|
+
/***/ "2b76":
|
|
7451
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7452
|
+
|
|
7453
|
+
"use strict";
|
|
7454
|
+
/* 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");
|
|
7455
|
+
/* 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__);
|
|
7456
|
+
/* unused harmony reexport * */
|
|
7457
|
+
|
|
7458
|
+
|
|
7263
7459
|
/***/ }),
|
|
7264
7460
|
|
|
7265
7461
|
/***/ "2ba4":
|
|
@@ -7279,6 +7475,17 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
7279
7475
|
});
|
|
7280
7476
|
|
|
7281
7477
|
|
|
7478
|
+
/***/ }),
|
|
7479
|
+
|
|
7480
|
+
/***/ "2ba9":
|
|
7481
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7482
|
+
|
|
7483
|
+
"use strict";
|
|
7484
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_566d1286_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c7f7");
|
|
7485
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_566d1286_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_id_566d1286_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
7486
|
+
/* unused harmony reexport * */
|
|
7487
|
+
|
|
7488
|
+
|
|
7282
7489
|
/***/ }),
|
|
7283
7490
|
|
|
7284
7491
|
/***/ "2d00":
|
|
@@ -9181,6 +9388,17 @@ exports.uvCounters = function() {};
|
|
|
9181
9388
|
exports.features = {};
|
|
9182
9389
|
|
|
9183
9390
|
|
|
9391
|
+
/***/ }),
|
|
9392
|
+
|
|
9393
|
+
/***/ "4494":
|
|
9394
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9395
|
+
|
|
9396
|
+
"use strict";
|
|
9397
|
+
/* 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");
|
|
9398
|
+
/* 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__);
|
|
9399
|
+
/* unused harmony reexport * */
|
|
9400
|
+
|
|
9401
|
+
|
|
9184
9402
|
/***/ }),
|
|
9185
9403
|
|
|
9186
9404
|
/***/ "44ad":
|
|
@@ -9411,14 +9629,14 @@ function n(n,a,i){return(a=function(n){var a=function(n,a){if("object"!=typeof n
|
|
|
9411
9629
|
|
|
9412
9630
|
|
|
9413
9631
|
|
|
9414
|
-
/**
|
|
9415
|
-
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9416
|
-
* curF:当前分类
|
|
9417
|
-
* selIds:当前选中的分类id集合
|
|
9418
|
-
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9419
|
-
* selsMappingData: 选中的关联关系集合
|
|
9420
|
-
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9421
|
-
* return boolean 当前分类是否显示
|
|
9632
|
+
/**
|
|
9633
|
+
* 类别筛选-基于选中的分类判断当前分类是否显示 (通用)
|
|
9634
|
+
* curF:当前分类
|
|
9635
|
+
* selIds:当前选中的分类id集合
|
|
9636
|
+
* selFilter_rootIdArr: 当前选中的分类 ,行id集合
|
|
9637
|
+
* selsMappingData: 选中的关联关系集合
|
|
9638
|
+
* 例如:{ 31913: ["东南亚"], 31915: ["越南"], 31918: ["越南语"] }
|
|
9639
|
+
* return boolean 当前分类是否显示
|
|
9422
9640
|
* */
|
|
9423
9641
|
|
|
9424
9642
|
const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingData) => {
|
|
@@ -9436,8 +9654,8 @@ const checkFilterShow_new = (curF, selFilters, selFilter_rootIdArr, selsMappingD
|
|
|
9436
9654
|
return names.includes(curF.label_name);
|
|
9437
9655
|
};
|
|
9438
9656
|
|
|
9439
|
-
/**
|
|
9440
|
-
* 类别筛选-字母快捷筛选
|
|
9657
|
+
/**
|
|
9658
|
+
* 类别筛选-字母快捷筛选
|
|
9441
9659
|
* */
|
|
9442
9660
|
const checkFilterShow_letter = (filter, letter, lang) => {
|
|
9443
9661
|
let isMatch;
|
|
@@ -9793,6 +10011,13 @@ module.exports = {
|
|
|
9793
10011
|
};
|
|
9794
10012
|
|
|
9795
10013
|
|
|
10014
|
+
/***/ }),
|
|
10015
|
+
|
|
10016
|
+
/***/ "4daa":
|
|
10017
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10018
|
+
|
|
10019
|
+
// extracted by mini-css-extract-plugin
|
|
10020
|
+
|
|
9796
10021
|
/***/ }),
|
|
9797
10022
|
|
|
9798
10023
|
/***/ "4dd1":
|
|
@@ -10566,6 +10791,17 @@ function javascript(hljs) {
|
|
|
10566
10791
|
module.exports = javascript;
|
|
10567
10792
|
|
|
10568
10793
|
|
|
10794
|
+
/***/ }),
|
|
10795
|
+
|
|
10796
|
+
/***/ "4ec3":
|
|
10797
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10798
|
+
|
|
10799
|
+
"use strict";
|
|
10800
|
+
/* 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");
|
|
10801
|
+
/* 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__);
|
|
10802
|
+
/* unused harmony reexport * */
|
|
10803
|
+
|
|
10804
|
+
|
|
10569
10805
|
/***/ }),
|
|
10570
10806
|
|
|
10571
10807
|
/***/ "50c4":
|
|
@@ -10891,7 +11127,7 @@ module.exports = function (bitmap, value) {
|
|
|
10891
11127
|
// ESM COMPAT FLAG
|
|
10892
11128
|
__webpack_require__.r(__webpack_exports__);
|
|
10893
11129
|
|
|
10894
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11130
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/main.vue?vue&type=template&id=c692ad88&scoped=true
|
|
10895
11131
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"panel common-layout"},[_c('el-container',{staticStyle:{"height":"100%"}},[_c('el-header',{staticClass:"mb-1",staticStyle:{"padding":"0","height":"auto","width":"100%"}},[_c('LFilter',{ref:"LFilter"})],1)],1)],1)
|
|
10896
11132
|
}
|
|
10897
11133
|
var staticRenderFns = []
|
|
@@ -10902,7 +11138,7 @@ var staticRenderFns = []
|
|
|
10902
11138
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
10903
11139
|
var es_array_push = __webpack_require__("14d9");
|
|
10904
11140
|
|
|
10905
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11141
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
10906
11142
|
var LFiltervue_type_template_id_44cc531c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('FilterArea',{ref:"FilterArea"})],1)
|
|
10907
11143
|
}
|
|
10908
11144
|
var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
@@ -10910,7 +11146,7 @@ var LFiltervue_type_template_id_44cc531c_scoped_true_staticRenderFns = []
|
|
|
10910
11146
|
|
|
10911
11147
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/index.vue?vue&type=template&id=44cc531c&scoped=true
|
|
10912
11148
|
|
|
10913
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11149
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
10914
11150
|
var FilterAreavue_type_template_id_79c8b408_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade"}},[(_vm.selProjectId !== 0)?_c('div',{staticClass:"filterAreaWrap filterWrap bg-white mt-1"},[_c('div',{attrs:{"id":"filterWrap"}},[(_vm.showList.length ===0)?[_c('div')]:[_vm._l((_vm.showList),function(filter,rowIndex){return _c('div',{key:filter.label_id},[(rowIndex < 4)?_c('div',{staticClass:"flex justify-between gap-x-5 rowWrap",class:{
|
|
10915
11151
|
multiple: filter.multipleSel,
|
|
10916
11152
|
xinyuan: filter.kind === _vm.EnumFilterKind.XinYuan,
|
|
@@ -10949,7 +11185,7 @@ var FilterAreavue_type_template_id_79c8b408_scoped_true_staticRenderFns = []
|
|
|
10949
11185
|
|
|
10950
11186
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/Home/LFilter/FilterArea.vue?vue&type=template&id=79c8b408&scoped=true
|
|
10951
11187
|
|
|
10952
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11188
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItem.vue?vue&type=template&id=3a70deee&scoped=true
|
|
10953
11189
|
var FilterItemvue_type_template_id_3a70deee_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(!_vm.multipleSel)?[_c('div',{on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"size":"small","link":"","type":_vm.selFilterIds.includes(_vm.subFilter.label_id) ? 'warning' : ''},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang])+" ")])]),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)]:[_c('div',{staticClass:"flex items-center text-xs text-[#606266]"},[_c('el-checkbox',{model:{value:(_vm.checkOut),callback:function ($$v) {_vm.checkOut=$$v},expression:"checkOut"}},[_c('span',{staticClass:"tagText"},[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang]))])])],1)]],2)
|
|
10954
11190
|
}
|
|
10955
11191
|
var FilterItemvue_type_template_id_3a70deee_scoped_true_staticRenderFns = []
|
|
@@ -11032,7 +11268,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
11032
11268
|
)
|
|
11033
11269
|
|
|
11034
11270
|
/* harmony default export */ var FilterItem = (component.exports);
|
|
11035
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11271
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/Home/LFilter/FilterItemIcon.vue?vue&type=template&id=4b83b000&scoped=true
|
|
11036
11272
|
var FilterItemIconvue_type_template_id_4b83b000_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"relative",class:{ hover: _vm.showEdit }},[_c('div',{staticClass:"flex items-end",on:{"mouseenter":function($event){return _vm.handleHoverAccount(true)},"mouseleave":function($event){return _vm.handleHoverAccount(false)}}},[_c('el-link',{staticClass:"tagText gap-1.5",attrs:{"size":"small","type":"text"},on:{"click":function($event){return _vm.clickFilter(_vm.subFilter)}}},[_c('el-image',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showEdit),expression:"!showEdit"}],staticStyle:{"width":"103px","height":"36px"},attrs:{"src":_vm.subFilter.icon,"fit":"none"}},[_c('template',{slot:"error"},[_c('div',{staticClass:"image-slot"},[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang])+" ")])])],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showEdit),expression:"showEdit"}],staticClass:"truncate flex items-center justify-center",staticStyle:{"width":"103px","height":"36px"}},[_vm._v(" "+_vm._s(_vm.subFilter['name_'+_vm.lang])+" ")])],1),(_vm.isShowCount)?[(_vm.fliterCount[_vm.subFilter.label_id])?_c('span',{staticClass:"num",staticStyle:{"color":"#aaa"}},[_vm._v(_vm._s(_vm.fliterCount[_vm.subFilter.label_id].toLocaleString()))]):_vm._e()]:_vm._e()],2)])
|
|
11037
11273
|
}
|
|
11038
11274
|
var FilterItemIconvue_type_template_id_4b83b000_scoped_true_staticRenderFns = []
|
|
@@ -11637,20 +11873,6 @@ module.exports = function (key, value) {
|
|
|
11637
11873
|
};
|
|
11638
11874
|
|
|
11639
11875
|
|
|
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
11876
|
/***/ }),
|
|
11655
11877
|
|
|
11656
11878
|
/***/ "69f3":
|
|
@@ -16007,6 +16229,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16007
16229
|
|
|
16008
16230
|
/***/ }),
|
|
16009
16231
|
|
|
16232
|
+
/***/ "84ab":
|
|
16233
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16234
|
+
|
|
16235
|
+
// extracted by mini-css-extract-plugin
|
|
16236
|
+
|
|
16237
|
+
/***/ }),
|
|
16238
|
+
|
|
16010
16239
|
/***/ "861d":
|
|
16011
16240
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16012
16241
|
|
|
@@ -16159,13 +16388,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
|
16159
16388
|
|
|
16160
16389
|
/***/ }),
|
|
16161
16390
|
|
|
16162
|
-
/***/ "8d42":
|
|
16163
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
16164
|
-
|
|
16165
|
-
// extracted by mini-css-extract-plugin
|
|
16166
|
-
|
|
16167
|
-
/***/ }),
|
|
16168
|
-
|
|
16169
16391
|
/***/ "8dcb":
|
|
16170
16392
|
/***/ (function(module, exports) {
|
|
16171
16393
|
|
|
@@ -17074,17 +17296,6 @@ function python(hljs) {
|
|
|
17074
17296
|
module.exports = python;
|
|
17075
17297
|
|
|
17076
17298
|
|
|
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
17299
|
/***/ }),
|
|
17089
17300
|
|
|
17090
17301
|
/***/ "968d":
|
|
@@ -17153,40 +17364,40 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
17153
17364
|
// ESM COMPAT FLAG
|
|
17154
17365
|
__webpack_require__.r(__webpack_exports__);
|
|
17155
17366
|
|
|
17156
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17367
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=566d1286&scoped=true
|
|
17157
17368
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"wrap",staticStyle:{"height":"100%"}},[_c('div',{staticClass:"copilot-box"},[_c('Dialogue',{scopedSlots:_vm._u([_vm._l((_vm.$slots),function(item,key){return {key:key,fn:function(){return [_vm._t(key)]},proxy:true}})],null,true)}),_c('div',{staticClass:"copilot-bottom-box"},[_c('CopiFooter')],1)],1)])
|
|
17158
17369
|
}
|
|
17159
17370
|
var staticRenderFns = []
|
|
17160
17371
|
|
|
17161
17372
|
|
|
17162
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=
|
|
17373
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=template&id=566d1286&scoped=true
|
|
17163
17374
|
|
|
17164
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17165
|
-
var
|
|
17375
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=675bfbc8&scoped=true
|
|
17376
|
+
var dialoguevue_type_template_id_675bfbc8_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"messageBox",staticClass:"message-box"},[_vm._l((_vm.msgList),function(item,index){return _c('div',{key:item.uuid + '' + index,staticClass:"message-group"},[_c('div',{staticClass:"msg-head"},[(item.isSend)?_c('UserHead'):_c('AnswerHead',{scopedSlots:_vm._u([{key:"avatar",fn:function(){return [_vm._t("avatar")]},proxy:true}],null,true)})],1),_c('div',{class:{ 'msg-content': true, 'response-content': !item.isSend }},[(!item.isSend && item.plusName)?_c('div',{staticClass:"msg-plus mb-1"},[_c('div',[_vm._v(" 使用: "),_c('span',[_vm._v(_vm._s(item.plusName.replace(/,/g, ' ')))])])]):_vm._e(),_c('MessageParse',{attrs:{"msgs":item.msgs,"isPrinting":item.needPrinting,"scrollToBottom":_vm.scrollToBottom},on:{"printOk":_vm.printOk,"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)}}}),(!item.isSend && !item.needPrinting && item.showOpt)?_c('div',{staticClass:"icon-operates"},[_c('div',{staticClass:"icon-item",attrs:{"title":"点赞"}},[_c('Like')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"不喜欢"}},[_c('Notlike')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"复制"}},[_c('Copy')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"导出"}},[_c('Download')],1),_c('div',{staticClass:"icon-item",attrs:{"title":"播放"}},[_c('Speaker')],1)]):_vm._e()],1)])}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.stopDialogue),expression:"stopDialogue"}],staticClass:"stop-dialogue"},[_c('div',{staticClass:"gray-line"}),_c('div',{staticClass:"title"},[_vm._v("很抱歉,此对话已达到其限制。让我们开始新的聊天。")]),_c('div',{staticClass:"gray-line"})])],2)
|
|
17166
17377
|
}
|
|
17167
|
-
var
|
|
17378
|
+
var dialoguevue_type_template_id_675bfbc8_scoped_true_staticRenderFns = []
|
|
17168
17379
|
|
|
17169
17380
|
|
|
17170
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=
|
|
17381
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=template&id=675bfbc8&scoped=true
|
|
17171
17382
|
|
|
17172
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17173
|
-
var
|
|
17383
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=76782aae&scoped=true
|
|
17384
|
+
var messageParsevue_type_template_id_76782aae_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',_vm._l((_vm.msgs),function(item,index){return _c('div',{key:item.uuid + '' + index},[(index < _vm.current && item.type === _vm.DataType.text)?_c('ReadMd',{attrs:{"text":item.content,"scrollToBottom":_vm.scrollToBottom,"isPrinting":item.needPrinting},on:{"printOk":_vm.printOk,"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)}}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.edit)?_c('Edit',{attrs:{"content":item.content,"scrollToBottom":_vm.scrollToBottom,"isPrinting":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(index < _vm.current && item.type === _vm.DataType.file)?_c('FileBox',{attrs:{"desc":item.content,"isPrinting":item.needPrinting},on:{"update:isPrinting":function($event){return _vm.$set(item, "needPrinting", $event)},"update:is-printing":function($event){return _vm.$set(item, "needPrinting", $event)},"printOk":_vm.printOk}}):_vm._e(),(_vm.isPrinting && index === _vm.current - 1 && !item.needPrinting)?_c('span',{staticClass:"cursor"}):_vm._e()],1)}),0)
|
|
17174
17385
|
}
|
|
17175
|
-
var
|
|
17386
|
+
var messageParsevue_type_template_id_76782aae_scoped_true_staticRenderFns = []
|
|
17176
17387
|
|
|
17177
17388
|
|
|
17178
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=
|
|
17389
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=template&id=76782aae&scoped=true
|
|
17179
17390
|
|
|
17180
17391
|
// EXTERNAL MODULE: ./packages/know_ui_v2/store/moudle/copilotStore.js + 11 modules
|
|
17181
17392
|
var copilotStore = __webpack_require__("187e");
|
|
17182
17393
|
|
|
17183
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17184
|
-
var
|
|
17394
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=548b865e&scoped=true
|
|
17395
|
+
var readMdvue_type_template_id_548b865e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:"highlight",rawName:"v-highlight"}],staticClass:"markdown",domProps:{"innerHTML":_vm._s(_vm.resultHtml)}})])
|
|
17185
17396
|
}
|
|
17186
|
-
var
|
|
17397
|
+
var readMdvue_type_template_id_548b865e_scoped_true_staticRenderFns = []
|
|
17187
17398
|
|
|
17188
17399
|
|
|
17189
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=
|
|
17400
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=template&id=548b865e&scoped=true
|
|
17190
17401
|
|
|
17191
17402
|
// EXTERNAL MODULE: ./node_modules/dompurify/dist/purify.js
|
|
17192
17403
|
var purify = __webpack_require__("c0c4");
|
|
@@ -17204,10 +17415,10 @@ const States = {
|
|
|
17204
17415
|
codeStartBig: 2 // 大代码块状态
|
|
17205
17416
|
};
|
|
17206
17417
|
|
|
17207
|
-
/**
|
|
17208
|
-
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17209
|
-
* @param text
|
|
17210
|
-
* @returns {boolean}
|
|
17418
|
+
/**
|
|
17419
|
+
* 判断 markdown 文本中是否有未闭合的代码块
|
|
17420
|
+
* @param text
|
|
17421
|
+
* @returns {boolean}
|
|
17211
17422
|
*/
|
|
17212
17423
|
function isInCode(text) {
|
|
17213
17424
|
let state = States.text;
|
|
@@ -17366,20 +17577,25 @@ var vuex_esm = __webpack_require__("2f62");
|
|
|
17366
17577
|
printCore();
|
|
17367
17578
|
}
|
|
17368
17579
|
},
|
|
17580
|
+
watch: {
|
|
17581
|
+
getHtml() {
|
|
17582
|
+
if (!this.isPrinting) this.vHtml = this.getHtml;
|
|
17583
|
+
}
|
|
17584
|
+
},
|
|
17369
17585
|
mounted() {
|
|
17370
17586
|
if (this.isPrinting) {
|
|
17371
17587
|
this.printMessage();
|
|
17372
17588
|
} else {
|
|
17373
17589
|
this.vHtml = this.getHtml;
|
|
17374
|
-
this.$emit('printOk'
|
|
17590
|
+
this.$emit('printOk');
|
|
17375
17591
|
}
|
|
17376
17592
|
this.scrollToBottom(true);
|
|
17377
17593
|
}
|
|
17378
17594
|
});
|
|
17379
17595
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=script&lang=js
|
|
17380
17596
|
/* 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
|
|
17597
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/readMd.vue?vue&type=style&index=0&id=548b865e&prod&lang=scss&scoped=true
|
|
17598
|
+
var readMdvue_type_style_index_0_id_548b865e_prod_lang_scss_scoped_true = __webpack_require__("4ec3");
|
|
17383
17599
|
|
|
17384
17600
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
17385
17601
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -17395,17 +17611,17 @@ var componentNormalizer = __webpack_require__("2877");
|
|
|
17395
17611
|
|
|
17396
17612
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
17397
17613
|
messageParse_readMdvue_type_script_lang_js,
|
|
17398
|
-
|
|
17399
|
-
|
|
17614
|
+
readMdvue_type_template_id_548b865e_scoped_true_render,
|
|
17615
|
+
readMdvue_type_template_id_548b865e_scoped_true_staticRenderFns,
|
|
17400
17616
|
false,
|
|
17401
17617
|
null,
|
|
17402
|
-
"
|
|
17618
|
+
"548b865e",
|
|
17403
17619
|
null
|
|
17404
17620
|
|
|
17405
17621
|
)
|
|
17406
17622
|
|
|
17407
17623
|
/* harmony default export */ var readMd = (component.exports);
|
|
17408
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17624
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17409
17625
|
var fileBoxvue_type_template_id_eae35050_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"file-box"},[_c('div',{staticClass:"file-content"},[_c('FileIcon',{attrs:{"type":_vm.fileType}}),_c('div',{staticClass:"file-desc"},[_c('span',{staticClass:"file-name"},[_vm._v(_vm._s(_vm.desc.name))]),_c('div',{staticClass:"file-size-type"},[_c('span',{staticClass:"size"},[_vm._v(_vm._s(_vm.size))]),_c('span',{staticClass:"type"},[_vm._v(_vm._s(_vm.fileType))])])])],1),_c('button',{staticClass:"download-btn",on:{"click":_vm.downLoadFilde}},[_vm._v("下载")])])
|
|
17410
17626
|
}
|
|
17411
17627
|
var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
@@ -17413,7 +17629,7 @@ var fileBoxvue_type_template_id_eae35050_scoped_true_staticRenderFns = []
|
|
|
17413
17629
|
|
|
17414
17630
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/fileBox.vue?vue&type=template&id=eae35050&scoped=true
|
|
17415
17631
|
|
|
17416
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17632
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/fileIcon.vue?vue&type=template&id=d505c8c2&scoped=true
|
|
17417
17633
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.type==='ppt')?_c('svg',{staticClass:"icon",attrs:{"t":"1713764760412","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"5972","xmlns:xlink":"http://www.w3.org/1999/xlink","width":"40","height":"40"}},[_c('path',{attrs:{"d":"M620.9 67.2H236.5c-30.3 0-54.9 25-54.9 55.9v782.7c0 30.9 24.6 55.9 54.9 55.9h549c30.3 0 54.9-25 54.9-55.9v-615L620.9 67.2z","fill":"#FF7357","p-id":"5973"}}),_c('path',{attrs:{"d":"M802 925.9H220.1V109.7h379.6v218.9H802z","fill":"#FFFFFF","p-id":"5974"}}),_c('path',{attrs:{"d":"M802 922.6H220.1V106.4h379.6v218.8H802z","fill":"#FF917B","p-id":"5975"}}),_c('path',{attrs:{"d":"M340.8 597.6c47.7 0 71.4 20.2 71.4 60.8 0 40.9-24.2 61.4-72.1 61.4h-51.9v78h-30.6V597.6h83.2z m-52.4 96.2h49.8c15.1 0 26.1-2.9 33.1-8.4 6.8-5.6 10.3-14.5 10.3-26.9 0-12.4-3.7-21.3-10.6-26.3-7.1-5.6-17.9-8.4-32.9-8.4h-49.8v70zM523.6 597.6c47.7 0 71.4 20.2 71.4 60.8 0 40.9-24.2 61.4-72.1 61.4H471v78h-30.6V597.6h83.2z m-52.4 96.2H521c15.1 0 26.1-2.9 33.1-8.4 6.8-5.6 10.3-14.5 10.3-26.9 0-12.4-3.7-21.3-10.6-26.3-7.1-5.6-17.9-8.4-32.9-8.4h-49.8v70h0.1zM772 597.6v26.1h-66.7v174.1H675V623.7h-67v-26.1h164z","fill":"#FFFFFF","p-id":"5976"}})]):_vm._e(),(_vm.type==='word')?_c('svg',{staticClass:"icon",attrs:{"t":"1713764692798","viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"4500","xmlns:xlink":"http://www.w3.org/1999/xlink","width":"40","height":"40"}},[_c('path',{attrs:{"d":"M791.94 155.36H332.48c-42.23 0-76.54 34.31-76.54 76.54v76.55h-51.03c-28.16 0-51.04 22.87-51.04 51.03v306.37c0 28.15 22.88 51.02 51.04 51.02h51.03v76.54c0 42.24 34.32 76.55 76.54 76.55h459.46c42.23 0 76.54-34.32 76.54-76.54V231.9c0.1-42.24-34.31-76.54-76.54-76.54z m-547.68 298.6h40.28l26.04 93.58h5.7l29.16-93.58h34.45l29.02 93.71h6.24l26.18-93.71h40.41l-40.41 133.72H384.1l-19.53-70.25h-5.43l-19.26 69.98h-55.74l-39.88-133.45zM817.45 793.5c-0.01 14.09-11.42 25.5-25.51 25.51H332.48c-14.09-0.01-25.5-11.43-25.51-25.51v-76.54h204.21c28.15 0 51.03-22.88 51.03-51.03V614.9H740.9c14.09-0.01 25.51-11.43 25.52-25.52-0.02-14.09-11.43-25.5-25.52-25.51H562.21v-51.03H740.9c14.09-0.01 25.51-11.43 25.52-25.52-0.01-14.09-11.43-25.5-25.52-25.52H562.21v-51.03H740.9c14.09-0.01 25.51-11.43 25.52-25.51-0.01-14.09-11.43-25.51-25.52-25.52H562.21c0-28.16-22.89-51.03-51.03-51.03H306.97v-76.54c0.01-14.09 11.43-25.5 25.51-25.52h459.46c14.08 0.01 25.5 11.43 25.51 25.52V793.5z m0 0","fill":"#54A0FF","p-id":"4501"}})]):_vm._e()])
|
|
17418
17634
|
}
|
|
17419
17635
|
var fileIconvue_type_template_id_d505c8c2_scoped_true_staticRenderFns = []
|
|
@@ -17530,15 +17746,173 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17530
17746
|
)
|
|
17531
17747
|
|
|
17532
17748
|
/* harmony default export */ var fileBox = (fileBox_component.exports);
|
|
17749
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17750
|
+
var editvue_type_template_id_ecb8431a_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing),expression:"!isEditing"}],staticClass:"read-flex"},[_c('ReadMd',{attrs:{"text":_vm.content.message,"isPrinting":_vm.printing},on:{"update:isPrinting":function($event){_vm.printing=$event},"update:is-printing":function($event){_vm.printing=$event},"printOk":_vm.printOk}}),(_vm.showButton && _vm.isPrinting)?_c('div',{class:{
|
|
17751
|
+
'icon-item': true,
|
|
17752
|
+
'cursor-default': !_vm.sendLonding
|
|
17753
|
+
},attrs:{"title":"编辑"},on:{"click":_vm.toEdit}},[_c('ThumbsDown')],1):_vm._e(),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing && _vm.isPrinting && _vm.showButton),expression:"!isEditing && isPrinting && showButton"}],staticClass:"time"},[_vm._v(" ("+_vm._s(_vm.countDown)+"s)")])],1),(_vm.isEditing && _vm.isPrinting)?_c('div',{staticClass:"read-flex"},[_c('span',[_vm._v(_vm._s(_vm.updateObj.userLogic.title))]),_c('div',{staticClass:"input-box"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.updateObj.userLogic.value),expression:"updateObj.userLogic.value"}],staticClass:"keyword-input",attrs:{"type":"text","autofocus":""},domProps:{"value":(_vm.updateObj.userLogic.value)},on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.confirm.apply(null, arguments)},"input":function($event){if($event.target.composing)return;_vm.$set(_vm.updateObj.userLogic, "value", $event.target.value)}}}),(_vm.showButton && _vm.isPrinting)?_c('button',{on:{"click":_vm.confirm}},[_vm._v(" 确认"),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isEditing),expression:"!isEditing"}]},[_vm._v(" ("+_vm._s(_vm.countDown)+"s)")])]):_vm._e()])]):_vm._e()])
|
|
17754
|
+
}
|
|
17755
|
+
var editvue_type_template_id_ecb8431a_scoped_true_staticRenderFns = []
|
|
17756
|
+
|
|
17757
|
+
|
|
17758
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=template&id=ecb8431a&scoped=true
|
|
17759
|
+
|
|
17760
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue?vue&type=template&id=0c20c6bf
|
|
17761
|
+
var thumbsDownvue_type_template_id_0c20c6bf_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{staticStyle:{"outline":"none"},attrs:{"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true","role":"img","width":"1em","height":"1em","viewBox":"0 0 256 256","data-v-3f2185fe":""}},[_c('path',{attrs:{"fill":"currentColor","d":"m232.49 55.51l-32-32a12 12 0 0 0-17 0l-96 96A12 12 0 0 0 84 128v32a12 12 0 0 0 12 12h32a12 12 0 0 0 8.49-3.51l96-96a12 12 0 0 0 0-16.98ZM192 49l15 15l-11 11l-15-15Zm-69 99h-15v-15l56-56l15 15Zm105-15.43V208a20 20 0 0 1-20 20H48a20 20 0 0 1-20-20V48a20 20 0 0 1 20-20h75.43a12 12 0 0 1 0 24H52v152h152v-71.43a12 12 0 0 1 24 0Z"}})])
|
|
17762
|
+
}
|
|
17763
|
+
var thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns = []
|
|
17764
|
+
|
|
17765
|
+
|
|
17766
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue?vue&type=template&id=0c20c6bf
|
|
17767
|
+
|
|
17768
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/thumbsDown.vue
|
|
17769
|
+
|
|
17770
|
+
var script = {}
|
|
17771
|
+
|
|
17772
|
+
|
|
17773
|
+
/* normalize component */
|
|
17774
|
+
|
|
17775
|
+
var thumbsDown_component = Object(componentNormalizer["a" /* default */])(
|
|
17776
|
+
script,
|
|
17777
|
+
thumbsDownvue_type_template_id_0c20c6bf_render,
|
|
17778
|
+
thumbsDownvue_type_template_id_0c20c6bf_staticRenderFns,
|
|
17779
|
+
false,
|
|
17780
|
+
null,
|
|
17781
|
+
null,
|
|
17782
|
+
null
|
|
17783
|
+
|
|
17784
|
+
)
|
|
17785
|
+
|
|
17786
|
+
/* harmony default export */ var thumbsDown = (thumbsDown_component.exports);
|
|
17787
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=script&lang=ts
|
|
17788
|
+
|
|
17789
|
+
|
|
17790
|
+
|
|
17791
|
+
|
|
17792
|
+
/* harmony default export */ var editvue_type_script_lang_ts = ({
|
|
17793
|
+
components: {
|
|
17794
|
+
ReadMd: readMd,
|
|
17795
|
+
ThumbsDown: thumbsDown
|
|
17796
|
+
},
|
|
17797
|
+
props: {
|
|
17798
|
+
// 输入的 markdown 文本
|
|
17799
|
+
content: {
|
|
17800
|
+
type: Object,
|
|
17801
|
+
default: () => {}
|
|
17802
|
+
},
|
|
17803
|
+
isPrinting: {
|
|
17804
|
+
type: Boolean,
|
|
17805
|
+
default: false
|
|
17806
|
+
},
|
|
17807
|
+
scrollToBottom: {
|
|
17808
|
+
type: Function,
|
|
17809
|
+
default: () => {}
|
|
17810
|
+
}
|
|
17811
|
+
},
|
|
17812
|
+
data() {
|
|
17813
|
+
return {
|
|
17814
|
+
updateObj: {
|
|
17815
|
+
userLogic: {
|
|
17816
|
+
title: '提取的关键词信息:',
|
|
17817
|
+
type: 'text',
|
|
17818
|
+
value: this.content.updateInfo.userLogic
|
|
17819
|
+
}
|
|
17820
|
+
},
|
|
17821
|
+
printing: true,
|
|
17822
|
+
showButton: false,
|
|
17823
|
+
countDown: 5,
|
|
17824
|
+
interval: 0,
|
|
17825
|
+
isEditing: false,
|
|
17826
|
+
oldUserLogic: this.content.updateInfo.userLogic
|
|
17827
|
+
}
|
|
17828
|
+
},
|
|
17829
|
+
computed: {
|
|
17830
|
+
...Object(vuex_esm["d" /* mapState */])('copilot', ['currentPluginParams', 'sendLonding'])
|
|
17831
|
+
},
|
|
17832
|
+
methods: {
|
|
17833
|
+
...Object(vuex_esm["a" /* mapActions */])('copilot', ['sendPluginMsg']),
|
|
17834
|
+
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['onlyCancelRequest']),
|
|
17835
|
+
confirm() {
|
|
17836
|
+
clearInterval(this.interval)
|
|
17837
|
+
this.showButton = false
|
|
17838
|
+
this.isEditing = false
|
|
17839
|
+
if (this.updateObj.userLogic.value != this.oldUserLogic) {
|
|
17840
|
+
this.content.message = this.updateObj.userLogic.title + this.updateObj.userLogic.value
|
|
17841
|
+
this.onlyCancelRequest()
|
|
17842
|
+
this.finalComm(true) //改动为true,通知父组件清空未展示的残余消息
|
|
17843
|
+
this.currentPluginParams.userLogic = this.updateObj.userLogic.value //组装新参数发送
|
|
17844
|
+
this.sendPluginMsg()
|
|
17845
|
+
return
|
|
17846
|
+
}
|
|
17847
|
+
this.finalComm(false)
|
|
17848
|
+
},
|
|
17849
|
+
finalComm(isEdit = false) {
|
|
17850
|
+
this.$emit('update:isPrinting', false)
|
|
17851
|
+
this.$emit('printOk', isEdit) //改动为true
|
|
17852
|
+
},
|
|
17853
|
+
printOk() {
|
|
17854
|
+
this.showButton = true
|
|
17855
|
+
this.scrollToBottom()
|
|
17856
|
+
this.interval = setInterval(() => {
|
|
17857
|
+
this.countDown--
|
|
17858
|
+
if (this.countDown <= 0) {
|
|
17859
|
+
clearInterval(this.interval)
|
|
17860
|
+
this.showButton = false
|
|
17861
|
+
this.finalComm(false)
|
|
17862
|
+
}
|
|
17863
|
+
}, 1000)
|
|
17864
|
+
},
|
|
17865
|
+
toEdit() {
|
|
17866
|
+
this.interval = clearInterval(this.interval)
|
|
17867
|
+
if (this.sendLonding) this.isEditing = true
|
|
17868
|
+
}
|
|
17869
|
+
},
|
|
17870
|
+
watch: {
|
|
17871
|
+
sendLonding(newValue) {
|
|
17872
|
+
if (!newValue) {
|
|
17873
|
+
this.$emit('update:isPrinting', false)
|
|
17874
|
+
}
|
|
17875
|
+
}
|
|
17876
|
+
}
|
|
17877
|
+
});
|
|
17878
|
+
|
|
17879
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=script&lang=ts
|
|
17880
|
+
/* harmony default export */ var messageParse_editvue_type_script_lang_ts = (editvue_type_script_lang_ts);
|
|
17881
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue?vue&type=style&index=0&id=ecb8431a&prod&scoped=true&lang=scss
|
|
17882
|
+
var editvue_type_style_index_0_id_ecb8431a_prod_scoped_true_lang_scss = __webpack_require__("26cc");
|
|
17883
|
+
|
|
17884
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/edit.vue
|
|
17885
|
+
|
|
17886
|
+
|
|
17887
|
+
|
|
17888
|
+
|
|
17889
|
+
|
|
17890
|
+
|
|
17891
|
+
/* normalize component */
|
|
17892
|
+
|
|
17893
|
+
var edit_component = Object(componentNormalizer["a" /* default */])(
|
|
17894
|
+
messageParse_editvue_type_script_lang_ts,
|
|
17895
|
+
editvue_type_template_id_ecb8431a_scoped_true_render,
|
|
17896
|
+
editvue_type_template_id_ecb8431a_scoped_true_staticRenderFns,
|
|
17897
|
+
false,
|
|
17898
|
+
null,
|
|
17899
|
+
"ecb8431a",
|
|
17900
|
+
null
|
|
17901
|
+
|
|
17902
|
+
)
|
|
17903
|
+
|
|
17904
|
+
/* harmony default export */ var edit = (edit_component.exports);
|
|
17533
17905
|
// 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
17906
|
|
|
17535
17907
|
|
|
17536
17908
|
|
|
17537
17909
|
|
|
17910
|
+
|
|
17538
17911
|
/* harmony default export */ var messageParsevue_type_script_lang_js = ({
|
|
17539
17912
|
components: {
|
|
17540
|
-
|
|
17541
|
-
FileBox: fileBox
|
|
17913
|
+
ReadMd: readMd,
|
|
17914
|
+
FileBox: fileBox,
|
|
17915
|
+
Edit: edit
|
|
17542
17916
|
},
|
|
17543
17917
|
props: {
|
|
17544
17918
|
msgs: {
|
|
@@ -17556,7 +17930,8 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17556
17930
|
},
|
|
17557
17931
|
data() {
|
|
17558
17932
|
return {
|
|
17559
|
-
current: 1
|
|
17933
|
+
current: 1,
|
|
17934
|
+
DataType: copilotStore["DataType"]
|
|
17560
17935
|
};
|
|
17561
17936
|
},
|
|
17562
17937
|
watch: {
|
|
@@ -17579,13 +17954,18 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17579
17954
|
},
|
|
17580
17955
|
methods: {
|
|
17581
17956
|
...Object(vuex_esm["c" /* mapMutations */])('copilot', ['setSendLonding']),
|
|
17582
|
-
printOk() {
|
|
17957
|
+
printOk(isEdit) {
|
|
17583
17958
|
if (!this.sendLonding) {
|
|
17584
17959
|
//强制中断
|
|
17585
17960
|
this.$emit('update:isPrinting', false);
|
|
17586
17961
|
this.$emit('printOk');
|
|
17587
17962
|
return;
|
|
17588
17963
|
}
|
|
17964
|
+
if (isEdit) {
|
|
17965
|
+
this.msgs.splice(0);
|
|
17966
|
+
this.current = 1;
|
|
17967
|
+
return;
|
|
17968
|
+
}
|
|
17589
17969
|
if (this.current < this.msgs.length) {
|
|
17590
17970
|
//逐条解析
|
|
17591
17971
|
this.current++;
|
|
@@ -17604,27 +17984,31 @@ var fileBox_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17604
17984
|
});
|
|
17605
17985
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=script&lang=js
|
|
17606
17986
|
/* harmony default export */ var dialogue_messageParsevue_type_script_lang_js = (messageParsevue_type_script_lang_js);
|
|
17987
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue?vue&type=style&index=0&id=76782aae&prod&lang=scss&scoped=true
|
|
17988
|
+
var messageParsevue_type_style_index_0_id_76782aae_prod_lang_scss_scoped_true = __webpack_require__("4494");
|
|
17989
|
+
|
|
17607
17990
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/messageParse/index.vue
|
|
17608
17991
|
|
|
17609
17992
|
|
|
17610
17993
|
|
|
17611
17994
|
|
|
17612
17995
|
|
|
17996
|
+
|
|
17613
17997
|
/* normalize component */
|
|
17614
17998
|
|
|
17615
17999
|
var messageParse_component = Object(componentNormalizer["a" /* default */])(
|
|
17616
18000
|
dialogue_messageParsevue_type_script_lang_js,
|
|
17617
|
-
|
|
17618
|
-
|
|
18001
|
+
messageParsevue_type_template_id_76782aae_scoped_true_render,
|
|
18002
|
+
messageParsevue_type_template_id_76782aae_scoped_true_staticRenderFns,
|
|
17619
18003
|
false,
|
|
17620
18004
|
null,
|
|
17621
|
-
"
|
|
18005
|
+
"76782aae",
|
|
17622
18006
|
null
|
|
17623
18007
|
|
|
17624
18008
|
)
|
|
17625
18009
|
|
|
17626
18010
|
/* 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":"
|
|
18011
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiContent/UserHead.vue?vue&type=template&id=011b9031&scoped=true
|
|
17628
18012
|
var UserHeadvue_type_template_id_011b9031_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"user"},[_c('div',{staticClass:"icon header-avatar rounded-full"},[_c('svg',{attrs:{"viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M17.755 14a2.249 2.249 0 0 1 2.248 2.25v.918a2.75 2.75 0 0 1-.512 1.598c-1.546 2.164-4.07 3.235-7.49 3.235-3.422 0-5.945-1.072-7.487-3.236a2.75 2.75 0 0 1-.51-1.596v-.92A2.249 2.249 0 0 1 6.253 14h11.502ZM12 2.005a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z"}})])]),_c('div',{staticClass:"head-label"},[_vm._v("你")])])
|
|
17629
18013
|
}
|
|
17630
18014
|
var UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns = []
|
|
@@ -17637,14 +18021,14 @@ var UserHeadvue_type_style_index_0_id_011b9031_prod_scoped_true_lang_scss = __we
|
|
|
17637
18021
|
|
|
17638
18022
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiContent/UserHead.vue
|
|
17639
18023
|
|
|
17640
|
-
var
|
|
18024
|
+
var UserHead_script = {}
|
|
17641
18025
|
|
|
17642
18026
|
|
|
17643
18027
|
|
|
17644
18028
|
/* normalize component */
|
|
17645
18029
|
|
|
17646
18030
|
var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
17647
|
-
|
|
18031
|
+
UserHead_script,
|
|
17648
18032
|
UserHeadvue_type_template_id_011b9031_scoped_true_render,
|
|
17649
18033
|
UserHeadvue_type_template_id_011b9031_scoped_true_staticRenderFns,
|
|
17650
18034
|
false,
|
|
@@ -17655,7 +18039,7 @@ var UserHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17655
18039
|
)
|
|
17656
18040
|
|
|
17657
18041
|
/* 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":"
|
|
18042
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiContent/AnswerHead.vue?vue&type=template&id=c2abd5b4&scoped=true
|
|
17659
18043
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"answer"},[_c('div',{staticClass:"icon"},[_vm._t("avatar",function(){return [_c('svg',{attrs:{"viewBox":"0 0 48 48","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"clip-path":"url(#clip0_3984_10372)"}},[_c('path',{attrs:{"d":"M35.1201 6.46024C34.4524 4.39741 32.5312 3 30.363 3L28.7093 3C26.2926 3 24.2217 4.72855 23.7898 7.10639L21.448 19.9984L22.1587 17.5866C22.7854 15.46 24.7377 14 26.9548 14H35.2947L38.8884 15.7857L42.3527 14H41.1975C39.0293 14 37.1082 12.6026 36.4405 10.5398L35.1201 6.46024Z","fill":"url(#paint0_radial_3984_10372)"}}),_c('path',{attrs:{"d":"M13.3948 41.5178C14.0556 43.5918 15.9822 45 18.1589 45H21.397C24.1428 45 26.3748 42.7858 26.3968 40.0401L26.4921 28.1641L25.8179 30.428C25.1866 32.5478 23.2377 34.0009 21.0259 34.0009L12.623 34.0009L9.54267 31.9459L6.20776 34.0009H7.34528C9.52197 34.0009 11.4486 35.4091 12.1093 37.4831L13.3948 41.5178Z","fill":"url(#paint1_radial_3984_10372)"}}),_c('path',{attrs:{"d":"M30 3H12.5C7.49997 3 4.49997 9.5 2.49997 16C0.13049 23.7008 -2.97003 34 5.99997 34H13.6122C15.8393 34 17.7964 32.5325 18.4179 30.394C19.7318 25.8726 22.0338 17.9871 23.8421 11.9841C24.7611 8.93305 25.5266 6.31272 26.7015 4.68095C27.3602 3.76611 28.458 3 30 3Z","fill":"url(#paint2_linear_3984_10372)"}}),_c('path',{attrs:{"d":"M30 3H12.5C7.49997 3 4.49997 9.5 2.49997 16C0.13049 23.7008 -2.97003 34 5.99997 34H13.6122C15.8393 34 17.7964 32.5325 18.4179 30.394C19.7318 25.8726 22.0338 17.9871 23.8421 11.9841C24.7611 8.93305 25.5266 6.31272 26.7015 4.68095C27.3602 3.76611 28.458 3 30 3Z","fill":"url(#paint3_linear_3984_10372)"}}),_c('path',{attrs:{"d":"M17.9963 45H35.4963C40.4963 45 43.4963 38.5 45.4963 32C47.8658 24.2992 50.9663 14 41.9963 14H34.3841C32.157 14 30.1999 15.4675 29.5784 17.606C28.2645 22.1274 25.9625 30.0129 24.1543 36.0159C23.2352 39.0669 22.4697 41.6873 21.2948 43.319C20.6361 44.2339 19.5383 45 17.9963 45Z","fill":"url(#paint4_radial_3984_10372)"}}),_c('path',{attrs:{"d":"M17.9963 45H35.4963C40.4963 45 43.4963 38.5 45.4963 32C47.8658 24.2992 50.9663 14 41.9963 14H34.3841C32.157 14 30.1999 15.4675 29.5784 17.606C28.2645 22.1274 25.9625 30.0129 24.1543 36.0159C23.2352 39.0669 22.4697 41.6873 21.2948 43.319C20.6361 44.2339 19.5383 45 17.9963 45Z","fill":"url(#paint5_linear_3984_10372)"}})]),_c('defs',[_c('radialGradient',{attrs:{"id":"paint0_radial_3984_10372","cx":"0","cy":"0","r":"1","gradientUnits":"userSpaceOnUse","gradientTransform":"translate(39.3087 20.1095) rotate(-130.498) scale(18.242 17.2825)"}},[_c('stop',{attrs:{"offset":"0.0955758","stop-color":"#00AEFF"}}),_c('stop',{attrs:{"offset":"0.773185","stop-color":"#2253CE"}}),_c('stop',{attrs:{"offset":"1","stop-color":"#0736C4"}})],1),_c('radialGradient',{attrs:{"id":"paint1_radial_3984_10372","cx":"0","cy":"0","r":"1","gradientUnits":"userSpaceOnUse","gradientTransform":"translate(9.88779 33.7078) rotate(50.1259) scale(16.5438 16.2528)"}},[_c('stop',{attrs:{"stop-color":"#FFB657"}}),_c('stop',{attrs:{"offset":"0.633728","stop-color":"#FF5F3D"}}),_c('stop',{attrs:{"offset":"0.923392","stop-color":"#C02B3C"}})],1),_c('linearGradient',{attrs:{"id":"paint2_linear_3984_10372","x1":"11.4526","y1":"6.75624","x2":"13.8689","y2":"35.1765","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"offset":"0.156162","stop-color":"#0D91E1"}}),_c('stop',{attrs:{"offset":"0.487484","stop-color":"#52B471"}}),_c('stop',{attrs:{"offset":"0.652394","stop-color":"#98BD42"}}),_c('stop',{attrs:{"offset":"0.937361","stop-color":"#FFC800"}})],1),_c('linearGradient',{attrs:{"id":"paint3_linear_3984_10372","x1":"13.6347","y1":"3","x2":"14.954","y2":"34.0019","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"stop-color":"#3DCBFF"}}),_c('stop',{attrs:{"offset":"0.246674","stop-color":"#0588F7","stop-opacity":"0"}})],1),_c('radialGradient',{attrs:{"id":"paint4_radial_3984_10372","cx":"0","cy":"0","r":"1","gradientUnits":"userSpaceOnUse","gradientTransform":"translate(42.8953 10.9649) rotate(109.574) scale(41.2667 50.0822)"}},[_c('stop',{attrs:{"offset":"0.0661714","stop-color":"#8C48FF"}}),_c('stop',{attrs:{"offset":"0.5","stop-color":"#F2598A"}}),_c('stop',{attrs:{"offset":"0.895833","stop-color":"#FFB152"}})],1),_c('linearGradient',{attrs:{"id":"paint5_linear_3984_10372","x1":"44.2778","y1":"12.1074","x2":"44.2606","y2":"20.5507","gradientUnits":"userSpaceOnUse"}},[_c('stop',{attrs:{"offset":"0.0581535","stop-color":"#F8ADFA"}}),_c('stop',{attrs:{"offset":"0.708063","stop-color":"#A86EDD","stop-opacity":"0"}})],1),_c('clipPath',{attrs:{"id":"clip0_3984_10372"}},[_c('rect',{attrs:{"width":"48","height":"48","fill":"white"}})])],1)])]})],2),_c('div',{staticClass:"head-label"},[_vm._v(_vm._s(_vm.aiName))])])
|
|
17660
18044
|
}
|
|
17661
18045
|
var AnswerHeadvue_type_template_id_c2abd5b4_scoped_true_staticRenderFns = []
|
|
@@ -17696,7 +18080,7 @@ var AnswerHead_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17696
18080
|
)
|
|
17697
18081
|
|
|
17698
18082
|
/* 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":"
|
|
18083
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/copy.vue?vue&type=template&id=78ca311e
|
|
17700
18084
|
var copyvue_type_template_id_78ca311e_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M5.5028 4.62704L5.5 6.75V17.2542C5.5 19.0491 6.95507 20.5042 8.75 20.5042L17.3663 20.5045C17.0573 21.3782 16.224 22.0042 15.2444 22.0042H8.75C6.12665 22.0042 4 19.8776 4 17.2542V6.75C4 5.76929 4.62745 4.93512 5.5028 4.62704ZM17.75 2C18.9926 2 20 3.00736 20 4.25V17.25C20 18.4926 18.9926 19.5 17.75 19.5H8.75C7.50736 19.5 6.5 18.4926 6.5 17.25V4.25C6.5 3.00736 7.50736 2 8.75 2H17.75ZM17.75 3.5H8.75C8.33579 3.5 8 3.83579 8 4.25V17.25C8 17.6642 8.33579 18 8.75 18H17.75C18.1642 18 18.5 17.6642 18.5 17.25V4.25C18.5 3.83579 18.1642 3.5 17.75 3.5Z"}})])
|
|
17701
18085
|
}
|
|
17702
18086
|
var copyvue_type_template_id_78ca311e_staticRenderFns = []
|
|
@@ -17723,7 +18107,7 @@ var copy_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17723
18107
|
)
|
|
17724
18108
|
|
|
17725
18109
|
/* 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":"
|
|
18110
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/download.vue?vue&type=template&id=32982189
|
|
17727
18111
|
var downloadvue_type_template_id_32982189_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M18.2498 20.5009C18.664 20.5008 19 20.8365 19 21.2507C19 21.6649 18.6644 22.0008 18.2502 22.0009L5.25022 22.0047C4.836 22.0048 4.5 21.6691 4.5 21.2549C4.5 20.8407 4.83557 20.5048 5.24978 20.5047L18.2498 20.5009ZM11.6482 2.01271L11.75 2.00586C12.1297 2.00586 12.4435 2.28801 12.4932 2.65409L12.5 2.75586L12.499 16.4409L16.2208 12.7205C16.4871 12.4543 16.9038 12.4301 17.1974 12.648L17.2815 12.7206C17.5477 12.9869 17.5719 13.4036 17.354 13.6972L17.2814 13.7813L12.2837 18.7779C12.0176 19.044 11.6012 19.0683 11.3076 18.8507L11.2235 18.7782L6.22003 13.7816C5.92694 13.4889 5.92661 13.014 6.21931 12.7209C6.48539 12.4545 6.90204 12.43 7.1958 12.6477L7.27997 12.7202L10.999 16.4339L11 2.75586C11 2.37616 11.2822 2.06237 11.6482 2.01271L11.75 2.00586L11.6482 2.01271Z"}})])
|
|
17728
18112
|
}
|
|
17729
18113
|
var downloadvue_type_template_id_32982189_staticRenderFns = []
|
|
@@ -17750,7 +18134,34 @@ var download_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17750
18134
|
)
|
|
17751
18135
|
|
|
17752
18136
|
/* 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":"
|
|
18137
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue?vue&type=template&id=8a336b68
|
|
18138
|
+
var speakervue_type_template_id_8a336b68_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{staticStyle:{"outline":"none"},attrs:{"xmlns":"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true","role":"img","width":"1em","height":"1em","viewBox":"0 0 256 256","data-v-195ed1f2":""}},[_c('path',{attrs:{"fill":"currentColor","d":"M154.64 26.61a6 6 0 0 0-6.32.65L77.94 82H32a14 14 0 0 0-14 14v64a14 14 0 0 0 14 14h45.94l70.38 54.74A6 6 0 0 0 158 224V32a6 6 0 0 0-3.36-5.39ZM30 160V96a2 2 0 0 1 2-2h42v68H32a2 2 0 0 1-2-2Zm116 51.73l-60-46.66V90.93l60-46.66Zm50.53-108.85a38 38 0 0 1 0 50.24a6 6 0 1 1-9-7.94a26 26 0 0 0 0-34.37a6 6 0 0 1 9-7.93ZM246 128a77.86 77.86 0 0 1-19.86 52a6 6 0 1 1-8.94-8a66 66 0 0 0 0-88a6 6 0 1 1 8.94-8A77.86 77.86 0 0 1 246 128Z"}})])
|
|
18139
|
+
}
|
|
18140
|
+
var speakervue_type_template_id_8a336b68_staticRenderFns = []
|
|
18141
|
+
|
|
18142
|
+
|
|
18143
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue?vue&type=template&id=8a336b68
|
|
18144
|
+
|
|
18145
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/icons/speaker.vue
|
|
18146
|
+
|
|
18147
|
+
var speaker_script = {}
|
|
18148
|
+
|
|
18149
|
+
|
|
18150
|
+
/* normalize component */
|
|
18151
|
+
|
|
18152
|
+
var speaker_component = Object(componentNormalizer["a" /* default */])(
|
|
18153
|
+
speaker_script,
|
|
18154
|
+
speakervue_type_template_id_8a336b68_render,
|
|
18155
|
+
speakervue_type_template_id_8a336b68_staticRenderFns,
|
|
18156
|
+
false,
|
|
18157
|
+
null,
|
|
18158
|
+
null,
|
|
18159
|
+
null
|
|
18160
|
+
|
|
18161
|
+
)
|
|
18162
|
+
|
|
18163
|
+
/* harmony default export */ var speaker = (speaker_component.exports);
|
|
18164
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/like.vue?vue&type=template&id=3bb849e2
|
|
17754
18165
|
var likevue_type_template_id_3bb849e2_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M16.5 5.202c0-2.442-1.14-4.198-3.007-4.198-1.026 0-1.378.601-1.746 2-.075.288-.112.429-.151.567-.101.36-.277.97-.527 1.831a.25.25 0 0 1-.03.065L8.174 9.953a5.884 5.884 0 0 1-2.855 2.327l-.473.18a2.75 2.75 0 0 0-1.716 3.092l.404 2.087a3.25 3.25 0 0 0 2.417 2.537l7.628 1.87a4.75 4.75 0 0 0 5.733-3.44l1.415-5.549a3.25 3.25 0 0 0-3.15-4.053h-1.822c.496-1.633.746-2.893.746-3.802ZM4.6 15.267a1.25 1.25 0 0 1 .78-1.405l.474-.182a7.385 7.385 0 0 0 3.582-2.92l2.867-4.485c.09-.14.159-.294.205-.455.252-.865.428-1.479.53-1.842.044-.154.085-.31.159-.593.19-.722.283-.881.295-.881.868 0 1.507.984 1.507 2.698 0 .885-.326 2.336-.984 4.315a.75.75 0 0 0 .711.987h2.85a1.751 1.751 0 0 1 1.696 2.182l-1.415 5.55a3.25 3.25 0 0 1-3.923 2.353l-7.628-1.87a1.75 1.75 0 0 1-1.301-1.366L4.6 15.267Z"}})])
|
|
17755
18166
|
}
|
|
17756
18167
|
var likevue_type_template_id_3bb849e2_staticRenderFns = []
|
|
@@ -17777,7 +18188,7 @@ var like_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17777
18188
|
)
|
|
17778
18189
|
|
|
17779
18190
|
/* 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":"
|
|
18191
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/dialogue/icons/notlike.vue?vue&type=template&id=646e792e
|
|
17781
18192
|
var notlikevue_type_template_id_646e792e_render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M16.5 17.985c0 2.442-1.14 4.199-3.007 4.199-.975 0-1.341-.543-1.69-1.796l-.207-.772c-.101-.359-.277-.97-.527-1.831a.25.25 0 0 0-.03-.065l-2.866-4.486a5.884 5.884 0 0 0-2.855-2.326l-.473-.181A2.75 2.75 0 0 1 3.13 7.634l.404-2.086A3.25 3.25 0 0 1 5.95 3.01l7.628-1.87a4.75 4.75 0 0 1 5.733 3.44l1.415 5.55a3.25 3.25 0 0 1-3.15 4.052h-1.822c.496 1.633.746 2.893.746 3.802ZM4.6 7.92a1.25 1.25 0 0 0 .78 1.406l.474.18a7.385 7.385 0 0 1 3.582 2.92l2.867 4.486c.09.141.159.294.205.455l.552 1.92.212.791c.14.488.21.606.22.606.868 0 1.507-.985 1.507-2.7 0-.884-.326-2.335-.984-4.314a.75.75 0 0 1 .711-.987h2.85a1.75 1.75 0 0 0 1.696-2.182l-1.415-5.55a3.25 3.25 0 0 0-3.923-2.353l-7.628 1.87a1.75 1.75 0 0 0-1.301 1.366L4.6 7.92Z"}})])
|
|
17782
18193
|
}
|
|
17783
18194
|
var notlikevue_type_template_id_646e792e_staticRenderFns = []
|
|
@@ -17813,10 +18224,12 @@ var notlike_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17813
18224
|
|
|
17814
18225
|
|
|
17815
18226
|
|
|
18227
|
+
|
|
17816
18228
|
/* harmony default export */ var dialoguevue_type_script_lang_js = ({
|
|
17817
18229
|
components: {
|
|
17818
18230
|
UserHead: UserHead,
|
|
17819
18231
|
AnswerHead: AnswerHead,
|
|
18232
|
+
Speaker: speaker,
|
|
17820
18233
|
Copy: copy,
|
|
17821
18234
|
Download: download,
|
|
17822
18235
|
Like: like,
|
|
@@ -17857,8 +18270,8 @@ var notlike_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17857
18270
|
});
|
|
17858
18271
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=script&lang=js
|
|
17859
18272
|
/* 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
|
|
18273
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue?vue&type=style&index=0&id=675bfbc8&prod&scoped=true&lang=scss
|
|
18274
|
+
var dialoguevue_type_style_index_0_id_675bfbc8_prod_scoped_true_lang_scss = __webpack_require__("c329");
|
|
17862
18275
|
|
|
17863
18276
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/dialogue/index.vue
|
|
17864
18277
|
|
|
@@ -17871,17 +18284,17 @@ var dialoguevue_type_style_index_0_id_29b7bb01_prod_scoped_true_lang_scss = __we
|
|
|
17871
18284
|
|
|
17872
18285
|
var dialogue_component = Object(componentNormalizer["a" /* default */])(
|
|
17873
18286
|
KgCopilot_dialoguevue_type_script_lang_js,
|
|
17874
|
-
|
|
17875
|
-
|
|
18287
|
+
dialoguevue_type_template_id_675bfbc8_scoped_true_render,
|
|
18288
|
+
dialoguevue_type_template_id_675bfbc8_scoped_true_staticRenderFns,
|
|
17876
18289
|
false,
|
|
17877
18290
|
null,
|
|
17878
|
-
"
|
|
18291
|
+
"675bfbc8",
|
|
17879
18292
|
null
|
|
17880
18293
|
|
|
17881
18294
|
)
|
|
17882
18295
|
|
|
17883
18296
|
/* 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":"
|
|
18297
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=699521c0&scoped=true
|
|
17885
18298
|
var CopiFootervue_type_template_id_699521c0_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"copilot-footer"},[_c('div',{staticClass:"root"},[_c('SearchInput')],1)])
|
|
17886
18299
|
}
|
|
17887
18300
|
var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
@@ -17889,17 +18302,17 @@ var CopiFootervue_type_template_id_699521c0_scoped_true_staticRenderFns = []
|
|
|
17889
18302
|
|
|
17890
18303
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/index.vue?vue&type=template&id=699521c0&scoped=true
|
|
17891
18304
|
|
|
17892
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17893
|
-
var
|
|
18305
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=0d6f42aa&scoped=true
|
|
18306
|
+
var SearchInputvue_type_template_id_0d6f42aa_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"bottomFooter",staticClass:"bottom-footer"},[_c('div',{staticClass:"control-contain"},[_c('SelectPluginByKey',{attrs:{"isShowSelect":_vm.isShowSelect,"selectPluginList":_vm.selectPluginList,"modal":_vm.pluginModal,"activePluInd":_vm.activePluInd},on:{"close":_vm.closePluginByoutside,"deleteText":_vm.deleteText}}),_c('button',{staticClass:"control-button select-button",on:{"click":function($event){$event.stopPropagation();return _vm.openPluDialog.apply(null, arguments)}}},[_c('span',[_vm._v(" "+_vm._s(_vm.buttonText)+" ")]),_c('div',{staticClass:"icon",class:[_vm.isShowSelection && 'rotated']},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32","fill":"currentColor"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M16 0a2.4 2.4 0 012.4 2.4l-.001 11.199L29.6 13.6a2.4 2.4 0 010 4.8l-11.201-.001L18.4 29.6a2.4 2.4 0 01-4.8 0l-.001-11.201L2.4 18.4a2.4 2.4 0 010-4.8l11.199-.001L13.6 2.4A2.4 2.4 0 0116 0z"}})])])]),_c('NewTheme'),(_vm.sendLonding)?_c('button',{staticClass:"control-button stop-responding-button",on:{"click":_vm.handleClickStopBtn}},[_c('div',{staticClass:"stop-icon"}),_c('span',[_vm._v("停止生成")])]):_vm._e()],1),_c('div',{staticClass:"input-container"},[(Object.keys(_vm.checkedPluginByBtn).length)?_c('div',{staticClass:"plugin-town"},[_vm._v(" 已选智能体:"+_vm._s(_vm.checkedPluginByBtn.name)+" ")]):_vm._e(),_c('div',{staticClass:"input-row",attrs:{"id":"copiFooter"}},[_c('div',{ref:"coptInput",staticClass:"text-area",attrs:{"contenteditable":"plaintext-only","placeholder":_vm.placeholder,"spellcheck":"false"},on:{"input":_vm.inputChange,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handlerSendMsg.apply(null, arguments)},_vm.handleKeyDown],"compositionstart":_vm.handleCompositionStart,"compositionend":_vm.handleCompositionEnd}})]),_c('div',{staticClass:"bottom-controls"},[_c('div',{staticClass:"bottom-left-controls"}),_c('div',{staticClass:"bottom-right-controls"},[_c('span',{staticClass:"text-sum"},[_c('span',[_vm._v(_vm._s(_vm.textLength))]),_vm._v("/2000")]),_c('button',{staticClass:"send-button",on:{"click":_vm.handlerSendMsg}},[_c('i',{staticClass:"el-icon-s-promotion",class:['icon'],style:({
|
|
17894
18307
|
color: _vm.textLength && !_vm.sendLonding ? '#1e56ea' : '#dbdbdb'
|
|
17895
18308
|
})})])])]),(_vm.stopDialogue)?_c('div',{staticClass:"disable",attrs:{"click.stop":""}}):_vm._e()])])
|
|
17896
18309
|
}
|
|
17897
|
-
var
|
|
18310
|
+
var SearchInputvue_type_template_id_0d6f42aa_scoped_true_staticRenderFns = []
|
|
17898
18311
|
|
|
17899
18312
|
|
|
17900
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=
|
|
18313
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=template&id=0d6f42aa&scoped=true
|
|
17901
18314
|
|
|
17902
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18315
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/NewTheme.vue?vue&type=template&id=4ec3d63f&scoped=true
|
|
17903
18316
|
var NewThemevue_type_template_id_4ec3d63f_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"outside-left-container"},[_c('button',{staticClass:"button-compose",style:({ width: _vm.newthemeWidth + 'px' }),attrs:{"type":"button","aria-label":"新主题"},on:{"mouseenter":_vm.mouseEnterBtn,"mouseleave":_vm.mouseLeaveBtn,"click":_vm.getNewTheme}},[_c('div',{staticClass:"button-compose-content"},[_c('div',{staticClass:"button-compose-icon"},[_c('svg',{staticClass:"button-compose-icon",attrs:{"width":"24","viewBox":"0 0 24 24","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"fill":"#fff","d":"M12 2C17.5228 2 22 6.47715 22 12C22 12.2628 21.9899 12.5232 21.97 12.7809C21.5319 12.3658 21.0361 12.0111 20.4958 11.73C20.3532 7.16054 16.6041 3.5 12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 13.4696 3.87277 14.8834 4.57303 16.1375L4.72368 16.4072L3.61096 20.3914L7.59755 19.2792L7.86709 19.4295C9.04305 20.0852 10.3592 20.4531 11.73 20.4958C12.0111 21.0361 12.3658 21.5319 12.7809 21.97C12.5232 21.9899 12.2628 22 12 22C10.3817 22 8.81782 21.6146 7.41286 20.888L3.58704 21.9553C2.92212 22.141 2.23258 21.7525 2.04691 21.0876C1.98546 20.8676 1.98549 20.6349 2.04695 20.4151L3.11461 16.5922C2.38637 15.186 2 13.6203 2 12C2 6.47715 6.47715 2 12 2ZM23 17.5C23 14.4624 20.5376 12 17.5 12C14.4624 12 12 14.4624 12 17.5C12 20.5376 14.4624 23 17.5 23C20.5376 23 23 20.5376 23 17.5ZM18.0006 18L18.0011 20.5035C18.0011 20.7797 17.7773 21.0035 17.5011 21.0035C17.225 21.0035 17.0011 20.7797 17.0011 20.5035L17.0006 18H14.4956C14.2197 18 13.9961 17.7762 13.9961 17.5C13.9961 17.2239 14.2197 17 14.4956 17H17.0005L17 14.4993C17 14.2231 17.2239 13.9993 17.5 13.9993C17.7761 13.9993 18 14.2231 18 14.4993L18.0005 17H20.4966C20.7725 17 20.9961 17.2239 20.9961 17.5C20.9961 17.7762 20.7725 18 20.4966 18H18.0006Z"}})])]),_c('div',{staticClass:"button-compose-text"},[_vm._v("新主题")])])])])
|
|
17904
18317
|
}
|
|
17905
18318
|
var NewThemevue_type_template_id_4ec3d63f_scoped_true_staticRenderFns = []
|
|
@@ -17967,13 +18380,13 @@ var NewTheme_component = Object(componentNormalizer["a" /* default */])(
|
|
|
17967
18380
|
)
|
|
17968
18381
|
|
|
17969
18382
|
/* 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
|
|
18383
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"548cf4de-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=574c5ff1&scoped=true
|
|
18384
|
+
var SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade-scale"}},[(_vm.isShowSelect)?_c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.onClickOutside),expression:"onClickOutside"}],staticClass:"selection",style:({ top: _vm.modal === 'key' ? '-105px' : '-150px' })},[_c('div',{ref:"pluginContent",staticClass:"plugin-content"},_vm._l((_vm.selectPluginList),function(plugin,index){return _c('el-popover',{key:index,attrs:{"offset":0,"placement":"right-start","title":plugin.name,"width":200,"trigger":"hover","content":plugin.introduce,"open-delay":200,"close-delay":0}},[_c('div',{ref:"pluginItem",refInFor:true,staticClass:"plugin-item",class:{ isSel: index === _vm.activePluInd },attrs:{"slot":"reference"},on:{"click":function($event){return _vm.choosePlugin(plugin)}},slot:"reference"},[_c('span',[_vm._v(_vm._s(plugin.name))]),_c('div',{staticClass:"plugin-item-right"},[_c('div',{staticClass:"select-radio",class:{ 'active-radio': _vm.checkedPluginByBtn === plugin }},[_c('i',{staticClass:"el-icon-check",class:['icon', { hoverIcon: index === _vm.activePluInd }]})])])])])}),1)]):_vm._e()])
|
|
17972
18385
|
}
|
|
17973
|
-
var
|
|
18386
|
+
var SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_staticRenderFns = []
|
|
17974
18387
|
|
|
17975
18388
|
|
|
17976
|
-
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=
|
|
18389
|
+
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=template&id=574c5ff1&scoped=true
|
|
17977
18390
|
|
|
17978
18391
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
17979
18392
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
@@ -18357,8 +18770,8 @@ function createDocumentHandler(el, binding, vnode) {
|
|
|
18357
18770
|
});
|
|
18358
18771
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=script&lang=js
|
|
18359
18772
|
/* 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
|
|
18773
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue?vue&type=style&index=0&id=574c5ff1&prod&scoped=true&lang=scss
|
|
18774
|
+
var SelectPluginByKeyvue_type_style_index_0_id_574c5ff1_prod_scoped_true_lang_scss = __webpack_require__("2b76");
|
|
18362
18775
|
|
|
18363
18776
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue
|
|
18364
18777
|
|
|
@@ -18371,11 +18784,11 @@ var SelectPluginByKeyvue_type_style_index_0_id_43afc106_prod_scoped_true_lang_sc
|
|
|
18371
18784
|
|
|
18372
18785
|
var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])(
|
|
18373
18786
|
SearchInput_SelectPluginByKeyvue_type_script_lang_js,
|
|
18374
|
-
|
|
18375
|
-
|
|
18787
|
+
SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_render,
|
|
18788
|
+
SelectPluginByKeyvue_type_template_id_574c5ff1_scoped_true_staticRenderFns,
|
|
18376
18789
|
false,
|
|
18377
18790
|
null,
|
|
18378
|
-
"
|
|
18791
|
+
"574c5ff1",
|
|
18379
18792
|
null
|
|
18380
18793
|
|
|
18381
18794
|
)
|
|
@@ -18402,7 +18815,7 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18402
18815
|
isShowSelect: false,
|
|
18403
18816
|
cursorPos: 0,
|
|
18404
18817
|
cursorCurrentPos: 0,
|
|
18405
|
-
buttonText: '
|
|
18818
|
+
buttonText: '选择智能体',
|
|
18406
18819
|
isShowSelection: false,
|
|
18407
18820
|
outsideClose: false,
|
|
18408
18821
|
isComposing: false,
|
|
@@ -18458,7 +18871,7 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18458
18871
|
this.timerCursor = setTimeout(() => {
|
|
18459
18872
|
this.cursorCurrentPos = this.getCursorPosition();
|
|
18460
18873
|
this.searchPluText = e.target.innerText.substring(this.cursorPos + 1, this.cursorCurrentPos);
|
|
18461
|
-
//
|
|
18874
|
+
// 搜索智能体
|
|
18462
18875
|
this.searchPlugin(this.searchPluText);
|
|
18463
18876
|
}, 500);
|
|
18464
18877
|
}
|
|
@@ -18495,12 +18908,16 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18495
18908
|
case 'ArrowUp':
|
|
18496
18909
|
event.preventDefault();
|
|
18497
18910
|
if (this.isComposing) return;
|
|
18498
|
-
this.
|
|
18911
|
+
if (this.isShowSelect) {
|
|
18912
|
+
this.changePlugin('up');
|
|
18913
|
+
}
|
|
18499
18914
|
break;
|
|
18500
18915
|
case 'ArrowDown':
|
|
18501
18916
|
event.preventDefault();
|
|
18502
18917
|
if (this.isComposing) return;
|
|
18503
|
-
this.
|
|
18918
|
+
if (this.isShowSelect) {
|
|
18919
|
+
this.changePlugin('down');
|
|
18920
|
+
}
|
|
18504
18921
|
break;
|
|
18505
18922
|
case 'ArrowRight':
|
|
18506
18923
|
if (this.isShowSelect) {
|
|
@@ -18626,9 +19043,9 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18626
19043
|
checkedPluginByBtn: {
|
|
18627
19044
|
handler(val) {
|
|
18628
19045
|
if (Object.keys(val).length) {
|
|
18629
|
-
this.buttonText = '
|
|
19046
|
+
this.buttonText = '已选智能体';
|
|
18630
19047
|
} else {
|
|
18631
|
-
this.buttonText = '
|
|
19048
|
+
this.buttonText = '选择智能体';
|
|
18632
19049
|
}
|
|
18633
19050
|
},
|
|
18634
19051
|
immediate: true // 立即执行一次 handler
|
|
@@ -18665,8 +19082,8 @@ var SelectPluginByKey_component = Object(componentNormalizer["a" /* default */])
|
|
|
18665
19082
|
});
|
|
18666
19083
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=script&lang=js
|
|
18667
19084
|
/* 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
|
|
19085
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue?vue&type=style&index=0&id=0d6f42aa&prod&lang=scss&scoped=true
|
|
19086
|
+
var SearchInputvue_type_style_index_0_id_0d6f42aa_prod_lang_scss_scoped_true = __webpack_require__("15ae");
|
|
18670
19087
|
|
|
18671
19088
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/CopiFooter/SearchInput/index.vue
|
|
18672
19089
|
|
|
@@ -18679,11 +19096,11 @@ var SearchInputvue_type_style_index_0_id_295ca730_prod_lang_scss_scoped_true = _
|
|
|
18679
19096
|
|
|
18680
19097
|
var SearchInput_component = Object(componentNormalizer["a" /* default */])(
|
|
18681
19098
|
CopiFooter_SearchInputvue_type_script_lang_js,
|
|
18682
|
-
|
|
18683
|
-
|
|
19099
|
+
SearchInputvue_type_template_id_0d6f42aa_scoped_true_render,
|
|
19100
|
+
SearchInputvue_type_template_id_0d6f42aa_scoped_true_staticRenderFns,
|
|
18684
19101
|
false,
|
|
18685
19102
|
null,
|
|
18686
|
-
"
|
|
19103
|
+
"0d6f42aa",
|
|
18687
19104
|
null
|
|
18688
19105
|
|
|
18689
19106
|
)
|
|
@@ -18738,10 +19155,6 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18738
19155
|
...Object(vuex_esm["d" /* mapState */])('copilot', ['searchText', 'msgList'])
|
|
18739
19156
|
},
|
|
18740
19157
|
props: {
|
|
18741
|
-
getkitsUrl: {
|
|
18742
|
-
type: String,
|
|
18743
|
-
default: ''
|
|
18744
|
-
},
|
|
18745
19158
|
plugins: {
|
|
18746
19159
|
type: Array,
|
|
18747
19160
|
default: () => []
|
|
@@ -18760,7 +19173,17 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18760
19173
|
},
|
|
18761
19174
|
placeholder: {
|
|
18762
19175
|
type: String,
|
|
18763
|
-
default: '
|
|
19176
|
+
default: '输入“@”选择智能体,可通过上下键切换智能体选项,回车选中。'
|
|
19177
|
+
},
|
|
19178
|
+
intelligentAnalysisConfig: {
|
|
19179
|
+
type: Object,
|
|
19180
|
+
default: () => ({}),
|
|
19181
|
+
required: true
|
|
19182
|
+
},
|
|
19183
|
+
defaultDeal: {
|
|
19184
|
+
type: Object,
|
|
19185
|
+
default: () => ({}),
|
|
19186
|
+
required: true
|
|
18764
19187
|
}
|
|
18765
19188
|
},
|
|
18766
19189
|
mounted() {
|
|
@@ -18772,8 +19195,9 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18772
19195
|
initText: this.initText,
|
|
18773
19196
|
aiName: this.aiName,
|
|
18774
19197
|
maxSendNum: this.maxSendNum,
|
|
18775
|
-
|
|
18776
|
-
|
|
19198
|
+
placeholder: this.placeholder,
|
|
19199
|
+
intelligentAnalysisConfig: this.intelligentAnalysisConfig,
|
|
19200
|
+
defaultDeal: this.defaultDeal
|
|
18777
19201
|
});
|
|
18778
19202
|
},
|
|
18779
19203
|
methods: {
|
|
@@ -18796,8 +19220,8 @@ var CopiFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18796
19220
|
});
|
|
18797
19221
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=script&lang=js
|
|
18798
19222
|
/* 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
|
|
19223
|
+
// EXTERNAL MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue?vue&type=style&index=0&id=566d1286&prod&scoped=true&lang=scss
|
|
19224
|
+
var mainvue_type_style_index_0_id_566d1286_prod_scoped_true_lang_scss = __webpack_require__("2ba9");
|
|
18801
19225
|
|
|
18802
19226
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/KgCopilot/main.vue
|
|
18803
19227
|
|
|
@@ -18814,7 +19238,7 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18814
19238
|
staticRenderFns,
|
|
18815
19239
|
false,
|
|
18816
19240
|
null,
|
|
18817
|
-
"
|
|
19241
|
+
"566d1286",
|
|
18818
19242
|
null
|
|
18819
19243
|
|
|
18820
19244
|
)
|
|
@@ -18832,13 +19256,6 @@ var main_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18832
19256
|
/* unused harmony reexport * */
|
|
18833
19257
|
|
|
18834
19258
|
|
|
18835
|
-
/***/ }),
|
|
18836
|
-
|
|
18837
|
-
/***/ "9f4b":
|
|
18838
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
18839
|
-
|
|
18840
|
-
// extracted by mini-css-extract-plugin
|
|
18841
|
-
|
|
18842
19259
|
/***/ }),
|
|
18843
19260
|
|
|
18844
19261
|
/***/ "a04b":
|
|
@@ -19093,6 +19510,13 @@ function basic(hljs) {
|
|
|
19093
19510
|
module.exports = basic;
|
|
19094
19511
|
|
|
19095
19512
|
|
|
19513
|
+
/***/ }),
|
|
19514
|
+
|
|
19515
|
+
/***/ "a23d":
|
|
19516
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
19517
|
+
|
|
19518
|
+
// extracted by mini-css-extract-plugin
|
|
19519
|
+
|
|
19096
19520
|
/***/ }),
|
|
19097
19521
|
|
|
19098
19522
|
/***/ "a5f0":
|
|
@@ -19267,7 +19691,7 @@ const getters = {
|
|
|
19267
19691
|
let mappingData = []; // 取交集
|
|
19268
19692
|
if (getters.selFilter_xinyuan.length !== 0) {
|
|
19269
19693
|
getters.selFilter_xinyuan.forEach(selF => {
|
|
19270
|
-
const temp = selF.dependencyList;
|
|
19694
|
+
const temp = selF.dependencyList || [];
|
|
19271
19695
|
if (mappingData.length === 0) {
|
|
19272
19696
|
mappingData = temp;
|
|
19273
19697
|
} else {
|
|
@@ -19293,7 +19717,7 @@ const getters = {
|
|
|
19293
19717
|
let mappingData = []; // 取交集
|
|
19294
19718
|
if (getters.selFilter_zhutiAndShuxing.length !== 0) {
|
|
19295
19719
|
getters.selFilter_zhutiAndShuxing.forEach(selF => {
|
|
19296
|
-
const temp = selF.dependencyList;
|
|
19720
|
+
const temp = selF.dependencyList || [];
|
|
19297
19721
|
if (mappingData.length === 0) {
|
|
19298
19722
|
mappingData = temp;
|
|
19299
19723
|
} else {
|
|
@@ -19318,7 +19742,7 @@ const getters = {
|
|
|
19318
19742
|
let mappingData = []; // 取交集
|
|
19319
19743
|
if (getters.selFilter_query.length !== 0) {
|
|
19320
19744
|
getters.selFilter_query.forEach(selF => {
|
|
19321
|
-
const temp = selF.dependencyList;
|
|
19745
|
+
const temp = selF.dependencyList || [];
|
|
19322
19746
|
if (mappingData.length === 0) {
|
|
19323
19747
|
mappingData = temp;
|
|
19324
19748
|
} else {
|
|
@@ -23444,12 +23868,12 @@ module.exports = function (input, pref) {
|
|
|
23444
23868
|
|
|
23445
23869
|
/***/ }),
|
|
23446
23870
|
|
|
23447
|
-
/***/ "
|
|
23871
|
+
/***/ "c329":
|
|
23448
23872
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23449
23873
|
|
|
23450
23874
|
"use strict";
|
|
23451
|
-
/* harmony import */ var
|
|
23452
|
-
/* harmony import */ var
|
|
23875
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_675bfbc8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("84ab");
|
|
23876
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_675bfbc8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_675bfbc8_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
23453
23877
|
/* unused harmony reexport * */
|
|
23454
23878
|
|
|
23455
23879
|
|
|
@@ -23554,17 +23978,6 @@ module.exports = function transformData(data, headers, fns) {
|
|
|
23554
23978
|
module.exports = false;
|
|
23555
23979
|
|
|
23556
23980
|
|
|
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
23981
|
/***/ }),
|
|
23569
23982
|
|
|
23570
23983
|
/***/ "c532":
|
|
@@ -23971,6 +24384,13 @@ var store = global[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
23971
24384
|
module.exports = store;
|
|
23972
24385
|
|
|
23973
24386
|
|
|
24387
|
+
/***/ }),
|
|
24388
|
+
|
|
24389
|
+
/***/ "c7f7":
|
|
24390
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24391
|
+
|
|
24392
|
+
// extracted by mini-css-extract-plugin
|
|
24393
|
+
|
|
23974
24394
|
/***/ }),
|
|
23975
24395
|
|
|
23976
24396
|
/***/ "c8af":
|
|
@@ -24979,6 +25399,13 @@ module.exports = function (argument, $default) {
|
|
|
24979
25399
|
/* unused harmony reexport * */
|
|
24980
25400
|
|
|
24981
25401
|
|
|
25402
|
+
/***/ }),
|
|
25403
|
+
|
|
25404
|
+
/***/ "e597":
|
|
25405
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25406
|
+
|
|
25407
|
+
// extracted by mini-css-extract-plugin
|
|
25408
|
+
|
|
24982
25409
|
/***/ }),
|
|
24983
25410
|
|
|
24984
25411
|
/***/ "e5cb":
|
|
@@ -25125,13 +25552,6 @@ module.exports = Array.isArray || function isArray(argument) {
|
|
|
25125
25552
|
|
|
25126
25553
|
/***/ }),
|
|
25127
25554
|
|
|
25128
|
-
/***/ "ec2b":
|
|
25129
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
25130
|
-
|
|
25131
|
-
// extracted by mini-css-extract-plugin
|
|
25132
|
-
|
|
25133
|
-
/***/ }),
|
|
25134
|
-
|
|
25135
25555
|
/***/ "ee8c":
|
|
25136
25556
|
/***/ (function(module, exports) {
|
|
25137
25557
|
|
|
@@ -26651,6 +27071,13 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
26651
27071
|
};
|
|
26652
27072
|
|
|
26653
27073
|
|
|
27074
|
+
/***/ }),
|
|
27075
|
+
|
|
27076
|
+
/***/ "f607":
|
|
27077
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
27078
|
+
|
|
27079
|
+
// extracted by mini-css-extract-plugin
|
|
27080
|
+
|
|
26654
27081
|
/***/ }),
|
|
26655
27082
|
|
|
26656
27083
|
/***/ "f6b4":
|
|
@@ -26748,17 +27175,6 @@ module.exports = function (key) {
|
|
|
26748
27175
|
|
|
26749
27176
|
// extracted by mini-css-extract-plugin
|
|
26750
27177
|
|
|
26751
|
-
/***/ }),
|
|
26752
|
-
|
|
26753
|
-
/***/ "f9ee":
|
|
26754
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26755
|
-
|
|
26756
|
-
"use strict";
|
|
26757
|
-
/* 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_295ca730_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6825");
|
|
26758
|
-
/* 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_295ca730_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_295ca730_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
26759
|
-
/* unused harmony reexport * */
|
|
26760
|
-
|
|
26761
|
-
|
|
26762
27178
|
/***/ }),
|
|
26763
27179
|
|
|
26764
27180
|
/***/ "fb15":
|
|
@@ -26890,10 +27306,10 @@ files.keys().forEach(key => {
|
|
|
26890
27306
|
|
|
26891
27307
|
// CONCATENATED MODULE: ./packages/know_ui_v2/store/index.js
|
|
26892
27308
|
const storeMoudles = {};
|
|
26893
|
-
/**
|
|
26894
|
-
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
26895
|
-
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
26896
|
-
* 名注册在外部应用
|
|
27309
|
+
/**
|
|
27310
|
+
* 自动加载@packages/know_ui_v2/store/moudle目录下xxxStore.js模块并
|
|
27311
|
+
* 以xxx为模块名注册外部应用store,如copilotStore.js会以copilot为仓库模块
|
|
27312
|
+
* 名注册在外部应用
|
|
26897
27313
|
*/
|
|
26898
27314
|
const store_files = __webpack_require__("27d5");
|
|
26899
27315
|
store_files.keys().forEach(key => {
|
|
@@ -26908,9 +27324,9 @@ function setStoreMoudles(store) {
|
|
|
26908
27324
|
}
|
|
26909
27325
|
}
|
|
26910
27326
|
// CONCATENATED MODULE: ./packages/know_ui_v2/components/index.js
|
|
26911
|
-
/**
|
|
26912
|
-
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
26913
|
-
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
27327
|
+
/**
|
|
27328
|
+
* @packages/know_ui_v2/components文件夹下所有main.vue为单个组件入口批量导入,
|
|
27329
|
+
* 组件名优先采用自定义的,若未定义则采用顶层文件夹名如(Home, KgCopilot)
|
|
26914
27330
|
*/
|
|
26915
27331
|
const components_files = __webpack_require__("7d1c");
|
|
26916
27332
|
const components = {};
|