@splunk/visualizations 26.2.1 → 26.4.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 (150) hide show
  1. package/Area.config.js +92 -595
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +296 -801
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +93 -562
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +299 -770
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +84 -483
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +286 -687
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +77 -202
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +272 -400
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +93 -600
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +299 -808
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +82 -200
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +233 -356
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +62 -283
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +326 -530
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +91 -220
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +267 -401
  32. package/FillerGauge.js.map +1 -1
  33. package/Image.config.js +61 -157
  34. package/Image.config.js.map +1 -1
  35. package/Image.js +217 -327
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +92 -607
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +297 -814
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +75 -257
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +1755 -17415
  44. package/LinkGraph.js.map +1 -1
  45. package/MIGRATION.md +6 -0
  46. package/Map.config.js +128 -1123
  47. package/Map.config.js.map +1 -1
  48. package/Map.js +470 -782
  49. package/Map.js.map +1 -1
  50. package/Markdown.config.js +62 -189
  51. package/Markdown.config.js.map +1 -1
  52. package/Markdown.js +272 -401
  53. package/Markdown.js.map +1 -1
  54. package/MarkerGauge.config.js +138 -298
  55. package/MarkerGauge.config.js.map +1 -1
  56. package/MarkerGauge.js +309 -470
  57. package/MarkerGauge.js.map +1 -1
  58. package/ParallelCoordinates.config.js +72 -192
  59. package/ParallelCoordinates.config.js.map +1 -1
  60. package/ParallelCoordinates.js +333 -442
  61. package/ParallelCoordinates.js.map +1 -1
  62. package/Pie.config.js +77 -241
  63. package/Pie.config.js.map +1 -1
  64. package/Pie.js +336 -471
  65. package/Pie.js.map +1 -1
  66. package/Punchcard.config.js +72 -306
  67. package/Punchcard.config.js.map +1 -1
  68. package/Punchcard.js +356 -583
  69. package/Punchcard.js.map +1 -1
  70. package/Rectangle.config.js +211 -347
  71. package/Rectangle.config.js.map +1 -1
  72. package/Rectangle.js +371 -509
  73. package/Rectangle.js.map +1 -1
  74. package/Sankey.config.js +72 -214
  75. package/Sankey.config.js.map +1 -1
  76. package/Sankey.js +343 -475
  77. package/Sankey.js.map +1 -1
  78. package/Scatter.config.js +86 -464
  79. package/Scatter.config.js.map +1 -1
  80. package/Scatter.js +1118 -1493
  81. package/Scatter.js.map +1 -1
  82. package/SingleValue.config.js +124 -411
  83. package/SingleValue.config.js.map +1 -1
  84. package/SingleValue.js +522 -789
  85. package/SingleValue.js.map +1 -1
  86. package/SingleValueBasic.js +73 -61
  87. package/SingleValueBasic.js.map +1 -1
  88. package/SingleValueIcon.config.js +123 -380
  89. package/SingleValueIcon.config.js.map +1 -1
  90. package/SingleValueIcon.js +508 -745
  91. package/SingleValueIcon.js.map +1 -1
  92. package/SingleValueRadial.config.js +121 -385
  93. package/SingleValueRadial.config.js.map +1 -1
  94. package/SingleValueRadial.js +1642 -1885
  95. package/SingleValueRadial.js.map +1 -1
  96. package/SparkLine.js +39 -39
  97. package/SparkLine.js.map +1 -1
  98. package/Table.config.js +82 -496
  99. package/Table.config.js.map +1 -1
  100. package/Table.js +416 -825
  101. package/Table.js.map +1 -1
  102. package/common/Charting.js +37 -57
  103. package/common/Charting.js.map +1 -1
  104. package/common/DocExampleWithVizSandbox.js +21 -21
  105. package/common/DocExampleWithVizSandbox.js.map +1 -1
  106. package/common/EventsDoc.js +18 -18
  107. package/common/EventsDoc.js.map +1 -1
  108. package/common/GaugeMajorTicks.js +4 -4
  109. package/common/GaugeMajorTicks.js.map +1 -1
  110. package/common/GaugeValueMarker.js +2 -2
  111. package/common/GaugeValueMarker.js.map +1 -1
  112. package/common/OptionsDoc.js +4 -4
  113. package/common/OptionsDoc.js.map +1 -1
  114. package/common/OverviewDoc.js +39 -40
  115. package/common/OverviewDoc.js.map +1 -1
  116. package/common/SplunkVisualization.js +2 -2
  117. package/common/SplunkVisualization.js.map +1 -1
  118. package/common/SplunkVisualizationApi.js +2 -2
  119. package/common/SplunkVisualizationApi.js.map +1 -1
  120. package/common/ThemesDoc.js +19 -19
  121. package/common/ThemesDoc.js.map +1 -1
  122. package/common/chartingUtils.js +2 -2
  123. package/common/chartingUtils.js.map +1 -1
  124. package/common/gaugeUtils.js +10 -10
  125. package/common/gaugeUtils.js.map +1 -1
  126. package/common/shapeUtils.js +10 -10
  127. package/common/shapeUtils.js.map +1 -1
  128. package/common/utils/configUtils.js +25 -155
  129. package/common/utils/configUtils.js.map +1 -1
  130. package/common/utils/dataUtils.js +87 -105
  131. package/common/utils/dataUtils.js.map +1 -1
  132. package/common/utils/featureFlagUtils.js +4 -4
  133. package/common/utils/featureFlagUtils.js.map +1 -1
  134. package/common/utils/hocUtils.js +2 -2
  135. package/common/utils/hocUtils.js.map +1 -1
  136. package/common/utils/mapUtils.js +51 -54
  137. package/common/utils/mapUtils.js.map +1 -1
  138. package/common/utils/singleValueUtils.js +30 -18
  139. package/common/utils/singleValueUtils.js.map +1 -1
  140. package/common/utils/testHelper.js +7 -36
  141. package/common/utils/testHelper.js.map +1 -1
  142. package/common/utils/trellisUtils.js +7 -6
  143. package/common/utils/trellisUtils.js.map +1 -1
  144. package/common/utils/urlUtils.js +2 -2
  145. package/common/utils/urlUtils.js.map +1 -1
  146. package/common/withDashboardViz.js +93 -101
  147. package/common/withDashboardViz.js.map +1 -1
  148. package/package.json +48 -50
  149. package/common/utils/layoutUtils.js +0 -115
  150. package/common/utils/layoutUtils.js.map +0 -1
package/Markdown.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 = 445);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 433);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -95,25 +95,25 @@ module.exports =
95
95
  /***/ 0:
96
96
  /***/ (function(module, exports) {
97
97
 
98
- module.exports = require("react");
98
+ module.exports = require("prop-types");
99
99
 
100
100
  /***/ }),
101
101
 
102
102
  /***/ 1:
103
103
  /***/ (function(module, exports) {
104
104
 
105
- module.exports = require("prop-types");
105
+ module.exports = require("react");
106
106
 
107
107
  /***/ }),
108
108
 
109
109
  /***/ 10:
110
110
  /***/ (function(module, exports) {
111
111
 
112
- module.exports = require("@babel/runtime/helpers/classCallCheck");
112
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
113
113
 
114
114
  /***/ }),
115
115
 
116
- /***/ 106:
116
+ /***/ 103:
117
117
  /***/ (function(module, exports) {
118
118
 
119
119
  module.exports = require("@splunk/visualization-encoding/utils/types");
@@ -123,14 +123,14 @@ module.exports = require("@splunk/visualization-encoding/utils/types");
123
123
  /***/ 11:
124
124
  /***/ (function(module, exports) {
125
125
 
126
- module.exports = require("@splunk/visualizations-shared/numberUtils");
126
+ module.exports = require("@splunk/visualizations-shared/Message");
127
127
 
128
128
  /***/ }),
129
129
 
130
130
  /***/ 12:
131
131
  /***/ (function(module, exports) {
132
132
 
133
- module.exports = require("@splunk/visualizations-shared/Message");
133
+ module.exports = require("@babel/runtime/helpers/defineProperty");
134
134
 
135
135
  /***/ }),
136
136
 
@@ -141,7 +141,7 @@ module.exports = require("@splunk/themes/variables");
141
141
 
142
142
  /***/ }),
143
143
 
144
- /***/ 133:
144
+ /***/ 131:
145
145
  /***/ (function(module, exports) {
146
146
 
147
147
  module.exports = require("@splunk/react-ui/Paragraph");
@@ -159,9 +159,9 @@ Object.defineProperty(exports, "__esModule", {
159
159
  });
160
160
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
161
161
 
162
- var numberUtils_1 = __webpack_require__(11);
162
+ var numberUtils_1 = __webpack_require__(10);
163
163
 
164
- var interfaces_1 = __webpack_require__(40); // TODO: utilize this fn in ParallelCoordinates
164
+ var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
165
165
 
166
166
 
167
167
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -296,19 +296,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
296
296
  */
297
297
 
298
298
 
299
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
300
- // Splunk charting allows for numbers in formats such as negative hex that
299
+ var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
300
+ var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
301
301
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
302
302
  // We want to identify columns which contain at least one value that can be loosely coerced
303
+
303
304
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
304
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
305
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
305
306
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
306
307
 
307
308
  var coercedColumn = [];
308
309
  var canDownsampleColumn = !column.some(function (value) {
309
- var coercedValue = Number(value); // if it can't be parsed or isn't safe, fail
310
+ var coercedValue = Number(value);
311
+ var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
310
312
 
311
- if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
313
+ if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
312
314
  return true;
313
315
  } // save value and continue to next
314
316
 
@@ -389,8 +391,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
389
391
  dataSources = _ref3.dataSources,
390
392
  selectChartEvent = _ref3.selectChartEvent,
391
393
  width = _ref3.width,
392
- xField = _ref3.xField,
393
- y2Fields = _ref3.y2Fields;
394
+ xField = _ref3.xField;
394
395
 
395
396
  var _a, _b, _c;
396
397
 
@@ -427,14 +428,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
427
428
  });
428
429
  var lastIndex = fullSeries.findIndex(function (x) {
429
430
  return downsampledSeries[endXIndex] === x;
430
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
431
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
432
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
433
- // until SPL-259611 is fixed
434
-
435
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
436
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
437
- }
431
+ });
438
432
 
439
433
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
440
434
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -445,6 +439,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
445
439
  });
446
440
  }
447
441
  } catch (e) {
442
+ // eslint-disable-next-line no-console
448
443
  console.error('Error occurred while setting downsample threshold on range select event', e);
449
444
  }
450
445
 
@@ -483,7 +478,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
483
478
  */
484
479
 
485
480
 
486
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
481
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
487
482
  var xColumn = [];
488
483
  var yColumns = [];
489
484
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -497,7 +492,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
497
492
  if (fieldName === xField) {
498
493
  xColumn = strictlyCoerceXColumn(column, fieldType);
499
494
  } else if (yFields.has(fieldName)) {
500
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
495
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
501
496
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
502
497
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
503
498
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -587,7 +582,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
587
582
  return dataSources;
588
583
  }
589
584
 
590
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
585
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
591
586
  xColumn = _tryToCoerceAllDispla.xColumn,
592
587
  yColumns = _tryToCoerceAllDispla.yColumns;
593
588
 
@@ -611,6 +606,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
611
606
  return downsampledIndices.add(downsampleIndex);
612
607
  });
613
608
  } catch (e) {
609
+ // eslint-disable-next-line no-console
614
610
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
615
611
  }
616
612
  }); // update data columns with downsampled columns
@@ -623,14 +619,14 @@ exports.downsampleDataSources = downsampleDataSources;
623
619
 
624
620
  /***/ }),
625
621
 
626
- /***/ 144:
622
+ /***/ 142:
627
623
  /***/ (function(module, exports) {
628
624
 
629
625
  module.exports = require("@splunk/react-ui/Markdown");
630
626
 
631
627
  /***/ }),
632
628
 
633
- /***/ 147:
629
+ /***/ 144:
634
630
  /***/ (function(module, exports) {
635
631
 
636
632
  module.exports = require("@splunk/react-ui/Heading");
@@ -657,13 +653,13 @@ module.exports = require("@splunk/visualization-encoding/Options");
657
653
  "use strict";
658
654
 
659
655
 
660
- var _slicedToArray = __webpack_require__(7);
656
+ var _slicedToArray = __webpack_require__(5);
661
657
 
662
658
  Object.defineProperty(exports, "__esModule", {
663
659
  value: true
664
660
  });
665
661
 
666
- var React = __webpack_require__(0);
662
+ var React = __webpack_require__(1);
667
663
 
668
664
  var styled_components_1 = __webpack_require__(4);
669
665
 
@@ -671,7 +667,7 @@ var style_1 = __webpack_require__(18);
671
667
 
672
668
  var colorUtils_1 = __webpack_require__(15);
673
669
 
674
- var SizeAwareWrapper_1 = __webpack_require__(26);
670
+ var SizeAwareWrapper_1 = __webpack_require__(25);
675
671
 
676
672
  var Item = styled_components_1.default.div.attrs(function (_ref) {
677
673
  var width = _ref.width;
@@ -742,7 +738,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
742
738
 
743
739
  return React.createElement(FixSizeItem, {
744
740
  "data-test": "fix-size-item",
745
- "data-splunk-visualization-version": "26.2.1 - 714383dbb",
741
+ "data-splunk-visualization-version": "26.4.0 - 04078274d",
746
742
  width: width,
747
743
  height: height,
748
744
  backgroundColor: backgroundColor
@@ -764,20 +760,13 @@ exports.default = withFixedSizeContainer;
764
760
 
765
761
  /***/ }),
766
762
 
767
- /***/ 18:
768
- /***/ (function(module, exports) {
769
-
770
- module.exports = require("@splunk/visualizations-shared/style");
771
-
772
- /***/ }),
773
-
774
- /***/ 184:
763
+ /***/ 179:
775
764
  /***/ (function(module, exports, __webpack_require__) {
776
765
 
777
766
  "use strict";
778
767
 
779
768
 
780
- var _taggedTemplateLiteral = __webpack_require__(81);
769
+ var _taggedTemplateLiteral = __webpack_require__(78);
781
770
 
782
771
  var _templateObject;
783
772
 
@@ -786,33 +775,33 @@ Object.defineProperty(exports, "__esModule", {
786
775
  });
787
776
  exports.getFontMap = exports.config = exports.themes = exports.computeVizProps = exports.FONT_SIZES = void 0;
788
777
 
789
- var lodash_1 = __webpack_require__(3);
778
+ var lodash_1 = __webpack_require__(2);
790
779
 
791
- var types_1 = __webpack_require__(106);
780
+ var types_1 = __webpack_require__(103);
792
781
 
793
- var React = __webpack_require__(0);
782
+ var React = __webpack_require__(1);
794
783
 
795
784
  var style_1 = __webpack_require__(18);
796
785
 
797
- var Markdown_1 = __webpack_require__(144);
786
+ var Markdown_1 = __webpack_require__(142);
798
787
 
799
788
  var styled_components_1 = __webpack_require__(4);
800
789
 
801
- var T = __webpack_require__(1);
790
+ var T = __webpack_require__(0);
802
791
 
803
- var themes_1 = __webpack_require__(82);
792
+ var themes_1 = __webpack_require__(79);
804
793
 
805
- var Heading_1 = __webpack_require__(147);
794
+ var Heading_1 = __webpack_require__(144);
806
795
 
807
- var Paragraph_1 = __webpack_require__(133);
796
+ var Paragraph_1 = __webpack_require__(131);
808
797
 
809
- var List_1 = __webpack_require__(446);
798
+ var List_1 = __webpack_require__(434);
810
799
 
811
- var Code_1 = __webpack_require__(447);
800
+ var Code_1 = __webpack_require__(435);
812
801
 
813
- var withDashboardViz_1 = __webpack_require__(56);
802
+ var withDashboardViz_1 = __webpack_require__(54);
814
803
 
815
- var config_1 = __webpack_require__(448);
804
+ var config_1 = __webpack_require__(436);
816
805
 
817
806
  exports.config = config_1.default; // map of valid font sizes with elements' respective pixel sizes
818
807
 
@@ -855,7 +844,7 @@ exports.FONT_SIZES = {
855
844
 
856
845
  var MarkdownContainer = styled_components_1.default.div.withConfig({
857
846
  displayName: "Markdown__MarkdownContainer",
858
- componentId: "zd3qkg-0"
847
+ componentId: "sc-zd3qkg-0"
859
848
  })(["overflow:auto;position:relative;box-sizing:border-box;", ";", ";background-color:", ";transform-origin:center;transform:rotate(", "deg);& *:not(code):not(pre):not(code *):not(a){color:", ";}", ";"], function (props) {
860
849
  return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
861
850
  }, function (props) {
@@ -872,7 +861,7 @@ var MarkdownContainer = styled_components_1.default.div.withConfig({
872
861
  });
873
862
  var CodeBlockContainer = styled_components_1.default.div.withConfig({
874
863
  displayName: "Markdown__CodeBlockContainer",
875
- componentId: "zd3qkg-1"
864
+ componentId: "sc-zd3qkg-1"
876
865
  })(["padding:", ";margin:", " 0;background-color:", ";pre[data-test='code']{margin-bottom:0px;}code{font-size:", "px !important;line-height:", "px !important;}"], (0, themes_1.pick)({
877
866
  enterprise: themes_1.variables.spacingHalf,
878
867
  prisma: (0, styled_components_1.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["10px ", ""])), themes_1.variables.spacingLarge)
@@ -892,7 +881,7 @@ var CodeBlockContainer = styled_components_1.default.div.withConfig({
892
881
  });
893
882
  var CodeInlineContainer = styled_components_1.default.code.withConfig({
894
883
  displayName: "Markdown__CodeInlineContainer",
895
- componentId: "zd3qkg-2"
884
+ componentId: "sc-zd3qkg-2"
896
885
  })(["", ";font-family:", ";background-color:", ";"], themes_1.mixins.reset('inline'), themes_1.variables.monoFontFamily, (0, themes_1.pick)({
897
886
  enterprise: {
898
887
  light: themes_1.variables.gray92,
@@ -921,7 +910,7 @@ var handleLinkClick = function handleLinkClick(e) {
921
910
 
922
911
  var StyledA = styled_components_1.default.a.withConfig({
923
912
  displayName: "Markdown__StyledA",
924
- componentId: "zd3qkg-3"
913
+ componentId: "sc-zd3qkg-3"
925
914
  })(["text-decoration:underlined;"]); // returns renderers customized with the appropriate font sizes given the provided `fontSize` value.
926
915
 
927
916
  var getMarkdownRenderer = function getMarkdownRenderer(fontFamilyStyle, fontSize, customFontSize) {
@@ -1089,7 +1078,21 @@ exports.default = Markdown;
1089
1078
 
1090
1079
  /***/ }),
1091
1080
 
1092
- /***/ 19:
1081
+ /***/ 18:
1082
+ /***/ (function(module, exports) {
1083
+
1084
+ module.exports = require("@splunk/visualizations-shared/style");
1085
+
1086
+ /***/ }),
1087
+
1088
+ /***/ 2:
1089
+ /***/ (function(module, exports) {
1090
+
1091
+ module.exports = require("lodash");
1092
+
1093
+ /***/ }),
1094
+
1095
+ /***/ 20:
1093
1096
  /***/ (function(module, exports, __webpack_require__) {
1094
1097
 
1095
1098
  "use strict";
@@ -1098,29 +1101,21 @@ exports.default = Markdown;
1098
1101
  Object.defineProperty(exports, "__esModule", {
1099
1102
  value: true
1100
1103
  });
1101
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
1104
+ exports.validOutputModes = exports.validSortDirs = void 0;
1102
1105
  exports.validSortDirs = ['asc', 'desc', 'none'];
1103
- exports.validSegmentationModes = ['none', 'inner'];
1104
1106
  exports.validOutputModes = ['json_cols', 'json'];
1105
1107
 
1106
1108
  /***/ }),
1107
1109
 
1108
- /***/ 2:
1109
- /***/ (function(module, exports) {
1110
-
1111
- module.exports = require("@splunk/ui-utils/i18n");
1112
-
1113
- /***/ }),
1114
-
1115
1110
  /***/ 21:
1116
1111
  /***/ (function(module, exports, __webpack_require__) {
1117
1112
 
1118
1113
  "use strict";
1119
1114
 
1120
1115
 
1121
- var _classCallCheck = __webpack_require__(10);
1116
+ var _classCallCheck = __webpack_require__(8);
1122
1117
 
1123
- var _createClass = __webpack_require__(25);
1118
+ var _createClass = __webpack_require__(24);
1124
1119
 
1125
1120
  Object.defineProperty(exports, "__esModule", {
1126
1121
  value: true
@@ -1215,123 +1210,41 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
1215
1210
  /***/ 24:
1216
1211
  /***/ (function(module, exports) {
1217
1212
 
1218
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
1219
-
1220
- /***/ }),
1221
-
1222
- /***/ 25:
1223
- /***/ (function(module, exports) {
1224
-
1225
1213
  module.exports = require("@babel/runtime/helpers/createClass");
1226
1214
 
1227
1215
  /***/ }),
1228
1216
 
1229
- /***/ 26:
1217
+ /***/ 25:
1230
1218
  /***/ (function(module, exports) {
1231
1219
 
1232
1220
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
1233
1221
 
1234
1222
  /***/ }),
1235
1223
 
1236
- /***/ 27:
1224
+ /***/ 26:
1237
1225
  /***/ (function(module, exports, __webpack_require__) {
1238
1226
 
1239
1227
  "use strict";
1240
1228
 
1241
1229
 
1242
- var _toConsumableArray = __webpack_require__(8);
1243
-
1244
- var _defineProperty = __webpack_require__(9);
1245
-
1246
- var __rest = this && this.__rest || function (s, e) {
1247
- var t = {};
1248
-
1249
- for (var p in s) {
1250
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
1251
- }
1252
-
1253
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1254
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
1255
- }
1256
- return t;
1257
- };
1230
+ var _toConsumableArray = __webpack_require__(6);
1258
1231
 
1259
1232
  Object.defineProperty(exports, "__esModule", {
1260
1233
  value: true
1261
1234
  });
1262
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
1263
-
1264
- var lodash_1 = __webpack_require__(3);
1265
-
1266
- var schemaUtils_1 = __webpack_require__(24);
1267
-
1268
- var VizBehavior_1 = __webpack_require__(6);
1235
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
1269
1236
 
1270
- var dynamicOptionsDSLType = {
1271
- type: 'string',
1272
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
1273
- };
1274
- /**
1275
- * Helper function to extend an options schema with dynamic options DSL
1276
- * @param optionsSchema a visualization's options schema
1277
- * @returns an updated options schema that additionally allows strings starting with > for each option
1278
- */
1237
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
1279
1238
 
1280
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
1281
- var enhancedOptionsSchema = {};
1282
- Object.keys(optionsSchema).forEach(function (key) {
1283
- var _a = optionsSchema[key],
1284
- title = _a.title,
1285
- description = _a.description,
1286
- readOnly = _a.readOnly,
1287
- writeOnly = _a.writeOnly,
1288
- examples = _a.examples,
1289
- defaultValue = _a.default,
1290
- type = _a.type,
1291
- properties = _a.properties,
1292
- patternProperties = _a.patternProperties,
1293
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
1294
-
1295
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1296
- title: title
1297
- }), description !== undefined && {
1298
- description: description
1299
- }), readOnly !== undefined && {
1300
- readOnly: readOnly
1301
- }), writeOnly !== undefined && {
1302
- writeOnly: writeOnly
1303
- }), examples !== undefined && {
1304
- examples: examples
1305
- }), defaultValue !== undefined && {
1306
- default: defaultValue
1307
- });
1308
1239
 
1309
- if (type === 'object') {
1310
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
1311
- type: type
1312
- }), properties && {
1313
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
1314
- });
1315
-
1316
- if (patternProperties) {
1317
- var enhancedPatternProperties = {};
1318
- Object.keys(patternProperties).forEach(function (opt) {
1319
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
1320
- });
1321
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
1322
- }
1323
- } else {
1324
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
1325
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
1326
- type: type
1327
- }), remainingSchemaEntry), dynamicOptionsDSLType]
1328
- });
1329
- }
1330
- });
1331
- return enhancedOptionsSchema;
1332
- }
1240
+ var visualization_schemas_1 = __webpack_require__(9);
1333
1241
 
1334
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
1242
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
1243
+ enumerable: true,
1244
+ get: function get() {
1245
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
1246
+ }
1247
+ });
1335
1248
  /**
1336
1249
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
1337
1250
  * this function also collapse all editor panels
@@ -1342,11 +1255,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
1342
1255
 
1343
1256
  function enhanceConfig(vizConfig) {
1344
1257
  var enhancedConfig = Object.assign({}, vizConfig);
1345
-
1346
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
1347
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
1348
- }
1349
-
1350
1258
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
1351
1259
  return Object.assign(Object.assign({}, config), {
1352
1260
  open: config.open || false
@@ -1470,7 +1378,7 @@ exports.insertLayout = insertLayout;
1470
1378
 
1471
1379
  /***/ }),
1472
1380
 
1473
- /***/ 28:
1381
+ /***/ 27:
1474
1382
  /***/ (function(module, exports) {
1475
1383
 
1476
1384
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
@@ -1480,25 +1388,25 @@ module.exports = require("@splunk/visualization-context/FeatureFlagContext");
1480
1388
  /***/ 3:
1481
1389
  /***/ (function(module, exports) {
1482
1390
 
1483
- module.exports = require("lodash");
1391
+ module.exports = require("@splunk/ui-utils/i18n");
1484
1392
 
1485
1393
  /***/ }),
1486
1394
 
1487
- /***/ 31:
1395
+ /***/ 30:
1488
1396
  /***/ (function(module, exports) {
1489
1397
 
1490
1398
  module.exports = require("@splunk/ui-utils/id");
1491
1399
 
1492
1400
  /***/ }),
1493
1401
 
1494
- /***/ 32:
1402
+ /***/ 31:
1495
1403
  /***/ (function(module, exports) {
1496
1404
 
1497
1405
  module.exports = require("@splunk/visualization-context/TimezoneContext");
1498
1406
 
1499
1407
  /***/ }),
1500
1408
 
1501
- /***/ 33:
1409
+ /***/ 32:
1502
1410
  /***/ (function(module, exports, __webpack_require__) {
1503
1411
 
1504
1412
  "use strict";
@@ -1508,7 +1416,7 @@ Object.defineProperty(exports, "__esModule", {
1508
1416
  value: true
1509
1417
  });
1510
1418
 
1511
- var react_1 = __webpack_require__(0);
1419
+ var react_1 = __webpack_require__(1);
1512
1420
 
1513
1421
  function usePrevious(value) {
1514
1422
  var ref = (0, react_1.useRef)();
@@ -1522,21 +1430,21 @@ exports.default = usePrevious;
1522
1430
 
1523
1431
  /***/ }),
1524
1432
 
1525
- /***/ 34:
1433
+ /***/ 33:
1526
1434
  /***/ (function(module, exports) {
1527
1435
 
1528
1436
  module.exports = require("@splunk/visualizations-shared/hocUtils");
1529
1437
 
1530
1438
  /***/ }),
1531
1439
 
1532
- /***/ 35:
1440
+ /***/ 34:
1533
1441
  /***/ (function(module, exports) {
1534
1442
 
1535
1443
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
1536
1444
 
1537
1445
  /***/ }),
1538
1446
 
1539
- /***/ 37:
1447
+ /***/ 36:
1540
1448
  /***/ (function(module, exports, __webpack_require__) {
1541
1449
 
1542
1450
  "use strict";
@@ -1547,15 +1455,15 @@ Object.defineProperty(exports, "__esModule", {
1547
1455
  });
1548
1456
  exports.shouldShowIconPlaceholder = void 0;
1549
1457
 
1550
- var React = __webpack_require__(0);
1458
+ var React = __webpack_require__(1);
1551
1459
 
1552
- var T = __webpack_require__(1);
1460
+ var T = __webpack_require__(0);
1553
1461
 
1554
- var lodash_1 = __webpack_require__(3);
1462
+ var lodash_1 = __webpack_require__(2);
1555
1463
 
1556
- var i18n_1 = __webpack_require__(2);
1464
+ var i18n_1 = __webpack_require__(3);
1557
1465
 
1558
- var Message_1 = __webpack_require__(12);
1466
+ var Message_1 = __webpack_require__(11);
1559
1467
 
1560
1468
  var FixedSizeContainer_1 = __webpack_require__(17);
1561
1469
  /**
@@ -1629,24 +1537,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
1629
1537
 
1630
1538
  /***/ }),
1631
1539
 
1632
- /***/ 38:
1540
+ /***/ 37:
1633
1541
  /***/ (function(module, exports, __webpack_require__) {
1634
1542
 
1635
1543
  "use strict";
1636
1544
 
1637
1545
 
1638
- var _defineProperty = __webpack_require__(9);
1546
+ var _defineProperty = __webpack_require__(12);
1639
1547
 
1640
1548
  Object.defineProperty(exports, "__esModule", {
1641
1549
  value: true
1642
1550
  });
1643
1551
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
1644
1552
 
1645
- var T = __webpack_require__(1);
1553
+ var T = __webpack_require__(0);
1646
1554
 
1647
- var lodash_1 = __webpack_require__(3);
1555
+ var lodash_1 = __webpack_require__(2);
1648
1556
 
1649
- var DataSource_1 = __webpack_require__(19);
1557
+ var DataSource_1 = __webpack_require__(20);
1650
1558
 
1651
1559
  exports.SortParamsPropTypes = T.shape({
1652
1560
  currentSortKey: T.string,
@@ -1700,7 +1608,7 @@ exports.getSortingParams = getSortingParams;
1700
1608
 
1701
1609
  /***/ }),
1702
1610
 
1703
- /***/ 39:
1611
+ /***/ 38:
1704
1612
  /***/ (function(module, exports, __webpack_require__) {
1705
1613
 
1706
1614
  "use strict";
@@ -1711,9 +1619,9 @@ Object.defineProperty(exports, "__esModule", {
1711
1619
  });
1712
1620
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
1713
1621
 
1714
- var T = __webpack_require__(1);
1622
+ var T = __webpack_require__(0);
1715
1623
 
1716
- var lodash_1 = __webpack_require__(3);
1624
+ var lodash_1 = __webpack_require__(2);
1717
1625
 
1718
1626
  exports.PaginatorParamsPropTypes = T.shape({
1719
1627
  isPaging: T.bool,
@@ -1765,14 +1673,7 @@ exports.getPaginationParams = getPaginationParams;
1765
1673
 
1766
1674
  /***/ }),
1767
1675
 
1768
- /***/ 4:
1769
- /***/ (function(module, exports) {
1770
-
1771
- module.exports = require("styled-components");
1772
-
1773
- /***/ }),
1774
-
1775
- /***/ 40:
1676
+ /***/ 39:
1776
1677
  /***/ (function(module, exports, __webpack_require__) {
1777
1678
 
1778
1679
  "use strict";
@@ -1807,11 +1708,13 @@ Object.defineProperty(exports, "__esModule", {
1807
1708
  value: true
1808
1709
  });
1809
1710
 
1711
+ __exportStar(__webpack_require__(40), exports);
1712
+
1810
1713
  __exportStar(__webpack_require__(41), exports);
1811
1714
 
1812
- __exportStar(__webpack_require__(42), exports);
1715
+ __exportStar(__webpack_require__(20), exports);
1813
1716
 
1814
- __exportStar(__webpack_require__(19), exports);
1717
+ __exportStar(__webpack_require__(42), exports);
1815
1718
 
1816
1719
  __exportStar(__webpack_require__(43), exports);
1817
1720
 
@@ -1823,16 +1726,16 @@ __exportStar(__webpack_require__(46), exports);
1823
1726
 
1824
1727
  __exportStar(__webpack_require__(47), exports);
1825
1728
 
1826
- __exportStar(__webpack_require__(48), exports);
1827
-
1828
- __exportStar(__webpack_require__(49), exports);
1829
-
1830
1729
  __exportStar(__webpack_require__(21), exports);
1831
1730
 
1832
- __exportStar(__webpack_require__(6), exports);
1731
+ __exportStar(__webpack_require__(7), exports);
1833
1732
 
1834
1733
  __exportStar(__webpack_require__(22), exports);
1835
1734
 
1735
+ __exportStar(__webpack_require__(48), exports);
1736
+
1737
+ __exportStar(__webpack_require__(49), exports);
1738
+
1836
1739
  __exportStar(__webpack_require__(50), exports);
1837
1740
 
1838
1741
  __exportStar(__webpack_require__(51), exports);
@@ -1841,13 +1744,16 @@ __exportStar(__webpack_require__(52), exports);
1841
1744
 
1842
1745
  __exportStar(__webpack_require__(53), exports);
1843
1746
 
1844
- __exportStar(__webpack_require__(54), exports);
1747
+ /***/ }),
1845
1748
 
1846
- __exportStar(__webpack_require__(55), exports);
1749
+ /***/ 4:
1750
+ /***/ (function(module, exports) {
1751
+
1752
+ module.exports = require("styled-components");
1847
1753
 
1848
1754
  /***/ }),
1849
1755
 
1850
- /***/ 41:
1756
+ /***/ 40:
1851
1757
  /***/ (function(module, exports, __webpack_require__) {
1852
1758
 
1853
1759
  "use strict";
@@ -1859,7 +1765,7 @@ Object.defineProperty(exports, "__esModule", {
1859
1765
 
1860
1766
  /***/ }),
1861
1767
 
1862
- /***/ 42:
1768
+ /***/ 41:
1863
1769
  /***/ (function(module, exports, __webpack_require__) {
1864
1770
 
1865
1771
  "use strict";
@@ -1874,7 +1780,7 @@ Object.defineProperty(exports, "__esModule", {
1874
1780
 
1875
1781
  /***/ }),
1876
1782
 
1877
- /***/ 43:
1783
+ /***/ 42:
1878
1784
  /***/ (function(module, exports, __webpack_require__) {
1879
1785
 
1880
1786
  "use strict";
@@ -1886,7 +1792,7 @@ Object.defineProperty(exports, "__esModule", {
1886
1792
 
1887
1793
  /***/ }),
1888
1794
 
1889
- /***/ 44:
1795
+ /***/ 43:
1890
1796
  /***/ (function(module, exports, __webpack_require__) {
1891
1797
 
1892
1798
  "use strict";
@@ -1898,7 +1804,7 @@ Object.defineProperty(exports, "__esModule", {
1898
1804
 
1899
1805
  /***/ }),
1900
1806
 
1901
- /***/ 445:
1807
+ /***/ 433:
1902
1808
  /***/ (function(module, exports, __webpack_require__) {
1903
1809
 
1904
1810
  "use strict";
@@ -1934,9 +1840,9 @@ Object.defineProperty(exports, "__esModule", {
1934
1840
  });
1935
1841
  exports.default = void 0;
1936
1842
 
1937
- __exportStar(__webpack_require__(184), exports);
1843
+ __exportStar(__webpack_require__(179), exports);
1938
1844
 
1939
- var Markdown_1 = __webpack_require__(184);
1845
+ var Markdown_1 = __webpack_require__(179);
1940
1846
 
1941
1847
  Object.defineProperty(exports, "default", {
1942
1848
  enumerable: true,
@@ -1947,45 +1853,45 @@ Object.defineProperty(exports, "default", {
1947
1853
 
1948
1854
  /***/ }),
1949
1855
 
1950
- /***/ 446:
1856
+ /***/ 434:
1951
1857
  /***/ (function(module, exports) {
1952
1858
 
1953
1859
  module.exports = require("@splunk/react-ui/List");
1954
1860
 
1955
1861
  /***/ }),
1956
1862
 
1957
- /***/ 447:
1863
+ /***/ 435:
1958
1864
  /***/ (function(module, exports) {
1959
1865
 
1960
1866
  module.exports = require("@splunk/react-ui/Code");
1961
1867
 
1962
1868
  /***/ }),
1963
1869
 
1964
- /***/ 448:
1870
+ /***/ 436:
1965
1871
  /***/ (function(module, exports, __webpack_require__) {
1966
1872
 
1967
1873
  "use strict";
1968
1874
 
1969
1875
 
1970
- var _toConsumableArray = __webpack_require__(8);
1876
+ var _toConsumableArray = __webpack_require__(6);
1971
1877
 
1972
1878
  Object.defineProperty(exports, "__esModule", {
1973
1879
  value: true
1974
1880
  });
1975
1881
 
1976
- var themes_1 = __webpack_require__(82);
1882
+ var themes_1 = __webpack_require__(79);
1977
1883
 
1978
- var i18n_1 = __webpack_require__(2);
1884
+ var i18n_1 = __webpack_require__(3);
1979
1885
 
1980
- var schemaUtils_1 = __webpack_require__(24);
1886
+ var visualization_schemas_1 = __webpack_require__(9);
1981
1887
 
1982
- var VizBehavior_1 = __webpack_require__(6);
1888
+ var VizBehavior_1 = __webpack_require__(7);
1983
1889
 
1984
1890
  var VizCategory_1 = __webpack_require__(22);
1985
1891
 
1986
- var configUtils_1 = __webpack_require__(27);
1892
+ var configUtils_1 = __webpack_require__(26);
1987
1893
 
1988
- var BackgroundColor_1 = __webpack_require__(75);
1894
+ var BackgroundColor_1 = __webpack_require__(72);
1989
1895
 
1990
1896
  var FONT_OPTIONS = new Set(['extraSmall', 'small', 'default', 'large', 'extraLarge']);
1991
1897
  var dataContract = {
@@ -2008,46 +1914,6 @@ var size = {
2008
1914
  initialHeight: 300
2009
1915
  };
2010
1916
  var defaultContext = {};
2011
- var optionsSchema = {
2012
- backgroundColor: {
2013
- description: 'Specify the background color using a Hex code such as "#FF0000".',
2014
- type: 'string',
2015
- default: 'transparent',
2016
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2017
- },
2018
- customFontSize: {
2019
- description: 'Specify the font size (in pixels) you would like to use for unformatted text when `fontSize` is set to `custom`. Header elements are calculated with the following formula: h1 = 2 × `customFontSize`, h2 = 1.5 × `customFontSize`, h3 = 1.25 × `customFontSize`',
2020
- default: 14,
2021
- type: 'number'
2022
- },
2023
- fontColor: {
2024
- description: 'Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)".',
2025
- type: 'string',
2026
- default: '> themes.defaultFontColor',
2027
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2028
- },
2029
- fontFamily: {
2030
- default: 'Splunk Platform Sans',
2031
- pattern: (0, schemaUtils_1.getPattern)(['Splunk Platform Sans', 'Splunk Data Sans', 'Splunk Platform Mono', 'Arial', 'Helvetica', 'Times New Roman', 'Comic Sans MS']),
2032
- description: 'Specify the font family you would like to use for markdown content, such as "Comic Sans MS". Note: the font needs to be available to your end user.',
2033
- type: 'string'
2034
- },
2035
- fontSize: {
2036
- description: 'Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text.',
2037
- type: 'string',
2038
- default: 'default',
2039
- pattern: (0, schemaUtils_1.getPattern)(['extraSmall', 'small', 'default', 'large', 'extraLarge', 'custom'])
2040
- },
2041
- markdown: {
2042
- description: 'Add text using basic markdown syntax.',
2043
- type: 'string'
2044
- },
2045
- rotation: {
2046
- description: 'Specify the angle of rotation of the markdown content in degrees.',
2047
- type: 'number',
2048
- default: 0
2049
- }
2050
- };
2051
1917
  var themes = {
2052
1918
  defaultFontColor: function defaultFontColor(props) {
2053
1919
  return (0, themes_1.pick)({
@@ -2171,7 +2037,7 @@ var config = {
2171
2037
  dataContract: dataContract,
2172
2038
  size: size,
2173
2039
  defaultContext: defaultContext,
2174
- optionsSchema: optionsSchema,
2040
+ optionsSchema: visualization_schemas_1.markdownOptionsSchema,
2175
2041
  editorConfig: editorConfig,
2176
2042
  events: {
2177
2043
  'markdown.click': {
@@ -2185,7 +2051,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
2185
2051
 
2186
2052
  /***/ }),
2187
2053
 
2188
- /***/ 45:
2054
+ /***/ 44:
2189
2055
  /***/ (function(module, exports, __webpack_require__) {
2190
2056
 
2191
2057
  "use strict";
@@ -2197,7 +2063,7 @@ Object.defineProperty(exports, "__esModule", {
2197
2063
 
2198
2064
  /***/ }),
2199
2065
 
2200
- /***/ 46:
2066
+ /***/ 45:
2201
2067
  /***/ (function(module, exports, __webpack_require__) {
2202
2068
 
2203
2069
  "use strict";
@@ -2209,7 +2075,7 @@ Object.defineProperty(exports, "__esModule", {
2209
2075
 
2210
2076
  /***/ }),
2211
2077
 
2212
- /***/ 47:
2078
+ /***/ 46:
2213
2079
  /***/ (function(module, exports, __webpack_require__) {
2214
2080
 
2215
2081
  "use strict";
@@ -2221,7 +2087,7 @@ Object.defineProperty(exports, "__esModule", {
2221
2087
 
2222
2088
  /***/ }),
2223
2089
 
2224
- /***/ 48:
2090
+ /***/ 47:
2225
2091
  /***/ (function(module, exports, __webpack_require__) {
2226
2092
 
2227
2093
  "use strict";
@@ -2233,7 +2099,7 @@ Object.defineProperty(exports, "__esModule", {
2233
2099
 
2234
2100
  /***/ }),
2235
2101
 
2236
- /***/ 49:
2102
+ /***/ 48:
2237
2103
  /***/ (function(module, exports, __webpack_require__) {
2238
2104
 
2239
2105
  "use strict";
@@ -2245,7 +2111,7 @@ Object.defineProperty(exports, "__esModule", {
2245
2111
 
2246
2112
  /***/ }),
2247
2113
 
2248
- /***/ 50:
2114
+ /***/ 49:
2249
2115
  /***/ (function(module, exports, __webpack_require__) {
2250
2116
 
2251
2117
  "use strict";
@@ -2257,19 +2123,14 @@ Object.defineProperty(exports, "__esModule", {
2257
2123
 
2258
2124
  /***/ }),
2259
2125
 
2260
- /***/ 51:
2261
- /***/ (function(module, exports, __webpack_require__) {
2262
-
2263
- "use strict";
2264
-
2126
+ /***/ 5:
2127
+ /***/ (function(module, exports) {
2265
2128
 
2266
- Object.defineProperty(exports, "__esModule", {
2267
- value: true
2268
- });
2129
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
2269
2130
 
2270
2131
  /***/ }),
2271
2132
 
2272
- /***/ 52:
2133
+ /***/ 50:
2273
2134
  /***/ (function(module, exports, __webpack_require__) {
2274
2135
 
2275
2136
  "use strict";
@@ -2281,7 +2142,7 @@ Object.defineProperty(exports, "__esModule", {
2281
2142
 
2282
2143
  /***/ }),
2283
2144
 
2284
- /***/ 53:
2145
+ /***/ 51:
2285
2146
  /***/ (function(module, exports, __webpack_require__) {
2286
2147
 
2287
2148
  "use strict";
@@ -2293,7 +2154,7 @@ Object.defineProperty(exports, "__esModule", {
2293
2154
 
2294
2155
  /***/ }),
2295
2156
 
2296
- /***/ 54:
2157
+ /***/ 52:
2297
2158
  /***/ (function(module, exports, __webpack_require__) {
2298
2159
 
2299
2160
  "use strict";
@@ -2305,7 +2166,7 @@ Object.defineProperty(exports, "__esModule", {
2305
2166
 
2306
2167
  /***/ }),
2307
2168
 
2308
- /***/ 55:
2169
+ /***/ 53:
2309
2170
  /***/ (function(module, exports, __webpack_require__) {
2310
2171
 
2311
2172
  "use strict";
@@ -2317,65 +2178,65 @@ Object.defineProperty(exports, "__esModule", {
2317
2178
 
2318
2179
  /***/ }),
2319
2180
 
2320
- /***/ 56:
2181
+ /***/ 54:
2321
2182
  /***/ (function(module, exports, __webpack_require__) {
2322
2183
 
2323
2184
  "use strict";
2324
2185
 
2325
2186
 
2326
- var _slicedToArray = __webpack_require__(7);
2187
+ var _slicedToArray = __webpack_require__(5);
2327
2188
 
2328
2189
  Object.defineProperty(exports, "__esModule", {
2329
2190
  value: true
2330
2191
  });
2331
2192
 
2332
- var React = __webpack_require__(0);
2193
+ var React = __webpack_require__(1);
2333
2194
 
2334
- var lodash_1 = __webpack_require__(3);
2195
+ var lodash_1 = __webpack_require__(2);
2335
2196
 
2336
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
2197
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
2337
2198
 
2338
2199
  var Options_1 = __webpack_require__(16);
2339
2200
 
2340
- var SanitizeProps_1 = __webpack_require__(58);
2201
+ var SanitizeProps_1 = __webpack_require__(56);
2341
2202
 
2342
- var TimezoneContext_1 = __webpack_require__(32);
2203
+ var TimezoneContext_1 = __webpack_require__(31);
2343
2204
 
2344
- var moment_1 = __webpack_require__(59);
2205
+ var moment_1 = __webpack_require__(57);
2345
2206
 
2346
- var FeatureFlagContext_1 = __webpack_require__(28);
2207
+ var FeatureFlagContext_1 = __webpack_require__(27);
2347
2208
 
2348
2209
  var styled_components_1 = __webpack_require__(4);
2349
2210
 
2350
- var hocUtils_1 = __webpack_require__(34);
2211
+ var hocUtils_1 = __webpack_require__(33);
2351
2212
 
2352
- var JSONSchemaUtils_1 = __webpack_require__(35);
2213
+ var JSONSchemaUtils_1 = __webpack_require__(34);
2353
2214
 
2354
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
2215
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
2355
2216
 
2356
- var id_1 = __webpack_require__(31);
2217
+ var id_1 = __webpack_require__(30);
2357
2218
 
2358
- var SplunkVisualization_1 = __webpack_require__(61);
2219
+ var SplunkVisualization_1 = __webpack_require__(59);
2359
2220
 
2360
- var VizBehavior_1 = __webpack_require__(6);
2221
+ var VizBehavior_1 = __webpack_require__(7);
2361
2222
 
2362
- var getSorting_1 = __webpack_require__(38);
2223
+ var getSorting_1 = __webpack_require__(37);
2363
2224
 
2364
- var getPagination_1 = __webpack_require__(39);
2225
+ var getPagination_1 = __webpack_require__(38);
2365
2226
 
2366
- var useDeepMemo_1 = __webpack_require__(62);
2227
+ var useDeepMemo_1 = __webpack_require__(60);
2367
2228
 
2368
- var MissingPropsMessage_1 = __webpack_require__(63);
2229
+ var MissingPropsMessage_1 = __webpack_require__(61);
2369
2230
 
2370
- var withEditModeCover_1 = __webpack_require__(64);
2231
+ var withEditModeCover_1 = __webpack_require__(62);
2371
2232
 
2372
- var withPlaceholder_1 = __webpack_require__(65);
2233
+ var withPlaceholder_1 = __webpack_require__(63);
2373
2234
 
2374
- var useDownsampleDataSources_1 = __webpack_require__(66);
2235
+ var useDownsampleDataSources_1 = __webpack_require__(64);
2375
2236
 
2376
2237
  var dataUtils_1 = __webpack_require__(14);
2377
2238
 
2378
- var featureFlagUtils_1 = __webpack_require__(68);
2239
+ var featureFlagUtils_1 = __webpack_require__(66);
2379
2240
  /**
2380
2241
  * hoc that wraps a pure react visualization in a Dashboard visualization
2381
2242
  * @param {DashboardVizOpts} opts
@@ -2708,81 +2569,41 @@ exports.default = withDashboardViz;
2708
2569
 
2709
2570
  /***/ }),
2710
2571
 
2711
- /***/ 57:
2572
+ /***/ 55:
2712
2573
  /***/ (function(module, exports) {
2713
2574
 
2714
2575
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
2715
2576
 
2716
2577
  /***/ }),
2717
2578
 
2718
- /***/ 58:
2579
+ /***/ 56:
2719
2580
  /***/ (function(module, exports) {
2720
2581
 
2721
2582
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
2722
2583
 
2723
2584
  /***/ }),
2724
2585
 
2725
- /***/ 59:
2586
+ /***/ 57:
2726
2587
  /***/ (function(module, exports) {
2727
2588
 
2728
2589
  module.exports = require("@splunk/moment");
2729
2590
 
2730
2591
  /***/ }),
2731
2592
 
2732
- /***/ 6:
2733
- /***/ (function(module, exports, __webpack_require__) {
2734
-
2735
- "use strict";
2736
-
2737
-
2738
- Object.defineProperty(exports, "__esModule", {
2739
- value: true
2740
- });
2741
- exports.VizBehavior = void 0;
2742
- var VizBehavior;
2743
-
2744
- (function (VizBehavior) {
2745
- /**
2746
- * Dynamic Options Behavior.
2747
- * This allows visualization options to be powered by data
2748
- *
2749
- * **Example**
2750
- *
2751
- * sparklineValues: ">primary|seriesByIndex(0)"
2752
- * would configure sparklineValues with an array of data points
2753
- * coming from the first series in the primary datasource
2754
- *
2755
- */
2756
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
2757
- VizBehavior["EVENTS"] = "events";
2758
- VizBehavior["DOWNSAMPLING"] = "downsampling";
2759
- /**
2760
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
2761
- * missing.
2762
- * @type {string}
2763
- */
2764
-
2765
- VizBehavior["PLACEHOLDER"] = "placeholder";
2766
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
2767
- VizBehavior["TRELLIS"] = "trellis";
2768
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
2769
-
2770
- /***/ }),
2771
-
2772
- /***/ 60:
2593
+ /***/ 58:
2773
2594
  /***/ (function(module, exports) {
2774
2595
 
2775
2596
  module.exports = require("@splunk/async-dynamic-options-evaluator");
2776
2597
 
2777
2598
  /***/ }),
2778
2599
 
2779
- /***/ 61:
2600
+ /***/ 59:
2780
2601
  /***/ (function(module, exports, __webpack_require__) {
2781
2602
 
2782
2603
  "use strict";
2783
2604
 
2784
2605
 
2785
- var _classCallCheck = __webpack_require__(10);
2606
+ var _classCallCheck = __webpack_require__(8);
2786
2607
 
2787
2608
  Object.defineProperty(exports, "__esModule", {
2788
2609
  value: true
@@ -2790,9 +2611,9 @@ Object.defineProperty(exports, "__esModule", {
2790
2611
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
2791
2612
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
2792
2613
 
2793
- var T = __webpack_require__(1);
2614
+ var T = __webpack_require__(0);
2794
2615
 
2795
- var lodash_1 = __webpack_require__(3);
2616
+ var lodash_1 = __webpack_require__(2);
2796
2617
 
2797
2618
  var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2798
2619
 
@@ -2928,7 +2749,14 @@ exports.default = SplunkVisualization;
2928
2749
 
2929
2750
  /***/ }),
2930
2751
 
2931
- /***/ 62:
2752
+ /***/ 6:
2753
+ /***/ (function(module, exports) {
2754
+
2755
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
2756
+
2757
+ /***/ }),
2758
+
2759
+ /***/ 60:
2932
2760
  /***/ (function(module, exports, __webpack_require__) {
2933
2761
 
2934
2762
  "use strict";
@@ -2939,9 +2767,9 @@ Object.defineProperty(exports, "__esModule", {
2939
2767
  });
2940
2768
  exports.useDeepMemo = void 0;
2941
2769
 
2942
- var react_1 = __webpack_require__(0);
2770
+ var react_1 = __webpack_require__(1);
2943
2771
 
2944
- var lodash_1 = __webpack_require__(3);
2772
+ var lodash_1 = __webpack_require__(2);
2945
2773
  /**
2946
2774
  * This hook evaluates and stores the result of a passed function and only
2947
2775
  * re-evaluates the function when passed dependencies change.
@@ -2974,7 +2802,7 @@ exports.useDeepMemo = useDeepMemo;
2974
2802
 
2975
2803
  /***/ }),
2976
2804
 
2977
- /***/ 63:
2805
+ /***/ 61:
2978
2806
  /***/ (function(module, exports, __webpack_require__) {
2979
2807
 
2980
2808
  "use strict";
@@ -2985,13 +2813,13 @@ Object.defineProperty(exports, "__esModule", {
2985
2813
  });
2986
2814
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
2987
2815
 
2988
- var React = __webpack_require__(0);
2816
+ var React = __webpack_require__(1);
2989
2817
 
2990
- var T = __webpack_require__(1);
2818
+ var T = __webpack_require__(0);
2991
2819
 
2992
- var i18n_1 = __webpack_require__(2);
2820
+ var i18n_1 = __webpack_require__(3);
2993
2821
 
2994
- var Message_1 = __webpack_require__(12);
2822
+ var Message_1 = __webpack_require__(11);
2995
2823
 
2996
2824
  var FixedSizeContainer_1 = __webpack_require__(17);
2997
2825
  /**
@@ -3055,7 +2883,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
3055
2883
 
3056
2884
  /***/ }),
3057
2885
 
3058
- /***/ 64:
2886
+ /***/ 62:
3059
2887
  /***/ (function(module, exports, __webpack_require__) {
3060
2888
 
3061
2889
  "use strict";
@@ -3065,7 +2893,7 @@ Object.defineProperty(exports, "__esModule", {
3065
2893
  value: true
3066
2894
  });
3067
2895
 
3068
- var React = __webpack_require__(0);
2896
+ var React = __webpack_require__(1);
3069
2897
 
3070
2898
  var styled_components_1 = __webpack_require__(4);
3071
2899
 
@@ -3076,7 +2904,7 @@ var Cover = styled_components_1.default.div.withConfig({
3076
2904
  componentId: "sc-1gsbnxb-0"
3077
2905
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
3078
2906
  var Blocker = styled_components_1.default.div.attrs({
3079
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
2907
+ 'data-splunk-visualization-version': "26.4.0 - 04078274d"
3080
2908
  }).withConfig({
3081
2909
  displayName: "withEditModeCover__Blocker",
3082
2910
  componentId: "sc-1gsbnxb-1"
@@ -3108,7 +2936,7 @@ exports.default = withEditModeCover;
3108
2936
 
3109
2937
  /***/ }),
3110
2938
 
3111
- /***/ 65:
2939
+ /***/ 63:
3112
2940
  /***/ (function(module, exports, __webpack_require__) {
3113
2941
 
3114
2942
  "use strict";
@@ -3118,15 +2946,15 @@ Object.defineProperty(exports, "__esModule", {
3118
2946
  value: true
3119
2947
  });
3120
2948
 
3121
- var React = __webpack_require__(0);
2949
+ var React = __webpack_require__(1);
3122
2950
 
3123
2951
  var colorUtils_1 = __webpack_require__(15);
3124
2952
 
3125
2953
  var variables_1 = __webpack_require__(13);
3126
2954
 
3127
- var IconPlaceholder_1 = __webpack_require__(37);
2955
+ var IconPlaceholder_1 = __webpack_require__(36);
3128
2956
 
3129
- var VizBehavior_1 = __webpack_require__(6);
2957
+ var VizBehavior_1 = __webpack_require__(7);
3130
2958
 
3131
2959
  var hocUtils_1 = __webpack_require__(23);
3132
2960
 
@@ -3173,27 +3001,30 @@ exports.default = withPlaceholder;
3173
3001
 
3174
3002
  /***/ }),
3175
3003
 
3176
- /***/ 66:
3004
+ /***/ 64:
3177
3005
  /***/ (function(module, exports, __webpack_require__) {
3178
3006
 
3179
3007
  "use strict";
3180
3008
 
3181
3009
 
3182
- var _slicedToArray = __webpack_require__(7);
3010
+ var _slicedToArray = __webpack_require__(5);
3183
3011
 
3184
3012
  Object.defineProperty(exports, "__esModule", {
3185
3013
  value: true
3186
3014
  });
3187
3015
 
3188
- var react_1 = __webpack_require__(0);
3016
+ var react_1 = __webpack_require__(1);
3189
3017
 
3190
- var lodash_1 = __webpack_require__(3);
3018
+ var lodash_1 = __webpack_require__(2);
3191
3019
 
3192
3020
  var dataUtils_1 = __webpack_require__(14);
3193
3021
 
3194
- var usePrevious_1 = __webpack_require__(33);
3022
+ var usePrevious_1 = __webpack_require__(32);
3023
+
3024
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
3025
+
3195
3026
 
3196
- var useGetXAndYFields_1 = __webpack_require__(67);
3027
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
3197
3028
 
3198
3029
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
3199
3030
  var dataSources = _ref.dataSources,
@@ -3207,8 +3038,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
3207
3038
  options: options,
3208
3039
  context: context,
3209
3040
  dataSources: dataSources
3210
- });
3211
- var previousXAndYFieldsWithTypes = (0, usePrevious_1.default)(xAndYFieldsWithTypes);
3041
+ }); // Extract viz options that impact downsampling.
3042
+
3043
+ var downsampleVizOptions = (0, react_1.useMemo)(function () {
3044
+ return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
3045
+ }, [options]);
3046
+ var downsampleDSOptions = (0, react_1.useMemo)(function () {
3047
+ return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
3048
+ }, [xAndYFieldsWithTypes, downsampleVizOptions]);
3049
+ var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
3212
3050
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
3213
3051
  var previousThreshold = (0, usePrevious_1.default)(threshold);
3214
3052
 
@@ -3216,7 +3054,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
3216
3054
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
3217
3055
  dataSources: dataSources,
3218
3056
  threshold: threshold,
3219
- options: xAndYFieldsWithTypes
3057
+ options: downsampleDSOptions
3220
3058
  }) : dataSources;
3221
3059
  }),
3222
3060
  _ref3 = _slicedToArray(_ref2, 2),
@@ -3244,7 +3082,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
3244
3082
  return;
3245
3083
  }
3246
3084
 
3247
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
3085
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
3248
3086
  return;
3249
3087
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
3250
3088
  // while the viz is being resized
@@ -3252,10 +3090,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
3252
3090
 
3253
3091
  debouncedDownsampleDataSources({
3254
3092
  dataSources: dataSources,
3255
- options: xAndYFieldsWithTypes,
3093
+ options: downsampleDSOptions,
3256
3094
  threshold: threshold
3257
3095
  }); // need to detect if this runs as part of the initial render
3258
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
3096
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
3259
3097
  return downsampledDataSources;
3260
3098
  };
3261
3099
 
@@ -3263,19 +3101,19 @@ exports.default = useDownsampleDataSources;
3263
3101
 
3264
3102
  /***/ }),
3265
3103
 
3266
- /***/ 67:
3104
+ /***/ 65:
3267
3105
  /***/ (function(module, exports, __webpack_require__) {
3268
3106
 
3269
3107
  "use strict";
3270
3108
 
3271
3109
 
3272
- var _toConsumableArray = __webpack_require__(8);
3110
+ var _toConsumableArray = __webpack_require__(6);
3273
3111
 
3274
3112
  Object.defineProperty(exports, "__esModule", {
3275
3113
  value: true
3276
3114
  });
3277
3115
 
3278
- var react_1 = __webpack_require__(0);
3116
+ var react_1 = __webpack_require__(1);
3279
3117
 
3280
3118
  var Options_1 = __webpack_require__(16);
3281
3119
  /**
@@ -3378,7 +3216,7 @@ exports.default = useGetXAndYFields;
3378
3216
 
3379
3217
  /***/ }),
3380
3218
 
3381
- /***/ 68:
3219
+ /***/ 66:
3382
3220
  /***/ (function(module, exports, __webpack_require__) {
3383
3221
 
3384
3222
  "use strict";
@@ -3389,7 +3227,7 @@ Object.defineProperty(exports, "__esModule", {
3389
3227
  });
3390
3228
  exports.getFeatureFlag = void 0;
3391
3229
 
3392
- var FeatureFlags_1 = __webpack_require__(69);
3230
+ var FeatureFlags_1 = __webpack_require__(67);
3393
3231
 
3394
3232
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
3395
3233
  // look for feature flag in context first
@@ -3414,7 +3252,7 @@ exports.getFeatureFlag = getFeatureFlag;
3414
3252
 
3415
3253
  /***/ }),
3416
3254
 
3417
- /***/ 69:
3255
+ /***/ 67:
3418
3256
  /***/ (function(module, exports) {
3419
3257
 
3420
3258
  module.exports = require("@splunk/visualization-context/FeatureFlags");
@@ -3422,13 +3260,46 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
3422
3260
  /***/ }),
3423
3261
 
3424
3262
  /***/ 7:
3425
- /***/ (function(module, exports) {
3263
+ /***/ (function(module, exports, __webpack_require__) {
3426
3264
 
3427
- module.exports = require("@babel/runtime/helpers/slicedToArray");
3265
+ "use strict";
3266
+
3267
+
3268
+ Object.defineProperty(exports, "__esModule", {
3269
+ value: true
3270
+ });
3271
+ exports.VizBehavior = void 0;
3272
+ var VizBehavior;
3273
+
3274
+ (function (VizBehavior) {
3275
+ /**
3276
+ * Dynamic Options Behavior.
3277
+ * This allows visualization options to be powered by data
3278
+ *
3279
+ * **Example**
3280
+ *
3281
+ * sparklineValues: ">primary|seriesByIndex(0)"
3282
+ * would configure sparklineValues with an array of data points
3283
+ * coming from the first series in the primary datasource
3284
+ *
3285
+ */
3286
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
3287
+ VizBehavior["EVENTS"] = "events";
3288
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
3289
+ /**
3290
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
3291
+ * missing.
3292
+ * @type {string}
3293
+ */
3294
+
3295
+ VizBehavior["PLACEHOLDER"] = "placeholder";
3296
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
3297
+ VizBehavior["TRELLIS"] = "trellis";
3298
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
3428
3299
 
3429
3300
  /***/ }),
3430
3301
 
3431
- /***/ 75:
3302
+ /***/ 72:
3432
3303
  /***/ (function(module, exports, __webpack_require__) {
3433
3304
 
3434
3305
  "use strict";
@@ -3438,14 +3309,14 @@ Object.defineProperty(exports, "__esModule", {
3438
3309
  value: true
3439
3310
  });
3440
3311
 
3441
- var i18n_1 = __webpack_require__(2);
3312
+ var i18n_1 = __webpack_require__(3);
3442
3313
 
3443
3314
  var background = function background(_ref) {
3444
3315
  var label = _ref.label,
3445
3316
  themes = _ref.themes,
3446
3317
  labelPosition = _ref.labelPosition;
3447
3318
  return [{
3448
- label: (0, i18n_1._)(label || 'Background'),
3319
+ label: (0, i18n_1._)(label || 'Background color'),
3449
3320
  option: 'backgroundColor',
3450
3321
  editor: 'editor.color',
3451
3322
  editorProps: {
@@ -3459,31 +3330,31 @@ exports.default = background;
3459
3330
 
3460
3331
  /***/ }),
3461
3332
 
3462
- /***/ 8:
3333
+ /***/ 78:
3463
3334
  /***/ (function(module, exports) {
3464
3335
 
3465
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
3336
+ module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
3466
3337
 
3467
3338
  /***/ }),
3468
3339
 
3469
- /***/ 81:
3340
+ /***/ 79:
3470
3341
  /***/ (function(module, exports) {
3471
3342
 
3472
- module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
3343
+ module.exports = require("@splunk/themes");
3473
3344
 
3474
3345
  /***/ }),
3475
3346
 
3476
- /***/ 82:
3347
+ /***/ 8:
3477
3348
  /***/ (function(module, exports) {
3478
3349
 
3479
- module.exports = require("@splunk/themes");
3350
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
3480
3351
 
3481
3352
  /***/ }),
3482
3353
 
3483
3354
  /***/ 9:
3484
3355
  /***/ (function(module, exports) {
3485
3356
 
3486
- module.exports = require("@babel/runtime/helpers/defineProperty");
3357
+ module.exports = require("@splunk/visualization-schemas");
3487
3358
 
3488
3359
  /***/ })
3489
3360