@lvce-editor/renderer-process 30.48.0 → 30.49.1
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.
|
@@ -403,7 +403,7 @@ const acquire$1 = id => {
|
|
|
403
403
|
delete state$d[id];
|
|
404
404
|
return promise;
|
|
405
405
|
};
|
|
406
|
-
const getFileHandles
|
|
406
|
+
const getFileHandles = async ids => {
|
|
407
407
|
const promises = ids.map(acquire$1);
|
|
408
408
|
const handles = await Promise.all(promises);
|
|
409
409
|
return handles;
|
|
@@ -3485,7 +3485,7 @@ const addElectronPath = async item => {
|
|
|
3485
3485
|
};
|
|
3486
3486
|
};
|
|
3487
3487
|
const get$4 = async ids => {
|
|
3488
|
-
const items = await getFileHandles
|
|
3488
|
+
const items = await getFileHandles(ids);
|
|
3489
3489
|
return Promise.all(items.map(addElectronPath));
|
|
3490
3490
|
};
|
|
3491
3491
|
|
|
@@ -3681,9 +3681,6 @@ const writeFile = (uri, content) => {
|
|
|
3681
3681
|
const requestPermission = (handle, options) => {
|
|
3682
3682
|
return handle.requestPermission(options);
|
|
3683
3683
|
};
|
|
3684
|
-
const getFileHandles = ids => {
|
|
3685
|
-
return getFileHandles$1(ids);
|
|
3686
|
-
};
|
|
3687
3684
|
const addFileHandle = fileHandle => {
|
|
3688
3685
|
return addFileHandle$1(fileHandle);
|
|
3689
3686
|
};
|
|
@@ -8024,6 +8021,7 @@ const RunAndDebug = 'Run And Debug';
|
|
|
8024
8021
|
const ScreenCapture = 'ScreenCapture';
|
|
8025
8022
|
const Sidebar$1 = 'SideBar';
|
|
8026
8023
|
const SimpleBrowser = 'SimpleBrowser';
|
|
8024
|
+
const SimpleBrowserHistory = 'SimpleBrowserHistory';
|
|
8027
8025
|
const SourceControl = 'Source Control';
|
|
8028
8026
|
const StatusBar$1 = 'StatusBar';
|
|
8029
8027
|
const Storage = 'Storage';
|
|
@@ -8523,6 +8521,10 @@ const ViewletSimpleBrowser = {
|
|
|
8523
8521
|
Events: ViewletSimpleBrowserEvents
|
|
8524
8522
|
};
|
|
8525
8523
|
|
|
8524
|
+
const ViewletSimpleBrowserHistory = {
|
|
8525
|
+
__proto__: null
|
|
8526
|
+
};
|
|
8527
|
+
|
|
8526
8528
|
const handleContextMenu$1 = event => {
|
|
8527
8529
|
preventDefault(event);
|
|
8528
8530
|
const {
|
|
@@ -9377,6 +9379,7 @@ const moduleLoaders = {
|
|
|
9377
9379
|
[ScreenCapture]: () => ViewletScreenCapture,
|
|
9378
9380
|
[Sidebar$1]: () => ViewletSidebar,
|
|
9379
9381
|
[SimpleBrowser]: () => ViewletSimpleBrowser,
|
|
9382
|
+
[SimpleBrowserHistory]: () => ViewletSimpleBrowserHistory,
|
|
9380
9383
|
[SourceControl]: () => ViewletSourceControl,
|
|
9381
9384
|
[StatusBar$1]: () => ViewletStatusBar,
|
|
9382
9385
|
[Storage]: () => ViewletStorage,
|
|
@@ -10507,7 +10510,6 @@ const commandMap = {
|
|
|
10507
10510
|
'FilePicker.showSaveFilePicker': showSaveFilePicker,
|
|
10508
10511
|
'FileSystem.writeFile': writeFile,
|
|
10509
10512
|
'FileSystemHandle.addFileHandle': addFileHandle,
|
|
10510
|
-
'FileSystemHandle.getFileHandles': getFileHandles,
|
|
10511
10513
|
'FileSystemHandle.getFilePathElectron': getFilePathElectron,
|
|
10512
10514
|
'FileSystemHandle.requestPermission': requestPermission,
|
|
10513
10515
|
'GetFilePathElectron.getFilePathElectron': getFilePathElectron,
|