@elastic/eui
Version:
Elastic UI Component Library
527 lines (525 loc) • 16.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.typeToPathMap = void 0;
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
var typeToPathMap = exports.typeToPathMap = {
accessibility: 'accessibility',
addDataApp: 'app_add_data',
advancedSettingsApp: 'app_advanced_settings',
agentApp: 'app_fleet',
aggregate: 'aggregate',
analyzeEvent: 'analyzeEvent',
annotation: 'annotation',
anomalyChart: 'anomaly_chart',
anomalySwimLane: 'anomaly_swim_lane',
apmApp: 'app_apm',
apmTrace: 'apm_trace',
appSearchApp: 'app_app_search',
apps: 'apps',
arrowDown: 'arrow_down',
arrowLeft: 'arrow_left',
arrowRight: 'arrow_right',
arrowUp: 'arrow_up',
arrowStart: 'arrowStart',
arrowEnd: 'arrowEnd',
article: 'article',
asterisk: 'asterisk',
at: 'at',
auditbeatApp: 'app_auditbeat',
beaker: 'beaker',
bell: 'bell',
bellSlash: 'bellSlash',
beta: 'beta',
bolt: 'bolt',
boxesHorizontal: 'boxes_horizontal',
boxesVertical: 'boxes_vertical',
branch: 'branch',
branchUser: 'branchUser',
broom: 'broom',
brush: 'brush',
bug: 'bug',
bullseye: 'bullseye',
calendar: 'calendar',
canvasApp: 'app_canvas',
casesApp: 'app_cases',
changePointDetection: 'change_point_detection',
check: 'check',
checkInCircleFilled: 'checkInCircleFilled',
cheer: 'cheer',
classificationJob: 'ml_classification_job',
clickLeft: 'clickLeft',
clickRight: 'clickRight',
clock: 'clock',
clockCounter: 'clockCounter',
cloudDrizzle: 'cloudDrizzle',
cloudStormy: 'cloudStormy',
cloudSunny: 'cloudSunny',
cluster: 'cluster',
codeApp: 'app_code',
color: 'color',
compute: 'compute',
console: 'console',
consoleApp: 'app_console',
container: 'container',
continuityAbove: 'continuityAbove',
continuityAboveBelow: 'continuityAboveBelow',
continuityBelow: 'continuityBelow',
continuityWithin: 'continuityWithin',
controlsHorizontal: 'controls_horizontal',
controlsVertical: 'controls_vertical',
copy: 'copy',
copyClipboard: 'copy_clipboard',
createAdvancedJob: 'ml_create_advanced_job',
createMultiMetricJob: 'ml_create_multi_metric_job',
createPopulationJob: 'ml_create_population_job',
createSingleMetricJob: 'ml_create_single_metric_job',
cross: 'cross',
crossClusterReplicationApp: 'app_cross_cluster_replication',
crossInCircle: 'cross_in_circle',
crosshairs: 'crosshairs',
currency: 'currency',
cut: 'cut',
dashboardApp: 'app_dashboard',
dataVisualizer: 'ml_data_visualizer',
database: 'database',
desktop: 'desktop',
devToolsApp: 'app_devtools',
diff: 'diff',
discoverApp: 'app_discover',
discuss: 'discuss',
document: 'document',
documentEdit: 'documentEdit',
documentation: 'documentation',
documents: 'documents',
dot: 'dot',
dotInCircle: 'dotInCircle',
doubleArrowLeft: 'doubleArrowLeft',
doubleArrowRight: 'doubleArrowRight',
download: 'download',
editorAlignCenter: 'editor_align_center',
editorAlignLeft: 'editor_align_left',
editorAlignRight: 'editor_align_right',
editorBold: 'editor_bold',
editorChecklist: 'editor_checklist',
editorCodeBlock: 'editor_code_block',
editorComment: 'editor_comment',
editorDistributeHorizontal: 'editorDistributeHorizontal',
editorDistributeVertical: 'editorDistributeVertical',
editorHeading: 'editor_heading',
editorItalic: 'editor_italic',
editorItemAlignBottom: 'editorItemAlignBottom',
editorItemAlignCenter: 'editorItemAlignCenter',
editorItemAlignLeft: 'editorItemAlignLeft',
editorItemAlignMiddle: 'editorItemAlignMiddle',
editorItemAlignRight: 'editorItemAlignRight',
editorItemAlignTop: 'editorItemAlignTop',
editorLink: 'editor_link',
editorOrderedList: 'editor_ordered_list',
editorPositionBottomLeft: 'editorPositionBottomLeft',
editorPositionBottomRight: 'editorPositionBottomRight',
editorPositionTopLeft: 'editorPositionTopLeft',
editorPositionTopRight: 'editorPositionTopRight',
editorRedo: 'editor_redo',
editorStrike: 'editor_strike',
editorTable: 'editor_table',
editorUnderline: 'editor_underline',
editorUndo: 'editor_undo',
editorUnorderedList: 'editor_unordered_list',
email: 'email',
empty: 'empty',
emsApp: 'app_ems',
endpoint: 'endpoint',
eql: 'eql',
eraser: 'eraser',
error: 'error',
errorFilled: 'errorFilled',
esqlVis: 'esqlVis',
exit: 'exit',
expand: 'expand',
expandMini: 'expandMini',
exportAction: 'export',
eye: 'eye',
eyeClosed: 'eye_closed',
faceHappy: 'face_happy',
faceNeutral: 'face_neutral',
faceSad: 'face_sad',
fieldStatistics: 'field_statistics',
filebeatApp: 'app_filebeat',
filter: 'filter',
filterExclude: 'filterExclude',
filterIgnore: 'filterIgnore',
filterInclude: 'filterInclude',
filterInCircle: 'filterInCircle',
flag: 'flag',
fleetApp: 'app_agent',
fold: 'fold',
folderCheck: 'folder_check',
folderClosed: 'folder_closed',
folderExclamation: 'folder_exclamation',
folderOpen: 'folder_open',
frameNext: 'frameNext',
framePrevious: 'framePrevious',
fullScreen: 'full_screen',
fullScreenExit: 'fullScreenExit',
function: 'function',
gear: 'gear',
gisApp: 'app_gis',
glasses: 'glasses',
globe: 'globe',
grab: 'grab',
grabHorizontal: 'grab_horizontal',
grabOmnidirectional: 'grabOmnidirectional',
gradient: 'gradient',
graphApp: 'app_graph',
grid: 'grid',
grokApp: 'app_grok',
heart: 'heart',
heartbeatApp: 'app_heartbeat',
heatmap: 'heatmap',
help: 'help',
home: 'home',
iInCircle: 'iInCircle',
image: 'image',
importAction: 'import',
index: 'index',
indexClose: 'index_close',
indexEdit: 'index_edit',
indexFlush: 'index_flush',
indexManagementApp: 'app_index_management',
indexMapping: 'index_mapping',
indexOpen: 'index_open',
indexPatternApp: 'app_index_pattern',
indexRollupApp: 'app_index_rollup',
indexRuntime: 'index_runtime',
indexSettings: 'index_settings',
indexTemporary: 'indexTemporary',
infinity: 'infinity',
inputOutput: 'inputOutput',
inspect: 'inspect',
invert: 'invert',
ip: 'ip',
key: 'key',
keyboard: 'keyboard',
kqlField: 'kql_field',
kqlFunction: 'kql_function',
kqlOperand: 'kql_operand',
kqlSelector: 'kql_selector',
kqlValue: 'kql_value',
kubernetesNode: 'kubernetesNode',
kubernetesPod: 'kubernetesPod',
launch: 'launch',
layers: 'layers',
lensApp: 'app_lens',
lettering: 'lettering',
lineDashed: 'lineDashed',
lineDotted: 'lineDotted',
lineSolid: 'lineSolid',
link: 'link',
list: 'list',
listAdd: 'list_add',
lock: 'lock',
lockOpen: 'lockOpen',
logPatternAnalysis: 'log_pattern_analysis',
logRateAnalysis: 'log_rate_analysis',
logoAWS: 'logo_aws',
logoAWSMono: 'logo_aws_mono',
logoAerospike: 'logo_aerospike',
logoApache: 'logo_apache',
logoAppSearch: 'logo_app_search',
logoAzure: 'logo_azure',
logoAzureMono: 'logo_azure_mono',
logoBeats: 'logo_beats',
logoBusinessAnalytics: 'logo_business_analytics',
logoCeph: 'logo_ceph',
logoCloud: 'logo_cloud',
logoCloudEnterprise: 'logo_cloud_ece',
logoCode: 'logo_code',
logoCodesandbox: 'logo_codesandbox',
logoCouchbase: 'logo_couchbase',
logoDocker: 'logo_docker',
logoDropwizard: 'logo_dropwizard',
logoElastic: 'logo_elastic',
logoElasticStack: 'logo_elastic_stack',
logoElasticsearch: 'logo_elasticsearch',
logoEnterpriseSearch: 'logo_enterprise_search',
logoEtcd: 'logo_etcd',
logoGCP: 'logo_gcp',
logoGCPMono: 'logo_gcp_mono',
logoGithub: 'logo_github',
logoGmail: 'logo_gmail',
logoGolang: 'logo_golang',
logoGoogleG: 'logo_google_g',
logoHAproxy: 'logo_haproxy',
logoIBM: 'logo_ibm',
logoIBMMono: 'logo_ibm_mono',
logoKafka: 'logo_kafka',
logoKibana: 'logo_kibana',
logoKubernetes: 'logo_kubernetes',
logoLogging: 'logo_logging',
logoLogstash: 'logo_logstash',
logoMaps: 'logo_maps',
logoMemcached: 'logo_memcached',
logoMetrics: 'logo_metrics',
logoMongodb: 'logo_mongodb',
logoMySQL: 'logo_mysql',
logoNginx: 'logo_nginx',
logoObservability: 'logo_observability',
logoOsquery: 'logo_osquery',
logoPhp: 'logo_php',
logoPostgres: 'logo_postgres',
logoPrometheus: 'logo_prometheus',
logoRabbitmq: 'logo_rabbitmq',
logoRedis: 'logo_redis',
logoSecurity: 'logo_security',
logoSiteSearch: 'logo_site_search',
logoSketch: 'logo_sketch',
logoSlack: 'logo_slack',
logoUptime: 'logo_uptime',
logoVulnerabilityManagement: 'logo_vulnerability_management',
logoWebhook: 'logo_webhook',
logoWindows: 'logo_windows',
logoWorkplaceSearch: 'logo_workplace_search',
logsApp: 'app_logs',
logstashFilter: 'logstash_filter',
logstashIf: 'logstash_if',
logstashInput: 'logstash_input',
logstashOutput: 'logstash_output',
logstashQueue: 'logstash_queue',
machineLearningApp: 'app_ml',
magnet: 'magnet',
magnifyWithExclamation: 'magnifyWithExclamation',
magnifyWithMinus: 'magnifyWithMinus',
magnifyWithPlus: 'magnifyWithPlus',
managementApp: 'app_management',
mapMarker: 'map_marker',
memory: 'memory',
menu: 'menu',
menuDown: 'menuDown',
menuLeft: 'menuLeft',
menuRight: 'menuRight',
menuUp: 'menuUp',
merge: 'merge',
metricbeatApp: 'app_metricbeat',
metricsApp: 'app_metrics',
minimize: 'minimize',
minus: 'minus',
minusInCircle: 'minus_in_circle',
minusInCircleFilled: 'minus_in_circle_filled',
minusInSquare: 'minus_in_square',
mobile: 'mobile',
monitoringApp: 'app_monitoring',
moon: 'moon',
move: 'move',
namespace: 'namespace',
nested: 'nested',
newChat: 'new_chat',
node: 'node',
notebookApp: 'app_notebook',
number: 'number',
offline: 'offline',
online: 'online',
outlierDetectionJob: 'ml_outlier_detection_job',
package: 'package',
packetbeatApp: 'app_packetbeat',
pageSelect: 'pageSelect',
pagesSelect: 'pagesSelect',
palette: 'palette',
paperClip: 'paper_clip',
partial: 'partial',
pause: 'pause',
payment: 'payment',
pencil: 'pencil',
percent: 'percent',
pin: 'pin',
pinFilled: 'pin_filled',
pipeBreaks: 'pipeBreaks',
pipelineApp: 'app_pipeline',
pipeNoBreaks: 'pipeNoBreaks',
pivot: 'pivot',
play: 'play',
playFilled: 'playFilled',
plus: 'plus',
plusInCircle: 'plus_in_circle',
plusInCircleFilled: 'plus_in_circle_filled',
plusInSquare: 'plus_in_square',
popout: 'popout',
push: 'push',
questionInCircle: 'question_in_circle',
quote: 'quote',
recentlyViewedApp: 'app_recently_viewed',
refresh: 'refresh',
regressionJob: 'ml_regression_job',
reporter: 'reporter',
reportingApp: 'app_reporting',
returnKey: 'return_key',
save: 'save',
savedObjectsApp: 'app_saved_objects',
scale: 'scale',
search: 'search',
searchProfilerApp: 'app_search_profiler',
securityAnalyticsApp: 'app_security_analytics',
securityApp: 'app_security',
securitySignal: 'securitySignal',
securitySignalDetected: 'securitySignalDetected',
securitySignalResolved: 'securitySignalResolved',
sessionViewer: 'sessionViewer',
shard: 'shard',
share: 'share',
singleMetricViewer: 'single_metric_viewer',
snowflake: 'snowflake',
sortAscending: 'sortAscending',
sortDescending: 'sortDescending',
sortDown: 'sort_down',
sortLeft: 'sortLeft',
sortRight: 'sortRight',
sortUp: 'sort_up',
sortable: 'sortable',
spaces: 'spaces',
spacesApp: 'app_spaces',
sparkles: 'sparkles',
sqlApp: 'app_sql',
starEmpty: 'star_empty',
starEmptySpace: 'star_empty_space',
starFilled: 'star_filled',
starFilledSpace: 'star_filled_space',
starMinusEmpty: 'star_minus_empty',
starMinusFilled: 'star_minus_filled',
starPlusEmpty: 'starPlusEmpty',
starPlusFilled: 'starPlusFilled',
stats: 'stats',
stop: 'stop',
stopFilled: 'stop_filled',
stopSlash: 'stop_slash',
storage: 'storage',
string: 'string',
submodule: 'submodule',
sun: 'sun',
swatchInput: 'swatch_input',
// Undocumented on purpose. Has an extra stroke for EuiColorPicker
symlink: 'symlink',
tableDensityCompact: 'table_density_compact',
tableDensityExpanded: 'table_density_expanded',
tableDensityNormal: 'table_density_normal',
tableOfContents: 'tableOfContents',
tag: 'tag',
tear: 'tear',
temperature: 'temperature',
timeline: 'timeline',
timelineWithArrow: 'timelineWithArrow',
timelionApp: 'app_timelion',
timeRefresh: 'timeRefresh',
timeslider: 'timeslider',
training: 'training',
transitionLeftIn: 'transitionLeftIn',
transitionLeftOut: 'transitionLeftOut',
transitionTopIn: 'transitionTopIn',
transitionTopOut: 'transitionTopOut',
trash: 'trash',
unfold: 'unfold',
unlink: 'unlink',
upgradeAssistantApp: 'app_upgrade_assistant',
uptimeApp: 'app_uptime',
user: 'user',
userAvatar: 'userAvatar',
users: 'users',
usersRolesApp: 'app_users_roles',
vector: 'vector',
videoPlayer: 'videoPlayer',
visArea: 'vis_area',
visAreaStacked: 'vis_area_stacked',
visBarHorizontal: 'vis_bar_horizontal',
visBarHorizontalStacked: 'vis_bar_horizontal_stacked',
visBarVertical: 'vis_bar_vertical',
visBarVerticalStacked: 'vis_bar_vertical_stacked',
visGauge: 'vis_gauge',
visGoal: 'vis_goal',
visLine: 'vis_line',
visMapCoordinate: 'vis_map_coordinate',
visMapRegion: 'vis_map_region',
visMetric: 'vis_metric',
visPie: 'vis_pie',
visTable: 'vis_table',
visTagCloud: 'vis_tag_cloud',
visText: 'vis_text',
visTimelion: 'vis_timelion',
visVega: 'vis_vega',
visVisualBuilder: 'vis_visual_builder',
visualizeApp: 'app_visualize',
vulnerabilityManagementApp: 'app_vulnerability_management',
warning: 'warning',
warningFilled: 'warningFilled',
alert: 'warning',
// NOTE: This is an undocumented alias for `warning`, added for legacy compatability with Elastic Charts
watchesApp: 'app_watches',
wordWrap: 'wordWrap',
wordWrapDisabled: 'wordWrapDisabled',
workplaceSearchApp: 'app_workplace_search',
wrench: 'wrench',
// Token Icon Imports
tokenAlias: 'tokenAlias',
tokenAnnotation: 'tokenAnnotation',
tokenArray: 'tokenArray',
tokenBinary: 'tokenBinary',
tokenBoolean: 'tokenBoolean',
tokenClass: 'tokenClass',
tokenCompletionSuggester: 'tokenCompletionSuggester',
tokenConstant: 'tokenConstant',
tokenDate: 'tokenDate',
tokenDimension: 'tokenDimension',
tokenElement: 'tokenElement',
tokenEnum: 'tokenEnum',
tokenEnumMember: 'tokenEnumMember',
tokenEvent: 'tokenEvent',
tokenException: 'tokenException',
tokenField: 'tokenField',
tokenFile: 'tokenFile',
tokenFlattened: 'tokenFlattened',
tokenFunction: 'tokenFunction',
tokenGeo: 'tokenGeo',
tokenHistogram: 'tokenHistogram',
tokenInterface: 'tokenInterface',
tokenIP: 'tokenIP',
tokenJoin: 'tokenJoin',
tokenKey: 'tokenKey',
tokenKeyword: 'tokenKeyword',
tokenMethod: 'tokenMethod',
tokenMetricCounter: 'tokenMetricCounter',
tokenMetricGauge: 'tokenMetricGauge',
tokenModule: 'tokenModule',
tokenNamespace: 'tokenNamespace',
tokenNested: 'tokenNested',
tokenNull: 'tokenNull',
tokenNumber: 'tokenNumber',
tokenObject: 'tokenObject',
tokenOperator: 'tokenOperator',
tokenPackage: 'tokenPackage',
tokenParameter: 'tokenParameter',
tokenPercolator: 'tokenPercolator',
tokenProperty: 'tokenProperty',
tokenRange: 'tokenRange',
tokenRankFeature: 'tokenRankFeature',
tokenRankFeatures: 'tokenRankFeatures',
tokenRepo: 'tokenRepo',
tokenSearchType: 'tokenSearchType',
tokenSemanticText: 'tokenSemanticText',
tokenShape: 'tokenShape',
tokenString: 'tokenString',
tokenStruct: 'tokenStruct',
tokenSymbol: 'tokenSymbol',
tokenTag: 'tokenTag',
tokenText: 'tokenText',
tokenTokenCount: 'tokenTokenCount',
tokenVariable: 'tokenVariable',
tokenVectorDense: 'tokenVectorDense',
tokenDenseVector: 'tokenVectorDense',
// NOTE: This is an undocumented alias for `tokenVectorDense`, added for legacy compatability
tokenVectorSparse: 'tokenVectorSparse'
};