@titaui/pc 1.12.88 → 1.12.91
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/change-okr-modal/Filter.js +1 -1
- package/lib/components/change-okr-modal/Item.js +1 -1
- package/lib/components/change-okr-modal/filterTab.js +1 -1
- package/lib/components/change-okr-modal/index.js +1 -1
- package/lib/components/communication/CommunicationAttachments.js +1 -1
- package/lib/components/communication/ConvertUserName.js +1 -1
- package/lib/components/communication/index.js +1 -1
- package/lib/components/create-okr-modal/objectType.js +1 -1
- package/lib/components/date-picker/BodyItem.js +4 -4
- package/lib/components/date-picker/CalendarBody.js +1 -1
- package/lib/components/date-picker/CalendarHeader.js +4 -4
- package/lib/components/date-picker/index.js +1 -1
- package/lib/components/date-range-picker/index.js +1 -1
- package/lib/components/delete-confirm-pop/ConfirmPop.js +4 -4
- package/lib/components/eReport/eReportListEmpty.js +1 -1
- package/lib/components/eReport/eReportLists/reportList.js +4 -4
- package/lib/components/eReport/eReportShare/index.js +1 -1
- package/lib/components/eReport/eReportShare/toast/index.js +1 -1
- package/lib/components/edit-kr-wight/EditKrWightModal.js +1 -1
- package/lib/components/edit-kr-wight/FormItemV2.js +1 -1
- package/lib/components/emotions-selector/selector-content.js +1 -1
- package/lib/components/emotions-selector/selector-pop.js +4 -4
- package/lib/components/ereport-list/index.js +4 -4
- package/lib/components/error-boundary/index.js +1 -1
- package/lib/components/mblog/components/ConfirmPop.js +1 -1
- package/lib/components/mblog/components/MblogAction.js +4 -4
- package/lib/components/mblog/components/MblogContent.js +1 -1
- package/lib/components/mblog/index.js +1 -1
- package/lib/components/okr-detail/auth.js +1 -1
- package/lib/components/okr-detail/components/base-okr-type/confirm/buttonv2.js +1 -1
- package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +1 -1
- package/lib/components/okr-detail/components/base-okr-type/object-type.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +4 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +1 -1
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +1 -1
- package/lib/components/okr-review/ReviewPop/components/Toast/index.js +1 -1
- package/lib/components/okr-review/ReviewPop/index.js +1 -1
- package/lib/components/okr-review/components/ReviewItem/index.js +4 -4
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +4 -4
- package/lib/components/okr-review/index.js +1 -1
- package/lib/components/operation-records/OperationRecordItem.js +1 -1
- package/lib/components/operation-records/index.js +1 -1
- package/lib/components/point-demo/input/index.js +1 -1
- package/lib/components/praise-record/PraiseRecordItem.js +1 -1
- package/lib/components/praise-record/index.js +1 -1
- package/lib/components/range-picker-pop/index.js +1 -1
- package/lib/components/range-selector-pop/RangeList.js +1 -1
- package/lib/components/range-selector-pop/RangeSelectorPop.js +4 -4
- package/lib/components/rich-editor/models/schema.js +7 -7
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +9 -9
- package/lib/components/rich-editor/plugins/block/heading/index.js +9 -9
- package/lib/components/rich-editor/plugins/block/lists/index.js +15 -15
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +6 -6
- package/lib/components/rich-editor/plugins/core/index.js +5 -5
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +6 -6
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +5 -5
- package/lib/components/rich-editor/plugins/inline/color/index.js +12 -12
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +9 -9
- package/lib/components/rich-editor/plugins/inline/em/index.js +6 -6
- package/lib/components/rich-editor/plugins/inline/link/index.js +9 -9
- package/lib/components/rich-editor/plugins/inline/strong/index.js +9 -9
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +9 -9
- package/lib/components/rich-editor/react/reactNodeView.js +1 -1
- package/lib/components/rich-editor/react/uiProvider.js +4 -4
- package/lib/components/rich-editor/ui/Popup/index.js +4 -4
- package/lib/components/scroll-container/index.js +1 -1
- package/lib/components/select/Option.js +4 -4
- package/lib/components/select/index.js +1 -1
- package/lib/components/tita-chart/errorBoundary/index.js +4 -4
- package/lib/components/upload/components/uploadedPreview.js +1 -1
- package/lib/components/upload/index.js +1 -1
- package/lib/components/viewer/ImageListRender.js +1 -1
- package/lib/components/viewer/index.js +1 -1
- package/lib/components-v1/animate/AnimateChild.js +4 -4
- package/lib/components-v1/animate/animate.js +1 -1
- package/lib/components-v1/avatar/index.js +4 -4
- package/lib/components-v1/buttonv2/ButtonOutlined.js +1 -1
- package/lib/components-v1/buttonv2/ButtonRounded.js +1 -1
- package/lib/components-v1/buttonv2/DefaultButton.js +1 -1
- package/lib/components-v1/confirm/index.js +1 -1
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +4 -4
- package/lib/components-v1/dropDownSelector/dropDownSelector.js +1 -1
- package/lib/components-v1/input/Input.js +1 -1
- package/lib/components-v1/input/InputNumber.js +1 -1
- package/lib/components-v1/placement/placement.js +1 -1
- package/lib/components-v1/placement/placementInner.js +1 -1
- package/lib/components-v1/pop/Pop.js +1 -1
- package/lib/components-v1/pop/PopInner.js +1 -1
- package/lib/components-v1/portals/Portals.js +1 -1
- package/lib/components-v1/progress/CircleProgress.js +4 -4
- package/lib/components-v1/progress/LineProgress.js +1 -1
- package/lib/components-v1/progress/index.js +1 -1
- package/lib/components-v1/radio/radio.js +1 -1
- package/lib/components-v1/radio/radioGroup.js +1 -1
- package/lib/components-v1/search/index.js +1 -1
- package/lib/components-v1/select/Option.js +4 -4
- package/lib/components-v1/select/index.js +1 -1
- package/lib/components-v1/tabs/index.js +1 -1
- package/lib/components-v1/textarea/index.js +1 -1
- package/lib/components-v1/transition/index.js +1 -1
- package/lib/components-v1/userSelector/UserSelectorPop.js +4 -4
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/index.js +4 -4
- package/lib/components-v1/userSelector/components/SearchBar.js +1 -1
- package/lib/components-v1/userSelector/components/SingleMode.js +1 -1
- package/lib/components-v1/userSelector/components/UserItem.js +4 -4
- package/lib/components-v1/userSelector/index.js +1 -1
- package/lib/index.js +8 -8
- package/lib/pages/appointment-demo/input/index.js +1 -1
- package/lib/pages/group-management/components/input-form/index.js +1 -1
- package/lib/utils/auth.js +1 -1
- package/lib/utils/open-data.js +8 -6
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
51
51
|
|
|
52
52
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
53
53
|
|
|
54
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
54
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
55
55
|
|
|
56
56
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
57
57
|
|
|
@@ -65,7 +65,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
65
65
|
|
|
66
66
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
67
67
|
|
|
68
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
68
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
69
69
|
|
|
70
70
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
71
71
|
|
|
@@ -21,7 +21,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
21
21
|
|
|
22
22
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
23
|
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
24
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
@@ -39,7 +39,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
39
39
|
|
|
40
40
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
41
41
|
|
|
42
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
42
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
43
43
|
|
|
44
44
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
45
45
|
|
|
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
25
25
|
|
|
26
26
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -45,7 +45,7 @@ var ReviewItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
45
45
|
var _super = _createSuper(ReviewItem);
|
|
46
46
|
|
|
47
47
|
function ReviewItem() {
|
|
48
|
-
var _this;
|
|
48
|
+
var _temp, _this;
|
|
49
49
|
|
|
50
50
|
_classCallCheck(this, ReviewItem);
|
|
51
51
|
|
|
@@ -53,14 +53,14 @@ var ReviewItem = /*#__PURE__*/function (_PureComponent) {
|
|
|
53
53
|
args[_key] = arguments[_key];
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this._handlerLinkToReviewDetail = function () {
|
|
56
|
+
return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this._handlerLinkToReviewDetail = function () {
|
|
57
57
|
var _this$props = _this.props,
|
|
58
58
|
feedId = _this$props.feedId,
|
|
59
59
|
reviewItemData = _this$props.reviewItemData,
|
|
60
60
|
krIndex = _this$props.krIndex,
|
|
61
61
|
editAble = _this$props.editAble;
|
|
62
62
|
window.open("".concat(location.pathname, "#okr/reviewDetail?okrId=8077&back=").concat(location.hash, "&replayId=").concat(reviewItemData.replayId, "&feedId=").concat(feedId, "&krIndex=").concat(krIndex, "&editAble=").concat(editAble));
|
|
63
|
-
},
|
|
63
|
+
}, _temp));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
_createClass(ReviewItem, [{
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -49,7 +49,7 @@ var ConfirmPop = /*#__PURE__*/function (_PureComponent) {
|
|
|
49
49
|
var _super = _createSuper(ConfirmPop);
|
|
50
50
|
|
|
51
51
|
function ConfirmPop() {
|
|
52
|
-
var _this;
|
|
52
|
+
var _temp, _this;
|
|
53
53
|
|
|
54
54
|
_classCallCheck(this, ConfirmPop);
|
|
55
55
|
|
|
@@ -57,13 +57,13 @@ var ConfirmPop = /*#__PURE__*/function (_PureComponent) {
|
|
|
57
57
|
args[_key] = arguments[_key];
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
|
|
60
|
+
return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
|
|
61
61
|
// @ts-ignore
|
|
62
62
|
_this.refs.pop.show(_this.refs.trigger);
|
|
63
63
|
}, _this.handleHide = function () {
|
|
64
64
|
// @ts-ignore
|
|
65
65
|
_this.refs.pop.hide();
|
|
66
|
-
},
|
|
66
|
+
}, _temp));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
_createClass(ConfirmPop, [{
|
|
@@ -43,7 +43,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
43
43
|
|
|
44
44
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
45
45
|
|
|
46
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
46
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
47
47
|
|
|
48
48
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
49
49
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -33,7 +33,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
33
33
|
|
|
34
34
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
35
35
|
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
23
23
|
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -41,7 +41,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
41
41
|
|
|
42
42
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
43
43
|
|
|
44
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
44
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
45
|
|
|
46
46
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
@@ -35,7 +35,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
35
35
|
|
|
36
36
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
37
37
|
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
38
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
23
23
|
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
25
25
|
|
|
26
26
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -45,7 +45,7 @@ var RangeSelectorPop = /*#__PURE__*/function (_PureComponent) {
|
|
|
45
45
|
var _super = _createSuper(RangeSelectorPop);
|
|
46
46
|
|
|
47
47
|
function RangeSelectorPop() {
|
|
48
|
-
var _this;
|
|
48
|
+
var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.handleShowPop = function () {
|
|
56
|
+
return _possibleConstructorReturn(_this, (_temp = _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
|
-
},
|
|
64
|
+
}, _temp));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
_createClass(RangeSelectorPop, [{
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.InlineSchema = exports.BlockSchema = exports.BaseSchema = exports.AtomSchema = void 0;
|
|
9
9
|
|
|
10
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
10
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11
11
|
|
|
12
12
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
13
13
|
|
|
@@ -46,7 +46,7 @@ var BlockSchema = /*#__PURE__*/function (_BaseSchema) {
|
|
|
46
46
|
var _super = _createSuper(BlockSchema);
|
|
47
47
|
|
|
48
48
|
function BlockSchema() {
|
|
49
|
-
var _this;
|
|
49
|
+
var _temp, _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, (_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,
|
|
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));
|
|
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 _this2;
|
|
78
|
+
var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.group = 'inline', _this2.inclusive = true,
|
|
86
|
+
return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.group = 'inline', _this2.inclusive = true, _temp2));
|
|
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 _this3;
|
|
107
|
+
var _temp3, _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, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.isLeaf = true, _this3.draggable = true,
|
|
115
|
+
return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.isLeaf = true, _this3.draggable = true, _temp3));
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
return _createClass(AtomSchema);
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -49,7 +49,7 @@ var BlockquoteSchema = /*#__PURE__*/function (_BlockSchema) {
|
|
|
49
49
|
var _super = _createSuper(BlockquoteSchema);
|
|
50
50
|
|
|
51
51
|
function BlockquoteSchema() {
|
|
52
|
-
var _this;
|
|
52
|
+
var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "block+", _this.parseDOM = [{
|
|
60
|
+
return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "block+", _this.parseDOM = [{
|
|
61
61
|
tag: "blockquote"
|
|
62
|
-
}],
|
|
62
|
+
}], _temp));
|
|
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 _this2;
|
|
83
|
+
var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = {
|
|
91
|
+
return _possibleConstructorReturn(_this2, (_temp2 = _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
|
-
},
|
|
100
|
+
}, _temp2));
|
|
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 _this3;
|
|
114
|
+
var _temp3, _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, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = BlockquoteSchema, _this3.controller = BlockquoteController,
|
|
122
|
+
return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = BlockquoteSchema, _this3.controller = BlockquoteController, _temp3));
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
return _createClass(BlockquotePlugin);
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -49,7 +49,7 @@ var HeadingSchema = /*#__PURE__*/function (_BlockSchema) {
|
|
|
49
49
|
var _super = _createSuper(HeadingSchema);
|
|
50
50
|
|
|
51
51
|
function HeadingSchema() {
|
|
52
|
-
var _this;
|
|
52
|
+
var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.attrs = {
|
|
60
|
+
return _possibleConstructorReturn(_this, (_temp = _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
|
-
}],
|
|
97
|
+
}], _temp));
|
|
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 _this2;
|
|
120
|
+
var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.toolbar = [{
|
|
128
|
+
return _possibleConstructorReturn(_this2, (_temp2 = _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
|
-
}],
|
|
164
|
+
}], _temp2));
|
|
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 _this3;
|
|
176
|
+
var _temp3, _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, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = HeadingSchema, _this3.controller = HeadingController,
|
|
184
|
+
return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = PLUGIN_NAME, _this3.schema = HeadingSchema, _this3.controller = HeadingController, _temp3));
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
return _createClass(HeadingPlugin);
|
|
@@ -33,7 +33,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
33
33
|
|
|
34
34
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
35
35
|
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -56,7 +56,7 @@ var BulletListSchema = /*#__PURE__*/function (_BlockSchema) {
|
|
|
56
56
|
var _super = _createSuper(BulletListSchema);
|
|
57
57
|
|
|
58
58
|
function BulletListSchema() {
|
|
59
|
-
var _this;
|
|
59
|
+
var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = 'bulletList', _this.content = 'listItem+', _this.parseDOM = [{
|
|
67
|
+
return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = 'bulletList', _this.content = 'listItem+', _this.parseDOM = [{
|
|
68
68
|
tag: "ul"
|
|
69
|
-
}],
|
|
69
|
+
}], _temp));
|
|
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 _this2;
|
|
92
|
+
var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = 'orderedList', _this2.content = 'listItem+', _this2.attrs = {
|
|
100
|
+
return _possibleConstructorReturn(_this2, (_temp2 = _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
|
-
},
|
|
115
|
+
}, _temp2));
|
|
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 _this3;
|
|
129
|
+
var _temp3, _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, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.name = 'listItem', _this3.group = 'listItem', _this3.content = 'paragraph block*', _this3.parseDOM = [{
|
|
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 = [{
|
|
138
138
|
tag: "li"
|
|
139
|
-
}],
|
|
139
|
+
}], _temp3));
|
|
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 _this4;
|
|
162
|
+
var _temp4, _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, (_this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.toolbar = [{
|
|
170
|
+
return _possibleConstructorReturn(_this4, (_temp4 = _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"]],
|
|
196
|
+
}], _this4.pmPlugins = [_main["default"], _keymap["default"]], _temp4));
|
|
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 _this5;
|
|
210
|
+
var _temp5, _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, (_this5 = _super5.call.apply(_super5, [this].concat(args)), _this5.name = PLUGIN_NAME, _this5.schema = [BulletListSchema, OrderedListSchema, ListItemSchema], _this5.controller = ListController,
|
|
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));
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
return _createClass(ListPlugin);
|