@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
|
@@ -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 = 78);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -137,6 +137,7 @@ var VizBehavior;
|
|
|
137
137
|
|
|
138
138
|
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
139
139
|
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
140
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
140
141
|
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
141
142
|
|
|
142
143
|
/***/ }),
|
|
@@ -466,9 +467,27 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
466
467
|
/* 19 */,
|
|
467
468
|
/* 20 */,
|
|
468
469
|
/* 21 */,
|
|
469
|
-
/* 22
|
|
470
|
+
/* 22 */
|
|
471
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
472
|
+
|
|
473
|
+
"use strict";
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
Object.defineProperty(exports, "__esModule", {
|
|
477
|
+
value: true
|
|
478
|
+
});
|
|
479
|
+
exports.LAYOUT_TYPE = void 0;
|
|
480
|
+
var LAYOUT_TYPE;
|
|
481
|
+
|
|
482
|
+
(function (LAYOUT_TYPE) {
|
|
483
|
+
LAYOUT_TYPE["Off"] = "off";
|
|
484
|
+
LAYOUT_TYPE["Trellis"] = "trellis";
|
|
485
|
+
})(LAYOUT_TYPE = exports.LAYOUT_TYPE || (exports.LAYOUT_TYPE = {}));
|
|
486
|
+
|
|
487
|
+
/***/ }),
|
|
470
488
|
/* 23 */,
|
|
471
|
-
/* 24
|
|
489
|
+
/* 24 */,
|
|
490
|
+
/* 25 */
|
|
472
491
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
473
492
|
|
|
474
493
|
"use strict";
|
|
@@ -491,8 +510,8 @@ var StaticBackgroundColorEditor = {
|
|
|
491
510
|
/* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
|
|
492
511
|
|
|
493
512
|
/***/ }),
|
|
494
|
-
/*
|
|
495
|
-
/*
|
|
513
|
+
/* 26 */,
|
|
514
|
+
/* 27 */
|
|
496
515
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
497
516
|
|
|
498
517
|
"use strict";
|
|
@@ -508,7 +527,7 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
508
527
|
var defaultContext = _ref.defaultContext,
|
|
509
528
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
510
529
|
return {
|
|
511
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('
|
|
530
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Major value'),
|
|
512
531
|
option: 'majorColor',
|
|
513
532
|
context: 'majorColorEditorConfig',
|
|
514
533
|
editor: 'editor.dynamicColor',
|
|
@@ -517,7 +536,7 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
517
536
|
return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.majorColor);
|
|
518
537
|
},
|
|
519
538
|
editorProps: {
|
|
520
|
-
labelPosition: '
|
|
539
|
+
labelPosition: 'top',
|
|
521
540
|
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic coloring: major value'),
|
|
522
541
|
formatters: [{
|
|
523
542
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
@@ -542,7 +561,7 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
542
561
|
};
|
|
543
562
|
|
|
544
563
|
/***/ }),
|
|
545
|
-
/*
|
|
564
|
+
/* 28 */
|
|
546
565
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
547
566
|
|
|
548
567
|
"use strict";
|
|
@@ -558,7 +577,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
558
577
|
var defaultContext = _ref.defaultContext,
|
|
559
578
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
560
579
|
return {
|
|
561
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('
|
|
580
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Trend value'),
|
|
562
581
|
option: 'trendColor',
|
|
563
582
|
context: 'trendColorEditorConfig',
|
|
564
583
|
editor: 'editor.dynamicColor',
|
|
@@ -567,7 +586,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
567
586
|
return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.trendColor);
|
|
568
587
|
},
|
|
569
588
|
editorProps: {
|
|
570
|
-
labelPosition: '
|
|
589
|
+
labelPosition: 'top',
|
|
571
590
|
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic coloring: trend value'),
|
|
572
591
|
formatters: [{
|
|
573
592
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
@@ -586,7 +605,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
586
605
|
};
|
|
587
606
|
|
|
588
607
|
/***/ }),
|
|
589
|
-
/*
|
|
608
|
+
/* 29 */
|
|
590
609
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
591
610
|
|
|
592
611
|
"use strict";
|
|
@@ -602,7 +621,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
602
621
|
var defaultContext = _ref.defaultContext,
|
|
603
622
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
604
623
|
return {
|
|
605
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('
|
|
624
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
|
|
606
625
|
option: 'backgroundColor',
|
|
607
626
|
context: 'backgroundColorEditorConfig',
|
|
608
627
|
editor: 'editor.dynamicColor',
|
|
@@ -611,7 +630,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
611
630
|
return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.backgroundColor);
|
|
612
631
|
},
|
|
613
632
|
editorProps: {
|
|
614
|
-
labelPosition: '
|
|
633
|
+
labelPosition: 'top',
|
|
615
634
|
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic coloring: background'),
|
|
616
635
|
formatters: [{
|
|
617
636
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
@@ -640,7 +659,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
640
659
|
};
|
|
641
660
|
|
|
642
661
|
/***/ }),
|
|
643
|
-
/*
|
|
662
|
+
/* 30 */
|
|
644
663
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
645
664
|
|
|
646
665
|
"use strict";
|
|
@@ -690,7 +709,7 @@ var StaticMajorAndTrendLayout = [[{
|
|
|
690
709
|
/* harmony default export */ __webpack_exports__["default"] = (StaticMajorAndTrendLayout);
|
|
691
710
|
|
|
692
711
|
/***/ }),
|
|
693
|
-
/*
|
|
712
|
+
/* 31 */
|
|
694
713
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
695
714
|
|
|
696
715
|
"use strict";
|
|
@@ -713,7 +732,7 @@ var StaticMajorColorEditor = {
|
|
|
713
732
|
/* harmony default export */ __webpack_exports__["default"] = (StaticMajorColorEditor);
|
|
714
733
|
|
|
715
734
|
/***/ }),
|
|
716
|
-
/*
|
|
735
|
+
/* 32 */
|
|
717
736
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
718
737
|
|
|
719
738
|
"use strict";
|
|
@@ -740,10 +759,128 @@ var StaticTrendColorEditor = {
|
|
|
740
759
|
/* harmony default export */ __webpack_exports__["default"] = (StaticTrendColorEditor);
|
|
741
760
|
|
|
742
761
|
/***/ }),
|
|
743
|
-
/*
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
762
|
+
/* 33 */
|
|
763
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
764
|
+
|
|
765
|
+
"use strict";
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
Object.defineProperty(exports, "__esModule", {
|
|
769
|
+
value: true
|
|
770
|
+
});
|
|
771
|
+
exports.TrellisBackgroundColorEditor = exports.TrellisEditorConfig = void 0;
|
|
772
|
+
|
|
773
|
+
var React = __webpack_require__(34);
|
|
774
|
+
|
|
775
|
+
var i18n_1 = __webpack_require__(0);
|
|
776
|
+
|
|
777
|
+
var FeatureFlagContext_1 = __webpack_require__(35);
|
|
778
|
+
|
|
779
|
+
var layoutUtils_1 = __webpack_require__(22);
|
|
780
|
+
/* eslint-disable react-hooks/rules-of-hooks */
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
exports.TrellisEditorConfig = [[{
|
|
784
|
+
label: i18n_1._('Trellis Layout'),
|
|
785
|
+
option: 'splitByLayout',
|
|
786
|
+
editor: 'editor.toggle',
|
|
787
|
+
showEditor: function showEditor() {
|
|
788
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
789
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
790
|
+
return isTrellisFeatureFlagOn;
|
|
791
|
+
}
|
|
792
|
+
}], [{
|
|
793
|
+
label: i18n_1._('Split by'),
|
|
794
|
+
option: 'trellisSplitBy',
|
|
795
|
+
editor: 'editor.trellisSplitBy',
|
|
796
|
+
editorProps: {
|
|
797
|
+
dataSourceKey: 'primary'
|
|
798
|
+
},
|
|
799
|
+
showEditor: function showEditor(_ref) {
|
|
800
|
+
var options = _ref.options;
|
|
801
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
802
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
803
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
804
|
+
}
|
|
805
|
+
}], [{
|
|
806
|
+
label: i18n_1._('Number of columns'),
|
|
807
|
+
option: 'trellisColumns',
|
|
808
|
+
editor: 'editor.number',
|
|
809
|
+
editorProps: {
|
|
810
|
+
min: 1
|
|
811
|
+
},
|
|
812
|
+
placeholder: i18n_1._('Auto'),
|
|
813
|
+
showEditor: function showEditor(_ref2) {
|
|
814
|
+
var options = _ref2.options;
|
|
815
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
816
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
817
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
818
|
+
}
|
|
819
|
+
}], [{
|
|
820
|
+
label: i18n_1._('Min column width'),
|
|
821
|
+
option: 'trellisMinColumnWidth',
|
|
822
|
+
editor: 'editor.number',
|
|
823
|
+
editorProps: {
|
|
824
|
+
min: 1
|
|
825
|
+
},
|
|
826
|
+
showEditor: function showEditor(_ref3) {
|
|
827
|
+
var options = _ref3.options;
|
|
828
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
829
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
830
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
831
|
+
}
|
|
832
|
+
}, {
|
|
833
|
+
label: i18n_1._('Row height'),
|
|
834
|
+
option: 'trellisRowHeight',
|
|
835
|
+
editor: 'editor.number',
|
|
836
|
+
editorProps: {
|
|
837
|
+
min: 1
|
|
838
|
+
},
|
|
839
|
+
showEditor: function showEditor(_ref4) {
|
|
840
|
+
var options = _ref4.options;
|
|
841
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
842
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
843
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
844
|
+
}
|
|
845
|
+
}], [{
|
|
846
|
+
label: i18n_1._('Max number of components per page'),
|
|
847
|
+
option: 'trellisPageCount',
|
|
848
|
+
editor: 'editor.number',
|
|
849
|
+
editorProps: {
|
|
850
|
+
min: 1
|
|
851
|
+
},
|
|
852
|
+
showEditor: function showEditor(_ref5) {
|
|
853
|
+
var options = _ref5.options;
|
|
854
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
855
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
856
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
857
|
+
}
|
|
858
|
+
}]];
|
|
859
|
+
exports.TrellisBackgroundColorEditor = {
|
|
860
|
+
label: i18n_1._('Trellis background'),
|
|
861
|
+
option: 'trellisBackgroundColor',
|
|
862
|
+
editor: 'editor.color',
|
|
863
|
+
showEditor: function showEditor(_ref6) {
|
|
864
|
+
var options = _ref6.options;
|
|
865
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
866
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
867
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
868
|
+
}
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
/***/ }),
|
|
872
|
+
/* 34 */
|
|
873
|
+
/***/ (function(module, exports) {
|
|
874
|
+
|
|
875
|
+
module.exports = require("react");
|
|
876
|
+
|
|
877
|
+
/***/ }),
|
|
878
|
+
/* 35 */
|
|
879
|
+
/***/ (function(module, exports) {
|
|
880
|
+
|
|
881
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
882
|
+
|
|
883
|
+
/***/ }),
|
|
747
884
|
/* 36 */,
|
|
748
885
|
/* 37 */,
|
|
749
886
|
/* 38 */,
|
|
@@ -782,7 +919,11 @@ var StaticTrendColorEditor = {
|
|
|
782
919
|
/* 71 */,
|
|
783
920
|
/* 72 */,
|
|
784
921
|
/* 73 */,
|
|
785
|
-
/* 74
|
|
922
|
+
/* 74 */,
|
|
923
|
+
/* 75 */,
|
|
924
|
+
/* 76 */,
|
|
925
|
+
/* 77 */,
|
|
926
|
+
/* 78 */
|
|
786
927
|
/***/ (function(module, exports, __webpack_require__) {
|
|
787
928
|
|
|
788
929
|
"use strict";
|
|
@@ -808,7 +949,7 @@ var visualization_icons_1 = __webpack_require__(12);
|
|
|
808
949
|
|
|
809
950
|
var placeholders_1 = __webpack_require__(11);
|
|
810
951
|
|
|
811
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
952
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(30);
|
|
812
953
|
|
|
813
954
|
var VizBehavior_1 = __webpack_require__(2);
|
|
814
955
|
|
|
@@ -816,19 +957,23 @@ var configUtils_1 = __webpack_require__(4);
|
|
|
816
957
|
|
|
817
958
|
var VizCategory_1 = __webpack_require__(8);
|
|
818
959
|
|
|
819
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
960
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(27);
|
|
820
961
|
|
|
821
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
962
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(28);
|
|
822
963
|
|
|
823
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
964
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(29);
|
|
824
965
|
|
|
825
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
966
|
+
var StaticMajorColorEditor_1 = __webpack_require__(31);
|
|
826
967
|
|
|
827
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
968
|
+
var StaticTrendColorEditor_1 = __webpack_require__(32);
|
|
828
969
|
|
|
829
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
970
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(25);
|
|
830
971
|
|
|
831
|
-
var RadialBackgroundColor_1 = __webpack_require__(
|
|
972
|
+
var RadialBackgroundColor_1 = __webpack_require__(79);
|
|
973
|
+
|
|
974
|
+
var TrellisEditors_1 = __webpack_require__(33);
|
|
975
|
+
|
|
976
|
+
var layoutUtils_1 = __webpack_require__(22);
|
|
832
977
|
|
|
833
978
|
var dataContract = {
|
|
834
979
|
requiredDataSources: [{
|
|
@@ -936,6 +1081,13 @@ var optionsSchema = {
|
|
|
936
1081
|
description: 'Specify whether numeric values use commas as thousandths separaters.',
|
|
937
1082
|
type: 'boolean'
|
|
938
1083
|
},
|
|
1084
|
+
splitByLayout: {
|
|
1085
|
+
default: 'off',
|
|
1086
|
+
description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
|
|
1087
|
+
type: 'string',
|
|
1088
|
+
pattern: schemaUtils_1.getPattern([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
|
|
1089
|
+
enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
|
|
1090
|
+
},
|
|
939
1091
|
trendColor: {
|
|
940
1092
|
default: '> themes.defaultFontColor',
|
|
941
1093
|
description: 'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
|
|
@@ -953,6 +1105,37 @@ var optionsSchema = {
|
|
|
953
1105
|
description: 'Specify the dataSource applied to the trend value.',
|
|
954
1106
|
type: 'number'
|
|
955
1107
|
},
|
|
1108
|
+
trellisBackgroundColor: {
|
|
1109
|
+
default: '> themes.defaultBackgroundColor',
|
|
1110
|
+
description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
|
|
1111
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
1112
|
+
type: 'string'
|
|
1113
|
+
},
|
|
1114
|
+
trellisColumns: {
|
|
1115
|
+
description: 'Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth.',
|
|
1116
|
+
type: 'number',
|
|
1117
|
+
minimum: 0
|
|
1118
|
+
},
|
|
1119
|
+
trellisMinColumnWidth: {
|
|
1120
|
+
default: 100,
|
|
1121
|
+
description: 'Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling.',
|
|
1122
|
+
type: 'number'
|
|
1123
|
+
},
|
|
1124
|
+
trellisPageCount: {
|
|
1125
|
+
default: 20,
|
|
1126
|
+
minimum: 0,
|
|
1127
|
+
description: 'Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly.',
|
|
1128
|
+
type: 'number'
|
|
1129
|
+
},
|
|
1130
|
+
trellisRowHeight: {
|
|
1131
|
+
default: 70,
|
|
1132
|
+
description: 'Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling.',
|
|
1133
|
+
type: 'number'
|
|
1134
|
+
},
|
|
1135
|
+
trellisSplitBy: {
|
|
1136
|
+
description: 'Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.',
|
|
1137
|
+
type: 'string'
|
|
1138
|
+
},
|
|
956
1139
|
underLabel: {
|
|
957
1140
|
description: 'Specify the text that appears below the major value.',
|
|
958
1141
|
type: 'string'
|
|
@@ -1063,6 +1246,31 @@ var themes = {
|
|
|
1063
1246
|
}
|
|
1064
1247
|
};
|
|
1065
1248
|
var editorConfig = [{
|
|
1249
|
+
label: i18n_1._('Data configurations'),
|
|
1250
|
+
layout: [[{
|
|
1251
|
+
label: i18n_1._('Value'),
|
|
1252
|
+
editor: 'editor.columnSelector',
|
|
1253
|
+
option: 'majorValue',
|
|
1254
|
+
context: 'valuesContext',
|
|
1255
|
+
editorProps: {
|
|
1256
|
+
dataSourceKey: 'primary',
|
|
1257
|
+
prepareValue: function prepareValue(definition) {
|
|
1258
|
+
var baseSPL = definition.options.majorValue;
|
|
1259
|
+
return {
|
|
1260
|
+
context: {},
|
|
1261
|
+
options: {
|
|
1262
|
+
majorValue: "".concat(baseSPL, " | lastPoint()"),
|
|
1263
|
+
trendValue: "".concat(baseSPL, " | delta(-2)")
|
|
1264
|
+
}
|
|
1265
|
+
};
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
isDisabled: function isDisabled(_ref) {
|
|
1269
|
+
var options = _ref.options;
|
|
1270
|
+
return options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
1271
|
+
}
|
|
1272
|
+
}]]
|
|
1273
|
+
}, {
|
|
1066
1274
|
label: i18n_1._('Data display'),
|
|
1067
1275
|
layout: [].concat(_toConsumableArray(StaticMajorAndTrendLayout_1.default), [[{
|
|
1068
1276
|
label: i18n_1._('Trend display'),
|
|
@@ -1080,11 +1288,11 @@ var editorConfig = [{
|
|
|
1080
1288
|
value: 'off'
|
|
1081
1289
|
}]
|
|
1082
1290
|
},
|
|
1083
|
-
showEditor: function showEditor(
|
|
1084
|
-
var options =
|
|
1291
|
+
showEditor: function showEditor(_ref2) {
|
|
1292
|
+
var options = _ref2.options;
|
|
1085
1293
|
return options.showValue || options.showValue === undefined;
|
|
1086
1294
|
}
|
|
1087
|
-
}]])
|
|
1295
|
+
}]], _toConsumableArray(TrellisEditors_1.TrellisEditorConfig))
|
|
1088
1296
|
}, {
|
|
1089
1297
|
label: i18n_1._('Color and style'),
|
|
1090
1298
|
layout: [[{
|
|
@@ -1093,16 +1301,15 @@ var editorConfig = [{
|
|
|
1093
1301
|
editor: 'editor.presetSelector',
|
|
1094
1302
|
editorProps: {
|
|
1095
1303
|
presets: presets,
|
|
1096
|
-
value: function value(
|
|
1097
|
-
var context =
|
|
1098
|
-
options =
|
|
1304
|
+
value: function value(_ref3) {
|
|
1305
|
+
var context = _ref3.context,
|
|
1306
|
+
options = _ref3.options;
|
|
1099
1307
|
var initialPreset = configUtils_1.getInitialPreset(context, options, presets);
|
|
1100
1308
|
return initialPreset && initialPreset.label || null;
|
|
1101
1309
|
}
|
|
1102
1310
|
}
|
|
1103
1311
|
}], [Object.assign(Object.assign({}, StaticMajorColorEditor_1.default), {
|
|
1104
1312
|
editorProps: {
|
|
1105
|
-
labelPosition: 'left',
|
|
1106
1313
|
themes: themes
|
|
1107
1314
|
}
|
|
1108
1315
|
})], [DynamicMajorColorEditor_1.getDynamicMajorColorEditor({
|
|
@@ -1110,18 +1317,19 @@ var editorConfig = [{
|
|
|
1110
1317
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
1111
1318
|
})], [Object.assign(Object.assign({}, StaticTrendColorEditor_1.default), {
|
|
1112
1319
|
editorProps: {
|
|
1113
|
-
labelPosition: 'left',
|
|
1114
1320
|
themes: themes
|
|
1115
1321
|
}
|
|
1116
1322
|
})], [DynamicTrendColorEditor_1.getDynamicTrendColorEditor({
|
|
1117
1323
|
defaultContext: defaultContext,
|
|
1118
1324
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
1119
1325
|
})], RadialBackgroundColor_1.default({
|
|
1120
|
-
labelPosition: 'left',
|
|
1121
1326
|
themes: themes
|
|
1122
1327
|
}), [Object.assign(Object.assign({}, StaticBackgroundColorEditor_1.default), {
|
|
1123
1328
|
editorProps: {
|
|
1124
|
-
|
|
1329
|
+
themes: themes
|
|
1330
|
+
}
|
|
1331
|
+
})], [Object.assign(Object.assign({}, TrellisEditors_1.TrellisBackgroundColorEditor), {
|
|
1332
|
+
editorProps: {
|
|
1125
1333
|
themes: themes
|
|
1126
1334
|
}
|
|
1127
1335
|
})], [DynamicBackgroundColorEditor_1.getDynamicBackgroundColorEditor({
|
|
@@ -1161,13 +1369,13 @@ var config = {
|
|
|
1161
1369
|
payloadKeys: ['majorValue', 'trendValue']
|
|
1162
1370
|
}
|
|
1163
1371
|
},
|
|
1164
|
-
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS, VizBehavior_1.VizBehavior.PLACEHOLDER],
|
|
1372
|
+
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS, VizBehavior_1.VizBehavior.PLACEHOLDER, VizBehavior_1.VizBehavior.TRELLIS],
|
|
1165
1373
|
themes: themes
|
|
1166
1374
|
};
|
|
1167
1375
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
1168
1376
|
|
|
1169
1377
|
/***/ }),
|
|
1170
|
-
/*
|
|
1378
|
+
/* 79 */
|
|
1171
1379
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1172
1380
|
|
|
1173
1381
|
"use strict";
|