@lvce-editor/explorer-view 2.8.0 → 2.9.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.
@@ -988,6 +988,9 @@ const fileOrFolderNameMustBeProvided = () => {
988
988
  return i18nString(FileOrFolderNameMustBeProvider);
989
989
  };
990
990
 
991
+ const List = 1;
992
+ const Input$1 = 2;
993
+
991
994
  const getParentFolder = (dirents, index, root) => {
992
995
  if (index < 0) {
993
996
  return root;
@@ -1077,7 +1080,8 @@ const acceptCreate = async (state, newDirentType, createFn) => {
1077
1080
  editingIndex: -1,
1078
1081
  focusedIndex: insertIndex + 1,
1079
1082
  editingType: None$5,
1080
- maxLineY: newMaxlineY
1083
+ maxLineY: newMaxlineY,
1084
+ focus: List
1081
1085
  };
1082
1086
  };
1083
1087
 
@@ -1278,7 +1282,8 @@ const acceptRename = async state => {
1278
1282
  editingType: None$5,
1279
1283
  editingIcon: '',
1280
1284
  focusedIndex,
1281
- focused: true
1285
+ focused: true,
1286
+ focus: List
1282
1287
  };
1283
1288
  };
1284
1289
 
@@ -1308,7 +1313,8 @@ const cancelEdit = state => {
1308
1313
  focused: true,
1309
1314
  editingIndex: -1,
1310
1315
  editingValue: '',
1311
- editingType: None$5
1316
+ editingType: None$5,
1317
+ focus: List
1312
1318
  };
1313
1319
  };
1314
1320
 
@@ -3395,8 +3401,6 @@ const handleWorkspaceChange = async state => {
3395
3401
  return newState;
3396
3402
  };
3397
3403
 
3398
- const Input$1 = 2;
3399
-
3400
3404
  const ExplorerEditBox = FocusExplorerEditBox;
3401
3405
 
3402
3406
  const newDirent = async (state, editingType) => {
@@ -4014,7 +4018,7 @@ const renderEventListeners = () => {
4014
4018
  preventDefault: true
4015
4019
  }, {
4016
4020
  name: HandleEditingInput,
4017
- params: ['handleEditingInput', 'event.target.value']
4021
+ params: ['updateEditingValue', 'event.target.value']
4018
4022
  }, {
4019
4023
  name: HandleContextMenu,
4020
4024
  params: ['handleContextMenu', 'event.button', 'event.clientX', 'event.clientY'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/explorer-view",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Explorer Worker",
5
5
  "repository": {
6
6
  "type": "git",