@splunk/visualizations 25.6.0 → 25.7.1
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/Punchcard.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 = 440);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -95,25 +95,25 @@ module.exports =
|
|
|
95
95
|
/***/ 0:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
|
-
module.exports = require("
|
|
98
|
+
module.exports = require("react");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
102
|
/***/ 1:
|
|
103
103
|
/***/ (function(module, exports) {
|
|
104
104
|
|
|
105
|
-
module.exports = require("
|
|
105
|
+
module.exports = require("prop-types");
|
|
106
106
|
|
|
107
107
|
/***/ }),
|
|
108
108
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@splunk/
|
|
112
|
+
module.exports = require("@splunk/themes/variables");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
-
/***/
|
|
116
|
+
/***/ 109:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
119
|
module.exports = require("lodash/find");
|
|
@@ -134,20 +134,6 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
|
134
134
|
|
|
135
135
|
/***/ }),
|
|
136
136
|
|
|
137
|
-
/***/ 127:
|
|
138
|
-
/***/ (function(module, exports) {
|
|
139
|
-
|
|
140
|
-
module.exports = require("lodash/findIndex");
|
|
141
|
-
|
|
142
|
-
/***/ }),
|
|
143
|
-
|
|
144
|
-
/***/ 128:
|
|
145
|
-
/***/ (function(module, exports) {
|
|
146
|
-
|
|
147
|
-
module.exports = require("lodash/flattenDeep");
|
|
148
|
-
|
|
149
|
-
/***/ }),
|
|
150
|
-
|
|
151
137
|
/***/ 13:
|
|
152
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
153
139
|
|
|
@@ -158,13 +144,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
158
144
|
value: true
|
|
159
145
|
});
|
|
160
146
|
|
|
161
|
-
var React = __webpack_require__(
|
|
147
|
+
var React = __webpack_require__(0);
|
|
162
148
|
|
|
163
149
|
var styled_components_1 = __webpack_require__(4);
|
|
164
150
|
|
|
165
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
151
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
166
152
|
|
|
167
|
-
var style_1 = __webpack_require__(
|
|
153
|
+
var style_1 = __webpack_require__(14);
|
|
168
154
|
|
|
169
155
|
var colorUtils_1 = __webpack_require__(12);
|
|
170
156
|
|
|
@@ -223,7 +209,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
223
209
|
|
|
224
210
|
return React.createElement(FixSizeItem, {
|
|
225
211
|
"data-test": "fix-size-item",
|
|
226
|
-
"data-splunk-visualization-version": "25.
|
|
212
|
+
"data-splunk-visualization-version": "25.7.1 - 6a77c5530",
|
|
227
213
|
width: width,
|
|
228
214
|
height: height,
|
|
229
215
|
backgroundColor: backgroundColor
|
|
@@ -245,7 +231,28 @@ exports.default = withFixedSizeContainer;
|
|
|
245
231
|
|
|
246
232
|
/***/ }),
|
|
247
233
|
|
|
234
|
+
/***/ 135:
|
|
235
|
+
/***/ (function(module, exports) {
|
|
236
|
+
|
|
237
|
+
module.exports = require("lodash/findIndex");
|
|
238
|
+
|
|
239
|
+
/***/ }),
|
|
240
|
+
|
|
241
|
+
/***/ 136:
|
|
242
|
+
/***/ (function(module, exports) {
|
|
243
|
+
|
|
244
|
+
module.exports = require("lodash/flattenDeep");
|
|
245
|
+
|
|
246
|
+
/***/ }),
|
|
247
|
+
|
|
248
248
|
/***/ 14:
|
|
249
|
+
/***/ (function(module, exports) {
|
|
250
|
+
|
|
251
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
252
|
+
|
|
253
|
+
/***/ }),
|
|
254
|
+
|
|
255
|
+
/***/ 15:
|
|
249
256
|
/***/ (function(module, exports, __webpack_require__) {
|
|
250
257
|
|
|
251
258
|
"use strict";
|
|
@@ -278,43 +285,43 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
278
285
|
|
|
279
286
|
/***/ }),
|
|
280
287
|
|
|
281
|
-
/***/
|
|
288
|
+
/***/ 16:
|
|
282
289
|
/***/ (function(module, exports) {
|
|
283
290
|
|
|
284
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
291
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
285
292
|
|
|
286
293
|
/***/ }),
|
|
287
294
|
|
|
288
|
-
/***/
|
|
295
|
+
/***/ 166:
|
|
289
296
|
/***/ (function(module, exports) {
|
|
290
297
|
|
|
291
298
|
module.exports = require("lodash/sortBy");
|
|
292
299
|
|
|
293
300
|
/***/ }),
|
|
294
301
|
|
|
295
|
-
/***/
|
|
302
|
+
/***/ 17:
|
|
296
303
|
/***/ (function(module, exports) {
|
|
297
304
|
|
|
298
|
-
module.exports = require("@
|
|
305
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
299
306
|
|
|
300
307
|
/***/ }),
|
|
301
308
|
|
|
302
|
-
/***/
|
|
309
|
+
/***/ 18:
|
|
303
310
|
/***/ (function(module, exports) {
|
|
304
311
|
|
|
305
|
-
module.exports = require("@
|
|
312
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
306
313
|
|
|
307
314
|
/***/ }),
|
|
308
315
|
|
|
309
|
-
/***/
|
|
316
|
+
/***/ 19:
|
|
310
317
|
/***/ (function(module, exports, __webpack_require__) {
|
|
311
318
|
|
|
312
319
|
"use strict";
|
|
313
320
|
|
|
314
321
|
|
|
315
|
-
var _toConsumableArray = __webpack_require__(
|
|
322
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
316
323
|
|
|
317
|
-
var _defineProperty = __webpack_require__(
|
|
324
|
+
var _defineProperty = __webpack_require__(8);
|
|
318
325
|
|
|
319
326
|
var __rest = this && this.__rest || function (s, e) {
|
|
320
327
|
var t = {};
|
|
@@ -553,25 +560,25 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
553
560
|
/***/ 20:
|
|
554
561
|
/***/ (function(module, exports) {
|
|
555
562
|
|
|
556
|
-
module.exports = require("@
|
|
563
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
557
564
|
|
|
558
565
|
/***/ }),
|
|
559
566
|
|
|
560
|
-
/***/
|
|
567
|
+
/***/ 22:
|
|
561
568
|
/***/ (function(module, exports) {
|
|
562
569
|
|
|
563
|
-
module.exports = require("@
|
|
570
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
564
571
|
|
|
565
572
|
/***/ }),
|
|
566
573
|
|
|
567
|
-
/***/
|
|
574
|
+
/***/ 23:
|
|
568
575
|
/***/ (function(module, exports) {
|
|
569
576
|
|
|
570
577
|
module.exports = require("@splunk/themes/pick");
|
|
571
578
|
|
|
572
579
|
/***/ }),
|
|
573
580
|
|
|
574
|
-
/***/
|
|
581
|
+
/***/ 25:
|
|
575
582
|
/***/ (function(module, exports) {
|
|
576
583
|
|
|
577
584
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
@@ -581,18 +588,11 @@ module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
|
581
588
|
/***/ 26:
|
|
582
589
|
/***/ (function(module, exports) {
|
|
583
590
|
|
|
584
|
-
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
585
|
-
|
|
586
|
-
/***/ }),
|
|
587
|
-
|
|
588
|
-
/***/ 27:
|
|
589
|
-
/***/ (function(module, exports) {
|
|
590
|
-
|
|
591
591
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
592
592
|
|
|
593
593
|
/***/ }),
|
|
594
594
|
|
|
595
|
-
/***/
|
|
595
|
+
/***/ 27:
|
|
596
596
|
/***/ (function(module, exports) {
|
|
597
597
|
|
|
598
598
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
@@ -602,7 +602,7 @@ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
|
602
602
|
/***/ 29:
|
|
603
603
|
/***/ (function(module, exports) {
|
|
604
604
|
|
|
605
|
-
module.exports = require("@splunk/
|
|
605
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
606
606
|
|
|
607
607
|
/***/ }),
|
|
608
608
|
|
|
@@ -614,6 +614,13 @@ module.exports = require("lodash");
|
|
|
614
614
|
/***/ }),
|
|
615
615
|
|
|
616
616
|
/***/ 30:
|
|
617
|
+
/***/ (function(module, exports) {
|
|
618
|
+
|
|
619
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
620
|
+
|
|
621
|
+
/***/ }),
|
|
622
|
+
|
|
623
|
+
/***/ 31:
|
|
617
624
|
/***/ (function(module, exports, __webpack_require__) {
|
|
618
625
|
|
|
619
626
|
"use strict";
|
|
@@ -624,15 +631,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
624
631
|
});
|
|
625
632
|
exports.shouldShowIconPlaceholder = void 0;
|
|
626
633
|
|
|
627
|
-
var React = __webpack_require__(
|
|
634
|
+
var React = __webpack_require__(0);
|
|
628
635
|
|
|
629
|
-
var T = __webpack_require__(
|
|
636
|
+
var T = __webpack_require__(1);
|
|
630
637
|
|
|
631
638
|
var lodash_1 = __webpack_require__(3);
|
|
632
639
|
|
|
633
640
|
var i18n_1 = __webpack_require__(2);
|
|
634
641
|
|
|
635
|
-
var Message_1 = __webpack_require__(
|
|
642
|
+
var Message_1 = __webpack_require__(9);
|
|
636
643
|
|
|
637
644
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
638
645
|
/**
|
|
@@ -705,27 +712,27 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
705
712
|
|
|
706
713
|
/***/ }),
|
|
707
714
|
|
|
708
|
-
/***/
|
|
715
|
+
/***/ 32:
|
|
709
716
|
/***/ (function(module, exports) {
|
|
710
717
|
|
|
711
718
|
module.exports = require("@splunk/ui-utils/id");
|
|
712
719
|
|
|
713
720
|
/***/ }),
|
|
714
721
|
|
|
715
|
-
/***/
|
|
722
|
+
/***/ 33:
|
|
716
723
|
/***/ (function(module, exports, __webpack_require__) {
|
|
717
724
|
|
|
718
725
|
"use strict";
|
|
719
726
|
|
|
720
727
|
|
|
721
|
-
var _defineProperty = __webpack_require__(
|
|
728
|
+
var _defineProperty = __webpack_require__(8);
|
|
722
729
|
|
|
723
730
|
Object.defineProperty(exports, "__esModule", {
|
|
724
731
|
value: true
|
|
725
732
|
});
|
|
726
733
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
727
734
|
|
|
728
|
-
var T = __webpack_require__(
|
|
735
|
+
var T = __webpack_require__(1);
|
|
729
736
|
|
|
730
737
|
var lodash_1 = __webpack_require__(3);
|
|
731
738
|
|
|
@@ -749,7 +756,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
749
756
|
};
|
|
750
757
|
var onSort;
|
|
751
758
|
|
|
752
|
-
if (
|
|
759
|
+
if (typeof onRequestParamsChange === 'function') {
|
|
753
760
|
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
754
761
|
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
755
762
|
currentSortDir = requestParams.sort[currentSortKey];
|
|
@@ -783,7 +790,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
783
790
|
|
|
784
791
|
/***/ }),
|
|
785
792
|
|
|
786
|
-
/***/
|
|
793
|
+
/***/ 34:
|
|
787
794
|
/***/ (function(module, exports, __webpack_require__) {
|
|
788
795
|
|
|
789
796
|
"use strict";
|
|
@@ -794,7 +801,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
794
801
|
});
|
|
795
802
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
796
803
|
|
|
797
|
-
var T = __webpack_require__(
|
|
804
|
+
var T = __webpack_require__(1);
|
|
798
805
|
|
|
799
806
|
var lodash_1 = __webpack_require__(3);
|
|
800
807
|
|
|
@@ -814,7 +821,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
814
821
|
var count = requestParams && requestParams.count;
|
|
815
822
|
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
816
823
|
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
817
|
-
var isPaging = totalPages > 1 &&
|
|
824
|
+
var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
|
|
818
825
|
|
|
819
826
|
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
820
827
|
var page = _ref2.page,
|
|
@@ -840,7 +847,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
840
847
|
isPaging: isPaging,
|
|
841
848
|
current: current,
|
|
842
849
|
totalPages: totalPages,
|
|
843
|
-
onChange:
|
|
850
|
+
onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
|
|
844
851
|
};
|
|
845
852
|
};
|
|
846
853
|
|
|
@@ -848,7 +855,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
848
855
|
|
|
849
856
|
/***/ }),
|
|
850
857
|
|
|
851
|
-
/***/
|
|
858
|
+
/***/ 35:
|
|
852
859
|
/***/ (function(module, exports, __webpack_require__) {
|
|
853
860
|
|
|
854
861
|
"use strict";
|
|
@@ -877,7 +884,7 @@ var VizCategory;
|
|
|
877
884
|
|
|
878
885
|
/***/ }),
|
|
879
886
|
|
|
880
|
-
/***/
|
|
887
|
+
/***/ 36:
|
|
881
888
|
/***/ (function(module, exports, __webpack_require__) {
|
|
882
889
|
|
|
883
890
|
"use strict";
|
|
@@ -889,39 +896,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
889
896
|
value: true
|
|
890
897
|
});
|
|
891
898
|
|
|
892
|
-
var React = __webpack_require__(
|
|
899
|
+
var React = __webpack_require__(0);
|
|
893
900
|
|
|
894
901
|
var lodash_1 = __webpack_require__(3);
|
|
895
902
|
|
|
896
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
903
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(37);
|
|
897
904
|
|
|
898
|
-
var Options_1 = __webpack_require__(
|
|
905
|
+
var Options_1 = __webpack_require__(29);
|
|
899
906
|
|
|
900
907
|
var SanitizeProps_1 = __webpack_require__(38);
|
|
901
908
|
|
|
902
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
909
|
+
var TimezoneContext_1 = __webpack_require__(25);
|
|
903
910
|
|
|
904
911
|
var moment_1 = __webpack_require__(39);
|
|
905
912
|
|
|
906
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
913
|
+
var FeatureFlagContext_1 = __webpack_require__(20);
|
|
907
914
|
|
|
908
915
|
var styled_components_1 = __webpack_require__(4);
|
|
909
916
|
|
|
910
|
-
var hocUtils_1 = __webpack_require__(
|
|
917
|
+
var hocUtils_1 = __webpack_require__(26);
|
|
911
918
|
|
|
912
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
919
|
+
var JSONSchemaUtils_1 = __webpack_require__(27);
|
|
913
920
|
|
|
914
921
|
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
915
922
|
|
|
916
|
-
var id_1 = __webpack_require__(
|
|
923
|
+
var id_1 = __webpack_require__(32);
|
|
917
924
|
|
|
918
925
|
var SplunkVisualization_1 = __webpack_require__(41);
|
|
919
926
|
|
|
920
927
|
var VizBehavior_1 = __webpack_require__(6);
|
|
921
928
|
|
|
922
|
-
var getSorting_1 = __webpack_require__(
|
|
929
|
+
var getSorting_1 = __webpack_require__(33);
|
|
923
930
|
|
|
924
|
-
var getPagination_1 = __webpack_require__(
|
|
931
|
+
var getPagination_1 = __webpack_require__(34);
|
|
925
932
|
|
|
926
933
|
var useDeepMemo_1 = __webpack_require__(44);
|
|
927
934
|
|
|
@@ -950,6 +957,8 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
950
957
|
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
|
|
951
958
|
|
|
952
959
|
var DashboardViz = function DashboardViz(props) {
|
|
960
|
+
var _a;
|
|
961
|
+
|
|
953
962
|
var mode = props.mode,
|
|
954
963
|
hasEventHandlers = props.hasEventHandlers,
|
|
955
964
|
dataSources = props.dataSources,
|
|
@@ -1009,7 +1018,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1009
1018
|
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
1010
1019
|
visualizationID = _React$useState4[0];
|
|
1011
1020
|
|
|
1012
|
-
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext
|
|
1021
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
|
|
1013
1022
|
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
1014
1023
|
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
1015
1024
|
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
@@ -1049,11 +1058,21 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1049
1058
|
|
|
1050
1059
|
return {};
|
|
1051
1060
|
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
1052
|
-
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; //
|
|
1061
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // trellis specific backgroundColor update for onComputedProps
|
|
1062
|
+
// if trellis is enabled following these three criteria - 1) trellis feature flag is enabled 2) vizConfig supports array has 'trellis' 3) option 'splitByLayout' is set to 'trellis
|
|
1063
|
+
// onComputedProps api should return back trellisBackgroundColor value for backgroundColor option to support coloring of sibling panels (for eg:- title/ description on UDF side)
|
|
1064
|
+
|
|
1065
|
+
var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
|
|
1066
|
+
var clonedEvaluatedOptions = lodash_1.cloneDeep(evaluatedOptionsToUse);
|
|
1067
|
+
|
|
1068
|
+
if (isTrellisFeatureFlagOn && ((_a = vizConfig === null || vizConfig === void 0 ? void 0 : vizConfig.supports) === null || _a === void 0 ? void 0 : _a.includes(VizBehavior_1.VizBehavior.TRELLIS)) && (clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.splitByLayout) === VizBehavior_1.VizBehavior.TRELLIS) {
|
|
1069
|
+
clonedEvaluatedOptions.backgroundColor = clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.trellisBackgroundColor;
|
|
1070
|
+
} // useEffect hook needs to be initialized before any early returns
|
|
1053
1071
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1054
1072
|
|
|
1073
|
+
|
|
1055
1074
|
React.useEffect(function () {
|
|
1056
|
-
onComputedProps(
|
|
1075
|
+
onComputedProps(clonedEvaluatedOptions);
|
|
1057
1076
|
});
|
|
1058
1077
|
React.useEffect(function () {
|
|
1059
1078
|
return function () {
|
|
@@ -1068,15 +1087,16 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1068
1087
|
supports = vizConfig.supports;
|
|
1069
1088
|
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
1070
1089
|
|
|
1071
|
-
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1090
|
+
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER) && vizConfig.key !== 'splunk.singlevalue' // For SV missing props msg is not displayed if required props majorValue is missing, instead this will be handled from the component, instead handled within component
|
|
1091
|
+
) {
|
|
1092
|
+
return React.createElement(MissingPropsMessage_1.default, {
|
|
1093
|
+
"data-test": "missing-props-message",
|
|
1094
|
+
width: width,
|
|
1095
|
+
height: height,
|
|
1096
|
+
missingProps: missing,
|
|
1097
|
+
backgroundColor: bgColorFromTheme
|
|
1098
|
+
});
|
|
1099
|
+
} // events
|
|
1080
1100
|
|
|
1081
1101
|
|
|
1082
1102
|
var eventCallbackProps = {};
|
|
@@ -1180,17 +1200,10 @@ exports.default = withDashboardViz;
|
|
|
1180
1200
|
|
|
1181
1201
|
/***/ }),
|
|
1182
1202
|
|
|
1183
|
-
/***/ 36:
|
|
1184
|
-
/***/ (function(module, exports) {
|
|
1185
|
-
|
|
1186
|
-
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1187
|
-
|
|
1188
|
-
/***/ }),
|
|
1189
|
-
|
|
1190
1203
|
/***/ 37:
|
|
1191
1204
|
/***/ (function(module, exports) {
|
|
1192
1205
|
|
|
1193
|
-
module.exports = require("@splunk/
|
|
1206
|
+
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1194
1207
|
|
|
1195
1208
|
/***/ }),
|
|
1196
1209
|
|
|
@@ -1236,7 +1249,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1236
1249
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1237
1250
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1238
1251
|
|
|
1239
|
-
var T = __webpack_require__(
|
|
1252
|
+
var T = __webpack_require__(1);
|
|
1240
1253
|
|
|
1241
1254
|
var lodash_1 = __webpack_require__(3);
|
|
1242
1255
|
|
|
@@ -1382,7 +1395,7 @@ exports.default = SplunkVisualization;
|
|
|
1382
1395
|
|
|
1383
1396
|
var _classCallCheck = __webpack_require__(11);
|
|
1384
1397
|
|
|
1385
|
-
var _createClass = __webpack_require__(
|
|
1398
|
+
var _createClass = __webpack_require__(22);
|
|
1386
1399
|
|
|
1387
1400
|
Object.defineProperty(exports, "__esModule", {
|
|
1388
1401
|
value: true
|
|
@@ -1426,7 +1439,53 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1426
1439
|
|
|
1427
1440
|
/***/ }),
|
|
1428
1441
|
|
|
1429
|
-
/***/
|
|
1442
|
+
/***/ 44:
|
|
1443
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1444
|
+
|
|
1445
|
+
"use strict";
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1449
|
+
value: true
|
|
1450
|
+
});
|
|
1451
|
+
exports.useDeepMemo = void 0;
|
|
1452
|
+
|
|
1453
|
+
var react_1 = __webpack_require__(0);
|
|
1454
|
+
|
|
1455
|
+
var lodash_1 = __webpack_require__(3);
|
|
1456
|
+
/**
|
|
1457
|
+
* This hook evaluates and stores the result of a passed function and only
|
|
1458
|
+
* re-evaluates the function when passed dependencies change.
|
|
1459
|
+
*
|
|
1460
|
+
* It is different from the internal React useMemo in the following aspects:
|
|
1461
|
+
* - it only stores the last evaluated result
|
|
1462
|
+
* - it uses a deep equality check to determine if dependencies have changed
|
|
1463
|
+
*
|
|
1464
|
+
* Inspired by apollo-client's useDeepMemo
|
|
1465
|
+
*
|
|
1466
|
+
* @param fn the function to be executed and
|
|
1467
|
+
* @param dependencies an array of dependencies
|
|
1468
|
+
*/
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
1472
|
+
var ref = react_1.useRef();
|
|
1473
|
+
|
|
1474
|
+
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
1475
|
+
ref.current = {
|
|
1476
|
+
dependencies: dependencies,
|
|
1477
|
+
value: fn()
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
return ref.current.value;
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
exports.useDeepMemo = useDeepMemo;
|
|
1485
|
+
|
|
1486
|
+
/***/ }),
|
|
1487
|
+
|
|
1488
|
+
/***/ 440:
|
|
1430
1489
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1431
1490
|
|
|
1432
1491
|
"use strict";
|
|
@@ -1454,13 +1513,13 @@ var lodash_1 = __webpack_require__(3);
|
|
|
1454
1513
|
|
|
1455
1514
|
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
1456
1515
|
|
|
1457
|
-
var config_1 = __webpack_require__(
|
|
1516
|
+
var config_1 = __webpack_require__(441);
|
|
1458
1517
|
|
|
1459
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1518
|
+
var withDashboardViz_1 = __webpack_require__(36);
|
|
1460
1519
|
|
|
1461
|
-
var Punchcard_1 = __webpack_require__(
|
|
1520
|
+
var Punchcard_1 = __webpack_require__(442);
|
|
1462
1521
|
|
|
1463
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
1522
|
+
var punchcardUtils_1 = __webpack_require__(450);
|
|
1464
1523
|
|
|
1465
1524
|
exports.config = config_1.default;
|
|
1466
1525
|
exports.PurePunchcard = Punchcard_1.default;
|
|
@@ -1505,7 +1564,7 @@ exports.default = viz;
|
|
|
1505
1564
|
|
|
1506
1565
|
/***/ }),
|
|
1507
1566
|
|
|
1508
|
-
/***/
|
|
1567
|
+
/***/ 441:
|
|
1509
1568
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1510
1569
|
|
|
1511
1570
|
"use strict";
|
|
@@ -1525,15 +1584,15 @@ var placeholders_1 = __webpack_require__(48);
|
|
|
1525
1584
|
|
|
1526
1585
|
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
1527
1586
|
|
|
1528
|
-
var pick_1 = __webpack_require__(
|
|
1587
|
+
var pick_1 = __webpack_require__(23);
|
|
1529
1588
|
|
|
1530
|
-
var variables_1 = __webpack_require__(
|
|
1589
|
+
var variables_1 = __webpack_require__(10);
|
|
1531
1590
|
|
|
1532
1591
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1533
1592
|
|
|
1534
|
-
var VizCategory_1 = __webpack_require__(
|
|
1593
|
+
var VizCategory_1 = __webpack_require__(35);
|
|
1535
1594
|
|
|
1536
|
-
var configUtils_1 = __webpack_require__(
|
|
1595
|
+
var configUtils_1 = __webpack_require__(19);
|
|
1537
1596
|
|
|
1538
1597
|
var BackgroundColor_1 = __webpack_require__(53);
|
|
1539
1598
|
|
|
@@ -1862,13 +1921,13 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
1862
1921
|
|
|
1863
1922
|
/***/ }),
|
|
1864
1923
|
|
|
1865
|
-
/***/
|
|
1924
|
+
/***/ 442:
|
|
1866
1925
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1867
1926
|
|
|
1868
1927
|
"use strict";
|
|
1869
1928
|
|
|
1870
1929
|
|
|
1871
|
-
var _defineProperty = __webpack_require__(
|
|
1930
|
+
var _defineProperty = __webpack_require__(8);
|
|
1872
1931
|
|
|
1873
1932
|
var _slicedToArray = __webpack_require__(17);
|
|
1874
1933
|
|
|
@@ -1876,31 +1935,31 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1876
1935
|
value: true
|
|
1877
1936
|
});
|
|
1878
1937
|
|
|
1879
|
-
var React = __webpack_require__(
|
|
1938
|
+
var React = __webpack_require__(0);
|
|
1880
1939
|
|
|
1881
1940
|
var styled_components_1 = __webpack_require__(4);
|
|
1882
1941
|
|
|
1883
|
-
var T = __webpack_require__(
|
|
1942
|
+
var T = __webpack_require__(1);
|
|
1884
1943
|
|
|
1885
1944
|
var lodash_1 = __webpack_require__(3);
|
|
1886
1945
|
|
|
1887
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
1946
|
+
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
1888
1947
|
|
|
1889
|
-
var style_1 = __webpack_require__(
|
|
1948
|
+
var style_1 = __webpack_require__(14);
|
|
1890
1949
|
|
|
1891
1950
|
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
1892
1951
|
|
|
1893
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
1952
|
+
var punchcardUtils_1 = __webpack_require__(94);
|
|
1894
1953
|
|
|
1895
|
-
var sortUtils_1 = __webpack_require__(
|
|
1954
|
+
var sortUtils_1 = __webpack_require__(443);
|
|
1896
1955
|
|
|
1897
|
-
var PunchcardAxis_1 = __webpack_require__(
|
|
1956
|
+
var PunchcardAxis_1 = __webpack_require__(444);
|
|
1898
1957
|
|
|
1899
|
-
var PunchcardChartArea_1 = __webpack_require__(
|
|
1958
|
+
var PunchcardChartArea_1 = __webpack_require__(445);
|
|
1900
1959
|
|
|
1901
|
-
var PunchcardLegend_1 = __webpack_require__(
|
|
1960
|
+
var PunchcardLegend_1 = __webpack_require__(448);
|
|
1902
1961
|
|
|
1903
|
-
var PunchcardGridLines_1 = __webpack_require__(
|
|
1962
|
+
var PunchcardGridLines_1 = __webpack_require__(449);
|
|
1904
1963
|
|
|
1905
1964
|
var Container = styled_components_1.default.div.withConfig({
|
|
1906
1965
|
displayName: "Punchcard__Container",
|
|
@@ -2232,7 +2291,7 @@ exports.default = Punchcard;
|
|
|
2232
2291
|
|
|
2233
2292
|
/***/ }),
|
|
2234
2293
|
|
|
2235
|
-
/***/
|
|
2294
|
+
/***/ 443:
|
|
2236
2295
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2237
2296
|
|
|
2238
2297
|
"use strict";
|
|
@@ -2242,13 +2301,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2242
2301
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortedByDTime", function() { return sortedByDTime; });
|
|
2243
2302
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortByDigitOrAlpha", function() { return sortByDigitOrAlpha; });
|
|
2244
2303
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortAxis", function() { return sortAxis; });
|
|
2245
|
-
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2304
|
+
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
|
|
2246
2305
|
/* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__);
|
|
2247
|
-
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
2306
|
+
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(109);
|
|
2248
2307
|
/* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
|
|
2249
|
-
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2308
|
+
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(166);
|
|
2250
2309
|
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__);
|
|
2251
|
-
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
2310
|
+
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(136);
|
|
2252
2311
|
/* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__);
|
|
2253
2312
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3);
|
|
2254
2313
|
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
|
|
@@ -2517,7 +2576,7 @@ var sortAxis = function sortAxis(axis) {
|
|
|
2517
2576
|
|
|
2518
2577
|
/***/ }),
|
|
2519
2578
|
|
|
2520
|
-
/***/
|
|
2579
|
+
/***/ 444:
|
|
2521
2580
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2522
2581
|
|
|
2523
2582
|
"use strict";
|
|
@@ -2527,17 +2586,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2527
2586
|
value: true
|
|
2528
2587
|
});
|
|
2529
2588
|
|
|
2530
|
-
var React = __webpack_require__(
|
|
2589
|
+
var React = __webpack_require__(0);
|
|
2531
2590
|
|
|
2532
|
-
var T = __webpack_require__(
|
|
2591
|
+
var T = __webpack_require__(1);
|
|
2533
2592
|
|
|
2534
2593
|
var styled_components_1 = __webpack_require__(4);
|
|
2535
2594
|
|
|
2536
|
-
var pick_1 = __webpack_require__(
|
|
2595
|
+
var pick_1 = __webpack_require__(23);
|
|
2537
2596
|
|
|
2538
|
-
var variables_1 = __webpack_require__(
|
|
2597
|
+
var variables_1 = __webpack_require__(10);
|
|
2539
2598
|
|
|
2540
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
2599
|
+
var punchcardUtils_1 = __webpack_require__(94);
|
|
2541
2600
|
|
|
2542
2601
|
var AxisLabelText = styled_components_1.default.text.withConfig({
|
|
2543
2602
|
displayName: "PunchcardAxis__AxisLabelText",
|
|
@@ -2618,13 +2677,13 @@ exports.default = PunchcardAxis;
|
|
|
2618
2677
|
|
|
2619
2678
|
/***/ }),
|
|
2620
2679
|
|
|
2621
|
-
/***/
|
|
2680
|
+
/***/ 445:
|
|
2622
2681
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2623
2682
|
|
|
2624
2683
|
"use strict";
|
|
2625
2684
|
|
|
2626
2685
|
|
|
2627
|
-
var _toConsumableArray = __webpack_require__(
|
|
2686
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2628
2687
|
|
|
2629
2688
|
var _slicedToArray = __webpack_require__(17);
|
|
2630
2689
|
|
|
@@ -2632,13 +2691,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2632
2691
|
value: true
|
|
2633
2692
|
});
|
|
2634
2693
|
|
|
2635
|
-
var React = __webpack_require__(
|
|
2694
|
+
var React = __webpack_require__(0);
|
|
2636
2695
|
|
|
2637
|
-
var T = __webpack_require__(
|
|
2696
|
+
var T = __webpack_require__(1);
|
|
2638
2697
|
|
|
2639
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
2698
|
+
var punchcardUtils_1 = __webpack_require__(94);
|
|
2640
2699
|
|
|
2641
|
-
var PunchcardRow_1 = __webpack_require__(
|
|
2700
|
+
var PunchcardRow_1 = __webpack_require__(446);
|
|
2642
2701
|
|
|
2643
2702
|
var PunchcardChartArea = function PunchcardChartArea(props) {
|
|
2644
2703
|
var showBubbleLabels = props.showBubbleLabels,
|
|
@@ -2790,7 +2849,7 @@ exports.default = PunchcardChartArea;
|
|
|
2790
2849
|
|
|
2791
2850
|
/***/ }),
|
|
2792
2851
|
|
|
2793
|
-
/***/
|
|
2852
|
+
/***/ 446:
|
|
2794
2853
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2795
2854
|
|
|
2796
2855
|
"use strict";
|
|
@@ -2800,15 +2859,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2800
2859
|
value: true
|
|
2801
2860
|
});
|
|
2802
2861
|
|
|
2803
|
-
var React = __webpack_require__(
|
|
2862
|
+
var React = __webpack_require__(0);
|
|
2804
2863
|
|
|
2805
|
-
var T = __webpack_require__(
|
|
2864
|
+
var T = __webpack_require__(1);
|
|
2806
2865
|
|
|
2807
2866
|
var styled_components_1 = __webpack_require__(4);
|
|
2808
2867
|
|
|
2809
|
-
var PunchcardBubble_1 = __webpack_require__(
|
|
2868
|
+
var PunchcardBubble_1 = __webpack_require__(447);
|
|
2810
2869
|
|
|
2811
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
2870
|
+
var punchcardUtils_1 = __webpack_require__(94);
|
|
2812
2871
|
|
|
2813
2872
|
var PunchcardRow = function PunchcardRow(props) {
|
|
2814
2873
|
var showBubbleLabels = props.showBubbleLabels,
|
|
@@ -2922,59 +2981,13 @@ exports.default = styled_components_1.withTheme(PunchcardRow);
|
|
|
2922
2981
|
|
|
2923
2982
|
/***/ }),
|
|
2924
2983
|
|
|
2925
|
-
/***/
|
|
2926
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2927
|
-
|
|
2928
|
-
"use strict";
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2932
|
-
value: true
|
|
2933
|
-
});
|
|
2934
|
-
exports.useDeepMemo = void 0;
|
|
2935
|
-
|
|
2936
|
-
var react_1 = __webpack_require__(1);
|
|
2937
|
-
|
|
2938
|
-
var lodash_1 = __webpack_require__(3);
|
|
2939
|
-
/**
|
|
2940
|
-
* This hook evaluates and stores the result of a passed function and only
|
|
2941
|
-
* re-evaluates the function when passed dependencies change.
|
|
2942
|
-
*
|
|
2943
|
-
* It is different from the internal React useMemo in the following aspects:
|
|
2944
|
-
* - it only stores the last evaluated result
|
|
2945
|
-
* - it uses a deep equality check to determine if dependencies have changed
|
|
2946
|
-
*
|
|
2947
|
-
* Inspired by apollo-client's useDeepMemo
|
|
2948
|
-
*
|
|
2949
|
-
* @param fn the function to be executed and
|
|
2950
|
-
* @param dependencies an array of dependencies
|
|
2951
|
-
*/
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
2955
|
-
var ref = react_1.useRef();
|
|
2956
|
-
|
|
2957
|
-
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
2958
|
-
ref.current = {
|
|
2959
|
-
dependencies: dependencies,
|
|
2960
|
-
value: fn()
|
|
2961
|
-
};
|
|
2962
|
-
}
|
|
2963
|
-
|
|
2964
|
-
return ref.current.value;
|
|
2965
|
-
};
|
|
2966
|
-
|
|
2967
|
-
exports.useDeepMemo = useDeepMemo;
|
|
2968
|
-
|
|
2969
|
-
/***/ }),
|
|
2970
|
-
|
|
2971
|
-
/***/ 440:
|
|
2984
|
+
/***/ 447:
|
|
2972
2985
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2973
2986
|
|
|
2974
2987
|
"use strict";
|
|
2975
2988
|
|
|
2976
2989
|
|
|
2977
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
2990
|
+
var _taggedTemplateLiteral = __webpack_require__(93);
|
|
2978
2991
|
|
|
2979
2992
|
var _templateObject;
|
|
2980
2993
|
|
|
@@ -2982,19 +2995,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2982
2995
|
value: true
|
|
2983
2996
|
});
|
|
2984
2997
|
|
|
2985
|
-
var React = __webpack_require__(
|
|
2998
|
+
var React = __webpack_require__(0);
|
|
2986
2999
|
|
|
2987
|
-
var T = __webpack_require__(
|
|
3000
|
+
var T = __webpack_require__(1);
|
|
2988
3001
|
|
|
2989
3002
|
var styled_components_1 = __webpack_require__(4);
|
|
2990
3003
|
|
|
2991
|
-
var pick_1 = __webpack_require__(
|
|
3004
|
+
var pick_1 = __webpack_require__(23);
|
|
2992
3005
|
|
|
2993
|
-
var variables_1 = __webpack_require__(
|
|
3006
|
+
var variables_1 = __webpack_require__(10);
|
|
2994
3007
|
|
|
2995
|
-
var numberUtils_1 = __webpack_require__(
|
|
3008
|
+
var numberUtils_1 = __webpack_require__(30);
|
|
2996
3009
|
|
|
2997
|
-
var punchcardUtils_1 = __webpack_require__(
|
|
3010
|
+
var punchcardUtils_1 = __webpack_require__(94);
|
|
2998
3011
|
|
|
2999
3012
|
var BubbleCircle = styled_components_1.default.circle.withConfig({
|
|
3000
3013
|
displayName: "PunchcardBubble__BubbleCircle",
|
|
@@ -3151,7 +3164,7 @@ exports.default = PunchcardBubble;
|
|
|
3151
3164
|
|
|
3152
3165
|
/***/ }),
|
|
3153
3166
|
|
|
3154
|
-
/***/
|
|
3167
|
+
/***/ 448:
|
|
3155
3168
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3156
3169
|
|
|
3157
3170
|
"use strict";
|
|
@@ -3161,15 +3174,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3161
3174
|
value: true
|
|
3162
3175
|
});
|
|
3163
3176
|
|
|
3164
|
-
var React = __webpack_require__(
|
|
3177
|
+
var React = __webpack_require__(0);
|
|
3165
3178
|
|
|
3166
|
-
var T = __webpack_require__(
|
|
3179
|
+
var T = __webpack_require__(1);
|
|
3167
3180
|
|
|
3168
3181
|
var styled_components_1 = __webpack_require__(4);
|
|
3169
3182
|
|
|
3170
|
-
var pick_1 = __webpack_require__(
|
|
3183
|
+
var pick_1 = __webpack_require__(23);
|
|
3171
3184
|
|
|
3172
|
-
var variables_1 = __webpack_require__(
|
|
3185
|
+
var variables_1 = __webpack_require__(10);
|
|
3173
3186
|
|
|
3174
3187
|
var LEGEND_ITEM_VERTICAL_SPACER = 25;
|
|
3175
3188
|
var LEGEND_ITEM_HORIZONTAL_SPACER = 10;
|
|
@@ -3270,7 +3283,7 @@ exports.default = PunchcardLegend;
|
|
|
3270
3283
|
|
|
3271
3284
|
/***/ }),
|
|
3272
3285
|
|
|
3273
|
-
/***/
|
|
3286
|
+
/***/ 449:
|
|
3274
3287
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3275
3288
|
|
|
3276
3289
|
"use strict";
|
|
@@ -3280,17 +3293,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3280
3293
|
value: true
|
|
3281
3294
|
});
|
|
3282
3295
|
|
|
3283
|
-
var React = __webpack_require__(
|
|
3296
|
+
var React = __webpack_require__(0);
|
|
3284
3297
|
|
|
3285
|
-
var T = __webpack_require__(
|
|
3298
|
+
var T = __webpack_require__(1);
|
|
3286
3299
|
|
|
3287
3300
|
var styled_components_1 = __webpack_require__(4);
|
|
3288
3301
|
|
|
3289
3302
|
var lodash_1 = __webpack_require__(3);
|
|
3290
3303
|
|
|
3291
|
-
var pick_1 = __webpack_require__(
|
|
3304
|
+
var pick_1 = __webpack_require__(23);
|
|
3292
3305
|
|
|
3293
|
-
var variables_1 = __webpack_require__(
|
|
3306
|
+
var variables_1 = __webpack_require__(10); // was previously lineColor in themeRegistry
|
|
3294
3307
|
|
|
3295
3308
|
|
|
3296
3309
|
var GridLine = styled_components_1.default.line.withConfig({
|
|
@@ -3356,76 +3369,6 @@ exports.default = PunchcardGridLines;
|
|
|
3356
3369
|
|
|
3357
3370
|
/***/ }),
|
|
3358
3371
|
|
|
3359
|
-
/***/ 443:
|
|
3360
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3361
|
-
|
|
3362
|
-
"use strict";
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3366
|
-
value: true
|
|
3367
|
-
});
|
|
3368
|
-
exports.convertToPunchcardProperties = exports.mapToOldKey = exports.punchcardOptionValuesMapping = void 0;
|
|
3369
|
-
|
|
3370
|
-
var lodash_1 = __webpack_require__(3);
|
|
3371
|
-
|
|
3372
|
-
var chartingUtils_1 = __webpack_require__(55);
|
|
3373
|
-
|
|
3374
|
-
var punchcardOptionsMapping = {
|
|
3375
|
-
legendDisplay: 'showLegend',
|
|
3376
|
-
bubbleLabelDisplay: 'showBubbleLabels',
|
|
3377
|
-
showDefaultSort: 'useDefaultSort',
|
|
3378
|
-
bubbleSizeMethod: 'bubbleScale',
|
|
3379
|
-
showDynamicBubbleSize: 'isBubbleSizeDynamic',
|
|
3380
|
-
bubbleRadiusMax: 'maxBubbleRadius',
|
|
3381
|
-
bubbleRadiusMin: 'minBubbleRadius',
|
|
3382
|
-
bubbleSizeMax: 'maxBubbleSize',
|
|
3383
|
-
bubbleSizeMin: 'minBubbleSize'
|
|
3384
|
-
}; // key value mapping of what options (and their corresponding values) which
|
|
3385
|
-
// we expose in config.ts to property values PurePunchcard understands
|
|
3386
|
-
|
|
3387
|
-
exports.punchcardOptionValuesMapping = {
|
|
3388
|
-
showLegend: {
|
|
3389
|
-
right: true,
|
|
3390
|
-
off: false
|
|
3391
|
-
},
|
|
3392
|
-
showBubbleLabels: {
|
|
3393
|
-
off: 'none'
|
|
3394
|
-
},
|
|
3395
|
-
colorMode: {
|
|
3396
|
-
dynamic: 'sequential'
|
|
3397
|
-
}
|
|
3398
|
-
};
|
|
3399
|
-
/**
|
|
3400
|
-
* Helper method to update the option names which can be mapped to PurePunchcard options
|
|
3401
|
-
* @method mapToOldKey
|
|
3402
|
-
* @param {Object} options
|
|
3403
|
-
* @returns {Object}
|
|
3404
|
-
*/
|
|
3405
|
-
|
|
3406
|
-
var mapToOldKey = function mapToOldKey(options) {
|
|
3407
|
-
return lodash_1.mapKeys(options, function (val, key) {
|
|
3408
|
-
return punchcardOptionsMapping[key] ? punchcardOptionsMapping[key] : key;
|
|
3409
|
-
});
|
|
3410
|
-
};
|
|
3411
|
-
|
|
3412
|
-
exports.mapToOldKey = mapToOldKey;
|
|
3413
|
-
/**
|
|
3414
|
-
* Chained helper for mapping the option properties (and values) we expose in config.ts into property values that PurePunchcard accepts
|
|
3415
|
-
* This is for options that has new key name and can not directly be mapped with PurePunchcard props
|
|
3416
|
-
* @method convertToPunchcardProperties
|
|
3417
|
-
* @param {Object} originalOptions
|
|
3418
|
-
* @returns {Object}
|
|
3419
|
-
*/
|
|
3420
|
-
|
|
3421
|
-
var convertToPunchcardProperties = function convertToPunchcardProperties(originalOptions) {
|
|
3422
|
-
return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(chartingUtils_1.mapToValues(exports.punchcardOptionValuesMapping)).value();
|
|
3423
|
-
};
|
|
3424
|
-
|
|
3425
|
-
exports.convertToPunchcardProperties = convertToPunchcardProperties;
|
|
3426
|
-
|
|
3427
|
-
/***/ }),
|
|
3428
|
-
|
|
3429
3372
|
/***/ 45:
|
|
3430
3373
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3431
3374
|
|
|
@@ -3437,13 +3380,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3437
3380
|
});
|
|
3438
3381
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
3439
3382
|
|
|
3440
|
-
var React = __webpack_require__(
|
|
3383
|
+
var React = __webpack_require__(0);
|
|
3441
3384
|
|
|
3442
|
-
var T = __webpack_require__(
|
|
3385
|
+
var T = __webpack_require__(1);
|
|
3443
3386
|
|
|
3444
3387
|
var i18n_1 = __webpack_require__(2);
|
|
3445
3388
|
|
|
3446
|
-
var Message_1 = __webpack_require__(
|
|
3389
|
+
var Message_1 = __webpack_require__(9);
|
|
3447
3390
|
|
|
3448
3391
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
3449
3392
|
/**
|
|
@@ -3507,6 +3450,76 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
3507
3450
|
|
|
3508
3451
|
/***/ }),
|
|
3509
3452
|
|
|
3453
|
+
/***/ 450:
|
|
3454
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3455
|
+
|
|
3456
|
+
"use strict";
|
|
3457
|
+
|
|
3458
|
+
|
|
3459
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3460
|
+
value: true
|
|
3461
|
+
});
|
|
3462
|
+
exports.convertToPunchcardProperties = exports.mapToOldKey = exports.punchcardOptionValuesMapping = void 0;
|
|
3463
|
+
|
|
3464
|
+
var lodash_1 = __webpack_require__(3);
|
|
3465
|
+
|
|
3466
|
+
var chartingUtils_1 = __webpack_require__(55);
|
|
3467
|
+
|
|
3468
|
+
var punchcardOptionsMapping = {
|
|
3469
|
+
legendDisplay: 'showLegend',
|
|
3470
|
+
bubbleLabelDisplay: 'showBubbleLabels',
|
|
3471
|
+
showDefaultSort: 'useDefaultSort',
|
|
3472
|
+
bubbleSizeMethod: 'bubbleScale',
|
|
3473
|
+
showDynamicBubbleSize: 'isBubbleSizeDynamic',
|
|
3474
|
+
bubbleRadiusMax: 'maxBubbleRadius',
|
|
3475
|
+
bubbleRadiusMin: 'minBubbleRadius',
|
|
3476
|
+
bubbleSizeMax: 'maxBubbleSize',
|
|
3477
|
+
bubbleSizeMin: 'minBubbleSize'
|
|
3478
|
+
}; // key value mapping of what options (and their corresponding values) which
|
|
3479
|
+
// we expose in config.ts to property values PurePunchcard understands
|
|
3480
|
+
|
|
3481
|
+
exports.punchcardOptionValuesMapping = {
|
|
3482
|
+
showLegend: {
|
|
3483
|
+
right: true,
|
|
3484
|
+
off: false
|
|
3485
|
+
},
|
|
3486
|
+
showBubbleLabels: {
|
|
3487
|
+
off: 'none'
|
|
3488
|
+
},
|
|
3489
|
+
colorMode: {
|
|
3490
|
+
dynamic: 'sequential'
|
|
3491
|
+
}
|
|
3492
|
+
};
|
|
3493
|
+
/**
|
|
3494
|
+
* Helper method to update the option names which can be mapped to PurePunchcard options
|
|
3495
|
+
* @method mapToOldKey
|
|
3496
|
+
* @param {Object} options
|
|
3497
|
+
* @returns {Object}
|
|
3498
|
+
*/
|
|
3499
|
+
|
|
3500
|
+
var mapToOldKey = function mapToOldKey(options) {
|
|
3501
|
+
return lodash_1.mapKeys(options, function (val, key) {
|
|
3502
|
+
return punchcardOptionsMapping[key] ? punchcardOptionsMapping[key] : key;
|
|
3503
|
+
});
|
|
3504
|
+
};
|
|
3505
|
+
|
|
3506
|
+
exports.mapToOldKey = mapToOldKey;
|
|
3507
|
+
/**
|
|
3508
|
+
* Chained helper for mapping the option properties (and values) we expose in config.ts into property values that PurePunchcard accepts
|
|
3509
|
+
* This is for options that has new key name and can not directly be mapped with PurePunchcard props
|
|
3510
|
+
* @method convertToPunchcardProperties
|
|
3511
|
+
* @param {Object} originalOptions
|
|
3512
|
+
* @returns {Object}
|
|
3513
|
+
*/
|
|
3514
|
+
|
|
3515
|
+
var convertToPunchcardProperties = function convertToPunchcardProperties(originalOptions) {
|
|
3516
|
+
return lodash_1.chain(exports.mapToOldKey(originalOptions)).thru(chartingUtils_1.mapToValues(exports.punchcardOptionValuesMapping)).value();
|
|
3517
|
+
};
|
|
3518
|
+
|
|
3519
|
+
exports.convertToPunchcardProperties = convertToPunchcardProperties;
|
|
3520
|
+
|
|
3521
|
+
/***/ }),
|
|
3522
|
+
|
|
3510
3523
|
/***/ 46:
|
|
3511
3524
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3512
3525
|
|
|
@@ -3517,18 +3530,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3517
3530
|
value: true
|
|
3518
3531
|
});
|
|
3519
3532
|
|
|
3520
|
-
var React = __webpack_require__(
|
|
3533
|
+
var React = __webpack_require__(0);
|
|
3521
3534
|
|
|
3522
3535
|
var styled_components_1 = __webpack_require__(4);
|
|
3523
3536
|
|
|
3524
|
-
var hocUtils_1 = __webpack_require__(
|
|
3537
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
3525
3538
|
|
|
3526
3539
|
var Cover = styled_components_1.default.div.withConfig({
|
|
3527
3540
|
displayName: "withEditModeCover__Cover",
|
|
3528
3541
|
componentId: "sc-1gsbnxb-0"
|
|
3529
3542
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3530
3543
|
var Blocker = styled_components_1.default.div.attrs({
|
|
3531
|
-
'data-splunk-visualization-version': "25.
|
|
3544
|
+
'data-splunk-visualization-version': "25.7.1 - 6a77c5530"
|
|
3532
3545
|
}).withConfig({
|
|
3533
3546
|
displayName: "withEditModeCover__Blocker",
|
|
3534
3547
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3570,17 +3583,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3570
3583
|
value: true
|
|
3571
3584
|
});
|
|
3572
3585
|
|
|
3573
|
-
var React = __webpack_require__(
|
|
3586
|
+
var React = __webpack_require__(0);
|
|
3574
3587
|
|
|
3575
3588
|
var colorUtils_1 = __webpack_require__(12);
|
|
3576
3589
|
|
|
3577
|
-
var variables_1 = __webpack_require__(
|
|
3590
|
+
var variables_1 = __webpack_require__(10);
|
|
3578
3591
|
|
|
3579
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
3592
|
+
var IconPlaceholder_1 = __webpack_require__(31);
|
|
3580
3593
|
|
|
3581
3594
|
var VizBehavior_1 = __webpack_require__(6);
|
|
3582
3595
|
|
|
3583
|
-
var hocUtils_1 = __webpack_require__(
|
|
3596
|
+
var hocUtils_1 = __webpack_require__(15);
|
|
3584
3597
|
|
|
3585
3598
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
3586
3599
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -3683,7 +3696,7 @@ exports.default = background;
|
|
|
3683
3696
|
"use strict";
|
|
3684
3697
|
|
|
3685
3698
|
|
|
3686
|
-
var _toConsumableArray = __webpack_require__(
|
|
3699
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
3687
3700
|
|
|
3688
3701
|
var __rest = this && this.__rest || function (s, e) {
|
|
3689
3702
|
var t = {};
|
|
@@ -3933,6 +3946,7 @@ var VizBehavior;
|
|
|
3933
3946
|
|
|
3934
3947
|
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
3935
3948
|
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
3949
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
3936
3950
|
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
3937
3951
|
|
|
3938
3952
|
/***/ }),
|
|
@@ -3940,39 +3954,39 @@ var VizBehavior;
|
|
|
3940
3954
|
/***/ 7:
|
|
3941
3955
|
/***/ (function(module, exports) {
|
|
3942
3956
|
|
|
3943
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3957
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
3944
3958
|
|
|
3945
3959
|
/***/ }),
|
|
3946
3960
|
|
|
3947
3961
|
/***/ 8:
|
|
3948
3962
|
/***/ (function(module, exports) {
|
|
3949
3963
|
|
|
3950
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3964
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
3951
3965
|
|
|
3952
3966
|
/***/ }),
|
|
3953
3967
|
|
|
3954
|
-
/***/
|
|
3968
|
+
/***/ 86:
|
|
3955
3969
|
/***/ (function(module, exports) {
|
|
3956
3970
|
|
|
3957
3971
|
module.exports = require("d3-scale");
|
|
3958
3972
|
|
|
3959
3973
|
/***/ }),
|
|
3960
3974
|
|
|
3961
|
-
/***/
|
|
3975
|
+
/***/ 9:
|
|
3962
3976
|
/***/ (function(module, exports) {
|
|
3963
3977
|
|
|
3964
|
-
module.exports = require("@
|
|
3978
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
3965
3979
|
|
|
3966
3980
|
/***/ }),
|
|
3967
3981
|
|
|
3968
|
-
/***/
|
|
3982
|
+
/***/ 93:
|
|
3969
3983
|
/***/ (function(module, exports) {
|
|
3970
3984
|
|
|
3971
|
-
module.exports = require("@
|
|
3985
|
+
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
3972
3986
|
|
|
3973
3987
|
/***/ }),
|
|
3974
3988
|
|
|
3975
|
-
/***/
|
|
3989
|
+
/***/ 94:
|
|
3976
3990
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3977
3991
|
|
|
3978
3992
|
"use strict";
|
|
@@ -3985,7 +3999,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3985
3999
|
});
|
|
3986
4000
|
exports.truncateAxisLabelText = exports.isBubbleSelected = exports.isSomethingSelected = exports.getDataByRows = exports.createValueScale = exports.getScales = exports.getChartAreaDimensions = exports.getColorCategoryMapping = exports.GRAYSCALE_FILTER_ID = exports.BUBBLE_LABELS_TYPES = exports.COLOR_MODE_TYPES = exports.BUBBLE_SCALE_TYPES = exports.BUBBLE_ROW_SCALE_TYPES = exports.AXIS_ORIENTATION_TYPES = void 0;
|
|
3987
4001
|
|
|
3988
|
-
var d3_scale_1 = __webpack_require__(
|
|
4002
|
+
var d3_scale_1 = __webpack_require__(86);
|
|
3989
4003
|
/**
|
|
3990
4004
|
* @enum {AXIS_ORIENTATION_TYPES}
|
|
3991
4005
|
*/
|