@titaui/pc 1.11.4-5 → 1.11.4-8

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 (72) 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/dynamic/dynamic-item/dynamic-interview/index.css +4 -4
  5. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  6. package/lib/components/emotions-selector/selector-pop.js +3 -3
  7. package/lib/components/ereport-list/index.js +3 -3
  8. package/lib/components/form/form-fields/date/index.js +15 -11
  9. package/lib/components/form/form-fields/user/index.css +22 -2
  10. package/lib/components/form/form-fields/user/index.js +18 -8
  11. package/lib/components/form/form-fields/user/user-input.js +15 -6
  12. package/lib/components/mblog/components/MblogAction.js +3 -3
  13. package/lib/components/menus/components/menu-tree/images/interview-menu/my-interview.svg +16 -0
  14. package/lib/components/menus/components/menu-tree/images/interview-menu/template.svg +16 -0
  15. package/lib/components/menus/components/menu-tree/images/interview-menu/todo.svg +16 -0
  16. package/lib/components/menus/components/menu-tree/index.css +4 -2
  17. package/lib/components/menus/components/menu-tree/tree-node/index.css +85 -1
  18. package/lib/components/menus/export-modules/interview-menus/constant.js +3 -3
  19. package/lib/components/menus/export-modules/interview-menus/index.css +7 -0
  20. package/lib/components/menus/export-modules/interview-menus/index.js +4 -2
  21. package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +48 -10
  22. package/lib/components/nav-top/request.apis.js +3 -1
  23. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  24. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  25. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  26. package/lib/components/picker/components/panels/date-panel/date-body.js +21 -19
  27. package/lib/components/picker/components/panels/date-panel/date-head.js +29 -8
  28. package/lib/components/picker/components/panels/month-panel/month-body.js +6 -4
  29. package/lib/components/picker/components/picker-trigger/index.css +15 -0
  30. package/lib/components/picker/components/picker-trigger/index.js +8 -8
  31. package/lib/components/popup/index.js +4 -4
  32. package/lib/components/radio/index.css +9 -9
  33. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  34. package/lib/components/rich-editor/models/schema.js +6 -6
  35. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  36. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  37. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  38. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  39. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  40. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  41. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  42. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  43. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  44. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  45. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  46. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  47. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  48. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  49. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  50. package/lib/components/scrollbar/scroll-mask/index.js +1 -1
  51. package/lib/components/select/Option.js +3 -3
  52. package/lib/components/task-tree/request-apis.js +1 -1
  53. package/lib/components/task-tree/task-item-node/constant.js +20 -20
  54. package/lib/components/task-tree/task-item-node/e-status-dropdown.js +10 -10
  55. package/lib/components/task-tree/task-item-node/e-task.js +24 -23
  56. package/lib/components/task-tree/task-item-node/index.css +0 -1
  57. package/lib/components/task-tree/task-tree.css +9 -1
  58. package/lib/components/time-picker/index.css +6 -0
  59. package/lib/components/time-picker/time-picker.js +27 -27
  60. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  61. package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.css +1 -0
  62. package/lib/components-v1/animate/AnimateChild.js +3 -3
  63. package/lib/components-v1/avatar/index.js +3 -3
  64. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  65. package/lib/components-v1/progress/CircleProgress.js +3 -3
  66. package/lib/components-v1/radio/radio.js +3 -3
  67. package/lib/components-v1/radio/style/index.css +8 -8
  68. package/lib/components-v1/select/Option.js +3 -3
  69. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  70. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  71. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  72. package/package.json +1 -1
@@ -43,16 +43,16 @@ var PickerTrigger = function PickerTrigger(props) {
43
43
  var currFormat = format;
44
44
 
45
45
  switch (mode) {
46
- case "date":
47
- currFormat = "YYYY/MM/DD";
46
+ case 'date':
47
+ currFormat = 'YYYY/MM/DD';
48
48
  break;
49
49
 
50
- case "month":
51
- currFormat = "YYYY/MM";
50
+ case 'month':
51
+ currFormat = 'YYYY/MM';
52
52
  break;
53
53
 
54
- case "year":
55
- currFormat = "YYYY";
54
+ case 'year':
55
+ currFormat = 'YYYY';
56
56
  break;
57
57
 
58
58
  default:
@@ -77,7 +77,7 @@ var PickerTrigger = function PickerTrigger(props) {
77
77
  }, value ? viewDate.format(currFormat) : placeholder), /*#__PURE__*/_react["default"].createElement("div", {
78
78
  className: (0, _classnames["default"])("".concat(_utils.PickerTriggerClass, "__operation"))
79
79
  }, !disabled && /*#__PURE__*/_react["default"].createElement("span", {
80
- className: "tu-icon-sort-down"
80
+ className: "tu-icon-caret-down"
81
81
  }), allowClear && !disabled && /*#__PURE__*/_react["default"].createElement("span", {
82
82
  className: "tu-icon-circle"
83
83
  }))))
@@ -88,7 +88,7 @@ PickerTrigger.defaultProps = {
88
88
  children: null,
89
89
  disabled: false,
90
90
  allowClear: false,
91
- placeholder: "请选择"
91
+ placeholder: '请选择'
92
92
  };
93
93
  var _default = PickerTrigger;
94
94
  exports["default"] = _default;
@@ -43,19 +43,19 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
43
43
 
44
44
  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; }
45
45
 
46
- var preCls = "titaui-popup";
46
+ var preCls = 'titaui-popup';
47
47
 
48
48
  var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
49
49
  var _props$extraClass = props.extraClass,
50
- extraClass = _props$extraClass === void 0 ? "" : _props$extraClass,
50
+ extraClass = _props$extraClass === void 0 ? '' : _props$extraClass,
51
51
  _props$mask = props.mask,
52
52
  mask = _props$mask === void 0 ? true : _props$mask,
53
53
  _props$destroyPopupOn = props.destroyPopupOnHide,
54
54
  destroyPopupOnHide = _props$destroyPopupOn === void 0 ? true : _props$destroyPopupOn,
55
55
  _props$action = props.action,
56
- action = _props$action === void 0 ? ["click"] : _props$action,
56
+ action = _props$action === void 0 ? ['click'] : _props$action,
57
57
  _props$popupPlacement = props.popupPlacement,
58
- popupPlacement = _props$popupPlacement === void 0 ? "bottomRight" : _props$popupPlacement,
58
+ popupPlacement = _props$popupPlacement === void 0 ? 'bottomRight' : _props$popupPlacement,
59
59
  _props$builtinPlaceme = props.builtinPlacements,
60
60
  builtinPlacements = _props$builtinPlaceme === void 0 ? _placement["default"] : _props$builtinPlaceme,
61
61
  _props$popupVisible = props.popupVisible,
@@ -16,7 +16,7 @@
16
16
  .titaui-radio-wrapper .titaui-radio {
17
17
  display: inline-block;
18
18
  position: relative;
19
- top: 5px;
19
+ top: 1px;
20
20
  width: 16px;
21
21
  min-width: 16px;
22
22
  height: 16px;
@@ -24,7 +24,7 @@
24
24
  margin-right: 5px;
25
25
  }
26
26
 
27
- .titaui-radio-wrapper .titaui-radio input[type="radio"] {
27
+ .titaui-radio-wrapper .titaui-radio input[type='radio'] {
28
28
  width: 16px;
29
29
  height: 16px;
30
30
  }
@@ -50,14 +50,14 @@
50
50
  }
51
51
 
52
52
  .titaui-radio-wrapper .titaui-radio .titaui-radio-inner::after {
53
- content: "";
53
+ content: '';
54
54
  position: absolute;
55
- top: 3px;
56
- left: 3px;
57
- width: 8px;
58
- min-width: 8px;
59
- height: 8px;
60
- min-height: 8px;
55
+ top: 2px;
56
+ left: 2px;
57
+ width: 10px;
58
+ min-width: 10px;
59
+ height: 10px;
60
+ min-height: 10px;
61
61
  border-radius: 50%;
62
62
  background-color: #1687d9;
63
63
  transform: scale(0);
@@ -45,7 +45,7 @@ var RangeSelectorPop = /*#__PURE__*/function (_PureComponent) {
45
45
  var _super = _createSuper(RangeSelectorPop);
46
46
 
47
47
  function RangeSelectorPop() {
48
- var _temp, _this;
48
+ var _this;
49
49
 
50
50
  _classCallCheck(this, RangeSelectorPop);
51
51
 
@@ -53,7 +53,7 @@ var RangeSelectorPop = /*#__PURE__*/function (_PureComponent) {
53
53
  args[_key] = arguments[_key];
54
54
  }
55
55
 
56
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
56
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
57
57
  var isDisabled = _this.props.isDisabled;
58
58
  if (isDisabled) return; // @ts-ignore
59
59
 
@@ -61,7 +61,7 @@ var RangeSelectorPop = /*#__PURE__*/function (_PureComponent) {
61
61
  }, _this.handleHide = function () {
62
62
  // @ts-ignore
63
63
  _this.refs.pop.hide();
64
- }, _temp));
64
+ }, _assertThisInitialized(_this)));
65
65
  }
66
66
 
67
67
  _createClass(RangeSelectorPop, [{
@@ -46,7 +46,7 @@ var BlockSchema = /*#__PURE__*/function (_BaseSchema) {
46
46
  var _super = _createSuper(BlockSchema);
47
47
 
48
48
  function BlockSchema() {
49
- var _temp, _this;
49
+ var _this;
50
50
 
51
51
  _classCallCheck(this, BlockSchema);
52
52
 
@@ -54,7 +54,7 @@ var BlockSchema = /*#__PURE__*/function (_BaseSchema) {
54
54
  args[_key] = arguments[_key];
55
55
  }
56
56
 
57
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.group = 'block', _this.content = 'inline*', _this.inline = false, _this.defining = true, _this.draggable = false, _this.selectable = false, _temp));
57
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.group = 'block', _this.content = 'inline*', _this.inline = false, _this.defining = true, _this.draggable = false, _this.selectable = false, _assertThisInitialized(_this)));
58
58
  }
59
59
 
60
60
  _createClass(BlockSchema, [{
@@ -75,7 +75,7 @@ var InlineSchema = /*#__PURE__*/function (_BaseSchema2) {
75
75
  var _super2 = _createSuper(InlineSchema);
76
76
 
77
77
  function InlineSchema() {
78
- var _temp2, _this2;
78
+ var _this2;
79
79
 
80
80
  _classCallCheck(this, InlineSchema);
81
81
 
@@ -83,7 +83,7 @@ var InlineSchema = /*#__PURE__*/function (_BaseSchema2) {
83
83
  args[_key2] = arguments[_key2];
84
84
  }
85
85
 
86
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.group = 'inline', _this2.inclusive = true, _temp2));
86
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.group = 'inline', _this2.inclusive = true, _assertThisInitialized(_this2)));
87
87
  }
88
88
 
89
89
  _createClass(InlineSchema, [{
@@ -104,7 +104,7 @@ var AtomSchema = /*#__PURE__*/function (_BaseSchema3) {
104
104
  var _super3 = _createSuper(AtomSchema);
105
105
 
106
106
  function AtomSchema() {
107
- var _temp3, _this3;
107
+ var _this3;
108
108
 
109
109
  _classCallCheck(this, AtomSchema);
110
110
 
@@ -112,7 +112,7 @@ var AtomSchema = /*#__PURE__*/function (_BaseSchema3) {
112
112
  args[_key3] = arguments[_key3];
113
113
  }
114
114
 
115
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.isLeaf = true, _this3.draggable = true, _temp3));
115
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.isLeaf = true, _this3.draggable = true, _assertThisInitialized(_this3)));
116
116
  }
117
117
 
118
118
  return _createClass(AtomSchema);
@@ -49,7 +49,7 @@ var BlockquoteSchema = /*#__PURE__*/function (_BlockSchema) {
49
49
  var _super = _createSuper(BlockquoteSchema);
50
50
 
51
51
  function BlockquoteSchema() {
52
- var _temp, _this;
52
+ var _this;
53
53
 
54
54
  _classCallCheck(this, BlockquoteSchema);
55
55
 
@@ -57,9 +57,9 @@ var BlockquoteSchema = /*#__PURE__*/function (_BlockSchema) {
57
57
  args[_key] = arguments[_key];
58
58
  }
59
59
 
60
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "block+", _this.parseDOM = [{
60
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "block+", _this.parseDOM = [{
61
61
  tag: "blockquote"
62
- }], _temp));
62
+ }], _assertThisInitialized(_this)));
63
63
  }
64
64
 
65
65
  _createClass(BlockquoteSchema, [{
@@ -80,7 +80,7 @@ var BlockquoteController = /*#__PURE__*/function (_BaseController) {
80
80
  var _super2 = _createSuper(BlockquoteController);
81
81
 
82
82
  function BlockquoteController() {
83
- var _temp2, _this2;
83
+ var _this2;
84
84
 
85
85
  _classCallCheck(this, BlockquoteController);
86
86
 
@@ -88,7 +88,7 @@ var BlockquoteController = /*#__PURE__*/function (_BaseController) {
88
88
  args[_key2] = arguments[_key2];
89
89
  }
90
90
 
91
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
91
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
92
92
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Quote'),
93
93
  icon: 'tu-icon-text-quotel',
94
94
  handler: function handler(editor) {
@@ -97,7 +97,7 @@ var BlockquoteController = /*#__PURE__*/function (_BaseController) {
97
97
  active: function active(state) {
98
98
  return (0, _util.isBlockActive)(state, PLUGIN_NAME);
99
99
  }
100
- }, _temp2));
100
+ }, _assertThisInitialized(_this2)));
101
101
  }
102
102
 
103
103
  return _createClass(BlockquoteController);
@@ -111,7 +111,7 @@ var BlockquotePlugin = /*#__PURE__*/function (_BasePlugin) {
111
111
  var _super3 = _createSuper(BlockquotePlugin);
112
112
 
113
113
  function BlockquotePlugin() {
114
- var _temp3, _this3;
114
+ var _this3;
115
115
 
116
116
  _classCallCheck(this, BlockquotePlugin);
117
117
 
@@ -119,7 +119,7 @@ var BlockquotePlugin = /*#__PURE__*/function (_BasePlugin) {
119
119
  args[_key3] = arguments[_key3];
120
120
  }
121
121
 
122
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = BlockquoteSchema, _this3.controller = BlockquoteController, _temp3));
122
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = BlockquoteSchema, _this3.controller = BlockquoteController, _assertThisInitialized(_this3)));
123
123
  }
124
124
 
125
125
  return _createClass(BlockquotePlugin);
@@ -49,7 +49,7 @@ var HeadingSchema = /*#__PURE__*/function (_BlockSchema) {
49
49
  var _super = _createSuper(HeadingSchema);
50
50
 
51
51
  function HeadingSchema() {
52
- var _temp, _this;
52
+ var _this;
53
53
 
54
54
  _classCallCheck(this, HeadingSchema);
55
55
 
@@ -57,7 +57,7 @@ var HeadingSchema = /*#__PURE__*/function (_BlockSchema) {
57
57
  args[_key] = arguments[_key];
58
58
  }
59
59
 
60
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.attrs = {
60
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.attrs = {
61
61
  level: {
62
62
  "default": 1
63
63
  },
@@ -94,7 +94,7 @@ var HeadingSchema = /*#__PURE__*/function (_BlockSchema) {
94
94
  attrs: {
95
95
  level: 6
96
96
  }
97
- }], _temp));
97
+ }], _assertThisInitialized(_this)));
98
98
  }
99
99
 
100
100
  _createClass(HeadingSchema, [{
@@ -117,7 +117,7 @@ var HeadingController = /*#__PURE__*/function (_BaseController) {
117
117
  var _super2 = _createSuper(HeadingController);
118
118
 
119
119
  function HeadingController() {
120
- var _temp2, _this2;
120
+ var _this2;
121
121
 
122
122
  _classCallCheck(this, HeadingController);
123
123
 
@@ -125,7 +125,7 @@ var HeadingController = /*#__PURE__*/function (_BaseController) {
125
125
  args[_key2] = arguments[_key2];
126
126
  }
127
127
 
128
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = [{
128
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = [{
129
129
  title: (0, _getLocale.getLocale)('Rtx_HeadingONE'),
130
130
  icon: 'tu-icon-text-H1',
131
131
  handler: function handler(editor) {
@@ -161,7 +161,7 @@ var HeadingController = /*#__PURE__*/function (_BaseController) {
161
161
  level: 3
162
162
  });
163
163
  }
164
- }], _temp2));
164
+ }], _assertThisInitialized(_this2)));
165
165
  }
166
166
 
167
167
  return _createClass(HeadingController);
@@ -173,7 +173,7 @@ var HeadingPlugin = /*#__PURE__*/function (_BasePlugin) {
173
173
  var _super3 = _createSuper(HeadingPlugin);
174
174
 
175
175
  function HeadingPlugin() {
176
- var _temp3, _this3;
176
+ var _this3;
177
177
 
178
178
  _classCallCheck(this, HeadingPlugin);
179
179
 
@@ -181,7 +181,7 @@ var HeadingPlugin = /*#__PURE__*/function (_BasePlugin) {
181
181
  args[_key3] = arguments[_key3];
182
182
  }
183
183
 
184
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = HeadingSchema, _this3.controller = HeadingController, _temp3));
184
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = HeadingSchema, _this3.controller = HeadingController, _assertThisInitialized(_this3)));
185
185
  }
186
186
 
187
187
  return _createClass(HeadingPlugin);
@@ -56,7 +56,7 @@ var BulletListSchema = /*#__PURE__*/function (_BlockSchema) {
56
56
  var _super = _createSuper(BulletListSchema);
57
57
 
58
58
  function BulletListSchema() {
59
- var _temp, _this;
59
+ var _this;
60
60
 
61
61
  _classCallCheck(this, BulletListSchema);
62
62
 
@@ -64,9 +64,9 @@ var BulletListSchema = /*#__PURE__*/function (_BlockSchema) {
64
64
  args[_key] = arguments[_key];
65
65
  }
66
66
 
67
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = 'bulletList', _this.content = 'listItem+', _this.parseDOM = [{
67
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = 'bulletList', _this.content = 'listItem+', _this.parseDOM = [{
68
68
  tag: "ul"
69
- }], _temp));
69
+ }], _assertThisInitialized(_this)));
70
70
  }
71
71
 
72
72
  _createClass(BulletListSchema, [{
@@ -89,7 +89,7 @@ var OrderedListSchema = /*#__PURE__*/function (_BlockSchema2) {
89
89
  var _super2 = _createSuper(OrderedListSchema);
90
90
 
91
91
  function OrderedListSchema() {
92
- var _temp2, _this2;
92
+ var _this2;
93
93
 
94
94
  _classCallCheck(this, OrderedListSchema);
95
95
 
@@ -97,7 +97,7 @@ var OrderedListSchema = /*#__PURE__*/function (_BlockSchema2) {
97
97
  args[_key2] = arguments[_key2];
98
98
  }
99
99
 
100
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = 'orderedList', _this2.content = 'listItem+', _this2.attrs = {
100
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = 'orderedList', _this2.content = 'listItem+', _this2.attrs = {
101
101
  order: {
102
102
  "default": 1
103
103
  }
@@ -112,7 +112,7 @@ var OrderedListSchema = /*#__PURE__*/function (_BlockSchema2) {
112
112
  return node.attrs.order == 1 ? ["ol", 0] : ["ol", {
113
113
  start: node.attrs.order
114
114
  }, 0];
115
- }, _temp2));
115
+ }, _assertThisInitialized(_this2)));
116
116
  }
117
117
 
118
118
  return _createClass(OrderedListSchema);
@@ -126,7 +126,7 @@ var ListItemSchema = /*#__PURE__*/function (_BlockSchema3) {
126
126
  var _super3 = _createSuper(ListItemSchema);
127
127
 
128
128
  function ListItemSchema() {
129
- var _temp3, _this3;
129
+ var _this3;
130
130
 
131
131
  _classCallCheck(this, ListItemSchema);
132
132
 
@@ -134,9 +134,9 @@ var ListItemSchema = /*#__PURE__*/function (_BlockSchema3) {
134
134
  args[_key3] = arguments[_key3];
135
135
  }
136
136
 
137
- return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = 'listItem', _this3.group = 'listItem', _this3.content = 'paragraph block*', _this3.parseDOM = [{
137
+ return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = 'listItem', _this3.group = 'listItem', _this3.content = 'paragraph block*', _this3.parseDOM = [{
138
138
  tag: "li"
139
- }], _temp3));
139
+ }], _assertThisInitialized(_this3)));
140
140
  }
141
141
 
142
142
  _createClass(ListItemSchema, [{
@@ -159,7 +159,7 @@ var ListController = /*#__PURE__*/function (_BaseController) {
159
159
  var _super4 = _createSuper(ListController);
160
160
 
161
161
  function ListController() {
162
- var _temp4, _this4;
162
+ var _this4;
163
163
 
164
164
  _classCallCheck(this, ListController);
165
165
 
@@ -167,7 +167,7 @@ var ListController = /*#__PURE__*/function (_BaseController) {
167
167
  args[_key4] = arguments[_key4];
168
168
  }
169
169
 
170
- return _possibleConstructorReturn(_this4, (_temp4 = _this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.toolbar = [{
170
+ return _possibleConstructorReturn(_this4, (_this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.toolbar = [{
171
171
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Numberedlist'),
172
172
  icon: 'tu-icon-text-bullet-list',
173
173
  handler: function handler(editor) {
@@ -193,7 +193,7 @@ var ListController = /*#__PURE__*/function (_BaseController) {
193
193
  disabled: function disabled(state) {
194
194
  return _main.pluginKey.getState(state).orderedListDisabled;
195
195
  }
196
- }], _this4.pmPlugins = [_main["default"], _keymap["default"]], _temp4));
196
+ }], _this4.pmPlugins = [_main["default"], _keymap["default"]], _assertThisInitialized(_this4)));
197
197
  }
198
198
 
199
199
  return _createClass(ListController);
@@ -207,7 +207,7 @@ var ListPlugin = /*#__PURE__*/function (_BasePlugin) {
207
207
  var _super5 = _createSuper(ListPlugin);
208
208
 
209
209
  function ListPlugin() {
210
- var _temp5, _this5;
210
+ var _this5;
211
211
 
212
212
  _classCallCheck(this, ListPlugin);
213
213
 
@@ -215,7 +215,7 @@ var ListPlugin = /*#__PURE__*/function (_BasePlugin) {
215
215
  args[_key5] = arguments[_key5];
216
216
  }
217
217
 
218
- return _possibleConstructorReturn(_this5, (_temp5 = _this5 = _super5.call.apply(_super5, [this].concat(args)), _this5.name = PLUGIN_NAME, _this5.schema = [BulletListSchema, OrderedListSchema, ListItemSchema], _this5.controller = ListController, _temp5));
218
+ return _possibleConstructorReturn(_this5, (_this5 = _super5.call.apply(_super5, [this].concat(args)), _this5.name = PLUGIN_NAME, _this5.schema = [BulletListSchema, OrderedListSchema, ListItemSchema], _this5.controller = ListController, _assertThisInitialized(_this5)));
219
219
  }
220
220
 
221
221
  return _createClass(ListPlugin);
@@ -41,7 +41,7 @@ var ParagraphSchema = /*#__PURE__*/function (_BlockSchema) {
41
41
  var _super = _createSuper(ParagraphSchema);
42
42
 
43
43
  function ParagraphSchema() {
44
- var _temp, _this;
44
+ var _this;
45
45
 
46
46
  _classCallCheck(this, ParagraphSchema);
47
47
 
@@ -49,9 +49,9 @@ var ParagraphSchema = /*#__PURE__*/function (_BlockSchema) {
49
49
  args[_key] = arguments[_key];
50
50
  }
51
51
 
52
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "inline*", _this.parseDOM = [{
52
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "inline*", _this.parseDOM = [{
53
53
  tag: "p"
54
- }], _temp));
54
+ }], _assertThisInitialized(_this)));
55
55
  }
56
56
 
57
57
  _createClass(ParagraphSchema, [{
@@ -74,7 +74,7 @@ var ParagraphPlugin = /*#__PURE__*/function (_BasePlugin) {
74
74
  var _super2 = _createSuper(ParagraphPlugin);
75
75
 
76
76
  function ParagraphPlugin() {
77
- var _temp2, _this2;
77
+ var _this2;
78
78
 
79
79
  _classCallCheck(this, ParagraphPlugin);
80
80
 
@@ -82,7 +82,7 @@ var ParagraphPlugin = /*#__PURE__*/function (_BasePlugin) {
82
82
  args[_key2] = arguments[_key2];
83
83
  }
84
84
 
85
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = ParagraphSchema, _temp2));
85
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = ParagraphSchema, _assertThisInitialized(_this2)));
86
86
  }
87
87
 
88
88
  return _createClass(ParagraphPlugin);
@@ -51,7 +51,7 @@ var CorePluginController = /*#__PURE__*/function (_BaseController) {
51
51
  var _super = _createSuper(CorePluginController);
52
52
 
53
53
  function CorePluginController() {
54
- var _temp, _this;
54
+ var _this;
55
55
 
56
56
  _classCallCheck(this, CorePluginController);
57
57
 
@@ -59,7 +59,7 @@ var CorePluginController = /*#__PURE__*/function (_BaseController) {
59
59
  args[_key] = arguments[_key];
60
60
  }
61
61
 
62
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [_focusHandler["default"], (0, _prosemirrorHistory.history)(), (0, _keymap["default"])(), (0, _prosemirrorKeymap.keymap)(_prosemirrorCommands.baseKeymap)], _temp));
62
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [_focusHandler["default"], (0, _prosemirrorHistory.history)(), (0, _keymap["default"])(), (0, _prosemirrorKeymap.keymap)(_prosemirrorCommands.baseKeymap)], _assertThisInitialized(_this)));
63
63
  }
64
64
 
65
65
  return _createClass(CorePluginController);
@@ -73,7 +73,7 @@ var CorePlugin = /*#__PURE__*/function (_BasePlugin) {
73
73
  var _super2 = _createSuper(CorePlugin);
74
74
 
75
75
  function CorePlugin() {
76
- var _temp2, _this2;
76
+ var _this2;
77
77
 
78
78
  _classCallCheck(this, CorePlugin);
79
79
 
@@ -81,7 +81,7 @@ var CorePlugin = /*#__PURE__*/function (_BasePlugin) {
81
81
  args[_key2] = arguments[_key2];
82
82
  }
83
83
 
84
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = CorePluginController, _temp2));
84
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = CorePluginController, _assertThisInitialized(_this2)));
85
85
  }
86
86
 
87
87
  return _createClass(CorePlugin);
@@ -47,7 +47,7 @@ var AlignmentController = /*#__PURE__*/function (_BaseController) {
47
47
  var _super = _createSuper(AlignmentController);
48
48
 
49
49
  function AlignmentController() {
50
- var _temp, _this;
50
+ var _this;
51
51
 
52
52
  _classCallCheck(this, AlignmentController);
53
53
 
@@ -55,7 +55,7 @@ var AlignmentController = /*#__PURE__*/function (_BaseController) {
55
55
  args[_key] = arguments[_key];
56
56
  }
57
57
 
58
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.toolbar = [{
58
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.toolbar = [{
59
59
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Alignleft'),
60
60
  icon: 'tu-icon-text-left',
61
61
  handler: function handler(editor) {
@@ -82,7 +82,7 @@ var AlignmentController = /*#__PURE__*/function (_BaseController) {
82
82
  active: function active(state) {
83
83
  return (0, _utils.hasAlignment)(state, 'right');
84
84
  }
85
- }], _temp));
85
+ }], _assertThisInitialized(_this)));
86
86
  }
87
87
 
88
88
  return _createClass(AlignmentController);
@@ -96,7 +96,7 @@ var AlignmentPlugin = /*#__PURE__*/function (_BasePlugin) {
96
96
  var _super2 = _createSuper(AlignmentPlugin);
97
97
 
98
98
  function AlignmentPlugin() {
99
- var _temp2, _this2;
99
+ var _this2;
100
100
 
101
101
  _classCallCheck(this, AlignmentPlugin);
102
102
 
@@ -104,7 +104,7 @@ var AlignmentPlugin = /*#__PURE__*/function (_BasePlugin) {
104
104
  args[_key2] = arguments[_key2];
105
105
  }
106
106
 
107
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = AlignmentController, _temp2));
107
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = AlignmentController, _assertThisInitialized(_this2)));
108
108
  }
109
109
 
110
110
  return _createClass(AlignmentPlugin);
@@ -85,7 +85,7 @@ var PlaceholderController = /*#__PURE__*/function (_BaseController) {
85
85
  var _super = _createSuper(PlaceholderController);
86
86
 
87
87
  function PlaceholderController() {
88
- var _temp, _this;
88
+ var _this;
89
89
 
90
90
  _classCallCheck(this, PlaceholderController);
91
91
 
@@ -93,7 +93,7 @@ var PlaceholderController = /*#__PURE__*/function (_BaseController) {
93
93
  args[_key] = arguments[_key];
94
94
  }
95
95
 
96
- return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [placeHolderPlugin], _temp));
96
+ return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [placeHolderPlugin], _assertThisInitialized(_this)));
97
97
  }
98
98
 
99
99
  return _createClass(PlaceholderController);
@@ -107,7 +107,7 @@ var PlaceholderPlugin = /*#__PURE__*/function (_BasePlugin) {
107
107
  var _super2 = _createSuper(PlaceholderPlugin);
108
108
 
109
109
  function PlaceholderPlugin() {
110
- var _temp2, _this2;
110
+ var _this2;
111
111
 
112
112
  _classCallCheck(this, PlaceholderPlugin);
113
113
 
@@ -115,7 +115,7 @@ var PlaceholderPlugin = /*#__PURE__*/function (_BasePlugin) {
115
115
  args[_key2] = arguments[_key2];
116
116
  }
117
117
 
118
- return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = PlaceholderController, _temp2));
118
+ return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = PlaceholderController, _assertThisInitialized(_this2)));
119
119
  }
120
120
 
121
121
  return _createClass(PlaceholderPlugin);