@splunk/visualizations 25.5.0 → 25.7.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.
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_DarkPrisma.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Light.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Mode_Series_Compare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Mode_Series_Compare.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Value_Highlighting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_background_color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_max_count_avg_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_chart_cmd_max_count_avg_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_layout_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_makeresults_name_age.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_makeresults_name_age_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_avg_count_max_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_avg_count_max_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_stats_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_table_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_max_count_avg_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Chart.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Chart_Count.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Timechart.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_background_color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_chart_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_chart_cmd_max_count_avg_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_chart_cmd_max_count_avg_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_layout_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_makeresults_name_age.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_makeresults_name_age_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_stats_cmd_avg_count_max_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_stats_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_stats_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_table_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_timechart_cmd_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_timechart_cmd_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_timechart_cmd_max_count_avg_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_Pagination.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_assign_default_trellisSplitBy_value_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_background_color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_avg_count_max_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_avg_count_max_count_by_status_value_by_max_count.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_by_status_user_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_layout_options.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_makeresults_name_age.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_makeresults_name_age_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_by_status_value_by_max_count.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_count_by_status_user.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_count_by_status_user_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_table_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_max_count_avg_count_by_status.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_max_count_avg_count_by_status_aggregations.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Major_value_data_null_show_N_A.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Major_Value_Trellis.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_50_no_paginator.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/Area.config.js +12 -7
- package/Area.config.js.map +1 -1
- package/Area.js +330 -226
- package/Area.js.map +1 -1
- package/Bar.config.js +36 -8
- package/Bar.config.js.map +1 -1
- package/Bar.js +354 -227
- package/Bar.js.map +1 -1
- package/Bubble.config.js +7 -2
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +318 -214
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +12 -8
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +324 -229
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +36 -8
- package/Column.config.js.map +1 -1
- package/Column.js +354 -227
- package/Column.js.map +1 -1
- package/Ellipse.config.js +23 -20
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +289 -187
- package/Ellipse.js.map +1 -1
- package/Events.config.js +82 -19
- package/Events.config.js.map +1 -1
- package/Events.js +1276 -416
- package/Events.js.map +1 -1
- package/FEATUREFLAGS.md +40 -0
- package/FillerGauge.config.js +22 -19
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +311 -204
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +3 -3
- package/Image.config.js.map +1 -1
- package/Image.js +249 -151
- package/Image.js.map +1 -1
- package/LICENSE.md +444 -8
- package/Line.config.js +12 -7
- package/Line.config.js.map +1 -1
- package/Line.js +335 -226
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +9 -15
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +881 -790
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +51 -48
- package/Map.config.js.map +1 -1
- package/Map.js +804 -711
- package/Map.js.map +1 -1
- package/Markdown.config.js +10 -9
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +365 -266
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +71 -70
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +422 -330
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +3 -3
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +532 -430
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +30 -6
- package/Pie.config.js.map +1 -1
- package/Pie.js +553 -431
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +3 -2
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +556 -464
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +22 -23
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +383 -286
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +14 -13
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +3126 -3034
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +552 -580
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +410 -311
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +242 -52
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +1605 -414
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +41 -30
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +267 -58
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +1622 -410
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +249 -41
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1517 -283
- package/SingleValueRadial.js.map +1 -1
- package/TRELLIS.md +296 -0
- package/Table.config.js +39 -41
- package/Table.config.js.map +1 -1
- package/Table.js +435 -311
- package/Table.js.map +1 -1
- package/common/EventsDoc.js +12 -6
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeValueMarker.js +2 -2
- package/common/OptionsDoc.js +14 -14
- package/common/OptionsDoc.js.map +1 -1
- package/common/ThemesDoc.js +10 -10
- package/common/ThemesDoc.js.map +1 -1
- package/common/docUtils.js +1 -1
- package/common/docUtils.js.map +1 -1
- package/common/utils/configUtils.js +26 -20
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +2 -2
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/layoutUtils.js +115 -0
- package/common/utils/layoutUtils.js.map +1 -0
- package/common/utils/mapUtils.js +1166 -23
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +54 -46
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +14 -14
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +612 -0
- package/common/utils/trellisUtils.js.map +1 -0
- package/common/withDashboardViz.js +148 -54
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +14 -12
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 =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 436);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -95,21 +95,28 @@ module.exports =
|
|
|
95
95
|
/***/ 0:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
|
-
module.exports = require("
|
|
98
|
+
module.exports = require("react");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
102
|
/***/ 1:
|
|
103
103
|
/***/ (function(module, exports) {
|
|
104
104
|
|
|
105
|
-
module.exports = require("
|
|
105
|
+
module.exports = require("prop-types");
|
|
106
106
|
|
|
107
107
|
/***/ }),
|
|
108
108
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@splunk/
|
|
112
|
+
module.exports = require("@splunk/themes/variables");
|
|
113
|
+
|
|
114
|
+
/***/ }),
|
|
115
|
+
|
|
116
|
+
/***/ 105:
|
|
117
|
+
/***/ (function(module, exports) {
|
|
118
|
+
|
|
119
|
+
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
113
120
|
|
|
114
121
|
/***/ }),
|
|
115
122
|
|
|
@@ -137,13 +144,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
137
144
|
value: true
|
|
138
145
|
});
|
|
139
146
|
|
|
140
|
-
var React = __webpack_require__(
|
|
147
|
+
var React = __webpack_require__(0);
|
|
141
148
|
|
|
142
149
|
var styled_components_1 = __webpack_require__(4);
|
|
143
150
|
|
|
144
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
151
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
145
152
|
|
|
146
|
-
var style_1 = __webpack_require__(
|
|
153
|
+
var style_1 = __webpack_require__(14);
|
|
147
154
|
|
|
148
155
|
var colorUtils_1 = __webpack_require__(12);
|
|
149
156
|
|
|
@@ -202,7 +209,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
202
209
|
|
|
203
210
|
return React.createElement(FixSizeItem, {
|
|
204
211
|
"data-test": "fix-size-item",
|
|
205
|
-
"data-splunk-visualization-version": "25.
|
|
212
|
+
"data-splunk-visualization-version": "25.7.0 - d10a7789b",
|
|
206
213
|
width: width,
|
|
207
214
|
height: height,
|
|
208
215
|
backgroundColor: backgroundColor
|
|
@@ -225,6 +232,13 @@ exports.default = withFixedSizeContainer;
|
|
|
225
232
|
/***/ }),
|
|
226
233
|
|
|
227
234
|
/***/ 14:
|
|
235
|
+
/***/ (function(module, exports) {
|
|
236
|
+
|
|
237
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
238
|
+
|
|
239
|
+
/***/ }),
|
|
240
|
+
|
|
241
|
+
/***/ 15:
|
|
228
242
|
/***/ (function(module, exports, __webpack_require__) {
|
|
229
243
|
|
|
230
244
|
"use strict";
|
|
@@ -257,7 +271,14 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
257
271
|
|
|
258
272
|
/***/ }),
|
|
259
273
|
|
|
260
|
-
/***/
|
|
274
|
+
/***/ 16:
|
|
275
|
+
/***/ (function(module, exports) {
|
|
276
|
+
|
|
277
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
278
|
+
|
|
279
|
+
/***/ }),
|
|
280
|
+
|
|
281
|
+
/***/ 160:
|
|
261
282
|
/***/ (function(module, exports, __webpack_require__) {
|
|
262
283
|
|
|
263
284
|
"use strict";
|
|
@@ -285,23 +306,23 @@ var lodash_1 = __webpack_require__(3); // Charting imports i18n which needs to b
|
|
|
285
306
|
// eslint-disable-next-line import/order
|
|
286
307
|
|
|
287
308
|
|
|
288
|
-
var Charting_1 = __webpack_require__(
|
|
309
|
+
var Charting_1 = __webpack_require__(62);
|
|
289
310
|
|
|
290
|
-
var charting_bundle_1 = __webpack_require__(
|
|
311
|
+
var charting_bundle_1 = __webpack_require__(56);
|
|
291
312
|
|
|
292
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
313
|
+
var simpleXMLOptions_1 = __webpack_require__(67);
|
|
293
314
|
|
|
294
|
-
var config_1 = __webpack_require__(
|
|
315
|
+
var config_1 = __webpack_require__(437);
|
|
295
316
|
|
|
296
317
|
exports.config = config_1.default;
|
|
297
318
|
|
|
298
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
319
|
+
var withDashboardViz_1 = __webpack_require__(36);
|
|
299
320
|
|
|
300
|
-
var pieUtils_1 = __webpack_require__(
|
|
321
|
+
var pieUtils_1 = __webpack_require__(439);
|
|
301
322
|
|
|
302
|
-
var chartingUtils_1 = __webpack_require__(
|
|
323
|
+
var chartingUtils_1 = __webpack_require__(55);
|
|
303
324
|
|
|
304
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
325
|
+
var IconPlaceholder_1 = __webpack_require__(31);
|
|
305
326
|
|
|
306
327
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
307
328
|
exports.PieInnerSize = 0.7;
|
|
@@ -387,29 +408,29 @@ exports.default = Pie;
|
|
|
387
408
|
|
|
388
409
|
/***/ }),
|
|
389
410
|
|
|
390
|
-
/***/
|
|
411
|
+
/***/ 17:
|
|
391
412
|
/***/ (function(module, exports) {
|
|
392
413
|
|
|
393
|
-
module.exports = require("@
|
|
414
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
394
415
|
|
|
395
416
|
/***/ }),
|
|
396
417
|
|
|
397
|
-
/***/
|
|
418
|
+
/***/ 18:
|
|
398
419
|
/***/ (function(module, exports) {
|
|
399
420
|
|
|
400
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
421
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
401
422
|
|
|
402
423
|
/***/ }),
|
|
403
424
|
|
|
404
|
-
/***/
|
|
425
|
+
/***/ 19:
|
|
405
426
|
/***/ (function(module, exports, __webpack_require__) {
|
|
406
427
|
|
|
407
428
|
"use strict";
|
|
408
429
|
|
|
409
430
|
|
|
410
|
-
var _toConsumableArray = __webpack_require__(
|
|
431
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
411
432
|
|
|
412
|
-
var _defineProperty = __webpack_require__(
|
|
433
|
+
var _defineProperty = __webpack_require__(8);
|
|
413
434
|
|
|
414
435
|
var __rest = this && this.__rest || function (s, e) {
|
|
415
436
|
var t = {};
|
|
@@ -638,63 +659,77 @@ exports.insertLayout = insertLayout;
|
|
|
638
659
|
|
|
639
660
|
/***/ }),
|
|
640
661
|
|
|
641
|
-
/***/
|
|
662
|
+
/***/ 2:
|
|
642
663
|
/***/ (function(module, exports) {
|
|
643
664
|
|
|
644
|
-
module.exports = require("@
|
|
665
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
645
666
|
|
|
646
667
|
/***/ }),
|
|
647
668
|
|
|
648
|
-
/***/
|
|
669
|
+
/***/ 20:
|
|
649
670
|
/***/ (function(module, exports) {
|
|
650
671
|
|
|
651
|
-
module.exports = require("@splunk/
|
|
672
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
652
673
|
|
|
653
674
|
/***/ }),
|
|
654
675
|
|
|
655
|
-
/***/
|
|
676
|
+
/***/ 22:
|
|
656
677
|
/***/ (function(module, exports) {
|
|
657
678
|
|
|
658
|
-
module.exports = require("@
|
|
679
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
659
680
|
|
|
660
681
|
/***/ }),
|
|
661
682
|
|
|
662
|
-
/***/
|
|
683
|
+
/***/ 23:
|
|
663
684
|
/***/ (function(module, exports) {
|
|
664
685
|
|
|
665
686
|
module.exports = require("@splunk/themes/pick");
|
|
666
687
|
|
|
667
688
|
/***/ }),
|
|
668
689
|
|
|
669
|
-
/***/
|
|
690
|
+
/***/ 25:
|
|
670
691
|
/***/ (function(module, exports) {
|
|
671
692
|
|
|
672
693
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
673
694
|
|
|
674
695
|
/***/ }),
|
|
675
696
|
|
|
676
|
-
/***/
|
|
697
|
+
/***/ 26:
|
|
698
|
+
/***/ (function(module, exports) {
|
|
699
|
+
|
|
700
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
701
|
+
|
|
702
|
+
/***/ }),
|
|
703
|
+
|
|
704
|
+
/***/ 27:
|
|
705
|
+
/***/ (function(module, exports) {
|
|
706
|
+
|
|
707
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
708
|
+
|
|
709
|
+
/***/ }),
|
|
710
|
+
|
|
711
|
+
/***/ 28:
|
|
677
712
|
/***/ (function(module, exports) {
|
|
678
713
|
|
|
679
714
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
680
715
|
|
|
681
716
|
/***/ }),
|
|
682
717
|
|
|
683
|
-
/***/
|
|
718
|
+
/***/ 29:
|
|
684
719
|
/***/ (function(module, exports) {
|
|
685
720
|
|
|
686
|
-
module.exports = require("@splunk/
|
|
721
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
687
722
|
|
|
688
723
|
/***/ }),
|
|
689
724
|
|
|
690
|
-
/***/
|
|
725
|
+
/***/ 3:
|
|
691
726
|
/***/ (function(module, exports) {
|
|
692
727
|
|
|
693
|
-
module.exports = require("
|
|
728
|
+
module.exports = require("lodash");
|
|
694
729
|
|
|
695
730
|
/***/ }),
|
|
696
731
|
|
|
697
|
-
/***/
|
|
732
|
+
/***/ 31:
|
|
698
733
|
/***/ (function(module, exports, __webpack_require__) {
|
|
699
734
|
|
|
700
735
|
"use strict";
|
|
@@ -705,15 +740,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
705
740
|
});
|
|
706
741
|
exports.shouldShowIconPlaceholder = void 0;
|
|
707
742
|
|
|
708
|
-
var React = __webpack_require__(
|
|
743
|
+
var React = __webpack_require__(0);
|
|
709
744
|
|
|
710
|
-
var T = __webpack_require__(
|
|
745
|
+
var T = __webpack_require__(1);
|
|
711
746
|
|
|
712
747
|
var lodash_1 = __webpack_require__(3);
|
|
713
748
|
|
|
714
749
|
var i18n_1 = __webpack_require__(2);
|
|
715
750
|
|
|
716
|
-
var Message_1 = __webpack_require__(
|
|
751
|
+
var Message_1 = __webpack_require__(9);
|
|
717
752
|
|
|
718
753
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
719
754
|
/**
|
|
@@ -786,24 +821,31 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
786
821
|
|
|
787
822
|
/***/ }),
|
|
788
823
|
|
|
789
|
-
/***/
|
|
824
|
+
/***/ 32:
|
|
825
|
+
/***/ (function(module, exports) {
|
|
826
|
+
|
|
827
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
828
|
+
|
|
829
|
+
/***/ }),
|
|
830
|
+
|
|
831
|
+
/***/ 33:
|
|
790
832
|
/***/ (function(module, exports, __webpack_require__) {
|
|
791
833
|
|
|
792
834
|
"use strict";
|
|
793
835
|
|
|
794
836
|
|
|
795
|
-
var _defineProperty = __webpack_require__(
|
|
837
|
+
var _defineProperty = __webpack_require__(8);
|
|
796
838
|
|
|
797
839
|
Object.defineProperty(exports, "__esModule", {
|
|
798
840
|
value: true
|
|
799
841
|
});
|
|
800
842
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
801
843
|
|
|
802
|
-
var T = __webpack_require__(
|
|
844
|
+
var T = __webpack_require__(1);
|
|
803
845
|
|
|
804
846
|
var lodash_1 = __webpack_require__(3);
|
|
805
847
|
|
|
806
|
-
var DataSource_1 = __webpack_require__(
|
|
848
|
+
var DataSource_1 = __webpack_require__(43);
|
|
807
849
|
|
|
808
850
|
exports.SortParamsPropTypes = T.shape({
|
|
809
851
|
currentSortKey: T.string,
|
|
@@ -823,7 +865,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
823
865
|
};
|
|
824
866
|
var onSort;
|
|
825
867
|
|
|
826
|
-
if (
|
|
868
|
+
if (typeof onRequestParamsChange === 'function') {
|
|
827
869
|
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
828
870
|
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
829
871
|
currentSortDir = requestParams.sort[currentSortKey];
|
|
@@ -857,7 +899,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
857
899
|
|
|
858
900
|
/***/ }),
|
|
859
901
|
|
|
860
|
-
/***/
|
|
902
|
+
/***/ 34:
|
|
861
903
|
/***/ (function(module, exports, __webpack_require__) {
|
|
862
904
|
|
|
863
905
|
"use strict";
|
|
@@ -868,7 +910,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
868
910
|
});
|
|
869
911
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
870
912
|
|
|
871
|
-
var T = __webpack_require__(
|
|
913
|
+
var T = __webpack_require__(1);
|
|
872
914
|
|
|
873
915
|
var lodash_1 = __webpack_require__(3);
|
|
874
916
|
|
|
@@ -888,7 +930,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
888
930
|
var count = requestParams && requestParams.count;
|
|
889
931
|
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
890
932
|
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
891
|
-
var isPaging = totalPages > 1 &&
|
|
933
|
+
var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
|
|
892
934
|
|
|
893
935
|
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
894
936
|
var page = _ref2.page,
|
|
@@ -914,7 +956,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
914
956
|
isPaging: isPaging,
|
|
915
957
|
current: current,
|
|
916
958
|
totalPages: totalPages,
|
|
917
|
-
onChange:
|
|
959
|
+
onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
|
|
918
960
|
};
|
|
919
961
|
};
|
|
920
962
|
|
|
@@ -922,14 +964,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
922
964
|
|
|
923
965
|
/***/ }),
|
|
924
966
|
|
|
925
|
-
/***/
|
|
926
|
-
/***/ (function(module, exports) {
|
|
927
|
-
|
|
928
|
-
module.exports = require("lodash");
|
|
929
|
-
|
|
930
|
-
/***/ }),
|
|
931
|
-
|
|
932
|
-
/***/ 31:
|
|
967
|
+
/***/ 35:
|
|
933
968
|
/***/ (function(module, exports, __webpack_require__) {
|
|
934
969
|
|
|
935
970
|
"use strict";
|
|
@@ -958,58 +993,67 @@ var VizCategory;
|
|
|
958
993
|
|
|
959
994
|
/***/ }),
|
|
960
995
|
|
|
961
|
-
/***/
|
|
996
|
+
/***/ 36:
|
|
962
997
|
/***/ (function(module, exports, __webpack_require__) {
|
|
963
998
|
|
|
964
999
|
"use strict";
|
|
965
1000
|
|
|
966
1001
|
|
|
1002
|
+
var _slicedToArray = __webpack_require__(17);
|
|
1003
|
+
|
|
967
1004
|
Object.defineProperty(exports, "__esModule", {
|
|
968
1005
|
value: true
|
|
969
1006
|
});
|
|
970
1007
|
|
|
971
|
-
var React = __webpack_require__(
|
|
1008
|
+
var React = __webpack_require__(0);
|
|
972
1009
|
|
|
973
1010
|
var lodash_1 = __webpack_require__(3);
|
|
974
1011
|
|
|
975
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1012
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(37);
|
|
976
1013
|
|
|
977
|
-
var Options_1 = __webpack_require__(
|
|
1014
|
+
var Options_1 = __webpack_require__(29);
|
|
978
1015
|
|
|
979
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1016
|
+
var SanitizeProps_1 = __webpack_require__(38);
|
|
980
1017
|
|
|
981
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1018
|
+
var TimezoneContext_1 = __webpack_require__(25);
|
|
982
1019
|
|
|
983
|
-
var moment_1 = __webpack_require__(
|
|
1020
|
+
var moment_1 = __webpack_require__(39);
|
|
1021
|
+
|
|
1022
|
+
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
984
1023
|
|
|
985
1024
|
var styled_components_1 = __webpack_require__(4);
|
|
986
1025
|
|
|
987
|
-
var hocUtils_1 = __webpack_require__(
|
|
1026
|
+
var hocUtils_1 = __webpack_require__(26);
|
|
1027
|
+
|
|
1028
|
+
var JSONSchemaUtils_1 = __webpack_require__(27);
|
|
988
1029
|
|
|
989
|
-
var
|
|
1030
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
990
1031
|
|
|
991
|
-
var
|
|
1032
|
+
var id_1 = __webpack_require__(32);
|
|
1033
|
+
|
|
1034
|
+
var SplunkVisualization_1 = __webpack_require__(41);
|
|
992
1035
|
|
|
993
1036
|
var VizBehavior_1 = __webpack_require__(6);
|
|
994
1037
|
|
|
995
|
-
var getSorting_1 = __webpack_require__(
|
|
1038
|
+
var getSorting_1 = __webpack_require__(33);
|
|
1039
|
+
|
|
1040
|
+
var getPagination_1 = __webpack_require__(34);
|
|
996
1041
|
|
|
997
|
-
var
|
|
1042
|
+
var useDeepMemo_1 = __webpack_require__(44);
|
|
998
1043
|
|
|
999
|
-
var
|
|
1044
|
+
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
1000
1045
|
|
|
1001
|
-
var
|
|
1046
|
+
var withEditModeCover_1 = __webpack_require__(46);
|
|
1002
1047
|
|
|
1003
|
-
var
|
|
1048
|
+
var withPlaceholder_1 = __webpack_require__(47);
|
|
1004
1049
|
|
|
1005
|
-
var
|
|
1050
|
+
var UUID = id_1.createGUID();
|
|
1006
1051
|
/**
|
|
1007
1052
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1008
1053
|
* @param {DashboardVizOpts} opts
|
|
1009
1054
|
* @returns {HOC}
|
|
1010
1055
|
*/
|
|
1011
1056
|
|
|
1012
|
-
|
|
1013
1057
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
1014
1058
|
var ReactViz = opts.ReactViz,
|
|
1015
1059
|
vizConfig = opts.vizConfig,
|
|
@@ -1022,6 +1066,8 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1022
1066
|
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
|
|
1023
1067
|
|
|
1024
1068
|
var DashboardViz = function DashboardViz(props) {
|
|
1069
|
+
var _a;
|
|
1070
|
+
|
|
1025
1071
|
var mode = props.mode,
|
|
1026
1072
|
hasEventHandlers = props.hasEventHandlers,
|
|
1027
1073
|
dataSources = props.dataSources,
|
|
@@ -1069,38 +1115,97 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1069
1115
|
|
|
1070
1116
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
1071
1117
|
|
|
1118
|
+
var _React$useState = React.useState({}),
|
|
1119
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1120
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
1121
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1125
|
+
|
|
1126
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
|
|
1127
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
1128
|
+
visualizationID = _React$useState4[0];
|
|
1129
|
+
|
|
1130
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
|
|
1131
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
1132
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
1133
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
1134
|
+
|
|
1072
1135
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
1073
1136
|
try {
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1137
|
+
if (useAsyncEvaluatedOptions) {
|
|
1138
|
+
var optionsToEvaluate = {
|
|
1139
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1140
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1141
|
+
};
|
|
1142
|
+
var asyncDynamicOptionsEvaluatorParams = {
|
|
1143
|
+
visualizationID: visualizationID,
|
|
1144
|
+
props: props,
|
|
1145
|
+
options: optionsToEvaluate,
|
|
1146
|
+
dataSources: dataSources,
|
|
1147
|
+
theme: vizConfig.themes
|
|
1148
|
+
};
|
|
1149
|
+
async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
|
|
1150
|
+
setEvaluatedOptionsAsync(results.results);
|
|
1151
|
+
}).catch(function (e) {
|
|
1152
|
+
// eslint-disable-next-line no-console
|
|
1153
|
+
console.error("unexpected error evaluating options - async: ".concat(e.message));
|
|
1154
|
+
setUseAsyncEvaluatedOptions(false);
|
|
1155
|
+
});
|
|
1156
|
+
} else {
|
|
1157
|
+
return Options_1.Options.evaluate({
|
|
1158
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1159
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1160
|
+
}, dataSources, themeFunc);
|
|
1161
|
+
}
|
|
1078
1162
|
} catch (e) {
|
|
1079
1163
|
// eslint-disable-next-line no-console
|
|
1080
|
-
console.error("unexpected error evaluating options:
|
|
1164
|
+
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
1081
1165
|
return {};
|
|
1082
1166
|
}
|
|
1083
|
-
|
|
1167
|
+
|
|
1168
|
+
return {};
|
|
1169
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
1170
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // trellis specific backgroundColor update for onComputedProps
|
|
1171
|
+
// if trellis is enabled following these three criteria - 1) trellis feature flag is enabled 2) vizConfig supports array has 'trellis' 3) option 'splitByLayout' is set to 'trellis
|
|
1172
|
+
// onComputedProps api should return back trellisBackgroundColor value for backgroundColor option to support coloring of sibling panels (for eg:- title/ description on UDF side)
|
|
1173
|
+
|
|
1174
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1175
|
+
var clonedEvaluatedOptions = lodash_1.cloneDeep(evaluatedOptionsToUse);
|
|
1176
|
+
|
|
1177
|
+
if (isTrellisFeatureFlagOn && ((_a = vizConfig === null || vizConfig === void 0 ? void 0 : vizConfig.supports) === null || _a === void 0 ? void 0 : _a.includes(VizBehavior_1.VizBehavior.TRELLIS)) && (clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.splitByLayout) === VizBehavior_1.VizBehavior.TRELLIS) {
|
|
1178
|
+
clonedEvaluatedOptions.backgroundColor = clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.trellisBackgroundColor;
|
|
1179
|
+
} // useEffect hook needs to be initialized before any early returns
|
|
1084
1180
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1085
1181
|
|
|
1182
|
+
|
|
1183
|
+
React.useEffect(function () {
|
|
1184
|
+
onComputedProps(clonedEvaluatedOptions);
|
|
1185
|
+
});
|
|
1086
1186
|
React.useEffect(function () {
|
|
1087
|
-
|
|
1088
|
-
|
|
1187
|
+
return function () {
|
|
1188
|
+
if (useAsyncEvaluatedOptions) {
|
|
1189
|
+
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
1190
|
+
}
|
|
1191
|
+
}; // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1192
|
+
}, []); // present warning message if any required props are missing
|
|
1089
1193
|
|
|
1090
1194
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
1091
1195
|
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
1092
1196
|
supports = vizConfig.supports;
|
|
1093
|
-
var missing = MissingPropsMessage_1.missingKeys(requiredProps,
|
|
1094
|
-
|
|
1095
|
-
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1197
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
1198
|
+
|
|
1199
|
+
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && vizConfig.key !== 'splunk.singlevalue' // For SV missing props msg is not displayed if required props majorValue is missing, instead this will be handled from the component, instead handled within component
|
|
1200
|
+
) {
|
|
1201
|
+
return React.createElement(MissingPropsMessage_1.default, {
|
|
1202
|
+
"data-test": "missing-props-message",
|
|
1203
|
+
width: width,
|
|
1204
|
+
height: height,
|
|
1205
|
+
missingProps: missing,
|
|
1206
|
+
backgroundColor: bgColorFromTheme
|
|
1207
|
+
});
|
|
1208
|
+
} // events
|
|
1104
1209
|
|
|
1105
1210
|
|
|
1106
1211
|
var eventCallbackProps = {};
|
|
@@ -1117,7 +1222,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1117
1222
|
|
|
1118
1223
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
1119
1224
|
payloadKeys.forEach(function (p) {
|
|
1120
|
-
payload[p] =
|
|
1225
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
1121
1226
|
});
|
|
1122
1227
|
}
|
|
1123
1228
|
|
|
@@ -1136,7 +1241,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1136
1241
|
} // compute pure viz props which are not from options
|
|
1137
1242
|
|
|
1138
1243
|
|
|
1139
|
-
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props),
|
|
1244
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
1140
1245
|
themeFunc: themeFunc
|
|
1141
1246
|
}));
|
|
1142
1247
|
/**
|
|
@@ -1156,7 +1261,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1156
1261
|
|
|
1157
1262
|
var dataSourceMetadata = {};
|
|
1158
1263
|
var OptionKey = 'paginateDataSourceKey';
|
|
1159
|
-
var paginateDataSourceKey = lodash_1.has(
|
|
1264
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
1160
1265
|
|
|
1161
1266
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
1162
1267
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
@@ -1186,7 +1291,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1186
1291
|
mode: mode,
|
|
1187
1292
|
width: width,
|
|
1188
1293
|
height: height
|
|
1189
|
-
},
|
|
1294
|
+
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
1190
1295
|
};
|
|
1191
1296
|
|
|
1192
1297
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
@@ -1204,35 +1309,42 @@ exports.default = withDashboardViz;
|
|
|
1204
1309
|
|
|
1205
1310
|
/***/ }),
|
|
1206
1311
|
|
|
1207
|
-
/***/
|
|
1312
|
+
/***/ 37:
|
|
1208
1313
|
/***/ (function(module, exports) {
|
|
1209
1314
|
|
|
1210
1315
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1211
1316
|
|
|
1212
1317
|
/***/ }),
|
|
1213
1318
|
|
|
1214
|
-
/***/
|
|
1319
|
+
/***/ 38:
|
|
1215
1320
|
/***/ (function(module, exports) {
|
|
1216
1321
|
|
|
1217
|
-
module.exports = require("@splunk/
|
|
1322
|
+
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1218
1323
|
|
|
1219
1324
|
/***/ }),
|
|
1220
1325
|
|
|
1221
|
-
/***/
|
|
1326
|
+
/***/ 39:
|
|
1222
1327
|
/***/ (function(module, exports) {
|
|
1223
1328
|
|
|
1224
|
-
module.exports = require("@splunk/
|
|
1329
|
+
module.exports = require("@splunk/moment");
|
|
1225
1330
|
|
|
1226
1331
|
/***/ }),
|
|
1227
1332
|
|
|
1228
|
-
/***/
|
|
1333
|
+
/***/ 4:
|
|
1229
1334
|
/***/ (function(module, exports) {
|
|
1230
1335
|
|
|
1231
|
-
module.exports = require("
|
|
1336
|
+
module.exports = require("styled-components");
|
|
1232
1337
|
|
|
1233
1338
|
/***/ }),
|
|
1234
1339
|
|
|
1235
|
-
/***/
|
|
1340
|
+
/***/ 40:
|
|
1341
|
+
/***/ (function(module, exports) {
|
|
1342
|
+
|
|
1343
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
1344
|
+
|
|
1345
|
+
/***/ }),
|
|
1346
|
+
|
|
1347
|
+
/***/ 41:
|
|
1236
1348
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1237
1349
|
|
|
1238
1350
|
"use strict";
|
|
@@ -1246,11 +1358,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1246
1358
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1247
1359
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1248
1360
|
|
|
1249
|
-
var T = __webpack_require__(
|
|
1361
|
+
var T = __webpack_require__(1);
|
|
1250
1362
|
|
|
1251
1363
|
var lodash_1 = __webpack_require__(3);
|
|
1252
1364
|
|
|
1253
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1365
|
+
var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1254
1366
|
|
|
1255
1367
|
|
|
1256
1368
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1384,7 +1496,7 @@ exports.default = SplunkVisualization;
|
|
|
1384
1496
|
|
|
1385
1497
|
/***/ }),
|
|
1386
1498
|
|
|
1387
|
-
/***/
|
|
1499
|
+
/***/ 42:
|
|
1388
1500
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1389
1501
|
|
|
1390
1502
|
"use strict";
|
|
@@ -1392,7 +1504,7 @@ exports.default = SplunkVisualization;
|
|
|
1392
1504
|
|
|
1393
1505
|
var _classCallCheck = __webpack_require__(11);
|
|
1394
1506
|
|
|
1395
|
-
var _createClass = __webpack_require__(
|
|
1507
|
+
var _createClass = __webpack_require__(22);
|
|
1396
1508
|
|
|
1397
1509
|
Object.defineProperty(exports, "__esModule", {
|
|
1398
1510
|
value: true
|
|
@@ -1422,7 +1534,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1422
1534
|
|
|
1423
1535
|
/***/ }),
|
|
1424
1536
|
|
|
1425
|
-
/***/
|
|
1537
|
+
/***/ 43:
|
|
1426
1538
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1427
1539
|
|
|
1428
1540
|
"use strict";
|
|
@@ -1436,60 +1548,50 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1436
1548
|
|
|
1437
1549
|
/***/ }),
|
|
1438
1550
|
|
|
1439
|
-
/***/
|
|
1440
|
-
/***/ (function(module, exports) {
|
|
1441
|
-
|
|
1442
|
-
module.exports = require("styled-components");
|
|
1443
|
-
|
|
1444
|
-
/***/ }),
|
|
1445
|
-
|
|
1446
|
-
/***/ 40:
|
|
1551
|
+
/***/ 436:
|
|
1447
1552
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1448
1553
|
|
|
1449
1554
|
"use strict";
|
|
1450
1555
|
|
|
1451
1556
|
|
|
1452
|
-
Object.
|
|
1453
|
-
|
|
1557
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
1558
|
+
if (k2 === undefined) k2 = k;
|
|
1559
|
+
Object.defineProperty(o, k2, {
|
|
1560
|
+
enumerable: true,
|
|
1561
|
+
get: function get() {
|
|
1562
|
+
return m[k];
|
|
1563
|
+
}
|
|
1564
|
+
});
|
|
1565
|
+
} : function (o, m, k, k2) {
|
|
1566
|
+
if (k2 === undefined) k2 = k;
|
|
1567
|
+
o[k2] = m[k];
|
|
1454
1568
|
});
|
|
1455
|
-
exports.useDeepMemo = void 0;
|
|
1456
1569
|
|
|
1457
|
-
var
|
|
1570
|
+
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
1571
|
+
for (var p in m) {
|
|
1572
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1573
|
+
}
|
|
1574
|
+
};
|
|
1458
1575
|
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
*
|
|
1464
|
-
* It is different from the internal React useMemo in the following aspects:
|
|
1465
|
-
* - it only stores the last evaluated result
|
|
1466
|
-
* - it uses a deep equality check to determine if dependencies have changed
|
|
1467
|
-
*
|
|
1468
|
-
* Inspired by apollo-client's useDeepMemo
|
|
1469
|
-
*
|
|
1470
|
-
* @param fn the function to be executed and
|
|
1471
|
-
* @param dependencies an array of dependencies
|
|
1472
|
-
*/
|
|
1576
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1577
|
+
value: true
|
|
1578
|
+
});
|
|
1579
|
+
exports.default = void 0;
|
|
1473
1580
|
|
|
1581
|
+
__exportStar(__webpack_require__(160), exports);
|
|
1474
1582
|
|
|
1475
|
-
var
|
|
1476
|
-
var ref = react_1.useRef();
|
|
1583
|
+
var Pie_1 = __webpack_require__(160);
|
|
1477
1584
|
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
};
|
|
1585
|
+
Object.defineProperty(exports, "default", {
|
|
1586
|
+
enumerable: true,
|
|
1587
|
+
get: function get() {
|
|
1588
|
+
return Pie_1.default;
|
|
1483
1589
|
}
|
|
1484
|
-
|
|
1485
|
-
return ref.current.value;
|
|
1486
|
-
};
|
|
1487
|
-
|
|
1488
|
-
exports.useDeepMemo = useDeepMemo;
|
|
1590
|
+
});
|
|
1489
1591
|
|
|
1490
1592
|
/***/ }),
|
|
1491
1593
|
|
|
1492
|
-
/***/
|
|
1594
|
+
/***/ 437:
|
|
1493
1595
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1494
1596
|
|
|
1495
1597
|
"use strict";
|
|
@@ -1498,205 +1600,28 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
1498
1600
|
Object.defineProperty(exports, "__esModule", {
|
|
1499
1601
|
value: true
|
|
1500
1602
|
});
|
|
1501
|
-
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
1502
1603
|
|
|
1503
|
-
var
|
|
1604
|
+
var ChartPie_1 = __webpack_require__(438);
|
|
1504
1605
|
|
|
1505
|
-
var
|
|
1606
|
+
var placeholders_1 = __webpack_require__(48);
|
|
1506
1607
|
|
|
1507
1608
|
var i18n_1 = __webpack_require__(2);
|
|
1508
1609
|
|
|
1509
|
-
var
|
|
1610
|
+
var schemaUtils_1 = __webpack_require__(16);
|
|
1510
1611
|
|
|
1511
|
-
var
|
|
1512
|
-
/**
|
|
1513
|
-
* @method isMissing
|
|
1514
|
-
* @param {any} v
|
|
1515
|
-
* @returns {boolean} true if the input value === null or undefined
|
|
1516
|
-
*/
|
|
1612
|
+
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
1517
1613
|
|
|
1614
|
+
var pick_1 = __webpack_require__(23);
|
|
1518
1615
|
|
|
1519
|
-
var
|
|
1520
|
-
return v === null || v === undefined;
|
|
1521
|
-
};
|
|
1616
|
+
var variables_1 = __webpack_require__(10);
|
|
1522
1617
|
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
* @method misskingKeys
|
|
1526
|
-
* @param {string[]} keys
|
|
1527
|
-
* @param {object} target
|
|
1528
|
-
* @returns {string[]} the keys of missing required props
|
|
1529
|
-
*/
|
|
1618
|
+
var VizBehavior_1 = __webpack_require__(6);
|
|
1530
1619
|
|
|
1531
|
-
var
|
|
1532
|
-
return keys.filter(function (k) {
|
|
1533
|
-
return exports.isMissing(target[k]);
|
|
1534
|
-
});
|
|
1535
|
-
};
|
|
1620
|
+
var VizCategory_1 = __webpack_require__(35);
|
|
1536
1621
|
|
|
1537
|
-
|
|
1538
|
-
var propTypes = {
|
|
1539
|
-
width: T.oneOfType([T.string, T.number]),
|
|
1540
|
-
height: T.oneOfType([T.string, T.number]),
|
|
1541
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
1542
|
-
backgroundColor: T.string,
|
|
1543
|
-
missingProps: T.arrayOf(T.string)
|
|
1544
|
-
};
|
|
1545
|
-
/**
|
|
1546
|
-
* @method MissingPropsMessage
|
|
1547
|
-
* @param {MissingPropsProps} props
|
|
1548
|
-
* @returns {React.ReactElement}
|
|
1549
|
-
*/
|
|
1622
|
+
var configUtils_1 = __webpack_require__(19);
|
|
1550
1623
|
|
|
1551
|
-
var
|
|
1552
|
-
var width = props.width,
|
|
1553
|
-
height = props.height,
|
|
1554
|
-
missingProps = props.missingProps;
|
|
1555
|
-
return React.createElement(Message_1.default, {
|
|
1556
|
-
"data-test": "message",
|
|
1557
|
-
width: width,
|
|
1558
|
-
height: height,
|
|
1559
|
-
message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
|
|
1560
|
-
});
|
|
1561
|
-
};
|
|
1562
|
-
|
|
1563
|
-
exports.MissingPropsMessage = MissingPropsMessage;
|
|
1564
|
-
exports.MissingPropsMessage.propTypes = propTypes;
|
|
1565
|
-
exports.MissingPropsMessage.defaultProps = {
|
|
1566
|
-
width: '100%',
|
|
1567
|
-
height: 250
|
|
1568
|
-
};
|
|
1569
|
-
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1570
|
-
|
|
1571
|
-
/***/ }),
|
|
1572
|
-
|
|
1573
|
-
/***/ 42:
|
|
1574
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1575
|
-
|
|
1576
|
-
"use strict";
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1580
|
-
value: true
|
|
1581
|
-
});
|
|
1582
|
-
|
|
1583
|
-
var React = __webpack_require__(1);
|
|
1584
|
-
|
|
1585
|
-
var styled_components_1 = __webpack_require__(4);
|
|
1586
|
-
|
|
1587
|
-
var hocUtils_1 = __webpack_require__(14);
|
|
1588
|
-
|
|
1589
|
-
var Cover = styled_components_1.default.div.withConfig({
|
|
1590
|
-
displayName: "withEditModeCover__Cover",
|
|
1591
|
-
componentId: "sc-1gsbnxb-0"
|
|
1592
|
-
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1593
|
-
var Blocker = styled_components_1.default.div.attrs({
|
|
1594
|
-
'data-splunk-visualization-version': "25.5.0 - 12c0447a7"
|
|
1595
|
-
}).withConfig({
|
|
1596
|
-
displayName: "withEditModeCover__Blocker",
|
|
1597
|
-
componentId: "sc-1gsbnxb-1"
|
|
1598
|
-
})(["position:relative;width:100%;height:100%;"]);
|
|
1599
|
-
/**
|
|
1600
|
-
* HOC that renders a cover layer in edit mode
|
|
1601
|
-
* @method withEditModeCover
|
|
1602
|
-
* @param {ExtendedDashViz} Visualization
|
|
1603
|
-
* @returns {ExtendedDashViz} Wrapper
|
|
1604
|
-
*/
|
|
1605
|
-
|
|
1606
|
-
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
1607
|
-
var Wrapper = function Wrapper(props) {
|
|
1608
|
-
var mode = props.mode;
|
|
1609
|
-
var showEditCover = mode === 'edit' && !disableEditModeCover;
|
|
1610
|
-
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
|
|
1611
|
-
"data-test": "edit-mode-cover"
|
|
1612
|
-
}));
|
|
1613
|
-
};
|
|
1614
|
-
|
|
1615
|
-
hocUtils_1.extendStaticWrapperProps({
|
|
1616
|
-
Wrapper: Wrapper,
|
|
1617
|
-
Visualization: Visualization
|
|
1618
|
-
});
|
|
1619
|
-
return Wrapper;
|
|
1620
|
-
};
|
|
1621
|
-
|
|
1622
|
-
exports.default = withEditModeCover;
|
|
1623
|
-
|
|
1624
|
-
/***/ }),
|
|
1625
|
-
|
|
1626
|
-
/***/ 421:
|
|
1627
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1628
|
-
|
|
1629
|
-
"use strict";
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
1633
|
-
if (k2 === undefined) k2 = k;
|
|
1634
|
-
Object.defineProperty(o, k2, {
|
|
1635
|
-
enumerable: true,
|
|
1636
|
-
get: function get() {
|
|
1637
|
-
return m[k];
|
|
1638
|
-
}
|
|
1639
|
-
});
|
|
1640
|
-
} : function (o, m, k, k2) {
|
|
1641
|
-
if (k2 === undefined) k2 = k;
|
|
1642
|
-
o[k2] = m[k];
|
|
1643
|
-
});
|
|
1644
|
-
|
|
1645
|
-
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
1646
|
-
for (var p in m) {
|
|
1647
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1648
|
-
}
|
|
1649
|
-
};
|
|
1650
|
-
|
|
1651
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1652
|
-
value: true
|
|
1653
|
-
});
|
|
1654
|
-
exports.default = void 0;
|
|
1655
|
-
|
|
1656
|
-
__exportStar(__webpack_require__(147), exports);
|
|
1657
|
-
|
|
1658
|
-
var Pie_1 = __webpack_require__(147);
|
|
1659
|
-
|
|
1660
|
-
Object.defineProperty(exports, "default", {
|
|
1661
|
-
enumerable: true,
|
|
1662
|
-
get: function get() {
|
|
1663
|
-
return Pie_1.default;
|
|
1664
|
-
}
|
|
1665
|
-
});
|
|
1666
|
-
|
|
1667
|
-
/***/ }),
|
|
1668
|
-
|
|
1669
|
-
/***/ 422:
|
|
1670
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1671
|
-
|
|
1672
|
-
"use strict";
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1676
|
-
value: true
|
|
1677
|
-
});
|
|
1678
|
-
|
|
1679
|
-
var ChartPie_1 = __webpack_require__(423);
|
|
1680
|
-
|
|
1681
|
-
var placeholders_1 = __webpack_require__(44);
|
|
1682
|
-
|
|
1683
|
-
var i18n_1 = __webpack_require__(2);
|
|
1684
|
-
|
|
1685
|
-
var schemaUtils_1 = __webpack_require__(16);
|
|
1686
|
-
|
|
1687
|
-
var visualization_color_palettes_1 = __webpack_require__(46);
|
|
1688
|
-
|
|
1689
|
-
var pick_1 = __webpack_require__(21);
|
|
1690
|
-
|
|
1691
|
-
var variables_1 = __webpack_require__(9);
|
|
1692
|
-
|
|
1693
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
1694
|
-
|
|
1695
|
-
var VizCategory_1 = __webpack_require__(31);
|
|
1696
|
-
|
|
1697
|
-
var configUtils_1 = __webpack_require__(17);
|
|
1698
|
-
|
|
1699
|
-
var BackgroundColor_1 = __webpack_require__(49);
|
|
1624
|
+
var BackgroundColor_1 = __webpack_require__(53);
|
|
1700
1625
|
|
|
1701
1626
|
var dataContract = {
|
|
1702
1627
|
requiredDataSources: [{
|
|
@@ -1805,6 +1730,25 @@ var themes = {
|
|
|
1805
1730
|
}
|
|
1806
1731
|
};
|
|
1807
1732
|
var editorConfig = [{
|
|
1733
|
+
label: i18n_1._('Data configurations'),
|
|
1734
|
+
layout: [[{
|
|
1735
|
+
label: i18n_1._('Label'),
|
|
1736
|
+
editor: 'editor.columnSelector',
|
|
1737
|
+
option: 'label',
|
|
1738
|
+
context: 'valuesContext',
|
|
1739
|
+
editorProps: {
|
|
1740
|
+
dataSourceKey: 'primary'
|
|
1741
|
+
}
|
|
1742
|
+
}], [{
|
|
1743
|
+
label: i18n_1._('Value'),
|
|
1744
|
+
editor: 'editor.columnSelector',
|
|
1745
|
+
option: 'value',
|
|
1746
|
+
context: 'valuesContext',
|
|
1747
|
+
editorProps: {
|
|
1748
|
+
dataSourceKey: 'primary'
|
|
1749
|
+
}
|
|
1750
|
+
}]]
|
|
1751
|
+
}, {
|
|
1808
1752
|
label: i18n_1._('Data display'),
|
|
1809
1753
|
layout: [[{
|
|
1810
1754
|
label: i18n_1._('Display type'),
|
|
@@ -1822,7 +1766,7 @@ var editorConfig = [{
|
|
|
1822
1766
|
}], [{
|
|
1823
1767
|
label: i18n_1._('Label display'),
|
|
1824
1768
|
option: 'labelDisplay',
|
|
1825
|
-
editor: 'editor.
|
|
1769
|
+
editor: 'editor.select',
|
|
1826
1770
|
editorProps: {
|
|
1827
1771
|
values: [{
|
|
1828
1772
|
label: i18n_1._('Values'),
|
|
@@ -1851,7 +1795,11 @@ var editorConfig = [{
|
|
|
1851
1795
|
}]]
|
|
1852
1796
|
}, {
|
|
1853
1797
|
label: i18n_1._('Color and style'),
|
|
1854
|
-
layout: [
|
|
1798
|
+
layout: [[{
|
|
1799
|
+
label: i18n_1._('Series colors'),
|
|
1800
|
+
option: 'seriesColors',
|
|
1801
|
+
editor: 'editor.seriesColors'
|
|
1802
|
+
}], BackgroundColor_1.default({
|
|
1855
1803
|
themes: themes
|
|
1856
1804
|
})]
|
|
1857
1805
|
}];
|
|
@@ -1893,14 +1841,14 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
1893
1841
|
|
|
1894
1842
|
/***/ }),
|
|
1895
1843
|
|
|
1896
|
-
/***/
|
|
1844
|
+
/***/ 438:
|
|
1897
1845
|
/***/ (function(module, exports) {
|
|
1898
1846
|
|
|
1899
1847
|
module.exports = require("@splunk/react-icons/ChartPie");
|
|
1900
1848
|
|
|
1901
1849
|
/***/ }),
|
|
1902
1850
|
|
|
1903
|
-
/***/
|
|
1851
|
+
/***/ 439:
|
|
1904
1852
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1905
1853
|
|
|
1906
1854
|
"use strict";
|
|
@@ -1926,13 +1874,13 @@ exports.allInvalidDataValues = exports.invalidOptionField = exports.getPieOption
|
|
|
1926
1874
|
|
|
1927
1875
|
var lodash_1 = __webpack_require__(3);
|
|
1928
1876
|
|
|
1929
|
-
var propUtils_1 = __webpack_require__(
|
|
1877
|
+
var propUtils_1 = __webpack_require__(28);
|
|
1930
1878
|
|
|
1931
|
-
var dsl_1 = __webpack_require__(
|
|
1879
|
+
var dsl_1 = __webpack_require__(105);
|
|
1932
1880
|
|
|
1933
|
-
var hocUtils_1 = __webpack_require__(
|
|
1881
|
+
var hocUtils_1 = __webpack_require__(26);
|
|
1934
1882
|
|
|
1935
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1883
|
+
var JSONSchemaUtils_1 = __webpack_require__(27); // CONVERT THIS TO PIE THEN ADD TO Pie.TSX
|
|
1936
1884
|
// map for key names which are either new or not present in SimpleXML options mapping
|
|
1937
1885
|
|
|
1938
1886
|
|
|
@@ -2092,7 +2040,187 @@ exports.allInvalidDataValues = allInvalidDataValues;
|
|
|
2092
2040
|
|
|
2093
2041
|
/***/ }),
|
|
2094
2042
|
|
|
2095
|
-
/***/
|
|
2043
|
+
/***/ 44:
|
|
2044
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2045
|
+
|
|
2046
|
+
"use strict";
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2050
|
+
value: true
|
|
2051
|
+
});
|
|
2052
|
+
exports.useDeepMemo = void 0;
|
|
2053
|
+
|
|
2054
|
+
var react_1 = __webpack_require__(0);
|
|
2055
|
+
|
|
2056
|
+
var lodash_1 = __webpack_require__(3);
|
|
2057
|
+
/**
|
|
2058
|
+
* This hook evaluates and stores the result of a passed function and only
|
|
2059
|
+
* re-evaluates the function when passed dependencies change.
|
|
2060
|
+
*
|
|
2061
|
+
* It is different from the internal React useMemo in the following aspects:
|
|
2062
|
+
* - it only stores the last evaluated result
|
|
2063
|
+
* - it uses a deep equality check to determine if dependencies have changed
|
|
2064
|
+
*
|
|
2065
|
+
* Inspired by apollo-client's useDeepMemo
|
|
2066
|
+
*
|
|
2067
|
+
* @param fn the function to be executed and
|
|
2068
|
+
* @param dependencies an array of dependencies
|
|
2069
|
+
*/
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
2073
|
+
var ref = react_1.useRef();
|
|
2074
|
+
|
|
2075
|
+
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
2076
|
+
ref.current = {
|
|
2077
|
+
dependencies: dependencies,
|
|
2078
|
+
value: fn()
|
|
2079
|
+
};
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
return ref.current.value;
|
|
2083
|
+
};
|
|
2084
|
+
|
|
2085
|
+
exports.useDeepMemo = useDeepMemo;
|
|
2086
|
+
|
|
2087
|
+
/***/ }),
|
|
2088
|
+
|
|
2089
|
+
/***/ 45:
|
|
2090
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2091
|
+
|
|
2092
|
+
"use strict";
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2096
|
+
value: true
|
|
2097
|
+
});
|
|
2098
|
+
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
2099
|
+
|
|
2100
|
+
var React = __webpack_require__(0);
|
|
2101
|
+
|
|
2102
|
+
var T = __webpack_require__(1);
|
|
2103
|
+
|
|
2104
|
+
var i18n_1 = __webpack_require__(2);
|
|
2105
|
+
|
|
2106
|
+
var Message_1 = __webpack_require__(9);
|
|
2107
|
+
|
|
2108
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
2109
|
+
/**
|
|
2110
|
+
* @method isMissing
|
|
2111
|
+
* @param {any} v
|
|
2112
|
+
* @returns {boolean} true if the input value === null or undefined
|
|
2113
|
+
*/
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
var isMissing = function isMissing(v) {
|
|
2117
|
+
return v === null || v === undefined;
|
|
2118
|
+
};
|
|
2119
|
+
|
|
2120
|
+
exports.isMissing = isMissing;
|
|
2121
|
+
/**
|
|
2122
|
+
* @method misskingKeys
|
|
2123
|
+
* @param {string[]} keys
|
|
2124
|
+
* @param {object} target
|
|
2125
|
+
* @returns {string[]} the keys of missing required props
|
|
2126
|
+
*/
|
|
2127
|
+
|
|
2128
|
+
var missingKeys = function missingKeys(keys, target) {
|
|
2129
|
+
return keys.filter(function (k) {
|
|
2130
|
+
return exports.isMissing(target[k]);
|
|
2131
|
+
});
|
|
2132
|
+
};
|
|
2133
|
+
|
|
2134
|
+
exports.missingKeys = missingKeys;
|
|
2135
|
+
var propTypes = {
|
|
2136
|
+
width: T.oneOfType([T.string, T.number]),
|
|
2137
|
+
height: T.oneOfType([T.string, T.number]),
|
|
2138
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
2139
|
+
backgroundColor: T.string,
|
|
2140
|
+
missingProps: T.arrayOf(T.string)
|
|
2141
|
+
};
|
|
2142
|
+
/**
|
|
2143
|
+
* @method MissingPropsMessage
|
|
2144
|
+
* @param {MissingPropsProps} props
|
|
2145
|
+
* @returns {React.ReactElement}
|
|
2146
|
+
*/
|
|
2147
|
+
|
|
2148
|
+
var MissingPropsMessage = function MissingPropsMessage(props) {
|
|
2149
|
+
var width = props.width,
|
|
2150
|
+
height = props.height,
|
|
2151
|
+
missingProps = props.missingProps;
|
|
2152
|
+
return React.createElement(Message_1.default, {
|
|
2153
|
+
"data-test": "message",
|
|
2154
|
+
width: width,
|
|
2155
|
+
height: height,
|
|
2156
|
+
message: i18n_1._("Missing property: ".concat(missingProps.join(', ')))
|
|
2157
|
+
});
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
exports.MissingPropsMessage = MissingPropsMessage;
|
|
2161
|
+
exports.MissingPropsMessage.propTypes = propTypes;
|
|
2162
|
+
exports.MissingPropsMessage.defaultProps = {
|
|
2163
|
+
width: '100%',
|
|
2164
|
+
height: 250
|
|
2165
|
+
};
|
|
2166
|
+
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
2167
|
+
|
|
2168
|
+
/***/ }),
|
|
2169
|
+
|
|
2170
|
+
/***/ 46:
|
|
2171
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2172
|
+
|
|
2173
|
+
"use strict";
|
|
2174
|
+
|
|
2175
|
+
|
|
2176
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2177
|
+
value: true
|
|
2178
|
+
});
|
|
2179
|
+
|
|
2180
|
+
var React = __webpack_require__(0);
|
|
2181
|
+
|
|
2182
|
+
var styled_components_1 = __webpack_require__(4);
|
|
2183
|
+
|
|
2184
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
2185
|
+
|
|
2186
|
+
var Cover = styled_components_1.default.div.withConfig({
|
|
2187
|
+
displayName: "withEditModeCover__Cover",
|
|
2188
|
+
componentId: "sc-1gsbnxb-0"
|
|
2189
|
+
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2190
|
+
var Blocker = styled_components_1.default.div.attrs({
|
|
2191
|
+
'data-splunk-visualization-version': "25.7.0 - d10a7789b"
|
|
2192
|
+
}).withConfig({
|
|
2193
|
+
displayName: "withEditModeCover__Blocker",
|
|
2194
|
+
componentId: "sc-1gsbnxb-1"
|
|
2195
|
+
})(["position:relative;width:100%;height:100%;"]);
|
|
2196
|
+
/**
|
|
2197
|
+
* HOC that renders a cover layer in edit mode
|
|
2198
|
+
* @method withEditModeCover
|
|
2199
|
+
* @param {ExtendedDashViz} Visualization
|
|
2200
|
+
* @returns {ExtendedDashViz} Wrapper
|
|
2201
|
+
*/
|
|
2202
|
+
|
|
2203
|
+
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
2204
|
+
var Wrapper = function Wrapper(props) {
|
|
2205
|
+
var mode = props.mode;
|
|
2206
|
+
var showEditCover = mode === 'edit' && !disableEditModeCover;
|
|
2207
|
+
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
|
|
2208
|
+
"data-test": "edit-mode-cover"
|
|
2209
|
+
}));
|
|
2210
|
+
};
|
|
2211
|
+
|
|
2212
|
+
hocUtils_1.extendStaticWrapperProps({
|
|
2213
|
+
Wrapper: Wrapper,
|
|
2214
|
+
Visualization: Visualization
|
|
2215
|
+
});
|
|
2216
|
+
return Wrapper;
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
exports.default = withEditModeCover;
|
|
2220
|
+
|
|
2221
|
+
/***/ }),
|
|
2222
|
+
|
|
2223
|
+
/***/ 47:
|
|
2096
2224
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2097
2225
|
|
|
2098
2226
|
"use strict";
|
|
@@ -2102,17 +2230,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2102
2230
|
value: true
|
|
2103
2231
|
});
|
|
2104
2232
|
|
|
2105
|
-
var React = __webpack_require__(
|
|
2233
|
+
var React = __webpack_require__(0);
|
|
2106
2234
|
|
|
2107
2235
|
var colorUtils_1 = __webpack_require__(12);
|
|
2108
2236
|
|
|
2109
|
-
var variables_1 = __webpack_require__(
|
|
2237
|
+
var variables_1 = __webpack_require__(10);
|
|
2110
2238
|
|
|
2111
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2239
|
+
var IconPlaceholder_1 = __webpack_require__(31);
|
|
2112
2240
|
|
|
2113
2241
|
var VizBehavior_1 = __webpack_require__(6);
|
|
2114
2242
|
|
|
2115
|
-
var hocUtils_1 = __webpack_require__(
|
|
2243
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
2116
2244
|
|
|
2117
2245
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2118
2246
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2157,21 +2285,21 @@ exports.default = withPlaceholder;
|
|
|
2157
2285
|
|
|
2158
2286
|
/***/ }),
|
|
2159
2287
|
|
|
2160
|
-
/***/
|
|
2288
|
+
/***/ 48:
|
|
2161
2289
|
/***/ (function(module, exports) {
|
|
2162
2290
|
|
|
2163
2291
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
2164
2292
|
|
|
2165
2293
|
/***/ }),
|
|
2166
2294
|
|
|
2167
|
-
/***/
|
|
2295
|
+
/***/ 50:
|
|
2168
2296
|
/***/ (function(module, exports) {
|
|
2169
2297
|
|
|
2170
2298
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
2171
2299
|
|
|
2172
2300
|
/***/ }),
|
|
2173
2301
|
|
|
2174
|
-
/***/
|
|
2302
|
+
/***/ 53:
|
|
2175
2303
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2176
2304
|
|
|
2177
2305
|
"use strict";
|
|
@@ -2202,13 +2330,13 @@ exports.default = background;
|
|
|
2202
2330
|
|
|
2203
2331
|
/***/ }),
|
|
2204
2332
|
|
|
2205
|
-
/***/
|
|
2333
|
+
/***/ 55:
|
|
2206
2334
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2207
2335
|
|
|
2208
2336
|
"use strict";
|
|
2209
2337
|
|
|
2210
2338
|
|
|
2211
|
-
var _toConsumableArray = __webpack_require__(
|
|
2339
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2212
2340
|
|
|
2213
2341
|
var __rest = this && this.__rest || function (s, e) {
|
|
2214
2342
|
var t = {};
|
|
@@ -2424,14 +2552,60 @@ exports.constructFieldsAndColumns = constructFieldsAndColumns;
|
|
|
2424
2552
|
|
|
2425
2553
|
/***/ }),
|
|
2426
2554
|
|
|
2427
|
-
/***/
|
|
2555
|
+
/***/ 56:
|
|
2428
2556
|
/***/ (function(module, exports) {
|
|
2429
2557
|
|
|
2430
2558
|
module.exports = require("@splunk/charting-bundle");
|
|
2431
2559
|
|
|
2432
2560
|
/***/ }),
|
|
2433
2561
|
|
|
2434
|
-
/***/
|
|
2562
|
+
/***/ 57:
|
|
2563
|
+
/***/ (function(module, exports) {
|
|
2564
|
+
|
|
2565
|
+
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2566
|
+
|
|
2567
|
+
/***/ }),
|
|
2568
|
+
|
|
2569
|
+
/***/ 6:
|
|
2570
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2571
|
+
|
|
2572
|
+
"use strict";
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2576
|
+
value: true
|
|
2577
|
+
});
|
|
2578
|
+
exports.VizBehavior = void 0;
|
|
2579
|
+
var VizBehavior;
|
|
2580
|
+
|
|
2581
|
+
(function (VizBehavior) {
|
|
2582
|
+
/**
|
|
2583
|
+
* Dynamic Options Behavior.
|
|
2584
|
+
* This allows visualization options to be powered by data
|
|
2585
|
+
*
|
|
2586
|
+
* **Example**
|
|
2587
|
+
*
|
|
2588
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
2589
|
+
* would configure sparklineValues with an array of data points
|
|
2590
|
+
* coming from the first series in the primary datasource
|
|
2591
|
+
*
|
|
2592
|
+
*/
|
|
2593
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
2594
|
+
VizBehavior["EVENTS"] = "events";
|
|
2595
|
+
/**
|
|
2596
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
2597
|
+
* missing.
|
|
2598
|
+
* @type {string}
|
|
2599
|
+
*/
|
|
2600
|
+
|
|
2601
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
2602
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2603
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
2604
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2605
|
+
|
|
2606
|
+
/***/ }),
|
|
2607
|
+
|
|
2608
|
+
/***/ 62:
|
|
2435
2609
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2436
2610
|
|
|
2437
2611
|
"use strict";
|
|
@@ -2447,34 +2621,34 @@ var lodash_1 = __webpack_require__(3);
|
|
|
2447
2621
|
|
|
2448
2622
|
var i18n_1 = __webpack_require__(2);
|
|
2449
2623
|
|
|
2450
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2624
|
+
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
2451
2625
|
|
|
2452
|
-
var react_1 = __webpack_require__(
|
|
2626
|
+
var react_1 = __webpack_require__(0);
|
|
2453
2627
|
|
|
2454
|
-
var React = __webpack_require__(
|
|
2628
|
+
var React = __webpack_require__(0);
|
|
2455
2629
|
|
|
2456
|
-
var T = __webpack_require__(
|
|
2630
|
+
var T = __webpack_require__(1);
|
|
2457
2631
|
|
|
2458
|
-
var react_event_listener_1 = __webpack_require__(
|
|
2632
|
+
var react_event_listener_1 = __webpack_require__(63);
|
|
2459
2633
|
|
|
2460
|
-
__webpack_require__(
|
|
2634
|
+
__webpack_require__(64); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
2461
2635
|
|
|
2462
2636
|
|
|
2463
|
-
var charting_bundle_1 = __webpack_require__(
|
|
2637
|
+
var charting_bundle_1 = __webpack_require__(56);
|
|
2464
2638
|
|
|
2465
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
2639
|
+
var TimezoneContext_1 = __webpack_require__(25);
|
|
2466
2640
|
|
|
2467
|
-
var style_1 = __webpack_require__(
|
|
2641
|
+
var style_1 = __webpack_require__(14);
|
|
2468
2642
|
|
|
2469
2643
|
var styled_components_1 = __webpack_require__(4);
|
|
2470
2644
|
|
|
2471
|
-
var Message_1 = __webpack_require__(
|
|
2645
|
+
var Message_1 = __webpack_require__(9);
|
|
2472
2646
|
|
|
2473
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
2647
|
+
var useSplunkTheme_1 = __webpack_require__(57);
|
|
2474
2648
|
|
|
2475
|
-
var themeUtils_1 = __webpack_require__(
|
|
2649
|
+
var themeUtils_1 = __webpack_require__(65);
|
|
2476
2650
|
|
|
2477
|
-
var ChartingApi_1 = __webpack_require__(
|
|
2651
|
+
var ChartingApi_1 = __webpack_require__(66);
|
|
2478
2652
|
|
|
2479
2653
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
2480
2654
|
|
|
@@ -2854,73 +3028,28 @@ exports.default = withEmptyChartMessage(Charting);
|
|
|
2854
3028
|
|
|
2855
3029
|
/***/ }),
|
|
2856
3030
|
|
|
2857
|
-
/***/
|
|
3031
|
+
/***/ 63:
|
|
2858
3032
|
/***/ (function(module, exports) {
|
|
2859
3033
|
|
|
2860
3034
|
module.exports = require("react-event-listener");
|
|
2861
3035
|
|
|
2862
3036
|
/***/ }),
|
|
2863
3037
|
|
|
2864
|
-
/***/
|
|
3038
|
+
/***/ 64:
|
|
2865
3039
|
/***/ (function(module, exports) {
|
|
2866
3040
|
|
|
2867
3041
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
2868
3042
|
|
|
2869
3043
|
/***/ }),
|
|
2870
3044
|
|
|
2871
|
-
/***/
|
|
2872
|
-
/***/ (function(module, exports) {
|
|
2873
|
-
|
|
2874
|
-
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2875
|
-
|
|
2876
|
-
/***/ }),
|
|
2877
|
-
|
|
2878
|
-
/***/ 6:
|
|
2879
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2880
|
-
|
|
2881
|
-
"use strict";
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2885
|
-
value: true
|
|
2886
|
-
});
|
|
2887
|
-
exports.VizBehavior = void 0;
|
|
2888
|
-
var VizBehavior;
|
|
2889
|
-
|
|
2890
|
-
(function (VizBehavior) {
|
|
2891
|
-
/**
|
|
2892
|
-
* Dynamic Options Behavior.
|
|
2893
|
-
* This allows visualization options to be powered by data
|
|
2894
|
-
*
|
|
2895
|
-
* **Example**
|
|
2896
|
-
*
|
|
2897
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
2898
|
-
* would configure sparklineValues with an array of data points
|
|
2899
|
-
* coming from the first series in the primary datasource
|
|
2900
|
-
*
|
|
2901
|
-
*/
|
|
2902
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
2903
|
-
VizBehavior["EVENTS"] = "events";
|
|
2904
|
-
/**
|
|
2905
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
2906
|
-
* missing.
|
|
2907
|
-
* @type {string}
|
|
2908
|
-
*/
|
|
2909
|
-
|
|
2910
|
-
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
2911
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2912
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2913
|
-
|
|
2914
|
-
/***/ }),
|
|
2915
|
-
|
|
2916
|
-
/***/ 60:
|
|
3045
|
+
/***/ 65:
|
|
2917
3046
|
/***/ (function(module, exports) {
|
|
2918
3047
|
|
|
2919
3048
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
2920
3049
|
|
|
2921
3050
|
/***/ }),
|
|
2922
3051
|
|
|
2923
|
-
/***/
|
|
3052
|
+
/***/ 66:
|
|
2924
3053
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2925
3054
|
|
|
2926
3055
|
"use strict";
|
|
@@ -2928,7 +3057,7 @@ module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
|
2928
3057
|
|
|
2929
3058
|
var _classCallCheck = __webpack_require__(11);
|
|
2930
3059
|
|
|
2931
|
-
var _createClass = __webpack_require__(
|
|
3060
|
+
var _createClass = __webpack_require__(22);
|
|
2932
3061
|
|
|
2933
3062
|
Object.defineProperty(exports, "__esModule", {
|
|
2934
3063
|
value: true
|
|
@@ -2989,7 +3118,7 @@ exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
|
2989
3118
|
|
|
2990
3119
|
/***/ }),
|
|
2991
3120
|
|
|
2992
|
-
/***/
|
|
3121
|
+
/***/ 67:
|
|
2993
3122
|
/***/ (function(module, exports) {
|
|
2994
3123
|
|
|
2995
3124
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
@@ -2999,28 +3128,21 @@ module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
|
2999
3128
|
/***/ 7:
|
|
3000
3129
|
/***/ (function(module, exports) {
|
|
3001
3130
|
|
|
3002
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3131
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
3003
3132
|
|
|
3004
3133
|
/***/ }),
|
|
3005
3134
|
|
|
3006
3135
|
/***/ 8:
|
|
3007
3136
|
/***/ (function(module, exports) {
|
|
3008
3137
|
|
|
3009
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3138
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
3010
3139
|
|
|
3011
3140
|
/***/ }),
|
|
3012
3141
|
|
|
3013
3142
|
/***/ 9:
|
|
3014
3143
|
/***/ (function(module, exports) {
|
|
3015
3144
|
|
|
3016
|
-
module.exports = require("@splunk/
|
|
3017
|
-
|
|
3018
|
-
/***/ }),
|
|
3019
|
-
|
|
3020
|
-
/***/ 96:
|
|
3021
|
-
/***/ (function(module, exports) {
|
|
3022
|
-
|
|
3023
|
-
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
3145
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
3024
3146
|
|
|
3025
3147
|
/***/ })
|
|
3026
3148
|
|