import { PropType, 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, RenderOption, NodeProps, RenderOptionImpl, DropdownMenuProps } from './interface'; export interface DropdownInjection { renderLabelRef: Ref; renderIconRef: Ref; renderOptionRef: Ref; menuPropsRef: Ref; nodePropsRef: 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; } export 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 menuProps: PropType; readonly showArrow: BooleanConstructor; readonly renderLabel: PropType; readonly renderIcon: PropType; readonly renderOption: PropType; readonly nodeProps: 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 arrowPointToCenter: BooleanConstructor; 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 zIndex: NumberConstructor; readonly to: { type: PropType; default: undefined; }; readonly scrollable: BooleanConstructor; readonly contentStyle: PropType; readonly headerStyle: PropType; readonly footerStyle: PropType; readonly onClickoutside: PropType<(e: MouseEvent) => void>; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly internalDeactivateImmediately: BooleanConstructor; readonly internalSyncTargetWithParent: BooleanConstructor; readonly internalInheritedEventHandlers: { type: PropType; default: () => never[]; }; readonly internalTrapFocus: BooleanConstructor; readonly internalExtraClass: { type: PropType; default: () => never[]; }; readonly onShow: PropType void> | undefined>; readonly onHide: PropType void> | undefined>; readonly arrow: { type: PropType; default: undefined; }; readonly minWidth: NumberConstructor; readonly maxWidth: NumberConstructor; }; export 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 menuProps: PropType; readonly showArrow: BooleanConstructor; readonly renderLabel: PropType; readonly renderIcon: PropType; readonly renderOption: PropType; readonly nodeProps: 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 arrowPointToCenter: BooleanConstructor; 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 zIndex: NumberConstructor; readonly to: { type: PropType; default: undefined; }; readonly scrollable: BooleanConstructor; readonly contentStyle: PropType; readonly headerStyle: PropType; readonly footerStyle: PropType; readonly onClickoutside: PropType<(e: MouseEvent) => void>; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly internalDeactivateImmediately: BooleanConstructor; readonly internalSyncTargetWithParent: BooleanConstructor; readonly internalInheritedEventHandlers: { type: PropType; default: () => never[]; }; readonly internalTrapFocus: BooleanConstructor; readonly internalExtraClass: { type: PropType; default: () => never[]; }; 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; closeIconColor: string; closeIconColorHover: string; closeIconColorPressed: string; closeColorHover: string; closeColorPressed: 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; fontSizeMini: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; lineHeight: string; heightMini: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; heightHuge: 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; handleAfterLeave: () => void; doUpdateShow: (value: boolean) => void; cssVars: import("vue").ComputedRef | undefined; themeClass: Ref | undefined; onRender: (() => void) | undefined; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, 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 menuProps: PropType; readonly showArrow: BooleanConstructor; readonly renderLabel: PropType; readonly renderIcon: PropType; readonly renderOption: PropType; readonly nodeProps: 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 arrowPointToCenter: BooleanConstructor; 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 zIndex: NumberConstructor; readonly to: { type: PropType; default: undefined; }; readonly scrollable: BooleanConstructor; readonly contentStyle: PropType; readonly headerStyle: PropType; readonly footerStyle: PropType; readonly onClickoutside: PropType<(e: MouseEvent) => void>; readonly 'onUpdate:show': PropType void>>; readonly onUpdateShow: PropType void>>; readonly internalDeactivateImmediately: BooleanConstructor; readonly internalSyncTargetWithParent: BooleanConstructor; readonly internalInheritedEventHandlers: { type: PropType; default: () => never[]; }; readonly internalTrapFocus: BooleanConstructor; readonly internalExtraClass: { type: PropType; default: () => never[]; }; readonly onShow: PropType void> | undefined>; readonly onHide: PropType void> | undefined>; readonly arrow: { type: PropType; default: undefined; }; readonly minWidth: NumberConstructor; readonly maxWidth: NumberConstructor; }>>, { readonly size: "small" | "medium" | "large" | "huge"; readonly show: boolean | undefined; readonly flip: boolean; readonly width: number | "trigger"; readonly disabled: boolean; readonly duration: number; readonly to: string | boolean | HTMLElement; readonly options: DropdownMixedOption[]; readonly raw: boolean; readonly placement: FollowerPlacement; readonly overlap: boolean; readonly keyField: string; readonly scrollable: boolean; readonly trigger: import("../../popover").PopoverTrigger; readonly labelField: string; readonly showArrow: boolean; readonly delay: number; readonly arrowPointToCenter: boolean; readonly displayDirective: "show" | "if"; readonly keepAliveOnHover: boolean; readonly internalDeactivateImmediately: boolean; readonly animated: boolean; readonly internalTrapFocus: boolean; readonly defaultShow: boolean; readonly internalSyncTargetWithParent: boolean; readonly internalInheritedEventHandlers: import("../../popover/src/Popover").TriggerEventHandlers[]; readonly internalExtraClass: string[]; readonly arrow: boolean | undefined; readonly childrenField: string; readonly keyboard: boolean; readonly inverted: boolean; }>; export default _default;