UNPKG

hongluan-ui

Version:
131 lines (130 loc) 6.64 kB
import type { ExtractPropTypes } from 'vue'; import type Mention from './mention.vue'; import type { MentionOption } from './types'; import type { Options } from 'hongluan-ui/es/components/popper'; export declare const mentionProps: { options: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<MentionOption[]>, unknown, unknown, () => any[], boolean>; prefix: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<string | string[]>, unknown, unknown, string, boolean>; split: import("hongluan-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>; filterOption: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<false | ((pattern: string, option: MentionOption) => boolean)>, unknown, unknown, () => (pattern: string, option: MentionOption) => boolean, boolean>; placement: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<"top" | "bottom">, unknown, unknown, string, boolean>; showArrow: BooleanConstructor; offset: import("hongluan-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>; whole: BooleanConstructor; checkIsWhole: { readonly type: import("vue").PropType<(pattern: string, prefix: string) => boolean>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; modelValue: StringConstructor; loading: BooleanConstructor; popperClass: import("hongluan-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>; popperOptions: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<Partial<Options>>, unknown, unknown, () => Partial<Options>, boolean>; ariaLabel: StringConstructor; id: { readonly type: import("vue").PropType<string>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; maxlength: { readonly type: import("vue").PropType<import("hongluan-ui/es/utils").EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; minlength: { readonly type: import("vue").PropType<import("hongluan-ui/es/utils").EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; nativeType: import("hongluan-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>; size: { readonly type: import("vue").PropType<import("hongluan-ui/es/utils").EpPropMergeType<import("vue").PropType<"xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl">, unknown, unknown>>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; resize: { readonly type: import("vue").PropType<import("hongluan-ui/es/utils").EpPropMergeType<import("vue").PropType<"horizontal" | "vertical" | "none" | "both">, unknown, unknown>>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; rows: import("hongluan-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>; autosize: { readonly type: import("vue").PropType<unknown>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; autocomplete: import("hongluan-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>; type: { readonly type: import("vue").PropType<import("hongluan-ui/es/utils").EpPropMergeType<import("vue").PropType<"success" | "info" | "warning" | "danger" | "link" | "primary">, unknown, unknown>>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; formatter: { readonly type: import("vue").PropType<Function>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; parser: { readonly type: import("vue").PropType<Function>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; placeholder: { readonly type: import("vue").PropType<string>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; form: { readonly type: import("vue").PropType<string>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; disabled: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>; readonly: BooleanConstructor; clearable: BooleanConstructor; showPassword: BooleanConstructor; showWordLimit: BooleanConstructor; block: BooleanConstructor; label: { readonly type: import("vue").PropType<string>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; containerRole: { readonly type: import("vue").PropType<string>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; tabindex: import("hongluan-ui/es/utils").EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, number, boolean>; validateEvent: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>; round: BooleanConstructor; fill: BooleanConstructor; thin: BooleanConstructor; inputStyle: import("hongluan-ui/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, () => {}, boolean>; autofocus: BooleanConstructor; }; export declare const mentionEmits: { "update:modelValue": (value: string) => boolean; search: (pattern: string, prefix: string) => boolean; select: (option: MentionOption, prefix: string) => boolean; focus: (evt: FocusEvent) => boolean; blur: (evt: FocusEvent) => boolean; }; export declare type MentionEmits = typeof mentionEmits; export declare type MentionProps = ExtractPropTypes<typeof mentionProps>; export declare type MentionInstance = InstanceType<typeof Mention>; export type { MentionOption } from './types';