naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
1,302 lines • 75.4 kB
TypeScript
import type { NodeProps, RenderLabel, RenderOption } from '../../_internal/select-menu/src/interface';
import type { RenderTag } from '../../_internal/selection/src/interface';
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
import type { FormValidationStatus } from '../../form/src/public-types';
import type { PopoverProps } from '../../popover';
import type { OnUpdateValue, SelectBaseOption, SelectFallbackOption, SelectFilter, SelectGroupOption, SelectIgnoredOption, SelectMixedOption, SelectOption, Size, Value, ValueAtom } from './interface';
import { type TreeNode } from 'treemate';
import { type HTMLAttributes, type InputHTMLAttributes, type PropType, type SlotsType, type VNode } from 'vue';
import { type FollowerInst, type FollowerPlacement } from 'vueuc';
import { type InternalSelectionInst } from '../../_internal';
export declare const selectProps: {
readonly to: {
type: PropType<HTMLElement | string | boolean>;
default: undefined;
};
readonly bordered: {
readonly type: PropType<boolean | undefined>;
readonly default: undefined;
};
readonly clearable: BooleanConstructor;
readonly clearFilterAfterSelect: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly options: {
readonly type: PropType<SelectMixedOption[]>;
readonly default: () => never[];
};
readonly defaultValue: {
readonly type: PropType<Value | null>;
readonly default: null;
};
readonly keyboard: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly value: PropType<Value | null>;
readonly placeholder: StringConstructor;
readonly menuProps: PropType<HTMLAttributes>;
readonly multiple: BooleanConstructor;
readonly size: PropType<Size>;
readonly menuSize: {
readonly type: PropType<Size>;
};
readonly filterable: BooleanConstructor;
readonly disabled: {
readonly type: PropType<boolean | undefined>;
readonly default: undefined;
};
readonly remote: BooleanConstructor;
readonly loading: BooleanConstructor;
readonly filter: PropType<SelectFilter>;
readonly placement: {
readonly type: PropType<FollowerPlacement>;
readonly default: "bottom-start";
};
readonly widthMode: {
readonly type: StringConstructor;
readonly default: "trigger";
};
readonly tag: BooleanConstructor;
readonly onCreate: PropType<(label: string) => SelectOption>;
readonly fallbackOption: {
readonly type: PropType<SelectFallbackOption | false | undefined>;
readonly default: undefined;
};
readonly show: {
readonly type: PropType<boolean | undefined>;
readonly default: undefined;
};
readonly showArrow: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly maxTagCount: PropType<number | "responsive">;
readonly ellipsisTagPopoverProps: PropType<PopoverProps>;
readonly consistentMenuWidth: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly virtualScroll: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly valueField: {
readonly type: StringConstructor;
readonly default: "value";
};
readonly childrenField: {
readonly type: StringConstructor;
readonly default: "children";
};
readonly renderLabel: PropType<RenderLabel>;
readonly renderOption: PropType<RenderOption>;
readonly renderTag: PropType<RenderTag>;
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue> | undefined>;
readonly inputProps: PropType<InputHTMLAttributes>;
readonly nodeProps: PropType<NodeProps>;
readonly ignoreComposition: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showOnFocus: BooleanConstructor;
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
readonly onBlur: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
readonly onClear: PropType<MaybeArray<() => void> | undefined>;
readonly onFocus: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
readonly onScroll: PropType<MaybeArray<(e: Event) => void> | undefined>;
readonly onSearch: PropType<MaybeArray<(value: string) => void> | undefined>;
readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
readonly displayDirective: {
readonly type: PropType<"if" | "show">;
readonly default: "show";
};
readonly resetMenuOnOptionsChange: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly status: PropType<FormValidationStatus>;
readonly showCheckmark: {
readonly type: BooleanConstructor;
readonly default: true;
};
/** deprecated */
readonly onChange: PropType<MaybeArray<OnUpdateValue>>;
readonly items: PropType<SelectMixedOption[]>;
readonly theme: PropType<import("../../_mixins").Theme<"Select", {
menuBoxShadow: string;
}, {
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: string;
fontWeight: string;
textColor: string;
textColorDisabled: string;
placeholderColor: string;
placeholderColorDisabled: string;
color: string;
colorDisabled: string;
colorActive: string;
border: string;
borderHover: string;
borderActive: string;
borderFocus: string;
boxShadowHover: string;
boxShadowActive: string;
boxShadowFocus: string;
caretColor: string;
arrowColor: string;
arrowColorDisabled: string;
loadingColor: string;
borderWarning: string;
borderHoverWarning: string;
borderActiveWarning: string;
borderFocusWarning: string;
boxShadowHoverWarning: string;
boxShadowActiveWarning: string;
boxShadowFocusWarning: string;
colorActiveWarning: string;
caretColorWarning: string;
borderError: string;
borderHoverError: string;
borderActiveError: string;
borderFocusError: string;
boxShadowHoverError: string;
boxShadowActiveError: string;
boxShadowFocusError: string;
colorActiveError: string;
caretColorError: string;
clearColor: string;
clearColorHover: string;
clearColorPressed: string;
paddingSingle: string;
paddingMultiple: string;
clearSize: string;
arrowSize: string;
}, {
Popover: import("../../_mixins").Theme<"Popover", {
fontSize: string;
borderRadius: string;
color: string;
dividerColor: string;
textColor: string;
boxShadow: string;
space: string;
spaceArrow: string;
arrowOffset: string;
arrowOffsetVertical: string;
arrowHeight: string;
padding: string;
}, any>;
}>;
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>;
}>;
}>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Select", {
menuBoxShadow: string;
}, {
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: string;
fontWeight: string;
textColor: string;
textColorDisabled: string;
placeholderColor: string;
placeholderColorDisabled: string;
color: string;
colorDisabled: string;
colorActive: string;
border: string;
borderHover: string;
borderActive: string;
borderFocus: string;
boxShadowHover: string;
boxShadowActive: string;
boxShadowFocus: string;
caretColor: string;
arrowColor: string;
arrowColorDisabled: string;
loadingColor: string;
borderWarning: string;
borderHoverWarning: string;
borderActiveWarning: string;
borderFocusWarning: string;
boxShadowHoverWarning: string;
boxShadowActiveWarning: string;
boxShadowFocusWarning: string;
colorActiveWarning: string;
caretColorWarning: string;
borderError: string;
borderHoverError: string;
borderActiveError: string;
borderFocusError: string;
boxShadowHoverError: string;
boxShadowActiveError: string;
boxShadowFocusError: string;
colorActiveError: string;
caretColorError: string;
clearColor: string;
clearColorHover: string;
clearColorPressed: string;
paddingSingle: string;
paddingMultiple: string;
clearSize: string;
arrowSize: string;
}, {
Popover: import("../../_mixins").Theme<"Popover", {
fontSize: string;
borderRadius: string;
color: string;
dividerColor: string;
textColor: string;
boxShadow: string;
space: string;
spaceArrow: string;
arrowOffset: string;
arrowOffsetVertical: string;
arrowHeight: string;
padding: string;
}, any>;
}>;
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>;
}>;
}>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Select", {
menuBoxShadow: string;
}, {
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: string;
fontWeight: string;
textColor: string;
textColorDisabled: string;
placeholderColor: string;
placeholderColorDisabled: string;
color: string;
colorDisabled: string;
colorActive: string;
border: string;
borderHover: string;
borderActive: string;
borderFocus: string;
boxShadowHover: string;
boxShadowActive: string;
boxShadowFocus: string;
caretColor: string;
arrowColor: string;
arrowColorDisabled: string;
loadingColor: string;
borderWarning: string;
borderHoverWarning: string;
borderActiveWarning: string;
borderFocusWarning: string;
boxShadowHoverWarning: string;
boxShadowActiveWarning: string;
boxShadowFocusWarning: string;
colorActiveWarning: string;
caretColorWarning: string;
borderError: string;
borderHoverError: string;
borderActiveError: string;
borderFocusError: string;
boxShadowHoverError: string;
boxShadowActiveError: string;
boxShadowFocusError: string;
colorActiveError: string;
caretColorError: string;
clearColor: string;
clearColorHover: string;
clearColorPressed: string;
paddingSingle: string;
paddingMultiple: string;
clearSize: string;
arrowSize: string;
}, {
Popover: import("../../_mixins").Theme<"Popover", {
fontSize: string;
borderRadius: string;
color: string;
dividerColor: string;
textColor: string;
boxShadow: string;
space: string;
spaceArrow: string;
arrowOffset: string;
arrowOffsetVertical: string;
arrowHeight: string;
padding: string;
}, any>;
}>;
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>;
}>;
}>>>;
};
export type SelectProps = ExtractPublicPropTypes<typeof selectProps>;
export interface SelectSlots {
default?: () => VNode[];
header?: () => VNode[];
action?: () => VNode[];
empty?: () => VNode[];
arrow?: () => VNode[];
}
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly to: {
type: PropType<HTMLElement | string | boolean>;
default: undefined;
};
readonly bordered: {
readonly type: PropType<boolean | undefined>;
readonly default: undefined;
};
readonly clearable: BooleanConstructor;
readonly clearFilterAfterSelect: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly options: {
readonly type: PropType<SelectMixedOption[]>;
readonly default: () => never[];
};
readonly defaultValue: {
readonly type: PropType<Value | null>;
readonly default: null;
};
readonly keyboard: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly value: PropType<Value | null>;
readonly placeholder: StringConstructor;
readonly menuProps: PropType<HTMLAttributes>;
readonly multiple: BooleanConstructor;
readonly size: PropType<Size>;
readonly menuSize: {
readonly type: PropType<Size>;
};
readonly filterable: BooleanConstructor;
readonly disabled: {
readonly type: PropType<boolean | undefined>;
readonly default: undefined;
};
readonly remote: BooleanConstructor;
readonly loading: BooleanConstructor;
readonly filter: PropType<SelectFilter>;
readonly placement: {
readonly type: PropType<FollowerPlacement>;
readonly default: "bottom-start";
};
readonly widthMode: {
readonly type: StringConstructor;
readonly default: "trigger";
};
readonly tag: BooleanConstructor;
readonly onCreate: PropType<(label: string) => SelectOption>;
readonly fallbackOption: {
readonly type: PropType<SelectFallbackOption | false | undefined>;
readonly default: undefined;
};
readonly show: {
readonly type: PropType<boolean | undefined>;
readonly default: undefined;
};
readonly showArrow: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly maxTagCount: PropType<number | "responsive">;
readonly ellipsisTagPopoverProps: PropType<PopoverProps>;
readonly consistentMenuWidth: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly virtualScroll: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly valueField: {
readonly type: StringConstructor;
readonly default: "value";
};
readonly childrenField: {
readonly type: StringConstructor;
readonly default: "children";
};
readonly renderLabel: PropType<RenderLabel>;
readonly renderOption: PropType<RenderOption>;
readonly renderTag: PropType<RenderTag>;
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue> | undefined>;
readonly inputProps: PropType<InputHTMLAttributes>;
readonly nodeProps: PropType<NodeProps>;
readonly ignoreComposition: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showOnFocus: BooleanConstructor;
readonly onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
readonly onBlur: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
readonly onClear: PropType<MaybeArray<() => void> | undefined>;
readonly onFocus: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
readonly onScroll: PropType<MaybeArray<(e: Event) => void> | undefined>;
readonly onSearch: PropType<MaybeArray<(value: string) => void> | undefined>;
readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
readonly displayDirective: {
readonly type: PropType<"if" | "show">;
readonly default: "show";
};
readonly resetMenuOnOptionsChange: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly status: PropType<FormValidationStatus>;
readonly showCheckmark: {
readonly type: BooleanConstructor;
readonly default: true;
};
/** deprecated */
readonly onChange: PropType<MaybeArray<OnUpdateValue>>;
readonly items: PropType<SelectMixedOption[]>;
readonly theme: PropType<import("../../_mixins").Theme<"Select", {
menuBoxShadow: string;
}, {
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: string;
fontWeight: string;
textColor: string;
textColorDisabled: string;
placeholderColor: string;
placeholderColorDisabled: string;
color: string;
colorDisabled: string;
colorActive: string;
border: string;
borderHover: string;
borderActive: string;
borderFocus: string;
boxShadowHover: string;
boxShadowActive: string;
boxShadowFocus: string;
caretColor: string;
arrowColor: string;
arrowColorDisabled: string;
loadingColor: string;
borderWarning: string;
borderHoverWarning: string;
borderActiveWarning: string;
borderFocusWarning: string;
boxShadowHoverWarning: string;
boxShadowActiveWarning: string;
boxShadowFocusWarning: string;
colorActiveWarning: string;
caretColorWarning: string;
borderError: string;
borderHoverError: string;
borderActiveError: string;
borderFocusError: string;
boxShadowHoverError: string;
boxShadowActiveError: string;
boxShadowFocusError: string;
colorActiveError: string;
caretColorError: string;
clearColor: string;
clearColorHover: string;
clearColorPressed: string;
paddingSingle: string;
paddingMultiple: string;
clearSize: string;
arrowSize: string;
}, {
Popover: import("../../_mixins").Theme<"Popover", {
fontSize: string;
borderRadius: string;
color: string;
dividerColor: string;
textColor: string;
boxShadow: string;
space: string;
spaceArrow: string;
arrowOffset: string;
arrowOffsetVertical: string;
arrowHeight: string;
padding: string;
}, any>;
}>;
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>;
}>;
}>>;
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Select", {
menuBoxShadow: string;
}, {
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: string;
fontWeight: string;
textColor: string;
textColorDisabled: string;
placeholderColor: string;
placeholderColorDisabled: string;
color: string;
colorDisabled: string;
colorActive: string;
border: string;
borderHover: string;
borderActive: string;
borderFocus: string;
boxShadowHover: string;
boxShadowActive: string;
boxShadowFocus: string;
caretColor: string;
arrowColor: string;
arrowColorDisabled: string;
loadingColor: string;
borderWarning: string;
borderHoverWarning: string;
borderActiveWarning: string;
borderFocusWarning: string;
boxShadowHoverWarning: string;
boxShadowActiveWarning: string;
boxShadowFocusWarning: string;
colorActiveWarning: string;
caretColorWarning: string;
borderError: string;
borderHoverError: string;
borderActiveError: string;
borderFocusError: string;
boxShadowHoverError: string;
boxShadowActiveError: string;
boxShadowFocusError: string;
colorActiveError: string;
caretColorError: string;
clearColor: string;
clearColorHover: string;
clearColorPressed: string;
paddingSingle: string;
paddingMultiple: string;
clearSize: string;
arrowSize: string;
}, {
Popover: import("../../_mixins").Theme<"Popover", {
fontSize: string;
borderRadius: string;
color: string;
dividerColor: string;
textColor: string;
boxShadow: string;
space: string;
spaceArrow: string;
arrowOffset: string;
arrowOffsetVertical: string;
arrowHeight: string;
padding: string;
}, any>;
}>;
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>;
}>;
}>>>;
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Select", {
menuBoxShadow: string;
}, {
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: string;
fontWeight: string;
textColor: string;
textColorDisabled: string;
placeholderColor: string;
placeholderColorDisabled: string;
color: string;
colorDisabled: string;
colorActive: string;
border: string;
borderHover: string;
borderActive: string;
borderFocus: string;
boxShadowHover: string;
boxShadowActive: string;
boxShadowFocus: string;
caretColor: string;
arrowColor: string;
arrowColorDisabled: string;
loadingColor: string;
borderWarning: string;
borderHoverWarning: string;
borderActiveWarning: string;
borderFocusWarning: string;
boxShadowHoverWarning: string;
boxShadowActiveWarning: string;
boxShadowFocusWarning: string;
colorActiveWarning: string;
caretColorWarning: string;
borderError: string;
borderHoverError: string;
borderActiveError: string;
borderFocusError: string;
boxShadowHoverError: string;
boxShadowActiveError: string;
boxShadowFocusError: string;
colorActiveError: string;
caretColorError: string;
clearColor: string;
clearColorHover: string;
clearColorPressed: string;
paddingSingle: string;
paddingMultiple: string;
clearSize: string;
arrowSize: string;
}, {
Popover: import("../../_mixins").Theme<"Popover", {
fontSize: string;
borderRadius: string;
color: string;
dividerColor: string;
textColor: string;
boxShadow: string;
space: string;
spaceArrow: string;
arrowOffset: string;
arrowOffsetVertical: string;
arrowHeight: string;
padding: string;
}, any>;
}>;
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>;
}>;
}>>>;
}>, {
mergedStatus: import("vue").ComputedRef<FormValidationStatus | undefined>;
mergedClsPrefix: import("vue").Ref<string, string>;
mergedBordered: import("vue").ComputedRef<boolean>;
namespace: import("vue").ComputedRef<string | undefined>;
treeMate: import("vue").ComputedRef<import("treemate").TreeMate<SelectOption, SelectGroupOption, SelectIgnoredOption>>;
isMounted: Readonly<import("vue").Ref<boolean, boolean>>;
triggerRef: import("vue").Ref<{
isComposing: boolean;
focus: () => void;
focusInput: () => void;
blur: () => void;
blurInput: () => void;
$el: HTMLElement;
} | null, InternalSelectionInst | {
isComposing: boolean;
focus: () => void;
focusInput: () => void;
blur: () => void;
blurInput: () => void;
$el: HTMLElement;
} | null>;
menuRef: 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>;
pattern: import("vue").Ref<string, string>;
uncontrolledShow: import("vue").Ref<boolean, boolean>;
mergedShow: import("vue").ComputedRef<boolean>;
adjustedTo: import("vue").ComputedRef<string | HTMLElement>;
uncontrolledValue: import("vue").Ref<string[] | number[] | ValueAtom | ValueAtom[] | null, string | number | string[] | number[] | ValueAtom[] | ValueAtom[] | null>;
mergedValue: import("vue").ComputedRef<string | number | string[] | number[] | ValueAtom[] | ValueAtom[] | null>;
followerRef: import("vue").Ref<{
syncPosition: () => void;
} | null, FollowerInst | {
syncPosition: () => void;
} | null>;
localizedPlaceholder: import("vue").ComputedRef<string>;
selectedOption: import("vue").ComputedRef<SelectOption | null>;
selectedOptions: import("vue").ComputedRef<SelectOption[] | null>;
mergedSize: import("vue").ComputedRef<"small" | "medium" | "large" | "tiny">;
mergedDisabled: import("vue").ComputedRef<boolean>;
focused: import("vue").Ref<boolean, boolean>;
activeWithoutMenuOpen: import("vue").Ref<boolean, boolean>;
inlineThemeDisabled: boolean | undefined;
onTriggerInputFocus: () => void;
onTriggerInputBlur: () => void;
handleTriggerOrMenuResize: () => void;
handleMenuFocus: () => void;
handleMenuBlur: (e: FocusEvent) => void;
handleMenuTabOut: () => void;
handleTriggerClick: () => void;
handleToggle: (tmNode: TreeNode<SelectOption>) => void;
handleDeleteOption: (option: SelectOption) => void;
handlePatternInput: (e: InputEvent) => void;
handleClear: (e: MouseEvent) => void;
handleTriggerBlur: (e: FocusEvent) => void;
handleTriggerFocus: (e: FocusEvent) => void;
handleKeydown: (e: KeyboardEvent) => void;
handleMenuAfterLeave: () => void;
handleMenuClickOutside: (e: MouseEvent) => void;
handleMenuScroll: (e: Event) => void;
handleMenuKeydown: (e: KeyboardEvent) => void;
handleMenuMousedown: (e: MouseEvent) => void;
mergedTheme: import("vue").ComputedRef<{
common: import("../..").ThemeCommonVars;
self: {
menuBoxShadow: string;
};
peers: {
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: string;
fontWeight: string;
textColor: string;
textColorDisabled: string;
placeholderColor: string;
placeholderColorDisabled: string;
color: string;
colorDisabled: string;
colorActive: string;
border: string;
borderHover: string;
borderActive: string;
borderFocus: string;
boxShadowHover: string;
boxShadowActive: string;
boxShadowFocus: string;
caretColor: string;
arrowColor: string;
arrowColorDisabled: string;
loadingColor: string;
borderWarning: string;
borderHoverWarning: string;
borderActiveWarning: string;
borderFocusWarning: string;
boxShadowHoverWarning: string;
boxShadowActiveWarning: string;
boxShadowFocusWarning: string;
colorActiveWarning: string;
caretColorWarning: string;
borderError: string;
borderHoverError: string;
borderActiveError: string;
borderFocusError: string;
boxShadowHoverError: string;
boxShadowActiveError: string;
boxShadowFocusError: string;
colorActiveError: string;
caretColorError: string;
clearColor: string;
clearColorHover: string;
clearColorPressed: string;
paddingSingle: string;
paddingMultiple: string;
clearSize: string;
arrowSize: string;
}, {
Popover: import("../../_mixins").Theme<"Popover", {
fontSize: string;
borderRadius: string;
color: string;
dividerColor: string;
textColor: string;
boxShadow: string;
space: string;
spaceArrow: string;
arrowOffset: string;
arrowOffsetVertical: string;
arrowHeight: string;
padding: string;
}, any>;
}>;
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;
bord