@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/Column.js
CHANGED
|
@@ -87,20 +87,20 @@ 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 = 191);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
94
94
|
/* 0 */
|
|
95
95
|
/***/ (function(module, exports) {
|
|
96
96
|
|
|
97
|
-
module.exports = require("
|
|
97
|
+
module.exports = require("react");
|
|
98
98
|
|
|
99
99
|
/***/ }),
|
|
100
100
|
/* 1 */
|
|
101
101
|
/***/ (function(module, exports) {
|
|
102
102
|
|
|
103
|
-
module.exports = require("
|
|
103
|
+
module.exports = require("prop-types");
|
|
104
104
|
|
|
105
105
|
/***/ }),
|
|
106
106
|
/* 2 */
|
|
@@ -156,31 +156,32 @@ var VizBehavior;
|
|
|
156
156
|
|
|
157
157
|
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
158
158
|
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
159
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
159
160
|
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
160
161
|
|
|
161
162
|
/***/ }),
|
|
162
163
|
/* 7 */
|
|
163
164
|
/***/ (function(module, exports) {
|
|
164
165
|
|
|
165
|
-
module.exports = require("@babel/runtime/helpers/
|
|
166
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
166
167
|
|
|
167
168
|
/***/ }),
|
|
168
169
|
/* 8 */
|
|
169
170
|
/***/ (function(module, exports) {
|
|
170
171
|
|
|
171
|
-
module.exports = require("@babel/runtime/helpers/
|
|
172
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
172
173
|
|
|
173
174
|
/***/ }),
|
|
174
175
|
/* 9 */
|
|
175
176
|
/***/ (function(module, exports) {
|
|
176
177
|
|
|
177
|
-
module.exports = require("@splunk/
|
|
178
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
178
179
|
|
|
179
180
|
/***/ }),
|
|
180
181
|
/* 10 */
|
|
181
182
|
/***/ (function(module, exports) {
|
|
182
183
|
|
|
183
|
-
module.exports = require("@splunk/
|
|
184
|
+
module.exports = require("@splunk/themes/variables");
|
|
184
185
|
|
|
185
186
|
/***/ }),
|
|
186
187
|
/* 11 */
|
|
@@ -205,13 +206,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
205
206
|
value: true
|
|
206
207
|
});
|
|
207
208
|
|
|
208
|
-
var React = __webpack_require__(
|
|
209
|
+
var React = __webpack_require__(0);
|
|
209
210
|
|
|
210
211
|
var styled_components_1 = __webpack_require__(4);
|
|
211
212
|
|
|
212
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
213
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
213
214
|
|
|
214
|
-
var style_1 = __webpack_require__(
|
|
215
|
+
var style_1 = __webpack_require__(14);
|
|
215
216
|
|
|
216
217
|
var colorUtils_1 = __webpack_require__(12);
|
|
217
218
|
|
|
@@ -270,7 +271,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
270
271
|
|
|
271
272
|
return React.createElement(FixSizeItem, {
|
|
272
273
|
"data-test": "fix-size-item",
|
|
273
|
-
"data-splunk-visualization-version": "25.
|
|
274
|
+
"data-splunk-visualization-version": "25.7.0 - d10a7789b",
|
|
274
275
|
width: width,
|
|
275
276
|
height: height,
|
|
276
277
|
backgroundColor: backgroundColor
|
|
@@ -292,6 +293,12 @@ exports.default = withFixedSizeContainer;
|
|
|
292
293
|
|
|
293
294
|
/***/ }),
|
|
294
295
|
/* 14 */
|
|
296
|
+
/***/ (function(module, exports) {
|
|
297
|
+
|
|
298
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
299
|
+
|
|
300
|
+
/***/ }),
|
|
301
|
+
/* 15 */
|
|
295
302
|
/***/ (function(module, exports, __webpack_require__) {
|
|
296
303
|
|
|
297
304
|
"use strict";
|
|
@@ -323,27 +330,33 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
|
323
330
|
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
324
331
|
|
|
325
332
|
/***/ }),
|
|
326
|
-
/*
|
|
333
|
+
/* 16 */
|
|
327
334
|
/***/ (function(module, exports) {
|
|
328
335
|
|
|
329
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
336
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
330
337
|
|
|
331
338
|
/***/ }),
|
|
332
|
-
/*
|
|
339
|
+
/* 17 */
|
|
333
340
|
/***/ (function(module, exports) {
|
|
334
341
|
|
|
335
|
-
module.exports = require("@
|
|
342
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
336
343
|
|
|
337
344
|
/***/ }),
|
|
338
|
-
/*
|
|
345
|
+
/* 18 */
|
|
346
|
+
/***/ (function(module, exports) {
|
|
347
|
+
|
|
348
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
349
|
+
|
|
350
|
+
/***/ }),
|
|
351
|
+
/* 19 */
|
|
339
352
|
/***/ (function(module, exports, __webpack_require__) {
|
|
340
353
|
|
|
341
354
|
"use strict";
|
|
342
355
|
|
|
343
356
|
|
|
344
|
-
var _toConsumableArray = __webpack_require__(
|
|
357
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
345
358
|
|
|
346
|
-
var _defineProperty = __webpack_require__(
|
|
359
|
+
var _defineProperty = __webpack_require__(8);
|
|
347
360
|
|
|
348
361
|
var __rest = this && this.__rest || function (s, e) {
|
|
349
362
|
var t = {};
|
|
@@ -571,51 +584,58 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
571
584
|
exports.insertLayout = insertLayout;
|
|
572
585
|
|
|
573
586
|
/***/ }),
|
|
574
|
-
/*
|
|
575
|
-
/* 19 */
|
|
587
|
+
/* 20 */
|
|
576
588
|
/***/ (function(module, exports) {
|
|
577
589
|
|
|
578
|
-
module.exports = require("@
|
|
590
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
579
591
|
|
|
580
592
|
/***/ }),
|
|
581
|
-
/*
|
|
593
|
+
/* 21 */,
|
|
594
|
+
/* 22 */
|
|
582
595
|
/***/ (function(module, exports) {
|
|
583
596
|
|
|
584
|
-
module.exports = require("@
|
|
597
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
585
598
|
|
|
586
599
|
/***/ }),
|
|
587
|
-
/*
|
|
600
|
+
/* 23 */
|
|
588
601
|
/***/ (function(module, exports) {
|
|
589
602
|
|
|
590
603
|
module.exports = require("@splunk/themes/pick");
|
|
591
604
|
|
|
592
605
|
/***/ }),
|
|
593
|
-
/*
|
|
594
|
-
/*
|
|
606
|
+
/* 24 */,
|
|
607
|
+
/* 25 */
|
|
595
608
|
/***/ (function(module, exports) {
|
|
596
609
|
|
|
597
610
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
598
611
|
|
|
599
612
|
/***/ }),
|
|
600
|
-
/*
|
|
613
|
+
/* 26 */
|
|
601
614
|
/***/ (function(module, exports) {
|
|
602
615
|
|
|
603
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
616
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
604
617
|
|
|
605
618
|
/***/ }),
|
|
606
|
-
/*
|
|
619
|
+
/* 27 */
|
|
607
620
|
/***/ (function(module, exports) {
|
|
608
621
|
|
|
609
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
622
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
610
623
|
|
|
611
624
|
/***/ }),
|
|
612
|
-
/*
|
|
625
|
+
/* 28 */
|
|
613
626
|
/***/ (function(module, exports) {
|
|
614
627
|
|
|
615
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
628
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
616
629
|
|
|
617
630
|
/***/ }),
|
|
618
|
-
/*
|
|
631
|
+
/* 29 */
|
|
632
|
+
/***/ (function(module, exports) {
|
|
633
|
+
|
|
634
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
635
|
+
|
|
636
|
+
/***/ }),
|
|
637
|
+
/* 30 */,
|
|
638
|
+
/* 31 */
|
|
619
639
|
/***/ (function(module, exports, __webpack_require__) {
|
|
620
640
|
|
|
621
641
|
"use strict";
|
|
@@ -626,15 +646,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
626
646
|
});
|
|
627
647
|
exports.shouldShowIconPlaceholder = void 0;
|
|
628
648
|
|
|
629
|
-
var React = __webpack_require__(
|
|
649
|
+
var React = __webpack_require__(0);
|
|
630
650
|
|
|
631
|
-
var T = __webpack_require__(
|
|
651
|
+
var T = __webpack_require__(1);
|
|
632
652
|
|
|
633
653
|
var lodash_1 = __webpack_require__(3);
|
|
634
654
|
|
|
635
655
|
var i18n_1 = __webpack_require__(2);
|
|
636
656
|
|
|
637
|
-
var Message_1 = __webpack_require__(
|
|
657
|
+
var Message_1 = __webpack_require__(9);
|
|
638
658
|
|
|
639
659
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
640
660
|
/**
|
|
@@ -706,24 +726,30 @@ IconPlaceholder.defaultProps = {
|
|
|
706
726
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
707
727
|
|
|
708
728
|
/***/ }),
|
|
709
|
-
/*
|
|
729
|
+
/* 32 */
|
|
730
|
+
/***/ (function(module, exports) {
|
|
731
|
+
|
|
732
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
733
|
+
|
|
734
|
+
/***/ }),
|
|
735
|
+
/* 33 */
|
|
710
736
|
/***/ (function(module, exports, __webpack_require__) {
|
|
711
737
|
|
|
712
738
|
"use strict";
|
|
713
739
|
|
|
714
740
|
|
|
715
|
-
var _defineProperty = __webpack_require__(
|
|
741
|
+
var _defineProperty = __webpack_require__(8);
|
|
716
742
|
|
|
717
743
|
Object.defineProperty(exports, "__esModule", {
|
|
718
744
|
value: true
|
|
719
745
|
});
|
|
720
746
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
721
747
|
|
|
722
|
-
var T = __webpack_require__(
|
|
748
|
+
var T = __webpack_require__(1);
|
|
723
749
|
|
|
724
750
|
var lodash_1 = __webpack_require__(3);
|
|
725
751
|
|
|
726
|
-
var DataSource_1 = __webpack_require__(
|
|
752
|
+
var DataSource_1 = __webpack_require__(43);
|
|
727
753
|
|
|
728
754
|
exports.SortParamsPropTypes = T.shape({
|
|
729
755
|
currentSortKey: T.string,
|
|
@@ -743,7 +769,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
743
769
|
};
|
|
744
770
|
var onSort;
|
|
745
771
|
|
|
746
|
-
if (
|
|
772
|
+
if (typeof onRequestParamsChange === 'function') {
|
|
747
773
|
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
748
774
|
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
749
775
|
currentSortDir = requestParams.sort[currentSortKey];
|
|
@@ -776,7 +802,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
776
802
|
exports.getSortingParams = getSortingParams;
|
|
777
803
|
|
|
778
804
|
/***/ }),
|
|
779
|
-
/*
|
|
805
|
+
/* 34 */
|
|
780
806
|
/***/ (function(module, exports, __webpack_require__) {
|
|
781
807
|
|
|
782
808
|
"use strict";
|
|
@@ -787,7 +813,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
787
813
|
});
|
|
788
814
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
789
815
|
|
|
790
|
-
var T = __webpack_require__(
|
|
816
|
+
var T = __webpack_require__(1);
|
|
791
817
|
|
|
792
818
|
var lodash_1 = __webpack_require__(3);
|
|
793
819
|
|
|
@@ -807,7 +833,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
807
833
|
var count = requestParams && requestParams.count;
|
|
808
834
|
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
809
835
|
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
810
|
-
var isPaging = totalPages > 1 &&
|
|
836
|
+
var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
|
|
811
837
|
|
|
812
838
|
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
813
839
|
var page = _ref2.page,
|
|
@@ -833,15 +859,14 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
833
859
|
isPaging: isPaging,
|
|
834
860
|
current: current,
|
|
835
861
|
totalPages: totalPages,
|
|
836
|
-
onChange:
|
|
862
|
+
onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
|
|
837
863
|
};
|
|
838
864
|
};
|
|
839
865
|
|
|
840
866
|
exports.getPaginationParams = getPaginationParams;
|
|
841
867
|
|
|
842
868
|
/***/ }),
|
|
843
|
-
/*
|
|
844
|
-
/* 31 */
|
|
869
|
+
/* 35 */
|
|
845
870
|
/***/ (function(module, exports, __webpack_require__) {
|
|
846
871
|
|
|
847
872
|
"use strict";
|
|
@@ -869,58 +894,67 @@ var VizCategory;
|
|
|
869
894
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
870
895
|
|
|
871
896
|
/***/ }),
|
|
872
|
-
/*
|
|
897
|
+
/* 36 */
|
|
873
898
|
/***/ (function(module, exports, __webpack_require__) {
|
|
874
899
|
|
|
875
900
|
"use strict";
|
|
876
901
|
|
|
877
902
|
|
|
903
|
+
var _slicedToArray = __webpack_require__(17);
|
|
904
|
+
|
|
878
905
|
Object.defineProperty(exports, "__esModule", {
|
|
879
906
|
value: true
|
|
880
907
|
});
|
|
881
908
|
|
|
882
|
-
var React = __webpack_require__(
|
|
909
|
+
var React = __webpack_require__(0);
|
|
883
910
|
|
|
884
911
|
var lodash_1 = __webpack_require__(3);
|
|
885
912
|
|
|
886
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
913
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(37);
|
|
914
|
+
|
|
915
|
+
var Options_1 = __webpack_require__(29);
|
|
887
916
|
|
|
888
|
-
var
|
|
917
|
+
var SanitizeProps_1 = __webpack_require__(38);
|
|
889
918
|
|
|
890
|
-
var
|
|
919
|
+
var TimezoneContext_1 = __webpack_require__(25);
|
|
891
920
|
|
|
892
|
-
var
|
|
921
|
+
var moment_1 = __webpack_require__(39);
|
|
893
922
|
|
|
894
|
-
var
|
|
923
|
+
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
895
924
|
|
|
896
925
|
var styled_components_1 = __webpack_require__(4);
|
|
897
926
|
|
|
898
|
-
var hocUtils_1 = __webpack_require__(
|
|
927
|
+
var hocUtils_1 = __webpack_require__(26);
|
|
928
|
+
|
|
929
|
+
var JSONSchemaUtils_1 = __webpack_require__(27);
|
|
899
930
|
|
|
900
|
-
var
|
|
931
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
901
932
|
|
|
902
|
-
var
|
|
933
|
+
var id_1 = __webpack_require__(32);
|
|
934
|
+
|
|
935
|
+
var SplunkVisualization_1 = __webpack_require__(41);
|
|
903
936
|
|
|
904
937
|
var VizBehavior_1 = __webpack_require__(6);
|
|
905
938
|
|
|
906
|
-
var getSorting_1 = __webpack_require__(
|
|
939
|
+
var getSorting_1 = __webpack_require__(33);
|
|
940
|
+
|
|
941
|
+
var getPagination_1 = __webpack_require__(34);
|
|
907
942
|
|
|
908
|
-
var
|
|
943
|
+
var useDeepMemo_1 = __webpack_require__(44);
|
|
909
944
|
|
|
910
|
-
var
|
|
945
|
+
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
911
946
|
|
|
912
|
-
var
|
|
947
|
+
var withEditModeCover_1 = __webpack_require__(46);
|
|
913
948
|
|
|
914
|
-
var
|
|
949
|
+
var withPlaceholder_1 = __webpack_require__(47);
|
|
915
950
|
|
|
916
|
-
var
|
|
951
|
+
var UUID = id_1.createGUID();
|
|
917
952
|
/**
|
|
918
953
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
919
954
|
* @param {DashboardVizOpts} opts
|
|
920
955
|
* @returns {HOC}
|
|
921
956
|
*/
|
|
922
957
|
|
|
923
|
-
|
|
924
958
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
925
959
|
var ReactViz = opts.ReactViz,
|
|
926
960
|
vizConfig = opts.vizConfig,
|
|
@@ -933,6 +967,8 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
933
967
|
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
|
|
934
968
|
|
|
935
969
|
var DashboardViz = function DashboardViz(props) {
|
|
970
|
+
var _a;
|
|
971
|
+
|
|
936
972
|
var mode = props.mode,
|
|
937
973
|
hasEventHandlers = props.hasEventHandlers,
|
|
938
974
|
dataSources = props.dataSources,
|
|
@@ -980,38 +1016,97 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
980
1016
|
|
|
981
1017
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
982
1018
|
|
|
1019
|
+
var _React$useState = React.useState({}),
|
|
1020
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1021
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
1022
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1026
|
+
|
|
1027
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
|
|
1028
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
1029
|
+
visualizationID = _React$useState4[0];
|
|
1030
|
+
|
|
1031
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
|
|
1032
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
1033
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
1034
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
1035
|
+
|
|
983
1036
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
984
1037
|
try {
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
1038
|
+
if (useAsyncEvaluatedOptions) {
|
|
1039
|
+
var optionsToEvaluate = {
|
|
1040
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1041
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1042
|
+
};
|
|
1043
|
+
var asyncDynamicOptionsEvaluatorParams = {
|
|
1044
|
+
visualizationID: visualizationID,
|
|
1045
|
+
props: props,
|
|
1046
|
+
options: optionsToEvaluate,
|
|
1047
|
+
dataSources: dataSources,
|
|
1048
|
+
theme: vizConfig.themes
|
|
1049
|
+
};
|
|
1050
|
+
async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
|
|
1051
|
+
setEvaluatedOptionsAsync(results.results);
|
|
1052
|
+
}).catch(function (e) {
|
|
1053
|
+
// eslint-disable-next-line no-console
|
|
1054
|
+
console.error("unexpected error evaluating options - async: ".concat(e.message));
|
|
1055
|
+
setUseAsyncEvaluatedOptions(false);
|
|
1056
|
+
});
|
|
1057
|
+
} else {
|
|
1058
|
+
return Options_1.Options.evaluate({
|
|
1059
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1060
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1061
|
+
}, dataSources, themeFunc);
|
|
1062
|
+
}
|
|
989
1063
|
} catch (e) {
|
|
990
1064
|
// eslint-disable-next-line no-console
|
|
991
|
-
console.error("unexpected error evaluating options:
|
|
1065
|
+
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
992
1066
|
return {};
|
|
993
1067
|
}
|
|
994
|
-
|
|
1068
|
+
|
|
1069
|
+
return {};
|
|
1070
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
1071
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // trellis specific backgroundColor update for onComputedProps
|
|
1072
|
+
// 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
|
|
1073
|
+
// onComputedProps api should return back trellisBackgroundColor value for backgroundColor option to support coloring of sibling panels (for eg:- title/ description on UDF side)
|
|
1074
|
+
|
|
1075
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1076
|
+
var clonedEvaluatedOptions = lodash_1.cloneDeep(evaluatedOptionsToUse);
|
|
1077
|
+
|
|
1078
|
+
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) {
|
|
1079
|
+
clonedEvaluatedOptions.backgroundColor = clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.trellisBackgroundColor;
|
|
1080
|
+
} // useEffect hook needs to be initialized before any early returns
|
|
995
1081
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
996
1082
|
|
|
1083
|
+
|
|
997
1084
|
React.useEffect(function () {
|
|
998
|
-
onComputedProps(
|
|
999
|
-
});
|
|
1085
|
+
onComputedProps(clonedEvaluatedOptions);
|
|
1086
|
+
});
|
|
1087
|
+
React.useEffect(function () {
|
|
1088
|
+
return function () {
|
|
1089
|
+
if (useAsyncEvaluatedOptions) {
|
|
1090
|
+
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
1091
|
+
}
|
|
1092
|
+
}; // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1093
|
+
}, []); // present warning message if any required props are missing
|
|
1000
1094
|
|
|
1001
1095
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
1002
1096
|
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
1003
1097
|
supports = vizConfig.supports;
|
|
1004
|
-
var missing = MissingPropsMessage_1.missingKeys(requiredProps,
|
|
1005
|
-
|
|
1006
|
-
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1098
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
1099
|
+
|
|
1100
|
+
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
|
|
1101
|
+
) {
|
|
1102
|
+
return React.createElement(MissingPropsMessage_1.default, {
|
|
1103
|
+
"data-test": "missing-props-message",
|
|
1104
|
+
width: width,
|
|
1105
|
+
height: height,
|
|
1106
|
+
missingProps: missing,
|
|
1107
|
+
backgroundColor: bgColorFromTheme
|
|
1108
|
+
});
|
|
1109
|
+
} // events
|
|
1015
1110
|
|
|
1016
1111
|
|
|
1017
1112
|
var eventCallbackProps = {};
|
|
@@ -1028,7 +1123,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1028
1123
|
|
|
1029
1124
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
1030
1125
|
payloadKeys.forEach(function (p) {
|
|
1031
|
-
payload[p] =
|
|
1126
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
1032
1127
|
});
|
|
1033
1128
|
}
|
|
1034
1129
|
|
|
@@ -1047,7 +1142,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1047
1142
|
} // compute pure viz props which are not from options
|
|
1048
1143
|
|
|
1049
1144
|
|
|
1050
|
-
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props),
|
|
1145
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
1051
1146
|
themeFunc: themeFunc
|
|
1052
1147
|
}));
|
|
1053
1148
|
/**
|
|
@@ -1067,7 +1162,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1067
1162
|
|
|
1068
1163
|
var dataSourceMetadata = {};
|
|
1069
1164
|
var OptionKey = 'paginateDataSourceKey';
|
|
1070
|
-
var paginateDataSourceKey = lodash_1.has(
|
|
1165
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
1071
1166
|
|
|
1072
1167
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
1073
1168
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
@@ -1097,7 +1192,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1097
1192
|
mode: mode,
|
|
1098
1193
|
width: width,
|
|
1099
1194
|
height: height
|
|
1100
|
-
},
|
|
1195
|
+
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
1101
1196
|
};
|
|
1102
1197
|
|
|
1103
1198
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
@@ -1114,31 +1209,31 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1114
1209
|
exports.default = withDashboardViz;
|
|
1115
1210
|
|
|
1116
1211
|
/***/ }),
|
|
1117
|
-
/*
|
|
1212
|
+
/* 37 */
|
|
1118
1213
|
/***/ (function(module, exports) {
|
|
1119
1214
|
|
|
1120
1215
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1121
1216
|
|
|
1122
1217
|
/***/ }),
|
|
1123
|
-
/*
|
|
1218
|
+
/* 38 */
|
|
1124
1219
|
/***/ (function(module, exports) {
|
|
1125
1220
|
|
|
1126
|
-
module.exports = require("@splunk/
|
|
1221
|
+
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1127
1222
|
|
|
1128
1223
|
/***/ }),
|
|
1129
|
-
/*
|
|
1224
|
+
/* 39 */
|
|
1130
1225
|
/***/ (function(module, exports) {
|
|
1131
1226
|
|
|
1132
|
-
module.exports = require("@splunk/
|
|
1227
|
+
module.exports = require("@splunk/moment");
|
|
1133
1228
|
|
|
1134
1229
|
/***/ }),
|
|
1135
|
-
/*
|
|
1230
|
+
/* 40 */
|
|
1136
1231
|
/***/ (function(module, exports) {
|
|
1137
1232
|
|
|
1138
|
-
module.exports = require("@splunk/
|
|
1233
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
1139
1234
|
|
|
1140
1235
|
/***/ }),
|
|
1141
|
-
/*
|
|
1236
|
+
/* 41 */
|
|
1142
1237
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1143
1238
|
|
|
1144
1239
|
"use strict";
|
|
@@ -1152,11 +1247,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1152
1247
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1153
1248
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1154
1249
|
|
|
1155
|
-
var T = __webpack_require__(
|
|
1250
|
+
var T = __webpack_require__(1);
|
|
1156
1251
|
|
|
1157
1252
|
var lodash_1 = __webpack_require__(3);
|
|
1158
1253
|
|
|
1159
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1254
|
+
var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1160
1255
|
|
|
1161
1256
|
|
|
1162
1257
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1289,7 +1384,7 @@ SplunkVisualization.defaultProps = {
|
|
|
1289
1384
|
exports.default = SplunkVisualization;
|
|
1290
1385
|
|
|
1291
1386
|
/***/ }),
|
|
1292
|
-
/*
|
|
1387
|
+
/* 42 */
|
|
1293
1388
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1294
1389
|
|
|
1295
1390
|
"use strict";
|
|
@@ -1297,7 +1392,7 @@ exports.default = SplunkVisualization;
|
|
|
1297
1392
|
|
|
1298
1393
|
var _classCallCheck = __webpack_require__(11);
|
|
1299
1394
|
|
|
1300
|
-
var _createClass = __webpack_require__(
|
|
1395
|
+
var _createClass = __webpack_require__(22);
|
|
1301
1396
|
|
|
1302
1397
|
Object.defineProperty(exports, "__esModule", {
|
|
1303
1398
|
value: true
|
|
@@ -1326,7 +1421,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1326
1421
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1327
1422
|
|
|
1328
1423
|
/***/ }),
|
|
1329
|
-
/*
|
|
1424
|
+
/* 43 */
|
|
1330
1425
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1331
1426
|
|
|
1332
1427
|
"use strict";
|
|
@@ -1339,7 +1434,7 @@ exports.validSortDirs = void 0;
|
|
|
1339
1434
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1340
1435
|
|
|
1341
1436
|
/***/ }),
|
|
1342
|
-
/*
|
|
1437
|
+
/* 44 */
|
|
1343
1438
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1344
1439
|
|
|
1345
1440
|
"use strict";
|
|
@@ -1350,7 +1445,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1350
1445
|
});
|
|
1351
1446
|
exports.useDeepMemo = void 0;
|
|
1352
1447
|
|
|
1353
|
-
var react_1 = __webpack_require__(
|
|
1448
|
+
var react_1 = __webpack_require__(0);
|
|
1354
1449
|
|
|
1355
1450
|
var lodash_1 = __webpack_require__(3);
|
|
1356
1451
|
/**
|
|
@@ -1384,7 +1479,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1384
1479
|
exports.useDeepMemo = useDeepMemo;
|
|
1385
1480
|
|
|
1386
1481
|
/***/ }),
|
|
1387
|
-
/*
|
|
1482
|
+
/* 45 */
|
|
1388
1483
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1389
1484
|
|
|
1390
1485
|
"use strict";
|
|
@@ -1395,13 +1490,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1395
1490
|
});
|
|
1396
1491
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
1397
1492
|
|
|
1398
|
-
var React = __webpack_require__(
|
|
1493
|
+
var React = __webpack_require__(0);
|
|
1399
1494
|
|
|
1400
|
-
var T = __webpack_require__(
|
|
1495
|
+
var T = __webpack_require__(1);
|
|
1401
1496
|
|
|
1402
1497
|
var i18n_1 = __webpack_require__(2);
|
|
1403
1498
|
|
|
1404
|
-
var Message_1 = __webpack_require__(
|
|
1499
|
+
var Message_1 = __webpack_require__(9);
|
|
1405
1500
|
|
|
1406
1501
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
1407
1502
|
/**
|
|
@@ -1464,7 +1559,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1464
1559
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1465
1560
|
|
|
1466
1561
|
/***/ }),
|
|
1467
|
-
/*
|
|
1562
|
+
/* 46 */
|
|
1468
1563
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1469
1564
|
|
|
1470
1565
|
"use strict";
|
|
@@ -1474,18 +1569,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1474
1569
|
value: true
|
|
1475
1570
|
});
|
|
1476
1571
|
|
|
1477
|
-
var React = __webpack_require__(
|
|
1572
|
+
var React = __webpack_require__(0);
|
|
1478
1573
|
|
|
1479
1574
|
var styled_components_1 = __webpack_require__(4);
|
|
1480
1575
|
|
|
1481
|
-
var hocUtils_1 = __webpack_require__(
|
|
1576
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
1482
1577
|
|
|
1483
1578
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1484
1579
|
displayName: "withEditModeCover__Cover",
|
|
1485
1580
|
componentId: "sc-1gsbnxb-0"
|
|
1486
1581
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1487
1582
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1488
|
-
'data-splunk-visualization-version': "25.
|
|
1583
|
+
'data-splunk-visualization-version': "25.7.0 - d10a7789b"
|
|
1489
1584
|
}).withConfig({
|
|
1490
1585
|
displayName: "withEditModeCover__Blocker",
|
|
1491
1586
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1516,7 +1611,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1516
1611
|
exports.default = withEditModeCover;
|
|
1517
1612
|
|
|
1518
1613
|
/***/ }),
|
|
1519
|
-
/*
|
|
1614
|
+
/* 47 */
|
|
1520
1615
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1521
1616
|
|
|
1522
1617
|
"use strict";
|
|
@@ -1526,17 +1621,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1526
1621
|
value: true
|
|
1527
1622
|
});
|
|
1528
1623
|
|
|
1529
|
-
var React = __webpack_require__(
|
|
1624
|
+
var React = __webpack_require__(0);
|
|
1530
1625
|
|
|
1531
1626
|
var colorUtils_1 = __webpack_require__(12);
|
|
1532
1627
|
|
|
1533
|
-
var variables_1 = __webpack_require__(
|
|
1628
|
+
var variables_1 = __webpack_require__(10);
|
|
1534
1629
|
|
|
1535
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1630
|
+
var IconPlaceholder_1 = __webpack_require__(31);
|
|
1536
1631
|
|
|
1537
1632
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1538
1633
|
|
|
1539
|
-
var hocUtils_1 = __webpack_require__(
|
|
1634
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
1540
1635
|
|
|
1541
1636
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1542
1637
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1580,27 +1675,27 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1580
1675
|
exports.default = withPlaceholder;
|
|
1581
1676
|
|
|
1582
1677
|
/***/ }),
|
|
1583
|
-
/*
|
|
1678
|
+
/* 48 */
|
|
1584
1679
|
/***/ (function(module, exports) {
|
|
1585
1680
|
|
|
1586
1681
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1587
1682
|
|
|
1588
1683
|
/***/ }),
|
|
1589
|
-
/*
|
|
1590
|
-
/*
|
|
1684
|
+
/* 49 */,
|
|
1685
|
+
/* 50 */
|
|
1591
1686
|
/***/ (function(module, exports) {
|
|
1592
1687
|
|
|
1593
1688
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1594
1689
|
|
|
1595
1690
|
/***/ }),
|
|
1596
|
-
/*
|
|
1691
|
+
/* 51 */
|
|
1597
1692
|
/***/ (function(module, exports) {
|
|
1598
1693
|
|
|
1599
1694
|
module.exports = require("@splunk/visualization-icons");
|
|
1600
1695
|
|
|
1601
1696
|
/***/ }),
|
|
1602
|
-
/*
|
|
1603
|
-
/*
|
|
1697
|
+
/* 52 */,
|
|
1698
|
+
/* 53 */
|
|
1604
1699
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1605
1700
|
|
|
1606
1701
|
"use strict";
|
|
@@ -1630,15 +1725,14 @@ var background = function background(_ref) {
|
|
|
1630
1725
|
exports.default = background;
|
|
1631
1726
|
|
|
1632
1727
|
/***/ }),
|
|
1633
|
-
/*
|
|
1634
|
-
/*
|
|
1635
|
-
/* 52 */
|
|
1728
|
+
/* 54 */,
|
|
1729
|
+
/* 55 */
|
|
1636
1730
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1637
1731
|
|
|
1638
1732
|
"use strict";
|
|
1639
1733
|
|
|
1640
1734
|
|
|
1641
|
-
var _toConsumableArray = __webpack_require__(
|
|
1735
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1642
1736
|
|
|
1643
1737
|
var __rest = this && this.__rest || function (s, e) {
|
|
1644
1738
|
var t = {};
|
|
@@ -1853,15 +1947,23 @@ var constructFieldsAndColumns = function constructFieldsAndColumns(_ref2) {
|
|
|
1853
1947
|
exports.constructFieldsAndColumns = constructFieldsAndColumns;
|
|
1854
1948
|
|
|
1855
1949
|
/***/ }),
|
|
1856
|
-
/*
|
|
1950
|
+
/* 56 */
|
|
1857
1951
|
/***/ (function(module, exports) {
|
|
1858
1952
|
|
|
1859
1953
|
module.exports = require("@splunk/charting-bundle");
|
|
1860
1954
|
|
|
1861
1955
|
/***/ }),
|
|
1862
|
-
/*
|
|
1863
|
-
|
|
1864
|
-
|
|
1956
|
+
/* 57 */
|
|
1957
|
+
/***/ (function(module, exports) {
|
|
1958
|
+
|
|
1959
|
+
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
1960
|
+
|
|
1961
|
+
/***/ }),
|
|
1962
|
+
/* 58 */,
|
|
1963
|
+
/* 59 */,
|
|
1964
|
+
/* 60 */,
|
|
1965
|
+
/* 61 */,
|
|
1966
|
+
/* 62 */
|
|
1865
1967
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1866
1968
|
|
|
1867
1969
|
"use strict";
|
|
@@ -1877,34 +1979,34 @@ var lodash_1 = __webpack_require__(3);
|
|
|
1877
1979
|
|
|
1878
1980
|
var i18n_1 = __webpack_require__(2);
|
|
1879
1981
|
|
|
1880
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1982
|
+
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
1881
1983
|
|
|
1882
|
-
var react_1 = __webpack_require__(
|
|
1984
|
+
var react_1 = __webpack_require__(0);
|
|
1883
1985
|
|
|
1884
|
-
var React = __webpack_require__(
|
|
1986
|
+
var React = __webpack_require__(0);
|
|
1885
1987
|
|
|
1886
|
-
var T = __webpack_require__(
|
|
1988
|
+
var T = __webpack_require__(1);
|
|
1887
1989
|
|
|
1888
|
-
var react_event_listener_1 = __webpack_require__(
|
|
1990
|
+
var react_event_listener_1 = __webpack_require__(63);
|
|
1889
1991
|
|
|
1890
|
-
__webpack_require__(
|
|
1992
|
+
__webpack_require__(64); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
1891
1993
|
|
|
1892
1994
|
|
|
1893
|
-
var charting_bundle_1 = __webpack_require__(
|
|
1995
|
+
var charting_bundle_1 = __webpack_require__(56);
|
|
1894
1996
|
|
|
1895
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1997
|
+
var TimezoneContext_1 = __webpack_require__(25);
|
|
1896
1998
|
|
|
1897
|
-
var style_1 = __webpack_require__(
|
|
1999
|
+
var style_1 = __webpack_require__(14);
|
|
1898
2000
|
|
|
1899
2001
|
var styled_components_1 = __webpack_require__(4);
|
|
1900
2002
|
|
|
1901
|
-
var Message_1 = __webpack_require__(
|
|
2003
|
+
var Message_1 = __webpack_require__(9);
|
|
1902
2004
|
|
|
1903
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
2005
|
+
var useSplunkTheme_1 = __webpack_require__(57);
|
|
1904
2006
|
|
|
1905
|
-
var themeUtils_1 = __webpack_require__(
|
|
2007
|
+
var themeUtils_1 = __webpack_require__(65);
|
|
1906
2008
|
|
|
1907
|
-
var ChartingApi_1 = __webpack_require__(
|
|
2009
|
+
var ChartingApi_1 = __webpack_require__(66);
|
|
1908
2010
|
|
|
1909
2011
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
1910
2012
|
|
|
@@ -2283,31 +2385,25 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
|
|
|
2283
2385
|
exports.default = withEmptyChartMessage(Charting);
|
|
2284
2386
|
|
|
2285
2387
|
/***/ }),
|
|
2286
|
-
/*
|
|
2388
|
+
/* 63 */
|
|
2287
2389
|
/***/ (function(module, exports) {
|
|
2288
2390
|
|
|
2289
2391
|
module.exports = require("react-event-listener");
|
|
2290
2392
|
|
|
2291
2393
|
/***/ }),
|
|
2292
|
-
/*
|
|
2394
|
+
/* 64 */
|
|
2293
2395
|
/***/ (function(module, exports) {
|
|
2294
2396
|
|
|
2295
2397
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
2296
2398
|
|
|
2297
2399
|
/***/ }),
|
|
2298
|
-
/*
|
|
2299
|
-
/***/ (function(module, exports) {
|
|
2300
|
-
|
|
2301
|
-
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2302
|
-
|
|
2303
|
-
/***/ }),
|
|
2304
|
-
/* 60 */
|
|
2400
|
+
/* 65 */
|
|
2305
2401
|
/***/ (function(module, exports) {
|
|
2306
2402
|
|
|
2307
2403
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
2308
2404
|
|
|
2309
2405
|
/***/ }),
|
|
2310
|
-
/*
|
|
2406
|
+
/* 66 */
|
|
2311
2407
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2312
2408
|
|
|
2313
2409
|
"use strict";
|
|
@@ -2315,7 +2411,7 @@ module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
|
2315
2411
|
|
|
2316
2412
|
var _classCallCheck = __webpack_require__(11);
|
|
2317
2413
|
|
|
2318
|
-
var _createClass = __webpack_require__(
|
|
2414
|
+
var _createClass = __webpack_require__(22);
|
|
2319
2415
|
|
|
2320
2416
|
Object.defineProperty(exports, "__esModule", {
|
|
2321
2417
|
value: true
|
|
@@ -2375,20 +2471,20 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
|
2375
2471
|
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
2376
2472
|
|
|
2377
2473
|
/***/ }),
|
|
2378
|
-
/*
|
|
2474
|
+
/* 67 */
|
|
2379
2475
|
/***/ (function(module, exports) {
|
|
2380
2476
|
|
|
2381
2477
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
2382
2478
|
|
|
2383
2479
|
/***/ }),
|
|
2384
|
-
/*
|
|
2385
|
-
/*
|
|
2480
|
+
/* 68 */,
|
|
2481
|
+
/* 69 */
|
|
2386
2482
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2387
2483
|
|
|
2388
2484
|
"use strict";
|
|
2389
2485
|
|
|
2390
2486
|
|
|
2391
|
-
var _toConsumableArray = __webpack_require__(
|
|
2487
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2392
2488
|
|
|
2393
2489
|
Object.defineProperty(exports, "__esModule", {
|
|
2394
2490
|
value: true
|
|
@@ -2397,7 +2493,7 @@ exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble =
|
|
|
2397
2493
|
|
|
2398
2494
|
var i18n_1 = __webpack_require__(2);
|
|
2399
2495
|
|
|
2400
|
-
var configUtils_1 = __webpack_require__(
|
|
2496
|
+
var configUtils_1 = __webpack_require__(19);
|
|
2401
2497
|
|
|
2402
2498
|
var AxesChartDataConfig = {
|
|
2403
2499
|
label: i18n_1._('Data configurations'),
|
|
@@ -2522,7 +2618,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
|
|
|
2522
2618
|
exports.default = AxesChartDataConfig;
|
|
2523
2619
|
|
|
2524
2620
|
/***/ }),
|
|
2525
|
-
/*
|
|
2621
|
+
/* 70 */
|
|
2526
2622
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2527
2623
|
|
|
2528
2624
|
"use strict";
|
|
@@ -2534,11 +2630,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2534
2630
|
|
|
2535
2631
|
var i18n_1 = __webpack_require__(2);
|
|
2536
2632
|
|
|
2537
|
-
var pick_1 = __webpack_require__(
|
|
2633
|
+
var pick_1 = __webpack_require__(23);
|
|
2538
2634
|
|
|
2539
|
-
var variables_1 = __webpack_require__(
|
|
2635
|
+
var variables_1 = __webpack_require__(10);
|
|
2540
2636
|
|
|
2541
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
2637
|
+
var BackgroundColor_1 = __webpack_require__(53);
|
|
2542
2638
|
|
|
2543
2639
|
var themes = {
|
|
2544
2640
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
@@ -2568,7 +2664,7 @@ var AxesChartColorAndStyle = {
|
|
|
2568
2664
|
exports.default = AxesChartColorAndStyle;
|
|
2569
2665
|
|
|
2570
2666
|
/***/ }),
|
|
2571
|
-
/*
|
|
2667
|
+
/* 71 */
|
|
2572
2668
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2573
2669
|
|
|
2574
2670
|
"use strict";
|
|
@@ -2632,13 +2728,13 @@ var AxesChartLegend = {
|
|
|
2632
2728
|
exports.default = AxesChartLegend;
|
|
2633
2729
|
|
|
2634
2730
|
/***/ }),
|
|
2635
|
-
/*
|
|
2731
|
+
/* 72 */
|
|
2636
2732
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2637
2733
|
|
|
2638
2734
|
"use strict";
|
|
2639
2735
|
|
|
2640
2736
|
|
|
2641
|
-
var _toConsumableArray = __webpack_require__(
|
|
2737
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2642
2738
|
|
|
2643
2739
|
Object.defineProperty(exports, "__esModule", {
|
|
2644
2740
|
value: true
|
|
@@ -2647,7 +2743,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCo
|
|
|
2647
2743
|
|
|
2648
2744
|
var i18n_1 = __webpack_require__(2);
|
|
2649
2745
|
|
|
2650
|
-
var configUtils_1 = __webpack_require__(
|
|
2746
|
+
var configUtils_1 = __webpack_require__(19);
|
|
2651
2747
|
|
|
2652
2748
|
exports.AxesChartXGridAndLabelsCommon = {
|
|
2653
2749
|
label: i18n_1._('X-axis grid and labels'),
|
|
@@ -2920,7 +3016,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
2920
3016
|
exports.default = AxesChartXGridAndLabels;
|
|
2921
3017
|
|
|
2922
3018
|
/***/ }),
|
|
2923
|
-
/*
|
|
3019
|
+
/* 73 */
|
|
2924
3020
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2925
3021
|
|
|
2926
3022
|
"use strict";
|
|
@@ -3082,20 +3178,21 @@ var AxesChartYGridAndLabels = {
|
|
|
3082
3178
|
exports.default = AxesChartYGridAndLabels;
|
|
3083
3179
|
|
|
3084
3180
|
/***/ }),
|
|
3085
|
-
/* 69 */,
|
|
3086
|
-
/* 70 */,
|
|
3087
|
-
/* 71 */,
|
|
3088
|
-
/* 72 */,
|
|
3089
|
-
/* 73 */,
|
|
3090
3181
|
/* 74 */,
|
|
3091
3182
|
/* 75 */,
|
|
3092
|
-
/* 76
|
|
3183
|
+
/* 76 */,
|
|
3184
|
+
/* 77 */,
|
|
3185
|
+
/* 78 */,
|
|
3186
|
+
/* 79 */,
|
|
3187
|
+
/* 80 */,
|
|
3188
|
+
/* 81 */,
|
|
3189
|
+
/* 82 */
|
|
3093
3190
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3094
3191
|
|
|
3095
3192
|
"use strict";
|
|
3096
3193
|
|
|
3097
3194
|
|
|
3098
|
-
var _toConsumableArray = __webpack_require__(
|
|
3195
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3099
3196
|
|
|
3100
3197
|
Object.defineProperty(exports, "__esModule", {
|
|
3101
3198
|
value: true
|
|
@@ -3106,7 +3203,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
3106
3203
|
|
|
3107
3204
|
var lodash_1 = __webpack_require__(3);
|
|
3108
3205
|
|
|
3109
|
-
var configUtils_1 = __webpack_require__(
|
|
3206
|
+
var configUtils_1 = __webpack_require__(19);
|
|
3110
3207
|
|
|
3111
3208
|
exports.AxesChartDataDisplayLine = {
|
|
3112
3209
|
label: i18n_1._('Data display'),
|
|
@@ -3227,7 +3324,7 @@ exports.AxesChartDataDisplayColumn = {
|
|
|
3227
3324
|
exports.default = AxesChartDataDisplay;
|
|
3228
3325
|
|
|
3229
3326
|
/***/ }),
|
|
3230
|
-
/*
|
|
3327
|
+
/* 83 */
|
|
3231
3328
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3232
3329
|
|
|
3233
3330
|
"use strict";
|
|
@@ -3401,12 +3498,6 @@ var axesChartY2GridAndLabels = {
|
|
|
3401
3498
|
exports.default = axesChartY2GridAndLabels;
|
|
3402
3499
|
|
|
3403
3500
|
/***/ }),
|
|
3404
|
-
/* 78 */,
|
|
3405
|
-
/* 79 */,
|
|
3406
|
-
/* 80 */,
|
|
3407
|
-
/* 81 */,
|
|
3408
|
-
/* 82 */,
|
|
3409
|
-
/* 83 */,
|
|
3410
3501
|
/* 84 */,
|
|
3411
3502
|
/* 85 */,
|
|
3412
3503
|
/* 86 */,
|
|
@@ -3453,7 +3544,21 @@ exports.default = axesChartY2GridAndLabels;
|
|
|
3453
3544
|
/* 127 */,
|
|
3454
3545
|
/* 128 */,
|
|
3455
3546
|
/* 129 */,
|
|
3456
|
-
/* 130
|
|
3547
|
+
/* 130 */,
|
|
3548
|
+
/* 131 */,
|
|
3549
|
+
/* 132 */,
|
|
3550
|
+
/* 133 */,
|
|
3551
|
+
/* 134 */,
|
|
3552
|
+
/* 135 */,
|
|
3553
|
+
/* 136 */,
|
|
3554
|
+
/* 137 */,
|
|
3555
|
+
/* 138 */,
|
|
3556
|
+
/* 139 */,
|
|
3557
|
+
/* 140 */,
|
|
3558
|
+
/* 141 */,
|
|
3559
|
+
/* 142 */,
|
|
3560
|
+
/* 143 */,
|
|
3561
|
+
/* 144 */
|
|
3457
3562
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3458
3563
|
|
|
3459
3564
|
"use strict";
|
|
@@ -3481,21 +3586,21 @@ var lodash_1 = __webpack_require__(3); // Charting imports i18n which needs to b
|
|
|
3481
3586
|
// eslint-disable-next-line import/order
|
|
3482
3587
|
|
|
3483
3588
|
|
|
3484
|
-
var Charting_1 = __webpack_require__(
|
|
3589
|
+
var Charting_1 = __webpack_require__(62);
|
|
3485
3590
|
|
|
3486
|
-
var charting_bundle_1 = __webpack_require__(
|
|
3591
|
+
var charting_bundle_1 = __webpack_require__(56);
|
|
3487
3592
|
|
|
3488
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
3593
|
+
var simpleXMLOptions_1 = __webpack_require__(67);
|
|
3489
3594
|
|
|
3490
|
-
var config_1 = __webpack_require__(
|
|
3595
|
+
var config_1 = __webpack_require__(192);
|
|
3491
3596
|
|
|
3492
3597
|
exports.config = config_1.default;
|
|
3493
3598
|
|
|
3494
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3599
|
+
var withDashboardViz_1 = __webpack_require__(36);
|
|
3495
3600
|
|
|
3496
|
-
var columnUtils_1 = __webpack_require__(
|
|
3601
|
+
var columnUtils_1 = __webpack_require__(193);
|
|
3497
3602
|
|
|
3498
|
-
var chartingUtils_1 = __webpack_require__(
|
|
3603
|
+
var chartingUtils_1 = __webpack_require__(55);
|
|
3499
3604
|
|
|
3500
3605
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
3501
3606
|
|
|
@@ -3574,20 +3679,6 @@ exports.themes = themes;
|
|
|
3574
3679
|
exports.default = Column;
|
|
3575
3680
|
|
|
3576
3681
|
/***/ }),
|
|
3577
|
-
/* 131 */,
|
|
3578
|
-
/* 132 */,
|
|
3579
|
-
/* 133 */,
|
|
3580
|
-
/* 134 */,
|
|
3581
|
-
/* 135 */,
|
|
3582
|
-
/* 136 */,
|
|
3583
|
-
/* 137 */,
|
|
3584
|
-
/* 138 */,
|
|
3585
|
-
/* 139 */,
|
|
3586
|
-
/* 140 */,
|
|
3587
|
-
/* 141 */,
|
|
3588
|
-
/* 142 */,
|
|
3589
|
-
/* 143 */,
|
|
3590
|
-
/* 144 */,
|
|
3591
3682
|
/* 145 */,
|
|
3592
3683
|
/* 146 */,
|
|
3593
3684
|
/* 147 */,
|
|
@@ -3621,7 +3712,20 @@ exports.default = Column;
|
|
|
3621
3712
|
/* 175 */,
|
|
3622
3713
|
/* 176 */,
|
|
3623
3714
|
/* 177 */,
|
|
3624
|
-
/* 178
|
|
3715
|
+
/* 178 */,
|
|
3716
|
+
/* 179 */,
|
|
3717
|
+
/* 180 */,
|
|
3718
|
+
/* 181 */,
|
|
3719
|
+
/* 182 */,
|
|
3720
|
+
/* 183 */,
|
|
3721
|
+
/* 184 */,
|
|
3722
|
+
/* 185 */,
|
|
3723
|
+
/* 186 */,
|
|
3724
|
+
/* 187 */,
|
|
3725
|
+
/* 188 */,
|
|
3726
|
+
/* 189 */,
|
|
3727
|
+
/* 190 */,
|
|
3728
|
+
/* 191 */
|
|
3625
3729
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3626
3730
|
|
|
3627
3731
|
"use strict";
|
|
@@ -3651,9 +3755,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3651
3755
|
});
|
|
3652
3756
|
exports.default = void 0;
|
|
3653
3757
|
|
|
3654
|
-
__exportStar(__webpack_require__(
|
|
3758
|
+
__exportStar(__webpack_require__(144), exports);
|
|
3655
3759
|
|
|
3656
|
-
var Column_1 = __webpack_require__(
|
|
3760
|
+
var Column_1 = __webpack_require__(144);
|
|
3657
3761
|
|
|
3658
3762
|
Object.defineProperty(exports, "default", {
|
|
3659
3763
|
enumerable: true,
|
|
@@ -3663,52 +3767,54 @@ Object.defineProperty(exports, "default", {
|
|
|
3663
3767
|
});
|
|
3664
3768
|
|
|
3665
3769
|
/***/ }),
|
|
3666
|
-
/*
|
|
3770
|
+
/* 192 */
|
|
3667
3771
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3668
3772
|
|
|
3669
3773
|
"use strict";
|
|
3670
3774
|
|
|
3671
3775
|
|
|
3672
|
-
var _toConsumableArray = __webpack_require__(
|
|
3776
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3673
3777
|
|
|
3674
3778
|
Object.defineProperty(exports, "__esModule", {
|
|
3675
3779
|
value: true
|
|
3676
3780
|
});
|
|
3677
3781
|
exports.optionsSchema = void 0;
|
|
3678
3782
|
|
|
3679
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3783
|
+
var visualization_icons_1 = __webpack_require__(51);
|
|
3680
3784
|
|
|
3681
|
-
var placeholders_1 = __webpack_require__(
|
|
3785
|
+
var placeholders_1 = __webpack_require__(48);
|
|
3682
3786
|
|
|
3683
3787
|
var schemaUtils_1 = __webpack_require__(16);
|
|
3684
3788
|
|
|
3685
3789
|
var i18n_1 = __webpack_require__(2);
|
|
3686
3790
|
|
|
3687
|
-
var pick_1 = __webpack_require__(
|
|
3791
|
+
var pick_1 = __webpack_require__(23);
|
|
3792
|
+
|
|
3793
|
+
var variables_1 = __webpack_require__(10);
|
|
3688
3794
|
|
|
3689
|
-
var
|
|
3795
|
+
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
3690
3796
|
|
|
3691
|
-
var
|
|
3797
|
+
var lodash_1 = __webpack_require__(3);
|
|
3692
3798
|
|
|
3693
3799
|
var VizBehavior_1 = __webpack_require__(6);
|
|
3694
3800
|
|
|
3695
|
-
var VizCategory_1 = __webpack_require__(
|
|
3801
|
+
var VizCategory_1 = __webpack_require__(35);
|
|
3696
3802
|
|
|
3697
|
-
var configUtils_1 = __webpack_require__(
|
|
3803
|
+
var configUtils_1 = __webpack_require__(19);
|
|
3698
3804
|
|
|
3699
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
3805
|
+
var AxesChartDataConfig_1 = __webpack_require__(69);
|
|
3700
3806
|
|
|
3701
|
-
var AxesChartDataDisplay_1 = __webpack_require__(
|
|
3807
|
+
var AxesChartDataDisplay_1 = __webpack_require__(82);
|
|
3702
3808
|
|
|
3703
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
3809
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(70);
|
|
3704
3810
|
|
|
3705
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
3811
|
+
var AxesChartLegend_1 = __webpack_require__(71);
|
|
3706
3812
|
|
|
3707
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
3813
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(72);
|
|
3708
3814
|
|
|
3709
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
3815
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(73);
|
|
3710
3816
|
|
|
3711
|
-
var AxesChartY2GridAndLabels_1 = __webpack_require__(
|
|
3817
|
+
var AxesChartY2GridAndLabels_1 = __webpack_require__(83);
|
|
3712
3818
|
|
|
3713
3819
|
var dataContract = {
|
|
3714
3820
|
requiredDataSources: [{
|
|
@@ -3833,6 +3939,12 @@ exports.optionsSchema = {
|
|
|
3833
3939
|
type: 'string'
|
|
3834
3940
|
}
|
|
3835
3941
|
},
|
|
3942
|
+
legendMode: {
|
|
3943
|
+
default: 'standard',
|
|
3944
|
+
description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
|
|
3945
|
+
pattern: schemaUtils_1.getPattern(['standard', 'seriesCompare']),
|
|
3946
|
+
type: 'string'
|
|
3947
|
+
},
|
|
3836
3948
|
legendTruncation: {
|
|
3837
3949
|
description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
|
|
3838
3950
|
pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
@@ -4151,6 +4263,21 @@ var themes = {
|
|
|
4151
4263
|
})(props);
|
|
4152
4264
|
}
|
|
4153
4265
|
};
|
|
4266
|
+
var updatedAxesChartLegend = lodash_1.cloneDeep(AxesChartLegend_1.default);
|
|
4267
|
+
updatedAxesChartLegend.layout.push([{
|
|
4268
|
+
label: i18n_1._('Legend mode'),
|
|
4269
|
+
option: 'legendMode',
|
|
4270
|
+
editor: 'editor.radioBar',
|
|
4271
|
+
editorProps: {
|
|
4272
|
+
values: [{
|
|
4273
|
+
label: i18n_1._('Standard'),
|
|
4274
|
+
value: 'standard'
|
|
4275
|
+
}, {
|
|
4276
|
+
label: i18n_1._('Series Compare'),
|
|
4277
|
+
value: 'seriesCompare'
|
|
4278
|
+
}]
|
|
4279
|
+
}
|
|
4280
|
+
}]);
|
|
4154
4281
|
var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, AxesChartDataDisplay_1.AxesChartDataDisplayColumn, {
|
|
4155
4282
|
label: AxesChartColorAndStyle_1.default.label,
|
|
4156
4283
|
layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [[{
|
|
@@ -4184,7 +4311,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
4184
4311
|
expectedDataPrimitive: ['series']
|
|
4185
4312
|
}
|
|
4186
4313
|
}]])
|
|
4187
|
-
},
|
|
4314
|
+
}, updatedAxesChartLegend, AxesChartXGridAndLabels_1.default, AxesChartYGridAndLabels_1.default, AxesChartY2GridAndLabels_1.default];
|
|
4188
4315
|
/**
|
|
4189
4316
|
* visualization configuration
|
|
4190
4317
|
*/
|
|
@@ -4234,7 +4361,7 @@ var config = {
|
|
|
4234
4361
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
4235
4362
|
|
|
4236
4363
|
/***/ }),
|
|
4237
|
-
/*
|
|
4364
|
+
/* 193 */
|
|
4238
4365
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4239
4366
|
|
|
4240
4367
|
"use strict";
|
|
@@ -4247,9 +4374,9 @@ exports.convertToColumnSCProperties = exports.mapToOldKey = exports.convertToStr
|
|
|
4247
4374
|
|
|
4248
4375
|
var lodash_1 = __webpack_require__(3);
|
|
4249
4376
|
|
|
4250
|
-
var propUtils_1 = __webpack_require__(
|
|
4377
|
+
var propUtils_1 = __webpack_require__(28);
|
|
4251
4378
|
|
|
4252
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4379
|
+
var chartingUtils_1 = __webpack_require__(55); // map for key names which are either new or not present in SimpleXML options mapping
|
|
4253
4380
|
|
|
4254
4381
|
|
|
4255
4382
|
var columnOptionsSCMapping = {
|