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