@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/Ellipse.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 = 194);
|
|
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,56 +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
|
-
/*
|
|
618
|
+
/* 26 */
|
|
606
619
|
/***/ (function(module, exports) {
|
|
607
620
|
|
|
608
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
621
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
609
622
|
|
|
610
623
|
/***/ }),
|
|
611
|
-
/*
|
|
624
|
+
/* 27 */
|
|
612
625
|
/***/ (function(module, exports) {
|
|
613
626
|
|
|
614
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
627
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
615
628
|
|
|
616
629
|
/***/ }),
|
|
617
|
-
/*
|
|
630
|
+
/* 28 */
|
|
618
631
|
/***/ (function(module, exports) {
|
|
619
632
|
|
|
620
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
633
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
621
634
|
|
|
622
635
|
/***/ }),
|
|
623
|
-
/*
|
|
636
|
+
/* 29 */
|
|
637
|
+
/***/ (function(module, exports) {
|
|
638
|
+
|
|
639
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
640
|
+
|
|
641
|
+
/***/ }),
|
|
642
|
+
/* 30 */,
|
|
643
|
+
/* 31 */
|
|
624
644
|
/***/ (function(module, exports, __webpack_require__) {
|
|
625
645
|
|
|
626
646
|
"use strict";
|
|
@@ -631,15 +651,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
631
651
|
});
|
|
632
652
|
exports.shouldShowIconPlaceholder = void 0;
|
|
633
653
|
|
|
634
|
-
var React = __webpack_require__(
|
|
654
|
+
var React = __webpack_require__(0);
|
|
635
655
|
|
|
636
|
-
var T = __webpack_require__(
|
|
656
|
+
var T = __webpack_require__(1);
|
|
637
657
|
|
|
638
658
|
var lodash_1 = __webpack_require__(3);
|
|
639
659
|
|
|
640
660
|
var i18n_1 = __webpack_require__(2);
|
|
641
661
|
|
|
642
|
-
var Message_1 = __webpack_require__(
|
|
662
|
+
var Message_1 = __webpack_require__(9);
|
|
643
663
|
|
|
644
664
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
645
665
|
/**
|
|
@@ -711,24 +731,30 @@ IconPlaceholder.defaultProps = {
|
|
|
711
731
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
712
732
|
|
|
713
733
|
/***/ }),
|
|
714
|
-
/*
|
|
734
|
+
/* 32 */
|
|
735
|
+
/***/ (function(module, exports) {
|
|
736
|
+
|
|
737
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
738
|
+
|
|
739
|
+
/***/ }),
|
|
740
|
+
/* 33 */
|
|
715
741
|
/***/ (function(module, exports, __webpack_require__) {
|
|
716
742
|
|
|
717
743
|
"use strict";
|
|
718
744
|
|
|
719
745
|
|
|
720
|
-
var _defineProperty = __webpack_require__(
|
|
746
|
+
var _defineProperty = __webpack_require__(8);
|
|
721
747
|
|
|
722
748
|
Object.defineProperty(exports, "__esModule", {
|
|
723
749
|
value: true
|
|
724
750
|
});
|
|
725
751
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
726
752
|
|
|
727
|
-
var T = __webpack_require__(
|
|
753
|
+
var T = __webpack_require__(1);
|
|
728
754
|
|
|
729
755
|
var lodash_1 = __webpack_require__(3);
|
|
730
756
|
|
|
731
|
-
var DataSource_1 = __webpack_require__(
|
|
757
|
+
var DataSource_1 = __webpack_require__(43);
|
|
732
758
|
|
|
733
759
|
exports.SortParamsPropTypes = T.shape({
|
|
734
760
|
currentSortKey: T.string,
|
|
@@ -748,7 +774,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
748
774
|
};
|
|
749
775
|
var onSort;
|
|
750
776
|
|
|
751
|
-
if (
|
|
777
|
+
if (typeof onRequestParamsChange === 'function') {
|
|
752
778
|
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
753
779
|
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
754
780
|
currentSortDir = requestParams.sort[currentSortKey];
|
|
@@ -781,7 +807,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
781
807
|
exports.getSortingParams = getSortingParams;
|
|
782
808
|
|
|
783
809
|
/***/ }),
|
|
784
|
-
/*
|
|
810
|
+
/* 34 */
|
|
785
811
|
/***/ (function(module, exports, __webpack_require__) {
|
|
786
812
|
|
|
787
813
|
"use strict";
|
|
@@ -792,7 +818,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
792
818
|
});
|
|
793
819
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
794
820
|
|
|
795
|
-
var T = __webpack_require__(
|
|
821
|
+
var T = __webpack_require__(1);
|
|
796
822
|
|
|
797
823
|
var lodash_1 = __webpack_require__(3);
|
|
798
824
|
|
|
@@ -812,7 +838,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
812
838
|
var count = requestParams && requestParams.count;
|
|
813
839
|
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
814
840
|
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
815
|
-
var isPaging = totalPages > 1 &&
|
|
841
|
+
var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
|
|
816
842
|
|
|
817
843
|
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
818
844
|
var page = _ref2.page,
|
|
@@ -838,15 +864,14 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
838
864
|
isPaging: isPaging,
|
|
839
865
|
current: current,
|
|
840
866
|
totalPages: totalPages,
|
|
841
|
-
onChange:
|
|
867
|
+
onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
|
|
842
868
|
};
|
|
843
869
|
};
|
|
844
870
|
|
|
845
871
|
exports.getPaginationParams = getPaginationParams;
|
|
846
872
|
|
|
847
873
|
/***/ }),
|
|
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
|
+
|
|
1089
|
+
React.useEffect(function () {
|
|
1090
|
+
onComputedProps(clonedEvaluatedOptions);
|
|
1091
|
+
});
|
|
1002
1092
|
React.useEffect(function () {
|
|
1003
|
-
|
|
1004
|
-
|
|
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,28 +1680,24 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1585
1680
|
exports.default = withPlaceholder;
|
|
1586
1681
|
|
|
1587
1682
|
/***/ }),
|
|
1588
|
-
/* 44 */,
|
|
1589
|
-
/* 45 */,
|
|
1590
|
-
/* 46 */,
|
|
1591
|
-
/* 47 */,
|
|
1592
1683
|
/* 48 */,
|
|
1593
1684
|
/* 49 */,
|
|
1594
1685
|
/* 50 */,
|
|
1595
1686
|
/* 51 */,
|
|
1596
1687
|
/* 52 */,
|
|
1597
1688
|
/* 53 */,
|
|
1598
|
-
/* 54
|
|
1599
|
-
/***/ (function(module, exports) {
|
|
1600
|
-
|
|
1601
|
-
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1602
|
-
|
|
1603
|
-
/***/ }),
|
|
1689
|
+
/* 54 */,
|
|
1604
1690
|
/* 55 */,
|
|
1605
1691
|
/* 56 */,
|
|
1606
1692
|
/* 57 */,
|
|
1607
1693
|
/* 58 */,
|
|
1608
1694
|
/* 59 */,
|
|
1609
|
-
/* 60
|
|
1695
|
+
/* 60 */
|
|
1696
|
+
/***/ (function(module, exports) {
|
|
1697
|
+
|
|
1698
|
+
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1699
|
+
|
|
1700
|
+
/***/ }),
|
|
1610
1701
|
/* 61 */,
|
|
1611
1702
|
/* 62 */,
|
|
1612
1703
|
/* 63 */,
|
|
@@ -1650,7 +1741,16 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
1650
1741
|
/* 101 */,
|
|
1651
1742
|
/* 102 */,
|
|
1652
1743
|
/* 103 */,
|
|
1653
|
-
/* 104
|
|
1744
|
+
/* 104 */,
|
|
1745
|
+
/* 105 */,
|
|
1746
|
+
/* 106 */,
|
|
1747
|
+
/* 107 */,
|
|
1748
|
+
/* 108 */,
|
|
1749
|
+
/* 109 */,
|
|
1750
|
+
/* 110 */,
|
|
1751
|
+
/* 111 */,
|
|
1752
|
+
/* 112 */,
|
|
1753
|
+
/* 113 */
|
|
1654
1754
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1655
1755
|
|
|
1656
1756
|
"use strict";
|
|
@@ -1663,13 +1763,13 @@ exports.getDynamicFillColorEditor = void 0;
|
|
|
1663
1763
|
|
|
1664
1764
|
var i18n_1 = __webpack_require__(2);
|
|
1665
1765
|
|
|
1666
|
-
var configUtils_1 = __webpack_require__(
|
|
1766
|
+
var configUtils_1 = __webpack_require__(21);
|
|
1667
1767
|
|
|
1668
1768
|
var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
1669
1769
|
var defaultContext = _ref.defaultContext,
|
|
1670
1770
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
1671
1771
|
return {
|
|
1672
|
-
label: i18n_1._('
|
|
1772
|
+
label: i18n_1._('Fill'),
|
|
1673
1773
|
option: 'fillColor',
|
|
1674
1774
|
context: 'fillColorEditorConfig',
|
|
1675
1775
|
editor: 'editor.dynamicColor',
|
|
@@ -1678,7 +1778,7 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
|
1678
1778
|
return configUtils_1.isDynamicOption(options.fillColor);
|
|
1679
1779
|
},
|
|
1680
1780
|
editorProps: {
|
|
1681
|
-
labelPosition: '
|
|
1781
|
+
labelPosition: 'top',
|
|
1682
1782
|
flyoutTitle: i18n_1._('Dynamic coloring: fill'),
|
|
1683
1783
|
formatters: [{
|
|
1684
1784
|
label: i18n_1._('Ranges'),
|
|
@@ -1705,7 +1805,7 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
|
1705
1805
|
exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
|
|
1706
1806
|
|
|
1707
1807
|
/***/ }),
|
|
1708
|
-
/*
|
|
1808
|
+
/* 114 */
|
|
1709
1809
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1710
1810
|
|
|
1711
1811
|
"use strict";
|
|
@@ -1718,13 +1818,13 @@ exports.getDynamicStrokeColorEditor = void 0;
|
|
|
1718
1818
|
|
|
1719
1819
|
var i18n_1 = __webpack_require__(2);
|
|
1720
1820
|
|
|
1721
|
-
var configUtils_1 = __webpack_require__(
|
|
1821
|
+
var configUtils_1 = __webpack_require__(21);
|
|
1722
1822
|
|
|
1723
1823
|
var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
1724
1824
|
var defaultContext = _ref.defaultContext,
|
|
1725
1825
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
1726
1826
|
return {
|
|
1727
|
-
label: i18n_1._('
|
|
1827
|
+
label: i18n_1._('Stroke'),
|
|
1728
1828
|
option: 'strokeColor',
|
|
1729
1829
|
context: 'strokeColorEditorConfig',
|
|
1730
1830
|
editor: 'editor.dynamicColor',
|
|
@@ -1733,7 +1833,7 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
|
1733
1833
|
return configUtils_1.isDynamicOption(options.strokeColor);
|
|
1734
1834
|
},
|
|
1735
1835
|
editorProps: {
|
|
1736
|
-
labelPosition: '
|
|
1836
|
+
labelPosition: 'top',
|
|
1737
1837
|
flyoutTitle: i18n_1._('Dynamic coloring: stroke'),
|
|
1738
1838
|
formatters: [{
|
|
1739
1839
|
label: i18n_1._('Ranges'),
|
|
@@ -1760,7 +1860,7 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
|
1760
1860
|
exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
|
|
1761
1861
|
|
|
1762
1862
|
/***/ }),
|
|
1763
|
-
/*
|
|
1863
|
+
/* 115 */
|
|
1764
1864
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1765
1865
|
|
|
1766
1866
|
"use strict";
|
|
@@ -1772,7 +1872,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1772
1872
|
|
|
1773
1873
|
var i18n_1 = __webpack_require__(2);
|
|
1774
1874
|
|
|
1775
|
-
var configUtils_1 = __webpack_require__(
|
|
1875
|
+
var configUtils_1 = __webpack_require__(21);
|
|
1776
1876
|
|
|
1777
1877
|
var StaticFillColorEditor = {
|
|
1778
1878
|
label: i18n_1._('Fill'),
|
|
@@ -1786,7 +1886,7 @@ var StaticFillColorEditor = {
|
|
|
1786
1886
|
exports.default = StaticFillColorEditor;
|
|
1787
1887
|
|
|
1788
1888
|
/***/ }),
|
|
1789
|
-
/*
|
|
1889
|
+
/* 116 */
|
|
1790
1890
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1791
1891
|
|
|
1792
1892
|
"use strict";
|
|
@@ -1798,7 +1898,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1798
1898
|
|
|
1799
1899
|
var i18n_1 = __webpack_require__(2);
|
|
1800
1900
|
|
|
1801
|
-
var configUtils_1 = __webpack_require__(
|
|
1901
|
+
var configUtils_1 = __webpack_require__(21);
|
|
1802
1902
|
|
|
1803
1903
|
var StaticStrokeColorEditor = {
|
|
1804
1904
|
label: i18n_1._('Stroke'),
|
|
@@ -1812,7 +1912,7 @@ var StaticStrokeColorEditor = {
|
|
|
1812
1912
|
exports.default = StaticStrokeColorEditor;
|
|
1813
1913
|
|
|
1814
1914
|
/***/ }),
|
|
1815
|
-
/*
|
|
1915
|
+
/* 117 */
|
|
1816
1916
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1817
1917
|
|
|
1818
1918
|
"use strict";
|
|
@@ -1827,11 +1927,11 @@ var lodash_1 = __webpack_require__(3);
|
|
|
1827
1927
|
|
|
1828
1928
|
var styled_components_1 = __webpack_require__(4);
|
|
1829
1929
|
|
|
1830
|
-
var pick_1 = __webpack_require__(
|
|
1930
|
+
var pick_1 = __webpack_require__(23);
|
|
1831
1931
|
|
|
1832
|
-
var variables_1 = __webpack_require__(
|
|
1932
|
+
var variables_1 = __webpack_require__(10);
|
|
1833
1933
|
|
|
1834
|
-
var propUtils_1 = __webpack_require__(
|
|
1934
|
+
var propUtils_1 = __webpack_require__(28); // map for new options names to old option names
|
|
1835
1935
|
|
|
1836
1936
|
|
|
1837
1937
|
var shapeOptionsMapping = {
|
|
@@ -1888,15 +1988,6 @@ var getStyledShape = function getStyledShape(shape) {
|
|
|
1888
1988
|
exports.getStyledShape = getStyledShape;
|
|
1889
1989
|
|
|
1890
1990
|
/***/ }),
|
|
1891
|
-
/* 109 */,
|
|
1892
|
-
/* 110 */,
|
|
1893
|
-
/* 111 */,
|
|
1894
|
-
/* 112 */,
|
|
1895
|
-
/* 113 */,
|
|
1896
|
-
/* 114 */,
|
|
1897
|
-
/* 115 */,
|
|
1898
|
-
/* 116 */,
|
|
1899
|
-
/* 117 */,
|
|
1900
1991
|
/* 118 */,
|
|
1901
1992
|
/* 119 */,
|
|
1902
1993
|
/* 120 */,
|
|
@@ -1910,7 +2001,21 @@ exports.getStyledShape = getStyledShape;
|
|
|
1910
2001
|
/* 128 */,
|
|
1911
2002
|
/* 129 */,
|
|
1912
2003
|
/* 130 */,
|
|
1913
|
-
/* 131
|
|
2004
|
+
/* 131 */,
|
|
2005
|
+
/* 132 */,
|
|
2006
|
+
/* 133 */,
|
|
2007
|
+
/* 134 */,
|
|
2008
|
+
/* 135 */,
|
|
2009
|
+
/* 136 */,
|
|
2010
|
+
/* 137 */,
|
|
2011
|
+
/* 138 */,
|
|
2012
|
+
/* 139 */,
|
|
2013
|
+
/* 140 */,
|
|
2014
|
+
/* 141 */,
|
|
2015
|
+
/* 142 */,
|
|
2016
|
+
/* 143 */,
|
|
2017
|
+
/* 144 */,
|
|
2018
|
+
/* 145 */
|
|
1914
2019
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1915
2020
|
|
|
1916
2021
|
"use strict";
|
|
@@ -1934,21 +2039,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1934
2039
|
});
|
|
1935
2040
|
exports.config = exports.themes = void 0;
|
|
1936
2041
|
|
|
1937
|
-
var React = __webpack_require__(
|
|
2042
|
+
var React = __webpack_require__(0);
|
|
1938
2043
|
|
|
1939
2044
|
var lodash_1 = __webpack_require__(3);
|
|
1940
2045
|
|
|
1941
2046
|
var styled_components_1 = __webpack_require__(4);
|
|
1942
2047
|
|
|
1943
|
-
var T = __webpack_require__(
|
|
2048
|
+
var T = __webpack_require__(1);
|
|
1944
2049
|
|
|
1945
|
-
var config_1 = __webpack_require__(
|
|
2050
|
+
var config_1 = __webpack_require__(195);
|
|
1946
2051
|
|
|
1947
2052
|
exports.config = config_1.default;
|
|
1948
2053
|
|
|
1949
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2054
|
+
var withDashboardViz_1 = __webpack_require__(36);
|
|
1950
2055
|
|
|
1951
|
-
var shapeUtils_1 = __webpack_require__(
|
|
2056
|
+
var shapeUtils_1 = __webpack_require__(117);
|
|
1952
2057
|
|
|
1953
2058
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
1954
2059
|
var SVGContainer = styled_components_1.default.svg.withConfig({
|
|
@@ -2017,20 +2122,6 @@ exports.themes = themes;
|
|
|
2017
2122
|
exports.default = Ellipse;
|
|
2018
2123
|
|
|
2019
2124
|
/***/ }),
|
|
2020
|
-
/* 132 */,
|
|
2021
|
-
/* 133 */,
|
|
2022
|
-
/* 134 */,
|
|
2023
|
-
/* 135 */,
|
|
2024
|
-
/* 136 */,
|
|
2025
|
-
/* 137 */,
|
|
2026
|
-
/* 138 */,
|
|
2027
|
-
/* 139 */,
|
|
2028
|
-
/* 140 */,
|
|
2029
|
-
/* 141 */,
|
|
2030
|
-
/* 142 */,
|
|
2031
|
-
/* 143 */,
|
|
2032
|
-
/* 144 */,
|
|
2033
|
-
/* 145 */,
|
|
2034
2125
|
/* 146 */,
|
|
2035
2126
|
/* 147 */,
|
|
2036
2127
|
/* 148 */,
|
|
@@ -2066,7 +2157,20 @@ exports.default = Ellipse;
|
|
|
2066
2157
|
/* 178 */,
|
|
2067
2158
|
/* 179 */,
|
|
2068
2159
|
/* 180 */,
|
|
2069
|
-
/* 181
|
|
2160
|
+
/* 181 */,
|
|
2161
|
+
/* 182 */,
|
|
2162
|
+
/* 183 */,
|
|
2163
|
+
/* 184 */,
|
|
2164
|
+
/* 185 */,
|
|
2165
|
+
/* 186 */,
|
|
2166
|
+
/* 187 */,
|
|
2167
|
+
/* 188 */,
|
|
2168
|
+
/* 189 */,
|
|
2169
|
+
/* 190 */,
|
|
2170
|
+
/* 191 */,
|
|
2171
|
+
/* 192 */,
|
|
2172
|
+
/* 193 */,
|
|
2173
|
+
/* 194 */
|
|
2070
2174
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2071
2175
|
|
|
2072
2176
|
"use strict";
|
|
@@ -2096,9 +2200,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2096
2200
|
});
|
|
2097
2201
|
exports.default = void 0;
|
|
2098
2202
|
|
|
2099
|
-
__exportStar(__webpack_require__(
|
|
2203
|
+
__exportStar(__webpack_require__(145), exports);
|
|
2100
2204
|
|
|
2101
|
-
var Ellipse_1 = __webpack_require__(
|
|
2205
|
+
var Ellipse_1 = __webpack_require__(145);
|
|
2102
2206
|
|
|
2103
2207
|
Object.defineProperty(exports, "default", {
|
|
2104
2208
|
enumerable: true,
|
|
@@ -2108,7 +2212,7 @@ Object.defineProperty(exports, "default", {
|
|
|
2108
2212
|
});
|
|
2109
2213
|
|
|
2110
2214
|
/***/ }),
|
|
2111
|
-
/*
|
|
2215
|
+
/* 195 */
|
|
2112
2216
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2113
2217
|
|
|
2114
2218
|
"use strict";
|
|
@@ -2120,25 +2224,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2120
2224
|
|
|
2121
2225
|
var i18n_1 = __webpack_require__(2);
|
|
2122
2226
|
|
|
2123
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
2227
|
+
var PresetPalettes_1 = __webpack_require__(60);
|
|
2124
2228
|
|
|
2125
|
-
var pick_1 = __webpack_require__(
|
|
2229
|
+
var pick_1 = __webpack_require__(23);
|
|
2126
2230
|
|
|
2127
|
-
var variables_1 = __webpack_require__(
|
|
2231
|
+
var variables_1 = __webpack_require__(10);
|
|
2128
2232
|
|
|
2129
2233
|
var VizBehavior_1 = __webpack_require__(6);
|
|
2130
2234
|
|
|
2131
|
-
var VizCategory_1 = __webpack_require__(
|
|
2235
|
+
var VizCategory_1 = __webpack_require__(35);
|
|
2132
2236
|
|
|
2133
|
-
var configUtils_1 = __webpack_require__(
|
|
2237
|
+
var configUtils_1 = __webpack_require__(19);
|
|
2134
2238
|
|
|
2135
|
-
var DynamicFillColorEditor_1 = __webpack_require__(
|
|
2239
|
+
var DynamicFillColorEditor_1 = __webpack_require__(113);
|
|
2136
2240
|
|
|
2137
|
-
var DynamicStrokeColorEditor_1 = __webpack_require__(
|
|
2241
|
+
var DynamicStrokeColorEditor_1 = __webpack_require__(114);
|
|
2138
2242
|
|
|
2139
|
-
var StaticFillColorEditor_1 = __webpack_require__(
|
|
2243
|
+
var StaticFillColorEditor_1 = __webpack_require__(115);
|
|
2140
2244
|
|
|
2141
|
-
var StaticStrokeColorEditor_1 = __webpack_require__(
|
|
2245
|
+
var StaticStrokeColorEditor_1 = __webpack_require__(116);
|
|
2142
2246
|
|
|
2143
2247
|
var dataContract = {
|
|
2144
2248
|
requiredDataSources: [],
|
|
@@ -2346,7 +2450,6 @@ var editorConfig = [{
|
|
|
2346
2450
|
}
|
|
2347
2451
|
}], [Object.assign(Object.assign({}, StaticFillColorEditor_1.default), {
|
|
2348
2452
|
editorProps: {
|
|
2349
|
-
labelPosition: 'left',
|
|
2350
2453
|
themes: themes
|
|
2351
2454
|
}
|
|
2352
2455
|
})], [DynamicFillColorEditor_1.getDynamicFillColorEditor({
|
|
@@ -2354,7 +2457,6 @@ var editorConfig = [{
|
|
|
2354
2457
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
2355
2458
|
})], [Object.assign(Object.assign({}, StaticStrokeColorEditor_1.default), {
|
|
2356
2459
|
editorProps: {
|
|
2357
|
-
labelPosition: 'left',
|
|
2358
2460
|
themes: themes
|
|
2359
2461
|
}
|
|
2360
2462
|
})], [DynamicStrokeColorEditor_1.getDynamicStrokeColorEditor({
|