tdesign-vue-next
Version:
TDesign Component for vue-next
1,137 lines • 95.4 kB
TypeScript
import { PropType } from 'vue';
import { BaseTableProps } from './interface';
import { Styles, ComponentScrollToElementParams } from '../common';
export declare const BASE_TABLE_EVENTS: string[];
export declare const BASE_TABLE_ALL_EVENTS: string[];
export interface TableListeners {
[key: string]: Function;
}
declare const _default: import("vue").DefineComponent<{
renderExpandedRow: PropType<BaseTableProps["renderExpandedRow"]>;
onLeafColumnsChange: PropType<BaseTableProps["onLeafColumnsChange"]>;
thDraggable: BooleanConstructor;
activeRowKeys: {
type: PropType<import("./type").TdBaseTableProps["activeRowKeys"]>;
default: import("./type").TdBaseTableProps["activeRowKeys"];
};
defaultActiveRowKeys: {
type: PropType<import("./type").TdBaseTableProps["defaultActiveRowKeys"]>;
default: () => import("./type").TdBaseTableProps["defaultActiveRowKeys"];
};
activeRowType: {
type: PropType<import("./type").TdBaseTableProps["activeRowType"]>;
default: import("./type").TdBaseTableProps["activeRowType"];
};
allowResizeColumnWidth: {
type: BooleanConstructor;
default: any;
};
attach: {
type: PropType<import("./type").TdBaseTableProps["attach"]>;
};
bordered: BooleanConstructor;
bottomContent: {
type: PropType<import("./type").TdBaseTableProps["bottomContent"]>;
};
cellEmptyContent: {
type: PropType<import("./type").TdBaseTableProps["cellEmptyContent"]>;
};
columns: {
type: PropType<import("./type").TdBaseTableProps["columns"]>;
default: () => import("./type").TdBaseTableProps["columns"];
};
data: {
type: PropType<import("./type").TdBaseTableProps["data"]>;
default: () => import("./type").TdBaseTableProps["data"];
};
disableDataPage: BooleanConstructor;
disableSpaceInactiveRow: {
type: BooleanConstructor;
default: any;
};
empty: {
type: PropType<import("./type").TdBaseTableProps["empty"]>;
default: import("./type").TdBaseTableProps["empty"];
};
firstFullRow: {
type: PropType<import("./type").TdBaseTableProps["firstFullRow"]>;
};
fixedRows: {
type: PropType<import("./type").TdBaseTableProps["fixedRows"]>;
};
footData: {
type: PropType<import("./type").TdBaseTableProps["footData"]>;
default: () => import("./type").TdBaseTableProps["footData"];
};
footerAffixProps: {
type: PropType<import("./type").TdBaseTableProps["footerAffixProps"]>;
};
footerAffixedBottom: {
type: PropType<import("./type").TdBaseTableProps["footerAffixedBottom"]>;
default: import("./type").TdBaseTableProps["footerAffixedBottom"];
};
footerSummary: {
type: PropType<import("./type").TdBaseTableProps["footerSummary"]>;
};
headerAffixProps: {
type: PropType<import("./type").TdBaseTableProps["headerAffixProps"]>;
};
headerAffixedTop: {
type: PropType<import("./type").TdBaseTableProps["headerAffixedTop"]>;
default: import("./type").TdBaseTableProps["headerAffixedTop"];
};
height: {
type: PropType<import("./type").TdBaseTableProps["height"]>;
};
horizontalScrollAffixedBottom: {
type: PropType<import("./type").TdBaseTableProps["horizontalScrollAffixedBottom"]>;
};
hover: BooleanConstructor;
keyboardRowHover: {
type: BooleanConstructor;
default: boolean;
};
lastFullRow: {
type: PropType<import("./type").TdBaseTableProps["lastFullRow"]>;
};
lazyLoad: BooleanConstructor;
loading: {
type: PropType<import("./type").TdBaseTableProps["loading"]>;
default: import("./type").TdBaseTableProps["loading"];
};
loadingProps: {
type: PropType<import("./type").TdBaseTableProps["loadingProps"]>;
};
locale: {
type: PropType<import("./type").TdBaseTableProps["locale"]>;
};
maxHeight: {
type: PropType<import("./type").TdBaseTableProps["maxHeight"]>;
};
pagination: {
type: PropType<import("./type").TdBaseTableProps["pagination"]>;
};
paginationAffixedBottom: {
type: PropType<import("./type").TdBaseTableProps["paginationAffixedBottom"]>;
};
resizable: BooleanConstructor;
rowAttributes: {
type: PropType<import("./type").TdBaseTableProps["rowAttributes"]>;
};
rowClassName: {
type: PropType<import("./type").TdBaseTableProps["rowClassName"]>;
};
rowKey: {
type: StringConstructor;
default: string;
required: boolean;
};
rowspanAndColspan: {
type: PropType<import("./type").TdBaseTableProps["rowspanAndColspan"]>;
};
rowspanAndColspanInFooter: {
type: PropType<import("./type").TdBaseTableProps["rowspanAndColspanInFooter"]>;
};
scroll: {
type: PropType<import("./type").TdBaseTableProps["scroll"]>;
};
showHeader: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: PropType<import("./type").TdBaseTableProps["size"]>;
validator(val: import("./type").TdBaseTableProps["size"]): boolean;
};
stripe: BooleanConstructor;
tableContentWidth: {
type: StringConstructor;
default: string;
};
tableLayout: {
type: PropType<import("./type").TdBaseTableProps["tableLayout"]>;
default: import("./type").TdBaseTableProps["tableLayout"];
validator(val: import("./type").TdBaseTableProps["tableLayout"]): boolean;
};
topContent: {
type: PropType<import("./type").TdBaseTableProps["topContent"]>;
};
verticalAlign: {
type: PropType<import("./type").TdBaseTableProps["verticalAlign"]>;
default: import("./type").TdBaseTableProps["verticalAlign"];
validator(val: import("./type").TdBaseTableProps["verticalAlign"]): boolean;
};
onActiveChange: PropType<import("./type").TdBaseTableProps["onActiveChange"]>;
onActiveRowAction: PropType<import("./type").TdBaseTableProps["onActiveRowAction"]>;
onCellClick: PropType<import("./type").TdBaseTableProps["onCellClick"]>;
onColumnResizeChange: PropType<import("./type").TdBaseTableProps["onColumnResizeChange"]>;
onPageChange: PropType<import("./type").TdBaseTableProps["onPageChange"]>;
onRowClick: PropType<import("./type").TdBaseTableProps["onRowClick"]>;
onRowDblclick: PropType<import("./type").TdBaseTableProps["onRowDblclick"]>;
onRowMousedown: PropType<import("./type").TdBaseTableProps["onRowMousedown"]>;
onRowMouseenter: PropType<import("./type").TdBaseTableProps["onRowMouseenter"]>;
onRowMouseleave: PropType<import("./type").TdBaseTableProps["onRowMouseleave"]>;
onRowMouseover: PropType<import("./type").TdBaseTableProps["onRowMouseover"]>;
onRowMouseup: PropType<import("./type").TdBaseTableProps["onRowMouseup"]>;
onScroll: PropType<import("./type").TdBaseTableProps["onScroll"]>;
onScrollX: PropType<import("./type").TdBaseTableProps["onScrollX"]>;
onScrollY: 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?: Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => Styles);
overlayStyle?: Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => 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?: Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => Styles);
overlayStyle?: Styles | ((triggerElement: HTMLElement, popupElement: HTMLElement) => 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";
total?: number;
totalContent?: boolean | import("..").TNode;
onChange?: (pageInfo: import("..").PageInfo) => void;
onCurrentChange?: (current: number, pageInfo: import("..").PageInfo) => void;
onPageSizeChange?: (pageSize: number, pageInfo: import("..").PageInfo) => void;
}>;
globalConfig: import("vue").ComputedRef<{} & (import("..").TableConfig | ({
readonly expandIcon: any;
readonly sortIcon: any;
readonly filterIcon: any;
readonly treeExpandAndFoldIcon: any;
readonly hideSortTips: false;
readonly size: "medium";
} & {
readonly empty: "暂无数据";
readonly loadingText: "正在加载中,请稍后";
readonly loadingMoreText: "点击加载更多";
readonly filterInputPlaceholder: "请输入内容(无默认值)";
readonly sortAscendingOperationText: "点击升序";
readonly sortCancelOperationText: "点击取消排序";
readonly sortDescendingOperationText: "点击降序";
readonly clearFilterResultButtonText: "清空筛选";
readonly columnConfigButtonText: "列配置";
readonly columnConfigTitleText: "表格列配置";
readonly columnConfigDescriptionText: "请选择需要在表格中显示的数据列";
readonly confirmText: "确认";
readonly cancelText: "取消";
readonly resetText: "重置";
readonly selectAllText: "全选";
readonly searchResultText: "搜索“{result}”,找到 {count} 条结果";
} & import("..").TableConfig))>;
tableFootHeight: import("vue").Ref<number>;
virtualScrollHeaderPos: import("vue").Ref<{
left: number;
top: number;
}>;
tableSize: import("vue").ComputedRef<import("..").SizeEnum>;
tableWidth: import("vue").Ref<number>;
tableElmWidth: import("vue").Ref<number>;
tableRef: import("vue").Ref<HTMLDivElement>;
tableElmRef: import("vue").Ref<HTMLTableElement>;
sizeClassNames: {
small: string;
medium: string;
large: string;
default: string;
xs: string;
xl: string;
block: string;
};
tableBaseClass: {
table: string;
columnResizableTable: string;
overflowVisible: string;
body: string;
content: string;
topContent: string;
bottomContent: string;
paginationWrap: string;
tdLastRow: string;
tdFirstCol: string;
thCellInner: string;
tableRowEdit: string;
cellEditable: string;
cellEditWrap: string;
bordered: string;
striped: string;
hover: string;
loading: string;
rowspanAndColspan: string;
empty: string;
emptyRow: string;
headerFixed: string;
columnFixed: string;
widthOverflow: string;
multipleHeader: string;
footerAffixed: string;
horizontalBarAffixed: string;
affixedHeader: string;
affixedHeaderElm: string;
affixedFooterElm: string;
affixedFooterWrap: string;
scrollbarDivider: string;
fullHeight: string;
resizeLine: string;
obviousScrollbar: string;
affixedHeaderWrap: string;
};
spansAndLeafNodes: import("vue").ComputedRef<{
rowspanAndColspanMap: import("./interface").ThRowspanAndColspan;
leafColumns: import("./interface").BaseTableColumns;
}>;
dynamicBaseTableClasses: import("vue").ComputedRef<((string | {
[x: string]: boolean | ((h: typeof import("vue").h) => import("..").TNodeReturnValue) | Partial<import("..").TdAffixProps> | import("./type").TableRowspanAndColspanFunc<import("./type").TableRowData>;
})[] | {
[x: string]: boolean | "single" | "multiple";
})[]>;
tableContentStyles: import("vue").ComputedRef<{
height: string | number;
maxHeight: string | number;
}>;
tableElementStyles: import("vue").ComputedRef<{
width: string | number;
}>;
dividerBottom: import("vue").ComputedRef<number>;
virtualScrollClasses: {
cursor: string;
header: string;
};
tableLayoutClasses: {
auto: string;
fixed: string;
};
tableElmClasses: import("vue").ComputedRef<string[][]>;
tableContentRef: import("vue").Ref<HTMLDivElement>;
isFixedHeader: import("vue").Ref<boolean>;
isWidthOverflow: import("vue").Ref<boolean>;
isFixedColumn: import("vue").Ref<boolean>;
rowAndColFixedPosition: import("vue").Ref<import("./interface").RowAndColFixedPosition>;
showColumnShadow: {
left: boolean;
right: boolean;
};
thWidthList: import("vue").Ref<{
[colKey: string]: number;
}>;
isPaginateData: import("vue").Ref<boolean>;
dataSource: import("vue").Ref<{
[x: string]: any;
children?: any[];
}[]>;
affixHeaderRef: import("vue").Ref<HTMLDivElement>;
affixFooterRef: import("vue").Ref<HTMLDivElement>;
bottomContentRef: import("vue").Ref<HTMLDivElement>;
paginationRef: import("vue").Ref<HTMLDivElement>;
showAffixHeader: import("vue").Ref<boolean>;
showAf