@blueking/monitor-trace-log 1.0.0-beta.2 → 1.0.0-beta.4

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/images/403.png ADDED
Binary file
package/images/404.png ADDED
Binary file
package/images/500.png ADDED
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M1.778 1.778h28.444l-10.667 16v8.889l-7.111 3.556v-12.444z"/></svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#c3cdd7;}
7
+ </style>
8
+ <g id="上传">
9
+ <path class="st0" d="M897,422.9c-28.4-28.4-63.3-47.8-101.3-57c-10.1-57.9-37.6-111.2-80-153.6C661.3,158,588.9,128,512,128
10
+ s-149.3,30-203.6,84.4c-42.4,42.4-69.9,95.7-80,153.6c-38.1,9.2-73,28.6-101.3,57c-40.6,40.6-63,94.6-63,152v10
11
+ c0,57.4,22.4,111.4,63,152s94.6,63,152,63h41v-64h-41c-83.3,0-151-67.7-151-151v-10c0-83.3,67.7-151,151-151h9.2
12
+ c-0.1-2.6-0.2-5.3-0.2-7.9l0,0l0,0c0-1.7,0-3.3,0.1-4.9c0-0.4,0-0.8,0-1.3c0-1.6,0.1-3.2,0.2-4.7c0-0.4,0-0.7,0.1-1.1
13
+ c0.1-1.2,0.1-2.5,0.2-3.7c0-0.6,0.1-1.2,0.1-1.8c0.1-1.4,0.2-2.7,0.3-4.1c0.1-0.8,0.2-1.6,0.3-2.5c0.1-0.6,0.1-1.2,0.2-1.9
14
+ c1.2-10.3,3.1-20.4,5.6-30.2l0,0c9.8-38.4,29.8-73.6,58.6-102.3C395.9,215.3,452.2,192,512,192s116.1,23.3,158.4,65.6
15
+ c28.7,28.7,48.7,63.9,58.6,102.3l0,0c2.5,9.8,4.4,19.9,5.6,30.2c0.1,0.6,0.1,1.2,0.2,1.9c0.1,0.8,0.2,1.6,0.3,2.5
16
+ c0.1,1.4,0.2,2.7,0.3,4.1c0,0.6,0.1,1.2,0.1,1.8c0.1,1.2,0.2,2.5,0.2,3.7c0,0.4,0,0.7,0.1,1.1c0.1,1.6,0.1,3.2,0.2,4.7
17
+ c0,0.4,0,0.8,0,1.3c0,1.6,0.1,3.3,0.1,4.9l0,0l0,0c0,2.7-0.1,5.3-0.2,7.9h9.2c83.3,0,151,67.7,151,151v10c0,83.3-67.7,151-151,151
18
+ h-41v64h41c57.4,0,111.4-22.4,152-63s63-94.6,63-152v-10C960,517.5,937.6,463.5,897,422.9z"/>
19
+ <polygon class="st0" points="376.2,602.9 421.5,648.1 480,589.6 480,896 544,896 544,589.6 602.5,648.1 647.8,602.9 512,467.1 "/>
20
+ </g>
21
+ </svg>
22
+
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#737987;}
7
+ </style>
8
+ <g>
9
+ <path class="st0" d="M704,64L704,64H128v896h768V256l0,0L704,64z M704,154.5L805.5,256H704V154.5z M832,896H192V128h448v192h192
10
+ V896z"/>
11
+ <rect x="288" y="320" class="st0" width="256" height="64"/>
12
+ <rect x="288" y="448" class="st0" width="448" height="64"/>
13
+ <rect x="288" y="576" class="st0" width="448" height="64"/>
14
+ <rect x="288" y="704" class="st0" width="448" height="64"/>
15
+ </g>
16
+ </svg>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 1024 1024" style="enable-background:new 0 0 1024 1024;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#737987;}
7
+ </style>
8
+ <g>
9
+ <rect x="512" y="224" class="st0" width="96" height="64"/>
10
+ <rect x="416" y="288" class="st0" width="96" height="64"/>
11
+ <rect x="512" y="352" class="st0" width="96" height="64"/>
12
+ <path class="st0" d="M416,640h192V480h-96v-64h-96V640z M464,528h96v64h-96V528z"/>
13
+ <path class="st0" d="M96,96v832h832V96H96z M864,864H160V160h256v64h96v-64h352V864z"/>
14
+ </g>
15
+ </svg>
package/main.js CHANGED
@@ -38170,16 +38170,15 @@ let SelectIndexSet = class SelectIndexSet extends api_Component {
38170
38170
  }
38171
38171
  get indexId() {
38172
38172
  if (window.__IS_MONITOR_COMPONENT__) {
38173
- var _this$$route;
38174
- return String(((_this$$route = this.$route) === null || _this$$route === void 0 || (_this$$route = _this$$route.query) === null || _this$$route === void 0 ? void 0 : _this$$route.indexId) || this.$store.state.indexId);
38173
+ return String(this.$store.state.indexId || this.$route.query.indexId);
38175
38174
  } else {
38176
38175
  return String(this.$route.params.indexId);
38177
38176
  }
38178
38177
  }
38179
38178
  get routeParamIndexId() {
38180
38179
  if (window.__IS_MONITOR_COMPONENT__) {
38181
- var _this$$route2;
38182
- return String(((_this$$route2 = this.$route) === null || _this$$route2 === void 0 || (_this$$route2 = _this$$route2.query) === null || _this$$route2 === void 0 ? void 0 : _this$$route2.indexId) || this.$store.state.indexId);
38180
+ var _this$$route;
38181
+ return String(this.$store.state.indexId || ((_this$$route = this.$route) === null || _this$$route === void 0 || (_this$$route = _this$$route.query) === null || _this$$route === void 0 ? void 0 : _this$$route.indexId));
38183
38182
  } else {
38184
38183
  return String(this.$route.params.indexId);
38185
38184
  }
@@ -38477,11 +38476,15 @@ let SelectIndexSet = class SelectIndexSet extends api_Component {
38477
38476
  }
38478
38477
  });
38479
38478
  const element = document.querySelector('#union-tag-box');
38480
- this.resizeObserver.observe(element);
38479
+ if (element) {
38480
+ this.resizeObserver.observe(element);
38481
+ }
38481
38482
  }
38482
38483
  unobserveResizeGroupStyle() {
38483
38484
  const element = document.querySelector('#union-tag-box');
38484
- this.resizeObserver.unobserve(element);
38485
+ if (element) {
38486
+ this.resizeObserver.unobserve(element);
38487
+ }
38485
38488
  this.resizeObserver = null;
38486
38489
  this.isTagHave2Rows = false;
38487
38490
  }
@@ -38946,112 +38949,116 @@ let SelectIndexSet = class SelectIndexSet extends api_Component {
38946
38949
  "class": 'panel-name'
38947
38950
  }, [panel.label])])])), this.activeTab === 'favorite' ? favoriteListDom() : historyListDom()])]);
38948
38951
  };
38949
- const selectIndexContainer = () => (0,vue_esm.h)("div", {
38950
- "ref": 'selectIndexBox',
38951
- "class": 'select-index-container',
38952
- "directives": [{
38953
- name: "show",
38954
- value: !!this.selectedItemList.length && !this.isAloneType
38955
- }]
38956
- }, [(0,vue_esm.h)("div", {
38957
- "class": 'title'
38958
- }, [(0,vue_esm.h)("div", {
38959
- "class": 'index-select'
38960
- }, [(0,vue_esm.h)("i18n", {
38961
- "style": 'color: #979BA5;',
38962
- "attrs": {
38963
- "path": '已选择{0}个索引集'
38964
- }
38965
- }, [this.selectedItemList.length]), this.isOverSelect && (0,vue_esm.h)("span", {
38966
- "class": 'over-select'
38967
- }, [this.$t('每次最多可选择20项')])]), (0,vue_esm.h)("bk-popover", {
38968
- "ref": 'favoritePopover',
38969
- "attrs": {
38970
- "ext-cls": 'new-favorite-popover',
38971
- "tippy-options": select_index_set_objectSpread(select_index_set_objectSpread({}, this.tippyOptions), {}, {
38972
- appendTo: () => this.selectIndexBoxRef
38973
- }),
38974
- "disabled": !!this.multipleFavoriteSelectID,
38975
- "placement": 'bottom-start'
38976
- }
38977
- }, [(0,vue_esm.h)("span", {
38978
- "class": 'favorite-btn'
38979
- }, [(0,vue_esm.h)("i", {
38980
- "class": [!!this.multipleFavoriteSelectID ? 'bklog-icon bklog-lc-star-shape' : 'log-icon bk-icon icon-star']
38981
- }), (0,vue_esm.h)("span", [this.$t('收藏该组合')])]), (0,vue_esm.h)("div", {
38982
- "slot": 'content'
38983
- }, [(0,vue_esm.h)("bk-form", {
38984
- "ref": 'checkInputForm',
38985
- "style": {
38986
- width: '100%'
38987
- },
38988
- "attrs": {
38989
- "labelWidth": 0
38990
- },
38991
- "props": select_index_set_objectSpread({}, {
38992
- model: this.verifyData,
38993
- rules: this.rules
38994
- })
38995
- }, [(0,vue_esm.h)("bk-form-item", {
38996
- "attrs": {
38997
- "property": 'favoriteName'
38998
- }
38999
- }, [(0,vue_esm.h)("span", {
39000
- "style": 'color: #63656E;'
39001
- }, [this.$t('收藏名称')]), (0,vue_esm.h)("bk-input", {
39002
- "attrs": {
39003
- "clearable": true
39004
- },
39005
- "on": {
39006
- "enter": () => this.handleClickFavoritePopoverBtn('add')
39007
- },
39008
- "model": {
39009
- value: this.verifyData.favoriteName,
39010
- callback: $$v => {
39011
- this.$set(this.verifyData, "favoriteName", $$v);
38952
+ const selectIndexContainer = () => {
38953
+ var _window4;
38954
+ if ((_window4 = window) !== null && _window4 !== void 0 && _window4.__IS_MONITOR_TRACE__) return null;
38955
+ return (0,vue_esm.h)("div", {
38956
+ "ref": 'selectIndexBox',
38957
+ "class": 'select-index-container',
38958
+ "directives": [{
38959
+ name: "show",
38960
+ value: !!this.selectedItemList.length && !this.isAloneType
38961
+ }]
38962
+ }, [(0,vue_esm.h)("div", {
38963
+ "class": 'title'
38964
+ }, [(0,vue_esm.h)("div", {
38965
+ "class": 'index-select'
38966
+ }, [(0,vue_esm.h)("i18n", {
38967
+ "style": 'color: #979BA5;',
38968
+ "attrs": {
38969
+ "path": '已选择{0}个索引集'
39012
38970
  }
39013
- }
39014
- })])]), (0,vue_esm.h)("div", {
39015
- "class": 'operate-button'
39016
- }, [(0,vue_esm.h)("bk-button", {
39017
- "attrs": {
39018
- "text": true
39019
- },
39020
- "on": {
39021
- "click": () => this.handleClickFavoritePopoverBtn('add')
39022
- }
39023
- }, [this.$t('确认收藏')]), (0,vue_esm.h)("bk-button", {
39024
- "attrs": {
39025
- "text": true
39026
- },
39027
- "on": {
39028
- "click": () => this.handleClickFavoritePopoverBtn('cancel')
39029
- }
39030
- }, [this.$t('取消')])])])])]), (0,vue_esm.h)("div", {
39031
- "attrs": {
39032
- "id": 'union-tag-box'
39033
- },
39034
- "class": 'index-tag-box'
39035
- }, [this.selectedItemList.map(item => (0,vue_esm.h)("bk-tag", {
39036
- "style": 'background: #FAFBFD;',
39037
- "attrs": {
39038
- "type": 'stroke',
39039
- "closable": true
39040
- },
39041
- "on": {
39042
- "close": () => this.handleCloseSelectTag(item)
39043
- }
39044
- }, [(0,vue_esm.h)("span", {
39045
- "class": 'tag-name'
39046
- }, [item.isNotVal && (0,vue_esm.h)("i", {
39047
- "class": 'not-val'
39048
- }), (0,vue_esm.h)("span", {
39049
- "class": 'title-overflow',
39050
- "directives": [{
39051
- name: "bk-overflow-tips",
39052
- value: true
39053
- }]
39054
- }, [item.indexName])])]))])]);
38971
+ }, [this.selectedItemList.length]), this.isOverSelect && (0,vue_esm.h)("span", {
38972
+ "class": 'over-select'
38973
+ }, [this.$t('每次最多可选择20项')])]), (0,vue_esm.h)("bk-popover", {
38974
+ "ref": 'favoritePopover',
38975
+ "attrs": {
38976
+ "ext-cls": 'new-favorite-popover',
38977
+ "tippy-options": select_index_set_objectSpread(select_index_set_objectSpread({}, this.tippyOptions), {}, {
38978
+ appendTo: () => this.selectIndexBoxRef
38979
+ }),
38980
+ "disabled": !!this.multipleFavoriteSelectID,
38981
+ "placement": 'bottom-start'
38982
+ }
38983
+ }, [(0,vue_esm.h)("span", {
38984
+ "class": 'favorite-btn'
38985
+ }, [(0,vue_esm.h)("i", {
38986
+ "class": [!!this.multipleFavoriteSelectID ? 'bklog-icon bklog-lc-star-shape' : 'log-icon bk-icon icon-star']
38987
+ }), (0,vue_esm.h)("span", [this.$t('收藏该组合')])]), (0,vue_esm.h)("div", {
38988
+ "slot": 'content'
38989
+ }, [(0,vue_esm.h)("bk-form", {
38990
+ "ref": 'checkInputForm',
38991
+ "style": {
38992
+ width: '100%'
38993
+ },
38994
+ "attrs": {
38995
+ "labelWidth": 0
38996
+ },
38997
+ "props": select_index_set_objectSpread({}, {
38998
+ model: this.verifyData,
38999
+ rules: this.rules
39000
+ })
39001
+ }, [(0,vue_esm.h)("bk-form-item", {
39002
+ "attrs": {
39003
+ "property": 'favoriteName'
39004
+ }
39005
+ }, [(0,vue_esm.h)("span", {
39006
+ "style": 'color: #63656E;'
39007
+ }, [this.$t('收藏名称')]), (0,vue_esm.h)("bk-input", {
39008
+ "attrs": {
39009
+ "clearable": true
39010
+ },
39011
+ "on": {
39012
+ "enter": () => this.handleClickFavoritePopoverBtn('add')
39013
+ },
39014
+ "model": {
39015
+ value: this.verifyData.favoriteName,
39016
+ callback: $$v => {
39017
+ this.$set(this.verifyData, "favoriteName", $$v);
39018
+ }
39019
+ }
39020
+ })])]), (0,vue_esm.h)("div", {
39021
+ "class": 'operate-button'
39022
+ }, [(0,vue_esm.h)("bk-button", {
39023
+ "attrs": {
39024
+ "text": true
39025
+ },
39026
+ "on": {
39027
+ "click": () => this.handleClickFavoritePopoverBtn('add')
39028
+ }
39029
+ }, [this.$t('确认收藏')]), (0,vue_esm.h)("bk-button", {
39030
+ "attrs": {
39031
+ "text": true
39032
+ },
39033
+ "on": {
39034
+ "click": () => this.handleClickFavoritePopoverBtn('cancel')
39035
+ }
39036
+ }, [this.$t('取消')])])])])]), (0,vue_esm.h)("div", {
39037
+ "attrs": {
39038
+ "id": 'union-tag-box'
39039
+ },
39040
+ "class": 'index-tag-box'
39041
+ }, [this.selectedItemList.map(item => (0,vue_esm.h)("bk-tag", {
39042
+ "style": 'background: #FAFBFD;',
39043
+ "attrs": {
39044
+ "type": 'stroke',
39045
+ "closable": true
39046
+ },
39047
+ "on": {
39048
+ "close": () => this.handleCloseSelectTag(item)
39049
+ }
39050
+ }, [(0,vue_esm.h)("span", {
39051
+ "class": 'tag-name'
39052
+ }, [item.isNotVal && (0,vue_esm.h)("i", {
39053
+ "class": 'not-val'
39054
+ }), (0,vue_esm.h)("span", {
39055
+ "class": 'title-overflow',
39056
+ "directives": [{
39057
+ name: "bk-overflow-tips",
39058
+ value: true
39059
+ }]
39060
+ }, [item.indexName])])]))])]);
39061
+ };
39055
39062
  const indexHandDom = item => {
39056
39063
  if (this.isAloneType) {
39057
39064
  return !window.__IS_MONITOR_COMPONENT__ ? (0,vue_esm.h)("span", {
@@ -77413,8 +77420,8 @@ var fields_setting_component = normalizeComponent(
77413
77420
  )
77414
77421
 
77415
77422
  /* harmony default export */ const fields_setting = (fields_setting_component.exports);
77416
- ;// ./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/search-result-panel/original-log/table-log.vue?vue&type=template&id=39ff824a
77417
- var table_logvue_type_template_id_39ff824a_render = function render() {
77423
+ ;// ./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/search-result-panel/original-log/table-log.vue?vue&type=template&id=3a3c0385
77424
+ var table_logvue_type_template_id_3a3c0385_render = function render() {
77418
77425
  var _vm = this,
77419
77426
  _c = _vm._self._c;
77420
77427
  return _c('div', {
@@ -77520,7 +77527,7 @@ var table_logvue_type_template_id_39ff824a_render = function render() {
77520
77527
  }
77521
77528
  }) : _vm._e()], 1);
77522
77529
  };
77523
- var table_logvue_type_template_id_39ff824a_staticRenderFns = [];
77530
+ var table_logvue_type_template_id_3a3c0385_staticRenderFns = [];
77524
77531
 
77525
77532
  ;// ./src/mixins/table-row-deep-view-mixin.js
77526
77533
  /*
@@ -82839,8 +82846,8 @@ function utils_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
82839
82846
  function monitorLink(routeParams) {
82840
82847
  if (routeParams.name === 'retrieve') {
82841
82848
  const params = utils_objectSpread(utils_objectSpread(utils_objectSpread(utils_objectSpread({}, window.mainComponent.$router.query), window.mainComponent.$router.params), routeParams), {}, {
82842
- name: 'apm-others',
82843
- path: '/apm/service'
82849
+ name: window.__IS_MONITOR_TRACE__ ? 'trace-retrieval' : 'apm-others',
82850
+ path: window.__IS_MONITOR_TRACE__ ? '/trace/home' : '/apm/service'
82844
82851
  });
82845
82852
  const url = window.mainComponent.$router.resolve(params).href;
82846
82853
  return url;
@@ -83941,8 +83948,8 @@ var RealTimeLog = function RealTimeLog() {
83941
83948
 
83942
83949
  var table_log_component = normalizeComponent(
83943
83950
  original_log_table_logvue_type_script_lang_js,
83944
- table_logvue_type_template_id_39ff824a_render,
83945
- table_logvue_type_template_id_39ff824a_staticRenderFns,
83951
+ table_logvue_type_template_id_3a3c0385_render,
83952
+ table_logvue_type_template_id_3a3c0385_staticRenderFns,
83946
83953
  false,
83947
83954
  null,
83948
83955
  null,
@@ -84662,7 +84669,6 @@ window.__IS_MONITOR_APM__ = process.env.MONITOR_APP === 'apm';
84662
84669
 
84663
84670
 
84664
84671
 
84665
-
84666
84672
  const logStore = use_store();
84667
84673
  const initMonitorState = payload => {
84668
84674
  logStore.commit('initMonitorState', payload);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/monitor-trace-log",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.4",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
File without changes
File without changes
File without changes
File without changes
File without changes