dtable-ui-component 5.2.5 → 5.2.6-alpha2
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.
|
@@ -107,7 +107,8 @@ const DropdownIndicator = props => {
|
|
|
107
107
|
return _reactSelect.components.DropdownIndicator && /*#__PURE__*/_react.default.createElement(_reactSelect.components.DropdownIndicator, props, /*#__PURE__*/_react.default.createElement("span", {
|
|
108
108
|
className: "dtable-font dtable-icon-drop-down",
|
|
109
109
|
style: {
|
|
110
|
-
fontSize: '12px'
|
|
110
|
+
fontSize: '12px',
|
|
111
|
+
marginLeft: '-2px'
|
|
111
112
|
}
|
|
112
113
|
}));
|
|
113
114
|
};
|
|
@@ -125,7 +126,13 @@ const ClearIndicator = _ref => {
|
|
|
125
126
|
...innerProps,
|
|
126
127
|
onMouseDown
|
|
127
128
|
};
|
|
128
|
-
return /*#__PURE__*/_react.default.createElement(_reactSelect.components.ClearIndicator, props
|
|
129
|
+
return /*#__PURE__*/_react.default.createElement(_reactSelect.components.ClearIndicator, props, /*#__PURE__*/_react.default.createElement("span", {
|
|
130
|
+
className: "dtable-font dtable-icon-fork-number",
|
|
131
|
+
style: {
|
|
132
|
+
fontSize: '12px',
|
|
133
|
+
marginRight: '-2px'
|
|
134
|
+
}
|
|
135
|
+
}));
|
|
129
136
|
};
|
|
130
137
|
exports.ClearIndicator = ClearIndicator;
|
|
131
138
|
const MenuList = props => /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -231,10 +231,12 @@ class EditorFormatter extends _react.default.Component {
|
|
|
231
231
|
}
|
|
232
232
|
case _constants.CellType.CHECKBOX:
|
|
233
233
|
{
|
|
234
|
+
var _column$data;
|
|
234
235
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
235
236
|
className: "checkbox-formatter-container"
|
|
236
237
|
}, /*#__PURE__*/_react.default.createElement(_CheckboxFormatter.default, {
|
|
237
|
-
value: cellValue
|
|
238
|
+
value: cellValue,
|
|
239
|
+
checkboxStyle: ((_column$data = column.data) === null || _column$data === void 0 ? void 0 : _column$data.checkbox_style) || {}
|
|
238
240
|
}));
|
|
239
241
|
}
|
|
240
242
|
case _constants.CellType.CREATOR:
|