@titaui/pc 1.15.36 → 1.15.39

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.
Files changed (38) hide show
  1. package/lib/components/date-picker/BodyItem.js +3 -3
  2. package/lib/components/date-picker/CalendarHeader.js +3 -3
  3. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  4. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  5. package/lib/components/emotions-selector/selector-pop.js +3 -3
  6. package/lib/components/ereport-list/index.js +3 -3
  7. package/lib/components/mblog/components/MblogAction.js +3 -3
  8. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  9. package/lib/components/okr-detail/index.js +13 -0
  10. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  11. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  12. package/lib/components/rich-editor/models/schema.js +6 -6
  13. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  14. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  15. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  16. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  17. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  18. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  19. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  20. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  21. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  22. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  23. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  24. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  25. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  26. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  27. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  28. package/lib/components/select/Option.js +3 -3
  29. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  30. package/lib/components-v1/animate/AnimateChild.js +3 -3
  31. package/lib/components-v1/avatar/index.js +3 -3
  32. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  33. package/lib/components-v1/progress/CircleProgress.js +3 -3
  34. package/lib/components-v1/select/Option.js +3 -3
  35. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  36. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  37. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  38. package/package.json +3 -1
@@ -47,7 +47,7 @@ var StatelessDropdown = /*#__PURE__*/function (_Component) {
47
47
  var _super = _createSuper(StatelessDropdown);
48
48
 
49
49
  function StatelessDropdown() {
50
- var _this;
50
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.renderLabel = function () {
58
+ return _possibleConstructorReturn(_this, (_temp = _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
- }, _assertThisInitialized(_this)));
66
+ }, _temp));
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 _this;
44
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.getTextContent = function () {
52
+ return _possibleConstructorReturn(_this, (_temp = _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
- }, _assertThisInitialized(_this)));
62
+ }, _temp));
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 _this;
50
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleSelect = function (e) {
58
+ return _possibleConstructorReturn(_this, (_temp = _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
- }, _assertThisInitialized(_this)));
68
+ }, _temp));
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 _this;
55
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function (e) {
63
+ return _possibleConstructorReturn(_this, (_temp = _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
- }, _assertThisInitialized(_this)));
77
+ }, _temp));
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 _this;
64
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleDepartment = function (d) {
72
+ return _possibleConstructorReturn(_this, (_temp = _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
- }, _assertThisInitialized(_this)));
93
+ }, _temp));
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 _this;
50
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleClick = function () {
58
+ return _possibleConstructorReturn(_this, (_temp = _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
- }, _assertThisInitialized(_this)));
74
+ }, _temp));
75
75
  }
76
76
 
77
77
  _createClass(UserItem, [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.15.36",
3
+ "version": "1.15.39",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -146,9 +146,11 @@
146
146
  "react-perfect-scrollbar": "1.5.8",
147
147
  "react-sizeme": "3.0.1",
148
148
  "react-slick": "0.28.1",
149
+ "react-sortablejs": "^2.1.0",
149
150
  "react-spring": "9.2.4",
150
151
  "react-transition-group": "4.4.2",
151
152
  "resize-observer-polyfill": "1.5.1",
153
+ "sortablejs": "^1.12.0",
152
154
  "slick-carousel": "1.8.1",
153
155
  "tita-ui": "1.2.56",
154
156
  "url-parse": "1.5.1",