sea-chart 0.0.53-alpha.2 → 0.0.53
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.
package/dist/view/index.css
CHANGED
|
@@ -25,15 +25,12 @@ class Table extends PureComponent {
|
|
|
25
25
|
return /*#__PURE__*/React.createElement("div", null, intl.get('There_are_too_many_statistics_entries_to_display'));
|
|
26
26
|
}
|
|
27
27
|
if (columnGroupbyColumn) {
|
|
28
|
-
console.log('TwoDimensionTable');
|
|
29
28
|
return /*#__PURE__*/React.createElement(TwoDimensionTable, this.props);
|
|
30
29
|
}
|
|
31
30
|
if (!Array.isArray(pivot_columns)) return null;
|
|
32
31
|
if (pivot_columns.length < 2) {
|
|
33
|
-
console.log('NoNumericColumns');
|
|
34
32
|
return /*#__PURE__*/React.createElement(OneDimensionTableNoNumericColumns, this.props);
|
|
35
33
|
}
|
|
36
|
-
console.log('WithNumericColumns');
|
|
37
34
|
return /*#__PURE__*/React.createElement(OneDimensionTableWithNumericColumns, this.props);
|
|
38
35
|
};
|
|
39
36
|
}
|
|
@@ -41,7 +38,6 @@ class Table extends PureComponent {
|
|
|
41
38
|
const {
|
|
42
39
|
result
|
|
43
40
|
} = this.props;
|
|
44
|
-
console.log('result', result);
|
|
45
41
|
return /*#__PURE__*/React.createElement("div", {
|
|
46
42
|
className: "sea-chart-table-wrapper sea-chart-".concat(result.dimensions, "-table-wrapper")
|
|
47
43
|
// onClick={this.onTableClick}
|
|
@@ -73,7 +73,6 @@ class PivotTableDisplayName extends React.Component {
|
|
|
73
73
|
}, optionName);
|
|
74
74
|
};
|
|
75
75
|
this.renderCollaborator = collaborator => {
|
|
76
|
-
console.log('renderCollaborator', collaborator);
|
|
77
76
|
if (!collaborator) return null;
|
|
78
77
|
const {
|
|
79
78
|
avatar_url,
|
|
@@ -104,7 +103,6 @@ class PivotTableDisplayName extends React.Component {
|
|
|
104
103
|
collaborators
|
|
105
104
|
} = this.state;
|
|
106
105
|
let displayName;
|
|
107
|
-
console.log('column-type', type, column);
|
|
108
106
|
switch (type) {
|
|
109
107
|
case CellType.SINGLE_SELECT:
|
|
110
108
|
{
|
|
@@ -235,18 +233,14 @@ class PivotTableDisplayName extends React.Component {
|
|
|
235
233
|
let valueNumber = parseFloat(value);
|
|
236
234
|
displayValue = isNumber(valueNumber) ? getNumberDisplayString(valueNumber, data) : value;
|
|
237
235
|
} else if (result_type === FORMULA_RESULT_TYPE.ARRAY) {
|
|
238
|
-
console.log('value', value);
|
|
239
236
|
if (COLLABORATOR_COLUMN_TYPES.includes(array_type) && Array.isArray(value)) {
|
|
240
237
|
displayValue = value.map(email => {
|
|
241
238
|
let user = array_type === CellType.COLLABORATOR ? getCollaborator(collaborators, email) : getKnownCollaboratorByEmail(email);
|
|
242
|
-
console.log('user', user);
|
|
243
239
|
return (user || {}).name;
|
|
244
240
|
});
|
|
245
|
-
console.log('displayValue', displayValue);
|
|
246
241
|
displayValue = displayValue.join(' ');
|
|
247
242
|
}
|
|
248
243
|
}
|
|
249
|
-
console.log('default', displayValue);
|
|
250
244
|
displayName = /*#__PURE__*/React.createElement("div", {
|
|
251
245
|
title: displayValue,
|
|
252
246
|
"aria-label": displayValue
|