@atlaskit/mention 21.0.19 → 22.0.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.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/api/MentionNameResolver.js +2 -0
- package/dist/cjs/api/MentionResource.js +17 -9
- package/dist/cjs/api/TeamMentionResource.js +12 -17
- package/dist/cjs/components/Mention/PrimitiveMention.js +1 -0
- package/dist/cjs/components/MentionItem/index.js +1 -1
- package/dist/cjs/components/MentionListError/GenericErrorIllustration.js +1 -1
- package/dist/cjs/components/MentionPicker/index.js +3 -5
- package/dist/cjs/components/ResourcedMentionList/index.js +1 -27
- package/dist/cjs/components/Scrollable/index.js +1 -1
- package/dist/cjs/components/i18n.js +0 -20
- package/dist/cjs/i18n/cs.js +16 -15
- package/dist/cjs/i18n/da.js +16 -15
- package/dist/cjs/i18n/de.js +16 -15
- package/dist/cjs/i18n/en.js +16 -15
- package/dist/cjs/i18n/en_GB.js +16 -15
- package/dist/cjs/i18n/es.js +16 -15
- package/dist/cjs/i18n/fi.js +16 -15
- package/dist/cjs/i18n/fr.js +16 -15
- package/dist/cjs/i18n/hu.js +16 -15
- package/dist/cjs/i18n/it.js +16 -15
- package/dist/cjs/i18n/ja.js +16 -15
- package/dist/cjs/i18n/ko.js +16 -15
- package/dist/cjs/i18n/nb.js +16 -15
- package/dist/cjs/i18n/nl.js +16 -15
- package/dist/cjs/i18n/pl.js +16 -15
- package/dist/cjs/i18n/pt_BR.js +16 -15
- package/dist/cjs/i18n/ru.js +16 -15
- package/dist/cjs/i18n/sv.js +16 -15
- package/dist/cjs/i18n/th.js +16 -15
- package/dist/cjs/i18n/tr.js +16 -15
- package/dist/cjs/i18n/uk.js +16 -15
- package/dist/cjs/i18n/vi.js +16 -15
- package/dist/cjs/i18n/zh.js +16 -15
- package/dist/cjs/i18n/zh_TW.js +16 -15
- package/dist/cjs/index.js +0 -14
- package/dist/cjs/util/analytics.js +1 -24
- package/dist/cjs/util/i18n.js +5 -13
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/api/MentionNameResolver.js +2 -0
- package/dist/es2019/api/MentionResource.js +5 -1
- package/dist/es2019/api/TeamMentionResource.js +1 -2
- package/dist/es2019/components/MentionItem/index.js +1 -1
- package/dist/es2019/components/MentionPicker/index.js +3 -5
- package/dist/es2019/components/ResourcedMentionList/index.js +1 -27
- package/dist/es2019/components/Scrollable/index.js +1 -1
- package/dist/es2019/components/i18n.js +0 -20
- package/dist/es2019/i18n/cs.js +16 -15
- package/dist/es2019/i18n/da.js +16 -15
- package/dist/es2019/i18n/de.js +16 -15
- package/dist/es2019/i18n/en.js +16 -15
- package/dist/es2019/i18n/en_GB.js +16 -15
- package/dist/es2019/i18n/es.js +16 -15
- package/dist/es2019/i18n/fi.js +16 -15
- package/dist/es2019/i18n/fr.js +16 -15
- package/dist/es2019/i18n/hu.js +16 -15
- package/dist/es2019/i18n/it.js +16 -15
- package/dist/es2019/i18n/ja.js +16 -15
- package/dist/es2019/i18n/ko.js +16 -15
- package/dist/es2019/i18n/nb.js +16 -15
- package/dist/es2019/i18n/nl.js +16 -15
- package/dist/es2019/i18n/pl.js +16 -15
- package/dist/es2019/i18n/pt_BR.js +16 -15
- package/dist/es2019/i18n/ru.js +16 -15
- package/dist/es2019/i18n/sv.js +16 -15
- package/dist/es2019/i18n/th.js +16 -15
- package/dist/es2019/i18n/tr.js +16 -15
- package/dist/es2019/i18n/uk.js +16 -15
- package/dist/es2019/i18n/vi.js +16 -15
- package/dist/es2019/i18n/zh.js +16 -15
- package/dist/es2019/i18n/zh_TW.js +16 -15
- package/dist/es2019/index.js +1 -3
- package/dist/es2019/util/analytics.js +0 -20
- package/dist/es2019/util/i18n.js +0 -4
- package/dist/es2019/version.json +1 -1
- package/dist/esm/api/MentionNameResolver.js +2 -0
- package/dist/esm/api/MentionResource.js +15 -10
- package/dist/esm/api/TeamMentionResource.js +12 -17
- package/dist/esm/components/MentionItem/index.js +1 -1
- package/dist/esm/components/MentionPicker/index.js +3 -5
- package/dist/esm/components/ResourcedMentionList/index.js +1 -24
- package/dist/esm/components/Scrollable/index.js +1 -1
- package/dist/esm/components/i18n.js +0 -20
- package/dist/esm/i18n/cs.js +16 -15
- package/dist/esm/i18n/da.js +16 -15
- package/dist/esm/i18n/de.js +16 -15
- package/dist/esm/i18n/en.js +16 -15
- package/dist/esm/i18n/en_GB.js +16 -15
- package/dist/esm/i18n/es.js +16 -15
- package/dist/esm/i18n/fi.js +16 -15
- package/dist/esm/i18n/fr.js +16 -15
- package/dist/esm/i18n/hu.js +16 -15
- package/dist/esm/i18n/it.js +16 -15
- package/dist/esm/i18n/ja.js +16 -15
- package/dist/esm/i18n/ko.js +16 -15
- package/dist/esm/i18n/nb.js +16 -15
- package/dist/esm/i18n/nl.js +16 -15
- package/dist/esm/i18n/pl.js +16 -15
- package/dist/esm/i18n/pt_BR.js +16 -15
- package/dist/esm/i18n/ru.js +16 -15
- package/dist/esm/i18n/sv.js +16 -15
- package/dist/esm/i18n/th.js +16 -15
- package/dist/esm/i18n/tr.js +16 -15
- package/dist/esm/i18n/uk.js +16 -15
- package/dist/esm/i18n/vi.js +16 -15
- package/dist/esm/i18n/zh.js +16 -15
- package/dist/esm/i18n/zh_TW.js +16 -15
- package/dist/esm/index.js +1 -3
- package/dist/esm/util/analytics.js +0 -22
- package/dist/esm/util/i18n.js +4 -7
- package/dist/esm/version.json +1 -1
- package/dist/types/api/MentionResource.d.ts +0 -6
- package/dist/types/api/TeamMentionResource.d.ts +2 -4
- package/dist/types/components/MentionPicker/index.d.ts +0 -2
- package/dist/types/components/ResourcedMentionList/index.d.ts +0 -4
- package/dist/types/components/i18n.d.ts +0 -20
- package/dist/types/i18n/cs.d.ts +15 -15
- package/dist/types/i18n/da.d.ts +15 -15
- package/dist/types/i18n/de.d.ts +15 -15
- package/dist/types/i18n/en.d.ts +15 -15
- package/dist/types/i18n/en_GB.d.ts +15 -15
- package/dist/types/i18n/es.d.ts +15 -15
- package/dist/types/i18n/fi.d.ts +15 -15
- package/dist/types/i18n/fr.d.ts +15 -15
- package/dist/types/i18n/hu.d.ts +15 -15
- package/dist/types/i18n/it.d.ts +15 -15
- package/dist/types/i18n/ja.d.ts +15 -15
- package/dist/types/i18n/ko.d.ts +15 -15
- package/dist/types/i18n/nb.d.ts +15 -15
- package/dist/types/i18n/nl.d.ts +15 -15
- package/dist/types/i18n/pl.d.ts +15 -15
- package/dist/types/i18n/pt_BR.d.ts +15 -15
- package/dist/types/i18n/ru.d.ts +15 -15
- package/dist/types/i18n/sv.d.ts +15 -15
- package/dist/types/i18n/th.d.ts +15 -15
- package/dist/types/i18n/tr.d.ts +15 -15
- package/dist/types/i18n/uk.d.ts +15 -15
- package/dist/types/i18n/vi.d.ts +15 -15
- package/dist/types/i18n/zh.d.ts +15 -15
- package/dist/types/i18n/zh_TW.d.ts +15 -15
- package/dist/types/index.d.ts +1 -3
- package/dist/types/resource.d.ts +2 -2
- package/dist/types/util/analytics.d.ts +1 -3
- package/dist/types/util/i18n.d.ts +0 -4
- package/package.json +8 -9
- package/report.api.md +1 -118
- package/dist/cjs/components/TeamMentionHighlight/TeamMentionHighlightController.js +0 -85
- package/dist/cjs/components/TeamMentionHighlight/index.js +0 -184
- package/dist/cjs/components/TeamMentionHighlight/lazy.js +0 -21
- package/dist/cjs/components/TeamMentionHighlight/styles.js +0 -29
- package/dist/cjs/spotlight.js +0 -20
- package/dist/es2019/components/TeamMentionHighlight/TeamMentionHighlightController.js +0 -64
- package/dist/es2019/components/TeamMentionHighlight/index.js +0 -148
- package/dist/es2019/components/TeamMentionHighlight/lazy.js +0 -4
- package/dist/es2019/components/TeamMentionHighlight/styles.js +0 -40
- package/dist/es2019/spotlight.js +0 -5
- package/dist/esm/components/TeamMentionHighlight/TeamMentionHighlightController.js +0 -77
- package/dist/esm/components/TeamMentionHighlight/index.js +0 -172
- package/dist/esm/components/TeamMentionHighlight/lazy.js +0 -8
- package/dist/esm/components/TeamMentionHighlight/styles.js +0 -14
- package/dist/esm/spotlight.js +0 -5
- package/dist/types/components/TeamMentionHighlight/TeamMentionHighlightController.d.ts +0 -17
- package/dist/types/components/TeamMentionHighlight/index.d.ts +0 -35
- package/dist/types/components/TeamMentionHighlight/lazy.d.ts +0 -4
- package/dist/types/components/TeamMentionHighlight/styles.d.ts +0 -33
- package/dist/types/spotlight.d.ts +0 -3
- package/spotlight/package.json +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 22.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
8
|
+
|
|
9
|
+
## 22.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [`6c543971074`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c543971074) - [ux] PTC-6520 remove team mention highlight
|
|
14
|
+
|
|
3
15
|
## 21.0.19
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -12,6 +12,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
12
12
|
var _types = require("../types");
|
|
13
13
|
var _analytics = require("../util/analytics");
|
|
14
14
|
var DefaultMentionNameResolver = /*#__PURE__*/function () {
|
|
15
|
+
// ms
|
|
16
|
+
|
|
15
17
|
function DefaultMentionNameResolver(client) {
|
|
16
18
|
var _this = this;
|
|
17
19
|
var analyticsProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -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");
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.isResolvingMentionProvider = exports.default = exports.MentionResource = exports.HttpError = exports.AbstractResource = exports.AbstractMentionResource = void 0;
|
|
8
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
11
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
@@ -20,10 +20,18 @@ var _analytics = require("../util/analytics");
|
|
|
20
20
|
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
21
21
|
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; }
|
|
22
22
|
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; }
|
|
23
|
+
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; }
|
|
23
24
|
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); }; }
|
|
24
25
|
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; } }
|
|
25
26
|
var MAX_QUERY_ITEMS = 100;
|
|
26
27
|
var MAX_NOTIFIED_ITEMS = 20;
|
|
28
|
+
|
|
29
|
+
// Re-exporting types to prevent breaking change
|
|
30
|
+
// Re-exporting types to prevent breaking change
|
|
31
|
+
/**
|
|
32
|
+
* Support
|
|
33
|
+
*/
|
|
34
|
+
|
|
27
35
|
var emptySecurityProvider = function emptySecurityProvider() {
|
|
28
36
|
return {
|
|
29
37
|
params: {},
|
|
@@ -226,9 +234,9 @@ var MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
|
|
|
226
234
|
}, {
|
|
227
235
|
key: "filter",
|
|
228
236
|
value: function () {
|
|
229
|
-
var _filter = (0, _asyncToGenerator2.default)( /*#__PURE__*/
|
|
237
|
+
var _filter = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(query, contextIdentifier) {
|
|
230
238
|
var searchTime, results, searchResponse;
|
|
231
|
-
return
|
|
239
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
232
240
|
while (1) {
|
|
233
241
|
switch (_context.prev = _context.next) {
|
|
234
242
|
case 0:
|
|
@@ -371,9 +379,9 @@ var MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
|
|
|
371
379
|
}, {
|
|
372
380
|
key: "remoteInitialState",
|
|
373
381
|
value: function () {
|
|
374
|
-
var _remoteInitialState = (0, _asyncToGenerator2.default)( /*#__PURE__*/
|
|
382
|
+
var _remoteInitialState = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(contextIdentifier) {
|
|
375
383
|
var queryParams, options, result;
|
|
376
|
-
return
|
|
384
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
377
385
|
while (1) {
|
|
378
386
|
switch (_context2.prev = _context2.next) {
|
|
379
387
|
case 0:
|
|
@@ -416,9 +424,9 @@ var MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
|
|
|
416
424
|
}, {
|
|
417
425
|
key: "remoteSearch",
|
|
418
426
|
value: function () {
|
|
419
|
-
var _remoteSearch = (0, _asyncToGenerator2.default)( /*#__PURE__*/
|
|
427
|
+
var _remoteSearch = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(query, contextIdentifier) {
|
|
420
428
|
var options, result;
|
|
421
|
-
return
|
|
429
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
422
430
|
while (1) {
|
|
423
431
|
switch (_context3.prev = _context3.next) {
|
|
424
432
|
case 0:
|
|
@@ -476,9 +484,9 @@ var MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
|
|
|
476
484
|
}, {
|
|
477
485
|
key: "recordSelection",
|
|
478
486
|
value: function () {
|
|
479
|
-
var _recordSelection = (0, _asyncToGenerator2.default)( /*#__PURE__*/
|
|
487
|
+
var _recordSelection = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(mention, contextIdentifier) {
|
|
480
488
|
var options, sliName, result;
|
|
481
|
-
return
|
|
489
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
482
490
|
while (1) {
|
|
483
491
|
switch (_context4.prev = _context4.next) {
|
|
484
492
|
case 0:
|
|
@@ -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");
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
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,6 +23,7 @@ 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; }
|
|
26
27
|
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); }; }
|
|
27
28
|
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; } }
|
|
28
29
|
var MAX_QUERY_TEAMS = 20;
|
|
@@ -40,12 +41,6 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
|
|
|
40
41
|
(0, _classCallCheck2.default)(this, TeamMentionResource);
|
|
41
42
|
_this = _super.call(this, userMentionConfig);
|
|
42
43
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "lastSearchQuery", '');
|
|
43
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "mentionTypeaheadHighlightEnabled", function () {
|
|
44
|
-
return _this.teamMentionConfig.teamHighlightEnabled || false;
|
|
45
|
-
});
|
|
46
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "mentionTypeaheadCreateTeamPath", function () {
|
|
47
|
-
return _this.teamMentionConfig.createTeamPath;
|
|
48
|
-
});
|
|
49
44
|
_this.verifyMentionConfig(teamMentionConfig);
|
|
50
45
|
_this.teamMentionConfig = teamMentionConfig;
|
|
51
46
|
_this.lastReturnedSearchTeam = 0;
|
|
@@ -66,17 +61,17 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
|
|
|
66
61
|
return this.handleBothRequests(query, getUserPromise, getTeamsPromise);
|
|
67
62
|
}
|
|
68
63
|
}
|
|
69
|
-
|
|
70
|
-
key: "remoteInitialStateTeamAndUsers",
|
|
71
|
-
value:
|
|
64
|
+
|
|
72
65
|
/**
|
|
73
66
|
* Returns the initial mention display list before a search is performed for the specified
|
|
74
67
|
* container.
|
|
75
68
|
*/
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
}, {
|
|
70
|
+
key: "remoteInitialStateTeamAndUsers",
|
|
71
|
+
value: function () {
|
|
72
|
+
var _remoteInitialStateTeamAndUsers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(contextIdentifier) {
|
|
78
73
|
var emptyQuery, getUserPromise, queryParams, options, getTeamsPromise;
|
|
79
|
-
return
|
|
74
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
80
75
|
while (1) {
|
|
81
76
|
switch (_context.prev = _context.next) {
|
|
82
77
|
case 0:
|
|
@@ -111,10 +106,10 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
|
|
|
111
106
|
}, {
|
|
112
107
|
key: "handleBothRequests",
|
|
113
108
|
value: function () {
|
|
114
|
-
var _handleBothRequests = (0, _asyncToGenerator2.default)( /*#__PURE__*/
|
|
109
|
+
var _handleBothRequests = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(query, userRequest, teamRequest) {
|
|
115
110
|
var _this2 = this;
|
|
116
111
|
var searchTime, accumulatedResults, notifyWhenOneRequestDone, userResults, userRequestError, teamRequestError, teamsResult;
|
|
117
|
-
return
|
|
112
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
118
113
|
while (1) {
|
|
119
114
|
switch (_context2.prev = _context2.next) {
|
|
120
115
|
case 0:
|
|
@@ -224,9 +219,9 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
|
|
|
224
219
|
}, {
|
|
225
220
|
key: "remoteTeamSearch",
|
|
226
221
|
value: function () {
|
|
227
|
-
var _remoteTeamSearch = (0, _asyncToGenerator2.default)( /*#__PURE__*/
|
|
222
|
+
var _remoteTeamSearch = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(query, contextIdentifier) {
|
|
228
223
|
var options, teamResult;
|
|
229
|
-
return
|
|
224
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
230
225
|
while (1) {
|
|
231
226
|
switch (_context3.prev = _context3.next) {
|
|
232
227
|
case 0:
|
|
@@ -16,6 +16,7 @@ var _types = require("../../types");
|
|
|
16
16
|
var _react2 = require("react");
|
|
17
17
|
var _excluded = ["mentionType"];
|
|
18
18
|
var _mentionStyle, _templateObject;
|
|
19
|
+
/** @jsx jsx */
|
|
19
20
|
var mentionStyle = (_mentionStyle = {}, (0, _defineProperty2.default)(_mentionStyle, _types.MentionType.SELF, {
|
|
20
21
|
background: (0, _components.themed)({
|
|
21
22
|
light: "var(--ds-background-brand-bold, ".concat(_colors.B400, ")"),
|
|
@@ -13,7 +13,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
|
14
14
|
var _styles = require("./styles");
|
|
15
15
|
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); }; }
|
|
16
|
-
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; } }
|
|
16
|
+
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; } } /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
17
17
|
var GenericErrorIllustration = /*#__PURE__*/function (_React$PureComponent) {
|
|
18
18
|
(0, _inherits2.default)(GenericErrorIllustration, _React$PureComponent);
|
|
19
19
|
var _super = _createSuper(GenericErrorIllustration);
|
|
@@ -166,11 +166,12 @@ var MentionPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
166
166
|
* It should be noted that the visible state of the component is not considered in
|
|
167
167
|
* this function. Instead the old state and new state should be passed as parameters.
|
|
168
168
|
*/
|
|
169
|
+
|
|
170
|
+
// internal, used for callbacks
|
|
169
171
|
}, {
|
|
170
172
|
key: "render",
|
|
171
173
|
value: function render() {
|
|
172
174
|
var _this$props = this.props,
|
|
173
|
-
createTeamPath = _this$props.createTeamPath,
|
|
174
175
|
resourceProvider = _this$props.resourceProvider,
|
|
175
176
|
presenceProvider = _this$props.presenceProvider,
|
|
176
177
|
onSelection = _this$props.onSelection,
|
|
@@ -180,7 +181,6 @@ var MentionPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
180
181
|
zIndex = _this$props.zIndex,
|
|
181
182
|
offsetX = _this$props.offsetX,
|
|
182
183
|
offsetY = _this$props.offsetY,
|
|
183
|
-
showTeamMentionsHighlight = _this$props.showTeamMentionsHighlight,
|
|
184
184
|
intl = _this$props.intl;
|
|
185
185
|
var _this$state = this.state,
|
|
186
186
|
visible = _this$state.visible,
|
|
@@ -190,9 +190,7 @@ var MentionPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
190
190
|
presenceProvider: presenceProvider,
|
|
191
191
|
onSelection: onSelection,
|
|
192
192
|
query: query,
|
|
193
|
-
ref: this.handleMentionListRef
|
|
194
|
-
isTeamMentionHighlightEnabled: !!showTeamMentionsHighlight,
|
|
195
|
-
createTeamPath: createTeamPath
|
|
193
|
+
ref: this.handleMentionListRef
|
|
196
194
|
});
|
|
197
195
|
var infoContent = info && !visible ? /*#__PURE__*/_react.default.createElement(_styles.MentionPickerInfoStyle, null, /*#__PURE__*/_react.default.createElement("p", null, info)) : null;
|
|
198
196
|
var content;
|
|
@@ -1,7 +1,6 @@
|
|
|
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
|
});
|
|
@@ -13,16 +12,12 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
13
12
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
14
13
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
15
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
|
-
var _react =
|
|
15
|
+
var _react = _interopRequireDefault(require("react"));
|
|
17
16
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
18
17
|
var _id = _interopRequireDefault(require("../../util/id"));
|
|
19
18
|
var _logger = _interopRequireDefault(require("../../util/logger"));
|
|
20
19
|
var _MentionList = _interopRequireDefault(require("../MentionList"));
|
|
21
|
-
var _lazy = require("../TeamMentionHighlight/lazy");
|
|
22
|
-
var _TeamMentionHighlightController = _interopRequireDefault(require("../TeamMentionHighlight/TeamMentionHighlightController"));
|
|
23
20
|
var _analytics = require("../../util/analytics");
|
|
24
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(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; }
|
|
26
21
|
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); }; }
|
|
27
22
|
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; } }
|
|
28
23
|
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; }
|
|
@@ -122,26 +117,6 @@ var ResourcedMentionListWithoutAnalytics = /*#__PURE__*/function (_React$PureCom
|
|
|
122
117
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleMentionListRef", function (ref) {
|
|
123
118
|
_this.mentionListRef = ref;
|
|
124
119
|
});
|
|
125
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "closeHighlight", function () {
|
|
126
|
-
_TeamMentionHighlightController.default.registerClosed();
|
|
127
|
-
});
|
|
128
|
-
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "mentionsHighlight", function () {
|
|
129
|
-
var mentions = _this.state.mentions;
|
|
130
|
-
var _this$props = _this.props,
|
|
131
|
-
isTeamMentionHighlightEnabled = _this$props.isTeamMentionHighlightEnabled,
|
|
132
|
-
createTeamPath = _this$props.createTeamPath;
|
|
133
|
-
var enabledViaLocalStorage = _TeamMentionHighlightController.default.isHighlightEnabled();
|
|
134
|
-
var shouldShow = enabledViaLocalStorage && isTeamMentionHighlightEnabled && mentions && mentions.length > 0;
|
|
135
|
-
if (!shouldShow) {
|
|
136
|
-
return null;
|
|
137
|
-
}
|
|
138
|
-
return /*#__PURE__*/_react.default.createElement(_react.Suspense, {
|
|
139
|
-
fallback: null
|
|
140
|
-
}, /*#__PURE__*/_react.default.createElement(_lazy.LazyTeamMentionHighlight, {
|
|
141
|
-
createTeamLink: createTeamPath,
|
|
142
|
-
onClose: _this.closeHighlight
|
|
143
|
-
}));
|
|
144
|
-
});
|
|
145
120
|
_this.subscriberKey = (0, _id.default)('ak-resourced-mention-list');
|
|
146
121
|
_this.state = {
|
|
147
122
|
resourceError: undefined,
|
|
@@ -247,7 +222,6 @@ var ResourcedMentionListWithoutAnalytics = /*#__PURE__*/function (_React$PureCom
|
|
|
247
222
|
mentions = _this$state.mentions,
|
|
248
223
|
resourceError = _this$state.resourceError;
|
|
249
224
|
return /*#__PURE__*/_react.default.createElement(_MentionList.default, {
|
|
250
|
-
initialHighlightElement: this.mentionsHighlight(),
|
|
251
225
|
mentions: mentions,
|
|
252
226
|
resourceError: resourceError,
|
|
253
227
|
onSelection: this.notifySelection,
|
|
@@ -60,26 +60,6 @@ var messages = (0, _reactIntlNext.defineMessages)({
|
|
|
60
60
|
id: 'fabric.elements.mentions.team.member.50plus.including.you',
|
|
61
61
|
defaultMessage: 'Team • 50+ members, including you',
|
|
62
62
|
description: 'Byline to show the number of members in the team when the number exceeds 50 and also includes the current user'
|
|
63
|
-
},
|
|
64
|
-
TeamMentionHighlightTitle: {
|
|
65
|
-
id: 'fabric.elements.mentions.team.mention.highlight.title',
|
|
66
|
-
defaultMessage: 'Mention your team',
|
|
67
|
-
description: 'Title of the highlight shown in the mention tpyeahead. This is related to team mentions'
|
|
68
|
-
},
|
|
69
|
-
TeamMentionHighlightDescription: {
|
|
70
|
-
id: 'fabric.elements.mentions.team.mention.highlight.description',
|
|
71
|
-
defaultMessage: 'Get everyone on the page with one click. No team?',
|
|
72
|
-
description: 'Description of the highlight shown in the mention tpyeahead. This is related to team mentions'
|
|
73
|
-
},
|
|
74
|
-
TeamMentionHighlightDescriptionLink: {
|
|
75
|
-
id: 'fabric.elements.mentions.team.mention.highlight.description.link',
|
|
76
|
-
defaultMessage: 'Start one.',
|
|
77
|
-
description: 'Team creation link in the description of the highlight shown in the mention tpyeahead. This is related to team mentions'
|
|
78
|
-
},
|
|
79
|
-
TeamMentionHighlightCloseButtonToolTip: {
|
|
80
|
-
id: 'fabric.elements.mentions.team.meantion.highlight.close.button.tooltip',
|
|
81
|
-
defaultMessage: 'Dismiss',
|
|
82
|
-
description: 'Closes the highlight component when this button is clicked. This text for the tooltip of that button'
|
|
83
63
|
}
|
|
84
64
|
});
|
|
85
65
|
exports.messages = messages;
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
7
8
|
/**
|
|
8
9
|
* NOTE:
|
|
9
10
|
*
|
|
@@ -12,20 +13,20 @@ exports.default = void 0;
|
|
|
12
13
|
*/
|
|
13
14
|
//Czech
|
|
14
15
|
var _default = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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}"
|
|
30
31
|
};
|
|
31
32
|
exports.default = _default;
|
package/dist/cjs/i18n/da.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
7
8
|
/**
|
|
8
9
|
* NOTE:
|
|
9
10
|
*
|
|
@@ -12,20 +13,20 @@ exports.default = void 0;
|
|
|
12
13
|
*/
|
|
13
14
|
//Danish (Denmark)
|
|
14
15
|
var _default = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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}"
|
|
30
31
|
};
|
|
31
32
|
exports.default = _default;
|
package/dist/cjs/i18n/de.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
7
8
|
/**
|
|
8
9
|
* NOTE:
|
|
9
10
|
*
|
|
@@ -12,20 +13,20 @@ exports.default = void 0;
|
|
|
12
13
|
*/
|
|
13
14
|
//German (Germany)
|
|
14
15
|
var _default = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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}"
|
|
30
31
|
};
|
|
31
32
|
exports.default = _default;
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
/* prettier-ignore */
|
|
7
8
|
/**
|
|
8
9
|
* NOTE:
|
|
9
10
|
*
|
|
@@ -12,20 +13,20 @@ exports.default = void 0;
|
|
|
12
13
|
*/
|
|
13
14
|
//
|
|
14
15
|
var _default = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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}"
|
|
30
31
|
};
|
|
31
32
|
exports.default = _default;
|