"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.WHITE_SPACE_PATTERN = exports.NEW_ITEM_KEY = exports.MENTION_SEARCH_FIELDS = exports.MENTION_SEARCH_FIELD = exports.MENTION_PATTERN = exports.DEFAULT_VALUE = exports.CUSTOM_ELEMENT_TYPES = void 0;
const DEFAULT_VALUE = exports.DEFAULT_VALUE = [{
  children: [{
    text: ''
  }]
}];
const CUSTOM_ELEMENT_TYPES = exports.CUSTOM_ELEMENT_TYPES = {
  mention: 'mention'
};
const NEW_ITEM_KEY = exports.NEW_ITEM_KEY = 'new-item';
const MENTION_PATTERN = exports.MENTION_PATTERN = /^@(\w+)?$/;
const WHITE_SPACE_PATTERN = exports.WHITE_SPACE_PATTERN = /^(\s|$)/;
const MENTION_SEARCH_FIELD = exports.MENTION_SEARCH_FIELD = 'username';
const MENTION_SEARCH_FIELDS = exports.MENTION_SEARCH_FIELDS = [MENTION_SEARCH_FIELD];