@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/Markdown.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 419);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -95,21 +95,28 @@ module.exports =
|
|
|
95
95
|
/***/ 0:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
|
-
module.exports = require("
|
|
98
|
+
module.exports = require("react");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
102
|
/***/ 1:
|
|
103
103
|
/***/ (function(module, exports) {
|
|
104
104
|
|
|
105
|
-
module.exports = require("
|
|
105
|
+
module.exports = require("prop-types");
|
|
106
106
|
|
|
107
107
|
/***/ }),
|
|
108
108
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@splunk/
|
|
112
|
+
module.exports = require("@splunk/themes/variables");
|
|
113
|
+
|
|
114
|
+
/***/ }),
|
|
115
|
+
|
|
116
|
+
/***/ 104:
|
|
117
|
+
/***/ (function(module, exports) {
|
|
118
|
+
|
|
119
|
+
module.exports = require("@splunk/react-ui/Paragraph");
|
|
113
120
|
|
|
114
121
|
/***/ }),
|
|
115
122
|
|
|
@@ -120,17 +127,24 @@ module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
|
120
127
|
|
|
121
128
|
/***/ }),
|
|
122
129
|
|
|
123
|
-
/***/
|
|
130
|
+
/***/ 12:
|
|
131
|
+
/***/ (function(module, exports) {
|
|
132
|
+
|
|
133
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
134
|
+
|
|
135
|
+
/***/ }),
|
|
136
|
+
|
|
137
|
+
/***/ 121:
|
|
124
138
|
/***/ (function(module, exports) {
|
|
125
139
|
|
|
126
140
|
module.exports = require("@splunk/react-ui/Markdown");
|
|
127
141
|
|
|
128
142
|
/***/ }),
|
|
129
143
|
|
|
130
|
-
/***/
|
|
144
|
+
/***/ 124:
|
|
131
145
|
/***/ (function(module, exports) {
|
|
132
146
|
|
|
133
|
-
module.exports = require("@splunk/
|
|
147
|
+
module.exports = require("@splunk/react-ui/Heading");
|
|
134
148
|
|
|
135
149
|
/***/ }),
|
|
136
150
|
|
|
@@ -144,13 +158,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
144
158
|
value: true
|
|
145
159
|
});
|
|
146
160
|
|
|
147
|
-
var React = __webpack_require__(
|
|
161
|
+
var React = __webpack_require__(0);
|
|
148
162
|
|
|
149
163
|
var styled_components_1 = __webpack_require__(4);
|
|
150
164
|
|
|
151
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
165
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
152
166
|
|
|
153
|
-
var style_1 = __webpack_require__(
|
|
167
|
+
var style_1 = __webpack_require__(14);
|
|
154
168
|
|
|
155
169
|
var colorUtils_1 = __webpack_require__(12);
|
|
156
170
|
|
|
@@ -209,7 +223,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
209
223
|
|
|
210
224
|
return React.createElement(FixSizeItem, {
|
|
211
225
|
"data-test": "fix-size-item",
|
|
212
|
-
"data-splunk-visualization-version": "25.
|
|
226
|
+
"data-splunk-visualization-version": "25.7.0 - d10a7789b",
|
|
213
227
|
width: width,
|
|
214
228
|
height: height,
|
|
215
229
|
backgroundColor: backgroundColor
|
|
@@ -232,6 +246,13 @@ exports.default = withFixedSizeContainer;
|
|
|
232
246
|
/***/ }),
|
|
233
247
|
|
|
234
248
|
/***/ 14:
|
|
249
|
+
/***/ (function(module, exports) {
|
|
250
|
+
|
|
251
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
252
|
+
|
|
253
|
+
/***/ }),
|
|
254
|
+
|
|
255
|
+
/***/ 15:
|
|
235
256
|
/***/ (function(module, exports, __webpack_require__) {
|
|
236
257
|
|
|
237
258
|
"use strict";
|
|
@@ -264,13 +285,13 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
264
285
|
|
|
265
286
|
/***/ }),
|
|
266
287
|
|
|
267
|
-
/***/
|
|
288
|
+
/***/ 157:
|
|
268
289
|
/***/ (function(module, exports, __webpack_require__) {
|
|
269
290
|
|
|
270
291
|
"use strict";
|
|
271
292
|
|
|
272
293
|
|
|
273
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
294
|
+
var _taggedTemplateLiteral = __webpack_require__(93);
|
|
274
295
|
|
|
275
296
|
var _templateObject;
|
|
276
297
|
|
|
@@ -281,31 +302,31 @@ exports.getFontMap = exports.config = exports.themes = exports.computeVizProps =
|
|
|
281
302
|
|
|
282
303
|
var lodash_1 = __webpack_require__(3);
|
|
283
304
|
|
|
284
|
-
var types_1 = __webpack_require__(
|
|
305
|
+
var types_1 = __webpack_require__(90);
|
|
285
306
|
|
|
286
|
-
var React = __webpack_require__(
|
|
307
|
+
var React = __webpack_require__(0);
|
|
287
308
|
|
|
288
|
-
var style_1 = __webpack_require__(
|
|
309
|
+
var style_1 = __webpack_require__(14);
|
|
289
310
|
|
|
290
|
-
var Markdown_1 = __webpack_require__(
|
|
311
|
+
var Markdown_1 = __webpack_require__(121);
|
|
291
312
|
|
|
292
313
|
var styled_components_1 = __webpack_require__(4);
|
|
293
314
|
|
|
294
|
-
var T = __webpack_require__(
|
|
315
|
+
var T = __webpack_require__(1);
|
|
295
316
|
|
|
296
|
-
var themes_1 = __webpack_require__(
|
|
317
|
+
var themes_1 = __webpack_require__(59);
|
|
297
318
|
|
|
298
|
-
var Heading_1 = __webpack_require__(
|
|
319
|
+
var Heading_1 = __webpack_require__(124);
|
|
299
320
|
|
|
300
|
-
var Paragraph_1 = __webpack_require__(
|
|
321
|
+
var Paragraph_1 = __webpack_require__(104);
|
|
301
322
|
|
|
302
|
-
var List_1 = __webpack_require__(
|
|
323
|
+
var List_1 = __webpack_require__(420);
|
|
303
324
|
|
|
304
|
-
var Code_1 = __webpack_require__(
|
|
325
|
+
var Code_1 = __webpack_require__(421);
|
|
305
326
|
|
|
306
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
327
|
+
var withDashboardViz_1 = __webpack_require__(36);
|
|
307
328
|
|
|
308
|
-
var config_1 = __webpack_require__(
|
|
329
|
+
var config_1 = __webpack_require__(422);
|
|
309
330
|
|
|
310
331
|
exports.config = config_1.default; // map of valid font sizes with elements' respective pixel sizes
|
|
311
332
|
|
|
@@ -582,29 +603,36 @@ exports.default = Markdown;
|
|
|
582
603
|
|
|
583
604
|
/***/ }),
|
|
584
605
|
|
|
585
|
-
/***/
|
|
606
|
+
/***/ 16:
|
|
586
607
|
/***/ (function(module, exports) {
|
|
587
608
|
|
|
588
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
609
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
589
610
|
|
|
590
611
|
/***/ }),
|
|
591
612
|
|
|
592
|
-
/***/
|
|
613
|
+
/***/ 17:
|
|
593
614
|
/***/ (function(module, exports) {
|
|
594
615
|
|
|
595
|
-
module.exports = require("@
|
|
616
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
596
617
|
|
|
597
618
|
/***/ }),
|
|
598
619
|
|
|
599
|
-
/***/
|
|
620
|
+
/***/ 18:
|
|
621
|
+
/***/ (function(module, exports) {
|
|
622
|
+
|
|
623
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
624
|
+
|
|
625
|
+
/***/ }),
|
|
626
|
+
|
|
627
|
+
/***/ 19:
|
|
600
628
|
/***/ (function(module, exports, __webpack_require__) {
|
|
601
629
|
|
|
602
630
|
"use strict";
|
|
603
631
|
|
|
604
632
|
|
|
605
|
-
var _toConsumableArray = __webpack_require__(
|
|
633
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
606
634
|
|
|
607
|
-
var _defineProperty = __webpack_require__(
|
|
635
|
+
var _defineProperty = __webpack_require__(8);
|
|
608
636
|
|
|
609
637
|
var __rest = this && this.__rest || function (s, e) {
|
|
610
638
|
var t = {};
|
|
@@ -833,49 +861,63 @@ exports.insertLayout = insertLayout;
|
|
|
833
861
|
|
|
834
862
|
/***/ }),
|
|
835
863
|
|
|
836
|
-
/***/
|
|
864
|
+
/***/ 2:
|
|
837
865
|
/***/ (function(module, exports) {
|
|
838
866
|
|
|
839
|
-
module.exports = require("@
|
|
867
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
840
868
|
|
|
841
869
|
/***/ }),
|
|
842
870
|
|
|
843
|
-
/***/
|
|
871
|
+
/***/ 20:
|
|
844
872
|
/***/ (function(module, exports) {
|
|
845
873
|
|
|
846
|
-
module.exports = require("@splunk/
|
|
874
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
847
875
|
|
|
848
876
|
/***/ }),
|
|
849
877
|
|
|
850
|
-
/***/
|
|
878
|
+
/***/ 22:
|
|
851
879
|
/***/ (function(module, exports) {
|
|
852
880
|
|
|
853
|
-
module.exports = require("@
|
|
881
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
854
882
|
|
|
855
883
|
/***/ }),
|
|
856
884
|
|
|
857
|
-
/***/
|
|
885
|
+
/***/ 25:
|
|
858
886
|
/***/ (function(module, exports) {
|
|
859
887
|
|
|
860
888
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
861
889
|
|
|
862
890
|
/***/ }),
|
|
863
891
|
|
|
864
|
-
/***/
|
|
892
|
+
/***/ 26:
|
|
865
893
|
/***/ (function(module, exports) {
|
|
866
894
|
|
|
867
895
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
868
896
|
|
|
869
897
|
/***/ }),
|
|
870
898
|
|
|
871
|
-
/***/
|
|
899
|
+
/***/ 27:
|
|
872
900
|
/***/ (function(module, exports) {
|
|
873
901
|
|
|
874
902
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
875
903
|
|
|
876
904
|
/***/ }),
|
|
877
905
|
|
|
878
|
-
/***/
|
|
906
|
+
/***/ 29:
|
|
907
|
+
/***/ (function(module, exports) {
|
|
908
|
+
|
|
909
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
910
|
+
|
|
911
|
+
/***/ }),
|
|
912
|
+
|
|
913
|
+
/***/ 3:
|
|
914
|
+
/***/ (function(module, exports) {
|
|
915
|
+
|
|
916
|
+
module.exports = require("lodash");
|
|
917
|
+
|
|
918
|
+
/***/ }),
|
|
919
|
+
|
|
920
|
+
/***/ 31:
|
|
879
921
|
/***/ (function(module, exports, __webpack_require__) {
|
|
880
922
|
|
|
881
923
|
"use strict";
|
|
@@ -886,15 +928,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
886
928
|
});
|
|
887
929
|
exports.shouldShowIconPlaceholder = void 0;
|
|
888
930
|
|
|
889
|
-
var React = __webpack_require__(
|
|
931
|
+
var React = __webpack_require__(0);
|
|
890
932
|
|
|
891
|
-
var T = __webpack_require__(
|
|
933
|
+
var T = __webpack_require__(1);
|
|
892
934
|
|
|
893
935
|
var lodash_1 = __webpack_require__(3);
|
|
894
936
|
|
|
895
937
|
var i18n_1 = __webpack_require__(2);
|
|
896
938
|
|
|
897
|
-
var Message_1 = __webpack_require__(
|
|
939
|
+
var Message_1 = __webpack_require__(9);
|
|
898
940
|
|
|
899
941
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
900
942
|
/**
|
|
@@ -967,24 +1009,31 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
967
1009
|
|
|
968
1010
|
/***/ }),
|
|
969
1011
|
|
|
970
|
-
/***/
|
|
1012
|
+
/***/ 32:
|
|
1013
|
+
/***/ (function(module, exports) {
|
|
1014
|
+
|
|
1015
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
1016
|
+
|
|
1017
|
+
/***/ }),
|
|
1018
|
+
|
|
1019
|
+
/***/ 33:
|
|
971
1020
|
/***/ (function(module, exports, __webpack_require__) {
|
|
972
1021
|
|
|
973
1022
|
"use strict";
|
|
974
1023
|
|
|
975
1024
|
|
|
976
|
-
var _defineProperty = __webpack_require__(
|
|
1025
|
+
var _defineProperty = __webpack_require__(8);
|
|
977
1026
|
|
|
978
1027
|
Object.defineProperty(exports, "__esModule", {
|
|
979
1028
|
value: true
|
|
980
1029
|
});
|
|
981
1030
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
982
1031
|
|
|
983
|
-
var T = __webpack_require__(
|
|
1032
|
+
var T = __webpack_require__(1);
|
|
984
1033
|
|
|
985
1034
|
var lodash_1 = __webpack_require__(3);
|
|
986
1035
|
|
|
987
|
-
var DataSource_1 = __webpack_require__(
|
|
1036
|
+
var DataSource_1 = __webpack_require__(43);
|
|
988
1037
|
|
|
989
1038
|
exports.SortParamsPropTypes = T.shape({
|
|
990
1039
|
currentSortKey: T.string,
|
|
@@ -1004,7 +1053,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1004
1053
|
};
|
|
1005
1054
|
var onSort;
|
|
1006
1055
|
|
|
1007
|
-
if (
|
|
1056
|
+
if (typeof onRequestParamsChange === 'function') {
|
|
1008
1057
|
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
1009
1058
|
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
1010
1059
|
currentSortDir = requestParams.sort[currentSortKey];
|
|
@@ -1038,7 +1087,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
1038
1087
|
|
|
1039
1088
|
/***/ }),
|
|
1040
1089
|
|
|
1041
|
-
/***/
|
|
1090
|
+
/***/ 34:
|
|
1042
1091
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1043
1092
|
|
|
1044
1093
|
"use strict";
|
|
@@ -1049,7 +1098,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1049
1098
|
});
|
|
1050
1099
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1051
1100
|
|
|
1052
|
-
var T = __webpack_require__(
|
|
1101
|
+
var T = __webpack_require__(1);
|
|
1053
1102
|
|
|
1054
1103
|
var lodash_1 = __webpack_require__(3);
|
|
1055
1104
|
|
|
@@ -1069,7 +1118,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1069
1118
|
var count = requestParams && requestParams.count;
|
|
1070
1119
|
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
1071
1120
|
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
1072
|
-
var isPaging = totalPages > 1 &&
|
|
1121
|
+
var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
|
|
1073
1122
|
|
|
1074
1123
|
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
1075
1124
|
var page = _ref2.page,
|
|
@@ -1095,7 +1144,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1095
1144
|
isPaging: isPaging,
|
|
1096
1145
|
current: current,
|
|
1097
1146
|
totalPages: totalPages,
|
|
1098
|
-
onChange:
|
|
1147
|
+
onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
|
|
1099
1148
|
};
|
|
1100
1149
|
};
|
|
1101
1150
|
|
|
@@ -1103,14 +1152,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
1103
1152
|
|
|
1104
1153
|
/***/ }),
|
|
1105
1154
|
|
|
1106
|
-
/***/
|
|
1107
|
-
/***/ (function(module, exports) {
|
|
1108
|
-
|
|
1109
|
-
module.exports = require("lodash");
|
|
1110
|
-
|
|
1111
|
-
/***/ }),
|
|
1112
|
-
|
|
1113
|
-
/***/ 31:
|
|
1155
|
+
/***/ 35:
|
|
1114
1156
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1115
1157
|
|
|
1116
1158
|
"use strict";
|
|
@@ -1139,58 +1181,67 @@ var VizCategory;
|
|
|
1139
1181
|
|
|
1140
1182
|
/***/ }),
|
|
1141
1183
|
|
|
1142
|
-
/***/
|
|
1184
|
+
/***/ 36:
|
|
1143
1185
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1144
1186
|
|
|
1145
1187
|
"use strict";
|
|
1146
1188
|
|
|
1147
1189
|
|
|
1190
|
+
var _slicedToArray = __webpack_require__(17);
|
|
1191
|
+
|
|
1148
1192
|
Object.defineProperty(exports, "__esModule", {
|
|
1149
1193
|
value: true
|
|
1150
1194
|
});
|
|
1151
1195
|
|
|
1152
|
-
var React = __webpack_require__(
|
|
1196
|
+
var React = __webpack_require__(0);
|
|
1153
1197
|
|
|
1154
1198
|
var lodash_1 = __webpack_require__(3);
|
|
1155
1199
|
|
|
1156
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1200
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(37);
|
|
1157
1201
|
|
|
1158
|
-
var Options_1 = __webpack_require__(
|
|
1202
|
+
var Options_1 = __webpack_require__(29);
|
|
1159
1203
|
|
|
1160
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1204
|
+
var SanitizeProps_1 = __webpack_require__(38);
|
|
1161
1205
|
|
|
1162
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1206
|
+
var TimezoneContext_1 = __webpack_require__(25);
|
|
1163
1207
|
|
|
1164
|
-
var moment_1 = __webpack_require__(
|
|
1208
|
+
var moment_1 = __webpack_require__(39);
|
|
1209
|
+
|
|
1210
|
+
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
1165
1211
|
|
|
1166
1212
|
var styled_components_1 = __webpack_require__(4);
|
|
1167
1213
|
|
|
1168
|
-
var hocUtils_1 = __webpack_require__(
|
|
1214
|
+
var hocUtils_1 = __webpack_require__(26);
|
|
1215
|
+
|
|
1216
|
+
var JSONSchemaUtils_1 = __webpack_require__(27);
|
|
1217
|
+
|
|
1218
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
1169
1219
|
|
|
1170
|
-
var
|
|
1220
|
+
var id_1 = __webpack_require__(32);
|
|
1171
1221
|
|
|
1172
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1222
|
+
var SplunkVisualization_1 = __webpack_require__(41);
|
|
1173
1223
|
|
|
1174
1224
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1175
1225
|
|
|
1176
|
-
var getSorting_1 = __webpack_require__(
|
|
1226
|
+
var getSorting_1 = __webpack_require__(33);
|
|
1177
1227
|
|
|
1178
|
-
var getPagination_1 = __webpack_require__(
|
|
1228
|
+
var getPagination_1 = __webpack_require__(34);
|
|
1179
1229
|
|
|
1180
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1230
|
+
var useDeepMemo_1 = __webpack_require__(44);
|
|
1181
1231
|
|
|
1182
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1232
|
+
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
1183
1233
|
|
|
1184
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1234
|
+
var withEditModeCover_1 = __webpack_require__(46);
|
|
1185
1235
|
|
|
1186
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1236
|
+
var withPlaceholder_1 = __webpack_require__(47);
|
|
1237
|
+
|
|
1238
|
+
var UUID = id_1.createGUID();
|
|
1187
1239
|
/**
|
|
1188
1240
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1189
1241
|
* @param {DashboardVizOpts} opts
|
|
1190
1242
|
* @returns {HOC}
|
|
1191
1243
|
*/
|
|
1192
1244
|
|
|
1193
|
-
|
|
1194
1245
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
1195
1246
|
var ReactViz = opts.ReactViz,
|
|
1196
1247
|
vizConfig = opts.vizConfig,
|
|
@@ -1203,6 +1254,8 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1203
1254
|
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
|
|
1204
1255
|
|
|
1205
1256
|
var DashboardViz = function DashboardViz(props) {
|
|
1257
|
+
var _a;
|
|
1258
|
+
|
|
1206
1259
|
var mode = props.mode,
|
|
1207
1260
|
hasEventHandlers = props.hasEventHandlers,
|
|
1208
1261
|
dataSources = props.dataSources,
|
|
@@ -1250,38 +1303,97 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1250
1303
|
|
|
1251
1304
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
1252
1305
|
|
|
1306
|
+
var _React$useState = React.useState({}),
|
|
1307
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1308
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
1309
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1313
|
+
|
|
1314
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
|
|
1315
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
1316
|
+
visualizationID = _React$useState4[0];
|
|
1317
|
+
|
|
1318
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
|
|
1319
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
1320
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
1321
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
1322
|
+
|
|
1253
1323
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
1254
1324
|
try {
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1325
|
+
if (useAsyncEvaluatedOptions) {
|
|
1326
|
+
var optionsToEvaluate = {
|
|
1327
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1328
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1329
|
+
};
|
|
1330
|
+
var asyncDynamicOptionsEvaluatorParams = {
|
|
1331
|
+
visualizationID: visualizationID,
|
|
1332
|
+
props: props,
|
|
1333
|
+
options: optionsToEvaluate,
|
|
1334
|
+
dataSources: dataSources,
|
|
1335
|
+
theme: vizConfig.themes
|
|
1336
|
+
};
|
|
1337
|
+
async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
|
|
1338
|
+
setEvaluatedOptionsAsync(results.results);
|
|
1339
|
+
}).catch(function (e) {
|
|
1340
|
+
// eslint-disable-next-line no-console
|
|
1341
|
+
console.error("unexpected error evaluating options - async: ".concat(e.message));
|
|
1342
|
+
setUseAsyncEvaluatedOptions(false);
|
|
1343
|
+
});
|
|
1344
|
+
} else {
|
|
1345
|
+
return Options_1.Options.evaluate({
|
|
1346
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1347
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1348
|
+
}, dataSources, themeFunc);
|
|
1349
|
+
}
|
|
1259
1350
|
} catch (e) {
|
|
1260
1351
|
// eslint-disable-next-line no-console
|
|
1261
|
-
console.error("unexpected error evaluating options:
|
|
1352
|
+
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
1262
1353
|
return {};
|
|
1263
1354
|
}
|
|
1264
|
-
|
|
1355
|
+
|
|
1356
|
+
return {};
|
|
1357
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
1358
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // trellis specific backgroundColor update for onComputedProps
|
|
1359
|
+
// 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
|
|
1360
|
+
// onComputedProps api should return back trellisBackgroundColor value for backgroundColor option to support coloring of sibling panels (for eg:- title/ description on UDF side)
|
|
1361
|
+
|
|
1362
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1363
|
+
var clonedEvaluatedOptions = lodash_1.cloneDeep(evaluatedOptionsToUse);
|
|
1364
|
+
|
|
1365
|
+
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) {
|
|
1366
|
+
clonedEvaluatedOptions.backgroundColor = clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.trellisBackgroundColor;
|
|
1367
|
+
} // useEffect hook needs to be initialized before any early returns
|
|
1265
1368
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1266
1369
|
|
|
1370
|
+
|
|
1267
1371
|
React.useEffect(function () {
|
|
1268
|
-
onComputedProps(
|
|
1269
|
-
});
|
|
1372
|
+
onComputedProps(clonedEvaluatedOptions);
|
|
1373
|
+
});
|
|
1374
|
+
React.useEffect(function () {
|
|
1375
|
+
return function () {
|
|
1376
|
+
if (useAsyncEvaluatedOptions) {
|
|
1377
|
+
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
1378
|
+
}
|
|
1379
|
+
}; // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1380
|
+
}, []); // present warning message if any required props are missing
|
|
1270
1381
|
|
|
1271
1382
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
1272
1383
|
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
1273
1384
|
supports = vizConfig.supports;
|
|
1274
|
-
var missing = MissingPropsMessage_1.missingKeys(requiredProps,
|
|
1275
|
-
|
|
1276
|
-
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1385
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
1386
|
+
|
|
1387
|
+
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
|
|
1388
|
+
) {
|
|
1389
|
+
return React.createElement(MissingPropsMessage_1.default, {
|
|
1390
|
+
"data-test": "missing-props-message",
|
|
1391
|
+
width: width,
|
|
1392
|
+
height: height,
|
|
1393
|
+
missingProps: missing,
|
|
1394
|
+
backgroundColor: bgColorFromTheme
|
|
1395
|
+
});
|
|
1396
|
+
} // events
|
|
1285
1397
|
|
|
1286
1398
|
|
|
1287
1399
|
var eventCallbackProps = {};
|
|
@@ -1298,7 +1410,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1298
1410
|
|
|
1299
1411
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
1300
1412
|
payloadKeys.forEach(function (p) {
|
|
1301
|
-
payload[p] =
|
|
1413
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
1302
1414
|
});
|
|
1303
1415
|
}
|
|
1304
1416
|
|
|
@@ -1317,7 +1429,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1317
1429
|
} // compute pure viz props which are not from options
|
|
1318
1430
|
|
|
1319
1431
|
|
|
1320
|
-
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props),
|
|
1432
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
1321
1433
|
themeFunc: themeFunc
|
|
1322
1434
|
}));
|
|
1323
1435
|
/**
|
|
@@ -1337,7 +1449,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1337
1449
|
|
|
1338
1450
|
var dataSourceMetadata = {};
|
|
1339
1451
|
var OptionKey = 'paginateDataSourceKey';
|
|
1340
|
-
var paginateDataSourceKey = lodash_1.has(
|
|
1452
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
1341
1453
|
|
|
1342
1454
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
1343
1455
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
@@ -1367,7 +1479,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1367
1479
|
mode: mode,
|
|
1368
1480
|
width: width,
|
|
1369
1481
|
height: height
|
|
1370
|
-
},
|
|
1482
|
+
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
1371
1483
|
};
|
|
1372
1484
|
|
|
1373
1485
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
@@ -1385,35 +1497,42 @@ exports.default = withDashboardViz;
|
|
|
1385
1497
|
|
|
1386
1498
|
/***/ }),
|
|
1387
1499
|
|
|
1388
|
-
/***/
|
|
1500
|
+
/***/ 37:
|
|
1389
1501
|
/***/ (function(module, exports) {
|
|
1390
1502
|
|
|
1391
1503
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1392
1504
|
|
|
1393
1505
|
/***/ }),
|
|
1394
1506
|
|
|
1395
|
-
/***/
|
|
1507
|
+
/***/ 38:
|
|
1396
1508
|
/***/ (function(module, exports) {
|
|
1397
1509
|
|
|
1398
|
-
module.exports = require("@splunk/
|
|
1510
|
+
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1399
1511
|
|
|
1400
1512
|
/***/ }),
|
|
1401
1513
|
|
|
1402
|
-
/***/
|
|
1514
|
+
/***/ 39:
|
|
1403
1515
|
/***/ (function(module, exports) {
|
|
1404
1516
|
|
|
1405
|
-
module.exports = require("@splunk/
|
|
1517
|
+
module.exports = require("@splunk/moment");
|
|
1406
1518
|
|
|
1407
1519
|
/***/ }),
|
|
1408
1520
|
|
|
1409
|
-
/***/
|
|
1521
|
+
/***/ 4:
|
|
1410
1522
|
/***/ (function(module, exports) {
|
|
1411
1523
|
|
|
1412
|
-
module.exports = require("
|
|
1524
|
+
module.exports = require("styled-components");
|
|
1413
1525
|
|
|
1414
1526
|
/***/ }),
|
|
1415
1527
|
|
|
1416
|
-
/***/
|
|
1528
|
+
/***/ 40:
|
|
1529
|
+
/***/ (function(module, exports) {
|
|
1530
|
+
|
|
1531
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
1532
|
+
|
|
1533
|
+
/***/ }),
|
|
1534
|
+
|
|
1535
|
+
/***/ 41:
|
|
1417
1536
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1418
1537
|
|
|
1419
1538
|
"use strict";
|
|
@@ -1427,11 +1546,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1427
1546
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1428
1547
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1429
1548
|
|
|
1430
|
-
var T = __webpack_require__(
|
|
1549
|
+
var T = __webpack_require__(1);
|
|
1431
1550
|
|
|
1432
1551
|
var lodash_1 = __webpack_require__(3);
|
|
1433
1552
|
|
|
1434
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1553
|
+
var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1435
1554
|
|
|
1436
1555
|
|
|
1437
1556
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1565,112 +1684,7 @@ exports.default = SplunkVisualization;
|
|
|
1565
1684
|
|
|
1566
1685
|
/***/ }),
|
|
1567
1686
|
|
|
1568
|
-
/***/
|
|
1569
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1570
|
-
|
|
1571
|
-
"use strict";
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
var _classCallCheck = __webpack_require__(11);
|
|
1575
|
-
|
|
1576
|
-
var _createClass = __webpack_require__(19);
|
|
1577
|
-
|
|
1578
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1579
|
-
value: true
|
|
1580
|
-
});
|
|
1581
|
-
exports.DefaultVizActionHandler = void 0;
|
|
1582
|
-
|
|
1583
|
-
var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
1584
|
-
function DefaultVizActionHandler() {
|
|
1585
|
-
_classCallCheck(this, DefaultVizActionHandler);
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
_createClass(DefaultVizActionHandler, [{
|
|
1589
|
-
key: "focus",
|
|
1590
|
-
value: function focus() {// noop
|
|
1591
|
-
}
|
|
1592
|
-
}, {
|
|
1593
|
-
key: "snapshot",
|
|
1594
|
-
value: function snapshot() {
|
|
1595
|
-
return null; // noop
|
|
1596
|
-
}
|
|
1597
|
-
}]);
|
|
1598
|
-
|
|
1599
|
-
return DefaultVizActionHandler;
|
|
1600
|
-
}();
|
|
1601
|
-
|
|
1602
|
-
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1603
|
-
|
|
1604
|
-
/***/ }),
|
|
1605
|
-
|
|
1606
|
-
/***/ 39:
|
|
1607
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1608
|
-
|
|
1609
|
-
"use strict";
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1613
|
-
value: true
|
|
1614
|
-
});
|
|
1615
|
-
exports.validSortDirs = void 0;
|
|
1616
|
-
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1617
|
-
|
|
1618
|
-
/***/ }),
|
|
1619
|
-
|
|
1620
|
-
/***/ 4:
|
|
1621
|
-
/***/ (function(module, exports) {
|
|
1622
|
-
|
|
1623
|
-
module.exports = require("styled-components");
|
|
1624
|
-
|
|
1625
|
-
/***/ }),
|
|
1626
|
-
|
|
1627
|
-
/***/ 40:
|
|
1628
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1629
|
-
|
|
1630
|
-
"use strict";
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1634
|
-
value: true
|
|
1635
|
-
});
|
|
1636
|
-
exports.useDeepMemo = void 0;
|
|
1637
|
-
|
|
1638
|
-
var react_1 = __webpack_require__(1);
|
|
1639
|
-
|
|
1640
|
-
var lodash_1 = __webpack_require__(3);
|
|
1641
|
-
/**
|
|
1642
|
-
* This hook evaluates and stores the result of a passed function and only
|
|
1643
|
-
* re-evaluates the function when passed dependencies change.
|
|
1644
|
-
*
|
|
1645
|
-
* It is different from the internal React useMemo in the following aspects:
|
|
1646
|
-
* - it only stores the last evaluated result
|
|
1647
|
-
* - it uses a deep equality check to determine if dependencies have changed
|
|
1648
|
-
*
|
|
1649
|
-
* Inspired by apollo-client's useDeepMemo
|
|
1650
|
-
*
|
|
1651
|
-
* @param fn the function to be executed and
|
|
1652
|
-
* @param dependencies an array of dependencies
|
|
1653
|
-
*/
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
1657
|
-
var ref = react_1.useRef();
|
|
1658
|
-
|
|
1659
|
-
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
1660
|
-
ref.current = {
|
|
1661
|
-
dependencies: dependencies,
|
|
1662
|
-
value: fn()
|
|
1663
|
-
};
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
return ref.current.value;
|
|
1667
|
-
};
|
|
1668
|
-
|
|
1669
|
-
exports.useDeepMemo = useDeepMemo;
|
|
1670
|
-
|
|
1671
|
-
/***/ }),
|
|
1672
|
-
|
|
1673
|
-
/***/ 402:
|
|
1687
|
+
/***/ 419:
|
|
1674
1688
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1675
1689
|
|
|
1676
1690
|
"use strict";
|
|
@@ -1700,9 +1714,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1700
1714
|
});
|
|
1701
1715
|
exports.default = void 0;
|
|
1702
1716
|
|
|
1703
|
-
__exportStar(__webpack_require__(
|
|
1717
|
+
__exportStar(__webpack_require__(157), exports);
|
|
1704
1718
|
|
|
1705
|
-
var Markdown_1 = __webpack_require__(
|
|
1719
|
+
var Markdown_1 = __webpack_require__(157);
|
|
1706
1720
|
|
|
1707
1721
|
Object.defineProperty(exports, "default", {
|
|
1708
1722
|
enumerable: true,
|
|
@@ -1713,40 +1727,71 @@ Object.defineProperty(exports, "default", {
|
|
|
1713
1727
|
|
|
1714
1728
|
/***/ }),
|
|
1715
1729
|
|
|
1716
|
-
/***/
|
|
1717
|
-
/***/ (function(module, exports) {
|
|
1730
|
+
/***/ 42:
|
|
1731
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1718
1732
|
|
|
1719
|
-
|
|
1733
|
+
"use strict";
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
var _classCallCheck = __webpack_require__(11);
|
|
1737
|
+
|
|
1738
|
+
var _createClass = __webpack_require__(22);
|
|
1739
|
+
|
|
1740
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1741
|
+
value: true
|
|
1742
|
+
});
|
|
1743
|
+
exports.DefaultVizActionHandler = void 0;
|
|
1744
|
+
|
|
1745
|
+
var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
1746
|
+
function DefaultVizActionHandler() {
|
|
1747
|
+
_classCallCheck(this, DefaultVizActionHandler);
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
_createClass(DefaultVizActionHandler, [{
|
|
1751
|
+
key: "focus",
|
|
1752
|
+
value: function focus() {// noop
|
|
1753
|
+
}
|
|
1754
|
+
}, {
|
|
1755
|
+
key: "snapshot",
|
|
1756
|
+
value: function snapshot() {
|
|
1757
|
+
return null; // noop
|
|
1758
|
+
}
|
|
1759
|
+
}]);
|
|
1760
|
+
|
|
1761
|
+
return DefaultVizActionHandler;
|
|
1762
|
+
}();
|
|
1763
|
+
|
|
1764
|
+
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1720
1765
|
|
|
1721
1766
|
/***/ }),
|
|
1722
1767
|
|
|
1723
|
-
/***/
|
|
1768
|
+
/***/ 420:
|
|
1724
1769
|
/***/ (function(module, exports) {
|
|
1725
1770
|
|
|
1726
1771
|
module.exports = require("@splunk/react-ui/List");
|
|
1727
1772
|
|
|
1728
1773
|
/***/ }),
|
|
1729
1774
|
|
|
1730
|
-
/***/
|
|
1775
|
+
/***/ 421:
|
|
1731
1776
|
/***/ (function(module, exports) {
|
|
1732
1777
|
|
|
1733
1778
|
module.exports = require("@splunk/react-ui/Code");
|
|
1734
1779
|
|
|
1735
1780
|
/***/ }),
|
|
1736
1781
|
|
|
1737
|
-
/***/
|
|
1782
|
+
/***/ 422:
|
|
1738
1783
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1739
1784
|
|
|
1740
1785
|
"use strict";
|
|
1741
1786
|
|
|
1742
1787
|
|
|
1743
|
-
var _toConsumableArray = __webpack_require__(
|
|
1788
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1744
1789
|
|
|
1745
1790
|
Object.defineProperty(exports, "__esModule", {
|
|
1746
1791
|
value: true
|
|
1747
1792
|
});
|
|
1748
1793
|
|
|
1749
|
-
var themes_1 = __webpack_require__(
|
|
1794
|
+
var themes_1 = __webpack_require__(59);
|
|
1750
1795
|
|
|
1751
1796
|
var i18n_1 = __webpack_require__(2);
|
|
1752
1797
|
|
|
@@ -1754,11 +1799,11 @@ var schemaUtils_1 = __webpack_require__(16);
|
|
|
1754
1799
|
|
|
1755
1800
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1756
1801
|
|
|
1757
|
-
var VizCategory_1 = __webpack_require__(
|
|
1802
|
+
var VizCategory_1 = __webpack_require__(35);
|
|
1758
1803
|
|
|
1759
|
-
var configUtils_1 = __webpack_require__(
|
|
1804
|
+
var configUtils_1 = __webpack_require__(19);
|
|
1760
1805
|
|
|
1761
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
1806
|
+
var BackgroundColor_1 = __webpack_require__(53);
|
|
1762
1807
|
|
|
1763
1808
|
var FONT_OPTIONS = new Set(['extraSmall', 'small', 'default', 'large', 'extraLarge']);
|
|
1764
1809
|
var dataContract = {
|
|
@@ -1957,7 +2002,67 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
1957
2002
|
|
|
1958
2003
|
/***/ }),
|
|
1959
2004
|
|
|
1960
|
-
/***/
|
|
2005
|
+
/***/ 43:
|
|
2006
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2007
|
+
|
|
2008
|
+
"use strict";
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2012
|
+
value: true
|
|
2013
|
+
});
|
|
2014
|
+
exports.validSortDirs = void 0;
|
|
2015
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
2016
|
+
|
|
2017
|
+
/***/ }),
|
|
2018
|
+
|
|
2019
|
+
/***/ 44:
|
|
2020
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2021
|
+
|
|
2022
|
+
"use strict";
|
|
2023
|
+
|
|
2024
|
+
|
|
2025
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2026
|
+
value: true
|
|
2027
|
+
});
|
|
2028
|
+
exports.useDeepMemo = void 0;
|
|
2029
|
+
|
|
2030
|
+
var react_1 = __webpack_require__(0);
|
|
2031
|
+
|
|
2032
|
+
var lodash_1 = __webpack_require__(3);
|
|
2033
|
+
/**
|
|
2034
|
+
* This hook evaluates and stores the result of a passed function and only
|
|
2035
|
+
* re-evaluates the function when passed dependencies change.
|
|
2036
|
+
*
|
|
2037
|
+
* It is different from the internal React useMemo in the following aspects:
|
|
2038
|
+
* - it only stores the last evaluated result
|
|
2039
|
+
* - it uses a deep equality check to determine if dependencies have changed
|
|
2040
|
+
*
|
|
2041
|
+
* Inspired by apollo-client's useDeepMemo
|
|
2042
|
+
*
|
|
2043
|
+
* @param fn the function to be executed and
|
|
2044
|
+
* @param dependencies an array of dependencies
|
|
2045
|
+
*/
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
2049
|
+
var ref = react_1.useRef();
|
|
2050
|
+
|
|
2051
|
+
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
2052
|
+
ref.current = {
|
|
2053
|
+
dependencies: dependencies,
|
|
2054
|
+
value: fn()
|
|
2055
|
+
};
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
return ref.current.value;
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
exports.useDeepMemo = useDeepMemo;
|
|
2062
|
+
|
|
2063
|
+
/***/ }),
|
|
2064
|
+
|
|
2065
|
+
/***/ 45:
|
|
1961
2066
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1962
2067
|
|
|
1963
2068
|
"use strict";
|
|
@@ -1968,13 +2073,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1968
2073
|
});
|
|
1969
2074
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
1970
2075
|
|
|
1971
|
-
var React = __webpack_require__(
|
|
2076
|
+
var React = __webpack_require__(0);
|
|
1972
2077
|
|
|
1973
|
-
var T = __webpack_require__(
|
|
2078
|
+
var T = __webpack_require__(1);
|
|
1974
2079
|
|
|
1975
2080
|
var i18n_1 = __webpack_require__(2);
|
|
1976
2081
|
|
|
1977
|
-
var Message_1 = __webpack_require__(
|
|
2082
|
+
var Message_1 = __webpack_require__(9);
|
|
1978
2083
|
|
|
1979
2084
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
1980
2085
|
/**
|
|
@@ -2038,7 +2143,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
2038
2143
|
|
|
2039
2144
|
/***/ }),
|
|
2040
2145
|
|
|
2041
|
-
/***/
|
|
2146
|
+
/***/ 46:
|
|
2042
2147
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2043
2148
|
|
|
2044
2149
|
"use strict";
|
|
@@ -2048,18 +2153,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2048
2153
|
value: true
|
|
2049
2154
|
});
|
|
2050
2155
|
|
|
2051
|
-
var React = __webpack_require__(
|
|
2156
|
+
var React = __webpack_require__(0);
|
|
2052
2157
|
|
|
2053
2158
|
var styled_components_1 = __webpack_require__(4);
|
|
2054
2159
|
|
|
2055
|
-
var hocUtils_1 = __webpack_require__(
|
|
2160
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
2056
2161
|
|
|
2057
2162
|
var Cover = styled_components_1.default.div.withConfig({
|
|
2058
2163
|
displayName: "withEditModeCover__Cover",
|
|
2059
2164
|
componentId: "sc-1gsbnxb-0"
|
|
2060
2165
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2061
2166
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2062
|
-
'data-splunk-visualization-version': "25.
|
|
2167
|
+
'data-splunk-visualization-version': "25.7.0 - d10a7789b"
|
|
2063
2168
|
}).withConfig({
|
|
2064
2169
|
displayName: "withEditModeCover__Blocker",
|
|
2065
2170
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2091,7 +2196,7 @@ exports.default = withEditModeCover;
|
|
|
2091
2196
|
|
|
2092
2197
|
/***/ }),
|
|
2093
2198
|
|
|
2094
|
-
/***/
|
|
2199
|
+
/***/ 47:
|
|
2095
2200
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2096
2201
|
|
|
2097
2202
|
"use strict";
|
|
@@ -2101,17 +2206,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2101
2206
|
value: true
|
|
2102
2207
|
});
|
|
2103
2208
|
|
|
2104
|
-
var React = __webpack_require__(
|
|
2209
|
+
var React = __webpack_require__(0);
|
|
2105
2210
|
|
|
2106
2211
|
var colorUtils_1 = __webpack_require__(12);
|
|
2107
2212
|
|
|
2108
|
-
var variables_1 = __webpack_require__(
|
|
2213
|
+
var variables_1 = __webpack_require__(10);
|
|
2109
2214
|
|
|
2110
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2215
|
+
var IconPlaceholder_1 = __webpack_require__(31);
|
|
2111
2216
|
|
|
2112
2217
|
var VizBehavior_1 = __webpack_require__(6);
|
|
2113
2218
|
|
|
2114
|
-
var hocUtils_1 = __webpack_require__(
|
|
2219
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
2115
2220
|
|
|
2116
2221
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2117
2222
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2156,7 +2261,7 @@ exports.default = withPlaceholder;
|
|
|
2156
2261
|
|
|
2157
2262
|
/***/ }),
|
|
2158
2263
|
|
|
2159
|
-
/***/
|
|
2264
|
+
/***/ 53:
|
|
2160
2265
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2161
2266
|
|
|
2162
2267
|
"use strict";
|
|
@@ -2187,6 +2292,13 @@ exports.default = background;
|
|
|
2187
2292
|
|
|
2188
2293
|
/***/ }),
|
|
2189
2294
|
|
|
2295
|
+
/***/ 59:
|
|
2296
|
+
/***/ (function(module, exports) {
|
|
2297
|
+
|
|
2298
|
+
module.exports = require("@splunk/themes");
|
|
2299
|
+
|
|
2300
|
+
/***/ }),
|
|
2301
|
+
|
|
2190
2302
|
/***/ 6:
|
|
2191
2303
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2192
2304
|
|
|
@@ -2221,57 +2333,44 @@ var VizBehavior;
|
|
|
2221
2333
|
|
|
2222
2334
|
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
2223
2335
|
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2336
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
2224
2337
|
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2225
2338
|
|
|
2226
2339
|
/***/ }),
|
|
2227
2340
|
|
|
2228
|
-
/***/
|
|
2341
|
+
/***/ 7:
|
|
2229
2342
|
/***/ (function(module, exports) {
|
|
2230
2343
|
|
|
2231
|
-
module.exports = require("@
|
|
2344
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
2232
2345
|
|
|
2233
2346
|
/***/ }),
|
|
2234
2347
|
|
|
2235
|
-
/***/
|
|
2348
|
+
/***/ 8:
|
|
2236
2349
|
/***/ (function(module, exports) {
|
|
2237
2350
|
|
|
2238
2351
|
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
2239
2352
|
|
|
2240
2353
|
/***/ }),
|
|
2241
2354
|
|
|
2242
|
-
/***/
|
|
2355
|
+
/***/ 9:
|
|
2243
2356
|
/***/ (function(module, exports) {
|
|
2244
2357
|
|
|
2245
|
-
module.exports = require("@
|
|
2358
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
2246
2359
|
|
|
2247
2360
|
/***/ }),
|
|
2248
2361
|
|
|
2249
|
-
/***/
|
|
2362
|
+
/***/ 90:
|
|
2250
2363
|
/***/ (function(module, exports) {
|
|
2251
2364
|
|
|
2252
2365
|
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
2253
2366
|
|
|
2254
2367
|
/***/ }),
|
|
2255
2368
|
|
|
2256
|
-
/***/
|
|
2369
|
+
/***/ 93:
|
|
2257
2370
|
/***/ (function(module, exports) {
|
|
2258
2371
|
|
|
2259
2372
|
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
2260
2373
|
|
|
2261
|
-
/***/ }),
|
|
2262
|
-
|
|
2263
|
-
/***/ 9:
|
|
2264
|
-
/***/ (function(module, exports) {
|
|
2265
|
-
|
|
2266
|
-
module.exports = require("@splunk/themes/variables");
|
|
2267
|
-
|
|
2268
|
-
/***/ }),
|
|
2269
|
-
|
|
2270
|
-
/***/ 95:
|
|
2271
|
-
/***/ (function(module, exports) {
|
|
2272
|
-
|
|
2273
|
-
module.exports = require("@splunk/react-ui/Paragraph");
|
|
2274
|
-
|
|
2275
2374
|
/***/ })
|
|
2276
2375
|
|
|
2277
2376
|
/******/ });
|