@zgfe/modules-event 0.1.5-event.54 → 0.1.5-event.56

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.
@@ -10,12 +10,9 @@
10
10
  }
11
11
  .biz-event-select,
12
12
  .biz-attr-select {
13
- width: 208px;
13
+ min-width: 208px;
14
14
  margin-right: 16px;
15
15
  }
16
- .biz-attr-select .biz-attr-select-handle {
17
- max-width: 208px !important;
18
- }
19
16
  .shaixuan {
20
17
  margin-top: 2px;
21
18
  color: #9aa1a9;
@@ -70,7 +70,6 @@ var SearchPanel = function SearchPanel(props) {
70
70
  if (searchData.analysisAttr && !searchData.analysisSubject) {
71
71
  _dimension['analysisAttr'] = searchData.analysisAttr;
72
72
  }
73
- setDimension && setDimension(_objectSpread({}, _dimension));
74
73
  }, [searchData]);
75
74
  useEffect(function () {
76
75
  if (!props.enableSelectChart && chart.value === 'map') {
@@ -103,6 +102,9 @@ var SearchPanel = function SearchPanel(props) {
103
102
  chartType: chart.value
104
103
  }, data));
105
104
  };
105
+ useEffect(function () {
106
+ console.log('>>>>>>>>>>>', dimension);
107
+ }, [dimension]);
106
108
  return /*#__PURE__*/React.createElement("div", {
107
109
  className: classPrefix
108
110
  }, /*#__PURE__*/React.createElement("div", {
@@ -117,7 +119,7 @@ var SearchPanel = function SearchPanel(props) {
117
119
  normalOptions: currentNormalOptions,
118
120
  value: dimension,
119
121
  eventId: props.eventId,
120
- isExtend: analysisSubjectType === 'eventProp' ? false : true,
122
+ isExtend: true,
121
123
  onChange: onDimensionChange
122
124
  })), /*#__PURE__*/React.createElement("div", {
123
125
  className: "".concat(classPrefix, "-search-right")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-event",
3
- "version": "0.1.5-event.54",
3
+ "version": "0.1.5-event.56",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -49,7 +49,7 @@
49
49
  "react": "^16.12.0 || ^17.0.0",
50
50
  "yorkie": "^2.0.0"
51
51
  },
52
- "gitHead": "e1edc20cd049a81668b8694062490d4d8c1d4a51",
52
+ "gitHead": "6a909b71f6bd93788286840697f1dd1460a7dc18",
53
53
  "dependencies": {
54
54
  "react-copy-to-clipboard": "^5.1.0",
55
55
  "react-highlight": "^0.15.0"