@deephaven/dashboard-core-plugins 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.
Files changed (105) hide show
  1. package/dist/ChartBuilderPlugin.js +8 -15
  2. package/dist/ChartBuilderPlugin.js.map +1 -1
  3. package/dist/ChartPanelPlugin.js +13 -6
  4. package/dist/ChartPanelPlugin.js.map +1 -1
  5. package/dist/ChartWidgetPlugin.js +11 -4
  6. package/dist/ChartWidgetPlugin.js.map +1 -1
  7. package/dist/ConsolePlugin.js +38 -46
  8. package/dist/ConsolePlugin.js.map +1 -1
  9. package/dist/FilterPlugin.js +63 -44
  10. package/dist/FilterPlugin.js.map +1 -1
  11. package/dist/GridPanelPlugin.js +3 -5
  12. package/dist/GridPanelPlugin.js.map +1 -1
  13. package/dist/GridWidgetPlugin.d.ts +11 -1
  14. package/dist/GridWidgetPlugin.d.ts.map +1 -1
  15. package/dist/GridWidgetPlugin.js +48 -30
  16. package/dist/GridWidgetPlugin.js.map +1 -1
  17. package/dist/LinkerPlugin.js +3 -5
  18. package/dist/LinkerPlugin.js.map +1 -1
  19. package/dist/MarkdownPlugin.js +18 -17
  20. package/dist/MarkdownPlugin.js.map +1 -1
  21. package/dist/PandasPanelPlugin.js +3 -5
  22. package/dist/PandasPanelPlugin.js.map +1 -1
  23. package/dist/PandasWidgetPlugin.js +3 -7
  24. package/dist/PandasWidgetPlugin.js.map +1 -1
  25. package/dist/TablePluginWrapper.js +8 -10
  26. package/dist/TablePluginWrapper.js.map +1 -1
  27. package/dist/WidgetLoaderPlugin.js +24 -29
  28. package/dist/WidgetLoaderPlugin.js.map +1 -1
  29. package/dist/controls/dropdown-filter/DropdownFilter.js +63 -79
  30. package/dist/controls/dropdown-filter/DropdownFilter.js.map +1 -1
  31. package/dist/controls/input-filter/InputFilter.js +32 -58
  32. package/dist/controls/input-filter/InputFilter.js.map +1 -1
  33. package/dist/controls/markdown/MarkdownContainer.js +4 -5
  34. package/dist/controls/markdown/MarkdownContainer.js.map +1 -1
  35. package/dist/controls/markdown/MarkdownEditor.js +7 -10
  36. package/dist/controls/markdown/MarkdownEditor.js.map +1 -1
  37. package/dist/controls/markdown/MarkdownStartPage.js +8 -12
  38. package/dist/controls/markdown/MarkdownStartPage.js.map +1 -1
  39. package/dist/linker/Linker.js +100 -192
  40. package/dist/linker/Linker.js.map +1 -1
  41. package/dist/linker/LinkerLink.js +23 -31
  42. package/dist/linker/LinkerLink.js.map +1 -1
  43. package/dist/linker/LinkerOverlayContent.js +65 -66
  44. package/dist/linker/LinkerOverlayContent.js.map +1 -1
  45. package/dist/linker/LinkerUtils.js +6 -14
  46. package/dist/linker/LinkerUtils.js.map +1 -1
  47. package/dist/panels/ChartColumnSelectorOverlay.js +4 -6
  48. package/dist/panels/ChartColumnSelectorOverlay.js.map +1 -1
  49. package/dist/panels/ChartFilterOverlay.js +7 -9
  50. package/dist/panels/ChartFilterOverlay.js.map +1 -1
  51. package/dist/panels/ChartPanel.js +136 -220
  52. package/dist/panels/ChartPanel.js.map +1 -1
  53. package/dist/panels/ChartPanelUtils.js +3 -4
  54. package/dist/panels/ChartPanelUtils.js.map +1 -1
  55. package/dist/panels/CommandHistoryPanel.js +33 -52
  56. package/dist/panels/CommandHistoryPanel.js.map +1 -1
  57. package/dist/panels/ConsolePanel.js +68 -130
  58. package/dist/panels/ConsolePanel.js.map +1 -1
  59. package/dist/panels/CorePanel.js +6 -18
  60. package/dist/panels/CorePanel.js.map +1 -1
  61. package/dist/panels/DropdownFilterPanel.js +109 -165
  62. package/dist/panels/DropdownFilterPanel.js.map +1 -1
  63. package/dist/panels/FileExplorerPanel.js +30 -55
  64. package/dist/panels/FileExplorerPanel.js.map +1 -1
  65. package/dist/panels/FilterSetManager.js +81 -141
  66. package/dist/panels/FilterSetManager.js.map +1 -1
  67. package/dist/panels/FilterSetManagerPanel.js +68 -87
  68. package/dist/panels/FilterSetManagerPanel.js.map +1 -1
  69. package/dist/panels/InputFilterPanel.js +45 -68
  70. package/dist/panels/InputFilterPanel.js.map +1 -1
  71. package/dist/panels/IrisGridPanel.d.ts +28 -6
  72. package/dist/panels/IrisGridPanel.d.ts.map +1 -1
  73. package/dist/panels/IrisGridPanel.js +224 -280
  74. package/dist/panels/IrisGridPanel.js.map +1 -1
  75. package/dist/panels/IrisGridPanelTooltip.js +1 -3
  76. package/dist/panels/IrisGridPanelTooltip.js.map +1 -1
  77. package/dist/panels/LogPanel.js +6 -13
  78. package/dist/panels/LogPanel.js.map +1 -1
  79. package/dist/panels/MarkdownNotebook.js +28 -50
  80. package/dist/panels/MarkdownNotebook.js.map +1 -1
  81. package/dist/panels/MarkdownPanel.js +19 -38
  82. package/dist/panels/MarkdownPanel.js.map +1 -1
  83. package/dist/panels/NotebookPanel.js +157 -292
  84. package/dist/panels/NotebookPanel.js.map +1 -1
  85. package/dist/panels/PandasPanel.js +5 -15
  86. package/dist/panels/PandasPanel.js.map +1 -1
  87. package/dist/panels/PandasReloadButton.js +1 -3
  88. package/dist/panels/PandasReloadButton.js.map +1 -1
  89. package/dist/panels/WidgetPanel.js +42 -51
  90. package/dist/panels/WidgetPanel.js.map +1 -1
  91. package/dist/panels/WidgetPanelTooltip.js +6 -10
  92. package/dist/panels/WidgetPanelTooltip.js.map +1 -1
  93. package/dist/useConfigureRuff.js +8 -9
  94. package/dist/useConfigureRuff.js.map +1 -1
  95. package/dist/useDashboardColumnFilters.js +4 -7
  96. package/dist/useDashboardColumnFilters.js.map +1 -1
  97. package/dist/useGridLinker.js +9 -16
  98. package/dist/useGridLinker.js.map +1 -1
  99. package/dist/useIrisGridModel.d.ts +2 -2
  100. package/dist/useIrisGridModel.d.ts.map +1 -1
  101. package/dist/useIrisGridModel.js +34 -6
  102. package/dist/useIrisGridModel.js.map +1 -1
  103. package/dist/useTablePlugin.js +27 -14
  104. package/dist/useTablePlugin.js.map +1 -1
  105. package/package.json +24 -24
@@ -1,3 +1,9 @@
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
1
7
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2
8
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
3
9
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
@@ -26,9 +32,7 @@ var WIDGET_DESCRIPTOR = Object.freeze({
26
32
  type: 'DropdownFilter'
27
33
  });
28
34
  var mapStateToProps = (state, ownProps) => {
29
- var {
30
- localDashboardId
31
- } = ownProps;
35
+ var localDashboardId = ownProps.localDashboardId;
32
36
  var panelId = LayoutUtils.getIdFromPanel({
33
37
  props: ownProps
34
38
  });
@@ -63,10 +67,8 @@ export class DropdownFilterPanel extends Component {
63
67
  _defineProperty(this, "cleanup", void 0);
64
68
  _defineProperty(this, "columnFormats", void 0);
65
69
  _defineProperty(this, "getCachedValues", memoize((rawValues, _ref, formatter) => {
66
- var {
67
- type,
68
- name
69
- } = _ref;
70
+ var type = _ref.type,
71
+ name = _ref.name;
70
72
  if (type !== undefined && TableUtils.isDateType(type)) {
71
73
  return rawValues.map(value => this.dateTimeFormatter.format(value));
72
74
  }
@@ -90,7 +92,8 @@ export class DropdownFilterPanel extends Component {
90
92
  log.debug('getCachedSource', links);
91
93
  var source;
92
94
  if (links.length > 0) {
93
- var [link] = links;
95
+ var _links = _slicedToArray(links, 1),
96
+ link = _links[0];
94
97
  source = link.start;
95
98
  if (links.length > 1) {
96
99
  log.error('Filter has more that one link', links);
@@ -106,9 +109,7 @@ export class DropdownFilterPanel extends Component {
106
109
  if (source == null) {
107
110
  return null;
108
111
  }
109
- var {
110
- panelId
111
- } = source;
112
+ var panelId = source.panelId;
112
113
  return (_panelTableMap$get = panelTableMap.get(panelId)) !== null && _panelTableMap$get !== void 0 ? _panelTableMap$get : null;
113
114
  }, {
114
115
  max: 1000
@@ -120,10 +121,8 @@ export class DropdownFilterPanel extends Component {
120
121
  return null;
121
122
  }
122
123
  return (_table$columns$find = table.columns.find(_ref2 => {
123
- var {
124
- name,
125
- type
126
- } = _ref2;
124
+ var name = _ref2.name,
125
+ type = _ref2.type;
127
126
  return name === source.columnName && type === source.columnType;
128
127
  })) !== null && _table$columns$find !== void 0 ? _table$columns$find : null;
129
128
  }, {
@@ -143,11 +142,9 @@ export class DropdownFilterPanel extends Component {
143
142
  this.dropdownFilterRef = /*#__PURE__*/React.createRef();
144
143
  this.panelContainer = /*#__PURE__*/React.createRef();
145
144
  this.pending = new Pending();
146
- var {
147
- dh,
148
- panelState,
149
- settings
150
- } = props;
145
+ var dh = props.dh,
146
+ panelState = props.panelState,
147
+ settings = props.settings;
151
148
  this.columnFormats = FormatterUtils.getColumnFormats(settings);
152
149
  // Filter dropdown needs to show and send full timestamp format with nanoseconds
153
150
  this.dateTimeFormatter = new DateTimeColumnFormatter(dh, {
@@ -155,13 +152,14 @@ export class DropdownFilterPanel extends Component {
155
152
  showTSeparator: true,
156
153
  defaultDateTimeFormatString: "yyyy-MM-dd HH:mm:ss.SSSSSSSSS"
157
154
  });
158
- var {
159
- value: _value = '',
160
- isValueShown = false,
161
- name: _name,
162
- type: _type,
163
- timestamp
164
- } = panelState !== null && panelState !== void 0 ? panelState : {};
155
+ var _ref3 = panelState !== null && panelState !== void 0 ? panelState : {},
156
+ _ref3$value = _ref3.value,
157
+ _value = _ref3$value === void 0 ? '' : _ref3$value,
158
+ _ref3$isValueShown = _ref3.isValueShown,
159
+ isValueShown = _ref3$isValueShown === void 0 ? false : _ref3$isValueShown,
160
+ _name = _ref3.name,
161
+ _type = _ref3.type,
162
+ timestamp = _ref3.timestamp;
165
163
  var column = _name != null && _type != null ? {
166
164
  name: _name,
167
165
  type: _type
@@ -190,36 +188,29 @@ export class DropdownFilterPanel extends Component {
190
188
  }
191
189
  componentDidMount() {
192
190
  this.updateValuesTable();
193
- var {
194
- dashboardLinks,
195
- panelTableMap
196
- } = this.props;
197
- var {
198
- column,
199
- value,
200
- timestamp
201
- } = this.state;
191
+ var _this$props = this.props,
192
+ dashboardLinks = _this$props.dashboardLinks,
193
+ panelTableMap = _this$props.panelTableMap;
194
+ var _this$state = this.state,
195
+ column = _this$state.column,
196
+ value = _this$state.value,
197
+ timestamp = _this$state.timestamp;
202
198
  var sourceTable = this.getSourceTable(panelTableMap, dashboardLinks);
203
199
  if (sourceTable !== null) {
204
200
  this.startListeningToSource(sourceTable);
205
201
  }
206
202
  if (column != null) {
207
- var {
208
- name,
209
- type
210
- } = column;
203
+ var name = column.name,
204
+ type = column.type;
211
205
  this.sendUpdate(name, type, value, timestamp);
212
206
  }
213
207
  }
214
208
  componentDidUpdate(prevProps, prevState) {
215
- var {
216
- dashboardLinks,
217
- panelTableMap,
218
- settings
219
- } = this.props;
220
- var {
221
- valuesTable
222
- } = this.state;
209
+ var _this$props2 = this.props,
210
+ dashboardLinks = _this$props2.dashboardLinks,
211
+ panelTableMap = _this$props2.panelTableMap,
212
+ settings = _this$props2.settings;
213
+ var valuesTable = this.state.valuesTable;
223
214
  var source = this.getSource(dashboardLinks);
224
215
  var sourceTable = this.getSourceTable(panelTableMap, dashboardLinks);
225
216
  var prevSource = this.getSource(prevProps.dashboardLinks);
@@ -247,13 +238,10 @@ export class DropdownFilterPanel extends Component {
247
238
  }
248
239
  }
249
240
  componentWillUnmount() {
250
- var {
251
- dashboardLinks,
252
- panelTableMap
253
- } = this.props;
254
- var {
255
- valuesTable
256
- } = this.state;
241
+ var _this$props3 = this.props,
242
+ dashboardLinks = _this$props3.dashboardLinks,
243
+ panelTableMap = _this$props3.panelTableMap;
244
+ var valuesTable = this.state.valuesTable;
257
245
  var sourceTable = this.getSourceTable(panelTableMap, dashboardLinks);
258
246
  this.pending.cancel();
259
247
  if (sourceTable !== null) {
@@ -281,18 +269,14 @@ export class DropdownFilterPanel extends Component {
281
269
  return [x, y];
282
270
  }
283
271
  getSettingsErrorMessage() {
284
- var {
285
- sourceSize
286
- } = this.state;
272
+ var sourceSize = this.state.sourceSize;
287
273
  if (sourceSize > DropdownFilterPanel.MAX_TABLE_SIZE) {
288
274
  return "Table too large, must have fewer than ".concat(DropdownFilterPanel.MAX_TABLE_SIZE, " options.");
289
275
  }
290
276
  return undefined;
291
277
  }
292
278
  getPanelErrorMessage() {
293
- var {
294
- error
295
- } = this.state;
279
+ var error = this.state.error;
296
280
  return error != null ? "".concat(error) : undefined;
297
281
  }
298
282
  getSource(links) {
@@ -308,9 +292,7 @@ export class DropdownFilterPanel extends Component {
308
292
  return this.getCachedSourceColumn(valuesTable, source);
309
293
  }
310
294
  startListeningToSource(sourceTable) {
311
- var {
312
- dh
313
- } = this.props;
295
+ var dh = this.props.dh;
314
296
  log.debug('startListeningToSource');
315
297
  sourceTable.addEventListener(dh.Table.EVENT_FILTERCHANGED, this.handleSourceFilterChange);
316
298
  sourceTable.addEventListener(dh.Table.EVENT_SORTCHANGED, this.handleSourceSortChange);
@@ -319,9 +301,7 @@ export class DropdownFilterPanel extends Component {
319
301
  sourceTable.addEventListener(dh.Table.EVENT_RECONNECT, this.handleReconnect);
320
302
  }
321
303
  stopListeningToSource(sourceTable) {
322
- var {
323
- dh
324
- } = this.props;
304
+ var dh = this.props.dh;
325
305
  log.debug('stopListeningToSource');
326
306
  sourceTable.removeEventListener(dh.Table.EVENT_FILTERCHANGED, this.handleSourceFilterChange);
327
307
  sourceTable.removeEventListener(dh.Table.EVENT_SORTCHANGED, this.handleSourceSortChange);
@@ -329,29 +309,27 @@ export class DropdownFilterPanel extends Component {
329
309
  sourceTable.removeEventListener(dh.Table.EVENT_DISCONNECT, this.handleDisconnect);
330
310
  sourceTable.removeEventListener(dh.Table.EVENT_RECONNECT, this.handleReconnect);
331
311
  }
332
- handleChange(_ref3) {
333
- var {
334
- column,
335
- isValueShown = false,
336
- value
337
- } = _ref3;
338
- var {
339
- name = undefined,
340
- type = undefined
341
- } = column !== null && column !== void 0 ? column : {};
312
+ handleChange(_ref4) {
313
+ var column = _ref4.column,
314
+ _ref4$isValueShown = _ref4.isValueShown,
315
+ isValueShown = _ref4$isValueShown === void 0 ? false : _ref4$isValueShown,
316
+ value = _ref4.value;
317
+ var _ref5 = column !== null && column !== void 0 ? column : {},
318
+ _ref5$name = _ref5.name,
319
+ name = _ref5$name === void 0 ? undefined : _ref5$name,
320
+ _ref5$type = _ref5.type,
321
+ type = _ref5$type === void 0 ? undefined : _ref5$type;
342
322
  var sendUpdate = true;
343
323
  var timestamp = Date.now();
344
- this.setState(_ref4 => {
345
- var _ref5;
346
- var {
347
- panelState,
348
- timestamp: prevTimestamp,
349
- wasFlipped,
350
- skipUpdate
351
- } = _ref4;
324
+ this.setState(_ref6 => {
325
+ var _ref7;
326
+ var panelState = _ref6.panelState,
327
+ prevTimestamp = _ref6.timestamp,
328
+ wasFlipped = _ref6.wasFlipped,
329
+ skipUpdate = _ref6.skipUpdate;
352
330
  // If the user had a value set, and they flip the card over and flip it back without changing any settings, ignore it
353
331
  var isFlip = panelState != null && isValueShown !== panelState.isValueShown && name === panelState.name && type === panelState.type && value === panelState.value;
354
- sendUpdate = (_ref5 = !skipUpdate && isValueShown && (!isFlip || !wasFlipped)) !== null && _ref5 !== void 0 ? _ref5 : false;
332
+ sendUpdate = (_ref7 = !skipUpdate && isValueShown && (!isFlip || !wasFlipped)) !== null && _ref7 !== void 0 ? _ref7 : false;
355
333
  if (!sendUpdate) {
356
334
  timestamp = prevTimestamp;
357
335
  }
@@ -392,19 +370,15 @@ export class DropdownFilterPanel extends Component {
392
370
  handleSourceSortChange() {
393
371
  this.applySourceSorts();
394
372
  }
395
- handleSourceSizeChange(_ref6) {
396
- var {
397
- detail
398
- } = _ref6;
373
+ handleSourceSizeChange(_ref8) {
374
+ var detail = _ref8.detail;
399
375
  this.setState({
400
376
  sourceSize: detail
401
377
  });
402
378
  }
403
379
  handleColumnSelected() {
404
380
  log.debug('handleColumnSelected');
405
- var {
406
- glEventHub
407
- } = this.props;
381
+ var glEventHub = this.props.glEventHub;
408
382
  var panelId = LayoutUtils.getIdFromPanel(this);
409
383
  assertNotNull(panelId);
410
384
  emitLinkPointSelected(glEventHub, panelId, DropdownFilterPanel.SOURCE_COLUMN, {
@@ -424,9 +398,7 @@ export class DropdownFilterPanel extends Component {
424
398
  setPanelState(state) {
425
399
  var _this$dropdownFilterR2;
426
400
  var sendUpdate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
427
- var {
428
- dashboardLinks
429
- } = this.props;
401
+ var dashboardLinks = this.props.dashboardLinks;
430
402
  if (this.getSource(dashboardLinks) == null) {
431
403
  log.debug('Ignore state update for unlinked filter', state);
432
404
  return;
@@ -442,10 +414,9 @@ export class DropdownFilterPanel extends Component {
442
414
  }
443
415
  sendUpdate(name, type, value, timestamp) {
444
416
  var _this$getSource;
445
- var {
446
- dashboardLinks,
447
- glEventHub
448
- } = this.props;
417
+ var _this$props4 = this.props,
418
+ dashboardLinks = _this$props4.dashboardLinks,
419
+ glEventHub = _this$props4.glEventHub;
449
420
  var sourcePanelId = (_this$getSource = this.getSource(dashboardLinks)) === null || _this$getSource === void 0 ? void 0 : _this$getSource.panelId;
450
421
  var excludePanelIds = sourcePanelId == null ? [] : [sourcePanelId];
451
422
  log.debug('sendUpdate', {
@@ -466,10 +437,9 @@ export class DropdownFilterPanel extends Component {
466
437
  } : null);
467
438
  }
468
439
  updateValuesTable() {
469
- var {
470
- dashboardLinks,
471
- panelTableMap
472
- } = this.props;
440
+ var _this$props5 = this.props,
441
+ dashboardLinks = _this$props5.dashboardLinks,
442
+ panelTableMap = _this$props5.panelTableMap;
473
443
  var source = this.getSource(dashboardLinks);
474
444
  var sourceTable = this.getSourceTable(panelTableMap, dashboardLinks);
475
445
  log.debug('updateValuesTable', source, sourceTable);
@@ -516,13 +486,10 @@ export class DropdownFilterPanel extends Component {
516
486
  });
517
487
  }
518
488
  applySourceSorts() {
519
- var {
520
- dashboardLinks,
521
- panelTableMap
522
- } = this.props;
523
- var {
524
- valuesTable
525
- } = this.state;
489
+ var _this$props6 = this.props,
490
+ dashboardLinks = _this$props6.dashboardLinks,
491
+ panelTableMap = _this$props6.panelTableMap;
492
+ var valuesTable = this.state.valuesTable;
526
493
  var sourceTable = this.getSourceTable(panelTableMap, dashboardLinks);
527
494
  log.debug('applySourceSorts', sourceTable === null || sourceTable === void 0 ? void 0 : sourceTable.sort);
528
495
  if (valuesTable == null || sourceTable == null) {
@@ -534,13 +501,10 @@ export class DropdownFilterPanel extends Component {
534
501
  this.setViewport(valuesTable);
535
502
  }
536
503
  applySourceFilters() {
537
- var {
538
- dashboardLinks,
539
- panelTableMap
540
- } = this.props;
541
- var {
542
- valuesTable
543
- } = this.state;
504
+ var _this$props7 = this.props,
505
+ dashboardLinks = _this$props7.dashboardLinks,
506
+ panelTableMap = _this$props7.panelTableMap;
507
+ var valuesTable = this.state.valuesTable;
544
508
  var sourceTable = this.getSourceTable(panelTableMap, dashboardLinks);
545
509
  log.debug('applySourceFilters', sourceTable === null || sourceTable === void 0 ? void 0 : sourceTable.filter);
546
510
  if (valuesTable == null || sourceTable == null) {
@@ -552,9 +516,7 @@ export class DropdownFilterPanel extends Component {
552
516
  this.setViewport(valuesTable);
553
517
  }
554
518
  updateViewportListener(valuesTable) {
555
- var {
556
- dh
557
- } = this.props;
519
+ var dh = this.props.dh;
558
520
  log.debug('updateViewportListener', valuesTable === null || valuesTable === void 0 ? void 0 : valuesTable.size);
559
521
  if (this.cleanup) {
560
522
  this.cleanup();
@@ -567,9 +529,7 @@ export class DropdownFilterPanel extends Component {
567
529
  this.setViewport(valuesTable);
568
530
  }
569
531
  setViewport(valuesTable) {
570
- var {
571
- dashboardLinks
572
- } = this.props;
532
+ var dashboardLinks = this.props.dashboardLinks;
573
533
  var valuesColumn = this.getValuesColumn(valuesTable, dashboardLinks);
574
534
  if (!valuesColumn) {
575
535
  log.error('values column is null');
@@ -578,9 +538,7 @@ export class DropdownFilterPanel extends Component {
578
538
  valuesTable.setViewport(0, DropdownFilterPanel.MAX_TABLE_SIZE - 1, [valuesColumn]);
579
539
  }
580
540
  updateFormatterSettings(settings) {
581
- var {
582
- dh
583
- } = this.props;
541
+ var dh = this.props.dh;
584
542
  var columnFormats = FormatterUtils.getColumnFormats(settings);
585
543
  if (!deepEqual(this.columnFormats, columnFormats)) {
586
544
  this.columnFormats = columnFormats;
@@ -589,19 +547,11 @@ export class DropdownFilterPanel extends Component {
589
547
  });
590
548
  }
591
549
  }
592
- handleValuesTableUpdate(_ref7) {
593
- var {
594
- detail
595
- } = _ref7;
596
- var {
597
- rows
598
- } = detail;
599
- var {
600
- dashboardLinks
601
- } = this.props;
602
- var {
603
- valuesTable
604
- } = this.state;
550
+ handleValuesTableUpdate(_ref9) {
551
+ var detail = _ref9.detail;
552
+ var rows = detail.rows;
553
+ var dashboardLinks = this.props.dashboardLinks;
554
+ var valuesTable = this.state.valuesTable;
605
555
  if (!valuesTable) {
606
556
  log.error('valuesTable is null');
607
557
  return;
@@ -620,9 +570,7 @@ export class DropdownFilterPanel extends Component {
620
570
  });
621
571
  }
622
572
  handleSourceMouseEnter() {
623
- var {
624
- columnSelectionValidator
625
- } = this.props;
573
+ var columnSelectionValidator = this.props.columnSelectionValidator;
626
574
  if (!columnSelectionValidator) {
627
575
  return;
628
576
  }
@@ -631,9 +579,7 @@ export class DropdownFilterPanel extends Component {
631
579
  });
632
580
  }
633
581
  handleSourceMouseLeave() {
634
- var {
635
- columnSelectionValidator
636
- } = this.props;
582
+ var columnSelectionValidator = this.props.columnSelectionValidator;
637
583
  if (!columnSelectionValidator) {
638
584
  return;
639
585
  }
@@ -642,25 +588,23 @@ export class DropdownFilterPanel extends Component {
642
588
  });
643
589
  }
644
590
  render() {
645
- var {
646
- columns,
647
- dashboardLinks,
648
- disableLinking,
649
- glContainer,
650
- glEventHub,
651
- isLinkerActive
652
- } = this.props;
653
- var {
654
- column,
655
- formatter,
656
- isDisconnected,
657
- isValueShown,
658
- value,
659
- values,
660
- valuesColumn,
661
- isLoading,
662
- isLoaded
663
- } = this.state;
591
+ var _this$props8 = this.props,
592
+ columns = _this$props8.columns,
593
+ dashboardLinks = _this$props8.dashboardLinks,
594
+ disableLinking = _this$props8.disableLinking,
595
+ glContainer = _this$props8.glContainer,
596
+ glEventHub = _this$props8.glEventHub,
597
+ isLinkerActive = _this$props8.isLinkerActive;
598
+ var _this$state2 = this.state,
599
+ column = _this$state2.column,
600
+ formatter = _this$state2.formatter,
601
+ isDisconnected = _this$state2.isDisconnected,
602
+ isValueShown = _this$state2.isValueShown,
603
+ value = _this$state2.value,
604
+ values = _this$state2.values,
605
+ valuesColumn = _this$state2.valuesColumn,
606
+ isLoading = _this$state2.isLoading,
607
+ isLoaded = _this$state2.isLoaded;
664
608
  var source = this.getSource(dashboardLinks);
665
609
  var settingsErrorMessage = this.getSettingsErrorMessage();
666
610
  var panelErrorMessage = this.getPanelErrorMessage();