UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

141 lines (139 loc) • 6.46 kB
/*! * devextreme-vue * Version: 25.1.6 * Build date: Mon Oct 13 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 */ import { PropType } from "vue"; import Button, { Properties } from "devextreme/ui/button"; import { ClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, OptionChangedEvent } from "devextreme/ui/button"; import { ButtonStyle } from "devextreme/common"; type AccessibleOptions = Pick<Properties, "accessKey" | "activeStateEnabled" | "disabled" | "elementAttr" | "focusStateEnabled" | "height" | "hint" | "hoverStateEnabled" | "icon" | "onClick" | "onContentReady" | "onDisposing" | "onInitialized" | "onOptionChanged" | "rtlEnabled" | "stylingMode" | "tabIndex" | "template" | "text" | "type" | "useSubmitBehavior" | "validationGroup" | "visible" | "width">; interface DxButton extends AccessibleOptions { readonly instance?: Button; } declare const DxButton: import("@vue/runtime-core").DefineComponent<{ accessKey: StringConstructor; activeStateEnabled: BooleanConstructor; disabled: BooleanConstructor; elementAttr: PropType<Record<string, any>>; focusStateEnabled: BooleanConstructor; height: (NumberConstructor | StringConstructor)[]; hint: StringConstructor; hoverStateEnabled: BooleanConstructor; icon: StringConstructor; onClick: PropType<(e: ClickEvent) => void>; onContentReady: PropType<(e: ContentReadyEvent) => void>; onDisposing: PropType<(e: DisposingEvent) => void>; onInitialized: PropType<(e: InitializedEvent) => void>; onOptionChanged: PropType<(e: OptionChangedEvent) => void>; rtlEnabled: BooleanConstructor; stylingMode: PropType<ButtonStyle>; tabIndex: NumberConstructor; template: {}; text: StringConstructor; type: PropType<string>; useSubmitBehavior: BooleanConstructor; validationGroup: StringConstructor; visible: BooleanConstructor; width: (NumberConstructor | StringConstructor)[]; }, unknown, unknown, { instance(): Button; }, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, { "update:isActive": null; "update:hoveredElement": null; "update:accessKey": null; "update:activeStateEnabled": null; "update:disabled": null; "update:elementAttr": null; "update:focusStateEnabled": null; "update:height": null; "update:hint": null; "update:hoverStateEnabled": null; "update:icon": null; "update:onClick": null; "update:onContentReady": null; "update:onDisposing": null; "update:onInitialized": null; "update:onOptionChanged": null; "update:rtlEnabled": null; "update:stylingMode": null; "update:tabIndex": null; "update:template": null; "update:text": null; "update:type": null; "update:useSubmitBehavior": null; "update:validationGroup": 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; disabled: BooleanConstructor; elementAttr: PropType<Record<string, any>>; focusStateEnabled: BooleanConstructor; height: (NumberConstructor | StringConstructor)[]; hint: StringConstructor; hoverStateEnabled: BooleanConstructor; icon: StringConstructor; onClick: PropType<(e: ClickEvent) => void>; onContentReady: PropType<(e: ContentReadyEvent) => void>; onDisposing: PropType<(e: DisposingEvent) => void>; onInitialized: PropType<(e: InitializedEvent) => void>; onOptionChanged: PropType<(e: OptionChangedEvent) => void>; rtlEnabled: BooleanConstructor; stylingMode: PropType<ButtonStyle>; tabIndex: NumberConstructor; template: {}; text: StringConstructor; type: PropType<string>; useSubmitBehavior: BooleanConstructor; validationGroup: StringConstructor; 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: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:onContentReady"?: ((...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:tabIndex"?: ((...args: any[]) => any) | undefined; "onUpdate:visible"?: ((...args: any[]) => any) | undefined; "onUpdate:width"?: ((...args: any[]) => any) | undefined; "onUpdate:icon"?: ((...args: any[]) => any) | undefined; "onUpdate:template"?: ((...args: any[]) => any) | undefined; "onUpdate:text"?: ((...args: any[]) => any) | undefined; "onUpdate:onClick"?: ((...args: any[]) => any) | undefined; "onUpdate:stylingMode"?: ((...args: any[]) => any) | undefined; "onUpdate:type"?: ((...args: any[]) => any) | undefined; "onUpdate:useSubmitBehavior"?: ((...args: any[]) => any) | undefined; "onUpdate:validationGroup"?: ((...args: any[]) => any) | undefined; }, { activeStateEnabled: boolean; disabled: boolean; focusStateEnabled: boolean; hoverStateEnabled: boolean; rtlEnabled: boolean; visible: boolean; useSubmitBehavior: boolean; }>; export default DxButton; export { DxButton }; import type * as DxButtonTypes from "devextreme/ui/button_types"; export { DxButtonTypes };