UNPKG

@nextcloud/vue

Version:
44 lines (43 loc) 1.48 kB
export const USERID_REGEX: RegExp; export const USERID_REGEX_WITH_SPACE: RegExp; declare namespace _default { namespace props { namespace userData { export let type: ObjectConstructor; function _default(): {}; export { _default as default }; } } namespace methods { /** * Convert the value string to html for the inner content * * @param {string} value the content without html * @return {string} rendered html */ function renderContent(value: string): string; /** * Convert the innerHtml content to a string with mentions as text * * @param {string} content the content without html * @return {string} */ function parseContent(content: string): string; /** * Generate an autocompletion popup entry template * * @param {string} value the value to match against the userData * @return {string} */ function genSelectTemplate(value: string): string; /** * Render a component and return its html content * * @param {object} props the props to pass to the component * @param {object} component the component to render * @return {string} the rendered html */ function renderComponentHtml(props: object, component: object): string; } } export default _default;