@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/FillerGauge.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 = 208);
|
|
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,63 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
571
584
|
exports.insertLayout = insertLayout;
|
|
572
585
|
|
|
573
586
|
/***/ }),
|
|
574
|
-
/*
|
|
587
|
+
/* 20 */
|
|
575
588
|
/***/ (function(module, exports) {
|
|
576
589
|
|
|
577
|
-
module.exports = require("@splunk/
|
|
590
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
578
591
|
|
|
579
592
|
/***/ }),
|
|
580
|
-
/*
|
|
593
|
+
/* 21 */
|
|
581
594
|
/***/ (function(module, exports) {
|
|
582
595
|
|
|
583
|
-
module.exports = require("@
|
|
596
|
+
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
584
597
|
|
|
585
598
|
/***/ }),
|
|
586
|
-
/*
|
|
599
|
+
/* 22 */
|
|
587
600
|
/***/ (function(module, exports) {
|
|
588
601
|
|
|
589
|
-
module.exports = require("@
|
|
602
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
590
603
|
|
|
591
604
|
/***/ }),
|
|
592
|
-
/*
|
|
605
|
+
/* 23 */
|
|
593
606
|
/***/ (function(module, exports) {
|
|
594
607
|
|
|
595
608
|
module.exports = require("@splunk/themes/pick");
|
|
596
609
|
|
|
597
610
|
/***/ }),
|
|
598
|
-
/*
|
|
599
|
-
/*
|
|
611
|
+
/* 24 */,
|
|
612
|
+
/* 25 */
|
|
600
613
|
/***/ (function(module, exports) {
|
|
601
614
|
|
|
602
615
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
603
616
|
|
|
604
617
|
/***/ }),
|
|
605
|
-
/*
|
|
606
|
-
/* 25 */
|
|
618
|
+
/* 26 */
|
|
607
619
|
/***/ (function(module, exports) {
|
|
608
620
|
|
|
609
621
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
610
622
|
|
|
611
623
|
/***/ }),
|
|
612
|
-
/*
|
|
624
|
+
/* 27 */
|
|
613
625
|
/***/ (function(module, exports) {
|
|
614
626
|
|
|
615
627
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
616
628
|
|
|
617
629
|
/***/ }),
|
|
618
|
-
/*
|
|
630
|
+
/* 28 */,
|
|
631
|
+
/* 29 */
|
|
632
|
+
/***/ (function(module, exports) {
|
|
633
|
+
|
|
634
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
635
|
+
|
|
636
|
+
/***/ }),
|
|
637
|
+
/* 30 */
|
|
638
|
+
/***/ (function(module, exports) {
|
|
639
|
+
|
|
640
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
641
|
+
|
|
642
|
+
/***/ }),
|
|
643
|
+
/* 31 */
|
|
619
644
|
/***/ (function(module, exports, __webpack_require__) {
|
|
620
645
|
|
|
621
646
|
"use strict";
|
|
@@ -626,15 +651,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
626
651
|
});
|
|
627
652
|
exports.shouldShowIconPlaceholder = void 0;
|
|
628
653
|
|
|
629
|
-
var React = __webpack_require__(
|
|
654
|
+
var React = __webpack_require__(0);
|
|
630
655
|
|
|
631
|
-
var T = __webpack_require__(
|
|
656
|
+
var T = __webpack_require__(1);
|
|
632
657
|
|
|
633
658
|
var lodash_1 = __webpack_require__(3);
|
|
634
659
|
|
|
635
660
|
var i18n_1 = __webpack_require__(2);
|
|
636
661
|
|
|
637
|
-
var Message_1 = __webpack_require__(
|
|
662
|
+
var Message_1 = __webpack_require__(9);
|
|
638
663
|
|
|
639
664
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
640
665
|
/**
|
|
@@ -706,24 +731,30 @@ IconPlaceholder.defaultProps = {
|
|
|
706
731
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
707
732
|
|
|
708
733
|
/***/ }),
|
|
709
|
-
/*
|
|
734
|
+
/* 32 */
|
|
735
|
+
/***/ (function(module, exports) {
|
|
736
|
+
|
|
737
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
738
|
+
|
|
739
|
+
/***/ }),
|
|
740
|
+
/* 33 */
|
|
710
741
|
/***/ (function(module, exports, __webpack_require__) {
|
|
711
742
|
|
|
712
743
|
"use strict";
|
|
713
744
|
|
|
714
745
|
|
|
715
|
-
var _defineProperty = __webpack_require__(
|
|
746
|
+
var _defineProperty = __webpack_require__(8);
|
|
716
747
|
|
|
717
748
|
Object.defineProperty(exports, "__esModule", {
|
|
718
749
|
value: true
|
|
719
750
|
});
|
|
720
751
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
721
752
|
|
|
722
|
-
var T = __webpack_require__(
|
|
753
|
+
var T = __webpack_require__(1);
|
|
723
754
|
|
|
724
755
|
var lodash_1 = __webpack_require__(3);
|
|
725
756
|
|
|
726
|
-
var DataSource_1 = __webpack_require__(
|
|
757
|
+
var DataSource_1 = __webpack_require__(43);
|
|
727
758
|
|
|
728
759
|
exports.SortParamsPropTypes = T.shape({
|
|
729
760
|
currentSortKey: T.string,
|
|
@@ -743,7 +774,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
743
774
|
};
|
|
744
775
|
var onSort;
|
|
745
776
|
|
|
746
|
-
if (
|
|
777
|
+
if (typeof onRequestParamsChange === 'function') {
|
|
747
778
|
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
748
779
|
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
749
780
|
currentSortDir = requestParams.sort[currentSortKey];
|
|
@@ -776,7 +807,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
776
807
|
exports.getSortingParams = getSortingParams;
|
|
777
808
|
|
|
778
809
|
/***/ }),
|
|
779
|
-
/*
|
|
810
|
+
/* 34 */
|
|
780
811
|
/***/ (function(module, exports, __webpack_require__) {
|
|
781
812
|
|
|
782
813
|
"use strict";
|
|
@@ -787,7 +818,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
787
818
|
});
|
|
788
819
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
789
820
|
|
|
790
|
-
var T = __webpack_require__(
|
|
821
|
+
var T = __webpack_require__(1);
|
|
791
822
|
|
|
792
823
|
var lodash_1 = __webpack_require__(3);
|
|
793
824
|
|
|
@@ -807,7 +838,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
807
838
|
var count = requestParams && requestParams.count;
|
|
808
839
|
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
809
840
|
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
810
|
-
var isPaging = totalPages > 1 &&
|
|
841
|
+
var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
|
|
811
842
|
|
|
812
843
|
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
813
844
|
var page = _ref2.page,
|
|
@@ -833,20 +864,14 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
833
864
|
isPaging: isPaging,
|
|
834
865
|
current: current,
|
|
835
866
|
totalPages: totalPages,
|
|
836
|
-
onChange:
|
|
867
|
+
onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
|
|
837
868
|
};
|
|
838
869
|
};
|
|
839
870
|
|
|
840
871
|
exports.getPaginationParams = getPaginationParams;
|
|
841
872
|
|
|
842
873
|
/***/ }),
|
|
843
|
-
/*
|
|
844
|
-
/***/ (function(module, exports) {
|
|
845
|
-
|
|
846
|
-
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
847
|
-
|
|
848
|
-
/***/ }),
|
|
849
|
-
/* 31 */
|
|
874
|
+
/* 35 */
|
|
850
875
|
/***/ (function(module, exports, __webpack_require__) {
|
|
851
876
|
|
|
852
877
|
"use strict";
|
|
@@ -874,58 +899,67 @@ var VizCategory;
|
|
|
874
899
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
875
900
|
|
|
876
901
|
/***/ }),
|
|
877
|
-
/*
|
|
902
|
+
/* 36 */
|
|
878
903
|
/***/ (function(module, exports, __webpack_require__) {
|
|
879
904
|
|
|
880
905
|
"use strict";
|
|
881
906
|
|
|
882
907
|
|
|
908
|
+
var _slicedToArray = __webpack_require__(17);
|
|
909
|
+
|
|
883
910
|
Object.defineProperty(exports, "__esModule", {
|
|
884
911
|
value: true
|
|
885
912
|
});
|
|
886
913
|
|
|
887
|
-
var React = __webpack_require__(
|
|
914
|
+
var React = __webpack_require__(0);
|
|
888
915
|
|
|
889
916
|
var lodash_1 = __webpack_require__(3);
|
|
890
917
|
|
|
891
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
918
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(37);
|
|
892
919
|
|
|
893
|
-
var Options_1 = __webpack_require__(
|
|
920
|
+
var Options_1 = __webpack_require__(29);
|
|
894
921
|
|
|
895
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
922
|
+
var SanitizeProps_1 = __webpack_require__(38);
|
|
896
923
|
|
|
897
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
924
|
+
var TimezoneContext_1 = __webpack_require__(25);
|
|
898
925
|
|
|
899
|
-
var moment_1 = __webpack_require__(
|
|
926
|
+
var moment_1 = __webpack_require__(39);
|
|
927
|
+
|
|
928
|
+
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
900
929
|
|
|
901
930
|
var styled_components_1 = __webpack_require__(4);
|
|
902
931
|
|
|
903
|
-
var hocUtils_1 = __webpack_require__(
|
|
932
|
+
var hocUtils_1 = __webpack_require__(26);
|
|
933
|
+
|
|
934
|
+
var JSONSchemaUtils_1 = __webpack_require__(27);
|
|
935
|
+
|
|
936
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
904
937
|
|
|
905
|
-
var
|
|
938
|
+
var id_1 = __webpack_require__(32);
|
|
906
939
|
|
|
907
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
940
|
+
var SplunkVisualization_1 = __webpack_require__(41);
|
|
908
941
|
|
|
909
942
|
var VizBehavior_1 = __webpack_require__(6);
|
|
910
943
|
|
|
911
|
-
var getSorting_1 = __webpack_require__(
|
|
944
|
+
var getSorting_1 = __webpack_require__(33);
|
|
912
945
|
|
|
913
|
-
var getPagination_1 = __webpack_require__(
|
|
946
|
+
var getPagination_1 = __webpack_require__(34);
|
|
914
947
|
|
|
915
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
948
|
+
var useDeepMemo_1 = __webpack_require__(44);
|
|
916
949
|
|
|
917
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
950
|
+
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
918
951
|
|
|
919
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
952
|
+
var withEditModeCover_1 = __webpack_require__(46);
|
|
920
953
|
|
|
921
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
954
|
+
var withPlaceholder_1 = __webpack_require__(47);
|
|
955
|
+
|
|
956
|
+
var UUID = id_1.createGUID();
|
|
922
957
|
/**
|
|
923
958
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
924
959
|
* @param {DashboardVizOpts} opts
|
|
925
960
|
* @returns {HOC}
|
|
926
961
|
*/
|
|
927
962
|
|
|
928
|
-
|
|
929
963
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
930
964
|
var ReactViz = opts.ReactViz,
|
|
931
965
|
vizConfig = opts.vizConfig,
|
|
@@ -938,6 +972,8 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
938
972
|
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
|
|
939
973
|
|
|
940
974
|
var DashboardViz = function DashboardViz(props) {
|
|
975
|
+
var _a;
|
|
976
|
+
|
|
941
977
|
var mode = props.mode,
|
|
942
978
|
hasEventHandlers = props.hasEventHandlers,
|
|
943
979
|
dataSources = props.dataSources,
|
|
@@ -985,38 +1021,97 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
985
1021
|
|
|
986
1022
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
987
1023
|
|
|
1024
|
+
var _React$useState = React.useState({}),
|
|
1025
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1026
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
1027
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1031
|
+
|
|
1032
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
|
|
1033
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
1034
|
+
visualizationID = _React$useState4[0];
|
|
1035
|
+
|
|
1036
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
|
|
1037
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
1038
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
1039
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
1040
|
+
|
|
988
1041
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
989
1042
|
try {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1043
|
+
if (useAsyncEvaluatedOptions) {
|
|
1044
|
+
var optionsToEvaluate = {
|
|
1045
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1046
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1047
|
+
};
|
|
1048
|
+
var asyncDynamicOptionsEvaluatorParams = {
|
|
1049
|
+
visualizationID: visualizationID,
|
|
1050
|
+
props: props,
|
|
1051
|
+
options: optionsToEvaluate,
|
|
1052
|
+
dataSources: dataSources,
|
|
1053
|
+
theme: vizConfig.themes
|
|
1054
|
+
};
|
|
1055
|
+
async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
|
|
1056
|
+
setEvaluatedOptionsAsync(results.results);
|
|
1057
|
+
}).catch(function (e) {
|
|
1058
|
+
// eslint-disable-next-line no-console
|
|
1059
|
+
console.error("unexpected error evaluating options - async: ".concat(e.message));
|
|
1060
|
+
setUseAsyncEvaluatedOptions(false);
|
|
1061
|
+
});
|
|
1062
|
+
} else {
|
|
1063
|
+
return Options_1.Options.evaluate({
|
|
1064
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1065
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1066
|
+
}, dataSources, themeFunc);
|
|
1067
|
+
}
|
|
994
1068
|
} catch (e) {
|
|
995
1069
|
// eslint-disable-next-line no-console
|
|
996
|
-
console.error("unexpected error evaluating options:
|
|
1070
|
+
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
997
1071
|
return {};
|
|
998
1072
|
}
|
|
999
|
-
|
|
1073
|
+
|
|
1074
|
+
return {};
|
|
1075
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
1076
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // trellis specific backgroundColor update for onComputedProps
|
|
1077
|
+
// 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
|
|
1078
|
+
// onComputedProps api should return back trellisBackgroundColor value for backgroundColor option to support coloring of sibling panels (for eg:- title/ description on UDF side)
|
|
1079
|
+
|
|
1080
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1081
|
+
var clonedEvaluatedOptions = lodash_1.cloneDeep(evaluatedOptionsToUse);
|
|
1082
|
+
|
|
1083
|
+
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) {
|
|
1084
|
+
clonedEvaluatedOptions.backgroundColor = clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.trellisBackgroundColor;
|
|
1085
|
+
} // useEffect hook needs to be initialized before any early returns
|
|
1000
1086
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1001
1087
|
|
|
1088
|
+
|
|
1002
1089
|
React.useEffect(function () {
|
|
1003
|
-
onComputedProps(
|
|
1004
|
-
});
|
|
1090
|
+
onComputedProps(clonedEvaluatedOptions);
|
|
1091
|
+
});
|
|
1092
|
+
React.useEffect(function () {
|
|
1093
|
+
return function () {
|
|
1094
|
+
if (useAsyncEvaluatedOptions) {
|
|
1095
|
+
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
1096
|
+
}
|
|
1097
|
+
}; // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1098
|
+
}, []); // present warning message if any required props are missing
|
|
1005
1099
|
|
|
1006
1100
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
1007
1101
|
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
1008
1102
|
supports = vizConfig.supports;
|
|
1009
|
-
var missing = MissingPropsMessage_1.missingKeys(requiredProps,
|
|
1010
|
-
|
|
1011
|
-
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1103
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
1104
|
+
|
|
1105
|
+
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
|
|
1106
|
+
) {
|
|
1107
|
+
return React.createElement(MissingPropsMessage_1.default, {
|
|
1108
|
+
"data-test": "missing-props-message",
|
|
1109
|
+
width: width,
|
|
1110
|
+
height: height,
|
|
1111
|
+
missingProps: missing,
|
|
1112
|
+
backgroundColor: bgColorFromTheme
|
|
1113
|
+
});
|
|
1114
|
+
} // events
|
|
1020
1115
|
|
|
1021
1116
|
|
|
1022
1117
|
var eventCallbackProps = {};
|
|
@@ -1033,7 +1128,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1033
1128
|
|
|
1034
1129
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
1035
1130
|
payloadKeys.forEach(function (p) {
|
|
1036
|
-
payload[p] =
|
|
1131
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
1037
1132
|
});
|
|
1038
1133
|
}
|
|
1039
1134
|
|
|
@@ -1052,7 +1147,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1052
1147
|
} // compute pure viz props which are not from options
|
|
1053
1148
|
|
|
1054
1149
|
|
|
1055
|
-
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props),
|
|
1150
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
1056
1151
|
themeFunc: themeFunc
|
|
1057
1152
|
}));
|
|
1058
1153
|
/**
|
|
@@ -1072,7 +1167,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1072
1167
|
|
|
1073
1168
|
var dataSourceMetadata = {};
|
|
1074
1169
|
var OptionKey = 'paginateDataSourceKey';
|
|
1075
|
-
var paginateDataSourceKey = lodash_1.has(
|
|
1170
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
1076
1171
|
|
|
1077
1172
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
1078
1173
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
@@ -1102,7 +1197,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1102
1197
|
mode: mode,
|
|
1103
1198
|
width: width,
|
|
1104
1199
|
height: height
|
|
1105
|
-
},
|
|
1200
|
+
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
1106
1201
|
};
|
|
1107
1202
|
|
|
1108
1203
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
@@ -1119,31 +1214,31 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1119
1214
|
exports.default = withDashboardViz;
|
|
1120
1215
|
|
|
1121
1216
|
/***/ }),
|
|
1122
|
-
/*
|
|
1217
|
+
/* 37 */
|
|
1123
1218
|
/***/ (function(module, exports) {
|
|
1124
1219
|
|
|
1125
1220
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1126
1221
|
|
|
1127
1222
|
/***/ }),
|
|
1128
|
-
/*
|
|
1223
|
+
/* 38 */
|
|
1129
1224
|
/***/ (function(module, exports) {
|
|
1130
1225
|
|
|
1131
|
-
module.exports = require("@splunk/
|
|
1226
|
+
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1132
1227
|
|
|
1133
1228
|
/***/ }),
|
|
1134
|
-
/*
|
|
1229
|
+
/* 39 */
|
|
1135
1230
|
/***/ (function(module, exports) {
|
|
1136
1231
|
|
|
1137
|
-
module.exports = require("@splunk/
|
|
1232
|
+
module.exports = require("@splunk/moment");
|
|
1138
1233
|
|
|
1139
1234
|
/***/ }),
|
|
1140
|
-
/*
|
|
1235
|
+
/* 40 */
|
|
1141
1236
|
/***/ (function(module, exports) {
|
|
1142
1237
|
|
|
1143
|
-
module.exports = require("@splunk/
|
|
1238
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
1144
1239
|
|
|
1145
1240
|
/***/ }),
|
|
1146
|
-
/*
|
|
1241
|
+
/* 41 */
|
|
1147
1242
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1148
1243
|
|
|
1149
1244
|
"use strict";
|
|
@@ -1157,11 +1252,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1157
1252
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1158
1253
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1159
1254
|
|
|
1160
|
-
var T = __webpack_require__(
|
|
1255
|
+
var T = __webpack_require__(1);
|
|
1161
1256
|
|
|
1162
1257
|
var lodash_1 = __webpack_require__(3);
|
|
1163
1258
|
|
|
1164
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1259
|
+
var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1165
1260
|
|
|
1166
1261
|
|
|
1167
1262
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1294,7 +1389,7 @@ SplunkVisualization.defaultProps = {
|
|
|
1294
1389
|
exports.default = SplunkVisualization;
|
|
1295
1390
|
|
|
1296
1391
|
/***/ }),
|
|
1297
|
-
/*
|
|
1392
|
+
/* 42 */
|
|
1298
1393
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1299
1394
|
|
|
1300
1395
|
"use strict";
|
|
@@ -1302,7 +1397,7 @@ exports.default = SplunkVisualization;
|
|
|
1302
1397
|
|
|
1303
1398
|
var _classCallCheck = __webpack_require__(11);
|
|
1304
1399
|
|
|
1305
|
-
var _createClass = __webpack_require__(
|
|
1400
|
+
var _createClass = __webpack_require__(22);
|
|
1306
1401
|
|
|
1307
1402
|
Object.defineProperty(exports, "__esModule", {
|
|
1308
1403
|
value: true
|
|
@@ -1331,7 +1426,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1331
1426
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1332
1427
|
|
|
1333
1428
|
/***/ }),
|
|
1334
|
-
/*
|
|
1429
|
+
/* 43 */
|
|
1335
1430
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1336
1431
|
|
|
1337
1432
|
"use strict";
|
|
@@ -1344,7 +1439,7 @@ exports.validSortDirs = void 0;
|
|
|
1344
1439
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1345
1440
|
|
|
1346
1441
|
/***/ }),
|
|
1347
|
-
/*
|
|
1442
|
+
/* 44 */
|
|
1348
1443
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1349
1444
|
|
|
1350
1445
|
"use strict";
|
|
@@ -1355,7 +1450,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1355
1450
|
});
|
|
1356
1451
|
exports.useDeepMemo = void 0;
|
|
1357
1452
|
|
|
1358
|
-
var react_1 = __webpack_require__(
|
|
1453
|
+
var react_1 = __webpack_require__(0);
|
|
1359
1454
|
|
|
1360
1455
|
var lodash_1 = __webpack_require__(3);
|
|
1361
1456
|
/**
|
|
@@ -1389,7 +1484,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1389
1484
|
exports.useDeepMemo = useDeepMemo;
|
|
1390
1485
|
|
|
1391
1486
|
/***/ }),
|
|
1392
|
-
/*
|
|
1487
|
+
/* 45 */
|
|
1393
1488
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1394
1489
|
|
|
1395
1490
|
"use strict";
|
|
@@ -1400,13 +1495,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1400
1495
|
});
|
|
1401
1496
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
1402
1497
|
|
|
1403
|
-
var React = __webpack_require__(
|
|
1498
|
+
var React = __webpack_require__(0);
|
|
1404
1499
|
|
|
1405
|
-
var T = __webpack_require__(
|
|
1500
|
+
var T = __webpack_require__(1);
|
|
1406
1501
|
|
|
1407
1502
|
var i18n_1 = __webpack_require__(2);
|
|
1408
1503
|
|
|
1409
|
-
var Message_1 = __webpack_require__(
|
|
1504
|
+
var Message_1 = __webpack_require__(9);
|
|
1410
1505
|
|
|
1411
1506
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
1412
1507
|
/**
|
|
@@ -1469,7 +1564,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1469
1564
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1470
1565
|
|
|
1471
1566
|
/***/ }),
|
|
1472
|
-
/*
|
|
1567
|
+
/* 46 */
|
|
1473
1568
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1474
1569
|
|
|
1475
1570
|
"use strict";
|
|
@@ -1479,18 +1574,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1479
1574
|
value: true
|
|
1480
1575
|
});
|
|
1481
1576
|
|
|
1482
|
-
var React = __webpack_require__(
|
|
1577
|
+
var React = __webpack_require__(0);
|
|
1483
1578
|
|
|
1484
1579
|
var styled_components_1 = __webpack_require__(4);
|
|
1485
1580
|
|
|
1486
|
-
var hocUtils_1 = __webpack_require__(
|
|
1581
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
1487
1582
|
|
|
1488
1583
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1489
1584
|
displayName: "withEditModeCover__Cover",
|
|
1490
1585
|
componentId: "sc-1gsbnxb-0"
|
|
1491
1586
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1492
1587
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1493
|
-
'data-splunk-visualization-version': "25.
|
|
1588
|
+
'data-splunk-visualization-version': "25.7.0 - d10a7789b"
|
|
1494
1589
|
}).withConfig({
|
|
1495
1590
|
displayName: "withEditModeCover__Blocker",
|
|
1496
1591
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1521,7 +1616,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1521
1616
|
exports.default = withEditModeCover;
|
|
1522
1617
|
|
|
1523
1618
|
/***/ }),
|
|
1524
|
-
/*
|
|
1619
|
+
/* 47 */
|
|
1525
1620
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1526
1621
|
|
|
1527
1622
|
"use strict";
|
|
@@ -1531,17 +1626,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1531
1626
|
value: true
|
|
1532
1627
|
});
|
|
1533
1628
|
|
|
1534
|
-
var React = __webpack_require__(
|
|
1629
|
+
var React = __webpack_require__(0);
|
|
1535
1630
|
|
|
1536
1631
|
var colorUtils_1 = __webpack_require__(12);
|
|
1537
1632
|
|
|
1538
|
-
var variables_1 = __webpack_require__(
|
|
1633
|
+
var variables_1 = __webpack_require__(10);
|
|
1539
1634
|
|
|
1540
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1635
|
+
var IconPlaceholder_1 = __webpack_require__(31);
|
|
1541
1636
|
|
|
1542
1637
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1543
1638
|
|
|
1544
|
-
var hocUtils_1 = __webpack_require__(
|
|
1639
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
1545
1640
|
|
|
1546
1641
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1547
1642
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1585,32 +1680,32 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1585
1680
|
exports.default = withPlaceholder;
|
|
1586
1681
|
|
|
1587
1682
|
/***/ }),
|
|
1588
|
-
/*
|
|
1683
|
+
/* 48 */
|
|
1589
1684
|
/***/ (function(module, exports) {
|
|
1590
1685
|
|
|
1591
1686
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1592
1687
|
|
|
1593
1688
|
/***/ }),
|
|
1594
|
-
/*
|
|
1689
|
+
/* 49 */
|
|
1595
1690
|
/***/ (function(module, exports) {
|
|
1596
1691
|
|
|
1597
1692
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
1598
1693
|
|
|
1599
1694
|
/***/ }),
|
|
1600
|
-
/*
|
|
1695
|
+
/* 50 */
|
|
1601
1696
|
/***/ (function(module, exports) {
|
|
1602
1697
|
|
|
1603
1698
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1604
1699
|
|
|
1605
1700
|
/***/ }),
|
|
1606
|
-
/*
|
|
1607
|
-
/*
|
|
1701
|
+
/* 51 */,
|
|
1702
|
+
/* 52 */
|
|
1608
1703
|
/***/ (function(module, exports) {
|
|
1609
1704
|
|
|
1610
1705
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
1611
1706
|
|
|
1612
1707
|
/***/ }),
|
|
1613
|
-
/*
|
|
1708
|
+
/* 53 */
|
|
1614
1709
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1615
1710
|
|
|
1616
1711
|
"use strict";
|
|
@@ -1640,22 +1735,18 @@ var background = function background(_ref) {
|
|
|
1640
1735
|
exports.default = background;
|
|
1641
1736
|
|
|
1642
1737
|
/***/ }),
|
|
1643
|
-
/*
|
|
1644
|
-
/* 51 */,
|
|
1645
|
-
/* 52 */,
|
|
1646
|
-
/* 53 */,
|
|
1647
|
-
/* 54 */
|
|
1648
|
-
/***/ (function(module, exports) {
|
|
1649
|
-
|
|
1650
|
-
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1651
|
-
|
|
1652
|
-
/***/ }),
|
|
1738
|
+
/* 54 */,
|
|
1653
1739
|
/* 55 */,
|
|
1654
1740
|
/* 56 */,
|
|
1655
1741
|
/* 57 */,
|
|
1656
1742
|
/* 58 */,
|
|
1657
1743
|
/* 59 */,
|
|
1658
|
-
/* 60
|
|
1744
|
+
/* 60 */
|
|
1745
|
+
/***/ (function(module, exports) {
|
|
1746
|
+
|
|
1747
|
+
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1748
|
+
|
|
1749
|
+
/***/ }),
|
|
1659
1750
|
/* 61 */,
|
|
1660
1751
|
/* 62 */,
|
|
1661
1752
|
/* 63 */,
|
|
@@ -1680,13 +1771,20 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
1680
1771
|
/* 82 */,
|
|
1681
1772
|
/* 83 */,
|
|
1682
1773
|
/* 84 */,
|
|
1683
|
-
/* 85
|
|
1774
|
+
/* 85 */,
|
|
1775
|
+
/* 86 */,
|
|
1776
|
+
/* 87 */,
|
|
1777
|
+
/* 88 */,
|
|
1778
|
+
/* 89 */,
|
|
1779
|
+
/* 90 */,
|
|
1780
|
+
/* 91 */,
|
|
1781
|
+
/* 92 */
|
|
1684
1782
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1685
1783
|
|
|
1686
1784
|
"use strict";
|
|
1687
1785
|
|
|
1688
1786
|
|
|
1689
|
-
var _toConsumableArray = __webpack_require__(
|
|
1787
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1690
1788
|
|
|
1691
1789
|
Object.defineProperty(exports, "__esModule", {
|
|
1692
1790
|
value: true
|
|
@@ -1695,7 +1793,7 @@ exports.convertToGaugeProperties = exports.mapValueLabelDisplay = exports.mapToO
|
|
|
1695
1793
|
|
|
1696
1794
|
var lodash_1 = __webpack_require__(3);
|
|
1697
1795
|
|
|
1698
|
-
var colorConstants_1 = __webpack_require__(
|
|
1796
|
+
var colorConstants_1 = __webpack_require__(49);
|
|
1699
1797
|
|
|
1700
1798
|
var i18n_1 = __webpack_require__(2);
|
|
1701
1799
|
|
|
@@ -2448,13 +2546,6 @@ var convertToGaugeProperties = function convertToGaugeProperties(originalOptions
|
|
|
2448
2546
|
exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
2449
2547
|
|
|
2450
2548
|
/***/ }),
|
|
2451
|
-
/* 86 */,
|
|
2452
|
-
/* 87 */,
|
|
2453
|
-
/* 88 */,
|
|
2454
|
-
/* 89 */,
|
|
2455
|
-
/* 90 */,
|
|
2456
|
-
/* 91 */,
|
|
2457
|
-
/* 92 */,
|
|
2458
2549
|
/* 93 */,
|
|
2459
2550
|
/* 94 */,
|
|
2460
2551
|
/* 95 */,
|
|
@@ -2474,7 +2565,20 @@ exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
|
2474
2565
|
/* 109 */,
|
|
2475
2566
|
/* 110 */,
|
|
2476
2567
|
/* 111 */,
|
|
2477
|
-
/* 112
|
|
2568
|
+
/* 112 */,
|
|
2569
|
+
/* 113 */,
|
|
2570
|
+
/* 114 */,
|
|
2571
|
+
/* 115 */,
|
|
2572
|
+
/* 116 */,
|
|
2573
|
+
/* 117 */,
|
|
2574
|
+
/* 118 */,
|
|
2575
|
+
/* 119 */,
|
|
2576
|
+
/* 120 */,
|
|
2577
|
+
/* 121 */,
|
|
2578
|
+
/* 122 */,
|
|
2579
|
+
/* 123 */,
|
|
2580
|
+
/* 124 */,
|
|
2581
|
+
/* 125 */
|
|
2478
2582
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2479
2583
|
|
|
2480
2584
|
"use strict";
|
|
@@ -2538,18 +2642,18 @@ var gauge = {
|
|
|
2538
2642
|
exports.default = gauge;
|
|
2539
2643
|
|
|
2540
2644
|
/***/ }),
|
|
2541
|
-
/*
|
|
2645
|
+
/* 126 */
|
|
2542
2646
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2543
2647
|
|
|
2544
2648
|
"use strict";
|
|
2545
2649
|
__webpack_require__.r(__webpack_exports__);
|
|
2546
2650
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MajorTick", function() { return MajorTick; });
|
|
2547
2651
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionMajorTick", function() { return positionMajorTick; });
|
|
2548
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2652
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
|
|
2549
2653
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2550
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
2654
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
|
2551
2655
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2552
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2656
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
|
2553
2657
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2554
2658
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2555
2659
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
@@ -2792,18 +2896,18 @@ MajorTicks.defaultProps = {
|
|
|
2792
2896
|
/* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
|
|
2793
2897
|
|
|
2794
2898
|
/***/ }),
|
|
2795
|
-
/*
|
|
2899
|
+
/* 127 */
|
|
2796
2900
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2797
2901
|
|
|
2798
2902
|
"use strict";
|
|
2799
2903
|
__webpack_require__.r(__webpack_exports__);
|
|
2800
2904
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionValueMarkerRect", function() { return positionValueMarkerRect; });
|
|
2801
2905
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionLabel", function() { return positionLabel; });
|
|
2802
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2906
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
|
|
2803
2907
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2804
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
2908
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
|
2805
2909
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
2806
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2910
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1);
|
|
2807
2911
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2808
2912
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2809
2913
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
@@ -2993,19 +3097,6 @@ ValueMarker.defaultProps = {
|
|
|
2993
3097
|
/* harmony default export */ __webpack_exports__["default"] = (ValueMarker);
|
|
2994
3098
|
|
|
2995
3099
|
/***/ }),
|
|
2996
|
-
/* 115 */,
|
|
2997
|
-
/* 116 */,
|
|
2998
|
-
/* 117 */,
|
|
2999
|
-
/* 118 */,
|
|
3000
|
-
/* 119 */,
|
|
3001
|
-
/* 120 */,
|
|
3002
|
-
/* 121 */,
|
|
3003
|
-
/* 122 */,
|
|
3004
|
-
/* 123 */,
|
|
3005
|
-
/* 124 */,
|
|
3006
|
-
/* 125 */,
|
|
3007
|
-
/* 126 */,
|
|
3008
|
-
/* 127 */,
|
|
3009
3100
|
/* 128 */,
|
|
3010
3101
|
/* 129 */,
|
|
3011
3102
|
/* 130 */,
|
|
@@ -3068,7 +3159,25 @@ ValueMarker.defaultProps = {
|
|
|
3068
3159
|
/* 187 */,
|
|
3069
3160
|
/* 188 */,
|
|
3070
3161
|
/* 189 */,
|
|
3071
|
-
/* 190
|
|
3162
|
+
/* 190 */,
|
|
3163
|
+
/* 191 */,
|
|
3164
|
+
/* 192 */,
|
|
3165
|
+
/* 193 */,
|
|
3166
|
+
/* 194 */,
|
|
3167
|
+
/* 195 */,
|
|
3168
|
+
/* 196 */,
|
|
3169
|
+
/* 197 */,
|
|
3170
|
+
/* 198 */,
|
|
3171
|
+
/* 199 */,
|
|
3172
|
+
/* 200 */,
|
|
3173
|
+
/* 201 */,
|
|
3174
|
+
/* 202 */,
|
|
3175
|
+
/* 203 */,
|
|
3176
|
+
/* 204 */,
|
|
3177
|
+
/* 205 */,
|
|
3178
|
+
/* 206 */,
|
|
3179
|
+
/* 207 */,
|
|
3180
|
+
/* 208 */
|
|
3072
3181
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3073
3182
|
|
|
3074
3183
|
"use strict";
|
|
@@ -3094,13 +3203,13 @@ exports.themes = exports.computeVizProps = exports.PureFillerGauge = exports.con
|
|
|
3094
3203
|
|
|
3095
3204
|
var lodash_1 = __webpack_require__(3);
|
|
3096
3205
|
|
|
3097
|
-
var config_1 = __webpack_require__(
|
|
3206
|
+
var config_1 = __webpack_require__(209);
|
|
3098
3207
|
|
|
3099
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3208
|
+
var withDashboardViz_1 = __webpack_require__(36);
|
|
3100
3209
|
|
|
3101
|
-
var FillerGauge_1 = __webpack_require__(
|
|
3210
|
+
var FillerGauge_1 = __webpack_require__(213);
|
|
3102
3211
|
|
|
3103
|
-
var gaugeUtils_1 = __webpack_require__(
|
|
3212
|
+
var gaugeUtils_1 = __webpack_require__(92);
|
|
3104
3213
|
|
|
3105
3214
|
exports.config = config_1.default;
|
|
3106
3215
|
exports.PureFillerGauge = FillerGauge_1.default;
|
|
@@ -3130,7 +3239,7 @@ exports.themes = config_1.default.themes;
|
|
|
3130
3239
|
exports.default = viz;
|
|
3131
3240
|
|
|
3132
3241
|
/***/ }),
|
|
3133
|
-
/*
|
|
3242
|
+
/* 209 */
|
|
3134
3243
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3135
3244
|
|
|
3136
3245
|
"use strict";
|
|
@@ -3144,31 +3253,31 @@ var i18n_1 = __webpack_require__(2);
|
|
|
3144
3253
|
|
|
3145
3254
|
var schemaUtils_1 = __webpack_require__(16);
|
|
3146
3255
|
|
|
3147
|
-
var pick_1 = __webpack_require__(
|
|
3256
|
+
var pick_1 = __webpack_require__(23);
|
|
3148
3257
|
|
|
3149
|
-
var variables_1 = __webpack_require__(
|
|
3258
|
+
var variables_1 = __webpack_require__(10);
|
|
3150
3259
|
|
|
3151
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3260
|
+
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
3152
3261
|
|
|
3153
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
3262
|
+
var PresetPalettes_1 = __webpack_require__(60);
|
|
3154
3263
|
|
|
3155
|
-
var GaugeFiller_1 = __webpack_require__(
|
|
3264
|
+
var GaugeFiller_1 = __webpack_require__(210);
|
|
3156
3265
|
|
|
3157
|
-
var placeholders_1 = __webpack_require__(
|
|
3266
|
+
var placeholders_1 = __webpack_require__(48);
|
|
3158
3267
|
|
|
3159
3268
|
var VizBehavior_1 = __webpack_require__(6);
|
|
3160
3269
|
|
|
3161
|
-
var VizCategory_1 = __webpack_require__(
|
|
3270
|
+
var VizCategory_1 = __webpack_require__(35);
|
|
3162
3271
|
|
|
3163
|
-
var configUtils_1 = __webpack_require__(
|
|
3272
|
+
var configUtils_1 = __webpack_require__(19);
|
|
3164
3273
|
|
|
3165
|
-
var Gauge_1 = __webpack_require__(
|
|
3274
|
+
var Gauge_1 = __webpack_require__(125);
|
|
3166
3275
|
|
|
3167
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3276
|
+
var BackgroundColor_1 = __webpack_require__(53);
|
|
3168
3277
|
|
|
3169
|
-
var DynamicGaugeColorEditor_1 = __webpack_require__(
|
|
3278
|
+
var DynamicGaugeColorEditor_1 = __webpack_require__(211);
|
|
3170
3279
|
|
|
3171
|
-
var StaticGaugeColorEditor_1 = __webpack_require__(
|
|
3280
|
+
var StaticGaugeColorEditor_1 = __webpack_require__(212);
|
|
3172
3281
|
|
|
3173
3282
|
var dataContract = {
|
|
3174
3283
|
requiredDataSources: [{
|
|
@@ -3377,12 +3486,10 @@ var editorConfig = [{
|
|
|
3377
3486
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
3378
3487
|
})], [Object.assign(Object.assign({}, StaticGaugeColorEditor_1.default), {
|
|
3379
3488
|
editorProps: {
|
|
3380
|
-
labelPosition: 'left',
|
|
3381
3489
|
themes: themes
|
|
3382
3490
|
}
|
|
3383
3491
|
})], BackgroundColor_1.default({
|
|
3384
|
-
themes: themes
|
|
3385
|
-
labelPosition: 'left'
|
|
3492
|
+
themes: themes
|
|
3386
3493
|
})]
|
|
3387
3494
|
}];
|
|
3388
3495
|
/**
|
|
@@ -3417,13 +3524,13 @@ var config = {
|
|
|
3417
3524
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
3418
3525
|
|
|
3419
3526
|
/***/ }),
|
|
3420
|
-
/*
|
|
3527
|
+
/* 210 */
|
|
3421
3528
|
/***/ (function(module, exports) {
|
|
3422
3529
|
|
|
3423
3530
|
module.exports = require("@splunk/react-icons/GaugeFiller");
|
|
3424
3531
|
|
|
3425
3532
|
/***/ }),
|
|
3426
|
-
/*
|
|
3533
|
+
/* 211 */
|
|
3427
3534
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3428
3535
|
|
|
3429
3536
|
"use strict";
|
|
@@ -3436,13 +3543,13 @@ exports.getDynamicGaugeColorEditor = void 0;
|
|
|
3436
3543
|
|
|
3437
3544
|
var i18n_1 = __webpack_require__(2);
|
|
3438
3545
|
|
|
3439
|
-
var configUtils_1 = __webpack_require__(
|
|
3546
|
+
var configUtils_1 = __webpack_require__(21);
|
|
3440
3547
|
|
|
3441
3548
|
var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
3442
3549
|
var defaultContext = _ref.defaultContext,
|
|
3443
3550
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
3444
3551
|
return {
|
|
3445
|
-
label: i18n_1._('
|
|
3552
|
+
label: i18n_1._('Gauge'),
|
|
3446
3553
|
option: 'gaugeColor',
|
|
3447
3554
|
context: 'gaugeColorConfig',
|
|
3448
3555
|
editor: 'editor.dynamicColor',
|
|
@@ -3451,7 +3558,7 @@ var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
|
3451
3558
|
return configUtils_1.isDynamicOption(options.gaugeColor);
|
|
3452
3559
|
},
|
|
3453
3560
|
editorProps: {
|
|
3454
|
-
labelPosition: '
|
|
3561
|
+
labelPosition: 'top',
|
|
3455
3562
|
flyoutTitle: i18n_1._('Dynamic coloring: gauge'),
|
|
3456
3563
|
formatters: [{
|
|
3457
3564
|
label: i18n_1._('Ranges'),
|
|
@@ -3472,7 +3579,7 @@ var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
|
3472
3579
|
exports.getDynamicGaugeColorEditor = getDynamicGaugeColorEditor;
|
|
3473
3580
|
|
|
3474
3581
|
/***/ }),
|
|
3475
|
-
/*
|
|
3582
|
+
/* 212 */
|
|
3476
3583
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3477
3584
|
|
|
3478
3585
|
"use strict";
|
|
@@ -3484,7 +3591,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3484
3591
|
|
|
3485
3592
|
var i18n_1 = __webpack_require__(2);
|
|
3486
3593
|
|
|
3487
|
-
var configUtils_1 = __webpack_require__(
|
|
3594
|
+
var configUtils_1 = __webpack_require__(21);
|
|
3488
3595
|
|
|
3489
3596
|
var StaticGaugeColorEditor = {
|
|
3490
3597
|
label: i18n_1._('Gauge'),
|
|
@@ -3498,7 +3605,7 @@ var StaticGaugeColorEditor = {
|
|
|
3498
3605
|
exports.default = StaticGaugeColorEditor;
|
|
3499
3606
|
|
|
3500
3607
|
/***/ }),
|
|
3501
|
-
/*
|
|
3608
|
+
/* 213 */
|
|
3502
3609
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3503
3610
|
|
|
3504
3611
|
"use strict";
|
|
@@ -3522,9 +3629,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3522
3629
|
});
|
|
3523
3630
|
exports.AXIS_ORIENTATION_TYPES = void 0;
|
|
3524
3631
|
|
|
3525
|
-
var React = __webpack_require__(
|
|
3632
|
+
var React = __webpack_require__(0);
|
|
3526
3633
|
|
|
3527
|
-
var T = __webpack_require__(
|
|
3634
|
+
var T = __webpack_require__(1);
|
|
3528
3635
|
|
|
3529
3636
|
var styled_components_1 = __webpack_require__(4);
|
|
3530
3637
|
|
|
@@ -3532,17 +3639,17 @@ var lodash_1 = __webpack_require__(3);
|
|
|
3532
3639
|
|
|
3533
3640
|
var i18n_1 = __webpack_require__(2);
|
|
3534
3641
|
|
|
3535
|
-
var style_1 = __webpack_require__(
|
|
3642
|
+
var style_1 = __webpack_require__(14);
|
|
3536
3643
|
|
|
3537
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
3644
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
3538
3645
|
|
|
3539
|
-
var Message_1 = __webpack_require__(
|
|
3646
|
+
var Message_1 = __webpack_require__(9);
|
|
3540
3647
|
|
|
3541
|
-
var gaugeUtils_1 = __webpack_require__(
|
|
3648
|
+
var gaugeUtils_1 = __webpack_require__(92);
|
|
3542
3649
|
|
|
3543
|
-
var GaugeMajorTicks_1 = __webpack_require__(
|
|
3650
|
+
var GaugeMajorTicks_1 = __webpack_require__(126);
|
|
3544
3651
|
|
|
3545
|
-
var GaugeValueMarker_1 = __webpack_require__(
|
|
3652
|
+
var GaugeValueMarker_1 = __webpack_require__(127);
|
|
3546
3653
|
|
|
3547
3654
|
var Container = styled_components_1.default.div.withConfig({
|
|
3548
3655
|
displayName: "FillerGauge__Container",
|