@titaui/pc 1.15.39 → 1.15.40
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/date-picker/BodyItem.js +3 -3
- package/lib/components/date-picker/CalendarHeader.js +3 -3
- package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
- package/lib/components/eReport/eReportLists/reportList.js +3 -3
- package/lib/components/emotions-selector/selector-pop.js +3 -3
- package/lib/components/ereport-list/index.js +3 -3
- package/lib/components/mblog/components/MblogAction.js +3 -3
- package/lib/components/nav-top/components/app-center/index.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
- package/lib/components/okrcase-library/index.js +2 -1
- package/lib/components/quick-entrance/index.js +8 -0
- package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
- package/lib/components/rich-editor/models/schema.js +6 -6
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
- package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
- package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
- package/lib/components/rich-editor/plugins/core/index.js +4 -4
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
- package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
- package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
- package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
- package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
- package/lib/components/rich-editor/react/uiProvider.js +3 -3
- package/lib/components/rich-editor/ui/Popup/index.js +3 -3
- package/lib/components/select/Option.js +3 -3
- package/lib/components/tita-chart/errorBoundary/index.js +3 -3
- package/lib/components-v1/animate/AnimateChild.js +3 -3
- package/lib/components-v1/avatar/index.js +3 -3
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
- package/lib/components-v1/progress/CircleProgress.js +3 -3
- package/lib/components-v1/select/Option.js +3 -3
- package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
- package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
- package/lib/components-v1/userSelector/components/UserItem.js +3 -3
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
|
|
|
45
45
|
var _super = _createSuper(Avatar);
|
|
46
46
|
|
|
47
47
|
function Avatar() {
|
|
48
|
-
var
|
|
48
|
+
var _this;
|
|
49
49
|
|
|
50
50
|
_classCallCheck(this, Avatar);
|
|
51
51
|
|
|
@@ -53,7 +53,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
|
|
|
53
53
|
args[_key] = arguments[_key];
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
return _possibleConstructorReturn(_this, (
|
|
56
|
+
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.renderImgAvatar = function () {
|
|
57
57
|
var src = _this.props.src;
|
|
58
58
|
return /*#__PURE__*/_react["default"].createElement("img", {
|
|
59
59
|
style: {
|
|
@@ -103,7 +103,7 @@ var Avatar = /*#__PURE__*/function (_PureComponent) {
|
|
|
103
103
|
height: size.width,
|
|
104
104
|
background: color
|
|
105
105
|
}, cuttedName);
|
|
106
|
-
},
|
|
106
|
+
}, _assertThisInitialized(_this)));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
_createClass(Avatar, [{
|
|
@@ -47,7 +47,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
|
|
|
47
47
|
var _super = _createSuper(StatelessDropdown);
|
|
48
48
|
|
|
49
49
|
function StatelessDropdown() {
|
|
50
|
-
var
|
|
50
|
+
var _this;
|
|
51
51
|
|
|
52
52
|
_classCallCheck(this, StatelessDropdown);
|
|
53
53
|
|
|
@@ -55,7 +55,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
|
|
|
55
55
|
args[_key] = arguments[_key];
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
return _possibleConstructorReturn(_this, (
|
|
58
|
+
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.renderLabel = function () {
|
|
59
59
|
if (_this.props.labelText) {
|
|
60
60
|
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
61
61
|
className: "drop-down-label"
|
|
@@ -63,7 +63,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
return "";
|
|
66
|
-
},
|
|
66
|
+
}, _assertThisInitialized(_this)));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
_createClass(StatelessDropdown, [{
|
|
@@ -41,7 +41,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
|
|
|
41
41
|
var _super = _createSuper(CircleProgress);
|
|
42
42
|
|
|
43
43
|
function CircleProgress() {
|
|
44
|
-
var
|
|
44
|
+
var _this;
|
|
45
45
|
|
|
46
46
|
_classCallCheck(this, CircleProgress);
|
|
47
47
|
|
|
@@ -49,7 +49,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
|
|
|
49
49
|
args[_key] = arguments[_key];
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
return _possibleConstructorReturn(_this, (
|
|
52
|
+
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.getTextContent = function () {
|
|
53
53
|
var _this$props = _this.props,
|
|
54
54
|
formatText = _this$props.formatText,
|
|
55
55
|
percent = _this$props.percent;
|
|
@@ -59,7 +59,7 @@ var CircleProgress = /*#__PURE__*/function (_Component) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
return percent + getLocale("OKR_MyO_Pop_Upd_Percentage");
|
|
62
|
-
},
|
|
62
|
+
}, _assertThisInitialized(_this)));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
_createClass(CircleProgress, [{
|
|
@@ -47,7 +47,7 @@ var Option = /*#__PURE__*/function (_Component) {
|
|
|
47
47
|
var _super = _createSuper(Option);
|
|
48
48
|
|
|
49
49
|
function Option() {
|
|
50
|
-
var
|
|
50
|
+
var _this;
|
|
51
51
|
|
|
52
52
|
_classCallCheck(this, Option);
|
|
53
53
|
|
|
@@ -55,7 +55,7 @@ var Option = /*#__PURE__*/function (_Component) {
|
|
|
55
55
|
args[_key] = arguments[_key];
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
return _possibleConstructorReturn(_this, (
|
|
58
|
+
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
|
|
59
59
|
e.stopPropagation();
|
|
60
60
|
e.nativeEvent.stopImmediatePropagation();
|
|
61
61
|
var onSelect = _this.props.onSelect;
|
|
@@ -65,7 +65,7 @@ var Option = /*#__PURE__*/function (_Component) {
|
|
|
65
65
|
height: _this.props.height,
|
|
66
66
|
lineHeight: _this.props.height
|
|
67
67
|
};
|
|
68
|
-
},
|
|
68
|
+
}, _assertThisInitialized(_this)));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
_createClass(Option, [{
|
|
@@ -52,7 +52,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
|
|
|
52
52
|
var _super = _createSuper(UserSelectorPop);
|
|
53
53
|
|
|
54
54
|
function UserSelectorPop() {
|
|
55
|
-
var
|
|
55
|
+
var _this;
|
|
56
56
|
|
|
57
57
|
_classCallCheck(this, UserSelectorPop);
|
|
58
58
|
|
|
@@ -60,7 +60,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
|
|
|
60
60
|
args[_key] = arguments[_key];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
return _possibleConstructorReturn(_this, (
|
|
63
|
+
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function (e) {
|
|
64
64
|
if (_this.props.stopPropagation && !!e) {
|
|
65
65
|
e.stopPropagation();
|
|
66
66
|
e.nativeEvent.stopImmediatePropagation();
|
|
@@ -74,7 +74,7 @@ var UserSelectorPop = /*#__PURE__*/function (_PureComponent) {
|
|
|
74
74
|
}, _this.show = function (el) {
|
|
75
75
|
// @ts-ignore
|
|
76
76
|
_this.refs.pop.show(el);
|
|
77
|
-
},
|
|
77
|
+
}, _assertThisInitialized(_this)));
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
_createClass(UserSelectorPop, [{
|
|
@@ -61,7 +61,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
|
|
|
61
61
|
var _super = _createSuper(MutiMode);
|
|
62
62
|
|
|
63
63
|
function MutiMode() {
|
|
64
|
-
var
|
|
64
|
+
var _this;
|
|
65
65
|
|
|
66
66
|
_classCallCheck(this, MutiMode);
|
|
67
67
|
|
|
@@ -69,7 +69,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
|
|
|
69
69
|
args[_key] = arguments[_key];
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
return _possibleConstructorReturn(_this, (
|
|
72
|
+
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleDepartment = function (d) {
|
|
73
73
|
var _this$props = _this.props,
|
|
74
74
|
selectedDept = _this$props.selectedDept,
|
|
75
75
|
onSelectDept = _this$props.onSelectDept;
|
|
@@ -90,7 +90,7 @@ var MutiMode = /*#__PURE__*/function (_PureComponent) {
|
|
|
90
90
|
});
|
|
91
91
|
if (!filterdUsers.length) return;
|
|
92
92
|
onSelectUser(filterdUsers);
|
|
93
|
-
},
|
|
93
|
+
}, _assertThisInitialized(_this)));
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
_createClass(MutiMode, [{
|
|
@@ -47,7 +47,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
47
47
|
var _super = _createSuper(UserItem);
|
|
48
48
|
|
|
49
49
|
function UserItem() {
|
|
50
|
-
var
|
|
50
|
+
var _this;
|
|
51
51
|
|
|
52
52
|
_classCallCheck(this, UserItem);
|
|
53
53
|
|
|
@@ -55,7 +55,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
55
55
|
args[_key] = arguments[_key];
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
return _possibleConstructorReturn(_this, (
|
|
58
|
+
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleClick = function () {
|
|
59
59
|
var _this$props = _this.props,
|
|
60
60
|
onClick = _this$props.onClick,
|
|
61
61
|
user = _this$props.user;
|
|
@@ -71,7 +71,7 @@ var UserItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
71
71
|
}
|
|
72
72
|
}, keyword)];
|
|
73
73
|
}));
|
|
74
|
-
},
|
|
74
|
+
}, _assertThisInitialized(_this)));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
_createClass(UserItem, [{
|