UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

181 lines (179 loc) • 8.86 kB
/*! * 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/box"; import { PropType } from "vue"; import Box, { Properties } from "devextreme/ui/box"; import DataSource from "devextreme/data/data_source"; import { Distribution, CrosswiseDistribution, BoxDirection, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, OptionChangedEvent, dxBoxOptions } from "devextreme/ui/box"; import { DataSourceOptions } from "devextreme/common/data"; import { Store } from "devextreme/data/store"; type AccessibleOptions = Pick<Properties, "align" | "crossAlign" | "dataSource" | "direction" | "disabled" | "elementAttr" | "height" | "hoverStateEnabled" | "itemHoldTimeout" | "items" | "itemTemplate" | "onContentReady" | "onDisposing" | "onInitialized" | "onItemClick" | "onItemContextMenu" | "onItemHold" | "onItemRendered" | "onOptionChanged" | "rtlEnabled" | "visible" | "width">; interface DxBox extends AccessibleOptions { readonly instance?: Box; } declare const DxBox: import("@vue/runtime-core").DefineComponent<{ align: PropType<Distribution>; crossAlign: PropType<CrosswiseDistribution>; dataSource: PropType<string | any[] | Record<string, any> | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null>; direction: PropType<BoxDirection>; disabled: BooleanConstructor; elementAttr: PropType<Record<string, any>>; height: (NumberConstructor | StringConstructor)[]; hoverStateEnabled: BooleanConstructor; itemHoldTimeout: NumberConstructor; items: PropType<any[]>; itemTemplate: {}; 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; visible: BooleanConstructor; width: (NumberConstructor | StringConstructor)[]; }, unknown, unknown, { instance(): Box; }, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, { "update:isActive": null; "update:hoveredElement": null; "update:align": null; "update:crossAlign": null; "update:dataSource": null; "update:direction": null; "update:disabled": null; "update:elementAttr": null; "update:height": null; "update:hoverStateEnabled": null; "update:itemHoldTimeout": null; "update:items": null; "update:itemTemplate": 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: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<{ align: PropType<Distribution>; crossAlign: PropType<CrosswiseDistribution>; dataSource: PropType<string | any[] | Record<string, any> | DataSource<any, any> | DataSourceOptions<any, any, any, any> | Store<any, any> | null>; direction: PropType<BoxDirection>; disabled: BooleanConstructor; elementAttr: PropType<Record<string, any>>; height: (NumberConstructor | StringConstructor)[]; hoverStateEnabled: BooleanConstructor; itemHoldTimeout: NumberConstructor; items: PropType<any[]>; itemTemplate: {}; 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; visible: BooleanConstructor; width: (NumberConstructor | StringConstructor)[]; }>> & { "onUpdate:isActive"?: ((...args: any[]) => any) | undefined; "onUpdate:hoveredElement"?: ((...args: any[]) => any) | undefined; "onUpdate:dataSource"?: ((...args: any[]) => any) | undefined; "onUpdate:disabled"?: ((...args: any[]) => any) | undefined; "onUpdate:elementAttr"?: ((...args: any[]) => any) | undefined; "onUpdate:height"?: ((...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: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:rtlEnabled"?: ((...args: any[]) => any) | undefined; "onUpdate:visible"?: ((...args: any[]) => any) | undefined; "onUpdate:width"?: ((...args: any[]) => any) | undefined; "onUpdate:direction"?: ((...args: any[]) => any) | undefined; "onUpdate:align"?: ((...args: any[]) => any) | undefined; "onUpdate:crossAlign"?: ((...args: any[]) => any) | undefined; }, { disabled: boolean; hoverStateEnabled: boolean; rtlEnabled: boolean; visible: boolean; }>; declare const DxItem: import("@vue/runtime-core").DefineComponent<{ baseSize: (NumberConstructor | StringConstructor)[]; box: PropType<Record<string, any> | dxBoxOptions<any, any>>; disabled: BooleanConstructor; html: StringConstructor; ratio: NumberConstructor; shrink: NumberConstructor; template: {}; text: StringConstructor; visible: BooleanConstructor; }, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, { "update:isActive": null; "update:hoveredElement": null; "update:baseSize": null; "update:box": null; "update:disabled": null; "update:html": null; "update:ratio": null; "update:shrink": null; "update:template": null; "update:text": 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<{ baseSize: (NumberConstructor | StringConstructor)[]; box: PropType<Record<string, any> | dxBoxOptions<any, any>>; disabled: BooleanConstructor; html: StringConstructor; ratio: NumberConstructor; shrink: NumberConstructor; template: {}; text: 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:template"?: ((...args: any[]) => any) | undefined; "onUpdate:text"?: ((...args: any[]) => any) | undefined; "onUpdate:baseSize"?: ((...args: any[]) => any) | undefined; "onUpdate:box"?: ((...args: any[]) => any) | undefined; "onUpdate:ratio"?: ((...args: any[]) => any) | undefined; "onUpdate:shrink"?: ((...args: any[]) => any) | undefined; }, { disabled: boolean; visible: boolean; }>; export default DxBox; export { DxBox, DxItem }; import type * as DxBoxTypes from "devextreme/ui/box_types"; export { DxBoxTypes };