@splunk/visualizations 25.6.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_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_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 +192 -171
- package/Area.js.map +1 -1
- package/Bar.config.js +36 -8
- package/Bar.config.js.map +1 -1
- package/Bar.js +216 -172
- package/Bar.js.map +1 -1
- package/Bubble.config.js +7 -2
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +183 -162
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +12 -8
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +191 -174
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +36 -8
- package/Column.config.js.map +1 -1
- package/Column.js +216 -172
- package/Column.js.map +1 -1
- package/Ellipse.config.js +23 -20
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +168 -149
- package/Ellipse.js.map +1 -1
- package/Events.config.js +79 -19
- package/Events.config.js.map +1 -1
- package/Events.js +404 -244
- 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 +170 -151
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +3 -3
- package/Image.config.js.map +1 -1
- package/Image.js +143 -130
- 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 +192 -171
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +9 -15
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +743 -729
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +51 -48
- package/Map.config.js.map +1 -1
- package/Map.js +602 -587
- package/Map.js.map +1 -1
- package/Markdown.config.js +10 -9
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +185 -171
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +71 -70
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +193 -179
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +3 -3
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +179 -155
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +30 -6
- package/Pie.config.js.map +1 -1
- package/Pie.js +237 -200
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +3 -2
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +305 -291
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +22 -23
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +232 -220
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +14 -13
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +1311 -1297
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +552 -580
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +258 -244
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +242 -52
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +1456 -350
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +40 -29
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +267 -58
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +1490 -363
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +249 -41
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1435 -286
- 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 +352 -306
- package/Table.js.map +1 -1
- package/common/EventsDoc.js +9 -3
- package/common/EventsDoc.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 +31 -17
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +12 -12
package/SingleValue.config.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 74);
|
|
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,12 +759,134 @@ 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
|
-
/* 37
|
|
885
|
+
/* 37 */,
|
|
886
|
+
/* 38 */,
|
|
887
|
+
/* 39 */,
|
|
888
|
+
/* 40 */,
|
|
889
|
+
/* 41 */
|
|
749
890
|
/***/ (function(module, exports, __webpack_require__) {
|
|
750
891
|
|
|
751
892
|
"use strict";
|
|
@@ -789,10 +930,6 @@ exports.defaultContext = {
|
|
|
789
930
|
};
|
|
790
931
|
|
|
791
932
|
/***/ }),
|
|
792
|
-
/* 38 */,
|
|
793
|
-
/* 39 */,
|
|
794
|
-
/* 40 */,
|
|
795
|
-
/* 41 */,
|
|
796
933
|
/* 42 */,
|
|
797
934
|
/* 43 */,
|
|
798
935
|
/* 44 */,
|
|
@@ -821,7 +958,11 @@ exports.defaultContext = {
|
|
|
821
958
|
/* 67 */,
|
|
822
959
|
/* 68 */,
|
|
823
960
|
/* 69 */,
|
|
824
|
-
/* 70
|
|
961
|
+
/* 70 */,
|
|
962
|
+
/* 71 */,
|
|
963
|
+
/* 72 */,
|
|
964
|
+
/* 73 */,
|
|
965
|
+
/* 74 */
|
|
825
966
|
/***/ (function(module, exports, __webpack_require__) {
|
|
826
967
|
|
|
827
968
|
"use strict";
|
|
@@ -839,7 +980,7 @@ var schemaUtils_1 = __webpack_require__(3);
|
|
|
839
980
|
|
|
840
981
|
var PresetPalettes_1 = __webpack_require__(15);
|
|
841
982
|
|
|
842
|
-
var variables_1 = __webpack_require__(
|
|
983
|
+
var variables_1 = __webpack_require__(75);
|
|
843
984
|
|
|
844
985
|
var pick_1 = __webpack_require__(9);
|
|
845
986
|
|
|
@@ -849,28 +990,32 @@ var visualization_icons_1 = __webpack_require__(12);
|
|
|
849
990
|
|
|
850
991
|
var placeholders_1 = __webpack_require__(11);
|
|
851
992
|
|
|
852
|
-
var singleValueContext_1 = __webpack_require__(
|
|
993
|
+
var singleValueContext_1 = __webpack_require__(41);
|
|
853
994
|
|
|
854
995
|
var VizBehavior_1 = __webpack_require__(2);
|
|
855
996
|
|
|
856
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
997
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(27);
|
|
857
998
|
|
|
858
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
999
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(28);
|
|
859
1000
|
|
|
860
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
1001
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(29);
|
|
861
1002
|
|
|
862
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
1003
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(30);
|
|
863
1004
|
|
|
864
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
1005
|
+
var StaticMajorColorEditor_1 = __webpack_require__(31);
|
|
865
1006
|
|
|
866
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
1007
|
+
var StaticTrendColorEditor_1 = __webpack_require__(32);
|
|
867
1008
|
|
|
868
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
1009
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(25);
|
|
869
1010
|
|
|
870
1011
|
var configUtils_1 = __webpack_require__(4);
|
|
871
1012
|
|
|
1013
|
+
var TrellisEditors_1 = __webpack_require__(33);
|
|
1014
|
+
|
|
872
1015
|
var VizCategory_1 = __webpack_require__(8);
|
|
873
1016
|
|
|
1017
|
+
var layoutUtils_1 = __webpack_require__(22);
|
|
1018
|
+
|
|
874
1019
|
var dataContract = {
|
|
875
1020
|
requiredDataSources: [{
|
|
876
1021
|
name: 'primary',
|
|
@@ -947,6 +1092,13 @@ var optionsSchema = {
|
|
|
947
1092
|
description: 'Show a tooltip to display values on the sparkline.',
|
|
948
1093
|
type: 'boolean'
|
|
949
1094
|
},
|
|
1095
|
+
splitByLayout: {
|
|
1096
|
+
default: 'off',
|
|
1097
|
+
description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
|
|
1098
|
+
type: 'string',
|
|
1099
|
+
pattern: schemaUtils_1.getPattern([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
|
|
1100
|
+
enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
|
|
1101
|
+
},
|
|
950
1102
|
sparklineAreaColor: {
|
|
951
1103
|
default: '> sparklineStrokeColor',
|
|
952
1104
|
description: 'Specify the color for the sparkline area fill. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The graph area will have an opacity of 20% and will blend with the background color.',
|
|
@@ -1004,6 +1156,39 @@ var optionsSchema = {
|
|
|
1004
1156
|
description: 'The trend value to display in the visualization.',
|
|
1005
1157
|
type: 'number'
|
|
1006
1158
|
},
|
|
1159
|
+
trellisBackgroundColor: {
|
|
1160
|
+
default: '> themes.defaultBackgroundColor',
|
|
1161
|
+
description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
|
|
1162
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
1163
|
+
type: 'string'
|
|
1164
|
+
},
|
|
1165
|
+
trellisColumns: {
|
|
1166
|
+
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.',
|
|
1167
|
+
type: 'number',
|
|
1168
|
+
minimum: 1
|
|
1169
|
+
},
|
|
1170
|
+
trellisMinColumnWidth: {
|
|
1171
|
+
default: 100,
|
|
1172
|
+
minimum: 1,
|
|
1173
|
+
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.',
|
|
1174
|
+
type: 'number'
|
|
1175
|
+
},
|
|
1176
|
+
trellisPageCount: {
|
|
1177
|
+
default: 20,
|
|
1178
|
+
minimum: 1,
|
|
1179
|
+
description: 'Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly.',
|
|
1180
|
+
type: 'number'
|
|
1181
|
+
},
|
|
1182
|
+
trellisRowHeight: {
|
|
1183
|
+
default: 70,
|
|
1184
|
+
minimum: 1,
|
|
1185
|
+
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.',
|
|
1186
|
+
type: 'number'
|
|
1187
|
+
},
|
|
1188
|
+
trellisSplitBy: {
|
|
1189
|
+
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.',
|
|
1190
|
+
type: 'string'
|
|
1191
|
+
},
|
|
1007
1192
|
underLabel: {
|
|
1008
1193
|
description: 'Specify the text that appears below the major value.',
|
|
1009
1194
|
type: 'string'
|
|
@@ -1241,6 +1426,10 @@ var editorConfig = [{
|
|
|
1241
1426
|
}
|
|
1242
1427
|
};
|
|
1243
1428
|
}
|
|
1429
|
+
},
|
|
1430
|
+
isDisabled: function isDisabled(_ref) {
|
|
1431
|
+
var options = _ref.options;
|
|
1432
|
+
return options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
1244
1433
|
}
|
|
1245
1434
|
}]]
|
|
1246
1435
|
}, {
|
|
@@ -1261,8 +1450,8 @@ var editorConfig = [{
|
|
|
1261
1450
|
value: 'off'
|
|
1262
1451
|
}]
|
|
1263
1452
|
},
|
|
1264
|
-
showEditor: function showEditor(
|
|
1265
|
-
var options =
|
|
1453
|
+
showEditor: function showEditor(_ref2) {
|
|
1454
|
+
var options = _ref2.options;
|
|
1266
1455
|
return options.showValue || options.showValue === undefined;
|
|
1267
1456
|
}
|
|
1268
1457
|
}, {
|
|
@@ -1284,7 +1473,7 @@ var editorConfig = [{
|
|
|
1284
1473
|
value: 'after'
|
|
1285
1474
|
}]
|
|
1286
1475
|
}
|
|
1287
|
-
}]])
|
|
1476
|
+
}]], _toConsumableArray(TrellisEditors_1.TrellisEditorConfig))
|
|
1288
1477
|
}, {
|
|
1289
1478
|
label: i18n_1._('Color and style'),
|
|
1290
1479
|
layout: [[{
|
|
@@ -1293,16 +1482,15 @@ var editorConfig = [{
|
|
|
1293
1482
|
editor: 'editor.presetSelector',
|
|
1294
1483
|
editorProps: {
|
|
1295
1484
|
presets: presets,
|
|
1296
|
-
value: function value(
|
|
1297
|
-
var context =
|
|
1298
|
-
options =
|
|
1485
|
+
value: function value(_ref3) {
|
|
1486
|
+
var context = _ref3.context,
|
|
1487
|
+
options = _ref3.options;
|
|
1299
1488
|
var initialPreset = configUtils_1.getInitialPreset(context, options, presets);
|
|
1300
1489
|
return initialPreset && initialPreset.label || null;
|
|
1301
1490
|
}
|
|
1302
1491
|
}
|
|
1303
1492
|
}], [Object.assign(Object.assign({}, StaticMajorColorEditor_1.default), {
|
|
1304
1493
|
editorProps: {
|
|
1305
|
-
labelPosition: 'left',
|
|
1306
1494
|
themes: themes
|
|
1307
1495
|
}
|
|
1308
1496
|
})], [DynamicMajorColorEditor_1.getDynamicMajorColorEditor({
|
|
@@ -1310,7 +1498,6 @@ var editorConfig = [{
|
|
|
1310
1498
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
1311
1499
|
})], [Object.assign(Object.assign({}, StaticTrendColorEditor_1.default), {
|
|
1312
1500
|
editorProps: {
|
|
1313
|
-
labelPosition: 'left',
|
|
1314
1501
|
themes: themes
|
|
1315
1502
|
}
|
|
1316
1503
|
})], [DynamicTrendColorEditor_1.getDynamicTrendColorEditor({
|
|
@@ -1318,7 +1505,10 @@ var editorConfig = [{
|
|
|
1318
1505
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
1319
1506
|
})], [Object.assign(Object.assign({}, StaticBackgroundColorEditor_1.default), {
|
|
1320
1507
|
editorProps: {
|
|
1321
|
-
|
|
1508
|
+
themes: themes
|
|
1509
|
+
}
|
|
1510
|
+
})], [Object.assign(Object.assign({}, TrellisEditors_1.TrellisBackgroundColorEditor), {
|
|
1511
|
+
editorProps: {
|
|
1322
1512
|
themes: themes
|
|
1323
1513
|
}
|
|
1324
1514
|
})], [DynamicBackgroundColorEditor_1.getDynamicBackgroundColorEditor({
|
|
@@ -1332,8 +1522,8 @@ var editorConfig = [{
|
|
|
1332
1522
|
min: 1
|
|
1333
1523
|
},
|
|
1334
1524
|
placeholder: i18n_1._('Auto'),
|
|
1335
|
-
showEditor: function showEditor(
|
|
1336
|
-
var options =
|
|
1525
|
+
showEditor: function showEditor(_ref4) {
|
|
1526
|
+
var options = _ref4.options;
|
|
1337
1527
|
return options.showValue || options.showValue === undefined;
|
|
1338
1528
|
}
|
|
1339
1529
|
}, {
|
|
@@ -1344,12 +1534,12 @@ var editorConfig = [{
|
|
|
1344
1534
|
min: 1
|
|
1345
1535
|
},
|
|
1346
1536
|
placeholder: i18n_1._('Auto'),
|
|
1347
|
-
showEditor: function showEditor(
|
|
1348
|
-
var options =
|
|
1537
|
+
showEditor: function showEditor(_ref5) {
|
|
1538
|
+
var options = _ref5.options;
|
|
1349
1539
|
return options.showValue || options.showValue === undefined;
|
|
1350
1540
|
},
|
|
1351
|
-
isDisabled: function isDisabled(
|
|
1352
|
-
var options =
|
|
1541
|
+
isDisabled: function isDisabled(_ref6) {
|
|
1542
|
+
var options = _ref6.options;
|
|
1353
1543
|
return options.trendDisplay === 'off';
|
|
1354
1544
|
}
|
|
1355
1545
|
}]]
|
|
@@ -1386,14 +1576,14 @@ var config = {
|
|
|
1386
1576
|
payloadKeys: ['majorValue', 'trendValue']
|
|
1387
1577
|
}
|
|
1388
1578
|
},
|
|
1389
|
-
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS, VizBehavior_1.VizBehavior.PLACEHOLDER],
|
|
1579
|
+
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS, VizBehavior_1.VizBehavior.PLACEHOLDER, VizBehavior_1.VizBehavior.TRELLIS],
|
|
1390
1580
|
themes: themes,
|
|
1391
1581
|
requiredProps: ['majorValue']
|
|
1392
1582
|
};
|
|
1393
1583
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
1394
1584
|
|
|
1395
1585
|
/***/ }),
|
|
1396
|
-
/*
|
|
1586
|
+
/* 75 */
|
|
1397
1587
|
/***/ (function(module, exports) {
|
|
1398
1588
|
|
|
1399
1589
|
module.exports = require("@splunk/visualization-themes/variables");
|