PluginProbe
Booking Calendar / 11.8
Booking Calendar v11.8
11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 All 204 releases
booking / vendors / imask / esm / masked / pattern / cursor.d.ts

cursor.d.ts in Booking Calendar 11.8, at vendors/imask/esm/masked/pattern/cursor.d.ts

32 lines 1009 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import type MaskedPattern from '../pattern';
2 import type PatternBlock from './block';
3 type PatternCursorState = {
4 offset: number;
5 index: number;
6 ok: boolean;
7 };
8 export default class PatternCursor<Value> {
9 masked: MaskedPattern<Value>;
10 offset: number;
11 index: number;
12 ok: boolean;
13 _log: PatternCursorState[];
14 constructor(masked: MaskedPattern<Value>, pos: number);
15 get block(): PatternBlock;
16 get pos(): number;
17 get state(): PatternCursorState;
18 set state(s: PatternCursorState);
19 pushState(): void;
20 popState(): PatternCursorState | undefined;
21 bindBlock(): void;
22 _pushLeft(fn: () => boolean | undefined): boolean;
23 _pushRight(fn: () => boolean | undefined): boolean;
24 pushLeftBeforeFilled(): boolean;
25 pushLeftBeforeInput(): boolean;
26 pushLeftBeforeRequired(): boolean;
27 pushRightBeforeFilled(): boolean;
28 pushRightBeforeInput(): boolean;
29 pushRightBeforeRequired(): boolean;
30 }
31 export {};
32 //# sourceMappingURL=cursor.d.ts.map