UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

1,292 lines 64.2 kB
import type { RenderLabel } from '../../_internal/select-menu/src/interface'; import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils'; import type { FormValidationStatus } from '../../form/src/public-types'; import type { Size as InputSize } from '../../input/src/interface'; import type { SelectBaseOption, SelectGroupOption, SelectIgnoredOption } from '../../select/src/interface'; import type { MentionOption } from './interface'; import { type TreeNode } from 'treemate'; import { type PropType, type SlotsType, type VNode } from 'vue'; import { type FollowerInst, type FollowerPlacement } from 'vueuc'; export declare const mentionProps: { readonly to: { type: PropType<HTMLElement | string | boolean>; default: undefined; }; readonly autosize: PropType<boolean | { maxRows?: number; minRows?: number; }>; readonly options: { readonly type: PropType<MentionOption[]>; readonly default: readonly []; }; readonly filter: { readonly type: PropType<(pattern: string, option: MentionOption) => boolean>; readonly default: (pattern: string, option: MentionOption) => boolean; }; readonly type: { readonly type: PropType<"text" | "textarea">; readonly default: "text"; }; readonly separator: { readonly type: StringConstructor; readonly validator: (separator: string) => boolean; readonly default: " "; }; readonly bordered: { readonly type: PropType<boolean | undefined>; readonly default: undefined; }; readonly disabled: BooleanConstructor; readonly value: PropType<string | null>; readonly defaultValue: { readonly type: StringConstructor; readonly default: ""; }; readonly loading: BooleanConstructor; readonly prefix: { readonly type: PropType<string | string[]>; readonly default: "@"; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly placement: { readonly type: PropType<FollowerPlacement>; readonly default: "bottom-start"; }; readonly size: PropType<InputSize>; readonly renderLabel: PropType<RenderLabel>; readonly status: PropType<FormValidationStatus>; readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>; readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>; readonly 'onUpdate:value': PropType<MaybeArray<(value: string) => void>>; readonly onUpdateValue: PropType<MaybeArray<(value: string) => void>>; readonly onSearch: PropType<(pattern: string, prefix: string) => void>; readonly onSelect: PropType<(option: MentionOption, prefix: string) => void>; readonly onFocus: PropType<(e: FocusEvent) => void>; readonly onBlur: PropType<(e: FocusEvent) => void>; readonly internalDebug: BooleanConstructor; readonly theme: PropType<import("../../_mixins").Theme<"Mention", { menuBoxShadow: string; }, { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; optionPaddingSmall: string; optionPaddingMedium: string; optionPaddingLarge: string; optionPaddingHuge: string; loadingSize: string; }, { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; Empty: import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>; }>; Input: import("../../_mixins").Theme<"Input", { fontWeight: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelColor: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; clearSize: string; }, any>; }>>; readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Mention", { menuBoxShadow: string; }, { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; optionPaddingSmall: string; optionPaddingMedium: string; optionPaddingLarge: string; optionPaddingHuge: string; loadingSize: string; }, { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; Empty: import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>; }>; Input: import("../../_mixins").Theme<"Input", { fontWeight: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelColor: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; clearSize: string; }, any>; }>>>; readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Mention", { menuBoxShadow: string; }, { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; optionPaddingSmall: string; optionPaddingMedium: string; optionPaddingLarge: string; optionPaddingHuge: string; loadingSize: string; }, { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; Empty: import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>; }>; Input: import("../../_mixins").Theme<"Input", { fontWeight: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelColor: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; clearSize: string; }, any>; }>>>; }; export type MentionProps = ExtractPublicPropTypes<typeof mentionProps>; export interface MentionSlots { default?: () => VNode[]; empty?: () => VNode[]; } declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly to: { type: PropType<HTMLElement | string | boolean>; default: undefined; }; readonly autosize: PropType<boolean | { maxRows?: number; minRows?: number; }>; readonly options: { readonly type: PropType<MentionOption[]>; readonly default: readonly []; }; readonly filter: { readonly type: PropType<(pattern: string, option: MentionOption) => boolean>; readonly default: (pattern: string, option: MentionOption) => boolean; }; readonly type: { readonly type: PropType<"text" | "textarea">; readonly default: "text"; }; readonly separator: { readonly type: StringConstructor; readonly validator: (separator: string) => boolean; readonly default: " "; }; readonly bordered: { readonly type: PropType<boolean | undefined>; readonly default: undefined; }; readonly disabled: BooleanConstructor; readonly value: PropType<string | null>; readonly defaultValue: { readonly type: StringConstructor; readonly default: ""; }; readonly loading: BooleanConstructor; readonly prefix: { readonly type: PropType<string | string[]>; readonly default: "@"; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly placement: { readonly type: PropType<FollowerPlacement>; readonly default: "bottom-start"; }; readonly size: PropType<InputSize>; readonly renderLabel: PropType<RenderLabel>; readonly status: PropType<FormValidationStatus>; readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>; readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>; readonly 'onUpdate:value': PropType<MaybeArray<(value: string) => void>>; readonly onUpdateValue: PropType<MaybeArray<(value: string) => void>>; readonly onSearch: PropType<(pattern: string, prefix: string) => void>; readonly onSelect: PropType<(option: MentionOption, prefix: string) => void>; readonly onFocus: PropType<(e: FocusEvent) => void>; readonly onBlur: PropType<(e: FocusEvent) => void>; readonly internalDebug: BooleanConstructor; readonly theme: PropType<import("../../_mixins").Theme<"Mention", { menuBoxShadow: string; }, { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; optionPaddingSmall: string; optionPaddingMedium: string; optionPaddingLarge: string; optionPaddingHuge: string; loadingSize: string; }, { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; Empty: import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>; }>; Input: import("../../_mixins").Theme<"Input", { fontWeight: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelColor: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; clearSize: string; }, any>; }>>; readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Mention", { menuBoxShadow: string; }, { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; optionPaddingSmall: string; optionPaddingMedium: string; optionPaddingLarge: string; optionPaddingHuge: string; loadingSize: string; }, { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; Empty: import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>; }>; Input: import("../../_mixins").Theme<"Input", { fontWeight: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelColor: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; clearSize: string; }, any>; }>>>; readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Mention", { menuBoxShadow: string; }, { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; optionPaddingSmall: string; optionPaddingMedium: string; optionPaddingLarge: string; optionPaddingHuge: string; loadingSize: string; }, { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; Empty: import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>; }>; Input: import("../../_mixins").Theme<"Input", { fontWeight: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelColor: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; clearSize: string; }, any>; }>>>; }>, { namespace: import("vue").ComputedRef<string | undefined>; mergedClsPrefix: import("vue").Ref<string, string>; mergedBordered: import("vue").ComputedRef<boolean>; mergedSize: import("vue").ComputedRef<"small" | "medium" | "large" | "tiny">; mergedStatus: import("vue").ComputedRef<FormValidationStatus | undefined>; mergedTheme: import("vue").ComputedRef<{ common: import("../..").ThemeCommonVars; self: { menuBoxShadow: string; }; peers: { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; optionPaddingSmall: string; optionPaddingMedium: string; optionPaddingLarge: string; optionPaddingHuge: string; loadingSize: string; }, { Scrollbar: import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>; Empty: import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>; }>; Input: import("../../_mixins").Theme<"Input", { fontWeight: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelColor: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; clearSize: string; }, any>; }; peerOverrides: { InternalSelectMenu?: { peers?: { Scrollbar?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Scrollbar", { height: string; width: string; borderRadius: string; color: string; colorHover: string; railInsetHorizontalBottom: string; railInsetHorizontalTop: string; railInsetVerticalRight: string; railInsetVerticalLeft: string; railColor: string; }, any>> | undefined; Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", { fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeTiny: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>> | undefined; } | undefined; } | undefined; Input?: { peers?: { [x: string]: any; } | undefined; } | undefined; }; }>; treeMate: import("vue").ComputedRef<import("treemate").TreeMate<SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectGroupOption, SelectIgnoredOption>>; selectMenuInstRef: import("vue").Ref<{ selfRef: HTMLElement | null; getPendingTmNode: () => TreeNode<SelectBaseOption> | null; prev: () => void; next: () => void; } | null, { selfRef: HTMLElement | null; getPendingTmNode: () => TreeNode<SelectBaseOption> | null; prev: () => void; next: () => void; } | { selfRef: HTMLElement | null; getPendingTmNode: () => TreeNode<SelectBaseOption> | null; prev: () => void; next: () => void; } | null>; inputInstRef: import("vue").Ref<{ wrapperElRef: HTMLElement | null; textareaElRef: HTMLTextAreaElement | null; inputElRef: HTMLInputElement | null; isCompositing: boolean; blur: () => void; clear: () => void; focus: () => void; select: () => void; activate: () => void; deactivate: () => void; scrollTo: (options: ScrollToOptions) => void; } | null, { wrapperElRef: HTMLElement | null; textareaElRef: HTMLTextAreaElement | null; inputElRef: HTMLInputElement | null; isCompositing: boolean; blur: () => void; clear: () => void; focus: () => void; select: () => void; activate: () => void; deactivate: () => void; scrollTo: (options: ScrollToOptions) => void; } | { wrapperElRef: HTMLElement | null; textareaElRef: HTMLTextAreaElement | null; inputElRef: HTMLInputElement | null; isCompositing: boolean; blur: () => void; clear: () => void; focus: () => void; select: () => void; activate: () => void; deactivate: () => void; scrollTo: (options: ScrollToOptions) => void; } | null>; cursorRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>; followerRef: import("vue").Ref<{ syncPosition: () => void; } | null, FollowerInst | { syncPosition: () => void; } | null>; wrapperElRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>; showMenu: import("vue").Ref<boolean, boolean>; adjustedTo: import("vue").ComputedRef<string | HTMLElement>; isMounted: Readonly<import("vue").Ref<boolean, boolean>>; mergedValue: import("vue").ComputedRef<string | null>; handleInputFocus: (e: FocusEvent) => void; handleInputBlur: (e: FocusEvent) => void; handleInputUpdateValue: (value: string) => void; handleInputKeyDown: (e: KeyboardEvent) => void; handleSelect: (tmNode: TreeNode<SelectBaseOption>) => void; handleInputMouseDown: () => void; focus: () => void; blur: () => void; cssVars: import("vue").ComputedRef<{ '--n-menu-box-shadow': string; }> | undefined; themeClass: import("vue").Ref<string, string> | undefined; onRender: (() => void) | undefined; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly to: { type: PropType<HTMLElement | string | boolean>; default: undefined; }; readonly autosize: PropType<boolean | { maxRows?: number; minRows?: number; }>; readonly options: { readonly type: PropType<MentionOption[]>; readonly default: readonly []; }; readonly filter: { readonly type: PropType<(pattern: string, option: MentionOption) => boolean>; readonly default: (pattern: string, option: MentionOption) => boolean; }; readonly type: { readonly type: PropType<"text" | "textarea">; readonly default: "text"; }; readonly separator: { readonly type: StringConstructor; readonly validator: (separator: string) => boolean; readonly default: " "; }; readonly bordered: { readonly type: PropType<boolean | undefined>; readonly default: undefined; }; readonly disabled: BooleanConstructor; readonly value: PropType<string | null>; readonly defaultValue: { readonly type: StringConstructor; readonly default: ""; }; readonly loading: BooleanConstructor; readonly prefix: { readonly type: PropType<string | string[]>; readonly default: "@"; }; readonly placeholder: { readonly type: StringConstructor; readonly default: ""; }; readonly placement: { readonly type: PropType<FollowerPlacement>; readonly default: "bottom-start"; }; readonly size: PropType<InputSize>; readonly renderLabel: PropType<RenderLabel>; readonly status: PropType<FormValidationStatus>; readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>; readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>; readonly 'onUpdate:value': PropType<MaybeArray<(value: string) => void>>; readonly onUpdateValue: PropType<MaybeArray<(value: string) => void>>; readonly onSearch: PropType<(pattern: string, prefix: string) => void>; readonly onSelect: PropType<(option: MentionOption, prefix: string) => void>; readonly onFocus: PropType<(e: FocusEvent) => void>; readonly onBlur: PropType<(e: FocusEvent) => void>; readonly internalDebug: BooleanConstructor; readonly theme: PropType<import("../../_mixins").Theme<"Mention", { menuBoxShadow: string; }, { InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", { optionFontSizeTiny: string; optionFontSizeSmall: string; optionFontSizeMedium: string; optionFontSizeLarge: string; optionFontSizeHuge: string; optionHeightTiny: string; optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; color: string; groupHeaderTextColor: string; actionDividerColor: string; optionTextColor: string; optionTextColorPressed: string; optionTextColorDisabled: string; optionTextColorActive: string; optionOpacityDisabled: string; optionCheckColor: string; optionColorPending: string; optionColorActive: string; optionColorActivePending: string; actionTextColor: string; loadingColor: string; height: string; paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; optionPaddingTiny: string; opti