@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
|
@@ -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 = 76);
|
|
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
|
/***/ }),
|
|
@@ -456,9 +457,27 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
456
457
|
/* 19 */,
|
|
457
458
|
/* 20 */,
|
|
458
459
|
/* 21 */,
|
|
459
|
-
/* 22
|
|
460
|
+
/* 22 */
|
|
461
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
462
|
+
|
|
463
|
+
"use strict";
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
Object.defineProperty(exports, "__esModule", {
|
|
467
|
+
value: true
|
|
468
|
+
});
|
|
469
|
+
exports.LAYOUT_TYPE = void 0;
|
|
470
|
+
var LAYOUT_TYPE;
|
|
471
|
+
|
|
472
|
+
(function (LAYOUT_TYPE) {
|
|
473
|
+
LAYOUT_TYPE["Off"] = "off";
|
|
474
|
+
LAYOUT_TYPE["Trellis"] = "trellis";
|
|
475
|
+
})(LAYOUT_TYPE = exports.LAYOUT_TYPE || (exports.LAYOUT_TYPE = {}));
|
|
476
|
+
|
|
477
|
+
/***/ }),
|
|
460
478
|
/* 23 */,
|
|
461
|
-
/* 24
|
|
479
|
+
/* 24 */,
|
|
480
|
+
/* 25 */
|
|
462
481
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
463
482
|
|
|
464
483
|
"use strict";
|
|
@@ -481,13 +500,13 @@ var StaticBackgroundColorEditor = {
|
|
|
481
500
|
/* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
|
|
482
501
|
|
|
483
502
|
/***/ }),
|
|
484
|
-
/*
|
|
503
|
+
/* 26 */
|
|
485
504
|
/***/ (function(module, exports) {
|
|
486
505
|
|
|
487
506
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
488
507
|
|
|
489
508
|
/***/ }),
|
|
490
|
-
/*
|
|
509
|
+
/* 27 */
|
|
491
510
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
492
511
|
|
|
493
512
|
"use strict";
|
|
@@ -503,7 +522,7 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
503
522
|
var defaultContext = _ref.defaultContext,
|
|
504
523
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
505
524
|
return {
|
|
506
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('
|
|
525
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Major value'),
|
|
507
526
|
option: 'majorColor',
|
|
508
527
|
context: 'majorColorEditorConfig',
|
|
509
528
|
editor: 'editor.dynamicColor',
|
|
@@ -512,7 +531,7 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
512
531
|
return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.majorColor);
|
|
513
532
|
},
|
|
514
533
|
editorProps: {
|
|
515
|
-
labelPosition: '
|
|
534
|
+
labelPosition: 'top',
|
|
516
535
|
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic coloring: major value'),
|
|
517
536
|
formatters: [{
|
|
518
537
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
@@ -537,7 +556,7 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
|
|
|
537
556
|
};
|
|
538
557
|
|
|
539
558
|
/***/ }),
|
|
540
|
-
/*
|
|
559
|
+
/* 28 */
|
|
541
560
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
542
561
|
|
|
543
562
|
"use strict";
|
|
@@ -553,7 +572,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
553
572
|
var defaultContext = _ref.defaultContext,
|
|
554
573
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
555
574
|
return {
|
|
556
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('
|
|
575
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Trend value'),
|
|
557
576
|
option: 'trendColor',
|
|
558
577
|
context: 'trendColorEditorConfig',
|
|
559
578
|
editor: 'editor.dynamicColor',
|
|
@@ -562,7 +581,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
562
581
|
return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.trendColor);
|
|
563
582
|
},
|
|
564
583
|
editorProps: {
|
|
565
|
-
labelPosition: '
|
|
584
|
+
labelPosition: 'top',
|
|
566
585
|
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic coloring: trend value'),
|
|
567
586
|
formatters: [{
|
|
568
587
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
@@ -581,7 +600,7 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
|
|
|
581
600
|
};
|
|
582
601
|
|
|
583
602
|
/***/ }),
|
|
584
|
-
/*
|
|
603
|
+
/* 29 */
|
|
585
604
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
586
605
|
|
|
587
606
|
"use strict";
|
|
@@ -597,7 +616,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
597
616
|
var defaultContext = _ref.defaultContext,
|
|
598
617
|
defaultPalettesConfig = _ref.defaultPalettesConfig;
|
|
599
618
|
return {
|
|
600
|
-
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('
|
|
619
|
+
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
|
|
601
620
|
option: 'backgroundColor',
|
|
602
621
|
context: 'backgroundColorEditorConfig',
|
|
603
622
|
editor: 'editor.dynamicColor',
|
|
@@ -606,7 +625,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
606
625
|
return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.backgroundColor);
|
|
607
626
|
},
|
|
608
627
|
editorProps: {
|
|
609
|
-
labelPosition: '
|
|
628
|
+
labelPosition: 'top',
|
|
610
629
|
flyoutTitle: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Dynamic coloring: background'),
|
|
611
630
|
formatters: [{
|
|
612
631
|
label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Ranges'),
|
|
@@ -635,7 +654,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
|
|
|
635
654
|
};
|
|
636
655
|
|
|
637
656
|
/***/ }),
|
|
638
|
-
/*
|
|
657
|
+
/* 30 */
|
|
639
658
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
640
659
|
|
|
641
660
|
"use strict";
|
|
@@ -685,7 +704,7 @@ var StaticMajorAndTrendLayout = [[{
|
|
|
685
704
|
/* harmony default export */ __webpack_exports__["default"] = (StaticMajorAndTrendLayout);
|
|
686
705
|
|
|
687
706
|
/***/ }),
|
|
688
|
-
/*
|
|
707
|
+
/* 31 */
|
|
689
708
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
690
709
|
|
|
691
710
|
"use strict";
|
|
@@ -708,7 +727,7 @@ var StaticMajorColorEditor = {
|
|
|
708
727
|
/* harmony default export */ __webpack_exports__["default"] = (StaticMajorColorEditor);
|
|
709
728
|
|
|
710
729
|
/***/ }),
|
|
711
|
-
/*
|
|
730
|
+
/* 32 */
|
|
712
731
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
713
732
|
|
|
714
733
|
"use strict";
|
|
@@ -735,12 +754,134 @@ var StaticTrendColorEditor = {
|
|
|
735
754
|
/* harmony default export */ __webpack_exports__["default"] = (StaticTrendColorEditor);
|
|
736
755
|
|
|
737
756
|
/***/ }),
|
|
738
|
-
/*
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
757
|
+
/* 33 */
|
|
758
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
759
|
+
|
|
760
|
+
"use strict";
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
Object.defineProperty(exports, "__esModule", {
|
|
764
|
+
value: true
|
|
765
|
+
});
|
|
766
|
+
exports.TrellisBackgroundColorEditor = exports.TrellisEditorConfig = void 0;
|
|
767
|
+
|
|
768
|
+
var React = __webpack_require__(34);
|
|
769
|
+
|
|
770
|
+
var i18n_1 = __webpack_require__(0);
|
|
771
|
+
|
|
772
|
+
var FeatureFlagContext_1 = __webpack_require__(35);
|
|
773
|
+
|
|
774
|
+
var layoutUtils_1 = __webpack_require__(22);
|
|
775
|
+
/* eslint-disable react-hooks/rules-of-hooks */
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
exports.TrellisEditorConfig = [[{
|
|
779
|
+
label: i18n_1._('Trellis Layout'),
|
|
780
|
+
option: 'splitByLayout',
|
|
781
|
+
editor: 'editor.toggle',
|
|
782
|
+
showEditor: function showEditor() {
|
|
783
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
784
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
785
|
+
return isTrellisFeatureFlagOn;
|
|
786
|
+
}
|
|
787
|
+
}], [{
|
|
788
|
+
label: i18n_1._('Split by'),
|
|
789
|
+
option: 'trellisSplitBy',
|
|
790
|
+
editor: 'editor.trellisSplitBy',
|
|
791
|
+
editorProps: {
|
|
792
|
+
dataSourceKey: 'primary'
|
|
793
|
+
},
|
|
794
|
+
showEditor: function showEditor(_ref) {
|
|
795
|
+
var options = _ref.options;
|
|
796
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
797
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
798
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
799
|
+
}
|
|
800
|
+
}], [{
|
|
801
|
+
label: i18n_1._('Number of columns'),
|
|
802
|
+
option: 'trellisColumns',
|
|
803
|
+
editor: 'editor.number',
|
|
804
|
+
editorProps: {
|
|
805
|
+
min: 1
|
|
806
|
+
},
|
|
807
|
+
placeholder: i18n_1._('Auto'),
|
|
808
|
+
showEditor: function showEditor(_ref2) {
|
|
809
|
+
var options = _ref2.options;
|
|
810
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
811
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
812
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
813
|
+
}
|
|
814
|
+
}], [{
|
|
815
|
+
label: i18n_1._('Min column width'),
|
|
816
|
+
option: 'trellisMinColumnWidth',
|
|
817
|
+
editor: 'editor.number',
|
|
818
|
+
editorProps: {
|
|
819
|
+
min: 1
|
|
820
|
+
},
|
|
821
|
+
showEditor: function showEditor(_ref3) {
|
|
822
|
+
var options = _ref3.options;
|
|
823
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
824
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
825
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
826
|
+
}
|
|
827
|
+
}, {
|
|
828
|
+
label: i18n_1._('Row height'),
|
|
829
|
+
option: 'trellisRowHeight',
|
|
830
|
+
editor: 'editor.number',
|
|
831
|
+
editorProps: {
|
|
832
|
+
min: 1
|
|
833
|
+
},
|
|
834
|
+
showEditor: function showEditor(_ref4) {
|
|
835
|
+
var options = _ref4.options;
|
|
836
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
837
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
838
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
839
|
+
}
|
|
840
|
+
}], [{
|
|
841
|
+
label: i18n_1._('Max number of components per page'),
|
|
842
|
+
option: 'trellisPageCount',
|
|
843
|
+
editor: 'editor.number',
|
|
844
|
+
editorProps: {
|
|
845
|
+
min: 1
|
|
846
|
+
},
|
|
847
|
+
showEditor: function showEditor(_ref5) {
|
|
848
|
+
var options = _ref5.options;
|
|
849
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
850
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
851
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
852
|
+
}
|
|
853
|
+
}]];
|
|
854
|
+
exports.TrellisBackgroundColorEditor = {
|
|
855
|
+
label: i18n_1._('Trellis background'),
|
|
856
|
+
option: 'trellisBackgroundColor',
|
|
857
|
+
editor: 'editor.color',
|
|
858
|
+
showEditor: function showEditor(_ref6) {
|
|
859
|
+
var options = _ref6.options;
|
|
860
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
861
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
862
|
+
return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
863
|
+
}
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
/***/ }),
|
|
867
|
+
/* 34 */
|
|
868
|
+
/***/ (function(module, exports) {
|
|
869
|
+
|
|
870
|
+
module.exports = require("react");
|
|
871
|
+
|
|
872
|
+
/***/ }),
|
|
873
|
+
/* 35 */
|
|
874
|
+
/***/ (function(module, exports) {
|
|
875
|
+
|
|
876
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
877
|
+
|
|
878
|
+
/***/ }),
|
|
742
879
|
/* 36 */,
|
|
743
|
-
/* 37
|
|
880
|
+
/* 37 */,
|
|
881
|
+
/* 38 */,
|
|
882
|
+
/* 39 */,
|
|
883
|
+
/* 40 */,
|
|
884
|
+
/* 41 */
|
|
744
885
|
/***/ (function(module, exports, __webpack_require__) {
|
|
745
886
|
|
|
746
887
|
"use strict";
|
|
@@ -784,10 +925,6 @@ exports.defaultContext = {
|
|
|
784
925
|
};
|
|
785
926
|
|
|
786
927
|
/***/ }),
|
|
787
|
-
/* 38 */,
|
|
788
|
-
/* 39 */,
|
|
789
|
-
/* 40 */,
|
|
790
|
-
/* 41 */,
|
|
791
928
|
/* 42 */,
|
|
792
929
|
/* 43 */,
|
|
793
930
|
/* 44 */,
|
|
@@ -818,7 +955,11 @@ exports.defaultContext = {
|
|
|
818
955
|
/* 69 */,
|
|
819
956
|
/* 70 */,
|
|
820
957
|
/* 71 */,
|
|
821
|
-
/* 72
|
|
958
|
+
/* 72 */,
|
|
959
|
+
/* 73 */,
|
|
960
|
+
/* 74 */,
|
|
961
|
+
/* 75 */,
|
|
962
|
+
/* 76 */
|
|
822
963
|
/***/ (function(module, exports, __webpack_require__) {
|
|
823
964
|
|
|
824
965
|
"use strict";
|
|
@@ -842,23 +983,25 @@ var variables_1 = __webpack_require__(10);
|
|
|
842
983
|
|
|
843
984
|
var configUtils_1 = __webpack_require__(5);
|
|
844
985
|
|
|
845
|
-
var singleValueContext_1 = __webpack_require__(
|
|
986
|
+
var singleValueContext_1 = __webpack_require__(41);
|
|
846
987
|
|
|
847
|
-
var StaticMajorAndTrendLayout_1 = __webpack_require__(
|
|
988
|
+
var StaticMajorAndTrendLayout_1 = __webpack_require__(30);
|
|
848
989
|
|
|
849
|
-
var StaticBackgroundColorEditor_1 = __webpack_require__(
|
|
990
|
+
var StaticBackgroundColorEditor_1 = __webpack_require__(25);
|
|
850
991
|
|
|
851
|
-
var StaticIconColorEditor_1 = __webpack_require__(
|
|
992
|
+
var StaticIconColorEditor_1 = __webpack_require__(77);
|
|
852
993
|
|
|
853
|
-
var StaticMajorColorEditor_1 = __webpack_require__(
|
|
994
|
+
var StaticMajorColorEditor_1 = __webpack_require__(31);
|
|
854
995
|
|
|
855
|
-
var StaticTrendColorEditor_1 = __webpack_require__(
|
|
996
|
+
var StaticTrendColorEditor_1 = __webpack_require__(32);
|
|
856
997
|
|
|
857
|
-
var DynamicMajorColorEditor_1 = __webpack_require__(
|
|
998
|
+
var DynamicMajorColorEditor_1 = __webpack_require__(27);
|
|
858
999
|
|
|
859
|
-
var DynamicTrendColorEditor_1 = __webpack_require__(
|
|
1000
|
+
var DynamicTrendColorEditor_1 = __webpack_require__(28);
|
|
860
1001
|
|
|
861
|
-
var DynamicBackgroundColorEditor_1 = __webpack_require__(
|
|
1002
|
+
var DynamicBackgroundColorEditor_1 = __webpack_require__(29);
|
|
1003
|
+
|
|
1004
|
+
var TrellisEditors_1 = __webpack_require__(33);
|
|
862
1005
|
|
|
863
1006
|
var VizBehavior_1 = __webpack_require__(2);
|
|
864
1007
|
|
|
@@ -866,6 +1009,8 @@ var configUtils_2 = __webpack_require__(4);
|
|
|
866
1009
|
|
|
867
1010
|
var VizCategory_1 = __webpack_require__(8);
|
|
868
1011
|
|
|
1012
|
+
var layoutUtils_1 = __webpack_require__(22);
|
|
1013
|
+
|
|
869
1014
|
var dataContract = {
|
|
870
1015
|
requiredDataSources: [{
|
|
871
1016
|
name: 'primary',
|
|
@@ -953,6 +1098,13 @@ var optionsSchema = {
|
|
|
953
1098
|
description: 'Specify whether to enable or disable the value and trend indicator displays.',
|
|
954
1099
|
type: 'boolean'
|
|
955
1100
|
},
|
|
1101
|
+
splitByLayout: {
|
|
1102
|
+
default: 'off',
|
|
1103
|
+
description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
|
|
1104
|
+
type: 'string',
|
|
1105
|
+
pattern: schemaUtils_1.getPattern([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
|
|
1106
|
+
enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
|
|
1107
|
+
},
|
|
956
1108
|
trendColor: {
|
|
957
1109
|
default: '> themes.defaultFontColor',
|
|
958
1110
|
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)".',
|
|
@@ -974,6 +1126,37 @@ var optionsSchema = {
|
|
|
974
1126
|
description: 'The trend value to display in the visualization.',
|
|
975
1127
|
type: 'number'
|
|
976
1128
|
},
|
|
1129
|
+
trellisBackgroundColor: {
|
|
1130
|
+
default: '> themes.defaultBackgroundColor',
|
|
1131
|
+
description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
|
|
1132
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
1133
|
+
type: 'string'
|
|
1134
|
+
},
|
|
1135
|
+
trellisColumns: {
|
|
1136
|
+
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.',
|
|
1137
|
+
type: 'number',
|
|
1138
|
+
minimum: 0
|
|
1139
|
+
},
|
|
1140
|
+
trellisMinColumnWidth: {
|
|
1141
|
+
default: 100,
|
|
1142
|
+
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.',
|
|
1143
|
+
type: 'number'
|
|
1144
|
+
},
|
|
1145
|
+
trellisPageCount: {
|
|
1146
|
+
default: 20,
|
|
1147
|
+
minimum: 0,
|
|
1148
|
+
description: 'Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly.',
|
|
1149
|
+
type: 'number'
|
|
1150
|
+
},
|
|
1151
|
+
trellisRowHeight: {
|
|
1152
|
+
default: 70,
|
|
1153
|
+
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.',
|
|
1154
|
+
type: 'number'
|
|
1155
|
+
},
|
|
1156
|
+
trellisSplitBy: {
|
|
1157
|
+
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.',
|
|
1158
|
+
type: 'string'
|
|
1159
|
+
},
|
|
977
1160
|
underLabel: {
|
|
978
1161
|
description: 'Specify the text that appears below the major value.',
|
|
979
1162
|
type: 'string'
|
|
@@ -1091,6 +1274,31 @@ var themes = {
|
|
|
1091
1274
|
}
|
|
1092
1275
|
};
|
|
1093
1276
|
var editorConfig = [{
|
|
1277
|
+
label: i18n_1._('Data configurations'),
|
|
1278
|
+
layout: [[{
|
|
1279
|
+
label: i18n_1._('Value'),
|
|
1280
|
+
editor: 'editor.columnSelector',
|
|
1281
|
+
option: 'majorValue',
|
|
1282
|
+
context: 'valuesContext',
|
|
1283
|
+
editorProps: {
|
|
1284
|
+
dataSourceKey: 'primary',
|
|
1285
|
+
prepareValue: function prepareValue(definition) {
|
|
1286
|
+
var baseSPL = definition.options.majorValue;
|
|
1287
|
+
return {
|
|
1288
|
+
context: {},
|
|
1289
|
+
options: {
|
|
1290
|
+
majorValue: "".concat(baseSPL, " | lastPoint()"),
|
|
1291
|
+
trendValue: "".concat(baseSPL, " | delta(-2)")
|
|
1292
|
+
}
|
|
1293
|
+
};
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
isDisabled: function isDisabled(_ref) {
|
|
1297
|
+
var options = _ref.options;
|
|
1298
|
+
return options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
|
|
1299
|
+
}
|
|
1300
|
+
}]]
|
|
1301
|
+
}, {
|
|
1094
1302
|
label: i18n_1._('Data display'),
|
|
1095
1303
|
layout: [[{
|
|
1096
1304
|
label: i18n_1._('Show major and trend value'),
|
|
@@ -1112,11 +1320,11 @@ var editorConfig = [{
|
|
|
1112
1320
|
value: 'off'
|
|
1113
1321
|
}]
|
|
1114
1322
|
},
|
|
1115
|
-
showEditor: function showEditor(
|
|
1116
|
-
var options =
|
|
1323
|
+
showEditor: function showEditor(_ref2) {
|
|
1324
|
+
var options = _ref2.options;
|
|
1117
1325
|
return options.showValue || options.showValue === undefined;
|
|
1118
1326
|
}
|
|
1119
|
-
}]])
|
|
1327
|
+
}]], _toConsumableArray(TrellisEditors_1.TrellisEditorConfig))
|
|
1120
1328
|
}, {
|
|
1121
1329
|
label: i18n_1._('Color and style'),
|
|
1122
1330
|
layout: [[{
|
|
@@ -1125,24 +1333,24 @@ var editorConfig = [{
|
|
|
1125
1333
|
editor: 'editor.presetSelector',
|
|
1126
1334
|
editorProps: {
|
|
1127
1335
|
presets: presets,
|
|
1128
|
-
value: function value(
|
|
1129
|
-
var context =
|
|
1130
|
-
options =
|
|
1336
|
+
value: function value(_ref3) {
|
|
1337
|
+
var context = _ref3.context,
|
|
1338
|
+
options = _ref3.options;
|
|
1131
1339
|
var initialPreset = configUtils_2.getInitialPreset(context, options, presets);
|
|
1132
1340
|
return initialPreset && initialPreset.label || null;
|
|
1133
1341
|
}
|
|
1134
1342
|
}
|
|
1135
1343
|
}], StaticIconColorEditor_1.default, [{
|
|
1136
|
-
label: i18n_1._('
|
|
1344
|
+
label: i18n_1._('Icon'),
|
|
1137
1345
|
option: 'iconColor',
|
|
1138
1346
|
context: 'iconColorEditorConfig',
|
|
1139
1347
|
editor: 'editor.dynamicColor',
|
|
1140
|
-
showEditor: function showEditor(
|
|
1141
|
-
var options =
|
|
1348
|
+
showEditor: function showEditor(_ref4) {
|
|
1349
|
+
var options = _ref4.options;
|
|
1142
1350
|
return configUtils_1.isDynamicOption(options.iconColor);
|
|
1143
1351
|
},
|
|
1144
1352
|
editorProps: {
|
|
1145
|
-
labelPosition: '
|
|
1353
|
+
labelPosition: 'top',
|
|
1146
1354
|
flyoutTitle: 'Dynamic coloring: icon',
|
|
1147
1355
|
formatters: [{
|
|
1148
1356
|
label: i18n_1._('Ranges'),
|
|
@@ -1169,7 +1377,6 @@ var editorConfig = [{
|
|
|
1169
1377
|
}
|
|
1170
1378
|
}], [Object.assign(Object.assign({}, StaticMajorColorEditor_1.default), {
|
|
1171
1379
|
editorProps: {
|
|
1172
|
-
labelPosition: 'left',
|
|
1173
1380
|
themes: themes
|
|
1174
1381
|
}
|
|
1175
1382
|
})], [DynamicMajorColorEditor_1.getDynamicMajorColorEditor({
|
|
@@ -1177,7 +1384,6 @@ var editorConfig = [{
|
|
|
1177
1384
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
1178
1385
|
})], [Object.assign(Object.assign({}, StaticTrendColorEditor_1.default), {
|
|
1179
1386
|
editorProps: {
|
|
1180
|
-
labelPosition: 'left',
|
|
1181
1387
|
themes: themes
|
|
1182
1388
|
}
|
|
1183
1389
|
})], [DynamicTrendColorEditor_1.getDynamicTrendColorEditor({
|
|
@@ -1185,7 +1391,10 @@ var editorConfig = [{
|
|
|
1185
1391
|
defaultPalettesConfig: PresetPalettes_1.defaultPalettesConfig
|
|
1186
1392
|
})], [Object.assign(Object.assign({}, StaticBackgroundColorEditor_1.default), {
|
|
1187
1393
|
editorProps: {
|
|
1188
|
-
|
|
1394
|
+
themes: themes
|
|
1395
|
+
}
|
|
1396
|
+
})], [Object.assign(Object.assign({}, TrellisEditors_1.TrellisBackgroundColorEditor), {
|
|
1397
|
+
editorProps: {
|
|
1189
1398
|
themes: themes
|
|
1190
1399
|
}
|
|
1191
1400
|
})], [DynamicBackgroundColorEditor_1.getDynamicBackgroundColorEditor({
|
|
@@ -1199,8 +1408,8 @@ var editorConfig = [{
|
|
|
1199
1408
|
min: 1
|
|
1200
1409
|
},
|
|
1201
1410
|
placeholder: i18n_1._('Auto'),
|
|
1202
|
-
showEditor: function showEditor(
|
|
1203
|
-
var options =
|
|
1411
|
+
showEditor: function showEditor(_ref5) {
|
|
1412
|
+
var options = _ref5.options;
|
|
1204
1413
|
return options.showValue || options.showValue === undefined;
|
|
1205
1414
|
}
|
|
1206
1415
|
}, {
|
|
@@ -1211,12 +1420,12 @@ var editorConfig = [{
|
|
|
1211
1420
|
min: 1
|
|
1212
1421
|
},
|
|
1213
1422
|
placeholder: i18n_1._('Auto'),
|
|
1214
|
-
showEditor: function showEditor(
|
|
1215
|
-
var options =
|
|
1423
|
+
showEditor: function showEditor(_ref6) {
|
|
1424
|
+
var options = _ref6.options;
|
|
1216
1425
|
return options.showValue || options.showValue === undefined;
|
|
1217
1426
|
},
|
|
1218
|
-
isDisabled: function isDisabled(
|
|
1219
|
-
var options =
|
|
1427
|
+
isDisabled: function isDisabled(_ref7) {
|
|
1428
|
+
var options = _ref7.options;
|
|
1220
1429
|
return options.trendDisplay === 'off';
|
|
1221
1430
|
}
|
|
1222
1431
|
}]]
|
|
@@ -1252,13 +1461,13 @@ var config = {
|
|
|
1252
1461
|
payloadKeys: ['majorValue', 'trendValue', 'icon']
|
|
1253
1462
|
}
|
|
1254
1463
|
},
|
|
1255
|
-
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS],
|
|
1464
|
+
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS, VizBehavior_1.VizBehavior.TRELLIS],
|
|
1256
1465
|
themes: themes
|
|
1257
1466
|
};
|
|
1258
1467
|
exports.default = configUtils_2.enhanceConfig(config);
|
|
1259
1468
|
|
|
1260
1469
|
/***/ }),
|
|
1261
|
-
/*
|
|
1470
|
+
/* 77 */
|
|
1262
1471
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1263
1472
|
|
|
1264
1473
|
"use strict";
|
|
@@ -1267,7 +1476,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1267
1476
|
/* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
|
|
1268
1477
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
|
1269
1478
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1__);
|
|
1270
|
-
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
1479
|
+
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26);
|
|
1271
1480
|
/* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__);
|
|
1272
1481
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5);
|
|
1273
1482
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__);
|
|
@@ -1284,7 +1493,7 @@ var StaticIconColorEditor = [{
|
|
|
1284
1493
|
return !Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__["isDynamicOption"])(options.iconColor);
|
|
1285
1494
|
},
|
|
1286
1495
|
editorProps: {
|
|
1287
|
-
labelPosition: '
|
|
1496
|
+
labelPosition: 'top',
|
|
1288
1497
|
value: null,
|
|
1289
1498
|
palette: [null].concat(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default()(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__["COLOR_EDITOR_PALETTE"]))
|
|
1290
1499
|
}
|