@titaui/pc 1.12.23 → 1.12.24-beta.1

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 (126) hide show
  1. package/lib/components/book-demo/components/pc/components/content/index.css +6 -12
  2. package/lib/components/book-demo/components/pc/components/content/index.js +5 -3
  3. package/lib/components/book-demo/constant.js +4 -4
  4. package/lib/components/change-okr-modal/index.js +1 -1
  5. package/lib/components/common-share/publishMblog.js +1 -1
  6. package/lib/components/create-okr-modal/fields/okr-type-detail.js +1 -1
  7. package/lib/components/create-okr-modal/fields/okr-visibility-detail.js +1 -1
  8. package/lib/components/create-okr-modal/index.js +1 -1
  9. package/lib/components/create-okr-modal/request-api.js +1 -1
  10. package/lib/components/create-okr-modal/utils/helper.js +1 -1
  11. package/lib/components/date-picker/BodyItem.js +3 -3
  12. package/lib/components/date-picker/CalendarHeader.js +3 -3
  13. package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -3
  14. package/lib/components/drawer-manager/drawerWrapper.js +1 -1
  15. package/lib/components/eReport/eReportLists/reportList.js +3 -3
  16. package/lib/components/emotions-selector/selector-pop.js +3 -3
  17. package/lib/components/ereport-list/index.js +3 -3
  18. package/lib/components/firework/index.js +1 -1
  19. package/lib/components/form/form-fields/input-verification-code/index.js +1 -1
  20. package/lib/components/grid-layout/util/network.js +1 -1
  21. package/lib/components/mblog/components/MblogAction.js +3 -3
  22. package/lib/components/nav-top/components/app-center/index.js +1 -0
  23. package/lib/components/okr-detail/base-info/other-infos/principal/index.js +1 -1
  24. package/lib/components/okr-detail/components/ao-nice/index.js +1 -1
  25. package/lib/components/okr-detail/components/header/edit-name.js +1 -1
  26. package/lib/components/okr-detail/components/header/o-avatar.js +1 -1
  27. package/lib/components/okr-detail/components/header/o-classify.js +1 -1
  28. package/lib/components/okr-detail/components/o-classify.js +1 -1
  29. package/lib/components/okr-detail/components/o-progress-update/index.js +1 -1
  30. package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +1 -1
  31. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +1 -1
  32. package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +1 -1
  33. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +1 -1
  34. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +3 -3
  35. package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +1 -1
  36. package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.js +1 -1
  37. package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +1 -1
  38. package/lib/components/okr-detail/detail-footer/index.js +1 -1
  39. package/lib/components/okr-detail/detail-header/index.js +1 -1
  40. package/lib/components/okr-detail/okr-list/index.js +1 -1
  41. package/lib/components/okr-detail/request-apis.js +1 -1
  42. package/lib/components/okr-flow/child-node/fields/creator.js +1 -1
  43. package/lib/components/okr-flow/child-node/work-node.js +1 -1
  44. package/lib/components/okr-flow/export-modal/index.js +11 -1
  45. package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +1 -1
  46. package/lib/components/okr-flow/request-apis.js +1 -1
  47. package/lib/components/okr-flow/root-node/index.js +1 -1
  48. package/lib/components/okr-progress/components/o-progress-update/index.js +1 -1
  49. package/lib/components/okr-progress-modal/index.js +1 -1
  50. package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +1 -1
  51. package/lib/components/okr-review/components/ReviewItem/index.js +3 -3
  52. package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -3
  53. package/lib/components/okr-share/common-painter/darwAvatar.js +1 -1
  54. package/lib/components/okr-share/common-painter/openDataPainter.js +1 -1
  55. package/lib/components/okr-share/common-painter/utils.js +1 -1
  56. package/lib/components/okr-share/pink-card/drawDepartmentName.js +1 -1
  57. package/lib/components/okr-share/pink-card/drawKrs.js +1 -1
  58. package/lib/components/okr-share/pink-card/drawQuote.js +1 -1
  59. package/lib/components/okr-share/pink-card/drawUserName.js +1 -1
  60. package/lib/components/okr-share/pink-card/index.js +1 -1
  61. package/lib/components/okr-share/publishMblog.js +1 -1
  62. package/lib/components/okr-share/shareCardSelector.js +1 -1
  63. package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +3 -1
  64. package/lib/components/okrcase-library/server/network.js +1 -1
  65. package/lib/components/open-data-painter/index.js +1 -1
  66. package/lib/components/period-selector/helper/index.js +1 -1
  67. package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -3
  68. package/lib/components/rich-editor/models/schema.js +6 -6
  69. package/lib/components/rich-editor/plugins/block/block-quote/index.js +8 -8
  70. package/lib/components/rich-editor/plugins/block/heading/index.js +8 -8
  71. package/lib/components/rich-editor/plugins/block/lists/index.js +14 -14
  72. package/lib/components/rich-editor/plugins/block/paragraph/index.js +5 -5
  73. package/lib/components/rich-editor/plugins/core/index.js +4 -4
  74. package/lib/components/rich-editor/plugins/extension/alignment/index.js +5 -5
  75. package/lib/components/rich-editor/plugins/extension/placeholder/index.js +4 -4
  76. package/lib/components/rich-editor/plugins/inline/color/index.js +11 -11
  77. package/lib/components/rich-editor/plugins/inline/delete-line/index.js +8 -8
  78. package/lib/components/rich-editor/plugins/inline/em/index.js +5 -5
  79. package/lib/components/rich-editor/plugins/inline/link/index.js +8 -8
  80. package/lib/components/rich-editor/plugins/inline/strong/index.js +8 -8
  81. package/lib/components/rich-editor/plugins/inline/under-line/index.js +8 -8
  82. package/lib/components/rich-editor/react/uiProvider.js +3 -3
  83. package/lib/components/rich-editor/ui/Popup/index.js +3 -3
  84. package/lib/components/select/Option.js +3 -3
  85. package/lib/components/superset-charts/fetch-assets-and-append/get-assets-with-cache.js +1 -1
  86. package/lib/components/superset-charts/fetch-assets-and-append/index.js +1 -1
  87. package/lib/components/survey-model/request-api.js +1 -1
  88. package/lib/components/task-relation-modal/index.js +1 -1
  89. package/lib/components/task-relation-modal/tree/category-tree/index.js +1 -1
  90. package/lib/components/task-relation-modal/tree/okr-tree/index.js +1 -1
  91. package/lib/components/task-relation-modal/tree/work-tree/index.js +1 -1
  92. package/lib/components/task-relation-modal/work-relation/index.js +1 -1
  93. package/lib/components/task-tree/task-item-node/e-project.js +1 -1
  94. package/lib/components/task-tree/task-item-node/e-task.js +1 -1
  95. package/lib/components/tita-chart/errorBoundary/index.js +3 -3
  96. package/lib/components/toast/index.js +1 -1
  97. package/lib/components/upvote/index.js +1 -1
  98. package/lib/components/version-change-modal/constant.js +7 -7
  99. package/lib/components/version-change-modal/images/header-g1.png +0 -0
  100. package/lib/components/version-change-modal/images/header-p.png +0 -0
  101. package/lib/components/version-change-modal/images/okr-purple.png +0 -0
  102. package/lib/components/version-change-modal/images/performance-exam.png +0 -0
  103. package/lib/components/version-change-modal/index.css +36 -3
  104. package/lib/components/version-change-modal/index.js +58 -10
  105. package/lib/components/version-change-modal/request-api.js +1 -1
  106. package/lib/components/weekly-report/card.js +11 -1
  107. package/lib/components/weekly-report/common-painter/darwAvatar.js +1 -1
  108. package/lib/components/weekly-report/common-painter/drawName.js +1 -1
  109. package/lib/components/weekly-report/common-painter/openDataPainter.js +1 -1
  110. package/lib/components/weekly-report/index.js +1 -1
  111. package/lib/components-v1/animate/AnimateChild.js +3 -3
  112. package/lib/components-v1/avatar/index.js +3 -3
  113. package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -3
  114. package/lib/components-v1/progress/CircleProgress.js +3 -3
  115. package/lib/components-v1/select/Option.js +3 -3
  116. package/lib/components-v1/userSelector/UserSelectorPop.js +3 -3
  117. package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -3
  118. package/lib/components-v1/userSelector/components/UserItem.js +3 -3
  119. package/lib/pages/group-management/groupInterface.js +1 -1
  120. package/lib/pages/new-okr-list/request-api.js +1 -1
  121. package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +1 -1
  122. package/lib/pages/okr-map/request-apis.js +1 -1
  123. package/lib/utils/open-data.js +89 -48
  124. package/lib/utils/request-v1.js +1 -1
  125. package/lib/utils/request.js +1 -1
  126. package/package.json +1 -1
@@ -11,7 +11,7 @@ exports.getTenantInfo = getTenantInfo;
11
11
  exports.getUserInfo = getUserInfo;
12
12
  exports.taker = taker;
13
13
 
14
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
14
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
15
15
 
16
16
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17
17
 
@@ -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
- }, _assertThisInitialized(_this)));
64
+ }, _temp));
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 _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, _assertThisInitialized(_this)));
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, _assertThisInitialized(_this2)));
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, _assertThisInitialized(_this3)));
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);
@@ -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
- }], _assertThisInitialized(_this)));
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
- }, _assertThisInitialized(_this2)));
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, _assertThisInitialized(_this3)));
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);
@@ -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
- }], _assertThisInitialized(_this)));
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
- }], _assertThisInitialized(_this2)));
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, _assertThisInitialized(_this3)));
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);
@@ -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
- }], _assertThisInitialized(_this)));
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
- }, _assertThisInitialized(_this2)));
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
- }], _assertThisInitialized(_this3)));
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"]], _assertThisInitialized(_this4)));
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, _assertThisInitialized(_this5)));
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);
@@ -41,7 +41,7 @@ var ParagraphSchema = /*#__PURE__*/function (_BlockSchema) {
41
41
  var _super = _createSuper(ParagraphSchema);
42
42
 
43
43
  function ParagraphSchema() {
44
- var _this;
44
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "inline*", _this.parseDOM = [{
52
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = PLUGIN_NAME, _this.content = "inline*", _this.parseDOM = [{
53
53
  tag: "p"
54
- }], _assertThisInitialized(_this)));
54
+ }], _temp));
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 _this2;
77
+ var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = ParagraphSchema, _assertThisInitialized(_this2)));
85
+ return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.schema = ParagraphSchema, _temp2));
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 _this;
54
+ var _temp, _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, (_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)));
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));
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 _this2;
76
+ var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = CorePluginController, _assertThisInitialized(_this2)));
84
+ return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = CorePluginController, _temp2));
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 _this;
50
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.toolbar = [{
58
+ return _possibleConstructorReturn(_this, (_temp = _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
- }], _assertThisInitialized(_this)));
85
+ }], _temp));
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 _this2;
99
+ var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = AlignmentController, _assertThisInitialized(_this2)));
107
+ return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = AlignmentController, _temp2));
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 _this;
88
+ var _temp, _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, (_this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [placeHolderPlugin], _assertThisInitialized(_this)));
96
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.pmPlugins = [placeHolderPlugin], _temp));
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 _this2;
110
+ var _temp2, _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, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = PlaceholderController, _assertThisInitialized(_this2)));
118
+ return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = PLUGIN_NAME, _this2.controller = PlaceholderController, _temp2));
119
119
  }
120
120
 
121
121
  return _createClass(PlaceholderPlugin);
@@ -71,7 +71,7 @@ var FontColorSchema = /*#__PURE__*/function (_InlineSchema) {
71
71
  var _super = _createSuper(FontColorSchema);
72
72
 
73
73
  function FontColorSchema() {
74
- var _this;
74
+ var _temp, _this;
75
75
 
76
76
  _classCallCheck(this, FontColorSchema);
77
77
 
@@ -79,7 +79,7 @@ var FontColorSchema = /*#__PURE__*/function (_InlineSchema) {
79
79
  args[_key] = arguments[_key];
80
80
  }
81
81
 
82
- return _possibleConstructorReturn(_this, (_this = _super.call.apply(_super, [this].concat(args)), _this.name = FONT_COLOR_SCHEMA_NAME, _this.attrs = {
82
+ return _possibleConstructorReturn(_this, (_temp = _this = _super.call.apply(_super, [this].concat(args)), _this.name = FONT_COLOR_SCHEMA_NAME, _this.attrs = {
83
83
  color: {
84
84
  "default": ''
85
85
  }
@@ -91,7 +91,7 @@ var FontColorSchema = /*#__PURE__*/function (_InlineSchema) {
91
91
  getAttrs: function getAttrs(dom) {
92
92
  return getColorAttrs(dom.getAttribute('color'));
93
93
  }
94
- }], _assertThisInitialized(_this)));
94
+ }], _temp));
95
95
  }
96
96
 
97
97
  _createClass(FontColorSchema, [{
@@ -129,7 +129,7 @@ var BackgroundColorSchema = /*#__PURE__*/function (_InlineSchema2) {
129
129
  var _super2 = _createSuper(BackgroundColorSchema);
130
130
 
131
131
  function BackgroundColorSchema() {
132
- var _this2;
132
+ var _temp2, _this2;
133
133
 
134
134
  _classCallCheck(this, BackgroundColorSchema);
135
135
 
@@ -137,7 +137,7 @@ var BackgroundColorSchema = /*#__PURE__*/function (_InlineSchema2) {
137
137
  args[_key2] = arguments[_key2];
138
138
  }
139
139
 
140
- return _possibleConstructorReturn(_this2, (_this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = BACKGROUND_COLOR_SCHEMA_NAME, _this2.attrs = {
140
+ return _possibleConstructorReturn(_this2, (_temp2 = _this2 = _super2.call.apply(_super2, [this].concat(args)), _this2.name = BACKGROUND_COLOR_SCHEMA_NAME, _this2.attrs = {
141
141
  color: {
142
142
  "default": ''
143
143
  }
@@ -147,7 +147,7 @@ var BackgroundColorSchema = /*#__PURE__*/function (_InlineSchema2) {
147
147
  }, {
148
148
  style: 'background-color',
149
149
  getAttrs: getBgAttrs
150
- }], _assertThisInitialized(_this2)));
150
+ }], _temp2));
151
151
  }
152
152
 
153
153
  _createClass(BackgroundColorSchema, [{
@@ -170,7 +170,7 @@ var ColorController = /*#__PURE__*/function (_BaseController) {
170
170
  var _super3 = _createSuper(ColorController);
171
171
 
172
172
  function ColorController() {
173
- var _this3;
173
+ var _temp3, _this3;
174
174
 
175
175
  _classCallCheck(this, ColorController);
176
176
 
@@ -178,7 +178,7 @@ var ColorController = /*#__PURE__*/function (_BaseController) {
178
178
  args[_key3] = arguments[_key3];
179
179
  }
180
180
 
181
- return _possibleConstructorReturn(_this3, (_this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.toolbar = {
181
+ return _possibleConstructorReturn(_this3, (_temp3 = _this3 = _super3.call.apply(_super3, [this].concat(args)), _this3.toolbar = {
182
182
  title: (0, _getLocale.getLocale)('Tasks_Tab_MyS_Textcolor'),
183
183
  icon: 'tu-icon-text-color',
184
184
  handler: function handler(editor) {
@@ -186,7 +186,7 @@ var ColorController = /*#__PURE__*/function (_BaseController) {
186
186
  editor.view.focus();
187
187
  },
188
188
  renderMenu: _selector["default"]
189
- }, _assertThisInitialized(_this3)));
189
+ }, _temp3));
190
190
  }
191
191
 
192
192
  return _createClass(ColorController);
@@ -200,7 +200,7 @@ var ColorPlugin = /*#__PURE__*/function (_BasePlugin) {
200
200
  var _super4 = _createSuper(ColorPlugin);
201
201
 
202
202
  function ColorPlugin() {
203
- var _this4;
203
+ var _temp4, _this4;
204
204
 
205
205
  _classCallCheck(this, ColorPlugin);
206
206
 
@@ -208,7 +208,7 @@ var ColorPlugin = /*#__PURE__*/function (_BasePlugin) {
208
208
  args[_key4] = arguments[_key4];
209
209
  }
210
210
 
211
- return _possibleConstructorReturn(_this4, (_this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.name = PLUGIN_NAME, _this4.schema = [FontColorSchema, BackgroundColorSchema], _this4.controller = ColorController, _assertThisInitialized(_this4)));
211
+ return _possibleConstructorReturn(_this4, (_temp4 = _this4 = _super4.call.apply(_super4, [this].concat(args)), _this4.name = PLUGIN_NAME, _this4.schema = [FontColorSchema, BackgroundColorSchema], _this4.controller = ColorController, _temp4));
212
212
  }
213
213
 
214
214
  return _createClass(ColorPlugin);