@splunk/visualizations 26.2.0 → 26.3.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 (149) hide show
  1. package/Area.config.js +91 -594
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +184 -689
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +92 -561
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +184 -655
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +83 -482
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +177 -578
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +76 -201
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +173 -301
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +92 -599
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +184 -693
  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 +137 -262
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +61 -282
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +222 -428
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +90 -219
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +163 -299
  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 +130 -242
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +91 -606
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +184 -701
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +74 -256
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +17198 -24224
  44. package/LinkGraph.js.map +1 -1
  45. package/Map.config.js +128 -1123
  46. package/Map.config.js.map +1 -1
  47. package/Map.js +309 -680
  48. package/Map.js.map +1 -1
  49. package/Markdown.config.js +61 -188
  50. package/Markdown.config.js.map +1 -1
  51. package/Markdown.js +190 -323
  52. package/Markdown.js.map +1 -1
  53. package/MarkerGauge.config.js +137 -297
  54. package/MarkerGauge.config.js.map +1 -1
  55. package/MarkerGauge.js +1038 -1203
  56. package/MarkerGauge.js.map +1 -1
  57. package/ParallelCoordinates.config.js +71 -191
  58. package/ParallelCoordinates.config.js.map +1 -1
  59. package/ParallelCoordinates.js +218 -343
  60. package/ParallelCoordinates.js.map +1 -1
  61. package/Pie.config.js +72 -240
  62. package/Pie.config.js.map +1 -1
  63. package/Pie.js +214 -381
  64. package/Pie.js.map +1 -1
  65. package/Punchcard.config.js +71 -305
  66. package/Punchcard.config.js.map +1 -1
  67. package/Punchcard.js +246 -477
  68. package/Punchcard.js.map +1 -1
  69. package/Rectangle.config.js +211 -347
  70. package/Rectangle.config.js.map +1 -1
  71. package/Rectangle.js +274 -416
  72. package/Rectangle.js.map +1 -1
  73. package/Sankey.config.js +71 -213
  74. package/Sankey.config.js.map +1 -1
  75. package/Sankey.js +246 -382
  76. package/Sankey.js.map +1 -1
  77. package/Scatter.config.js +85 -463
  78. package/Scatter.config.js.map +1 -1
  79. package/Scatter.js +825 -1202
  80. package/Scatter.js.map +1 -1
  81. package/SingleValue.config.js +114 -409
  82. package/SingleValue.config.js.map +1 -1
  83. package/SingleValue.js +287 -582
  84. package/SingleValue.js.map +1 -1
  85. package/SingleValueBasic.js +30 -30
  86. package/SingleValueBasic.js.map +1 -1
  87. package/SingleValueIcon.config.js +113 -378
  88. package/SingleValueIcon.config.js.map +1 -1
  89. package/SingleValueIcon.js +268 -533
  90. package/SingleValueIcon.js.map +1 -1
  91. package/SingleValueRadial.config.js +110 -382
  92. package/SingleValueRadial.config.js.map +1 -1
  93. package/SingleValueRadial.js +272 -543
  94. package/SingleValueRadial.js.map +1 -1
  95. package/SparkLine.js +24 -24
  96. package/SparkLine.js.map +1 -1
  97. package/Table.config.js +74 -496
  98. package/Table.config.js.map +1 -1
  99. package/Table.js +302 -720
  100. package/Table.js.map +1 -1
  101. package/common/Charting.js +22 -34
  102. package/common/Charting.js.map +1 -1
  103. package/common/DocExampleWithVizSandbox.js +21 -21
  104. package/common/DocExampleWithVizSandbox.js.map +1 -1
  105. package/common/EventsDoc.js +18 -18
  106. package/common/EventsDoc.js.map +1 -1
  107. package/common/GaugeMajorTicks.js +4 -4
  108. package/common/GaugeMajorTicks.js.map +1 -1
  109. package/common/GaugeValueMarker.js +2 -2
  110. package/common/GaugeValueMarker.js.map +1 -1
  111. package/common/OptionsDoc.js +4 -4
  112. package/common/OptionsDoc.js.map +1 -1
  113. package/common/OverviewDoc.js +39 -40
  114. package/common/OverviewDoc.js.map +1 -1
  115. package/common/SplunkVisualization.js +2 -2
  116. package/common/SplunkVisualization.js.map +1 -1
  117. package/common/SplunkVisualizationApi.js +2 -2
  118. package/common/SplunkVisualizationApi.js.map +1 -1
  119. package/common/ThemesDoc.js +19 -19
  120. package/common/ThemesDoc.js.map +1 -1
  121. package/common/chartingUtils.js +2 -2
  122. package/common/chartingUtils.js.map +1 -1
  123. package/common/gaugeUtils.js +10 -10
  124. package/common/gaugeUtils.js.map +1 -1
  125. package/common/shapeUtils.js +10 -10
  126. package/common/shapeUtils.js.map +1 -1
  127. package/common/utils/configUtils.js +25 -155
  128. package/common/utils/configUtils.js.map +1 -1
  129. package/common/utils/dataUtils.js +75 -87
  130. package/common/utils/dataUtils.js.map +1 -1
  131. package/common/utils/featureFlagUtils.js +4 -4
  132. package/common/utils/featureFlagUtils.js.map +1 -1
  133. package/common/utils/hocUtils.js +2 -2
  134. package/common/utils/hocUtils.js.map +1 -1
  135. package/common/utils/mapUtils.js +51 -54
  136. package/common/utils/mapUtils.js.map +1 -1
  137. package/common/utils/singleValueUtils.js +7 -7
  138. package/common/utils/singleValueUtils.js.map +1 -1
  139. package/common/utils/testHelper.js +7 -36
  140. package/common/utils/testHelper.js.map +1 -1
  141. package/common/utils/trellisUtils.js +7 -6
  142. package/common/utils/trellisUtils.js.map +1 -1
  143. package/common/utils/urlUtils.js +2 -2
  144. package/common/utils/urlUtils.js.map +1 -1
  145. package/common/withDashboardViz.js +65 -77
  146. package/common/withDashboardViz.js.map +1 -1
  147. package/package.json +46 -49
  148. package/common/utils/layoutUtils.js +0 -115
  149. package/common/utils/layoutUtils.js.map +0 -1
@@ -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 = 453);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 449);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -109,7 +109,7 @@ module.exports = require("prop-types");
109
109
  /***/ 10:
110
110
  /***/ (function(module, exports) {
111
111
 
112
- module.exports = require("@babel/runtime/helpers/classCallCheck");
112
+ module.exports = require("@splunk/visualization-schemas");
113
113
 
114
114
  /***/ }),
115
115
 
@@ -120,7 +120,7 @@ module.exports = require("@splunk/visualizations-shared/numberUtils");
120
120
 
121
121
  /***/ }),
122
122
 
123
- /***/ 116:
123
+ /***/ 113:
124
124
  /***/ (function(module, exports) {
125
125
 
126
126
  module.exports = require("d3-scale");
@@ -137,11 +137,18 @@ module.exports = require("@splunk/visualizations-shared/Message");
137
137
  /***/ 13:
138
138
  /***/ (function(module, exports) {
139
139
 
140
- module.exports = require("@splunk/themes/variables");
140
+ module.exports = require("@babel/runtime/helpers/defineProperty");
141
141
 
142
142
  /***/ }),
143
143
 
144
144
  /***/ 14:
145
+ /***/ (function(module, exports) {
146
+
147
+ module.exports = require("@splunk/themes/variables");
148
+
149
+ /***/ }),
150
+
151
+ /***/ 15:
145
152
  /***/ (function(module, exports, __webpack_require__) {
146
153
 
147
154
  "use strict";
@@ -438,6 +445,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
438
445
  });
439
446
  }
440
447
  } catch (e) {
448
+ // eslint-disable-next-line no-console
441
449
  console.error('Error occurred while setting downsample threshold on range select event', e);
442
450
  }
443
451
 
@@ -604,6 +612,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
604
612
  return downsampledIndices.add(downsampleIndex);
605
613
  });
606
614
  } catch (e) {
615
+ // eslint-disable-next-line no-console
607
616
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
608
617
  }
609
618
  }); // update data columns with downsampled columns
@@ -616,27 +625,27 @@ exports.downsampleDataSources = downsampleDataSources;
616
625
 
617
626
  /***/ }),
618
627
 
619
- /***/ 15:
628
+ /***/ 16:
620
629
  /***/ (function(module, exports) {
621
630
 
622
631
  module.exports = require("@splunk/visualizations-shared/colorUtils");
623
632
 
624
633
  /***/ }),
625
634
 
626
- /***/ 16:
635
+ /***/ 17:
627
636
  /***/ (function(module, exports) {
628
637
 
629
638
  module.exports = require("@splunk/visualization-encoding/Options");
630
639
 
631
640
  /***/ }),
632
641
 
633
- /***/ 17:
642
+ /***/ 18:
634
643
  /***/ (function(module, exports, __webpack_require__) {
635
644
 
636
645
  "use strict";
637
646
 
638
647
 
639
- var _slicedToArray = __webpack_require__(7);
648
+ var _slicedToArray = __webpack_require__(6);
640
649
 
641
650
  Object.defineProperty(exports, "__esModule", {
642
651
  value: true
@@ -646,9 +655,9 @@ var React = __webpack_require__(0);
646
655
 
647
656
  var styled_components_1 = __webpack_require__(4);
648
657
 
649
- var style_1 = __webpack_require__(18);
658
+ var style_1 = __webpack_require__(19);
650
659
 
651
- var colorUtils_1 = __webpack_require__(15);
660
+ var colorUtils_1 = __webpack_require__(16);
652
661
 
653
662
  var SizeAwareWrapper_1 = __webpack_require__(26);
654
663
 
@@ -721,7 +730,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
721
730
 
722
731
  return React.createElement(FixSizeItem, {
723
732
  "data-test": "fix-size-item",
724
- "data-splunk-visualization-version": "26.2.0 - 49b909915",
733
+ "data-splunk-visualization-version": "26.3.0 - a1ef240a6",
725
734
  width: width,
726
735
  height: height,
727
736
  backgroundColor: backgroundColor
@@ -743,14 +752,7 @@ exports.default = withFixedSizeContainer;
743
752
 
744
753
  /***/ }),
745
754
 
746
- /***/ 18:
747
- /***/ (function(module, exports) {
748
-
749
- module.exports = require("@splunk/visualizations-shared/style");
750
-
751
- /***/ }),
752
-
753
- /***/ 186:
755
+ /***/ 183:
754
756
  /***/ (function(module, exports) {
755
757
 
756
758
  module.exports = require("@mdhnpm/rgb-hex-converter");
@@ -758,18 +760,9 @@ module.exports = require("@mdhnpm/rgb-hex-converter");
758
760
  /***/ }),
759
761
 
760
762
  /***/ 19:
761
- /***/ (function(module, exports, __webpack_require__) {
762
-
763
- "use strict";
764
-
763
+ /***/ (function(module, exports) {
765
764
 
766
- Object.defineProperty(exports, "__esModule", {
767
- value: true
768
- });
769
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
770
- exports.validSortDirs = ['asc', 'desc', 'none'];
771
- exports.validSegmentationModes = ['none', 'inner'];
772
- exports.validOutputModes = ['json_cols', 'json'];
765
+ module.exports = require("@splunk/visualizations-shared/style");
773
766
 
774
767
  /***/ }),
775
768
 
@@ -816,17 +809,17 @@ __webpack_require__.r(__webpack_exports__);
816
809
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
817
810
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
818
811
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
819
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
812
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
820
813
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
821
814
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
822
815
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
823
816
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
824
817
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
825
- /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76);
818
+ /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74);
826
819
  /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
827
820
  /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
828
821
  /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
829
- /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71);
822
+ /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70);
830
823
  /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
831
824
 
832
825
 
@@ -1815,7 +1808,22 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
1815
1808
  "use strict";
1816
1809
 
1817
1810
 
1818
- var _classCallCheck = __webpack_require__(10);
1811
+ Object.defineProperty(exports, "__esModule", {
1812
+ value: true
1813
+ });
1814
+ exports.validOutputModes = exports.validSortDirs = void 0;
1815
+ exports.validSortDirs = ['asc', 'desc', 'none'];
1816
+ exports.validOutputModes = ['json_cols', 'json'];
1817
+
1818
+ /***/ }),
1819
+
1820
+ /***/ 22:
1821
+ /***/ (function(module, exports, __webpack_require__) {
1822
+
1823
+ "use strict";
1824
+
1825
+
1826
+ var _classCallCheck = __webpack_require__(9);
1819
1827
 
1820
1828
  var _createClass = __webpack_require__(25);
1821
1829
 
@@ -1847,7 +1855,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
1847
1855
 
1848
1856
  /***/ }),
1849
1857
 
1850
- /***/ 22:
1858
+ /***/ 23:
1851
1859
  /***/ (function(module, exports, __webpack_require__) {
1852
1860
 
1853
1861
  "use strict";
@@ -1876,7 +1884,7 @@ var VizCategory;
1876
1884
 
1877
1885
  /***/ }),
1878
1886
 
1879
- /***/ 23:
1887
+ /***/ 24:
1880
1888
  /***/ (function(module, exports, __webpack_require__) {
1881
1889
 
1882
1890
  "use strict";
@@ -1909,13 +1917,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
1909
1917
 
1910
1918
  /***/ }),
1911
1919
 
1912
- /***/ 24:
1913
- /***/ (function(module, exports) {
1914
-
1915
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
1916
-
1917
- /***/ }),
1918
-
1919
1920
  /***/ 25:
1920
1921
  /***/ (function(module, exports) {
1921
1922
 
@@ -1936,99 +1937,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
1936
1937
  "use strict";
1937
1938
 
1938
1939
 
1939
- var _toConsumableArray = __webpack_require__(8);
1940
-
1941
- var _defineProperty = __webpack_require__(9);
1942
-
1943
- var __rest = this && this.__rest || function (s, e) {
1944
- var t = {};
1945
-
1946
- for (var p in s) {
1947
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
1948
- }
1949
-
1950
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1951
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
1952
- }
1953
- return t;
1954
- };
1940
+ var _toConsumableArray = __webpack_require__(7);
1955
1941
 
1956
1942
  Object.defineProperty(exports, "__esModule", {
1957
1943
  value: true
1958
1944
  });
1959
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
1960
-
1961
- var lodash_1 = __webpack_require__(3);
1945
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
1962
1946
 
1963
- var schemaUtils_1 = __webpack_require__(24);
1947
+ var lodash_1 = __webpack_require__(3); // included for backwards compatibility
1964
1948
 
1965
- var VizBehavior_1 = __webpack_require__(6);
1966
1949
 
1967
- var dynamicOptionsDSLType = {
1968
- type: 'string',
1969
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
1970
- };
1971
- /**
1972
- * Helper function to extend an options schema with dynamic options DSL
1973
- * @param optionsSchema a visualization's options schema
1974
- * @returns an updated options schema that additionally allows strings starting with > for each option
1975
- */
1976
-
1977
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
1978
- var enhancedOptionsSchema = {};
1979
- Object.keys(optionsSchema).forEach(function (key) {
1980
- var _a = optionsSchema[key],
1981
- title = _a.title,
1982
- description = _a.description,
1983
- readOnly = _a.readOnly,
1984
- writeOnly = _a.writeOnly,
1985
- examples = _a.examples,
1986
- defaultValue = _a.default,
1987
- type = _a.type,
1988
- properties = _a.properties,
1989
- patternProperties = _a.patternProperties,
1990
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
1991
-
1992
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1993
- title: title
1994
- }), description !== undefined && {
1995
- description: description
1996
- }), readOnly !== undefined && {
1997
- readOnly: readOnly
1998
- }), writeOnly !== undefined && {
1999
- writeOnly: writeOnly
2000
- }), examples !== undefined && {
2001
- examples: examples
2002
- }), defaultValue !== undefined && {
2003
- default: defaultValue
2004
- });
1950
+ var visualization_schemas_1 = __webpack_require__(10);
2005
1951
 
2006
- if (type === 'object') {
2007
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
2008
- type: type
2009
- }), properties && {
2010
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
2011
- });
2012
-
2013
- if (patternProperties) {
2014
- var enhancedPatternProperties = {};
2015
- Object.keys(patternProperties).forEach(function (opt) {
2016
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
2017
- });
2018
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
2019
- }
2020
- } else {
2021
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
2022
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
2023
- type: type
2024
- }), remainingSchemaEntry), dynamicOptionsDSLType]
2025
- });
2026
- }
2027
- });
2028
- return enhancedOptionsSchema;
2029
- }
2030
-
2031
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
1952
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
1953
+ enumerable: true,
1954
+ get: function get() {
1955
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
1956
+ }
1957
+ });
2032
1958
  /**
2033
1959
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
2034
1960
  * this function also collapse all editor panels
@@ -2039,11 +1965,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
2039
1965
 
2040
1966
  function enhanceConfig(vizConfig) {
2041
1967
  var enhancedConfig = Object.assign({}, vizConfig);
2042
-
2043
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
2044
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
2045
- }
2046
-
2047
1968
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
2048
1969
  return Object.assign(Object.assign({}, config), {
2049
1970
  open: config.open || false
@@ -2268,7 +2189,7 @@ var i18n_1 = __webpack_require__(2);
2268
2189
 
2269
2190
  var Message_1 = __webpack_require__(12);
2270
2191
 
2271
- var FixedSizeContainer_1 = __webpack_require__(17);
2192
+ var FixedSizeContainer_1 = __webpack_require__(18);
2272
2193
  /**
2273
2194
  * @method shouldShowIconPlaceholder
2274
2195
  * @param {object} dataSources
@@ -2346,7 +2267,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
2346
2267
  "use strict";
2347
2268
 
2348
2269
 
2349
- var _defineProperty = __webpack_require__(9);
2270
+ var _defineProperty = __webpack_require__(13);
2350
2271
 
2351
2272
  Object.defineProperty(exports, "__esModule", {
2352
2273
  value: true
@@ -2357,7 +2278,7 @@ var T = __webpack_require__(1);
2357
2278
 
2358
2279
  var lodash_1 = __webpack_require__(3);
2359
2280
 
2360
- var DataSource_1 = __webpack_require__(19);
2281
+ var DataSource_1 = __webpack_require__(21);
2361
2282
 
2362
2283
  exports.SortParamsPropTypes = T.shape({
2363
2284
  currentSortKey: T.string,
@@ -2522,7 +2443,7 @@ __exportStar(__webpack_require__(41), exports);
2522
2443
 
2523
2444
  __exportStar(__webpack_require__(42), exports);
2524
2445
 
2525
- __exportStar(__webpack_require__(19), exports);
2446
+ __exportStar(__webpack_require__(21), exports);
2526
2447
 
2527
2448
  __exportStar(__webpack_require__(43), exports);
2528
2449
 
@@ -2536,13 +2457,13 @@ __exportStar(__webpack_require__(47), exports);
2536
2457
 
2537
2458
  __exportStar(__webpack_require__(48), exports);
2538
2459
 
2539
- __exportStar(__webpack_require__(49), exports);
2460
+ __exportStar(__webpack_require__(22), exports);
2540
2461
 
2541
- __exportStar(__webpack_require__(21), exports);
2462
+ __exportStar(__webpack_require__(8), exports);
2542
2463
 
2543
- __exportStar(__webpack_require__(6), exports);
2464
+ __exportStar(__webpack_require__(23), exports);
2544
2465
 
2545
- __exportStar(__webpack_require__(22), exports);
2466
+ __exportStar(__webpack_require__(49), exports);
2546
2467
 
2547
2468
  __exportStar(__webpack_require__(50), exports);
2548
2469
 
@@ -2554,8 +2475,6 @@ __exportStar(__webpack_require__(53), exports);
2554
2475
 
2555
2476
  __exportStar(__webpack_require__(54), exports);
2556
2477
 
2557
- __exportStar(__webpack_require__(55), exports);
2558
-
2559
2478
  /***/ }),
2560
2479
 
2561
2480
  /***/ 41:
@@ -2609,19 +2528,7 @@ Object.defineProperty(exports, "__esModule", {
2609
2528
 
2610
2529
  /***/ }),
2611
2530
 
2612
- /***/ 45:
2613
- /***/ (function(module, exports, __webpack_require__) {
2614
-
2615
- "use strict";
2616
-
2617
-
2618
- Object.defineProperty(exports, "__esModule", {
2619
- value: true
2620
- });
2621
-
2622
- /***/ }),
2623
-
2624
- /***/ 453:
2531
+ /***/ 449:
2625
2532
  /***/ (function(module, exports, __webpack_require__) {
2626
2533
 
2627
2534
  "use strict";
@@ -2645,11 +2552,11 @@ Object.defineProperty(exports, "__esModule", {
2645
2552
  });
2646
2553
  exports.themes = exports.computeVizProps = exports.PureParallelCoordinates = exports.config = void 0;
2647
2554
 
2648
- var PureParallelCoordinates_1 = __webpack_require__(454);
2555
+ var PureParallelCoordinates_1 = __webpack_require__(450);
2649
2556
 
2650
- var withDashboardViz_1 = __webpack_require__(56);
2557
+ var withDashboardViz_1 = __webpack_require__(55);
2651
2558
 
2652
- var config_1 = __webpack_require__(461);
2559
+ var config_1 = __webpack_require__(457);
2653
2560
 
2654
2561
  var singleValueUtils_1 = __webpack_require__(20);
2655
2562
 
@@ -2695,13 +2602,25 @@ exports.default = viz;
2695
2602
 
2696
2603
  /***/ }),
2697
2604
 
2698
- /***/ 454:
2605
+ /***/ 45:
2699
2606
  /***/ (function(module, exports, __webpack_require__) {
2700
2607
 
2701
2608
  "use strict";
2702
2609
 
2703
2610
 
2704
- var _toConsumableArray = __webpack_require__(8);
2611
+ Object.defineProperty(exports, "__esModule", {
2612
+ value: true
2613
+ });
2614
+
2615
+ /***/ }),
2616
+
2617
+ /***/ 450:
2618
+ /***/ (function(module, exports, __webpack_require__) {
2619
+
2620
+ "use strict";
2621
+
2622
+
2623
+ var _toConsumableArray = __webpack_require__(7);
2705
2624
 
2706
2625
  var __rest = this && this.__rest || function (s, e) {
2707
2626
  var t = {};
@@ -2722,9 +2641,9 @@ Object.defineProperty(exports, "__esModule", {
2722
2641
 
2723
2642
  var React = __webpack_require__(0);
2724
2643
 
2725
- var d3_array_1 = __webpack_require__(86);
2644
+ var d3_array_1 = __webpack_require__(84);
2726
2645
 
2727
- var d3_scale_1 = __webpack_require__(116);
2646
+ var d3_scale_1 = __webpack_require__(113);
2728
2647
 
2729
2648
  var T = __webpack_require__(1);
2730
2649
 
@@ -2732,7 +2651,7 @@ var i18n_1 = __webpack_require__(2);
2732
2651
 
2733
2652
  var Message_1 = __webpack_require__(12);
2734
2653
 
2735
- var ParallelCoordinatesChart_1 = __webpack_require__(455);
2654
+ var ParallelCoordinatesChart_1 = __webpack_require__(451);
2736
2655
 
2737
2656
  var PureParallelCoordinates = function PureParallelCoordinates(_a) {
2738
2657
  var props = __rest(_a, []);
@@ -2757,9 +2676,9 @@ var PureParallelCoordinates = function PureParallelCoordinates(_a) {
2757
2676
  textShadowColor = props.textShadowColor,
2758
2677
  mode = props.mode;
2759
2678
  var minWidth = 200;
2760
- var minHieght = 150;
2679
+ var minHeight = 150;
2761
2680
 
2762
- if (width < minWidth || height < minHieght) {
2681
+ if (Number(width) < minWidth || Number(height) < minHeight) {
2763
2682
  return React.createElement(Message_1.default, {
2764
2683
  width: width,
2765
2684
  height: height,
@@ -2924,15 +2843,15 @@ exports.default = PureParallelCoordinates;
2924
2843
 
2925
2844
  /***/ }),
2926
2845
 
2927
- /***/ 455:
2846
+ /***/ 451:
2928
2847
  /***/ (function(module, exports, __webpack_require__) {
2929
2848
 
2930
2849
  "use strict";
2931
2850
 
2932
2851
 
2933
- var _toConsumableArray = __webpack_require__(8);
2852
+ var _toConsumableArray = __webpack_require__(7);
2934
2853
 
2935
- var _slicedToArray = __webpack_require__(7);
2854
+ var _slicedToArray = __webpack_require__(6);
2936
2855
 
2937
2856
  var __rest = this && this.__rest || function (s, e) {
2938
2857
  var t = {};
@@ -2955,17 +2874,17 @@ var React = __webpack_require__(0);
2955
2874
 
2956
2875
  var styled_components_1 = __webpack_require__(4);
2957
2876
 
2958
- var d3_selection_1 = __webpack_require__(456);
2877
+ var d3_selection_1 = __webpack_require__(452);
2959
2878
 
2960
- var d3_brush_1 = __webpack_require__(457);
2879
+ var d3_brush_1 = __webpack_require__(453);
2961
2880
 
2962
- var d3_axis_1 = __webpack_require__(458);
2881
+ var d3_axis_1 = __webpack_require__(454);
2963
2882
 
2964
- var d3_drag_1 = __webpack_require__(459);
2883
+ var d3_drag_1 = __webpack_require__(455);
2965
2884
 
2966
- var rgb_hex_converter_1 = __webpack_require__(186);
2885
+ var rgb_hex_converter_1 = __webpack_require__(183);
2967
2886
 
2968
- var ParallelCoordinatesCanvas_1 = __webpack_require__(460);
2887
+ var ParallelCoordinatesCanvas_1 = __webpack_require__(456);
2969
2888
 
2970
2889
  var ChartDiv = styled_components_1.default.div.withConfig({
2971
2890
  displayName: "ParallelCoordinatesChart__ChartDiv",
@@ -2986,7 +2905,7 @@ var PromptDiv = styled_components_1.default.div.withConfig({
2986
2905
  return props.margin.left + props.width + props.margin.right;
2987
2906
  });
2988
2907
  var FilterButton = styled_components_1.default.button.attrs({
2989
- 'data-testid': 'clear-filter-button'
2908
+ 'data-test': 'clear-filter-button'
2990
2909
  }).withConfig({
2991
2910
  displayName: "ParallelCoordinatesChart__FilterButton",
2992
2911
  componentId: "sc-1oivyc-2"
@@ -3238,7 +3157,8 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3238
3157
  width: width,
3239
3158
  height: height,
3240
3159
  margin: margin,
3241
- backgroundColor: backgroundColor
3160
+ backgroundColor: backgroundColor,
3161
+ "data-test": "parallel-coordinates-container"
3242
3162
  }, React.createElement(ParallelCoordinatesCanvas_1.default, {
3243
3163
  width: width,
3244
3164
  height: height,
@@ -3259,7 +3179,7 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3259
3179
  style: {
3260
3180
  position: 'relative'
3261
3181
  },
3262
- "data-testid": "svg-layer",
3182
+ "data-test": "svg-layer",
3263
3183
  "data-test-dimensions": currentDimensions.length
3264
3184
  }), React.createElement(PromptDiv, {
3265
3185
  width: width,
@@ -3278,14 +3198,14 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3278
3198
  display: filterPromptState ? 'flex' : 'none',
3279
3199
  color: filterTextColor
3280
3200
  },
3281
- "data-testid": "line-selection-prompt"
3201
+ "data-test": "line-selection-prompt"
3282
3202
  }, selectedData.length, "/", data.length, " lines selected")), React.createElement("span", {
3283
3203
  style: {
3284
3204
  display: truncatedCategoriesFlag ? 'flex' : 'none',
3285
3205
  color: truncatedTextColor,
3286
3206
  marginRight: 16
3287
3207
  },
3288
- "data-testid": "truncated-data-warning"
3208
+ "data-test": "truncated-data-warning"
3289
3209
  }, "Note: Your data is currently truncated due to a high amount of categorical values"))));
3290
3210
  };
3291
3211
 
@@ -3293,47 +3213,35 @@ exports.default = ParallelCoordinatesChart;
3293
3213
 
3294
3214
  /***/ }),
3295
3215
 
3296
- /***/ 456:
3216
+ /***/ 452:
3297
3217
  /***/ (function(module, exports) {
3298
3218
 
3299
3219
  module.exports = require("d3-selection");
3300
3220
 
3301
3221
  /***/ }),
3302
3222
 
3303
- /***/ 457:
3223
+ /***/ 453:
3304
3224
  /***/ (function(module, exports) {
3305
3225
 
3306
3226
  module.exports = require("d3-brush");
3307
3227
 
3308
3228
  /***/ }),
3309
3229
 
3310
- /***/ 458:
3230
+ /***/ 454:
3311
3231
  /***/ (function(module, exports) {
3312
3232
 
3313
3233
  module.exports = require("d3-axis");
3314
3234
 
3315
3235
  /***/ }),
3316
3236
 
3317
- /***/ 459:
3237
+ /***/ 455:
3318
3238
  /***/ (function(module, exports) {
3319
3239
 
3320
3240
  module.exports = require("d3-drag");
3321
3241
 
3322
3242
  /***/ }),
3323
3243
 
3324
- /***/ 46:
3325
- /***/ (function(module, exports, __webpack_require__) {
3326
-
3327
- "use strict";
3328
-
3329
-
3330
- Object.defineProperty(exports, "__esModule", {
3331
- value: true
3332
- });
3333
-
3334
- /***/ }),
3335
-
3336
- /***/ 460:
3244
+ /***/ 456:
3337
3245
  /***/ (function(module, exports, __webpack_require__) {
3338
3246
 
3339
3247
  "use strict";
@@ -3358,7 +3266,7 @@ Object.defineProperty(exports, "__esModule", {
3358
3266
 
3359
3267
  var React = __webpack_require__(0);
3360
3268
 
3361
- var rgb_hex_converter_1 = __webpack_require__(186);
3269
+ var rgb_hex_converter_1 = __webpack_require__(183);
3362
3270
 
3363
3271
  var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3364
3272
  var props = __rest(_a, []);
@@ -3468,9 +3376,9 @@ var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3468
3376
  });
3469
3377
  }, [selectedData, width, height, margin, currentDimensions, showNullAxis, nullOffsetHeight, lineColor, lineOpacity, dpr]);
3470
3378
  return React.createElement("div", {
3471
- "data-testid": "canvas-div"
3379
+ "data-test": "canvas-div"
3472
3380
  }, React.createElement("canvas", {
3473
- "data-testid": "background-canvas-layer",
3381
+ "data-test": "background-canvas-layer",
3474
3382
  ref: backgroundRef,
3475
3383
  style: {
3476
3384
  position: 'absolute',
@@ -3479,7 +3387,7 @@ var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3479
3387
  height: height + margin.top + margin.bottom
3480
3388
  }
3481
3389
  }), React.createElement("canvas", {
3482
- "data-testid": "foreground-canvas-layer",
3390
+ "data-test": "foreground-canvas-layer",
3483
3391
  ref: foregroundRef,
3484
3392
  style: {
3485
3393
  position: 'absolute',
@@ -3494,7 +3402,7 @@ exports.default = ParallelCoordinatesCanvas;
3494
3402
 
3495
3403
  /***/ }),
3496
3404
 
3497
- /***/ 461:
3405
+ /***/ 457:
3498
3406
  /***/ (function(module, exports, __webpack_require__) {
3499
3407
 
3500
3408
  "use strict";
@@ -3506,25 +3414,23 @@ Object.defineProperty(exports, "__esModule", {
3506
3414
 
3507
3415
  var i18n_1 = __webpack_require__(2);
3508
3416
 
3509
- var schemaUtils_1 = __webpack_require__(24);
3417
+ var visualization_schemas_1 = __webpack_require__(10);
3510
3418
 
3511
3419
  var pick_1 = __webpack_require__(30);
3512
3420
 
3513
- var variables_1 = __webpack_require__(13);
3514
-
3515
- var visualization_color_palettes_1 = __webpack_require__(73);
3421
+ var variables_1 = __webpack_require__(14);
3516
3422
 
3517
- var visualization_icons_1 = __webpack_require__(74);
3423
+ var visualization_icons_1 = __webpack_require__(72);
3518
3424
 
3519
- var placeholders_1 = __webpack_require__(72);
3425
+ var placeholders_1 = __webpack_require__(71);
3520
3426
 
3521
- var VizBehavior_1 = __webpack_require__(6);
3427
+ var VizBehavior_1 = __webpack_require__(8);
3522
3428
 
3523
3429
  var configUtils_1 = __webpack_require__(27);
3524
3430
 
3525
- var VizCategory_1 = __webpack_require__(22);
3431
+ var VizCategory_1 = __webpack_require__(23);
3526
3432
 
3527
- var BackgroundColor_1 = __webpack_require__(75);
3433
+ var BackgroundColor_1 = __webpack_require__(73);
3528
3434
 
3529
3435
  var dataContract = {
3530
3436
  requiredDataSources: [{
@@ -3543,30 +3449,6 @@ var size = {
3543
3449
  initialWidth: 700,
3544
3450
  initialHeight: 400
3545
3451
  };
3546
- var optionsSchema = {
3547
- backgroundColor: {
3548
- default: '> themes.defaultBackgroundColor',
3549
- description: 'Specify the color used for the background. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
3550
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3551
- type: 'string'
3552
- },
3553
- lineColor: {
3554
- default: visualization_color_palettes_1.VIZ_CATEGORICAL[0],
3555
- description: 'Specify the dataSource color for the lines. The hex value format should be #FFFFFF.',
3556
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3557
- type: 'string'
3558
- },
3559
- lineOpacity: {
3560
- default: 0.5,
3561
- description: 'Specify the opacity of the lines. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.50" in source or "50%" in UI.',
3562
- type: 'number'
3563
- },
3564
- showNullAxis: {
3565
- default: true,
3566
- description: 'Select whether you would like to show or hide the null value axis.',
3567
- type: 'boolean'
3568
- }
3569
- };
3570
3452
  var themes = {
3571
3453
  defaultBackgroundColor: function defaultBackgroundColor(props) {
3572
3454
  return (0, pick_1.default)({
@@ -3718,7 +3600,7 @@ var config = {
3718
3600
  placeholderIcon: placeholders_1.ParallelCoordinates,
3719
3601
  dataContract: dataContract,
3720
3602
  size: size,
3721
- optionsSchema: optionsSchema,
3603
+ optionsSchema: visualization_schemas_1.parallelCoordinatesOptionsSchema,
3722
3604
  editorConfig: editorConfig,
3723
3605
  events: {},
3724
3606
  supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS, VizBehavior_1.VizBehavior.PLACEHOLDER],
@@ -3729,7 +3611,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
3729
3611
 
3730
3612
  /***/ }),
3731
3613
 
3732
- /***/ 47:
3614
+ /***/ 46:
3733
3615
  /***/ (function(module, exports, __webpack_require__) {
3734
3616
 
3735
3617
  "use strict";
@@ -3741,7 +3623,7 @@ Object.defineProperty(exports, "__esModule", {
3741
3623
 
3742
3624
  /***/ }),
3743
3625
 
3744
- /***/ 48:
3626
+ /***/ 47:
3745
3627
  /***/ (function(module, exports, __webpack_require__) {
3746
3628
 
3747
3629
  "use strict";
@@ -3753,7 +3635,7 @@ Object.defineProperty(exports, "__esModule", {
3753
3635
 
3754
3636
  /***/ }),
3755
3637
 
3756
- /***/ 49:
3638
+ /***/ 48:
3757
3639
  /***/ (function(module, exports, __webpack_require__) {
3758
3640
 
3759
3641
  "use strict";
@@ -3765,7 +3647,7 @@ Object.defineProperty(exports, "__esModule", {
3765
3647
 
3766
3648
  /***/ }),
3767
3649
 
3768
- /***/ 50:
3650
+ /***/ 49:
3769
3651
  /***/ (function(module, exports, __webpack_require__) {
3770
3652
 
3771
3653
  "use strict";
@@ -3777,7 +3659,7 @@ Object.defineProperty(exports, "__esModule", {
3777
3659
 
3778
3660
  /***/ }),
3779
3661
 
3780
- /***/ 51:
3662
+ /***/ 50:
3781
3663
  /***/ (function(module, exports, __webpack_require__) {
3782
3664
 
3783
3665
  "use strict";
@@ -3789,7 +3671,7 @@ Object.defineProperty(exports, "__esModule", {
3789
3671
 
3790
3672
  /***/ }),
3791
3673
 
3792
- /***/ 52:
3674
+ /***/ 51:
3793
3675
  /***/ (function(module, exports, __webpack_require__) {
3794
3676
 
3795
3677
  "use strict";
@@ -3801,7 +3683,7 @@ Object.defineProperty(exports, "__esModule", {
3801
3683
 
3802
3684
  /***/ }),
3803
3685
 
3804
- /***/ 53:
3686
+ /***/ 52:
3805
3687
  /***/ (function(module, exports, __webpack_require__) {
3806
3688
 
3807
3689
  "use strict";
@@ -3813,7 +3695,7 @@ Object.defineProperty(exports, "__esModule", {
3813
3695
 
3814
3696
  /***/ }),
3815
3697
 
3816
- /***/ 54:
3698
+ /***/ 53:
3817
3699
  /***/ (function(module, exports, __webpack_require__) {
3818
3700
 
3819
3701
  "use strict";
@@ -3825,7 +3707,7 @@ Object.defineProperty(exports, "__esModule", {
3825
3707
 
3826
3708
  /***/ }),
3827
3709
 
3828
- /***/ 55:
3710
+ /***/ 54:
3829
3711
  /***/ (function(module, exports, __webpack_require__) {
3830
3712
 
3831
3713
  "use strict";
@@ -3837,13 +3719,13 @@ Object.defineProperty(exports, "__esModule", {
3837
3719
 
3838
3720
  /***/ }),
3839
3721
 
3840
- /***/ 56:
3722
+ /***/ 55:
3841
3723
  /***/ (function(module, exports, __webpack_require__) {
3842
3724
 
3843
3725
  "use strict";
3844
3726
 
3845
3727
 
3846
- var _slicedToArray = __webpack_require__(7);
3728
+ var _slicedToArray = __webpack_require__(6);
3847
3729
 
3848
3730
  Object.defineProperty(exports, "__esModule", {
3849
3731
  value: true
@@ -3853,15 +3735,15 @@ var React = __webpack_require__(0);
3853
3735
 
3854
3736
  var lodash_1 = __webpack_require__(3);
3855
3737
 
3856
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
3738
+ var getSettingsFromThemedProps_1 = __webpack_require__(56);
3857
3739
 
3858
- var Options_1 = __webpack_require__(16);
3740
+ var Options_1 = __webpack_require__(17);
3859
3741
 
3860
- var SanitizeProps_1 = __webpack_require__(58);
3742
+ var SanitizeProps_1 = __webpack_require__(57);
3861
3743
 
3862
3744
  var TimezoneContext_1 = __webpack_require__(32);
3863
3745
 
3864
- var moment_1 = __webpack_require__(59);
3746
+ var moment_1 = __webpack_require__(58);
3865
3747
 
3866
3748
  var FeatureFlagContext_1 = __webpack_require__(28);
3867
3749
 
@@ -3871,31 +3753,31 @@ var hocUtils_1 = __webpack_require__(34);
3871
3753
 
3872
3754
  var JSONSchemaUtils_1 = __webpack_require__(35);
3873
3755
 
3874
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
3756
+ var async_dynamic_options_evaluator_1 = __webpack_require__(59);
3875
3757
 
3876
3758
  var id_1 = __webpack_require__(31);
3877
3759
 
3878
- var SplunkVisualization_1 = __webpack_require__(61);
3760
+ var SplunkVisualization_1 = __webpack_require__(60);
3879
3761
 
3880
- var VizBehavior_1 = __webpack_require__(6);
3762
+ var VizBehavior_1 = __webpack_require__(8);
3881
3763
 
3882
3764
  var getSorting_1 = __webpack_require__(38);
3883
3765
 
3884
3766
  var getPagination_1 = __webpack_require__(39);
3885
3767
 
3886
- var useDeepMemo_1 = __webpack_require__(62);
3768
+ var useDeepMemo_1 = __webpack_require__(61);
3887
3769
 
3888
- var MissingPropsMessage_1 = __webpack_require__(63);
3770
+ var MissingPropsMessage_1 = __webpack_require__(62);
3889
3771
 
3890
- var withEditModeCover_1 = __webpack_require__(64);
3772
+ var withEditModeCover_1 = __webpack_require__(63);
3891
3773
 
3892
- var withPlaceholder_1 = __webpack_require__(65);
3774
+ var withPlaceholder_1 = __webpack_require__(64);
3893
3775
 
3894
- var useDownsampleDataSources_1 = __webpack_require__(66);
3776
+ var useDownsampleDataSources_1 = __webpack_require__(65);
3895
3777
 
3896
- var dataUtils_1 = __webpack_require__(14);
3778
+ var dataUtils_1 = __webpack_require__(15);
3897
3779
 
3898
- var featureFlagUtils_1 = __webpack_require__(68);
3780
+ var featureFlagUtils_1 = __webpack_require__(67);
3899
3781
  /**
3900
3782
  * hoc that wraps a pure react visualization in a Dashboard visualization
3901
3783
  * @param {DashboardVizOpts} opts
@@ -4228,81 +4110,48 @@ exports.default = withDashboardViz;
4228
4110
 
4229
4111
  /***/ }),
4230
4112
 
4231
- /***/ 57:
4113
+ /***/ 56:
4232
4114
  /***/ (function(module, exports) {
4233
4115
 
4234
4116
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
4235
4117
 
4236
4118
  /***/ }),
4237
4119
 
4238
- /***/ 58:
4120
+ /***/ 57:
4239
4121
  /***/ (function(module, exports) {
4240
4122
 
4241
4123
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
4242
4124
 
4243
4125
  /***/ }),
4244
4126
 
4245
- /***/ 59:
4127
+ /***/ 58:
4246
4128
  /***/ (function(module, exports) {
4247
4129
 
4248
4130
  module.exports = require("@splunk/moment");
4249
4131
 
4250
4132
  /***/ }),
4251
4133
 
4252
- /***/ 6:
4253
- /***/ (function(module, exports, __webpack_require__) {
4254
-
4255
- "use strict";
4256
-
4257
-
4258
- Object.defineProperty(exports, "__esModule", {
4259
- value: true
4260
- });
4261
- exports.VizBehavior = void 0;
4262
- var VizBehavior;
4263
-
4264
- (function (VizBehavior) {
4265
- /**
4266
- * Dynamic Options Behavior.
4267
- * This allows visualization options to be powered by data
4268
- *
4269
- * **Example**
4270
- *
4271
- * sparklineValues: ">primary|seriesByIndex(0)"
4272
- * would configure sparklineValues with an array of data points
4273
- * coming from the first series in the primary datasource
4274
- *
4275
- */
4276
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
4277
- VizBehavior["EVENTS"] = "events";
4278
- VizBehavior["DOWNSAMPLING"] = "downsampling";
4279
- /**
4280
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
4281
- * missing.
4282
- * @type {string}
4283
- */
4134
+ /***/ 59:
4135
+ /***/ (function(module, exports) {
4284
4136
 
4285
- VizBehavior["PLACEHOLDER"] = "placeholder";
4286
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
4287
- VizBehavior["TRELLIS"] = "trellis";
4288
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
4137
+ module.exports = require("@splunk/async-dynamic-options-evaluator");
4289
4138
 
4290
4139
  /***/ }),
4291
4140
 
4292
- /***/ 60:
4141
+ /***/ 6:
4293
4142
  /***/ (function(module, exports) {
4294
4143
 
4295
- module.exports = require("@splunk/async-dynamic-options-evaluator");
4144
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
4296
4145
 
4297
4146
  /***/ }),
4298
4147
 
4299
- /***/ 61:
4148
+ /***/ 60:
4300
4149
  /***/ (function(module, exports, __webpack_require__) {
4301
4150
 
4302
4151
  "use strict";
4303
4152
 
4304
4153
 
4305
- var _classCallCheck = __webpack_require__(10);
4154
+ var _classCallCheck = __webpack_require__(9);
4306
4155
 
4307
4156
  Object.defineProperty(exports, "__esModule", {
4308
4157
  value: true
@@ -4314,7 +4163,7 @@ var T = __webpack_require__(1);
4314
4163
 
4315
4164
  var lodash_1 = __webpack_require__(3);
4316
4165
 
4317
- var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
4166
+ var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
4318
4167
 
4319
4168
 
4320
4169
  exports.INITIAL_WIDTH = 250;
@@ -4448,7 +4297,7 @@ exports.default = SplunkVisualization;
4448
4297
 
4449
4298
  /***/ }),
4450
4299
 
4451
- /***/ 62:
4300
+ /***/ 61:
4452
4301
  /***/ (function(module, exports, __webpack_require__) {
4453
4302
 
4454
4303
  "use strict";
@@ -4494,7 +4343,7 @@ exports.useDeepMemo = useDeepMemo;
4494
4343
 
4495
4344
  /***/ }),
4496
4345
 
4497
- /***/ 63:
4346
+ /***/ 62:
4498
4347
  /***/ (function(module, exports, __webpack_require__) {
4499
4348
 
4500
4349
  "use strict";
@@ -4513,7 +4362,7 @@ var i18n_1 = __webpack_require__(2);
4513
4362
 
4514
4363
  var Message_1 = __webpack_require__(12);
4515
4364
 
4516
- var FixedSizeContainer_1 = __webpack_require__(17);
4365
+ var FixedSizeContainer_1 = __webpack_require__(18);
4517
4366
  /**
4518
4367
  * @method isMissing
4519
4368
  * @param {any} v
@@ -4575,7 +4424,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
4575
4424
 
4576
4425
  /***/ }),
4577
4426
 
4578
- /***/ 64:
4427
+ /***/ 63:
4579
4428
  /***/ (function(module, exports, __webpack_require__) {
4580
4429
 
4581
4430
  "use strict";
@@ -4589,14 +4438,14 @@ var React = __webpack_require__(0);
4589
4438
 
4590
4439
  var styled_components_1 = __webpack_require__(4);
4591
4440
 
4592
- var hocUtils_1 = __webpack_require__(23);
4441
+ var hocUtils_1 = __webpack_require__(24);
4593
4442
 
4594
4443
  var Cover = styled_components_1.default.div.withConfig({
4595
4444
  displayName: "withEditModeCover__Cover",
4596
4445
  componentId: "sc-1gsbnxb-0"
4597
4446
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
4598
4447
  var Blocker = styled_components_1.default.div.attrs({
4599
- 'data-splunk-visualization-version': "26.2.0 - 49b909915"
4448
+ 'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
4600
4449
  }).withConfig({
4601
4450
  displayName: "withEditModeCover__Blocker",
4602
4451
  componentId: "sc-1gsbnxb-1"
@@ -4628,7 +4477,7 @@ exports.default = withEditModeCover;
4628
4477
 
4629
4478
  /***/ }),
4630
4479
 
4631
- /***/ 65:
4480
+ /***/ 64:
4632
4481
  /***/ (function(module, exports, __webpack_require__) {
4633
4482
 
4634
4483
  "use strict";
@@ -4640,15 +4489,15 @@ Object.defineProperty(exports, "__esModule", {
4640
4489
 
4641
4490
  var React = __webpack_require__(0);
4642
4491
 
4643
- var colorUtils_1 = __webpack_require__(15);
4492
+ var colorUtils_1 = __webpack_require__(16);
4644
4493
 
4645
- var variables_1 = __webpack_require__(13);
4494
+ var variables_1 = __webpack_require__(14);
4646
4495
 
4647
4496
  var IconPlaceholder_1 = __webpack_require__(37);
4648
4497
 
4649
- var VizBehavior_1 = __webpack_require__(6);
4498
+ var VizBehavior_1 = __webpack_require__(8);
4650
4499
 
4651
- var hocUtils_1 = __webpack_require__(23);
4500
+ var hocUtils_1 = __webpack_require__(24);
4652
4501
 
4653
4502
  var withPlaceholder = function withPlaceholder(Visualization) {
4654
4503
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -4693,13 +4542,13 @@ exports.default = withPlaceholder;
4693
4542
 
4694
4543
  /***/ }),
4695
4544
 
4696
- /***/ 66:
4545
+ /***/ 65:
4697
4546
  /***/ (function(module, exports, __webpack_require__) {
4698
4547
 
4699
4548
  "use strict";
4700
4549
 
4701
4550
 
4702
- var _slicedToArray = __webpack_require__(7);
4551
+ var _slicedToArray = __webpack_require__(6);
4703
4552
 
4704
4553
  Object.defineProperty(exports, "__esModule", {
4705
4554
  value: true
@@ -4709,11 +4558,11 @@ var react_1 = __webpack_require__(0);
4709
4558
 
4710
4559
  var lodash_1 = __webpack_require__(3);
4711
4560
 
4712
- var dataUtils_1 = __webpack_require__(14);
4561
+ var dataUtils_1 = __webpack_require__(15);
4713
4562
 
4714
4563
  var usePrevious_1 = __webpack_require__(33);
4715
4564
 
4716
- var useGetXAndYFields_1 = __webpack_require__(67);
4565
+ var useGetXAndYFields_1 = __webpack_require__(66);
4717
4566
 
4718
4567
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
4719
4568
  var dataSources = _ref.dataSources,
@@ -4783,13 +4632,13 @@ exports.default = useDownsampleDataSources;
4783
4632
 
4784
4633
  /***/ }),
4785
4634
 
4786
- /***/ 67:
4635
+ /***/ 66:
4787
4636
  /***/ (function(module, exports, __webpack_require__) {
4788
4637
 
4789
4638
  "use strict";
4790
4639
 
4791
4640
 
4792
- var _toConsumableArray = __webpack_require__(8);
4641
+ var _toConsumableArray = __webpack_require__(7);
4793
4642
 
4794
4643
  Object.defineProperty(exports, "__esModule", {
4795
4644
  value: true
@@ -4797,7 +4646,7 @@ Object.defineProperty(exports, "__esModule", {
4797
4646
 
4798
4647
  var react_1 = __webpack_require__(0);
4799
4648
 
4800
- var Options_1 = __webpack_require__(16);
4649
+ var Options_1 = __webpack_require__(17);
4801
4650
  /**
4802
4651
  * Hook that evaluates the DSL for subset of a viz's options needed to determine
4803
4652
  * its x and y fields as well as the types of all its fields.
@@ -4898,7 +4747,7 @@ exports.default = useGetXAndYFields;
4898
4747
 
4899
4748
  /***/ }),
4900
4749
 
4901
- /***/ 68:
4750
+ /***/ 67:
4902
4751
  /***/ (function(module, exports, __webpack_require__) {
4903
4752
 
4904
4753
  "use strict";
@@ -4909,7 +4758,7 @@ Object.defineProperty(exports, "__esModule", {
4909
4758
  });
4910
4759
  exports.getFeatureFlag = void 0;
4911
4760
 
4912
- var FeatureFlags_1 = __webpack_require__(69);
4761
+ var FeatureFlags_1 = __webpack_require__(68);
4913
4762
 
4914
4763
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
4915
4764
  // look for feature flag in context first
@@ -4934,7 +4783,7 @@ exports.getFeatureFlag = getFeatureFlag;
4934
4783
 
4935
4784
  /***/ }),
4936
4785
 
4937
- /***/ 69:
4786
+ /***/ 68:
4938
4787
  /***/ (function(module, exports) {
4939
4788
 
4940
4789
  module.exports = require("@splunk/visualization-context/FeatureFlags");
@@ -4944,39 +4793,32 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
4944
4793
  /***/ 7:
4945
4794
  /***/ (function(module, exports) {
4946
4795
 
4947
- module.exports = require("@babel/runtime/helpers/slicedToArray");
4796
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
4948
4797
 
4949
4798
  /***/ }),
4950
4799
 
4951
- /***/ 71:
4800
+ /***/ 70:
4952
4801
  /***/ (function(module, exports) {
4953
4802
 
4954
4803
  module.exports = require("@splunk/visualizations-shared/colorConstants");
4955
4804
 
4956
4805
  /***/ }),
4957
4806
 
4958
- /***/ 72:
4807
+ /***/ 71:
4959
4808
  /***/ (function(module, exports) {
4960
4809
 
4961
4810
  module.exports = require("@splunk/visualization-icons/placeholders");
4962
4811
 
4963
4812
  /***/ }),
4964
4813
 
4965
- /***/ 73:
4966
- /***/ (function(module, exports) {
4967
-
4968
- module.exports = require("@splunk/visualization-color-palettes");
4969
-
4970
- /***/ }),
4971
-
4972
- /***/ 74:
4814
+ /***/ 72:
4973
4815
  /***/ (function(module, exports) {
4974
4816
 
4975
4817
  module.exports = require("@splunk/visualization-icons");
4976
4818
 
4977
4819
  /***/ }),
4978
4820
 
4979
- /***/ 75:
4821
+ /***/ 73:
4980
4822
  /***/ (function(module, exports, __webpack_require__) {
4981
4823
 
4982
4824
  "use strict";
@@ -5007,7 +4849,7 @@ exports.default = background;
5007
4849
 
5008
4850
  /***/ }),
5009
4851
 
5010
- /***/ 76:
4852
+ /***/ 74:
5011
4853
  /***/ (function(module, exports) {
5012
4854
 
5013
4855
  module.exports = require("@splunk/visualizations-shared/domUtils");
@@ -5015,13 +4857,46 @@ module.exports = require("@splunk/visualizations-shared/domUtils");
5015
4857
  /***/ }),
5016
4858
 
5017
4859
  /***/ 8:
5018
- /***/ (function(module, exports) {
4860
+ /***/ (function(module, exports, __webpack_require__) {
5019
4861
 
5020
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
4862
+ "use strict";
4863
+
4864
+
4865
+ Object.defineProperty(exports, "__esModule", {
4866
+ value: true
4867
+ });
4868
+ exports.VizBehavior = void 0;
4869
+ var VizBehavior;
4870
+
4871
+ (function (VizBehavior) {
4872
+ /**
4873
+ * Dynamic Options Behavior.
4874
+ * This allows visualization options to be powered by data
4875
+ *
4876
+ * **Example**
4877
+ *
4878
+ * sparklineValues: ">primary|seriesByIndex(0)"
4879
+ * would configure sparklineValues with an array of data points
4880
+ * coming from the first series in the primary datasource
4881
+ *
4882
+ */
4883
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
4884
+ VizBehavior["EVENTS"] = "events";
4885
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
4886
+ /**
4887
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
4888
+ * missing.
4889
+ * @type {string}
4890
+ */
4891
+
4892
+ VizBehavior["PLACEHOLDER"] = "placeholder";
4893
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
4894
+ VizBehavior["TRELLIS"] = "trellis";
4895
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
5021
4896
 
5022
4897
  /***/ }),
5023
4898
 
5024
- /***/ 86:
4899
+ /***/ 84:
5025
4900
  /***/ (function(module, exports) {
5026
4901
 
5027
4902
  module.exports = require("d3-array");
@@ -5031,7 +4906,7 @@ module.exports = require("d3-array");
5031
4906
  /***/ 9:
5032
4907
  /***/ (function(module, exports) {
5033
4908
 
5034
- module.exports = require("@babel/runtime/helpers/defineProperty");
4909
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
5035
4910
 
5036
4911
  /***/ })
5037
4912