@progress/kendo-vue-editor
Version:
84 lines (83 loc) • 2.73 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { TabStripSelectEventArguments } from '@progress/kendo-vue-layout';
import { EditorToolsSettings } from './../config/toolsSettings';
import { EditorView } from '@progress/kendo-editor-common';
/**
* The props for the FindAndReplaceDialog component.
*/
export interface FindAndReplaceDialogProps {
/**
* The `EditorView` object.
*/
view: EditorView;
/**
* The `settings` object of the Dialog.
*/
settings?: EditorToolsSettings.FindReplaceSettings;
/**
* Represents the `dir` HTML attribute.
*/
dir?: string;
/**
* The `close` event which will be triggered when the Dialog is about to be unmounted.
*/
onClose?: () => void;
}
/**
* @hidden
*/
declare const FindAndReplaceDialog: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
view: ObjectConstructor;
settings: {
type: ObjectConstructor;
default: () => EditorToolsSettings.FindReplaceSettings;
};
dir: StringConstructor;
}>, {}, {
selectedTab: number;
searchText: string;
replaceText: string;
matchCase: boolean;
matchWord: boolean;
matchCyclic: boolean;
useRegExp: boolean;
matches: any[];
hasMounted: boolean;
}, {}, {
onTabSelect(event: TabStripSelectEventArguments): void;
onClose(): void;
matchesMessage(locMessage: string): string;
onFindNext(): void;
onFindPrev(): void;
onFind(backward?: boolean): void;
onReplace(): void;
onReplaceAll(): void;
onKeyDown(event: any): void;
onMatchCaseChecked(e: any): void;
onMatchWordChecked(e: any): void;
onMatchCyclicChecked(e: any): void;
onUseRegExpChecked(e: any): void;
onSearchChange(e: any): void;
onReplaceChange(e: any): void;
setNextState(): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: any;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
view: ObjectConstructor;
settings: {
type: ObjectConstructor;
default: () => EditorToolsSettings.FindReplaceSettings;
};
dir: StringConstructor;
}>> & Readonly<{
onClose?: (...args: any[] | unknown[]) => any;
}>, {
settings: Record<string, any>;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export { FindAndReplaceDialog };