@zgfe/modules-interval 1.0.11-zhongbang.8 → 1.0.23-zhongyuan.1

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.
Files changed (39) hide show
  1. package/README.md +35 -33
  2. package/dist/esm/components/common/styles/index.less +40 -40
  3. package/dist/esm/components/eventFilter/index.js +5 -3
  4. package/dist/esm/components/eventFilter/styles/index.less +39 -39
  5. package/dist/esm/components/renderContent/index.js +6 -5
  6. package/dist/esm/components/renderContent/styles/index.less +36 -36
  7. package/dist/esm/components/searchPanel/index.js +19 -9
  8. package/dist/esm/components/searchPanel/styles/index.less +71 -64
  9. package/dist/esm/components/searchPanel/types.d.ts +1 -0
  10. package/dist/esm/components/table/index.js +1 -1
  11. package/dist/esm/components/table/styles/index.less +138 -138
  12. package/dist/esm/components/topBar/index.js +8 -12
  13. package/dist/esm/components/topBar/styles/index.less +16 -50
  14. package/dist/esm/constants/apis.js +4 -4
  15. package/dist/esm/constants/fields.js +4 -4
  16. package/dist/esm/modules/chart/index.js +23 -4
  17. package/dist/esm/modules/chart/index.less +58 -58
  18. package/dist/esm/modules/content/index.js +48 -20
  19. package/dist/esm/modules/content/styles/index.less +25 -7
  20. package/dist/esm/modules/content/utils.d.ts +1 -0
  21. package/dist/esm/modules/content/utils.js +4 -3
  22. package/dist/esm/modules/home/demo/create.js +1 -1
  23. package/dist/esm/modules/home/demo/edit.js +1 -1
  24. package/dist/esm/modules/home/demo/index.js +2 -1
  25. package/dist/esm/modules/home/demo/styles/index.less +33 -33
  26. package/dist/esm/modules/home/index.js +52 -33
  27. package/dist/esm/modules/home/styles/index.less +69 -66
  28. package/dist/esm/modules/home/types.d.ts +1 -0
  29. package/dist/esm/modules/topPanel/index.js +88 -23
  30. package/dist/esm/modules/topPanel/styles/index.less +219 -213
  31. package/dist/esm/style/image/empty.png +0 -0
  32. package/dist/esm/style/image/ring.svg +9 -9
  33. package/dist/esm/style/index.less +67 -67
  34. package/dist/esm/types.js +6 -6
  35. package/dist/esm/utils/ajaxConfig.js +5 -5
  36. package/dist/esm/utils/formData.d.ts +6 -2
  37. package/dist/esm/utils/formData.js +9 -5
  38. package/dist/esm/utils/util.js +28 -28
  39. package/package.json +22 -22
package/README.md CHANGED
@@ -1,33 +1,35 @@
1
- # modules-interval
2
-
3
- ## Getting Started
4
-
5
- Install dependencies,
6
-
7
- ```bash
8
- $ npm i
9
- ```
10
-
11
- Start the dev server,
12
-
13
- ```bash
14
- $ npm start
15
- ```
16
-
17
- Build documentation,
18
-
19
- ```bash
20
- $ npm run docs:build
21
- ```
22
-
23
- Run test,
24
-
25
- ```bash
26
- $ npm test
27
- ```
28
-
29
- Build library via `father`,
30
-
31
- ```bash
32
- $ npm run build
33
- ```
1
+ # modules-interval
2
+
3
+ ## Getting Started
4
+
5
+ Install dependencies,
6
+
7
+ ```bash
8
+ $ npm i
9
+ ```
10
+
11
+ Start the dev server,
12
+
13
+ ```bash
14
+ $ npm start
15
+ ```
16
+
17
+ Build documentation,
18
+
19
+ ```bash
20
+ $ npm run docs:build
21
+ ```
22
+
23
+ Run test,
24
+
25
+ ```bash
26
+ $ npm test
27
+ ```
28
+
29
+ Build library via `father`,
30
+
31
+ ```bash
32
+ $ npm run build
33
+ ```
34
+
35
+ update
@@ -1,40 +1,40 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .mi-common-interval {
4
- .ant-spin-nested-loading {
5
- width: 100%;
6
- }
7
- &-loading-icon {
8
- z-index: 1000;
9
- display: inline-block;
10
- width: 40px;
11
- height: 40px;
12
- background: url('../../../style/image/ring.svg') no-repeat;
13
- background-size: contain;
14
- }
15
-
16
- &-none-text {
17
- color: #354354;
18
- font-size: 14px;
19
- }
20
-
21
- &-none-empty {
22
- width: 88px;
23
- height: 88px;
24
- background-image: url('../../../style/image/empty.png');
25
- background-repeat: no-repeat;
26
- background-size: cover;
27
- }
28
-
29
- &-none-container {
30
- display: flex;
31
- flex-direction: column;
32
- align-items: center;
33
- }
34
- }
35
- .mi-common-interval-content {
36
- width: 100%;
37
- .ant-spin-text {
38
- color: #ccc;
39
- }
40
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .mi-common-interval {
4
+ .ant-spin-nested-loading {
5
+ width: 100%;
6
+ }
7
+ &-loading-icon {
8
+ z-index: 1000;
9
+ display: inline-block;
10
+ width: 40px;
11
+ height: 40px;
12
+ background: url('../../../style/image/ring.svg') no-repeat;
13
+ background-size: contain;
14
+ }
15
+
16
+ &-none-text {
17
+ color: #354354;
18
+ font-size: 14px;
19
+ }
20
+
21
+ &-none-empty {
22
+ width: 88px;
23
+ height: 88px;
24
+ background-image: url('../../../style/image/empty.png');
25
+ background-repeat: no-repeat;
26
+ background-size: cover;
27
+ }
28
+
29
+ &-none-container {
30
+ display: flex;
31
+ flex-direction: column;
32
+ align-items: center;
33
+ }
34
+ }
35
+ .mi-common-interval-content {
36
+ width: 100%;
37
+ .ant-spin-text {
38
+ color: #ccc;
39
+ }
40
+ }
@@ -11,12 +11,14 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11
11
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { Tooltip, message } from 'antd';
14
- import React, { useEffect, useRef, useState } from 'react';
15
- import { BizEventSelector, IconFont, BizAttrConditionGroup } from '@zgfe/business-lib';
14
+ import React, { useContext, useEffect, useRef, useState } from 'react';
15
+ import { BizEventSelector, IconFont, BizAttrConditionGroup, BizGlobalDataContext } from '@zgfe/business-lib';
16
16
  import "./styles/index.less";
17
17
  import _ from 'lodash';
18
18
  var classPrefix = 'interval-box';
19
19
  var EventFilter = function EventFilter(props) {
20
+ var _useContext = useContext(BizGlobalDataContext),
21
+ eventIdMap = _useContext.eventIdMap;
20
22
  // 筛选条件个数
21
23
  var _useState = useState(0),
22
24
  _useState2 = _slicedToArray(_useState, 2),
@@ -174,7 +176,7 @@ var EventFilter = function EventFilter(props) {
174
176
  onClick: function onClick() {
175
177
  return onAdd();
176
178
  }
177
- })))), (filter || isAdd) && /*#__PURE__*/React.createElement("div", {
179
+ })))), event && event.id && eventIdMap && eventIdMap[event.id] && (filter || isAdd) && /*#__PURE__*/React.createElement("div", {
178
180
  className: "".concat(count > 0 ? 'attr-box-show' : '', " top")
179
181
  }, /*#__PURE__*/React.createElement(BizAttrConditionGroup, {
180
182
  ref: conditionRef,
@@ -1,39 +1,39 @@
1
- .interval-box {
2
- > :nth-child(1) {
3
- display: flex;
4
- gap: 16px;
5
- align-items: center;
6
- margin-bottom: 0 !important;
7
- .biz-event-select,
8
- .biz-attr-select {
9
- width: 208px;
10
- }
11
-
12
- .shaixuan {
13
- margin-top: 2px;
14
- color: #9aa1a9;
15
- font-size: 20px !important;
16
- cursor: pointer;
17
- }
18
-
19
- .shaixuan:hover {
20
- color: #165dff;
21
- }
22
-
23
- .disable {
24
- color: #ccd0d4 !important;
25
- cursor: not-allowed !important;
26
- }
27
-
28
- .switch-title {
29
- margin-left: -8px;
30
- color: var(--io-n-8, #354354);
31
- font-weight: 400;
32
- font-size: 14px;
33
- font-family: PingFang SC;
34
- font-style: normal;
35
- line-height: normal;
36
- letter-spacing: 1px;
37
- }
38
- }
39
- }
1
+ .interval-box {
2
+ > :nth-child(1) {
3
+ display: flex;
4
+ gap: 16px;
5
+ align-items: center;
6
+ margin-bottom: 0 !important;
7
+ .biz-event-select,
8
+ .biz-attr-select {
9
+ width: 208px;
10
+ }
11
+
12
+ .shaixuan {
13
+ margin-top: 2px;
14
+ color: #9aa1a9;
15
+ font-size: 20px !important;
16
+ cursor: pointer;
17
+ }
18
+
19
+ .shaixuan:hover {
20
+ color: #165dff;
21
+ }
22
+
23
+ .disable {
24
+ color: #ccd0d4 !important;
25
+ cursor: not-allowed !important;
26
+ }
27
+
28
+ .switch-title {
29
+ margin-left: -8px;
30
+ color: var(--io-n-8, #354354);
31
+ font-weight: 400;
32
+ font-size: 14px;
33
+ font-family: PingFang SC;
34
+ font-style: normal;
35
+ line-height: normal;
36
+ letter-spacing: 1px;
37
+ }
38
+ }
39
+ }
@@ -5,17 +5,18 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
5
5
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import { Spin } from 'antd';
8
- import React, { useEffect, useState } from 'react';
8
+ import React, { useEffect, useState, useContext } from 'react';
9
9
  import { MiNone, MiSpin } from '..';
10
+ import { IntervalContext } from "../../types";
10
11
  import "./styles/index.less";
11
12
  import IntervalEventChart from "../../modules/chart";
12
13
  var classPrefix = 'render-content-interval';
13
14
  var ContentPanel = function ContentPanel(props) {
14
- var _eventData$appData, _eventData$appData$se;
15
15
  var loading = props.loading,
16
16
  eventData = props.eventData,
17
17
  searchData = props.searchData;
18
-
18
+ var _useContext = useContext(IntervalContext),
19
+ refreshLoading = _useContext.refreshLoading;
19
20
  // 显示内容
20
21
  var _useState = useState(props.showList || []),
21
22
  _useState2 = _slicedToArray(_useState, 2),
@@ -30,7 +31,7 @@ var ContentPanel = function ContentPanel(props) {
30
31
  setShowList(names);
31
32
  if (props.onChangeShow) props.onChangeShow(names);
32
33
  };
33
- if (loading) {
34
+ if (loading || refreshLoading) {
34
35
  return /*#__PURE__*/React.createElement(Spin, {
35
36
  className: "".concat(classPrefix, "-spin-container"),
36
37
  tip: "\u67E5\u8BE2\u4E2D...",
@@ -41,7 +42,7 @@ var ContentPanel = function ContentPanel(props) {
41
42
  className: classPrefix
42
43
  }, /*#__PURE__*/React.createElement("div", {
43
44
  className: "".concat(classPrefix, "-chart-container")
44
- }, eventData && (_eventData$appData = eventData.appData) !== null && _eventData$appData !== void 0 && (_eventData$appData$se = _eventData$appData.series) !== null && _eventData$appData$se !== void 0 && _eventData$appData$se.length ? /*#__PURE__*/React.createElement(IntervalEventChart, {
45
+ }, searchData ? /*#__PURE__*/React.createElement(IntervalEventChart, {
45
46
  type: "boxplot",
46
47
  dataSource: eventData,
47
48
  params: searchData,
@@ -1,36 +1,36 @@
1
- .render-content-interval {
2
- &-chart-container {
3
- display: flex;
4
- flex-direction: column;
5
- align-items: center;
6
- justify-content: center;
7
-
8
- .echarts-for-react {
9
- width: 100%;
10
- background: #fff;
11
- border: 1px solid var(--unnamed, #ecedf0);
12
- border-radius: 8px;
13
- }
14
- }
15
-
16
- &-MiNone {
17
- display: flex;
18
- align-items: center;
19
- justify-content: center;
20
- width: 100%;
21
- height: 368px;
22
- padding: 24px 16px;
23
- border: 1px solid #ecedf0;
24
- border-radius: 8px;
25
- }
26
-
27
- &-spin-container {
28
- display: flex !important;
29
- align-items: center;
30
- justify-content: center;
31
- min-height: 300px;
32
- .biz-loading-wrapper {
33
- width: 100%;
34
- }
35
- }
36
- }
1
+ .render-content-interval {
2
+ &-chart-container {
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+
8
+ .echarts-for-react {
9
+ width: 100%;
10
+ background: #fff;
11
+ border: 1px solid var(--unnamed, #ecedf0);
12
+ border-radius: 8px;
13
+ }
14
+ }
15
+
16
+ &-MiNone {
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ width: 100%;
21
+ height: 368px;
22
+ padding: 24px 16px;
23
+ border: 1px solid #ecedf0;
24
+ border-radius: 8px;
25
+ }
26
+
27
+ &-spin-container {
28
+ display: flex !important;
29
+ align-items: center;
30
+ justify-content: center;
31
+ min-height: 300px;
32
+ .biz-loading-wrapper {
33
+ width: 100%;
34
+ }
35
+ }
36
+ }
@@ -10,16 +10,20 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
10
10
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
11
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- import { BizDatePicker, BizSelect } from '@zgfe/business-lib';
13
+ import { BizSelect, IconFont, BizDatePickerV2 } from '@zgfe/business-lib';
14
+ import { DatePickerTypes } from '@zgfe/business-lib/es/datePickerV2/types';
14
15
  import React, { useContext, useEffect, useState } from 'react';
15
16
  import { chartTypeOptions, getInitDate } from "../../constants";
16
17
  import { IntervalContext } from "../../types";
18
+ import { Button } from 'antd';
17
19
  import "./styles/index.less";
18
20
  import { extractNames } from "../../utils/formData";
19
21
  var classPrefix = 'search-panel-interval';
20
22
  var SearchPanel = function SearchPanel(props) {
21
23
  var _useContext = useContext(IntervalContext),
22
- includeToday = _useContext.includeToday;
24
+ includeToday = _useContext.includeToday,
25
+ searchData = _useContext.searchData,
26
+ refreshLoading = _useContext.refreshLoading;
23
27
  // 当前时间段
24
28
  var _useState = useState(props.time || getInitDate(includeToday)),
25
29
  _useState2 = _slicedToArray(_useState, 2),
@@ -100,12 +104,8 @@ var SearchPanel = function SearchPanel(props) {
100
104
  };
101
105
  return /*#__PURE__*/React.createElement("div", {
102
106
  className: classPrefix
103
- }, /*#__PURE__*/React.createElement("div", {
104
- style: {
105
- display: 'flex'
106
- }
107
- }, /*#__PURE__*/React.createElement(BizDatePicker, {
108
- dateTypeList: ['day', 'week', 'month', 'custom'],
107
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(BizDatePickerV2, {
108
+ dateTypeList: [DatePickerTypes.Unit.day, DatePickerTypes.Unit.week, DatePickerTypes.Unit.month, DatePickerTypes.Unit.custom],
109
109
  value: time,
110
110
  includeToday: true,
111
111
  onChange: onChangeTime
@@ -121,6 +121,16 @@ var SearchPanel = function SearchPanel(props) {
121
121
  value: displaySetupSliceList.length > 0 ? displaySetupSliceList : displaySetupList.slice(0, 4),
122
122
  labelField: "label",
123
123
  keyField: "value"
124
- })));
124
+ })), /*#__PURE__*/React.createElement(Button, {
125
+ className: "".concat(classPrefix, "-refresh"),
126
+ disabled: !(searchData !== null && searchData !== void 0 && searchData.start && searchData !== null && searchData !== void 0 && searchData.end),
127
+ loading: refreshLoading,
128
+ icon: /*#__PURE__*/React.createElement(IconFont, {
129
+ type: "zhongxinjiazai"
130
+ }),
131
+ onClick: function onClick() {
132
+ return props.refreshHandle && props.refreshHandle();
133
+ }
134
+ }, "\u5237\u65B0"));
125
135
  };
126
136
  export default SearchPanel;
@@ -1,64 +1,71 @@
1
- .search-panel-interval {
2
- display: flex;
3
- align-items: center;
4
- justify-content: space-between;
5
- height: 32px;
6
- margin-bottom: 24px;
7
-
8
- .biz-date-picker-wrap-list {
9
- font-size: 14px;
10
- }
11
-
12
- &-search-right {
13
- display: flex;
14
- }
15
-
16
- &-select {
17
- width: 208px;
18
- margin-left: 16px;
19
-
20
- .biz-select-handle-input-multiple {
21
- .ant-tag:not(:nth-child(-n + 3)) {
22
- display: none;
23
- }
24
- }
25
- }
26
- }
27
-
28
- .interval-select-overlay {
29
- .biz-select-option.biz-select-option-multiple:hover:not(.disabled) {
30
- color: var(--1, #021429);
31
- background: var(--io-i-1, #e8efff);
32
- }
33
-
34
- .biz-select-overlay {
35
- padding: 0;
36
- }
37
-
38
- .biz-select-list-panel {
39
- display: grid;
40
- gap: 8px;
41
- }
42
-
43
- .biz-select-option {
44
- padding: 0 16px;
45
- border-radius: 0;
46
- }
47
-
48
- .biz-select-option.biz-select-option-multiple.active:not(.disabled) {
49
- color: var(--1, #021429);
50
- }
51
-
52
- .biz-select-option.biz-select-option-multiple:hover:not(.disabled) .biz-select-checkbox {
53
- color: #ccd0d4;
54
- }
55
-
56
- .biz-select-option.biz-select-option-multiple.active:hover:not(.disabled) .biz-select-checkbox {
57
- color: #165dff;
58
- }
59
-
60
- .biz-select-option.biz-select-option-multiple:active:not(.disabled) {
61
- color: #165dff;
62
- background: var(--io-i-1, #e8efff);
63
- }
64
- }
1
+ .search-panel-interval {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+ height: 32px;
6
+ margin-bottom: 24px;
7
+ &-refresh {
8
+ display: flex !important;
9
+ gap: 4px;
10
+ }
11
+ > :nth-child(1) {
12
+ display: flex;
13
+ gap: 16px;
14
+ }
15
+
16
+ .biz-date-picker-wrap-list {
17
+ font-size: 14px;
18
+ }
19
+
20
+ &-search-right {
21
+ display: flex;
22
+ gap: 16px;
23
+ }
24
+
25
+ &-select {
26
+ width: 208px;
27
+ .biz-select-handle-input-multiple {
28
+ .ant-tag:not(:nth-child(-n + 3)) {
29
+ display: none;
30
+ }
31
+ }
32
+ }
33
+ }
34
+
35
+ .interval-select-overlay {
36
+ .biz-select-option.biz-select-option-multiple:hover:not(.disabled) {
37
+ color: var(--1, #021429);
38
+ background: var(--io-i-1, #e8efff);
39
+ }
40
+
41
+ .biz-select-overlay {
42
+ padding: 0;
43
+ }
44
+
45
+ .biz-select-list-panel {
46
+ display: grid;
47
+ gap: 8px;
48
+ }
49
+
50
+ .biz-select-option {
51
+ padding: 0 16px;
52
+ border-radius: 0;
53
+ }
54
+
55
+ .biz-select-option.biz-select-option-multiple.active:not(.disabled) {
56
+ color: var(--1, #021429);
57
+ }
58
+
59
+ .biz-select-option.biz-select-option-multiple:hover:not(.disabled) .biz-select-checkbox {
60
+ color: #ccd0d4;
61
+ }
62
+
63
+ .biz-select-option.biz-select-option-multiple.active:hover:not(.disabled) .biz-select-checkbox {
64
+ color: #165dff;
65
+ }
66
+
67
+ .biz-select-option.biz-select-option-multiple:active:not(.disabled) {
68
+ color: #165dff;
69
+ background: var(--io-i-1, #e8efff);
70
+ }
71
+ }
@@ -5,6 +5,7 @@ import { ReactNode } from 'react';
5
5
  * 右边的查询组件
6
6
  */
7
7
  export interface SearchPanelProps {
8
+ refreshHandle?: Function;
8
9
  /**
9
10
  * @description 维度类型
10
11
  */
@@ -71,7 +71,7 @@ var EventTable = function EventTable(props) {
71
71
  var _dataSource$appData;
72
72
  var _searchData$userGroup = searchData.userGroup,
73
73
  userGroup = _searchData$userGroup === void 0 ? [0] : _searchData$userGroup;
74
- var _getColumns = getColumns(eventGroupList, userPropList, eventEnvList, (dataSource === null || dataSource === void 0 ? void 0 : (_dataSource$appData = dataSource.appData) === null || _dataSource$appData === void 0 ? void 0 : _dataSource$appData.x_axis) || [], dataSource, userGroup, searchData, showList, onUserDrill);
74
+ var _getColumns = getColumns(eventGroupList, userPropList, eventEnvList, (dataSource === null || dataSource === void 0 ? void 0 : (_dataSource$appData = dataSource.appData) === null || _dataSource$appData === void 0 ? void 0 : _dataSource$appData.x_axis) || [], dataSource, userGroup, searchData, showList, onUserDrill, currentApp);
75
75
  return _getColumns;
76
76
  }, [dataSource === null || dataSource === void 0 ? void 0 : (_dataSource$appData2 = dataSource.appData) === null || _dataSource$appData2 === void 0 ? void 0 : _dataSource$appData2.x_axis, showList, sortTable, panelName]);
77
77