devextreme-vue
Version:
DevExtreme Vue UI and Visualization Components
208 lines (206 loc) • 10.2 kB
TypeScript
/*!
* devextreme-vue
* Version: 25.2.3
* Build date: Fri Dec 12 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/tile_view";
import { PropType } from "vue";
import TileView, { Properties } from "devextreme/ui/tile_view";
import DataSource from "devextreme/data/data_source";
import { ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, OptionChangedEvent } from "devextreme/ui/tile_view";
import { DataSourceOptions } from "devextreme/common/data";
import { Store } from "devextreme/data/store";
import { Orientation, ScrollbarMode } from "devextreme/common";
type AccessibleOptions = Pick<Properties, "accessKey" | "activeStateEnabled" | "baseItemHeight" | "baseItemWidth" | "dataSource" | "direction" | "disabled" | "elementAttr" | "focusStateEnabled" | "height" | "hint" | "hoverStateEnabled" | "itemHoldTimeout" | "itemMargin" | "items" | "itemTemplate" | "noDataText" | "onContentReady" | "onDisposing" | "onInitialized" | "onItemClick" | "onItemContextMenu" | "onItemHold" | "onItemRendered" | "onOptionChanged" | "rtlEnabled" | "showScrollbar" | "tabIndex" | "visible" | "width">;
interface DxTileView extends AccessibleOptions {
readonly instance?: TileView;
}
declare const DxTileView: import("vue").DefineComponent<{
accessKey: StringConstructor;
activeStateEnabled: BooleanConstructor;
baseItemHeight: NumberConstructor;
baseItemWidth: NumberConstructor;
dataSource: PropType<string | any[] | Record<string, any> | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null>;
direction: PropType<Orientation>;
disabled: BooleanConstructor;
elementAttr: PropType<Record<string, any>>;
focusStateEnabled: BooleanConstructor;
height: (NumberConstructor | StringConstructor)[];
hint: StringConstructor;
hoverStateEnabled: BooleanConstructor;
itemHoldTimeout: NumberConstructor;
itemMargin: NumberConstructor;
items: PropType<any[]>;
itemTemplate: {};
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>;
rtlEnabled: BooleanConstructor;
showScrollbar: PropType<ScrollbarMode>;
tabIndex: NumberConstructor;
visible: BooleanConstructor;
width: (NumberConstructor | StringConstructor)[];
}, unknown, unknown, {
instance(): TileView;
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:isActive": null;
"update:hoveredElement": null;
"update:accessKey": null;
"update:activeStateEnabled": null;
"update:baseItemHeight": null;
"update:baseItemWidth": null;
"update:dataSource": null;
"update:direction": null;
"update:disabled": null;
"update:elementAttr": null;
"update:focusStateEnabled": null;
"update:height": null;
"update:hint": null;
"update:hoverStateEnabled": null;
"update:itemHoldTimeout": null;
"update:itemMargin": null;
"update:items": null;
"update:itemTemplate": 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:rtlEnabled": null;
"update:showScrollbar": null;
"update:tabIndex": null;
"update:visible": null;
"update:width": null;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
accessKey: StringConstructor;
activeStateEnabled: BooleanConstructor;
baseItemHeight: NumberConstructor;
baseItemWidth: NumberConstructor;
dataSource: PropType<string | any[] | Record<string, any> | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null>;
direction: PropType<Orientation>;
disabled: BooleanConstructor;
elementAttr: PropType<Record<string, any>>;
focusStateEnabled: BooleanConstructor;
height: (NumberConstructor | StringConstructor)[];
hint: StringConstructor;
hoverStateEnabled: BooleanConstructor;
itemHoldTimeout: NumberConstructor;
itemMargin: NumberConstructor;
items: PropType<any[]>;
itemTemplate: {};
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>;
rtlEnabled: BooleanConstructor;
showScrollbar: PropType<ScrollbarMode>;
tabIndex: NumberConstructor;
visible: BooleanConstructor;
width: (NumberConstructor | StringConstructor)[];
}>> & {
"onUpdate:isActive"?: ((...args: any[]) => any) | undefined;
"onUpdate:hoveredElement"?: ((...args: any[]) => any) | undefined;
"onUpdate:disabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:elementAttr"?: ((...args: any[]) => any) | undefined;
"onUpdate:onDisposing"?: ((...args: any[]) => any) | undefined;
"onUpdate:onInitialized"?: ((...args: any[]) => any) | undefined;
"onUpdate:onOptionChanged"?: ((...args: any[]) => any) | undefined;
"onUpdate:rtlEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:height"?: ((...args: any[]) => any) | undefined;
"onUpdate:width"?: ((...args: any[]) => any) | undefined;
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
"onUpdate:dataSource"?: ((...args: any[]) => any) | undefined;
"onUpdate:hoverStateEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:items"?: ((...args: any[]) => any) | undefined;
"onUpdate:itemTemplate"?: ((...args: any[]) => any) | undefined;
"onUpdate:onContentReady"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemClick"?: ((...args: any[]) => any) | undefined;
"onUpdate:accessKey"?: ((...args: any[]) => any) | undefined;
"onUpdate:activeStateEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:focusStateEnabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:hint"?: ((...args: any[]) => any) | undefined;
"onUpdate:itemHoldTimeout"?: ((...args: any[]) => any) | undefined;
"onUpdate:noDataText"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemContextMenu"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemHold"?: ((...args: any[]) => any) | undefined;
"onUpdate:onItemRendered"?: ((...args: any[]) => any) | undefined;
"onUpdate:tabIndex"?: ((...args: any[]) => any) | undefined;
"onUpdate:direction"?: ((...args: any[]) => any) | undefined;
"onUpdate:showScrollbar"?: ((...args: any[]) => any) | undefined;
"onUpdate:baseItemHeight"?: ((...args: any[]) => any) | undefined;
"onUpdate:baseItemWidth"?: ((...args: any[]) => any) | undefined;
"onUpdate:itemMargin"?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
rtlEnabled: boolean;
visible: boolean;
hoverStateEnabled: boolean;
activeStateEnabled: boolean;
focusStateEnabled: boolean;
}>;
declare const DxItem: import("vue").DefineComponent<{
disabled: BooleanConstructor;
heightRatio: NumberConstructor;
html: StringConstructor;
template: {};
text: StringConstructor;
visible: BooleanConstructor;
widthRatio: NumberConstructor;
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:isActive": null;
"update:hoveredElement": null;
"update:disabled": null;
"update:heightRatio": null;
"update:html": null;
"update:template": null;
"update:text": null;
"update:visible": null;
"update:widthRatio": null;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
disabled: BooleanConstructor;
heightRatio: NumberConstructor;
html: StringConstructor;
template: {};
text: StringConstructor;
visible: BooleanConstructor;
widthRatio: NumberConstructor;
}>> & {
"onUpdate:isActive"?: ((...args: any[]) => any) | undefined;
"onUpdate:hoveredElement"?: ((...args: any[]) => any) | undefined;
"onUpdate:disabled"?: ((...args: any[]) => any) | undefined;
"onUpdate:template"?: ((...args: any[]) => any) | undefined;
"onUpdate:text"?: ((...args: any[]) => any) | undefined;
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
"onUpdate:html"?: ((...args: any[]) => any) | undefined;
"onUpdate:heightRatio"?: ((...args: any[]) => any) | undefined;
"onUpdate:widthRatio"?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
visible: boolean;
}>;
export default DxTileView;
export { DxTileView, DxItem };
import type * as DxTileViewTypes from "devextreme/ui/tile_view_types";
export { DxTileViewTypes };