@elastic/eui 76.1.0 → 76.2.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.
- package/dist/eui_theme_dark.css +33 -6
- package/dist/eui_theme_dark.min.css +1 -1
- package/dist/eui_theme_light.css +33 -6
- package/dist/eui_theme_light.min.css +1 -1
- package/es/components/avatar/avatar.js +1 -1
- package/es/components/badge/badge.js +1 -1
- package/es/components/badge/beta_badge/beta_badge.js +1 -1
- package/es/components/basic_table/basic_table.js +1 -1
- package/es/components/basic_table/collapsed_item_actions.js +1 -1
- package/es/components/basic_table/in_memory_table.js +1 -1
- package/es/components/button/_button_content_deprecated.js +1 -1
- package/es/components/button/button_display/_button_display.js +1 -1
- package/es/components/button/button_display/_button_display_content.js +1 -1
- package/es/components/button/button_empty/button_empty.js +1 -1
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/button/button_group/button_group_button.js +1 -1
- package/es/components/button/button_icon/button_icon.js +1 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/card/card.js +1 -1
- package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/es/components/comment_list/comment.js +2 -2
- package/es/components/comment_list/comment_event.js +1 -1
- package/es/components/comment_list/comment_list.js +2 -2
- package/es/components/comment_list/comment_timeline.js +1 -1
- package/es/components/datagrid/body/data_grid_body.js +32 -408
- package/es/components/datagrid/body/data_grid_body_custom.js +908 -0
- package/es/components/datagrid/body/data_grid_body_virtualized.js +1031 -0
- package/es/components/datagrid/body/data_grid_cell.js +34 -33
- package/es/components/datagrid/body/data_grid_cell_wrapper.js +132 -0
- package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/es/components/datagrid/body/header/data_grid_header_row.js +16 -15
- package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/es/components/datagrid/data_grid.js +34 -18
- package/es/components/datagrid/data_grid_types.js +18 -1
- package/es/components/datagrid/utils/in_memory.js +12 -12
- package/es/components/datagrid/utils/row_heights.js +111 -31
- package/es/components/date_picker/date_picker.js +2 -2
- package/es/components/date_picker/date_picker_range.js +1 -1
- package/es/components/empty_prompt/empty_prompt.js +1 -1
- package/es/components/facet/facet_button.js +1 -1
- package/es/components/form/field_number/field_number.js +1 -1
- package/es/components/form/field_text/field_text.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout.js +2 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/es/components/header/header_links/header_link.js +1 -1
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/header/header_logo.js +1 -1
- package/es/components/icon/icon.js +1 -1
- package/es/components/icon/icon_map.js +2 -0
- package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +2 -2
- package/es/components/list_group/list_group_item_extra_action.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_logo.js +1 -1
- package/es/components/markdown_editor/markdown_editor.js +1 -1
- package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/es/components/notification/notification_event.js +2 -2
- package/es/components/notification/notification_event_meta.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/pagination/pagination_button.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list.js +1 -1
- package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/es/components/suggest/suggest.js +1 -1
- package/es/components/suggest/suggest_item.js +1 -1
- package/es/components/table/table_header_button.js +1 -1
- package/es/components/timeline/timeline_item_icon.js +1 -1
- package/es/components/toast/global_toast_list.js +1 -1
- package/es/components/toast/toast.js +1 -1
- package/es/components/tool_tip/icon_tip.js +1 -1
- package/eui.d.ts +229 -136
- package/i18ntokens.json +8 -8
- package/lib/components/avatar/avatar.js +1 -1
- package/lib/components/badge/badge.js +1 -1
- package/lib/components/badge/beta_badge/beta_badge.js +1 -1
- package/lib/components/basic_table/basic_table.js +1 -1
- package/lib/components/basic_table/collapsed_item_actions.js +1 -1
- package/lib/components/basic_table/in_memory_table.js +1 -1
- package/lib/components/button/_button_content_deprecated.js +1 -1
- package/lib/components/button/button_display/_button_display.js +1 -1
- package/lib/components/button/button_display/_button_display_content.js +1 -1
- package/lib/components/button/button_empty/button_empty.js +1 -1
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/button/button_group/button_group_button.js +1 -1
- package/lib/components/button/button_icon/button_icon.js +1 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/card/card.js +1 -1
- package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/lib/components/comment_list/comment.js +2 -2
- package/lib/components/comment_list/comment_event.js +1 -1
- package/lib/components/comment_list/comment_list.js +2 -2
- package/lib/components/comment_list/comment_timeline.js +1 -1
- package/lib/components/datagrid/body/data_grid_body.js +32 -429
- package/lib/components/datagrid/body/data_grid_body_custom.js +927 -0
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +1059 -0
- package/lib/components/datagrid/body/data_grid_cell.js +34 -33
- package/lib/components/datagrid/body/data_grid_cell_wrapper.js +147 -0
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/lib/components/datagrid/body/header/data_grid_header_row.js +17 -15
- package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/lib/components/datagrid/data_grid.js +34 -17
- package/lib/components/datagrid/data_grid_types.js +22 -1
- package/lib/components/datagrid/utils/in_memory.js +12 -12
- package/lib/components/datagrid/utils/row_heights.js +116 -33
- package/lib/components/date_picker/date_picker.js +2 -2
- package/lib/components/date_picker/date_picker_range.js +1 -1
- package/lib/components/empty_prompt/empty_prompt.js +1 -1
- package/lib/components/facet/facet_button.js +1 -1
- package/lib/components/form/field_number/field_number.js +1 -1
- package/lib/components/form/field_text/field_text.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/lib/components/header/header_links/header_link.js +1 -1
- package/lib/components/header/header_links/header_links.js +1 -1
- package/lib/components/header/header_logo.js +1 -1
- package/lib/components/icon/icon.js +1 -1
- package/lib/components/icon/icon_map.js +2 -0
- package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +2 -2
- package/lib/components/list_group/list_group_item_extra_action.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_logo.js +1 -1
- package/lib/components/markdown_editor/markdown_editor.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/lib/components/notification/notification_event.js +2 -2
- package/lib/components/notification/notification_event_meta.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
- package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/lib/components/suggest/suggest.js +1 -1
- package/lib/components/suggest/suggest_item.js +1 -1
- package/lib/components/table/table_header_button.js +1 -1
- package/lib/components/timeline/timeline_item_icon.js +1 -1
- package/lib/components/toast/global_toast_list.js +1 -1
- package/lib/components/toast/toast.js +1 -1
- package/lib/components/tool_tip/icon_tip.js +1 -1
- package/optimize/es/components/datagrid/body/data_grid_body.js +17 -387
- package/optimize/es/components/datagrid/body/data_grid_body_custom.js +176 -0
- package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +311 -0
- package/optimize/es/components/datagrid/body/data_grid_cell.js +8 -7
- package/optimize/es/components/datagrid/body/data_grid_cell_wrapper.js +127 -0
- package/optimize/es/components/datagrid/body/header/data_grid_header_row.js +3 -2
- package/optimize/es/components/datagrid/data_grid.js +8 -5
- package/optimize/es/components/datagrid/data_grid_types.js +18 -1
- package/optimize/es/components/datagrid/utils/row_heights.js +100 -31
- package/optimize/es/components/icon/icon_map.js +2 -0
- package/optimize/lib/components/datagrid/body/data_grid_body.js +16 -409
- package/optimize/lib/components/datagrid/body/data_grid_body_custom.js +198 -0
- package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +342 -0
- package/optimize/lib/components/datagrid/body/data_grid_cell.js +8 -7
- package/optimize/lib/components/datagrid/body/data_grid_cell_wrapper.js +144 -0
- package/optimize/lib/components/datagrid/body/header/data_grid_header_row.js +4 -2
- package/optimize/lib/components/datagrid/data_grid.js +8 -4
- package/optimize/lib/components/datagrid/data_grid_types.js +22 -1
- package/optimize/lib/components/datagrid/utils/row_heights.js +103 -37
- package/optimize/lib/components/icon/icon_map.js +2 -0
- package/package.json +1 -1
- package/src/components/datagrid/_data_grid.scss +7 -0
- package/src/components/datagrid/_data_grid_data_row.scss +1 -0
- package/src/components/datagrid/body/footer/_data_grid_footer_row.scss +1 -0
- package/src/components/datagrid/body/header/_data_grid_header_row.scss +1 -0
- package/src/components/selectable/selectable_list/_selectable_list.scss +10 -3
- package/src/themes/amsterdam/global_styling/mixins/_states.scss +17 -8
- package/test-env/components/avatar/avatar.js +1 -1
- package/test-env/components/badge/badge.js +1 -1
- package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
- package/test-env/components/basic_table/basic_table.js +1 -1
- package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
- package/test-env/components/basic_table/in_memory_table.js +1 -1
- package/test-env/components/button/_button_content_deprecated.js +1 -1
- package/test-env/components/button/button_display/_button_display.js +1 -1
- package/test-env/components/button/button_display/_button_display_content.js +1 -1
- package/test-env/components/button/button_empty/button_empty.js +1 -1
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/button/button_group/button_group_button.js +1 -1
- package/test-env/components/button/button_icon/button_icon.js +1 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/card/card.js +1 -1
- package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
- package/test-env/components/comment_list/comment.js +2 -2
- package/test-env/components/comment_list/comment_event.js +1 -1
- package/test-env/components/comment_list/comment_list.js +2 -2
- package/test-env/components/comment_list/comment_timeline.js +1 -1
- package/test-env/components/datagrid/body/data_grid_body.js +31 -428
- package/test-env/components/datagrid/body/data_grid_body_custom.js +908 -0
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +1057 -0
- package/test-env/components/datagrid/body/data_grid_cell.js +34 -33
- package/test-env/components/datagrid/body/data_grid_cell_wrapper.js +144 -0
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -12
- package/test-env/components/datagrid/body/header/data_grid_header_row.js +17 -15
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
- package/test-env/components/datagrid/data_grid.js +34 -17
- package/test-env/components/datagrid/data_grid_types.js +22 -1
- package/test-env/components/datagrid/utils/in_memory.js +12 -12
- package/test-env/components/datagrid/utils/row_heights.js +103 -37
- package/test-env/components/date_picker/date_picker.js +2 -2
- package/test-env/components/date_picker/date_picker_range.js +1 -1
- package/test-env/components/empty_prompt/empty_prompt.js +1 -1
- package/test-env/components/facet/facet_button.js +1 -1
- package/test-env/components/form/field_number/field_number.js +1 -1
- package/test-env/components/form/field_text/field_text.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
- package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
- package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
- package/test-env/components/header/header_links/header_link.js +1 -1
- package/test-env/components/header/header_links/header_links.js +1 -1
- package/test-env/components/header/header_logo.js +1 -1
- package/test-env/components/icon/icon_map.js +2 -0
- package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +2 -2
- package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_logo.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
- package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
- package/test-env/components/notification/notification_event.js +2 -2
- package/test-env/components/notification/notification_event_meta.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
- package/test-env/components/suggest/suggest.js +1 -1
- package/test-env/components/suggest/suggest_item.js +1 -1
- package/test-env/components/table/table_header_button.js +1 -1
- package/test-env/components/timeline/timeline_item_icon.js +1 -1
- package/test-env/components/toast/global_toast_list.js +1 -1
- package/test-env/components/toast/toast.js +1 -1
- package/test-env/components/tool_tip/icon_tip.js +1 -1
package/eui.d.ts
CHANGED
|
@@ -1344,6 +1344,7 @@ declare module '@elastic/eui/src/components/icon/icon_map' {
|
|
|
1344
1344
|
visVisualBuilder: string;
|
|
1345
1345
|
visualizeApp: string;
|
|
1346
1346
|
warning: string;
|
|
1347
|
+
alert: string;
|
|
1347
1348
|
watchesApp: string;
|
|
1348
1349
|
wordWrap: string;
|
|
1349
1350
|
wordWrapDisabled: string;
|
|
@@ -1462,7 +1463,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
1462
1463
|
import { WithEuiThemeProps } from '@elastic/eui/src/services';
|
|
1463
1464
|
export { COLORS } from '@elastic/eui/src/components/icon/named_colors';
|
|
1464
1465
|
import { NamedColor } from '@elastic/eui/src/components/icon/named_colors';
|
|
1465
|
-
export const TYPES: ("string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "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" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "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" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
1466
|
+
export const TYPES: ("string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "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" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "alert" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "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" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp")[];
|
|
1466
1467
|
export type EuiIconType = keyof typeof typeToPathMap;
|
|
1467
1468
|
export type IconType = EuiIconType | string | ComponentType;
|
|
1468
1469
|
export type IconColor = string | NamedColor;
|
|
@@ -1505,7 +1506,7 @@ declare module '@elastic/eui/src/components/icon/icon' {
|
|
|
1505
1506
|
isLoading: boolean;
|
|
1506
1507
|
neededLoading: boolean;
|
|
1507
1508
|
}
|
|
1508
|
-
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "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" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "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" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
1509
|
+
export const clearIconComponentCache: (iconType?: "string" | "number" | "function" | "article" | "link" | "menu" | "filter" | "image" | "stop" | "search" | "temperature" | "color" | "accessibility" | "aggregate" | "analyzeEvent" | "annotation" | "apps" | "arrowStart" | "arrowEnd" | "asterisk" | "beaker" | "bell" | "bellSlash" | "beta" | "bolt" | "branch" | "branchUser" | "broom" | "brush" | "bug" | "bullseye" | "calendar" | "check" | "checkInCircleFilled" | "cheer" | "clock" | "cloudDrizzle" | "cloudStormy" | "cloudSunny" | "cluster" | "compute" | "console" | "container" | "continuityAbove" | "continuityAboveBelow" | "continuityBelow" | "continuityWithin" | "copy" | "cross" | "crosshairs" | "currency" | "cut" | "database" | "desktop" | "discuss" | "document" | "documentEdit" | "documentation" | "documents" | "dot" | "dotInCircle" | "doubleArrowLeft" | "doubleArrowRight" | "download" | "editorDistributeHorizontal" | "editorDistributeVertical" | "editorItemAlignBottom" | "editorItemAlignCenter" | "editorItemAlignLeft" | "editorItemAlignMiddle" | "editorItemAlignRight" | "editorItemAlignTop" | "editorPositionBottomLeft" | "editorPositionBottomRight" | "editorPositionTopLeft" | "editorPositionTopRight" | "email" | "empty" | "eql" | "eraser" | "error" | "exit" | "expand" | "expandMini" | "eye" | "filterExclude" | "filterIgnore" | "filterInclude" | "filterInCircle" | "flag" | "fold" | "frameNext" | "framePrevious" | "fullScreenExit" | "gear" | "glasses" | "globe" | "grab" | "grid" | "heart" | "heatmap" | "help" | "home" | "iInCircle" | "indexTemporary" | "infinity" | "inputOutput" | "inspect" | "invert" | "ip" | "keyboard" | "kubernetesNode" | "kubernetesPod" | "launch" | "layers" | "lettering" | "lineDashed" | "lineDotted" | "lineSolid" | "list" | "lock" | "lockOpen" | "magnet" | "magnifyWithExclamation" | "magnifyWithMinus" | "magnifyWithPlus" | "memory" | "menuDown" | "menuLeft" | "menuRight" | "menuUp" | "merge" | "minimize" | "minus" | "mobile" | "moon" | "namespace" | "nested" | "node" | "offline" | "online" | "package" | "pageSelect" | "pagesSelect" | "partial" | "pause" | "payment" | "pencil" | "percent" | "pin" | "pivot" | "play" | "playFilled" | "plus" | "popout" | "push" | "quote" | "refresh" | "reporter" | "save" | "scale" | "securitySignal" | "securitySignalDetected" | "securitySignalResolved" | "sessionViewer" | "shard" | "share" | "snowflake" | "sortAscending" | "sortDescending" | "sortLeft" | "sortRight" | "sortable" | "spaces" | "starPlusEmpty" | "starPlusFilled" | "stats" | "storage" | "submodule" | "sun" | "symlink" | "tableOfContents" | "tag" | "tear" | "timeline" | "timeRefresh" | "timeslider" | "training" | "trash" | "unfold" | "unlink" | "user" | "userAvatar" | "users" | "vector" | "videoPlayer" | "warning" | "wordWrap" | "wordWrapDisabled" | "wrench" | "tokenAlias" | "tokenAnnotation" | "tokenArray" | "tokenBinary" | "tokenBoolean" | "tokenClass" | "tokenCompletionSuggester" | "tokenConstant" | "tokenDate" | "tokenDenseVector" | "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" | "tokenShape" | "tokenString" | "tokenStruct" | "tokenSymbol" | "tokenTag" | "tokenText" | "tokenTokenCount" | "tokenVariable" | "alert" | "addDataApp" | "advancedSettingsApp" | "agentApp" | "apmApp" | "apmTrace" | "appSearchApp" | "arrowDown" | "arrowLeft" | "arrowRight" | "arrowUp" | "auditbeatApp" | "boxesHorizontal" | "boxesVertical" | "canvasApp" | "casesApp" | "classificationJob" | "codeApp" | "consoleApp" | "controlsHorizontal" | "controlsVertical" | "copyClipboard" | "createAdvancedJob" | "createMultiMetricJob" | "createPopulationJob" | "createSingleMetricJob" | "crossClusterReplicationApp" | "dashboardApp" | "dataVisualizer" | "devToolsApp" | "discoverApp" | "editorAlignCenter" | "editorAlignLeft" | "editorAlignRight" | "editorBold" | "editorChecklist" | "editorCodeBlock" | "editorComment" | "editorHeading" | "editorItalic" | "editorLink" | "editorOrderedList" | "editorRedo" | "editorStrike" | "editorTable" | "editorUnderline" | "editorUndo" | "editorUnorderedList" | "emsApp" | "exportAction" | "eyeClosed" | "faceHappy" | "faceNeutral" | "faceSad" | "filebeatApp" | "fleetApp" | "folderCheck" | "folderClosed" | "folderExclamation" | "folderOpen" | "fullScreen" | "gisApp" | "grabHorizontal" | "graphApp" | "grokApp" | "heartbeatApp" | "importAction" | "indexClose" | "indexEdit" | "indexFlush" | "indexManagementApp" | "indexMapping" | "indexOpen" | "indexPatternApp" | "indexRollupApp" | "indexRuntime" | "indexSettings" | "kqlField" | "kqlFunction" | "kqlOperand" | "kqlSelector" | "kqlValue" | "lensApp" | "listAdd" | "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" | "logoWebhook" | "logoWindows" | "logoWorkplaceSearch" | "logsApp" | "logstashFilter" | "logstashIf" | "logstashInput" | "logstashOutput" | "logstashQueue" | "machineLearningApp" | "managementApp" | "mapMarker" | "metricbeatApp" | "metricsApp" | "minusInCircle" | "minusInCircleFilled" | "monitoringApp" | "notebookApp" | "outlierDetectionJob" | "packetbeatApp" | "paperClip" | "pinFilled" | "pipelineApp" | "plusInCircle" | "plusInCircleFilled" | "questionInCircle" | "recentlyViewedApp" | "regressionJob" | "reportingApp" | "returnKey" | "savedObjectsApp" | "searchProfilerApp" | "securityAnalyticsApp" | "securityApp" | "sortDown" | "sortUp" | "spacesApp" | "sqlApp" | "starEmpty" | "starEmptySpace" | "starFilled" | "starFilledSpace" | "starMinusEmpty" | "starMinusFilled" | "stopFilled" | "stopSlash" | "swatchInput" | "tableDensityCompact" | "tableDensityExpanded" | "tableDensityNormal" | "timelionApp" | "upgradeAssistantApp" | "uptimeApp" | "usersRolesApp" | "visArea" | "visAreaStacked" | "visBarHorizontal" | "visBarHorizontalStacked" | "visBarVertical" | "visBarVerticalStacked" | "visGauge" | "visGoal" | "visLine" | "visMapCoordinate" | "visMapRegion" | "visMetric" | "visPie" | "visTable" | "visTagCloud" | "visText" | "visTimelion" | "visVega" | "visVisualBuilder" | "visualizeApp" | "watchesApp" | "workplaceSearchApp" | undefined) => void;
|
|
1509
1510
|
export const appendIconComponentCache: (iconTypeToIconComponentMap: {
|
|
1510
1511
|
[iconType: string]: React.ComponentType<{}>;
|
|
1511
1512
|
}) => void;
|
|
@@ -11423,12 +11424,8 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
11423
11424
|
export const cellPaddingsMap: Record<EuiDataGridStyleCellPaddings, number>;
|
|
11424
11425
|
export const AUTO_HEIGHT = "auto";
|
|
11425
11426
|
export const DEFAULT_ROW_HEIGHT = 34;
|
|
11427
|
+
export type RowHeightUtilsType = RowHeightUtils | RowHeightVirtualizationUtils;
|
|
11426
11428
|
export class RowHeightUtils {
|
|
11427
|
-
private gridRef;
|
|
11428
|
-
private outerGridElementRef;
|
|
11429
|
-
private gridItemsRenderedRef;
|
|
11430
|
-
private rerenderGridBodyRef;
|
|
11431
|
-
constructor(gridRef: MutableRefObject<ImperativeGridApi | null>, outerGridElementRef: MutableRefObject<HTMLDivElement | null>, gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>, rerenderGridBodyRef: MutableRefObject<(() => void) | null>);
|
|
11432
11429
|
getRowHeightOption(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): EuiDataGridRowHeightOption | undefined;
|
|
11433
11430
|
isRowHeightOverride(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
|
|
11434
11431
|
getCalculatedHeight(heightOption: EuiDataGridRowHeightOption, defaultHeight: number, rowIndex?: number, isRowHeightOverride?: boolean): number;
|
|
@@ -11446,13 +11443,32 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
11446
11443
|
/**
|
|
11447
11444
|
* Auto height utils
|
|
11448
11445
|
*/
|
|
11446
|
+
isAutoHeight(rowIndex: number, rowHeightsOptions?: EuiDataGridRowHeightsOptions): boolean;
|
|
11447
|
+
/**
|
|
11448
|
+
* Heights cache utils
|
|
11449
|
+
* This cache is primarily used by auto heights & secondarily used by lineCount row overrides
|
|
11450
|
+
*/
|
|
11449
11451
|
private heightsCache;
|
|
11452
|
+
getRowHeight(rowIndex: number): number;
|
|
11453
|
+
setRowHeight(rowIndex: number, colId: string, height: number | undefined, _visibleRowIndex: number): boolean;
|
|
11454
|
+
pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): boolean;
|
|
11455
|
+
}
|
|
11456
|
+
/**
|
|
11457
|
+
* Row height utils with virtualization library-specific APIs
|
|
11458
|
+
*/
|
|
11459
|
+
export class RowHeightVirtualizationUtils extends RowHeightUtils {
|
|
11460
|
+
private gridRef;
|
|
11461
|
+
private outerGridElementRef;
|
|
11462
|
+
private gridItemsRenderedRef;
|
|
11463
|
+
private rerenderGridBodyRef;
|
|
11464
|
+
constructor(gridRef: MutableRefObject<ImperativeGridApi | null>, outerGridElementRef: MutableRefObject<HTMLDivElement | null>, gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>, rerenderGridBodyRef: MutableRefObject<(() => void) | null>);
|
|
11465
|
+
/**
|
|
11466
|
+
* Virtualization workarounds for auto height rows
|
|
11467
|
+
*/
|
|
11450
11468
|
private timerId?;
|
|
11451
11469
|
private lastUpdatedRow;
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
setRowHeight(rowIndex: number, colId: string, height: number | undefined, visibleRowIndex: number): void;
|
|
11455
|
-
pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): void;
|
|
11470
|
+
setRowHeight(rowIndex: number, colId: string, height: number | undefined, visibleRowIndex: number): boolean;
|
|
11471
|
+
pruneHiddenColumnHeights(visibleColumns: EuiDataGridColumn[]): boolean;
|
|
11456
11472
|
resetRow(visibleRowIndex: number): void;
|
|
11457
11473
|
resetGrid(): void;
|
|
11458
11474
|
compensateForLayoutShift(rowIndex: number, verticalLayoutShift: number, anchorRow: EuiDataGridScrollAnchorRow): void;
|
|
@@ -11461,17 +11477,19 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_heights' {
|
|
|
11461
11477
|
* Hook for instantiating RowHeightUtils, setting internal class vars,
|
|
11462
11478
|
* and setting up various row-height-related side effects
|
|
11463
11479
|
*/
|
|
11464
|
-
export const useRowHeightUtils: ({
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11480
|
+
export const useRowHeightUtils: ({ virtualization, rowHeightsOptions, gridStyles, columns, }: {
|
|
11481
|
+
virtualization?: false | {
|
|
11482
|
+
gridRef: MutableRefObject<ImperativeGridApi | null>;
|
|
11483
|
+
outerGridElementRef: MutableRefObject<HTMLDivElement | null>;
|
|
11484
|
+
gridItemsRenderedRef: MutableRefObject<GridOnItemsRenderedProps | null>;
|
|
11485
|
+
} | undefined;
|
|
11486
|
+
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
11468
11487
|
gridStyles: EuiDataGridStyle;
|
|
11469
11488
|
columns: EuiDataGridColumn[];
|
|
11470
|
-
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
11471
11489
|
}) => RowHeightUtils;
|
|
11472
11490
|
export const useDefaultRowHeight: ({ rowHeightsOptions, rowHeightUtils, }: {
|
|
11473
11491
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
11474
|
-
rowHeightUtils:
|
|
11492
|
+
rowHeightUtils: RowHeightUtilsType;
|
|
11475
11493
|
}) => {
|
|
11476
11494
|
defaultRowHeight: number;
|
|
11477
11495
|
setRowHeight: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
@@ -11583,12 +11601,12 @@ declare module '@elastic/eui/src/components/token' {
|
|
|
11583
11601
|
|
|
11584
11602
|
}
|
|
11585
11603
|
declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
11586
|
-
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Component } from 'react';
|
|
11604
|
+
import { ComponentType, JSXElementConstructor, ReactNode, HTMLAttributes, CSSProperties, ReactElement, AriaAttributes, MutableRefObject, Ref, Component } from 'react';
|
|
11587
11605
|
import { VariableSizeGridProps, VariableSizeGrid as Grid, GridOnItemsRenderedProps } from 'react-window';
|
|
11588
11606
|
import { EuiListGroupItemProps } from '@elastic/eui/src/components/list_group';
|
|
11589
11607
|
import { EuiButtonEmpty, EuiButtonIcon } from '@elastic/eui/src/components/button';
|
|
11590
11608
|
import { ExclusiveUnion, CommonProps, OneOf } from '@elastic/eui/src/components/common';
|
|
11591
|
-
import {
|
|
11609
|
+
import { RowHeightUtilsType } from '@elastic/eui/src/components/datagrid/utils/row_heights';
|
|
11592
11610
|
import { IconType } from '@elastic/eui/src/components/icon';
|
|
11593
11611
|
import { EuiTokenProps } from '@elastic/eui/src/components/token';
|
|
11594
11612
|
import { EuiPopoverProps } from '@elastic/eui/src/components/popover';
|
|
@@ -11802,6 +11820,18 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11802
11820
|
* as its only argument.
|
|
11803
11821
|
*/
|
|
11804
11822
|
renderFooterCellValue?: EuiDataGridCellProps['renderCellValue'];
|
|
11823
|
+
/**
|
|
11824
|
+
* An optional function called to completely customize and control the rendering of
|
|
11825
|
+
* EuiDataGrid's body and cell placement. This can be used to, e.g. remove EuiDataGrid's
|
|
11826
|
+
* virtualization library, or roll your own.
|
|
11827
|
+
*
|
|
11828
|
+
* This component is **only** meant as an escape hatch for extremely custom use cases.
|
|
11829
|
+
*
|
|
11830
|
+
* Behind the scenes, this function is treated as a React component,
|
|
11831
|
+
* allowing hooks, context, and other React concepts to be used.
|
|
11832
|
+
* It receives #EuiDataGridCustomBodyProps as its only argument.
|
|
11833
|
+
*/
|
|
11834
|
+
renderCustomGridBody?: (args: EuiDataGridCustomBodyProps) => ReactNode;
|
|
11805
11835
|
/**
|
|
11806
11836
|
* Defines the initial style of the grid. Accepts a partial #EuiDataGridStyle object.
|
|
11807
11837
|
* Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowDensity = true` (which is the default).
|
|
@@ -11928,6 +11958,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11928
11958
|
renderCellValue: EuiDataGridCellProps['renderCellValue'];
|
|
11929
11959
|
renderCellPopover?: EuiDataGridCellProps['renderCellPopover'];
|
|
11930
11960
|
renderFooterCellValue?: EuiDataGridCellProps['renderCellValue'];
|
|
11961
|
+
renderCustomGridBody?: EuiDataGridProps['renderCustomGridBody'];
|
|
11931
11962
|
interactiveCellId: EuiDataGridCellProps['interactiveCellId'];
|
|
11932
11963
|
pagination?: EuiDataGridPaginationProps;
|
|
11933
11964
|
headerIsInteractive: boolean;
|
|
@@ -11944,6 +11975,44 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
11944
11975
|
gridItemsRendered: MutableRefObject<GridOnItemsRenderedProps | null>;
|
|
11945
11976
|
wrapperRef: MutableRefObject<HTMLDivElement | null>;
|
|
11946
11977
|
}
|
|
11978
|
+
export interface EuiDataGridCustomBodyProps {
|
|
11979
|
+
/**
|
|
11980
|
+
* When taking control of data grid rendering, the underlying `EuiDataGridCell`
|
|
11981
|
+
* is passed as a prop for usage. You **must** pass in a valid `colIndex`
|
|
11982
|
+
* and `visibleRowIndex` to this cell component.
|
|
11983
|
+
*
|
|
11984
|
+
* You may also pass in any other optional cell prop overrides
|
|
11985
|
+
* that `EuiDataGridCell` accepts, such as `isExpandable` or `renderCellValue`.
|
|
11986
|
+
*/
|
|
11987
|
+
Cell: JSXElementConstructor<{
|
|
11988
|
+
colIndex: number;
|
|
11989
|
+
visibleRowIndex: number;
|
|
11990
|
+
} & Partial<EuiDataGridCellProps>>;
|
|
11991
|
+
/**
|
|
11992
|
+
* The currently visible columns are passed to your data grid renderer so that your
|
|
11993
|
+
* custom grid can automatically adjust to column hiding & reordering.
|
|
11994
|
+
*/
|
|
11995
|
+
visibleColumns: EuiDataGridColumn[];
|
|
11996
|
+
/**
|
|
11997
|
+
* The currently visible rows are passed to your data grid renderer so that your
|
|
11998
|
+
* custom grid can automatically adjust to sorting and pagination.
|
|
11999
|
+
*
|
|
12000
|
+
* You will need to manually slice your data with `startRow` and `endRow` in order to simulate pagination.
|
|
12001
|
+
*/
|
|
12002
|
+
visibleRowData: {
|
|
12003
|
+
startRow: number;
|
|
12004
|
+
endRow: number;
|
|
12005
|
+
visibleRowCount: number;
|
|
12006
|
+
};
|
|
12007
|
+
/**
|
|
12008
|
+
* Callback function to set custom props & attributes on the custom grid body's wrapping `div` element.
|
|
12009
|
+
* It's best to wrap calls to `setCustomGridBodyProps` in a `useEffect` hook
|
|
12010
|
+
*/
|
|
12011
|
+
setCustomGridBodyProps: (props: EuiDataGridSetCustomGridBodyProps) => void;
|
|
12012
|
+
}
|
|
12013
|
+
export type EuiDataGridSetCustomGridBodyProps = CommonProps & HTMLAttributes<HTMLDivElement> & {
|
|
12014
|
+
ref?: MutableRefObject<HTMLDivElement> | Ref<HTMLDivElement>;
|
|
12015
|
+
};
|
|
11947
12016
|
/**
|
|
11948
12017
|
* Props shared between renderCellValue and renderCellPopover
|
|
11949
12018
|
*/
|
|
@@ -12036,7 +12105,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
12036
12105
|
getRowHeight?: (rowIndex: number) => number;
|
|
12037
12106
|
style?: React.CSSProperties;
|
|
12038
12107
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions;
|
|
12039
|
-
rowHeightUtils?:
|
|
12108
|
+
rowHeightUtils?: RowHeightUtilsType;
|
|
12040
12109
|
rowManager?: EuiDataGridRowManager;
|
|
12041
12110
|
pagination?: EuiDataGridPaginationProps;
|
|
12042
12111
|
}
|
|
@@ -12078,6 +12147,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
12078
12147
|
*/
|
|
12079
12148
|
footerCellProps?: HTMLAttributes<HTMLDivElement>;
|
|
12080
12149
|
}
|
|
12150
|
+
export const emptyControlColumns: EuiDataGridControlColumn[];
|
|
12081
12151
|
export interface EuiDataGridColumn {
|
|
12082
12152
|
/**
|
|
12083
12153
|
* The unique identifier for this column
|
|
@@ -12478,115 +12548,6 @@ declare module '@elastic/eui/src/components/datagrid/utils/focus' {
|
|
|
12478
12548
|
export const useHeaderFocusWorkaround: (headerIsInteractive: boolean) => void;
|
|
12479
12549
|
export {};
|
|
12480
12550
|
|
|
12481
|
-
}
|
|
12482
|
-
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_actions' {
|
|
12483
|
-
|
|
12484
|
-
import { EuiDataGridColumn } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12485
|
-
export const EuiDataGridCellActions: ({ onExpandClick, column, rowIndex, colIndex, }: {
|
|
12486
|
-
onExpandClick: () => void;
|
|
12487
|
-
column?: EuiDataGridColumn | undefined;
|
|
12488
|
-
rowIndex: number;
|
|
12489
|
-
colIndex: number;
|
|
12490
|
-
}) => JSX.Element;
|
|
12491
|
-
export const EuiDataGridCellPopoverActions: ({ rowIndex, colIndex, column, }: {
|
|
12492
|
-
column?: EuiDataGridColumn | undefined;
|
|
12493
|
-
colIndex: number;
|
|
12494
|
-
rowIndex: number;
|
|
12495
|
-
}) => JSX.Element;
|
|
12496
|
-
|
|
12497
|
-
}
|
|
12498
|
-
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_popover' {
|
|
12499
|
-
import React, { ReactNode } from 'react';
|
|
12500
|
-
import { DataGridCellPopoverContextShape, EuiDataGridCellPopoverElementProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12501
|
-
export const DataGridCellPopoverContext: React.Context<DataGridCellPopoverContextShape>;
|
|
12502
|
-
export const useCellPopover: () => {
|
|
12503
|
-
cellPopoverContext: DataGridCellPopoverContextShape;
|
|
12504
|
-
cellPopover: ReactNode;
|
|
12505
|
-
};
|
|
12506
|
-
export const DefaultCellPopover: ({ schema, cellActions, children, cellContentsElement, }: EuiDataGridCellPopoverElementProps) => JSX.Element;
|
|
12507
|
-
export const JsonPopoverContent: ({ cellText }: {
|
|
12508
|
-
cellText: string;
|
|
12509
|
-
}) => JSX.Element;
|
|
12510
|
-
|
|
12511
|
-
}
|
|
12512
|
-
declare module '@elastic/eui/src/utils/prop_types/is' {
|
|
12513
|
-
export const is: <T>(expectedValue: any) => {
|
|
12514
|
-
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12515
|
-
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12516
|
-
};
|
|
12517
|
-
|
|
12518
|
-
}
|
|
12519
|
-
declare module '@elastic/eui/src/utils/prop_types/with_required_prop' {
|
|
12520
|
-
/**
|
|
12521
|
-
* PropType validation that, if the property is present,
|
|
12522
|
-
* validates against a proptype and verifies that another property exists
|
|
12523
|
-
*
|
|
12524
|
-
* example:
|
|
12525
|
-
* ExampleComponent.propTypes = {
|
|
12526
|
-
* items: PropTypes.array,
|
|
12527
|
-
* itemId: withRequiredProp(PropTypes.string, 'items', 'itemId is required to extract the ID from an item')
|
|
12528
|
-
* }
|
|
12529
|
-
*
|
|
12530
|
-
* this validator warns if ExampleComponent is passed an `items` prop but not `itemId`
|
|
12531
|
-
*/
|
|
12532
|
-
export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12533
|
-
|
|
12534
|
-
}
|
|
12535
|
-
declare module '@elastic/eui/src/utils/prop_types' {
|
|
12536
|
-
export const EuiPropTypes: {
|
|
12537
|
-
is: <T>(expectedValue: any) => {
|
|
12538
|
-
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12539
|
-
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12540
|
-
};
|
|
12541
|
-
withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12542
|
-
};
|
|
12543
|
-
|
|
12544
|
-
}
|
|
12545
|
-
declare module '@elastic/eui/src/utils/is_jest' {
|
|
12546
|
-
export const IS_JEST_ENVIRONMENT: boolean;
|
|
12547
|
-
|
|
12548
|
-
}
|
|
12549
|
-
declare module '@elastic/eui/src/utils' {
|
|
12550
|
-
export * from '@elastic/eui/src/utils/prop_types';
|
|
12551
|
-
export * from '@elastic/eui/src/utils/is_jest';
|
|
12552
|
-
|
|
12553
|
-
}
|
|
12554
|
-
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell' {
|
|
12555
|
-
import React, { Component, FocusEvent } from 'react';
|
|
12556
|
-
import { EuiDataGridCellProps, EuiDataGridCellState, EuiDataGridSetCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12557
|
-
export class EuiDataGridCell extends Component<EuiDataGridCellProps, EuiDataGridCellState> {
|
|
12558
|
-
static activeFocusTimeoutId: number | undefined;
|
|
12559
|
-
cellRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12560
|
-
contentObserver: any;
|
|
12561
|
-
popoverAnchorRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12562
|
-
cellContentsRef: HTMLDivElement | null;
|
|
12563
|
-
state: EuiDataGridCellState;
|
|
12564
|
-
unsubscribeCell?: Function;
|
|
12565
|
-
focusTimeout: number | undefined;
|
|
12566
|
-
style: null;
|
|
12567
|
-
static contextType: React.Context<import ("@elastic/eui/src/components/datagrid/data_grid_types").DataGridFocusContextShape>;
|
|
12568
|
-
getInteractables: () => never[] | NodeListOf<HTMLElement>;
|
|
12569
|
-
takeFocus: (preventScroll: boolean) => void;
|
|
12570
|
-
recalculateAutoHeight: () => void;
|
|
12571
|
-
recalculateLineHeight: () => void;
|
|
12572
|
-
componentDidMount(): void;
|
|
12573
|
-
isFocusedCell: () => boolean;
|
|
12574
|
-
onFocusUpdate: (isFocused: boolean, preventScroll?: boolean) => void;
|
|
12575
|
-
componentWillUnmount(): void;
|
|
12576
|
-
componentDidUpdate(prevProps: EuiDataGridCellProps): void;
|
|
12577
|
-
shouldComponentUpdate(nextProps: EuiDataGridCellProps, nextState: EuiDataGridCellState): boolean;
|
|
12578
|
-
setCellProps: (cellProps: EuiDataGridSetCellProps) => void;
|
|
12579
|
-
setCellContentsRef: (ref: HTMLDivElement | null) => void;
|
|
12580
|
-
onFocus: (e: FocusEvent<HTMLDivElement>) => void;
|
|
12581
|
-
onBlur: () => void;
|
|
12582
|
-
preventTabbing: () => void;
|
|
12583
|
-
enableTabbing: () => void;
|
|
12584
|
-
isExpandable: () => boolean;
|
|
12585
|
-
isPopoverOpen: () => boolean;
|
|
12586
|
-
handleCellPopover: () => void;
|
|
12587
|
-
render(): JSX.Element;
|
|
12588
|
-
}
|
|
12589
|
-
|
|
12590
12551
|
}
|
|
12591
12552
|
declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell_wrapper' {
|
|
12592
12553
|
import { FunctionComponent } from 'react';
|
|
@@ -12827,6 +12788,115 @@ declare module '@elastic/eui/src/components/datagrid/body/header' {
|
|
|
12827
12788
|
export { EuiDataGridHeaderRow } from '@elastic/eui/src/components/datagrid/body/header/data_grid_header_row';
|
|
12828
12789
|
export { useDataGridHeader } from '@elastic/eui/src/components/datagrid/body/header/use_data_grid_header';
|
|
12829
12790
|
|
|
12791
|
+
}
|
|
12792
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_actions' {
|
|
12793
|
+
|
|
12794
|
+
import { EuiDataGridColumn } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12795
|
+
export const EuiDataGridCellActions: ({ onExpandClick, column, rowIndex, colIndex, }: {
|
|
12796
|
+
onExpandClick: () => void;
|
|
12797
|
+
column?: EuiDataGridColumn | undefined;
|
|
12798
|
+
rowIndex: number;
|
|
12799
|
+
colIndex: number;
|
|
12800
|
+
}) => JSX.Element;
|
|
12801
|
+
export const EuiDataGridCellPopoverActions: ({ rowIndex, colIndex, column, }: {
|
|
12802
|
+
column?: EuiDataGridColumn | undefined;
|
|
12803
|
+
colIndex: number;
|
|
12804
|
+
rowIndex: number;
|
|
12805
|
+
}) => JSX.Element;
|
|
12806
|
+
|
|
12807
|
+
}
|
|
12808
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_popover' {
|
|
12809
|
+
import React, { ReactNode } from 'react';
|
|
12810
|
+
import { DataGridCellPopoverContextShape, EuiDataGridCellPopoverElementProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12811
|
+
export const DataGridCellPopoverContext: React.Context<DataGridCellPopoverContextShape>;
|
|
12812
|
+
export const useCellPopover: () => {
|
|
12813
|
+
cellPopoverContext: DataGridCellPopoverContextShape;
|
|
12814
|
+
cellPopover: ReactNode;
|
|
12815
|
+
};
|
|
12816
|
+
export const DefaultCellPopover: ({ schema, cellActions, children, cellContentsElement, }: EuiDataGridCellPopoverElementProps) => JSX.Element;
|
|
12817
|
+
export const JsonPopoverContent: ({ cellText }: {
|
|
12818
|
+
cellText: string;
|
|
12819
|
+
}) => JSX.Element;
|
|
12820
|
+
|
|
12821
|
+
}
|
|
12822
|
+
declare module '@elastic/eui/src/utils/prop_types/is' {
|
|
12823
|
+
export const is: <T>(expectedValue: any) => {
|
|
12824
|
+
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12825
|
+
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12826
|
+
};
|
|
12827
|
+
|
|
12828
|
+
}
|
|
12829
|
+
declare module '@elastic/eui/src/utils/prop_types/with_required_prop' {
|
|
12830
|
+
/**
|
|
12831
|
+
* PropType validation that, if the property is present,
|
|
12832
|
+
* validates against a proptype and verifies that another property exists
|
|
12833
|
+
*
|
|
12834
|
+
* example:
|
|
12835
|
+
* ExampleComponent.propTypes = {
|
|
12836
|
+
* items: PropTypes.array,
|
|
12837
|
+
* itemId: withRequiredProp(PropTypes.string, 'items', 'itemId is required to extract the ID from an item')
|
|
12838
|
+
* }
|
|
12839
|
+
*
|
|
12840
|
+
* this validator warns if ExampleComponent is passed an `items` prop but not `itemId`
|
|
12841
|
+
*/
|
|
12842
|
+
export const withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12843
|
+
|
|
12844
|
+
}
|
|
12845
|
+
declare module '@elastic/eui/src/utils/prop_types' {
|
|
12846
|
+
export const EuiPropTypes: {
|
|
12847
|
+
is: <T>(expectedValue: any) => {
|
|
12848
|
+
(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12849
|
+
isRequired(props: T, propName: keyof T, componentName: string): Error | null;
|
|
12850
|
+
};
|
|
12851
|
+
withRequiredProp: (proptype: any, requiredPropName: string, messageDescription?: string | undefined) => (...args: any[]) => any;
|
|
12852
|
+
};
|
|
12853
|
+
|
|
12854
|
+
}
|
|
12855
|
+
declare module '@elastic/eui/src/utils/is_jest' {
|
|
12856
|
+
export const IS_JEST_ENVIRONMENT: boolean;
|
|
12857
|
+
|
|
12858
|
+
}
|
|
12859
|
+
declare module '@elastic/eui/src/utils' {
|
|
12860
|
+
export * from '@elastic/eui/src/utils/prop_types';
|
|
12861
|
+
export * from '@elastic/eui/src/utils/is_jest';
|
|
12862
|
+
|
|
12863
|
+
}
|
|
12864
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell' {
|
|
12865
|
+
import React, { Component, FocusEvent } from 'react';
|
|
12866
|
+
import { EuiDataGridCellProps, EuiDataGridCellState, EuiDataGridSetCellProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12867
|
+
export class EuiDataGridCell extends Component<EuiDataGridCellProps, EuiDataGridCellState> {
|
|
12868
|
+
static activeFocusTimeoutId: number | undefined;
|
|
12869
|
+
cellRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12870
|
+
contentObserver: any;
|
|
12871
|
+
popoverAnchorRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
12872
|
+
cellContentsRef: HTMLDivElement | null;
|
|
12873
|
+
state: EuiDataGridCellState;
|
|
12874
|
+
unsubscribeCell?: Function;
|
|
12875
|
+
focusTimeout: number | undefined;
|
|
12876
|
+
style: null;
|
|
12877
|
+
static contextType: React.Context<import ("@elastic/eui/src/components/datagrid/data_grid_types").DataGridFocusContextShape>;
|
|
12878
|
+
getInteractables: () => never[] | NodeListOf<HTMLElement>;
|
|
12879
|
+
takeFocus: (preventScroll: boolean) => void;
|
|
12880
|
+
recalculateAutoHeight: () => void;
|
|
12881
|
+
recalculateLineHeight: () => void;
|
|
12882
|
+
componentDidMount(): void;
|
|
12883
|
+
isFocusedCell: () => boolean;
|
|
12884
|
+
onFocusUpdate: (isFocused: boolean, preventScroll?: boolean) => void;
|
|
12885
|
+
componentWillUnmount(): void;
|
|
12886
|
+
componentDidUpdate(prevProps: EuiDataGridCellProps): void;
|
|
12887
|
+
shouldComponentUpdate(nextProps: EuiDataGridCellProps, nextState: EuiDataGridCellState): boolean;
|
|
12888
|
+
setCellProps: (cellProps: EuiDataGridSetCellProps) => void;
|
|
12889
|
+
setCellContentsRef: (ref: HTMLDivElement | null) => void;
|
|
12890
|
+
onFocus: (e: FocusEvent<HTMLDivElement>) => void;
|
|
12891
|
+
onBlur: () => void;
|
|
12892
|
+
preventTabbing: () => void;
|
|
12893
|
+
enableTabbing: () => void;
|
|
12894
|
+
isExpandable: () => boolean;
|
|
12895
|
+
isPopoverOpen: () => boolean;
|
|
12896
|
+
handleCellPopover: () => void;
|
|
12897
|
+
render(): JSX.Element;
|
|
12898
|
+
}
|
|
12899
|
+
|
|
12830
12900
|
}
|
|
12831
12901
|
declare module '@elastic/eui/src/components/datagrid/body/footer/data_grid_footer_row' {
|
|
12832
12902
|
import React from 'react'; const EuiDataGridFooterRow: React.MemoExoticComponent<React.ForwardRefExoticComponent<import ("@elastic/eui/src/components").CommonProps & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -12864,6 +12934,18 @@ declare module '@elastic/eui/src/components/datagrid/body/footer' {
|
|
|
12864
12934
|
export { EuiDataGridFooterRow } from '@elastic/eui/src/components/datagrid/body/footer/data_grid_footer_row';
|
|
12865
12935
|
export { useDataGridFooter } from '@elastic/eui/src/components/datagrid/body/footer/use_data_grid_footer';
|
|
12866
12936
|
|
|
12937
|
+
}
|
|
12938
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_cell_wrapper' {
|
|
12939
|
+
import { FunctionComponent } from 'react';
|
|
12940
|
+
import { EuiDataGridCellProps, EuiDataGridBodyProps, EuiDataGridHeaderRowProps } from '@elastic/eui/src/components/datagrid/data_grid_types'; type CellProps = Pick<EuiDataGridCellProps, 'colIndex' | 'visibleRowIndex' | 'style' | 'renderCellValue' | 'renderCellPopover' | 'interactiveCellId' | 'rowHeightsOptions' | 'rowHeightUtils' | 'rowManager' | 'setRowHeight'> & Pick<EuiDataGridBodyProps, 'schema' | 'schemaDetectors' | 'pagination' | 'columns' | 'leadingControlColumns' | 'trailingControlColumns' | 'visibleColCount'> & Pick<EuiDataGridHeaderRowProps, 'columnWidths' | 'defaultColumnWidth'> & Partial<EuiDataGridCellProps>;
|
|
12941
|
+
/**
|
|
12942
|
+
* A DRY wrapper used by both custom and virtualized grid cells.
|
|
12943
|
+
* It grabs context, determines the type of cell being rendered
|
|
12944
|
+
* (e.g. control vs data cell), & sets shared props between all cells
|
|
12945
|
+
*/
|
|
12946
|
+
export const Cell: FunctionComponent<CellProps>;
|
|
12947
|
+
export {};
|
|
12948
|
+
|
|
12867
12949
|
}
|
|
12868
12950
|
declare module '@elastic/eui/src/components/datagrid/body/data_grid_row_manager' {
|
|
12869
12951
|
import { RefObject } from 'react';
|
|
@@ -12877,7 +12959,7 @@ declare module '@elastic/eui/src/components/datagrid/body/data_grid_row_manager'
|
|
|
12877
12959
|
declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
|
|
12878
12960
|
import { MutableRefObject } from 'react';
|
|
12879
12961
|
import { EuiDataGridRowHeightsOptions } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12880
|
-
import {
|
|
12962
|
+
import { RowHeightUtilsType } from '@elastic/eui/src/components/datagrid/utils/row_heights';
|
|
12881
12963
|
export const useFinalGridDimensions: ({ unconstrainedHeight, unconstrainedWidth, wrapperDimensions, wrapperRef, isFullScreen, rowCount, }: {
|
|
12882
12964
|
unconstrainedHeight: number;
|
|
12883
12965
|
unconstrainedWidth: number;
|
|
@@ -12896,7 +12978,7 @@ declare module '@elastic/eui/src/components/datagrid/utils/grid_height_width' {
|
|
|
12896
12978
|
* Computes the unconstrained (total possible) height of a grid
|
|
12897
12979
|
*/
|
|
12898
12980
|
export const useUnconstrainedHeight: ({ rowHeightUtils, startRow, endRow, rowHeightsOptions, defaultRowHeight, headerRowHeight, footerRowHeight, scrollBarHeight, innerGridRef, }: {
|
|
12899
|
-
rowHeightUtils:
|
|
12981
|
+
rowHeightUtils: RowHeightUtilsType;
|
|
12900
12982
|
startRow: number;
|
|
12901
12983
|
endRow: number;
|
|
12902
12984
|
rowHeightsOptions?: EuiDataGridRowHeightsOptions | undefined;
|
|
@@ -12982,12 +13064,24 @@ declare module '@elastic/eui/src/components/datagrid/utils/scrolling' {
|
|
|
12982
13064
|
export {};
|
|
12983
13065
|
|
|
12984
13066
|
}
|
|
12985
|
-
declare module '@elastic/eui/src/components/datagrid/body/
|
|
13067
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_body_virtualized' {
|
|
12986
13068
|
import React, { FunctionComponent } from 'react';
|
|
12987
13069
|
import { GridChildComponentProps } from 'react-window';
|
|
12988
13070
|
import { EuiDataGridBodyProps, DataGridWrapperRowsContentsShape } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12989
|
-
export const
|
|
13071
|
+
export const _Cell: FunctionComponent<GridChildComponentProps>;
|
|
12990
13072
|
export const DataGridWrapperRowsContext: React.Context<DataGridWrapperRowsContentsShape>;
|
|
13073
|
+
export const EuiDataGridBodyVirtualized: FunctionComponent<EuiDataGridBodyProps>;
|
|
13074
|
+
|
|
13075
|
+
}
|
|
13076
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_body_custom' {
|
|
13077
|
+
import { FunctionComponent } from 'react';
|
|
13078
|
+
import { EuiDataGridBodyProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
13079
|
+
export const EuiDataGridBodyCustomRender: FunctionComponent<EuiDataGridBodyProps>;
|
|
13080
|
+
|
|
13081
|
+
}
|
|
13082
|
+
declare module '@elastic/eui/src/components/datagrid/body/data_grid_body' {
|
|
13083
|
+
import { FunctionComponent } from 'react';
|
|
13084
|
+
import { EuiDataGridBodyProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
12991
13085
|
export const EuiDataGridBody: FunctionComponent<EuiDataGridBodyProps>;
|
|
12992
13086
|
|
|
12993
13087
|
}
|
|
@@ -16603,10 +16697,9 @@ declare module '@elastic/eui/src/components/page/page_body' {
|
|
|
16603
16697
|
|
|
16604
16698
|
}
|
|
16605
16699
|
declare module '@elastic/eui/src/components/page/page_content/page_content' {
|
|
16606
|
-
import { FunctionComponent } from 'react';
|
|
16700
|
+
import { FunctionComponent, HTMLAttributes } from 'react';
|
|
16607
16701
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
16608
16702
|
import { _EuiPanelProps, _EuiPanelDivlike } from '@elastic/eui/src/components/panel/panel';
|
|
16609
|
-
import { HTMLAttributes } from 'enzyme';
|
|
16610
16703
|
export type EuiPageContentVerticalPositions = 'center';
|
|
16611
16704
|
export type EuiPageContentHorizontalPositions = 'center';
|
|
16612
16705
|
export type EuiPageContentProps = CommonProps & _EuiPanelProps & Omit<_EuiPanelDivlike, 'onClick' | 'role'> & {
|
|
@@ -16616,7 +16709,7 @@ declare module '@elastic/eui/src/components/page/page_content/page_content' {
|
|
|
16616
16709
|
* There should only be one EuiPageContent per page and should contain the main contents.
|
|
16617
16710
|
* If this is untrue, set role = `null`, or change it to match your needed aria role
|
|
16618
16711
|
*/
|
|
16619
|
-
role?: HTMLAttributes['role'] | null;
|
|
16712
|
+
role?: HTMLAttributes<HTMLElement>['role'] | null;
|
|
16620
16713
|
};
|
|
16621
16714
|
/**
|
|
16622
16715
|
* @deprecated Use EuiPageSection instead
|