@zgfe/modules-attribution 1.0.2-alpha.6 → 1.0.2-alpha.8

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.
@@ -50,7 +50,7 @@ var OptionGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {
50
50
  panel: {
51
51
  id: panelId
52
52
  },
53
- name: panelName ? panelName + '(1)' : '归因分析'
53
+ name: panelName ? panelName + '(1)' : '归因'
54
54
  };
55
55
  setPanelValue(item);
56
56
  setShowPanelDialog(true);
@@ -182,7 +182,7 @@ var EditTitle = function EditTitle(props) {
182
182
  }, "\u4FDD\u5B58")));
183
183
  };
184
184
  EditTitle.defaultProps = {
185
- title: '归因分析',
185
+ title: '归因',
186
186
  type: 'edit'
187
187
  };
188
188
  export default EditTitle;
@@ -118,7 +118,7 @@ var AttributionHome = function AttributionHome(props) {
118
118
  onEditTitle: setTitle
119
119
  }), !panelId && /*#__PURE__*/React.createElement("div", {
120
120
  className: "".concat(classPrefix, "-header-title")
121
- }, "\u5F52\u56E0\u5206\u6790"), /*#__PURE__*/React.createElement("div", {
121
+ }, "\u5F52\u56E0"), /*#__PURE__*/React.createElement("div", {
122
122
  className: "".concat(classPrefix, "-content ").concat(panelId ? classPrefix + '-content2' : '')
123
123
  }, /*#__PURE__*/React.createElement(AttributionContent, {
124
124
  ref: attributionRef,
@@ -181,7 +181,7 @@ var SearchPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
181
181
  return document.getElementById('attribution-type');
182
182
  },
183
183
  title: attributionTypeTooltips[type].title
184
- }, attributionTypeTooltips[type].text);
184
+ }, /*#__PURE__*/React.createElement("p", null, attributionTypeTooltips[type].text));
185
185
  };
186
186
  return /*#__PURE__*/React.createElement("div", {
187
187
  className: classPrefix
@@ -292,6 +292,9 @@ var SearchPanel = /*#__PURE__*/React.forwardRef(function (props, ref) {
292
292
  }]
293
293
  }, /*#__PURE__*/React.createElement(Select, {
294
294
  className: "attribution-type",
295
+ getPopupContainer: function getPopupContainer() {
296
+ return document.getElementById('attribution-type');
297
+ },
295
298
  placeholder: "\u8BF7\u9009\u62E9",
296
299
  style: {
297
300
  width: 208
@@ -43,7 +43,11 @@
43
43
 
44
44
  #attribution-type{
45
45
  position: relative;
46
+ .ant-select-dropdown{
47
+ z-index: 998;
48
+ }
46
49
  .attribution-type-tooltip {
50
+ z-index: 999;
47
51
  left: 200px!important;
48
52
  &-distance{
49
53
  left: 170px!important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-attribution",
3
- "version": "1.0.2-alpha.6",
3
+ "version": "1.0.2-alpha.8",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -37,7 +37,7 @@
37
37
  "@types/lodash": "^4.14.191",
38
38
  "@umijs/fabric": "^2.8.1",
39
39
  "@umijs/test": "^3.0.5",
40
- "@zgfe/business-lib": "1.1.41-attribution.17",
40
+ "@zgfe/business-lib": "1.1.41-attribution.18",
41
41
  "antd": "^4.22.6",
42
42
  "dumi": "^1.1.0",
43
43
  "echarts": "^5.3.2",
@@ -50,5 +50,5 @@
50
50
  "react": "^16.12.0 || ^17.0.0",
51
51
  "yorkie": "^2.0.0"
52
52
  },
53
- "gitHead": "91105cd64e8ea5ae05c94085e1b2bc4ad1e1cc2b"
53
+ "gitHead": "3c9dd637b0c0b38208f62ab7883e6673683323b2"
54
54
  }