@deephaven/console 1.22.1 → 1.22.2-alpha-pivot-builder.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/Console.js +85 -141
- package/dist/Console.js.map +1 -1
- package/dist/ConsoleInput.js +23 -41
- package/dist/ConsoleInput.js.map +1 -1
- package/dist/ConsoleObjectsMenu.js +13 -8
- package/dist/ConsoleObjectsMenu.js.map +1 -1
- package/dist/ConsoleStatusBar.js +15 -10
- package/dist/ConsoleStatusBar.js.map +1 -1
- package/dist/HeapUsage.js +33 -26
- package/dist/HeapUsage.js.map +1 -1
- package/dist/command-history/CommandHistory.js +45 -76
- package/dist/command-history/CommandHistory.js.map +1 -1
- package/dist/command-history/CommandHistoryActions.js +3 -4
- package/dist/command-history/CommandHistoryActions.js.map +1 -1
- package/dist/command-history/CommandHistoryItem.js +5 -6
- package/dist/command-history/CommandHistoryItem.js.map +1 -1
- package/dist/command-history/CommandHistoryItemTooltip.js +20 -33
- package/dist/command-history/CommandHistoryItemTooltip.js.map +1 -1
- package/dist/command-history/CommandHistoryViewportUpdater.js +10 -9
- package/dist/command-history/CommandHistoryViewportUpdater.js.map +1 -1
- package/dist/common/Code.js +14 -8
- package/dist/common/Code.js.map +1 -1
- package/dist/common/ObjectIcon.js +1 -3
- package/dist/common/ObjectIcon.js.map +1 -1
- package/dist/console-history/ConsoleHistory.js +8 -9
- package/dist/console-history/ConsoleHistory.js.map +1 -1
- package/dist/console-history/ConsoleHistoryItem.js +17 -32
- package/dist/console-history/ConsoleHistoryItem.js.map +1 -1
- package/dist/console-history/ConsoleHistoryItemActions.js +3 -5
- package/dist/console-history/ConsoleHistoryItemActions.js.map +1 -1
- package/dist/console-history/ConsoleHistoryItemResult.js +1 -3
- package/dist/console-history/ConsoleHistoryItemResult.js.map +1 -1
- package/dist/console-history/ConsoleHistoryItemTooltip.js +4 -8
- package/dist/console-history/ConsoleHistoryItemTooltip.js.map +1 -1
- package/dist/console-history/ConsoleHistoryResultErrorMessage.js +4 -7
- package/dist/console-history/ConsoleHistoryResultErrorMessage.js.map +1 -1
- package/dist/console-history/ConsoleHistoryResultInProgress.js +4 -7
- package/dist/console-history/ConsoleHistoryResultInProgress.js.map +1 -1
- package/dist/csv/CsvInputBar.js +51 -67
- package/dist/csv/CsvInputBar.js.map +1 -1
- package/dist/csv/CsvOverlay.js +19 -31
- package/dist/csv/CsvOverlay.js.map +1 -1
- package/dist/csv/CsvParser.js +25 -36
- package/dist/csv/CsvParser.js.map +1 -1
- package/dist/csv/CsvTypeParser.js +4 -10
- package/dist/csv/CsvTypeParser.js.map +1 -1
- package/dist/log/LogLevelMenuItem.js +6 -8
- package/dist/log/LogLevelMenuItem.js.map +1 -1
- package/dist/log/LogView.js +9 -27
- package/dist/log/LogView.js.map +1 -1
- package/dist/monaco/MonacoProviders.js +27 -41
- package/dist/monaco/MonacoProviders.js.map +1 -1
- package/dist/monaco/MonacoThemeProvider.js +3 -6
- package/dist/monaco/MonacoThemeProvider.js.map +1 -1
- package/dist/monaco/MonacoUtils.js +17 -36
- package/dist/monaco/MonacoUtils.js.map +1 -1
- package/dist/monaco/RuffSettingsModal.js +29 -17
- package/dist/monaco/RuffSettingsModal.js.map +1 -1
- package/dist/notebook/Editor.js +4 -12
- package/dist/notebook/Editor.js.map +1 -1
- package/dist/notebook/ScriptEditor.js +34 -51
- package/dist/notebook/ScriptEditor.js.map +1 -1
- package/package.json +14 -14
package/dist/Console.js
CHANGED
|
@@ -70,9 +70,7 @@ export class Console extends PureComponent {
|
|
|
70
70
|
_defineProperty(this, "processLogMessageQueue", throttle(() => {
|
|
71
71
|
this.setState(state => {
|
|
72
72
|
log.debug2('processLogMessageQueue', this.queuedLogMessages.length, ' items');
|
|
73
|
-
var
|
|
74
|
-
consoleHistory
|
|
75
|
-
} = state;
|
|
73
|
+
var consoleHistory = state.consoleHistory;
|
|
76
74
|
consoleHistory = consoleHistory.concat(this.queuedLogMessages);
|
|
77
75
|
this.queuedLogMessages = [];
|
|
78
76
|
return {
|
|
@@ -119,10 +117,9 @@ export class Console extends PureComponent {
|
|
|
119
117
|
this.pending = new Pending();
|
|
120
118
|
this.queuedLogMessages = [];
|
|
121
119
|
this.resizeObserver = new window.ResizeObserver(this.handleHistoryResize);
|
|
122
|
-
var
|
|
123
|
-
objectMap
|
|
124
|
-
settings
|
|
125
|
-
} = this.props;
|
|
120
|
+
var _this$props = this.props,
|
|
121
|
+
_objectMap = _this$props.objectMap,
|
|
122
|
+
settings = _this$props.settings;
|
|
126
123
|
this.state = _objectSpread(_objectSpread({
|
|
127
124
|
// Need separate histories as console history has stdout/stderr output
|
|
128
125
|
consoleHistory: [],
|
|
@@ -143,10 +140,9 @@ export class Console extends PureComponent {
|
|
|
143
140
|
}
|
|
144
141
|
componentDidMount() {
|
|
145
142
|
this.initConsoleLogging();
|
|
146
|
-
var
|
|
147
|
-
dh,
|
|
148
|
-
session
|
|
149
|
-
} = this.props;
|
|
143
|
+
var _this$props2 = this.props,
|
|
144
|
+
dh = _this$props2.dh,
|
|
145
|
+
session = _this$props2.session;
|
|
150
146
|
session.addEventListener(dh.IdeSession.EVENT_COMMANDSTARTED, this.handleCommandStarted);
|
|
151
147
|
this.updateDimensions();
|
|
152
148
|
if (this.consoleHistoryScrollPane.current && this.consoleHistoryContent.current) {
|
|
@@ -155,10 +151,8 @@ export class Console extends PureComponent {
|
|
|
155
151
|
}
|
|
156
152
|
}
|
|
157
153
|
componentDidUpdate(prevProps, prevState) {
|
|
158
|
-
var
|
|
159
|
-
|
|
160
|
-
state
|
|
161
|
-
} = this;
|
|
154
|
+
var props = this.props,
|
|
155
|
+
state = this.state;
|
|
162
156
|
this.sendSettingsChange(prevState, state);
|
|
163
157
|
if (props.objectMap !== prevProps.objectMap) {
|
|
164
158
|
this.updateObjectMap();
|
|
@@ -168,10 +162,9 @@ export class Console extends PureComponent {
|
|
|
168
162
|
}
|
|
169
163
|
}
|
|
170
164
|
componentWillUnmount() {
|
|
171
|
-
var
|
|
172
|
-
dh,
|
|
173
|
-
session
|
|
174
|
-
} = this.props;
|
|
165
|
+
var _this$props3 = this.props,
|
|
166
|
+
dh = _this$props3.dh,
|
|
167
|
+
session = _this$props3.session;
|
|
175
168
|
session.removeEventListener(dh.IdeSession.EVENT_COMMANDSTARTED, this.handleCommandStarted);
|
|
176
169
|
this.pending.cancel();
|
|
177
170
|
this.processLogMessageQueue.cancel();
|
|
@@ -179,9 +172,7 @@ export class Console extends PureComponent {
|
|
|
179
172
|
this.resizeObserver.disconnect();
|
|
180
173
|
}
|
|
181
174
|
initConsoleLogging() {
|
|
182
|
-
var
|
|
183
|
-
session
|
|
184
|
-
} = this.props;
|
|
175
|
+
var session = this.props.session;
|
|
185
176
|
this.cancelListener = session.onLogMessage(this.handleLogMessage);
|
|
186
177
|
}
|
|
187
178
|
deinitConsoleLogging() {
|
|
@@ -194,11 +185,10 @@ export class Console extends PureComponent {
|
|
|
194
185
|
if (this.consoleHistoryScrollPane.current == null) {
|
|
195
186
|
return false;
|
|
196
187
|
}
|
|
197
|
-
var
|
|
198
|
-
scrollHeight,
|
|
199
|
-
clientHeight,
|
|
200
|
-
scrollTop
|
|
201
|
-
} = this.consoleHistoryScrollPane.current;
|
|
188
|
+
var _this$consoleHistoryS = this.consoleHistoryScrollPane.current,
|
|
189
|
+
scrollHeight = _this$consoleHistoryS.scrollHeight,
|
|
190
|
+
clientHeight = _this$consoleHistoryS.clientHeight,
|
|
191
|
+
scrollTop = _this$consoleHistoryS.scrollTop;
|
|
202
192
|
return Math.abs(scrollHeight - clientHeight - scrollTop) <= 1;
|
|
203
193
|
}
|
|
204
194
|
handleClearShortcut(event) {
|
|
@@ -208,10 +198,9 @@ export class Console extends PureComponent {
|
|
|
208
198
|
(_this$consoleInput$cu = this.consoleInput.current) === null || _this$consoleInput$cu === void 0 || _this$consoleInput$cu.clear();
|
|
209
199
|
}
|
|
210
200
|
handleCommandStarted(event) {
|
|
211
|
-
var
|
|
212
|
-
code,
|
|
213
|
-
result
|
|
214
|
-
} = event.detail;
|
|
201
|
+
var _event$detail = event.detail,
|
|
202
|
+
code = _event$detail.code,
|
|
203
|
+
result = _event$detail.result;
|
|
215
204
|
var wrappedResult = this.pending.add(result);
|
|
216
205
|
var historyItem = {
|
|
217
206
|
command: code,
|
|
@@ -222,11 +211,10 @@ export class Console extends PureComponent {
|
|
|
222
211
|
},
|
|
223
212
|
wrappedResult
|
|
224
213
|
};
|
|
225
|
-
var
|
|
226
|
-
commandHistoryStorage,
|
|
227
|
-
language,
|
|
228
|
-
scope
|
|
229
|
-
} = this.props;
|
|
214
|
+
var _this$props4 = this.props,
|
|
215
|
+
commandHistoryStorage = _this$props4.commandHistoryStorage,
|
|
216
|
+
language = _this$props4.language,
|
|
217
|
+
scope = _this$props4.scope;
|
|
230
218
|
var workspaceItemPromise = commandHistoryStorage.addItem(language, scope, code, {
|
|
231
219
|
command: code,
|
|
232
220
|
startTime: new Date().toJSON()
|
|
@@ -257,9 +245,7 @@ export class Console extends PureComponent {
|
|
|
257
245
|
serverEndTime
|
|
258
246
|
});
|
|
259
247
|
this.setState(_ref => {
|
|
260
|
-
var
|
|
261
|
-
consoleHistory
|
|
262
|
-
} = _ref;
|
|
248
|
+
var consoleHistory = _ref.consoleHistory;
|
|
263
249
|
var itemIndex = consoleHistory.lastIndexOf(historyItem);
|
|
264
250
|
if (itemIndex < 0) {
|
|
265
251
|
log.error("historyItem not found in consoleHistory");
|
|
@@ -312,15 +298,11 @@ export class Console extends PureComponent {
|
|
|
312
298
|
handleFocusHistory(event) {
|
|
313
299
|
event.preventDefault();
|
|
314
300
|
event.stopPropagation();
|
|
315
|
-
var
|
|
316
|
-
focusCommandHistory
|
|
317
|
-
} = this.props;
|
|
301
|
+
var focusCommandHistory = this.props.focusCommandHistory;
|
|
318
302
|
focusCommandHistory();
|
|
319
303
|
}
|
|
320
304
|
handleLogMessage(message) {
|
|
321
|
-
var
|
|
322
|
-
isPrintStdOutEnabled
|
|
323
|
-
} = this.state;
|
|
305
|
+
var isPrintStdOutEnabled = this.state.isPrintStdOutEnabled;
|
|
324
306
|
if (!isPrintStdOutEnabled) {
|
|
325
307
|
return;
|
|
326
308
|
}
|
|
@@ -344,27 +326,19 @@ export class Console extends PureComponent {
|
|
|
344
326
|
}
|
|
345
327
|
openUpdatedItems(changes) {
|
|
346
328
|
log.debug('openUpdatedItems', changes);
|
|
347
|
-
var
|
|
348
|
-
isAutoLaunchPanelsEnabled
|
|
349
|
-
} = this.state;
|
|
329
|
+
var isAutoLaunchPanelsEnabled = this.state.isAutoLaunchPanelsEnabled;
|
|
350
330
|
if (changes == null) {
|
|
351
331
|
return;
|
|
352
332
|
}
|
|
353
|
-
var
|
|
354
|
-
openObject
|
|
355
|
-
} = this.props;
|
|
333
|
+
var openObject = this.props.openObject;
|
|
356
334
|
[...changes.created, ...changes.updated].forEach(object => openObject(object, isAutoLaunchPanelsEnabled && (object.title === undefined || !object.title.startsWith('_'))));
|
|
357
335
|
}
|
|
358
336
|
closeRemovedItems(changes) {
|
|
359
337
|
if (changes == null || changes.removed == null || changes.removed.length === 0) {
|
|
360
338
|
return;
|
|
361
339
|
}
|
|
362
|
-
var
|
|
363
|
-
|
|
364
|
-
} = this.props;
|
|
365
|
-
var {
|
|
366
|
-
removed
|
|
367
|
-
} = changes;
|
|
340
|
+
var closeObject = this.props.closeObject;
|
|
341
|
+
var removed = changes.removed;
|
|
368
342
|
removed.forEach(object => closeObject(object));
|
|
369
343
|
}
|
|
370
344
|
updateHistory(result, historyItemParam) {
|
|
@@ -393,9 +367,7 @@ export class Console extends PureComponent {
|
|
|
393
367
|
}
|
|
394
368
|
this.setState(state => {
|
|
395
369
|
var _changes, _changes2, _changes3;
|
|
396
|
-
var
|
|
397
|
-
consoleHistory
|
|
398
|
-
} = state;
|
|
370
|
+
var consoleHistory = state.consoleHistory;
|
|
399
371
|
var itemIndex = consoleHistory.lastIndexOf(historyItem);
|
|
400
372
|
if (itemIndex < 0) {
|
|
401
373
|
log.error("historyItem not found in state.consoleHistory");
|
|
@@ -405,9 +377,7 @@ export class Console extends PureComponent {
|
|
|
405
377
|
var objectMap = new Map(state.objectMap);
|
|
406
378
|
var disableOldObject = function disableOldObject(object) {
|
|
407
379
|
var isRemoved = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
408
|
-
var
|
|
409
|
-
title
|
|
410
|
-
} = object;
|
|
380
|
+
var title = object.title;
|
|
411
381
|
assertNotNull(title);
|
|
412
382
|
var oldIndex = objectHistoryMap.get(title);
|
|
413
383
|
// oldIndex can be -1 if a object is active but doesn't have a command in consoleHistory
|
|
@@ -438,9 +408,7 @@ export class Console extends PureComponent {
|
|
|
438
408
|
// Created objects have to be processed after removed
|
|
439
409
|
// in case the same object name is present in both removed and created
|
|
440
410
|
(_changes3 = changes) === null || _changes3 === void 0 || _changes3.created.forEach(object => {
|
|
441
|
-
var
|
|
442
|
-
title
|
|
443
|
-
} = object;
|
|
411
|
+
var title = object.title;
|
|
444
412
|
assertNotNull(title);
|
|
445
413
|
objectHistoryMap.set(title, itemIndex);
|
|
446
414
|
objectMap.set(title, object);
|
|
@@ -453,9 +421,7 @@ export class Console extends PureComponent {
|
|
|
453
421
|
});
|
|
454
422
|
}
|
|
455
423
|
updateObjectMap() {
|
|
456
|
-
var
|
|
457
|
-
objectMap
|
|
458
|
-
} = this.props;
|
|
424
|
+
var objectMap = this.props.objectMap;
|
|
459
425
|
this.setState({
|
|
460
426
|
objectMap
|
|
461
427
|
});
|
|
@@ -477,10 +443,9 @@ export class Console extends PureComponent {
|
|
|
477
443
|
result
|
|
478
444
|
})
|
|
479
445
|
});
|
|
480
|
-
var
|
|
481
|
-
commandHistoryStorage,
|
|
482
|
-
language
|
|
483
|
-
} = this.props;
|
|
446
|
+
var _this$props5 = this.props,
|
|
447
|
+
commandHistoryStorage = _this$props5.commandHistoryStorage,
|
|
448
|
+
language = _this$props5.language;
|
|
484
449
|
commandHistoryStorage.updateItem(language, updatedItem).catch(err => {
|
|
485
450
|
log.warn('Error updating command history storage', err);
|
|
486
451
|
});
|
|
@@ -513,9 +478,7 @@ export class Console extends PureComponent {
|
|
|
513
478
|
log.debug('handleHistoryResize', entries);
|
|
514
479
|
var entry = entries[0];
|
|
515
480
|
if (entry.contentRect.height > 0 && entry.contentRect.width > 0) {
|
|
516
|
-
var
|
|
517
|
-
isStuckToBottom
|
|
518
|
-
} = this.state;
|
|
481
|
+
var isStuckToBottom = this.state.isStuckToBottom;
|
|
519
482
|
if (isStuckToBottom && !this.isAtBottom()) {
|
|
520
483
|
this.scrollConsoleHistoryToBottom();
|
|
521
484
|
}
|
|
@@ -579,9 +542,7 @@ export class Console extends PureComponent {
|
|
|
579
542
|
this.setState({
|
|
580
543
|
showCsvOverlay: true
|
|
581
544
|
});
|
|
582
|
-
var
|
|
583
|
-
items
|
|
584
|
-
} = e.dataTransfer;
|
|
545
|
+
var items = e.dataTransfer.items;
|
|
585
546
|
if (items.length > 1) {
|
|
586
547
|
this.setState({
|
|
587
548
|
dragError: CsvOverlay.MULTIPLE_FILE_ERROR
|
|
@@ -617,17 +578,15 @@ export class Console extends PureComponent {
|
|
|
617
578
|
});
|
|
618
579
|
}
|
|
619
580
|
handleOpenCsvTable(title) {
|
|
620
|
-
var
|
|
621
|
-
dh,
|
|
622
|
-
openObject,
|
|
623
|
-
commandHistoryStorage,
|
|
624
|
-
language,
|
|
625
|
-
scope
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
objectMap
|
|
630
|
-
} = this.state;
|
|
581
|
+
var _this$props6 = this.props,
|
|
582
|
+
dh = _this$props6.dh,
|
|
583
|
+
openObject = _this$props6.openObject,
|
|
584
|
+
commandHistoryStorage = _this$props6.commandHistoryStorage,
|
|
585
|
+
language = _this$props6.language,
|
|
586
|
+
scope = _this$props6.scope;
|
|
587
|
+
var _this$state = this.state,
|
|
588
|
+
consoleHistory = _this$state.consoleHistory,
|
|
589
|
+
objectMap = _this$state.objectMap;
|
|
631
590
|
var object = {
|
|
632
591
|
name: title,
|
|
633
592
|
title,
|
|
@@ -664,9 +623,7 @@ export class Console extends PureComponent {
|
|
|
664
623
|
});
|
|
665
624
|
}
|
|
666
625
|
addConsoleHistoryMessage(message, error) {
|
|
667
|
-
var
|
|
668
|
-
consoleHistory
|
|
669
|
-
} = this.state;
|
|
626
|
+
var consoleHistory = this.state.consoleHistory;
|
|
670
627
|
var historyItem = {
|
|
671
628
|
startTime: Date.now(),
|
|
672
629
|
endTime: Date.now(),
|
|
@@ -692,14 +649,11 @@ export class Console extends PureComponent {
|
|
|
692
649
|
});
|
|
693
650
|
}
|
|
694
651
|
handleOverflowActions() {
|
|
695
|
-
var
|
|
696
|
-
isAutoLaunchPanelsEnabled,
|
|
697
|
-
isClosePanelsOnDisconnectEnabled,
|
|
698
|
-
isPrintStdOutEnabled
|
|
699
|
-
|
|
700
|
-
var {
|
|
701
|
-
actions
|
|
702
|
-
} = this.props;
|
|
652
|
+
var _this$state2 = this.state,
|
|
653
|
+
isAutoLaunchPanelsEnabled = _this$state2.isAutoLaunchPanelsEnabled,
|
|
654
|
+
isClosePanelsOnDisconnectEnabled = _this$state2.isClosePanelsOnDisconnectEnabled,
|
|
655
|
+
isPrintStdOutEnabled = _this$state2.isPrintStdOutEnabled;
|
|
656
|
+
var actions = this.props.actions;
|
|
703
657
|
return [...actions, {
|
|
704
658
|
title: 'Print Stdout',
|
|
705
659
|
action: this.handleTogglePrintStdout,
|
|
@@ -730,9 +684,7 @@ export class Console extends PureComponent {
|
|
|
730
684
|
this.clearConsoleHistory();
|
|
731
685
|
} else if (command.length > 0) {
|
|
732
686
|
// Result is handled in this.handleCommandStarted
|
|
733
|
-
var
|
|
734
|
-
session
|
|
735
|
-
} = this.props;
|
|
687
|
+
var session = this.props.session;
|
|
736
688
|
session.runCode(command).catch(error => {
|
|
737
689
|
log.error('There was an error initiating the command', error);
|
|
738
690
|
});
|
|
@@ -784,12 +736,8 @@ export class Console extends PureComponent {
|
|
|
784
736
|
var hasChanges = false;
|
|
785
737
|
for (var i = 0; i < keys.length; i += 1) {
|
|
786
738
|
var key = keys[i];
|
|
787
|
-
var
|
|
788
|
-
|
|
789
|
-
} = state;
|
|
790
|
-
var {
|
|
791
|
-
[key]: prevSetting
|
|
792
|
-
} = prevState;
|
|
739
|
+
var setting = state[key];
|
|
740
|
+
var prevSetting = prevState[key];
|
|
793
741
|
if (setting !== prevSetting) {
|
|
794
742
|
hasChanges = true;
|
|
795
743
|
}
|
|
@@ -798,9 +746,7 @@ export class Console extends PureComponent {
|
|
|
798
746
|
if (checkIfChanged && !hasChanges) {
|
|
799
747
|
return;
|
|
800
748
|
}
|
|
801
|
-
var
|
|
802
|
-
onSettingsChange
|
|
803
|
-
} = this.props;
|
|
749
|
+
var onSettingsChange = this.props.onSettingsChange;
|
|
804
750
|
onSettingsChange(settings);
|
|
805
751
|
}
|
|
806
752
|
updateDimensions() {
|
|
@@ -814,34 +760,32 @@ export class Console extends PureComponent {
|
|
|
814
760
|
}
|
|
815
761
|
}
|
|
816
762
|
render() {
|
|
817
|
-
var
|
|
818
|
-
actions,
|
|
819
|
-
dh,
|
|
820
|
-
historyChildren,
|
|
821
|
-
language,
|
|
822
|
-
statusBarChildren,
|
|
823
|
-
openObject,
|
|
824
|
-
session,
|
|
825
|
-
scope,
|
|
826
|
-
commandHistoryStorage,
|
|
827
|
-
timeZone,
|
|
828
|
-
disabled,
|
|
829
|
-
unzip,
|
|
830
|
-
supportsType,
|
|
831
|
-
iconForType,
|
|
832
|
-
showObjectsMenu
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
csvUploadInProgress
|
|
844
|
-
} = this.state;
|
|
763
|
+
var _this$props7 = this.props,
|
|
764
|
+
actions = _this$props7.actions,
|
|
765
|
+
dh = _this$props7.dh,
|
|
766
|
+
historyChildren = _this$props7.historyChildren,
|
|
767
|
+
language = _this$props7.language,
|
|
768
|
+
statusBarChildren = _this$props7.statusBarChildren,
|
|
769
|
+
openObject = _this$props7.openObject,
|
|
770
|
+
session = _this$props7.session,
|
|
771
|
+
scope = _this$props7.scope,
|
|
772
|
+
commandHistoryStorage = _this$props7.commandHistoryStorage,
|
|
773
|
+
timeZone = _this$props7.timeZone,
|
|
774
|
+
disabled = _this$props7.disabled,
|
|
775
|
+
unzip = _this$props7.unzip,
|
|
776
|
+
supportsType = _this$props7.supportsType,
|
|
777
|
+
iconForType = _this$props7.iconForType,
|
|
778
|
+
showObjectsMenu = _this$props7.showObjectsMenu;
|
|
779
|
+
var _this$state3 = this.state,
|
|
780
|
+
consoleHeight = _this$state3.consoleHeight,
|
|
781
|
+
consoleHistory = _this$state3.consoleHistory,
|
|
782
|
+
isScrollDecorationShown = _this$state3.isScrollDecorationShown,
|
|
783
|
+
objectMap = _this$state3.objectMap,
|
|
784
|
+
showCsvOverlay = _this$state3.showCsvOverlay,
|
|
785
|
+
csvFile = _this$state3.csvFile,
|
|
786
|
+
csvPaste = _this$state3.csvPaste,
|
|
787
|
+
dragError = _this$state3.dragError,
|
|
788
|
+
csvUploadInProgress = _this$state3.csvUploadInProgress;
|
|
845
789
|
var consoleMenuObjects = this.getObjects(objectMap);
|
|
846
790
|
var inputMaxHeight = Math.round(consoleHeight * 0.7);
|
|
847
791
|
var contextActions = this.getContextActions(actions);
|