active-table
Version:
Framework agnostic table component for editable data experience
12 lines • 618 B
TypeScript
import { DEFAULT_COLUMN_TYPES } from '../../enums/defaultColumnTypes';
import { ColumnTypeInternal } from '../../types/columnTypeInternal';
import { TextValidation } from '../../types/textValidation';
import { CellText } from '../../types/tableData';
export declare class Validation {
private static readonly DEFAULT_TYPES_REGEX;
static readonly DEFAULT_TYPES_FUNCTIONALITY: {
[key in DEFAULT_COLUMN_TYPES]?: TextValidation['func'];
};
static setSelectValidation(type: ColumnTypeInternal, isDefaultTextRemovable: boolean, defaultText: CellText): void;
}
//# sourceMappingURL=validation.d.ts.map