@elastic/eui 121.0.0 → 122.0.0-snapshot.1789443583849

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 (87) hide show
  1. package/dist/eui-icons.json +7 -7
  2. package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
  3. package/es/components/datagrid/body/cell/data_grid_cell.js +8 -5
  4. package/es/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
  5. package/es/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
  6. package/es/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
  7. package/es/components/datagrid/body/header/column_resizer.js +74 -87
  8. package/es/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
  9. package/es/components/datagrid/body/header/data_grid_header_cell.js +1 -0
  10. package/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +9 -3
  11. package/es/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
  12. package/es/components/datagrid/controls/keyboard_shortcuts.js +17 -1
  13. package/es/components/datagrid/data_grid.js +2 -0
  14. package/es/components/datagrid/utils/copy_focused_cell.js +34 -0
  15. package/es/components/filter_group/filter_group.a11y.js +1 -1
  16. package/es/components/form/super_select/super_select.js +247 -351
  17. package/es/components/list_item_layout/_list_item_layout.js +12 -0
  18. package/es/components/selectable/selectable_list/selectable_list_item.js +9 -7
  19. package/eui.d.ts +69 -95
  20. package/i18ntokens.json +608 -554
  21. package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
  22. package/lib/components/datagrid/body/cell/data_grid_cell.js +8 -5
  23. package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
  24. package/lib/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
  25. package/lib/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
  26. package/lib/components/datagrid/body/header/column_resizer.js +73 -85
  27. package/lib/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
  28. package/lib/components/datagrid/body/header/data_grid_header_cell.js +1 -0
  29. package/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +9 -3
  30. package/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
  31. package/lib/components/datagrid/controls/keyboard_shortcuts.js +17 -1
  32. package/lib/components/datagrid/data_grid.js +2 -0
  33. package/lib/components/datagrid/utils/copy_focused_cell.js +39 -0
  34. package/lib/components/filter_group/filter_group.a11y.js +1 -1
  35. package/lib/components/form/super_select/super_select.js +253 -355
  36. package/lib/components/list_item_layout/_list_item_layout.js +12 -0
  37. package/lib/components/selectable/selectable_list/selectable_list_item.js +9 -7
  38. package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
  39. package/optimize/es/components/datagrid/body/cell/data_grid_cell.js +5 -4
  40. package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
  41. package/optimize/es/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
  42. package/optimize/es/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
  43. package/optimize/es/components/datagrid/body/header/column_resizer.js +69 -81
  44. package/optimize/es/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
  45. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +1 -0
  46. package/optimize/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +7 -3
  47. package/optimize/es/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
  48. package/optimize/es/components/datagrid/controls/keyboard_shortcuts.js +17 -1
  49. package/optimize/es/components/datagrid/data_grid.js +2 -0
  50. package/optimize/es/components/datagrid/utils/copy_focused_cell.js +34 -0
  51. package/optimize/es/components/filter_group/filter_group.a11y.js +1 -1
  52. package/optimize/es/components/form/super_select/super_select.js +242 -265
  53. package/optimize/es/components/selectable/selectable_list/selectable_list_item.js +9 -7
  54. package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
  55. package/optimize/lib/components/datagrid/body/cell/data_grid_cell.js +5 -4
  56. package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
  57. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
  58. package/optimize/lib/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
  59. package/optimize/lib/components/datagrid/body/header/column_resizer.js +69 -79
  60. package/optimize/lib/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
  61. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +1 -0
  62. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +7 -3
  63. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
  64. package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.js +17 -1
  65. package/optimize/lib/components/datagrid/data_grid.js +2 -0
  66. package/optimize/lib/components/datagrid/utils/copy_focused_cell.js +39 -0
  67. package/optimize/lib/components/filter_group/filter_group.a11y.js +1 -1
  68. package/optimize/lib/components/form/super_select/super_select.js +243 -265
  69. package/optimize/lib/components/selectable/selectable_list/selectable_list_item.js +9 -7
  70. package/package.json +8 -7
  71. package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
  72. package/test-env/components/datagrid/body/cell/data_grid_cell.js +8 -5
  73. package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
  74. package/test-env/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
  75. package/test-env/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
  76. package/test-env/components/datagrid/body/header/column_resizer.js +69 -79
  77. package/test-env/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
  78. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +1 -0
  79. package/test-env/components/datagrid/body/header/data_grid_header_cell_wrapper.js +9 -3
  80. package/test-env/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
  81. package/test-env/components/datagrid/controls/keyboard_shortcuts.js +17 -1
  82. package/test-env/components/datagrid/data_grid.js +2 -0
  83. package/test-env/components/datagrid/utils/copy_focused_cell.js +16 -0
  84. package/test-env/components/filter_group/filter_group.a11y.js +1 -1
  85. package/test-env/components/form/super_select/super_select.js +243 -345
  86. package/test-env/components/list_item_layout/_list_item_layout.js +12 -0
  87. package/test-env/components/selectable/selectable_list/selectable_list_item.js +9 -7
@@ -2,13 +2,14 @@
2
2
  "wrench": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M13.121 7.121a3 3 0 0 0 .874-2.287L11.707 7.12 8.878 4.293l2.288-2.288A3 3 0 0 0 8.173 6.01l.106.298-5.986 5.986a1 1 0 0 0 1.414 1.414l5.986-5.986.298.105a3 3 0 0 0 3.13-.705m.707.708a4 4 0 0 1-3.863 1.034l-5.55 5.551a2 2 0 1 1-2.83-2.828l5.552-5.551a3.997 3.997 0 0 1 4.328-5.008l.143.028a.88.88 0 0 1 .62.628.97.97 0 0 1-.258.933l-1.677 1.677 1.414 1.414 1.677-1.677a.97.97 0 0 1 .933-.26c.29.079.54.3.628.622l.027.143.02.22a4 4 0 0 1-1.164 3.074\"/>\n</svg>\n",
3
3
  "workflow": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M7 6.944v2h2v-2H7Zm-5-5v2h2v-2H2Zm3 .5h7a3 3 0 1 1 0 6h-2v.5a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-.5H4a2 2 0 1 0 0 4h9.293l-1.646-1.646.707-.707 2.853 2.853-2.854 2.854-.707-.707 1.647-1.647H4a3 3 0 1 1 0-6h2v-.5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v.5h2a2 2 0 1 0 0-4H5v.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v.5Z\"/>\n</svg>\n",
4
4
  "word_wrap_disabled": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M14 3.5L12 2v1H2v1h10v1l2-1.5zM12 9V8H2V7h10V6l2 1.5L12 9zm0 3v1l2-1.5-2-1.5v1H2v1h10z\" />\n</svg>\n",
5
+ "word_wrap": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2 3h12v1H2V3zm0 8h6v1H2v-1z\" />\n <path d=\"M2 7h9.5v.5V7h.039l.083.005a2.958 2.958 0 011.102.298c.309.154.633.394.88.763.248.373.396.847.396 1.434 0 .588-.148 1.061-.396 1.434a2.257 2.257 0 01-.88.763 2.957 2.957 0 01-1.185.302h-.025l-.009.001h-.003s-.002 0-.002-.5v.5H11v1l-2-1.5 2-1.5v1h.506l.044-.003a1.959 1.959 0 00.726-.195c.191-.095.367-.23.495-.423.127-.19.229-.466.229-.879s-.102-.689-.229-.879a1.256 1.256 0 00-.495-.424 1.958 1.958 0 00-.77-.197H2V7z\" />\n</svg>\n",
5
6
  "wifi_slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"m15.354 1.354-14 14-.707-.707 14-14 .707.707ZM8.001 12c.658 0 1.24.319 1.604.809l-.897.898a1 1 0 0 1-1.414 0l-.898-.897c.365-.49.947-.81 1.605-.81Zm1.016-2.896a4.995 4.995 0 0 1 2.72 1.574l-.71.709a3.989 3.989 0 0 0-2.909-1.384l.899-.899ZM6.77 7.11a6.987 6.987 0 0 0-3.921 2.152l-.707-.707a7.975 7.975 0 0 1 5.734-2.552L6.77 7.109Zm4.604-.363a8.03 8.03 0 0 1 2.485 1.808l-.707.707a7.016 7.016 0 0 0-2.537-1.756l.759-.759ZM8.001 3c.886 0 1.747.108 2.572.306l-.845.845a9.97 9.97 0 0 0-9 2.99L.02 6.433A10.968 10.968 0 0 1 8 3Zm5.589 1.53a11.058 11.058 0 0 1 2.391 1.903l-.708.708a10.055 10.055 0 0 0-2.414-1.88l.732-.73Z\"/>\n</svg>\n",
6
7
  "wifi": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M8.001 12c.658 0 1.24.319 1.604.809l-.897.898a1 1 0 0 1-1.414 0l-.898-.897c.365-.49.947-.81 1.605-.81Zm0-3c1.486 0 2.82.649 3.735 1.678l-.709.709A3.99 3.99 0 0 0 8.001 10a3.99 3.99 0 0 0-3.027 1.387l-.71-.71A4.988 4.988 0 0 1 8.002 9Z\"/>\n <path d=\"M8.001 6c2.314 0 4.398.984 5.858 2.555l-.707.707A6.98 6.98 0 0 0 8.001 7a6.981 6.981 0 0 0-5.152 2.262l-.707-.707A7.977 7.977 0 0 1 8 6Z\"/>\n <path d=\"M8.001 3c3.143 0 5.976 1.32 7.98 3.433l-.708.708A9.969 9.969 0 0 0 8.001 4 9.97 9.97 0 0 0 .728 7.14L.02 6.434A10.968 10.968 0 0 1 8 3Z\"/>\n</svg>\n",
7
- "word_wrap": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2 3h12v1H2V3zm0 8h6v1H2v-1z\" />\n <path d=\"M2 7h9.5v.5V7h.039l.083.005a2.958 2.958 0 011.102.298c.309.154.633.394.88.763.248.373.396.847.396 1.434 0 .588-.148 1.061-.396 1.434a2.257 2.257 0 01-.88.763 2.957 2.957 0 01-1.185.302h-.025l-.009.001h-.003s-.002 0-.002-.5v.5H11v1l-2-1.5 2-1.5v1h.506l.044-.003a1.959 1.959 0 00.726-.195c.191-.095.367-.23.495-.423.127-.19.229-.466.229-.879s-.102-.689-.229-.879a1.256 1.256 0 00-.495-.424 1.958 1.958 0 00-.77-.197H2V7z\" />\n</svg>\n",
8
8
  "web": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M2.208 2H1V1h13a1 1 0 0 1 1 1v13h-1v-1.207a11.437 11.437 0 0 0-5.214-1.395l-.603 1.043-.866-.5.602-1.043A11.562 11.562 0 0 0 4.102 8.08l-1.043.602-.5-.866 1.043-.603A11.438 11.438 0 0 0 2.208 2Zm1.125 0a12.429 12.429 0 0 1 1.245 4.651L6.2 5.715A8.452 8.452 0 0 0 5.206 2H3.333Zm2.99 0c.453.974.746 2.037.844 3.156l1.629-.94A5.466 5.466 0 0 0 8.203 2h-1.88Zm2.981 0a6.46 6.46 0 0 1 .446 1.665L12.634 2h-3.33Zm3.83.866-2.886 1.666c.459.35.87.761 1.22 1.22l1.666-2.886Zm-2.216 3.839a5.531 5.531 0 0 0-1.623-1.623l-1.629.94a9.55 9.55 0 0 1 2.311 2.312l.94-1.63ZM9.419 9.3a8.547 8.547 0 0 0-2.72-2.72l-1.623.937a12.566 12.566 0 0 1 3.406 3.406L9.419 9.3Zm-.07 2.121c1.66.112 3.23.547 4.651 1.244v-1.872a8.451 8.451 0 0 0-3.715-.994l-.936 1.622Zm1.495-2.59A9.442 9.442 0 0 1 14 9.678v-1.88a5.464 5.464 0 0 0-2.216-.593l-.94 1.629Zm1.49-2.582A6.457 6.457 0 0 1 14 6.696v-3.33L12.335 6.25Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
9
9
  "waypoint": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm0 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z\" clip-rule=\"evenodd\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a5 5 0 0 1 5 5c0 5-5 9-5 9s-5-4-5-9a5 5 0 0 1 5-5Zm0 1a4 4 0 0 0-4 4c0 2.178 1.098 4.213 2.293 5.766a16.817 16.817 0 0 0 1.621 1.812l.086.08.086-.08a16.818 16.818 0 0 0 1.621-1.812C10.902 10.213 12 8.178 12 6a4 4 0 0 0-4-4Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
10
10
  "warning_fill": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8 1a1 1 0 0 1 .863.496l7 12A1 1 0 0 1 15 15H1a1 1 0 0 1-.864-1.504l7-12A1 1 0 0 1 8 1Zm0 10a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-.5-6v5h1V5h-1Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
11
11
  "warning": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M9 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"/>\n <path fill-rule=\"evenodd\" d=\"M7.5 10V5h1v5h-1Z\" clip-rule=\"evenodd\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a1 1 0 0 1 .864.496l7 12A1 1 0 0 1 15 15H1a1 1 0 0 1-.864-1.504l7-12A1 1 0 0 1 8 1ZM1 14h14L8 2 1 14Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
12
+ "vis_goal": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M10.7249422,3.65303793 C12.6689413,4.64572768 14,6.66742113 14,9 C14,9.7727401 13.8536077,10.5259872 13.5722293,11.2288599 C13.4696005,11.4852228 13.1785802,11.6098489 12.9222173,11.5072202 C12.6658544,11.4045914 12.5412283,11.1135711 12.6438571,10.8572082 C12.8781144,10.2720422 13,9.64489178 13,9 C13,6.38842374 10.9977827,4.24449039 8.44464952,4.01950128 C8.29758926,4.00652715 8.14926803,4 8,4 C5.23814237,4 3,6.23814237 3,9 C3,9.54962353 3.08794838,10.0849754 3.25830914,10.5910245 C3.28672394,10.6757394 3.3174287,10.7596837 3.35039638,10.8427882 C3.43523018,11.0566361 3.36225366,11.294046 3.18710463,11.4262102 C3.17144331,11.4380036 3.1549436,11.4489848 3.1376367,11.4590636 C3.13601,11.4600358 3.13436429,11.4609808 3.1327116,11.4619173 L1.39054744,12.4706962 C1.13305682,12.619793 0.803130948,12.5123949 0.682749841,12.2402926 C0.234729341,11.2276136 0,10.1293288 0,9 C0,4.58185763 3.58185763,1 8,1 C9.11912532,1 10.2078777,1.23071825 11.2118527,1.67111552 C11.4828939,1.79000873 11.5919091,2.1170178 11.4464293,2.37476682 L10.7249422,3.65303793 Z M9.79168069,3.27206459 L10.2928325,2.38416533 C9.56290377,2.13126728 8.79058089,2 8,2 C4.13414237,2 1,5.13414237 1,9 C1,9.79827358 1.13369583,10.5778999 1.39129508,11.314718 L2.27556393,10.8026929 C2.09382648,10.2248087 2,9.6186421 2,9 C2,5.6862915 4.6862915,3 8,3 C8.62406273,3 9.22587269,3.09527546 9.79167769,3.27207418 Z M6.73048093,9.46775054 C6.4326997,9.15399916 6.25,8.7299578 6.25,8.26324463 C6.25,7.29674632 7.03350169,6.51324463 8,6.51324463 C8.96649831,6.51324463 9.75,7.29674632 9.75,8.26324463 C9.75,8.7299578 9.5673003,9.15399916 9.26951907,9.46775054 C9.71554674,9.83455838 10,10.3906827 10,11.0132446 C10,12.1178141 9.1045695,13.0132446 8,13.0132446 C6.8954305,13.0132446 6,12.1178141 6,11.0132446 C6,10.3906827 6.28445326,9.83455838 6.73048093,9.46775054 Z M8,12.0132446 C8.55228475,12.0132446 9,11.5655294 9,11.0132446 C9,10.4609599 8.55228475,10.0132446 8,10.0132446 C7.44771525,10.0132446 7,10.4609599 7,11.0132446 C7,11.5655294 7.44771525,12.0132446 8,12.0132446 Z M8,9.01324463 C8.41421356,9.01324463 8.75,8.67745819 8.75,8.26324463 C8.75,7.84903107 8.41421356,7.51324463 8,7.51324463 C7.58578644,7.51324463 7.25,7.84903107 7.25,8.26324463 C7.25,8.67745819 7.58578644,9.01324463 8,9.01324463 Z\"/>\n</svg>\n",
12
13
  "video_player": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M10.5 12a1.5 1.5 0 0 1 1.413 1H14v1h-2.087a1.5 1.5 0 0 1-2.826 0H2v-1h7.087a1.5 1.5 0 0 1 1.413-1Zm0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM6.528 3.118a1 1 0 0 1 1.027.05l3 2a1 1 0 0 1 0 1.664l-3 2A1 1 0 0 1 6 8V4l.01-.137a1 1 0 0 1 .518-.745ZM7 8l3-2-3-2v4Z\" clip-rule=\"evenodd\"/>\n <path fill-rule=\"evenodd\" d=\"M13 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h10ZM3 10h10V2H3v8Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
13
14
  "vector_triangle": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M9 2a1 1 0 0 1 1 1v2a.995.995 0 0 1-.327.736L12.339 10H14a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-.499H5V13a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1.661l2.664-4.264A.996.996 0 0 1 6 5V3a1 1 0 0 1 1-1h2ZM2 13h2v-2H2v2Zm10 0h2v-2h-2v2Zm-7.325-2.736c.2.183.325.444.325.736v.501h6V11c0-.292.125-.553.324-.736L8.66 6H7.341l-2.666 4.264ZM7 5h2V3H7v2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
14
15
  "vector_square": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M4.103 1.005A1 1 0 0 1 5 2v.5h6V2a1 1 0 0 1 1-1h2l.102.005A1 1 0 0 1 15 2v2a1 1 0 0 1-1 1h-.5v6h.5l.102.005A1 1 0 0 1 15 12v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-.995-.898L11 14v-.5H5v.5a1 1 0 0 1-1 1H2a1 1 0 0 1-.995-.898L1 14v-2a1 1 0 0 1 1-1h.5V5H2a1 1 0 0 1-.995-.897L1 4V2a1 1 0 0 1 1-1h2l.103.005ZM2 14h2v-2H2v2Zm10 0h2v-2h-2v2ZM5 3.5V4a1 1 0 0 1-1 1h-.5v6H4l.103.005A1 1 0 0 1 5 12v.5h6V12a1 1 0 0 1 1-1h.5V5H12a1 1 0 0 1-.995-.897L11 4v-.5H5ZM2 4h2V2H2v2Zm10 0h2V2h-2v2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
@@ -102,7 +103,6 @@
102
103
  "queue": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M11 3a1 1 0 0 1 .8.4l3 4a1 1 0 0 1 0 1.2l-3 4a1 1 0 0 1-.8.4H2a1 1 0 0 1-.8-1.6L3.75 8 1.2 4.6A1 1 0 0 1 2 3h9ZM5 8l-3 4h2.086l3.11-4-3.11-4H2l3 4Zm6.555-.307.239.307-.24.307L8.683 12H11l3-4-3-4H8.682l2.873 3.693Zm-3.33 0L8.464 8l-.24.307L5.353 12h2.064l3.11-4-3.11-4H5.352l2.873 3.693Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
103
104
  "question": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M8 10a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm0-6a2 2 0 0 1 1.237 3.571 3.59 3.59 0 0 0-.548.505c-.137.169-.189.305-.189.424V9h-1v-.5c0-.433.195-.787.413-1.055.216-.265.487-.487.705-.659a1 1 0 1 0-1.562-.453l-.942.334A2 2 0 0 1 8 4Z\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
104
105
  "query_value": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M9.5 6h-.786L10 9.537 11.286 6H10.5V5H13v1h-.65l-1.818 5H9.468L7.65 6H7V5h2.5v1Z\"/>\n <path fill-rule=\"evenodd\" d=\"M10 2a6 6 0 1 1-4.499 2.031l.014-.015c.051-.058.104-.114.158-.17l.053-.055c.137-.14.28-.273.431-.398l.013-.012A5.976 5.976 0 0 1 10 2Zm0 1a5 5 0 1 0 0 10 5 5 0 0 0 0-10Z\" clip-rule=\"evenodd\"/>\n <path d=\"M5.099 3.002a7.037 7.037 0 0 0-.9 1.078 4.001 4.001 0 0 0 0 7.839c.264.39.565.75.9 1.078L5 13A5 5 0 0 1 5 3l.099.002Z\"/>\n</svg>\n",
105
- "query_selector": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M5 3c.744 0 1.45.164 2.084.455a6.036 6.036 0 0 0-.752.775 4 4 0 1 0-1.052 7.76l.058-.005c.19-.015.376-.045.558-.086l.024-.006c.184-.044.363-.1.536-.167l.035-.015a4.009 4.009 0 0 0 2.287-2.4l.023-.064a3.983 3.983 0 0 0 .055-.184l.028-.109.021-.09.019-.089.017-.098.017-.102A3.986 3.986 0 0 0 9 8c0-.638-.15-1.24-.415-1.775.206-.28.458-.525.747-.72a4.97 4.97 0 0 1 .644 2.984 4.98 4.98 0 0 1-1.227 2.817A4.977 4.977 0 0 1 5 13 5 5 0 0 1 5 3Z\"/>\n <path d=\"M11 3a5 5 0 1 1-2.085 9.544 6.11 6.11 0 0 0 .751-.775 4 4 0 1 0 .442-7.668l-.037.007a4.02 4.02 0 0 0-.516.162l-.058.023a3.984 3.984 0 0 0-.488.237l-.024.014a3.995 3.995 0 0 0-.23.144l-.006.005a4.015 4.015 0 0 0-1.38 1.63l-.042.09-.033.08a3.968 3.968 0 0 0-.042.109l-.01.027a3.93 3.93 0 0 0-.125.408l-.026.11-.01.047-.013.064-.012.074-.014.088-.009.07a3.976 3.976 0 0 0 .382 2.284 3.03 3.03 0 0 1-.748.72A4.972 4.972 0 0 1 6 8c0-.063.003-.127.005-.19a4.98 4.98 0 0 1 1.212-3.08c.234-.27.496-.515.783-.73.836-.628 1.874-1 3-1Z\"/>\n</svg>\n",
106
106
  "query_operand": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M4.354 5.354 1.707 8l2.647 2.646-.708.707L.293 8l3.353-3.354.708.708ZM15.707 8l-3.354 3.354-.707-.707L14.293 8l-2.646-2.646.707-.708L15.707 8ZM11 10H5V9h6v1Zm0-3H5V6h6v1Z\"/>\n</svg>\n",
107
107
  "query_field": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M8 6.5H7V6H5v2h2v1H5v1h.5v1h-2v-1H4V6h-.5V5H8v1.5Z\"/>\n <path fill-rule=\"evenodd\" d=\"M6 2a6 6 0 1 1 0 12A6 6 0 0 1 6 2Zm0 1a5 5 0 1 0 0 10A5 5 0 0 0 6 3Z\" clip-rule=\"evenodd\"/>\n <path d=\"M11 3a5 5 0 0 1 0 10l-.1-.003a7.04 7.04 0 0 0 .9-1.078 4 4 0 0 0 0-7.839 7.034 7.034 0 0 0-.9-1.078L11 3Z\"/>\n</svg>\n",
108
108
  "query": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M5 3H3v10h2v1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h2v1Zm8-1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-2v-1h2V3h-2V2h2Z\"/>\n <path fill-rule=\"evenodd\" d=\"M5.879 5.879a3 3 0 0 1 4.566 3.86l1.409 1.407-.707.707-1.409-1.408a3 3 0 0 1-3.86-4.566Zm3.535.707a2 2 0 1 0-2.828 2.828 2 2 0 0 0 2.828-2.828Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
@@ -245,7 +245,6 @@
245
245
  "link_slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"m15.354 1.354-14 14-.708-.707 14-14 .707.707ZM7 15H6v-2.5h1V15Zm7.121-5.121A3 3 0 1 1 9.88 14.12l-2.234-2.23.708-.707 2.232 2.232a2 2 0 1 0 2.828-2.828l-2.232-2.232.707-.708L14.12 9.88ZM3 10H1V9h2v1ZM1.879 1.879a3 3 0 0 1 4.242 0L8.39 4.146l-.707.708-2.268-2.268a2 2 0 1 0-2.828 2.828l2.268 2.268-.708.707L1.88 6.12a3 3 0 0 1 0-4.242ZM15 7h-2V6h2v1Zm-5-4H9V1h1v2Z\"/>\n</svg>\n",
246
246
  "link": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M9.723 7.602a3.003 3.003 0 0 1 2.901.775l1.497 1.502a3.001 3.001 0 0 1-4.242 4.243l-1.502-1.498a3.002 3.002 0 0 1-.774-2.9l.9.9c.029.47.221.933.58 1.292l1.502 1.498a2 2 0 0 0 2.83-2.828l-1.498-1.502a1.994 1.994 0 0 0-1.292-.58l-.902-.902Z\"/>\n <path d=\"m11.354 10.646-.707.707-6-6 .707-.707 6 6Z\"/>\n <path d=\"M1.879 1.879a3 3 0 0 1 4.242-.001l1.503 1.499a3 3 0 0 1 .773 2.9l-.9-.902a1.991 1.991 0 0 0-.58-1.291L5.414 2.586a2 2 0 1 0-2.828 2.828l1.498 1.502c.358.358.82.55 1.29.58l.901.9a3.002 3.002 0 0 1-2.899-.773L1.878 6.121a3 3 0 0 1 0-4.242Z\"/>\n</svg>\n",
247
247
  "line_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"m15.354 1.354-14 14-.708-.707 14-14 .707.707Z\"/>\n</svg>\n",
248
- "line_dot": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M2 13a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z\"/>\n</svg>\n",
249
248
  "line_dash": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"m3.354 13.354-2 2-.708-.707 2-2 .708.707Zm3-3-2 2-.708-.707 2-2 .708.707Zm3-3-2 2-.708-.708 2-2 .708.708Zm3-3-2 2-.708-.708 2-2 .707.708Zm3-3-2 2-.707-.708 2-2 .707.708Z\"/>\n</svg>\n",
250
249
  "line_break_slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"m15.354 1.354-14 14-.708-.707 14-14 .707.707ZM12 9a2 2 0 1 1 0 4H8.707l1.147 1.146-.708.707L6.793 12.5l2.353-2.354.708.707L8.707 12H12a1 1 0 1 0 0-2h-2V9h2Zm-8.121 1H2V9h2.879l-1 1Zm3-3H2V6h5.879l-1 1ZM14 7h-2.879l1-1H14v1ZM9.879 4H2V3h8.879l-1 1Z\"/>\n</svg>\n",
251
250
  "line_break": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M9.854 10.854 8.707 12H12a1 1 0 1 0 0-2h-2V9h2a2 2 0 1 1 0 4H8.707l1.147 1.146-.708.707L6.793 12.5l2.353-2.354.708.707ZM5 12v1H2v-1h3Zm3-3v1H2V9h6Zm6-3v1H2V6h12Zm0-3v1H2V3h12Z\"/>\n</svg>\n",
@@ -292,6 +291,8 @@
292
291
  "filter": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M9 13H7v-1h2v1Zm2-3H5V9h6v1Zm2-3H3V6h10v1Zm2-3H1V3h14v1Z\"/>\n</svg>\n",
293
292
  "face_sad": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M8 9a3 3 0 0 1 2.75 1.8l-.916.4a2 2 0 0 0-3.668 0l-.916-.4A3 3 0 0 1 8 9ZM5 6.5a.5.5 0 0 0 1 0V6h1v.5a1.5 1.5 0 1 1-3 0V6h1v.5Zm5 0a.5.5 0 0 0 1 0V6h1v.5a1.5 1.5 0 0 1-3 0V6h1v.5Z\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
294
293
  "face_neutral": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M11 11H5v-1h6v1ZM6 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm4 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
294
+ "face_happy": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M11.834 9.143a4.002 4.002 0 0 1-7.669 0l.959-.286a3.002 3.002 0 0 0 5.751 0l.959.286ZM5.5 6A1.5 1.5 0 0 1 7 7.5V8H6v-.5a.5.5 0 0 0-1 0V8H4v-.5A1.5 1.5 0 0 1 5.5 6Zm5 0A1.5 1.5 0 0 1 12 7.5V8h-1v-.5a.5.5 0 0 0-1 0V8H9v-.5A1.5 1.5 0 0 1 10.5 6Z\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
295
+ "eye_slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M4.925 13.197C5.841 13.675 6.875 14 8 14c2.407 0 4.402-1.488 5.707-2.793a16.045 16.045 0 0 0 2.105-2.62l.032-.05.009-.015.003-.005v-.001S15.858 8.514 15 8l.857.514a1 1 0 0 0 0-1.029l-.001-.002-.003-.005-.01-.015a5.978 5.978 0 0 0-.144-.227 16.043 16.043 0 0 0-2.183-2.63l-.707.707A14.611 14.611 0 0 1 14.999 8s-3 5-7 5c-.824 0-1.606-.213-2.328-.55l-.746.747ZM15 8l.857-.515L15 8Z\" clip-rule=\"evenodd\"/>\n <path d=\"m6.262 10.445-1.5 1.5-.721.722-2.687 2.687-.707-.707 14-14 .707.707-2.586 2.585-.71.71-1.613 1.613-.722.722-2.739 2.74-.722.721Zm.961.453A3.001 3.001 0 0 0 10.9 7.223l-.903.903a2 2 0 0 1-1.87 1.87l-.903.902Z\"/>\n <path fill-rule=\"evenodd\" d=\"M11.075 2.804C10.16 2.324 9.125 2 8 2 5.593 2 3.598 3.488 2.293 4.793a16.04 16.04 0 0 0-2.106 2.62 5.95 5.95 0 0 0-.031.05l-.01.015-.002.005v.001c-.001 0-.002.001.856.516l-.858-.515c-.19.317-.19.713 0 1.03l.002.002.003.005.009.015a6.117 6.117 0 0 0 .145.227 16.042 16.042 0 0 0 2.183 2.63l.707-.706C1.827 9.378 1 8 1 8s3-5 7-5c.825 0 1.607.213 2.329.55l.746-.746ZM.143 8.515 1 8c-.858.514-.857.515-.857.515Z\" clip-rule=\"evenodd\"/>\n <path d=\"M8.777 5.102a3.004 3.004 0 0 0-3.675 3.675l.902-.902a2 2 0 0 1 1.871-1.871l.902-.902Z\"/>\n</svg>\n",
295
296
  "eye": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM6 8a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z\" clip-rule=\"evenodd\"/>\n <path fill-rule=\"evenodd\" d=\"m15 8 .857.514a1 1 0 0 0 0-1.028l-.001-.003-.003-.005-.01-.015a6.147 6.147 0 0 0-.144-.227 16.043 16.043 0 0 0-1.992-2.443C12.402 3.488 10.407 2 8 2S3.598 3.488 2.293 4.793a16.04 16.04 0 0 0-2.106 2.62 6.117 6.117 0 0 0-.031.05l-.01.015-.002.005v.001S.141 7.486 1 8l-.858-.514c-.19.316-.19.712 0 1.03l.002.001.003.005.009.015a6.117 6.117 0 0 0 .145.227 16.041 16.041 0 0 0 1.992 2.443C3.598 12.512 5.593 14 8 14s4.402-1.488 5.707-2.793a16.045 16.045 0 0 0 2.105-2.62l.032-.05.009-.015.003-.005v-.001S15.858 8.514 15 8Zm0 0 .857-.514L15 8Zm0 0s-3 5-7 5-7-5-7-5 3-5 7-5 7 5 7 5ZM1 8l-.857.515L1 8Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
296
297
  "external": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M11 2h2.293L6.646 8.646l.708.708L14 2.707V5h1V1h-4v1Z\"/>\n <path d=\"M3 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7h-1v6H3V3h6V2H3Z\"/>\n</svg>\n",
297
298
  "esql_vis": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M2 2.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5ZM2.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2ZM2 6.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5ZM2.5 8a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2ZM2 10.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2ZM6.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2ZM6 4.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5ZM6.5 6a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-2ZM10 2.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2ZM10 6.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5h-2Z\"/>\n <path d=\"M2 0h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm0 1a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2Z\"/>\n</svg>\n",
@@ -339,9 +340,7 @@
339
340
  "cloud": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M4 7a4 4 0 0 1 7.878-.98A3.5 3.5 0 0 1 11.5 13H4a3 3 0 1 1 0-6Zm1 0c0 .164.013.324.038.48l.117.727-.718-.16A2 2 0 1 0 4 12h7.5a2.5 2.5 0 0 0 0-4.999h-.03l-.251.016a2.49 2.49 0 0 0-1.487.716l-.707-.707a3.493 3.493 0 0 1 1.825-.963A3.001 3.001 0 0 0 5 7Z\"/>\n</svg>\n",
340
341
  "clock_counter": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M3.023 3.077A6.978 6.978 0 0 0 1 8c0 1.79.683 3.58 2.048 4.947l.004.004.019.02.03.029H1v1h4v-4H4v2.475a6.535 6.535 0 0 1-.22-.21l-.013-.013-.003-.002-.007-.007a6.012 6.012 0 0 1-1.362-6.39A6.005 6.005 0 0 1 8 2a6 6 0 0 1 0 12v1A7 7 0 1 0 3.023 3.077Z\"/>\n <path d=\"M8.5 4v3.5H12v1H7.5V4h1Z\"/>\n</svg>\n",
341
342
  "clock_control": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M7.5 3h1v2.5H11v1H7.5V3Z\"/>\n <path fill-rule=\"evenodd\" d=\"M8 11A5 5 0 1 0 8 1a5 5 0 0 0 0 10Zm0-1a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z\" clip-rule=\"evenodd\"/>\n <path d=\"m15.207 13.5-2.353-2.354-.707.707L13.293 13H2.707l1.147-1.146-.707-.708L.793 13.5l2.354 2.354.707-.708L2.707 14h10.586l-1.146 1.146.707.707 2.353-2.353Z\"/>\n</svg>\n",
342
- "eye_slash": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M4.925 13.197C5.841 13.675 6.875 14 8 14c2.407 0 4.402-1.488 5.707-2.793a16.045 16.045 0 0 0 2.105-2.62l.032-.05.009-.015.003-.005v-.001S15.858 8.514 15 8l.857.514a1 1 0 0 0 0-1.029l-.001-.002-.003-.005-.01-.015a5.978 5.978 0 0 0-.144-.227 16.043 16.043 0 0 0-2.183-2.63l-.707.707A14.611 14.611 0 0 1 14.999 8s-3 5-7 5c-.824 0-1.606-.213-2.328-.55l-.746.747ZM15 8l.857-.515L15 8Z\" clip-rule=\"evenodd\"/>\n <path d=\"m6.262 10.445-1.5 1.5-.721.722-2.687 2.687-.707-.707 14-14 .707.707-2.586 2.585-.71.71-1.613 1.613-.722.722-2.739 2.74-.722.721Zm.961.453A3.001 3.001 0 0 0 10.9 7.223l-.903.903a2 2 0 0 1-1.87 1.87l-.903.902Z\"/>\n <path fill-rule=\"evenodd\" d=\"M11.075 2.804C10.16 2.324 9.125 2 8 2 5.593 2 3.598 3.488 2.293 4.793a16.04 16.04 0 0 0-2.106 2.62 5.95 5.95 0 0 0-.031.05l-.01.015-.002.005v.001c-.001 0-.002.001.856.516l-.858-.515c-.19.317-.19.713 0 1.03l.002.002.003.005.009.015a6.117 6.117 0 0 0 .145.227 16.042 16.042 0 0 0 2.183 2.63l.707-.706C1.827 9.378 1 8 1 8s3-5 7-5c.825 0 1.607.213 2.329.55l.746-.746ZM.143 8.515 1 8c-.858.514-.857.515-.857.515Z\" clip-rule=\"evenodd\"/>\n <path d=\"M8.777 5.102a3.004 3.004 0 0 0-3.675 3.675l.902-.902a2 2 0 0 1 1.871-1.871l.902-.902Z\"/>\n</svg>\n",
343
343
  "clock": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M8.5 7.5V4h-1v4.5H12v-1H8.5Z\"/>\n <path fill-rule=\"evenodd\" d=\"M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 2 8a6 6 0 0 1 12 0Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
344
- "vis_goal": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M10.7249422,3.65303793 C12.6689413,4.64572768 14,6.66742113 14,9 C14,9.7727401 13.8536077,10.5259872 13.5722293,11.2288599 C13.4696005,11.4852228 13.1785802,11.6098489 12.9222173,11.5072202 C12.6658544,11.4045914 12.5412283,11.1135711 12.6438571,10.8572082 C12.8781144,10.2720422 13,9.64489178 13,9 C13,6.38842374 10.9977827,4.24449039 8.44464952,4.01950128 C8.29758926,4.00652715 8.14926803,4 8,4 C5.23814237,4 3,6.23814237 3,9 C3,9.54962353 3.08794838,10.0849754 3.25830914,10.5910245 C3.28672394,10.6757394 3.3174287,10.7596837 3.35039638,10.8427882 C3.43523018,11.0566361 3.36225366,11.294046 3.18710463,11.4262102 C3.17144331,11.4380036 3.1549436,11.4489848 3.1376367,11.4590636 C3.13601,11.4600358 3.13436429,11.4609808 3.1327116,11.4619173 L1.39054744,12.4706962 C1.13305682,12.619793 0.803130948,12.5123949 0.682749841,12.2402926 C0.234729341,11.2276136 0,10.1293288 0,9 C0,4.58185763 3.58185763,1 8,1 C9.11912532,1 10.2078777,1.23071825 11.2118527,1.67111552 C11.4828939,1.79000873 11.5919091,2.1170178 11.4464293,2.37476682 L10.7249422,3.65303793 Z M9.79168069,3.27206459 L10.2928325,2.38416533 C9.56290377,2.13126728 8.79058089,2 8,2 C4.13414237,2 1,5.13414237 1,9 C1,9.79827358 1.13369583,10.5778999 1.39129508,11.314718 L2.27556393,10.8026929 C2.09382648,10.2248087 2,9.6186421 2,9 C2,5.6862915 4.6862915,3 8,3 C8.62406273,3 9.22587269,3.09527546 9.79167769,3.27207418 Z M6.73048093,9.46775054 C6.4326997,9.15399916 6.25,8.7299578 6.25,8.26324463 C6.25,7.29674632 7.03350169,6.51324463 8,6.51324463 C8.96649831,6.51324463 9.75,7.29674632 9.75,8.26324463 C9.75,8.7299578 9.5673003,9.15399916 9.26951907,9.46775054 C9.71554674,9.83455838 10,10.3906827 10,11.0132446 C10,12.1178141 9.1045695,13.0132446 8,13.0132446 C6.8954305,13.0132446 6,12.1178141 6,11.0132446 C6,10.3906827 6.28445326,9.83455838 6.73048093,9.46775054 Z M8,12.0132446 C8.55228475,12.0132446 9,11.5655294 9,11.0132446 C9,10.4609599 8.55228475,10.0132446 8,10.0132446 C7.44771525,10.0132446 7,10.4609599 7,11.0132446 C7,11.5655294 7.44771525,12.0132446 8,12.0132446 Z M8,9.01324463 C8.41421356,9.01324463 8.75,8.67745819 8.75,8.26324463 C8.75,7.84903107 8.41421356,7.51324463 8,7.51324463 C7.58578644,7.51324463 7.25,7.84903107 7.25,8.26324463 C7.25,8.67745819 7.58578644,9.01324463 8,9.01324463 Z\"/>\n</svg>\n",
345
344
  "click_right": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8 1a5 5 0 0 1 5 5v4a5 5 0 0 1-10 0V6a5 5 0 0 1 5-5Zm0 1a4 4 0 0 0-4 4v4a4 4 0 0 0 8 0V8H8V2Zm1 5h3V6a4.002 4.002 0 0 0-3-3.874V7Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
346
345
  "click_left": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8 1a5 5 0 0 1 5 5v4a5 5 0 0 1-10 0V6a5 5 0 0 1 5-5Zm0 7H4v2a4 4 0 0 0 8 0V6a4 4 0 0 0-4-4v6ZM7 2.126C5.275 2.57 4 4.136 4 6v1h3V2.126Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
347
346
  "chevron_single_up": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"m8 5.707 5.646 5.647.708-.708L8 4.293l-6.354 6.353.708.707L8 5.708Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
@@ -388,7 +387,6 @@
388
387
  "axis_y_right": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M3 15H1v-1h2v1Zm3 0H4v-1h2v1Zm3 0H7v-1h2v1Zm3 0h-2v-1h2v1Zm4-13h-1v12h1v1h-3v-1h1V2h-1V1h3v1ZM7 4v1h-.433L8 6.719 9.433 5H9V4h2.5v1h-.766L8.5 7.68V10h1v1h-3v-1h1V7.68L5.266 5H4.5V4H7Z\"/>\n</svg>\n",
389
388
  "axis_y_left": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M3 2H2v12h1v1H0v-1h1V2H0V1h3v1Zm3 13H4v-1h2v1Zm3 0H7v-1h2v1Zm3 0h-2v-1h2v1Zm3 0h-2v-1h2v1ZM7 5h-.433L8 6.719 9.433 5H9V4h2.5v1h-.766L8.5 7.68V10h1v1h-3v-1h1V7.68L5.266 5H4.5V4H7v1Z\"/>\n</svg>\n",
390
389
  "axis_x": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M2 14h12v-1h1v3h-1v-1H2v1H1v-3h1v1Zm0-2H1v-2h1v2Zm5-7h-.433L8 6.719 9.433 5H9V4h2.5v1h-.766L8.65 7.5l2.084 2.5h.766v1H9v-1h.433L8 8.28 6.567 10H7v1H4.5v-1h.766l2.083-2.5L5.266 5H4.5V4H7v1ZM2 9H1V7h1v2Zm0-3H1V4h1v2Zm0-3H1V1h1v2Z\"/>\n</svg>\n",
391
- "at": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8.001 1a6.98 6.98 0 0 1 4.95 2.05A6.983 6.983 0 0 1 15 8v.014l-.001.033c0 .029 0 .071-.003.123a8.019 8.019 0 0 1-.264 1.717c-.134.47-.348.985-.695 1.39a2.33 2.33 0 0 1-.143.153 1.987 1.987 0 0 1-.921.515A2.05 2.05 0 0 1 12.5 12c-.668 0-1.175-.3-1.535-.72a3.356 3.356 0 0 1-.575-1.025C9.77 11.294 8.732 12 7.5 12 5.497 12 4 10.134 4 8s1.497-4 3.5-4c1 0 1.875.466 2.5 1.198V4h1v4.03l.004.1a6.336 6.336 0 0 0 .228 1.482c.115.404.277.765.493 1.016.202.236.445.372.776.372s.574-.136.776-.372c.215-.25.378-.61.494-1.015a6.44 6.44 0 0 0 .2-1.114c.014-.153.022-.281.026-.37C14 8.087 14 8.053 14 8.03V8h-.001a5.98 5.98 0 0 0-1.756-4.242A5.982 5.982 0 0 0 8.001 2a5.98 5.98 0 0 0-4.243 1.758A5.978 5.978 0 0 0 2 8c0 1.536.585 3.07 1.757 4.242A5.98 5.98 0 0 0 8 14a5.983 5.983 0 0 0 3.539-1.156c.291.098.611.156.96.156l.187-.005c.082-.005.163-.014.242-.025A6.98 6.98 0 0 1 8 15a6.98 6.98 0 0 1-4.95-2.05A6.982 6.982 0 0 1 .999 8c0-1.79.685-3.583 2.052-4.95A6.98 6.98 0 0 1 8 1ZM7.5 5C6.189 5 5 6.268 5 8s1.189 3 2.5 3S10 9.732 10 8 8.811 5 7.5 5Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
392
390
  "asterisk": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"m8.536 7.262 3.987-1.52.464 1.427-4.119 1.114 2.677 3.322-1.213.881-2.333-3.573-2.332 3.573-1.213-.882L7.13 8.281 3.013 7.168l.464-1.427 3.986 1.52L7.25 3h1.5l-.214 4.262Z\"/>\n</svg>\n",
393
391
  "article": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 10C8.22386 10 8 10.2239 8 10.5C8 10.7761 8.22386 11 8.5 11H12.5C12.7761 11 13 10.7761 13 10.5C13 10.2239 12.7761 10 12.5 10H8.5Z\" />\n <path d=\"M8 6.5C8 6.22386 8.22386 6 8.5 6H12.5C12.7761 6 13 6.22386 13 6.5C13 6.77614 12.7761 7 12.5 7H8.5C8.22386 7 8 6.77614 8 6.5Z\" />\n <path d=\"M3.5 2C3.22386 2 3 2.22386 3 2.5C3 2.77614 3.22386 3 3.5 3H8.5C8.77614 3 9 2.77614 9 2.5C9 2.22386 8.77614 2 8.5 2H3.5Z\" />\n <path d=\"M8 8.5C8 8.22386 8.22386 8 8.5 8H12.5C12.7761 8 13 8.22386 13 8.5C13 8.77614 12.7761 9 12.5 9H8.5C8.22386 9 8 8.77614 8 8.5Z\" />\n <path d=\"M3.5 4C3.22386 4 3 4.22386 3 4.5C3 4.77614 3.22386 5 3.5 5H8.5C8.77614 5 9 4.77614 9 4.5C9 4.22386 8.77614 4 8.5 4H3.5Z\" />\n <path d=\"M3 12.5C3 12.2239 3.22386 12 3.5 12H12.5C12.7761 12 13 12.2239 13 12.5C13 12.7761 12.7761 13 12.5 13H3.5C3.22386 13 3 12.7761 3 12.5Z\" />\n <path d=\"M7 6H3V11H7V6Z\" />\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.526 0.312C11.337 0.113 11.074 0 10.8 0H2C1.448 0 1 0.448 1 1V15C1 15.552 1.448 16 2 16H14C14.552 16 15 15.552 15 15V4.429C15 4.173 14.902 3.926 14.726 3.74L11.526 0.312ZM10.5 5H14V15H2V1H10V4.5C10 4.776 10.224 5 10.5 5Z\" />\n</svg>",
394
392
  "archive": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M10.854 7.854 8 10.707 5.146 7.854l.708-.708L8 9.293l2.146-2.147.707.708Z\"/>\n <path fill-rule=\"evenodd\" d=\"M14 2a1 1 0 0 1 1 1v2h-1v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V5H1V3a1 1 0 0 1 1-1h12ZM3 13h10V5H3v8ZM2 4h12V3H2v1Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
@@ -461,7 +459,9 @@
461
459
  "add_to_dashboard": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"m8.5 9.207 3.854-3.853-.708-.708L8.5 7.793l-2-2-3.854 3.853.708.708L6.5 7.207zM14 13h2v1h-2v2h-1v-2h-2v-1h2v-2h1z\"/>\n <mask id=\"a\" width=\"13\" height=\"13\" x=\"1\" y=\"1\" maskUnits=\"userSpaceOnUse\" style=\"mask-type:alpha\">\n <path fill-rule=\"evenodd\" d=\"M13.072 1c.464 0 .928.542.928 1.083v10.834c0 .541-.464 1.083-.929 1.083H1.931C1.464 14 1 13.567 1 12.917V2.083C1 1.542 1.467 1 1.93 1zM1.93 12.917h11.14V2.083H1.932z\"/>\n </mask>\n <g mask=\"url(#a)\">\n <path d=\"M1-.083h13.464V9H9v5H1z\"/>\n </g>\n</svg>\n",
462
460
  "add_to_chat": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8 0a1.5 1.5 0 0 1 .5 2.912V4H11a3 3 0 0 1 3 3h1l.102.005A1 1 0 0 1 16 8v1h-1V8h-1v1h-1V7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v7h6v1H3a1 1 0 0 1-1-1v-2H1a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h1a3 3 0 0 1 3-3h2.5V2.912A1.498 1.498 0 0 1 8 0ZM1 11h1V8H1v3ZM8 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z\" clip-rule=\"evenodd\"/>\n <path d=\"M10.447 11.523C9.826 12.767 8.59 13 8 13c-.59 0-1.826-.233-2.447-1.477l.894-.447C6.826 11.833 7.59 12 8 12c.41 0 1.174-.167 1.553-.924l.894.447Z\"/>\n <path fill-rule=\"evenodd\" d=\"M5.5 7a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm5-1a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z\" clip-rule=\"evenodd\"/>\n <path d=\"M14 13h2v1h-2v2h-1v-2h-2v-1h2v-2h1v2Z\"/>\n</svg>\n",
463
461
  "accessibility": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8 3a2 2 0 0 1 1.73 3h.77a1.5 1.5 0 0 1 0 3h-.278l.66 1.764A1.655 1.655 0 0 1 8 12.325a1.655 1.655 0 0 1-2.883-1.561L5.778 9H5.5a1.5 1.5 0 1 1 0-3h.77A2 2 0 0 1 8 3ZM5.5 7a.5.5 0 0 0 0 1h1.722l-1.168 3.114a.655.655 0 1 0 1.235.438L8 9.419l.71 2.133a.656.656 0 1 0 1.236-.438L8.778 8H10.5a.5.5 0 0 0 0-1h-5ZM8 4a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z\" clip-rule=\"evenodd\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
464
- "face_happy": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M11.834 9.143a4.002 4.002 0 0 1-7.669 0l.959-.286a3.002 3.002 0 0 0 5.751 0l.959.286ZM5.5 6A1.5 1.5 0 0 1 7 7.5V8H6v-.5a.5.5 0 0 0-1 0V8H4v-.5A1.5 1.5 0 0 1 5.5 6Zm5 0A1.5 1.5 0 0 1 12 7.5V8h-1v-.5a.5.5 0 0 0-1 0V8H9v-.5A1.5 1.5 0 0 1 10.5 6Z\"/>\n <path fill-rule=\"evenodd\" d=\"M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1Zm0 1a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
462
+ "query_selector": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M5 3c.744 0 1.45.164 2.084.455a6.036 6.036 0 0 0-.752.775 4 4 0 1 0-1.052 7.76l.058-.005c.19-.015.376-.045.558-.086l.024-.006c.184-.044.363-.1.536-.167l.035-.015a4.009 4.009 0 0 0 2.287-2.4l.023-.064a3.983 3.983 0 0 0 .055-.184l.028-.109.021-.09.019-.089.017-.098.017-.102A3.986 3.986 0 0 0 9 8c0-.638-.15-1.24-.415-1.775.206-.28.458-.525.747-.72a4.97 4.97 0 0 1 .644 2.984 4.98 4.98 0 0 1-1.227 2.817A4.977 4.977 0 0 1 5 13 5 5 0 0 1 5 3Z\"/>\n <path d=\"M11 3a5 5 0 1 1-2.085 9.544 6.11 6.11 0 0 0 .751-.775 4 4 0 1 0 .442-7.668l-.037.007a4.02 4.02 0 0 0-.516.162l-.058.023a3.984 3.984 0 0 0-.488.237l-.024.014a3.995 3.995 0 0 0-.23.144l-.006.005a4.015 4.015 0 0 0-1.38 1.63l-.042.09-.033.08a3.968 3.968 0 0 0-.042.109l-.01.027a3.93 3.93 0 0 0-.125.408l-.026.11-.01.047-.013.064-.012.074-.014.088-.009.07a3.976 3.976 0 0 0 .382 2.284 3.03 3.03 0 0 1-.748.72A4.972 4.972 0 0 1 6 8c0-.063.003-.127.005-.19a4.98 4.98 0 0 1 1.212-3.08c.234-.27.496-.515.783-.73.836-.628 1.874-1 3-1Z\"/>\n</svg>\n",
463
+ "line_dot": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M2 13a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z\"/>\n</svg>\n",
464
+ "at": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8.001 1a6.98 6.98 0 0 1 4.95 2.05A6.983 6.983 0 0 1 15 8v.014l-.001.033c0 .029 0 .071-.003.123a8.019 8.019 0 0 1-.264 1.717c-.134.47-.348.985-.695 1.39a2.33 2.33 0 0 1-.143.153 1.987 1.987 0 0 1-.921.515A2.05 2.05 0 0 1 12.5 12c-.668 0-1.175-.3-1.535-.72a3.356 3.356 0 0 1-.575-1.025C9.77 11.294 8.732 12 7.5 12 5.497 12 4 10.134 4 8s1.497-4 3.5-4c1 0 1.875.466 2.5 1.198V4h1v4.03l.004.1a6.336 6.336 0 0 0 .228 1.482c.115.404.277.765.493 1.016.202.236.445.372.776.372s.574-.136.776-.372c.215-.25.378-.61.494-1.015a6.44 6.44 0 0 0 .2-1.114c.014-.153.022-.281.026-.37C14 8.087 14 8.053 14 8.03V8h-.001a5.98 5.98 0 0 0-1.756-4.242A5.982 5.982 0 0 0 8.001 2a5.98 5.98 0 0 0-4.243 1.758A5.978 5.978 0 0 0 2 8c0 1.536.585 3.07 1.757 4.242A5.98 5.98 0 0 0 8 14a5.983 5.983 0 0 0 3.539-1.156c.291.098.611.156.96.156l.187-.005c.082-.005.163-.014.242-.025A6.98 6.98 0 0 1 8 15a6.98 6.98 0 0 1-4.95-2.05A6.982 6.982 0 0 1 .999 8c0-1.79.685-3.583 2.052-4.95A6.98 6.98 0 0 1 8 1ZM7.5 5C6.189 5 5 6.268 5 8s1.189 3 2.5 3S10 9.732 10 8 8.811 5 7.5 5Z\" clip-rule=\"evenodd\"/>\n</svg>\n",
465
465
  "tokens/token_vector_sparse": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M2 2.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1H3v10h1.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5v-11ZM8 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"/>\n <path d=\"M6 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"/>\n <path d=\"M13.5 2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1H13V3h-1.5a.5.5 0 0 1 0-1h2Z\"/>\n</svg>\n",
466
466
  "tokens/token_vector_dense": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <path d=\"M2 2.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1H3v10h1.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5v-11Z\"/>\n <path d=\"M6 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm0 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-7a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"/>\n <path d=\"M13.5 2a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1H13V3h-1.5a.5.5 0 0 1 0-1h2Z\"/>\n</svg>\n",
467
467
  "tokens/token_variable": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">\n <polygon fill-rule=\"evenodd\" points=\"6.649 4.667 7.975 9.367 8.025 9.367 9.351 4.667 11.333 4.667 9.199 11.333 6.801 11.333 4.667 4.667\"/>\n</svg>\n",
@@ -1,5 +1,5 @@
1
1
  var _excluded = ["children"],
2
- _excluded2 = ["key", "className", "isGroupLabelOption", "label", "value", "prepend", "append", "truncationProps", "toolTipContent", "toolTipProps"],
2
+ _excluded2 = ["key", "className", "isGroupLabelOption", "label", "value", "prepend", "append", "truncationProps", "toolTipContent", "toolTipProps", "title"],
3
3
  _excluded3 = ["data-test-subj", "activeOptionIndex", "areAllOptionsSelected", "customOptionText", "fullWidth", "getSelectedOptionForSearchValue", "isCaseSensitive", "isLoading", "listRef", "matchingOptions", "onCloseList", "onCreateOption", "onOptionClick", "onOptionEnterKey", "onScroll", "options", "renderOption", "rootId", "rowHeight", "scrollToIndex", "searchValue", "selectedOptions", "singleSelection", "delimiter", "onFocusBadge", "truncationProps", "listboxAriaLabel", "setListOptionRefs"];
4
4
  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); }
5
5
  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; }
@@ -93,6 +93,7 @@ export var EuiComboBoxOptionsList = /*#__PURE__*/function (_Component) {
93
93
  _truncationProps = option.truncationProps,
94
94
  toolTipContent = option.toolTipContent,
95
95
  toolTipProps = option.toolTipProps,
96
+ title = option.title,
96
97
  rest = _objectWithoutProperties(option, _excluded2);
97
98
  var _this$props2 = _this.props,
98
99
  options = _this$props2.options,
@@ -144,7 +145,6 @@ export var EuiComboBoxOptionsList = /*#__PURE__*/function (_Component) {
144
145
  // loses focus on selecting an option (due to actively removing it from the list)
145
146
  ,
146
147
  id: rootId("_option-".concat(options.indexOf(option))),
147
- title: hasNativeTruncation && !toolTipContent ? label : undefined,
148
148
  key: (_option$key = option.key) !== null && _option$key !== void 0 ? _option$key : option.label,
149
149
  prepend: option.prepend,
150
150
  append: hasOnFocusBadge ? ___EmotionJSX(React.Fragment, null, option.append, hitEnterBadge) : option.append,
@@ -164,6 +164,12 @@ export var EuiComboBoxOptionsList = /*#__PURE__*/function (_Component) {
164
164
  contentProps: {
165
165
  className: 'euiComboBoxOption__content'
166
166
  },
167
+ textProps: {
168
+ // `title` must not be set on the option element itself - it would
169
+ // become the option's accessible description, causing screen readers
170
+ // to announce the option name twice
171
+ title: title !== null && title !== void 0 ? title : hasNativeTruncation && !toolTipContent ? label : undefined
172
+ },
167
173
  onClick: function onClick() {
168
174
  if (onOptionClick) {
169
175
  onOptionClick(option);
@@ -1,6 +1,6 @@
1
1
  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); }
2
2
  var _excluded = ["renderCellValue", "cellContext", "column", "setCellContentsRef", "rowIndex", "colIndex", "rowHeightsOptions", "rowHeightUtils", "isControlColumn"],
3
- _excluded2 = ["width", "popoverContext", "interactiveCellId", "columnType", "className", "column", "style", "rowHeightUtils", "rowHeightsOptions", "rowManager", "pagination"],
3
+ _excluded2 = ["width", "popoverContext", "interactiveCellId", "columnType", "className", "column", "style", "rowHeightUtils", "rowHeightsOptions", "rowManager", "pagination", "isLastCopyColumn"],
4
4
  _excluded3 = ["isExpandable", "style", "className", "data-test-subj"],
5
5
  _excluded4 = ["columnId", "columnIndex", "rowIndex", "visibleRowIndex"];
6
6
  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; }
@@ -660,6 +660,7 @@ EuiDataGridCellContent.propTypes = {
660
660
  */
661
661
  onChange: PropTypes.func
662
662
  }).isRequired,
663
+ isLastCopyColumn: PropTypes.bool,
663
664
  setCellProps: PropTypes.func.isRequired,
664
665
  setCellContentsRef: PropTypes.func.isRequired,
665
666
  isExpanded: PropTypes.bool.isRequired,
@@ -999,6 +1000,8 @@ export var EuiDataGridCell = /*#__PURE__*/function (_Component) {
999
1000
  rowHeightsOptions = _this$props9.rowHeightsOptions,
1000
1001
  rowManager = _this$props9.rowManager,
1001
1002
  pagination = _this$props9.pagination,
1003
+ _this$props9$isLastCo = _this$props9.isLastCopyColumn,
1004
+ isLastCopyColumn = _this$props9$isLastCo === void 0 ? false : _this$props9$isLastCo,
1002
1005
  rest = _objectWithoutProperties(_this$props9, _excluded2);
1003
1006
  var rowIndex = rest.rowIndex,
1004
1007
  visibleRowIndex = rest.visibleRowIndex,
@@ -1010,7 +1013,6 @@ export var EuiDataGridCell = /*#__PURE__*/function (_Component) {
1010
1013
 
1011
1014
  // classNames set by EuiDataGridCellWrapper
1012
1015
  var isControlColumn = cellClasses.includes('euiDataGridRowCell--controlColumn');
1013
- var isLastColumn = cellClasses.includes('euiDataGridRowCell--lastColumn');
1014
1016
  var ariaRowIndex = pagination ? visibleRowIndex + 1 + pagination.pageSize * pagination.pageIndex : visibleRowIndex + 1;
1015
1017
  var _this$state$cellProps2 = this.state.cellProps,
1016
1018
  _ = _this$state$cellProps2.isExpandable,
@@ -1050,7 +1052,7 @@ export var EuiDataGridCell = /*#__PURE__*/function (_Component) {
1050
1052
  onKeyDown: this.handleCellKeyDown,
1051
1053
  onMouseEnter: this.onMouseEnter,
1052
1054
  onMouseLeave: this.onMouseLeave
1053
- }), ___EmotionJSX(HandleInteractiveChildren, {
1055
+ }), isControlColumn && tabularCopyMarkers.hiddenNoCopyBoundary, ___EmotionJSX(HandleInteractiveChildren, {
1054
1056
  cellEl: this.cellRef.current,
1055
1057
  updateCellFocusContext: this.updateCellFocusContext,
1056
1058
  renderFocusTrap: !isExpandable
@@ -1066,7 +1068,7 @@ export var EuiDataGridCell = /*#__PURE__*/function (_Component) {
1066
1068
  isControlColumn: isControlColumn,
1067
1069
  rowIndex: rowIndex,
1068
1070
  colIndex: colIndex
1069
- }))), isLastColumn ? tabularCopyMarkers.hiddenNewline : tabularCopyMarkers.hiddenTab, this.state.isFocused && ___EmotionJSX(CellScreenReaderDescription, {
1071
+ }))), isControlColumn ? tabularCopyMarkers.hiddenNoCopyBoundary : isLastCopyColumn ? tabularCopyMarkers.hiddenNewline : tabularCopyMarkers.hiddenTab, this.state.isFocused && ___EmotionJSX(CellScreenReaderDescription, {
1070
1072
  columnName: (column === null || column === void 0 ? void 0 : column.displayAsText) || this.props.columnId,
1071
1073
  columnIndex: colIndex + 1,
1072
1074
  rowIndex: ariaRowIndex,
@@ -1557,7 +1559,8 @@ EuiDataGridCell.propTypes = {
1557
1559
  * Can be used for, e.g. storing user `gridStyle` in a local storage object.
1558
1560
  */
1559
1561
  onChange: PropTypes.func
1560
- }).isRequired
1562
+ }).isRequired,
1563
+ isLastCopyColumn: PropTypes.bool
1561
1564
  };
1562
1565
  var RenderCellInRow = /*#__PURE__*/memo(function (_ref2) {
1563
1566
  var row = _ref2.row,
@@ -104,7 +104,7 @@ export var euiDataGridRowCellStyles = function euiDataGridRowCellStyles(euiTheme
104
104
  var _euiDataGridCellOutli = euiDataGridCellOutlineSelectors(),
105
105
  outlineSelectors = _euiDataGridCellOutli.outline;
106
106
  return {
107
- euiDataGridRowCell: /*#__PURE__*/css("position:relative;", outlineSelectors.show, "{", cellOutline.focusStyles, ";}", outlineSelectors.hover, "{", cellOutline.hoverStyles, ";}", outlineSelectors.focusTrapped, "{", cellOutline.hoverStyles, ";}&>[data-focus-lock-disabled]{", logicalCSS('height', '100%'), ";}&:where(.euiDataGridRowCell--numeric, .euiDataGridRowCell--currency){", logicalTextAlignCSS('right'), ";}&:where(.euiDataGridRowCell--uppercase){text-transform:uppercase;}&:where(.euiDataGridRowCell--lowercase){text-transform:lowercase;}&:where(.euiDataGridRowCell--capitalize){text-transform:capitalize;};label:euiDataGridRowCell;"),
107
+ euiDataGridRowCell: /*#__PURE__*/css("position:relative;", outlineSelectors.show, "{", cellOutline.focusStyles, ";}", outlineSelectors.hover, "{", cellOutline.hoverStyles, ";}", outlineSelectors.focusTrapped, "{", cellOutline.hoverStyles, ";}&>[data-focus-lock-disabled]{", logicalCSS('height', '100%'), ";}&:where(.euiDataGridRowCell--numeric, .euiDataGridRowCell--currency){", logicalTextAlignCSS('right'), ";}&:where(.euiDataGridRowCell--uppercase){text-transform:uppercase;}&:where(.euiDataGridRowCell--lowercase){text-transform:lowercase;}&:where(.euiDataGridRowCell--capitalize){text-transform:capitalize;}&:where(.euiDataGridRowCell--controlColumn){user-select:none;};label:euiDataGridRowCell;"),
108
108
  content: {
109
109
  euiDataGridRowCell__content: _ref,
110
110
  autoHeight: /*#__PURE__*/css(logicalCSS('height', 'auto'), ";;label:autoHeight;"),
@@ -52,6 +52,7 @@ export var CellWrapper = /*#__PURE__*/memo(function (_ref) {
52
52
  getCorrectRowIndex = _useContext.getCorrectRowIndex;
53
53
  var isFirstColumn = colIndex === 0;
54
54
  var isLastColumn = colIndex === visibleColCount - 1;
55
+ var isLastCopyColumn = columns.length > 0 && colIndex === leadingControlColumns.length + columns.length - 1;
55
56
  var isLeadingControlColumn = colIndex < leadingControlColumns.length;
56
57
  var isTrailingControlColumn = colIndex >= leadingControlColumns.length + columns.length;
57
58
  var datacolIndex = colIndex - leadingControlColumns.length;
@@ -82,9 +83,10 @@ export var CellWrapper = /*#__PURE__*/memo(function (_ref) {
82
83
  rowManager: rowManager,
83
84
  popoverContext: popoverContext,
84
85
  pagination: pagination,
85
- cellContext: cellContext
86
+ cellContext: cellContext,
87
+ isLastCopyColumn: isLastCopyColumn
86
88
  };
87
- }, [colIndex, setRowHeight, visibleRowIndex, getCorrectRowIndex, interactiveCellId, style, rowHeightsOptions, rowHeightUtils, rowManager, popoverContext, pagination, cellContext, isFirstColumn, isLastColumn, isLeadingControlColumn, isTrailingControlColumn, textTransform]);
89
+ }, [colIndex, setRowHeight, visibleRowIndex, getCorrectRowIndex, interactiveCellId, style, rowHeightsOptions, rowHeightUtils, rowManager, popoverContext, pagination, cellContext, isFirstColumn, isLastColumn, isLastCopyColumn, isLeadingControlColumn, isTrailingControlColumn, textTransform]);
88
90
  if (isLeadingControlColumn) {
89
91
  var leadingColumn = leadingControlColumns[colIndex];
90
92
  var id = leadingColumn.id,
@@ -41,6 +41,7 @@ var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (
41
41
  var cssStyles = [styles.euiDataGridFooter, gridStyles.stickyFooter && styles.sticky, gridStyles.footer === 'striped' ? visibleRowIndex % 2 !== 0 && styles.striped : styles[gridStyles.footer]];
42
42
  var classes = classNames('euiDataGridFooter', className);
43
43
  var dataTestSubj = classNames('dataGridRow', 'dataGridFooterRow', _dataTestSubj);
44
+ var lastCopyColumnIndex = columns.length > 0 ? leadingControlColumns.length + columns.length - 1 : -1;
44
45
  var getCellClasses = useCallback(function (columnIndex, classes) {
45
46
  return classNames('euiDataGridFooterCell', {
46
47
  'euiDataGridRowCell--firstColumn': columnIndex === 0,
@@ -74,6 +75,7 @@ var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (
74
75
  width: width,
75
76
  renderCellValue: footerCellRender !== null && footerCellRender !== void 0 ? footerCellRender : renderEmpty,
76
77
  isExpandable: false,
78
+ isLastCopyColumn: i === lastCopyColumnIndex,
77
79
  className: getCellClasses(i, classNames('euiDataGridRowCell--controlColumn', footerCellProps === null || footerCellProps === void 0 ? void 0 : footerCellProps.className))
78
80
  }));
79
81
  }), columns.map(function (_ref3, i) {
@@ -91,6 +93,7 @@ var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (
91
93
  renderCellValue: renderCellValue,
92
94
  renderCellPopover: renderCellPopover,
93
95
  isExpandable: true,
96
+ isLastCopyColumn: columnPosition === lastCopyColumnIndex,
94
97
  className: getCellClasses(columnPosition)
95
98
  }));
96
99
  }), trailingControlColumns.map(function (_ref4, i) {
@@ -106,6 +109,7 @@ var EuiDataGridFooterRow = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(function (
106
109
  width: width,
107
110
  renderCellValue: footerCellRender !== null && footerCellRender !== void 0 ? footerCellRender : renderEmpty,
108
111
  isExpandable: false,
112
+ isLastCopyColumn: colIndex === lastCopyColumnIndex,
109
113
  className: getCellClasses(colIndex, classNames('euiDataGridRowCell--controlColumn', footerCellProps === null || footerCellProps === void 0 ? void 0 : footerCellProps.className))
110
114
  }));
111
115
  }));
@@ -1,17 +1,9 @@
1
- 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); }
2
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
4
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
5
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
6
- function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
7
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
8
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
10
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
11
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
12
- 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; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- 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); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
+ 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."); }
3
+ 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; } }
4
+ 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; }
5
+ 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; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
15
7
  /*
16
8
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
17
9
  * or more contributor license agreements. Licensed under the Elastic License
@@ -20,86 +12,81 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
20
12
  * Side Public License, v 1.
21
13
  */
22
14
 
23
- import React, { Component } from 'react';
15
+ import React, { useCallback, useEffect, useRef, useState } from 'react';
24
16
  import PropTypes from "prop-types";
25
- import { RenderWithEuiStylesMemoizer } from '../../../../services';
17
+ import { useEuiMemoizedStyles, useLatest } from '../../../../services';
26
18
  import { logicalStyle } from '../../../../global_styling';
27
19
  import { DragOverlay } from './draggable_columns';
28
20
  import { euiDataGridColumnResizerStyles } from './column_resizer.styles';
29
21
  import { jsx as ___EmotionJSX } from "@emotion/react";
30
22
  var MINIMUM_COLUMN_WIDTH = 40;
31
- export var EuiDataGridColumnResizer = /*#__PURE__*/function (_Component) {
32
- function EuiDataGridColumnResizer() {
33
- var _this;
34
- _classCallCheck(this, EuiDataGridColumnResizer);
35
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
36
- args[_key] = arguments[_key];
37
- }
38
- _this = _callSuper(this, EuiDataGridColumnResizer, [].concat(args));
39
- _defineProperty(_this, "state", {
40
- initialX: 0,
41
- offset: 0
42
- });
43
- _defineProperty(_this, "onMouseDown", function (e) {
44
- _this.setState({
45
- initialX: e.pageX
46
- });
47
- window.addEventListener('mouseup', _this.onMouseUp);
48
- window.addEventListener('blur', _this.onMouseUp);
49
- window.addEventListener('mousemove', _this.onMouseMove);
23
+ export var EuiDataGridColumnResizer = function EuiDataGridColumnResizer(_ref) {
24
+ var columnId = _ref.columnId,
25
+ columnWidth = _ref.columnWidth,
26
+ setColumnWidth = _ref.setColumnWidth,
27
+ isLastColumn = _ref.isLastColumn;
28
+ var styles = useEuiMemoizedStyles(euiDataGridColumnResizerStyles);
29
+ var _useState = useState(0),
30
+ _useState2 = _slicedToArray(_useState, 2),
31
+ offset = _useState2[0],
32
+ setOffset = _useState2[1];
33
+ var initialX = useRef(0);
50
34
 
51
- // don't let this action steal focus
52
- e.preventDefault();
53
- });
54
- _defineProperty(_this, "onMouseUp", function () {
55
- var offset = _this.state.offset;
56
- var _this$props = _this.props,
57
- columnId = _this$props.columnId,
58
- columnWidth = _this$props.columnWidth,
59
- setColumnWidth = _this$props.setColumnWidth;
60
- setColumnWidth(columnId, Math.max(MINIMUM_COLUMN_WIDTH, columnWidth + offset));
61
- _this.setState({
62
- offset: 0
63
- });
64
- window.removeEventListener('mouseup', _this.onMouseUp);
65
- window.removeEventListener('blur', _this.onMouseUp);
66
- window.removeEventListener('mousemove', _this.onMouseMove);
67
- });
68
- _defineProperty(_this, "onMouseMove", function (e) {
69
- var columnWidth = _this.props.columnWidth;
70
- _this.setState(function (_ref) {
71
- var initialX = _ref.initialX;
72
- return {
73
- offset: Math.max(e.pageX - initialX, -(columnWidth - MINIMUM_COLUMN_WIDTH))
74
- };
75
- });
76
- });
77
- return _this;
78
- }
79
- _inherits(EuiDataGridColumnResizer, _Component);
80
- return _createClass(EuiDataGridColumnResizer, [{
81
- key: "render",
82
- value: function render() {
83
- var _this2 = this;
84
- var offset = this.state.offset;
85
- var isLastColumn = this.props.isLastColumn;
86
- return ___EmotionJSX(RenderWithEuiStylesMemoizer, null, function (stylesMemoizer) {
87
- var styles = stylesMemoizer(euiDataGridColumnResizerStyles);
88
- var cssStyles = [styles.euiDataGridColumnResizer, isLastColumn && styles.isLastColumn, offset && styles.isDragging];
89
- return ___EmotionJSX("div", {
90
- css: cssStyles,
91
- className: "euiDataGridColumnResizer",
92
- "data-test-subj": "dataGridColumnResizer",
93
- style: offset ? logicalStyle('margin-right', "".concat(-offset, "px")) : undefined,
94
- onMouseDown: _this2.onMouseDown
95
- }, ___EmotionJSX(DragOverlay, {
96
- isDragging: !!offset,
97
- cursor: "ew-resize"
98
- }));
99
- });
100
- }
101
- }]);
102
- }(Component);
35
+ // Handlers are bound to `window`, so they must stay stable to be removed
36
+ // and read current values from a ref
37
+ var latest = useLatest({
38
+ columnId: columnId,
39
+ columnWidth: columnWidth,
40
+ setColumnWidth: setColumnWidth,
41
+ offset: offset
42
+ });
43
+ var onMouseMove = useCallback(function (e) {
44
+ var _ref2 = latest.current,
45
+ columnWidth = _ref2.columnWidth;
46
+ setOffset(Math.max(e.pageX - initialX.current, -(columnWidth - MINIMUM_COLUMN_WIDTH)));
47
+ }, [latest]);
48
+ var onMouseUp = useCallback(function () {
49
+ var _ref3 = latest.current,
50
+ columnId = _ref3.columnId,
51
+ columnWidth = _ref3.columnWidth,
52
+ setColumnWidth = _ref3.setColumnWidth,
53
+ offset = _ref3.offset;
54
+ setColumnWidth(columnId, Math.max(MINIMUM_COLUMN_WIDTH, columnWidth + offset));
55
+ setOffset(0);
56
+ window.removeEventListener('mouseup', onMouseUp);
57
+ window.removeEventListener('blur', onMouseUp);
58
+ window.removeEventListener('mousemove', onMouseMove);
59
+ }, [latest, onMouseMove]);
60
+ var onMouseDown = useCallback(function (e) {
61
+ initialX.current = e.pageX;
62
+ window.addEventListener('mouseup', onMouseUp);
63
+ window.addEventListener('blur', onMouseUp);
64
+ window.addEventListener('mousemove', onMouseMove);
65
+
66
+ // don't let this action steal focus
67
+ e.preventDefault();
68
+ }, [onMouseUp, onMouseMove]);
69
+
70
+ // Clean up listeners if unmounted mid-drag
71
+ useEffect(function () {
72
+ return function () {
73
+ window.removeEventListener('mouseup', onMouseUp);
74
+ window.removeEventListener('blur', onMouseUp);
75
+ window.removeEventListener('mousemove', onMouseMove);
76
+ };
77
+ }, [onMouseUp, onMouseMove]);
78
+ var cssStyles = [styles.euiDataGridColumnResizer, isLastColumn && styles.isLastColumn, offset && styles.isDragging];
79
+ return ___EmotionJSX("div", {
80
+ css: cssStyles,
81
+ className: "euiDataGridColumnResizer",
82
+ "data-test-subj": "dataGridColumnResizer",
83
+ style: offset ? logicalStyle('margin-right', "".concat(-offset, "px")) : undefined,
84
+ onMouseDown: onMouseDown
85
+ }, ___EmotionJSX(DragOverlay, {
86
+ isDragging: !!offset,
87
+ cursor: "ew-resize"
88
+ }));
89
+ };
103
90
  EuiDataGridColumnResizer.propTypes = {
104
91
  columnId: PropTypes.string.isRequired,
105
92
  columnWidth: PropTypes.number.isRequired,
@@ -25,7 +25,8 @@ export var EuiDataGridControlHeaderCell = /*#__PURE__*/memo(function (_ref) {
25
25
  id: id,
26
26
  index: index,
27
27
  width: width,
28
- isLastColumn: isLastColumn
28
+ isLastColumn: isLastColumn,
29
+ isControlColumn: true
29
30
  }), ___EmotionJSX(HeaderCellRender, null));
30
31
  });
31
32
  EuiDataGridControlHeaderCell.propTypes = {
@@ -96,6 +96,7 @@ export var EuiDataGridHeaderCell = /*#__PURE__*/memo(function (_ref) {
96
96
  id: id,
97
97
  index: index,
98
98
  isLastColumn: isLastColumn,
99
+ isLastCopyColumn: columns.length > 0 ? columns[columns.length - 1].id === id : isLastColumn,
99
100
  width: width,
100
101
  "aria-sort": ariaSort,
101
102
  "aria-labelledby": cellContentId,
@@ -1,4 +1,4 @@
1
- var _excluded = ["id", "index", "isLastColumn", "width", "className", "children", "hasColumnActions", "isDragging", "onKeyDown", "aria-label", "aria-labelledby"];
1
+ var _excluded = ["id", "index", "isLastColumn", "isLastCopyColumn", "isControlColumn", "width", "className", "children", "hasColumnActions", "isDragging", "onKeyDown", "aria-label", "aria-labelledby"];
2
2
  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); }
3
3
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
4
4
  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."); }
@@ -34,6 +34,10 @@ export var EuiDataGridHeaderCellWrapper = function EuiDataGridHeaderCellWrapper(
34
34
  var id = _ref.id,
35
35
  index = _ref.index,
36
36
  isLastColumn = _ref.isLastColumn,
37
+ _ref$isLastCopyColumn = _ref.isLastCopyColumn,
38
+ isLastCopyColumn = _ref$isLastCopyColumn === void 0 ? isLastColumn : _ref$isLastCopyColumn,
39
+ _ref$isControlColumn = _ref.isControlColumn,
40
+ isControlColumn = _ref$isControlColumn === void 0 ? false : _ref$isControlColumn,
37
41
  width = _ref.width,
38
42
  className = _ref.className,
39
43
  children = _ref.children,
@@ -109,18 +113,20 @@ export var EuiDataGridHeaderCellWrapper = function EuiDataGridHeaderCellWrapper(
109
113
  } : {},
110
114
  "aria-label": renderFocusTrap ? ariaLabel : undefined,
111
115
  "aria-labelledby": renderFocusTrap ? ariaLabelledby : undefined
112
- }, rest), ___EmotionJSX(HandleInteractiveChildren, {
116
+ }, rest), isControlColumn && tabularCopyMarkers.hiddenNoCopyBoundary, ___EmotionJSX(HandleInteractiveChildren, {
113
117
  cellEl: isDragging ? null : headerEl,
114
118
  renderFocusTrap: isDragging ? false : renderFocusTrap,
115
119
  updateCellFocusContext: updateCellFocusContext,
116
120
  onInteractiveChildrenFound: setInteractiveChildren
117
- }, typeof children === 'function' ? children(renderFocusTrap) : children), isLastColumn ? tabularCopyMarkers.hiddenNewline : tabularCopyMarkers.hiddenTab);
121
+ }, typeof children === 'function' ? children(renderFocusTrap) : children), isControlColumn ? tabularCopyMarkers.hiddenNoCopyBoundary : isLastCopyColumn ? tabularCopyMarkers.hiddenNewline : tabularCopyMarkers.hiddenTab);
118
122
  };
119
123
  EuiDataGridHeaderCellWrapper.propTypes = {
120
124
  children: PropTypes.oneOfType([PropTypes.node.isRequired, PropTypes.func.isRequired]).isRequired,
121
125
  id: PropTypes.string.isRequired,
122
126
  index: PropTypes.number.isRequired,
123
127
  isLastColumn: PropTypes.bool.isRequired,
128
+ isLastCopyColumn: PropTypes.bool,
129
+ isControlColumn: PropTypes.bool,
124
130
  width: PropTypes.oneOfType([PropTypes.number.isRequired, PropTypes.oneOf([null])]),
125
131
  className: PropTypes.string,
126
132
  "aria-label": PropTypes.any,
@@ -21,6 +21,6 @@ export var euiDataGridHeaderCellWrapperStyles = function euiDataGridHeaderCellWr
21
21
  var _euiDataGridCellOutli2 = euiDataGridCellOutlineSelectors(),
22
22
  outlineSelectors = _euiDataGridCellOutli2.header;
23
23
  return {
24
- euiDataGridHeaderCell: /*#__PURE__*/css("position:relative;display:flex;align-items:center;flex:0 0 auto;font-weight:", euiTheme.font.weight.bold, ";", outlineSelectors.focus, "{", focusStyles, ";}", outlineSelectors.focusTrapped, "{", hoverStyles, ";}", outlineSelectors.showActions, "{&,&>[data-focus-lock-disabled]{gap:", euiTheme.size.xxs, ";}}&>[data-focus-lock-disabled]{display:flex;align-items:center;", logicalCSS('width', '100%'), ";};label:euiDataGridHeaderCell;")
24
+ euiDataGridHeaderCell: /*#__PURE__*/css("position:relative;display:flex;align-items:center;flex:0 0 auto;font-weight:", euiTheme.font.weight.bold, ";", outlineSelectors.focus, "{", focusStyles, ";}", outlineSelectors.focusTrapped, "{", hoverStyles, ";}", outlineSelectors.showActions, "{&,&>[data-focus-lock-disabled]{gap:", euiTheme.size.xxs, ";}}&>[data-focus-lock-disabled]{display:flex;align-items:center;", logicalCSS('width', '100%'), ";}&:where(.euiDataGridHeaderCell--controlColumn){user-select:none;};label:euiDataGridHeaderCell;")
25
25
  };
26
26
  };