dtable-ui-component 5.0.0-alpha1 → 5.0.0
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/lib/CollaboratorItem/index.js +4 -1
- package/lib/DTableRadio/index.css +2 -2
- package/lib/Department-editor/index.css +3 -1
- package/lib/DepartmentSingleSelectFormatter/index.css +1 -1
- package/lib/FieldDisplaySetting/index.css +1 -1
- package/lib/data/dtable-value.js +1 -1
- package/lib/formatterConfig/base-formatter-config.js +2 -3
- package/package.json +1 -1
|
@@ -11,7 +11,10 @@ class CollaboratorItem extends _react.default.Component {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments);
|
|
13
13
|
this.onDeleteCollaborator = () => {
|
|
14
|
-
|
|
14
|
+
let {
|
|
15
|
+
collaborator
|
|
16
|
+
} = this.props;
|
|
17
|
+
this.props.onDeleteCollaborator(collaborator);
|
|
15
18
|
};
|
|
16
19
|
}
|
|
17
20
|
render() {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.dtable-radio .dtable-radio-selected-indicator {
|
|
29
|
-
background-color: #
|
|
29
|
+
background-color: #ED7109;
|
|
30
30
|
border: unset !important;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.dtable-radio .dtable-radio-selected-indicator.dtable-radio-indicator-disable {
|
|
38
|
-
background-color: #
|
|
38
|
+
background-color: #ED7109;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.dtable-radio .dtable-radio-selected-indicator::before {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
.selected-departments.dtable-ui .department-avatar-container {
|
|
96
96
|
width: 18px;
|
|
97
97
|
height: 18px;
|
|
98
|
-
background: #
|
|
98
|
+
background: #ED7109;
|
|
99
99
|
border-radius: 50%;
|
|
100
100
|
padding: 2px 2px 3px 2px;
|
|
101
101
|
}
|
|
@@ -113,3 +113,5 @@
|
|
|
113
113
|
margin-left: 4px;
|
|
114
114
|
flex: 1 1;
|
|
115
115
|
}
|
|
116
|
+
|
|
117
|
+
|
package/lib/data/dtable-value.js
CHANGED
|
@@ -2227,7 +2227,7 @@ const DTABLE_VALUE = exports.DTABLE_VALUE = {
|
|
|
2227
2227
|
'draggable': true,
|
|
2228
2228
|
'data': {
|
|
2229
2229
|
'rate_max_number': 5,
|
|
2230
|
-
'rate_style_color': '#
|
|
2230
|
+
'rate_style_color': '#ED7109',
|
|
2231
2231
|
'rate_style_type': 'dtable-icon-rate',
|
|
2232
2232
|
'enable_fill_default_value': false,
|
|
2233
2233
|
'default_value': ''
|
|
@@ -28,7 +28,7 @@ var _EmailFormatter = _interopRequireDefault(require("../EmailFormatter"));
|
|
|
28
28
|
var _DurationFormatter = _interopRequireDefault(require("../DurationFormatter"));
|
|
29
29
|
var _RateFormatter = _interopRequireDefault(require("../RateFormatter"));
|
|
30
30
|
var _ButtonFormatter = _interopRequireDefault(require("../ButtonFormatter"));
|
|
31
|
-
|
|
31
|
+
var _default = exports.default = {
|
|
32
32
|
[_constants.CellType.DEFAULT]: /*#__PURE__*/_react.default.createElement(_TextFormatter.default, null),
|
|
33
33
|
[_constants.CellType.TEXT]: /*#__PURE__*/_react.default.createElement(_TextFormatter.default, null),
|
|
34
34
|
[_constants.CellType.CHECKBOX]: /*#__PURE__*/_react.default.createElement(_CheckboxFormatter.default, null),
|
|
@@ -51,5 +51,4 @@ const BaseFormatterConfig = {
|
|
|
51
51
|
[_constants.CellType.DURATION]: /*#__PURE__*/_react.default.createElement(_DurationFormatter.default, null),
|
|
52
52
|
[_constants.CellType.RATE]: /*#__PURE__*/_react.default.createElement(_RateFormatter.default, null),
|
|
53
53
|
[_constants.CellType.BUTTON]: /*#__PURE__*/_react.default.createElement(_ButtonFormatter.default, null)
|
|
54
|
-
};
|
|
55
|
-
var _default = exports.default = BaseFormatterConfig;
|
|
54
|
+
};
|