@chaoswise/ui 2.2.8 → 2.2.9
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/CWMessage/index.js
CHANGED
|
@@ -168,10 +168,12 @@ function Message(props) {
|
|
|
168
168
|
};
|
|
169
169
|
readInnerMessage(params);
|
|
170
170
|
onClickStrongMessageItem(data);
|
|
171
|
+
_notification.close(id);
|
|
171
172
|
},
|
|
172
173
|
duration: time,
|
|
173
174
|
prefixCls: "".concat(prefixCls, "-notification"),
|
|
174
|
-
className: "cw-message-notification-wrapper"
|
|
175
|
+
className: "cw-message-notification-wrapper",
|
|
176
|
+
key: id
|
|
175
177
|
}, restStrongMessageOption));
|
|
176
178
|
}
|
|
177
179
|
case 6:
|
package/lib/CWMessage/index.less
CHANGED
|
@@ -6,14 +6,11 @@ var _excluded = ["label", "value", "index", "handleDelete", "labelValue", "moveL
|
|
|
6
6
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7
7
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
8
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
|
-
import React, { Fragment
|
|
10
|
-
import { useDrag, useDrop } from "react-dnd";
|
|
9
|
+
import React, { Fragment } from "react";
|
|
11
10
|
import classnames from "classnames";
|
|
12
11
|
import { getLocale } from "./locale";
|
|
13
12
|
import LockSvg from "./assets/LockSvg";
|
|
14
13
|
import DragSvg from "./assets/DragSvg";
|
|
15
|
-
import { DndProvider } from "react-dnd";
|
|
16
|
-
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
17
14
|
var NotDragList = function NotDragList(_ref) {
|
|
18
15
|
var label = _ref.label,
|
|
19
16
|
value = _ref.value,
|
|
@@ -146,10 +146,8 @@ var TopicList = function TopicList(_ref) {
|
|
|
146
146
|
return handleDeleted(labelValue);
|
|
147
147
|
}
|
|
148
148
|
}));
|
|
149
|
-
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(
|
|
150
|
-
backend: HTML5Backend
|
|
151
|
-
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
149
|
+
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", _extends({
|
|
152
150
|
className: classnames("cw-transfer-right-content-main")
|
|
153
|
-
}, dragProps), renderItemContent))
|
|
151
|
+
}, dragProps), renderItemContent));
|
|
154
152
|
};
|
|
155
153
|
export default TopicList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chaoswise/ui",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.9",
|
|
4
4
|
"description": "公共UI库",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -139,5 +139,5 @@
|
|
|
139
139
|
"access": "public"
|
|
140
140
|
},
|
|
141
141
|
"license": "MIT",
|
|
142
|
-
"gitHead": "
|
|
142
|
+
"gitHead": "a813bf6565e6d63f6e4aa9af86067e6a577f521e"
|
|
143
143
|
}
|