@lvce-editor/file-search-worker 3.8.0 → 3.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.
|
@@ -877,6 +877,9 @@ const state$5 = {
|
|
|
877
877
|
const getAll = () => {
|
|
878
878
|
return state$5.menuEntries;
|
|
879
879
|
};
|
|
880
|
+
const add = menuEntries => {
|
|
881
|
+
state$5.menuEntries = [...state$5.menuEntries, ...menuEntries];
|
|
882
|
+
};
|
|
880
883
|
|
|
881
884
|
const Hide = 'hide';
|
|
882
885
|
const KeepOpen = '';
|
|
@@ -3806,6 +3809,7 @@ const wrapCommand = fn => {
|
|
|
3806
3809
|
|
|
3807
3810
|
const commandMap = {
|
|
3808
3811
|
'QuickPick.create2': create$1,
|
|
3812
|
+
'QuickPick.handleInput': wrapCommand(handleInput),
|
|
3809
3813
|
'QuickPick.focusFirst': wrapCommand(focusFirst),
|
|
3810
3814
|
'QuickPick.focusIndex': wrapCommand(focusIndex),
|
|
3811
3815
|
'QuickPick.focusLast': wrapCommand(focusLast),
|
|
@@ -3823,6 +3827,7 @@ const commandMap = {
|
|
|
3823
3827
|
'QuickPick.selectIndex': wrapCommand(selectIndex),
|
|
3824
3828
|
'QuickPick.selectItem': wrapCommand(selectItem),
|
|
3825
3829
|
'QuickPick.setDeltaY': wrapCommand(setDeltaY),
|
|
3830
|
+
'QuickPick.addMenuEntries': add,
|
|
3826
3831
|
'SearchFile.filter': filterQuickPickItems,
|
|
3827
3832
|
'SearchFile.searchFile': searchFile$1,
|
|
3828
3833
|
'SearchFile.searchFileWithFetch': searchFile$4,
|