@kbss-cvut/s-forms
Version:
Semantic forms generator and processor
13 lines (12 loc) • 458 B
TypeScript
export default class MaskMapper {
/**
* Attempts to map regular mask (e.g. date) to the format supported by inputmask-core.
*
* E.g. it maps (DD-MM-YYYY) to 11-11-1111.
*
* If an unsupported mask character is encountered, it is simply skipped. Datetime masks are processed according to
* ISO 8601 acronyms (e.g. M for month and m for minute).
* @param mask The mask to map
*/
static mapMask(mask: any): any;
}