@lvce-editor/extension-search-view 2.6.0 → 2.7.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.
@@ -1410,7 +1410,7 @@ const getActions = () => {
1410
1410
  }];
1411
1411
  };
1412
1412
 
1413
- const commandIds = ['clearSearchResults', 'closeSuggest', 'closeSuggest', 'focusFirst', 'focusLast', 'focusNext', 'focusNextPage', 'focusPrevious', 'focusPreviousPage', 'handleBlur', 'handleBlur', 'handleBlur', 'handleContextMenu', 'handleDisable', 'handleFocus', 'handleFocus', 'handleInput', 'handleInstall', 'handleScrollBarCaptureLost', 'handleScrollBarClick', 'handleScrollBarMove', 'handleUninstall', 'handleWheel', 'openSuggest', 'openSuggest', 'render', 'saveState', 'scrollDown', 'selectIndex', 'setDeltaY', 'toggleSuggest', 'toggleSuggest'];
1413
+ const commandIds = ['clearSearchResults', 'closeSuggest', 'focusFirst', 'focusLast', 'focusNext', 'focusNextPage', 'focusPrevious', 'focusPreviousPage', 'handleBlur', 'handleClick', 'handleContextMenu', 'handleDisable', 'handleFocus', 'handleInput', 'handleInstall', 'handleScrollBarCaptureLost', 'handleScrollBarClick', 'handleScrollBarMove', 'handleUninstall', 'handleWheel', 'openSuggest', 'render', 'saveState', 'scrollDown', 'selectIndex', 'setDeltaY', 'toggleSuggest'];
1414
1414
 
1415
1415
  const getCommandIds = () => {
1416
1416
  return commandIds;
@@ -1473,8 +1473,8 @@ const getKeyBindings = () => {
1473
1473
  }];
1474
1474
  };
1475
1475
 
1476
- const handleBlur = () => {
1477
- // TODO
1476
+ const handleBlur = state => {
1477
+ return state;
1478
1478
  };
1479
1479
 
1480
1480
  const RendererWorker = 1;
@@ -1550,8 +1550,9 @@ const setFocus = async focusId => {
1550
1550
  await invoke('Focus.setFocus', focusId);
1551
1551
  };
1552
1552
 
1553
- const handleFocus = async () => {
1553
+ const handleFocus = async state => {
1554
1554
  await setFocus(FocusExtensions);
1555
+ return state;
1555
1556
  };
1556
1557
 
1557
1558
  // TODO show error / warning when installment fails / times out
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-search-view",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Extension Search View Worker",
5
5
  "license": "MIT",
6
6
  "author": "Lvce Editor",