@zgfe/business-lib 1.2.71-hxd.31 → 1.2.71-hxd.33
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/addToPanel/index.js
CHANGED
|
@@ -98,7 +98,7 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
98
98
|
form.extendTarget ? searchParam.extendTarget = form.extendTarget : null;
|
|
99
99
|
var resData = {
|
|
100
100
|
data: searchParam,
|
|
101
|
-
chosen_data: form.showList && form.showList === 'dynamic' ? [] : props.showList
|
|
101
|
+
chosen_data: form.showList && form.showList === 'dynamic' ? [] : props.params.showList
|
|
102
102
|
};
|
|
103
103
|
if (searchParam === null || searchParam === void 0 ? void 0 : searchParam.overall) {
|
|
104
104
|
resData.module = 'overall';
|
|
@@ -29,7 +29,7 @@ var BizAttributeSelector = function BizAttributeSelector(_ref) {
|
|
|
29
29
|
_ref$optionsHeaderTip = _ref.optionsHeaderTip,
|
|
30
30
|
optionsHeaderTip = _ref$optionsHeaderTip === void 0 ? '带*的属性每日凌晨更新' : _ref$optionsHeaderTip,
|
|
31
31
|
_ref$destroyPopupOnHi = _ref.destroyPopupOnHide,
|
|
32
|
-
destroyPopupOnHide = _ref$destroyPopupOnHi === void 0 ?
|
|
32
|
+
destroyPopupOnHide = _ref$destroyPopupOnHi === void 0 ? true : _ref$destroyPopupOnHi,
|
|
33
33
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
34
34
|
var _props$enableDelete = props.enableDelete,
|
|
35
35
|
enableDelete = _props$enableDelete === void 0 ? false : _props$enableDelete,
|
|
@@ -100,7 +100,9 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
100
100
|
name: item.name
|
|
101
101
|
});
|
|
102
102
|
});
|
|
103
|
-
stAnchor(
|
|
103
|
+
stAnchor(function () {
|
|
104
|
+
return data;
|
|
105
|
+
});
|
|
104
106
|
if (enableEventProp) {
|
|
105
107
|
list.push({
|
|
106
108
|
id: data.event,
|
|
@@ -119,7 +121,9 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
119
121
|
name: '触发环境'
|
|
120
122
|
});
|
|
121
123
|
}
|
|
122
|
-
setAnchorList(
|
|
124
|
+
setAnchorList(function () {
|
|
125
|
+
return list;
|
|
126
|
+
});
|
|
123
127
|
}, [id]);
|
|
124
128
|
var classPrefix = 'biz-attr-select';
|
|
125
129
|
useEffect(function () {
|
|
@@ -466,6 +470,7 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
466
470
|
list = list.concat(childList);
|
|
467
471
|
}
|
|
468
472
|
});
|
|
473
|
+
console.log(optionList, list, anchor, anchorList, 'anchorListanchorListanchorList');
|
|
469
474
|
return list;
|
|
470
475
|
}();
|
|
471
476
|
if (!showList.length && !searchValue) return /*#__PURE__*/React.createElement("div", {
|
|
@@ -478,7 +483,7 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
478
483
|
return setSearchValue(val);
|
|
479
484
|
},
|
|
480
485
|
placeholder: "\u641C\u7D22\u5C5E\u6027"
|
|
481
|
-
}), showList.length ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Anchor, {
|
|
486
|
+
}), /*#__PURE__*/React.createElement("div", null, anchor.container), showList.length ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Anchor, {
|
|
482
487
|
className: "".concat(classPrefix, "-anchor-panel"),
|
|
483
488
|
affix: false,
|
|
484
489
|
onClick: function onClick(e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.71-hxd.
|
|
3
|
+
"version": "1.2.71-hxd.33",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react": "^16.12.0 || ^17.0.0",
|
|
56
56
|
"yorkie": "^2.0.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "2ce79f5e8a302f8537678057aec9fc452a5a3210",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|