@fileverse-dev/dsheet 2.0.1-search-1 → 2.0.1-search-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -157,8 +157,4 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
|
|
|
157
157
|
getConditionalFormatComponent: () => import('react').FC<{
|
|
158
158
|
context?: any;
|
|
159
159
|
}>;
|
|
160
|
-
/** Opens the Find and Replace dialog (same UI as Ctrl+H / context menu). */
|
|
161
|
-
openFindAndReplace: (options?: {
|
|
162
|
-
prefill?: string;
|
|
163
|
-
}) => void;
|
|
164
160
|
};
|
|
@@ -162,8 +162,5 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
|
|
|
162
162
|
getConditionalFormatComponent: () => React.FC<{
|
|
163
163
|
context?: any;
|
|
164
164
|
}>;
|
|
165
|
-
openFindAndReplace: (options?: {
|
|
166
|
-
prefill?: string;
|
|
167
|
-
}) => void;
|
|
168
165
|
}>>;
|
|
169
166
|
export default Workbook;
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WorkbookInstance } from '../sheet-engine/react';
|
|
2
|
-
|
|
3
|
-
export type OpenFindAndReplaceOptions = {
|
|
4
|
-
/** Initial value for the Find field (optional). */
|
|
5
|
-
prefill?: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Opens the Find and Replace dialog for a mounted workbook.
|
|
9
|
-
* Pass the imperative handle from `Workbook` / `DSheetEditor` (e.g. `sheetEditorRef.current`).
|
|
10
|
-
*/
|
|
11
|
-
export declare function openFindAndReplace(workbook: WorkbookInstance | null | undefined, options?: OpenFindAndReplaceOptions): void;
|