import { PropType, CSSProperties, Ref } from 'vue'; import { Key, TreeNode } from 'treemate'; import { FollowerPlacement } from 'vueuc'; import { MaybeArray, ExtractPublicPropTypes } from '../../_utils'; import { DropdownMixedOption, OnUpdateValue, OnUpdateValueImpl, RenderLabel, RenderIcon, RenderLabelImpl, RenderIconImpl } from './interface'; export interface DropdownInjection { renderLabelRef: Ref; renderIconRef: Ref; hoverKeyRef: Ref; keyboardKeyRef: Ref; lastToggledSubmenuKeyRef: Ref; pendingKeyPathRef: Ref; activeKeyPathRef: Ref; animatedRef: Ref; mergedShowRef: Ref; labelFieldRef: Ref; childrenFieldRef: Ref; doSelect: OnUpdateValueImpl; doUpdateShow: (value: boolean) => void; } declare const dropdownProps: { readonly theme: PropType; }>>; readonly themeOverrides: PropType; }>>>; readonly builtinThemeOverrides: PropType; }>>>; readonly animated: { readonly type: BooleanConstructor; readonly default: true; }; readonly keyboard: { readonly type: BooleanConstructor; readonly default: true; }; readonly size: { readonly type: PropType<"small" | "medium" | "large" | "huge">; readonly default: "medium"; }; readonly inverted: BooleanConstructor; readonly placement: { readonly type: PropType; readonly default: "bottom"; }; readonly onSelect: PropType>; readonly options: { readonly type: PropType; readonly default: () => never[]; }; readonly showArrow: BooleanConstructor; readonly renderLabel: PropType; readonly renderIcon: PropType; readonly labelField: { readonly type: StringConstructor; readonly default: "label"; }; readonly keyField: { readonly type: StringConstructor; readonly default: "key"; }; readonly childrenField: { readonly type: StringConstructor; readonly default: "children"; }; readonly value: PropType; readonly show: { type: PropType; default: undefined; }; readonly defaultShow: BooleanConstructor; readonly trigger: { type: PropType; default: string; }; readonly delay: { type: NumberConstructor; default: number; }; readonly duration: { type: NumberConstructor; default: number; }; readonly raw: BooleanConstructor; readonly x: NumberConstructor; readonly y: NumberConstructor; readonly disabled: BooleanConstructor; readonly getDisabled: PropType<() => boolean>; readonly displayDirective: { type: PropType<"show" | "if">; default: string; }; readonly arrowStyle: PropType; readonly flip: { type: BooleanConstructor; default: boolean; }; readonly width: { type: PropType; default: undefined; }; readonly overlap: BooleanConstructor; readonly keepAliveOnHover: { type: BooleanConstructor; default: boolean; }; readonly onClickoutside: PropType<(e: MouseEvent) => void>; readonly internalExtraClass: { type: PropType; default: () => never[]; }; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly zIndex: NumberConstructor; readonly to: { type: PropType; default: undefined; }; readonly internalSyncTargetWithParent: BooleanConstructor; readonly internalInheritedEventHandlers: { type: PropType; default: () => never[]; }; readonly internalTrapFocus: BooleanConstructor; readonly onShow: PropType void> | undefined>; readonly onHide: PropType void> | undefined>; readonly arrow: { type: PropType; default: undefined; }; readonly minWidth: NumberConstructor; readonly maxWidth: NumberConstructor; }; export declare type DropdownProps = ExtractPublicPropTypes; declare const _default: import("vue").DefineComponent<{ readonly theme: PropType; }>>; readonly themeOverrides: PropType; }>>>; readonly builtinThemeOverrides: PropType; }>>>; readonly animated: { readonly type: BooleanConstructor; readonly default: true; }; readonly keyboard: { readonly type: BooleanConstructor; readonly default: true; }; readonly size: { readonly type: PropType<"small" | "medium" | "large" | "huge">; readonly default: "medium"; }; readonly inverted: BooleanConstructor; readonly placement: { readonly type: PropType; readonly default: "bottom"; }; readonly onSelect: PropType>; readonly options: { readonly type: PropType; readonly default: () => never[]; }; readonly showArrow: BooleanConstructor; readonly renderLabel: PropType; readonly renderIcon: PropType; readonly labelField: { readonly type: StringConstructor; readonly default: "label"; }; readonly keyField: { readonly type: StringConstructor; readonly default: "key"; }; readonly childrenField: { readonly type: StringConstructor; readonly default: "children"; }; readonly value: PropType; readonly show: { type: PropType; default: undefined; }; readonly defaultShow: BooleanConstructor; readonly trigger: { type: PropType; default: string; }; readonly delay: { type: NumberConstructor; default: number; }; readonly duration: { type: NumberConstructor; default: number; }; readonly raw: BooleanConstructor; readonly x: NumberConstructor; readonly y: NumberConstructor; readonly disabled: BooleanConstructor; readonly getDisabled: PropType<() => boolean>; readonly displayDirective: { type: PropType<"show" | "if">; default: string; }; readonly arrowStyle: PropType; readonly flip: { type: BooleanConstructor; default: boolean; }; readonly width: { type: PropType; default: undefined; }; readonly overlap: BooleanConstructor; readonly keepAliveOnHover: { type: BooleanConstructor; default: boolean; }; readonly onClickoutside: PropType<(e: MouseEvent) => void>; readonly internalExtraClass: { type: PropType; default: () => never[]; }; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly zIndex: NumberConstructor; readonly to: { type: PropType; default: undefined; }; readonly internalSyncTargetWithParent: BooleanConstructor; readonly internalInheritedEventHandlers: { type: PropType; default: () => never[]; }; readonly internalTrapFocus: BooleanConstructor; readonly onShow: PropType void> | undefined>; readonly onHide: PropType void> | undefined>; readonly arrow: { type: PropType; default: undefined; }; readonly minWidth: NumberConstructor; readonly maxWidth: NumberConstructor; }, { mergedClsPrefix: import("vue").ComputedRef; mergedTheme: import("vue").ComputedRef<{ common: { baseColor: string; primaryColor: string; primaryColorHover: string; primaryColorPressed: string; primaryColorSuppl: string; infoColor: string; infoColorHover: string; infoColorPressed: string; infoColorSuppl: string; successColor: string; successColorHover: string; successColorPressed: string; successColorSuppl: string; warningColor: string; warningColorHover: string; warningColorPressed: string; warningColorSuppl: string; errorColor: string; errorColorHover: string; errorColorPressed: string; errorColorSuppl: string; textColorBase: string; textColor1: string; textColor2: string; textColor3: string; textColorDisabled: string; placeholderColor: string; placeholderColorDisabled: string; iconColor: string; iconColorHover: string; iconColorPressed: string; iconColorDisabled: string; opacity1: string; opacity2: string; opacity3: string; opacity4: string; opacity5: string; dividerColor: string; borderColor: string; closeColor: string; closeColorHover: string; closeColorPressed: string; closeColorDisabled: string; clearColor: string; clearColorHover: string; clearColorPressed: string; scrollbarColor: string; scrollbarColorHover: string; scrollbarWidth: string; scrollbarHeight: string; scrollbarBorderRadius: string; progressRailColor: string; railColor: string; popoverColor: string; tableColor: string; cardColor: string; modalColor: string; bodyColor: string; tagColor: string; avatarColor: string; invertedColor: string; inputColor: string; codeColor: string; tabColor: string; actionColor: string; tableHeaderColor: string; hoverColor: string; tableColorHover: string; tableColorStriped: string; pressedColor: string; opacityDisabled: string; inputColorDisabled: string; buttonColor2: string; buttonColor2Hover: string; buttonColor2Pressed: string; boxShadow1: string; boxShadow2: string; boxShadow3: string; fontFamily: string; fontFamilyMono: string; fontWeight: string; fontWeightStrong: string; cubicBezierEaseInOut: string; cubicBezierEaseOut: string; cubicBezierEaseIn: string; borderRadius: string; borderRadiusSmall: string; fontSize: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; lineHeight: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; heightHuge: string; transformDebounceScale: string; name: "common"; }; self: { optionHeightSmall: string; optionHeightMedium: string; optionHeightLarge: string; optionHeightHuge: string; borderRadius: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; optionTextColor: string; optionTextColorHover: string; optionTextColorActive: string; optionTextColorChildActive: string; color: string; dividerColor: string; suffixColor: string; prefixColor: string; optionColorHover: string; optionColorActive: string; groupHeaderTextColor: string; optionTextColorInverted: string; optionTextColorHoverInverted: string; optionTextColorActiveInverted: string; optionTextColorChildActiveInverted: string; colorInverted: string; dividerColorInverted: string; suffixColorInverted: string; prefixColorInverted: string; optionColorHoverInverted: string; optionColorActiveInverted: string; groupHeaderTextColorInverted: string; optionOpacityDisabled: string; padding: string; optionIconSizeSmall: string; optionIconSizeMedium: string; optionIconSizeLarge: string; optionIconSizeHuge: string; optionSuffixWidthSmall: string; optionSuffixWidthMedium: string; optionSuffixWidthLarge: string; optionSuffixWidthHuge: string; optionIconSuffixWidthSmall: string; optionIconSuffixWidthMedium: string; optionIconSuffixWidthLarge: string; optionIconSuffixWidthHuge: string; optionPrefixWidthSmall: string; optionPrefixWidthMedium: string; optionPrefixWidthLarge: string; optionPrefixWidthHuge: string; optionIconPrefixWidthSmall: string; optionIconPrefixWidthMedium: string; optionIconPrefixWidthLarge: string; optionIconPrefixWidthHuge: string; }; peers: { 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>; }; peerOverrides: { Popover?: { peers?: { [x: string]: any; } | undefined; } | undefined; }; }>; tmNodes: import("vue").ComputedRef[]>; mergedShow: import("vue").ComputedRef; doUpdateShow: (value: boolean) => void; cssVars: import("vue").ComputedRef; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; }>>; readonly themeOverrides: PropType; }>>>; readonly builtinThemeOverrides: PropType; }>>>; readonly animated: { readonly type: BooleanConstructor; readonly default: true; }; readonly keyboard: { readonly type: BooleanConstructor; readonly default: true; }; readonly size: { readonly type: PropType<"small" | "medium" | "large" | "huge">; readonly default: "medium"; }; readonly inverted: BooleanConstructor; readonly placement: { readonly type: PropType; readonly default: "bottom"; }; readonly onSelect: PropType>; readonly options: { readonly type: PropType; readonly default: () => never[]; }; readonly showArrow: BooleanConstructor; readonly renderLabel: PropType; readonly renderIcon: PropType; readonly labelField: { readonly type: StringConstructor; readonly default: "label"; }; readonly keyField: { readonly type: StringConstructor; readonly default: "key"; }; readonly childrenField: { readonly type: StringConstructor; readonly default: "children"; }; readonly value: PropType; readonly show: { type: PropType; default: undefined; }; readonly defaultShow: BooleanConstructor; readonly trigger: { type: PropType; default: string; }; readonly delay: { type: NumberConstructor; default: number; }; readonly duration: { type: NumberConstructor; default: number; }; readonly raw: BooleanConstructor; readonly x: NumberConstructor; readonly y: NumberConstructor; readonly disabled: BooleanConstructor; readonly getDisabled: PropType<() => boolean>; readonly displayDirective: { type: PropType<"show" | "if">; default: string; }; readonly arrowStyle: PropType; readonly flip: { type: BooleanConstructor; default: boolean; }; readonly width: { type: PropType; default: undefined; }; readonly overlap: BooleanConstructor; readonly keepAliveOnHover: { type: BooleanConstructor; default: boolean; }; readonly onClickoutside: PropType<(e: MouseEvent) => void>; readonly internalExtraClass: { type: PropType; default: () => never[]; }; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly zIndex: NumberConstructor; readonly to: { type: PropType; default: undefined; }; readonly internalSyncTargetWithParent: BooleanConstructor; readonly internalInheritedEventHandlers: { type: PropType; default: () => never[]; }; readonly internalTrapFocus: BooleanConstructor; readonly onShow: PropType void> | undefined>; readonly onHide: PropType void> | undefined>; readonly arrow: { type: PropType; default: undefined; }; readonly minWidth: NumberConstructor; readonly maxWidth: NumberConstructor; }>>, { size: "small" | "medium" | "large" | "huge"; show: boolean | undefined; flip: boolean; width: number | "trigger"; disabled: boolean; duration: number; to: string | boolean | HTMLElement; options: DropdownMixedOption[]; raw: boolean; placement: FollowerPlacement; overlap: boolean; keyField: string; trigger: import("../../popover").PopoverTrigger; showArrow: boolean; delay: number; displayDirective: "show" | "if"; keepAliveOnHover: boolean; internalTrapFocus: boolean; animated: boolean; defaultShow: boolean; internalExtraClass: string[]; internalSyncTargetWithParent: boolean; internalInheritedEventHandlers: import("../../popover/src/Popover").TriggerEventHandlers[]; arrow: boolean | undefined; labelField: string; keyboard: boolean; inverted: boolean; childrenField: string; }>; export default _default;