UNPKG

devextreme-vue

Version:

DevExtreme Vue UI and Visualization Components

48 lines (46 loc) 1.76 kB
/*! * devextreme-vue * Version: 19.2.6 * Build date: Thu Jan 30 2020 * * Copyright (c) 2012 - 2020 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 * as VueType from "vue"; import Validator, { IOptions } from "devextreme/ui/validator"; declare type AccessibleOptions = Pick<IOptions, "adapter" | "elementAttr" | "height" | "name" | "onDisposing" | "onInitialized" | "onOptionChanged" | "onValidated" | "validationGroup" | "validationRules" | "width">; interface DxValidator extends AccessibleOptions { readonly instance?: Validator; } declare const DxValidator: VueType.VueConstructor<{ instance: Validator; } & { adapter: any; elementAttr: any; height: string | number | Function; name: string; onDisposing: Function; onInitialized: Function; onOptionChanged: Function; onValidated: Function; validationGroup: string; validationRules: unknown[]; width: string | number | Function; } & VueType.default>; declare const DxAdapter: any; declare const DxAsyncRule: any; declare const DxCompareRule: any; declare const DxCustomRule: any; declare const DxEmailRule: any; declare const DxNumericRule: any; declare const DxPatternRule: any; declare const DxRangeRule: any; declare const DxRequiredRule: any; declare const DxStringLengthRule: any; declare const DxValidationRule: any; export default DxValidator; export { DxValidator, DxAdapter, DxAsyncRule, DxCompareRule, DxCustomRule, DxEmailRule, DxNumericRule, DxPatternRule, DxRangeRule, DxRequiredRule, DxStringLengthRule, DxValidationRule };