@blueking/monitor-trace-log 2.0.4 → 2.0.5
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/css/main.css +10 -4
- package/fonts/{iconcoolb62924b.eot → iconcool31cdeea.eot} +0 -0
- package/fonts/iconcoold83fad5.woff +0 -0
- package/fonts/{iconcool3bad25e.ttf → iconcoolf5880cc.ttf} +0 -0
- package/img/{iconcool556f70d.svg → iconcoolf2a250b.svg} +6 -0
- package/main.js +458 -48
- package/package.json +1 -1
- package/fonts/iconcoola3538a4.woff +0 -0
package/main.js
CHANGED
|
@@ -17402,6 +17402,7 @@ __webpack_require__.r(retrieve_namespaceObject);
|
|
|
17402
17402
|
__webpack_require__.d(retrieve_namespaceObject, {
|
|
17403
17403
|
createClusteringConfig: () => (createClusteringConfig),
|
|
17404
17404
|
createFieldsConfig: () => (createFieldsConfig),
|
|
17405
|
+
createOrUpdateToken: () => (createOrUpdateToken),
|
|
17405
17406
|
deleteClusteringInfo: () => (deleteClusteringInfo),
|
|
17406
17407
|
deleteFieldsConfig: () => (deleteFieldsConfig),
|
|
17407
17408
|
deleteRetrieveFavorite: () => (deleteRetrieveFavorite),
|
|
@@ -17433,6 +17434,7 @@ __webpack_require__.d(retrieve_namespaceObject, {
|
|
|
17433
17434
|
getRealTimeLog: () => (getRealTimeLog),
|
|
17434
17435
|
getRetrieveFavorite: () => (getRetrieveFavorite),
|
|
17435
17436
|
getSearchHistory: () => (getSearchHistory),
|
|
17437
|
+
getShareParams: () => (getShareParams),
|
|
17436
17438
|
getWebConsoleUrl: () => (getWebConsoleUrl),
|
|
17437
17439
|
newClsStrategy: () => (newClsStrategy),
|
|
17438
17440
|
normalStrategy: () => (normalStrategy),
|
|
@@ -21971,7 +21973,17 @@ const updateTimezone = tz => {
|
|
|
21971
21973
|
大小写匹配: 'Case sensitive matching',
|
|
21972
21974
|
精确匹配: 'Exact match',
|
|
21973
21975
|
Grep模式: 'Grep Mode',
|
|
21974
|
-
我的收藏: 'My favorites'
|
|
21976
|
+
我的收藏: 'My favorites',
|
|
21977
|
+
时间设置: 'Time Settings',
|
|
21978
|
+
静态时间: 'Static Time',
|
|
21979
|
+
动态时间: 'Dynamic Time',
|
|
21980
|
+
时间示例: 'Time Example',
|
|
21981
|
+
链接有效期: 'Link Validity Period',
|
|
21982
|
+
生成并复制链接: 'Generate And Copy Link',
|
|
21983
|
+
'会将时间转换为时间戳,按照访问人的时间进行载入': "It will convert the time to a timestamp and load it according to the visitor's time",
|
|
21984
|
+
'会将近 xxx 这种时间保留,按照访问人的近 xxx 时间进行载入': 'It will keep the time like "last xxx" and load it according to the visitor\'s last xxx time',
|
|
21985
|
+
临时分享: 'Temporary Share',
|
|
21986
|
+
分享: 'Share'
|
|
21975
21987
|
});
|
|
21976
21988
|
;// ./src/language/lang/en/route.ts
|
|
21977
21989
|
/*
|
|
@@ -36512,6 +36524,14 @@ var requestGrepResult = {
|
|
|
36512
36524
|
url: '/search/index_set/$index_set_id/grep_query/',
|
|
36513
36525
|
method: 'post'
|
|
36514
36526
|
};
|
|
36527
|
+
var createOrUpdateToken = {
|
|
36528
|
+
url: '/share/create_or_update_token/',
|
|
36529
|
+
method: 'post'
|
|
36530
|
+
};
|
|
36531
|
+
var getShareParams = {
|
|
36532
|
+
url: 'share/get_share_params/',
|
|
36533
|
+
method: 'get'
|
|
36534
|
+
};
|
|
36515
36535
|
|
|
36516
36536
|
;// ./src/services/source.js
|
|
36517
36537
|
/*
|
|
@@ -41012,74 +41032,74 @@ var RetrieveEvent;
|
|
|
41012
41032
|
* 收藏栏是否展示
|
|
41013
41033
|
*/
|
|
41014
41034
|
RetrieveEvent["FAVORITE_SHOWN_CHANGE"] = "favorite-shown-change";
|
|
41015
|
-
/**
|
|
41016
|
-
* 收藏栏宽度变化
|
|
41017
|
-
*/
|
|
41018
|
-
RetrieveEvent["FAVORITE_WIDTH_CHANGE"] = "favorite-width-change";
|
|
41019
41035
|
/**
|
|
41020
41036
|
* 收藏栏是否仅查看当前索引集
|
|
41021
41037
|
*/
|
|
41022
41038
|
RetrieveEvent["FAVORITE_VIEW_CURRENT_CHANGE"] = "favorite-view-current-change";
|
|
41023
41039
|
/**
|
|
41024
|
-
*
|
|
41025
|
-
*/
|
|
41026
|
-
RetrieveEvent["LEFT_FIELD_INFO_UPDATE"] = "left-field-info-update";
|
|
41027
|
-
/**
|
|
41028
|
-
* 左侧字段设置宽度变化
|
|
41040
|
+
* 收藏栏宽度变化
|
|
41029
41041
|
*/
|
|
41030
|
-
RetrieveEvent["
|
|
41042
|
+
RetrieveEvent["FAVORITE_WIDTH_CHANGE"] = "favorite-width-change";
|
|
41031
41043
|
/**
|
|
41032
|
-
*
|
|
41044
|
+
* 全局滚动
|
|
41033
41045
|
*/
|
|
41034
|
-
RetrieveEvent["
|
|
41046
|
+
RetrieveEvent["GLOBAL_SCROLL"] = "global-scroll";
|
|
41035
41047
|
/**
|
|
41036
|
-
*
|
|
41048
|
+
* 触发高亮设置
|
|
41037
41049
|
*/
|
|
41038
|
-
RetrieveEvent["
|
|
41050
|
+
RetrieveEvent["HILIGHT_TRIGGER"] = "hilight-trigger";
|
|
41039
41051
|
/**
|
|
41040
|
-
*
|
|
41052
|
+
* 打开索引配置
|
|
41041
41053
|
*/
|
|
41042
|
-
RetrieveEvent["
|
|
41054
|
+
RetrieveEvent["INDEX_CONFIG_OPEN"] = "index-config-open";
|
|
41043
41055
|
/**
|
|
41044
|
-
*
|
|
41056
|
+
* 索引集id 变化
|
|
41045
41057
|
*/
|
|
41046
|
-
RetrieveEvent["
|
|
41058
|
+
RetrieveEvent["INDEX_SET_ID_CHANGE"] = "index-set-id-change";
|
|
41047
41059
|
/**
|
|
41048
|
-
*
|
|
41060
|
+
* 左侧字段信息更新
|
|
41049
41061
|
*/
|
|
41050
|
-
RetrieveEvent["
|
|
41062
|
+
RetrieveEvent["LEFT_FIELD_INFO_UPDATE"] = "left-field-info-update";
|
|
41051
41063
|
/**
|
|
41052
|
-
*
|
|
41064
|
+
* 左侧字段设置是否展示
|
|
41053
41065
|
*/
|
|
41054
|
-
RetrieveEvent["
|
|
41066
|
+
RetrieveEvent["LEFT_FIELD_SETTING_SHOWN_CHANGE"] = "left-field-setting-shown-change";
|
|
41055
41067
|
/**
|
|
41056
|
-
*
|
|
41068
|
+
* 左侧字段设置宽度变化
|
|
41057
41069
|
*/
|
|
41058
|
-
RetrieveEvent["
|
|
41070
|
+
RetrieveEvent["LEFT_FIELD_SETTING_WIDTH_CHANGE"] = "left-field-setting-width-change";
|
|
41059
41071
|
/**
|
|
41060
|
-
*
|
|
41072
|
+
* 搜索时间变化
|
|
41061
41073
|
*/
|
|
41062
|
-
RetrieveEvent["
|
|
41074
|
+
RetrieveEvent["SEARCH_TIME_CHANGE"] = "search-time-change";
|
|
41063
41075
|
/**
|
|
41064
41076
|
* 搜索条件改变
|
|
41065
41077
|
*/
|
|
41066
41078
|
RetrieveEvent["SEARCH_VALUE_CHANGE"] = "search-value-change";
|
|
41067
41079
|
/**
|
|
41068
|
-
*
|
|
41080
|
+
* 搜索栏高度变化
|
|
41069
41081
|
*/
|
|
41070
|
-
RetrieveEvent["
|
|
41082
|
+
RetrieveEvent["SEARCHBAR_HEIGHT_CHANGE"] = "searchbar-height-change";
|
|
41071
41083
|
/**
|
|
41072
|
-
*
|
|
41084
|
+
* 搜索中时间改变
|
|
41073
41085
|
*/
|
|
41074
|
-
RetrieveEvent["
|
|
41086
|
+
RetrieveEvent["SEARCHING_CHANGE"] = "searching-change";
|
|
41075
41087
|
/**
|
|
41076
|
-
*
|
|
41088
|
+
* localStorage 变化
|
|
41077
41089
|
*/
|
|
41078
|
-
RetrieveEvent["
|
|
41090
|
+
RetrieveEvent["STORAGE_CHANGE"] = "storage-change";
|
|
41079
41091
|
/**
|
|
41080
|
-
*
|
|
41092
|
+
* 趋势图高度变化
|
|
41081
41093
|
*/
|
|
41082
|
-
RetrieveEvent["
|
|
41094
|
+
RetrieveEvent["TREND_GRAPH_HEIGHT_CHANGE"] = "trend-graph-height-change";
|
|
41095
|
+
/**
|
|
41096
|
+
* 趋势图搜索
|
|
41097
|
+
*/
|
|
41098
|
+
RetrieveEvent["TREND_GRAPH_SEARCH"] = "trend-graph-search";
|
|
41099
|
+
/**
|
|
41100
|
+
* 趋势图缩放
|
|
41101
|
+
*/
|
|
41102
|
+
RetrieveEvent["TREND_GRAPH_ZOOM"] = "trend-graph-zoom";
|
|
41083
41103
|
})(RetrieveEvent || (RetrieveEvent = {}));
|
|
41084
41104
|
/* harmony default export */ const retrieve_events = (RetrieveEvent);
|
|
41085
41105
|
;// ./src/views/retrieve-core/interface.ts
|
|
@@ -97919,6 +97939,7 @@ var panel_util_excluded = ["ip_chooser", "addition", "keyword"];
|
|
|
97919
97939
|
*/
|
|
97920
97940
|
|
|
97921
97941
|
function getConditionRouterParams(searchList, searchMode, isNewLink) {
|
|
97942
|
+
var append = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
97922
97943
|
var indexItem = window.mainComponent.$store.state.indexItem;
|
|
97923
97944
|
var getIPChooserStr = function getIPChooserStr(ipChooser) {
|
|
97924
97945
|
if (typeof_typeof(ipChooser) === 'object') return JSON.stringify(ipChooser);
|
|
@@ -97972,7 +97993,7 @@ function getConditionRouterParams(searchList, searchMode, isNewLink) {
|
|
|
97972
97993
|
ip_chooser: getIPChooserStr(newIPChooser)
|
|
97973
97994
|
});
|
|
97974
97995
|
}
|
|
97975
|
-
Object.assign(filterQuery, newQueryObj);
|
|
97996
|
+
Object.assign(filterQuery, newQueryObj, append !== null && append !== void 0 ? append : {});
|
|
97976
97997
|
var routeData = {
|
|
97977
97998
|
name: 'retrieve',
|
|
97978
97999
|
params: params,
|
|
@@ -102404,11 +102425,13 @@ const SearchResultTab = () => null;
|
|
|
102404
102425
|
|
|
102405
102426
|
|
|
102406
102427
|
|
|
102428
|
+
|
|
102407
102429
|
/* harmony default export */ const search_result = ((0,vue_esm.defineComponent)({
|
|
102408
102430
|
name: 'V3ResultContainer',
|
|
102409
102431
|
setup() {
|
|
102410
102432
|
const router = useRouter();
|
|
102411
102433
|
const route = useRoute();
|
|
102434
|
+
const store = use_store();
|
|
102412
102435
|
const debounceUpdateTabValue = (0,external_lodash_namespaceObject.debounce)(value => {
|
|
102413
102436
|
const isClustering = value === 'clustering';
|
|
102414
102437
|
router.replace({
|
|
@@ -102429,6 +102452,7 @@ const SearchResultTab = () => null;
|
|
|
102429
102452
|
let triggerTrend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
102430
102453
|
debounceUpdateTabValue(tab);
|
|
102431
102454
|
if (triggerTrend) {
|
|
102455
|
+
store.dispatch('requestIndexSetQuery');
|
|
102432
102456
|
setTimeout(() => {
|
|
102433
102457
|
retrieve_helper.fire(retrieve_events.TREND_GRAPH_SEARCH);
|
|
102434
102458
|
}, 300);
|
|
@@ -102465,8 +102489,8 @@ const SearchResultTab = () => null;
|
|
|
102465
102489
|
}), renderTabContent()]);
|
|
102466
102490
|
}
|
|
102467
102491
|
}));
|
|
102468
|
-
;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/sub-bar/index.vue?vue&type=template&id=
|
|
102469
|
-
var
|
|
102492
|
+
;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/sub-bar/index.vue?vue&type=template&id=6680cc42
|
|
102493
|
+
var sub_barvue_type_template_id_6680cc42_render = function render() {
|
|
102470
102494
|
var _vm = this,
|
|
102471
102495
|
_c = _vm._self._c,
|
|
102472
102496
|
_setup = _vm._self._setupProxy;
|
|
@@ -102500,7 +102524,7 @@ var sub_barvue_type_template_id_74d2d0b1_render = function render() {
|
|
|
102500
102524
|
staticClass: "box-right-option"
|
|
102501
102525
|
}, [_c(_setup.TimeSetting, {
|
|
102502
102526
|
staticClass: "custom-border-right"
|
|
102503
|
-
}), _vm._v(" "), _setup.isFieldSettingShow && _setup.store.state.spaceUid && _setup.hasCollectorConfigId ? _c(_setup.FieldSetting, {
|
|
102527
|
+
}), _vm._v(" "), !_setup.isExternal ? _c(_setup.ShareLink) : _vm._e(), _vm._v(" "), _setup.isFieldSettingShow && _setup.store.state.spaceUid && _setup.hasCollectorConfigId ? _c(_setup.FieldSetting, {
|
|
102504
102528
|
ref: "fieldSettingRef",
|
|
102505
102529
|
staticClass: "custom-border-right"
|
|
102506
102530
|
}) : _vm._e(), _vm._v(" "), !_setup.isExternal ? _c(_setup.WarningSetting, {
|
|
@@ -102542,7 +102566,7 @@ var sub_barvue_type_template_id_74d2d0b1_render = function render() {
|
|
|
102542
102566
|
}
|
|
102543
102567
|
})], 1) : _vm._e()]);
|
|
102544
102568
|
};
|
|
102545
|
-
var
|
|
102569
|
+
var sub_barvue_type_template_id_6680cc42_staticRenderFns = [];
|
|
102546
102570
|
|
|
102547
102571
|
;// ./src/components/ellipsis-tag-list/index.tsx
|
|
102548
102572
|
/*
|
|
@@ -104167,10 +104191,321 @@ const CommonList = () => null;
|
|
|
104167
104191
|
};
|
|
104168
104192
|
}
|
|
104169
104193
|
}));
|
|
104194
|
+
;// ./src/views/retrieve-v2/sub-bar/share-link.tsx
|
|
104195
|
+
|
|
104196
|
+
/*
|
|
104197
|
+
* Tencent is pleased to support the open source community by making
|
|
104198
|
+
* 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
|
|
104199
|
+
*
|
|
104200
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
|
104201
|
+
*
|
|
104202
|
+
* 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
|
|
104203
|
+
*
|
|
104204
|
+
* License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
|
|
104205
|
+
*
|
|
104206
|
+
* ---------------------------------------------------
|
|
104207
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
104208
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
|
104209
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
|
104210
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
104211
|
+
*
|
|
104212
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
|
104213
|
+
* the Software.
|
|
104214
|
+
*
|
|
104215
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
104216
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
104217
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
104218
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
104219
|
+
* IN THE SOFTWARE.
|
|
104220
|
+
*/
|
|
104221
|
+
|
|
104222
|
+
|
|
104223
|
+
|
|
104224
|
+
|
|
104225
|
+
|
|
104226
|
+
|
|
104227
|
+
|
|
104228
|
+
|
|
104229
|
+
|
|
104230
|
+
|
|
104231
|
+
/* harmony default export */ const share_link = ((0,vue_esm.defineComponent)({
|
|
104232
|
+
setup() {
|
|
104233
|
+
const store = use_store();
|
|
104234
|
+
const route = useRoute();
|
|
104235
|
+
const {
|
|
104236
|
+
t
|
|
104237
|
+
} = use_locale();
|
|
104238
|
+
const timezone = (0,vue_esm.computed)(() => store.state.indexItem.timezone);
|
|
104239
|
+
const timeRange = (0,vue_esm.computed)(() => store.state.indexItem.datePickerValue);
|
|
104240
|
+
const format = (0,vue_esm.computed)(() => store.getters.retrieveParams.format);
|
|
104241
|
+
const startTime = (0,vue_esm.computed)(() => store.getters.retrieveParams.start_time);
|
|
104242
|
+
const endTime = (0,vue_esm.computed)(() => store.getters.retrieveParams.end_time);
|
|
104243
|
+
const expireTime = (0,vue_esm.ref)('1d');
|
|
104244
|
+
const expireTimeList = (0,vue_esm.ref)([{
|
|
104245
|
+
id: '1d',
|
|
104246
|
+
name: '1天'
|
|
104247
|
+
}, {
|
|
104248
|
+
id: '1w',
|
|
104249
|
+
name: '1周'
|
|
104250
|
+
}, {
|
|
104251
|
+
id: '1m',
|
|
104252
|
+
name: '1月'
|
|
104253
|
+
}]);
|
|
104254
|
+
const link = (0,vue_esm.ref)('');
|
|
104255
|
+
const formatTimeRange = (0,vue_esm.ref)([store.getters.retrieveParams.start_time, store.getters.retrieveParams.end_time]);
|
|
104256
|
+
const timeValueType = (0,vue_esm.ref)('static');
|
|
104257
|
+
let isDatePickerChange = false;
|
|
104258
|
+
const handleTimeValueTypeChange = value => {
|
|
104259
|
+
timeValueType.value = value;
|
|
104260
|
+
if (value === 'static') {
|
|
104261
|
+
formatTimeRange.value = [startTime.value, endTime.value];
|
|
104262
|
+
}
|
|
104263
|
+
if (value === 'dynamic') {
|
|
104264
|
+
formatTimeRange.value = [timeRange.value[0], timeRange.value[1]];
|
|
104265
|
+
}
|
|
104266
|
+
};
|
|
104267
|
+
handleTimeValueTypeChange(timeValueType.value);
|
|
104268
|
+
const placeholder = (0,vue_esm.computed)(() => {
|
|
104269
|
+
if (timeValueType.value === 'static') {
|
|
104270
|
+
return `"?start_time=${(0,external_dayjs_namespaceObject["default"])(formatTimeRange.value[0]).format(format.value)}&end_time=${(0,external_dayjs_namespaceObject["default"])(formatTimeRange.value[1]).format(format.value)}"`;
|
|
104271
|
+
}
|
|
104272
|
+
return `"?start_time=${formatTimeRange.value[0]}&end_time=${formatTimeRange.value[1]}"`;
|
|
104273
|
+
});
|
|
104274
|
+
const getExpireEndTime = expire => {
|
|
104275
|
+
// expire = '1d' | '1w' | '1m' | '\d+(d|w|m)'
|
|
104276
|
+
const match = expire.match(/^(\d+)([dw]|m)$/);
|
|
104277
|
+
if (!match) return (0,external_dayjs_namespaceObject["default"])().add(1, 'day').unix();
|
|
104278
|
+
const num = parseInt(match[1], 10);
|
|
104279
|
+
const unit = match[2];
|
|
104280
|
+
let duration;
|
|
104281
|
+
switch (unit) {
|
|
104282
|
+
case 'd':
|
|
104283
|
+
duration = num * 24 * 60 * 60 * 1000; // days to milliseconds
|
|
104284
|
+
break;
|
|
104285
|
+
case 'w':
|
|
104286
|
+
duration = num * 7 * 24 * 60 * 60 * 1000; // weeks to milliseconds
|
|
104287
|
+
break;
|
|
104288
|
+
case 'm':
|
|
104289
|
+
duration = num * 30 * 24 * 60 * 60 * 1000; // months to milliseconds
|
|
104290
|
+
break;
|
|
104291
|
+
default:
|
|
104292
|
+
return num * 24 * 60 * 60 * 1000;
|
|
104293
|
+
}
|
|
104294
|
+
return (0,external_dayjs_namespaceObject["default"])().add(duration, 'millisecond').unix();
|
|
104295
|
+
};
|
|
104296
|
+
const handleShareLinkClick = () => {
|
|
104297
|
+
const result = handleTransformToTimestamp(formatTimeRange.value, format.value);
|
|
104298
|
+
const params = {
|
|
104299
|
+
route: {
|
|
104300
|
+
name: route.name,
|
|
104301
|
+
path: route.path,
|
|
104302
|
+
params: {
|
|
104303
|
+
...route.params
|
|
104304
|
+
},
|
|
104305
|
+
query: {
|
|
104306
|
+
...route.query,
|
|
104307
|
+
start_time: formatTimeRange.value[0],
|
|
104308
|
+
end_time: formatTimeRange.value[1],
|
|
104309
|
+
timezone: timezone.value,
|
|
104310
|
+
format: format.value
|
|
104311
|
+
}
|
|
104312
|
+
},
|
|
104313
|
+
store: {
|
|
104314
|
+
storage: store.state.storage,
|
|
104315
|
+
indexItem: {
|
|
104316
|
+
...store.state.indexItem,
|
|
104317
|
+
items: [],
|
|
104318
|
+
datePickerValue: formatTimeRange.value
|
|
104319
|
+
},
|
|
104320
|
+
catchFieldCustomConfig: store.state.retrieve.catchFieldCustomConfig
|
|
104321
|
+
}
|
|
104322
|
+
};
|
|
104323
|
+
src_api.request('retrieve/createOrUpdateToken', {
|
|
104324
|
+
data: {
|
|
104325
|
+
type: 'search',
|
|
104326
|
+
expire_time: getExpireEndTime(expireTime.value),
|
|
104327
|
+
// 默认1天
|
|
104328
|
+
expire_period: expireTime.value,
|
|
104329
|
+
lock_search: false,
|
|
104330
|
+
start_time: result[0],
|
|
104331
|
+
end_time: result[1],
|
|
104332
|
+
timezone: timezone.value,
|
|
104333
|
+
default_time_range: timeRange.value,
|
|
104334
|
+
space_uid: store.state.spaceUid,
|
|
104335
|
+
data: params
|
|
104336
|
+
}
|
|
104337
|
+
}).then(resp => {
|
|
104338
|
+
if (resp.result) {
|
|
104339
|
+
link.value = `${window.location.origin}/#/share/${resp.data.token}`;
|
|
104340
|
+
copyMessage(link.value, '复制成功!');
|
|
104341
|
+
return;
|
|
104342
|
+
}
|
|
104343
|
+
messageError(resp.message || t('生成链接失败,请稍后重试'));
|
|
104344
|
+
}).catch(err => {
|
|
104345
|
+
messageError(err.message || t('生成链接失败,请稍后重试'));
|
|
104346
|
+
console.error(err);
|
|
104347
|
+
});
|
|
104348
|
+
};
|
|
104349
|
+
const beforePopoverHide = e => {
|
|
104350
|
+
if (isDatePickerChange) {
|
|
104351
|
+
isDatePickerChange = false;
|
|
104352
|
+
return false;
|
|
104353
|
+
}
|
|
104354
|
+
return !e.target.closest('.bklog-v3-select-popover');
|
|
104355
|
+
};
|
|
104356
|
+
const beforeShow = () => {
|
|
104357
|
+
handleTimeValueTypeChange(timeValueType.value);
|
|
104358
|
+
return true;
|
|
104359
|
+
};
|
|
104360
|
+
/**
|
|
104361
|
+
* 处理链接有效期变化
|
|
104362
|
+
* @param val 链接有效期
|
|
104363
|
+
*/
|
|
104364
|
+
const handleExpireTimeChange = val => {
|
|
104365
|
+
// val = '1d' | '1w' | '1m' | '\d+(d|w|m)'
|
|
104366
|
+
expireTime.value = val;
|
|
104367
|
+
};
|
|
104368
|
+
const handleCutomExpireTimeChange = val => {
|
|
104369
|
+
// 处理自定义链接有效期变化
|
|
104370
|
+
// val = '\d+(d|w|m)'
|
|
104371
|
+
if (/^\d+(d|w|m)$/.test(val)) {
|
|
104372
|
+
expireTime.value = val;
|
|
104373
|
+
const customNum = parseInt(val.slice(0, -1), 10);
|
|
104374
|
+
const customUnit = val.slice(-1);
|
|
104375
|
+
const validUnits = {
|
|
104376
|
+
d: 1,
|
|
104377
|
+
w: 7,
|
|
104378
|
+
m: 30
|
|
104379
|
+
};
|
|
104380
|
+
const count = validUnits[customUnit] * customNum;
|
|
104381
|
+
if (count > 90) {
|
|
104382
|
+
messageError(t('链接有效期不能超过90天,请重新输入'));
|
|
104383
|
+
return;
|
|
104384
|
+
}
|
|
104385
|
+
expireTime.value = val;
|
|
104386
|
+
expireTimeList.value.push({
|
|
104387
|
+
id: val,
|
|
104388
|
+
name: val
|
|
104389
|
+
});
|
|
104390
|
+
} else {
|
|
104391
|
+
messageError(t('链接有效期格式错误,请输入数字和单位[{number}d|w|m]'));
|
|
104392
|
+
}
|
|
104393
|
+
};
|
|
104394
|
+
const getContentView = () => {
|
|
104395
|
+
return (0,vue_esm.h)("div", {
|
|
104396
|
+
"style": 'width: 600px; padding: 20px; display: flex; flex-direction: column; font-size: 12px;'
|
|
104397
|
+
}, [(0,vue_esm.h)("div", {
|
|
104398
|
+
"style": 'font-size: 20px; margin-bottom: 30px;'
|
|
104399
|
+
}, [(0,vue_esm.h)("span", {
|
|
104400
|
+
"class": 'bklog-icon bklog-share'
|
|
104401
|
+
}), (0,vue_esm.h)("span", {
|
|
104402
|
+
"style": 'margin-left: 6px;'
|
|
104403
|
+
}, [t('临时分享')])]), (0,vue_esm.h)("div", {
|
|
104404
|
+
"style": 'display: flex; align-items: flex-start; margin-bottom: 10px;'
|
|
104405
|
+
}, [(0,vue_esm.h)("span", {
|
|
104406
|
+
"style": 'display: inline-block; min-width: fit-content;'
|
|
104407
|
+
}, [t('时间格式'), "\uFF1A"]), (0,vue_esm.h)("div", [(0,vue_esm.h)("div", {
|
|
104408
|
+
"style": 'margin-bottom: 6px;'
|
|
104409
|
+
}, [(0,vue_esm.h)("bk-radio", {
|
|
104410
|
+
"style": 'font-size: 12px;',
|
|
104411
|
+
"attrs": {
|
|
104412
|
+
"checked": timeValueType.value === 'static'
|
|
104413
|
+
},
|
|
104414
|
+
"on": {
|
|
104415
|
+
"change": val => val && handleTimeValueTypeChange('static')
|
|
104416
|
+
}
|
|
104417
|
+
}, [t('静态时间')]), (0,vue_esm.h)("span", {
|
|
104418
|
+
"style": 'margin-left: 8px; font-size: 10px; color: #979BA5;'
|
|
104419
|
+
}, [t('会将时间转换为时间戳,按照访问人的时间进行载入')])]), (0,vue_esm.h)("div", [(0,vue_esm.h)("bk-radio", {
|
|
104420
|
+
"style": 'font-size: 12px;',
|
|
104421
|
+
"attrs": {
|
|
104422
|
+
"checked": timeValueType.value === 'dynamic'
|
|
104423
|
+
},
|
|
104424
|
+
"on": {
|
|
104425
|
+
"change": val => val && handleTimeValueTypeChange('dynamic')
|
|
104426
|
+
}
|
|
104427
|
+
}, [t('动态时间')]), (0,vue_esm.h)("span", {
|
|
104428
|
+
"style": 'margin-left: 8px; font-size: 10px; color: #979BA5;'
|
|
104429
|
+
}, [t('会将近 xxx 这种时间保留,按照访问人的近 xxx 时间进行载入')])])])]), (0,vue_esm.h)("div", {
|
|
104430
|
+
"style": 'margin-bottom: 20px'
|
|
104431
|
+
}, [(0,vue_esm.h)("span", [t('时间示例'), "\uFF1A"]), (0,vue_esm.h)("span", {
|
|
104432
|
+
"style": 'color: #979BA5;'
|
|
104433
|
+
}, [placeholder.value])]), (0,vue_esm.h)("div", {
|
|
104434
|
+
"style": 'display: flex; align-items: center; margin-bottom: 12px;'
|
|
104435
|
+
}, [(0,vue_esm.h)("span", [t('链接有效期'), ":"]), (0,vue_esm.h)("bk-select", {
|
|
104436
|
+
"style": 'width: 200px; margin-left: 10px;',
|
|
104437
|
+
"attrs": {
|
|
104438
|
+
"ext-popover-cls": 'bklog-v3-select-popover',
|
|
104439
|
+
"value": expireTime.value
|
|
104440
|
+
},
|
|
104441
|
+
"on": {
|
|
104442
|
+
"change": handleExpireTimeChange
|
|
104443
|
+
}
|
|
104444
|
+
}, [expireTimeList.value.map(item => (0,vue_esm.h)("bk-option", {
|
|
104445
|
+
"attrs": {
|
|
104446
|
+
"id": item.id,
|
|
104447
|
+
"name": item.name
|
|
104448
|
+
},
|
|
104449
|
+
"key": item.id
|
|
104450
|
+
}, [item.name])), (0,vue_esm.h)("div", {
|
|
104451
|
+
"style": 'display: flex; align-items: center; padding: 10px;',
|
|
104452
|
+
"class": 'bklog-v3-select-popover'
|
|
104453
|
+
}, [(0,vue_esm.h)("span", {
|
|
104454
|
+
"style": 'display: inline-block; min-width: fit-content;'
|
|
104455
|
+
}, [t('自定义'), ":"]), (0,vue_esm.h)("bk-input", {
|
|
104456
|
+
"style": 'width: 100%; height: 28px; margin-left: 4px;',
|
|
104457
|
+
"attrs": {
|
|
104458
|
+
"placeholder": '{number}d|w|m'
|
|
104459
|
+
},
|
|
104460
|
+
"on": {
|
|
104461
|
+
"enter": val => handleCutomExpireTimeChange(val)
|
|
104462
|
+
}
|
|
104463
|
+
})])])]), (0,vue_esm.h)("div", {
|
|
104464
|
+
"style": 'display: flex; width: 100%; margin-top: 12px;'
|
|
104465
|
+
}, [(0,vue_esm.h)("bk-input", {
|
|
104466
|
+
"attrs": {
|
|
104467
|
+
"placeholder": `{SITE_URL}/share/{LINK_ID}`,
|
|
104468
|
+
"readonly": true,
|
|
104469
|
+
"value": link.value
|
|
104470
|
+
}
|
|
104471
|
+
}), (0,vue_esm.h)("bk-button", {
|
|
104472
|
+
"style": 'margin-left: -2px; border-radius: 0 2px 2px 0; min-width: fit-content;',
|
|
104473
|
+
"attrs": {
|
|
104474
|
+
"theme": 'primary'
|
|
104475
|
+
},
|
|
104476
|
+
"on": {
|
|
104477
|
+
"click": handleShareLinkClick
|
|
104478
|
+
}
|
|
104479
|
+
}, [t('生成并复制链接')])])]);
|
|
104480
|
+
};
|
|
104481
|
+
return () => {
|
|
104482
|
+
return (0,vue_esm.h)(bklog_popover, helper_default()([{
|
|
104483
|
+
"style": 'height: 100%;border-right: solid 1px #eaebf0; align-items: center; display: flex; justify-content: center; cursor: pointer; padding: 0 20px;',
|
|
104484
|
+
"attrs": {
|
|
104485
|
+
"beforeHide": beforePopoverHide,
|
|
104486
|
+
"options": {
|
|
104487
|
+
hideOnClick: false,
|
|
104488
|
+
onShow: beforeShow
|
|
104489
|
+
},
|
|
104490
|
+
"trigger": 'click'
|
|
104491
|
+
}
|
|
104492
|
+
}, {
|
|
104493
|
+
scopedSlots: {
|
|
104494
|
+
content: getContentView
|
|
104495
|
+
}
|
|
104496
|
+
}]), [(0,vue_esm.h)("span", {
|
|
104497
|
+
"class": 'bklog-icon bklog-share'
|
|
104498
|
+
}), (0,vue_esm.h)("span", {
|
|
104499
|
+
"style": 'margin-left: 6px;'
|
|
104500
|
+
}, [t('分享')])]);
|
|
104501
|
+
};
|
|
104502
|
+
}
|
|
104503
|
+
}));
|
|
104170
104504
|
;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/sub-bar/index.vue?vue&type=script&setup=true&lang=js
|
|
104171
104505
|
|
|
104172
104506
|
|
|
104173
104507
|
|
|
104508
|
+
|
|
104174
104509
|
function sub_barvue_type_script_setup_true_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
104175
104510
|
function sub_barvue_type_script_setup_true_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? sub_barvue_type_script_setup_true_lang_js_ownKeys(Object(t), !0).forEach(function (r) { defineProperty_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : sub_barvue_type_script_setup_true_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
104176
104511
|
|
|
@@ -104209,6 +104544,7 @@ var WarningSetting = function WarningSetting() {
|
|
|
104209
104544
|
|
|
104210
104545
|
|
|
104211
104546
|
|
|
104547
|
+
|
|
104212
104548
|
/* harmony default export */ const sub_barvue_type_script_setup_true_lang_js = ({
|
|
104213
104549
|
__name: 'index',
|
|
104214
104550
|
props: {
|
|
@@ -104277,10 +104613,17 @@ var WarningSetting = function WarningSetting() {
|
|
|
104277
104613
|
});
|
|
104278
104614
|
var setRouteParams = function setRouteParams(ids, isUnionIndex) {
|
|
104279
104615
|
var queryTab = retrieve_helper.routeQueryTabValueFix(indexSetParams.value.items[0], route.query.tab, isUnionIndex);
|
|
104616
|
+
var _indexSetParams$value = indexSetParams.value,
|
|
104617
|
+
search_mode = _indexSetParams$value.search_mode,
|
|
104618
|
+
keyword = _indexSetParams$value.keyword,
|
|
104619
|
+
addition = _indexSetParams$value.addition;
|
|
104280
104620
|
if (isUnionIndex) {
|
|
104281
104621
|
router.replace({
|
|
104282
104622
|
query: sub_barvue_type_script_setup_true_lang_js_objectSpread(sub_barvue_type_script_setup_true_lang_js_objectSpread(sub_barvue_type_script_setup_true_lang_js_objectSpread({}, route.query), queryTab), {}, defineProperty_defineProperty(defineProperty_defineProperty({
|
|
104283
104623
|
indexId: undefined,
|
|
104624
|
+
search_mode: search_mode,
|
|
104625
|
+
keyword: keyword,
|
|
104626
|
+
addition: JSON.stringify(addition),
|
|
104284
104627
|
unionList: JSON.stringify(ids),
|
|
104285
104628
|
clusterParams: undefined
|
|
104286
104629
|
}, BK_LOG_STORAGE.HISTORY_ID, store.state.storage[BK_LOG_STORAGE.HISTORY_ID]), BK_LOG_STORAGE.FAVORITE_ID, store.state.storage[BK_LOG_STORAGE.FAVORITE_ID]))
|
|
@@ -104290,6 +104633,9 @@ var WarningSetting = function WarningSetting() {
|
|
|
104290
104633
|
router.replace({
|
|
104291
104634
|
query: sub_barvue_type_script_setup_true_lang_js_objectSpread(sub_barvue_type_script_setup_true_lang_js_objectSpread(sub_barvue_type_script_setup_true_lang_js_objectSpread({}, route.query), queryTab), {}, defineProperty_defineProperty(defineProperty_defineProperty({
|
|
104292
104635
|
indexId: ids[0],
|
|
104636
|
+
search_mode: search_mode,
|
|
104637
|
+
keyword: keyword,
|
|
104638
|
+
addition: JSON.stringify(addition),
|
|
104293
104639
|
unionList: undefined,
|
|
104294
104640
|
clusterParams: undefined
|
|
104295
104641
|
}, BK_LOG_STORAGE.HISTORY_ID, store.state.storage[BK_LOG_STORAGE.HISTORY_ID]), BK_LOG_STORAGE.FAVORITE_ID, store.state.storage[BK_LOG_STORAGE.FAVORITE_ID]))
|
|
@@ -104319,14 +104665,35 @@ var WarningSetting = function WarningSetting() {
|
|
|
104319
104665
|
};
|
|
104320
104666
|
var handleIndexSetSelected = /*#__PURE__*/function () {
|
|
104321
104667
|
var _ref = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee(payload) {
|
|
104322
|
-
var _payload$ids;
|
|
104668
|
+
var _payload$ids, indexSetDefaultCondition, _payload$items$, _payload$items$2;
|
|
104323
104669
|
return regenerator_default().wrap(function _callee$(_context) {
|
|
104324
104670
|
while (1) switch (_context.prev = _context.next) {
|
|
104325
104671
|
case 0:
|
|
104326
104672
|
if (!(0,external_lodash_namespaceObject.isEqual)(indexSetParams.value.ids, payload.ids) || indexSetParams.value.isUnionIndex !== payload.isUnionIndex) {
|
|
104673
|
+
/** 索引集默认条件 */
|
|
104674
|
+
indexSetDefaultCondition = {};
|
|
104675
|
+
/** 只选择一个索引集且ui模式和sql模式都没有值, 取索引集默认条件 */
|
|
104676
|
+
if (payload.items.length === 1 && !indexSetParams.value.addition.length && !indexSetParams.value.keyword) {
|
|
104677
|
+
if ((_payload$items$ = payload.items[0]) !== null && _payload$items$ !== void 0 && _payload$items$.query_string) {
|
|
104678
|
+
indexSetDefaultCondition = {
|
|
104679
|
+
keyword: payload.items[0].query_string,
|
|
104680
|
+
search_mode: 'sql',
|
|
104681
|
+
addition: []
|
|
104682
|
+
};
|
|
104683
|
+
} else if ((_payload$items$2 = payload.items[0]) !== null && _payload$items$2 !== void 0 && _payload$items$2.addition) {
|
|
104684
|
+
indexSetDefaultCondition = {
|
|
104685
|
+
addition: toConsumableArray_toConsumableArray(payload.items[0].addition),
|
|
104686
|
+
search_mode: 'ui',
|
|
104687
|
+
keyword: ''
|
|
104688
|
+
};
|
|
104689
|
+
}
|
|
104690
|
+
if (indexSetDefaultCondition.search_mode) {
|
|
104691
|
+
store.commit('updateStorage', defineProperty_defineProperty({}, BK_LOG_STORAGE.SEARCH_TYPE, ['ui', 'sql'].indexOf(indexSetDefaultCondition.search_mode)));
|
|
104692
|
+
}
|
|
104693
|
+
}
|
|
104327
104694
|
retrieve_helper.setIndexsetId(payload.ids, payload.isUnionIndex ? 'union' : 'single', false);
|
|
104328
104695
|
store.commit('updateUnionIndexList', payload.isUnionIndex ? (_payload$ids = payload.ids) !== null && _payload$ids !== void 0 ? _payload$ids : [] : []);
|
|
104329
|
-
store.commit('updateIndexItem', payload);
|
|
104696
|
+
store.commit('updateIndexItem', sub_barvue_type_script_setup_true_lang_js_objectSpread(sub_barvue_type_script_setup_true_lang_js_objectSpread({}, payload), indexSetDefaultCondition));
|
|
104330
104697
|
if (!payload.isUnionIndex) {
|
|
104331
104698
|
store.commit('updateIndexId', payload.ids[0]);
|
|
104332
104699
|
}
|
|
@@ -104335,9 +104702,18 @@ var WarningSetting = function WarningSetting() {
|
|
|
104335
104702
|
origin_log_list: [],
|
|
104336
104703
|
list: []
|
|
104337
104704
|
});
|
|
104338
|
-
store.dispatch('requestIndexSetFieldInfo').then(function () {
|
|
104705
|
+
store.dispatch('requestIndexSetFieldInfo').then(function (resp) {
|
|
104706
|
+
var _resp$data, _resp$data2;
|
|
104339
104707
|
retrieve_helper.fire(retrieve_events.TREND_GRAPH_SEARCH);
|
|
104340
|
-
|
|
104708
|
+
if (resp !== null && resp !== void 0 && (_resp$data = resp.data) !== null && _resp$data !== void 0 && (_resp$data = _resp$data.fields) !== null && _resp$data !== void 0 && _resp$data.length) {
|
|
104709
|
+
store.dispatch('requestIndexSetQuery');
|
|
104710
|
+
}
|
|
104711
|
+
if (!(resp !== null && resp !== void 0 && (_resp$data2 = resp.data) !== null && _resp$data2 !== void 0 && (_resp$data2 = _resp$data2.fields) !== null && _resp$data2 !== void 0 && _resp$data2.length)) {
|
|
104712
|
+
store.commit('updateIndexSetQueryResult', {
|
|
104713
|
+
is_error: true,
|
|
104714
|
+
exception_msg: 'index-set-field-not-found'
|
|
104715
|
+
});
|
|
104716
|
+
}
|
|
104341
104717
|
});
|
|
104342
104718
|
setRouteParams(payload.ids, payload.isUnionIndex);
|
|
104343
104719
|
}
|
|
@@ -104485,7 +104861,8 @@ var WarningSetting = function WarningSetting() {
|
|
|
104485
104861
|
ClusterSetting: ClusterSetting,
|
|
104486
104862
|
BarGlobalSetting: BarGlobalSetting,
|
|
104487
104863
|
MoreSetting: MoreSetting,
|
|
104488
|
-
WarningSetting: WarningSetting
|
|
104864
|
+
WarningSetting: WarningSetting,
|
|
104865
|
+
ShareLink: share_link
|
|
104489
104866
|
};
|
|
104490
104867
|
}
|
|
104491
104868
|
});
|
|
@@ -104502,8 +104879,8 @@ var WarningSetting = function WarningSetting() {
|
|
|
104502
104879
|
|
|
104503
104880
|
var sub_bar_component = normalizeComponent(
|
|
104504
104881
|
retrieve_v2_sub_barvue_type_script_setup_true_lang_js,
|
|
104505
|
-
|
|
104506
|
-
|
|
104882
|
+
sub_barvue_type_template_id_6680cc42_render,
|
|
104883
|
+
sub_barvue_type_template_id_6680cc42_staticRenderFns,
|
|
104507
104884
|
false,
|
|
104508
104885
|
null,
|
|
104509
104886
|
null,
|
|
@@ -104767,6 +105144,40 @@ var sub_bar_component = normalizeComponent(
|
|
|
104767
105144
|
});
|
|
104768
105145
|
}
|
|
104769
105146
|
}
|
|
105147
|
+
const {
|
|
105148
|
+
addition,
|
|
105149
|
+
keyword,
|
|
105150
|
+
items
|
|
105151
|
+
} = store.state.indexItem;
|
|
105152
|
+
// 初始化时,判断当前单选索引集是否有默认条件
|
|
105153
|
+
if (items.length === 1 && !addition.length && !keyword) {
|
|
105154
|
+
let searchMode = 'ui';
|
|
105155
|
+
let defaultKeyword = '';
|
|
105156
|
+
let defaultAddition = [];
|
|
105157
|
+
if (items[0]?.query_string) {
|
|
105158
|
+
defaultKeyword = items[0].query_string;
|
|
105159
|
+
searchMode = 'sql';
|
|
105160
|
+
} else if (items[0]?.addition) {
|
|
105161
|
+
defaultAddition = [...items[0].addition];
|
|
105162
|
+
searchMode = 'ui';
|
|
105163
|
+
}
|
|
105164
|
+
store.commit('updateStorage', {
|
|
105165
|
+
[BK_LOG_STORAGE.SEARCH_TYPE]: ['ui', 'sql'].indexOf(searchMode ?? 'ui')
|
|
105166
|
+
});
|
|
105167
|
+
store.commit('updateIndexItem', {
|
|
105168
|
+
addition: defaultAddition,
|
|
105169
|
+
keyword: defaultKeyword,
|
|
105170
|
+
search_mode: searchMode
|
|
105171
|
+
});
|
|
105172
|
+
router.replace({
|
|
105173
|
+
query: {
|
|
105174
|
+
...route.query,
|
|
105175
|
+
addition: JSON.stringify(defaultAddition),
|
|
105176
|
+
keyword: defaultKeyword,
|
|
105177
|
+
search_mode: searchMode
|
|
105178
|
+
}
|
|
105179
|
+
});
|
|
105180
|
+
}
|
|
104770
105181
|
if (emptyIndexSetList.length === 0) {
|
|
104771
105182
|
retrieve_helper.setSearchingValue(true);
|
|
104772
105183
|
const type = route.query.indexId ? 'single' : 'union';
|
|
@@ -105035,7 +105446,6 @@ if (!window.mainComponent?.$t) {
|
|
|
105035
105446
|
$t: language_i18n.t.bind(language_i18n),
|
|
105036
105447
|
$i18n: language_i18n
|
|
105037
105448
|
};
|
|
105038
|
-
window.$t = language_i18n.t.bind(language_i18n);
|
|
105039
105449
|
}
|
|
105040
105450
|
|
|
105041
105451
|
|