devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
284 lines (282 loc) • 14 kB
TypeScript
/*!
* devextreme-vue
* Version: 25.1.5
* Build date: Wed Sep 03 2025
*
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://github.com/DevExpress/devextreme-vue
*/
export { ExplicitTypes } from "devextreme/ui/tab_panel";
import { PropType } from "vue";
import TabPanel, { Properties } from "devextreme/ui/tab_panel";
import DataSource from "devextreme/data/data_source";
import { ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, OptionChangedEvent, SelectionChangedEvent, SelectionChangingEvent, TitleClickEvent, TitleHoldEvent, TitleRenderedEvent } from "devextreme/ui/tab_panel";
import { DataSourceOptions } from "devextreme/common/data";
import { Store } from "devextreme/data/store";
import { TabsIconPosition, TabsStyle, Position } from "devextreme/common";
type AccessibleOptions = Pick<Properties, "accessKey" | "activeStateEnabled" | "animationEnabled" | "dataSource" | "deferRendering" | "disabled" | "elementAttr" | "focusStateEnabled" | "height" | "hint" | "hoverStateEnabled" | "iconPosition" | "itemHoldTimeout" | "items" | "itemTemplate" | "itemTitleTemplate" | "keyExpr" | "loop" | "noDataText" | "onContentReady" | "onDisposing" | "onInitialized" | "onItemClick" | "onItemContextMenu" | "onItemHold" | "onItemRendered" | "onOptionChanged" | "onSelectionChanged" | "onSelectionChanging" | "onTitleClick" | "onTitleHold" | "onTitleRendered" | "repaintChangesOnly" | "rtlEnabled" | "scrollByContent" | "scrollingEnabled" | "selectedIndex" | "selectedItem" | "showNavButtons" | "stylingMode" | "swipeEnabled" | "tabIndex" | "tabsPosition" | "visible" | "width">;
interface DxTabPanel extends AccessibleOptions {
readonly instance?: TabPanel;
}
declare const DxTabPanel: import("@vue/runtime-core").DefineComponent<{
accessKey: StringConstructor;
activeStateEnabled: BooleanConstructor;
animationEnabled: BooleanConstructor;
dataSource: PropType<string | any[] | Record<string, any> | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null>;
deferRendering: BooleanConstructor;
disabled: BooleanConstructor;
elementAttr: PropType<Record<string, any>>;
focusStateEnabled: BooleanConstructor;
height: (NumberConstructor | StringConstructor)[];
hint: StringConstructor;
hoverStateEnabled: BooleanConstructor;
iconPosition: PropType<TabsIconPosition>;
itemHoldTimeout: NumberConstructor;
items: PropType<any[]>;
itemTemplate: {};
itemTitleTemplate: {};
keyExpr: PropType<string | (() => void)>;
loop: BooleanConstructor;
noDataText: StringConstructor;
onContentReady: PropType<(e: ContentReadyEvent) => void>;
onDisposing: PropType<(e: DisposingEvent) => void>;
onInitialized: PropType<(e: InitializedEvent) => void>;
onItemClick: PropType<(e: ItemClickEvent) => void>;
onItemContextMenu: PropType<(e: ItemContextMenuEvent) => void>;
onItemHold: PropType<(e: ItemHoldEvent) => void>;
onItemRendered: PropType<(e: ItemRenderedEvent) => void>;
onOptionChanged: PropType<(e: OptionChangedEvent) => void>;
onSelectionChanged: PropType<(e: SelectionChangedEvent) => void>;
onSelectionChanging: PropType<(e: SelectionChangingEvent) => void>;
onTitleClick: PropType<(e: TitleClickEvent) => void>;
onTitleHold: PropType<(e: TitleHoldEvent) => void>;
onTitleRendered: PropType<(e: TitleRenderedEvent) => void>;
repaintChangesOnly: BooleanConstructor;
rtlEnabled: BooleanConstructor;
scrollByContent: BooleanConstructor;
scrollingEnabled: BooleanConstructor;
selectedIndex: NumberConstructor;
selectedItem: {};
showNavButtons: BooleanConstructor;
stylingMode: PropType<TabsStyle>;
swipeEnabled: BooleanConstructor;
tabIndex: NumberConstructor;
tabsPosition: PropType<Position>;
visible: BooleanConstructor;
width: (NumberConstructor | StringConstructor)[];
}, unknown, unknown, {
instance(): TabPanel;
}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
"update:isActive": null;
"update:hoveredElement": null;
"update:accessKey": null;
"update:activeStateEnabled": null;
"update:animationEnabled": null;
"update:dataSource": null;
"update:deferRendering": null;
"update:disabled": null;
"update:elementAttr": null;
"update:focusStateEnabled": null;
"update:height": null;
"update:hint": null;
"update:hoverStateEnabled": null;
"update:iconPosition": null;
"update:itemHoldTimeout": null;
"update:items": null;
"update:itemTemplate": null;
"update:itemTitleTemplate": null;
"update:keyExpr": null;
"update:loop": null;
"update:noDataText": null;
"update:onContentReady": null;
"update:onDisposing": null;
"update:onInitialized": null;
"update:onItemClick": null;
"update:onItemContextMenu": null;
"update:onItemHold": null;
"update:onItemRendered": null;
"update:onOptionChanged": null;
"update:onSelectionChanged": null;
"update:onSelectionChanging": null;
"update:onTitleClick": null;
"update:onTitleHold": null;
"update:onTitleRendered": null;
"update:repaintChangesOnly": null;
"update:rtlEnabled": null;
"update:scrollByContent": null;
"update:scrollingEnabled": null;
"update:selectedIndex": null;
"update:selectedItem": null;
"update:showNavButtons": null;
"update:stylingMode": null;
"update:swipeEnabled": null;
"update:tabIndex": null;
"update:tabsPosition": null;
"update:visible": null;
"update:width": null;
}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
accessKey: StringConstructor;
activeStateEnabled: BooleanConstructor;
animationEnabled: BooleanConstructor;
dataSource: PropType<string | any[] | Record<string, any> | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null>;
deferRendering: BooleanConstructor;
disabled: BooleanConstructor;
elementAttr: PropType<Record<string, any>>;
focusStateEnabled: BooleanConstructor;
height: (NumberConstructor | StringConstructor)[];
hint: StringConstructor;
hoverStateEnabled: BooleanConstructor;
iconPosition: PropType<TabsIconPosition>;
itemHoldTimeout: NumberConstructor;
items: PropType<any[]>;
itemTemplate: {};
itemTitleTemplate: {};
keyExpr: PropType<string | (() => void)>;
loop: BooleanConstructor;
noDataText: StringConstructor;
onContentReady: PropType<(e: ContentReadyEvent) => void>;
onDisposing: PropType<(e: DisposingEvent) => void>;
onInitialized: PropType<(e: InitializedEvent) => void>;
onItemClick: PropType<(e: ItemClickEvent) => void>;
onItemContextMenu: PropType<(e: ItemContextMenuEvent) => void>;
onItemHold: PropType<(e: ItemHoldEvent) => void>;
onItemRendered: PropType<(e: ItemRenderedEvent) => void>;
onOptionChanged: PropType<(e: OptionChangedEvent) => void>;
onSelectionChanged: PropType<(e: SelectionChangedEvent) => void>;
onSelectionChanging: PropType<(e: SelectionChangingEvent) => void>;
onTitleClick: PropType<(e: TitleClickEvent) => void>;
onTitleHold: PropType<(e: TitleHoldEvent) => void>;
onTitleRendered: PropType<(e: TitleRenderedEvent) => void>;
repaintChangesOnly: BooleanConstructor;
rtlEnabled: BooleanConstructor;
scrollByContent: BooleanConstructor;
scrollingEnabled: BooleanConstructor;
selectedIndex: NumberConstructor;
selectedItem: {};
showNavButtons: BooleanConstructor;
stylingMode: PropType<TabsStyle>;
swipeEnabled: BooleanConstructor;
tabIndex: NumberConstructor;
tabsPosition: PropType<Position>;
visible: BooleanConstructor;
width: (NumberConstructor | StringConstructor)[];
}>> & {
"onUpdate:isActive"?: ((...args: any[]) => any) | undefined;
"onUpdate:hoveredElement"?: ((...args: any[]) => any) | undefined;
"onUpdate:accessKey"?: ((...args: any[]) => any) | undefined;
"onUpdate:activeStateEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:dataSource"?: ((...args: any[]) => any) | undefined;
"onUpdate:deferRendering"?: ((...args: any[]) => any) | undefined;
"onUpdate:disabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:elementAttr"?: ((...args: any[]) => any) | undefined;
"onUpdate:focusStateEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:height"?: ((...args: any[]) => any) | undefined;
"onUpdate:hint"?: ((...args: any[]) => any) | undefined;
"onUpdate:hoverStateEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:itemHoldTimeout"?: ((...args: any[]) => any) | undefined;
"onUpdate:items"?: ((...args: any[]) => any) | undefined;
"onUpdate:itemTemplate"?: ((...args: any[]) => any) | undefined;
"onUpdate:itemTitleTemplate"?: ((...args: any[]) => any) | undefined;
"onUpdate:keyExpr"?: ((...args: any[]) => any) | undefined;
"onUpdate:noDataText"?: ((...args: any[]) => any) | undefined;
"onUpdate:onContentReady"?: ((...args: any[]) => any) | undefined;
"onUpdate:onDisposing"?: ((...args: any[]) => any) | undefined;
"onUpdate:onInitialized"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemClick"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemContextMenu"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemHold"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemRendered"?: ((...args: any[]) => any) | undefined;
"onUpdate:onOptionChanged"?: ((...args: any[]) => any) | undefined;
"onUpdate:onSelectionChanged"?: ((...args: any[]) => any) | undefined;
"onUpdate:repaintChangesOnly"?: ((...args: any[]) => any) | undefined;
"onUpdate:rtlEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:selectedIndex"?: ((...args: any[]) => any) | undefined;
"onUpdate:selectedItem"?: ((...args: any[]) => any) | undefined;
"onUpdate:tabIndex"?: ((...args: any[]) => any) | undefined;
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
"onUpdate:width"?: ((...args: any[]) => any) | undefined;
"onUpdate:stylingMode"?: ((...args: any[]) => any) | undefined;
"onUpdate:onTitleRendered"?: ((...args: any[]) => any) | undefined;
"onUpdate:scrollingEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:scrollByContent"?: ((...args: any[]) => any) | undefined;
"onUpdate:animationEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:iconPosition"?: ((...args: any[]) => any) | undefined;
"onUpdate:loop"?: ((...args: any[]) => any) | undefined;
"onUpdate:onSelectionChanging"?: ((...args: any[]) => any) | undefined;
"onUpdate:onTitleClick"?: ((...args: any[]) => any) | undefined;
"onUpdate:onTitleHold"?: ((...args: any[]) => any) | undefined;
"onUpdate:showNavButtons"?: ((...args: any[]) => any) | undefined;
"onUpdate:swipeEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:tabsPosition"?: ((...args: any[]) => any) | undefined;
}, {
activeStateEnabled: boolean;
deferRendering: boolean;
disabled: boolean;
focusStateEnabled: boolean;
hoverStateEnabled: boolean;
repaintChangesOnly: boolean;
rtlEnabled: boolean;
visible: boolean;
scrollingEnabled: boolean;
scrollByContent: boolean;
animationEnabled: boolean;
loop: boolean;
showNavButtons: boolean;
swipeEnabled: boolean;
}>;
declare const DxItem: import("@vue/runtime-core").DefineComponent<{
badge: StringConstructor;
disabled: BooleanConstructor;
html: StringConstructor;
icon: StringConstructor;
tabTemplate: {};
template: {};
text: StringConstructor;
title: StringConstructor;
visible: BooleanConstructor;
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
"update:isActive": null;
"update:hoveredElement": null;
"update:badge": null;
"update:disabled": null;
"update:html": null;
"update:icon": null;
"update:tabTemplate": null;
"update:template": null;
"update:text": null;
"update:title": null;
"update:visible": null;
}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
badge: StringConstructor;
disabled: BooleanConstructor;
html: StringConstructor;
icon: StringConstructor;
tabTemplate: {};
template: {};
text: StringConstructor;
title: StringConstructor;
visible: BooleanConstructor;
}>> & {
"onUpdate:isActive"?: ((...args: any[]) => any) | undefined;
"onUpdate:hoveredElement"?: ((...args: any[]) => any) | undefined;
"onUpdate:disabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
"onUpdate:html"?: ((...args: any[]) => any) | undefined;
"onUpdate:icon"?: ((...args: any[]) => any) | undefined;
"onUpdate:template"?: ((...args: any[]) => any) | undefined;
"onUpdate:text"?: ((...args: any[]) => any) | undefined;
"onUpdate:title"?: ((...args: any[]) => any) | undefined;
"onUpdate:badge"?: ((...args: any[]) => any) | undefined;
"onUpdate:tabTemplate"?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
visible: boolean;
}>;
export default DxTabPanel;
export { DxTabPanel, DxItem };
import type * as DxTabPanelTypes from "devextreme/ui/tab_panel_types";
export { DxTabPanelTypes };