linkmore-design 1.0.96 → 1.0.97
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/dist/index.umd.js +5 -2
- package/dist/index.umd.min.js +2 -2
- package/es/LeftTable/index.js +5 -2
- package/lib/LeftTable/index.js +5 -2
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -196163,7 +196163,7 @@
|
|
|
196163
196163
|
|
|
196164
196164
|
var imgTest = "40b22ad7b4ea2a7e.jpg";
|
|
196165
196165
|
|
|
196166
|
-
var _excluded$1i = ["useToggle", "toggleTree", "treeData", "treeType", "modeType", "showType", "onAdd", "bottomNode"];
|
|
196166
|
+
var _excluded$1i = ["useToggle", "toggleTree", "treeData", "treeType", "modeType", "showType", "onAdd", "onHeaderClick", "bottomNode"];
|
|
196167
196167
|
|
|
196168
196168
|
function TitleWithDelete(_ref) {
|
|
196169
196169
|
var title = _ref.title,
|
|
@@ -196220,6 +196220,8 @@
|
|
|
196220
196220
|
showType = _props$showType === void 0 ? 'primary' : _props$showType,
|
|
196221
196221
|
_props$onAdd = props.onAdd,
|
|
196222
196222
|
onAdd = _props$onAdd === void 0 ? function () {} : _props$onAdd,
|
|
196223
|
+
_props$onHeaderClick = props.onHeaderClick,
|
|
196224
|
+
onHeaderClick = _props$onHeaderClick === void 0 ? function () {} : _props$onHeaderClick,
|
|
196223
196225
|
_props$bottomNode = props.bottomNode,
|
|
196224
196226
|
bottomNode = _props$bottomNode === void 0 ? null : _props$bottomNode,
|
|
196225
196227
|
rest = _objectWithoutProperties$1(props, _excluded$1i); // 带有删除的树
|
|
@@ -196282,7 +196284,8 @@
|
|
|
196282
196284
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
196283
196285
|
className: useToggle ? "lm_grid_tree ".concat(modeTypeCls) : "lm_grid_tree grid_toggle ".concat(modeTypeCls)
|
|
196284
196286
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
196285
|
-
className: "grid_tree_title"
|
|
196287
|
+
className: "grid_tree_title",
|
|
196288
|
+
onClick: onHeaderClick
|
|
196286
196289
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
196287
196290
|
className: "grid_tree_title_left"
|
|
196288
196291
|
}, /*#__PURE__*/React__default['default'].createElement("span", null, useTree.title)), treeType && /*#__PURE__*/React__default['default'].createElement(Index$9, {
|