UNPKG

@atlaskit/mention

Version:

A React component used to display user profiles in a list for 'Mention' functionality

23 lines (22 loc) 831 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultAttributes = exports.SMART_EVENT_TYPE = exports.Actions = void 0; var SMART_EVENT_TYPE = exports.SMART_EVENT_TYPE = 'smart'; var Actions = exports.Actions = /*#__PURE__*/function (Actions) { Actions["REQUESTED"] = "requested"; Actions["SUCCESSFUL"] = "successful"; Actions["SEARCHED"] = "searched"; Actions["FAILED"] = "failed"; Actions["SELECTED"] = "selected"; return Actions; }({}); var defaultAttributes = exports.defaultAttributes = function defaultAttributes(context) { return { context: (context === null || context === void 0 ? void 0 : context.objectId) || '', sessionId: (context === null || context === void 0 ? void 0 : context.sessionId) || '', pickerType: 'mentions', source: 'smarts' }; };