@elastic/eui 99.2.0 → 99.3.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/es/components/accordion/accordion.js +2 -1
- package/es/components/accordion/accordion_children/accordion_children.js +20 -7
- package/es/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/es/components/basic_table/basic_table.js +135 -2
- package/es/components/basic_table/in_memory_table.js +131 -1
- package/es/components/call_out/call_out.js +1 -1
- package/es/components/call_out/call_out.styles.js +1 -0
- package/es/components/code/code.styles.js +1 -1
- package/es/components/code/code_syntax.styles.js +1 -0
- package/es/components/code/utils.js +5 -2
- package/es/components/datagrid/data_grid.stories.utils.js +0 -1090
- package/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/es/components/inline_edit/inline_edit_form.js +4 -4
- package/es/components/inline_edit/inline_edit_text.js +4 -4
- package/es/components/inline_edit/inline_edit_title.js +4 -4
- package/es/components/table/table_header_cell.js +76 -4
- package/eui.d.ts +4639 -4607
- package/i18ntokens.json +36 -36
- package/lib/components/accordion/accordion.js +2 -1
- package/lib/components/accordion/accordion_children/accordion_children.js +19 -6
- package/lib/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/lib/components/basic_table/basic_table.js +135 -2
- package/lib/components/basic_table/in_memory_table.js +131 -1
- package/lib/components/call_out/call_out.js +1 -1
- package/lib/components/call_out/call_out.styles.js +1 -0
- package/lib/components/code/code.styles.js +1 -1
- package/lib/components/code/code_syntax.styles.js +1 -0
- package/lib/components/code/utils.js +6 -1
- package/lib/components/datagrid/data_grid.stories.utils.js +1 -1092
- package/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/lib/components/inline_edit/inline_edit_form.js +4 -4
- package/lib/components/inline_edit/inline_edit_text.js +4 -4
- package/lib/components/inline_edit/inline_edit_title.js +4 -4
- package/lib/components/table/table_header_cell.js +79 -8
- package/optimize/es/components/accordion/accordion.js +2 -1
- package/optimize/es/components/accordion/accordion_children/accordion_children.js +20 -7
- package/optimize/es/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/optimize/es/components/basic_table/basic_table.js +4 -1
- package/optimize/es/components/call_out/call_out.js +1 -1
- package/optimize/es/components/call_out/call_out.styles.js +1 -0
- package/optimize/es/components/code/code.styles.js +1 -1
- package/optimize/es/components/code/code_syntax.styles.js +1 -0
- package/optimize/es/components/code/utils.js +5 -2
- package/optimize/es/components/datagrid/data_grid.stories.utils.js +0 -18
- package/optimize/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/optimize/es/components/table/table_header_cell.js +14 -3
- package/optimize/lib/components/accordion/accordion.js +2 -1
- package/optimize/lib/components/accordion/accordion_children/accordion_children.js +19 -6
- package/optimize/lib/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/optimize/lib/components/basic_table/basic_table.js +4 -1
- package/optimize/lib/components/call_out/call_out.js +1 -1
- package/optimize/lib/components/call_out/call_out.styles.js +1 -0
- package/optimize/lib/components/code/code.styles.js +1 -1
- package/optimize/lib/components/code/code_syntax.styles.js +1 -0
- package/optimize/lib/components/code/utils.js +6 -1
- package/optimize/lib/components/datagrid/data_grid.stories.utils.js +1 -19
- package/optimize/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/optimize/lib/components/table/table_header_cell.js +14 -3
- package/package.json +2 -1
- package/test-env/components/accordion/accordion.js +2 -1
- package/test-env/components/accordion/accordion_children/accordion_children.js +19 -6
- package/test-env/components/accordion/accordion_children/accordion_children.styles.js +5 -0
- package/test-env/components/basic_table/basic_table.js +135 -2
- package/test-env/components/basic_table/in_memory_table.js +131 -1
- package/test-env/components/call_out/call_out.js +1 -1
- package/test-env/components/call_out/call_out.styles.js +1 -0
- package/test-env/components/code/code.styles.js +1 -1
- package/test-env/components/code/code_syntax.styles.js +1 -0
- package/test-env/components/code/utils.js +6 -1
- package/test-env/components/datagrid/data_grid.stories.utils.js +1 -1091
- package/test-env/components/date_picker/super_date_picker/date_popover/absolute_tab.js +3 -0
- package/test-env/components/inline_edit/inline_edit_form.js +4 -4
- package/test-env/components/inline_edit/inline_edit_text.js +4 -4
- package/test-env/components/inline_edit/inline_edit_title.js +4 -4
- package/test-env/components/table/table_header_cell.js +76 -4
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.raw_data = exports.defaultStorybookArgs = exports.StatefulDataGrid =
|
|
7
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
6
|
+
exports.raw_data = exports.defaultStorybookArgs = exports.StatefulDataGrid = void 0;
|
|
8
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
8
|
var _react2 = require("@emotion/react");
|
|
10
9
|
var _faker = require("@faker-js/faker");
|
|
@@ -18,7 +17,6 @@ var _data_grid = require("./data_grid");
|
|
|
18
17
|
var _excluded = ["pagination", "sorting", "columnVisibility"];
|
|
19
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
20
19
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
22
20
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
23
21
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
24
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -363,1093 +361,4 @@ var StatefulDataGrid = exports.StatefulDataGrid = function StatefulDataGrid(prop
|
|
|
363
361
|
onChangePage: onChangePage
|
|
364
362
|
})
|
|
365
363
|
}));
|
|
366
|
-
};
|
|
367
|
-
|
|
368
|
-
/*
|
|
369
|
-
* Components that exist purely for allowing Storybook to parse certain nested
|
|
370
|
-
* interfaces/types into specific example control tables.
|
|
371
|
-
*
|
|
372
|
-
* For whatever reason, they needs to be in a separate file for Storybook's
|
|
373
|
-
* react-typescript-docgen to parse the jsdoc comments into the controls table
|
|
374
|
-
*/
|
|
375
|
-
|
|
376
|
-
var EuiDataGridToolbarPropsComponent = exports.EuiDataGridToolbarPropsComponent = function EuiDataGridToolbarPropsComponent() {
|
|
377
|
-
return (0, _react2.jsx)(_react.default.Fragment, null);
|
|
378
|
-
};
|
|
379
|
-
EuiDataGridToolbarPropsComponent.propTypes = {
|
|
380
|
-
className: _propTypes.default.string,
|
|
381
|
-
"aria-label": _propTypes.default.string,
|
|
382
|
-
"data-test-subj": _propTypes.default.string,
|
|
383
|
-
css: _propTypes.default.any,
|
|
384
|
-
/**
|
|
385
|
-
* An array of #EuiDataGridColumn objects. Lists the columns available and the schema and settings tied to it.
|
|
386
|
-
*/
|
|
387
|
-
columns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
388
|
-
/**
|
|
389
|
-
* The unique identifier for this column
|
|
390
|
-
*/
|
|
391
|
-
id: _propTypes.default.string.isRequired,
|
|
392
|
-
/**
|
|
393
|
-
* A `ReactNode` used when rendering the column header. When providing complicated content, please make sure to utilize CSS to respect truncation as space allows. Check the docs example.
|
|
394
|
-
*/
|
|
395
|
-
display: _propTypes.default.node,
|
|
396
|
-
/**
|
|
397
|
-
* Display name as text for the column.
|
|
398
|
-
* This can be used to display a readable column name in column hiding/sorting, where `display` won't be used.
|
|
399
|
-
* This will also be used as a `title` attribute that will display on mouseover (useful if the display text is being truncated by the column width).
|
|
400
|
-
* If not passed, `id` will be shown as the column name.
|
|
401
|
-
* Passing this together with `display` is useful to ensure an accessible label is added to the column.
|
|
402
|
-
*/
|
|
403
|
-
displayAsText: _propTypes.default.string,
|
|
404
|
-
/**
|
|
405
|
-
* Optional props to pass to the column header cell
|
|
406
|
-
*/
|
|
407
|
-
displayHeaderCellProps: _propTypes.default.any,
|
|
408
|
-
/**
|
|
409
|
-
* Initial width (in pixels) of the column
|
|
410
|
-
*/
|
|
411
|
-
initialWidth: _propTypes.default.number,
|
|
412
|
-
/**
|
|
413
|
-
* Defaults to true, always true if cellActions are defined. Defines whether or not the column's cells can be expanded with a popup onClick / keydown.
|
|
414
|
-
*/
|
|
415
|
-
isExpandable: _propTypes.default.bool,
|
|
416
|
-
/**
|
|
417
|
-
* Whether this column's width can be changed by the user, defaults to true
|
|
418
|
-
*/
|
|
419
|
-
isResizable: _propTypes.default.bool,
|
|
420
|
-
/**
|
|
421
|
-
* Whether this column is sortable
|
|
422
|
-
*/
|
|
423
|
-
isSortable: _propTypes.default.bool,
|
|
424
|
-
/**
|
|
425
|
-
* Default sort direction of the column
|
|
426
|
-
*/
|
|
427
|
-
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"]),
|
|
428
|
-
/**
|
|
429
|
-
* A Schema to use for the column.
|
|
430
|
-
* Built-in values are [`boolean`, `currency`, `datetime`, `numeric`, `json`] but can be expanded by defining your own #EuiDataGrid `schemaDetectors` (for in-memory detection).
|
|
431
|
-
* In general, it is advised to pass in a value here when you are sure of the schema ahead of time, so that you don't need to rely on the automatic detection.
|
|
432
|
-
*/
|
|
433
|
-
schema: _propTypes.default.string,
|
|
434
|
-
/**
|
|
435
|
-
* Configuration of column actions. Set to false to disable or use #EuiDataGridColumnActions to configure the actions displayed in the header cell of the column.
|
|
436
|
-
*/
|
|
437
|
-
actions: _propTypes.default.oneOfType([_propTypes.default.oneOf([false]), _propTypes.default.shape({
|
|
438
|
-
/**
|
|
439
|
-
* Show/hide/configure the action to hide a column, provided EuiListGroupItemProps are merged
|
|
440
|
-
*/
|
|
441
|
-
showHide: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
442
|
-
className: _propTypes.default.string,
|
|
443
|
-
"aria-label": _propTypes.default.string,
|
|
444
|
-
"data-test-subj": _propTypes.default.string,
|
|
445
|
-
css: _propTypes.default.any,
|
|
446
|
-
/**
|
|
447
|
-
* Size of the label text
|
|
448
|
-
*/
|
|
449
|
-
size: _propTypes.default.any,
|
|
450
|
-
/**
|
|
451
|
-
* By default the item will get the color `text`.
|
|
452
|
-
* You can customize the color of the item by passing a color name.
|
|
453
|
-
*/
|
|
454
|
-
color: _propTypes.default.any,
|
|
455
|
-
/**
|
|
456
|
-
* Apply styles indicating an item is active
|
|
457
|
-
*/
|
|
458
|
-
isActive: _propTypes.default.bool,
|
|
459
|
-
/**
|
|
460
|
-
* Apply styles indicating an item is disabled
|
|
461
|
-
*/
|
|
462
|
-
isDisabled: _propTypes.default.bool,
|
|
463
|
-
/**
|
|
464
|
-
* Make the list item label a link.
|
|
465
|
-
* While permitted, `href` and `onClick` should not be used together in most cases and may create problems.
|
|
466
|
-
*/
|
|
467
|
-
href: _propTypes.default.string,
|
|
468
|
-
rel: _propTypes.default.string,
|
|
469
|
-
target: _propTypes.default.string,
|
|
470
|
-
/**
|
|
471
|
-
* Set to true to show an icon indicating that it is an external link;
|
|
472
|
-
* Defaults to true if `target="_blank"`
|
|
473
|
-
*/
|
|
474
|
-
external: _propTypes.default.bool,
|
|
475
|
-
/**
|
|
476
|
-
* Further extend the props applied to EuiIcon
|
|
477
|
-
*/
|
|
478
|
-
iconProps: _propTypes.default.any,
|
|
479
|
-
/**
|
|
480
|
-
* Display tooltip on list item
|
|
481
|
-
*/
|
|
482
|
-
showToolTip: _propTypes.default.bool,
|
|
483
|
-
/**
|
|
484
|
-
* An object of #EuiListGroupItemExtraAction props.
|
|
485
|
-
* Adds an `EuiButtonIcon` to the right side of the item; `iconType` is required;
|
|
486
|
-
* pass `alwaysShow` if you don't want the default behavior of only showing on hover
|
|
487
|
-
*/
|
|
488
|
-
extraAction: _propTypes.default.shape({
|
|
489
|
-
alwaysShow: _propTypes.default.bool,
|
|
490
|
-
type: _propTypes.default.any,
|
|
491
|
-
onClick: _propTypes.default.func,
|
|
492
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
493
|
-
/**
|
|
494
|
-
* Any of the named color palette options.
|
|
495
|
-
*/
|
|
496
|
-
color: _propTypes.default.any,
|
|
497
|
-
"aria-label": _propTypes.default.string,
|
|
498
|
-
"aria-labelledby": _propTypes.default.string,
|
|
499
|
-
isDisabled: _propTypes.default.bool,
|
|
500
|
-
/**
|
|
501
|
-
* Overall size of button.
|
|
502
|
-
* Matches the sizes of other EuiButtons
|
|
503
|
-
*/
|
|
504
|
-
size: _propTypes.default.any,
|
|
505
|
-
/**
|
|
506
|
-
* Size of the icon only.
|
|
507
|
-
* This will not affect the overall size of the button
|
|
508
|
-
*/
|
|
509
|
-
iconSize: _propTypes.default.any,
|
|
510
|
-
/**
|
|
511
|
-
* Applies the boolean state as the `aria-pressed` property to create a toggle button.
|
|
512
|
-
* *Only use when the readable text does not change between states.*
|
|
513
|
-
*/
|
|
514
|
-
isSelected: _propTypes.default.bool,
|
|
515
|
-
/**
|
|
516
|
-
* Sets the display style for matching other EuiButton types.
|
|
517
|
-
* `base` is equivalent to a typical EuiButton
|
|
518
|
-
* `fill` is equivalent to a filled EuiButton
|
|
519
|
-
* `empty` (default) is equivalent to an EuiButtonEmpty
|
|
520
|
-
*/
|
|
521
|
-
display: _propTypes.default.any,
|
|
522
|
-
/**
|
|
523
|
-
* Disables the button and changes the icon to a loading spinner
|
|
524
|
-
*/
|
|
525
|
-
isLoading: _propTypes.default.bool,
|
|
526
|
-
className: _propTypes.default.string,
|
|
527
|
-
"data-test-subj": _propTypes.default.string,
|
|
528
|
-
css: _propTypes.default.any,
|
|
529
|
-
buttonRef: _propTypes.default.any
|
|
530
|
-
}),
|
|
531
|
-
/**
|
|
532
|
-
* Make the list item label a button.
|
|
533
|
-
* While permitted, `href` and `onClick` should not be used together in most cases and may create problems.
|
|
534
|
-
*/
|
|
535
|
-
onClick: _propTypes.default.func,
|
|
536
|
-
/**
|
|
537
|
-
* Allow link text to wrap
|
|
538
|
-
*/
|
|
539
|
-
wrapText: _propTypes.default.bool,
|
|
540
|
-
/**
|
|
541
|
-
* Pass-through ref reference specifically for targeting
|
|
542
|
-
* instances where the item content is rendered as a `button`
|
|
543
|
-
*/
|
|
544
|
-
buttonRef: _propTypes.default.any,
|
|
545
|
-
/**
|
|
546
|
-
* Text to be displayed in the tooltip when `showToolTip` is true.
|
|
547
|
-
* By default the text will be same as the label text.
|
|
548
|
-
*/
|
|
549
|
-
toolTipText: _propTypes.default.string,
|
|
550
|
-
/**
|
|
551
|
-
* Allows customizing the tooltip shown when `showToolTip` is true.
|
|
552
|
-
* Accepts any props that [EuiToolTip](/#/display/tooltip) accepts.
|
|
553
|
-
*/
|
|
554
|
-
toolTipProps: _propTypes.default.any
|
|
555
|
-
}).isRequired]),
|
|
556
|
-
/**
|
|
557
|
-
* Show/hide/configure the action that switches the actual column with the column to the left side, provided EuiListGroupItemProps are merged
|
|
558
|
-
*/
|
|
559
|
-
showMoveLeft: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
560
|
-
className: _propTypes.default.string,
|
|
561
|
-
"aria-label": _propTypes.default.string,
|
|
562
|
-
"data-test-subj": _propTypes.default.string,
|
|
563
|
-
css: _propTypes.default.any,
|
|
564
|
-
size: _propTypes.default.any,
|
|
565
|
-
color: _propTypes.default.any,
|
|
566
|
-
isActive: _propTypes.default.bool,
|
|
567
|
-
isDisabled: _propTypes.default.bool,
|
|
568
|
-
href: _propTypes.default.string,
|
|
569
|
-
rel: _propTypes.default.string,
|
|
570
|
-
target: _propTypes.default.string,
|
|
571
|
-
external: _propTypes.default.bool,
|
|
572
|
-
iconProps: _propTypes.default.any,
|
|
573
|
-
showToolTip: _propTypes.default.bool,
|
|
574
|
-
extraAction: _propTypes.default.shape({
|
|
575
|
-
alwaysShow: _propTypes.default.bool,
|
|
576
|
-
type: _propTypes.default.any,
|
|
577
|
-
onClick: _propTypes.default.func,
|
|
578
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
579
|
-
color: _propTypes.default.any,
|
|
580
|
-
"aria-label": _propTypes.default.string,
|
|
581
|
-
"aria-labelledby": _propTypes.default.string,
|
|
582
|
-
isDisabled: _propTypes.default.bool,
|
|
583
|
-
size: _propTypes.default.any,
|
|
584
|
-
iconSize: _propTypes.default.any,
|
|
585
|
-
isSelected: _propTypes.default.bool,
|
|
586
|
-
display: _propTypes.default.any,
|
|
587
|
-
isLoading: _propTypes.default.bool,
|
|
588
|
-
className: _propTypes.default.string,
|
|
589
|
-
"data-test-subj": _propTypes.default.string,
|
|
590
|
-
css: _propTypes.default.any,
|
|
591
|
-
buttonRef: _propTypes.default.any
|
|
592
|
-
}),
|
|
593
|
-
onClick: _propTypes.default.func,
|
|
594
|
-
wrapText: _propTypes.default.bool,
|
|
595
|
-
buttonRef: _propTypes.default.any,
|
|
596
|
-
toolTipText: _propTypes.default.string,
|
|
597
|
-
toolTipProps: _propTypes.default.any
|
|
598
|
-
}).isRequired]),
|
|
599
|
-
/**
|
|
600
|
-
* Show/hide/configure the action that switches the actual column with the column to the right side, provided EuiListGroupItemProps are merged
|
|
601
|
-
*/
|
|
602
|
-
showMoveRight: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
603
|
-
className: _propTypes.default.string,
|
|
604
|
-
"aria-label": _propTypes.default.string,
|
|
605
|
-
"data-test-subj": _propTypes.default.string,
|
|
606
|
-
css: _propTypes.default.any,
|
|
607
|
-
size: _propTypes.default.any,
|
|
608
|
-
color: _propTypes.default.any,
|
|
609
|
-
isActive: _propTypes.default.bool,
|
|
610
|
-
isDisabled: _propTypes.default.bool,
|
|
611
|
-
href: _propTypes.default.string,
|
|
612
|
-
rel: _propTypes.default.string,
|
|
613
|
-
target: _propTypes.default.string,
|
|
614
|
-
external: _propTypes.default.bool,
|
|
615
|
-
iconProps: _propTypes.default.any,
|
|
616
|
-
showToolTip: _propTypes.default.bool,
|
|
617
|
-
extraAction: _propTypes.default.shape({
|
|
618
|
-
alwaysShow: _propTypes.default.bool,
|
|
619
|
-
type: _propTypes.default.any,
|
|
620
|
-
onClick: _propTypes.default.func,
|
|
621
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
622
|
-
color: _propTypes.default.any,
|
|
623
|
-
"aria-label": _propTypes.default.string,
|
|
624
|
-
"aria-labelledby": _propTypes.default.string,
|
|
625
|
-
isDisabled: _propTypes.default.bool,
|
|
626
|
-
size: _propTypes.default.any,
|
|
627
|
-
iconSize: _propTypes.default.any,
|
|
628
|
-
isSelected: _propTypes.default.bool,
|
|
629
|
-
display: _propTypes.default.any,
|
|
630
|
-
isLoading: _propTypes.default.bool,
|
|
631
|
-
className: _propTypes.default.string,
|
|
632
|
-
"data-test-subj": _propTypes.default.string,
|
|
633
|
-
css: _propTypes.default.any,
|
|
634
|
-
buttonRef: _propTypes.default.any
|
|
635
|
-
}),
|
|
636
|
-
onClick: _propTypes.default.func,
|
|
637
|
-
wrapText: _propTypes.default.bool,
|
|
638
|
-
buttonRef: _propTypes.default.any,
|
|
639
|
-
toolTipText: _propTypes.default.string,
|
|
640
|
-
toolTipProps: _propTypes.default.any
|
|
641
|
-
}).isRequired]),
|
|
642
|
-
/**
|
|
643
|
-
* Show/hide/configure the action to sort ascending by the actual column, provided EuiListGroupItemProps are merged
|
|
644
|
-
*/
|
|
645
|
-
showSortAsc: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
646
|
-
className: _propTypes.default.string,
|
|
647
|
-
"aria-label": _propTypes.default.string,
|
|
648
|
-
"data-test-subj": _propTypes.default.string,
|
|
649
|
-
css: _propTypes.default.any,
|
|
650
|
-
size: _propTypes.default.any,
|
|
651
|
-
color: _propTypes.default.any,
|
|
652
|
-
isActive: _propTypes.default.bool,
|
|
653
|
-
isDisabled: _propTypes.default.bool,
|
|
654
|
-
href: _propTypes.default.string,
|
|
655
|
-
rel: _propTypes.default.string,
|
|
656
|
-
target: _propTypes.default.string,
|
|
657
|
-
external: _propTypes.default.bool,
|
|
658
|
-
iconProps: _propTypes.default.any,
|
|
659
|
-
showToolTip: _propTypes.default.bool,
|
|
660
|
-
extraAction: _propTypes.default.shape({
|
|
661
|
-
alwaysShow: _propTypes.default.bool,
|
|
662
|
-
type: _propTypes.default.any,
|
|
663
|
-
onClick: _propTypes.default.func,
|
|
664
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
665
|
-
color: _propTypes.default.any,
|
|
666
|
-
"aria-label": _propTypes.default.string,
|
|
667
|
-
"aria-labelledby": _propTypes.default.string,
|
|
668
|
-
isDisabled: _propTypes.default.bool,
|
|
669
|
-
size: _propTypes.default.any,
|
|
670
|
-
iconSize: _propTypes.default.any,
|
|
671
|
-
isSelected: _propTypes.default.bool,
|
|
672
|
-
display: _propTypes.default.any,
|
|
673
|
-
isLoading: _propTypes.default.bool,
|
|
674
|
-
className: _propTypes.default.string,
|
|
675
|
-
"data-test-subj": _propTypes.default.string,
|
|
676
|
-
css: _propTypes.default.any,
|
|
677
|
-
buttonRef: _propTypes.default.any
|
|
678
|
-
}),
|
|
679
|
-
onClick: _propTypes.default.func,
|
|
680
|
-
wrapText: _propTypes.default.bool,
|
|
681
|
-
buttonRef: _propTypes.default.any,
|
|
682
|
-
toolTipText: _propTypes.default.string,
|
|
683
|
-
toolTipProps: _propTypes.default.any
|
|
684
|
-
}).isRequired]),
|
|
685
|
-
/**
|
|
686
|
-
* Show/hide/configure the action to sort descending by the actual column, provided EuiListGroupItemProps are merged
|
|
687
|
-
*/
|
|
688
|
-
showSortDesc: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
689
|
-
className: _propTypes.default.string,
|
|
690
|
-
"aria-label": _propTypes.default.string,
|
|
691
|
-
"data-test-subj": _propTypes.default.string,
|
|
692
|
-
css: _propTypes.default.any,
|
|
693
|
-
size: _propTypes.default.any,
|
|
694
|
-
color: _propTypes.default.any,
|
|
695
|
-
isActive: _propTypes.default.bool,
|
|
696
|
-
isDisabled: _propTypes.default.bool,
|
|
697
|
-
href: _propTypes.default.string,
|
|
698
|
-
rel: _propTypes.default.string,
|
|
699
|
-
target: _propTypes.default.string,
|
|
700
|
-
external: _propTypes.default.bool,
|
|
701
|
-
iconProps: _propTypes.default.any,
|
|
702
|
-
showToolTip: _propTypes.default.bool,
|
|
703
|
-
extraAction: _propTypes.default.shape({
|
|
704
|
-
alwaysShow: _propTypes.default.bool,
|
|
705
|
-
type: _propTypes.default.any,
|
|
706
|
-
onClick: _propTypes.default.func,
|
|
707
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
708
|
-
color: _propTypes.default.any,
|
|
709
|
-
"aria-label": _propTypes.default.string,
|
|
710
|
-
"aria-labelledby": _propTypes.default.string,
|
|
711
|
-
isDisabled: _propTypes.default.bool,
|
|
712
|
-
size: _propTypes.default.any,
|
|
713
|
-
iconSize: _propTypes.default.any,
|
|
714
|
-
isSelected: _propTypes.default.bool,
|
|
715
|
-
display: _propTypes.default.any,
|
|
716
|
-
isLoading: _propTypes.default.bool,
|
|
717
|
-
className: _propTypes.default.string,
|
|
718
|
-
"data-test-subj": _propTypes.default.string,
|
|
719
|
-
css: _propTypes.default.any,
|
|
720
|
-
buttonRef: _propTypes.default.any
|
|
721
|
-
}),
|
|
722
|
-
onClick: _propTypes.default.func,
|
|
723
|
-
wrapText: _propTypes.default.bool,
|
|
724
|
-
buttonRef: _propTypes.default.any,
|
|
725
|
-
toolTipText: _propTypes.default.string,
|
|
726
|
-
toolTipProps: _propTypes.default.any
|
|
727
|
-
}).isRequired]),
|
|
728
|
-
/**
|
|
729
|
-
* Append additional actions
|
|
730
|
-
*/
|
|
731
|
-
additional: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
732
|
-
className: _propTypes.default.string,
|
|
733
|
-
"aria-label": _propTypes.default.string,
|
|
734
|
-
"data-test-subj": _propTypes.default.string,
|
|
735
|
-
css: _propTypes.default.any,
|
|
736
|
-
size: _propTypes.default.any,
|
|
737
|
-
color: _propTypes.default.any,
|
|
738
|
-
isActive: _propTypes.default.bool,
|
|
739
|
-
isDisabled: _propTypes.default.bool,
|
|
740
|
-
href: _propTypes.default.string,
|
|
741
|
-
rel: _propTypes.default.string,
|
|
742
|
-
target: _propTypes.default.string,
|
|
743
|
-
external: _propTypes.default.bool,
|
|
744
|
-
iconProps: _propTypes.default.any,
|
|
745
|
-
showToolTip: _propTypes.default.bool,
|
|
746
|
-
extraAction: _propTypes.default.shape({
|
|
747
|
-
alwaysShow: _propTypes.default.bool,
|
|
748
|
-
type: _propTypes.default.any,
|
|
749
|
-
onClick: _propTypes.default.func,
|
|
750
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
751
|
-
color: _propTypes.default.any,
|
|
752
|
-
"aria-label": _propTypes.default.string,
|
|
753
|
-
"aria-labelledby": _propTypes.default.string,
|
|
754
|
-
isDisabled: _propTypes.default.bool,
|
|
755
|
-
size: _propTypes.default.any,
|
|
756
|
-
iconSize: _propTypes.default.any,
|
|
757
|
-
isSelected: _propTypes.default.bool,
|
|
758
|
-
display: _propTypes.default.any,
|
|
759
|
-
isLoading: _propTypes.default.bool,
|
|
760
|
-
className: _propTypes.default.string,
|
|
761
|
-
"data-test-subj": _propTypes.default.string,
|
|
762
|
-
css: _propTypes.default.any,
|
|
763
|
-
buttonRef: _propTypes.default.any
|
|
764
|
-
}),
|
|
765
|
-
onClick: _propTypes.default.func,
|
|
766
|
-
wrapText: _propTypes.default.bool,
|
|
767
|
-
buttonRef: _propTypes.default.any,
|
|
768
|
-
toolTipText: _propTypes.default.string,
|
|
769
|
-
toolTipProps: _propTypes.default.any
|
|
770
|
-
}).isRequired)
|
|
771
|
-
}).isRequired]),
|
|
772
|
-
/**
|
|
773
|
-
* Additional actions displayed as icon on hover / focus, and in the expanded view of the cell containing the value
|
|
774
|
-
*/
|
|
775
|
-
cellActions: _propTypes.default.arrayOf(_propTypes.default.elementType.isRequired),
|
|
776
|
-
/**
|
|
777
|
-
* Configures the amount of cell action buttons immediately visible on a cell.
|
|
778
|
-
* Any cell actions above this number will only display in the cell expansion popover.
|
|
779
|
-
* Defaults to 2.
|
|
780
|
-
*/
|
|
781
|
-
visibleCellActions: _propTypes.default.number
|
|
782
|
-
}).isRequired).isRequired,
|
|
783
|
-
/**
|
|
784
|
-
* An array of #EuiDataGridControlColumn objects. Used to define ancillary columns on the left side of the data grid.
|
|
785
|
-
* Useful for adding items like checkboxes and buttons.
|
|
786
|
-
*/
|
|
787
|
-
leadingControlColumns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
788
|
-
/**
|
|
789
|
-
* Used as the React `key` when rendering content
|
|
790
|
-
*/
|
|
791
|
-
id: _propTypes.default.string.isRequired,
|
|
792
|
-
/**
|
|
793
|
-
* Width of the column, users are unable to change this
|
|
794
|
-
*/
|
|
795
|
-
width: _propTypes.default.number.isRequired,
|
|
796
|
-
/**
|
|
797
|
-
* Component to render in the column header
|
|
798
|
-
*/
|
|
799
|
-
headerCellRender: _propTypes.default.elementType.isRequired,
|
|
800
|
-
/**
|
|
801
|
-
* Optional props to pass to the column header cell
|
|
802
|
-
*/
|
|
803
|
-
headerCellProps: _propTypes.default.any,
|
|
804
|
-
/**
|
|
805
|
-
* Component to render for each row in the column
|
|
806
|
-
*/
|
|
807
|
-
rowCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]).isRequired,
|
|
808
|
-
/**
|
|
809
|
-
* Component to render in the optional column footer
|
|
810
|
-
*/
|
|
811
|
-
footerCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]),
|
|
812
|
-
/**
|
|
813
|
-
* Optional props to pass to the column footer cell
|
|
814
|
-
*/
|
|
815
|
-
footerCellProps: _propTypes.default.any
|
|
816
|
-
}).isRequired),
|
|
817
|
-
/**
|
|
818
|
-
* An array of #EuiDataGridControlColumn objects. Used to define ancillary columns on the right side of the data grid.
|
|
819
|
-
* Useful for adding items like checkboxes and buttons.
|
|
820
|
-
*/
|
|
821
|
-
trailingControlColumns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
822
|
-
/**
|
|
823
|
-
* Used as the React `key` when rendering content
|
|
824
|
-
*/
|
|
825
|
-
id: _propTypes.default.string.isRequired,
|
|
826
|
-
/**
|
|
827
|
-
* Width of the column, users are unable to change this
|
|
828
|
-
*/
|
|
829
|
-
width: _propTypes.default.number.isRequired,
|
|
830
|
-
/**
|
|
831
|
-
* Component to render in the column header
|
|
832
|
-
*/
|
|
833
|
-
headerCellRender: _propTypes.default.elementType.isRequired,
|
|
834
|
-
/**
|
|
835
|
-
* Optional props to pass to the column header cell
|
|
836
|
-
*/
|
|
837
|
-
headerCellProps: _propTypes.default.any,
|
|
838
|
-
/**
|
|
839
|
-
* Component to render for each row in the column
|
|
840
|
-
*/
|
|
841
|
-
rowCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]).isRequired,
|
|
842
|
-
/**
|
|
843
|
-
* Component to render in the optional column footer
|
|
844
|
-
*/
|
|
845
|
-
footerCellRender: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]),
|
|
846
|
-
/**
|
|
847
|
-
* Optional props to pass to the column footer cell
|
|
848
|
-
*/
|
|
849
|
-
footerCellProps: _propTypes.default.any
|
|
850
|
-
}).isRequired),
|
|
851
|
-
/**
|
|
852
|
-
* An array of #EuiDataGridColumnVisibility objects.
|
|
853
|
-
* Defines which columns are **intitially** visible in the grid and the order they are displayed.
|
|
854
|
-
* Users can still turn their visibility on/off when `toolbarVisibility.showColumnSelector = true` (which is the default).
|
|
855
|
-
*/
|
|
856
|
-
columnVisibility: _propTypes.default.shape({
|
|
857
|
-
/**
|
|
858
|
-
* An array of #EuiDataGridColumn `id`s dictating the order and visibility of columns.
|
|
859
|
-
*/
|
|
860
|
-
visibleColumns: _propTypes.default.arrayOf(_propTypes.default.string.isRequired).isRequired,
|
|
861
|
-
/**
|
|
862
|
-
* A callback for when a column's visibility or order is modified by the user.
|
|
863
|
-
*/
|
|
864
|
-
setVisibleColumns: _propTypes.default.func.isRequired,
|
|
865
|
-
/** Enables reordering grid columns on drag and drop via the headers cells */canDragAndDropColumns: _propTypes.default.bool
|
|
866
|
-
}).isRequired,
|
|
867
|
-
/**
|
|
868
|
-
* An array of custom #EuiDataGridSchemaDetector objects. You can inject custom schemas to the grid to define the classnames applied.
|
|
869
|
-
*/
|
|
870
|
-
schemaDetectors: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
871
|
-
/**
|
|
872
|
-
* The name of this data type, matches #EuiDataGridColumn / `schema`
|
|
873
|
-
*/
|
|
874
|
-
type: _propTypes.default.string.isRequired,
|
|
875
|
-
/**
|
|
876
|
-
* The function given the text value of a cell and returns a score of [0...1] of how well the value matches this data type
|
|
877
|
-
*/
|
|
878
|
-
detector: _propTypes.default.func.isRequired,
|
|
879
|
-
/**
|
|
880
|
-
* A custom comparator function when performing in-memory sorting on this data type, takes `(a: string, b: string, direction: 'asc' | 'desc', indexes: {aIndex: number, bIndex: number}) => -1 | 0 | 1`
|
|
881
|
-
*/
|
|
882
|
-
comparator: _propTypes.default.func,
|
|
883
|
-
/**
|
|
884
|
-
* The icon used to visually represent this data type. Accepts any `EuiIcon IconType`.
|
|
885
|
-
*/
|
|
886
|
-
icon: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "anomalyChart", "anomalySwimLane", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "check", "checkInCircleFilled", "cheer", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "diff", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "endpoint", "eql", "eraser", "error", "errorFilled", "esqlVis", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "logRateAnalysis", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "minusInSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusInCircle", "plusInCircleFilled", "plusInSquare", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "alert", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
|
|
887
|
-
/**
|
|
888
|
-
* The color associated with this data type; it's used to color the icon token
|
|
889
|
-
*/
|
|
890
|
-
color: _propTypes.default.oneOfType([_propTypes.default.oneOfType([_propTypes.default.any.isRequired, _propTypes.default.string.isRequired]).isRequired, _propTypes.default.string.isRequired]),
|
|
891
|
-
/**
|
|
892
|
-
* Text for how to represent an ascending sort of this data type, e.g. 'A -> Z'
|
|
893
|
-
*/
|
|
894
|
-
sortTextAsc: _propTypes.default.node.isRequired,
|
|
895
|
-
/**
|
|
896
|
-
* Text for how to represent a descending sort of this data type, e.g. 'Z -> A'
|
|
897
|
-
*/
|
|
898
|
-
sortTextDesc: _propTypes.default.node.isRequired,
|
|
899
|
-
/**
|
|
900
|
-
* Whether columns with this schema are sortable (defaults to true). Can be overridden at the individual #EuiDataGridColumn level
|
|
901
|
-
*/
|
|
902
|
-
isSortable: _propTypes.default.bool,
|
|
903
|
-
/**
|
|
904
|
-
* This property controls the capitalization of text
|
|
905
|
-
*/
|
|
906
|
-
textTransform: _propTypes.default.oneOf(["uppercase", "lowercase", "capitalize"]),
|
|
907
|
-
/**
|
|
908
|
-
* Default sort direction of columns with this schema. Can be overridden at the individual #EuiDataGridColumn level
|
|
909
|
-
*/
|
|
910
|
-
defaultSortDirection: _propTypes.default.oneOf(["asc", "desc"])
|
|
911
|
-
}).isRequired),
|
|
912
|
-
/**
|
|
913
|
-
* The total number of rows in the dataset (used by e.g. pagination to know how many pages to list).
|
|
914
|
-
*/
|
|
915
|
-
rowCount: _propTypes.default.number.isRequired,
|
|
916
|
-
/**
|
|
917
|
-
* A function called to render a cell's value. Behind the scenes it is treated as a React component
|
|
918
|
-
* allowing hooks, context, and other React concepts to be used. The function receives #EuiDataGridCellValueElementProps
|
|
919
|
-
* as its only argument.
|
|
920
|
-
*/
|
|
921
|
-
renderCellValue: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]).isRequired,
|
|
922
|
-
/**
|
|
923
|
-
* An optional object of props passed to the `renderCellValue` component.
|
|
924
|
-
* This API exists to make it easier to define your `renderCellValue` function
|
|
925
|
-
* component statically, and not rerender due to other dependent state.
|
|
926
|
-
*/
|
|
927
|
-
cellContext: _propTypes.default.any,
|
|
928
|
-
/**
|
|
929
|
-
* An optional function that can be used to completely customize the rendering of cell popovers.
|
|
930
|
-
*
|
|
931
|
-
* If not specified, defaults to an `<EuiText>` wrapper around the rendered cell value and an
|
|
932
|
-
* `<EuiPopoverFooter>` around the cell actions.
|
|
933
|
-
*
|
|
934
|
-
* Behind the scenes it is treated as a React component allowing hooks, context, and other React concepts to be used.
|
|
935
|
-
* The function receives #EuiDataGridCellPopoverElementProps as its only argument.
|
|
936
|
-
*
|
|
937
|
-
*/
|
|
938
|
-
renderCellPopover: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.func.isRequired]),
|
|
939
|
-
/**
|
|
940
|
-
* An optional function called to render a footer cell. If not specified, no footer row is rendered.
|
|
941
|
-
*
|
|
942
|
-
* Behind the scenes it is treated as a React component
|
|
943
|
-
* allowing hooks, context, and other React concepts to be used. The function receives #EuiDataGridCellValueElementProps
|
|
944
|
-
* as its only argument.
|
|
945
|
-
*/
|
|
946
|
-
renderFooterCellValue: _propTypes.default.oneOfType([_propTypes.default.func.isRequired, _propTypes.default.element.isRequired]),
|
|
947
|
-
/**
|
|
948
|
-
* An optional function called to completely customize and control the rendering of
|
|
949
|
-
* EuiDataGrid's body and cell placement. This can be used to, e.g. remove EuiDataGrid's
|
|
950
|
-
* virtualization library, or roll your own.
|
|
951
|
-
*
|
|
952
|
-
* This component is **only** meant as an escape hatch for extremely custom use cases.
|
|
953
|
-
*
|
|
954
|
-
* Behind the scenes, this function is treated as a React component,
|
|
955
|
-
* allowing hooks, context, and other React concepts to be used.
|
|
956
|
-
* It receives #EuiDataGridCustomBodyProps as its only argument.
|
|
957
|
-
*/
|
|
958
|
-
renderCustomGridBody: _propTypes.default.func,
|
|
959
|
-
/**
|
|
960
|
-
* An optional function called to customize placement of controls in EuiDataGrid's toolbar.
|
|
961
|
-
* This can be used to add custom buttons or reorder existing ones.
|
|
962
|
-
*
|
|
963
|
-
* Behind the scenes, this function is treated as a React component,
|
|
964
|
-
* allowing hooks, context, and other React concepts to be used.
|
|
965
|
-
* It receives #EuiDataGridCustomToolbarProps as its only argument.
|
|
966
|
-
*/
|
|
967
|
-
renderCustomToolbar: _propTypes.default.func,
|
|
968
|
-
/**
|
|
969
|
-
* Defines the initial style of the grid. Accepts a partial #EuiDataGridStyle object.
|
|
970
|
-
* Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowDensity = true` (which is the default).
|
|
971
|
-
*/
|
|
972
|
-
gridStyle: _propTypes.default.shape({
|
|
973
|
-
/**
|
|
974
|
-
* Size of fonts used within the row and column cells
|
|
975
|
-
* @default m
|
|
976
|
-
*/
|
|
977
|
-
fontSize: _propTypes.default.oneOf(["s", "m", "l"]),
|
|
978
|
-
/**
|
|
979
|
-
* Defines the padding with the row and column cells
|
|
980
|
-
* @default m
|
|
981
|
-
*/
|
|
982
|
-
cellPadding: _propTypes.default.oneOf(["s", "m", "l"]),
|
|
983
|
-
/**
|
|
984
|
-
* Border used for the row and column cells
|
|
985
|
-
* @default all
|
|
986
|
-
*/
|
|
987
|
-
border: _propTypes.default.oneOf(["all", "horizontal", "none"]),
|
|
988
|
-
/**
|
|
989
|
-
* If set to true, rows will alternate zebra striping for clarity
|
|
990
|
-
* @default false
|
|
991
|
-
*/
|
|
992
|
-
stripes: _propTypes.default.bool,
|
|
993
|
-
/**
|
|
994
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
|
|
995
|
-
* @default shade
|
|
996
|
-
*/
|
|
997
|
-
header: _propTypes.default.oneOf(["shade", "underline"]),
|
|
998
|
-
/**
|
|
999
|
-
* Visual style for the column footers.
|
|
1000
|
-
* @default overline
|
|
1001
|
-
*/
|
|
1002
|
-
footer: _propTypes.default.oneOf(["shade", "overline", "striped"]),
|
|
1003
|
-
/**
|
|
1004
|
-
* If set to true, the footer row will be sticky
|
|
1005
|
-
* @default true
|
|
1006
|
-
*/
|
|
1007
|
-
stickyFooter: _propTypes.default.bool,
|
|
1008
|
-
/**
|
|
1009
|
-
* Will define what visual style to show on row hover
|
|
1010
|
-
* @default hover
|
|
1011
|
-
*/
|
|
1012
|
-
rowHover: _propTypes.default.oneOf(["highlight", "none"]),
|
|
1013
|
-
/**
|
|
1014
|
-
* Optionally pass custom classes to highlight or customize certain rows
|
|
1015
|
-
*/
|
|
1016
|
-
rowClasses: _propTypes.default.shape({}),
|
|
1017
|
-
/**
|
|
1018
|
-
* Optional callback returning the current `gridStyle` config when changes occur from user input (e.g. toolbar display controls).
|
|
1019
|
-
* Can be used for, e.g. storing user `gridStyle` in a local storage object.
|
|
1020
|
-
*/
|
|
1021
|
-
onChange: _propTypes.default.func
|
|
1022
|
-
}),
|
|
1023
|
-
/**
|
|
1024
|
-
* Allows you to configure what features the toolbar shows.
|
|
1025
|
-
*
|
|
1026
|
-
* Accepts either a boolean or #EuiDataGridToolBarVisibilityOptions object.
|
|
1027
|
-
* When used as a boolean, defines the display of the entire toolbar.
|
|
1028
|
-
* When passed an object allows you to turn off individual controls within the toolbar as well as add additional buttons.
|
|
1029
|
-
*/
|
|
1030
|
-
toolbarVisibility: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
1031
|
-
/**
|
|
1032
|
-
* Allows the ability for the user to hide fields and sort columns, boolean or a #EuiDataGridToolBarVisibilityColumnSelectorOptions
|
|
1033
|
-
* @default true
|
|
1034
|
-
*/
|
|
1035
|
-
showColumnSelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
1036
|
-
/**
|
|
1037
|
-
* When `false`, removes the ability to show & hide columns through the UI
|
|
1038
|
-
*/
|
|
1039
|
-
allowHide: _propTypes.default.bool,
|
|
1040
|
-
/**
|
|
1041
|
-
* When `false`, removes the ability to re-order columns through the UI
|
|
1042
|
-
*/
|
|
1043
|
-
allowReorder: _propTypes.default.bool
|
|
1044
|
-
}).isRequired]),
|
|
1045
|
-
/**
|
|
1046
|
-
* Allows the ability for the user to customize display settings such as grid density and row heights.
|
|
1047
|
-
* User changes will override what is provided in #EuiDataGridStyle and #EuiDataGridRowHeightsOptions
|
|
1048
|
-
* @default true
|
|
1049
|
-
*/
|
|
1050
|
-
showDisplaySelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
1051
|
-
/**
|
|
1052
|
-
* When `false`, removes the ability to change density display through the UI
|
|
1053
|
-
*/
|
|
1054
|
-
allowDensity: _propTypes.default.bool,
|
|
1055
|
-
/**
|
|
1056
|
-
* When `false`, removes the ability to change row height display through the UI
|
|
1057
|
-
*/
|
|
1058
|
-
allowRowHeight: _propTypes.default.bool,
|
|
1059
|
-
/**
|
|
1060
|
-
* When `false`, removes the ability to reset styles to default through the UI
|
|
1061
|
-
*/
|
|
1062
|
-
allowResetButton: _propTypes.default.bool,
|
|
1063
|
-
/**
|
|
1064
|
-
* Allows appending additional content to the bottom of the display settings popover
|
|
1065
|
-
*/
|
|
1066
|
-
additionalDisplaySettings: _propTypes.default.node,
|
|
1067
|
-
/**
|
|
1068
|
-
* Allows completely custom rendering of the display selector popover via render prop.
|
|
1069
|
-
* Passes back the default controls as arguments for optional rendering.
|
|
1070
|
-
*/
|
|
1071
|
-
customRender: _propTypes.default.func
|
|
1072
|
-
}).isRequired]),
|
|
1073
|
-
/**
|
|
1074
|
-
* Allows the ability for the user to sort rows based upon column values
|
|
1075
|
-
* @default true
|
|
1076
|
-
*/
|
|
1077
|
-
showSortSelector: _propTypes.default.bool,
|
|
1078
|
-
/**
|
|
1079
|
-
* Displays a popover listing all keyboard controls and shortcuts for the data grid.
|
|
1080
|
-
* If set to `false`, the toggle will be visually hidden, but still focusable by keyboard and screen reader users.
|
|
1081
|
-
* @default true
|
|
1082
|
-
*/
|
|
1083
|
-
showKeyboardShortcuts: _propTypes.default.bool,
|
|
1084
|
-
/**
|
|
1085
|
-
* Allows user to be able to fullscreen the data grid. If set to `false` make sure your grid fits within a large enough panel to still show the other controls.
|
|
1086
|
-
* @default true
|
|
1087
|
-
*/
|
|
1088
|
-
showFullScreenSelector: _propTypes.default.bool,
|
|
1089
|
-
/**
|
|
1090
|
-
* If passed a `ReactNode`, appends the passed custom control into the left side of the toolbar, after the column & sort controls.
|
|
1091
|
-
* Or use #EuiDataGridToolBarAdditionalControlsOptions to customize the location of your control.
|
|
1092
|
-
*/
|
|
1093
|
-
additionalControls: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
|
|
1094
|
-
/**
|
|
1095
|
-
* If passed a `ReactNode`, appends the passed node into the left side of the toolbar, **after** the column & sort controls.
|
|
1096
|
-
* Or use #EuiDataGridToolBarAdditionalControlsLeftOptions to customize the location of your control.
|
|
1097
|
-
* We recommend using `<EuiButtonEmpty size="xs" />` to match the existing controls on the left.
|
|
1098
|
-
*/
|
|
1099
|
-
left: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
|
|
1100
|
-
/**
|
|
1101
|
-
* Will prepend the passed node into the left side of the toolbar, **before** the column & sort controls.
|
|
1102
|
-
*/
|
|
1103
|
-
prepend: _propTypes.default.node,
|
|
1104
|
-
/**
|
|
1105
|
-
* Will append the passed node into the left side of the toolbar, **after** the column & sort controls.
|
|
1106
|
-
*/
|
|
1107
|
-
append: _propTypes.default.node
|
|
1108
|
-
}).isRequired]),
|
|
1109
|
-
/**
|
|
1110
|
-
* Will prepend the passed node into the right side of the toolbar, **before** the density & fullscreen controls.
|
|
1111
|
-
* We recommend using `<EuiButtonIcon size="xs" />` to match the existing controls on the right.
|
|
1112
|
-
*/
|
|
1113
|
-
right: _propTypes.default.node
|
|
1114
|
-
}).isRequired])
|
|
1115
|
-
}).isRequired]),
|
|
1116
|
-
/**
|
|
1117
|
-
* A #EuiDataGridInMemory object to define the level of high order schema-detection and sorting logic to use on your data.
|
|
1118
|
-
* **Try to set when possible**.
|
|
1119
|
-
* If omitted, disables all enhancements and assumes content is flat strings.
|
|
1120
|
-
*/
|
|
1121
|
-
inMemory: _propTypes.default.shape({
|
|
1122
|
-
/**
|
|
1123
|
-
Given the data flow Sorting->Pagination:
|
|
1124
|
-
Each step can be performed by service calls or in-memory by the grid.
|
|
1125
|
-
However, we cannot allow any service calls after an in-memory operation.
|
|
1126
|
-
E.g. if Pagination requires a service call the grid cannot perform
|
|
1127
|
-
in-memory Sorting. This means a single value representing the
|
|
1128
|
-
service / in-memory boundary can be used. Thus there are four states for in-memory's level:
|
|
1129
|
-
* "enhancements" - no in-memory operations, but use the available data to enhance the grid
|
|
1130
|
-
* "pagination" - only pagination is performed in-memory
|
|
1131
|
-
* "sorting" - sorting & pagination is performed in-memory
|
|
1132
|
-
*/
|
|
1133
|
-
level: _propTypes.default.oneOf(["enhancements", "pagination", "sorting"]).isRequired,
|
|
1134
|
-
/**
|
|
1135
|
-
* An array of column ids for the in-memory processing to skip
|
|
1136
|
-
*/
|
|
1137
|
-
skipColumns: _propTypes.default.arrayOf(_propTypes.default.string.isRequired)
|
|
1138
|
-
}),
|
|
1139
|
-
/**
|
|
1140
|
-
* A #EuiDataGridPaginationProps object. Omit to disable pagination completely.
|
|
1141
|
-
*/
|
|
1142
|
-
pagination: _propTypes.default.shape({
|
|
1143
|
-
/**
|
|
1144
|
-
* The index of the current page, starts at 0 for the first page
|
|
1145
|
-
*/
|
|
1146
|
-
pageIndex: _propTypes.default.number.isRequired,
|
|
1147
|
-
/**
|
|
1148
|
-
* How many rows should initially be shown per page.
|
|
1149
|
-
* Pass `0` to display the selected "Show all" option and hide the pagination.
|
|
1150
|
-
*
|
|
1151
|
-
* @default 10
|
|
1152
|
-
*/
|
|
1153
|
-
pageSize: _propTypes.default.number,
|
|
1154
|
-
/**
|
|
1155
|
-
* An array of page sizes the user can select from.
|
|
1156
|
-
* Pass `0` as one of the options to create a "Show all" option.
|
|
1157
|
-
* Pass an empty array to hide "Rows per page" select button.
|
|
1158
|
-
*
|
|
1159
|
-
* @default [10, 25, 50]
|
|
1160
|
-
*/
|
|
1161
|
-
pageSizeOptions: _propTypes.default.arrayOf(_propTypes.default.number.isRequired),
|
|
1162
|
-
/**
|
|
1163
|
-
* A callback for when the user changes the page size selection
|
|
1164
|
-
*/
|
|
1165
|
-
onChangeItemsPerPage: _propTypes.default.func.isRequired,
|
|
1166
|
-
/**
|
|
1167
|
-
* A callback for when the current page index changes
|
|
1168
|
-
*/
|
|
1169
|
-
onChangePage: _propTypes.default.func.isRequired
|
|
1170
|
-
}),
|
|
1171
|
-
/**
|
|
1172
|
-
* A #EuiDataGridSorting object that provides the sorted columns along with their direction. Provides a callback for when it changes.
|
|
1173
|
-
* Optional, but required when inMemory is set.
|
|
1174
|
-
* Omit to disable, but you'll likely want to also turn off the user sorting controls through the `toolbarVisibility` prop.
|
|
1175
|
-
*/
|
|
1176
|
-
sorting: _propTypes.default.shape({
|
|
1177
|
-
/**
|
|
1178
|
-
* A function that receives updated column sort details in response to user interactions in the toolbar controls
|
|
1179
|
-
*/
|
|
1180
|
-
onSort: _propTypes.default.func.isRequired,
|
|
1181
|
-
/**
|
|
1182
|
-
* An array of the column ids currently being sorted and their sort direction. The array order determines the sort order. `{ id: 'A'; direction: 'asc' }`
|
|
1183
|
-
*/
|
|
1184
|
-
columns: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
1185
|
-
id: _propTypes.default.string.isRequired,
|
|
1186
|
-
direction: _propTypes.default.oneOf(["asc", "desc"]).isRequired
|
|
1187
|
-
}).isRequired).isRequired
|
|
1188
|
-
}),
|
|
1189
|
-
/**
|
|
1190
|
-
* A callback for when a column's size changes. Callback receives `{ columnId: string, width: number }`.
|
|
1191
|
-
*/
|
|
1192
|
-
onColumnResize: _propTypes.default.func,
|
|
1193
|
-
/**
|
|
1194
|
-
* Defines a minimum width for the grid to show all controls in its toolbar.
|
|
1195
|
-
*/
|
|
1196
|
-
minSizeForControls: _propTypes.default.number,
|
|
1197
|
-
/**
|
|
1198
|
-
* Sets the grid's height, forcing it to overflow in a scrollable container with cell virtualization.
|
|
1199
|
-
*/
|
|
1200
|
-
height: _propTypes.default.any,
|
|
1201
|
-
/**
|
|
1202
|
-
* Sets the grid's width, forcing it to overflow in a scrollable container with cell virtualization.
|
|
1203
|
-
*/
|
|
1204
|
-
width: _propTypes.default.any,
|
|
1205
|
-
/**
|
|
1206
|
-
* Allows customizing the underlying [react-window grid](https://react-window.vercel.app/#/api/VariableSizeGrid) props.
|
|
1207
|
-
*/
|
|
1208
|
-
virtualizationOptions: _propTypes.default.any,
|
|
1209
|
-
/**
|
|
1210
|
-
* A #EuiDataGridRowHeightsOptions object that provides row heights options.
|
|
1211
|
-
* Allows configuring both default and specific heights of grid rows.
|
|
1212
|
-
* Settings provided may be overwritten or merged with user defined preferences if `toolbarVisibility.showDisplaySelector.allowRowHeight = true` (which is the default).
|
|
1213
|
-
*/
|
|
1214
|
-
rowHeightsOptions: _propTypes.default.shape({
|
|
1215
|
-
/**
|
|
1216
|
-
* Defines the default size for all rows. It can be line count or just height.
|
|
1217
|
-
*/
|
|
1218
|
-
defaultHeight: _propTypes.default.oneOfType([_propTypes.default.number.isRequired, _propTypes.default.oneOf(["auto"]), _propTypes.default.shape({
|
|
1219
|
-
lineCount: _propTypes.default.number,
|
|
1220
|
-
height: _propTypes.default.number
|
|
1221
|
-
}).isRequired]),
|
|
1222
|
-
/**
|
|
1223
|
-
* Feature flag for custom `lineCount` behavior, where `lineCount` acts like a
|
|
1224
|
-
* *max* number of lines (instead of a set number of lines for all rows).
|
|
1225
|
-
*
|
|
1226
|
-
* This functionality is in beta and has performance implications;
|
|
1227
|
-
* we do not yet fully recommend/support it for heavy production usage.
|
|
1228
|
-
*/
|
|
1229
|
-
autoBelowLineCount: _propTypes.default.bool,
|
|
1230
|
-
/**
|
|
1231
|
-
* Defines the height for a specific row. It can be line count or just height.
|
|
1232
|
-
*
|
|
1233
|
-
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
1234
|
-
* toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
|
|
1235
|
-
*/
|
|
1236
|
-
rowHeights: _propTypes.default.any,
|
|
1237
|
-
/**
|
|
1238
|
-
* Defines a global lineHeight style to apply to all cells
|
|
1239
|
-
*/
|
|
1240
|
-
lineHeight: _propTypes.default.string,
|
|
1241
|
-
/**
|
|
1242
|
-
* Optional callback returning the current `rowHeightsOptions` when changes occur from user input (e.g. toolbar display controls).
|
|
1243
|
-
* Can be used for, e.g. storing user `rowHeightsOptions` in a local storage object.
|
|
1244
|
-
*/
|
|
1245
|
-
onChange: _propTypes.default.func,
|
|
1246
|
-
/**
|
|
1247
|
-
* Optional indicator of the row that should be used as an anchor for vertical layout shift compensation.
|
|
1248
|
-
* When set to 'start' or 'center', the topmost or middle visible row will try
|
|
1249
|
-
* to compensate for changes in their top offsets by adjusting the grid's scroll
|
|
1250
|
-
* position.
|
|
1251
|
-
*/
|
|
1252
|
-
scrollAnchorRow: _propTypes.default.oneOf(["start", "center", undefined])
|
|
1253
|
-
}),
|
|
1254
|
-
/**
|
|
1255
|
-
* Allows the ability for the user to hide fields and sort columns, boolean or a #EuiDataGridToolBarVisibilityColumnSelectorOptions
|
|
1256
|
-
* @default true
|
|
1257
|
-
*/
|
|
1258
|
-
showColumnSelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
1259
|
-
/**
|
|
1260
|
-
* When `false`, removes the ability to show & hide columns through the UI
|
|
1261
|
-
*/
|
|
1262
|
-
allowHide: _propTypes.default.bool,
|
|
1263
|
-
/**
|
|
1264
|
-
* When `false`, removes the ability to re-order columns through the UI
|
|
1265
|
-
*/
|
|
1266
|
-
allowReorder: _propTypes.default.bool
|
|
1267
|
-
}).isRequired]),
|
|
1268
|
-
/**
|
|
1269
|
-
* Allows the ability for the user to customize display settings such as grid density and row heights.
|
|
1270
|
-
* User changes will override what is provided in #EuiDataGridStyle and #EuiDataGridRowHeightsOptions
|
|
1271
|
-
* @default true
|
|
1272
|
-
*/
|
|
1273
|
-
showDisplaySelector: _propTypes.default.oneOfType([_propTypes.default.bool.isRequired, _propTypes.default.shape({
|
|
1274
|
-
/**
|
|
1275
|
-
* When `false`, removes the ability to change density display through the UI
|
|
1276
|
-
*/
|
|
1277
|
-
allowDensity: _propTypes.default.bool,
|
|
1278
|
-
/**
|
|
1279
|
-
* When `false`, removes the ability to change row height display through the UI
|
|
1280
|
-
*/
|
|
1281
|
-
allowRowHeight: _propTypes.default.bool,
|
|
1282
|
-
/**
|
|
1283
|
-
* When `false`, removes the ability to reset styles to default through the UI
|
|
1284
|
-
*/
|
|
1285
|
-
allowResetButton: _propTypes.default.bool,
|
|
1286
|
-
/**
|
|
1287
|
-
* Allows appending additional content to the bottom of the display settings popover
|
|
1288
|
-
*/
|
|
1289
|
-
additionalDisplaySettings: _propTypes.default.node,
|
|
1290
|
-
/**
|
|
1291
|
-
* Allows completely custom rendering of the display selector popover via render prop.
|
|
1292
|
-
* Passes back the default controls as arguments for optional rendering.
|
|
1293
|
-
*/
|
|
1294
|
-
customRender: _propTypes.default.func
|
|
1295
|
-
}).isRequired]),
|
|
1296
|
-
/**
|
|
1297
|
-
* Allows the ability for the user to sort rows based upon column values
|
|
1298
|
-
* @default true
|
|
1299
|
-
*/
|
|
1300
|
-
showSortSelector: _propTypes.default.bool,
|
|
1301
|
-
/**
|
|
1302
|
-
* Displays a popover listing all keyboard controls and shortcuts for the data grid.
|
|
1303
|
-
* If set to `false`, the toggle will be visually hidden, but still focusable by keyboard and screen reader users.
|
|
1304
|
-
* @default true
|
|
1305
|
-
*/
|
|
1306
|
-
showKeyboardShortcuts: _propTypes.default.bool,
|
|
1307
|
-
/**
|
|
1308
|
-
* Allows user to be able to fullscreen the data grid. If set to `false` make sure your grid fits within a large enough panel to still show the other controls.
|
|
1309
|
-
* @default true
|
|
1310
|
-
*/
|
|
1311
|
-
showFullScreenSelector: _propTypes.default.bool,
|
|
1312
|
-
/**
|
|
1313
|
-
* If passed a `ReactNode`, appends the passed custom control into the left side of the toolbar, after the column & sort controls.
|
|
1314
|
-
* Or use #EuiDataGridToolBarAdditionalControlsOptions to customize the location of your control.
|
|
1315
|
-
*/
|
|
1316
|
-
additionalControls: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
|
|
1317
|
-
/**
|
|
1318
|
-
* If passed a `ReactNode`, appends the passed node into the left side of the toolbar, **after** the column & sort controls.
|
|
1319
|
-
* Or use #EuiDataGridToolBarAdditionalControlsLeftOptions to customize the location of your control.
|
|
1320
|
-
* We recommend using `<EuiButtonEmpty size="xs" />` to match the existing controls on the left.
|
|
1321
|
-
*/
|
|
1322
|
-
left: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
|
|
1323
|
-
/**
|
|
1324
|
-
* Will prepend the passed node into the left side of the toolbar, **before** the column & sort controls.
|
|
1325
|
-
*/
|
|
1326
|
-
prepend: _propTypes.default.node,
|
|
1327
|
-
/**
|
|
1328
|
-
* Will append the passed node into the left side of the toolbar, **after** the column & sort controls.
|
|
1329
|
-
*/
|
|
1330
|
-
append: _propTypes.default.node
|
|
1331
|
-
}).isRequired]),
|
|
1332
|
-
/**
|
|
1333
|
-
* Will prepend the passed node into the right side of the toolbar, **before** the density & fullscreen controls.
|
|
1334
|
-
* We recommend using `<EuiButtonIcon size="xs" />` to match the existing controls on the right.
|
|
1335
|
-
*/
|
|
1336
|
-
right: _propTypes.default.node
|
|
1337
|
-
}).isRequired]),
|
|
1338
|
-
/**
|
|
1339
|
-
* If passed a `ReactNode`, appends the passed node into the left side of the toolbar, **after** the column & sort controls.
|
|
1340
|
-
* Or use #EuiDataGridToolBarAdditionalControlsLeftOptions to customize the location of your control.
|
|
1341
|
-
* We recommend using `<EuiButtonEmpty size="xs" />` to match the existing controls on the left.
|
|
1342
|
-
*/
|
|
1343
|
-
left: _propTypes.default.oneOfType([_propTypes.default.node.isRequired, _propTypes.default.shape({
|
|
1344
|
-
/**
|
|
1345
|
-
* Will prepend the passed node into the left side of the toolbar, **before** the column & sort controls.
|
|
1346
|
-
*/
|
|
1347
|
-
prepend: _propTypes.default.node,
|
|
1348
|
-
/**
|
|
1349
|
-
* Will append the passed node into the left side of the toolbar, **after** the column & sort controls.
|
|
1350
|
-
*/
|
|
1351
|
-
append: _propTypes.default.node
|
|
1352
|
-
}).isRequired]),
|
|
1353
|
-
/**
|
|
1354
|
-
* Will prepend the passed node into the right side of the toolbar, **before** the density & fullscreen controls.
|
|
1355
|
-
* We recommend using `<EuiButtonIcon size="xs" />` to match the existing controls on the right.
|
|
1356
|
-
*/
|
|
1357
|
-
right: _propTypes.default.node
|
|
1358
|
-
};
|
|
1359
|
-
var EuiDataGridStylePropsComponent = exports.EuiDataGridStylePropsComponent = function EuiDataGridStylePropsComponent() {
|
|
1360
|
-
return (0, _react2.jsx)(_react.default.Fragment, null);
|
|
1361
|
-
};
|
|
1362
|
-
EuiDataGridStylePropsComponent.propTypes = {
|
|
1363
|
-
/**
|
|
1364
|
-
* Size of fonts used within the row and column cells
|
|
1365
|
-
* @default m
|
|
1366
|
-
*/
|
|
1367
|
-
fontSize: _propTypes.default.oneOf(["s", "m", "l"]),
|
|
1368
|
-
/**
|
|
1369
|
-
* Defines the padding with the row and column cells
|
|
1370
|
-
* @default m
|
|
1371
|
-
*/
|
|
1372
|
-
cellPadding: _propTypes.default.oneOf(["s", "m", "l"]),
|
|
1373
|
-
/**
|
|
1374
|
-
* Border used for the row and column cells
|
|
1375
|
-
* @default all
|
|
1376
|
-
*/
|
|
1377
|
-
border: _propTypes.default.oneOf(["all", "horizontal", "none"]),
|
|
1378
|
-
/**
|
|
1379
|
-
* If set to true, rows will alternate zebra striping for clarity
|
|
1380
|
-
* @default false
|
|
1381
|
-
*/
|
|
1382
|
-
stripes: _propTypes.default.bool,
|
|
1383
|
-
/**
|
|
1384
|
-
* Visual style for the column headers. Recommendation is to use the `underline` style in times when #EuiDataGrid `toolbarVisibility` is set to `false`.
|
|
1385
|
-
* @default shade
|
|
1386
|
-
*/
|
|
1387
|
-
header: _propTypes.default.oneOf(["shade", "underline"]),
|
|
1388
|
-
/**
|
|
1389
|
-
* Visual style for the column footers.
|
|
1390
|
-
* @default overline
|
|
1391
|
-
*/
|
|
1392
|
-
footer: _propTypes.default.oneOf(["shade", "overline", "striped"]),
|
|
1393
|
-
/**
|
|
1394
|
-
* If set to true, the footer row will be sticky
|
|
1395
|
-
* @default true
|
|
1396
|
-
*/
|
|
1397
|
-
stickyFooter: _propTypes.default.bool,
|
|
1398
|
-
/**
|
|
1399
|
-
* Will define what visual style to show on row hover
|
|
1400
|
-
* @default hover
|
|
1401
|
-
*/
|
|
1402
|
-
rowHover: _propTypes.default.oneOf(["highlight", "none"]),
|
|
1403
|
-
/**
|
|
1404
|
-
* Optionally pass custom classes to highlight or customize certain rows
|
|
1405
|
-
*/
|
|
1406
|
-
rowClasses: _propTypes.default.shape({}),
|
|
1407
|
-
/**
|
|
1408
|
-
* Optional callback returning the current `gridStyle` config when changes occur from user input (e.g. toolbar display controls).
|
|
1409
|
-
* Can be used for, e.g. storing user `gridStyle` in a local storage object.
|
|
1410
|
-
*/
|
|
1411
|
-
onChange: _propTypes.default.func
|
|
1412
|
-
};
|
|
1413
|
-
var EuiDataGridRowHeightsPropsComponent = exports.EuiDataGridRowHeightsPropsComponent = function EuiDataGridRowHeightsPropsComponent() {
|
|
1414
|
-
return (0, _react2.jsx)(_react.default.Fragment, null);
|
|
1415
|
-
};
|
|
1416
|
-
EuiDataGridRowHeightsPropsComponent.propTypes = {
|
|
1417
|
-
/**
|
|
1418
|
-
* Defines the default size for all rows. It can be line count or just height.
|
|
1419
|
-
*/
|
|
1420
|
-
defaultHeight: _propTypes.default.oneOfType([_propTypes.default.number.isRequired, _propTypes.default.oneOf(["auto"]), _propTypes.default.shape({
|
|
1421
|
-
lineCount: _propTypes.default.number,
|
|
1422
|
-
height: _propTypes.default.number
|
|
1423
|
-
}).isRequired]),
|
|
1424
|
-
/**
|
|
1425
|
-
* Feature flag for custom `lineCount` behavior, where `lineCount` acts like a
|
|
1426
|
-
* *max* number of lines (instead of a set number of lines for all rows).
|
|
1427
|
-
*
|
|
1428
|
-
* This functionality is in beta and has performance implications;
|
|
1429
|
-
* we do not yet fully recommend/support it for heavy production usage.
|
|
1430
|
-
*/
|
|
1431
|
-
autoBelowLineCount: _propTypes.default.bool,
|
|
1432
|
-
/**
|
|
1433
|
-
* Defines the height for a specific row. It can be line count or just height.
|
|
1434
|
-
*
|
|
1435
|
-
* When using row height overrides, we strongly setting the `showDisplaySelector: allowRowHeight`
|
|
1436
|
-
* toolbar control to `false` in #EuiDataGridToolBarVisibilityOptions
|
|
1437
|
-
*/
|
|
1438
|
-
rowHeights: _propTypes.default.any,
|
|
1439
|
-
/**
|
|
1440
|
-
* Defines a global lineHeight style to apply to all cells
|
|
1441
|
-
*/
|
|
1442
|
-
lineHeight: _propTypes.default.string,
|
|
1443
|
-
/**
|
|
1444
|
-
* Optional callback returning the current `rowHeightsOptions` when changes occur from user input (e.g. toolbar display controls).
|
|
1445
|
-
* Can be used for, e.g. storing user `rowHeightsOptions` in a local storage object.
|
|
1446
|
-
*/
|
|
1447
|
-
onChange: _propTypes.default.func,
|
|
1448
|
-
/**
|
|
1449
|
-
* Optional indicator of the row that should be used as an anchor for vertical layout shift compensation.
|
|
1450
|
-
* When set to 'start' or 'center', the topmost or middle visible row will try
|
|
1451
|
-
* to compensate for changes in their top offsets by adjusting the grid's scroll
|
|
1452
|
-
* position.
|
|
1453
|
-
*/
|
|
1454
|
-
scrollAnchorRow: _propTypes.default.oneOf(["start", "center", undefined])
|
|
1455
364
|
};
|