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

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
@@ -38477,11 +38477,15 @@ let SelectIndexSet = class SelectIndexSet extends api_Component {
38477
38477
  }
38478
38478
  });
38479
38479
  const element = document.querySelector('#union-tag-box');
38480
- this.resizeObserver.observe(element);
38480
+ if (element) {
38481
+ this.resizeObserver.observe(element);
38482
+ }
38481
38483
  }
38482
38484
  unobserveResizeGroupStyle() {
38483
38485
  const element = document.querySelector('#union-tag-box');
38484
- this.resizeObserver.unobserve(element);
38486
+ if (element) {
38487
+ this.resizeObserver.unobserve(element);
38488
+ }
38485
38489
  this.resizeObserver = null;
38486
38490
  this.isTagHave2Rows = false;
38487
38491
  }
@@ -38946,112 +38950,116 @@ let SelectIndexSet = class SelectIndexSet extends api_Component {
38946
38950
  "class": 'panel-name'
38947
38951
  }, [panel.label])])])), this.activeTab === 'favorite' ? favoriteListDom() : historyListDom()])]);
38948
38952
  };
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);
38953
+ const selectIndexContainer = () => {
38954
+ var _window4;
38955
+ if ((_window4 = window) !== null && _window4 !== void 0 && _window4.__IS_MONITOR_TRACE__) return null;
38956
+ return (0,vue_esm.h)("div", {
38957
+ "ref": 'selectIndexBox',
38958
+ "class": 'select-index-container',
38959
+ "directives": [{
38960
+ name: "show",
38961
+ value: !!this.selectedItemList.length && !this.isAloneType
38962
+ }]
38963
+ }, [(0,vue_esm.h)("div", {
38964
+ "class": 'title'
38965
+ }, [(0,vue_esm.h)("div", {
38966
+ "class": 'index-select'
38967
+ }, [(0,vue_esm.h)("i18n", {
38968
+ "style": 'color: #979BA5;',
38969
+ "attrs": {
38970
+ "path": '已选择{0}个索引集'
39012
38971
  }
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])])]))])]);
38972
+ }, [this.selectedItemList.length]), this.isOverSelect && (0,vue_esm.h)("span", {
38973
+ "class": 'over-select'
38974
+ }, [this.$t('每次最多可选择20项')])]), (0,vue_esm.h)("bk-popover", {
38975
+ "ref": 'favoritePopover',
38976
+ "attrs": {
38977
+ "ext-cls": 'new-favorite-popover',
38978
+ "tippy-options": select_index_set_objectSpread(select_index_set_objectSpread({}, this.tippyOptions), {}, {
38979
+ appendTo: () => this.selectIndexBoxRef
38980
+ }),
38981
+ "disabled": !!this.multipleFavoriteSelectID,
38982
+ "placement": 'bottom-start'
38983
+ }
38984
+ }, [(0,vue_esm.h)("span", {
38985
+ "class": 'favorite-btn'
38986
+ }, [(0,vue_esm.h)("i", {
38987
+ "class": [!!this.multipleFavoriteSelectID ? 'bklog-icon bklog-lc-star-shape' : 'log-icon bk-icon icon-star']
38988
+ }), (0,vue_esm.h)("span", [this.$t('收藏该组合')])]), (0,vue_esm.h)("div", {
38989
+ "slot": 'content'
38990
+ }, [(0,vue_esm.h)("bk-form", {
38991
+ "ref": 'checkInputForm',
38992
+ "style": {
38993
+ width: '100%'
38994
+ },
38995
+ "attrs": {
38996
+ "labelWidth": 0
38997
+ },
38998
+ "props": select_index_set_objectSpread({}, {
38999
+ model: this.verifyData,
39000
+ rules: this.rules
39001
+ })
39002
+ }, [(0,vue_esm.h)("bk-form-item", {
39003
+ "attrs": {
39004
+ "property": 'favoriteName'
39005
+ }
39006
+ }, [(0,vue_esm.h)("span", {
39007
+ "style": 'color: #63656E;'
39008
+ }, [this.$t('收藏名称')]), (0,vue_esm.h)("bk-input", {
39009
+ "attrs": {
39010
+ "clearable": true
39011
+ },
39012
+ "on": {
39013
+ "enter": () => this.handleClickFavoritePopoverBtn('add')
39014
+ },
39015
+ "model": {
39016
+ value: this.verifyData.favoriteName,
39017
+ callback: $$v => {
39018
+ this.$set(this.verifyData, "favoriteName", $$v);
39019
+ }
39020
+ }
39021
+ })])]), (0,vue_esm.h)("div", {
39022
+ "class": 'operate-button'
39023
+ }, [(0,vue_esm.h)("bk-button", {
39024
+ "attrs": {
39025
+ "text": true
39026
+ },
39027
+ "on": {
39028
+ "click": () => this.handleClickFavoritePopoverBtn('add')
39029
+ }
39030
+ }, [this.$t('确认收藏')]), (0,vue_esm.h)("bk-button", {
39031
+ "attrs": {
39032
+ "text": true
39033
+ },
39034
+ "on": {
39035
+ "click": () => this.handleClickFavoritePopoverBtn('cancel')
39036
+ }
39037
+ }, [this.$t('取消')])])])])]), (0,vue_esm.h)("div", {
39038
+ "attrs": {
39039
+ "id": 'union-tag-box'
39040
+ },
39041
+ "class": 'index-tag-box'
39042
+ }, [this.selectedItemList.map(item => (0,vue_esm.h)("bk-tag", {
39043
+ "style": 'background: #FAFBFD;',
39044
+ "attrs": {
39045
+ "type": 'stroke',
39046
+ "closable": true
39047
+ },
39048
+ "on": {
39049
+ "close": () => this.handleCloseSelectTag(item)
39050
+ }
39051
+ }, [(0,vue_esm.h)("span", {
39052
+ "class": 'tag-name'
39053
+ }, [item.isNotVal && (0,vue_esm.h)("i", {
39054
+ "class": 'not-val'
39055
+ }), (0,vue_esm.h)("span", {
39056
+ "class": 'title-overflow',
39057
+ "directives": [{
39058
+ name: "bk-overflow-tips",
39059
+ value: true
39060
+ }]
39061
+ }, [item.indexName])])]))])]);
39062
+ };
39055
39063
  const indexHandDom = item => {
39056
39064
  if (this.isAloneType) {
39057
39065
  return !window.__IS_MONITOR_COMPONENT__ ? (0,vue_esm.h)("span", {
@@ -84662,7 +84670,6 @@ window.__IS_MONITOR_APM__ = process.env.MONITOR_APP === 'apm';
84662
84670
 
84663
84671
 
84664
84672
 
84665
-
84666
84673
  const logStore = use_store();
84667
84674
  const initMonitorState = payload => {
84668
84675
  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.3",
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