Vizel API / core/src / VizelFindReplaceSpec
Interface: VizelFindReplaceSpec
Defined in: packages/core/src/builders/find-replace.ts:11
Derived display state for the VizelFindReplace panel. Each framework component recomputes this whenever the plugin state changes, then drives rendering off the boolean / string fields instead of duplicating the matchCount > 0 ? "${i}/${n}" : noResults ternary in three places.
Properties
currentMatch
currentMatch: number;Defined in: packages/core/src/builders/find-replace.ts:19
1-based index of the active match (0 when no active match).
isDisabled
isDisabled: boolean;Defined in: packages/core/src/builders/find-replace.ts:23
Whether navigation/replace buttons should be disabled.
isOpen
isOpen: boolean;Defined in: packages/core/src/builders/find-replace.ts:13
Whether the panel is open (mirrors state.isOpen).
isReplaceMode
isReplaceMode: boolean;Defined in: packages/core/src/builders/find-replace.ts:15
Whether the replace input row should be rendered.
matchCount
matchCount: number;Defined in: packages/core/src/builders/find-replace.ts:17
Total number of matches.
matchCountDisplay
matchCountDisplay: string;Defined in: packages/core/src/builders/find-replace.ts:21
Display string for the match counter (e.g. "1/5" or "No matches").