@lvce-editor/output-view 1.0.0 → 1.1.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.
- package/dist/outputViewWorkerMain.js +53 -13
- package/package.json +1 -1
|
@@ -921,6 +921,13 @@ const terminate = () => {
|
|
|
921
921
|
globalThis.close();
|
|
922
922
|
};
|
|
923
923
|
|
|
924
|
+
const closeFindWidget = async state => {
|
|
925
|
+
// TODO
|
|
926
|
+
return {
|
|
927
|
+
...state
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
|
|
924
931
|
const User = 1;
|
|
925
932
|
const Script = 2;
|
|
926
933
|
|
|
@@ -1085,6 +1092,20 @@ const getKeyBindings = () => {
|
|
|
1085
1092
|
}];
|
|
1086
1093
|
};
|
|
1087
1094
|
|
|
1095
|
+
const handleData = async state => {
|
|
1096
|
+
// TODO
|
|
1097
|
+
return {
|
|
1098
|
+
...state
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
const handleError = async state => {
|
|
1103
|
+
// TODO
|
|
1104
|
+
return {
|
|
1105
|
+
...state
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1088
1109
|
const initialize = async () => {};
|
|
1089
1110
|
|
|
1090
1111
|
const isString = value => {
|
|
@@ -1106,6 +1127,13 @@ const loadContent = async (state, savedState) => {
|
|
|
1106
1127
|
};
|
|
1107
1128
|
};
|
|
1108
1129
|
|
|
1130
|
+
const openFindWidget = async state => {
|
|
1131
|
+
// TODO
|
|
1132
|
+
return {
|
|
1133
|
+
...state
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1109
1137
|
const Filter = 'filter';
|
|
1110
1138
|
|
|
1111
1139
|
const renderFilterValue = (oldState, newState) => {
|
|
@@ -1210,20 +1238,32 @@ const saveState = state => {
|
|
|
1210
1238
|
};
|
|
1211
1239
|
};
|
|
1212
1240
|
|
|
1241
|
+
const setOutputChannel = async state => {
|
|
1242
|
+
// TODO
|
|
1243
|
+
return {
|
|
1244
|
+
...state
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1213
1248
|
const commandMap = {
|
|
1214
|
-
'
|
|
1215
|
-
'
|
|
1216
|
-
'
|
|
1217
|
-
'
|
|
1218
|
-
'
|
|
1219
|
-
'
|
|
1220
|
-
'
|
|
1221
|
-
'
|
|
1222
|
-
'
|
|
1223
|
-
'
|
|
1224
|
-
'
|
|
1225
|
-
'
|
|
1226
|
-
'
|
|
1249
|
+
'Output.closeFindWidget': closeFindWidget,
|
|
1250
|
+
'Output.create': create$1,
|
|
1251
|
+
'Output.diff2': diff2,
|
|
1252
|
+
'Output.focusIndex': wrapCommand(focusIndex),
|
|
1253
|
+
'Output.getCommandIds': getCommandIds,
|
|
1254
|
+
'Output.getKeyBindings': getKeyBindings,
|
|
1255
|
+
'Output.handleData': handleData,
|
|
1256
|
+
'Output.handleError': handleError,
|
|
1257
|
+
'Output.initialize': initialize,
|
|
1258
|
+
'Output.loadContent': wrapCommand(loadContent),
|
|
1259
|
+
'Output.openFindWidget': openFindWidget,
|
|
1260
|
+
'Output.render2': render2,
|
|
1261
|
+
'Output.renderActions': renderActions,
|
|
1262
|
+
'Output.renderEventListeners': renderEventListeners,
|
|
1263
|
+
'Output.resize': resize,
|
|
1264
|
+
'Output.saveState': saveState,
|
|
1265
|
+
'Output.setOutputChannel': setOutputChannel,
|
|
1266
|
+
'Output.terminate': terminate
|
|
1227
1267
|
};
|
|
1228
1268
|
|
|
1229
1269
|
const rpcs = Object.create(null);
|