@splunk/visualizations 25.0.0 → 25.0.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.
Files changed (142) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
  2. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
  3. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
  4. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
  5. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
  6. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.png +0 -0
  7. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  8. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  9. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  10. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  11. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  25. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  26. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  27. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  28. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  29. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  30. package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
  31. package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
  32. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
  33. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
  34. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
  35. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
  36. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
  37. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
  38. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
  42. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
  43. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
  44. package/Area.config.js +26 -1
  45. package/Area.config.js.map +1 -1
  46. package/Area.js +49 -23
  47. package/Area.js.map +1 -1
  48. package/Bar.config.js +26 -1
  49. package/Bar.config.js.map +1 -1
  50. package/Bar.js +49 -23
  51. package/Bar.js.map +1 -1
  52. package/Bubble.config.js +26 -1
  53. package/Bubble.config.js.map +1 -1
  54. package/Bubble.js +49 -23
  55. package/Bubble.js.map +1 -1
  56. package/ChoroplethSvg.config.js +27 -3
  57. package/ChoroplethSvg.config.js.map +1 -1
  58. package/ChoroplethSvg.js +73 -48
  59. package/ChoroplethSvg.js.map +1 -1
  60. package/Column.config.js +26 -1
  61. package/Column.config.js.map +1 -1
  62. package/Column.js +49 -23
  63. package/Column.js.map +1 -1
  64. package/Ellipse.config.js +26 -1
  65. package/Ellipse.config.js.map +1 -1
  66. package/Ellipse.js +58 -32
  67. package/Ellipse.js.map +1 -1
  68. package/FillerGauge.config.js +27 -2
  69. package/FillerGauge.config.js.map +1 -1
  70. package/FillerGauge.js +60 -34
  71. package/FillerGauge.js.map +1 -1
  72. package/Image.config.js +27 -3
  73. package/Image.config.js.map +1 -1
  74. package/Image.js +58 -34
  75. package/Image.js.map +1 -1
  76. package/Line.config.js +26 -1
  77. package/Line.config.js.map +1 -1
  78. package/Line.js +49 -23
  79. package/Line.js.map +1 -1
  80. package/LinkGraph.config.js +26 -1
  81. package/LinkGraph.config.js.map +1 -1
  82. package/LinkGraph.js +87 -61
  83. package/LinkGraph.js.map +1 -1
  84. package/Map.config.js +42 -5
  85. package/Map.config.js.map +1 -1
  86. package/Map.js +100 -60
  87. package/Map.js.map +1 -1
  88. package/Markdown.config.js +28 -5
  89. package/Markdown.config.js.map +1 -1
  90. package/Markdown.js +58 -35
  91. package/Markdown.js.map +1 -1
  92. package/MarkerGauge.config.js +31 -7
  93. package/MarkerGauge.config.js.map +1 -1
  94. package/MarkerGauge.js +2939 -3022
  95. package/MarkerGauge.js.map +1 -1
  96. package/ParallelCoordinates.config.js +35 -10
  97. package/ParallelCoordinates.config.js.map +1 -1
  98. package/ParallelCoordinates.js +61 -35
  99. package/ParallelCoordinates.js.map +1 -1
  100. package/Pie.config.js +32 -8
  101. package/Pie.config.js.map +1 -1
  102. package/Pie.js +2242 -2330
  103. package/Pie.js.map +1 -1
  104. package/Punchcard.config.js +28 -5
  105. package/Punchcard.config.js.map +1 -1
  106. package/Punchcard.js +72 -48
  107. package/Punchcard.js.map +1 -1
  108. package/Rectangle.config.js +28 -3
  109. package/Rectangle.config.js.map +1 -1
  110. package/Rectangle.js +155 -130
  111. package/Rectangle.js.map +1 -1
  112. package/Sankey.config.js +30 -5
  113. package/Sankey.config.js.map +1 -1
  114. package/Sankey.js +107 -82
  115. package/Sankey.js.map +1 -1
  116. package/Scatter.config.js +29 -3
  117. package/Scatter.config.js.map +1 -1
  118. package/Scatter.js +47 -22
  119. package/Scatter.js.map +1 -1
  120. package/SingleValue.config.js +33 -7
  121. package/SingleValue.config.js.map +1 -1
  122. package/SingleValue.js +63 -38
  123. package/SingleValue.js.map +1 -1
  124. package/SingleValueBasic.js +2 -2
  125. package/SingleValueIcon.config.js +31 -5
  126. package/SingleValueIcon.config.js.map +1 -1
  127. package/SingleValueIcon.js +71 -45
  128. package/SingleValueIcon.js.map +1 -1
  129. package/SingleValueRadial.config.js +160 -165
  130. package/SingleValueRadial.config.js.map +1 -1
  131. package/SingleValueRadial.js +112 -87
  132. package/SingleValueRadial.js.map +1 -1
  133. package/Table.config.js +31 -6
  134. package/Table.config.js.map +1 -1
  135. package/Table.js +249 -224
  136. package/Table.js.map +1 -1
  137. package/common/OptionsDoc.js +26 -1
  138. package/common/OptionsDoc.js.map +1 -1
  139. package/common/utils/configUtils.js +26 -1
  140. package/common/utils/configUtils.js.map +1 -1
  141. package/common/withDashboardViz.js +2 -2
  142. package/package.json +10 -10
package/Table.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 265);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 266);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -120,7 +120,7 @@ module.exports = require("@splunk/visualizations-shared/Message");
120
120
 
121
121
  /***/ }),
122
122
 
123
- /***/ 111:
123
+ /***/ 112:
124
124
  /***/ (function(module, exports, __webpack_require__) {
125
125
 
126
126
  "use strict";
@@ -153,7 +153,7 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
153
153
 
154
154
  /***/ }),
155
155
 
156
- /***/ 138:
156
+ /***/ 139:
157
157
  /***/ (function(module, exports, __webpack_require__) {
158
158
 
159
159
  "use strict";
@@ -183,13 +183,13 @@ var lodash_1 = __webpack_require__(2);
183
183
 
184
184
  var colorUtils_1 = __webpack_require__(13);
185
185
 
186
- var config_1 = __webpack_require__(266);
186
+ var config_1 = __webpack_require__(267);
187
187
 
188
188
  exports.config = config_1.default;
189
189
 
190
190
  var withDashboardViz_1 = __webpack_require__(30);
191
191
 
192
- var PureTable_1 = __webpack_require__(139);
192
+ var PureTable_1 = __webpack_require__(140);
193
193
 
194
194
  exports.PureTable = PureTable_1.default;
195
195
 
@@ -267,7 +267,104 @@ exports.default = Table;
267
267
 
268
268
  /***/ }),
269
269
 
270
- /***/ 139:
270
+ /***/ 14:
271
+ /***/ (function(module, exports, __webpack_require__) {
272
+
273
+ "use strict";
274
+
275
+
276
+ Object.defineProperty(exports, "__esModule", {
277
+ value: true
278
+ });
279
+
280
+ var React = __webpack_require__(1);
281
+
282
+ var styled_components_1 = __webpack_require__(4);
283
+
284
+ var SizeAwareWrapper_1 = __webpack_require__(18);
285
+
286
+ var style_1 = __webpack_require__(15);
287
+
288
+ var colorUtils_1 = __webpack_require__(13);
289
+
290
+ var Item = styled_components_1.default.div.attrs(function (_ref) {
291
+ var width = _ref.width;
292
+ return {
293
+ style: {
294
+ width: style_1.toPx(width)
295
+ }
296
+ };
297
+ }).withConfig({
298
+ displayName: "FixedSizeContainer__Item",
299
+ componentId: "sc-1yhgpod-0"
300
+ })(["position:relative;background-color:", "};"], function (props) {
301
+ return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
302
+ }); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
303
+
304
+ var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
305
+ var width = _ref2.width,
306
+ height = _ref2.height;
307
+ return {
308
+ style: Object.assign(Object.assign({}, width && {
309
+ width: style_1.toPx(width)
310
+ }), height && {
311
+ height: style_1.toPx(height)
312
+ })
313
+ };
314
+ }).withConfig({
315
+ displayName: "FixedSizeContainer__FixSizeItem",
316
+ componentId: "sc-1yhgpod-1"
317
+ })(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
318
+ return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
319
+ });
320
+ var ItemContent = styled_components_1.default.div.withConfig({
321
+ displayName: "FixedSizeContainer__ItemContent",
322
+ componentId: "sc-1yhgpod-2"
323
+ })(["position:relative;min-height:100px;width:100%;"]);
324
+ var FixSizeItemContent = styled_components_1.default.div.withConfig({
325
+ displayName: "FixedSizeContainer__FixSizeItemContent",
326
+ componentId: "sc-1yhgpod-3"
327
+ })(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
328
+
329
+ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
330
+ var FixedSizeContainer = function FixedSizeContainer(props) {
331
+ var width = props.width,
332
+ height = props.height,
333
+ backgroundColor = props.backgroundColor;
334
+
335
+ if (!height) {
336
+ return React.createElement(Item, {
337
+ "data-test": "item",
338
+ width: width,
339
+ backgroundColor: backgroundColor
340
+ }, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
341
+ }
342
+
343
+ return React.createElement(FixSizeItem, {
344
+ "data-test": "fix-size-item",
345
+ "data-splunk-visualization-version": "25.0.1 - de10ad954",
346
+ width: width,
347
+ height: height,
348
+ backgroundColor: backgroundColor
349
+ }, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
350
+ var newWidth = _ref3.width,
351
+ newHeight = _ref3.height;
352
+ return React.createElement(Viz, Object.assign({}, props, {
353
+ width: newWidth,
354
+ height: newHeight
355
+ }));
356
+ })));
357
+ };
358
+
359
+ FixedSizeContainer.displayName = 'withFixedSizeContainer';
360
+ return FixedSizeContainer;
361
+ };
362
+
363
+ exports.default = withFixedSizeContainer;
364
+
365
+ /***/ }),
366
+
367
+ /***/ 140:
271
368
  /***/ (function(module, exports, __webpack_require__) {
272
369
 
273
370
  "use strict";
@@ -309,11 +406,11 @@ var styled_components_1 = __webpack_require__(4);
309
406
 
310
407
  var i18n_1 = __webpack_require__(3);
311
408
 
312
- var Table_1 = __webpack_require__(89);
409
+ var Table_1 = __webpack_require__(90);
313
410
 
314
- var Paginator_1 = __webpack_require__(267);
411
+ var Paginator_1 = __webpack_require__(268);
315
412
 
316
- var Message_1 = __webpack_require__(268);
413
+ var Message_1 = __webpack_require__(269);
317
414
 
318
415
  var colorUtils_1 = __webpack_require__(13);
319
416
 
@@ -323,11 +420,11 @@ var pick_1 = __webpack_require__(20);
323
420
 
324
421
  var variables_1 = __webpack_require__(10);
325
422
 
326
- var hooks_1 = __webpack_require__(269);
423
+ var hooks_1 = __webpack_require__(270);
327
424
 
328
- var consts_1 = __webpack_require__(111);
425
+ var consts_1 = __webpack_require__(112);
329
426
 
330
- var cells_1 = __webpack_require__(270);
427
+ var cells_1 = __webpack_require__(271);
331
428
 
332
429
  var getPagination_1 = __webpack_require__(28);
333
430
 
@@ -335,11 +432,11 @@ var getSorting_1 = __webpack_require__(27);
335
432
 
336
433
  var FixedSizeContainer_1 = __webpack_require__(14);
337
434
 
338
- var utils_1 = __webpack_require__(275); // debounce was imported this way due to typing
435
+ var utils_1 = __webpack_require__(276); // debounce was imported this way due to typing
339
436
  // eslint-disable-next-line import/order
340
437
 
341
438
 
342
- var debounce = __webpack_require__(276);
439
+ var debounce = __webpack_require__(277);
343
440
 
344
441
  exports.MINIMUM_COLUMN_SIZE = 30;
345
442
  var NonVisibleTableHead = styled_components_1.default(Table_1.default.Head).withConfig({
@@ -873,103 +970,6 @@ exports.default = withEmptyTableMessage(FixedSizeContainer_1.default(PureTable))
873
970
 
874
971
  /***/ }),
875
972
 
876
- /***/ 14:
877
- /***/ (function(module, exports, __webpack_require__) {
878
-
879
- "use strict";
880
-
881
-
882
- Object.defineProperty(exports, "__esModule", {
883
- value: true
884
- });
885
-
886
- var React = __webpack_require__(1);
887
-
888
- var styled_components_1 = __webpack_require__(4);
889
-
890
- var SizeAwareWrapper_1 = __webpack_require__(18);
891
-
892
- var style_1 = __webpack_require__(15);
893
-
894
- var colorUtils_1 = __webpack_require__(13);
895
-
896
- var Item = styled_components_1.default.div.attrs(function (_ref) {
897
- var width = _ref.width;
898
- return {
899
- style: {
900
- width: style_1.toPx(width)
901
- }
902
- };
903
- }).withConfig({
904
- displayName: "FixedSizeContainer__Item",
905
- componentId: "sc-1yhgpod-0"
906
- })(["position:relative;background-color:", "};"], function (props) {
907
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
908
- }); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
909
-
910
- var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
911
- var width = _ref2.width,
912
- height = _ref2.height;
913
- return {
914
- style: Object.assign(Object.assign({}, width && {
915
- width: style_1.toPx(width)
916
- }), height && {
917
- height: style_1.toPx(height)
918
- })
919
- };
920
- }).withConfig({
921
- displayName: "FixedSizeContainer__FixSizeItem",
922
- componentId: "sc-1yhgpod-1"
923
- })(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
924
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
925
- });
926
- var ItemContent = styled_components_1.default.div.withConfig({
927
- displayName: "FixedSizeContainer__ItemContent",
928
- componentId: "sc-1yhgpod-2"
929
- })(["position:relative;min-height:100px;width:100%;"]);
930
- var FixSizeItemContent = styled_components_1.default.div.withConfig({
931
- displayName: "FixedSizeContainer__FixSizeItemContent",
932
- componentId: "sc-1yhgpod-3"
933
- })(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
934
-
935
- var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
936
- var FixedSizeContainer = function FixedSizeContainer(props) {
937
- var width = props.width,
938
- height = props.height,
939
- backgroundColor = props.backgroundColor;
940
-
941
- if (!height) {
942
- return React.createElement(Item, {
943
- "data-test": "item",
944
- width: width,
945
- backgroundColor: backgroundColor
946
- }, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
947
- }
948
-
949
- return React.createElement(FixSizeItem, {
950
- "data-test": "fix-size-item",
951
- "data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
952
- width: width,
953
- height: height,
954
- backgroundColor: backgroundColor
955
- }, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
956
- var newWidth = _ref3.width,
957
- newHeight = _ref3.height;
958
- return React.createElement(Viz, Object.assign({}, props, {
959
- width: newWidth,
960
- height: newHeight
961
- }));
962
- })));
963
- };
964
-
965
- FixedSizeContainer.displayName = 'withFixedSizeContainer';
966
- return FixedSizeContainer;
967
- };
968
-
969
- exports.default = withFixedSizeContainer;
970
-
971
- /***/ }),
972
-
973
973
  /***/ 15:
974
974
  /***/ (function(module, exports) {
975
975
 
@@ -1019,14 +1019,7 @@ module.exports = require("@splunk/visualization-context/TimezoneContext");
1019
1019
 
1020
1020
  /***/ }),
1021
1021
 
1022
- /***/ 23:
1023
- /***/ (function(module, exports) {
1024
-
1025
- module.exports = require("@babel/runtime/helpers/typeof");
1026
-
1027
- /***/ }),
1028
-
1029
- /***/ 25:
1022
+ /***/ 24:
1030
1023
  /***/ (function(module, exports, __webpack_require__) {
1031
1024
 
1032
1025
  "use strict";
@@ -1060,6 +1053,13 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
1060
1053
 
1061
1054
  /***/ }),
1062
1055
 
1056
+ /***/ 25:
1057
+ /***/ (function(module, exports) {
1058
+
1059
+ module.exports = require("@babel/runtime/helpers/typeof");
1060
+
1061
+ /***/ }),
1062
+
1063
1063
  /***/ 26:
1064
1064
  /***/ (function(module, exports, __webpack_require__) {
1065
1065
 
@@ -1152,7 +1152,7 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
1152
1152
 
1153
1153
  /***/ }),
1154
1154
 
1155
- /***/ 265:
1155
+ /***/ 266:
1156
1156
  /***/ (function(module, exports, __webpack_require__) {
1157
1157
 
1158
1158
  "use strict";
@@ -1184,9 +1184,9 @@ exports.default = void 0; // NOTE: wildcard syntax only works for named exports
1184
1184
  // for some reason, omitting the default export worked before TS v4
1185
1185
  // see: https://stackoverflow.com/a/34445175
1186
1186
 
1187
- __exportStar(__webpack_require__(138), exports);
1187
+ __exportStar(__webpack_require__(139), exports);
1188
1188
 
1189
- var Table_1 = __webpack_require__(138);
1189
+ var Table_1 = __webpack_require__(139);
1190
1190
 
1191
1191
  Object.defineProperty(exports, "default", {
1192
1192
  enumerable: true,
@@ -1197,7 +1197,7 @@ Object.defineProperty(exports, "default", {
1197
1197
 
1198
1198
  /***/ }),
1199
1199
 
1200
- /***/ 266:
1200
+ /***/ 267:
1201
1201
  /***/ (function(module, exports, __webpack_require__) {
1202
1202
 
1203
1203
  "use strict";
@@ -1229,7 +1229,7 @@ var configUtils_1 = __webpack_require__(6);
1229
1229
 
1230
1230
  var VizBehavior_1 = __webpack_require__(5);
1231
1231
 
1232
- var consts_1 = __webpack_require__(111);
1232
+ var consts_1 = __webpack_require__(112);
1233
1233
 
1234
1234
  var VizCategory_1 = __webpack_require__(29);
1235
1235
 
@@ -1807,7 +1807,7 @@ var editorConfig = [{
1807
1807
  }, {
1808
1808
  label: i18n_1._('Column Formatting'),
1809
1809
  layout: [[{
1810
- label: i18n_1._(''),
1810
+ label: i18n_1._('Column-specific formatting'),
1811
1811
  editor: 'editor.tableColumnFormatter',
1812
1812
  editorProps: {
1813
1813
  // Table column coloring does not adhere to same DSL structure as other dynamically colored options
@@ -1924,21 +1924,92 @@ exports.default = configUtils_1.enhanceConfig(config);
1924
1924
 
1925
1925
  /***/ }),
1926
1926
 
1927
- /***/ 267:
1927
+ /***/ 268:
1928
1928
  /***/ (function(module, exports) {
1929
1929
 
1930
1930
  module.exports = require("@splunk/react-ui/Paginator");
1931
1931
 
1932
1932
  /***/ }),
1933
1933
 
1934
- /***/ 268:
1934
+ /***/ 269:
1935
1935
  /***/ (function(module, exports) {
1936
1936
 
1937
1937
  module.exports = require("@splunk/react-ui/Message");
1938
1938
 
1939
1939
  /***/ }),
1940
1940
 
1941
- /***/ 269:
1941
+ /***/ 27:
1942
+ /***/ (function(module, exports, __webpack_require__) {
1943
+
1944
+ "use strict";
1945
+
1946
+
1947
+ var _defineProperty = __webpack_require__(7);
1948
+
1949
+ Object.defineProperty(exports, "__esModule", {
1950
+ value: true
1951
+ });
1952
+ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
1953
+
1954
+ var T = __webpack_require__(0);
1955
+
1956
+ var lodash_1 = __webpack_require__(2);
1957
+
1958
+ var DataSource_1 = __webpack_require__(37);
1959
+
1960
+ exports.SortParamsPropTypes = T.shape({
1961
+ currentSortKey: T.string,
1962
+ currentSortDir: T.oneOf(DataSource_1.validSortDirs),
1963
+ onSort: T.func
1964
+ });
1965
+
1966
+ var getSortingParams = function getSortingParams(_ref) {
1967
+ var requestParams = _ref.requestParams,
1968
+ onRequestParamsChange = _ref.onRequestParamsChange;
1969
+ var currentSortKey;
1970
+ var currentSortDir;
1971
+ var nextSortDirMap = {
1972
+ asc: 'desc',
1973
+ desc: 'asc',
1974
+ none: 'asc'
1975
+ };
1976
+ var onSort;
1977
+
1978
+ if (lodash_1.isFunction(onRequestParamsChange)) {
1979
+ if (requestParams && lodash_1.has(requestParams, 'sort')) {
1980
+ currentSortKey = Object.keys(requestParams.sort).shift();
1981
+ currentSortDir = requestParams.sort[currentSortKey];
1982
+ } // undid memoization since there is a dependency on requestParams, which is a deeply nested object
1983
+
1984
+
1985
+ onSort = function onSort(e, _ref2) {
1986
+ var sortKey = _ref2.sortKey,
1987
+ sortDir = _ref2.sortDir;
1988
+
1989
+ if (typeof sortKey === 'string') {
1990
+ var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
1991
+ onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
1992
+ offset: 0,
1993
+ sort: _defineProperty({}, sortKey, nextSortDir)
1994
+ }));
1995
+ } else {
1996
+ onRequestParamsChange(requestParams);
1997
+ }
1998
+ };
1999
+ }
2000
+
2001
+ return {
2002
+ currentSortKey: currentSortKey,
2003
+ currentSortDir: currentSortDir,
2004
+ onSort: onSort
2005
+ };
2006
+ };
2007
+
2008
+ exports.getSortingParams = getSortingParams;
2009
+
2010
+ /***/ }),
2011
+
2012
+ /***/ 270:
1942
2013
  /***/ (function(module, exports, __webpack_require__) {
1943
2014
 
1944
2015
  "use strict";
@@ -1946,7 +2017,7 @@ module.exports = require("@splunk/react-ui/Message");
1946
2017
 
1947
2018
  var _toConsumableArray = __webpack_require__(9);
1948
2019
 
1949
- var _typeof = __webpack_require__(23);
2020
+ var _typeof = __webpack_require__(25);
1950
2021
 
1951
2022
  Object.defineProperty(exports, "__esModule", {
1952
2023
  value: true
@@ -1957,7 +2028,7 @@ var lodash_1 = __webpack_require__(2);
1957
2028
 
1958
2029
  var colorUtils_1 = __webpack_require__(13);
1959
2030
 
1960
- var consts_1 = __webpack_require__(111);
2031
+ var consts_1 = __webpack_require__(112);
1961
2032
 
1962
2033
  var isArray = function isArray(v) {
1963
2034
  return Array.isArray(v);
@@ -2364,78 +2435,7 @@ exports.useTable = useTable;
2364
2435
 
2365
2436
  /***/ }),
2366
2437
 
2367
- /***/ 27:
2368
- /***/ (function(module, exports, __webpack_require__) {
2369
-
2370
- "use strict";
2371
-
2372
-
2373
- var _defineProperty = __webpack_require__(7);
2374
-
2375
- Object.defineProperty(exports, "__esModule", {
2376
- value: true
2377
- });
2378
- exports.getSortingParams = exports.SortParamsPropTypes = void 0;
2379
-
2380
- var T = __webpack_require__(0);
2381
-
2382
- var lodash_1 = __webpack_require__(2);
2383
-
2384
- var DataSource_1 = __webpack_require__(37);
2385
-
2386
- exports.SortParamsPropTypes = T.shape({
2387
- currentSortKey: T.string,
2388
- currentSortDir: T.oneOf(DataSource_1.validSortDirs),
2389
- onSort: T.func
2390
- });
2391
-
2392
- var getSortingParams = function getSortingParams(_ref) {
2393
- var requestParams = _ref.requestParams,
2394
- onRequestParamsChange = _ref.onRequestParamsChange;
2395
- var currentSortKey;
2396
- var currentSortDir;
2397
- var nextSortDirMap = {
2398
- asc: 'desc',
2399
- desc: 'asc',
2400
- none: 'asc'
2401
- };
2402
- var onSort;
2403
-
2404
- if (lodash_1.isFunction(onRequestParamsChange)) {
2405
- if (requestParams && lodash_1.has(requestParams, 'sort')) {
2406
- currentSortKey = Object.keys(requestParams.sort).shift();
2407
- currentSortDir = requestParams.sort[currentSortKey];
2408
- } // undid memoization since there is a dependency on requestParams, which is a deeply nested object
2409
-
2410
-
2411
- onSort = function onSort(e, _ref2) {
2412
- var sortKey = _ref2.sortKey,
2413
- sortDir = _ref2.sortDir;
2414
-
2415
- if (typeof sortKey === 'string') {
2416
- var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
2417
- onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
2418
- offset: 0,
2419
- sort: _defineProperty({}, sortKey, nextSortDir)
2420
- }));
2421
- } else {
2422
- onRequestParamsChange(requestParams);
2423
- }
2424
- };
2425
- }
2426
-
2427
- return {
2428
- currentSortKey: currentSortKey,
2429
- currentSortDir: currentSortDir,
2430
- onSort: onSort
2431
- };
2432
- };
2433
-
2434
- exports.getSortingParams = getSortingParams;
2435
-
2436
- /***/ }),
2437
-
2438
- /***/ 270:
2438
+ /***/ 271:
2439
2439
  /***/ (function(module, exports, __webpack_require__) {
2440
2440
 
2441
2441
  "use strict";
@@ -2464,17 +2464,17 @@ Object.defineProperty(exports, "__esModule", {
2464
2464
  value: true
2465
2465
  });
2466
2466
 
2467
- __exportStar(__webpack_require__(271), exports);
2468
-
2469
2467
  __exportStar(__webpack_require__(272), exports);
2470
2468
 
2471
2469
  __exportStar(__webpack_require__(273), exports);
2472
2470
 
2473
2471
  __exportStar(__webpack_require__(274), exports);
2474
2472
 
2473
+ __exportStar(__webpack_require__(275), exports);
2474
+
2475
2475
  /***/ }),
2476
2476
 
2477
- /***/ 271:
2477
+ /***/ 272:
2478
2478
  /***/ (function(module, exports, __webpack_require__) {
2479
2479
 
2480
2480
  "use strict";
@@ -2497,7 +2497,7 @@ exports.SwitchTableCell = SwitchTableCell;
2497
2497
 
2498
2498
  /***/ }),
2499
2499
 
2500
- /***/ 272:
2500
+ /***/ 273:
2501
2501
  /***/ (function(module, exports, __webpack_require__) {
2502
2502
 
2503
2503
  "use strict";
@@ -2510,7 +2510,7 @@ exports.TextCell = void 0;
2510
2510
 
2511
2511
  var React = __webpack_require__(1);
2512
2512
 
2513
- var Table_1 = __webpack_require__(89);
2513
+ var Table_1 = __webpack_require__(90);
2514
2514
 
2515
2515
  var TextCell = function TextCell(_ref) {
2516
2516
  var cell = _ref.cell,
@@ -2533,7 +2533,7 @@ exports.TextCell.displayName = 'TextCell';
2533
2533
 
2534
2534
  /***/ }),
2535
2535
 
2536
- /***/ 273:
2536
+ /***/ 274:
2537
2537
  /***/ (function(module, exports, __webpack_require__) {
2538
2538
 
2539
2539
  "use strict";
@@ -2546,7 +2546,7 @@ exports.ArrayCell = void 0;
2546
2546
 
2547
2547
  var React = __webpack_require__(1);
2548
2548
 
2549
- var Table_1 = __webpack_require__(89);
2549
+ var Table_1 = __webpack_require__(90);
2550
2550
 
2551
2551
  var ArrayCell = function ArrayCell(_ref) {
2552
2552
  var cell = _ref.cell,
@@ -2575,7 +2575,7 @@ exports.ArrayCell.displayName = 'ArrayCell';
2575
2575
 
2576
2576
  /***/ }),
2577
2577
 
2578
- /***/ 274:
2578
+ /***/ 275:
2579
2579
  /***/ (function(module, exports, __webpack_require__) {
2580
2580
 
2581
2581
  "use strict";
@@ -2590,9 +2590,9 @@ exports.SparklineCell = exports.validSparklineTypes = void 0;
2590
2590
 
2591
2591
  var React = __webpack_require__(1);
2592
2592
 
2593
- var Table_1 = __webpack_require__(89);
2593
+ var Table_1 = __webpack_require__(90);
2594
2594
 
2595
- var Line_1 = __webpack_require__(90);
2595
+ var Line_1 = __webpack_require__(91);
2596
2596
 
2597
2597
  var paddingLeftRight = 5;
2598
2598
  var paddingTopBottom = 3;
@@ -2668,7 +2668,7 @@ exports.SparklineCell.displayName = 'SparklineCell';
2668
2668
 
2669
2669
  /***/ }),
2670
2670
 
2671
- /***/ 275:
2671
+ /***/ 276:
2672
2672
  /***/ (function(module, exports, __webpack_require__) {
2673
2673
 
2674
2674
  "use strict";
@@ -2679,7 +2679,7 @@ Object.defineProperty(exports, "__esModule", {
2679
2679
  });
2680
2680
  exports.getLastColumnWidth = exports.getColumnWidth = void 0;
2681
2681
 
2682
- var PureTable_1 = __webpack_require__(139);
2682
+ var PureTable_1 = __webpack_require__(140);
2683
2683
 
2684
2684
  var getColumnWidth = function getColumnWidth(_ref) {
2685
2685
  var columns = _ref.columns,
@@ -2762,7 +2762,7 @@ exports.getLastColumnWidth = getLastColumnWidth;
2762
2762
 
2763
2763
  /***/ }),
2764
2764
 
2765
- /***/ 276:
2765
+ /***/ 277:
2766
2766
  /***/ (function(module, exports) {
2767
2767
 
2768
2768
  module.exports = require("lodash/debounce");
@@ -2906,7 +2906,7 @@ var getPagination_1 = __webpack_require__(28);
2906
2906
 
2907
2907
  var useDeepMemo_1 = __webpack_require__(38);
2908
2908
 
2909
- var JSONSchemaUtils_1 = __webpack_require__(25);
2909
+ var JSONSchemaUtils_1 = __webpack_require__(24);
2910
2910
 
2911
2911
  var MissingPropsMessage_1 = __webpack_require__(39);
2912
2912
 
@@ -3503,7 +3503,7 @@ var Cover = styled_components_1.default.div.withConfig({
3503
3503
  componentId: "sc-1gsbnxb-0"
3504
3504
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
3505
3505
  var Blocker = styled_components_1.default.div.attrs({
3506
- 'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
3506
+ 'data-splunk-visualization-version': "25.0.1 - de10ad954"
3507
3507
  }).withConfig({
3508
3508
  displayName: "withEditModeCover__Blocker",
3509
3509
  componentId: "sc-1gsbnxb-1"
@@ -3699,7 +3699,7 @@ var __rest = this && this.__rest || function (s, e) {
3699
3699
  Object.defineProperty(exports, "__esModule", {
3700
3700
  value: true
3701
3701
  });
3702
- exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
3702
+ exports.insertLayout = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
3703
3703
 
3704
3704
  var lodash_1 = __webpack_require__(2);
3705
3705
 
@@ -3774,8 +3774,10 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
3774
3774
  exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
3775
3775
  /**
3776
3776
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
3777
+ * this function also collapse all editor panels
3777
3778
  * @param vizConfig a Visualization Config
3778
3779
  * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
3780
+ * and containing `open: false` for all editor panels in editorConfig
3779
3781
  */
3780
3782
 
3781
3783
  function enhanceConfig(vizConfig) {
@@ -3785,10 +3787,33 @@ function enhanceConfig(vizConfig) {
3785
3787
  enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
3786
3788
  }
3787
3789
 
3790
+ enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
3791
+ return Object.assign(Object.assign({}, config), {
3792
+ open: false
3793
+ });
3794
+ });
3788
3795
  return enhancedConfig;
3789
3796
  }
3790
3797
 
3791
3798
  exports.enhanceConfig = enhanceConfig;
3799
+ /**
3800
+ * Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
3801
+ * Created for editor unit tests
3802
+ * @param vizConfig a Visualization Config
3803
+ * @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
3804
+ */
3805
+
3806
+ function uncollapseEditorConfig(vizConfig) {
3807
+ var editorPanelUncollapsedConfig = vizConfig;
3808
+ editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
3809
+ return Object.assign(Object.assign({}, config), {
3810
+ open: true
3811
+ });
3812
+ });
3813
+ return editorPanelUncollapsedConfig;
3814
+ }
3815
+
3816
+ exports.uncollapseEditorConfig = uncollapseEditorConfig;
3792
3817
 
3793
3818
  function isDynamicOption(option) {
3794
3819
  return option && typeof option === 'string' && option.trim().startsWith('>') || false;
@@ -3898,7 +3923,7 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
3898
3923
  "use strict";
3899
3924
 
3900
3925
 
3901
- var _typeof = __webpack_require__(23);
3926
+ var _typeof = __webpack_require__(25);
3902
3927
 
3903
3928
  Object.defineProperty(exports, "__esModule", {
3904
3929
  value: true
@@ -3986,21 +4011,21 @@ module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
3986
4011
 
3987
4012
  /***/ }),
3988
4013
 
3989
- /***/ 89:
4014
+ /***/ 9:
3990
4015
  /***/ (function(module, exports) {
3991
4016
 
3992
- module.exports = require("@splunk/react-ui/Table");
4017
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
3993
4018
 
3994
4019
  /***/ }),
3995
4020
 
3996
- /***/ 9:
4021
+ /***/ 90:
3997
4022
  /***/ (function(module, exports) {
3998
4023
 
3999
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
4024
+ module.exports = require("@splunk/react-ui/Table");
4000
4025
 
4001
4026
  /***/ }),
4002
4027
 
4003
- /***/ 90:
4028
+ /***/ 91:
4004
4029
  /***/ (function(module, exports) {
4005
4030
 
4006
4031
  module.exports = require("@splunk/react-sparkline/Line");