UNPKG

devextreme

Version:

JavaScript/TypeScript Component Suite for Responsive Web Development

24 lines (23 loc) • 964 B
/** * DevExtreme (cjs/__internal/grids/grid_core/validating/const.js) * Version: 26.1.6 * Build date: Fri Oct 16 2026 * * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validationResultIsValid = exports.VALIDATION_STATUS = exports.VALIDATION_CANCELLED = exports.INVALIDATE_CLASS = void 0; var _type = require("../../../../core/utils/type"); const INVALIDATE_CLASS = exports.INVALIDATE_CLASS = "invalid"; const VALIDATION_STATUS = exports.VALIDATION_STATUS = { valid: "valid", invalid: "invalid", pending: "pending" }; const VALIDATION_CANCELLED = exports.VALIDATION_CANCELLED = "cancel"; const validationResultIsValid = result => (0, _type.isDefined)(result) && result !== VALIDATION_CANCELLED; exports.validationResultIsValid = validationResultIsValid;