@elastic/eui 95.10.1 → 95.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/README.md +1 -69
  2. package/dist/eui_theme_dark.css +0 -924
  3. package/dist/eui_theme_dark.min.css +1 -1
  4. package/dist/eui_theme_light.css +0 -924
  5. package/dist/eui_theme_light.min.css +1 -1
  6. package/es/components/basic_table/basic_table.js +43 -35
  7. package/es/components/basic_table/collapsed_item_actions.js +24 -31
  8. package/es/components/datagrid/body/cell/data_grid_cell.js +212 -94
  9. package/es/components/datagrid/body/cell/data_grid_cell.styles.js +110 -0
  10. package/es/components/datagrid/body/cell/data_grid_cell_actions.js +13 -3
  11. package/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +33 -0
  12. package/es/components/datagrid/body/cell/data_grid_cell_popover.js +21 -12
  13. package/es/components/datagrid/body/cell/data_grid_cell_popover.styles.js +19 -0
  14. package/es/components/datagrid/body/cell/focus_utils.js +18 -20
  15. package/es/components/datagrid/body/data_grid_body.js +20 -4
  16. package/es/components/datagrid/body/data_grid_body.styles.js +26 -0
  17. package/es/components/datagrid/body/data_grid_body_custom.js +23 -8
  18. package/es/components/datagrid/body/data_grid_body_virtualized.js +23 -8
  19. package/es/components/datagrid/body/footer/data_grid_footer.styles.js +24 -0
  20. package/es/components/datagrid/body/footer/data_grid_footer_row.js +24 -11
  21. package/es/components/datagrid/body/header/column_actions.js +16 -4
  22. package/es/components/datagrid/body/header/data_grid_column_resizer.js +14 -7
  23. package/es/components/datagrid/body/header/data_grid_column_resizer.styles.js +36 -0
  24. package/es/components/datagrid/body/header/data_grid_control_header_cell.js +6 -5
  25. package/es/components/datagrid/body/header/data_grid_header_cell.js +42 -66
  26. package/es/components/datagrid/body/header/data_grid_header_cell.styles.js +27 -0
  27. package/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +9 -3
  28. package/es/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +27 -0
  29. package/es/components/datagrid/body/header/data_grid_header_row.js +12 -2
  30. package/es/components/datagrid/body/header/data_grid_header_row.styles.js +21 -0
  31. package/es/components/datagrid/controls/column_selector.js +17 -8
  32. package/es/components/datagrid/controls/column_selector.styles.js +22 -0
  33. package/es/components/datagrid/controls/column_sorting.js +7 -2
  34. package/es/components/datagrid/controls/column_sorting.styles.js +35 -0
  35. package/es/components/datagrid/controls/column_sorting_draggable.js +19 -14
  36. package/es/components/datagrid/controls/data_grid_toolbar.js +8 -1
  37. package/es/components/datagrid/controls/data_grid_toolbar.styles.js +18 -0
  38. package/es/components/datagrid/controls/data_grid_toolbar_control.js +27 -27
  39. package/es/components/datagrid/controls/display_selector.js +14 -3
  40. package/es/components/datagrid/controls/fullscreen_selector.js +8 -5
  41. package/es/components/datagrid/controls/fullscreen_selector.styles.js +20 -0
  42. package/es/components/datagrid/controls/keyboard_shortcuts.js +7 -3
  43. package/es/components/datagrid/controls/keyboard_shortcuts.styles.js +18 -0
  44. package/es/components/datagrid/data_grid.a11y.js +1 -0
  45. package/es/components/datagrid/data_grid.js +17 -9
  46. package/es/components/datagrid/data_grid.stories.utils.js +1422 -0
  47. package/es/components/datagrid/data_grid.styles.js +88 -0
  48. package/es/components/datagrid/{utils → pagination}/data_grid_pagination.js +30 -30
  49. package/es/components/datagrid/pagination/data_grid_pagination.styles.js +16 -0
  50. package/es/components/datagrid/pagination/index.js +9 -0
  51. package/es/components/datagrid/utils/row_heights.js +10 -36
  52. package/es/components/datagrid/utils/scrolling.js +14 -7
  53. package/es/components/datagrid/utils/scrolling.styles.js +30 -0
  54. package/es/components/date_picker/date_picker.js +1 -1
  55. package/es/components/flyout/flyout_resizable.js +6 -2
  56. package/es/components/flyout/flyout_resizable.styles.js +34 -5
  57. package/es/components/popover/popover.js +1 -1
  58. package/es/components/provider/provider.js +16 -13
  59. package/es/components/provider/system_color_mode/index.js +9 -0
  60. package/es/components/provider/system_color_mode/system_color_mode_provider.js +49 -0
  61. package/es/components/resizable_container/resizable_button.js +9 -2
  62. package/es/components/resizable_container/resizable_button.styles.js +19 -6
  63. package/es/components/table/table_header_cell.js +10 -3
  64. package/es/components/table/table_header_cell_checkbox.js +5 -3
  65. package/es/components/table/table_row_cell.js +10 -3
  66. package/es/components/table/table_row_cell_checkbox.js +5 -3
  67. package/es/components/text/text.js +25 -9
  68. package/es/components/text/text_align.js +19 -6
  69. package/es/components/text/text_color.js +14 -11
  70. package/es/components/text/types.js +1 -0
  71. package/es/services/copy/index.js +10 -0
  72. package/es/services/copy/tabular_copy.js +103 -0
  73. package/es/services/index.js +1 -1
  74. package/eui.d.ts +692 -124
  75. package/i18ntokens.json +432 -396
  76. package/lib/components/basic_table/basic_table.js +42 -34
  77. package/lib/components/basic_table/collapsed_item_actions.js +23 -30
  78. package/lib/components/datagrid/body/cell/data_grid_cell.js +209 -91
  79. package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +114 -0
  80. package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +13 -3
  81. package/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +38 -0
  82. package/lib/components/datagrid/body/cell/data_grid_cell_popover.js +20 -11
  83. package/lib/components/datagrid/body/cell/data_grid_cell_popover.styles.js +24 -0
  84. package/lib/components/datagrid/body/cell/focus_utils.js +17 -19
  85. package/lib/components/datagrid/body/data_grid_body.js +20 -4
  86. package/lib/components/datagrid/body/data_grid_body.styles.js +30 -0
  87. package/lib/components/datagrid/body/data_grid_body_custom.js +23 -8
  88. package/lib/components/datagrid/body/data_grid_body_virtualized.js +23 -8
  89. package/lib/components/datagrid/body/footer/data_grid_footer.styles.js +30 -0
  90. package/lib/components/datagrid/body/footer/data_grid_footer_row.js +23 -10
  91. package/lib/components/datagrid/body/header/column_actions.js +16 -4
  92. package/lib/components/datagrid/body/header/data_grid_column_resizer.js +14 -7
  93. package/lib/components/datagrid/body/header/data_grid_column_resizer.styles.js +39 -0
  94. package/lib/components/datagrid/body/header/data_grid_control_header_cell.js +6 -5
  95. package/lib/components/datagrid/body/header/data_grid_header_cell.js +49 -74
  96. package/lib/components/datagrid/body/header/data_grid_header_cell.styles.js +32 -0
  97. package/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +8 -2
  98. package/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +32 -0
  99. package/lib/components/datagrid/body/header/data_grid_header_row.js +12 -2
  100. package/lib/components/datagrid/body/header/data_grid_header_row.styles.js +27 -0
  101. package/lib/components/datagrid/controls/column_selector.js +17 -8
  102. package/lib/components/datagrid/controls/column_selector.styles.js +28 -0
  103. package/lib/components/datagrid/controls/column_sorting.js +7 -2
  104. package/lib/components/datagrid/controls/column_sorting.styles.js +41 -0
  105. package/lib/components/datagrid/controls/column_sorting_draggable.js +19 -14
  106. package/lib/components/datagrid/controls/data_grid_toolbar.js +8 -1
  107. package/lib/components/datagrid/controls/data_grid_toolbar.styles.js +24 -0
  108. package/lib/components/datagrid/controls/data_grid_toolbar_control.js +27 -27
  109. package/lib/components/datagrid/controls/display_selector.js +13 -2
  110. package/lib/components/datagrid/controls/fullscreen_selector.js +7 -4
  111. package/lib/components/datagrid/controls/fullscreen_selector.styles.js +26 -0
  112. package/lib/components/datagrid/controls/keyboard_shortcuts.js +6 -2
  113. package/lib/components/datagrid/controls/keyboard_shortcuts.styles.js +24 -0
  114. package/lib/components/datagrid/data_grid.a11y.js +1 -0
  115. package/lib/components/datagrid/data_grid.js +16 -8
  116. package/lib/components/datagrid/data_grid.stories.utils.js +1426 -0
  117. package/lib/components/datagrid/data_grid.styles.js +94 -0
  118. package/lib/components/datagrid/{utils → pagination}/data_grid_pagination.js +30 -30
  119. package/lib/components/datagrid/pagination/data_grid_pagination.styles.js +22 -0
  120. package/lib/components/datagrid/pagination/index.js +18 -0
  121. package/lib/components/datagrid/utils/row_heights.js +11 -36
  122. package/lib/components/datagrid/utils/scrolling.js +14 -7
  123. package/lib/components/datagrid/utils/scrolling.styles.js +36 -0
  124. package/lib/components/date_picker/date_picker.js +1 -1
  125. package/lib/components/flyout/flyout_resizable.js +6 -2
  126. package/lib/components/flyout/flyout_resizable.styles.js +34 -5
  127. package/lib/components/popover/popover.js +1 -1
  128. package/lib/components/provider/provider.js +16 -13
  129. package/lib/components/provider/system_color_mode/index.js +12 -0
  130. package/lib/components/provider/system_color_mode/system_color_mode_provider.js +54 -0
  131. package/lib/components/resizable_container/resizable_button.js +9 -2
  132. package/lib/components/resizable_container/resizable_button.styles.js +19 -6
  133. package/lib/components/table/table_header_cell.js +10 -3
  134. package/lib/components/table/table_header_cell_checkbox.js +5 -3
  135. package/lib/components/table/table_row_cell.js +10 -3
  136. package/lib/components/table/table_row_cell_checkbox.js +5 -3
  137. package/lib/components/text/text.js +25 -9
  138. package/lib/components/text/text_align.js +19 -6
  139. package/lib/components/text/text_color.js +14 -11
  140. package/lib/components/text/types.js +5 -0
  141. package/lib/services/copy/index.js +25 -0
  142. package/lib/services/copy/tabular_copy.js +111 -0
  143. package/lib/services/index.js +12 -8
  144. package/optimize/es/components/basic_table/basic_table.js +43 -35
  145. package/optimize/es/components/basic_table/collapsed_item_actions.js +24 -31
  146. package/optimize/es/components/datagrid/body/cell/data_grid_cell.js +98 -88
  147. package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +110 -0
  148. package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +13 -3
  149. package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.styles.js +33 -0
  150. package/optimize/es/components/datagrid/body/cell/data_grid_cell_popover.js +21 -12
  151. package/optimize/es/components/datagrid/body/cell/data_grid_cell_popover.styles.js +19 -0
  152. package/optimize/es/components/datagrid/body/cell/focus_utils.js +18 -20
  153. package/optimize/es/components/datagrid/body/data_grid_body.js +9 -2
  154. package/optimize/es/components/datagrid/body/data_grid_body.styles.js +26 -0
  155. package/optimize/es/components/datagrid/body/data_grid_body_custom.js +12 -6
  156. package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +12 -6
  157. package/optimize/es/components/datagrid/body/footer/data_grid_footer.styles.js +24 -0
  158. package/optimize/es/components/datagrid/body/footer/data_grid_footer_row.js +24 -11
  159. package/optimize/es/components/datagrid/body/header/column_actions.js +16 -4
  160. package/optimize/es/components/datagrid/body/header/data_grid_column_resizer.js +14 -7
  161. package/optimize/es/components/datagrid/body/header/data_grid_column_resizer.styles.js +36 -0
  162. package/optimize/es/components/datagrid/body/header/data_grid_control_header_cell.js +5 -5
  163. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +42 -61
  164. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.styles.js +27 -0
  165. package/optimize/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +8 -3
  166. package/optimize/es/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +27 -0
  167. package/optimize/es/components/datagrid/body/header/data_grid_header_row.js +12 -2
  168. package/optimize/es/components/datagrid/body/header/data_grid_header_row.styles.js +21 -0
  169. package/optimize/es/components/datagrid/controls/column_selector.js +17 -8
  170. package/optimize/es/components/datagrid/controls/column_selector.styles.js +22 -0
  171. package/optimize/es/components/datagrid/controls/column_sorting.js +7 -2
  172. package/optimize/es/components/datagrid/controls/column_sorting.styles.js +35 -0
  173. package/optimize/es/components/datagrid/controls/column_sorting_draggable.js +19 -14
  174. package/optimize/es/components/datagrid/controls/data_grid_toolbar.js +8 -1
  175. package/optimize/es/components/datagrid/controls/data_grid_toolbar.styles.js +18 -0
  176. package/optimize/es/components/datagrid/controls/data_grid_toolbar_control.js +27 -27
  177. package/optimize/es/components/datagrid/controls/display_selector.js +14 -3
  178. package/optimize/es/components/datagrid/controls/fullscreen_selector.js +8 -5
  179. package/optimize/es/components/datagrid/controls/fullscreen_selector.styles.js +20 -0
  180. package/optimize/es/components/datagrid/controls/keyboard_shortcuts.js +7 -3
  181. package/optimize/es/components/datagrid/controls/keyboard_shortcuts.styles.js +18 -0
  182. package/optimize/es/components/datagrid/data_grid.a11y.js +1 -0
  183. package/optimize/es/components/datagrid/data_grid.js +17 -9
  184. package/optimize/es/components/datagrid/data_grid.stories.utils.js +369 -0
  185. package/optimize/es/components/datagrid/data_grid.styles.js +88 -0
  186. package/optimize/es/components/datagrid/{utils → pagination}/data_grid_pagination.js +30 -30
  187. package/optimize/es/components/datagrid/pagination/data_grid_pagination.styles.js +16 -0
  188. package/optimize/es/components/datagrid/pagination/index.js +9 -0
  189. package/optimize/es/components/datagrid/utils/row_heights.js +10 -36
  190. package/optimize/es/components/datagrid/utils/scrolling.js +14 -7
  191. package/optimize/es/components/datagrid/utils/scrolling.styles.js +30 -0
  192. package/optimize/es/components/date_picker/date_picker.js +1 -1
  193. package/optimize/es/components/flyout/flyout_resizable.js +6 -2
  194. package/optimize/es/components/flyout/flyout_resizable.styles.js +34 -5
  195. package/optimize/es/components/popover/popover.js +1 -1
  196. package/optimize/es/components/provider/provider.js +16 -13
  197. package/optimize/es/components/provider/system_color_mode/index.js +9 -0
  198. package/optimize/es/components/provider/system_color_mode/system_color_mode_provider.js +40 -0
  199. package/optimize/es/components/resizable_container/resizable_button.js +3 -2
  200. package/optimize/es/components/resizable_container/resizable_button.styles.js +19 -6
  201. package/optimize/es/components/table/table_header_cell.js +3 -2
  202. package/optimize/es/components/table/table_header_cell_checkbox.js +3 -2
  203. package/optimize/es/components/table/table_row_cell.js +4 -3
  204. package/optimize/es/components/table/table_row_cell_checkbox.js +3 -2
  205. package/optimize/es/components/text/text.js +9 -4
  206. package/optimize/es/components/text/text_align.js +4 -2
  207. package/optimize/es/components/text/text_color.js +1 -2
  208. package/optimize/es/components/text/types.js +1 -0
  209. package/optimize/es/services/copy/index.js +10 -0
  210. package/optimize/es/services/copy/tabular_copy.js +103 -0
  211. package/optimize/es/services/index.js +1 -1
  212. package/optimize/lib/components/basic_table/basic_table.js +42 -34
  213. package/optimize/lib/components/basic_table/collapsed_item_actions.js +23 -30
  214. package/optimize/lib/components/datagrid/body/cell/data_grid_cell.js +95 -85
  215. package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +114 -0
  216. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +13 -3
  217. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.styles.js +39 -0
  218. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_popover.js +20 -11
  219. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_popover.styles.js +25 -0
  220. package/optimize/lib/components/datagrid/body/cell/focus_utils.js +17 -19
  221. package/optimize/lib/components/datagrid/body/data_grid_body.js +9 -2
  222. package/optimize/lib/components/datagrid/body/data_grid_body.styles.js +30 -0
  223. package/optimize/lib/components/datagrid/body/data_grid_body_custom.js +12 -6
  224. package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +12 -6
  225. package/optimize/lib/components/datagrid/body/footer/data_grid_footer.styles.js +30 -0
  226. package/optimize/lib/components/datagrid/body/footer/data_grid_footer_row.js +22 -9
  227. package/optimize/lib/components/datagrid/body/header/column_actions.js +16 -4
  228. package/optimize/lib/components/datagrid/body/header/data_grid_column_resizer.js +14 -7
  229. package/optimize/lib/components/datagrid/body/header/data_grid_column_resizer.styles.js +39 -0
  230. package/optimize/lib/components/datagrid/body/header/data_grid_control_header_cell.js +5 -5
  231. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +45 -63
  232. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.styles.js +32 -0
  233. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +7 -2
  234. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +32 -0
  235. package/optimize/lib/components/datagrid/body/header/data_grid_header_row.js +12 -2
  236. package/optimize/lib/components/datagrid/body/header/data_grid_header_row.styles.js +27 -0
  237. package/optimize/lib/components/datagrid/controls/column_selector.js +17 -8
  238. package/optimize/lib/components/datagrid/controls/column_selector.styles.js +28 -0
  239. package/optimize/lib/components/datagrid/controls/column_sorting.js +7 -2
  240. package/optimize/lib/components/datagrid/controls/column_sorting.styles.js +41 -0
  241. package/optimize/lib/components/datagrid/controls/column_sorting_draggable.js +19 -14
  242. package/optimize/lib/components/datagrid/controls/data_grid_toolbar.js +8 -1
  243. package/optimize/lib/components/datagrid/controls/data_grid_toolbar.styles.js +24 -0
  244. package/optimize/lib/components/datagrid/controls/data_grid_toolbar_control.js +27 -27
  245. package/optimize/lib/components/datagrid/controls/display_selector.js +13 -2
  246. package/optimize/lib/components/datagrid/controls/fullscreen_selector.js +7 -4
  247. package/optimize/lib/components/datagrid/controls/fullscreen_selector.styles.js +26 -0
  248. package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.js +6 -2
  249. package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.styles.js +24 -0
  250. package/optimize/lib/components/datagrid/data_grid.a11y.js +1 -0
  251. package/optimize/lib/components/datagrid/data_grid.js +16 -8
  252. package/optimize/lib/components/datagrid/data_grid.stories.utils.js +374 -0
  253. package/optimize/lib/components/datagrid/data_grid.styles.js +94 -0
  254. package/{test-env/components/datagrid/utils → optimize/lib/components/datagrid/pagination}/data_grid_pagination.js +29 -31
  255. package/optimize/lib/components/datagrid/pagination/data_grid_pagination.styles.js +22 -0
  256. package/optimize/lib/components/datagrid/pagination/index.js +18 -0
  257. package/optimize/lib/components/datagrid/utils/row_heights.js +11 -36
  258. package/optimize/lib/components/datagrid/utils/scrolling.js +14 -7
  259. package/optimize/lib/components/datagrid/utils/scrolling.styles.js +36 -0
  260. package/optimize/lib/components/date_picker/date_picker.js +1 -1
  261. package/optimize/lib/components/flyout/flyout_resizable.js +6 -2
  262. package/optimize/lib/components/flyout/flyout_resizable.styles.js +34 -5
  263. package/optimize/lib/components/popover/popover.js +1 -1
  264. package/optimize/lib/components/provider/provider.js +16 -13
  265. package/optimize/lib/components/provider/system_color_mode/index.js +12 -0
  266. package/optimize/lib/components/provider/system_color_mode/system_color_mode_provider.js +47 -0
  267. package/optimize/lib/components/resizable_container/resizable_button.js +3 -2
  268. package/optimize/lib/components/resizable_container/resizable_button.styles.js +19 -6
  269. package/optimize/lib/components/table/table_header_cell.js +3 -2
  270. package/optimize/lib/components/table/table_header_cell_checkbox.js +3 -2
  271. package/optimize/lib/components/table/table_row_cell.js +4 -3
  272. package/optimize/lib/components/table/table_row_cell_checkbox.js +3 -2
  273. package/optimize/lib/components/text/text.js +9 -4
  274. package/optimize/lib/components/text/text_align.js +4 -2
  275. package/optimize/lib/components/text/text_color.js +1 -2
  276. package/optimize/lib/components/text/types.js +5 -0
  277. package/optimize/lib/services/copy/index.js +25 -0
  278. package/optimize/lib/services/copy/tabular_copy.js +111 -0
  279. package/optimize/lib/services/index.js +12 -8
  280. package/package.json +3 -3
  281. package/src/themes/amsterdam/theme_dark.scss +0 -7
  282. package/src/themes/amsterdam/theme_light.scss +0 -7
  283. package/test-env/components/basic_table/basic_table.js +42 -34
  284. package/test-env/components/basic_table/collapsed_item_actions.js +23 -30
  285. package/test-env/components/datagrid/body/cell/data_grid_cell.js +204 -91
  286. package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +114 -0
  287. package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +13 -3
  288. package/test-env/components/datagrid/body/cell/data_grid_cell_actions.styles.js +39 -0
  289. package/test-env/components/datagrid/body/cell/data_grid_cell_popover.js +20 -11
  290. package/test-env/components/datagrid/body/cell/data_grid_cell_popover.styles.js +25 -0
  291. package/test-env/components/datagrid/body/cell/focus_utils.js +17 -19
  292. package/test-env/components/datagrid/body/data_grid_body.js +20 -4
  293. package/test-env/components/datagrid/body/data_grid_body.styles.js +30 -0
  294. package/test-env/components/datagrid/body/data_grid_body_custom.js +23 -8
  295. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +23 -8
  296. package/test-env/components/datagrid/body/footer/data_grid_footer.styles.js +30 -0
  297. package/test-env/components/datagrid/body/footer/data_grid_footer_row.js +22 -9
  298. package/test-env/components/datagrid/body/header/column_actions.js +16 -4
  299. package/test-env/components/datagrid/body/header/data_grid_column_resizer.js +14 -7
  300. package/test-env/components/datagrid/body/header/data_grid_column_resizer.styles.js +39 -0
  301. package/test-env/components/datagrid/body/header/data_grid_control_header_cell.js +6 -5
  302. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +45 -67
  303. package/test-env/components/datagrid/body/header/data_grid_header_cell.styles.js +32 -0
  304. package/test-env/components/datagrid/body/header/data_grid_header_cell_wrapper.js +8 -2
  305. package/test-env/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +32 -0
  306. package/test-env/components/datagrid/body/header/data_grid_header_row.js +12 -2
  307. package/test-env/components/datagrid/body/header/data_grid_header_row.styles.js +27 -0
  308. package/test-env/components/datagrid/controls/column_selector.js +17 -8
  309. package/test-env/components/datagrid/controls/column_selector.styles.js +28 -0
  310. package/test-env/components/datagrid/controls/column_sorting.js +7 -2
  311. package/test-env/components/datagrid/controls/column_sorting.styles.js +41 -0
  312. package/test-env/components/datagrid/controls/column_sorting_draggable.js +19 -14
  313. package/test-env/components/datagrid/controls/data_grid_toolbar.js +8 -1
  314. package/test-env/components/datagrid/controls/data_grid_toolbar.styles.js +24 -0
  315. package/test-env/components/datagrid/controls/data_grid_toolbar_control.js +27 -27
  316. package/test-env/components/datagrid/controls/display_selector.js +13 -2
  317. package/test-env/components/datagrid/controls/fullscreen_selector.js +7 -4
  318. package/test-env/components/datagrid/controls/fullscreen_selector.styles.js +26 -0
  319. package/test-env/components/datagrid/controls/keyboard_shortcuts.js +6 -2
  320. package/test-env/components/datagrid/controls/keyboard_shortcuts.styles.js +24 -0
  321. package/test-env/components/datagrid/data_grid.a11y.js +1 -0
  322. package/test-env/components/datagrid/data_grid.js +16 -8
  323. package/test-env/components/datagrid/data_grid.stories.utils.js +1419 -0
  324. package/test-env/components/datagrid/data_grid.styles.js +94 -0
  325. package/{optimize/lib/components/datagrid/utils → test-env/components/datagrid/pagination}/data_grid_pagination.js +29 -31
  326. package/test-env/components/datagrid/pagination/data_grid_pagination.styles.js +22 -0
  327. package/test-env/components/datagrid/pagination/index.js +18 -0
  328. package/test-env/components/datagrid/utils/row_heights.js +11 -36
  329. package/test-env/components/datagrid/utils/scrolling.js +14 -7
  330. package/test-env/components/datagrid/utils/scrolling.styles.js +36 -0
  331. package/test-env/components/date_picker/date_picker.js +1 -1
  332. package/test-env/components/flyout/flyout_resizable.js +6 -2
  333. package/test-env/components/flyout/flyout_resizable.styles.js +34 -5
  334. package/test-env/components/popover/popover.js +1 -1
  335. package/test-env/components/provider/provider.js +16 -13
  336. package/test-env/components/provider/system_color_mode/index.js +12 -0
  337. package/test-env/components/provider/system_color_mode/system_color_mode_provider.js +51 -0
  338. package/test-env/components/resizable_container/resizable_button.js +9 -2
  339. package/test-env/components/resizable_container/resizable_button.styles.js +19 -6
  340. package/test-env/components/table/table_header_cell.js +10 -3
  341. package/test-env/components/table/table_header_cell_checkbox.js +5 -3
  342. package/test-env/components/table/table_row_cell.js +10 -3
  343. package/test-env/components/table/table_row_cell_checkbox.js +5 -3
  344. package/test-env/components/text/text.js +25 -9
  345. package/test-env/components/text/text_align.js +19 -6
  346. package/test-env/components/text/text_color.js +14 -11
  347. package/test-env/components/text/types.js +5 -0
  348. package/test-env/services/copy/index.js +25 -0
  349. package/test-env/services/copy/tabular_copy.js +30 -0
  350. package/test-env/services/index.js +12 -8
  351. package/src/components/datagrid/_data_grid.scss +0 -121
  352. package/src/components/datagrid/_data_grid_data_row.scss +0 -303
  353. package/src/components/datagrid/_index.scss +0 -12
  354. package/src/components/datagrid/_mixins.scss +0 -84
  355. package/src/components/datagrid/_variables.scss +0 -11
  356. package/src/components/datagrid/body/footer/_data_grid_footer_row.scss +0 -47
  357. package/src/components/datagrid/body/header/_data_grid_column_resizer.scss +0 -48
  358. package/src/components/datagrid/body/header/_data_grid_header_row.scss +0 -221
  359. package/src/components/datagrid/controls/_data_grid_column_selector.scss +0 -19
  360. package/src/components/datagrid/controls/_data_grid_column_sorting.scss +0 -43
  361. package/src/components/datagrid/controls/_data_grid_display.scss +0 -3
  362. package/src/components/datagrid/controls/_data_grid_keyboard_shortcuts.scss +0 -11
  363. package/src/components/datagrid/controls/_data_grid_toolbar.scss +0 -55
  364. package/src/components/index.scss +0 -3
  365. package/src/themes/amsterdam/overrides/_data_grid.scss +0 -5
  366. package/src/themes/amsterdam/overrides/_index.scss +0 -1
  367. /package/es/services/{copy_to_clipboard.js → copy/copy_to_clipboard.js} +0 -0
  368. /package/lib/services/{copy_to_clipboard.js → copy/copy_to_clipboard.js} +0 -0
  369. /package/optimize/es/services/{copy_to_clipboard.js → copy/copy_to_clipboard.js} +0 -0
  370. /package/optimize/lib/services/{copy_to_clipboard.js → copy/copy_to_clipboard.js} +0 -0
  371. /package/test-env/services/{copy_to_clipboard.js → copy/copy_to_clipboard.js} +0 -0
@@ -0,0 +1,1426 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.raw_data = exports.defaultStorybookArgs = exports.StatefulDataGrid = exports.EuiDataGridToolbarPropsComponent = exports.EuiDataGridStylePropsComponent = exports.EuiDataGridRowHeightsPropsComponent = void 0;
7
+ var _propTypes = _interopRequireDefault(require("prop-types"));
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _react2 = require("@emotion/react");
10
+ var _faker = require("@faker-js/faker");
11
+ var _link = require("../link");
12
+ var _accessibility = require("../accessibility");
13
+ var _button = require("../button");
14
+ var _form = require("../form");
15
+ var _badge = require("../badge");
16
+ var _data_grid_toolbar = require("./controls/data_grid_toolbar");
17
+ var _data_grid = require("./data_grid");
18
+ var _excluded = ["pagination", "sorting", "columnVisibility"];
19
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
22
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
23
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
24
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
25
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
26
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
27
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
28
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
29
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
30
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
31
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
32
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
33
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
34
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
35
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
36
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
37
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } /*
38
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
39
+ * or more contributor license agreements. Licensed under the Elastic License
40
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
41
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
42
+ * Side Public License, v 1.
43
+ */ /* eslint-disable storybook/default-exports, storybook/prefer-pascal-case */
44
+ _faker.faker.seed(42);
45
+
46
+ // NOTE: using faker.date.past() is not fully stable for VRT as the date is
47
+ // based on a years time distance (default 1 year) which updates with progressing time
48
+ // faker.seed() ensures the same date is output in the same time frame
49
+ // but after some time the time distance will generate a newer, closer date
50
+ // which then invalidates the VRT
51
+ var staticDates = [new Date('Tue Mar 19 2024 18:54:51 GMT+0100'), new Date('Mon Mar 25 2024 19:27:35 GMT+0100'), new Date('Sat Sep 09 2023 00:32:42 GMT+0200'), new Date('Wed Jun 14 2023 06:48:29 GMT+0200'), new Date('Mon Mar 04 2024 04:40:36 GMT+0100'), new Date('Mon Feb 05 2024 10:51:48 GMT+0100'), new Date('Mon Jun 19 2023 12:08:38 GMT+0200'), new Date('Wed Jul 26 2023 01:15:02 GMT+0200'), new Date('Wed Nov 08 2023 08:49:13 GMT+0100'), new Date('Sun Nov 19 2023 01:49:12 GMT+0100')];
52
+ var dataKeys = ['name', 'email', 'account', 'location', 'date', 'version'];
53
+ var _ref = process.env.NODE_ENV === "production" ? {
54
+ name: "1u596ek-version",
55
+ styles: "vertical-align:text-bottom;label:version;"
56
+ } : {
57
+ name: "1u596ek-version",
58
+ styles: "vertical-align:text-bottom;label:version;",
59
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
60
+ };
61
+ var raw_data = exports.raw_data = Array.from({
62
+ length: 10
63
+ }).map(function (_, i) {
64
+ var email = _faker.faker.internet.email();
65
+ var name = "".concat(_faker.faker.person.lastName(), ", ").concat(_faker.faker.person.firstName());
66
+ var date = staticDates[i].toDateString();
67
+ var suffix = _faker.faker.person.suffix();
68
+ return {
69
+ name: {
70
+ formatted: "".concat(name, " ").concat(suffix),
71
+ raw: name
72
+ },
73
+ email: {
74
+ formatted: (0, _react2.jsx)(_link.EuiLink, {
75
+ href: ""
76
+ }, email),
77
+ raw: email
78
+ },
79
+ location: (0, _react2.jsx)(_react.default.Fragment, null, "".concat(_faker.faker.location.city(), ", "), (0, _react2.jsx)(_link.EuiLink, {
80
+ href: "https://google.com"
81
+ }, _faker.faker.location.country())),
82
+ date: date,
83
+ account: _faker.faker.finance.accountNumber(),
84
+ version: (0, _react2.jsx)(_badge.EuiBadge
85
+ // Tweak the badge's vertical centering
86
+ , {
87
+ css: _ref
88
+ }, _faker.faker.system.semver())
89
+ };
90
+ });
91
+ var columns = [{
92
+ id: 'name',
93
+ displayAsText: 'Name',
94
+ defaultSortDirection: 'asc',
95
+ cellActions: [function (_ref2) {
96
+ var rowIndex = _ref2.rowIndex,
97
+ Component = _ref2.Component;
98
+ var data = raw_data;
99
+ var value = data[rowIndex].name.raw;
100
+ return (0, _react2.jsx)(Component, {
101
+ onClick: function onClick() {
102
+ return alert("Hi ".concat(value));
103
+ },
104
+ iconType: "heart",
105
+ "aria-label": "Say hi to ".concat(value, "!")
106
+ }, "Say hi");
107
+ }]
108
+ }, {
109
+ id: 'email',
110
+ displayAsText: 'Email address',
111
+ initialWidth: 130,
112
+ cellActions: [function (_ref3) {
113
+ var rowIndex = _ref3.rowIndex,
114
+ Component = _ref3.Component;
115
+ var data = raw_data;
116
+ var value = data[rowIndex].email.raw;
117
+ return (0, _react2.jsx)(Component, {
118
+ onClick: function onClick() {
119
+ return alert(value);
120
+ },
121
+ iconType: "email",
122
+ "aria-label": "Send email to ".concat(value)
123
+ }, "Send email");
124
+ }]
125
+ }, {
126
+ id: 'location',
127
+ displayAsText: 'Location'
128
+ }, {
129
+ id: 'account',
130
+ displayAsText: 'Account',
131
+ actions: {
132
+ showHide: {
133
+ label: 'Custom hide label'
134
+ },
135
+ showMoveLeft: false,
136
+ showMoveRight: false,
137
+ additional: [{
138
+ label: 'Custom action',
139
+ onClick: function onClick() {},
140
+ iconType: 'cheer',
141
+ size: 'xs',
142
+ color: 'text'
143
+ }]
144
+ },
145
+ cellActions: [function (_ref4) {
146
+ var rowIndex = _ref4.rowIndex,
147
+ Component = _ref4.Component,
148
+ isExpanded = _ref4.isExpanded;
149
+ var data = raw_data;
150
+ var value = data[rowIndex].account;
151
+ var onClick = isExpanded ? function () {
152
+ return alert("Sent money to ".concat(value, " when expanded"));
153
+ } : function () {
154
+ return alert("Sent money to ".concat(value, " when not expanded"));
155
+ };
156
+ return (0, _react2.jsx)(Component, {
157
+ onClick: onClick,
158
+ iconType: "faceHappy",
159
+ "aria-label": "Send money to ".concat(value)
160
+ }, "Send money");
161
+ }]
162
+ }, {
163
+ id: 'date',
164
+ displayAsText: 'Date',
165
+ defaultSortDirection: 'desc'
166
+ }, {
167
+ id: 'version',
168
+ displayAsText: 'Version',
169
+ defaultSortDirection: 'desc',
170
+ initialWidth: 70,
171
+ isResizable: false,
172
+ actions: false,
173
+ schema: 'version' // Custom schema + CSS
174
+ }];
175
+ var RenderCellValue = function RenderCellValue(_ref5) {
176
+ var rowIndex = _ref5.rowIndex,
177
+ columnId = _ref5.columnId;
178
+ var data = raw_data;
179
+ var row = data[rowIndex];
180
+ var columnName = columnId;
181
+ var column = row[columnName];
182
+ var getFormatted = function getFormatted() {
183
+ if (_typeof(column) === 'object') {
184
+ var hasFormatted = ('formatted' in column);
185
+ return hasFormatted ? column.formatted : column;
186
+ }
187
+ return typeof column === 'string' ? column : null;
188
+ };
189
+ return data.hasOwnProperty(rowIndex) ? getFormatted() : null;
190
+ };
191
+ var defaultStorybookArgs = exports.defaultStorybookArgs = {
192
+ 'aria-label': 'EuiDataGrid',
193
+ css: process.env.NODE_ENV === "production" ? {
194
+ name: "1h7lf59-css",
195
+ styles: ".euiDataGridRowCell--version,.euiDataGridHeaderCell--version{text-align:center;};label:css;"
196
+ } : {
197
+ name: "1h7lf59-css",
198
+ styles: ".euiDataGridRowCell--version,.euiDataGridHeaderCell--version{text-align:center;};label:css;",
199
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
200
+ },
201
+ columns: columns,
202
+ rowCount: 10,
203
+ renderCellValue: RenderCellValue,
204
+ trailingControlColumns: [{
205
+ id: 'trailing-actions',
206
+ width: 64,
207
+ headerCellRender: function headerCellRender() {
208
+ return (0, _react2.jsx)(_accessibility.EuiScreenReaderOnly, null, (0, _react2.jsx)("span", null, "Row actions"));
209
+ },
210
+ rowCellRender: function rowCellRender() {
211
+ return (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_button.EuiButtonIcon, {
212
+ iconType: "indexEdit",
213
+ "aria-label": "Edit row"
214
+ }), (0, _react2.jsx)(_button.EuiButtonIcon, {
215
+ iconType: "boxesHorizontal",
216
+ "aria-label": "Open actions popover"
217
+ }));
218
+ }
219
+ }],
220
+ leadingControlColumns: [{
221
+ id: 'leading-actions',
222
+ width: 32,
223
+ headerCellRender: function headerCellRender() {
224
+ return (0, _react2.jsx)(_form.EuiCheckbox, {
225
+ id: "selectAll",
226
+ "aria-label": "Select all rows",
227
+ onChange: function onChange() {}
228
+ });
229
+ },
230
+ rowCellRender: function rowCellRender(_ref6) {
231
+ var rowIndex = _ref6.rowIndex;
232
+ return (0, _react2.jsx)(_form.EuiCheckbox, {
233
+ id: "selectRow".concat(rowIndex),
234
+ "aria-label": "Select row ".concat(rowIndex + 1),
235
+ onChange: function onChange() {}
236
+ });
237
+ }
238
+ }],
239
+ // setup for easier testing/QA
240
+ columnVisibility: {
241
+ visibleColumns: ['name', 'email', 'account', 'location', 'date', 'amount', 'phone', 'version'],
242
+ setVisibleColumns: function setVisibleColumns() {}
243
+ },
244
+ inMemory: {
245
+ level: 'sorting'
246
+ },
247
+ pagination: {
248
+ pageIndex: 0,
249
+ pageSize: 10,
250
+ pageSizeOptions: [10, 20, 50],
251
+ onChangeItemsPerPage: function onChangeItemsPerPage() {},
252
+ onChangePage: function onChangePage() {}
253
+ },
254
+ gridStyle: {
255
+ fontSize: 'm',
256
+ cellPadding: 'm',
257
+ border: 'all',
258
+ stripes: false,
259
+ header: 'shade',
260
+ footer: 'overline',
261
+ stickyFooter: true,
262
+ rowHover: 'highlight',
263
+ rowClasses: {}
264
+ },
265
+ width: '',
266
+ height: '',
267
+ toolbarVisibility: {
268
+ showColumnSelector: true,
269
+ showDisplaySelector: true,
270
+ showSortSelector: true,
271
+ showKeyboardShortcuts: true,
272
+ showFullScreenSelector: true,
273
+ additionalControls: null
274
+ },
275
+ minSizeForControls: _data_grid_toolbar.MINIMUM_WIDTH_FOR_GRID_CONTROLS,
276
+ rowHeightsOptions: {
277
+ defaultHeight: undefined,
278
+ rowHeights: {},
279
+ lineHeight: undefined,
280
+ scrollAnchorRow: undefined
281
+ }
282
+ };
283
+ var StatefulDataGrid = exports.StatefulDataGrid = function StatefulDataGrid(props) {
284
+ var _pagination$pageIndex, _sorting$columns, _columnVisibility$vis;
285
+ var pagination = props.pagination,
286
+ sorting = props.sorting,
287
+ columnVisibility = props.columnVisibility,
288
+ rest = _objectWithoutProperties(props, _excluded);
289
+
290
+ // Pagination
291
+ var _useState = (0, _react.useState)(_objectSpread({
292
+ pageIndex: (_pagination$pageIndex = pagination === null || pagination === void 0 ? void 0 : pagination.pageIndex) !== null && _pagination$pageIndex !== void 0 ? _pagination$pageIndex : 0
293
+ }, pagination)),
294
+ _useState2 = _slicedToArray(_useState, 2),
295
+ _pagination = _useState2[0],
296
+ setPagination = _useState2[1];
297
+ var onChangeItemsPerPage = (0, _react.useCallback)(function (pageSize) {
298
+ return setPagination(function (pagination) {
299
+ return _objectSpread(_objectSpread({}, pagination), {}, {
300
+ pageSize: pageSize,
301
+ pageIndex: 0
302
+ });
303
+ });
304
+ }, [setPagination]);
305
+ var onChangePage = (0, _react.useCallback)(function (pageIndex) {
306
+ return setPagination(function (pagination) {
307
+ return _objectSpread(_objectSpread({}, pagination), {}, {
308
+ pageIndex: pageIndex
309
+ });
310
+ });
311
+ }, [setPagination]);
312
+ (0, _react.useEffect)(function () {
313
+ if (pagination) {
314
+ setPagination(function (curentPagination) {
315
+ return _objectSpread(_objectSpread({}, curentPagination), pagination);
316
+ });
317
+ }
318
+ }, [pagination]);
319
+
320
+ // Sorting
321
+ var _useState3 = (0, _react.useState)((_sorting$columns = sorting === null || sorting === void 0 ? void 0 : sorting.columns) !== null && _sorting$columns !== void 0 ? _sorting$columns : []),
322
+ _useState4 = _slicedToArray(_useState3, 2),
323
+ sortingColumns = _useState4[0],
324
+ setSortingColumns = _useState4[1];
325
+ var onSort = (0, _react.useCallback)(function (sortingColumns) {
326
+ var _sorting$onSort;
327
+ setSortingColumns(sortingColumns);
328
+ sorting === null || sorting === void 0 || (_sorting$onSort = sorting.onSort) === null || _sorting$onSort === void 0 || _sorting$onSort.call(sorting, sortingColumns);
329
+ }, [setSortingColumns, sorting]);
330
+ (0, _react.useEffect)(function () {
331
+ if (sorting && Array.isArray(sorting.columns)) {
332
+ setSortingColumns(sorting.columns);
333
+ }
334
+ }, [sorting]);
335
+
336
+ // Column visibility
337
+ var _useState5 = (0, _react.useState)((_columnVisibility$vis = columnVisibility === null || columnVisibility === void 0 ? void 0 : columnVisibility.visibleColumns) !== null && _columnVisibility$vis !== void 0 ? _columnVisibility$vis : columns.map(function (_ref7) {
338
+ var id = _ref7.id;
339
+ return id;
340
+ }) // initialize to the full set of columns
341
+ ),
342
+ _useState6 = _slicedToArray(_useState5, 2),
343
+ visibleColumns = _useState6[0],
344
+ setVisibleColumns = _useState6[1];
345
+ (0, _react.useEffect)(function () {
346
+ if ((columnVisibility === null || columnVisibility === void 0 ? void 0 : columnVisibility.visibleColumns) != null) {
347
+ setVisibleColumns(columnVisibility === null || columnVisibility === void 0 ? void 0 : columnVisibility.visibleColumns);
348
+ }
349
+ }, [columnVisibility]);
350
+ return (0, _react2.jsx)(_data_grid.EuiDataGrid, _extends({}, rest, {
351
+ columnVisibility: {
352
+ visibleColumns: visibleColumns,
353
+ setVisibleColumns: setVisibleColumns
354
+ },
355
+ sorting: {
356
+ columns: sortingColumns,
357
+ onSort: onSort
358
+ },
359
+ pagination: _objectSpread(_objectSpread({}, _pagination), {}, {
360
+ onChangeItemsPerPage: onChangeItemsPerPage,
361
+ onChangePage: onChangePage
362
+ })
363
+ }));
364
+ };
365
+
366
+ /*
367
+ * Components that exist purely for allowing Storybook to parse certain nested
368
+ * interfaces/types into specific example control tables.
369
+ *
370
+ * For whatever reason, they needs to be in a separate file for Storybook's
371
+ * react-typescript-docgen to parse the jsdoc comments into the controls table
372
+ */
373
+
374
+ var EuiDataGridToolbarPropsComponent = exports.EuiDataGridToolbarPropsComponent = function EuiDataGridToolbarPropsComponent() {
375
+ return (0, _react2.jsx)(_react.default.Fragment, null);
376
+ };
377
+ EuiDataGridToolbarPropsComponent.propTypes = {
378
+ className: _propTypes.default.string,
379
+ "aria-label": _propTypes.default.string,
380
+ "data-test-subj": _propTypes.default.string,
381
+ css: _propTypes.default.any,
382
+ /**
383
+ * An array of #EuiDataGridColumn objects. Lists the columns available and the schema and settings tied to it.
384
+ */
385
+ columns: _propTypes.default.arrayOf(_propTypes.default.shape({
386
+ /**
387
+ * The unique identifier for this column
388
+ */
389
+ id: _propTypes.default.string.isRequired,
390
+ /**
391
+ * A `ReactNode` used when rendering the column header. When providing complicated content, please make sure to utilize CSS to respect truncation as space allows. Check the docs example.
392
+ */
393
+ display: _propTypes.default.node,
394
+ /**
395
+ * Display name as text for the column.
396
+ * This can be used to display a readable column name in column hiding/sorting, where `display` won't be used.
397
+ * This will also be used as a `title` attribute that will display on mouseover (useful if the display text is being truncated by the column width).
398
+ * If not passed, `id` will be shown as the column name.
399
+ * Passing this together with `display` is useful to ensure an accessible label is added to the column.
400
+ */
401
+ displayAsText: _propTypes.default.string,
402
+ /**
403
+ * Optional props to pass to the column header cell
404
+ */
405
+ displayHeaderCellProps: _propTypes.default.any,
406
+ /**
407
+ * Initial width (in pixels) of the column
408
+ */
409
+ initialWidth: _propTypes.default.number,
410
+ /**
411
+ * Defaults to true, always true if cellActions are defined. Defines whether or not the column's cells can be expanded with a popup onClick / keydown.
412
+ */
413
+ isExpandable: _propTypes.default.bool,
414
+ /**
415
+ * Whether this column's width can be changed by the user, defaults to true
416
+ */
417
+ isResizable: _propTypes.default.bool,
418
+ /**
419
+ * Whether this column is sortable
420
+ */
421
+ isSortable: _propTypes.default.bool,
422
+ /**
423
+ * Default sort direction of the column
424
+ */
425
+ defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
426
+ /**
427
+ * A Schema to use for the column.
428
+ * Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
429
+ * In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
430
+ */
431
+ schema: _propTypes.default.string,
432
+ /**
433
+ * Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
434
+ */
435
+ actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
436
+ /**
437
+ * Show/hide/configure the action to hide a column, provided EuiListGroupItemProps are merged
438
+ */
439
+ showHide: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
440
+ className: _propTypes.default.string,
441
+ "aria-label": _propTypes.default.string,
442
+ "data-test-subj": _propTypes.default.string,
443
+ css: _propTypes.default.any,
444
+ /**
445
+ * Size of the label text
446
+ */
447
+ size: _propTypes.default.any,
448
+ /**
449
+ * By default the item will get the color `text`.
450
+ * You can customize the color of the item by passing a color name.
451
+ */
452
+ color: _propTypes.default.any,
453
+ /**
454
+ * Apply styles indicating an item is active
455
+ */
456
+ isActive: _propTypes.default.bool,
457
+ /**
458
+ * Apply styles indicating an item is disabled
459
+ */
460
+ isDisabled: _propTypes.default.bool,
461
+ /**
462
+ * Make the list item label a link.
463
+ * While permitted, `href` and `onClick` should not be used together in most cases and may create problems.
464
+ */
465
+ href: _propTypes.default.string,
466
+ rel: _propTypes.default.string,
467
+ target: _propTypes.default.string,
468
+ /**
469
+ * Set to true to show an icon indicating that it is an external link;
470
+ * Defaults to true if `target="_blank"`
471
+ */
472
+ external: _propTypes.default.bool,
473
+ /**
474
+ * Further extend the props applied to EuiIcon
475
+ */
476
+ iconProps: _propTypes.default.any,
477
+ /**
478
+ * Display tooltip on list item
479
+ */
480
+ showToolTip: _propTypes.default.bool,
481
+ /**
482
+ * An object of #EuiListGroupItemExtraAction props.
483
+ * Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
484
+ * pass `alwaysShow` if you don't want the default behavior of only showing on hover
485
+ */
486
+ extraAction: _propTypes.default.shape({
487
+ alwaysShow: _propTypes.default.bool,
488
+ type: _propTypes.default.any,
489
+ onClick: _propTypes.default.func,
490
+ iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
491
+ /**
492
+ * Any of the named color palette options.
493
+ */
494
+ color: _propTypes.default.any,
495
+ "aria-label": _propTypes.default.string,
496
+ "aria-labelledby": _propTypes.default.string,
497
+ isDisabled: _propTypes.default.bool,
498
+ /**
499
+ * Overall size of button.
500
+ * Matches the sizes of other EuiButtons
501
+ */
502
+ size: _propTypes.default.any,
503
+ /**
504
+ * Size of the icon only.
505
+ * This will not affect the overall size of the button
506
+ */
507
+ iconSize: _propTypes.default.any,
508
+ /**
509
+ * Applies the boolean state as the `aria-pressed` property to create a toggle button.
510
+ * *Only use when the readable text does not change between states.*
511
+ */
512
+ isSelected: _propTypes.default.bool,
513
+ /**
514
+ * Sets the display style for matching other EuiButton types.
515
+ * `base` is equivalent to a typical EuiButton
516
+ * `fill` is equivalent to a filled EuiButton
517
+ * `empty` (default) is equivalent to an EuiButtonEmpty
518
+ */
519
+ display: _propTypes.default.any,
520
+ /**
521
+ * Disables the button and changes the icon to a loading spinner
522
+ */
523
+ isLoading: _propTypes.default.bool,
524
+ className: _propTypes.default.string,
525
+ "data-test-subj": _propTypes.default.string,
526
+ css: _propTypes.default.any,
527
+ buttonRef: _propTypes.default.any
528
+ }),
529
+ /**
530
+ * Make the list item label a button.
531
+ * While permitted, `href` and `onClick` should not be used together in most cases and may create problems.
532
+ */
533
+ onClick: _propTypes.default.func,
534
+ /**
535
+ * Allow link text to wrap
536
+ */
537
+ wrapText: _propTypes.default.bool,
538
+ /**
539
+ * Pass-through ref reference specifically for targeting
540
+ * instances where the item content is rendered as a `button`
541
+ */
542
+ buttonRef: _propTypes.default.any,
543
+ /**
544
+ * Text to be displayed in the tooltip when `showToolTip` is true.
545
+ * By default the text will be same as the label text.
546
+ */
547
+ toolTipText: _propTypes.default.string,
548
+ /**
549
+ * Allows customizing the tooltip shown when `showToolTip` is true.
550
+ * Accepts any props that [EuiToolTip](/#/display/tooltip) accepts.
551
+ */
552
+ toolTipProps: _propTypes.default.any
553
+ }).isRequired]),
554
+ /**
555
+ * Show/hide/configure the action that switches the actual column with the column to the left side, provided EuiListGroupItemProps are merged
556
+ */
557
+ showMoveLeft: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
558
+ className: _propTypes.default.string,
559
+ "aria-label": _propTypes.default.string,
560
+ "data-test-subj": _propTypes.default.string,
561
+ css: _propTypes.default.any,
562
+ size: _propTypes.default.any,
563
+ color: _propTypes.default.any,
564
+ isActive: _propTypes.default.bool,
565
+ isDisabled: _propTypes.default.bool,
566
+ href: _propTypes.default.string,
567
+ rel: _propTypes.default.string,
568
+ target: _propTypes.default.string,
569
+ external: _propTypes.default.bool,
570
+ iconProps: _propTypes.default.any,
571
+ showToolTip: _propTypes.default.bool,
572
+ extraAction: _propTypes.default.shape({
573
+ alwaysShow: _propTypes.default.bool,
574
+ type: _propTypes.default.any,
575
+ onClick: _propTypes.default.func,
576
+ iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
577
+ color: _propTypes.default.any,
578
+ "aria-label": _propTypes.default.string,
579
+ "aria-labelledby": _propTypes.default.string,
580
+ isDisabled: _propTypes.default.bool,
581
+ size: _propTypes.default.any,
582
+ iconSize: _propTypes.default.any,
583
+ isSelected: _propTypes.default.bool,
584
+ display: _propTypes.default.any,
585
+ isLoading: _propTypes.default.bool,
586
+ className: _propTypes.default.string,
587
+ "data-test-subj": _propTypes.default.string,
588
+ css: _propTypes.default.any,
589
+ buttonRef: _propTypes.default.any
590
+ }),
591
+ onClick: _propTypes.default.func,
592
+ wrapText: _propTypes.default.bool,
593
+ buttonRef: _propTypes.default.any,
594
+ toolTipText: _propTypes.default.string,
595
+ toolTipProps: _propTypes.default.any
596
+ }).isRequired]),
597
+ /**
598
+ * Show/hide/configure the action that switches the actual column with the column to the right side, provided EuiListGroupItemProps are merged
599
+ */
600
+ showMoveRight: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
601
+ className: _propTypes.default.string,
602
+ "aria-label": _propTypes.default.string,
603
+ "data-test-subj": _propTypes.default.string,
604
+ css: _propTypes.default.any,
605
+ size: _propTypes.default.any,
606
+ color: _propTypes.default.any,
607
+ isActive: _propTypes.default.bool,
608
+ isDisabled: _propTypes.default.bool,
609
+ href: _propTypes.default.string,
610
+ rel: _propTypes.default.string,
611
+ target: _propTypes.default.string,
612
+ external: _propTypes.default.bool,
613
+ iconProps: _propTypes.default.any,
614
+ showToolTip: _propTypes.default.bool,
615
+ extraAction: _propTypes.default.shape({
616
+ alwaysShow: _propTypes.default.bool,
617
+ type: _propTypes.default.any,
618
+ onClick: _propTypes.default.func,
619
+ iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
620
+ color: _propTypes.default.any,
621
+ "aria-label": _propTypes.default.string,
622
+ "aria-labelledby": _propTypes.default.string,
623
+ isDisabled: _propTypes.default.bool,
624
+ size: _propTypes.default.any,
625
+ iconSize: _propTypes.default.any,
626
+ isSelected: _propTypes.default.bool,
627
+ display: _propTypes.default.any,
628
+ isLoading: _propTypes.default.bool,
629
+ className: _propTypes.default.string,
630
+ "data-test-subj": _propTypes.default.string,
631
+ css: _propTypes.default.any,
632
+ buttonRef: _propTypes.default.any
633
+ }),
634
+ onClick: _propTypes.default.func,
635
+ wrapText: _propTypes.default.bool,
636
+ buttonRef: _propTypes.default.any,
637
+ toolTipText: _propTypes.default.string,
638
+ toolTipProps: _propTypes.default.any
639
+ }).isRequired]),
640
+ /**
641
+ * Show/hide/configure the action to sort ascending by the actual column, provided EuiListGroupItemProps are merged
642
+ */
643
+ showSortAsc: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
644
+ className: _propTypes.default.string,
645
+ "aria-label": _propTypes.default.string,
646
+ "data-test-subj": _propTypes.default.string,
647
+ css: _propTypes.default.any,
648
+ size: _propTypes.default.any,
649
+ color: _propTypes.default.any,
650
+ isActive: _propTypes.default.bool,
651
+ isDisabled: _propTypes.default.bool,
652
+ href: _propTypes.default.string,
653
+ rel: _propTypes.default.string,
654
+ target: _propTypes.default.string,
655
+ external: _propTypes.default.bool,
656
+ iconProps: _propTypes.default.any,
657
+ showToolTip: _propTypes.default.bool,
658
+ extraAction: _propTypes.default.shape({
659
+ alwaysShow: _propTypes.default.bool,
660
+ type: _propTypes.default.any,
661
+ onClick: _propTypes.default.func,
662
+ iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
663
+ color: _propTypes.default.any,
664
+ "aria-label": _propTypes.default.string,
665
+ "aria-labelledby": _propTypes.default.string,
666
+ isDisabled: _propTypes.default.bool,
667
+ size: _propTypes.default.any,
668
+ iconSize: _propTypes.default.any,
669
+ isSelected: _propTypes.default.bool,
670
+ display: _propTypes.default.any,
671
+ isLoading: _propTypes.default.bool,
672
+ className: _propTypes.default.string,
673
+ "data-test-subj": _propTypes.default.string,
674
+ css: _propTypes.default.any,
675
+ buttonRef: _propTypes.default.any
676
+ }),
677
+ onClick: _propTypes.default.func,
678
+ wrapText: _propTypes.default.bool,
679
+ buttonRef: _propTypes.default.any,
680
+ toolTipText: _propTypes.default.string,
681
+ toolTipProps: _propTypes.default.any
682
+ }).isRequired]),
683
+ /**
684
+ * Show/hide/configure the action to sort descending by the actual column, provided EuiListGroupItemProps are merged
685
+ */
686
+ showSortDesc: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
687
+ className: _propTypes.default.string,
688
+ "aria-label": _propTypes.default.string,
689
+ "data-test-subj": _propTypes.default.string,
690
+ css: _propTypes.default.any,
691
+ size: _propTypes.default.any,
692
+ color: _propTypes.default.any,
693
+ isActive: _propTypes.default.bool,
694
+ isDisabled: _propTypes.default.bool,
695
+ href: _propTypes.default.string,
696
+ rel: _propTypes.default.string,
697
+ target: _propTypes.default.string,
698
+ external: _propTypes.default.bool,
699
+ iconProps: _propTypes.default.any,
700
+ showToolTip: _propTypes.default.bool,
701
+ extraAction: _propTypes.default.shape({
702
+ alwaysShow: _propTypes.default.bool,
703
+ type: _propTypes.default.any,
704
+ onClick: _propTypes.default.func,
705
+ iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
706
+ color: _propTypes.default.any,
707
+ "aria-label": _propTypes.default.string,
708
+ "aria-labelledby": _propTypes.default.string,
709
+ isDisabled: _propTypes.default.bool,
710
+ size: _propTypes.default.any,
711
+ iconSize: _propTypes.default.any,
712
+ isSelected: _propTypes.default.bool,
713
+ display: _propTypes.default.any,
714
+ isLoading: _propTypes.default.bool,
715
+ className: _propTypes.default.string,
716
+ "data-test-subj": _propTypes.default.string,
717
+ css: _propTypes.default.any,
718
+ buttonRef: _propTypes.default.any
719
+ }),
720
+ onClick: _propTypes.default.func,
721
+ wrapText: _propTypes.default.bool,
722
+ buttonRef: _propTypes.default.any,
723
+ toolTipText: _propTypes.default.string,
724
+ toolTipProps: _propTypes.default.any
725
+ }).isRequired]),
726
+ /**
727
+ * Append additional actions
728
+ */
729
+ additional: _propTypes.default.arrayOf(_propTypes.default.shape({
730
+ className: _propTypes.default.string,
731
+ "aria-label": _propTypes.default.string,
732
+ "data-test-subj": _propTypes.default.string,
733
+ css: _propTypes.default.any,
734
+ size: _propTypes.default.any,
735
+ color: _propTypes.default.any,
736
+ isActive: _propTypes.default.bool,
737
+ isDisabled: _propTypes.default.bool,
738
+ href: _propTypes.default.string,
739
+ rel: _propTypes.default.string,
740
+ target: _propTypes.default.string,
741
+ external: _propTypes.default.bool,
742
+ iconProps: _propTypes.default.any,
743
+ showToolTip: _propTypes.default.bool,
744
+ extraAction: _propTypes.default.shape({
745
+ alwaysShow: _propTypes.default.bool,
746
+ type: _propTypes.default.any,
747
+ onClick: _propTypes.default.func,
748
+ iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
749
+ color: _propTypes.default.any,
750
+ "aria-label": _propTypes.default.string,
751
+ "aria-labelledby": _propTypes.default.string,
752
+ isDisabled: _propTypes.default.bool,
753
+ size: _propTypes.default.any,
754
+ iconSize: _propTypes.default.any,
755
+ isSelected: _propTypes.default.bool,
756
+ display: _propTypes.default.any,
757
+ isLoading: _propTypes.default.bool,
758
+ className: _propTypes.default.string,
759
+ "data-test-subj": _propTypes.default.string,
760
+ css: _propTypes.default.any,
761
+ buttonRef: _propTypes.default.any
762
+ }),
763
+ onClick: _propTypes.default.func,
764
+ wrapText: _propTypes.default.bool,
765
+ buttonRef: _propTypes.default.any,
766
+ toolTipText: _propTypes.default.string,
767
+ toolTipProps: _propTypes.default.any
768
+ }).isRequired)
769
+ }).isRequired]),
770
+ /**
771
+ * Additional actions displayed as icon on hover / focus, and in the expanded view of the cell containing the value
772
+ */
773
+ cellActions: _propTypes.default.arrayOf(_propTypes.default.elementType.isRequired),
774
+ /**
775
+ * Configures the amount of cell action buttons immediately visible on a cell.
776
+ * Any cell actions above this number will only display in the cell expansion popover.
777
+ * Defaults to 2.
778
+ */
779
+ visibleCellActions: _propTypes.default.number
780
+ }).isRequired).isRequired,
781
+ /**
782
+ * An array of #EuiDataGridControlColumn objects. Used to define ancillary columns on the left side of the data grid.
783
+ * Useful for adding items like checkboxes and buttons.
784
+ */
785
+ leadingControlColumns: _propTypes.default.arrayOf(_propTypes.default.shape({
786
+ /**
787
+ * Used as the React `key` when rendering content
788
+ */
789
+ id: _propTypes.default.string.isRequired,
790
+ /**
791
+ * Width of the column, users are unable to change this
792
+ */
793
+ width: _propTypes.default.number.isRequired,
794
+ /**
795
+ * Component to render in the column header
796
+ */
797
+ headerCellRender: _propTypes.default.elementType.isRequired,
798
+ /**
799
+ * Optional props to pass to the column header cell
800
+ */
801
+ headerCellProps: _propTypes.default.any,
802
+ /**
803
+ * Component to render for each row in the column
804
+ */
805
+ rowCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]).isRequired,
806
+ /**
807
+ * Component to render in the optional column footer
808
+ */
809
+ footerCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]),
810
+ /**
811
+ * Optional props to pass to the column footer cell
812
+ */
813
+ footerCellProps: _propTypes.default.any
814
+ }).isRequired),
815
+ /**
816
+ * An array of #EuiDataGridControlColumn objects. Used to define ancillary columns on the right side of the data grid.
817
+ * Useful for adding items like checkboxes and buttons.
818
+ */
819
+ trailingControlColumns: _propTypes.default.arrayOf(_propTypes.default.shape({
820
+ /**
821
+ * Used as the React `key` when rendering content
822
+ */
823
+ id: _propTypes.default.string.isRequired,
824
+ /**
825
+ * Width of the column, users are unable to change this
826
+ */
827
+ width: _propTypes.default.number.isRequired,
828
+ /**
829
+ * Component to render in the column header
830
+ */
831
+ headerCellRender: _propTypes.default.elementType.isRequired,
832
+ /**
833
+ * Optional props to pass to the column header cell
834
+ */
835
+ headerCellProps: _propTypes.default.any,
836
+ /**
837
+ * Component to render for each row in the column
838
+ */
839
+ rowCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]).isRequired,
840
+ /**
841
+ * Component to render in the optional column footer
842
+ */
843
+ footerCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]),
844
+ /**
845
+ * Optional props to pass to the column footer cell
846
+ */
847
+ footerCellProps: _propTypes.default.any
848
+ }).isRequired),
849
+ /**
850
+ * An array of #EuiDataGridColumnVisibility objects.
851
+ * Defines which columns are **intitially** visible in the grid and the order they are displayed.
852
+ * Users can still turn their visibility on/off when `toolbarVisibility.showColumnSelector = true` (which is the default).
853
+ */
854
+ columnVisibility: _propTypes.default.shape({
855
+ /**
856
+ * An array of #EuiDataGridColumn `id`s dictating the order and visibility of columns.
857
+ */
858
+ visibleColumns: _propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired,
859
+ /**
860
+ * A callback for when a column's visibility or order is modified by the user.
861
+ */
862
+ setVisibleColumns: _propTypes.default.func.isRequired
863
+ }).isRequired,
864
+ /**
865
+ * An array of custom #EuiDataGridSchemaDetector objects. You can inject custom schemas to the grid to define the classnames applied.
866
+ */
867
+ schemaDetectors: _propTypes.default.arrayOf(_propTypes.default.shape({
868
+ /**
869
+ * The name of this data type, matches #EuiDataGridColumn / `schema`
870
+ */
871
+ type: _propTypes.default.string.isRequired,
872
+ /**
873
+ * The function given the text value of a cell and returns a score of [0...1] of how well the value matches this data type
874
+ */
875
+ detector: _propTypes.default.func.isRequired,
876
+ /**
877
+ * A custom comparator function when performing in-memory sorting on this data type, takes `(a: string, b: string, direction: 'asc' | 'desc', indexes: {aIndex: number, bIndex: number}) => -1 | 0 | 1`
878
+ */
879
+ comparator: _propTypes.default.func,
880
+ /**
881
+ * The icon used to visually represent this data type. Accepts any `EuiIcon IconType`.
882
+ */
883
+ icon: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
884
+ /**
885
+ * The color associated with this data type; it's used to color the icon token
886
+ */
887
+ color: _propTypes.default.oneOfType([_propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.string.isRequired]).isRequired, _propTypes.default.string.isRequired]),
888
+ /**
889
+ * Text for how to represent an ascending sort of this data type, e.g. 'A -> Z'
890
+ */
891
+ sortTextAsc: _propTypes.default.node.isRequired,
892
+ /**
893
+ * Text for how to represent a descending sort of this data type, e.g. 'Z -> A'
894
+ */
895
+ sortTextDesc: _propTypes.default.node.isRequired,
896
+ /**
897
+ * Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual #EuiDataGridColumn level
898
+ */
899
+ isSortable: _propTypes.default.bool,
900
+ /**
901
+ * This property controls the capitalization of text
902
+ */
903
+ textTransform: _propTypes.default.oneOf(["uppercase", "lowercase", "capitalize"]),
904
+ /**
905
+ * Default sort direction of columns with this schema. Can be overridden at the individual #EuiDataGridColumn level
906
+ */
907
+ defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"])
908
+ }).isRequired),
909
+ /**
910
+ * The total number of rows in the dataset (used by e.g. pagination to know how many pages to list).
911
+ */
912
+ rowCount: _propTypes.default.number.isRequired,
913
+ /**
914
+ * A function called to render a cell's value. Behind the scenes it is treated as a React component
915
+ * allowing hooks, context, and other React concepts to be used. The function receives #EuiDataGridCellValueElementProps
916
+ * as its only argument.
917
+ */
918
+ renderCellValue: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]).isRequired,
919
+ /**
920
+ * An optional object of props passed to the `renderCellValue` component.
921
+ * This API exists to make it easier to define your `renderCellValue` function
922
+ * component statically, and not rerender due to other dependent state.
923
+ */
924
+ cellContext: _propTypes.default.any,
925
+ /**
926
+ * An optional function that can be used to completely customize the rendering of cell popovers.
927
+ *
928
+ * If not specified, defaults to an `<EuiText>` wrapper around the rendered cell value and an
929
+ * `<EuiPopoverFooter>` around the cell actions.
930
+ *
931
+ * Behind the scenes it is treated as a React component allowing hooks, context, and other React concepts to be used.
932
+ * The function receives #EuiDataGridCellPopoverElementProps as its only argument.
933
+ *
934
+ */
935
+ renderCellPopover: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.func.isRequired]),
936
+ /**
937
+ * An optional function called to render a footer cell. If not specified, no footer row is rendered.
938
+ *
939
+ * Behind the scenes it is treated as a React component
940
+ * allowing hooks, context, and other React concepts to be used. The function receives #EuiDataGridCellValueElementProps
941
+ * as its only argument.
942
+ */
943
+ renderFooterCellValue: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]),
944
+ /**
945
+ * An optional function called to completely customize and control the rendering of
946
+ * EuiDataGrid's body and cell placement. This can be used to, e.g. remove EuiDataGrid's
947
+ * virtualization library, or roll your own.
948
+ *
949
+ * This component is **only** meant as an escape hatch for extremely custom use cases.
950
+ *
951
+ * Behind the scenes, this function is treated as a React component,
952
+ * allowing hooks, context, and other React concepts to be used.
953
+ * It receives #EuiDataGridCustomBodyProps as its only argument.
954
+ */
955
+ renderCustomGridBody: _propTypes.default.func,
956
+ /**
957
+ * An optional function called to customize placement of controls in EuiDataGrid's toolbar.
958
+ * This can be used to add custom buttons or reorder existing ones.
959
+ *
960
+ * Behind the scenes, this function is treated as a React component,
961
+ * allowing hooks, context, and other React concepts to be used.
962
+ * It receives #EuiDataGridCustomToolbarProps as its only argument.
963
+ */
964
+ renderCustomToolbar: _propTypes.default.func,
965
+ /**
966
+ * Defines the initial style of the grid. Accepts a partial #EuiDataGridStyle object.
967
+ * Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowDensity = true` (which is the default).
968
+ */
969
+ gridStyle: _propTypes.default.shape({
970
+ /**
971
+ * Size of fonts used within the row and column cells
972
+ * @default m
973
+ */
974
+ fontSize: _propTypes.default.oneOf(["s", "m", "l"]),
975
+ /**
976
+ * Defines the padding with the row and column cells
977
+ * @default m
978
+ */
979
+ cellPadding: _propTypes.default.oneOf(["s", "m", "l"]),
980
+ /**
981
+ * Border used for the row and column cells
982
+ * @default all
983
+ */
984
+ border: _propTypes.default.oneOf(["all", "horizontal", "none"]),
985
+ /**
986
+ * If set to true, rows will alternate zebra striping for clarity
987
+ * @default false
988
+ */
989
+ stripes: _propTypes.default.bool,
990
+ /**
991
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
992
+ * @default shade
993
+ */
994
+ header: _propTypes.default.oneOf(["shade", "underline"]),
995
+ /**
996
+ * Visual style for the column footers.
997
+ * @default overline
998
+ */
999
+ footer: _propTypes.default.oneOf(["shade", "overline", "striped"]),
1000
+ /**
1001
+ * If set to true, the footer row will be sticky
1002
+ * @default true
1003
+ */
1004
+ stickyFooter: _propTypes.default.bool,
1005
+ /**
1006
+ * Will define what visual style to show on row hover
1007
+ * @default hover
1008
+ */
1009
+ rowHover: _propTypes.default.oneOf(["highlight", "none"]),
1010
+ /**
1011
+ * Optionally pass custom classes to highlight or customize certain rows
1012
+ */
1013
+ rowClasses: _propTypes.default.shape({}),
1014
+ /**
1015
+ * Optional callback returning the current `gridStyle` config when changes occur from user input (e.g. toolbar display controls).
1016
+ * Can be used for, e.g. storing user `gridStyle` in a local storage object.
1017
+ */
1018
+ onChange: _propTypes.default.func
1019
+ }),
1020
+ /**
1021
+ * Allows you to configure what features the toolbar shows.
1022
+ *
1023
+ * Accepts either a boolean or #EuiDataGridToolBarVisibilityOptions object.
1024
+ * When used as a boolean, defines the display of the entire toolbar.
1025
+ * When passed an object allows you to turn off individual controls within the toolbar as well as add additional buttons.
1026
+ */
1027
+ toolbarVisibility: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
1028
+ /**
1029
+ * Allows the ability for the user to hide fields and sort columns, boolean or a #EuiDataGridToolBarVisibilityColumnSelectorOptions
1030
+ * @default true
1031
+ */
1032
+ showColumnSelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
1033
+ /**
1034
+ * When `false`, removes the ability to show & hide columns through the UI
1035
+ */
1036
+ allowHide: _propTypes.default.bool,
1037
+ /**
1038
+ * When `false`, removes the ability to re-order columns through the UI
1039
+ */
1040
+ allowReorder: _propTypes.default.bool
1041
+ }).isRequired]),
1042
+ /**
1043
+ * Allows the ability for the user to customize display settings such as grid density and row heights.
1044
+ * User changes will override what is provided in #EuiDataGridStyle and #EuiDataGridRowHeightsOptions
1045
+ * @default true
1046
+ */
1047
+ showDisplaySelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
1048
+ /**
1049
+ * When `false`, removes the ability to change density display through the UI
1050
+ */
1051
+ allowDensity: _propTypes.default.bool,
1052
+ /**
1053
+ * When `false`, removes the ability to change row height display through the UI
1054
+ */
1055
+ allowRowHeight: _propTypes.default.bool,
1056
+ /**
1057
+ * When `false`, removes the ability to reset styles to default through the UI
1058
+ */
1059
+ allowResetButton: _propTypes.default.bool,
1060
+ /**
1061
+ * Allows appending additional content to the bottom of the display settings popover
1062
+ */
1063
+ additionalDisplaySettings: _propTypes.default.node
1064
+ }).isRequired]),
1065
+ /**
1066
+ * Allows the ability for the user to sort rows based upon column values
1067
+ * @default true
1068
+ */
1069
+ showSortSelector: _propTypes.default.bool,
1070
+ /**
1071
+ * Displays a popover listing all keyboard controls and shortcuts for the data grid.
1072
+ * If set to `false`, the toggle will be visually hidden, but still focusable by keyboard and screen reader users.
1073
+ * @default true
1074
+ */
1075
+ showKeyboardShortcuts: _propTypes.default.bool,
1076
+ /**
1077
+ * Allows user to be able to fullscreen the data grid. If set to `false` make sure your grid fits within a large enough panel to still show the other controls.
1078
+ * @default true
1079
+ */
1080
+ showFullScreenSelector: _propTypes.default.bool,
1081
+ /**
1082
+ * If passed a `ReactNode`, appends the passed custom control into the left side of the toolbar, after the column & sort controls.
1083
+ * Or use #EuiDataGridToolBarAdditionalControlsOptions to customize the location of your control.
1084
+ */
1085
+ additionalControls: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
1086
+ /**
1087
+ * If passed a `ReactNode`, appends the passed node into the left side of the toolbar, **after** the column & sort controls.
1088
+ * Or use #EuiDataGridToolBarAdditionalControlsLeftOptions to customize the location of your control.
1089
+ * We recommend using `<EuiButtonEmpty size="xs" />` to match the existing controls on the left.
1090
+ */
1091
+ left: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
1092
+ /**
1093
+ * Will prepend the passed node into the left side of the toolbar, **before** the column & sort controls.
1094
+ */
1095
+ prepend: _propTypes.default.node,
1096
+ /**
1097
+ * Will append the passed node into the left side of the toolbar, **after** the column & sort controls.
1098
+ */
1099
+ append: _propTypes.default.node
1100
+ }).isRequired]),
1101
+ /**
1102
+ * Will prepend the passed node into the right side of the toolbar, **before** the density & fullscreen controls.
1103
+ * We recommend using `<EuiButtonIcon size="xs" />` to match the existing controls on the right.
1104
+ */
1105
+ right: _propTypes.default.node
1106
+ }).isRequired])
1107
+ }).isRequired]),
1108
+ /**
1109
+ * A #EuiDataGridInMemory object to define the level of high order schema-detection and sorting logic to use on your data.
1110
+ * **Try to set when possible**.
1111
+ * If omitted, disables all enhancements and assumes content is flat strings.
1112
+ */
1113
+ inMemory: _propTypes.default.shape({
1114
+ /**
1115
+ Given the data flow Sorting->Pagination:
1116
+ Each step can be performed by service calls or in-memory by the grid.
1117
+ However, we cannot allow any service calls after an in-memory operation.
1118
+ E.g. if Pagination requires a service call the grid cannot perform
1119
+ in-memory Sorting. This means a single value representing the
1120
+ service / in-memory boundary can be used. Thus there are four states for in-memory's level:
1121
+ * "enhancements" - no in-memory operations, but use the available data to enhance the grid
1122
+ * "pagination" - only pagination is performed in-memory
1123
+ * "sorting" - sorting & pagination is performed in-memory
1124
+ */
1125
+ level: _propTypes.default.oneOf(["enhancements", "pagination", "sorting"]).isRequired,
1126
+ /**
1127
+ * An array of column ids for the in-memory processing to skip
1128
+ */
1129
+ skipColumns: _propTypes.default.arrayOf(_propTypes.default.string.isRequired)
1130
+ }),
1131
+ /**
1132
+ * A #EuiDataGridPaginationProps object. Omit to disable pagination completely.
1133
+ */
1134
+ pagination: _propTypes.default.shape({
1135
+ /**
1136
+ * The index of the current page, starts at 0 for the first page
1137
+ */
1138
+ pageIndex: _propTypes.default.number.isRequired,
1139
+ /**
1140
+ * How many rows should initially be shown per page.
1141
+ * Pass `0` to display the selected "Show all" option and hide the pagination.
1142
+ *
1143
+ * @default 10
1144
+ */
1145
+ pageSize: _propTypes.default.number,
1146
+ /**
1147
+ * An array of page sizes the user can select from.
1148
+ * Pass `0` as one of the options to create a "Show all" option.
1149
+ * Pass an empty array to hide "Rows per page" select button.
1150
+ *
1151
+ * @default [10, 25, 50]
1152
+ */
1153
+ pageSizeOptions: _propTypes.default.arrayOf(_propTypes.default.number.isRequired),
1154
+ /**
1155
+ * A callback for when the user changes the page size selection
1156
+ */
1157
+ onChangeItemsPerPage: _propTypes.default.func.isRequired,
1158
+ /**
1159
+ * A callback for when the current page index changes
1160
+ */
1161
+ onChangePage: _propTypes.default.func.isRequired
1162
+ }),
1163
+ /**
1164
+ * A #EuiDataGridSorting object that provides the sorted columns along with their direction. Provides a callback for when it changes.
1165
+ * Optional, but required when inMemory is set.
1166
+ * Omit to disable, but you'll likely want to also turn off the user sorting controls through the `toolbarVisibility` prop.
1167
+ */
1168
+ sorting: _propTypes.default.shape({
1169
+ /**
1170
+ * A function that receives updated column sort details in response to user interactions in the toolbar controls
1171
+ */
1172
+ onSort: _propTypes.default.func.isRequired,
1173
+ /**
1174
+ * An array of the column ids currently being sorted and their sort direction. The array order determines the sort order. `{ id: 'A'; direction: 'asc' }`
1175
+ */
1176
+ columns: _propTypes.default.arrayOf(_propTypes.default.shape({
1177
+ id: _propTypes.default.string.isRequired,
1178
+ direction: _propTypes.default.oneOf(["asc", "desc"]).isRequired
1179
+ }).isRequired).isRequired
1180
+ }),
1181
+ /**
1182
+ * A callback for when a column's size changes. Callback receives `{ columnId: string, width: number }`.
1183
+ */
1184
+ onColumnResize: _propTypes.default.func,
1185
+ /**
1186
+ * Defines a minimum width for the grid to show all controls in its toolbar.
1187
+ */
1188
+ minSizeForControls: _propTypes.default.number,
1189
+ /**
1190
+ * Sets the grid's height, forcing it to overflow in a scrollable container with cell virtualization.
1191
+ */
1192
+ height: _propTypes.default.any,
1193
+ /**
1194
+ * Sets the grid's width, forcing it to overflow in a scrollable container with cell virtualization.
1195
+ */
1196
+ width: _propTypes.default.any,
1197
+ /**
1198
+ * Allows customizing the underlying [react-window grid](https://react-window.vercel.app/#/api/VariableSizeGrid) props.
1199
+ */
1200
+ virtualizationOptions: _propTypes.default.any,
1201
+ /**
1202
+ * A #EuiDataGridRowHeightsOptions object that provides row heights options.
1203
+ * Allows configuring both default and specific heights of grid rows.
1204
+ * Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowRowHeight = true` (which is the default).
1205
+ */
1206
+ rowHeightsOptions: _propTypes.default.shape({
1207
+ /**
1208
+ * Defines the default size for all rows. It can be line count or just height.
1209
+ */
1210
+ defaultHeight: _propTypes.default.oneOfType([_propTypes.default.number.isRequired, _propTypes.default.oneOf(["auto"]), _propTypes.default.shape({
1211
+ lineCount: _propTypes.default.number,
1212
+ height: _propTypes.default.number
1213
+ }).isRequired]),
1214
+ /**
1215
+ * Defines the height for a specific row. It can be line count or just height.
1216
+ *
1217
+ * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
1218
+ * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
1219
+ */
1220
+ rowHeights: _propTypes.default.any,
1221
+ /**
1222
+ * Defines a global lineHeight style to apply to all cells
1223
+ */
1224
+ lineHeight: _propTypes.default.string,
1225
+ /**
1226
+ * Optional callback returning the current `rowHeightsOptions` when changes occur from user input (e.g. toolbar display controls).
1227
+ * Can be used for, e.g. storing user `rowHeightsOptions` in a local storage object.
1228
+ */
1229
+ onChange: _propTypes.default.func,
1230
+ /**
1231
+ * Optional indicator of the row that should be used as an anchor for vertical layout shift compensation.
1232
+ * When set to 'start' or 'center', the topmost or middle visible row will try
1233
+ * to compensate for changes in their top offsets by adjusting the grid's scroll
1234
+ * position.
1235
+ */
1236
+ scrollAnchorRow: _propTypes.default.oneOf(["start", "center", undefined])
1237
+ }),
1238
+ /**
1239
+ * Allows the ability for the user to hide fields and sort columns, boolean or a #EuiDataGridToolBarVisibilityColumnSelectorOptions
1240
+ * @default true
1241
+ */
1242
+ showColumnSelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
1243
+ /**
1244
+ * When `false`, removes the ability to show & hide columns through the UI
1245
+ */
1246
+ allowHide: _propTypes.default.bool,
1247
+ /**
1248
+ * When `false`, removes the ability to re-order columns through the UI
1249
+ */
1250
+ allowReorder: _propTypes.default.bool
1251
+ }).isRequired]),
1252
+ /**
1253
+ * Allows the ability for the user to customize display settings such as grid density and row heights.
1254
+ * User changes will override what is provided in #EuiDataGridStyle and #EuiDataGridRowHeightsOptions
1255
+ * @default true
1256
+ */
1257
+ showDisplaySelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
1258
+ /**
1259
+ * When `false`, removes the ability to change density display through the UI
1260
+ */
1261
+ allowDensity: _propTypes.default.bool,
1262
+ /**
1263
+ * When `false`, removes the ability to change row height display through the UI
1264
+ */
1265
+ allowRowHeight: _propTypes.default.bool,
1266
+ /**
1267
+ * When `false`, removes the ability to reset styles to default through the UI
1268
+ */
1269
+ allowResetButton: _propTypes.default.bool,
1270
+ /**
1271
+ * Allows appending additional content to the bottom of the display settings popover
1272
+ */
1273
+ additionalDisplaySettings: _propTypes.default.node
1274
+ }).isRequired]),
1275
+ /**
1276
+ * Allows the ability for the user to sort rows based upon column values
1277
+ * @default true
1278
+ */
1279
+ showSortSelector: _propTypes.default.bool,
1280
+ /**
1281
+ * Displays a popover listing all keyboard controls and shortcuts for the data grid.
1282
+ * If set to `false`, the toggle will be visually hidden, but still focusable by keyboard and screen reader users.
1283
+ * @default true
1284
+ */
1285
+ showKeyboardShortcuts: _propTypes.default.bool,
1286
+ /**
1287
+ * Allows user to be able to fullscreen the data grid. If set to `false` make sure your grid fits within a large enough panel to still show the other controls.
1288
+ * @default true
1289
+ */
1290
+ showFullScreenSelector: _propTypes.default.bool,
1291
+ /**
1292
+ * If passed a `ReactNode`, appends the passed custom control into the left side of the toolbar, after the column & sort controls.
1293
+ * Or use #EuiDataGridToolBarAdditionalControlsOptions to customize the location of your control.
1294
+ */
1295
+ additionalControls: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
1296
+ /**
1297
+ * If passed a `ReactNode`, appends the passed node into the left side of the toolbar, **after** the column & sort controls.
1298
+ * Or use #EuiDataGridToolBarAdditionalControlsLeftOptions to customize the location of your control.
1299
+ * We recommend using `<EuiButtonEmpty size="xs" />` to match the existing controls on the left.
1300
+ */
1301
+ left: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
1302
+ /**
1303
+ * Will prepend the passed node into the left side of the toolbar, **before** the column & sort controls.
1304
+ */
1305
+ prepend: _propTypes.default.node,
1306
+ /**
1307
+ * Will append the passed node into the left side of the toolbar, **after** the column & sort controls.
1308
+ */
1309
+ append: _propTypes.default.node
1310
+ }).isRequired]),
1311
+ /**
1312
+ * Will prepend the passed node into the right side of the toolbar, **before** the density & fullscreen controls.
1313
+ * We recommend using `<EuiButtonIcon size="xs" />` to match the existing controls on the right.
1314
+ */
1315
+ right: _propTypes.default.node
1316
+ }).isRequired]),
1317
+ /**
1318
+ * If passed a `ReactNode`, appends the passed node into the left side of the toolbar, **after** the column & sort controls.
1319
+ * Or use #EuiDataGridToolBarAdditionalControlsLeftOptions to customize the location of your control.
1320
+ * We recommend using `<EuiButtonEmpty size="xs" />` to match the existing controls on the left.
1321
+ */
1322
+ left: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
1323
+ /**
1324
+ * Will prepend the passed node into the left side of the toolbar, **before** the column & sort controls.
1325
+ */
1326
+ prepend: _propTypes.default.node,
1327
+ /**
1328
+ * Will append the passed node into the left side of the toolbar, **after** the column & sort controls.
1329
+ */
1330
+ append: _propTypes.default.node
1331
+ }).isRequired]),
1332
+ /**
1333
+ * Will prepend the passed node into the right side of the toolbar, **before** the density & fullscreen controls.
1334
+ * We recommend using `<EuiButtonIcon size="xs" />` to match the existing controls on the right.
1335
+ */
1336
+ right: _propTypes.default.node
1337
+ };
1338
+ var EuiDataGridStylePropsComponent = exports.EuiDataGridStylePropsComponent = function EuiDataGridStylePropsComponent() {
1339
+ return (0, _react2.jsx)(_react.default.Fragment, null);
1340
+ };
1341
+ EuiDataGridStylePropsComponent.propTypes = {
1342
+ /**
1343
+ * Size of fonts used within the row and column cells
1344
+ * @default m
1345
+ */
1346
+ fontSize: _propTypes.default.oneOf(["s", "m", "l"]),
1347
+ /**
1348
+ * Defines the padding with the row and column cells
1349
+ * @default m
1350
+ */
1351
+ cellPadding: _propTypes.default.oneOf(["s", "m", "l"]),
1352
+ /**
1353
+ * Border used for the row and column cells
1354
+ * @default all
1355
+ */
1356
+ border: _propTypes.default.oneOf(["all", "horizontal", "none"]),
1357
+ /**
1358
+ * If set to true, rows will alternate zebra striping for clarity
1359
+ * @default false
1360
+ */
1361
+ stripes: _propTypes.default.bool,
1362
+ /**
1363
+ * Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
1364
+ * @default shade
1365
+ */
1366
+ header: _propTypes.default.oneOf(["shade", "underline"]),
1367
+ /**
1368
+ * Visual style for the column footers.
1369
+ * @default overline
1370
+ */
1371
+ footer: _propTypes.default.oneOf(["shade", "overline", "striped"]),
1372
+ /**
1373
+ * If set to true, the footer row will be sticky
1374
+ * @default true
1375
+ */
1376
+ stickyFooter: _propTypes.default.bool,
1377
+ /**
1378
+ * Will define what visual style to show on row hover
1379
+ * @default hover
1380
+ */
1381
+ rowHover: _propTypes.default.oneOf(["highlight", "none"]),
1382
+ /**
1383
+ * Optionally pass custom classes to highlight or customize certain rows
1384
+ */
1385
+ rowClasses: _propTypes.default.shape({}),
1386
+ /**
1387
+ * Optional callback returning the current `gridStyle` config when changes occur from user input (e.g. toolbar display controls).
1388
+ * Can be used for, e.g. storing user `gridStyle` in a local storage object.
1389
+ */
1390
+ onChange: _propTypes.default.func
1391
+ };
1392
+ var EuiDataGridRowHeightsPropsComponent = exports.EuiDataGridRowHeightsPropsComponent = function EuiDataGridRowHeightsPropsComponent() {
1393
+ return (0, _react2.jsx)(_react.default.Fragment, null);
1394
+ };
1395
+ EuiDataGridRowHeightsPropsComponent.propTypes = {
1396
+ /**
1397
+ * Defines the default size for all rows. It can be line count or just height.
1398
+ */
1399
+ defaultHeight: _propTypes.default.oneOfType([_propTypes.default.number.isRequired, _propTypes.default.oneOf(["auto"]), _propTypes.default.shape({
1400
+ lineCount: _propTypes.default.number,
1401
+ height: _propTypes.default.number
1402
+ }).isRequired]),
1403
+ /**
1404
+ * Defines the height for a specific row. It can be line count or just height.
1405
+ *
1406
+ * When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
1407
+ * toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
1408
+ */
1409
+ rowHeights: _propTypes.default.any,
1410
+ /**
1411
+ * Defines a global lineHeight style to apply to all cells
1412
+ */
1413
+ lineHeight: _propTypes.default.string,
1414
+ /**
1415
+ * Optional callback returning the current `rowHeightsOptions` when changes occur from user input (e.g. toolbar display controls).
1416
+ * Can be used for, e.g. storing user `rowHeightsOptions` in a local storage object.
1417
+ */
1418
+ onChange: _propTypes.default.func,
1419
+ /**
1420
+ * Optional indicator of the row that should be used as an anchor for vertical layout shift compensation.
1421
+ * When set to 'start' or 'center', the topmost or middle visible row will try
1422
+ * to compensate for changes in their top offsets by adjusting the grid's scroll
1423
+ * position.
1424
+ */
1425
+ scrollAnchorRow: _propTypes.default.oneOf(["start", "center", undefined])
1426
+ };