@atlaskit/editor-common 72.9.0 → 73.0.0
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/CHANGELOG.md +11 -0
- package/dist/cjs/analytics/types/enums.js +32 -32
- package/dist/cjs/analytics/types/extension-events.js +8 -8
- package/dist/cjs/analytics/types/format-events.js +8 -8
- package/dist/cjs/analytics/types/general-events.js +16 -16
- package/dist/cjs/analytics/types/inline-comment-events.js +4 -4
- package/dist/cjs/analytics/types/insert-events.js +16 -16
- package/dist/cjs/analytics/types/list-events.js +16 -16
- package/dist/cjs/analytics/types/node-events.js +8 -8
- package/dist/cjs/analytics/types/substitute-events.js +8 -8
- package/dist/cjs/analytics/types/table-events.js +11 -10
- package/dist/cjs/analytics/types/toolbar-button.js +4 -4
- package/dist/cjs/analytics/types/utils.js +8 -8
- package/dist/cjs/extensions/default-extension-provider.js +55 -62
- package/dist/cjs/extensions/extension-fields-helpers.js +83 -94
- package/dist/cjs/extensions/extension-handlers.js +50 -55
- package/dist/cjs/extensions/manifest-helpers.js +13 -16
- package/dist/cjs/extensions/module-helpers.js +50 -57
- package/dist/cjs/i18n/cs.js +36 -2
- package/dist/cjs/i18n/da.js +36 -2
- package/dist/cjs/i18n/de.js +37 -3
- package/dist/cjs/i18n/en.js +36 -2
- package/dist/cjs/i18n/en_GB.js +36 -2
- package/dist/cjs/i18n/en_ZZ.js +18 -2
- package/dist/cjs/i18n/es.js +36 -2
- package/dist/cjs/i18n/fi.js +36 -2
- package/dist/cjs/i18n/fr.js +36 -2
- package/dist/cjs/i18n/hu.js +36 -2
- package/dist/cjs/i18n/it.js +36 -2
- package/dist/cjs/i18n/ja.js +36 -2
- package/dist/cjs/i18n/ko.js +36 -2
- package/dist/cjs/i18n/nb.js +36 -2
- package/dist/cjs/i18n/nl.js +36 -2
- package/dist/cjs/i18n/pl.js +36 -2
- package/dist/cjs/i18n/pt_BR.js +36 -2
- package/dist/cjs/i18n/ru.js +36 -2
- package/dist/cjs/i18n/sv.js +36 -2
- package/dist/cjs/i18n/th.js +36 -2
- package/dist/cjs/i18n/tr.js +36 -2
- package/dist/cjs/i18n/uk.js +36 -2
- package/dist/cjs/i18n/vi.js +36 -2
- package/dist/cjs/i18n/zh.js +36 -2
- package/dist/cjs/i18n/zh_TW.js +36 -2
- package/dist/cjs/icons/index.js +1 -1
- package/dist/cjs/preset/plugin-injection-api.js +1 -1
- package/dist/cjs/provider-helpers/combine-providers.js +63 -72
- package/dist/cjs/provider-helpers/promise-helpers.js +4 -4
- package/dist/cjs/selection/gap-cursor/selection.js +4 -4
- package/dist/cjs/selection/types.js +4 -4
- package/dist/cjs/styles/shared/lists.js +3 -3
- package/dist/cjs/type-ahead/index.js +8 -8
- package/dist/cjs/types/annotation/emitter.js +4 -4
- package/dist/cjs/types/index.js +4 -4
- package/dist/cjs/types/toolbar.js +12 -12
- package/dist/cjs/ufo/experience-store.js +4 -4
- package/dist/cjs/ui/DropList/index.js +2 -2
- package/dist/cjs/ui/Layer/index.js +1 -2
- package/dist/cjs/ui/OverflowShadow/shadowObserver.js +4 -4
- package/dist/cjs/ui/Popup/index.js +3 -4
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/types.js +4 -4
- package/dist/cjs/utils/analytics.js +4 -4
- package/dist/cjs/utils/browser-extensions.js +1 -1
- package/dist/cjs/utils/compareNodes.js +6 -6
- package/dist/cjs/utils/date.js +3 -3
- package/dist/cjs/utils/list.js +3 -0
- package/dist/cjs/utils/nodes.js +15 -14
- package/dist/cjs/utils/referentiality.js +1 -1
- package/dist/cjs/utils/unsupportedContent/get-unsupported-content-level-data.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/with-plugin-state/index.js +3 -4
- package/dist/es2019/analytics/types/enums.js +24 -24
- package/dist/es2019/analytics/types/extension-events.js +8 -8
- package/dist/es2019/analytics/types/format-events.js +6 -6
- package/dist/es2019/analytics/types/general-events.js +14 -12
- package/dist/es2019/analytics/types/inline-comment-events.js +3 -3
- package/dist/es2019/analytics/types/insert-events.js +12 -12
- package/dist/es2019/analytics/types/list-events.js +12 -12
- package/dist/es2019/analytics/types/node-events.js +6 -6
- package/dist/es2019/analytics/types/substitute-events.js +6 -6
- package/dist/es2019/analytics/types/table-events.js +10 -9
- package/dist/es2019/analytics/types/toolbar-button.js +3 -3
- package/dist/es2019/analytics/types/utils.js +6 -6
- package/dist/es2019/i18n/cs.js +36 -2
- package/dist/es2019/i18n/da.js +36 -2
- package/dist/es2019/i18n/de.js +37 -3
- package/dist/es2019/i18n/en.js +36 -2
- package/dist/es2019/i18n/en_GB.js +36 -2
- package/dist/es2019/i18n/en_ZZ.js +18 -2
- package/dist/es2019/i18n/es.js +36 -2
- package/dist/es2019/i18n/fi.js +36 -2
- package/dist/es2019/i18n/fr.js +36 -2
- package/dist/es2019/i18n/hu.js +36 -2
- package/dist/es2019/i18n/it.js +36 -2
- package/dist/es2019/i18n/ja.js +36 -2
- package/dist/es2019/i18n/ko.js +36 -2
- package/dist/es2019/i18n/nb.js +36 -2
- package/dist/es2019/i18n/nl.js +36 -2
- package/dist/es2019/i18n/pl.js +36 -2
- package/dist/es2019/i18n/pt_BR.js +36 -2
- package/dist/es2019/i18n/ru.js +36 -2
- package/dist/es2019/i18n/sv.js +36 -2
- package/dist/es2019/i18n/th.js +36 -2
- package/dist/es2019/i18n/tr.js +36 -2
- package/dist/es2019/i18n/uk.js +36 -2
- package/dist/es2019/i18n/vi.js +36 -2
- package/dist/es2019/i18n/zh.js +36 -2
- package/dist/es2019/i18n/zh_TW.js +36 -2
- package/dist/es2019/provider-helpers/promise-helpers.js +3 -3
- package/dist/es2019/selection/gap-cursor/selection.js +3 -3
- package/dist/es2019/selection/types.js +3 -3
- package/dist/es2019/styles/shared/lists.js +3 -3
- package/dist/es2019/type-ahead/index.js +6 -6
- package/dist/es2019/types/annotation/emitter.js +3 -3
- package/dist/es2019/types/index.js +3 -3
- package/dist/es2019/types/toolbar.js +9 -9
- package/dist/es2019/ufo/experience-store.js +3 -3
- package/dist/es2019/ui/DropList/index.js +2 -2
- package/dist/es2019/ui/Layer/index.js +1 -2
- package/dist/es2019/ui/OverflowShadow/shadowObserver.js +3 -3
- package/dist/es2019/ui/Popup/index.js +3 -5
- package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/types.js +3 -3
- package/dist/es2019/utils/analytics.js +3 -3
- package/dist/es2019/utils/compareNodes.js +3 -3
- package/dist/es2019/utils/date.js +3 -3
- package/dist/es2019/utils/list.js +3 -0
- package/dist/es2019/utils/nodes.js +5 -5
- package/dist/es2019/utils/unsupportedContent/get-unsupported-content-level-data.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/with-plugin-state/index.js +3 -5
- package/dist/esm/analytics/types/enums.js +24 -24
- package/dist/esm/analytics/types/extension-events.js +8 -8
- package/dist/esm/analytics/types/format-events.js +6 -6
- package/dist/esm/analytics/types/general-events.js +14 -12
- package/dist/esm/analytics/types/inline-comment-events.js +3 -3
- package/dist/esm/analytics/types/insert-events.js +12 -12
- package/dist/esm/analytics/types/list-events.js +12 -12
- package/dist/esm/analytics/types/node-events.js +6 -6
- package/dist/esm/analytics/types/substitute-events.js +6 -6
- package/dist/esm/analytics/types/table-events.js +10 -9
- package/dist/esm/analytics/types/toolbar-button.js +3 -3
- package/dist/esm/analytics/types/utils.js +6 -6
- package/dist/esm/extensions/default-extension-provider.js +55 -62
- package/dist/esm/extensions/extension-fields-helpers.js +83 -94
- package/dist/esm/extensions/extension-handlers.js +50 -55
- package/dist/esm/extensions/manifest-helpers.js +13 -16
- package/dist/esm/extensions/module-helpers.js +50 -57
- package/dist/esm/i18n/cs.js +36 -2
- package/dist/esm/i18n/da.js +36 -2
- package/dist/esm/i18n/de.js +37 -3
- package/dist/esm/i18n/en.js +36 -2
- package/dist/esm/i18n/en_GB.js +36 -2
- package/dist/esm/i18n/en_ZZ.js +18 -2
- package/dist/esm/i18n/es.js +36 -2
- package/dist/esm/i18n/fi.js +36 -2
- package/dist/esm/i18n/fr.js +36 -2
- package/dist/esm/i18n/hu.js +36 -2
- package/dist/esm/i18n/it.js +36 -2
- package/dist/esm/i18n/ja.js +36 -2
- package/dist/esm/i18n/ko.js +36 -2
- package/dist/esm/i18n/nb.js +36 -2
- package/dist/esm/i18n/nl.js +36 -2
- package/dist/esm/i18n/pl.js +36 -2
- package/dist/esm/i18n/pt_BR.js +36 -2
- package/dist/esm/i18n/ru.js +36 -2
- package/dist/esm/i18n/sv.js +36 -2
- package/dist/esm/i18n/th.js +36 -2
- package/dist/esm/i18n/tr.js +36 -2
- package/dist/esm/i18n/uk.js +36 -2
- package/dist/esm/i18n/vi.js +36 -2
- package/dist/esm/i18n/zh.js +36 -2
- package/dist/esm/i18n/zh_TW.js +36 -2
- package/dist/esm/preset/plugin-injection-api.js +1 -1
- package/dist/esm/provider-helpers/combine-providers.js +63 -72
- package/dist/esm/provider-helpers/promise-helpers.js +3 -3
- package/dist/esm/selection/gap-cursor/selection.js +3 -3
- package/dist/esm/selection/types.js +3 -3
- package/dist/esm/styles/shared/lists.js +3 -3
- package/dist/esm/type-ahead/index.js +6 -6
- package/dist/esm/types/annotation/emitter.js +3 -3
- package/dist/esm/types/index.js +3 -3
- package/dist/esm/types/toolbar.js +9 -9
- package/dist/esm/ufo/experience-store.js +3 -3
- package/dist/esm/ui/DropList/index.js +2 -2
- package/dist/esm/ui/Layer/index.js +1 -2
- package/dist/esm/ui/OverflowShadow/shadowObserver.js +3 -3
- package/dist/esm/ui/Popup/index.js +3 -4
- package/dist/esm/ui-menu/ArrowKeyNavigationProvider/types.js +3 -3
- package/dist/esm/utils/analytics.js +3 -3
- package/dist/esm/utils/browser-extensions.js +1 -1
- package/dist/esm/utils/compareNodes.js +5 -5
- package/dist/esm/utils/date.js +3 -3
- package/dist/esm/utils/list.js +3 -0
- package/dist/esm/utils/nodes.js +15 -14
- package/dist/esm/utils/referentiality.js +1 -1
- package/dist/esm/utils/unsupportedContent/get-unsupported-content-level-data.js +3 -3
- package/dist/esm/version.json +1 -1
- package/dist/esm/with-plugin-state/index.js +3 -4
- package/dist/types/collab/types.d.ts +0 -1
- package/dist/types/i18n/cs.d.ts +35 -2
- package/dist/types/i18n/da.d.ts +35 -2
- package/dist/types/i18n/de.d.ts +35 -2
- package/dist/types/i18n/en.d.ts +35 -2
- package/dist/types/i18n/en_GB.d.ts +35 -2
- package/dist/types/i18n/en_ZZ.d.ts +17 -2
- package/dist/types/i18n/es.d.ts +35 -2
- package/dist/types/i18n/fi.d.ts +35 -2
- package/dist/types/i18n/fr.d.ts +35 -2
- package/dist/types/i18n/hu.d.ts +35 -2
- package/dist/types/i18n/it.d.ts +35 -2
- package/dist/types/i18n/ja.d.ts +35 -2
- package/dist/types/i18n/ko.d.ts +35 -2
- package/dist/types/i18n/nb.d.ts +35 -2
- package/dist/types/i18n/nl.d.ts +35 -2
- package/dist/types/i18n/pl.d.ts +35 -2
- package/dist/types/i18n/pt_BR.d.ts +35 -2
- package/dist/types/i18n/ru.d.ts +35 -2
- package/dist/types/i18n/sv.d.ts +35 -2
- package/dist/types/i18n/th.d.ts +35 -2
- package/dist/types/i18n/tr.d.ts +35 -2
- package/dist/types/i18n/uk.d.ts +35 -2
- package/dist/types/i18n/vi.d.ts +35 -2
- package/dist/types/i18n/zh.d.ts +35 -2
- package/dist/types/i18n/zh_TW.d.ts +35 -2
- package/package.json +6 -6
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
|
-
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, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $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 defineProperty(generator, "_invoke", { value: makeInvokeMethod(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; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(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); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), 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, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), 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 (val) { var object = Object(val), 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; }
|
|
3
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
4
|
import React from 'react';
|
|
6
5
|
import Loadable from 'react-loadable';
|
|
7
6
|
import { getExtensionKeyAndNodeKey, resolveImport } from './manifest-helpers';
|
|
@@ -13,41 +12,39 @@ export function getExtensionModuleNode(_x, _x2, _x3) {
|
|
|
13
12
|
* Gets `__` prefixed properties from an extension node module definition
|
|
14
13
|
*/
|
|
15
14
|
function _getExtensionModuleNode() {
|
|
16
|
-
_getExtensionModuleNode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
15
|
+
_getExtensionModuleNode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(extensionProvider, extensionType, extensionKey) {
|
|
17
16
|
var _getExtensionKeyAndNo, _getExtensionKeyAndNo2, extKey, nodeKey, manifest, node;
|
|
18
|
-
return _regeneratorRuntime
|
|
19
|
-
while (1) {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return _context.stop();
|
|
50
|
-
}
|
|
17
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
18
|
+
while (1) switch (_context.prev = _context.next) {
|
|
19
|
+
case 0:
|
|
20
|
+
_getExtensionKeyAndNo = getExtensionKeyAndNodeKey(extensionKey, extensionType), _getExtensionKeyAndNo2 = _slicedToArray(_getExtensionKeyAndNo, 2), extKey = _getExtensionKeyAndNo2[0], nodeKey = _getExtensionKeyAndNo2[1];
|
|
21
|
+
_context.next = 3;
|
|
22
|
+
return extensionProvider.getExtension(extensionType, extKey);
|
|
23
|
+
case 3:
|
|
24
|
+
manifest = _context.sent;
|
|
25
|
+
if (manifest) {
|
|
26
|
+
_context.next = 6;
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
throw new Error("Extension with key \"".concat(extKey, "\" and type \"").concat(extensionType, "\" not found!"));
|
|
30
|
+
case 6:
|
|
31
|
+
if (manifest.modules.nodes) {
|
|
32
|
+
_context.next = 8;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
throw new Error("Couldn't find any node for extension type \"".concat(extensionType, "\" and key \"").concat(extensionKey, "\"!"));
|
|
36
|
+
case 8:
|
|
37
|
+
node = manifest.modules.nodes[nodeKey];
|
|
38
|
+
if (node) {
|
|
39
|
+
_context.next = 11;
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
throw new Error("Node with key \"".concat(extensionKey, "\" not found on manifest for extension type \"").concat(extensionType, "\" and key \"").concat(extensionKey, "\"!"));
|
|
43
|
+
case 11:
|
|
44
|
+
return _context.abrupt("return", node);
|
|
45
|
+
case 12:
|
|
46
|
+
case "end":
|
|
47
|
+
return _context.stop();
|
|
51
48
|
}
|
|
52
49
|
}, _callee);
|
|
53
50
|
}));
|
|
@@ -57,26 +54,24 @@ export function getExtensionModuleNodePrivateProps(_x4, _x5, _x6) {
|
|
|
57
54
|
return _getExtensionModuleNodePrivateProps.apply(this, arguments);
|
|
58
55
|
}
|
|
59
56
|
function _getExtensionModuleNodePrivateProps() {
|
|
60
|
-
_getExtensionModuleNodePrivateProps = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
57
|
+
_getExtensionModuleNodePrivateProps = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(extensionProvider, extensionType, extensionKey) {
|
|
61
58
|
var moduleNode;
|
|
62
|
-
return _regeneratorRuntime
|
|
63
|
-
while (1) {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return _context2.stop();
|
|
79
|
-
}
|
|
59
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
60
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
61
|
+
case 0:
|
|
62
|
+
_context2.next = 2;
|
|
63
|
+
return getExtensionModuleNode(extensionProvider, extensionType, extensionKey);
|
|
64
|
+
case 2:
|
|
65
|
+
moduleNode = _context2.sent;
|
|
66
|
+
return _context2.abrupt("return", Object.keys(moduleNode).filter(function (key) {
|
|
67
|
+
return key.startsWith('__');
|
|
68
|
+
}).reduce(function (acc, key) {
|
|
69
|
+
acc[key] = moduleNode[key];
|
|
70
|
+
return acc;
|
|
71
|
+
}, {}));
|
|
72
|
+
case 4:
|
|
73
|
+
case "end":
|
|
74
|
+
return _context2.stop();
|
|
80
75
|
}
|
|
81
76
|
}, _callee2);
|
|
82
77
|
}));
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
5
4
|
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; }
|
|
6
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
|
-
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, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $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 defineProperty(generator, "_invoke", { value: makeInvokeMethod(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; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(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); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), 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, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), 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 (val) { var object = Object(val), 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; }
|
|
6
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
7
|
export var FORGE_EXTENSION_TYPE = 'com.atlassian.ecosystem';
|
|
9
8
|
export var getExtensionKeyAndNodeKey = function getExtensionKeyAndNodeKey(extensionKey, extensionType) {
|
|
10
9
|
// Forge macro extensionKey has a user generated string, so splitting on
|
|
@@ -35,21 +34,19 @@ export function buildAction(action, manifest) {
|
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
export var resolveImport = /*#__PURE__*/function () {
|
|
38
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
37
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(importPromise) {
|
|
39
38
|
var importedModule;
|
|
40
|
-
return _regeneratorRuntime
|
|
41
|
-
while (1) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
return _context.stop();
|
|
52
|
-
}
|
|
39
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
40
|
+
while (1) switch (_context.prev = _context.next) {
|
|
41
|
+
case 0:
|
|
42
|
+
_context.next = 2;
|
|
43
|
+
return importPromise;
|
|
44
|
+
case 2:
|
|
45
|
+
importedModule = _context.sent;
|
|
46
|
+
return _context.abrupt("return", importedModule && importedModule.__esModule ? importedModule.default : importedModule);
|
|
47
|
+
case 4:
|
|
48
|
+
case "end":
|
|
49
|
+
return _context.stop();
|
|
53
50
|
}
|
|
54
51
|
}, _callee);
|
|
55
52
|
}));
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
3
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
5
|
-
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, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $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 defineProperty(generator, "_invoke", { value: makeInvokeMethod(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; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(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); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), 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, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), 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 (val) { var object = Object(val), 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; }
|
|
4
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
6
5
|
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; }
|
|
7
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
8
7
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
9
8
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
9
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
10
|
import { buildAction } from './manifest-helpers';
|
|
12
11
|
export var groupBy = function groupBy(arr, attr, keyRenamer) {
|
|
13
12
|
return arr.reduce(function (acc, item) {
|
|
@@ -51,45 +50,41 @@ export function getAutoConvertPatternsFromModule(_x) {
|
|
|
51
50
|
return _getAutoConvertPatternsFromModule.apply(this, arguments);
|
|
52
51
|
}
|
|
53
52
|
function _getAutoConvertPatternsFromModule() {
|
|
54
|
-
_getAutoConvertPatternsFromModule = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
53
|
+
_getAutoConvertPatternsFromModule = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(extensions) {
|
|
55
54
|
var _ref3;
|
|
56
55
|
var items;
|
|
57
|
-
return _regeneratorRuntime
|
|
58
|
-
while (1) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
_context.next = 2;
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
return _context.abrupt("return", manifest.modules.autoConvert.url);
|
|
73
|
-
case 2:
|
|
74
|
-
return _context.abrupt("return", []);
|
|
75
|
-
case 3:
|
|
76
|
-
case "end":
|
|
77
|
-
return _context.stop();
|
|
56
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
57
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
58
|
+
case 0:
|
|
59
|
+
_context2.next = 2;
|
|
60
|
+
return Promise.all(extensions.map( /*#__PURE__*/function () {
|
|
61
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(manifest) {
|
|
62
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
63
|
+
while (1) switch (_context.prev = _context.next) {
|
|
64
|
+
case 0:
|
|
65
|
+
if (!(manifest.modules.autoConvert && manifest.modules.autoConvert.url)) {
|
|
66
|
+
_context.next = 2;
|
|
67
|
+
break;
|
|
78
68
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
return
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
69
|
+
return _context.abrupt("return", manifest.modules.autoConvert.url);
|
|
70
|
+
case 2:
|
|
71
|
+
return _context.abrupt("return", []);
|
|
72
|
+
case 3:
|
|
73
|
+
case "end":
|
|
74
|
+
return _context.stop();
|
|
75
|
+
}
|
|
76
|
+
}, _callee);
|
|
77
|
+
}));
|
|
78
|
+
return function (_x3) {
|
|
79
|
+
return _ref2.apply(this, arguments);
|
|
80
|
+
};
|
|
81
|
+
}()));
|
|
82
|
+
case 2:
|
|
83
|
+
items = _context2.sent;
|
|
84
|
+
return _context2.abrupt("return", (_ref3 = []).concat.apply(_ref3, _toConsumableArray(items)));
|
|
85
|
+
case 4:
|
|
86
|
+
case "end":
|
|
87
|
+
return _context2.stop();
|
|
93
88
|
}
|
|
94
89
|
}, _callee2);
|
|
95
90
|
}));
|
|
@@ -118,25 +113,23 @@ export function getExtensionAutoConvertersFromProvider(_x2) {
|
|
|
118
113
|
return _getExtensionAutoConvertersFromProvider.apply(this, arguments);
|
|
119
114
|
}
|
|
120
115
|
function _getExtensionAutoConvertersFromProvider() {
|
|
121
|
-
_getExtensionAutoConvertersFromProvider = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
116
|
+
_getExtensionAutoConvertersFromProvider = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(extensionProviderPromise) {
|
|
122
117
|
var extensionProvider, extensionAutoConverters;
|
|
123
|
-
return _regeneratorRuntime
|
|
124
|
-
while (1) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
return _context3.stop();
|
|
139
|
-
}
|
|
118
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
119
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
120
|
+
case 0:
|
|
121
|
+
_context3.next = 2;
|
|
122
|
+
return extensionProviderPromise;
|
|
123
|
+
case 2:
|
|
124
|
+
extensionProvider = _context3.sent;
|
|
125
|
+
_context3.next = 5;
|
|
126
|
+
return extensionProvider.getAutoConverter();
|
|
127
|
+
case 5:
|
|
128
|
+
extensionAutoConverters = _context3.sent;
|
|
129
|
+
return _context3.abrupt("return", createAutoConverterRunner(extensionAutoConverters));
|
|
130
|
+
case 7:
|
|
131
|
+
case "end":
|
|
132
|
+
return _context3.stop();
|
|
140
133
|
}
|
|
141
134
|
}, _callee3);
|
|
142
135
|
}));
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
@@ -8,6 +9,7 @@
|
|
|
8
9
|
export default {
|
|
9
10
|
'fabric.editor.action': 'Aktuální úkol',
|
|
10
11
|
'fabric.editor.action.description': 'Vytvořit a přiřadit aktuální úkol',
|
|
12
|
+
'fabric.editor.addMediaFiles': 'Přidat obrázek, video nebo soubor',
|
|
11
13
|
'fabric.editor.alignImageCenter': 'Zarovnat na střed',
|
|
12
14
|
'fabric.editor.alignImageLeft': 'Zarovnat vlevo',
|
|
13
15
|
'fabric.editor.alignImageRight': 'Zarovnat vpravo',
|
|
@@ -17,6 +19,8 @@ export default {
|
|
|
17
19
|
'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
|
|
18
20
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Zkopírováno!',
|
|
19
21
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopírovat jako text',
|
|
22
|
+
'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': 'Vypnout obalení',
|
|
23
|
+
'fabric.editor.codeBlockWrapButton.wrapCodeBlock': 'Zapnout obalení',
|
|
20
24
|
'fabric.editor.collapseNode': 'Sbalit obsah',
|
|
21
25
|
'fabric.editor.columns': 'Rozvržení',
|
|
22
26
|
'fabric.editor.columns.description': 'Uspořádejte svou stránku pomocí oddílů',
|
|
@@ -36,8 +40,6 @@ export default {
|
|
|
36
40
|
'fabric.editor.expandPlaceholder': 'Dejte rozbalenému obsahu název...',
|
|
37
41
|
'fabric.editor.feedbackDialog': 'Poskytnout zpětnou vazbu',
|
|
38
42
|
'fabric.editor.feedbackDialog.description': 'Podělte se s námi o pocity z práce v novém editoru',
|
|
39
|
-
'fabric.editor.filesAndImages': 'Soubory a obrázky',
|
|
40
|
-
'fabric.editor.filesAndImages.description': 'Přidejte na svou stránku obrázky a další soubory',
|
|
41
43
|
'fabric.editor.help': 'Nápověda',
|
|
42
44
|
'fabric.editor.help.description': 'Projděte si všechny klávesové zkratky a možnosti markdownu',
|
|
43
45
|
'fabric.editor.horizontalRule': 'Dílčí příčka',
|
|
@@ -49,6 +51,8 @@ export default {
|
|
|
49
51
|
'fabric.editor.layoutWide': 'Přepnout do zobrazení na šířku',
|
|
50
52
|
'fabric.editor.link': 'Odkaz',
|
|
51
53
|
'fabric.editor.link.description': 'Vložit odkaz',
|
|
54
|
+
'fabric.editor.mediaFiles': 'Obrázek, video nebo soubor',
|
|
55
|
+
'fabric.editor.mediaFiles.description': 'Přidejte na svou stránku obrázky a další soubory',
|
|
52
56
|
'fabric.editor.mention': 'Zmínka',
|
|
53
57
|
'fabric.editor.mention.description': 'Zmiňte někoho, abyste jim zaslali oznámení',
|
|
54
58
|
'fabric.editor.openLink': 'Otevřít odkaz na nové kartě',
|
|
@@ -76,12 +80,32 @@ export default {
|
|
|
76
80
|
'fabric.editor.viewMore': 'Zobrazit více',
|
|
77
81
|
'fabric.editor.visit': 'Otevřít odkaz v novém okně',
|
|
78
82
|
'fabric.theme.blue': 'Blue',
|
|
83
|
+
'fabric.theme.bold-blue': 'Sytě modrá',
|
|
84
|
+
'fabric.theme.bold-gray': 'Tučně šedá',
|
|
85
|
+
'fabric.theme.bold-green': 'Sytě zelená',
|
|
86
|
+
'fabric.theme.bold-magenta': 'Tmavě purpurová',
|
|
87
|
+
'fabric.theme.bold-orange': 'Sytě oranžová',
|
|
88
|
+
'fabric.theme.bold-purple': 'Sytě fialová',
|
|
89
|
+
'fabric.theme.bold-red': 'Sytě červená',
|
|
90
|
+
'fabric.theme.bold-teal': 'Sytě šedozelená',
|
|
91
|
+
'fabric.theme.bold-yellow': 'Tučně žlutá',
|
|
92
|
+
'fabric.theme.bolder-blue': 'Tmavější modrá',
|
|
93
|
+
'fabric.theme.bolder-gray': 'Tmavější šedá',
|
|
94
|
+
'fabric.theme.bolder-green': 'Tmavější zelená',
|
|
95
|
+
'fabric.theme.bolder-magenta': 'Tmavější purpurová',
|
|
96
|
+
'fabric.theme.bolder-orange': 'Tmavější oranžová',
|
|
97
|
+
'fabric.theme.bolder-purple': 'Tmavější fialová',
|
|
98
|
+
'fabric.theme.bolder-red': 'Tmavější červená',
|
|
99
|
+
'fabric.theme.bolder-teal': 'Tmavější modrozelená',
|
|
100
|
+
'fabric.theme.bolder-yellow': 'Tmavější žlutá',
|
|
79
101
|
'fabric.theme.dark-blue': 'Dark blue',
|
|
102
|
+
'fabric.theme.dark-gray': 'Tmavě šedá',
|
|
80
103
|
'fabric.theme.dark-green': 'Dark green',
|
|
81
104
|
'fabric.theme.dark-purple': 'Dark purple',
|
|
82
105
|
'fabric.theme.dark-red': 'Dark red',
|
|
83
106
|
'fabric.theme.dark-teal': 'Dark teal',
|
|
84
107
|
'fabric.theme.dark-yellow': 'Dark yellow',
|
|
108
|
+
'fabric.theme.default': 'Výchozí',
|
|
85
109
|
'fabric.theme.gray': 'Gray',
|
|
86
110
|
'fabric.theme.green': 'Green',
|
|
87
111
|
'fabric.theme.light-blue': 'Light blue',
|
|
@@ -91,9 +115,19 @@ export default {
|
|
|
91
115
|
'fabric.theme.light-red': 'Light red',
|
|
92
116
|
'fabric.theme.light-teal': 'Light teal',
|
|
93
117
|
'fabric.theme.light-yellow': 'Light yellow',
|
|
118
|
+
'fabric.theme.magenta': 'Purpurová',
|
|
94
119
|
'fabric.theme.orange': 'Orange',
|
|
95
120
|
'fabric.theme.purple': 'Purple',
|
|
96
121
|
'fabric.theme.red': 'Red',
|
|
122
|
+
'fabric.theme.subtle-blue': 'Jemně modrá',
|
|
123
|
+
'fabric.theme.subtle-gray': 'Jemně šedá',
|
|
124
|
+
'fabric.theme.subtle-green': 'Jemně zelená',
|
|
125
|
+
'fabric.theme.subtle-magenta': 'Jemně purpurová',
|
|
126
|
+
'fabric.theme.subtle-orange': 'Jemně oranžová',
|
|
127
|
+
'fabric.theme.subtle-purple': 'Jemně fialová',
|
|
128
|
+
'fabric.theme.subtle-red': 'Jemně červená',
|
|
129
|
+
'fabric.theme.subtle-teal': 'Jemně šedozelená',
|
|
130
|
+
'fabric.theme.subtle-yellow': 'Jemně žlutá',
|
|
97
131
|
'fabric.theme.teal': 'Teal',
|
|
98
132
|
'fabric.theme.white': 'White',
|
|
99
133
|
'fabric.theme.yellow': 'Yellow'
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
@@ -8,6 +9,7 @@
|
|
|
8
9
|
export default {
|
|
9
10
|
'fabric.editor.action': 'Handlingsgenstand',
|
|
10
11
|
'fabric.editor.action.description': 'Opret og tildel handlingsgenstande',
|
|
12
|
+
'fabric.editor.addMediaFiles': 'Tilføj billede, video eller fil',
|
|
11
13
|
'fabric.editor.alignImageCenter': 'Centrér',
|
|
12
14
|
'fabric.editor.alignImageLeft': 'Venstrejustér',
|
|
13
15
|
'fabric.editor.alignImageRight': 'Højrejustér',
|
|
@@ -17,6 +19,8 @@ export default {
|
|
|
17
19
|
'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
|
|
18
20
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Kopieret!',
|
|
19
21
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Kopiér som tekst',
|
|
22
|
+
'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': 'Slå ombrydning fra',
|
|
23
|
+
'fabric.editor.codeBlockWrapButton.wrapCodeBlock': 'Slå ombrydning til',
|
|
20
24
|
'fabric.editor.collapseNode': 'skjul indhold',
|
|
21
25
|
'fabric.editor.columns': 'Layout',
|
|
22
26
|
'fabric.editor.columns.description': 'Opdel din side i afsnit',
|
|
@@ -36,8 +40,6 @@ export default {
|
|
|
36
40
|
'fabric.editor.expandPlaceholder': 'Giv denne udvidelse en titel...',
|
|
37
41
|
'fabric.editor.feedbackDialog': 'Giv feedback',
|
|
38
42
|
'fabric.editor.feedbackDialog.description': 'Fortæl os om din oplevelse med den nye editor.',
|
|
39
|
-
'fabric.editor.filesAndImages': 'Filer og billeder',
|
|
40
|
-
'fabric.editor.filesAndImages.description': 'Tilføj billeder eller andre filer til din side',
|
|
41
43
|
'fabric.editor.help': 'Hjælp',
|
|
42
44
|
'fabric.editor.help.description': 'Se alle tastaturgenveje og Markdown-muligheder',
|
|
43
45
|
'fabric.editor.horizontalRule': 'Rumdeler',
|
|
@@ -49,6 +51,8 @@ export default {
|
|
|
49
51
|
'fabric.editor.layoutWide': 'Vis bred',
|
|
50
52
|
'fabric.editor.link': 'Link',
|
|
51
53
|
'fabric.editor.link.description': 'Indsæt et link',
|
|
54
|
+
'fabric.editor.mediaFiles': 'Billede, video eller fil',
|
|
55
|
+
'fabric.editor.mediaFiles.description': 'Tilføj billeder eller andre filer til din side',
|
|
52
56
|
'fabric.editor.mention': 'Benævnelse',
|
|
53
57
|
'fabric.editor.mention.description': 'Omtal nogen for at sende dem en notifikation',
|
|
54
58
|
'fabric.editor.openLink': 'Åbn link i en nye fane',
|
|
@@ -76,12 +80,32 @@ export default {
|
|
|
76
80
|
'fabric.editor.viewMore': 'Vis mere',
|
|
77
81
|
'fabric.editor.visit': 'Åbn link i et nyt vindue',
|
|
78
82
|
'fabric.theme.blue': 'Blue',
|
|
83
|
+
'fabric.theme.bold-blue': 'Mørkeblå',
|
|
84
|
+
'fabric.theme.bold-gray': 'Stærk grå',
|
|
85
|
+
'fabric.theme.bold-green': 'Mørkegrøn',
|
|
86
|
+
'fabric.theme.bold-magenta': 'Mørk magenta',
|
|
87
|
+
'fabric.theme.bold-orange': 'Mørk orange',
|
|
88
|
+
'fabric.theme.bold-purple': 'Mørk lilla',
|
|
89
|
+
'fabric.theme.bold-red': 'Mørkerød',
|
|
90
|
+
'fabric.theme.bold-teal': 'Mørk turkis',
|
|
91
|
+
'fabric.theme.bold-yellow': 'Stærk gul',
|
|
92
|
+
'fabric.theme.bolder-blue': 'Mørkere blå',
|
|
93
|
+
'fabric.theme.bolder-gray': 'Mørkere grå',
|
|
94
|
+
'fabric.theme.bolder-green': 'Mørkere grøn',
|
|
95
|
+
'fabric.theme.bolder-magenta': 'Mørkere magenta',
|
|
96
|
+
'fabric.theme.bolder-orange': 'Mørkere orange',
|
|
97
|
+
'fabric.theme.bolder-purple': 'Mørkere lilla',
|
|
98
|
+
'fabric.theme.bolder-red': 'Mørkere rød',
|
|
99
|
+
'fabric.theme.bolder-teal': 'Mørkere turkis',
|
|
100
|
+
'fabric.theme.bolder-yellow': 'Mørkere gul',
|
|
79
101
|
'fabric.theme.dark-blue': 'Dark blue',
|
|
102
|
+
'fabric.theme.dark-gray': 'Mørkegrå',
|
|
80
103
|
'fabric.theme.dark-green': 'Dark green',
|
|
81
104
|
'fabric.theme.dark-purple': 'Dark purple',
|
|
82
105
|
'fabric.theme.dark-red': 'Dark red',
|
|
83
106
|
'fabric.theme.dark-teal': 'Dark teal',
|
|
84
107
|
'fabric.theme.dark-yellow': 'Dark yellow',
|
|
108
|
+
'fabric.theme.default': 'Standard',
|
|
85
109
|
'fabric.theme.gray': 'Gray',
|
|
86
110
|
'fabric.theme.green': 'Green',
|
|
87
111
|
'fabric.theme.light-blue': 'Light blue',
|
|
@@ -91,9 +115,19 @@ export default {
|
|
|
91
115
|
'fabric.theme.light-red': 'Light red',
|
|
92
116
|
'fabric.theme.light-teal': 'Light teal',
|
|
93
117
|
'fabric.theme.light-yellow': 'Light yellow',
|
|
118
|
+
'fabric.theme.magenta': 'Magenta',
|
|
94
119
|
'fabric.theme.orange': 'Orange',
|
|
95
120
|
'fabric.theme.purple': 'Purple',
|
|
96
121
|
'fabric.theme.red': 'Red',
|
|
122
|
+
'fabric.theme.subtle-blue': 'Lyseblå',
|
|
123
|
+
'fabric.theme.subtle-gray': 'Lys grå',
|
|
124
|
+
'fabric.theme.subtle-green': 'Lysegrøn',
|
|
125
|
+
'fabric.theme.subtle-magenta': 'Lysere magenta',
|
|
126
|
+
'fabric.theme.subtle-orange': 'Lysere orange',
|
|
127
|
+
'fabric.theme.subtle-purple': 'Lys lilla',
|
|
128
|
+
'fabric.theme.subtle-red': 'Lyserød',
|
|
129
|
+
'fabric.theme.subtle-teal': 'Lys turkis',
|
|
130
|
+
'fabric.theme.subtle-yellow': 'Lysegul',
|
|
97
131
|
'fabric.theme.teal': 'Teal',
|
|
98
132
|
'fabric.theme.white': 'White',
|
|
99
133
|
'fabric.theme.yellow': 'Yellow'
|