dtable-ui-component 5.2.11-alpha2 → 5.2.11-alpha3
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.
|
@@ -18,7 +18,7 @@ class DTableGroupSelect extends _react.Component {
|
|
|
18
18
|
event.preventDefault();
|
|
19
19
|
if (this.state.isShowSelectOptions) event.stopPropagation();
|
|
20
20
|
let eventClassName = event.target.className;
|
|
21
|
-
if (eventClassName.indexOf('
|
|
21
|
+
if (eventClassName.indexOf('dtable-icon-x') > -1 || eventClassName === 'option-group-search') return;
|
|
22
22
|
if (event.target.value === '') return;
|
|
23
23
|
this.setState({
|
|
24
24
|
isShowSelectOptions: !this.state.isShowSelectOptions
|
|
@@ -86,11 +86,11 @@ class DTableGroupSelect extends _react.Component {
|
|
|
86
86
|
className: "selected-option-show"
|
|
87
87
|
}, selectedOptions.map(item => /*#__PURE__*/_react.default.createElement("span", {
|
|
88
88
|
key: item.id,
|
|
89
|
-
className: "selected-option-item mr-1
|
|
89
|
+
className: "selected-option-item mr-1 pr-1 pl-2"
|
|
90
90
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
91
91
|
className: "selected-option-item-name"
|
|
92
92
|
}, item.name), /*#__PURE__*/_react.default.createElement("i", {
|
|
93
|
-
className: "
|
|
93
|
+
className: "dtable-font dtable-icon-x ml-1",
|
|
94
94
|
onClick: () => {
|
|
95
95
|
this.props.onDeleteOption(item);
|
|
96
96
|
}
|
|
@@ -147,7 +147,7 @@ class SelectOptionGroup extends _react.Component {
|
|
|
147
147
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
148
148
|
className: "option-label"
|
|
149
149
|
}, option.label), isSelected && /*#__PURE__*/_react.default.createElement("i", {
|
|
150
|
-
className: "
|
|
150
|
+
className: "dtable-font dtable-icon-check-mark text-gray font-weight-bold"
|
|
151
151
|
}));
|
|
152
152
|
});
|
|
153
153
|
};
|