@blinkk/selective-edit
Version:
Selective structured text editor.
18 lines (17 loc) • 698 B
TypeScript
import { Field, FieldConfig } from '../field';
import { GlobalConfig, SelectiveEditor } from '../editor';
import { TemplateResult } from 'lit-html';
import { DeepObject } from '../../utility/deepObject';
import { Types } from '../types';
export declare type DateFieldConfig = FieldConfig;
export declare class DateField extends Field {
config: DateFieldConfig;
constructor(types: Types, config: DateFieldConfig, globalConfig: GlobalConfig, fieldType?: string);
/**
* Cleanup the date strings.
*
* @param value Original value from the source.
*/
cleanOriginalValue(value: any): any;
templateInput(editor: SelectiveEditor, data: DeepObject): TemplateResult;
}