@lvce-editor/test-worker 10.9.0 → 10.10.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
@@ -286,6 +286,7 @@ interface ExtensionSearch {
286
286
  readonly clearSearchResults: () => Promise<void>;
287
287
  readonly copyExtensionId: () => Promise<void>;
288
288
  readonly copyExtensionInfo: () => Promise<void>;
289
+ readonly handleClick: (index: number) => Promise<void>;
289
290
  readonly handleContextMenu: (button: number, x: number, y: number) => Promise<void>;
290
291
  readonly handleInput: (value: string) => Promise<void>;
291
292
  readonly open: () => Promise<void>;
@@ -493,6 +494,9 @@ interface Settings {
493
494
 
494
495
  interface SettingsView {
495
496
  readonly clear: (searchValue: string) => Promise<void>;
497
+ readonly clearHistory: () => Promise<void>;
498
+ readonly handleClickFilterButton: (x: number, y: number) => Promise<void>;
499
+ readonly handleClickTab: (name: string) => Promise<void>;
496
500
  readonly handleInput: (searchValue: string) => Promise<void>;
497
501
  readonly handleScroll: (scrollTop: number) => Promise<void>;
498
502
  readonly selectExtensions: () => Promise<void>;
@@ -1614,7 +1614,7 @@ const focusNext$8 = async () => {
1614
1614
  const focusPrevious$7 = async () => {
1615
1615
  await invoke$1('ActivityBar.focusPrevious');
1616
1616
  };
1617
- const handleClick$2 = async index => {
1617
+ const handleClick$3 = async index => {
1618
1618
  await invoke$1('ActivityBar.handleClick', index);
1619
1619
  };
1620
1620
  const handleContextMenu$5 = async () => {
@@ -1631,7 +1631,7 @@ const ActivityBar = {
1631
1631
  focusLast: focusLast$6,
1632
1632
  focusNext: focusNext$8,
1633
1633
  focusPrevious: focusPrevious$7,
1634
- handleClick: handleClick$2,
1634
+ handleClick: handleClick$3,
1635
1635
  handleContextMenu: handleContextMenu$5,
1636
1636
  selectCurrent
1637
1637
  };
@@ -2317,7 +2317,7 @@ const copyRelativePath = async () => {
2317
2317
  // @ts-ignore
2318
2318
  await invoke$1('Explorer.copyRelativePath');
2319
2319
  };
2320
- const handleClick$1 = async index => {
2320
+ const handleClick$2 = async index => {
2321
2321
  await invoke$1('Explorer.handleClick', index);
2322
2322
  };
2323
2323
  const handleClickAt$2 = async (preventDefault, button, ctrlKey, shiftKey, x, y) => {
@@ -2389,7 +2389,7 @@ const Explorer = {
2389
2389
  focusNext: focusNext$7,
2390
2390
  handleArrowLeft: handleArrowLeft$1,
2391
2391
  handleBlur,
2392
- handleClick: handleClick$1,
2392
+ handleClick: handleClick$2,
2393
2393
  handleClickAt: handleClickAt$2,
2394
2394
  handleCopy,
2395
2395
  handleCut,
@@ -2558,6 +2558,10 @@ const handleInput$4 = async value => {
2558
2558
  // @ts-ignore
2559
2559
  await invoke$1('Extensions.handleInput', value, Script$1);
2560
2560
  };
2561
+ const handleClick$1 = async index => {
2562
+ // @ts-ignore
2563
+ await invoke$1('Extensions.handleClick', index);
2564
+ };
2561
2565
  const handleContextMenu$4 = async (button, x, y) => {
2562
2566
  // @ts-ignore
2563
2567
  await invoke$1('Extensions.handleContextMenu', button, x, y);
@@ -2580,6 +2584,7 @@ const ExtensionSearch = {
2580
2584
  clearSearchResults: clearSearchResults$1,
2581
2585
  copyExtensionId,
2582
2586
  copyExtensionInfo,
2587
+ handleClick: handleClick$1,
2583
2588
  handleContextMenu: handleContextMenu$4,
2584
2589
  handleInput: handleInput$4,
2585
2590
  open: open$4
@@ -3545,6 +3550,10 @@ const handleInput$1 = async searchValue => {
3545
3550
  // @ts-ignore
3546
3551
  return invoke$1('Settings.handleInput', searchValue, Script);
3547
3552
  };
3553
+ const handleClickTab = async name => {
3554
+ // @ts-ignore
3555
+ return invoke$1('Settings.handleClickTab', name);
3556
+ };
3548
3557
  const usePreviousSearchValue = async () => {
3549
3558
  // @ts-ignore
3550
3559
  return invoke$1('Settings.usePreviousSearchValue');
@@ -3557,6 +3566,10 @@ const clear = async searchValue => {
3557
3566
  // @ts-ignore
3558
3567
  return invoke$1('Settings.clear', searchValue, Script);
3559
3568
  };
3569
+ const clearHistory = async () => {
3570
+ // @ts-ignore
3571
+ return invoke$1('Settings.clearHistory', searchValue, Script);
3572
+ };
3560
3573
  const selectTab = async tabId => {
3561
3574
  // @ts-ignore
3562
3575
  return invoke$1('Settings.handleClickTab', tabId);
@@ -3574,10 +3587,17 @@ const handleScroll = async scrollTop => {
3574
3587
  // @ts-ignore
3575
3588
  await invoke$1('Settings.handleScroll', scrollTop, Script);
3576
3589
  };
3590
+ const handleClickFilterButton = async (x, y) => {
3591
+ // @ts-ignore
3592
+ await invoke$1('Settings.handleClickFilterButton', x, y);
3593
+ };
3577
3594
 
3578
3595
  const SettingsView = {
3579
3596
  __proto__: null,
3580
3597
  clear,
3598
+ clearHistory,
3599
+ handleClickFilterButton,
3600
+ handleClickTab,
3581
3601
  handleInput: handleInput$1,
3582
3602
  handleScroll,
3583
3603
  selectExtensions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "10.9.0",
3
+ "version": "10.10.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",