part of rrweb #80, support configure mask input types

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 79fe0d1fd8
commit 02123b2874
2 changed files with 56 additions and 18 deletions

View File

@@ -68,3 +68,19 @@ export interface INode extends Node {
export type idNodeMap = {
[key: number]: INode;
};
export type MaskInputOptions = Partial<{
color: boolean;
date: boolean;
'datetime-local': boolean;
email: boolean;
month: boolean;
number: boolean;
range: boolean;
search: boolean;
tel: boolean;
text: boolean;
time: boolean;
url: boolean;
week: boolean;
}>;