@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.
@@ -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
- 'Problems.create': create$1,
1215
- 'Problems.diff2': diff2,
1216
- 'Problems.focusIndex': wrapCommand(focusIndex),
1217
- 'Problems.getCommandIds': getCommandIds,
1218
- 'Problems.getKeyBindings': getKeyBindings,
1219
- 'Problems.initialize': initialize,
1220
- 'Problems.loadContent': wrapCommand(loadContent),
1221
- 'Problems.render2': render2,
1222
- 'Problems.renderActions': renderActions,
1223
- 'Problems.renderEventListeners': renderEventListeners,
1224
- 'Problems.resize': resize,
1225
- 'Problems.saveState': saveState,
1226
- 'Problems.terminate': terminate
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/output-view",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Output View Worker",
5
5
  "repository": {
6
6
  "type": "git",