@lvce-editor/test-worker 5.5.0 → 5.6.0

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.
package/dist/api.d.ts CHANGED
@@ -164,7 +164,14 @@ declare const createExecutable: (content: string) => Promise<string>;
164
164
  declare const createExecutableFrom: (uri: string) => Promise<string>;
165
165
  declare const focusNext$3: () => Promise<void>;
166
166
  declare const focusPrevious$2: () => Promise<void>;
167
+ declare const setReplaceValue: (value: string) => Promise<void>;
167
168
  declare const setValue: (value: string) => Promise<void>;
169
+ declare const toggleReplace: () => Promise<void>;
170
+ declare const toggleMatchCase: () => Promise<void>;
171
+ declare const toggleMatchWholeWord: () => Promise<void>;
172
+ declare const toggleUseRegularExpression: () => Promise<void>;
173
+ declare const replace: () => Promise<void>;
174
+ declare const replaceAll: () => Promise<void>;
168
175
  declare const setIconTheme: (id: string) => Promise<void>;
169
176
  declare const selectIndex$2: (index: number) => Promise<void>;
170
177
  declare const focusNext$4: () => Promise<void>;
@@ -250,9 +257,9 @@ declare const setPauseOnExceptions: (value: number) => Promise<void>;
250
257
  declare const handleRename: () => Promise<void>;
251
258
  declare const handleSpace: () => Promise<void>;
252
259
  declare const setValue$2: (value: string) => Promise<void>;
253
- declare const setReplaceValue: (value: string) => Promise<void>;
260
+ declare const setReplaceValue$1: (value: string) => Promise<void>;
254
261
  declare const setExcludeValue: (value: string) => Promise<void>;
255
- declare const replaceAll: () => Promise<void>;
262
+ declare const replaceAll$1: () => Promise<void>;
256
263
  declare const setIncludeValue: (value: string) => Promise<void>;
257
264
  declare const clearSearchResults: () => Promise<void>;
258
265
  declare const openDetails: () => Promise<void>;
@@ -267,11 +274,11 @@ declare const focusNextPage: () => Promise<void>;
267
274
  declare const focusPreviousPage: () => Promise<void>;
268
275
  declare const focusPrevious$7: () => Promise<void>;
269
276
  declare const toggleSearchDetails: () => Promise<void>;
270
- declare const toggleMatchCase: () => Promise<void>;
271
- declare const toggleMatchWholeWord: () => Promise<void>;
277
+ declare const toggleMatchCase$1: () => Promise<void>;
278
+ declare const toggleMatchWholeWord$1: () => Promise<void>;
272
279
  declare const togglePreserveCase: () => Promise<void>;
273
- declare const toggleUseRegularExpression: () => Promise<void>;
274
- declare const toggleReplace: () => Promise<void>;
280
+ declare const toggleUseRegularExpression$1: () => Promise<void>;
281
+ declare const toggleReplace$1: () => Promise<void>;
275
282
  declare const update: (settings: any) => Promise<void>;
276
283
  declare const show$3: () => Promise<void>;
277
284
  declare const handleInput$2: (searchValue: string) => Promise<void>;
@@ -362,7 +369,7 @@ declare namespace FileSystem {
362
369
  export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, readFile, remove, writeFile, writeJson };
363
370
  }
364
371
  declare namespace FindWidget {
365
- export { focusNext$3 as focusNext, focusPrevious$2 as focusPrevious, setValue };
372
+ export { focusNext$3 as focusNext, focusPrevious$2 as focusPrevious, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, toggleReplace, toggleUseRegularExpression };
366
373
  }
367
374
  declare namespace IconTheme {
368
375
  export { setIconTheme };
@@ -401,7 +408,7 @@ declare namespace RunAndDebug {
401
408
  export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$4 as selectIndex, setPauseOnExceptions };
402
409
  }
403
410
  declare namespace Search {
404
- export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$4 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$7 as focusPrevious, focusPreviousPage, handleWheel$2 as handleWheel, openDetails, replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
411
+ export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$4 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$7 as focusPrevious, focusPreviousPage, handleWheel$2 as handleWheel, openDetails, replaceAll$1 as replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue$1 as setReplaceValue, setValue$2 as setValue, toggleMatchCase$1 as toggleMatchCase, toggleMatchWholeWord$1 as toggleMatchWholeWord, togglePreserveCase, toggleReplace$1 as toggleReplace, toggleSearchDetails, toggleUseRegularExpression$1 as toggleUseRegularExpression };
405
412
  }
406
413
  declare namespace Settings {
407
414
  export { update };
@@ -2542,16 +2542,51 @@ const focusPrevious$6 = async () => {
2542
2542
  // @ts-ignore
2543
2543
  await invoke$1('FindWidget.focusPrevious');
2544
2544
  };
2545
+ const setReplaceValue$1 = async value => {
2546
+ // @ts-ignore
2547
+ await invoke$1('FindWidget.handleReplaceInput', value, Script);
2548
+ };
2545
2549
  const setValue$2 = async value => {
2546
2550
  // @ts-ignore
2547
2551
  await invoke$1('FindWidget.handleInput', value, Script);
2548
2552
  };
2553
+ const toggleReplace$1 = async () => {
2554
+ // @ts-ignore
2555
+ await invoke$1('FindWidget.toggleReplace');
2556
+ };
2557
+ const toggleMatchCase$1 = async () => {
2558
+ // @ts-ignore
2559
+ await invoke$1('FindWidget.toggleMatchCase');
2560
+ };
2561
+ const toggleMatchWholeWord$1 = async () => {
2562
+ // @ts-ignore
2563
+ await invoke$1('FindWidget.toggleMatchWholeWord');
2564
+ };
2565
+ const toggleUseRegularExpression$1 = async () => {
2566
+ // @ts-ignore
2567
+ await invoke$1('FindWidget.toggleUseRegularExpression');
2568
+ };
2569
+ const replace = async () => {
2570
+ // @ts-ignore
2571
+ await invoke$1('FindWidget.replace');
2572
+ };
2573
+ const replaceAll$1 = async () => {
2574
+ // @ts-ignore
2575
+ await invoke$1('FindWidget.replaceAll');
2576
+ };
2549
2577
 
2550
2578
  const TestFrameWorkComponentFindWidget = {
2551
2579
  __proto__: null,
2552
2580
  focusNext: focusNext$6,
2553
2581
  focusPrevious: focusPrevious$6,
2554
- setValue: setValue$2
2582
+ replace,
2583
+ replaceAll: replaceAll$1,
2584
+ setReplaceValue: setReplaceValue$1,
2585
+ setValue: setValue$2,
2586
+ toggleMatchCase: toggleMatchCase$1,
2587
+ toggleMatchWholeWord: toggleMatchWholeWord$1,
2588
+ toggleReplace: toggleReplace$1,
2589
+ toggleUseRegularExpression: toggleUseRegularExpression$1
2555
2590
  };
2556
2591
 
2557
2592
  const setIconTheme = async id => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.5.0",
3
+ "version": "5.6.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",