@lvce-editor/test-worker 5.13.0 → 5.15.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
@@ -172,11 +172,13 @@ declare const createExecutableFrom: (uri: string) => Promise<string>;
172
172
  declare const createDroppedFileHandle: () => Promise<DroppedFileHandle>;
173
173
  declare const focusNext$3: () => Promise<void>;
174
174
  declare const focusPrevious$2: () => Promise<void>;
175
+ declare const close$1: () => Promise<void>;
175
176
  declare const setReplaceValue: (value: string) => Promise<void>;
176
177
  declare const setValue: (value: string) => Promise<void>;
177
178
  declare const toggleReplace: () => Promise<void>;
178
179
  declare const toggleMatchCase: () => Promise<void>;
179
180
  declare const toggleMatchWholeWord: () => Promise<void>;
181
+ declare const togglePreserveCase: () => Promise<void>;
180
182
  declare const toggleUseRegularExpression: () => Promise<void>;
181
183
  declare const replace: () => Promise<void>;
182
184
  declare const replaceAll: () => Promise<void>;
@@ -287,7 +289,7 @@ declare const focusPrevious$7: () => Promise<void>;
287
289
  declare const toggleSearchDetails: () => Promise<void>;
288
290
  declare const toggleMatchCase$1: () => Promise<void>;
289
291
  declare const toggleMatchWholeWord$1: () => Promise<void>;
290
- declare const togglePreserveCase: () => Promise<void>;
292
+ declare const togglePreserveCase$1: () => Promise<void>;
291
293
  declare const toggleUseRegularExpression$1: () => Promise<void>;
292
294
  declare const toggleReplace$1: () => Promise<void>;
293
295
  declare const open$4: () => Promise<void>;
@@ -382,7 +384,7 @@ declare namespace FileSystem {
382
384
  export { chmod, createDroppedFileHandle, createExecutable, createExecutableFrom, getTmpDir, mkdir, readFile, remove, writeFile, writeJson };
383
385
  }
384
386
  declare namespace FindWidget {
385
- export { focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, toggleReplace, toggleUseRegularExpression };
387
+ export { close$1 as close, focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleUseRegularExpression };
386
388
  }
387
389
  declare namespace IconTheme {
388
390
  export { setIconTheme };
@@ -421,7 +423,7 @@ declare namespace RunAndDebug {
421
423
  export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$4 as selectIndex, setPauseOnExceptions };
422
424
  }
423
425
  declare namespace Search {
424
- 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, open$4 as open, openDetails, replaceAll$1 as replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setLimit, 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 };
426
+ 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, open$4 as open, openDetails, replaceAll$1 as replaceAll, selectIndex$5 as selectIndex, setExcludeValue, setIncludeValue, setLimit, setReplaceValue$1 as setReplaceValue, setValue$2 as setValue, toggleMatchCase$1 as toggleMatchCase, toggleMatchWholeWord$1 as toggleMatchWholeWord, togglePreserveCase$1 as togglePreserveCase, toggleReplace$1 as toggleReplace, toggleSearchDetails, toggleUseRegularExpression$1 as toggleUseRegularExpression };
425
427
  }
426
428
  declare namespace Settings {
427
429
  export { update };
@@ -2578,6 +2578,10 @@ const focusPrevious$6 = async () => {
2578
2578
  // @ts-ignore
2579
2579
  await invoke$1('FindWidget.focusPrevious');
2580
2580
  };
2581
+ const close = async () => {
2582
+ // @ts-ignore
2583
+ await invoke$1('FindWidget.close');
2584
+ };
2581
2585
  const setReplaceValue$1 = async value => {
2582
2586
  // @ts-ignore
2583
2587
  await invoke$1('FindWidget.handleReplaceInput', value, Script);
@@ -2598,6 +2602,10 @@ const toggleMatchWholeWord$1 = async () => {
2598
2602
  // @ts-ignore
2599
2603
  await invoke$1('FindWidget.toggleMatchWholeWord');
2600
2604
  };
2605
+ const togglePreserveCase$1 = async () => {
2606
+ // @ts-ignore
2607
+ await invoke$1('FindWidget.togglePreserveCase');
2608
+ };
2601
2609
  const toggleUseRegularExpression$1 = async () => {
2602
2610
  // @ts-ignore
2603
2611
  await invoke$1('FindWidget.toggleUseRegularExpression');
@@ -2625,6 +2633,7 @@ const focusPreviousElement = async () => {
2625
2633
 
2626
2634
  const TestFrameWorkComponentFindWidget = {
2627
2635
  __proto__: null,
2636
+ close,
2628
2637
  focusElement,
2629
2638
  focusNext: focusNext$6,
2630
2639
  focusNextElement,
@@ -2636,6 +2645,7 @@ const TestFrameWorkComponentFindWidget = {
2636
2645
  setValue: setValue$2,
2637
2646
  toggleMatchCase: toggleMatchCase$1,
2638
2647
  toggleMatchWholeWord: toggleMatchWholeWord$1,
2648
+ togglePreserveCase: togglePreserveCase$1,
2639
2649
  toggleReplace: toggleReplace$1,
2640
2650
  toggleUseRegularExpression: toggleUseRegularExpression$1
2641
2651
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.13.0",
3
+ "version": "5.15.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",