@splunk/visualizations 24.0.0 → 24.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 (238) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
  2. package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Too_Small_to_Render.png +0 -0
  3. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Background_Color.png +0 -0
  4. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order.png +0 -0
  5. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_First_And_Last.png +0 -0
  6. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_Some.png +0 -0
  7. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields_Columns.png +0 -0
  8. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Handles_Large_Data_Set.png +0 -0
  9. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Color.png +0 -0
  10. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Width.png +0 -0
  11. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Color.png +0 -0
  12. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Height.png +0 -0
  13. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Highlight_Color.png +0 -0
  14. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_X.png +0 -0
  15. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_Y.png +0 -0
  16. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Width.png +0 -0
  17. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Result_Limit.png +0 -0
  18. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Node_Counts_False.png +0 -0
  19. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Value_Counts_False.png +0 -0
  20. package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Width_Height.png +0 -0
  21. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Dark.png +0 -0
  22. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Hover.png +0 -0
  23. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Light.png +0 -0
  24. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_base_map_light.png +0 -0
  25. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
  26. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_dynamic_color.png +0 -0
  27. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_geostats_by.png +0 -0
  28. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color.png +0 -0
  29. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color_with_no_seriesColors.png +0 -0
  30. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_center_seattle.png +0 -0
  31. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
  32. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
  33. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
  34. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
  35. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.png +0 -0
  36. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_zoom_9.png +0 -0
  37. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_from.png +0 -0
  38. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_to.png +0 -0
  39. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_discontinuous_ranges.png +0 -0
  40. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_equals_to_to.png +0 -0
  41. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_is_larger_than_to.png +0 -0
  42. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_missing_entries.png +0 -0
  43. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
  44. package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Too_Small_to_Render.png +0 -0
  45. package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_less_than_minWidth_300_and_minHeight_200.png +0 -0
  46. package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_invalid_columns_data.png +0 -0
  47. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  48. package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Missing_Props_Message_When_No_Svg.png +0 -0
  49. package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
  50. package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_IANA_timezone.png +0 -0
  51. package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_serialized_timezone.png +0 -0
  52. package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_utc_timezone.png +0 -0
  53. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Basic_LinkGraph.png +0 -0
  54. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_First_and_Last_Fields.png +0 -0
  55. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_First_to_the_Last_Fields.png +0 -0
  56. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_Last_to_the_First_Fields.png +0 -0
  57. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Node_Text_Color.png +0 -0
  58. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Node_Text_Highlight_Color.png +0 -0
  59. package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Result_Limit_3.png +0 -0
  60. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
  61. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
  62. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
  63. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
  64. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
  65. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
  66. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
  67. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
  68. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
  69. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_with_geostats_data_No_render.png +0 -0
  70. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
  71. package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Missing_Column.png +0 -0
  72. package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Dimension_Too_Small.png +0 -0
  73. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_By_Type_Custom.png +0 -0
  74. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Default.png +0 -0
  75. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Kitchen_Sink.png +0 -0
  76. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
  77. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Single_Column.png +0 -0
  78. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Color_light_blue.png +0 -0
  79. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_No_Stripe.png +0 -0
  80. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Stripe.png +0 -0
  81. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table.png +0 -0
  82. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table_With_No_Click.png +0 -0
  83. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
  84. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Gradient.png +0 -0
  85. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Override.png +0 -0
  86. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width.png +0 -0
  87. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Count_2.png +0 -0
  88. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Header_Colors.png +0 -0
  89. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Row_Colors.png +0 -0
  90. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Stripe.png +0 -0
  91. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_No_Stripe.png +0 -0
  92. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_Stripe.png +0 -0
  93. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number.png +0 -0
  94. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number_Adv.png +0 -0
  95. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
  96. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_none.png +0 -0
  97. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
  98. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
  99. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Invalid_Background_Color.png +0 -0
  100. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Multi_Value_Field.png +0 -0
  101. package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes.png +0 -0
  102. package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes_Row_Numbers.png +0 -0
  103. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_false.png +0 -0
  104. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_true_default.png +0 -0
  105. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Row_Numbers_true.png +0 -0
  106. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
  107. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
  108. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
  109. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
  110. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Formatting.png +0 -0
  111. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Gradient.png +0 -0
  112. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
  113. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Height.png +0 -0
  114. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Percentage.png +0 -0
  115. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Px.png +0 -0
  116. package/Area.config.js +19 -15
  117. package/Area.config.js.map +1 -1
  118. package/Area.js +102 -82
  119. package/Area.js.map +1 -1
  120. package/Bar.config.js +15 -15
  121. package/Bar.config.js.map +1 -1
  122. package/Bar.js +91 -75
  123. package/Bar.js.map +1 -1
  124. package/Bubble.config.js +8 -8
  125. package/Bubble.config.js.map +1 -1
  126. package/Bubble.js +82 -66
  127. package/Bubble.js.map +1 -1
  128. package/ChoroplethSvg.config.js +11 -9
  129. package/ChoroplethSvg.config.js.map +1 -1
  130. package/ChoroplethSvg.js +92 -82
  131. package/ChoroplethSvg.js.map +1 -1
  132. package/Column.config.js +15 -15
  133. package/Column.config.js.map +1 -1
  134. package/Column.js +91 -75
  135. package/Column.js.map +1 -1
  136. package/Ellipse.config.js +22 -6
  137. package/Ellipse.config.js.map +1 -1
  138. package/Ellipse.js +80 -56
  139. package/Ellipse.js.map +1 -1
  140. package/FillerGauge.config.js +8 -8
  141. package/FillerGauge.config.js.map +1 -1
  142. package/FillerGauge.js +64 -56
  143. package/FillerGauge.js.map +1 -1
  144. package/Image.js +46 -41
  145. package/Image.js.map +1 -1
  146. package/Line.config.js +8 -8
  147. package/Line.config.js.map +1 -1
  148. package/Line.js +89 -73
  149. package/Line.js.map +1 -1
  150. package/LinkGraph.config.js +52 -5
  151. package/LinkGraph.config.js.map +1 -1
  152. package/LinkGraph.js +161 -90
  153. package/LinkGraph.js.map +1 -1
  154. package/Map.config.js +740 -0
  155. package/Map.config.js.map +1 -0
  156. package/Map.js +3137 -0
  157. package/Map.js.map +1 -0
  158. package/Markdown.config.js +12 -16
  159. package/Markdown.config.js.map +1 -1
  160. package/Markdown.js +57 -56
  161. package/Markdown.js.map +1 -1
  162. package/MarkerGauge.config.js +6 -6
  163. package/MarkerGauge.config.js.map +1 -1
  164. package/MarkerGauge.js +2960 -3046
  165. package/MarkerGauge.js.map +1 -1
  166. package/ParallelCoordinates.config.js +11 -11
  167. package/ParallelCoordinates.config.js.map +1 -1
  168. package/ParallelCoordinates.js +97 -78
  169. package/ParallelCoordinates.js.map +1 -1
  170. package/Pie.config.js +13 -17
  171. package/Pie.config.js.map +1 -1
  172. package/Pie.js +917 -999
  173. package/Pie.js.map +1 -1
  174. package/Punchcard.config.js +11 -11
  175. package/Punchcard.config.js.map +1 -1
  176. package/Punchcard.js +114 -95
  177. package/Punchcard.js.map +1 -1
  178. package/README.internal.md +36 -3
  179. package/README.md +7 -9
  180. package/Rectangle.config.js +32 -16
  181. package/Rectangle.config.js.map +1 -1
  182. package/Rectangle.js +153 -132
  183. package/Rectangle.js.map +1 -1
  184. package/Sankey.config.js +35 -25
  185. package/Sankey.config.js.map +1 -1
  186. package/Sankey.js +2951 -3045
  187. package/Sankey.js.map +1 -1
  188. package/Scatter.config.js +11 -11
  189. package/Scatter.config.js.map +1 -1
  190. package/Scatter.js +301 -286
  191. package/Scatter.js.map +1 -1
  192. package/SingleValue.config.js +23 -22
  193. package/SingleValue.config.js.map +1 -1
  194. package/SingleValue.js +271 -266
  195. package/SingleValue.js.map +1 -1
  196. package/SingleValueBasic.js +14 -14
  197. package/SingleValueBasic.js.map +1 -1
  198. package/SingleValueIcon.config.js +33 -34
  199. package/SingleValueIcon.config.js.map +1 -1
  200. package/SingleValueIcon.js +156 -140
  201. package/SingleValueIcon.js.map +1 -1
  202. package/SingleValueRadial.config.js +22 -22
  203. package/SingleValueRadial.config.js.map +1 -1
  204. package/SingleValueRadial.js +301 -296
  205. package/SingleValueRadial.js.map +1 -1
  206. package/Table.config.js +28 -8
  207. package/Table.config.js.map +1 -1
  208. package/Table.js +427 -259
  209. package/Table.js.map +1 -1
  210. package/common/Charting.js +19 -10
  211. package/common/Charting.js.map +1 -1
  212. package/common/EventsDoc.js +3 -2
  213. package/common/EventsDoc.js.map +1 -1
  214. package/common/GaugeMajorTicks.js +2 -2
  215. package/common/GaugeMajorTicks.js.map +1 -1
  216. package/common/GaugeValueMarker.js +2 -2
  217. package/common/GaugeValueMarker.js.map +1 -1
  218. package/common/OptionsDoc.js +10 -9
  219. package/common/OptionsDoc.js.map +1 -1
  220. package/common/OverviewDoc.js +22 -22
  221. package/common/OverviewDoc.js.map +1 -1
  222. package/common/SplunkVisualizationApi.js +2 -2
  223. package/common/SplunkVisualizationApi.js.map +1 -1
  224. package/common/ThemesDoc.js +2 -2
  225. package/common/ThemesDoc.js.map +1 -1
  226. package/common/chartingUtils.js +2 -2
  227. package/common/chartingUtils.js.map +1 -1
  228. package/common/docUtils.js +4 -4
  229. package/common/docUtils.js.map +1 -1
  230. package/common/gaugeUtils.js +7 -7
  231. package/common/gaugeUtils.js.map +1 -1
  232. package/common/shapeUtils.js +8 -8
  233. package/common/shapeUtils.js.map +1 -1
  234. package/common/withDashboardViz.js +38 -32
  235. package/common/withDashboardViz.js.map +1 -1
  236. package/loki.config.js +2 -0
  237. package/package.json +20 -15
  238. package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Indicator_Position_pushed_below_value_does_not_fit_inside_of_radial.png +0 -0
package/Column.config.js CHANGED
@@ -390,6 +390,12 @@ module.exports = require("@splunk/visualization-icons");
390
390
 
391
391
  /***/ }),
392
392
  /* 10 */
393
+ /***/ (function(module, exports) {
394
+
395
+ module.exports = require("@splunk/visualization-color-palettes");
396
+
397
+ /***/ }),
398
+ /* 11 */
393
399
  /***/ (function(module, exports, __webpack_require__) {
394
400
 
395
401
  "use strict";
@@ -418,12 +424,6 @@ var background = function background(_ref) {
418
424
 
419
425
  exports.default = background;
420
426
 
421
- /***/ }),
422
- /* 11 */
423
- /***/ (function(module, exports) {
424
-
425
- module.exports = require("@splunk/visualization-color-palettes");
426
-
427
427
  /***/ }),
428
428
  /* 12 */,
429
429
  /* 13 */
@@ -516,25 +516,25 @@ exports.default = legend;
516
516
  /* 15 */,
517
517
  /* 16 */,
518
518
  /* 17 */,
519
- /* 18 */
519
+ /* 18 */,
520
+ /* 19 */
520
521
  /***/ (function(module, exports) {
521
522
 
522
523
  module.exports = require("@splunk/react-icons/BarBeside");
523
524
 
524
525
  /***/ }),
525
- /* 19 */
526
+ /* 20 */
526
527
  /***/ (function(module, exports) {
527
528
 
528
529
  module.exports = require("@splunk/react-icons/BarStacked");
529
530
 
530
531
  /***/ }),
531
- /* 20 */
532
+ /* 21 */
532
533
  /***/ (function(module, exports) {
533
534
 
534
535
  module.exports = require("@splunk/react-icons/BarStacked100");
535
536
 
536
537
  /***/ }),
537
- /* 21 */,
538
538
  /* 22 */,
539
539
  /* 23 */,
540
540
  /* 24 */,
@@ -571,17 +571,17 @@ var schemaUtils_1 = __webpack_require__(3);
571
571
 
572
572
  var i18n_1 = __webpack_require__(0);
573
573
 
574
- var BarBeside_1 = __webpack_require__(18);
574
+ var BarBeside_1 = __webpack_require__(19);
575
575
 
576
- var BarStacked_1 = __webpack_require__(19);
576
+ var BarStacked_1 = __webpack_require__(20);
577
577
 
578
- var BarStacked100_1 = __webpack_require__(20);
578
+ var BarStacked100_1 = __webpack_require__(21);
579
579
 
580
580
  var pick_1 = __webpack_require__(7);
581
581
 
582
582
  var variables_1 = __webpack_require__(8);
583
583
 
584
- var visualization_color_palettes_1 = __webpack_require__(11);
584
+ var visualization_color_palettes_1 = __webpack_require__(10);
585
585
 
586
586
  var VizBehavior_1 = __webpack_require__(2);
587
587
 
@@ -593,7 +593,7 @@ var Axes_1 = __webpack_require__(13);
593
593
 
594
594
  var Legend_1 = __webpack_require__(14);
595
595
 
596
- var BackgroundColor_1 = __webpack_require__(10);
596
+ var BackgroundColor_1 = __webpack_require__(11);
597
597
 
598
598
  var dataContract = {
599
599
  requiredDataSources: [{
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/ui-utils/i18n\"","webpack:///./src/common/utils/configUtils.ts","webpack:///./src/common/interfaces/VizBehavior.ts","webpack:///external \"@splunk/visualizations-shared/schemaUtils\"","webpack:///external \"lodash\"","webpack:///./src/common/interfaces/VizCategory.ts","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@splunk/themes/pick\"","webpack:///external \"@splunk/themes/variables\"","webpack:///external \"@splunk/visualization-icons\"","webpack:///./src/common/editorConfig/BackgroundColor.ts","webpack:///external \"@splunk/visualization-color-palettes\"","webpack:///./src/common/editorConfig/Axes.ts","webpack:///./src/common/editorConfig/Legend.ts","webpack:///external \"@splunk/react-icons/BarBeside\"","webpack:///external \"@splunk/react-icons/BarStacked\"","webpack:///external \"@splunk/react-icons/BarStacked100\"","webpack:///./src/Column/config.ts"],"names":[],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;AClFA,kD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;;AACA;;AAEA;;AAUA,IAAM,qBAAqB,GAAG;AAC1B,MAAI,EAAE,QADoB;AAE1B,SAAO,EAAE;AAFiB,CAA9B;AAKA;;;;AAIG;;AACH,SAAS,sCAAT,CACI,aADJ,EACwD;AAEpD,MAAM,qBAAqB,GAAkB,EAA7C;AACA,QAAM,CAAC,IAAP,CAAY,aAAZ,EAA2B,OAA3B,CAAmC,UAAC,GAAD,EAAc;AACvC,aAgBF,aAAa,CAhBX,GAgBW,CAhBX;AAAA,QAIF,KAJE,GAae,EAbf,CAIF,KAJE;AAAA,QAKF,WALE,GAae,EAbf,CAKF,WALE;A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;AAGI,UAAM,EAAE,iBAHZ;AAII,eAAW,EAAE;AACT,YAAM,EAAE,CACJ;AAAE,aAAK,EAAE,SAAE,KAAF,CAAT;AAAmB,aAAK,EAAE;AAA1B,OADI,EAEJ;AAAE,aAAK,EAAE,SAAE,IAAF,CAAT;AAAkB,aAAK,EAAE;AAAzB,OAFI,EAGJ;AAAE,aAAK,EAAE,SAAE,SAAF,CAAT;AAAuB,aAAK,EAAE;AAA9B,OAHI;AADC;AAJjB,GADJ,CAhBI;AAFZ,CADiC,EAmCjC,cAnCiC,EAoCjC,gBApCiC,CAArC;AAuCA;;AAEG;;AACH,IAAM,MAAM,GAAc;AACtB;;AAEG;AACH,KAAG,EAAE,eAJiB;;AAKtB;;AAEG;AACH,MAAI,EAAE,QARgB;AAStB,UAAQ,EAAE,0BAAY,WATA;;AAUtB;;AAEG;AACH,MAAI,EAAE,4BAbgB;AActB,cAAY,EAAZ,YAdsB;AAetB,MAAI,EAAJ,IAfsB;AAgBtB,gBAAc,EAAd,cAhBsB;AAiBtB,eAAa,EAAb,qBAjBsB;AAkBtB,cAAY,EAAZ,YAlBsB;AAmBtB,QAAM,EAAE;AACJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KADZ;AAIJ,mBAAe;AACX,iBAAW,EAAE;AADF,KAJX;AAOJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KAPZ;AAUJ,uBAAmB;AACf,iBAAW,EAAE;AADE,KAVf;AAaJ,sBAAkB;AACd,iBAAW,EAAE;AADC;AAbd,GAnBc;AAoCtB,UAAQ,EAAE,CAAC,0BAAY,eAAb,EAA8B,0BAAY,WAA1C,CApCY;AAqCtB,QAAM,EAAN;AArCsB,CAA1B;AAwCA,kBAAe,4BAAc,MAAd,CAAf,C","file":"Column.config.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 41);\n","module.exports = require(\"@splunk/ui-utils/i18n\");","import { get, range } from 'lodash';\nimport { DYNAMIC_OPTIONS_DSL_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport type { JSONSchema7Definition } from 'json-schema';\nimport { VizBehavior } from '../interfaces/VizBehavior';\nimport { VizConfig } from '../interfaces/VizConfig';\nimport { OptionsSchema } from '../interfaces/OptionsSchema';\n\nexport interface PresetEntry {\n name: string;\n value: any;\n label: string;\n}\n\nconst dynamicOptionsDSLType = {\n type: 'string',\n pattern: DYNAMIC_OPTIONS_DSL_PATTERN,\n} as const;\n\n/**\n * Helper function to extend an options schema with dynamic options DSL\n * @param optionsSchema a visualization's options schema\n * @returns an updated options schema that additionally allows strings starting with > for each option\n */\nfunction enhanceOptionsSchemaWithDynamicOptions(\n optionsSchema: OptionsSchema | JSONSchema7Definition\n): OptionsSchema {\n const enhancedOptionsSchema: OptionsSchema = {};\n Object.keys(optionsSchema).forEach((key): void => {\n const {\n // The next a few are schema annotations, we should leave them as is.\n // Note: in reality we don't use `readOnly`, `writeOnly` or `examples`, but they are listed here for completeness.\n // Ref: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01\n title,\n description,\n readOnly,\n writeOnly,\n examples,\n default: defaultValue,\n // The next a few need special care\n type,\n properties,\n patternProperties,\n // The rest should be handled together\n ...remainingSchemaEntry\n } = optionsSchema[key];\n\n const annotations = {\n ...(title !== undefined && { title }),\n ...(description !== undefined && { description }),\n ...(readOnly !== undefined && { readOnly }),\n ...(writeOnly !== undefined && { writeOnly }),\n ...(examples !== undefined && { examples }),\n ...(defaultValue !== undefined && { default: defaultValue }),\n };\n\n if (type === 'object') {\n enhancedOptionsSchema[key] = {\n ...remainingSchemaEntry,\n ...annotations,\n type,\n ...(properties && { properties: enhanceOptionsSchemaWithDynamicOptions(properties) }),\n };\n if (patternProperties) {\n let enhancedPatternProperties = {};\n Object.keys(patternProperties).forEach((opt): void => {\n enhancedPatternProperties = {\n ...enhancedPatternProperties,\n ...enhanceOptionsSchemaWithDynamicOptions({ [opt]: patternProperties[opt] }),\n };\n });\n enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;\n }\n } else {\n enhancedOptionsSchema[key] = {\n ...annotations,\n anyOf: [\n // we can't assume `type` is always there because there are `enum` and `const`.\n { ...(type !== undefined && { type }), ...remainingSchemaEntry },\n dynamicOptionsDSLType,\n ],\n };\n }\n });\n return enhancedOptionsSchema;\n}\n\n/**\n * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block\n * @param vizConfig a Visualization Config\n * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports\n */\nfunction enhanceConfig(vizConfig: VizConfig): VizConfig {\n const enhancedConfig: VizConfig = vizConfig;\n if (vizConfig.supports.indexOf(VizBehavior.DYNAMIC_OPTIONS) !== -1) {\n enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);\n }\n return enhancedConfig;\n}\n\nfunction isDynamicOption(option?: string): boolean {\n return (option && typeof option === 'string' && option.trim().startsWith('>')) || false;\n}\n\n// private helpers to improve readability of getInitialPreset\n// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset\n\n/**\n * this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset\n * if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset\n * the inverse is true; if a preset has key is NOT undefined, it must also be NOT undefined in the corresponding vizContext\n * the internal config contents are irrelevant (as the user could customize them in source), just as long as the presence of `undefined`s match up\n *\n * Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values\n */\nfunction hasCompatibleContexts(\n vizContext: { [configKey: string]: any },\n presetContext: { [configKey: string]: any }\n): boolean {\n const presetContextKeys = Object.keys(presetContext);\n return presetContextKeys.every(\n (contextKey): boolean =>\n (presetContext[contextKey] === undefined && vizContext[contextKey] === undefined) ||\n (presetContext[contextKey] !== undefined && vizContext[contextKey] !== undefined)\n );\n}\n\n/**\n * Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions\n */\nfunction hasCompatibleOptions(\n vizOptions: { [configKey: string]: any },\n presetOptions: { [configKey: string]: any }\n): boolean {\n const presetOptionKeys = Object.keys(presetOptions);\n return presetOptionKeys.every(\n (optionKey): boolean =>\n isDynamicOption(presetOptions[optionKey]) === isDynamicOption(vizOptions[optionKey])\n );\n}\n\n/**\n * Evaluates whether there is an initialPreset that fits the current state of vizContext + vizOptions\n * This function ignores extraneous vizOptions or vizContext keys, as they could be outside the scope of what the preset is intended to configure\n *\n * @param {Object} vizContext - the current vizContext definition\n * @param {Object} vizOptions - the current vizOptions definition\n * @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset\n */\nfunction getInitialPreset(\n vizContext: { [configKey: string]: any },\n vizOptions: { [configKey: string]: any },\n presets: PresetEntry[]\n): PresetEntry | null {\n return presets.find((preset): boolean => {\n const presetContext = get(preset, ['value', 'context'], {});\n const presetOptions = get(preset, ['value', 'options'], {});\n const presetContextKeys = Object.keys(presetContext);\n const presetOptionKeys = Object.keys(presetOptions);\n\n // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)\n // if not, then the preset is invalid in config.ts\n if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;\n\n return (\n hasCompatibleContexts(vizContext, presetContext) &&\n hasCompatibleOptions(vizOptions, presetOptions)\n );\n });\n}\n\ninterface PrecisionOption {\n label: string;\n value: number;\n}\n\n/**\n * generates number precision values for a Select editor\n *\n * @param {Number} numPrecisionValues - number of integer precision values to generate\n * @returns {{ label: string; value; string }[]} array of { label, value } tuples\n */\nfunction generatePrecisionValues(numPrecisionValues: number): PrecisionOption[] {\n return range(0, numPrecisionValues + 1).map(\n (i): PrecisionOption => ({\n label: `${i} (0${i > 0 ? '.' : ''}${'0'.repeat(i)})`, // e.g. 0.000 for numPrecisionValues = 3\n value: i,\n })\n );\n}\n\nexport {\n enhanceConfig,\n enhanceOptionsSchemaWithDynamicOptions,\n isDynamicOption,\n getInitialPreset,\n generatePrecisionValues,\n};\n","export enum VizBehavior {\n /**\n * Dynamic Options Behavior.\n * This allows visualization options to be powered by data\n *\n * **Example**\n *\n * sparklineValues: \">primary|seriesByIndex(0)\"\n * would configure sparklineValues with an array of data points\n * coming from the first series in the primary datasource\n *\n */\n DYNAMIC_OPTIONS = 'dynamic-options',\n EVENTS = 'events',\n /**\n * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is\n * missing.\n * @type {string}\n */\n PLACEHOLDER = 'placeholder',\n PAGE_AND_SORT = 'page-and-sort',\n}\n","module.exports = require(\"@splunk/visualizations-shared/schemaUtils\");","module.exports = require(\"lodash\");","export enum VizCategory {\n SINGLE_VALUE = 'Single Value',\n TRENDS = 'Trends',\n COMPARISONS = 'Comparisons',\n TABLE = 'Table',\n GAUGE = 'Gauge',\n DISTRIBUTIONS = 'Distributions',\n CHOROPLETH = 'Choropleth Maps',\n SHAPES = 'Shapes',\n MISC = 'misc',\n FLOW = 'Flow',\n CORRELATION = 'Correlation',\n SPATIAL = 'Spatial',\n}\n","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@splunk/themes/pick\");","module.exports = require(\"@splunk/themes/variables\");","module.exports = require(\"@splunk/visualization-icons\");","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorLayoutConfig } from '../interfaces/Editor';\nimport { ThemedDefaults } from '../interfaces/ThemedDefaults';\n\ninterface backgroundEditorProps {\n label?: string;\n themes: ThemedDefaults;\n labelPosition?: string;\n}\n\nconst background: ({ label, themes, labelPosition }: backgroundEditorProps) => EditorLayoutConfig[] = ({\n label,\n themes,\n labelPosition,\n}) => [\n {\n label: _(label || 'Background'),\n option: 'backgroundColor',\n editor: 'editor.color',\n editorProps: {\n labelPosition: labelPosition || 'top',\n themes,\n },\n },\n];\n\nexport default background;\n","module.exports = require(\"@splunk/visualization-color-palettes\");","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst axes: EditorConfig = {\n label: _('Axes'),\n layout: [\n [\n {\n label: _('X Axis title'),\n option: 'xAxisTitleText',\n editor: 'editor.text',\n },\n ],\n [\n {\n label: _('Y Axis title'),\n option: 'yAxisTitleText',\n editor: 'editor.text',\n },\n ],\n ],\n};\n\nexport default axes;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst legend: EditorConfig = {\n label: _('Legend'),\n layout: [\n [\n {\n label: _('Position'),\n option: 'legendDisplay',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Right'), value: 'right' },\n { label: _('Left'), value: 'left' },\n { label: _('Top'), value: 'top' },\n { label: _('Bottom'), value: 'bottom' },\n { label: _('Off'), value: 'off' },\n ],\n },\n },\n ],\n [\n {\n label: _('Truncation'),\n option: 'legendTruncation',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('A...'), value: 'ellipsisEnd' },\n { label: _('A...Z'), value: 'ellipsisMiddle' },\n { label: _('...Z'), value: 'ellipsisStart' },\n { label: _('Off'), value: 'ellipsisOff' },\n ],\n },\n },\n ],\n ],\n};\n\nexport default legend;\n","module.exports = require(\"@splunk/react-icons/BarBeside\");","module.exports = require(\"@splunk/react-icons/BarStacked\");","module.exports = require(\"@splunk/react-icons/BarStacked100\");","import { Column as ColumnIcon } from '@splunk/visualization-icons';\nimport { COLOR_OR_TOKEN_PATTERN, getPattern } from '@splunk/visualizations-shared/schemaUtils';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport BarBeside from '@splunk/react-icons/BarBeside';\nimport BarStacked from '@splunk/react-icons/BarStacked';\nimport BarStacked100 from '@splunk/react-icons/BarStacked100';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { VIZ_CATEGORICAL } from '@splunk/visualization-color-palettes';\nimport { DataContract } from '../common/interfaces/DataContract';\nimport { DefaultContext } from '../common/interfaces/DefaultContext';\nimport { EditorConfig } from '../common/interfaces/Editor';\nimport { OptionsSchema } from '../common/interfaces/OptionsSchema';\nimport { ThemedDefaults } from '../common/interfaces/ThemedDefaults';\nimport { VizBehavior } from '../common/interfaces/VizBehavior';\nimport { VizCategory } from '../common/interfaces/VizCategory';\nimport { VizConfig } from '../common/interfaces/VizConfig';\nimport { VizSize } from '../common/interfaces/VizSize';\nimport { enhanceConfig } from '../common/utils/configUtils';\nimport AxesConfig from '../common/editorConfig/Axes';\nimport LegendConfig from '../common/editorConfig/Legend';\nimport getBackgroundColorEditor from '../common/editorConfig/BackgroundColor';\n\nconst dataContract: DataContract = {\n requiredDataSources: [\n {\n name: 'primary',\n description: 'DataSource that powers the visualization',\n },\n ],\n optionalDataSources: [\n // Note: SCP-14090 disable ui for optional datasources. We may need to add it back later\n // {\n // name: 'annotation',\n // description: 'DataSource that populate event annotations',\n // },\n ],\n initialRequestParams: {\n primary: { offset: 0, count: 10000 },\n annotation: { offset: 0, count: 10000 },\n },\n};\n\nconst size: VizSize = {\n initialWidth: 300,\n initialHeight: 300,\n};\n\nconst defaultContext: DefaultContext = {};\n\nexport const optionsSchema: OptionsSchema = {\n x: {\n default: '> primary | seriesByIndex(0)',\n description: 'Specify the dataSource applied to the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y: {\n default: '> primary | frameBySeriesIndexRange(1)',\n description: 'Specify the dataSource applied to the y-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y2: {\n description: 'Specify the dataSource applied to the y2-axis',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n xField: {\n default: '> x | getField()',\n description: 'Specify the field that should be mapped to the x-axis.',\n type: 'string',\n },\n yFields: {\n default: '> y | getField()',\n description: 'Specify the field that should be mapped to the y-axis.',\n type: 'string',\n },\n y2Fields: {\n default: '> y2 | getField()',\n description: 'Specify field(s) that should be mapped to a second y-axis.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\n },\n annotationColor: {\n description: `Specify the annotation colors. You may use a dataSource to apply the color. For example, [“#FF0000”, “#0000FF\", “#008000”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationLabel: {\n description: `Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [“houston, we have a problem”, “just close the jira”, “looking good now”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationX: {\n description: 'Specify the dataSource field applied to the event annotation on the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n backgroundColor: {\n default: '> themes.defaultBackgroundColor',\n description:\n '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\".',\n pattern: COLOR_OR_TOKEN_PATTERN,\n type: 'string',\n },\n dataValuesDisplay: {\n description:\n 'Specify whether chart should display no labels, all labels, or only the min and max labels.',\n type: 'string',\n pattern: getPattern(['off', 'all', 'minmax']),\n default: 'off',\n },\n columnGrouping: {\n default: 'auto',\n description:\n 'Specify the column grouping mode. If chart.stackMode is defined it will override grouping behavior.',\n pattern: getPattern(['auto', 'overlay']),\n type: 'string',\n },\n columnSpacing: {\n description: 'Specifies, in pixels, the spacing between columns in a column chart.',\n type: 'number',\n },\n legendDisplay: {\n description: 'Specify the location of the legend on the panel.',\n pattern: getPattern(['right', 'left', 'top', 'bottom', 'off']),\n type: 'string',\n default: 'right',\n },\n legendLabels: {\n description: `Specify a list of labels to pre-populate the legend. For example, [\"percent\", \"count\"].`,\n type: 'array',\n items: { type: 'string' },\n },\n legendTruncation: {\n description:\n 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',\n pattern: getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),\n type: 'string',\n default: 'ellipsisEnd',\n },\n lineWidth: {\n default: 2,\n description: 'Specify the line width, in pixels, for chart overlay.',\n type: 'number',\n },\n resultLimit: {\n default: 50000,\n description: 'Specify the number of data points rendered in a chart.',\n type: 'number',\n },\n seriesColors: {\n default: VIZ_CATEGORICAL,\n description: 'Specify the colors used for a series. For example, [\"#FF0000\", \"#0000FF\", \"#008000\"].',\n type: 'array',\n items: { type: 'string' },\n },\n seriesColorsByField: {\n description:\n 'Specify the colors used for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',\n type: 'object',\n },\n seriesSpacing: {\n description: 'Specify, in pixels, the spacing between clustered series in column and bar charts.',\n type: 'number',\n },\n stackMode: {\n description: 'Specify stack mode.',\n type: 'string',\n pattern: getPattern(['auto', 'stacked', 'stacked100']),\n default: 'auto',\n },\n showIndependentYRanges: {\n description: 'Specify whether split series charts have independent y-ranges.',\n type: 'boolean',\n default: false,\n },\n showSplitSeries: {\n description:\n 'Set to \"true\" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',\n type: 'boolean',\n default: false,\n },\n showTooltip: {\n description: 'Specify whether a tooltip should be visible on hover',\n type: 'boolean',\n default: true,\n },\n showXMajorGridLines: {\n description: 'Specify whether major grid lines are visible on the x-axis.',\n type: 'boolean',\n default: false,\n },\n showYMajorGridLines: {\n description: 'Specify whether major grid lines are visible on the y-axis.',\n type: 'boolean',\n default: true,\n },\n showY2MajorGridLines: {\n description: 'Specify whether major grid lines are visible on the y2-axis.',\n type: 'boolean',\n default: false,\n },\n showYMinorGridLines: {\n description: 'Specify whether minor grid lines are visible on the y-axis.',\n type: 'boolean',\n default: false,\n },\n showY2MinorGridLines: {\n description: 'Specify whether minor grid lines are visible on y2-axis.',\n type: 'boolean',\n default: false,\n },\n showYAxisExtendedRange: {\n description: 'Specify whether the y-axis should be extended to include whole major tick marks.',\n type: 'boolean',\n default: true,\n },\n showYAxisWithZero: {\n description: 'Specify whether the y-axis range includes zero.',\n type: 'boolean',\n default: false,\n },\n showY2AxisWithZero: {\n description: 'Specify whether the y2-axis range includes zero.',\n type: 'boolean',\n default: false,\n },\n xAxisLabelRotation: {\n description: 'Specify the rotation of the x-axis label in degrees.',\n enum: [-90, -45, 0, 45, 90],\n type: 'number',\n default: 0,\n },\n xAxisLabelVisibility: {\n description: 'Specify whether to show or hide labels on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n default: 'auto',\n },\n yAxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n y2AxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the x-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y2-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n xAxisMajorTickSize: {\n description: 'Specify the size, in pixels, of major tick marks on the x-axis.',\n type: 'number',\n default: 6,\n },\n yAxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y-axis.',\n type: 'number',\n },\n y2AxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y2-axis.',\n type: 'number',\n },\n yAxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',\n type: 'number',\n },\n y2AxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y2-axis.',\n type: 'number',\n },\n xAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n y2AxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n y2AxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMaxLabelParts: {\n description:\n 'Specify the maximum number of time-parts that a tick label will have (the 3 possible parts are year, month, time).',\n type: 'number',\n default: 3,\n minimum: 1,\n maximum: 3,\n },\n yAxisScale: {\n type: 'string',\n pattern: getPattern(['linear', 'log']),\n description: 'Specify the type of scale that applies to a numerical y-axis.',\n default: 'linear',\n },\n y2AxisScale: {\n type: 'string',\n pattern: getPattern(['linear', 'log']),\n description: 'Specify the type of scale that applies to a numerical y2-axis.',\n default: 'linear',\n },\n xAxisTitleText: {\n description: 'Specify the title of the x-axis.',\n type: 'string',\n },\n yAxisTitleText: {\n description: 'Specify the title of the y-axis.',\n type: 'string',\n },\n y2AxisTitleText: {\n description: 'Specify the title of the y2-axis.',\n type: 'string',\n },\n xAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the x-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y2-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n y2AxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n yAxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',\n type: ['string', 'number'],\n },\n y2AxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y2-axis.',\n type: ['number', 'string'],\n },\n yAxisMax: {\n type: ['string', 'number'],\n description: 'Specify the maximum number for the visible y-axis range.',\n default: 'auto',\n },\n y2AxisMax: {\n type: ['string', 'number'],\n description: 'Specify the maximum number for the visible y2-axis range.',\n default: 'auto',\n },\n yAxisMin: {\n type: ['string', 'number'],\n description: 'Specify the minimum number for the visible y-axis range.',\n default: 'auto',\n },\n y2AxisMin: {\n type: ['string', 'number'],\n description: 'Specify the minimum number for the visible y2-axis range.',\n default: 'auto',\n },\n overlayFields: {\n description:\n 'Specify field(s) that should be differentiated on the chart and displayed as chart overlays.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\n },\n showOverlayY2Axis: {\n default: false,\n description:\n 'Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.',\n type: 'boolean',\n },\n showRoundedY2AxisLabels: {\n default: true,\n description: 'Specify whether to round y2-axis values to the nearest integer.',\n type: 'boolean',\n },\n};\n\nconst themes: ThemedDefaults = {\n defaultBackgroundColor: props =>\n pick({\n enterprise: {\n dark: variables.black(props),\n light: variables.backgroundColor(props),\n },\n prisma: variables.backgroundColorSidebar(props),\n })(props),\n};\n\nconst editorConfig: EditorConfig[] = [\n {\n label: _('General'),\n layout: [\n getBackgroundColorEditor({ themes }),\n [\n {\n label: _('Stack Mode'),\n option: 'stackMode',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { icon: BarBeside, label: _('Not stacked'), value: 'auto' },\n { icon: BarStacked, label: _('Stacked'), value: 'stacked' },\n { icon: BarStacked100, label: _('Stacked 100%'), value: 'stacked100' },\n ],\n },\n },\n ],\n [\n {\n label: _('Data Values Display'),\n option: 'dataValuesDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Off'), value: 'off' },\n { label: _('On'), value: 'all' },\n { label: _('Min/Max'), value: 'minmax' },\n ],\n },\n },\n ],\n ],\n },\n AxesConfig,\n LegendConfig,\n];\n\n/**\n * visualization configuration\n */\nconst config: VizConfig = {\n /**\n * unique viz key\n */\n key: 'splunk.column',\n /**\n * viz name\n */\n name: 'Column',\n category: VizCategory.COMPARISONS,\n /**\n * viz icon\n */\n icon: ColumnIcon,\n dataContract,\n size,\n defaultContext,\n optionsSchema,\n editorConfig,\n events: {\n 'legend.click': {\n description: 'triggered when user clicks on chart legend',\n },\n 'point.click': {\n description: 'triggered when user clicks on a point in the column chart',\n },\n 'range.select': {\n description: 'triggered when user makes a selection',\n },\n 'point.mouseover': {\n description: 'triggered when user hovers over a data point',\n },\n 'point.mouseout': {\n description: 'triggered when user moves out of a data point',\n },\n },\n supports: [VizBehavior.DYNAMIC_OPTIONS, VizBehavior.PLACEHOLDER],\n themes,\n};\n\nexport default enhanceConfig(config);\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///external \"@splunk/ui-utils/i18n\"","webpack:///./src/common/utils/configUtils.ts","webpack:///./src/common/interfaces/VizBehavior.ts","webpack:///external \"@splunk/visualizations-shared/schemaUtils\"","webpack:///external \"lodash\"","webpack:///./src/common/interfaces/VizCategory.ts","webpack:///external \"@babel/runtime/helpers/defineProperty\"","webpack:///external \"@splunk/themes/pick\"","webpack:///external \"@splunk/themes/variables\"","webpack:///external \"@splunk/visualization-icons\"","webpack:///external \"@splunk/visualization-color-palettes\"","webpack:///./src/common/editorConfig/BackgroundColor.ts","webpack:///./src/common/editorConfig/Axes.ts","webpack:///./src/common/editorConfig/Legend.ts","webpack:///external \"@splunk/react-icons/BarBeside\"","webpack:///external \"@splunk/react-icons/BarStacked\"","webpack:///external \"@splunk/react-icons/BarStacked100\"","webpack:///./src/Column/config.ts"],"names":[],"mappings":";;;;;;;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;AClFA,kD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;;AACA;;AAEA;;AAUA,IAAM,qBAAqB,GAAG;AAC1B,MAAI,EAAE,QADoB;AAE1B,SAAO,EAAE;AAFiB,CAA9B;AAKA;;;;AAIG;;AACH,SAAS,sCAAT,CACI,aADJ,EACwD;AAEpD,MAAM,qBAAqB,GAAkB,EAA7C;AACA,QAAM,CAAC,IAAP,CAAY,aAAZ,EAA2B,OAA3B,CAAmC,UAAC,GAAD,EAAc;AACvC,aAgBF,aAAa,CAhBX,GAgBW,CAhBX;AAAA,QAIF,KAJE,GAae,EAbf,CAIF,KAJE;AAAA,QAKF,WALE,GAae,EAbf,CAKF,WALE;AAAA,QAMF,QANE,GAae,EAbf,CAMF,QANE;AA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EAAE;AACT,YAAM,EAAE,CACJ;AAAE,aAAK,EAAE,SAAE,KAAF,CAAT;AAAmB,aAAK,EAAE;AAA1B,OADI,EAEJ;AAAE,aAAK,EAAE,SAAE,IAAF,CAAT;AAAkB,aAAK,EAAE;AAAzB,OAFI,EAGJ;AAAE,aAAK,EAAE,SAAE,SAAF,CAAT;AAAuB,aAAK,EAAE;AAA9B,OAHI;AADC;AAJjB,GADJ,CAhBI;AAFZ,CADiC,EAmCjC,cAnCiC,EAoCjC,gBApCiC,CAArC;AAuCA;;AAEG;;AACH,IAAM,MAAM,GAAc;AACtB;;AAEG;AACH,KAAG,EAAE,eAJiB;;AAKtB;;AAEG;AACH,MAAI,EAAE,QARgB;AAStB,UAAQ,EAAE,0BAAY,WATA;;AAUtB;;AAEG;AACH,MAAI,EAAE,4BAbgB;AActB,cAAY,EAAZ,YAdsB;AAetB,MAAI,EAAJ,IAfsB;AAgBtB,gBAAc,EAAd,cAhBsB;AAiBtB,eAAa,EAAb,qBAjBsB;AAkBtB,cAAY,EAAZ,YAlBsB;AAmBtB,QAAM,EAAE;AACJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KADZ;AAIJ,mBAAe;AACX,iBAAW,EAAE;AADF,KAJX;AAOJ,oBAAgB;AACZ,iBAAW,EAAE;AADD,KAPZ;AAUJ,uBAAmB;AACf,iBAAW,EAAE;AADE,KAVf;AAaJ,sBAAkB;AACd,iBAAW,EAAE;AADC;AAbd,GAnBc;AAoCtB,UAAQ,EAAE,CAAC,0BAAY,eAAb,EAA8B,0BAAY,WAA1C,CApCY;AAqCtB,QAAM,EAAN;AArCsB,CAA1B;AAwCA,kBAAe,4BAAc,MAAd,CAAf,C","file":"Column.config.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 41);\n","module.exports = require(\"@splunk/ui-utils/i18n\");","import { get, range } from 'lodash';\nimport { DYNAMIC_OPTIONS_DSL_PATTERN } from '@splunk/visualizations-shared/schemaUtils';\nimport type { JSONSchema7Definition } from 'json-schema';\nimport { VizBehavior } from '../interfaces/VizBehavior';\nimport { VizConfig } from '../interfaces/VizConfig';\nimport { OptionsSchema } from '../interfaces/OptionsSchema';\n\nexport interface PresetEntry {\n name: string;\n value: any;\n label: string;\n}\n\nconst dynamicOptionsDSLType = {\n type: 'string',\n pattern: DYNAMIC_OPTIONS_DSL_PATTERN,\n} as const;\n\n/**\n * Helper function to extend an options schema with dynamic options DSL\n * @param optionsSchema a visualization's options schema\n * @returns an updated options schema that additionally allows strings starting with > for each option\n */\nfunction enhanceOptionsSchemaWithDynamicOptions(\n optionsSchema: OptionsSchema | JSONSchema7Definition\n): OptionsSchema {\n const enhancedOptionsSchema: OptionsSchema = {};\n Object.keys(optionsSchema).forEach((key): void => {\n const {\n // The next a few are schema annotations, we should leave them as is.\n // Note: in reality we don't use `readOnly`, `writeOnly` or `examples`, but they are listed here for completeness.\n // Ref: https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01\n title,\n description,\n readOnly,\n writeOnly,\n examples,\n default: defaultValue,\n // The next a few need special care\n type,\n properties,\n patternProperties,\n // The rest should be handled together\n ...remainingSchemaEntry\n } = optionsSchema[key];\n\n const annotations = {\n ...(title !== undefined && { title }),\n ...(description !== undefined && { description }),\n ...(readOnly !== undefined && { readOnly }),\n ...(writeOnly !== undefined && { writeOnly }),\n ...(examples !== undefined && { examples }),\n ...(defaultValue !== undefined && { default: defaultValue }),\n };\n\n if (type === 'object') {\n enhancedOptionsSchema[key] = {\n ...remainingSchemaEntry,\n ...annotations,\n type,\n ...(properties && { properties: enhanceOptionsSchemaWithDynamicOptions(properties) }),\n };\n if (patternProperties) {\n let enhancedPatternProperties = {};\n Object.keys(patternProperties).forEach((opt): void => {\n enhancedPatternProperties = {\n ...enhancedPatternProperties,\n ...enhanceOptionsSchemaWithDynamicOptions({ [opt]: patternProperties[opt] }),\n };\n });\n enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;\n }\n } else {\n enhancedOptionsSchema[key] = {\n ...annotations,\n anyOf: [\n // we can't assume `type` is always there because there are `enum` and `const`.\n { ...(type !== undefined && { type }), ...remainingSchemaEntry },\n dynamicOptionsDSLType,\n ],\n };\n }\n });\n return enhancedOptionsSchema;\n}\n\n/**\n * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block\n * @param vizConfig a Visualization Config\n * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports\n */\nfunction enhanceConfig(vizConfig: VizConfig): VizConfig {\n const enhancedConfig: VizConfig = vizConfig;\n if (vizConfig.supports.indexOf(VizBehavior.DYNAMIC_OPTIONS) !== -1) {\n enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);\n }\n return enhancedConfig;\n}\n\nfunction isDynamicOption(option?: string): boolean {\n return (option && typeof option === 'string' && option.trim().startsWith('>')) || false;\n}\n\n// private helpers to improve readability of getInitialPreset\n// this shouldn't be tested since this util isn't something that we expect to use outside of getInitialPreset\n\n/**\n * this checks to make sure that all values within vizContext are compatible with the given preset's context to determine the initialPreset\n * if a preset has explicitly specified a key as being undefined, the vizContext must also has that key as undefined, or else this CANNOT be the initialPreset\n * the inverse is true; if a preset has key is NOT undefined, it must also be NOT undefined in the corresponding vizContext\n * the internal config contents are irrelevant (as the user could customize them in source), just as long as the presence of `undefined`s match up\n *\n * Since the presetConfigs have explicit undefined keys to override the existing config, we need to explicitly check the undefined values\n */\nfunction hasCompatibleContexts(\n vizContext: { [configKey: string]: any },\n presetContext: { [configKey: string]: any }\n): boolean {\n const presetContextKeys = Object.keys(presetContext);\n return presetContextKeys.every(\n (contextKey): boolean =>\n (presetContext[contextKey] === undefined && vizContext[contextKey] === undefined) ||\n (presetContext[contextKey] !== undefined && vizContext[contextKey] !== undefined)\n );\n}\n\n/**\n * Checks to make sure that dynamic (non-dynamic) options in a given preset are also dynamic (non-dynamic) in the vizOptions\n */\nfunction hasCompatibleOptions(\n vizOptions: { [configKey: string]: any },\n presetOptions: { [configKey: string]: any }\n): boolean {\n const presetOptionKeys = Object.keys(presetOptions);\n return presetOptionKeys.every(\n (optionKey): boolean =>\n isDynamicOption(presetOptions[optionKey]) === isDynamicOption(vizOptions[optionKey])\n );\n}\n\n/**\n * Evaluates whether there is an initialPreset that fits the current state of vizContext + vizOptions\n * This function ignores extraneous vizOptions or vizContext keys, as they could be outside the scope of what the preset is intended to configure\n *\n * @param {Object} vizContext - the current vizContext definition\n * @param {Object} vizOptions - the current vizOptions definition\n * @param {PresetEntry[]} presets - the list of presets, one of which can be considered an initialPreset\n */\nfunction getInitialPreset(\n vizContext: { [configKey: string]: any },\n vizOptions: { [configKey: string]: any },\n presets: PresetEntry[]\n): PresetEntry | null {\n return presets.find((preset): boolean => {\n const presetContext = get(preset, ['value', 'context'], {});\n const presetOptions = get(preset, ['value', 'options'], {});\n const presetContextKeys = Object.keys(presetContext);\n const presetOptionKeys = Object.keys(presetOptions);\n\n // all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)\n // if not, then the preset is invalid in config.ts\n if (presetContextKeys.length === 0 || presetOptionKeys.length === 0) return false;\n\n return (\n hasCompatibleContexts(vizContext, presetContext) &&\n hasCompatibleOptions(vizOptions, presetOptions)\n );\n });\n}\n\ninterface PrecisionOption {\n label: string;\n value: number;\n}\n\n/**\n * generates number precision values for a Select editor\n *\n * @param {Number} numPrecisionValues - number of integer precision values to generate\n * @returns {{ label: string; value; string }[]} array of { label, value } tuples\n */\nfunction generatePrecisionValues(numPrecisionValues: number): PrecisionOption[] {\n return range(0, numPrecisionValues + 1).map(\n (i): PrecisionOption => ({\n label: `${i} (0${i > 0 ? '.' : ''}${'0'.repeat(i)})`, // e.g. 0.000 for numPrecisionValues = 3\n value: i,\n })\n );\n}\n\nexport {\n enhanceConfig,\n enhanceOptionsSchemaWithDynamicOptions,\n isDynamicOption,\n getInitialPreset,\n generatePrecisionValues,\n};\n","export enum VizBehavior {\n /**\n * Dynamic Options Behavior.\n * This allows visualization options to be powered by data\n *\n * **Example**\n *\n * sparklineValues: \">primary|seriesByIndex(0)\"\n * would configure sparklineValues with an array of data points\n * coming from the first series in the primary datasource\n *\n */\n DYNAMIC_OPTIONS = 'dynamic-options',\n EVENTS = 'events',\n /**\n * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is\n * missing.\n * @type {string}\n */\n PLACEHOLDER = 'placeholder',\n PAGE_AND_SORT = 'page-and-sort',\n}\n","module.exports = require(\"@splunk/visualizations-shared/schemaUtils\");","module.exports = require(\"lodash\");","export enum VizCategory {\n SINGLE_VALUE = 'Single Value',\n TRENDS = 'Trends',\n COMPARISONS = 'Comparisons',\n TABLE = 'Table',\n GAUGE = 'Gauge',\n DISTRIBUTIONS = 'Distributions',\n CHOROPLETH = 'Choropleth Maps',\n SHAPES = 'Shapes',\n MISC = 'misc',\n FLOW = 'Flow',\n CORRELATION = 'Correlation',\n SPATIAL = 'Spatial',\n}\n","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@splunk/themes/pick\");","module.exports = require(\"@splunk/themes/variables\");","module.exports = require(\"@splunk/visualization-icons\");","module.exports = require(\"@splunk/visualization-color-palettes\");","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorLayoutConfig } from '../interfaces/Editor';\nimport { ThemedDefaults } from '../interfaces/ThemedDefaults';\n\ninterface backgroundEditorProps {\n label?: string;\n themes: ThemedDefaults;\n labelPosition?: string;\n}\n\nconst background: ({ label, themes, labelPosition }: backgroundEditorProps) => EditorLayoutConfig[] = ({\n label,\n themes,\n labelPosition,\n}) => [\n {\n label: _(label || 'Background'),\n option: 'backgroundColor',\n editor: 'editor.color',\n editorProps: {\n labelPosition: labelPosition || 'top',\n themes,\n },\n },\n];\n\nexport default background;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst axes: EditorConfig = {\n label: _('Axes'),\n layout: [\n [\n {\n label: _('X Axis title'),\n option: 'xAxisTitleText',\n editor: 'editor.text',\n },\n ],\n [\n {\n label: _('Y Axis title'),\n option: 'yAxisTitleText',\n editor: 'editor.text',\n },\n ],\n ],\n};\n\nexport default axes;\n","import { _ } from '@splunk/ui-utils/i18n';\nimport { EditorConfig } from '../interfaces/Editor';\n\nconst legend: EditorConfig = {\n label: _('Legend'),\n layout: [\n [\n {\n label: _('Position'),\n option: 'legendDisplay',\n editor: 'editor.select',\n editorProps: {\n values: [\n { label: _('Right'), value: 'right' },\n { label: _('Left'), value: 'left' },\n { label: _('Top'), value: 'top' },\n { label: _('Bottom'), value: 'bottom' },\n { label: _('Off'), value: 'off' },\n ],\n },\n },\n ],\n [\n {\n label: _('Truncation'),\n option: 'legendTruncation',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('A...'), value: 'ellipsisEnd' },\n { label: _('A...Z'), value: 'ellipsisMiddle' },\n { label: _('...Z'), value: 'ellipsisStart' },\n { label: _('Off'), value: 'ellipsisOff' },\n ],\n },\n },\n ],\n ],\n};\n\nexport default legend;\n","module.exports = require(\"@splunk/react-icons/BarBeside\");","module.exports = require(\"@splunk/react-icons/BarStacked\");","module.exports = require(\"@splunk/react-icons/BarStacked100\");","import { Column as ColumnIcon } from '@splunk/visualization-icons';\nimport { COLOR_OR_TOKEN_PATTERN, getPattern } from '@splunk/visualizations-shared/schemaUtils';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport BarBeside from '@splunk/react-icons/BarBeside';\nimport BarStacked from '@splunk/react-icons/BarStacked';\nimport BarStacked100 from '@splunk/react-icons/BarStacked100';\nimport pick from '@splunk/themes/pick';\nimport variables from '@splunk/themes/variables';\nimport { VIZ_CATEGORICAL } from '@splunk/visualization-color-palettes';\nimport { DataContract } from '../common/interfaces/DataContract';\nimport { DefaultContext } from '../common/interfaces/DefaultContext';\nimport { EditorConfig } from '../common/interfaces/Editor';\nimport { OptionsSchema } from '../common/interfaces/OptionsSchema';\nimport { ThemedDefaults } from '../common/interfaces/ThemedDefaults';\nimport { VizBehavior } from '../common/interfaces/VizBehavior';\nimport { VizCategory } from '../common/interfaces/VizCategory';\nimport { VizConfig } from '../common/interfaces/VizConfig';\nimport { VizSize } from '../common/interfaces/VizSize';\nimport { enhanceConfig } from '../common/utils/configUtils';\nimport AxesConfig from '../common/editorConfig/Axes';\nimport LegendConfig from '../common/editorConfig/Legend';\nimport getBackgroundColorEditor from '../common/editorConfig/BackgroundColor';\n\nconst dataContract: DataContract = {\n requiredDataSources: [\n {\n name: 'primary',\n description: 'DataSource that powers the visualization',\n },\n ],\n optionalDataSources: [\n // Note: SCP-14090 disable ui for optional datasources. We may need to add it back later\n // {\n // name: 'annotation',\n // description: 'DataSource that populate event annotations',\n // },\n ],\n initialRequestParams: {\n primary: { offset: 0, count: 10000 },\n annotation: { offset: 0, count: 10000 },\n },\n};\n\nconst size: VizSize = {\n initialWidth: 300,\n initialHeight: 300,\n};\n\nconst defaultContext: DefaultContext = {};\n\nexport const optionsSchema: OptionsSchema = {\n x: {\n default: '> primary | seriesByIndex(0)',\n description: 'Specify the dataSource applied to the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y: {\n default: '> primary | frameBySeriesIndexRange(1)',\n description: 'Specify the dataSource applied to the y-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n y2: {\n description: 'Specify the dataSource applied to the y2-axis',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n xField: {\n default: '> x | getField()',\n description: 'Specify the field that should be mapped to the x-axis.',\n type: 'string',\n },\n yFields: {\n default: '> y | getField()',\n description: 'Specify the field that should be mapped to the y-axis.',\n type: 'string',\n },\n y2Fields: {\n default: '> y2 | getField()',\n description: 'Specify field(s) that should be mapped to a second y-axis.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\n },\n annotationColor: {\n description: `Specify the annotation colors. You may use a dataSource to apply the color. For example, [“#FF0000”, “#0000FF\", “#008000”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationLabel: {\n description: `Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [“houston, we have a problem”, “just close the jira”, “looking good now”].`,\n type: 'array',\n items: { type: 'string' },\n },\n annotationX: {\n description: 'Specify the dataSource field applied to the event annotation on the x-axis.',\n type: 'array',\n items: { type: ['string', 'number'] },\n },\n backgroundColor: {\n default: '> themes.defaultBackgroundColor',\n description:\n '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\".',\n pattern: COLOR_OR_TOKEN_PATTERN,\n type: 'string',\n },\n dataValuesDisplay: {\n description:\n 'Specify whether chart should display no labels, all labels, or only the min and max labels.',\n type: 'string',\n pattern: getPattern(['off', 'all', 'minmax']),\n default: 'off',\n },\n columnGrouping: {\n default: 'auto',\n description:\n 'Specify the column grouping mode. If chart.stackMode is defined it will override grouping behavior.',\n pattern: getPattern(['auto', 'overlay']),\n type: 'string',\n },\n columnSpacing: {\n description: 'Specifies, in pixels, the spacing between columns in a column chart.',\n type: 'number',\n },\n legendDisplay: {\n description: 'Specify the location of the legend on the panel.',\n pattern: getPattern(['right', 'left', 'top', 'bottom', 'off']),\n type: 'string',\n default: 'right',\n },\n legendLabels: {\n description: `Specify a list of labels to pre-populate the legend. For example, [\"percent\", \"count\"].`,\n type: 'array',\n items: { type: 'string' },\n },\n legendTruncation: {\n description:\n 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',\n pattern: getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),\n type: 'string',\n default: 'ellipsisEnd',\n },\n lineWidth: {\n default: 2,\n description: 'Specify the line width, in pixels, for chart overlay.',\n type: 'number',\n },\n resultLimit: {\n default: 50000,\n description: 'Specify the number of data points rendered in a chart.',\n type: 'number',\n },\n seriesColors: {\n default: VIZ_CATEGORICAL,\n description: 'Specify the colors used for a series. For example, [\"#FF0000\", \"#0000FF\", \"#008000\"].',\n type: 'array',\n items: { type: 'string' },\n },\n seriesColorsByField: {\n description:\n 'Specify the colors used for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',\n type: 'object',\n },\n seriesSpacing: {\n description: 'Specify, in pixels, the spacing between clustered series in column and bar charts.',\n type: 'number',\n },\n stackMode: {\n description: 'Specify stack mode.',\n type: 'string',\n pattern: getPattern(['auto', 'stacked', 'stacked100']),\n default: 'auto',\n },\n showIndependentYRanges: {\n description: 'Specify whether split series charts have independent y-ranges.',\n type: 'boolean',\n default: false,\n },\n showSplitSeries: {\n description:\n 'Set to \"true\" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',\n type: 'boolean',\n default: false,\n },\n showTooltip: {\n description: 'Specify whether a tooltip should be visible on hover',\n type: 'boolean',\n default: true,\n },\n showXMajorGridLines: {\n description: 'Specify whether major grid lines are visible on the x-axis.',\n type: 'boolean',\n default: false,\n },\n showYMajorGridLines: {\n description: 'Specify whether major grid lines are visible on the y-axis.',\n type: 'boolean',\n default: true,\n },\n showY2MajorGridLines: {\n description: 'Specify whether major grid lines are visible on the y2-axis.',\n type: 'boolean',\n default: false,\n },\n showYMinorGridLines: {\n description: 'Specify whether minor grid lines are visible on the y-axis.',\n type: 'boolean',\n default: false,\n },\n showY2MinorGridLines: {\n description: 'Specify whether minor grid lines are visible on y2-axis.',\n type: 'boolean',\n default: false,\n },\n showYAxisExtendedRange: {\n description: 'Specify whether the y-axis should be extended to include whole major tick marks.',\n type: 'boolean',\n default: true,\n },\n showYAxisWithZero: {\n description: 'Specify whether the y-axis range includes zero.',\n type: 'boolean',\n default: false,\n },\n showY2AxisWithZero: {\n description: 'Specify whether the y2-axis range includes zero.',\n type: 'boolean',\n default: false,\n },\n xAxisLabelRotation: {\n description: 'Specify the rotation of the x-axis label in degrees.',\n enum: [-90, -45, 0, 45, 90],\n type: 'number',\n default: 0,\n },\n xAxisLabelVisibility: {\n description: 'Specify whether to show or hide labels on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n default: 'auto',\n },\n yAxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n y2AxisLabelVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide labels on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the x-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisLineVisibility: {\n default: 'hide',\n description: 'Specify whether to show or hide the y2-axis line.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n xAxisMajorTickSize: {\n description: 'Specify the size, in pixels, of major tick marks on the x-axis.',\n type: 'number',\n default: 6,\n },\n yAxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y-axis.',\n type: 'number',\n },\n y2AxisMajorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of major tick marks on the y2-axis.',\n type: 'number',\n },\n yAxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',\n type: 'number',\n },\n y2AxisMinorTickSize: {\n default: 6,\n description: 'Specify the size, in pixels, of minor tick marks on the y2-axis.',\n type: 'number',\n },\n xAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the x-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n y2AxisMajorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide major tick marks on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n yAxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n y2AxisMinorTickVisibility: {\n default: 'auto',\n description: 'Specify whether to show or hide minor tick marks on the y2-axis.',\n pattern: getPattern(['auto', 'show', 'hide']),\n type: 'string',\n },\n xAxisMaxLabelParts: {\n description:\n 'Specify the maximum number of time-parts that a tick label will have (the 3 possible parts are year, month, time).',\n type: 'number',\n default: 3,\n minimum: 1,\n maximum: 3,\n },\n yAxisScale: {\n type: 'string',\n pattern: getPattern(['linear', 'log']),\n description: 'Specify the type of scale that applies to a numerical y-axis.',\n default: 'linear',\n },\n y2AxisScale: {\n type: 'string',\n pattern: getPattern(['linear', 'log']),\n description: 'Specify the type of scale that applies to a numerical y2-axis.',\n default: 'linear',\n },\n xAxisTitleText: {\n description: 'Specify the title of the x-axis.',\n type: 'string',\n },\n yAxisTitleText: {\n description: 'Specify the title of the y-axis.',\n type: 'string',\n },\n y2AxisTitleText: {\n description: 'Specify the title of the y2-axis.',\n type: 'string',\n },\n xAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the x-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n y2AxisTitleVisibility: {\n default: 'show',\n description: 'Specify whether to show or hide the title of the y2-axis.',\n pattern: getPattern(['show', 'hide']),\n type: 'string',\n },\n yAxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n y2AxisAbbreviation: {\n default: 'auto',\n description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',\n pattern: getPattern(['off', 'auto']),\n type: 'string',\n },\n yAxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',\n type: ['string', 'number'],\n },\n y2AxisMajorTickInterval: {\n default: 'auto',\n description: 'Specify the spacing unit between major tick marks along the numeric y2-axis.',\n type: ['number', 'string'],\n },\n yAxisMax: {\n type: ['string', 'number'],\n description: 'Specify the maximum number for the visible y-axis range.',\n default: 'auto',\n },\n y2AxisMax: {\n type: ['string', 'number'],\n description: 'Specify the maximum number for the visible y2-axis range.',\n default: 'auto',\n },\n yAxisMin: {\n type: ['string', 'number'],\n description: 'Specify the minimum number for the visible y-axis range.',\n default: 'auto',\n },\n y2AxisMin: {\n type: ['string', 'number'],\n description: 'Specify the minimum number for the visible y2-axis range.',\n default: 'auto',\n },\n overlayFields: {\n description:\n 'Specify field(s) that should be differentiated on the chart and displayed as chart overlays.',\n type: ['array', 'string'],\n items: {\n type: 'string',\n },\n },\n showOverlayY2Axis: {\n default: false,\n description:\n 'Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.',\n type: 'boolean',\n },\n showRoundedY2AxisLabels: {\n default: true,\n description: 'Specify whether to round y2-axis values to the nearest integer.',\n type: 'boolean',\n },\n};\n\nconst themes: ThemedDefaults = {\n defaultBackgroundColor: props =>\n pick({\n enterprise: {\n dark: variables.black(props),\n light: variables.backgroundColor(props),\n },\n prisma: variables.backgroundColorSidebar(props),\n })(props),\n};\n\nconst editorConfig: EditorConfig[] = [\n {\n label: _('General'),\n layout: [\n getBackgroundColorEditor({ themes }),\n [\n {\n label: _('Stack Mode'),\n option: 'stackMode',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { icon: BarBeside, label: _('Not stacked'), value: 'auto' },\n { icon: BarStacked, label: _('Stacked'), value: 'stacked' },\n { icon: BarStacked100, label: _('Stacked 100%'), value: 'stacked100' },\n ],\n },\n },\n ],\n [\n {\n label: _('Data Values Display'),\n option: 'dataValuesDisplay',\n editor: 'editor.radioBar',\n editorProps: {\n values: [\n { label: _('Off'), value: 'off' },\n { label: _('On'), value: 'all' },\n { label: _('Min/Max'), value: 'minmax' },\n ],\n },\n },\n ],\n ],\n },\n AxesConfig,\n LegendConfig,\n];\n\n/**\n * visualization configuration\n */\nconst config: VizConfig = {\n /**\n * unique viz key\n */\n key: 'splunk.column',\n /**\n * viz name\n */\n name: 'Column',\n category: VizCategory.COMPARISONS,\n /**\n * viz icon\n */\n icon: ColumnIcon,\n dataContract,\n size,\n defaultContext,\n optionsSchema,\n editorConfig,\n events: {\n 'legend.click': {\n description: 'triggered when user clicks on chart legend',\n },\n 'point.click': {\n description: 'triggered when user clicks on a point in the column chart',\n },\n 'range.select': {\n description: 'triggered when user makes a selection',\n },\n 'point.mouseover': {\n description: 'triggered when user hovers over a data point',\n },\n 'point.mouseout': {\n description: 'triggered when user moves out of a data point',\n },\n },\n supports: [VizBehavior.DYNAMIC_OPTIONS, VizBehavior.PLACEHOLDER],\n themes,\n};\n\nexport default enhanceConfig(config);\n"],"sourceRoot":""}