dtable-ui-component 0.1.90-test4 → 0.1.91
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.
|
@@ -68,7 +68,8 @@ var LinkFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
68
68
|
className: "link-item",
|
|
69
69
|
onClick: _this.expandLinkedTableRow.bind(_assertThisInitialized(_this), row)
|
|
70
70
|
}, /*#__PURE__*/React.createElement("div", {
|
|
71
|
-
className: "link-name"
|
|
71
|
+
className: "link-name",
|
|
72
|
+
title: displayValue
|
|
72
73
|
}, displayValue));
|
|
73
74
|
});
|
|
74
75
|
return result;
|
|
@@ -84,16 +84,12 @@ var SimpleLongTextFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
_this.onMouseEnter = function () {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
/*
|
|
90
|
-
if (this.props.isFormulaFormatter) {
|
|
87
|
+
// in case that there is no `modal-wrapper`
|
|
88
|
+
if (!document.getElementById('modal-wrapper')) {
|
|
91
89
|
return;
|
|
92
90
|
}
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
_this.clearTimer(); //if (!window.isMobile && this.state.value && this.state.value.text) {
|
|
96
91
|
|
|
92
|
+
_this.clearTimer();
|
|
97
93
|
|
|
98
94
|
if (_this.props.value) {
|
|
99
95
|
_this.timer = setTimeout(function () {
|
|
@@ -132,7 +128,7 @@ var SimpleLongTextFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
132
128
|
|
|
133
129
|
var isPreview = this.state.isPreview;
|
|
134
130
|
var containerClassName = this.props.containerClassName;
|
|
135
|
-
var className = cn('dtable-ui cell-formatter-container long-text-formatter
|
|
131
|
+
var className = cn('dtable-ui cell-formatter-container long-text-formatter', containerClassName);
|
|
136
132
|
var value = this.translateValue();
|
|
137
133
|
return /*#__PURE__*/React.createElement("div", {
|
|
138
134
|
className: className,
|
|
@@ -29,8 +29,7 @@ var LongTextPreview = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
29
29
|
top = top - padding;
|
|
30
30
|
|
|
31
31
|
if (top + height > window.innerHeight) {
|
|
32
|
-
top = top - height > 0 ? top - height : 0;
|
|
33
|
-
//top = top + window.canvas.getRowHeight();
|
|
32
|
+
top = top - height > 0 ? top - height : 0;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
return {
|