tdesign-vue-next
Version:
TDesign Component for vue-next
1,001 lines (1,000 loc) • 491 kB
TypeScript
import { InfinityScroll } from '../common';
import { BaseTableInstanceFunctions, EnhancedTableInstanceFunctions, PrimaryTableInstanceFunctions } from './type';
import './style';
export * from './type';
export * from './interface';
export type AllTableInstanceFunctions = EnhancedTableInstanceFunctions & PrimaryTableInstanceFunctions & BaseTableInstanceFunctions;
export type TableScroll = InfinityScroll;
export declare const BaseTable: {
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
renderExpandedRow: import("vue").PropType<import("./interface").BaseTableProps["renderExpandedRow"]>;
onLeafColumnsChange: import("vue").PropType<import("./interface").BaseTableProps["onLeafColumnsChange"]>;
thDraggable: BooleanConstructor;
activeRowKeys: {
type: import("vue").PropType<import("./type").TdBaseTableProps["activeRowKeys"]>;
default: import("./type").TdBaseTableProps["activeRowKeys"];
};
defaultActiveRowKeys: {
type: import("vue").PropType<import("./type").TdBaseTableProps["defaultActiveRowKeys"]>;
default: () => import("./type").TdBaseTableProps["defaultActiveRowKeys"];
};
activeRowType: {
type: import("vue").PropType<import("./type").TdBaseTableProps["activeRowType"]>;
default: import("./type").TdBaseTableProps["activeRowType"];
};
allowResizeColumnWidth: {
type: BooleanConstructor;
default: any;
};
attach: {
type: import("vue").PropType<import("./type").TdBaseTableProps["attach"]>;
};
bordered: BooleanConstructor;
bottomContent: {
type: import("vue").PropType<import("./type").TdBaseTableProps["bottomContent"]>;
};
cellEmptyContent: {
type: import("vue").PropType<import("./type").TdBaseTableProps["cellEmptyContent"]>;
};
columns: {
type: import("vue").PropType<import("./type").TdBaseTableProps["columns"]>;
default: () => import("./type").TdBaseTableProps["columns"];
};
data: {
type: import("vue").PropType<import("./type").TdBaseTableProps["data"]>;
default: () => import("./type").TdBaseTableProps["data"];
};
disableDataPage: BooleanConstructor;
disableSpaceInactiveRow: {
type: BooleanConstructor;
default: any;
};
empty: {
type: import("vue").PropType<import("./type").TdBaseTableProps["empty"]>;
default: import("./type").TdBaseTableProps["empty"];
};
firstFullRow: {
type: import("vue").PropType<import("./type").TdBaseTableProps["firstFullRow"]>;
};
fixedRows: {
type: import("vue").PropType<import("./type").TdBaseTableProps["fixedRows"]>;
};
footData: {
type: import("vue").PropType<import("./type").TdBaseTableProps["footData"]>;
default: () => import("./type").TdBaseTableProps["footData"];
};
footerAffixProps: {
type: import("vue").PropType<import("./type").TdBaseTableProps["footerAffixProps"]>;
};
footerAffixedBottom: {
type: import("vue").PropType<import("./type").TdBaseTableProps["footerAffixedBottom"]>;
default: import("./type").TdBaseTableProps["footerAffixedBottom"];
};
footerSummary: {
type: import("vue").PropType<import("./type").TdBaseTableProps["footerSummary"]>;
};
headerAffixProps: {
type: import("vue").PropType<import("./type").TdBaseTableProps["headerAffixProps"]>;
};
headerAffixedTop: {
type: import("vue").PropType<import("./type").TdBaseTableProps["headerAffixedTop"]>;
default: import("./type").TdBaseTableProps["headerAffixedTop"];
};
height: {
type: import("vue").PropType<import("./type").TdBaseTableProps["height"]>;
};
horizontalScrollAffixedBottom: {
type: import("vue").PropType<import("./type").TdBaseTableProps["horizontalScrollAffixedBottom"]>;
};
hover: BooleanConstructor;
keyboardRowHover: {
type: BooleanConstructor;
default: boolean;
};
lastFullRow: {
type: import("vue").PropType<import("./type").TdBaseTableProps["lastFullRow"]>;
};
lazyLoad: BooleanConstructor;
loading: {
type: import("vue").PropType<import("./type").TdBaseTableProps["loading"]>;
default: import("./type").TdBaseTableProps["loading"];
};
loadingProps: {
type: import("vue").PropType<import("./type").TdBaseTableProps["loadingProps"]>;
};
locale: {
type: import("vue").PropType<import("./type").TdBaseTableProps["locale"]>;
};
maxHeight: {
type: import("vue").PropType<import("./type").TdBaseTableProps["maxHeight"]>;
};
pagination: {
type: import("vue").PropType<import("./type").TdBaseTableProps["pagination"]>;
};
paginationAffixedBottom: {
type: import("vue").PropType<import("./type").TdBaseTableProps["paginationAffixedBottom"]>;
};
resizable: BooleanConstructor;
rowAttributes: {
type: import("vue").PropType<import("./type").TdBaseTableProps["rowAttributes"]>;
};
rowClassName: {
type: import("vue").PropType<import("./type").TdBaseTableProps["rowClassName"]>;
};
rowKey: {
type: StringConstructor;
default: string;
required: boolean;
};
rowspanAndColspan: {
type: import("vue").PropType<import("./type").TdBaseTableProps["rowspanAndColspan"]>;
};
rowspanAndColspanInFooter: {
type: import("vue").PropType<import("./type").TdBaseTableProps["rowspanAndColspanInFooter"]>;
};
scroll: {
type: import("vue").PropType<import("./type").TdBaseTableProps["scroll"]>;
};
showHeader: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: import("vue").PropType<import("./type").TdBaseTableProps["size"]>;
validator(val: import("./type").TdBaseTableProps["size"]): boolean;
};
stripe: BooleanConstructor;
tableContentWidth: {
type: StringConstructor;
default: string;
};
tableLayout: {
type: import("vue").PropType<import("./type").TdBaseTableProps["tableLayout"]>;
default: import("./type").TdBaseTableProps["tableLayout"];
validator(val: import("./type").TdBaseTableProps["tableLayout"]): boolean;
};
topContent: {
type: import("vue").PropType<import("./type").TdBaseTableProps["topContent"]>;
};
verticalAlign: {
type: import("vue").PropType<import("./type").TdBaseTableProps["verticalAlign"]>;
default: import("./type").TdBaseTableProps["verticalAlign"];
validator(val: import("./type").TdBaseTableProps["verticalAlign"]): boolean;
};
onActiveChange: import("vue").PropType<import("./type").TdBaseTableProps["onActiveChange"]>;
onActiveRowAction: import("vue").PropType<import("./type").TdBaseTableProps["onActiveRowAction"]>;
onCellClick: import("vue").PropType<import("./type").TdBaseTableProps["onCellClick"]>;
onColumnResizeChange: import("vue").PropType<import("./type").TdBaseTableProps["onColumnResizeChange"]>;
onPageChange: import("vue").PropType<import("./type").TdBaseTableProps["onPageChange"]>;
onRowClick: import("vue").PropType<import("./type").TdBaseTableProps["onRowClick"]>;
onRowDblclick: import("vue").PropType<import("./type").TdBaseTableProps["onRowDblclick"]>;
onRowMousedown: import("vue").PropType<import("./type").TdBaseTableProps["onRowMousedown"]>;
onRowMouseenter: import("vue").PropType<import("./type").TdBaseTableProps["onRowMouseenter"]>;
onRowMouseleave: import("vue").PropType<import("./type").TdBaseTableProps["onRowMouseleave"]>;
onRowMouseover: import("vue").PropType<import("./type").TdBaseTableProps["onRowMouseover"]>;
onRowMouseup: import("vue").PropType<import("./type").TdBaseTableProps["onRowMouseup"]>;
onScroll: import("vue").PropType<import("./type").TdBaseTableProps["onScroll"]>;
onScrollX: import("vue").PropType<import("./type").TdBaseTableProps["onScrollX"]>;
onScrollY: import("vue").PropType<import("./type").TdBaseTableProps["onScrollY"]>;
}>>, {
thList: import("vue").ComputedRef<import("./interface").BaseTableColumns[]>;
classPrefix: string;
innerPagination: import("vue").Ref<{
current?: number;
defaultCurrent?: number;
modelValue?: number;
disabled?: boolean;
foldedMaxPageBtn?: number;
maxPageBtn?: number;
pageEllipsisMode?: "mid" | "both-ends";
pageSize?: number;
defaultPageSize?: number;
pageSizeOptions?: (number | {
label: string;
value: number;
})[];
selectProps?: {
autoWidth?: boolean;
autofocus?: boolean;
borderless?: boolean;
clearable?: boolean;
collapsedItems?: (h: typeof import("vue").h, props: {
value: import("..").SelectOption[];
collapsedSelectedItems: import("..").SelectOption[];
count: number;
onClose: (context: {
index: number;
e?: MouseEvent;
}) => void;
}) => import("..").TNodeReturnValue;
creatable?: boolean;
disabled?: boolean;
empty?: string | import("..").TNode;
filter?: (filterWords: string, option: import("..").SelectOption) => boolean | Promise<boolean>;
filterable?: boolean;
inputProps?: {
align?: "left" | "center" | "right";
allowInputOverMax?: boolean;
autoWidth?: boolean;
autocomplete?: string;
autofocus?: boolean;
borderless?: boolean;
clearable?: boolean;
disabled?: boolean;
format?: import("..").InputFormatType;
inputClass?: any;
label?: string | import("..").TNode;
maxcharacter?: number;
maxlength?: string | number;
name?: string;
placeholder?: string;
prefixIcon?: import("..").TNode;
readonly?: boolean;
showClearIconOnEmpty?: boolean;
showLimitNumber?: boolean;
size?: import("..").SizeEnum;
spellCheck?: boolean;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tips?: string | import("..").TNode;
type?: "text" | "number" | "url" | "tel" | "password" | "search" | "submit" | "hidden";
value?: import("..").InputValue;
defaultValue?: import("..").InputValue;
modelValue?: import("..").InputValue;
onBlur?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onChange?: (value: import("..").InputValue, context?: {
e?: InputEvent | MouseEvent | CompositionEvent;
trigger: "input" | "initial" | "clear";
}) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onClick?: (context: {
e: MouseEvent;
}) => void;
onCompositionend?: (value: string, context: {
e: CompositionEvent;
}) => void;
onCompositionstart?: (value: string, context: {
e: CompositionEvent;
}) => void;
onEnter?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onFocus?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onKeydown?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeypress?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeyup?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onMouseenter?: (context: {
e: MouseEvent;
}) => void;
onMouseleave?: (context: {
e: MouseEvent;
}) => void;
onPaste?: (context: {
e: ClipboardEvent;
pasteValue: string;
}) => void;
onValidate?: (context: {
error?: "exceed-maximum" | "below-minimum";
}) => void;
onWheel?: (context: {
e: WheelEvent;
}) => void;
};
inputValue?: string;
defaultInputValue?: string;
keys?: {
value?: string;
label?: string;
disabled?: string;
};
label?: string | import("..").TNode;
loading?: boolean;
loadingText?: string | import("..").TNode;
max?: number;
minCollapsedNum?: number;
multiple?: boolean;
options?: (import("..").PlainObject | {
checkAll?: boolean;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
disabled?: boolean;
label?: string;
title?: string;
value?: string | number | boolean;
} | {
group: string;
children: {
checkAll?: boolean;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
disabled?: boolean;
label?: string;
title?: string;
value?: string | number | boolean;
}[];
divider?: boolean;
label?: string;
})[];
panelBottomContent?: string | import("..").TNode;
panelTopContent?: string | import("..").TNode;
placeholder?: string;
popupProps?: {
attach?: import("..").AttachNode;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
delay?: number | Array<number>;
destroyOnClose?: boolean;
disabled?: boolean;
hideEmptyPopup?: boolean;
overlayClassName?: any;
overlayInnerClassName?: any;
overlayInnerStyle?: import("..").Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => import("..").Styles);
overlayStyle?: import("..").Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => import("..").Styles);
placement?: import("..").PopupPlacement;
popperOptions?: object;
showArrow?: boolean;
trigger?: "hover" | "click" | "focus" | "mousedown" | "context-menu";
triggerElement?: string | import("..").TNode;
visible?: boolean;
defaultVisible?: boolean;
modelValue?: boolean;
zIndex?: number;
onOverlayClick?: (context: {
e: MouseEvent;
}) => void;
onScroll?: (context: {
e: WheelEvent;
}) => void;
onScrollToBottom?: (context: {
e: WheelEvent;
}) => void;
onVisibleChange?: (visible: boolean, context: import("..").PopupVisibleChangeContext) => void;
};
popupVisible?: boolean;
defaultPopupVisible?: boolean;
prefixIcon?: import("..").TNode;
readonly?: boolean;
reserveKeyword?: boolean;
scroll?: {
bufferSize?: number;
isFixedRowHeight?: boolean;
rowHeight?: number;
threshold?: number;
type: "lazy" | "virtual";
};
selectInputProps?: {
allowInput?: boolean;
autoWidth?: boolean;
autofocus?: boolean;
borderless?: boolean;
clearable?: boolean;
collapsedItems?: import("..").TNode<{
value: import("..").SelectInputValue;
collapsedSelectedItems: import("..").SelectInputValue;
count: number;
onClose: (context: {
index: number;
e?: MouseEvent;
}) => void;
}>;
disabled?: boolean;
inputProps?: {
align?: "left" | "center" | "right";
allowInputOverMax?: boolean;
autoWidth?: boolean;
autocomplete?: string;
autofocus?: boolean;
borderless?: boolean;
clearable?: boolean;
disabled?: boolean;
format?: import("..").InputFormatType;
inputClass?: any;
label?: string | import("..").TNode;
maxcharacter?: number;
maxlength?: string | number;
name?: string;
placeholder?: string;
prefixIcon?: import("..").TNode;
readonly?: boolean;
showClearIconOnEmpty?: boolean;
showLimitNumber?: boolean;
size?: import("..").SizeEnum;
spellCheck?: boolean;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tips?: string | import("..").TNode;
type?: "text" | "number" | "url" | "tel" | "password" | "search" | "submit" | "hidden";
value?: import("..").InputValue;
defaultValue?: import("..").InputValue;
modelValue?: import("..").InputValue;
onBlur?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onChange?: (value: import("..").InputValue, context?: {
e?: InputEvent | MouseEvent | CompositionEvent;
trigger: "input" | "initial" | "clear";
}) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onClick?: (context: {
e: MouseEvent;
}) => void;
onCompositionend?: (value: string, context: {
e: CompositionEvent;
}) => void;
onCompositionstart?: (value: string, context: {
e: CompositionEvent;
}) => void;
onEnter?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onFocus?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onKeydown?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeypress?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeyup?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onMouseenter?: (context: {
e: MouseEvent;
}) => void;
onMouseleave?: (context: {
e: MouseEvent;
}) => void;
onPaste?: (context: {
e: ClipboardEvent;
pasteValue: string;
}) => void;
onValidate?: (context: {
error?: "exceed-maximum" | "below-minimum";
}) => void;
onWheel?: (context: {
e: WheelEvent;
}) => void;
};
inputValue?: string;
defaultInputValue?: string;
keys?: {
label?: string;
value?: string;
children?: string;
};
label?: string | import("..").TNode;
loading?: boolean;
minCollapsedNum?: number;
multiple?: boolean;
panel?: string | import("..").TNode;
placeholder?: string;
popupProps?: {
attach?: import("..").AttachNode;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
delay?: number | Array<number>;
destroyOnClose?: boolean;
disabled?: boolean;
hideEmptyPopup?: boolean;
overlayClassName?: any;
overlayInnerClassName?: any;
overlayInnerStyle?: import("..").Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => import("..").Styles);
overlayStyle?: import("..").Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => import("..").Styles);
placement?: import("..").PopupPlacement;
popperOptions?: object;
showArrow?: boolean;
trigger?: "hover" | "click" | "focus" | "mousedown" | "context-menu";
triggerElement?: string | import("..").TNode;
visible?: boolean;
defaultVisible?: boolean;
modelValue?: boolean;
zIndex?: number;
onOverlayClick?: (context: {
e: MouseEvent;
}) => void;
onScroll?: (context: {
e: WheelEvent;
}) => void;
onScrollToBottom?: (context: {
e: WheelEvent;
}) => void;
onVisibleChange?: (visible: boolean, context: import("..").PopupVisibleChangeContext) => void;
};
popupVisible?: boolean;
defaultPopupVisible?: boolean;
prefixIcon?: import("..").TNode;
readonly?: boolean;
reserveKeyword?: boolean;
size?: import("..").SizeEnum;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tag?: string | import("..").TNode<{
value: string | number;
}>;
tagInputProps?: {
autoWidth?: boolean;
borderless?: boolean;
clearable?: boolean;
collapsedItems?: import("..").TNode<{
value: import("..").TagInputValue;
collapsedSelectedItems: import("..").TagInputValue;
count: number;
onClose: (context: {
index: number;
e?: MouseEvent;
}) => void;
}>;
disabled?: boolean;
dragSort?: boolean;
excessTagsDisplayType?: "scroll" | "break-line";
inputProps?: {
align?: "left" | "center" | "right";
allowInputOverMax?: boolean;
autoWidth?: boolean;
autocomplete?: string;
autofocus?: boolean;
borderless?: boolean;
clearable?: boolean;
disabled?: boolean;
format?: import("..").InputFormatType;
inputClass?: any;
label?: string | import("..").TNode;
maxcharacter?: number;
maxlength?: string | number;
name?: string;
placeholder?: string;
prefixIcon?: import("..").TNode;
readonly?: boolean;
showClearIconOnEmpty?: boolean;
showLimitNumber?: boolean;
size?: import("..").SizeEnum;
spellCheck?: boolean;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tips?: string | import("..").TNode;
type?: "text" | "number" | "url" | "tel" | "password" | "search" | "submit" | "hidden";
value?: import("..").InputValue;
defaultValue?: import("..").InputValue;
modelValue?: import("..").InputValue;
onBlur?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onChange?: (value: import("..").InputValue, context?: {
e?: InputEvent | MouseEvent | CompositionEvent;
trigger: "input" | "initial" | "clear";
}) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onClick?: (context: {
e: MouseEvent;
}) => void;
onCompositionend?: (value: string, context: {
e: CompositionEvent;
}) => void;
onCompositionstart?: (value: string, context: {
e: CompositionEvent;
}) => void;
onEnter?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onFocus?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onKeydown?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeypress?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeyup?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onMouseenter?: (context: {
e: MouseEvent;
}) => void;
onMouseleave?: (context: {
e: MouseEvent;
}) => void;
onPaste?: (context: {
e: ClipboardEvent;
pasteValue: string;
}) => void;
onValidate?: (context: {
error?: "exceed-maximum" | "below-minimum";
}) => void;
onWheel?: (context: {
e: WheelEvent;
}) => void;
};
inputValue?: string;
defaultInputValue?: string;
label?: string | import("..").TNode;
max?: number;
minCollapsedNum?: number;
placeholder?: string;
prefixIcon?: import("..").TNode;
readonly?: boolean;
size?: import("..").SizeEnum;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tag?: string | import("..").TNode<{
value: string | number;
}>;
tagProps?: {
closable?: boolean;
color?: string;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
disabled?: boolean;
icon?: import("..").TNode;
maxWidth?: string | number;
shape?: "square" | "round" | "mark";
size?: import("..").SizeEnum;
theme?: "default" | "primary" | "warning" | "danger" | "success";
title?: string;
variant?: "dark" | "light" | "outline" | "light-outline";
onClick?: (context: {
e: MouseEvent;
}) => void;
onClose?: (context: {
e: MouseEvent;
}) => void;
};
tips?: string | import("..").TNode;
value?: (string | number)[];
defaultValue?: (string | number)[];
modelValue?: (string | number)[];
valueDisplay?: string | import("..").TNode<{
value: import("..").TagInputValue;
onClose: (index: number, item?: any) => void;
}>;
onBlur?: (value: import("..").TagInputValue, context: {
inputValue: string;
e: FocusEvent;
}) => void;
onChange?: (value: import("..").TagInputValue, context: import("..").TagInputChangeContext) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onClick?: (context: {
e: MouseEvent;
}) => void;
onDragSort?: (context: import("..").TagInputDragSortContext) => void;
onEnter?: (value: import("..").TagInputValue, context: {
e: KeyboardEvent;
inputValue: string;
}) => void;
onFocus?: (value: import("..").TagInputValue, context: {
inputValue: string;
e: FocusEvent;
}) => void;
onInputChange?: (value: string, context?: import("..").InputValueChangeContext) => void;
onMouseenter?: (context: {
e: MouseEvent;
}) => void;
onMouseleave?: (context: {
e: MouseEvent;
}) => void;
onPaste?: (context: {
e: ClipboardEvent;
pasteValue: string;
}) => void;
onRemove?: (context: import("..").TagInputRemoveContext) => void;
};
tagProps?: {
closable?: boolean;
color?: string;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
disabled?: boolean;
icon?: import("..").TNode;
maxWidth?: string | number;
shape?: "square" | "round" | "mark";
size?: import("..").SizeEnum;
theme?: "default" | "primary" | "warning" | "danger" | "success";
title?: string;
variant?: "dark" | "light" | "outline" | "light-outline";
onClick?: (context: {
e: MouseEvent;
}) => void;
onClose?: (context: {
e: MouseEvent;
}) => void;
};
tips?: string | import("..").TNode;
value?: any;
valueDisplay?: string | import("..").TNode<{
value: import("..").TagInputValue;
onClose: (index: number, item?: any) => void;
}>;
onBlur?: (value: import("..").SelectInputValue, context: import("..").SelectInputBlurContext) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onEnter?: (value: import("..").SelectInputValue, context: {
e: KeyboardEvent;
inputValue: string;
tagInputValue?: import("..").TagInputValue;
}) => void;
onFocus?: (value: import("..").SelectInputValue, context: import("..").SelectInputFocusContext) => void;
onInputChange?: (value: string, context?: import("..").SelectInputValueChangeContext) => void;
onMouseenter?: (context: {
e: MouseEvent;
}) => void;
onMouseleave?: (context: {
e: MouseEvent;
}) => void;
onPaste?: (context: {
e: ClipboardEvent;
pasteValue: string;
}) => void;
onPopupVisibleChange?: (visible: boolean, context: import("..").PopupVisibleChangeContext) => void;
onTagChange?: (value: import("..").TagInputValue, context: import("..").SelectInputChangeContext) => void;
};
showArrow?: boolean;
size?: import("..").SizeEnum;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tagInputProps?: {
autoWidth?: boolean;
borderless?: boolean;
clearable?: boolean;
collapsedItems?: import("..").TNode<{
value: import("..").TagInputValue;
collapsedSelectedItems: import("..").TagInputValue;
count: number;
onClose: (context: {
index: number;
e?: MouseEvent;
}) => void;
}>;
disabled?: boolean;
dragSort?: boolean;
excessTagsDisplayType?: "scroll" | "break-line";
inputProps?: {
align?: "left" | "center" | "right";
allowInputOverMax?: boolean;
autoWidth?: boolean;
autocomplete?: string;
autofocus?: boolean;
borderless?: boolean;
clearable?: boolean;
disabled?: boolean;
format?: import("..").InputFormatType;
inputClass?: any;
label?: string | import("..").TNode;
maxcharacter?: number;
maxlength?: string | number;
name?: string;
placeholder?: string;
prefixIcon?: import("..").TNode;
readonly?: boolean;
showClearIconOnEmpty?: boolean;
showLimitNumber?: boolean;
size?: import("..").SizeEnum;
spellCheck?: boolean;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tips?: string | import("..").TNode;
type?: "text" | "number" | "url" | "tel" | "password" | "search" | "submit" | "hidden";
value?: import("..").InputValue;
defaultValue?: import("..").InputValue;
modelValue?: import("..").InputValue;
onBlur?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onChange?: (value: import("..").InputValue, context?: {
e?: InputEvent | MouseEvent | CompositionEvent;
trigger: "input" | "initial" | "clear";
}) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onClick?: (context: {
e: MouseEvent;
}) => void;
onCompositionend?: (value: string, context: {
e: CompositionEvent;
}) => void;
onCompositionstart?: (value: string, context: {
e: CompositionEvent;
}) => void;
onEnter?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onFocus?: (value: import("..").InputValue, context: {
e: FocusEvent;
}) => void;
onKeydown?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeypress?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onKeyup?: (value: import("..").InputValue, context: {
e: KeyboardEvent;
}) => void;
onMouseenter?: (context: {
e: MouseEvent;
}) => void;
onMouseleave?: (context: {
e: MouseEvent;
}) => void;
onPaste?: (context: {
e: ClipboardEvent;
pasteValue: string;
}) => void;
onValidate?: (context: {
error?: "exceed-maximum" | "below-minimum";
}) => void;
onWheel?: (context: {
e: WheelEvent;
}) => void;
};
inputValue?: string;
defaultInputValue?: string;
label?: string | import("..").TNode;
max?: number;
minCollapsedNum?: number;
placeholder?: string;
prefixIcon?: import("..").TNode;
readonly?: boolean;
size?: import("..").SizeEnum;
status?: "default" | "success" | "warning" | "error";
suffix?: string | import("..").TNode;
suffixIcon?: import("..").TNode;
tag?: string | import("..").TNode<{
value: string | number;
}>;
tagProps?: {
closable?: boolean;
color?: string;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
disabled?: boolean;
icon?: import("..").TNode;
maxWidth?: string | number;
shape?: "square" | "round" | "mark";
size?: import("..").SizeEnum;
theme?: "default" | "primary" | "warning" | "danger" | "success";
title?: string;
variant?: "dark" | "light" | "outline" | "light-outline";
onClick?: (context: {
e: MouseEvent;
}) => void;
onClose?: (context: {
e: MouseEvent;
}) => void;
};
tips?: string | import("..").TNode;
value?: (string | number)[];
defaultValue?: (string | number)[];
modelValue?: (string | number)[];
valueDisplay?: string | import("..").TNode<{
value: import("..").TagInputValue;
onClose: (index: number, item?: any) => void;
}>;
onBlur?: (value: import("..").TagInputValue, context: {
inputValue: string;
e: FocusEvent;
}) => void;
onChange?: (value: import("..").TagInputValue, context: import("..").TagInputChangeContext) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onClick?: (context: {
e: MouseEvent;
}) => void;
onDragSort?: (context: import("..").TagInputDragSortContext) => void;
onEnter?: (value: import("..").TagInputValue, context: {
e: KeyboardEvent;
inputValue: string;
}) => void;
onFocus?: (value: import("..").TagInputValue, context: {
inputValue: string;
e: FocusEvent;
}) => void;
onInputChange?: (value: string, context?: import("..").InputValueChangeContext) => void;
onMouseenter?: (context: {
e: MouseEvent;
}) => void;
onMouseleave?: (context: {
e: MouseEvent;
}) => void;
onPaste?: (context: {
e: ClipboardEvent;
pasteValue: string;
}) => void;
onRemove?: (context: import("..").TagInputRemoveContext) => void;
};
tagProps?: {
closable?: boolean;
color?: string;
content?: string | import("..").TNode;
default?: string | import("..").TNode;
disabled?: boolean;
icon?: import("..").TNode;
maxWidth?: string | number;
shape?: "square" | "round" | "mark";
size?: import("..").SizeEnum;
theme?: "default" | "primary" | "warning" | "danger" | "success";
title?: string;
variant?: "dark" | "light" | "outline" | "light-outline";
onClick?: (context: {
e: MouseEvent;
}) => void;
onClose?: (context: {
e: MouseEvent;
}) => void;
};
tips?: string | import("..").TNode;
value?: any;
defaultValue?: any;
modelValue?: any;
valueDisplay?: string | import("..").TNode<{
value: import("..").SelectValue;
onClose: (index: number) => void;
displayValue?: import("..").SelectValue;
label?: string;
}>;
valueType?: "value" | "object";
onBlur?: (context: {
value: import("..").SelectValue;
e: FocusEvent | KeyboardEvent;
}) => void;
onChange?: (value: import("..").SelectValue, context: {
option?: import("..").SelectOption;
selectedOptions: import("..").SelectOption[];
trigger: import("..").SelectValueChangeTrigger;
e?: MouseEvent | KeyboardEvent;
}) => void;
onClear?: (context: {
e: MouseEvent;
}) => void;
onCreate?: (value: string | number | boolean) => void;
onEnter?: (context: {
inputValue: string;
e: KeyboardEvent;
value: import("..").SelectValue;
}) => void;
onFocus?: (context: {
value: import("..").SelectValue;
e: FocusEvent | KeyboardEvent;
}) => void;
onInputChange?: (value: string, context?: import("..").SelectInputValueChangeContext) => void;
onPopupVisibleChange?: (visible: boolean, context: import("..").PopupVisibleChangeContext) => void;
onRemove?: (options: import("..").SelectRemoveContext<import("..").SelectOption>) => void;
onSearch?: (filterWords: string, context: {
e: KeyboardEvent;
}) => void;
};
showFirstAndLastPageBtn?: boolean;
showJumper?: boolean;
showPageNumber?: boolean;
showPageSize?: boolean;
showPreviousAndNextBtn?: boolean;
size?: "small" | "medium";
theme?: "default" | "simple";