@titaui/pc 1.7.87 → 1.7.88
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/components/dialog/index.css +1 -1
- package/lib/components/dialog-confirm/index.css +1 -2
- package/lib/components/dialog-confirm/index.js +4 -2
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +3 -1
- package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.css +4 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
display: inline-block;
|
|
3
3
|
width: 360px;
|
|
4
4
|
background: #ffffff;
|
|
5
|
-
border-radius: 24px;
|
|
5
|
+
border-radius: 24px !important;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.titaui-dialog-confirm__btn {
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
|
|
94
94
|
.titaui-dialog-confirm__body {
|
|
95
95
|
position: relative;
|
|
96
|
-
display: flex;
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
.titaui-dialog-confirm__body-icon {
|
|
@@ -15,7 +15,7 @@ require("rc-dialog/assets/index.css");
|
|
|
15
15
|
|
|
16
16
|
require("./index.css");
|
|
17
17
|
|
|
18
|
-
var _excluded = ["children", "visible", "type"];
|
|
18
|
+
var _excluded = ["children", "visible", "type", "className"];
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
21
|
|
|
@@ -73,6 +73,8 @@ var DialogConfirm = function DialogConfirm(props) {
|
|
|
73
73
|
var children = props.children,
|
|
74
74
|
visible = props.visible,
|
|
75
75
|
type = props.type,
|
|
76
|
+
_props$className = props.className,
|
|
77
|
+
className = _props$className === void 0 ? "" : _props$className,
|
|
76
78
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
77
79
|
|
|
78
80
|
var footer = [];
|
|
@@ -127,7 +129,7 @@ var DialogConfirm = function DialogConfirm(props) {
|
|
|
127
129
|
};
|
|
128
130
|
|
|
129
131
|
return /*#__PURE__*/_react["default"].createElement(_rcDialog["default"], _extends({
|
|
130
|
-
className: (0, _classnames["default"])(preCls, "".concat(preCls, "--no-bottom-line")),
|
|
132
|
+
className: (0, _classnames["default"])(preCls, "".concat(preCls, "--no-bottom-line"), className),
|
|
131
133
|
visible: visible,
|
|
132
134
|
closeIcon: /*#__PURE__*/_react["default"].createElement("span", null),
|
|
133
135
|
animation: "slide-fade",
|
|
@@ -23,6 +23,8 @@ var _drawerManager = _interopRequireDefault(require("../../../../../drawer-manag
|
|
|
23
23
|
|
|
24
24
|
var _tools = require("../../../../../../utils/tools");
|
|
25
25
|
|
|
26
|
+
var _openData = require("../../../../../../utils/open-data");
|
|
27
|
+
|
|
26
28
|
require("./index.css");
|
|
27
29
|
|
|
28
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -224,7 +226,7 @@ var Inform = function Inform(props) {
|
|
|
224
226
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-content"))
|
|
225
227
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
226
228
|
overlayClassName: "".concat(preCls, "__item-right-content-tooltip"),
|
|
227
|
-
text: (0, _utils.deleteText)((0, _utils.htmlToText)(item.content)),
|
|
229
|
+
text: (0, _openData.parseString)((0, _utils.deleteText)((0, _utils.htmlToText)(item.content))),
|
|
228
230
|
isPercent: true,
|
|
229
231
|
mouseEnterDelay: 0.8
|
|
230
232
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -17,6 +17,8 @@ var _utils = require("../../utils");
|
|
|
17
17
|
|
|
18
18
|
var _tools = require("../../../../../../utils/tools");
|
|
19
19
|
|
|
20
|
+
var _openData = require("../../../../../../utils/open-data");
|
|
21
|
+
|
|
20
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
23
|
|
|
22
24
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -73,7 +75,7 @@ var TodoItem = function TodoItem(props) {
|
|
|
73
75
|
className: (0, _classnames["default"])("".concat(preCls, "__item-right-content"))
|
|
74
76
|
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
75
77
|
overlayClassName: "".concat(preCls, "__item-right-content-tooltip"),
|
|
76
|
-
text: (0, _utils.deleteText)((0, _utils.htmlToText)(item.content)),
|
|
78
|
+
text: (0, _openData.parseString)((0, _utils.deleteText)((0, _utils.htmlToText)(item.content))),
|
|
77
79
|
isPercent: true,
|
|
78
80
|
mouseEnterDelay: 0.8
|
|
79
81
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -267,8 +267,10 @@ var EditChildOkrWeight = function EditChildOkrWeight(props) {
|
|
|
267
267
|
onChange: onChangeHandler
|
|
268
268
|
})));
|
|
269
269
|
}))), /*#__PURE__*/_react["default"].createElement(_dialogConfirm["default"], {
|
|
270
|
+
zIndex: 1299,
|
|
270
271
|
visible: showDialogConfirm,
|
|
271
|
-
type: "warning"
|
|
272
|
+
type: "warning",
|
|
273
|
+
className: "".concat(precls, "__confirm")
|
|
272
274
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
273
275
|
type: "title"
|
|
274
276
|
}, "\u5F53\u524D\u5B50\u76EE\u6807\u6743\u91CD\u5408\u8BA1\u5C0F\u4E8E100%\uFF0C\u786E\u5B9A\u8981\u4FDD\u5B58\u5417\uFF1F"), /*#__PURE__*/_react["default"].createElement(CancelButton, {
|