@lvce-editor/embeds-worker 4.14.0 → 4.14.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.
- package/dist/embedsWorkerMain.js +6 -4
- package/package.json +1 -1
package/dist/embedsWorkerMain.js
CHANGED
|
@@ -1122,14 +1122,11 @@ const inspectElement = (id, x, y) => {
|
|
|
1122
1122
|
const copyImageAt = (id, x, y) => {
|
|
1123
1123
|
return invoke$1('ElectronWebContentsView.copyImageAt', id, x, y);
|
|
1124
1124
|
};
|
|
1125
|
-
const setFallthroughKeyBindings = async (id, fallthroughKeybindings) => {
|
|
1126
|
-
// TODO
|
|
1127
|
-
// return EmbedsProcess.invoke('ElectronWebContentsView.setFallthroughKeyBindings', id, fallthroughKeybindings)
|
|
1128
|
-
};
|
|
1129
1125
|
const getStats = (id, fallthroughKeybindings) => {
|
|
1130
1126
|
return invoke$1('ElectronWebContentsView.getStats', id, fallthroughKeybindings);
|
|
1131
1127
|
};
|
|
1132
1128
|
const handleDidNavigate = forwardWebContentsViewEvent('ElectronBrowserView.handleDidNavigate');
|
|
1129
|
+
const handleKeyBinding = forwardWebContentsViewEvent('ElectronBrowserView.handleKeyBinding');
|
|
1133
1130
|
const handlePageFaviconUpdated = forwardWebContentsViewEvent('ElectronBrowserView.handlePageFaviconUpdated');
|
|
1134
1131
|
const handleTitleUpdated = forwardWebContentsViewEvent('ElectronBrowserView.handleTitleUpdated');
|
|
1135
1132
|
const handleWillNavigate = forwardWebContentsViewEvent('ElectronBrowserView.handleWillNavigate');
|
|
@@ -1189,6 +1186,10 @@ const initialize = async () => {
|
|
|
1189
1186
|
set$1(rpc);
|
|
1190
1187
|
};
|
|
1191
1188
|
|
|
1189
|
+
const setFallthroughKeyBindings = (id, fallthroughKeybindings) => {
|
|
1190
|
+
return invokeAny$1('ElectronWebContentsView.setFallthroughKeyBindings', id, fallthroughKeybindings);
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1192
1193
|
const commandMap = {
|
|
1193
1194
|
'ElectronWebContentsView.acceptLogin': acceptLogin,
|
|
1194
1195
|
'ElectronWebContentsView.backward': backward,
|
|
@@ -1204,6 +1205,7 @@ const commandMap = {
|
|
|
1204
1205
|
'ElectronWebContentsView.getStats': getStats,
|
|
1205
1206
|
'ElectronWebContentsView.handleContextMenu': handleContextMenu,
|
|
1206
1207
|
'ElectronWebContentsView.handleDidNavigate': handleDidNavigate,
|
|
1208
|
+
'ElectronWebContentsView.handleKeyBinding': handleKeyBinding,
|
|
1207
1209
|
'ElectronWebContentsView.handleLogin': handleLogin,
|
|
1208
1210
|
'ElectronWebContentsView.handlePageFaviconUpdated': handlePageFaviconUpdated,
|
|
1209
1211
|
'ElectronWebContentsView.handleTitleUpdated': handleTitleUpdated,
|