@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.
Files changed (218) hide show
  1. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  2. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  3. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  4. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  5. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  6. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  7. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  8. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  9. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  10. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  11. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_Visualizations_Bar_Bar_Legend_Mode_Series_Compare.png +0 -0
  16. package/.loki/reference/chrome_docker_Visualizations_Column_Column_Legend_Mode_Series_Compare.png +0 -0
  17. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_Pagination.png +0 -0
  18. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_background_color.png +0 -0
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_layout_options.png +0 -0
  25. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_makeresults_name_age.png +0 -0
  26. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_makeresults_name_age_aggregations.png +0 -0
  27. 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
  28. 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
  29. 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
  30. 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
  31. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_table.png +0 -0
  32. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_table_aggregations.png +0 -0
  33. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Basic_Single_Value_Icon_Trellis_timechart_cmd_count_aggregations.png +0 -0
  34. 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
  35. 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
  36. 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
  37. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Chart.png +0 -0
  38. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Chart_Count.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Pagination.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_Timechart.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_background_color.png +0 -0
  42. 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
  43. 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
  44. 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
  45. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_layout_options.png +0 -0
  46. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_makeresults_name_age.png +0 -0
  47. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_makeresults_name_age_aggregations.png +0 -0
  48. 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
  49. 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
  50. 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
  51. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_table.png +0 -0
  52. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_table_aggregations.png +0 -0
  53. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Radial_Single_Value_Radial_Basic_Single_Value_Radial_Trellis_timechart_cmd_count_aggregations.png +0 -0
  54. 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
  55. 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
  56. 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
  57. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_Pagination.png +0 -0
  58. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_assign_default_trellisSplitBy_value_status.png +0 -0
  59. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_background_color.png +0 -0
  60. 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
  61. 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
  62. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status.png +0 -0
  63. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user.png +0 -0
  64. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user_aggregations.png +0 -0
  65. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_count_by_status_user_user.png +0 -0
  66. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_chart_cmd_max_count_avg_count_aggregations.png +0 -0
  67. 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
  68. 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
  69. 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
  70. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_layout_options.png +0 -0
  71. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_makeresults_name_age.png +0 -0
  72. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_makeresults_name_age_aggregations.png +0 -0
  73. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_avg_count_max_count_aggregations.png +0 -0
  74. 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
  75. 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
  76. 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
  77. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_count_by_status_user.png +0 -0
  78. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_stats_cmd_count_by_status_user_aggregations.png +0 -0
  79. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_table.png +0 -0
  80. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_table_aggregations.png +0 -0
  81. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_aggregations.png +0 -0
  82. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_by_status.png +0 -0
  83. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Basic_Single_Value_Trellis_timechart_cmd_count_by_status_aggregations.png +0 -0
  84. 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
  85. 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
  86. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Major_value_data_null_show_N_A.png +0 -0
  87. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Set_The_Background_Color_Based_On_The_Major_Value_Trellis.png +0 -0
  88. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
  89. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
  90. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_50_no_paginator.png +0 -0
  91. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
  92. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
  93. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
  94. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
  95. package/Area.config.js +12 -7
  96. package/Area.config.js.map +1 -1
  97. package/Area.js +192 -171
  98. package/Area.js.map +1 -1
  99. package/Bar.config.js +36 -8
  100. package/Bar.config.js.map +1 -1
  101. package/Bar.js +216 -172
  102. package/Bar.js.map +1 -1
  103. package/Bubble.config.js +7 -2
  104. package/Bubble.config.js.map +1 -1
  105. package/Bubble.js +183 -162
  106. package/Bubble.js.map +1 -1
  107. package/ChoroplethSvg.config.js +12 -8
  108. package/ChoroplethSvg.config.js.map +1 -1
  109. package/ChoroplethSvg.js +191 -174
  110. package/ChoroplethSvg.js.map +1 -1
  111. package/Column.config.js +36 -8
  112. package/Column.config.js.map +1 -1
  113. package/Column.js +216 -172
  114. package/Column.js.map +1 -1
  115. package/Ellipse.config.js +23 -20
  116. package/Ellipse.config.js.map +1 -1
  117. package/Ellipse.js +168 -149
  118. package/Ellipse.js.map +1 -1
  119. package/Events.config.js +79 -19
  120. package/Events.config.js.map +1 -1
  121. package/Events.js +404 -244
  122. package/Events.js.map +1 -1
  123. package/FEATUREFLAGS.md +40 -0
  124. package/FillerGauge.config.js +22 -19
  125. package/FillerGauge.config.js.map +1 -1
  126. package/FillerGauge.js +170 -151
  127. package/FillerGauge.js.map +1 -1
  128. package/Image.config.js +3 -3
  129. package/Image.config.js.map +1 -1
  130. package/Image.js +143 -130
  131. package/Image.js.map +1 -1
  132. package/LICENSE.md +444 -8
  133. package/Line.config.js +12 -7
  134. package/Line.config.js.map +1 -1
  135. package/Line.js +192 -171
  136. package/Line.js.map +1 -1
  137. package/LinkGraph.config.js +9 -15
  138. package/LinkGraph.config.js.map +1 -1
  139. package/LinkGraph.js +743 -729
  140. package/LinkGraph.js.map +1 -1
  141. package/Map.config.js +51 -48
  142. package/Map.config.js.map +1 -1
  143. package/Map.js +602 -587
  144. package/Map.js.map +1 -1
  145. package/Markdown.config.js +10 -9
  146. package/Markdown.config.js.map +1 -1
  147. package/Markdown.js +185 -171
  148. package/Markdown.js.map +1 -1
  149. package/MarkerGauge.config.js +71 -70
  150. package/MarkerGauge.config.js.map +1 -1
  151. package/MarkerGauge.js +193 -179
  152. package/MarkerGauge.js.map +1 -1
  153. package/ParallelCoordinates.config.js +3 -3
  154. package/ParallelCoordinates.config.js.map +1 -1
  155. package/ParallelCoordinates.js +179 -155
  156. package/ParallelCoordinates.js.map +1 -1
  157. package/Pie.config.js +30 -6
  158. package/Pie.config.js.map +1 -1
  159. package/Pie.js +237 -200
  160. package/Pie.js.map +1 -1
  161. package/Punchcard.config.js +3 -2
  162. package/Punchcard.config.js.map +1 -1
  163. package/Punchcard.js +305 -291
  164. package/Punchcard.js.map +1 -1
  165. package/Rectangle.config.js +22 -23
  166. package/Rectangle.config.js.map +1 -1
  167. package/Rectangle.js +232 -220
  168. package/Rectangle.js.map +1 -1
  169. package/Sankey.config.js +14 -13
  170. package/Sankey.config.js.map +1 -1
  171. package/Sankey.js +1311 -1297
  172. package/Sankey.js.map +1 -1
  173. package/Scatter.config.js +552 -580
  174. package/Scatter.config.js.map +1 -1
  175. package/Scatter.js +258 -244
  176. package/Scatter.js.map +1 -1
  177. package/SingleValue.config.js +242 -52
  178. package/SingleValue.config.js.map +1 -1
  179. package/SingleValue.js +1456 -350
  180. package/SingleValue.js.map +1 -1
  181. package/SingleValueBasic.js +40 -29
  182. package/SingleValueBasic.js.map +1 -1
  183. package/SingleValueIcon.config.js +267 -58
  184. package/SingleValueIcon.config.js.map +1 -1
  185. package/SingleValueIcon.js +1490 -363
  186. package/SingleValueIcon.js.map +1 -1
  187. package/SingleValueRadial.config.js +249 -41
  188. package/SingleValueRadial.config.js.map +1 -1
  189. package/SingleValueRadial.js +1435 -286
  190. package/SingleValueRadial.js.map +1 -1
  191. package/TRELLIS.md +296 -0
  192. package/Table.config.js +39 -41
  193. package/Table.config.js.map +1 -1
  194. package/Table.js +352 -306
  195. package/Table.js.map +1 -1
  196. package/common/EventsDoc.js +9 -3
  197. package/common/EventsDoc.js.map +1 -1
  198. package/common/docUtils.js +1 -1
  199. package/common/docUtils.js.map +1 -1
  200. package/common/utils/configUtils.js +26 -20
  201. package/common/utils/configUtils.js.map +1 -1
  202. package/common/utils/dataUtils.js +2 -2
  203. package/common/utils/dataUtils.js.map +1 -1
  204. package/common/utils/hocUtils.js +2 -2
  205. package/common/utils/hocUtils.js.map +1 -1
  206. package/common/utils/layoutUtils.js +115 -0
  207. package/common/utils/layoutUtils.js.map +1 -0
  208. package/common/utils/mapUtils.js +1166 -23
  209. package/common/utils/mapUtils.js.map +1 -1
  210. package/common/utils/singleValueUtils.js +54 -46
  211. package/common/utils/singleValueUtils.js.map +1 -1
  212. package/common/utils/testHelper.js +14 -14
  213. package/common/utils/testHelper.js.map +1 -1
  214. package/common/utils/trellisUtils.js +612 -0
  215. package/common/utils/trellisUtils.js.map +1 -0
  216. package/common/withDashboardViz.js +31 -17
  217. package/common/withDashboardViz.js.map +1 -1
  218. package/package.json +12 -12
package/Events.js CHANGED
@@ -87,20 +87,20 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 189);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 196);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
94
94
  /* 0 */
95
95
  /***/ (function(module, exports) {
96
96
 
97
- module.exports = require("prop-types");
97
+ module.exports = require("react");
98
98
 
99
99
  /***/ }),
100
100
  /* 1 */
101
101
  /***/ (function(module, exports) {
102
102
 
103
- module.exports = require("react");
103
+ module.exports = require("prop-types");
104
104
 
105
105
  /***/ }),
106
106
  /* 2 */
@@ -156,31 +156,32 @@ var VizBehavior;
156
156
 
157
157
  VizBehavior["PLACEHOLDER"] = "placeholder";
158
158
  VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
159
+ VizBehavior["TRELLIS"] = "trellis";
159
160
  })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
160
161
 
161
162
  /***/ }),
162
163
  /* 7 */
163
164
  /***/ (function(module, exports) {
164
165
 
165
- module.exports = require("@babel/runtime/helpers/defineProperty");
166
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
166
167
 
167
168
  /***/ }),
168
169
  /* 8 */
169
170
  /***/ (function(module, exports) {
170
171
 
171
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
172
+ module.exports = require("@babel/runtime/helpers/defineProperty");
172
173
 
173
174
  /***/ }),
174
175
  /* 9 */
175
176
  /***/ (function(module, exports) {
176
177
 
177
- module.exports = require("@splunk/themes/variables");
178
+ module.exports = require("@splunk/visualizations-shared/Message");
178
179
 
179
180
  /***/ }),
180
181
  /* 10 */
181
182
  /***/ (function(module, exports) {
182
183
 
183
- module.exports = require("@splunk/visualizations-shared/Message");
184
+ module.exports = require("@splunk/themes/variables");
184
185
 
185
186
  /***/ }),
186
187
  /* 11 */
@@ -205,13 +206,13 @@ Object.defineProperty(exports, "__esModule", {
205
206
  value: true
206
207
  });
207
208
 
208
- var React = __webpack_require__(1);
209
+ var React = __webpack_require__(0);
209
210
 
210
211
  var styled_components_1 = __webpack_require__(4);
211
212
 
212
- var SizeAwareWrapper_1 = __webpack_require__(21);
213
+ var SizeAwareWrapper_1 = __webpack_require__(18);
213
214
 
214
- var style_1 = __webpack_require__(15);
215
+ var style_1 = __webpack_require__(14);
215
216
 
216
217
  var colorUtils_1 = __webpack_require__(12);
217
218
 
@@ -270,7 +271,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
270
271
 
271
272
  return React.createElement(FixSizeItem, {
272
273
  "data-test": "fix-size-item",
273
- "data-splunk-visualization-version": "25.6.0 - f5eb3abf9",
274
+ "data-splunk-visualization-version": "25.7.1 - 6a77c5530",
274
275
  width: width,
275
276
  height: height,
276
277
  backgroundColor: backgroundColor
@@ -292,6 +293,12 @@ exports.default = withFixedSizeContainer;
292
293
 
293
294
  /***/ }),
294
295
  /* 14 */
296
+ /***/ (function(module, exports) {
297
+
298
+ module.exports = require("@splunk/visualizations-shared/style");
299
+
300
+ /***/ }),
301
+ /* 15 */
295
302
  /***/ (function(module, exports, __webpack_require__) {
296
303
 
297
304
  "use strict";
@@ -322,12 +329,6 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
322
329
 
323
330
  exports.extendStaticWrapperProps = extendStaticWrapperProps;
324
331
 
325
- /***/ }),
326
- /* 15 */
327
- /***/ (function(module, exports) {
328
-
329
- module.exports = require("@splunk/visualizations-shared/style");
330
-
331
332
  /***/ }),
332
333
  /* 16 */
333
334
  /***/ (function(module, exports) {
@@ -342,14 +343,20 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
342
343
 
343
344
  /***/ }),
344
345
  /* 18 */
346
+ /***/ (function(module, exports) {
347
+
348
+ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
349
+
350
+ /***/ }),
351
+ /* 19 */
345
352
  /***/ (function(module, exports, __webpack_require__) {
346
353
 
347
354
  "use strict";
348
355
 
349
356
 
350
- var _toConsumableArray = __webpack_require__(8);
357
+ var _toConsumableArray = __webpack_require__(7);
351
358
 
352
- var _defineProperty = __webpack_require__(7);
359
+ var _defineProperty = __webpack_require__(8);
353
360
 
354
361
  var __rest = this && this.__rest || function (s, e) {
355
362
  var t = {};
@@ -577,58 +584,58 @@ var insertLayout = function insertLayout(layout, index) {
577
584
  exports.insertLayout = insertLayout;
578
585
 
579
586
  /***/ }),
580
- /* 19 */,
581
587
  /* 20 */
582
588
  /***/ (function(module, exports) {
583
589
 
584
- module.exports = require("@babel/runtime/helpers/createClass");
590
+ module.exports = require("@splunk/visualization-context/FeatureFlagContext");
585
591
 
586
592
  /***/ }),
587
- /* 21 */
593
+ /* 21 */,
594
+ /* 22 */
588
595
  /***/ (function(module, exports) {
589
596
 
590
- module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
597
+ module.exports = require("@babel/runtime/helpers/createClass");
591
598
 
592
599
  /***/ }),
593
- /* 22 */
600
+ /* 23 */
594
601
  /***/ (function(module, exports) {
595
602
 
596
603
  module.exports = require("@splunk/themes/pick");
597
604
 
598
605
  /***/ }),
599
- /* 23 */,
600
- /* 24 */
606
+ /* 24 */,
607
+ /* 25 */
601
608
  /***/ (function(module, exports) {
602
609
 
603
610
  module.exports = require("@splunk/visualization-context/TimezoneContext");
604
611
 
605
612
  /***/ }),
606
- /* 25 */,
607
613
  /* 26 */
608
614
  /***/ (function(module, exports) {
609
615
 
610
- module.exports = require("@splunk/visualization-context/FeatureFlagContext");
616
+ module.exports = require("@splunk/visualizations-shared/hocUtils");
611
617
 
612
618
  /***/ }),
613
619
  /* 27 */
614
620
  /***/ (function(module, exports) {
615
621
 
616
- module.exports = require("@splunk/visualizations-shared/hocUtils");
622
+ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
617
623
 
618
624
  /***/ }),
619
- /* 28 */
625
+ /* 28 */,
626
+ /* 29 */
620
627
  /***/ (function(module, exports) {
621
628
 
622
- module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
629
+ module.exports = require("@splunk/visualization-encoding/Options");
623
630
 
624
631
  /***/ }),
625
- /* 29 */
632
+ /* 30 */
626
633
  /***/ (function(module, exports) {
627
634
 
628
635
  module.exports = require("@splunk/visualizations-shared/numberUtils");
629
636
 
630
637
  /***/ }),
631
- /* 30 */
638
+ /* 31 */
632
639
  /***/ (function(module, exports, __webpack_require__) {
633
640
 
634
641
  "use strict";
@@ -639,15 +646,15 @@ Object.defineProperty(exports, "__esModule", {
639
646
  });
640
647
  exports.shouldShowIconPlaceholder = void 0;
641
648
 
642
- var React = __webpack_require__(1);
649
+ var React = __webpack_require__(0);
643
650
 
644
- var T = __webpack_require__(0);
651
+ var T = __webpack_require__(1);
645
652
 
646
653
  var lodash_1 = __webpack_require__(3);
647
654
 
648
655
  var i18n_1 = __webpack_require__(2);
649
656
 
650
- var Message_1 = __webpack_require__(10);
657
+ var Message_1 = __webpack_require__(9);
651
658
 
652
659
  var FixedSizeContainer_1 = __webpack_require__(13);
653
660
  /**
@@ -719,26 +726,26 @@ IconPlaceholder.defaultProps = {
719
726
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
720
727
 
721
728
  /***/ }),
722
- /* 31 */
729
+ /* 32 */
723
730
  /***/ (function(module, exports) {
724
731
 
725
732
  module.exports = require("@splunk/ui-utils/id");
726
733
 
727
734
  /***/ }),
728
- /* 32 */
735
+ /* 33 */
729
736
  /***/ (function(module, exports, __webpack_require__) {
730
737
 
731
738
  "use strict";
732
739
 
733
740
 
734
- var _defineProperty = __webpack_require__(7);
741
+ var _defineProperty = __webpack_require__(8);
735
742
 
736
743
  Object.defineProperty(exports, "__esModule", {
737
744
  value: true
738
745
  });
739
746
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
740
747
 
741
- var T = __webpack_require__(0);
748
+ var T = __webpack_require__(1);
742
749
 
743
750
  var lodash_1 = __webpack_require__(3);
744
751
 
@@ -762,7 +769,7 @@ var getSortingParams = function getSortingParams(_ref) {
762
769
  };
763
770
  var onSort;
764
771
 
765
- if (lodash_1.isFunction(onRequestParamsChange)) {
772
+ if (typeof onRequestParamsChange === 'function') {
766
773
  if (requestParams && lodash_1.has(requestParams, 'sort')) {
767
774
  currentSortKey = Object.keys(requestParams.sort).shift();
768
775
  currentSortDir = requestParams.sort[currentSortKey];
@@ -795,7 +802,7 @@ var getSortingParams = function getSortingParams(_ref) {
795
802
  exports.getSortingParams = getSortingParams;
796
803
 
797
804
  /***/ }),
798
- /* 33 */
805
+ /* 34 */
799
806
  /***/ (function(module, exports, __webpack_require__) {
800
807
 
801
808
  "use strict";
@@ -806,7 +813,7 @@ Object.defineProperty(exports, "__esModule", {
806
813
  });
807
814
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
808
815
 
809
- var T = __webpack_require__(0);
816
+ var T = __webpack_require__(1);
810
817
 
811
818
  var lodash_1 = __webpack_require__(3);
812
819
 
@@ -826,7 +833,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
826
833
  var count = requestParams && requestParams.count;
827
834
  var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
828
835
  var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
829
- var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
836
+ var isPaging = totalPages > 1 && typeof onRequestParamsChange === 'function';
830
837
 
831
838
  var onChangeHandler = function onChangeHandler(e, _ref2) {
832
839
  var page = _ref2.page,
@@ -852,14 +859,14 @@ var getPaginationParams = function getPaginationParams(_ref) {
852
859
  isPaging: isPaging,
853
860
  current: current,
854
861
  totalPages: totalPages,
855
- onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
862
+ onChange: typeof onRequestParamsChange === 'function' ? onChangeHandler : lodash_1.noop
856
863
  };
857
864
  };
858
865
 
859
866
  exports.getPaginationParams = getPaginationParams;
860
867
 
861
868
  /***/ }),
862
- /* 34 */
869
+ /* 35 */
863
870
  /***/ (function(module, exports, __webpack_require__) {
864
871
 
865
872
  "use strict";
@@ -887,7 +894,7 @@ var VizCategory;
887
894
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
888
895
 
889
896
  /***/ }),
890
- /* 35 */
897
+ /* 36 */
891
898
  /***/ (function(module, exports, __webpack_require__) {
892
899
 
893
900
  "use strict";
@@ -899,39 +906,39 @@ Object.defineProperty(exports, "__esModule", {
899
906
  value: true
900
907
  });
901
908
 
902
- var React = __webpack_require__(1);
909
+ var React = __webpack_require__(0);
903
910
 
904
911
  var lodash_1 = __webpack_require__(3);
905
912
 
906
- var getSettingsFromThemedProps_1 = __webpack_require__(36);
913
+ var getSettingsFromThemedProps_1 = __webpack_require__(37);
907
914
 
908
- var Options_1 = __webpack_require__(37);
915
+ var Options_1 = __webpack_require__(29);
909
916
 
910
917
  var SanitizeProps_1 = __webpack_require__(38);
911
918
 
912
- var TimezoneContext_1 = __webpack_require__(24);
919
+ var TimezoneContext_1 = __webpack_require__(25);
913
920
 
914
921
  var moment_1 = __webpack_require__(39);
915
922
 
916
- var FeatureFlagContext_1 = __webpack_require__(26);
923
+ var FeatureFlagContext_1 = __webpack_require__(20);
917
924
 
918
925
  var styled_components_1 = __webpack_require__(4);
919
926
 
920
- var hocUtils_1 = __webpack_require__(27);
927
+ var hocUtils_1 = __webpack_require__(26);
921
928
 
922
- var JSONSchemaUtils_1 = __webpack_require__(28);
929
+ var JSONSchemaUtils_1 = __webpack_require__(27);
923
930
 
924
931
  var async_dynamic_options_evaluator_1 = __webpack_require__(40);
925
932
 
926
- var id_1 = __webpack_require__(31);
933
+ var id_1 = __webpack_require__(32);
927
934
 
928
935
  var SplunkVisualization_1 = __webpack_require__(41);
929
936
 
930
937
  var VizBehavior_1 = __webpack_require__(6);
931
938
 
932
- var getSorting_1 = __webpack_require__(32);
939
+ var getSorting_1 = __webpack_require__(33);
933
940
 
934
- var getPagination_1 = __webpack_require__(33);
941
+ var getPagination_1 = __webpack_require__(34);
935
942
 
936
943
  var useDeepMemo_1 = __webpack_require__(44);
937
944
 
@@ -960,6 +967,8 @@ var withDashboardViz = function withDashboardViz(opts) {
960
967
  var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(vizConfig.optionsSchema, 'default');
961
968
 
962
969
  var DashboardViz = function DashboardViz(props) {
970
+ var _a;
971
+
963
972
  var mode = props.mode,
964
973
  hasEventHandlers = props.hasEventHandlers,
965
974
  dataSources = props.dataSources,
@@ -1019,7 +1028,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1019
1028
  _React$useState4 = _slicedToArray(_React$useState3, 1),
1020
1029
  visualizationID = _React$useState4[0];
1021
1030
 
1022
- var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext['visualizations.useWebWorkersForDSL'] && typeof Worker !== 'undefined')),
1031
+ var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext.visualizations_useWebWorkersForDSL && typeof Worker !== 'undefined')),
1023
1032
  _React$useState6 = _slicedToArray(_React$useState5, 2),
1024
1033
  useAsyncEvaluatedOptions = _React$useState6[0],
1025
1034
  setUseAsyncEvaluatedOptions = _React$useState6[1];
@@ -1059,11 +1068,21 @@ var withDashboardViz = function withDashboardViz(opts) {
1059
1068
 
1060
1069
  return {};
1061
1070
  }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
1062
- var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // useEffect hook needs to be initialized before any early returns
1071
+ var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // trellis specific backgroundColor update for onComputedProps
1072
+ // 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
1073
+ // onComputedProps api should return back trellisBackgroundColor value for backgroundColor option to support coloring of sibling panels (for eg:- title/ description on UDF side)
1074
+
1075
+ var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
1076
+ var clonedEvaluatedOptions = lodash_1.cloneDeep(evaluatedOptionsToUse);
1077
+
1078
+ 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) {
1079
+ clonedEvaluatedOptions.backgroundColor = clonedEvaluatedOptions === null || clonedEvaluatedOptions === void 0 ? void 0 : clonedEvaluatedOptions.trellisBackgroundColor;
1080
+ } // useEffect hook needs to be initialized before any early returns
1063
1081
  // this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
1064
1082
 
1083
+
1065
1084
  React.useEffect(function () {
1066
- onComputedProps(evaluatedOptionsToUse);
1085
+ onComputedProps(clonedEvaluatedOptions);
1067
1086
  });
1068
1087
  React.useEffect(function () {
1069
1088
  return function () {
@@ -1078,15 +1097,16 @@ var withDashboardViz = function withDashboardViz(opts) {
1078
1097
  supports = vizConfig.supports;
1079
1098
  var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
1080
1099
 
1081
- if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)) {
1082
- return React.createElement(MissingPropsMessage_1.default, {
1083
- "data-test": "missing-props-message",
1084
- width: width,
1085
- height: height,
1086
- missingProps: missing,
1087
- backgroundColor: bgColorFromTheme
1088
- });
1089
- } // events
1100
+ 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
1101
+ ) {
1102
+ return React.createElement(MissingPropsMessage_1.default, {
1103
+ "data-test": "missing-props-message",
1104
+ width: width,
1105
+ height: height,
1106
+ missingProps: missing,
1107
+ backgroundColor: bgColorFromTheme
1108
+ });
1109
+ } // events
1090
1110
 
1091
1111
 
1092
1112
  var eventCallbackProps = {};
@@ -1188,17 +1208,11 @@ var withDashboardViz = function withDashboardViz(opts) {
1188
1208
 
1189
1209
  exports.default = withDashboardViz;
1190
1210
 
1191
- /***/ }),
1192
- /* 36 */
1193
- /***/ (function(module, exports) {
1194
-
1195
- module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1196
-
1197
1211
  /***/ }),
1198
1212
  /* 37 */
1199
1213
  /***/ (function(module, exports) {
1200
1214
 
1201
- module.exports = require("@splunk/visualization-encoding/Options");
1215
+ module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1202
1216
 
1203
1217
  /***/ }),
1204
1218
  /* 38 */
@@ -1233,7 +1247,7 @@ Object.defineProperty(exports, "__esModule", {
1233
1247
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
1234
1248
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
1235
1249
 
1236
- var T = __webpack_require__(0);
1250
+ var T = __webpack_require__(1);
1237
1251
 
1238
1252
  var lodash_1 = __webpack_require__(3);
1239
1253
 
@@ -1378,7 +1392,7 @@ exports.default = SplunkVisualization;
1378
1392
 
1379
1393
  var _classCallCheck = __webpack_require__(11);
1380
1394
 
1381
- var _createClass = __webpack_require__(20);
1395
+ var _createClass = __webpack_require__(22);
1382
1396
 
1383
1397
  Object.defineProperty(exports, "__esModule", {
1384
1398
  value: true
@@ -1431,7 +1445,7 @@ Object.defineProperty(exports, "__esModule", {
1431
1445
  });
1432
1446
  exports.useDeepMemo = void 0;
1433
1447
 
1434
- var react_1 = __webpack_require__(1);
1448
+ var react_1 = __webpack_require__(0);
1435
1449
 
1436
1450
  var lodash_1 = __webpack_require__(3);
1437
1451
  /**
@@ -1476,13 +1490,13 @@ Object.defineProperty(exports, "__esModule", {
1476
1490
  });
1477
1491
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
1478
1492
 
1479
- var React = __webpack_require__(1);
1493
+ var React = __webpack_require__(0);
1480
1494
 
1481
- var T = __webpack_require__(0);
1495
+ var T = __webpack_require__(1);
1482
1496
 
1483
1497
  var i18n_1 = __webpack_require__(2);
1484
1498
 
1485
- var Message_1 = __webpack_require__(10);
1499
+ var Message_1 = __webpack_require__(9);
1486
1500
 
1487
1501
  var FixedSizeContainer_1 = __webpack_require__(13);
1488
1502
  /**
@@ -1555,18 +1569,18 @@ Object.defineProperty(exports, "__esModule", {
1555
1569
  value: true
1556
1570
  });
1557
1571
 
1558
- var React = __webpack_require__(1);
1572
+ var React = __webpack_require__(0);
1559
1573
 
1560
1574
  var styled_components_1 = __webpack_require__(4);
1561
1575
 
1562
- var hocUtils_1 = __webpack_require__(14);
1576
+ var hocUtils_1 = __webpack_require__(15);
1563
1577
 
1564
1578
  var Cover = styled_components_1.default.div.withConfig({
1565
1579
  displayName: "withEditModeCover__Cover",
1566
1580
  componentId: "sc-1gsbnxb-0"
1567
1581
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1568
1582
  var Blocker = styled_components_1.default.div.attrs({
1569
- 'data-splunk-visualization-version': "25.6.0 - f5eb3abf9"
1583
+ 'data-splunk-visualization-version': "25.7.1 - 6a77c5530"
1570
1584
  }).withConfig({
1571
1585
  displayName: "withEditModeCover__Blocker",
1572
1586
  componentId: "sc-1gsbnxb-1"
@@ -1607,17 +1621,17 @@ Object.defineProperty(exports, "__esModule", {
1607
1621
  value: true
1608
1622
  });
1609
1623
 
1610
- var React = __webpack_require__(1);
1624
+ var React = __webpack_require__(0);
1611
1625
 
1612
1626
  var colorUtils_1 = __webpack_require__(12);
1613
1627
 
1614
- var variables_1 = __webpack_require__(9);
1628
+ var variables_1 = __webpack_require__(10);
1615
1629
 
1616
- var IconPlaceholder_1 = __webpack_require__(30);
1630
+ var IconPlaceholder_1 = __webpack_require__(31);
1617
1631
 
1618
1632
  var VizBehavior_1 = __webpack_require__(6);
1619
1633
 
1620
- var hocUtils_1 = __webpack_require__(14);
1634
+ var hocUtils_1 = __webpack_require__(15);
1621
1635
 
1622
1636
  var withPlaceholder = function withPlaceholder(Visualization) {
1623
1637
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1711,7 +1725,12 @@ exports.default = background;
1711
1725
  /* 56 */,
1712
1726
  /* 57 */,
1713
1727
  /* 58 */,
1714
- /* 59 */,
1728
+ /* 59 */
1729
+ /***/ (function(module, exports) {
1730
+
1731
+ module.exports = require("@splunk/themes");
1732
+
1733
+ /***/ }),
1715
1734
  /* 60 */,
1716
1735
  /* 61 */,
1717
1736
  /* 62 */,
@@ -1724,12 +1743,7 @@ exports.default = background;
1724
1743
  /* 69 */,
1725
1744
  /* 70 */,
1726
1745
  /* 71 */,
1727
- /* 72 */
1728
- /***/ (function(module, exports) {
1729
-
1730
- module.exports = require("@splunk/themes");
1731
-
1732
- /***/ }),
1746
+ /* 72 */,
1733
1747
  /* 73 */,
1734
1748
  /* 74 */,
1735
1749
  /* 75 */,
@@ -1741,29 +1755,29 @@ module.exports = require("@splunk/themes");
1741
1755
  /* 81 */,
1742
1756
  /* 82 */,
1743
1757
  /* 83 */,
1744
- /* 84 */
1758
+ /* 84 */,
1759
+ /* 85 */,
1760
+ /* 86 */,
1761
+ /* 87 */,
1762
+ /* 88 */
1745
1763
  /***/ (function(module, exports) {
1746
1764
 
1747
- module.exports = require("@splunk/react-ui/Popover");
1765
+ module.exports = require("@babel/runtime/helpers/typeof");
1748
1766
 
1749
1767
  /***/ }),
1750
- /* 85 */,
1751
- /* 86 */
1768
+ /* 89 */
1752
1769
  /***/ (function(module, exports) {
1753
1770
 
1754
- module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
1771
+ module.exports = require("@splunk/react-ui/Popover");
1755
1772
 
1756
1773
  /***/ }),
1757
- /* 87 */
1774
+ /* 90 */,
1775
+ /* 91 */
1758
1776
  /***/ (function(module, exports) {
1759
1777
 
1760
- module.exports = require("@babel/runtime/helpers/typeof");
1778
+ module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
1761
1779
 
1762
1780
  /***/ }),
1763
- /* 88 */,
1764
- /* 89 */,
1765
- /* 90 */,
1766
- /* 91 */,
1767
1781
  /* 92 */,
1768
1782
  /* 93 */,
1769
1783
  /* 94 */,
@@ -1783,32 +1797,43 @@ module.exports = require("@babel/runtime/helpers/typeof");
1783
1797
  /* 108 */,
1784
1798
  /* 109 */,
1785
1799
  /* 110 */,
1786
- /* 111 */
1800
+ /* 111 */,
1801
+ /* 112 */,
1802
+ /* 113 */,
1803
+ /* 114 */,
1804
+ /* 115 */,
1805
+ /* 116 */,
1806
+ /* 117 */,
1807
+ /* 118 */
1787
1808
  /***/ (function(module, exports) {
1788
1809
 
1789
1810
  module.exports = require("@splunk/react-ui/Menu");
1790
1811
 
1791
1812
  /***/ }),
1792
- /* 112 */
1813
+ /* 119 */
1793
1814
  /***/ (function(module, exports, __webpack_require__) {
1794
1815
 
1795
1816
  "use strict";
1796
1817
 
1797
1818
 
1819
+ var _typeof = __webpack_require__(88);
1820
+
1798
1821
  var _slicedToArray = __webpack_require__(17);
1799
1822
 
1800
- var _defineProperty = __webpack_require__(7);
1823
+ var _toConsumableArray = __webpack_require__(7);
1824
+
1825
+ var _defineProperty = __webpack_require__(8);
1801
1826
 
1802
1827
  Object.defineProperty(exports, "__esModule", {
1803
1828
  value: true
1804
1829
  });
1805
- exports.getCustomTimeInterval = exports.getPredefinedTimeInterval = exports.getEpochTime = exports.generateTokenReplacementMap = exports.replaceTokens = exports.mergeFieldActions = exports.mergeEventActions = exports.getFieldSummaryMapping = exports.convertToPayloadFormat = void 0;
1830
+ exports.truncateString = exports.getCustomTimeInterval = exports.getPredefinedTimeInterval = exports.getEpochTime = exports.generateTokenReplacementMap = exports.replaceTokens = exports.mergeFieldActions = exports.mergeEventActions = exports.getFieldSummaryMapping = exports.convertToPayloadFormat = void 0;
1806
1831
 
1807
- var time_1 = __webpack_require__(193);
1832
+ var time_1 = __webpack_require__(200);
1808
1833
 
1809
1834
  var lodash_1 = __webpack_require__(3);
1810
1835
 
1811
- var dataUtils_1 = __webpack_require__(113); // util to convert a field-value map into an object with row.<fieldname>.value keys for payloads
1836
+ var dataUtils_1 = __webpack_require__(120); // util to convert a field-value map into an object with row.<fieldname>.value keys for payloads
1812
1837
 
1813
1838
 
1814
1839
  var convertToPayloadFormat = function convertToPayloadFormat(obj) {
@@ -1850,9 +1875,9 @@ exports.getFieldSummaryMapping = getFieldSummaryMapping;
1850
1875
  /**
1851
1876
  * Helper to merge event actions into one array of event actions.
1852
1877
  * @method mergeEventActions
1853
- * @param {Action[]} fieldActions1
1854
- * @param {Action[]} fieldActions2
1855
- * @returns {Action[]} merged event actions
1878
+ * @param {EventAction[]} eventActions1
1879
+ * @param {EventAction[]} eventActions2
1880
+ * @returns {EventAction[]} merged event actions
1856
1881
  */
1857
1882
 
1858
1883
  var mergeEventActions = function mergeEventActions(eventActions1, eventActions2) {
@@ -1863,14 +1888,33 @@ exports.mergeEventActions = mergeEventActions;
1863
1888
  /**
1864
1889
  * Helper to merge field actions. If same key exists in both field actions,
1865
1890
  * combine each array of actions under one key.
1891
+ *
1892
+ * Actions under the `default` key should be merged into actions under the `*` key.
1893
+ * Although the `default` key is supported to indicate actions that apply to all fields,
1894
+ * we are working towards deprecating the `default` key in favour of the `*` key.
1895
+ * As of 5.0.0, the react-events-viewer only supports the `*` key to indicate common field actions.
1866
1896
  * @method mergeFieldActions
1867
- * @param {Record<string, Action[]>} fieldActions1
1868
- * @param {Record<string, Action[]>} fieldActions2
1869
- * @returns {Record<string, Action[]>} merged field actions
1897
+ * @param {FieldActions} fieldActions1
1898
+ * @param {FieldActions} fieldActions2
1899
+ * @returns {FieldActions} merged field actions
1870
1900
  */
1871
1901
 
1872
1902
  var mergeFieldActions = function mergeFieldActions(fieldActions1, fieldActions2) {
1873
- return lodash_1.mergeWith(Object.assign({}, fieldActions1), fieldActions2, function (fieldAction1value, fieldAction2value) {
1903
+ var fieldActions1WithoutDefault = Object.assign({}, fieldActions1);
1904
+
1905
+ if ('default' in fieldActions1WithoutDefault) {
1906
+ fieldActions1WithoutDefault['*'] = '*' in fieldActions1WithoutDefault ? [].concat(_toConsumableArray(fieldActions1WithoutDefault['*']), _toConsumableArray(fieldActions1WithoutDefault.default)) : fieldActions1WithoutDefault.default;
1907
+ delete fieldActions1WithoutDefault.default;
1908
+ }
1909
+
1910
+ var fieldActions2WithoutDefault = Object.assign({}, fieldActions2);
1911
+
1912
+ if ('default' in fieldActions2WithoutDefault) {
1913
+ fieldActions2WithoutDefault['*'] = '*' in fieldActions2WithoutDefault ? [].concat(_toConsumableArray(fieldActions2WithoutDefault['*']), _toConsumableArray(fieldActions2WithoutDefault.default)) : fieldActions2WithoutDefault.default;
1914
+ delete fieldActions2WithoutDefault.default;
1915
+ }
1916
+
1917
+ return lodash_1.mergeWith(fieldActions1WithoutDefault, fieldActions2WithoutDefault, function (fieldAction1value, fieldAction2value) {
1874
1918
  return Array.isArray(fieldAction1value) && Array.isArray(fieldAction2value) ? lodash_1.union(fieldAction1value, fieldAction2value) : undefined;
1875
1919
  });
1876
1920
  };
@@ -1972,9 +2016,21 @@ var generateTokenReplacementMap = function generateTokenReplacementMap(_ref6) {
1972
2016
  fieldName = _ref8[0],
1973
2017
  fieldValue = _ref8[1];
1974
2018
 
1975
- // TODO handle _raw and _time cases
1976
- // https://cd.splunkdev.com/eui/splunkcore-web-ui/-/blob/develop/web_v2/search_mrsparkle/exposed/js/models/services/data/ui/WorkflowAction.js#L32
1977
- tokenReplacementMap.fields["".concat(fieldName)] = typeof fieldValue === 'string' ? fieldValue : JSON.stringify(fieldValue);
2019
+ // handling of _raw and _time fields matches SXML behaviour. Implementation is based on fieldSubstitute() from splunkcore-web-ui
2020
+ var replacedValue;
2021
+
2022
+ if (fieldName === '_time' && typeof fieldValue === 'string') {
2023
+ var splunkTime = time_1.getISOWithTimeZone(fieldValue);
2024
+ var epochTime = exports.getEpochTime(splunkTime);
2025
+ replacedValue = Math.floor(epochTime).toString();
2026
+ } else if (fieldName === '_raw' && _typeof(fieldValue) === 'object') {
2027
+ var rawFieldValue = Array.isArray(fieldValue) ? fieldValue[0] : fieldValue === null || fieldValue === void 0 ? void 0 : fieldValue.value;
2028
+ replacedValue = rawFieldValue ? rawFieldValue.toString() : '';
2029
+ } else {
2030
+ replacedValue = typeof fieldValue === 'string' ? fieldValue : JSON.stringify(fieldValue);
2031
+ }
2032
+
2033
+ tokenReplacementMap.fields["".concat(fieldName)] = replacedValue;
1978
2034
  });
1979
2035
  return tokenReplacementMap;
1980
2036
  };
@@ -2080,9 +2136,30 @@ var getCustomTimeInterval = function getCustomTimeInterval(_ref10) {
2080
2136
  };
2081
2137
 
2082
2138
  exports.getCustomTimeInterval = getCustomTimeInterval;
2139
+ /**
2140
+ * Helper to truncate strings to a maximum length.
2141
+ * The string is broken up into the leading characters, followed by ellipsis and the trailing characters.
2142
+ * @method truncateString
2143
+ * @param {string} stringToTruncate
2144
+ * @returns {string} truncated string
2145
+ */
2146
+
2147
+ var truncateString = function truncateString(stringToTruncate) {
2148
+ var MAX_LENGTH = 100;
2149
+ var LEAD_AND_TRAIL_LENGTH = 50;
2150
+ var truncatedString = stringToTruncate;
2151
+
2152
+ if (truncatedString.length > MAX_LENGTH) {
2153
+ truncatedString = "".concat(truncatedString.substring(0, LEAD_AND_TRAIL_LENGTH), "...").concat(truncatedString.substring(truncatedString.length - LEAD_AND_TRAIL_LENGTH));
2154
+ }
2155
+
2156
+ return truncatedString;
2157
+ };
2158
+
2159
+ exports.truncateString = truncateString;
2083
2160
 
2084
2161
  /***/ }),
2085
- /* 113 */
2162
+ /* 120 */
2086
2163
  /***/ (function(module, exports, __webpack_require__) {
2087
2164
 
2088
2165
  "use strict";
@@ -2121,37 +2198,30 @@ var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
2121
2198
  exports.convertToArrOfObjects = convertToArrOfObjects;
2122
2199
 
2123
2200
  /***/ }),
2124
- /* 114 */
2201
+ /* 121 */
2125
2202
  /***/ (function(module, exports) {
2126
2203
 
2127
2204
  module.exports = require("@splunk/react-ui/Markdown");
2128
2205
 
2129
2206
  /***/ }),
2130
- /* 115 */
2207
+ /* 122 */
2131
2208
  /***/ (function(module, exports) {
2132
2209
 
2133
2210
  module.exports = require("@splunk/react-ui/Button");
2134
2211
 
2135
2212
  /***/ }),
2136
- /* 116 */
2213
+ /* 123 */
2137
2214
  /***/ (function(module, exports) {
2138
2215
 
2139
2216
  module.exports = require("@splunk/react-ui/Message");
2140
2217
 
2141
2218
  /***/ }),
2142
- /* 117 */
2219
+ /* 124 */
2143
2220
  /***/ (function(module, exports) {
2144
2221
 
2145
2222
  module.exports = require("@splunk/react-ui/Heading");
2146
2223
 
2147
2224
  /***/ }),
2148
- /* 118 */,
2149
- /* 119 */,
2150
- /* 120 */,
2151
- /* 121 */,
2152
- /* 122 */,
2153
- /* 123 */,
2154
- /* 124 */,
2155
2225
  /* 125 */,
2156
2226
  /* 126 */,
2157
2227
  /* 127 */,
@@ -2165,7 +2235,15 @@ module.exports = require("@splunk/react-ui/Heading");
2165
2235
  /* 135 */,
2166
2236
  /* 136 */,
2167
2237
  /* 137 */,
2168
- /* 138 */
2238
+ /* 138 */,
2239
+ /* 139 */,
2240
+ /* 140 */,
2241
+ /* 141 */,
2242
+ /* 142 */,
2243
+ /* 143 */,
2244
+ /* 144 */,
2245
+ /* 145 */,
2246
+ /* 146 */
2169
2247
  /***/ (function(module, exports, __webpack_require__) {
2170
2248
 
2171
2249
  "use strict";
@@ -2191,21 +2269,21 @@ exports.replaceTokens = exports.PureEvents = exports.config = exports.themes = e
2191
2269
 
2192
2270
  var lodash_1 = __webpack_require__(3);
2193
2271
 
2194
- var dataSourceUtils_1 = __webpack_require__(86);
2272
+ var dataSourceUtils_1 = __webpack_require__(91);
2195
2273
 
2196
- var withDashboardViz_1 = __webpack_require__(35);
2274
+ var withDashboardViz_1 = __webpack_require__(36);
2197
2275
 
2198
- var constants_1 = __webpack_require__(139);
2276
+ var constants_1 = __webpack_require__(147);
2199
2277
 
2200
- var config_1 = __webpack_require__(190);
2278
+ var config_1 = __webpack_require__(197);
2201
2279
 
2202
2280
  exports.config = config_1.default;
2203
2281
 
2204
- var PureEvents_1 = __webpack_require__(191);
2282
+ var PureEvents_1 = __webpack_require__(198);
2205
2283
 
2206
2284
  exports.PureEvents = PureEvents_1.default;
2207
2285
 
2208
- var EventUtils_1 = __webpack_require__(112);
2286
+ var EventUtils_1 = __webpack_require__(119);
2209
2287
 
2210
2288
  Object.defineProperty(exports, "replaceTokens", {
2211
2289
  enumerable: true,
@@ -2246,6 +2324,7 @@ var Events = withDashboardViz_1.default({
2246
2324
  ReactViz: PureEvents_1.default,
2247
2325
  vizConfig: config_1.default,
2248
2326
  computeVizProps: exports.computeVizProps,
2327
+ disableEditModeCover: true,
2249
2328
  useIconPlaceholder: function useIconPlaceholder(dataSources) {
2250
2329
  return exports.showPlaceHolderIcon(dataSources);
2251
2330
  }
@@ -2255,7 +2334,7 @@ exports.themes = themes;
2255
2334
  exports.default = Events;
2256
2335
 
2257
2336
  /***/ }),
2258
- /* 139 */
2337
+ /* 147 */
2259
2338
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2260
2339
 
2261
2340
  "use strict";
@@ -2266,7 +2345,7 @@ __webpack_require__.r(__webpack_exports__);
2266
2345
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EMPTY_DATASOURCE", function() { return EMPTY_DATASOURCE; });
2267
2346
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FIELDSUMMARY_DS_STORYBOOK", function() { return FIELDSUMMARY_DS_STORYBOOK; });
2268
2347
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FIELDSUMMARY_DS_DOC_HUB", function() { return FIELDSUMMARY_DS_DOC_HUB; });
2269
- /* harmony import */ var _splunk_datasource_utils_DataSet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(158);
2348
+ /* harmony import */ var _splunk_datasource_utils_DataSet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(165);
2270
2349
  /* harmony import */ var _splunk_datasource_utils_DataSet__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_datasource_utils_DataSet__WEBPACK_IMPORTED_MODULE_0__);
2271
2350
  // TODO: convert this file to .ts - created as .js as copied from SUI EventsViewer repo
2272
2351
 
@@ -2715,20 +2794,12 @@ var FIELDSUMMARY_DS_DOC_HUB = {
2715
2794
  };
2716
2795
 
2717
2796
  /***/ }),
2718
- /* 140 */
2797
+ /* 148 */
2719
2798
  /***/ (function(module, exports) {
2720
2799
 
2721
2800
  module.exports = require("@splunk/visualization-context/EventsContext");
2722
2801
 
2723
2802
  /***/ }),
2724
- /* 141 */,
2725
- /* 142 */,
2726
- /* 143 */,
2727
- /* 144 */,
2728
- /* 145 */,
2729
- /* 146 */,
2730
- /* 147 */,
2731
- /* 148 */,
2732
2803
  /* 149 */,
2733
2804
  /* 150 */,
2734
2805
  /* 151 */,
@@ -2738,19 +2809,19 @@ module.exports = require("@splunk/visualization-context/EventsContext");
2738
2809
  /* 155 */,
2739
2810
  /* 156 */,
2740
2811
  /* 157 */,
2741
- /* 158 */
2742
- /***/ (function(module, exports) {
2743
-
2744
- module.exports = require("@splunk/datasource-utils/DataSet");
2745
-
2746
- /***/ }),
2812
+ /* 158 */,
2747
2813
  /* 159 */,
2748
2814
  /* 160 */,
2749
2815
  /* 161 */,
2750
2816
  /* 162 */,
2751
2817
  /* 163 */,
2752
2818
  /* 164 */,
2753
- /* 165 */,
2819
+ /* 165 */
2820
+ /***/ (function(module, exports) {
2821
+
2822
+ module.exports = require("@splunk/datasource-utils/DataSet");
2823
+
2824
+ /***/ }),
2754
2825
  /* 166 */,
2755
2826
  /* 167 */,
2756
2827
  /* 168 */,
@@ -2774,7 +2845,14 @@ module.exports = require("@splunk/datasource-utils/DataSet");
2774
2845
  /* 186 */,
2775
2846
  /* 187 */,
2776
2847
  /* 188 */,
2777
- /* 189 */
2848
+ /* 189 */,
2849
+ /* 190 */,
2850
+ /* 191 */,
2851
+ /* 192 */,
2852
+ /* 193 */,
2853
+ /* 194 */,
2854
+ /* 195 */,
2855
+ /* 196 */
2778
2856
  /***/ (function(module, exports, __webpack_require__) {
2779
2857
 
2780
2858
  "use strict";
@@ -2804,9 +2882,9 @@ Object.defineProperty(exports, "__esModule", {
2804
2882
  });
2805
2883
  exports.default = void 0;
2806
2884
 
2807
- __exportStar(__webpack_require__(138), exports);
2885
+ __exportStar(__webpack_require__(146), exports);
2808
2886
 
2809
- var Events_1 = __webpack_require__(138);
2887
+ var Events_1 = __webpack_require__(146);
2810
2888
 
2811
2889
  Object.defineProperty(exports, "default", {
2812
2890
  enumerable: true,
@@ -2816,7 +2894,7 @@ Object.defineProperty(exports, "default", {
2816
2894
  });
2817
2895
 
2818
2896
  /***/ }),
2819
- /* 190 */
2897
+ /* 197 */
2820
2898
  /***/ (function(module, exports, __webpack_require__) {
2821
2899
 
2822
2900
  "use strict";
@@ -2832,15 +2910,15 @@ var placeholders_1 = __webpack_require__(48);
2832
2910
 
2833
2911
  var schemaUtils_1 = __webpack_require__(16);
2834
2912
 
2835
- var themes_1 = __webpack_require__(72);
2913
+ var themes_1 = __webpack_require__(59);
2836
2914
 
2837
2915
  var i18n_1 = __webpack_require__(2);
2838
2916
 
2839
2917
  var VizBehavior_1 = __webpack_require__(6);
2840
2918
 
2841
- var VizCategory_1 = __webpack_require__(34);
2919
+ var VizCategory_1 = __webpack_require__(35);
2842
2920
 
2843
- var configUtils_1 = __webpack_require__(18);
2921
+ var configUtils_1 = __webpack_require__(19);
2844
2922
 
2845
2923
  var BackgroundColor_1 = __webpack_require__(53);
2846
2924
 
@@ -2878,29 +2956,88 @@ var optionsSchema = {
2878
2956
  },
2879
2957
  eventActions: {
2880
2958
  default: [],
2881
- description: 'Specify the available actions to take for an event. For example, `[{ "eventType": "eventAction.buildEventType.click", "label": "Build Event Type" }]`. Event types should end in `.click` if utilizing event handlers.',
2959
+ description: 'Specify the available actions to take for an event. For example, `[{ "eventType": "eventAction.buildEventType.click", "label": "Build Event Type" }]`. Event types should end in `.click` if utilizing event handlers. Note that both `eventtypeValues` and `fieldFilters` keys support wildcard values.',
2882
2960
  type: 'array',
2883
2961
  items: {
2884
- type: 'object',
2885
- properties: {
2886
- eventType: {
2887
- description: 'The distinct type for the event emitted upon event action click.',
2888
- type: 'string',
2889
- pattern: '.click$',
2890
- default: ''
2962
+ anyOf: [{
2963
+ type: 'object',
2964
+ properties: {
2965
+ eventType: {
2966
+ description: 'The distinct type for the event emitted upon event action click.',
2967
+ type: 'string',
2968
+ pattern: '.click$',
2969
+ default: ''
2970
+ },
2971
+ label: {
2972
+ description: 'The label for the event action.',
2973
+ type: 'string',
2974
+ default: ''
2975
+ },
2976
+ eventtypeValues: {
2977
+ description: 'An array of string values that all need to match against the value(s) of the `eventtype` field if it exists in the event in order to be shown.',
2978
+ items: {
2979
+ type: 'string'
2980
+ },
2981
+ type: 'array',
2982
+ default: []
2983
+ },
2984
+ fieldFilters: {
2985
+ description: 'An array of string values for fields that need to exist in the event in order for the given event action in order to be shown.',
2986
+ items: {
2987
+ type: 'string'
2988
+ },
2989
+ type: 'array',
2990
+ default: []
2991
+ }
2891
2992
  },
2892
- label: {
2893
- description: 'The label for the event action.',
2894
- type: 'string',
2895
- default: ''
2896
- }
2897
- },
2898
- required: ['eventType', 'label']
2993
+ required: ['eventType', 'label']
2994
+ }]
2899
2995
  }
2900
2996
  },
2901
2997
  fieldActions: {
2902
- description: 'Specify the available actions for this field. For example, `{ default: [{ "eventType": "fieldAction.sharedAction1.click", "label": "Shared Action 1" }] }`. Event types should end in `.click` if utilizing event handlers. Actions under the `default` key are shared across all field dropdowns.',
2903
- type: 'object'
2998
+ description: 'Specify the available actions for this field. For example, `{ *: [{ "eventType": "fieldAction.sharedAction1.click", "label": "Shared Action 1", "eventtypeValues": ["*"], "fieldFilters": ["*"] }] }`. Event types should end in `.click` if utilizing event handlers. Actions under the `*` key are shared across all field dropdowns. Note that both `eventtypeValues` and `fieldFilters` keys, as well as the field names, support wildcard values.',
2999
+ type: 'object',
3000
+ patternProperties: {
3001
+ '.*': {
3002
+ description: 'Specify the available actions for this field.',
3003
+ type: 'array',
3004
+ items: {
3005
+ anyOf: [{
3006
+ type: 'object',
3007
+ properties: {
3008
+ eventType: {
3009
+ description: 'The distinct type for the event emitted upon event action click.',
3010
+ type: 'string',
3011
+ pattern: '.click$',
3012
+ default: ''
3013
+ },
3014
+ label: {
3015
+ description: 'The label for the event action.',
3016
+ type: 'string',
3017
+ default: ''
3018
+ },
3019
+ eventtypeValues: {
3020
+ description: 'An array of string values that all need to match against the value(s) of the `eventtype` field if it exists in the event in order to be shown.',
3021
+ items: {
3022
+ type: 'string'
3023
+ },
3024
+ type: 'array',
3025
+ default: []
3026
+ },
3027
+ fieldFilters: {
3028
+ description: 'An array of string values for fields that need to exist in the event in order for the given event action in order to be shown.',
3029
+ items: {
3030
+ type: 'string'
3031
+ },
3032
+ type: 'array',
3033
+ default: []
3034
+ }
3035
+ },
3036
+ required: ['eventType', 'label']
3037
+ }]
3038
+ }
3039
+ }
3040
+ }
2904
3041
  },
2905
3042
  footerFields: {
2906
3043
  description: 'Specify field(s) that should be displayed in the footer component. Specify one or more fields to display in the footer component. For example, specify ["source", "dest"] to display the source and destination fields.',
@@ -2998,13 +3135,13 @@ var config = {
2998
3135
  exports.default = configUtils_1.enhanceConfig(config);
2999
3136
 
3000
3137
  /***/ }),
3001
- /* 191 */
3138
+ /* 198 */
3002
3139
  /***/ (function(module, exports, __webpack_require__) {
3003
3140
 
3004
3141
  "use strict";
3005
3142
 
3006
3143
 
3007
- var _typeof = __webpack_require__(87);
3144
+ var _typeof = __webpack_require__(88);
3008
3145
 
3009
3146
  var _slicedToArray = __webpack_require__(17);
3010
3147
 
@@ -3012,45 +3149,45 @@ Object.defineProperty(exports, "__esModule", {
3012
3149
  value: true
3013
3150
  });
3014
3151
 
3015
- var React = __webpack_require__(1);
3152
+ var React = __webpack_require__(0);
3016
3153
 
3017
- var react_1 = __webpack_require__(1);
3154
+ var react_1 = __webpack_require__(0);
3018
3155
 
3019
- var T = __webpack_require__(0);
3156
+ var T = __webpack_require__(1);
3020
3157
 
3021
- var EventsViewer_1 = __webpack_require__(192);
3158
+ var EventsViewer_1 = __webpack_require__(199);
3022
3159
 
3023
3160
  var styled_components_1 = __webpack_require__(4);
3024
3161
 
3025
- var pick_1 = __webpack_require__(22);
3162
+ var pick_1 = __webpack_require__(23);
3026
3163
 
3027
- var variables_1 = __webpack_require__(9);
3164
+ var variables_1 = __webpack_require__(10);
3028
3165
 
3029
3166
  var colorUtils_1 = __webpack_require__(12);
3030
3167
 
3031
- var style_1 = __webpack_require__(15);
3168
+ var style_1 = __webpack_require__(14);
3032
3169
 
3033
- var EventsContext_1 = __webpack_require__(140);
3170
+ var EventsContext_1 = __webpack_require__(148);
3034
3171
 
3035
3172
  var lodash_1 = __webpack_require__(3);
3036
3173
 
3037
- var Menu_1 = __webpack_require__(111);
3174
+ var Menu_1 = __webpack_require__(118);
3038
3175
 
3039
- var constants_1 = __webpack_require__(139);
3176
+ var constants_1 = __webpack_require__(147);
3040
3177
 
3041
3178
  var FixedSizeContainer_1 = __webpack_require__(13);
3042
3179
 
3043
- var EventUtils_1 = __webpack_require__(112);
3180
+ var EventUtils_1 = __webpack_require__(119);
3044
3181
 
3045
- var FieldSummaryTooltip_1 = __webpack_require__(194);
3182
+ var FieldSummaryTooltip_1 = __webpack_require__(201);
3046
3183
 
3047
- var TimeControlsPopover_1 = __webpack_require__(196); // Inspired by VizTableContainer in PureTable.tsx
3184
+ var TimeControlsPopover_1 = __webpack_require__(203); // Inspired by VizTableContainer in PureTable.tsx
3048
3185
 
3049
3186
 
3050
3187
  var EventsContainer = styled_components_1.default.div.withConfig({
3051
3188
  displayName: "PureEvents__EventsContainer",
3052
3189
  componentId: "iniqvm-0"
3053
- })(["width:", ";height:", ";box-sizing:border-box;padding:", ";display:flex;flex-flow:column nowrap;overflow:hidden;background-color:", ";table[data-test='main-table']{background-color:", ";}"], function (props) {
3190
+ })(["width:", ";height:", ";box-sizing:border-box;padding:", ";display:flex;flex-flow:column nowrap;overflow:hidden;background-color:", ";table[data-test='main-table']{background-color:", ";}table[data-test='main-table']{td:nth-child(3){word-break:break-word;}}"], function (props) {
3054
3191
  return lodash_1.isNumber(props.width) ? "".concat(props.width, "px") : props.width;
3055
3192
  }, function (props) {
3056
3193
  return lodash_1.isNumber(props.height) ? "".concat(props.height, "px") : props.height;
@@ -3148,13 +3285,19 @@ var PureEvents = function PureEvents(props) {
3148
3285
  var _React$useState7 = React.useState(null),
3149
3286
  _React$useState8 = _slicedToArray(_React$useState7, 2),
3150
3287
  timeFieldAnchor = _React$useState8[0],
3151
- setTimeFieldAnchor = _React$useState8[1]; // creates array menu components to display in the Event Actions dropdown
3288
+ setTimeFieldAnchor = _React$useState8[1]; // An array of objects with eventtypeValues for filtering by eventtype, fieldFilters for filtering by fields,
3289
+ // and eventActionComponent (needs to be Menu.Item and will be rendered inside a Menu component)
3290
+ // to display in the Event Actions dropdown
3152
3291
 
3153
3292
 
3154
3293
  var renderEventActions = React.useMemo(function () {
3155
3294
  return !Array.isArray(eventActions) ? [] : eventActions.map(function (_ref2) {
3156
3295
  var eventType = _ref2.eventType,
3157
- label = _ref2.label;
3296
+ label = _ref2.label,
3297
+ _ref2$eventtypeValues = _ref2.eventtypeValues,
3298
+ eventtypeValues = _ref2$eventtypeValues === void 0 ? [] : _ref2$eventtypeValues,
3299
+ _ref2$fieldFilters = _ref2.fieldFilters,
3300
+ fieldFilters = _ref2$fieldFilters === void 0 ? [] : _ref2$fieldFilters;
3158
3301
 
3159
3302
  var onMenuItemClick = function onMenuItemClick(e, eventActionProps, tokenReplacementMap) {
3160
3303
  var payload = EventUtils_1.convertToPayloadFormat(eventActionProps.event, {
@@ -3165,10 +3308,9 @@ var PureEvents = function PureEvents(props) {
3165
3308
  type: eventType,
3166
3309
  payload: payload
3167
3310
  });
3168
- }; // eslint-disable-next-line react/display-name
3169
-
3311
+ };
3170
3312
 
3171
- return function (eventActionProps) {
3313
+ var eventActionComponent = function eventActionComponent(eventActionProps) {
3172
3314
  var rowIndex = eventActionProps.rowIndex,
3173
3315
  pageNumber = eventActionProps.pageNumber,
3174
3316
  event = eventActionProps.event;
@@ -3184,16 +3326,24 @@ var PureEvents = function PureEvents(props) {
3184
3326
  allowSpecialParametersEscape: false,
3185
3327
  allowFieldValuesEscape: false
3186
3328
  });
3329
+ var truncatedLabel = EventUtils_1.truncateString(replacedLabel);
3187
3330
  return React.createElement(Menu_1.default.Item, {
3188
- key: "event-action-".concat(replacedLabel),
3331
+ key: "event-action-".concat(truncatedLabel),
3189
3332
  onClick: function onClick(e) {
3190
3333
  return onMenuItemClick(e, eventActionProps, tokenReplacementMap);
3191
3334
  }
3192
- }, replacedLabel);
3335
+ }, truncatedLabel);
3336
+ };
3337
+
3338
+ return {
3339
+ eventtypeValues: eventtypeValues,
3340
+ fieldFilters: fieldFilters,
3341
+ eventActionComponent: eventActionComponent
3193
3342
  };
3194
3343
  });
3195
- }, [eventActions]); // creates map of field names to array of menu components to display in its respective dropdown
3196
- // in the Actions column
3344
+ }, [eventActions]); // A map of fields, each associated with an array of objects with eventtypeValues for filtering by eventtype,
3345
+ // and fieldActionComponent (needs to be Menu.Item and will be rendered inside a Menu component)
3346
+ // to display in its respective dropdown in the Actions column
3197
3347
 
3198
3348
  var renderFieldActions = React.useMemo(function () {
3199
3349
  if (_typeof(fieldActions) !== 'object') return {};
@@ -3205,7 +3355,9 @@ var PureEvents = function PureEvents(props) {
3205
3355
 
3206
3356
  fieldActionsMap[currentFieldName] = currentFieldActions.map(function (_ref5) {
3207
3357
  var eventType = _ref5.eventType,
3208
- label = _ref5.label;
3358
+ label = _ref5.label,
3359
+ _ref5$eventtypeValues = _ref5.eventtypeValues,
3360
+ eventtypeValues = _ref5$eventtypeValues === void 0 ? [] : _ref5$eventtypeValues;
3209
3361
 
3210
3362
  var onMenuItemClick = function onMenuItemClick(e, fieldActionProps, tokenReplacementMap) {
3211
3363
  var payload = EventUtils_1.convertToPayloadFormat(fieldActionProps.event, {
@@ -3218,10 +3370,9 @@ var PureEvents = function PureEvents(props) {
3218
3370
  type: eventType,
3219
3371
  payload: payload
3220
3372
  });
3221
- }; // eslint-disable-next-line react/display-name
3222
-
3373
+ };
3223
3374
 
3224
- return function (fieldActionProps) {
3375
+ var fieldActionComponent = function fieldActionComponent(fieldActionProps) {
3225
3376
  var field = fieldActionProps.field,
3226
3377
  value = fieldActionProps.value,
3227
3378
  rowIndex = fieldActionProps.rowIndex,
@@ -3241,12 +3392,18 @@ var PureEvents = function PureEvents(props) {
3241
3392
  allowSpecialParametersEscape: false,
3242
3393
  allowFieldValuesEscape: false
3243
3394
  });
3395
+ var truncatedLabel = EventUtils_1.truncateString(replacedLabel);
3244
3396
  return React.createElement(Menu_1.default.Item, {
3245
- key: "".concat(currentFieldName, "-field-action-").concat(replacedLabel),
3397
+ key: "".concat(currentFieldName, "-field-action-").concat(truncatedLabel),
3246
3398
  onClick: function onClick(e) {
3247
3399
  return onMenuItemClick(e, fieldActionProps, tokenReplacementMap);
3248
3400
  }
3249
- }, replacedLabel);
3401
+ }, truncatedLabel);
3402
+ };
3403
+
3404
+ return {
3405
+ eventtypeValues: eventtypeValues,
3406
+ fieldActionComponent: fieldActionComponent
3250
3407
  };
3251
3408
  });
3252
3409
  });
@@ -3359,13 +3516,16 @@ PureEvents.propTypes = {
3359
3516
  // key to identify this event
3360
3517
  eventType: T.string,
3361
3518
  // label for the menu item
3362
- label: T.string
3519
+ label: T.string,
3520
+ eventtypeValues: T.arrayOf(T.string),
3521
+ fieldFilters: T.arrayOf(T.string)
3363
3522
  })),
3364
3523
  fieldActions: T.objectOf(T.arrayOf(T.shape({
3365
3524
  // key to identify this event
3366
3525
  eventType: T.string,
3367
3526
  // label for the menu item
3368
- label: T.string
3527
+ label: T.string,
3528
+ eventtypeValues: T.arrayOf(T.string)
3369
3529
  }))),
3370
3530
  showFieldSummary: T.bool,
3371
3531
  footerFields: T.array,
@@ -3392,19 +3552,19 @@ PureEvents.defaultProps = {
3392
3552
  exports.default = FixedSizeContainer_1.default(PureEvents);
3393
3553
 
3394
3554
  /***/ }),
3395
- /* 192 */
3555
+ /* 199 */
3396
3556
  /***/ (function(module, exports) {
3397
3557
 
3398
3558
  module.exports = require("@splunk/react-events-viewer/components/EventsViewer");
3399
3559
 
3400
3560
  /***/ }),
3401
- /* 193 */
3561
+ /* 200 */
3402
3562
  /***/ (function(module, exports) {
3403
3563
 
3404
3564
  module.exports = require("@splunk/time-range-utils/time");
3405
3565
 
3406
3566
  /***/ }),
3407
- /* 194 */
3567
+ /* 201 */
3408
3568
  /***/ (function(module, exports, __webpack_require__) {
3409
3569
 
3410
3570
  "use strict";
@@ -3414,15 +3574,15 @@ Object.defineProperty(exports, "__esModule", {
3414
3574
  value: true
3415
3575
  });
3416
3576
 
3417
- var React = __webpack_require__(1);
3577
+ var React = __webpack_require__(0);
3418
3578
 
3419
- var react_1 = __webpack_require__(1);
3579
+ var react_1 = __webpack_require__(0);
3420
3580
 
3421
- var Popover_1 = __webpack_require__(84);
3581
+ var Popover_1 = __webpack_require__(89);
3422
3582
 
3423
- var Markdown_1 = __webpack_require__(114);
3583
+ var Markdown_1 = __webpack_require__(121);
3424
3584
 
3425
- var FieldSummary_1 = __webpack_require__(195);
3585
+ var FieldSummary_1 = __webpack_require__(202);
3426
3586
 
3427
3587
  var lodash_1 = __webpack_require__(3);
3428
3588
 
@@ -3430,7 +3590,7 @@ var i18n_1 = __webpack_require__(2);
3430
3590
 
3431
3591
  var styled_components_1 = __webpack_require__(4);
3432
3592
 
3433
- var EventsContext_1 = __webpack_require__(140);
3593
+ var EventsContext_1 = __webpack_require__(148);
3434
3594
 
3435
3595
  var popoverContainerStyle = {
3436
3596
  padding: '20px',
@@ -3532,13 +3692,13 @@ FieldSummaryTooltip.defaultProps = {
3532
3692
  exports.default = FieldSummaryTooltip;
3533
3693
 
3534
3694
  /***/ }),
3535
- /* 195 */
3695
+ /* 202 */
3536
3696
  /***/ (function(module, exports) {
3537
3697
 
3538
3698
  module.exports = require("@splunk/react-field-summary/components/FieldSummary");
3539
3699
 
3540
3700
  /***/ }),
3541
- /* 196 */
3701
+ /* 203 */
3542
3702
  /***/ (function(module, exports, __webpack_require__) {
3543
3703
 
3544
3704
  "use strict";
@@ -3550,23 +3710,23 @@ Object.defineProperty(exports, "__esModule", {
3550
3710
  value: true
3551
3711
  });
3552
3712
 
3553
- var React = __webpack_require__(1);
3713
+ var React = __webpack_require__(0);
3554
3714
 
3555
- var Popover_1 = __webpack_require__(84);
3715
+ var Popover_1 = __webpack_require__(89);
3556
3716
 
3557
- var ControlGroup_1 = __webpack_require__(197);
3717
+ var ControlGroup_1 = __webpack_require__(204);
3558
3718
 
3559
- var Button_1 = __webpack_require__(115);
3719
+ var Button_1 = __webpack_require__(122);
3560
3720
 
3561
- var Text_1 = __webpack_require__(198);
3721
+ var Text_1 = __webpack_require__(205);
3562
3722
 
3563
- var Message_1 = __webpack_require__(116);
3723
+ var Message_1 = __webpack_require__(123);
3564
3724
 
3565
- var Select_1 = __webpack_require__(199);
3725
+ var Select_1 = __webpack_require__(206);
3566
3726
 
3567
- var Link_1 = __webpack_require__(200);
3727
+ var Link_1 = __webpack_require__(207);
3568
3728
 
3569
- var Heading_1 = __webpack_require__(117);
3729
+ var Heading_1 = __webpack_require__(124);
3570
3730
 
3571
3731
  var lodash_1 = __webpack_require__(3);
3572
3732
 
@@ -3574,11 +3734,11 @@ var i18n_1 = __webpack_require__(2);
3574
3734
 
3575
3735
  var styled_components_1 = __webpack_require__(4);
3576
3736
 
3577
- var numberUtils_1 = __webpack_require__(29);
3737
+ var numberUtils_1 = __webpack_require__(30);
3578
3738
 
3579
- var pick_1 = __webpack_require__(22);
3739
+ var pick_1 = __webpack_require__(23);
3580
3740
 
3581
- var EventUtils_1 = __webpack_require__(112); // custom popover sizing for Enterprise vs. Prisma themes - additional px for Prisma theme to fit controls
3741
+ var EventUtils_1 = __webpack_require__(119); // custom popover sizing for Enterprise vs. Prisma themes - additional px for Prisma theme to fit controls
3582
3742
 
3583
3743
 
3584
3744
  var TimePopoverContainer = styled_components_1.default.div.withConfig({
@@ -3808,25 +3968,25 @@ TimeControlsPopover.defaultProps = {
3808
3968
  exports.default = TimeControlsPopover;
3809
3969
 
3810
3970
  /***/ }),
3811
- /* 197 */
3971
+ /* 204 */
3812
3972
  /***/ (function(module, exports) {
3813
3973
 
3814
3974
  module.exports = require("@splunk/react-ui/ControlGroup");
3815
3975
 
3816
3976
  /***/ }),
3817
- /* 198 */
3977
+ /* 205 */
3818
3978
  /***/ (function(module, exports) {
3819
3979
 
3820
3980
  module.exports = require("@splunk/react-ui/Text");
3821
3981
 
3822
3982
  /***/ }),
3823
- /* 199 */
3983
+ /* 206 */
3824
3984
  /***/ (function(module, exports) {
3825
3985
 
3826
3986
  module.exports = require("@splunk/react-ui/Select");
3827
3987
 
3828
3988
  /***/ }),
3829
- /* 200 */
3989
+ /* 207 */
3830
3990
  /***/ (function(module, exports) {
3831
3991
 
3832
3992
  module.exports = require("@splunk/react-ui/Link");