- {i18n.translate('discover.sourceViewer.errorMessage', {
+ {i18n.translate('unifiedDocViewer.sourceViewer.errorMessage', {
defaultMessage: 'Could not fetch data at this time. Refresh the tab to try again.',
})}
-
- {i18n.translate('discover.sourceViewer.refresh', {
+
+ {i18n.translate('unifiedDocViewer.sourceViewer.refresh', {
defaultMessage: 'Refresh',
})}
@@ -122,11 +125,11 @@ export const DocViewerSource = ({
);
- if (reqState === ElasticRequestState.Error || reqState === ElasticRequestState.NotFound) {
+ if (requestState === ElasticRequestState.Error || requestState === ElasticRequestState.NotFound) {
return errorState;
}
- if (reqState === ElasticRequestState.Loading || jsonValue === '') {
+ if (requestState === ElasticRequestState.Loading || jsonValue === '') {
return loadingState;
}
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/index.ts b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/index.ts
similarity index 100%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/index.ts
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/index.ts
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/index.ts b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/index.ts
similarity index 100%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/index.ts
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/index.ts
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table.test.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table.test.tsx
similarity index 97%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table.test.tsx
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table.test.tsx
index d1ab0d3d8b3e5..3a614ef71ad5e 100644
--- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table.test.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table.test.tsx
@@ -10,11 +10,11 @@ import React from 'react';
import { mountWithIntl } from '@kbn/test-jest-helpers';
import { findTestSubject } from '@elastic/eui/lib/test';
import { DocViewerLegacyTable } from './table';
-import { DataView } from '@kbn/data-views-plugin/public';
-import { DocViewRenderProps } from '../../../doc_views_types';
+import type { DataView } from '@kbn/data-views-plugin/public';
+import type { DocViewRenderProps } from '@kbn/unified-doc-viewer/types';
import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public';
-import { DiscoverServices } from '../../../../../build_services';
import { buildDataTableRecord } from '@kbn/discover-utils';
+import type { UnifiedDocViewerServices } from '../../../hooks';
const services = {
uiSettings: {
@@ -73,7 +73,10 @@ dataView.fields.getByName = (name: string) => {
return dataView.fields.getAll().find((field) => field.name === name);
};
-const mountComponent = (props: DocViewRenderProps, overrides?: Partial) => {
+const mountComponent = (
+ props: DocViewRenderProps,
+ overrides?: Partial
+) => {
return mountWithIntl(
{' '}
@@ -419,7 +422,7 @@ describe('DocViewTable at Discover Doc with Fields API', () => {
}
},
},
- } as unknown as DiscoverServices;
+ } as unknown as UnifiedDocViewerServices;
const component = mountComponent(props, overridedServices);
const categoryKeywordRow = findTestSubject(component, 'tableDocViewRow-category.keyword');
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table.tsx
similarity index 94%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table.tsx
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table.tsx
index 1d465978b17b1..6b2a70b868911 100644
--- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table.tsx
@@ -17,8 +17,8 @@ import {
getShouldShowFieldHandler,
isNestedFieldParent,
} from '@kbn/discover-utils';
-import { useDiscoverServices } from '../../../../../hooks/use_discover_services';
-import { DocViewRenderProps, FieldRecordLegacy } from '../../../doc_views_types';
+import type { DocViewRenderProps, FieldRecordLegacy } from '@kbn/unified-doc-viewer/types';
+import { useUnifiedDocViewerServices } from '../../../hooks';
import { ACTIONS_COLUMN, MAIN_COLUMNS } from './table_columns';
export const DocViewerLegacyTable = ({
@@ -29,7 +29,7 @@ export const DocViewerLegacyTable = ({
onAddColumn,
onRemoveColumn,
}: DocViewRenderProps) => {
- const { fieldFormats, uiSettings } = useDiscoverServices();
+ const { fieldFormats, uiSettings } = useUnifiedDocViewerServices();
const showMultiFields = useMemo(() => uiSettings.get(SHOW_MULTIFIELDS), [uiSettings]);
const mapping = useCallback((name: string) => dataView.fields.getByName(name), [dataView.fields]);
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_cell_actions.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_cell_actions.tsx
similarity index 93%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_cell_actions.tsx
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_cell_actions.tsx
index 3ce4b789bd1ff..4499a44190747 100644
--- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_cell_actions.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_cell_actions.tsx
@@ -7,12 +7,12 @@
*/
import React from 'react';
-import { DataViewField } from '@kbn/data-views-plugin/public';
+import type { DataViewField } from '@kbn/data-views-plugin/public';
+import type { DocViewFilterFn } from '@kbn/unified-doc-viewer/types';
import { DocViewTableRowBtnFilterRemove } from './table_row_btn_filter_remove';
import { DocViewTableRowBtnFilterExists } from './table_row_btn_filter_exists';
import { DocViewTableRowBtnToggleColumn } from './table_row_btn_toggle_column';
import { DocViewTableRowBtnFilterAdd } from './table_row_btn_filter_add';
-import { DocViewFilterFn } from '../../../doc_views_types';
interface TableActionsProps {
field: string;
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_columns.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_columns.tsx
similarity index 84%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_columns.tsx
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_columns.tsx
index 121187761b2c6..4b79a84970698 100644
--- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_columns.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_columns.tsx
@@ -9,10 +9,10 @@
import { EuiBasicTableColumn, EuiText } from '@elastic/eui';
import React from 'react';
import { FormattedMessage } from '@kbn/i18n-react';
-import { FieldName } from '../../../../../components/field_name/field_name';
+import type { FieldRecordLegacy } from '@kbn/unified-doc-viewer/types';
+import { FieldName } from '@kbn/unified-doc-viewer';
import { TableActions } from './table_cell_actions';
import { TableFieldValue } from '../table_cell_value';
-import { FieldRecordLegacy } from '../../../doc_views_types';
export const ACTIONS_COLUMN: EuiBasicTableColumn = {
field: 'action',
@@ -23,7 +23,7 @@ export const ACTIONS_COLUMN: EuiBasicTableColumn = {
@@ -55,7 +55,10 @@ export const MAIN_COLUMNS: Array> = [
name: (
-
+
),
@@ -85,7 +88,10 @@ export const MAIN_COLUMNS: Array> = [
name: (
-
+
),
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_row_btn_filter_add.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_row_btn_filter_add.tsx
similarity index 77%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_row_btn_filter_add.tsx
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_row_btn_filter_add.tsx
index ac3768cb96ecd..180dae22cb25f 100644
--- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/legacy/table_row_btn_filter_add.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/legacy/table_row_btn_filter_add.tsx
@@ -19,12 +19,12 @@ export interface Props {
export function DocViewTableRowBtnFilterAdd({ onClick, disabled = false }: Props) {
const tooltipContent = disabled ? (
) : (
);
@@ -32,9 +32,12 @@ export function DocViewTableRowBtnFilterAdd({ onClick, disabled = false }: Props
return (
) : (
)
) : (
);
@@ -44,9 +44,12 @@ export function DocViewTableRowBtnFilterExists({
return (
) : (
);
@@ -32,9 +32,12 @@ export function DocViewTableRowBtnFilterRemove({ onClick, disabled = false }: Pr
return (
}
>
{
const showActionsInsideTableCell = useIsWithinBreakpoints(['xl'], true);
- const { storage, uiSettings, fieldFormats } = useDiscoverServices();
+ const { fieldFormats, storage, uiSettings } = useUnifiedDocViewerServices();
const showMultiFields = uiSettings.get(SHOW_MULTIFIELDS);
const currentDataViewId = dataView.id!;
const isSingleDocView = !filter;
@@ -129,7 +129,7 @@ export const DocViewerTable = ({
[flattened, dataView, showMultiFields]
);
- const searchPlaceholder = i18n.translate('discover.docView.table.searchPlaceHolder', {
+ const searchPlaceholder = i18n.translate('unifiedDocViewer.docView.table.searchPlaceHolder', {
defaultMessage: 'Search field names',
});
@@ -283,7 +283,7 @@ export const DocViewerTable = ({
@@ -293,14 +293,20 @@ export const DocViewerTable = ({
-
+
,
-
+
,
@@ -401,7 +407,10 @@ export const DocViewerTable = ({
{rowElements.length === 0 ? (
-
+
) : (
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.tsx
similarity index 75%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.tsx
index 9f29f3ba7f69f..8b9a35e071310 100644
--- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_actions.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_actions.tsx
@@ -17,7 +17,7 @@ import {
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import type { DataViewField } from '@kbn/data-views-plugin/public';
-import { DocViewFilterFn } from '../../doc_views_types';
+import type { DocViewFilterFn } from '@kbn/unified-doc-viewer/types';
interface TableActionsProps {
mode?: 'inline' | 'as_popover';
@@ -43,43 +43,49 @@ export const TableActions = ({
onTogglePinned,
}: TableActionsProps) => {
const [isOpen, setIsOpen] = useState(false);
- const openActionsLabel = i18n.translate('discover.docView.table.actions.open', {
+ const openActionsLabel = i18n.translate('unifiedDocViewer.docView.table.actions.open', {
defaultMessage: 'Open actions',
});
- const actionsLabel = i18n.translate('discover.docView.table.actions.label', {
+ const actionsLabel = i18n.translate('unifiedDocViewer.docView.table.actions.label', {
defaultMessage: 'Actions',
});
// Filters pair
const filtersPairDisabled = !fieldMapping || !fieldMapping.filterable || ignoredValue;
- const filterAddLabel = i18n.translate('discover.docViews.table.filterForValueButtonTooltip', {
- defaultMessage: 'Filter for value',
- });
+ const filterAddLabel = i18n.translate(
+ 'unifiedDocViewer.docViews.table.filterForValueButtonTooltip',
+ {
+ defaultMessage: 'Filter for value',
+ }
+ );
const filterAddAriaLabel = i18n.translate(
- 'discover.docViews.table.filterForValueButtonAriaLabel',
+ 'unifiedDocViewer.docViews.table.filterForValueButtonAriaLabel',
{ defaultMessage: 'Filter for value' }
);
- const filterOutLabel = i18n.translate('discover.docViews.table.filterOutValueButtonTooltip', {
- defaultMessage: 'Filter out value',
- });
+ const filterOutLabel = i18n.translate(
+ 'unifiedDocViewer.docViews.table.filterOutValueButtonTooltip',
+ {
+ defaultMessage: 'Filter out value',
+ }
+ );
const filterOutAriaLabel = i18n.translate(
- 'discover.docViews.table.filterOutValueButtonAriaLabel',
+ 'unifiedDocViewer.docViews.table.filterOutValueButtonAriaLabel',
{ defaultMessage: 'Filter out value' }
);
const filtersPairToolTip =
(filtersPairDisabled &&
- i18n.translate('discover.docViews.table.unindexedFieldsCanNotBeSearchedTooltip', {
+ i18n.translate('unifiedDocViewer.docViews.table.unindexedFieldsCanNotBeSearchedTooltip', {
defaultMessage: 'Unindexed fields or ignored values cannot be searched',
})) ||
undefined;
// Filter exists
const filterExistsLabel = i18n.translate(
- 'discover.docViews.table.filterForFieldPresentButtonTooltip',
+ 'unifiedDocViewer.docViews.table.filterForFieldPresentButtonTooltip',
{ defaultMessage: 'Filter for field present' }
);
const filterExistsAriaLabel = i18n.translate(
- 'discover.docViews.table.filterForFieldPresentButtonAriaLabel',
+ 'unifiedDocViewer.docViews.table.filterForFieldPresentButtonAriaLabel',
{ defaultMessage: 'Filter for field present' }
);
const filtersExistsDisabled = !fieldMapping || !fieldMapping.filterable;
@@ -87,35 +93,44 @@ export const TableActions = ({
(filtersExistsDisabled &&
(fieldMapping && fieldMapping.scripted
? i18n.translate(
- 'discover.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip',
+ 'unifiedDocViewer.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip',
{
defaultMessage: 'Unable to filter for presence of scripted fields',
}
)
- : i18n.translate('discover.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip', {
- defaultMessage: 'Unable to filter for presence of meta fields',
- }))) ||
+ : i18n.translate(
+ 'unifiedDocViewer.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip',
+ {
+ defaultMessage: 'Unable to filter for presence of meta fields',
+ }
+ ))) ||
undefined;
// Toggle columns
const toggleColumnsLabel = i18n.translate(
- 'discover.docViews.table.toggleColumnInTableButtonTooltip',
+ 'unifiedDocViewer.docViews.table.toggleColumnInTableButtonTooltip',
{ defaultMessage: 'Toggle column in table' }
);
const toggleColumnsAriaLabel = i18n.translate(
- 'discover.docViews.table.toggleColumnInTableButtonAriaLabel',
+ 'unifiedDocViewer.docViews.table.toggleColumnInTableButtonAriaLabel',
{ defaultMessage: 'Toggle column in table' }
);
// Pinned
const pinnedLabel = pinned
- ? i18n.translate('discover.docViews.table.unpinFieldLabel', { defaultMessage: 'Unpin field' })
- : i18n.translate('discover.docViews.table.pinFieldLabel', { defaultMessage: 'Pin field' });
+ ? i18n.translate('unifiedDocViewer.docViews.table.unpinFieldLabel', {
+ defaultMessage: 'Unpin field',
+ })
+ : i18n.translate('unifiedDocViewer.docViews.table.pinFieldLabel', {
+ defaultMessage: 'Pin field',
+ });
const pinnedAriaLabel = pinned
- ? i18n.translate('discover.docViews.table.unpinFieldAriaLabel', {
+ ? i18n.translate('unifiedDocViewer.docViews.table.unpinFieldAriaLabel', {
defaultMessage: 'Unpin field',
})
- : i18n.translate('discover.docViews.table.pinFieldAriaLabel', { defaultMessage: 'Pin field' });
+ : i18n.translate('unifiedDocViewer.docViews.table.pinFieldAriaLabel', {
+ defaultMessage: 'Pin field',
+ });
const pinnedIconType = pinned ? 'pinFilled' : 'pin';
const toggleOpenPopover = useCallback(() => setIsOpen((current) => !current), []);
diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_value.tsx b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.tsx
similarity index 83%
rename from src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_value.tsx
rename to src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.tsx
index d1ec9d369439f..79c79e6a45836 100644
--- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_value.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/doc_viewer_table/table_cell_value.tsx
@@ -26,26 +26,26 @@ const IgnoreWarning: React.FC = React.memo(({ rawValue, reas
switch (reason) {
case IgnoredReason.IGNORE_ABOVE:
return multiValue
- ? i18n.translate('discover.docView.table.ignored.multiAboveTooltip', {
+ ? i18n.translate('unifiedDocViewer.docView.table.ignored.multiAboveTooltip', {
defaultMessage: `One or more values in this field are too long and can't be searched or filtered.`,
})
- : i18n.translate('discover.docView.table.ignored.singleAboveTooltip', {
+ : i18n.translate('unifiedDocViewer.docView.table.ignored.singleAboveTooltip', {
defaultMessage: `The value in this field is too long and can't be searched or filtered.`,
});
case IgnoredReason.MALFORMED:
return multiValue
- ? i18n.translate('discover.docView.table.ignored.multiMalformedTooltip', {
+ ? i18n.translate('unifiedDocViewer.docView.table.ignored.multiMalformedTooltip', {
defaultMessage: `This field has one or more malformed values that can't be searched or filtered.`,
})
- : i18n.translate('discover.docView.table.ignored.singleMalformedTooltip', {
+ : i18n.translate('unifiedDocViewer.docView.table.ignored.singleMalformedTooltip', {
defaultMessage: `The value in this field is malformed and can't be searched or filtered.`,
});
case IgnoredReason.UNKNOWN:
return multiValue
- ? i18n.translate('discover.docView.table.ignored.multiUnknownTooltip', {
+ ? i18n.translate('unifiedDocViewer.docView.table.ignored.multiUnknownTooltip', {
defaultMessage: `One or more values in this field were ignored by Elasticsearch and can't be searched or filtered.`,
})
- : i18n.translate('discover.docView.table.ignored.singleUnknownTooltip', {
+ : i18n.translate('unifiedDocViewer.docView.table.ignored.singleUnknownTooltip', {
defaultMessage: `The value in this field was ignored by Elasticsearch and can't be searched or filtered.`,
});
}
@@ -67,10 +67,10 @@ const IgnoreWarning: React.FC = React.memo(({ rawValue, reas
{multiValue
- ? i18n.translate('discover.docViews.table.ignored.multiValueLabel', {
+ ? i18n.translate('unifiedDocViewer.docViews.table.ignored.multiValueLabel', {
defaultMessage: 'Contains ignored values',
})
- : i18n.translate('discover.docViews.table.ignored.singleValueLabel', {
+ : i18n.translate('unifiedDocViewer.docViews.table.ignored.singleValueLabel', {
defaultMessage: 'Ignored value',
})}
diff --git a/src/plugins/unified_doc_viewer/public/components/index.ts b/src/plugins/unified_doc_viewer/public/components/index.ts
new file mode 100644
index 0000000000000..b5f3a8948d689
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/public/components/index.ts
@@ -0,0 +1,12 @@
+/*
+ * 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.
+ */
+
+export * from './doc_viewer';
+export * from './doc_viewer_source';
+export * from './doc_viewer_table';
+export * from './json_code_editor';
diff --git a/src/plugins/discover/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap b/src/plugins/unified_doc_viewer/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap
similarity index 100%
rename from src/plugins/discover/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap
rename to src/plugins/unified_doc_viewer/public/components/json_code_editor/__snapshots__/json_code_editor.test.tsx.snap
diff --git a/src/plugins/unified_doc_viewer/public/components/json_code_editor/index.ts b/src/plugins/unified_doc_viewer/public/components/json_code_editor/index.ts
new file mode 100644
index 0000000000000..d0e3147e65ab1
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/public/components/json_code_editor/index.ts
@@ -0,0 +1,10 @@
+/*
+ * 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.
+ */
+
+export * from './json_code_editor';
+export * from './json_code_editor_common';
diff --git a/src/plugins/discover/public/components/json_code_editor/json_code_editor.scss b/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.scss
similarity index 100%
rename from src/plugins/discover/public/components/json_code_editor/json_code_editor.scss
rename to src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.scss
diff --git a/src/plugins/discover/public/components/json_code_editor/json_code_editor.test.tsx b/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.test.tsx
similarity index 92%
rename from src/plugins/discover/public/components/json_code_editor/json_code_editor.test.tsx
rename to src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.test.tsx
index 9ec60410b591e..e1ec1373f8657 100644
--- a/src/plugins/discover/public/components/json_code_editor/json_code_editor.test.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.test.tsx
@@ -8,7 +8,7 @@
import React from 'react';
import { shallow } from 'enzyme';
-import { JsonCodeEditor } from './json_code_editor';
+import JsonCodeEditor from './json_code_editor';
it('returns the `JsonCodeEditor` component', () => {
const value = {
diff --git a/src/plugins/discover/public/components/json_code_editor/json_code_editor.tsx b/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.tsx
similarity index 78%
rename from src/plugins/discover/public/components/json_code_editor/json_code_editor.tsx
rename to src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.tsx
index 426a180d37957..d08e35eb6d4bf 100644
--- a/src/plugins/discover/public/components/json_code_editor/json_code_editor.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor.tsx
@@ -11,14 +11,21 @@ import './json_code_editor.scss';
import React from 'react';
import { JsonCodeEditorCommon } from './json_code_editor_common';
-interface JsonCodeEditorProps {
+export interface JsonCodeEditorProps {
json: Record;
width?: string | number;
height?: string | number;
hasLineNumbers?: boolean;
}
-export const JsonCodeEditor = ({ json, width, height, hasLineNumbers }: JsonCodeEditorProps) => {
+// Required for usage in React.lazy
+// eslint-disable-next-line import/no-default-export
+export default function JsonCodeEditor({
+ json,
+ width,
+ height,
+ hasLineNumbers,
+}: JsonCodeEditorProps) {
const jsonValue = JSON.stringify(json, null, 2);
return (
@@ -31,4 +38,4 @@ export const JsonCodeEditor = ({ json, width, height, hasLineNumbers }: JsonCode
hideCopyButton={true}
/>
);
-};
+}
diff --git a/src/plugins/discover/public/components/json_code_editor/json_code_editor_common.tsx b/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor_common.tsx
similarity index 93%
rename from src/plugins/discover/public/components/json_code_editor/json_code_editor_common.tsx
rename to src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor_common.tsx
index 777240fe2f5bb..fa5dbfbe616ea 100644
--- a/src/plugins/discover/public/components/json_code_editor/json_code_editor_common.tsx
+++ b/src/plugins/unified_doc_viewer/public/components/json_code_editor/json_code_editor_common.tsx
@@ -14,10 +14,10 @@ import { monaco, XJsonLang } from '@kbn/monaco';
import { EuiButtonEmpty, EuiCopy, EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui';
import { CodeEditor } from '@kbn/kibana-react-plugin/public';
-const codeEditorAriaLabel = i18n.translate('discover.json.codeEditorAriaLabel', {
+const codeEditorAriaLabel = i18n.translate('unifiedDocViewer.json.codeEditorAriaLabel', {
defaultMessage: 'Read only JSON view of an elasticsearch document',
});
-const copyToClipboardLabel = i18n.translate('discover.json.copyToClipboardLabel', {
+const copyToClipboardLabel = i18n.translate('unifiedDocViewer.json.copyToClipboardLabel', {
defaultMessage: 'Copy to clipboard',
});
diff --git a/src/plugins/unified_doc_viewer/public/hooks/index.ts b/src/plugins/unified_doc_viewer/public/hooks/index.ts
new file mode 100644
index 0000000000000..547032ce4415e
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/public/hooks/index.ts
@@ -0,0 +1,10 @@
+/*
+ * 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.
+ */
+
+export * from './use_doc_viewer_services';
+export * from './use_es_doc_search';
diff --git a/src/plugins/unified_doc_viewer/public/hooks/use_doc_viewer_services.ts b/src/plugins/unified_doc_viewer/public/hooks/use_doc_viewer_services.ts
new file mode 100644
index 0000000000000..4287e87ea6aa3
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/public/hooks/use_doc_viewer_services.ts
@@ -0,0 +1,30 @@
+/*
+ * 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.
+ */
+
+import type { AnalyticsServiceStart } from '@kbn/core-analytics-browser';
+import type { DataPublicPluginStart } from '@kbn/data-plugin/public';
+import type { FieldFormatsStart } from '@kbn/field-formats-plugin/public';
+import type { Storage } from '@kbn/kibana-utils-plugin/public';
+import type { IUiSettingsClient } from '@kbn/core-ui-settings-browser';
+import { useKibana } from '@kbn/kibana-react-plugin/public';
+import type { UnifiedDocViewerStart } from '../plugin';
+
+export interface UnifiedDocViewerServices {
+ analytics: AnalyticsServiceStart;
+ data: DataPublicPluginStart;
+ fieldFormats: FieldFormatsStart;
+ storage: Storage;
+ uiSettings: IUiSettingsClient;
+ unifiedDocViewer: UnifiedDocViewerStart;
+}
+
+export function useUnifiedDocViewerServices(): UnifiedDocViewerServices {
+ const { services } = useKibana();
+ const { analytics, data, fieldFormats, storage, uiSettings, unifiedDocViewer } = services;
+ return { analytics, data, fieldFormats, storage, uiSettings, unifiedDocViewer };
+}
diff --git a/src/plugins/discover/public/hooks/use_es_doc_search.test.tsx b/src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.test.tsx
similarity index 93%
rename from src/plugins/discover/public/hooks/use_es_doc_search.test.tsx
rename to src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.test.tsx
index 64a998a542069..cee1cf509e138 100644
--- a/src/plugins/discover/public/hooks/use_es_doc_search.test.tsx
+++ b/src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.test.tsx
@@ -7,11 +7,10 @@
*/
import { renderHook, act } from '@testing-library/react-hooks';
-import { buildSearchBody, useEsDocSearch } from './use_es_doc_search';
+import { type EsDocSearchProps, buildSearchBody, useEsDocSearch } from './use_es_doc_search';
import { Subject } from 'rxjs';
-import { DataView } from '@kbn/data-views-plugin/public';
-import { DocProps } from '../application/doc/components/doc';
-import { ElasticRequestState } from '../application/doc/types';
+import type { DataView } from '@kbn/data-views-plugin/public';
+import { ElasticRequestState } from '@kbn/unified-doc-viewer';
import {
SEARCH_FIELDS_FROM_SOURCE as mockSearchFieldsFromSource,
buildDataTableRecord,
@@ -227,9 +226,9 @@ describe('Test of helper / hook', () => {
id: '1',
index: 'index1',
dataView,
- } as unknown as DocProps;
+ } as unknown as EsDocSearchProps;
- const hook = renderHook((p: DocProps) => useEsDocSearch(p), {
+ const hook = renderHook((p: EsDocSearchProps) => useEsDocSearch(p), {
initialProps: props,
wrapper: ({ children }) => (
{children}
@@ -251,9 +250,9 @@ describe('Test of helper / hook', () => {
id: '1',
index: 'index1',
dataView,
- } as unknown as DocProps;
+ } as unknown as EsDocSearchProps;
- const hook = renderHook((p: DocProps) => useEsDocSearch(p), {
+ const hook = renderHook((p: EsDocSearchProps) => useEsDocSearch(p), {
initialProps: props,
wrapper: ({ children }) => (
{children}
@@ -305,9 +304,9 @@ describe('Test of helper / hook', () => {
flattened: { field1: 1, field2: 2 },
},
],
- } as unknown as DocProps;
+ } as unknown as EsDocSearchProps;
- const hook = renderHook((p: DocProps) => useEsDocSearch(p), {
+ const hook = renderHook((p: EsDocSearchProps) => useEsDocSearch(p), {
initialProps: props,
wrapper: ({ children }) => (
{children}
diff --git a/src/plugins/discover/public/hooks/use_es_doc_search.ts b/src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.ts
similarity index 84%
rename from src/plugins/discover/public/hooks/use_es_doc_search.ts
rename to src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.ts
index b430d6b4531b9..d215306d6f7ea 100644
--- a/src/plugins/discover/public/hooks/use_es_doc_search.ts
+++ b/src/plugins/unified_doc_viewer/public/hooks/use_es_doc_search.ts
@@ -9,16 +9,38 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
import { lastValueFrom } from 'rxjs';
-import { DataView } from '@kbn/data-views-plugin/public';
+import type { DataView } from '@kbn/data-views-plugin/public';
import { reportPerformanceMetricEvent } from '@kbn/ebt-tools';
import type { DataTableRecord } from '@kbn/discover-utils/types';
import { SEARCH_FIELDS_FROM_SOURCE, buildDataTableRecord } from '@kbn/discover-utils';
-import { DocProps } from '../application/doc/components/doc';
-import { ElasticRequestState } from '../application/doc/types';
-import { useDiscoverServices } from './use_discover_services';
+import { ElasticRequestState } from '@kbn/unified-doc-viewer';
+import { useUnifiedDocViewerServices } from './use_doc_viewer_services';
type RequestBody = Pick;
+export interface EsDocSearchProps {
+ /**
+ * Id of the doc in ES
+ */
+ id: string;
+ /**
+ * Index in ES to query
+ */
+ index: string;
+ /**
+ * DataView entity
+ */
+ dataView: DataView;
+ /**
+ * If set, will always request source, regardless of the global `fieldsFromSource` setting
+ */
+ requestSource?: boolean;
+ /**
+ * Records fetched from text based query
+ */
+ textBasedHits?: DataTableRecord[];
+}
+
/**
* Custom react hook for querying a single doc in ElasticSearch
*/
@@ -28,10 +50,10 @@ export function useEsDocSearch({
dataView,
requestSource,
textBasedHits,
-}: DocProps): [ElasticRequestState, DataTableRecord | null, () => void] {
+}: EsDocSearchProps): [ElasticRequestState, DataTableRecord | null, () => void] {
const [status, setStatus] = useState(ElasticRequestState.Loading);
const [hit, setHit] = useState(null);
- const { data, uiSettings, analytics } = useDiscoverServices();
+ const { data, uiSettings, analytics } = useUnifiedDocViewerServices();
const useNewFieldsApi = useMemo(() => !uiSettings.get(SEARCH_FIELDS_FROM_SOURCE), [uiSettings]);
const requestData = useCallback(async () => {
diff --git a/src/plugins/unified_doc_viewer/public/index.tsx b/src/plugins/unified_doc_viewer/public/index.tsx
new file mode 100644
index 0000000000000..d08de9dcaa0eb
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/public/index.tsx
@@ -0,0 +1,39 @@
+/*
+ * 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.
+ */
+
+import React from 'react';
+import { withSuspense } from '@kbn/shared-ux-utility';
+import { EuiDelayRender, EuiSkeletonText } from '@elastic/eui';
+import { DocViewRenderProps } from '@kbn/unified-doc-viewer/src/services/types';
+import type { JsonCodeEditorProps } from './components';
+import { UnifiedDocViewerPublicPlugin } from './plugin';
+
+export type { UnifiedDocViewerSetup, UnifiedDocViewerStart } from './plugin';
+
+const LazyJsonCodeEditor = React.lazy(
+ () => import('./components/json_code_editor/json_code_editor')
+);
+
+export const JsonCodeEditor = withSuspense(
+ LazyJsonCodeEditor,
+
+
+
+);
+
+const LazyUnifiedDocViewer = React.lazy(() => import('./components/doc_viewer'));
+export const UnifiedDocViewer = withSuspense(
+ LazyUnifiedDocViewer,
+
+
+
+);
+
+export { useEsDocSearch, useUnifiedDocViewerServices } from './hooks';
+
+export const plugin = () => new UnifiedDocViewerPublicPlugin();
diff --git a/src/plugins/unified_doc_viewer/public/plugin.tsx b/src/plugins/unified_doc_viewer/public/plugin.tsx
new file mode 100644
index 0000000000000..018e6ffadd312
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/public/plugin.tsx
@@ -0,0 +1,114 @@
+/*
+ * 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.
+ */
+
+import React from 'react';
+import type { CoreSetup, Plugin } from '@kbn/core/public';
+import { DOC_TABLE_LEGACY } from '@kbn/discover-utils';
+import { i18n } from '@kbn/i18n';
+import { DocViewsRegistry } from '@kbn/unified-doc-viewer';
+import { EuiDelayRender, EuiSkeletonText } from '@elastic/eui';
+import { createGetterSetter, Storage } from '@kbn/kibana-utils-plugin/public';
+import { DataPublicPluginStart } from '@kbn/data-plugin/public';
+import { FieldFormatsStart } from '@kbn/field-formats-plugin/public';
+import { CoreStart } from '@kbn/core/public';
+import { type UnifiedDocViewerServices, useUnifiedDocViewerServices } from './hooks';
+
+export const [getUnifiedDocViewerServices, setUnifiedDocViewerServices] =
+ createGetterSetter('UnifiedDocViewerServices');
+
+const DocViewerLegacyTable = React.lazy(() => import('./components/doc_viewer_table/legacy'));
+const DocViewerTable = React.lazy(() => import('./components/doc_viewer_table'));
+const SourceViewer = React.lazy(() => import('./components/doc_viewer_source'));
+
+export interface UnifiedDocViewerSetup {
+ addDocView: DocViewsRegistry['addDocView'];
+}
+
+export interface UnifiedDocViewerStart {
+ getDocViews: DocViewsRegistry['getDocViewsSorted'];
+}
+
+export interface UnifiedDocViewerStartDeps {
+ data: DataPublicPluginStart;
+ fieldFormats: FieldFormatsStart;
+}
+
+export class UnifiedDocViewerPublicPlugin
+ implements Plugin
+{
+ private docViewsRegistry = new DocViewsRegistry();
+
+ public setup(core: CoreSetup) {
+ this.docViewsRegistry.addDocView({
+ title: i18n.translate('unifiedDocViewer.docViews.table.tableTitle', {
+ defaultMessage: 'Table',
+ }),
+ order: 10,
+ component: (props) => {
+ // eslint-disable-next-line react-hooks/rules-of-hooks
+ const { uiSettings } = useUnifiedDocViewerServices();
+ const DocView = uiSettings.get(DOC_TABLE_LEGACY) ? DocViewerLegacyTable : DocViewerTable;
+
+ return (
+
+
+
+ }
+ >
+
+
+ );
+ },
+ });
+
+ this.docViewsRegistry.addDocView({
+ title: i18n.translate('unifiedDocViewer.docViews.json.jsonTitle', {
+ defaultMessage: 'JSON',
+ }),
+ order: 20,
+ component: ({ hit, dataView, query, textBasedHits }) => {
+ return (
+
+
+
+ }
+ >
+ {}}
+ />
+
+ );
+ },
+ });
+
+ return {
+ addDocView: this.docViewsRegistry.addDocView.bind(this.docViewsRegistry),
+ };
+ }
+
+ public start(core: CoreStart, deps: UnifiedDocViewerStartDeps) {
+ const { analytics, uiSettings } = core;
+ const { data, fieldFormats } = deps;
+ const storage = new Storage(localStorage);
+ const unifiedDocViewer = {
+ getDocViews: this.docViewsRegistry.getDocViewsSorted.bind(this.docViewsRegistry),
+ };
+ const services = { analytics, data, fieldFormats, storage, uiSettings, unifiedDocViewer };
+ setUnifiedDocViewerServices(services);
+ return unifiedDocViewer;
+ }
+}
diff --git a/src/plugins/unified_doc_viewer/public/types.ts b/src/plugins/unified_doc_viewer/public/types.ts
new file mode 100644
index 0000000000000..d9ec40eedfffb
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/public/types.ts
@@ -0,0 +1,11 @@
+/*
+ * 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.
+ */
+
+export type { JsonCodeEditorProps } from './components';
+export type { EsDocSearchProps, UnifiedDocViewerServices } from './hooks';
+export type { UnifiedDocViewerSetup, UnifiedDocViewerStart } from './plugin';
diff --git a/src/plugins/unified_doc_viewer/tsconfig.json b/src/plugins/unified_doc_viewer/tsconfig.json
new file mode 100644
index 0000000000000..3e959ca047e40
--- /dev/null
+++ b/src/plugins/unified_doc_viewer/tsconfig.json
@@ -0,0 +1,31 @@
+{
+ "extends": "../../../tsconfig.base.json",
+ "compilerOptions": {
+ "outDir": "target/types",
+ },
+ "include": [ "../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*"],
+ "kbn_references": [
+ "@kbn/kibana-react-plugin",
+ "@kbn/monaco",
+ "@kbn/data-views-plugin",
+ "@kbn/test-jest-helpers",
+ "@kbn/discover-utils",
+ "@kbn/i18n-react",
+ "@kbn/i18n",
+ "@kbn/unified-doc-viewer",
+ "@kbn/unified-field-list",
+ "@kbn/kibana-utils-plugin",
+ "@kbn/data-plugin",
+ "@kbn/core-analytics-browser",
+ "@kbn/field-formats-plugin",
+ "@kbn/core-ui-settings-browser",
+ "@kbn/ebt-tools",
+ "@kbn/core",
+ "@kbn/shared-ux-utility",
+ "@kbn/core-analytics-browser-mocks",
+ "@kbn/core-ui-settings-browser-mocks"
+ ],
+ "exclude": [
+ "target/**/*",
+ ]
+}
diff --git a/tsconfig.base.json b/tsconfig.base.json
index c916d9bc563e3..b7e3ed499f701 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -1494,6 +1494,12 @@
"@kbn/ui-shared-deps-src/*": ["packages/kbn-ui-shared-deps-src/*"],
"@kbn/ui-theme": ["packages/kbn-ui-theme"],
"@kbn/ui-theme/*": ["packages/kbn-ui-theme/*"],
+ "@kbn/unified-doc-viewer": ["packages/kbn-unified-doc-viewer"],
+ "@kbn/unified-doc-viewer/*": ["packages/kbn-unified-doc-viewer/*"],
+ "@kbn/unified-doc-viewer-examples": ["examples/unified_doc_viewer"],
+ "@kbn/unified-doc-viewer-examples/*": ["examples/unified_doc_viewer/*"],
+ "@kbn/unified-doc-viewer-plugin": ["src/plugins/unified_doc_viewer"],
+ "@kbn/unified-doc-viewer-plugin/*": ["src/plugins/unified_doc_viewer/*"],
"@kbn/unified-field-list": ["packages/kbn-unified-field-list"],
"@kbn/unified-field-list/*": ["packages/kbn-unified-field-list/*"],
"@kbn/unified-field-list-examples-plugin": ["examples/unified_field_list_examples"],
diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx
index d4b5bf3f57e27..90a17f070e1f7 100644
--- a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx
+++ b/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx
@@ -9,7 +9,7 @@ import React, { FC } from 'react';
import { EuiToolTip } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FieldIcon } from '@kbn/react-field';
-import { getFieldTypeName } from '@kbn/unified-field-list/src/utils/field_types/get_field_type_name';
+import { getFieldTypeName } from '@kbn/discover-utils';
import './_index.scss';
interface FieldTypeIconProps {
diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx
index 401a437eb0f67..b4a09b3cb1c9d 100644
--- a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx
+++ b/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx
@@ -8,7 +8,7 @@
import React, { FC, useMemo } from 'react';
import { i18n } from '@kbn/i18n';
import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
-import { getFieldTypeName } from '@kbn/unified-field-list/src/utils/field_types/get_field_type_name';
+import { getFieldTypeName } from '@kbn/discover-utils';
import { FieldTypesHelpPopover } from './field_types_help_popover';
import { MultiSelectPicker, Option } from '../multi_select_picker';
import type {
diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx b/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx
index 517400024084a..46adbecdfc814 100644
--- a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx
+++ b/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx
@@ -9,7 +9,7 @@ import React, { FC, useMemo } from 'react';
import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { css } from '@emotion/react';
-import { getFieldTypeName } from '@kbn/unified-field-list/src/utils/field_types/get_field_type_name';
+import { getFieldTypeName } from '@kbn/discover-utils';
import { useCurrentEuiTheme } from '../../../common/hooks/use_current_eui_theme';
import { FieldTypesHelpPopover } from '../../../common/components/field_types_filter/field_types_help_popover';
import { FieldTypeIcon } from '../../../common/components/field_type_icon';
diff --git a/x-pack/plugins/data_visualizer/tsconfig.json b/x-pack/plugins/data_visualizer/tsconfig.json
index 75dd55b83e274..5221ef48b5efc 100644
--- a/x-pack/plugins/data_visualizer/tsconfig.json
+++ b/x-pack/plugins/data_visualizer/tsconfig.json
@@ -26,6 +26,7 @@
"@kbn/data-views-plugin",
"@kbn/datemath",
"@kbn/discover-plugin",
+ "@kbn/discover-utils",
"@kbn/embeddable-plugin",
"@kbn/embeddable-plugin",
"@kbn/es-query",
diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json
index 6047eaf8f343f..f0306e4e9da3a 100644
--- a/x-pack/plugins/translations/translations/fr-FR.json
+++ b/x-pack/plugins/translations/translations/fr-FR.json
@@ -2310,35 +2310,36 @@
"discover.docTable.tableRow.viewSurroundingDocumentsLinkText": "Afficher les documents alentour",
"discover.documentsAriaLabel": "Documents",
"discover.documentsErrorTitle": "Erreur lors de la recherche",
- "discover.docView.table.actions.label": "Actions",
- "discover.docView.table.actions.open": "Actions ouvertes",
- "discover.docView.table.ignored.multiAboveTooltip": "Une ou plusieurs valeurs dans ce champ sont trop longues et ne peuvent pas être recherchées ni filtrées.",
- "discover.docView.table.ignored.multiMalformedTooltip": "Ce champ comporte une ou plusieurs valeurs mal formées qui ne peuvent pas être recherchées ni filtrées.",
- "discover.docView.table.ignored.multiUnknownTooltip": "Une ou plusieurs valeurs dans ce champ ont été ignorées par Elasticsearch et ne peuvent pas être recherchées ni filtrées.",
- "discover.docView.table.ignored.singleAboveTooltip": "La valeur dans ce champ est trop longue et ne peut pas être recherchée ni filtrée.",
- "discover.docView.table.ignored.singleMalformedTooltip": "La valeur dans ce champ est mal formée et ne peut pas être recherchée ni filtrée.",
- "discover.docView.table.ignored.singleUnknownTooltip": "La valeur dans ce champ a été ignorée par Elasticsearch et ne peut pas être recherchée ni filtrée.",
- "discover.docView.table.searchPlaceHolder": "Rechercher les noms de champs",
- "discover.docViews.json.jsonTitle": "JSON",
- "discover.docViews.table.filterForFieldPresentButtonAriaLabel": "Filtrer sur le champ",
- "discover.docViews.table.filterForFieldPresentButtonTooltip": "Filtrer sur le champ",
- "discover.docViews.table.filterForValueButtonAriaLabel": "Filtrer sur la valeur",
- "discover.docViews.table.filterForValueButtonTooltip": "Filtrer sur la valeur",
- "discover.docViews.table.filterOutValueButtonAriaLabel": "Exclure la valeur",
- "discover.docViews.table.filterOutValueButtonTooltip": "Exclure la valeur",
- "discover.docViews.table.ignored.multiValueLabel": "Contient des valeurs ignorées",
- "discover.docViews.table.ignored.singleValueLabel": "Valeur ignorée",
- "discover.docViews.table.pinFieldAriaLabel": "Épingler le champ",
- "discover.docViews.table.pinFieldLabel": "Épingler le champ",
+ "unifiedDocViewer.docView.table.actions.label": "Actions",
+ "unifiedDocViewer.docView.table.actions.open": "Actions ouvertes",
+ "unifiedDocViewer.docView.table.ignored.multiAboveTooltip": "Une ou plusieurs valeurs dans ce champ sont trop longues et ne peuvent pas être recherchées ni filtrées.",
+ "unifiedDocViewer.docView.table.ignored.multiMalformedTooltip": "Ce champ comporte une ou plusieurs valeurs mal formées qui ne peuvent pas être recherchées ni filtrées.",
+ "unifiedDocViewer.docView.table.ignored.multiUnknownTooltip": "Une ou plusieurs valeurs dans ce champ ont été ignorées par Elasticsearch et ne peuvent pas être recherchées ni filtrées.",
+ "unifiedDocViewer.docView.table.ignored.singleAboveTooltip": "La valeur dans ce champ est trop longue et ne peut pas être recherchée ni filtrée.",
+ "unifiedDocViewer.docView.table.ignored.singleMalformedTooltip": "La valeur dans ce champ est mal formée et ne peut pas être recherchée ni filtrée.",
+ "unifiedDocViewer.docView.table.ignored.singleUnknownTooltip": "La valeur dans ce champ a été ignorée par Elasticsearch et ne peut pas être recherchée ni filtrée.",
+ "unifiedDocViewer.docView.table.searchPlaceHolder": "Rechercher les noms de champs",
+ "unifiedDocViewer.docViews.json.jsonTitle": "JSON",
+ "unifiedDocViewer.docViews.table.filterForFieldPresentButtonAriaLabel": "Filtrer sur le champ",
+ "unifiedDocViewer.docViews.table.filterForFieldPresentButtonTooltip": "Filtrer sur le champ",
+ "unifiedDocViewer.docViews.table.filterForValueButtonAriaLabel": "Filtrer sur la valeur",
+ "unifiedDocViewer.docViews.table.filterForValueButtonTooltip": "Filtrer sur la valeur",
+ "unifiedDocViewer.docViews.table.filterOutValueButtonAriaLabel": "Exclure la valeur",
+ "unifiedDocViewer.docViews.table.filterOutValueButtonTooltip": "Exclure la valeur",
+ "unifiedDocViewer.docViews.table.ignored.multiValueLabel": "Contient des valeurs ignorées",
+ "unifiedDocViewer.docViews.table.ignored.singleValueLabel": "Valeur ignorée",
+ "unifiedDocViewer.docViews.table.pinFieldAriaLabel": "Épingler le champ",
+ "unifiedDocViewer.docViews.table.pinFieldLabel": "Épingler le champ",
"discover.docViews.table.scoreSortWarningTooltip": "Filtrez sur _score pour pouvoir récupérer les valeurs correspondantes.",
- "discover.docViews.table.tableTitle": "Tableau",
- "discover.docViews.table.toggleColumnInTableButtonAriaLabel": "Afficher/Masquer la colonne dans le tableau",
- "discover.docViews.table.toggleColumnInTableButtonTooltip": "Afficher/Masquer la colonne dans le tableau",
- "discover.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip": "Impossible de filtrer sur les champs méta",
- "discover.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip": "Impossible de filtrer sur les champs scriptés",
- "discover.docViews.table.unindexedFieldsCanNotBeSearchedTooltip": "Les champs non indexés ou les valeurs ignorées ne peuvent pas être recherchés",
- "discover.docViews.table.unpinFieldAriaLabel": "Désépingler le champ",
- "discover.docViews.table.unpinFieldLabel": "Désépingler le champ",
+ "unifiedDocViewer.docViews.table.tableTitle": "Tableau",
+ "unifiedDocViewer.docViews.table.toggleColumnInTableButtonAriaLabel": "Afficher/Masquer la colonne dans le tableau",
+ "unifiedDocViewer.docViews.table.toggleColumnInTableButtonTooltip": "Afficher/Masquer la colonne dans le tableau",
+ "unifiedDocViewer.fieldChooser.discoverField.name": "Afficher/Masquer les détails du champ",
+ "unifiedDocViewer.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip": "Impossible de filtrer sur les champs méta",
+ "unifiedDocViewer.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip": "Impossible de filtrer sur les champs scriptés",
+ "unifiedDocViewer.docViews.table.unindexedFieldsCanNotBeSearchedTooltip": "Les champs non indexés ou les valeurs ignorées ne peuvent pas être recherchés",
+ "unifiedDocViewer.docViews.table.unpinFieldAriaLabel": "Désépingler le champ",
+ "unifiedDocViewer.docViews.table.unpinFieldLabel": "Désépingler le champ",
"discover.dropZoneTableLabel": "Abandonner la zone pour ajouter un champ en tant que colonne dans la table",
"discover.dscTour.stepAddFields.imageAltText": "Dans la liste Champs disponibles, cliquez sur l'icône Plus pour afficher/masquer un champ dans le tableau de documents.",
"discover.dscTour.stepAddFields.title": "Ajouter des champs dans le tableau",
@@ -2359,13 +2360,13 @@
"discover.embeddable.search.displayName": "rechercher",
"discover.errorCalloutShowErrorMessage": "Afficher les détails",
"discover.fieldChooser.availableFieldsTooltip": "Champs disponibles pour l'affichage dans le tableau.",
- "discover.fieldChooser.discoverField.actions": "Actions",
+ "unifiedDocViewer.fieldChooser.discoverField.actions": "Actions",
"discover.fieldChooser.discoverField.addFieldTooltip": "Ajouter le champ en tant que colonne",
- "discover.fieldChooser.discoverField.multiField": "champ multiple",
- "discover.fieldChooser.discoverField.multiFieldTooltipContent": "Les champs multiples peuvent avoir plusieurs valeurs.",
- "discover.fieldChooser.discoverField.name": "Champ",
+ "unifiedDocViewer.fieldChooser.discoverField.multiField": "champ multiple",
+ "unifiedDocViewer.fieldChooser.discoverField.multiFieldTooltipContent": "Les champs multiples peuvent avoir plusieurs valeurs.",
+ "unifiedDocViewer.fieldChooser.discoverField.name": "Champ",
"discover.fieldChooser.discoverField.removeFieldTooltip": "Supprimer le champ du tableau",
- "discover.fieldChooser.discoverField.value": "Valeur",
+ "unifiedDocViewer.fieldChooser.discoverField.value": "Valeur",
"discover.goToDiscoverButtonText": "Aller à Discover",
"discover.grid.closePopover": "Fermer la fenêtre contextuelle",
"discover.grid.copyCellValueButton": "Copier la valeur",
@@ -2395,10 +2396,10 @@
"discover.inspectorRequestDescriptionDocument": "Cette requête interroge Elasticsearch afin de récupérer les documents.",
"discover.invalidFiltersWarnToast.description": "Les références d'ID de la vue de données dans certains filtres appliqués diffèrent de la vue de données actuelle.",
"discover.invalidFiltersWarnToast.title": "Références d'index différentes",
- "discover.json.codeEditorAriaLabel": "Affichage JSON en lecture seule d’un document Elasticsearch",
- "discover.json.copyToClipboardLabel": "Copier dans le presse-papiers",
+ "unifiedDocViewer.json.codeEditorAriaLabel": "Affichage JSON en lecture seule d’un document Elasticsearch",
+ "unifiedDocViewer.json.copyToClipboardLabel": "Copier dans le presse-papiers",
"discover.loadingDocuments": "Chargement des documents",
- "discover.loadingJSON": "Chargement de JSON",
+ "unifiedDocViewer.loadingJSON": "Chargement de JSON",
"discover.loadingResults": "Chargement des résultats",
"discover.localMenu.alertsDescription": "Alertes",
"discover.localMenu.fallbackReportTitle": "Recherche Discover sans titre",
@@ -2461,9 +2462,9 @@
"discover.showSelectedDocumentsOnly": "Afficher uniquement les documents sélectionnés",
"discover.singleDocRoute.errorTitle": "Une erreur s'est produite",
"discover.skipToBottomButtonLabel": "Atteindre la fin du tableau",
- "discover.sourceViewer.errorMessage": "Impossible de récupérer les données pour le moment. Actualisez l'onglet et réessayez.",
- "discover.sourceViewer.errorMessageTitle": "Une erreur s'est produite.",
- "discover.sourceViewer.refresh": "Actualiser",
+ "unifiedDocViewer.sourceViewer.errorMessage": "Impossible de récupérer les données pour le moment. Actualisez l'onglet et réessayez.",
+ "unifiedDocViewer.sourceViewer.errorMessageTitle": "Une erreur s'est produite.",
+ "unifiedDocViewer.sourceViewer.refresh": "Actualiser",
"discover.toggleSidebarAriaLabel": "Activer/Désactiver la barre latérale",
"discover.topNav.openSearchPanel.manageSearchesButtonLabel": "Gérer les recherches",
"discover.topNav.openSearchPanel.noSearchesFoundDescription": "Aucune recherche correspondante trouvée.",
@@ -5696,34 +5697,34 @@
"unifiedFieldList.fieldNameDescription.textField": "Texte intégral tel que le corps d'un e-mail ou la description d'un produit.",
"unifiedFieldList.fieldNameDescription.unknownField": "Champ inconnu",
"unifiedFieldList.fieldNameDescription.versionField": "Versions des logiciels. Prend en charge les règles de priorité de la Gestion sémantique des versions.",
- "unifiedFieldList.fieldNameIcons.binaryAriaLabel": "Binaire",
- "unifiedFieldList.fieldNameIcons.booleanAriaLabel": "Booléen",
- "unifiedFieldList.fieldNameIcons.conflictFieldAriaLabel": "Conflit",
- "unifiedFieldList.fieldNameIcons.counterFieldAriaLabel": "Indicateur de compteur",
- "unifiedFieldList.fieldNameIcons.dateFieldAriaLabel": "Date",
- "unifiedFieldList.fieldNameIcons.dateRangeFieldAriaLabel": "Plage de dates",
- "unifiedFieldList.fieldNameIcons.denseVectorFieldAriaLabel": "Vecteur dense",
- "unifiedFieldList.fieldNameIcons.flattenedFieldAriaLabel": "Lissé",
- "unifiedFieldList.fieldNameIcons.gaugeFieldAriaLabel": "Indicateur de jauge",
- "unifiedFieldList.fieldNameIcons.geoPointFieldAriaLabel": "Point géographique",
- "unifiedFieldList.fieldNameIcons.geoShapeFieldAriaLabel": "Forme géométrique",
- "unifiedFieldList.fieldNameIcons.histogramFieldAriaLabel": "Histogramme",
- "unifiedFieldList.fieldNameIcons.ipAddressFieldAriaLabel": "Adresse IP",
- "unifiedFieldList.fieldNameIcons.ipRangeFieldAriaLabel": "Plage d'IP",
- "unifiedFieldList.fieldNameIcons.keywordFieldAriaLabel": "Mot-clé",
- "unifiedFieldList.fieldNameIcons.murmur3FieldAriaLabel": "Murmur3",
- "unifiedFieldList.fieldNameIcons.nestedFieldAriaLabel": "Imbriqué",
- "unifiedFieldList.fieldNameIcons.numberFieldAriaLabel": "Nombre",
- "unifiedFieldList.fieldNameIcons.pointFieldAriaLabel": "Point",
- "unifiedFieldList.fieldNameIcons.rankFeatureFieldAriaLabel": "Fonctionnalité de rang",
- "unifiedFieldList.fieldNameIcons.rankFeaturesFieldAriaLabel": "Fonctionnalités de rang",
- "unifiedFieldList.fieldNameIcons.recordAriaLabel": "Enregistrements",
- "unifiedFieldList.fieldNameIcons.shapeFieldAriaLabel": "Forme",
- "unifiedFieldList.fieldNameIcons.sourceFieldAriaLabel": "Champ source",
- "unifiedFieldList.fieldNameIcons.stringFieldAriaLabel": "Chaîne",
- "unifiedFieldList.fieldNameIcons.textFieldAriaLabel": "Texte",
- "unifiedFieldList.fieldNameIcons.unknownFieldAriaLabel": "Champ inconnu",
- "unifiedFieldList.fieldNameIcons.versionFieldAriaLabel": "Version",
+ "discover.fieldNameIcons.binaryAriaLabel": "Binaire",
+ "discover.fieldNameIcons.booleanAriaLabel": "Booléen",
+ "discover.fieldNameIcons.conflictFieldAriaLabel": "Conflit",
+ "discover.fieldNameIcons.counterFieldAriaLabel": "Indicateur de compteur",
+ "discover.fieldNameIcons.dateFieldAriaLabel": "Date",
+ "discover.fieldNameIcons.dateRangeFieldAriaLabel": "Plage de dates",
+ "discover.fieldNameIcons.denseVectorFieldAriaLabel": "Vecteur dense",
+ "discover.fieldNameIcons.flattenedFieldAriaLabel": "Lissé",
+ "discover.fieldNameIcons.gaugeFieldAriaLabel": "Indicateur de jauge",
+ "discover.fieldNameIcons.geoPointFieldAriaLabel": "Point géographique",
+ "discover.fieldNameIcons.geoShapeFieldAriaLabel": "Forme géométrique",
+ "discover.fieldNameIcons.histogramFieldAriaLabel": "Histogramme",
+ "discover.fieldNameIcons.ipAddressFieldAriaLabel": "Adresse IP",
+ "discover.fieldNameIcons.ipRangeFieldAriaLabel": "Plage d'IP",
+ "discover.fieldNameIcons.keywordFieldAriaLabel": "Mot-clé",
+ "discover.fieldNameIcons.murmur3FieldAriaLabel": "Murmur3",
+ "discover.fieldNameIcons.nestedFieldAriaLabel": "Imbriqué",
+ "discover.fieldNameIcons.numberFieldAriaLabel": "Nombre",
+ "discover.fieldNameIcons.pointFieldAriaLabel": "Point",
+ "discover.fieldNameIcons.rankFeatureFieldAriaLabel": "Fonctionnalité de rang",
+ "discover.fieldNameIcons.rankFeaturesFieldAriaLabel": "Fonctionnalités de rang",
+ "discover.fieldNameIcons.recordAriaLabel": "Enregistrements",
+ "discover.fieldNameIcons.shapeFieldAriaLabel": "Forme",
+ "discover.fieldNameIcons.sourceFieldAriaLabel": "Champ source",
+ "discover.fieldNameIcons.stringFieldAriaLabel": "Chaîne",
+ "discover.fieldNameIcons.textFieldAriaLabel": "Texte",
+ "discover.fieldNameIcons.unknownFieldAriaLabel": "Champ inconnu",
+ "discover.fieldNameIcons.versionFieldAriaLabel": "Version",
"unifiedFieldList.fieldNameSearch.filterByNameLabel": "Rechercher les noms de champs",
"unifiedFieldList.fieldPopover.addExistsFilterLabel": "Filtrer sur le champ",
"unifiedFieldList.fieldPopover.deleteFieldLabel": "Supprimer le champ de la vue de données",
diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json
index 118a210b83eb6..ad9e79d2eaf6d 100644
--- a/x-pack/plugins/translations/translations/ja-JP.json
+++ b/x-pack/plugins/translations/translations/ja-JP.json
@@ -2325,35 +2325,36 @@
"discover.docTable.tableRow.viewSurroundingDocumentsLinkText": "周りのドキュメントを表示",
"discover.documentsAriaLabel": "ドキュメント",
"discover.documentsErrorTitle": "検索エラー",
- "discover.docView.table.actions.label": "アクション",
- "discover.docView.table.actions.open": "アクションを開く",
- "discover.docView.table.ignored.multiAboveTooltip": "このフィールドの1つ以上の値が長すぎるため、検索またはフィルタリングできません。",
- "discover.docView.table.ignored.multiMalformedTooltip": "このフィールドは、検索またはフィルタリングできない正しくない形式の値が1つ以上あります。",
- "discover.docView.table.ignored.multiUnknownTooltip": "このフィールドの1つ以上の値がElasticsearchによって無視されたため、検索またはフィルタリングできません。",
- "discover.docView.table.ignored.singleAboveTooltip": "このフィールドの値が長すぎるため、検索またはフィルタリングできません。",
- "discover.docView.table.ignored.singleMalformedTooltip": "このフィールドの値の形式が正しくないため、検索またはフィルタリングできません。",
- "discover.docView.table.ignored.singleUnknownTooltip": "このフィールドの値はElasticsearchによって無視されたため、検索またはフィルタリングできません。",
- "discover.docView.table.searchPlaceHolder": "検索フィールド名",
- "discover.docViews.json.jsonTitle": "JSON",
- "discover.docViews.table.filterForFieldPresentButtonAriaLabel": "フィールド表示のフィルター",
- "discover.docViews.table.filterForFieldPresentButtonTooltip": "フィールド表示のフィルター",
- "discover.docViews.table.filterForValueButtonAriaLabel": "値でフィルター",
- "discover.docViews.table.filterForValueButtonTooltip": "値でフィルター",
- "discover.docViews.table.filterOutValueButtonAriaLabel": "値を除外",
- "discover.docViews.table.filterOutValueButtonTooltip": "値を除外",
- "discover.docViews.table.ignored.multiValueLabel": "無視された値を含む",
- "discover.docViews.table.ignored.singleValueLabel": "無視された値",
- "discover.docViews.table.pinFieldAriaLabel": "フィールドを固定",
- "discover.docViews.table.pinFieldLabel": "フィールドを固定",
+ "unifiedDocViewer.docView.table.actions.label": "アクション",
+ "unifiedDocViewer.docView.table.actions.open": "アクションを開く",
+ "unifiedDocViewer.docView.table.ignored.multiAboveTooltip": "このフィールドの1つ以上の値が長すぎるため、検索またはフィルタリングできません。",
+ "unifiedDocViewer.docView.table.ignored.multiMalformedTooltip": "このフィールドは、検索またはフィルタリングできない正しくない形式の値が1つ以上あります。",
+ "unifiedDocViewer.docView.table.ignored.multiUnknownTooltip": "このフィールドの1つ以上の値がElasticsearchによって無視されたため、検索またはフィルタリングできません。",
+ "unifiedDocViewer.docView.table.ignored.singleAboveTooltip": "このフィールドの値が長すぎるため、検索またはフィルタリングできません。",
+ "unifiedDocViewer.docView.table.ignored.singleMalformedTooltip": "このフィールドの値の形式が正しくないため、検索またはフィルタリングできません。",
+ "unifiedDocViewer.docView.table.ignored.singleUnknownTooltip": "このフィールドの値はElasticsearchによって無視されたため、検索またはフィルタリングできません。",
+ "unifiedDocViewer.docView.table.searchPlaceHolder": "検索フィールド名",
+ "unifiedDocViewer.docViews.json.jsonTitle": "JSON",
+ "unifiedDocViewer.docViews.table.filterForFieldPresentButtonAriaLabel": "フィールド表示のフィルター",
+ "unifiedDocViewer.docViews.table.filterForFieldPresentButtonTooltip": "フィールド表示のフィルター",
+ "unifiedDocViewer.docViews.table.filterForValueButtonAriaLabel": "値でフィルター",
+ "unifiedDocViewer.docViews.table.filterForValueButtonTooltip": "値でフィルター",
+ "unifiedDocViewer.docViews.table.filterOutValueButtonAriaLabel": "値を除外",
+ "unifiedDocViewer.docViews.table.filterOutValueButtonTooltip": "値を除外",
+ "unifiedDocViewer.docViews.table.ignored.multiValueLabel": "無視された値を含む",
+ "unifiedDocViewer.docViews.table.ignored.singleValueLabel": "無視された値",
+ "unifiedDocViewer.docViews.table.pinFieldAriaLabel": "フィールドを固定",
+ "unifiedDocViewer.docViews.table.pinFieldLabel": "フィールドを固定",
"discover.docViews.table.scoreSortWarningTooltip": "_scoreの値を取得するには、並べ替える必要があります。",
- "discover.docViews.table.tableTitle": "表",
- "discover.docViews.table.toggleColumnInTableButtonAriaLabel": "表の列を切り替える",
- "discover.docViews.table.toggleColumnInTableButtonTooltip": "表の列を切り替える",
- "discover.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip": "メタフィールドの有無でフィルタリングできません",
- "discover.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip": "スクリプトフィールドの有無でフィルタリングできません",
- "discover.docViews.table.unindexedFieldsCanNotBeSearchedTooltip": "インデックスがないフィールドまたは無視された値は検索できません",
- "discover.docViews.table.unpinFieldAriaLabel": "フィールドを固定解除",
- "discover.docViews.table.unpinFieldLabel": "フィールドを固定解除",
+ "unifiedDocViewer.docViews.table.tableTitle": "表",
+ "unifiedDocViewer.docViews.table.toggleColumnInTableButtonAriaLabel": "表の列を切り替える",
+ "unifiedDocViewer.docViews.table.toggleColumnInTableButtonTooltip": "表の列を切り替える",
+ "unifiedDocViewer.fieldChooser.discoverField.name": "フィールド詳細を切り替える",
+ "unifiedDocViewer.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip": "メタフィールドの有無でフィルタリングできません",
+ "unifiedDocViewer.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip": "スクリプトフィールドの有無でフィルタリングできません",
+ "unifiedDocViewer.docViews.table.unindexedFieldsCanNotBeSearchedTooltip": "インデックスがないフィールドまたは無視された値は検索できません",
+ "unifiedDocViewer.docViews.table.unpinFieldAriaLabel": "フィールドを固定解除",
+ "unifiedDocViewer.docViews.table.unpinFieldLabel": "フィールドを固定解除",
"discover.dropZoneTableLabel": "フィールドを列として表に追加するには、ゾーンをドロップします",
"discover.dscTour.stepAddFields.imageAltText": "[使用可能なフィールド]リストで、プラスアイコンをクリックし、フィールドをドキュメントテーブルに切り替えます。",
"discover.dscTour.stepAddFields.title": "フィールドをテーブルに追加",
@@ -2374,13 +2375,13 @@
"discover.embeddable.search.displayName": "検索",
"discover.errorCalloutShowErrorMessage": "詳細を表示",
"discover.fieldChooser.availableFieldsTooltip": "フィールドをテーブルに表示できます。",
- "discover.fieldChooser.discoverField.actions": "アクション",
+ "unifiedDocViewer.fieldChooser.discoverField.actions": "アクション",
"discover.fieldChooser.discoverField.addFieldTooltip": "フィールドを列として追加",
- "discover.fieldChooser.discoverField.multiField": "複数フィールド",
- "discover.fieldChooser.discoverField.multiFieldTooltipContent": "複数フィールドにはフィールドごとに複数の値を入力できます",
- "discover.fieldChooser.discoverField.name": "フィールド",
+ "unifiedDocViewer.fieldChooser.discoverField.multiField": "複数フィールド",
+ "unifiedDocViewer.fieldChooser.discoverField.multiFieldTooltipContent": "複数フィールドにはフィールドごとに複数の値を入力できます",
+ "unifiedDocViewer.fieldChooser.discoverField.name": "フィールド",
"discover.fieldChooser.discoverField.removeFieldTooltip": "フィールドを表から削除",
- "discover.fieldChooser.discoverField.value": "値",
+ "unifiedDocViewer.fieldChooser.discoverField.value": "値",
"discover.goToDiscoverButtonText": "Discoverに移動",
"discover.grid.closePopover": "ポップオーバーを閉じる",
"discover.grid.copyCellValueButton": "値をコピー",
@@ -2410,10 +2411,10 @@
"discover.inspectorRequestDescriptionDocument": "このリクエストはElasticsearchにクエリをかけ、ドキュメントを取得します。",
"discover.invalidFiltersWarnToast.description": "一部の適用されたフィルターのデータビューID参照は、現在のデータビューとは異なります。",
"discover.invalidFiltersWarnToast.title": "別のインデックス参照",
- "discover.json.codeEditorAriaLabel": "Elasticsearch ドキュメントの JSON ビューのみを読み込む",
- "discover.json.copyToClipboardLabel": "クリップボードにコピー",
+ "unifiedDocViewer.json.codeEditorAriaLabel": "Elasticsearch ドキュメントの JSON ビューのみを読み込む",
+ "unifiedDocViewer.json.copyToClipboardLabel": "クリップボードにコピー",
"discover.loadingDocuments": "ドキュメントを読み込み中",
- "discover.loadingJSON": "JSONを読み込んでいます",
+ "unifiedDocViewer.loadingJSON": "JSONを読み込んでいます",
"discover.loadingResults": "結果を読み込み中",
"discover.localMenu.alertsDescription": "アラート",
"discover.localMenu.fallbackReportTitle": "無題のDiscover検索",
@@ -2476,9 +2477,9 @@
"discover.showSelectedDocumentsOnly": "選択したドキュメントのみを表示",
"discover.singleDocRoute.errorTitle": "エラーが発生しました",
"discover.skipToBottomButtonLabel": "テーブルの最後に移動",
- "discover.sourceViewer.errorMessage": "現在データを取得できませんでした。タブを更新して、再試行してください。",
- "discover.sourceViewer.errorMessageTitle": "エラーが発生しました",
- "discover.sourceViewer.refresh": "更新",
+ "unifiedDocViewer.sourceViewer.errorMessage": "現在データを取得できませんでした。タブを更新して、再試行してください。",
+ "unifiedDocViewer.sourceViewer.errorMessageTitle": "エラーが発生しました",
+ "unifiedDocViewer.sourceViewer.refresh": "更新",
"discover.toggleSidebarAriaLabel": "サイドバーを切り替える",
"discover.topNav.openSearchPanel.manageSearchesButtonLabel": "検索の管理",
"discover.topNav.openSearchPanel.noSearchesFoundDescription": "一致する検索が見つかりませんでした。",
@@ -5712,34 +5713,34 @@
"unifiedFieldList.fieldNameDescription.textField": "電子メール本文や製品説明などの全文テキスト。",
"unifiedFieldList.fieldNameDescription.unknownField": "不明なフィールド",
"unifiedFieldList.fieldNameDescription.versionField": "ソフトウェアバージョン。「セマンティックバージョニング」優先度ルールをサポートします。",
- "unifiedFieldList.fieldNameIcons.binaryAriaLabel": "バイナリー",
- "unifiedFieldList.fieldNameIcons.booleanAriaLabel": "ブール",
- "unifiedFieldList.fieldNameIcons.conflictFieldAriaLabel": "競合",
- "unifiedFieldList.fieldNameIcons.counterFieldAriaLabel": "カウンターメトリック",
- "unifiedFieldList.fieldNameIcons.dateFieldAriaLabel": "日付",
- "unifiedFieldList.fieldNameIcons.dateRangeFieldAriaLabel": "日付範囲",
- "unifiedFieldList.fieldNameIcons.denseVectorFieldAriaLabel": "密集ベクトル",
- "unifiedFieldList.fieldNameIcons.flattenedFieldAriaLabel": "平坦化済み",
- "unifiedFieldList.fieldNameIcons.gaugeFieldAriaLabel": "ゲージメトリック",
- "unifiedFieldList.fieldNameIcons.geoPointFieldAriaLabel": "地理ポイント",
- "unifiedFieldList.fieldNameIcons.geoShapeFieldAriaLabel": "地理情報図形",
- "unifiedFieldList.fieldNameIcons.histogramFieldAriaLabel": "ヒストグラム",
- "unifiedFieldList.fieldNameIcons.ipAddressFieldAriaLabel": "IP アドレス",
- "unifiedFieldList.fieldNameIcons.ipRangeFieldAriaLabel": "IP範囲",
- "unifiedFieldList.fieldNameIcons.keywordFieldAriaLabel": "キーワード",
- "unifiedFieldList.fieldNameIcons.murmur3FieldAriaLabel": "Murmur3",
- "unifiedFieldList.fieldNameIcons.nestedFieldAriaLabel": "ネスト済み",
- "unifiedFieldList.fieldNameIcons.numberFieldAriaLabel": "数字",
- "unifiedFieldList.fieldNameIcons.pointFieldAriaLabel": "点",
- "unifiedFieldList.fieldNameIcons.rankFeatureFieldAriaLabel": "ランク特性",
- "unifiedFieldList.fieldNameIcons.rankFeaturesFieldAriaLabel": "ランク特性",
- "unifiedFieldList.fieldNameIcons.recordAriaLabel": "記録",
- "unifiedFieldList.fieldNameIcons.shapeFieldAriaLabel": "形状",
- "unifiedFieldList.fieldNameIcons.sourceFieldAriaLabel": "ソースフィールド",
- "unifiedFieldList.fieldNameIcons.stringFieldAriaLabel": "文字列",
- "unifiedFieldList.fieldNameIcons.textFieldAriaLabel": "テキスト",
- "unifiedFieldList.fieldNameIcons.unknownFieldAriaLabel": "不明なフィールド",
- "unifiedFieldList.fieldNameIcons.versionFieldAriaLabel": "バージョン",
+ "discover.fieldNameIcons.binaryAriaLabel": "バイナリー",
+ "discover.fieldNameIcons.booleanAriaLabel": "ブール",
+ "discover.fieldNameIcons.conflictFieldAriaLabel": "競合",
+ "discover.fieldNameIcons.counterFieldAriaLabel": "カウンターメトリック",
+ "discover.fieldNameIcons.dateFieldAriaLabel": "日付",
+ "discover.fieldNameIcons.dateRangeFieldAriaLabel": "日付範囲",
+ "discover.fieldNameIcons.denseVectorFieldAriaLabel": "密集ベクトル",
+ "discover.fieldNameIcons.flattenedFieldAriaLabel": "平坦化済み",
+ "discover.fieldNameIcons.gaugeFieldAriaLabel": "ゲージメトリック",
+ "discover.fieldNameIcons.geoPointFieldAriaLabel": "地理ポイント",
+ "discover.fieldNameIcons.geoShapeFieldAriaLabel": "地理情報図形",
+ "discover.fieldNameIcons.histogramFieldAriaLabel": "ヒストグラム",
+ "discover.fieldNameIcons.ipAddressFieldAriaLabel": "IP アドレス",
+ "discover.fieldNameIcons.ipRangeFieldAriaLabel": "IP範囲",
+ "discover.fieldNameIcons.keywordFieldAriaLabel": "キーワード",
+ "discover.fieldNameIcons.murmur3FieldAriaLabel": "Murmur3",
+ "discover.fieldNameIcons.nestedFieldAriaLabel": "ネスト済み",
+ "discover.fieldNameIcons.numberFieldAriaLabel": "数字",
+ "discover.fieldNameIcons.pointFieldAriaLabel": "点",
+ "discover.fieldNameIcons.rankFeatureFieldAriaLabel": "ランク特性",
+ "discover.fieldNameIcons.rankFeaturesFieldAriaLabel": "ランク特性",
+ "discover.fieldNameIcons.recordAriaLabel": "記録",
+ "discover.fieldNameIcons.shapeFieldAriaLabel": "形状",
+ "discover.fieldNameIcons.sourceFieldAriaLabel": "ソースフィールド",
+ "discover.fieldNameIcons.stringFieldAriaLabel": "文字列",
+ "discover.fieldNameIcons.textFieldAriaLabel": "テキスト",
+ "discover.fieldNameIcons.unknownFieldAriaLabel": "不明なフィールド",
+ "discover.fieldNameIcons.versionFieldAriaLabel": "バージョン",
"unifiedFieldList.fieldNameSearch.filterByNameLabel": "検索フィールド名",
"unifiedFieldList.fieldPopover.addExistsFilterLabel": "フィールド表示のフィルター",
"unifiedFieldList.fieldPopover.deleteFieldLabel": "データビューフィールドを削除",
diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json
index 7f4c86d8a4f58..4d0de6185e717 100644
--- a/x-pack/plugins/translations/translations/zh-CN.json
+++ b/x-pack/plugins/translations/translations/zh-CN.json
@@ -2325,35 +2325,36 @@
"discover.docTable.tableRow.viewSurroundingDocumentsLinkText": "查看周围文档",
"discover.documentsAriaLabel": "文档",
"discover.documentsErrorTitle": "搜索错误",
- "discover.docView.table.actions.label": "操作",
- "discover.docView.table.actions.open": "打开操作",
- "discover.docView.table.ignored.multiAboveTooltip": "此字段中的一个或多个值过长,无法搜索或筛选。",
- "discover.docView.table.ignored.multiMalformedTooltip": "此字段包含一个或多个格式错误的值,无法搜索或筛选。",
- "discover.docView.table.ignored.multiUnknownTooltip": "此字段中的一个或多个值被 Elasticsearch 忽略,无法搜索或筛选。",
- "discover.docView.table.ignored.singleAboveTooltip": "此字段中的值过长,无法搜索或筛选。",
- "discover.docView.table.ignored.singleMalformedTooltip": "此字段中的值格式错误,无法搜索或筛选。",
- "discover.docView.table.ignored.singleUnknownTooltip": "此字段中的值被 Elasticsearch 忽略,无法搜索或筛选。",
- "discover.docView.table.searchPlaceHolder": "搜索字段名称",
- "discover.docViews.json.jsonTitle": "JSON",
- "discover.docViews.table.filterForFieldPresentButtonAriaLabel": "筛留存在的字段",
- "discover.docViews.table.filterForFieldPresentButtonTooltip": "字段是否存在筛选",
- "discover.docViews.table.filterForValueButtonAriaLabel": "筛留值",
- "discover.docViews.table.filterForValueButtonTooltip": "筛留值",
- "discover.docViews.table.filterOutValueButtonAriaLabel": "筛除值",
- "discover.docViews.table.filterOutValueButtonTooltip": "筛除值",
- "discover.docViews.table.ignored.multiValueLabel": "包含被忽略的值",
- "discover.docViews.table.ignored.singleValueLabel": "被忽略的值",
- "discover.docViews.table.pinFieldAriaLabel": "固定字段",
- "discover.docViews.table.pinFieldLabel": "固定字段",
+ "unifiedDocViewer.docView.table.actions.label": "操作",
+ "unifiedDocViewer.docView.table.actions.open": "打开操作",
+ "unifiedDocViewer.docView.table.ignored.multiAboveTooltip": "此字段中的一个或多个值过长,无法搜索或筛选。",
+ "unifiedDocViewer.docView.table.ignored.multiMalformedTooltip": "此字段包含一个或多个格式错误的值,无法搜索或筛选。",
+ "unifiedDocViewer.docView.table.ignored.multiUnknownTooltip": "此字段中的一个或多个值被 Elasticsearch 忽略,无法搜索或筛选。",
+ "unifiedDocViewer.docView.table.ignored.singleAboveTooltip": "此字段中的值过长,无法搜索或筛选。",
+ "unifiedDocViewer.docView.table.ignored.singleMalformedTooltip": "此字段中的值格式错误,无法搜索或筛选。",
+ "unifiedDocViewer.docView.table.ignored.singleUnknownTooltip": "此字段中的值被 Elasticsearch 忽略,无法搜索或筛选。",
+ "unifiedDocViewer.docView.table.searchPlaceHolder": "搜索字段名称",
+ "unifiedDocViewer.docViews.json.jsonTitle": "JSON",
+ "unifiedDocViewer.docViews.table.filterForFieldPresentButtonAriaLabel": "筛留存在的字段",
+ "unifiedDocViewer.docViews.table.filterForFieldPresentButtonTooltip": "字段是否存在筛选",
+ "unifiedDocViewer.docViews.table.filterForValueButtonAriaLabel": "筛留值",
+ "unifiedDocViewer.docViews.table.filterForValueButtonTooltip": "筛留值",
+ "unifiedDocViewer.docViews.table.filterOutValueButtonAriaLabel": "筛除值",
+ "unifiedDocViewer.docViews.table.filterOutValueButtonTooltip": "筛除值",
+ "unifiedDocViewer.docViews.table.ignored.multiValueLabel": "包含被忽略的值",
+ "unifiedDocViewer.docViews.table.ignored.singleValueLabel": "被忽略的值",
+ "unifiedDocViewer.docViews.table.pinFieldAriaLabel": "固定字段",
+ "unifiedDocViewer.docViews.table.pinFieldLabel": "固定字段",
"discover.docViews.table.scoreSortWarningTooltip": "要检索 _score 的值,必须按其筛选。",
- "discover.docViews.table.tableTitle": "表",
- "discover.docViews.table.toggleColumnInTableButtonAriaLabel": "在表中切换列",
- "discover.docViews.table.toggleColumnInTableButtonTooltip": "在表中切换列",
- "discover.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip": "无法筛选元数据字段是否存在",
- "discover.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip": "无法筛选脚本字段是否存在",
- "discover.docViews.table.unindexedFieldsCanNotBeSearchedTooltip": "无法搜索未编入索引的字段或被忽略的值",
- "discover.docViews.table.unpinFieldAriaLabel": "取消固定字段",
- "discover.docViews.table.unpinFieldLabel": "取消固定字段",
+ "unifiedDocViewer.docViews.table.tableTitle": "表",
+ "unifiedDocViewer.docViews.table.toggleColumnInTableButtonAriaLabel": "在表中切换列",
+ "unifiedDocViewer.docViews.table.toggleColumnInTableButtonTooltip": "在表中切换列",
+ "unifiedDocViewer.fieldChooser.discoverField.name": "切换字段详细信息",
+ "unifiedDocViewer.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip": "无法筛选元数据字段是否存在",
+ "unifiedDocViewer.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip": "无法筛选脚本字段是否存在",
+ "unifiedDocViewer.docViews.table.unindexedFieldsCanNotBeSearchedTooltip": "无法搜索未编入索引的字段或被忽略的值",
+ "unifiedDocViewer.docViews.table.unpinFieldAriaLabel": "取消固定字段",
+ "unifiedDocViewer.docViews.table.unpinFieldLabel": "取消固定字段",
"discover.dropZoneTableLabel": "放置区域以将字段作为列添加到表中",
"discover.dscTour.stepAddFields.imageAltText": "在可用字段列表中,单击加号图标将字段切换为文档表。",
"discover.dscTour.stepAddFields.title": "将字段添加到表中",
@@ -2374,13 +2375,13 @@
"discover.embeddable.search.displayName": "搜索",
"discover.errorCalloutShowErrorMessage": "显示详情",
"discover.fieldChooser.availableFieldsTooltip": "适用于在表中显示的字段。",
- "discover.fieldChooser.discoverField.actions": "操作",
+ "unifiedDocViewer.fieldChooser.discoverField.actions": "操作",
"discover.fieldChooser.discoverField.addFieldTooltip": "将字段添加为列",
- "discover.fieldChooser.discoverField.multiField": "多字段",
- "discover.fieldChooser.discoverField.multiFieldTooltipContent": "多字段的每个字段可以有多个值",
- "discover.fieldChooser.discoverField.name": "字段",
+ "unifiedDocViewer.fieldChooser.discoverField.multiField": "多字段",
+ "unifiedDocViewer.fieldChooser.discoverField.multiFieldTooltipContent": "多字段的每个字段可以有多个值",
+ "unifiedDocViewer.fieldChooser.discoverField.name": "字段",
"discover.fieldChooser.discoverField.removeFieldTooltip": "从表中移除字段",
- "discover.fieldChooser.discoverField.value": "值",
+ "unifiedDocViewer.fieldChooser.discoverField.value": "值",
"discover.goToDiscoverButtonText": "前往 Discover",
"discover.grid.closePopover": "关闭弹出框",
"discover.grid.copyCellValueButton": "复制值",
@@ -2410,10 +2411,10 @@
"discover.inspectorRequestDescriptionDocument": "此请求将查询 Elasticsearch 以获取文档。",
"discover.invalidFiltersWarnToast.description": "某些应用的筛选中的数据视图 ID 引用与当前数据视图不同。",
"discover.invalidFiltersWarnToast.title": "不同的索引引用",
- "discover.json.codeEditorAriaLabel": "Elasticsearch 文档的只读 JSON 视图",
- "discover.json.copyToClipboardLabel": "复制到剪贴板",
+ "unifiedDocViewer.json.codeEditorAriaLabel": "Elasticsearch 文档的只读 JSON 视图",
+ "unifiedDocViewer.json.copyToClipboardLabel": "复制到剪贴板",
"discover.loadingDocuments": "正在加载文档",
- "discover.loadingJSON": "正在加载 JSON",
+ "unifiedDocViewer.loadingJSON": "正在加载 JSON",
"discover.loadingResults": "正在加载结果",
"discover.localMenu.alertsDescription": "告警",
"discover.localMenu.fallbackReportTitle": "未命名 Discover 搜索",
@@ -2476,9 +2477,9 @@
"discover.showSelectedDocumentsOnly": "仅显示选定的文档",
"discover.singleDocRoute.errorTitle": "发生错误",
"discover.skipToBottomButtonLabel": "转到表尾",
- "discover.sourceViewer.errorMessage": "当前无法获取数据。请刷新选项卡以重试。",
- "discover.sourceViewer.errorMessageTitle": "发生错误",
- "discover.sourceViewer.refresh": "刷新",
+ "unifiedDocViewer.sourceViewer.errorMessage": "当前无法获取数据。请刷新选项卡以重试。",
+ "unifiedDocViewer.sourceViewer.errorMessageTitle": "发生错误",
+ "unifiedDocViewer.sourceViewer.refresh": "刷新",
"discover.toggleSidebarAriaLabel": "切换侧边栏",
"discover.topNav.openSearchPanel.manageSearchesButtonLabel": "管理搜索",
"discover.topNav.openSearchPanel.noSearchesFoundDescription": "未找到匹配的搜索。",
@@ -5711,34 +5712,34 @@
"unifiedFieldList.fieldNameDescription.textField": "全文本,如电子邮件正文或产品描述。",
"unifiedFieldList.fieldNameDescription.unknownField": "未知字段",
"unifiedFieldList.fieldNameDescription.versionField": "软件版本。支持“语义版本控制”优先规则。",
- "unifiedFieldList.fieldNameIcons.binaryAriaLabel": "二进制",
- "unifiedFieldList.fieldNameIcons.booleanAriaLabel": "布尔型",
- "unifiedFieldList.fieldNameIcons.conflictFieldAriaLabel": "冲突",
- "unifiedFieldList.fieldNameIcons.counterFieldAriaLabel": "计数器指标",
- "unifiedFieldList.fieldNameIcons.dateFieldAriaLabel": "日期",
- "unifiedFieldList.fieldNameIcons.dateRangeFieldAriaLabel": "日期范围",
- "unifiedFieldList.fieldNameIcons.denseVectorFieldAriaLabel": "密集向量",
- "unifiedFieldList.fieldNameIcons.flattenedFieldAriaLabel": "扁平",
- "unifiedFieldList.fieldNameIcons.gaugeFieldAriaLabel": "仪表盘指标",
- "unifiedFieldList.fieldNameIcons.geoPointFieldAriaLabel": "地理点",
- "unifiedFieldList.fieldNameIcons.geoShapeFieldAriaLabel": "几何形状",
- "unifiedFieldList.fieldNameIcons.histogramFieldAriaLabel": "直方图",
- "unifiedFieldList.fieldNameIcons.ipAddressFieldAriaLabel": "IP 地址",
- "unifiedFieldList.fieldNameIcons.ipRangeFieldAriaLabel": "IP 范围",
- "unifiedFieldList.fieldNameIcons.keywordFieldAriaLabel": "关键字",
- "unifiedFieldList.fieldNameIcons.murmur3FieldAriaLabel": "Murmur3",
- "unifiedFieldList.fieldNameIcons.nestedFieldAriaLabel": "嵌套",
- "unifiedFieldList.fieldNameIcons.numberFieldAriaLabel": "数字",
- "unifiedFieldList.fieldNameIcons.pointFieldAriaLabel": "点",
- "unifiedFieldList.fieldNameIcons.rankFeatureFieldAriaLabel": "排名特征",
- "unifiedFieldList.fieldNameIcons.rankFeaturesFieldAriaLabel": "排名特征",
- "unifiedFieldList.fieldNameIcons.recordAriaLabel": "记录",
- "unifiedFieldList.fieldNameIcons.shapeFieldAriaLabel": "形状",
- "unifiedFieldList.fieldNameIcons.sourceFieldAriaLabel": "源字段",
- "unifiedFieldList.fieldNameIcons.stringFieldAriaLabel": "字符串",
- "unifiedFieldList.fieldNameIcons.textFieldAriaLabel": "文本",
- "unifiedFieldList.fieldNameIcons.unknownFieldAriaLabel": "未知字段",
- "unifiedFieldList.fieldNameIcons.versionFieldAriaLabel": "版本",
+ "discover.fieldNameIcons.binaryAriaLabel": "二进制",
+ "discover.fieldNameIcons.booleanAriaLabel": "布尔型",
+ "discover.fieldNameIcons.conflictFieldAriaLabel": "冲突",
+ "discover.fieldNameIcons.counterFieldAriaLabel": "计数器指标",
+ "discover.fieldNameIcons.dateFieldAriaLabel": "日期",
+ "discover.fieldNameIcons.dateRangeFieldAriaLabel": "日期范围",
+ "discover.fieldNameIcons.denseVectorFieldAriaLabel": "密集向量",
+ "discover.fieldNameIcons.flattenedFieldAriaLabel": "扁平",
+ "discover.fieldNameIcons.gaugeFieldAriaLabel": "仪表盘指标",
+ "discover.fieldNameIcons.geoPointFieldAriaLabel": "地理点",
+ "discover.fieldNameIcons.geoShapeFieldAriaLabel": "几何形状",
+ "discover.fieldNameIcons.histogramFieldAriaLabel": "直方图",
+ "discover.fieldNameIcons.ipAddressFieldAriaLabel": "IP 地址",
+ "discover.fieldNameIcons.ipRangeFieldAriaLabel": "IP 范围",
+ "discover.fieldNameIcons.keywordFieldAriaLabel": "关键字",
+ "discover.fieldNameIcons.murmur3FieldAriaLabel": "Murmur3",
+ "discover.fieldNameIcons.nestedFieldAriaLabel": "嵌套",
+ "discover.fieldNameIcons.numberFieldAriaLabel": "数字",
+ "discover.fieldNameIcons.pointFieldAriaLabel": "点",
+ "discover.fieldNameIcons.rankFeatureFieldAriaLabel": "排名特征",
+ "discover.fieldNameIcons.rankFeaturesFieldAriaLabel": "排名特征",
+ "discover.fieldNameIcons.recordAriaLabel": "记录",
+ "discover.fieldNameIcons.shapeFieldAriaLabel": "形状",
+ "discover.fieldNameIcons.sourceFieldAriaLabel": "源字段",
+ "discover.fieldNameIcons.stringFieldAriaLabel": "字符串",
+ "discover.fieldNameIcons.textFieldAriaLabel": "文本",
+ "discover.fieldNameIcons.unknownFieldAriaLabel": "未知字段",
+ "discover.fieldNameIcons.versionFieldAriaLabel": "版本",
"unifiedFieldList.fieldNameSearch.filterByNameLabel": "搜索字段名称",
"unifiedFieldList.fieldPopover.addExistsFilterLabel": "筛留存在的字段",
"unifiedFieldList.fieldPopover.deleteFieldLabel": "删除数据视图字段",
diff --git a/yarn.lock b/yarn.lock
index 14e8f72e1138c..a86858b1a6d53 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5913,6 +5913,18 @@
version "0.0.0"
uid ""
+"@kbn/unified-doc-viewer-examples@link:examples/unified_doc_viewer":
+ version "0.0.0"
+ uid ""
+
+"@kbn/unified-doc-viewer-plugin@link:src/plugins/unified_doc_viewer":
+ version "0.0.0"
+ uid ""
+
+"@kbn/unified-doc-viewer@link:packages/kbn-unified-doc-viewer":
+ version "0.0.0"
+ uid ""
+
"@kbn/unified-field-list-examples-plugin@link:examples/unified_field_list_examples":
version "0.0.0"
uid ""