import { PropType, HTMLAttributes, VNodeChild } from 'vue';
import { FollowerPlacement } from 'vueuc';
import { CheckStrategy } from 'treemate';
import type { FormValidationStatus } from '../../form/src/interface';
import { Key, TreeOption } from '../../tree/src/interface';
import type { SelectBaseOption, SelectOption } from '../../select/src/interface';
import { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
import type { OnUpdateValue, TreeSelectNodeProps, TreeSelectOption, TreeSelectRenderTag } from './interface';
type OnLoad = (node: TreeSelectOption) => Promise;
export declare const treeSelectProps: {
readonly renderLabel: PropType;
readonly renderPrefix: PropType;
readonly renderSuffix: PropType;
readonly nodeProps: PropType;
readonly onBlur: PropType<(e: FocusEvent) => void>;
readonly onFocus: PropType<(e: FocusEvent) => void>;
readonly onLoad: PropType;
readonly onUpdateShow: PropType void>>;
readonly onUpdateValue: PropType>;
readonly 'onUpdate:value': PropType>;
readonly 'onUpdate:show': PropType void>>;
/**
* @deprecated
*/
readonly leafOnly: BooleanConstructor;
readonly allowCheckingNotLoaded: BooleanConstructor;
readonly filter: PropType<(pattern: string, node: TreeOption) => boolean>;
readonly defaultExpandAll: BooleanConstructor;
readonly expandedKeys: PropType;
readonly keyField: {
readonly type: StringConstructor;
readonly default: "key";
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly childrenField: {
readonly type: StringConstructor;
readonly default: "children";
};
readonly disabledField: {
readonly type: StringConstructor;
readonly default: "disabled"; /**
* @deprecated
*/
};
readonly defaultExpandedKeys: {
readonly type: PropType;
readonly default: () => never[];
};
readonly indeterminateKeys: PropType;
readonly renderSwitcherIcon: PropType;
readonly onUpdateIndeterminateKeys: PropType>;
readonly 'onUpdate:indeterminateKeys': PropType>;
readonly onUpdateExpandedKeys: PropType>;
readonly 'onUpdate:expandedKeys': PropType>;
readonly bordered: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly cascade: BooleanConstructor;
readonly checkable: BooleanConstructor;
readonly clearable: BooleanConstructor;
readonly clearFilterAfterSelect: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly consistentMenuWidth: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly defaultShow: BooleanConstructor;
readonly defaultValue: {
readonly type: PropType;
readonly default: null;
};
readonly disabled: {
readonly type: PropType;
readonly default: undefined;
};
readonly filterable: BooleanConstructor;
readonly checkStrategy: {
readonly type: PropType;
readonly default: "all";
};
readonly loading: BooleanConstructor;
readonly maxTagCount: PropType;
readonly multiple: BooleanConstructor;
readonly showPath: BooleanConstructor;
readonly separator: {
readonly type: StringConstructor;
readonly default: " / ";
};
readonly options: {
readonly type: PropType;
readonly default: () => never[];
};
readonly placeholder: StringConstructor;
readonly placement: {
readonly type: PropType;
readonly default: "bottom-start";
};
readonly show: {
readonly type: PropType;
readonly default: undefined;
};
readonly size: PropType<"small" | "medium" | "large">;
readonly value: PropType;
readonly to: {
type: PropType;
default: undefined;
};
readonly menuProps: PropType;
readonly virtualScroll: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly status: PropType;
readonly renderTag: PropType;
readonly theme: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>;
readonly themeOverrides: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>>;
readonly builtinThemeOverrides: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>>;
};
export type TreeSelectProps = ExtractPublicPropTypes;
declare const _default: import("vue").DefineComponent<{
readonly renderLabel: PropType;
readonly renderPrefix: PropType;
readonly renderSuffix: PropType;
readonly nodeProps: PropType;
readonly onBlur: PropType<(e: FocusEvent) => void>;
readonly onFocus: PropType<(e: FocusEvent) => void>;
readonly onLoad: PropType;
readonly onUpdateShow: PropType void>>;
readonly onUpdateValue: PropType>;
readonly 'onUpdate:value': PropType>;
readonly 'onUpdate:show': PropType void>>;
/**
* @deprecated
*/
readonly leafOnly: BooleanConstructor;
readonly allowCheckingNotLoaded: BooleanConstructor;
readonly filter: PropType<(pattern: string, node: TreeOption) => boolean>;
readonly defaultExpandAll: BooleanConstructor;
readonly expandedKeys: PropType;
readonly keyField: {
readonly type: StringConstructor;
readonly default: "key";
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly childrenField: {
readonly type: StringConstructor;
readonly default: "children";
};
readonly disabledField: {
readonly type: StringConstructor;
readonly default: "disabled"; /**
* @deprecated
*/
};
readonly defaultExpandedKeys: {
readonly type: PropType;
readonly default: () => never[];
};
readonly indeterminateKeys: PropType;
readonly renderSwitcherIcon: PropType;
readonly onUpdateIndeterminateKeys: PropType>;
readonly 'onUpdate:indeterminateKeys': PropType>;
readonly onUpdateExpandedKeys: PropType>;
readonly 'onUpdate:expandedKeys': PropType>;
readonly bordered: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly cascade: BooleanConstructor;
readonly checkable: BooleanConstructor;
readonly clearable: BooleanConstructor;
readonly clearFilterAfterSelect: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly consistentMenuWidth: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly defaultShow: BooleanConstructor;
readonly defaultValue: {
readonly type: PropType;
readonly default: null;
};
readonly disabled: {
readonly type: PropType;
readonly default: undefined;
};
readonly filterable: BooleanConstructor;
readonly checkStrategy: {
readonly type: PropType;
readonly default: "all";
};
readonly loading: BooleanConstructor;
readonly maxTagCount: PropType;
readonly multiple: BooleanConstructor;
readonly showPath: BooleanConstructor;
readonly separator: {
readonly type: StringConstructor;
readonly default: " / ";
};
readonly options: {
readonly type: PropType;
readonly default: () => never[];
};
readonly placeholder: StringConstructor;
readonly placement: {
readonly type: PropType;
readonly default: "bottom-start";
};
readonly show: {
readonly type: PropType;
readonly default: undefined;
};
readonly size: PropType<"small" | "medium" | "large">;
readonly value: PropType;
readonly to: {
type: PropType;
default: undefined;
};
readonly menuProps: PropType;
readonly virtualScroll: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly status: PropType;
readonly renderTag: PropType;
readonly theme: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>;
readonly themeOverrides: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>>;
readonly builtinThemeOverrides: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>>;
}, {
menuElRef: import("vue").Ref;
mergedStatus: import("vue").ComputedRef;
triggerInstRef: import("vue").Ref<{
isComposing: boolean;
focus: () => void;
focusInput: () => void;
blur: () => void;
$el: HTMLElement;
} | null>;
followerInstRef: import("vue").Ref<{
syncPosition: () => void;
} | null>;
treeInstRef: import("vue").Ref<{
handleKeydown: (e: KeyboardEvent) => void;
} | null>;
mergedClsPrefix: import("vue").ComputedRef;
mergedValue: import("vue").ComputedRef;
mergedShow: import("vue").ComputedRef;
namespace: import("vue").ComputedRef;
adjustedTo: import("vue").ComputedRef;
isMounted: Readonly>;
focused: import("vue").Ref;
menuPadding: import("vue").ComputedRef;
mergedPlaceholder: import("vue").ComputedRef;
mergedExpandedKeys: import("vue").ComputedRef;
treeSelectedKeys: import("vue").ComputedRef;
treeCheckedKeys: import("vue").ComputedRef;
mergedSize: import("vue").ComputedRef<"small" | "medium" | "large">;
mergedDisabled: import("vue").ComputedRef;
selectedOption: import("vue").ComputedRef, selected: boolean) => VNodeChild)> | null>;
selectedOptions: import("vue").ComputedRef, selected: boolean) => VNodeChild)>[] | null>;
pattern: import("vue").Ref;
pendingNodeKey: import("vue").Ref;
mergedCascade: import("vue").ComputedRef;
mergedFilter: import("vue").ComputedRef<(pattern: string, node: TreeOption) => boolean>;
selectionRenderTag: import("vue").ComputedRef<(({ option, handleClose }: {
option: SelectOption;
handleClose: () => void;
}) => VNodeChild) | undefined>;
handleTriggerOrMenuResize: () => void;
doUpdateExpandedKeys: (keys: Key[], option: Array, meta: {
node: TreeSelectOption;
action: 'expand' | 'collapse';
} | {
node: null;
action: 'filter';
}) => void;
handleMenuLeave: () => void;
handleTriggerClick: () => void;
handleMenuClickoutside: (e: MouseEvent) => void;
handleUpdateCheckedKeys: (keys: Key[], _: unknown, meta: {
node: TreeOption | null;
action: 'check' | 'uncheck';
}) => void;
handleUpdateIndeterminateKeys: (keys: Key[]) => void;
handleTriggerFocus: (e: FocusEvent) => void;
handleTriggerBlur: (e: FocusEvent) => void;
handleMenuFocusin: (e: FocusEvent) => void;
handleMenuFocusout: (e: FocusEvent) => void;
handleClear: (e: MouseEvent) => void;
handleDeleteOption: (option: SelectBaseOption) => void;
handlePatternInput: (e: InputEvent) => void;
handleKeydown: (e: KeyboardEvent) => void;
handleTabOut: () => void;
handleMenuMousedown: (e: MouseEvent) => void;
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: {
menuPadding: string;
menuColor: string;
menuBoxShadow: string;
menuBorderRadius: string;
menuHeight: string;
actionDividerColor: string;
actionTextColor: string;
actionPadding: string;
};
peers: {
Tree: import("../../_mixins").Theme<"Tree", {
fontSize: string;
nodeBorderRadius: string;
nodeColorHover: string;
nodeColorPressed: string;
nodeColorActive: string;
arrowColor: string;
nodeTextColor: string;
nodeTextColorDisabled: string;
loadingColor: string;
dropMarkColor: string;
}, {
Checkbox: import("../../_mixins").Theme<"Checkbox", {
labelLineHeight: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
borderRadius: string;
color: string;
colorChecked: string;
colorDisabled: string;
colorDisabledChecked: string;
colorTableHeader: string;
colorTableHeaderModal: string;
colorTableHeaderPopover: string;
checkMarkColor: string;
checkMarkColorDisabled: string;
checkMarkColorDisabledChecked: string;
border: string;
borderDisabled: string;
borderDisabledChecked: string;
borderChecked: string;
borderFocus: string;
boxShadowFocus: string;
textColor: string;
textColorDisabled: string;
sizeSmall: string;
sizeMedium: string;
sizeLarge: string;
labelPadding: string;
labelFontWeight: string;
}, any>;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
};
peerOverrides: {
Tree?: {
peers?: {
Checkbox?: import("../../_mixins/use-theme").ExtractThemeOverrides> | undefined;
Scrollbar?: import("../../_mixins/use-theme").ExtractThemeOverrides> | undefined;
Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides> | undefined;
} | undefined;
} | undefined;
Empty?: {
peers?: {
[x: string]: any;
} | undefined;
} | undefined;
InternalSelection?: {
peers?: {
Popover?: import("../../_mixins/use-theme").ExtractThemeOverrides> | undefined;
} | undefined;
} | undefined;
};
}>;
cssVars: import("vue").ComputedRef<{
'--n-menu-box-shadow': string;
'--n-menu-border-radius': string;
'--n-menu-color': string;
'--n-menu-height': string;
'--n-bezier': string;
'--n-action-padding': string;
'--n-action-text-color': string;
'--n-action-divider-color': string;
}> | undefined;
themeClass: import("vue").Ref | undefined;
onRender: (() => void) | undefined;
getCheckedData: () => {
keys: (string | number)[];
options: (TreeSelectOption | null)[];
};
getIndeterminateData: () => {
keys: (string | number)[];
options: (TreeSelectOption | null)[];
};
focus: () => void;
blur: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
readonly renderPrefix: PropType;
readonly renderSuffix: PropType;
readonly nodeProps: PropType;
readonly onBlur: PropType<(e: FocusEvent) => void>;
readonly onFocus: PropType<(e: FocusEvent) => void>;
readonly onLoad: PropType;
readonly onUpdateShow: PropType void>>;
readonly onUpdateValue: PropType>;
readonly 'onUpdate:value': PropType>;
readonly 'onUpdate:show': PropType void>>;
/**
* @deprecated
*/
readonly leafOnly: BooleanConstructor;
readonly allowCheckingNotLoaded: BooleanConstructor;
readonly filter: PropType<(pattern: string, node: TreeOption) => boolean>;
readonly defaultExpandAll: BooleanConstructor;
readonly expandedKeys: PropType;
readonly keyField: {
readonly type: StringConstructor;
readonly default: "key";
};
readonly labelField: {
readonly type: StringConstructor;
readonly default: "label";
};
readonly childrenField: {
readonly type: StringConstructor;
readonly default: "children";
};
readonly disabledField: {
readonly type: StringConstructor;
readonly default: "disabled"; /**
* @deprecated
*/
};
readonly defaultExpandedKeys: {
readonly type: PropType;
readonly default: () => never[];
};
readonly indeterminateKeys: PropType;
readonly renderSwitcherIcon: PropType;
readonly onUpdateIndeterminateKeys: PropType>;
readonly 'onUpdate:indeterminateKeys': PropType>;
readonly onUpdateExpandedKeys: PropType>;
readonly 'onUpdate:expandedKeys': PropType>;
readonly bordered: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly cascade: BooleanConstructor;
readonly checkable: BooleanConstructor;
readonly clearable: BooleanConstructor;
readonly clearFilterAfterSelect: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly consistentMenuWidth: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly defaultShow: BooleanConstructor;
readonly defaultValue: {
readonly type: PropType;
readonly default: null;
};
readonly disabled: {
readonly type: PropType;
readonly default: undefined;
};
readonly filterable: BooleanConstructor;
readonly checkStrategy: {
readonly type: PropType;
readonly default: "all";
};
readonly loading: BooleanConstructor;
readonly maxTagCount: PropType;
readonly multiple: BooleanConstructor;
readonly showPath: BooleanConstructor;
readonly separator: {
readonly type: StringConstructor;
readonly default: " / ";
};
readonly options: {
readonly type: PropType;
readonly default: () => never[];
};
readonly placeholder: StringConstructor;
readonly placement: {
readonly type: PropType;
readonly default: "bottom-start";
};
readonly show: {
readonly type: PropType;
readonly default: undefined;
};
readonly size: PropType<"small" | "medium" | "large">;
readonly value: PropType;
readonly to: {
type: PropType;
default: undefined;
};
readonly menuProps: PropType;
readonly virtualScroll: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly status: PropType;
readonly renderTag: PropType;
readonly theme: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>;
readonly themeOverrides: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>>;
readonly builtinThemeOverrides: PropType;
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
color: string;
colorHover: string;
}, any>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
}>;
Empty: import("../../_mixins").Theme<"Empty", {
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
fontSizeHuge: string;
textColor: string;
iconColor: string;
extraTextColor: string;
iconSizeSmall: string;
iconSizeMedium: string;
iconSizeLarge: string;
iconSizeHuge: string;
}, any>;
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
fontSizeTiny: string;
fontSizeSmall: string;
fontSizeMedium: string;
fontSizeLarge: string;
heightTiny: string;
heightSmall: string;
heightMedium: string;
heightLarge: string;
borderRadius: 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>;
}>;
}>>>;
}>>, {
readonly show: boolean | undefined;
readonly separator: string;
readonly multiple: boolean;
readonly disabled: boolean | undefined;
readonly to: string | boolean | HTMLElement;
readonly options: TreeSelectOption[];
readonly loading: boolean;
readonly bordered: boolean;
readonly placement: FollowerPlacement;
readonly keyField: string;
readonly labelField: string;
readonly virtualScroll: boolean;
readonly checkable: boolean;
readonly defaultShow: boolean;
readonly filterable: boolean;
readonly clearable: boolean;
readonly clearFilterAfterSelect: boolean;
readonly defaultValue: string | number | (string | number)[] | null;
readonly consistentMenuWidth: boolean;
readonly childrenField: string;
readonly defaultExpandAll: boolean;
readonly allowCheckingNotLoaded: boolean;
readonly cascade: boolean;
readonly checkStrategy: CheckStrategy;
readonly disabledField: string;
readonly leafOnly: boolean;
readonly showPath: boolean;
readonly defaultExpandedKeys: Key[];
}>;
export default _default;