@zgfe/modules-event 0.1.0 → 0.1.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.
@@ -70,9 +70,14 @@
70
70
  .tooltip-name-box {
71
71
  display: flex;
72
72
  &-market {
73
- display: flex;
73
+ max-width: calc(100% - 20px);
74
74
  margin-right: 8px;
75
+ overflow: hidden;
76
+ white-space: nowrap;
77
+ text-overflow: ellipsis;
75
78
  cursor: pointer;
79
+ -webkit-line-clamp: 1;
80
+ -webkit-box-orient: vertical;
76
81
  .shoucang {
77
82
  color: #fd9f41;
78
83
  font-size: 16px !important;
@@ -43,7 +43,7 @@ export default (function () {
43
43
  };
44
44
  return /*#__PURE__*/React.createElement(DemoWrapper, {
45
45
  needMeta: true,
46
- defaultApp: 233
46
+ defaultApp: 461
47
47
  }, isDetail ? /*#__PURE__*/React.createElement("div", null, JSON.stringify(detailParams), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
48
48
  onClick: function onClick() {
49
49
  return setIsDetail(false);
@@ -65,12 +65,7 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
65
65
  title: val
66
66
  }, /*#__PURE__*/React.createElement("div", {
67
67
  className: "tooltip-name-box-market"
68
- }, util.strMiddleSplit(val, {
69
- maxLength: 9,
70
- beginLength: 9,
71
- endLength: 0,
72
- replaceStr: '...'
73
- }))), /*#__PURE__*/React.createElement(Tooltip, {
68
+ }, val)), /*#__PURE__*/React.createElement(Tooltip, {
74
69
  title: "\u590D\u5236"
75
70
  }, /*#__PURE__*/React.createElement(CopyToClipboard, {
76
71
  text: val,
@@ -109,12 +104,7 @@ export function getColumns(eventGroupList, userPropList, eventEnvList, columnDat
109
104
  }, /*#__PURE__*/React.createElement(IconFont, {
110
105
  type: "shoucang",
111
106
  className: "".concat(marketEventNameList.indexOf(_val) === -1 ? 'notshoucang' : '')
112
- }), util.strMiddleSplit(_val, {
113
- maxLength: 9,
114
- beginLength: 9,
115
- endLength: 0,
116
- replaceStr: '...'
117
- }))), /*#__PURE__*/React.createElement(Tooltip, {
107
+ }), _val)), /*#__PURE__*/React.createElement(Tooltip, {
118
108
  title: "\u590D\u5236"
119
109
  }, /*#__PURE__*/React.createElement(CopyToClipboard, {
120
110
  text: _val,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-event",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
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": "24eca66c4f0a78342871fa4b6e4aba238d7d5034",
52
+ "gitHead": "96d14b116caa8b1c5df614c0f2409549bf8256c8",
53
53
  "dependencies": {
54
54
  "react-copy-to-clipboard": "^5.1.0",
55
55
  "react-highlight": "^0.15.0"