@splunk/visualizations 26.2.1 → 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 +170 -300
  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 +545 -729
  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
package/Pie.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 = 462);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 458);
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
 
@@ -130,11 +130,18 @@ module.exports = require("@splunk/visualizations-shared/Message");
130
130
  /***/ 13:
131
131
  /***/ (function(module, exports) {
132
132
 
133
- module.exports = require("@splunk/themes/variables");
133
+ module.exports = require("@babel/runtime/helpers/defineProperty");
134
134
 
135
135
  /***/ }),
136
136
 
137
137
  /***/ 14:
138
+ /***/ (function(module, exports) {
139
+
140
+ module.exports = require("@splunk/themes/variables");
141
+
142
+ /***/ }),
143
+
144
+ /***/ 15:
138
145
  /***/ (function(module, exports, __webpack_require__) {
139
146
 
140
147
  "use strict";
@@ -431,6 +438,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
431
438
  });
432
439
  }
433
440
  } catch (e) {
441
+ // eslint-disable-next-line no-console
434
442
  console.error('Error occurred while setting downsample threshold on range select event', e);
435
443
  }
436
444
 
@@ -597,6 +605,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
597
605
  return downsampledIndices.add(downsampleIndex);
598
606
  });
599
607
  } catch (e) {
608
+ // eslint-disable-next-line no-console
600
609
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
601
610
  }
602
611
  }); // update data columns with downsampled columns
@@ -609,34 +618,34 @@ exports.downsampleDataSources = downsampleDataSources;
609
618
 
610
619
  /***/ }),
611
620
 
612
- /***/ 15:
621
+ /***/ 153:
613
622
  /***/ (function(module, exports) {
614
623
 
615
- module.exports = require("@splunk/visualizations-shared/colorUtils");
624
+ module.exports = require("@splunk/visualization-encoding/utils/dsl");
616
625
 
617
626
  /***/ }),
618
627
 
619
- /***/ 155:
628
+ /***/ 16:
620
629
  /***/ (function(module, exports) {
621
630
 
622
- module.exports = require("@splunk/visualization-encoding/utils/dsl");
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.1 - 714383dbb",
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
- /***/ 187:
755
+ /***/ 184:
754
756
  /***/ (function(module, exports, __webpack_require__) {
755
757
 
756
758
  "use strict";
@@ -778,21 +780,21 @@ var lodash_1 = __webpack_require__(3); // Charting imports i18n which needs to b
778
780
  // eslint-disable-next-line import/order
779
781
 
780
782
 
781
- var Charting_1 = __webpack_require__(87);
783
+ var Charting_1 = __webpack_require__(85);
782
784
 
783
- var charting_bundle_1 = __webpack_require__(77);
785
+ var charting_bundle_1 = __webpack_require__(76);
784
786
 
785
- var simpleXMLOptions_1 = __webpack_require__(93);
787
+ var simpleXMLOptions_1 = __webpack_require__(91);
786
788
 
787
- var config_1 = __webpack_require__(463);
789
+ var config_1 = __webpack_require__(459);
788
790
 
789
791
  exports.config = config_1.default;
790
792
 
791
- var withDashboardViz_1 = __webpack_require__(56);
793
+ var withDashboardViz_1 = __webpack_require__(55);
792
794
 
793
- var pieUtils_1 = __webpack_require__(465);
795
+ var pieUtils_1 = __webpack_require__(461);
794
796
 
795
- var chartingUtils_1 = __webpack_require__(79);
797
+ var chartingUtils_1 = __webpack_require__(78);
796
798
 
797
799
  var IconPlaceholder_1 = __webpack_require__(37);
798
800
 
@@ -881,6 +883,20 @@ exports.default = Pie;
881
883
  /***/ }),
882
884
 
883
885
  /***/ 19:
886
+ /***/ (function(module, exports) {
887
+
888
+ module.exports = require("@splunk/visualizations-shared/style");
889
+
890
+ /***/ }),
891
+
892
+ /***/ 2:
893
+ /***/ (function(module, exports) {
894
+
895
+ module.exports = require("@splunk/ui-utils/i18n");
896
+
897
+ /***/ }),
898
+
899
+ /***/ 21:
884
900
  /***/ (function(module, exports, __webpack_require__) {
885
901
 
886
902
  "use strict";
@@ -889,27 +905,19 @@ exports.default = Pie;
889
905
  Object.defineProperty(exports, "__esModule", {
890
906
  value: true
891
907
  });
892
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
908
+ exports.validOutputModes = exports.validSortDirs = void 0;
893
909
  exports.validSortDirs = ['asc', 'desc', 'none'];
894
- exports.validSegmentationModes = ['none', 'inner'];
895
910
  exports.validOutputModes = ['json_cols', 'json'];
896
911
 
897
912
  /***/ }),
898
913
 
899
- /***/ 2:
900
- /***/ (function(module, exports) {
901
-
902
- module.exports = require("@splunk/ui-utils/i18n");
903
-
904
- /***/ }),
905
-
906
- /***/ 21:
914
+ /***/ 22:
907
915
  /***/ (function(module, exports, __webpack_require__) {
908
916
 
909
917
  "use strict";
910
918
 
911
919
 
912
- var _classCallCheck = __webpack_require__(10);
920
+ var _classCallCheck = __webpack_require__(9);
913
921
 
914
922
  var _createClass = __webpack_require__(25);
915
923
 
@@ -941,7 +949,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
941
949
 
942
950
  /***/ }),
943
951
 
944
- /***/ 22:
952
+ /***/ 23:
945
953
  /***/ (function(module, exports, __webpack_require__) {
946
954
 
947
955
  "use strict";
@@ -970,7 +978,7 @@ var VizCategory;
970
978
 
971
979
  /***/ }),
972
980
 
973
- /***/ 23:
981
+ /***/ 24:
974
982
  /***/ (function(module, exports, __webpack_require__) {
975
983
 
976
984
  "use strict";
@@ -1003,13 +1011,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
1003
1011
 
1004
1012
  /***/ }),
1005
1013
 
1006
- /***/ 24:
1007
- /***/ (function(module, exports) {
1008
-
1009
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
1010
-
1011
- /***/ }),
1012
-
1013
1014
  /***/ 25:
1014
1015
  /***/ (function(module, exports) {
1015
1016
 
@@ -1030,99 +1031,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
1030
1031
  "use strict";
1031
1032
 
1032
1033
 
1033
- var _toConsumableArray = __webpack_require__(8);
1034
-
1035
- var _defineProperty = __webpack_require__(9);
1036
-
1037
- var __rest = this && this.__rest || function (s, e) {
1038
- var t = {};
1039
-
1040
- for (var p in s) {
1041
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
1042
- }
1043
-
1044
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1045
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
1046
- }
1047
- return t;
1048
- };
1034
+ var _toConsumableArray = __webpack_require__(7);
1049
1035
 
1050
1036
  Object.defineProperty(exports, "__esModule", {
1051
1037
  value: true
1052
1038
  });
1053
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
1039
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
1054
1040
 
1055
- var lodash_1 = __webpack_require__(3);
1041
+ var lodash_1 = __webpack_require__(3); // included for backwards compatibility
1056
1042
 
1057
- var schemaUtils_1 = __webpack_require__(24);
1058
1043
 
1059
- var VizBehavior_1 = __webpack_require__(6);
1044
+ var visualization_schemas_1 = __webpack_require__(10);
1060
1045
 
1061
- var dynamicOptionsDSLType = {
1062
- type: 'string',
1063
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
1064
- };
1065
- /**
1066
- * Helper function to extend an options schema with dynamic options DSL
1067
- * @param optionsSchema a visualization's options schema
1068
- * @returns an updated options schema that additionally allows strings starting with > for each option
1069
- */
1070
-
1071
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
1072
- var enhancedOptionsSchema = {};
1073
- Object.keys(optionsSchema).forEach(function (key) {
1074
- var _a = optionsSchema[key],
1075
- title = _a.title,
1076
- description = _a.description,
1077
- readOnly = _a.readOnly,
1078
- writeOnly = _a.writeOnly,
1079
- examples = _a.examples,
1080
- defaultValue = _a.default,
1081
- type = _a.type,
1082
- properties = _a.properties,
1083
- patternProperties = _a.patternProperties,
1084
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
1085
-
1086
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1087
- title: title
1088
- }), description !== undefined && {
1089
- description: description
1090
- }), readOnly !== undefined && {
1091
- readOnly: readOnly
1092
- }), writeOnly !== undefined && {
1093
- writeOnly: writeOnly
1094
- }), examples !== undefined && {
1095
- examples: examples
1096
- }), defaultValue !== undefined && {
1097
- default: defaultValue
1098
- });
1099
-
1100
- if (type === 'object') {
1101
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
1102
- type: type
1103
- }), properties && {
1104
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
1105
- });
1106
-
1107
- if (patternProperties) {
1108
- var enhancedPatternProperties = {};
1109
- Object.keys(patternProperties).forEach(function (opt) {
1110
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
1111
- });
1112
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
1113
- }
1114
- } else {
1115
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
1116
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
1117
- type: type
1118
- }), remainingSchemaEntry), dynamicOptionsDSLType]
1119
- });
1120
- }
1121
- });
1122
- return enhancedOptionsSchema;
1123
- }
1124
-
1125
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
1046
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
1047
+ enumerable: true,
1048
+ get: function get() {
1049
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
1050
+ }
1051
+ });
1126
1052
  /**
1127
1053
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
1128
1054
  * this function also collapse all editor panels
@@ -1133,11 +1059,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
1133
1059
 
1134
1060
  function enhanceConfig(vizConfig) {
1135
1061
  var enhancedConfig = Object.assign({}, vizConfig);
1136
-
1137
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
1138
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
1139
- }
1140
-
1141
1062
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
1142
1063
  return Object.assign(Object.assign({}, config), {
1143
1064
  open: config.open || false
@@ -1362,7 +1283,7 @@ var i18n_1 = __webpack_require__(2);
1362
1283
 
1363
1284
  var Message_1 = __webpack_require__(12);
1364
1285
 
1365
- var FixedSizeContainer_1 = __webpack_require__(17);
1286
+ var FixedSizeContainer_1 = __webpack_require__(18);
1366
1287
  /**
1367
1288
  * @method shouldShowIconPlaceholder
1368
1289
  * @param {object} dataSources
@@ -1440,7 +1361,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
1440
1361
  "use strict";
1441
1362
 
1442
1363
 
1443
- var _defineProperty = __webpack_require__(9);
1364
+ var _defineProperty = __webpack_require__(13);
1444
1365
 
1445
1366
  Object.defineProperty(exports, "__esModule", {
1446
1367
  value: true
@@ -1451,7 +1372,7 @@ var T = __webpack_require__(1);
1451
1372
 
1452
1373
  var lodash_1 = __webpack_require__(3);
1453
1374
 
1454
- var DataSource_1 = __webpack_require__(19);
1375
+ var DataSource_1 = __webpack_require__(21);
1455
1376
 
1456
1377
  exports.SortParamsPropTypes = T.shape({
1457
1378
  currentSortKey: T.string,
@@ -1616,7 +1537,7 @@ __exportStar(__webpack_require__(41), exports);
1616
1537
 
1617
1538
  __exportStar(__webpack_require__(42), exports);
1618
1539
 
1619
- __exportStar(__webpack_require__(19), exports);
1540
+ __exportStar(__webpack_require__(21), exports);
1620
1541
 
1621
1542
  __exportStar(__webpack_require__(43), exports);
1622
1543
 
@@ -1630,13 +1551,13 @@ __exportStar(__webpack_require__(47), exports);
1630
1551
 
1631
1552
  __exportStar(__webpack_require__(48), exports);
1632
1553
 
1633
- __exportStar(__webpack_require__(49), exports);
1554
+ __exportStar(__webpack_require__(22), exports);
1634
1555
 
1635
- __exportStar(__webpack_require__(21), exports);
1556
+ __exportStar(__webpack_require__(8), exports);
1636
1557
 
1637
- __exportStar(__webpack_require__(6), exports);
1558
+ __exportStar(__webpack_require__(23), exports);
1638
1559
 
1639
- __exportStar(__webpack_require__(22), exports);
1560
+ __exportStar(__webpack_require__(49), exports);
1640
1561
 
1641
1562
  __exportStar(__webpack_require__(50), exports);
1642
1563
 
@@ -1648,8 +1569,6 @@ __exportStar(__webpack_require__(53), exports);
1648
1569
 
1649
1570
  __exportStar(__webpack_require__(54), exports);
1650
1571
 
1651
- __exportStar(__webpack_require__(55), exports);
1652
-
1653
1572
  /***/ }),
1654
1573
 
1655
1574
  /***/ 41:
@@ -1715,19 +1634,7 @@ Object.defineProperty(exports, "__esModule", {
1715
1634
 
1716
1635
  /***/ }),
1717
1636
 
1718
- /***/ 46:
1719
- /***/ (function(module, exports, __webpack_require__) {
1720
-
1721
- "use strict";
1722
-
1723
-
1724
- Object.defineProperty(exports, "__esModule", {
1725
- value: true
1726
- });
1727
-
1728
- /***/ }),
1729
-
1730
- /***/ 462:
1637
+ /***/ 458:
1731
1638
  /***/ (function(module, exports, __webpack_require__) {
1732
1639
 
1733
1640
  "use strict";
@@ -1763,9 +1670,9 @@ Object.defineProperty(exports, "__esModule", {
1763
1670
  });
1764
1671
  exports.default = void 0;
1765
1672
 
1766
- __exportStar(__webpack_require__(187), exports);
1673
+ __exportStar(__webpack_require__(184), exports);
1767
1674
 
1768
- var Pie_1 = __webpack_require__(187);
1675
+ var Pie_1 = __webpack_require__(184);
1769
1676
 
1770
1677
  Object.defineProperty(exports, "default", {
1771
1678
  enumerable: true,
@@ -1776,7 +1683,7 @@ Object.defineProperty(exports, "default", {
1776
1683
 
1777
1684
  /***/ }),
1778
1685
 
1779
- /***/ 463:
1686
+ /***/ 459:
1780
1687
  /***/ (function(module, exports, __webpack_require__) {
1781
1688
 
1782
1689
  "use strict";
@@ -1786,27 +1693,25 @@ Object.defineProperty(exports, "__esModule", {
1786
1693
  value: true
1787
1694
  });
1788
1695
 
1789
- var ChartPie_1 = __webpack_require__(464);
1696
+ var ChartPie_1 = __webpack_require__(460);
1790
1697
 
1791
- var placeholders_1 = __webpack_require__(72);
1698
+ var placeholders_1 = __webpack_require__(71);
1792
1699
 
1793
1700
  var i18n_1 = __webpack_require__(2);
1794
1701
 
1795
- var schemaUtils_1 = __webpack_require__(24);
1796
-
1797
- var visualization_color_palettes_1 = __webpack_require__(73);
1702
+ var visualization_schemas_1 = __webpack_require__(10);
1798
1703
 
1799
1704
  var pick_1 = __webpack_require__(30);
1800
1705
 
1801
- var variables_1 = __webpack_require__(13);
1706
+ var variables_1 = __webpack_require__(14);
1802
1707
 
1803
- var VizBehavior_1 = __webpack_require__(6);
1708
+ var VizBehavior_1 = __webpack_require__(8);
1804
1709
 
1805
- var VizCategory_1 = __webpack_require__(22);
1710
+ var VizCategory_1 = __webpack_require__(23);
1806
1711
 
1807
1712
  var configUtils_1 = __webpack_require__(27);
1808
1713
 
1809
- var BackgroundColor_1 = __webpack_require__(75);
1714
+ var BackgroundColor_1 = __webpack_require__(73);
1810
1715
 
1811
1716
  var dataContract = {
1812
1717
  requiredDataSources: [{
@@ -1831,78 +1736,6 @@ var size = {
1831
1736
  initialHeight: 300
1832
1737
  };
1833
1738
  var defaultContext = {};
1834
- var optionsSchema = {
1835
- backgroundColor: {
1836
- default: '> themes.defaultBackgroundColor',
1837
- description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
1838
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
1839
- type: 'string'
1840
- },
1841
- collapseLabel: {
1842
- description: 'Specify the label for the consolidated slice.',
1843
- type: 'string',
1844
- default: 'other'
1845
- },
1846
- collapseThreshold: {
1847
- description: 'Specify the size threshold as a number between 0 and 1 (inclusive), of the whole pie at which slices collapse into one consolidated slice.',
1848
- type: 'number',
1849
- default: 0.01
1850
- },
1851
- label: {
1852
- description: 'List of string values to display the pie chart labels.',
1853
- type: 'array',
1854
- items: {
1855
- type: 'string'
1856
- },
1857
- default: '> primary | seriesByIndex(0)'
1858
- },
1859
- labelField: {
1860
- default: '> label | getField()',
1861
- description: 'Specify the field that corresponds to the labels.',
1862
- type: 'string'
1863
- },
1864
- labelDisplay: {
1865
- description: 'Specify whether to display the labels and/or slice percentages.',
1866
- type: 'string',
1867
- pattern: (0, schemaUtils_1.getPattern)(['values', 'valuesAndPercentage', 'off']),
1868
- default: 'values'
1869
- },
1870
- resultLimit: {
1871
- default: 50000,
1872
- description: 'Specify the number of data points rendered in a chart.',
1873
- type: 'number'
1874
- },
1875
- seriesColors: {
1876
- default: visualization_color_palettes_1.VIZ_CATEGORICAL,
1877
- description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
1878
- type: 'array',
1879
- items: {
1880
- type: 'string'
1881
- }
1882
- },
1883
- seriesColorsByField: {
1884
- description: 'Specify the colors used for specific pie slice labels. For example: {"April": "#008000", "May": "#FFA500"}.',
1885
- type: 'object'
1886
- },
1887
- showDonutHole: {
1888
- default: false,
1889
- description: 'Specify whether the pie should be a donut.',
1890
- type: 'boolean'
1891
- },
1892
- value: {
1893
- description: 'List of numerical values to power the pie chart.',
1894
- type: 'array',
1895
- items: {
1896
- type: 'number'
1897
- },
1898
- default: '> primary | seriesByIndex(1)'
1899
- },
1900
- valueField: {
1901
- default: '> value | getField()',
1902
- description: 'Specify the field that corresponds to the data powering values.',
1903
- type: 'string'
1904
- }
1905
- };
1906
1739
  var themes = {
1907
1740
  defaultBackgroundColor: function defaultBackgroundColor(props) {
1908
1741
  return (0, pick_1.default)({
@@ -2012,7 +1845,7 @@ var config = {
2012
1845
  dataContract: dataContract,
2013
1846
  size: size,
2014
1847
  defaultContext: defaultContext,
2015
- optionsSchema: optionsSchema,
1848
+ optionsSchema: visualization_schemas_1.pieOptionsSchema,
2016
1849
  editorConfig: editorConfig,
2017
1850
  events: {
2018
1851
  'point.click': {
@@ -2026,14 +1859,26 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
2026
1859
 
2027
1860
  /***/ }),
2028
1861
 
2029
- /***/ 464:
1862
+ /***/ 46:
1863
+ /***/ (function(module, exports, __webpack_require__) {
1864
+
1865
+ "use strict";
1866
+
1867
+
1868
+ Object.defineProperty(exports, "__esModule", {
1869
+ value: true
1870
+ });
1871
+
1872
+ /***/ }),
1873
+
1874
+ /***/ 460:
2030
1875
  /***/ (function(module, exports) {
2031
1876
 
2032
1877
  module.exports = require("@splunk/react-icons/enterprise/ChartPie");
2033
1878
 
2034
1879
  /***/ }),
2035
1880
 
2036
- /***/ 465:
1881
+ /***/ 461:
2037
1882
  /***/ (function(module, exports, __webpack_require__) {
2038
1883
 
2039
1884
  "use strict";
@@ -2061,7 +1906,7 @@ var lodash_1 = __webpack_require__(3);
2061
1906
 
2062
1907
  var propUtils_1 = __webpack_require__(36);
2063
1908
 
2064
- var dsl_1 = __webpack_require__(155);
1909
+ var dsl_1 = __webpack_require__(153);
2065
1910
 
2066
1911
  var hocUtils_1 = __webpack_require__(34);
2067
1912
 
@@ -2327,19 +2172,7 @@ Object.defineProperty(exports, "__esModule", {
2327
2172
  "use strict";
2328
2173
 
2329
2174
 
2330
- Object.defineProperty(exports, "__esModule", {
2331
- value: true
2332
- });
2333
-
2334
- /***/ }),
2335
-
2336
- /***/ 56:
2337
- /***/ (function(module, exports, __webpack_require__) {
2338
-
2339
- "use strict";
2340
-
2341
-
2342
- var _slicedToArray = __webpack_require__(7);
2175
+ var _slicedToArray = __webpack_require__(6);
2343
2176
 
2344
2177
  Object.defineProperty(exports, "__esModule", {
2345
2178
  value: true
@@ -2349,15 +2182,15 @@ var React = __webpack_require__(0);
2349
2182
 
2350
2183
  var lodash_1 = __webpack_require__(3);
2351
2184
 
2352
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
2185
+ var getSettingsFromThemedProps_1 = __webpack_require__(56);
2353
2186
 
2354
- var Options_1 = __webpack_require__(16);
2187
+ var Options_1 = __webpack_require__(17);
2355
2188
 
2356
- var SanitizeProps_1 = __webpack_require__(58);
2189
+ var SanitizeProps_1 = __webpack_require__(57);
2357
2190
 
2358
2191
  var TimezoneContext_1 = __webpack_require__(32);
2359
2192
 
2360
- var moment_1 = __webpack_require__(59);
2193
+ var moment_1 = __webpack_require__(58);
2361
2194
 
2362
2195
  var FeatureFlagContext_1 = __webpack_require__(28);
2363
2196
 
@@ -2367,31 +2200,31 @@ var hocUtils_1 = __webpack_require__(34);
2367
2200
 
2368
2201
  var JSONSchemaUtils_1 = __webpack_require__(35);
2369
2202
 
2370
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
2203
+ var async_dynamic_options_evaluator_1 = __webpack_require__(59);
2371
2204
 
2372
2205
  var id_1 = __webpack_require__(31);
2373
2206
 
2374
- var SplunkVisualization_1 = __webpack_require__(61);
2207
+ var SplunkVisualization_1 = __webpack_require__(60);
2375
2208
 
2376
- var VizBehavior_1 = __webpack_require__(6);
2209
+ var VizBehavior_1 = __webpack_require__(8);
2377
2210
 
2378
2211
  var getSorting_1 = __webpack_require__(38);
2379
2212
 
2380
2213
  var getPagination_1 = __webpack_require__(39);
2381
2214
 
2382
- var useDeepMemo_1 = __webpack_require__(62);
2215
+ var useDeepMemo_1 = __webpack_require__(61);
2383
2216
 
2384
- var MissingPropsMessage_1 = __webpack_require__(63);
2217
+ var MissingPropsMessage_1 = __webpack_require__(62);
2385
2218
 
2386
- var withEditModeCover_1 = __webpack_require__(64);
2219
+ var withEditModeCover_1 = __webpack_require__(63);
2387
2220
 
2388
- var withPlaceholder_1 = __webpack_require__(65);
2221
+ var withPlaceholder_1 = __webpack_require__(64);
2389
2222
 
2390
- var useDownsampleDataSources_1 = __webpack_require__(66);
2223
+ var useDownsampleDataSources_1 = __webpack_require__(65);
2391
2224
 
2392
- var dataUtils_1 = __webpack_require__(14);
2225
+ var dataUtils_1 = __webpack_require__(15);
2393
2226
 
2394
- var featureFlagUtils_1 = __webpack_require__(68);
2227
+ var featureFlagUtils_1 = __webpack_require__(67);
2395
2228
  /**
2396
2229
  * hoc that wraps a pure react visualization in a Dashboard visualization
2397
2230
  * @param {DashboardVizOpts} opts
@@ -2724,81 +2557,48 @@ exports.default = withDashboardViz;
2724
2557
 
2725
2558
  /***/ }),
2726
2559
 
2727
- /***/ 57:
2560
+ /***/ 56:
2728
2561
  /***/ (function(module, exports) {
2729
2562
 
2730
2563
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
2731
2564
 
2732
2565
  /***/ }),
2733
2566
 
2734
- /***/ 58:
2567
+ /***/ 57:
2735
2568
  /***/ (function(module, exports) {
2736
2569
 
2737
2570
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
2738
2571
 
2739
2572
  /***/ }),
2740
2573
 
2741
- /***/ 59:
2574
+ /***/ 58:
2742
2575
  /***/ (function(module, exports) {
2743
2576
 
2744
2577
  module.exports = require("@splunk/moment");
2745
2578
 
2746
2579
  /***/ }),
2747
2580
 
2748
- /***/ 6:
2749
- /***/ (function(module, exports, __webpack_require__) {
2750
-
2751
- "use strict";
2752
-
2753
-
2754
- Object.defineProperty(exports, "__esModule", {
2755
- value: true
2756
- });
2757
- exports.VizBehavior = void 0;
2758
- var VizBehavior;
2759
-
2760
- (function (VizBehavior) {
2761
- /**
2762
- * Dynamic Options Behavior.
2763
- * This allows visualization options to be powered by data
2764
- *
2765
- * **Example**
2766
- *
2767
- * sparklineValues: ">primary|seriesByIndex(0)"
2768
- * would configure sparklineValues with an array of data points
2769
- * coming from the first series in the primary datasource
2770
- *
2771
- */
2772
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
2773
- VizBehavior["EVENTS"] = "events";
2774
- VizBehavior["DOWNSAMPLING"] = "downsampling";
2775
- /**
2776
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
2777
- * missing.
2778
- * @type {string}
2779
- */
2581
+ /***/ 59:
2582
+ /***/ (function(module, exports) {
2780
2583
 
2781
- VizBehavior["PLACEHOLDER"] = "placeholder";
2782
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
2783
- VizBehavior["TRELLIS"] = "trellis";
2784
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
2584
+ module.exports = require("@splunk/async-dynamic-options-evaluator");
2785
2585
 
2786
2586
  /***/ }),
2787
2587
 
2788
- /***/ 60:
2588
+ /***/ 6:
2789
2589
  /***/ (function(module, exports) {
2790
2590
 
2791
- module.exports = require("@splunk/async-dynamic-options-evaluator");
2591
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
2792
2592
 
2793
2593
  /***/ }),
2794
2594
 
2795
- /***/ 61:
2595
+ /***/ 60:
2796
2596
  /***/ (function(module, exports, __webpack_require__) {
2797
2597
 
2798
2598
  "use strict";
2799
2599
 
2800
2600
 
2801
- var _classCallCheck = __webpack_require__(10);
2601
+ var _classCallCheck = __webpack_require__(9);
2802
2602
 
2803
2603
  Object.defineProperty(exports, "__esModule", {
2804
2604
  value: true
@@ -2810,7 +2610,7 @@ var T = __webpack_require__(1);
2810
2610
 
2811
2611
  var lodash_1 = __webpack_require__(3);
2812
2612
 
2813
- var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2613
+ var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2814
2614
 
2815
2615
 
2816
2616
  exports.INITIAL_WIDTH = 250;
@@ -2944,7 +2744,7 @@ exports.default = SplunkVisualization;
2944
2744
 
2945
2745
  /***/ }),
2946
2746
 
2947
- /***/ 62:
2747
+ /***/ 61:
2948
2748
  /***/ (function(module, exports, __webpack_require__) {
2949
2749
 
2950
2750
  "use strict";
@@ -2990,7 +2790,7 @@ exports.useDeepMemo = useDeepMemo;
2990
2790
 
2991
2791
  /***/ }),
2992
2792
 
2993
- /***/ 63:
2793
+ /***/ 62:
2994
2794
  /***/ (function(module, exports, __webpack_require__) {
2995
2795
 
2996
2796
  "use strict";
@@ -3009,7 +2809,7 @@ var i18n_1 = __webpack_require__(2);
3009
2809
 
3010
2810
  var Message_1 = __webpack_require__(12);
3011
2811
 
3012
- var FixedSizeContainer_1 = __webpack_require__(17);
2812
+ var FixedSizeContainer_1 = __webpack_require__(18);
3013
2813
  /**
3014
2814
  * @method isMissing
3015
2815
  * @param {any} v
@@ -3071,7 +2871,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
3071
2871
 
3072
2872
  /***/ }),
3073
2873
 
3074
- /***/ 64:
2874
+ /***/ 63:
3075
2875
  /***/ (function(module, exports, __webpack_require__) {
3076
2876
 
3077
2877
  "use strict";
@@ -3085,14 +2885,14 @@ var React = __webpack_require__(0);
3085
2885
 
3086
2886
  var styled_components_1 = __webpack_require__(4);
3087
2887
 
3088
- var hocUtils_1 = __webpack_require__(23);
2888
+ var hocUtils_1 = __webpack_require__(24);
3089
2889
 
3090
2890
  var Cover = styled_components_1.default.div.withConfig({
3091
2891
  displayName: "withEditModeCover__Cover",
3092
2892
  componentId: "sc-1gsbnxb-0"
3093
2893
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
3094
2894
  var Blocker = styled_components_1.default.div.attrs({
3095
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
2895
+ 'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
3096
2896
  }).withConfig({
3097
2897
  displayName: "withEditModeCover__Blocker",
3098
2898
  componentId: "sc-1gsbnxb-1"
@@ -3124,7 +2924,7 @@ exports.default = withEditModeCover;
3124
2924
 
3125
2925
  /***/ }),
3126
2926
 
3127
- /***/ 65:
2927
+ /***/ 64:
3128
2928
  /***/ (function(module, exports, __webpack_require__) {
3129
2929
 
3130
2930
  "use strict";
@@ -3136,15 +2936,15 @@ Object.defineProperty(exports, "__esModule", {
3136
2936
 
3137
2937
  var React = __webpack_require__(0);
3138
2938
 
3139
- var colorUtils_1 = __webpack_require__(15);
2939
+ var colorUtils_1 = __webpack_require__(16);
3140
2940
 
3141
- var variables_1 = __webpack_require__(13);
2941
+ var variables_1 = __webpack_require__(14);
3142
2942
 
3143
2943
  var IconPlaceholder_1 = __webpack_require__(37);
3144
2944
 
3145
- var VizBehavior_1 = __webpack_require__(6);
2945
+ var VizBehavior_1 = __webpack_require__(8);
3146
2946
 
3147
- var hocUtils_1 = __webpack_require__(23);
2947
+ var hocUtils_1 = __webpack_require__(24);
3148
2948
 
3149
2949
  var withPlaceholder = function withPlaceholder(Visualization) {
3150
2950
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -3189,13 +2989,13 @@ exports.default = withPlaceholder;
3189
2989
 
3190
2990
  /***/ }),
3191
2991
 
3192
- /***/ 66:
2992
+ /***/ 65:
3193
2993
  /***/ (function(module, exports, __webpack_require__) {
3194
2994
 
3195
2995
  "use strict";
3196
2996
 
3197
2997
 
3198
- var _slicedToArray = __webpack_require__(7);
2998
+ var _slicedToArray = __webpack_require__(6);
3199
2999
 
3200
3000
  Object.defineProperty(exports, "__esModule", {
3201
3001
  value: true
@@ -3205,11 +3005,11 @@ var react_1 = __webpack_require__(0);
3205
3005
 
3206
3006
  var lodash_1 = __webpack_require__(3);
3207
3007
 
3208
- var dataUtils_1 = __webpack_require__(14);
3008
+ var dataUtils_1 = __webpack_require__(15);
3209
3009
 
3210
3010
  var usePrevious_1 = __webpack_require__(33);
3211
3011
 
3212
- var useGetXAndYFields_1 = __webpack_require__(67);
3012
+ var useGetXAndYFields_1 = __webpack_require__(66);
3213
3013
 
3214
3014
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
3215
3015
  var dataSources = _ref.dataSources,
@@ -3279,13 +3079,13 @@ exports.default = useDownsampleDataSources;
3279
3079
 
3280
3080
  /***/ }),
3281
3081
 
3282
- /***/ 67:
3082
+ /***/ 66:
3283
3083
  /***/ (function(module, exports, __webpack_require__) {
3284
3084
 
3285
3085
  "use strict";
3286
3086
 
3287
3087
 
3288
- var _toConsumableArray = __webpack_require__(8);
3088
+ var _toConsumableArray = __webpack_require__(7);
3289
3089
 
3290
3090
  Object.defineProperty(exports, "__esModule", {
3291
3091
  value: true
@@ -3293,7 +3093,7 @@ Object.defineProperty(exports, "__esModule", {
3293
3093
 
3294
3094
  var react_1 = __webpack_require__(0);
3295
3095
 
3296
- var Options_1 = __webpack_require__(16);
3096
+ var Options_1 = __webpack_require__(17);
3297
3097
  /**
3298
3098
  * Hook that evaluates the DSL for subset of a viz's options needed to determine
3299
3099
  * its x and y fields as well as the types of all its fields.
@@ -3394,7 +3194,7 @@ exports.default = useGetXAndYFields;
3394
3194
 
3395
3195
  /***/ }),
3396
3196
 
3397
- /***/ 68:
3197
+ /***/ 67:
3398
3198
  /***/ (function(module, exports, __webpack_require__) {
3399
3199
 
3400
3200
  "use strict";
@@ -3405,7 +3205,7 @@ Object.defineProperty(exports, "__esModule", {
3405
3205
  });
3406
3206
  exports.getFeatureFlag = void 0;
3407
3207
 
3408
- var FeatureFlags_1 = __webpack_require__(69);
3208
+ var FeatureFlags_1 = __webpack_require__(68);
3409
3209
 
3410
3210
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
3411
3211
  // look for feature flag in context first
@@ -3430,7 +3230,7 @@ exports.getFeatureFlag = getFeatureFlag;
3430
3230
 
3431
3231
  /***/ }),
3432
3232
 
3433
- /***/ 69:
3233
+ /***/ 68:
3434
3234
  /***/ (function(module, exports) {
3435
3235
 
3436
3236
  module.exports = require("@splunk/visualization-context/FeatureFlags");
@@ -3440,11 +3240,11 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
3440
3240
  /***/ 7:
3441
3241
  /***/ (function(module, exports) {
3442
3242
 
3443
- module.exports = require("@babel/runtime/helpers/slicedToArray");
3243
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
3444
3244
 
3445
3245
  /***/ }),
3446
3246
 
3447
- /***/ 72:
3247
+ /***/ 71:
3448
3248
  /***/ (function(module, exports) {
3449
3249
 
3450
3250
  module.exports = require("@splunk/visualization-icons/placeholders");
@@ -3452,13 +3252,6 @@ module.exports = require("@splunk/visualization-icons/placeholders");
3452
3252
  /***/ }),
3453
3253
 
3454
3254
  /***/ 73:
3455
- /***/ (function(module, exports) {
3456
-
3457
- module.exports = require("@splunk/visualization-color-palettes");
3458
-
3459
- /***/ }),
3460
-
3461
- /***/ 75:
3462
3255
  /***/ (function(module, exports, __webpack_require__) {
3463
3256
 
3464
3257
  "use strict";
@@ -3489,27 +3282,34 @@ exports.default = background;
3489
3282
 
3490
3283
  /***/ }),
3491
3284
 
3492
- /***/ 77:
3285
+ /***/ 75:
3286
+ /***/ (function(module, exports) {
3287
+
3288
+ module.exports = require("@splunk/visualization-color-palettes");
3289
+
3290
+ /***/ }),
3291
+
3292
+ /***/ 76:
3493
3293
  /***/ (function(module, exports) {
3494
3294
 
3495
3295
  module.exports = require("@splunk/charting-bundle");
3496
3296
 
3497
3297
  /***/ }),
3498
3298
 
3499
- /***/ 78:
3299
+ /***/ 77:
3500
3300
  /***/ (function(module, exports) {
3501
3301
 
3502
3302
  module.exports = require("@splunk/themes/useSplunkTheme");
3503
3303
 
3504
3304
  /***/ }),
3505
3305
 
3506
- /***/ 79:
3306
+ /***/ 78:
3507
3307
  /***/ (function(module, exports, __webpack_require__) {
3508
3308
 
3509
3309
  "use strict";
3510
3310
 
3511
3311
 
3512
- var _toConsumableArray = __webpack_require__(8);
3312
+ var _toConsumableArray = __webpack_require__(7);
3513
3313
 
3514
3314
  var __rest = this && this.__rest || function (s, e) {
3515
3315
  var t = {};
@@ -3742,13 +3542,46 @@ exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
3742
3542
  /***/ }),
3743
3543
 
3744
3544
  /***/ 8:
3745
- /***/ (function(module, exports) {
3545
+ /***/ (function(module, exports, __webpack_require__) {
3546
+
3547
+ "use strict";
3746
3548
 
3747
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
3549
+
3550
+ Object.defineProperty(exports, "__esModule", {
3551
+ value: true
3552
+ });
3553
+ exports.VizBehavior = void 0;
3554
+ var VizBehavior;
3555
+
3556
+ (function (VizBehavior) {
3557
+ /**
3558
+ * Dynamic Options Behavior.
3559
+ * This allows visualization options to be powered by data
3560
+ *
3561
+ * **Example**
3562
+ *
3563
+ * sparklineValues: ">primary|seriesByIndex(0)"
3564
+ * would configure sparklineValues with an array of data points
3565
+ * coming from the first series in the primary datasource
3566
+ *
3567
+ */
3568
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
3569
+ VizBehavior["EVENTS"] = "events";
3570
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
3571
+ /**
3572
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
3573
+ * missing.
3574
+ * @type {string}
3575
+ */
3576
+
3577
+ VizBehavior["PLACEHOLDER"] = "placeholder";
3578
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
3579
+ VizBehavior["TRELLIS"] = "trellis";
3580
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
3748
3581
 
3749
3582
  /***/ }),
3750
3583
 
3751
- /***/ 87:
3584
+ /***/ 85:
3752
3585
  /***/ (function(module, exports, __webpack_require__) {
3753
3586
 
3754
3587
  "use strict";
@@ -3764,7 +3597,7 @@ var lodash_1 = __webpack_require__(3);
3764
3597
 
3765
3598
  var i18n_1 = __webpack_require__(2);
3766
3599
 
3767
- var visualization_color_palettes_1 = __webpack_require__(73);
3600
+ var visualization_color_palettes_1 = __webpack_require__(75);
3768
3601
 
3769
3602
  var react_1 = __webpack_require__(0);
3770
3603
 
@@ -3772,32 +3605,32 @@ var React = __webpack_require__(0);
3772
3605
 
3773
3606
  var T = __webpack_require__(1);
3774
3607
 
3775
- var react_event_listener_1 = __webpack_require__(88);
3608
+ var react_event_listener_1 = __webpack_require__(86);
3776
3609
 
3777
- __webpack_require__(89); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
3610
+ __webpack_require__(87); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
3778
3611
 
3779
3612
 
3780
- var charting_bundle_1 = __webpack_require__(77);
3613
+ var charting_bundle_1 = __webpack_require__(76);
3781
3614
 
3782
3615
  var TimezoneContext_1 = __webpack_require__(32);
3783
3616
 
3784
- var style_1 = __webpack_require__(18);
3617
+ var style_1 = __webpack_require__(19);
3785
3618
 
3786
3619
  var styled_components_1 = __webpack_require__(4);
3787
3620
 
3788
3621
  var Message_1 = __webpack_require__(12);
3789
3622
 
3790
- var useSplunkTheme_1 = __webpack_require__(78);
3623
+ var useSplunkTheme_1 = __webpack_require__(77);
3791
3624
 
3792
- var themeUtils_1 = __webpack_require__(90);
3625
+ var themeUtils_1 = __webpack_require__(88);
3793
3626
 
3794
- var ChartingApi_1 = __webpack_require__(91);
3627
+ var ChartingApi_1 = __webpack_require__(89);
3795
3628
 
3796
3629
  var usePrevious_1 = __webpack_require__(33);
3797
3630
 
3798
- var useEventCallback_1 = __webpack_require__(92);
3631
+ var useEventCallback_1 = __webpack_require__(90);
3799
3632
 
3800
- var dataUtils_1 = __webpack_require__(14);
3633
+ var dataUtils_1 = __webpack_require__(15);
3801
3634
 
3802
3635
  exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
3803
3636
 
@@ -4212,41 +4045,34 @@ exports.default = withEmptyChartMessage(Charting);
4212
4045
 
4213
4046
  /***/ }),
4214
4047
 
4215
- /***/ 88:
4048
+ /***/ 86:
4216
4049
  /***/ (function(module, exports) {
4217
4050
 
4218
4051
  module.exports = require("react-event-listener");
4219
4052
 
4220
4053
  /***/ }),
4221
4054
 
4222
- /***/ 89:
4055
+ /***/ 87:
4223
4056
  /***/ (function(module, exports) {
4224
4057
 
4225
4058
  module.exports = require("@splunk/visualizations-shared/i18n");
4226
4059
 
4227
4060
  /***/ }),
4228
4061
 
4229
- /***/ 9:
4230
- /***/ (function(module, exports) {
4231
-
4232
- module.exports = require("@babel/runtime/helpers/defineProperty");
4233
-
4234
- /***/ }),
4235
-
4236
- /***/ 90:
4062
+ /***/ 88:
4237
4063
  /***/ (function(module, exports) {
4238
4064
 
4239
4065
  module.exports = require("@splunk/visualizations-shared/themeUtils");
4240
4066
 
4241
4067
  /***/ }),
4242
4068
 
4243
- /***/ 91:
4069
+ /***/ 89:
4244
4070
  /***/ (function(module, exports, __webpack_require__) {
4245
4071
 
4246
4072
  "use strict";
4247
4073
 
4248
4074
 
4249
- var _classCallCheck = __webpack_require__(10);
4075
+ var _classCallCheck = __webpack_require__(9);
4250
4076
 
4251
4077
  var _createClass = __webpack_require__(25);
4252
4078
 
@@ -4309,7 +4135,14 @@ exports.ChartingApiFunctional = ChartingApiFunctional;
4309
4135
 
4310
4136
  /***/ }),
4311
4137
 
4312
- /***/ 92:
4138
+ /***/ 9:
4139
+ /***/ (function(module, exports) {
4140
+
4141
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
4142
+
4143
+ /***/ }),
4144
+
4145
+ /***/ 90:
4313
4146
  /***/ (function(module, exports, __webpack_require__) {
4314
4147
 
4315
4148
  "use strict";
@@ -4335,7 +4168,7 @@ exports.default = useEventCallback;
4335
4168
 
4336
4169
  /***/ }),
4337
4170
 
4338
- /***/ 93:
4171
+ /***/ 91:
4339
4172
  /***/ (function(module, exports) {
4340
4173
 
4341
4174
  module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");