@zgfe/modules-interval 1.0.0-interval.21 → 1.0.0-interval.22

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.
@@ -14,7 +14,7 @@ export var MiNone = function MiNone(props) {
14
14
  return /*#__PURE__*/React.createElement("div", {
15
15
  className: "".concat(classPrefix, "-none-container")
16
16
  }, /*#__PURE__*/React.createElement("div", {
17
- className: "".concat(classPrefix, "-none")
17
+ className: "".concat(classPrefix, "-none-empty")
18
18
  }), /*#__PURE__*/React.createElement("span", {
19
19
  className: "".concat(classPrefix, "-none-text")
20
20
  }, " ", props.label));
@@ -15,7 +15,7 @@
15
15
  font-size: 14px;
16
16
  }
17
17
 
18
- &-none {
18
+ &-none-empty {
19
19
  width: 88px;
20
20
  height: 88px;
21
21
  background-image: url('../../../style/image/empty.png');
@@ -3,7 +3,7 @@
3
3
  display: flex;
4
4
  gap: 16px;
5
5
  align-items: center;
6
-
6
+ margin-bottom: 0;
7
7
  .biz-event-select,
8
8
  .biz-attr-select {
9
9
  width: 208px;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './styles/index.less';
3
+ import { TopPanelProps } from './types';
4
+ declare const TopPanel: React.FC<TopPanelProps>;
5
+ export default TopPanel;
@@ -9,6 +9,7 @@ export interface bizAttributeSelectorValueProp {
9
9
  propCategory?: string;
10
10
  prop_category?: string;
11
11
  dimension_sub?: string;
12
+ label?: string;
12
13
  is_hidden?: string;
13
14
  real_time?: string;
14
15
  event_id?: string;
@@ -32,10 +32,11 @@ function convertToHMS(seconds) {
32
32
  export function getColumns(eventGroupList, userPropList, eventEnvList, columnData, dataSource, userGroup, searchData, showList
33
33
  // onClickToDetailCallback: Function,
34
34
  ) {
35
- var _dataSource$appData, _dataSource$appData$s;
35
+ var _searchData$dimension, _dataSource$appData, _dataSource$appData$s, _searchData$dimension2;
36
+ console.log(66666661111111, searchData === null || searchData === void 0 ? void 0 : (_searchData$dimension = searchData.dimension) === null || _searchData$dimension === void 0 ? void 0 : _searchData$dimension.label);
36
37
  // 显示
37
38
  var data = [{
38
- title: dataSource !== null && dataSource !== void 0 && (_dataSource$appData = dataSource.appData) !== null && _dataSource$appData !== void 0 && (_dataSource$appData$s = _dataSource$appData.series[0]) !== null && _dataSource$appData$s !== void 0 && _dataSource$appData$s.names[0] ? '' : '日期',
39
+ title: dataSource !== null && dataSource !== void 0 && (_dataSource$appData = dataSource.appData) !== null && _dataSource$appData !== void 0 && (_dataSource$appData$s = _dataSource$appData.series[0]) !== null && _dataSource$appData$s !== void 0 && _dataSource$appData$s.names[0] ? searchData === null || searchData === void 0 ? void 0 : (_searchData$dimension2 = searchData.dimension) === null || _searchData$dimension2 === void 0 ? void 0 : _searchData$dimension2.label : '日期',
39
40
  width: 148,
40
41
  ellipsis: true,
41
42
  key: 'time',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.0-interval.21",
3
+ "version": "1.0.0-interval.22",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",