"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.uncategorizedLabel = exports.sortOrdersLabel = exports.sortOptions = exports.selectDatasetLabel = exports.noIntegrationsLabel = exports.noIntegrationsDescriptionLabel = exports.noDatasetsLabel = exports.noDatasetsDescriptionLabel = exports.noDataRetryLabel = exports.integrationsLabel = exports.errorLabel = exports.contextMenuStyles = exports.UNMANAGED_STREAMS_PANEL_ID = exports.POPOVER_ID = exports.INTEGRATION_PANEL_ID = exports.DATA_VIEW_POPOVER_CONTENT_WIDTH = void 0; var _i18n = require("@kbn/i18n"); /* * 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; you may not use this file except in compliance with the Elastic License * 2.0. */ const POPOVER_ID = 'dataset-selector-popover'; exports.POPOVER_ID = POPOVER_ID; const INTEGRATION_PANEL_ID = 'integrations_panel'; exports.INTEGRATION_PANEL_ID = INTEGRATION_PANEL_ID; const UNMANAGED_STREAMS_PANEL_ID = 'unmanaged_streams_panel'; exports.UNMANAGED_STREAMS_PANEL_ID = UNMANAGED_STREAMS_PANEL_ID; const DATA_VIEW_POPOVER_CONTENT_WIDTH = 300; exports.DATA_VIEW_POPOVER_CONTENT_WIDTH = DATA_VIEW_POPOVER_CONTENT_WIDTH; const contextMenuStyles = { maxHeight: 440 }; exports.contextMenuStyles = contextMenuStyles; const selectDatasetLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.selectDataset', { defaultMessage: 'Select dataset' }); exports.selectDatasetLabel = selectDatasetLabel; const integrationsLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.integrations', { defaultMessage: 'Integrations' }); exports.integrationsLabel = integrationsLabel; const uncategorizedLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.uncategorized', { defaultMessage: 'Uncategorized' }); exports.uncategorizedLabel = uncategorizedLabel; const sortOrdersLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.sortOrders', { defaultMessage: 'Sort directions' }); exports.sortOrdersLabel = sortOrdersLabel; const noDatasetsLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.noDatasets', { defaultMessage: 'No data streams found' }); exports.noDatasetsLabel = noDatasetsLabel; const noDatasetsDescriptionLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.noDatasetsDescription', { defaultMessage: 'No datasets or search results found.' }); exports.noDatasetsDescriptionLabel = noDatasetsDescriptionLabel; const noIntegrationsLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.noIntegrations', { defaultMessage: 'No integrations found' }); exports.noIntegrationsLabel = noIntegrationsLabel; const noIntegrationsDescriptionLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.noIntegrationsDescription', { defaultMessage: 'No integrations or search results found.' }); exports.noIntegrationsDescriptionLabel = noIntegrationsDescriptionLabel; const errorLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.error', { defaultMessage: 'error' }); exports.errorLabel = errorLabel; const noDataRetryLabel = _i18n.i18n.translate('xpack.discoverLogExplorer.datasetSelector.noDataRetry', { defaultMessage: 'Retry' }); exports.noDataRetryLabel = noDataRetryLabel; const sortOptions = [{ id: 'asc', iconType: 'sortAscending', label: 'Ascending' }, { id: 'desc', iconType: 'sortDescending', label: 'Descending' }]; exports.sortOptions = sortOptions;