@zgfe/business-lib 1.1.10 → 1.1.11-insight.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/es/select/option.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Tooltip } from 'antd';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { classPrefix } from '.';
|
|
3
4
|
import IconFont from '../icon/iconFont';
|
|
@@ -45,8 +46,7 @@ var SelectOption = function SelectOption(props) {
|
|
|
45
46
|
|
|
46
47
|
return /*#__PURE__*/React.createElement("div", {
|
|
47
48
|
className: "".concat(classPrefix, "-option ").concat(multiple ? classPrefix + '-option-multiple' : '', " ").concat(checked ? 'active' : '', " ").concat(disabled ? 'disabled' : ''),
|
|
48
|
-
onClick: onClick
|
|
49
|
-
title: option[props.labelField]
|
|
49
|
+
onClick: onClick
|
|
50
50
|
}, multiple && (checked ? /*#__PURE__*/React.createElement(IconFont, {
|
|
51
51
|
className: "".concat(classPrefix, "-checkbox ").concat(classPrefix, "-checked"),
|
|
52
52
|
type: 'a-Property1xuanzhong'
|
|
@@ -55,9 +55,12 @@ var SelectOption = function SelectOption(props) {
|
|
|
55
55
|
type: 'a-Property1moren'
|
|
56
56
|
})), (option === null || option === void 0 ? void 0 : option.icon) && /*#__PURE__*/React.createElement("span", {
|
|
57
57
|
className: "".concat(classPrefix, "-option-icon")
|
|
58
|
-
}, option === null || option === void 0 ? void 0 : option.icon), /*#__PURE__*/React.createElement(
|
|
58
|
+
}, option === null || option === void 0 ? void 0 : option.icon), /*#__PURE__*/React.createElement(Tooltip, {
|
|
59
|
+
title: option[props.labelField],
|
|
60
|
+
zIndex: 100000
|
|
61
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
59
62
|
className: "".concat(classPrefix, "-option-label")
|
|
60
|
-
}, renderLabel(option)), !disabled && /*#__PURE__*/React.createElement("span", {
|
|
63
|
+
}, renderLabel(option))), !disabled && /*#__PURE__*/React.createElement("span", {
|
|
61
64
|
className: "".concat(classPrefix, "-option-btn")
|
|
62
65
|
}, props.extra && props.extra(option)));
|
|
63
66
|
};
|
|
@@ -31,7 +31,8 @@ var BizTargetCondition = function BizTargetCondition(props) {
|
|
|
31
31
|
setTargetData = _useState2[1];
|
|
32
32
|
|
|
33
33
|
var _useContext = useContext(BizGlobalDataContext),
|
|
34
|
-
|
|
34
|
+
_useContext$eventGrou = _useContext.eventGroupList,
|
|
35
|
+
eventGroupList = _useContext$eventGrou === void 0 ? [] : _useContext$eventGrou;
|
|
35
36
|
|
|
36
37
|
var _useState3 = useState({
|
|
37
38
|
analysisIndex: 'number'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11-insight.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react": "^16.12.0 || ^17.0.0",
|
|
61
61
|
"yorkie": "^2.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "5aca941c63bda9262f0693ef06f59e72b9a3e59e"
|
|
64
64
|
}
|