Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-09 14:52:46 +00:00
parent 42a0efe70b
commit 47fa6d98b2
28661 changed files with 2421771 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
declare const FORMAT_KEYS: string[];
export type FormatKey = (typeof FORMAT_KEYS)[number];
export interface Cell {
text: string;
mask: boolean;
start: number;
end: number;
}
export default class MaskFormat {
format: string;
maskFormat: string;
cells: Cell[];
maskCells: Cell[];
constructor(format: string);
getSelection(maskCellIndex: number): [start: number, end: number];
/** Check given text match format */
match(text: string): boolean;
/** Get mask cell count */
size(): number;
getMaskCellIndex(anchorIndex: number): number;
}
export {};