@atlaskit/mention 22.0.1 → 22.1.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 (165) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/_constants/package.json +2 -2
  3. package/dist/cjs/api/MentionNameResolver.js +0 -2
  4. package/dist/cjs/api/MentionResource.js +113 -122
  5. package/dist/cjs/api/PresenceResource.js +1 -1
  6. package/dist/cjs/api/TeamMentionResource.js +102 -109
  7. package/dist/cjs/api/analytics.js +4 -4
  8. package/dist/cjs/components/LockCircleIcon/index.js +1 -1
  9. package/dist/cjs/components/MentionItem/index.js +2 -1
  10. package/dist/cjs/components/MentionList/index.js +1 -2
  11. package/dist/cjs/components/MentionPicker/index.js +8 -10
  12. package/dist/cjs/components/NoAccessTooltip/index.js +1 -1
  13. package/dist/cjs/components/ResourcedMentionList/index.js +2 -4
  14. package/dist/cjs/components/Scrollable/index.js +2 -1
  15. package/dist/cjs/i18n/cs.js +11 -15
  16. package/dist/cjs/i18n/da.js +11 -15
  17. package/dist/cjs/i18n/de.js +11 -15
  18. package/dist/cjs/i18n/en.js +11 -15
  19. package/dist/cjs/i18n/en_GB.js +11 -15
  20. package/dist/cjs/i18n/es.js +11 -15
  21. package/dist/cjs/i18n/fi.js +11 -15
  22. package/dist/cjs/i18n/fr.js +11 -15
  23. package/dist/cjs/i18n/hu.js +11 -15
  24. package/dist/cjs/i18n/it.js +11 -15
  25. package/dist/cjs/i18n/ja.js +11 -15
  26. package/dist/cjs/i18n/ko.js +11 -15
  27. package/dist/cjs/i18n/nb.js +11 -15
  28. package/dist/cjs/i18n/nl.js +11 -15
  29. package/dist/cjs/i18n/pl.js +11 -15
  30. package/dist/cjs/i18n/pt_BR.js +11 -15
  31. package/dist/cjs/i18n/ru.js +11 -15
  32. package/dist/cjs/i18n/sv.js +11 -15
  33. package/dist/cjs/i18n/th.js +11 -15
  34. package/dist/cjs/i18n/tr.js +11 -15
  35. package/dist/cjs/i18n/uk.js +11 -15
  36. package/dist/cjs/i18n/vi.js +11 -15
  37. package/dist/cjs/i18n/zh.js +11 -15
  38. package/dist/cjs/i18n/zh_TW.js +11 -15
  39. package/dist/cjs/types.js +16 -16
  40. package/dist/cjs/util/analytics.js +12 -12
  41. package/dist/cjs/util/i18n.js +197 -199
  42. package/dist/cjs/version.json +1 -1
  43. package/dist/es2019/api/MentionNameResolver.js +0 -2
  44. package/dist/es2019/api/analytics.js +3 -3
  45. package/dist/es2019/components/MentionItem/index.js +2 -1
  46. package/dist/es2019/components/MentionList/index.js +1 -2
  47. package/dist/es2019/components/MentionPicker/index.js +8 -11
  48. package/dist/es2019/components/ResourcedMentionList/index.js +2 -6
  49. package/dist/es2019/components/Scrollable/index.js +2 -1
  50. package/dist/es2019/i18n/cs.js +11 -15
  51. package/dist/es2019/i18n/da.js +11 -15
  52. package/dist/es2019/i18n/de.js +11 -15
  53. package/dist/es2019/i18n/en.js +11 -15
  54. package/dist/es2019/i18n/en_GB.js +11 -15
  55. package/dist/es2019/i18n/es.js +11 -15
  56. package/dist/es2019/i18n/fi.js +11 -15
  57. package/dist/es2019/i18n/fr.js +11 -15
  58. package/dist/es2019/i18n/hu.js +11 -15
  59. package/dist/es2019/i18n/it.js +11 -15
  60. package/dist/es2019/i18n/ja.js +11 -15
  61. package/dist/es2019/i18n/ko.js +11 -15
  62. package/dist/es2019/i18n/nb.js +11 -15
  63. package/dist/es2019/i18n/nl.js +11 -15
  64. package/dist/es2019/i18n/pl.js +11 -15
  65. package/dist/es2019/i18n/pt_BR.js +11 -15
  66. package/dist/es2019/i18n/ru.js +11 -15
  67. package/dist/es2019/i18n/sv.js +11 -15
  68. package/dist/es2019/i18n/th.js +11 -15
  69. package/dist/es2019/i18n/tr.js +11 -15
  70. package/dist/es2019/i18n/uk.js +11 -15
  71. package/dist/es2019/i18n/vi.js +11 -15
  72. package/dist/es2019/i18n/zh.js +11 -15
  73. package/dist/es2019/i18n/zh_TW.js +11 -15
  74. package/dist/es2019/types.js +12 -12
  75. package/dist/es2019/util/analytics.js +9 -9
  76. package/dist/es2019/version.json +1 -1
  77. package/dist/esm/api/MentionNameResolver.js +0 -2
  78. package/dist/esm/api/MentionResource.js +113 -122
  79. package/dist/esm/api/PresenceResource.js +1 -1
  80. package/dist/esm/api/TeamMentionResource.js +102 -109
  81. package/dist/esm/api/analytics.js +3 -3
  82. package/dist/esm/components/MentionItem/index.js +2 -1
  83. package/dist/esm/components/MentionList/index.js +1 -2
  84. package/dist/esm/components/MentionPicker/index.js +8 -10
  85. package/dist/esm/components/ResourcedMentionList/index.js +2 -4
  86. package/dist/esm/components/Scrollable/index.js +2 -1
  87. package/dist/esm/i18n/cs.js +11 -15
  88. package/dist/esm/i18n/da.js +11 -15
  89. package/dist/esm/i18n/de.js +11 -15
  90. package/dist/esm/i18n/en.js +11 -15
  91. package/dist/esm/i18n/en_GB.js +11 -15
  92. package/dist/esm/i18n/es.js +11 -15
  93. package/dist/esm/i18n/fi.js +11 -15
  94. package/dist/esm/i18n/fr.js +11 -15
  95. package/dist/esm/i18n/hu.js +11 -15
  96. package/dist/esm/i18n/it.js +11 -15
  97. package/dist/esm/i18n/ja.js +11 -15
  98. package/dist/esm/i18n/ko.js +11 -15
  99. package/dist/esm/i18n/nb.js +11 -15
  100. package/dist/esm/i18n/nl.js +11 -15
  101. package/dist/esm/i18n/pl.js +11 -15
  102. package/dist/esm/i18n/pt_BR.js +11 -15
  103. package/dist/esm/i18n/ru.js +11 -15
  104. package/dist/esm/i18n/sv.js +11 -15
  105. package/dist/esm/i18n/th.js +11 -15
  106. package/dist/esm/i18n/tr.js +11 -15
  107. package/dist/esm/i18n/uk.js +11 -15
  108. package/dist/esm/i18n/vi.js +11 -15
  109. package/dist/esm/i18n/zh.js +11 -15
  110. package/dist/esm/i18n/zh_TW.js +11 -15
  111. package/dist/esm/types.js +12 -12
  112. package/dist/esm/util/analytics.js +9 -9
  113. package/dist/esm/util/i18n.js +137 -140
  114. package/dist/esm/version.json +1 -1
  115. package/dist/types/api/ContextMentionResource.d.ts +1 -1
  116. package/dist/types/api/analytics.d.ts +2 -2
  117. package/dist/types/components/Mention/index.d.ts +3 -3
  118. package/dist/types/components/MentionList/index.d.ts +2 -2
  119. package/dist/types/components/MentionPicker/index.d.ts +4 -4
  120. package/dist/types/components/NoAccessTooltip/main.d.ts +1 -1
  121. package/dist/types/components/ResourcedMentionList/index.d.ts +3 -3
  122. package/dist/types/config/index.d.ts +2 -2
  123. package/dist/types/i18n/cs.d.ts +13 -17
  124. package/dist/types/i18n/da.d.ts +13 -17
  125. package/dist/types/i18n/de.d.ts +13 -17
  126. package/dist/types/i18n/en.d.ts +13 -17
  127. package/dist/types/i18n/en_GB.d.ts +13 -17
  128. package/dist/types/i18n/en_ZZ.d.ts +6 -6
  129. package/dist/types/i18n/es.d.ts +13 -17
  130. package/dist/types/i18n/et.d.ts +6 -6
  131. package/dist/types/i18n/fi.d.ts +13 -17
  132. package/dist/types/i18n/fr.d.ts +13 -17
  133. package/dist/types/i18n/hu.d.ts +13 -17
  134. package/dist/types/i18n/is.d.ts +6 -6
  135. package/dist/types/i18n/it.d.ts +13 -17
  136. package/dist/types/i18n/ja.d.ts +13 -17
  137. package/dist/types/i18n/ko.d.ts +13 -17
  138. package/dist/types/i18n/languages.d.ts +6 -6
  139. package/dist/types/i18n/nb.d.ts +13 -17
  140. package/dist/types/i18n/nl.d.ts +13 -17
  141. package/dist/types/i18n/pl.d.ts +13 -17
  142. package/dist/types/i18n/pt_BR.d.ts +13 -17
  143. package/dist/types/i18n/pt_PT.d.ts +6 -6
  144. package/dist/types/i18n/ro.d.ts +6 -6
  145. package/dist/types/i18n/ru.d.ts +13 -17
  146. package/dist/types/i18n/sk.d.ts +6 -6
  147. package/dist/types/i18n/sv.d.ts +13 -17
  148. package/dist/types/i18n/th.d.ts +13 -17
  149. package/dist/types/i18n/tr.d.ts +13 -17
  150. package/dist/types/i18n/uk.d.ts +13 -17
  151. package/dist/types/i18n/vi.d.ts +13 -17
  152. package/dist/types/i18n/zh.d.ts +13 -17
  153. package/dist/types/i18n/zh_TW.d.ts +13 -17
  154. package/dist/types/types.d.ts +7 -7
  155. package/dist/types/util/analytics.d.ts +3 -3
  156. package/dist/types/util/i18n.d.ts +2 -2
  157. package/element/package.json +2 -2
  158. package/i18n/package.json +2 -2
  159. package/item/package.json +2 -2
  160. package/package.json +28 -20
  161. package/resource/package.json +2 -2
  162. package/shared-styles/package.json +2 -2
  163. package/team-resource/package.json +2 -2
  164. package/typeahead/package.json +2 -2
  165. package/types/package.json +2 -2
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _typeof = require("@babel/runtime/helpers/typeof");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
7
6
  });
8
7
  exports.default = void 0;
8
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
9
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
10
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
11
11
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
@@ -23,7 +23,6 @@ var _MentionResource2 = _interopRequireDefault(require("./MentionResource"));
23
23
  var _logger = _interopRequireDefault(require("../util/logger"));
24
24
  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; }
25
25
  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) { (0, _defineProperty2.default)(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; }
26
- 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; }
27
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
28
27
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
29
28
  var MAX_QUERY_TEAMS = 20;
@@ -69,25 +68,23 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
69
68
  }, {
70
69
  key: "remoteInitialStateTeamAndUsers",
71
70
  value: function () {
72
- var _remoteInitialStateTeamAndUsers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(contextIdentifier) {
71
+ var _remoteInitialStateTeamAndUsers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(contextIdentifier) {
73
72
  var emptyQuery, getUserPromise, queryParams, options, getTeamsPromise;
74
- return _regeneratorRuntime().wrap(function _callee$(_context) {
75
- while (1) {
76
- switch (_context.prev = _context.next) {
77
- case 0:
78
- emptyQuery = '';
79
- getUserPromise = (0, _get2.default)((0, _getPrototypeOf2.default)(TeamMentionResource.prototype), "remoteInitialState", this).call(this, contextIdentifier);
80
- queryParams = this.getQueryParamsOfTeamMentionConfig(contextIdentifier);
81
- options = {
82
- path: 'bootstrap',
83
- queryParams: queryParams
84
- };
85
- getTeamsPromise = _utilServiceSupport.utils.requestService(this.teamMentionConfig, options);
86
- this.handleBothRequests(emptyQuery, getUserPromise, getTeamsPromise);
87
- case 6:
88
- case "end":
89
- return _context.stop();
90
- }
73
+ return _regenerator.default.wrap(function _callee$(_context) {
74
+ while (1) switch (_context.prev = _context.next) {
75
+ case 0:
76
+ emptyQuery = '';
77
+ getUserPromise = (0, _get2.default)((0, _getPrototypeOf2.default)(TeamMentionResource.prototype), "remoteInitialState", this).call(this, contextIdentifier);
78
+ queryParams = this.getQueryParamsOfTeamMentionConfig(contextIdentifier);
79
+ options = {
80
+ path: 'bootstrap',
81
+ queryParams: queryParams
82
+ };
83
+ getTeamsPromise = _utilServiceSupport.utils.requestService(this.teamMentionConfig, options);
84
+ this.handleBothRequests(emptyQuery, getUserPromise, getTeamsPromise);
85
+ case 6:
86
+ case "end":
87
+ return _context.stop();
91
88
  }
92
89
  }, _callee, this);
93
90
  }));
@@ -106,74 +103,72 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
106
103
  }, {
107
104
  key: "handleBothRequests",
108
105
  value: function () {
109
- var _handleBothRequests = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(query, userRequest, teamRequest) {
106
+ var _handleBothRequests = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(query, userRequest, teamRequest) {
110
107
  var _this2 = this;
111
108
  var searchTime, accumulatedResults, notifyWhenOneRequestDone, userResults, userRequestError, teamRequestError, teamsResult;
112
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
113
- while (1) {
114
- switch (_context2.prev = _context2.next) {
115
- case 0:
116
- searchTime = Date.now();
109
+ return _regenerator.default.wrap(function _callee2$(_context2) {
110
+ while (1) switch (_context2.prev = _context2.next) {
111
+ case 0:
112
+ searchTime = Date.now();
113
+ accumulatedResults = {
114
+ mentions: [],
115
+ query: query
116
+ };
117
+ notifyWhenOneRequestDone = function notifyWhenOneRequestDone(results, hasTeamResults) {
118
+ // just update UI for the last query string
119
+ if (query !== _this2.lastSearchQuery) {
120
+ return;
121
+ }
117
122
  accumulatedResults = {
118
- mentions: [],
123
+ mentions: [].concat((0, _toConsumableArray2.default)(accumulatedResults.mentions), (0, _toConsumableArray2.default)(results.mentions)),
119
124
  query: query
120
125
  };
121
- notifyWhenOneRequestDone = function notifyWhenOneRequestDone(results, hasTeamResults) {
122
- // just update UI for the last query string
123
- if (query !== _this2.lastSearchQuery) {
124
- return;
125
- }
126
- accumulatedResults = {
127
- mentions: [].concat((0, _toConsumableArray2.default)(accumulatedResults.mentions), (0, _toConsumableArray2.default)(results.mentions)),
128
- query: query
129
- };
130
126
 
131
- // we need to calculate different `duration` for user and team request.
132
- if (hasTeamResults) {
133
- _this2.notify(searchTime, accumulatedResults, query);
134
- } else {
135
- (0, _get2.default)((0, _getPrototypeOf2.default)(TeamMentionResource.prototype), "notify", _this2).call(_this2, searchTime, accumulatedResults, query);
136
- }
137
- };
138
- userRequestError = null;
139
- teamRequestError = null;
140
- _context2.prev = 5;
141
- _context2.next = 8;
142
- return userRequest;
143
- case 8:
144
- userResults = _context2.sent;
145
- notifyWhenOneRequestDone(userResults, false);
146
- _context2.next = 15;
147
- break;
148
- case 12:
149
- _context2.prev = 12;
150
- _context2.t0 = _context2["catch"](5);
151
- userRequestError = _context2.t0;
152
- case 15:
153
- _context2.prev = 15;
154
- _context2.next = 18;
155
- return teamRequest;
156
- case 18:
157
- teamsResult = _context2.sent;
158
- // update search time after team results returns
159
- notifyWhenOneRequestDone(Array.isArray(teamsResult) ? this.convertTeamResultToMentionResult(teamsResult, query) : teamsResult, true);
160
- _context2.next = 25;
161
- break;
162
- case 22:
163
- _context2.prev = 22;
164
- _context2.t1 = _context2["catch"](15);
165
- teamRequestError = _context2.t1;
166
- case 25:
167
- // both requests fail, show one of errors in UI
168
- if (userRequestError && teamRequestError) {
169
- this.notifyError(userRequestError, query);
170
- (0, _logger.default)('User mention request fails. ', userRequestError);
171
- (0, _logger.default)('Team mention request fails. ', teamRequestError);
127
+ // we need to calculate different `duration` for user and team request.
128
+ if (hasTeamResults) {
129
+ _this2.notify(searchTime, accumulatedResults, query);
130
+ } else {
131
+ (0, _get2.default)((0, _getPrototypeOf2.default)(TeamMentionResource.prototype), "notify", _this2).call(_this2, searchTime, accumulatedResults, query);
172
132
  }
173
- case 26:
174
- case "end":
175
- return _context2.stop();
176
- }
133
+ };
134
+ userRequestError = null;
135
+ teamRequestError = null;
136
+ _context2.prev = 5;
137
+ _context2.next = 8;
138
+ return userRequest;
139
+ case 8:
140
+ userResults = _context2.sent;
141
+ notifyWhenOneRequestDone(userResults, false);
142
+ _context2.next = 15;
143
+ break;
144
+ case 12:
145
+ _context2.prev = 12;
146
+ _context2.t0 = _context2["catch"](5);
147
+ userRequestError = _context2.t0;
148
+ case 15:
149
+ _context2.prev = 15;
150
+ _context2.next = 18;
151
+ return teamRequest;
152
+ case 18:
153
+ teamsResult = _context2.sent;
154
+ // update search time after team results returns
155
+ notifyWhenOneRequestDone(Array.isArray(teamsResult) ? this.convertTeamResultToMentionResult(teamsResult, query) : teamsResult, true);
156
+ _context2.next = 25;
157
+ break;
158
+ case 22:
159
+ _context2.prev = 22;
160
+ _context2.t1 = _context2["catch"](15);
161
+ teamRequestError = _context2.t1;
162
+ case 25:
163
+ // both requests fail, show one of errors in UI
164
+ if (userRequestError && teamRequestError) {
165
+ this.notifyError(userRequestError, query);
166
+ (0, _logger.default)('User mention request fails. ', userRequestError);
167
+ (0, _logger.default)('Team mention request fails. ', teamRequestError);
168
+ }
169
+ case 26:
170
+ case "end":
171
+ return _context2.stop();
177
172
  }
178
173
  }, _callee2, this, [[5, 12], [15, 22]]);
179
174
  }));
@@ -219,35 +214,33 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
219
214
  }, {
220
215
  key: "remoteTeamSearch",
221
216
  value: function () {
222
- var _remoteTeamSearch = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(query, contextIdentifier) {
217
+ var _remoteTeamSearch = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(query, contextIdentifier) {
223
218
  var options, teamResult;
224
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
225
- while (1) {
226
- switch (_context3.prev = _context3.next) {
227
- case 0:
228
- options = {
229
- path: 'search',
230
- queryParams: _objectSpread({
231
- query: query,
232
- limit: MAX_QUERY_TEAMS
233
- }, this.getQueryParamsOfTeamMentionConfig(contextIdentifier))
234
- };
235
- _context3.prev = 1;
236
- _context3.next = 4;
237
- return _utilServiceSupport.utils.requestService(this.teamMentionConfig, options);
238
- case 4:
239
- teamResult = _context3.sent;
240
- this._notifyAnalyticsListeners(_analytics.SLI_EVENT_TYPE, _analytics.SliNames.SEARCH_TEAM, _analytics.Actions.SUCCEEDED);
241
- return _context3.abrupt("return", this.convertTeamResultToMentionResult(teamResult, query));
242
- case 9:
243
- _context3.prev = 9;
244
- _context3.t0 = _context3["catch"](1);
245
- this._notifyAnalyticsListeners(_analytics.SLI_EVENT_TYPE, _analytics.SliNames.SEARCH_TEAM, _analytics.Actions.FAILED);
246
- throw _context3.t0;
247
- case 13:
248
- case "end":
249
- return _context3.stop();
250
- }
219
+ return _regenerator.default.wrap(function _callee3$(_context3) {
220
+ while (1) switch (_context3.prev = _context3.next) {
221
+ case 0:
222
+ options = {
223
+ path: 'search',
224
+ queryParams: _objectSpread({
225
+ query: query,
226
+ limit: MAX_QUERY_TEAMS
227
+ }, this.getQueryParamsOfTeamMentionConfig(contextIdentifier))
228
+ };
229
+ _context3.prev = 1;
230
+ _context3.next = 4;
231
+ return _utilServiceSupport.utils.requestService(this.teamMentionConfig, options);
232
+ case 4:
233
+ teamResult = _context3.sent;
234
+ this._notifyAnalyticsListeners(_analytics.SLI_EVENT_TYPE, _analytics.SliNames.SEARCH_TEAM, _analytics.Actions.SUCCEEDED);
235
+ return _context3.abrupt("return", this.convertTeamResultToMentionResult(teamResult, query));
236
+ case 9:
237
+ _context3.prev = 9;
238
+ _context3.t0 = _context3["catch"](1);
239
+ this._notifyAnalyticsListeners(_analytics.SLI_EVENT_TYPE, _analytics.SliNames.SEARCH_TEAM, _analytics.Actions.FAILED);
240
+ throw _context3.t0;
241
+ case 13:
242
+ case "end":
243
+ return _context3.stop();
251
244
  }
252
245
  }, _callee3, this, [[1, 9]]);
253
246
  }));
@@ -6,15 +6,15 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.defaultAttributes = exports.SMART_EVENT_TYPE = exports.Actions = void 0;
7
7
  var SMART_EVENT_TYPE = 'smart';
8
8
  exports.SMART_EVENT_TYPE = SMART_EVENT_TYPE;
9
- var Actions;
10
- exports.Actions = Actions;
11
- (function (Actions) {
9
+ var Actions = /*#__PURE__*/function (Actions) {
12
10
  Actions["REQUESTED"] = "requested";
13
11
  Actions["SUCCESSFUL"] = "successful";
14
12
  Actions["SEARCHED"] = "searched";
15
13
  Actions["FAILED"] = "failed";
16
14
  Actions["SELECTED"] = "selected";
17
- })(Actions || (exports.Actions = Actions = {}));
15
+ return Actions;
16
+ }({});
17
+ exports.Actions = Actions;
18
18
  var defaultAttributes = function defaultAttributes(context) {
19
19
  return {
20
20
  context: (context === null || context === void 0 ? void 0 : context.objectId) || '',
@@ -11,7 +11,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
11
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || (0, _typeof2.default)(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
12
  var AsyncLockCircleIcon = /*#__PURE__*/(0, _react.lazy)(function () {
13
13
  return Promise.resolve().then(function () {
14
- return _interopRequireWildcard(require('@atlaskit/icon/glyph/lock-circle'));
14
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_mention/LockCircleIcon" */'@atlaskit/icon/glyph/lock-circle'));
15
15
  }).then(function (module) {
16
16
  return {
17
17
  default: module.default
@@ -63,6 +63,7 @@ var MentionItem = /*#__PURE__*/function (_React$PureComponent) {
63
63
  args[_key] = arguments[_key];
64
64
  }
65
65
  _this = _super.call.apply(_super, [this].concat(args));
66
+ // internal, used for callbacks
66
67
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "onMentionSelected", function (event) {
67
68
  if ((0, _mouse.leftClick)(event) && _this.props.onSelection) {
68
69
  event.preventDefault();
@@ -80,7 +81,7 @@ var MentionItem = /*#__PURE__*/function (_React$PureComponent) {
80
81
  }
81
82
  });
82
83
  return _this;
83
- } // internal, used for callbacks
84
+ }
84
85
  (0, _createClass2.default)(MentionItem, [{
85
86
  key: "render",
86
87
  value: function render() {
@@ -53,6 +53,7 @@ var MentionList = /*#__PURE__*/function (_React$PureComponent) {
53
53
  var _this;
54
54
  (0, _classCallCheck2.default)(this, MentionList);
55
55
  _this = _super.call(this, props);
56
+ // API
56
57
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "selectNext", function () {
57
58
  var newIndex = wrapIndex(_this.props.mentions, _this.state.selectedIndex + 1);
58
59
  _this.selectIndex(newIndex);
@@ -150,8 +151,6 @@ var MentionList = /*#__PURE__*/function (_React$PureComponent) {
150
151
  // integration tests. Will remove / fix once known
151
152
  // emit(elem, mentionListRenderedEvent);
152
153
  }
153
-
154
- // API
155
154
  }, {
156
155
  key: "revealItem",
157
156
  value:
@@ -64,6 +64,13 @@ var MentionPicker = /*#__PURE__*/function (_React$PureComponent) {
64
64
  }
65
65
  return 0;
66
66
  });
67
+ /**
68
+ * Called after the 'visible' state is changed to decide whether the onOpen or onClose
69
+ * handlers should be called.
70
+ *
71
+ * It should be noted that the visible state of the component is not considered in
72
+ * this function. Instead the old state and new state should be passed as parameters.
73
+ */
67
74
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "onFilterVisibilityChange", function (oldVisibility, newVisibility) {
68
75
  if (oldVisibility !== newVisibility) {
69
76
  if (newVisibility) {
@@ -77,6 +84,7 @@ var MentionPicker = /*#__PURE__*/function (_React$PureComponent) {
77
84
  }
78
85
  }
79
86
  });
87
+ // internal, used for callbacks
80
88
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "filterChange", function (mentions, query, stats) {
81
89
  (0, _logger.default)('ak-mention-picker.filterChange', mentions.length);
82
90
  var wasVisible = _this.state.visible;
@@ -158,16 +166,6 @@ var MentionPicker = /*#__PURE__*/function (_React$PureComponent) {
158
166
  resourceProvider.unsubscribe(this.subscriberKey);
159
167
  }
160
168
  }
161
-
162
- /**
163
- * Called after the 'visible' state is changed to decide whether the onOpen or onClose
164
- * handlers should be called.
165
- *
166
- * It should be noted that the visible state of the component is not considered in
167
- * this function. Instead the old state and new state should be passed as parameters.
168
- */
169
-
170
- // internal, used for callbacks
171
169
  }, {
172
170
  key: "render",
173
171
  value: function render() {
@@ -11,7 +11,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
11
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || (0, _typeof2.default)(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
12
  var AsyncNoAccessTooltip = /*#__PURE__*/_react.default.lazy(function () {
13
13
  return Promise.resolve().then(function () {
14
- return _interopRequireWildcard(require('./main'));
14
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_@atlaskit/mention/no-access-tooltip" */'./main'));
15
15
  }).then(function (module) {
16
16
  return {
17
17
  default: module.NoAccessTooltip
@@ -52,6 +52,7 @@ var ResourcedMentionListWithoutAnalytics = /*#__PURE__*/function (_React$PureCom
52
52
  var _this;
53
53
  (0, _classCallCheck2.default)(this, ResourcedMentionListWithoutAnalytics);
54
54
  _this = _super.call(this, props);
55
+ // API
55
56
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "selectNext", function () {
56
57
  if (_this.mentionListRef) {
57
58
  _this.mentionListRef.selectNext();
@@ -83,6 +84,7 @@ var ResourcedMentionListWithoutAnalytics = /*#__PURE__*/function (_React$PureCom
83
84
  }
84
85
  return 0;
85
86
  });
87
+ // internal, used for callbacks
86
88
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "filterChange", function (mentions) {
87
89
  // Retain known presence
88
90
  var currentPresences = extractPresences(_this.state.mentions);
@@ -142,8 +144,6 @@ var ResourcedMentionListWithoutAnalytics = /*#__PURE__*/function (_React$PureCom
142
144
  this.unsubscribeMentionProvider(this.props.resourceProvider);
143
145
  this.unsubscribePresenceProvider(this.props.presenceProvider);
144
146
  }
145
-
146
- // API
147
147
  }, {
148
148
  key: "subscribeMentionProvider",
149
149
  value:
@@ -213,8 +213,6 @@ var ResourcedMentionListWithoutAnalytics = /*#__PURE__*/function (_React$PureCom
213
213
  this.props.presenceProvider.refreshPresence(ids);
214
214
  }
215
215
  }
216
-
217
- // internal, used for callbacks
218
216
  }, {
219
217
  key: "render",
220
218
  value: function render() {
@@ -27,6 +27,7 @@ var Scrollable = /*#__PURE__*/function (_React$PureComponent) {
27
27
  args[_key] = arguments[_key];
28
28
  }
29
29
  _this = _super.call.apply(_super, [this].concat(args));
30
+ // API
30
31
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "reveal", function (child) {
31
32
  if (child && _this.scrollableDiv) {
32
33
  var childNode = (0, _reactDom.findDOMNode)(child);
@@ -45,7 +46,7 @@ var Scrollable = /*#__PURE__*/function (_React$PureComponent) {
45
46
  _this.scrollableDiv = ref;
46
47
  });
47
48
  return _this;
48
- } // API
49
+ }
49
50
  (0, _createClass2.default)(Scrollable, [{
50
51
  key: "render",
51
52
  value: function render() {
@@ -13,20 +13,16 @@ exports.default = void 0;
13
13
  */
14
14
  //Czech
15
15
  var _default = {
16
- "fabric.elements.mentions.team.meantion.highlight.close.button.tooltip": "Zavřít",
17
- "fabric.elements.mentions.team.member.50plus": "Tým • 50 a více členů",
18
- "fabric.elements.mentions.team.member.50plus.including.you": "Tým • 50 a více členů včetně vás",
19
- "fabric.elements.mentions.team.member.count": "{0, plural, one {Tým • 1 člen} few {Tým • {0} členové} many {Tým • {0} člena} other {Tým • {0} členů}}",
20
- "fabric.elements.mentions.team.member.count.including.you": "{0, plural, one {Tým 1 člen včetně vás} few {Tým • {0} členové včetně vás} many {Tým • {0} člena včetně vás} other {Tým • {0} členů včetně vás}}",
21
- "fabric.elements.mentions.team.mention.highlight.description": "Informujte všechny jedním kliknutím. Nemáte tým?",
22
- "fabric.elements.mentions.team.mention.highlight.description.link": "Zadejte zmínku.",
23
- "fabric.elements.mentions.team.mention.highlight.title": "Zmiňte svůj tým",
24
- "fabric.mention.error.defaultAction": "Zkuste to znovu za pár sekund",
25
- "fabric.mention.error.defaultHeadline": "Něco se pokazilo",
26
- "fabric.mention.error.differentText": "Zkuste zadat jiný text",
27
- "fabric.mention.error.loginAgain": "Zkuste se odhlásit a znovu přihlásit",
28
- "fabric.mention.noAccess.label": "Žádný přístup",
29
- "fabric.mention.noAccess.warning": "Uživatel {name} nebude informován, protože nemá přístup",
30
- "fabric.mention.unknow.user.error": "Neznámý uživatel {userId}"
16
+ 'fabric.elements.mentions.team.member.50plus': 'Tým • 50 a více členů',
17
+ 'fabric.elements.mentions.team.member.50plus.including.you': 'Tým • 50 a více členů včetně vás',
18
+ 'fabric.elements.mentions.team.member.count': '{0, plural, one {Tým • 1 člen} few {Tým • {0} členové} many {Tým • {0} člena} other {Tým • {0} členů}}',
19
+ 'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Tým • 1 člen včetně vás} few {Tým • {0} členové včetně vás} many {Tým • {0} člena včetně vás} other {Tým • {0} členů včetně vás}}',
20
+ 'fabric.mention.error.defaultAction': 'Zkuste to znovu za pár sekund',
21
+ 'fabric.mention.error.defaultHeadline': 'Něco se pokazilo',
22
+ 'fabric.mention.error.differentText': 'Zkuste zadat jiný text',
23
+ 'fabric.mention.error.loginAgain': 'Zkuste se odhlásit a znovu přihlásit',
24
+ 'fabric.mention.noAccess.label': 'Žádný přístup',
25
+ 'fabric.mention.noAccess.warning': 'Uživatel {name} nebude informován, protože nemá přístup',
26
+ 'fabric.mention.unknow.user.error': 'Neznámý uživatel {userId}'
31
27
  };
32
28
  exports.default = _default;
@@ -13,20 +13,16 @@ exports.default = void 0;
13
13
  */
14
14
  //Danish (Denmark)
15
15
  var _default = {
16
- "fabric.elements.mentions.team.meantion.highlight.close.button.tooltip": "Afvis",
17
- "fabric.elements.mentions.team.member.50plus": "Team • Over 50 medlemmer",
18
- "fabric.elements.mentions.team.member.50plus.including.you": "Team • Over 50 medlemmer, inklusive dig",
19
- "fabric.elements.mentions.team.member.count": "{0, plural, one {Team • 1 medlem} other {Team • {0} medlemmer}}",
20
- "fabric.elements.mentions.team.member.count.including.you": "{0, plural, one {Team • 1 medlem, inklusive dig} other {Team • {0} medlemmer, inklusive dig}}",
21
- "fabric.elements.mentions.team.mention.highlight.description": "Få alle med på siden med ét klik. Har du ikke et team?",
22
- "fabric.elements.mentions.team.mention.highlight.description.link": "Så opret et.",
23
- "fabric.elements.mentions.team.mention.highlight.title": "Omtal dit team",
24
- "fabric.mention.error.defaultAction": "Prøv igen om nogle sekunder",
25
- "fabric.mention.error.defaultHeadline": "Noget gik galt",
26
- "fabric.mention.error.differentText": "Prøv at indtaste en anden tekst",
27
- "fabric.mention.error.loginAgain": "Prøv at logge ud og derefter ind igen",
28
- "fabric.mention.noAccess.label": "Ingen adgang",
29
- "fabric.mention.noAccess.warning": "{name} får ikke besked, da personen ikke har adgang",
30
- "fabric.mention.unknow.user.error": "Ukendt bruger {userId}"
16
+ 'fabric.elements.mentions.team.member.50plus': 'Team • Over 50 medlemmer',
17
+ 'fabric.elements.mentions.team.member.50plus.including.you': 'Team • Over 50 medlemmer, inklusive dig',
18
+ 'fabric.elements.mentions.team.member.count': '{0, plural, one {Team • 1 medlem} other {Team • {0} medlemmer}}',
19
+ 'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Team • 1 medlem, inklusive dig} other {Team • {0} medlemmer, inklusive dig}}',
20
+ 'fabric.mention.error.defaultAction': 'Prøv igen om nogle sekunder',
21
+ 'fabric.mention.error.defaultHeadline': 'Noget gik galt',
22
+ 'fabric.mention.error.differentText': 'Prøv at indtaste en anden tekst',
23
+ 'fabric.mention.error.loginAgain': 'Prøv at logge ud og derefter ind igen',
24
+ 'fabric.mention.noAccess.label': 'Ingen adgang',
25
+ 'fabric.mention.noAccess.warning': '{name} får ikke besked, da personen ikke har adgang',
26
+ 'fabric.mention.unknow.user.error': 'Ukendt bruger {userId}'
31
27
  };
32
28
  exports.default = _default;
@@ -13,20 +13,16 @@ exports.default = void 0;
13
13
  */
14
14
  //German (Germany)
15
15
  var _default = {
16
- "fabric.elements.mentions.team.meantion.highlight.close.button.tooltip": "Schließen",
17
- "fabric.elements.mentions.team.member.50plus": "Team • über 50 Mitglieder",
18
- "fabric.elements.mentions.team.member.50plus.including.you": "Team • über 50 Mitglieder, einschließlich Ihnen",
19
- "fabric.elements.mentions.team.member.count": "{0, plural, one {Team • 1 Mitglied} other {Team • {0} Mitglieder}}",
20
- "fabric.elements.mentions.team.member.count.including.you": "{0, plural, one {Team 1 Mitglied, einschließlich Ihnen} other {Team • {0} Mitglieder, einschließlich Ihnen}}",
21
- "fabric.elements.mentions.team.mention.highlight.description": "Holen Sie alle mit einem Klick an Bord. Noch kein Team?",
22
- "fabric.elements.mentions.team.mention.highlight.description.link": "Nehmen Sie die erste Erwähnung vor.",
23
- "fabric.elements.mentions.team.mention.highlight.title": "Erwähnen Sie Ihr Team",
24
- "fabric.mention.error.defaultAction": "Versuchen Sie es in ein paar Sekunden erneut.",
25
- "fabric.mention.error.defaultHeadline": "Irgendetwas ist schiefgelaufen",
26
- "fabric.mention.error.differentText": "Versuchen Sie, einen anderen Text einzugeben.",
27
- "fabric.mention.error.loginAgain": "Loggen Sie sich aus und wieder ein.",
28
- "fabric.mention.noAccess.label": "Kein Zugriff",
29
- "fabric.mention.noAccess.warning": "{name} wird nicht benachrichtigt, da diese Person keinen Zugriff besitzt.",
30
- "fabric.mention.unknow.user.error": "Unbekannter Benutzer {userId}"
16
+ 'fabric.elements.mentions.team.member.50plus': 'Team • über 50 Mitglieder',
17
+ 'fabric.elements.mentions.team.member.50plus.including.you': 'Team • über 50 Mitglieder, einschließlich Ihnen',
18
+ 'fabric.elements.mentions.team.member.count': '{0, plural, one {Team • 1 Mitglied} other {Team • {0} Mitglieder}}',
19
+ 'fabric.elements.mentions.team.member.count.including.you': '{0, plural, one {Team • 1 Mitglied, einschließlich Ihnen} other {Team • {0} Mitglieder, einschließlich Ihnen}}',
20
+ 'fabric.mention.error.defaultAction': 'Versuchen Sie es in ein paar Sekunden erneut.',
21
+ 'fabric.mention.error.defaultHeadline': 'Irgendetwas ist schiefgelaufen',
22
+ 'fabric.mention.error.differentText': 'Versuchen Sie, einen anderen Text einzugeben.',
23
+ 'fabric.mention.error.loginAgain': 'Loggen Sie sich aus und wieder ein.',
24
+ 'fabric.mention.noAccess.label': 'Kein Zugriff',
25
+ 'fabric.mention.noAccess.warning': '{name} wird nicht benachrichtigt, da diese Person keinen Zugriff besitzt.',
26
+ 'fabric.mention.unknow.user.error': 'Unbekannter Benutzer {userId}'
31
27
  };
32
28
  exports.default = _default;
@@ -13,20 +13,16 @@ exports.default = void 0;
13
13
  */
14
14
  //
15
15
  var _default = {
16
- "fabric.elements.mentions.team.meantion.highlight.close.button.tooltip": "Dismiss",
17
- "fabric.elements.mentions.team.member.50plus": "Team • 50+ members",
18
- "fabric.elements.mentions.team.member.50plus.including.you": "Team • 50+ members, including you",
19
- "fabric.elements.mentions.team.member.count": "Team • {0, plural, one {1 member} other {{0} members}}",
20
- "fabric.elements.mentions.team.member.count.including.you": "Team {0, plural, one {1 member} other {{0} members}}, including you",
21
- "fabric.elements.mentions.team.mention.highlight.description": "Get everyone on the page with one click. No team?",
22
- "fabric.elements.mentions.team.mention.highlight.description.link": "Start one.",
23
- "fabric.elements.mentions.team.mention.highlight.title": "Mention your team",
24
- "fabric.mention.error.defaultAction": "Try again in a few seconds",
25
- "fabric.mention.error.defaultHeadline": "Something went wrong",
26
- "fabric.mention.error.differentText": "Try entering different text",
27
- "fabric.mention.error.loginAgain": "Try logging out then in again",
28
- "fabric.mention.noAccess.label": "No access",
29
- "fabric.mention.noAccess.warning": "{name} won't be notified as they have no access",
30
- "fabric.mention.unknow.user.error": "Unknown user {userId}"
16
+ 'fabric.elements.mentions.team.member.50plus': 'Team • 50+ members',
17
+ 'fabric.elements.mentions.team.member.50plus.including.you': 'Team • 50+ members, including you',
18
+ 'fabric.elements.mentions.team.member.count': 'Team • {0, plural, one {1 member} other {{0} members}}',
19
+ 'fabric.elements.mentions.team.member.count.including.you': 'Team • {0, plural, one {1 member} other {{0} members}}, including you',
20
+ 'fabric.mention.error.defaultAction': 'Try again in a few seconds',
21
+ 'fabric.mention.error.defaultHeadline': 'Something went wrong',
22
+ 'fabric.mention.error.differentText': 'Try entering different text',
23
+ 'fabric.mention.error.loginAgain': 'Try logging out then in again',
24
+ 'fabric.mention.noAccess.label': 'No access',
25
+ 'fabric.mention.noAccess.warning': "{name} won't be notified as they have no access",
26
+ 'fabric.mention.unknow.user.error': 'Unknown user {userId}'
31
27
  };
32
28
  exports.default = _default;