@lvce-editor/test-worker 5.14.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,6 +172,7 @@ 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>;
@@ -383,7 +384,7 @@ declare namespace FileSystem {
383
384
  export { chmod, createDroppedFileHandle, createExecutable, createExecutableFrom, getTmpDir, mkdir, readFile, remove, writeFile, writeJson };
384
385
  }
385
386
  declare namespace FindWidget {
386
- export { focusElement, focusNext$3 as focusNext, focusNextElement, focusPrevious$2 as focusPrevious, focusPreviousElement, replace, replaceAll, setReplaceValue, setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, 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 };
387
388
  }
388
389
  declare namespace IconTheme {
389
390
  export { setIconTheme };
@@ -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);
@@ -2629,6 +2633,7 @@ const focusPreviousElement = async () => {
2629
2633
 
2630
2634
  const TestFrameWorkComponentFindWidget = {
2631
2635
  __proto__: null,
2636
+ close,
2632
2637
  focusElement,
2633
2638
  focusNext: focusNext$6,
2634
2639
  focusNextElement,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "5.14.0",
3
+ "version": "5.15.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",